From 9f640eb6e3890821dc9cfeb93ecf6ed864a62e40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jochen=20G=C3=B6rtler?= Date: Wed, 14 Aug 2024 09:03:58 +0200 Subject: [PATCH] Updates --- ...gDrop.kWHAWbHZ.js => DragDrop.DrsYQdZS.js} | 2 +- .../{entry.BQpcBG5M.js => entry.HsvFxiBG.js} | 2 +- _app/immutable/chunks/paths.B5aGgwSW.js | 1 - _app/immutable/chunks/paths.DLRrBxZD.js | 1 + .../{app.DVTIYSLF.js => app.D27KFxI3.js} | 4 ++-- _app/immutable/entry/start.Bc0VqSzz.js | 1 + _app/immutable/entry/start.DEsa0TaM.js | 1 - .../nodes/{1.BxGL1vYq.js => 1.B7dARNxf.js} | 2 +- .../nodes/{10.DNqPh8K4.js => 10.D8nDJxrM.js} | 2 +- .../nodes/{2.BEoHl9X9.js => 2.DrugooI7.js} | 2 +- .../nodes/{4.CKPSMPo1.js => 4.D7c2y2Wi.js} | 2 +- .../nodes/{5.ANLKlyTa.js => 5.C95SeXDv.js} | 2 +- .../nodes/{6.a-2RWRKD.js => 6.Dzz8xCy8.js} | 2 +- .../nodes/{9.aMaZgWL7.js => 9.BVxZ7Iaj.js} | 2 +- _app/version.json | 2 +- example/dot/index.html | 24 +++++++++---------- example/lenet/index.html | 24 +++++++++---------- example/simple/index.html | 20 ++++++++-------- gallery/index.html | 22 ++++++++--------- getting-started/index.html | 20 ++++++++-------- index.html | 22 ++++++++--------- viewer/index.html | 20 ++++++++-------- 22 files changed, 90 insertions(+), 90 deletions(-) rename _app/immutable/chunks/{DragDrop.kWHAWbHZ.js => DragDrop.DrsYQdZS.js} (92%) rename _app/immutable/chunks/{entry.BQpcBG5M.js => entry.HsvFxiBG.js} (99%) delete mode 100644 _app/immutable/chunks/paths.B5aGgwSW.js create mode 100644 _app/immutable/chunks/paths.DLRrBxZD.js rename _app/immutable/entry/{app.DVTIYSLF.js => app.D27KFxI3.js} (90%) create mode 100644 _app/immutable/entry/start.Bc0VqSzz.js delete mode 100644 _app/immutable/entry/start.DEsa0TaM.js rename _app/immutable/nodes/{1.BxGL1vYq.js => 1.B7dARNxf.js} (91%) rename _app/immutable/nodes/{10.DNqPh8K4.js => 10.D8nDJxrM.js} (98%) rename _app/immutable/nodes/{2.BEoHl9X9.js => 2.DrugooI7.js} (94%) rename _app/immutable/nodes/{4.CKPSMPo1.js => 4.D7c2y2Wi.js} (97%) rename _app/immutable/nodes/{5.ANLKlyTa.js => 5.C95SeXDv.js} (93%) rename _app/immutable/nodes/{6.a-2RWRKD.js => 6.Dzz8xCy8.js} (93%) rename _app/immutable/nodes/{9.aMaZgWL7.js => 9.BVxZ7Iaj.js} (99%) diff --git a/_app/immutable/chunks/DragDrop.kWHAWbHZ.js b/_app/immutable/chunks/DragDrop.DrsYQdZS.js similarity index 92% rename from _app/immutable/chunks/DragDrop.kWHAWbHZ.js rename to _app/immutable/chunks/DragDrop.DrsYQdZS.js index 68fef55..f19da4f 100644 --- a/_app/immutable/chunks/DragDrop.kWHAWbHZ.js +++ b/_app/immutable/chunks/DragDrop.DrsYQdZS.js @@ -1 +1 @@ -import{s as g,k as b,e as D,c as w,b as v,f as c,h as d,y as h,i as A,z as m,u as k,l as y,m as T,A as W}from"./scheduler.BZf3Antt.js";import{S as E,i as z,t as F,b as S}from"./index.C7bWdOrd.js";import{b as $}from"./paths.B5aGgwSW.js";import{g as q}from"./entry.BQpcBG5M.js";import{v as p}from"./stores.BEpXIDt_.js";function B(r){let e,s,f,u;const l=r[4].default,t=b(l,r,r[3],null);return{c(){e=D("div"),t&&t.c(),this.h()},l(a){e=w(a,"DIV",{role:!0,tabindex:!0,"aria-label":!0,class:!0});var n=v(e);t&&t.l(n),n.forEach(c),this.h()},h(){d(e,"role","button"),d(e,"tabindex","0"),d(e,"aria-label","dropzone"),d(e,"class","grow"),h(e,"blur",r[0])},m(a,n){A(a,e,n),t&&t.m(e,null),s=!0,f||(u=[m(e,"dragenter",r[1]),m(e,"dragover",r[1]),m(e,"dragleave",r[5]),m(e,"drop",r[2])],f=!0)},p(a,[n]){t&&t.p&&(!s||n&8)&&k(t,l,a,a[3],s?T(l,a[3],n,null):y(a[3]),null),(!s||n&1)&&h(e,"blur",a[0])},i(a){s||(F(t,a),s=!0)},o(a){S(t,a),s=!1},d(a){a&&c(e),t&&t.d(a),f=!1,W(u)}}}function C(r,e,s){let{$$slots:f={},$$scope:u}=e,l=!1;function t(o){s(0,l=!0),o.preventDefault()}function a(o){s(0,l=!1);const _=new FileReader;if(o.dataTransfer!==null){const i=o.dataTransfer.files[0];if(_.onloadend=async function(){i.name.endsWith(".onnx")?p.set({kind:"onnx",data:new Uint8Array(this.result)}):i.name.endsWith(".dot")&&p.set({kind:"dot",data:this.result}),await q(`${$}/viewer`)},i.name.endsWith(".onnx"))_.readAsArrayBuffer(i);else if(i.name.endsWith(".dot"))_.readAsText(i);else throw new Error(`unknown extension: ${i.name}`)}s(0,l=!1),o.preventDefault()}const n=()=>s(0,l=!1);return r.$$set=o=>{"$$scope"in o&&s(3,u=o.$$scope)},[l,t,a,u,f,n]}class G extends E{constructor(e){super(),z(this,e,C,B,g,{})}}export{G as D}; +import{s as g,k as b,e as D,c as w,b as v,f as c,h as d,y as h,i as A,z as m,u as k,l as y,m as T,A as W}from"./scheduler.BZf3Antt.js";import{S as E,i as z,t as F,b as S}from"./index.C7bWdOrd.js";import{b as $}from"./paths.DLRrBxZD.js";import{g as q}from"./entry.HsvFxiBG.js";import{v as p}from"./stores.BEpXIDt_.js";function B(r){let e,s,f,u;const l=r[4].default,t=b(l,r,r[3],null);return{c(){e=D("div"),t&&t.c(),this.h()},l(a){e=w(a,"DIV",{role:!0,tabindex:!0,"aria-label":!0,class:!0});var n=v(e);t&&t.l(n),n.forEach(c),this.h()},h(){d(e,"role","button"),d(e,"tabindex","0"),d(e,"aria-label","dropzone"),d(e,"class","grow"),h(e,"blur",r[0])},m(a,n){A(a,e,n),t&&t.m(e,null),s=!0,f||(u=[m(e,"dragenter",r[1]),m(e,"dragover",r[1]),m(e,"dragleave",r[5]),m(e,"drop",r[2])],f=!0)},p(a,[n]){t&&t.p&&(!s||n&8)&&k(t,l,a,a[3],s?T(l,a[3],n,null):y(a[3]),null),(!s||n&1)&&h(e,"blur",a[0])},i(a){s||(F(t,a),s=!0)},o(a){S(t,a),s=!1},d(a){a&&c(e),t&&t.d(a),f=!1,W(u)}}}function C(r,e,s){let{$$slots:f={},$$scope:u}=e,l=!1;function t(o){s(0,l=!0),o.preventDefault()}function a(o){s(0,l=!1);const _=new FileReader;if(o.dataTransfer!==null){const i=o.dataTransfer.files[0];if(_.onloadend=async function(){i.name.endsWith(".onnx")?p.set({kind:"onnx",data:new Uint8Array(this.result)}):i.name.endsWith(".dot")&&p.set({kind:"dot",data:this.result}),await q(`${$}/viewer`)},i.name.endsWith(".onnx"))_.readAsArrayBuffer(i);else if(i.name.endsWith(".dot"))_.readAsText(i);else throw new Error(`unknown extension: ${i.name}`)}s(0,l=!1),o.preventDefault()}const n=()=>s(0,l=!1);return r.$$set=o=>{"$$scope"in o&&s(3,u=o.$$scope)},[l,t,a,u,f,n]}class G extends E{constructor(e){super(),z(this,e,C,B,g,{})}}export{G as D}; diff --git a/_app/immutable/chunks/entry.BQpcBG5M.js b/_app/immutable/chunks/entry.HsvFxiBG.js similarity index 99% rename from _app/immutable/chunks/entry.BQpcBG5M.js rename to _app/immutable/chunks/entry.HsvFxiBG.js index 21d251d..73c2017 100644 --- a/_app/immutable/chunks/entry.BQpcBG5M.js +++ b/_app/immutable/chunks/entry.HsvFxiBG.js @@ -1,3 +1,3 @@ -import{O as rt}from"./scheduler.BZf3Antt.js";import{w as pe}from"./index.DrtbdpeK.js";import{a as at,b as I}from"./paths.B5aGgwSW.js";new URL("sveltekit-internal://");function ot(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function st(e){return e.split("%25").map(decodeURI).join("%25")}function it(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function ce({href:e}){return e.split("#")[0]}const ct=["href","pathname","search","toString","toJSON"];function lt(e,t,n){const r=new URL(e);Object.defineProperty(r,"searchParams",{value:new Proxy(r.searchParams,{get(a,o){if(o==="get"||o==="getAll"||o==="has")return s=>(n(s),a[o](s));t();const i=Reflect.get(a,o);return typeof i=="function"?i.bind(a):i}}),enumerable:!0,configurable:!0});for(const a of ct)Object.defineProperty(r,a,{get(){return t(),e[a]},enumerable:!0,configurable:!0});return r}const ft="/__data.json",ut=".html__data.json";function dt(e){return e.endsWith(".html")?e.replace(/\.html$/,ut):e.replace(/\/$/,"")+ft}function ht(...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)}function pt(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&F.delete(ge(e)),Ne(e,t));const F=new Map;function gt(e,t){const n=ge(e,t),r=document.querySelector(n);if(r?.textContent){let{body:a,...o}=JSON.parse(r.textContent);const i=r.getAttribute("data-ttl");return i&&F.set(n,{body:a,init:o,ttl:1e3*Number(i)}),r.getAttribute("data-b64")!==null&&(a=pt(a)),Promise.resolve(new Response(a,o))}return window.fetch(e,t)}function _t(e,t,n){if(F.size>0){const r=ge(e,n),a=F.get(r);if(a){if(performance.now(){const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return t.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const o=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(o)return t.push({name:o[1],matcher:o[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const i=r.split(/\[(.+?)\](?!\])/);return"/"+i.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return le(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return le(String.fromCharCode(...c.slice(2).split("-").map(g=>parseInt(g,16))));const d=mt.exec(c),[,h,u,f,p]=d;return t.push({name:f,matcher:p,optional:!!h,rest:!!u,chained:u?l===1&&i[0]==="":!1}),u?"(.*?)":h?"([^/]*)?":"([^/]+?)"}return le(c)}).join("")}).join("")}/?$`),params:t}}function wt(e){return!/^\([^)]+\)$/.test(e)}function vt(e){return e.slice(1).split("/").filter(wt)}function bt(e,t,n){const r={},a=e.slice(1),o=a.filter(s=>s!==void 0);let i=0;for(let s=0;sd).join("/"),i=0),l===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||n[c.matcher](l)){r[c.name]=l;const d=t[s+1],h=a[s+1];d&&!d.rest&&d.optional&&h&&c.chained&&(i=0),!d&&!h&&Object.keys(r).length===o.length&&(i=0);continue}if(c.optional&&c.chained){i++;continue}return}if(!i)return r}function le(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Et({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([s,[c,l,d]])=>{const{pattern:h,params:u}=yt(s),f={id:s,exec:p=>{const g=h.exec(p);if(g)return bt(g,u,r)},errors:[1,...d||[]].map(p=>e[p]),layouts:[0,...l||[]].map(i),leaf:o(c)};return f.errors.length=f.layouts.length=Math.max(f.errors.length,f.layouts.length),f});function o(s){const c=s<0;return c&&(s=~s),[c,e[s]]}function i(s){return s===void 0?s:[a.has(s),e[s]]}}function Oe(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function Ae(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}const kt="1723618354843",je="sveltekit:snapshot",De="sveltekit:scroll",$e="sveltekit:states",St="sveltekit:pageurl",O="sveltekit:history",G="sveltekit:navigation",J={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},B=location.origin;function Ce(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 _e(){return{x:pageXOffset,y:pageYOffset}}function x(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const Re={...J,"":J.hover};function Ve(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function Fe(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=Ve(e)}}function ue(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const r=e instanceof SVGAElement?e.target.baseVal:e.target,a=!n||!!r||ne(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),o=n?.origin===B&&e.hasAttribute("download");return{url:n,external:a,target:r,download:o}}function W(e){let t=null,n=null,r=null,a=null,o=null,i=null,s=e;for(;s&&s!==document.documentElement;)r===null&&(r=x(s,"preload-code")),a===null&&(a=x(s,"preload-data")),t===null&&(t=x(s,"keepfocus")),n===null&&(n=x(s,"noscroll")),o===null&&(o=x(s,"reload")),i===null&&(i=x(s,"replacestate")),s=Ve(s);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Re[r??"off"],preload_data:Re[a??"off"],keepfocus:c(t),noscroll:c(n),reload:c(o),replace_state:c(i)}}function Ie(e){const t=pe(e);let n=!0;function r(){n=!0,t.update(i=>i)}function a(i){n=!1,t.set(i)}function o(i){let s;return t.subscribe(c=>{(s===void 0||n&&c!==s)&&i(s=c)})}return{notify:r,set:a,subscribe:o}}function At(){const{set:e,subscribe:t}=pe(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${at}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const i=(await a.json()).version!==kt;return i&&(e(!0),clearTimeout(n)),i}catch{return!1}}return{subscribe:t,check:r}}function ne(e,t){return e.origin!==B||!e.pathname.startsWith(t)}const Rt=-1,It=-2,Lt=-3,Pt=-4,Tt=-5,Ut=-6;function xt(e,t){if(typeof e=="number")return a(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function a(o,i=!1){if(o===Rt)return;if(o===Lt)return NaN;if(o===Pt)return 1/0;if(o===Tt)return-1/0;if(o===Ut)return-0;if(i)throw new Error("Invalid input");if(o in r)return r[o];const s=n[o];if(!s||typeof s!="object")r[o]=s;else if(Array.isArray(s))if(typeof s[0]=="string"){const c=s[0],l=t?.[c];if(l)return r[o]=l(a(s[1]));switch(c){case"Date":r[o]=new Date(s[1]);break;case"Set":const d=new Set;r[o]=d;for(let f=1;ft!=null)}class re{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 Ge{constructor(t,n){this.status=t,this.location=n}}class me extends Error{constructor(t,n,r){super(r),this.status=t,this.text=n}}const jt="x-sveltekit-invalidated",Dt="x-sveltekit-trailing-slash";function z(e){return e instanceof re||e instanceof me?e.status:500}function $t(e){return e instanceof me?e.text:"Internal Error"}const U=Oe(De)??{},M=Oe(je)??{},T={url:Ie({}),page:Ie({}),navigating:pe(null),updated:At()};function ye(e){U[e]=_e()}function Ct(e,t){let n=e+1;for(;U[n];)delete U[n],n+=1;for(n=t+1;M[n];)delete M[n],n+=1}function D(e){return location.href=e.href,new Promise(()=>{})}function Le(){}let ae,de,X,L,he,$;const Me=[],Z=[];let P=null;const He=[],Vt=[];let N=[],m={branch:[],error:null,url:null},we=!1,Q=!1,Pe=!0,H=!1,V=!1,Be=!1,ve=!1,be,v,A,S,ee;const q=new Set;async function Zt(e,t,n){document.URL!==location.href&&(location.href=location.href),$=e,ae=Et(e),L=document.documentElement,he=t,de=e.nodes[0],X=e.nodes[1],de(),X(),v=history.state?.[O],A=history.state?.[G],v||(v=A=Date.now(),history.replaceState({...history.state,[O]:v,[G]:A},""));const r=U[v];r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y)),n?await Yt(he,n):Bt(location.href,{replaceState:!0}),Kt()}function Ft(){Me.length=0,ve=!1}function Ke(e){Z.some(t=>t?.snapshot)&&(M[e]=Z.map(t=>t?.snapshot?.capture()))}function Ye(e){M[e]?.forEach((t,n)=>{Z[n]?.snapshot?.restore(t)})}function Te(){ye(v),Ae(De,U),Ke(A),Ae(je,M)}async function Je(e,t,n,r){return Y({type:"goto",url:Ce(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:r,accept:()=>{t.invalidateAll&&(ve=!0)}})}async function qt(e){if(e.id!==P?.id){const t={};q.add(t),P={id:e.id,token:t,promise:ze({...e,preload:t}).then(n=>(q.delete(t),n.type==="loaded"&&n.state.error&&(P=null),n))}}return P.promise}async function fe(e){const t=ae.find(n=>n.exec(Xe(e)));t&&await Promise.all([...t.layouts,t.leaf].map(n=>n?.[1]()))}function We(e,t,n){m=e.state;const r=document.querySelector("style[data-sveltekit]");r&&r.remove(),S=e.props.page,be=new $.root({target:t,props:{...e.props,stores:T,components:Z},hydrate:n}),Ye(A);const a={from:null,to:{params:m.params,route:{id:m.route?.id??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};N.forEach(o=>o(a)),Q=!0}function te({url:e,params:t,branch:n,status:r,error:a,route:o,form:i}){let s="never";if(I&&(e.pathname===I||e.pathname===I+"/"))s="always";else for(const f of n)f?.slash!==void 0&&(s=f.slash);e.pathname=ot(e.pathname,s),e.search=e.search;const c={type:"loaded",state:{url:e,params:t,branch:n,error:a,route:o},props:{constructors:Ot(n).map(f=>f.node.component),page:S}};i!==void 0&&(c.props.form=i);let l={},d=!S,h=0;for(let f=0;f(s&&(c.route=!0),u[f])}),params:new Proxy(r,{get:(u,f)=>(s&&c.params.add(f),u[f])}),data:o?.data??null,url:lt(n,()=>{s&&(c.url=!0)},u=>{s&&c.search_params.add(u)}),async fetch(u,f){let p;u instanceof Request?(p=u.url,f={body:u.method==="GET"||u.method==="HEAD"?void 0:await u.blob(),cache:u.cache,credentials:u.credentials,headers:u.headers,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}):p=u;const g=new URL(p,n);return s&&d(g.href),g.origin===n.origin&&(p=g.href.slice(n.origin.length)),Q?_t(p,g.href,f):gt(p,f)},setHeaders:()=>{},depends:d,parent(){return s&&(c.parent=!0),t()},untrack(u){s=!1;try{return u()}finally{s=!0}}};i=await l.universal.load.call(null,h)??null}return{node:l,loader:e,server:o,universal:l.universal?.load?{type:"data",data:i,uses:c}:null,data:i??o?.data??null,slash:l.universal?.trailingSlash??o?.slash}}function Ue(e,t,n,r,a,o){if(ve)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(o[i]!==m.params[i])return!0;for(const i of a.dependencies)if(Me.some(s=>s(new URL(i))))return!0;return!1}function ke(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function Gt(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),o=t.searchParams.getAll(r);a.every(i=>o.includes(i))&&o.every(i=>a.includes(i))&&n.delete(r)}return n}function xe({error:e,url:t,route:n,params:r}){return{type:"loaded",state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:S,constructors:[]}}}async function ze({id:e,invalidating:t,url:n,params:r,route:a,preload:o}){if(P?.id===e)return q.delete(P.token),P.promise;const{errors:i,layouts:s,leaf:c}=a,l=[...s,c];i.forEach(_=>_?.().catch(()=>{})),l.forEach(_=>_?.[1]().catch(()=>{}));let d=null;const h=m.url?e!==m.url.pathname+m.url.search:!1,u=m.route?a.id!==m.route.id:!1,f=Gt(m.url,n);let p=!1;const g=l.map((_,y)=>{const k=m.branch[y],b=!!_?.[0]&&(k?.loader!==_[1]||Ue(p,u,h,f,k.server?.uses,r));return b&&(p=!0),b});if(g.some(Boolean)){try{d=await et(n,g)}catch(_){const y=await j(_,{url:n,params:r,route:{id:e}});return q.has(o)?xe({error:y,url:n,params:r,route:a}):oe({status:z(_),error:y,url:n,route:a})}if(d.type==="redirect")return d}const R=d?.nodes;let E=!1;const C=l.map(async(_,y)=>{if(!_)return;const k=m.branch[y],b=R?.[y];if((!b||b.type==="skip")&&_[1]===k?.loader&&!Ue(E,u,h,f,k.universal?.uses,r))return k;if(E=!0,b?.type==="error")throw b;return Ee({loader:_[1],url:n,params:r,route:a,parent:async()=>{const se={};for(let ie=0;ie{});const w=[];for(let _=0;_Promise.resolve({}),server_data_node:ke(o)}),c={node:await X(),loader:X,universal:null,server:null,data:null};return te({url:n,params:a,branch:[s,c],status:e,error:t,route:null})}function Se(e,t){if(!e||ne(e,I))return;let n;try{n=$.hooks.reroute({url:new URL(e)})??e.pathname}catch{return}const r=Xe(n);for(const a of ae){const o=a.exec(r);if(o)return{id:e.pathname+e.search,invalidating:t,route:a,params:it(o),url:e}}}function Xe(e){return st(e.slice(I.length)||"/")}function Ze({url:e,type:t,intent:n,delta:r}){let a=!1;const o=nt(m,n,e,t);r!==void 0&&(o.navigation.delta=r);const i={...o.navigation,cancel:()=>{a=!0,o.reject(new Error("navigation cancelled"))}};return H||He.forEach(s=>s(i)),a?null:o}async function Y({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:o,state:i={},redirect_count:s=0,nav_token:c={},accept:l=Le,block:d=Le}){const h=Se(t,!1),u=Ze({url:t,type:e,delta:n?.delta,intent:h});if(!u){d();return}const f=v,p=A;l(),H=!0,Q&&T.navigating.set(u.navigation),ee=c;let g=h&&await ze(h);if(!g){if(ne(t,I))return await D(t);g=await Qe(t,{id:null},await j(new me(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404)}if(t=h?.url||t,ee!==c)return u.reject(new Error("navigation aborted")),!1;if(g.type==="redirect")if(s>=20)g=await oe({status:500,error:await j(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}});else return Je(new URL(g.location,t).href,{},s+1,c),!1;else g.props.page.status>=400&&await T.updated.check()&&await D(t);if(Ft(),ye(f),Ke(p),g.props.page.url.pathname!==t.pathname&&(t.pathname=g.props.page.url.pathname),i=n?n.state:i,!n){const w=o?0:1,_={[O]:v+=w,[G]:A+=w,[$e]:i};(o?history.replaceState:history.pushState).call(history,_,"",t),o||Ct(v,A)}if(P=null,g.props.page.state=i,Q){m=g.state,g.props.page&&(g.props.page.url=t);const w=(await Promise.all(Vt.map(_=>_(u.navigation)))).filter(_=>typeof _=="function");if(w.length>0){let _=function(){N=N.filter(y=>!w.includes(y))};w.push(_),N.push(...w)}be.$set(g.props),Be=!0}else We(g,he,!1);const{activeElement:R}=document;await rt();const E=n?n.scroll:a?_e():null;if(Pe){const w=t.hash&&document.getElementById(decodeURIComponent(t.hash.slice(1)));E?scrollTo(E.x,E.y):w?w.scrollIntoView():scrollTo(0,0)}const C=document.activeElement!==R&&document.activeElement!==document.body;!r&&!C&&Jt(),Pe=!0,g.props.page&&(S=g.props.page),H=!1,e==="popstate"&&Ye(A),u.fulfil(void 0),N.forEach(w=>w(u.navigation)),T.navigating.set(null)}async function Qe(e,t,n,r){return e.origin===B&&e.pathname===location.pathname&&!we?await oe({status:r,error:n,url:e,route:t}):await D(e)}function Ht(){let e;L.addEventListener("mousemove",o=>{const i=o.target;clearTimeout(e),e=setTimeout(()=>{r(i,2)},20)});function t(o){r(o.composedPath()[0],1)}L.addEventListener("mousedown",t),L.addEventListener("touchstart",t,{passive:!0});const n=new IntersectionObserver(o=>{for(const i of o)i.isIntersecting&&(fe(i.target.href),n.unobserve(i.target))},{threshold:0});function r(o,i){const s=Fe(o,L);if(!s)return;const{url:c,external:l,download:d}=ue(s,I);if(l||d)return;const h=W(s);if(!h.reload)if(i<=h.preload_data){const u=Se(c,!1);u&&qt(u)}else i<=h.preload_code&&fe(c.pathname)}function a(){n.disconnect();for(const o of L.querySelectorAll("a")){const{url:i,external:s,download:c}=ue(o,I);if(s||c)continue;const l=W(o);l.reload||(l.preload_code===J.viewport&&n.observe(o),l.preload_code===J.eager&&fe(i.pathname))}}N.push(a),a()}function j(e,t){if(e instanceof re)return e.body;const n=z(e),r=$t(e);return $.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function Bt(e,t={}){return e=Ce(e),e.origin!==B?Promise.reject(new Error("goto: invalid URL")):Je(e,t,0)}function Kt(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if(Te(),!H){const r=nt(m,void 0,null,"leave"),a={...r.navigation,cancel:()=>{n=!0,r.reject(new Error("navigation cancelled"))}};He.forEach(o=>o(a))}n?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Te()}),navigator.connection?.saveData||Ht(),L.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const n=Fe(t.composedPath()[0],L);if(!n)return;const{url:r,external:a,target:o,download:i}=ue(n,I);if(!r)return;if(o==="_parent"||o==="_top"){if(window.parent!==window)return}else if(o&&o!=="_self")return;const s=W(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||i)return;if(a||s.reload){Ze({url:r,type:"link"})?H=!0:t.preventDefault();return}const[l,d]=r.href.split("#");if(d!==void 0&&l===ce(location)){const[,h]=m.url.href.split("#");if(h===d){t.preventDefault(),d===""||d==="top"&&n.ownerDocument.getElementById("top")===null?window.scrollTo({top:0}):n.ownerDocument.getElementById(d)?.scrollIntoView();return}if(V=!0,ye(v),e(r),!s.replace_state)return;V=!1}t.preventDefault(),await new Promise(h=>{requestAnimationFrame(()=>{setTimeout(h,0)}),setTimeout(h,100)}),Y({type:"link",url:r,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.replace_state??r.href===location.href})}),L.addEventListener("submit",t=>{if(t.defaultPrevented)return;const n=HTMLFormElement.prototype.cloneNode.call(t.target),r=t.submitter;if((r?.formMethod||n.method)!=="get")return;const o=new URL(r?.hasAttribute("formaction")&&r?.formAction||n.action);if(ne(o,I))return;const i=t.target,s=W(i);if(s.reload)return;t.preventDefault(),t.stopPropagation();const c=new FormData(i),l=r?.getAttribute("name");l&&c.append(l,r?.getAttribute("value")??""),o.search=new URLSearchParams(c).toString(),Y({type:"form",url:o,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.replace_state??o.href===location.href})}),addEventListener("popstate",async t=>{if(t.state?.[O]){const n=t.state[O];if(ee={},n===v)return;const r=U[n],a=t.state[$e]??{},o=new URL(t.state[St]??location.href),i=t.state[G],s=ce(location)===ce(m.url);if(i===A&&(Be||s)){e(o),U[v]=_e(),r&&scrollTo(r.x,r.y),a!==S.state&&(S={...S,state:a},be.$set({page:S})),v=n;return}const l=n-v;await Y({type:"popstate",url:o,popped:{state:a,scroll:r,delta:l},accept:()=>{v=n,A=i},block:()=>{history.go(-l)},nav_token:ee})}else if(!V){const n=new URL(location.href);e(n)}}),addEventListener("hashchange",()=>{V&&(V=!1,history.replaceState({...history.state,[O]:++v,[G]:A},"",location.href))});for(const t of document.querySelectorAll("link"))t.rel==="icon"&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&T.navigating.set(null)});function e(t){m.url=t,T.page.set({...S,url:t}),T.page.notify()}}async function Yt(e,{status:t=200,error:n,node_ids:r,params:a,route:o,data:i,form:s}){we=!0;const c=new URL(location.href);({params:a={},route:o={id:null}}=Se(c,!1)||{});let l;try{const d=r.map(async(f,p)=>{const g=i[p];return g?.uses&&(g.uses=tt(g.uses)),Ee({loader:$.nodes[f],url:c,params:a,route:o,parent:async()=>{const R={};for(let E=0;Ef===o.id);if(u){const f=u.layouts;for(let p=0;pa?"1":"0").join(""));const r=await Ne(n.href);if(!r.ok){let a;throw r.headers.get("content-type")?.includes("application/json")?a=await r.json():r.status===404?a="Not Found":r.status===500&&(a="Internal Error"),new re(r.status,a)}return new Promise(async a=>{const o=new Map,i=r.body.getReader(),s=new TextDecoder;function c(d){return xt(d,{Promise:h=>new Promise((u,f)=>{o.set(h,{fulfil:u,reject:f})})})}let l="";for(;;){const{done:d,value:h}=await i.read();if(d&&!l)break;for(l+=!h&&l?` +import{O as rt}from"./scheduler.BZf3Antt.js";import{w as pe}from"./index.DrtbdpeK.js";import{a as at,b as I}from"./paths.DLRrBxZD.js";new URL("sveltekit-internal://");function ot(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function st(e){return e.split("%25").map(decodeURI).join("%25")}function it(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function ce({href:e}){return e.split("#")[0]}const ct=["href","pathname","search","toString","toJSON"];function lt(e,t,n){const r=new URL(e);Object.defineProperty(r,"searchParams",{value:new Proxy(r.searchParams,{get(a,o){if(o==="get"||o==="getAll"||o==="has")return s=>(n(s),a[o](s));t();const i=Reflect.get(a,o);return typeof i=="function"?i.bind(a):i}}),enumerable:!0,configurable:!0});for(const a of ct)Object.defineProperty(r,a,{get(){return t(),e[a]},enumerable:!0,configurable:!0});return r}const ft="/__data.json",ut=".html__data.json";function dt(e){return e.endsWith(".html")?e.replace(/\.html$/,ut):e.replace(/\/$/,"")+ft}function ht(...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)}function pt(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&F.delete(ge(e)),Ne(e,t));const F=new Map;function gt(e,t){const n=ge(e,t),r=document.querySelector(n);if(r?.textContent){let{body:a,...o}=JSON.parse(r.textContent);const i=r.getAttribute("data-ttl");return i&&F.set(n,{body:a,init:o,ttl:1e3*Number(i)}),r.getAttribute("data-b64")!==null&&(a=pt(a)),Promise.resolve(new Response(a,o))}return window.fetch(e,t)}function _t(e,t,n){if(F.size>0){const r=ge(e,n),a=F.get(r);if(a){if(performance.now(){const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return t.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const o=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(o)return t.push({name:o[1],matcher:o[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const i=r.split(/\[(.+?)\](?!\])/);return"/"+i.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return le(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return le(String.fromCharCode(...c.slice(2).split("-").map(g=>parseInt(g,16))));const d=mt.exec(c),[,h,u,f,p]=d;return t.push({name:f,matcher:p,optional:!!h,rest:!!u,chained:u?l===1&&i[0]==="":!1}),u?"(.*?)":h?"([^/]*)?":"([^/]+?)"}return le(c)}).join("")}).join("")}/?$`),params:t}}function wt(e){return!/^\([^)]+\)$/.test(e)}function vt(e){return e.slice(1).split("/").filter(wt)}function bt(e,t,n){const r={},a=e.slice(1),o=a.filter(s=>s!==void 0);let i=0;for(let s=0;sd).join("/"),i=0),l===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||n[c.matcher](l)){r[c.name]=l;const d=t[s+1],h=a[s+1];d&&!d.rest&&d.optional&&h&&c.chained&&(i=0),!d&&!h&&Object.keys(r).length===o.length&&(i=0);continue}if(c.optional&&c.chained){i++;continue}return}if(!i)return r}function le(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Et({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([s,[c,l,d]])=>{const{pattern:h,params:u}=yt(s),f={id:s,exec:p=>{const g=h.exec(p);if(g)return bt(g,u,r)},errors:[1,...d||[]].map(p=>e[p]),layouts:[0,...l||[]].map(i),leaf:o(c)};return f.errors.length=f.layouts.length=Math.max(f.errors.length,f.layouts.length),f});function o(s){const c=s<0;return c&&(s=~s),[c,e[s]]}function i(s){return s===void 0?s:[a.has(s),e[s]]}}function Oe(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function Ae(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}const kt="1723619025897",je="sveltekit:snapshot",De="sveltekit:scroll",$e="sveltekit:states",St="sveltekit:pageurl",O="sveltekit:history",G="sveltekit:navigation",J={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},B=location.origin;function Ce(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 _e(){return{x:pageXOffset,y:pageYOffset}}function x(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const Re={...J,"":J.hover};function Ve(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function Fe(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=Ve(e)}}function ue(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const r=e instanceof SVGAElement?e.target.baseVal:e.target,a=!n||!!r||ne(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),o=n?.origin===B&&e.hasAttribute("download");return{url:n,external:a,target:r,download:o}}function W(e){let t=null,n=null,r=null,a=null,o=null,i=null,s=e;for(;s&&s!==document.documentElement;)r===null&&(r=x(s,"preload-code")),a===null&&(a=x(s,"preload-data")),t===null&&(t=x(s,"keepfocus")),n===null&&(n=x(s,"noscroll")),o===null&&(o=x(s,"reload")),i===null&&(i=x(s,"replacestate")),s=Ve(s);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Re[r??"off"],preload_data:Re[a??"off"],keepfocus:c(t),noscroll:c(n),reload:c(o),replace_state:c(i)}}function Ie(e){const t=pe(e);let n=!0;function r(){n=!0,t.update(i=>i)}function a(i){n=!1,t.set(i)}function o(i){let s;return t.subscribe(c=>{(s===void 0||n&&c!==s)&&i(s=c)})}return{notify:r,set:a,subscribe:o}}function At(){const{set:e,subscribe:t}=pe(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${at}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const i=(await a.json()).version!==kt;return i&&(e(!0),clearTimeout(n)),i}catch{return!1}}return{subscribe:t,check:r}}function ne(e,t){return e.origin!==B||!e.pathname.startsWith(t)}const Rt=-1,It=-2,Lt=-3,Pt=-4,Tt=-5,Ut=-6;function xt(e,t){if(typeof e=="number")return a(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function a(o,i=!1){if(o===Rt)return;if(o===Lt)return NaN;if(o===Pt)return 1/0;if(o===Tt)return-1/0;if(o===Ut)return-0;if(i)throw new Error("Invalid input");if(o in r)return r[o];const s=n[o];if(!s||typeof s!="object")r[o]=s;else if(Array.isArray(s))if(typeof s[0]=="string"){const c=s[0],l=t?.[c];if(l)return r[o]=l(a(s[1]));switch(c){case"Date":r[o]=new Date(s[1]);break;case"Set":const d=new Set;r[o]=d;for(let f=1;ft!=null)}class re{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 Ge{constructor(t,n){this.status=t,this.location=n}}class me extends Error{constructor(t,n,r){super(r),this.status=t,this.text=n}}const jt="x-sveltekit-invalidated",Dt="x-sveltekit-trailing-slash";function z(e){return e instanceof re||e instanceof me?e.status:500}function $t(e){return e instanceof me?e.text:"Internal Error"}const U=Oe(De)??{},M=Oe(je)??{},T={url:Ie({}),page:Ie({}),navigating:pe(null),updated:At()};function ye(e){U[e]=_e()}function Ct(e,t){let n=e+1;for(;U[n];)delete U[n],n+=1;for(n=t+1;M[n];)delete M[n],n+=1}function D(e){return location.href=e.href,new Promise(()=>{})}function Le(){}let ae,de,X,L,he,$;const Me=[],Z=[];let P=null;const He=[],Vt=[];let N=[],m={branch:[],error:null,url:null},we=!1,Q=!1,Pe=!0,H=!1,V=!1,Be=!1,ve=!1,be,v,A,S,ee;const q=new Set;async function Zt(e,t,n){document.URL!==location.href&&(location.href=location.href),$=e,ae=Et(e),L=document.documentElement,he=t,de=e.nodes[0],X=e.nodes[1],de(),X(),v=history.state?.[O],A=history.state?.[G],v||(v=A=Date.now(),history.replaceState({...history.state,[O]:v,[G]:A},""));const r=U[v];r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y)),n?await Yt(he,n):Bt(location.href,{replaceState:!0}),Kt()}function Ft(){Me.length=0,ve=!1}function Ke(e){Z.some(t=>t?.snapshot)&&(M[e]=Z.map(t=>t?.snapshot?.capture()))}function Ye(e){M[e]?.forEach((t,n)=>{Z[n]?.snapshot?.restore(t)})}function Te(){ye(v),Ae(De,U),Ke(A),Ae(je,M)}async function Je(e,t,n,r){return Y({type:"goto",url:Ce(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:r,accept:()=>{t.invalidateAll&&(ve=!0)}})}async function qt(e){if(e.id!==P?.id){const t={};q.add(t),P={id:e.id,token:t,promise:ze({...e,preload:t}).then(n=>(q.delete(t),n.type==="loaded"&&n.state.error&&(P=null),n))}}return P.promise}async function fe(e){const t=ae.find(n=>n.exec(Xe(e)));t&&await Promise.all([...t.layouts,t.leaf].map(n=>n?.[1]()))}function We(e,t,n){m=e.state;const r=document.querySelector("style[data-sveltekit]");r&&r.remove(),S=e.props.page,be=new $.root({target:t,props:{...e.props,stores:T,components:Z},hydrate:n}),Ye(A);const a={from:null,to:{params:m.params,route:{id:m.route?.id??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};N.forEach(o=>o(a)),Q=!0}function te({url:e,params:t,branch:n,status:r,error:a,route:o,form:i}){let s="never";if(I&&(e.pathname===I||e.pathname===I+"/"))s="always";else for(const f of n)f?.slash!==void 0&&(s=f.slash);e.pathname=ot(e.pathname,s),e.search=e.search;const c={type:"loaded",state:{url:e,params:t,branch:n,error:a,route:o},props:{constructors:Ot(n).map(f=>f.node.component),page:S}};i!==void 0&&(c.props.form=i);let l={},d=!S,h=0;for(let f=0;f(s&&(c.route=!0),u[f])}),params:new Proxy(r,{get:(u,f)=>(s&&c.params.add(f),u[f])}),data:o?.data??null,url:lt(n,()=>{s&&(c.url=!0)},u=>{s&&c.search_params.add(u)}),async fetch(u,f){let p;u instanceof Request?(p=u.url,f={body:u.method==="GET"||u.method==="HEAD"?void 0:await u.blob(),cache:u.cache,credentials:u.credentials,headers:u.headers,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}):p=u;const g=new URL(p,n);return s&&d(g.href),g.origin===n.origin&&(p=g.href.slice(n.origin.length)),Q?_t(p,g.href,f):gt(p,f)},setHeaders:()=>{},depends:d,parent(){return s&&(c.parent=!0),t()},untrack(u){s=!1;try{return u()}finally{s=!0}}};i=await l.universal.load.call(null,h)??null}return{node:l,loader:e,server:o,universal:l.universal?.load?{type:"data",data:i,uses:c}:null,data:i??o?.data??null,slash:l.universal?.trailingSlash??o?.slash}}function Ue(e,t,n,r,a,o){if(ve)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(o[i]!==m.params[i])return!0;for(const i of a.dependencies)if(Me.some(s=>s(new URL(i))))return!0;return!1}function ke(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function Gt(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),o=t.searchParams.getAll(r);a.every(i=>o.includes(i))&&o.every(i=>a.includes(i))&&n.delete(r)}return n}function xe({error:e,url:t,route:n,params:r}){return{type:"loaded",state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:S,constructors:[]}}}async function ze({id:e,invalidating:t,url:n,params:r,route:a,preload:o}){if(P?.id===e)return q.delete(P.token),P.promise;const{errors:i,layouts:s,leaf:c}=a,l=[...s,c];i.forEach(_=>_?.().catch(()=>{})),l.forEach(_=>_?.[1]().catch(()=>{}));let d=null;const h=m.url?e!==m.url.pathname+m.url.search:!1,u=m.route?a.id!==m.route.id:!1,f=Gt(m.url,n);let p=!1;const g=l.map((_,y)=>{const k=m.branch[y],b=!!_?.[0]&&(k?.loader!==_[1]||Ue(p,u,h,f,k.server?.uses,r));return b&&(p=!0),b});if(g.some(Boolean)){try{d=await et(n,g)}catch(_){const y=await j(_,{url:n,params:r,route:{id:e}});return q.has(o)?xe({error:y,url:n,params:r,route:a}):oe({status:z(_),error:y,url:n,route:a})}if(d.type==="redirect")return d}const R=d?.nodes;let E=!1;const C=l.map(async(_,y)=>{if(!_)return;const k=m.branch[y],b=R?.[y];if((!b||b.type==="skip")&&_[1]===k?.loader&&!Ue(E,u,h,f,k.universal?.uses,r))return k;if(E=!0,b?.type==="error")throw b;return Ee({loader:_[1],url:n,params:r,route:a,parent:async()=>{const se={};for(let ie=0;ie{});const w=[];for(let _=0;_Promise.resolve({}),server_data_node:ke(o)}),c={node:await X(),loader:X,universal:null,server:null,data:null};return te({url:n,params:a,branch:[s,c],status:e,error:t,route:null})}function Se(e,t){if(!e||ne(e,I))return;let n;try{n=$.hooks.reroute({url:new URL(e)})??e.pathname}catch{return}const r=Xe(n);for(const a of ae){const o=a.exec(r);if(o)return{id:e.pathname+e.search,invalidating:t,route:a,params:it(o),url:e}}}function Xe(e){return st(e.slice(I.length)||"/")}function Ze({url:e,type:t,intent:n,delta:r}){let a=!1;const o=nt(m,n,e,t);r!==void 0&&(o.navigation.delta=r);const i={...o.navigation,cancel:()=>{a=!0,o.reject(new Error("navigation cancelled"))}};return H||He.forEach(s=>s(i)),a?null:o}async function Y({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:o,state:i={},redirect_count:s=0,nav_token:c={},accept:l=Le,block:d=Le}){const h=Se(t,!1),u=Ze({url:t,type:e,delta:n?.delta,intent:h});if(!u){d();return}const f=v,p=A;l(),H=!0,Q&&T.navigating.set(u.navigation),ee=c;let g=h&&await ze(h);if(!g){if(ne(t,I))return await D(t);g=await Qe(t,{id:null},await j(new me(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404)}if(t=h?.url||t,ee!==c)return u.reject(new Error("navigation aborted")),!1;if(g.type==="redirect")if(s>=20)g=await oe({status:500,error:await j(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}});else return Je(new URL(g.location,t).href,{},s+1,c),!1;else g.props.page.status>=400&&await T.updated.check()&&await D(t);if(Ft(),ye(f),Ke(p),g.props.page.url.pathname!==t.pathname&&(t.pathname=g.props.page.url.pathname),i=n?n.state:i,!n){const w=o?0:1,_={[O]:v+=w,[G]:A+=w,[$e]:i};(o?history.replaceState:history.pushState).call(history,_,"",t),o||Ct(v,A)}if(P=null,g.props.page.state=i,Q){m=g.state,g.props.page&&(g.props.page.url=t);const w=(await Promise.all(Vt.map(_=>_(u.navigation)))).filter(_=>typeof _=="function");if(w.length>0){let _=function(){N=N.filter(y=>!w.includes(y))};w.push(_),N.push(...w)}be.$set(g.props),Be=!0}else We(g,he,!1);const{activeElement:R}=document;await rt();const E=n?n.scroll:a?_e():null;if(Pe){const w=t.hash&&document.getElementById(decodeURIComponent(t.hash.slice(1)));E?scrollTo(E.x,E.y):w?w.scrollIntoView():scrollTo(0,0)}const C=document.activeElement!==R&&document.activeElement!==document.body;!r&&!C&&Jt(),Pe=!0,g.props.page&&(S=g.props.page),H=!1,e==="popstate"&&Ye(A),u.fulfil(void 0),N.forEach(w=>w(u.navigation)),T.navigating.set(null)}async function Qe(e,t,n,r){return e.origin===B&&e.pathname===location.pathname&&!we?await oe({status:r,error:n,url:e,route:t}):await D(e)}function Ht(){let e;L.addEventListener("mousemove",o=>{const i=o.target;clearTimeout(e),e=setTimeout(()=>{r(i,2)},20)});function t(o){r(o.composedPath()[0],1)}L.addEventListener("mousedown",t),L.addEventListener("touchstart",t,{passive:!0});const n=new IntersectionObserver(o=>{for(const i of o)i.isIntersecting&&(fe(i.target.href),n.unobserve(i.target))},{threshold:0});function r(o,i){const s=Fe(o,L);if(!s)return;const{url:c,external:l,download:d}=ue(s,I);if(l||d)return;const h=W(s);if(!h.reload)if(i<=h.preload_data){const u=Se(c,!1);u&&qt(u)}else i<=h.preload_code&&fe(c.pathname)}function a(){n.disconnect();for(const o of L.querySelectorAll("a")){const{url:i,external:s,download:c}=ue(o,I);if(s||c)continue;const l=W(o);l.reload||(l.preload_code===J.viewport&&n.observe(o),l.preload_code===J.eager&&fe(i.pathname))}}N.push(a),a()}function j(e,t){if(e instanceof re)return e.body;const n=z(e),r=$t(e);return $.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function Bt(e,t={}){return e=Ce(e),e.origin!==B?Promise.reject(new Error("goto: invalid URL")):Je(e,t,0)}function Kt(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if(Te(),!H){const r=nt(m,void 0,null,"leave"),a={...r.navigation,cancel:()=>{n=!0,r.reject(new Error("navigation cancelled"))}};He.forEach(o=>o(a))}n?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Te()}),navigator.connection?.saveData||Ht(),L.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const n=Fe(t.composedPath()[0],L);if(!n)return;const{url:r,external:a,target:o,download:i}=ue(n,I);if(!r)return;if(o==="_parent"||o==="_top"){if(window.parent!==window)return}else if(o&&o!=="_self")return;const s=W(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||i)return;if(a||s.reload){Ze({url:r,type:"link"})?H=!0:t.preventDefault();return}const[l,d]=r.href.split("#");if(d!==void 0&&l===ce(location)){const[,h]=m.url.href.split("#");if(h===d){t.preventDefault(),d===""||d==="top"&&n.ownerDocument.getElementById("top")===null?window.scrollTo({top:0}):n.ownerDocument.getElementById(d)?.scrollIntoView();return}if(V=!0,ye(v),e(r),!s.replace_state)return;V=!1}t.preventDefault(),await new Promise(h=>{requestAnimationFrame(()=>{setTimeout(h,0)}),setTimeout(h,100)}),Y({type:"link",url:r,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.replace_state??r.href===location.href})}),L.addEventListener("submit",t=>{if(t.defaultPrevented)return;const n=HTMLFormElement.prototype.cloneNode.call(t.target),r=t.submitter;if((r?.formMethod||n.method)!=="get")return;const o=new URL(r?.hasAttribute("formaction")&&r?.formAction||n.action);if(ne(o,I))return;const i=t.target,s=W(i);if(s.reload)return;t.preventDefault(),t.stopPropagation();const c=new FormData(i),l=r?.getAttribute("name");l&&c.append(l,r?.getAttribute("value")??""),o.search=new URLSearchParams(c).toString(),Y({type:"form",url:o,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.replace_state??o.href===location.href})}),addEventListener("popstate",async t=>{if(t.state?.[O]){const n=t.state[O];if(ee={},n===v)return;const r=U[n],a=t.state[$e]??{},o=new URL(t.state[St]??location.href),i=t.state[G],s=ce(location)===ce(m.url);if(i===A&&(Be||s)){e(o),U[v]=_e(),r&&scrollTo(r.x,r.y),a!==S.state&&(S={...S,state:a},be.$set({page:S})),v=n;return}const l=n-v;await Y({type:"popstate",url:o,popped:{state:a,scroll:r,delta:l},accept:()=>{v=n,A=i},block:()=>{history.go(-l)},nav_token:ee})}else if(!V){const n=new URL(location.href);e(n)}}),addEventListener("hashchange",()=>{V&&(V=!1,history.replaceState({...history.state,[O]:++v,[G]:A},"",location.href))});for(const t of document.querySelectorAll("link"))t.rel==="icon"&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&T.navigating.set(null)});function e(t){m.url=t,T.page.set({...S,url:t}),T.page.notify()}}async function Yt(e,{status:t=200,error:n,node_ids:r,params:a,route:o,data:i,form:s}){we=!0;const c=new URL(location.href);({params:a={},route:o={id:null}}=Se(c,!1)||{});let l;try{const d=r.map(async(f,p)=>{const g=i[p];return g?.uses&&(g.uses=tt(g.uses)),Ee({loader:$.nodes[f],url:c,params:a,route:o,parent:async()=>{const R={};for(let E=0;Ef===o.id);if(u){const f=u.layouts;for(let p=0;pa?"1":"0").join(""));const r=await Ne(n.href);if(!r.ok){let a;throw r.headers.get("content-type")?.includes("application/json")?a=await r.json():r.status===404?a="Not Found":r.status===500&&(a="Internal Error"),new re(r.status,a)}return new Promise(async a=>{const o=new Map,i=r.body.getReader(),s=new TextDecoder;function c(d){return xt(d,{Promise:h=>new Promise((u,f)=>{o.set(h,{fulfil:u,reject:f})})})}let l="";for(;;){const{done:d,value:h}=await i.read();if(d&&!l)break;for(l+=!h&&l?` `:s.decode(h,{stream:!0});;){const u=l.indexOf(` `);if(u===-1)break;const f=JSON.parse(l.slice(0,u));if(l=l.slice(u+1),f.type==="redirect")return a(f);if(f.type==="data")f.nodes?.forEach(p=>{p?.type==="data"&&(p.uses=tt(p.uses),p.data=c(p.data))}),a(f);else if(f.type==="chunk"){const{id:p,data:g,error:R}=f,E=o.get(p);o.delete(p),R?E.reject(c(R)):E.fulfil(c(g))}}}})}function tt(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??[])}}function Jt(){const e=document.querySelector("[autofocus]");if(e)e.focus();else{const t=document.body,n=t.getAttribute("tabindex");t.tabIndex=-1,t.focus({preventScroll:!0,focusVisible:!1}),n!==null?t.setAttribute("tabindex",n):t.removeAttribute("tabindex");const r=getSelection();if(r&&r.type!=="None"){const a=[];for(let o=0;o{if(r.rangeCount===a.length){for(let o=0;o{a=c,o=l});return i.catch(()=>{}),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url},to:n&&{params:t?.params??null,route:{id:t?.route?.id??null},url:n},willUnload:!t,type:r,complete:i},fulfil:a,reject:o}}export{Zt as a,Bt as g,T as s}; diff --git a/_app/immutable/chunks/paths.B5aGgwSW.js b/_app/immutable/chunks/paths.B5aGgwSW.js deleted file mode 100644 index 0351b48..0000000 --- a/_app/immutable/chunks/paths.B5aGgwSW.js +++ /dev/null @@ -1 +0,0 @@ -const s=globalThis.__sveltekit_787mj4?.base??"/aiml-oss/ml-mycelium",a=globalThis.__sveltekit_787mj4?.assets??s;export{a,s as b}; diff --git a/_app/immutable/chunks/paths.DLRrBxZD.js b/_app/immutable/chunks/paths.DLRrBxZD.js new file mode 100644 index 0000000..f593df6 --- /dev/null +++ b/_app/immutable/chunks/paths.DLRrBxZD.js @@ -0,0 +1 @@ +const s=globalThis.__sveltekit_yrwp19?.base??"/ml-mycelium",e=globalThis.__sveltekit_yrwp19?.assets??s;export{e as a,s as b}; diff --git a/_app/immutable/entry/app.DVTIYSLF.js b/_app/immutable/entry/app.D27KFxI3.js similarity index 90% rename from _app/immutable/entry/app.DVTIYSLF.js rename to _app/immutable/entry/app.D27KFxI3.js index 4c8b460..dd719d1 100644 --- a/_app/immutable/entry/app.DVTIYSLF.js +++ b/_app/immutable/entry/app.D27KFxI3.js @@ -1,2 +1,2 @@ -const __vite__fileDeps=["../nodes/0.CEPhg4Kl.js","../chunks/scheduler.BZf3Antt.js","../chunks/index.C7bWdOrd.js","../nodes/1.BxGL1vYq.js","../chunks/entry.BQpcBG5M.js","../chunks/index.DrtbdpeK.js","../chunks/paths.B5aGgwSW.js","../nodes/2.BEoHl9X9.js","../chunks/DragDrop.kWHAWbHZ.js","../chunks/stores.BEpXIDt_.js","../assets/DragDrop.CUKWqqeK.css","../nodes/3.BvfQdEdE.js","../nodes/4.CKPSMPo1.js","../chunks/index.Cv9_d-Ac.js","../chunks/spread.CUGnlXHs.js","../nodes/5.ANLKlyTa.js","../chunks/dot.BpqtT9be.js","../chunks/viewer.VKJlf1_4.js","../assets/viewer.BlCgbFGn.css","../chunks/Viewer.CUaabvoY.js","../nodes/6.a-2RWRKD.js","../chunks/index.Dkpp2DVH.js","../nodes/7.DMh6GWRq.js","../nodes/8.CVr-EtqJ.js","../nodes/9.aMaZgWL7.js","../assets/prism-one-light.BRPNifQ8.css","../nodes/10.DNqPh8K4.js","../nodes/11.BFq0GX80.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -import{s as j,a as z,B as u,d as F,i as v,f as h,M as G,q as H,e as J,c as K,b as Q,h as I,L as P,t as X,v as Y,w as Z,r as O,N as w,O as x}from"../chunks/scheduler.BZf3Antt.js";import{S as ee,i as te,b as m,e as R,t as p,g as L,c as g,a as D,m as b,d as k}from"../chunks/index.C7bWdOrd.js";const ne="modulepreload",ie=function(f,e){return new URL(f,e).href},T={},$=function(e,n,o){let r=Promise.resolve();if(n&&n.length>0){const a=document.getElementsByTagName("link"),t=document.querySelector("meta[property=csp-nonce]"),s=t?.nonce||t?.getAttribute("nonce");r=Promise.all(n.map(i=>{if(i=ie(i,o),i in T)return;T[i]=!0;const _=i.endsWith(".css"),c=_?'[rel="stylesheet"]':"";if(!!o)for(let N=a.length-1;N>=0;N--){const A=a[N];if(A.href===i&&(!_||A.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${c}`))return;const d=document.createElement("link");if(d.rel=_?"stylesheet":ne,_||(d.as="script",d.crossOrigin=""),d.href=i,s&&d.setAttribute("nonce",s),document.head.appendChild(d),_)return new Promise((N,A)=>{d.addEventListener("load",N),d.addEventListener("error",()=>A(new Error(`Unable to preload CSS for ${i}`)))})}))}return r.then(()=>e()).catch(a=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=a,window.dispatchEvent(t),!t.defaultPrevented)throw a})},we={};function re(f){let e,n,o;var r=f[1][0];function a(t,s){return{props:{data:t[3],form:t[2]}}}return r&&(e=w(r,a(f)),f[18](e)),{c(){e&&g(e.$$.fragment),n=u()},l(t){e&&D(e.$$.fragment,t),n=u()},m(t,s){e&&b(e,t,s),v(t,n,s),o=!0},p(t,s){if(s&2&&r!==(r=t[1][0])){if(e){L();const i=e;m(i.$$.fragment,1,0,()=>{k(i,1)}),R()}r?(e=w(r,a(t)),t[18](e),g(e.$$.fragment),p(e.$$.fragment,1),b(e,n.parentNode,n)):e=null}else if(r){const i={};s&8&&(i.data=t[3]),s&4&&(i.form=t[2]),e.$set(i)}},i(t){o||(e&&p(e.$$.fragment,t),o=!0)},o(t){e&&m(e.$$.fragment,t),o=!1},d(t){t&&h(n),f[18](null),e&&k(e,t)}}}function se(f){let e,n,o;var r=f[1][0];function a(t,s){return{props:{data:t[3],$$slots:{default:[ue]},$$scope:{ctx:t}}}}return r&&(e=w(r,a(f)),f[17](e)),{c(){e&&g(e.$$.fragment),n=u()},l(t){e&&D(e.$$.fragment,t),n=u()},m(t,s){e&&b(e,t,s),v(t,n,s),o=!0},p(t,s){if(s&2&&r!==(r=t[1][0])){if(e){L();const i=e;m(i.$$.fragment,1,0,()=>{k(i,1)}),R()}r?(e=w(r,a(t)),t[17](e),g(e.$$.fragment),p(e.$$.fragment,1),b(e,n.parentNode,n)):e=null}else if(r){const i={};s&8&&(i.data=t[3]),s&524407&&(i.$$scope={dirty:s,ctx:t}),e.$set(i)}},i(t){o||(e&&p(e.$$.fragment,t),o=!0)},o(t){e&&m(e.$$.fragment,t),o=!1},d(t){t&&h(n),f[17](null),e&&k(e,t)}}}function oe(f){let e,n,o;var r=f[1][1];function a(t,s){return{props:{data:t[4],form:t[2]}}}return r&&(e=w(r,a(f)),f[16](e)),{c(){e&&g(e.$$.fragment),n=u()},l(t){e&&D(e.$$.fragment,t),n=u()},m(t,s){e&&b(e,t,s),v(t,n,s),o=!0},p(t,s){if(s&2&&r!==(r=t[1][1])){if(e){L();const i=e;m(i.$$.fragment,1,0,()=>{k(i,1)}),R()}r?(e=w(r,a(t)),t[16](e),g(e.$$.fragment),p(e.$$.fragment,1),b(e,n.parentNode,n)):e=null}else if(r){const i={};s&16&&(i.data=t[4]),s&4&&(i.form=t[2]),e.$set(i)}},i(t){o||(e&&p(e.$$.fragment,t),o=!0)},o(t){e&&m(e.$$.fragment,t),o=!1},d(t){t&&h(n),f[16](null),e&&k(e,t)}}}function fe(f){let e,n,o;var r=f[1][1];function a(t,s){return{props:{data:t[4],$$slots:{default:[ce]},$$scope:{ctx:t}}}}return r&&(e=w(r,a(f)),f[15](e)),{c(){e&&g(e.$$.fragment),n=u()},l(t){e&&D(e.$$.fragment,t),n=u()},m(t,s){e&&b(e,t,s),v(t,n,s),o=!0},p(t,s){if(s&2&&r!==(r=t[1][1])){if(e){L();const i=e;m(i.$$.fragment,1,0,()=>{k(i,1)}),R()}r?(e=w(r,a(t)),t[15](e),g(e.$$.fragment),p(e.$$.fragment,1),b(e,n.parentNode,n)):e=null}else if(r){const i={};s&16&&(i.data=t[4]),s&524391&&(i.$$scope={dirty:s,ctx:t}),e.$set(i)}},i(t){o||(e&&p(e.$$.fragment,t),o=!0)},o(t){e&&m(e.$$.fragment,t),o=!1},d(t){t&&h(n),f[15](null),e&&k(e,t)}}}function le(f){let e,n,o;var r=f[1][2];function a(t,s){return{props:{data:t[5],form:t[2]}}}return r&&(e=w(r,a(f)),f[14](e)),{c(){e&&g(e.$$.fragment),n=u()},l(t){e&&D(e.$$.fragment,t),n=u()},m(t,s){e&&b(e,t,s),v(t,n,s),o=!0},p(t,s){if(s&2&&r!==(r=t[1][2])){if(e){L();const i=e;m(i.$$.fragment,1,0,()=>{k(i,1)}),R()}r?(e=w(r,a(t)),t[14](e),g(e.$$.fragment),p(e.$$.fragment,1),b(e,n.parentNode,n)):e=null}else if(r){const i={};s&32&&(i.data=t[5]),s&4&&(i.form=t[2]),e.$set(i)}},i(t){o||(e&&p(e.$$.fragment,t),o=!0)},o(t){e&&m(e.$$.fragment,t),o=!1},d(t){t&&h(n),f[14](null),e&&k(e,t)}}}function ae(f){let e,n,o;var r=f[1][2];function a(t,s){return{props:{data:t[5],$$slots:{default:[_e]},$$scope:{ctx:t}}}}return r&&(e=w(r,a(f)),f[13](e)),{c(){e&&g(e.$$.fragment),n=u()},l(t){e&&D(e.$$.fragment,t),n=u()},m(t,s){e&&b(e,t,s),v(t,n,s),o=!0},p(t,s){if(s&2&&r!==(r=t[1][2])){if(e){L();const i=e;m(i.$$.fragment,1,0,()=>{k(i,1)}),R()}r?(e=w(r,a(t)),t[13](e),g(e.$$.fragment),p(e.$$.fragment,1),b(e,n.parentNode,n)):e=null}else if(r){const i={};s&32&&(i.data=t[5]),s&524359&&(i.$$scope={dirty:s,ctx:t}),e.$set(i)}},i(t){o||(e&&p(e.$$.fragment,t),o=!0)},o(t){e&&m(e.$$.fragment,t),o=!1},d(t){t&&h(n),f[13](null),e&&k(e,t)}}}function _e(f){let e,n,o;var r=f[1][3];function a(t,s){return{props:{data:t[6],form:t[2]}}}return r&&(e=w(r,a(f)),f[12](e)),{c(){e&&g(e.$$.fragment),n=u()},l(t){e&&D(e.$$.fragment,t),n=u()},m(t,s){e&&b(e,t,s),v(t,n,s),o=!0},p(t,s){if(s&2&&r!==(r=t[1][3])){if(e){L();const i=e;m(i.$$.fragment,1,0,()=>{k(i,1)}),R()}r?(e=w(r,a(t)),t[12](e),g(e.$$.fragment),p(e.$$.fragment,1),b(e,n.parentNode,n)):e=null}else if(r){const i={};s&64&&(i.data=t[6]),s&4&&(i.form=t[2]),e.$set(i)}},i(t){o||(e&&p(e.$$.fragment,t),o=!0)},o(t){e&&m(e.$$.fragment,t),o=!1},d(t){t&&h(n),f[12](null),e&&k(e,t)}}}function ce(f){let e,n,o,r;const a=[ae,le],t=[];function s(i,_){return i[1][3]?0:1}return e=s(f),n=t[e]=a[e](f),{c(){n.c(),o=u()},l(i){n.l(i),o=u()},m(i,_){t[e].m(i,_),v(i,o,_),r=!0},p(i,_){let c=e;e=s(i),e===c?t[e].p(i,_):(L(),m(t[c],1,1,()=>{t[c]=null}),R(),n=t[e],n?n.p(i,_):(n=t[e]=a[e](i),n.c()),p(n,1),n.m(o.parentNode,o))},i(i){r||(p(n),r=!0)},o(i){m(n),r=!1},d(i){i&&h(o),t[e].d(i)}}}function ue(f){let e,n,o,r;const a=[fe,oe],t=[];function s(i,_){return i[1][2]?0:1}return e=s(f),n=t[e]=a[e](f),{c(){n.c(),o=u()},l(i){n.l(i),o=u()},m(i,_){t[e].m(i,_),v(i,o,_),r=!0},p(i,_){let c=e;e=s(i),e===c?t[e].p(i,_):(L(),m(t[c],1,1,()=>{t[c]=null}),R(),n=t[e],n?n.p(i,_):(n=t[e]=a[e](i),n.c()),p(n,1),n.m(o.parentNode,o))},i(i){r||(p(n),r=!0)},o(i){m(n),r=!1},d(i){i&&h(o),t[e].d(i)}}}function V(f){let e,n=f[8]&&y(f);return{c(){e=J("div"),n&&n.c(),this.h()},l(o){e=K(o,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var r=Q(e);n&&n.l(r),r.forEach(h),this.h()},h(){I(e,"id","svelte-announcer"),I(e,"aria-live","assertive"),I(e,"aria-atomic","true"),P(e,"position","absolute"),P(e,"left","0"),P(e,"top","0"),P(e,"clip","rect(0 0 0 0)"),P(e,"clip-path","inset(50%)"),P(e,"overflow","hidden"),P(e,"white-space","nowrap"),P(e,"width","1px"),P(e,"height","1px")},m(o,r){v(o,e,r),n&&n.m(e,null)},p(o,r){o[8]?n?n.p(o,r):(n=y(o),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(o){o&&h(e),n&&n.d()}}}function y(f){let e;return{c(){e=X(f[9])},l(n){e=Y(n,f[9])},m(n,o){v(n,e,o)},p(n,o){o&512&&Z(e,n[9])},d(n){n&&h(e)}}}function me(f){let e,n,o,r,a;const t=[se,re],s=[];function i(c,E){return c[1][1]?0:1}e=i(f),n=s[e]=t[e](f);let _=f[7]&&V(f);return{c(){n.c(),o=z(),_&&_.c(),r=u()},l(c){n.l(c),o=F(c),_&&_.l(c),r=u()},m(c,E){s[e].m(c,E),v(c,o,E),_&&_.m(c,E),v(c,r,E),a=!0},p(c,[E]){let d=e;e=i(c),e===d?s[e].p(c,E):(L(),m(s[d],1,1,()=>{s[d]=null}),R(),n=s[e],n?n.p(c,E):(n=s[e]=t[e](c),n.c()),p(n,1),n.m(o.parentNode,o)),c[7]?_?_.p(c,E):(_=V(c),_.c(),_.m(r.parentNode,r)):_&&(_.d(1),_=null)},i(c){a||(p(n),a=!0)},o(c){m(n),a=!1},d(c){c&&(h(o),h(r)),s[e].d(c),_&&_.d(c)}}}function pe(f,e,n){let{stores:o}=e,{page:r}=e,{constructors:a}=e,{components:t=[]}=e,{form:s}=e,{data_0:i=null}=e,{data_1:_=null}=e,{data_2:c=null}=e,{data_3:E=null}=e;G(o.page.notify);let d=!1,N=!1,A=null;H(()=>{const l=o.page.subscribe(()=>{d&&(n(8,N=!0),x().then(()=>{n(9,A=document.title||"untitled page")}))});return n(7,d=!0),l});function S(l){O[l?"unshift":"push"](()=>{t[3]=l,n(0,t)})}function q(l){O[l?"unshift":"push"](()=>{t[2]=l,n(0,t)})}function B(l){O[l?"unshift":"push"](()=>{t[2]=l,n(0,t)})}function C(l){O[l?"unshift":"push"](()=>{t[1]=l,n(0,t)})}function M(l){O[l?"unshift":"push"](()=>{t[1]=l,n(0,t)})}function U(l){O[l?"unshift":"push"](()=>{t[0]=l,n(0,t)})}function W(l){O[l?"unshift":"push"](()=>{t[0]=l,n(0,t)})}return f.$$set=l=>{"stores"in l&&n(10,o=l.stores),"page"in l&&n(11,r=l.page),"constructors"in l&&n(1,a=l.constructors),"components"in l&&n(0,t=l.components),"form"in l&&n(2,s=l.form),"data_0"in l&&n(3,i=l.data_0),"data_1"in l&&n(4,_=l.data_1),"data_2"in l&&n(5,c=l.data_2),"data_3"in l&&n(6,E=l.data_3)},f.$$.update=()=>{f.$$.dirty&3072&&o.page.set(r)},[t,a,s,i,_,c,E,d,N,A,o,r,S,q,B,C,M,U,W]}class ge extends ee{constructor(e){super(),te(this,e,pe,me,j,{stores:10,page:11,constructors:1,components:0,form:2,data_0:3,data_1:4,data_2:5,data_3:6})}}const be=[()=>$(()=>import("../nodes/0.CEPhg4Kl.js"),__vite__mapDeps([0,1,2]),import.meta.url),()=>$(()=>import("../nodes/1.BxGL1vYq.js"),__vite__mapDeps([3,1,2,4,5,6]),import.meta.url),()=>$(()=>import("../nodes/2.BEoHl9X9.js"),__vite__mapDeps([7,1,2,8,6,4,5,9,10]),import.meta.url),()=>$(()=>import("../nodes/3.BvfQdEdE.js"),__vite__mapDeps([11,1,2]),import.meta.url),()=>$(()=>import("../nodes/4.CKPSMPo1.js"),__vite__mapDeps([12,1,2,8,6,4,5,9,10,13,14]),import.meta.url),()=>$(()=>import("../nodes/5.ANLKlyTa.js"),__vite__mapDeps([15,6,16,17,2,1,14,5,18,19]),import.meta.url),()=>$(()=>import("../nodes/6.a-2RWRKD.js"),__vite__mapDeps([20,21,17,2,1,14,5,18,6,19]),import.meta.url),()=>$(()=>import("../nodes/7.DMh6GWRq.js"),__vite__mapDeps([22,1,2,19,17,14,5,18]),import.meta.url),()=>$(()=>import("../nodes/8.CVr-EtqJ.js"),__vite__mapDeps([23,9,5,1,2,19,17,14,18,16,21]),import.meta.url),()=>$(()=>import("../nodes/9.aMaZgWL7.js"),__vite__mapDeps([24,1,2,6,13,14,17,5,18,25]),import.meta.url),()=>$(()=>import("../nodes/10.DNqPh8K4.js"),__vite__mapDeps([26,1,2,6,13,14]),import.meta.url),()=>$(()=>import("../nodes/11.BFq0GX80.js"),__vite__mapDeps([27,1,2,17,14,5,18,25]),import.meta.url)],ke=[],Ee={"/(landing)":[9,[4]],"/(app)/example/dot":[5,[2,3]],"/(app)/example/lenet":[6,[2,3]],"/(app)/example/simple":[7,[2,3]],"/(landing)/gallery":[10,[4]],"/(landing)/getting-started":[11,[4]],"/(app)/viewer":[8,[2]]},ve={handleError:({error:f})=>{console.error(f)},reroute:()=>{}};export{Ee as dictionary,ve as hooks,we as matchers,be as nodes,ge as root,ke as server_loads}; +const __vite__fileDeps=["../nodes/0.CEPhg4Kl.js","../chunks/scheduler.BZf3Antt.js","../chunks/index.C7bWdOrd.js","../nodes/1.B7dARNxf.js","../chunks/entry.HsvFxiBG.js","../chunks/index.DrtbdpeK.js","../chunks/paths.DLRrBxZD.js","../nodes/2.DrugooI7.js","../chunks/DragDrop.DrsYQdZS.js","../chunks/stores.BEpXIDt_.js","../assets/DragDrop.CUKWqqeK.css","../nodes/3.BvfQdEdE.js","../nodes/4.D7c2y2Wi.js","../chunks/index.Cv9_d-Ac.js","../chunks/spread.CUGnlXHs.js","../nodes/5.C95SeXDv.js","../chunks/dot.BpqtT9be.js","../chunks/viewer.VKJlf1_4.js","../assets/viewer.BlCgbFGn.css","../chunks/Viewer.CUaabvoY.js","../nodes/6.Dzz8xCy8.js","../chunks/index.Dkpp2DVH.js","../nodes/7.DMh6GWRq.js","../nodes/8.CVr-EtqJ.js","../nodes/9.BVxZ7Iaj.js","../assets/prism-one-light.BRPNifQ8.css","../nodes/10.D8nDJxrM.js","../nodes/11.BFq0GX80.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); +import{s as j,a as z,B as u,d as F,i as v,f as h,M as G,q as H,e as J,c as K,b as Q,h as I,L as P,t as X,v as Y,w as Z,r as O,N as w,O as x}from"../chunks/scheduler.BZf3Antt.js";import{S as ee,i as te,b as m,e as R,t as p,g as L,c as g,a as D,m as b,d as k}from"../chunks/index.C7bWdOrd.js";const ne="modulepreload",ie=function(f,e){return new URL(f,e).href},T={},$=function(e,n,o){let r=Promise.resolve();if(n&&n.length>0){const a=document.getElementsByTagName("link"),t=document.querySelector("meta[property=csp-nonce]"),s=t?.nonce||t?.getAttribute("nonce");r=Promise.all(n.map(i=>{if(i=ie(i,o),i in T)return;T[i]=!0;const _=i.endsWith(".css"),c=_?'[rel="stylesheet"]':"";if(!!o)for(let N=a.length-1;N>=0;N--){const A=a[N];if(A.href===i&&(!_||A.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${c}`))return;const d=document.createElement("link");if(d.rel=_?"stylesheet":ne,_||(d.as="script",d.crossOrigin=""),d.href=i,s&&d.setAttribute("nonce",s),document.head.appendChild(d),_)return new Promise((N,A)=>{d.addEventListener("load",N),d.addEventListener("error",()=>A(new Error(`Unable to preload CSS for ${i}`)))})}))}return r.then(()=>e()).catch(a=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=a,window.dispatchEvent(t),!t.defaultPrevented)throw a})},we={};function re(f){let e,n,o;var r=f[1][0];function a(t,s){return{props:{data:t[3],form:t[2]}}}return r&&(e=w(r,a(f)),f[18](e)),{c(){e&&g(e.$$.fragment),n=u()},l(t){e&&D(e.$$.fragment,t),n=u()},m(t,s){e&&b(e,t,s),v(t,n,s),o=!0},p(t,s){if(s&2&&r!==(r=t[1][0])){if(e){L();const i=e;m(i.$$.fragment,1,0,()=>{k(i,1)}),R()}r?(e=w(r,a(t)),t[18](e),g(e.$$.fragment),p(e.$$.fragment,1),b(e,n.parentNode,n)):e=null}else if(r){const i={};s&8&&(i.data=t[3]),s&4&&(i.form=t[2]),e.$set(i)}},i(t){o||(e&&p(e.$$.fragment,t),o=!0)},o(t){e&&m(e.$$.fragment,t),o=!1},d(t){t&&h(n),f[18](null),e&&k(e,t)}}}function se(f){let e,n,o;var r=f[1][0];function a(t,s){return{props:{data:t[3],$$slots:{default:[ue]},$$scope:{ctx:t}}}}return r&&(e=w(r,a(f)),f[17](e)),{c(){e&&g(e.$$.fragment),n=u()},l(t){e&&D(e.$$.fragment,t),n=u()},m(t,s){e&&b(e,t,s),v(t,n,s),o=!0},p(t,s){if(s&2&&r!==(r=t[1][0])){if(e){L();const i=e;m(i.$$.fragment,1,0,()=>{k(i,1)}),R()}r?(e=w(r,a(t)),t[17](e),g(e.$$.fragment),p(e.$$.fragment,1),b(e,n.parentNode,n)):e=null}else if(r){const i={};s&8&&(i.data=t[3]),s&524407&&(i.$$scope={dirty:s,ctx:t}),e.$set(i)}},i(t){o||(e&&p(e.$$.fragment,t),o=!0)},o(t){e&&m(e.$$.fragment,t),o=!1},d(t){t&&h(n),f[17](null),e&&k(e,t)}}}function oe(f){let e,n,o;var r=f[1][1];function a(t,s){return{props:{data:t[4],form:t[2]}}}return r&&(e=w(r,a(f)),f[16](e)),{c(){e&&g(e.$$.fragment),n=u()},l(t){e&&D(e.$$.fragment,t),n=u()},m(t,s){e&&b(e,t,s),v(t,n,s),o=!0},p(t,s){if(s&2&&r!==(r=t[1][1])){if(e){L();const i=e;m(i.$$.fragment,1,0,()=>{k(i,1)}),R()}r?(e=w(r,a(t)),t[16](e),g(e.$$.fragment),p(e.$$.fragment,1),b(e,n.parentNode,n)):e=null}else if(r){const i={};s&16&&(i.data=t[4]),s&4&&(i.form=t[2]),e.$set(i)}},i(t){o||(e&&p(e.$$.fragment,t),o=!0)},o(t){e&&m(e.$$.fragment,t),o=!1},d(t){t&&h(n),f[16](null),e&&k(e,t)}}}function fe(f){let e,n,o;var r=f[1][1];function a(t,s){return{props:{data:t[4],$$slots:{default:[ce]},$$scope:{ctx:t}}}}return r&&(e=w(r,a(f)),f[15](e)),{c(){e&&g(e.$$.fragment),n=u()},l(t){e&&D(e.$$.fragment,t),n=u()},m(t,s){e&&b(e,t,s),v(t,n,s),o=!0},p(t,s){if(s&2&&r!==(r=t[1][1])){if(e){L();const i=e;m(i.$$.fragment,1,0,()=>{k(i,1)}),R()}r?(e=w(r,a(t)),t[15](e),g(e.$$.fragment),p(e.$$.fragment,1),b(e,n.parentNode,n)):e=null}else if(r){const i={};s&16&&(i.data=t[4]),s&524391&&(i.$$scope={dirty:s,ctx:t}),e.$set(i)}},i(t){o||(e&&p(e.$$.fragment,t),o=!0)},o(t){e&&m(e.$$.fragment,t),o=!1},d(t){t&&h(n),f[15](null),e&&k(e,t)}}}function le(f){let e,n,o;var r=f[1][2];function a(t,s){return{props:{data:t[5],form:t[2]}}}return r&&(e=w(r,a(f)),f[14](e)),{c(){e&&g(e.$$.fragment),n=u()},l(t){e&&D(e.$$.fragment,t),n=u()},m(t,s){e&&b(e,t,s),v(t,n,s),o=!0},p(t,s){if(s&2&&r!==(r=t[1][2])){if(e){L();const i=e;m(i.$$.fragment,1,0,()=>{k(i,1)}),R()}r?(e=w(r,a(t)),t[14](e),g(e.$$.fragment),p(e.$$.fragment,1),b(e,n.parentNode,n)):e=null}else if(r){const i={};s&32&&(i.data=t[5]),s&4&&(i.form=t[2]),e.$set(i)}},i(t){o||(e&&p(e.$$.fragment,t),o=!0)},o(t){e&&m(e.$$.fragment,t),o=!1},d(t){t&&h(n),f[14](null),e&&k(e,t)}}}function ae(f){let e,n,o;var r=f[1][2];function a(t,s){return{props:{data:t[5],$$slots:{default:[_e]},$$scope:{ctx:t}}}}return r&&(e=w(r,a(f)),f[13](e)),{c(){e&&g(e.$$.fragment),n=u()},l(t){e&&D(e.$$.fragment,t),n=u()},m(t,s){e&&b(e,t,s),v(t,n,s),o=!0},p(t,s){if(s&2&&r!==(r=t[1][2])){if(e){L();const i=e;m(i.$$.fragment,1,0,()=>{k(i,1)}),R()}r?(e=w(r,a(t)),t[13](e),g(e.$$.fragment),p(e.$$.fragment,1),b(e,n.parentNode,n)):e=null}else if(r){const i={};s&32&&(i.data=t[5]),s&524359&&(i.$$scope={dirty:s,ctx:t}),e.$set(i)}},i(t){o||(e&&p(e.$$.fragment,t),o=!0)},o(t){e&&m(e.$$.fragment,t),o=!1},d(t){t&&h(n),f[13](null),e&&k(e,t)}}}function _e(f){let e,n,o;var r=f[1][3];function a(t,s){return{props:{data:t[6],form:t[2]}}}return r&&(e=w(r,a(f)),f[12](e)),{c(){e&&g(e.$$.fragment),n=u()},l(t){e&&D(e.$$.fragment,t),n=u()},m(t,s){e&&b(e,t,s),v(t,n,s),o=!0},p(t,s){if(s&2&&r!==(r=t[1][3])){if(e){L();const i=e;m(i.$$.fragment,1,0,()=>{k(i,1)}),R()}r?(e=w(r,a(t)),t[12](e),g(e.$$.fragment),p(e.$$.fragment,1),b(e,n.parentNode,n)):e=null}else if(r){const i={};s&64&&(i.data=t[6]),s&4&&(i.form=t[2]),e.$set(i)}},i(t){o||(e&&p(e.$$.fragment,t),o=!0)},o(t){e&&m(e.$$.fragment,t),o=!1},d(t){t&&h(n),f[12](null),e&&k(e,t)}}}function ce(f){let e,n,o,r;const a=[ae,le],t=[];function s(i,_){return i[1][3]?0:1}return e=s(f),n=t[e]=a[e](f),{c(){n.c(),o=u()},l(i){n.l(i),o=u()},m(i,_){t[e].m(i,_),v(i,o,_),r=!0},p(i,_){let c=e;e=s(i),e===c?t[e].p(i,_):(L(),m(t[c],1,1,()=>{t[c]=null}),R(),n=t[e],n?n.p(i,_):(n=t[e]=a[e](i),n.c()),p(n,1),n.m(o.parentNode,o))},i(i){r||(p(n),r=!0)},o(i){m(n),r=!1},d(i){i&&h(o),t[e].d(i)}}}function ue(f){let e,n,o,r;const a=[fe,oe],t=[];function s(i,_){return i[1][2]?0:1}return e=s(f),n=t[e]=a[e](f),{c(){n.c(),o=u()},l(i){n.l(i),o=u()},m(i,_){t[e].m(i,_),v(i,o,_),r=!0},p(i,_){let c=e;e=s(i),e===c?t[e].p(i,_):(L(),m(t[c],1,1,()=>{t[c]=null}),R(),n=t[e],n?n.p(i,_):(n=t[e]=a[e](i),n.c()),p(n,1),n.m(o.parentNode,o))},i(i){r||(p(n),r=!0)},o(i){m(n),r=!1},d(i){i&&h(o),t[e].d(i)}}}function V(f){let e,n=f[8]&&y(f);return{c(){e=J("div"),n&&n.c(),this.h()},l(o){e=K(o,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var r=Q(e);n&&n.l(r),r.forEach(h),this.h()},h(){I(e,"id","svelte-announcer"),I(e,"aria-live","assertive"),I(e,"aria-atomic","true"),P(e,"position","absolute"),P(e,"left","0"),P(e,"top","0"),P(e,"clip","rect(0 0 0 0)"),P(e,"clip-path","inset(50%)"),P(e,"overflow","hidden"),P(e,"white-space","nowrap"),P(e,"width","1px"),P(e,"height","1px")},m(o,r){v(o,e,r),n&&n.m(e,null)},p(o,r){o[8]?n?n.p(o,r):(n=y(o),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(o){o&&h(e),n&&n.d()}}}function y(f){let e;return{c(){e=X(f[9])},l(n){e=Y(n,f[9])},m(n,o){v(n,e,o)},p(n,o){o&512&&Z(e,n[9])},d(n){n&&h(e)}}}function me(f){let e,n,o,r,a;const t=[se,re],s=[];function i(c,E){return c[1][1]?0:1}e=i(f),n=s[e]=t[e](f);let _=f[7]&&V(f);return{c(){n.c(),o=z(),_&&_.c(),r=u()},l(c){n.l(c),o=F(c),_&&_.l(c),r=u()},m(c,E){s[e].m(c,E),v(c,o,E),_&&_.m(c,E),v(c,r,E),a=!0},p(c,[E]){let d=e;e=i(c),e===d?s[e].p(c,E):(L(),m(s[d],1,1,()=>{s[d]=null}),R(),n=s[e],n?n.p(c,E):(n=s[e]=t[e](c),n.c()),p(n,1),n.m(o.parentNode,o)),c[7]?_?_.p(c,E):(_=V(c),_.c(),_.m(r.parentNode,r)):_&&(_.d(1),_=null)},i(c){a||(p(n),a=!0)},o(c){m(n),a=!1},d(c){c&&(h(o),h(r)),s[e].d(c),_&&_.d(c)}}}function pe(f,e,n){let{stores:o}=e,{page:r}=e,{constructors:a}=e,{components:t=[]}=e,{form:s}=e,{data_0:i=null}=e,{data_1:_=null}=e,{data_2:c=null}=e,{data_3:E=null}=e;G(o.page.notify);let d=!1,N=!1,A=null;H(()=>{const l=o.page.subscribe(()=>{d&&(n(8,N=!0),x().then(()=>{n(9,A=document.title||"untitled page")}))});return n(7,d=!0),l});function S(l){O[l?"unshift":"push"](()=>{t[3]=l,n(0,t)})}function q(l){O[l?"unshift":"push"](()=>{t[2]=l,n(0,t)})}function B(l){O[l?"unshift":"push"](()=>{t[2]=l,n(0,t)})}function C(l){O[l?"unshift":"push"](()=>{t[1]=l,n(0,t)})}function M(l){O[l?"unshift":"push"](()=>{t[1]=l,n(0,t)})}function U(l){O[l?"unshift":"push"](()=>{t[0]=l,n(0,t)})}function W(l){O[l?"unshift":"push"](()=>{t[0]=l,n(0,t)})}return f.$$set=l=>{"stores"in l&&n(10,o=l.stores),"page"in l&&n(11,r=l.page),"constructors"in l&&n(1,a=l.constructors),"components"in l&&n(0,t=l.components),"form"in l&&n(2,s=l.form),"data_0"in l&&n(3,i=l.data_0),"data_1"in l&&n(4,_=l.data_1),"data_2"in l&&n(5,c=l.data_2),"data_3"in l&&n(6,E=l.data_3)},f.$$.update=()=>{f.$$.dirty&3072&&o.page.set(r)},[t,a,s,i,_,c,E,d,N,A,o,r,S,q,B,C,M,U,W]}class ge extends ee{constructor(e){super(),te(this,e,pe,me,j,{stores:10,page:11,constructors:1,components:0,form:2,data_0:3,data_1:4,data_2:5,data_3:6})}}const be=[()=>$(()=>import("../nodes/0.CEPhg4Kl.js"),__vite__mapDeps([0,1,2]),import.meta.url),()=>$(()=>import("../nodes/1.B7dARNxf.js"),__vite__mapDeps([3,1,2,4,5,6]),import.meta.url),()=>$(()=>import("../nodes/2.DrugooI7.js"),__vite__mapDeps([7,1,2,8,6,4,5,9,10]),import.meta.url),()=>$(()=>import("../nodes/3.BvfQdEdE.js"),__vite__mapDeps([11,1,2]),import.meta.url),()=>$(()=>import("../nodes/4.D7c2y2Wi.js"),__vite__mapDeps([12,1,2,8,6,4,5,9,10,13,14]),import.meta.url),()=>$(()=>import("../nodes/5.C95SeXDv.js"),__vite__mapDeps([15,6,16,17,2,1,14,5,18,19]),import.meta.url),()=>$(()=>import("../nodes/6.Dzz8xCy8.js"),__vite__mapDeps([20,21,17,2,1,14,5,18,6,19]),import.meta.url),()=>$(()=>import("../nodes/7.DMh6GWRq.js"),__vite__mapDeps([22,1,2,19,17,14,5,18]),import.meta.url),()=>$(()=>import("../nodes/8.CVr-EtqJ.js"),__vite__mapDeps([23,9,5,1,2,19,17,14,18,16,21]),import.meta.url),()=>$(()=>import("../nodes/9.BVxZ7Iaj.js"),__vite__mapDeps([24,1,2,6,13,14,17,5,18,25]),import.meta.url),()=>$(()=>import("../nodes/10.D8nDJxrM.js"),__vite__mapDeps([26,1,2,6,13,14]),import.meta.url),()=>$(()=>import("../nodes/11.BFq0GX80.js"),__vite__mapDeps([27,1,2,17,14,5,18,25]),import.meta.url)],ke=[],Ee={"/(landing)":[9,[4]],"/(app)/example/dot":[5,[2,3]],"/(app)/example/lenet":[6,[2,3]],"/(app)/example/simple":[7,[2,3]],"/(landing)/gallery":[10,[4]],"/(landing)/getting-started":[11,[4]],"/(app)/viewer":[8,[2]]},ve={handleError:({error:f})=>{console.error(f)},reroute:()=>{}};export{Ee as dictionary,ve as hooks,we as matchers,be as nodes,ge as root,ke as server_loads}; diff --git a/_app/immutable/entry/start.Bc0VqSzz.js b/_app/immutable/entry/start.Bc0VqSzz.js new file mode 100644 index 0000000..abe3174 --- /dev/null +++ b/_app/immutable/entry/start.Bc0VqSzz.js @@ -0,0 +1 @@ +import{a as t}from"../chunks/entry.HsvFxiBG.js";export{t as start}; diff --git a/_app/immutable/entry/start.DEsa0TaM.js b/_app/immutable/entry/start.DEsa0TaM.js deleted file mode 100644 index f6db435..0000000 --- a/_app/immutable/entry/start.DEsa0TaM.js +++ /dev/null @@ -1 +0,0 @@ -import{a as t}from"../chunks/entry.BQpcBG5M.js";export{t as start}; diff --git a/_app/immutable/nodes/1.BxGL1vYq.js b/_app/immutable/nodes/1.B7dARNxf.js similarity index 91% rename from _app/immutable/nodes/1.BxGL1vYq.js rename to _app/immutable/nodes/1.B7dARNxf.js index 1a37cd4..60d9be4 100644 --- a/_app/immutable/nodes/1.BxGL1vYq.js +++ b/_app/immutable/nodes/1.B7dARNxf.js @@ -1 +1 @@ -import{s as c,e as p,t as u,c as m,b,v as l,f as o,i as d,j as g,w as f,n as i,x as _}from"../chunks/scheduler.BZf3Antt.js";import{S as h,i as v}from"../chunks/index.C7bWdOrd.js";import{s as x}from"../chunks/entry.BQpcBG5M.js";const $=()=>{const e=x;return{page:{subscribe:e.page.subscribe},navigating:{subscribe:e.navigating.subscribe},updated:e.updated}},E={subscribe(e){return $().page.subscribe(e)}};function S(e){let s,r=e[0].error.message+"",a;return{c(){s=p("h1"),a=u(r)},l(t){s=m(t,"H1",{});var n=b(s);a=l(n,r),n.forEach(o)},m(t,n){d(t,s,n),g(s,a)},p(t,[n]){n&1&&r!==(r=t[0].error.message+"")&&f(a,r)},i,o:i,d(t){t&&o(s)}}}function y(e,s,r){let a;return _(e,E,t=>r(0,a=t)),[a]}let C=class extends h{constructor(s){super(),v(this,s,y,S,c,{})}};export{C as component}; +import{s as c,e as p,t as u,c as m,b,v as l,f as o,i as d,j as g,w as f,n as i,x as _}from"../chunks/scheduler.BZf3Antt.js";import{S as h,i as v}from"../chunks/index.C7bWdOrd.js";import{s as x}from"../chunks/entry.HsvFxiBG.js";const $=()=>{const e=x;return{page:{subscribe:e.page.subscribe},navigating:{subscribe:e.navigating.subscribe},updated:e.updated}},E={subscribe(e){return $().page.subscribe(e)}};function S(e){let s,r=e[0].error.message+"",a;return{c(){s=p("h1"),a=u(r)},l(t){s=m(t,"H1",{});var n=b(s);a=l(n,r),n.forEach(o)},m(t,n){d(t,s,n),g(s,a)},p(t,[n]){n&1&&r!==(r=t[0].error.message+"")&&f(a,r)},i,o:i,d(t){t&&o(s)}}}function y(e,s,r){let a;return _(e,E,t=>r(0,a=t)),[a]}let C=class extends h{constructor(s){super(),v(this,s,y,S,c,{})}};export{C as component}; diff --git a/_app/immutable/nodes/10.DNqPh8K4.js b/_app/immutable/nodes/10.D8nDJxrM.js similarity index 98% rename from _app/immutable/nodes/10.DNqPh8K4.js rename to _app/immutable/nodes/10.D8nDJxrM.js index bdbd8cd..5dce44d 100644 --- a/_app/immutable/nodes/10.DNqPh8K4.js +++ b/_app/immutable/nodes/10.D8nDJxrM.js @@ -1,4 +1,4 @@ -import{s as ae,e as a,t as K,c as n,b as v,v as Q,f as d,g as P,h as r,i as G,j as s,w as U,n as O,a as k,o as ie,d as A}from"../chunks/scheduler.BZf3Antt.js";import{S as ne,i as oe,c as W,a as Y,m as Z,t as ee,b as te,d as se}from"../chunks/index.C7bWdOrd.js";import{b as le}from"../chunks/paths.B5aGgwSW.js";import{I as re,A as de}from"../chunks/index.Cv9_d-Ac.js";function ce(h){let e,l,c,t,i="/",p,x;return{c(){e=a("div"),l=a("span"),c=K(h[0]),t=a("span"),t.textContent=i,p=a("span"),x=K(h[1]),this.h()},l(o){e=n(o,"DIV",{class:!0});var f=v(e);l=n(f,"SPAN",{class:!0});var I=v(l);c=Q(I,h[0]),I.forEach(d),t=n(f,"SPAN",{class:!0,"data-svelte-h":!0}),P(t)!=="svelte-18mnmw1"&&(t.textContent=i),p=n(f,"SPAN",{});var m=v(p);x=Q(m,h[1]),m.forEach(d),f.forEach(d),this.h()},h(){r(l,"class","text-gray-500"),r(t,"class","text-gray-300"),r(e,"class","flex gap-1")},m(o,f){G(o,e,f),s(e,l),s(l,c),s(e,t),s(e,p),s(p,x)},p(o,[f]){f&1&&U(c,o[0]),f&2&&U(x,o[1])},i:O,o:O,d(o){o&&d(e)}}}function ue(h,e,l){let{org:c}=e,{model:t}=e;return h.$$set=i=>{"org"in i&&l(0,c=i.org),"model"in i&&l(1,t=i.model)},[c,t]}class fe extends ne{constructor(e){super(),oe(this,e,ue,ce,ae,{org:0,model:1})}}function me(h){let e,l,c,t,i,p="Gallery",x,o,f=`The following contains examples of different models that can be visualized with Mycelium. +import{s as ae,e as a,t as K,c as n,b as v,v as Q,f as d,g as P,h as r,i as G,j as s,w as U,n as O,a as k,o as ie,d as A}from"../chunks/scheduler.BZf3Antt.js";import{S as ne,i as oe,c as W,a as Y,m as Z,t as ee,b as te,d as se}from"../chunks/index.C7bWdOrd.js";import{b as le}from"../chunks/paths.DLRrBxZD.js";import{I as re,A as de}from"../chunks/index.Cv9_d-Ac.js";function ce(h){let e,l,c,t,i="/",p,x;return{c(){e=a("div"),l=a("span"),c=K(h[0]),t=a("span"),t.textContent=i,p=a("span"),x=K(h[1]),this.h()},l(o){e=n(o,"DIV",{class:!0});var f=v(e);l=n(f,"SPAN",{class:!0});var I=v(l);c=Q(I,h[0]),I.forEach(d),t=n(f,"SPAN",{class:!0,"data-svelte-h":!0}),P(t)!=="svelte-18mnmw1"&&(t.textContent=i),p=n(f,"SPAN",{});var m=v(p);x=Q(m,h[1]),m.forEach(d),f.forEach(d),this.h()},h(){r(l,"class","text-gray-500"),r(t,"class","text-gray-300"),r(e,"class","flex gap-1")},m(o,f){G(o,e,f),s(e,l),s(l,c),s(e,t),s(e,p),s(p,x)},p(o,[f]){f&1&&U(c,o[0]),f&2&&U(x,o[1])},i:O,o:O,d(o){o&&d(e)}}}function ue(h,e,l){let{org:c}=e,{model:t}=e;return h.$$set=i=>{"org"in i&&l(0,c=i.org),"model"in i&&l(1,t=i.model)},[c,t]}class fe extends ne{constructor(e){super(),oe(this,e,ue,ce,ae,{org:0,model:1})}}function me(h){let e,l,c,t,i,p="Gallery",x,o,f=`The following contains examples of different models that can be visualized with Mycelium. Please note that some ONNX files can become quite large and need to be downloaded before they can be visualized.`,I,m,g,q=`
LeNet5
Open
GraphViz
Mycelium also comes with a very basic loader for .dot files. Please note that it only works with graphs that form a DAG.
Open
`,S,b,D,R=`
External
The following external models are larger, which is why we only provide external links. To visualize them, you can download them and then simply drop them into this page.
`,H,_,y,w,C,V,F="Hugging Face",E,M;return y=new fe({props:{org:"Microsoft",model:"Phi-3-mini-4k-instruct-onnx"}}),E=new re({props:{src:de,theme:"solid",class:"text-blue-600 h-4 w-auto"}}),{c(){e=k(),l=a("div"),c=a("div"),t=a("div"),i=a("h2"),i.textContent=p,x=k(),o=a("p"),o.textContent=f,I=k(),m=a("div"),g=a("div"),g.innerHTML=q,S=k(),b=a("div"),D=a("div"),D.innerHTML=R,H=k(),_=a("div"),W(y.$$.fragment),w=a("a"),C=a("div"),V=a("span"),V.textContent=F,W(E.$$.fragment),this.h()},l(u){ie("svelte-85k870",document.head).forEach(d),e=A(u),l=n(u,"DIV",{class:!0});var X=v(l);c=n(X,"DIV",{class:!0});var B=v(c);t=n(B,"DIV",{class:!0});var $=v(t);i=n($,"H2",{class:!0,"data-svelte-h":!0}),P(i)!=="svelte-197edl1"&&(i.textContent=p),x=A($),o=n($,"P",{class:!0,"data-svelte-h":!0}),P(o)!=="svelte-10y7219"&&(o.textContent=f),I=A($),m=n($,"DIV",{class:!0});var T=v(m);g=n(T,"DIV",{class:!0,"data-svelte-h":!0}),P(g)!=="svelte-mnu2lf"&&(g.innerHTML=q),S=A(T),b=n(T,"DIV",{class:!0});var N=v(b);D=n(N,"DIV",{"data-svelte-h":!0}),P(D)!=="svelte-1663nnm"&&(D.innerHTML=R),H=A(N),_=n(N,"DIV",{class:!0});var j=v(_);Y(y.$$.fragment,j),w=n(j,"A",{href:!0,class:!0});var J=v(w);C=n(J,"DIV",{class:!0});var z=v(C);V=n(z,"SPAN",{"data-svelte-h":!0}),P(V)!=="svelte-e0boru"&&(V.textContent=F),Y(E.$$.fragment,z),z.forEach(d),J.forEach(d),j.forEach(d),N.forEach(d),T.forEach(d),$.forEach(d),B.forEach(d),X.forEach(d),this.h()},h(){document.title="Mycelium • Gallery",r(i,"class","text-2xl font-bold tracking-tight text-gray-900 sm:text-4xl"),r(o,"class","mt-6 text-lg leading-8 text-gray-600"),r(g,"class","flex flex-col py-4 gap-4 w-full"),r(C,"class","flex gap-2 items-center"),r(w,"href","https://huggingface.co/microsoft/Phi-3-mini-4k-instruct-onnx/blob/main/cpu_and_mobile/cpu-int4-rtn-block-32/phi3-mini-4k-instruct-cpu-int4-rtn-block-32.onnx"),r(w,"class","rounded-md border border-blue-600 px-3.5 py-2.5 text-sm font-semibold text-blue-600 shadow-sm hover:bg-blue-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-blue-600"),r(_,"class","border rounded-lg p-4 flex justify-between items-center"),r(b,"class","flex flex-col py-4 gap-4 w-full"),r(m,"class","mt-10 grid grid-cols-1 divide-y"),r(t,"class","mx-auto max-w-2xl text-center"),r(c,"class","mx-auto max-w-7xl px-6 lg:px-8"),r(l,"class","py-24 sm:py-32 lg:pb-40")},m(u,L){G(u,e,L),G(u,l,L),s(l,c),s(c,t),s(t,i),s(t,x),s(t,o),s(t,I),s(t,m),s(m,g),s(m,S),s(m,b),s(b,D),s(b,H),s(b,_),Z(y,_,null),s(_,w),s(w,C),s(C,V),Z(E,C,null),M=!0},p:O,i(u){M||(ee(y.$$.fragment,u),ee(E.$$.fragment,u),M=!0)},o(u){te(y.$$.fragment,u),te(E.$$.fragment,u),M=!1},d(u){u&&(d(e),d(l)),se(y),se(E)}}}class be extends ne{constructor(e){super(),oe(this,e,null,me,ae,{})}}export{be as component}; diff --git a/_app/immutable/nodes/2.BEoHl9X9.js b/_app/immutable/nodes/2.DrugooI7.js similarity index 94% rename from _app/immutable/nodes/2.BEoHl9X9.js rename to _app/immutable/nodes/2.DrugooI7.js index d4e3c9d..fa41a01 100644 --- a/_app/immutable/nodes/2.BEoHl9X9.js +++ b/_app/immutable/nodes/2.DrugooI7.js @@ -1 +1 @@ -import{s as x,e as p,a as $,c as u,b,g as v,d as y,f as m,h as f,i as w,j as d,k,u as D,l as M,m as j}from"../chunks/scheduler.BZf3Antt.js";import{S as H,i as L,c as T,a as q,m as C,t as _,b as g,d as N}from"../chunks/index.C7bWdOrd.js";import{D as S}from"../chunks/DragDrop.kWHAWbHZ.js";import{b as h}from"../chunks/paths.B5aGgwSW.js";function V(o){let t;const l=o[0].default,a=k(l,o,o[1],null);return{c(){a&&a.c()},l(e){a&&a.l(e)},m(e,s){a&&a.m(e,s),t=!0},p(e,s){a&&a.p&&(!t||s&2)&&D(a,l,e,e[1],t?j(l,e[1],s,null):M(e[1]),null)},i(e){t||(_(a,e),t=!0)},o(e){g(a,e),t=!1},d(e){a&&a.d(e)}}}function z(o){let t,l,a=`
 Mycelium
Drop an .onnx file into the area below to quickly visualize it.
Made with ❤️ for Talaria
`,e,s,i;return s=new S({props:{$$slots:{default:[V]},$$scope:{ctx:o}}}),{c(){t=p("div"),l=p("nav"),l.innerHTML=a,e=$(),T(s.$$.fragment),this.h()},l(n){t=u(n,"DIV",{class:!0});var r=b(t);l=u(r,"NAV",{class:!0,"data-svelte-h":!0}),v(l)!=="svelte-11fclad"&&(l.innerHTML=a),e=y(r),q(s.$$.fragment,r),r.forEach(m),this.h()},h(){f(l,"class","bg-white shadow py-2 border-b"),f(t,"class","h-screen flex flex-col")},m(n,r){w(n,t,r),d(t,l),d(t,e),C(s,t,null),i=!0},p(n,[r]){const c={};r&2&&(c.$$scope={dirty:r,ctx:n}),s.$set(c)},i(n){i||(_(s.$$.fragment,n),i=!0)},o(n){g(s.$$.fragment,n),i=!1},d(n){n&&m(t),N(s)}}}function A(o,t,l){let{$$slots:a={},$$scope:e}=t;return o.$$set=s=>{"$$scope"in s&&l(1,e=s.$$scope)},[a,e]}class B extends H{constructor(t){super(),L(this,t,A,z,x,{})}}export{B as component}; +import{s as x,e as p,a as $,c as u,b,g as v,d as y,f as m,h as f,i as w,j as d,k,u as D,l as M,m as j}from"../chunks/scheduler.BZf3Antt.js";import{S as H,i as L,c as T,a as q,m as C,t as _,b as g,d as N}from"../chunks/index.C7bWdOrd.js";import{D as S}from"../chunks/DragDrop.DrsYQdZS.js";import{b as h}from"../chunks/paths.DLRrBxZD.js";function V(o){let t;const l=o[0].default,a=k(l,o,o[1],null);return{c(){a&&a.c()},l(e){a&&a.l(e)},m(e,s){a&&a.m(e,s),t=!0},p(e,s){a&&a.p&&(!t||s&2)&&D(a,l,e,e[1],t?j(l,e[1],s,null):M(e[1]),null)},i(e){t||(_(a,e),t=!0)},o(e){g(a,e),t=!1},d(e){a&&a.d(e)}}}function z(o){let t,l,a=`
 Mycelium
Drop an .onnx file into the area below to quickly visualize it.
Made with ❤️ for Talaria
`,e,s,i;return s=new S({props:{$$slots:{default:[V]},$$scope:{ctx:o}}}),{c(){t=p("div"),l=p("nav"),l.innerHTML=a,e=$(),T(s.$$.fragment),this.h()},l(n){t=u(n,"DIV",{class:!0});var r=b(t);l=u(r,"NAV",{class:!0,"data-svelte-h":!0}),v(l)!=="svelte-11fclad"&&(l.innerHTML=a),e=y(r),q(s.$$.fragment,r),r.forEach(m),this.h()},h(){f(l,"class","bg-white shadow py-2 border-b"),f(t,"class","h-screen flex flex-col")},m(n,r){w(n,t,r),d(t,l),d(t,e),C(s,t,null),i=!0},p(n,[r]){const c={};r&2&&(c.$$scope={dirty:r,ctx:n}),s.$set(c)},i(n){i||(_(s.$$.fragment,n),i=!0)},o(n){g(s.$$.fragment,n),i=!1},d(n){n&&m(t),N(s)}}}function A(o,t,l){let{$$slots:a={},$$scope:e}=t;return o.$$set=s=>{"$$scope"in s&&l(1,e=s.$$scope)},[a,e]}class B extends H{constructor(t){super(),L(this,t,A,z,x,{})}}export{B as component}; diff --git a/_app/immutable/nodes/4.CKPSMPo1.js b/_app/immutable/nodes/4.D7c2y2Wi.js similarity index 97% rename from _app/immutable/nodes/4.CKPSMPo1.js rename to _app/immutable/nodes/4.D7c2y2Wi.js index ab7dc14..e1ac74d 100644 --- a/_app/immutable/nodes/4.CKPSMPo1.js +++ b/_app/immutable/nodes/4.D7c2y2Wi.js @@ -1 +1 @@ -import{s as oe,k as ie,e as n,a as L,c as o,b as u,g as T,d as A,f,h as r,i as ce,j as a,u as de,l as fe,m as me}from"../chunks/scheduler.BZf3Antt.js";import{S as ue,i as pe,c as K,a as Q,m as U,t as z,b as G,d as W}from"../chunks/index.C7bWdOrd.js";import{D as ge}from"../chunks/DragDrop.kWHAWbHZ.js";import{b as S}from"../chunks/paths.B5aGgwSW.js";import{I as le,A as ne}from"../chunks/index.Cv9_d-Ac.js";function he(p){let t,i,e,l,g=` Mycelium`,N,$,X=`Viewer Gallery Getting Started Documentation`,P,h,_,b,E,Y="GitHub",y,k,w,D,I,Z="NPM",C,q,d,v,ee='
',R,O,x,te='
',V;y=new le({props:{src:ne,theme:"solid",class:"text-gray-300 h-4 w-auto"}}),C=new le({props:{src:ne,theme:"solid",class:"text-gray-300 h-4 w-auto"}});const B=p[0].default,c=ie(B,p,p[1],null);return{c(){t=n("div"),i=n("header"),e=n("nav"),l=n("div"),l.innerHTML=g,N=L(),$=n("div"),$.innerHTML=X,P=L(),h=n("div"),_=n("a"),b=n("div"),E=n("span"),E.textContent=Y,K(y.$$.fragment),k=L(),w=n("a"),D=n("div"),I=n("span"),I.textContent=Z,K(C.$$.fragment),q=L(),d=n("div"),v=n("div"),v.innerHTML=ee,R=L(),c&&c.c(),O=L(),x=n("div"),x.innerHTML=te,this.h()},l(s){t=o(s,"DIV",{class:!0});var m=u(t);i=o(m,"HEADER",{class:!0});var ae=u(i);e=o(ae,"NAV",{class:!0,"aria-label":!0});var H=u(e);l=o(H,"DIV",{class:!0,"data-svelte-h":!0}),T(l)!=="svelte-him6wi"&&(l.innerHTML=g),N=A(H),$=o(H,"DIV",{class:!0,"data-svelte-h":!0}),T($)!=="svelte-173lg03"&&($.innerHTML=X),P=A(H),h=o(H,"DIV",{class:!0});var j=u(h);_=o(j,"A",{href:!0,class:!0});var se=u(_);b=o(se,"DIV",{class:!0});var F=u(b);E=o(F,"SPAN",{"data-svelte-h":!0}),T(E)!=="svelte-1l01zul"&&(E.textContent=Y),Q(y.$$.fragment,F),F.forEach(f),se.forEach(f),k=A(j),w=o(j,"A",{href:!0,class:!0});var re=u(w);D=o(re,"DIV",{class:!0});var J=u(D);I=o(J,"SPAN",{"data-svelte-h":!0}),T(I)!=="svelte-1do0aoh"&&(I.textContent=Z),Q(C.$$.fragment,J),J.forEach(f),re.forEach(f),j.forEach(f),H.forEach(f),ae.forEach(f),q=A(m),d=o(m,"DIV",{class:!0});var M=u(d);v=o(M,"DIV",{class:!0,"aria-hidden":!0,"data-svelte-h":!0}),T(v)!=="svelte-10d3ifl"&&(v.innerHTML=ee),R=A(M),c&&c.l(M),O=A(M),x=o(M,"DIV",{class:!0,"aria-hidden":!0,"data-svelte-h":!0}),T(x)!=="svelte-2vbjet"&&(x.innerHTML=te),M.forEach(f),m.forEach(f),this.h()},h(){r(l,"class","flex lg:flex-1"),r($,"class","hidden lg:flex lg:gap-x-12"),r(b,"class","flex gap-1 items-center"),r(_,"href","https://github.com/apple/ml-mycelium"),r(_,"class","text-sm font-semibold leading-6 text-gray-900 hover:text-gray-600"),r(D,"class","flex gap-1 items-center"),r(w,"href","https://www.npmjs.com/package/@apple/mycelium"),r(w,"class","text-sm font-semibold leading-6 text-gray-900 hover:text-gray-600"),r(h,"class","hidden lg:flex lg:flex-1 lg:justify-end gap-4"),r(e,"class","flex items-center justify-between p-6 lg:px-8"),r(e,"aria-label","Global"),r(i,"class","absolute inset-x-0 top-0 z-50"),r(v,"class","absolute inset-x-0 -top-40 -z-10 transform-gpu overflow-hidden blur-3xl sm:-top-80"),r(v,"aria-hidden","true"),r(x,"class","absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)]"),r(x,"aria-hidden","true"),r(d,"class","relative isolate pt-14"),r(t,"class","bg-white")},m(s,m){ce(s,t,m),a(t,i),a(i,e),a(e,l),a(e,N),a(e,$),a(e,P),a(e,h),a(h,_),a(_,b),a(b,E),U(y,b,null),a(h,k),a(h,w),a(w,D),a(D,I),U(C,D,null),a(t,q),a(t,d),a(d,v),a(d,R),c&&c.m(d,null),a(d,O),a(d,x),V=!0},p(s,m){c&&c.p&&(!V||m&2)&&de(c,B,s,s[1],V?me(B,s[1],m,null):fe(s[1]),null)},i(s){V||(z(y.$$.fragment,s),z(C.$$.fragment,s),z(c,s),V=!0)},o(s){G(y.$$.fragment,s),G(C.$$.fragment,s),G(c,s),V=!1},d(s){s&&f(t),W(y),W(C),c&&c.d(s)}}}function ve(p){let t,i;return t=new ge({props:{$$slots:{default:[he]},$$scope:{ctx:p}}}),{c(){K(t.$$.fragment)},l(e){Q(t.$$.fragment,e)},m(e,l){U(t,e,l),i=!0},p(e,[l]){const g={};l&2&&(g.$$scope={dirty:l,ctx:e}),t.$set(g)},i(e){i||(z(t.$$.fragment,e),i=!0)},o(e){G(t.$$.fragment,e),i=!1},d(e){W(t,e)}}}function xe(p,t,i){let{$$slots:e={},$$scope:l}=t;return p.$$set=g=>{"$$scope"in g&&i(1,l=g.$$scope)},[e,l]}class De extends ue{constructor(t){super(),pe(this,t,xe,ve,oe,{})}}export{De as component}; +import{s as oe,k as ie,e as n,a as L,c as o,b as u,g as T,d as A,f,h as r,i as ce,j as a,u as de,l as fe,m as me}from"../chunks/scheduler.BZf3Antt.js";import{S as ue,i as pe,c as K,a as Q,m as U,t as z,b as G,d as W}from"../chunks/index.C7bWdOrd.js";import{D as ge}from"../chunks/DragDrop.DrsYQdZS.js";import{b as S}from"../chunks/paths.DLRrBxZD.js";import{I as le,A as ne}from"../chunks/index.Cv9_d-Ac.js";function he(p){let t,i,e,l,g=` Mycelium`,N,$,X=`Viewer Gallery Getting Started Documentation`,P,h,_,b,E,Y="GitHub",y,k,w,D,I,Z="NPM",C,q,d,v,ee='
',R,O,x,te='
',V;y=new le({props:{src:ne,theme:"solid",class:"text-gray-300 h-4 w-auto"}}),C=new le({props:{src:ne,theme:"solid",class:"text-gray-300 h-4 w-auto"}});const B=p[0].default,c=ie(B,p,p[1],null);return{c(){t=n("div"),i=n("header"),e=n("nav"),l=n("div"),l.innerHTML=g,N=L(),$=n("div"),$.innerHTML=X,P=L(),h=n("div"),_=n("a"),b=n("div"),E=n("span"),E.textContent=Y,K(y.$$.fragment),k=L(),w=n("a"),D=n("div"),I=n("span"),I.textContent=Z,K(C.$$.fragment),q=L(),d=n("div"),v=n("div"),v.innerHTML=ee,R=L(),c&&c.c(),O=L(),x=n("div"),x.innerHTML=te,this.h()},l(s){t=o(s,"DIV",{class:!0});var m=u(t);i=o(m,"HEADER",{class:!0});var ae=u(i);e=o(ae,"NAV",{class:!0,"aria-label":!0});var H=u(e);l=o(H,"DIV",{class:!0,"data-svelte-h":!0}),T(l)!=="svelte-him6wi"&&(l.innerHTML=g),N=A(H),$=o(H,"DIV",{class:!0,"data-svelte-h":!0}),T($)!=="svelte-173lg03"&&($.innerHTML=X),P=A(H),h=o(H,"DIV",{class:!0});var j=u(h);_=o(j,"A",{href:!0,class:!0});var se=u(_);b=o(se,"DIV",{class:!0});var F=u(b);E=o(F,"SPAN",{"data-svelte-h":!0}),T(E)!=="svelte-1l01zul"&&(E.textContent=Y),Q(y.$$.fragment,F),F.forEach(f),se.forEach(f),k=A(j),w=o(j,"A",{href:!0,class:!0});var re=u(w);D=o(re,"DIV",{class:!0});var J=u(D);I=o(J,"SPAN",{"data-svelte-h":!0}),T(I)!=="svelte-1do0aoh"&&(I.textContent=Z),Q(C.$$.fragment,J),J.forEach(f),re.forEach(f),j.forEach(f),H.forEach(f),ae.forEach(f),q=A(m),d=o(m,"DIV",{class:!0});var M=u(d);v=o(M,"DIV",{class:!0,"aria-hidden":!0,"data-svelte-h":!0}),T(v)!=="svelte-10d3ifl"&&(v.innerHTML=ee),R=A(M),c&&c.l(M),O=A(M),x=o(M,"DIV",{class:!0,"aria-hidden":!0,"data-svelte-h":!0}),T(x)!=="svelte-2vbjet"&&(x.innerHTML=te),M.forEach(f),m.forEach(f),this.h()},h(){r(l,"class","flex lg:flex-1"),r($,"class","hidden lg:flex lg:gap-x-12"),r(b,"class","flex gap-1 items-center"),r(_,"href","https://github.com/apple/ml-mycelium"),r(_,"class","text-sm font-semibold leading-6 text-gray-900 hover:text-gray-600"),r(D,"class","flex gap-1 items-center"),r(w,"href","https://www.npmjs.com/package/@apple/mycelium"),r(w,"class","text-sm font-semibold leading-6 text-gray-900 hover:text-gray-600"),r(h,"class","hidden lg:flex lg:flex-1 lg:justify-end gap-4"),r(e,"class","flex items-center justify-between p-6 lg:px-8"),r(e,"aria-label","Global"),r(i,"class","absolute inset-x-0 top-0 z-50"),r(v,"class","absolute inset-x-0 -top-40 -z-10 transform-gpu overflow-hidden blur-3xl sm:-top-80"),r(v,"aria-hidden","true"),r(x,"class","absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)]"),r(x,"aria-hidden","true"),r(d,"class","relative isolate pt-14"),r(t,"class","bg-white")},m(s,m){ce(s,t,m),a(t,i),a(i,e),a(e,l),a(e,N),a(e,$),a(e,P),a(e,h),a(h,_),a(_,b),a(b,E),U(y,b,null),a(h,k),a(h,w),a(w,D),a(D,I),U(C,D,null),a(t,q),a(t,d),a(d,v),a(d,R),c&&c.m(d,null),a(d,O),a(d,x),V=!0},p(s,m){c&&c.p&&(!V||m&2)&&de(c,B,s,s[1],V?me(B,s[1],m,null):fe(s[1]),null)},i(s){V||(z(y.$$.fragment,s),z(C.$$.fragment,s),z(c,s),V=!0)},o(s){G(y.$$.fragment,s),G(C.$$.fragment,s),G(c,s),V=!1},d(s){s&&f(t),W(y),W(C),c&&c.d(s)}}}function ve(p){let t,i;return t=new ge({props:{$$slots:{default:[he]},$$scope:{ctx:p}}}),{c(){K(t.$$.fragment)},l(e){Q(t.$$.fragment,e)},m(e,l){U(t,e,l),i=!0},p(e,[l]){const g={};l&2&&(g.$$scope={dirty:l,ctx:e}),t.$set(g)},i(e){i||(z(t.$$.fragment,e),i=!0)},o(e){G(t.$$.fragment,e),i=!1},d(e){W(t,e)}}}function xe(p,t,i){let{$$slots:e={},$$scope:l}=t;return p.$$set=g=>{"$$scope"in g&&i(1,l=g.$$scope)},[e,l]}class De extends ue{constructor(t){super(),pe(this,t,xe,ve,oe,{})}}export{De as component}; diff --git a/_app/immutable/nodes/5.ANLKlyTa.js b/_app/immutable/nodes/5.C95SeXDv.js similarity index 93% rename from _app/immutable/nodes/5.ANLKlyTa.js rename to _app/immutable/nodes/5.C95SeXDv.js index 3641b5e..9075fb2 100644 --- a/_app/immutable/nodes/5.ANLKlyTa.js +++ b/_app/immutable/nodes/5.C95SeXDv.js @@ -1 +1 @@ -import{b as s}from"../chunks/paths.B5aGgwSW.js";import{c as i}from"../chunks/dot.BpqtT9be.js";import{s as c}from"../chunks/scheduler.BZf3Antt.js";import{S as m,i as p,c as f,a as l,m as u,t as _,b as d,d as w}from"../chunks/index.C7bWdOrd.js";import{V as g}from"../chunks/Viewer.CUaabvoY.js";async function $({fetch:o}){const n=await(await o(`${s}/examples/graphviz.dot`)).text();return{network:i(n)}}const z=Object.freeze(Object.defineProperty({__proto__:null,load:$},Symbol.toStringTag,{value:"Module"}));function k(o){let e,n;return e=new g({props:{title:"Graphviz Dot • Example",network:o[0].network}}),{c(){f(e.$$.fragment)},l(t){l(e.$$.fragment,t)},m(t,r){u(e,t,r),n=!0},p(t,[r]){const a={};r&1&&(a.network=t[0].network),e.$set(a)},i(t){n||(_(e.$$.fragment,t),n=!0)},o(t){d(e.$$.fragment,t),n=!1},d(t){w(e,t)}}}function v(o,e,n){let{data:t}=e;return o.$$set=r=>{"data"in r&&n(0,t=r.data)},[t]}class j extends m{constructor(e){super(),p(this,e,v,k,c,{data:0})}}export{j as component,z as universal}; +import{b as s}from"../chunks/paths.DLRrBxZD.js";import{c as i}from"../chunks/dot.BpqtT9be.js";import{s as c}from"../chunks/scheduler.BZf3Antt.js";import{S as m,i as p,c as f,a as l,m as u,t as _,b as d,d as w}from"../chunks/index.C7bWdOrd.js";import{V as g}from"../chunks/Viewer.CUaabvoY.js";async function $({fetch:o}){const n=await(await o(`${s}/examples/graphviz.dot`)).text();return{network:i(n)}}const z=Object.freeze(Object.defineProperty({__proto__:null,load:$},Symbol.toStringTag,{value:"Module"}));function k(o){let e,n;return e=new g({props:{title:"Graphviz Dot • Example",network:o[0].network}}),{c(){f(e.$$.fragment)},l(t){l(e.$$.fragment,t)},m(t,r){u(e,t,r),n=!0},p(t,[r]){const a={};r&1&&(a.network=t[0].network),e.$set(a)},i(t){n||(_(e.$$.fragment,t),n=!0)},o(t){d(e.$$.fragment,t),n=!1},d(t){w(e,t)}}}function v(o,e,n){let{data:t}=e;return o.$$set=r=>{"data"in r&&n(0,t=r.data)},[t]}class j extends m{constructor(e){super(),p(this,e,v,k,c,{data:0})}}export{j as component,z as universal}; diff --git a/_app/immutable/nodes/6.a-2RWRKD.js b/_app/immutable/nodes/6.Dzz8xCy8.js similarity index 93% rename from _app/immutable/nodes/6.a-2RWRKD.js rename to _app/immutable/nodes/6.Dzz8xCy8.js index b769187..0670315 100644 --- a/_app/immutable/nodes/6.a-2RWRKD.js +++ b/_app/immutable/nodes/6.Dzz8xCy8.js @@ -1 +1 @@ -import{c as s}from"../chunks/index.Dkpp2DVH.js";import{b as i}from"../chunks/paths.B5aGgwSW.js";import{s as c}from"../chunks/scheduler.BZf3Antt.js";import{S as m,i as l,c as f,a as p,m as u,t as _,b as w,d}from"../chunks/index.C7bWdOrd.js";import{V as g}from"../chunks/Viewer.CUaabvoY.js";async function $({fetch:r}){const n=await(await r(`${i}/examples/lenet.onnx`)).arrayBuffer(),e=new Uint8Array(n);return{network:s(e)}}const j=Object.freeze(Object.defineProperty({__proto__:null,load:$},Symbol.toStringTag,{value:"Module"}));function b(r){let t,n;return t=new g({props:{title:"LeNet • Example",network:r[0].network}}),{c(){f(t.$$.fragment)},l(e){p(t.$$.fragment,e)},m(e,o){u(t,e,o),n=!0},p(e,[o]){const a={};o&1&&(a.network=e[0].network),t.$set(a)},i(e){n||(_(t.$$.fragment,e),n=!0)},o(e){w(t.$$.fragment,e),n=!1},d(e){d(t,e)}}}function k(r,t,n){let{data:e}=t;return r.$$set=o=>{"data"in o&&n(0,e=o.data)},[e]}class M extends m{constructor(t){super(),l(this,t,k,b,c,{data:0})}}export{M as component,j as universal}; +import{c as s}from"../chunks/index.Dkpp2DVH.js";import{b as i}from"../chunks/paths.DLRrBxZD.js";import{s as c}from"../chunks/scheduler.BZf3Antt.js";import{S as m,i as l,c as f,a as p,m as u,t as _,b as w,d}from"../chunks/index.C7bWdOrd.js";import{V as g}from"../chunks/Viewer.CUaabvoY.js";async function $({fetch:r}){const n=await(await r(`${i}/examples/lenet.onnx`)).arrayBuffer(),e=new Uint8Array(n);return{network:s(e)}}const j=Object.freeze(Object.defineProperty({__proto__:null,load:$},Symbol.toStringTag,{value:"Module"}));function b(r){let t,n;return t=new g({props:{title:"LeNet • Example",network:r[0].network}}),{c(){f(t.$$.fragment)},l(e){p(t.$$.fragment,e)},m(e,o){u(t,e,o),n=!0},p(e,[o]){const a={};o&1&&(a.network=e[0].network),t.$set(a)},i(e){n||(_(t.$$.fragment,e),n=!0)},o(e){w(t.$$.fragment,e),n=!1},d(e){d(t,e)}}}function k(r,t,n){let{data:e}=t;return r.$$set=o=>{"data"in o&&n(0,e=o.data)},[e]}class M extends m{constructor(t){super(),l(this,t,k,b,c,{data:0})}}export{M as component,j as universal}; diff --git a/_app/immutable/nodes/9.aMaZgWL7.js b/_app/immutable/nodes/9.BVxZ7Iaj.js similarity index 99% rename from _app/immutable/nodes/9.aMaZgWL7.js rename to _app/immutable/nodes/9.BVxZ7Iaj.js index b899ae8..1a66178 100644 --- a/_app/immutable/nodes/9.aMaZgWL7.js +++ b/_app/immutable/nodes/9.BVxZ7Iaj.js @@ -1,4 +1,4 @@ -import{s as J,e as b,J as ue,c as v,b as k,K as fe,f,h as _,i as x,n as L,k as Y,a as M,t as H,d as V,v as j,j as $,w as F,u as ee,l as te,m as ne,a0 as ae,a1 as de,o as me,g as G,L as he,q as ge,r as pe}from"../chunks/scheduler.BZf3Antt.js";import{S as O,i as R,c as S,a as T,m as P,t as E,b as N,d as z,g as _e,e as $e}from"../chunks/index.C7bWdOrd.js";import{b as Q}from"../chunks/paths.B5aGgwSW.js";/* empty css */import{I as be,B as ve,C as we,L as xe,a as ye}from"../chunks/index.Cv9_d-Ac.js";import{N as ke,a as le,V as ie,T as X,c as Ce,b as Ee}from"../chunks/viewer.VKJlf1_4.js";function De(i){let e,n,s=`@inproceedings{Hoh+2024, +import{s as J,e as b,J as ue,c as v,b as k,K as fe,f,h as _,i as x,n as L,k as Y,a as M,t as H,d as V,v as j,j as $,w as F,u as ee,l as te,m as ne,a0 as ae,a1 as de,o as me,g as G,L as he,q as ge,r as pe}from"../chunks/scheduler.BZf3Antt.js";import{S as O,i as R,c as S,a as T,m as P,t as E,b as N,d as z,g as _e,e as $e}from"../chunks/index.C7bWdOrd.js";import{b as Q}from"../chunks/paths.DLRrBxZD.js";/* empty css */import{I as be,B as ve,C as we,L as xe,a as ye}from"../chunks/index.Cv9_d-Ac.js";import{N as ke,a as le,V as ie,T as X,c as Ce,b as Ee}from"../chunks/viewer.VKJlf1_4.js";function De(i){let e,n,s=`@inproceedings{Hoh+2024, title={Talaria: Interactively Optimizing Machine Learning Models for Efficient Inference}, author={Fred Hohman and Chaoqun Wang and Jinmook Lee and Jochen Görtler and Dominik Moritz and Jeffrey Bigham and Zhile Ren and Cecile Foret and Qi Shan and Xiaoyi Zhang}, booktitle={Proceedings of the SIGCHI Conference on Human Factors in Computing Systems}, diff --git a/_app/version.json b/_app/version.json index c6c5aee..cd2d8ab 100644 --- a/_app/version.json +++ b/_app/version.json @@ -1 +1 @@ -{"version":"1723618354843"} \ No newline at end of file +{"version":"1723619025897"} \ No newline at end of file diff --git a/example/dot/index.html b/example/dot/index.html index 0b619a8..ac39a3d 100644 --- a/example/dot/index.html +++ b/example/dot/index.html @@ -12,19 +12,19 @@ - - + + - - + + - - + + - + @@ -32,12 +32,12 @@
- + +