signetai 0.109.3 → 0.109.5
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.
- package/dashboard/_app/immutable/chunks/{BqHTFC_P.js → -_nj4f7T.js} +1 -1
- package/dashboard/_app/immutable/chunks/{C9O1OloM.js → 0DK89m5L.js} +1 -1
- package/dashboard/_app/immutable/chunks/{C-jlsJpn.js → 2fcRPqnI.js} +2 -2
- package/dashboard/_app/immutable/chunks/{Dp1QVP9D.js → 3IE1czkO.js} +1 -1
- package/dashboard/_app/immutable/chunks/{BrArfWvm.js → 9ImzYsXW.js} +1 -1
- package/dashboard/_app/immutable/chunks/{k_YBX7Wc.js → 9gL_ULuF.js} +1 -1
- package/dashboard/_app/immutable/chunks/{CIXGd3mv.js → B6KFhE8C.js} +1 -1
- package/dashboard/_app/immutable/chunks/BAcLVHUJ.js +1 -0
- package/dashboard/_app/immutable/chunks/{C5cKPZRf.js → BBGl-USY.js} +1 -1
- package/dashboard/_app/immutable/chunks/{Ddj2tMqs.js → BFD5OFzj.js} +1 -1
- package/dashboard/_app/immutable/chunks/{DesJAcLH.js → BR_AK2At.js} +1 -1
- package/dashboard/_app/immutable/chunks/{LBqOmzwa.js → BY1-FNmI.js} +1 -1
- package/dashboard/_app/immutable/chunks/{BaOeGQqb.js → BZlTGHov.js} +1 -1
- package/dashboard/_app/immutable/chunks/{BDaFw_yn.js → BcQ9qlWs.js} +1 -1
- package/dashboard/_app/immutable/chunks/{CVz1TuaY.js → Bcja5CDa.js} +2 -2
- package/dashboard/_app/immutable/chunks/{DLUlsDf8.js → Bd2_J9cg.js} +1 -1
- package/dashboard/_app/immutable/chunks/{Csnzl4xs.js → BeY4_ktF.js} +1 -1
- package/dashboard/_app/immutable/chunks/{CAh3dVlh.js → C35IiVqw.js} +1 -1
- package/dashboard/_app/immutable/chunks/{tuGecDRk.js → C8vPBTRS.js} +1 -1
- package/dashboard/_app/immutable/chunks/{BVLx0wIl.js → CAllabbE.js} +1 -1
- package/dashboard/_app/immutable/chunks/{Dh63rooR.js → CJ_q9b0r.js} +1 -1
- package/dashboard/_app/immutable/chunks/{CtSMmRM6.js → CMWH72J4.js} +1 -1
- package/dashboard/_app/immutable/chunks/{BIWcRMks.js → CPEid4Wy.js} +1 -1
- package/dashboard/_app/immutable/chunks/{1TsCTvpy.js → CV74akJX.js} +1 -1
- package/dashboard/_app/immutable/chunks/{DNJ__sfH.js → CXNF7pcA.js} +1 -1
- package/dashboard/_app/immutable/chunks/{MqpDZNPl.js → Cc9M6097.js} +1 -1
- package/dashboard/_app/immutable/chunks/{C-I-Ku2N.js → CpRDaMMh.js} +1 -1
- package/dashboard/_app/immutable/chunks/{C_MEXxzk.js → CuxD6kwZ.js} +1 -1
- package/dashboard/_app/immutable/chunks/{DwtJ9AmR.js → D5e88yY6.js} +1 -1
- package/dashboard/_app/immutable/chunks/{DCoHg3zT.js → D8-xvnbg.js} +3 -3
- package/dashboard/_app/immutable/chunks/{R2nN1NwJ.js → DDEUlZ8U.js} +1 -1
- package/dashboard/_app/immutable/chunks/{iaaxJe83.js → DNoWw5F_.js} +1 -1
- package/dashboard/_app/immutable/chunks/{CYd4BwtU.js → DT34jq_d.js} +1 -1
- package/dashboard/_app/immutable/chunks/{BuOiTyFH.js → DZiMNOcg.js} +1 -1
- package/dashboard/_app/immutable/chunks/{Cnljllh7.js → DckwYto4.js} +1 -1
- package/dashboard/_app/immutable/chunks/{CYGL5OcR.js → DedG_GHG.js} +1 -1
- package/dashboard/_app/immutable/chunks/{Dy8CLfFo.js → DpWjPOYW.js} +1 -1
- package/dashboard/_app/immutable/chunks/{DimkiYMr.js → Dv421mXL.js} +1 -1
- package/dashboard/_app/immutable/chunks/{Cy0BPyhO.js → DyW5ijXN.js} +1 -1
- package/dashboard/_app/immutable/chunks/{8N0pohmd.js → JD7HC5jA.js} +1 -1
- package/dashboard/_app/immutable/chunks/{DXD8k27w.js → JYaAj53Q.js} +1 -1
- package/dashboard/_app/immutable/chunks/{CmLlIEFD.js → JftZx7o9.js} +1 -1
- package/dashboard/_app/immutable/chunks/{I2Y4DkwE.js → QgpGUt3p.js} +1 -1
- package/dashboard/_app/immutable/chunks/{D4bVjfPa.js → hMHnffoa.js} +1 -1
- package/dashboard/_app/immutable/chunks/{TxDRRwVw.js → lbMx1wB2.js} +1 -1
- package/dashboard/_app/immutable/chunks/{DaiAFAhD.js → r5Vqg8xE.js} +1 -1
- package/dashboard/_app/immutable/chunks/{D6D-UiZk.js → wh-tpcO9.js} +1 -1
- package/dashboard/_app/immutable/chunks/{BCNS7Hlx.js → x2S3MM9p.js} +1 -1
- package/dashboard/_app/immutable/entry/{app.DkANlJ3w.js → app.XFt71gYI.js} +2 -2
- package/dashboard/_app/immutable/entry/start.ec1gqST1.js +1 -0
- package/dashboard/_app/immutable/nodes/{1.BXjU9RXd.js → 1.B4RoDBvf.js} +1 -1
- package/dashboard/_app/immutable/nodes/2.D9vi-tN4.js +1 -0
- package/dashboard/_app/version.json +1 -1
- package/dashboard/index.html +6 -6
- package/dist/daemon.js +246 -95
- package/package.json +1 -1
- package/dashboard/_app/immutable/chunks/yKnUO3YG.js +0 -1
- package/dashboard/_app/immutable/entry/start.B_VEw9jn.js +0 -1
- package/dashboard/_app/immutable/nodes/2.WpVqSJbJ.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as d,i as S,u as M}from"./KKQFryJf.js";import{p as k,m as L,q as I,u as b,t as n,v as T,w as f,l as A,x as B,y as O,z as F,C as E}from"./
|
|
1
|
+
import{e as d,i as S,u as M}from"./KKQFryJf.js";import{p as k,m as L,q as I,u as b,t as n,v as T,w as f,l as A,x as B,y as O,z as F,C as E}from"./D8-xvnbg.js";const u=["var(--sig-icon-bg-1)","var(--sig-icon-bg-2)","var(--sig-icon-bg-3)","var(--sig-icon-bg-4)","var(--sig-icon-bg-5)","var(--sig-icon-bg-6)"];function R(t){let e=0;for(const l of t)e=e*31+l.charCodeAt(0)&65535;return e}function J(t){const e=t.split(/[-_.\s]+/).filter(Boolean);return e.length>=2?`${e[0]?.[0]??""}${e[1]?.[0]??""}`.toUpperCase():t.slice(0,2).toUpperCase()}function j(t){return u[Math.abs(R(t))%u.length]??u[0]}function Q(t){if(!t)return null;const e=t.match(/^https?:\/\/(?:www\.)?github\.com\/([a-zA-Z0-9._-]+)/);return e?.[1]?`https://github.com/${e[1]}.png?size=40`:null}function Y(t,e){return t?t==="modelcontextprotocol/servers"?"https://github.com/modelcontextprotocol.png?size=40":t==="github"&&e?.includes("/")?`https://github.com/${e.split("/")[0]}.png?size=40`:null:null}const r=d({installed:[],loadingInstalled:!1,catalog:[],catalogTotal:0,catalogLoaded:!1,catalogLoading:!1,catalogDetail:!1,query:"",view:"browse",category:"all",source:"all",sortBy:"popularity",tools:[],serverHealth:[],toolsLoading:!1,installingId:null,togglingId:null,removingId:null,installedError:null,catalogError:null,toolsError:null});function i(t){return t instanceof Error&&t.message?t.message:String(t)}function N(t,e){const l=[...t];switch(e){case"name":return l.sort((o,s)=>o.name.localeCompare(s.name));case"official":return l.sort((o,s)=>o.official&&!s.official?-1:!o.official&&s.official?1:o.popularityRank-s.popularityRank);default:return l.sort((o,s)=>o.popularityRank-s.popularityRank)}}function $(t){const e=r.query.trim().toLowerCase();return t.filter(l=>r.category!=="all"&&l.category!==r.category||r.source!=="all"&&l.source!==r.source?!1:e?l.name.toLowerCase().includes(e)||l.description.toLowerCase().includes(e)||l.id.toLowerCase().includes(e):!0)}function Z(){const t=new Set(["all"]);for(const e of r.catalog)t.add(e.category);return Array.from(t)}function K(){return["all","mcpservers.org","modelcontextprotocol/servers","github"]}function V(){return N($(r.catalog),r.sortBy)}async function q(){r.loadingInstalled=!0,r.installedError=null;try{const t=await L();r.installed=t.servers}catch(t){r.installed=[],r.installedError=i(t)}finally{r.loadingInstalled=!1}}async function W(t=5){if(!r.catalogLoaded){r.catalogLoading=!0,r.catalogError=null;try{const e=await k(t);r.catalog=e.results,r.catalogTotal=e.total,r.catalogLoaded=!0}catch(e){r.catalogError=i(e)}finally{r.catalogLoading=!1}}}async function p(t=!1){r.toolsLoading=!0,r.toolsError=null;try{const e=await I(t);r.tools=e.tools,r.serverHealth=e.servers}catch(e){r.tools=[],r.serverHealth=[],r.toolsError=i(e)}finally{r.toolsLoading=!1}}async function X(t,e){r.installingId=t.id;try{const l=await T({id:t.catalogId,source:t.source,alias:e?.alias,config:e?.config});return l.success?(n("Tool Server installed","success"),await Promise.all([q(),p(!0)]),r.catalog=r.catalog.map(o=>o.id===t.id?{...o,installed:!0}:o),!0):(n(l.error??"Install failed","error"),!1)}catch(l){return n(i(l),"error"),!1}finally{r.installingId=null}}async function tt(t){r.removingId=t;try{const e=r.installed.find(o=>o.id===t),l=await b(t);if(l.success){n("Tool Server removed","success"),r.installed=r.installed.filter(s=>s.id!==t),await p(!0);const o=e?.catalogId&&e.source!=="manual"?`${e.source}:${e.catalogId}`:null;o&&(r.catalog=r.catalog.map(s=>s.id===o?{...s,installed:!1}:s))}else n(l.error??"Remove failed","error")}catch(e){n(i(e),"error")}finally{r.removingId=null}}const m="signet:skills:catalog:v1",_=300*1e3;function x(){try{const t=localStorage.getItem(m);if(!t)return null;const e=JSON.parse(t);return typeof e.ts!="number"||!Array.isArray(e.results)||typeof e.total!="number"?null:e}catch{return null}}function y(t,e){try{const l={ts:Date.now(),results:t,total:e};localStorage.setItem(m,JSON.stringify(l))}catch{}}async function z(){try{const t=await f();a.catalog=t.results,a.catalogTotal=t.total,y(t.results,t.total)}catch{}}const a=d({view:"browse",installed:[],loading:!1,catalog:[],catalogTotal:0,catalogLoading:!1,catalogLoaded:!1,query:"",results:[],searching:!1,sortBy:"popularity",providerFilter:"all",categoryFilter:"all",compareSelected:[],selectedName:null,detailOpen:!1,detailContent:"",detailMeta:null,detailLoading:!1,detailSource:null,installing:null,uninstalling:null}),D=M(()=>new Map(a.catalog.map(t=>[t.name,t])));function at(){return S(D)}let g=null;function h(t,e){const l=[...t];switch(e){case"popularity":return l.sort((o,s)=>(s.popularityScore??s.installsRaw??0)-(o.popularityScore??o.installsRaw??0));case"installs":return l.sort((o,s)=>(s.installsRaw??0)-(o.installsRaw??0));case"stars":return l.sort((o,s)=>(s.stars??0)-(o.stars??0));case"name":return l.sort((o,s)=>o.name.localeCompare(s.name));case"newest":return l;default:return l}}function v(t,e){return e==="all"?[...t]:t.filter(l=>l.provider===e)}function w(t,e){return e==="all"?[...t]:t.filter(l=>(l.category??"Other")===e)}function et(){const t=new Set(["all"]);for(const e of[...a.catalog,...a.results])t.add(e.category??"Other");return Array.from(t)}function lt(){const t=v(a.catalog,a.providerFilter),e=w(t,a.categoryFilter);return h(e,a.sortBy)}function rt(){const t=v(a.results,a.providerFilter),e=w(t,a.categoryFilter);return h(e,a.sortBy)}function ot(){a.sortBy="popularity",a.providerFilter="all",a.categoryFilter="all"}function st(){a.compareSelected=[]}function nt(t){if(a.compareSelected.includes(t)){a.compareSelected=a.compareSelected.filter(l=>l!==t);return}a.compareSelected.length>=3||(a.compareSelected=[...a.compareSelected,t])}async function C(){a.loading=!0,a.installed=await A(),a.loading=!1}async function it(){if(a.catalogLoaded)return;const t=x();if(t){a.catalog=t.results,a.catalogTotal=t.total,a.catalogLoaded=!0,a.catalogLoading=!1,Date.now()-t.ts>_&&z();return}a.catalogLoading=!0;const e=await f();a.catalog=e.results,a.catalogTotal=e.total,a.catalogLoaded=!0,a.catalogLoading=!1,y(e.results,e.total)}function ct(t){if(a.query=t,g&&clearTimeout(g),!t.trim()){a.results=[],a.searching=!1;return}a.searching=!0,g=setTimeout(()=>H(),250)}async function H(){const t=a.query.trim();if(!t){a.results=[],a.searching=!1;return}a.searching=!0,a.results=await E(t),a.searching=!1}async function ut(t){a.selectedName=t,a.detailOpen=!0,a.detailLoading=!0,a.detailContent="",a.detailMeta=null;const e=a.results.find(s=>s.name===t)||a.catalog.find(s=>s.name===t);a.detailSource=e??null;const l=e?.fullName||void 0,o=await F(t,l);o&&(a.detailMeta=o,a.detailContent=o.content??""),a.detailLoading=!1}function P(){a.detailOpen=!1,a.selectedName=null,a.detailContent="",a.detailMeta=null,a.detailSource=null}async function gt(t){a.installing=t;const l=(a.results.find(s=>s.name===t)||a.catalog.find(s=>s.name===t))?.fullName||void 0;if((await O(t,l)).success){n(`Skill ${t} installed`,"success"),await C();const s=c=>c.name===t?{...c,installed:!0}:c;a.results=a.results.map(s),a.catalog=a.catalog.map(s)}else n(`Failed to install ${t}`,"error");a.installing=null}async function dt(t){if(a.uninstalling=t,(await B(t)).success){n(`Skill ${t} uninstalled`,"success"),await C();const l=o=>o.name===t?{...o,installed:!1}:o;a.results=a.results.map(l),a.catalog=a.catalog.map(l),a.selectedName===t&&P()}else n(`Failed to uninstall ${t}`,"error");a.uninstalling=null}export{et as A,Z as B,W as a,J as b,Y as c,Q as d,q as e,it as f,j as g,V as h,X as i,tt as j,K as k,P as l,r as m,dt as n,gt as o,at as p,C as q,p as r,a as s,ct as t,st as u,nt as v,ut as w,rt as x,lt as y,ot as z};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{p as se,s as be,c as C,f as w,a as fe,n as ge,b as c,d as re,r as ke,e as pe,o as me,j as u,A as Y,h as G,i as s,t as y,l as p,k as A,w as ue,x as Z,y as z,z as H,u as ee,a9 as Je,O as he,aa as We,a2 as Fe,K as Ue,m as T,v as te,U as Ve,P as Qe}from"./KKQFryJf.js";import{I as ye,K as Xe,o as ae}from"./
|
|
1
|
+
import{p as se,s as be,c as C,f as w,a as fe,n as ge,b as c,d as re,r as ke,e as pe,o as me,j as u,A as Y,h as G,i as s,t as y,l as p,k as A,w as ue,x as Z,y as z,z as H,u as ee,a9 as Je,O as he,aa as We,a2 as Fe,K as Ue,m as T,v as te,U as Ve,P as Qe}from"./KKQFryJf.js";import{I as ye,K as Xe,o as ae}from"./D8-xvnbg.js";import{S as Ye,a as Ze,b as et,c as tt}from"./BcQ9qlWs.js";import{W as at,L as ve}from"./DpWjPOYW.js";import{T as st}from"./B6KFhE8C.js";function rt(P,f){se(f,!0);let _=ke(f,["$$slots","$$events","$$legacy"]);const g=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2"}]];ye(P,be({name:"activity"},()=>_,{get iconNode(){return g},children:(h,O)=>{var x=C(),E=w(x);fe(E,()=>f.children??ge),c(h,x)},$$slots:{default:!0}})),re()}function nt(P,f){se(f,!0);let _=ke(f,["$$slots","$$events","$$legacy"]);const g=[["path",{d:"M12 19h8"}],["path",{d:"m4 17 6-6-6-6"}]];ye(P,be({name:"terminal"},()=>_,{get iconNode(){return g},children:(h,O)=>{var x=C(),E=w(x);fe(E,()=>f.children??ge),c(h,x)},$$slots:{default:!0}})),re()}var it=T('<span class="ts-panel-count svelte-c36e65"> </span>'),lt=T("<!> <!>",1),ot=T('<div class="ts-control svelte-c36e65"><div class="ts-control-head svelte-c36e65"><div class="ts-control-title-wrap svelte-c36e65"><!> <span class="ts-control-title svelte-c36e65"> </span> <!></div> <!></div> <div class="ts-action-bar svelte-c36e65"><!> <button class="ts-run svelte-c36e65"><!></button></div></div>'),ct=T('<button class="ts-clear svelte-c36e65" title="Clear output"><!></button>'),dt=T('<div class="ts-empty svelte-c36e65">no output yet</div>'),pt=T('<div class="ts-line svelte-c36e65"></div>'),mt=T('<div class="ts-root svelte-c36e65"><div class="ts-controls svelte-c36e65"></div> <div class="ts-terminal-wrap svelte-c36e65"><div class="ts-terminal-head svelte-c36e65"><span class="ts-control-title svelte-c36e65">Terminal</span> <!></div> <div class="ts-term svelte-c36e65" role="log"><!></div></div></div>');function yt(P,f){se(f,!0);const _=[{id:"cli",title:"CLI",icon:nt,color:"var(--sig-highlight)",commands:[{label:"Status",kind:"cli",key:"status"},{label:"Daemon Status",kind:"cli",key:"daemon-status"},{label:"Daemon Logs",kind:"cli",key:"daemon-logs"},{label:"Sync",kind:"cli",key:"sync"},{label:"Embed Audit",kind:"cli",key:"embed-audit"},{label:"Skill List",kind:"cli",key:"skill-list"},{label:"Secret List",kind:"cli",key:"secret-list"},{label:"Recall Test",kind:"cli",key:"recall-test"}]},{id:"status",title:"Status",icon:rt,color:"var(--sig-highlight)",commands:[{label:"Health",kind:"api",method:"GET",path:"/health"},{label:"Diagnostics",kind:"api",method:"GET",path:"/api/diagnostics"},{label:"Pipeline",kind:"api",method:"GET",path:"/api/pipeline/status"},{label:"Predictor",kind:"api",method:"GET",path:"/api/predictor/status"},{label:"Git",kind:"api",method:"GET",path:"/api/git/status"},{label:"Embeddings",kind:"api",method:"GET",path:"/api/embeddings/health"}]},{id:"info",title:"Info",icon:Xe,color:"var(--sig-highlight)",commands:[{label:"Embed Gaps",kind:"api",method:"GET",path:"/api/repair/embedding-gaps"},{label:"Dedup Stats",kind:"api",method:"GET",path:"/api/repair/dedup-stats"},{label:"Cold Stats",kind:"api",method:"GET",path:"/api/repair/cold-stats"}]},{id:"repair",title:"Repair",icon:at,color:"var(--sig-highlight)",commands:[{label:"Check FTS",kind:"api",method:"POST",path:"/api/repair/check-fts"},{label:"Re-embed",kind:"api",method:"POST",path:"/api/repair/re-embed"},{label:"Resync Vec",kind:"api",method:"POST",path:"/api/repair/resync-vec"},{label:"Clean Orphans",kind:"api",method:"POST",path:"/api/repair/clean-orphans"},{label:"Deduplicate",kind:"api",method:"POST",path:"/api/repair/deduplicate"},{label:"Retention",kind:"api",method:"POST",path:"/api/repair/retention-sweep"},{label:"Requeue Dead",kind:"api",method:"POST",path:"/api/repair/requeue-dead"},{label:"Release Leases",kind:"api",method:"POST",path:"/api/repair/release-leases"},{label:"Backfill Skipped",kind:"api",method:"POST",path:"/api/repair/backfill-skipped"},{label:"Reclassify",kind:"api",method:"POST",path:"/api/repair/reclassify-entities"},{label:"Prune Chunks",kind:"api",method:"POST",path:"/api/repair/prune-chunk-groups"},{label:"Prune Singletons",kind:"api",method:"POST",path:"/api/repair/prune-singleton-entities"},{label:"Stop Daemon",kind:"cli",key:"daemon-stop"},{label:"Restart Daemon",kind:"cli",key:"daemon-restart"},{label:"Update Signet",kind:"cli",key:"update"}]}],g=pe(Object.fromEntries(_.map(e=>[e.id,{lines:[],running:!1,selected:0}])));let h=me(pe([])),O=me(void 0);const x=Object.fromEntries(_.map(e=>[e.id,e]));function E(e){te(O,e,!0)}async function v(e){await Ve(),s(O)?.scrollTo({top:s(O).scrollHeight,behavior:"smooth"})}function o(e,t){const a=g[e];if(!a)return;a.lines=[...a.lines,t];const i=x[e]?.title??e;te(h,[...s(h),t?`[${i}] ${t}`:""],!0)}function _e(){te(h,[],!0);for(const e of _)g[e.id].lines=[]}async function xe(e,t){const a=g[e];if(!a||a.running||!t.key)return;a.running=!0,o(e,`\x1B[32m$\x1B[0m signet ${t.key.replace(/-/g," ")}`),await v();const i=new AbortController;let r=!1;try{const n=await fetch(`${ae}/api/troubleshoot/exec`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({key:t.key}),signal:i.signal});if(!n.ok){const D=await n.json().catch(()=>({error:"request failed"}));o(e,`\x1B[31merror:\x1B[0m ${D.error??n.statusText}`),a.running=!1,await v(e);return}const d=n.body?.getReader();if(!d){o(e,"\x1B[31merror:\x1B[0m no stream"),a.running=!1;return}t.key==="daemon-restart"&&(r=!0);const b=new TextDecoder;let $="";try{for(;;){const{done:D,value:W}=await d.read();if(D)break;$+=b.decode(W,{stream:!0});const N=$.split(`
|
|
2
2
|
|
|
3
3
|
`);$=N.pop()??"";for(const F of N){const R=F.match(/^data:\s*(.+)$/m);if(R)try{const m=JSON.parse(R[1]);if(m.type==="started"&&(r=!0),m.type==="stdout"||m.type==="stderr"){const S=String(m.data).replace(/\n$/,"");if(S){for(const I of S.split(`
|
|
4
4
|
`))o(e,m.type==="stderr"?`\x1B[33m${I}\x1B[0m`:I);await v(e)}}else m.type==="exit"?(o(e,m.code===0?"\x1B[32m✓ exit 0\x1B[0m":`\x1B[31m✗ exit ${m.code}\x1B[0m`),await v(e)):m.type==="error"&&(o(e,`\x1B[31merror:\x1B[0m ${m.message}`),await v(e))}catch{}}}}finally{d.releaseLock()}}catch(n){i.signal.aborted||(t.key==="daemon-stop"||t.key==="daemon-restart"?o(e,"\x1B[33mDaemon process ended\x1B[0m"):o(e,`\x1B[31merror:\x1B[0m ${n instanceof Error?n.message:"fetch failed"}`))}if(t.key==="daemon-restart"&&r){o(e,"\x1B[90mWaiting for daemon to restart...\x1B[0m"),await v();let n=!1;for(let d=0;d<15;d++){await new Promise(b=>setTimeout(b,1e3));try{if((await fetch(`${ae}/health`)).ok){n=!0;break}}catch{}}o(e,n?"\x1B[32m✓ Daemon restarted\x1B[0m":"\x1B[31m✗ Daemon did not restart within 15s\x1B[0m"),await v()}o(e,""),a.running=!1,await v()}async function $e(e,t){const a=g[e];if(!a||a.running||!t.path||!t.method)return;a.running=!0;const i=performance.now();o(e,`\x1B[32m$\x1B[0m ${t.method} ${t.path}`),await v();try{const r=await fetch(`${ae}${t.path}`,{method:t.method}),n=Math.round(performance.now()-i),b=(r.headers.get("content-type")??"").includes("json")?JSON.stringify(await r.json(),null,2):await r.text();o(e,r.ok?`\x1B[32m${r.status} OK\x1B[0m \x1B[90m${n}ms\x1B[0m`:`\x1B[31m${r.status} FAILED\x1B[0m \x1B[90m${n}ms\x1B[0m`);for(const $ of b.split(`
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./
|
|
2
|
-
import{_ as $}from"./PPVm8Dsz.js";import{p as N,o as Q,e as q,Q as A,i as o,v as x,j as v,t as w,l,k as J,y as E,B as I,R as P,O as B,b as n,d as K,c as u,f as c,T as D,z as H,h as U,m as f,P as M}from"./KKQFryJf.js";var W=f('<div class="audit-error svelte-1xfrv6f"> </div>'),X=f('<div class="audit-loading svelte-1xfrv6f">Loading troubleshooter...</div>'),Y=f('<div class="audit-error svelte-1xfrv6f"> </div>'),Z=f('<div class="audit-loading svelte-1xfrv6f">Loading logs...</div>'),ee=f('<div class="audit-tab svelte-1xfrv6f"><header class="tab-header svelte-1xfrv6f"><div class="tab-header-left svelte-1xfrv6f"><span class="tab-header-title svelte-1xfrv6f">AUDIT</span> <span class="tab-header-sep svelte-1xfrv6f" aria-hidden="true"></span> <span class="tab-header-count svelte-1xfrv6f">TROUBLESHOOTER + LOGS</span></div> <div class="sub-group svelte-1xfrv6f"><button>TROUBLESHOOTER</button> <button>LOGS</button></div></header> <div class="audit-content audit-embed svelte-1xfrv6f"><!></div></div>');function ae(F,G){N(G,!0);const V=new Set(["troubleshooter","logs"]);function O(){if(typeof window>"u")return"troubleshooter";const t=window.location.hash.replace("#","").split("/");return t[0]!=="audit"?"troubleshooter":t[1]&&V.has(t[1])?t[1]:"troubleshooter"}let i=Q(q(O()));A(()=>{if(typeof window>"u")return;const e=o(i)==="troubleshooter"?"audit":`audit/${o(i)}`;window.location.hash!==`#${e}`&&window.history.replaceState(null,"",`#${e}`)}),A(()=>{if(typeof window>"u")return;const e=()=>{const t=O();t!==o(i)&&x(i,t,!0)};return window.addEventListener("hashchange",e),()=>window.removeEventListener("hashchange",e)});const T="px-2.5 py-1 text-[10px] font-medium uppercase tracking-[0.06em] rounded-md transition-colors duration-150 border-none cursor-pointer whitespace-nowrap",L=`${T} text-[var(--sig-highlight)] bg-[color-mix(in_srgb,var(--sig-highlight),var(--sig-bg)_90%)] border border-[color-mix(in_srgb,var(--sig-highlight),transparent_85%)]`,k=`${T} bg-transparent text-[var(--sig-text-muted)] hover:text-[var(--sig-highlight)] hover:bg-[color-mix(in_srgb,var(--sig-highlight),var(--sig-bg)_94%)]`;var h=ee(),g=v(h),S=w(v(g),2),_=v(S),y=w(_,2);l(S),l(g);var R=w(g,2),j=v(R);{var z=e=>{var t=u(),p=c(t);D(p,()=>$(()=>import("./
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./0DK89m5L.js","./KKQFryJf.js","../assets/vendor-ui.BHIBfuhK.css","./D8-xvnbg.js","./CppT_YPm.js","./PPVm8Dsz.js","../assets/2.DA3KZL1j.css","./BcQ9qlWs.js","./BBGl-USY.js","./DT34jq_d.js","./DpWjPOYW.js","./B6KFhE8C.js","../assets/TroubleshooterPanel.Bj27xjMc.css","./CMWH72J4.js","./DK3bAoxY.js","../assets/PageBanner.BodUOjhn.css","./CyB1_UBK.js","./3IE1czkO.js","./CJ_q9b0r.js","../assets/LogsTab.DpPjv4Ww.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{_ as $}from"./PPVm8Dsz.js";import{p as N,o as Q,e as q,Q as A,i as o,v as x,j as v,t as w,l,k as J,y as E,B as I,R as P,O as B,b as n,d as K,c as u,f as c,T as D,z as H,h as U,m as f,P as M}from"./KKQFryJf.js";var W=f('<div class="audit-error svelte-1xfrv6f"> </div>'),X=f('<div class="audit-loading svelte-1xfrv6f">Loading troubleshooter...</div>'),Y=f('<div class="audit-error svelte-1xfrv6f"> </div>'),Z=f('<div class="audit-loading svelte-1xfrv6f">Loading logs...</div>'),ee=f('<div class="audit-tab svelte-1xfrv6f"><header class="tab-header svelte-1xfrv6f"><div class="tab-header-left svelte-1xfrv6f"><span class="tab-header-title svelte-1xfrv6f">AUDIT</span> <span class="tab-header-sep svelte-1xfrv6f" aria-hidden="true"></span> <span class="tab-header-count svelte-1xfrv6f">TROUBLESHOOTER + LOGS</span></div> <div class="sub-group svelte-1xfrv6f"><button>TROUBLESHOOTER</button> <button>LOGS</button></div></header> <div class="audit-content audit-embed svelte-1xfrv6f"><!></div></div>');function ae(F,G){N(G,!0);const V=new Set(["troubleshooter","logs"]);function O(){if(typeof window>"u")return"troubleshooter";const t=window.location.hash.replace("#","").split("/");return t[0]!=="audit"?"troubleshooter":t[1]&&V.has(t[1])?t[1]:"troubleshooter"}let i=Q(q(O()));A(()=>{if(typeof window>"u")return;const e=o(i)==="troubleshooter"?"audit":`audit/${o(i)}`;window.location.hash!==`#${e}`&&window.history.replaceState(null,"",`#${e}`)}),A(()=>{if(typeof window>"u")return;const e=()=>{const t=O();t!==o(i)&&x(i,t,!0)};return window.addEventListener("hashchange",e),()=>window.removeEventListener("hashchange",e)});const T="px-2.5 py-1 text-[10px] font-medium uppercase tracking-[0.06em] rounded-md transition-colors duration-150 border-none cursor-pointer whitespace-nowrap",L=`${T} text-[var(--sig-highlight)] bg-[color-mix(in_srgb,var(--sig-highlight),var(--sig-bg)_90%)] border border-[color-mix(in_srgb,var(--sig-highlight),transparent_85%)]`,k=`${T} bg-transparent text-[var(--sig-text-muted)] hover:text-[var(--sig-highlight)] hover:bg-[color-mix(in_srgb,var(--sig-highlight),var(--sig-bg)_94%)]`;var h=ee(),g=v(h),S=w(v(g),2),_=v(S),y=w(_,2);l(S),l(g);var R=w(g,2),j=v(R);{var z=e=>{var t=u(),p=c(t);D(p,()=>$(()=>import("./0DK89m5L.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]),import.meta.url),a=>{var s=X();n(a,s)},(a,s)=>{var r=u(),d=c(r);U(d,()=>o(s).default,(b,m)=>{m(b,{})}),n(a,r)},(a,s)=>{var r=W(),d=v(r);l(r),E(()=>H(d,`Failed to load: ${o(s)?.message??"unknown"??""}`)),n(a,r)}),n(e,t)},C=e=>{var t=u(),p=c(t);D(p,()=>$(()=>import("./CMWH72J4.js"),__vite__mapDeps([13,1,2,3,4,5,6,14,15,16,17,9,18,7,8,19]),import.meta.url),a=>{var s=Z();n(a,s)},(a,s)=>{var r=u(),d=c(r);U(d,()=>o(s).default,(b,m)=>{m(b,{})}),n(a,r)},(a,s)=>{var r=Y(),d=v(r);l(r),E(()=>H(d,`Failed to load: ${o(s)?.message??"unknown"??""}`)),n(a,r)}),n(e,t)};J(j,e=>{o(i)==="troubleshooter"?e(z):e(C,-1)})}l(R),l(h),E(()=>{I(_,1,P(o(i)==="troubleshooter"?L:k),"svelte-1xfrv6f"),I(y,1,P(o(i)==="logs"?L:k),"svelte-1xfrv6f")}),B("click",_,()=>x(i,"troubleshooter")),B("click",y,()=>x(i,"logs")),n(F,h),K()}M(["click"]);export{ae as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as _,g as d,c as y,f as C,h as w,s as z,i as j,C as M,b as u,d as P,r as q,j as A,k as B,l as D,u as E,m as F}from"./KKQFryJf.js";import{c as G,M as H}from"./
|
|
1
|
+
import{p as _,g as d,c as y,f as C,h as w,s as z,i as j,C as M,b as u,d as P,r as q,j as A,k as B,l as D,u as E,m as F}from"./KKQFryJf.js";import{c as G,M as H}from"./D8-xvnbg.js";import{C as I}from"./DT34jq_d.js";var J=F('<div data-slot="checkbox-indicator" class="text-current transition-none"><!></div>');function O(f,t){_(t,!0);let n=d(t,"ref",15,null),c=d(t,"checked",15,!1),o=d(t,"indeterminate",15,!1),h=q(t,["$$slots","$$events","$$legacy","ref","checked","indeterminate","class"]);var l=y(),m=C(l);{const k=(s,a)=>{let e=()=>a?.().checked,b=()=>a?.().indeterminate;var i=J(),p=A(i);{var g=r=>{I(r,{class:"size-3.5"})},x=r=>{H(r,{class:"size-3.5"})};B(p,r=>{e()?r(g):b()&&r(x,1)})}D(i),u(s,i)};let v=E(()=>G("border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive peer flex size-4 shrink-0 items-center justify-center rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",t.class));w(m,()=>M,(s,a)=>{a(s,z({"data-slot":"checkbox",get class(){return j(v)}},()=>h,{get ref(){return n()},set ref(e){n(e)},get checked(){return c()},set checked(e){c(e)},get indeterminate(){return o()},set indeterminate(e){o(e)},children:k,$$slots:{default:!0}}))})}u(f,l),P()}export{O as C};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as n,g as r,H as u,E as c,F as b,I as v,b as f,d as x,r as m,m as g}from"./KKQFryJf.js";import{c as p}from"./
|
|
1
|
+
import{p as n,g as r,H as u,E as c,F as b,I as v,b as f,d as x,r as m,m as g}from"./KKQFryJf.js";import{c as p}from"./D8-xvnbg.js";var h=g("<textarea></textarea>");function y(i,a){n(a,!0);let s=r(a,"ref",15,null),o=r(a,"value",15),d=r(a,"data-slot",3,"textarea"),l=m(a,["$$slots","$$events","$$legacy","ref","value","class","data-slot"]);var e=h();u(e),c(e,t=>({"data-slot":d(),class:t,...l}),[()=>p("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",a.class)]),b(e,t=>s(t),()=>s()),v(e,o),f(i,e),x()}export{y as T};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p,s as d,c as i,f as c,a as l,n as m,b as f,d as h,r as u}from"./KKQFryJf.js";import{I as $}from"./
|
|
1
|
+
import{p,s as d,c as i,f as c,a as l,n as m,b as f,d as h,r as u}from"./KKQFryJf.js";import{I as $}from"./D8-xvnbg.js";function P(e,a){p(a,!0);let o=u(a,["$$slots","$$events","$$legacy"]);const t=[["path",{d:"M12 17v5"}],["path",{d:"M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z"}]];$(e,d({name:"pin"},()=>o,{get iconNode(){return t},children:(n,v)=>{var s=i(),r=c(s);l(r,()=>a.children??m),f(n,s)},$$slots:{default:!0}})),h()}export{P};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as n,s as d,c as h,f as c,a as i,n as l,b as m,d as f,r as v}from"./KKQFryJf.js";import{I as u}from"./
|
|
1
|
+
import{p as n,s as d,c as h,f as c,a as i,n as l,b as m,d as f,r as v}from"./KKQFryJf.js";import{I as u}from"./D8-xvnbg.js";function g(t,a){n(a,!0);let e=v(a,["$$slots","$$events","$$legacy"]);const o=[["path",{d:"M10 11v6"}],["path",{d:"M14 11v6"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6"}],["path",{d:"M3 6h18"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}]];u(t,d({name:"trash-2"},()=>e,{get iconNode(){return o},children:(r,$)=>{var s=h(),p=c(s);i(p,()=>a.children??l),m(r,s)},$$slots:{default:!0}})),f()}export{g as T};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{bj as Te,q as Ge,o as A,i as U,v as T,U as oe,bk as kt,aN as Et}from"./KKQFryJf.js";class Pe{constructor(t,n){this.status=t,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class Ie{constructor(t,n){try{new Headers({location:n})}catch{throw new Error(`Invalid redirect location ${JSON.stringify(n)}: this string contains characters that cannot be used in HTTP headers`)}this.status=t,this.location=n}}class Oe extends Error{constructor(t,n,r){super(r),this.status=t,this.text=n}}new URL("sveltekit-internal://");function St(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function Rt(e){return e.split("%25").map(decodeURI).join("%25")}function xt(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function ye({href:e}){return e.split("#")[0]}function Lt(e,t,n,r=!1){const a=new URL(e);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(i,o){if(o==="get"||o==="getAll"||o==="has")return(c,...d)=>(n(c),i[o](c,...d));t();const l=Reflect.get(i,o);return typeof l=="function"?l.bind(i):l}}),enumerable:!0,configurable:!0});const s=["href","pathname","search","toString","toJSON"];r&&s.push("hash");for(const i of s)Object.defineProperty(a,i,{get(){return t(),e[i]},enumerable:!0,configurable:!0});return a}function P(){}function At(...e){let t=5381;for(const n of e)if(typeof n=="string"){let r=n.length;for(;r;)t=t*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)t=t*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;new TextDecoder;function Ut(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}const Tt=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&W.delete($e(e)),Tt(e,t));const W=new Map;function Pt(e,t){const n=$e(e,t),r=document.querySelector(n);if(r?.textContent){r.remove();let{body:a,...s}=JSON.parse(r.textContent);const i=r.getAttribute("data-ttl");return i&&W.set(n,{body:a,init:s,ttl:1e3*Number(i)}),r.getAttribute("data-b64")!==null&&(a=Ut(a)),Promise.resolve(new Response(a,s))}return window.fetch(e,t)}function It(e,t,n){if(W.size>0){const r=$e(e,n),a=W.get(r);if(a){if(performance.now()<a.ttl&&["default","force-cache","only-if-cached",void 0].includes(n?.cache))return new Response(a.body,a.init);W.delete(r)}}return window.fetch(t,n)}function $e(e,t){let r=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const a=[];t.headers&&a.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&a.push(t.body),r+=`[data-hash="${At(...a)}"]`}return r}const Ot=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function $t(e){const t=[];return{pattern:e==="/"?/^\/$/:new RegExp(`^${jt(e).map(r=>{const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return t.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const s=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(s)return t.push({name:s[1],matcher:s[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const i=r.split(/\[(.+?)\](?!\])/);return"/"+i.map((l,c)=>{if(c%2){if(l.startsWith("x+"))return be(String.fromCharCode(parseInt(l.slice(2),16)));if(l.startsWith("u+"))return be(String.fromCharCode(...l.slice(2).split("-").map(v=>parseInt(v,16))));const d=Ot.exec(l),[,p,u,f,h]=d;return t.push({name:f,matcher:h,optional:!!p,rest:!!u,chained:u?c===1&&i[0]==="":!1}),u?"([^]*?)":p?"([^/]*)?":"([^/]+?)"}return be(l)}).join("")}).join("")}/?$`),params:t}}function Ct(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function jt(e){return e.slice(1).split("/").filter(Ct)}function Nt(e,t,n){const r={},a=e.slice(1),s=a.filter(o=>o!==void 0);let i=0;for(let o=0;o<t.length;o+=1){const l=t[o];let c=a[o-i];if(l.chained&&l.rest&&i&&(c=a.slice(o-i,o+1).filter(d=>d).join("/"),i=0),c===void 0)if(l.rest)c="";else continue;if(!l.matcher||n[l.matcher](c)){r[l.name]=c;const d=t[o+1],p=a[o+1];d&&!d.rest&&d.optional&&p&&l.chained&&(i=0),!d&&!p&&Object.keys(r).length===s.length&&(i=0);continue}if(l.optional&&l.chained){i++;continue}return}if(!i)return r}function be(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function qt({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([o,[l,c,d]])=>{const{pattern:p,params:u}=$t(o),f={id:o,exec:h=>{const v=p.exec(h);if(v)return Nt(v,u,r)},errors:[1,...d||[]].map(h=>e[h]),layouts:[0,...c||[]].map(i),leaf:s(l)};return f.errors.length=f.layouts.length=Math.max(f.errors.length,f.layouts.length),f});function s(o){const l=o<0;return l&&(o=~o),[l,e[o]]}function i(o){return o===void 0?o:[a.has(o),e[o]]}}function et(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function Je(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}const L=globalThis.__sveltekit_116otxu?.base??"",Dt=globalThis.__sveltekit_116otxu?.assets??L??"",Vt="1777452280899",tt="sveltekit:snapshot",nt="sveltekit:scroll",Ce="sveltekit:states",rt="sveltekit:pageurl",D="sveltekit:history",K="sveltekit:navigation",q={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},je=location.origin;function Ne(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function V(){return{x:pageXOffset,y:pageYOffset}}function B(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const We={...q,"":q.hover};function at(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function ot(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=at(e)}}function Re(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";r.hash=`#${o}${r.hash}`}}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,s=!r||!!a||ge(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),i=r?.origin===je&&e.hasAttribute("download");return{url:r,external:s,target:a,download:i}}function se(e){let t=null,n=null,r=null,a=null,s=null,i=null,o=e;for(;o&&o!==document.documentElement;)r===null&&(r=B(o,"preload-code")),a===null&&(a=B(o,"preload-data")),t===null&&(t=B(o,"keepfocus")),n===null&&(n=B(o,"noscroll")),s===null&&(s=B(o,"reload")),i===null&&(i=B(o,"replacestate")),o=at(o);function l(c){switch(c){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:We[r??"off"],preload_data:We[a??"off"],keepfocus:l(t),noscroll:l(n),reload:l(s),replace_state:l(i)}}function Ye(e){const t=Te(e);let n=!0;function r(){n=!0,t.update(i=>i)}function a(i){n=!1,t.set(i)}function s(i){let o;return t.subscribe(l=>{(o===void 0||n&&l!==o)&&i(o=l)})}return{notify:r,set:a,subscribe:s}}const st={v:P};function Bt(){const{set:e,subscribe:t}=Te(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Dt}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const i=(await a.json()).version!==Vt;return i&&(e(!0),st.v(),clearTimeout(n)),i}catch{return!1}}return{subscribe:t,check:r}}function ge(e,t,n){return e.origin!==je||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function pn(e){}const it=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...it];const Ht=new Set([...it]);[...Ht];function Kt(e){return e.filter(t=>t!=null)}function qe(e){return e instanceof Pe||e instanceof Oe?e.status:500}function Mt(e){return e instanceof Oe?e.text:"Internal Error"}let y,z,ke;const Ft=Ge.toString().includes("$$")||/function \w+\(\) \{\}/.test(Ge.toString()),ze="a:";Ft?(y={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(ze)},z={current:null},ke={current:!1}):(y=new class{#e=A({});get data(){return U(this.#e)}set data(t){T(this.#e,t)}#t=A(null);get form(){return U(this.#t)}set form(t){T(this.#t,t)}#n=A(null);get error(){return U(this.#n)}set error(t){T(this.#n,t)}#r=A({});get params(){return U(this.#r)}set params(t){T(this.#r,t)}#a=A({id:null});get route(){return U(this.#a)}set route(t){T(this.#a,t)}#o=A({});get state(){return U(this.#o)}set state(t){T(this.#o,t)}#s=A(-1);get status(){return U(this.#s)}set status(t){T(this.#s,t)}#i=A(new URL(ze));get url(){return U(this.#i)}set url(t){T(this.#i,t)}},z=new class{#e=A(null);get current(){return U(this.#e)}set current(t){T(this.#e,t)}},ke=new class{#e=A(!1);get current(){return U(this.#e)}set current(t){T(this.#e,t)}},st.v=()=>ke.current=!0);function lt(e){Object.assign(y,e)}const Xe={spanContext(){return Gt},setAttribute(){return this},setAttributes(){return this},addEvent(){return this},setStatus(){return this},updateName(){return this},end(){return this},isRecording(){return!1},recordException(){return this},addLink(){return this},addLinks(){return this}},Gt={traceId:"",spanId:"",traceFlags:0},Jt=Et??(e=>e()),Wt=new Set(["icon","shortcut icon","apple-touch-icon"]);let G=null;const N=et(nt)??{},X=et(tt)??{},j={url:Ye({}),page:Ye({}),navigating:Te(null),updated:Bt()};function De(e){N[e]=V()}function Yt(e,t){let n=e+1;for(;N[n];)delete N[n],n+=1;for(n=t+1;X[n];)delete X[n],n+=1}function Q(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(P)}async function ct(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(L||"/");e&&await e.update()}}let Ve,xe,ie,I,Le,b;const le=[],ce=[];let x=null;function Z(){x?.fork?.then(e=>e?.discard()),x=null}const ae=new Map,ut=new Set,zt=new Set,Y=new Set;let m={branch:[],error:null,url:null,nav:null},ft=!1,ue=!1,Qe=!0,ee=!1,J=!1,dt=!1,ne=!1,_e,w,R,O;const fe=new Set;let Ee;const de=new Map;async function vn(e,t,n){globalThis.__sveltekit_116otxu&&(globalThis.__sveltekit_116otxu.query,globalThis.__sveltekit_116otxu.prerender),document.URL!==location.href&&(location.href=location.href),b=e,await e.hooks.init?.(),Ve=qt(e),I=document.documentElement,Le=t,xe=e.nodes[0],ie=e.nodes[1],xe(),ie(),w=history.state?.[D],R=history.state?.[K],w||(w=R=Date.now(),history.replaceState({...history.state,[D]:w,[K]:R},""));const r=N[w];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await cn(Le,n)):(await H({type:"enter",url:Ne(b.hash?dn(new URL(location.href)):location.href),replace_state:!0}),a()),ln()}async function Xt(e=!0,t=!0){if(await(Ee||=Promise.resolve()),!Ee)return;Ee=null;const n=O={},r=await re(m.url,!0);if(Z(),ne&&de.forEach(a=>{a.forEach(({resource:s})=>{s.refresh?.()})}),e){const a=y.state,s=r&&await Ke(r);if(!s||n!==O)return;if(s.type==="redirect")return gt(new URL(s.location,m.url).href,{replaceState:!0},1,n);t||(s.props.page.state=a),lt(s.props.page),m={...s.state,nav:m.nav},Ae(),_e.$set(s.props)}else Ae();await Promise.all([...de.values()].flatMap(a=>[...a.values()].map(({resource:s})=>s))).catch(P)}function Ae(){le.length=0,ne=!1}function ht(e){ce.some(t=>t?.snapshot)&&(X[e]=ce.map(t=>t?.snapshot?.capture()))}function pt(e){X[e]?.forEach((t,n)=>{ce[n]?.snapshot?.restore(t)})}function Ze(){De(w),Je(nt,N),ht(R),Je(tt,X)}async function gt(e,t,n,r){let a;t.invalidateAll&&Z(),await H({type:"goto",url:Ne(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:r,accept:()=>{t.invalidateAll&&(ne=!0,a=[],de.forEach((s,i)=>{for(const o of s.keys())a.push(i+"/"+o)})),t.invalidate&&t.invalidate.forEach(sn)}}),t.invalidateAll&&oe().then(oe).then(()=>{de.forEach((s,i)=>{s.forEach(({resource:o},l)=>{a?.includes(i+"/"+l)&&o.refresh?.()})})})}async function Qt(e){if(e.id!==x?.id){Z();const t={};fe.add(t),x={id:e.id,token:t,promise:Ke({...e,preload:t}).then(n=>(fe.delete(t),n.type==="loaded"&&n.state.error&&Z(),n)),fork:null}}return x.promise}async function Se(e){const t=(await re(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(n=>n[1]()))}async function _t(e,t,n){const r={params:m.params,route:{id:m.route?.id??null},url:new URL(location.href)};m={...e.state,nav:r};const a=document.querySelector("style[data-sveltekit]");if(a&&a.remove(),Object.assign(y,e.props.page),_e=new b.root({target:t,props:{...e.props,stores:j,components:ce},hydrate:n,sync:!1,transformError:void 0}),await Promise.resolve(),pt(R),n){const s={from:null,to:{...r,scroll:N[w]??V()},willUnload:!1,type:"enter",complete:Promise.resolve()};Y.forEach(i=>i(s))}ue=!0}async function he({url:e,params:t,branch:n,errors:r,status:a,error:s,route:i,form:o}){let l="never";if(L&&(e.pathname===L||e.pathname===L+"/"))l="always";else for(const h of n)h?.slash!==void 0&&(l=h.slash);e.pathname=St(e.pathname,l),e.search=e.search;const c={type:"loaded",state:{url:e,params:t,branch:n,error:s,route:i},props:{constructors:Kt(n).map(h=>h.node.component),page:me(y)}};o!==void 0&&(c.props.form=o);let d={},p=!y,u=0;for(let h=0;h<Math.max(n.length,m.branch.length);h+=1){const v=n[h],_=m.branch[h];v?.data!==_?.data&&(p=!0),v&&(d={...d,...v.data},p&&(c.props[`data_${u}`]=d),u+=1)}return(!m.url||e.href!==m.url.href||m.error!==s||o!==void 0&&o!==y.form||p)&&(c.props.page={error:s,params:t,route:{id:i?.id??null},state:{},status:a,url:new URL(e),form:o??null,data:p?d:y.data}),c}async function Be({loader:e,parent:t,url:n,params:r,route:a,server_data_node:s}){let i=null,o=!0;const l={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},c=await e();if(c.universal?.load){let d=function(...u){for(const f of u){const{href:h}=new URL(f,n);l.dependencies.add(h)}};const p={tracing:{enabled:!1,root:Xe,current:Xe},route:new Proxy(a,{get:(u,f)=>(o&&(l.route=!0),u[f])}),params:new Proxy(r,{get:(u,f)=>(o&&l.params.add(f),u[f])}),data:s?.data??null,url:Lt(n,()=>{o&&(l.url=!0)},u=>{o&&l.search_params.add(u)},b.hash),async fetch(u,f){u instanceof Request&&(f={body:u.method==="GET"||u.method==="HEAD"?void 0:await u.blob(),cache:u.cache,credentials:u.credentials,headers:[...u.headers].length>0?u?.headers:void 0,integrity:u.integrity,keepalive:u.keepalive,method:u.method,mode:u.mode,redirect:u.redirect,referrer:u.referrer,referrerPolicy:u.referrerPolicy,signal:u.signal,...f});const{resolved:h,promise:v}=mt(u,f,n);return o&&d(h.href),v},setHeaders:P,depends:d,parent(){return o&&(l.parent=!0),t()},untrack(u){o=!1;try{return u()}finally{o=!0}}};i=await c.universal.load.call(null,p)??null}return{node:c,loader:e,server:s,universal:c.universal?.load?{type:"data",data:i,uses:l}:null,data:i??s?.data??null,slash:c.universal?.trailingSlash??s?.slash}}function mt(e,t,n){let r=e instanceof Request?e.url:e;const a=new URL(r,n);a.origin===n.origin&&(r=a.href.slice(n.origin.length));const s=ue?It(r,a.href,t):Pt(r,t);return{resolved:a,promise:s}}function Zt(e,t,n,r,a,s){if(ne)return!0;if(!a)return!1;if(a.parent&&e||a.route&&t||a.url&&n)return!0;for(const i of a.search_params)if(r.has(i))return!0;for(const i of a.params)if(s[i]!==m.params[i])return!0;for(const i of a.dependencies)if(le.some(o=>o(new URL(i))))return!0;return!1}function He(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function en(e,t){if(!e)return new Set(t.searchParams.keys());const n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const r of n){const a=e.searchParams.getAll(r),s=t.searchParams.getAll(r);a.every(i=>s.includes(i))&&s.every(i=>a.includes(i))&&n.delete(r)}return n}function tn({error:e,url:t,route:n,params:r}){return{type:"loaded",state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:me(y),constructors:[]}}}async function Ke({id:e,invalidating:t,url:n,params:r,route:a,preload:s}){if(x?.id===e)return fe.delete(x.token),x.promise;const{errors:i,layouts:o,leaf:l}=a,c=[...o,l];i.forEach(_=>_?.().catch(P)),c.forEach(_=>_?.[1]().catch(P));const d=m.url?e!==pe(m.url):!1,p=m.route?a.id!==m.route.id:!1,u=en(m.url,n);let f=!1;const h=c.map(async(_,g)=>{if(!_)return;const k=m.branch[g];return _[1]===k?.loader&&!Zt(f,p,d,u,k.universal?.uses,r)?k:(f=!0,Be({loader:_[1],url:n,params:r,route:a,parent:async()=>{const $={};for(let C=0;C<g;C+=1)Object.assign($,(await h[C])?.data);return $},server_data_node:He(_[0]?{type:"skip"}:null,_[0]?k?.server:void 0)}))});for(const _ of h)_.catch(P);const v=[];for(let _=0;_<c.length;_+=1)if(c[_])try{v.push(await h[_])}catch(g){if(g instanceof Ie)return{type:"redirect",location:g.location};if(fe.has(s))return tn({error:await te(g,{params:r,url:n,route:{id:a.id}}),url:n,params:r,route:a});let k=qe(g),S;if(g instanceof Pe)S=g.body;else{if(await j.updated.check())return await ct(),await Q(n);S=await te(g,{params:r,url:n,route:{id:a.id}})}const $=await nn(_,v,i);return $?he({url:n,params:r,branch:v.slice(0,$.idx).concat($.node),errors:i,status:k,error:S,route:a}):await wt(n,{id:a.id},S,k)}else v.push(void 0);return he({url:n,params:r,branch:v,errors:i,status:200,error:null,route:a,form:t?void 0:null})}async function nn(e,t,n){for(;e--;)if(n[e]){let r=e;for(;!t[r];)r-=1;try{return{idx:r+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function Me({status:e,error:t,url:n,route:r}){const a={};let s=null;try{const i=await Be({loader:xe,url:n,params:a,route:r,parent:()=>Promise.resolve({}),server_data_node:He(s)}),o={node:await ie(),loader:ie,universal:null,server:null,data:null};return he({url:n,params:a,branch:[i,o],status:e,error:t,errors:[],route:null})}catch(i){if(i instanceof Ie)return gt(new URL(i.location,location.href),{},0);throw i}}async function rn(e){const t=e.href;if(ae.has(t))return ae.get(t);let n;try{const r=(async()=>{let a=await b.hooks.reroute({url:new URL(e),fetch:async(s,i)=>mt(s,i,e).promise})??e;if(typeof a=="string"){const s=new URL(e);b.hash?s.hash=a:s.pathname=a,a=s}return a})();ae.set(t,r),n=await r}catch{ae.delete(t);return}return n}async function re(e,t){if(e&&!ge(e,L,b.hash)){const n=await rn(e);if(!n)return;const r=an(n);for(const a of Ve){const s=a.exec(r);if(s)return{id:pe(e),invalidating:t,route:a,params:xt(s),url:e}}}}function an(e){return Rt(b.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(L.length))||"/"}function pe(e){return(b.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function vt({url:e,type:t,intent:n,delta:r,event:a,scroll:s}){let i=!1;const o=Fe(m,n,e,t,s??null);r!==void 0&&(o.navigation.delta=r),a!==void 0&&(o.navigation.event=a);const l={...o.navigation,cancel:()=>{i=!0,o.reject(new Error("navigation cancelled"))}};return ee||ut.forEach(c=>c(l)),i?null:o}async function H({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:s,state:i={},redirect_count:o=0,nav_token:l={},accept:c=P,block:d=P,event:p}){const u=O;O=l;const f=await re(t,!1),h=e==="enter"?Fe(m,f,t,e):vt({url:t,type:e,delta:n?.delta,intent:f,scroll:n?.scroll,event:p});if(!h){d(),O===l&&(O=u);return}const v=w,_=R;c(),ee=!0,ue&&h.navigation.type!=="enter"&&j.navigating.set(z.current=h.navigation);let g=f&&await Ke(f);if(!g){if(ge(t,L,b.hash))return await Q(t,s);g=await wt(t,{id:null},await te(new Oe(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,s)}if(t=f?.url||t,O!==l)return h.reject(new Error("navigation aborted")),!1;if(g.type==="redirect"){if(o<20){await H({type:e,url:new URL(g.location,t),popped:n,keepfocus:r,noscroll:a,replace_state:s,state:i,redirect_count:o+1,nav_token:l}),h.fulfil(void 0);return}g=await Me({status:500,error:await te(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}})}else g.props.page.status>=400&&await j.updated.check()&&(await ct(),await Q(t,s));if(Ae(),De(v),ht(_),g.props.page.url.pathname!==t.pathname&&(t.pathname=g.props.page.url.pathname),i=n?n.state:i,!n){const E=s?0:1,M={[D]:w+=E,[K]:R+=E,[Ce]:i};(s?history.replaceState:history.pushState).call(history,M,"",t),s||Yt(w,R)}const k=f&&x?.id===f.id?x.fork:null;x?.fork&&!k&&Z(),x=null,g.props.page.state=i;let S;if(ue){const E=(await Promise.all(Array.from(zt,F=>F(h.navigation)))).filter(F=>typeof F=="function");if(E.length>0){let F=function(){E.forEach(we=>{Y.delete(we)})};E.push(F),E.forEach(we=>{Y.add(we)})}const M=h.navigation.to;m={...g.state,nav:{params:M.params,route:M.route,url:M.url}},g.props.page&&(g.props.page.url=t);const ve=k&&await k;ve?S=ve.commit():(G=null,_e.$set(g.props),G&&Object.assign(g.props.page,G),lt(g.props.page),S=kt?.()),dt=!0}else await _t(g,Le,!1);const{activeElement:$}=document;await S,await oe(),await oe();let C=null;if(Qe){const E=n?n.scroll:a?V():null;E?scrollTo(E.x,E.y):(C=t.hash&&document.getElementById(yt(t)))?C.scrollIntoView():scrollTo(0,0)}const bt=document.activeElement!==$&&document.activeElement!==document.body;!r&&!bt&&fn(t,!C),Qe=!0,g.props.page&&(G&&Object.assign(g.props.page,G),Object.assign(y,g.props.page)),ee=!1,e==="popstate"&&pt(R),h.fulfil(void 0),h.navigation.to&&(h.navigation.to.scroll=V()),Y.forEach(E=>E(h.navigation)),j.navigating.set(z.current=null)}async function wt(e,t,n,r,a){return e.origin===je&&e.pathname===location.pathname&&!ft?await Me({status:r,error:n,url:e,route:t}):await Q(e,a)}function on(){let e,t={element:void 0,href:void 0},n;I.addEventListener("mousemove",o=>{const l=o.target;clearTimeout(e),e=setTimeout(()=>{s(l,q.hover)},20)});function r(o){o.defaultPrevented||s(o.composedPath()[0],q.tap)}I.addEventListener("mousedown",r),I.addEventListener("touchstart",r,{passive:!0});const a=new IntersectionObserver(o=>{for(const l of o)l.isIntersecting&&(Se(new URL(l.target.href)),a.unobserve(l.target))},{threshold:0});async function s(o,l){const c=ot(o,I),d=c===t.element&&c?.href===t.href&&l>=n;if(!c||d)return;const{url:p,external:u,download:f}=Re(c,L,b.hash);if(u||f)return;const h=se(c),v=p&&pe(m.url)===pe(p);if(!(h.reload||v))if(l<=h.preload_data){t={element:c,href:c.href},n=q.tap;const _=await re(p,!1);if(!_)return;Qt(_)}else l<=h.preload_code&&(t={element:c,href:c.href},n=l,Se(p))}function i(){a.disconnect();for(const o of I.querySelectorAll("a")){const{url:l,external:c,download:d}=Re(o,L,b.hash);if(c||d)continue;const p=se(o);p.reload||(p.preload_code===q.viewport&&a.observe(o),p.preload_code===q.eager&&Se(l))}}Y.add(i),i()}function te(e,t){if(e instanceof Pe)return e.body;const n=qe(e),r=Mt(e);return b.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function sn(e){if(typeof e=="function")le.push(e);else{const{href:t}=new URL(e,location.href);le.push(n=>n.href===t)}}function wn(){return ne=!0,Xt()}function yn(e,t){const n={[D]:w,[K]:R,[rt]:y.url.href,[Ce]:t};history.replaceState(n,"",Ne(e)),y.state=t,_e.$set({page:Jt(()=>me(y))})}function ln(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if(Ze(),!ee){const r=Fe(m,void 0,null,"leave"),a={...r.navigation,cancel:()=>{n=!0,r.reject(new Error("navigation cancelled"))}};ut.forEach(s=>s(a))}n?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ze()}),navigator.connection?.saveData||on(),I.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const n=ot(t.composedPath()[0],I);if(!n)return;const{url:r,external:a,target:s,download:i}=Re(n,L,b.hash);if(!r)return;if(s==="_parent"||s==="_top"){if(window.parent!==window)return}else if(s&&s!=="_self")return;const o=se(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||i)return;const[c,d]=(b.hash?r.hash.replace(/^#/,""):r.href).split("#"),p=c===ye(location);if(a||o.reload&&(!p||!d)){vt({url:r,type:"link",event:t})?ee=!0:t.preventDefault();return}if(d!==void 0&&p){const[,u]=m.url.href.split("#");if(u===d){if(t.preventDefault(),d===""||d==="top"&&n.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const f=n.ownerDocument.getElementById(decodeURIComponent(d));f&&(f.scrollIntoView(),f.focus())}return}if(J=!0,De(w),e(r),!o.replace_state)return;J=!1}t.preventDefault(),await new Promise(u=>{requestAnimationFrame(()=>{setTimeout(u,0)}),setTimeout(u,100)}),await H({type:"link",url:r,keepfocus:o.keepfocus,noscroll:o.noscroll,replace_state:o.replace_state??r.href===location.href,event:t})}),I.addEventListener("submit",t=>{if(t.defaultPrevented)return;const n=HTMLFormElement.prototype.cloneNode.call(t.target),r=t.submitter;if((r?.formTarget||n.target)==="_blank"||(r?.formMethod||n.method)!=="get")return;const i=new URL(r?.hasAttribute("formaction")&&r?.formAction||n.action);if(ge(i,L,!1))return;const o=t.target,l=se(o);if(l.reload)return;t.preventDefault(),t.stopPropagation();const c=new FormData(o,r);i.search=new URLSearchParams(c).toString(),H({type:"form",url:i,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??i.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!Ue){if(t.state?.[D]){const n=t.state[D];if(O={},n===w)return;const r=N[n],a=t.state[Ce]??{},s=new URL(t.state[rt]??location.href),i=t.state[K],o=m.url?ye(location)===ye(m.url):!1;if(i===R&&(dt||o)){a!==y.state&&(y.state=a),e(s),N[w]=V(),r&&scrollTo(r.x,r.y),w=n;return}const c=n-w;await H({type:"popstate",url:s,popped:{state:a,scroll:r,delta:c},accept:()=>{w=n,R=i},block:()=>{history.go(-c)},nav_token:O,event:t})}else if(!J){const n=new URL(location.href);e(n),b.hash&&location.reload()}}}),addEventListener("hashchange",()=>{J&&(J=!1,history.replaceState({...history.state,[D]:++w,[K]:R},"",location.href))});for(const t of document.querySelectorAll("link"))Wt.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&j.navigating.set(z.current=null)});function e(t){m.url=y.url=t,j.page.set(me(y)),j.page.notify()}}async function cn(e,{status:t=200,error:n,node_ids:r,params:a,route:s,server_route:i,data:o,form:l}){ft=!0;const c=new URL(location.href);let d;({params:a={},route:s={id:null}}=await re(c,!1)||{}),d=Ve.find(({id:f})=>f===s.id);let p,u=!0;try{const f=r.map(async(v,_)=>{const g=o[_];return g?.uses&&(g.uses=un(g.uses)),Be({loader:b.nodes[v],url:c,params:a,route:s,parent:async()=>{const k={};for(let S=0;S<_;S+=1)Object.assign(k,(await f[S]).data);return k},server_data_node:He(g)})}),h=await Promise.all(f);if(d){const v=d.layouts;for(let _=0;_<v.length;_++)v[_]||h.splice(_,0,void 0)}p=await he({url:c,params:a,branch:h,status:t,error:n,errors:d?.errors,form:l,route:d??null})}catch(f){if(f instanceof Ie){await Q(new URL(f.location,location.href));return}p=await Me({status:qe(f),error:await te(f,{url:c,params:a,route:s}),url:c,route:s}),e.textContent="",u=!1}p.props.page&&(p.props.page.state={}),await _t(p,e,u)}function un(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let Ue=!1;function fn(e,t=!0){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const r=yt(e);if(r&&document.getElementById(r)){const{x:s,y:i}=V();setTimeout(()=>{const o=history.state;Ue=!0,location.replace(new URL(`#${r}`,location.href)),history.replaceState(o,"",e),t&&scrollTo(s,i),Ue=!1})}else{const s=document.body,i=s.getAttribute("tabindex");s.tabIndex=-1,s.focus({preventScroll:!0,focusVisible:!1}),i!==null?s.setAttribute("tabindex",i):s.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const s=[];for(let i=0;i<a.rangeCount;i+=1)s.push(a.getRangeAt(i));setTimeout(()=>{if(a.rangeCount===s.length){for(let i=0;i<a.rangeCount;i+=1){const o=s[i],l=a.getRangeAt(i);if(o.commonAncestorContainer!==l.commonAncestorContainer||o.startContainer!==l.startContainer||o.endContainer!==l.endContainer||o.startOffset!==l.startOffset||o.endOffset!==l.endOffset)return}a.removeAllRanges()}})}}}function Fe(e,t,n,r,a=null){let s,i;const o=new Promise((c,d)=>{s=c,i=d});return o.catch(P),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:V()},to:n&&{params:t?.params??null,route:{id:t?.route?.id??null},url:n,scroll:a},willUnload:!t,type:r,complete:o},fulfil:s,reject:i}}function me(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function dn(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function yt(e){let t;if(b.hash){const[,,n]=e.hash.split("#",3);t=n??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{vn as a,wn as i,pn as l,y as p,yn as r,j as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p,s as d,c,f as i,a as l,n as m,b as f,d as h,r as u}from"./KKQFryJf.js";import{I as $}from"./
|
|
1
|
+
import{p,s as d,c,f as i,a as l,n as m,b as f,d as h,r as u}from"./KKQFryJf.js";import{I as $}from"./D8-xvnbg.js";function w(e,o){p(o,!0);let n=u(o,["$$slots","$$events","$$legacy"]);const r=[["path",{d:"m6 9 6 6 6-6"}]];$(e,d({name:"chevron-down"},()=>n,{get iconNode(){return r},children:(a,v)=>{var s=c(),t=i(s);l(t,()=>o.children??m),f(a,s)},$$slots:{default:!0}})),h()}export{w as C};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{p as Le,g as Ue,E as We,j as v,a as Qe,n as Xe,l as s,F as Ye,b as t,d as Ne,r as Ze,m as c,q as ea,t as e,k as I,i as a,O as te,o as Y,v as z,y as p,z as y,u as ze,f as P,A as ce,K as fe,w as G,x as B,D as ue,c as pe,a2 as me,B as ge,P as aa}from"./KKQFryJf.js";import{c as ra,D as ta,F as sa,G as oa,S as x,H as _e,J as he}from"./
|
|
1
|
+
import{p as Le,g as Ue,E as We,j as v,a as Qe,n as Xe,l as s,F as Ye,b as t,d as Ne,r as Ze,m as c,q as ea,t as e,k as I,i as a,O as te,o as Y,v as z,y as p,z as y,u as ze,f as P,A as ce,K as fe,w as G,x as B,D as ue,c as pe,a2 as me,B as ge,P as aa}from"./KKQFryJf.js";import{c as ra,D as ta,F as sa,G as oa,S as x,H as _e,J as he}from"./D8-xvnbg.js";import{P as la}from"./DK3bAoxY.js";import{C as xe,a as be}from"./JD7HC5jA.js";import{C as $e}from"./JYaAj53Q.js";import{C as we}from"./C35IiVqw.js";import{C as ye}from"./DckwYto4.js";import{R as ia}from"./BeY4_ktF.js";var na=c("<div><!></div>");function Pe(Ae,q){Le(q,!0);let M=Ue(q,"ref",15,null),S=Ze(q,["$$slots","$$events","$$legacy","ref","class","children"]);var k=na();We(k,H=>({"data-slot":"card-action",class:H,...S}),[()=>ra("col-start-2 row-span-2 row-start-1 self-start justify-self-end",q.class)]);var _=v(k);Qe(_,()=>q.children??Xe),s(k),Ye(k,H=>M(H),()=>M()),t(Ae,k),Ne()}var da=c('<span class="sig-meta whitespace-nowrap text-[var(--sig-text-muted)]"> </span>'),va=c('<div class="hidden h-full min-h-0 gap-4 2xl:flex"><div class="w-[21rem] min-w-[21rem] border border-[var(--sig-border)] bg-[var(--sig-surface)] p-4"><!> <!> <!> <div class="space-y-2"></div></div> <div class="min-w-0 flex-1 border border-[var(--sig-border)] bg-[var(--sig-surface)] p-4"><!> <!> <!> <div class="space-y-2"></div></div> <div class="min-w-0 flex-1 border border-[var(--sig-border)] bg-[var(--sig-surface)] p-4"><!> <!> <!> <div class="space-y-2"></div></div></div> <div class="flex h-full min-h-0 flex-col gap-3 2xl:hidden"><div class="flex gap-2 border-b border-[var(--sig-border)] pb-3"><!> <!> <!></div> <div class="border border-[var(--sig-border)] bg-[var(--sig-surface)] p-4"><!> <!> <!> <div class="space-y-2"></div></div></div>',1),ca=c(`<div class="flex h-full min-h-0 items-center justify-center"><div class="border border-[var(--sig-border-strong)] bg-[var(--sig-surface)]
|
|
2
2
|
px-6 py-5 text-center"><div class="sig-heading text-[var(--sig-text-bright)]">Project Unavailable</div> <p class="mt-2 max-w-md font-[family-name:var(--font-mono)] text-[11px]
|
|
3
3
|
leading-5 text-[var(--sig-text-muted)]">Couldn't load README, roadmap, or changelog.</p> <button class="mt-4 text-[11px] uppercase tracking-[0.08em]
|
|
4
4
|
font-[family-name:var(--font-mono)] text-[var(--sig-accent)]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as n,s as d,c,f as l,a as i,n as m,b as u,d as f,r as h}from"./KKQFryJf.js";import{I as $}from"./
|
|
1
|
+
import{p as n,s as d,c,f as l,a as i,n as m,b as u,d as f,r as h}from"./KKQFryJf.js";import{I as $}from"./D8-xvnbg.js";function P(e,s){n(s,!0);let o=h(s,["$$slots","$$events","$$legacy"]);const t=[["path",{d:"M5 12h14"}],["path",{d:"M12 5v14"}]];$(e,d({name:"plus"},()=>o,{get iconNode(){return t},children:(r,v)=>{var a=c(),p=l(a);i(p,()=>s.children??m),u(r,a)},$$slots:{default:!0}})),f()}export{P};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{p as Ae,o as k,e as xe,q as Ge,j as n,t as d,k as O,i as r,l as a,b as i,d as Oe,v as g,f as be,w as H,x as m,y as h,z as _,A as he,B as $e,m as x,u as Y,h as oe,s as qe,D as Le}from"./KKQFryJf.js";import{f as Ve,n as Je,E as Ke,g as Qe,a as Ue,B as q,r as We,t as p,b as Xe,s as Ye,d as Ze}from"./
|
|
1
|
+
import{p as Ae,o as k,e as xe,q as Ge,j as n,t as d,k as O,i as r,l as a,b as i,d as Oe,v as g,f as be,w as H,x as m,y as h,z as _,A as he,B as $e,m as x,u as Y,h as oe,s as qe,D as Le}from"./KKQFryJf.js";import{f as Ve,n as Je,E as Ke,g as Qe,a as Ue,B as q,r as We,t as p,b as Xe,s as Ye,d as Ze}from"./D8-xvnbg.js";import{P as er}from"./DK3bAoxY.js";import{T as rr}from"./CyB1_UBK.js";import{B as sr}from"./r5Vqg8xE.js";import{P as tr,a as ar,b as nr}from"./DNoWw5F_.js";var ir=x('<div class="flex flex-1 items-center justify-center sig-label">Loading connectors...</div>'),or=x(`<div class="flex items-center gap-3 px-3 py-2.5
|
|
2
2
|
border border-[var(--sig-border)]
|
|
3
3
|
bg-[var(--sig-surface-raised)]"><span></span> <div class="flex flex-col gap-0.5 min-w-0 flex-1"><span class="text-[12px] font-medium text-[var(--sig-text-bright)]
|
|
4
4
|
font-[family-name:var(--font-display)] tracking-[0.04em]"> </span> <span class="sig-eyebrow truncate"> </span></div> <div class="flex flex-col items-end gap-0.5 shrink-0"><span> </span> <span class="sig-eyebrow"><!></span></div></div>`),lr=x(`<div class="flex items-center justify-center py-8
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as $,g as c,c as d,f as o,h as i,S as y,s as P,G as z,i as l,b as u,u as h,d as G,r as j}from"./KKQFryJf.js";import{c as f}from"./
|
|
1
|
+
import{p as $,g as c,c as d,f as o,h as i,S as y,s as P,G as z,i as l,b as u,u as h,d as G,r as j}from"./KKQFryJf.js";import{c as f}from"./D8-xvnbg.js";function C(g,e){$(e,!0);let a=c(e,"ref",15,null),r=c(e,"checked",15,!1),p=j(e,["$$slots","$$events","$$legacy","ref","class","checked"]);var s=d(),b=o(s);{let k=h(()=>f("data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 peer inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",e.class));i(b,()=>y,(m,v)=>{v(m,P({"data-slot":"switch",get class(){return l(k)}},()=>p,{get ref(){return a()},set ref(t){a(t)},get checked(){return r()},set checked(t){r(t)},children:(t,q)=>{var n=d(),w=o(n);{let x=h(()=>f("bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0"));i(w,()=>z,(_,S)=>{S(_,{"data-slot":"switch-thumb",get class(){return l(x)}})})}u(t,n)},$$slots:{default:!0}}))})}u(g,s),G()}export{C as S};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as h,f as c,h as p,a5 as L,s as _,b as d,r as b,p as y,g as m,ak as M,i as z,d as w,u as S,a as q,n as D,al as Q,am as R,t as N,an as T,m as E,ao as U,j as V,k as G,l as W,x as X,y as Y,z as Z,ap as ee,aq as te}from"./KKQFryJf.js";import{c as P,I as ae}from"./
|
|
1
|
+
import{c as h,f as c,h as p,a5 as L,s as _,b as d,r as b,p as y,g as m,ak as M,i as z,d as w,u as S,a as q,n as D,al as Q,am as R,t as N,an as T,m as E,ao as U,j as V,k as G,l as W,x as X,y as Y,z as Z,ap as ee,aq as te}from"./KKQFryJf.js";import{c as P,I as ae}from"./D8-xvnbg.js";import{C as H}from"./BBGl-USY.js";import{C as se}from"./DT34jq_d.js";function re(o,e){let t=b(e,["$$slots","$$events","$$legacy"]);var r=h(),s=c(r);p(s,()=>L,(l,n)=>{n(l,_(()=>t))}),d(o,r)}function le(o,e){y(e,!0);let t=m(e,"ref",15,null),r=b(e,["$$slots","$$events","$$legacy","ref","class"]);var s=h(),l=c(s);{let n=S(()=>P("flex cursor-default items-center justify-center py-1",e.class));p(l,()=>M,(u,i)=>{i(u,_({"data-slot":"select-scroll-down-button",get class(){return z(n)}},()=>r,{get ref(){return t()},set ref(a){t(a)},children:(a,f)=>{H(a,{class:"size-4"})},$$slots:{default:!0}}))})}d(o,s),w()}function ne(o,e){y(e,!0);let t=b(e,["$$slots","$$events","$$legacy"]);const r=[["path",{d:"m18 15-6-6-6 6"}]];ae(o,_({name:"chevron-up"},()=>t,{get iconNode(){return r},children:(s,l)=>{var n=h(),u=c(n);q(u,()=>e.children??D),d(s,n)},$$slots:{default:!0}})),w()}function oe(o,e){y(e,!0);let t=m(e,"ref",15,null),r=b(e,["$$slots","$$events","$$legacy","ref","class"]);var s=h(),l=c(s);{let n=S(()=>P("flex cursor-default items-center justify-center py-1",e.class));p(l,()=>Q,(u,i)=>{i(u,_({"data-slot":"select-scroll-up-button",get class(){return z(n)}},()=>r,{get ref(){return t()},set ref(a){t(a)},children:(a,f)=>{ne(a,{class:"size-4"})},$$slots:{default:!0}}))})}d(o,s),w()}var ie=E("<!> <!> <!>",1);function he(o,e){y(e,!0);let t=m(e,"ref",15,null),r=m(e,"sideOffset",3,4),s=m(e,"preventScroll",3,!0),l=b(e,["$$slots","$$events","$$legacy","ref","class","sideOffset","portalProps","children","preventScroll"]);re(o,_(()=>e.portalProps,{children:(n,u)=>{var i=h(),a=c(i);{let f=S(()=>P("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-end-2 data-[side=right]:slide-in-from-start-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--bits-select-content-available-height) min-w-[8rem] origin-(--bits-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e.class));p(a,()=>R,(k,x)=>{x(k,_({get sideOffset(){return r()},get preventScroll(){return s()},"data-slot":"select-content",get class(){return z(f)}},()=>l,{get ref(){return t()},set ref(g){t(g)},children:(g,j)=>{var C=ie(),O=c(C);oe(O,{});var I=N(O,2);{let v=S(()=>P("h-(--bits-select-anchor-height) w-full min-w-(--bits-select-anchor-width) scroll-my-1 p-1"));p(I,()=>T,($,B)=>{B($,{get class(){return z(v)},children:(J,ue)=>{var F=h(),K=c(F);q(K,()=>e.children??D),d(J,F)},$$slots:{default:!0}})})}var A=N(I,2);le(A,{}),d(g,C)},$$slots:{default:!0}}))})}d(n,i)},$$slots:{default:!0}})),w()}var de=E('<span class="absolute end-2 flex size-3.5 items-center justify-center"><!></span> <!>',1);function _e(o,e){y(e,!0);let t=m(e,"ref",15,null),r=b(e,["$$slots","$$events","$$legacy","ref","class","value","label","children"]);var s=h(),l=c(s);{const n=(i,a)=>{let f=()=>a?.().selected,k=()=>a?.().highlighted;var x=de(),g=c(x),j=V(g);{var C=v=>{se(v,{class:"size-4"})};G(j,v=>{f()&&v(C)})}W(g);var O=N(g,2);{var I=v=>{var $=h(),B=c($);q(B,()=>e.children,()=>({selected:f(),highlighted:k()})),d(v,$)},A=v=>{var $=X();Y(()=>Z($,e.label||e.value)),d(v,$)};G(O,v=>{e.children?v(I):v(A,-1)})}d(i,x)};let u=S(()=>P("data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 ps-2 pe-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",e.class));p(l,()=>U,(i,a)=>{a(i,_({get value(){return e.value},"data-slot":"select-item",get class(){return z(u)}},()=>r,{get ref(){return t()},set ref(f){t(f)},children:n,$$slots:{default:!0}}))})}d(o,s),w()}var ce=E("<!> <!>",1);function pe(o,e){y(e,!0);let t=m(e,"ref",15,null),r=m(e,"size",3,"default"),s=b(e,["$$slots","$$events","$$legacy","ref","class","children","size"]);var l=h(),n=c(l);{let u=S(()=>P("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none select-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e.class));p(n,()=>ee,(i,a)=>{a(i,_({"data-slot":"select-trigger",get"data-size"(){return r()},get class(){return z(u)}},()=>s,{get ref(){return t()},set ref(f){t(f)},children:(f,k)=>{var x=ce(),g=c(x);q(g,()=>e.children??D);var j=N(g,2);H(j,{class:"size-4 opacity-50"}),d(f,x)},$$slots:{default:!0}}))})}d(o,l),w()}function be(o,e){y(e,!0);let t=m(e,"open",15,!1),r=m(e,"value",15),s=b(e,["$$slots","$$events","$$legacy","open","value"]);var l=h(),n=c(l);p(n,()=>te,(u,i)=>{i(u,_(()=>s,{get open(){return t()},set open(a){t(a)},get value(){return r()},set value(a){r(a)}}))}),d(o,l),w()}export{pe as S,he as a,_e as b,be as c};
|