@platformos/pos-cli
Version:
Manage your platformOS application
7 lines (6 loc) • 32.9 kB
JavaScript
import{$ as co,a0 as uo,a1 as Bl,R as ro,o as m,H as io,p,a2 as fo,S as ho,i as vo,s as po,d as a,E as $,x as mo,a as be,z as t,Q as A,b as ks,c as e,I as b,J as q,T as so,v as _o,h as i,e as l,f as o,L as k,K as U,g as I,k as c,j as n,M as L,t as N,l as go,N as ca,n as z,y as lo,Y as no,X as $o}from"../chunks/n7YEDvJi.js";import"../chunks/IHki7fMi.js";import{f as ao}from"../chunks/BaKpYqK2.js";import{s as Ss}from"../chunks/Bp_ajb_u.js";import{t as bo}from"../chunks/t7b_BBSP.js";import{I as E}from"../chunks/DHO4ENnJ.js";function ko(s,u){const w=u.token={};function d(f,_,v,C){if(u.token!==w)return;u.resolved=C;let D=u.ctx;v!==void 0&&(D=D.slice(),D[v]=C);const M=f&&(u.current=f)(D);let P=!1;u.block&&(u.blocks?u.blocks.forEach((S,ke)=>{ke!==_&&S&&(ro(),m(S,1,1,()=>{u.blocks[ke]===S&&(u.blocks[ke]=null)}),io())}):u.block.d(1),M.c(),p(M,1),M.m(u.mount(),u.anchor),P=!0),u.block=M,u.blocks&&(u.blocks[_]=M),P&&fo()}if(co(s)){const f=uo();if(s.then(_=>{Bl(f),d(u.then,1,u.value,_),Bl(null)},_=>{if(Bl(f),d(u.catch,2,u.error,_),Bl(null),!u.hasCatch)throw _}),u.current!==u.pending)return d(u.pending,0),!0}else{if(u.current!==u.then)return d(u.then,1,u.value,s),!0;u.resolved=s}}function Lo(s,u,w){const d=u.slice(),{resolved:f}=s;s.current===s.then&&(d[s.value]=f),s.current===s.catch&&(d[s.error]=f),s.block.p(d,w)}function Eo(s){return{c:z,l:z,m:z,p:z,i:z,o:z,d:z}}function wo(s){let u,w,d=s[23].version!==s[1].online.version&&oo(s);return{c(){d&&d.c(),u=lo()},l(f){d&&d.l(f),u=lo()},m(f,_){d&&d.m(f,_),ks(f,u,_),w=!0},p(f,_){f[23].version!==f[1].online.version?d?(d.p(f,_),_&2&&p(d,1)):(d=oo(f),d.c(),p(d,1),d.m(u.parentNode,u)):d&&(ro(),m(d,1,1,()=>{d=null}),io())},i(f){w||(p(d),w=!0)},o(f){m(d),w=!1},d(f){f&&a(u),d&&d.d(f)}}}function oo(s){let u,w,d,f,_="Update available",v,C,D,M;return w=new E({props:{icon:"arrowTripleUp"}}),{c(){u=n("button"),L(w.$$.fragment),d=c(),f=n("span"),f.textContent=_,this.h()},l(P){u=l(P,"BUTTON",{title:!0,class:!0});var S=o(u);k(w.$$.fragment,S),d=i(S),f=l(S,"SPAN",{"data-svelte-h":!0}),U(f)!=="svelte-16bfzxk"&&(f.textContent=_),S.forEach(a),this.h()},h(){t(u,"title","Update to pos-cli version "+s[23].version),t(u,"class","update svelte-50so3t")},m(P,S){ks(P,u,S),b(w,u,null),e(u,d),e(u,f),C=!0,D||(M=q(u,"click",s[6]),D=!0)},p:z,i(P){C||(p(w.$$.fragment,P),P&&$o(()=>{C&&(v||(v=no(u,ao,{},!0)),v.run(1))}),C=!0)},o(P){m(w.$$.fragment,P),P&&(v||(v=no(u,ao,{},!1)),v.run(0)),C=!1},d(P){P&&a(u),$(w),P&&v&&v.end(),D=!1,M()}}}function Uo(s){return{c:z,l:z,m:z,p:z,i:z,o:z,d:z}}function Co(s){var Da;let u,w,d,f,_,v,C,D,M,P,S="Database",ke,Le,Hl='<li class="svelte-50so3t">Inspect tables and records</li> <li class="svelte-50so3t">Create, edit or delete records</li> <li class="svelte-50so3t">Filter and find any record</li>',As,ie,Ke,j,Ee,Ms,we,Jl="Show more information about Database tool",Bs,Xe,J,T,Ue,Ye,Ls=s[1].header.includes("database")?"Unpin Database from":"Pin Database to",Hs,Ol,Js,Fl,O,ce,Rt,We,Ql,Ze,ua="Users",Gl,ye,da='<li class="svelte-50so3t">Inspect registered users and their personal data</li>',Vl,Ce,jt,te,xe,Rl,et,fa="Show more information about Users tool",jl,Kt,K,Pe,Kl,tt,Es=s[1].header.includes("users")?"Unpin Users from":"Pin Users to",Os,Xl,Fs,Yl,F,ue,Xt,st,Wl,lt,ha="Logs",Zl,nt,va='<li class="svelte-50so3t">View system logs</li> <li class="svelte-50so3t">Inspect logs you've outputted yourself</li> <li class="svelte-50so3t">Debug Liquid or GraphQL errors</li>',yl,Te,Yt,se,at,xl,ot,pa="Show more information about Logs tool",en,Wt,X,Ie,tn,rt,ws=s[1].header.includes("logs")?"Unpin Logs from":"Pin Logs to",Qs,sn,Gs,ln,Q,de,Zt,it,nn,ct,ma="Background Jobs",an,ut,_a='<li class="svelte-50so3t">List scheduled background jobs</li> <li class="svelte-50so3t">Debug background jobs that failed to run</li>',on,Ne,yt,le,dt,rn,ft,ga="Show more information about Background Jobs tool",cn,xt,Y,qe,un,ht,Us=s[1].header.includes("backgroundJobs")?"Unpin Background Jobs from":"Pin Background Jobs to",Vs,dn,Rs,fn,G,fe,es,vt,hn,pt,$a="Constants",vn,mt,ba='<li class="svelte-50so3t">Check all constants in one place</li> <li class="svelte-50so3t">Create new constants</li> <li class="svelte-50so3t">Edit or delete existing ones</li>',pn,De,ts,ne,_t,mn,gt,ka="Show more information about Constants tool",_n,ss,W,ze,gn,$t,Cs=s[1].header.includes("constants")?"Unpin Constants from":"Pin Constants to",js,$n,Ks,bn,ae,V,he,bt,kt,kn,Lt,La="Liquid Evaluator",Ln,Et,Ea='<li class="svelte-50so3t">Run Liquid code against your instance</li> <li class="svelte-50so3t">Test Liquid logic</li> <li class="svelte-50so3t">Quickly prototype your ideas</li>',En,Se,ls,oe,wt,wn,Ut,wa="Show more information about Liquid Evaluator",Un,ns,Z,Ae,Cn,Ct,Ps=s[1].header.includes("liquid")?"Unpin Liquid Evaluator from":"Pin Liquid Evaluator to",Xs,Pn,Ys,Tn,R,ve,Pt,Tt,In,It,Ua="GraphiQL",Nn,Nt,Ca='<li class="svelte-50so3t">Run GraphQL against your instance</li> <li class="svelte-50so3t">Explore documentation</li> <li class="svelte-50so3t">Quickly prototype your queries and mutations</li>',qn,Me,as,re,qt,Dn,Dt,Pa="Show more information about GraphiQL",zn,os,y,Be,Sn,zt,Ts=s[1].header.includes("graphiql")?"Unpin GraphiQL from":"Pin GraphiQL to",Ws,An,Zs,Mn,He,Je,Oe,x,Fe,Bn,St,Is=s[1].header.includes("logsv2")?"Unpin Logs v2 from":"Pin Logs v2 to",ys,Hn,xs,Jn,pe,rs,At,On,is,Ta="Logs v2",Fn,Qe,ee,Ge,Qn,Mt,Ns=s[1].header.includes("network")?"Unpin Network Logs from":"Pin Network Logs to",el,Gn,tl,Vn,me,cs,Bt,Rn,us,Ia="Network Logs",jn,Ht,Na=`Early access
<small class="svelte-50so3t">New tools in testable versions</small>`,sl,_e,ds,Kn,Ve,fs,Re,Jt,Xn,Yn,hs,je,Ot,Wn,g,Zn,qa;document.title=u="platformOS"+((Da=s[1].online)!=null&&Da.MPKIT_URL?": "+s[1].online.MPKIT_URL.replace("https://",""):""),D=new E({props:{icon:"database",size:"48"}}),Ee=new E({props:{icon:"info",size:"14"}}),T=new E({props:{icon:s[1].header.includes("database")?"pinFilled":"pin",size:"14"}}),We=new E({props:{icon:"users",size:"48"}}),xe=new E({props:{icon:"info",size:"14"}}),Pe=new E({props:{icon:s[1].header.includes("users")?"pinFilled":"pin",size:"14"}}),st=new E({props:{icon:"log",size:"48"}}),at=new E({props:{icon:"info",size:"14"}}),Ie=new E({props:{icon:s[1].header.includes("logs")?"pinFilled":"pin",size:"14"}}),it=new E({props:{icon:"backgroundJob",size:"48"}}),dt=new E({props:{icon:"info",size:"14"}}),qe=new E({props:{icon:s[1].header.includes("backgroundJobs")?"pinFilled":"pin",size:"14"}}),vt=new E({props:{icon:"constant",size:"48"}}),_t=new E({props:{icon:"info",size:"14"}}),ze=new E({props:{icon:s[1].header.includes("constants")?"pinFilled":"pin",size:"14"}}),kt=new E({props:{icon:"liquid",size:"48"}}),wt=new E({props:{icon:"info",size:"14"}}),Ae=new E({props:{icon:s[1].header.includes("liquid")?"pinFilled":"pin",size:"14"}}),Tt=new E({props:{icon:"graphql",size:"48"}}),qt=new E({props:{icon:"info",size:"14"}}),Be=new E({props:{icon:s[1].header.includes("graphiql")?"pinFilled":"pin",size:"14"}}),Fe=new E({props:{icon:s[1].header.includes("logsv2")?"pinFilled":"pin",size:"12"}}),At=new E({props:{icon:"logFresh",size:"24"}}),Ge=new E({props:{icon:s[1].header.includes("network")?"pinFilled":"pin",size:"12"}}),Bt=new E({props:{icon:"globeMessage",size:"24"}});let B={ctx:s,current:null,token:null,hasCatch:!1,pending:Uo,then:wo,catch:Eo,value:23,blocks:[,,,]};return ko(s[5](),B),Jt=new E({props:{icon:"book"}}),Ot=new E({props:{icon:"serverSettings"}}),{c(){w=c(),d=n("nav"),f=n("ul"),_=n("li"),v=n("a"),C=n("div"),L(D.$$.fragment),M=c(),P=n("h2"),P.textContent=S,ke=c(),Le=n("ul"),Le.innerHTML=Hl,As=c(),ie=n("ul"),Ke=n("li"),j=n("button"),L(Ee.$$.fragment),Ms=c(),we=n("span"),we.textContent=Jl,Bs=c(),Xe=n("li"),J=n("button"),L(T.$$.fragment),Ue=c(),Ye=n("span"),Hs=N(Ls),Ol=N(" header menu"),Fl=c(),O=n("li"),ce=n("a"),Rt=n("div"),L(We.$$.fragment),Ql=c(),Ze=n("h2"),Ze.textContent=ua,Gl=c(),ye=n("ul"),ye.innerHTML=da,Vl=c(),Ce=n("ul"),jt=n("li"),te=n("button"),L(xe.$$.fragment),Rl=c(),et=n("span"),et.textContent=fa,jl=c(),Kt=n("li"),K=n("button"),L(Pe.$$.fragment),Kl=c(),tt=n("span"),Os=N(Es),Xl=N(" header menu"),Yl=c(),F=n("li"),ue=n("a"),Xt=n("div"),L(st.$$.fragment),Wl=c(),lt=n("h2"),lt.textContent=ha,Zl=c(),nt=n("ul"),nt.innerHTML=va,yl=c(),Te=n("ul"),Yt=n("li"),se=n("button"),L(at.$$.fragment),xl=c(),ot=n("span"),ot.textContent=pa,en=c(),Wt=n("li"),X=n("button"),L(Ie.$$.fragment),tn=c(),rt=n("span"),Qs=N(ws),sn=N(" header menu"),ln=c(),Q=n("li"),de=n("a"),Zt=n("div"),L(it.$$.fragment),nn=c(),ct=n("h2"),ct.textContent=ma,an=c(),ut=n("ul"),ut.innerHTML=_a,on=c(),Ne=n("ul"),yt=n("li"),le=n("button"),L(dt.$$.fragment),rn=c(),ft=n("span"),ft.textContent=ga,cn=c(),xt=n("li"),Y=n("button"),L(qe.$$.fragment),un=c(),ht=n("span"),Vs=N(Us),dn=N(" header menu"),fn=c(),G=n("li"),fe=n("a"),es=n("div"),L(vt.$$.fragment),hn=c(),pt=n("h2"),pt.textContent=$a,vn=c(),mt=n("ul"),mt.innerHTML=ba,pn=c(),De=n("ul"),ts=n("li"),ne=n("button"),L(_t.$$.fragment),mn=c(),gt=n("span"),gt.textContent=ka,_n=c(),ss=n("li"),W=n("button"),L(ze.$$.fragment),gn=c(),$t=n("span"),js=N(Cs),$n=N(" header menu"),bn=c(),ae=n("ul"),V=n("li"),he=n("a"),bt=n("div"),L(kt.$$.fragment),kn=c(),Lt=n("h2"),Lt.textContent=La,Ln=c(),Et=n("ul"),Et.innerHTML=Ea,En=c(),Se=n("ul"),ls=n("li"),oe=n("button"),L(wt.$$.fragment),wn=c(),Ut=n("span"),Ut.textContent=wa,Un=c(),ns=n("li"),Z=n("button"),L(Ae.$$.fragment),Cn=c(),Ct=n("span"),Xs=N(Ps),Pn=N(" header menu"),Tn=c(),R=n("li"),ve=n("a"),Pt=n("div"),L(Tt.$$.fragment),In=c(),It=n("h2"),It.textContent=Ua,Nn=c(),Nt=n("ul"),Nt.innerHTML=Ca,qn=c(),Me=n("ul"),as=n("li"),re=n("button"),L(qt.$$.fragment),Dn=c(),Dt=n("span"),Dt.textContent=Pa,zn=c(),os=n("li"),y=n("button"),L(Be.$$.fragment),Sn=c(),zt=n("span"),Ws=N(Ts),An=N(" header menu"),Mn=c(),He=n("li"),Je=n("ul"),Oe=n("li"),x=n("button"),L(Fe.$$.fragment),Bn=c(),St=n("span"),ys=N(Is),Hn=N(" header menu"),Jn=c(),pe=n("a"),rs=n("i"),L(At.$$.fragment),On=c(),is=n("h3"),is.textContent=Ta,Fn=c(),Qe=n("li"),ee=n("button"),L(Ge.$$.fragment),Qn=c(),Mt=n("span"),el=N(Ns),Gn=N(" header menu"),Vn=c(),me=n("a"),cs=n("i"),L(Bt.$$.fragment),Rn=c(),us=n("h3"),us.textContent=Ia,jn=c(),Ht=n("h2"),Ht.innerHTML=Na,sl=c(),_e=n("footer"),ds=n("div"),B.block.c(),Kn=c(),Ve=n("ul"),fs=n("li"),Re=n("a"),L(Jt.$$.fragment),Xn=N(`
Documentation`),Yn=c(),hs=n("li"),je=n("a"),L(Ot.$$.fragment),Wn=N(`
Partner Portal`),this.h()},l(r){_o("svelte-zlk2mt",document.head).forEach(a),w=i(r),d=l(r,"NAV",{class:!0});var ge=o(d);f=l(ge,"UL",{class:!0});var H=o(f);_=l(H,"LI",{class:!0});var $e=o(_);v=l($e,"A",{href:!0,class:!0});var Ft=o(v);C=l(Ft,"DIV",{class:!0});var qs=o(C);k(D.$$.fragment,qs),qs.forEach(a),M=i(Ft),P=l(Ft,"H2",{class:!0,"data-svelte-h":!0}),U(P)!=="svelte-1a38a01"&&(P.textContent=S),Ft.forEach(a),ke=i($e),Le=l($e,"UL",{class:!0,"data-svelte-h":!0}),U(Le)!=="svelte-1tj1zl5"&&(Le.innerHTML=Hl),As=i($e),ie=l($e,"UL",{class:!0});var Qt=o(ie);Ke=l(Qt,"LI",{class:!0});var Ds=o(Ke);j=l(Ds,"BUTTON",{title:!0,class:!0});var Gt=o(j);k(Ee.$$.fragment,Gt),Ms=i(Gt),we=l(Gt,"SPAN",{class:!0,"data-svelte-h":!0}),U(we)!=="svelte-vg36pf"&&(we.textContent=Jl),Gt.forEach(a),Ds.forEach(a),Bs=i(Qt),Xe=l(Qt,"LI",{class:!0});var zs=o(Xe);J=l(zs,"BUTTON",{title:!0,class:!0});var Vt=o(J);k(T.$$.fragment,Vt),Ue=i(Vt),Ye=l(Vt,"SPAN",{class:!0});var yn=o(Ye);Hs=I(yn,Ls),Ol=I(yn," header menu"),yn.forEach(a),Vt.forEach(a),zs.forEach(a),Qt.forEach(a),$e.forEach(a),Fl=i(H),O=l(H,"LI",{class:!0});var vs=o(O);ce=l(vs,"A",{href:!0,class:!0});var ll=o(ce);Rt=l(ll,"DIV",{class:!0});var za=o(Rt);k(We.$$.fragment,za),za.forEach(a),Ql=i(ll),Ze=l(ll,"H2",{class:!0,"data-svelte-h":!0}),U(Ze)!=="svelte-bvmn5u"&&(Ze.textContent=ua),ll.forEach(a),Gl=i(vs),ye=l(vs,"UL",{class:!0,"data-svelte-h":!0}),U(ye)!=="svelte-ml78fh"&&(ye.innerHTML=da),Vl=i(vs),Ce=l(vs,"UL",{class:!0});var nl=o(Ce);jt=l(nl,"LI",{class:!0});var Sa=o(jt);te=l(Sa,"BUTTON",{title:!0,class:!0});var al=o(te);k(xe.$$.fragment,al),Rl=i(al),et=l(al,"SPAN",{class:!0,"data-svelte-h":!0}),U(et)!=="svelte-10o6fc2"&&(et.textContent=fa),al.forEach(a),Sa.forEach(a),jl=i(nl),Kt=l(nl,"LI",{class:!0});var Aa=o(Kt);K=l(Aa,"BUTTON",{title:!0,class:!0});var ol=o(K);k(Pe.$$.fragment,ol),Kl=i(ol),tt=l(ol,"SPAN",{class:!0});var xn=o(tt);Os=I(xn,Es),Xl=I(xn," header menu"),xn.forEach(a),ol.forEach(a),Aa.forEach(a),nl.forEach(a),vs.forEach(a),Yl=i(H),F=l(H,"LI",{class:!0});var ps=o(F);ue=l(ps,"A",{href:!0,class:!0});var rl=o(ue);Xt=l(rl,"DIV",{class:!0});var Ma=o(Xt);k(st.$$.fragment,Ma),Ma.forEach(a),Wl=i(rl),lt=l(rl,"H2",{class:!0,"data-svelte-h":!0}),U(lt)!=="svelte-1ef7qq7"&&(lt.textContent=ha),rl.forEach(a),Zl=i(ps),nt=l(ps,"UL",{class:!0,"data-svelte-h":!0}),U(nt)!=="svelte-16nvdoq"&&(nt.innerHTML=va),yl=i(ps),Te=l(ps,"UL",{class:!0});var il=o(Te);Yt=l(il,"LI",{class:!0});var Ba=o(Yt);se=l(Ba,"BUTTON",{title:!0,class:!0});var cl=o(se);k(at.$$.fragment,cl),xl=i(cl),ot=l(cl,"SPAN",{class:!0,"data-svelte-h":!0}),U(ot)!=="svelte-7a5jqd"&&(ot.textContent=pa),cl.forEach(a),Ba.forEach(a),en=i(il),Wt=l(il,"LI",{class:!0});var Ha=o(Wt);X=l(Ha,"BUTTON",{title:!0,class:!0});var ul=o(X);k(Ie.$$.fragment,ul),tn=i(ul),rt=l(ul,"SPAN",{class:!0});var ea=o(rt);Qs=I(ea,ws),sn=I(ea," header menu"),ea.forEach(a),ul.forEach(a),Ha.forEach(a),il.forEach(a),ps.forEach(a),ln=i(H),Q=l(H,"LI",{class:!0});var ms=o(Q);de=l(ms,"A",{href:!0,class:!0});var dl=o(de);Zt=l(dl,"DIV",{class:!0});var Ja=o(Zt);k(it.$$.fragment,Ja),Ja.forEach(a),nn=i(dl),ct=l(dl,"H2",{class:!0,"data-svelte-h":!0}),U(ct)!=="svelte-1bxtcha"&&(ct.textContent=ma),dl.forEach(a),an=i(ms),ut=l(ms,"UL",{class:!0,"data-svelte-h":!0}),U(ut)!=="svelte-198kha5"&&(ut.innerHTML=_a),on=i(ms),Ne=l(ms,"UL",{class:!0});var fl=o(Ne);yt=l(fl,"LI",{class:!0});var Oa=o(yt);le=l(Oa,"BUTTON",{title:!0,class:!0});var hl=o(le);k(dt.$$.fragment,hl),rn=i(hl),ft=l(hl,"SPAN",{class:!0,"data-svelte-h":!0}),U(ft)!=="svelte-12zm1eu"&&(ft.textContent=ga),hl.forEach(a),Oa.forEach(a),cn=i(fl),xt=l(fl,"LI",{class:!0});var Fa=o(xt);Y=l(Fa,"BUTTON",{title:!0,class:!0});var vl=o(Y);k(qe.$$.fragment,vl),un=i(vl),ht=l(vl,"SPAN",{class:!0});var ta=o(ht);Vs=I(ta,Us),dn=I(ta," header menu"),ta.forEach(a),vl.forEach(a),Fa.forEach(a),fl.forEach(a),ms.forEach(a),fn=i(H),G=l(H,"LI",{class:!0});var _s=o(G);fe=l(_s,"A",{href:!0,class:!0});var pl=o(fe);es=l(pl,"DIV",{class:!0});var Qa=o(es);k(vt.$$.fragment,Qa),Qa.forEach(a),hn=i(pl),pt=l(pl,"H2",{class:!0,"data-svelte-h":!0}),U(pt)!=="svelte-187k1uv"&&(pt.textContent=$a),pl.forEach(a),vn=i(_s),mt=l(_s,"UL",{class:!0,"data-svelte-h":!0}),U(mt)!=="svelte-1hxwc9f"&&(mt.innerHTML=ba),pn=i(_s),De=l(_s,"UL",{class:!0});var ml=o(De);ts=l(ml,"LI",{class:!0});var Ga=o(ts);ne=l(Ga,"BUTTON",{title:!0,class:!0});var _l=o(ne);k(_t.$$.fragment,_l),mn=i(_l),gt=l(_l,"SPAN",{class:!0,"data-svelte-h":!0}),U(gt)!=="svelte-96zp3x"&&(gt.textContent=ka),_l.forEach(a),Ga.forEach(a),_n=i(ml),ss=l(ml,"LI",{class:!0});var Va=o(ss);W=l(Va,"BUTTON",{title:!0,class:!0});var gl=o(W);k(ze.$$.fragment,gl),gn=i(gl),$t=l(gl,"SPAN",{class:!0});var sa=o($t);js=I(sa,Cs),$n=I(sa," header menu"),sa.forEach(a),gl.forEach(a),Va.forEach(a),ml.forEach(a),_s.forEach(a),H.forEach(a),bn=i(ge),ae=l(ge,"UL",{class:!0});var gs=o(ae);V=l(gs,"LI",{class:!0});var $s=o(V);he=l($s,"A",{href:!0,class:!0});var $l=o(he);bt=l($l,"DIV",{class:!0,style:!0});var Ra=o(bt);k(kt.$$.fragment,Ra),Ra.forEach(a),kn=i($l),Lt=l($l,"H2",{class:!0,"data-svelte-h":!0}),U(Lt)!=="svelte-1945w61"&&(Lt.textContent=La),$l.forEach(a),Ln=i($s),Et=l($s,"UL",{class:!0,"data-svelte-h":!0}),U(Et)!=="svelte-1k625ps"&&(Et.innerHTML=Ea),En=i($s),Se=l($s,"UL",{class:!0});var bl=o(Se);ls=l(bl,"LI",{class:!0});var ja=o(ls);oe=l(ja,"BUTTON",{title:!0,class:!0});var kl=o(oe);k(wt.$$.fragment,kl),wn=i(kl),Ut=l(kl,"SPAN",{class:!0,"data-svelte-h":!0}),U(Ut)!=="svelte-zgpe6t"&&(Ut.textContent=wa),kl.forEach(a),ja.forEach(a),Un=i(bl),ns=l(bl,"LI",{class:!0});var Ka=o(ns);Z=l(Ka,"BUTTON",{title:!0,class:!0});var Ll=o(Z);k(Ae.$$.fragment,Ll),Cn=i(Ll),Ct=l(Ll,"SPAN",{class:!0});var la=o(Ct);Xs=I(la,Ps),Pn=I(la," header menu"),la.forEach(a),Ll.forEach(a),Ka.forEach(a),bl.forEach(a),$s.forEach(a),Tn=i(gs),R=l(gs,"LI",{class:!0});var bs=o(R);ve=l(bs,"A",{href:!0,class:!0});var El=o(ve);Pt=l(El,"DIV",{class:!0,style:!0});var Xa=o(Pt);k(Tt.$$.fragment,Xa),Xa.forEach(a),In=i(El),It=l(El,"H2",{class:!0,"data-svelte-h":!0}),U(It)!=="svelte-v0z4e8"&&(It.textContent=Ua),El.forEach(a),Nn=i(bs),Nt=l(bs,"UL",{class:!0,"data-svelte-h":!0}),U(Nt)!=="svelte-17bqupm"&&(Nt.innerHTML=Ca),qn=i(bs),Me=l(bs,"UL",{class:!0});var wl=o(Me);as=l(wl,"LI",{class:!0});var Ya=o(as);re=l(Ya,"BUTTON",{title:!0,class:!0});var Ul=o(re);k(qt.$$.fragment,Ul),Dn=i(Ul),Dt=l(Ul,"SPAN",{class:!0,"data-svelte-h":!0}),U(Dt)!=="svelte-1mz1lxe"&&(Dt.textContent=Pa),Ul.forEach(a),Ya.forEach(a),zn=i(wl),os=l(wl,"LI",{class:!0});var Wa=o(os);y=l(Wa,"BUTTON",{title:!0,class:!0});var Cl=o(y);k(Be.$$.fragment,Cl),Sn=i(Cl),zt=l(Cl,"SPAN",{class:!0});var na=o(zt);Ws=I(na,Ts),An=I(na," header menu"),na.forEach(a),Cl.forEach(a),Wa.forEach(a),wl.forEach(a),bs.forEach(a),Mn=i(gs),He=l(gs,"LI",{class:!0});var Pl=o(He);Je=l(Pl,"UL",{class:!0});var Tl=o(Je);Oe=l(Tl,"LI",{class:!0});var Il=o(Oe);x=l(Il,"BUTTON",{title:!0,class:!0});var Nl=o(x);k(Fe.$$.fragment,Nl),Bn=i(Nl),St=l(Nl,"SPAN",{class:!0});var aa=o(St);ys=I(aa,Is),Hn=I(aa," header menu"),aa.forEach(a),Nl.forEach(a),Jn=i(Il),pe=l(Il,"A",{href:!0,class:!0});var ql=o(pe);rs=l(ql,"I",{class:!0});var Za=o(rs);k(At.$$.fragment,Za),Za.forEach(a),On=i(ql),is=l(ql,"H3",{"data-svelte-h":!0}),U(is)!=="svelte-12gavf5"&&(is.textContent=Ta),ql.forEach(a),Il.forEach(a),Fn=i(Tl),Qe=l(Tl,"LI",{class:!0});var Dl=o(Qe);ee=l(Dl,"BUTTON",{title:!0,class:!0});var zl=o(ee);k(Ge.$$.fragment,zl),Qn=i(zl),Mt=l(zl,"SPAN",{class:!0});var oa=o(Mt);el=I(oa,Ns),Gn=I(oa," header menu"),oa.forEach(a),zl.forEach(a),Vn=i(Dl),me=l(Dl,"A",{href:!0,class:!0});var Sl=o(me);cs=l(Sl,"I",{class:!0});var ya=o(cs);k(Bt.$$.fragment,ya),ya.forEach(a),Rn=i(Sl),us=l(Sl,"H3",{"data-svelte-h":!0}),U(us)!=="svelte-16npeyx"&&(us.textContent=Ia),Sl.forEach(a),Dl.forEach(a),Tl.forEach(a),jn=i(Pl),Ht=l(Pl,"H2",{class:!0,"data-svelte-h":!0}),U(Ht)!=="svelte-bhbezd"&&(Ht.innerHTML=Na),Pl.forEach(a),gs.forEach(a),ge.forEach(a),sl=i(r),_e=l(r,"FOOTER",{class:!0});var Al=o(_e);ds=l(Al,"DIV",{});var xa=o(ds);B.block.l(xa),xa.forEach(a),Kn=i(Al),Ve=l(Al,"UL",{class:!0});var Ml=o(Ve);fs=l(Ml,"LI",{class:!0});var eo=o(fs);Re=l(eo,"A",{href:!0,class:!0});var ra=o(Re);k(Jt.$$.fragment,ra),Xn=I(ra,`
Documentation`),ra.forEach(a),eo.forEach(a),Yn=i(Ml),hs=l(Ml,"LI",{class:!0});var to=o(hs);je=l(to,"A",{href:!0,class:!0});var ia=o(je);k(Ot.$$.fragment,ia),Wn=I(ia,`
Partner Portal`),ia.forEach(a),to.forEach(a),Ml.forEach(a),Al.forEach(a),this.h()},h(){t(C,"class","icon svelte-50so3t"),t(P,"class","svelte-50so3t"),t(v,"href","/database"),t(v,"class","svelte-50so3t"),t(Le,"class","description svelte-50so3t"),t(we,"class","label"),t(j,"title","More information"),t(j,"class","svelte-50so3t"),t(Ke,"class","svelte-50so3t"),t(Ye,"class","label"),t(J,"title",Js=(s[1].header.includes("database")?"Unpin Database from":"Pin Database to")+" header menu"),t(J,"class","svelte-50so3t"),t(Xe,"class","svelte-50so3t"),t(ie,"class","actions svelte-50so3t"),t(_,"class","application svelte-50so3t"),A(_,"showDescription",s[0].includes("database")),t(Rt,"class","icon svelte-50so3t"),t(Ze,"class","svelte-50so3t"),t(ce,"href","/users"),t(ce,"class","svelte-50so3t"),t(ye,"class","description svelte-50so3t"),t(et,"class","label"),t(te,"title","More information"),t(te,"class","svelte-50so3t"),t(jt,"class","svelte-50so3t"),t(tt,"class","label"),t(K,"title",Fs=(s[1].header.includes("users")?"Unpin Users from":"Pin Users to")+" header menu"),t(K,"class","svelte-50so3t"),t(Kt,"class","svelte-50so3t"),t(Ce,"class","actions svelte-50so3t"),t(O,"class","application svelte-50so3t"),A(O,"showDescription",s[0].includes("users")),t(Xt,"class","icon svelte-50so3t"),t(lt,"class","svelte-50so3t"),t(ue,"href","/logs"),t(ue,"class","svelte-50so3t"),t(nt,"class","description svelte-50so3t"),t(ot,"class","label"),t(se,"title","More information"),t(se,"class","svelte-50so3t"),t(Yt,"class","svelte-50so3t"),t(rt,"class","label"),t(X,"title",Gs=(s[1].header.includes("logs")?"Unpin Logs from":"Pin Logs to")+" header menu"),t(X,"class","svelte-50so3t"),t(Wt,"class","svelte-50so3t"),t(Te,"class","actions svelte-50so3t"),t(F,"class","application svelte-50so3t"),A(F,"showDescription",s[0].includes("logs")),t(Zt,"class","icon svelte-50so3t"),t(ct,"class","svelte-50so3t"),t(de,"href","/backgroundJobs"),t(de,"class","svelte-50so3t"),t(ut,"class","description svelte-50so3t"),t(ft,"class","label"),t(le,"title","More information"),t(le,"class","svelte-50so3t"),t(yt,"class","svelte-50so3t"),t(ht,"class","label"),t(Y,"title",Rs=(s[1].header.includes("backgroundJobs")?"Unpin Background Jobs from":"Pin Background Jobs to")+" header menu"),t(Y,"class","svelte-50so3t"),t(xt,"class","svelte-50so3t"),t(Ne,"class","actions svelte-50so3t"),t(Q,"class","application svelte-50so3t"),A(Q,"showDescription",s[0].includes("backgroundJobs")),t(es,"class","icon svelte-50so3t"),t(pt,"class","svelte-50so3t"),t(fe,"href","/constants"),t(fe,"class","svelte-50so3t"),t(mt,"class","description svelte-50so3t"),t(gt,"class","label"),t(ne,"title","More information"),t(ne,"class","svelte-50so3t"),t(ts,"class","svelte-50so3t"),t($t,"class","label"),t(W,"title",Ks=(s[1].header.includes("constants")?"Unpin Constants from":"Pin Constants to")+" header menu"),t(W,"class","svelte-50so3t"),t(ss,"class","svelte-50so3t"),t(De,"class","actions svelte-50so3t"),t(G,"class","application svelte-50so3t"),A(G,"showDescription",s[0].includes("constants")),t(f,"class","applications svelte-50so3t"),t(bt,"class","icon svelte-50so3t"),so(bt,"color","#aeb0b3"),t(Lt,"class","svelte-50so3t"),t(he,"href",(typeof window<"u"&&window.location.port!=="4173"&&window.location.port!=="5173"?`http://localhost:${parseInt(window.location.port)}`:"http://localhost:3333")+"/gui/liquid"),t(he,"class","svelte-50so3t"),t(Et,"class","description svelte-50so3t"),t(Ut,"class","label"),t(oe,"title","More information"),t(oe,"class","svelte-50so3t"),t(ls,"class","svelte-50so3t"),t(Ct,"class","label"),t(Z,"title",Ys=(s[1].header.includes("liquid")?"Unpin Liquid Evaluator from":"Pin Liquid Evaluator to")+" header menu"),t(Z,"class","svelte-50so3t"),t(ns,"class","svelte-50so3t"),t(Se,"class","actions svelte-50so3t"),t(V,"class","application svelte-50so3t"),A(V,"showDescription",s[0].includes("liquid")),t(Pt,"class","icon svelte-50so3t"),so(Pt,"color","#f30e9c"),t(It,"class","svelte-50so3t"),t(ve,"href",(typeof window<"u"&&window.location.port!=="4173"&&window.location.port!=="5173"?`http://localhost:${parseInt(window.location.port)}`:"http://localhost:3333")+"/gui/graphql"),t(ve,"class","svelte-50so3t"),t(Nt,"class","description svelte-50so3t"),t(Dt,"class","label"),t(re,"title","More information"),t(re,"class","svelte-50so3t"),t(as,"class","svelte-50so3t"),t(zt,"class","label"),t(y,"title",Zs=(s[1].header.includes("graphiql")?"Unpin GraphiQL from":"Pin GraphiQL to")+" header menu"),t(y,"class","svelte-50so3t"),t(os,"class","svelte-50so3t"),t(Me,"class","actions svelte-50so3t"),t(R,"class","application svelte-50so3t"),A(R,"showDescription",s[0].includes("graphiql")),t(St,"class","label"),t(x,"title",xs=(s[1].header.includes("logsv2")?"Unpin Logs v2 from":"Pin Logs v2 to")+" header menu"),t(x,"class","svelte-50so3t"),t(rs,"class","svelte-50so3t"),t(pe,"href","/logsv2"),t(pe,"class","svelte-50so3t"),t(Oe,"class","svelte-50so3t"),t(Mt,"class","label"),t(ee,"title",tl=(s[1].header.includes("network")?"Unpin Network Logs from":"Pin Network Logs to")+" header menu"),t(ee,"class","svelte-50so3t"),t(cs,"class","svelte-50so3t"),t(me,"href","/network"),t(me,"class","svelte-50so3t"),t(Qe,"class","svelte-50so3t"),t(Je,"class","svelte-50so3t"),t(Ht,"class","svelte-50so3t"),t(He,"class","early svelte-50so3t"),t(ae,"class","applications svelte-50so3t"),t(d,"class","svelte-50so3t"),t(Re,"href","https://documentation.platformos.com"),t(Re,"class","button svelte-50so3t"),t(fs,"class","svelte-50so3t"),t(je,"href","https://partners.platformos.com"),t(je,"class","button svelte-50so3t"),t(hs,"class","svelte-50so3t"),t(Ve,"class","svelte-50so3t"),t(_e,"class","svelte-50so3t")},m(r,h){ks(r,w,h),ks(r,d,h),e(d,f),e(f,_),e(_,v),e(v,C),b(D,C,null),e(v,M),e(v,P),e(_,ke),e(_,Le),e(_,As),e(_,ie),e(ie,Ke),e(Ke,j),b(Ee,j,null),e(j,Ms),e(j,we),e(ie,Bs),e(ie,Xe),e(Xe,J),b(T,J,null),e(J,Ue),e(J,Ye),e(Ye,Hs),e(Ye,Ol),e(f,Fl),e(f,O),e(O,ce),e(ce,Rt),b(We,Rt,null),e(ce,Ql),e(ce,Ze),e(O,Gl),e(O,ye),e(O,Vl),e(O,Ce),e(Ce,jt),e(jt,te),b(xe,te,null),e(te,Rl),e(te,et),e(Ce,jl),e(Ce,Kt),e(Kt,K),b(Pe,K,null),e(K,Kl),e(K,tt),e(tt,Os),e(tt,Xl),e(f,Yl),e(f,F),e(F,ue),e(ue,Xt),b(st,Xt,null),e(ue,Wl),e(ue,lt),e(F,Zl),e(F,nt),e(F,yl),e(F,Te),e(Te,Yt),e(Yt,se),b(at,se,null),e(se,xl),e(se,ot),e(Te,en),e(Te,Wt),e(Wt,X),b(Ie,X,null),e(X,tn),e(X,rt),e(rt,Qs),e(rt,sn),e(f,ln),e(f,Q),e(Q,de),e(de,Zt),b(it,Zt,null),e(de,nn),e(de,ct),e(Q,an),e(Q,ut),e(Q,on),e(Q,Ne),e(Ne,yt),e(yt,le),b(dt,le,null),e(le,rn),e(le,ft),e(Ne,cn),e(Ne,xt),e(xt,Y),b(qe,Y,null),e(Y,un),e(Y,ht),e(ht,Vs),e(ht,dn),e(f,fn),e(f,G),e(G,fe),e(fe,es),b(vt,es,null),e(fe,hn),e(fe,pt),e(G,vn),e(G,mt),e(G,pn),e(G,De),e(De,ts),e(ts,ne),b(_t,ne,null),e(ne,mn),e(ne,gt),e(De,_n),e(De,ss),e(ss,W),b(ze,W,null),e(W,gn),e(W,$t),e($t,js),e($t,$n),e(d,bn),e(d,ae),e(ae,V),e(V,he),e(he,bt),b(kt,bt,null),e(he,kn),e(he,Lt),e(V,Ln),e(V,Et),e(V,En),e(V,Se),e(Se,ls),e(ls,oe),b(wt,oe,null),e(oe,wn),e(oe,Ut),e(Se,Un),e(Se,ns),e(ns,Z),b(Ae,Z,null),e(Z,Cn),e(Z,Ct),e(Ct,Xs),e(Ct,Pn),e(ae,Tn),e(ae,R),e(R,ve),e(ve,Pt),b(Tt,Pt,null),e(ve,In),e(ve,It),e(R,Nn),e(R,Nt),e(R,qn),e(R,Me),e(Me,as),e(as,re),b(qt,re,null),e(re,Dn),e(re,Dt),e(Me,zn),e(Me,os),e(os,y),b(Be,y,null),e(y,Sn),e(y,zt),e(zt,Ws),e(zt,An),e(ae,Mn),e(ae,He),e(He,Je),e(Je,Oe),e(Oe,x),b(Fe,x,null),e(x,Bn),e(x,St),e(St,ys),e(St,Hn),e(Oe,Jn),e(Oe,pe),e(pe,rs),b(At,rs,null),e(pe,On),e(pe,is),e(Je,Fn),e(Je,Qe),e(Qe,ee),b(Ge,ee,null),e(ee,Qn),e(ee,Mt),e(Mt,el),e(Mt,Gn),e(Qe,Vn),e(Qe,me),e(me,cs),b(Bt,cs,null),e(me,Rn),e(me,us),e(He,jn),e(He,Ht),ks(r,sl,h),ks(r,_e,h),e(_e,ds),B.block.m(ds,B.anchor=null),B.mount=()=>ds,B.anchor=null,e(_e,Kn),e(_e,Ve),e(Ve,fs),e(fs,Re),b(Jt,Re,null),e(Re,Xn),e(Ve,Yn),e(Ve,hs),e(hs,je),b(Ot,je,null),e(je,Wn),g=!0,Zn||(qa=[q(v,"focus",s[2],{once:!0}),q(v,"mouseover",s[2],{once:!0}),q(j,"click",s[7]),q(J,"click",s[8]),q(te,"click",s[9]),q(K,"click",s[10]),q(se,"click",s[11]),q(X,"click",s[12]),q(le,"click",s[13]),q(Y,"click",s[14]),q(ne,"click",s[15]),q(W,"click",s[16]),q(oe,"click",s[17]),q(Z,"click",s[18]),q(re,"click",s[19]),q(y,"click",s[20]),q(x,"click",s[21]),q(ee,"click",s[22])],Zn=!0)},p(r,[h]){var Vt;s=r,(!g||h&2)&&u!==(u="platformOS"+((Vt=s[1].online)!=null&&Vt.MPKIT_URL?": "+s[1].online.MPKIT_URL.replace("https://",""):""))&&(document.title=u);const ge={};h&2&&(ge.icon=s[1].header.includes("database")?"pinFilled":"pin"),T.$set(ge),(!g||h&2)&&Ls!==(Ls=s[1].header.includes("database")?"Unpin Database from":"Pin Database to")&&be(Hs,Ls),(!g||h&2&&Js!==(Js=(s[1].header.includes("database")?"Unpin Database from":"Pin Database to")+" header menu"))&&t(J,"title",Js),(!g||h&1)&&A(_,"showDescription",s[0].includes("database"));const H={};h&2&&(H.icon=s[1].header.includes("users")?"pinFilled":"pin"),Pe.$set(H),(!g||h&2)&&Es!==(Es=s[1].header.includes("users")?"Unpin Users from":"Pin Users to")&&be(Os,Es),(!g||h&2&&Fs!==(Fs=(s[1].header.includes("users")?"Unpin Users from":"Pin Users to")+" header menu"))&&t(K,"title",Fs),(!g||h&1)&&A(O,"showDescription",s[0].includes("users"));const $e={};h&2&&($e.icon=s[1].header.includes("logs")?"pinFilled":"pin"),Ie.$set($e),(!g||h&2)&&ws!==(ws=s[1].header.includes("logs")?"Unpin Logs from":"Pin Logs to")&&be(Qs,ws),(!g||h&2&&Gs!==(Gs=(s[1].header.includes("logs")?"Unpin Logs from":"Pin Logs to")+" header menu"))&&t(X,"title",Gs),(!g||h&1)&&A(F,"showDescription",s[0].includes("logs"));const Ft={};h&2&&(Ft.icon=s[1].header.includes("backgroundJobs")?"pinFilled":"pin"),qe.$set(Ft),(!g||h&2)&&Us!==(Us=s[1].header.includes("backgroundJobs")?"Unpin Background Jobs from":"Pin Background Jobs to")&&be(Vs,Us),(!g||h&2&&Rs!==(Rs=(s[1].header.includes("backgroundJobs")?"Unpin Background Jobs from":"Pin Background Jobs to")+" header menu"))&&t(Y,"title",Rs),(!g||h&1)&&A(Q,"showDescription",s[0].includes("backgroundJobs"));const qs={};h&2&&(qs.icon=s[1].header.includes("constants")?"pinFilled":"pin"),ze.$set(qs),(!g||h&2)&&Cs!==(Cs=s[1].header.includes("constants")?"Unpin Constants from":"Pin Constants to")&&be(js,Cs),(!g||h&2&&Ks!==(Ks=(s[1].header.includes("constants")?"Unpin Constants from":"Pin Constants to")+" header menu"))&&t(W,"title",Ks),(!g||h&1)&&A(G,"showDescription",s[0].includes("constants"));const Qt={};h&2&&(Qt.icon=s[1].header.includes("liquid")?"pinFilled":"pin"),Ae.$set(Qt),(!g||h&2)&&Ps!==(Ps=s[1].header.includes("liquid")?"Unpin Liquid Evaluator from":"Pin Liquid Evaluator to")&&be(Xs,Ps),(!g||h&2&&Ys!==(Ys=(s[1].header.includes("liquid")?"Unpin Liquid Evaluator from":"Pin Liquid Evaluator to")+" header menu"))&&t(Z,"title",Ys),(!g||h&1)&&A(V,"showDescription",s[0].includes("liquid"));const Ds={};h&2&&(Ds.icon=s[1].header.includes("graphiql")?"pinFilled":"pin"),Be.$set(Ds),(!g||h&2)&&Ts!==(Ts=s[1].header.includes("graphiql")?"Unpin GraphiQL from":"Pin GraphiQL to")&&be(Ws,Ts),(!g||h&2&&Zs!==(Zs=(s[1].header.includes("graphiql")?"Unpin GraphiQL from":"Pin GraphiQL to")+" header menu"))&&t(y,"title",Zs),(!g||h&1)&&A(R,"showDescription",s[0].includes("graphiql"));const Gt={};h&2&&(Gt.icon=s[1].header.includes("logsv2")?"pinFilled":"pin"),Fe.$set(Gt),(!g||h&2)&&Is!==(Is=s[1].header.includes("logsv2")?"Unpin Logs v2 from":"Pin Logs v2 to")&&be(ys,Is),(!g||h&2&&xs!==(xs=(s[1].header.includes("logsv2")?"Unpin Logs v2 from":"Pin Logs v2 to")+" header menu"))&&t(x,"title",xs);const zs={};h&2&&(zs.icon=s[1].header.includes("network")?"pinFilled":"pin"),Ge.$set(zs),(!g||h&2)&&Ns!==(Ns=s[1].header.includes("network")?"Unpin Network Logs from":"Pin Network Logs to")&&be(el,Ns),(!g||h&2&&tl!==(tl=(s[1].header.includes("network")?"Unpin Network Logs from":"Pin Network Logs to")+" header menu"))&&t(ee,"title",tl),Lo(B,s,h)},i(r){g||(p(D.$$.fragment,r),p(Ee.$$.fragment,r),p(T.$$.fragment,r),p(We.$$.fragment,r),p(xe.$$.fragment,r),p(Pe.$$.fragment,r),p(st.$$.fragment,r),p(at.$$.fragment,r),p(Ie.$$.fragment,r),p(it.$$.fragment,r),p(dt.$$.fragment,r),p(qe.$$.fragment,r),p(vt.$$.fragment,r),p(_t.$$.fragment,r),p(ze.$$.fragment,r),p(kt.$$.fragment,r),p(wt.$$.fragment,r),p(Ae.$$.fragment,r),p(Tt.$$.fragment,r),p(qt.$$.fragment,r),p(Be.$$.fragment,r),p(Fe.$$.fragment,r),p(At.$$.fragment,r),p(Ge.$$.fragment,r),p(Bt.$$.fragment,r),p(B.block),p(Jt.$$.fragment,r),p(Ot.$$.fragment,r),g=!0)},o(r){m(D.$$.fragment,r),m(Ee.$$.fragment,r),m(T.$$.fragment,r),m(We.$$.fragment,r),m(xe.$$.fragment,r),m(Pe.$$.fragment,r),m(st.$$.fragment,r),m(at.$$.fragment,r),m(Ie.$$.fragment,r),m(it.$$.fragment,r),m(dt.$$.fragment,r),m(qe.$$.fragment,r),m(vt.$$.fragment,r),m(_t.$$.fragment,r),m(ze.$$.fragment,r),m(kt.$$.fragment,r),m(wt.$$.fragment,r),m(Ae.$$.fragment,r),m(Tt.$$.fragment,r),m(qt.$$.fragment,r),m(Be.$$.fragment,r),m(Fe.$$.fragment,r),m(At.$$.fragment,r),m(Ge.$$.fragment,r),m(Bt.$$.fragment,r);for(let h=0;h<3;h+=1){const ge=B.blocks[h];m(ge)}m(Jt.$$.fragment,r),m(Ot.$$.fragment,r),g=!1},d(r){r&&(a(w),a(d),a(sl),a(_e)),$(D),$(Ee),$(T),$(We),$(xe),$(Pe),$(st),$(at),$(Ie),$(it),$(dt),$(qe),$(vt),$(_t),$(ze),$(kt),$(wt),$(Ae),$(Tt),$(qt),$(Be),$(Fe),$(At),$(Ge),$(Bt),B.block.d(),B.token=null,B=null,$(Jt),$(Ot),Zn=!1,mo(qa)}}}function Po(s,u,w){let d;go(s,Ss,T=>w(1,d=T));let f=[];const _=async()=>{d.tables.length||ca(Ss,d.tables=await bo.get(),d)},v=T=>{d.header.indexOf(T)>-1?ca(Ss,d.header=d.header.filter(Ue=>Ue!==T),d):ca(Ss,d.header=[...d.header,T],d),localStorage.header=JSON.stringify(d.header)},C=T=>{f.indexOf(T)>-1?w(0,f=f.filter(Ue=>Ue!==T)):w(0,f=[...f,T])};return[f,d,_,v,C,async()=>await(await fetch("https://registry.npmjs.org/@platformos/pos-cli/latest")).json(),()=>{navigator.clipboard.writeText("npm i -g @platformos/pos-cli@latest").then(()=>{Ss.notification.create("info","<div>Update command copied to clipboard <small>Run <code>npm i -g @platformos/pos-cli@latest</code> in the terminal</small></div>")}).catch(T=>{copying=!1,error=!0,console.error(T)})},()=>C("database"),()=>v("database"),()=>C("users"),()=>v("users"),()=>C("logs"),()=>v("logs"),()=>C("backgroundJobs"),()=>v("backgroundJobs"),()=>C("constants"),()=>v("constants"),()=>C("liquid"),()=>v("liquid"),()=>C("graphiql"),()=>v("graphiql"),()=>v("logsv2"),()=>v("network")]}class So extends ho{constructor(u){super(),vo(this,u,Po,Co,po,{})}}export{So as component};