vite-plugin-vue-devtools 7.6.0 → 7.6.1
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.
|
@@ -15,7 +15,7 @@ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vue-CfxD1nqp.js","./
|
|
|
15
15
|
* @vue/runtime-dom v3.5.12
|
|
16
16
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
17
17
|
* @license MIT
|
|
18
|
-
**/let j6;const VM=typeof window<"u"&&window.trustedTypes;if(VM)try{j6=VM.createPolicy("vue",{createHTML:t=>t})}catch{}const cF=j6?t=>j6.createHTML(t):t=>t,Iae="http://www.w3.org/2000/svg",pae="http://www.w3.org/1998/Math/MathML",Ra=typeof document<"u"?document:null,PM=Ra&&Ra.createElement("template"),mae={insert:(t,r,e)=>{r.insertBefore(t,e||null)},remove:t=>{const r=t.parentNode;r&&r.removeChild(t)},createElement:(t,r,e,n)=>{const i=r==="svg"?Ra.createElementNS(Iae,t):r==="mathml"?Ra.createElementNS(pae,t):e?Ra.createElement(t,{is:e}):Ra.createElement(t);return t==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:t=>Ra.createTextNode(t),createComment:t=>Ra.createComment(t),setText:(t,r)=>{t.nodeValue=r},setElementText:(t,r)=>{t.textContent=r},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Ra.querySelector(t),setScopeId(t,r){t.setAttribute(r,"")},insertStaticContent(t,r,e,n,i,o){const a=e?e.previousSibling:r.lastChild;if(i&&(i===o||i.nextSibling))for(;r.insertBefore(i.cloneNode(!0),e),!(i===o||!(i=i.nextSibling)););else{PM.innerHTML=cF(n==="svg"?`<svg>${t}</svg>`:n==="mathml"?`<math>${t}</math>`:t);const s=PM.content;if(n==="svg"||n==="mathml"){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}r.insertBefore(s,e)}return[a?a.nextSibling:r.firstChild,e?e.previousSibling:r.lastChild]}},Ss="transition",Ug="animation",cd=Symbol("_vtc"),uF={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},yae=Vr({},SB,uF),bae=t=>(t.displayName="Transition",t.props=yae,t),yb=bae((t,{slots:r})=>vc(Aoe,wae(t),r)),sl=(t,r=[])=>{Ge(t)?t.forEach(e=>e(...r)):t&&t(...r)},RM=t=>t?Ge(t)?t.some(r=>r.length>1):t.length>1:!1;function wae(t){const r={};for(const O in t)O in uF||(r[O]=t[O]);if(t.css===!1)return r;const{name:e="v",type:n,duration:i,enterFromClass:o=`${e}-enter-from`,enterActiveClass:a=`${e}-enter-active`,enterToClass:s=`${e}-enter-to`,appearFromClass:l=o,appearActiveClass:c=a,appearToClass:u=s,leaveFromClass:g=`${e}-leave-from`,leaveActiveClass:h=`${e}-leave-active`,leaveToClass:d=`${e}-leave-to`}=t,f=$ae(i),C=f&&f[0],v=f&&f[1],{onBeforeEnter:A,onEnter:I,onEnterCancelled:p,onLeave:m,onLeaveCancelled:b,onBeforeAppear:_=A,onAppear:L=I,onAppearCancelled:z=p}=r,S=(O,P,B)=>{ll(O,P?u:s),ll(O,P?c:a),B&&B()},T=(O,P)=>{O._isLeaving=!1,ll(O,g),ll(O,d),ll(O,h),P&&P()},k=O=>(P,B)=>{const te=O?L:I,ee=()=>S(P,O,B);sl(te,[P,ee]),DM(()=>{ll(P,O?l:o),Ts(P,O?u:s),RM(te)||NM(P,n,C,ee)})};return Vr(r,{onBeforeEnter(O){sl(A,[O]),Ts(O,o),Ts(O,a)},onBeforeAppear(O){sl(_,[O]),Ts(O,l),Ts(O,c)},onEnter:k(!1),onAppear:k(!0),onLeave(O,P){O._isLeaving=!0;const B=()=>T(O,P);Ts(O,g),Ts(O,h),zae(),DM(()=>{O._isLeaving&&(ll(O,g),Ts(O,d),RM(m)||NM(O,n,v,B))}),sl(m,[O,B])},onEnterCancelled(O){S(O,!1),sl(p,[O])},onAppearCancelled(O){S(O,!0),sl(z,[O])},onLeaveCancelled(O){T(O),sl(b,[O])}})}function $ae(t){if(t==null)return null;if(Zt(t))return[cp(t.enter),cp(t.leave)];{const r=cp(t);return[r,r]}}function cp(t){return _ie(t)}function Ts(t,r){r.split(/\s+/).forEach(e=>e&&t.classList.add(e)),(t[cd]||(t[cd]=new Set)).add(r)}function ll(t,r){r.split(/\s+/).forEach(n=>n&&t.classList.remove(n));const e=t[cd];e&&(e.delete(r),e.size||(t[cd]=void 0))}function DM(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let _ae=0;function NM(t,r,e,n){const i=t._endId=++_ae,o=()=>{i===t._endId&&n()};if(e!=null)return setTimeout(o,e);const{type:a,timeout:s,propCount:l}=Mae(t,r);if(!a)return n();const c=a+"end";let u=0;const g=()=>{t.removeEventListener(c,h),o()},h=d=>{d.target===t&&++u>=l&&g()};setTimeout(()=>{u<l&&g()},s+1),t.addEventListener(c,h)}function Mae(t,r){const e=window.getComputedStyle(t),n=f=>(e[f]||"").split(", "),i=n(`${Ss}Delay`),o=n(`${Ss}Duration`),a=BM(i,o),s=n(`${Ug}Delay`),l=n(`${Ug}Duration`),c=BM(s,l);let u=null,g=0,h=0;r===Ss?a>0&&(u=Ss,g=a,h=o.length):r===Ug?c>0&&(u=Ug,g=c,h=l.length):(g=Math.max(a,c),u=g>0?a>c?Ss:Ug:null,h=u?u===Ss?o.length:l.length:0);const d=u===Ss&&/\b(transform|all)(,|$)/.test(n(`${Ss}Property`).toString());return{type:u,timeout:g,propCount:h,hasTransform:d}}function BM(t,r){for(;t.length<r.length;)t=t.concat(t);return Math.max(...r.map((e,n)=>FM(e)+FM(t[n])))}function FM(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function zae(){return document.body.offsetHeight}function Eae(t,r,e){const n=t[cd];n&&(r=(r?[r,...n]:[...n]).join(" ")),r==null?t.removeAttribute("class"):e?t.setAttribute("class",r):t.className=r}const $v=Symbol("_vod"),gF=Symbol("_vsh"),Sae={beforeMount(t,{value:r},{transition:e}){t[$v]=t.style.display==="none"?"":t.style.display,e&&r?e.beforeEnter(t):Gg(t,r)},mounted(t,{value:r},{transition:e}){e&&r&&e.enter(t)},updated(t,{value:r,oldValue:e},{transition:n}){!r!=!e&&(n?r?(n.beforeEnter(t),Gg(t,!0),n.enter(t)):n.leave(t,()=>{Gg(t,!1)}):Gg(t,r))},beforeUnmount(t,{value:r}){Gg(t,r)}};function Gg(t,r){t.style.display=r?t[$v]:"none",t[gF]=!r}const Tae=Symbol(""),Lae=/(^|;)\s*display\s*:/;function kae(t,r,e){const n=t.style,i=fr(e);let o=!1;if(e&&!i){if(r)if(fr(r))for(const a of r.split(";")){const s=a.slice(0,a.indexOf(":")).trim();e[s]==null&&z5(n,s,"")}else for(const a in r)e[a]==null&&z5(n,a,"");for(const a in e)a==="display"&&(o=!0),z5(n,a,e[a])}else if(i){if(r!==e){const a=n[Tae];a&&(e+=";"+a),n.cssText=e,o=Lae.test(e)}}else r&&t.removeAttribute("style");$v in t&&(t[$v]=o?n.display:"",t[gF]&&(n.display="none"))}const jM=/\s*!important$/;function z5(t,r,e){if(Ge(e))e.forEach(n=>z5(t,r,n));else if(e==null&&(e=""),r.startsWith("--"))t.setProperty(r,e);else{const n=Oae(t,r);jM.test(e)?t.setProperty(vs(n),e.replace(jM,""),"important"):t[n]=e}}const UM=["Webkit","Moz","ms"],up={};function Oae(t,r){const e=up[r];if(e)return e;let n=Ni(r);if(n!=="filter"&&n in t)return up[r]=n;n=jA(n);for(let i=0;i<UM.length;i++){const o=UM[i]+n;if(o in t)return up[r]=o}return r}const GM="http://www.w3.org/1999/xlink";function WM(t,r,e,n,i,o=Lie(r)){n&&r.startsWith("xlink:")?e==null?t.removeAttributeNS(GM,r.slice(6,r.length)):t.setAttributeNS(GM,r,e):e==null||o&&!XN(e)?t.removeAttribute(r):t.setAttribute(r,o?"":Ho(e)?String(e):e)}function ZM(t,r,e,n,i){if(r==="innerHTML"||r==="textContent"){e!=null&&(t[r]=r==="innerHTML"?cF(e):e);return}const o=t.tagName;if(r==="value"&&o!=="PROGRESS"&&!o.includes("-")){const s=o==="OPTION"?t.getAttribute("value")||"":t.value,l=e==null?t.type==="checkbox"?"on":"":String(e);(s!==l||!("_value"in t))&&(t.value=l),e==null&&t.removeAttribute(r),t._value=e;return}let a=!1;if(e===""||e==null){const s=typeof t[r];s==="boolean"?e=XN(e):e==null&&s==="string"?(e="",a=!0):s==="number"&&(e=0,a=!0)}try{t[r]=e}catch{}a&&t.removeAttribute(i||r)}function Ba(t,r,e,n){t.addEventListener(r,e,n)}function xae(t,r,e,n){t.removeEventListener(r,e,n)}const KM=Symbol("_vei");function Hae(t,r,e,n,i=null){const o=t[KM]||(t[KM]={}),a=o[r];if(n&&a)a.value=n;else{const[s,l]=Vae(r);if(n){const c=o[r]=Dae(n,i);Ba(t,s,c,l)}else a&&(xae(t,s,a,l),o[r]=void 0)}}const YM=/(?:Once|Passive|Capture)$/;function Vae(t){let r;if(YM.test(t)){r={};let n;for(;n=t.match(YM);)t=t.slice(0,t.length-n[0].length),r[n[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):vs(t.slice(2)),r]}let gp=0;const Pae=Promise.resolve(),Rae=()=>gp||(Pae.then(()=>gp=0),gp=Date.now());function Dae(t,r){const e=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=e.attached)return;Vo(Nae(n,e.value),r,5,[n])};return e.value=t,e.attached=Rae(),e}function Nae(t,r){if(Ge(r)){const e=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{e.call(t),t._stopped=!0},r.map(n=>i=>!i._stopped&&n&&n(i))}else return r}const XM=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Bae=(t,r,e,n,i,o)=>{const a=i==="svg";r==="class"?Eae(t,n,a):r==="style"?kae(t,e,n):BA(r)?Qy(r)||Hae(t,r,e,n,o):(r[0]==="."?(r=r.slice(1),!0):r[0]==="^"?(r=r.slice(1),!1):Fae(t,r,n,a))?(ZM(t,r,n),!t.tagName.includes("-")&&(r==="value"||r==="checked"||r==="selected")&&WM(t,r,n,a,o,r!=="value")):t._isVueCE&&(/[A-Z]/.test(r)||!fr(n))?ZM(t,Ni(r),n,o,r):(r==="true-value"?t._trueValue=n:r==="false-value"&&(t._falseValue=n),WM(t,r,n,a))};function Fae(t,r,e,n){if(n)return!!(r==="innerHTML"||r==="textContent"||r in t&&XM(r)&&it(e));if(r==="spellcheck"||r==="draggable"||r==="translate"||r==="form"||r==="list"&&t.tagName==="INPUT"||r==="type"&&t.tagName==="TEXTAREA")return!1;if(r==="width"||r==="height"){const i=t.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return XM(r)&&fr(e)?!1:r in t}const $1=t=>{const r=t.props["onUpdate:modelValue"]||!1;return Ge(r)?e=>w5(r,e):r};function jae(t){t.target.composing=!0}function qM(t){const r=t.target;r.composing&&(r.composing=!1,r.dispatchEvent(new Event("input")))}const ao=Symbol("_assign"),QM={created(t,{modifiers:{lazy:r,trim:e,number:n}},i){t[ao]=$1(i);const o=n||i.props&&i.props.type==="number";Ba(t,r?"change":"input",a=>{if(a.target.composing)return;let s=t.value;e&&(s=s.trim()),o&&(s=vv(s)),t[ao](s)}),e&&Ba(t,"change",()=>{t.value=t.value.trim()}),r||(Ba(t,"compositionstart",jae),Ba(t,"compositionend",qM),Ba(t,"change",qM))},mounted(t,{value:r}){t.value=r??""},beforeUpdate(t,{value:r,oldValue:e,modifiers:{lazy:n,trim:i,number:o}},a){if(t[ao]=$1(a),t.composing)return;const s=(o||t.type==="number")&&!/^0\d/.test(t.value)?vv(t.value):t.value,l=r??"";s!==l&&(document.activeElement===t&&t.type!=="range"&&(n&&r===e||i&&t.value.trim()===l)||(t.value=l))}},Uae={deep:!0,created(t,r,e){t[ao]=$1(e),Ba(t,"change",()=>{const n=t._modelValue,i=su(t),o=t.checked,a=t[ao];if(Ge(n)){const s=rb(n,i),l=s!==-1;if(o&&!l)a(n.concat(i));else if(!o&&l){const c=[...n];c.splice(s,1),a(c)}}else if(Gu(n)){const s=new Set(n);o?s.add(i):s.delete(i),a(s)}else a(hF(t,o))})},mounted:JM,beforeUpdate(t,r,e){t[ao]=$1(e),JM(t,r,e)}};function JM(t,{value:r,oldValue:e},n){t._modelValue=r;let i;if(Ge(r))i=rb(r,n.props.value)>-1;else if(Gu(r))i=r.has(n.props.value);else{if(r===e)return;i=Xl(r,hF(t,!0))}t.checked!==i&&(t.checked=i)}const Gae={created(t,{value:r},e){t.checked=Xl(r,e.props.value),t[ao]=$1(e),Ba(t,"change",()=>{t[ao](su(t))})},beforeUpdate(t,{value:r,oldValue:e},n){t[ao]=$1(n),r!==e&&(t.checked=Xl(r,n.props.value))}},Wae={deep:!0,created(t,{value:r,modifiers:{number:e}},n){const i=Gu(r);Ba(t,"change",()=>{const o=Array.prototype.filter.call(t.options,a=>a.selected).map(a=>e?vv(su(a)):su(a));t[ao](t.multiple?i?new Set(o):o:o[0]),t._assigning=!0,dn(()=>{t._assigning=!1})}),t[ao]=$1(n)},mounted(t,{value:r}){ez(t,r)},beforeUpdate(t,r,e){t[ao]=$1(e)},updated(t,{value:r}){t._assigning||ez(t,r)}};function ez(t,r){const e=t.multiple,n=Ge(r);if(!(e&&!n&&!Gu(r))){for(let i=0,o=t.options.length;i<o;i++){const a=t.options[i],s=su(a);if(e)if(n){const l=typeof s;l==="string"||l==="number"?a.selected=r.some(c=>String(c)===String(s)):a.selected=rb(r,s)>-1}else a.selected=r.has(s);else if(Xl(su(a),r)){t.selectedIndex!==i&&(t.selectedIndex=i);return}}!e&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function su(t){return"_value"in t?t._value:t.value}function hF(t,r){const e=r?"_trueValue":"_falseValue";return e in t?t[e]:r}const Zae={created(t,r,e){Y0(t,r,e,null,"created")},mounted(t,r,e){Y0(t,r,e,null,"mounted")},beforeUpdate(t,r,e,n){Y0(t,r,e,n,"beforeUpdate")},updated(t,r,e,n){Y0(t,r,e,n,"updated")}};function Kae(t,r){switch(t){case"SELECT":return Wae;case"TEXTAREA":return QM;default:switch(r){case"checkbox":return Uae;case"radio":return Gae;default:return QM}}}function Y0(t,r,e,n,i){const a=Kae(t.tagName,e.props&&e.props.type)[i];a&&a(t,r,e,n)}const Yae=["ctrl","shift","alt","meta"],Xae={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,r)=>Yae.some(e=>t[`${e}Key`]&&!r.includes(e))},Wn=(t,r)=>{const e=t._withMods||(t._withMods={}),n=r.join(".");return e[n]||(e[n]=(i,...o)=>{for(let a=0;a<r.length;a++){const s=Xae[r[a]];if(s&&s(i,r))return}return t(i,...o)})},qae={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},dF=(t,r)=>{const e=t._withKeys||(t._withKeys={}),n=r.join(".");return e[n]||(e[n]=i=>{if(!("key"in i))return;const o=vs(i.key);if(r.some(a=>a===o||qae[a]===o))return t(i)})},Qae=Vr({patchProp:Bae},mae);let tz;function fF(){return tz||(tz=Zoe(Qae))}const rz=(...t)=>{fF().render(...t)},CF=(...t)=>{const r=fF().createApp(...t),{mount:e}=r;return r.mount=n=>{const i=ese(n);if(!i)return;const o=r._component;!it(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const a=e(i,!1,Jae(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},r};function Jae(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function ese(t){return fr(t)?document.querySelector(t):t}var tse=Object.create,vF=Object.defineProperty,rse=Object.getOwnPropertyDescriptor,bb=Object.getOwnPropertyNames,nse=Object.getPrototypeOf,ise=Object.prototype.hasOwnProperty,ose=(t,r)=>function(){return t&&(r=(0,t[bb(t)[0]])(t=0)),r},AF=(t,r)=>function(){return r||(0,t[bb(t)[0]])((r={exports:{}}).exports,r),r.exports},ase=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of bb(r))!ise.call(t,i)&&i!==e&&vF(t,i,{get:()=>r[i],enumerable:!(n=rse(r,i))||n.enumerable});return t},sse=(t,r,e)=>(e=t!=null?tse(nse(t)):{},ase(vF(e,"default",{value:t,enumerable:!0}),t)),se=ose({"../../node_modules/.pnpm/tsup@8.3.0_@microsoft+api-extractor@7.43.0_@types+node@20.16.14__@swc+core@1.5.29_jiti@2.0.0__utvtwgyeu6xd57udthcnogp47u/node_modules/tsup/assets/esm_shims.js"(){}}),lse=AF({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(t,r){se(),function(e){var n={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},i=["်","ް"],o={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},a={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},s={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},l=[";","?",":","@","&","=","+","$",",","/"].join(""),c=[";","?",":","@","&","=","+","$",","].join(""),u=[".","!","~","*","'","(",")"].join(""),g=function(v,A){var I="-",p="",m="",b=!0,_={},L,z,S,T,k,O,P,B,te,ee,re,Ee,He,nt,De="";if(typeof v!="string")return"";if(typeof A=="string"&&(I=A),P=s.en,B=a.en,typeof A=="object"){L=A.maintainCase||!1,_=A.custom&&typeof A.custom=="object"?A.custom:_,S=+A.truncate>1&&A.truncate||!1,T=A.uric||!1,k=A.uricNoSlash||!1,O=A.mark||!1,b=!(A.symbols===!1||A.lang===!1),I=A.separator||I,T&&(De+=l),k&&(De+=c),O&&(De+=u),P=A.lang&&s[A.lang]&&b?s[A.lang]:b?s.en:{},B=A.lang&&a[A.lang]?a[A.lang]:A.lang===!1||A.lang===!0?{}:a.en,A.titleCase&&typeof A.titleCase.length=="number"&&Array.prototype.toString.call(A.titleCase)?(A.titleCase.forEach(function(be){_[be+""]=be+""}),z=!0):z=!!A.titleCase,A.custom&&typeof A.custom.length=="number"&&Array.prototype.toString.call(A.custom)&&A.custom.forEach(function(be){_[be+""]=be+""}),Object.keys(_).forEach(function(be){var Ne;be.length>1?Ne=new RegExp("\\b"+d(be)+"\\b","gi"):Ne=new RegExp(d(be),"gi"),v=v.replace(Ne,_[be])});for(re in _)De+=re}for(De+=I,De=d(De),v=v.replace(/(^\s+|\s+$)/g,""),He=!1,nt=!1,ee=0,Ee=v.length;ee<Ee;ee++)re=v[ee],f(re,_)?He=!1:B[re]?(re=He&&B[re].match(/[A-Za-z0-9]/)?" "+B[re]:B[re],He=!1):re in n?(ee+1<Ee&&i.indexOf(v[ee+1])>=0?(m+=re,re=""):nt===!0?(re=o[m]+n[re],m=""):re=He&&n[re].match(/[A-Za-z0-9]/)?" "+n[re]:n[re],He=!1,nt=!1):re in o?(m+=re,re="",ee===Ee-1&&(re=o[m]),nt=!0):P[re]&&!(T&&l.indexOf(re)!==-1)&&!(k&&c.indexOf(re)!==-1)?(re=He||p.substr(-1).match(/[A-Za-z0-9]/)?I+P[re]:P[re],re+=v[ee+1]!==void 0&&v[ee+1].match(/[A-Za-z0-9]/)?I:"",He=!0):(nt===!0?(re=o[m]+re,m="",nt=!1):He&&(/[A-Za-z0-9]/.test(re)||p.substr(-1).match(/A-Za-z0-9]/))&&(re=" "+re),He=!1),p+=re.replace(new RegExp("[^\\w\\s"+De+"_-]","g"),I);return z&&(p=p.replace(/(\w)(\S*)/g,function(be,Ne,Ue){var ot=Ne.toUpperCase()+(Ue!==null?Ue:"");return Object.keys(_).indexOf(ot.toLowerCase())<0?ot:ot.toLowerCase()})),p=p.replace(/\s+/g,I).replace(new RegExp("\\"+I+"+","g"),I).replace(new RegExp("(^\\"+I+"+|\\"+I+"+$)","g"),""),S&&p.length>S&&(te=p.charAt(S)===I,p=p.slice(0,S),te||(p=p.slice(0,p.lastIndexOf(I)))),!L&&!z&&(p=p.toLowerCase()),p},h=function(v){return function(I){return g(I,v)}},d=function(v){return v.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},f=function(C,v){for(var A in v)if(v[A]===C)return!0};if(typeof r<"u"&&r.exports)r.exports=g,r.exports.createSlug=h;else if(typeof define<"u"&&define.amd)define([],function(){return g});else try{if(e.getSlug||e.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";e.getSlug=g,e.createSlug=h}catch{}}(t)}}),cse=AF({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(t,r){se(),r.exports=lse()}});se();se();se();function use(t){if(ae.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__){t();return}Object.defineProperty(ae,"__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__",{set(r){r&&t()},configurable:!0})}se();se();se();se();function gse(t){return!!(t&&t.__v_isReadonly)}function IF(t){return gse(t)?IF(t.__v_raw):!!(t&&t.__v_isReactive)}function hp(t){return!!(t&&t.__v_isRef===!0)}function hh(t){const r=t&&t.__v_raw;return r?hh(r):t}se();function hse(t){var r;const e=t.name||t._componentTag||t.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||t.__name;return e==="index"&&((r=t.__file)!=null&&r.endsWith("index.vue"))?"":e}function pF(t){const r=t.__file;if(r)return BN(tie(r,".vue"))}function dse(t){const r=t.displayName||t.name||t._componentTag;return r||pF(t)}function nz(t,r){return t.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=r,r}function Lo(t){if(t.__VUE_DEVTOOLS_NEXT_APP_RECORD__)return t.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(t.root)return t.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__}async function E5(t){const{app:r,uid:e,instance:n}=t;try{if(n.__VUE_DEVTOOLS_NEXT_UID__)return n.__VUE_DEVTOOLS_NEXT_UID__;const i=await Lo(r);if(!i)return null;const o=i.rootInstance===n;return`${i.id}:${o?"root":e}`}catch{}}function wb(t){var r,e;const n=(r=t.subTree)==null?void 0:r.type,i=Lo(t);return i?((e=i?.types)==null?void 0:e.Fragment)===n:!1}function dp(t){return t._isBeingDestroyed||t.isUnmounted}function Uo(t){var r,e,n;const i=hse(t?.type||{});if(i)return i;if(t?.root===t)return"Root";for(const a in(e=(r=t.parent)==null?void 0:r.type)==null?void 0:e.components)if(t.parent.type.components[a]===t?.type)return nz(t,a);for(const a in(n=t.appContext)==null?void 0:n.components)if(t.appContext.components[a]===t?.type)return nz(t,a);const o=pF(t?.type||{});return o||"Anonymous Component"}function mF(t){var r,e,n;const i=(n=(e=(r=t?.appContext)==null?void 0:r.app)==null?void 0:e.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__)!=null?n:0,o=t===t?.root?"root":t.uid;return`${i}:${o}`}function fse(t){return t==null?"":typeof t=="number"?t:typeof t=="string"?`'${t}'`:Array.isArray(t)?"Array":"Object"}function P1(t){try{return t()}catch(r){return r}}function lu(t,r){return r=r||`${t.id}:root`,t.instanceMap.get(r)||t.instanceMap.get(":root")}function no(t,r,e=!1){return e||typeof t=="object"&&t!==null?r in t:!1}var yF=class{constructor(){this.refEditor=new Cse}set(t,r,e,n){const i=Array.isArray(r)?r:r.split(".");for(;i.length>1;){const s=i.shift();t instanceof Map&&(t=t.get(s)),t instanceof Set?t=Array.from(t.values())[s]:t=t[s],this.refEditor.isRef(t)&&(t=this.refEditor.get(t))}const o=i[0],a=this.refEditor.get(t)[o];n?n(t,o,e):this.refEditor.isRef(a)?this.refEditor.set(a,e):t[o]=e}get(t,r){const e=Array.isArray(r)?r:r.split(".");for(let n=0;n<e.length;n++)if(t instanceof Map?t=t.get(e[n]):t=t[e[n]],this.refEditor.isRef(t)&&(t=this.refEditor.get(t)),!t)return;return t}has(t,r,e=!1){if(typeof t>"u")return!1;const n=Array.isArray(r)?r.slice():r.split("."),i=e?2:1;for(;t&&n.length>i;){const o=n.shift();t=t[o],this.refEditor.isRef(t)&&(t=this.refEditor.get(t))}return t!=null&&Object.prototype.hasOwnProperty.call(t,n[0])}createDefaultSetCallback(t){return(r,e,n)=>{if((t.remove||t.newKey)&&(Array.isArray(r)?r.splice(e,1):hh(r)instanceof Map?r.delete(e):hh(r)instanceof Set?r.delete(Array.from(r.values())[e]):Reflect.deleteProperty(r,e)),!t.remove){const i=r[t.newKey||e];this.refEditor.isRef(i)?this.refEditor.set(i,n):hh(r)instanceof Map?r.set(t.newKey||e,n):hh(r)instanceof Set?r.add(n):r[t.newKey||e]=n}}}},Cse=class{set(t,r){if(hp(t))t.value=r;else{if(t instanceof Set&&Array.isArray(r)){t.clear(),r.forEach(i=>t.add(i));return}const e=Object.keys(r);if(t instanceof Map){const i=new Set(t.keys());e.forEach(o=>{t.set(o,Reflect.get(r,o)),i.delete(o)}),i.forEach(o=>t.delete(o));return}const n=new Set(Object.keys(t));e.forEach(i=>{Reflect.set(t,i,Reflect.get(r,i)),n.delete(i)}),n.forEach(i=>Reflect.deleteProperty(t,i))}}get(t){return hp(t)?t.value:t}isRef(t){return hp(t)||IF(t)}};async function vse(t,r){const{path:e,nodeId:n,state:i,type:o}=t,a=lu(Pt.value,n);if(!a)return;const s=e.slice();let l;a.devtoolsRawSetupState&&Object.keys(a.devtoolsRawSetupState).includes(e[0])&&(l=a.devtoolsRawSetupState),a.data&&Object.keys(a.data).includes(e[0])&&(l=a.data),l&&s&&(i.type,r.set(l,s,i.value,r.createDefaultSetCallback(i)))}var Ase=new yF;async function Ise(t){vse(t,Ase)}se();function ud(t){return wb(t)?pse(t.subTree):t.subTree?[t.subTree.el]:[]}function pse(t){if(!t.children)return[];const r=[];return t.children.forEach(e=>{e.component?r.push(...ud(e.component)):e?.el&&r.push(e.el)}),r}se();se();function mse(){const t={top:0,bottom:0,left:0,right:0,get width(){return t.right-t.left},get height(){return t.bottom-t.top}};return t}var X0;function yse(t){return X0||(X0=document.createRange()),X0.selectNode(t),X0.getBoundingClientRect()}function bse(t){const r=mse();if(!t.children)return r;for(let e=0,n=t.children.length;e<n;e++){const i=t.children[e];let o;if(i.component)o=Ql(i.component);else if(i.el){const a=i.el;a.nodeType===1||a.getBoundingClientRect?o=a.getBoundingClientRect():a.nodeType===3&&a.data.trim()&&(o=yse(a))}o&&wse(r,o)}return r}function wse(t,r){return(!t.top||r.top<t.top)&&(t.top=r.top),(!t.bottom||r.bottom>t.bottom)&&(t.bottom=r.bottom),(!t.left||r.left<t.left)&&(t.left=r.left),(!t.right||r.right>t.right)&&(t.right=r.right),t}var iz={top:0,left:0,right:0,bottom:0,width:0,height:0};function Ql(t){const r=t.subTree.el;return typeof window>"u"?iz:wb(t)?bse(t.subTree):r?.nodeType===1?r?.getBoundingClientRect():t.subTree.component?Ql(t.subTree.component):iz}var bF="__vue-devtools-component-inspector__",wF="__vue-devtools-component-inspector__card__",$F="__vue-devtools-component-inspector__name__",_F="__vue-devtools-component-inspector__indicator__",MF={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},$se={fontFamily:"Arial, Helvetica, sans-serif",padding:"5px 8px",borderRadius:"4px",textAlign:"left",position:"absolute",left:0,color:"#e9e9e9",fontSize:"14px",fontWeight:600,lineHeight:"24px",backgroundColor:"#42b883",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},_se={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function Wu(){return document.getElementById(bF)}function Mse(){return document.getElementById(wF)}function zse(){return document.getElementById(_F)}function Ese(){return document.getElementById($F)}function $b(t){return{left:`${Math.round(t.left*100)/100}px`,top:`${Math.round(t.top*100)/100}px`,width:`${Math.round(t.width*100)/100}px`,height:`${Math.round(t.height*100)/100}px`}}function _b(t){var r;const e=document.createElement("div");e.id=(r=t.elementId)!=null?r:bF,Object.assign(e.style,{...MF,...$b(t.bounds),...t.style});const n=document.createElement("span");n.id=wF,Object.assign(n.style,{...$se,top:t.bounds.top<35?0:"-35px"});const i=document.createElement("span");i.id=$F,i.innerHTML=`<${t.name}> `;const o=document.createElement("i");return o.id=_F,o.innerHTML=`${Math.round(t.bounds.width*100)/100} x ${Math.round(t.bounds.height*100)/100}`,Object.assign(o.style,_se),n.appendChild(i),n.appendChild(o),e.appendChild(n),document.body.appendChild(e),e}function Mb(t){const r=Wu(),e=Mse(),n=Ese(),i=zse();r&&(Object.assign(r.style,{...MF,...$b(t.bounds)}),Object.assign(e.style,{top:t.bounds.top<35?0:"-35px"}),n.innerHTML=`<${t.name}> `,i.innerHTML=`${Math.round(t.bounds.width*100)/100} x ${Math.round(t.bounds.height*100)/100}`)}function Sse(t){const r=Ql(t),e=Uo(t);Wu()?Mb({bounds:r,name:e}):_b({bounds:r,name:e})}function zF(){const t=Wu();t&&(t.style.display="none")}var U6=null;function G6(t){const r=t.target;if(r){const e=r.__vueParentComponent;if(e&&(U6=e,e.vnode.el)){const i=Ql(e),o=Uo(e);Wu()?Mb({bounds:i,name:o}):_b({bounds:i,name:o})}}}function Tse(t,r){var e;if(t.preventDefault(),t.stopPropagation(),U6){const n=(e=Pt.value)==null?void 0:e.app;E5({app:n,uid:n.uid,instance:U6}).then(i=>{r(i)})}}var _v=null;function Lse(){zF(),window.removeEventListener("mouseover",G6),window.removeEventListener("click",_v,!0),_v=null}function kse(){return window.addEventListener("mouseover",G6),new Promise(t=>{function r(e){e.preventDefault(),e.stopPropagation(),Tse(e,n=>{window.removeEventListener("click",r,!0),_v=null,window.removeEventListener("mouseover",G6);const i=Wu();i&&(i.style.display="none"),t(JSON.stringify({id:n}))})}_v=r,window.addEventListener("click",r,!0)})}function Ose(t){const r=lu(Pt.value,t.id);if(r){const[e]=ud(r);if(typeof e.scrollIntoView=="function")e.scrollIntoView({behavior:"smooth"});else{const n=Ql(r),i=document.createElement("div"),o={...$b(n),position:"absolute"};Object.assign(i.style,o),document.body.appendChild(i),i.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{document.body.removeChild(i)},2e3)}setTimeout(()=>{const n=Ql(r);if(n.width||n.height){const i=Uo(r),o=Wu();o?Mb({...t,name:i,bounds:n}):_b({...t,name:i,bounds:n}),setTimeout(()=>{o&&(o.style.display="none")},1500)}},1200)}}se();var oz,az;(az=(oz=ae).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__)!=null||(oz.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);function xse(t){let r=0;const e=setInterval(()=>{ae.__VUE_INSPECTOR__&&(clearInterval(e),r+=30,t()),r>=5e3&&clearInterval(e)},30)}function Hse(){const t=ae.__VUE_INSPECTOR__,r=t.openInEditor;t.openInEditor=async(...e)=>{t.disable(),r(...e)}}function Vse(){return new Promise(t=>{function r(){Hse(),t(ae.__VUE_INSPECTOR__)}ae.__VUE_INSPECTOR__?r():xse(()=>{r()})})}se();se();se();var EF="__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";function Pse(t){!Uu||typeof localStorage>"u"||localStorage===null||localStorage.setItem(EF,JSON.stringify(t))}function Rse(){if(!Uu||typeof localStorage>"u"||localStorage===null)return{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""};const t=localStorage.getItem(EF);return t?JSON.parse(t):{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""}}se();se();se();var sz,lz;(lz=(sz=ae).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS)!=null||(sz.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS=[]);var SF=new Proxy(ae.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS,{get(t,r,e){return Reflect.get(t,r,e)}});function Dse(t,r){$t.timelineLayersState[r.id]=!1,SF.push({...t,descriptorId:r.id,appRecord:Lo(r.app)})}function Nse(t){const r={...$t.timelineLayersState,...t};Pse(r),zh({timelineLayersState:r})}var cz,uz;(uz=(cz=ae).__VUE_DEVTOOLS_KIT_INSPECTOR__)!=null||(cz.__VUE_DEVTOOLS_KIT_INSPECTOR__=[]);var zb=new Proxy(ae.__VUE_DEVTOOLS_KIT_INSPECTOR__,{get(t,r,e){return Reflect.get(t,r,e)}}),TF=as(()=>{ba.hooks.callHook("sendInspectorToClient",Eb())});function Bse(t,r){zb.push({options:t,descriptor:r,treeFilter:"",selectedNodeId:"",appRecord:Lo(r.app)}),TF()}function Eb(){return zb.filter(t=>t.descriptor.app===Pt.value.app).filter(t=>t.descriptor.id!=="components").map(t=>{var r;const e=t.descriptor,n=t.options;return{id:n.id,label:n.label,logo:e.logo,icon:`custom-ic-baseline-${(r=n?.icon)==null?void 0:r.replace(/_/g,"-")}`,packageName:e.packageName,homepage:e.homepage,pluginId:e.id}})}function Fse(t){const r=o1(t,Pt.value.app);if(!r)return;const e=r.descriptor,n=r.options,i=SF.filter(o=>o.descriptorId===e.id).map(o=>({id:o.id,label:o.label,color:o.color}));return{id:n.id,label:n.label,logo:e.logo,packageName:e.packageName,homepage:e.homepage,timelineLayers:i}}function o1(t,r){return zb.find(e=>e.options.id===t&&(r?e.descriptor.app===r:!0))}function gz(t){const r=o1(t);return r?.options.actions}function hz(t){const r=o1(t);return r?.options.nodeActions}var LF=(t=>(t.ADD_INSPECTOR="addInspector",t.SEND_INSPECTOR_TREE="sendInspectorTree",t.SEND_INSPECTOR_STATE="sendInspectorState",t.CUSTOM_INSPECTOR_SELECT_NODE="customInspectorSelectNode",t.TIMELINE_LAYER_ADDED="timelineLayerAdded",t.TIMELINE_EVENT_ADDED="timelineEventAdded",t.GET_COMPONENT_INSTANCES="getComponentInstances",t.GET_COMPONENT_BOUNDS="getComponentBounds",t.GET_COMPONENT_NAME="getComponentName",t.COMPONENT_HIGHLIGHT="componentHighlight",t.COMPONENT_UNHIGHLIGHT="componentUnhighlight",t))(LF||{}),Hs=(t=>(t.SEND_INSPECTOR_TREE_TO_CLIENT="sendInspectorTreeToClient",t.SEND_INSPECTOR_STATE_TO_CLIENT="sendInspectorStateToClient",t.SEND_TIMELINE_EVENT_TO_CLIENT="sendTimelineEventToClient",t.SEND_INSPECTOR_TO_CLIENT="sendInspectorToClient",t.SEND_ACTIVE_APP_UNMOUNTED_TO_CLIENT="sendActiveAppUpdatedToClient",t.DEVTOOLS_STATE_UPDATED="devtoolsStateUpdated",t.DEVTOOLS_CONNECTED_UPDATED="devtoolsConnectedUpdated",t.ROUTER_INFO_UPDATED="routerInfoUpdated",t))(Hs||{});function jse(){const t=UN();t.hook("addInspector",({inspector:n,plugin:i})=>{Bse(n,i.descriptor)});const r=as(async({inspectorId:n,plugin:i})=>{var o;if(!n||!((o=i?.descriptor)!=null&&o.app)||$t.highPerfModeEnabled)return;const a=o1(n,i.descriptor.app),s={app:i.descriptor.app,inspectorId:n,filter:a?.treeFilter||"",rootNodes:[]};await new Promise(l=>{t.callHookWith(async c=>{await Promise.all(c.map(u=>u(s))),l()},"getInspectorTree")}),t.callHookWith(async l=>{await Promise.all(l.map(c=>c({inspectorId:n,rootNodes:s.rootNodes})))},"sendInspectorTreeToClient")},120);t.hook("sendInspectorTree",r);const e=as(async({inspectorId:n,plugin:i})=>{var o;if(!n||!((o=i?.descriptor)!=null&&o.app)||$t.highPerfModeEnabled)return;const a=o1(n,i.descriptor.app),s={app:i.descriptor.app,inspectorId:n,nodeId:a?.selectedNodeId||"",state:null},l={currentTab:`custom-inspector:${n}`};s.nodeId&&await new Promise(c=>{t.callHookWith(async u=>{await Promise.all(u.map(g=>g(s,l))),c()},"getInspectorState")}),t.callHookWith(async c=>{await Promise.all(c.map(u=>u({inspectorId:n,nodeId:s.nodeId,state:s.state})))},"sendInspectorStateToClient")},120);return t.hook("sendInspectorState",e),t.hook("customInspectorSelectNode",({inspectorId:n,nodeId:i,plugin:o})=>{const a=o1(n,o.descriptor.app);a&&(a.selectedNodeId=i)}),t.hook("timelineLayerAdded",({options:n,plugin:i})=>{Dse(n,i.descriptor)}),t.hook("timelineEventAdded",({options:n,plugin:i})=>{var o;const a=["performance","component-event","keyboard","mouse"];$t.highPerfModeEnabled||!((o=$t.timelineLayersState)!=null&&o[i.descriptor.id])&&!a.includes(n.layerId)||t.callHookWith(async s=>{await Promise.all(s.map(l=>l(n)))},"sendTimelineEventToClient")}),t.hook("getComponentInstances",async({app:n})=>{const i=n.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(!i)return null;const o=i.id.toString();return[...i.instanceMap].filter(([s])=>s.split(":")[0]===o).map(([,s])=>s)}),t.hook("getComponentBounds",async({instance:n})=>Ql(n)),t.hook("getComponentName",({instance:n})=>Uo(n)),t.hook("componentHighlight",({uid:n})=>{const i=Pt.value.instanceMap.get(n);i&&Sse(i)}),t.hook("componentUnhighlight",()=>{zF()}),t}var dz,fz;(fz=(dz=ae).__VUE_DEVTOOLS_KIT_APP_RECORDS__)!=null||(dz.__VUE_DEVTOOLS_KIT_APP_RECORDS__=[]);var Cz,vz;(vz=(Cz=ae).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__)!=null||(Cz.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__={});var Az,Iz;(Iz=(Az=ae).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__)!=null||(Az.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__="");var pz,mz;(mz=(pz=ae).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__)!=null||(pz.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__=[]);var yz,bz;(bz=(yz=ae).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__)!=null||(yz.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__=[]);var ia="__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";function Use(){return{connected:!1,clientConnected:!1,vitePluginDetected:!0,appRecords:[],activeAppRecordId:"",tabs:[],commands:[],highPerfModeEnabled:!0,devtoolsClientDetected:{},perfUniqueGroupId:0,timelineLayersState:Rse()}}var wz,$z;($z=(wz=ae)[ia])!=null||(wz[ia]=Use());var Gse=as(t=>{ba.hooks.callHook("devtoolsStateUpdated",{state:t})}),Wse=as((t,r)=>{ba.hooks.callHook("devtoolsConnectedUpdated",{state:t,oldState:r})}),_1=new Proxy(ae.__VUE_DEVTOOLS_KIT_APP_RECORDS__,{get(t,r,e){return r==="value"?ae.__VUE_DEVTOOLS_KIT_APP_RECORDS__:ae.__VUE_DEVTOOLS_KIT_APP_RECORDS__[r]}}),Zse=t=>{ae.__VUE_DEVTOOLS_KIT_APP_RECORDS__=[...ae.__VUE_DEVTOOLS_KIT_APP_RECORDS__,t]},Kse=t=>{ae.__VUE_DEVTOOLS_KIT_APP_RECORDS__=_1.value.filter(r=>r.app!==t)},Pt=new Proxy(ae.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__,{get(t,r,e){return r==="value"?ae.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__:r==="id"?ae.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__:ae.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[r]}});function Sb(){Gse({...ae[ia],appRecords:_1.value,activeAppRecordId:Pt.id,tabs:ae.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,commands:ae.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__})}function W6(t){ae.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__=t,Sb()}function kF(t){ae.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__=t,Sb()}var $t=new Proxy(ae[ia],{get(t,r){return r==="appRecords"?_1:r==="activeAppRecordId"?Pt.id:r==="tabs"?ae.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__:r==="commands"?ae.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__:ae[ia][r]},deleteProperty(t,r){return delete t[r],!0},set(t,r,e){return{...ae[ia]},t[r]=e,ae[ia][r]=e,!0}});function zh(t){const r={...ae[ia],appRecords:_1.value,activeAppRecordId:Pt.id};(r.connected!==t.connected&&t.connected||r.clientConnected!==t.clientConnected&&t.clientConnected)&&Wse(ae[ia],r),Object.assign(ae[ia],t),Sb()}function Yse(t){zh({clientConnected:t})}function Xse(t={}){var r,e,n;const{file:i,host:o,baseUrl:a=window.location.origin,line:s=0,column:l=0}=t;if(i){if(o==="chrome-extension"){const c=i.replace(/\\/g,"\\\\"),u=(e=(r=window.VUE_DEVTOOLS_CONFIG)==null?void 0:r.openInEditorHost)!=null?e:"/";fetch(`${u}__open-in-editor?file=${encodeURI(i)}`).then(g=>{if(!g.ok){const h=`Opening component ${c} failed`;console.log(`%c${h}`,"color:red")}})}else if($t.vitePluginDetected){const c=(n=ae.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__)!=null?n:a;ae.__VUE_INSPECTOR__.openInEditor(c,i,s,l)}}}se();se();se();se();se();var _z,Mz;(Mz=(_z=ae).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__)!=null||(_z.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__=[]);var hf=new Proxy(ae.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__,{get(t,r,e){return Reflect.get(t,r,e)}});function qse(t,r){hf.push([t,r])}function Z6(t){const r={};return Object.keys(t).forEach(e=>{r[e]=t[e].defaultValue}),r}function Tb(t){return`__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${t}__`}function Qse(t){var r,e,n;const i=(e=(r=hf.find(o=>{var a;return o[0].id===t&&!!((a=o[0])!=null&&a.settings)}))==null?void 0:r[0])!=null?e:null;return(n=i?.settings)!=null?n:null}function OF(t,r){var e,n,i;const o=Tb(t);if(o){const a=localStorage.getItem(o);if(a)return JSON.parse(a)}if(t){const a=(n=(e=hf.find(s=>s[0].id===t))==null?void 0:e[0])!=null?n:null;return Z6((i=a?.settings)!=null?i:{})}return Z6(r)}function xF(t,r){const e=Tb(t);localStorage.getItem(e)||localStorage.setItem(e,JSON.stringify(Z6(r)))}function Jse(t,r,e){const n=Tb(t),i=localStorage.getItem(n),o=JSON.parse(i||"{}"),a={...o,[r]:e};localStorage.setItem(n,JSON.stringify(a)),ba.hooks.callHookWith(s=>{s.forEach(l=>l({pluginId:t,key:r,oldValue:o[r],newValue:e,settings:a}))},"setPluginSettings")}se();se();se();se();se();se();se();se();se();se();se();var zz,Ez,pr=(Ez=(zz=ae).__VUE_DEVTOOLS_HOOK)!=null?Ez:zz.__VUE_DEVTOOLS_HOOK=UN(),e1e={vueAppInit(t){pr.hook("app:init",t)},vueAppUnmount(t){pr.hook("app:unmount",t)},vueAppConnected(t){pr.hook("app:connected",t)},componentAdded(t){return pr.hook("component:added",t)},componentEmit(t){return pr.hook("component:emit",t)},componentUpdated(t){return pr.hook("component:updated",t)},componentRemoved(t){return pr.hook("component:removed",t)},setupDevtoolsPlugin(t){pr.hook("devtools-plugin:setup",t)},perfStart(t){return pr.hook("perf:start",t)},perfEnd(t){return pr.hook("perf:end",t)}};function Sz(){return{id:"vue-devtools-next",devtoolsVersion:"7.0",enabled:!1,appRecords:[],apps:[],events:new Map,on(t,r){var e;return this.events.has(t)||this.events.set(t,[]),(e=this.events.get(t))==null||e.push(r),()=>this.off(t,r)},once(t,r){const e=(...n)=>{this.off(t,e),r(...n)};return this.on(t,e),[t,e]},off(t,r){if(this.events.has(t)){const e=this.events.get(t),n=e.indexOf(r);n!==-1&&e.splice(n,1)}},emit(t,...r){this.events.has(t)&&this.events.get(t).forEach(e=>e(...r))}}}function t1e(){const t=ae.__VUE_DEVTOOLS_GLOBAL_HOOK__;t.on("app:init",(r,e,n)=>{var i,o,a;(a=(o=(i=r?._instance)==null?void 0:i.type)==null?void 0:o.devtools)!=null&&a.hide||pr.callHook("app:init",r,e,n)}),t.on("app:unmount",r=>{pr.callHook("app:unmount",r)}),t.on("component:added",async(r,e,n,i)=>{var o,a,s;(s=(a=(o=r?._instance)==null?void 0:o.type)==null?void 0:a.devtools)!=null&&s.hide||$t.highPerfModeEnabled||!r||typeof e!="number"&&!e||!i||pr.callHook("component:added",r,e,n,i)}),t.on("component:updated",(r,e,n,i)=>{!r||typeof e!="number"&&!e||!i||$t.highPerfModeEnabled||pr.callHook("component:updated",r,e,n,i)}),t.on("component:removed",async(r,e,n,i)=>{!r||typeof e!="number"&&!e||!i||$t.highPerfModeEnabled||pr.callHook("component:removed",r,e,n,i)}),t.on("component:emit",async(r,e,n,i)=>{!r||!e||$t.highPerfModeEnabled||pr.callHook("component:emit",r,e,n,i)}),t.on("perf:start",(r,e,n,i,o)=>{!r||$t.highPerfModeEnabled||pr.callHook("perf:start",r,e,n,i,o)}),t.on("perf:end",(r,e,n,i,o)=>{!r||$t.highPerfModeEnabled||pr.callHook("perf:end",r,e,n,i,o)}),t.on("devtools-plugin:setup",(r,e,n)=>{n?.target!=="legacy"&&pr.callHook("devtools-plugin:setup",r,e)})}var so={on:e1e,setupDevToolsPlugin(t,r){return pr.callHook("devtools-plugin:setup",t,r)}},r1e=class{constructor({plugin:t,ctx:r}){this.hooks=r.hooks,this.plugin=t}get on(){return{visitComponentTree:t=>{this.hooks.hook("visitComponentTree",t)},inspectComponent:t=>{this.hooks.hook("inspectComponent",t)},editComponentState:t=>{this.hooks.hook("editComponentState",t)},getInspectorTree:t=>{this.hooks.hook("getInspectorTree",t)},getInspectorState:t=>{this.hooks.hook("getInspectorState",t)},editInspectorState:t=>{this.hooks.hook("editInspectorState",t)},inspectTimelineEvent:t=>{this.hooks.hook("inspectTimelineEvent",t)},timelineCleared:t=>{this.hooks.hook("timelineCleared",t)},setPluginSettings:t=>{this.hooks.hook("setPluginSettings",t)}}}notifyComponentUpdate(t){var r;const e=Eb().find(n=>n.packageName===this.plugin.descriptor.packageName);if(e?.id){if(t){const n=[t.appContext.app,t.uid,(r=t.parent)==null?void 0:r.uid,t];pr.callHook("component:updated",...n)}else pr.callHook("component:updated");this.hooks.callHook("sendInspectorState",{inspectorId:e.id,plugin:this.plugin})}}addInspector(t){this.hooks.callHook("addInspector",{inspector:t,plugin:this.plugin}),this.plugin.descriptor.settings&&xF(t.id,this.plugin.descriptor.settings)}sendInspectorTree(t){this.hooks.callHook("sendInspectorTree",{inspectorId:t,plugin:this.plugin})}sendInspectorState(t){this.hooks.callHook("sendInspectorState",{inspectorId:t,plugin:this.plugin})}selectInspectorNode(t,r){this.hooks.callHook("customInspectorSelectNode",{inspectorId:t,nodeId:r,plugin:this.plugin})}visitComponentTree(t){return this.hooks.callHook("visitComponentTree",t)}now(){return Date.now()}addTimelineLayer(t){this.hooks.callHook("timelineLayerAdded",{options:t,plugin:this.plugin})}addTimelineEvent(t){this.hooks.callHook("timelineEventAdded",{options:t,plugin:this.plugin})}getSettings(t){return OF(t??this.plugin.descriptor.id,this.plugin.descriptor.settings)}getComponentInstances(t){return this.hooks.callHook("getComponentInstances",{app:t})}getComponentBounds(t){return this.hooks.callHook("getComponentBounds",{instance:t})}getComponentName(t){return this.hooks.callHook("getComponentName",{instance:t})}highlightElement(t){const r=t.__VUE_DEVTOOLS_NEXT_UID__;return this.hooks.callHook("componentHighlight",{uid:r})}unhighlightElement(){return this.hooks.callHook("componentUnhighlight")}},n1e=r1e;se();se();se();se();var i1e=new Set(["nextTick","defineComponent","defineAsyncComponent","defineCustomElement","ref","computed","reactive","readonly","watchEffect","watchPostEffect","watchSyncEffect","watch","isRef","unref","toRef","toRefs","isProxy","isReactive","isReadonly","shallowRef","triggerRef","customRef","shallowReactive","shallowReadonly","toRaw","markRaw","effectScope","getCurrentScope","onScopeDispose","onMounted","onUpdated","onUnmounted","onBeforeMount","onBeforeUpdate","onBeforeUnmount","onErrorCaptured","onRenderTracked","onRenderTriggered","onActivated","onDeactivated","onServerPrefetch","provide","inject","h","mergeProps","cloneVNode","isVNode","resolveComponent","resolveDirective","withDirectives","withModifiers"]),Tz=/^\[native Symbol Symbol\((.*)\)\]$/,o1e=/^\[object (\w+)\]$/,Mv=/^\[native (\w+) (.*?)(<>(([\s\S])*))?\]$/,a1e=/^(?:function|class) (\w+)/,Lz=1e4,kz=5e3,Zu="__vue_devtool_undefined__",df="__vue_devtool_infinity__",ff="__vue_devtool_negative_infinity__",Cf="__vue_devtool_nan__",s1e={"<":"<",">":">",'"':""","&":"&"};se();se();function HF(t){return!no(t,"_")||!tI(t._)?!1:Object.keys(t._).includes("vnode")}function tI(t){return Object.prototype.toString.call(t)==="[object Object]"}function l1e(t){if(t==null)return!0;const r=typeof t;return r==="string"||r==="number"||r==="boolean"}function VF(t){return!!t.__v_isRef}function c1e(t){return VF(t)&&!!t.effect}function u1e(t){return!!t.__v_isReactive}function g1e(t){return!!t.__v_isReadonly}var zv={[Zu]:"undefined",[Cf]:"NaN",[df]:"Infinity",[ff]:"-Infinity"},fp=Object.entries(zv).reduce((t,[r,e])=>(t[e]=r,t),{});function h1e(t){return t===null?"null":typeof t=="string"&&zv[t]||!1}function d1e(t){const r=new RegExp(`"(${Object.keys(zv).join("|")})"`,"g");return t.replace(r,(e,n)=>zv[n])}function f1e(t){const r=fp[t.trim()];if(r)return`"${r}"`;const e=new RegExp(`:\\s*(${Object.keys(fp).join("|")})`,"g");return t.replace(e,(n,i)=>`:"${fp[i]}"`)}function PF(t){if(Array.isArray(t))return t.map(e=>PF(e)).join(" or ");if(t==null)return"null";const r=t.toString().match(a1e);return typeof t=="function"&&r&&r[1]||"any"}function C1e(t){return!l1e(t)&&!Array.isArray(t)&&!tI(t)?Object.prototype.toString.call(t):t}function RF(t){return{ref:VF(t),computed:c1e(t),reactive:u1e(t),readonly:g1e(t)}}function DF(t){return t?.__v_raw?t.__v_raw:t}function Lb(t){return t.replace(/[<>"&]/g,r=>s1e[r]||r)}function Ev(t,r,e){if(typeof r=="function"&&(r=r.options),!r)return t;const{mixins:n,extends:i}=r;i&&Ev(t,i),n&&n.forEach(o=>Ev(t,o));for(const o of["computed","inject"])Object.prototype.hasOwnProperty.call(r,o)&&(t[o]?Object.assign(t[o],r[o]):t[o]=r[o]);return t}function v1e(t){const r=t?.type;if(!r)return{};const{mixins:e,extends:n}=r,i=t.appContext.mixins;if(!i.length&&!e&&!n)return r;const o={};return i.forEach(a=>Ev(o,a)),Ev(o,r),o}function A1e(t){const r=[],e=t.type.props;for(const n in t.props){const i=e?e[n]:null,o=Jne(n);r.push({type:"props",key:o,value:P1(()=>t.props[n]),meta:i?{type:i.type?PF(i.type):"any",required:!!i.required,...i.default?{default:i.default.toString()}:{}}:{type:"invalid"}})}return r}function I1e(t){const r=t.type,e=r.props,n=r.vuex&&r.vuex.getters,i=r.computed,o={...t.data,...t.renderContext};return Object.keys(o).filter(a=>!(e&&a in e)&&!(n&&a in n)&&!(i&&a in i)).map(a=>({key:a,type:"data",value:P1(()=>o[a]),editable:!0}))}function p1e(t){const r=t.computed?"computed":t.ref?"ref":t.reactive?"reactive":null,e=r?`${r.charAt(0).toUpperCase()}${r.slice(1)}`:null;return{stateType:r,stateTypeName:e}}function m1e(t){const r=t.devtoolsRawSetupState||{};return Object.keys(t.setupState).filter(e=>!i1e.has(e)&&e.split(/(?=[A-Z])/)[0]!=="use").map(e=>{var n,i,o,a;const s=P1(()=>DF(t.setupState[e])),l=r[e];let c,u=typeof s=="function"||no(s,"render")&&typeof s.render=="function"||no(s,"__asyncLoader")&&typeof s.__asyncLoader=="function"||typeof s=="object"&&s&&("setup"in s||"props"in s)||/^v[A-Z]/.test(e);if(l){const h=RF(l),{stateType:d,stateTypeName:f}=p1e(h),C=h.ref||h.computed||h.reactive,v=no(l,"effect")?((i=(n=l.effect)==null?void 0:n.raw)==null?void 0:i.toString())||((a=(o=l.effect)==null?void 0:o.fn)==null?void 0:a.toString()):null;d&&(u=!1),c={...d?{stateType:d,stateTypeName:f}:{},...v?{raw:v}:{},editable:C&&!h.readonly}}return{key:e,value:s,type:u?"setup (other)":"setup",...c}})}function y1e(t,r){const e=r,n=[],i=e.computed||{};for(const o in i){const a=i[o],s=typeof a=="function"&&a.vuex?"vuex bindings":"computed";n.push({type:s,key:o,value:P1(()=>{var l;return(l=t?.proxy)==null?void 0:l[o]}),editable:typeof a.set=="function"})}return n}function b1e(t){return Object.keys(t.attrs).map(r=>({type:"attrs",key:r,value:P1(()=>t.attrs[r])}))}function w1e(t){return Reflect.ownKeys(t.provides).map(r=>({type:"provided",key:r.toString(),value:P1(()=>t.provides[r])}))}function $1e(t,r){if(!r?.inject)return[];let e=[],n;return Array.isArray(r.inject)?e=r.inject.map(i=>({key:i,originalKey:i})):e=Reflect.ownKeys(r.inject).map(i=>{const o=r.inject[i];let a;return typeof o=="string"||typeof o=="symbol"?a=o:(a=o.from,n=o.default),{key:i,originalKey:a}}),e.map(({key:i,originalKey:o})=>({type:"injected",key:o&&i!==o?`${o.toString()} ➞ ${i.toString()}`:i.toString(),value:P1(()=>t.ctx.hasOwnProperty(i)?t.ctx[i]:t.provides.hasOwnProperty(o)?t.provides[o]:n)}))}function _1e(t){return Object.keys(t.refs).map(r=>({type:"template refs",key:r,value:P1(()=>t.refs[r])}))}function M1e(t){var r,e;const n=t.type.emits,i=Array.isArray(n)?n:Object.keys(n??{}),o=Object.keys((e=(r=t?.vnode)==null?void 0:r.props)!=null?e:{}),a=[];for(const s of o){const[l,...c]=s.split(/(?=[A-Z])/);if(l==="on"){const u=c.join("-").toLowerCase(),g=i.includes(u);a.push({type:"event listeners",key:u,value:{_custom:{displayText:g?"✅ Declared":"⚠️ Not declared",key:g?"✅ Declared":"⚠️ Not declared",value:g?"✅ Declared":"⚠️ Not declared",tooltipText:g?null:`The event <code>${u}</code> is not declared in the <code>emits</code> option. It will leak into the component's attributes (<code>$attrs</code>).`}}})}}return a}function NF(t){const r=v1e(t);return A1e(t).concat(I1e(t),m1e(t),y1e(t,r),b1e(t),w1e(t),$1e(t,r),_1e(t),M1e(t))}function z1e(t){var r;const e=lu(Pt.value,t.instanceId),n=mF(e),i=Uo(e),o=(r=e?.type)==null?void 0:r.__file,a=NF(e);return{id:n,name:i,file:o,state:a,instance:e}}se();se();var E1e=class{constructor(t){this.filter=t||""}isQualified(t){const r=Uo(t);return BN(r).toLowerCase().includes(this.filter)||eie(r).toLowerCase().includes(this.filter)}};function S1e(t){return new E1e(t)}var T1e=class{constructor(t){this.captureIds=new Map;const{filterText:r="",maxDepth:e,recursively:n,api:i}=t;this.componentFilter=S1e(r),this.maxDepth=e,this.recursively=n,this.api=i}getComponentTree(t){return this.captureIds=new Map,this.findQualifiedChildren(t,0)}getComponentParents(t){this.captureIds=new Map;const r=[];this.captureId(t);let e=t;for(;e=e.parent;)this.captureId(e),r.push(e);return r}captureId(t){if(!t)return null;const r=t.__VUE_DEVTOOLS_NEXT_UID__!=null?t.__VUE_DEVTOOLS_NEXT_UID__:mF(t);return t.__VUE_DEVTOOLS_NEXT_UID__=r,this.captureIds.has(r)?null:(this.captureIds.set(r,void 0),this.mark(t),r)}async capture(t,r){var e;if(!t)return null;const n=this.captureId(t),i=Uo(t),o=this.getInternalInstanceChildren(t.subTree).filter(g=>!dp(g)),a=this.getComponentParents(t)||[],s=!!t.isDeactivated||a.some(g=>g.isDeactivated),l={uid:t.uid,id:n,name:i,renderKey:fse(t.vnode?t.vnode.key:null),inactive:s,children:[],isFragment:wb(t),tags:typeof t.type!="function"?[]:[{label:"functional",textColor:5592405,backgroundColor:15658734}],autoOpen:this.recursively,file:t.type.__file||""};if((r<this.maxDepth||t.type.__isKeepAlive||a.some(g=>g.type.__isKeepAlive))&&(l.children=await Promise.all(o.map(g=>this.capture(g,r+1)).filter(Boolean))),this.isKeepAlive(t)){const g=this.getKeepAliveCachedInstances(t),h=o.map(d=>d.__VUE_DEVTOOLS_NEXT_UID__);for(const d of g)if(!h.includes(d.__VUE_DEVTOOLS_NEXT_UID__)){const f=await this.capture({...d,isDeactivated:!0},r+1);f&&l.children.push(f)}}const u=ud(t)[0];if(u?.parentElement){const g=t.parent,h=g?ud(g):[];let d=u;const f=[];do f.push(Array.from(d.parentElement.childNodes).indexOf(d)),d=d.parentElement;while(d.parentElement&&h.length&&!h.includes(d));l.domOrder=f.reverse()}else l.domOrder=[-1];return(e=t.suspense)!=null&&e.suspenseKey&&(l.tags.push({label:t.suspense.suspenseKey,backgroundColor:14979812,textColor:16777215}),this.mark(t,!0)),this.api.visitComponentTree({treeNode:l,componentInstance:t,app:t.appContext.app,filter:this.componentFilter.filter}),l}async findQualifiedChildren(t,r){var e;if(this.componentFilter.isQualified(t)&&!((e=t.type.devtools)!=null&&e.hide))return[await this.capture(t,r)];if(t.subTree){const n=this.isKeepAlive(t)?this.getKeepAliveCachedInstances(t):this.getInternalInstanceChildren(t.subTree);return this.findQualifiedChildrenFromList(n,r)}else return[]}async findQualifiedChildrenFromList(t,r){return t=t.filter(e=>{var n;return!dp(e)&&!((n=e.type.devtools)!=null&&n.hide)}),this.componentFilter.filter?Array.prototype.concat.apply([],await Promise.all(t.map(e=>this.findQualifiedChildren(e,r)))):Promise.all(t.map(e=>this.capture(e,r)))}getInternalInstanceChildren(t,r=null){const e=[];if(t)if(t.component)r?e.push({...t.component,suspense:r}):e.push(t.component);else if(t.suspense){const n=t.suspense.isInFallback?"suspense fallback":"suspense default";e.push(...this.getInternalInstanceChildren(t.suspense.activeBranch,{...t.suspense,suspenseKey:n}))}else Array.isArray(t.children)&&t.children.forEach(n=>{n.component?r?e.push({...n.component,suspense:r}):e.push(n.component):e.push(...this.getInternalInstanceChildren(n,r))});return e.filter(n=>{var i;return!dp(n)&&!((i=n.type.devtools)!=null&&i.hide)})}mark(t,r=!1){const e=Lo(t).instanceMap;(r||!e.has(t.__VUE_DEVTOOLS_NEXT_UID__))&&(e.set(t.__VUE_DEVTOOLS_NEXT_UID__,t),Pt.value.instanceMap=e)}isKeepAlive(t){return t.type.__isKeepAlive&&t.__v_cache}getKeepAliveCachedInstances(t){return Array.from(t.__v_cache.values()).map(r=>r.component).filter(Boolean)}};se();se();var S5=new Map,kb="performance";async function L1e(t,r,e,n,i,o){const a=await Lo(r);if(!a)return;const s=Uo(n)||"Unknown Component",l=$t.perfUniqueGroupId++,c=`${e}-${i}`;if(a.perfGroupIds.set(c,{groupId:l,time:o}),await t.addTimelineEvent({layerId:kb,event:{time:Date.now(),data:{component:s,type:i,measure:"start"},title:s,subtitle:i,groupId:l}}),S5.has(c)){const{app:u,uid:g,instance:h,type:d,time:f}=S5.get(c);S5.delete(c),await BF(t,u,g,h,d,f)}}function BF(t,r,e,n,i,o){const a=Lo(r);if(!a)return;const s=Uo(n)||"Unknown Component",l=`${e}-${i}`,c=a.perfGroupIds.get(l);if(c){const u=c.groupId,g=c.time,h=o-g;t.addTimelineEvent({layerId:kb,event:{time:Date.now(),data:{component:s,type:i,measure:"end",duration:{_custom:{type:"Duration",value:h,display:`${h} ms`}}},title:s,subtitle:i,groupId:u}})}else S5.set(l,{app:r,uid:e,instance:n,type:i,time:o})}var Oz="component-event";function k1e(t){Uu&&(t.addTimelineLayer({id:"mouse",label:"Mouse",color:10768815}),["mousedown","mouseup","click","dblclick"].forEach(r=>{!$t.timelineLayersState.recordingState||!$t.timelineLayersState.mouseEventEnabled||window.addEventListener(r,async e=>{await t.addTimelineEvent({layerId:"mouse",event:{time:Date.now(),data:{type:r,x:e.clientX,y:e.clientY},title:r}})},{capture:!0,passive:!0})}),t.addTimelineLayer({id:"keyboard",label:"Keyboard",color:8475055}),["keyup","keydown","keypress"].forEach(r=>{window.addEventListener(r,async e=>{!$t.timelineLayersState.recordingState||!$t.timelineLayersState.keyboardEventEnabled||await t.addTimelineEvent({layerId:"keyboard",event:{time:Date.now(),data:{type:r,key:e.key,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey},title:e.key}})},{capture:!0,passive:!0})}),t.addTimelineLayer({id:Oz,label:"Component events",color:5226637}),so.on.componentEmit(async(r,e,n,i)=>{if(!$t.timelineLayersState.recordingState||!$t.timelineLayersState.componentEventEnabled)return;const o=await Lo(r);if(!o)return;const a=`${o.id}:${e.uid}`,s=Uo(e)||"Unknown Component";t.addTimelineEvent({layerId:Oz,event:{time:Date.now(),data:{component:{_custom:{type:"component-definition",display:s}},event:n,params:i},title:n,subtitle:`by ${s}`,meta:{componentId:a}}})}),t.addTimelineLayer({id:"performance",label:kb,color:4307050}),so.on.perfStart((r,e,n,i,o)=>{!$t.timelineLayersState.recordingState||!$t.timelineLayersState.performanceEventEnabled||L1e(t,r,e,n,i,o)}),so.on.perfEnd((r,e,n,i,o)=>{!$t.timelineLayersState.recordingState||!$t.timelineLayersState.performanceEventEnabled||BF(t,r,e,n,i,o)}))}se();var O1e=10,cl=[];function x1e(t){if(typeof window>"u")return;const r=window;if(t&&(r.$vm=t,cl[0]!==t)){cl.length>=O1e&&cl.pop();for(let e=cl.length;e>0;e--)r[`$vm${e}`]=cl[e]=cl[e-1];r.$vm0=cl[0]=t}}var ul="components";function H1e(t){return[{id:ul,label:"Components",app:t},n=>{n.addInspector({id:ul,label:"Components",treeFilterPlaceholder:"Search components"}),k1e(n),n.on.getInspectorTree(async a=>{if(a.app===t&&a.inspectorId===ul){const s=lu(Pt.value,a.instanceId);if(s){const l=new T1e({filterText:a.filter,maxDepth:100,recursively:!1,api:n});a.rootNodes=await l.getComponentTree(s)}}}),n.on.getInspectorState(async a=>{var s;if(a.app===t&&a.inspectorId===ul){const l=z1e({instanceId:a.nodeId}),c=l.instance,u=(s=l.instance)==null?void 0:s.appContext.app,g={componentInstance:c,app:u,instanceData:l};ba.hooks.callHookWith(h=>{h.forEach(d=>d(g))},"inspectComponent"),a.state=l,x1e(c)}}),n.on.editInspectorState(async a=>{a.app===t&&a.inspectorId===ul&&(Ise(a),await n.sendInspectorState("components"))});const i=as(()=>{n.sendInspectorTree(ul)},120),o=as(()=>{n.sendInspectorState(ul)},120);so.on.componentAdded(async(a,s,l,c)=>{var u,g,h;if($t.highPerfModeEnabled||(h=(g=(u=a?._instance)==null?void 0:u.type)==null?void 0:g.devtools)!=null&&h.hide||!a||typeof s!="number"&&!s||!c)return;const d=await E5({app:a,uid:s,instance:c}),f=await Lo(a);c&&(c.__VUE_DEVTOOLS_NEXT_UID__==null&&(c.__VUE_DEVTOOLS_NEXT_UID__=d),f?.instanceMap.has(d)||(f?.instanceMap.set(d,c),Pt.value.id===f?.id&&(Pt.value.instanceMap=f.instanceMap))),f&&i()}),so.on.componentUpdated(async(a,s,l,c)=>{var u,g,h;if($t.highPerfModeEnabled||(h=(g=(u=a?._instance)==null?void 0:u.type)==null?void 0:g.devtools)!=null&&h.hide||!a||typeof s!="number"&&!s||!c)return;const d=await E5({app:a,uid:s,instance:c}),f=await Lo(a);c&&(c.__VUE_DEVTOOLS_NEXT_UID__==null&&(c.__VUE_DEVTOOLS_NEXT_UID__=d),f?.instanceMap.has(d)||(f?.instanceMap.set(d,c),Pt.value.id===f?.id&&(Pt.value.instanceMap=f.instanceMap))),f&&(i(),o())}),so.on.componentRemoved(async(a,s,l,c)=>{var u,g,h;if($t.highPerfModeEnabled||(h=(g=(u=a?._instance)==null?void 0:u.type)==null?void 0:g.devtools)!=null&&h.hide||!a||typeof s!="number"&&!s||!c)return;const d=await Lo(a);if(!d)return;const f=await E5({app:a,uid:s,instance:c});d?.instanceMap.delete(f),Pt.value.id===d?.id&&(Pt.value.instanceMap=d.instanceMap),i()})}]}var xz,Hz;(Hz=(xz=ae).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__)!=null||(xz.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__=new Set);function V1e(t,r){return so.setupDevToolsPlugin(t,r)}function FF(t,r){const[e,n]=t;if(e.app!==r)return;const i=new n1e({plugin:{setupFn:n,descriptor:e},ctx:ba});e.packageName==="vuex"&&i.on.editInspectorState(o=>{i.sendInspectorState(o.inspectorId)}),n(i)}function P1e(t){ae.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.delete(t)}function jF(t){ae.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(t)||(ae.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(t),hf.forEach(r=>{FF(r,t)}))}se();se();var gd="__VUE_DEVTOOLS_ROUTER__",cu="__VUE_DEVTOOLS_ROUTER_INFO__",Vz,Pz;(Pz=(Vz=ae)[cu])!=null||(Vz[cu]={currentRoute:null,routes:[]});var Rz,Dz;(Dz=(Rz=ae)[gd])!=null||(Rz[gd]={});var R1e=new Proxy(ae[cu],{get(t,r){return ae[cu][r]}}),Nz=new Proxy(ae[gd],{get(t,r){if(r==="value")return ae[gd]}});function D1e(t){const r=new Map;return(t?.getRoutes()||[]).filter(e=>!r.has(e.path)&&r.set(e.path,1))}function Ob(t){return t.map(r=>{let{path:e,name:n,children:i,meta:o}=r;return i?.length&&(i=Ob(i)),{path:e,name:n,children:i,meta:o}})}function N1e(t){if(t){const{fullPath:r,hash:e,href:n,path:i,name:o,matched:a,params:s,query:l}=t;return{fullPath:r,hash:e,href:n,path:i,name:o,params:s,query:l,matched:Ob(a)}}return t}function UF(t,r){function e(){var n;const i=(n=t.app)==null?void 0:n.config.globalProperties.$router,o=N1e(i?.currentRoute.value),a=Ob(D1e(i)),s=console.warn;console.warn=()=>{},ae[cu]={currentRoute:o?Cv(o):{},routes:Cv(a)},ae[gd]=i,console.warn=s}e(),so.on.componentUpdated(as(()=>{var n;((n=r.value)==null?void 0:n.app)===t.app&&(e(),!$t.highPerfModeEnabled&&ba.hooks.callHook("routerInfoUpdated",{state:ae[cu]}))},200))}function B1e(t){return{async getInspectorTree(r){const e={...r,app:Pt.value.app,rootNodes:[]};return await new Promise(n=>{t.callHookWith(async i=>{await Promise.all(i.map(o=>o(e))),n()},"getInspectorTree")}),e.rootNodes},async getInspectorState(r){const e={...r,app:Pt.value.app,state:null},n={currentTab:`custom-inspector:${r.inspectorId}`};return await new Promise(i=>{t.callHookWith(async o=>{await Promise.all(o.map(a=>a(e,n))),i()},"getInspectorState")}),e.state},editInspectorState(r){const e=new yF,n={...r,app:Pt.value.app,set:(i,o=r.path,a=r.state.value,s)=>{e.set(i,o,a,s||e.createDefaultSetCallback(r.state))}};t.callHookWith(i=>{i.forEach(o=>o(n))},"editInspectorState")},sendInspectorState(r){const e=o1(r);t.callHook("sendInspectorState",{inspectorId:r,plugin:{descriptor:e.descriptor,setupFn:()=>({})}})},inspectComponentInspector(){return kse()},cancelInspectComponentInspector(){return Lse()},getComponentRenderCode(r){const e=lu(Pt.value,r);if(e)return e?.type instanceof Function?e.type.toString():e.render.toString()},scrollToComponent(r){return Ose({id:r})},openInEditor:Xse,getVueInspector:Vse,toggleApp(r){const e=_1.value.find(n=>n.id===r);e&&(kF(r),W6(e),UF(e,Pt),TF(),jF(e.app))},inspectDOM(r){const e=lu(Pt.value,r);if(e){const[n]=ud(e);n&&(ae.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__=n)}},updatePluginSettings(r,e,n){Jse(r,e,n)},getPluginSettings(r){return{options:Qse(r),values:OF(r)}}}}se();var Bz,Fz;(Fz=(Bz=ae).__VUE_DEVTOOLS_ENV__)!=null||(Bz.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});function F1e(){return ae.__VUE_DEVTOOLS_ENV__}var jz=jse(),Uz,Gz;(Gz=(Uz=ae).__VUE_DEVTOOLS_KIT_CONTEXT__)!=null||(Uz.__VUE_DEVTOOLS_KIT_CONTEXT__={hooks:jz,get state(){return{...$t,activeAppRecordId:Pt.id,activeAppRecord:Pt.value,appRecords:_1.value}},api:B1e(jz)});var ba=ae.__VUE_DEVTOOLS_KIT_CONTEXT__;se();var j1e=sse(cse()),Wz,Zz,qs=(Zz=(Wz=ae).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__)!=null?Zz:Wz.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__={id:0,appIds:new Set};function U1e(t,r){var e;return((e=t?._component)==null?void 0:e.name)||`App ${r}`}function G1e(t){var r,e,n,i;if(t._instance)return t._instance;if((e=(r=t._container)==null?void 0:r._vnode)!=null&&e.component)return(i=(n=t._container)==null?void 0:n._vnode)==null?void 0:i.component}function W1e(t){const r=t.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__;r!=null&&(qs.appIds.delete(r),qs.id--)}function Z1e(t,r){if(t.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__!=null)return t.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__;let e=r??(qs.id++).toString();if(r&&qs.appIds.has(e)){let n=1;for(;qs.appIds.has(`${r}_${n}`);)n++;e=`${r}_${n}`}return qs.appIds.add(e),t.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__=e,e}function K1e(t,r){const e=G1e(t);if(e){qs.id++;const n=U1e(t,qs.id.toString()),o={id:Z1e(t,(0,j1e.default)(n)),name:n,types:r,instanceMap:new Map,perfGroupIds:new Map,rootInstance:e};t.__VUE_DEVTOOLS_NEXT_APP_RECORD__=o;const a=`${o.id}:root`;return o.instanceMap.set(a,o.rootInstance),o.rootInstance.__VUE_DEVTOOLS_NEXT_UID__=a,o}else return{}}function Y1e(){var t;zh({vitePluginDetected:F1e().vitePluginDetected});const r=((t=ae.__VUE_DEVTOOLS_GLOBAL_HOOK__)==null?void 0:t.id)==="vue-devtools-next";ae.__VUE_DEVTOOLS_GLOBAL_HOOK__&&r||(ae.__VUE_DEVTOOLS_GLOBAL_HOOK__?Kne||Object.assign(__VUE_DEVTOOLS_GLOBAL_HOOK__,Sz()):ae.__VUE_DEVTOOLS_GLOBAL_HOOK__=Sz(),ae.__VUE_DEVTOOLS_GLOBAL_HOOK__.once("init",e=>{ae.__VUE_DEVTOOLS_VUE2_APP_DETECTED__=!0,console.log("%c[_____Vue DevTools v7 log_____]","color: red; font-bold: 600; font-size: 16px;"),console.log("%cVue DevTools v7 detected in your Vue2 project. v7 only supports Vue3 and will not work.","font-bold: 500; font-size: 14px;"),console.log("%cThe legacy version that supports both Vue 2 and Vue 3 has been moved to %c https://chromewebstore.google.com/detail/vuejs-devtools/iaajmlceplecbljialhhkmedjlpdblhp","font-size: 14px;","text-decoration: underline; cursor: pointer;font-size: 14px;"),console.log("%cPlease install and enable only the legacy version for your Vue2 app.","font-bold: 500; font-size: 14px;"),console.log("%c[_____Vue DevTools v7 log_____]","color: red; font-bold: 600; font-size: 16px;")}),so.on.setupDevtoolsPlugin((e,n)=>{var i;qse(e,n);const{app:o}=(i=Pt)!=null?i:{};e.settings&&xF(e.id,e.settings),o&&FF([e,n],o)}),use(()=>{hf.filter(([n])=>n.id!=="components").forEach(([n,i])=>{ae.__VUE_DEVTOOLS_GLOBAL_HOOK__.emit("devtools-plugin:setup",n,i,{target:"legacy"})})}),so.on.vueAppInit(async(e,n,i)=>{const a={...K1e(e,i),app:e,version:n};Zse(a),_1.value.length===1&&(W6(a),kF(a.id),UF(a,Pt),jF(a.app)),V1e(...H1e(a.app)),zh({connected:!0}),ae.__VUE_DEVTOOLS_GLOBAL_HOOK__.apps.push(e)}),so.on.vueAppUnmount(async e=>{const n=_1.value.filter(i=>i.app!==e);n.length===0&&zh({connected:!1}),Kse(e),W1e(e),Pt.value.app===e&&(W6(n[0]),ba.hooks.callHook("sendActiveAppUpdatedToClient")),ae.__VUE_DEVTOOLS_GLOBAL_HOOK__.apps.splice(ae.__VUE_DEVTOOLS_GLOBAL_HOOK__.apps.indexOf(e),1),P1e(e)}),t1e())}se();function X1e(t){$t.highPerfModeEnabled=t??!$t.highPerfModeEnabled}se();se();function q1e(t){const r=new Set,e=t._custom.value;for(let n=0;n<e.length;n++){const i=e[n];r.add(rI(i))}return r}function Q1e(t){const r=new Map,e=t._custom.value;for(let n=0;n<e.length;n++){const{key:i,value:o}=e[n];r.set(i,rI(o))}return r}function rI(t){if(t!==Zu){if(t===df)return Number.POSITIVE_INFINITY;if(t===ff)return Number.NEGATIVE_INFINITY;if(t===Cf)return Number.NaN;if(t&&t._custom){const{_custom:r}=t;return r.type==="component"?Pt.value.instanceMap.get(r.id):r.type==="map"?Q1e(t):r.type==="set"?q1e(t):r.type==="bigint"?BigInt(r.value):rI(r.value)}else if(Tz.test(t)){const[,r]=Tz.exec(t);return Symbol.for(r)}else if(Mv.test(t)){const[,r,e,,n]=Mv.exec(t),i=new ae[r](e);return r==="Error"&&n&&(i.stack=n),i}else return t}}function GF(t,r){return rI(r)}function hd(t,r=!0){const e=typeof t;if(t==null||t===Zu||t==="undefined")return"null";if(e==="boolean"||e==="number"||t===df||t===ff||t===Cf)return"literal";if(t?._custom)return r||t._custom.display!=null||t._custom.displayText!=null?"custom":hd(t._custom.value);if(typeof t=="string"){const n=Mv.exec(t);if(n){const[,i]=n;return`native ${i}`}else return"string"}else return Array.isArray(t)||t?._isArray?"array":tI(t)?"plain-object":"unknown"}function WF(t,r=!1,e){var n,i,o;const{customClass:a}=e??{};let s;const l=hd(t,!1);if(l!=="custom"&&t?._custom&&(t=t._custom.value),s=h1e(t))return s;if(l==="custom")return((n=t._custom.value)==null?void 0:n._custom)&&WF(t._custom.value,r,e)||t._custom.displayText||t._custom.display;if(l==="array")return`Array[${t.length}]`;if(l==="plain-object")return`Object${Object.keys(t).length?"":" (empty)"}`;if(l?.includes("native"))return Lb((i=Mv.exec(t))==null?void 0:i[2]);if(typeof t=="string"){const c=t.match(o1e);c?t=Wg(c[1]):r?t=`<span>"</span>${a?.string?`<span class=${a.string}>${Wg(t)}</span>`:Wg(t)}<span>"</span>`:t=a?.string?`<span class="${(o=a?.string)!=null?o:""}">${Wg(t)}</span>`:Wg(t)}return t}function Wg(t){return Lb(t).replace(/ /g," ").replace(/\n/g,"<span>\\n</span>")}function xb(t){var r,e,n;let i;const o=hd(t)==="custom";let a={};if(o){const s=t,l=(r=s._custom)==null?void 0:r.value,c=(e=s._custom)==null?void 0:e.type,u=typeof l=="object"&&l!==null&&"_custom"in l?xb(l):{inherit:void 0,value:void 0,customType:void 0};a=u.inherit||((n=s._custom)==null?void 0:n.fields)||{},t=u.value||l,i=u.customType||c}return t&&t._isArray&&(t=t.items),{value:t,inherit:a,customType:i}}function J1e(t,r){return r==="bigint"||r==="date"?t:d1e(JSON.stringify(t))}function T5(t,r){return r==="bigint"?BigInt(t):r==="date"?new Date(t):JSON.parse(f1e(t),GF)}se();function ZF(t){$t.devtoolsClientDetected={...$t.devtoolsClientDetected,...t};const r=Object.values($t.devtoolsClientDetected).some(Boolean);X1e(!r)}var Kz,Yz;(Yz=(Kz=ae).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__)!=null||(Kz.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__=ZF);se();se();se();se();se();se();se();var ele=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(t,r){this.keyToValue.set(t,r),this.valueToKey.set(r,t)}getByKey(t){return this.keyToValue.get(t)}getByValue(t){return this.valueToKey.get(t)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},KF=class{constructor(r){this.generateIdentifier=r,this.kv=new ele}register(r,e){this.kv.getByValue(r)||(e||(e=this.generateIdentifier(r)),this.kv.set(e,r))}clear(){this.kv.clear()}getIdentifier(r){return this.kv.getByValue(r)}getValue(r){return this.kv.getByKey(r)}},tle=class extends KF{constructor(){super(t=>t.name),this.classToAllowedProps=new Map}register(t,r){typeof r=="object"?(r.allowProps&&this.classToAllowedProps.set(t,r.allowProps),super.register(t,r.identifier)):super.register(t,r)}getAllowedProps(t){return this.classToAllowedProps.get(t)}};se();se();function rle(t){if("values"in Object)return Object.values(t);const r=[];for(const e in t)t.hasOwnProperty(e)&&r.push(t[e]);return r}function nle(t,r){const e=rle(t);if("find"in e)return e.find(r);const n=e;for(let i=0;i<n.length;i++){const o=n[i];if(r(o))return o}}function uu(t,r){Object.entries(t).forEach(([e,n])=>r(n,e))}function L5(t,r){return t.indexOf(r)!==-1}function Xz(t,r){for(let e=0;e<t.length;e++){const n=t[e];if(r(n))return n}}var ile=class{constructor(){this.transfomers={}}register(t){this.transfomers[t.name]=t}findApplicable(t){return nle(this.transfomers,r=>r.isApplicable(t))}findByName(t){return this.transfomers[t]}};se();se();var ole=t=>Object.prototype.toString.call(t).slice(8,-1),YF=t=>typeof t>"u",ale=t=>t===null,dd=t=>typeof t!="object"||t===null||t===Object.prototype?!1:Object.getPrototypeOf(t)===null?!0:Object.getPrototypeOf(t)===Object.prototype,K6=t=>dd(t)&&Object.keys(t).length===0,M1=t=>Array.isArray(t),sle=t=>typeof t=="string",lle=t=>typeof t=="number"&&!isNaN(t),cle=t=>typeof t=="boolean",ule=t=>t instanceof RegExp,fd=t=>t instanceof Map,Cd=t=>t instanceof Set,XF=t=>ole(t)==="Symbol",gle=t=>t instanceof Date&&!isNaN(t.valueOf()),hle=t=>t instanceof Error,qz=t=>typeof t=="number"&&isNaN(t),dle=t=>cle(t)||ale(t)||YF(t)||lle(t)||sle(t)||XF(t),fle=t=>typeof t=="bigint",Cle=t=>t===1/0||t===-1/0,vle=t=>ArrayBuffer.isView(t)&&!(t instanceof DataView),Ale=t=>t instanceof URL;se();var qF=t=>t.replace(/\./g,"\\."),Cp=t=>t.map(String).map(qF).join("."),Eh=t=>{const r=[];let e="";for(let i=0;i<t.length;i++){let o=t.charAt(i);if(o==="\\"&&t.charAt(i+1)==="."){e+=".",i++;continue}if(o==="."){r.push(e),e="";continue}e+=o}const n=e;return r.push(n),r};se();function Ko(t,r,e,n){return{isApplicable:t,annotation:r,transform:e,untransform:n}}var QF=[Ko(YF,"undefined",()=>null,()=>{}),Ko(fle,"bigint",t=>t.toString(),t=>typeof BigInt<"u"?BigInt(t):(console.error("Please add a BigInt polyfill."),t)),Ko(gle,"Date",t=>t.toISOString(),t=>new Date(t)),Ko(hle,"Error",(t,r)=>{const e={name:t.name,message:t.message};return r.allowedErrorProps.forEach(n=>{e[n]=t[n]}),e},(t,r)=>{const e=new Error(t.message);return e.name=t.name,e.stack=t.stack,r.allowedErrorProps.forEach(n=>{e[n]=t[n]}),e}),Ko(ule,"regexp",t=>""+t,t=>{const r=t.slice(1,t.lastIndexOf("/")),e=t.slice(t.lastIndexOf("/")+1);return new RegExp(r,e)}),Ko(Cd,"set",t=>[...t.values()],t=>new Set(t)),Ko(fd,"map",t=>[...t.entries()],t=>new Map(t)),Ko(t=>qz(t)||Cle(t),"number",t=>qz(t)?"NaN":t>0?"Infinity":"-Infinity",Number),Ko(t=>t===0&&1/t===-1/0,"number",()=>"-0",Number),Ko(Ale,"URL",t=>t.toString(),t=>new URL(t))];function nI(t,r,e,n){return{isApplicable:t,annotation:r,transform:e,untransform:n}}var JF=nI((t,r)=>XF(t)?!!r.symbolRegistry.getIdentifier(t):!1,(t,r)=>["symbol",r.symbolRegistry.getIdentifier(t)],t=>t.description,(t,r,e)=>{const n=e.symbolRegistry.getValue(r[1]);if(!n)throw new Error("Trying to deserialize unknown symbol");return n}),Ile=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((t,r)=>(t[r.name]=r,t),{}),ej=nI(vle,t=>["typed-array",t.constructor.name],t=>[...t],(t,r)=>{const e=Ile[r[1]];if(!e)throw new Error("Trying to deserialize unknown typed array");return new e(t)});function tj(t,r){return t?.constructor?!!r.classRegistry.getIdentifier(t.constructor):!1}var rj=nI(tj,(t,r)=>["class",r.classRegistry.getIdentifier(t.constructor)],(t,r)=>{const e=r.classRegistry.getAllowedProps(t.constructor);if(!e)return{...t};const n={};return e.forEach(i=>{n[i]=t[i]}),n},(t,r,e)=>{const n=e.classRegistry.getValue(r[1]);if(!n)throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(n.prototype),t)}),nj=nI((t,r)=>!!r.customTransformerRegistry.findApplicable(t),(t,r)=>["custom",r.customTransformerRegistry.findApplicable(t).name],(t,r)=>r.customTransformerRegistry.findApplicable(t).serialize(t),(t,r,e)=>{const n=e.customTransformerRegistry.findByName(r[1]);if(!n)throw new Error("Trying to deserialize unknown custom value");return n.deserialize(t)}),ple=[rj,JF,nj,ej],Qz=(t,r)=>{const e=Xz(ple,i=>i.isApplicable(t,r));if(e)return{value:e.transform(t,r),type:e.annotation(t,r)};const n=Xz(QF,i=>i.isApplicable(t,r));if(n)return{value:n.transform(t,r),type:n.annotation}},ij={};QF.forEach(t=>{ij[t.annotation]=t});var mle=(t,r,e)=>{if(M1(r))switch(r[0]){case"symbol":return JF.untransform(t,r,e);case"class":return rj.untransform(t,r,e);case"custom":return nj.untransform(t,r,e);case"typed-array":return ej.untransform(t,r,e);default:throw new Error("Unknown transformation: "+r)}else{const n=ij[r];if(!n)throw new Error("Unknown transformation: "+r);return n.untransform(t,e)}};se();var I2=(t,r)=>{const e=t.keys();for(;r>0;)e.next(),r--;return e.next().value};function oj(t){if(L5(t,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(L5(t,"prototype"))throw new Error("prototype is not allowed as a property");if(L5(t,"constructor"))throw new Error("constructor is not allowed as a property")}var yle=(t,r)=>{oj(r);for(let e=0;e<r.length;e++){const n=r[e];if(Cd(t))t=I2(t,+n);else if(fd(t)){const i=+n,o=+r[++e]==0?"key":"value",a=I2(t,i);switch(o){case"key":t=a;break;case"value":t=t.get(a);break}}else t=t[n]}return t},Y6=(t,r,e)=>{if(oj(r),r.length===0)return e(t);let n=t;for(let o=0;o<r.length-1;o++){const a=r[o];if(M1(n)){const s=+a;n=n[s]}else if(dd(n))n=n[a];else if(Cd(n)){const s=+a;n=I2(n,s)}else if(fd(n)){if(o===r.length-2)break;const l=+a,c=+r[++o]==0?"key":"value",u=I2(n,l);switch(c){case"key":n=u;break;case"value":n=n.get(u);break}}}const i=r[r.length-1];if(M1(n)?n[+i]=e(n[+i]):dd(n)&&(n[i]=e(n[i])),Cd(n)){const o=I2(n,+i),a=e(o);o!==a&&(n.delete(o),n.add(a))}if(fd(n)){const o=+r[r.length-2],a=I2(n,o);switch(+i==0?"key":"value"){case"key":{const l=e(a);n.set(l,n.get(a)),l!==a&&n.delete(a);break}case"value":{n.set(a,e(n.get(a)));break}}}return t};function X6(t,r,e=[]){if(!t)return;if(!M1(t)){uu(t,(o,a)=>X6(o,r,[...e,...Eh(a)]));return}const[n,i]=t;i&&uu(i,(o,a)=>{X6(o,r,[...e,...Eh(a)])}),r(n,e)}function ble(t,r,e){return X6(r,(n,i)=>{t=Y6(t,i,o=>mle(o,n,e))}),t}function wle(t,r){function e(n,i){const o=yle(t,Eh(i));n.map(Eh).forEach(a=>{t=Y6(t,a,()=>o)})}if(M1(r)){const[n,i]=r;n.forEach(o=>{t=Y6(t,Eh(o),()=>t)}),i&&uu(i,e)}else uu(r,e);return t}var $le=(t,r)=>dd(t)||M1(t)||fd(t)||Cd(t)||tj(t,r);function _le(t,r,e){const n=e.get(t);n?n.push(r):e.set(t,[r])}function Mle(t,r){const e={};let n;return t.forEach(i=>{if(i.length<=1)return;r||(i=i.map(s=>s.map(String)).sort((s,l)=>s.length-l.length));const[o,...a]=i;o.length===0?n=a.map(Cp):e[Cp(o)]=a.map(Cp)}),n?K6(e)?[n]:[n,e]:K6(e)?void 0:e}var aj=(t,r,e,n,i=[],o=[],a=new Map)=>{var s;const l=dle(t);if(!l){_le(t,i,r);const f=a.get(t);if(f)return n?{transformedValue:null}:f}if(!$le(t,e)){const f=Qz(t,e),C=f?{transformedValue:f.value,annotations:[f.type]}:{transformedValue:t};return l||a.set(t,C),C}if(L5(o,t))return{transformedValue:null};const c=Qz(t,e),u=(s=c?.value)!=null?s:t,g=M1(u)?[]:{},h={};uu(u,(f,C)=>{if(C==="__proto__"||C==="constructor"||C==="prototype")throw new Error(`Detected property ${C}. This is a prototype pollution risk, please remove it from your object.`);const v=aj(f,r,e,n,[...i,C],[...o,t],a);g[C]=v.transformedValue,M1(v.annotations)?h[C]=v.annotations:dd(v.annotations)&&uu(v.annotations,(A,I)=>{h[qF(C)+"."+I]=A})});const d=K6(h)?{transformedValue:g,annotations:c?[c.type]:void 0}:{transformedValue:g,annotations:c?[c.type,h]:h};return l||a.set(t,d),d};se();se();function sj(t){return Object.prototype.toString.call(t).slice(8,-1)}function Jz(t){return sj(t)==="Array"}function zle(t){if(sj(t)!=="Object")return!1;const r=Object.getPrototypeOf(t);return!!r&&r.constructor===Object&&r===Object.prototype}function Ele(t,r,e,n,i){const o={}.propertyIsEnumerable.call(n,r)?"enumerable":"nonenumerable";o==="enumerable"&&(t[r]=e),i&&o==="nonenumerable"&&Object.defineProperty(t,r,{value:e,enumerable:!1,writable:!0,configurable:!0})}function q6(t,r={}){if(Jz(t))return t.map(i=>q6(i,r));if(!zle(t))return t;const e=Object.getOwnPropertyNames(t),n=Object.getOwnPropertySymbols(t);return[...e,...n].reduce((i,o)=>{if(Jz(r.props)&&!r.props.includes(o))return i;const a=t[o],s=q6(a,r);return Ele(i,o,s,t,r.nonenumerable),i},{})}var Ze=class{constructor({dedupe:t=!1}={}){this.classRegistry=new tle,this.symbolRegistry=new KF(r=>{var e;return(e=r.description)!=null?e:""}),this.customTransformerRegistry=new ile,this.allowedErrorProps=[],this.dedupe=t}serialize(t){const r=new Map,e=aj(t,r,this,this.dedupe),n={json:e.transformedValue};e.annotations&&(n.meta={...n.meta,values:e.annotations});const i=Mle(r,this.dedupe);return i&&(n.meta={...n.meta,referentialEqualities:i}),n}deserialize(t){const{json:r,meta:e}=t;let n=q6(r);return e?.values&&(n=ble(n,e.values,this)),e?.referentialEqualities&&(n=wle(n,e.referentialEqualities)),n}stringify(t){return JSON.stringify(this.serialize(t))}parse(t){return this.deserialize(JSON.parse(t))}registerClass(t,r){this.classRegistry.register(t,r)}registerSymbol(t,r){this.symbolRegistry.register(t,r)}registerCustom(t,r){this.customTransformerRegistry.register({name:r,...t})}allowErrorProps(...t){this.allowedErrorProps.push(...t)}};Ze.defaultInstance=new Ze;Ze.serialize=Ze.defaultInstance.serialize.bind(Ze.defaultInstance);Ze.deserialize=Ze.defaultInstance.deserialize.bind(Ze.defaultInstance);Ze.stringify=Ze.defaultInstance.stringify.bind(Ze.defaultInstance);Ze.parse=Ze.defaultInstance.parse.bind(Ze.defaultInstance);Ze.registerClass=Ze.defaultInstance.registerClass.bind(Ze.defaultInstance);Ze.registerSymbol=Ze.defaultInstance.registerSymbol.bind(Ze.defaultInstance);Ze.registerCustom=Ze.defaultInstance.registerCustom.bind(Ze.defaultInstance);Ze.allowErrorProps=Ze.defaultInstance.allowErrorProps.bind(Ze.defaultInstance);Ze.serialize;Ze.deserialize;Ze.stringify;Ze.parse;Ze.registerClass;Ze.registerCustom;Ze.registerSymbol;Ze.allowErrorProps;se();var eE="__devtools-kit-broadcast-messaging-event-key__",Sle="__devtools-kit:broadcast-channel__";function tE(){const t=new BroadcastChannel(Sle);return{post:r=>{t.postMessage(Ze.stringify({event:eE,data:r}))},on:r=>{t.onmessage=e=>{const n=Ze.parse(e.data);n.event===eE&&r(n.data)}}}}se();se();se();var Tle="electron:client-context",Lle="electron:proxy-context",kle="electron:server-context",Qs={CLIENT_TO_PROXY:"client->proxy",PROXY_TO_CLIENT:"proxy->client",PROXY_TO_SERVER:"proxy->server",SERVER_TO_PROXY:"server->proxy"};function Ole(){return ae[Tle]}function xle(){return ae[Lle]}function Hle(){return ae[kle]}function Vle(){const t=Ole();return{post:r=>{t.emit(Qs.CLIENT_TO_PROXY,Ze.stringify(r))},on:r=>{t.on(Qs.PROXY_TO_CLIENT,e=>{r(Ze.parse(e))})}}}se();function Ple(){const t=xle();return{post:r=>{},on:r=>{t.on(Qs.SERVER_TO_PROXY,e=>{t.broadcast.emit(Qs.PROXY_TO_CLIENT,e)}),t.on(Qs.CLIENT_TO_PROXY,e=>{t.broadcast.emit(Qs.PROXY_TO_SERVER,e)})}}}se();function Rle(){const t=Hle();return{post:r=>{t.emit(Qs.SERVER_TO_PROXY,Ze.stringify(r))},on:r=>{t.on(Qs.PROXY_TO_SERVER,e=>{r(Ze.parse(e))})}}}se();se();se();var Dle="electron:client-context",Sv={CLIENT_TO_PROXY:"client->proxy",PROXY_TO_CLIENT:"proxy->client",PROXY_TO_SERVER:"proxy->server",SERVER_TO_PROXY:"server->proxy"};function Nle(t){ae[Dle]=t}function Ble(){let t=!1,r=null,e=null,n=null;function i(){try{clearTimeout(e),r=chrome.runtime.connect({name:`${chrome.devtools.inspectedWindow.tabId}`}),Nle(r),t=!1,r?.onMessage.addListener(n),r.onDisconnect.addListener(()=>{t=!0,r?.onMessage.removeListener(n),e=setTimeout(i,1e3)})}catch{t=!0}}return i(),{post:o=>{t||r?.postMessage(Ze.stringify(o))},on:o=>{n=a=>{t||o(Ze.parse(a))},r?.onMessage.addListener(n)}}}se();function Fle(){const t=chrome.runtime.connect({name:"content-script"});function r(n){window.postMessage({source:Sv.PROXY_TO_SERVER,payload:n},"*")}function e(n){if(n.data&&n.data.source===Sv.SERVER_TO_PROXY)try{t.postMessage(n.data.payload)}catch{}}return t.onMessage.addListener(r),window.addEventListener("message",e),t.onDisconnect.addListener(()=>{window.removeEventListener("message",e),r(Ze.stringify({event:"shutdown"}))}),r(Ze.stringify({event:"init"})),{post:n=>{},on:n=>{}}}se();function jle(){return{post:t=>{window.postMessage({source:Sv.SERVER_TO_PROXY,payload:Ze.stringify(t)},"*")},on:t=>{const r=e=>{e.data.source===Sv.PROXY_TO_SERVER&&e.data.payload&&t(Ze.parse(e.data.payload))};return window.addEventListener("message",r),()=>{window.removeEventListener("message",r)}}}}se();se();se();var Tv="__devtools-kit-iframe-messaging-event-key__",Ule="iframe:server-context";function rE(){return ae[Ule]}function Gle(){return Uu?{post:t=>window.parent.postMessage(Ze.stringify({event:Tv,data:t}),"*"),on:t=>window.addEventListener("message",r=>{try{const e=Ze.parse(r.data);r.source===window.parent&&e.event===Tv&&t(e.data)}catch{}})}:{post:t=>{},on:t=>{}}}se();function Wle(){return Uu?{post:t=>{var r;const e=rE();(r=e?.contentWindow)==null||r.postMessage(Ze.stringify({event:Tv,data:t}),"*")},on:t=>{window.addEventListener("message",r=>{const e=rE();try{const n=Ze.parse(r.data);r.source===e?.contentWindow&&n.event===Tv&&t(n.data)}catch{}})}}:{post:t=>{},on:t=>{}}}se();se();se();var Lv="__devtools-kit-vite-messaging-event-key__",lj="vite:client-context",Zle="vite:server-context";function Kle(){return ae[lj]}function Yle(t){ae[lj]=t}function Xle(){return ae[Zle]}function qle(){const t=Kle();return{post:r=>{t?.send(Lv,Ze.stringify(r))},on:r=>{t?.on(Lv,e=>{r(Ze.parse(e))})}}}se();function Qle(){var t;const r=Xle(),e=(t=r.hot)!=null?t:r.ws;return{post:n=>e?.send(Lv,Ze.stringify(n)),on:n=>e?.on(Lv,i=>{n(Ze.parse(i))})}}se();se();se();se();var nE,iE;(iE=(nE=ae).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__)!=null||(nE.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__=[]);var oE,aE;(aE=(oE=ae).__VUE_DEVTOOLS_KIT_RPC_CLIENT__)!=null||(oE.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=null);var sE,lE;(lE=(sE=ae).__VUE_DEVTOOLS_KIT_RPC_SERVER__)!=null||(sE.__VUE_DEVTOOLS_KIT_RPC_SERVER__=null);var cE,uE;(uE=(cE=ae).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__)!=null||(cE.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=null);var gE,hE;(hE=(gE=ae).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__)!=null||(gE.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__=null);var dE,fE;(fE=(dE=ae).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__)!=null||(dE.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__=null);function Jle(t){ae.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=t}function ece(){return ae.__VUE_DEVTOOLS_KIT_RPC_CLIENT__}function cj(){return ae.__VUE_DEVTOOLS_KIT_RPC_SERVER__}function tce(t){ae.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=t}function rce(){return ae.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__}function nce(t,r="client"){const e={iframe:{client:Gle,server:Wle}[r],electron:{client:Vle,proxy:Ple,server:Rle}[r],vite:{client:qle,server:Qle}[r],broadcast:{client:tE,server:tE}[r],extension:{client:Ble,proxy:Fle,server:jle}[r]}[t];return e()}function Q6(t,r={}){const{channel:e,options:n,preset:i}=r,o=i?nce(i):e,a=Aie(t,{...n,...o,timeout:-1});if(i==="vite"){tce(a);return}return Jle(a),a}se();se();se();se();se();se();function ice(t){let r="",e=null;try{r=Function.prototype.toString.call(t),e=String.prototype.match.call(r,/\([\s\S]*?\)/)}catch{}const n=e&&e[0],i=typeof n=="string"?n:"(?)",o=typeof t.name=="string"?t.name:"";return{_custom:{type:"function",displayText:`<span style="opacity:.5;margin-right:5px;">function</span> <span style="white-space:nowrap;">${Lb(o)}${i}</span>`,tooltipText:r.trim()?`<pre>${r}</pre>`:null}}}function oce(t){const r=BigInt.prototype.toString.call(t);return{_custom:{type:"bigint",displayText:`BigInt(${r})`,value:r}}}function ace(t){const r=new Date(t.getTime());return r.setMinutes(r.getMinutes()-r.getTimezoneOffset()),{_custom:{type:"date",displayText:Date.prototype.toString.call(t),value:r.toISOString().slice(0,-1)}}}function sce(t){return{_custom:{type:"map",displayText:"Map",value:Object.fromEntries(t),readOnly:!0,fields:{abstract:!0}}}}function lce(t){const r=Array.from(t);return{_custom:{type:"set",displayText:`Set[${r.length}]`,value:r,readOnly:!0}}}function cce(t){const r={},e=t.getters||{},n=Object.keys(e);for(let i=0;i<n.length;i++){const o=n[i];Object.defineProperty(r,o,{enumerable:!0,get:()=>{try{return e[o]}catch(a){return a}}})}return r}function uce(t){if(t.length)return t.reduce((r,e)=>{const n=e.type||"data",i=r[n]=r[n]||{};return i[e.key]=e.value,r},{})}function gce(t){const r={},e=t.length;for(let n=0;n<e;n++){const i=t.item(n);r[i.name]=i.value}return r}function hce(t){return{_custom:{type:"store",displayText:"Store",value:{state:t.state,getters:cce(t)},fields:{abstract:!0}}}}function dce(t){return{_custom:{type:"router",displayText:"VueRouter",value:{options:t.options,currentRoute:t.currentRoute},fields:{abstract:!0}}}}function fce(t){t._&&(t=t._);const r=NF(t);return{_custom:{type:"component",id:t.__VUE_DEVTOOLS_NEXT_UID__,displayText:Uo(t),tooltipText:"Component instance",value:uce(r),fields:{abstract:!0}}}}function Cce(t){let r=dse(t);return r?t.name&&t.__file&&(r+=` <span>(${t.__file})</span>`):r="<i>Unknown Component</i>",{_custom:{type:"component-definition",displayText:r,tooltipText:"Component definition",...t.__file?{file:t.__file}:{}}}}function vce(t){try{return{_custom:{type:"HTMLElement",displayText:`<span class="opacity-30"><</span><span class="text-blue-500">${t.tagName.toLowerCase()}</span><span class="opacity-30">></span>`,value:gce(t.attributes)}}}catch{return{_custom:{type:"HTMLElement",displayText:`<span class="text-blue-500">${String(t)}</span>`}}}}function Ace(t){if(no(t,"_value",!0))return t._value;if(no(t,"value",!0))return t.value}function Ice(t){var r,e,n,i;const o=RF(t);if(o.ref||o.computed||o.reactive){const s=o.computed?"Computed":o.ref?"Ref":o.reactive?"Reactive":null,l=DF(o.reactive?t:Ace(t)),c=no(t,"effect")?((e=(r=t.effect)==null?void 0:r.raw)==null?void 0:e.toString())||((i=(n=t.effect)==null?void 0:n.fn)==null?void 0:i.toString()):null;return{_custom:{type:s?.toLowerCase(),stateTypeName:s,value:l,...c?{tooltipText:`<span class="font-mono">${c}</span>`}:{}}}}if(no(t,"__asyncLoader")&&typeof t.__asyncLoader=="function")return{_custom:{type:"component-definition",display:"Async component definition"}}}function pce(t,r,e,n){var i;if(t==="compilerOptions")return;const o=this[t],a=typeof o;if(Array.isArray(o)){const s=o.length;return s>kz?{_isArray:!0,length:s,items:o.slice(0,kz)}:o}else{if(typeof o=="string")return o.length>Lz?`${o.substring(0,Lz)}... (${o.length} total length)`:o;if(a==="undefined")return Zu;if(o===Number.POSITIVE_INFINITY)return df;if(o===Number.NEGATIVE_INFINITY)return ff;if(typeof o=="function")return ice(o);if(a==="symbol")return`[native Symbol ${Symbol.prototype.toString.call(o)}]`;if(typeof o=="bigint")return oce(o);if(o!==null&&typeof o=="object"){const s=Object.prototype.toString.call(o);if(s==="[object Map]")return sce(o);if(s==="[object Set]")return lce(o);if(s==="[object RegExp]")return`[native RegExp ${RegExp.prototype.toString.call(o)}]`;if(s==="[object Date]")return ace(o);if(s==="[object Error]")return`[native Error ${o.message}<>${o.stack}]`;if(no(o,"state",!0)&&no(o,"_vm",!0))return hce(o);if(o.constructor&&o.constructor.name==="VueRouter")return dce(o);if(HF(o)){const c=fce(o),u=n?.get(o);return u&&u<e?`[[CircularRef]] <${c._custom.displayText}>`:(n?.set(o,e),c)}else{if(no(o,"render",!0)&&typeof o.render=="function")return Cce(o);if(o.constructor&&o.constructor.name==="VNode")return`[native VNode <${o.tag}>]`;if(typeof HTMLElement<"u"&&o instanceof HTMLElement)return vce(o);if(((i=o.constructor)==null?void 0:i.name)==="Store"&&"_wrappedGetters"in o)return"[object Store]";if(no(o,"currentRoute",!0))return"[object Router]"}const l=Ice(o);if(l!=null)return l}else if(Number.isNaN(o))return Cf}return C1e(o)}se();var q0=2*1024*1024;function CE(t,r){return r==="[object Object]"}function mce(t,r){return r==="[object Array]"}function yce(t){const r=t.constructor.name;return r==="Dep"&&"activeLink"in t||r==="Link"&&"dep"in t}function J6(t,r,e,n,i=0,o=new Map){let a,s,l,c,u;const g=n.get(t);if(g!=null)return g;const h=e.length,d=Object.prototype.toString.call(t);if(CE(t,d)){if(yce(t))return h;a={},n.set(t,h),e.push(a);const f=Object.keys(t);for(c=0,u=f.length;c<u;c++){if(s=f[c],s==="compilerOptions")return h;l=t[s];const C=l!=null&&CE(l,Object.prototype.toString.call(t))&&HF(l);try{r&&(l=r.call(t,s,l,i,o))}catch(v){l=v}a[s]=J6(l,r,e,n,i+1,o),C&&o.delete(l)}}else if(mce(t,d))for(a=[],n.set(t,h),e.push(a),c=0,u=t.length;c<u;c++){try{l=t[c],r&&(l=r.call(t,c,l,i,o))}catch(f){l=f}a[c]=J6(l,r,e,n,i+1,o)}else e.push(t);return h}function bce(t,r=null){let e=t.length,n,i,o,a,s,l;for(;e--;)if(o=t[e],l=Object.prototype.toString.call(o),l==="[object Object]"){const c=Object.keys(o);for(n=0,i=c.length;n<i;n++)a=c[n],s=t[o[a]],r&&(s=r.call(o,a,s)),o[a]=s}else if(l==="[object Array]")for(n=0,i=o.length;n<i;n++)s=t[o[n]],r&&(s=r.call(o,n,s)),o[n]=s}function wce(t,r=null,e=null){let n;try{n=arguments.length===1?JSON.stringify(t):JSON.stringify(t,(i,o)=>{var a;return(a=r?.(i,o))==null?void 0:a.call(this)},e)}catch{n=$ce(t,r,e)}if(n.length>q0){const i=Math.ceil(n.length/q0),o=[];for(let a=0;a<i;a++)o.push(n.slice(a*q0,(a+1)*q0));return o}return n}function $ce(t,r=null,e=null){const n=[];return J6(t,r,n,new Map),e?` ${JSON.stringify(n,null,e)}`:` ${JSON.stringify(n)}`}function vE(t,r=null){if(Array.isArray(t)&&(t=t.join("")),/^\s/.test(t)){const n=JSON.parse(t);return bce(n,r),n[0]}else return arguments.length===1?JSON.parse(t):JSON.parse(t,r)}function Zg(t){return wce(t,pce)}function Qr(t,r=!1){return t==null?{}:r?vE(t,GF):vE(t)}var ur={hook:so,init:()=>{Y1e()},get ctx(){return ba},get api(){return ba.api}};const iI=G(!1),vd=async t=>{const r={file:t};return ma&&(r.host="chrome-extension"),Ce.value.openInEditor(r)};function e8(t,r={},e){for(const n in t){const i=t[n],o=e?`${e}:${n}`:n;typeof i=="object"&&i!==null?e8(i,r,o):typeof i=="function"&&(r[o]=i)}return r}var _ce={run:t=>t()},Mce=()=>_ce,uj=typeof console.createTask<"u"?console.createTask:Mce;function zce(t,r){const e=r.shift(),n=uj(e);return t.reduce((i,o)=>i.then(()=>n.run(()=>o(...r))),Promise.resolve())}function Ece(t,r){const e=r.shift(),n=uj(e);return Promise.all(t.map(i=>n.run(()=>i(...r))))}function vp(t,r){for(const e of[...t])e(r)}var Sce=class{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,r,e={}){if(!t||typeof r!="function")return()=>{};const n=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!e.allowDeprecated){let o=i.message;o||(o=`${n} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||(console.warn(o),this._deprecatedMessages.add(o))}if(!r.name)try{Object.defineProperty(r,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(r),()=>{r&&(this.removeHook(t,r),r=void 0)}}hookOnce(t,r){let e,n=(...i)=>(typeof e=="function"&&e(),e=void 0,n=void 0,r(...i));return e=this.hook(t,n),e}removeHook(t,r){if(this._hooks[t]){const e=this._hooks[t].indexOf(r);e!==-1&&this._hooks[t].splice(e,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,r){this._deprecatedHooks[t]=typeof r=="string"?{to:r}:r;const e=this._hooks[t]||[];delete this._hooks[t];for(const n of e)this.hook(t,n)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const r in t)this.deprecateHook(r,t[r])}addHooks(t){const r=e8(t),e=Object.keys(r).map(n=>this.hook(n,r[n]));return()=>{for(const n of e.splice(0,e.length))n()}}removeHooks(t){const r=e8(t);for(const e in r)this.removeHook(e,r[e])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...r){return r.unshift(t),this.callHookWith(zce,t,...r)}callHookParallel(t,...r){return r.unshift(t),this.callHookWith(Ece,t,...r)}callHookWith(t,r,...e){const n=this._before||this._after?{name:r,args:e,context:{}}:void 0;this._before&&vp(this._before,n);const i=t(r in this._hooks?[...this._hooks[r]]:[],e);return i instanceof Promise?i.finally(()=>{this._after&&n&&vp(this._after,n)}):(this._after&&n&&vp(this._after,n),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const r=this._before.indexOf(t);r!==-1&&this._before.splice(r,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const r=this._after.indexOf(t);r!==-1&&this._after.splice(r,1)}}}};function gj(){return new Sce}var Q0=gj(),Ft=(t=>(t.INSPECTOR_TREE_UPDATED="inspector-tree-updated",t.INSPECTOR_STATE_UPDATED="inspector-state-updated",t.DEVTOOLS_STATE_UPDATED="devtools-state-updated",t.ROUTER_INFO_UPDATED="router-info-updated",t.TIMELINE_EVENT_UPDATED="timeline-event-updated",t.INSPECTOR_UPDATED="inspector-updated",t.ACTIVE_APP_UNMOUNTED="active-app-updated",t.DESTROY_DEVTOOLS_CLIENT="destroy-devtools-client",t.RELOAD_DEVTOOLS_CLIENT="reload-devtools-client",t))(Ft||{});function AE(){var t;const r=ur.ctx.state;return{connected:r.connected,clientConnected:!0,vueVersion:((t=r?.activeAppRecord)==null?void 0:t.version)||"",tabs:r.tabs,commands:r.commands,vitePluginDetected:r.vitePluginDetected,appRecords:r.appRecords.map(e=>({id:e.id,name:e.name,version:e.version,routerId:e.routerId})),activeAppRecordId:r.activeAppRecordId,timelineLayersState:r.timelineLayersState}}var IE={on:(t,r)=>{Q0.hook(t,r)},off:(t,r)=>{Q0.removeHook(t,r)},once:(t,r)=>{Q0.hookOnce(t,r)},emit:(t,...r)=>{Q0.callHook(t,...r)},heartbeat:()=>!0,devtoolsState:()=>AE(),async getInspectorTree(t){const r=await ur.ctx.api.getInspectorTree(t);return Zg(r)},async getInspectorState(t){const r=o1(t.inspectorId);r&&(r.selectedNodeId=t.nodeId);const e=await ur.ctx.api.getInspectorState(t);return Zg(e)},async editInspectorState(t){return await ur.ctx.api.editInspectorState(t)},sendInspectorState(t){return ur.ctx.api.sendInspectorState(t)},inspectComponentInspector(){return ur.ctx.api.inspectComponentInspector()},cancelInspectComponentInspector(){return ur.ctx.api.cancelInspectComponentInspector()},getComponentRenderCode(t){return ur.ctx.api.getComponentRenderCode(t)},scrollToComponent(t){return ur.ctx.api.scrollToComponent(t)},inspectDOM(t){return ur.ctx.api.inspectDOM(t)},getInspectorNodeActions(t){return hz(t)},getInspectorActions(t){return gz(t)},updateTimelineLayersState(t){return Nse(t)},callInspectorNodeAction(t,r,e){var n;const i=hz(t);if(i?.length){const o=i[r];(n=o.action)==null||n.call(o,e)}},callInspectorAction(t,r){var e;const n=gz(t);if(n?.length){const i=n[r];(e=i.action)==null||e.call(i)}},openInEditor(t){return ur.ctx.api.openInEditor(t)},async checkVueInspectorDetected(){return!!await ur.ctx.api.getVueInspector()},async enableVueInspector(){var t,r,e;const n=await((e=(r=(t=ur)==null?void 0:t.api)==null?void 0:r.getVueInspector)==null?void 0:e.call(r));n&&await n.enable()},async toggleApp(t){return ur.ctx.api.toggleApp(t)},updatePluginSettings(t,r,e){return ur.ctx.api.updatePluginSettings(t,r,e)},getPluginSettings(t){return ur.ctx.api.getPluginSettings(t)},getRouterInfo(){return R1e},navigate(t){var r;return(r=Nz.value)==null?void 0:r.push(t).catch(()=>({}))},getMatchedRoutes(t){var r,e;const n=console.warn;console.warn=()=>{};const i=(e=(r=Nz.value)==null?void 0:r.resolve({path:t||"/"}).matched)!=null?e:[];return console.warn=n,i},toggleClientConnected(t){Yse(t)},getCustomInspector(){return Eb()},getInspectorInfo(t){return Fse(t)},unhighlight(){ur.ctx.hooks.callHook(LF.COMPONENT_UNHIGHLIGHT)},updateDevToolsClientDetected(t){ZF(t)},initDevToolsServerListener(){const r=cj().broadcast;ur.ctx.hooks.hook(Hs.SEND_INSPECTOR_TREE_TO_CLIENT,e=>{r.emit("inspector-tree-updated",Zg(e))}),ur.ctx.hooks.hook(Hs.SEND_INSPECTOR_STATE_TO_CLIENT,e=>{r.emit("inspector-state-updated",Zg(e))}),ur.ctx.hooks.hook(Hs.DEVTOOLS_STATE_UPDATED,()=>{r.emit("devtools-state-updated",AE())}),ur.ctx.hooks.hook(Hs.ROUTER_INFO_UPDATED,({state:e})=>{r.emit("router-info-updated",e)}),ur.ctx.hooks.hook(Hs.SEND_TIMELINE_EVENT_TO_CLIENT,e=>{r.emit("timeline-event-updated",Zg(e))}),ur.ctx.hooks.hook(Hs.SEND_INSPECTOR_TO_CLIENT,e=>{r.emit("inspector-updated",e)}),ur.ctx.hooks.hook(Hs.SEND_ACTIVE_APP_UNMOUNTED_TO_CLIENT,()=>{r.emit("active-app-updated")})}},Ce=new Proxy({value:{},functions:{}},{get(t,r){const e=ece();if(r==="value")return e;if(r==="functions")return e.$functions}});new Proxy({value:{},functions:{}},{get(t,r){const e=cj();if(r==="value")return e;if(r==="functions")return e.functions}});function Ga(t){let r=null,e=0;function n(){var i,o;(o=(i=Ce.value)==null?void 0:i.heartbeat)==null||o.call(i).then(()=>{t(),clearTimeout(r)}).catch(()=>{})}r=setInterval(()=>{e>=30&&clearTimeout(r),e++,n()},e*200+200),n()}var J0=gj(),Tce={on:(t,r)=>{J0.hook(t,r)},off:(t,r)=>{J0.removeHook(t,r)},once:(t,r)=>{J0.hookOnce(t,r)},emit:(t,...r)=>{J0.callHook(t,...r)},heartbeat:()=>!0},Mo=new Proxy({value:{},functions:{}},{get(t,r){const e=rce();if(r==="value")return e;if(r==="functions")return e?.$functions}});function hj(t){let r=null;function e(){var n,i;(i=(n=Mo.value)==null?void 0:n.heartbeat)==null||i.call(n).then(()=>{clearTimeout(r),t()}).catch(()=>({})),r=setTimeout(()=>{e()},80)}e()}function Lce(){Q6(Tce,{preset:"vite"})}var dj=Symbol.for("__VueDevToolsStateSymbol__");function kce(){return{install(t){const r=Oce();r.getDevToolsState(),t.provide(dj,r),t.config.globalProperties.$getDevToolsState=r.getDevToolsState,t.config.globalProperties.$disconnectDevToolsClient=()=>{r.clientConnected.value=!1,r.connected.value=!1}}}}function Oce(){const t=G(!1),r=G(!1),e=G(""),n=G([]),i=G([]),o=G(!1),a=G([]),s=G(""),l=G({});function c(g){t.value=g.connected,r.value=g.clientConnected,e.value=g.vueVersion||"",n.value=g.tabs,i.value=g.commands,o.value=g.vitePluginDetected,a.value=g.appRecords,s.value=g.activeAppRecordId,l.value=g.timelineLayersState}function u(){Ga(()=>{Ce.value.devtoolsState().then(g=>{c(g)}),Ce.functions.off("devtools-state-updated",c),Ce.functions.on("devtools-state-updated",c)})}return{getDevToolsState:u,connected:t,clientConnected:r,vueVersion:e,tabs:n,commands:i,vitePluginDetected:o,appRecords:a,activeAppRecordId:s,timelineLayersState:l}}function Fi(){return br(dj)}var d2=[];function Hb(t){const{connected:r,clientConnected:e}=Fi();d2.push(t),fn(()=>{d2.splice(d2.indexOf(t),1)});const n=F(()=>e.value&&r.value);if(n.value)t();else{const i=Je(n,o=>{o&&(t(),i())})}return()=>{d2.splice(d2.indexOf(t),1)}}function fj(){d2.forEach(t=>t())}async function xce(t="/",r=!0){try{const e=`${t}@vite/client`,n=await fetch(e);if((await n.text()).startsWith("<")||!n.headers.get("content-type")?.includes("javascript"))throw new Error("Not javascript");return await import(e)}catch{r&&console.error(`[vite-hot-client] Failed to import "${t}@vite/client"`)}}/*!
|
|
18
|
+
**/let j6;const VM=typeof window<"u"&&window.trustedTypes;if(VM)try{j6=VM.createPolicy("vue",{createHTML:t=>t})}catch{}const cF=j6?t=>j6.createHTML(t):t=>t,Iae="http://www.w3.org/2000/svg",pae="http://www.w3.org/1998/Math/MathML",Ra=typeof document<"u"?document:null,PM=Ra&&Ra.createElement("template"),mae={insert:(t,r,e)=>{r.insertBefore(t,e||null)},remove:t=>{const r=t.parentNode;r&&r.removeChild(t)},createElement:(t,r,e,n)=>{const i=r==="svg"?Ra.createElementNS(Iae,t):r==="mathml"?Ra.createElementNS(pae,t):e?Ra.createElement(t,{is:e}):Ra.createElement(t);return t==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:t=>Ra.createTextNode(t),createComment:t=>Ra.createComment(t),setText:(t,r)=>{t.nodeValue=r},setElementText:(t,r)=>{t.textContent=r},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Ra.querySelector(t),setScopeId(t,r){t.setAttribute(r,"")},insertStaticContent(t,r,e,n,i,o){const a=e?e.previousSibling:r.lastChild;if(i&&(i===o||i.nextSibling))for(;r.insertBefore(i.cloneNode(!0),e),!(i===o||!(i=i.nextSibling)););else{PM.innerHTML=cF(n==="svg"?`<svg>${t}</svg>`:n==="mathml"?`<math>${t}</math>`:t);const s=PM.content;if(n==="svg"||n==="mathml"){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}r.insertBefore(s,e)}return[a?a.nextSibling:r.firstChild,e?e.previousSibling:r.lastChild]}},Ss="transition",Ug="animation",cd=Symbol("_vtc"),uF={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},yae=Vr({},SB,uF),bae=t=>(t.displayName="Transition",t.props=yae,t),yb=bae((t,{slots:r})=>vc(Aoe,wae(t),r)),sl=(t,r=[])=>{Ge(t)?t.forEach(e=>e(...r)):t&&t(...r)},RM=t=>t?Ge(t)?t.some(r=>r.length>1):t.length>1:!1;function wae(t){const r={};for(const O in t)O in uF||(r[O]=t[O]);if(t.css===!1)return r;const{name:e="v",type:n,duration:i,enterFromClass:o=`${e}-enter-from`,enterActiveClass:a=`${e}-enter-active`,enterToClass:s=`${e}-enter-to`,appearFromClass:l=o,appearActiveClass:c=a,appearToClass:u=s,leaveFromClass:g=`${e}-leave-from`,leaveActiveClass:h=`${e}-leave-active`,leaveToClass:d=`${e}-leave-to`}=t,f=$ae(i),C=f&&f[0],v=f&&f[1],{onBeforeEnter:A,onEnter:I,onEnterCancelled:p,onLeave:m,onLeaveCancelled:b,onBeforeAppear:_=A,onAppear:L=I,onAppearCancelled:z=p}=r,S=(O,P,B)=>{ll(O,P?u:s),ll(O,P?c:a),B&&B()},T=(O,P)=>{O._isLeaving=!1,ll(O,g),ll(O,d),ll(O,h),P&&P()},k=O=>(P,B)=>{const te=O?L:I,ee=()=>S(P,O,B);sl(te,[P,ee]),DM(()=>{ll(P,O?l:o),Ts(P,O?u:s),RM(te)||NM(P,n,C,ee)})};return Vr(r,{onBeforeEnter(O){sl(A,[O]),Ts(O,o),Ts(O,a)},onBeforeAppear(O){sl(_,[O]),Ts(O,l),Ts(O,c)},onEnter:k(!1),onAppear:k(!0),onLeave(O,P){O._isLeaving=!0;const B=()=>T(O,P);Ts(O,g),Ts(O,h),zae(),DM(()=>{O._isLeaving&&(ll(O,g),Ts(O,d),RM(m)||NM(O,n,v,B))}),sl(m,[O,B])},onEnterCancelled(O){S(O,!1),sl(p,[O])},onAppearCancelled(O){S(O,!0),sl(z,[O])},onLeaveCancelled(O){T(O),sl(b,[O])}})}function $ae(t){if(t==null)return null;if(Zt(t))return[cp(t.enter),cp(t.leave)];{const r=cp(t);return[r,r]}}function cp(t){return _ie(t)}function Ts(t,r){r.split(/\s+/).forEach(e=>e&&t.classList.add(e)),(t[cd]||(t[cd]=new Set)).add(r)}function ll(t,r){r.split(/\s+/).forEach(n=>n&&t.classList.remove(n));const e=t[cd];e&&(e.delete(r),e.size||(t[cd]=void 0))}function DM(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let _ae=0;function NM(t,r,e,n){const i=t._endId=++_ae,o=()=>{i===t._endId&&n()};if(e!=null)return setTimeout(o,e);const{type:a,timeout:s,propCount:l}=Mae(t,r);if(!a)return n();const c=a+"end";let u=0;const g=()=>{t.removeEventListener(c,h),o()},h=d=>{d.target===t&&++u>=l&&g()};setTimeout(()=>{u<l&&g()},s+1),t.addEventListener(c,h)}function Mae(t,r){const e=window.getComputedStyle(t),n=f=>(e[f]||"").split(", "),i=n(`${Ss}Delay`),o=n(`${Ss}Duration`),a=BM(i,o),s=n(`${Ug}Delay`),l=n(`${Ug}Duration`),c=BM(s,l);let u=null,g=0,h=0;r===Ss?a>0&&(u=Ss,g=a,h=o.length):r===Ug?c>0&&(u=Ug,g=c,h=l.length):(g=Math.max(a,c),u=g>0?a>c?Ss:Ug:null,h=u?u===Ss?o.length:l.length:0);const d=u===Ss&&/\b(transform|all)(,|$)/.test(n(`${Ss}Property`).toString());return{type:u,timeout:g,propCount:h,hasTransform:d}}function BM(t,r){for(;t.length<r.length;)t=t.concat(t);return Math.max(...r.map((e,n)=>FM(e)+FM(t[n])))}function FM(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function zae(){return document.body.offsetHeight}function Eae(t,r,e){const n=t[cd];n&&(r=(r?[r,...n]:[...n]).join(" ")),r==null?t.removeAttribute("class"):e?t.setAttribute("class",r):t.className=r}const $v=Symbol("_vod"),gF=Symbol("_vsh"),Sae={beforeMount(t,{value:r},{transition:e}){t[$v]=t.style.display==="none"?"":t.style.display,e&&r?e.beforeEnter(t):Gg(t,r)},mounted(t,{value:r},{transition:e}){e&&r&&e.enter(t)},updated(t,{value:r,oldValue:e},{transition:n}){!r!=!e&&(n?r?(n.beforeEnter(t),Gg(t,!0),n.enter(t)):n.leave(t,()=>{Gg(t,!1)}):Gg(t,r))},beforeUnmount(t,{value:r}){Gg(t,r)}};function Gg(t,r){t.style.display=r?t[$v]:"none",t[gF]=!r}const Tae=Symbol(""),Lae=/(^|;)\s*display\s*:/;function kae(t,r,e){const n=t.style,i=fr(e);let o=!1;if(e&&!i){if(r)if(fr(r))for(const a of r.split(";")){const s=a.slice(0,a.indexOf(":")).trim();e[s]==null&&z5(n,s,"")}else for(const a in r)e[a]==null&&z5(n,a,"");for(const a in e)a==="display"&&(o=!0),z5(n,a,e[a])}else if(i){if(r!==e){const a=n[Tae];a&&(e+=";"+a),n.cssText=e,o=Lae.test(e)}}else r&&t.removeAttribute("style");$v in t&&(t[$v]=o?n.display:"",t[gF]&&(n.display="none"))}const jM=/\s*!important$/;function z5(t,r,e){if(Ge(e))e.forEach(n=>z5(t,r,n));else if(e==null&&(e=""),r.startsWith("--"))t.setProperty(r,e);else{const n=Oae(t,r);jM.test(e)?t.setProperty(vs(n),e.replace(jM,""),"important"):t[n]=e}}const UM=["Webkit","Moz","ms"],up={};function Oae(t,r){const e=up[r];if(e)return e;let n=Ni(r);if(n!=="filter"&&n in t)return up[r]=n;n=jA(n);for(let i=0;i<UM.length;i++){const o=UM[i]+n;if(o in t)return up[r]=o}return r}const GM="http://www.w3.org/1999/xlink";function WM(t,r,e,n,i,o=Lie(r)){n&&r.startsWith("xlink:")?e==null?t.removeAttributeNS(GM,r.slice(6,r.length)):t.setAttributeNS(GM,r,e):e==null||o&&!XN(e)?t.removeAttribute(r):t.setAttribute(r,o?"":Ho(e)?String(e):e)}function ZM(t,r,e,n,i){if(r==="innerHTML"||r==="textContent"){e!=null&&(t[r]=r==="innerHTML"?cF(e):e);return}const o=t.tagName;if(r==="value"&&o!=="PROGRESS"&&!o.includes("-")){const s=o==="OPTION"?t.getAttribute("value")||"":t.value,l=e==null?t.type==="checkbox"?"on":"":String(e);(s!==l||!("_value"in t))&&(t.value=l),e==null&&t.removeAttribute(r),t._value=e;return}let a=!1;if(e===""||e==null){const s=typeof t[r];s==="boolean"?e=XN(e):e==null&&s==="string"?(e="",a=!0):s==="number"&&(e=0,a=!0)}try{t[r]=e}catch{}a&&t.removeAttribute(i||r)}function Ba(t,r,e,n){t.addEventListener(r,e,n)}function xae(t,r,e,n){t.removeEventListener(r,e,n)}const KM=Symbol("_vei");function Hae(t,r,e,n,i=null){const o=t[KM]||(t[KM]={}),a=o[r];if(n&&a)a.value=n;else{const[s,l]=Vae(r);if(n){const c=o[r]=Dae(n,i);Ba(t,s,c,l)}else a&&(xae(t,s,a,l),o[r]=void 0)}}const YM=/(?:Once|Passive|Capture)$/;function Vae(t){let r;if(YM.test(t)){r={};let n;for(;n=t.match(YM);)t=t.slice(0,t.length-n[0].length),r[n[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):vs(t.slice(2)),r]}let gp=0;const Pae=Promise.resolve(),Rae=()=>gp||(Pae.then(()=>gp=0),gp=Date.now());function Dae(t,r){const e=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=e.attached)return;Vo(Nae(n,e.value),r,5,[n])};return e.value=t,e.attached=Rae(),e}function Nae(t,r){if(Ge(r)){const e=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{e.call(t),t._stopped=!0},r.map(n=>i=>!i._stopped&&n&&n(i))}else return r}const XM=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Bae=(t,r,e,n,i,o)=>{const a=i==="svg";r==="class"?Eae(t,n,a):r==="style"?kae(t,e,n):BA(r)?Qy(r)||Hae(t,r,e,n,o):(r[0]==="."?(r=r.slice(1),!0):r[0]==="^"?(r=r.slice(1),!1):Fae(t,r,n,a))?(ZM(t,r,n),!t.tagName.includes("-")&&(r==="value"||r==="checked"||r==="selected")&&WM(t,r,n,a,o,r!=="value")):t._isVueCE&&(/[A-Z]/.test(r)||!fr(n))?ZM(t,Ni(r),n,o,r):(r==="true-value"?t._trueValue=n:r==="false-value"&&(t._falseValue=n),WM(t,r,n,a))};function Fae(t,r,e,n){if(n)return!!(r==="innerHTML"||r==="textContent"||r in t&&XM(r)&&it(e));if(r==="spellcheck"||r==="draggable"||r==="translate"||r==="form"||r==="list"&&t.tagName==="INPUT"||r==="type"&&t.tagName==="TEXTAREA")return!1;if(r==="width"||r==="height"){const i=t.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return XM(r)&&fr(e)?!1:r in t}const $1=t=>{const r=t.props["onUpdate:modelValue"]||!1;return Ge(r)?e=>w5(r,e):r};function jae(t){t.target.composing=!0}function qM(t){const r=t.target;r.composing&&(r.composing=!1,r.dispatchEvent(new Event("input")))}const ao=Symbol("_assign"),QM={created(t,{modifiers:{lazy:r,trim:e,number:n}},i){t[ao]=$1(i);const o=n||i.props&&i.props.type==="number";Ba(t,r?"change":"input",a=>{if(a.target.composing)return;let s=t.value;e&&(s=s.trim()),o&&(s=vv(s)),t[ao](s)}),e&&Ba(t,"change",()=>{t.value=t.value.trim()}),r||(Ba(t,"compositionstart",jae),Ba(t,"compositionend",qM),Ba(t,"change",qM))},mounted(t,{value:r}){t.value=r??""},beforeUpdate(t,{value:r,oldValue:e,modifiers:{lazy:n,trim:i,number:o}},a){if(t[ao]=$1(a),t.composing)return;const s=(o||t.type==="number")&&!/^0\d/.test(t.value)?vv(t.value):t.value,l=r??"";s!==l&&(document.activeElement===t&&t.type!=="range"&&(n&&r===e||i&&t.value.trim()===l)||(t.value=l))}},Uae={deep:!0,created(t,r,e){t[ao]=$1(e),Ba(t,"change",()=>{const n=t._modelValue,i=su(t),o=t.checked,a=t[ao];if(Ge(n)){const s=rb(n,i),l=s!==-1;if(o&&!l)a(n.concat(i));else if(!o&&l){const c=[...n];c.splice(s,1),a(c)}}else if(Gu(n)){const s=new Set(n);o?s.add(i):s.delete(i),a(s)}else a(hF(t,o))})},mounted:JM,beforeUpdate(t,r,e){t[ao]=$1(e),JM(t,r,e)}};function JM(t,{value:r,oldValue:e},n){t._modelValue=r;let i;if(Ge(r))i=rb(r,n.props.value)>-1;else if(Gu(r))i=r.has(n.props.value);else{if(r===e)return;i=Xl(r,hF(t,!0))}t.checked!==i&&(t.checked=i)}const Gae={created(t,{value:r},e){t.checked=Xl(r,e.props.value),t[ao]=$1(e),Ba(t,"change",()=>{t[ao](su(t))})},beforeUpdate(t,{value:r,oldValue:e},n){t[ao]=$1(n),r!==e&&(t.checked=Xl(r,n.props.value))}},Wae={deep:!0,created(t,{value:r,modifiers:{number:e}},n){const i=Gu(r);Ba(t,"change",()=>{const o=Array.prototype.filter.call(t.options,a=>a.selected).map(a=>e?vv(su(a)):su(a));t[ao](t.multiple?i?new Set(o):o:o[0]),t._assigning=!0,dn(()=>{t._assigning=!1})}),t[ao]=$1(n)},mounted(t,{value:r}){ez(t,r)},beforeUpdate(t,r,e){t[ao]=$1(e)},updated(t,{value:r}){t._assigning||ez(t,r)}};function ez(t,r){const e=t.multiple,n=Ge(r);if(!(e&&!n&&!Gu(r))){for(let i=0,o=t.options.length;i<o;i++){const a=t.options[i],s=su(a);if(e)if(n){const l=typeof s;l==="string"||l==="number"?a.selected=r.some(c=>String(c)===String(s)):a.selected=rb(r,s)>-1}else a.selected=r.has(s);else if(Xl(su(a),r)){t.selectedIndex!==i&&(t.selectedIndex=i);return}}!e&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function su(t){return"_value"in t?t._value:t.value}function hF(t,r){const e=r?"_trueValue":"_falseValue";return e in t?t[e]:r}const Zae={created(t,r,e){Y0(t,r,e,null,"created")},mounted(t,r,e){Y0(t,r,e,null,"mounted")},beforeUpdate(t,r,e,n){Y0(t,r,e,n,"beforeUpdate")},updated(t,r,e,n){Y0(t,r,e,n,"updated")}};function Kae(t,r){switch(t){case"SELECT":return Wae;case"TEXTAREA":return QM;default:switch(r){case"checkbox":return Uae;case"radio":return Gae;default:return QM}}}function Y0(t,r,e,n,i){const a=Kae(t.tagName,e.props&&e.props.type)[i];a&&a(t,r,e,n)}const Yae=["ctrl","shift","alt","meta"],Xae={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,r)=>Yae.some(e=>t[`${e}Key`]&&!r.includes(e))},Wn=(t,r)=>{const e=t._withMods||(t._withMods={}),n=r.join(".");return e[n]||(e[n]=(i,...o)=>{for(let a=0;a<r.length;a++){const s=Xae[r[a]];if(s&&s(i,r))return}return t(i,...o)})},qae={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},dF=(t,r)=>{const e=t._withKeys||(t._withKeys={}),n=r.join(".");return e[n]||(e[n]=i=>{if(!("key"in i))return;const o=vs(i.key);if(r.some(a=>a===o||qae[a]===o))return t(i)})},Qae=Vr({patchProp:Bae},mae);let tz;function fF(){return tz||(tz=Zoe(Qae))}const rz=(...t)=>{fF().render(...t)},CF=(...t)=>{const r=fF().createApp(...t),{mount:e}=r;return r.mount=n=>{const i=ese(n);if(!i)return;const o=r._component;!it(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const a=e(i,!1,Jae(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},r};function Jae(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function ese(t){return fr(t)?document.querySelector(t):t}var tse=Object.create,vF=Object.defineProperty,rse=Object.getOwnPropertyDescriptor,bb=Object.getOwnPropertyNames,nse=Object.getPrototypeOf,ise=Object.prototype.hasOwnProperty,ose=(t,r)=>function(){return t&&(r=(0,t[bb(t)[0]])(t=0)),r},AF=(t,r)=>function(){return r||(0,t[bb(t)[0]])((r={exports:{}}).exports,r),r.exports},ase=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of bb(r))!ise.call(t,i)&&i!==e&&vF(t,i,{get:()=>r[i],enumerable:!(n=rse(r,i))||n.enumerable});return t},sse=(t,r,e)=>(e=t!=null?tse(nse(t)):{},ase(vF(e,"default",{value:t,enumerable:!0}),t)),se=ose({"../../node_modules/.pnpm/tsup@8.3.0_@microsoft+api-extractor@7.43.0_@types+node@20.16.14__@swc+core@1.5.29_jiti@2.0.0__utvtwgyeu6xd57udthcnogp47u/node_modules/tsup/assets/esm_shims.js"(){}}),lse=AF({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(t,r){se(),function(e){var n={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},i=["်","ް"],o={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},a={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},s={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},l=[";","?",":","@","&","=","+","$",",","/"].join(""),c=[";","?",":","@","&","=","+","$",","].join(""),u=[".","!","~","*","'","(",")"].join(""),g=function(v,A){var I="-",p="",m="",b=!0,_={},L,z,S,T,k,O,P,B,te,ee,re,Ee,He,nt,De="";if(typeof v!="string")return"";if(typeof A=="string"&&(I=A),P=s.en,B=a.en,typeof A=="object"){L=A.maintainCase||!1,_=A.custom&&typeof A.custom=="object"?A.custom:_,S=+A.truncate>1&&A.truncate||!1,T=A.uric||!1,k=A.uricNoSlash||!1,O=A.mark||!1,b=!(A.symbols===!1||A.lang===!1),I=A.separator||I,T&&(De+=l),k&&(De+=c),O&&(De+=u),P=A.lang&&s[A.lang]&&b?s[A.lang]:b?s.en:{},B=A.lang&&a[A.lang]?a[A.lang]:A.lang===!1||A.lang===!0?{}:a.en,A.titleCase&&typeof A.titleCase.length=="number"&&Array.prototype.toString.call(A.titleCase)?(A.titleCase.forEach(function(be){_[be+""]=be+""}),z=!0):z=!!A.titleCase,A.custom&&typeof A.custom.length=="number"&&Array.prototype.toString.call(A.custom)&&A.custom.forEach(function(be){_[be+""]=be+""}),Object.keys(_).forEach(function(be){var Ne;be.length>1?Ne=new RegExp("\\b"+d(be)+"\\b","gi"):Ne=new RegExp(d(be),"gi"),v=v.replace(Ne,_[be])});for(re in _)De+=re}for(De+=I,De=d(De),v=v.replace(/(^\s+|\s+$)/g,""),He=!1,nt=!1,ee=0,Ee=v.length;ee<Ee;ee++)re=v[ee],f(re,_)?He=!1:B[re]?(re=He&&B[re].match(/[A-Za-z0-9]/)?" "+B[re]:B[re],He=!1):re in n?(ee+1<Ee&&i.indexOf(v[ee+1])>=0?(m+=re,re=""):nt===!0?(re=o[m]+n[re],m=""):re=He&&n[re].match(/[A-Za-z0-9]/)?" "+n[re]:n[re],He=!1,nt=!1):re in o?(m+=re,re="",ee===Ee-1&&(re=o[m]),nt=!0):P[re]&&!(T&&l.indexOf(re)!==-1)&&!(k&&c.indexOf(re)!==-1)?(re=He||p.substr(-1).match(/[A-Za-z0-9]/)?I+P[re]:P[re],re+=v[ee+1]!==void 0&&v[ee+1].match(/[A-Za-z0-9]/)?I:"",He=!0):(nt===!0?(re=o[m]+re,m="",nt=!1):He&&(/[A-Za-z0-9]/.test(re)||p.substr(-1).match(/A-Za-z0-9]/))&&(re=" "+re),He=!1),p+=re.replace(new RegExp("[^\\w\\s"+De+"_-]","g"),I);return z&&(p=p.replace(/(\w)(\S*)/g,function(be,Ne,Ue){var ot=Ne.toUpperCase()+(Ue!==null?Ue:"");return Object.keys(_).indexOf(ot.toLowerCase())<0?ot:ot.toLowerCase()})),p=p.replace(/\s+/g,I).replace(new RegExp("\\"+I+"+","g"),I).replace(new RegExp("(^\\"+I+"+|\\"+I+"+$)","g"),""),S&&p.length>S&&(te=p.charAt(S)===I,p=p.slice(0,S),te||(p=p.slice(0,p.lastIndexOf(I)))),!L&&!z&&(p=p.toLowerCase()),p},h=function(v){return function(I){return g(I,v)}},d=function(v){return v.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},f=function(C,v){for(var A in v)if(v[A]===C)return!0};if(typeof r<"u"&&r.exports)r.exports=g,r.exports.createSlug=h;else if(typeof define<"u"&&define.amd)define([],function(){return g});else try{if(e.getSlug||e.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";e.getSlug=g,e.createSlug=h}catch{}}(t)}}),cse=AF({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(t,r){se(),r.exports=lse()}});se();se();se();function use(t){if(ae.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__){t();return}Object.defineProperty(ae,"__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__",{set(r){r&&t()},configurable:!0})}se();se();se();se();function gse(t){return!!(t&&t.__v_isReadonly)}function IF(t){return gse(t)?IF(t.__v_raw):!!(t&&t.__v_isReactive)}function hp(t){return!!(t&&t.__v_isRef===!0)}function hh(t){const r=t&&t.__v_raw;return r?hh(r):t}se();function hse(t){var r;const e=t.name||t._componentTag||t.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||t.__name;return e==="index"&&((r=t.__file)!=null&&r.endsWith("index.vue"))?"":e}function pF(t){const r=t.__file;if(r)return BN(tie(r,".vue"))}function dse(t){const r=t.displayName||t.name||t._componentTag;return r||pF(t)}function nz(t,r){return t.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=r,r}function Lo(t){if(t.__VUE_DEVTOOLS_NEXT_APP_RECORD__)return t.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(t.root)return t.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__}async function E5(t){const{app:r,uid:e,instance:n}=t;try{if(n.__VUE_DEVTOOLS_NEXT_UID__)return n.__VUE_DEVTOOLS_NEXT_UID__;const i=await Lo(r);if(!i)return null;const o=i.rootInstance===n;return`${i.id}:${o?"root":e}`}catch{}}function wb(t){var r,e;const n=(r=t.subTree)==null?void 0:r.type,i=Lo(t);return i?((e=i?.types)==null?void 0:e.Fragment)===n:!1}function dp(t){return t._isBeingDestroyed||t.isUnmounted}function Uo(t){var r,e,n;const i=hse(t?.type||{});if(i)return i;if(t?.root===t)return"Root";for(const a in(e=(r=t.parent)==null?void 0:r.type)==null?void 0:e.components)if(t.parent.type.components[a]===t?.type)return nz(t,a);for(const a in(n=t.appContext)==null?void 0:n.components)if(t.appContext.components[a]===t?.type)return nz(t,a);const o=pF(t?.type||{});return o||"Anonymous Component"}function mF(t){var r,e,n;const i=(n=(e=(r=t?.appContext)==null?void 0:r.app)==null?void 0:e.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__)!=null?n:0,o=t===t?.root?"root":t.uid;return`${i}:${o}`}function fse(t){return t==null?"":typeof t=="number"?t:typeof t=="string"?`'${t}'`:Array.isArray(t)?"Array":"Object"}function P1(t){try{return t()}catch(r){return r}}function lu(t,r){return r=r||`${t.id}:root`,t.instanceMap.get(r)||t.instanceMap.get(":root")}function no(t,r,e=!1){return e||typeof t=="object"&&t!==null?r in t:!1}var yF=class{constructor(){this.refEditor=new Cse}set(t,r,e,n){const i=Array.isArray(r)?r:r.split(".");for(;i.length>1;){const s=i.shift();t instanceof Map&&(t=t.get(s)),t instanceof Set?t=Array.from(t.values())[s]:t=t[s],this.refEditor.isRef(t)&&(t=this.refEditor.get(t))}const o=i[0],a=this.refEditor.get(t)[o];n?n(t,o,e):this.refEditor.isRef(a)?this.refEditor.set(a,e):t[o]=e}get(t,r){const e=Array.isArray(r)?r:r.split(".");for(let n=0;n<e.length;n++)if(t instanceof Map?t=t.get(e[n]):t=t[e[n]],this.refEditor.isRef(t)&&(t=this.refEditor.get(t)),!t)return;return t}has(t,r,e=!1){if(typeof t>"u")return!1;const n=Array.isArray(r)?r.slice():r.split("."),i=e?2:1;for(;t&&n.length>i;){const o=n.shift();t=t[o],this.refEditor.isRef(t)&&(t=this.refEditor.get(t))}return t!=null&&Object.prototype.hasOwnProperty.call(t,n[0])}createDefaultSetCallback(t){return(r,e,n)=>{if((t.remove||t.newKey)&&(Array.isArray(r)?r.splice(e,1):hh(r)instanceof Map?r.delete(e):hh(r)instanceof Set?r.delete(Array.from(r.values())[e]):Reflect.deleteProperty(r,e)),!t.remove){const i=r[t.newKey||e];this.refEditor.isRef(i)?this.refEditor.set(i,n):hh(r)instanceof Map?r.set(t.newKey||e,n):hh(r)instanceof Set?r.add(n):r[t.newKey||e]=n}}}},Cse=class{set(t,r){if(hp(t))t.value=r;else{if(t instanceof Set&&Array.isArray(r)){t.clear(),r.forEach(i=>t.add(i));return}const e=Object.keys(r);if(t instanceof Map){const i=new Set(t.keys());e.forEach(o=>{t.set(o,Reflect.get(r,o)),i.delete(o)}),i.forEach(o=>t.delete(o));return}const n=new Set(Object.keys(t));e.forEach(i=>{Reflect.set(t,i,Reflect.get(r,i)),n.delete(i)}),n.forEach(i=>Reflect.deleteProperty(t,i))}}get(t){return hp(t)?t.value:t}isRef(t){return hp(t)||IF(t)}};async function vse(t,r){const{path:e,nodeId:n,state:i,type:o}=t,a=lu(Pt.value,n);if(!a)return;const s=e.slice();let l;a.devtoolsRawSetupState&&Object.keys(a.devtoolsRawSetupState).includes(e[0])&&(l=a.devtoolsRawSetupState),a.data&&Object.keys(a.data).includes(e[0])&&(l=a.data),l&&s&&(i.type,r.set(l,s,i.value,r.createDefaultSetCallback(i)))}var Ase=new yF;async function Ise(t){vse(t,Ase)}se();function ud(t){return wb(t)?pse(t.subTree):t.subTree?[t.subTree.el]:[]}function pse(t){if(!t.children)return[];const r=[];return t.children.forEach(e=>{e.component?r.push(...ud(e.component)):e?.el&&r.push(e.el)}),r}se();se();function mse(){const t={top:0,bottom:0,left:0,right:0,get width(){return t.right-t.left},get height(){return t.bottom-t.top}};return t}var X0;function yse(t){return X0||(X0=document.createRange()),X0.selectNode(t),X0.getBoundingClientRect()}function bse(t){const r=mse();if(!t.children)return r;for(let e=0,n=t.children.length;e<n;e++){const i=t.children[e];let o;if(i.component)o=Ql(i.component);else if(i.el){const a=i.el;a.nodeType===1||a.getBoundingClientRect?o=a.getBoundingClientRect():a.nodeType===3&&a.data.trim()&&(o=yse(a))}o&&wse(r,o)}return r}function wse(t,r){return(!t.top||r.top<t.top)&&(t.top=r.top),(!t.bottom||r.bottom>t.bottom)&&(t.bottom=r.bottom),(!t.left||r.left<t.left)&&(t.left=r.left),(!t.right||r.right>t.right)&&(t.right=r.right),t}var iz={top:0,left:0,right:0,bottom:0,width:0,height:0};function Ql(t){const r=t.subTree.el;return typeof window>"u"?iz:wb(t)?bse(t.subTree):r?.nodeType===1?r?.getBoundingClientRect():t.subTree.component?Ql(t.subTree.component):iz}var bF="__vue-devtools-component-inspector__",wF="__vue-devtools-component-inspector__card__",$F="__vue-devtools-component-inspector__name__",_F="__vue-devtools-component-inspector__indicator__",MF={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},$se={fontFamily:"Arial, Helvetica, sans-serif",padding:"5px 8px",borderRadius:"4px",textAlign:"left",position:"absolute",left:0,color:"#e9e9e9",fontSize:"14px",fontWeight:600,lineHeight:"24px",backgroundColor:"#42b883",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},_se={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function Wu(){return document.getElementById(bF)}function Mse(){return document.getElementById(wF)}function zse(){return document.getElementById(_F)}function Ese(){return document.getElementById($F)}function $b(t){return{left:`${Math.round(t.left*100)/100}px`,top:`${Math.round(t.top*100)/100}px`,width:`${Math.round(t.width*100)/100}px`,height:`${Math.round(t.height*100)/100}px`}}function _b(t){var r;const e=document.createElement("div");e.id=(r=t.elementId)!=null?r:bF,Object.assign(e.style,{...MF,...$b(t.bounds),...t.style});const n=document.createElement("span");n.id=wF,Object.assign(n.style,{...$se,top:t.bounds.top<35?0:"-35px"});const i=document.createElement("span");i.id=$F,i.innerHTML=`<${t.name}> `;const o=document.createElement("i");return o.id=_F,o.innerHTML=`${Math.round(t.bounds.width*100)/100} x ${Math.round(t.bounds.height*100)/100}`,Object.assign(o.style,_se),n.appendChild(i),n.appendChild(o),e.appendChild(n),document.body.appendChild(e),e}function Mb(t){const r=Wu(),e=Mse(),n=Ese(),i=zse();r&&(Object.assign(r.style,{...MF,...$b(t.bounds)}),Object.assign(e.style,{top:t.bounds.top<35?0:"-35px"}),n.innerHTML=`<${t.name}> `,i.innerHTML=`${Math.round(t.bounds.width*100)/100} x ${Math.round(t.bounds.height*100)/100}`)}function Sse(t){const r=Ql(t),e=Uo(t);Wu()?Mb({bounds:r,name:e}):_b({bounds:r,name:e})}function zF(){const t=Wu();t&&(t.style.display="none")}var U6=null;function G6(t){const r=t.target;if(r){const e=r.__vueParentComponent;if(e&&(U6=e,e.vnode.el)){const i=Ql(e),o=Uo(e);Wu()?Mb({bounds:i,name:o}):_b({bounds:i,name:o})}}}function Tse(t,r){var e;if(t.preventDefault(),t.stopPropagation(),U6){const n=(e=Pt.value)==null?void 0:e.app;E5({app:n,uid:n.uid,instance:U6}).then(i=>{r(i)})}}var _v=null;function Lse(){zF(),window.removeEventListener("mouseover",G6),window.removeEventListener("click",_v,!0),_v=null}function kse(){return window.addEventListener("mouseover",G6),new Promise(t=>{function r(e){e.preventDefault(),e.stopPropagation(),Tse(e,n=>{window.removeEventListener("click",r,!0),_v=null,window.removeEventListener("mouseover",G6);const i=Wu();i&&(i.style.display="none"),t(JSON.stringify({id:n}))})}_v=r,window.addEventListener("click",r,!0)})}function Ose(t){const r=lu(Pt.value,t.id);if(r){const[e]=ud(r);if(typeof e.scrollIntoView=="function")e.scrollIntoView({behavior:"smooth"});else{const n=Ql(r),i=document.createElement("div"),o={...$b(n),position:"absolute"};Object.assign(i.style,o),document.body.appendChild(i),i.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{document.body.removeChild(i)},2e3)}setTimeout(()=>{const n=Ql(r);if(n.width||n.height){const i=Uo(r),o=Wu();o?Mb({...t,name:i,bounds:n}):_b({...t,name:i,bounds:n}),setTimeout(()=>{o&&(o.style.display="none")},1500)}},1200)}}se();var oz,az;(az=(oz=ae).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__)!=null||(oz.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);function xse(t){let r=0;const e=setInterval(()=>{ae.__VUE_INSPECTOR__&&(clearInterval(e),r+=30,t()),r>=5e3&&clearInterval(e)},30)}function Hse(){const t=ae.__VUE_INSPECTOR__,r=t.openInEditor;t.openInEditor=async(...e)=>{t.disable(),r(...e)}}function Vse(){return new Promise(t=>{function r(){Hse(),t(ae.__VUE_INSPECTOR__)}ae.__VUE_INSPECTOR__?r():xse(()=>{r()})})}se();se();se();var EF="__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";function Pse(t){!Uu||typeof localStorage>"u"||localStorage===null||localStorage.setItem(EF,JSON.stringify(t))}function Rse(){if(!Uu||typeof localStorage>"u"||localStorage===null)return{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""};const t=localStorage.getItem(EF);return t?JSON.parse(t):{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""}}se();se();se();var sz,lz;(lz=(sz=ae).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS)!=null||(sz.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS=[]);var SF=new Proxy(ae.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS,{get(t,r,e){return Reflect.get(t,r,e)}});function Dse(t,r){$t.timelineLayersState[r.id]=!1,SF.push({...t,descriptorId:r.id,appRecord:Lo(r.app)})}function Nse(t){const r={...$t.timelineLayersState,...t};Pse(r),zh({timelineLayersState:r})}var cz,uz;(uz=(cz=ae).__VUE_DEVTOOLS_KIT_INSPECTOR__)!=null||(cz.__VUE_DEVTOOLS_KIT_INSPECTOR__=[]);var zb=new Proxy(ae.__VUE_DEVTOOLS_KIT_INSPECTOR__,{get(t,r,e){return Reflect.get(t,r,e)}}),TF=as(()=>{ba.hooks.callHook("sendInspectorToClient",Eb())});function Bse(t,r){zb.push({options:t,descriptor:r,treeFilter:"",selectedNodeId:"",appRecord:Lo(r.app)}),TF()}function Eb(){return zb.filter(t=>t.descriptor.app===Pt.value.app).filter(t=>t.descriptor.id!=="components").map(t=>{var r;const e=t.descriptor,n=t.options;return{id:n.id,label:n.label,logo:e.logo,icon:`custom-ic-baseline-${(r=n?.icon)==null?void 0:r.replace(/_/g,"-")}`,packageName:e.packageName,homepage:e.homepage,pluginId:e.id}})}function Fse(t){const r=o1(t,Pt.value.app);if(!r)return;const e=r.descriptor,n=r.options,i=SF.filter(o=>o.descriptorId===e.id).map(o=>({id:o.id,label:o.label,color:o.color}));return{id:n.id,label:n.label,logo:e.logo,packageName:e.packageName,homepage:e.homepage,timelineLayers:i}}function o1(t,r){return zb.find(e=>e.options.id===t&&(r?e.descriptor.app===r:!0))}function gz(t){const r=o1(t);return r?.options.actions}function hz(t){const r=o1(t);return r?.options.nodeActions}var LF=(t=>(t.ADD_INSPECTOR="addInspector",t.SEND_INSPECTOR_TREE="sendInspectorTree",t.SEND_INSPECTOR_STATE="sendInspectorState",t.CUSTOM_INSPECTOR_SELECT_NODE="customInspectorSelectNode",t.TIMELINE_LAYER_ADDED="timelineLayerAdded",t.TIMELINE_EVENT_ADDED="timelineEventAdded",t.GET_COMPONENT_INSTANCES="getComponentInstances",t.GET_COMPONENT_BOUNDS="getComponentBounds",t.GET_COMPONENT_NAME="getComponentName",t.COMPONENT_HIGHLIGHT="componentHighlight",t.COMPONENT_UNHIGHLIGHT="componentUnhighlight",t))(LF||{}),Hs=(t=>(t.SEND_INSPECTOR_TREE_TO_CLIENT="sendInspectorTreeToClient",t.SEND_INSPECTOR_STATE_TO_CLIENT="sendInspectorStateToClient",t.SEND_TIMELINE_EVENT_TO_CLIENT="sendTimelineEventToClient",t.SEND_INSPECTOR_TO_CLIENT="sendInspectorToClient",t.SEND_ACTIVE_APP_UNMOUNTED_TO_CLIENT="sendActiveAppUpdatedToClient",t.DEVTOOLS_STATE_UPDATED="devtoolsStateUpdated",t.DEVTOOLS_CONNECTED_UPDATED="devtoolsConnectedUpdated",t.ROUTER_INFO_UPDATED="routerInfoUpdated",t))(Hs||{});function jse(){const t=UN();t.hook("addInspector",({inspector:n,plugin:i})=>{Bse(n,i.descriptor)});const r=as(async({inspectorId:n,plugin:i})=>{var o;if(!n||!((o=i?.descriptor)!=null&&o.app)||$t.highPerfModeEnabled)return;const a=o1(n,i.descriptor.app),s={app:i.descriptor.app,inspectorId:n,filter:a?.treeFilter||"",rootNodes:[]};await new Promise(l=>{t.callHookWith(async c=>{await Promise.all(c.map(u=>u(s))),l()},"getInspectorTree")}),t.callHookWith(async l=>{await Promise.all(l.map(c=>c({inspectorId:n,rootNodes:s.rootNodes})))},"sendInspectorTreeToClient")},120);t.hook("sendInspectorTree",r);const e=as(async({inspectorId:n,plugin:i})=>{var o;if(!n||!((o=i?.descriptor)!=null&&o.app)||$t.highPerfModeEnabled)return;const a=o1(n,i.descriptor.app),s={app:i.descriptor.app,inspectorId:n,nodeId:a?.selectedNodeId||"",state:null},l={currentTab:`custom-inspector:${n}`};s.nodeId&&await new Promise(c=>{t.callHookWith(async u=>{await Promise.all(u.map(g=>g(s,l))),c()},"getInspectorState")}),t.callHookWith(async c=>{await Promise.all(c.map(u=>u({inspectorId:n,nodeId:s.nodeId,state:s.state})))},"sendInspectorStateToClient")},120);return t.hook("sendInspectorState",e),t.hook("customInspectorSelectNode",({inspectorId:n,nodeId:i,plugin:o})=>{const a=o1(n,o.descriptor.app);a&&(a.selectedNodeId=i)}),t.hook("timelineLayerAdded",({options:n,plugin:i})=>{Dse(n,i.descriptor)}),t.hook("timelineEventAdded",({options:n,plugin:i})=>{var o;const a=["performance","component-event","keyboard","mouse"];$t.highPerfModeEnabled||!((o=$t.timelineLayersState)!=null&&o[i.descriptor.id])&&!a.includes(n.layerId)||t.callHookWith(async s=>{await Promise.all(s.map(l=>l(n)))},"sendTimelineEventToClient")}),t.hook("getComponentInstances",async({app:n})=>{const i=n.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(!i)return null;const o=i.id.toString();return[...i.instanceMap].filter(([s])=>s.split(":")[0]===o).map(([,s])=>s)}),t.hook("getComponentBounds",async({instance:n})=>Ql(n)),t.hook("getComponentName",({instance:n})=>Uo(n)),t.hook("componentHighlight",({uid:n})=>{const i=Pt.value.instanceMap.get(n);i&&Sse(i)}),t.hook("componentUnhighlight",()=>{zF()}),t}var dz,fz;(fz=(dz=ae).__VUE_DEVTOOLS_KIT_APP_RECORDS__)!=null||(dz.__VUE_DEVTOOLS_KIT_APP_RECORDS__=[]);var Cz,vz;(vz=(Cz=ae).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__)!=null||(Cz.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__={});var Az,Iz;(Iz=(Az=ae).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__)!=null||(Az.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__="");var pz,mz;(mz=(pz=ae).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__)!=null||(pz.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__=[]);var yz,bz;(bz=(yz=ae).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__)!=null||(yz.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__=[]);var ia="__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";function Use(){return{connected:!1,clientConnected:!1,vitePluginDetected:!0,appRecords:[],activeAppRecordId:"",tabs:[],commands:[],highPerfModeEnabled:!0,devtoolsClientDetected:{},perfUniqueGroupId:0,timelineLayersState:Rse()}}var wz,$z;($z=(wz=ae)[ia])!=null||(wz[ia]=Use());var Gse=as(t=>{ba.hooks.callHook("devtoolsStateUpdated",{state:t})}),Wse=as((t,r)=>{ba.hooks.callHook("devtoolsConnectedUpdated",{state:t,oldState:r})}),_1=new Proxy(ae.__VUE_DEVTOOLS_KIT_APP_RECORDS__,{get(t,r,e){return r==="value"?ae.__VUE_DEVTOOLS_KIT_APP_RECORDS__:ae.__VUE_DEVTOOLS_KIT_APP_RECORDS__[r]}}),Zse=t=>{ae.__VUE_DEVTOOLS_KIT_APP_RECORDS__=[...ae.__VUE_DEVTOOLS_KIT_APP_RECORDS__,t]},Kse=t=>{ae.__VUE_DEVTOOLS_KIT_APP_RECORDS__=_1.value.filter(r=>r.app!==t)},Pt=new Proxy(ae.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__,{get(t,r,e){return r==="value"?ae.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__:r==="id"?ae.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__:ae.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[r]}});function Sb(){Gse({...ae[ia],appRecords:_1.value,activeAppRecordId:Pt.id,tabs:ae.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,commands:ae.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__})}function W6(t){ae.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__=t,Sb()}function kF(t){ae.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__=t,Sb()}var $t=new Proxy(ae[ia],{get(t,r){return r==="appRecords"?_1:r==="activeAppRecordId"?Pt.id:r==="tabs"?ae.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__:r==="commands"?ae.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__:ae[ia][r]},deleteProperty(t,r){return delete t[r],!0},set(t,r,e){return{...ae[ia]},t[r]=e,ae[ia][r]=e,!0}});function zh(t){const r={...ae[ia],appRecords:_1.value,activeAppRecordId:Pt.id};(r.connected!==t.connected&&t.connected||r.clientConnected!==t.clientConnected&&t.clientConnected)&&Wse(ae[ia],r),Object.assign(ae[ia],t),Sb()}function Yse(t){zh({clientConnected:t})}function Xse(t={}){var r,e,n;const{file:i,host:o,baseUrl:a=window.location.origin,line:s=0,column:l=0}=t;if(i){if(o==="chrome-extension"){const c=i.replace(/\\/g,"\\\\"),u=(e=(r=window.VUE_DEVTOOLS_CONFIG)==null?void 0:r.openInEditorHost)!=null?e:"/";fetch(`${u}__open-in-editor?file=${encodeURI(i)}`).then(g=>{if(!g.ok){const h=`Opening component ${c} failed`;console.log(`%c${h}`,"color:red")}})}else if($t.vitePluginDetected){const c=(n=ae.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__)!=null?n:a;ae.__VUE_INSPECTOR__.openInEditor(c,i,s,l)}}}se();se();se();se();se();var _z,Mz;(Mz=(_z=ae).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__)!=null||(_z.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__=[]);var hf=new Proxy(ae.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__,{get(t,r,e){return Reflect.get(t,r,e)}});function qse(t,r){hf.push([t,r])}function Z6(t){const r={};return Object.keys(t).forEach(e=>{r[e]=t[e].defaultValue}),r}function Tb(t){return`__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${t}__`}function Qse(t){var r,e,n;const i=(e=(r=hf.find(o=>{var a;return o[0].id===t&&!!((a=o[0])!=null&&a.settings)}))==null?void 0:r[0])!=null?e:null;return(n=i?.settings)!=null?n:null}function OF(t,r){var e,n,i;const o=Tb(t);if(o){const a=localStorage.getItem(o);if(a)return JSON.parse(a)}if(t){const a=(n=(e=hf.find(s=>s[0].id===t))==null?void 0:e[0])!=null?n:null;return Z6((i=a?.settings)!=null?i:{})}return Z6(r)}function xF(t,r){const e=Tb(t);localStorage.getItem(e)||localStorage.setItem(e,JSON.stringify(Z6(r)))}function Jse(t,r,e){const n=Tb(t),i=localStorage.getItem(n),o=JSON.parse(i||"{}"),a={...o,[r]:e};localStorage.setItem(n,JSON.stringify(a)),ba.hooks.callHookWith(s=>{s.forEach(l=>l({pluginId:t,key:r,oldValue:o[r],newValue:e,settings:a}))},"setPluginSettings")}se();se();se();se();se();se();se();se();se();se();se();var zz,Ez,pr=(Ez=(zz=ae).__VUE_DEVTOOLS_HOOK)!=null?Ez:zz.__VUE_DEVTOOLS_HOOK=UN(),e1e={vueAppInit(t){pr.hook("app:init",t)},vueAppUnmount(t){pr.hook("app:unmount",t)},vueAppConnected(t){pr.hook("app:connected",t)},componentAdded(t){return pr.hook("component:added",t)},componentEmit(t){return pr.hook("component:emit",t)},componentUpdated(t){return pr.hook("component:updated",t)},componentRemoved(t){return pr.hook("component:removed",t)},setupDevtoolsPlugin(t){pr.hook("devtools-plugin:setup",t)},perfStart(t){return pr.hook("perf:start",t)},perfEnd(t){return pr.hook("perf:end",t)}};function Sz(){return{id:"vue-devtools-next",devtoolsVersion:"7.0",enabled:!1,appRecords:[],apps:[],events:new Map,on(t,r){var e;return this.events.has(t)||this.events.set(t,[]),(e=this.events.get(t))==null||e.push(r),()=>this.off(t,r)},once(t,r){const e=(...n)=>{this.off(t,e),r(...n)};return this.on(t,e),[t,e]},off(t,r){if(this.events.has(t)){const e=this.events.get(t),n=e.indexOf(r);n!==-1&&e.splice(n,1)}},emit(t,...r){this.events.has(t)&&this.events.get(t).forEach(e=>e(...r))}}}function t1e(){const t=ae.__VUE_DEVTOOLS_GLOBAL_HOOK__;t.on("app:init",(r,e,n)=>{var i,o,a;(a=(o=(i=r?._instance)==null?void 0:i.type)==null?void 0:o.devtools)!=null&&a.hide||pr.callHook("app:init",r,e,n)}),t.on("app:unmount",r=>{pr.callHook("app:unmount",r)}),t.on("component:added",async(r,e,n,i)=>{var o,a,s;(s=(a=(o=r?._instance)==null?void 0:o.type)==null?void 0:a.devtools)!=null&&s.hide||$t.highPerfModeEnabled||!r||typeof e!="number"&&!e||!i||pr.callHook("component:added",r,e,n,i)}),t.on("component:updated",(r,e,n,i)=>{!r||typeof e!="number"&&!e||!i||$t.highPerfModeEnabled||pr.callHook("component:updated",r,e,n,i)}),t.on("component:removed",async(r,e,n,i)=>{!r||typeof e!="number"&&!e||!i||$t.highPerfModeEnabled||pr.callHook("component:removed",r,e,n,i)}),t.on("component:emit",async(r,e,n,i)=>{!r||!e||$t.highPerfModeEnabled||pr.callHook("component:emit",r,e,n,i)}),t.on("perf:start",(r,e,n,i,o)=>{!r||$t.highPerfModeEnabled||pr.callHook("perf:start",r,e,n,i,o)}),t.on("perf:end",(r,e,n,i,o)=>{!r||$t.highPerfModeEnabled||pr.callHook("perf:end",r,e,n,i,o)}),t.on("devtools-plugin:setup",(r,e,n)=>{n?.target!=="legacy"&&pr.callHook("devtools-plugin:setup",r,e)})}var so={on:e1e,setupDevToolsPlugin(t,r){return pr.callHook("devtools-plugin:setup",t,r)}},r1e=class{constructor({plugin:t,ctx:r}){this.hooks=r.hooks,this.plugin=t}get on(){return{visitComponentTree:t=>{this.hooks.hook("visitComponentTree",t)},inspectComponent:t=>{this.hooks.hook("inspectComponent",t)},editComponentState:t=>{this.hooks.hook("editComponentState",t)},getInspectorTree:t=>{this.hooks.hook("getInspectorTree",t)},getInspectorState:t=>{this.hooks.hook("getInspectorState",t)},editInspectorState:t=>{this.hooks.hook("editInspectorState",t)},inspectTimelineEvent:t=>{this.hooks.hook("inspectTimelineEvent",t)},timelineCleared:t=>{this.hooks.hook("timelineCleared",t)},setPluginSettings:t=>{this.hooks.hook("setPluginSettings",t)}}}notifyComponentUpdate(t){var r;const e=Eb().find(n=>n.packageName===this.plugin.descriptor.packageName);if(e?.id){if(t){const n=[t.appContext.app,t.uid,(r=t.parent)==null?void 0:r.uid,t];pr.callHook("component:updated",...n)}else pr.callHook("component:updated");this.hooks.callHook("sendInspectorState",{inspectorId:e.id,plugin:this.plugin})}}addInspector(t){this.hooks.callHook("addInspector",{inspector:t,plugin:this.plugin}),this.plugin.descriptor.settings&&xF(t.id,this.plugin.descriptor.settings)}sendInspectorTree(t){this.hooks.callHook("sendInspectorTree",{inspectorId:t,plugin:this.plugin})}sendInspectorState(t){this.hooks.callHook("sendInspectorState",{inspectorId:t,plugin:this.plugin})}selectInspectorNode(t,r){this.hooks.callHook("customInspectorSelectNode",{inspectorId:t,nodeId:r,plugin:this.plugin})}visitComponentTree(t){return this.hooks.callHook("visitComponentTree",t)}now(){return Date.now()}addTimelineLayer(t){this.hooks.callHook("timelineLayerAdded",{options:t,plugin:this.plugin})}addTimelineEvent(t){this.hooks.callHook("timelineEventAdded",{options:t,plugin:this.plugin})}getSettings(t){return OF(t??this.plugin.descriptor.id,this.plugin.descriptor.settings)}getComponentInstances(t){return this.hooks.callHook("getComponentInstances",{app:t})}getComponentBounds(t){return this.hooks.callHook("getComponentBounds",{instance:t})}getComponentName(t){return this.hooks.callHook("getComponentName",{instance:t})}highlightElement(t){const r=t.__VUE_DEVTOOLS_NEXT_UID__;return this.hooks.callHook("componentHighlight",{uid:r})}unhighlightElement(){return this.hooks.callHook("componentUnhighlight")}},n1e=r1e;se();se();se();se();var i1e=new Set(["nextTick","defineComponent","defineAsyncComponent","defineCustomElement","ref","computed","reactive","readonly","watchEffect","watchPostEffect","watchSyncEffect","watch","isRef","unref","toRef","toRefs","isProxy","isReactive","isReadonly","shallowRef","triggerRef","customRef","shallowReactive","shallowReadonly","toRaw","markRaw","effectScope","getCurrentScope","onScopeDispose","onMounted","onUpdated","onUnmounted","onBeforeMount","onBeforeUpdate","onBeforeUnmount","onErrorCaptured","onRenderTracked","onRenderTriggered","onActivated","onDeactivated","onServerPrefetch","provide","inject","h","mergeProps","cloneVNode","isVNode","resolveComponent","resolveDirective","withDirectives","withModifiers"]),Tz=/^\[native Symbol Symbol\((.*)\)\]$/,o1e=/^\[object (\w+)\]$/,Mv=/^\[native (\w+) (.*?)(<>(([\s\S])*))?\]$/,a1e=/^(?:function|class) (\w+)/,Lz=1e4,kz=5e3,Zu="__vue_devtool_undefined__",df="__vue_devtool_infinity__",ff="__vue_devtool_negative_infinity__",Cf="__vue_devtool_nan__",s1e={"<":"<",">":">",'"':""","&":"&"};se();se();function HF(t){return!no(t,"_")||!tI(t._)?!1:Object.keys(t._).includes("vnode")}function tI(t){return Object.prototype.toString.call(t)==="[object Object]"}function l1e(t){if(t==null)return!0;const r=typeof t;return r==="string"||r==="number"||r==="boolean"}function VF(t){return!!t.__v_isRef}function c1e(t){return VF(t)&&!!t.effect}function u1e(t){return!!t.__v_isReactive}function g1e(t){return!!t.__v_isReadonly}var zv={[Zu]:"undefined",[Cf]:"NaN",[df]:"Infinity",[ff]:"-Infinity"},fp=Object.entries(zv).reduce((t,[r,e])=>(t[e]=r,t),{});function h1e(t){return t===null?"null":typeof t=="string"&&zv[t]||!1}function d1e(t){const r=new RegExp(`"(${Object.keys(zv).join("|")})"`,"g");return t.replace(r,(e,n)=>zv[n])}function f1e(t){const r=fp[t.trim()];if(r)return`"${r}"`;const e=new RegExp(`:\\s*(${Object.keys(fp).join("|")})`,"g");return t.replace(e,(n,i)=>`:"${fp[i]}"`)}function PF(t){if(Array.isArray(t))return t.map(e=>PF(e)).join(" or ");if(t==null)return"null";const r=t.toString().match(a1e);return typeof t=="function"&&r&&r[1]||"any"}function C1e(t){return!l1e(t)&&!Array.isArray(t)&&!tI(t)?Object.prototype.toString.call(t):t}function RF(t){return{ref:VF(t),computed:c1e(t),reactive:u1e(t),readonly:g1e(t)}}function DF(t){return t?.__v_raw?t.__v_raw:t}function Lb(t){return t.replace(/[<>"&]/g,r=>s1e[r]||r)}function Ev(t,r,e){if(typeof r=="function"&&(r=r.options),!r)return t;const{mixins:n,extends:i}=r;i&&Ev(t,i),n&&n.forEach(o=>Ev(t,o));for(const o of["computed","inject"])Object.prototype.hasOwnProperty.call(r,o)&&(t[o]?Object.assign(t[o],r[o]):t[o]=r[o]);return t}function v1e(t){const r=t?.type;if(!r)return{};const{mixins:e,extends:n}=r,i=t.appContext.mixins;if(!i.length&&!e&&!n)return r;const o={};return i.forEach(a=>Ev(o,a)),Ev(o,r),o}function A1e(t){const r=[],e=t.type.props;for(const n in t.props){const i=e?e[n]:null,o=Jne(n);r.push({type:"props",key:o,value:P1(()=>t.props[n]),meta:i?{type:i.type?PF(i.type):"any",required:!!i.required,...i.default?{default:i.default.toString()}:{}}:{type:"invalid"}})}return r}function I1e(t){const r=t.type,e=r.props,n=r.vuex&&r.vuex.getters,i=r.computed,o={...t.data,...t.renderContext};return Object.keys(o).filter(a=>!(e&&a in e)&&!(n&&a in n)&&!(i&&a in i)).map(a=>({key:a,type:"data",value:P1(()=>o[a]),editable:!0}))}function p1e(t){const r=t.computed?"computed":t.ref?"ref":t.reactive?"reactive":null,e=r?`${r.charAt(0).toUpperCase()}${r.slice(1)}`:null;return{stateType:r,stateTypeName:e}}function m1e(t){const r=t.devtoolsRawSetupState||{};return Object.keys(t.setupState).filter(e=>!i1e.has(e)&&e.split(/(?=[A-Z])/)[0]!=="use").map(e=>{var n,i,o,a;const s=P1(()=>DF(t.setupState[e])),l=r[e];let c,u=typeof s=="function"||no(s,"render")&&typeof s.render=="function"||no(s,"__asyncLoader")&&typeof s.__asyncLoader=="function"||typeof s=="object"&&s&&("setup"in s||"props"in s)||/^v[A-Z]/.test(e);if(l){const h=RF(l),{stateType:d,stateTypeName:f}=p1e(h),C=h.ref||h.computed||h.reactive,v=no(l,"effect")?((i=(n=l.effect)==null?void 0:n.raw)==null?void 0:i.toString())||((a=(o=l.effect)==null?void 0:o.fn)==null?void 0:a.toString()):null;d&&(u=!1),c={...d?{stateType:d,stateTypeName:f}:{},...v?{raw:v}:{},editable:C&&!h.readonly}}return{key:e,value:s,type:u?"setup (other)":"setup",...c}})}function y1e(t,r){const e=r,n=[],i=e.computed||{};for(const o in i){const a=i[o],s=typeof a=="function"&&a.vuex?"vuex bindings":"computed";n.push({type:s,key:o,value:P1(()=>{var l;return(l=t?.proxy)==null?void 0:l[o]}),editable:typeof a.set=="function"})}return n}function b1e(t){return Object.keys(t.attrs).map(r=>({type:"attrs",key:r,value:P1(()=>t.attrs[r])}))}function w1e(t){return Reflect.ownKeys(t.provides).map(r=>({type:"provided",key:r.toString(),value:P1(()=>t.provides[r])}))}function $1e(t,r){if(!r?.inject)return[];let e=[],n;return Array.isArray(r.inject)?e=r.inject.map(i=>({key:i,originalKey:i})):e=Reflect.ownKeys(r.inject).map(i=>{const o=r.inject[i];let a;return typeof o=="string"||typeof o=="symbol"?a=o:(a=o.from,n=o.default),{key:i,originalKey:a}}),e.map(({key:i,originalKey:o})=>({type:"injected",key:o&&i!==o?`${o.toString()} ➞ ${i.toString()}`:i.toString(),value:P1(()=>t.ctx.hasOwnProperty(i)?t.ctx[i]:t.provides.hasOwnProperty(o)?t.provides[o]:n)}))}function _1e(t){return Object.keys(t.refs).map(r=>({type:"template refs",key:r,value:P1(()=>t.refs[r])}))}function M1e(t){var r,e;const n=t.type.emits,i=Array.isArray(n)?n:Object.keys(n??{}),o=Object.keys((e=(r=t?.vnode)==null?void 0:r.props)!=null?e:{}),a=[];for(const s of o){const[l,...c]=s.split(/(?=[A-Z])/);if(l==="on"){const u=c.join("-").toLowerCase(),g=i.includes(u);a.push({type:"event listeners",key:u,value:{_custom:{displayText:g?"✅ Declared":"⚠️ Not declared",key:g?"✅ Declared":"⚠️ Not declared",value:g?"✅ Declared":"⚠️ Not declared",tooltipText:g?null:`The event <code>${u}</code> is not declared in the <code>emits</code> option. It will leak into the component's attributes (<code>$attrs</code>).`}}})}}return a}function NF(t){const r=v1e(t);return A1e(t).concat(I1e(t),m1e(t),y1e(t,r),b1e(t),w1e(t),$1e(t,r),_1e(t),M1e(t))}function z1e(t){var r;const e=lu(Pt.value,t.instanceId),n=mF(e),i=Uo(e),o=(r=e?.type)==null?void 0:r.__file,a=NF(e);return{id:n,name:i,file:o,state:a,instance:e}}se();se();var E1e=class{constructor(t){this.filter=t||""}isQualified(t){const r=Uo(t);return BN(r).toLowerCase().includes(this.filter)||eie(r).toLowerCase().includes(this.filter)}};function S1e(t){return new E1e(t)}var T1e=class{constructor(t){this.captureIds=new Map;const{filterText:r="",maxDepth:e,recursively:n,api:i}=t;this.componentFilter=S1e(r),this.maxDepth=e,this.recursively=n,this.api=i}getComponentTree(t){return this.captureIds=new Map,this.findQualifiedChildren(t,0)}getComponentParents(t){this.captureIds=new Map;const r=[];this.captureId(t);let e=t;for(;e=e.parent;)this.captureId(e),r.push(e);return r}captureId(t){if(!t)return null;const r=t.__VUE_DEVTOOLS_NEXT_UID__!=null?t.__VUE_DEVTOOLS_NEXT_UID__:mF(t);return t.__VUE_DEVTOOLS_NEXT_UID__=r,this.captureIds.has(r)?null:(this.captureIds.set(r,void 0),this.mark(t),r)}async capture(t,r){var e;if(!t)return null;const n=this.captureId(t),i=Uo(t),o=this.getInternalInstanceChildren(t.subTree).filter(g=>!dp(g)),a=this.getComponentParents(t)||[],s=!!t.isDeactivated||a.some(g=>g.isDeactivated),l={uid:t.uid,id:n,name:i,renderKey:fse(t.vnode?t.vnode.key:null),inactive:s,children:[],isFragment:wb(t),tags:typeof t.type!="function"?[]:[{label:"functional",textColor:5592405,backgroundColor:15658734}],autoOpen:this.recursively,file:t.type.__file||""};if((r<this.maxDepth||t.type.__isKeepAlive||a.some(g=>g.type.__isKeepAlive))&&(l.children=await Promise.all(o.map(g=>this.capture(g,r+1)).filter(Boolean))),this.isKeepAlive(t)){const g=this.getKeepAliveCachedInstances(t),h=o.map(d=>d.__VUE_DEVTOOLS_NEXT_UID__);for(const d of g)if(!h.includes(d.__VUE_DEVTOOLS_NEXT_UID__)){const f=await this.capture({...d,isDeactivated:!0},r+1);f&&l.children.push(f)}}const u=ud(t)[0];if(u?.parentElement){const g=t.parent,h=g?ud(g):[];let d=u;const f=[];do f.push(Array.from(d.parentElement.childNodes).indexOf(d)),d=d.parentElement;while(d.parentElement&&h.length&&!h.includes(d));l.domOrder=f.reverse()}else l.domOrder=[-1];return(e=t.suspense)!=null&&e.suspenseKey&&(l.tags.push({label:t.suspense.suspenseKey,backgroundColor:14979812,textColor:16777215}),this.mark(t,!0)),this.api.visitComponentTree({treeNode:l,componentInstance:t,app:t.appContext.app,filter:this.componentFilter.filter}),l}async findQualifiedChildren(t,r){var e;if(this.componentFilter.isQualified(t)&&!((e=t.type.devtools)!=null&&e.hide))return[await this.capture(t,r)];if(t.subTree){const n=this.isKeepAlive(t)?this.getKeepAliveCachedInstances(t):this.getInternalInstanceChildren(t.subTree);return this.findQualifiedChildrenFromList(n,r)}else return[]}async findQualifiedChildrenFromList(t,r){return t=t.filter(e=>{var n;return!dp(e)&&!((n=e.type.devtools)!=null&&n.hide)}),this.componentFilter.filter?Array.prototype.concat.apply([],await Promise.all(t.map(e=>this.findQualifiedChildren(e,r)))):Promise.all(t.map(e=>this.capture(e,r)))}getInternalInstanceChildren(t,r=null){const e=[];if(t)if(t.component)r?e.push({...t.component,suspense:r}):e.push(t.component);else if(t.suspense){const n=t.suspense.isInFallback?"suspense fallback":"suspense default";e.push(...this.getInternalInstanceChildren(t.suspense.activeBranch,{...t.suspense,suspenseKey:n}))}else Array.isArray(t.children)&&t.children.forEach(n=>{n.component?r?e.push({...n.component,suspense:r}):e.push(n.component):e.push(...this.getInternalInstanceChildren(n,r))});return e.filter(n=>{var i;return!dp(n)&&!((i=n.type.devtools)!=null&&i.hide)})}mark(t,r=!1){const e=Lo(t).instanceMap;(r||!e.has(t.__VUE_DEVTOOLS_NEXT_UID__))&&(e.set(t.__VUE_DEVTOOLS_NEXT_UID__,t),Pt.value.instanceMap=e)}isKeepAlive(t){return t.type.__isKeepAlive&&t.__v_cache}getKeepAliveCachedInstances(t){return Array.from(t.__v_cache.values()).map(r=>r.component).filter(Boolean)}};se();se();var S5=new Map,kb="performance";async function L1e(t,r,e,n,i,o){const a=await Lo(r);if(!a)return;const s=Uo(n)||"Unknown Component",l=$t.perfUniqueGroupId++,c=`${e}-${i}`;if(a.perfGroupIds.set(c,{groupId:l,time:o}),await t.addTimelineEvent({layerId:kb,event:{time:Date.now(),data:{component:s,type:i,measure:"start"},title:s,subtitle:i,groupId:l}}),S5.has(c)){const{app:u,uid:g,instance:h,type:d,time:f}=S5.get(c);S5.delete(c),await BF(t,u,g,h,d,f)}}function BF(t,r,e,n,i,o){const a=Lo(r);if(!a)return;const s=Uo(n)||"Unknown Component",l=`${e}-${i}`,c=a.perfGroupIds.get(l);if(c){const u=c.groupId,g=c.time,h=o-g;t.addTimelineEvent({layerId:kb,event:{time:Date.now(),data:{component:s,type:i,measure:"end",duration:{_custom:{type:"Duration",value:h,display:`${h} ms`}}},title:s,subtitle:i,groupId:u}})}else S5.set(l,{app:r,uid:e,instance:n,type:i,time:o})}var Oz="component-event";function k1e(t){Uu&&(t.addTimelineLayer({id:"mouse",label:"Mouse",color:10768815}),["mousedown","mouseup","click","dblclick"].forEach(r=>{!$t.timelineLayersState.recordingState||!$t.timelineLayersState.mouseEventEnabled||window.addEventListener(r,async e=>{await t.addTimelineEvent({layerId:"mouse",event:{time:Date.now(),data:{type:r,x:e.clientX,y:e.clientY},title:r}})},{capture:!0,passive:!0})}),t.addTimelineLayer({id:"keyboard",label:"Keyboard",color:8475055}),["keyup","keydown","keypress"].forEach(r=>{window.addEventListener(r,async e=>{!$t.timelineLayersState.recordingState||!$t.timelineLayersState.keyboardEventEnabled||await t.addTimelineEvent({layerId:"keyboard",event:{time:Date.now(),data:{type:r,key:e.key,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey},title:e.key}})},{capture:!0,passive:!0})}),t.addTimelineLayer({id:Oz,label:"Component events",color:5226637}),so.on.componentEmit(async(r,e,n,i)=>{if(!$t.timelineLayersState.recordingState||!$t.timelineLayersState.componentEventEnabled)return;const o=await Lo(r);if(!o)return;const a=`${o.id}:${e.uid}`,s=Uo(e)||"Unknown Component";t.addTimelineEvent({layerId:Oz,event:{time:Date.now(),data:{component:{_custom:{type:"component-definition",display:s}},event:n,params:i},title:n,subtitle:`by ${s}`,meta:{componentId:a}}})}),t.addTimelineLayer({id:"performance",label:kb,color:4307050}),so.on.perfStart((r,e,n,i,o)=>{!$t.timelineLayersState.recordingState||!$t.timelineLayersState.performanceEventEnabled||L1e(t,r,e,n,i,o)}),so.on.perfEnd((r,e,n,i,o)=>{!$t.timelineLayersState.recordingState||!$t.timelineLayersState.performanceEventEnabled||BF(t,r,e,n,i,o)}))}se();var O1e=10,cl=[];function x1e(t){if(typeof window>"u")return;const r=window;if(t&&(r.$vm=t,cl[0]!==t)){cl.length>=O1e&&cl.pop();for(let e=cl.length;e>0;e--)r[`$vm${e}`]=cl[e]=cl[e-1];r.$vm0=cl[0]=t}}var ul="components";function H1e(t){return[{id:ul,label:"Components",app:t},n=>{n.addInspector({id:ul,label:"Components",treeFilterPlaceholder:"Search components"}),k1e(n),n.on.getInspectorTree(async a=>{if(a.app===t&&a.inspectorId===ul){const s=lu(Pt.value,a.instanceId);if(s){const l=new T1e({filterText:a.filter,maxDepth:100,recursively:!1,api:n});a.rootNodes=await l.getComponentTree(s)}}}),n.on.getInspectorState(async a=>{var s;if(a.app===t&&a.inspectorId===ul){const l=z1e({instanceId:a.nodeId}),c=l.instance,u=(s=l.instance)==null?void 0:s.appContext.app,g={componentInstance:c,app:u,instanceData:l};ba.hooks.callHookWith(h=>{h.forEach(d=>d(g))},"inspectComponent"),a.state=l,x1e(c)}}),n.on.editInspectorState(async a=>{a.app===t&&a.inspectorId===ul&&(Ise(a),await n.sendInspectorState("components"))});const i=as(()=>{n.sendInspectorTree(ul)},120),o=as(()=>{n.sendInspectorState(ul)},120);so.on.componentAdded(async(a,s,l,c)=>{var u,g,h;if($t.highPerfModeEnabled||(h=(g=(u=a?._instance)==null?void 0:u.type)==null?void 0:g.devtools)!=null&&h.hide||!a||typeof s!="number"&&!s||!c)return;const d=await E5({app:a,uid:s,instance:c}),f=await Lo(a);c&&(c.__VUE_DEVTOOLS_NEXT_UID__==null&&(c.__VUE_DEVTOOLS_NEXT_UID__=d),f?.instanceMap.has(d)||(f?.instanceMap.set(d,c),Pt.value.id===f?.id&&(Pt.value.instanceMap=f.instanceMap))),f&&i()}),so.on.componentUpdated(async(a,s,l,c)=>{var u,g,h;if($t.highPerfModeEnabled||(h=(g=(u=a?._instance)==null?void 0:u.type)==null?void 0:g.devtools)!=null&&h.hide||!a||typeof s!="number"&&!s||!c)return;const d=await E5({app:a,uid:s,instance:c}),f=await Lo(a);c&&(c.__VUE_DEVTOOLS_NEXT_UID__==null&&(c.__VUE_DEVTOOLS_NEXT_UID__=d),f?.instanceMap.has(d)||(f?.instanceMap.set(d,c),Pt.value.id===f?.id&&(Pt.value.instanceMap=f.instanceMap))),f&&(i(),o())}),so.on.componentRemoved(async(a,s,l,c)=>{var u,g,h;if($t.highPerfModeEnabled||(h=(g=(u=a?._instance)==null?void 0:u.type)==null?void 0:g.devtools)!=null&&h.hide||!a||typeof s!="number"&&!s||!c)return;const d=await Lo(a);if(!d)return;const f=await E5({app:a,uid:s,instance:c});d?.instanceMap.delete(f),Pt.value.id===d?.id&&(Pt.value.instanceMap=d.instanceMap),i()})}]}var xz,Hz;(Hz=(xz=ae).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__)!=null||(xz.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__=new Set);function V1e(t,r){return so.setupDevToolsPlugin(t,r)}function FF(t,r){const[e,n]=t;if(e.app!==r)return;const i=new n1e({plugin:{setupFn:n,descriptor:e},ctx:ba});e.packageName==="vuex"&&i.on.editInspectorState(o=>{i.sendInspectorState(o.inspectorId)}),n(i)}function P1e(t){ae.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.delete(t)}function jF(t){ae.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(t)||(ae.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(t),hf.forEach(r=>{FF(r,t)}))}se();se();var gd="__VUE_DEVTOOLS_ROUTER__",cu="__VUE_DEVTOOLS_ROUTER_INFO__",Vz,Pz;(Pz=(Vz=ae)[cu])!=null||(Vz[cu]={currentRoute:null,routes:[]});var Rz,Dz;(Dz=(Rz=ae)[gd])!=null||(Rz[gd]={});var R1e=new Proxy(ae[cu],{get(t,r){return ae[cu][r]}}),Nz=new Proxy(ae[gd],{get(t,r){if(r==="value")return ae[gd]}});function D1e(t){const r=new Map;return(t?.getRoutes()||[]).filter(e=>!r.has(e.path)&&r.set(e.path,1))}function Ob(t){return t.map(r=>{let{path:e,name:n,children:i,meta:o}=r;return i?.length&&(i=Ob(i)),{path:e,name:n,children:i,meta:o}})}function N1e(t){if(t){const{fullPath:r,hash:e,href:n,path:i,name:o,matched:a,params:s,query:l}=t;return{fullPath:r,hash:e,href:n,path:i,name:o,params:s,query:l,matched:Ob(a)}}return t}function UF(t,r){function e(){var n;const i=(n=t.app)==null?void 0:n.config.globalProperties.$router,o=N1e(i?.currentRoute.value),a=Ob(D1e(i)),s=console.warn;console.warn=()=>{},ae[cu]={currentRoute:o?Cv(o):{},routes:Cv(a)},ae[gd]=i,console.warn=s}e(),so.on.componentUpdated(as(()=>{var n;((n=r.value)==null?void 0:n.app)===t.app&&(e(),!$t.highPerfModeEnabled&&ba.hooks.callHook("routerInfoUpdated",{state:ae[cu]}))},200))}function B1e(t){return{async getInspectorTree(r){const e={...r,app:Pt.value.app,rootNodes:[]};return await new Promise(n=>{t.callHookWith(async i=>{await Promise.all(i.map(o=>o(e))),n()},"getInspectorTree")}),e.rootNodes},async getInspectorState(r){const e={...r,app:Pt.value.app,state:null},n={currentTab:`custom-inspector:${r.inspectorId}`};return await new Promise(i=>{t.callHookWith(async o=>{await Promise.all(o.map(a=>a(e,n))),i()},"getInspectorState")}),e.state},editInspectorState(r){const e=new yF,n={...r,app:Pt.value.app,set:(i,o=r.path,a=r.state.value,s)=>{e.set(i,o,a,s||e.createDefaultSetCallback(r.state))}};t.callHookWith(i=>{i.forEach(o=>o(n))},"editInspectorState")},sendInspectorState(r){const e=o1(r);t.callHook("sendInspectorState",{inspectorId:r,plugin:{descriptor:e.descriptor,setupFn:()=>({})}})},inspectComponentInspector(){return kse()},cancelInspectComponentInspector(){return Lse()},getComponentRenderCode(r){const e=lu(Pt.value,r);if(e)return e?.type instanceof Function?e.type.toString():e.render.toString()},scrollToComponent(r){return Ose({id:r})},openInEditor:Xse,getVueInspector:Vse,toggleApp(r){const e=_1.value.find(n=>n.id===r);e&&(kF(r),W6(e),UF(e,Pt),TF(),jF(e.app))},inspectDOM(r){const e=lu(Pt.value,r);if(e){const[n]=ud(e);n&&(ae.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__=n)}},updatePluginSettings(r,e,n){Jse(r,e,n)},getPluginSettings(r){return{options:Qse(r),values:OF(r)}}}}se();var Bz,Fz;(Fz=(Bz=ae).__VUE_DEVTOOLS_ENV__)!=null||(Bz.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});function F1e(){return ae.__VUE_DEVTOOLS_ENV__}var jz=jse(),Uz,Gz;(Gz=(Uz=ae).__VUE_DEVTOOLS_KIT_CONTEXT__)!=null||(Uz.__VUE_DEVTOOLS_KIT_CONTEXT__={hooks:jz,get state(){return{...$t,activeAppRecordId:Pt.id,activeAppRecord:Pt.value,appRecords:_1.value}},api:B1e(jz)});var ba=ae.__VUE_DEVTOOLS_KIT_CONTEXT__;se();var j1e=sse(cse()),Wz,Zz,qs=(Zz=(Wz=ae).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__)!=null?Zz:Wz.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__={id:0,appIds:new Set};function U1e(t,r){var e;return((e=t?._component)==null?void 0:e.name)||`App ${r}`}function G1e(t){var r,e,n,i;if(t._instance)return t._instance;if((e=(r=t._container)==null?void 0:r._vnode)!=null&&e.component)return(i=(n=t._container)==null?void 0:n._vnode)==null?void 0:i.component}function W1e(t){const r=t.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__;r!=null&&(qs.appIds.delete(r),qs.id--)}function Z1e(t,r){if(t.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__!=null)return t.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__;let e=r??(qs.id++).toString();if(r&&qs.appIds.has(e)){let n=1;for(;qs.appIds.has(`${r}_${n}`);)n++;e=`${r}_${n}`}return qs.appIds.add(e),t.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__=e,e}function K1e(t,r){const e=G1e(t);if(e){qs.id++;const n=U1e(t,qs.id.toString()),o={id:Z1e(t,(0,j1e.default)(n)),name:n,types:r,instanceMap:new Map,perfGroupIds:new Map,rootInstance:e};t.__VUE_DEVTOOLS_NEXT_APP_RECORD__=o;const a=`${o.id}:root`;return o.instanceMap.set(a,o.rootInstance),o.rootInstance.__VUE_DEVTOOLS_NEXT_UID__=a,o}else return{}}function Y1e(){var t;zh({vitePluginDetected:F1e().vitePluginDetected});const r=((t=ae.__VUE_DEVTOOLS_GLOBAL_HOOK__)==null?void 0:t.id)==="vue-devtools-next";ae.__VUE_DEVTOOLS_GLOBAL_HOOK__&&r||(ae.__VUE_DEVTOOLS_GLOBAL_HOOK__?Kne||Object.assign(__VUE_DEVTOOLS_GLOBAL_HOOK__,Sz()):ae.__VUE_DEVTOOLS_GLOBAL_HOOK__=Sz(),ae.__VUE_DEVTOOLS_GLOBAL_HOOK__.once("init",e=>{ae.__VUE_DEVTOOLS_VUE2_APP_DETECTED__=!0,console.log("%c[_____Vue DevTools v7 log_____]","color: red; font-bold: 600; font-size: 16px;"),console.log("%cVue DevTools v7 detected in your Vue2 project. v7 only supports Vue3 and will not work.","font-bold: 500; font-size: 14px;"),console.log("%cThe legacy version that supports both Vue 2 and Vue 3 has been moved to %c https://chromewebstore.google.com/detail/vuejs-devtools/iaajmlceplecbljialhhkmedjlpdblhp","font-size: 14px;","text-decoration: underline; cursor: pointer;font-size: 14px;"),console.log("%cPlease install and enable only the legacy version for your Vue2 app.","font-bold: 500; font-size: 14px;"),console.log("%c[_____Vue DevTools v7 log_____]","color: red; font-bold: 600; font-size: 16px;")}),so.on.setupDevtoolsPlugin((e,n)=>{var i;qse(e,n);const{app:o}=(i=Pt)!=null?i:{};e.settings&&xF(e.id,e.settings),o&&FF([e,n],o)}),use(()=>{hf.filter(([n])=>n.id!=="components").forEach(([n,i])=>{ae.__VUE_DEVTOOLS_GLOBAL_HOOK__.emit("devtools-plugin:setup",n,i,{target:"legacy"})})}),so.on.vueAppInit(async(e,n,i)=>{const a={...K1e(e,i),app:e,version:n};Zse(a),_1.value.length===1&&(W6(a),kF(a.id),UF(a,Pt),jF(a.app)),V1e(...H1e(a.app)),zh({connected:!0}),ae.__VUE_DEVTOOLS_GLOBAL_HOOK__.apps.push(e)}),so.on.vueAppUnmount(async e=>{const n=_1.value.filter(i=>i.app!==e);n.length===0&&zh({connected:!1}),Kse(e),W1e(e),Pt.value.app===e&&(W6(n[0]),ba.hooks.callHook("sendActiveAppUpdatedToClient")),ae.__VUE_DEVTOOLS_GLOBAL_HOOK__.apps.splice(ae.__VUE_DEVTOOLS_GLOBAL_HOOK__.apps.indexOf(e),1),P1e(e)}),t1e())}se();function X1e(t){$t.highPerfModeEnabled=t??!$t.highPerfModeEnabled}se();se();function q1e(t){const r=new Set,e=t._custom.value;for(let n=0;n<e.length;n++){const i=e[n];r.add(rI(i))}return r}function Q1e(t){const r=new Map,e=t._custom.value;for(let n=0;n<e.length;n++){const{key:i,value:o}=e[n];r.set(i,rI(o))}return r}function rI(t){if(t!==Zu){if(t===df)return Number.POSITIVE_INFINITY;if(t===ff)return Number.NEGATIVE_INFINITY;if(t===Cf)return Number.NaN;if(t&&t._custom){const{_custom:r}=t;return r.type==="component"?Pt.value.instanceMap.get(r.id):r.type==="map"?Q1e(t):r.type==="set"?q1e(t):r.type==="bigint"?BigInt(r.value):rI(r.value)}else if(Tz.test(t)){const[,r]=Tz.exec(t);return Symbol.for(r)}else if(Mv.test(t)){const[,r,e,,n]=Mv.exec(t),i=new ae[r](e);return r==="Error"&&n&&(i.stack=n),i}else return t}}function GF(t,r){return rI(r)}function hd(t,r=!0){const e=typeof t;if(t==null||t===Zu||t==="undefined")return"null";if(e==="boolean"||e==="number"||t===df||t===ff||t===Cf)return"literal";if(t?._custom)return r||t._custom.display!=null||t._custom.displayText!=null?"custom":hd(t._custom.value);if(typeof t=="string"){const n=Mv.exec(t);if(n){const[,i]=n;return`native ${i}`}else return"string"}else return Array.isArray(t)||t?._isArray?"array":tI(t)?"plain-object":"unknown"}function WF(t,r=!1,e){var n,i,o;const{customClass:a}=e??{};let s;const l=hd(t,!1);if(l!=="custom"&&t?._custom&&(t=t._custom.value),s=h1e(t))return s;if(l==="custom")return((n=t._custom.value)==null?void 0:n._custom)&&WF(t._custom.value,r,e)||t._custom.displayText||t._custom.display;if(l==="array")return`Array[${t.length}]`;if(l==="plain-object")return`Object${Object.keys(t).length?"":" (empty)"}`;if(l?.includes("native"))return Lb((i=Mv.exec(t))==null?void 0:i[2]);if(typeof t=="string"){const c=t.match(o1e);c?t=Wg(c[1]):r?t=`<span>"</span>${a?.string?`<span class=${a.string}>${Wg(t)}</span>`:Wg(t)}<span>"</span>`:t=a?.string?`<span class="${(o=a?.string)!=null?o:""}">${Wg(t)}</span>`:Wg(t)}return t}function Wg(t){return Lb(t).replace(/ /g," ").replace(/\n/g,"<span>\\n</span>")}function xb(t){var r,e,n;let i;const o=hd(t)==="custom";let a={};if(o){const s=t,l=(r=s._custom)==null?void 0:r.value,c=(e=s._custom)==null?void 0:e.type,u=typeof l=="object"&&l!==null&&"_custom"in l?xb(l):{inherit:void 0,value:void 0,customType:void 0};a=u.inherit||((n=s._custom)==null?void 0:n.fields)||{},t=u.value||l,i=u.customType||c}return t&&t._isArray&&(t=t.items),{value:t,inherit:a,customType:i}}function J1e(t,r){return r==="bigint"||r==="date"?t:d1e(JSON.stringify(t))}function T5(t,r){return r==="bigint"?BigInt(t):r==="date"?new Date(t):JSON.parse(f1e(t),GF)}se();function ZF(t){$t.devtoolsClientDetected={...$t.devtoolsClientDetected,...t};const r=Object.values($t.devtoolsClientDetected).some(Boolean);X1e(!r)}var Kz,Yz;(Yz=(Kz=ae).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__)!=null||(Kz.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__=ZF);se();se();se();se();se();se();se();var ele=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(t,r){this.keyToValue.set(t,r),this.valueToKey.set(r,t)}getByKey(t){return this.keyToValue.get(t)}getByValue(t){return this.valueToKey.get(t)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},KF=class{constructor(r){this.generateIdentifier=r,this.kv=new ele}register(r,e){this.kv.getByValue(r)||(e||(e=this.generateIdentifier(r)),this.kv.set(e,r))}clear(){this.kv.clear()}getIdentifier(r){return this.kv.getByValue(r)}getValue(r){return this.kv.getByKey(r)}},tle=class extends KF{constructor(){super(t=>t.name),this.classToAllowedProps=new Map}register(t,r){typeof r=="object"?(r.allowProps&&this.classToAllowedProps.set(t,r.allowProps),super.register(t,r.identifier)):super.register(t,r)}getAllowedProps(t){return this.classToAllowedProps.get(t)}};se();se();function rle(t){if("values"in Object)return Object.values(t);const r=[];for(const e in t)t.hasOwnProperty(e)&&r.push(t[e]);return r}function nle(t,r){const e=rle(t);if("find"in e)return e.find(r);const n=e;for(let i=0;i<n.length;i++){const o=n[i];if(r(o))return o}}function uu(t,r){Object.entries(t).forEach(([e,n])=>r(n,e))}function L5(t,r){return t.indexOf(r)!==-1}function Xz(t,r){for(let e=0;e<t.length;e++){const n=t[e];if(r(n))return n}}var ile=class{constructor(){this.transfomers={}}register(t){this.transfomers[t.name]=t}findApplicable(t){return nle(this.transfomers,r=>r.isApplicable(t))}findByName(t){return this.transfomers[t]}};se();se();var ole=t=>Object.prototype.toString.call(t).slice(8,-1),YF=t=>typeof t>"u",ale=t=>t===null,dd=t=>typeof t!="object"||t===null||t===Object.prototype?!1:Object.getPrototypeOf(t)===null?!0:Object.getPrototypeOf(t)===Object.prototype,K6=t=>dd(t)&&Object.keys(t).length===0,M1=t=>Array.isArray(t),sle=t=>typeof t=="string",lle=t=>typeof t=="number"&&!isNaN(t),cle=t=>typeof t=="boolean",ule=t=>t instanceof RegExp,fd=t=>t instanceof Map,Cd=t=>t instanceof Set,XF=t=>ole(t)==="Symbol",gle=t=>t instanceof Date&&!isNaN(t.valueOf()),hle=t=>t instanceof Error,qz=t=>typeof t=="number"&&isNaN(t),dle=t=>cle(t)||ale(t)||YF(t)||lle(t)||sle(t)||XF(t),fle=t=>typeof t=="bigint",Cle=t=>t===1/0||t===-1/0,vle=t=>ArrayBuffer.isView(t)&&!(t instanceof DataView),Ale=t=>t instanceof URL;se();var qF=t=>t.replace(/\./g,"\\."),Cp=t=>t.map(String).map(qF).join("."),Eh=t=>{const r=[];let e="";for(let i=0;i<t.length;i++){let o=t.charAt(i);if(o==="\\"&&t.charAt(i+1)==="."){e+=".",i++;continue}if(o==="."){r.push(e),e="";continue}e+=o}const n=e;return r.push(n),r};se();function Ko(t,r,e,n){return{isApplicable:t,annotation:r,transform:e,untransform:n}}var QF=[Ko(YF,"undefined",()=>null,()=>{}),Ko(fle,"bigint",t=>t.toString(),t=>typeof BigInt<"u"?BigInt(t):(console.error("Please add a BigInt polyfill."),t)),Ko(gle,"Date",t=>t.toISOString(),t=>new Date(t)),Ko(hle,"Error",(t,r)=>{const e={name:t.name,message:t.message};return r.allowedErrorProps.forEach(n=>{e[n]=t[n]}),e},(t,r)=>{const e=new Error(t.message);return e.name=t.name,e.stack=t.stack,r.allowedErrorProps.forEach(n=>{e[n]=t[n]}),e}),Ko(ule,"regexp",t=>""+t,t=>{const r=t.slice(1,t.lastIndexOf("/")),e=t.slice(t.lastIndexOf("/")+1);return new RegExp(r,e)}),Ko(Cd,"set",t=>[...t.values()],t=>new Set(t)),Ko(fd,"map",t=>[...t.entries()],t=>new Map(t)),Ko(t=>qz(t)||Cle(t),"number",t=>qz(t)?"NaN":t>0?"Infinity":"-Infinity",Number),Ko(t=>t===0&&1/t===-1/0,"number",()=>"-0",Number),Ko(Ale,"URL",t=>t.toString(),t=>new URL(t))];function nI(t,r,e,n){return{isApplicable:t,annotation:r,transform:e,untransform:n}}var JF=nI((t,r)=>XF(t)?!!r.symbolRegistry.getIdentifier(t):!1,(t,r)=>["symbol",r.symbolRegistry.getIdentifier(t)],t=>t.description,(t,r,e)=>{const n=e.symbolRegistry.getValue(r[1]);if(!n)throw new Error("Trying to deserialize unknown symbol");return n}),Ile=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((t,r)=>(t[r.name]=r,t),{}),ej=nI(vle,t=>["typed-array",t.constructor.name],t=>[...t],(t,r)=>{const e=Ile[r[1]];if(!e)throw new Error("Trying to deserialize unknown typed array");return new e(t)});function tj(t,r){return t?.constructor?!!r.classRegistry.getIdentifier(t.constructor):!1}var rj=nI(tj,(t,r)=>["class",r.classRegistry.getIdentifier(t.constructor)],(t,r)=>{const e=r.classRegistry.getAllowedProps(t.constructor);if(!e)return{...t};const n={};return e.forEach(i=>{n[i]=t[i]}),n},(t,r,e)=>{const n=e.classRegistry.getValue(r[1]);if(!n)throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(n.prototype),t)}),nj=nI((t,r)=>!!r.customTransformerRegistry.findApplicable(t),(t,r)=>["custom",r.customTransformerRegistry.findApplicable(t).name],(t,r)=>r.customTransformerRegistry.findApplicable(t).serialize(t),(t,r,e)=>{const n=e.customTransformerRegistry.findByName(r[1]);if(!n)throw new Error("Trying to deserialize unknown custom value");return n.deserialize(t)}),ple=[rj,JF,nj,ej],Qz=(t,r)=>{const e=Xz(ple,i=>i.isApplicable(t,r));if(e)return{value:e.transform(t,r),type:e.annotation(t,r)};const n=Xz(QF,i=>i.isApplicable(t,r));if(n)return{value:n.transform(t,r),type:n.annotation}},ij={};QF.forEach(t=>{ij[t.annotation]=t});var mle=(t,r,e)=>{if(M1(r))switch(r[0]){case"symbol":return JF.untransform(t,r,e);case"class":return rj.untransform(t,r,e);case"custom":return nj.untransform(t,r,e);case"typed-array":return ej.untransform(t,r,e);default:throw new Error("Unknown transformation: "+r)}else{const n=ij[r];if(!n)throw new Error("Unknown transformation: "+r);return n.untransform(t,e)}};se();var I2=(t,r)=>{const e=t.keys();for(;r>0;)e.next(),r--;return e.next().value};function oj(t){if(L5(t,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(L5(t,"prototype"))throw new Error("prototype is not allowed as a property");if(L5(t,"constructor"))throw new Error("constructor is not allowed as a property")}var yle=(t,r)=>{oj(r);for(let e=0;e<r.length;e++){const n=r[e];if(Cd(t))t=I2(t,+n);else if(fd(t)){const i=+n,o=+r[++e]==0?"key":"value",a=I2(t,i);switch(o){case"key":t=a;break;case"value":t=t.get(a);break}}else t=t[n]}return t},Y6=(t,r,e)=>{if(oj(r),r.length===0)return e(t);let n=t;for(let o=0;o<r.length-1;o++){const a=r[o];if(M1(n)){const s=+a;n=n[s]}else if(dd(n))n=n[a];else if(Cd(n)){const s=+a;n=I2(n,s)}else if(fd(n)){if(o===r.length-2)break;const l=+a,c=+r[++o]==0?"key":"value",u=I2(n,l);switch(c){case"key":n=u;break;case"value":n=n.get(u);break}}}const i=r[r.length-1];if(M1(n)?n[+i]=e(n[+i]):dd(n)&&(n[i]=e(n[i])),Cd(n)){const o=I2(n,+i),a=e(o);o!==a&&(n.delete(o),n.add(a))}if(fd(n)){const o=+r[r.length-2],a=I2(n,o);switch(+i==0?"key":"value"){case"key":{const l=e(a);n.set(l,n.get(a)),l!==a&&n.delete(a);break}case"value":{n.set(a,e(n.get(a)));break}}}return t};function X6(t,r,e=[]){if(!t)return;if(!M1(t)){uu(t,(o,a)=>X6(o,r,[...e,...Eh(a)]));return}const[n,i]=t;i&&uu(i,(o,a)=>{X6(o,r,[...e,...Eh(a)])}),r(n,e)}function ble(t,r,e){return X6(r,(n,i)=>{t=Y6(t,i,o=>mle(o,n,e))}),t}function wle(t,r){function e(n,i){const o=yle(t,Eh(i));n.map(Eh).forEach(a=>{t=Y6(t,a,()=>o)})}if(M1(r)){const[n,i]=r;n.forEach(o=>{t=Y6(t,Eh(o),()=>t)}),i&&uu(i,e)}else uu(r,e);return t}var $le=(t,r)=>dd(t)||M1(t)||fd(t)||Cd(t)||tj(t,r);function _le(t,r,e){const n=e.get(t);n?n.push(r):e.set(t,[r])}function Mle(t,r){const e={};let n;return t.forEach(i=>{if(i.length<=1)return;r||(i=i.map(s=>s.map(String)).sort((s,l)=>s.length-l.length));const[o,...a]=i;o.length===0?n=a.map(Cp):e[Cp(o)]=a.map(Cp)}),n?K6(e)?[n]:[n,e]:K6(e)?void 0:e}var aj=(t,r,e,n,i=[],o=[],a=new Map)=>{var s;const l=dle(t);if(!l){_le(t,i,r);const f=a.get(t);if(f)return n?{transformedValue:null}:f}if(!$le(t,e)){const f=Qz(t,e),C=f?{transformedValue:f.value,annotations:[f.type]}:{transformedValue:t};return l||a.set(t,C),C}if(L5(o,t))return{transformedValue:null};const c=Qz(t,e),u=(s=c?.value)!=null?s:t,g=M1(u)?[]:{},h={};uu(u,(f,C)=>{if(C==="__proto__"||C==="constructor"||C==="prototype")throw new Error(`Detected property ${C}. This is a prototype pollution risk, please remove it from your object.`);const v=aj(f,r,e,n,[...i,C],[...o,t],a);g[C]=v.transformedValue,M1(v.annotations)?h[C]=v.annotations:dd(v.annotations)&&uu(v.annotations,(A,I)=>{h[qF(C)+"."+I]=A})});const d=K6(h)?{transformedValue:g,annotations:c?[c.type]:void 0}:{transformedValue:g,annotations:c?[c.type,h]:h};return l||a.set(t,d),d};se();se();function sj(t){return Object.prototype.toString.call(t).slice(8,-1)}function Jz(t){return sj(t)==="Array"}function zle(t){if(sj(t)!=="Object")return!1;const r=Object.getPrototypeOf(t);return!!r&&r.constructor===Object&&r===Object.prototype}function Ele(t,r,e,n,i){const o={}.propertyIsEnumerable.call(n,r)?"enumerable":"nonenumerable";o==="enumerable"&&(t[r]=e),i&&o==="nonenumerable"&&Object.defineProperty(t,r,{value:e,enumerable:!1,writable:!0,configurable:!0})}function q6(t,r={}){if(Jz(t))return t.map(i=>q6(i,r));if(!zle(t))return t;const e=Object.getOwnPropertyNames(t),n=Object.getOwnPropertySymbols(t);return[...e,...n].reduce((i,o)=>{if(Jz(r.props)&&!r.props.includes(o))return i;const a=t[o],s=q6(a,r);return Ele(i,o,s,t,r.nonenumerable),i},{})}var Ze=class{constructor({dedupe:t=!1}={}){this.classRegistry=new tle,this.symbolRegistry=new KF(r=>{var e;return(e=r.description)!=null?e:""}),this.customTransformerRegistry=new ile,this.allowedErrorProps=[],this.dedupe=t}serialize(t){const r=new Map,e=aj(t,r,this,this.dedupe),n={json:e.transformedValue};e.annotations&&(n.meta={...n.meta,values:e.annotations});const i=Mle(r,this.dedupe);return i&&(n.meta={...n.meta,referentialEqualities:i}),n}deserialize(t){const{json:r,meta:e}=t;let n=q6(r);return e?.values&&(n=ble(n,e.values,this)),e?.referentialEqualities&&(n=wle(n,e.referentialEqualities)),n}stringify(t){return JSON.stringify(this.serialize(t))}parse(t){return this.deserialize(JSON.parse(t))}registerClass(t,r){this.classRegistry.register(t,r)}registerSymbol(t,r){this.symbolRegistry.register(t,r)}registerCustom(t,r){this.customTransformerRegistry.register({name:r,...t})}allowErrorProps(...t){this.allowedErrorProps.push(...t)}};Ze.defaultInstance=new Ze;Ze.serialize=Ze.defaultInstance.serialize.bind(Ze.defaultInstance);Ze.deserialize=Ze.defaultInstance.deserialize.bind(Ze.defaultInstance);Ze.stringify=Ze.defaultInstance.stringify.bind(Ze.defaultInstance);Ze.parse=Ze.defaultInstance.parse.bind(Ze.defaultInstance);Ze.registerClass=Ze.defaultInstance.registerClass.bind(Ze.defaultInstance);Ze.registerSymbol=Ze.defaultInstance.registerSymbol.bind(Ze.defaultInstance);Ze.registerCustom=Ze.defaultInstance.registerCustom.bind(Ze.defaultInstance);Ze.allowErrorProps=Ze.defaultInstance.allowErrorProps.bind(Ze.defaultInstance);Ze.serialize;Ze.deserialize;Ze.stringify;Ze.parse;Ze.registerClass;Ze.registerCustom;Ze.registerSymbol;Ze.allowErrorProps;se();var eE="__devtools-kit-broadcast-messaging-event-key__",Sle="__devtools-kit:broadcast-channel__";function tE(){const t=new BroadcastChannel(Sle);return{post:r=>{t.postMessage(Ze.stringify({event:eE,data:r}))},on:r=>{t.onmessage=e=>{const n=Ze.parse(e.data);n.event===eE&&r(n.data)}}}}se();se();se();var Tle="electron:client-context",Lle="electron:proxy-context",kle="electron:server-context",Qs={CLIENT_TO_PROXY:"client->proxy",PROXY_TO_CLIENT:"proxy->client",PROXY_TO_SERVER:"proxy->server",SERVER_TO_PROXY:"server->proxy"};function Ole(){return ae[Tle]}function xle(){return ae[Lle]}function Hle(){return ae[kle]}function Vle(){const t=Ole();return{post:r=>{t.emit(Qs.CLIENT_TO_PROXY,Ze.stringify(r))},on:r=>{t.on(Qs.PROXY_TO_CLIENT,e=>{r(Ze.parse(e))})}}}se();function Ple(){const t=xle();return{post:r=>{},on:r=>{t.on(Qs.SERVER_TO_PROXY,e=>{t.broadcast.emit(Qs.PROXY_TO_CLIENT,e)}),t.on(Qs.CLIENT_TO_PROXY,e=>{t.broadcast.emit(Qs.PROXY_TO_SERVER,e)})}}}se();function Rle(){const t=Hle();return{post:r=>{t.emit(Qs.SERVER_TO_PROXY,Ze.stringify(r))},on:r=>{t.on(Qs.PROXY_TO_SERVER,e=>{r(Ze.parse(e))})}}}se();se();se();var Dle="electron:client-context",Sv={CLIENT_TO_PROXY:"client->proxy",PROXY_TO_CLIENT:"proxy->client",PROXY_TO_SERVER:"proxy->server",SERVER_TO_PROXY:"server->proxy"};function Nle(t){ae[Dle]=t}function Ble(){let t=!1,r=null,e=null,n=null;function i(){try{clearTimeout(e),r=chrome.runtime.connect({name:`${chrome.devtools.inspectedWindow.tabId}`}),Nle(r),t=!1,r?.onMessage.addListener(n),r.onDisconnect.addListener(()=>{t=!0,r?.onMessage.removeListener(n),e=setTimeout(i,1e3)})}catch{t=!0}}return i(),{post:o=>{t||r?.postMessage(Ze.stringify(o))},on:o=>{n=a=>{t||o(Ze.parse(a))},r?.onMessage.addListener(n)}}}se();function Fle(){const t=chrome.runtime.connect({name:"content-script"});function r(n){window.postMessage({source:Sv.PROXY_TO_SERVER,payload:n},"*")}function e(n){if(n.data&&n.data.source===Sv.SERVER_TO_PROXY)try{t.postMessage(n.data.payload)}catch{}}return t.onMessage.addListener(r),window.addEventListener("message",e),t.onDisconnect.addListener(()=>{window.removeEventListener("message",e),r(Ze.stringify({event:"shutdown"}))}),r(Ze.stringify({event:"init"})),{post:n=>{},on:n=>{}}}se();function jle(){return{post:t=>{window.postMessage({source:Sv.SERVER_TO_PROXY,payload:Ze.stringify(t)},"*")},on:t=>{const r=e=>{e.data.source===Sv.PROXY_TO_SERVER&&e.data.payload&&t(Ze.parse(e.data.payload))};return window.addEventListener("message",r),()=>{window.removeEventListener("message",r)}}}}se();se();se();var Tv="__devtools-kit-iframe-messaging-event-key__",Ule="iframe:server-context";function rE(){return ae[Ule]}function Gle(){return Uu?{post:t=>window.parent.postMessage(Ze.stringify({event:Tv,data:t}),"*"),on:t=>window.addEventListener("message",r=>{try{const e=Ze.parse(r.data);r.source===window.parent&&e.event===Tv&&t(e.data)}catch{}})}:{post:t=>{},on:t=>{}}}se();function Wle(){return Uu?{post:t=>{var r;const e=rE();(r=e?.contentWindow)==null||r.postMessage(Ze.stringify({event:Tv,data:t}),"*")},on:t=>{window.addEventListener("message",r=>{const e=rE();try{const n=Ze.parse(r.data);r.source===e?.contentWindow&&n.event===Tv&&t(n.data)}catch{}})}}:{post:t=>{},on:t=>{}}}se();se();se();var Lv="__devtools-kit-vite-messaging-event-key__",lj="vite:client-context",Zle="vite:server-context";function Kle(){return ae[lj]}function Yle(t){ae[lj]=t}function Xle(){return ae[Zle]}function qle(){const t=Kle();return{post:r=>{t?.send(Lv,Ze.stringify(r))},on:r=>{t?.on(Lv,e=>{r(Ze.parse(e))})}}}se();function Qle(){var t;const r=Xle(),e=(t=r.hot)!=null?t:r.ws;return{post:n=>e?.send(Lv,Ze.stringify(n)),on:n=>e?.on(Lv,i=>{n(Ze.parse(i))})}}se();se();se();se();var nE,iE;(iE=(nE=ae).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__)!=null||(nE.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__=[]);var oE,aE;(aE=(oE=ae).__VUE_DEVTOOLS_KIT_RPC_CLIENT__)!=null||(oE.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=null);var sE,lE;(lE=(sE=ae).__VUE_DEVTOOLS_KIT_RPC_SERVER__)!=null||(sE.__VUE_DEVTOOLS_KIT_RPC_SERVER__=null);var cE,uE;(uE=(cE=ae).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__)!=null||(cE.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=null);var gE,hE;(hE=(gE=ae).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__)!=null||(gE.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__=null);var dE,fE;(fE=(dE=ae).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__)!=null||(dE.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__=null);function Jle(t){ae.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=t}function ece(){return ae.__VUE_DEVTOOLS_KIT_RPC_CLIENT__}function cj(){return ae.__VUE_DEVTOOLS_KIT_RPC_SERVER__}function tce(t){ae.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=t}function rce(){return ae.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__}function nce(t,r="client"){const e={iframe:{client:Gle,server:Wle}[r],electron:{client:Vle,proxy:Ple,server:Rle}[r],vite:{client:qle,server:Qle}[r],broadcast:{client:tE,server:tE}[r],extension:{client:Ble,proxy:Fle,server:jle}[r]}[t];return e()}function Q6(t,r={}){const{channel:e,options:n,preset:i}=r,o=i?nce(i):e,a=Aie(t,{...n,...o,timeout:-1});if(i==="vite"){tce(a);return}return Jle(a),a}se();se();se();se();se();se();function ice(t){let r="",e=null;try{r=Function.prototype.toString.call(t),e=String.prototype.match.call(r,/\([\s\S]*?\)/)}catch{}const n=e&&e[0],i=typeof n=="string"?n:"(?)",o=typeof t.name=="string"?t.name:"";return{_custom:{type:"function",displayText:`<span style="opacity:.5;margin-right:5px;">function</span> <span style="white-space:nowrap;">${Lb(o)}${i}</span>`,tooltipText:r.trim()?`<pre>${r}</pre>`:null}}}function oce(t){const r=BigInt.prototype.toString.call(t);return{_custom:{type:"bigint",displayText:`BigInt(${r})`,value:r}}}function ace(t){const r=new Date(t.getTime());return r.setMinutes(r.getMinutes()-r.getTimezoneOffset()),{_custom:{type:"date",displayText:Date.prototype.toString.call(t),value:r.toISOString().slice(0,-1)}}}function sce(t){return{_custom:{type:"map",displayText:"Map",value:Object.fromEntries(t),readOnly:!0,fields:{abstract:!0}}}}function lce(t){const r=Array.from(t);return{_custom:{type:"set",displayText:`Set[${r.length}]`,value:r,readOnly:!0}}}function cce(t){const r={},e=t.getters||{},n=Object.keys(e);for(let i=0;i<n.length;i++){const o=n[i];Object.defineProperty(r,o,{enumerable:!0,get:()=>{try{return e[o]}catch(a){return a}}})}return r}function uce(t){if(t.length)return t.reduce((r,e)=>{const n=e.type||"data",i=r[n]=r[n]||{};return i[e.key]=e.value,r},{})}function gce(t){const r={},e=t.length;for(let n=0;n<e;n++){const i=t.item(n);r[i.name]=i.value}return r}function hce(t){return{_custom:{type:"store",displayText:"Store",value:{state:t.state,getters:cce(t)},fields:{abstract:!0}}}}function dce(t){return{_custom:{type:"router",displayText:"VueRouter",value:{options:t.options,currentRoute:t.currentRoute},fields:{abstract:!0}}}}function fce(t){t._&&(t=t._);const r=NF(t);return{_custom:{type:"component",id:t.__VUE_DEVTOOLS_NEXT_UID__,displayText:Uo(t),tooltipText:"Component instance",value:uce(r),fields:{abstract:!0}}}}function Cce(t){let r=dse(t);return r?t.name&&t.__file&&(r+=` <span>(${t.__file})</span>`):r="<i>Unknown Component</i>",{_custom:{type:"component-definition",displayText:r,tooltipText:"Component definition",...t.__file?{file:t.__file}:{}}}}function vce(t){try{return{_custom:{type:"HTMLElement",displayText:`<span class="opacity-30"><</span><span class="text-blue-500">${t.tagName.toLowerCase()}</span><span class="opacity-30">></span>`,value:gce(t.attributes)}}}catch{return{_custom:{type:"HTMLElement",displayText:`<span class="text-blue-500">${String(t)}</span>`}}}}function Ace(t){if(no(t,"_value",!0))return t._value;if(no(t,"value",!0))return t.value}function Ice(t){var r,e,n,i;const o=RF(t);if(o.ref||o.computed||o.reactive){const s=o.computed?"Computed":o.ref?"Ref":o.reactive?"Reactive":null,l=DF(o.reactive?t:Ace(t)),c=no(t,"effect")?((e=(r=t.effect)==null?void 0:r.raw)==null?void 0:e.toString())||((i=(n=t.effect)==null?void 0:n.fn)==null?void 0:i.toString()):null;return{_custom:{type:s?.toLowerCase(),stateTypeName:s,value:l,...c?{tooltipText:`<span class="font-mono">${c}</span>`}:{}}}}if(no(t,"__asyncLoader")&&typeof t.__asyncLoader=="function")return{_custom:{type:"component-definition",display:"Async component definition"}}}function pce(t,r,e,n){var i;if(t==="compilerOptions")return;const o=this[t],a=typeof o;if(Array.isArray(o)){const s=o.length;return s>kz?{_isArray:!0,length:s,items:o.slice(0,kz)}:o}else{if(typeof o=="string")return o.length>Lz?`${o.substring(0,Lz)}... (${o.length} total length)`:o;if(a==="undefined")return Zu;if(o===Number.POSITIVE_INFINITY)return df;if(o===Number.NEGATIVE_INFINITY)return ff;if(typeof o=="function")return ice(o);if(a==="symbol")return`[native Symbol ${Symbol.prototype.toString.call(o)}]`;if(typeof o=="bigint")return oce(o);if(o!==null&&typeof o=="object"){const s=Object.prototype.toString.call(o);if(s==="[object Map]")return sce(o);if(s==="[object Set]")return lce(o);if(s==="[object RegExp]")return`[native RegExp ${RegExp.prototype.toString.call(o)}]`;if(s==="[object Date]")return ace(o);if(s==="[object Error]")return`[native Error ${o.message}<>${o.stack}]`;if(no(o,"state",!0)&&no(o,"_vm",!0))return hce(o);if(o.constructor&&o.constructor.name==="VueRouter")return dce(o);if(HF(o)){const c=fce(o),u=n?.get(o);return u&&u<e?`[[CircularRef]] <${c._custom.displayText}>`:(n?.set(o,e),c)}else{if(no(o,"render",!0)&&typeof o.render=="function")return Cce(o);if(o.constructor&&o.constructor.name==="VNode")return`[native VNode <${o.tag}>]`;if(typeof HTMLElement<"u"&&o instanceof HTMLElement)return vce(o);if(((i=o.constructor)==null?void 0:i.name)==="Store"&&"_wrappedGetters"in o)return"[object Store]";if(no(o,"currentRoute",!0))return"[object Router]"}const l=Ice(o);if(l!=null)return l}else if(Number.isNaN(o))return Cf}return C1e(o)}se();var q0=2*1024*1024;function CE(t,r){return r==="[object Object]"}function mce(t,r){return r==="[object Array]"}function yce(t){var r;const e=(r=t?.constructor)==null?void 0:r.name;return e==="Dep"&&"activeLink"in t||e==="Link"&&"dep"in t}function J6(t,r,e,n,i=0,o=new Map){let a,s,l,c,u;const g=n.get(t);if(g!=null)return g;const h=e.length,d=Object.prototype.toString.call(t);if(CE(t,d)){if(yce(t))return h;a={},n.set(t,h),e.push(a);const f=Object.keys(t);for(c=0,u=f.length;c<u;c++){if(s=f[c],s==="compilerOptions")return h;l=t[s];const C=l!=null&&CE(l,Object.prototype.toString.call(t))&&HF(l);try{r&&(l=r.call(t,s,l,i,o))}catch(v){l=v}a[s]=J6(l,r,e,n,i+1,o),C&&o.delete(l)}}else if(mce(t,d))for(a=[],n.set(t,h),e.push(a),c=0,u=t.length;c<u;c++){try{l=t[c],r&&(l=r.call(t,c,l,i,o))}catch(f){l=f}a[c]=J6(l,r,e,n,i+1,o)}else e.push(t);return h}function bce(t,r=null){let e=t.length,n,i,o,a,s,l;for(;e--;)if(o=t[e],l=Object.prototype.toString.call(o),l==="[object Object]"){const c=Object.keys(o);for(n=0,i=c.length;n<i;n++)a=c[n],s=t[o[a]],r&&(s=r.call(o,a,s)),o[a]=s}else if(l==="[object Array]")for(n=0,i=o.length;n<i;n++)s=t[o[n]],r&&(s=r.call(o,n,s)),o[n]=s}function wce(t,r=null,e=null){let n;try{n=arguments.length===1?JSON.stringify(t):JSON.stringify(t,(i,o)=>{var a;return(a=r?.(i,o))==null?void 0:a.call(this)},e)}catch{n=$ce(t,r,e)}if(n.length>q0){const i=Math.ceil(n.length/q0),o=[];for(let a=0;a<i;a++)o.push(n.slice(a*q0,(a+1)*q0));return o}return n}function $ce(t,r=null,e=null){const n=[];return J6(t,r,n,new Map),e?` ${JSON.stringify(n,null,e)}`:` ${JSON.stringify(n)}`}function vE(t,r=null){if(Array.isArray(t)&&(t=t.join("")),/^\s/.test(t)){const n=JSON.parse(t);return bce(n,r),n[0]}else return arguments.length===1?JSON.parse(t):JSON.parse(t,r)}function Zg(t){return wce(t,pce)}function Qr(t,r=!1){return t==null?{}:r?vE(t,GF):vE(t)}var ur={hook:so,init:()=>{Y1e()},get ctx(){return ba},get api(){return ba.api}};const iI=G(!1),vd=async t=>{const r={file:t};return ma&&(r.host="chrome-extension"),Ce.value.openInEditor(r)};function e8(t,r={},e){for(const n in t){const i=t[n],o=e?`${e}:${n}`:n;typeof i=="object"&&i!==null?e8(i,r,o):typeof i=="function"&&(r[o]=i)}return r}var _ce={run:t=>t()},Mce=()=>_ce,uj=typeof console.createTask<"u"?console.createTask:Mce;function zce(t,r){const e=r.shift(),n=uj(e);return t.reduce((i,o)=>i.then(()=>n.run(()=>o(...r))),Promise.resolve())}function Ece(t,r){const e=r.shift(),n=uj(e);return Promise.all(t.map(i=>n.run(()=>i(...r))))}function vp(t,r){for(const e of[...t])e(r)}var Sce=class{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,r,e={}){if(!t||typeof r!="function")return()=>{};const n=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!e.allowDeprecated){let o=i.message;o||(o=`${n} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||(console.warn(o),this._deprecatedMessages.add(o))}if(!r.name)try{Object.defineProperty(r,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(r),()=>{r&&(this.removeHook(t,r),r=void 0)}}hookOnce(t,r){let e,n=(...i)=>(typeof e=="function"&&e(),e=void 0,n=void 0,r(...i));return e=this.hook(t,n),e}removeHook(t,r){if(this._hooks[t]){const e=this._hooks[t].indexOf(r);e!==-1&&this._hooks[t].splice(e,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,r){this._deprecatedHooks[t]=typeof r=="string"?{to:r}:r;const e=this._hooks[t]||[];delete this._hooks[t];for(const n of e)this.hook(t,n)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const r in t)this.deprecateHook(r,t[r])}addHooks(t){const r=e8(t),e=Object.keys(r).map(n=>this.hook(n,r[n]));return()=>{for(const n of e.splice(0,e.length))n()}}removeHooks(t){const r=e8(t);for(const e in r)this.removeHook(e,r[e])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...r){return r.unshift(t),this.callHookWith(zce,t,...r)}callHookParallel(t,...r){return r.unshift(t),this.callHookWith(Ece,t,...r)}callHookWith(t,r,...e){const n=this._before||this._after?{name:r,args:e,context:{}}:void 0;this._before&&vp(this._before,n);const i=t(r in this._hooks?[...this._hooks[r]]:[],e);return i instanceof Promise?i.finally(()=>{this._after&&n&&vp(this._after,n)}):(this._after&&n&&vp(this._after,n),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const r=this._before.indexOf(t);r!==-1&&this._before.splice(r,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const r=this._after.indexOf(t);r!==-1&&this._after.splice(r,1)}}}};function gj(){return new Sce}var Q0=gj(),Ft=(t=>(t.INSPECTOR_TREE_UPDATED="inspector-tree-updated",t.INSPECTOR_STATE_UPDATED="inspector-state-updated",t.DEVTOOLS_STATE_UPDATED="devtools-state-updated",t.ROUTER_INFO_UPDATED="router-info-updated",t.TIMELINE_EVENT_UPDATED="timeline-event-updated",t.INSPECTOR_UPDATED="inspector-updated",t.ACTIVE_APP_UNMOUNTED="active-app-updated",t.DESTROY_DEVTOOLS_CLIENT="destroy-devtools-client",t.RELOAD_DEVTOOLS_CLIENT="reload-devtools-client",t))(Ft||{});function AE(){var t;const r=ur.ctx.state;return{connected:r.connected,clientConnected:!0,vueVersion:((t=r?.activeAppRecord)==null?void 0:t.version)||"",tabs:r.tabs,commands:r.commands,vitePluginDetected:r.vitePluginDetected,appRecords:r.appRecords.map(e=>({id:e.id,name:e.name,version:e.version,routerId:e.routerId})),activeAppRecordId:r.activeAppRecordId,timelineLayersState:r.timelineLayersState}}var IE={on:(t,r)=>{Q0.hook(t,r)},off:(t,r)=>{Q0.removeHook(t,r)},once:(t,r)=>{Q0.hookOnce(t,r)},emit:(t,...r)=>{Q0.callHook(t,...r)},heartbeat:()=>!0,devtoolsState:()=>AE(),async getInspectorTree(t){const r=await ur.ctx.api.getInspectorTree(t);return Zg(r)},async getInspectorState(t){const r=o1(t.inspectorId);r&&(r.selectedNodeId=t.nodeId);const e=await ur.ctx.api.getInspectorState(t);return Zg(e)},async editInspectorState(t){return await ur.ctx.api.editInspectorState(t)},sendInspectorState(t){return ur.ctx.api.sendInspectorState(t)},inspectComponentInspector(){return ur.ctx.api.inspectComponentInspector()},cancelInspectComponentInspector(){return ur.ctx.api.cancelInspectComponentInspector()},getComponentRenderCode(t){return ur.ctx.api.getComponentRenderCode(t)},scrollToComponent(t){return ur.ctx.api.scrollToComponent(t)},inspectDOM(t){return ur.ctx.api.inspectDOM(t)},getInspectorNodeActions(t){return hz(t)},getInspectorActions(t){return gz(t)},updateTimelineLayersState(t){return Nse(t)},callInspectorNodeAction(t,r,e){var n;const i=hz(t);if(i?.length){const o=i[r];(n=o.action)==null||n.call(o,e)}},callInspectorAction(t,r){var e;const n=gz(t);if(n?.length){const i=n[r];(e=i.action)==null||e.call(i)}},openInEditor(t){return ur.ctx.api.openInEditor(t)},async checkVueInspectorDetected(){return!!await ur.ctx.api.getVueInspector()},async enableVueInspector(){var t,r,e;const n=await((e=(r=(t=ur)==null?void 0:t.api)==null?void 0:r.getVueInspector)==null?void 0:e.call(r));n&&await n.enable()},async toggleApp(t){return ur.ctx.api.toggleApp(t)},updatePluginSettings(t,r,e){return ur.ctx.api.updatePluginSettings(t,r,e)},getPluginSettings(t){return ur.ctx.api.getPluginSettings(t)},getRouterInfo(){return R1e},navigate(t){var r;return(r=Nz.value)==null?void 0:r.push(t).catch(()=>({}))},getMatchedRoutes(t){var r,e;const n=console.warn;console.warn=()=>{};const i=(e=(r=Nz.value)==null?void 0:r.resolve({path:t||"/"}).matched)!=null?e:[];return console.warn=n,i},toggleClientConnected(t){Yse(t)},getCustomInspector(){return Eb()},getInspectorInfo(t){return Fse(t)},unhighlight(){ur.ctx.hooks.callHook(LF.COMPONENT_UNHIGHLIGHT)},updateDevToolsClientDetected(t){ZF(t)},initDevToolsServerListener(){const r=cj().broadcast;ur.ctx.hooks.hook(Hs.SEND_INSPECTOR_TREE_TO_CLIENT,e=>{r.emit("inspector-tree-updated",Zg(e))}),ur.ctx.hooks.hook(Hs.SEND_INSPECTOR_STATE_TO_CLIENT,e=>{r.emit("inspector-state-updated",Zg(e))}),ur.ctx.hooks.hook(Hs.DEVTOOLS_STATE_UPDATED,()=>{r.emit("devtools-state-updated",AE())}),ur.ctx.hooks.hook(Hs.ROUTER_INFO_UPDATED,({state:e})=>{r.emit("router-info-updated",e)}),ur.ctx.hooks.hook(Hs.SEND_TIMELINE_EVENT_TO_CLIENT,e=>{r.emit("timeline-event-updated",Zg(e))}),ur.ctx.hooks.hook(Hs.SEND_INSPECTOR_TO_CLIENT,e=>{r.emit("inspector-updated",e)}),ur.ctx.hooks.hook(Hs.SEND_ACTIVE_APP_UNMOUNTED_TO_CLIENT,()=>{r.emit("active-app-updated")})}},Ce=new Proxy({value:{},functions:{}},{get(t,r){const e=ece();if(r==="value")return e;if(r==="functions")return e.$functions}});new Proxy({value:{},functions:{}},{get(t,r){const e=cj();if(r==="value")return e;if(r==="functions")return e.functions}});function Ga(t){let r=null,e=0;function n(){var i,o;(o=(i=Ce.value)==null?void 0:i.heartbeat)==null||o.call(i).then(()=>{t(),clearTimeout(r)}).catch(()=>{})}r=setInterval(()=>{e>=30&&clearTimeout(r),e++,n()},e*200+200),n()}var J0=gj(),Tce={on:(t,r)=>{J0.hook(t,r)},off:(t,r)=>{J0.removeHook(t,r)},once:(t,r)=>{J0.hookOnce(t,r)},emit:(t,...r)=>{J0.callHook(t,...r)},heartbeat:()=>!0},Mo=new Proxy({value:{},functions:{}},{get(t,r){const e=rce();if(r==="value")return e;if(r==="functions")return e?.$functions}});function hj(t){let r=null;function e(){var n,i;(i=(n=Mo.value)==null?void 0:n.heartbeat)==null||i.call(n).then(()=>{clearTimeout(r),t()}).catch(()=>({})),r=setTimeout(()=>{e()},80)}e()}function Lce(){Q6(Tce,{preset:"vite"})}var dj=Symbol.for("__VueDevToolsStateSymbol__");function kce(){return{install(t){const r=Oce();r.getDevToolsState(),t.provide(dj,r),t.config.globalProperties.$getDevToolsState=r.getDevToolsState,t.config.globalProperties.$disconnectDevToolsClient=()=>{r.clientConnected.value=!1,r.connected.value=!1}}}}function Oce(){const t=G(!1),r=G(!1),e=G(""),n=G([]),i=G([]),o=G(!1),a=G([]),s=G(""),l=G({});function c(g){t.value=g.connected,r.value=g.clientConnected,e.value=g.vueVersion||"",n.value=g.tabs,i.value=g.commands,o.value=g.vitePluginDetected,a.value=g.appRecords,s.value=g.activeAppRecordId,l.value=g.timelineLayersState}function u(){Ga(()=>{Ce.value.devtoolsState().then(g=>{c(g)}),Ce.functions.off("devtools-state-updated",c),Ce.functions.on("devtools-state-updated",c)})}return{getDevToolsState:u,connected:t,clientConnected:r,vueVersion:e,tabs:n,commands:i,vitePluginDetected:o,appRecords:a,activeAppRecordId:s,timelineLayersState:l}}function Fi(){return br(dj)}var d2=[];function Hb(t){const{connected:r,clientConnected:e}=Fi();d2.push(t),fn(()=>{d2.splice(d2.indexOf(t),1)});const n=F(()=>e.value&&r.value);if(n.value)t();else{const i=Je(n,o=>{o&&(t(),i())})}return()=>{d2.splice(d2.indexOf(t),1)}}function fj(){d2.forEach(t=>t())}async function xce(t="/",r=!0){try{const e=`${t}@vite/client`,n=await fetch(e);if((await n.text()).startsWith("<")||!n.headers.get("content-type")?.includes("javascript"))throw new Error("Not javascript");return await import(e)}catch{r&&console.error(`[vite-hot-client] Failed to import "${t}@vite/client"`)}}/*!
|
|
19
19
|
* vue-router v4.4.5
|
|
20
20
|
* (c) 2024 Eduardo San Martin Morote
|
|
21
21
|
* @license MIT
|
|
@@ -1163,4 +1163,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1163
1163
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,a=!1,s;return{s:function(){e=e.call(t)},n:function(){var c=e.next();return o=c.done,c},e:function(c){a=!0,s=c},f:function(){try{!o&&e.return!=null&&e.return()}finally{if(a)throw s}}}}function bOt(t,r){var e;if(t){if(typeof t=="string")return CN(t,r);var n=zn(e=Object.prototype.toString.call(t)).call(e,8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Fc(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return CN(t,r)}}function CN(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}var ml,qi,Ns,Bs,fv;function vN(t,r){var e=new wl,n=Zy(r),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;t.has(o)||e.add(o)}}catch(a){n.e(a)}finally{n.f()}return e}var AN=function(){function t(){we(this,t),ml.set(this,new wl),qi.set(this,new wl)}return $e(t,[{key:"size",get:function(){return er(this,qi,"f").size}},{key:"add",value:function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];for(var o=0,a=n;o<a.length;o++){var s=a[o];er(this,qi,"f").add(s)}}},{key:"delete",value:function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];for(var o=0,a=n;o<a.length;o++){var s=a[o];er(this,qi,"f").delete(s)}}},{key:"clear",value:function(){er(this,qi,"f").clear()}},{key:"getSelection",value:function(){return na(er(this,qi,"f"))}},{key:"getChanges",value:function(){return{added:na(vN(er(this,ml,"f"),er(this,qi,"f"))),deleted:na(vN(er(this,qi,"f"),er(this,ml,"f"))),previous:na(new wl(er(this,ml,"f"))),current:na(new wl(er(this,qi,"f")))}}},{key:"commit",value:function(){var e=this.getChanges();Wy(this,ml,er(this,qi,"f")),Wy(this,qi,new wl(er(this,ml,"f")));var n=Zy(e.added),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;o.select()}}catch(c){n.e(c)}finally{n.f()}var a=Zy(e.deleted),s;try{for(a.s();!(s=a.n()).done;){var l=s.value;l.unselect()}}catch(c){a.e(c)}finally{a.f()}return e}}]),t}();ml=new ed,qi=new ed;var wOt=function(){function t(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(){};we(this,t),Ns.set(this,new AN),Bs.set(this,new AN),fv.set(this,void 0),Wy(this,fv,r)}return $e(t,[{key:"sizeNodes",get:function(){return er(this,Ns,"f").size}},{key:"sizeEdges",get:function(){return er(this,Bs,"f").size}},{key:"getNodes",value:function(){return er(this,Ns,"f").getSelection()}},{key:"getEdges",value:function(){return er(this,Bs,"f").getSelection()}},{key:"addNodes",value:function(){var e;(e=er(this,Ns,"f")).add.apply(e,arguments)}},{key:"addEdges",value:function(){var e;(e=er(this,Bs,"f")).add.apply(e,arguments)}},{key:"deleteNodes",value:function(e){er(this,Ns,"f").delete(e)}},{key:"deleteEdges",value:function(e){er(this,Bs,"f").delete(e)}},{key:"clear",value:function(){er(this,Ns,"f").clear(),er(this,Bs,"f").clear()}},{key:"commit",value:function(){for(var e,n,i={nodes:er(this,Ns,"f").commit(),edges:er(this,Bs,"f").commit()},o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return(e=er(this,fv,"f")).call.apply(e,P_(n=[this,i]).call(n,a)),i}}]),t}();Ns=new ed,Bs=new ed,fv=new ed;function IN(t,r){var e=typeof rl<"u"&&jc(t)||t["@@iterator"];if(!e){if(jt(t)||(e=$Ot(t))||r){e&&(t=e);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
1164
1164
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,a=!1,s;return{s:function(){e=e.call(t)},n:function(){var c=e.next();return o=c.done,c},e:function(c){a=!0,s=c},f:function(){try{!o&&e.return!=null&&e.return()}finally{if(a)throw s}}}}function $Ot(t,r){var e;if(t){if(typeof t=="string")return pN(t,r);var n=zn(e=Object.prototype.toString.call(t)).call(e,8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Fc(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pN(t,r)}}function pN(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}var _Ot=function(){function t(r,e){var n=this;we(this,t),this.body=r,this.canvas=e,this._selectionAccumulator=new wOt,this.hoverObj={nodes:{},edges:{}},this.options={},this.defaultOptions={multiselect:!1,selectable:!0,selectConnectedEdges:!0,hoverConnectedEdges:!0},Wr(this.options,this.defaultOptions),this.body.emitter.on("_dataChanged",function(){n.updateSelection()})}return $e(t,[{key:"setOptions",value:function(e){if(e!==void 0){var n=["multiselect","hoverConnectedEdges","selectable","selectConnectedEdges"];Bg(n,this.options,e)}}},{key:"selectOnPoint",value:function(e){var n=!1;if(this.options.selectable===!0){var i=this.getNodeAt(e)||this.getEdgeAt(e);this.unselectAll(),i!==void 0&&(n=this.selectObject(i)),this.body.emitter.emit("_requestRedraw")}return n}},{key:"selectAdditionalOnPoint",value:function(e){var n=!1;if(this.options.selectable===!0){var i=this.getNodeAt(e)||this.getEdgeAt(e);i!==void 0&&(n=!0,i.isSelected()===!0?this.deselectObject(i):this.selectObject(i),this.body.emitter.emit("_requestRedraw"))}return n}},{key:"_initBaseEvent",value:function(e,n){var i={};return i.pointer={DOM:{x:n.x,y:n.y},canvas:this.canvas.DOMtoCanvas(n)},i.event=e,i}},{key:"generateClickEvent",value:function(e,n,i,o){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,s=this._initBaseEvent(n,i);if(a===!0)s.nodes=[],s.edges=[];else{var l=this.getSelection();s.nodes=l.nodes,s.edges=l.edges}o!==void 0&&(s.previousSelection=o),e=="click"&&(s.items=this.getClickedItems(i)),n.controlEdge!==void 0&&(s.controlEdge=n.controlEdge),this.body.emitter.emit(e,s)}},{key:"selectObject",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.options.selectConnectedEdges;if(e!==void 0){if(e instanceof Oi){if(n===!0){var i;(i=this._selectionAccumulator).addEdges.apply(i,na(e.edges))}this._selectionAccumulator.addNodes(e)}else this._selectionAccumulator.addEdges(e);return!0}return!1}},{key:"deselectObject",value:function(e){e.isSelected()===!0&&(e.selected=!1,this._removeFromSelection(e))}},{key:"_getAllNodesOverlappingWith",value:function(e){for(var n=[],i=this.body.nodes,o=0;o<this.body.nodeIndices.length;o++){var a=this.body.nodeIndices[o];i[a].isOverlappingWith(e)&&n.push(a)}return n}},{key:"_pointerToPositionObject",value:function(e){var n=this.canvas.DOMtoCanvas(e);return{left:n.x-1,top:n.y+1,right:n.x+1,bottom:n.y-1}}},{key:"getNodeAt",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,i=this._pointerToPositionObject(e),o=this._getAllNodesOverlappingWith(i);if(o.length>0)return n===!0?this.body.nodes[o[o.length-1]]:o[o.length-1]}},{key:"_getEdgesOverlappingWith",value:function(e,n){for(var i=this.body.edges,o=0;o<this.body.edgeIndices.length;o++){var a=this.body.edgeIndices[o];i[a].isOverlappingWith(e)&&n.push(a)}}},{key:"_getAllEdgesOverlappingWith",value:function(e){var n=[];return this._getEdgesOverlappingWith(e,n),n}},{key:"getEdgeAt",value:function(e){for(var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,i=this.canvas.DOMtoCanvas(e),o=10,a=null,s=this.body.edges,l=0;l<this.body.edgeIndices.length;l++){var c=this.body.edgeIndices[l],u=s[c];if(u.connected){var g=u.from.x,h=u.from.y,d=u.to.x,f=u.to.y,C=u.edgeType.getDistanceToEdge(g,h,d,f,i.x,i.y);C<o&&(a=c,o=C)}}if(a!==null)return n===!0?this.body.edges[a]:a}},{key:"_addToHover",value:function(e){e instanceof Oi?this.hoverObj.nodes[e.id]=e:this.hoverObj.edges[e.id]=e}},{key:"_removeFromSelection",value:function(e){if(e instanceof Oi){var n;this._selectionAccumulator.deleteNodes(e),(n=this._selectionAccumulator).deleteEdges.apply(n,na(e.edges))}else this._selectionAccumulator.deleteEdges(e)}},{key:"unselectAll",value:function(){this._selectionAccumulator.clear()}},{key:"getSelectedNodeCount",value:function(){return this._selectionAccumulator.sizeNodes}},{key:"getSelectedEdgeCount",value:function(){return this._selectionAccumulator.sizeEdges}},{key:"_hoverConnectedEdges",value:function(e){for(var n=0;n<e.edges.length;n++){var i=e.edges[n];i.hover=!0,this._addToHover(i)}}},{key:"emitBlurEvent",value:function(e,n,i){var o=this._initBaseEvent(e,n);i.hover===!0&&(i.hover=!1,i instanceof Oi?(o.node=i.id,this.body.emitter.emit("blurNode",o)):(o.edge=i.id,this.body.emitter.emit("blurEdge",o)))}},{key:"emitHoverEvent",value:function(e,n,i){var o=this._initBaseEvent(e,n),a=!1;return i.hover===!1&&(i.hover=!0,this._addToHover(i),a=!0,i instanceof Oi?(o.node=i.id,this.body.emitter.emit("hoverNode",o)):(o.edge=i.id,this.body.emitter.emit("hoverEdge",o))),a}},{key:"hoverObject",value:function(e,n){var i=this.getNodeAt(n);i===void 0&&(i=this.getEdgeAt(n));var o=!1;for(var a in this.hoverObj.nodes)Object.prototype.hasOwnProperty.call(this.hoverObj.nodes,a)&&(i===void 0||i instanceof Oi&&i.id!=a||i instanceof iu)&&(this.emitBlurEvent(e,n,this.hoverObj.nodes[a]),delete this.hoverObj.nodes[a],o=!0);for(var s in this.hoverObj.edges)Object.prototype.hasOwnProperty.call(this.hoverObj.edges,s)&&(o===!0?(this.hoverObj.edges[s].hover=!1,delete this.hoverObj.edges[s]):(i===void 0||i instanceof iu&&i.id!=s||i instanceof Oi&&!i.hover)&&(this.emitBlurEvent(e,n,this.hoverObj.edges[s]),delete this.hoverObj.edges[s],o=!0));if(i!==void 0){var l=mr(this.hoverObj.edges).length,c=mr(this.hoverObj.nodes).length,u=i instanceof iu&&l===0&&c===0,g=i instanceof Oi&&l===0&&c===0;(o||u||g)&&(o=this.emitHoverEvent(e,n,i)),i instanceof Oi&&this.options.hoverConnectedEdges===!0&&this._hoverConnectedEdges(i)}o===!0&&this.body.emitter.emit("_requestRedraw")}},{key:"commitWithoutEmitting",value:function(){this._selectionAccumulator.commit()}},{key:"commitAndEmit",value:function(e,n){var i=!1,o=this._selectionAccumulator.commit(),a={nodes:o.nodes.previous,edges:o.edges.previous};o.edges.deleted.length>0&&(this.generateClickEvent("deselectEdge",n,e,a),i=!0),o.nodes.deleted.length>0&&(this.generateClickEvent("deselectNode",n,e,a),i=!0),o.nodes.added.length>0&&(this.generateClickEvent("selectNode",n,e),i=!0),o.edges.added.length>0&&(this.generateClickEvent("selectEdge",n,e),i=!0),i===!0&&this.generateClickEvent("select",n,e)}},{key:"getSelection",value:function(){return{nodes:this.getSelectedNodeIds(),edges:this.getSelectedEdgeIds()}}},{key:"getSelectedNodes",value:function(){return this._selectionAccumulator.getNodes()}},{key:"getSelectedEdges",value:function(){return this._selectionAccumulator.getEdges()}},{key:"getSelectedNodeIds",value:function(){var e;return Du(e=this._selectionAccumulator.getNodes()).call(e,function(n){return n.id})}},{key:"getSelectedEdgeIds",value:function(){var e;return Du(e=this._selectionAccumulator.getEdges()).call(e,function(n){return n.id})}},{key:"setSelection",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!e||!e.nodes&&!e.edges)throw new TypeError("Selection must be an object with nodes and/or edges properties");if((n.unselectAll||n.unselectAll===void 0)&&this.unselectAll(),e.nodes){var i=IN(e.nodes),o;try{for(i.s();!(o=i.n()).done;){var a=o.value,s=this.body.nodes[a];if(!s)throw new RangeError('Node with id "'+a+'" not found');this.selectObject(s,n.highlightEdges)}}catch(h){i.e(h)}finally{i.f()}}if(e.edges){var l=IN(e.edges),c;try{for(l.s();!(c=l.n()).done;){var u=c.value,g=this.body.edges[u];if(!g)throw new RangeError('Edge with id "'+u+'" not found');this.selectObject(g)}}catch(h){l.e(h)}finally{l.f()}}this.body.emitter.emit("_requestRedraw"),this._selectionAccumulator.commit()}},{key:"selectNodes",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(!e||e.length===void 0)throw"Selection must be an array with ids";this.setSelection({nodes:e},{highlightEdges:n})}},{key:"selectEdges",value:function(e){if(!e||e.length===void 0)throw"Selection must be an array with ids";this.setSelection({edges:e})}},{key:"updateSelection",value:function(){for(var e in this._selectionAccumulator.getNodes())Object.prototype.hasOwnProperty.call(this.body.nodes,e.id)||this._selectionAccumulator.deleteNodes(e);for(var n in this._selectionAccumulator.getEdges())Object.prototype.hasOwnProperty.call(this.body.edges,n.id)||this._selectionAccumulator.deleteEdges(n)}},{key:"getClickedItems",value:function(e){for(var n=this.canvas.DOMtoCanvas(e),i=[],o=this.body.nodeIndices,a=this.body.nodes,s=o.length-1;s>=0;s--){var l=a[o[s]],c=l.getItemsOnPoint(n);i.push.apply(i,c)}for(var u=this.body.edgeIndices,g=this.body.edges,h=u.length-1;h>=0;h--){var d=g[u[h]],f=d.getItemsOnPoint(n);i.push.apply(i,f)}return i}}]),t}(),mN=lte,MOt=Math.floor,Ky=function(t,r){var e=t.length,n=MOt(e/2);return e<8?zOt(t,r):EOt(t,Ky(mN(t,0,n),r),Ky(mN(t,n),r),r)},zOt=function(t,r){for(var e=t.length,n=1,i,o;n<e;){for(o=n,i=t[n];o&&r(t[o-1],i)>0;)t[o]=t[--o];o!==n++&&(t[o]=i)}return t},EOt=function(t,r,e,n){for(var i=r.length,o=e.length,a=0,s=0;a<i||s<o;)t[a+s]=a<i&&s<o?n(r[a],e[s])<=0?r[a++]:e[s++]:a<i?r[a++]:e[s++];return t},SOt=Ky,TOt=y0,yN=TOt.match(/firefox\/(\d+)/i),LOt=!!yN&&+yN[1],kOt=y0,OOt=/MSIE|Trident/.test(kOt),xOt=y0,bN=xOt.match(/AppleWebKit\/(\d+)\./),HOt=!!bN&&+bN[1],VOt=et,_ne=xt,POt=Dc,ROt=_i,wN=vo,DOt=Kte,$N=xa,sM=Lt,NOt=SOt,BOt=Dg,_N=LOt,FOt=OOt,MN=b0,zN=HOt,i1=[],EN=_ne(i1.sort),jOt=_ne(i1.push),UOt=sM(function(){i1.sort(void 0)}),GOt=sM(function(){i1.sort(null)}),WOt=BOt("sort"),Mne=!sM(function(){if(MN)return MN<70;if(!(_N&&_N>3)){if(FOt)return!0;if(zN)return zN<603;var t="",r,e,n,i;for(r=65;r<76;r++){switch(e=String.fromCharCode(r),r){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(i=0;i<47;i++)i1.push({k:e+i,v:n})}for(i1.sort(function(o,a){return a.v-o.v}),i=0;i<i1.length;i++)e=i1[i].k.charAt(0),t.charAt(t.length-1)!==e&&(t+=e);return t!=="DGBEFHACIJK"}}),ZOt=UOt||!GOt||!WOt||!Mne,KOt=function(t){return function(r,e){return e===void 0?-1:r===void 0?1:t!==void 0?+t(r,e)||0:$N(r)>$N(e)?1:-1}};VOt({target:"Array",proto:!0,forced:ZOt},{sort:function(r){r!==void 0&&POt(r);var e=ROt(this);if(Mne)return r===void 0?EN(e):EN(e,r);var n=[],i=wN(e),o,a;for(a=0;a<i;a++)a in e&&jOt(n,e[a]);for(NOt(n,KOt(r)),o=wN(n),a=0;a<o;)e[a]=n[a++];for(;a<i;)DOt(e,a++);return e}});var YOt=bn,XOt=YOt("Array").sort,qOt=Dr,QOt=XOt,w6=Array.prototype,JOt=function(t){var r=t.sort;return t===w6||qOt(w6,t)&&r===w6.sort?QOt:r},ext=JOt,txt=ext,rxt=txt,td=je(rxt),nxt=Dc,ixt=_i,oxt=z4,axt=vo,sxt=TypeError,SN=function(t){return function(r,e,n,i){nxt(e);var o=ixt(r),a=oxt(o),s=axt(o),l=t?s-1:0,c=t?-1:1;if(n<2)for(;;){if(l in a){i=a[l],l+=c;break}if(l+=c,t?l<0:s<=l)throw new sxt("Reduce of empty array with no initial value")}for(;t?l>=0:s>l;l+=c)l in a&&(i=e(i,a[l],l,o));return i}},lxt={left:SN(!1),right:SN(!0)},cxt=Sr,uxt=Es,gxt=uxt(cxt.process)==="process",hxt=et,dxt=lxt.left,fxt=Dg,TN=b0,Cxt=gxt,vxt=!Cxt&&TN>79&&TN<83,Axt=vxt||!fxt("reduce");hxt({target:"Array",proto:!0,forced:Axt},{reduce:function(r){var e=arguments.length;return dxt(this,r,e,e>1?arguments[1]:void 0)}});var Ixt=bn,pxt=Ixt("Array").reduce,mxt=Dr,yxt=pxt,$6=Array.prototype,bxt=function(t){var r=t.reduce;return t===$6||mxt($6,t)&&r===$6.reduce?yxt:r},wxt=bxt,$xt=wxt,_xt=$xt,zne=je(_xt);function Ene(t){var r=Mxt();return function(){var n=Ve(t),i;if(r){var o=Ve(this).constructor;i=J(n,arguments,o)}else i=n.apply(this,arguments);return Ut(this,i)}}function Mxt(){if(typeof Reflect>"u"||!J||J.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(J(Boolean,[],function(){})),!0}catch{return!1}}var Sne=function(){function t(){we(this,t)}return $e(t,[{key:"abstract",value:function(){throw new Error("Can't instantiate abstract class!")}},{key:"fake_use",value:function(){}},{key:"curveType",value:function(){return this.abstract()}},{key:"getPosition",value:function(e){return this.fake_use(e),this.abstract()}},{key:"setPosition",value:function(e,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;this.fake_use(e,n,i),this.abstract()}},{key:"getTreeSize",value:function(e){return this.fake_use(e),this.abstract()}},{key:"sort",value:function(e){this.fake_use(e),this.abstract()}},{key:"fix",value:function(e,n){this.fake_use(e,n),this.abstract()}},{key:"shift",value:function(e,n){this.fake_use(e,n),this.abstract()}}]),t}(),zxt=function(t){Ht(e,t);var r=Ene(e);function e(n){var i;return we(this,e),i=r.call(this),i.layout=n,i}return $e(e,[{key:"curveType",value:function(){return"horizontal"}},{key:"getPosition",value:function(i){return i.x}},{key:"setPosition",value:function(i,o){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;a!==void 0&&this.layout.hierarchical.addToOrdering(i,a),i.x=o}},{key:"getTreeSize",value:function(i){var o=this.layout.hierarchical.getTreeSize(this.layout.body.nodes,i);return{min:o.min_x,max:o.max_x}}},{key:"sort",value:function(i){td(i).call(i,function(o,a){return o.x-a.x})}},{key:"fix",value:function(i,o){i.y=this.layout.options.hierarchical.levelSeparation*o,i.options.fixed.y=!0}},{key:"shift",value:function(i,o){this.layout.body.nodes[i].x+=o}}]),e}(Sne),Ext=function(t){Ht(e,t);var r=Ene(e);function e(n){var i;return we(this,e),i=r.call(this),i.layout=n,i}return $e(e,[{key:"curveType",value:function(){return"vertical"}},{key:"getPosition",value:function(i){return i.y}},{key:"setPosition",value:function(i,o){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;a!==void 0&&this.layout.hierarchical.addToOrdering(i,a),i.y=o}},{key:"getTreeSize",value:function(i){var o=this.layout.hierarchical.getTreeSize(this.layout.body.nodes,i);return{min:o.min_y,max:o.max_y}}},{key:"sort",value:function(i){td(i).call(i,function(o,a){return o.y-a.y})}},{key:"fix",value:function(i,o){i.x=this.layout.options.hierarchical.levelSeparation*o,i.options.fixed.x=!0}},{key:"shift",value:function(i,o){this.layout.body.nodes[i].y+=o}}]),e}(Sne),Sxt=et,Txt=tl.every,Lxt=Dg,kxt=Lxt("every");Sxt({target:"Array",proto:!0,forced:!kxt},{every:function(r){return Txt(this,r,arguments.length>1?arguments[1]:void 0)}});var Oxt=bn,xxt=Oxt("Array").every,Hxt=Dr,Vxt=xxt,_6=Array.prototype,Pxt=function(t){var r=t.every;return t===_6||Hxt(_6,t)&&r===_6.every?Vxt:r},Rxt=Pxt,Dxt=Rxt,Nxt=Dxt,Tne=je(Nxt);function Bxt(t,r){var e=typeof rl<"u"&&jc(t)||t["@@iterator"];if(!e){if(jt(t)||(e=Fxt(t))||r){e&&(t=e);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
1165
1165
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,a=!1,s;return{s:function(){e=e.call(t)},n:function(){var c=e.next();return o=c.done,c},e:function(c){a=!0,s=c},f:function(){try{!o&&e.return!=null&&e.return()}finally{if(a)throw s}}}}function Fxt(t,r){var e;if(t){if(typeof t=="string")return LN(t,r);var n=zn(e=Object.prototype.toString.call(t)).call(e,8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Fc(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return LN(t,r)}}function LN(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}function jxt(t,r){var e=new wl;return Kt(t).call(t,function(n){var i;Kt(i=n.edges).call(i,function(o){o.connected&&e.add(o)})}),Kt(e).call(e,function(n){var i=n.from.id,o=n.to.id;r[i]==null&&(r[i]=0),(r[o]==null||r[i]>=r[o])&&(r[o]=r[i]+1)}),r}function Uxt(t){return Lne(function(r){var e,n;return Tne(e=gi(n=r.edges).call(n,function(i){return t.has(i.toId)})).call(e,function(i){return i.to===r})},function(r,e){return e>r},"from",t)}function Gxt(t){return Lne(function(r){var e,n;return Tne(e=gi(n=r.edges).call(n,function(i){return t.has(i.toId)})).call(e,function(i){return i.from===r})},function(r,e){return e<r},"to",t)}function Lne(t,r,e,n){var i,o=Zl(null),a=zne(i=na(ane(n).call(n))).call(i,function(d,f){return d+1+f.edges.length},0),s=e+"Id",l=e==="to"?1:-1,c=Bxt(n),u;try{var g=function(){var f=yr(u.value,2),C=f[0],v=f[1];if(!n.has(C)||!t(v))return 0;o[C]=0;for(var A=[v],I=0,p,m=function(){var L,z;if(!n.has(C))return 0;var S=o[p.id]+l;if(Kt(L=gi(z=p.edges).call(z,function(T){return T.connected&&T.to!==T.from&&T[e]!==p&&n.has(T.toId)&&n.has(T.fromId)})).call(L,function(T){var k=T[s],O=o[k];(O==null||r(S,O))&&(o[k]=S,A.push(T[e]))}),I>a)return{v:{v:jxt(n,o)}};++I},b;p=A.pop();)if(b=m(),b!==0&&b)return b.v},h;for(c.s();!(u=c.n()).done;)if(h=g(),h!==0&&h)return h.v}catch(d){c.e(d)}finally{c.f()}return o}var Wxt=function(){function t(){we(this,t),this.childrenReference={},this.parentReference={},this.trees={},this.distributionOrdering={},this.levels={},this.distributionIndex={},this.isTree=!1,this.treeIndex=-1}return $e(t,[{key:"addRelation",value:function(e,n){this.childrenReference[e]===void 0&&(this.childrenReference[e]=[]),this.childrenReference[e].push(n),this.parentReference[n]===void 0&&(this.parentReference[n]=[]),this.parentReference[n].push(e)}},{key:"checkIfTree",value:function(){for(var e in this.parentReference)if(this.parentReference[e].length>1){this.isTree=!1;return}this.isTree=!0}},{key:"numTrees",value:function(){return this.treeIndex+1}},{key:"setTreeIndex",value:function(e,n){n!==void 0&&this.trees[e.id]===void 0&&(this.trees[e.id]=n,this.treeIndex=Math.max(n,this.treeIndex))}},{key:"ensureLevel",value:function(e){this.levels[e]===void 0&&(this.levels[e]=0)}},{key:"getMaxLevel",value:function(e){var n=this,i={},o=function a(s){if(i[s]!==void 0)return i[s];var l=n.levels[s];if(n.childrenReference[s]){var c=n.childrenReference[s];if(c.length>0)for(var u=0;u<c.length;u++)l=Math.max(l,a(c[u]))}return i[s]=l,l};return o(e)}},{key:"levelDownstream",value:function(e,n){this.levels[n.id]===void 0&&(this.levels[e.id]===void 0&&(this.levels[e.id]=0),this.levels[n.id]=this.levels[e.id]+1)}},{key:"setMinLevelToZero",value:function(e){var n=1e9;for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&this.levels[i]!==void 0&&(n=Math.min(this.levels[i],n));for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&this.levels[o]!==void 0&&(this.levels[o]-=n)}},{key:"getTreeSize",value:function(e,n){var i=1e9,o=-1e9,a=1e9,s=-1e9;for(var l in this.trees)if(Object.prototype.hasOwnProperty.call(this.trees,l)&&this.trees[l]===n){var c=e[l];i=Math.min(c.x,i),o=Math.max(c.x,o),a=Math.min(c.y,a),s=Math.max(c.y,s)}return{min_x:i,max_x:o,min_y:a,max_y:s}}},{key:"hasSameParent",value:function(e,n){var i=this.parentReference[e.id],o=this.parentReference[n.id];if(i===void 0||o===void 0)return!1;for(var a=0;a<i.length;a++)for(var s=0;s<o.length;s++)if(i[a]==o[s])return!0;return!1}},{key:"inSameSubNetwork",value:function(e,n){return this.trees[e.id]===this.trees[n.id]}},{key:"getLevels",value:function(){return mr(this.distributionOrdering)}},{key:"addToOrdering",value:function(e,n){this.distributionOrdering[n]===void 0&&(this.distributionOrdering[n]=[]);var i=!1,o=this.distributionOrdering[n];for(var a in o)if(o[a]===e){i=!0;break}i||(this.distributionOrdering[n].push(e),this.distributionIndex[e.id]=this.distributionOrdering[n].length-1)}}]),t}(),Zxt=function(){function t(r){we(this,t),this.body=r,this._resetRNG(Math.random()+":"+kA()),this.setPhysics=!1,this.options={},this.optionsBackup={physics:{}},this.defaultOptions={randomSeed:void 0,improvedLayout:!0,clusterThreshold:150,hierarchical:{enabled:!1,levelSeparation:150,nodeSpacing:100,treeSpacing:200,blockShifting:!0,edgeMinimization:!0,parentCentralization:!0,direction:"UD",sortMethod:"hubsize"}},Wr(this.options,this.defaultOptions),this.bindEventListeners()}return $e(t,[{key:"bindEventListeners",value:function(){var e=this;this.body.emitter.on("_dataChanged",function(){e.setupHierarchicalLayout()}),this.body.emitter.on("_dataLoaded",function(){e.layoutNetwork()}),this.body.emitter.on("_resetHierarchicalLayout",function(){e.setupHierarchicalLayout()}),this.body.emitter.on("_adjustEdgesForHierarchicalLayout",function(){if(e.options.hierarchical.enabled===!0){var n=e.direction.curveType();e.body.emitter.emit("_forceDisableDynamicCurves",n,!1)}})}},{key:"setOptions",value:function(e,n){if(e!==void 0){var i=this.options.hierarchical,o=i.enabled;if(Bg(["randomSeed","improvedLayout","clusterThreshold"],this.options,e),eo(this.options,e,"hierarchical"),e.randomSeed!==void 0&&this._resetRNG(e.randomSeed),i.enabled===!0)return o===!0&&this.body.emitter.emit("refresh",!0),i.direction==="RL"||i.direction==="DU"?i.levelSeparation>0&&(i.levelSeparation*=-1):i.levelSeparation<0&&(i.levelSeparation*=-1),this.setDirectionStrategy(),this.body.emitter.emit("_resetHierarchicalLayout"),this.adaptAllOptionsForHierarchicalLayout(n);if(o===!0)return this.body.emitter.emit("refresh"),rr(n,this.optionsBackup)}return n}},{key:"_resetRNG",value:function(e){this.initialRandomSeed=e,this._rng=K4(this.initialRandomSeed)}},{key:"adaptAllOptionsForHierarchicalLayout",value:function(e){if(this.options.hierarchical.enabled===!0){var n=this.optionsBackup.physics;e.physics===void 0||e.physics===!0?(e.physics={enabled:n.enabled===void 0?!0:n.enabled,solver:"hierarchicalRepulsion"},n.enabled=n.enabled===void 0?!0:n.enabled,n.solver=n.solver||"barnesHut"):Wt(e.physics)==="object"?(n.enabled=e.physics.enabled===void 0?!0:e.physics.enabled,n.solver=e.physics.solver||"barnesHut",e.physics.solver="hierarchicalRepulsion"):e.physics!==!1&&(n.solver="barnesHut",e.physics={solver:"hierarchicalRepulsion"});var i=this.direction.curveType();if(e.edges===void 0)this.optionsBackup.edges={smooth:{enabled:!0,type:"dynamic"}},e.edges={smooth:!1};else if(e.edges.smooth===void 0)this.optionsBackup.edges={smooth:{enabled:!0,type:"dynamic"}},e.edges.smooth=!1;else if(typeof e.edges.smooth=="boolean")this.optionsBackup.edges={smooth:e.edges.smooth},e.edges.smooth={enabled:e.edges.smooth,type:i};else{var o=e.edges.smooth;o.type!==void 0&&o.type!=="dynamic"&&(i=o.type),this.optionsBackup.edges={smooth:{enabled:o.enabled===void 0?!0:o.enabled,type:o.type===void 0?"dynamic":o.type,roundness:o.roundness===void 0?.5:o.roundness,forceDirection:o.forceDirection===void 0?!1:o.forceDirection}},e.edges.smooth={enabled:o.enabled===void 0?!0:o.enabled,type:i,roundness:o.roundness===void 0?.5:o.roundness,forceDirection:o.forceDirection===void 0?!1:o.forceDirection}}this.body.emitter.emit("_forceDisableDynamicCurves",i)}return e}},{key:"positionInitially",value:function(e){if(this.options.hierarchical.enabled!==!0){this._resetRNG(this.initialRandomSeed);for(var n=e.length+50,i=0;i<e.length;i++){var o=e[i],a=2*Math.PI*this._rng();o.x===void 0&&(o.x=n*Math.cos(a)),o.y===void 0&&(o.y=n*Math.sin(a))}}}},{key:"layoutNetwork",value:function(){if(this.options.hierarchical.enabled!==!0&&this.options.improvedLayout===!0){for(var e=this.body.nodeIndices,n=0,i=0;i<e.length;i++){var o=this.body.nodes[e[i]];o.predefinedPosition===!0&&(n+=1)}if(n<.5*e.length){var a=10,s=0,l=this.options.clusterThreshold,c={clusterNodeProperties:{shape:"ellipse",label:"",group:"",font:{multi:!1}},clusterEdgeProperties:{label:"",font:{multi:!1},smooth:{enabled:!1}}};if(e.length>l){for(var u=e.length;e.length>l&&s<=a;){s+=1;var g=e.length;s%3===0?this.body.modules.clustering.clusterBridges(c):this.body.modules.clustering.clusterOutliers(c);var h=e.length;if(g==h&&s%3!==0){this._declusterAll(),this.body.emitter.emit("_layoutFailed"),console.info("This network could not be positioned by this version of the improved layout algorithm. Please disable improvedLayout for better performance.");return}}this.body.modules.kamadaKawai.setOptions({springLength:Math.max(150,2*u)})}s>a&&console.info("The clustering didn't succeed within the amount of interations allowed, progressing with partial result."),this.body.modules.kamadaKawai.solve(e,this.body.edgeIndices,!0),this._shiftToCenter();for(var d=70,f=0;f<e.length;f++){var C=this.body.nodes[e[f]];C.predefinedPosition===!1&&(C.x+=(.5-this._rng())*d,C.y+=(.5-this._rng())*d)}this._declusterAll(),this.body.emitter.emit("_repositionBezierNodes")}}}},{key:"_shiftToCenter",value:function(){for(var e=Un.getRangeCore(this.body.nodes,this.body.nodeIndices),n=Un.findCenter(e),i=0;i<this.body.nodeIndices.length;i++){var o=this.body.nodes[this.body.nodeIndices[i]];o.x-=n.x,o.y-=n.y}}},{key:"_declusterAll",value:function(){for(var e=!0;e===!0;){e=!1;for(var n=0;n<this.body.nodeIndices.length;n++)this.body.nodes[this.body.nodeIndices[n]].isCluster===!0&&(e=!0,this.body.modules.clustering.openCluster(this.body.nodeIndices[n],{},!1));e===!0&&this.body.emitter.emit("_dataChanged")}}},{key:"getSeed",value:function(){return this.initialRandomSeed}},{key:"setupHierarchicalLayout",value:function(){if(this.options.hierarchical.enabled===!0&&this.body.nodeIndices.length>0){var e,n,i=!1,o=!1;this.lastNodeOnLevel={},this.hierarchical=new Wxt;for(n in this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,n)&&(e=this.body.nodes[n],e.options.level!==void 0?(i=!0,this.hierarchical.levels[n]=e.options.level):o=!0);if(o===!0&&i===!0)throw new Error("To use the hierarchical layout, nodes require either no predefined levels or levels have to be defined for all nodes.");if(o===!0){var a=this.options.hierarchical.sortMethod;a==="hubsize"?this._determineLevelsByHubsize():a==="directed"?this._determineLevelsDirected():a==="custom"&&this._determineLevelsCustomCallback()}for(var s in this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,s)&&this.hierarchical.ensureLevel(s);var l=this._getDistribution();this._generateMap(),this._placeNodesByHierarchy(l),this._condenseHierarchy(),this._shiftToCenter()}}},{key:"_condenseHierarchy",value:function(){var e=this,n=!1,i={},o=function(){for(var p=s(),m=0,b=0;b<p.length-1;b++){var _=p[b].max-p[b+1].min;m+=_+e.options.hierarchical.treeSpacing,a(b+1,m)}},a=function(p,m){var b=e.hierarchical.trees;for(var _ in b)Object.prototype.hasOwnProperty.call(b,_)&&b[_]===p&&e.direction.shift(_,m)},s=function(){for(var p=[],m=0;m<e.hierarchical.numTrees();m++)p.push(e.direction.getTreeSize(m));return p},l=function I(p,m){if(!m[p.id]&&(m[p.id]=!0,e.hierarchical.childrenReference[p.id])){var b=e.hierarchical.childrenReference[p.id];if(b.length>0)for(var _=0;_<b.length;_++)I(e.body.nodes[b[_]],m)}},c=function(p){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e9,b=1e9,_=1e9,L=1e9,z=-1e9;for(var S in p)if(Object.prototype.hasOwnProperty.call(p,S)){var T=e.body.nodes[S],k=e.hierarchical.levels[T.id],O=e.direction.getPosition(T),P=e._getSpaceAroundNode(T,p),B=yr(P,2),te=B[0],ee=B[1];b=Math.min(te,b),_=Math.min(ee,_),k<=m&&(L=Math.min(O,L),z=Math.max(O,z))}return[L,z,b,_]},u=function(p,m){var b=e.hierarchical.getMaxLevel(p.id),_=e.hierarchical.getMaxLevel(m.id);return Math.min(b,_)},g=function(p,m,b){for(var _=e.hierarchical,L=0;L<m.length;L++){var z=m[L],S=_.distributionOrdering[z];if(S.length>1)for(var T=0;T<S.length-1;T++){var k=S[T],O=S[T+1];_.hasSameParent(k,O)&&_.inSameSubNetwork(k,O)&&p(k,O,b)}}},h=function(p,m){var b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,_=e.direction.getPosition(p),L=e.direction.getPosition(m),z=Math.abs(L-_),S=e.options.hierarchical.nodeSpacing;if(z>S){var T={},k={};l(p,T),l(m,k);var O=u(p,m),P=c(T,O),B=c(k,O),te=P[1],ee=B[0],re=B[2],Ee=Math.abs(te-ee);if(Ee>S){var He=te-ee+S;He<-re+S&&(He=-re+S),He<0&&(e._shiftBlock(m.id,He),n=!0,b===!0&&e._centerParent(m))}}},d=function(p,m){for(var b=m.id,_=m.edges,L=e.hierarchical.levels[m.id],z=e.options.hierarchical.levelSeparation*e.options.hierarchical.levelSeparation,S={},T=[],k=0;k<_.length;k++){var O=_[k];if(O.toId!=O.fromId){var P=O.toId==b?O.from:O.to;S[_[k].id]=P,e.hierarchical.levels[P.id]<L&&T.push(O)}}var B=function(De,be){for(var Ne=0,Ue=0;Ue<be.length;Ue++)if(S[be[Ue].id]!==void 0){var ot=e.direction.getPosition(S[be[Ue].id])-De;Ne+=ot/Math.sqrt(ot*ot+z)}return Ne},te=function(De,be){for(var Ne=0,Ue=0;Ue<be.length;Ue++)if(S[be[Ue].id]!==void 0){var ot=e.direction.getPosition(S[be[Ue].id])-De;Ne-=z*Math.pow(ot*ot+z,-1.5)}return Ne},ee=function(De,be){for(var Ne=e.direction.getPosition(m),Ue={},ot=0;ot<De;ot++){var ft=B(Ne,be),Z=te(Ne,be),oe=40,R=Math.max(-oe,Math.min(oe,Math.round(ft/Z)));if(Ne=Ne-R,Ue[Ne]!==void 0)break;Ue[Ne]=ot}return Ne},re=function(De){var be=e.direction.getPosition(m);if(i[m.id]===void 0){var Ne={};l(m,Ne),i[m.id]=Ne}var Ue=c(i[m.id]),ot=Ue[2],ft=Ue[3],Z=De-be,oe=0;Z>0?oe=Math.min(Z,ft-e.options.hierarchical.nodeSpacing):Z<0&&(oe=-Math.min(-Z,ot-e.options.hierarchical.nodeSpacing)),oe!=0&&(e._shiftBlock(m.id,oe),n=!0)},Ee=function(De){var be=e.direction.getPosition(m),Ne=e._getSpaceAroundNode(m),Ue=yr(Ne,2),ot=Ue[0],ft=Ue[1],Z=De-be,oe=be;Z>0?oe=Math.min(be+(ft-e.options.hierarchical.nodeSpacing),De):Z<0&&(oe=Math.max(be-(ot-e.options.hierarchical.nodeSpacing),De)),oe!==be&&(e.direction.setPosition(m,oe),n=!0)},He=ee(p,T);re(He),He=ee(p,_),Ee(He)},f=function(p){var m=e.hierarchical.getLevels();m=Wl(m).call(m);for(var b=0;b<p;b++){n=!1;for(var _=0;_<m.length;_++)for(var L=m[_],z=e.hierarchical.distributionOrdering[L],S=0;S<z.length;S++)d(1e3,z[S]);if(n!==!0)break}},C=function(p){var m=e.hierarchical.getLevels();m=Wl(m).call(m);for(var b=0;b<p&&(n=!1,g(h,m,!0),n===!0);b++);},v=function(){for(var p in e.body.nodes)Object.prototype.hasOwnProperty.call(e.body.nodes,p)&&e._centerParent(e.body.nodes[p])},A=function(){var p=e.hierarchical.getLevels();p=Wl(p).call(p);for(var m=0;m<p.length;m++)for(var b=p[m],_=e.hierarchical.distributionOrdering[b],L=0;L<_.length;L++)e._centerParent(_[L])};this.options.hierarchical.blockShifting===!0&&(C(5),v()),this.options.hierarchical.edgeMinimization===!0&&f(20),this.options.hierarchical.parentCentralization===!0&&A(),o()}},{key:"_getSpaceAroundNode",value:function(e,n){var i=!0;n===void 0&&(i=!1);var o=this.hierarchical.levels[e.id];if(o!==void 0){var a=this.hierarchical.distributionIndex[e.id],s=this.direction.getPosition(e),l=this.hierarchical.distributionOrdering[o],c=1e9,u=1e9;if(a!==0){var g=l[a-1];if(i===!0&&n[g.id]===void 0||i===!1){var h=this.direction.getPosition(g);c=s-h}}if(a!=l.length-1){var d=l[a+1];if(i===!0&&n[d.id]===void 0||i===!1){var f=this.direction.getPosition(d);u=Math.min(u,f-s)}}return[c,u]}else return[0,0]}},{key:"_centerParent",value:function(e){if(this.hierarchical.parentReference[e.id])for(var n=this.hierarchical.parentReference[e.id],i=0;i<n.length;i++){var o=n[i],a=this.body.nodes[o],s=this.hierarchical.childrenReference[o];if(s!==void 0){var l=this._getCenterPosition(s),c=this.direction.getPosition(a),u=this._getSpaceAroundNode(a),g=yr(u,2),h=g[0],d=g[1],f=c-l;(f<0&&Math.abs(f)<d-this.options.hierarchical.nodeSpacing||f>0&&Math.abs(f)<h-this.options.hierarchical.nodeSpacing)&&this.direction.setPosition(a,l)}}}},{key:"_placeNodesByHierarchy",value:function(e){this.positionedNodes={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var i,o=mr(e[n]);o=this._indexArrayToNodes(o),td(i=this.direction).call(i,o);for(var a=0,s=0;s<o.length;s++){var l=o[s];if(this.positionedNodes[l.id]===void 0){var c=this.options.hierarchical.nodeSpacing,u=c*a;a>0&&(u=this.direction.getPosition(o[s-1])+c),this.direction.setPosition(l,u,n),this._validatePositionAndContinue(l,n,u),a++}}}}},{key:"_placeBranchNodes",value:function(e,n){var i,o=this.hierarchical.childrenReference[e];if(o!==void 0){for(var a=[],s=0;s<o.length;s++)a.push(this.body.nodes[o[s]]);td(i=this.direction).call(i,a);for(var l=0;l<a.length;l++){var c=a[l],u=this.hierarchical.levels[c.id];if(u>n&&this.positionedNodes[c.id]===void 0){var g=this.options.hierarchical.nodeSpacing,h=void 0;l===0?h=this.direction.getPosition(this.body.nodes[e]):h=this.direction.getPosition(a[l-1])+g,this.direction.setPosition(c,h,u),this._validatePositionAndContinue(c,u,h)}else return}var d=this._getCenterPosition(a);this.direction.setPosition(this.body.nodes[e],d,n)}}},{key:"_validatePositionAndContinue",value:function(e,n,i){if(this.hierarchical.isTree){if(this.lastNodeOnLevel[n]!==void 0){var o=this.direction.getPosition(this.body.nodes[this.lastNodeOnLevel[n]]);if(i-o<this.options.hierarchical.nodeSpacing){var a=o+this.options.hierarchical.nodeSpacing-i,s=this._findCommonParent(this.lastNodeOnLevel[n],e.id);this._shiftBlock(s.withChild,a)}}this.lastNodeOnLevel[n]=e.id,this.positionedNodes[e.id]=!0,this._placeBranchNodes(e.id,n)}}},{key:"_indexArrayToNodes",value:function(e){for(var n=[],i=0;i<e.length;i++)n.push(this.body.nodes[e[i]]);return n}},{key:"_getDistribution",value:function(){var e={},n,i;for(n in this.body.nodes)if(Object.prototype.hasOwnProperty.call(this.body.nodes,n)){i=this.body.nodes[n];var o=this.hierarchical.levels[n]===void 0?0:this.hierarchical.levels[n];this.direction.fix(i,o),e[o]===void 0&&(e[o]={}),e[o][n]=i}return e}},{key:"_getActiveEdges",value:function(e){var n=this,i=[];return vt(e.edges,function(o){var a;Et(a=n.body.edgeIndices).call(a,o.id)!==-1&&i.push(o)}),i}},{key:"_getHubSizes",value:function(){var e=this,n={},i=this.body.nodeIndices;vt(i,function(a){var s=e.body.nodes[a],l=e._getActiveEdges(s).length;n[l]=!0});var o=[];return vt(n,function(a){o.push(Number(a))}),td(o).call(o,function(a,s){return s-a}),o}},{key:"_determineLevelsByHubsize",value:function(){for(var e=this,n=function(l,c){e.hierarchical.levelDownstream(l,c)},i=this._getHubSizes(),o=function(){var l=i[a];if(l===0)return 1;vt(e.body.nodeIndices,function(c){var u=e.body.nodes[c];l===e._getActiveEdges(u).length&&e._crawlNetwork(n,c)})},a=0;a<i.length&&!o();++a);}},{key:"_determineLevelsCustomCallback",value:function(){var e=this,n=1e5,i=function(s,l,c){},o=function(s,l,c){var u=e.hierarchical.levels[s.id];u===void 0&&(u=e.hierarchical.levels[s.id]=n);var g=i(Un.cloneOptions(s,"node"),Un.cloneOptions(l,"node"),Un.cloneOptions(c,"edge"));e.hierarchical.levels[l.id]=u+g};this._crawlNetwork(o),this.hierarchical.setMinLevelToZero(this.body.nodes)}},{key:"_determineLevelsDirected",value:function(){var e,n=this,i=zne(e=this.body.nodeIndices).call(e,function(o,a){return o.set(a,n.body.nodes[a]),o},new Yre);this.options.hierarchical.shakeTowards==="roots"?this.hierarchical.levels=Gxt(i):this.hierarchical.levels=Uxt(i),this.hierarchical.setMinLevelToZero(this.body.nodes)}},{key:"_generateMap",value:function(){var e=this,n=function(o,a){e.hierarchical.levels[a.id]>e.hierarchical.levels[o.id]&&e.hierarchical.addRelation(o.id,a.id)};this._crawlNetwork(n),this.hierarchical.checkIfTree()}},{key:"_crawlNetwork",value:function(){var e=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(){},i=arguments.length>1?arguments[1]:void 0,o={},a=function h(d,f){if(o[d.id]===void 0){e.hierarchical.setTreeIndex(d,f),o[d.id]=!0;for(var C,v=e._getActiveEdges(d),A=0;A<v.length;A++){var I=v[A];I.connected===!0&&(I.toId==d.id?C=I.from:C=I.to,d.id!=C.id&&(n(d,C,I),h(C,f)))}}};if(i===void 0)for(var s=0,l=0;l<this.body.nodeIndices.length;l++){var c=this.body.nodeIndices[l];if(o[c]===void 0){var u=this.body.nodes[c];a(u,s),s+=1}}else{var g=this.body.nodes[i];if(g===void 0){console.error("Node not found:",i);return}a(g)}}},{key:"_shiftBlock",value:function(e,n){var i=this,o={},a=function s(l){if(!o[l]){o[l]=!0,i.direction.shift(l,n);var c=i.hierarchical.childrenReference[l];if(c!==void 0)for(var u=0;u<c.length;u++)s(c[u])}};a(e)}},{key:"_findCommonParent",value:function(e,n){var i=this,o={},a=function l(c,u){var g=i.hierarchical.parentReference[u];if(g!==void 0)for(var h=0;h<g.length;h++){var d=g[h];c[d]=!0,l(c,d)}},s=function l(c,u){var g=i.hierarchical.parentReference[u];if(g!==void 0)for(var h=0;h<g.length;h++){var d=g[h];if(c[d]!==void 0)return{foundParent:d,withChild:u};var f=l(c,d);if(f.foundParent!==null)return f}return{foundParent:null,withChild:u}};return a(o,e),s(o,n)}},{key:"setDirectionStrategy",value:function(){var e=this.options.hierarchical.direction==="UD"||this.options.hierarchical.direction==="DU";e?this.direction=new zxt(this):this.direction=new Ext(this)}},{key:"_getCenterPosition",value:function(e){for(var n=1e9,i=-1e9,o=0;o<e.length;o++){var a=void 0;if(e[o].id!==void 0)a=e[o];else{var s=e[o];a=this.body.nodes[s]}var l=this.direction.getPosition(a);n=Math.min(n,l),i=Math.max(i,l)}return .5*(n+i)}}]),t}();function Kxt(t,r){var e=typeof rl<"u"&&jc(t)||t["@@iterator"];if(!e){if(jt(t)||(e=Yxt(t))||r){e&&(t=e);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
1166
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,a=!1,s;return{s:function(){e=e.call(t)},n:function(){var c=e.next();return o=c.done,c},e:function(c){a=!0,s=c},f:function(){try{!o&&e.return!=null&&e.return()}finally{if(a)throw s}}}}function Yxt(t,r){var e;if(t){if(typeof t=="string")return kN(t,r);var n=zn(e=Object.prototype.toString.call(t)).call(e,8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Fc(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return kN(t,r)}}function kN(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}var Xxt=function(){function t(r,e,n,i){var o=this,a,s;we(this,t),this.body=r,this.canvas=e,this.selectionHandler=n,this.interactionHandler=i,this.editMode=!1,this.manipulationDiv=void 0,this.editModeDiv=void 0,this.closeDiv=void 0,this._domEventListenerCleanupQueue=[],this.temporaryUIFunctions={},this.temporaryEventFunctions=[],this.touchTime=0,this.temporaryIds={nodes:[],edges:[]},this.guiEnabled=!1,this.inMode=!1,this.selectedControlNode=void 0,this.options={},this.defaultOptions={enabled:!1,initiallyActive:!1,addNode:!0,addEdge:!0,editNode:void 0,editEdge:!0,deleteNode:!0,deleteEdge:!0,controlNodeStyle:{shape:"dot",size:6,color:{background:"#ff0000",border:"#3c3c3c",highlight:{background:"#07f968",border:"#3c3c3c"}},borderWidth:2,borderWidthSelected:2}},Wr(this.options,this.defaultOptions),this.body.emitter.on("destroy",function(){o._clean()}),this.body.emitter.on("_dataChanged",Ae(a=this._restore).call(a,this)),this.body.emitter.on("_resetData",Ae(s=this._restore).call(s,this))}return $e(t,[{key:"_restore",value:function(){this.inMode!==!1&&(this.options.initiallyActive===!0?this.enableEditMode():this.disableEditMode())}},{key:"setOptions",value:function(e,n,i){n!==void 0&&(n.locale!==void 0?this.options.locale=n.locale:this.options.locale=i.locale,n.locales!==void 0?this.options.locales=n.locales:this.options.locales=i.locales),e!==void 0&&(typeof e=="boolean"?this.options.enabled=e:(this.options.enabled=!0,rr(this.options,e)),this.options.initiallyActive===!0&&(this.editMode=!0),this._setup())}},{key:"toggleEditMode",value:function(){this.editMode===!0?this.disableEditMode():this.enableEditMode()}},{key:"enableEditMode",value:function(){this.editMode=!0,this._clean(),this.guiEnabled===!0&&(this.manipulationDiv.style.display="block",this.closeDiv.style.display="block",this.editModeDiv.style.display="none",this.showManipulatorToolbar())}},{key:"disableEditMode",value:function(){this.editMode=!1,this._clean(),this.guiEnabled===!0&&(this.manipulationDiv.style.display="none",this.closeDiv.style.display="none",this.editModeDiv.style.display="block",this._createEditButton())}},{key:"showManipulatorToolbar",value:function(){if(this._clean(),this.manipulationDOM={},this.guiEnabled===!0){var e,n;this.editMode=!0,this.manipulationDiv.style.display="block",this.closeDiv.style.display="block";var i=this.selectionHandler.getSelectedNodeCount(),o=this.selectionHandler.getSelectedEdgeCount(),a=i+o,s=this.options.locales[this.options.locale],l=!1;this.options.addNode!==!1&&(this._createAddNodeButton(s),l=!0),this.options.addEdge!==!1&&(l===!0?this._createSeperator(1):l=!0,this._createAddEdgeButton(s)),i===1&&typeof this.options.editNode=="function"?(l===!0?this._createSeperator(2):l=!0,this._createEditNodeButton(s)):o===1&&i===0&&this.options.editEdge!==!1&&(l===!0?this._createSeperator(3):l=!0,this._createEditEdgeButton(s)),a!==0&&(i>0&&this.options.deleteNode!==!1?(l===!0&&this._createSeperator(4),this._createDeleteButton(s)):i===0&&this.options.deleteEdge!==!1&&(l===!0&&this._createSeperator(4),this._createDeleteButton(s))),this._bindElementEvents(this.closeDiv,Ae(e=this.toggleEditMode).call(e,this)),this._temporaryBindEvent("select",Ae(n=this.showManipulatorToolbar).call(n,this))}this.body.emitter.emit("_redraw")}},{key:"addNodeMode",value:function(){var e;if(this.editMode!==!0&&this.enableEditMode(),this._clean(),this.inMode="addNode",this.guiEnabled===!0){var n,i=this.options.locales[this.options.locale];this.manipulationDOM={},this._createBackButton(i),this._createSeperator(),this._createDescription(i.addDescription||this.options.locales.en.addDescription),this._bindElementEvents(this.closeDiv,Ae(n=this.toggleEditMode).call(n,this))}this._temporaryBindEvent("click",Ae(e=this._performAddNode).call(e,this))}},{key:"editNode",value:function(){var e=this;this.editMode!==!0&&this.enableEditMode(),this._clean();var n=this.selectionHandler.getSelectedNodes()[0];if(n!==void 0)if(this.inMode="editNode",typeof this.options.editNode=="function")if(n.isCluster!==!0){var i=rr({},n.options,!1);if(i.x=n.x,i.y=n.y,this.options.editNode.length===2)this.options.editNode(i,function(o){o!=null&&e.inMode==="editNode"&&e.body.data.nodes.getDataSet().update(o),e.showManipulatorToolbar()});else throw new Error("The function for edit does not support two arguments (data, callback)")}else alert(this.options.locales[this.options.locale].editClusterError||this.options.locales.en.editClusterError);else throw new Error("No function has been configured to handle the editing of nodes.");else this.showManipulatorToolbar()}},{key:"addEdgeMode",value:function(){var e,n,i,o,a;if(this.editMode!==!0&&this.enableEditMode(),this._clean(),this.inMode="addEdge",this.guiEnabled===!0){var s,l=this.options.locales[this.options.locale];this.manipulationDOM={},this._createBackButton(l),this._createSeperator(),this._createDescription(l.edgeDescription||this.options.locales.en.edgeDescription),this._bindElementEvents(this.closeDiv,Ae(s=this.toggleEditMode).call(s,this))}this._temporaryBindUI("onTouch",Ae(e=this._handleConnect).call(e,this)),this._temporaryBindUI("onDragEnd",Ae(n=this._finishConnect).call(n,this)),this._temporaryBindUI("onDrag",Ae(i=this._dragControlNode).call(i,this)),this._temporaryBindUI("onRelease",Ae(o=this._finishConnect).call(o,this)),this._temporaryBindUI("onDragStart",Ae(a=this._dragStartEdge).call(a,this)),this._temporaryBindUI("onHold",function(){})}},{key:"editEdgeMode",value:function(){if(this.editMode!==!0&&this.enableEditMode(),this._clean(),this.inMode="editEdge",Wt(this.options.editEdge)==="object"&&typeof this.options.editEdge.editWithoutDrag=="function"&&(this.edgeBeingEditedId=this.selectionHandler.getSelectedEdgeIds()[0],this.edgeBeingEditedId!==void 0)){var e=this.body.edges[this.edgeBeingEditedId];this._performEditEdge(e.from.id,e.to.id);return}if(this.guiEnabled===!0){var n,i=this.options.locales[this.options.locale];this.manipulationDOM={},this._createBackButton(i),this._createSeperator(),this._createDescription(i.editEdgeDescription||this.options.locales.en.editEdgeDescription),this._bindElementEvents(this.closeDiv,Ae(n=this.toggleEditMode).call(n,this))}if(this.edgeBeingEditedId=this.selectionHandler.getSelectedEdgeIds()[0],this.edgeBeingEditedId!==void 0){var o,a,s,l,c=this.body.edges[this.edgeBeingEditedId],u=this._getNewTargetNode(c.from.x,c.from.y),g=this._getNewTargetNode(c.to.x,c.to.y);this.temporaryIds.nodes.push(u.id),this.temporaryIds.nodes.push(g.id),this.body.nodes[u.id]=u,this.body.nodeIndices.push(u.id),this.body.nodes[g.id]=g,this.body.nodeIndices.push(g.id),this._temporaryBindUI("onTouch",Ae(o=this._controlNodeTouch).call(o,this)),this._temporaryBindUI("onTap",function(){}),this._temporaryBindUI("onHold",function(){}),this._temporaryBindUI("onDragStart",Ae(a=this._controlNodeDragStart).call(a,this)),this._temporaryBindUI("onDrag",Ae(s=this._controlNodeDrag).call(s,this)),this._temporaryBindUI("onDragEnd",Ae(l=this._controlNodeDragEnd).call(l,this)),this._temporaryBindUI("onMouseMove",function(){}),this._temporaryBindEvent("beforeDrawing",function(h){var d=c.edgeType.findBorderPositions(h);u.selected===!1&&(u.x=d.from.x,u.y=d.from.y),g.selected===!1&&(g.x=d.to.x,g.y=d.to.y)}),this.body.emitter.emit("_redraw")}else this.showManipulatorToolbar()}},{key:"deleteSelected",value:function(){var e=this;this.editMode!==!0&&this.enableEditMode(),this._clean(),this.inMode="delete";var n=this.selectionHandler.getSelectedNodeIds(),i=this.selectionHandler.getSelectedEdgeIds(),o=void 0;if(n.length>0){for(var a=0;a<n.length;a++)if(this.body.nodes[n[a]].isCluster===!0){alert(this.options.locales[this.options.locale].deleteClusterError||this.options.locales.en.deleteClusterError);return}typeof this.options.deleteNode=="function"&&(o=this.options.deleteNode)}else i.length>0&&typeof this.options.deleteEdge=="function"&&(o=this.options.deleteEdge);if(typeof o=="function"){var s={nodes:n,edges:i};if(o.length===2)o(s,function(l){l!=null&&e.inMode==="delete"?(e.body.data.edges.getDataSet().remove(l.edges),e.body.data.nodes.getDataSet().remove(l.nodes),e.body.emitter.emit("startSimulation"),e.showManipulatorToolbar()):(e.body.emitter.emit("startSimulation"),e.showManipulatorToolbar())});else throw new Error("The function for delete does not support two arguments (data, callback)")}else this.body.data.edges.getDataSet().remove(i),this.body.data.nodes.getDataSet().remove(n),this.body.emitter.emit("startSimulation"),this.showManipulatorToolbar()}},{key:"_setup",value:function(){this.options.enabled===!0?(this.guiEnabled=!0,this._createWrappers(),this.editMode===!1?this._createEditButton():this.showManipulatorToolbar()):(this._removeManipulationDOM(),this.guiEnabled=!1)}},{key:"_createWrappers",value:function(){if(this.manipulationDiv===void 0&&(this.manipulationDiv=document.createElement("div"),this.manipulationDiv.className="vis-manipulation",this.editMode===!0?this.manipulationDiv.style.display="block":this.manipulationDiv.style.display="none",this.canvas.frame.appendChild(this.manipulationDiv)),this.editModeDiv===void 0&&(this.editModeDiv=document.createElement("div"),this.editModeDiv.className="vis-edit-mode",this.editMode===!0?this.editModeDiv.style.display="none":this.editModeDiv.style.display="block",this.canvas.frame.appendChild(this.editModeDiv)),this.closeDiv===void 0){var e,n;this.closeDiv=document.createElement("button"),this.closeDiv.className="vis-close",this.closeDiv.setAttribute("aria-label",(e=(n=this.options.locales[this.options.locale])===null||n===void 0?void 0:n.close)!==null&&e!==void 0?e:this.options.locales.en.close),this.closeDiv.style.display=this.manipulationDiv.style.display,this.canvas.frame.appendChild(this.closeDiv)}}},{key:"_getNewTargetNode",value:function(e,n){var i=rr({},this.options.controlNodeStyle);i.id="targetNode"+Jh(),i.hidden=!1,i.physics=!1,i.x=e,i.y=n;var o=this.body.functions.createNode(i);return o.shape.boundingBox={left:e,right:e,top:n,bottom:n},o}},{key:"_createEditButton",value:function(){var e;this._clean(),this.manipulationDOM={},Ys(this.editModeDiv);var n=this.options.locales[this.options.locale],i=this._createButton("editMode","vis-edit vis-edit-mode",n.edit||this.options.locales.en.edit);this.editModeDiv.appendChild(i),this._bindElementEvents(i,Ae(e=this.toggleEditMode).call(e,this))}},{key:"_clean",value:function(){this.inMode=!1,this.guiEnabled===!0&&(Ys(this.editModeDiv),Ys(this.manipulationDiv),this._cleanupDOMEventListeners()),this._cleanupTemporaryNodesAndEdges(),this._unbindTemporaryUIs(),this._unbindTemporaryEvents(),this.body.emitter.emit("restorePhysics")}},{key:"_cleanupDOMEventListeners",value:function(){var e,n=Kxt(rs(e=this._domEventListenerCleanupQueue).call(e,0)),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;o()}}catch(a){n.e(a)}finally{n.f()}}},{key:"_removeManipulationDOM",value:function(){this._clean(),Ys(this.manipulationDiv),Ys(this.editModeDiv),Ys(this.closeDiv),this.manipulationDiv&&this.canvas.frame.removeChild(this.manipulationDiv),this.editModeDiv&&this.canvas.frame.removeChild(this.editModeDiv),this.closeDiv&&this.canvas.frame.removeChild(this.closeDiv),this.manipulationDiv=void 0,this.editModeDiv=void 0,this.closeDiv=void 0}},{key:"_createSeperator",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1;this.manipulationDOM["seperatorLineDiv"+e]=document.createElement("div"),this.manipulationDOM["seperatorLineDiv"+e].className="vis-separator-line",this.manipulationDiv.appendChild(this.manipulationDOM["seperatorLineDiv"+e])}},{key:"_createAddNodeButton",value:function(e){var n,i=this._createButton("addNode","vis-add",e.addNode||this.options.locales.en.addNode);this.manipulationDiv.appendChild(i),this._bindElementEvents(i,Ae(n=this.addNodeMode).call(n,this))}},{key:"_createAddEdgeButton",value:function(e){var n,i=this._createButton("addEdge","vis-connect",e.addEdge||this.options.locales.en.addEdge);this.manipulationDiv.appendChild(i),this._bindElementEvents(i,Ae(n=this.addEdgeMode).call(n,this))}},{key:"_createEditNodeButton",value:function(e){var n,i=this._createButton("editNode","vis-edit",e.editNode||this.options.locales.en.editNode);this.manipulationDiv.appendChild(i),this._bindElementEvents(i,Ae(n=this.editNode).call(n,this))}},{key:"_createEditEdgeButton",value:function(e){var n,i=this._createButton("editEdge","vis-edit",e.editEdge||this.options.locales.en.editEdge);this.manipulationDiv.appendChild(i),this._bindElementEvents(i,Ae(n=this.editEdgeMode).call(n,this))}},{key:"_createDeleteButton",value:function(e){var n,i;this.options.rtl?i="vis-delete-rtl":i="vis-delete";var o=this._createButton("delete",i,e.del||this.options.locales.en.del);this.manipulationDiv.appendChild(o),this._bindElementEvents(o,Ae(n=this.deleteSelected).call(n,this))}},{key:"_createBackButton",value:function(e){var n,i=this._createButton("back","vis-back",e.back||this.options.locales.en.back);this.manipulationDiv.appendChild(i),this._bindElementEvents(i,Ae(n=this.showManipulatorToolbar).call(n,this))}},{key:"_createButton",value:function(e,n,i){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"vis-label";return this.manipulationDOM[e+"Div"]=document.createElement("button"),this.manipulationDOM[e+"Div"].className="vis-button "+n,this.manipulationDOM[e+"Label"]=document.createElement("div"),this.manipulationDOM[e+"Label"].className=o,this.manipulationDOM[e+"Label"].innerText=i,this.manipulationDOM[e+"Div"].appendChild(this.manipulationDOM[e+"Label"]),this.manipulationDOM[e+"Div"]}},{key:"_createDescription",value:function(e){this.manipulationDOM.descriptionLabel=document.createElement("div"),this.manipulationDOM.descriptionLabel.className="vis-none",this.manipulationDOM.descriptionLabel.innerText=e,this.manipulationDiv.appendChild(this.manipulationDOM.descriptionLabel)}},{key:"_temporaryBindEvent",value:function(e,n){this.temporaryEventFunctions.push({event:e,boundFunction:n}),this.body.emitter.on(e,n)}},{key:"_temporaryBindUI",value:function(e,n){if(this.body.eventListeners[e]!==void 0)this.temporaryUIFunctions[e]=this.body.eventListeners[e],this.body.eventListeners[e]=n;else throw new Error("This UI function does not exist. Typo? You tried: "+e+" possible are: "+H0(mr(this.body.eventListeners)))}},{key:"_unbindTemporaryUIs",value:function(){for(var e in this.temporaryUIFunctions)Object.prototype.hasOwnProperty.call(this.temporaryUIFunctions,e)&&(this.body.eventListeners[e]=this.temporaryUIFunctions[e],delete this.temporaryUIFunctions[e]);this.temporaryUIFunctions={}}},{key:"_unbindTemporaryEvents",value:function(){for(var e=0;e<this.temporaryEventFunctions.length;e++){var n=this.temporaryEventFunctions[e].event,i=this.temporaryEventFunctions[e].boundFunction;this.body.emitter.off(n,i)}this.temporaryEventFunctions=[]}},{key:"_bindElementEvents",value:function(e,n){var i=new nu(e,{});NA(i,n),this._domEventListenerCleanupQueue.push(function(){i.destroy()});var o=function(s){var l=s.keyCode,c=s.key;(c==="Enter"||c===" "||l===13||l===32)&&n()};e.addEventListener("keyup",o,!1),this._domEventListenerCleanupQueue.push(function(){e.removeEventListener("keyup",o,!1)})}},{key:"_cleanupTemporaryNodesAndEdges",value:function(){for(var e=0;e<this.temporaryIds.edges.length;e++){var n;this.body.edges[this.temporaryIds.edges[e]].disconnect(),delete this.body.edges[this.temporaryIds.edges[e]];var i=Et(n=this.body.edgeIndices).call(n,this.temporaryIds.edges[e]);if(i!==-1){var o;rs(o=this.body.edgeIndices).call(o,i,1)}}for(var a=0;a<this.temporaryIds.nodes.length;a++){var s;delete this.body.nodes[this.temporaryIds.nodes[a]];var l=Et(s=this.body.nodeIndices).call(s,this.temporaryIds.nodes[a]);if(l!==-1){var c;rs(c=this.body.nodeIndices).call(c,l,1)}}this.temporaryIds={nodes:[],edges:[]}}},{key:"_controlNodeTouch",value:function(e){this.selectionHandler.unselectAll(),this.lastTouch=this.body.functions.getPointer(e.center),this.lastTouch.translation=Wr({},this.body.view.translation)}},{key:"_controlNodeDragStart",value:function(){var e=this.lastTouch,n=this.selectionHandler._pointerToPositionObject(e),i=this.body.nodes[this.temporaryIds.nodes[0]],o=this.body.nodes[this.temporaryIds.nodes[1]],a=this.body.edges[this.edgeBeingEditedId];this.selectedControlNode=void 0;var s=i.isOverlappingWith(n),l=o.isOverlappingWith(n);s===!0?(this.selectedControlNode=i,a.edgeType.from=i):l===!0&&(this.selectedControlNode=o,a.edgeType.to=o),this.selectedControlNode!==void 0&&this.selectionHandler.selectObject(this.selectedControlNode),this.body.emitter.emit("_redraw")}},{key:"_controlNodeDrag",value:function(e){this.body.emitter.emit("disablePhysics");var n=this.body.functions.getPointer(e.center),i=this.canvas.DOMtoCanvas(n);this.selectedControlNode!==void 0?(this.selectedControlNode.x=i.x,this.selectedControlNode.y=i.y):this.interactionHandler.onDrag(e),this.body.emitter.emit("_redraw")}},{key:"_controlNodeDragEnd",value:function(e){var n=this.body.functions.getPointer(e.center),i=this.selectionHandler._pointerToPositionObject(n),o=this.body.edges[this.edgeBeingEditedId];if(this.selectedControlNode!==void 0){this.selectionHandler.unselectAll();for(var a=this.selectionHandler._getAllNodesOverlappingWith(i),s=void 0,l=a.length-1;l>=0;l--)if(a[l]!==this.selectedControlNode.id){s=this.body.nodes[a[l]];break}if(s!==void 0&&this.selectedControlNode!==void 0)if(s.isCluster===!0)alert(this.options.locales[this.options.locale].createEdgeError||this.options.locales.en.createEdgeError);else{var c=this.body.nodes[this.temporaryIds.nodes[0]];this.selectedControlNode.id===c.id?this._performEditEdge(s.id,o.to.id):this._performEditEdge(o.from.id,s.id)}else o.updateEdgeType(),this.body.emitter.emit("restorePhysics");this.body.emitter.emit("_redraw")}}},{key:"_handleConnect",value:function(e){if(new Date().valueOf()-this.touchTime>100){this.lastTouch=this.body.functions.getPointer(e.center),this.lastTouch.translation=Wr({},this.body.view.translation),this.interactionHandler.drag.pointer=this.lastTouch,this.interactionHandler.drag.translation=this.lastTouch.translation;var n=this.lastTouch,i=this.selectionHandler.getNodeAt(n);if(i!==void 0)if(i.isCluster===!0)alert(this.options.locales[this.options.locale].createEdgeError||this.options.locales.en.createEdgeError);else{var o=this._getNewTargetNode(i.x,i.y);this.body.nodes[o.id]=o,this.body.nodeIndices.push(o.id);var a=this.body.functions.createEdge({id:"connectionEdge"+Jh(),from:i.id,to:o.id,physics:!1,smooth:{enabled:!0,type:"continuous",roundness:.5}});this.body.edges[a.id]=a,this.body.edgeIndices.push(a.id),this.temporaryIds.nodes.push(o.id),this.temporaryIds.edges.push(a.id)}this.touchTime=new Date().valueOf()}}},{key:"_dragControlNode",value:function(e){var n=this.body.functions.getPointer(e.center),i=this.selectionHandler._pointerToPositionObject(n),o=void 0;this.temporaryIds.edges[0]!==void 0&&(o=this.body.edges[this.temporaryIds.edges[0]].fromId);for(var a=this.selectionHandler._getAllNodesOverlappingWith(i),s=void 0,l=a.length-1;l>=0;l--){var c;if(Et(c=this.temporaryIds.nodes).call(c,a[l])===-1){s=this.body.nodes[a[l]];break}}if(e.controlEdge={from:o,to:s?s.id:void 0},this.selectionHandler.generateClickEvent("controlNodeDragging",e,n),this.temporaryIds.nodes[0]!==void 0){var u=this.body.nodes[this.temporaryIds.nodes[0]];u.x=this.canvas._XconvertDOMtoCanvas(n.x),u.y=this.canvas._YconvertDOMtoCanvas(n.y),this.body.emitter.emit("_redraw")}else this.interactionHandler.onDrag(e)}},{key:"_finishConnect",value:function(e){var n=this.body.functions.getPointer(e.center),i=this.selectionHandler._pointerToPositionObject(n),o=void 0;this.temporaryIds.edges[0]!==void 0&&(o=this.body.edges[this.temporaryIds.edges[0]].fromId);for(var a=this.selectionHandler._getAllNodesOverlappingWith(i),s=void 0,l=a.length-1;l>=0;l--){var c;if(Et(c=this.temporaryIds.nodes).call(c,a[l])===-1){s=this.body.nodes[a[l]];break}}this._cleanupTemporaryNodesAndEdges(),s!==void 0&&(s.isCluster===!0?alert(this.options.locales[this.options.locale].createEdgeError||this.options.locales.en.createEdgeError):this.body.nodes[o]!==void 0&&this.body.nodes[s.id]!==void 0&&this._performAddEdge(o,s.id)),e.controlEdge={from:o,to:s?s.id:void 0},this.selectionHandler.generateClickEvent("controlNodeDragEnd",e,n),this.body.emitter.emit("_redraw")}},{key:"_dragStartEdge",value:function(e){var n=this.lastTouch;this.selectionHandler.generateClickEvent("dragStart",e,n,void 0,!0)}},{key:"_performAddNode",value:function(e){var n=this,i={id:Jh(),x:e.pointer.canvas.x,y:e.pointer.canvas.y,label:"new"};if(typeof this.options.addNode=="function")if(this.options.addNode.length===2)this.options.addNode(i,function(o){o!=null&&n.inMode==="addNode"&&n.body.data.nodes.getDataSet().add(o),n.showManipulatorToolbar()});else throw this.showManipulatorToolbar(),new Error("The function for add does not support two arguments (data,callback)");else this.body.data.nodes.getDataSet().add(i),this.showManipulatorToolbar()}},{key:"_performAddEdge",value:function(e,n){var i=this,o={from:e,to:n};if(typeof this.options.addEdge=="function")if(this.options.addEdge.length===2)this.options.addEdge(o,function(a){a!=null&&i.inMode==="addEdge"&&(i.body.data.edges.getDataSet().add(a),i.selectionHandler.unselectAll(),i.showManipulatorToolbar())});else throw new Error("The function for connect does not support two arguments (data,callback)");else this.body.data.edges.getDataSet().add(o),this.selectionHandler.unselectAll(),this.showManipulatorToolbar()}},{key:"_performEditEdge",value:function(e,n){var i=this,o={id:this.edgeBeingEditedId,from:e,to:n,label:this.body.data.edges.get(this.edgeBeingEditedId).label},a=this.options.editEdge;if(Wt(a)==="object"&&(a=a.editWithoutDrag),typeof a=="function")if(a.length===2)a(o,function(s){s==null||i.inMode!=="editEdge"?(i.body.edges[o.id].updateEdgeType(),i.body.emitter.emit("_redraw"),i.showManipulatorToolbar()):(i.body.data.edges.getDataSet().update(s),i.selectionHandler.unselectAll(),i.showManipulatorToolbar())});else throw new Error("The function for edit does not support two arguments (data, callback)");else this.body.data.edges.getDataSet().update(o),this.selectionHandler.unselectAll(),this.showManipulatorToolbar()}}]),t}(),ye="string",de="boolean",X="number",mh="array",Fe="object",kne="dom",qxt="any",M6=["arrow","bar","box","circle","crow","curve","diamond","image","inv_curve","inv_triangle","triangle","vee"],z6={borderWidth:{number:X},borderWidthSelected:{number:X,undefined:"undefined"},brokenImage:{string:ye,undefined:"undefined"},chosen:{label:{boolean:de,function:"function"},node:{boolean:de,function:"function"},__type__:{object:Fe,boolean:de}},color:{border:{string:ye},background:{string:ye},highlight:{border:{string:ye},background:{string:ye},__type__:{object:Fe,string:ye}},hover:{border:{string:ye},background:{string:ye},__type__:{object:Fe,string:ye}},__type__:{object:Fe,string:ye}},opacity:{number:X,undefined:"undefined"},fixed:{x:{boolean:de},y:{boolean:de},__type__:{object:Fe,boolean:de}},font:{align:{string:ye},color:{string:ye},size:{number:X},face:{string:ye},background:{string:ye},strokeWidth:{number:X},strokeColor:{string:ye},vadjust:{number:X},multi:{boolean:de,string:ye},bold:{color:{string:ye},size:{number:X},face:{string:ye},mod:{string:ye},vadjust:{number:X},__type__:{object:Fe,string:ye}},boldital:{color:{string:ye},size:{number:X},face:{string:ye},mod:{string:ye},vadjust:{number:X},__type__:{object:Fe,string:ye}},ital:{color:{string:ye},size:{number:X},face:{string:ye},mod:{string:ye},vadjust:{number:X},__type__:{object:Fe,string:ye}},mono:{color:{string:ye},size:{number:X},face:{string:ye},mod:{string:ye},vadjust:{number:X},__type__:{object:Fe,string:ye}},__type__:{object:Fe,string:ye}},group:{string:ye,number:X,undefined:"undefined"},heightConstraint:{minimum:{number:X},valign:{string:ye},__type__:{object:Fe,boolean:de,number:X}},hidden:{boolean:de},icon:{face:{string:ye},code:{string:ye},size:{number:X},color:{string:ye},weight:{string:ye,number:X},__type__:{object:Fe}},id:{string:ye,number:X},image:{selected:{string:ye,undefined:"undefined"},unselected:{string:ye,undefined:"undefined"},__type__:{object:Fe,string:ye}},imagePadding:{top:{number:X},right:{number:X},bottom:{number:X},left:{number:X},__type__:{object:Fe,number:X}},label:{string:ye,undefined:"undefined"},labelHighlightBold:{boolean:de},level:{number:X,undefined:"undefined"},margin:{top:{number:X},right:{number:X},bottom:{number:X},left:{number:X},__type__:{object:Fe,number:X}},mass:{number:X},physics:{boolean:de},scaling:{min:{number:X},max:{number:X},label:{enabled:{boolean:de},min:{number:X},max:{number:X},maxVisible:{number:X},drawThreshold:{number:X},__type__:{object:Fe,boolean:de}},customScalingFunction:{function:"function"},__type__:{object:Fe}},shadow:{enabled:{boolean:de},color:{string:ye},size:{number:X},x:{number:X},y:{number:X},__type__:{object:Fe,boolean:de}},shape:{string:["custom","ellipse","circle","database","box","text","image","circularImage","diamond","dot","star","triangle","triangleDown","square","icon","hexagon"]},ctxRenderer:{function:"function"},shapeProperties:{borderDashes:{boolean:de,array:mh},borderRadius:{number:X},interpolation:{boolean:de},useImageSize:{boolean:de},useBorderWithImage:{boolean:de},coordinateOrigin:{string:["center","top-left"]},__type__:{object:Fe}},size:{number:X},title:{string:ye,dom:kne,undefined:"undefined"},value:{number:X,undefined:"undefined"},widthConstraint:{minimum:{number:X},maximum:{number:X},__type__:{object:Fe,boolean:de,number:X}},x:{number:X},y:{number:X},__type__:{object:Fe}},Qxt={configure:{enabled:{boolean:de},filter:{boolean:de,string:ye,array:mh,function:"function"},container:{dom:kne},showButton:{boolean:de},__type__:{object:Fe,boolean:de,string:ye,array:mh,function:"function"}},edges:{arrows:{to:{enabled:{boolean:de},scaleFactor:{number:X},type:{string:M6},imageHeight:{number:X},imageWidth:{number:X},src:{string:ye},__type__:{object:Fe,boolean:de}},middle:{enabled:{boolean:de},scaleFactor:{number:X},type:{string:M6},imageWidth:{number:X},imageHeight:{number:X},src:{string:ye},__type__:{object:Fe,boolean:de}},from:{enabled:{boolean:de},scaleFactor:{number:X},type:{string:M6},imageWidth:{number:X},imageHeight:{number:X},src:{string:ye},__type__:{object:Fe,boolean:de}},__type__:{string:["from","to","middle"],object:Fe}},endPointOffset:{from:{number:X},to:{number:X},__type__:{object:Fe,number:X}},arrowStrikethrough:{boolean:de},background:{enabled:{boolean:de},color:{string:ye},size:{number:X},dashes:{boolean:de,array:mh},__type__:{object:Fe,boolean:de}},chosen:{label:{boolean:de,function:"function"},edge:{boolean:de,function:"function"},__type__:{object:Fe,boolean:de}},color:{color:{string:ye},highlight:{string:ye},hover:{string:ye},inherit:{string:["from","to","both"],boolean:de},opacity:{number:X},__type__:{object:Fe,string:ye}},dashes:{boolean:de,array:mh},font:{color:{string:ye},size:{number:X},face:{string:ye},background:{string:ye},strokeWidth:{number:X},strokeColor:{string:ye},align:{string:["horizontal","top","middle","bottom"]},vadjust:{number:X},multi:{boolean:de,string:ye},bold:{color:{string:ye},size:{number:X},face:{string:ye},mod:{string:ye},vadjust:{number:X},__type__:{object:Fe,string:ye}},boldital:{color:{string:ye},size:{number:X},face:{string:ye},mod:{string:ye},vadjust:{number:X},__type__:{object:Fe,string:ye}},ital:{color:{string:ye},size:{number:X},face:{string:ye},mod:{string:ye},vadjust:{number:X},__type__:{object:Fe,string:ye}},mono:{color:{string:ye},size:{number:X},face:{string:ye},mod:{string:ye},vadjust:{number:X},__type__:{object:Fe,string:ye}},__type__:{object:Fe,string:ye}},hidden:{boolean:de},hoverWidth:{function:"function",number:X},label:{string:ye,undefined:"undefined"},labelHighlightBold:{boolean:de},length:{number:X,undefined:"undefined"},physics:{boolean:de},scaling:{min:{number:X},max:{number:X},label:{enabled:{boolean:de},min:{number:X},max:{number:X},maxVisible:{number:X},drawThreshold:{number:X},__type__:{object:Fe,boolean:de}},customScalingFunction:{function:"function"},__type__:{object:Fe}},selectionWidth:{function:"function",number:X},selfReferenceSize:{number:X},selfReference:{size:{number:X},angle:{number:X},renderBehindTheNode:{boolean:de},__type__:{object:Fe}},shadow:{enabled:{boolean:de},color:{string:ye},size:{number:X},x:{number:X},y:{number:X},__type__:{object:Fe,boolean:de}},smooth:{enabled:{boolean:de},type:{string:["dynamic","continuous","discrete","diagonalCross","straightCross","horizontal","vertical","curvedCW","curvedCCW","cubicBezier"]},roundness:{number:X},forceDirection:{string:["horizontal","vertical","none"],boolean:de},__type__:{object:Fe,boolean:de}},title:{string:ye,undefined:"undefined"},width:{number:X},widthConstraint:{maximum:{number:X},__type__:{object:Fe,boolean:de,number:X}},value:{number:X,undefined:"undefined"},__type__:{object:Fe}},groups:{useDefaultGroups:{boolean:de},__any__:z6,__type__:{object:Fe}},interaction:{dragNodes:{boolean:de},dragView:{boolean:de},hideEdgesOnDrag:{boolean:de},hideEdgesOnZoom:{boolean:de},hideNodesOnDrag:{boolean:de},hover:{boolean:de},keyboard:{enabled:{boolean:de},speed:{x:{number:X},y:{number:X},zoom:{number:X},__type__:{object:Fe}},bindToWindow:{boolean:de},autoFocus:{boolean:de},__type__:{object:Fe,boolean:de}},multiselect:{boolean:de},navigationButtons:{boolean:de},selectable:{boolean:de},selectConnectedEdges:{boolean:de},hoverConnectedEdges:{boolean:de},tooltipDelay:{number:X},zoomView:{boolean:de},zoomSpeed:{number:X},__type__:{object:Fe}},layout:{randomSeed:{undefined:"undefined",number:X,string:ye},improvedLayout:{boolean:de},clusterThreshold:{number:X},hierarchical:{enabled:{boolean:de},levelSeparation:{number:X},nodeSpacing:{number:X},treeSpacing:{number:X},blockShifting:{boolean:de},edgeMinimization:{boolean:de},parentCentralization:{boolean:de},direction:{string:["UD","DU","LR","RL"]},sortMethod:{string:["hubsize","directed"]},shakeTowards:{string:["leaves","roots"]},__type__:{object:Fe,boolean:de}},__type__:{object:Fe}},manipulation:{enabled:{boolean:de},initiallyActive:{boolean:de},addNode:{boolean:de,function:"function"},addEdge:{boolean:de,function:"function"},editNode:{function:"function"},editEdge:{editWithoutDrag:{function:"function"},__type__:{object:Fe,boolean:de,function:"function"}},deleteNode:{boolean:de,function:"function"},deleteEdge:{boolean:de,function:"function"},controlNodeStyle:z6,__type__:{object:Fe,boolean:de}},nodes:z6,physics:{enabled:{boolean:de},barnesHut:{theta:{number:X},gravitationalConstant:{number:X},centralGravity:{number:X},springLength:{number:X},springConstant:{number:X},damping:{number:X},avoidOverlap:{number:X},__type__:{object:Fe}},forceAtlas2Based:{theta:{number:X},gravitationalConstant:{number:X},centralGravity:{number:X},springLength:{number:X},springConstant:{number:X},damping:{number:X},avoidOverlap:{number:X},__type__:{object:Fe}},repulsion:{centralGravity:{number:X},springLength:{number:X},springConstant:{number:X},nodeDistance:{number:X},damping:{number:X},__type__:{object:Fe}},hierarchicalRepulsion:{centralGravity:{number:X},springLength:{number:X},springConstant:{number:X},nodeDistance:{number:X},damping:{number:X},avoidOverlap:{number:X},__type__:{object:Fe}},maxVelocity:{number:X},minVelocity:{number:X},solver:{string:["barnesHut","repulsion","hierarchicalRepulsion","forceAtlas2Based"]},stabilization:{enabled:{boolean:de},iterations:{number:X},updateInterval:{number:X},onlyDynamicEdges:{boolean:de},fit:{boolean:de},__type__:{object:Fe,boolean:de}},timestep:{number:X},adaptiveTimestep:{boolean:de},wind:{x:{number:X},y:{number:X},__type__:{object:Fe}},__type__:{object:Fe,boolean:de}},autoResize:{boolean:de},clickToUse:{boolean:de},locale:{string:ye},locales:{__any__:{any:qxt},__type__:{object:Fe}},height:{string:ye},width:{string:ye},__type__:{object:Fe}},One={nodes:{borderWidth:[1,0,10,1],borderWidthSelected:[2,0,10,1],color:{border:["color","#2B7CE9"],background:["color","#97C2FC"],highlight:{border:["color","#2B7CE9"],background:["color","#D2E5FF"]},hover:{border:["color","#2B7CE9"],background:["color","#D2E5FF"]}},opacity:[0,0,1,.1],fixed:{x:!1,y:!1},font:{color:["color","#343434"],size:[14,0,100,1],face:["arial","verdana","tahoma"],background:["color","none"],strokeWidth:[0,0,50,1],strokeColor:["color","#ffffff"]},hidden:!1,labelHighlightBold:!0,physics:!0,scaling:{min:[10,0,200,1],max:[30,0,200,1],label:{enabled:!1,min:[14,0,200,1],max:[30,0,200,1],maxVisible:[30,0,200,1],drawThreshold:[5,0,20,1]}},shadow:{enabled:!1,color:"rgba(0,0,0,0.5)",size:[10,0,20,1],x:[5,-30,30,1],y:[5,-30,30,1]},shape:["ellipse","box","circle","database","diamond","dot","square","star","text","triangle","triangleDown","hexagon"],shapeProperties:{borderDashes:!1,borderRadius:[6,0,20,1],interpolation:!0,useImageSize:!1},size:[25,0,200,1]},edges:{arrows:{to:{enabled:!1,scaleFactor:[1,0,3,.05],type:"arrow"},middle:{enabled:!1,scaleFactor:[1,0,3,.05],type:"arrow"},from:{enabled:!1,scaleFactor:[1,0,3,.05],type:"arrow"}},endPointOffset:{from:[0,-10,10,1],to:[0,-10,10,1]},arrowStrikethrough:!0,color:{color:["color","#848484"],highlight:["color","#848484"],hover:["color","#848484"],inherit:["from","to","both",!0,!1],opacity:[1,0,1,.05]},dashes:!1,font:{color:["color","#343434"],size:[14,0,100,1],face:["arial","verdana","tahoma"],background:["color","none"],strokeWidth:[2,0,50,1],strokeColor:["color","#ffffff"],align:["horizontal","top","middle","bottom"]},hidden:!1,hoverWidth:[1.5,0,5,.1],labelHighlightBold:!0,physics:!0,scaling:{min:[1,0,100,1],max:[15,0,100,1],label:{enabled:!0,min:[14,0,200,1],max:[30,0,200,1],maxVisible:[30,0,200,1],drawThreshold:[5,0,20,1]}},selectionWidth:[1.5,0,5,.1],selfReferenceSize:[20,0,200,1],selfReference:{size:[20,0,200,1],angle:[Math.PI/2,-6*Math.PI,6*Math.PI,Math.PI/8],renderBehindTheNode:!0},shadow:{enabled:!1,color:"rgba(0,0,0,0.5)",size:[10,0,20,1],x:[5,-30,30,1],y:[5,-30,30,1]},smooth:{enabled:!0,type:["dynamic","continuous","discrete","diagonalCross","straightCross","horizontal","vertical","curvedCW","curvedCCW","cubicBezier"],forceDirection:["horizontal","vertical","none"],roundness:[.5,0,1,.05]},width:[1,0,30,1]},layout:{hierarchical:{enabled:!1,levelSeparation:[150,20,500,5],nodeSpacing:[100,20,500,5],treeSpacing:[200,20,500,5],blockShifting:!0,edgeMinimization:!0,parentCentralization:!0,direction:["UD","DU","LR","RL"],sortMethod:["hubsize","directed"],shakeTowards:["leaves","roots"]}},interaction:{dragNodes:!0,dragView:!0,hideEdgesOnDrag:!1,hideEdgesOnZoom:!1,hideNodesOnDrag:!1,hover:!1,keyboard:{enabled:!1,speed:{x:[10,0,40,1],y:[10,0,40,1],zoom:[.02,0,.1,.005]},bindToWindow:!0,autoFocus:!0},multiselect:!1,navigationButtons:!1,selectable:!0,selectConnectedEdges:!0,hoverConnectedEdges:!0,tooltipDelay:[300,0,1e3,25],zoomView:!0,zoomSpeed:[1,.1,2,.1]},manipulation:{enabled:!1,initiallyActive:!1},physics:{enabled:!0,barnesHut:{theta:[.5,.1,1,.05],gravitationalConstant:[-2e3,-3e4,0,50],centralGravity:[.3,0,10,.05],springLength:[95,0,500,5],springConstant:[.04,0,1.2,.005],damping:[.09,0,1,.01],avoidOverlap:[0,0,1,.01]},forceAtlas2Based:{theta:[.5,.1,1,.05],gravitationalConstant:[-50,-500,0,1],centralGravity:[.01,0,1,.005],springLength:[95,0,500,5],springConstant:[.08,0,1.2,.005],damping:[.4,0,1,.01],avoidOverlap:[0,0,1,.01]},repulsion:{centralGravity:[.2,0,10,.05],springLength:[200,0,500,5],springConstant:[.05,0,1.2,.005],nodeDistance:[100,0,500,5],damping:[.09,0,1,.01]},hierarchicalRepulsion:{centralGravity:[.2,0,10,.05],springLength:[100,0,500,5],springConstant:[.01,0,1.2,.005],nodeDistance:[120,0,500,5],damping:[.09,0,1,.01],avoidOverlap:[0,0,1,.01]},maxVelocity:[50,0,150,1],minVelocity:[.1,.01,.5,.01],solver:["barnesHut","forceAtlas2Based","repulsion","hierarchicalRepulsion"],timestep:[.5,.01,1,.01],wind:{x:[0,-10,10,.1],y:[0,-10,10,.1]}}},Jxt=function(r,e,n){var i;return!!(p1(r).call(r,"physics")&&p1(i=One.physics.solver).call(i,e)&&n.physics.solver!==e&&e!=="wind")},eHt=function(){function t(){we(this,t)}return $e(t,[{key:"getDistances",value:function(e,n,i){for(var o={},a=e.edges,s=0;s<n.length;s++){var l=n[s],c={};o[l]=c;for(var u=0;u<n.length;u++)c[n[u]]=s==u?0:1e9}for(var g=0;g<i.length;g++){var h=a[i[g]];h.connected===!0&&o[h.fromId]!==void 0&&o[h.toId]!==void 0&&(o[h.fromId][h.toId]=1,o[h.toId][h.fromId]=1)}for(var d=n.length,f=0;f<d;f++)for(var C=n[f],v=o[C],A=0;A<d-1;A++)for(var I=n[A],p=o[I],m=A+1;m<d;m++){var b=n[m],_=o[b],L=Math.min(p[b],p[C]+v[b]);p[b]=L,_[I]=L}return o}}]),t}(),tHt=function(){function t(r,e,n){we(this,t),this.body=r,this.springLength=e,this.springConstant=n,this.distanceSolver=new eHt}return $e(t,[{key:"setOptions",value:function(e){e&&(e.springLength&&(this.springLength=e.springLength),e.springConstant&&(this.springConstant=e.springConstant))}},{key:"solve",value:function(e,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,o=this.distanceSolver.getDistances(this.body,e,n);this._createL_matrix(o),this._createK_matrix(o),this._createE_matrix();for(var a=.01,s=1,l=0,c=Math.max(1e3,Math.min(10*this.body.nodeIndices.length,6e3)),u=5,g=1e9,h=0,d=0,f=0,C=0,v=0;g>a&&l<c;){l+=1;var A=this._getHighestEnergyNode(i),I=yr(A,4);for(h=I[0],g=I[1],d=I[2],f=I[3],C=g,v=0;C>s&&v<u;){v+=1,this._moveNode(h,d,f);var p=this._getEnergy(h),m=yr(p,3);C=m[0],d=m[1],f=m[2]}}}},{key:"_getHighestEnergyNode",value:function(e){for(var n=this.body.nodeIndices,i=this.body.nodes,o=0,a=n[0],s=0,l=0,c=0;c<n.length;c++){var u=n[c];if(i[u].predefinedPosition!==!0||i[u].isCluster===!0&&e===!0||i[u].options.fixed.x!==!0||i[u].options.fixed.y!==!0){var g=this._getEnergy(u),h=yr(g,3),d=h[0],f=h[1],C=h[2];o<d&&(o=d,a=u,s=f,l=C)}}return[a,o,s,l]}},{key:"_getEnergy",value:function(e){var n=yr(this.E_sums[e],2),i=n[0],o=n[1],a=Math.sqrt(Math.pow(i,2)+Math.pow(o,2));return[a,i,o]}},{key:"_moveNode",value:function(e,n,i){for(var o=this.body.nodeIndices,a=this.body.nodes,s=0,l=0,c=0,u=a[e].x,g=a[e].y,h=this.K_matrix[e],d=this.L_matrix[e],f=0;f<o.length;f++){var C=o[f];if(C!==e){var v=a[C].x,A=a[C].y,I=h[C],p=d[C],m=1/Math.pow(Math.pow(u-v,2)+Math.pow(g-A,2),1.5);s+=I*(1-p*Math.pow(g-A,2)*m),l+=I*(p*(u-v)*(g-A)*m),c+=I*(1-p*Math.pow(u-v,2)*m)}}var b=s,_=l,L=n,z=c,S=i,T=(L/b+S/_)/(_/b-z/_),k=-(_*T+L)/b;a[e].x+=k,a[e].y+=T,this._updateE_matrix(e)}},{key:"_createL_matrix",value:function(e){var n=this.body.nodeIndices,i=this.springLength;this.L_matrix=[];for(var o=0;o<n.length;o++){this.L_matrix[n[o]]={};for(var a=0;a<n.length;a++)this.L_matrix[n[o]][n[a]]=i*e[n[o]][n[a]]}}},{key:"_createK_matrix",value:function(e){var n=this.body.nodeIndices,i=this.springConstant;this.K_matrix=[];for(var o=0;o<n.length;o++){this.K_matrix[n[o]]={};for(var a=0;a<n.length;a++)this.K_matrix[n[o]][n[a]]=i*Math.pow(e[n[o]][n[a]],-2)}}},{key:"_createE_matrix",value:function(){var e=this.body.nodeIndices,n=this.body.nodes;this.E_matrix={},this.E_sums={};for(var i=0;i<e.length;i++)this.E_matrix[e[i]]=[];for(var o=0;o<e.length;o++){for(var a=e[o],s=n[a].x,l=n[a].y,c=0,u=0,g=o;g<e.length;g++){var h=e[g];if(h!==a){var d=n[h].x,f=n[h].y,C=1/Math.sqrt(Math.pow(s-d,2)+Math.pow(l-f,2));this.E_matrix[a][g]=[this.K_matrix[a][h]*(s-d-this.L_matrix[a][h]*(s-d)*C),this.K_matrix[a][h]*(l-f-this.L_matrix[a][h]*(l-f)*C)],this.E_matrix[h][o]=this.E_matrix[a][g],c+=this.E_matrix[a][g][0],u+=this.E_matrix[a][g][1]}}this.E_sums[a]=[c,u]}}},{key:"_updateE_matrix",value:function(e){for(var n=this.body.nodeIndices,i=this.body.nodes,o=this.E_matrix[e],a=this.K_matrix[e],s=this.L_matrix[e],l=i[e].x,c=i[e].y,u=0,g=0,h=0;h<n.length;h++){var d=n[h];if(d!==e){var f=o[h],C=f[0],v=f[1],A=i[d].x,I=i[d].y,p=1/Math.sqrt(Math.pow(l-A,2)+Math.pow(c-I,2)),m=a[d]*(l-A-s[d]*(l-A)*p),b=a[d]*(c-I-s[d]*(c-I)*p);o[h]=[m,b],u+=m,g+=b;var _=this.E_sums[d];_[0]+=m-C,_[1]+=b-v}}this.E_sums[e]=[u,g]}}]),t}();function Pe(t,r,e){var n,i,o,a,s=this;if(!(this instanceof Pe))throw new SyntaxError("Constructor must be called with the new operator");this.options={},this.defaultOptions={locale:"en",locales:Q_t,clickToUse:!1},Wr(this.options,this.defaultOptions),this.body={container:t,nodes:{},nodeIndices:[],edges:{},edgeIndices:[],emitter:{on:Ae(n=this.on).call(n,this),off:Ae(i=this.off).call(i,this),emit:Ae(o=this.emit).call(o,this),once:Ae(a=this.once).call(a,this)},eventListeners:{onTap:function(){},onTouch:function(){},onDoubleTap:function(){},onHold:function(){},onDragStart:function(){},onDrag:function(){},onDragEnd:function(){},onMouseWheel:function(){},onPinch:function(){},onMouseMove:function(){},onRelease:function(){},onContext:function(){}},data:{nodes:null,edges:null},functions:{createNode:function(){},createEdge:function(){},getPointer:function(){}},modules:{},view:{scale:1,translation:{x:0,y:0}},selectionBox:{show:!1,position:{start:{x:0,y:0},end:{x:0,y:0}}}},this.bindEventListeners(),this.images=new tMt(function(){return s.body.emitter.emit("_requestRedraw")}),this.groups=new Izt,this.canvas=new Hkt(this.body),this.selectionHandler=new _Ot(this.body,this.canvas),this.interactionHandler=new Bkt(this.body,this.canvas,this.selectionHandler),this.view=new Pkt(this.body,this.canvas),this.renderer=new Tkt(this.body,this.canvas),this.physics=new mkt(this.body),this.layoutEngine=new Zxt(this.body),this.clustering=new Ekt(this.body),this.manipulation=new Xxt(this.body,this.canvas,this.selectionHandler,this.interactionHandler),this.nodesHandler=new nLt(this.body,this.images,this.groups,this.layoutEngine),this.edgesHandler=new ukt(this.body,this.images,this.groups),this.body.modules.kamadaKawai=new tHt(this.body,150,.05),this.body.modules.clustering=this.clustering,this.canvas._create(),this.setOptions(e),this.setData(r)}kee(Pe.prototype);Pe.prototype.setOptions=function(t){var r=this;if(t===null&&(t=void 0),t!==void 0){var e=S_t.validate(t,Qxt);e===!0&&console.error("%cErrors have been found in the supplied options object.",Hre);var n=["locale","locales","clickToUse"];if(Bg(n,this.options,t),t.locale!==void 0&&(t.locale=J_t(t.locales||this.options.locales,t.locale)),t=this.layoutEngine.setOptions(t.layout,t),this.canvas.setOptions(t),this.groups.setOptions(t.groups),this.nodesHandler.setOptions(t.nodes),this.edgesHandler.setOptions(t.edges),this.physics.setOptions(t.physics),this.manipulation.setOptions(t.manipulation,t,this.options),this.interactionHandler.setOptions(t.interaction),this.renderer.setOptions(t.interaction),this.selectionHandler.setOptions(t.interaction),t.groups!==void 0&&this.body.emitter.emit("refreshNodes"),"configure"in t&&(this.configurator||(this.configurator=new z_t(this,this.body.container,One,this.canvas.pixelRatio,Jxt)),this.configurator.setOptions(t.configure)),this.configurator&&this.configurator.options.enabled===!0){var i={nodes:{},edges:{},layout:{},interaction:{},manipulation:{},physics:{},global:{}};rr(i.nodes,this.nodesHandler.options),rr(i.edges,this.edgesHandler.options),rr(i.layout,this.layoutEngine.options),rr(i.interaction,this.selectionHandler.options),rr(i.interaction,this.renderer.options),rr(i.interaction,this.interactionHandler.options),rr(i.manipulation,this.manipulation.options),rr(i.physics,this.physics.options),rr(i.global,this.canvas.options),rr(i.global,this.options),this.configurator.setModuleOptions(i)}t.clickToUse!==void 0?t.clickToUse===!0?this.activator===void 0&&(this.activator=new M_t(this.canvas.frame),this.activator.on("change",function(){r.body.emitter.emit("activate")})):(this.activator!==void 0&&(this.activator.destroy(),delete this.activator),this.body.emitter.emit("activate")):this.body.emitter.emit("activate"),this.canvas.setSize(),this.body.emitter.emit("startSimulation")}};Pe.prototype._updateVisibleIndices=function(){var t=this.body.nodes,r=this.body.edges;this.body.nodeIndices=[],this.body.edgeIndices=[];for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&!this.clustering._isClusteredNode(e)&&t[e].options.hidden===!1&&this.body.nodeIndices.push(t[e].id);for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)){var i=r[n],o=t[i.fromId],a=t[i.toId],s=o!==void 0&&a!==void 0,l=!this.clustering._isClusteredEdge(n)&&i.options.hidden===!1&&s&&o.options.hidden===!1&&a.options.hidden===!1;l&&this.body.edgeIndices.push(i.id)}};Pe.prototype.bindEventListeners=function(){var t=this;this.body.emitter.on("_dataChanged",function(){t.edgesHandler._updateState(),t.body.emitter.emit("_dataUpdated")}),this.body.emitter.on("_dataUpdated",function(){t.clustering._updateState(),t._updateVisibleIndices(),t._updateValueRange(t.body.nodes),t._updateValueRange(t.body.edges),t.body.emitter.emit("startSimulation"),t.body.emitter.emit("_requestRedraw")})};Pe.prototype.setData=function(t){if(this.body.emitter.emit("resetPhysics"),this.body.emitter.emit("_resetData"),this.selectionHandler.unselectAll(),t&&t.dot&&(t.nodes||t.edges))throw new SyntaxError('Data must contain either parameter "dot" or parameter pair "nodes" and "edges", but not both.');if(this.setOptions(t&&t.options),t&&t.dot){console.warn("The dot property has been deprecated. Please use the static convertDot method to convert DOT into vis.network format and use the normal data format with nodes and edges. This converter is used like this: var data = vis.network.convertDot(dotString);");var r=D_t(t.dot);this.setData(r);return}else if(t&&t.gephi){console.warn("The gephi property has been deprecated. Please use the static convertGephi method to convert gephi into vis.network format and use the normal data format with nodes and edges. This converter is used like this: var data = vis.network.convertGephi(gephiJson);");var e=N_t(t.gephi);this.setData(e);return}else this.nodesHandler.setData(t&&t.nodes,!0),this.edgesHandler.setData(t&&t.edges,!0);this.body.emitter.emit("_dataChanged"),this.body.emitter.emit("_dataLoaded"),this.body.emitter.emit("initPhysics")};Pe.prototype.destroy=function(){this.body.emitter.emit("destroy"),this.body.emitter.off(),this.off(),delete this.groups,delete this.canvas,delete this.selectionHandler,delete this.interactionHandler,delete this.view,delete this.renderer,delete this.physics,delete this.layoutEngine,delete this.clustering,delete this.manipulation,delete this.nodesHandler,delete this.edgesHandler,delete this.configurator,delete this.images;for(var t in this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,t)&&delete this.body.nodes[t];for(var r in this.body.edges)Object.prototype.hasOwnProperty.call(this.body.edges,r)&&delete this.body.edges[r];Ys(this.body.container)};Pe.prototype._updateValueRange=function(t){var r,e=void 0,n=void 0,i=0;for(r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var o=t[r].getValue();o!==void 0&&(e=e===void 0?o:Math.min(o,e),n=n===void 0?o:Math.max(o,n),i+=o)}if(e!==void 0&&n!==void 0)for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&t[r].setValueRange(e,n,i)};Pe.prototype.isActive=function(){return!this.activator||this.activator.active};Pe.prototype.setSize=function(){return this.canvas.setSize.apply(this.canvas,arguments)};Pe.prototype.canvasToDOM=function(){return this.canvas.canvasToDOM.apply(this.canvas,arguments)};Pe.prototype.DOMtoCanvas=function(){return this.canvas.DOMtoCanvas.apply(this.canvas,arguments)};Pe.prototype.findNode=function(){return this.clustering.findNode.apply(this.clustering,arguments)};Pe.prototype.isCluster=function(){return this.clustering.isCluster.apply(this.clustering,arguments)};Pe.prototype.openCluster=function(){return this.clustering.openCluster.apply(this.clustering,arguments)};Pe.prototype.cluster=function(){return this.clustering.cluster.apply(this.clustering,arguments)};Pe.prototype.getNodesInCluster=function(){return this.clustering.getNodesInCluster.apply(this.clustering,arguments)};Pe.prototype.clusterByConnection=function(){return this.clustering.clusterByConnection.apply(this.clustering,arguments)};Pe.prototype.clusterByHubsize=function(){return this.clustering.clusterByHubsize.apply(this.clustering,arguments)};Pe.prototype.updateClusteredNode=function(){return this.clustering.updateClusteredNode.apply(this.clustering,arguments)};Pe.prototype.getClusteredEdges=function(){return this.clustering.getClusteredEdges.apply(this.clustering,arguments)};Pe.prototype.getBaseEdge=function(){return this.clustering.getBaseEdge.apply(this.clustering,arguments)};Pe.prototype.getBaseEdges=function(){return this.clustering.getBaseEdges.apply(this.clustering,arguments)};Pe.prototype.updateEdge=function(){return this.clustering.updateEdge.apply(this.clustering,arguments)};Pe.prototype.clusterOutliers=function(){return this.clustering.clusterOutliers.apply(this.clustering,arguments)};Pe.prototype.getSeed=function(){return this.layoutEngine.getSeed.apply(this.layoutEngine,arguments)};Pe.prototype.enableEditMode=function(){return this.manipulation.enableEditMode.apply(this.manipulation,arguments)};Pe.prototype.disableEditMode=function(){return this.manipulation.disableEditMode.apply(this.manipulation,arguments)};Pe.prototype.addNodeMode=function(){return this.manipulation.addNodeMode.apply(this.manipulation,arguments)};Pe.prototype.editNode=function(){return this.manipulation.editNode.apply(this.manipulation,arguments)};Pe.prototype.editNodeMode=function(){return console.warn("Deprecated: Please use editNode instead of editNodeMode."),this.manipulation.editNode.apply(this.manipulation,arguments)};Pe.prototype.addEdgeMode=function(){return this.manipulation.addEdgeMode.apply(this.manipulation,arguments)};Pe.prototype.editEdgeMode=function(){return this.manipulation.editEdgeMode.apply(this.manipulation,arguments)};Pe.prototype.deleteSelected=function(){return this.manipulation.deleteSelected.apply(this.manipulation,arguments)};Pe.prototype.getPositions=function(){return this.nodesHandler.getPositions.apply(this.nodesHandler,arguments)};Pe.prototype.getPosition=function(){return this.nodesHandler.getPosition.apply(this.nodesHandler,arguments)};Pe.prototype.storePositions=function(){return this.nodesHandler.storePositions.apply(this.nodesHandler,arguments)};Pe.prototype.moveNode=function(){return this.nodesHandler.moveNode.apply(this.nodesHandler,arguments)};Pe.prototype.getBoundingBox=function(){return this.nodesHandler.getBoundingBox.apply(this.nodesHandler,arguments)};Pe.prototype.getConnectedNodes=function(t){return this.body.nodes[t]!==void 0?this.nodesHandler.getConnectedNodes.apply(this.nodesHandler,arguments):this.edgesHandler.getConnectedNodes.apply(this.edgesHandler,arguments)};Pe.prototype.getConnectedEdges=function(){return this.nodesHandler.getConnectedEdges.apply(this.nodesHandler,arguments)};Pe.prototype.startSimulation=function(){return this.physics.startSimulation.apply(this.physics,arguments)};Pe.prototype.stopSimulation=function(){return this.physics.stopSimulation.apply(this.physics,arguments)};Pe.prototype.stabilize=function(){return this.physics.stabilize.apply(this.physics,arguments)};Pe.prototype.getSelection=function(){return this.selectionHandler.getSelection.apply(this.selectionHandler,arguments)};Pe.prototype.setSelection=function(){return this.selectionHandler.setSelection.apply(this.selectionHandler,arguments)};Pe.prototype.getSelectedNodes=function(){return this.selectionHandler.getSelectedNodeIds.apply(this.selectionHandler,arguments)};Pe.prototype.getSelectedEdges=function(){return this.selectionHandler.getSelectedEdgeIds.apply(this.selectionHandler,arguments)};Pe.prototype.getNodeAt=function(){var t=this.selectionHandler.getNodeAt.apply(this.selectionHandler,arguments);return t!==void 0&&t.id!==void 0?t.id:t};Pe.prototype.getEdgeAt=function(){var t=this.selectionHandler.getEdgeAt.apply(this.selectionHandler,arguments);return t!==void 0&&t.id!==void 0?t.id:t};Pe.prototype.selectNodes=function(){return this.selectionHandler.selectNodes.apply(this.selectionHandler,arguments)};Pe.prototype.selectEdges=function(){return this.selectionHandler.selectEdges.apply(this.selectionHandler,arguments)};Pe.prototype.unselectAll=function(){this.selectionHandler.unselectAll.apply(this.selectionHandler,arguments),this.selectionHandler.commitWithoutEmitting.apply(this.selectionHandler),this.redraw()};Pe.prototype.redraw=function(){return this.renderer.redraw.apply(this.renderer,arguments)};Pe.prototype.getScale=function(){return this.view.getScale.apply(this.view,arguments)};Pe.prototype.getViewPosition=function(){return this.view.getViewPosition.apply(this.view,arguments)};Pe.prototype.fit=function(){return this.view.fit.apply(this.view,arguments)};Pe.prototype.moveTo=function(){return this.view.moveTo.apply(this.view,arguments)};Pe.prototype.focus=function(){return this.view.focus.apply(this.view,arguments)};Pe.prototype.releaseNode=function(){return this.view.releaseNode.apply(this.view,arguments)};Pe.prototype.getOptionsFromConfigurator=function(){var t={};return this.configurator&&(t=this.configurator.getOptions.apply(this.configurator)),t};const rHt={flex:"~ col",relative:"","h-full":"","of-hidden":"","panel-grids":"",class:"graph-body"},nHt=ce({__name:"graph",setup(t){async function r(){const s=await Mo.value.getRoot().then(l=>l);Mo.value.getGraphModules().then(l=>{GKe(l,s)})}function e(){r()}hj(()=>{r(),Mo.functions.on("graphModuleUpdated",e)});const n=G(),i=Bi();function o(){const s=n.value,l=i.value=new Pe(s,{nodes:Mu,edges:zu},fx.value);Je(fx,c=>{l.setOptions(c)},{immediate:!0}),l.on("selectNode",c=>{KKe(c.nodes[0]),x7(!0)}),l.on("deselectNode",()=>{x7(!1)}),Je(()=>Su.value,c=>{c&&l.moveTo({position:{x:0,y:0}})})}Ii(()=>{o()}),fn(()=>{FKe(),i.value?.destroy(),Mo.functions.off("graphModuleUpdated",e)});const a=G();return(s,l)=>{const c=cYe,u=sYe,g=aYe;return M(),x("div",rHt,[D(c,{ref_key:"navbarRef",ref:a},null,512),w("div",{ref_key:"container",ref:n,class:"absolute h-full w-full"},null,512),D(u),D(g,{top:y(a)},null,8,["top"])])}}}),iHt={},oHt={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function aHt(t,r){return M(),x("svg",oHt,r[0]||(r[0]=[oF('<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 198" width="128" height="128"><path fill="#41B883" d="M204.8 0H256L128 220.8L0 0h97.92L128 51.2L157.44 0h47.36Z"></path><path fill="#41B883" d="m0 0l128 220.8L256 0h-51.2L128 132.48L50.56 0H0Z"></path><path fill="#35495E" d="M50.56 0L128 133.12L204.8 0h-47.36L128 51.2L97.92 0H50.56Z"></path></svg><path d="M152.571 118V46.1333H176.8C183.576 46.1333 189.77 47.468 195.383 50.1373C200.995 52.8067 205.478 56.8449 208.832 62.252C212.186 67.5907 213.863 74.1956 213.863 82.0667C213.863 89.8693 212.186 96.4742 208.832 101.881C205.478 107.288 200.995 111.327 195.383 113.996C189.77 116.665 183.576 118 176.8 118H152.571ZM175.157 104.653C181.796 104.653 187.306 102.874 191.687 99.3147C196.067 95.6871 198.257 89.9378 198.257 82.0667C198.257 74.1956 196.067 68.4462 191.687 64.8187C187.306 61.1911 181.796 59.3773 175.157 59.3773H167.971V104.653H175.157ZM270.18 100.444C269.153 105.988 266.381 110.437 261.864 113.791C257.347 117.144 251.905 118.821 245.54 118.821C239.928 118.821 235.102 117.555 231.064 115.023C227.094 112.422 224.083 109.068 222.029 104.961C219.976 100.855 218.949 96.5427 218.949 92.0253C218.949 87.4396 219.873 83.1276 221.721 79.0893C223.638 75.0511 226.513 71.7658 230.345 69.2333C234.247 66.7009 238.969 65.4347 244.513 65.4347C250.263 65.4347 255.054 66.6667 258.887 69.1307C262.72 71.5947 265.526 74.7431 267.305 78.576C269.153 82.4089 270.077 86.4471 270.077 90.6907C270.077 92.2649 270.009 93.8049 269.872 95.3107H232.707C233.254 99.0067 234.623 101.916 236.813 104.037C239.072 106.091 241.981 107.117 245.54 107.117C248.415 107.117 250.776 106.57 252.624 105.475C254.472 104.311 255.67 102.634 256.217 100.444H270.18ZM244.513 75.9067C241.228 75.9067 238.627 76.7622 236.711 78.4733C234.794 80.116 233.528 82.7169 232.912 86.276H255.807C255.601 83.2644 254.506 80.8004 252.521 78.884C250.537 76.8991 247.867 75.9067 244.513 75.9067ZM302.77 118H289.629L270.738 66.256H285.317L296.2 99.7253L306.98 66.256H321.661L302.77 118ZM359.731 118H344.331V59.3773H323.079V46.1333H380.983V59.3773H359.731V118ZM402.364 118.821C397.163 118.821 392.474 117.692 388.299 115.433C384.124 113.106 380.873 109.924 378.546 105.885C376.219 101.779 375.055 97.1929 375.055 92.128C375.055 87.0631 376.219 82.5116 378.546 78.4733C380.873 74.3667 384.124 71.184 388.299 68.9253C392.474 66.5982 397.163 65.4347 402.364 65.4347C407.566 65.4347 412.255 66.5982 416.43 68.9253C420.605 71.184 423.856 74.3667 426.183 78.4733C428.51 82.5116 429.674 87.0631 429.674 92.128C429.674 97.1929 428.51 101.779 426.183 105.885C423.856 109.924 420.605 113.106 416.43 115.433C412.255 117.692 407.566 118.821 402.364 118.821ZM402.364 106.501C406.197 106.501 409.311 105.167 411.707 102.497C414.103 99.828 415.3 96.3716 415.3 92.128C415.3 87.816 414.103 84.3253 411.707 81.656C409.311 78.9867 406.197 77.652 402.364 77.652C398.531 77.652 395.417 78.9867 393.022 81.656C390.626 84.3253 389.428 87.816 389.428 92.128C389.428 96.3716 390.626 99.828 393.022 102.497C395.417 105.167 398.531 106.501 402.364 106.501ZM462.12 118.821C456.918 118.821 452.229 117.692 448.054 115.433C443.879 113.106 440.628 109.924 438.301 105.885C435.974 101.779 434.81 97.1929 434.81 92.128C434.81 87.0631 435.974 82.5116 438.301 78.4733C440.628 74.3667 443.879 71.184 448.054 68.9253C452.229 66.5982 456.918 65.4347 462.12 65.4347C467.321 65.4347 472.01 66.5982 476.185 68.9253C480.36 71.184 483.611 74.3667 485.938 78.4733C488.265 82.5116 489.429 87.0631 489.429 92.128C489.429 97.1929 488.265 101.779 485.938 105.885C483.611 109.924 480.36 113.106 476.185 115.433C472.01 117.692 467.321 118.821 462.12 118.821ZM462.12 106.501C465.952 106.501 469.067 105.167 471.462 102.497C473.858 99.828 475.056 96.3716 475.056 92.128C475.056 87.816 473.858 84.3253 471.462 81.656C469.067 78.9867 465.952 77.652 462.12 77.652C458.287 77.652 455.172 78.9867 452.777 81.656C450.381 84.3253 449.184 87.816 449.184 92.128C449.184 96.3716 450.381 99.828 452.777 102.497C455.172 105.167 458.287 106.501 462.12 106.501ZM512.327 118H498.056V43.772H512.327V118ZM542.494 118.821C536.129 118.821 530.961 117.179 526.991 113.893C523.09 110.54 521.002 106.091 520.729 100.547H533.049C533.322 102.874 534.281 104.722 535.923 106.091C537.634 107.391 539.825 108.041 542.494 108.041C544.684 108.041 546.464 107.562 547.833 106.604C549.27 105.646 549.989 104.448 549.989 103.011C549.989 101.094 549.167 99.7596 547.525 99.0067C545.882 98.2538 543.281 97.5693 539.722 96.9533C536.026 96.2689 533.014 95.516 530.687 94.6947C528.36 93.8733 526.341 92.4018 524.63 90.28C522.987 88.0898 522.166 85.0098 522.166 81.04C522.166 78.0284 522.953 75.3591 524.527 73.032C526.17 70.6364 528.394 68.7884 531.201 67.488C534.007 66.1191 537.155 65.4347 540.646 65.4347C546.874 65.4347 551.905 66.9747 555.738 70.0547C559.639 73.1347 561.727 77.2071 562.001 82.272H549.578C549.304 80.1502 548.312 78.5076 546.601 77.344C544.958 76.112 543.11 75.496 541.057 75.496C539.003 75.496 537.361 75.9409 536.129 76.8307C534.897 77.7204 534.281 78.9524 534.281 80.5267C534.281 82.4431 535.068 83.7436 536.642 84.428C538.285 85.044 540.851 85.5916 544.342 86.0707C548.106 86.6182 551.186 87.3027 553.582 88.124C556.046 88.8769 558.168 90.3827 559.947 92.6413C561.727 94.9 562.617 98.1853 562.617 102.497C562.617 107.425 560.769 111.395 557.073 114.407C553.445 117.35 548.585 118.821 542.494 118.821Z" fill="currentColor"></path>',2)]))}const xne=fI(iHt,[["render",aHt]]);function lM(){return af?"electron":ma?"chrome":RN?"iframe":"separate-window"}const sHt={key:0,flex:"~ col gap3",relative:"","h-screen":"","w-full":"","items-center":"","justify-center":"","text-center":""},lHt={key:1,flex:"~ col gap3",relative:"","h-screen":"","w-full":"","items-center":"","justify-center":"","text-center":""},cHt={"max-w-190":"","text-lg":""},uHt=ce({__name:"index",setup(t){const r=lM(),e=Ac(),n=dr;function i(){n.value.isFirstVisit=!1,e.replace("/overview")}return(o,a)=>{const s=xne;return y(r)==="chrome"?(M(),x("div",sHt,[a[1]||(a[1]=w("p",{my2:"","text-3em":"","text-primary-600":"","font-bold":"","font-stylish":""}," 👋 Welcome to the new Vue Devtools v7! ",-1)),a[2]||(a[2]=w("p",{"max-w-190":"","text-lg":""},[_e(" This new version supports only Vue 3. "),w("span",{op50:""},[_e(" (Learn more at "),w("a",{href:"https://devtools.vuejs.org/",target:"_blank",rel:"noopener noreferrer",n:"primary"}," devtools.vuejs.org "),_e(") ")]),w("br"),_e(" The legacy version that supports both Vue 2 and Vue 3 has been moved to "),w("a",{href:"https://chromewebstore.google.com/detail/vuejs-devtools/iaajmlceplecbljialhhkmedjlpdblhp",target:"_blank",class:"op50"},"here"),_e(". ")],-1)),D(y(ct),{type:"primary",onClick:i},{default:W(()=>a[0]||(a[0]=[w("span",null,"Get Started",-1)])),_:1})])):(M(),x("div",lHt,[a[6]||(a[6]=w("p",{my2:"","text-3em":"","text-primary-600":"","font-bold":"","font-stylish":""}," 👋 Hi there, welcome to Vue DevTools! ",-1)),w("p",cHt,[D(s,{"mr-0.5":"","inline-block":"","h-8":"","translate-y--1.1":"","align-mid":""}),a[3]||(a[3]=_e(" is a set of visual tools that help you to know your Vue app better, and enhance your development experience with Vue. Enjoy!")),a[4]||(a[4]=w("br",null,null,-1))]),a[7]||(a[7]=w("p",{mb6:"",op50:""},[_e(" Learn more at "),w("a",{href:"https://devtools.vuejs.org/",target:"_blank",rel:"noopener noreferrer",n:"primary"}," devtools.vuejs.org ")],-1)),D(y(ct),{type:"primary",onClick:i},{default:W(()=>a[5]||(a[5]=[w("span",null,"Get Started",-1)])),_:1})]))}}}),gHt="7.6.0",hHt={"h-full":"","w-full":"",flex:"","of-auto":""},dHt={flex:"~ col gap2",ma:"","h-full":"","max-w-300":"","w-full":"",px20:""},fHt={flex:"~ col","mt-20":"","items-center":""},CHt={flex:"~","mt--10":"","items-center":"","justify-center":""},vHt={key:0,mb6:"","mt--1":"","text-center":"","text-sm":"",flex:"~ gap-1"},AHt={op40:""},IHt={flex:"~ gap2 wrap"},pHt={p4:"","theme-card-green":"",flex:"~ col auto"},mHt={flex:"~ gap-6 wrap","mt-5":"","items-center":"","justify-center":""},yHt={flex:"~ gap-1","cursor-default":"","items-center":"","justify-center":"","pb-2":"","text-sm":"",op40:""},bHt={key:0,flex:"~ gap-1","cursor-default":"","items-center":"","justify-center":"","pb-8":"","text-sm":"",op40:""},wHt=ce({__name:"overview",setup(t){const{vueVersion:r}=Fi(),e=G(1),n=G(0);function i(s){let l=0;for(const c of s)l++,c.children?.length&&(l+=i(c.children));return l}function o(s){e.value=s?.routes?.length||1}function a(s){const l=Qr(s);l.inspectorId==="components"&&(n.value=i(l.rootNodes))}return Hb(()=>{Ce.value.getRouterInfo().then(s=>{e.value=s?.routes?.length||1}),Ce.functions.on(Ft.ROUTER_INFO_UPDATED,o),Ce.value.getInspectorTree({inspectorId:"components",filter:""}).then(s=>{const l=Qr(s);n.value=i(l)})}),Ce.functions.on(Ft.INSPECTOR_TREE_UPDATED,a),fn(()=>{Ce.functions.off(Ft.INSPECTOR_TREE_UPDATED,a),Ce.functions.off(Ft.ROUTER_INFO_UPDATED,o)}),(s,l)=>{const c=xne,u=Po("RouterLink");return M(),x("div",hHt,[w("div",dHt,[l[29]||(l[29]=w("div",{"flex-auto":""},null,-1)),w("div",fHt,[w("div",CHt,[D(c,{"h-18":""})]),y(ma)?ne("",!0):(M(),x("div",vHt,[l[0]||(l[0]=w("span",{op40:""}," Vue DevTools ",-1)),w("code",AHt,"v"+ze(y(gHt)),1)]))]),w("div",IHt,[w("div",pHt,[l[1]||(l[1]=w("div",{"i-logos-vue":"","text-3xl":""},null,-1)),w("code",null,"v"+ze(y(r)),1)]),D(u,{flex:"~ col auto",to:"/pages",replace:"","min-w-40":"",p4:"","theme-card-lime":""},{default:W(()=>[l[2]||(l[2]=w("div",{"i-carbon-tree-view-alt":"","text-3xl":""},null,-1)),w("div",null,ze(y(e))+" pages",1)]),_:1}),y(n)?(M(),ie(u,{key:0,flex:"~ col auto",to:"/components",replace:"","min-w-40":"",p4:"","theme-card-lime":""},{default:W(()=>[l[3]||(l[3]=w("div",{"i-carbon-assembly-cluster":"","text-3xl":""},null,-1)),w("div",null,ze(y(n))+" components",1)]),_:1})):ne("",!0)]),w("div",mHt,[l[5]||(l[5]=w("a",{href:"https://github.com/vuejs/devtools",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-blue",transition:""},[w("div",{"i-carbon-star":""}),_e(" Star on GitHub ")],-1)),l[6]||(l[6]=w("a",{href:"https://github.com/vuejs/devtools/discussions/111",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-yellow",transition:""},[w("div",{"i-carbon-data-enrichment":""}),_e(" Ideas & Suggestions ")],-1)),l[7]||(l[7]=w("a",{href:"https://github.com/vuejs/devtools/discussions/112",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-lime",transition:""},[w("div",{"i-carbon-plan":""}),_e(" Project Roadmap ")],-1)),l[8]||(l[8]=w("a",{href:"https://github.com/vuejs/devtools/issues",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-rose",transition:""},[w("div",{"i-carbon-debug":""}),_e(" Bug Reports ")],-1)),D(u,{to:"/settings",flex:"~ gap1",replace:"","inline-block":"","items-center":"",op50:"","hover:op80":""},{default:W(()=>l[4]||(l[4]=[w("div",{"i-carbon-settings":""},null,-1),_e(" Settings ")])),_:1})]),l[30]||(l[30]=w("div",{"flex-auto":""},null,-1)),w("div",yHt,[l[15]||(l[15]=_e(" Press ")),y(dM)()?(M(),x(Se,{key:0},[D(y(ct),null,{default:W(()=>l[9]||(l[9]=[_e(" ⌘ Command ")])),_:1}),l[11]||(l[11]=w("span",null,"+",-1)),D(y(ct),null,{default:W(()=>l[10]||(l[10]=[_e(" K ")])),_:1})],64)):(M(),x(Se,{key:1},[D(y(ct),null,{default:W(()=>l[12]||(l[12]=[_e(" Alt ")])),_:1}),l[14]||(l[14]=w("span",null,"+",-1)),D(y(ct),null,{default:W(()=>l[13]||(l[13]=[_e(" K ")])),_:1})],64)),l[16]||(l[16]=_e(" to toggle Command Palette "))]),!y(af)&&!y(ma)?(M(),x("div",bHt,[l[27]||(l[27]=_e(" Press ")),y(dM)()?(M(),x(Se,{key:0},[D(y(ct),null,{default:W(()=>l[17]||(l[17]=[_e(" ⇧ Shift ")])),_:1}),l[20]||(l[20]=w("span",null,"+",-1)),D(y(ct),null,{default:W(()=>l[18]||(l[18]=[_e(" ⌥ Option ")])),_:1}),l[21]||(l[21]=w("span",null,"+",-1)),D(y(ct),null,{default:W(()=>l[19]||(l[19]=[_e(" D ")])),_:1})],64)):(M(),x(Se,{key:1},[D(y(ct),null,{default:W(()=>l[22]||(l[22]=[_e(" Shift ")])),_:1}),l[25]||(l[25]=w("span",null,"+",-1)),D(y(ct),null,{default:W(()=>l[23]||(l[23]=[_e(" Alt ")])),_:1}),l[26]||(l[26]=w("span",null,"+",-1)),D(y(ct),null,{default:W(()=>l[24]||(l[24]=[_e(" D ")])),_:1})],64)),l[28]||(l[28]=_e(" to toggle DevTools "))])):ne("",!0)])])}}}),$Ht={"p-2":""},_Ht={class:"flex items-center justify-between"},MHt=ce({__name:"RouteMetaDetail",props:{meta:{}},emits:["close"],setup(t){return(r,e)=>(M(),x("div",$Ht,[w("div",_Ht,[e[1]||(e[1]=w("span",{class:"font-500"},"Route meta detail",-1)),w("div",{class:"i-carbon-close cursor-pointer p1 $ui-text",onClick:e[0]||(e[0]=n=>r.$emit("close"))})]),D(y(lw),{code:JSON.stringify(r.meta,null,2),lang:"json",lines:""},null,8,["code"])]))}}),zHt={block:"","cursor-pointer":""},EHt={p2:""},SHt=["onSubmit"],THt={flex:"~","items-center":"",p2:"","text-sm":"","font-mono":""},LHt={key:1},kHt=ce({__name:"RoutePathItem",props:{route:{}},emits:["navigate"],setup(t,{emit:r}){const e=t,n=r;function i(u){return u.split(/(:\w+[?*+]?(?:\([^)]*\))?[?*+]?)/).filter(Boolean)}const o=G([]),a=F(()=>i(e.route.path));gn(()=>{o.value=Array.from({length:a.value.length},()=>"")});const s=F(()=>a.value.map((u,g)=>u[0]===":"?o.value[g]:u).join("").replace(/\/+/g,"/")),l=F(()=>e.route.path.includes(":"));function c(){n("navigate",s.value)}return(u,g)=>y(l)?(M(),ie(y(vu),{key:1},{popper:W(({hide:h})=>[w("div",EHt,[w("form",{flex:"~ col",onSubmit:Wn(()=>{c(),h()},["prevent"])},[y(l)?(M(),x(Se,{key:0},[g[0]||(g[0]=w("div",{px2:"","text-sm":"",op50:""}," Fill params and navigate: ",-1)),w("div",THt,[(M(!0),x(Se,null,It(y(a),(d,f)=>(M(),x(Se,{key:f},[d[0]===":"?(M(),ie(y(ss),{key:0,modelValue:y(o)[f],"onUpdate:modelValue":C=>y(o)[f]=C,"n-sm":"","w-20":"",placeholder:d.slice(1)},null,8,["modelValue","onUpdate:modelValue","placeholder"])):(M(),x("span",LHt,ze(d),1))],64))),128))])],64)):ne("",!0),D(y(ct),{block:"",type:"primary"},{default:W(()=>g[1]||(g[1]=[_e(" Navigate ")])),_:1})],40,SHt)])]),default:W(()=>[w("code",zHt,[(M(!0),x(Se,null,It(y(a),(h,d)=>(M(),x("span",{key:d,class:Te(h[0]===":"?"text-gray border border-dashed rounded border-gray:50 px1":"")},ze(h[0]===":"?h.slice(1):h),3))),128))])]),_:1})):(M(),x("button",{key:0,onClick:c},[w("code",null,ze(u.route.path),1)]))}}),OHt={"w-full":""},xHt={border:"b base","px-3":""},HHt={key:0,"text-left":""},VHt={"w-20":"","pr-1":""},PHt={flex:"","items-center":"","justify-end":""},RHt={"text-sm":""},DHt={flex:"inline gap3","items-center":""},NHt={op0:"","group-hover:op100":"",flex:"~ gap1"},BHt=["onClick"],FHt={"w-0":"","ws-nowrap":"","pr-1":"","text-left":"","text-sm":"","font-mono":"",op50:""},jHt={key:0,"w-50":"","ws-nowrap":"","pr-1":"","text-left":"","text-sm":"","font-mono":"",op50:"",hover:"text-primary op100"},UHt=["title","onClick"],GHt=ce({__name:"RoutesTable",props:{pages:{},matched:{},matchedPending:{}},emits:["navigate","selectMeta"],setup(t){const r=t,e=F(()=>[...r.pages].sort((s,l)=>s.path.localeCompare(l.path))),n=F(()=>iI.value),i=Fi();function o(s,l=0){const c=JSON.stringify(s,null,l);return c==="{}"?"-":c}const a=F(()=>e.value.some(s=>Object.keys(s.meta)?.length));return(s,l)=>{const c=kHt;return M(),x("div",null,[w("table",OHt,[w("thead",xHt,[w("tr",null,[l[1]||(l[1]=w("th",{"text-left":""},null,-1)),l[2]||(l[2]=w("th",{"text-left":""}," Route Path ",-1)),l[3]||(l[3]=w("th",{"text-left":""}," Name ",-1)),y(a)?(M(),x("th",HHt," Route Meta ")):ne("",!0)])]),w("tbody",null,[(M(!0),x(Se,null,It(y(e),u=>(M(),x("tr",{key:u.name,class:"group","h-7":"",border:"b dashed transparent hover:base"},[w("td",VHt,[w("div",PHt,[s.matched.find(g=>g.name===u.name)?(M(),ie(y(xS),{key:0,"bg-green-400:10":"","text-green-400":"",title:"active",textContent:"active"})):s.matchedPending.find(g=>g.name===u.name)?(M(),ie(y(xS),{key:1,"bg-teal-400:10":"","text-teal-400":"",title:"next",textContent:"next"})):ne("",!0)])]),w("td",RHt,[w("div",DHt,[D(c,{route:u,class:Te(s.matched.find(g=>g.name===u.name)?"text-primary-400":s.matchedPending.find(g=>g.name===u.name)?"text-teal":""),onNavigate:l[0]||(l[0]=g=>s.$emit("navigate",g))},null,8,["route","class"]),w("div",NHt,[u.meta?.file&&y(i).vitePluginDetected.value&&y(n)?(M(),x("button",{key:0,"text-sm":"",op40:"",hover:"op100 text-primary-400",title:"Open in editor",onClick:g=>y(vd)(u.meta?.file)},l[4]||(l[4]=[w("div",{"i-carbon-script-reference":""},null,-1)]),8,BHt)):ne("",!0)])])]),w("td",FHt,ze(u.name),1),y(a)?(M(),x("td",jHt,[w("span",{"inline-block":"","w-50":"","cursor-pointer":"","overflow-hidden":"","text-ellipsis":"",title:o(u.meta,2),onClick:()=>s.$emit("selectMeta",u.meta)},ze(o(u.meta)),9,UHt)])):ne("",!0)]))),128))])])])}}}),WHt={block:"","h-screen":"","of-auto":""},ZHt={"h-full":"",class:"grid grid-rows-[auto_1fr]"},KHt={border:"b base",flex:"~ col gap1",px4:"",py3:""},YHt={key:1,op50:""},XHt={key:0,"text-orange":"",op75:""},qHt={key:1,op50:""},QHt=ce({__name:"pages",setup(t){const r=G(""),e=G(null),n=G([]),i=F(()=>r.value===e.value?.path?[]:n.value),o=G([]),a=G();function s(u){o.value=u.routes,e.value=u.currentRoute,r.value=e.value?.path??"/"}function l(){i.value.length&&c(r.value)}function c(u){Ce.value.navigate(u)}return Hb(()=>{Ce.value.getRouterInfo().then(u=>{s(u)}),Ce.functions.on(Ft.ROUTER_INFO_UPDATED,s)}),nU(r,()=>{r.value!==e.value?.path&&Ce.value.getMatchedRoutes(r.value).then(u=>{n.value=u})}),fn(()=>{Ce.functions.off(Ft.ROUTER_INFO_UPDATED,s)}),(u,g)=>{const h=GHt,d=aG,f=MHt;return M(),x("div",WHt,[w("div",ZHt,[w("div",KHt,[w("div",null,[(M(),x("span",YHt,"Current route"))]),D(y(ss),{modelValue:y(r),"onUpdate:modelValue":g[0]||(g[0]=C=>qe(r)?r.value=C:null),"left-icon":"i-carbon-direction-right-01 scale-y--100",class:Te(y(e)?.path===y(r)?"":y(i).length?"text-green!":"text-orange!"),onKeydown:dF(l,["enter"])},null,8,["modelValue","class"]),w("div",null,[y(e)?.path!==y(r)?(M(),x(Se,{key:0},[g[6]||(g[6]=w("span",null,[_e("Press "),w("b",{"font-bold":""},"Enter"),_e(" to navigate")],-1)),y(i).length?ne("",!0):(M(),x("span",XHt," (no match)"))],64)):(M(),x("span",qHt,"Edit path above to navigate"))])]),D(y(D1),{class:"of-hidden"},{default:W(()=>[D(y(hn),{size:"70",class:"of-auto!"},{default:W(()=>[D(d,{icon:"i-carbon-tree-view-alt",text:"All Routes",description:`${y(o).length} routes registered in your application`,padding:!1},{default:W(()=>[y(o).length?(M(),ie(h,{key:0,pages:y(o),matched:y(e)?.matched??[],"matched-pending":y(i),onNavigate:c,onSelectMeta:g[1]||(g[1]=C=>a.value=C)},null,8,["pages","matched","matched-pending"])):ne("",!0)]),_:1},8,["description"])]),_:1}),y(a)?(M(),ie(y(hn),{key:0,size:"30",class:"of-auto!"},{default:W(()=>[D(f,{meta:y(a),onClose:g[2]||(g[2]=C=>a.value=void 0)},null,8,["meta"])]),_:1})):ne("",!0)]),_:1})])])}}}),JHt=ce({__name:"pinia",setup(t){return(r,e)=>(M(),ie(y(L9e)))}}),eVt=ce({__name:"router",setup(t){const{registeredInspector:r}=KG(),e=F(()=>r.value?.find(i=>i.packageName==="vue-router")),n=F(()=>e.value?.id);return(i,o)=>(M(),ie(y(Y9e),{id:y(n)},null,8,["id"]))}}),tVt=["src","alt"],rVt=["title"],ON="custom-ic-",j0=ce({__name:"TabIcon",props:{icon:{},title:{},showTitle:{type:Boolean,default:!0},fallback:{}},setup(t){const r=t,e=G(r.icon);Je(()=>r.icon,i=>{e.value=i});function n(){e.value=r.fallback}return(i,o)=>y(e)&&y(nie)(y(e))?(M(),x("img",Xr({key:0,style:{width:"1em",height:"1em"}},i.$attrs,{src:y(e),alt:i.title,onError:n}),null,16,tVt)):y(e)?.startsWith(ON)?(M(),ie(y(ec),Xr({key:1,name:y(e).slice(ON.length)},i.$attrs,{title:i.showTitle?i.title:void 0}),null,16,["name","title"])):(M(),x("div",Xr({key:2,style:{width:"1em",height:"1em"}},i.$attrs,{class:y(e)||"i-carbon-bring-forward",title:i.showTitle?i.title:void 0}),null,16,rVt))}}),nVt={"h-full":"","w-full":"","of-auto":"",px8:"",py6:""},iVt={grid:"~ md:cols-[repeat(auto-fit,minmax(16rem,1fr))] gap-x-10 gap-y-3","max-w-300":""},oVt={flex:"~ col gap-2"},aVt={flex:"~ gap-2","flex-auto":"","items-center":"","justify-start":""},sVt={capitalize:"",op75:""},lVt={flex:"~ gap-2","flex-auto":"","items-center":"","justify-start":"","pr-4":"","text-sm":""},cVt=["onClick"],uVt=["onClick"],gVt=["onClick"],hVt={flex:"~ col gap-2"},dVt={flex:"~ gap2"},fVt={class:"flex items-center gap2 text-sm"},CVt={class:"flex items-center gap2 text-sm"},vVt={class:"flex items-center gap2 text-sm"},AVt={class:"flex items-center gap2 text-sm"},IVt={flex:"~ gap-2"},pVt=ce({__name:"settings",setup(t){const{categorizedTabs:r}=$f(),e=lM(),n=e==="iframe"||e==="separate-window",{scale:i,interactionCloseOnOutsideClick:o,showPanel:a,minimizePanelInteractive:s,expandSidebar:l,scrollableSidebar:c}=x6(Rue(dr)),u=[["Tiny",12/15],["Small",14/15],["Normal",1],["Large",16/15],["Huge",18/15]],g=[["Always",0],["1s",1e3],["2s",2e3],["5s",5e3],["10s",1e4],["Never",-1]],{hiddenTabCategories:h,hiddenTabs:d,pinnedTabs:f}=x6(dr.value.tabSettings);function C(L,z){z?d.value=d.value.filter(S=>S!==L):d.value.push(L)}function v(L,z){z?h.value=h.value.filter(S=>S!==L):h.value.push(L)}function A(L){f.value.includes(L)?f.value=f.value.filter(z=>z!==L):f.value.push(L)}function I(L,z){const S=f.value.indexOf(L);if(S===-1)return;const T=S+z;if(T<0||T>=f.value.length)return;const k=[...f.value];k.splice(S,1),k.splice(T,0,L),f.value=k}const p=G(!1);async function m(){d6e(),window.location.reload()}const b=g.map(([L,z])=>({label:L,value:z})),_=F(()=>`${b.find(z=>z.value===s.value)?.label??"Select..."}`);return(L,z)=>{const S=uw,T=j0;return M(),x("div",nVt,[D(S,{class:"mb-5 text-xl op75",icon:"i-carbon-settings-adjust",text:"DevTools Settings"}),w("div",iVt,[w("div",oVt,[z[12]||(z[12]=w("h3",{"text-lg":""}," Tabs ",-1)),(M(!0),x(Se,null,It(y(r),([{name:k,hidden:O},P])=>(M(),x(Se,{key:k},[P.length?(M(),ie(y(V5),{key:0,p3:"",flex:"~ col gap-1",class:Te(O?"op50 grayscale":"")},{default:W(()=>[D(y($8),{"model-value":!y(h).includes(k),class:"row-reverse flex hover:bg-active py1 pl2 pr1","onUpdate:modelValue":B=>v(k,B)},{default:W(()=>[w("div",aVt,[w("span",sVt,ze(k),1)])]),_:2},1032,["model-value","onUpdate:modelValue"]),z[11]||(z[11]=w("div",{"mx--1":"",my1:"","h-1px":"",border:"b base",op75:""},null,-1)),(M(!0),x(Se,null,It(P,B=>(M(),ie(y($8),{key:B.name,class:Te(["row-reverse n-primary flex hover:bg-active py1 pl2 pr1",B.hidden?"op35":""]),"model-value":!y(d).includes(B.name),"onUpdate:modelValue":te=>C(B.name,te)},{default:W(()=>[w("div",lVt,[D(T,{"text-xl":"",icon:B.icon,fallback:B.fallbackIcon,title:B.title},null,8,["icon","fallback","title"]),w("span",null,ze(B.title),1),z[10]||(z[10]=w("div",{"flex-auto":""},null,-1)),y(f).includes(B.name)?(M(),x(Se,{key:0},[w("button",{class:"flex items-center hover:bg-active hover:op100 px1 py1 text-sm op65",onClick:Wn(()=>{y(f).indexOf(B.name)!==0&&I(B.name,-1)},["stop"])},z[8]||(z[8]=[w("div",{class:"i-carbon-caret-up"},null,-1)]),8,cVt),w("button",{class:"flex items-center hover:bg-active hover:op100 px1 py1 text-sm op65",onClick:Wn(()=>{y(f).indexOf(B.name)!==y(f).length-1&&I(B.name,1)},["stop"])},z[9]||(z[9]=[w("div",{class:"i-carbon-caret-down"},null,-1)]),8,uVt)],64)):ne("",!0),w("button",{class:"flex items-center hover:bg-active hover:op100 px1 py1 text-sm op65",onClick:Wn(te=>A(B.name),["stop"])},[w("div",{class:Te(y(f).includes(B.name)?" i-carbon-pin-filled rotate--45":" i-carbon-pin op45")},null,2)],8,gVt)])]),_:2},1032,["model-value","class","onUpdate:modelValue"]))),128))]),_:2},1032,["class"])):ne("",!0)],64))),128))]),w("div",hVt,[z[25]||(z[25]=w("h3",{"text-lg":""}," Appearance ",-1)),D(y(V5),{p4:"",flex:"~ col gap-2"},{default:W(()=>[w("div",dVt,[D(y(tG),null,{default:W(({isDark:k,toggle:O})=>[D(y(ct),{outlined:"",type:"primary",onClick:O},{default:W(()=>[z[13]||(z[13]=w("div",{"i-carbon-sun":"","dark:i-carbon-moon":"","translate-y--1px":""},null,-1)),_e(" "+ze(k?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1})]),z[16]||(z[16]=w("div",{"mx--2":"",my1:"","h-1px":"",border:"b base",op75:""},null,-1)),z[17]||(z[17]=w("p",null,"UI Scale",-1)),w("div",null,[D(y(Ed),{modelValue:y(i),"onUpdate:modelValue":z[0]||(z[0]=k=>qe(i)?i.value=k:null),options:u.map(([k,O])=>({label:k,value:O})),"button-props":{outlined:!0}},null,8,["modelValue","options"])]),z[18]||(z[18]=w("div",{"mx--2":"",my1:"","h-1px":"",border:"b base",op75:""},null,-1)),w("div",fVt,[D(y(p2),{modelValue:y(l),"onUpdate:modelValue":z[1]||(z[1]=k=>qe(l)?l.value=k:null)},null,8,["modelValue"]),z[14]||(z[14]=w("span",{op75:""},"Expand Sidebar",-1))]),w("div",CVt,[D(y(p2),{modelValue:y(c),"onUpdate:modelValue":z[2]||(z[2]=k=>qe(c)?c.value=k:null)},null,8,["modelValue"]),z[15]||(z[15]=w("span",{op75:""},"Scrollable Sidebar",-1))])]),_:1}),y(n)?(M(),x(Se,{key:0},[z[23]||(z[23]=w("h3",{mt2:"","text-lg":""}," Features ",-1)),D(y(V5),{p4:"",flex:"~ col gap-2"},{default:W(()=>[w("div",vVt,[D(y(p2),{modelValue:y(o),"onUpdate:modelValue":z[3]||(z[3]=k=>qe(o)?o.value=k:null)},null,8,["modelValue"]),z[19]||(z[19]=w("span",{op75:""},"Close DevTools when clicking outside",-1))]),w("div",AVt,[D(y(p2),{modelValue:y(a),"onUpdate:modelValue":z[4]||(z[4]=k=>qe(a)?a.value=k:null)},null,8,["modelValue"]),z[20]||(z[20]=w("span",{op75:""},"Always show the floating panel",-1))]),z[21]||(z[21]=w("div",{"mx--2":"",my1:"","h-1px":"",border:"b base",op75:""},null,-1)),z[22]||(z[22]=w("p",null,"Minimize floating panel on inactive",-1)),w("div",null,[D(y(Ed),{modelValue:y(s),"onUpdate:modelValue":z[5]||(z[5]=k=>qe(s)?s.value=k:null),"button-props":{outlined:!0},options:y(b),placeholder:y(_)},null,8,["modelValue","options","placeholder"])])]),_:1})],64)):ne("",!0),z[26]||(z[26]=w("h3",{mt2:"","text-lg":""}," Debug ",-1)),w("div",IVt,[D(y(ct),{outlined:"",type:"warning",onClick:z[6]||(z[6]=k=>p.value=!0)},{default:W(()=>z[24]||(z[24]=[w("div",{"i-carbon-breaking-change":""},null,-1),_e(" Reset Local Settings & State ")])),_:1}),D(y(K0e),{modelValue:y(p),"onUpdate:modelValue":z[7]||(z[7]=k=>qe(p)?p.value=k:null),title:"Clear Local Settings & State",width:"40%",height:"200px",content:"Are you sure you to reset all local settings & state? Devtools will reload.",onConfirm:m},null,8,["modelValue"])])])])])}}}),mVt={"h-full":"",flex:"","flex-col":"",p2:""},yVt={class:"relative mb-1 w-full flex items-center justify-end pb-1",border:"b dashed base"},bVt={key:0,class:"absolute left-0 text-xs text-gray-300 dark:text-gray-500"},wVt={class:"flex items-center gap-2 px-1"},$Vt={key:0,class:"recording recording-btn bg-[#ef4444]"},_Vt={key:1,class:"recording-btn bg-black op70 dark:bg-white hover:op100"},MVt={class:"flex items-center gap1"},zVt={class:"p2"},EVt=["onClick"],SVt=["onClick"],TVt=ce({__name:"TimelineLayers",props:ou({data:{}},{modelValue:{},modelModifiers:{}}),emits:ou(["select","clear"],["update:modelValue"]),setup(t,{emit:r}){const e=r,n=Fi(),i=F(()=>n.timelineLayersState.value.recordingState),o=F(()=>n.timelineLayersState.value),a=F(()=>i.value?"Stop recording":"Start recording"),{colorMode:s}=mf();F(()=>s.value==="dark");const l=XA(t,"modelValue");function c(d){l.value=d,e("select",d),Ce.value.updateTimelineLayersState({selected:d})}Je(()=>o.value.selected,d=>{l.value=d},{immediate:!0});function u(d){return{mouse:o.value.mouseEventEnabled,keyboard:o.value.keyboardEventEnabled,"component-event":o.value.componentEventEnabled,performance:o.value.performanceEventEnabled}[d]}function g(){Ce.value.updateTimelineLayersState({recordingState:!i.value})}function h(d){const f={mouse:"mouseEventEnabled",keyboard:"keyboardEventEnabled","component-event":"componentEventEnabled",performance:"performanceEventEnabled"}[d];Ce.value.updateTimelineLayersState({[f]:!u(d)})}return(d,f)=>(M(),x("div",mVt,[w("div",yVt,[y(i)?ne("",!0):(M(),x("span",bVt,"Not recording")),w("div",wVt,[At((M(),x("div",{class:"flex items-center gap1",onClick:g},[y(i)?(M(),x("span",$Vt)):(M(),x("span",_Vt))])),[[y(Rt),{content:y(a)},void 0,{"bottom-end":!0}]]),At((M(),x("div",{class:"flex items-center gap1",onClick:f[0]||(f[0]=C=>e("clear"))},[D(y(ec),{name:"baseline-delete","cursor-pointer":"","text-xl":"",op70:"","hover:op100":""})])),[[y(Rt),{content:"Clear all timelines"},void 0,{"bottom-end":!0}]]),At((M(),x("div",MVt,[D(y(ec),{name:"baseline-tips-and-updates","cursor-pointer":"","text-xl":"",op70:"","hover:op100":""})])),[[y(Rt),{content:"<p style='width: 285px'>Timeline events can cause significant performance overhead in large applications, so we recommend enabling it only when needed and on-demand. </p>",html:!0},void 0,{"bottom-end":!0}]])])]),w("ul",zVt,[(M(!0),x(Se,null,It(d.data,C=>(M(),x("li",{key:C.id,class:Te(["group relative selectable-item",{active:C.id===l.value,op60:!u(C.id)}]),onClick:v=>c(C.id)},[_e(ze(C.label)+" ",1),w("span",{class:"absolute right-2 rounded-1 bg-primary-500 px1 text-3 text-white op0 [.active_&]:bg-primary-400 [.active_&]:dark:bg-gray-600 group-hover:op80 hover:op100!",onClick:Wn(v=>h(C.id),["stop"])},ze(u(C.id)?"Disable":"Enable"),9,SVt)],10,EVt))),128))])]))}}),LVt=fI(TVt,[["__scopeId","data-v-ba7472d9"]]),kVt={class:"h-full w-full"},OVt={class:"no-scrollbar h-full flex select-none gap-2 overflow-scroll"},xVt={class:"h-full flex flex-col"},HVt={class:"no-scrollbar h-full flex select-none gap-2 overflow-scroll"},VVt={class:"h-full flex flex-col p2"},PVt=ce({__name:"timeline",setup(t){const r=G(),e=G(),n=G(!1),{width:i}=uU(e),o=F(()=>n.value?i.value<700:!1),a=Fi(),s=F(()=>a.appRecords.value.map(C=>({label:C.name+(C.version?` (${C.version})`:""),value:C.id}))),l=F(()=>s.value.map(C=>({label:C.label,id:C.value}))),c=G(a.activeAppRecordId.value);gn(()=>{c.value=a.activeAppRecordId.value});function u(C){Ce.value.toggleApp(C).then(()=>{d()})}const g=G(""),h=[{label:"Mouse",id:"mouse"},{label:"Keyboard",id:"keyboard"},{label:"Component events",id:"component-event"},{label:"Performance",id:"performance"}];function d(){r.value?.clear()}function f(){d()}return(C,v)=>{const A=LVt;return M(),x("div",kVt,[D(y(D1),{ref_key:"splitpanesRef",ref:e,class:"flex-1 overflow-auto",horizontal:y(o),onReady:v[2]||(v[2]=I=>n.value=!0)},{default:W(()=>[y(s).length>1?(M(),ie(y(hn),{key:0,border:"base h-full",size:"20"},{default:W(()=>[w("div",OVt,[D(y(BG),{modelValue:y(c),"onUpdate:modelValue":v[0]||(v[0]=I=>qe(c)?c.value=I:null),data:y(l),class:"w-full",onSelect:u},null,8,["modelValue","data"])])]),_:1})):ne("",!0),D(y(hn),{border:"base","h-full":""},{default:W(()=>[w("div",xVt,[w("div",HVt,[D(A,{modelValue:y(g),"onUpdate:modelValue":v[1]||(v[1]=I=>qe(g)?g.value=I:null),data:h,class:"w-full",onSelect:f,onClear:d},null,8,["modelValue"])])])]),_:1}),D(y(hn),{relative:"","h-full":"",size:"65"},{default:W(()=>[w("div",VVt,[D(y(yI),{ref_key:"timelineRef",ref:r,"layer-ids":[y(g)],"header-visible":!1,"doc-link":"","plugin-id":"","switcher-visible":!1},null,8,["layer-ids"])])]),_:1})]),_:1},8,["horizontal"])])}}});function RVt(t){const r=new Map;return t.forEach(e=>r.set(e.id,e)),Array.from(r.values())}const Yy=ya(new Map);function DVt(){const{enabledFlattenTabs:t}=$f(),r=Ac(),e=Fi();let n=[];const i=F(()=>nW(e.commands.value,n)?n:(n=e.commands.value,e.commands.value)),o=[{id:"fixed:settings",title:"Settings",icon:"i-carbon-settings-adjust",action:()=>{r.push("/settings")}},{id:"fixed:docs",title:"Vue Documentations",icon:"i-vscode-icons-file-type-vue",action:()=>BVt()}],a=F(()=>t.value.map(s=>({id:`tab:${s.name}`,title:s.title||s.name,icon:s.icon,action:()=>{"onClick"in s&&s.onClick?s.onClick():r.push("path"in s&&s.path?s.path:`/custom-tab-view/${s.name}`)}})));return F(()=>RVt([...o,...a.value,...NVt(i.value),...Array.from(Yy.values()).flatMap(s=>id(s))]))}function xN(t){t?.type==="url"&&window.open(t.src,"_blank")}function NVt(t){return t.map(r=>({id:`${r.id}`,title:r.title,icon:r.icon,description:r.description,order:r.order,action:()=>{if(r.children)return r.children.map(e=>({id:e.id,title:e.title,icon:e.icon,description:e.description,order:e.order,action:()=>{xN(e.action)}})).sort((e,n)=>(n.order??0)-(e.order??0));xN(r.action)}})).sort((r,e)=>(e.order??0)-(r.order??0))}function HN(t){const r=iie();Yy.set(r,t),fn(()=>{Yy.delete(r)})}let E6;const VN={"utility-types":"i-mdi-language-typescript",ssr:"i-codicon-server-process","custom-renderer":"i-codicon-server-process","sfc-script-setup":"i-material-symbols:magic-button","sfc-css-features":"i-material-symbols-css","built-in-directives":"i-material-symbols-code","built-in-special-attributes":"i-material-symbols-code","component-instance":"i-material-symbols-code","composition-api-dependency-injection":"i-material-symbols-code","composition-api-lifecycle":"i-material-symbols-code",general:"i-material-symbols-code","compile-time-flags":"i-material-symbols-toggle-on","reactivity-utilities":"i-mdi-api","reactivity-advanced":"i-mdi-api","render-function":"i-mdi-api","...others":"i-uim-vuejs"};async function BVt(){return E6||(E6=(await Si(()=>import("./vue-apis-DWRQGgDp.js"),[],import.meta.url).then(r=>r.default)).map(r=>({...r,icon:VN[r.description]??VN["...others"],action:()=>{window.open(r.url,"_blank")}}))),E6}const FVt={flex:"~ col",h:"60%",border:"1 base","m-x-4":"","max-h-120":"","min-h-60":"","w-xl":"","of-hidden":"","rounded-md":"","text-3.75":""},jVt={border:"b base","flex-none":""},UVt={"flex-auto":"","of-auto":"",p2:"",flex:"~ col"},GVt=["id","onClick","onMouseover"],WVt={flex:"","flex-auto":"","items-center":"",gap2:"","of-hidden":""},ZVt={"ws-nowrap":""},KVt={"of-hidden":"",truncate:"","ws-nowrap":"","text-sm":"",op50:""},YVt={key:0,"h-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","text-xl":""},XVt={"text-primary":""},qVt={border:"t base",flex:"~ none justify-between items-center gap-4","pointer-events-none":"",px4:"",py2:""},QVt={"text-xs":"",flex:"~ items-center gap2"},JVt={px1:""},ePt={px1:""},tPt={"text-xs":"",flex:"~ items-center gap2"},rPt={op75:""},nPt={"text-xs":"",flex:"~ items-center gap2"},iPt={px1:""},oPt=ce({__name:"CommandPalette",setup(t){const r=G(!1),e=G(""),n=DVt(),i=G(),o=F(()=>i.value||n.value),a=F(()=>new yc(o.value,{keys:["id","title"],distance:50})),s=F(()=>e.value?a.value.search(e.value).map(h=>h.item):o.value||[]),l=G(0);Je(e,()=>{l.value=0,u()});function c(h){l.value=(l.value+h+s.value.length)%s.value.length,u()}function u(){document.getElementById(s.value[l.value]?.id)?.scrollIntoView({block:"center"})}async function g(h){const d=await h.action();d?(i.value=d,e.value=""):(i.value=void 0,e.value="",r.value=!1)}return hi("keydown",h=>{if((h.altKey||h.metaKey)&&h.key==="k"){h.preventDefault(),i.value=void 0,e.value="",r.value=!r.value;return}if(r.value)switch(h.key){case"ArrowDown":case"ArrowUp":h.preventDefault(),c(h.key==="ArrowDown"?1:-1);break;case"Enter":{const d=s.value[l.value];d&&(h.preventDefault(),g(d));break}case"Escape":{h.preventDefault(),i.value?(i.value=void 0,e.value=""):r.value=!1;break}}}),(h,d)=>{const f=j0;return y(r)?(M(),ie(y(cw),{key:0,dim:"",class:"$ui-z-max-override backdrop-blur-2xl!"},{default:W(()=>[w("div",FVt,[w("header",jVt,[D(y(ss),{modelValue:y(e),"onUpdate:modelValue":d[0]||(d[0]=C=>qe(e)?e.value=C:null),placeholder:"Type to search...",flat:"","auto-focus":"",class:"h12 border-none!"},null,8,["modelValue"])]),w("div",UVt,[(M(!0),x(Se,null,It(y(s),(C,v)=>(M(),x("button",{id:C.id,key:C.id,onClick:A=>g(C),onMouseover:A=>l.value=v},[w("div",{flex:"~ gap-2 items-center justify-between",rounded:"",px3:"",py2:"",class:Te(y(l)===v?"op100 saturate-100 bg-active":"op80")},[D(f,{icon:C.icon,title:C.title,"flex-none":"","text-xl":""},null,8,["icon","title"]),w("span",WVt,[w("span",ZVt,ze(C.title),1),w("span",KVt,ze(C.description),1)]),y(l)===v?(M(),ie(y(Gt),{key:0,icon:"i-carbon-text-new-line scale-x--100","flex-none":""})):ne("",!0)],2)],40,GVt))),128)),y(s).length?ne("",!0):(M(),x("div",YVt,[D(y(Gt),{icon:"carbon-search",op50:""}),w("div",null,[d[1]||(d[1]=w("span",{op50:""},"No results for",-1)),w("strong",XVt,' "'+ze(y(e))+'" ',1)])]))]),w("footer",qVt,[w("div",QVt,[w("button",JVt,[D(y(Gt),{icon:"i-carbon-arrow-down"})]),w("button",ePt,[D(y(Gt),{icon:"i-carbon-arrow-up"})]),d[2]||(d[2]=w("span",{op75:""},"to navigate",-1))]),w("div",tPt,[d[3]||(d[3]=w("button",{px1:""}," Esc ",-1)),w("span",rPt,"to "+ze(y(i)?"go back":"close"),1)]),w("div",nPt,[w("button",iPt,[D(y(Gt),{icon:"i-carbon-text-new-line scale-x--100","scale-x--100":""})]),d[4]||(d[4]=w("span",{op75:""},"to select",-1))])])])]),_:1})):ne("",!0)}}}),aPt={flex:"~ items-center gap-3"},sPt={key:0,"text-md":"","overflow-hidden":"","text-ellipsis":"","ws-nowrap":""},lPt={"translate-y-0.5px":""},cPt={key:0,hidden:"","lg:block":""},Hne=ce({__name:"SideNavItem",props:{tab:{},minimized:{type:Boolean,default:!0},target:{default:"main"},disabled:{type:Boolean,default:!1}},setup(t){const r=t,e=vf(),n=F(()=>"path"in r.tab?`${r.tab.path.startsWith("/")?"":"/"}${r.tab.path}`:`/custom-tab-view/${r.tab.name}`),i=F(()=>"badge"in r.tab&&r.tab.badge?.()),o=F(()=>e.path.startsWith(n.value));function a(){r.disabled||("onClick"in r.tab&&r.tab.onClick?r.tab.onClick():r.target==="side"&&(dr.value.splitScreen.view=r.tab.name))}return(s,l)=>{const c=j0;return M(),ie(y(iCe),{disabled:!s.minimized,placement:"right",class:Te({"w-full":!s.minimized})},{popper:W(()=>[w("div",null,ze(s.tab.title),1),"extraTabVNode"in s.tab&&s.tab.extraTabVNode?(M(),x("div",cPt,[(M(),ie(b1(s.tab.extraTabVNode)))])):ne("",!0)]),default:W(()=>[(M(),ie(b1(s.target==="main"?y(Mj):"button"),{to:y(n),flex:`~ items-center ${s.minimized?"justify-center":"justify-between"}`,"text-secondary":"",relative:"",block:"","h-10":"","select-none":"",op65:"",disabled:s.disabled,class:Te([s.disabled?"cursor-not-allowed op40!":"hover:bg-active hover:op-100"]),w:s.minimized?"10":"full",rounded:s.minimized?"xl":"",p:s.minimized?"1":"x3","exact-active-class":"!text-primary-600 bg-active op-100!",onClick:a},{default:W(()=>[w("div",aPt,[D(c,{"text-xl":"",icon:s.tab.icon,fallback:s.tab.fallbackIcon,title:s.tab.name,"show-title":!1},null,8,["icon","fallback","title"]),s.minimized?ne("",!0):(M(),x("span",sPt,ze(s.tab.title),1))]),y(i)?(M(),x("div",{key:0,"h-4":"","w-4":"","rounded-full":"","text-9px":"","text-white":"",flex:"~ items-center justify-center",class:Te([y(o)?"bg-primary-600":"bg-gray",{"absolute bottom-0 right-0":s.minimized}])},[w("span",lPt,ze(y(wr)(y(i))),1)],2)):ne("",!0)]),_:1},8,["to","flex","disabled","class","w","rounded","p"]))]),_:1},8,["disabled","class"])}}}),uPt={flex:"~ col gap-1","max-w-80":"",py1:""},gPt={key:0,"h-1px":"",border:"b base"},hPt={flex:"~ wrap",px1:""},Vne=ce({__name:"TabsGrid",props:{categories:{},target:{},disabledItems:{}},setup(t){return(r,e)=>{const n=Hne;return M(),x("div",uPt,[(M(!0),x(Se,null,It(r.categories,([i,o],a)=>(M(),x(Se,{key:i},[o.length?(M(),x(Se,{key:0},[a?(M(),x("div",gPt)):ne("",!0),w("div",hPt,[(M(!0),x(Se,null,It(o,s=>(M(),ie(n,{key:s.name,disabled:r.disabledItems?.includes(s.name),target:r.target,tab:s},null,8,["disabled","target","tab"]))),128))])],64)):ne("",!0)],64))),128))])}}}),dPt={"h-full":"","h-screen":"","of-hidden":""},fPt={key:0,border:"b base",flex:"~ gap1","z-99":"",px4:"",py3:"","navbar-glass":""},CPt={flex:"","cursor-pointer":"","items-center":"",gap2:""},vPt={capitalize:""},APt={key:2,"of-auto":"",class:"h-[calc(100%-50px)]"},IPt={key:3,class:"h-full w-full $ui-fcc"},pPt=ce({__name:"SplitScreen",setup(t){function r(){dr.value.splitScreen.enabled=!1}const e=F(()=>dr.value.splitScreen),{enabledTabs:n,flattenedTabs:i}=$f(),o=Ac(),a=vf(),s=Bi(),l=G(null),c=G(null),u=G(null);function g(v){const A=f();return v?v.name===A:!1}const h=F(()=>{const v=i.value.find(A=>A.name===e.value.view);return g(v)?void 0:v}),d=F(()=>f());function f(){return a.path.startsWith(`/${B8}/`)?a.path.slice(B8.length+2):a.path.startsWith(`/${Vh}/`)?a.path.slice(Vh.length+2):a.path.startsWith("/")?a.path.slice(1):a.path}Je(()=>h.value,v=>{if(!v)return;if(v.view){l.value=v.name,u.value="custom-tab";return}if(v.path.startsWith(Vh)){l.value=v.name,c.value=v.pluginId,u.value="custom-inspector";return}l.value=null;const p=o.getRoutes().find(m=>m.path===`/${v.path}`)?.components?.default;typeof p=="function"?s.value=poe(p):s.value=p},{immediate:!0});const C=G(!1);return(v,A)=>{const I=j0,p=Vne,m=rW;return M(),x("div",dPt,[(y(s)||y(l))&&y(h)?(M(),x("div",fPt,[D(y(vu),{placement:"bottom-start",distance:12,skidding:5,shown:y(C),trigger:"click"},{popper:W(()=>[D(p,{categories:y(n),target:"side","disabled-items":[y(d)]},null,8,["categories","disabled-items"])]),default:W(()=>[w("div",CPt,[A[0]||(A[0]=w("div",{"i-carbon-chevron-down":"","text-sm":"",op50:""},null,-1)),D(I,{"text-xl":"",icon:y(h)?.icon,title:y(h).name,fallback:y(h).fallbackIcon,"show-title":!1},null,8,["icon","title","fallback"]),w("span",vPt,ze(y(h)?.name),1)])]),_:1},8,["shown"]),A[2]||(A[2]=w("div",{"flex-auto":""},null,-1)),At((M(),x("button",{title:"Close split screen","cursor-pointer":"","hover:bg-active":"",px1:"",onClick:r},A[1]||(A[1]=[w("div",{"i-carbon:side-panel-open":""},null,-1)]))),[[y(Rt),"Close split screen"]])])):ne("",!0),y(l)&&y(h)?(M(),x(Se,{key:1},[y(u)==="custom-tab"?(M(),ie(m,{key:0,tab:y(h),class:"h-[calc(100%-50px)]","iframe-inline":"","of-auto":""},null,8,["tab"])):y(c)?(M(),ie(y(JG),{key:1,id:y(l),"plugin-id":y(c)},null,8,["id","plugin-id"])):ne("",!0)],64)):y(s)&&y(h)?(M(),x("div",APt,[(M(),ie(b1(y(s)),{key:`tab-${y(h).name}`}))])):(M(),x("div",IPt,[w("div",null,[A[4]||(A[4]=w("span",{"text-lg":"",op50:""}," Select a tab to start ",-1)),D(y(V5),{px4:"",py2:"","bg-base":""},{default:W(()=>[D(p,{categories:y(n),target:"side","disabled-items":[y(d)]},null,8,["categories","disabled-items"])]),_:1}),D(y(ct),{type:"warning",outlined:"",mt2:"",onClick:r},{default:W(()=>A[3]||(A[3]=[_e(" Close Split Screen ")])),_:1})])]))])}}}),mPt={px3:"",py2:"",border:"b base",flex:"~ gap-2"},yPt={px3:"",py2:"",border:"b base",flex:"~ gap-2"},bPt={px3:"",py2:"",flex:"~ gap2"},wPt=ce({__name:"DockingPanel",setup(t){const r=Ac(),e=F({get:()=>dr.value.expandSidebar,set:u=>dr.value.expandSidebar=u}),n=F({get:()=>dr.value.splitScreen.enabled,set:u=>dr.value.splitScreen.enabled=u});function i(){location.reload()}const o=Fi(),a=F(()=>o.appRecords.value.map(u=>({label:u.name+(u.version?` (${u.version})`:""),value:u.id}))),s=G(o.activeAppRecordId.value);gn(()=>{s.value=o.activeAppRecordId.value});const l=F(()=>a.value.find(u=>u.value===s.value)?.label??"");function c(u){Ce.value.toggleApp(u).then(()=>{r.push("/overview").then(()=>{fj()})})}return(u,g)=>(M(),x("div",null,[w("div",mPt,[D(y(tG),null,{default:W(({isDark:h,toggle:d})=>[D(y(ct),{outlined:"",type:"primary",onClick:d},{default:W(()=>[g[3]||(g[3]=w("div",{"i-carbon-sun":"","dark:i-carbon-moon":"","translate-y--1px":""},null,-1)),_e(" "+ze(h?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1}),D(y(ct),{outlined:"",type:"primary",onClick:g[0]||(g[0]=h=>e.value=!y(e))},{default:W(()=>[D(y(Gt),{icon:y(e)?"i-carbon-side-panel-close":"i-carbon-side-panel-open"},null,8,["icon"]),_e(" "+ze(y(e)?"Minimize Sidebar":"Expand Sidebar"),1)]),_:1}),D(y(ct),{to:"/settings",outlined:"",type:"primary"},{default:W(()=>g[4]||(g[4]=[w("div",{"i-carbon-settings-adjust":""},null,-1),_e(" Settings ")])),_:1})]),w("div",yPt,[D(y(ct),{outlined:"",type:"primary",onClick:g[1]||(g[1]=h=>n.value=!y(n))},{default:W(()=>[g[5]||(g[5]=w("div",{"i-carbon-split-screen":""},null,-1)),_e(" "+ze(y(n)?"Close Split Screen":"Split Screen"),1)]),_:1})]),w("div",bPt,[y(a).length>1?(M(),ie(y(Ed),{key:0,modelValue:y(s),"onUpdate:modelValue":[g[2]||(g[2]=h=>qe(s)?s.value=h:null),c],options:y(a),placeholder:y(l)||"Toggle App","button-props":{outlined:!0,type:"primary"}},null,8,["modelValue","options","placeholder"])):ne("",!0),D(y(ct),{outlined:"",type:"primary",onClick:i},{default:W(()=>g[6]||(g[6]=[_e(" Refresh Page ")])),_:1})])]))}}),$Pt={sticky:"","top-0":"","z-1":"","w-full":"",p1:"","bg-base":"",border:"b base"},_Pt={flex:"~ auto col gap-0.5 items-center","w-full":"","of-x-hidden":"","of-y-auto":"",p1:"",class:"no-scrollbar"},MPt={key:0,my1:"","h-1px":"","w-full":"",border:"b base"},zPt=["flex"],EPt={absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"",flex:"~ items-center justify-center",border:"~ base"},SPt={"translate-y-0.5px":""},TPt=45,LPt=ce({__name:"SideNav",emits:["toggleDevtoolsClientVisible"],setup(t,{emit:r}){const e=r,n=G(!1),i=G(!1),o=G(),a=G(),s=G(),l=F(()=>dr.value.expandSidebar),c=F(()=>dr.value.scrollableSidebar),{enabledTabs:u,flattenedTabs:g}=$f(),{height:h}=zge(),d=F(()=>{const _=h.value-130;return Math.max(0,Math.floor(_/TPt))}),f=F(()=>g.value.slice(0,d.value)),C=F(()=>g.value.slice(d.value)),v=yT(f,u),A=yT(C,u),I=F(()=>c.value||l.value?u.value:v.value);ege(o,_=>{a.value&&_.composedPath().includes(a.value)||s.value&&_.composedPath().includes(s.value)||(n.value=!1,i.value=!1)},{detectIframe:!0});const p=G(),m=G(6);jb(p,()=>{m.value=m.value===6?6.01:6});const b=lM();return fge(p,([{isIntersecting:_}])=>{e("toggleDevtoolsClientVisible",{visible:_,host:b})}),(_,L)=>{const z=wPt,S=Hne,T=j0,k=Vne;return M(),x("div",{ref_key:"containerRef",ref:p,border:"r base",flex:"~ col items-start",class:"$ui-z-max-override","h-full":"","of-hidden":"","bg-base":""},[w("div",$Pt,[D(y(vu),{placement:"left-start",distance:y(m),skidding:5,trigger:"click",shown:y(n),class:"w-full"},{popper:W(()=>[D(z)]),default:W(()=>[w("button",{ref_key:"buttonDocking",ref:a,flex:"~ items-center justify-center gap-2",hover:"bg-active","text-secondary":"",relative:"","h-10":"","w-full":"","select-none":"",p2:"","exact-active-class":"!text-primary bg-active",class:Te([y(l)?"rounded pl2.5":"rounded-xl"])},[L[3]||(L[3]=w("div",{"i-logos-vue":"","h-6":"","w-6":""},null,-1)),y(l)?(M(),x(Se,{key:0},[L[0]||(L[0]=w("span",{"text-lg":"","font-600":"","text-base":""}," DevTools ",-1)),L[1]||(L[1]=w("div",{"flex-auto":""},null,-1)),L[2]||(L[2]=w("div",{"i-carbon-overflow-menu-vertical":""},null,-1))],64)):ne("",!0)],2)]),_:1},8,["distance","shown"])]),w("div",_Pt,[(M(!0),x(Se,null,It(y(I),([O,P],B)=>(M(),x(Se,{key:O},[B?(M(),x("div",MPt)):ne("",!0),(M(!0),x(Se,null,It(P.filter(te=>!te.hidden),te=>(M(),ie(S,{key:te.name,tab:te,minimized:!y(l)},null,8,["tab","minimized"]))),128))],64))),128)),L[4]||(L[4]=w("div",{"flex-auto":""},null,-1))]),w("div",{flex:`~ items-center gap-1 ${y(l)?"":"none col"}`,border:"t base",sticky:"","bottom-0":"","w-full":"",p1:"","bg-base":"",class:"$ui-z-max-override"},[y(C).length&&!y(c)&&!y(l)?(M(),ie(y(vu),{key:0,placement:"left-end",distance:6},{popper:W(()=>[D(k,{categories:y(A),"max-w-80":"",target:"main"},null,8,["categories"])]),default:W(()=>[w("button",{ref_key:"buttonMoreTabs",ref:s,flex:"~",hover:"bg-active","text-secondary":"",relative:"","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","exact-active-class":"!text-primary bg-active"},[D(T,{"text-xl":"",icon:"i-carbon-overflow-menu-vertical",title:"More tabs","show-title":!1}),w("div",EPt,[w("span",SPt,ze(y(C).length),1)])],512)]),_:1})):ne("",!0),D(S,{minimized:!y(l),tab:{icon:"i-carbon-settings-adjust",title:"Settings",name:"settings",path:"/settings"}},null,8,["minimized"])],8,zPt)],512)}}}),Pne=Bi([]),Rne=G(null);F(()=>Pne.value.find(t=>t.id===Rne.value));const kPt={class:"fixed inset-0 h-screen w-screen $ui-bg-base"},OPt=ce({__name:"App",setup(t){mf();const r=Ac(),e=vf(),{connected:n,clientConnected:i,activeAppRecordId:o,appRecords:a}=Fi(),s=dr,l=F(()=>n.value&&i.value),c=F(()=>e.path.startsWith("/__")||e.path==="/"),u=F(()=>s.value.expandSidebar),g=F(()=>s.value.splitScreen.enabled),h=F({get:()=>s.value.splitScreen.size,set:A=>s.value.splitScreen.size=A});gn(()=>{const A=dr.value.scale;document.documentElement.style.fontSize=`${A*15}px`}),Ga(()=>{gn(()=>{Ce.value.emit("update-client-state",{minimizePanelInteractive:dr.value.minimizePanelInteractive,closeOnOutsideClick:dr.value.interactionCloseOnOutsideClick,showFloatingPanel:dr.value.showPanel})})}),Je(l,A=>{A&&(r.replace(s.value.isFirstVisit?"/":s.value.route),r.afterEach(()=>{const I=e.path;I.includes("__")||(s.value.route=I)}))},{immediate:!0}),hi("keydown",A=>{A.code==="KeyD"&&A.altKey&&A.shiftKey&&Ce.value.emit("toggle-panel")}),gn(()=>{Pne.value=a.value,Rne.value=o.value}),Ga(()=>{Ce.value.initDevToolsServerListener(),Ce.value.checkVueInspectorDetected().then(A=>{A&&(iI.value=!0,HN(()=>[{id:"action:vue-inspector",title:"Inspector",icon:"i-carbon-select-window",action:async()=>{Ce.value.emit("toggle-panel",!1),await Ce.value.enableVueInspector()}}]))})});function d(){r.push("/overview").then(()=>{fj()})}Hb(()=>{Ce.functions.on(Ft.ACTIVE_APP_UNMOUNTED,d)});const{copy:f}=CI(),C=Cge({});HN(()=>[...C.isSupported.value?[{id:"action:eye-dropper",title:"Color Picker",icon:"i-carbon-eyedropper",action:async()=>{Ce.value.emit("toggle-panel",!1);const{sRGBHex:A}=await C.open()||{};A&&f(A)}}]:[]]),Ii(()=>{Ga(()=>{Ce.value.toggleClientConnected(!0)})}),fn(()=>{Ce.value.toggleClientConnected(!1),Ce.functions.off(Ft.ACTIVE_APP_UNMOUNTED,d)});function v(A){const{host:I,visible:p}=A;Ce.value.updateDevToolsClientDetected({[I]:p})}return(A,I)=>{const p=gCe,m=LPt,b=Po("RouterView"),_=pPt,L=oPt;return M(),x("main",kPt,[y(l)?(M(),x("div",{key:1,class:Te(["h-full of-auto transition-base",y(c)?"flex":y(u)?"grid grid-cols-[250px_1fr]":"grid grid-cols-[50px_1fr]"]),"h-full":"","h-screen":"","of-hidden":"","font-sans":"","bg-base":""},[y(c)?ne("",!0):(M(),ie(m,{key:0,"of-x-hidden":"","of-y-auto":"",onToggleDevtoolsClientVisible:v})),D(y(D1),{"h-full":"","of-hidden":"",onResize:I[0]||(I[0]=z=>h.value=z.map(S=>S.size))},{default:W(()=>[D(y(hn),{"h-full":"",class:"of-auto!","min-size":"10",size:y(h)[0]},{default:W(()=>[D(b)]),_:1},8,["size"]),!y(c)&&y(g)?(M(),ie(y(hn),{key:0,relative:"","h-full":"",class:"of-auto!",size:y(h)[1]},{default:W(()=>[D(_)]),_:1},8,["size"])):ne("",!0)]),_:1})],2)):(M(),ie(p,{key:0})),D(L)])}}}),xPt=[{path:"/",component:uHt},{path:"/overview",component:wHt},{path:"/components",component:X9e},{path:"/pinia",component:JHt},{path:"/router",component:eVt},{path:"/pages",component:QHt},{path:"/timeline",component:PVt},{path:"/assets",component:Ave},{path:"/graph",component:nHt},{path:"/settings",component:pVt},{path:`/${B8}/:name`,component:f6e},{path:`/${Vh}/:name`,component:n6e}],HPt=k2e({history:c2e(),routes:xPt}),cM=CF(OPt);cM.use(HPt);cM.use(kce());cM.mount("#app");async function VPt(){return ma?void 0:(await xce(`${location.pathname.split("/__devtools__")[0]||""}/`.replace(/\/\//g,"/"),!1))?.createHotContext("/____")}async function PPt(){const t=await VPt();return t&&Yle(t),t}PPt().then(t=>{t&&Lce()});DN?Q6(IE,{preset:"broadcast"}):Q6(IE,{preset:"iframe"});
|
|
1166
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,a=!1,s;return{s:function(){e=e.call(t)},n:function(){var c=e.next();return o=c.done,c},e:function(c){a=!0,s=c},f:function(){try{!o&&e.return!=null&&e.return()}finally{if(a)throw s}}}}function Yxt(t,r){var e;if(t){if(typeof t=="string")return kN(t,r);var n=zn(e=Object.prototype.toString.call(t)).call(e,8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Fc(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return kN(t,r)}}function kN(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}var Xxt=function(){function t(r,e,n,i){var o=this,a,s;we(this,t),this.body=r,this.canvas=e,this.selectionHandler=n,this.interactionHandler=i,this.editMode=!1,this.manipulationDiv=void 0,this.editModeDiv=void 0,this.closeDiv=void 0,this._domEventListenerCleanupQueue=[],this.temporaryUIFunctions={},this.temporaryEventFunctions=[],this.touchTime=0,this.temporaryIds={nodes:[],edges:[]},this.guiEnabled=!1,this.inMode=!1,this.selectedControlNode=void 0,this.options={},this.defaultOptions={enabled:!1,initiallyActive:!1,addNode:!0,addEdge:!0,editNode:void 0,editEdge:!0,deleteNode:!0,deleteEdge:!0,controlNodeStyle:{shape:"dot",size:6,color:{background:"#ff0000",border:"#3c3c3c",highlight:{background:"#07f968",border:"#3c3c3c"}},borderWidth:2,borderWidthSelected:2}},Wr(this.options,this.defaultOptions),this.body.emitter.on("destroy",function(){o._clean()}),this.body.emitter.on("_dataChanged",Ae(a=this._restore).call(a,this)),this.body.emitter.on("_resetData",Ae(s=this._restore).call(s,this))}return $e(t,[{key:"_restore",value:function(){this.inMode!==!1&&(this.options.initiallyActive===!0?this.enableEditMode():this.disableEditMode())}},{key:"setOptions",value:function(e,n,i){n!==void 0&&(n.locale!==void 0?this.options.locale=n.locale:this.options.locale=i.locale,n.locales!==void 0?this.options.locales=n.locales:this.options.locales=i.locales),e!==void 0&&(typeof e=="boolean"?this.options.enabled=e:(this.options.enabled=!0,rr(this.options,e)),this.options.initiallyActive===!0&&(this.editMode=!0),this._setup())}},{key:"toggleEditMode",value:function(){this.editMode===!0?this.disableEditMode():this.enableEditMode()}},{key:"enableEditMode",value:function(){this.editMode=!0,this._clean(),this.guiEnabled===!0&&(this.manipulationDiv.style.display="block",this.closeDiv.style.display="block",this.editModeDiv.style.display="none",this.showManipulatorToolbar())}},{key:"disableEditMode",value:function(){this.editMode=!1,this._clean(),this.guiEnabled===!0&&(this.manipulationDiv.style.display="none",this.closeDiv.style.display="none",this.editModeDiv.style.display="block",this._createEditButton())}},{key:"showManipulatorToolbar",value:function(){if(this._clean(),this.manipulationDOM={},this.guiEnabled===!0){var e,n;this.editMode=!0,this.manipulationDiv.style.display="block",this.closeDiv.style.display="block";var i=this.selectionHandler.getSelectedNodeCount(),o=this.selectionHandler.getSelectedEdgeCount(),a=i+o,s=this.options.locales[this.options.locale],l=!1;this.options.addNode!==!1&&(this._createAddNodeButton(s),l=!0),this.options.addEdge!==!1&&(l===!0?this._createSeperator(1):l=!0,this._createAddEdgeButton(s)),i===1&&typeof this.options.editNode=="function"?(l===!0?this._createSeperator(2):l=!0,this._createEditNodeButton(s)):o===1&&i===0&&this.options.editEdge!==!1&&(l===!0?this._createSeperator(3):l=!0,this._createEditEdgeButton(s)),a!==0&&(i>0&&this.options.deleteNode!==!1?(l===!0&&this._createSeperator(4),this._createDeleteButton(s)):i===0&&this.options.deleteEdge!==!1&&(l===!0&&this._createSeperator(4),this._createDeleteButton(s))),this._bindElementEvents(this.closeDiv,Ae(e=this.toggleEditMode).call(e,this)),this._temporaryBindEvent("select",Ae(n=this.showManipulatorToolbar).call(n,this))}this.body.emitter.emit("_redraw")}},{key:"addNodeMode",value:function(){var e;if(this.editMode!==!0&&this.enableEditMode(),this._clean(),this.inMode="addNode",this.guiEnabled===!0){var n,i=this.options.locales[this.options.locale];this.manipulationDOM={},this._createBackButton(i),this._createSeperator(),this._createDescription(i.addDescription||this.options.locales.en.addDescription),this._bindElementEvents(this.closeDiv,Ae(n=this.toggleEditMode).call(n,this))}this._temporaryBindEvent("click",Ae(e=this._performAddNode).call(e,this))}},{key:"editNode",value:function(){var e=this;this.editMode!==!0&&this.enableEditMode(),this._clean();var n=this.selectionHandler.getSelectedNodes()[0];if(n!==void 0)if(this.inMode="editNode",typeof this.options.editNode=="function")if(n.isCluster!==!0){var i=rr({},n.options,!1);if(i.x=n.x,i.y=n.y,this.options.editNode.length===2)this.options.editNode(i,function(o){o!=null&&e.inMode==="editNode"&&e.body.data.nodes.getDataSet().update(o),e.showManipulatorToolbar()});else throw new Error("The function for edit does not support two arguments (data, callback)")}else alert(this.options.locales[this.options.locale].editClusterError||this.options.locales.en.editClusterError);else throw new Error("No function has been configured to handle the editing of nodes.");else this.showManipulatorToolbar()}},{key:"addEdgeMode",value:function(){var e,n,i,o,a;if(this.editMode!==!0&&this.enableEditMode(),this._clean(),this.inMode="addEdge",this.guiEnabled===!0){var s,l=this.options.locales[this.options.locale];this.manipulationDOM={},this._createBackButton(l),this._createSeperator(),this._createDescription(l.edgeDescription||this.options.locales.en.edgeDescription),this._bindElementEvents(this.closeDiv,Ae(s=this.toggleEditMode).call(s,this))}this._temporaryBindUI("onTouch",Ae(e=this._handleConnect).call(e,this)),this._temporaryBindUI("onDragEnd",Ae(n=this._finishConnect).call(n,this)),this._temporaryBindUI("onDrag",Ae(i=this._dragControlNode).call(i,this)),this._temporaryBindUI("onRelease",Ae(o=this._finishConnect).call(o,this)),this._temporaryBindUI("onDragStart",Ae(a=this._dragStartEdge).call(a,this)),this._temporaryBindUI("onHold",function(){})}},{key:"editEdgeMode",value:function(){if(this.editMode!==!0&&this.enableEditMode(),this._clean(),this.inMode="editEdge",Wt(this.options.editEdge)==="object"&&typeof this.options.editEdge.editWithoutDrag=="function"&&(this.edgeBeingEditedId=this.selectionHandler.getSelectedEdgeIds()[0],this.edgeBeingEditedId!==void 0)){var e=this.body.edges[this.edgeBeingEditedId];this._performEditEdge(e.from.id,e.to.id);return}if(this.guiEnabled===!0){var n,i=this.options.locales[this.options.locale];this.manipulationDOM={},this._createBackButton(i),this._createSeperator(),this._createDescription(i.editEdgeDescription||this.options.locales.en.editEdgeDescription),this._bindElementEvents(this.closeDiv,Ae(n=this.toggleEditMode).call(n,this))}if(this.edgeBeingEditedId=this.selectionHandler.getSelectedEdgeIds()[0],this.edgeBeingEditedId!==void 0){var o,a,s,l,c=this.body.edges[this.edgeBeingEditedId],u=this._getNewTargetNode(c.from.x,c.from.y),g=this._getNewTargetNode(c.to.x,c.to.y);this.temporaryIds.nodes.push(u.id),this.temporaryIds.nodes.push(g.id),this.body.nodes[u.id]=u,this.body.nodeIndices.push(u.id),this.body.nodes[g.id]=g,this.body.nodeIndices.push(g.id),this._temporaryBindUI("onTouch",Ae(o=this._controlNodeTouch).call(o,this)),this._temporaryBindUI("onTap",function(){}),this._temporaryBindUI("onHold",function(){}),this._temporaryBindUI("onDragStart",Ae(a=this._controlNodeDragStart).call(a,this)),this._temporaryBindUI("onDrag",Ae(s=this._controlNodeDrag).call(s,this)),this._temporaryBindUI("onDragEnd",Ae(l=this._controlNodeDragEnd).call(l,this)),this._temporaryBindUI("onMouseMove",function(){}),this._temporaryBindEvent("beforeDrawing",function(h){var d=c.edgeType.findBorderPositions(h);u.selected===!1&&(u.x=d.from.x,u.y=d.from.y),g.selected===!1&&(g.x=d.to.x,g.y=d.to.y)}),this.body.emitter.emit("_redraw")}else this.showManipulatorToolbar()}},{key:"deleteSelected",value:function(){var e=this;this.editMode!==!0&&this.enableEditMode(),this._clean(),this.inMode="delete";var n=this.selectionHandler.getSelectedNodeIds(),i=this.selectionHandler.getSelectedEdgeIds(),o=void 0;if(n.length>0){for(var a=0;a<n.length;a++)if(this.body.nodes[n[a]].isCluster===!0){alert(this.options.locales[this.options.locale].deleteClusterError||this.options.locales.en.deleteClusterError);return}typeof this.options.deleteNode=="function"&&(o=this.options.deleteNode)}else i.length>0&&typeof this.options.deleteEdge=="function"&&(o=this.options.deleteEdge);if(typeof o=="function"){var s={nodes:n,edges:i};if(o.length===2)o(s,function(l){l!=null&&e.inMode==="delete"?(e.body.data.edges.getDataSet().remove(l.edges),e.body.data.nodes.getDataSet().remove(l.nodes),e.body.emitter.emit("startSimulation"),e.showManipulatorToolbar()):(e.body.emitter.emit("startSimulation"),e.showManipulatorToolbar())});else throw new Error("The function for delete does not support two arguments (data, callback)")}else this.body.data.edges.getDataSet().remove(i),this.body.data.nodes.getDataSet().remove(n),this.body.emitter.emit("startSimulation"),this.showManipulatorToolbar()}},{key:"_setup",value:function(){this.options.enabled===!0?(this.guiEnabled=!0,this._createWrappers(),this.editMode===!1?this._createEditButton():this.showManipulatorToolbar()):(this._removeManipulationDOM(),this.guiEnabled=!1)}},{key:"_createWrappers",value:function(){if(this.manipulationDiv===void 0&&(this.manipulationDiv=document.createElement("div"),this.manipulationDiv.className="vis-manipulation",this.editMode===!0?this.manipulationDiv.style.display="block":this.manipulationDiv.style.display="none",this.canvas.frame.appendChild(this.manipulationDiv)),this.editModeDiv===void 0&&(this.editModeDiv=document.createElement("div"),this.editModeDiv.className="vis-edit-mode",this.editMode===!0?this.editModeDiv.style.display="none":this.editModeDiv.style.display="block",this.canvas.frame.appendChild(this.editModeDiv)),this.closeDiv===void 0){var e,n;this.closeDiv=document.createElement("button"),this.closeDiv.className="vis-close",this.closeDiv.setAttribute("aria-label",(e=(n=this.options.locales[this.options.locale])===null||n===void 0?void 0:n.close)!==null&&e!==void 0?e:this.options.locales.en.close),this.closeDiv.style.display=this.manipulationDiv.style.display,this.canvas.frame.appendChild(this.closeDiv)}}},{key:"_getNewTargetNode",value:function(e,n){var i=rr({},this.options.controlNodeStyle);i.id="targetNode"+Jh(),i.hidden=!1,i.physics=!1,i.x=e,i.y=n;var o=this.body.functions.createNode(i);return o.shape.boundingBox={left:e,right:e,top:n,bottom:n},o}},{key:"_createEditButton",value:function(){var e;this._clean(),this.manipulationDOM={},Ys(this.editModeDiv);var n=this.options.locales[this.options.locale],i=this._createButton("editMode","vis-edit vis-edit-mode",n.edit||this.options.locales.en.edit);this.editModeDiv.appendChild(i),this._bindElementEvents(i,Ae(e=this.toggleEditMode).call(e,this))}},{key:"_clean",value:function(){this.inMode=!1,this.guiEnabled===!0&&(Ys(this.editModeDiv),Ys(this.manipulationDiv),this._cleanupDOMEventListeners()),this._cleanupTemporaryNodesAndEdges(),this._unbindTemporaryUIs(),this._unbindTemporaryEvents(),this.body.emitter.emit("restorePhysics")}},{key:"_cleanupDOMEventListeners",value:function(){var e,n=Kxt(rs(e=this._domEventListenerCleanupQueue).call(e,0)),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;o()}}catch(a){n.e(a)}finally{n.f()}}},{key:"_removeManipulationDOM",value:function(){this._clean(),Ys(this.manipulationDiv),Ys(this.editModeDiv),Ys(this.closeDiv),this.manipulationDiv&&this.canvas.frame.removeChild(this.manipulationDiv),this.editModeDiv&&this.canvas.frame.removeChild(this.editModeDiv),this.closeDiv&&this.canvas.frame.removeChild(this.closeDiv),this.manipulationDiv=void 0,this.editModeDiv=void 0,this.closeDiv=void 0}},{key:"_createSeperator",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1;this.manipulationDOM["seperatorLineDiv"+e]=document.createElement("div"),this.manipulationDOM["seperatorLineDiv"+e].className="vis-separator-line",this.manipulationDiv.appendChild(this.manipulationDOM["seperatorLineDiv"+e])}},{key:"_createAddNodeButton",value:function(e){var n,i=this._createButton("addNode","vis-add",e.addNode||this.options.locales.en.addNode);this.manipulationDiv.appendChild(i),this._bindElementEvents(i,Ae(n=this.addNodeMode).call(n,this))}},{key:"_createAddEdgeButton",value:function(e){var n,i=this._createButton("addEdge","vis-connect",e.addEdge||this.options.locales.en.addEdge);this.manipulationDiv.appendChild(i),this._bindElementEvents(i,Ae(n=this.addEdgeMode).call(n,this))}},{key:"_createEditNodeButton",value:function(e){var n,i=this._createButton("editNode","vis-edit",e.editNode||this.options.locales.en.editNode);this.manipulationDiv.appendChild(i),this._bindElementEvents(i,Ae(n=this.editNode).call(n,this))}},{key:"_createEditEdgeButton",value:function(e){var n,i=this._createButton("editEdge","vis-edit",e.editEdge||this.options.locales.en.editEdge);this.manipulationDiv.appendChild(i),this._bindElementEvents(i,Ae(n=this.editEdgeMode).call(n,this))}},{key:"_createDeleteButton",value:function(e){var n,i;this.options.rtl?i="vis-delete-rtl":i="vis-delete";var o=this._createButton("delete",i,e.del||this.options.locales.en.del);this.manipulationDiv.appendChild(o),this._bindElementEvents(o,Ae(n=this.deleteSelected).call(n,this))}},{key:"_createBackButton",value:function(e){var n,i=this._createButton("back","vis-back",e.back||this.options.locales.en.back);this.manipulationDiv.appendChild(i),this._bindElementEvents(i,Ae(n=this.showManipulatorToolbar).call(n,this))}},{key:"_createButton",value:function(e,n,i){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"vis-label";return this.manipulationDOM[e+"Div"]=document.createElement("button"),this.manipulationDOM[e+"Div"].className="vis-button "+n,this.manipulationDOM[e+"Label"]=document.createElement("div"),this.manipulationDOM[e+"Label"].className=o,this.manipulationDOM[e+"Label"].innerText=i,this.manipulationDOM[e+"Div"].appendChild(this.manipulationDOM[e+"Label"]),this.manipulationDOM[e+"Div"]}},{key:"_createDescription",value:function(e){this.manipulationDOM.descriptionLabel=document.createElement("div"),this.manipulationDOM.descriptionLabel.className="vis-none",this.manipulationDOM.descriptionLabel.innerText=e,this.manipulationDiv.appendChild(this.manipulationDOM.descriptionLabel)}},{key:"_temporaryBindEvent",value:function(e,n){this.temporaryEventFunctions.push({event:e,boundFunction:n}),this.body.emitter.on(e,n)}},{key:"_temporaryBindUI",value:function(e,n){if(this.body.eventListeners[e]!==void 0)this.temporaryUIFunctions[e]=this.body.eventListeners[e],this.body.eventListeners[e]=n;else throw new Error("This UI function does not exist. Typo? You tried: "+e+" possible are: "+H0(mr(this.body.eventListeners)))}},{key:"_unbindTemporaryUIs",value:function(){for(var e in this.temporaryUIFunctions)Object.prototype.hasOwnProperty.call(this.temporaryUIFunctions,e)&&(this.body.eventListeners[e]=this.temporaryUIFunctions[e],delete this.temporaryUIFunctions[e]);this.temporaryUIFunctions={}}},{key:"_unbindTemporaryEvents",value:function(){for(var e=0;e<this.temporaryEventFunctions.length;e++){var n=this.temporaryEventFunctions[e].event,i=this.temporaryEventFunctions[e].boundFunction;this.body.emitter.off(n,i)}this.temporaryEventFunctions=[]}},{key:"_bindElementEvents",value:function(e,n){var i=new nu(e,{});NA(i,n),this._domEventListenerCleanupQueue.push(function(){i.destroy()});var o=function(s){var l=s.keyCode,c=s.key;(c==="Enter"||c===" "||l===13||l===32)&&n()};e.addEventListener("keyup",o,!1),this._domEventListenerCleanupQueue.push(function(){e.removeEventListener("keyup",o,!1)})}},{key:"_cleanupTemporaryNodesAndEdges",value:function(){for(var e=0;e<this.temporaryIds.edges.length;e++){var n;this.body.edges[this.temporaryIds.edges[e]].disconnect(),delete this.body.edges[this.temporaryIds.edges[e]];var i=Et(n=this.body.edgeIndices).call(n,this.temporaryIds.edges[e]);if(i!==-1){var o;rs(o=this.body.edgeIndices).call(o,i,1)}}for(var a=0;a<this.temporaryIds.nodes.length;a++){var s;delete this.body.nodes[this.temporaryIds.nodes[a]];var l=Et(s=this.body.nodeIndices).call(s,this.temporaryIds.nodes[a]);if(l!==-1){var c;rs(c=this.body.nodeIndices).call(c,l,1)}}this.temporaryIds={nodes:[],edges:[]}}},{key:"_controlNodeTouch",value:function(e){this.selectionHandler.unselectAll(),this.lastTouch=this.body.functions.getPointer(e.center),this.lastTouch.translation=Wr({},this.body.view.translation)}},{key:"_controlNodeDragStart",value:function(){var e=this.lastTouch,n=this.selectionHandler._pointerToPositionObject(e),i=this.body.nodes[this.temporaryIds.nodes[0]],o=this.body.nodes[this.temporaryIds.nodes[1]],a=this.body.edges[this.edgeBeingEditedId];this.selectedControlNode=void 0;var s=i.isOverlappingWith(n),l=o.isOverlappingWith(n);s===!0?(this.selectedControlNode=i,a.edgeType.from=i):l===!0&&(this.selectedControlNode=o,a.edgeType.to=o),this.selectedControlNode!==void 0&&this.selectionHandler.selectObject(this.selectedControlNode),this.body.emitter.emit("_redraw")}},{key:"_controlNodeDrag",value:function(e){this.body.emitter.emit("disablePhysics");var n=this.body.functions.getPointer(e.center),i=this.canvas.DOMtoCanvas(n);this.selectedControlNode!==void 0?(this.selectedControlNode.x=i.x,this.selectedControlNode.y=i.y):this.interactionHandler.onDrag(e),this.body.emitter.emit("_redraw")}},{key:"_controlNodeDragEnd",value:function(e){var n=this.body.functions.getPointer(e.center),i=this.selectionHandler._pointerToPositionObject(n),o=this.body.edges[this.edgeBeingEditedId];if(this.selectedControlNode!==void 0){this.selectionHandler.unselectAll();for(var a=this.selectionHandler._getAllNodesOverlappingWith(i),s=void 0,l=a.length-1;l>=0;l--)if(a[l]!==this.selectedControlNode.id){s=this.body.nodes[a[l]];break}if(s!==void 0&&this.selectedControlNode!==void 0)if(s.isCluster===!0)alert(this.options.locales[this.options.locale].createEdgeError||this.options.locales.en.createEdgeError);else{var c=this.body.nodes[this.temporaryIds.nodes[0]];this.selectedControlNode.id===c.id?this._performEditEdge(s.id,o.to.id):this._performEditEdge(o.from.id,s.id)}else o.updateEdgeType(),this.body.emitter.emit("restorePhysics");this.body.emitter.emit("_redraw")}}},{key:"_handleConnect",value:function(e){if(new Date().valueOf()-this.touchTime>100){this.lastTouch=this.body.functions.getPointer(e.center),this.lastTouch.translation=Wr({},this.body.view.translation),this.interactionHandler.drag.pointer=this.lastTouch,this.interactionHandler.drag.translation=this.lastTouch.translation;var n=this.lastTouch,i=this.selectionHandler.getNodeAt(n);if(i!==void 0)if(i.isCluster===!0)alert(this.options.locales[this.options.locale].createEdgeError||this.options.locales.en.createEdgeError);else{var o=this._getNewTargetNode(i.x,i.y);this.body.nodes[o.id]=o,this.body.nodeIndices.push(o.id);var a=this.body.functions.createEdge({id:"connectionEdge"+Jh(),from:i.id,to:o.id,physics:!1,smooth:{enabled:!0,type:"continuous",roundness:.5}});this.body.edges[a.id]=a,this.body.edgeIndices.push(a.id),this.temporaryIds.nodes.push(o.id),this.temporaryIds.edges.push(a.id)}this.touchTime=new Date().valueOf()}}},{key:"_dragControlNode",value:function(e){var n=this.body.functions.getPointer(e.center),i=this.selectionHandler._pointerToPositionObject(n),o=void 0;this.temporaryIds.edges[0]!==void 0&&(o=this.body.edges[this.temporaryIds.edges[0]].fromId);for(var a=this.selectionHandler._getAllNodesOverlappingWith(i),s=void 0,l=a.length-1;l>=0;l--){var c;if(Et(c=this.temporaryIds.nodes).call(c,a[l])===-1){s=this.body.nodes[a[l]];break}}if(e.controlEdge={from:o,to:s?s.id:void 0},this.selectionHandler.generateClickEvent("controlNodeDragging",e,n),this.temporaryIds.nodes[0]!==void 0){var u=this.body.nodes[this.temporaryIds.nodes[0]];u.x=this.canvas._XconvertDOMtoCanvas(n.x),u.y=this.canvas._YconvertDOMtoCanvas(n.y),this.body.emitter.emit("_redraw")}else this.interactionHandler.onDrag(e)}},{key:"_finishConnect",value:function(e){var n=this.body.functions.getPointer(e.center),i=this.selectionHandler._pointerToPositionObject(n),o=void 0;this.temporaryIds.edges[0]!==void 0&&(o=this.body.edges[this.temporaryIds.edges[0]].fromId);for(var a=this.selectionHandler._getAllNodesOverlappingWith(i),s=void 0,l=a.length-1;l>=0;l--){var c;if(Et(c=this.temporaryIds.nodes).call(c,a[l])===-1){s=this.body.nodes[a[l]];break}}this._cleanupTemporaryNodesAndEdges(),s!==void 0&&(s.isCluster===!0?alert(this.options.locales[this.options.locale].createEdgeError||this.options.locales.en.createEdgeError):this.body.nodes[o]!==void 0&&this.body.nodes[s.id]!==void 0&&this._performAddEdge(o,s.id)),e.controlEdge={from:o,to:s?s.id:void 0},this.selectionHandler.generateClickEvent("controlNodeDragEnd",e,n),this.body.emitter.emit("_redraw")}},{key:"_dragStartEdge",value:function(e){var n=this.lastTouch;this.selectionHandler.generateClickEvent("dragStart",e,n,void 0,!0)}},{key:"_performAddNode",value:function(e){var n=this,i={id:Jh(),x:e.pointer.canvas.x,y:e.pointer.canvas.y,label:"new"};if(typeof this.options.addNode=="function")if(this.options.addNode.length===2)this.options.addNode(i,function(o){o!=null&&n.inMode==="addNode"&&n.body.data.nodes.getDataSet().add(o),n.showManipulatorToolbar()});else throw this.showManipulatorToolbar(),new Error("The function for add does not support two arguments (data,callback)");else this.body.data.nodes.getDataSet().add(i),this.showManipulatorToolbar()}},{key:"_performAddEdge",value:function(e,n){var i=this,o={from:e,to:n};if(typeof this.options.addEdge=="function")if(this.options.addEdge.length===2)this.options.addEdge(o,function(a){a!=null&&i.inMode==="addEdge"&&(i.body.data.edges.getDataSet().add(a),i.selectionHandler.unselectAll(),i.showManipulatorToolbar())});else throw new Error("The function for connect does not support two arguments (data,callback)");else this.body.data.edges.getDataSet().add(o),this.selectionHandler.unselectAll(),this.showManipulatorToolbar()}},{key:"_performEditEdge",value:function(e,n){var i=this,o={id:this.edgeBeingEditedId,from:e,to:n,label:this.body.data.edges.get(this.edgeBeingEditedId).label},a=this.options.editEdge;if(Wt(a)==="object"&&(a=a.editWithoutDrag),typeof a=="function")if(a.length===2)a(o,function(s){s==null||i.inMode!=="editEdge"?(i.body.edges[o.id].updateEdgeType(),i.body.emitter.emit("_redraw"),i.showManipulatorToolbar()):(i.body.data.edges.getDataSet().update(s),i.selectionHandler.unselectAll(),i.showManipulatorToolbar())});else throw new Error("The function for edit does not support two arguments (data, callback)");else this.body.data.edges.getDataSet().update(o),this.selectionHandler.unselectAll(),this.showManipulatorToolbar()}}]),t}(),ye="string",de="boolean",X="number",mh="array",Fe="object",kne="dom",qxt="any",M6=["arrow","bar","box","circle","crow","curve","diamond","image","inv_curve","inv_triangle","triangle","vee"],z6={borderWidth:{number:X},borderWidthSelected:{number:X,undefined:"undefined"},brokenImage:{string:ye,undefined:"undefined"},chosen:{label:{boolean:de,function:"function"},node:{boolean:de,function:"function"},__type__:{object:Fe,boolean:de}},color:{border:{string:ye},background:{string:ye},highlight:{border:{string:ye},background:{string:ye},__type__:{object:Fe,string:ye}},hover:{border:{string:ye},background:{string:ye},__type__:{object:Fe,string:ye}},__type__:{object:Fe,string:ye}},opacity:{number:X,undefined:"undefined"},fixed:{x:{boolean:de},y:{boolean:de},__type__:{object:Fe,boolean:de}},font:{align:{string:ye},color:{string:ye},size:{number:X},face:{string:ye},background:{string:ye},strokeWidth:{number:X},strokeColor:{string:ye},vadjust:{number:X},multi:{boolean:de,string:ye},bold:{color:{string:ye},size:{number:X},face:{string:ye},mod:{string:ye},vadjust:{number:X},__type__:{object:Fe,string:ye}},boldital:{color:{string:ye},size:{number:X},face:{string:ye},mod:{string:ye},vadjust:{number:X},__type__:{object:Fe,string:ye}},ital:{color:{string:ye},size:{number:X},face:{string:ye},mod:{string:ye},vadjust:{number:X},__type__:{object:Fe,string:ye}},mono:{color:{string:ye},size:{number:X},face:{string:ye},mod:{string:ye},vadjust:{number:X},__type__:{object:Fe,string:ye}},__type__:{object:Fe,string:ye}},group:{string:ye,number:X,undefined:"undefined"},heightConstraint:{minimum:{number:X},valign:{string:ye},__type__:{object:Fe,boolean:de,number:X}},hidden:{boolean:de},icon:{face:{string:ye},code:{string:ye},size:{number:X},color:{string:ye},weight:{string:ye,number:X},__type__:{object:Fe}},id:{string:ye,number:X},image:{selected:{string:ye,undefined:"undefined"},unselected:{string:ye,undefined:"undefined"},__type__:{object:Fe,string:ye}},imagePadding:{top:{number:X},right:{number:X},bottom:{number:X},left:{number:X},__type__:{object:Fe,number:X}},label:{string:ye,undefined:"undefined"},labelHighlightBold:{boolean:de},level:{number:X,undefined:"undefined"},margin:{top:{number:X},right:{number:X},bottom:{number:X},left:{number:X},__type__:{object:Fe,number:X}},mass:{number:X},physics:{boolean:de},scaling:{min:{number:X},max:{number:X},label:{enabled:{boolean:de},min:{number:X},max:{number:X},maxVisible:{number:X},drawThreshold:{number:X},__type__:{object:Fe,boolean:de}},customScalingFunction:{function:"function"},__type__:{object:Fe}},shadow:{enabled:{boolean:de},color:{string:ye},size:{number:X},x:{number:X},y:{number:X},__type__:{object:Fe,boolean:de}},shape:{string:["custom","ellipse","circle","database","box","text","image","circularImage","diamond","dot","star","triangle","triangleDown","square","icon","hexagon"]},ctxRenderer:{function:"function"},shapeProperties:{borderDashes:{boolean:de,array:mh},borderRadius:{number:X},interpolation:{boolean:de},useImageSize:{boolean:de},useBorderWithImage:{boolean:de},coordinateOrigin:{string:["center","top-left"]},__type__:{object:Fe}},size:{number:X},title:{string:ye,dom:kne,undefined:"undefined"},value:{number:X,undefined:"undefined"},widthConstraint:{minimum:{number:X},maximum:{number:X},__type__:{object:Fe,boolean:de,number:X}},x:{number:X},y:{number:X},__type__:{object:Fe}},Qxt={configure:{enabled:{boolean:de},filter:{boolean:de,string:ye,array:mh,function:"function"},container:{dom:kne},showButton:{boolean:de},__type__:{object:Fe,boolean:de,string:ye,array:mh,function:"function"}},edges:{arrows:{to:{enabled:{boolean:de},scaleFactor:{number:X},type:{string:M6},imageHeight:{number:X},imageWidth:{number:X},src:{string:ye},__type__:{object:Fe,boolean:de}},middle:{enabled:{boolean:de},scaleFactor:{number:X},type:{string:M6},imageWidth:{number:X},imageHeight:{number:X},src:{string:ye},__type__:{object:Fe,boolean:de}},from:{enabled:{boolean:de},scaleFactor:{number:X},type:{string:M6},imageWidth:{number:X},imageHeight:{number:X},src:{string:ye},__type__:{object:Fe,boolean:de}},__type__:{string:["from","to","middle"],object:Fe}},endPointOffset:{from:{number:X},to:{number:X},__type__:{object:Fe,number:X}},arrowStrikethrough:{boolean:de},background:{enabled:{boolean:de},color:{string:ye},size:{number:X},dashes:{boolean:de,array:mh},__type__:{object:Fe,boolean:de}},chosen:{label:{boolean:de,function:"function"},edge:{boolean:de,function:"function"},__type__:{object:Fe,boolean:de}},color:{color:{string:ye},highlight:{string:ye},hover:{string:ye},inherit:{string:["from","to","both"],boolean:de},opacity:{number:X},__type__:{object:Fe,string:ye}},dashes:{boolean:de,array:mh},font:{color:{string:ye},size:{number:X},face:{string:ye},background:{string:ye},strokeWidth:{number:X},strokeColor:{string:ye},align:{string:["horizontal","top","middle","bottom"]},vadjust:{number:X},multi:{boolean:de,string:ye},bold:{color:{string:ye},size:{number:X},face:{string:ye},mod:{string:ye},vadjust:{number:X},__type__:{object:Fe,string:ye}},boldital:{color:{string:ye},size:{number:X},face:{string:ye},mod:{string:ye},vadjust:{number:X},__type__:{object:Fe,string:ye}},ital:{color:{string:ye},size:{number:X},face:{string:ye},mod:{string:ye},vadjust:{number:X},__type__:{object:Fe,string:ye}},mono:{color:{string:ye},size:{number:X},face:{string:ye},mod:{string:ye},vadjust:{number:X},__type__:{object:Fe,string:ye}},__type__:{object:Fe,string:ye}},hidden:{boolean:de},hoverWidth:{function:"function",number:X},label:{string:ye,undefined:"undefined"},labelHighlightBold:{boolean:de},length:{number:X,undefined:"undefined"},physics:{boolean:de},scaling:{min:{number:X},max:{number:X},label:{enabled:{boolean:de},min:{number:X},max:{number:X},maxVisible:{number:X},drawThreshold:{number:X},__type__:{object:Fe,boolean:de}},customScalingFunction:{function:"function"},__type__:{object:Fe}},selectionWidth:{function:"function",number:X},selfReferenceSize:{number:X},selfReference:{size:{number:X},angle:{number:X},renderBehindTheNode:{boolean:de},__type__:{object:Fe}},shadow:{enabled:{boolean:de},color:{string:ye},size:{number:X},x:{number:X},y:{number:X},__type__:{object:Fe,boolean:de}},smooth:{enabled:{boolean:de},type:{string:["dynamic","continuous","discrete","diagonalCross","straightCross","horizontal","vertical","curvedCW","curvedCCW","cubicBezier"]},roundness:{number:X},forceDirection:{string:["horizontal","vertical","none"],boolean:de},__type__:{object:Fe,boolean:de}},title:{string:ye,undefined:"undefined"},width:{number:X},widthConstraint:{maximum:{number:X},__type__:{object:Fe,boolean:de,number:X}},value:{number:X,undefined:"undefined"},__type__:{object:Fe}},groups:{useDefaultGroups:{boolean:de},__any__:z6,__type__:{object:Fe}},interaction:{dragNodes:{boolean:de},dragView:{boolean:de},hideEdgesOnDrag:{boolean:de},hideEdgesOnZoom:{boolean:de},hideNodesOnDrag:{boolean:de},hover:{boolean:de},keyboard:{enabled:{boolean:de},speed:{x:{number:X},y:{number:X},zoom:{number:X},__type__:{object:Fe}},bindToWindow:{boolean:de},autoFocus:{boolean:de},__type__:{object:Fe,boolean:de}},multiselect:{boolean:de},navigationButtons:{boolean:de},selectable:{boolean:de},selectConnectedEdges:{boolean:de},hoverConnectedEdges:{boolean:de},tooltipDelay:{number:X},zoomView:{boolean:de},zoomSpeed:{number:X},__type__:{object:Fe}},layout:{randomSeed:{undefined:"undefined",number:X,string:ye},improvedLayout:{boolean:de},clusterThreshold:{number:X},hierarchical:{enabled:{boolean:de},levelSeparation:{number:X},nodeSpacing:{number:X},treeSpacing:{number:X},blockShifting:{boolean:de},edgeMinimization:{boolean:de},parentCentralization:{boolean:de},direction:{string:["UD","DU","LR","RL"]},sortMethod:{string:["hubsize","directed"]},shakeTowards:{string:["leaves","roots"]},__type__:{object:Fe,boolean:de}},__type__:{object:Fe}},manipulation:{enabled:{boolean:de},initiallyActive:{boolean:de},addNode:{boolean:de,function:"function"},addEdge:{boolean:de,function:"function"},editNode:{function:"function"},editEdge:{editWithoutDrag:{function:"function"},__type__:{object:Fe,boolean:de,function:"function"}},deleteNode:{boolean:de,function:"function"},deleteEdge:{boolean:de,function:"function"},controlNodeStyle:z6,__type__:{object:Fe,boolean:de}},nodes:z6,physics:{enabled:{boolean:de},barnesHut:{theta:{number:X},gravitationalConstant:{number:X},centralGravity:{number:X},springLength:{number:X},springConstant:{number:X},damping:{number:X},avoidOverlap:{number:X},__type__:{object:Fe}},forceAtlas2Based:{theta:{number:X},gravitationalConstant:{number:X},centralGravity:{number:X},springLength:{number:X},springConstant:{number:X},damping:{number:X},avoidOverlap:{number:X},__type__:{object:Fe}},repulsion:{centralGravity:{number:X},springLength:{number:X},springConstant:{number:X},nodeDistance:{number:X},damping:{number:X},__type__:{object:Fe}},hierarchicalRepulsion:{centralGravity:{number:X},springLength:{number:X},springConstant:{number:X},nodeDistance:{number:X},damping:{number:X},avoidOverlap:{number:X},__type__:{object:Fe}},maxVelocity:{number:X},minVelocity:{number:X},solver:{string:["barnesHut","repulsion","hierarchicalRepulsion","forceAtlas2Based"]},stabilization:{enabled:{boolean:de},iterations:{number:X},updateInterval:{number:X},onlyDynamicEdges:{boolean:de},fit:{boolean:de},__type__:{object:Fe,boolean:de}},timestep:{number:X},adaptiveTimestep:{boolean:de},wind:{x:{number:X},y:{number:X},__type__:{object:Fe}},__type__:{object:Fe,boolean:de}},autoResize:{boolean:de},clickToUse:{boolean:de},locale:{string:ye},locales:{__any__:{any:qxt},__type__:{object:Fe}},height:{string:ye},width:{string:ye},__type__:{object:Fe}},One={nodes:{borderWidth:[1,0,10,1],borderWidthSelected:[2,0,10,1],color:{border:["color","#2B7CE9"],background:["color","#97C2FC"],highlight:{border:["color","#2B7CE9"],background:["color","#D2E5FF"]},hover:{border:["color","#2B7CE9"],background:["color","#D2E5FF"]}},opacity:[0,0,1,.1],fixed:{x:!1,y:!1},font:{color:["color","#343434"],size:[14,0,100,1],face:["arial","verdana","tahoma"],background:["color","none"],strokeWidth:[0,0,50,1],strokeColor:["color","#ffffff"]},hidden:!1,labelHighlightBold:!0,physics:!0,scaling:{min:[10,0,200,1],max:[30,0,200,1],label:{enabled:!1,min:[14,0,200,1],max:[30,0,200,1],maxVisible:[30,0,200,1],drawThreshold:[5,0,20,1]}},shadow:{enabled:!1,color:"rgba(0,0,0,0.5)",size:[10,0,20,1],x:[5,-30,30,1],y:[5,-30,30,1]},shape:["ellipse","box","circle","database","diamond","dot","square","star","text","triangle","triangleDown","hexagon"],shapeProperties:{borderDashes:!1,borderRadius:[6,0,20,1],interpolation:!0,useImageSize:!1},size:[25,0,200,1]},edges:{arrows:{to:{enabled:!1,scaleFactor:[1,0,3,.05],type:"arrow"},middle:{enabled:!1,scaleFactor:[1,0,3,.05],type:"arrow"},from:{enabled:!1,scaleFactor:[1,0,3,.05],type:"arrow"}},endPointOffset:{from:[0,-10,10,1],to:[0,-10,10,1]},arrowStrikethrough:!0,color:{color:["color","#848484"],highlight:["color","#848484"],hover:["color","#848484"],inherit:["from","to","both",!0,!1],opacity:[1,0,1,.05]},dashes:!1,font:{color:["color","#343434"],size:[14,0,100,1],face:["arial","verdana","tahoma"],background:["color","none"],strokeWidth:[2,0,50,1],strokeColor:["color","#ffffff"],align:["horizontal","top","middle","bottom"]},hidden:!1,hoverWidth:[1.5,0,5,.1],labelHighlightBold:!0,physics:!0,scaling:{min:[1,0,100,1],max:[15,0,100,1],label:{enabled:!0,min:[14,0,200,1],max:[30,0,200,1],maxVisible:[30,0,200,1],drawThreshold:[5,0,20,1]}},selectionWidth:[1.5,0,5,.1],selfReferenceSize:[20,0,200,1],selfReference:{size:[20,0,200,1],angle:[Math.PI/2,-6*Math.PI,6*Math.PI,Math.PI/8],renderBehindTheNode:!0},shadow:{enabled:!1,color:"rgba(0,0,0,0.5)",size:[10,0,20,1],x:[5,-30,30,1],y:[5,-30,30,1]},smooth:{enabled:!0,type:["dynamic","continuous","discrete","diagonalCross","straightCross","horizontal","vertical","curvedCW","curvedCCW","cubicBezier"],forceDirection:["horizontal","vertical","none"],roundness:[.5,0,1,.05]},width:[1,0,30,1]},layout:{hierarchical:{enabled:!1,levelSeparation:[150,20,500,5],nodeSpacing:[100,20,500,5],treeSpacing:[200,20,500,5],blockShifting:!0,edgeMinimization:!0,parentCentralization:!0,direction:["UD","DU","LR","RL"],sortMethod:["hubsize","directed"],shakeTowards:["leaves","roots"]}},interaction:{dragNodes:!0,dragView:!0,hideEdgesOnDrag:!1,hideEdgesOnZoom:!1,hideNodesOnDrag:!1,hover:!1,keyboard:{enabled:!1,speed:{x:[10,0,40,1],y:[10,0,40,1],zoom:[.02,0,.1,.005]},bindToWindow:!0,autoFocus:!0},multiselect:!1,navigationButtons:!1,selectable:!0,selectConnectedEdges:!0,hoverConnectedEdges:!0,tooltipDelay:[300,0,1e3,25],zoomView:!0,zoomSpeed:[1,.1,2,.1]},manipulation:{enabled:!1,initiallyActive:!1},physics:{enabled:!0,barnesHut:{theta:[.5,.1,1,.05],gravitationalConstant:[-2e3,-3e4,0,50],centralGravity:[.3,0,10,.05],springLength:[95,0,500,5],springConstant:[.04,0,1.2,.005],damping:[.09,0,1,.01],avoidOverlap:[0,0,1,.01]},forceAtlas2Based:{theta:[.5,.1,1,.05],gravitationalConstant:[-50,-500,0,1],centralGravity:[.01,0,1,.005],springLength:[95,0,500,5],springConstant:[.08,0,1.2,.005],damping:[.4,0,1,.01],avoidOverlap:[0,0,1,.01]},repulsion:{centralGravity:[.2,0,10,.05],springLength:[200,0,500,5],springConstant:[.05,0,1.2,.005],nodeDistance:[100,0,500,5],damping:[.09,0,1,.01]},hierarchicalRepulsion:{centralGravity:[.2,0,10,.05],springLength:[100,0,500,5],springConstant:[.01,0,1.2,.005],nodeDistance:[120,0,500,5],damping:[.09,0,1,.01],avoidOverlap:[0,0,1,.01]},maxVelocity:[50,0,150,1],minVelocity:[.1,.01,.5,.01],solver:["barnesHut","forceAtlas2Based","repulsion","hierarchicalRepulsion"],timestep:[.5,.01,1,.01],wind:{x:[0,-10,10,.1],y:[0,-10,10,.1]}}},Jxt=function(r,e,n){var i;return!!(p1(r).call(r,"physics")&&p1(i=One.physics.solver).call(i,e)&&n.physics.solver!==e&&e!=="wind")},eHt=function(){function t(){we(this,t)}return $e(t,[{key:"getDistances",value:function(e,n,i){for(var o={},a=e.edges,s=0;s<n.length;s++){var l=n[s],c={};o[l]=c;for(var u=0;u<n.length;u++)c[n[u]]=s==u?0:1e9}for(var g=0;g<i.length;g++){var h=a[i[g]];h.connected===!0&&o[h.fromId]!==void 0&&o[h.toId]!==void 0&&(o[h.fromId][h.toId]=1,o[h.toId][h.fromId]=1)}for(var d=n.length,f=0;f<d;f++)for(var C=n[f],v=o[C],A=0;A<d-1;A++)for(var I=n[A],p=o[I],m=A+1;m<d;m++){var b=n[m],_=o[b],L=Math.min(p[b],p[C]+v[b]);p[b]=L,_[I]=L}return o}}]),t}(),tHt=function(){function t(r,e,n){we(this,t),this.body=r,this.springLength=e,this.springConstant=n,this.distanceSolver=new eHt}return $e(t,[{key:"setOptions",value:function(e){e&&(e.springLength&&(this.springLength=e.springLength),e.springConstant&&(this.springConstant=e.springConstant))}},{key:"solve",value:function(e,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,o=this.distanceSolver.getDistances(this.body,e,n);this._createL_matrix(o),this._createK_matrix(o),this._createE_matrix();for(var a=.01,s=1,l=0,c=Math.max(1e3,Math.min(10*this.body.nodeIndices.length,6e3)),u=5,g=1e9,h=0,d=0,f=0,C=0,v=0;g>a&&l<c;){l+=1;var A=this._getHighestEnergyNode(i),I=yr(A,4);for(h=I[0],g=I[1],d=I[2],f=I[3],C=g,v=0;C>s&&v<u;){v+=1,this._moveNode(h,d,f);var p=this._getEnergy(h),m=yr(p,3);C=m[0],d=m[1],f=m[2]}}}},{key:"_getHighestEnergyNode",value:function(e){for(var n=this.body.nodeIndices,i=this.body.nodes,o=0,a=n[0],s=0,l=0,c=0;c<n.length;c++){var u=n[c];if(i[u].predefinedPosition!==!0||i[u].isCluster===!0&&e===!0||i[u].options.fixed.x!==!0||i[u].options.fixed.y!==!0){var g=this._getEnergy(u),h=yr(g,3),d=h[0],f=h[1],C=h[2];o<d&&(o=d,a=u,s=f,l=C)}}return[a,o,s,l]}},{key:"_getEnergy",value:function(e){var n=yr(this.E_sums[e],2),i=n[0],o=n[1],a=Math.sqrt(Math.pow(i,2)+Math.pow(o,2));return[a,i,o]}},{key:"_moveNode",value:function(e,n,i){for(var o=this.body.nodeIndices,a=this.body.nodes,s=0,l=0,c=0,u=a[e].x,g=a[e].y,h=this.K_matrix[e],d=this.L_matrix[e],f=0;f<o.length;f++){var C=o[f];if(C!==e){var v=a[C].x,A=a[C].y,I=h[C],p=d[C],m=1/Math.pow(Math.pow(u-v,2)+Math.pow(g-A,2),1.5);s+=I*(1-p*Math.pow(g-A,2)*m),l+=I*(p*(u-v)*(g-A)*m),c+=I*(1-p*Math.pow(u-v,2)*m)}}var b=s,_=l,L=n,z=c,S=i,T=(L/b+S/_)/(_/b-z/_),k=-(_*T+L)/b;a[e].x+=k,a[e].y+=T,this._updateE_matrix(e)}},{key:"_createL_matrix",value:function(e){var n=this.body.nodeIndices,i=this.springLength;this.L_matrix=[];for(var o=0;o<n.length;o++){this.L_matrix[n[o]]={};for(var a=0;a<n.length;a++)this.L_matrix[n[o]][n[a]]=i*e[n[o]][n[a]]}}},{key:"_createK_matrix",value:function(e){var n=this.body.nodeIndices,i=this.springConstant;this.K_matrix=[];for(var o=0;o<n.length;o++){this.K_matrix[n[o]]={};for(var a=0;a<n.length;a++)this.K_matrix[n[o]][n[a]]=i*Math.pow(e[n[o]][n[a]],-2)}}},{key:"_createE_matrix",value:function(){var e=this.body.nodeIndices,n=this.body.nodes;this.E_matrix={},this.E_sums={};for(var i=0;i<e.length;i++)this.E_matrix[e[i]]=[];for(var o=0;o<e.length;o++){for(var a=e[o],s=n[a].x,l=n[a].y,c=0,u=0,g=o;g<e.length;g++){var h=e[g];if(h!==a){var d=n[h].x,f=n[h].y,C=1/Math.sqrt(Math.pow(s-d,2)+Math.pow(l-f,2));this.E_matrix[a][g]=[this.K_matrix[a][h]*(s-d-this.L_matrix[a][h]*(s-d)*C),this.K_matrix[a][h]*(l-f-this.L_matrix[a][h]*(l-f)*C)],this.E_matrix[h][o]=this.E_matrix[a][g],c+=this.E_matrix[a][g][0],u+=this.E_matrix[a][g][1]}}this.E_sums[a]=[c,u]}}},{key:"_updateE_matrix",value:function(e){for(var n=this.body.nodeIndices,i=this.body.nodes,o=this.E_matrix[e],a=this.K_matrix[e],s=this.L_matrix[e],l=i[e].x,c=i[e].y,u=0,g=0,h=0;h<n.length;h++){var d=n[h];if(d!==e){var f=o[h],C=f[0],v=f[1],A=i[d].x,I=i[d].y,p=1/Math.sqrt(Math.pow(l-A,2)+Math.pow(c-I,2)),m=a[d]*(l-A-s[d]*(l-A)*p),b=a[d]*(c-I-s[d]*(c-I)*p);o[h]=[m,b],u+=m,g+=b;var _=this.E_sums[d];_[0]+=m-C,_[1]+=b-v}}this.E_sums[e]=[u,g]}}]),t}();function Pe(t,r,e){var n,i,o,a,s=this;if(!(this instanceof Pe))throw new SyntaxError("Constructor must be called with the new operator");this.options={},this.defaultOptions={locale:"en",locales:Q_t,clickToUse:!1},Wr(this.options,this.defaultOptions),this.body={container:t,nodes:{},nodeIndices:[],edges:{},edgeIndices:[],emitter:{on:Ae(n=this.on).call(n,this),off:Ae(i=this.off).call(i,this),emit:Ae(o=this.emit).call(o,this),once:Ae(a=this.once).call(a,this)},eventListeners:{onTap:function(){},onTouch:function(){},onDoubleTap:function(){},onHold:function(){},onDragStart:function(){},onDrag:function(){},onDragEnd:function(){},onMouseWheel:function(){},onPinch:function(){},onMouseMove:function(){},onRelease:function(){},onContext:function(){}},data:{nodes:null,edges:null},functions:{createNode:function(){},createEdge:function(){},getPointer:function(){}},modules:{},view:{scale:1,translation:{x:0,y:0}},selectionBox:{show:!1,position:{start:{x:0,y:0},end:{x:0,y:0}}}},this.bindEventListeners(),this.images=new tMt(function(){return s.body.emitter.emit("_requestRedraw")}),this.groups=new Izt,this.canvas=new Hkt(this.body),this.selectionHandler=new _Ot(this.body,this.canvas),this.interactionHandler=new Bkt(this.body,this.canvas,this.selectionHandler),this.view=new Pkt(this.body,this.canvas),this.renderer=new Tkt(this.body,this.canvas),this.physics=new mkt(this.body),this.layoutEngine=new Zxt(this.body),this.clustering=new Ekt(this.body),this.manipulation=new Xxt(this.body,this.canvas,this.selectionHandler,this.interactionHandler),this.nodesHandler=new nLt(this.body,this.images,this.groups,this.layoutEngine),this.edgesHandler=new ukt(this.body,this.images,this.groups),this.body.modules.kamadaKawai=new tHt(this.body,150,.05),this.body.modules.clustering=this.clustering,this.canvas._create(),this.setOptions(e),this.setData(r)}kee(Pe.prototype);Pe.prototype.setOptions=function(t){var r=this;if(t===null&&(t=void 0),t!==void 0){var e=S_t.validate(t,Qxt);e===!0&&console.error("%cErrors have been found in the supplied options object.",Hre);var n=["locale","locales","clickToUse"];if(Bg(n,this.options,t),t.locale!==void 0&&(t.locale=J_t(t.locales||this.options.locales,t.locale)),t=this.layoutEngine.setOptions(t.layout,t),this.canvas.setOptions(t),this.groups.setOptions(t.groups),this.nodesHandler.setOptions(t.nodes),this.edgesHandler.setOptions(t.edges),this.physics.setOptions(t.physics),this.manipulation.setOptions(t.manipulation,t,this.options),this.interactionHandler.setOptions(t.interaction),this.renderer.setOptions(t.interaction),this.selectionHandler.setOptions(t.interaction),t.groups!==void 0&&this.body.emitter.emit("refreshNodes"),"configure"in t&&(this.configurator||(this.configurator=new z_t(this,this.body.container,One,this.canvas.pixelRatio,Jxt)),this.configurator.setOptions(t.configure)),this.configurator&&this.configurator.options.enabled===!0){var i={nodes:{},edges:{},layout:{},interaction:{},manipulation:{},physics:{},global:{}};rr(i.nodes,this.nodesHandler.options),rr(i.edges,this.edgesHandler.options),rr(i.layout,this.layoutEngine.options),rr(i.interaction,this.selectionHandler.options),rr(i.interaction,this.renderer.options),rr(i.interaction,this.interactionHandler.options),rr(i.manipulation,this.manipulation.options),rr(i.physics,this.physics.options),rr(i.global,this.canvas.options),rr(i.global,this.options),this.configurator.setModuleOptions(i)}t.clickToUse!==void 0?t.clickToUse===!0?this.activator===void 0&&(this.activator=new M_t(this.canvas.frame),this.activator.on("change",function(){r.body.emitter.emit("activate")})):(this.activator!==void 0&&(this.activator.destroy(),delete this.activator),this.body.emitter.emit("activate")):this.body.emitter.emit("activate"),this.canvas.setSize(),this.body.emitter.emit("startSimulation")}};Pe.prototype._updateVisibleIndices=function(){var t=this.body.nodes,r=this.body.edges;this.body.nodeIndices=[],this.body.edgeIndices=[];for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&!this.clustering._isClusteredNode(e)&&t[e].options.hidden===!1&&this.body.nodeIndices.push(t[e].id);for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)){var i=r[n],o=t[i.fromId],a=t[i.toId],s=o!==void 0&&a!==void 0,l=!this.clustering._isClusteredEdge(n)&&i.options.hidden===!1&&s&&o.options.hidden===!1&&a.options.hidden===!1;l&&this.body.edgeIndices.push(i.id)}};Pe.prototype.bindEventListeners=function(){var t=this;this.body.emitter.on("_dataChanged",function(){t.edgesHandler._updateState(),t.body.emitter.emit("_dataUpdated")}),this.body.emitter.on("_dataUpdated",function(){t.clustering._updateState(),t._updateVisibleIndices(),t._updateValueRange(t.body.nodes),t._updateValueRange(t.body.edges),t.body.emitter.emit("startSimulation"),t.body.emitter.emit("_requestRedraw")})};Pe.prototype.setData=function(t){if(this.body.emitter.emit("resetPhysics"),this.body.emitter.emit("_resetData"),this.selectionHandler.unselectAll(),t&&t.dot&&(t.nodes||t.edges))throw new SyntaxError('Data must contain either parameter "dot" or parameter pair "nodes" and "edges", but not both.');if(this.setOptions(t&&t.options),t&&t.dot){console.warn("The dot property has been deprecated. Please use the static convertDot method to convert DOT into vis.network format and use the normal data format with nodes and edges. This converter is used like this: var data = vis.network.convertDot(dotString);");var r=D_t(t.dot);this.setData(r);return}else if(t&&t.gephi){console.warn("The gephi property has been deprecated. Please use the static convertGephi method to convert gephi into vis.network format and use the normal data format with nodes and edges. This converter is used like this: var data = vis.network.convertGephi(gephiJson);");var e=N_t(t.gephi);this.setData(e);return}else this.nodesHandler.setData(t&&t.nodes,!0),this.edgesHandler.setData(t&&t.edges,!0);this.body.emitter.emit("_dataChanged"),this.body.emitter.emit("_dataLoaded"),this.body.emitter.emit("initPhysics")};Pe.prototype.destroy=function(){this.body.emitter.emit("destroy"),this.body.emitter.off(),this.off(),delete this.groups,delete this.canvas,delete this.selectionHandler,delete this.interactionHandler,delete this.view,delete this.renderer,delete this.physics,delete this.layoutEngine,delete this.clustering,delete this.manipulation,delete this.nodesHandler,delete this.edgesHandler,delete this.configurator,delete this.images;for(var t in this.body.nodes)Object.prototype.hasOwnProperty.call(this.body.nodes,t)&&delete this.body.nodes[t];for(var r in this.body.edges)Object.prototype.hasOwnProperty.call(this.body.edges,r)&&delete this.body.edges[r];Ys(this.body.container)};Pe.prototype._updateValueRange=function(t){var r,e=void 0,n=void 0,i=0;for(r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var o=t[r].getValue();o!==void 0&&(e=e===void 0?o:Math.min(o,e),n=n===void 0?o:Math.max(o,n),i+=o)}if(e!==void 0&&n!==void 0)for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&t[r].setValueRange(e,n,i)};Pe.prototype.isActive=function(){return!this.activator||this.activator.active};Pe.prototype.setSize=function(){return this.canvas.setSize.apply(this.canvas,arguments)};Pe.prototype.canvasToDOM=function(){return this.canvas.canvasToDOM.apply(this.canvas,arguments)};Pe.prototype.DOMtoCanvas=function(){return this.canvas.DOMtoCanvas.apply(this.canvas,arguments)};Pe.prototype.findNode=function(){return this.clustering.findNode.apply(this.clustering,arguments)};Pe.prototype.isCluster=function(){return this.clustering.isCluster.apply(this.clustering,arguments)};Pe.prototype.openCluster=function(){return this.clustering.openCluster.apply(this.clustering,arguments)};Pe.prototype.cluster=function(){return this.clustering.cluster.apply(this.clustering,arguments)};Pe.prototype.getNodesInCluster=function(){return this.clustering.getNodesInCluster.apply(this.clustering,arguments)};Pe.prototype.clusterByConnection=function(){return this.clustering.clusterByConnection.apply(this.clustering,arguments)};Pe.prototype.clusterByHubsize=function(){return this.clustering.clusterByHubsize.apply(this.clustering,arguments)};Pe.prototype.updateClusteredNode=function(){return this.clustering.updateClusteredNode.apply(this.clustering,arguments)};Pe.prototype.getClusteredEdges=function(){return this.clustering.getClusteredEdges.apply(this.clustering,arguments)};Pe.prototype.getBaseEdge=function(){return this.clustering.getBaseEdge.apply(this.clustering,arguments)};Pe.prototype.getBaseEdges=function(){return this.clustering.getBaseEdges.apply(this.clustering,arguments)};Pe.prototype.updateEdge=function(){return this.clustering.updateEdge.apply(this.clustering,arguments)};Pe.prototype.clusterOutliers=function(){return this.clustering.clusterOutliers.apply(this.clustering,arguments)};Pe.prototype.getSeed=function(){return this.layoutEngine.getSeed.apply(this.layoutEngine,arguments)};Pe.prototype.enableEditMode=function(){return this.manipulation.enableEditMode.apply(this.manipulation,arguments)};Pe.prototype.disableEditMode=function(){return this.manipulation.disableEditMode.apply(this.manipulation,arguments)};Pe.prototype.addNodeMode=function(){return this.manipulation.addNodeMode.apply(this.manipulation,arguments)};Pe.prototype.editNode=function(){return this.manipulation.editNode.apply(this.manipulation,arguments)};Pe.prototype.editNodeMode=function(){return console.warn("Deprecated: Please use editNode instead of editNodeMode."),this.manipulation.editNode.apply(this.manipulation,arguments)};Pe.prototype.addEdgeMode=function(){return this.manipulation.addEdgeMode.apply(this.manipulation,arguments)};Pe.prototype.editEdgeMode=function(){return this.manipulation.editEdgeMode.apply(this.manipulation,arguments)};Pe.prototype.deleteSelected=function(){return this.manipulation.deleteSelected.apply(this.manipulation,arguments)};Pe.prototype.getPositions=function(){return this.nodesHandler.getPositions.apply(this.nodesHandler,arguments)};Pe.prototype.getPosition=function(){return this.nodesHandler.getPosition.apply(this.nodesHandler,arguments)};Pe.prototype.storePositions=function(){return this.nodesHandler.storePositions.apply(this.nodesHandler,arguments)};Pe.prototype.moveNode=function(){return this.nodesHandler.moveNode.apply(this.nodesHandler,arguments)};Pe.prototype.getBoundingBox=function(){return this.nodesHandler.getBoundingBox.apply(this.nodesHandler,arguments)};Pe.prototype.getConnectedNodes=function(t){return this.body.nodes[t]!==void 0?this.nodesHandler.getConnectedNodes.apply(this.nodesHandler,arguments):this.edgesHandler.getConnectedNodes.apply(this.edgesHandler,arguments)};Pe.prototype.getConnectedEdges=function(){return this.nodesHandler.getConnectedEdges.apply(this.nodesHandler,arguments)};Pe.prototype.startSimulation=function(){return this.physics.startSimulation.apply(this.physics,arguments)};Pe.prototype.stopSimulation=function(){return this.physics.stopSimulation.apply(this.physics,arguments)};Pe.prototype.stabilize=function(){return this.physics.stabilize.apply(this.physics,arguments)};Pe.prototype.getSelection=function(){return this.selectionHandler.getSelection.apply(this.selectionHandler,arguments)};Pe.prototype.setSelection=function(){return this.selectionHandler.setSelection.apply(this.selectionHandler,arguments)};Pe.prototype.getSelectedNodes=function(){return this.selectionHandler.getSelectedNodeIds.apply(this.selectionHandler,arguments)};Pe.prototype.getSelectedEdges=function(){return this.selectionHandler.getSelectedEdgeIds.apply(this.selectionHandler,arguments)};Pe.prototype.getNodeAt=function(){var t=this.selectionHandler.getNodeAt.apply(this.selectionHandler,arguments);return t!==void 0&&t.id!==void 0?t.id:t};Pe.prototype.getEdgeAt=function(){var t=this.selectionHandler.getEdgeAt.apply(this.selectionHandler,arguments);return t!==void 0&&t.id!==void 0?t.id:t};Pe.prototype.selectNodes=function(){return this.selectionHandler.selectNodes.apply(this.selectionHandler,arguments)};Pe.prototype.selectEdges=function(){return this.selectionHandler.selectEdges.apply(this.selectionHandler,arguments)};Pe.prototype.unselectAll=function(){this.selectionHandler.unselectAll.apply(this.selectionHandler,arguments),this.selectionHandler.commitWithoutEmitting.apply(this.selectionHandler),this.redraw()};Pe.prototype.redraw=function(){return this.renderer.redraw.apply(this.renderer,arguments)};Pe.prototype.getScale=function(){return this.view.getScale.apply(this.view,arguments)};Pe.prototype.getViewPosition=function(){return this.view.getViewPosition.apply(this.view,arguments)};Pe.prototype.fit=function(){return this.view.fit.apply(this.view,arguments)};Pe.prototype.moveTo=function(){return this.view.moveTo.apply(this.view,arguments)};Pe.prototype.focus=function(){return this.view.focus.apply(this.view,arguments)};Pe.prototype.releaseNode=function(){return this.view.releaseNode.apply(this.view,arguments)};Pe.prototype.getOptionsFromConfigurator=function(){var t={};return this.configurator&&(t=this.configurator.getOptions.apply(this.configurator)),t};const rHt={flex:"~ col",relative:"","h-full":"","of-hidden":"","panel-grids":"",class:"graph-body"},nHt=ce({__name:"graph",setup(t){async function r(){const s=await Mo.value.getRoot().then(l=>l);Mo.value.getGraphModules().then(l=>{GKe(l,s)})}function e(){r()}hj(()=>{r(),Mo.functions.on("graphModuleUpdated",e)});const n=G(),i=Bi();function o(){const s=n.value,l=i.value=new Pe(s,{nodes:Mu,edges:zu},fx.value);Je(fx,c=>{l.setOptions(c)},{immediate:!0}),l.on("selectNode",c=>{KKe(c.nodes[0]),x7(!0)}),l.on("deselectNode",()=>{x7(!1)}),Je(()=>Su.value,c=>{c&&l.moveTo({position:{x:0,y:0}})})}Ii(()=>{o()}),fn(()=>{FKe(),i.value?.destroy(),Mo.functions.off("graphModuleUpdated",e)});const a=G();return(s,l)=>{const c=cYe,u=sYe,g=aYe;return M(),x("div",rHt,[D(c,{ref_key:"navbarRef",ref:a},null,512),w("div",{ref_key:"container",ref:n,class:"absolute h-full w-full"},null,512),D(u),D(g,{top:y(a)},null,8,["top"])])}}}),iHt={},oHt={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function aHt(t,r){return M(),x("svg",oHt,r[0]||(r[0]=[oF('<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 198" width="128" height="128"><path fill="#41B883" d="M204.8 0H256L128 220.8L0 0h97.92L128 51.2L157.44 0h47.36Z"></path><path fill="#41B883" d="m0 0l128 220.8L256 0h-51.2L128 132.48L50.56 0H0Z"></path><path fill="#35495E" d="M50.56 0L128 133.12L204.8 0h-47.36L128 51.2L97.92 0H50.56Z"></path></svg><path d="M152.571 118V46.1333H176.8C183.576 46.1333 189.77 47.468 195.383 50.1373C200.995 52.8067 205.478 56.8449 208.832 62.252C212.186 67.5907 213.863 74.1956 213.863 82.0667C213.863 89.8693 212.186 96.4742 208.832 101.881C205.478 107.288 200.995 111.327 195.383 113.996C189.77 116.665 183.576 118 176.8 118H152.571ZM175.157 104.653C181.796 104.653 187.306 102.874 191.687 99.3147C196.067 95.6871 198.257 89.9378 198.257 82.0667C198.257 74.1956 196.067 68.4462 191.687 64.8187C187.306 61.1911 181.796 59.3773 175.157 59.3773H167.971V104.653H175.157ZM270.18 100.444C269.153 105.988 266.381 110.437 261.864 113.791C257.347 117.144 251.905 118.821 245.54 118.821C239.928 118.821 235.102 117.555 231.064 115.023C227.094 112.422 224.083 109.068 222.029 104.961C219.976 100.855 218.949 96.5427 218.949 92.0253C218.949 87.4396 219.873 83.1276 221.721 79.0893C223.638 75.0511 226.513 71.7658 230.345 69.2333C234.247 66.7009 238.969 65.4347 244.513 65.4347C250.263 65.4347 255.054 66.6667 258.887 69.1307C262.72 71.5947 265.526 74.7431 267.305 78.576C269.153 82.4089 270.077 86.4471 270.077 90.6907C270.077 92.2649 270.009 93.8049 269.872 95.3107H232.707C233.254 99.0067 234.623 101.916 236.813 104.037C239.072 106.091 241.981 107.117 245.54 107.117C248.415 107.117 250.776 106.57 252.624 105.475C254.472 104.311 255.67 102.634 256.217 100.444H270.18ZM244.513 75.9067C241.228 75.9067 238.627 76.7622 236.711 78.4733C234.794 80.116 233.528 82.7169 232.912 86.276H255.807C255.601 83.2644 254.506 80.8004 252.521 78.884C250.537 76.8991 247.867 75.9067 244.513 75.9067ZM302.77 118H289.629L270.738 66.256H285.317L296.2 99.7253L306.98 66.256H321.661L302.77 118ZM359.731 118H344.331V59.3773H323.079V46.1333H380.983V59.3773H359.731V118ZM402.364 118.821C397.163 118.821 392.474 117.692 388.299 115.433C384.124 113.106 380.873 109.924 378.546 105.885C376.219 101.779 375.055 97.1929 375.055 92.128C375.055 87.0631 376.219 82.5116 378.546 78.4733C380.873 74.3667 384.124 71.184 388.299 68.9253C392.474 66.5982 397.163 65.4347 402.364 65.4347C407.566 65.4347 412.255 66.5982 416.43 68.9253C420.605 71.184 423.856 74.3667 426.183 78.4733C428.51 82.5116 429.674 87.0631 429.674 92.128C429.674 97.1929 428.51 101.779 426.183 105.885C423.856 109.924 420.605 113.106 416.43 115.433C412.255 117.692 407.566 118.821 402.364 118.821ZM402.364 106.501C406.197 106.501 409.311 105.167 411.707 102.497C414.103 99.828 415.3 96.3716 415.3 92.128C415.3 87.816 414.103 84.3253 411.707 81.656C409.311 78.9867 406.197 77.652 402.364 77.652C398.531 77.652 395.417 78.9867 393.022 81.656C390.626 84.3253 389.428 87.816 389.428 92.128C389.428 96.3716 390.626 99.828 393.022 102.497C395.417 105.167 398.531 106.501 402.364 106.501ZM462.12 118.821C456.918 118.821 452.229 117.692 448.054 115.433C443.879 113.106 440.628 109.924 438.301 105.885C435.974 101.779 434.81 97.1929 434.81 92.128C434.81 87.0631 435.974 82.5116 438.301 78.4733C440.628 74.3667 443.879 71.184 448.054 68.9253C452.229 66.5982 456.918 65.4347 462.12 65.4347C467.321 65.4347 472.01 66.5982 476.185 68.9253C480.36 71.184 483.611 74.3667 485.938 78.4733C488.265 82.5116 489.429 87.0631 489.429 92.128C489.429 97.1929 488.265 101.779 485.938 105.885C483.611 109.924 480.36 113.106 476.185 115.433C472.01 117.692 467.321 118.821 462.12 118.821ZM462.12 106.501C465.952 106.501 469.067 105.167 471.462 102.497C473.858 99.828 475.056 96.3716 475.056 92.128C475.056 87.816 473.858 84.3253 471.462 81.656C469.067 78.9867 465.952 77.652 462.12 77.652C458.287 77.652 455.172 78.9867 452.777 81.656C450.381 84.3253 449.184 87.816 449.184 92.128C449.184 96.3716 450.381 99.828 452.777 102.497C455.172 105.167 458.287 106.501 462.12 106.501ZM512.327 118H498.056V43.772H512.327V118ZM542.494 118.821C536.129 118.821 530.961 117.179 526.991 113.893C523.09 110.54 521.002 106.091 520.729 100.547H533.049C533.322 102.874 534.281 104.722 535.923 106.091C537.634 107.391 539.825 108.041 542.494 108.041C544.684 108.041 546.464 107.562 547.833 106.604C549.27 105.646 549.989 104.448 549.989 103.011C549.989 101.094 549.167 99.7596 547.525 99.0067C545.882 98.2538 543.281 97.5693 539.722 96.9533C536.026 96.2689 533.014 95.516 530.687 94.6947C528.36 93.8733 526.341 92.4018 524.63 90.28C522.987 88.0898 522.166 85.0098 522.166 81.04C522.166 78.0284 522.953 75.3591 524.527 73.032C526.17 70.6364 528.394 68.7884 531.201 67.488C534.007 66.1191 537.155 65.4347 540.646 65.4347C546.874 65.4347 551.905 66.9747 555.738 70.0547C559.639 73.1347 561.727 77.2071 562.001 82.272H549.578C549.304 80.1502 548.312 78.5076 546.601 77.344C544.958 76.112 543.11 75.496 541.057 75.496C539.003 75.496 537.361 75.9409 536.129 76.8307C534.897 77.7204 534.281 78.9524 534.281 80.5267C534.281 82.4431 535.068 83.7436 536.642 84.428C538.285 85.044 540.851 85.5916 544.342 86.0707C548.106 86.6182 551.186 87.3027 553.582 88.124C556.046 88.8769 558.168 90.3827 559.947 92.6413C561.727 94.9 562.617 98.1853 562.617 102.497C562.617 107.425 560.769 111.395 557.073 114.407C553.445 117.35 548.585 118.821 542.494 118.821Z" fill="currentColor"></path>',2)]))}const xne=fI(iHt,[["render",aHt]]);function lM(){return af?"electron":ma?"chrome":RN?"iframe":"separate-window"}const sHt={key:0,flex:"~ col gap3",relative:"","h-screen":"","w-full":"","items-center":"","justify-center":"","text-center":""},lHt={key:1,flex:"~ col gap3",relative:"","h-screen":"","w-full":"","items-center":"","justify-center":"","text-center":""},cHt={"max-w-190":"","text-lg":""},uHt=ce({__name:"index",setup(t){const r=lM(),e=Ac(),n=dr;function i(){n.value.isFirstVisit=!1,e.replace("/overview")}return(o,a)=>{const s=xne;return y(r)==="chrome"?(M(),x("div",sHt,[a[1]||(a[1]=w("p",{my2:"","text-3em":"","text-primary-600":"","font-bold":"","font-stylish":""}," 👋 Welcome to the new Vue Devtools v7! ",-1)),a[2]||(a[2]=w("p",{"max-w-190":"","text-lg":""},[_e(" This new version supports only Vue 3. "),w("span",{op50:""},[_e(" (Learn more at "),w("a",{href:"https://devtools.vuejs.org/",target:"_blank",rel:"noopener noreferrer",n:"primary"}," devtools.vuejs.org "),_e(") ")]),w("br"),_e(" The legacy version that supports both Vue 2 and Vue 3 has been moved to "),w("a",{href:"https://chromewebstore.google.com/detail/vuejs-devtools/iaajmlceplecbljialhhkmedjlpdblhp",target:"_blank",class:"op50"},"here"),_e(". ")],-1)),D(y(ct),{type:"primary",onClick:i},{default:W(()=>a[0]||(a[0]=[w("span",null,"Get Started",-1)])),_:1})])):(M(),x("div",lHt,[a[6]||(a[6]=w("p",{my2:"","text-3em":"","text-primary-600":"","font-bold":"","font-stylish":""}," 👋 Hi there, welcome to Vue DevTools! ",-1)),w("p",cHt,[D(s,{"mr-0.5":"","inline-block":"","h-8":"","translate-y--1.1":"","align-mid":""}),a[3]||(a[3]=_e(" is a set of visual tools that help you to know your Vue app better, and enhance your development experience with Vue. Enjoy!")),a[4]||(a[4]=w("br",null,null,-1))]),a[7]||(a[7]=w("p",{mb6:"",op50:""},[_e(" Learn more at "),w("a",{href:"https://devtools.vuejs.org/",target:"_blank",rel:"noopener noreferrer",n:"primary"}," devtools.vuejs.org ")],-1)),D(y(ct),{type:"primary",onClick:i},{default:W(()=>a[5]||(a[5]=[w("span",null,"Get Started",-1)])),_:1})]))}}}),gHt="7.6.1",hHt={"h-full":"","w-full":"",flex:"","of-auto":""},dHt={flex:"~ col gap2",ma:"","h-full":"","max-w-300":"","w-full":"",px20:""},fHt={flex:"~ col","mt-20":"","items-center":""},CHt={flex:"~","mt--10":"","items-center":"","justify-center":""},vHt={key:0,mb6:"","mt--1":"","text-center":"","text-sm":"",flex:"~ gap-1"},AHt={op40:""},IHt={flex:"~ gap2 wrap"},pHt={p4:"","theme-card-green":"",flex:"~ col auto"},mHt={flex:"~ gap-6 wrap","mt-5":"","items-center":"","justify-center":""},yHt={flex:"~ gap-1","cursor-default":"","items-center":"","justify-center":"","pb-2":"","text-sm":"",op40:""},bHt={key:0,flex:"~ gap-1","cursor-default":"","items-center":"","justify-center":"","pb-8":"","text-sm":"",op40:""},wHt=ce({__name:"overview",setup(t){const{vueVersion:r}=Fi(),e=G(1),n=G(0);function i(s){let l=0;for(const c of s)l++,c.children?.length&&(l+=i(c.children));return l}function o(s){e.value=s?.routes?.length||1}function a(s){const l=Qr(s);l.inspectorId==="components"&&(n.value=i(l.rootNodes))}return Hb(()=>{Ce.value.getRouterInfo().then(s=>{e.value=s?.routes?.length||1}),Ce.functions.on(Ft.ROUTER_INFO_UPDATED,o),Ce.value.getInspectorTree({inspectorId:"components",filter:""}).then(s=>{const l=Qr(s);n.value=i(l)})}),Ce.functions.on(Ft.INSPECTOR_TREE_UPDATED,a),fn(()=>{Ce.functions.off(Ft.INSPECTOR_TREE_UPDATED,a),Ce.functions.off(Ft.ROUTER_INFO_UPDATED,o)}),(s,l)=>{const c=xne,u=Po("RouterLink");return M(),x("div",hHt,[w("div",dHt,[l[29]||(l[29]=w("div",{"flex-auto":""},null,-1)),w("div",fHt,[w("div",CHt,[D(c,{"h-18":""})]),y(ma)?ne("",!0):(M(),x("div",vHt,[l[0]||(l[0]=w("span",{op40:""}," Vue DevTools ",-1)),w("code",AHt,"v"+ze(y(gHt)),1)]))]),w("div",IHt,[w("div",pHt,[l[1]||(l[1]=w("div",{"i-logos-vue":"","text-3xl":""},null,-1)),w("code",null,"v"+ze(y(r)),1)]),D(u,{flex:"~ col auto",to:"/pages",replace:"","min-w-40":"",p4:"","theme-card-lime":""},{default:W(()=>[l[2]||(l[2]=w("div",{"i-carbon-tree-view-alt":"","text-3xl":""},null,-1)),w("div",null,ze(y(e))+" pages",1)]),_:1}),y(n)?(M(),ie(u,{key:0,flex:"~ col auto",to:"/components",replace:"","min-w-40":"",p4:"","theme-card-lime":""},{default:W(()=>[l[3]||(l[3]=w("div",{"i-carbon-assembly-cluster":"","text-3xl":""},null,-1)),w("div",null,ze(y(n))+" components",1)]),_:1})):ne("",!0)]),w("div",mHt,[l[5]||(l[5]=w("a",{href:"https://github.com/vuejs/devtools",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-blue",transition:""},[w("div",{"i-carbon-star":""}),_e(" Star on GitHub ")],-1)),l[6]||(l[6]=w("a",{href:"https://github.com/vuejs/devtools/discussions/111",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-yellow",transition:""},[w("div",{"i-carbon-data-enrichment":""}),_e(" Ideas & Suggestions ")],-1)),l[7]||(l[7]=w("a",{href:"https://github.com/vuejs/devtools/discussions/112",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-lime",transition:""},[w("div",{"i-carbon-plan":""}),_e(" Project Roadmap ")],-1)),l[8]||(l[8]=w("a",{href:"https://github.com/vuejs/devtools/issues",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-rose",transition:""},[w("div",{"i-carbon-debug":""}),_e(" Bug Reports ")],-1)),D(u,{to:"/settings",flex:"~ gap1",replace:"","inline-block":"","items-center":"",op50:"","hover:op80":""},{default:W(()=>l[4]||(l[4]=[w("div",{"i-carbon-settings":""},null,-1),_e(" Settings ")])),_:1})]),l[30]||(l[30]=w("div",{"flex-auto":""},null,-1)),w("div",yHt,[l[15]||(l[15]=_e(" Press ")),y(dM)()?(M(),x(Se,{key:0},[D(y(ct),null,{default:W(()=>l[9]||(l[9]=[_e(" ⌘ Command ")])),_:1}),l[11]||(l[11]=w("span",null,"+",-1)),D(y(ct),null,{default:W(()=>l[10]||(l[10]=[_e(" K ")])),_:1})],64)):(M(),x(Se,{key:1},[D(y(ct),null,{default:W(()=>l[12]||(l[12]=[_e(" Alt ")])),_:1}),l[14]||(l[14]=w("span",null,"+",-1)),D(y(ct),null,{default:W(()=>l[13]||(l[13]=[_e(" K ")])),_:1})],64)),l[16]||(l[16]=_e(" to toggle Command Palette "))]),!y(af)&&!y(ma)?(M(),x("div",bHt,[l[27]||(l[27]=_e(" Press ")),y(dM)()?(M(),x(Se,{key:0},[D(y(ct),null,{default:W(()=>l[17]||(l[17]=[_e(" ⇧ Shift ")])),_:1}),l[20]||(l[20]=w("span",null,"+",-1)),D(y(ct),null,{default:W(()=>l[18]||(l[18]=[_e(" ⌥ Option ")])),_:1}),l[21]||(l[21]=w("span",null,"+",-1)),D(y(ct),null,{default:W(()=>l[19]||(l[19]=[_e(" D ")])),_:1})],64)):(M(),x(Se,{key:1},[D(y(ct),null,{default:W(()=>l[22]||(l[22]=[_e(" Shift ")])),_:1}),l[25]||(l[25]=w("span",null,"+",-1)),D(y(ct),null,{default:W(()=>l[23]||(l[23]=[_e(" Alt ")])),_:1}),l[26]||(l[26]=w("span",null,"+",-1)),D(y(ct),null,{default:W(()=>l[24]||(l[24]=[_e(" D ")])),_:1})],64)),l[28]||(l[28]=_e(" to toggle DevTools "))])):ne("",!0)])])}}}),$Ht={"p-2":""},_Ht={class:"flex items-center justify-between"},MHt=ce({__name:"RouteMetaDetail",props:{meta:{}},emits:["close"],setup(t){return(r,e)=>(M(),x("div",$Ht,[w("div",_Ht,[e[1]||(e[1]=w("span",{class:"font-500"},"Route meta detail",-1)),w("div",{class:"i-carbon-close cursor-pointer p1 $ui-text",onClick:e[0]||(e[0]=n=>r.$emit("close"))})]),D(y(lw),{code:JSON.stringify(r.meta,null,2),lang:"json",lines:""},null,8,["code"])]))}}),zHt={block:"","cursor-pointer":""},EHt={p2:""},SHt=["onSubmit"],THt={flex:"~","items-center":"",p2:"","text-sm":"","font-mono":""},LHt={key:1},kHt=ce({__name:"RoutePathItem",props:{route:{}},emits:["navigate"],setup(t,{emit:r}){const e=t,n=r;function i(u){return u.split(/(:\w+[?*+]?(?:\([^)]*\))?[?*+]?)/).filter(Boolean)}const o=G([]),a=F(()=>i(e.route.path));gn(()=>{o.value=Array.from({length:a.value.length},()=>"")});const s=F(()=>a.value.map((u,g)=>u[0]===":"?o.value[g]:u).join("").replace(/\/+/g,"/")),l=F(()=>e.route.path.includes(":"));function c(){n("navigate",s.value)}return(u,g)=>y(l)?(M(),ie(y(vu),{key:1},{popper:W(({hide:h})=>[w("div",EHt,[w("form",{flex:"~ col",onSubmit:Wn(()=>{c(),h()},["prevent"])},[y(l)?(M(),x(Se,{key:0},[g[0]||(g[0]=w("div",{px2:"","text-sm":"",op50:""}," Fill params and navigate: ",-1)),w("div",THt,[(M(!0),x(Se,null,It(y(a),(d,f)=>(M(),x(Se,{key:f},[d[0]===":"?(M(),ie(y(ss),{key:0,modelValue:y(o)[f],"onUpdate:modelValue":C=>y(o)[f]=C,"n-sm":"","w-20":"",placeholder:d.slice(1)},null,8,["modelValue","onUpdate:modelValue","placeholder"])):(M(),x("span",LHt,ze(d),1))],64))),128))])],64)):ne("",!0),D(y(ct),{block:"",type:"primary"},{default:W(()=>g[1]||(g[1]=[_e(" Navigate ")])),_:1})],40,SHt)])]),default:W(()=>[w("code",zHt,[(M(!0),x(Se,null,It(y(a),(h,d)=>(M(),x("span",{key:d,class:Te(h[0]===":"?"text-gray border border-dashed rounded border-gray:50 px1":"")},ze(h[0]===":"?h.slice(1):h),3))),128))])]),_:1})):(M(),x("button",{key:0,onClick:c},[w("code",null,ze(u.route.path),1)]))}}),OHt={"w-full":""},xHt={border:"b base","px-3":""},HHt={key:0,"text-left":""},VHt={"w-20":"","pr-1":""},PHt={flex:"","items-center":"","justify-end":""},RHt={"text-sm":""},DHt={flex:"inline gap3","items-center":""},NHt={op0:"","group-hover:op100":"",flex:"~ gap1"},BHt=["onClick"],FHt={"w-0":"","ws-nowrap":"","pr-1":"","text-left":"","text-sm":"","font-mono":"",op50:""},jHt={key:0,"w-50":"","ws-nowrap":"","pr-1":"","text-left":"","text-sm":"","font-mono":"",op50:"",hover:"text-primary op100"},UHt=["title","onClick"],GHt=ce({__name:"RoutesTable",props:{pages:{},matched:{},matchedPending:{}},emits:["navigate","selectMeta"],setup(t){const r=t,e=F(()=>[...r.pages].sort((s,l)=>s.path.localeCompare(l.path))),n=F(()=>iI.value),i=Fi();function o(s,l=0){const c=JSON.stringify(s,null,l);return c==="{}"?"-":c}const a=F(()=>e.value.some(s=>Object.keys(s.meta)?.length));return(s,l)=>{const c=kHt;return M(),x("div",null,[w("table",OHt,[w("thead",xHt,[w("tr",null,[l[1]||(l[1]=w("th",{"text-left":""},null,-1)),l[2]||(l[2]=w("th",{"text-left":""}," Route Path ",-1)),l[3]||(l[3]=w("th",{"text-left":""}," Name ",-1)),y(a)?(M(),x("th",HHt," Route Meta ")):ne("",!0)])]),w("tbody",null,[(M(!0),x(Se,null,It(y(e),u=>(M(),x("tr",{key:u.name,class:"group","h-7":"",border:"b dashed transparent hover:base"},[w("td",VHt,[w("div",PHt,[s.matched.find(g=>g.name===u.name)?(M(),ie(y(xS),{key:0,"bg-green-400:10":"","text-green-400":"",title:"active",textContent:"active"})):s.matchedPending.find(g=>g.name===u.name)?(M(),ie(y(xS),{key:1,"bg-teal-400:10":"","text-teal-400":"",title:"next",textContent:"next"})):ne("",!0)])]),w("td",RHt,[w("div",DHt,[D(c,{route:u,class:Te(s.matched.find(g=>g.name===u.name)?"text-primary-400":s.matchedPending.find(g=>g.name===u.name)?"text-teal":""),onNavigate:l[0]||(l[0]=g=>s.$emit("navigate",g))},null,8,["route","class"]),w("div",NHt,[u.meta?.file&&y(i).vitePluginDetected.value&&y(n)?(M(),x("button",{key:0,"text-sm":"",op40:"",hover:"op100 text-primary-400",title:"Open in editor",onClick:g=>y(vd)(u.meta?.file)},l[4]||(l[4]=[w("div",{"i-carbon-script-reference":""},null,-1)]),8,BHt)):ne("",!0)])])]),w("td",FHt,ze(u.name),1),y(a)?(M(),x("td",jHt,[w("span",{"inline-block":"","w-50":"","cursor-pointer":"","overflow-hidden":"","text-ellipsis":"",title:o(u.meta,2),onClick:()=>s.$emit("selectMeta",u.meta)},ze(o(u.meta)),9,UHt)])):ne("",!0)]))),128))])])])}}}),WHt={block:"","h-screen":"","of-auto":""},ZHt={"h-full":"",class:"grid grid-rows-[auto_1fr]"},KHt={border:"b base",flex:"~ col gap1",px4:"",py3:""},YHt={key:1,op50:""},XHt={key:0,"text-orange":"",op75:""},qHt={key:1,op50:""},QHt=ce({__name:"pages",setup(t){const r=G(""),e=G(null),n=G([]),i=F(()=>r.value===e.value?.path?[]:n.value),o=G([]),a=G();function s(u){o.value=u.routes,e.value=u.currentRoute,r.value=e.value?.path??"/"}function l(){i.value.length&&c(r.value)}function c(u){Ce.value.navigate(u)}return Hb(()=>{Ce.value.getRouterInfo().then(u=>{s(u)}),Ce.functions.on(Ft.ROUTER_INFO_UPDATED,s)}),nU(r,()=>{r.value!==e.value?.path&&Ce.value.getMatchedRoutes(r.value).then(u=>{n.value=u})}),fn(()=>{Ce.functions.off(Ft.ROUTER_INFO_UPDATED,s)}),(u,g)=>{const h=GHt,d=aG,f=MHt;return M(),x("div",WHt,[w("div",ZHt,[w("div",KHt,[w("div",null,[(M(),x("span",YHt,"Current route"))]),D(y(ss),{modelValue:y(r),"onUpdate:modelValue":g[0]||(g[0]=C=>qe(r)?r.value=C:null),"left-icon":"i-carbon-direction-right-01 scale-y--100",class:Te(y(e)?.path===y(r)?"":y(i).length?"text-green!":"text-orange!"),onKeydown:dF(l,["enter"])},null,8,["modelValue","class"]),w("div",null,[y(e)?.path!==y(r)?(M(),x(Se,{key:0},[g[6]||(g[6]=w("span",null,[_e("Press "),w("b",{"font-bold":""},"Enter"),_e(" to navigate")],-1)),y(i).length?ne("",!0):(M(),x("span",XHt," (no match)"))],64)):(M(),x("span",qHt,"Edit path above to navigate"))])]),D(y(D1),{class:"of-hidden"},{default:W(()=>[D(y(hn),{size:"70",class:"of-auto!"},{default:W(()=>[D(d,{icon:"i-carbon-tree-view-alt",text:"All Routes",description:`${y(o).length} routes registered in your application`,padding:!1},{default:W(()=>[y(o).length?(M(),ie(h,{key:0,pages:y(o),matched:y(e)?.matched??[],"matched-pending":y(i),onNavigate:c,onSelectMeta:g[1]||(g[1]=C=>a.value=C)},null,8,["pages","matched","matched-pending"])):ne("",!0)]),_:1},8,["description"])]),_:1}),y(a)?(M(),ie(y(hn),{key:0,size:"30",class:"of-auto!"},{default:W(()=>[D(f,{meta:y(a),onClose:g[2]||(g[2]=C=>a.value=void 0)},null,8,["meta"])]),_:1})):ne("",!0)]),_:1})])])}}}),JHt=ce({__name:"pinia",setup(t){return(r,e)=>(M(),ie(y(L9e)))}}),eVt=ce({__name:"router",setup(t){const{registeredInspector:r}=KG(),e=F(()=>r.value?.find(i=>i.packageName==="vue-router")),n=F(()=>e.value?.id);return(i,o)=>(M(),ie(y(Y9e),{id:y(n)},null,8,["id"]))}}),tVt=["src","alt"],rVt=["title"],ON="custom-ic-",j0=ce({__name:"TabIcon",props:{icon:{},title:{},showTitle:{type:Boolean,default:!0},fallback:{}},setup(t){const r=t,e=G(r.icon);Je(()=>r.icon,i=>{e.value=i});function n(){e.value=r.fallback}return(i,o)=>y(e)&&y(nie)(y(e))?(M(),x("img",Xr({key:0,style:{width:"1em",height:"1em"}},i.$attrs,{src:y(e),alt:i.title,onError:n}),null,16,tVt)):y(e)?.startsWith(ON)?(M(),ie(y(ec),Xr({key:1,name:y(e).slice(ON.length)},i.$attrs,{title:i.showTitle?i.title:void 0}),null,16,["name","title"])):(M(),x("div",Xr({key:2,style:{width:"1em",height:"1em"}},i.$attrs,{class:y(e)||"i-carbon-bring-forward",title:i.showTitle?i.title:void 0}),null,16,rVt))}}),nVt={"h-full":"","w-full":"","of-auto":"",px8:"",py6:""},iVt={grid:"~ md:cols-[repeat(auto-fit,minmax(16rem,1fr))] gap-x-10 gap-y-3","max-w-300":""},oVt={flex:"~ col gap-2"},aVt={flex:"~ gap-2","flex-auto":"","items-center":"","justify-start":""},sVt={capitalize:"",op75:""},lVt={flex:"~ gap-2","flex-auto":"","items-center":"","justify-start":"","pr-4":"","text-sm":""},cVt=["onClick"],uVt=["onClick"],gVt=["onClick"],hVt={flex:"~ col gap-2"},dVt={flex:"~ gap2"},fVt={class:"flex items-center gap2 text-sm"},CVt={class:"flex items-center gap2 text-sm"},vVt={class:"flex items-center gap2 text-sm"},AVt={class:"flex items-center gap2 text-sm"},IVt={flex:"~ gap-2"},pVt=ce({__name:"settings",setup(t){const{categorizedTabs:r}=$f(),e=lM(),n=e==="iframe"||e==="separate-window",{scale:i,interactionCloseOnOutsideClick:o,showPanel:a,minimizePanelInteractive:s,expandSidebar:l,scrollableSidebar:c}=x6(Rue(dr)),u=[["Tiny",12/15],["Small",14/15],["Normal",1],["Large",16/15],["Huge",18/15]],g=[["Always",0],["1s",1e3],["2s",2e3],["5s",5e3],["10s",1e4],["Never",-1]],{hiddenTabCategories:h,hiddenTabs:d,pinnedTabs:f}=x6(dr.value.tabSettings);function C(L,z){z?d.value=d.value.filter(S=>S!==L):d.value.push(L)}function v(L,z){z?h.value=h.value.filter(S=>S!==L):h.value.push(L)}function A(L){f.value.includes(L)?f.value=f.value.filter(z=>z!==L):f.value.push(L)}function I(L,z){const S=f.value.indexOf(L);if(S===-1)return;const T=S+z;if(T<0||T>=f.value.length)return;const k=[...f.value];k.splice(S,1),k.splice(T,0,L),f.value=k}const p=G(!1);async function m(){d6e(),window.location.reload()}const b=g.map(([L,z])=>({label:L,value:z})),_=F(()=>`${b.find(z=>z.value===s.value)?.label??"Select..."}`);return(L,z)=>{const S=uw,T=j0;return M(),x("div",nVt,[D(S,{class:"mb-5 text-xl op75",icon:"i-carbon-settings-adjust",text:"DevTools Settings"}),w("div",iVt,[w("div",oVt,[z[12]||(z[12]=w("h3",{"text-lg":""}," Tabs ",-1)),(M(!0),x(Se,null,It(y(r),([{name:k,hidden:O},P])=>(M(),x(Se,{key:k},[P.length?(M(),ie(y(V5),{key:0,p3:"",flex:"~ col gap-1",class:Te(O?"op50 grayscale":"")},{default:W(()=>[D(y($8),{"model-value":!y(h).includes(k),class:"row-reverse flex hover:bg-active py1 pl2 pr1","onUpdate:modelValue":B=>v(k,B)},{default:W(()=>[w("div",aVt,[w("span",sVt,ze(k),1)])]),_:2},1032,["model-value","onUpdate:modelValue"]),z[11]||(z[11]=w("div",{"mx--1":"",my1:"","h-1px":"",border:"b base",op75:""},null,-1)),(M(!0),x(Se,null,It(P,B=>(M(),ie(y($8),{key:B.name,class:Te(["row-reverse n-primary flex hover:bg-active py1 pl2 pr1",B.hidden?"op35":""]),"model-value":!y(d).includes(B.name),"onUpdate:modelValue":te=>C(B.name,te)},{default:W(()=>[w("div",lVt,[D(T,{"text-xl":"",icon:B.icon,fallback:B.fallbackIcon,title:B.title},null,8,["icon","fallback","title"]),w("span",null,ze(B.title),1),z[10]||(z[10]=w("div",{"flex-auto":""},null,-1)),y(f).includes(B.name)?(M(),x(Se,{key:0},[w("button",{class:"flex items-center hover:bg-active hover:op100 px1 py1 text-sm op65",onClick:Wn(()=>{y(f).indexOf(B.name)!==0&&I(B.name,-1)},["stop"])},z[8]||(z[8]=[w("div",{class:"i-carbon-caret-up"},null,-1)]),8,cVt),w("button",{class:"flex items-center hover:bg-active hover:op100 px1 py1 text-sm op65",onClick:Wn(()=>{y(f).indexOf(B.name)!==y(f).length-1&&I(B.name,1)},["stop"])},z[9]||(z[9]=[w("div",{class:"i-carbon-caret-down"},null,-1)]),8,uVt)],64)):ne("",!0),w("button",{class:"flex items-center hover:bg-active hover:op100 px1 py1 text-sm op65",onClick:Wn(te=>A(B.name),["stop"])},[w("div",{class:Te(y(f).includes(B.name)?" i-carbon-pin-filled rotate--45":" i-carbon-pin op45")},null,2)],8,gVt)])]),_:2},1032,["model-value","class","onUpdate:modelValue"]))),128))]),_:2},1032,["class"])):ne("",!0)],64))),128))]),w("div",hVt,[z[25]||(z[25]=w("h3",{"text-lg":""}," Appearance ",-1)),D(y(V5),{p4:"",flex:"~ col gap-2"},{default:W(()=>[w("div",dVt,[D(y(tG),null,{default:W(({isDark:k,toggle:O})=>[D(y(ct),{outlined:"",type:"primary",onClick:O},{default:W(()=>[z[13]||(z[13]=w("div",{"i-carbon-sun":"","dark:i-carbon-moon":"","translate-y--1px":""},null,-1)),_e(" "+ze(k?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1})]),z[16]||(z[16]=w("div",{"mx--2":"",my1:"","h-1px":"",border:"b base",op75:""},null,-1)),z[17]||(z[17]=w("p",null,"UI Scale",-1)),w("div",null,[D(y(Ed),{modelValue:y(i),"onUpdate:modelValue":z[0]||(z[0]=k=>qe(i)?i.value=k:null),options:u.map(([k,O])=>({label:k,value:O})),"button-props":{outlined:!0}},null,8,["modelValue","options"])]),z[18]||(z[18]=w("div",{"mx--2":"",my1:"","h-1px":"",border:"b base",op75:""},null,-1)),w("div",fVt,[D(y(p2),{modelValue:y(l),"onUpdate:modelValue":z[1]||(z[1]=k=>qe(l)?l.value=k:null)},null,8,["modelValue"]),z[14]||(z[14]=w("span",{op75:""},"Expand Sidebar",-1))]),w("div",CVt,[D(y(p2),{modelValue:y(c),"onUpdate:modelValue":z[2]||(z[2]=k=>qe(c)?c.value=k:null)},null,8,["modelValue"]),z[15]||(z[15]=w("span",{op75:""},"Scrollable Sidebar",-1))])]),_:1}),y(n)?(M(),x(Se,{key:0},[z[23]||(z[23]=w("h3",{mt2:"","text-lg":""}," Features ",-1)),D(y(V5),{p4:"",flex:"~ col gap-2"},{default:W(()=>[w("div",vVt,[D(y(p2),{modelValue:y(o),"onUpdate:modelValue":z[3]||(z[3]=k=>qe(o)?o.value=k:null)},null,8,["modelValue"]),z[19]||(z[19]=w("span",{op75:""},"Close DevTools when clicking outside",-1))]),w("div",AVt,[D(y(p2),{modelValue:y(a),"onUpdate:modelValue":z[4]||(z[4]=k=>qe(a)?a.value=k:null)},null,8,["modelValue"]),z[20]||(z[20]=w("span",{op75:""},"Always show the floating panel",-1))]),z[21]||(z[21]=w("div",{"mx--2":"",my1:"","h-1px":"",border:"b base",op75:""},null,-1)),z[22]||(z[22]=w("p",null,"Minimize floating panel on inactive",-1)),w("div",null,[D(y(Ed),{modelValue:y(s),"onUpdate:modelValue":z[5]||(z[5]=k=>qe(s)?s.value=k:null),"button-props":{outlined:!0},options:y(b),placeholder:y(_)},null,8,["modelValue","options","placeholder"])])]),_:1})],64)):ne("",!0),z[26]||(z[26]=w("h3",{mt2:"","text-lg":""}," Debug ",-1)),w("div",IVt,[D(y(ct),{outlined:"",type:"warning",onClick:z[6]||(z[6]=k=>p.value=!0)},{default:W(()=>z[24]||(z[24]=[w("div",{"i-carbon-breaking-change":""},null,-1),_e(" Reset Local Settings & State ")])),_:1}),D(y(K0e),{modelValue:y(p),"onUpdate:modelValue":z[7]||(z[7]=k=>qe(p)?p.value=k:null),title:"Clear Local Settings & State",width:"40%",height:"200px",content:"Are you sure you to reset all local settings & state? Devtools will reload.",onConfirm:m},null,8,["modelValue"])])])])])}}}),mVt={"h-full":"",flex:"","flex-col":"",p2:""},yVt={class:"relative mb-1 w-full flex items-center justify-end pb-1",border:"b dashed base"},bVt={key:0,class:"absolute left-0 text-xs text-gray-300 dark:text-gray-500"},wVt={class:"flex items-center gap-2 px-1"},$Vt={key:0,class:"recording recording-btn bg-[#ef4444]"},_Vt={key:1,class:"recording-btn bg-black op70 dark:bg-white hover:op100"},MVt={class:"flex items-center gap1"},zVt={class:"p2"},EVt=["onClick"],SVt=["onClick"],TVt=ce({__name:"TimelineLayers",props:ou({data:{}},{modelValue:{},modelModifiers:{}}),emits:ou(["select","clear"],["update:modelValue"]),setup(t,{emit:r}){const e=r,n=Fi(),i=F(()=>n.timelineLayersState.value.recordingState),o=F(()=>n.timelineLayersState.value),a=F(()=>i.value?"Stop recording":"Start recording"),{colorMode:s}=mf();F(()=>s.value==="dark");const l=XA(t,"modelValue");function c(d){l.value=d,e("select",d),Ce.value.updateTimelineLayersState({selected:d})}Je(()=>o.value.selected,d=>{l.value=d},{immediate:!0});function u(d){return{mouse:o.value.mouseEventEnabled,keyboard:o.value.keyboardEventEnabled,"component-event":o.value.componentEventEnabled,performance:o.value.performanceEventEnabled}[d]}function g(){Ce.value.updateTimelineLayersState({recordingState:!i.value})}function h(d){const f={mouse:"mouseEventEnabled",keyboard:"keyboardEventEnabled","component-event":"componentEventEnabled",performance:"performanceEventEnabled"}[d];Ce.value.updateTimelineLayersState({[f]:!u(d)})}return(d,f)=>(M(),x("div",mVt,[w("div",yVt,[y(i)?ne("",!0):(M(),x("span",bVt,"Not recording")),w("div",wVt,[At((M(),x("div",{class:"flex items-center gap1",onClick:g},[y(i)?(M(),x("span",$Vt)):(M(),x("span",_Vt))])),[[y(Rt),{content:y(a)},void 0,{"bottom-end":!0}]]),At((M(),x("div",{class:"flex items-center gap1",onClick:f[0]||(f[0]=C=>e("clear"))},[D(y(ec),{name:"baseline-delete","cursor-pointer":"","text-xl":"",op70:"","hover:op100":""})])),[[y(Rt),{content:"Clear all timelines"},void 0,{"bottom-end":!0}]]),At((M(),x("div",MVt,[D(y(ec),{name:"baseline-tips-and-updates","cursor-pointer":"","text-xl":"",op70:"","hover:op100":""})])),[[y(Rt),{content:"<p style='width: 285px'>Timeline events can cause significant performance overhead in large applications, so we recommend enabling it only when needed and on-demand. </p>",html:!0},void 0,{"bottom-end":!0}]])])]),w("ul",zVt,[(M(!0),x(Se,null,It(d.data,C=>(M(),x("li",{key:C.id,class:Te(["group relative selectable-item",{active:C.id===l.value,op60:!u(C.id)}]),onClick:v=>c(C.id)},[_e(ze(C.label)+" ",1),w("span",{class:"absolute right-2 rounded-1 bg-primary-500 px1 text-3 text-white op0 [.active_&]:bg-primary-400 [.active_&]:dark:bg-gray-600 group-hover:op80 hover:op100!",onClick:Wn(v=>h(C.id),["stop"])},ze(u(C.id)?"Disable":"Enable"),9,SVt)],10,EVt))),128))])]))}}),LVt=fI(TVt,[["__scopeId","data-v-ba7472d9"]]),kVt={class:"h-full w-full"},OVt={class:"no-scrollbar h-full flex select-none gap-2 overflow-scroll"},xVt={class:"h-full flex flex-col"},HVt={class:"no-scrollbar h-full flex select-none gap-2 overflow-scroll"},VVt={class:"h-full flex flex-col p2"},PVt=ce({__name:"timeline",setup(t){const r=G(),e=G(),n=G(!1),{width:i}=uU(e),o=F(()=>n.value?i.value<700:!1),a=Fi(),s=F(()=>a.appRecords.value.map(C=>({label:C.name+(C.version?` (${C.version})`:""),value:C.id}))),l=F(()=>s.value.map(C=>({label:C.label,id:C.value}))),c=G(a.activeAppRecordId.value);gn(()=>{c.value=a.activeAppRecordId.value});function u(C){Ce.value.toggleApp(C).then(()=>{d()})}const g=G(""),h=[{label:"Mouse",id:"mouse"},{label:"Keyboard",id:"keyboard"},{label:"Component events",id:"component-event"},{label:"Performance",id:"performance"}];function d(){r.value?.clear()}function f(){d()}return(C,v)=>{const A=LVt;return M(),x("div",kVt,[D(y(D1),{ref_key:"splitpanesRef",ref:e,class:"flex-1 overflow-auto",horizontal:y(o),onReady:v[2]||(v[2]=I=>n.value=!0)},{default:W(()=>[y(s).length>1?(M(),ie(y(hn),{key:0,border:"base h-full",size:"20"},{default:W(()=>[w("div",OVt,[D(y(BG),{modelValue:y(c),"onUpdate:modelValue":v[0]||(v[0]=I=>qe(c)?c.value=I:null),data:y(l),class:"w-full",onSelect:u},null,8,["modelValue","data"])])]),_:1})):ne("",!0),D(y(hn),{border:"base","h-full":""},{default:W(()=>[w("div",xVt,[w("div",HVt,[D(A,{modelValue:y(g),"onUpdate:modelValue":v[1]||(v[1]=I=>qe(g)?g.value=I:null),data:h,class:"w-full",onSelect:f,onClear:d},null,8,["modelValue"])])])]),_:1}),D(y(hn),{relative:"","h-full":"",size:"65"},{default:W(()=>[w("div",VVt,[D(y(yI),{ref_key:"timelineRef",ref:r,"layer-ids":[y(g)],"header-visible":!1,"doc-link":"","plugin-id":"","switcher-visible":!1},null,8,["layer-ids"])])]),_:1})]),_:1},8,["horizontal"])])}}});function RVt(t){const r=new Map;return t.forEach(e=>r.set(e.id,e)),Array.from(r.values())}const Yy=ya(new Map);function DVt(){const{enabledFlattenTabs:t}=$f(),r=Ac(),e=Fi();let n=[];const i=F(()=>nW(e.commands.value,n)?n:(n=e.commands.value,e.commands.value)),o=[{id:"fixed:settings",title:"Settings",icon:"i-carbon-settings-adjust",action:()=>{r.push("/settings")}},{id:"fixed:docs",title:"Vue Documentations",icon:"i-vscode-icons-file-type-vue",action:()=>BVt()}],a=F(()=>t.value.map(s=>({id:`tab:${s.name}`,title:s.title||s.name,icon:s.icon,action:()=>{"onClick"in s&&s.onClick?s.onClick():r.push("path"in s&&s.path?s.path:`/custom-tab-view/${s.name}`)}})));return F(()=>RVt([...o,...a.value,...NVt(i.value),...Array.from(Yy.values()).flatMap(s=>id(s))]))}function xN(t){t?.type==="url"&&window.open(t.src,"_blank")}function NVt(t){return t.map(r=>({id:`${r.id}`,title:r.title,icon:r.icon,description:r.description,order:r.order,action:()=>{if(r.children)return r.children.map(e=>({id:e.id,title:e.title,icon:e.icon,description:e.description,order:e.order,action:()=>{xN(e.action)}})).sort((e,n)=>(n.order??0)-(e.order??0));xN(r.action)}})).sort((r,e)=>(e.order??0)-(r.order??0))}function HN(t){const r=iie();Yy.set(r,t),fn(()=>{Yy.delete(r)})}let E6;const VN={"utility-types":"i-mdi-language-typescript",ssr:"i-codicon-server-process","custom-renderer":"i-codicon-server-process","sfc-script-setup":"i-material-symbols:magic-button","sfc-css-features":"i-material-symbols-css","built-in-directives":"i-material-symbols-code","built-in-special-attributes":"i-material-symbols-code","component-instance":"i-material-symbols-code","composition-api-dependency-injection":"i-material-symbols-code","composition-api-lifecycle":"i-material-symbols-code",general:"i-material-symbols-code","compile-time-flags":"i-material-symbols-toggle-on","reactivity-utilities":"i-mdi-api","reactivity-advanced":"i-mdi-api","render-function":"i-mdi-api","...others":"i-uim-vuejs"};async function BVt(){return E6||(E6=(await Si(()=>import("./vue-apis-DWRQGgDp.js"),[],import.meta.url).then(r=>r.default)).map(r=>({...r,icon:VN[r.description]??VN["...others"],action:()=>{window.open(r.url,"_blank")}}))),E6}const FVt={flex:"~ col",h:"60%",border:"1 base","m-x-4":"","max-h-120":"","min-h-60":"","w-xl":"","of-hidden":"","rounded-md":"","text-3.75":""},jVt={border:"b base","flex-none":""},UVt={"flex-auto":"","of-auto":"",p2:"",flex:"~ col"},GVt=["id","onClick","onMouseover"],WVt={flex:"","flex-auto":"","items-center":"",gap2:"","of-hidden":""},ZVt={"ws-nowrap":""},KVt={"of-hidden":"",truncate:"","ws-nowrap":"","text-sm":"",op50:""},YVt={key:0,"h-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","text-xl":""},XVt={"text-primary":""},qVt={border:"t base",flex:"~ none justify-between items-center gap-4","pointer-events-none":"",px4:"",py2:""},QVt={"text-xs":"",flex:"~ items-center gap2"},JVt={px1:""},ePt={px1:""},tPt={"text-xs":"",flex:"~ items-center gap2"},rPt={op75:""},nPt={"text-xs":"",flex:"~ items-center gap2"},iPt={px1:""},oPt=ce({__name:"CommandPalette",setup(t){const r=G(!1),e=G(""),n=DVt(),i=G(),o=F(()=>i.value||n.value),a=F(()=>new yc(o.value,{keys:["id","title"],distance:50})),s=F(()=>e.value?a.value.search(e.value).map(h=>h.item):o.value||[]),l=G(0);Je(e,()=>{l.value=0,u()});function c(h){l.value=(l.value+h+s.value.length)%s.value.length,u()}function u(){document.getElementById(s.value[l.value]?.id)?.scrollIntoView({block:"center"})}async function g(h){const d=await h.action();d?(i.value=d,e.value=""):(i.value=void 0,e.value="",r.value=!1)}return hi("keydown",h=>{if((h.altKey||h.metaKey)&&h.key==="k"){h.preventDefault(),i.value=void 0,e.value="",r.value=!r.value;return}if(r.value)switch(h.key){case"ArrowDown":case"ArrowUp":h.preventDefault(),c(h.key==="ArrowDown"?1:-1);break;case"Enter":{const d=s.value[l.value];d&&(h.preventDefault(),g(d));break}case"Escape":{h.preventDefault(),i.value?(i.value=void 0,e.value=""):r.value=!1;break}}}),(h,d)=>{const f=j0;return y(r)?(M(),ie(y(cw),{key:0,dim:"",class:"$ui-z-max-override backdrop-blur-2xl!"},{default:W(()=>[w("div",FVt,[w("header",jVt,[D(y(ss),{modelValue:y(e),"onUpdate:modelValue":d[0]||(d[0]=C=>qe(e)?e.value=C:null),placeholder:"Type to search...",flat:"","auto-focus":"",class:"h12 border-none!"},null,8,["modelValue"])]),w("div",UVt,[(M(!0),x(Se,null,It(y(s),(C,v)=>(M(),x("button",{id:C.id,key:C.id,onClick:A=>g(C),onMouseover:A=>l.value=v},[w("div",{flex:"~ gap-2 items-center justify-between",rounded:"",px3:"",py2:"",class:Te(y(l)===v?"op100 saturate-100 bg-active":"op80")},[D(f,{icon:C.icon,title:C.title,"flex-none":"","text-xl":""},null,8,["icon","title"]),w("span",WVt,[w("span",ZVt,ze(C.title),1),w("span",KVt,ze(C.description),1)]),y(l)===v?(M(),ie(y(Gt),{key:0,icon:"i-carbon-text-new-line scale-x--100","flex-none":""})):ne("",!0)],2)],40,GVt))),128)),y(s).length?ne("",!0):(M(),x("div",YVt,[D(y(Gt),{icon:"carbon-search",op50:""}),w("div",null,[d[1]||(d[1]=w("span",{op50:""},"No results for",-1)),w("strong",XVt,' "'+ze(y(e))+'" ',1)])]))]),w("footer",qVt,[w("div",QVt,[w("button",JVt,[D(y(Gt),{icon:"i-carbon-arrow-down"})]),w("button",ePt,[D(y(Gt),{icon:"i-carbon-arrow-up"})]),d[2]||(d[2]=w("span",{op75:""},"to navigate",-1))]),w("div",tPt,[d[3]||(d[3]=w("button",{px1:""}," Esc ",-1)),w("span",rPt,"to "+ze(y(i)?"go back":"close"),1)]),w("div",nPt,[w("button",iPt,[D(y(Gt),{icon:"i-carbon-text-new-line scale-x--100","scale-x--100":""})]),d[4]||(d[4]=w("span",{op75:""},"to select",-1))])])])]),_:1})):ne("",!0)}}}),aPt={flex:"~ items-center gap-3"},sPt={key:0,"text-md":"","overflow-hidden":"","text-ellipsis":"","ws-nowrap":""},lPt={"translate-y-0.5px":""},cPt={key:0,hidden:"","lg:block":""},Hne=ce({__name:"SideNavItem",props:{tab:{},minimized:{type:Boolean,default:!0},target:{default:"main"},disabled:{type:Boolean,default:!1}},setup(t){const r=t,e=vf(),n=F(()=>"path"in r.tab?`${r.tab.path.startsWith("/")?"":"/"}${r.tab.path}`:`/custom-tab-view/${r.tab.name}`),i=F(()=>"badge"in r.tab&&r.tab.badge?.()),o=F(()=>e.path.startsWith(n.value));function a(){r.disabled||("onClick"in r.tab&&r.tab.onClick?r.tab.onClick():r.target==="side"&&(dr.value.splitScreen.view=r.tab.name))}return(s,l)=>{const c=j0;return M(),ie(y(iCe),{disabled:!s.minimized,placement:"right",class:Te({"w-full":!s.minimized})},{popper:W(()=>[w("div",null,ze(s.tab.title),1),"extraTabVNode"in s.tab&&s.tab.extraTabVNode?(M(),x("div",cPt,[(M(),ie(b1(s.tab.extraTabVNode)))])):ne("",!0)]),default:W(()=>[(M(),ie(b1(s.target==="main"?y(Mj):"button"),{to:y(n),flex:`~ items-center ${s.minimized?"justify-center":"justify-between"}`,"text-secondary":"",relative:"",block:"","h-10":"","select-none":"",op65:"",disabled:s.disabled,class:Te([s.disabled?"cursor-not-allowed op40!":"hover:bg-active hover:op-100"]),w:s.minimized?"10":"full",rounded:s.minimized?"xl":"",p:s.minimized?"1":"x3","exact-active-class":"!text-primary-600 bg-active op-100!",onClick:a},{default:W(()=>[w("div",aPt,[D(c,{"text-xl":"",icon:s.tab.icon,fallback:s.tab.fallbackIcon,title:s.tab.name,"show-title":!1},null,8,["icon","fallback","title"]),s.minimized?ne("",!0):(M(),x("span",sPt,ze(s.tab.title),1))]),y(i)?(M(),x("div",{key:0,"h-4":"","w-4":"","rounded-full":"","text-9px":"","text-white":"",flex:"~ items-center justify-center",class:Te([y(o)?"bg-primary-600":"bg-gray",{"absolute bottom-0 right-0":s.minimized}])},[w("span",lPt,ze(y(wr)(y(i))),1)],2)):ne("",!0)]),_:1},8,["to","flex","disabled","class","w","rounded","p"]))]),_:1},8,["disabled","class"])}}}),uPt={flex:"~ col gap-1","max-w-80":"",py1:""},gPt={key:0,"h-1px":"",border:"b base"},hPt={flex:"~ wrap",px1:""},Vne=ce({__name:"TabsGrid",props:{categories:{},target:{},disabledItems:{}},setup(t){return(r,e)=>{const n=Hne;return M(),x("div",uPt,[(M(!0),x(Se,null,It(r.categories,([i,o],a)=>(M(),x(Se,{key:i},[o.length?(M(),x(Se,{key:0},[a?(M(),x("div",gPt)):ne("",!0),w("div",hPt,[(M(!0),x(Se,null,It(o,s=>(M(),ie(n,{key:s.name,disabled:r.disabledItems?.includes(s.name),target:r.target,tab:s},null,8,["disabled","target","tab"]))),128))])],64)):ne("",!0)],64))),128))])}}}),dPt={"h-full":"","h-screen":"","of-hidden":""},fPt={key:0,border:"b base",flex:"~ gap1","z-99":"",px4:"",py3:"","navbar-glass":""},CPt={flex:"","cursor-pointer":"","items-center":"",gap2:""},vPt={capitalize:""},APt={key:2,"of-auto":"",class:"h-[calc(100%-50px)]"},IPt={key:3,class:"h-full w-full $ui-fcc"},pPt=ce({__name:"SplitScreen",setup(t){function r(){dr.value.splitScreen.enabled=!1}const e=F(()=>dr.value.splitScreen),{enabledTabs:n,flattenedTabs:i}=$f(),o=Ac(),a=vf(),s=Bi(),l=G(null),c=G(null),u=G(null);function g(v){const A=f();return v?v.name===A:!1}const h=F(()=>{const v=i.value.find(A=>A.name===e.value.view);return g(v)?void 0:v}),d=F(()=>f());function f(){return a.path.startsWith(`/${B8}/`)?a.path.slice(B8.length+2):a.path.startsWith(`/${Vh}/`)?a.path.slice(Vh.length+2):a.path.startsWith("/")?a.path.slice(1):a.path}Je(()=>h.value,v=>{if(!v)return;if(v.view){l.value=v.name,u.value="custom-tab";return}if(v.path.startsWith(Vh)){l.value=v.name,c.value=v.pluginId,u.value="custom-inspector";return}l.value=null;const p=o.getRoutes().find(m=>m.path===`/${v.path}`)?.components?.default;typeof p=="function"?s.value=poe(p):s.value=p},{immediate:!0});const C=G(!1);return(v,A)=>{const I=j0,p=Vne,m=rW;return M(),x("div",dPt,[(y(s)||y(l))&&y(h)?(M(),x("div",fPt,[D(y(vu),{placement:"bottom-start",distance:12,skidding:5,shown:y(C),trigger:"click"},{popper:W(()=>[D(p,{categories:y(n),target:"side","disabled-items":[y(d)]},null,8,["categories","disabled-items"])]),default:W(()=>[w("div",CPt,[A[0]||(A[0]=w("div",{"i-carbon-chevron-down":"","text-sm":"",op50:""},null,-1)),D(I,{"text-xl":"",icon:y(h)?.icon,title:y(h).name,fallback:y(h).fallbackIcon,"show-title":!1},null,8,["icon","title","fallback"]),w("span",vPt,ze(y(h)?.name),1)])]),_:1},8,["shown"]),A[2]||(A[2]=w("div",{"flex-auto":""},null,-1)),At((M(),x("button",{title:"Close split screen","cursor-pointer":"","hover:bg-active":"",px1:"",onClick:r},A[1]||(A[1]=[w("div",{"i-carbon:side-panel-open":""},null,-1)]))),[[y(Rt),"Close split screen"]])])):ne("",!0),y(l)&&y(h)?(M(),x(Se,{key:1},[y(u)==="custom-tab"?(M(),ie(m,{key:0,tab:y(h),class:"h-[calc(100%-50px)]","iframe-inline":"","of-auto":""},null,8,["tab"])):y(c)?(M(),ie(y(JG),{key:1,id:y(l),"plugin-id":y(c)},null,8,["id","plugin-id"])):ne("",!0)],64)):y(s)&&y(h)?(M(),x("div",APt,[(M(),ie(b1(y(s)),{key:`tab-${y(h).name}`}))])):(M(),x("div",IPt,[w("div",null,[A[4]||(A[4]=w("span",{"text-lg":"",op50:""}," Select a tab to start ",-1)),D(y(V5),{px4:"",py2:"","bg-base":""},{default:W(()=>[D(p,{categories:y(n),target:"side","disabled-items":[y(d)]},null,8,["categories","disabled-items"])]),_:1}),D(y(ct),{type:"warning",outlined:"",mt2:"",onClick:r},{default:W(()=>A[3]||(A[3]=[_e(" Close Split Screen ")])),_:1})])]))])}}}),mPt={px3:"",py2:"",border:"b base",flex:"~ gap-2"},yPt={px3:"",py2:"",border:"b base",flex:"~ gap-2"},bPt={px3:"",py2:"",flex:"~ gap2"},wPt=ce({__name:"DockingPanel",setup(t){const r=Ac(),e=F({get:()=>dr.value.expandSidebar,set:u=>dr.value.expandSidebar=u}),n=F({get:()=>dr.value.splitScreen.enabled,set:u=>dr.value.splitScreen.enabled=u});function i(){location.reload()}const o=Fi(),a=F(()=>o.appRecords.value.map(u=>({label:u.name+(u.version?` (${u.version})`:""),value:u.id}))),s=G(o.activeAppRecordId.value);gn(()=>{s.value=o.activeAppRecordId.value});const l=F(()=>a.value.find(u=>u.value===s.value)?.label??"");function c(u){Ce.value.toggleApp(u).then(()=>{r.push("/overview").then(()=>{fj()})})}return(u,g)=>(M(),x("div",null,[w("div",mPt,[D(y(tG),null,{default:W(({isDark:h,toggle:d})=>[D(y(ct),{outlined:"",type:"primary",onClick:d},{default:W(()=>[g[3]||(g[3]=w("div",{"i-carbon-sun":"","dark:i-carbon-moon":"","translate-y--1px":""},null,-1)),_e(" "+ze(h?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1}),D(y(ct),{outlined:"",type:"primary",onClick:g[0]||(g[0]=h=>e.value=!y(e))},{default:W(()=>[D(y(Gt),{icon:y(e)?"i-carbon-side-panel-close":"i-carbon-side-panel-open"},null,8,["icon"]),_e(" "+ze(y(e)?"Minimize Sidebar":"Expand Sidebar"),1)]),_:1}),D(y(ct),{to:"/settings",outlined:"",type:"primary"},{default:W(()=>g[4]||(g[4]=[w("div",{"i-carbon-settings-adjust":""},null,-1),_e(" Settings ")])),_:1})]),w("div",yPt,[D(y(ct),{outlined:"",type:"primary",onClick:g[1]||(g[1]=h=>n.value=!y(n))},{default:W(()=>[g[5]||(g[5]=w("div",{"i-carbon-split-screen":""},null,-1)),_e(" "+ze(y(n)?"Close Split Screen":"Split Screen"),1)]),_:1})]),w("div",bPt,[y(a).length>1?(M(),ie(y(Ed),{key:0,modelValue:y(s),"onUpdate:modelValue":[g[2]||(g[2]=h=>qe(s)?s.value=h:null),c],options:y(a),placeholder:y(l)||"Toggle App","button-props":{outlined:!0,type:"primary"}},null,8,["modelValue","options","placeholder"])):ne("",!0),D(y(ct),{outlined:"",type:"primary",onClick:i},{default:W(()=>g[6]||(g[6]=[_e(" Refresh Page ")])),_:1})])]))}}),$Pt={sticky:"","top-0":"","z-1":"","w-full":"",p1:"","bg-base":"",border:"b base"},_Pt={flex:"~ auto col gap-0.5 items-center","w-full":"","of-x-hidden":"","of-y-auto":"",p1:"",class:"no-scrollbar"},MPt={key:0,my1:"","h-1px":"","w-full":"",border:"b base"},zPt=["flex"],EPt={absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"",flex:"~ items-center justify-center",border:"~ base"},SPt={"translate-y-0.5px":""},TPt=45,LPt=ce({__name:"SideNav",emits:["toggleDevtoolsClientVisible"],setup(t,{emit:r}){const e=r,n=G(!1),i=G(!1),o=G(),a=G(),s=G(),l=F(()=>dr.value.expandSidebar),c=F(()=>dr.value.scrollableSidebar),{enabledTabs:u,flattenedTabs:g}=$f(),{height:h}=zge(),d=F(()=>{const _=h.value-130;return Math.max(0,Math.floor(_/TPt))}),f=F(()=>g.value.slice(0,d.value)),C=F(()=>g.value.slice(d.value)),v=yT(f,u),A=yT(C,u),I=F(()=>c.value||l.value?u.value:v.value);ege(o,_=>{a.value&&_.composedPath().includes(a.value)||s.value&&_.composedPath().includes(s.value)||(n.value=!1,i.value=!1)},{detectIframe:!0});const p=G(),m=G(6);jb(p,()=>{m.value=m.value===6?6.01:6});const b=lM();return fge(p,([{isIntersecting:_}])=>{e("toggleDevtoolsClientVisible",{visible:_,host:b})}),(_,L)=>{const z=wPt,S=Hne,T=j0,k=Vne;return M(),x("div",{ref_key:"containerRef",ref:p,border:"r base",flex:"~ col items-start",class:"$ui-z-max-override","h-full":"","of-hidden":"","bg-base":""},[w("div",$Pt,[D(y(vu),{placement:"left-start",distance:y(m),skidding:5,trigger:"click",shown:y(n),class:"w-full"},{popper:W(()=>[D(z)]),default:W(()=>[w("button",{ref_key:"buttonDocking",ref:a,flex:"~ items-center justify-center gap-2",hover:"bg-active","text-secondary":"",relative:"","h-10":"","w-full":"","select-none":"",p2:"","exact-active-class":"!text-primary bg-active",class:Te([y(l)?"rounded pl2.5":"rounded-xl"])},[L[3]||(L[3]=w("div",{"i-logos-vue":"","h-6":"","w-6":""},null,-1)),y(l)?(M(),x(Se,{key:0},[L[0]||(L[0]=w("span",{"text-lg":"","font-600":"","text-base":""}," DevTools ",-1)),L[1]||(L[1]=w("div",{"flex-auto":""},null,-1)),L[2]||(L[2]=w("div",{"i-carbon-overflow-menu-vertical":""},null,-1))],64)):ne("",!0)],2)]),_:1},8,["distance","shown"])]),w("div",_Pt,[(M(!0),x(Se,null,It(y(I),([O,P],B)=>(M(),x(Se,{key:O},[B?(M(),x("div",MPt)):ne("",!0),(M(!0),x(Se,null,It(P.filter(te=>!te.hidden),te=>(M(),ie(S,{key:te.name,tab:te,minimized:!y(l)},null,8,["tab","minimized"]))),128))],64))),128)),L[4]||(L[4]=w("div",{"flex-auto":""},null,-1))]),w("div",{flex:`~ items-center gap-1 ${y(l)?"":"none col"}`,border:"t base",sticky:"","bottom-0":"","w-full":"",p1:"","bg-base":"",class:"$ui-z-max-override"},[y(C).length&&!y(c)&&!y(l)?(M(),ie(y(vu),{key:0,placement:"left-end",distance:6},{popper:W(()=>[D(k,{categories:y(A),"max-w-80":"",target:"main"},null,8,["categories"])]),default:W(()=>[w("button",{ref_key:"buttonMoreTabs",ref:s,flex:"~",hover:"bg-active","text-secondary":"",relative:"","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","exact-active-class":"!text-primary bg-active"},[D(T,{"text-xl":"",icon:"i-carbon-overflow-menu-vertical",title:"More tabs","show-title":!1}),w("div",EPt,[w("span",SPt,ze(y(C).length),1)])],512)]),_:1})):ne("",!0),D(S,{minimized:!y(l),tab:{icon:"i-carbon-settings-adjust",title:"Settings",name:"settings",path:"/settings"}},null,8,["minimized"])],8,zPt)],512)}}}),Pne=Bi([]),Rne=G(null);F(()=>Pne.value.find(t=>t.id===Rne.value));const kPt={class:"fixed inset-0 h-screen w-screen $ui-bg-base"},OPt=ce({__name:"App",setup(t){mf();const r=Ac(),e=vf(),{connected:n,clientConnected:i,activeAppRecordId:o,appRecords:a}=Fi(),s=dr,l=F(()=>n.value&&i.value),c=F(()=>e.path.startsWith("/__")||e.path==="/"),u=F(()=>s.value.expandSidebar),g=F(()=>s.value.splitScreen.enabled),h=F({get:()=>s.value.splitScreen.size,set:A=>s.value.splitScreen.size=A});gn(()=>{const A=dr.value.scale;document.documentElement.style.fontSize=`${A*15}px`}),Ga(()=>{gn(()=>{Ce.value.emit("update-client-state",{minimizePanelInteractive:dr.value.minimizePanelInteractive,closeOnOutsideClick:dr.value.interactionCloseOnOutsideClick,showFloatingPanel:dr.value.showPanel})})}),Je(l,A=>{A&&(r.replace(s.value.isFirstVisit?"/":s.value.route),r.afterEach(()=>{const I=e.path;I.includes("__")||(s.value.route=I)}))},{immediate:!0}),hi("keydown",A=>{A.code==="KeyD"&&A.altKey&&A.shiftKey&&Ce.value.emit("toggle-panel")}),gn(()=>{Pne.value=a.value,Rne.value=o.value}),Ga(()=>{Ce.value.initDevToolsServerListener(),Ce.value.checkVueInspectorDetected().then(A=>{A&&(iI.value=!0,HN(()=>[{id:"action:vue-inspector",title:"Inspector",icon:"i-carbon-select-window",action:async()=>{Ce.value.emit("toggle-panel",!1),await Ce.value.enableVueInspector()}}]))})});function d(){r.push("/overview").then(()=>{fj()})}Hb(()=>{Ce.functions.on(Ft.ACTIVE_APP_UNMOUNTED,d)});const{copy:f}=CI(),C=Cge({});HN(()=>[...C.isSupported.value?[{id:"action:eye-dropper",title:"Color Picker",icon:"i-carbon-eyedropper",action:async()=>{Ce.value.emit("toggle-panel",!1);const{sRGBHex:A}=await C.open()||{};A&&f(A)}}]:[]]),Ii(()=>{Ga(()=>{Ce.value.toggleClientConnected(!0)})}),fn(()=>{Ce.value.toggleClientConnected(!1),Ce.functions.off(Ft.ACTIVE_APP_UNMOUNTED,d)});function v(A){const{host:I,visible:p}=A;Ce.value.updateDevToolsClientDetected({[I]:p})}return(A,I)=>{const p=gCe,m=LPt,b=Po("RouterView"),_=pPt,L=oPt;return M(),x("main",kPt,[y(l)?(M(),x("div",{key:1,class:Te(["h-full of-auto transition-base",y(c)?"flex":y(u)?"grid grid-cols-[250px_1fr]":"grid grid-cols-[50px_1fr]"]),"h-full":"","h-screen":"","of-hidden":"","font-sans":"","bg-base":""},[y(c)?ne("",!0):(M(),ie(m,{key:0,"of-x-hidden":"","of-y-auto":"",onToggleDevtoolsClientVisible:v})),D(y(D1),{"h-full":"","of-hidden":"",onResize:I[0]||(I[0]=z=>h.value=z.map(S=>S.size))},{default:W(()=>[D(y(hn),{"h-full":"",class:"of-auto!","min-size":"10",size:y(h)[0]},{default:W(()=>[D(b)]),_:1},8,["size"]),!y(c)&&y(g)?(M(),ie(y(hn),{key:0,relative:"","h-full":"",class:"of-auto!",size:y(h)[1]},{default:W(()=>[D(_)]),_:1},8,["size"])):ne("",!0)]),_:1})],2)):(M(),ie(p,{key:0})),D(L)])}}}),xPt=[{path:"/",component:uHt},{path:"/overview",component:wHt},{path:"/components",component:X9e},{path:"/pinia",component:JHt},{path:"/router",component:eVt},{path:"/pages",component:QHt},{path:"/timeline",component:PVt},{path:"/assets",component:Ave},{path:"/graph",component:nHt},{path:"/settings",component:pVt},{path:`/${B8}/:name`,component:f6e},{path:`/${Vh}/:name`,component:n6e}],HPt=k2e({history:c2e(),routes:xPt}),cM=CF(OPt);cM.use(HPt);cM.use(kce());cM.mount("#app");async function VPt(){return ma?void 0:(await xce(`${location.pathname.split("/__devtools__")[0]||""}/`.replace(/\/\//g,"/"),!1))?.createHotContext("/____")}async function PPt(){const t=await VPt();return t&&Yle(t),t}PPt().then(t=>{t&&Lce()});DN?Q6(IE,{preset:"broadcast"}):Q6(IE,{preset:"iframe"});
|