studiograph 1.3.44-next.0 → 1.3.44-next.2
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/dist/agent/tools/graph-tools.d.ts +58 -0
- package/dist/agent/tools/graph-tools.js +92 -0
- package/dist/agent/tools/graph-tools.js.map +1 -1
- package/dist/core/graph.js +13 -6
- package/dist/core/graph.js.map +1 -1
- package/dist/core/validation.d.ts +12 -30
- package/dist/core/validation.js +2 -5
- package/dist/core/validation.js.map +1 -1
- package/dist/integrations/linear.js +13 -3
- package/dist/integrations/linear.js.map +1 -1
- package/dist/mcp/tools.d.ts +2 -1
- package/dist/mcp/tools.js +80 -1
- package/dist/mcp/tools.js.map +1 -1
- package/dist/server/index.js +40 -1
- package/dist/server/index.js.map +1 -1
- package/dist/server/routes/graph-api.js +91 -6
- package/dist/server/routes/graph-api.js.map +1 -1
- package/dist/server/routes/insights-api.d.ts +7 -3
- package/dist/server/routes/insights-api.js +46 -21
- package/dist/server/routes/insights-api.js.map +1 -1
- package/dist/server/routes/mcp.d.ts +2 -1
- package/dist/server/routes/mcp.js +2 -2
- package/dist/server/routes/mcp.js.map +1 -1
- package/dist/server/routes/views-api.d.ts +10 -0
- package/dist/server/routes/views-api.js +66 -0
- package/dist/server/routes/views-api.js.map +1 -0
- package/dist/server/ws-hub.d.ts +6 -1
- package/dist/server/ws-hub.js.map +1 -1
- package/dist/services/auth-service.d.ts +31 -0
- package/dist/services/auth-service.js +100 -0
- package/dist/services/auth-service.js.map +1 -1
- package/dist/services/insights.d.ts +18 -11
- package/dist/services/insights.js +121 -77
- package/dist/services/insights.js.map +1 -1
- package/dist/services/sync/collection-sync.js +1 -0
- package/dist/services/sync/collection-sync.js.map +1 -1
- package/dist/services/sync/structured-extractor.js +26 -5
- package/dist/services/sync/structured-extractor.js.map +1 -1
- package/dist/services/sync/types.d.ts +4 -0
- package/dist/web/_app/immutable/assets/{0.Bzn6qb0O.css → 0.n3qM-DRk.css} +1 -1
- package/dist/web/_app/immutable/assets/3.zsEg_MDN.css +1 -0
- package/dist/web/_app/immutable/assets/{7.X0WUW64S.css → 7.5LBMlZdT.css} +1 -1
- package/dist/web/_app/immutable/assets/8.DfcI2i9H.css +1 -0
- package/dist/web/_app/immutable/assets/Toaster.rN8r_Hzv.css +1 -0
- package/dist/web/_app/immutable/assets/ViewToolbar.BX74Ki7U.css +1 -0
- package/dist/web/_app/immutable/assets/checkbox.D6tMDJWk.css +1 -0
- package/dist/web/_app/immutable/chunks/0rsp5-Up.js +1 -0
- package/dist/web/_app/immutable/chunks/0wBGAod7.js +1 -0
- package/dist/web/_app/immutable/chunks/APIqItee.js +1 -0
- package/dist/web/_app/immutable/chunks/B3NI-DOv.js +1 -0
- package/dist/web/_app/immutable/chunks/BAAbylyg.js +1 -0
- package/dist/web/_app/immutable/chunks/BHue2Ock.js +1 -0
- package/dist/web/_app/immutable/chunks/BPXdu_FX.js +1 -0
- package/dist/web/_app/immutable/chunks/BU2bHQbQ.js +4 -0
- package/dist/web/_app/immutable/chunks/BUcIsKRk.js +1 -0
- package/dist/web/_app/immutable/chunks/BgBJ0u3M.js +1 -0
- package/dist/web/_app/immutable/chunks/Bnl5ADsW.js +1 -0
- package/dist/web/_app/immutable/chunks/Bs4ovbtO.js +2 -0
- package/dist/web/_app/immutable/chunks/Bt5_mycY.js +1 -0
- package/dist/web/_app/immutable/chunks/By_Wtb5J.js +1 -0
- package/dist/web/_app/immutable/chunks/{Bt7P6UBm.js → CFtRXHDP.js} +2 -2
- package/dist/web/_app/immutable/chunks/CRnhIQbv.js +1 -0
- package/dist/web/_app/immutable/chunks/CSzKZPD4.js +1 -0
- package/dist/web/_app/immutable/chunks/CdeYcEuU.js +1 -0
- package/dist/web/_app/immutable/chunks/D-yNNNdf.js +1 -0
- package/dist/web/_app/immutable/chunks/DC9z5DEo.js +1 -0
- package/dist/web/_app/immutable/chunks/DCVmM0L5.js +1 -0
- package/dist/web/_app/immutable/chunks/DHtLlmE0.js +1 -0
- package/dist/web/_app/immutable/chunks/DQ5NTKSo.js +1 -0
- package/dist/web/_app/immutable/chunks/{QOJagAiA.js → DQJwHeKh.js} +1 -1
- package/dist/web/_app/immutable/chunks/DQYNi3YK.js +5 -0
- package/dist/web/_app/immutable/chunks/{BBDMeJL4.js → DSh-OF2y.js} +1 -1
- package/dist/web/_app/immutable/chunks/DSkxw4Ss.js +1 -0
- package/dist/web/_app/immutable/chunks/{Dtbtl5su.js → DT3KtxWU.js} +1 -1
- package/dist/web/_app/immutable/chunks/DVx_0hnZ.js +1 -0
- package/dist/web/_app/immutable/chunks/DiWKchgv.js +1 -0
- package/dist/web/_app/immutable/chunks/Diui_MO0.js +1 -0
- package/dist/web/_app/immutable/chunks/DodWDTE5.js +1 -0
- package/dist/web/_app/immutable/chunks/KHKAD2Ng.js +1 -0
- package/dist/web/_app/immutable/chunks/{C8t_lVji.js → Sk0ODu4Y.js} +1 -1
- package/dist/web/_app/immutable/chunks/azUmHUDT.js +1 -0
- package/dist/web/_app/immutable/chunks/{yEDUbZbk.js → b0XUoOIH.js} +2 -2
- package/dist/web/_app/immutable/chunks/lsAKkphT.js +1 -0
- package/dist/web/_app/immutable/chunks/vZ2iBqLE.js +1 -0
- package/dist/web/_app/immutable/entry/app.DA5OyPOi.js +2 -0
- package/dist/web/_app/immutable/entry/start.DTjSVtws.js +1 -0
- package/dist/web/_app/immutable/nodes/0.BIvpQ3Qk.js +2 -0
- package/dist/web/_app/immutable/nodes/1.y3j9wcQE.js +1 -0
- package/dist/web/_app/immutable/nodes/{9.DlSjDUl0.js → 10.D03BZcr1.js} +1 -1
- package/dist/web/_app/immutable/nodes/2.Du0xZVQg.js +84 -0
- package/dist/web/_app/immutable/nodes/3.weQEi2lI.js +1 -0
- package/dist/web/_app/immutable/nodes/4.DJyhWznw.js +11 -0
- package/dist/web/_app/immutable/nodes/{5.BZZysw6z.js → 5.CipwuwB3.js} +2 -2
- package/dist/web/_app/immutable/nodes/6.Daxwm3Lw.js +2 -0
- package/dist/web/_app/immutable/nodes/7.TxeJDMtw.js +2 -0
- package/dist/web/_app/immutable/nodes/8.DWNdmB4l.js +1 -0
- package/dist/web/_app/immutable/nodes/{8.CZ7vB_Pl.js → 9.BuTZk7Le.js} +1 -1
- package/dist/web/_app/version.json +1 -1
- package/dist/web/index.html +11 -12
- package/package.json +1 -1
- package/dist/web/_app/immutable/assets/3.CHSDCrUY.css +0 -1
- package/dist/web/_app/immutable/assets/ViewToolbar.39HnhXNY.css +0 -1
- package/dist/web/_app/immutable/chunks/3ONneP0Z.js +0 -1
- package/dist/web/_app/immutable/chunks/8aEH9o48.js +0 -1
- package/dist/web/_app/immutable/chunks/B3cbqYdb.js +0 -1
- package/dist/web/_app/immutable/chunks/BMrbs3EC.js +0 -1
- package/dist/web/_app/immutable/chunks/BQZlAX3A.js +0 -1
- package/dist/web/_app/immutable/chunks/BmP3yl81.js +0 -1
- package/dist/web/_app/immutable/chunks/C8IfoK2g.js +0 -1
- package/dist/web/_app/immutable/chunks/CClliU_-.js +0 -4
- package/dist/web/_app/immutable/chunks/CDs3H3KT.js +0 -1
- package/dist/web/_app/immutable/chunks/CRbsz2jz.js +0 -1
- package/dist/web/_app/immutable/chunks/CWmHQEyb.js +0 -1
- package/dist/web/_app/immutable/chunks/CpAdcarq.js +0 -1
- package/dist/web/_app/immutable/chunks/CpXgbTWt.js +0 -1
- package/dist/web/_app/immutable/chunks/DYpjUIN_.js +0 -1
- package/dist/web/_app/immutable/chunks/Ddpk8P2X.js +0 -1
- package/dist/web/_app/immutable/chunks/DvqvTNdq.js +0 -1
- package/dist/web/_app/immutable/chunks/Dx6YFABE.js +0 -1
- package/dist/web/_app/immutable/chunks/Iwcm6r7d.js +0 -1
- package/dist/web/_app/immutable/chunks/Zf7H0ZZc.js +0 -5
- package/dist/web/_app/immutable/chunks/qvfhHbjx.js +0 -1
- package/dist/web/_app/immutable/entry/app.oDy7ig5b.js +0 -2
- package/dist/web/_app/immutable/entry/start.Cz7A2G8_.js +0 -1
- package/dist/web/_app/immutable/nodes/0.BuWS-_Tw.js +0 -2
- package/dist/web/_app/immutable/nodes/1.ClV7Vf9J.js +0 -1
- package/dist/web/_app/immutable/nodes/2.Dg3m027a.js +0 -84
- package/dist/web/_app/immutable/nodes/3.9iNkY9mM.js +0 -1
- package/dist/web/_app/immutable/nodes/4.UG11YFmx.js +0 -11
- package/dist/web/_app/immutable/nodes/6.LCPXZT0S.js +0 -2
- package/dist/web/_app/immutable/nodes/7.kgjplPpk.js +0 -2
- /package/dist/web/_app/immutable/assets/{9.BUrHkYry.css → 10.BUrHkYry.css} +0 -0
- /package/dist/web/_app/immutable/assets/{8.CT4xL4K3.css → 9.CT4xL4K3.css} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
`).some(f=>f.startsWith("https://svelte.dev/e/")))throw a;return a!==
|
|
1
|
+
import{aX as ae,g as K,aB as oe,a7 as le,aY as q,U as N,P as Q,v as l,i as _,an as b,aZ as z,h as ue,j as V,z as fe,a_ as U,G as m,w as A,a$ as I,S as C,az as ce,b0 as X,b1 as de,b2 as G,b3 as he,b4 as _e,ax as L,b5 as O,b6 as Z,b7 as pe,b8 as ee,a5 as te,B as ve,Y as P,q as R,n as ge,o as be,b9 as D,E as me,$ as ye,ba as Ee,bb as Te,ah as we,bc as Ne,ai as Ae,bd as Re,y as S,be as Se,bf as De,bg as Me,bh as ke,bi as Le,bj as Oe,C as W,bk as F,H as xe,Z as Ie,bl as Y,u as M,bm as Ce,X as Pe,bn as Fe,M as Ye,p as $e,A as Be,bo as He,b as Ve}from"./DSh-OF2y.js";function We(t){let e=0,r=Q(0),s;return()=>{ae()&&(K(r),oe(()=>(e===0&&(s=le(()=>t(()=>q(r)))),e+=1,()=>{N(()=>{e-=1,e===0&&(s?.(),s=void 0,q(r))})})))}}var je=me|ye;function qe(t,e,r,s){new ze(t,e,r,s)}class ze{parent;is_pending=!1;transform_error;#t;#v=_?l:null;#s;#u;#e;#i=null;#r=null;#n=null;#a=null;#f=0;#l=0;#c=!1;#d=new Set;#h=new Set;#o=null;#m=We(()=>(this.#o=Q(this.#f),()=>{this.#o=null}));constructor(e,r,s,i){this.#t=e,this.#s=r,this.#u=n=>{var a=b;a.b=this,a.f|=z,s(n)},this.parent=b.b,this.transform_error=i??this.parent?.transform_error??(n=>n),this.#e=ue(()=>{if(_){const n=this.#v;V();const a=n.data===fe;if(n.data.startsWith(U)){const o=JSON.parse(n.data.slice(U.length));this.#E(o)}else a?this.#T():this.#y()}else this.#g()},je),_&&(this.#t=l)}#y(){try{this.#i=m(()=>this.#u(this.#t))}catch(e){this.error(e)}}#E(e){const r=this.#s.failed;r&&(this.#n=m(()=>{r(this.#t,()=>e,()=>()=>{})}))}#T(){const e=this.#s.pending;e&&(this.is_pending=!0,this.#r=m(()=>e(this.#t)),N(()=>{var r=this.#a=document.createDocumentFragment(),s=A();r.append(s),this.#i=this.#p(()=>(I.ensure(),m(()=>this.#u(s)))),this.#l===0&&(this.#t.before(r),this.#a=null,C(this.#r,()=>{this.#r=null}),this.#_())}))}#g(){try{if(this.is_pending=this.has_pending_snippet(),this.#l=0,this.#f=0,this.#i=m(()=>{this.#u(this.#t)}),this.#l>0){var e=this.#a=document.createDocumentFragment();ce(this.#i,e);const r=this.#s.pending;this.#r=m(()=>r(this.#t))}else this.#_()}catch(r){this.error(r)}}#_(){this.is_pending=!1;for(const e of this.#d)X(e,de),G(e);for(const e of this.#h)X(e,he),G(e);this.#d.clear(),this.#h.clear()}defer_effect(e){_e(e,this.#d,this.#h)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#s.pending}#p(e){var r=b,s=ee,i=te;L(this.#e),O(this.#e),Z(this.#e.ctx);try{return e()}catch(n){return pe(n),null}finally{L(r),O(s),Z(i)}}#b(e){if(!this.has_pending_snippet()){this.parent&&this.parent.#b(e);return}this.#l+=e,this.#l===0&&(this.#_(),this.#r&&C(this.#r,()=>{this.#r=null}),this.#a&&(this.#t.before(this.#a),this.#a=null))}update_pending_count(e){this.#b(e),this.#f+=e,!(!this.#o||this.#c)&&(this.#c=!0,N(()=>{this.#c=!1,this.#o&&ve(this.#o,this.#f)}))}get_effect_pending(){return this.#m(),K(this.#o)}error(e){var r=this.#s.onerror;let s=this.#s.failed;if(!r&&!s)throw e;this.#i&&(P(this.#i),this.#i=null),this.#r&&(P(this.#r),this.#r=null),this.#n&&(P(this.#n),this.#n=null),_&&(R(this.#v),ge(),R(be()));var i=!1,n=!1;const a=()=>{if(i){Te();return}i=!0,n&&Ee(),this.#n!==null&&C(this.#n,()=>{this.#n=null}),this.#p(()=>{I.ensure(),this.#g()})},f=o=>{try{n=!0,r?.(o,a),n=!1}catch(u){D(u,this.#e&&this.#e.parent)}s&&(this.#n=this.#p(()=>{I.ensure();try{return m(()=>{var u=b;u.b=this,u.f|=z,s(this.#t,()=>o,()=>a)})}catch(u){return D(u,this.#e.parent),null}}))};N(()=>{var o;try{o=this.transform_error(e)}catch(u){D(u,this.#e&&this.#e.parent);return}o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(f,u=>D(u,this.#e&&this.#e.parent)):f(o)})}}function st(t){return t.endsWith("capture")&&t!=="gotpointercapture"&&t!=="lostpointercapture"}const Ue=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function it(t){return Ue.includes(t)}const Xe={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function at(t){return t=t.toLowerCase(),Xe[t]??t}const Ge=["touchstart","touchmove"];function Ze(t){return Ge.includes(t)}const Je=["textarea","script","style","title"];function ot(t){return Je.includes(t)}const w=Symbol("events"),re=new Set,$=new Set;function ne(t,e,r,s={}){function i(n){if(s.capture||B.call(e,n),!n.cancelBubble)return Ne(()=>r?.call(this,n))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?N(()=>{e.addEventListener(t,i,s)}):e.addEventListener(t,i,s),i}function lt(t,e,r,s={}){var i=ne(e,t,r,s);return()=>{t.removeEventListener(e,i,s)}}function ut(t,e,r,s,i){var n={capture:s,passive:i},a=ne(t,e,r,n);(e===document.body||e===window||e===document||e instanceof HTMLMediaElement)&&we(()=>{e.removeEventListener(t,a,n)})}function ft(t,e,r){(e[w]??={})[t]=r}function ct(t){for(var e=0;e<t.length;e++)re.add(t[e]);for(var r of $)r(t)}let J=null;function B(t){var e=this,r=e.ownerDocument,s=t.type,i=t.composedPath?.()||[],n=i[0]||t.target;J=t;var a=0,f=J===t&&t[w];if(f){var o=i.indexOf(f);if(o!==-1&&(e===document||e===window)){t[w]=e;return}var u=i.indexOf(e);if(u===-1)return;o<=u&&(a=o)}if(n=i[a]||t.target,n!==e){Ae(t,"currentTarget",{configurable:!0,get(){return n||r}});var y=ee,T=b;O(null),L(null);try{for(var g,d=[];n!==null;){var c=n.assignedSlot||n.parentNode||n.host||null;try{var h=n[w]?.[s];h!=null&&(!n.disabled||t.target===n)&&h.call(n,t)}catch(p){g?d.push(p):g=p}if(t.cancelBubble||c===e||c===null)break;n=c}if(g){for(let p of d)queueMicrotask(()=>{throw p});throw g}}finally{t[w]=e,delete t.currentTarget,O(y),L(T)}}}const Ke=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:t=>t});function Qe(t){return Ke?.createHTML(t)??t}function se(t){var e=Re("template");return e.innerHTML=Qe(t.replaceAll("<!>","<!---->")),e.content}function v(t,e){var r=b;r.nodes===null&&(r.nodes={start:t,end:e,a:null,t:null})}function dt(t,e){var r=(e&De)!==0,s=(e&Me)!==0,i,n=!t.startsWith("<!>");return()=>{if(_)return v(l,null),l;i===void 0&&(i=se(n?t:"<!>"+t),r||(i=S(i)));var a=s||Se?document.importNode(i,!0):i.cloneNode(!0);if(r){var f=S(a),o=a.lastChild;v(f,o)}else v(a,a);return a}}function et(t,e,r="svg"){var s=!t.startsWith("<!>"),i=`<${r}>${s?t:"<!>"+t}</${r}>`,n;return()=>{if(_)return v(l,null),l;if(!n){var a=se(i),f=S(a);n=S(f)}var o=n.cloneNode(!0);return v(o,o),o}}function ht(t,e){return et(t,e,"svg")}function _t(t=""){if(!_){var e=A(t+"");return v(e,e),e}var r=l;return r.nodeType!==ke?(r.before(r=A()),R(r)):Le(r),v(r,r),r}function pt(){if(_)return v(l,null),l;var t=document.createDocumentFragment(),e=document.createComment(""),r=A();return t.append(e,r),v(e,r),t}function vt(t,e){if(_){var r=b;((r.f&Oe)===0||r.nodes.end===null)&&(r.nodes.end=l),V();return}t!==null&&t.before(e)}function gt(){if(_&&l&&l.nodeType===W&&l.textContent?.startsWith("$")){const t=l.textContent.substring(1);return V(),t}return(window.__svelte??={}).uid??=1,`c${window.__svelte.uid++}`}function bt(t,e){var r=e==null?"":typeof e=="object"?`${e}`:e;r!==(t.__t??=t.nodeValue)&&(t.__t=r,t.nodeValue=`${r}`)}function tt(t,e){return ie(t,e)}function mt(t,e){F(),e.intro=e.intro??!1;const r=e.target,s=_,i=l;try{for(var n=S(r);n&&(n.nodeType!==W||n.data!==xe);)n=Ie(n);if(!n)throw Y;M(!0),R(n);const a=ie(t,{...e,anchor:n});return M(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
|
|
2
|
+
`).some(f=>f.startsWith("https://svelte.dev/e/")))throw a;return a!==Y&&console.warn("Failed to hydrate: ",a),e.recover===!1&&Ce(),F(),Pe(r),M(!1),tt(t,e)}finally{M(s),R(i)}}const k=new Map;function ie(t,{target:e,anchor:r,props:s={},events:i,context:n,intro:a=!0,transformError:f}){F();var o=void 0,u=Fe(()=>{var y=r??e.appendChild(A());qe(y,{pending:()=>{}},d=>{$e({});var c=te;if(n&&(c.c=n),i&&(s.$$events=i),_&&v(d,null),o=t(d,s)||{},_&&(b.nodes.end=l,l===null||l.nodeType!==W||l.data!==Be))throw He(),Y;Ve()},f);var T=new Set,g=d=>{for(var c=0;c<d.length;c++){var h=d[c];if(!T.has(h)){T.add(h);var p=Ze(h);for(const x of[e,document]){var E=k.get(x);E===void 0&&(E=new Map,k.set(x,E));var j=E.get(h);j===void 0?(x.addEventListener(h,B,{passive:p}),E.set(h,1)):E.set(h,j+1)}}}};return g(Ye(re)),$.add(g),()=>{for(var d of T)for(const p of[e,document]){var c=k.get(p),h=c.get(d);--h==0?(p.removeEventListener(d,B),c.delete(d),c.size===0&&k.delete(p)):c.set(d,h)}$.delete(g),y!==r&&y.parentNode?.removeChild(y)}});return H.set(o,u),o}let H=new WeakMap;function yt(t,e){const r=H.get(t);return r?(H.delete(t),r(e)):Promise.resolve()}const rt="5";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add(rt);export{vt as a,dt as b,pt as c,ct as d,ft as e,ht as f,ut as g,mt as h,st as i,ne as j,it as k,We as l,tt as m,at as n,lt as o,gt as p,v as q,ot as r,bt as s,_t as t,yt as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as p,s as H,f as b}from"./b0XUoOIH.js";import{i as M}from"./vZ2iBqLE.js";import{p as $,l as c,s as m,d as n,g as i,a as R,c as _,n as V,r as h,b as Z,m as u,t as k}from"./DSh-OF2y.js";import{i as B}from"./DT3KtxWU.js";import{a as C}from"./CRnhIQbv.js";import{l as v,p as g}from"./D-yNNNdf.js";var N=b("<title> </title>"),P=b('<svg><!><path d="M12,10H6.78A11,11,0,0,1,27,16h2A13,13,0,0,0,6,7.68V4H4v8h8Z"></path><path d="M20,22h5.22A11,11,0,0,1,5,16H3a13,13,0,0,0,23,8.32V28h2V20H20Z"></path></svg>');function G(x,t){const e=v(t,["children","$$slots","$$events","$$legacy"]),w=v(e,["size","title"]);$(t,!1);const a=u(),d=u();let f=g(t,"size",8,16),s=g(t,"title",8,void 0);c(()=>(n(e),n(s())),()=>{m(a,e["aria-label"]||e["aria-labelledby"]||s())}),c(()=>(i(a),n(e)),()=>{m(d,{"aria-hidden":i(a)?void 0:!0,role:i(a)?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})}),R(),M();var r=P();C(r,()=>({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",preserveAspectRatio:"xMidYMid meet",width:f(),height:f(),...i(d),...w}));var y=_(r);{var z=o=>{var l=N(),A=_(l,!0);h(l),k(()=>H(A,s())),p(o,l)};B(y,o=>{s()&&o(z)})}V(2),h(r),p(x,r),Z()}export{G as R};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a5 as d,a6 as g,a2 as c,a7 as b,a8 as m,a9 as i,g as p,d as v,aa as h,ab as k}from"./DSh-OF2y.js";function x(t=!1){const a=d,e=a.l.u;if(!e)return;let f=()=>v(a.s);if(t){let n=0,s={};const _=h(()=>{let l=!1;const r=a.s;for(const o in r)r[o]!==s[o]&&(s[o]=r[o],l=!0);return l&&n++,n});f=()=>p(_)}e.b.length&&g(()=>{u(a,f),i(e.b)}),c(()=>{const n=b(()=>e.m.map(m));return()=>{for(const s of n)typeof s=="function"&&s()}}),e.a.length&&c(()=>{u(a,f),i(e.a)})}function u(t,a){if(t.l.s)for(const e of t.l.s)p(e);a()}k();export{x as i};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.BIvpQ3Qk.js","../chunks/PPVm8Dsz.js","../chunks/b0XUoOIH.js","../chunks/DSh-OF2y.js","../chunks/DT3KtxWU.js","../chunks/CRnhIQbv.js","../chunks/CFtRXHDP.js","../chunks/B3NI-DOv.js","../chunks/BAAbylyg.js","../chunks/DSkxw4Ss.js","../chunks/DC9z5DEo.js","../chunks/Sk0ODu4Y.js","../chunks/Bs4ovbtO.js","../chunks/0wBGAod7.js","../chunks/DVx_0hnZ.js","../chunks/D-yNNNdf.js","../chunks/BUcIsKRk.js","../chunks/DHtLlmE0.js","../chunks/DCVmM0L5.js","../chunks/vZ2iBqLE.js","../assets/Toaster.rN8r_Hzv.css","../chunks/lsAKkphT.js","../assets/0.n3qM-DRk.css","../nodes/1.y3j9wcQE.js","../nodes/2.Du0xZVQg.js","../chunks/BPXdu_FX.js","../chunks/DQYNi3YK.js","../chunks/Bnl5ADsW.js","../chunks/CdeYcEuU.js","../chunks/CSzKZPD4.js","../chunks/BgBJ0u3M.js","../chunks/azUmHUDT.js","../chunks/0rsp5-Up.js","../chunks/BHue2Ock.js","../chunks/DQ5NTKSo.js","../chunks/APIqItee.js","../chunks/KHKAD2Ng.js","../assets/Copy.FS8bdfxr.css","../chunks/DiWKchgv.js","../chunks/BU2bHQbQ.js","../assets/2.DNpjFx0k.css","../nodes/3.weQEi2lI.js","../chunks/By_Wtb5J.js","../assets/ViewToolbar.BX74Ki7U.css","../assets/3.zsEg_MDN.css","../nodes/4.DJyhWznw.js","../chunks/DodWDTE5.js","../chunks/CqkleIqs.js","../assets/4.CjSyz-ka.css","../nodes/5.CipwuwB3.js","../assets/5.DFeGxLYf.css","../nodes/6.Daxwm3Lw.js","../assets/6.CquhUpOu.css","../nodes/7.TxeJDMtw.js","../chunks/Bt5_mycY.js","../assets/checkbox.D6tMDJWk.css","../assets/7.5LBMlZdT.css","../nodes/8.DWNdmB4l.js","../assets/8.DfcI2i9H.css","../nodes/9.BuTZk7Le.js","../assets/9.CT4xL4K3.css","../nodes/10.D03BZcr1.js","../assets/10.BUrHkYry.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{_ as i}from"../chunks/PPVm8Dsz.js";import{s as I,av as $,g as m,aC as tt,ai as et,m as rt,p as at,a6 as st,a2 as ot,aD as nt,aE as it,a0 as v,a3 as mt,b as ct,e as j,a4 as O,c as ut,r as _t,t as dt}from"../chunks/DSh-OF2y.js";import{h as lt,m as ft,u as vt,a as _,c as E,b as Y,t as gt,s as ht}from"../chunks/b0XUoOIH.js";import{i as D,b as R}from"../chunks/DT3KtxWU.js";import{c as A}from"../chunks/DCVmM0L5.js";import{p as L}from"../chunks/D-yNNNdf.js";function Et(s){return class extends pt{constructor(t){super({component:s,...t})}}}class pt{#e;#t;constructor(t){var a=new Map,c=(r,e)=>{var u=rt(e,!1,!1);return a.set(r,u),u};const n=new Proxy({...t.props||{},$$events:{}},{get(r,e){return m(a.get(e)??c(e,Reflect.get(r,e)))},has(r,e){return e===$?!0:(m(a.get(e)??c(e,Reflect.get(r,e))),Reflect.has(r,e))},set(r,e,u){return I(a.get(e)??c(e,u),u),Reflect.set(r,e,u)}});this.#t=(t.hydrate?lt:ft)(t.component,{target:t.target,anchor:t.anchor,props:n,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&tt(),this.#e=n.$$events;for(const r of Object.keys(this.#t))r==="$set"||r==="$destroy"||r==="$on"||et(this,r,{get(){return this.#t[r]},set(e){this.#t[r]=e},enumerable:!0});this.#t.$set=r=>{Object.assign(n,r)},this.#t.$destroy=()=>{vt(this.#t)}}$set(t){this.#t.$set(t)}$on(t,a){this.#e[t]=this.#e[t]||[];const c=(...n)=>a.call(this,...n);return this.#e[t].push(c),()=>{this.#e[t]=this.#e[t].filter(n=>n!==c)}}$destroy(){this.#t.$destroy()}}const wt={};var yt=Y('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),Pt=Y("<!> <!>",1);function bt(s,t){at(t,!0);let a=L(t,"components",23,()=>[]),c=L(t,"data_0",3,null),n=L(t,"data_1",3,null),r=L(t,"data_2",3,null);st(()=>t.stores.page.set(t.page)),ot(()=>{t.stores,t.page,t.constructors,a(),t.form,c(),n(),r(),t.stores.page.notify()});let e=j(!1),u=j(!1),k=j(null);nt(()=>{const o=t.stores.page.subscribe(()=>{m(e)&&(I(u,!0),it().then(()=>{I(k,document.title||"untitled page",!0)}))});return I(e,!0),o});const z=O(()=>t.constructors[2]);var C=Pt(),S=v(C);{var B=o=>{const d=O(()=>t.constructors[0]);var l=E(),p=v(l);A(p,()=>m(d),(f,g)=>{R(g(f,{get data(){return c()},get form(){return t.form},get params(){return t.page.params},children:(y,Rt)=>{var M=E(),K=v(M);{var N=h=>{const T=O(()=>t.constructors[1]);var P=E(),V=v(P);A(V,()=>m(T),(x,w)=>{R(w(x,{get data(){return n()},get form(){return t.form},get params(){return t.page.params},children:(b,At)=>{var G=E(),U=v(G);A(U,()=>m(z),(W,X)=>{R(X(W,{get data(){return r()},get form(){return t.form},get params(){return t.page.params}}),Z=>a()[2]=Z,()=>a()?.[2])}),_(b,G)},$$slots:{default:!0}}),b=>a()[1]=b,()=>a()?.[1])}),_(h,P)},Q=h=>{const T=O(()=>t.constructors[1]);var P=E(),V=v(P);A(V,()=>m(T),(x,w)=>{R(w(x,{get data(){return n()},get form(){return t.form},get params(){return t.page.params}}),b=>a()[1]=b,()=>a()?.[1])}),_(h,P)};D(K,h=>{t.constructors[2]?h(N):h(Q,!1)})}_(y,M)},$$slots:{default:!0}}),y=>a()[0]=y,()=>a()?.[0])}),_(o,l)},F=o=>{const d=O(()=>t.constructors[0]);var l=E(),p=v(l);A(p,()=>m(d),(f,g)=>{R(g(f,{get data(){return c()},get form(){return t.form},get params(){return t.page.params}}),y=>a()[0]=y,()=>a()?.[0])}),_(o,l)};D(S,o=>{t.constructors[1]?o(B):o(F,!1)})}var H=mt(S,2);{var J=o=>{var d=yt(),l=ut(d);{var p=f=>{var g=gt();dt(()=>ht(g,m(k))),_(f,g)};D(l,f=>{m(u)&&f(p)})}_t(d),_(o,d)};D(H,o=>{m(e)&&o(J)})}_(s,C),ct()}const jt=Et(bt),kt=[()=>i(()=>import("../nodes/0.BIvpQ3Qk.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22]),import.meta.url),()=>i(()=>import("../nodes/1.y3j9wcQE.js"),__vite__mapDeps([23,2,3,19,8]),import.meta.url),()=>i(()=>import("../nodes/2.Du0xZVQg.js"),__vite__mapDeps([24,2,3,5,4,6,1,17,18,8,19,15,25,26,27,9,10,11,28,29,30,31,21,32,12,33,34,35,36,37,38,39,40]),import.meta.url),()=>i(()=>import("../nodes/3.weQEi2lI.js"),__vite__mapDeps([41,2,3,4,17,5,6,34,15,8,42,19,30,31,10,9,13,43,14,21,29,44]),import.meta.url),()=>i(()=>import("../nodes/4.DJyhWznw.js"),__vite__mapDeps([45,9,3,6,1,2,4,17,18,15,8,46,19,5,42,34,30,31,10,13,43,28,32,26,12,11,33,47,25,39,48]),import.meta.url),()=>i(()=>import("../nodes/5.CipwuwB3.js"),__vite__mapDeps([49,9,3,6,2,4,8,10,50]),import.meta.url),()=>i(()=>import("../nodes/6.Daxwm3Lw.js"),__vite__mapDeps([51,2,3,42,5,4,6,17,34,15,8,19,30,31,10,9,13,43,1,28,39,52]),import.meta.url),()=>i(()=>import("../nodes/7.TxeJDMtw.js"),__vite__mapDeps([53,2,3,15,46,8,19,4,5,6,26,17,18,54,34,27,55,33,36,37,35,14,9,31,1,11,21,10,56]),import.meta.url),()=>i(()=>import("../nodes/8.DWNdmB4l.js"),__vite__mapDeps([57,2,3,4,17,18,5,6,8,42,34,15,19,30,31,10,9,13,43,28,38,26,25,54,27,55,35,58]),import.meta.url),()=>i(()=>import("../nodes/9.BuTZk7Le.js"),__vite__mapDeps([59,2,3,4,7,8,11,6,34,5,15,35,60]),import.meta.url),()=>i(()=>import("../nodes/10.D03BZcr1.js"),__vite__mapDeps([61,2,3,4,7,8,11,6,9,34,5,15,35,62]),import.meta.url)],Ct=[],St={"/(app)":[3,[2]],"/(app)/graph":[6,[2]],"/login":[9],"/(app)/settings":[7,[2]],"/setup":[10],"/(app)/views/[id]":[8,[2]],"/(app)/[repo]/[type]/[id]":[4,[2]],"/(app)/[repo]/[type]/[id]/edit":[5,[2]]},q={handleError:(({error:s})=>{console.error(s)}),reroute:(()=>{}),transport:{}},Ot=Object.fromEntries(Object.entries(q.transport).map(([s,t])=>[s,t.decode])),Mt=Object.fromEntries(Object.entries(q.transport).map(([s,t])=>[s,t.encode])),Gt=!1,Yt=(s,t)=>Ot[s](t);export{Yt as decode,Ot as decoders,St as dictionary,Mt as encoders,Gt as hash,q as hooks,wt as matchers,kt as nodes,jt as root,Ct as server_loads};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as o,a as r}from"../chunks/BAAbylyg.js";export{o as load_css,r as start};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../chunks/BU2bHQbQ.js","../chunks/DSh-OF2y.js","../chunks/BAAbylyg.js","../chunks/DC9z5DEo.js","../chunks/DSkxw4Ss.js","../chunks/CFtRXHDP.js","../chunks/BB_5th5W.js","../chunks/PPVm8Dsz.js","../chunks/CqkleIqs.js","../chunks/DnL9f0lc.js","../chunks/CX_61fY8.js","../chunks/CscoF-YL.js","../chunks/D7ZqAKi9.js","../chunks/C7VoTosa.js","../chunks/CrdV0ttd.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{_ as A}from"../chunks/PPVm8Dsz.js";import{a as _,s as O,f as z,b as ee,c as te}from"../chunks/b0XUoOIH.js";import{p as E,l as $,s,d as f,g as t,a as T,c as w,n as k,r as M,b as P,m as x,t as R,a1 as ae,e as V,f as B,aV as U,a2 as W,aD as re,a3 as oe,ac as ie,ad as ne,a0 as le}from"../chunks/DSh-OF2y.js";import{i as C}from"../chunks/DT3KtxWU.js";import{a as D,c as se,s as de}from"../chunks/CRnhIQbv.js";import{h as ce}from"../chunks/B3NI-DOv.js";import{g as N}from"../chunks/BAAbylyg.js";import{w as j}from"../chunks/DSkxw4Ss.js";import{n as ue}from"../chunks/DC9z5DEo.js";import{a as L}from"../chunks/Sk0ODu4Y.js";import{r as G}from"../chunks/Bs4ovbtO.js";import{v as me}from"../chunks/0wBGAod7.js";import{insightsStore as he}from"../chunks/DVx_0hnZ.js";import{l as I,p as y,s as pe,r as fe}from"../chunks/D-yNNNdf.js";import{T as ve}from"../chunks/BUcIsKRk.js";import{R as ge}from"../chunks/lsAKkphT.js";import{i as F}from"../chunks/vZ2iBqLE.js";var _e=z("<title> </title>"),be=z('<svg><!><path d="M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2ZM14,21.5908l-5-5L10.5906,15,14,18.4092,21.41,11l1.5957,1.5859Z"></path><path fill="none" d="M14 21.591 9 16.591 10.591 15 14 18.409 21.41 11 23.005 12.585 14 21.591z" data-icon-path="inner-path"></path></svg>');function we(v,o){const e=I(o,["children","$$slots","$$events","$$legacy"]),g=I(e,["size","title"]);E(o,!1);const a=x(),m=x();let d=y(o,"size",8,16),n=y(o,"title",8,void 0);$(()=>(f(e),f(n())),()=>{s(a,e["aria-label"]||e["aria-labelledby"]||n())}),$(()=>(t(a),f(e)),()=>{s(m,{"aria-hidden":t(a)?void 0:!0,role:t(a)?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})}),T(),F();var i=be();D(i,()=>({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",preserveAspectRatio:"xMidYMid meet",width:d(),height:d(),...t(m),...g}));var r=w(i);{var p=l=>{var c=_e(),h=w(c,!0);M(c),R(()=>O(h,n())),_(l,c)};C(r,l=>{n()&&l(p)})}k(2),M(i),_(v,i),P()}var Me=z("<title> </title>"),$e=z('<svg><!><path fill="none" d="M14.9 7.2H17.1V24.799H14.9z" data-icon-path="inner-path" transform="rotate(-45 16 16)"></path><path d="M16,2A13.914,13.914,0,0,0,2,16,13.914,13.914,0,0,0,16,30,13.914,13.914,0,0,0,30,16,13.914,13.914,0,0,0,16,2Zm5.4449,21L9,10.5557,10.5557,9,23,21.4448Z"></path></svg>');function xe(v,o){const e=I(o,["children","$$slots","$$events","$$legacy"]),g=I(e,["size","title"]);E(o,!1);const a=x(),m=x();let d=y(o,"size",8,16),n=y(o,"title",8,void 0);$(()=>(f(e),f(n())),()=>{s(a,e["aria-label"]||e["aria-labelledby"]||n())}),$(()=>(t(a),f(e)),()=>{s(m,{"aria-hidden":t(a)?void 0:!0,role:t(a)?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})}),T(),F();var i=$e();D(i,()=>({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",preserveAspectRatio:"xMidYMid meet",width:d(),height:d(),...t(m),...g}));var r=w(i);{var p=l=>{var c=Me(),h=w(c,!0);M(c),R(()=>O(h,n())),_(l,c)};C(r,l=>{n()&&l(p)})}k(2),M(i),_(v,i),P()}var Ie=z("<title> </title>"),ye=z('<svg><!><path fill="none" d="M16,8a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,8Zm4,13.875H17.125v-8H13v2.25h1.875v5.75H12v2.25h8Z" data-icon-path="inner-path"></path><path d="M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,6a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,16,8Zm4,16.125H12v-2.25h2.875v-5.75H13v-2.25h4.125v8H20Z"></path></svg>');function ze(v,o){const e=I(o,["children","$$slots","$$events","$$legacy"]),g=I(e,["size","title"]);E(o,!1);const a=x(),m=x();let d=y(o,"size",8,16),n=y(o,"title",8,void 0);$(()=>(f(e),f(n())),()=>{s(a,e["aria-label"]||e["aria-labelledby"]||n())}),$(()=>(t(a),f(e)),()=>{s(m,{"aria-hidden":t(a)?void 0:!0,role:t(a)?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})}),T(),F();var i=ye();D(i,()=>({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",preserveAspectRatio:"xMidYMid meet",width:d(),height:d(),...t(m),...g}));var r=w(i);{var p=l=>{var c=Ie(),h=w(c,!0);M(c),R(()=>O(h,n())),_(l,c)};C(r,l=>{n()&&l(p)})}k(2),M(i),_(v,i),P()}var Ae=z("<title> </title>"),Ee=z('<svg><!><path fill="none" d="M16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Zm-1.125-5h2.25V12h-2.25Z" data-icon-path="inner-path"></path><path d="M16.002,6.1714h-.004L4.6487,27.9966,4.6506,28H27.3494l.0019-.0034ZM14.875,12h2.25v9h-2.25ZM16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Z"></path><path d="M29,30H3a1,1,0,0,1-.8872-1.4614l13-25a1,1,0,0,1,1.7744,0l13,25A1,1,0,0,1,29,30ZM4.6507,28H27.3493l.002-.0033L16.002,6.1714h-.004L4.6487,27.9967Z"></path></svg>');function Pe(v,o){const e=I(o,["children","$$slots","$$events","$$legacy"]),g=I(e,["size","title"]);E(o,!1);const a=x(),m=x();let d=y(o,"size",8,16),n=y(o,"title",8,void 0);$(()=>(f(e),f(n())),()=>{s(a,e["aria-label"]||e["aria-labelledby"]||n())}),$(()=>(t(a),f(e)),()=>{s(m,{"aria-hidden":t(a)?void 0:!0,role:t(a)?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})}),T(),F();var i=Ee();D(i,()=>({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",preserveAspectRatio:"xMidYMid meet",width:d(),height:d(),...t(m),...g}));var r=w(i);{var p=l=>{var c=Ae(),h=w(c,!0);M(c),R(()=>O(h,n())),_(l,c)};C(r,l=>{n()&&l(p)})}k(3),M(i),_(v,i),P()}function Se(v,o){E(o,!0);const e=ae("theme");let g=fe(o,["$$slots","$$events","$$legacy"]);ve(v,pe({get theme(){return e.current},class:"toaster group",style:"--normal-bg: var(--color-bg-elevated); --normal-text: var(--color-text-primary); --normal-border: var(--color-border-strong);"},()=>g,{loadingIcon:r=>{ge(r,{class:"size-4 animate-spin"})},successIcon:r=>{we(r,{class:"size-4"})},errorIcon:r=>{xe(r,{class:"size-4"})},infoIcon:r=>{ze(r,{class:"size-4"})},warningIcon:r=>{Pe(r,{class:"size-4"})},$$slots:{loadingIcon:!0,successIcon:!0,errorIcon:!0,infoIcon:!0,warningIcon:!0}})),P()}var Ze=ee('<div style="display: contents;"><!> <!></div>');function Ge(v,o){E(o,!0);const e=typeof localStorage<"u"?localStorage.getItem("theme"):null,g=typeof window<"u"&&window.matchMedia?.("(prefers-color-scheme: light)").matches?"light":"dark";let a=V(B(e||g));U("theme",{get current(){return t(a)},toggle(){s(a,t(a)==="dark"?"light":"dark",!0),localStorage.setItem("theme",t(a))}});const d=typeof localStorage<"u"?localStorage.getItem("chatMode"):null,n=typeof localStorage<"u"?localStorage.getItem("chatOpen"):null,i=d==="panel"||d==="full"?d:d==="closed"?"closed":n==="true"?"panel":"closed";let r=V(B(i)),p=V(B(i==="closed"?"panel":i));function l(){localStorage.setItem("chatMode",t(r))}U("chat",{get open(){return t(r)!=="closed"},get mode(){return t(r)},toggle(){s(r,t(r)==="closed"?t(p):"closed",!0),l()},close(){s(r,"closed"),l()},expand(){s(r,"full"),s(p,"full"),l()},collapse(){s(r,"panel"),s(p,"panel"),l()},sendPrompt(u){t(r)==="closed"&&(s(r,t(p),!0),l()),A(()=>import("../chunks/BU2bHQbQ.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url).then(b=>{b.chatStore.send(u),setTimeout(()=>b.chatStore.triggerScroll(),100)})}}),W(()=>{document.documentElement.setAttribute("data-theme",t(a))});let h=V(null);W(()=>{if(L.loading)return;const u=L.user?.email??(L.authEnabled?null:"__open__");u&&u!==t(h)&&(t(h)!==null&&ue.deselect(),s(h,u,!0),j.load(),me.load(),he.load(),G.connect()),!u&&t(h)&&(s(h,null),G.disconnect())}),re(async()=>{const u=window.location.pathname,b=u==="/login",S=u==="/setup",{authenticated:q,authEnabled:Q,needsSetup:X}=await L.checkAuth();if(X&&!S){N("/setup");return}if(Q&&!q&&!b){N("/login");return}if(q&&(b||S)){N("/");return}b||S||(A(()=>import("../chunks/BB_5th5W.js"),__vite__mapDeps([6,7,8]),import.meta.url).catch(()=>{}),Promise.all([A(()=>import("../chunks/CX_61fY8.js"),[],import.meta.url),A(()=>import("../chunks/DnL9f0lc.js").then(Z=>Z.i),__vite__mapDeps([9,10]),import.meta.url),A(()=>import("../chunks/CscoF-YL.js"),__vite__mapDeps([11,10,9,12,13,14]),import.meta.url),A(()=>import("../chunks/D7ZqAKi9.js"),__vite__mapDeps([12,13,10,9]),import.meta.url),A(()=>import("../chunks/C7VoTosa.js").then(Z=>Z.i),[],import.meta.url)]).catch(()=>{}),window.addEventListener("sg-theme-change",Z=>{s(a,Z.detail,!0)}))});var H=Ze();ce("12qhfyh",u=>{ie(()=>{ne.title=(j.name||"Studiograph")??""})});var Y=w(H);{var J=u=>{var b=te(),S=le(b);de(S,()=>o.children),_(u,b)};C(Y,u=>{L.loading||u(J)})}var K=oe(Y,2);Se(K,{}),M(H),R(()=>se(H,"data-theme",t(a))),_(v,H),P()}export{Ge as component};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as u,b as h,s}from"../chunks/b0XUoOIH.js";import{i as g}from"../chunks/vZ2iBqLE.js";import{p as l,a0 as v,t as d,b as _,c as e,r as o,a3 as x}from"../chunks/DSh-OF2y.js";import{s as b,p}from"../chunks/BAAbylyg.js";const $={get error(){return p.error},get status(){return p.status}};b.updated.check;const m=$;var k=h("<h1> </h1> <p> </p>",1);function y(i,c){l(c,!1),g();var t=k(),r=v(t),n=e(r,!0);o(r);var a=x(r,2),f=e(a,!0);o(a),d(()=>{s(n,m.status),s(f,m.error?.message)}),u(i,t),_()}export{y as component};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{g as H,a as w,t as J,s as $,b as I}from"../chunks/b0XUoOIH.js";import{p as K,t as q,b as M,ac as O,s as r,g as a,e as o,a3 as l,c as t,a4 as Q,ad as R,r as s,n as A}from"../chunks/DSh-OF2y.js";import{i as T}from"../chunks/DT3KtxWU.js";import{h as V}from"../chunks/B3NI-DOv.js";import{g as W}from"../chunks/BAAbylyg.js";import{a as B}from"../chunks/Sk0ODu4Y.js";import{w as X}from"../chunks/DSkxw4Ss.js";import{B as Z}from"../chunks/DQ5NTKSo.js";import{I as S}from"../chunks/APIqItee.js";var ee=I('<p class="error-msg svelte-g40i6i"> </p>'),ae=I('<div class="setup-page svelte-g40i6i"><div class="setup-card svelte-g40i6i"><div class="logo svelte-g40i6i"><div class="logo-icon svelte-g40i6i"> </div> <span class="logo-text svelte-g40i6i"> </span></div> <p class="subtitle svelte-g40i6i">Create your admin account to get started.</p> <form class="svelte-g40i6i"><label class="field svelte-g40i6i"><span class="field-label svelte-g40i6i">Name</span> <!></label> <label class="field svelte-g40i6i"><span class="field-label svelte-g40i6i">Email</span> <!></label> <label class="field svelte-g40i6i"><span class="field-label svelte-g40i6i">Password</span> <!> <span class="field-hint svelte-g40i6i">At least 8 characters</span></label> <!> <!></form></div></div>');function ve(P,D){K(D,!0);const n=Q(()=>B.workspaceName||"Studiograph");let u=o(""),v=o(""),d=o(""),p=o(""),c=o(!1);async function E(e){e.preventDefault(),r(p,""),r(c,!0);try{await B.setup(a(u),a(v),a(d)||void 0),X.load(),W("/")}catch(i){r(p,i.message||"Setup failed",!0)}finally{r(c,!1)}}var m=ae();V("g40i6i",e=>{O(()=>{R.title=`Setup — ${a(n)??""}`})});var k=t(m),f=t(k),g=t(f),L=t(g,!0);s(g);var C=l(g,2),U=t(C,!0);s(C),s(f);var b=l(f,4),_=t(b),Y=l(t(_),2);S(Y,{type:"text",placeholder:"Your name",autocomplete:"name",autofocus:!0,class:"field-input",get value(){return a(d)},set value(e){r(d,e,!0)}}),s(_);var h=l(_,2),j=l(t(h),2);S(j,{type:"email",required:!0,autocomplete:"email",class:"field-input",get value(){return a(u)},set value(e){r(u,e,!0)}}),s(h);var x=l(h,2),z=l(t(x),2);S(z,{type:"password",required:!0,minlength:8,autocomplete:"new-password",class:"field-input",get value(){return a(v)},set value(e){r(v,e,!0)}}),A(2),s(x);var N=l(x,2);{var F=e=>{var i=ee(),y=t(i,!0);s(i),q(()=>$(y,a(p))),w(e,i)};T(N,e=>{a(p)&&e(F)})}var G=l(N,2);Z(G,{variant:"accent",type:"submit",class:"submit-btn",get disabled(){return a(c)},children:(e,i)=>{A();var y=J("Create account");w(e,y)},$$slots:{default:!0}}),s(b),s(k),s(m),q(e=>{$(L,e),$(U,a(n))},[()=>a(n).charAt(0).toUpperCase()]),H("submit",b,E),w(P,m),M()}export{ve as component};
|