@peterbud/nuxt-query 1.6.0 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ import{o as k,c as L,n as J,g as ue,j as Ne,r as K,k as j,F as Se,l as Me,a as n,m as re,t as z,p as q,q as oe,v as st,b as $,w as I,d as xe,s as u,x as Pe,y as Le,z as pe,A as Ge,B as X,C as qe,D as at,E as ot,G as O,H as We,I as me,_ as Xe,J as W,K as lt,i as ve,L as $e,M as rt,N as se,O as ut,P as dt,Q as Fe,R as ct,S as vt}from"./2dXNUnx1.js";import{_ as ft}from"./Dr9aL-KJ.js";const Ye={__name:"NIcon",props:{icon:{type:String,required:!1}},setup(e){return(a,r)=>(k(),L("div",{class:J(["n-icon",e.icon])},null,2))}},Ze=ue({name:"NButton",props:{to:String,icon:String,border:{type:Boolean,default:!0},disabled:Boolean,type:{type:String,default:"button"}},setup(e,{attrs:a,slots:r}){return()=>Ne(e.to?ft:"button",{to:e.to,...a,...!e.to&&{type:e.type},...e.disabled?{disabled:!0}:{tabindex:0},class:[e.border?"n-button-base active:n-button-active focus-visible:n-focus-base hover:n-button-hover":"",r.default?"":"n-icon-button","n-button n-transition n-disabled:n-disabled"].join(" ")},{default:()=>[K(r,"icon",{},()=>e.icon?[Ne(Ye,{icon:e.icon,class:r.default?"n-button-icon":""})]:[]),K(r,"default")]})}}),Be={fetching:0,paused:1,stale:2,fresh:3,inactive:4},Qe={Loading:0,Success:1,Error:2,Paused:3,Idle:4};function Oe(e,a){return e.localeCompare(a)}function le(e,a){return e-a}function et(e,a){return a==="desc"?-e:e}function Ue(e){return e.queryKey?.toString().toLowerCase()||""}function je(e){return e.options.mutationKey?.toString().toLowerCase()||""}function pt(e,a,r){return e.map((l,o)=>({query:l,index:o})).sort((l,o)=>{const i=l.query,f=o.query;let g=0;if(a==="status"){const y=we(i),_=we(f);g=le(Be[y]??Number.MAX_SAFE_INTEGER,Be[_]??Number.MAX_SAFE_INTEGER)}else a==="key"?g=Oe(Ue(i),Ue(f)):g=le(i.state.dataUpdatedAt||0,f.state.dataUpdatedAt||0);return g!==0?et(g,r):(g=Oe(i.queryHash,f.queryHash),g!==0?g:le(l.index,o.index))}).map(l=>l.query)}function mt(e,a,r){return e.map((l,o)=>({mutation:l,index:o})).sort((l,o)=>{const i=l.mutation,f=o.mutation;let g=0;if(a==="status"){const y=ze(i),_=ze(f);g=le(Qe[y]??Number.MAX_SAFE_INTEGER,Qe[_]??Number.MAX_SAFE_INTEGER)}else a==="key"?g=Oe(je(i),je(f)):g=le(i.state.submittedAt||0,f.state.submittedAt||0);return g!==0?et(g,r):(g=le(i.mutationId,f.mutationId),g!==0?g:le(l.index,o.index))}).map(l=>l.mutation)}function we(e){return e.state.fetchStatus==="fetching"?"fetching":e.observers.length<1?"inactive":e.state.fetchStatus==="paused"?"paused":j(e)?.isStale()?"stale":"fresh"}function Ae(e){return e.state.fetchStatus==="fetching"?"blue":e.observers.length<1?"gray":e.state.fetchStatus==="paused"?"purple":j(e)?.isStale()?"orange":"green"}function ze(e){const{status:a}=e.state;return e.state.isPaused?"Paused":a==="error"?"Error":a==="pending"?"Loading":a==="success"?"Success":"Idle"}function Ie(e){const{status:a}=e.state;return e.state.isPaused?"purple":a==="error"?"red":a==="pending"?"yellow":a==="success"?"green":"gray"}const gt={class:"flex flex-wrap gap-2 p-2",style:{"border-bottom":"1px solid rgba(128,128,128, 0.8)"}},yt={class:"op75"},ht={class:"text-secondary font-mono"},bt=ue({__name:"QueryCacheSummary",props:{queries:{}},setup(e){const a=e,r=[{key:"fetching",label:"Fetching"},{key:"stale",label:"Stale"},{key:"fresh",label:"Fresh"},{key:"inactive",label:"Inactive"},{key:"paused",label:"Paused"}],l={fetching:"blue",inactive:"gray",paused:"purple",stale:"orange",fresh:"green"},o=q(()=>a.queries.reduce((f,g)=>{const y=we(g);return f[y]+=1,f},{fetching:0,inactive:0,paused:0,stale:0,fresh:0}));function i(f){const g=a.queries.find(y=>we(y)===f);return g?Ae(g):l[f]}return(f,g)=>(k(),L("div",gt,[(k(),L(Se,null,Me(r,y=>n("div",{key:y.key,class:"inline-flex items-center gap-2 rounded px-2 py-1 text-xs",style:{"background-color":"rgba(128,128,128, 0.12)"}},[n("span",{style:re({width:"0.75em",height:"0.75em","border-radius":"2px","background-color":i(y.key)})},null,4),n("span",yt,z(y.label),1),n("span",ht,z(o.value[y.key]),1)])),64))]))}}),St=Object.assign(bt,{__name:"QueryCacheSummary"}),xt={class:"flex flex-wrap gap-2 p-2",style:{"border-bottom":"1px solid rgba(128,128,128, 0.8)"}},wt={class:"op75"},zt={class:"text-secondary font-mono"},kt=ue({__name:"MutationCacheSummary",props:{mutations:{}},setup(e){const a=e,r=[{key:"Loading",label:"Loading"},{key:"Success",label:"Success"},{key:"Error",label:"Error"},{key:"Paused",label:"Paused"},{key:"Idle",label:"Idle"}],l={Paused:"purple",Error:"red",Loading:"yellow",Success:"green",Idle:"gray"},o=q(()=>a.mutations.reduce((f,g)=>{const y=ze(g);return f[y]+=1,f},{Paused:0,Error:0,Loading:0,Success:0,Idle:0}));function i(f){const g=a.mutations.find(y=>ze(y)===f);return g?Ie(g):l[f]}return(f,g)=>(k(),L("div",xt,[(k(),L(Se,null,Me(r,y=>n("div",{key:y.key,class:"inline-flex items-center gap-2 rounded px-2 py-1 text-xs",style:{"background-color":"rgba(128,128,128, 0.12)"}},[n("span",{style:re({width:"0.75em",height:"0.75em","border-radius":"2px","background-color":i(y.key)})},null,4),n("span",wt,z(y.label),1),n("span",zt,z(o.value[y.key]),1)])),64))]))}}),_t=Object.assign(kt,{__name:"MutationCacheSummary"}),Ct={class:"grid gap-2 p-2 b-b-1 b-[rgba(128,128,128,0.8)]"},Mt={class:"grid items-center gap-2 grid-cols-[minmax(0,1fr)_auto]"},Pt={class:"relative min-w-16"},$t={class:"grid items-center gap-2 grid-cols-[auto_auto_auto]"},Et=["value"],Rt={class:"text-sm"},Nt={op50:""},Ot=ue({__name:"FilterSortControls",props:{search:{},totalCount:{},itemLabel:{},sortField:{},sortDirection:{}},emits:["update:search","update:sortField","update:sortDirection"],setup(e,{emit:a}){const r=e,l=a,o=q({get:()=>r.search,set:f=>l("update:search",f)});function i(){l("update:sortDirection",r.sortDirection==="asc"?"desc":"asc")}return(f,g)=>{const y=Ze;return k(),L("div",Ct,[n("div",Mt,[n("div",Pt,[g[2]||(g[2]=n("span",{class:"i-carbon-search absolute left-3 top-1/2 -translate-y-1/2 op50"},null,-1)),oe(n("input",{"onUpdate:modelValue":g[0]||(g[0]=_=>o.value=_),type:"text",class:"w-full rounded pl-9 pr-1 py-2 text-sm",placeholder:"Search...","aria-label":"Search"},null,512),[[st,o.value]])]),n("div",$t,[g[4]||(g[4]=n("label",{class:"text-xs op75",for:"sort-field"}," Sort ",-1)),n("select",{id:"sort-field",class:"rounded px-2 text-xs min-w-16 h-8",value:e.sortField,onChange:g[1]||(g[1]=_=>l("update:sortField",_.target.value))},[...g[3]||(g[3]=[n("option",{value:"status"}," Status ",-1),n("option",{value:"key"}," Key ",-1),n("option",{value:"date"}," Date/Time ",-1)])],40,Et),$(y,{size:"small",class:"text-primary w-auto",title:e.sortDirection==="asc"?"Ascending":"Descending",onClick:i},{default:I(()=>[xe(z(e.sortDirection==="asc"?"ASC":"DESC"),1)]),_:1},8,["title"])])]),n("div",Rt,[n("span",Nt,z(e.totalCount)+" "+z(e.itemLabel)+" in total",1)])])}}}),Lt=Object.assign(Ot,{__name:"FilterSortControls"}),qt={class:"grid gap-2 px-2 text-secondary hover:n-bg-hover truncate max-w-full",style:{"grid-template-columns":"1em 1fr auto auto auto"}},At={class:"truncate"},It={class:"text-right"},Dt={class:"text-right"},Tt={class:"text-right"},Ft=ue({__name:"QueryListItem",props:{item:{},index:{}},setup(e){return(a,r)=>(k(),L("div",qt,[n("div",{style:re({width:"1em",height:"1em","border-radius":"10%","align-self":"center","background-color":("getQueryBackgroundColor"in a?a.getQueryBackgroundColor:u(Ae))(e.item)})},null,4),n("div",At,z(e.item.queryKey),1),n("div",It,[n("span",{class:J({"i-carbon-play-outline-filled text-green":e.item.state.fetchStatus==="fetching","i-carbon-pause-outline-filled text-gray":e.item.state.fetchStatus==="paused","i-carbon-navaid-helipad text-blue":e.item.state.fetchStatus==="idle"})},null,2)]),n("div",Dt,[n("span",{class:J({"i-carbon-checkmark-filled text-green":e.item.state.status==="success","i-carbon-error-filled text-red":e.item.state.status==="error","i-carbon-help-filled text-gray":e.item.state.status==="pending"})},null,2)]),n("div",Tt,[n("span",{class:J({"i-carbon-view-off-filled text-gray":e.item.observers.length===0,"i-carbon-view-filled text-blue":e.item.observers.length!==0})},null,2)])]))}}),Bt=Object.assign(Ft,{__name:"QueryListItem"}),Qt={flex:"~ gap-3","items-center":""},Ut={__name:"NIconTitle",props:{icon:{type:String,required:!1},text:{type:String,required:!1}},setup(e){return(a,r)=>(k(),L("div",Qt,[e.icon?(k(),L("div",{key:0,class:J(e.icon)},null,2)):Pe("",!0),K(a.$slots,"default",{},()=>[n("div",null,z(e.text),1)])]))}},jt=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Kt=e=>typeof e<"u",Vt=Object.prototype.toString,Ht=e=>Vt.call(e)==="[object Object]",Jt=()=>{};function Gt(...e){if(e.length!==1)return at(...e);const a=e[0];return typeof a=="function"?Ge(ot(()=>({get:a,set:Jt}))):O(a)}function Wt(e,a){function r(...l){return new Promise((o,i)=>{Promise.resolve(e(()=>a.apply(this,l),{fn:a,thisArg:this,args:l})).then(o).catch(i)})}return r}const tt=e=>e();function Xt(e=tt,a={}){const{initialState:r="active"}=a,l=Gt(r==="active");function o(){l.value=!1}function i(){l.value=!0}const f=(...g)=>{l.value&&e(...g)};return{isActive:Ge(l),pause:o,resume:i,eventFilter:f}}function Re(e){return Array.isArray(e)?e:[e]}function Yt(e){return qe()}function Zt(e,a,r={}){const{eventFilter:l=tt,...o}=r;return X(e,Wt(l,a),o)}function en(e,a,r={}){const{eventFilter:l,initialState:o="active",...i}=r,{eventFilter:f,pause:g,resume:y,isActive:_}=Xt(l,{initialState:o});return{stop:Zt(e,a,{...i,eventFilter:f}),pause:g,resume:y,isActive:_}}function tn(e,a=!0,r){Yt()?Le(e,r):a?e():pe(e)}function nn(e,a,r){return X(e,a,{...r,immediate:!0})}const fe=jt?window:void 0;function sn(e){var a;const r=me(e);return(a=r?.$el)!==null&&a!==void 0?a:r}function Ke(...e){const a=(l,o,i,f)=>(l.addEventListener(o,i,f),()=>l.removeEventListener(o,i,f)),r=q(()=>{const l=Re(me(e[0])).filter(o=>o!=null);return l.every(o=>typeof o!="string")?l:void 0});return nn(()=>{var l,o;return[(l=(o=r.value)===null||o===void 0?void 0:o.map(i=>sn(i)))!==null&&l!==void 0?l:[fe].filter(i=>i!=null),Re(me(r.value?e[1]:e[0])),Re(u(r.value?e[2]:e[1])),me(r.value?e[3]:e[2])]},([l,o,i,f],g,y)=>{if(!l?.length||!o?.length||!i?.length)return;const _=Ht(f)?{...f}:f,C=l.flatMap(P=>o.flatMap(E=>i.map(B=>a(P,E,B,_))));y(()=>{C.forEach(P=>P())})},{flush:"post"})}function an(e){return JSON.parse(JSON.stringify(e))}const _e=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ce="__vueuse_ssr_handlers__",on=ln();function ln(){return Ce in _e||(_e[Ce]=_e[Ce]||{}),_e[Ce]}function rn(e,a){return on[e]||a}function un(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const dn={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Ve="vueuse-storage";function cn(e,a,r,l={}){var o;const{flush:i="pre",deep:f=!0,listenToStorageChanges:g=!0,writeDefaults:y=!0,mergeDefaults:_=!1,shallow:C,window:P=fe,eventFilter:E,onError:B=S=>{console.error(S)},initOnMounted:D}=l,T=(C?We:O)(typeof a=="function"?a():a),b=q(()=>me(e));if(!r)try{r=rn("getDefaultStorage",()=>fe?.localStorage)()}catch(S){B(S)}if(!r)return T;const A=me(a),R=un(A),Q=(o=l.serializer)!==null&&o!==void 0?o:dn[R],{pause:G,resume:de}=en(T,S=>v(S),{flush:i,deep:f,eventFilter:E});X(b,()=>x(),{flush:i});let te=!1;const ge=S=>{D&&!te||x(S)},ye=S=>{D&&!te||Y(S)};P&&g&&(r instanceof Storage?Ke(P,"storage",ge,{passive:!0}):Ke(P,Ve,ye)),D?tn(()=>{te=!0,x()}):x();function ne(S,N){if(P){const F={key:b.value,oldValue:S,newValue:N,storageArea:r};P.dispatchEvent(r instanceof Storage?new StorageEvent("storage",F):new CustomEvent(Ve,{detail:F}))}}function v(S){try{const N=r.getItem(b.value);if(S==null)ne(N,null),r.removeItem(b.value);else{const F=Q.write(S);N!==F&&(r.setItem(b.value,F),ne(N,F))}}catch(N){B(N)}}function t(S){const N=S?S.newValue:r.getItem(b.value);if(N==null)return y&&A!=null&&r.setItem(b.value,Q.write(A)),A;if(!S&&_){const F=Q.read(N);return typeof _=="function"?_(F,A):R==="object"&&!Array.isArray(F)?{...A,...F}:F}else return typeof N!="string"?N:Q.read(N)}function x(S){if(!(S&&S.storageArea!==r)){if(S&&S.key==null){T.value=A;return}if(!(S&&S.key!==b.value)){G();try{const N=Q.write(T.value);(S===void 0||S?.newValue!==N)&&(T.value=t(S))}catch(N){B(N)}finally{S?pe(de):de()}}}}function Y(S){x(S.detail)}return T}function vn(e,a,r={}){const{window:l=fe}=r;return cn(e,a,l?.localStorage,r)}function fn(e,a,r,l={}){var o,i;const{clone:f=!1,passive:g=!1,eventName:y,deep:_=!1,defaultValue:C,shouldEmit:P}=l,E=qe(),B=E?.emit||(E==null||(o=E.$emit)===null||o===void 0?void 0:o.bind(E))||(E==null||(i=E.proxy)===null||i===void 0||(i=i.$emit)===null||i===void 0?void 0:i.bind(E?.proxy));let D=y;D=D||`update:${a.toString()}`;const T=R=>f?typeof f=="function"?f(R):an(R):R,b=()=>Kt(e[a])?T(e[a]):C,A=R=>{P?P(R)&&B(D,R):B(D,R)};if(g){const R=O(b());let Q=!1;return X(()=>e[a],G=>{Q||(Q=!0,R.value=T(G),pe(()=>Q=!1))}),X(R,G=>{!Q&&(G!==e[a]||_)&&A(G)},{deep:_}),R}else return q({get(){return b()},set(R){A(R)}})}const pn=["open"],mn={"text-base":""},gn={key:0,"text-sm":"",op50:""},yn={__name:"NSectionBlock",props:{icon:{type:String,required:!1},text:{type:String,required:!1},description:{type:String,required:!1},containerClass:{type:String,required:!1,default:""},headerClass:{type:String,required:!1},collapse:{type:Boolean,required:!1,default:!0},open:{type:Boolean,required:!1,default:!0},padding:{type:[Boolean,String],required:!1,default:!0}},setup(e){const r=fn(e,"open",void 0,{passive:!0});function l(o){r.value=o.target.open}return(o,i)=>{const f=Ye,g=Ut;return k(),L(Se,null,[n("details",{open:u(r),onToggle:l},[n("summary",{class:J(["cursor-pointer select-none p4 hover:bg-active",e.collapse?"":"pointer-events-none"])},[$(g,{icon:e.icon,text:e.text,"text-xl":"",transition:"",class:J([u(r)?"op100":"op60",e.headerClass])},{default:I(()=>[n("div",null,[n("div",mn,[K(o.$slots,"text",{},()=>[xe(z(e.text),1)],!0)]),e.description||o.$slots.description?(k(),L("div",gn,[K(o.$slots,"description",{},()=>[xe(z(e.description),1)],!0)])):Pe("",!0)]),i[0]||(i[0]=n("div",{class:"flex-auto"},null,-1)),K(o.$slots,"actions",{},void 0,!0),e.collapse?(k(),W(f,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):Pe("",!0)]),_:3},8,["icon","text","class"])],2),oe(n("div",{class:J(["flex flex-col flex-gap2 pb6 pt2",typeof e.padding=="string"?e.padding:e.padding?"px4":""])},[K(o.$slots,"details",{},void 0,!0),n("div",{class:J([e.containerClass,"mt1"])},[K(o.$slots,"default",{},void 0,!0)],2),K(o.$slots,"footer",{},void 0,!0)],2),[[lt,u(r)]])],40,pn),i[1]||(i[1]=n("div",{class:"x-divider"},null,-1))],64)}}},hn=Xe(yn,[["__scopeId","data-v-c4745430"]]),bn={},Sn={class:"n-panel-grids-center"};function xn(e,a){return k(),L("div",Sn,[K(e.$slots,"default")])}const wn=Object.assign(Xe(bn,[["render",xn]]),{__name:"NPanelGrids"}),zn={__name:"splitpanes",props:{horizontal:{type:Boolean,default:!1},pushOtherPanes:{type:Boolean,default:!0},maximizePanes:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean,default:!1}},emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click","splitter-dblclick"],setup(e,{emit:a}){const r=a,l=e,o=rt(),i=O([]),f=q(()=>i.value.reduce((s,d)=>(s[~~d.id]=d)&&s,{})),g=q(()=>i.value.length),y=O(null),_=O(!1),C=O({mouseDown:!1,dragging:!1,activeSplitter:null,cursorOffset:0}),P=O({splitter:null,timeoutId:null}),E=q(()=>({[`splitpanes splitpanes--${l.horizontal?"horizontal":"vertical"}`]:!0,"splitpanes--dragging":C.value.dragging})),B=()=>{document.addEventListener("mousemove",b,{passive:!1}),document.addEventListener("mouseup",A),"ontouchstart"in window&&(document.addEventListener("touchmove",b,{passive:!1}),document.addEventListener("touchend",A))},D=()=>{document.removeEventListener("mousemove",b,{passive:!1}),document.removeEventListener("mouseup",A),"ontouchstart"in window&&(document.removeEventListener("touchmove",b,{passive:!1}),document.removeEventListener("touchend",A))},T=(s,d)=>{const m=s.target.closest(".splitpanes__splitter");if(m){const{left:c,top:p}=m.getBoundingClientRect(),{clientX:h,clientY:w}="ontouchstart"in window&&s.touches?s.touches[0]:s;C.value.cursorOffset=l.horizontal?w-p:h-c}B(),C.value.mouseDown=!0,C.value.activeSplitter=d},b=s=>{C.value.mouseDown&&(s.preventDefault(),C.value.dragging=!0,requestAnimationFrame(()=>{ge(de(s)),V("resize",{event:s},!0)}))},A=s=>{C.value.dragging&&(window.getSelection().removeAllRanges(),V("resized",{event:s},!0)),C.value.mouseDown=!1,C.value.activeSplitter=null,setTimeout(()=>{C.value.dragging=!1,D()},100)},R=(s,d)=>{"ontouchstart"in window&&(s.preventDefault(),P.value.splitter===d?(clearTimeout(P.value.timeoutId),P.value.timeoutId=null,Q(s,d),P.value.splitter=null):(P.value.splitter=d,P.value.timeoutId=setTimeout(()=>P.value.splitter=null,500))),C.value.dragging||V("splitter-click",{event:s,index:d},!0)},Q=(s,d)=>{if(V("splitter-dblclick",{event:s,index:d},!0),l.maximizePanes){let m=0;i.value=i.value.map((c,p)=>(c.size=p===d?c.max:c.min,p!==d&&(m+=c.min),c)),i.value[d].size-=m,V("pane-maximize",{event:s,index:d,pane:i.value[d]}),V("resized",{event:s,index:d},!0)}},G=(s,d)=>{V("pane-click",{event:s,index:f.value[d].index,pane:f.value[d]})},de=s=>{const d=y.value.getBoundingClientRect(),{clientX:m,clientY:c}="ontouchstart"in window&&s.touches?s.touches[0]:s;return{x:m-(l.horizontal?0:C.value.cursorOffset)-d.left,y:c-(l.horizontal?C.value.cursorOffset:0)-d.top}},te=s=>{s=s[l.horizontal?"y":"x"];const d=y.value[l.horizontal?"clientHeight":"clientWidth"];return l.rtl&&!l.horizontal&&(s=d-s),s*100/d},ge=s=>{const d=C.value.activeSplitter;let m={prevPanesSize:ne(d),nextPanesSize:v(d),prevReachedMinPanes:0,nextReachedMinPanes:0};const c=0+(l.pushOtherPanes?0:m.prevPanesSize),p=100-(l.pushOtherPanes?0:m.nextPanesSize),h=Math.max(Math.min(te(s),p),c);let w=[d,d+1],U=i.value[w[0]]||null,H=i.value[w[1]]||null;const De=U.max<100&&h>=U.max+m.prevPanesSize,it=H.max<100&&h<=100-(H.max+v(d+1));if(De||it){De?(U.size=U.max,H.size=Math.max(100-U.max-m.prevPanesSize-m.nextPanesSize,0)):(U.size=Math.max(100-H.max-m.prevPanesSize-v(d+1),0),H.size=H.max);return}if(l.pushOtherPanes){const Te=ye(m,h);if(!Te)return;({sums:m,panesToResize:w}=Te),U=i.value[w[0]]||null,H=i.value[w[1]]||null}U!==null&&(U.size=Math.min(Math.max(h-m.prevPanesSize-m.prevReachedMinPanes,U.min),U.max)),H!==null&&(H.size=Math.min(Math.max(100-h-m.nextPanesSize-m.nextReachedMinPanes,H.min),H.max))},ye=(s,d)=>{const m=C.value.activeSplitter,c=[m,m+1];return d<s.prevPanesSize+i.value[c[0]].min&&(c[0]=t(m).index,s.prevReachedMinPanes=0,c[0]<m&&i.value.forEach((p,h)=>{h>c[0]&&h<=m&&(p.size=p.min,s.prevReachedMinPanes+=p.min)}),s.prevPanesSize=ne(c[0]),c[0]===void 0)?(s.prevReachedMinPanes=0,i.value[0].size=i.value[0].min,i.value.forEach((p,h)=>{h>0&&h<=m&&(p.size=p.min,s.prevReachedMinPanes+=p.min)}),i.value[c[1]].size=100-s.prevReachedMinPanes-i.value[0].min-s.prevPanesSize-s.nextPanesSize,null):d>100-s.nextPanesSize-i.value[c[1]].min&&(c[1]=x(m).index,s.nextReachedMinPanes=0,c[1]>m+1&&i.value.forEach((p,h)=>{h>m&&h<c[1]&&(p.size=p.min,s.nextReachedMinPanes+=p.min)}),s.nextPanesSize=v(c[1]-1),c[1]===void 0)?(s.nextReachedMinPanes=0,i.value.forEach((p,h)=>{h<g.value-1&&h>=m+1&&(p.size=p.min,s.nextReachedMinPanes+=p.min)}),i.value[c[0]].size=100-s.prevPanesSize-v(c[0]-1),null):{sums:s,panesToResize:c}},ne=s=>i.value.reduce((d,m,c)=>d+(c<s?m.size:0),0),v=s=>i.value.reduce((d,m,c)=>d+(c>s+1?m.size:0),0),t=s=>[...i.value].reverse().find(d=>d.index<s&&d.size>d.min)||{},x=s=>i.value.find(d=>d.index>s+1&&d.size>d.min)||{},Y=()=>{var s;const d=Array.from(((s=y.value)==null?void 0:s.children)||[]);for(const m of d){const c=m.classList.contains("splitpanes__pane"),p=m.classList.contains("splitpanes__splitter");!c&&!p&&(m.remove(),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."))}},S=(s,d,m=!1)=>{const c=s-1,p=document.createElement("div");p.classList.add("splitpanes__splitter"),m||(p.onmousedown=h=>T(h,c),typeof window<"u"&&"ontouchstart"in window&&(p.ontouchstart=h=>T(h,c)),p.onclick=h=>R(h,c+1)),p.ondblclick=h=>Q(h,c+1),d.parentNode.insertBefore(p,d)},N=s=>{s.onmousedown=void 0,s.onclick=void 0,s.ondblclick=void 0,s.remove()},F=()=>{var s;const d=Array.from(((s=y.value)==null?void 0:s.children)||[]);for(const c of d)c.className.includes("splitpanes__splitter")&&N(c);let m=0;for(const c of d)c.className.includes("splitpanes__pane")&&(!m&&l.firstSplitter?S(m,c,!0):m&&S(m,c),m++)},Z=({uid:s,...d})=>{const m=f.value[s];for(const[c,p]of Object.entries(d))m[c]=p},ee=s=>{var d;let m=-1;Array.from(((d=y.value)==null?void 0:d.children)||[]).some(c=>(c.className.includes("splitpanes__pane")&&m++,c.isSameNode(s.el))),i.value.splice(m,0,{...s,index:m}),i.value.forEach((c,p)=>c.index=p),_.value&&pe(()=>{F(),ce({addedPane:i.value[m]}),V("pane-add",{pane:i.value[m]})})},ke=s=>{const d=i.value.findIndex(c=>c.id===s);i.value[d].el=null;const m=i.value.splice(d,1)[0];i.value.forEach((c,p)=>c.index=p),pe(()=>{F(),V("pane-remove",{pane:m}),ce({removedPane:{...m}})})},ce=(s={})=>{!s.addedPane&&!s.removedPane?ie():i.value.some(d=>d.givenSize!==null||d.min||d.max<100)?M(s):Ee(),_.value&&V("resized")},Ee=()=>{const s=100/g.value;let d=0;const m=[],c=[];for(const p of i.value)p.size=Math.max(Math.min(s,p.max),p.min),d-=p.size,p.size>=p.max&&m.push(p.id),p.size<=p.min&&c.push(p.id);d>.1&&he(d,m,c)},ie=()=>{let s=100;const d=[],m=[];let c=0;for(const h of i.value)s-=h.size,h.givenSize!==null&&c++,h.size>=h.max&&d.push(h.id),h.size<=h.min&&m.push(h.id);let p=100;if(s>.1){for(const h of i.value)h.givenSize===null&&(h.size=Math.max(Math.min(s/(g.value-c),h.max),h.min)),p-=h.size;p>.1&&he(p,d,m)}},M=({addedPane:s,removedPane:d}={})=>{let m=100/g.value,c=0;const p=[],h=[];(s?.givenSize??null)!==null&&(m=(100-s.givenSize)/(g.value-1));for(const w of i.value)c-=w.size,w.size>=w.max&&p.push(w.id),w.size<=w.min&&h.push(w.id);if(!(Math.abs(c)<.1)){for(const w of i.value)s?.givenSize!==null&&s?.id===w.id||(w.size=Math.max(Math.min(m,w.max),w.min)),c-=w.size,w.size>=w.max&&p.push(w.id),w.size<=w.min&&h.push(w.id);c>.1&&he(c,p,h)}},he=(s,d,m)=>{let c;s>0?c=s/(g.value-d.length):c=s/(g.value-m.length),i.value.forEach((p,h)=>{if(s>0&&!d.includes(p.id)){const w=Math.max(Math.min(p.size+c,p.max),p.min),U=w-p.size;s-=U,p.size=w}else if(!m.includes(p.id)){const w=Math.max(Math.min(p.size+c,p.max),p.min),U=w-p.size;s-=U,p.size=w}}),Math.abs(s)>.1&&pe(()=>{_.value&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})},V=(s,d=void 0,m=!1)=>{const c=d?.index??C.value.activeSplitter??null;r(s,{...d,...c!==null&&{index:c},...m&&c!==null&&{prevPane:i.value[c-(l.firstSplitter?1:0)],nextPane:i.value[c+(l.firstSplitter?0:1)]},panes:i.value.map(p=>({min:p.min,max:p.max,size:p.size}))})};X(()=>l.firstSplitter,()=>F()),Le(()=>{Y(),F(),ce(),V("ready"),_.value=!0}),$e(()=>_.value=!1);const nt=()=>{var s;return Ne("div",{ref:y,class:E.value},(s=o.default)==null?void 0:s.call(o))};return se("panes",i),se("indexedPanes",f),se("horizontal",q(()=>l.horizontal)),se("requestUpdate",Z),se("onPaneAdd",ee),se("onPaneRemove",ke),se("onPaneClick",G),(s,d)=>(k(),W(ut(nt)))}},He={__name:"pane",props:{size:{type:[Number,String]},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},setup(e){var a;const r=e,l=ve("requestUpdate"),o=ve("onPaneAdd"),i=ve("horizontal"),f=ve("onPaneRemove"),g=ve("onPaneClick"),y=(a=qe())==null?void 0:a.uid,_=ve("indexedPanes"),C=q(()=>_.value[y]),P=O(null),E=q(()=>{const b=isNaN(r.size)||r.size===void 0?0:parseFloat(r.size);return Math.max(Math.min(b,D.value),B.value)}),B=q(()=>{const b=parseFloat(r.minSize);return isNaN(b)?0:b}),D=q(()=>{const b=parseFloat(r.maxSize);return isNaN(b)?100:b}),T=q(()=>{var b;return`${i.value?"height":"width"}: ${(b=C.value)==null?void 0:b.size}%`});return X(()=>E.value,b=>l({uid:y,size:b})),X(()=>B.value,b=>l({uid:y,min:b})),X(()=>D.value,b=>l({uid:y,max:b})),Le(()=>{o({id:y,el:P.value,min:B.value,max:D.value,givenSize:r.size===void 0?null:E.value,size:E.value})}),$e(()=>f(y)),(b,A)=>(k(),L("div",{ref_key:"paneEl",ref:P,class:"splitpanes__pane",onClick:A[0]||(A[0]=R=>u(g)(R,b._.uid)),style:re(T.value)},[K(b.$slots,"default")],4))}},Je=30,kn={__name:"NSplitPane",props:{storageKey:{type:String,required:!1},stateKey:{type:String,required:!1,default:"nuxt-devtools-panels-state"},leftSize:{type:Number,required:!1},minSize:{type:Number,required:!1},horizontal:{type:Boolean,required:!1}},setup(e){const a=e,r=vn(a.stateKey,{},{listenToStorageChanges:!1}),l=a.storageKey,o=l?q({get:()=>r.value[l]||a.leftSize||Je,set:i=>{r.value[l]=i}}):O(a.leftSize||Je);return(i,f)=>(k(),W(u(zn),{horizontal:e.horizontal,"h-full":"","of-hidden":"",onResize:f[0]||(f[0]=g=>o.value=g[0].size)},{default:I(()=>[$(u(He),{"h-full":"",class:"of-auto!",size:u(o),"min-size":i.$slots.right?e.minSize||10:100},{default:I(()=>[K(i.$slots,"left")]),_:3},8,["size","min-size"]),i.$slots.right?(k(),W(u(He),{key:0,relative:"","h-full":"",class:"of-auto!","min-size":e.minSize||10},{default:I(()=>[K(i.$slots,"right")]),_:3},8,["min-size"])):Pe("",!0)]),_:3},8,["horizontal"]))}},_n=ue({__name:"MutationListItem",props:{item:{}},emits:["click"],setup(e){return(a,r)=>(k(),L("div",{class:"grid gap-2 px-2 text-secondary hover:n-bg-hover cursor-pointer truncate max-w-full",style:{"grid-template-columns":"1em 1fr"},onClick:r[0]||(r[0]=l=>a.$emit("click"))},[n("div",{style:re({width:"1em",height:"1em","border-radius":"10%","align-self":"center","background-color":("getMutationBackgroundColor"in a?a.getMutationBackgroundColor:u(Ie))(e.item)})},null,4),n("div",null,z(e.item.options.mutationKey||"No mutation key provided"),1)]))}}),Cn=Object.assign(_n,{__name:"MutationListItem"});let ae;const be=[];function Mn(e){if(be.push(e),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&be.forEach(a=>a(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(a){a&&be.forEach(r=>r(a))},get(){return ae.value},configurable:!0}),()=>{be.splice(be.indexOf(e),1)}}function Pn(){ae||(ae=We(),Mn(a));function e(){ae&&dt(ae)}function a(r){ae.value=r,r.host&&r.host.hooks.hook("host:update:reactivity",e)}return ae}const $n={class:"h-full flex flex-col"},En={class:"flex gap-2 p-2",style:{"border-bottom":"1px solid rgba(128,128,128, 0.8)"}},Rn={key:0,class:"w-full"},Nn={class:"grid grid-cols-[auto_1fr] gap-1 px-2 py-2"},On={class:"grid grid-cols-[auto_1fr] gap-1 px-2 py-2"},Ln={key:1},qn={key:0,class:"w-full"},An={class:"grid grid-cols-[auto_1fr] gap-1 px-2 py-2"},In={class:"grid grid-cols-[auto_1fr] gap-1 px-2 py-2"},Dn={key:1},Bn=ue({__name:"vue-query",setup(e){const a=O("query"),r=O(""),l=O(new Array),o=O(null),i=O(new Array),f=O(null),g=O(""),y=O("key"),_=O("asc"),C=O("key"),P=O("asc"),E=Pn(),B=q(()=>E.value?.host?.nuxt.vueApp.config.globalProperties?.$queryClient),D=q(()=>B.value?.getQueryCache()),T=q(()=>B.value?.getMutationCache()),b=q(()=>{const v=l.value?r.value?l.value.filter(t=>t.queryKey.toString().toLowerCase().includes(r.value.toLowerCase())):l.value:[];return pt(v,y.value,_.value)}),A=q(()=>{const v=i.value?g.value?i.value.filter(t=>t.options.mutationKey?.toString().toLowerCase().includes(g.value.toLowerCase())):i.value:[];return mt(v,C.value,P.value)});function R(v){switch(v.type){case"observerResultsUpdated":case"observerAdded":case"observerRemoved":case"updated":{const t=l.value.find(x=>x.queryHash===v.query.queryHash);t&&(t.state={...v.query.state});break}case"added":l.value.push(v.query);break;case"removed":{const t=l.value.findIndex(x=>x.queryHash===v.query.queryHash);t!==-1&&l.value.splice(t,1),o.value?.queryHash===v.query.queryHash&&(o.value=null);break}}}function Q(v){switch(v.type){case"added":i.value.push(v.mutation);break;case"removed":{const t=i.value.findIndex(x=>x.mutationId===v.mutation.mutationId);t!==-1&&i.value.splice(t,1),f.value?.mutationId===v.mutation.mutationId&&(f.value=null);break}case"updated":{const t=i.value.find(x=>x.mutationId===v.mutation.mutationId);t&&(t.state={...v.mutation.state});break}}}Fe(()=>{if(!D.value)return;D.value.getAll().forEach(t=>{l.value.push(t)});const v=D.value.subscribe(R);$e(()=>{l.value=[],D.value?.clear(),v()})}),Fe(()=>{if(!T.value)return;T.value.getAll().forEach(t=>{i.value.push(t)});const v=T.value.subscribe(Q);$e(()=>{i.value=[],T.value?.clear(),v()})});function G(v){o.value=j(v)}function de(v){f.value=j(v)}function te(v){return Object.entries(v.options).reduce((t,[x,Y])=>(typeof Y=="function"||x==="queryKey"||x==="queryHash"||x==="meta"||x.startsWith("_")||(t[x]=Y),t),{})}function ge(v){if(v.state.error)v.reset(),v.fetch();else{const t=new Error("Unknown error from devtools"),x=v.options;v.setState({status:"error",error:t,fetchMeta:{...v.state.fetchMeta,__previousQueryOptions:x}})}}function ye(v){const t=v.state,x=v.state.fetchMeta?v.state.fetchMeta.__previousQueryOptions:null;v.cancel({silent:!0}),v.setState({...t,fetchStatus:"idle",fetchMeta:null}),x&&v.fetch(x)}function ne(v){if(v.state.data===void 0)ye(v);else{if(!v)return;const t=v.options;v.fetch({...t,queryFn:()=>new Promise(()=>{}),gcTime:-1}),v.setState({data:void 0,status:"pending",fetchMeta:{...v.state.fetchMeta,__previousQueryOptions:t}})}}return(v,t)=>{const x=Ze,Y=St,S=_t,N=Lt,F=Bt,Z=hn,ee=ct("VueJsonPretty"),ke=wn,ce=kn,Ee=Cn,ie=vt("tooltip");return k(),L("div",$n,[n("div",En,[$(x,{class:J(["text-white",{"bg-primary":u(a)==="query"}]),onClick:t[0]||(t[0]=M=>a.value="query")},{default:I(()=>[...t[13]||(t[13]=[xe(" Query Cache ",-1)])]),_:1},8,["class"]),$(x,{class:J({"bg-primary text-white":u(a)==="mutation"}),onClick:t[1]||(t[1]=M=>a.value="mutation")},{default:I(()=>[...t[14]||(t[14]=[xe(" Mutation Cache ",-1)])]),_:1},8,["class"])]),u(a)==="query"?(k(),W(Y,{key:0,queries:u(l)},null,8,["queries"])):(k(),W(S,{key:1,mutations:u(i)},null,8,["mutations"])),u(a)==="query"?(k(),W(ce,{key:2,"storage-key":"tab-vue-query",class:"h-full"},{left:I(()=>[$(N,{search:u(r),"item-label":"queries","total-count":u(l)?.length||0,"sort-field":u(y),"sort-direction":u(_),"onUpdate:search":t[2]||(t[2]=M=>r.value=M),"onUpdate:sortField":t[3]||(t[3]=M=>y.value=M),"onUpdate:sortDirection":t[4]||(t[4]=M=>_.value=M)},null,8,["search","total-count","sort-field","sort-direction"]),(k(!0),L(Se,null,Me(u(b),M=>(k(),W(F,{key:M.queryHash,item:M,onClick:he=>G(M)},null,8,["item","onClick"]))),128))]),right:I(()=>[$(ke,{class:""},{default:I(()=>[u(o)?(k(),L("div",Rn,[$(Z,{icon:"carbon-query",text:"Query Overview",padding:!0},{actions:I(()=>[oe($(x,{title:"Refetch",class:"text-primary self-start",icon:"i-carbon-recycle",disabled:u(o).state.fetchStatus==="fetching",onClick:t[5]||(t[5]=M=>("toRaw"in v?v.toRaw:u(j))(u(o))?.fetch())},null,8,["disabled"]),[[ie,"Refetch"]]),oe($(x,{title:"Invalidate",class:"text-primary self-start",icon:"i-carbon-trash-can",disabled:u(o).state.status==="pending",onClick:t[6]||(t[6]=M=>("toRaw"in v?v.toRaw:u(j))(u(o))?.invalidate())},null,8,["disabled"]),[[ie,"Invalidate"]]),oe($(x,{title:"Reset",class:"text-primary self-start",icon:"i-carbon-restart",disabled:u(o).state.status==="pending",onClick:t[7]||(t[7]=M=>("toRaw"in v?v.toRaw:u(j))(u(o))?.reset())},null,8,["disabled"]),[[ie,"Reset"]]),oe($(x,{title:u(o).state.status==="pending"?"Restore Loading":"Trigger Loading",class:"text-primary self-start",icon:"i-carbon-hourglass",onClick:t[8]||(t[8]=M=>ne(("toRaw"in v?v.toRaw:u(j))(u(o))))},null,8,["title"]),[[ie,u(o).state.status==="pending"?"Restore Loading":"Trigger Loading"]]),oe($(x,{title:u(o).state.status==="error"?"Restore Error":"Trigger Error",class:"text-primary self-start",icon:"i-carbon-warning",disabled:u(o).state.status==="pending",onClick:t[9]||(t[9]=M=>ge(("toRaw"in v?v.toRaw:u(j))(u(o))))},null,8,["title","disabled"]),[[ie,u(o).state.status==="error"?"Restore Error":"Trigger Error"]])]),default:I(()=>[n("div",Nn,[t[15]||(t[15]=n("div",null,[n("strong",null,"Query Key:")],-1)),n("div",null,z(u(o)?.queryKey),1),t[16]||(t[16]=n("div",null,[n("strong",null,"Observers:")],-1)),n("div",null,z(u(o).observers.length),1),t[17]||(t[17]=n("div",null,[n("strong",null,"Overall status:")],-1)),n("div",null,[n("span",{class:"rounded whitespace-nowrap select-none mx-0.5 px-1.5 py-0.5",style:re({"background-color":`${u(Ae)(u(o))}`})},z(u(we)(u(o))),5)]),t[18]||(t[18]=n("div",null,[n("strong",null,"Last Updated:")],-1)),n("div",null,z(new Date(u(o).state.dataUpdatedAt).toLocaleString()),1)])]),_:1}),$(Z,{icon:"carbon-cube",text:"Data Explorer",padding:!0,open:!1},{default:I(()=>[$(ee,{data:u(o).state.data,deep:2,virtual:!0,height:150},null,8,["data"])]),_:1}),$(Z,{icon:"carbon-query-queue",text:"Query Details",padding:!0},{default:I(()=>[n("div",On,[t[19]||(t[19]=n("div",null,[n("strong",null,"Status:")],-1)),n("div",null,z(u(o).state.status),1),t[20]||(t[20]=n("div",null,[n("strong",null,"Fetch Status:")],-1)),n("div",null,z(u(o).state.fetchStatus),1),t[21]||(t[21]=n("div",null,[n("strong",null,"Invalidated:")],-1)),n("div",null,z(u(o).state.isInvalidated),1),t[22]||(t[22]=n("div",null,[n("strong",null,"Update Count:")],-1)),n("div",null,z(u(o).state.dataUpdateCount),1),t[23]||(t[23]=n("div",null,[n("strong",null,"Active:")],-1)),n("div",null,z(u(o).observers.length===0?"Inactive":"Active"),1),t[24]||(t[24]=n("div",null,[n("strong",null,"IsStale:")],-1)),n("div",null,z(("toRaw"in v?v.toRaw:u(j))(u(o))?.isStale()),1),t[25]||(t[25]=n("div",null,[n("strong",null,"Disabled:")],-1)),n("div",null,z(("toRaw"in v?v.toRaw:u(j))(u(o))?.isDisabled()),1),t[26]||(t[26]=n("div",null,[n("strong",null,"GCTime:")],-1)),n("div",null,z(u(o).gcTime),1),t[27]||(t[27]=n("div",null,[n("strong",null,"Options:")],-1)),$(ee,{data:te(u(o)),deep:2,virtual:!0,height:150},null,8,["data"]),t[28]||(t[28]=n("div",null,[n("strong",null,"Meta:")],-1)),$(ee,{data:("toRaw"in v?v.toRaw:u(j))(u(o))?.meta,deep:2,virtual:!0,height:150},null,8,["data"])])]),_:1})])):(k(),L("div",Ln,[...t[29]||(t[29]=[n("span",{class:"op75"},"Select a query",-1)])]))]),_:1})]),_:1})):(k(),W(ce,{key:3,"storage-key":"tab-vue-mutation",class:"h-full"},{left:I(()=>[$(N,{search:u(g),"item-label":"mutations","total-count":u(i)?.length||0,"sort-field":u(C),"sort-direction":u(P),"onUpdate:search":t[10]||(t[10]=M=>g.value=M),"onUpdate:sortField":t[11]||(t[11]=M=>C.value=M),"onUpdate:sortDirection":t[12]||(t[12]=M=>P.value=M)},null,8,["search","total-count","sort-field","sort-direction"]),(k(!0),L(Se,null,Me(u(A),M=>(k(),W(Ee,{key:M.mutationId,item:M,onClick:he=>de(M)},null,8,["item","onClick"]))),128))]),right:I(()=>[$(ke,{class:""},{default:I(()=>[u(f)?(k(),L("div",qn,[$(Z,{icon:"carbon-status-change",text:"Mutation Overview",padding:!0},{default:I(()=>[n("div",An,[t[30]||(t[30]=n("div",null,[n("strong",null,"Mutation Key:")],-1)),n("div",null,z(u(f)?.options.mutationKey),1),t[31]||(t[31]=n("div",null,[n("strong",null,"Status:")],-1)),n("div",null,[n("span",{class:"rounded whitespace-nowrap select-none mx-0.5 px-1.5 py-0.5",style:re({"background-color":`${u(Ie)(u(f))}`})},z(u(ze)(u(f))),5)]),t[32]||(t[32]=n("div",null,[n("strong",null,"Submitted:")],-1)),n("div",null,z(new Date(u(f).state.submittedAt).toLocaleString()),1)])]),_:1}),$(Z,{icon:"carbon-cube",text:"Data Explorer",padding:!0,open:!1},{default:I(()=>[$(ee,{data:u(f).state.data,deep:2,virtual:!0,height:150},null,8,["data"])]),_:1}),$(Z,{icon:"carbon-query-queue",text:"Mutation Details",padding:!0},{default:I(()=>[n("div",In,[t[33]||(t[33]=n("div",null,[n("strong",null,"Status:")],-1)),n("div",null,z(u(f).state.status),1),t[34]||(t[34]=n("div",null,[n("strong",null,"Mutation Id:")],-1)),n("div",null,z(u(f).mutationId),1),t[35]||(t[35]=n("div",null,[n("strong",null,"IsPaused:")],-1)),n("div",null,z(u(f).state.isPaused),1),t[36]||(t[36]=n("div",null,[n("strong",null,"Failure Count:")],-1)),n("div",null,z(u(f).state.failureCount),1),t[37]||(t[37]=n("div",null,[n("strong",null,"Failure Reason:")],-1)),n("div",null,z(u(f).state.failureReason),1),t[38]||(t[38]=n("div",null,[n("strong",null,"GCTime:")],-1)),n("div",null,z(u(f).gcTime),1),t[39]||(t[39]=n("div",null,[n("strong",null,"Variables:")],-1)),$(ee,{data:("toRaw"in v?v.toRaw:u(j))(u(f))?.state?.variables,deep:2,virtual:!0,height:150},null,8,["data"]),t[40]||(t[40]=n("div",null,[n("strong",null,"Meta:")],-1)),$(ee,{data:("toRaw"in v?v.toRaw:u(j))(u(f))?.meta,deep:2,virtual:!0,height:150},null,8,["data"])])]),_:1})])):(k(),L("div",Dn,[...t[41]||(t[41]=[n("span",{class:"op75"},"Select a mutation",-1)])]))]),_:1})]),_:1}))])}}});export{Bn as default};
@@ -0,0 +1 @@
1
+ import{g as O,T as A,e as q,y as j,U,L as E,j as P,R as _,V as N,W as H,H as I,G as V,X as T,Y as D,s as o,Z as F,p as b,$ as W,a0 as B,a1 as z,a2 as M,a3 as $,a4 as G,a5 as Q,a6 as X}from"./2dXNUnx1.js";const Y=(...t)=>t.find(c=>c!==void 0);function Z(t){const c=t.componentName||"NuxtLink";function v(e){return typeof e=="string"&&e.startsWith("#")}function C(e,l,d){const a=d??t.trailingSlash;if(!e||a!=="append"&&a!=="remove")return e;if(typeof e=="string")return k(e,a);const i="path"in e&&e.path!==void 0?e.path:l(e).path;return{...e,name:void 0,path:k(i,a)}}function w(e){const l=A(),d=z(),a=b(()=>!!o(e.target)&&o(e.target)!=="_self"),i=b(()=>{const u=o(e.to)||o(e.href)||"";return typeof u=="string"&&B(u,{acceptRelative:!0})}),m=_("RouterLink"),g=m&&typeof m!="string"?m.useLink:void 0,f=b(()=>{if(o(e.external))return!0;const u=o(e.to)||o(e.href)||"";return typeof u=="object"?!1:u===""||i.value}),r=b(()=>{const u=o(e.to)||o(e.href)||"";return f.value?u:C(u,l.resolve,o(e.trailingSlash))}),y=f.value?void 0:g?.({...e,to:r,viewTransition:o(e.viewTransition)}),p=b(()=>{const u=o(e.trailingSlash)??t.trailingSlash;if(!r.value||i.value||v(r.value))return r.value;if(f.value){const R=typeof r.value=="object"&&"path"in r.value?T(r.value):r.value,S=typeof R=="object"?l.resolve(R).href:R;return k(S,u)}return typeof r.value=="object"?l.resolve(r.value)?.href??null:k(W(d.app.baseURL,r.value),u)});return{to:r,hasTarget:a,isAbsoluteUrl:i,isExternal:f,href:p,isActive:y?.isActive??b(()=>r.value===l.currentRoute.value.path),isExactActive:y?.isExactActive??b(()=>r.value===l.currentRoute.value.path),route:y?.route??b(()=>l.resolve(r.value)),async navigate(u){await F(p.value,{replace:o(e.replace),external:f.value||a.value})}}}return O({name:c,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:w,setup(e,{slots:l}){const d=A(),{to:a,href:i,navigate:m,isExternal:g,hasTarget:f,isAbsoluteUrl:r}=w(e),y=I(!1),p=V(null),u=s=>{p.value=e.custom?s?.$el?.nextElementSibling:s?.$el};function R(s){return!y.value&&(typeof e.prefetchOn=="string"?e.prefetchOn===s:e.prefetchOn?.[s]??t.prefetchOn?.[s])&&(e.prefetch??t.prefetch)!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!ee()}async function S(s=q()){if(y.value)return;y.value=!0;const h=typeof a.value=="string"?a.value:g.value?T(a.value):d.resolve(a.value).fullPath,n=g.value?new URL(h,window.location.href).href:h;await Promise.all([s.hooks.callHook("link:prefetch",n)?.catch(()=>{}),!g.value&&!f.value&&D(a.value,d).catch(()=>{})])}if(R("visibility")){const s=q();let h,n=null;j(()=>{const x=J();U(()=>{h=G(()=>{p?.value?.tagName&&(n=x.observe(p.value,async()=>{n?.(),n=null,await S(s)}))})})}),E(()=>{h&&Q(h),n?.(),n=null})}return()=>{if(!g.value&&!f.value&&!v(a.value)){const n={ref:u,to:a.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(R("interaction")&&(n.onPointerenter=S.bind(null,void 0),n.onFocus=S.bind(null,void 0)),y.value&&(n.class=e.prefetchedClass||t.prefetchedClass),n.rel=e.rel||void 0),P(_("RouterLink"),n,l.default)}const s=e.target||null,h=Y(e.noRel?"":e.rel,t.externalRelAttribute,r.value||f.value?"noopener noreferrer":"")||null;return e.custom?l.default?l.default({href:i.value,navigate:m,prefetch:S,get route(){if(!i.value)return;const n=new URL(i.value,window.location.href);return{path:n.pathname,fullPath:n.pathname,get query(){return N(n.search)},hash:n.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:i.value}},rel:h,target:s,isExternal:g.value||f.value,isActive:!1,isExactActive:!1}):null:P("a",{ref:p,href:i.value||null,rel:h,target:s,onClick:async n=>{if(!(g.value||f.value)){n.preventDefault();try{const x=H(i.value);return await(e.replace?d.replace(x):d.push(x))}finally{if(v(a.value)){const x=a.value.slice(1);let L=x;try{L=decodeURIComponent(x)}catch{}document.getElementById(L)?.focus()}}}}},l.default?.())}}})}const ne=Z(X);function k(t,c){const v=c==="append"?M:$;return B(t)&&!t.startsWith("http")?t:v(t,!0)}function J(){const t=q();if(t._observer)return t._observer;let c=null;const v=new Map,C=(e,l)=>(c||=new IntersectionObserver(d=>{for(const a of d){const i=v.get(a.target);(a.isIntersecting||a.intersectionRatio>0)&&i&&i()}}),v.set(e,l),c.observe(e),()=>{v.delete(e),c?.unobserve(e),v.size===0&&(c?.disconnect(),c=null)});return t._observer={observe:C}}const K=/2g/;function ee(){const t=navigator.connection;return!!(t&&(t.saveData||K.test(t.effectiveType)))}export{ne as _};
@@ -1 +1 @@
1
- import{u as a,e as s,h as u,i as r,f as h}from"./MXEltRQo.js";function i(t){const e=t||s();return e.ssrContext?.head||e.runWithContext(()=>{if(u()){const n=r(h);if(!n)throw new Error("[nuxt] [unhead] Missing Unhead instance.");return n}})}function d(t,e={}){const n=e.head||i(e.nuxt);return a(t,{head:n,...e})}export{d as u};
1
+ import{u as a,e as s,h as u,i as r,f as h}from"./2dXNUnx1.js";function i(t){const e=t||s();return e.ssrContext?.head||e.runWithContext(()=>{if(u()){const n=r(h);if(!n)throw new Error("[nuxt] [unhead] Missing Unhead instance.");return n}})}function d(t,e={}){const n=e.head||i(e.nuxt);return a(t,{head:n,...e})}export{d as u};
@@ -1 +1 @@
1
- import{_ as o,o as s,c as a,a as t,t as r}from"./MXEltRQo.js";import{u as i}from"./gxEeezWO.js";const u={class:"antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide"},c={class:"max-w-520px text-center"},l=["textContent"],d=["textContent"],p=["textContent"],f={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},status:{type:Number,default:500},statusText:{type:String,default:"Internal server error"},description:{type:String,default:"This page is temporarily unavailable."},refresh:{type:String,default:"Refresh this page"}},setup(e){const n=e;return i({title:`${n.status} - ${n.statusText} | ${n.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}h1,h2,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(h,m)=>(s(),a("div",u,[t("div",c,[t("h1",{class:"font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]",textContent:r(e.status)},null,8,l),t("h2",{class:"font-semibold mb-2 sm:text-3xl text-2xl",textContent:r(e.statusText)},null,8,d),t("p",{class:"mb-4 px-2 text-[#64748B] text-md",textContent:r(e.description)},null,8,p)])]))}},x=o(f,[["__scopeId","data-v-c11a574b"]]);export{x as default};
1
+ import{_ as o,o as s,c as a,a as t,t as r}from"./2dXNUnx1.js";import{u as i}from"./W4diRMiu.js";const u={class:"antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide"},l={class:"max-w-520px text-center"},c=["textContent"],d=["textContent"],p=["textContent"],f={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},status:{type:Number,default:500},statusText:{type:String,default:"Internal server error"},description:{type:String,default:"This page is temporarily unavailable."},refresh:{type:String,default:"Refresh this page"}},setup(e){const n=e;return i({title:`${n.status} - ${n.statusText} | ${n.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}h1,h2,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(h,m)=>(s(),a("div",u,[t("div",l,[t("h1",{class:"font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]",textContent:r(e.status)},null,8,c),t("h2",{class:"font-semibold mb-2 sm:text-3xl text-2xl",textContent:r(e.statusText)},null,8,d),t("p",{class:"mb-4 px-2 text-[#64748B] text-md",textContent:r(e.description)},null,8,p)])]))}},x=o(f,[["__scopeId","data-v-5b74de36"]]);export{x as default};
@@ -1 +1 @@
1
- {"id":"62db18fe-059f-4b8a-899a-55551a5cad7e","timestamp":1772826888585}
1
+ {"id":"f530576b-c79d-40ef-9ec1-38baa4dc0510","timestamp":1778099698860}
@@ -0,0 +1 @@
1
+ {"id":"f530576b-c79d-40ef-9ec1-38baa4dc0510","timestamp":1778099698860,"prerendered":[]}
@@ -0,0 +1 @@
1
+ :root{--nui-c-context:125,125,125}html{background-color:#fff}html.dark{background-color:#151515;color:#fff;color-scheme:dark}::-moz-selection{background:#8884}::selection{background:#8884}.shiki .line{display:inline-block;position:relative;width:100%}.shiki.diff .line>span{filter:saturate(.75);opacity:.75}.shiki.diff .line-added,.shiki.diff .line-removed{scroll-margin:5em}.shiki.diff .line-added>span,.shiki.diff .line-removed>span{opacity:1!important;position:inherit;scroll-margin:20px;z-index:100}.shiki.diff .line-added>span{color:#218c3b!important}.shiki.diff .line-removed>span{color:#d15547!important}.shiki .line-added:after{background-color:#43885420}.shiki .line-added:after,.shiki .line-removed:after{content:"";display:block;inset:0;position:absolute}.shiki .line-removed:after{background-color:#8f4c3926}::view-transition-new(root),::view-transition-old(root){animation:none;mix-blend-mode:normal}::view-transition-old(root){z-index:1}::view-transition-new(root){z-index:2147483646}.dark::view-transition-old(root){z-index:2147483646}.dark::view-transition-new(root){z-index:1}.vjs-tree-brackets{cursor:pointer}.vjs-tree-brackets:hover{color:#1890ff}.vjs-check-controller{left:0;position:absolute}.vjs-check-controller.is-checked .vjs-check-controller-inner{background-color:#1890ff;border-color:#0076e4}.vjs-check-controller.is-checked .vjs-check-controller-inner.is-checkbox:after{-webkit-transform:rotate(45deg) scaleY(1);transform:rotate(45deg) scaleY(1)}.vjs-check-controller.is-checked .vjs-check-controller-inner.is-radio:after{-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1)}.vjs-check-controller .vjs-check-controller-inner{background-color:#fff;border:1px solid #bfcbd9;border-radius:2px;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:inline-block;height:16px;position:relative;-webkit-transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46);transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46);vertical-align:middle;width:16px;z-index:1}.vjs-check-controller .vjs-check-controller-inner:after{border:2px solid #fff;border-left:0;border-top:0;-webkit-box-sizing:content-box;box-sizing:content-box;content:"";height:8px;left:4px;position:absolute;top:1px;-webkit-transform:rotate(45deg) scaleY(0);transform:rotate(45deg) scaleY(0);-webkit-transform-origin:center;transform-origin:center;-webkit-transition:-webkit-transform .15s cubic-bezier(.71,-.46,.88,.6) .05s;transition:-webkit-transform .15s cubic-bezier(.71,-.46,.88,.6) .05s;transition:transform .15s cubic-bezier(.71,-.46,.88,.6) .05s;transition:transform .15s cubic-bezier(.71,-.46,.88,.6) .05s,-webkit-transform .15s cubic-bezier(.71,-.46,.88,.6) .05s;width:4px}.vjs-check-controller .vjs-check-controller-inner.is-radio{border-radius:100%}.vjs-check-controller .vjs-check-controller-inner.is-radio:after{background-color:#fff;border-radius:100%;height:4px;left:50%;top:50%}.vjs-check-controller .vjs-check-controller-original{inset:0;margin:0;opacity:0;outline:none;position:absolute;z-index:-1}.vjs-carets{cursor:pointer;position:absolute;right:0}.vjs-carets svg{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.vjs-carets:hover{color:#1890ff}.vjs-carets-close{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.vjs-tree-node{display:-webkit-box;display:-ms-flexbox;display:flex;line-height:20px;position:relative}.vjs-tree-node.has-carets{padding-left:15px}.vjs-tree-node.has-carets.has-selector,.vjs-tree-node.has-selector{padding-left:30px}.vjs-tree-node.is-highlight,.vjs-tree-node:hover{background-color:#e6f7ff;border-radius:4px}.vjs-tree-node.is-highlight .vjs-tree-node-actions,.vjs-tree-node:hover .vjs-tree-node-actions{display:block}.vjs-tree-node .vjs-indent{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative}.vjs-tree-node .vjs-indent-unit.has-line{border-left:1px dashed #bfcbd9}.vjs-tree-node .vjs-tree-node-actions{background-color:#e6f7ff;border-radius:4px;display:none;padding:0 4px;position:absolute;right:0;top:0}.vjs-tree-node .vjs-tree-node-actions .vjs-tree-node-actions-item{cursor:pointer}.vjs-tree-node .vjs-tree-node-actions .vjs-tree-node-actions-item:hover{color:#1890ff}.vjs-tree-node.dark .vjs-tree-node-actions,.vjs-tree-node.dark.is-highlight,.vjs-tree-node.dark:hover{background-color:#2e4558}.vjs-node-index{margin-right:4px;position:absolute;right:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vjs-colon{white-space:pre}.vjs-comment{color:#bfcbd9}.vjs-key{white-space:nowrap}.vjs-value{word-break:break-word}.vjs-tree-node.dynamic-height .vjs-value{white-space:pre-wrap}.vjs-value-null,.vjs-value-undefined{color:#d55fde}.vjs-value-boolean,.vjs-value-number{color:#1d8ce0}.vjs-value-string{color:#13ce66}.vjs-tree{font-family:Monaco,Menlo,Consolas,Bitstream Vera Sans Mono,monospace;font-size:14px;text-align:left}.vjs-tree.is-virtual{overflow:auto}.vjs-tree.is-virtual .vjs-tree-node{white-space:nowrap}*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}@font-face{font-display:swap;font-family:DM Mono;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmmono/v16/aFTU7PB1QTsUX8KYthSQBK6PYK3EXw.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:DM Mono;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmmono/v16/aFTU7PB1QTsUX8KYthqQBK6PYK0.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:DM Sans;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmsans/v17/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAopxRR232RmYJp8I5zzw.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:DM Sans;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmsans/v17/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAopxRSW32RmYJp8I5.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.carbon-chevron-down{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16 22L6 12l1.4-1.4l8.6 8.6l8.6-8.6L26 12z'/%3E%3C/svg%3E")}.carbon-chevron-down,.carbon-cube{background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.carbon-cube{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m28.504 8.136l-12-7a1 1 0 0 0-1.008 0l-12 7A1 1 0 0 0 3 9v14a1 1 0 0 0 .496.864l12 7a1 1 0 0 0 1.008 0l12-7A1 1 0 0 0 29 23V9a1 1 0 0 0-.496-.864M16 3.158L26.016 9L16 14.842L5.984 9ZM5 10.74l10 5.833V28.26L5 22.426Zm12 17.52V16.574l10-5.833v11.685Z'/%3E%3C/svg%3E")}.carbon-query{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Ccircle cx='11' cy='15.5' r='1.5' fill='currentColor'/%3E%3Cpath fill='currentColor' d='M12 12h-2V8h2a2 2 0 0 0 0-4h-2a2 2 0 0 0-2 2v.5H6V6a4.005 4.005 0 0 1 4-4h2a4 4 0 0 1 0 8Z'/%3E%3Cpath fill='currentColor' d='M22.448 21.034a10.97 10.97 0 0 0-2.527-16.29l-.999 1.73A8.997 8.997 0 1 1 5 14H3a10.992 10.992 0 0 0 18.034 8.448L28.586 30L30 28.586Z'/%3E%3C/svg%3E")}.carbon-query,.carbon-query-queue{background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.carbon-query-queue{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M10 6h18v2H10zm0 6h18v2H10zm5 6h13v2H15zm-5 6h18v2H10zM4 14l7 5l-7 5z'/%3E%3C/svg%3E")}.carbon-status-change{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath d='M7 30a5 5 0 1 1 5-5a5.006 5.006 0 0 1-5 5zm0-8a3 3 0 1 0 3 3a3.003 3.003 0 0 0-3-3z' fill='currentColor'/%3E%3Cpath d='M23 30a5 5 0 1 1 5-5a5.006 5.006 0 0 1-5 5zm0-8a3 3 0 1 0 3 3a3.003 3.003 0 0 0-3-3z' fill='currentColor'/%3E%3Cpath d='M24 7v7l3.586-3.414L29 12l-6 6l-6-6l1.414-1.414L22 14V7a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v11H6V7a3.003 3.003 0 0 1 3-3h12a3.003 3.003 0 0 1 3 3z' fill='currentColor'/%3E%3C/svg%3E")}.carbon-status-change,.i-carbon-checkmark-filled{background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.i-carbon-checkmark-filled{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2m-2 19.59l-5-5L10.59 15L14 18.41L21.41 11l1.596 1.586Z'/%3E%3Cpath fill='none' d='m14 21.591l-5-5L10.591 15L14 18.409L21.41 11l1.595 1.585z'/%3E%3C/svg%3E")}.i-carbon-error-filled{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' d='M9 10.555L10.555 9L23 21.444L21.444 23z'/%3E%3Cpath fill='currentColor' d='M16 2A13.914 13.914 0 0 0 2 16a13.914 13.914 0 0 0 14 14a13.914 13.914 0 0 0 14-14A13.914 13.914 0 0 0 16 2m5.445 21L9 10.556L10.556 9L23 21.445Z'/%3E%3C/svg%3E")}.i-carbon-error-filled,.i-carbon-help-filled{background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.i-carbon-help-filled{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2m0 23a1.5 1.5 0 1 1 1.5-1.5A1.5 1.5 0 0 1 16 25m1.142-7.754v2.501h-2.25V15h2.125a2.376 2.376 0 0 0 0-4.753h-1.5a2.38 2.38 0 0 0-2.375 2.375v.638h-2.25v-.638A4.63 4.63 0 0 1 15.517 8h1.5a4.624 4.624 0 0 1 .125 9.246'/%3E%3Cpath fill='none' d='M16 25a1.5 1.5 0 1 1 1.5-1.5A1.5 1.5 0 0 1 16 25m1.142-7.754v2.501h-2.25V15h2.125a2.376 2.376 0 0 0 0-4.753h-1.5a2.38 2.38 0 0 0-2.375 2.375v.638h-2.25v-.638A4.63 4.63 0 0 1 15.517 8h1.5a4.624 4.624 0 0 1 .125 9.246'/%3E%3C/svg%3E")}.i-carbon-hourglass{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M15 19h2v2h-2zm0 4h2v2h-2z'/%3E%3Cpath fill='currentColor' d='M23 11.67V4h3V2H6v2h3v7.67a2 2 0 0 0 .4 1.2L11.75 16L9.4 19.13a2 2 0 0 0-.4 1.2V28H6v2h20v-2h-3v-7.67a2 2 0 0 0-.4-1.2L20.25 16l2.35-3.13a2 2 0 0 0 .4-1.2M21 4v7H11V4Zm0 16.33V28H11v-7.67L14.25 16L12 13h8l-2.25 3Z'/%3E%3C/svg%3E")}.i-carbon-hourglass,.i-carbon-navaid-helipad{background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.i-carbon-navaid-helipad{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M18 9v6h-4V9h-2v14h2v-6h4v6h2V9z'/%3E%3Cpath fill='currentColor' d='M16 30a14 14 0 1 1 14-14a14.016 14.016 0 0 1-14 14m0-26a12 12 0 1 0 12 12A12.014 12.014 0 0 0 16 4'/%3E%3C/svg%3E")}.i-carbon-pause-outline-filled{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2m-2 20h-2V10h2Zm6 0h-2V10h2Z'/%3E%3C/svg%3E")}.i-carbon-pause-outline-filled,.i-carbon-play-outline-filled{background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.i-carbon-play-outline-filled{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' d='M11 23a1 1 0 0 1-1-1V10a1 1 0 0 1 1.447-.894l12 6a1 1 0 0 1 0 1.788l-12 6A1 1 0 0 1 11 23m1-11.382v8.764L20.764 16Z'/%3E%3Cpath fill='currentColor' d='M12 20.382L20.764 16L12 11.618z'/%3E%3Cpath fill='currentColor' d='M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2m7.447 14.895l-12 6A1 1 0 0 1 10 22V10a1 1 0 0 1 1.447-.894l12 6a1 1 0 0 1 0 1.788'/%3E%3C/svg%3E")}.i-carbon-recycle{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m29.508 22.255l-2.078-3.74l-1.748.97l2.078 3.742a1.85 1.85 0 0 1-.023 1.853c-.34.576-.941.92-1.61.92H18.83l2.58-2.59L20 22l-5 5l5 5l1.41-1.41L18.83 28h7.298a3.83 3.83 0 0 0 3.332-1.906a3.83 3.83 0 0 0 .048-3.84ZM5.873 26a1.85 1.85 0 0 1-1.61-.92a1.85 1.85 0 0 1-.022-1.853l4.11-7.4l1.049 3.52l1.912-.567L9.303 12l-6.78 2.008l.567 1.912l3.493-1.03l-4.09 7.365a3.83 3.83 0 0 0 .047 3.84A3.83 3.83 0 0 0 5.873 28H12v-2zM25.51 9.654l-1.048 3.519L19.35 3.97C18.664 2.737 17.412 2 16 2s-2.665.737-3.35 1.971L9.57 9.515l1.749.97l3.08-5.543C14.725 4.352 15.324 4 16 4s1.274.353 1.602.942l5.092 9.167l-3.494-1.03l-.566 1.913L25.414 17l2.008-6.78z'/%3E%3C/svg%3E")}.i-carbon-recycle,.i-carbon-restart{background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.i-carbon-restart{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M26 18A10 10 0 1 1 16 8h6.182l-3.584 3.585L20 13l6-6l-6-6l-1.402 1.414L22.185 6H16a12 12 0 1 0 12 12Z'/%3E%3C/svg%3E")}.i-carbon-search{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m29 27.586l-7.552-7.552a11.018 11.018 0 1 0-1.414 1.414L27.586 29ZM4 13a9 9 0 1 1 9 9a9.01 9.01 0 0 1-9-9'/%3E%3C/svg%3E")}.i-carbon-search,.i-carbon-trash-can{background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.i-carbon-trash-can{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 12h2v12h-2zm6 0h2v12h-2z'/%3E%3Cpath fill='currentColor' d='M4 6v2h2v20a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8h2V6Zm4 22V8h16v20Zm4-26h8v2h-8z'/%3E%3C/svg%3E")}.i-carbon-view-filled{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Ccircle cx='16' cy='16' r='4' fill='currentColor'/%3E%3Cpath fill='currentColor' d='M30.94 15.66A16.69 16.69 0 0 0 16 5A16.69 16.69 0 0 0 1.06 15.66a1 1 0 0 0 0 .68A16.69 16.69 0 0 0 16 27a16.69 16.69 0 0 0 14.94-10.66a1 1 0 0 0 0-.68M16 22.5a6.5 6.5 0 1 1 6.5-6.5a6.51 6.51 0 0 1-6.5 6.5'/%3E%3C/svg%3E")}.i-carbon-view-filled,.i-carbon-view-off-filled{background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.i-carbon-view-off-filled{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M30.94 15.66a16.4 16.4 0 0 0-5.73-7.45L30 3.41L28.59 2L2 28.59L3.41 30l5.1-5.09A15.4 15.4 0 0 0 16 27a16.69 16.69 0 0 0 14.94-10.66a1 1 0 0 0 0-.68M16 22.5a6.46 6.46 0 0 1-3.83-1.26L14 19.43A4 4 0 0 0 19.43 14l1.81-1.81A6.49 6.49 0 0 1 16 22.5m-11.47-.69l5-5A7 7 0 0 1 9.5 16A6.51 6.51 0 0 1 16 9.5a7 7 0 0 1 .79.05l3.78-3.77A14.4 14.4 0 0 0 16 5A16.69 16.69 0 0 0 1.06 15.66a1 1 0 0 0 0 .68a15.9 15.9 0 0 0 3.47 5.47'/%3E%3C/svg%3E")}.i-carbon-warning{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='inline-block' vertical-align='middle' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2m0 26a12 12 0 1 1 12-12a12 12 0 0 1-12 12'/%3E%3Cpath fill='currentColor' d='M15 8h2v11h-2zm1 14a1.5 1.5 0 1 0 1.5 1.5A1.5 1.5 0 0 0 16 22'/%3E%3C/svg%3E");background-color:currentColor;color:inherit;display:inline-block;height:1.2em;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle;width:1.2em}.n-button-icon{font-size:1.1em;margin-left:-.2em;margin-right:.2em}.n-icon-button{aspect-ratio:1/1;border-radius:.25rem;height:1.6em;opacity:.5;width:1.6em}.n-icon-button,.n-panel-grids-center{align-items:center;display:flex;justify-content:center}.n-panel-grids-center{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' transform='scale(3)'%3E%3Crect width='100%25' height='100%25' fill='%23fff'/%3E%3Cpath fill='none' stroke='hsla(0, 0%25, 98%25, 1)' stroke-width='.2' d='M10 0v20ZM0 10h20Z'/%3E%3C/svg%3E");background-size:40px 40px;flex-direction:column;gap:.5rem;height:100%}.n-button-base{align-items:center;border-color:#9ca3af33;border-radius:.25rem;border-width:1px;display:inline-flex;gap:.25rem;opacity:.8;padding:.25em 1em;touch-action:manipulation;--un-shadow:var(--un-shadow-inset) 0 1px 2px 0 var(--un-shadow-color,rgba(0,0,0,.05));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);outline:2px solid transparent!important;outline-offset:2px!important}.n-icon{flex:none}.hover\:n-button-hover:hover{--un-border-opacity:1!important;border-color:rgba(var(--nui-c-context),var(--un-border-opacity))!important;--un-text-opacity:1;color:rgba(var(--nui-c-context),var(--un-text-opacity));opacity:1}.hover\:n-bg-hover:hover{background-color:#9ca3af08}.n-icon-button:hover{background-color:#9ca3af0d;opacity:1}.active\:n-button-active:active{background-color:rgba(var(--nui-c-context),.05);--un-ring-width:3px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);--un-ring-color:rgba(var(--nui-c-context),.1)}.focus-visible\:n-focus-base:focus-visible{--un-ring-width:2px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);--un-ring-color:rgba(var(--nui-c-context),.5)}.n-transition{transition-duration:.15s;transition-duration:.2s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.dark .n-panel-grids-center{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' transform='scale(3)'%3E%3Crect width='100%25' height='100%25' fill='hsl(0, 0%25, 8.5%25)'/%3E%3Cpath fill='none' stroke='hsl(0, 0%25, 11.0%25)' stroke-width='.2' d='M10 0v20ZM0 10h20Z'/%3E%3C/svg%3E");background-size:40px 40px}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.relative,[relative=""]{position:relative}.left-3{left:.75rem}.top-1\/2{top:50%}.grid{display:grid}.grid-cols-\[auto_1fr\]{grid-template-columns:auto 1fr}.grid-cols-\[auto_auto_auto\]{grid-template-columns:auto auto auto}.grid-cols-\[minmax\(0\,1fr\)_auto\]{grid-template-columns:minmax(0,1fr) auto}.mx-0\.5{margin-left:.125rem;margin-right:.125rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mt1{margin-top:.25rem}.h-8{height:2rem}.h-full,[h-full=""]{height:100%}.max-w-520px{max-width:520px}.max-w-full{max-width:100%}.min-h-screen{min-height:100vh}.min-w-16{min-width:4rem}.w-auto{width:auto}.w-full{width:100%}.flex,[flex~="~"]{display:flex}.inline-flex{display:inline-flex}.flex-auto{flex:1 1 auto}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.-translate-y-1\/2{--un-translate-y:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.cursor-pointer,[cursor-pointer=""]{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.place-content-center{place-content:center}.place-self-start,[place-self-start=""]{place-self:start}.items-center,[items-center=""]{align-items:center}.self-start{align-self:flex-start}.justify-center{justify-content:center}.flex-gap2,.gap-2{gap:.5rem}.gap-1{gap:.25rem}.gap-3,[flex~=gap-3]{gap:.75rem}.of-auto\!{overflow:auto!important}.of-hidden,.overflow-hidden,.truncate,[of-hidden=""]{overflow:hidden}.truncate{text-overflow:ellipsis}.truncate,.whitespace-nowrap{white-space:nowrap}.border{border-width:1px}.b-b-1{border-bottom-width:1px}.b-\[rgba\(128\,128\,128\,0\.8\)\]{--un-border-opacity:.8;border-color:rgba(128,128,128,var(--un-border-opacity))}.rounded{border-radius:.25rem}.bg-primary{--un-bg-opacity:1;background-color:rgb(9 158 97/var(--un-bg-opacity))}.bg-white{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.dark .dark\:bg-\[\#020420\]{--un-bg-opacity:1;background-color:rgb(2 4 32/var(--un-bg-opacity))}.p-2{padding:.5rem}.p4{padding:1rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px4{padding-left:1rem;padding-right:1rem}.py-0\.5{padding-bottom:.125rem;padding-top:.125rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.pb6{padding-bottom:1.5rem}.pl-9{padding-left:2.25rem}.pr-1{padding-right:.25rem}.pt2{padding-top:.5rem}.text-center{text-align:center}.text-right{text-align:right}.text-\[80px\]{font-size:80px}.text-2xl{font-size:1.5rem;line-height:2rem}.text-base,[text-base=""]{font-size:1rem;line-height:1.5rem}.text-sm,[text-sm=""]{font-size:.875rem;line-height:1.25rem}.text-xl,[text-xl=""]{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.dark .dark\:text-white,.text-white{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}.text-\[\#020420\]{--un-text-opacity:1;color:rgb(2 4 32/var(--un-text-opacity))}.text-\[\#64748B\]{--un-text-opacity:1;color:rgb(100 116 139/var(--un-text-opacity))}.text-blue{--un-text-opacity:1;color:rgb(96 165 250/var(--un-text-opacity))}.text-gray{--un-text-opacity:1;color:rgb(156 163 175/var(--un-text-opacity))}.text-green{--un-text-opacity:1;color:rgb(74 222 128/var(--un-text-opacity))}.text-primary{--un-text-opacity:1;color:rgb(9 158 97/var(--un-text-opacity))}.text-red{--un-text-opacity:1;color:rgb(248 113 113/var(--un-text-opacity))}.hover\:text-\[\#00DC82\]:hover{--un-text-opacity:1;color:rgb(0 220 130/var(--un-text-opacity))}.font-medium{font-weight:500}.font-semibold{font-weight:600}.leading-none{line-height:1}.tracking-wide{letter-spacing:.025em}.font-mono{font-family:DM Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:DM Sans,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.tabular-nums{--un-numeric-spacing:tabular-nums;font-variant-numeric:var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)}.underline{text-decoration-line:underline}.underline-offset-3{text-underline-offset:3px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.op100{opacity:1}.op50,[op50=""]{opacity:.5}.op60{opacity:.6}.op75,[op75=""]{opacity:.75}.transition,[transition=""]{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-500,[duration-500=""]{transition-duration:.5s}.ease{transition-timing-function:cubic-bezier(.4,0,.2,1)}.n-disabled\:n-disabled[disabled],[disabled] .n-disabled\:n-disabled{filter:saturate(0);opacity:.6;pointer-events:none}@media(min-width:640px){.sm\:text-\[110px\]{font-size:110px}.sm\:text-3xl{font-size:1.875rem;line-height:2.25rem}}
@@ -0,0 +1 @@
1
+ .grid[data-v-044f13c0]{display:grid}.mb-2[data-v-044f13c0]{margin-bottom:.5rem}.mb-4[data-v-044f13c0]{margin-bottom:1rem}.max-w-520px[data-v-044f13c0]{max-width:520px}.min-h-screen[data-v-044f13c0]{min-height:100vh}.w-full[data-v-044f13c0]{width:100%}.flex[data-v-044f13c0]{display:flex}.place-content-center[data-v-044f13c0]{place-content:center}.items-center[data-v-044f13c0]{align-items:center}.justify-center[data-v-044f13c0]{justify-content:center}.overflow-hidden[data-v-044f13c0]{overflow:hidden}.bg-white[data-v-044f13c0]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-2[data-v-044f13c0]{padding-left:.5rem;padding-right:.5rem}.text-center[data-v-044f13c0]{text-align:center}.text-\[80px\][data-v-044f13c0]{font-size:80px}.text-2xl[data-v-044f13c0]{font-size:1.5rem;line-height:2rem}.text-sm[data-v-044f13c0]{font-size:.875rem;line-height:1.25rem}.text-\[\#020420\][data-v-044f13c0]{--un-text-opacity:1;color:rgb(2 4 32/var(--un-text-opacity))}.text-\[\#64748B\][data-v-044f13c0]{--un-text-opacity:1;color:rgb(100 116 139/var(--un-text-opacity))}.hover\:text-\[\#00DC82\][data-v-044f13c0]:hover{--un-text-opacity:1;color:rgb(0 220 130/var(--un-text-opacity))}.font-medium[data-v-044f13c0]{font-weight:500}.font-semibold[data-v-044f13c0]{font-weight:600}.leading-none[data-v-044f13c0]{line-height:1}.tracking-wide[data-v-044f13c0]{letter-spacing:.025em}.font-sans[data-v-044f13c0]{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.tabular-nums[data-v-044f13c0]{--un-numeric-spacing:tabular-nums;font-variant-numeric:var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)}.underline[data-v-044f13c0]{text-decoration-line:underline}.underline-offset-3[data-v-044f13c0]{text-underline-offset:3px}.antialiased[data-v-044f13c0]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media(prefers-color-scheme:dark){.dark\:bg-\[\#020420\][data-v-044f13c0]{--un-bg-opacity:1;background-color:rgb(2 4 32/var(--un-bg-opacity))}.dark\:text-white[data-v-044f13c0]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media(min-width:640px){.sm\:text-\[110px\][data-v-044f13c0]{font-size:110px}.sm\:text-3xl[data-v-044f13c0]{font-size:1.875rem;line-height:2.25rem}}
@@ -0,0 +1 @@
1
+ .grid[data-v-5b74de36]{display:grid}.mb-2[data-v-5b74de36]{margin-bottom:.5rem}.mb-4[data-v-5b74de36]{margin-bottom:1rem}.max-w-520px[data-v-5b74de36]{max-width:520px}.min-h-screen[data-v-5b74de36]{min-height:100vh}.place-content-center[data-v-5b74de36]{place-content:center}.overflow-hidden[data-v-5b74de36]{overflow:hidden}.bg-white[data-v-5b74de36]{--un-bg-opacity:1;background-color:rgb(255 255 255/var(--un-bg-opacity))}.px-2[data-v-5b74de36]{padding-left:.5rem;padding-right:.5rem}.text-center[data-v-5b74de36]{text-align:center}.text-\[80px\][data-v-5b74de36]{font-size:80px}.text-2xl[data-v-5b74de36]{font-size:1.5rem;line-height:2rem}.text-\[\#020420\][data-v-5b74de36]{--un-text-opacity:1;color:rgb(2 4 32/var(--un-text-opacity))}.text-\[\#64748B\][data-v-5b74de36]{--un-text-opacity:1;color:rgb(100 116 139/var(--un-text-opacity))}.font-semibold[data-v-5b74de36]{font-weight:600}.leading-none[data-v-5b74de36]{line-height:1}.tracking-wide[data-v-5b74de36]{letter-spacing:.025em}.font-sans[data-v-5b74de36]{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.tabular-nums[data-v-5b74de36]{--un-numeric-spacing:tabular-nums;font-variant-numeric:var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)}.antialiased[data-v-5b74de36]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media(prefers-color-scheme:dark){.dark\:bg-\[\#020420\][data-v-5b74de36]{--un-bg-opacity:1;background-color:rgb(2 4 32/var(--un-bg-opacity))}.dark\:text-white[data-v-5b74de36]{--un-text-opacity:1;color:rgb(255 255 255/var(--un-text-opacity))}}@media(min-width:640px){.sm\:text-\[110px\][data-v-5b74de36]{font-size:110px}.sm\:text-3xl[data-v-5b74de36]{font-size:1.875rem;line-height:2.25rem}}
@@ -1 +1 @@
1
- details[data-v-9b51e8e5],summary[data-v-9b51e8e5]{border-style:none}summary[data-v-9b51e8e5]{list-style:none}details[open] summary[data-v-9b51e8e5]{border-style:none}details summary[data-v-9b51e8e5]::-webkit-details-marker{display:none}details[open] .chevron[data-v-9b51e8e5]{opacity:.75;transform:rotate(180deg)}.splitpanes{display:flex;height:100%;width:100%}.splitpanes--vertical{flex-direction:row}.splitpanes--horizontal{flex-direction:column}.splitpanes--dragging .splitpanes__pane,:has(.splitpanes--dragging){pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.splitpanes__pane{height:100%;overflow:hidden;width:100%}.splitpanes--vertical .splitpanes__pane{transition:width .2s ease-out;will-change:width}.splitpanes--horizontal .splitpanes__pane{transition:height .2s ease-out;will-change:height}.splitpanes--dragging .splitpanes__pane{transition:none}.splitpanes__splitter{touch-action:none}.splitpanes--vertical>.splitpanes__splitter{cursor:col-resize;min-width:1px}.splitpanes--horizontal>.splitpanes__splitter{cursor:row-resize;min-height:1px}.default-theme.splitpanes .splitpanes__pane{background-color:#f2f2f2}.default-theme.splitpanes .splitpanes__splitter{background-color:#fff;box-sizing:border-box;flex-shrink:0;position:relative}.default-theme.splitpanes .splitpanes__splitter:after,.default-theme.splitpanes .splitpanes__splitter:before{background-color:#00000026;content:"";left:50%;position:absolute;top:50%;transition:background-color .3s}.default-theme.splitpanes .splitpanes__splitter:hover:after,.default-theme.splitpanes .splitpanes__splitter:hover:before{background-color:#00000040}.default-theme.splitpanes .splitpanes__splitter:first-child{cursor:auto}.default-theme.splitpanes .splitpanes .splitpanes__splitter{z-index:1}.default-theme .splitpanes--vertical>.splitpanes__splitter,.default-theme.splitpanes--vertical>.splitpanes__splitter{border-left:1px solid #eee;margin-left:-1px;width:7px}.default-theme .splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:before,.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme.splitpanes--vertical>.splitpanes__splitter:before{height:30px;transform:translateY(-50%);width:1px}.default-theme .splitpanes--vertical>.splitpanes__splitter:before,.default-theme.splitpanes--vertical>.splitpanes__splitter:before{margin-left:-2px}.default-theme .splitpanes--vertical>.splitpanes__splitter:after,.default-theme.splitpanes--vertical>.splitpanes__splitter:after{margin-left:1px}.default-theme .splitpanes--horizontal>.splitpanes__splitter,.default-theme.splitpanes--horizontal>.splitpanes__splitter{border-top:1px solid #eee;height:7px;margin-top:-1px}.default-theme .splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before,.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme.splitpanes--horizontal>.splitpanes__splitter:before{height:1px;transform:translate(-50%);width:30px}.default-theme .splitpanes--horizontal>.splitpanes__splitter:before,.default-theme.splitpanes--horizontal>.splitpanes__splitter:before{margin-top:-2px}.default-theme .splitpanes--horizontal>.splitpanes__splitter:after,.default-theme.splitpanes--horizontal>.splitpanes__splitter:after{margin-top:1px}.splitpanes__splitter{position:relative}.splitpanes__splitter:before{content:"";left:0;position:absolute;top:0;transition:.2s ease;transition:opacity .4s;z-index:1}.splitpanes__splitter:hover:before{background:#8881;opacity:1}.splitpanes--vertical>.splitpanes__splitter{min-width:0!important;width:0!important;border-right-width:1px}.splitpanes--horizontal>.splitpanes__splitter{height:0!important;min-height:0!important;border-top-width:1px}.splitpanes--vertical>.splitpanes__splitter:before{height:100%;left:-5px;right:-4px}.splitpanes--horizontal>.splitpanes__splitter:before{bottom:-4px;top:-5px;width:100%}.splitpanes__splitter{border-color:#808080cc}
1
+ details[data-v-c4745430],summary[data-v-c4745430]{border-style:none}summary[data-v-c4745430]{list-style:none}details[open] summary[data-v-c4745430]{border-style:none}details summary[data-v-c4745430]::-webkit-details-marker{display:none}details[open] .chevron[data-v-c4745430]{opacity:.75;transform:rotate(180deg)}.splitpanes{display:flex;height:100%;width:100%}.splitpanes--vertical{flex-direction:row}.splitpanes--horizontal{flex-direction:column}.splitpanes--dragging .splitpanes__pane,:has(.splitpanes--dragging){pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.splitpanes__pane{height:100%;overflow:hidden;width:100%}.splitpanes--vertical .splitpanes__pane{transition:width .2s ease-out;will-change:width}.splitpanes--horizontal .splitpanes__pane{transition:height .2s ease-out;will-change:height}.splitpanes--dragging .splitpanes__pane{transition:none}.splitpanes__splitter{touch-action:none}.splitpanes--vertical>.splitpanes__splitter{cursor:col-resize;min-width:1px}.splitpanes--horizontal>.splitpanes__splitter{cursor:row-resize;min-height:1px}.default-theme.splitpanes .splitpanes__pane{background-color:#f2f2f2}.default-theme.splitpanes .splitpanes__splitter{background-color:#fff;box-sizing:border-box;flex-shrink:0;position:relative}.default-theme.splitpanes .splitpanes__splitter:after,.default-theme.splitpanes .splitpanes__splitter:before{background-color:#00000026;content:"";left:50%;position:absolute;top:50%;transition:background-color .3s}.default-theme.splitpanes .splitpanes__splitter:hover:after,.default-theme.splitpanes .splitpanes__splitter:hover:before{background-color:#00000040}.default-theme.splitpanes .splitpanes__splitter:first-child{cursor:auto}.default-theme.splitpanes .splitpanes .splitpanes__splitter{z-index:1}.default-theme .splitpanes--vertical>.splitpanes__splitter,.default-theme.splitpanes--vertical>.splitpanes__splitter{border-left:1px solid #eee;margin-left:-1px;width:7px}.default-theme .splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:before,.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme.splitpanes--vertical>.splitpanes__splitter:before{height:30px;transform:translateY(-50%);width:1px}.default-theme .splitpanes--vertical>.splitpanes__splitter:before,.default-theme.splitpanes--vertical>.splitpanes__splitter:before{margin-left:-2px}.default-theme .splitpanes--vertical>.splitpanes__splitter:after,.default-theme.splitpanes--vertical>.splitpanes__splitter:after{margin-left:1px}.default-theme .splitpanes--horizontal>.splitpanes__splitter,.default-theme.splitpanes--horizontal>.splitpanes__splitter{border-top:1px solid #eee;height:7px;margin-top:-1px}.default-theme .splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before,.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme.splitpanes--horizontal>.splitpanes__splitter:before{height:1px;transform:translate(-50%);width:30px}.default-theme .splitpanes--horizontal>.splitpanes__splitter:before,.default-theme.splitpanes--horizontal>.splitpanes__splitter:before{margin-top:-2px}.default-theme .splitpanes--horizontal>.splitpanes__splitter:after,.default-theme.splitpanes--horizontal>.splitpanes__splitter:after{margin-top:1px}.splitpanes__splitter{position:relative}.splitpanes__splitter:before{content:"";left:0;position:absolute;top:0;transition:.2s ease;transition:opacity .4s;z-index:1}.splitpanes__splitter:hover:before{background:#8881;opacity:1}.splitpanes--vertical>.splitpanes__splitter{min-width:0!important;width:0!important;border-right-width:1px}.splitpanes--horizontal>.splitpanes__splitter{height:0!important;min-height:0!important;border-top-width:1px}.splitpanes--vertical>.splitpanes__splitter:before{height:100%;left:-5px;right:-4px}.splitpanes--horizontal>.splitpanes__splitter:before{bottom:-4px;top:-5px;width:100%}.splitpanes__splitter{border-color:#808080cc}
@@ -1 +1 @@
1
- <!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__nuxt-query-client/_nuxt/entry.CEKjJ95w.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-query-client/_nuxt/MXEltRQo.js"><script type="module" src="/__nuxt-query-client/_nuxt/MXEltRQo.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-query-client",buildId:"62db18fe-059f-4b8a-899a-55551a5cad7e",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1772826893479,false]</script></body></html>
1
+ <!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__nuxt-query-client/_nuxt/entry.COLzTHLw.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-query-client/_nuxt/2dXNUnx1.js"><script type="module" src="/__nuxt-query-client/_nuxt/2dXNUnx1.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-query-client",buildId:"f530576b-c79d-40ef-9ec1-38baa4dc0510",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1778099703823,false]</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__nuxt-query-client/_nuxt/entry.CEKjJ95w.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-query-client/_nuxt/MXEltRQo.js"><script type="module" src="/__nuxt-query-client/_nuxt/MXEltRQo.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-query-client",buildId:"62db18fe-059f-4b8a-899a-55551a5cad7e",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1772826893478,false]</script></body></html>
1
+ <!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="/__nuxt-query-client/_nuxt/entry.COLzTHLw.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-query-client/_nuxt/2dXNUnx1.js"><script type="module" src="/__nuxt-query-client/_nuxt/2dXNUnx1.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-query-client",buildId:"f530576b-c79d-40ef-9ec1-38baa4dc0510",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1778099703822,false]</script></body></html>
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-query",
3
3
  "configKey": "nuxtQuery",
4
- "version": "1.6.0",
4
+ "version": "1.8.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
package/dist/module.mjs CHANGED
@@ -3,7 +3,7 @@ import { defu } from 'defu';
3
3
  import { existsSync } from 'node:fs';
4
4
  import { addCustomTab } from '@nuxt/devtools-kit';
5
5
 
6
- const version = "1.6.0";
6
+ const version = "1.8.0";
7
7
 
8
8
  const DEVTOOLS_UI_ROUTE = "/__nuxt-query-client";
9
9
  const DEVTOOLS_UI_LOCAL_PORT = 3300;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peterbud/nuxt-query",
3
- "version": "1.6.0",
3
+ "version": "1.8.0",
4
4
  "description": "Nuxt integration for Tanstack Query",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -39,29 +39,29 @@
39
39
  "dist"
40
40
  ],
41
41
  "dependencies": {
42
- "@nuxt/devtools-kit": "^3.2.2",
43
- "@nuxt/devtools-ui-kit": "^3.2.2",
44
- "@nuxt/kit": "^4.3.1",
45
- "@tanstack/vue-query": "^5.92.5",
46
- "defu": "^6.1.4",
47
- "pkg-types": "^2.3.0",
42
+ "@nuxt/devtools-kit": "^3.2.4",
43
+ "@nuxt/devtools-ui-kit": "^3.2.4",
44
+ "@nuxt/kit": "^4.4.4",
45
+ "@tanstack/vue-query": "^5.100.9",
46
+ "defu": "^6.1.7",
47
+ "pkg-types": "^2.3.1",
48
48
  "sirv": "^3.0.2"
49
49
  },
50
50
  "devDependencies": {
51
- "@nuxt/devtools": "^3.2.2",
51
+ "@nuxt/devtools": "^3.2.4",
52
52
  "@nuxt/eslint-config": "^1.15.2",
53
53
  "@nuxt/module-builder": "1.0.2",
54
- "@nuxt/schema": "^4.3.1",
55
- "@nuxt/test-utils": "^4.0.0",
54
+ "@nuxt/schema": "^4.4.4",
55
+ "@nuxt/test-utils": "^4.0.3",
56
56
  "@types/node": "latest",
57
- "@unocss/nuxt": "66.6.6",
57
+ "@unocss/nuxt": "66.6.8",
58
58
  "changelogen": "^0.6.2",
59
59
  "concurrently": "^9.2.1",
60
- "eslint": "^10.0.2",
61
- "nuxt": "^4.3.1",
62
- "typescript": "~5.9.3",
63
- "vitest": "^4.0.16",
64
- "vue-tsc": "^3.2.5"
60
+ "eslint": "^10.3.0",
61
+ "nuxt": "^4.4.4",
62
+ "typescript": "~6.0.3",
63
+ "vitest": "^4.1.5",
64
+ "vue-tsc": "^3.2.8"
65
65
  },
66
66
  "scripts": {
67
67
  "build": "nuxt-module-build prepare && nuxt-module-build build && pnpm build:client",
@@ -1 +0,0 @@
1
- import{g as O,V as A,e as q,k as j,W as T,M as E,j as L,S as P,X as N,Y as U,z as I,x as H,Z as _,$ as V,a0 as D,y,a1 as F,a2 as B,a3 as z,a4 as M,a5 as W,a6 as $,a7 as G,a8 as Q}from"./MXEltRQo.js";const X=(...t)=>t.find(o=>o!==void 0);function Y(t){const o=t.componentName||"NuxtLink";function f(e){return typeof e=="string"&&e.startsWith("#")}function R(e,l,v){const a=v??t.trailingSlash;if(!e||a!=="append"&&a!=="remove")return e;if(typeof e=="string")return C(e,a);const u="path"in e&&e.path!==void 0?e.path:l(e).path;return{...e,name:void 0,path:C(u,a)}}function k(e){const l=A(),v=z(),a=y(()=>!!e.target&&e.target!=="_self"),u=y(()=>{const i=e.to||e.href||"";return typeof i=="string"&&B(i,{acceptRelative:!0})}),b=P("RouterLink"),h=b&&typeof b!="string"?b.useLink:void 0,c=y(()=>{if(e.external)return!0;const i=e.to||e.href||"";return typeof i=="object"?!1:i===""||u.value}),n=y(()=>{const i=e.to||e.href||"";return c.value?i:R(i,l.resolve,e.trailingSlash)}),g=c.value?void 0:h?.({...e,to:n}),m=y(()=>{const i=e.trailingSlash??t.trailingSlash;if(!n.value||u.value||f(n.value))return n.value;if(c.value){const x=typeof n.value=="object"&&"path"in n.value?_(n.value):n.value,S=typeof x=="object"?l.resolve(x).href:x;return C(S,i)}return typeof n.value=="object"?l.resolve(n.value)?.href??null:C(F(v.app.baseURL,n.value),i)});return{to:n,hasTarget:a,isAbsoluteUrl:u,isExternal:c,href:m,isActive:g?.isActive??y(()=>n.value===l.currentRoute.value.path),isExactActive:g?.isExactActive??y(()=>n.value===l.currentRoute.value.path),route:g?.route??y(()=>l.resolve(n.value)),async navigate(i){await D(m.value,{replace:e.replace,external:c.value||a.value})}}}return O({name:o,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:k,setup(e,{slots:l}){const v=A(),{to:a,href:u,navigate:b,isExternal:h,hasTarget:c,isAbsoluteUrl:n}=k(e),g=I(!1),m=H(null),i=s=>{m.value=e.custom?s?.$el?.nextElementSibling:s?.$el};function x(s){return!g.value&&(typeof e.prefetchOn=="string"?e.prefetchOn===s:e.prefetchOn?.[s]??t.prefetchOn?.[s])&&(e.prefetch??t.prefetch)!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!K()}async function S(s=q()){if(g.value)return;g.value=!0;const d=typeof a.value=="string"?a.value:h.value?_(a.value):v.resolve(a.value).fullPath,r=h.value?new URL(d,window.location.href).href:d;await Promise.all([s.hooks.callHook("link:prefetch",r).catch(()=>{}),!h.value&&!c.value&&V(a.value,v).catch(()=>{})])}if(x("visibility")){const s=q();let d,r=null;j(()=>{const p=Z();T(()=>{d=$(()=>{m?.value?.tagName&&(r=p.observe(m.value,async()=>{r?.(),r=null,await S(s)}))})})}),E(()=>{d&&G(d),r?.(),r=null})}return()=>{if(!h.value&&!c.value&&!f(a.value)){const r={ref:i,to:a.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(x("interaction")&&(r.onPointerenter=S.bind(null,void 0),r.onFocus=S.bind(null,void 0)),g.value&&(r.class=e.prefetchedClass||t.prefetchedClass),r.rel=e.rel||void 0),L(P("RouterLink"),r,l.default)}const s=e.target||null,d=X(e.noRel?"":e.rel,t.externalRelAttribute,n.value||c.value?"noopener noreferrer":"")||null;return e.custom?l.default?l.default({href:u.value,navigate:b,prefetch:S,get route(){if(!u.value)return;const r=new URL(u.value,window.location.href);return{path:r.pathname,fullPath:r.pathname,get query(){return N(r.search)},hash:r.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:u.value}},rel:d,target:s,isExternal:h.value||c.value,isActive:!1,isExactActive:!1}):null:L("a",{ref:m,href:u.value||null,rel:d,target:s,onClick:async r=>{if(!(h.value||c.value)){r.preventDefault();try{const p=U(u.value);return await(e.replace?v.replace(p):v.push(p))}finally{if(f(a.value)){const p=a.value.slice(1);let w=p;try{w=decodeURIComponent(p)}catch{}document.getElementById(w)?.focus()}}}}},l.default?.())}}})}const ae=Y(Q);function C(t,o){const f=o==="append"?M:W;return B(t)&&!t.startsWith("http")?t:f(t,!0)}function Z(){const t=q();if(t._observer)return t._observer;let o=null;const f=new Map,R=(e,l)=>(o||=new IntersectionObserver(v=>{for(const a of v){const u=f.get(a.target);(a.isIntersecting||a.intersectionRatio>0)&&u&&u()}}),f.set(e,l),o.observe(e),()=>{f.delete(e),o?.unobserve(e),f.size===0&&(o?.disconnect(),o=null)});return t._observer={observe:R}}const J=/2g/;function K(){const t=navigator.connection;return!!(t&&(t.saveData||J.test(t.effectiveType)))}export{ae as _};
@@ -1 +0,0 @@
1
- import{o as w,c as I,n as H,g as be,j as Me,r as A,k as ke,l as de,m as Te,p as te,q as Ce,s as Ge,v as Xe,x as B,y as T,z as Be,A as ce,B as c,C as Z,D as se,E as ae,F as Ye,a as i,G as Ze,H as Pe,I as K,J as fe,t as P,_ as Ae,b as $,w as L,d as ge,K as he,L as et,i as re,M as ye,N as tt,O as ne,P as nt,Q as it,R as Ee,S as at,T as st,U as Oe}from"./MXEltRQo.js";import{_ as lt}from"./CKadWl3I.js";const $e={__name:"NIcon",props:{icon:{type:String,required:!1}},setup(e){return(l,u)=>(w(),I("div",{class:H(["n-icon",e.icon])},null,2))}},ot=be({name:"NButton",props:{to:String,icon:String,border:{type:Boolean,default:!0},disabled:Boolean,type:{type:String,default:"button"}},setup(e,{attrs:l,slots:u}){return()=>Me(e.to?lt:"button",{to:e.to,...l,...!e.to&&{type:e.type},...e.disabled?{disabled:!0}:{tabindex:0},class:[e.border?"n-button-base active:n-button-active focus-visible:n-focus-base hover:n-button-hover":"",u.default?"":"n-icon-button","n-button n-transition n-disabled:n-disabled"].join(" ")},{default:()=>[A(u,"icon",{},()=>e.icon?[Me($e,{icon:e.icon,class:u.default?"n-button-icon":""})]:[]),A(u,"default")]})}}),rt=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ut=e=>typeof e<"u",dt=Object.prototype.toString,ct=e=>dt.call(e)==="[object Object]",vt=()=>{};function ft(...e){if(e.length!==1)return Ge(...e);const l=e[0];return typeof l=="function"?Te(Xe(()=>({get:l,set:vt}))):B(l)}function pt(e,l){function u(...v){return new Promise((s,a)=>{Promise.resolve(e(()=>l.apply(this,v),{fn:l,thisArg:this,args:v})).then(s).catch(a)})}return u}const De=e=>e();function mt(e=De,l={}){const{initialState:u="active"}=l,v=ft(u==="active");function s(){v.value=!1}function a(){v.value=!0}const m=(...S)=>{v.value&&e(...S)};return{isActive:Te(v),pause:s,resume:a,eventFilter:m}}function we(e){return Array.isArray(e)?e:[e]}function gt(e){return Ce()}function ht(e,l,u={}){const{eventFilter:v=De,...s}=u;return te(e,pt(v,l),s)}function yt(e,l,u={}){const{eventFilter:v,initialState:s="active",...a}=u,{eventFilter:m,pause:S,resume:k,isActive:E}=mt(v,{initialState:s});return{stop:ht(e,l,{...a,eventFilter:m}),pause:S,resume:k,isActive:E}}function bt(e,l=!0,u){gt()?ke(e,u):l?e():de(e)}function St(e,l,u){return te(e,l,{...u,immediate:!0})}const ue=rt?window:void 0;function xt(e){var l;const u=ce(e);return(l=u?.$el)!==null&&l!==void 0?l:u}function Le(...e){const l=(v,s,a,m)=>(v.addEventListener(s,a,m),()=>v.removeEventListener(s,a,m)),u=T(()=>{const v=we(ce(e[0])).filter(s=>s!=null);return v.every(s=>typeof s!="string")?v:void 0});return St(()=>{var v,s;return[(v=(s=u.value)===null||s===void 0?void 0:s.map(a=>xt(a)))!==null&&v!==void 0?v:[ue].filter(a=>a!=null),we(ce(u.value?e[1]:e[0])),we(c(u.value?e[2]:e[1])),ce(u.value?e[3]:e[2])]},([v,s,a,m],S,k)=>{if(!v?.length||!s?.length||!a?.length)return;const E=ct(m)?{...m}:m,z=v.flatMap(M=>s.flatMap(C=>a.map(D=>l(M,C,D,E))));k(()=>{z.forEach(M=>M())})},{flush:"post"})}function zt(e){return JSON.parse(JSON.stringify(e))}const pe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},me="__vueuse_ssr_handlers__",wt=Mt();function Mt(){return me in pe||(pe[me]=pe[me]||{}),pe[me]}function Pt(e,l){return wt[e]||l}function kt(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Ct={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},_e="vueuse-storage";function $t(e,l,u,v={}){var s;const{flush:a="pre",deep:m=!0,listenToStorageChanges:S=!0,writeDefaults:k=!0,mergeDefaults:E=!1,shallow:z,window:M=ue,eventFilter:C,onError:D=h=>{console.error(h)},initOnMounted:Q}=v,F=(z?Be:B)(typeof l=="function"?l():l),y=T(()=>ce(e));if(!u)try{u=Pt("getDefaultStorage",()=>ue?.localStorage)()}catch(h){D(h)}if(!u)return F;const _=ce(l),R=kt(_),V=(s=v.serializer)!==null&&s!==void 0?s:Ct[R],{pause:X,resume:le}=yt(F,h=>ee(h),{flush:a,deep:m,eventFilter:C});te(y,()=>j(),{flush:a});let o=!1;const n=h=>{Q&&!o||j(h)},x=h=>{Q&&!o||oe(h)};M&&S&&(u instanceof Storage?Le(M,"storage",n,{passive:!0}):Le(M,_e,x)),Q?bt(()=>{o=!0,j()}):j();function J(h,O){if(M){const N={key:y.value,oldValue:h,newValue:O,storageArea:u};M.dispatchEvent(u instanceof Storage?new StorageEvent("storage",N):new CustomEvent(_e,{detail:N}))}}function ee(h){try{const O=u.getItem(y.value);if(h==null)J(O,null),u.removeItem(y.value);else{const N=V.write(h);O!==N&&(u.setItem(y.value,N),J(O,N))}}catch(O){D(O)}}function Y(h){const O=h?h.newValue:u.getItem(y.value);if(O==null)return k&&_!=null&&u.setItem(y.value,V.write(_)),_;if(!h&&E){const N=V.read(O);return typeof E=="function"?E(N,_):R==="object"&&!Array.isArray(N)?{..._,...N}:N}else return typeof O!="string"?O:V.read(O)}function j(h){if(!(h&&h.storageArea!==u)){if(h&&h.key==null){F.value=_;return}if(!(h&&h.key!==y.value)){X();try{const O=V.write(F.value);(h===void 0||h?.newValue!==O)&&(F.value=Y(h))}catch(O){D(O)}finally{h?de(le):le()}}}}function oe(h){j(h.detail)}return F}function Rt(e,l,u={}){const{window:v=ue}=u;return $t(e,l,v?.localStorage,u)}function Qe(e,l,u,v={}){var s,a;const{clone:m=!1,passive:S=!1,eventName:k,deep:E=!1,defaultValue:z,shouldEmit:M}=v,C=Ce(),D=u||C?.emit||(C==null||(s=C.$emit)===null||s===void 0?void 0:s.bind(C))||(C==null||(a=C.proxy)===null||a===void 0||(a=a.$emit)===null||a===void 0?void 0:a.bind(C?.proxy));let Q=k;l||(l="modelValue"),Q=Q||`update:${l.toString()}`;const F=R=>m?typeof m=="function"?m(R):zt(R):R,y=()=>ut(e[l])?F(e[l]):z,_=R=>{M?M(R)&&D(Q,R):D(Q,R)};if(S){const R=B(y());let V=!1;return te(()=>e[l],X=>{V||(V=!0,R.value=F(X),de(()=>V=!1))}),te(R,X=>{!V&&(X!==e[l]||E)&&_(X)},{deep:E}),R}else return T({get(){return y()},set(R){_(R)}})}const Nt={class:"n-text-input flex flex items-center border n-border-base rounded n-bg-base py-1 pl-1 pr-2 focus-within:border-context focus-within:n-focus-base"},Et={__name:"NTextInput",props:{modelValue:{type:[String,Number],required:!1,default:""},icon:{type:String,required:!1},placeholder:{type:String,required:!1},disabled:{type:Boolean,required:!1},autofocus:{type:Boolean,required:!1},autocomplete:{type:String,required:!1},readonly:{type:Boolean,required:!1},type:{type:String,required:!1,default:"text"}},emits:["keydown","keyup","change"],setup(e,{emit:l}){const s=Qe(e,"modelValue",l,{passive:!0});return(a,m)=>{const S=$e;return w(),I("div",Nt,[A(a.$slots,"icon",{},()=>[e.icon?(w(),Z(S,{key:0,icon:e.icon,class:"ml-0.3em mr-0.1em text-1.1em op50"},null,8,["icon"])):se("",!0)]),ae(i("input",Ze({"onUpdate:modelValue":m[0]||(m[0]=k=>Pe(s)?s.value=k:null)},a.$props,{class:"ml-0.4em w-full flex-auto n-bg-base !outline-none"}),null,16),[[Ye,c(s)]])])}}},Ot={flex:"~ gap4 wrap","items-center":""},Lt={__name:"NNavbar",props:{search:{type:String,required:!1},noPadding:{type:Boolean,required:!1}},emits:["update:search"],setup(e,{emit:l}){const u=l;function v(s){u("update:search",s.target.value)}return(s,a)=>{const m=Et;return w(),I("div",{flex:"~ col gap2 wrap",border:"b base","n-navbar-glass":"","flex-1":"",class:H([{p4:!e.noPadding}])},[i("div",Ot,[A(s.$slots,"search",{},()=>[e.search!==void 0?(w(),Z(m,{key:0,placeholder:"Search...",icon:"carbon-search",n:"primary","flex-auto":"",class:H({"px-3 py-2":!e.noPadding}),value:e.search,onInput:v},null,8,["class","value"])):se("",!0)]),A(s.$slots,"actions")]),A(s.$slots,"default")],2)}}};function _t(e){return e.state.fetchStatus==="fetching"?"fetching":e.observers.length<1?"inactive":e.state.fetchStatus==="paused"?"paused":K(e)?.isStale()?"stale":"fresh"}function Fe(e){return e.state.fetchStatus==="fetching"?"blue":e.observers.length<1?"gray":e.state.fetchStatus==="paused"?"purple":K(e)?.isStale()?"orange":"green"}function qt(e){const{status:l}=e.state;return e.state.isPaused?"Paused":l==="error"?"Error":l==="pending"?"Loading":l==="success"?"Success":"Idle"}function Ve(e){const{status:l}=e.state;return e.state.isPaused?"purple":l==="error"?"red":l==="pending"?"yellow":l==="success"?"green":"gray"}const It={class:"grid gap-2 px-2 text-secondary hover:n-bg-hover truncate max-w-full",style:{"grid-template-columns":"1em 1fr auto auto auto"}},Tt={class:"truncate"},Bt={class:"text-right"},At={class:"text-right"},Dt={class:"text-right"},Qt=be({__name:"QueryListItem",props:{item:{},index:{}},setup(e){return(l,u)=>(w(),I("div",It,[i("div",{style:fe({width:"1em",height:"1em","border-radius":"10%","align-self":"center","background-color":("getQueryBackgroundColor"in l?l.getQueryBackgroundColor:c(Fe))(e.item)})},null,4),i("div",Tt,P(e.item.queryKey),1),i("div",Bt,[i("span",{class:H({"i-carbon-play-outline-filled text-green":e.item.state.fetchStatus==="fetching","i-carbon-pause-outline-filled text-gray":e.item.state.fetchStatus==="paused","i-carbon-navaid-helipad text-blue":e.item.state.fetchStatus==="idle"})},null,2)]),i("div",At,[i("span",{class:H({"i-carbon-checkmark-filled text-green":e.item.state.status==="success","i-carbon-error-filled text-red":e.item.state.status==="error","i-carbon-help-filled text-gray":e.item.state.status==="pending"})},null,2)]),i("div",Dt,[i("span",{class:H({"i-carbon-view-off-filled text-gray":e.item.observers.length===0,"i-carbon-view-filled text-blue":e.item.observers.length!==0})},null,2)])]))}}),Ft=Object.assign(Qt,{__name:"QueryListItem"}),Vt={flex:"~ gap-3","items-center":""},Ut={__name:"NIconTitle",props:{icon:{type:String,required:!1},text:{type:String,required:!1}},setup(e){return(l,u)=>(w(),I("div",Vt,[e.icon?(w(),I("div",{key:0,class:H(e.icon)},null,2)):se("",!0),A(l.$slots,"default",{},()=>[i("div",null,P(e.text),1)])]))}},jt=["open"],Kt={"text-base":""},Ht={key:0,"text-sm":"",op50:""},Jt={__name:"NSectionBlock",props:{icon:{type:String,required:!1},text:{type:String,required:!1},description:{type:String,required:!1},containerClass:{type:String,required:!1,default:""},headerClass:{type:String,required:!1},collapse:{type:Boolean,required:!1,default:!0},open:{type:Boolean,required:!1,default:!0},padding:{type:[Boolean,String],required:!1,default:!0}},setup(e){const u=Qe(e,"open",void 0,{passive:!0});function v(s){u.value=s.target.open}return(s,a)=>{const m=$e,S=Ut;return w(),I(he,null,[i("details",{open:c(u),onToggle:v},[i("summary",{class:H(["cursor-pointer select-none p4 hover:bg-active",e.collapse?"":"pointer-events-none"])},[$(S,{icon:e.icon,text:e.text,"text-xl":"",transition:"",class:H([c(u)?"op100":"op60",e.headerClass])},{default:L(()=>[i("div",null,[i("div",Kt,[A(s.$slots,"text",{},()=>[ge(P(e.text),1)],!0)]),e.description||s.$slots.description?(w(),I("div",Ht,[A(s.$slots,"description",{},()=>[ge(P(e.description),1)],!0)])):se("",!0)]),a[0]||(a[0]=i("div",{class:"flex-auto"},null,-1)),A(s.$slots,"actions",{},void 0,!0),e.collapse?(w(),Z(m,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):se("",!0)]),_:3},8,["icon","text","class"])],2),a._lazyshow1||c(u)?(a._lazyshow1=!0,w(),I(he,null,[ae(i("div",{class:H(["flex flex-col flex-gap2 pb6 pt2",typeof e.padding=="string"?e.padding:e.padding?"px4":""])},[A(s.$slots,"details",{},void 0,!0),i("div",{class:H([e.containerClass,"mt1"])},[A(s.$slots,"default",{},void 0,!0)],2),A(s.$slots,"footer",{},void 0,!0)],2),[[et,c(u)]])],64)):se("v-show-if",!0)],40,jt),a[1]||(a[1]=i("div",{class:"x-divider"},null,-1))],64)}}},Wt=Ae(Jt,[["__scopeId","data-v-9b51e8e5"]]),Gt={},Xt={class:"n-panel-grids-center"};function Yt(e,l){return w(),I("div",Xt,[A(e.$slots,"default")])}const Zt=Object.assign(Ae(Gt,[["render",Yt]]),{__name:"NPanelGrids"}),en={__name:"splitpanes",props:{horizontal:{type:Boolean,default:!1},pushOtherPanes:{type:Boolean,default:!0},maximizePanes:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean,default:!1}},emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click","splitter-dblclick"],setup(e,{emit:l}){const u=l,v=e,s=tt(),a=B([]),m=T(()=>a.value.reduce((t,r)=>(t[~~r.id]=r)&&t,{})),S=T(()=>a.value.length),k=B(null),E=B(!1),z=B({mouseDown:!1,dragging:!1,activeSplitter:null,cursorOffset:0}),M=B({splitter:null,timeoutId:null}),C=T(()=>({[`splitpanes splitpanes--${v.horizontal?"horizontal":"vertical"}`]:!0,"splitpanes--dragging":z.value.dragging})),D=()=>{document.addEventListener("mousemove",y,{passive:!1}),document.addEventListener("mouseup",_),"ontouchstart"in window&&(document.addEventListener("touchmove",y,{passive:!1}),document.addEventListener("touchend",_))},Q=()=>{document.removeEventListener("mousemove",y,{passive:!1}),document.removeEventListener("mouseup",_),"ontouchstart"in window&&(document.removeEventListener("touchmove",y,{passive:!1}),document.removeEventListener("touchend",_))},F=(t,r)=>{const p=t.target.closest(".splitpanes__splitter");if(p){const{left:d,top:f}=p.getBoundingClientRect(),{clientX:g,clientY:b}="ontouchstart"in window&&t.touches?t.touches[0]:t;z.value.cursorOffset=v.horizontal?b-f:g-d}D(),z.value.mouseDown=!0,z.value.activeSplitter=r},y=t=>{z.value.mouseDown&&(t.preventDefault(),z.value.dragging=!0,requestAnimationFrame(()=>{n(le(t)),W("resize",{event:t},!0)}))},_=t=>{z.value.dragging&&(window.getSelection().removeAllRanges(),W("resized",{event:t},!0)),z.value.mouseDown=!1,z.value.activeSplitter=null,setTimeout(()=>{z.value.dragging=!1,Q()},100)},R=(t,r)=>{"ontouchstart"in window&&(t.preventDefault(),M.value.splitter===r?(clearTimeout(M.value.timeoutId),M.value.timeoutId=null,V(t,r),M.value.splitter=null):(M.value.splitter=r,M.value.timeoutId=setTimeout(()=>M.value.splitter=null,500))),z.value.dragging||W("splitter-click",{event:t,index:r},!0)},V=(t,r)=>{if(W("splitter-dblclick",{event:t,index:r},!0),v.maximizePanes){let p=0;a.value=a.value.map((d,f)=>(d.size=f===r?d.max:d.min,f!==r&&(p+=d.min),d)),a.value[r].size-=p,W("pane-maximize",{event:t,index:r,pane:a.value[r]}),W("resized",{event:t,index:r},!0)}},X=(t,r)=>{W("pane-click",{event:t,index:m.value[r].index,pane:m.value[r]})},le=t=>{const r=k.value.getBoundingClientRect(),{clientX:p,clientY:d}="ontouchstart"in window&&t.touches?t.touches[0]:t;return{x:p-(v.horizontal?0:z.value.cursorOffset)-r.left,y:d-(v.horizontal?z.value.cursorOffset:0)-r.top}},o=t=>{t=t[v.horizontal?"y":"x"];const r=k.value[v.horizontal?"clientHeight":"clientWidth"];return v.rtl&&!v.horizontal&&(t=r-t),t*100/r},n=t=>{const r=z.value.activeSplitter;let p={prevPanesSize:J(r),nextPanesSize:ee(r),prevReachedMinPanes:0,nextReachedMinPanes:0};const d=0+(v.pushOtherPanes?0:p.prevPanesSize),f=100-(v.pushOtherPanes?0:p.nextPanesSize),g=Math.max(Math.min(o(t),f),d);let b=[r,r+1],U=a.value[b[0]]||null,G=a.value[b[1]]||null;const Re=U.max<100&&g>=U.max+p.prevPanesSize,We=G.max<100&&g<=100-(G.max+ee(r+1));if(Re||We){Re?(U.size=U.max,G.size=Math.max(100-U.max-p.prevPanesSize-p.nextPanesSize,0)):(U.size=Math.max(100-G.max-p.prevPanesSize-ee(r+1),0),G.size=G.max);return}if(v.pushOtherPanes){const Ne=x(p,g);if(!Ne)return;({sums:p,panesToResize:b}=Ne),U=a.value[b[0]]||null,G=a.value[b[1]]||null}U!==null&&(U.size=Math.min(Math.max(g-p.prevPanesSize-p.prevReachedMinPanes,U.min),U.max)),G!==null&&(G.size=Math.min(Math.max(100-g-p.nextPanesSize-p.nextReachedMinPanes,G.min),G.max))},x=(t,r)=>{const p=z.value.activeSplitter,d=[p,p+1];return r<t.prevPanesSize+a.value[d[0]].min&&(d[0]=Y(p).index,t.prevReachedMinPanes=0,d[0]<p&&a.value.forEach((f,g)=>{g>d[0]&&g<=p&&(f.size=f.min,t.prevReachedMinPanes+=f.min)}),t.prevPanesSize=J(d[0]),d[0]===void 0)?(t.prevReachedMinPanes=0,a.value[0].size=a.value[0].min,a.value.forEach((f,g)=>{g>0&&g<=p&&(f.size=f.min,t.prevReachedMinPanes+=f.min)}),a.value[d[1]].size=100-t.prevReachedMinPanes-a.value[0].min-t.prevPanesSize-t.nextPanesSize,null):r>100-t.nextPanesSize-a.value[d[1]].min&&(d[1]=j(p).index,t.nextReachedMinPanes=0,d[1]>p+1&&a.value.forEach((f,g)=>{g>p&&g<d[1]&&(f.size=f.min,t.nextReachedMinPanes+=f.min)}),t.nextPanesSize=ee(d[1]-1),d[1]===void 0)?(t.nextReachedMinPanes=0,a.value.forEach((f,g)=>{g<S.value-1&&g>=p+1&&(f.size=f.min,t.nextReachedMinPanes+=f.min)}),a.value[d[0]].size=100-t.prevPanesSize-ee(d[0]-1),null):{sums:t,panesToResize:d}},J=t=>a.value.reduce((r,p,d)=>r+(d<t?p.size:0),0),ee=t=>a.value.reduce((r,p,d)=>r+(d>t+1?p.size:0),0),Y=t=>[...a.value].reverse().find(r=>r.index<t&&r.size>r.min)||{},j=t=>a.value.find(r=>r.index>t+1&&r.size>r.min)||{},oe=()=>{var t;const r=Array.from(((t=k.value)==null?void 0:t.children)||[]);for(const p of r){const d=p.classList.contains("splitpanes__pane"),f=p.classList.contains("splitpanes__splitter");!d&&!f&&(p.remove(),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."))}},h=(t,r,p=!1)=>{const d=t-1,f=document.createElement("div");f.classList.add("splitpanes__splitter"),p||(f.onmousedown=g=>F(g,d),typeof window<"u"&&"ontouchstart"in window&&(f.ontouchstart=g=>F(g,d)),f.onclick=g=>R(g,d+1)),f.ondblclick=g=>V(g,d+1),r.parentNode.insertBefore(f,r)},O=t=>{t.onmousedown=void 0,t.onclick=void 0,t.ondblclick=void 0,t.remove()},N=()=>{var t;const r=Array.from(((t=k.value)==null?void 0:t.children)||[]);for(const d of r)d.className.includes("splitpanes__splitter")&&O(d);let p=0;for(const d of r)d.className.includes("splitpanes__pane")&&(!p&&v.firstSplitter?h(p,d,!0):p&&h(p,d),p++)},q=({uid:t,...r})=>{const p=m.value[t];for(const[d,f]of Object.entries(r))p[d]=f},Se=t=>{var r;let p=-1;Array.from(((r=k.value)==null?void 0:r.children)||[]).some(d=>(d.className.includes("splitpanes__pane")&&p++,d.isSameNode(t.el))),a.value.splice(p,0,{...t,index:p}),a.value.forEach((d,f)=>d.index=f),E.value&&de(()=>{N(),xe({addedPane:a.value[p]}),W("pane-add",{pane:a.value[p]})})},Ue=t=>{const r=a.value.findIndex(d=>d.id===t);a.value[r].el=null;const p=a.value.splice(r,1)[0];a.value.forEach((d,f)=>d.index=f),de(()=>{N(),W("pane-remove",{pane:p}),xe({removedPane:{...p}})})},xe=(t={})=>{!t.addedPane&&!t.removedPane?Ke():a.value.some(r=>r.givenSize!==null||r.min||r.max<100)?He(t):je(),E.value&&W("resized")},je=()=>{const t=100/S.value;let r=0;const p=[],d=[];for(const f of a.value)f.size=Math.max(Math.min(t,f.max),f.min),r-=f.size,f.size>=f.max&&p.push(f.id),f.size<=f.min&&d.push(f.id);r>.1&&ze(r,p,d)},Ke=()=>{let t=100;const r=[],p=[];let d=0;for(const g of a.value)t-=g.size,g.givenSize!==null&&d++,g.size>=g.max&&r.push(g.id),g.size<=g.min&&p.push(g.id);let f=100;if(t>.1){for(const g of a.value)g.givenSize===null&&(g.size=Math.max(Math.min(t/(S.value-d),g.max),g.min)),f-=g.size;f>.1&&ze(f,r,p)}},He=({addedPane:t,removedPane:r}={})=>{let p=100/S.value,d=0;const f=[],g=[];(t?.givenSize??null)!==null&&(p=(100-t.givenSize)/(S.value-1));for(const b of a.value)d-=b.size,b.size>=b.max&&f.push(b.id),b.size<=b.min&&g.push(b.id);if(!(Math.abs(d)<.1)){for(const b of a.value)t?.givenSize!==null&&t?.id===b.id||(b.size=Math.max(Math.min(p,b.max),b.min)),d-=b.size,b.size>=b.max&&f.push(b.id),b.size<=b.min&&g.push(b.id);d>.1&&ze(d,f,g)}},ze=(t,r,p)=>{let d;t>0?d=t/(S.value-r.length):d=t/(S.value-p.length),a.value.forEach((f,g)=>{if(t>0&&!r.includes(f.id)){const b=Math.max(Math.min(f.size+d,f.max),f.min),U=b-f.size;t-=U,f.size=b}else if(!p.includes(f.id)){const b=Math.max(Math.min(f.size+d,f.max),f.min),U=b-f.size;t-=U,f.size=b}}),Math.abs(t)>.1&&de(()=>{E.value&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})},W=(t,r=void 0,p=!1)=>{const d=r?.index??z.value.activeSplitter??null;u(t,{...r,...d!==null&&{index:d},...p&&d!==null&&{prevPane:a.value[d-(v.firstSplitter?1:0)],nextPane:a.value[d+(v.firstSplitter?0:1)]},panes:a.value.map(f=>({min:f.min,max:f.max,size:f.size}))})};te(()=>v.firstSplitter,()=>N()),ke(()=>{oe(),N(),xe(),W("ready"),E.value=!0}),ye(()=>E.value=!1);const Je=()=>{var t;return Me("div",{ref:k,class:C.value},(t=s.default)==null?void 0:t.call(s))};return ne("panes",a),ne("indexedPanes",m),ne("horizontal",T(()=>v.horizontal)),ne("requestUpdate",q),ne("onPaneAdd",Se),ne("onPaneRemove",Ue),ne("onPaneClick",X),(t,r)=>(w(),Z(nt(Je)))}},qe={__name:"pane",props:{size:{type:[Number,String]},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},setup(e){var l;const u=e,v=re("requestUpdate"),s=re("onPaneAdd"),a=re("horizontal"),m=re("onPaneRemove"),S=re("onPaneClick"),k=(l=Ce())==null?void 0:l.uid,E=re("indexedPanes"),z=T(()=>E.value[k]),M=B(null),C=T(()=>{const y=isNaN(u.size)||u.size===void 0?0:parseFloat(u.size);return Math.max(Math.min(y,Q.value),D.value)}),D=T(()=>{const y=parseFloat(u.minSize);return isNaN(y)?0:y}),Q=T(()=>{const y=parseFloat(u.maxSize);return isNaN(y)?100:y}),F=T(()=>{var y;return`${a.value?"height":"width"}: ${(y=z.value)==null?void 0:y.size}%`});return te(()=>C.value,y=>v({uid:k,size:y})),te(()=>D.value,y=>v({uid:k,min:y})),te(()=>Q.value,y=>v({uid:k,max:y})),ke(()=>{s({id:k,el:M.value,min:D.value,max:Q.value,givenSize:u.size===void 0?null:C.value,size:C.value})}),ye(()=>m(k)),(y,_)=>(w(),I("div",{ref_key:"paneEl",ref:M,class:"splitpanes__pane",onClick:_[0]||(_[0]=R=>c(S)(R,y._.uid)),style:fe(F.value)},[A(y.$slots,"default")],4))}},Ie=30,tn={__name:"NSplitPane",props:{storageKey:{type:String,required:!1},stateKey:{type:String,required:!1,default:"nuxt-devtools-panels-state"},leftSize:{type:Number,required:!1},minSize:{type:Number,required:!1},horizontal:{type:Boolean,required:!1}},setup(e){const l=e,u=Rt(l.stateKey,{},{listenToStorageChanges:!1}),v=l.storageKey,s=v?T({get:()=>u.value[v]||l.leftSize||Ie,set:a=>{u.value[v]=a}}):B(l.leftSize||Ie);return(a,m)=>(w(),Z(c(en),{horizontal:e.horizontal,"h-full":"","of-hidden":"",onResize:m[0]||(m[0]=S=>s.value=S[0].size)},{default:L(()=>[$(c(qe),{"h-full":"",class:"of-auto!",size:c(s),"min-size":a.$slots.right?e.minSize||10:100},{default:L(()=>[A(a.$slots,"left")]),_:3},8,["size","min-size"]),a.$slots.right?(w(),Z(c(qe),{key:0,relative:"","h-full":"",class:"of-auto!","min-size":e.minSize||10},{default:L(()=>[A(a.$slots,"right")]),_:3},8,["min-size"])):se("",!0)]),_:3},8,["horizontal"]))}},nn=be({__name:"MutationListItem",props:{item:{}},emits:["click"],setup(e){return(l,u)=>(w(),I("div",{class:"grid gap-2 px-2 text-secondary hover:n-bg-hover cursor-pointer truncate max-w-full",style:{"grid-template-columns":"1em 1fr"},onClick:u[0]||(u[0]=v=>l.$emit("click"))},[i("div",{style:fe({width:"1em",height:"1em","border-radius":"10%","align-self":"center","background-color":("getMutationBackgroundColor"in l?l.getMutationBackgroundColor:c(Ve))(e.item)})},null,4),i("div",null,P(e.item.options.mutationKey||"No mutation key provided"),1)]))}}),an=Object.assign(nn,{__name:"MutationListItem"});let ie;const ve=[];function sn(e){if(ve.push(e),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&ve.forEach(l=>l(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(l){l&&ve.forEach(u=>u(l))},get(){return ie.value},configurable:!0}),()=>{ve.splice(ve.indexOf(e),1)}}function ln(){ie||(ie=Be(),sn(l));function e(){ie&&it(ie)}function l(u){ie.value=u,u.host&&u.host.hooks.hook("host:update:reactivity",e)}return ie}const on={class:"h-full flex flex-col"},rn={class:"flex gap-2 p-2",style:{"border-bottom":"1px solid rgba(128,128,128, 0.8)"}},un={class:"flex gap-1 text-sm"},dn={op50:""},cn={key:0,class:"w-full"},vn={class:"grid grid-cols-[auto_1fr] gap-1 px-2 py-2"},fn={class:"grid grid-cols-[auto_1fr] gap-1 px-2 py-2"},pn={key:1},mn={class:"flex gap-1 text-sm"},gn={op50:""},hn={key:0,class:"w-full"},yn={class:"grid grid-cols-[auto_1fr] gap-1 px-2 py-2"},bn={class:"grid grid-cols-[auto_1fr] gap-1 px-2 py-2"},Sn={key:1},wn=be({__name:"vue-query",setup(e){const l=B("query"),u=B(""),v=B(new Array),s=B(null),a=B(new Array),m=B(null),S=B(""),k=ln(),E=T(()=>k.value?.host?.nuxt.vueApp.config.globalProperties?.$queryClient),z=T(()=>E.value?.getQueryCache()),M=T(()=>E.value?.getMutationCache()),C=T(()=>v.value?u.value?v.value.filter(o=>o.queryKey.toString().toLowerCase().includes(u.value.toLowerCase())):v.value:[]),D=T(()=>a.value?S.value?a.value.filter(o=>o.options.mutationKey?.toString().toLowerCase().includes(S.value.toLowerCase())):a.value:[]);function Q(o){switch(o.type){case"observerResultsUpdated":case"observerAdded":case"observerRemoved":case"updated":{const n=v.value.find(x=>x.queryHash===o.query.queryHash);n&&(n.state={...o.query.state});break}case"added":v.value.push(o.query);break;case"removed":{const n=v.value.findIndex(x=>x.queryHash===o.query.queryHash);n!==-1&&v.value.splice(n,1),s.value?.queryHash===o.query.queryHash&&(s.value=null);break}}}function F(o){switch(o.type){case"added":a.value.push(o.mutation);break;case"removed":{const n=a.value.findIndex(x=>x.mutationId===o.mutation.mutationId);n!==-1&&a.value.splice(n,1),m.value?.mutationId===o.mutation.mutationId&&(m.value=null);break}case"updated":{const n=a.value.find(x=>x.mutationId===o.mutation.mutationId);n&&(n.state={...o.mutation.state});break}}}Ee(()=>{if(!z.value)return;z.value.getAll().forEach(n=>{v.value.push(n)});const o=z.value.subscribe(Q);ye(()=>{v.value=[],z.value?.clear(),o()})}),Ee(()=>{if(!M.value)return;M.value.getAll().forEach(n=>{a.value.push(n)});const o=M.value.subscribe(F);ye(()=>{a.value=[],M.value?.clear(),o()})});function y(o){s.value=K(o)}function _(o){m.value=K(o)}function R(o){return Object.entries(o.options).reduce((n,[x,J])=>(typeof J=="function"||x==="queryKey"||x==="queryHash"||x==="meta"||x.startsWith("_")||(n[x]=J),n),{})}function V(o){if(o.state.error)o.reset(),o.fetch();else{const n=new Error("Unknown error from devtools"),x=o.options;o.setState({status:"error",error:n,fetchMeta:{...o.state.fetchMeta,__previousQueryOptions:x}})}}function X(o){const n=o.state,x=o.state.fetchMeta?o.state.fetchMeta.__previousQueryOptions:null;o.cancel({silent:!0}),o.setState({...n,fetchStatus:"idle",fetchMeta:null}),x&&o.fetch(x)}function le(o){if(o.state.data===void 0)X(o);else{if(!o)return;const n=o.options;o.fetch({...n,queryFn:()=>new Promise(()=>{}),gcTime:-1}),o.setState({data:void 0,status:"pending",fetchMeta:{...o.state.fetchMeta,__previousQueryOptions:n}})}}return(o,n)=>{const x=ot,J=Lt,ee=Ft,Y=Wt,j=at("VueJsonPretty"),oe=Zt,h=tn,O=an,N=st("tooltip");return w(),I("div",on,[i("div",rn,[$(x,{class:H(["text-white",{"bg-primary":c(l)==="query"}]),onClick:n[0]||(n[0]=q=>l.value="query")},{default:L(()=>[...n[9]||(n[9]=[ge(" Query Cache ",-1)])]),_:1},8,["class"]),$(x,{class:H({"bg-primary text-white":c(l)==="mutation"}),onClick:n[1]||(n[1]=q=>l.value="mutation")},{default:L(()=>[...n[10]||(n[10]=[ge(" Mutation Cache ",-1)])]),_:1},8,["class"])]),c(l)==="query"?(w(),Z(h,{key:0,"storage-key":"tab-vue-query",class:"h-full"},{left:L(()=>[$(J,{search:c(u),"onUpdate:search":n[2]||(n[2]=q=>Pe(u)?u.value=q:null),class:"pb2",style:{"border-bottom":"1px solid rgba(128,128,128, 0.8)"}},{default:L(()=>[i("div",un,[i("span",dn,P(c(v)?.length)+" queries in total",1)])]),_:1},8,["search"]),(w(!0),I(he,null,Oe(c(C),q=>(w(),Z(ee,{key:q.queryHash,item:q,onClick:Se=>y(q)},null,8,["item","onClick"]))),128))]),right:L(()=>[$(oe,{class:""},{default:L(()=>[c(s)?(w(),I("div",cn,[$(Y,{icon:"carbon-query",text:"Query Overview",padding:!0},{actions:L(()=>[ae($(x,{title:"Refetch",class:"text-primary self-start",icon:"i-carbon-recycle",disabled:c(s).state.fetchStatus==="fetching",onClick:n[3]||(n[3]=q=>("toRaw"in o?o.toRaw:c(K))(c(s))?.fetch())},null,8,["disabled"]),[[N,"Refetch"]]),ae($(x,{title:"Invalidate",class:"text-primary self-start",icon:"i-carbon-trash-can",disabled:c(s).state.status==="pending",onClick:n[4]||(n[4]=q=>("toRaw"in o?o.toRaw:c(K))(c(s))?.invalidate())},null,8,["disabled"]),[[N,"Invalidate"]]),ae($(x,{title:"Reset",class:"text-primary self-start",icon:"i-carbon-restart",disabled:c(s).state.status==="pending",onClick:n[5]||(n[5]=q=>("toRaw"in o?o.toRaw:c(K))(c(s))?.reset())},null,8,["disabled"]),[[N,"Reset"]]),ae($(x,{title:c(s).state.status==="pending"?"Restore Loading":"Trigger Loading",class:"text-primary self-start",icon:"i-carbon-hourglass",onClick:n[6]||(n[6]=q=>le(("toRaw"in o?o.toRaw:c(K))(c(s))))},null,8,["title"]),[[N,c(s).state.status==="pending"?"Restore Loading":"Trigger Loading"]]),ae($(x,{title:c(s).state.status==="error"?"Restore Error":"Trigger Error",class:"text-primary self-start",icon:"i-carbon-warning",disabled:c(s).state.status==="pending",onClick:n[7]||(n[7]=q=>V(("toRaw"in o?o.toRaw:c(K))(c(s))))},null,8,["title","disabled"]),[[N,c(s).state.status==="error"?"Restore Error":"Trigger Error"]])]),default:L(()=>[i("div",vn,[n[11]||(n[11]=i("div",null,[i("strong",null,"Query Key:")],-1)),i("div",null,P(c(s)?.queryKey),1),n[12]||(n[12]=i("div",null,[i("strong",null,"Observers:")],-1)),i("div",null,P(c(s).observers.length),1),n[13]||(n[13]=i("div",null,[i("strong",null,"Overall status:")],-1)),i("div",null,[i("span",{class:"rounded whitespace-nowrap select-none mx-0.5 px-1.5 py-0.5",style:fe({"background-color":`${("getQueryBackgroundColor"in o?o.getQueryBackgroundColor:c(Fe))(c(s))}`})},P(("getQueryStatusLabel"in o?o.getQueryStatusLabel:c(_t))(c(s))),5)]),n[14]||(n[14]=i("div",null,[i("strong",null,"Last Updated:")],-1)),i("div",null,P(new Date(c(s).state.dataUpdatedAt).toLocaleString()),1)])]),_:1}),$(Y,{icon:"carbon-cube",text:"Data Explorer",padding:!0,open:!1},{default:L(()=>[$(j,{data:c(s).state.data,deep:2,virtual:!0,height:150},null,8,["data"])]),_:1}),$(Y,{icon:"carbon-query-queue",text:"Query Details",padding:!0},{default:L(()=>[i("div",fn,[n[15]||(n[15]=i("div",null,[i("strong",null,"Status:")],-1)),i("div",null,P(c(s).state.status),1),n[16]||(n[16]=i("div",null,[i("strong",null,"Fetch Status:")],-1)),i("div",null,P(c(s).state.fetchStatus),1),n[17]||(n[17]=i("div",null,[i("strong",null,"Invalidated:")],-1)),i("div",null,P(c(s).state.isInvalidated),1),n[18]||(n[18]=i("div",null,[i("strong",null,"Update Count:")],-1)),i("div",null,P(c(s).state.dataUpdateCount),1),n[19]||(n[19]=i("div",null,[i("strong",null,"Active:")],-1)),i("div",null,P(c(s).observers.length===0?"Inactive":"Active"),1),n[20]||(n[20]=i("div",null,[i("strong",null,"IsStale:")],-1)),i("div",null,P(("toRaw"in o?o.toRaw:c(K))(c(s))?.isStale()),1),n[21]||(n[21]=i("div",null,[i("strong",null,"Disabled:")],-1)),i("div",null,P(("toRaw"in o?o.toRaw:c(K))(c(s))?.isDisabled()),1),n[22]||(n[22]=i("div",null,[i("strong",null,"GCTime:")],-1)),i("div",null,P(c(s).gcTime),1),n[23]||(n[23]=i("div",null,[i("strong",null,"Options:")],-1)),$(j,{data:R(c(s)),deep:2,virtual:!0,height:150},null,8,["data"]),n[24]||(n[24]=i("div",null,[i("strong",null,"Meta:")],-1)),$(j,{data:("toRaw"in o?o.toRaw:c(K))(c(s))?.meta,deep:2,virtual:!0,height:150},null,8,["data"])])]),_:1})])):(w(),I("div",pn,[...n[25]||(n[25]=[i("span",{class:"op75"},"Select a query",-1)])]))]),_:1})]),_:1})):(w(),Z(h,{key:1,"storage-key":"tab-vue-mutation",class:"h-full"},{left:L(()=>[$(J,{search:c(S),"onUpdate:search":n[8]||(n[8]=q=>Pe(S)?S.value=q:null),class:"pb2",style:{"border-bottom":"1px solid rgba(128,128,128, 0.8)"}},{default:L(()=>[i("div",mn,[i("span",gn,P(c(a)?.length)+" mutations in total",1)])]),_:1},8,["search"]),(w(!0),I(he,null,Oe(c(D),q=>(w(),Z(O,{key:q.mutationId,item:q,onClick:Se=>_(q)},null,8,["item","onClick"]))),128))]),right:L(()=>[$(oe,{class:""},{default:L(()=>[c(m)?(w(),I("div",hn,[$(Y,{icon:"carbon-status-change",text:"Mutation Overview",padding:!0},{default:L(()=>[i("div",yn,[n[26]||(n[26]=i("div",null,[i("strong",null,"Mutation Key:")],-1)),i("div",null,P(c(m)?.options.mutationKey),1),n[27]||(n[27]=i("div",null,[i("strong",null,"Status:")],-1)),i("div",null,[i("span",{class:"rounded whitespace-nowrap select-none mx-0.5 px-1.5 py-0.5",style:fe({"background-color":`${("getMutationBackgroundColor"in o?o.getMutationBackgroundColor:c(Ve))(c(m))}`})},P(("getMutationStatusLabel"in o?o.getMutationStatusLabel:c(qt))(c(m))),5)]),n[28]||(n[28]=i("div",null,[i("strong",null,"Submitted:")],-1)),i("div",null,P(new Date(c(m).state.submittedAt).toLocaleString()),1)])]),_:1}),$(Y,{icon:"carbon-cube",text:"Data Explorer",padding:!0,open:!1},{default:L(()=>[$(j,{data:c(m).state.data,deep:2,virtual:!0,height:150},null,8,["data"])]),_:1}),$(Y,{icon:"carbon-query-queue",text:"Mutation Details",padding:!0},{default:L(()=>[i("div",bn,[n[29]||(n[29]=i("div",null,[i("strong",null,"Status:")],-1)),i("div",null,P(c(m).state.status),1),n[30]||(n[30]=i("div",null,[i("strong",null,"Mutation Id:")],-1)),i("div",null,P(c(m).mutationId),1),n[31]||(n[31]=i("div",null,[i("strong",null,"IsPaused:")],-1)),i("div",null,P(c(m).state.isPaused),1),n[32]||(n[32]=i("div",null,[i("strong",null,"Failure Count:")],-1)),i("div",null,P(c(m).state.failureCount),1),n[33]||(n[33]=i("div",null,[i("strong",null,"Failure Reason:")],-1)),i("div",null,P(c(m).state.failureReason),1),n[34]||(n[34]=i("div",null,[i("strong",null,"GCTime:")],-1)),i("div",null,P(c(m).gcTime),1),n[35]||(n[35]=i("div",null,[i("strong",null,"Variables:")],-1)),$(j,{data:("toRaw"in o?o.toRaw:c(K))(c(m))?.state?.variables,deep:2,virtual:!0,height:150},null,8,["data"]),n[36]||(n[36]=i("div",null,[i("strong",null,"Meta:")],-1)),$(j,{data:("toRaw"in o?o.toRaw:c(K))(c(m))?.meta,deep:2,virtual:!0,height:150},null,8,["data"])])]),_:1})])):(w(),I("div",Sn,[...n[37]||(n[37]=[i("span",{class:"op75"},"Select a mutation",-1)])]))]),_:1})]),_:1}))])}}});export{wn as default};