vag_tools 0.0.10 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist/public/_app/immutable/chunks/B5qx6vkG.js +3 -0
  2. package/dist/public/_app/immutable/chunks/BE7tr7jY.js +1 -0
  3. package/dist/public/_app/immutable/chunks/BPGb7Zdx.js +1 -0
  4. package/dist/public/_app/immutable/chunks/CWtmxeuR.js +1 -0
  5. package/dist/public/_app/immutable/chunks/Di6rzPgH.js +1 -0
  6. package/dist/public/_app/immutable/chunks/Dn606rGI.js +1 -0
  7. package/dist/public/_app/immutable/entry/app.C886mZj8.js +2 -0
  8. package/dist/public/_app/immutable/entry/start.Diq2ZV0p.js +1 -0
  9. package/dist/public/_app/immutable/nodes/0.C2f_W7A4.js +5 -0
  10. package/dist/public/_app/immutable/nodes/1.gWYCHO42.js +1 -0
  11. package/dist/public/_app/immutable/nodes/2.D4NnrcN9.js +1 -0
  12. package/dist/public/_app/version.json +1 -1
  13. package/dist/public/index.html +20 -18
  14. package/dist/vag_cli.js +56 -52
  15. package/dist/vag_core.js +56 -52
  16. package/dist/vagg_server.js +4 -2
  17. package/package.json +53 -49
  18. package/dist/public/_app/immutable/chunks/entry.D1rmEaOP.js +0 -3
  19. package/dist/public/_app/immutable/chunks/index.Q3sXdwuS.js +0 -1
  20. package/dist/public/_app/immutable/chunks/scheduler.Bmg8oFKD.js +0 -1
  21. package/dist/public/_app/immutable/entry/app.C8dH5I0s.js +0 -2
  22. package/dist/public/_app/immutable/entry/start.DyCObnGs.js +0 -1
  23. package/dist/public/_app/immutable/nodes/0.wSBy_e-q.js +0 -7
  24. package/dist/public/_app/immutable/nodes/1.r5FkK6q8.js +0 -1
  25. package/dist/public/_app/immutable/nodes/2.ydMGe4kB.js +0 -1
  26. /package/dist/public/_app/immutable/assets/{0.C7lbsLW4.css → 0.Dpc_EyHf.css} +0 -0
  27. /package/dist/public/_app/immutable/assets/{2.DCg60gzD.css → 2.CAqZwIuH.css} +0 -0
  28. /package/dist/public/_app/immutable/assets/{_layout.C7lbsLW4.css → _layout.Dpc_EyHf.css} +0 -0
  29. /package/dist/public/_app/immutable/assets/{_page.DCg60gzD.css → _page.CAqZwIuH.css} +0 -0
@@ -0,0 +1,3 @@
1
+ var Xt=t=>{throw TypeError(t)};var je=(t,e,n)=>e.has(t)||Xt("Cannot "+n);var k=(t,e,n)=>(je(t,e,"read from private field"),n?n.call(t):e.get(t)),P=(t,e,n)=>e.has(t)?Xt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n);import{am as Ut,an as $e,aj as C,g as O,n as N,ak as De}from"./BE7tr7jY.js";import{o as Zt}from"./Di6rzPgH.js";const q=[];function jt(t,e=Ut){let n=null;const a=new Set;function r(o){if($e(t,o)&&(t=o,n)){const c=!q.length;for(const l of a)l[1](),q.push(l,t);if(c){for(let l=0;l<q.length;l+=2)q[l][0](q[l+1]);q.length=0}}}function s(o){r(o(t))}function i(o,c=Ut){const l=[o,c];return a.add(l),a.size===1&&(n=e(r,s)||Ut),o(t),()=>{a.delete(l),a.size===0&&n&&(n(),n=null)}}return{set:r,update:s,subscribe:i}}new URL("sveltekit-internal://");function Fe(t,e){return t==="/"||e==="ignore"?t:e==="never"?t.endsWith("/")?t.slice(0,-1):t:e==="always"&&!t.endsWith("/")?t+"/":t}function Ve(t){return t.split("%25").map(decodeURI).join("%25")}function Be(t){for(const e in t)t[e]=decodeURIComponent(t[e]);return t}function Lt({href:t}){return t.split("#")[0]}function qe(t,e,n,a=!1){const r=new URL(t);Object.defineProperty(r,"searchParams",{value:new Proxy(r.searchParams,{get(i,o){if(o==="get"||o==="getAll"||o==="has")return l=>(n(l),i[o](l));e();const c=Reflect.get(i,o);return typeof c=="function"?c.bind(i):c}}),enumerable:!0,configurable:!0});const s=["href","pathname","search","toString","toJSON"];a&&s.push("hash");for(const i of s)Object.defineProperty(r,i,{get(){return e(),t[i]},enumerable:!0,configurable:!0});return r}function Me(...t){let e=5381;for(const n of t)if(typeof n=="string"){let a=n.length;for(;a;)e=e*33^n.charCodeAt(--a)}else if(ArrayBuffer.isView(n)){const a=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let r=a.length;for(;r;)e=e*33^a[--r]}else throw new TypeError("value must be a string or TypedArray");return(e>>>0).toString(36)}function Ge(t){const e=atob(t),n=new Uint8Array(e.length);for(let a=0;a<e.length;a++)n[a]=e.charCodeAt(a);return n.buffer}const He=window.fetch;window.fetch=(t,e)=>((t instanceof Request?t.method:(e==null?void 0:e.method)||"GET")!=="GET"&&Y.delete($t(t)),He(t,e));const Y=new Map;function Ke(t,e){const n=$t(t,e),a=document.querySelector(n);if(a!=null&&a.textContent){let{body:r,...s}=JSON.parse(a.textContent);const i=a.getAttribute("data-ttl");return i&&Y.set(n,{body:r,init:s,ttl:1e3*Number(i)}),a.getAttribute("data-b64")!==null&&(r=Ge(r)),Promise.resolve(new Response(r,s))}return window.fetch(t,e)}function We(t,e,n){if(Y.size>0){const a=$t(t,n),r=Y.get(a);if(r){if(performance.now()<r.ttl&&["default","force-cache","only-if-cached",void 0].includes(n==null?void 0:n.cache))return new Response(r.body,r.init);Y.delete(a)}}return window.fetch(e,n)}function $t(t,e){let a=`script[data-sveltekit-fetched][data-url=${JSON.stringify(t instanceof Request?t.url:t)}]`;if(e!=null&&e.headers||e!=null&&e.body){const r=[];e.headers&&r.push([...new Headers(e.headers)].join(",")),e.body&&(typeof e.body=="string"||ArrayBuffer.isView(e.body))&&r.push(e.body),a+=`[data-hash="${Me(...r)}"]`}return a}const Ye=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function ze(t){const e=[];return{pattern:t==="/"?/^\/$/:new RegExp(`^${Xe(t).map(a=>{const r=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(a);if(r)return e.push({name:r[1],matcher:r[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const s=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(a);if(s)return e.push({name:s[1],matcher:s[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!a)return;const i=a.split(/\[(.+?)\](?!\])/);return"/"+i.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return Tt(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return Tt(String.fromCharCode(...c.slice(2).split("-").map(p=>parseInt(p,16))));const d=Ye.exec(c),[,u,y,f,m]=d;return e.push({name:f,matcher:m,optional:!!u,rest:!!y,chained:y?l===1&&i[0]==="":!1}),y?"(.*?)":u?"([^/]*)?":"([^/]+?)"}return Tt(c)}).join("")}).join("")}/?$`),params:e}}function Je(t){return!/^\([^)]+\)$/.test(t)}function Xe(t){return t.slice(1).split("/").filter(Je)}function Ze(t,e,n){const a={},r=t.slice(1),s=r.filter(o=>o!==void 0);let i=0;for(let o=0;o<e.length;o+=1){const c=e[o];let l=r[o-i];if(c.chained&&c.rest&&i&&(l=r.slice(o-i,o+1).filter(d=>d).join("/"),i=0),l===void 0){c.rest&&(a[c.name]="");continue}if(!c.matcher||n[c.matcher](l)){a[c.name]=l;const d=e[o+1],u=r[o+1];d&&!d.rest&&d.optional&&u&&c.chained&&(i=0),!d&&!u&&Object.keys(a).length===s.length&&(i=0);continue}if(c.optional&&c.chained){i++;continue}return}if(!i)return a}function Tt(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Qe({nodes:t,server_loads:e,dictionary:n,matchers:a}){const r=new Set(e);return Object.entries(n).map(([o,[c,l,d]])=>{const{pattern:u,params:y}=ze(o),f={id:o,exec:m=>{const p=u.exec(m);if(p)return Ze(p,y,a)},errors:[1,...d||[]].map(m=>t[m]),layouts:[0,...l||[]].map(i),leaf:s(c)};return f.errors.length=f.layouts.length=Math.max(f.errors.length,f.layouts.length),f});function s(o){const c=o<0;return c&&(o=~o),[c,t[o]]}function i(o){return o===void 0?o:[r.has(o),t[o]]}}function de(t,e=JSON.parse){try{return e(sessionStorage[t])}catch{}}function Qt(t,e,n=JSON.stringify){const a=n(e);try{sessionStorage[t]=a}catch{}}var ce;const x=((ce=globalThis.__sveltekit_1e3ykjh)==null?void 0:ce.base)??"";var le;const tn=((le=globalThis.__sveltekit_1e3ykjh)==null?void 0:le.assets)??x,en="1748640210322",pe="sveltekit:snapshot",ge="sveltekit:scroll",me="sveltekit:states",nn="sveltekit:pageurl",G="sveltekit:history",Z="sveltekit:navigation",F={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},bt=location.origin;function ye(t){if(t instanceof URL)return t;let e=document.baseURI;if(!e){const n=document.getElementsByTagName("base");e=n.length?n[0].href:document.URL}return new URL(t,e)}function Dt(){return{x:pageXOffset,y:pageYOffset}}function M(t,e){return t.getAttribute(`data-sveltekit-${e}`)}const te={...F,"":F.hover};function we(t){let e=t.assignedSlot??t.parentNode;return(e==null?void 0:e.nodeType)===11&&(e=e.host),e}function _e(t,e){for(;t&&t!==e;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=we(t)}}function Ct(t,e,n){let a;try{if(a=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI),n&&a.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";a.hash=`#${o}${a.hash}`}}catch{}const r=t instanceof SVGAElement?t.target.baseVal:t.target,s=!a||!!r||kt(a,e,n)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),i=(a==null?void 0:a.origin)===bt&&t.hasAttribute("download");return{url:a,external:s,target:r,download:i}}function dt(t){let e=null,n=null,a=null,r=null,s=null,i=null,o=t;for(;o&&o!==document.documentElement;)a===null&&(a=M(o,"preload-code")),r===null&&(r=M(o,"preload-data")),e===null&&(e=M(o,"keepfocus")),n===null&&(n=M(o,"noscroll")),s===null&&(s=M(o,"reload")),i===null&&(i=M(o,"replacestate")),o=we(o);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:te[a??"off"],preload_data:te[r??"off"],keepfocus:c(e),noscroll:c(n),reload:c(s),replace_state:c(i)}}function ee(t){const e=jt(t);let n=!0;function a(){n=!0,e.update(i=>i)}function r(i){n=!1,e.set(i)}function s(i){let o;return e.subscribe(c=>{(o===void 0||n&&c!==o)&&i(o=c)})}return{notify:a,set:r,subscribe:s}}const ve={v:()=>{}};function rn(){const{set:t,subscribe:e}=jt(!1);let n;async function a(){clearTimeout(n);try{const r=await fetch(`${tn}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const i=(await r.json()).version!==en;return i&&(t(!0),ve.v(),clearTimeout(n)),i}catch{return!1}}return{subscribe:e,check:a}}function kt(t,e,n){return t.origin!==bt||!t.pathname.startsWith(e)?!0:n?!(t.pathname===e+"/"||t.pathname===e+"/index.html"||t.protocol==="file:"&&t.pathname.replace(/\/[^/]+\.html?$/,"")===e):!1}function qn(t){}function ne(t){const e=on(t),n=new ArrayBuffer(e.length),a=new DataView(n);for(let r=0;r<n.byteLength;r++)a.setUint8(r,e.charCodeAt(r));return n}const an="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function on(t){t.length%4===0&&(t=t.replace(/==?$/,""));let e="",n=0,a=0;for(let r=0;r<t.length;r++)n<<=6,n|=an.indexOf(t[r]),a+=6,a===24&&(e+=String.fromCharCode((n&16711680)>>16),e+=String.fromCharCode((n&65280)>>8),e+=String.fromCharCode(n&255),n=a=0);return a===12?(n>>=4,e+=String.fromCharCode(n)):a===18&&(n>>=2,e+=String.fromCharCode((n&65280)>>8),e+=String.fromCharCode(n&255)),e}const sn=-1,cn=-2,ln=-3,fn=-4,un=-5,hn=-6;function dn(t,e){if(typeof t=="number")return r(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const n=t,a=Array(n.length);function r(s,i=!1){if(s===sn)return;if(s===ln)return NaN;if(s===fn)return 1/0;if(s===un)return-1/0;if(s===hn)return-0;if(i)throw new Error("Invalid input");if(s in a)return a[s];const o=n[s];if(!o||typeof o!="object")a[s]=o;else if(Array.isArray(o))if(typeof o[0]=="string"){const c=o[0],l=e==null?void 0:e[c];if(l)return a[s]=l(r(o[1]));switch(c){case"Date":a[s]=new Date(o[1]);break;case"Set":const d=new Set;a[s]=d;for(let f=1;f<o.length;f+=1)d.add(r(o[f]));break;case"Map":const u=new Map;a[s]=u;for(let f=1;f<o.length;f+=2)u.set(r(o[f]),r(o[f+1]));break;case"RegExp":a[s]=new RegExp(o[1],o[2]);break;case"Object":a[s]=Object(o[1]);break;case"BigInt":a[s]=BigInt(o[1]);break;case"null":const y=Object.create(null);a[s]=y;for(let f=1;f<o.length;f+=2)y[o[f]]=r(o[f+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const f=globalThis[c],m=o[1],p=ne(m),h=new f(p);a[s]=h;break}case"ArrayBuffer":{const f=o[1],m=ne(f);a[s]=m;break}default:throw new Error(`Unknown type ${c}`)}}else{const c=new Array(o.length);a[s]=c;for(let l=0;l<o.length;l+=1){const d=o[l];d!==cn&&(c[l]=r(d))}}else{const c={};a[s]=c;for(const l in o){const d=o[l];c[l]=r(d)}}return a[s]}return r(0)}const be=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...be];const pn=new Set([...be]);[...pn];function gn(t){return t.filter(e=>e!=null)}class At{constructor(e,n){this.status=e,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${e}`}}toString(){return JSON.stringify(this.body)}}class Ft{constructor(e,n){this.status=e,this.location=n}}class Vt extends Error{constructor(e,n,a){super(a),this.status=e,this.text=n}}const mn="x-sveltekit-invalidated",yn="x-sveltekit-trailing-slash";function pt(t){return t instanceof At||t instanceof Vt?t.status:500}function wn(t){return t instanceof Vt?t.text:"Internal Error"}let U,Q,xt;const _n=Zt.toString().includes("$$")||/function \w+\(\) \{\}/.test(Zt.toString());var nt,rt,at,ot,st,it,ct,lt,fe,ft,ue,ut,he;_n?(U={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},Q={current:null},xt={current:!1}):(U=new(fe=class{constructor(){P(this,nt,C({}));P(this,rt,C(null));P(this,at,C(null));P(this,ot,C({}));P(this,st,C({id:null}));P(this,it,C({}));P(this,ct,C(-1));P(this,lt,C(new URL("https://example.com")))}get data(){return O(k(this,nt))}set data(e){N(k(this,nt),e)}get form(){return O(k(this,rt))}set form(e){N(k(this,rt),e)}get error(){return O(k(this,at))}set error(e){N(k(this,at),e)}get params(){return O(k(this,ot))}set params(e){N(k(this,ot),e)}get route(){return O(k(this,st))}set route(e){N(k(this,st),e)}get state(){return O(k(this,it))}set state(e){N(k(this,it),e)}get status(){return O(k(this,ct))}set status(e){N(k(this,ct),e)}get url(){return O(k(this,lt))}set url(e){N(k(this,lt),e)}},nt=new WeakMap,rt=new WeakMap,at=new WeakMap,ot=new WeakMap,st=new WeakMap,it=new WeakMap,ct=new WeakMap,lt=new WeakMap,fe),Q=new(ue=class{constructor(){P(this,ft,C(null))}get current(){return O(k(this,ft))}set current(e){N(k(this,ft),e)}},ft=new WeakMap,ue),xt=new(he=class{constructor(){P(this,ut,C(!1))}get current(){return O(k(this,ut))}set current(e){N(k(this,ut),e)}},ut=new WeakMap,he),ve.v=()=>xt.current=!0);function vn(t){Object.assign(U,t)}const bn="/__data.json",kn=".html__data.json";function An(t){return t.endsWith(".html")?t.replace(/\.html$/,kn):t.replace(/\/$/,"")+bn}const Sn=new Set(["icon","shortcut icon","apple-touch-icon"]),B=de(ge)??{},tt=de(pe)??{},$={url:ee({}),page:ee({}),navigating:jt(null),updated:rn()};function Bt(t){B[t]=Dt()}function En(t,e){let n=t+1;for(;B[n];)delete B[n],n+=1;for(n=e+1;tt[n];)delete tt[n],n+=1}function K(t){return location.href=t.href,new Promise(()=>{})}async function ke(){if("serviceWorker"in navigator){const t=await navigator.serviceWorker.getRegistration(x||"/");t&&await t.update()}}function re(){}let qt,Ot,gt,j,Nt,A;const mt=[],yt=[];let L=null;const ht=new Map,Ae=new Set,Rn=new Set,z=new Set;let v={branch:[],error:null,url:null},Mt=!1,wt=!1,ae=!0,et=!1,W=!1,Se=!1,Gt=!1,Ee,E,T,V;const J=new Set;async function Kn(t,e,n){var r,s,i,o;document.URL!==location.href&&(location.href=location.href),A=t,await((s=(r=t.hooks).init)==null?void 0:s.call(r)),qt=Qe(t),j=document.documentElement,Nt=e,Ot=t.nodes[0],gt=t.nodes[1],Ot(),gt(),E=(i=history.state)==null?void 0:i[G],T=(o=history.state)==null?void 0:o[Z],E||(E=T=Date.now(),history.replaceState({...history.state,[G]:E,[Z]:T},""));const a=B[E];a&&(history.scrollRestoration="manual",scrollTo(a.x,a.y)),n?await jn(Nt,n):await X({type:"enter",url:ye(A.hash?Dn(new URL(location.href)):location.href),replace_state:!0}),Nn()}function In(){mt.length=0,Gt=!1}function Re(t){yt.some(e=>e==null?void 0:e.snapshot)&&(tt[t]=yt.map(e=>{var n;return(n=e==null?void 0:e.snapshot)==null?void 0:n.capture()}))}function Ie(t){var e;(e=tt[t])==null||e.forEach((n,a)=>{var r,s;(s=(r=yt[a])==null?void 0:r.snapshot)==null||s.restore(n)})}function oe(){Bt(E),Qt(ge,B),Re(T),Qt(pe,tt)}async function Ue(t,e,n,a){return X({type:"goto",url:ye(t),keepfocus:e.keepFocus,noscroll:e.noScroll,replace_state:e.replaceState,state:e.state,redirect_count:n,nav_token:a,accept:()=>{e.invalidateAll&&(Gt=!0),e.invalidate&&e.invalidate.forEach(On)}})}async function Un(t){if(t.id!==(L==null?void 0:L.id)){const e={};J.add(e),L={id:t.id,token:e,promise:xe({...t,preload:e}).then(n=>(J.delete(e),n.type==="loaded"&&n.state.error&&(L=null),n))}}return L.promise}async function Pt(t){var n;const e=(n=await Et(t,!1))==null?void 0:n.route;e&&await Promise.all([...e.layouts,e.leaf].map(a=>a==null?void 0:a[1]()))}function Le(t,e,n){var r;v=t.state;const a=document.querySelector("style[data-sveltekit]");if(a&&a.remove(),Object.assign(U,t.props.page),Ee=new A.root({target:e,props:{...t.props,stores:$,components:yt},hydrate:n,sync:!1}),Ie(T),n){const s={from:null,to:{params:v.params,route:{id:((r=v.route)==null?void 0:r.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};z.forEach(i=>i(s))}wt=!0}function _t({url:t,params:e,branch:n,status:a,error:r,route:s,form:i}){let o="never";if(x&&(t.pathname===x||t.pathname===x+"/"))o="always";else for(const f of n)(f==null?void 0:f.slash)!==void 0&&(o=f.slash);t.pathname=Fe(t.pathname,o),t.search=t.search;const c={type:"loaded",state:{url:t,params:e,branch:n,error:r,route:s},props:{constructors:gn(n).map(f=>f.node.component),page:Yt(U)}};i!==void 0&&(c.props.form=i);let l={},d=!U,u=0;for(let f=0;f<Math.max(n.length,v.branch.length);f+=1){const m=n[f],p=v.branch[f];(m==null?void 0:m.data)!==(p==null?void 0:p.data)&&(d=!0),m&&(l={...l,...m.data},d&&(c.props[`data_${u}`]=l),u+=1)}return(!v.url||t.href!==v.url.href||v.error!==r||i!==void 0&&i!==U.form||d)&&(c.props.page={error:r,params:e,route:{id:(s==null?void 0:s.id)??null},state:{},status:a,url:new URL(t),form:i??null,data:d?l:U.data}),c}async function Ht({loader:t,parent:e,url:n,params:a,route:r,server_data_node:s}){var d,u,y;let i=null,o=!0;const c={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},l=await t();if((d=l.universal)!=null&&d.load){let f=function(...p){for(const h of p){const{href:_}=new URL(h,n);c.dependencies.add(_)}};const m={route:new Proxy(r,{get:(p,h)=>(o&&(c.route=!0),p[h])}),params:new Proxy(a,{get:(p,h)=>(o&&c.params.add(h),p[h])}),data:(s==null?void 0:s.data)??null,url:qe(n,()=>{o&&(c.url=!0)},p=>{o&&c.search_params.add(p)},A.hash),async fetch(p,h){p instanceof Request&&(h={body:p.method==="GET"||p.method==="HEAD"?void 0:await p.blob(),cache:p.cache,credentials:p.credentials,headers:[...p.headers].length?p.headers:void 0,integrity:p.integrity,keepalive:p.keepalive,method:p.method,mode:p.mode,redirect:p.redirect,referrer:p.referrer,referrerPolicy:p.referrerPolicy,signal:p.signal,...h});const{resolved:_,promise:R}=Te(p,h,n);return o&&f(_.href),R},setHeaders:()=>{},depends:f,parent(){return o&&(c.parent=!0),e()},untrack(p){o=!1;try{return p()}finally{o=!0}}};i=await l.universal.load.call(null,m)??null}return{node:l,loader:t,server:s,universal:(u=l.universal)!=null&&u.load?{type:"data",data:i,uses:c}:null,data:i??(s==null?void 0:s.data)??null,slash:((y=l.universal)==null?void 0:y.trailingSlash)??(s==null?void 0:s.slash)}}function Te(t,e,n){let a=t instanceof Request?t.url:t;const r=new URL(a,n);r.origin===n.origin&&(a=r.href.slice(n.origin.length));const s=wt?We(a,r.href,e):Ke(a,e);return{resolved:r,promise:s}}function se(t,e,n,a,r,s){if(Gt)return!0;if(!r)return!1;if(r.parent&&t||r.route&&e||r.url&&n)return!0;for(const i of r.search_params)if(a.has(i))return!0;for(const i of r.params)if(s[i]!==v.params[i])return!0;for(const i of r.dependencies)if(mt.some(o=>o(new URL(i))))return!0;return!1}function Kt(t,e){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?e??null:null}function Ln(t,e){if(!t)return new Set(e.searchParams.keys());const n=new Set([...t.searchParams.keys(),...e.searchParams.keys()]);for(const a of n){const r=t.searchParams.getAll(a),s=e.searchParams.getAll(a);r.every(i=>s.includes(i))&&s.every(i=>r.includes(i))&&n.delete(a)}return n}function ie({error:t,url:e,route:n,params:a}){return{type:"loaded",state:{error:t,url:e,route:n,params:a,branch:[]},props:{page:Yt(U),constructors:[]}}}async function xe({id:t,invalidating:e,url:n,params:a,route:r,preload:s}){if((L==null?void 0:L.id)===t)return J.delete(L.token),L.promise;const{errors:i,layouts:o,leaf:c}=r,l=[...o,c];i.forEach(g=>g==null?void 0:g().catch(()=>{})),l.forEach(g=>g==null?void 0:g[1]().catch(()=>{}));let d=null;const u=v.url?t!==vt(v.url):!1,y=v.route?r.id!==v.route.id:!1,f=Ln(v.url,n);let m=!1;const p=l.map((g,w)=>{var D;const b=v.branch[w],S=!!(g!=null&&g[0])&&((b==null?void 0:b.loader)!==g[1]||se(m,y,u,f,(D=b.server)==null?void 0:D.uses,a));return S&&(m=!0),S});if(p.some(Boolean)){try{d=await Oe(n,p)}catch(g){const w=await H(g,{url:n,params:a,route:{id:t}});return J.has(s)?ie({error:w,url:n,params:a,route:r}):St({status:pt(g),error:w,url:n,route:r})}if(d.type==="redirect")return d}const h=d==null?void 0:d.nodes;let _=!1;const R=l.map(async(g,w)=>{var Rt;if(!g)return;const b=v.branch[w],S=h==null?void 0:h[w];if((!S||S.type==="skip")&&g[1]===(b==null?void 0:b.loader)&&!se(_,y,u,f,(Rt=b.universal)==null?void 0:Rt.uses,a))return b;if(_=!0,(S==null?void 0:S.type)==="error")throw S;return Ht({loader:g[1],url:n,params:a,route:r,parent:async()=>{var Jt;const zt={};for(let It=0;It<w;It+=1)Object.assign(zt,(Jt=await R[It])==null?void 0:Jt.data);return zt},server_data_node:Kt(S===void 0&&g[0]?{type:"skip"}:S??null,g[0]?b==null?void 0:b.server:void 0)})});for(const g of R)g.catch(()=>{});const I=[];for(let g=0;g<l.length;g+=1)if(l[g])try{I.push(await R[g])}catch(w){if(w instanceof Ft)return{type:"redirect",location:w.location};if(J.has(s))return ie({error:await H(w,{params:a,url:n,route:{id:r.id}}),url:n,params:a,route:r});let b=pt(w),S;if(h!=null&&h.includes(w))b=w.status??b,S=w.error;else if(w instanceof At)S=w.body;else{if(await $.updated.check())return await ke(),await K(n);S=await H(w,{params:a,url:n,route:{id:r.id}})}const D=await Tn(g,I,i);return D?_t({url:n,params:a,branch:I.slice(0,D.idx).concat(D.node),status:b,error:S,route:r}):await Ce(n,{id:r.id},S,b)}else I.push(void 0);return _t({url:n,params:a,branch:I,status:200,error:null,route:r,form:e?void 0:null})}async function Tn(t,e,n){for(;t--;)if(n[t]){let a=t;for(;!e[a];)a-=1;try{return{idx:a+1,node:{node:await n[t](),loader:n[t],data:{},server:null,universal:null}}}catch{continue}}}async function St({status:t,error:e,url:n,route:a}){const r={};let s=null;if(A.server_loads[0]===0)try{const o=await Oe(n,[!0]);if(o.type!=="data"||o.nodes[0]&&o.nodes[0].type!=="data")throw 0;s=o.nodes[0]??null}catch{(n.origin!==bt||n.pathname!==location.pathname||Mt)&&await K(n)}try{const o=await Ht({loader:Ot,url:n,params:r,route:a,parent:()=>Promise.resolve({}),server_data_node:Kt(s)}),c={node:await gt(),loader:gt,universal:null,server:null,data:null};return _t({url:n,params:r,branch:[o,c],status:t,error:e,route:null})}catch(o){if(o instanceof Ft)return Ue(new URL(o.location,location.href),{},0);throw o}}async function xn(t){const e=t.href;if(ht.has(e))return ht.get(e);let n;try{const a=(async()=>{let r=await A.hooks.reroute({url:new URL(t),fetch:async(s,i)=>Te(s,i,t).promise})??t;if(typeof r=="string"){const s=new URL(t);A.hash?s.hash=r:s.pathname=r,r=s}return r})();ht.set(e,a),n=await a}catch{ht.delete(e);return}return n}async function Et(t,e){if(t&&!kt(t,x,A.hash)){const n=await xn(t);if(!n)return;const a=Pn(n);for(const r of qt){const s=r.exec(a);if(s)return{id:vt(t),invalidating:e,route:r,params:Be(s),url:t}}}}function Pn(t){return Ve(A.hash?t.hash.replace(/^#/,"").replace(/[?#].+/,""):t.pathname.slice(x.length))||"/"}function vt(t){return(A.hash?t.hash.replace(/^#/,""):t.pathname)+t.search}function Pe({url:t,type:e,intent:n,delta:a}){let r=!1;const s=Wt(v,n,t,e);a!==void 0&&(s.navigation.delta=a);const i={...s.navigation,cancel:()=>{r=!0,s.reject(new Error("navigation cancelled"))}};return et||Ae.forEach(o=>o(i)),r?null:s}async function X({type:t,url:e,popped:n,keepfocus:a,noscroll:r,replace_state:s,state:i={},redirect_count:o=0,nav_token:c={},accept:l=re,block:d=re}){const u=V;V=c;const y=await Et(e,!1),f=t==="enter"?Wt(v,y,e,t):Pe({url:e,type:t,delta:n==null?void 0:n.delta,intent:y});if(!f){d(),V===c&&(V=u);return}const m=E,p=T;l(),et=!0,wt&&f.navigation.type!=="enter"&&$.navigating.set(Q.current=f.navigation);let h=y&&await xe(y);if(!h){if(kt(e,x,A.hash))return await K(e);h=await Ce(e,{id:null},await H(new Vt(404,"Not Found",`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404)}if(e=(y==null?void 0:y.url)||e,V!==c)return f.reject(new Error("navigation aborted")),!1;if(h.type==="redirect")if(o>=20)h=await St({status:500,error:await H(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}});else return await Ue(new URL(h.location,e).href,{},o+1,c),!1;else h.props.page.status>=400&&await $.updated.check()&&(await ke(),await K(e));if(In(),Bt(m),Re(p),h.props.page.url.pathname!==e.pathname&&(e.pathname=h.props.page.url.pathname),i=n?n.state:i,!n){const g=s?0:1,w={[G]:E+=g,[Z]:T+=g,[me]:i};(s?history.replaceState:history.pushState).call(history,w,"",e),s||En(E,T)}if(L=null,h.props.page.state=i,wt){v=h.state,h.props.page&&(h.props.page.url=e);const g=(await Promise.all(Array.from(Rn,w=>w(f.navigation)))).filter(w=>typeof w=="function");if(g.length>0){let w=function(){g.forEach(b=>{z.delete(b)})};g.push(w),g.forEach(b=>{z.add(b)})}Ee.$set(h.props),vn(h.props.page),Se=!0}else Le(h,Nt,!1);const{activeElement:_}=document;await De();const R=n?n.scroll:r?Dt():null;if(ae){const g=e.hash&&document.getElementById(decodeURIComponent(A.hash?e.hash.split("#")[2]??"":e.hash.slice(1)));R?scrollTo(R.x,R.y):g?g.scrollIntoView():scrollTo(0,0)}const I=document.activeElement!==_&&document.activeElement!==document.body;!a&&!I&&$n(),ae=!0,h.props.page&&Object.assign(U,h.props.page),et=!1,t==="popstate"&&Ie(T),f.fulfil(void 0),z.forEach(g=>g(f.navigation)),$.navigating.set(Q.current=null)}async function Ce(t,e,n,a){return t.origin===bt&&t.pathname===location.pathname&&!Mt?await St({status:a,error:n,url:t,route:e}):await K(t)}function Cn(){let t,e,n;j.addEventListener("mousemove",o=>{const c=o.target;clearTimeout(t),t=setTimeout(()=>{s(c,F.hover)},20)});function a(o){o.defaultPrevented||s(o.composedPath()[0],F.tap)}j.addEventListener("mousedown",a),j.addEventListener("touchstart",a,{passive:!0});const r=new IntersectionObserver(o=>{for(const c of o)c.isIntersecting&&(Pt(new URL(c.target.href)),r.unobserve(c.target))},{threshold:0});async function s(o,c){const l=_e(o,j),d=l===e&&c>=n;if(!l||d)return;const{url:u,external:y,download:f}=Ct(l,x,A.hash);if(y||f)return;const m=dt(l),p=u&&vt(v.url)===vt(u);if(!(m.reload||p))if(c<=m.preload_data){e=l,n=F.tap;const h=await Et(u,!1);if(!h)return;Un(h)}else c<=m.preload_code&&(e=l,n=c,Pt(u))}function i(){r.disconnect();for(const o of j.querySelectorAll("a")){const{url:c,external:l,download:d}=Ct(o,x,A.hash);if(l||d)continue;const u=dt(o);u.reload||(u.preload_code===F.viewport&&r.observe(o),u.preload_code===F.eager&&Pt(c))}}z.add(i),i()}function H(t,e){if(t instanceof At)return t.body;const n=pt(t),a=wn(t);return A.hooks.handleError({error:t,event:e,status:n,message:a})??{message:a}}function On(t){if(typeof t=="function")mt.push(t);else{const{href:e}=new URL(t,location.href);mt.push(n=>n.href===e)}}function Nn(){var e;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let a=!1;if(oe(),!et){const r=Wt(v,void 0,null,"leave"),s={...r.navigation,cancel:()=>{a=!0,r.reject(new Error("navigation cancelled"))}};Ae.forEach(i=>i(s))}a?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&oe()}),(e=navigator.connection)!=null&&e.saveData||Cn(),j.addEventListener("click",async n=>{if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const a=_e(n.composedPath()[0],j);if(!a)return;const{url:r,external:s,target:i,download:o}=Ct(a,x,A.hash);if(!r)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const c=dt(a);if(!(a instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||o)return;const[d,u]=(A.hash?r.hash.replace(/^#/,""):r.href).split("#"),y=d===Lt(location);if(s||c.reload&&(!y||!u)){Pe({url:r,type:"link"})?et=!0:n.preventDefault();return}if(u!==void 0&&y){const[,f]=v.url.href.split("#");if(f===u){if(n.preventDefault(),u===""||u==="top"&&a.ownerDocument.getElementById("top")===null)window.scrollTo({top:0});else{const m=a.ownerDocument.getElementById(decodeURIComponent(u));m&&(m.scrollIntoView(),m.focus())}return}if(W=!0,Bt(E),t(r),!c.replace_state)return;W=!1}n.preventDefault(),await new Promise(f=>{requestAnimationFrame(()=>{setTimeout(f,0)}),setTimeout(f,100)}),await X({type:"link",url:r,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??r.href===location.href})}),j.addEventListener("submit",n=>{if(n.defaultPrevented)return;const a=HTMLFormElement.prototype.cloneNode.call(n.target),r=n.submitter;if(((r==null?void 0:r.formTarget)||a.target)==="_blank"||((r==null?void 0:r.formMethod)||a.method)!=="get")return;const o=new URL((r==null?void 0:r.hasAttribute("formaction"))&&(r==null?void 0:r.formAction)||a.action);if(kt(o,x,!1))return;const c=n.target,l=dt(c);if(l.reload)return;n.preventDefault(),n.stopPropagation();const d=new FormData(c),u=r==null?void 0:r.getAttribute("name");u&&d.append(u,(r==null?void 0:r.getAttribute("value"))??""),o.search=new URLSearchParams(d).toString(),X({type:"form",url:o,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??o.href===location.href})}),addEventListener("popstate",async n=>{var a;if((a=n.state)!=null&&a[G]){const r=n.state[G];if(V={},r===E)return;const s=B[r],i=n.state[me]??{},o=new URL(n.state[nn]??location.href),c=n.state[Z],l=v.url?Lt(location)===Lt(v.url):!1;if(c===T&&(Se||l)){i!==U.state&&(U.state=i),t(o),B[E]=Dt(),s&&scrollTo(s.x,s.y),E=r;return}const u=r-E;await X({type:"popstate",url:o,popped:{state:i,scroll:s,delta:u},accept:()=>{E=r,T=c},block:()=>{history.go(-u)},nav_token:V})}else if(!W){const r=new URL(location.href);t(r),A.hash&&location.reload()}}),addEventListener("hashchange",()=>{W&&(W=!1,history.replaceState({...history.state,[G]:++E,[Z]:T},"",location.href))});for(const n of document.querySelectorAll("link"))Sn.has(n.rel)&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&$.navigating.set(Q.current=null)});function t(n){v.url=U.url=n,$.page.set(Yt(U)),$.page.notify()}}async function jn(t,{status:e=200,error:n,node_ids:a,params:r,route:s,server_route:i,data:o,form:c}){Mt=!0;const l=new URL(location.href);let d;({params:r={},route:s={id:null}}=await Et(l,!1)||{}),d=qt.find(({id:f})=>f===s.id);let u,y=!0;try{const f=a.map(async(p,h)=>{const _=o[h];return _!=null&&_.uses&&(_.uses=Ne(_.uses)),Ht({loader:A.nodes[p],url:l,params:r,route:s,parent:async()=>{const R={};for(let I=0;I<h;I+=1)Object.assign(R,(await f[I]).data);return R},server_data_node:Kt(_)})}),m=await Promise.all(f);if(d){const p=d.layouts;for(let h=0;h<p.length;h++)p[h]||m.splice(h,0,void 0)}u=_t({url:l,params:r,branch:m,status:e,error:n,form:c,route:d??null})}catch(f){if(f instanceof Ft){await K(new URL(f.location,location.href));return}u=await St({status:pt(f),error:await H(f,{url:l,params:r,route:s}),url:l,route:s}),t.textContent="",y=!1}u.props.page&&(u.props.page.state={}),Le(u,t,y)}async function Oe(t,e){var s;const n=new URL(t);n.pathname=An(t.pathname),t.pathname.endsWith("/")&&n.searchParams.append(yn,"1"),n.searchParams.append(mn,e.map(i=>i?"1":"0").join(""));const a=window.fetch,r=await a(n.href,{});if(!r.ok){let i;throw(s=r.headers.get("content-type"))!=null&&s.includes("application/json")?i=await r.json():r.status===404?i="Not Found":r.status===500&&(i="Internal Error"),new At(r.status,i)}return new Promise(async i=>{var y;const o=new Map,c=r.body.getReader(),l=new TextDecoder;function d(f){return dn(f,{...A.decoders,Promise:m=>new Promise((p,h)=>{o.set(m,{fulfil:p,reject:h})})})}let u="";for(;;){const{done:f,value:m}=await c.read();if(f&&!u)break;for(u+=!m&&u?`
2
+ `:l.decode(m,{stream:!0});;){const p=u.indexOf(`
3
+ `);if(p===-1)break;const h=JSON.parse(u.slice(0,p));if(u=u.slice(p+1),h.type==="redirect")return i(h);if(h.type==="data")(y=h.nodes)==null||y.forEach(_=>{(_==null?void 0:_.type)==="data"&&(_.uses=Ne(_.uses),_.data=d(_.data))}),i(h);else if(h.type==="chunk"){const{id:_,data:R,error:I}=h,g=o.get(_);o.delete(_),I?g.reject(d(I)):g.fulfil(d(R))}}}})}function Ne(t){return{dependencies:new Set((t==null?void 0:t.dependencies)??[]),params:new Set((t==null?void 0:t.params)??[]),parent:!!(t!=null&&t.parent),route:!!(t!=null&&t.route),url:!!(t!=null&&t.url),search_params:new Set((t==null?void 0:t.search_params)??[])}}function $n(){const t=document.querySelector("[autofocus]");if(t)t.focus();else{const e=document.body,n=e.getAttribute("tabindex");e.tabIndex=-1,e.focus({preventScroll:!0,focusVisible:!1}),n!==null?e.setAttribute("tabindex",n):e.removeAttribute("tabindex");const a=getSelection();if(a&&a.type!=="None"){const r=[];for(let s=0;s<a.rangeCount;s+=1)r.push(a.getRangeAt(s));setTimeout(()=>{if(a.rangeCount===r.length){for(let s=0;s<a.rangeCount;s+=1){const i=r[s],o=a.getRangeAt(s);if(i.commonAncestorContainer!==o.commonAncestorContainer||i.startContainer!==o.startContainer||i.endContainer!==o.endContainer||i.startOffset!==o.startOffset||i.endOffset!==o.endOffset)return}a.removeAllRanges()}})}}}function Wt(t,e,n,a){var c,l;let r,s;const i=new Promise((d,u)=>{r=d,s=u});return i.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((c=t.route)==null?void 0:c.id)??null},url:t.url},to:n&&{params:(e==null?void 0:e.params)??null,route:{id:((l=e==null?void 0:e.route)==null?void 0:l.id)??null},url:n},willUnload:!e,type:a,complete:i},fulfil:r,reject:s}}function Yt(t){return{data:t.data,error:t.error,form:t.form,params:t.params,route:t.route,state:t.state,status:t.status,url:t.url}}function Dn(t){const e=new URL(t);return e.hash=decodeURIComponent(t.hash),e}export{Kn as a,qn as l,U as p,$ as s};
@@ -0,0 +1 @@
1
+ var sn=Array.isArray,un=Array.prototype.indexOf,Zn=Array.from,$n=Object.defineProperty,G=Object.getOwnPropertyDescriptor,on=Object.getOwnPropertyDescriptors,_n=Object.prototype,cn=Array.prototype,Ft=Object.getPrototypeOf,kt=Object.isExtensible;const Wn=()=>{};function zn(t){return t()}function Ct(t){for(var e=0;e<t.length;e++)t[e]()}const b=2,jt=4,it=8,mt=16,k=32,L=64,nt=128,m=256,et=512,y=1024,D=2048,C=4096,q=8192,ut=16384,vn=32768,qt=65536,Jn=1<<17,hn=1<<19,Mt=1<<20,dt=1<<21,K=Symbol("$state"),Qn=Symbol("legacy props");function Yt(t){return t===this.v}function pn(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function Lt(t){return!pn(t,this.v)}function dn(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function wn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function yn(t){throw new Error("https://svelte.dev/e/effect_orphan")}function gn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Xn(){throw new Error("https://svelte.dev/e/hydration_failed")}function te(t){throw new Error("https://svelte.dev/e/props_invalid_value")}function En(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function mn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Tn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}let ot=!1;function ne(){ot=!0}const ee=1,re=2,le=4,fe=8,ae=16,se=1,ie=2,xn="[",bn="[!",Rn="]",Tt={},g=Symbol();let p=null;function Pt(t){p=t}function ue(t,e=!1,n){var r=p={p,c:null,d:!1,e:null,m:!1,s:t,x:null,l:null};ot&&!e&&(p.l={s:null,u:null,r1:[],r2:bt(!1)}),Pn(()=>{r.d=!0})}function oe(t){const e=p;if(e!==null){const u=e.e;if(u!==null){var n=h,r=v;e.e=null;try{for(var l=0;l<u.length;l++){var f=u[l];ft(f.effect),Y(f.reaction),$t(f.fn)}}finally{ft(n),Y(r)}}p=e.p,e.m=!0}return{}}function _t(){return!ot||p!==null&&p.l===null}function j(t){if(typeof t!="object"||t===null||K in t)return t;const e=Ft(t);if(e!==_n&&e!==cn)return t;var n=new Map,r=sn(t),l=P(0),f=v,u=i=>{var a=v;Y(f);var s=i();return Y(a),s};return r&&n.set("length",P(t.length)),new Proxy(t,{defineProperty(i,a,s){(!("value"in s)||s.configurable===!1||s.enumerable===!1||s.writable===!1)&&En();var _=n.get(a);return _===void 0?(_=u(()=>P(s.value)),n.set(a,_)):S(_,u(()=>j(s.value))),!0},deleteProperty(i,a){var s=n.get(a);if(s===void 0)a in i&&(n.set(a,u(()=>P(g))),pt(l));else{if(r&&typeof a=="string"){var _=n.get("length"),o=Number(a);Number.isInteger(o)&&o<_.v&&S(_,o)}S(s,g),pt(l)}return!0},get(i,a,s){var x;if(a===K)return t;var _=n.get(a),o=a in i;if(_===void 0&&(!o||(x=G(i,a))!=null&&x.writable)&&(_=u(()=>P(j(o?i[a]:g))),n.set(a,_)),_!==void 0){var c=V(_);return c===g?void 0:c}return Reflect.get(i,a,s)},getOwnPropertyDescriptor(i,a){var s=Reflect.getOwnPropertyDescriptor(i,a);if(s&&"value"in s){var _=n.get(a);_&&(s.value=V(_))}else if(s===void 0){var o=n.get(a),c=o==null?void 0:o.v;if(o!==void 0&&c!==g)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return s},has(i,a){var c;if(a===K)return!0;var s=n.get(a),_=s!==void 0&&s.v!==g||Reflect.has(i,a);if(s!==void 0||h!==null&&(!_||(c=G(i,a))!=null&&c.writable)){s===void 0&&(s=u(()=>P(_?j(i[a]):g)),n.set(a,s));var o=V(s);if(o===g)return!1}return _},set(i,a,s,_){var Ot;var o=n.get(a),c=a in i;if(r&&a==="length")for(var x=s;x<o.v;x+=1){var Q=n.get(x+"");Q!==void 0?S(Q,g):x in i&&(Q=u(()=>P(g)),n.set(x+"",Q))}o===void 0?(!c||(Ot=G(i,a))!=null&&Ot.writable)&&(o=u(()=>P(void 0)),S(o,u(()=>j(s))),n.set(a,o)):(c=o.v!==g,S(o,u(()=>j(s))));var X=Reflect.getOwnPropertyDescriptor(i,a);if(X!=null&&X.set&&X.set.call(_,s),!c){if(r&&typeof a=="string"){var Dt=n.get("length"),ht=Number(a);Number.isInteger(ht)&&ht>=Dt.v&&S(Dt,ht+1)}pt(l)}return!0},ownKeys(i){V(l);var a=Reflect.ownKeys(i).filter(o=>{var c=n.get(o);return c===void 0||c.v!==g});for(var[s,_]of n)_.v!==g&&!(s in i)&&a.push(s);return a},setPrototypeOf(){mn()}})}function pt(t,e=1){S(t,t.v+e)}function xt(t){var e=b|D,n=v!==null&&(v.f&b)!==0?v:null;return h===null||n!==null&&(n.f&m)!==0?e|=m:h.f|=Mt,{ctx:p,deps:null,effects:null,equals:Yt,f:e,fn:t,reactions:null,rv:0,v:null,wv:0,parent:n??h}}function _e(t){const e=xt(t);return nn(e),e}function ce(t){const e=xt(t);return e.equals=Lt,e}function Ut(t){var e=t.effects;if(e!==null){t.effects=null;for(var n=0;n<e.length;n+=1)F(e[n])}}function An(t){for(var e=t.parent;e!==null;){if((e.f&b)===0)return e;e=e.parent}return null}function Bt(t){var e,n=h;ft(An(t));try{Ut(t),e=fn(t)}finally{ft(n)}return e}function Ht(t){var e=Bt(t);if(t.equals(e)||(t.v=e,t.wv=rn()),!H){var n=(N||(t.f&m)!==0)&&t.deps!==null?C:y;R(t,n)}}const $=new Map;function bt(t,e){var n={f:0,v:t,reactions:null,equals:Yt,rv:0,wv:0};return n}function P(t,e){const n=bt(t);return nn(n),n}function ve(t,e=!1){var r;const n=bt(t);return e||(n.equals=Lt),ot&&p!==null&&p.l!==null&&((r=p.l).s??(r.s=[])).push(n),n}function S(t,e,n=!1){v!==null&&!A&&_t()&&(v.f&(b|mt))!==0&&!(w!=null&&w.includes(t))&&Tn();let r=n?j(e):e;return Dn(t,r)}function Dn(t,e){if(!t.equals(e)){var n=t.v;H?$.set(t,e):$.set(t,n),t.v=e,(t.f&b)!==0&&((t.f&D)!==0&&Bt(t),R(t,(t.f&m)===0?y:C)),t.wv=rn(),Vt(t,D),_t()&&h!==null&&(h.f&y)!==0&&(h.f&(k|L))===0&&(T===null?Yn([t]):T.push(t))}return e}function Vt(t,e){var n=t.reactions;if(n!==null)for(var r=_t(),l=n.length,f=0;f<l;f++){var u=n[f],i=u.f;(i&D)===0&&(!r&&u===h||(R(u,e),(i&(y|m))!==0&&((i&b)!==0?Vt(u,C):vt(u))))}}function Rt(t){console.warn("https://svelte.dev/e/hydration_mismatch")}let M=!1;function he(t){M=t}let O;function W(t){if(t===null)throw Rt(),Tt;return O=t}function pe(){return W(U(O))}function de(t){if(M){if(U(O)!==null)throw Rt(),Tt;O=t}}function we(){for(var t=0,e=O;;){if(e.nodeType===8){var n=e.data;if(n===Rn){if(t===0)return e;t-=1}else(n===xn||n===bn)&&(t+=1)}var r=U(e);e.remove(),e=r}}function ye(t){if(!t||t.nodeType!==8)throw Rt(),Tt;return t.data}var St,On,Gt,Kt;function ge(){if(St===void 0){St=window,On=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,n=Text.prototype;Gt=G(e,"firstChild").get,Kt=G(e,"nextSibling").get,kt(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),kt(n)&&(n.__t=void 0)}}function wt(t=""){return document.createTextNode(t)}function yt(t){return Gt.call(t)}function U(t){return Kt.call(t)}function Ee(t,e){if(!M)return yt(t);var n=yt(O);if(n===null)n=O.appendChild(wt());else if(e&&n.nodeType!==3){var r=wt();return n==null||n.before(r),W(r),r}return W(n),n}function me(t,e){if(!M){var n=yt(t);return n instanceof Comment&&n.data===""?U(n):n}return O}function Te(t,e=1,n=!1){let r=M?O:t;for(var l;e--;)l=r,r=U(r);if(!M)return r;var f=r==null?void 0:r.nodeType;if(n&&f!==3){var u=wt();return r===null?l==null||l.after(u):r.before(u),W(u),u}return W(r),r}function xe(t){t.textContent=""}function Zt(t){h===null&&v===null&&yn(),v!==null&&(v.f&m)!==0&&h===null&&wn(),H&&dn()}function kn(t,e){var n=e.last;n===null?e.last=e.first=t:(n.next=t,t.prev=n,e.last=t)}function B(t,e,n,r=!0){var l=h,f={ctx:p,deps:null,nodes_start:null,nodes_end:null,f:t|D,first:null,fn:e,last:null,next:null,parent:l,prev:null,teardown:null,transitions:null,wv:0};if(n)try{At(f),f.f|=vn}catch(a){throw F(f),a}else e!==null&&vt(f);var u=n&&f.deps===null&&f.first===null&&f.nodes_start===null&&f.teardown===null&&(f.f&(Mt|nt))===0;if(!u&&r&&(l!==null&&kn(f,l),v!==null&&(v.f&b)!==0)){var i=v;(i.effects??(i.effects=[])).push(f)}return f}function Pn(t){const e=B(it,null,!1);return R(e,y),e.teardown=t,e}function be(t){Zt();var e=h!==null&&(h.f&k)!==0&&p!==null&&!p.m;if(e){var n=p;(n.e??(n.e=[])).push({fn:t,effect:h,reaction:v})}else{var r=$t(t);return r}}function Re(t){return Zt(),Sn(t)}function Ae(t){const e=B(L,t,!0);return(n={})=>new Promise(r=>{n.outro?Cn(e,()=>{F(e),r(void 0)}):(F(e),r(void 0))})}function $t(t){return B(jt,t,!1)}function Sn(t){return B(it,t,!0)}function De(t,e=[],n=xt){const r=e.map(n);return Nn(()=>t(...r.map(V)))}function Nn(t,e=0){return B(it|mt|e,t,!0)}function Oe(t,e=!0){return B(it|k,t,!0,e)}function Wt(t){var e=t.teardown;if(e!==null){const n=H,r=v;Nt(!0),Y(null);try{e.call(null)}finally{Nt(n),Y(r)}}}function zt(t,e=!1){var n=t.first;for(t.first=t.last=null;n!==null;){var r=n.next;(n.f&L)!==0?n.parent=null:F(n,e),n=r}}function In(t){for(var e=t.first;e!==null;){var n=e.next;(e.f&k)===0&&F(e),e=n}}function F(t,e=!0){var n=!1;(e||(t.f&hn)!==0)&&t.nodes_start!==null&&(Fn(t.nodes_start,t.nodes_end),n=!0),zt(t,e&&!n),st(t,0),R(t,ut);var r=t.transitions;if(r!==null)for(const f of r)f.stop();Wt(t);var l=t.parent;l!==null&&l.first!==null&&Jt(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=null}function Fn(t,e){for(;t!==null;){var n=t===e?null:U(t);t.remove(),t=n}}function Jt(t){var e=t.parent,n=t.prev,r=t.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),e!==null&&(e.first===t&&(e.first=r),e.last===t&&(e.last=n))}function Cn(t,e){var n=[];Qt(t,n,!0),jn(n,()=>{F(t),e&&e()})}function jn(t,e){var n=t.length;if(n>0){var r=()=>--n||e();for(var l of t)l.out(r)}else e()}function Qt(t,e,n){if((t.f&q)===0){if(t.f^=q,t.transitions!==null)for(const u of t.transitions)(u.is_global||n)&&e.push(u);for(var r=t.first;r!==null;){var l=r.next,f=(r.f&qt)!==0||(r.f&k)!==0;Qt(r,e,f?n:!1),r=l}}}function ke(t){Xt(t,!0)}function Xt(t,e){if((t.f&q)!==0){t.f^=q,(t.f&y)===0&&(t.f^=y),J(t)&&(R(t,D),vt(t));for(var n=t.first;n!==null;){var r=n.next,l=(n.f&qt)!==0||(n.f&k)!==0;Xt(n,l?e:!1),n=r}if(t.transitions!==null)for(const f of t.transitions)(f.is_global||e)&&f.in()}}let z=[],gt=[];function tn(){var t=z;z=[],Ct(t)}function qn(){var t=gt;gt=[],Ct(t)}function Pe(t){z.length===0&&queueMicrotask(tn),z.push(t)}function Mn(){z.length>0&&tn(),gt.length>0&&qn()}let tt=!1,rt=!1,lt=null,I=!1,H=!1;function Nt(t){H=t}let Z=[];let v=null,A=!1;function Y(t){v=t}let h=null;function ft(t){h=t}let w=null;function nn(t){v!==null&&v.f&dt&&(w===null?w=[t]:w.push(t))}let d=null,E=0,T=null;function Yn(t){T=t}let en=1,at=0,N=!1;function rn(){return++en}function J(t){var o;var e=t.f;if((e&D)!==0)return!0;if((e&C)!==0){var n=t.deps,r=(e&m)!==0;if(n!==null){var l,f,u=(e&et)!==0,i=r&&h!==null&&!N,a=n.length;if(u||i){var s=t,_=s.parent;for(l=0;l<a;l++)f=n[l],(u||!((o=f==null?void 0:f.reactions)!=null&&o.includes(s)))&&(f.reactions??(f.reactions=[])).push(s);u&&(s.f^=et),i&&_!==null&&(_.f&m)===0&&(s.f^=m)}for(l=0;l<a;l++)if(f=n[l],J(f)&&Ht(f),f.wv>t.wv)return!0}(!r||h!==null&&!N)&&R(t,y)}return!1}function Ln(t,e){for(var n=e;n!==null;){if((n.f&nt)!==0)try{n.fn(t);return}catch{n.f^=nt}n=n.parent}throw tt=!1,t}function It(t){return(t.f&ut)===0&&(t.parent===null||(t.parent.f&nt)===0)}function ct(t,e,n,r){if(tt){if(n===null&&(tt=!1),It(e))throw t;return}if(n!==null&&(tt=!0),Ln(t,e),It(e))throw t}function ln(t,e,n=!0){var r=t.reactions;if(r!==null)for(var l=0;l<r.length;l++){var f=r[l];w!=null&&w.includes(t)||((f.f&b)!==0?ln(f,e,!1):e===f&&(n?R(f,D):(f.f&y)!==0&&R(f,C),vt(f)))}}function fn(t){var x;var e=d,n=E,r=T,l=v,f=N,u=w,i=p,a=A,s=t.f;d=null,E=0,T=null,N=(s&m)!==0&&(A||!I||v===null),v=(s&(k|L))===0?t:null,w=null,Pt(t.ctx),A=!1,at++,t.f|=dt;try{var _=(0,t.fn)(),o=t.deps;if(d!==null){var c;if(st(t,E),o!==null&&E>0)for(o.length=E+d.length,c=0;c<d.length;c++)o[E+c]=d[c];else t.deps=o=d;if(!N)for(c=E;c<o.length;c++)((x=o[c]).reactions??(x.reactions=[])).push(t)}else o!==null&&E<o.length&&(st(t,E),o.length=E);if(_t()&&T!==null&&!A&&o!==null&&(t.f&(b|C|D))===0)for(c=0;c<T.length;c++)ln(T[c],t);return l!==null&&l!==t&&(at++,T!==null&&(r===null?r=T:r.push(...T))),_}finally{d=e,E=n,T=r,v=l,N=f,w=u,Pt(i),A=a,t.f^=dt}}function Un(t,e){let n=e.reactions;if(n!==null){var r=un.call(n,t);if(r!==-1){var l=n.length-1;l===0?n=e.reactions=null:(n[r]=n[l],n.pop())}}n===null&&(e.f&b)!==0&&(d===null||!d.includes(e))&&(R(e,C),(e.f&(m|et))===0&&(e.f^=et),Ut(e),st(e,0))}function st(t,e){var n=t.deps;if(n!==null)for(var r=e;r<n.length;r++)Un(t,n[r])}function At(t){var e=t.f;if((e&ut)===0){R(t,y);var n=h,r=p,l=I;h=t,I=!0;try{(e&mt)!==0?In(t):zt(t),Wt(t);var f=fn(t);t.teardown=typeof f=="function"?f:null,t.wv=en;var u=t.deps,i}catch(a){ct(a,t,n,r||t.ctx)}finally{I=l,h=n}}}function Bn(){try{gn()}catch(t){if(lt!==null)ct(t,lt,null);else throw t}}function an(){var t=I;try{var e=0;for(I=!0;Z.length>0;){e++>1e3&&Bn();var n=Z,r=n.length;Z=[];for(var l=0;l<r;l++){var f=Vn(n[l]);Hn(f)}$.clear()}}finally{rt=!1,I=t,lt=null}}function Hn(t){var e=t.length;if(e!==0)for(var n=0;n<e;n++){var r=t[n];if((r.f&(ut|q))===0)try{J(r)&&(At(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null?Jt(r):r.fn=null))}catch(l){ct(l,r,null,r.ctx)}}}function vt(t){rt||(rt=!0,queueMicrotask(an));for(var e=lt=t;e.parent!==null;){e=e.parent;var n=e.f;if((n&(L|k))!==0){if((n&y)===0)return;e.f^=y}}Z.push(e)}function Vn(t){for(var e=[],n=t;n!==null;){var r=n.f,l=(r&(k|L))!==0,f=l&&(r&y)!==0;if(!f&&(r&q)===0){if((r&jt)!==0)e.push(n);else if(l)n.f^=y;else try{J(n)&&At(n)}catch(a){ct(a,n,null,n.ctx)}var u=n.first;if(u!==null){n=u;continue}}var i=n.parent;for(n=n.next;n===null&&i!==null;)n=i.next,i=i.parent}return e}function Gn(t){for(var e;;){if(Mn(),Z.length===0)return e;rt=!0,an()}}async function Se(){await Promise.resolve(),Gn()}function V(t){var e=t.f,n=(e&b)!==0;if(v!==null&&!A){if(!(w!=null&&w.includes(t))){var r=v.deps;t.rv<at&&(t.rv=at,d===null&&r!==null&&r[E]===t?E++:d===null?d=[t]:(!N||!d.includes(t))&&d.push(t))}}else if(n&&t.deps===null&&t.effects===null){var l=t,f=l.parent;f!==null&&(f.f&m)===0&&(l.f^=m)}return n&&(l=t,J(l)&&Ht(l)),H&&$.has(t)?$.get(t):t.v}function Ne(t){var e=A;try{return A=!0,t()}finally{A=e}}const Kn=-7169;function R(t,e){t.f=t.f&Kn|e}function Ie(t){if(!(typeof t!="object"||!t||t instanceof EventTarget)){if(K in t)Et(t);else if(!Array.isArray(t))for(let e in t){const n=t[e];typeof n=="object"&&n&&K in n&&Et(n)}}}function Et(t,e=new Set){if(typeof t=="object"&&t!==null&&!(t instanceof EventTarget)&&!e.has(t)){e.add(t),t instanceof Date&&t.getTime();for(let r in t)try{Et(t[r],e)}catch{}const n=Ft(t);if(n!==Object.prototype&&n!==Array.prototype&&n!==Map.prototype&&n!==Set.prototype&&n!==Date.prototype){const r=on(n);for(let l in r){const f=r[l].get;if(f)try{f.call(t)}catch{}}}}}export{we as $,Pn as A,Pe as B,$n as C,sn as D,yt as E,On as F,ie as G,O as H,wt as I,W as J,ge as K,xn as L,U as M,Tt as N,he as O,Rn as P,Rt as Q,Xn as R,xe as S,se as T,Zn as U,Ae as V,Oe as W,Nn as X,qt as Y,ye as Z,bn as _,be as a,ke as a0,Cn as a1,g as a2,$t as a3,Sn as a4,K as a5,G as a6,te as a7,Jn as a8,ce as a9,le as aa,Lt as ab,j as ac,fe as ad,Qn as ae,re as af,ee as ag,ae as ah,Gn as ai,P as aj,Se as ak,_e as al,Wn as am,pn as an,Ne as b,p as c,zn as d,Ie as e,xt as f,V as g,ne as h,me as i,Ee as j,de as k,ot as l,ve as m,S as n,oe as o,ue as p,M as q,Ct as r,Te as s,De as t,Re as u,pe as v,Y as w,ft as x,v as y,h as z};
@@ -0,0 +1 @@
1
+ import{h as a}from"./BE7tr7jY.js";a();
@@ -0,0 +1 @@
1
+ import{c as d,u as g,a as i,r as l,b,g as p,d as m,e as v,f as h}from"./BE7tr7jY.js";function x(n=!1){const s=d,e=s.l.u;if(!e)return;let r=()=>v(s.s);if(n){let f=0,t={};const _=h(()=>{let c=!1;const a=s.s;for(const o in a)a[o]!==t[o]&&(t[o]=a[o],c=!0);return c&&f++,f});r=()=>p(_)}e.b.length&&g(()=>{u(s,r),l(e.b)}),i(()=>{const f=b(()=>e.m.map(m));return()=>{for(const t of f)typeof t=="function"&&t()}}),e.a.length&&i(()=>{u(s,r),l(e.a)})}function u(n,s){if(n.l.s)for(const e of n.l.s)p(e);s()}export{x as i};
@@ -0,0 +1 @@
1
+ import{a as o,c as t,l as c,b as l}from"./BE7tr7jY.js";function u(n){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function r(n){t===null&&u(),c&&t.l!==null?a(t).m.push(n):o(()=>{const e=l(n);if(typeof e=="function")return e})}function a(n){var e=n.l;return e.u??(e.u={a:[],b:[],m:[]})}export{r as o};
@@ -0,0 +1 @@
1
+ import{w as b,x as L,y as H,z as w,A as q,B as F,C as U,D as Y,E as R,F as x,T as G,G as $,q as p,H as f,v as V,I as N,J as A,K as O,L as j,M as z,N as M,O as T,P as J,Q as K,R as Q,S as X,U as Z,V as ee,W as re,p as te,c as ae,o as ne}from"./BE7tr7jY.js";const ie=["touchstart","touchmove"];function se(e){return ie.includes(e)}function oe(e){var r=H,t=w;b(null),L(null);try{return e()}finally{b(r),L(t)}}const ue=new Set,P=new Set;function fe(e,r,t,o={}){function n(a){if(o.capture||g.call(r,a),!a.cancelBubble)return oe(()=>t==null?void 0:t.call(this,a))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?F(()=>{r.addEventListener(e,n,o)}):r.addEventListener(e,n,o),n}function ve(e,r,t,o,n){var a={capture:o,passive:n},i=fe(e,r,t,a);(r===document.body||r===window||r===document||r instanceof HTMLMediaElement)&&q(()=>{r.removeEventListener(e,i,a)})}function g(e){var I;var r=this,t=r.ownerDocument,o=e.type,n=((I=e.composedPath)==null?void 0:I.call(e))||[],a=n[0]||e.target,i=0,_=e.__root;if(_){var l=n.indexOf(_);if(l!==-1&&(r===document||r===window)){e.__root=r;return}var y=n.indexOf(r);if(y===-1)return;l<=y&&(i=l)}if(a=n[i]||e.target,a!==r){U(e,"currentTarget",{configurable:!0,get(){return a||t}});var S=H,c=w;b(null),L(null);try{for(var s,u=[];a!==null;){var d=a.assignedSlot||a.parentNode||a.host||null;try{var h=a["__"+o];if(h!=null&&(!a.disabled||e.target===a))if(Y(h)){var[k,...B]=h;k.apply(a,[e,...B])}else h.call(a,e)}catch(E){s?u.push(E):s=E}if(e.cancelBubble||d===r||d===null)break;a=d}if(s){for(let E of u)queueMicrotask(()=>{throw E});throw s}}finally{e.__root=r,delete e.currentTarget,b(S),L(c)}}}function ce(e){var r=document.createElement("template");return r.innerHTML=e.replaceAll("<!>","<!---->"),r.content}function v(e,r){var t=w;t.nodes_start===null&&(t.nodes_start=e,t.nodes_end=r)}function he(e,r){var t=(r&G)!==0,o=(r&$)!==0,n,a=!e.startsWith("<!>");return()=>{if(p)return v(f,null),f;n===void 0&&(n=ce(a?e:"<!>"+e),t||(n=R(n)));var i=o||x?document.importNode(n,!0):n.cloneNode(!0);if(t){var _=R(i),l=i.lastChild;v(_,l)}else v(i,i);return i}}function pe(e=""){if(!p){var r=N(e+"");return v(r,r),r}var t=f;return t.nodeType!==3&&(t.before(t=N()),A(t)),v(t,t),t}function ye(){if(p)return v(f,null),f;var e=document.createDocumentFragment(),r=document.createComment(""),t=N();return e.append(r,t),v(r,t),e}function me(e,r){if(p){w.nodes_end=f,V();return}e!==null&&e.before(r)}function ge(e,r){var t=r==null?"":typeof r=="object"?r+"":r;t!==(e.__t??(e.__t=e.nodeValue))&&(e.__t=t,e.nodeValue=t+"")}function le(e,r){return W(e,r)}function we(e,r){O(),r.intro=r.intro??!1;const t=r.target,o=p,n=f;try{for(var a=R(t);a&&(a.nodeType!==8||a.data!==j);)a=z(a);if(!a)throw M;T(!0),A(a),V();const i=W(e,{...r,anchor:a});if(f===null||f.nodeType!==8||f.data!==J)throw K(),M;return T(!1),i}catch(i){if(i===M)return r.recover===!1&&Q(),O(),X(t),T(!1),le(e,r);throw i}finally{T(o),A(n)}}const m=new Map;function W(e,{target:r,anchor:t,props:o={},events:n,context:a,intro:i=!0}){O();var _=new Set,l=c=>{for(var s=0;s<c.length;s++){var u=c[s];if(!_.has(u)){_.add(u);var d=se(u);r.addEventListener(u,g,{passive:d});var h=m.get(u);h===void 0?(document.addEventListener(u,g,{passive:d}),m.set(u,1)):m.set(u,h+1)}}};l(Z(ue)),P.add(l);var y=void 0,S=ee(()=>{var c=t??r.appendChild(N());return re(()=>{if(a){te({});var s=ae;s.c=a}n&&(o.$$events=n),p&&v(c,null),y=e(c,o)||{},p&&(w.nodes_end=f),a&&ne()}),()=>{var d;for(var s of _){r.removeEventListener(s,g);var u=m.get(s);--u===0?(document.removeEventListener(s,g),m.delete(s)):m.set(s,u)}P.delete(l),c!==t&&((d=c.parentNode)==null||d.removeChild(c))}});return D.set(y,S),y}let D=new WeakMap;function Ee(e,r){const t=D.get(e);return t?(D.delete(e),t(r)):Promise.resolve()}const de="5";var C;typeof window<"u"&&((C=window.__svelte??(window.__svelte={})).v??(C.v=new Set)).add(de);export{me as a,ye as c,ve as e,he as f,we as h,le as m,ge as s,pe as t,Ee as u};
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_app/immutable/nodes/0.C2f_W7A4.js","_app/immutable/chunks/Dn606rGI.js","_app/immutable/chunks/BE7tr7jY.js","_app/immutable/chunks/BPGb7Zdx.js","_app/immutable/chunks/Di6rzPgH.js","_app/immutable/chunks/CWtmxeuR.js","_app/immutable/assets/0.Dpc_EyHf.css","_app/immutable/nodes/1.gWYCHO42.js","_app/immutable/chunks/B5qx6vkG.js","_app/immutable/nodes/2.D4NnrcN9.js","_app/immutable/assets/2.CAqZwIuH.css"])))=>i.map(i=>d[i]);
2
+ var X=t=>{throw TypeError(t)};var K=(t,e,r)=>e.has(t)||X("Cannot "+r);var E=(t,e,r)=>(K(t,e,"read from private field"),r?r.call(t):e.get(t)),U=(t,e,r)=>e.has(t)?X("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),Y=(t,e,r,n)=>(K(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r);import{q as D,v as ae,X as se,Y as ne,Z as de,L as _e,_ as ve,$ as he,J as me,O as Q,a0 as $,W as x,a1 as z,a2 as ge,H as ie,a3 as Ee,a4 as be,b as J,B as Pe,a5 as fe,a6 as ye,a7 as Se,a8 as Re,f as p,a9 as Ie,aa as Ae,g as m,ab as Oe,ac as Te,n as C,m as ce,ad as Le,ae as ue,l as we,af as De,ag as Ce,ah as ke,ai as qe,C as je,p as Ne,u as Ue,a as Ye,aj as B,ak as Be,i as q,s as Ve,o as He,j as Ze,k as Fe,al as V,t as Ge}from"../chunks/BE7tr7jY.js";import{h as Me,m as We,u as xe,f as oe,a as L,c as H,t as ze,s as Je}from"../chunks/Dn606rGI.js";import{o as Xe}from"../chunks/Di6rzPgH.js";function Z(t,e,[r,n]=[0,0]){D&&r===0&&ae();var f=t,i=null,s=null,a=ge,v=r>0?ne:0,c=!1;const b=(u,g=!0)=>{c=!0,h(g,u)},h=(u,g)=>{if(a===(a=u))return;let S=!1;if(D&&n!==-1){if(r===0){const d=de(f);d===_e?n=0:d===ve?n=1/0:(n=parseInt(d.substring(1)),n!==n&&(n=a?1/0:-1))}const _=n>r;!!a===_&&(f=he(),me(f),Q(!1),S=!0,n=-1)}a?(i?$(i):g&&(i=x(()=>g(f))),s&&z(s,()=>{s=null})):(s?$(s):g&&(s=x(()=>g(f,[r+1,n]))),i&&z(i,()=>{i=null})),S&&Q(!0)};se(()=>{c=!1,e(b),c||h(null,null)},v),D&&(f=ie)}function F(t,e,r){D&&ae();var n=t,f,i;se(()=>{f!==(f=e())&&(i&&(z(i),i=null),f&&(i=x(()=>r(n,f))))},ne),D&&(n=ie)}function ee(t,e){return t===e||(t==null?void 0:t[fe])===e}function G(t={},e,r,n){return Ee(()=>{var f,i;return be(()=>{f=i,i=[],J(()=>{t!==r(...i)&&(e(t,...i),f&&ee(r(...f),t)&&e(null,...f))})}),()=>{Pe(()=>{i&&ee(r(...i),t)&&e(null,...i)})}}),t}let j=!1;function Ke(t){var e=j;try{return j=!1,[t(),j]}finally{j=e}}function te(t){var e;return((e=t.ctx)==null?void 0:e.d)??!1}function M(t,e,r,n){var N;var f=(r&Ce)!==0,i=!we||(r&De)!==0,s=(r&Le)!==0,a=(r&ke)!==0,v=!1,c;s?[c,v]=Ke(()=>t[e]):c=t[e];var b=fe in t||ue in t,h=s&&(((N=ye(t,e))==null?void 0:N.set)??(b&&e in t&&(l=>t[e]=l)))||void 0,u=n,g=!0,S=!1,_=()=>(S=!0,g&&(g=!1,a?u=J(n):u=n),u);c===void 0&&n!==void 0&&(h&&i&&Se(),c=_(),h&&h(c));var d;if(i)d=()=>{var l=t[e];return l===void 0?_():(g=!0,S=!1,l)};else{var A=(f?p:Ie)(()=>t[e]);A.f|=Re,d=()=>{var l=m(A);return l!==void 0&&(u=void 0),l===void 0?u:l}}if((r&Ae)===0)return d;if(h){var T=t.$$legacy;return function(l,O){return arguments.length>0?((!i||!O||T||v)&&h(O?d():l),l):d()}}var y=!1,R=ce(c),o=p(()=>{var l=d(),O=m(R);return y?(y=!1,O):R.v=l});return s&&m(o),f||(o.equals=Oe),function(l,O){if(arguments.length>0){const w=O?m(o):i&&s?Te(l):l;if(!o.equals(w)){if(y=!0,C(R,w),S&&u!==void 0&&(u=w),te(o))return l;J(()=>m(o))}return l}return te(o)?o.v:m(o)}}function Qe(t){return class extends $e{constructor(e){super({component:t,...e})}}}var I,P;class $e{constructor(e){U(this,I);U(this,P);var i;var r=new Map,n=(s,a)=>{var v=ce(a);return r.set(s,v),v};const f=new Proxy({...e.props||{},$$events:{}},{get(s,a){return m(r.get(a)??n(a,Reflect.get(s,a)))},has(s,a){return a===ue?!0:(m(r.get(a)??n(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,v){return C(r.get(a)??n(a,v),v),Reflect.set(s,a,v)}});Y(this,P,(e.hydrate?Me:We)(e.component,{target:e.target,anchor:e.anchor,props:f,context:e.context,intro:e.intro??!1,recover:e.recover})),(!((i=e==null?void 0:e.props)!=null&&i.$$host)||e.sync===!1)&&qe(),Y(this,I,f.$$events);for(const s of Object.keys(E(this,P)))s==="$set"||s==="$destroy"||s==="$on"||je(this,s,{get(){return E(this,P)[s]},set(a){E(this,P)[s]=a},enumerable:!0});E(this,P).$set=s=>{Object.assign(f,s)},E(this,P).$destroy=()=>{xe(E(this,P))}}$set(e){E(this,P).$set(e)}$on(e,r){E(this,I)[e]=E(this,I)[e]||[];const n=(...f)=>r.call(this,...f);return E(this,I)[e].push(n),()=>{E(this,I)[e]=E(this,I)[e].filter(f=>f!==n)}}$destroy(){E(this,P).$destroy()}}I=new WeakMap,P=new WeakMap;const pe="modulepreload",et=function(t){return"/"+t},re={},W=function(e,r,n){let f=Promise.resolve();if(r&&r.length>0){let s=function(c){return Promise.all(c.map(b=>Promise.resolve(b).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),v=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));f=s(r.map(c=>{if(c=et(c),c in re)return;re[c]=!0;const b=c.endsWith(".css"),h=b?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${h}`))return;const u=document.createElement("link");if(u.rel=b?"stylesheet":pe,b||(u.as="script"),u.crossOrigin="",u.href=c,v&&u.setAttribute("nonce",v),document.head.appendChild(u),b)return new Promise((g,S)=>{u.addEventListener("load",g),u.addEventListener("error",()=>S(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return f.then(s=>{for(const a of s||[])a.status==="rejected"&&i(a.reason);return e().catch(i)})},ot={};var tt=oe('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),rt=oe("<!> <!>",1);function at(t,e){Ne(e,!0);let r=M(e,"components",23,()=>[]),n=M(e,"data_0",3,null),f=M(e,"data_1",3,null);Ue(()=>e.stores.page.set(e.page)),Ye(()=>{e.stores,e.page,e.constructors,r(),e.form,n(),f(),e.stores.page.notify()});let i=B(!1),s=B(!1),a=B(null);Xe(()=>{const _=e.stores.page.subscribe(()=>{m(i)&&(C(s,!0),Be().then(()=>{C(a,document.title||"untitled page",!0)}))});return C(i,!0),_});const v=V(()=>e.constructors[1]);var c=rt(),b=q(c);{var h=_=>{var d=H();const A=V(()=>e.constructors[0]);var T=q(d);F(T,()=>m(A),(y,R)=>{G(R(y,{get data(){return n()},get form(){return e.form},children:(o,N)=>{var l=H(),O=q(l);F(O,()=>m(v),(w,le)=>{G(le(w,{get data(){return f()},get form(){return e.form}}),k=>r()[1]=k,()=>{var k;return(k=r())==null?void 0:k[1]})}),L(o,l)},$$slots:{default:!0}}),o=>r()[0]=o,()=>{var o;return(o=r())==null?void 0:o[0]})}),L(_,d)},u=_=>{var d=H();const A=V(()=>e.constructors[0]);var T=q(d);F(T,()=>m(A),(y,R)=>{G(R(y,{get data(){return n()},get form(){return e.form}}),o=>r()[0]=o,()=>{var o;return(o=r())==null?void 0:o[0]})}),L(_,d)};Z(b,_=>{e.constructors[1]?_(h):_(u,!1)})}var g=Ve(b,2);{var S=_=>{var d=tt(),A=Ze(d);{var T=y=>{var R=ze();Ge(()=>Je(R,m(a))),L(y,R)};Z(A,y=>{m(s)&&y(T)})}Fe(d),L(_,d)};Z(g,_=>{m(i)&&_(S)})}L(t,c),He()}const lt=Qe(at),dt=[()=>W(()=>import("../nodes/0.C2f_W7A4.js"),__vite__mapDeps([0,1,2,3,4,5,6])),()=>W(()=>import("../nodes/1.gWYCHO42.js"),__vite__mapDeps([7,1,2,3,5,8,4])),()=>W(()=>import("../nodes/2.D4NnrcN9.js"),__vite__mapDeps([9,1,2,3,10]))],_t=[],vt={"/":[2]},st={handleError:({error:t})=>{console.error(t)},reroute:()=>{},transport:{}},nt=Object.fromEntries(Object.entries(st.transport).map(([t,e])=>[t,e.decode])),ht=!1,mt=(t,e)=>nt[t](e);export{mt as decode,nt as decoders,vt as dictionary,ht as hash,st as hooks,ot as matchers,dt as nodes,lt as root,_t as server_loads};
@@ -0,0 +1 @@
1
+ import{l as o,a as r}from"../chunks/B5qx6vkG.js";export{o as load_css,r as start};
@@ -0,0 +1,5 @@
1
+ import{f as y,a as b,s as g}from"../chunks/Dn606rGI.js";import"../chunks/BPGb7Zdx.js";import{o as w}from"../chunks/Di6rzPgH.js";import{q as x,v as k,p as j,i as D,t as $,o as M,n as O,m as P,s as p,j as r,k as t,g as S}from"../chunks/BE7tr7jY.js";import{i as q}from"../chunks/CWtmxeuR.js";function z(h,s,l,o,n){var a;x&&k();var e=(a=s.$$slots)==null?void 0:a[l],c=!1;e===!0&&(e=s.children,c=!0),e===void 0||e(h,c?()=>o:o)}const E=!0,G=Object.freeze(Object.defineProperty({__proto__:null,prerender:E},Symbol.toStringTag,{value:"Module"})),I="vag_ui",T="0.1.1",u={name:I,version:T};var U=y('<header class="svelte-12vn5r8"><h1 class="svelte-12vn5r8">Vag webUI</h1> <span> </span></header> <main class="svelte-12vn5r8"><!></main> <footer class="svelte-12vn5r8"><article><ol><li><a href="https://charlyoleg2.github.io/vag">homepage</a></li> <li><a href="https://www.npmjs.com/package/vag_tools">npm-package</a></li> <li><a href="https://github.com/charlyoleg2/vag">sources</a></li></ol></article> <article><h6>Examples</h6> <ol><li><a href="https://github.com/charlyoleg2/parametrix_vag">parametrix_vag</a></li></ol></article> <article><pre> </pre></article></footer>',1);function H(h,s){j(s,!1);let l=P("unknown");w(async()=>{try{const i=await fetch("/api/currDir");if(i.ok)O(l,await i.text());else throw`err312: fetch response status ${i.status}`}catch(i){console.log("err621: error while fetching /api/currDir"),console.log(i)}}),q();var o=U(),n=D(o),e=p(r(n),2),c=r(e);t(e),t(n);var a=p(n,2),_=r(a);z(_,s,"default",{}),t(a);var f=p(a,2),m=p(r(f),4),v=r(m),d=r(v);t(v),t(m),t(f),$(()=>{g(c,`running in the directory : ${S(l)??""}`),g(d,`
2
+ npm package:
3
+ name: ${u.name}
4
+ version : ${u.version}
5
+ `)}),b(h,o),M()}export{H as component,G as universal};
@@ -0,0 +1 @@
1
+ import{f as h,a as g,s as e}from"../chunks/Dn606rGI.js";import"../chunks/BPGb7Zdx.js";import{p as l,i as v,t as d,o as _,j as o,k as p,s as x}from"../chunks/BE7tr7jY.js";import{i as k}from"../chunks/CWtmxeuR.js";import{s as $,p as i}from"../chunks/B5qx6vkG.js";const b={get error(){return i.error},get status(){return i.status}};$.updated.check;const m=b;var j=h("<h1> </h1> <p> </p>",1);function A(f,n){l(n,!1),k();var r=j(),t=v(r),c=o(t,!0);p(t);var s=x(t,2),u=o(s,!0);p(s),d(()=>{var a;e(c,m.status),e(u,(a=m.error)==null?void 0:a.message)}),g(f,r),_()}export{A as component};
@@ -0,0 +1 @@
1
+ import{f as _,e as p,a as d,s as g}from"../chunks/Dn606rGI.js";import"../chunks/BPGb7Zdx.js";import{s as t,i as h,t as x,j as s,k as a,g as y,m as T,n as j}from"../chunks/BE7tr7jY.js";var q=_('<h1>Trigger a sequence of tasks</h1> <p><button class="svelte-s3y5ud">task-1</button></p> <p><button class="svelte-s3y5ud">task-2</button></p> <p><button class="svelte-s3y5ud">task-3</button></p> <h6>last task</h6> <p> </p>',1);function A(i){let l=T("0");function e(f){j(l,`task-${f}`)}var u=q(),o=t(h(u),2),v=s(o);a(o);var r=t(o,2),k=s(r);a(r);var n=t(r,2),m=s(n);a(n);var c=t(n,4),b=s(c,!0);a(c),x(()=>g(b,y(l))),p("click",v,()=>e(1)),p("click",k,()=>e(2)),p("click",m,()=>e(3)),d(i,u)}export{A as component};
@@ -1 +1 @@
1
- {"version":"1727469092673"}
1
+ {"version":"1748640210322"}
@@ -5,39 +5,41 @@
5
5
  <link rel="icon" href="/favicon.png" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1" />
7
7
 
8
- <link href="/_app/immutable/assets/0.C7lbsLW4.css" rel="stylesheet">
9
- <link href="/_app/immutable/assets/2.DCg60gzD.css" rel="stylesheet">
10
- <link rel="modulepreload" href="/_app/immutable/entry/start.DyCObnGs.js">
11
- <link rel="modulepreload" href="/_app/immutable/chunks/entry.D1rmEaOP.js">
12
- <link rel="modulepreload" href="/_app/immutable/chunks/scheduler.Bmg8oFKD.js">
13
- <link rel="modulepreload" href="/_app/immutable/entry/app.C8dH5I0s.js">
14
- <link rel="modulepreload" href="/_app/immutable/chunks/index.Q3sXdwuS.js">
15
- <link rel="modulepreload" href="/_app/immutable/nodes/0.wSBy_e-q.js">
16
- <link rel="modulepreload" href="/_app/immutable/nodes/2.ydMGe4kB.js">
8
+ <link href="/_app/immutable/assets/0.Dpc_EyHf.css" rel="stylesheet">
9
+ <link href="/_app/immutable/assets/2.CAqZwIuH.css" rel="stylesheet">
10
+ <link rel="modulepreload" href="/_app/immutable/entry/start.Diq2ZV0p.js">
11
+ <link rel="modulepreload" href="/_app/immutable/chunks/B5qx6vkG.js">
12
+ <link rel="modulepreload" href="/_app/immutable/chunks/BE7tr7jY.js">
13
+ <link rel="modulepreload" href="/_app/immutable/chunks/Di6rzPgH.js">
14
+ <link rel="modulepreload" href="/_app/immutable/entry/app.C886mZj8.js">
15
+ <link rel="modulepreload" href="/_app/immutable/chunks/Dn606rGI.js">
16
+ <link rel="modulepreload" href="/_app/immutable/nodes/0.C2f_W7A4.js">
17
+ <link rel="modulepreload" href="/_app/immutable/chunks/BPGb7Zdx.js">
18
+ <link rel="modulepreload" href="/_app/immutable/chunks/CWtmxeuR.js">
19
+ <link rel="modulepreload" href="/_app/immutable/nodes/2.D4NnrcN9.js">
17
20
  </head>
18
21
  <body data-sveltekit-preload-data="hover">
19
- <div style="display: contents"> <header class="svelte-12vn5r8"><h1 class="svelte-12vn5r8" data-svelte-h="svelte-1rc6va0">Vag webUI</h1> <span>running in the directory : unknown</span></header> <main class="svelte-12vn5r8"><h1 data-svelte-h="svelte-xgr9af">Trigger a sequence of tasks</h1> <p><button class="svelte-s3y5ud" data-svelte-h="svelte-dxvtgv">task-1</button></p> <p><button class="svelte-s3y5ud" data-svelte-h="svelte-txz99p">task-2</button></p> <p><button class="svelte-s3y5ud" data-svelte-h="svelte-1uth7kz">task-3</button></p> <h6 data-svelte-h="svelte-zjuiq9">last task</h6> <p>0</p></main> <footer class="svelte-12vn5r8"><article data-svelte-h="svelte-b8gwxe"><ol><li><a href="https://charlyoleg2.github.io/vag">homepage</a></li> <li><a href="https://www.npmjs.com/package/vag_tools">npm-package</a></li> <li><a href="https://github.com/charlyoleg2/vag">sources</a></li></ol></article> <article data-svelte-h="svelte-x5z1nf"><h6>Examples</h6> <ol><li><a href="https://github.com/charlyoleg2/parametrix_vag">parametrix_vag</a></li></ol></article> <article><pre>npm package:
22
+ <div style="display: contents"><!--[--><!--[--><!----><header class="svelte-12vn5r8"><h1 class="svelte-12vn5r8">Vag webUI</h1> <span>running in the directory : unknown</span></header> <main class="svelte-12vn5r8"><!----><!----><h1>Trigger a sequence of tasks</h1> <p><button class="svelte-s3y5ud">task-1</button></p> <p><button class="svelte-s3y5ud">task-2</button></p> <p><button class="svelte-s3y5ud">task-3</button></p> <h6>last task</h6> <p>0</p><!----><!----></main> <footer class="svelte-12vn5r8"><article><ol><li><a href="https://charlyoleg2.github.io/vag">homepage</a></li> <li><a href="https://www.npmjs.com/package/vag_tools">npm-package</a></li> <li><a href="https://github.com/charlyoleg2/vag">sources</a></li></ol></article> <article><h6>Examples</h6> <ol><li><a href="https://github.com/charlyoleg2/parametrix_vag">parametrix_vag</a></li></ol></article> <article><pre>
23
+ npm package:
20
24
  name: vag_ui
21
- version : 0.0.4
22
- </pre></article> </footer>
25
+ version : 0.1.1
26
+ </pre></article></footer><!----><!--]--> <!--[!--><!--]--><!--]-->
23
27
 
24
28
  <script>
25
29
  {
26
- __sveltekit_uh02pg = {
30
+ __sveltekit_1e3ykjh = {
27
31
  base: ""
28
32
  };
29
33
 
30
34
  const element = document.currentScript.parentElement;
31
35
 
32
- const data = [null,null];
33
-
34
36
  Promise.all([
35
- import("/_app/immutable/entry/start.DyCObnGs.js"),
36
- import("/_app/immutable/entry/app.C8dH5I0s.js")
37
+ import("/_app/immutable/entry/start.Diq2ZV0p.js"),
38
+ import("/_app/immutable/entry/app.C886mZj8.js")
37
39
  ]).then(([kit, app]) => {
38
40
  kit.start(app, element, {
39
41
  node_ids: [0, 2],
40
- data,
42
+ data: [null,null],
41
43
  form: null,
42
44
  error: null
43
45
  });
package/dist/vag_cli.js CHANGED
@@ -5,9 +5,9 @@ import yargs from "yargs";
5
5
  import { hideBin } from "yargs/helpers";
6
6
 
7
7
  // src/vag_core.ts
8
- import path from "node:path";
9
- import fs from "node:fs";
10
- import fsp from "node:fs/promises";
8
+ import path from "path";
9
+ import fs from "fs";
10
+ import fsp from "fs/promises";
11
11
  import fse from "fs-extra";
12
12
  import YAML from "yaml";
13
13
  import { simpleGit } from "simple-git";
@@ -15,12 +15,39 @@ import { simpleGit } from "simple-git";
15
15
  // package.json
16
16
  var package_default = {
17
17
  name: "vag_tools",
18
- version: "0.0.10",
18
+ version: "0.1.1",
19
19
  description: "api and cli for managing sub-git-repositories",
20
- type: "module",
21
20
  private: false,
22
- main: "./dist/vag_core.js",
23
- types: "./dist/vag_core.d.ts",
21
+ repository: {
22
+ type: "git",
23
+ url: "git+https://github.com/charlyoleg2/vag.git"
24
+ },
25
+ keywords: [
26
+ "git",
27
+ "sub-repo",
28
+ "multi-repo",
29
+ "submodule",
30
+ "subtree",
31
+ "vcs",
32
+ "vcstool",
33
+ "repositories"
34
+ ],
35
+ author: "charlyoleg",
36
+ license: "ISC",
37
+ bugs: {
38
+ url: "https://github.com/charlyoleg2/vag/issues"
39
+ },
40
+ homepage: "https://charlyoleg2.github.io/vag/",
41
+ type: "module",
42
+ engines: {
43
+ node: ">=20.10.0"
44
+ },
45
+ exports: {
46
+ ".": {
47
+ types: "./dist/vag_core.d.ts",
48
+ default: "./dist/vag_core.js"
49
+ }
50
+ },
24
51
  bin: {
25
52
  vag: "dist/vag_cli.js",
26
53
  vagg: "dist/vagg_server.js"
@@ -31,8 +58,13 @@ var package_default = {
31
58
  "!dist/**/*.test.*",
32
59
  "!dist/**/*.spec.*"
33
60
  ],
34
- engines: {
35
- node: ">=20.10.0"
61
+ prettier: {
62
+ useTabs: true,
63
+ singleQuote: true,
64
+ trailingComma: "none",
65
+ printWidth: 100,
66
+ plugins: [],
67
+ overrides: []
36
68
  },
37
69
  tsup: {
38
70
  entry: [
@@ -66,56 +98,28 @@ var package_default = {
66
98
  "run:clients": "tests/run_clients.sh",
67
99
  clean_all: "run-s clean"
68
100
  },
69
- repository: {
70
- type: "git",
71
- url: "git+https://github.com/charlyoleg2/vag.git"
72
- },
73
- keywords: [
74
- "git",
75
- "sub-repo",
76
- "multi-repo",
77
- "submodule",
78
- "subtree",
79
- "vcs",
80
- "vcstool",
81
- "repositories"
82
- ],
83
- author: "charlyoleg",
84
- license: "ISC",
85
- bugs: {
86
- url: "https://github.com/charlyoleg2/vag/issues"
87
- },
88
- homepage: "https://github.com/charlyoleg2/vag#readme",
89
101
  dependencies: {
90
- "@hono/node-server": "^1.13.1",
91
- "fs-extra": "^11.2.0",
92
- hono: "^4.6.3",
102
+ "@hono/node-server": "^1.14.3",
103
+ "fs-extra": "^11.3.0",
104
+ hono: "^4.7.10",
93
105
  "simple-git": "^3.27.0",
94
- "socket.io": "^4.8.0",
95
- "socket.io-client": "^4.8.0",
96
- yaml: "^2.5.1",
97
- yargs: "^17.7.2"
106
+ "socket.io": "^4.8.1",
107
+ "socket.io-client": "^4.8.1",
108
+ yaml: "^2.8.0",
109
+ yargs: "^18.0.0"
98
110
  },
99
111
  devDependencies: {
100
112
  "@types/fs-extra": "^11.0.4",
101
- "@types/node": "^22.7.4",
113
+ "@types/node": "^22.15.29",
102
114
  "@types/yargs": "^17.0.33",
103
- eslint: "^9.11.1",
115
+ eslint: "^9.27.0",
104
116
  "npm-run-all": "^4.1.5",
105
- prettier: "^3.3.3",
106
- shx: "^0.3.4",
107
- tsup: "^8.3.0",
108
- typescript: "^5.6.2",
109
- "typescript-eslint": "^8.7.0",
110
- vitest: "^2.1.1"
111
- },
112
- prettier: {
113
- useTabs: true,
114
- singleQuote: true,
115
- trailingComma: "none",
116
- printWidth: 100,
117
- plugins: [],
118
- overrides: []
117
+ prettier: "^3.5.3",
118
+ shx: "^0.4.0",
119
+ tsup: "^8.5.0",
120
+ typescript: "^5.8.3",
121
+ "typescript-eslint": "^8.33.0",
122
+ vitest: "^3.1.4"
119
123
  }
120
124
  };
121
125
 
package/dist/vag_core.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // src/vag_core.ts
2
- import path from "node:path";
3
- import fs from "node:fs";
4
- import fsp from "node:fs/promises";
2
+ import path from "path";
3
+ import fs from "fs";
4
+ import fsp from "fs/promises";
5
5
  import fse from "fs-extra";
6
6
  import YAML from "yaml";
7
7
  import { simpleGit } from "simple-git";
@@ -9,12 +9,39 @@ import { simpleGit } from "simple-git";
9
9
  // package.json
10
10
  var package_default = {
11
11
  name: "vag_tools",
12
- version: "0.0.10",
12
+ version: "0.1.1",
13
13
  description: "api and cli for managing sub-git-repositories",
14
- type: "module",
15
14
  private: false,
16
- main: "./dist/vag_core.js",
17
- types: "./dist/vag_core.d.ts",
15
+ repository: {
16
+ type: "git",
17
+ url: "git+https://github.com/charlyoleg2/vag.git"
18
+ },
19
+ keywords: [
20
+ "git",
21
+ "sub-repo",
22
+ "multi-repo",
23
+ "submodule",
24
+ "subtree",
25
+ "vcs",
26
+ "vcstool",
27
+ "repositories"
28
+ ],
29
+ author: "charlyoleg",
30
+ license: "ISC",
31
+ bugs: {
32
+ url: "https://github.com/charlyoleg2/vag/issues"
33
+ },
34
+ homepage: "https://charlyoleg2.github.io/vag/",
35
+ type: "module",
36
+ engines: {
37
+ node: ">=20.10.0"
38
+ },
39
+ exports: {
40
+ ".": {
41
+ types: "./dist/vag_core.d.ts",
42
+ default: "./dist/vag_core.js"
43
+ }
44
+ },
18
45
  bin: {
19
46
  vag: "dist/vag_cli.js",
20
47
  vagg: "dist/vagg_server.js"
@@ -25,8 +52,13 @@ var package_default = {
25
52
  "!dist/**/*.test.*",
26
53
  "!dist/**/*.spec.*"
27
54
  ],
28
- engines: {
29
- node: ">=20.10.0"
55
+ prettier: {
56
+ useTabs: true,
57
+ singleQuote: true,
58
+ trailingComma: "none",
59
+ printWidth: 100,
60
+ plugins: [],
61
+ overrides: []
30
62
  },
31
63
  tsup: {
32
64
  entry: [
@@ -60,56 +92,28 @@ var package_default = {
60
92
  "run:clients": "tests/run_clients.sh",
61
93
  clean_all: "run-s clean"
62
94
  },
63
- repository: {
64
- type: "git",
65
- url: "git+https://github.com/charlyoleg2/vag.git"
66
- },
67
- keywords: [
68
- "git",
69
- "sub-repo",
70
- "multi-repo",
71
- "submodule",
72
- "subtree",
73
- "vcs",
74
- "vcstool",
75
- "repositories"
76
- ],
77
- author: "charlyoleg",
78
- license: "ISC",
79
- bugs: {
80
- url: "https://github.com/charlyoleg2/vag/issues"
81
- },
82
- homepage: "https://github.com/charlyoleg2/vag#readme",
83
95
  dependencies: {
84
- "@hono/node-server": "^1.13.1",
85
- "fs-extra": "^11.2.0",
86
- hono: "^4.6.3",
96
+ "@hono/node-server": "^1.14.3",
97
+ "fs-extra": "^11.3.0",
98
+ hono: "^4.7.10",
87
99
  "simple-git": "^3.27.0",
88
- "socket.io": "^4.8.0",
89
- "socket.io-client": "^4.8.0",
90
- yaml: "^2.5.1",
91
- yargs: "^17.7.2"
100
+ "socket.io": "^4.8.1",
101
+ "socket.io-client": "^4.8.1",
102
+ yaml: "^2.8.0",
103
+ yargs: "^18.0.0"
92
104
  },
93
105
  devDependencies: {
94
106
  "@types/fs-extra": "^11.0.4",
95
- "@types/node": "^22.7.4",
107
+ "@types/node": "^22.15.29",
96
108
  "@types/yargs": "^17.0.33",
97
- eslint: "^9.11.1",
109
+ eslint: "^9.27.0",
98
110
  "npm-run-all": "^4.1.5",
99
- prettier: "^3.3.3",
100
- shx: "^0.3.4",
101
- tsup: "^8.3.0",
102
- typescript: "^5.6.2",
103
- "typescript-eslint": "^8.7.0",
104
- vitest: "^2.1.1"
105
- },
106
- prettier: {
107
- useTabs: true,
108
- singleQuote: true,
109
- trailingComma: "none",
110
- printWidth: 100,
111
- plugins: [],
112
- overrides: []
111
+ prettier: "^3.5.3",
112
+ shx: "^0.4.0",
113
+ tsup: "^8.5.0",
114
+ typescript: "^5.8.3",
115
+ "typescript-eslint": "^8.33.0",
116
+ vitest: "^3.1.4"
113
117
  }
114
118
  };
115
119
 
@@ -5,6 +5,7 @@ import { Hono } from "hono";
5
5
  import { serve as honoServer } from "@hono/node-server";
6
6
  import { serveStatic } from "@hono/node-server/serve-static";
7
7
  import { Server as WSserver } from "socket.io";
8
+ import { setTimeout as sleep } from "timers/promises";
8
9
  console.log("hello from vagg_server.ts!");
9
10
  var app = new Hono();
10
11
  var port = 3e3;
@@ -19,11 +20,11 @@ app.get("/api/currDir", (ctx) => {
19
20
  const rCurrDir = process.cwd();
20
21
  return ctx.text(rCurrDir);
21
22
  });
23
+ var publicAbsPath = "./dist/public";
22
24
  app.use(
23
25
  "*",
24
26
  serveStatic({
25
- root: "./dist/public",
26
- // TODO: change it to absolute path
27
+ root: publicAbsPath,
27
28
  onNotFound: (path, ctx) => {
28
29
  console.log(`dbg028: ${path} is not found, request to ${ctx.req.path}`);
29
30
  }
@@ -36,5 +37,6 @@ io.on("connection", (socket) => {
36
37
  console.log(`server receives: ${arg}`);
37
38
  });
38
39
  });
40
+ await sleep(100);
39
41
  console.log(`vagg_server is running on port ${port}`);
40
42
  //# sourceMappingURL=vagg_server.js.map
package/package.json CHANGED
@@ -1,11 +1,38 @@
1
1
  {
2
2
  "name": "vag_tools",
3
- "version": "0.0.10",
3
+ "version": "0.1.1",
4
4
  "description": "api and cli for managing sub-git-repositories",
5
- "type": "module",
6
5
  "private": false,
7
- "main": "./dist/vag_core.js",
8
- "types": "./dist/vag_core.d.ts",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/charlyoleg2/vag.git"
9
+ },
10
+ "keywords": [
11
+ "git",
12
+ "sub-repo",
13
+ "multi-repo",
14
+ "submodule",
15
+ "subtree",
16
+ "vcs",
17
+ "vcstool",
18
+ "repositories"
19
+ ],
20
+ "author": "charlyoleg",
21
+ "license": "ISC",
22
+ "bugs": {
23
+ "url": "https://github.com/charlyoleg2/vag/issues"
24
+ },
25
+ "homepage": "https://charlyoleg2.github.io/vag/",
26
+ "type": "module",
27
+ "engines": {
28
+ "node": ">=20.10.0"
29
+ },
30
+ "exports": {
31
+ ".": {
32
+ "types": "./dist/vag_core.d.ts",
33
+ "default": "./dist/vag_core.js"
34
+ }
35
+ },
9
36
  "bin": {
10
37
  "vag": "dist/vag_cli.js",
11
38
  "vagg": "dist/vagg_server.js"
@@ -16,8 +43,13 @@
16
43
  "!dist/**/*.test.*",
17
44
  "!dist/**/*.spec.*"
18
45
  ],
19
- "engines": {
20
- "node": ">=20.10.0"
46
+ "prettier": {
47
+ "useTabs": true,
48
+ "singleQuote": true,
49
+ "trailingComma": "none",
50
+ "printWidth": 100,
51
+ "plugins": [],
52
+ "overrides": []
21
53
  },
22
54
  "tsup": {
23
55
  "entry": [
@@ -51,55 +83,27 @@
51
83
  "run:clients": "tests/run_clients.sh",
52
84
  "clean_all": "run-s clean"
53
85
  },
54
- "repository": {
55
- "type": "git",
56
- "url": "git+https://github.com/charlyoleg2/vag.git"
57
- },
58
- "keywords": [
59
- "git",
60
- "sub-repo",
61
- "multi-repo",
62
- "submodule",
63
- "subtree",
64
- "vcs",
65
- "vcstool",
66
- "repositories"
67
- ],
68
- "author": "charlyoleg",
69
- "license": "ISC",
70
- "bugs": {
71
- "url": "https://github.com/charlyoleg2/vag/issues"
72
- },
73
- "homepage": "https://github.com/charlyoleg2/vag#readme",
74
86
  "dependencies": {
75
- "@hono/node-server": "^1.13.1",
76
- "fs-extra": "^11.2.0",
77
- "hono": "^4.6.3",
87
+ "@hono/node-server": "^1.14.3",
88
+ "fs-extra": "^11.3.0",
89
+ "hono": "^4.7.10",
78
90
  "simple-git": "^3.27.0",
79
- "socket.io": "^4.8.0",
80
- "socket.io-client": "^4.8.0",
81
- "yaml": "^2.5.1",
82
- "yargs": "^17.7.2"
91
+ "socket.io": "^4.8.1",
92
+ "socket.io-client": "^4.8.1",
93
+ "yaml": "^2.8.0",
94
+ "yargs": "^18.0.0"
83
95
  },
84
96
  "devDependencies": {
85
97
  "@types/fs-extra": "^11.0.4",
86
- "@types/node": "^22.7.4",
98
+ "@types/node": "^22.15.29",
87
99
  "@types/yargs": "^17.0.33",
88
- "eslint": "^9.11.1",
100
+ "eslint": "^9.27.0",
89
101
  "npm-run-all": "^4.1.5",
90
- "prettier": "^3.3.3",
91
- "shx": "^0.3.4",
92
- "tsup": "^8.3.0",
93
- "typescript": "^5.6.2",
94
- "typescript-eslint": "^8.7.0",
95
- "vitest": "^2.1.1"
96
- },
97
- "prettier": {
98
- "useTabs": true,
99
- "singleQuote": true,
100
- "trailingComma": "none",
101
- "printWidth": 100,
102
- "plugins": [],
103
- "overrides": []
102
+ "prettier": "^3.5.3",
103
+ "shx": "^0.4.0",
104
+ "tsup": "^8.5.0",
105
+ "typescript": "^5.8.3",
106
+ "typescript-eslint": "^8.33.0",
107
+ "vitest": "^3.1.4"
104
108
  }
105
109
  }
@@ -1,3 +0,0 @@
1
- import{n as le,s as ft,t as ut}from"./scheduler.Bmg8oFKD.js";new URL("sveltekit-internal://");function dt(e,n){return e==="/"||n==="ignore"?e:n==="never"?e.endsWith("/")?e.slice(0,-1):e:n==="always"&&!e.endsWith("/")?e+"/":e}function ht(e){return e.split("%25").map(decodeURI).join("%25")}function pt(e){for(const n in e)e[n]=decodeURIComponent(e[n]);return e}function fe({href:e}){return e.split("#")[0]}const gt=["href","pathname","search","toString","toJSON"];function mt(e,n,t){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=>(t(s),a[o](s));n();const i=Reflect.get(a,o);return typeof i=="function"?i.bind(a):i}}),enumerable:!0,configurable:!0});for(const a of gt)Object.defineProperty(r,a,{get(){return n(),e[a]},enumerable:!0,configurable:!0});return r}const yt="/__data.json",_t=".html__data.json";function wt(e){return e.endsWith(".html")?e.replace(/\.html$/,_t):e.replace(/\/$/,"")+yt}function bt(...e){let n=5381;for(const t of e)if(typeof t=="string"){let r=t.length;for(;r;)n=n*33^t.charCodeAt(--r)}else if(ArrayBuffer.isView(t)){const r=new Uint8Array(t.buffer,t.byteOffset,t.byteLength);let a=r.length;for(;a;)n=n*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(n>>>0).toString(36)}function vt(e){const n=atob(e),t=new Uint8Array(n.length);for(let r=0;r<n.length;r++)t[r]=n.charCodeAt(r);return t.buffer}const Ve=window.fetch;window.fetch=(e,n)=>((e instanceof Request?e.method:(n==null?void 0:n.method)||"GET")!=="GET"&&q.delete(me(e)),Ve(e,n));const q=new Map;function At(e,n){const t=me(e,n),r=document.querySelector(t);if(r!=null&&r.textContent){let{body:a,...o}=JSON.parse(r.textContent);const i=r.getAttribute("data-ttl");return i&&q.set(t,{body:a,init:o,ttl:1e3*Number(i)}),r.getAttribute("data-b64")!==null&&(a=vt(a)),Promise.resolve(new Response(a,o))}return window.fetch(e,n)}function kt(e,n,t){if(q.size>0){const r=me(e,t),a=q.get(r);if(a){if(performance.now()<a.ttl&&["default","force-cache","only-if-cached",void 0].includes(t==null?void 0:t.cache))return new Response(a.body,a.init);q.delete(r)}}return window.fetch(n,t)}function me(e,n){let r=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(n!=null&&n.headers||n!=null&&n.body){const a=[];n.headers&&a.push([...new Headers(n.headers)].join(",")),n.body&&(typeof n.body=="string"||ArrayBuffer.isView(n.body))&&a.push(n.body),r+=`[data-hash="${bt(...a)}"]`}return r}const Et=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function St(e){const n=[];return{pattern:e==="/"?/^\/$/:new RegExp(`^${It(e).map(r=>{const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return n.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const o=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(o)return n.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 ue(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return ue(String.fromCharCode(...c.slice(2).split("-").map(f=>parseInt(f,16))));const d=Et.exec(c),[,h,g,u,m]=d;return n.push({name:u,matcher:m,optional:!!h,rest:!!g,chained:g?l===1&&i[0]==="":!1}),g?"(.*?)":h?"([^/]*)?":"([^/]+?)"}return ue(c)}).join("")}).join("")}/?$`),params:n}}function Rt(e){return!/^\([^)]+\)$/.test(e)}function It(e){return e.slice(1).split("/").filter(Rt)}function Tt(e,n,t){const r={},a=e.slice(1),o=a.filter(s=>s!==void 0);let i=0;for(let s=0;s<n.length;s+=1){const c=n[s];let l=a[s-i];if(c.chained&&c.rest&&i&&(l=a.slice(s-i,s+1).filter(d=>d).join("/"),i=0),l===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||t[c.matcher](l)){r[c.name]=l;const d=n[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 ue(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Lt({nodes:e,server_loads:n,dictionary:t,matchers:r}){const a=new Set(n);return Object.entries(t).map(([s,[c,l,d]])=>{const{pattern:h,params:g}=St(s),u={id:s,exec:m=>{const f=h.exec(m);if(f)return Tt(f,g,r)},errors:[1,...d||[]].map(m=>e[m]),layouts:[0,...l||[]].map(i),leaf:o(c)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});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 Be(e,n=JSON.parse){try{return n(sessionStorage[e])}catch{}}function Le(e,n,t=JSON.stringify){const r=t(n);try{sessionStorage[e]=r}catch{}}const N=[];function ye(e,n=le){let t;const r=new Set;function a(s){if(ft(e,s)&&(e=s,t)){const c=!N.length;for(const l of r)l[1](),N.push(l,e);if(c){for(let l=0;l<N.length;l+=2)N[l][0](N[l+1]);N.length=0}}}function o(s){a(s(e))}function i(s,c=le){const l=[s,c];return r.add(l),r.size===1&&(t=n(a,o)||le),s(e),()=>{r.delete(l),r.size===0&&t&&(t(),t=null)}}return{set:a,update:o,subscribe:i}}var $e;const L=(($e=globalThis.__sveltekit_uh02pg)==null?void 0:$e.base)??"";var Fe;const Ut=((Fe=globalThis.__sveltekit_uh02pg)==null?void 0:Fe.assets)??L,Pt="1727469092673",qe="sveltekit:snapshot",Ge="sveltekit:scroll",Me="sveltekit:states",xt="sveltekit:pageurl",D="sveltekit:history",M="sveltekit:navigation",J={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},Y=location.origin;function He(e){if(e instanceof URL)return e;let n=document.baseURI;if(!n){const t=document.getElementsByTagName("base");n=t.length?t[0].href:document.URL}return new URL(e,n)}function _e(){return{x:pageXOffset,y:pageYOffset}}function O(e,n){return e.getAttribute(`data-sveltekit-${n}`)}const Ue={...J,"":J.hover};function Ke(e){let n=e.assignedSlot??e.parentNode;return(n==null?void 0:n.nodeType)===11&&(n=n.host),n}function Ye(e,n){for(;e&&e!==n;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=Ke(e)}}function he(e,n){let t;try{t=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const r=e instanceof SVGAElement?e.target.baseVal:e.target,a=!t||!!r||re(t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(t==null?void 0:t.origin)===Y&&e.hasAttribute("download");return{url:t,external:a,target:r,download:o}}function W(e){let n=null,t=null,r=null,a=null,o=null,i=null,s=e;for(;s&&s!==document.documentElement;)r===null&&(r=O(s,"preload-code")),a===null&&(a=O(s,"preload-data")),n===null&&(n=O(s,"keepfocus")),t===null&&(t=O(s,"noscroll")),o===null&&(o=O(s,"reload")),i===null&&(i=O(s,"replacestate")),s=Ke(s);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Ue[r??"off"],preload_data:Ue[a??"off"],keepfocus:c(n),noscroll:c(t),reload:c(o),replace_state:c(i)}}function Pe(e){const n=ye(e);let t=!0;function r(){t=!0,n.update(i=>i)}function a(i){t=!1,n.set(i)}function o(i){let s;return n.subscribe(c=>{(s===void 0||t&&c!==s)&&i(s=c)})}return{notify:r,set:a,subscribe:o}}function Ct(){const{set:e,subscribe:n}=ye(!1);let t;async function r(){clearTimeout(t);try{const a=await fetch(`${Ut}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const i=(await a.json()).version!==Pt;return i&&(e(!0),clearTimeout(t)),i}catch{return!1}}return{subscribe:n,check:r}}function re(e,n){return e.origin!==Y||!e.pathname.startsWith(n)}function xe(e){const n=Ot(e),t=new ArrayBuffer(n.length),r=new DataView(t);for(let a=0;a<t.byteLength;a++)r.setUint8(a,n.charCodeAt(a));return t}const Nt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function Ot(e){e.length%4===0&&(e=e.replace(/==?$/,""));let n="",t=0,r=0;for(let a=0;a<e.length;a++)t<<=6,t|=Nt.indexOf(e[a]),r+=6,r===24&&(n+=String.fromCharCode((t&16711680)>>16),n+=String.fromCharCode((t&65280)>>8),n+=String.fromCharCode(t&255),t=r=0);return r===12?(t>>=4,n+=String.fromCharCode(t)):r===18&&(t>>=2,n+=String.fromCharCode((t&65280)>>8),n+=String.fromCharCode(t&255)),n}const jt=-1,Dt=-2,$t=-3,Ft=-4,Vt=-5,Bt=-6;function qt(e,n){if(typeof e=="number")return a(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const t=e,r=Array(t.length);function a(o,i=!1){if(o===jt)return;if(o===$t)return NaN;if(o===Ft)return 1/0;if(o===Vt)return-1/0;if(o===Bt)return-0;if(i)throw new Error("Invalid input");if(o in r)return r[o];const s=t[o];if(!s||typeof s!="object")r[o]=s;else if(Array.isArray(s))if(typeof s[0]=="string"){const c=s[0],l=n==null?void 0:n[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 u=1;u<s.length;u+=1)d.add(a(s[u]));break;case"Map":const h=new Map;r[o]=h;for(let u=1;u<s.length;u+=2)h.set(a(s[u]),a(s[u+1]));break;case"RegExp":r[o]=new RegExp(s[1],s[2]);break;case"Object":r[o]=Object(s[1]);break;case"BigInt":r[o]=BigInt(s[1]);break;case"null":const g=Object.create(null);r[o]=g;for(let u=1;u<s.length;u+=2)g[s[u]]=a(s[u+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const u=globalThis[c],m=s[1],f=xe(m),y=new u(f);r[o]=y;break}case"ArrayBuffer":{const u=s[1],m=xe(u);r[o]=m;break}default:throw new Error(`Unknown type ${c}`)}}else{const c=new Array(s.length);r[o]=c;for(let l=0;l<s.length;l+=1){const d=s[l];d!==Dt&&(c[l]=a(d))}}else{const c={};r[o]=c;for(const l in s){const d=s[l];c[l]=a(d)}}return r[o]}return a(0)}const ze=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...ze];const Gt=new Set([...ze]);[...Gt];function Mt(e){return e.filter(n=>n!=null)}class ae{constructor(n,t){this.status=n,typeof t=="string"?this.body={message:t}:t?this.body=t:this.body={message:`Error: ${n}`}}toString(){return JSON.stringify(this.body)}}class Je{constructor(n,t){this.status=n,this.location=t}}class we extends Error{constructor(n,t,r){super(r),this.status=n,this.text=t}}const Ht="x-sveltekit-invalidated",Kt="x-sveltekit-trailing-slash";function X(e){return e instanceof ae||e instanceof we?e.status:500}function Yt(e){return e instanceof we?e.text:"Internal Error"}const C=Be(Ge)??{},H=Be(qe)??{},P={url:Pe({}),page:Pe({}),navigating:ye(null),updated:Ct()};function be(e){C[e]=_e()}function zt(e,n){let t=e+1;for(;C[t];)delete C[t],t+=1;for(t=n+1;H[t];)delete H[t],t+=1}function F(e){return location.href=e.href,new Promise(()=>{})}function Ce(){}let oe,pe,Z,U,ge,V;const We=[],Q=[];let R=null;const Xe=[],Jt=[];let j=[],_={branch:[],error:null,url:null},ve=!1,ee=!1,Ne=!0,K=!1,B=!1,Ze=!1,Ae=!1,ke,E,T,I,te;const G=new Set;async function sn(e,n,t){var a,o;document.URL!==location.href&&(location.href=location.href),V=e,oe=Lt(e),U=document.documentElement,ge=n,pe=e.nodes[0],Z=e.nodes[1],pe(),Z(),E=(a=history.state)==null?void 0:a[D],T=(o=history.state)==null?void 0:o[M],E||(E=T=Date.now(),history.replaceState({...history.state,[D]:E,[M]:T},""));const r=C[E];r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y)),t?await rn(ge,t):tn(location.href,{replaceState:!0}),nn()}function Wt(){We.length=0,Ae=!1}function Qe(e){Q.some(n=>n==null?void 0:n.snapshot)&&(H[e]=Q.map(n=>{var t;return(t=n==null?void 0:n.snapshot)==null?void 0:t.capture()}))}function et(e){var n;(n=H[e])==null||n.forEach((t,r)=>{var a,o;(o=(a=Q[r])==null?void 0:a.snapshot)==null||o.restore(t)})}function Oe(){be(E),Le(Ge,C),Qe(T),Le(qe,H)}async function tt(e,n,t,r){return z({type:"goto",url:He(e),keepfocus:n.keepFocus,noscroll:n.noScroll,replace_state:n.replaceState,state:n.state,redirect_count:t,nav_token:r,accept:()=>{n.invalidateAll&&(Ae=!0)}})}async function Xt(e){if(e.id!==(R==null?void 0:R.id)){const n={};G.add(n),R={id:e.id,token:n,promise:rt({...e,preload:n}).then(t=>(G.delete(n),t.type==="loaded"&&t.state.error&&(R=null),t))}}return R.promise}async function de(e){const n=oe.find(t=>t.exec(at(e)));n&&await Promise.all([...n.layouts,n.leaf].map(t=>t==null?void 0:t[1]()))}function nt(e,n,t){var o;_=e.state;const r=document.querySelector("style[data-sveltekit]");r&&r.remove(),I=e.props.page,ke=new V.root({target:n,props:{...e.props,stores:P,components:Q},hydrate:t,sync:!1}),et(T);const a={from:null,to:{params:_.params,route:{id:((o=_.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};j.forEach(i=>i(a)),ee=!0}function ne({url:e,params:n,branch:t,status:r,error:a,route:o,form:i}){let s="never";if(L&&(e.pathname===L||e.pathname===L+"/"))s="always";else for(const u of t)(u==null?void 0:u.slash)!==void 0&&(s=u.slash);e.pathname=dt(e.pathname,s),e.search=e.search;const c={type:"loaded",state:{url:e,params:n,branch:t,error:a,route:o},props:{constructors:Mt(t).map(u=>u.node.component),page:I}};i!==void 0&&(c.props.form=i);let l={},d=!I,h=0;for(let u=0;u<Math.max(t.length,_.branch.length);u+=1){const m=t[u],f=_.branch[u];(m==null?void 0:m.data)!==(f==null?void 0:f.data)&&(d=!0),m&&(l={...l,...m.data},d&&(c.props[`data_${h}`]=l),h+=1)}return(!_.url||e.href!==_.url.href||_.error!==a||i!==void 0&&i!==I.form||d)&&(c.props.page={error:a,params:n,route:{id:(o==null?void 0:o.id)??null},state:{},status:r,url:new URL(e),form:i??null,data:d?l:I.data}),c}async function Ee({loader:e,parent:n,url:t,params:r,route:a,server_data_node:o}){var d,h,g;let i=null,s=!0;const c={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},l=await e();if((d=l.universal)!=null&&d.load){let u=function(...f){for(const y of f){const{href:v}=new URL(y,t);c.dependencies.add(v)}};const m={route:new Proxy(a,{get:(f,y)=>(s&&(c.route=!0),f[y])}),params:new Proxy(r,{get:(f,y)=>(s&&c.params.add(y),f[y])}),data:(o==null?void 0:o.data)??null,url:mt(t,()=>{s&&(c.url=!0)},f=>{s&&c.search_params.add(f)}),async fetch(f,y){let v;f instanceof Request?(v=f.url,y={body:f.method==="GET"||f.method==="HEAD"?void 0:await f.blob(),cache:f.cache,credentials:f.credentials,headers:f.headers,integrity:f.integrity,keepalive:f.keepalive,method:f.method,mode:f.mode,redirect:f.redirect,referrer:f.referrer,referrerPolicy:f.referrerPolicy,signal:f.signal,...y}):v=f;const S=new URL(v,t);return s&&u(S.href),S.origin===t.origin&&(v=S.href.slice(t.origin.length)),ee?kt(v,S.href,y):At(v,y)},setHeaders:()=>{},depends:u,parent(){return s&&(c.parent=!0),n()},untrack(f){s=!1;try{return f()}finally{s=!0}}};i=await l.universal.load.call(null,m)??null}return{node:l,loader:e,server:o,universal:(h=l.universal)!=null&&h.load?{type:"data",data:i,uses:c}:null,data:i??(o==null?void 0:o.data)??null,slash:((g=l.universal)==null?void 0:g.trailingSlash)??(o==null?void 0:o.slash)}}function je(e,n,t,r,a,o){if(Ae)return!0;if(!a)return!1;if(a.parent&&e||a.route&&n||a.url&&t)return!0;for(const i of a.search_params)if(r.has(i))return!0;for(const i of a.params)if(o[i]!==_.params[i])return!0;for(const i of a.dependencies)if(We.some(s=>s(new URL(i))))return!0;return!1}function Se(e,n){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?n??null:null}function Zt(e,n){if(!e)return new Set(n.searchParams.keys());const t=new Set([...e.searchParams.keys(),...n.searchParams.keys()]);for(const r of t){const a=e.searchParams.getAll(r),o=n.searchParams.getAll(r);a.every(i=>o.includes(i))&&o.every(i=>a.includes(i))&&t.delete(r)}return t}function De({error:e,url:n,route:t,params:r}){return{type:"loaded",state:{error:e,url:n,route:t,params:r,branch:[]},props:{page:I,constructors:[]}}}async function rt({id:e,invalidating:n,url:t,params:r,route:a,preload:o}){if((R==null?void 0:R.id)===e)return G.delete(R.token),R.promise;const{errors:i,layouts:s,leaf:c}=a,l=[...s,c];i.forEach(p=>p==null?void 0:p().catch(()=>{})),l.forEach(p=>p==null?void 0:p[1]().catch(()=>{}));let d=null;const h=_.url?e!==_.url.pathname+_.url.search:!1,g=_.route?a.id!==_.route.id:!1,u=Zt(_.url,t);let m=!1;const f=l.map((p,b)=>{var x;const A=_.branch[b],k=!!(p!=null&&p[0])&&((A==null?void 0:A.loader)!==p[1]||je(m,g,h,u,(x=A.server)==null?void 0:x.uses,r));return k&&(m=!0),k});if(f.some(Boolean)){try{d=await it(t,f)}catch(p){const b=await $(p,{url:t,params:r,route:{id:e}});return G.has(o)?De({error:b,url:t,params:r,route:a}):se({status:X(p),error:b,url:t,route:a})}if(d.type==="redirect")return d}const y=d==null?void 0:d.nodes;let v=!1;const S=l.map(async(p,b)=>{var ie;if(!p)return;const A=_.branch[b],k=y==null?void 0:y[b];if((!k||k.type==="skip")&&p[1]===(A==null?void 0:A.loader)&&!je(v,g,h,u,(ie=A.universal)==null?void 0:ie.uses,r))return A;if(v=!0,(k==null?void 0:k.type)==="error")throw k;return Ee({loader:p[1],url:t,params:r,route:a,parent:async()=>{var Te;const Ie={};for(let ce=0;ce<b;ce+=1)Object.assign(Ie,(Te=await S[ce])==null?void 0:Te.data);return Ie},server_data_node:Se(k===void 0&&p[0]?{type:"skip"}:k??null,p[0]?A==null?void 0:A.server:void 0)})});for(const p of S)p.catch(()=>{});const w=[];for(let p=0;p<l.length;p+=1)if(l[p])try{w.push(await S[p])}catch(b){if(b instanceof Je)return{type:"redirect",location:b.location};if(G.has(o))return De({error:await $(b,{params:r,url:t,route:{id:a.id}}),url:t,params:r,route:a});let A=X(b),k;if(y!=null&&y.includes(b))A=b.status??A,k=b.error;else if(b instanceof ae)k=b.body;else{if(await P.updated.check())return await F(t);k=await $(b,{params:r,url:t,route:{id:a.id}})}const x=await Qt(p,w,i);return x?ne({url:t,params:r,branch:w.slice(0,x.idx).concat(x.node),status:A,error:k,route:a}):await st(t,{id:a.id},k,A)}else w.push(void 0);return ne({url:t,params:r,branch:w,status:200,error:null,route:a,form:n?void 0:null})}async function Qt(e,n,t){for(;e--;)if(t[e]){let r=e;for(;!n[r];)r-=1;try{return{idx:r+1,node:{node:await t[e](),loader:t[e],data:{},server:null,universal:null}}}catch{continue}}}async function se({status:e,error:n,url:t,route:r}){const a={};let o=null;if(V.server_loads[0]===0)try{const l=await it(t,[!0]);if(l.type!=="data"||l.nodes[0]&&l.nodes[0].type!=="data")throw 0;o=l.nodes[0]??null}catch{(t.origin!==Y||t.pathname!==location.pathname||ve)&&await F(t)}const s=await Ee({loader:pe,url:t,params:a,route:r,parent:()=>Promise.resolve({}),server_data_node:Se(o)}),c={node:await Z(),loader:Z,universal:null,server:null,data:null};return ne({url:t,params:a,branch:[s,c],status:e,error:n,route:null})}function Re(e,n){if(!e||re(e,L))return;let t;try{t=V.hooks.reroute({url:new URL(e)})??e.pathname}catch{return}const r=at(t);for(const a of oe){const o=a.exec(r);if(o)return{id:e.pathname+e.search,invalidating:n,route:a,params:pt(o),url:e}}}function at(e){return ht(e.slice(L.length)||"/")}function ot({url:e,type:n,intent:t,delta:r}){let a=!1;const o=lt(_,t,e,n);r!==void 0&&(o.navigation.delta=r);const i={...o.navigation,cancel:()=>{a=!0,o.reject(new Error("navigation cancelled"))}};return K||Xe.forEach(s=>s(i)),a?null:o}async function z({type:e,url:n,popped:t,keepfocus:r,noscroll:a,replace_state:o,state:i={},redirect_count:s=0,nav_token:c={},accept:l=Ce,block:d=Ce}){const h=Re(n,!1),g=ot({url:n,type:e,delta:t==null?void 0:t.delta,intent:h});if(!g){d();return}const u=E,m=T;l(),K=!0,ee&&P.navigating.set(g.navigation),te=c;let f=h&&await rt(h);if(!f){if(re(n,L))return await F(n);f=await st(n,{id:null},await $(new we(404,"Not Found",`Not found: ${n.pathname}`),{url:n,params:{},route:{id:null}}),404)}if(n=(h==null?void 0:h.url)||n,te!==c)return g.reject(new Error("navigation aborted")),!1;if(f.type==="redirect")if(s>=20)f=await se({status:500,error:await $(new Error("Redirect loop"),{url:n,params:{},route:{id:null}}),url:n,route:{id:null}});else return tt(new URL(f.location,n).href,{},s+1,c),!1;else f.props.page.status>=400&&await P.updated.check()&&await F(n);if(Wt(),be(u),Qe(m),f.props.page.url.pathname!==n.pathname&&(n.pathname=f.props.page.url.pathname),i=t?t.state:i,!t){const w=o?0:1,p={[D]:E+=w,[M]:T+=w,[Me]:i};(o?history.replaceState:history.pushState).call(history,p,"",n),o||zt(E,T)}if(R=null,f.props.page.state=i,ee){_=f.state,f.props.page&&(f.props.page.url=n);const w=(await Promise.all(Jt.map(p=>p(g.navigation)))).filter(p=>typeof p=="function");if(w.length>0){let p=function(){j=j.filter(b=>!w.includes(b))};w.push(p),j.push(...w)}ke.$set(f.props),Ze=!0}else nt(f,ge,!1);const{activeElement:y}=document;await ut();const v=t?t.scroll:a?_e():null;if(Ne){const w=n.hash&&document.getElementById(decodeURIComponent(n.hash.slice(1)));v?scrollTo(v.x,v.y):w?w.scrollIntoView():scrollTo(0,0)}const S=document.activeElement!==y&&document.activeElement!==document.body;!r&&!S&&an(),Ne=!0,f.props.page&&(I=f.props.page),K=!1,e==="popstate"&&et(T),g.fulfil(void 0),j.forEach(w=>w(g.navigation)),P.navigating.set(null)}async function st(e,n,t,r){return e.origin===Y&&e.pathname===location.pathname&&!ve?await se({status:r,error:t,url:e,route:n}):await F(e)}function en(){let e;U.addEventListener("mousemove",o=>{const i=o.target;clearTimeout(e),e=setTimeout(()=>{r(i,2)},20)});function n(o){r(o.composedPath()[0],1)}U.addEventListener("mousedown",n),U.addEventListener("touchstart",n,{passive:!0});const t=new IntersectionObserver(o=>{for(const i of o)i.isIntersecting&&(de(i.target.href),t.unobserve(i.target))},{threshold:0});function r(o,i){const s=Ye(o,U);if(!s)return;const{url:c,external:l,download:d}=he(s,L);if(l||d)return;const h=W(s);if(!h.reload)if(i<=h.preload_data){const g=Re(c,!1);g&&Xt(g)}else i<=h.preload_code&&de(c.pathname)}function a(){t.disconnect();for(const o of U.querySelectorAll("a")){const{url:i,external:s,download:c}=he(o,L);if(s||c)continue;const l=W(o);l.reload||(l.preload_code===J.viewport&&t.observe(o),l.preload_code===J.eager&&de(i.pathname))}}j.push(a),a()}function $(e,n){if(e instanceof ae)return e.body;const t=X(e),r=Yt(e);return V.hooks.handleError({error:e,event:n,status:t,message:r})??{message:r}}function tn(e,n={}){return e=He(e),e.origin!==Y?Promise.reject(new Error("goto: invalid URL")):tt(e,n,0)}function nn(){var n;history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let r=!1;if(Oe(),!K){const a=lt(_,void 0,null,"leave"),o={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};Xe.forEach(i=>i(o))}r?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Oe()}),(n=navigator.connection)!=null&&n.saveData||en(),U.addEventListener("click",async t=>{var g;if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const r=Ye(t.composedPath()[0],U);if(!r)return;const{url:a,external:o,target:i,download:s}=he(r,L);if(!a)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const c=W(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||s)return;if(o||c.reload){ot({url:a,type:"link"})?K=!0:t.preventDefault();return}const[d,h]=a.href.split("#");if(h!==void 0&&d===fe(location)){const[,u]=_.url.href.split("#");if(u===h){t.preventDefault(),h===""||h==="top"&&r.ownerDocument.getElementById("top")===null?window.scrollTo({top:0}):(g=r.ownerDocument.getElementById(h))==null||g.scrollIntoView();return}if(B=!0,be(E),e(a),!c.replace_state)return;B=!1}t.preventDefault(),await new Promise(u=>{requestAnimationFrame(()=>{setTimeout(u,0)}),setTimeout(u,100)}),z({type:"link",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href})}),U.addEventListener("submit",t=>{if(t.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(t.target),a=t.submitter;if(((a==null?void 0:a.formTarget)||r.target)==="_blank"||((a==null?void 0:a.formMethod)||r.method)!=="get")return;const s=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(re(s,L))return;const c=t.target,l=W(c);if(l.reload)return;t.preventDefault(),t.stopPropagation();const d=new FormData(c),h=a==null?void 0:a.getAttribute("name");h&&d.append(h,(a==null?void 0:a.getAttribute("value"))??""),s.search=new URLSearchParams(d).toString(),z({type:"form",url:s,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??s.href===location.href})}),addEventListener("popstate",async t=>{var r;if((r=t.state)!=null&&r[D]){const a=t.state[D];if(te={},a===E)return;const o=C[a],i=t.state[Me]??{},s=new URL(t.state[xt]??location.href),c=t.state[M],l=fe(location)===fe(_.url);if(c===T&&(Ze||l)){e(s),C[E]=_e(),o&&scrollTo(o.x,o.y),i!==I.state&&(I={...I,state:i},ke.$set({page:I})),E=a;return}const h=a-E;await z({type:"popstate",url:s,popped:{state:i,scroll:o,delta:h},accept:()=>{E=a,T=c},block:()=>{history.go(-h)},nav_token:te})}else if(!B){const a=new URL(location.href);e(a)}}),addEventListener("hashchange",()=>{B&&(B=!1,history.replaceState({...history.state,[D]:++E,[M]:T},"",location.href))});for(const t of document.querySelectorAll("link"))t.rel==="icon"&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&P.navigating.set(null)});function e(t){_.url=t,P.page.set({...I,url:t}),P.page.notify()}}async function rn(e,{status:n=200,error:t,node_ids:r,params:a,route:o,data:i,form:s}){ve=!0;const c=new URL(location.href);({params:a={},route:o={id:null}}=Re(c,!1)||{});let l;try{const d=r.map(async(u,m)=>{const f=i[m];return f!=null&&f.uses&&(f.uses=ct(f.uses)),Ee({loader:V.nodes[u],url:c,params:a,route:o,parent:async()=>{const y={};for(let v=0;v<m;v+=1)Object.assign(y,(await d[v]).data);return y},server_data_node:Se(f)})}),h=await Promise.all(d),g=oe.find(({id:u})=>u===o.id);if(g){const u=g.layouts;for(let m=0;m<u.length;m++)u[m]||h.splice(m,0,void 0)}l=ne({url:c,params:a,branch:h,status:n,error:t,form:s,route:g??null})}catch(d){if(d instanceof Je){await F(new URL(d.location,location.href));return}l=await se({status:X(d),error:await $(d,{url:c,params:a,route:o}),url:c,route:o})}l.props.page&&(l.props.page.state={}),nt(l,e,!0)}async function it(e,n){var a;const t=new URL(e);t.pathname=wt(e.pathname),e.pathname.endsWith("/")&&t.searchParams.append(Kt,"1"),t.searchParams.append(Ht,n.map(o=>o?"1":"0").join(""));const r=await Ve(t.href);if(!r.ok){let o;throw(a=r.headers.get("content-type"))!=null&&a.includes("application/json")?o=await r.json():r.status===404?o="Not Found":r.status===500&&(o="Internal Error"),new ae(r.status,o)}return new Promise(async o=>{var h;const i=new Map,s=r.body.getReader(),c=new TextDecoder;function l(g){return qt(g,{Promise:u=>new Promise((m,f)=>{i.set(u,{fulfil:m,reject:f})})})}let d="";for(;;){const{done:g,value:u}=await s.read();if(g&&!d)break;for(d+=!u&&d?`
2
- `:c.decode(u,{stream:!0});;){const m=d.indexOf(`
3
- `);if(m===-1)break;const f=JSON.parse(d.slice(0,m));if(d=d.slice(m+1),f.type==="redirect")return o(f);if(f.type==="data")(h=f.nodes)==null||h.forEach(y=>{(y==null?void 0:y.type)==="data"&&(y.uses=ct(y.uses),y.data=l(y.data))}),o(f);else if(f.type==="chunk"){const{id:y,data:v,error:S}=f,w=i.get(y);i.delete(y),S?w.reject(l(S)):w.fulfil(l(v))}}}})}function ct(e){return{dependencies:new Set((e==null?void 0:e.dependencies)??[]),params:new Set((e==null?void 0:e.params)??[]),parent:!!(e!=null&&e.parent),route:!!(e!=null&&e.route),url:!!(e!=null&&e.url),search_params:new Set((e==null?void 0:e.search_params)??[])}}function an(){const e=document.querySelector("[autofocus]");if(e)e.focus();else{const n=document.body,t=n.getAttribute("tabindex");n.tabIndex=-1,n.focus({preventScroll:!0,focusVisible:!1}),t!==null?n.setAttribute("tabindex",t):n.removeAttribute("tabindex");const r=getSelection();if(r&&r.type!=="None"){const a=[];for(let o=0;o<r.rangeCount;o+=1)a.push(r.getRangeAt(o));setTimeout(()=>{if(r.rangeCount===a.length){for(let o=0;o<r.rangeCount;o+=1){const i=a[o],s=r.getRangeAt(o);if(i.commonAncestorContainer!==s.commonAncestorContainer||i.startContainer!==s.startContainer||i.endContainer!==s.endContainer||i.startOffset!==s.startOffset||i.endOffset!==s.endOffset)return}r.removeAllRanges()}})}}}function lt(e,n,t,r){var c,l;let a,o;const i=new Promise((d,h)=>{a=d,o=h});return i.catch(()=>{}),{navigation:{from:{params:e.params,route:{id:((c=e.route)==null?void 0:c.id)??null},url:e.url},to:t&&{params:(n==null?void 0:n.params)??null,route:{id:((l=n==null?void 0:n.route)==null?void 0:l.id)??null},url:t},willUnload:!n,type:r,complete:i},fulfil:a,reject:o}}export{sn as a,P as s};
@@ -1 +0,0 @@
1
- var E=Object.defineProperty;var j=(e,t,n)=>t in e?E(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var p=(e,t,n)=>j(e,typeof t!="symbol"?t+"":t,n);import{r as h,n as y,f as w,h as C,i as S,j as B,k as b,l as I,m as L,p as N,q as P,v as T,w as q}from"./scheduler.Bmg8oFKD.js";let $=!1;function H(){$=!0}function M(){$=!1}function O(e,t,n,r){for(;e<t;){const s=e+(t-e>>1);n(s)<=r?e=s+1:t=s}return e}function z(e){if(e.hydrate_init)return;e.hydrate_init=!0;let t=e.childNodes;if(e.nodeName==="HEAD"){const i=[];for(let a=0;a<t.length;a++){const o=t[a];o.claim_order!==void 0&&i.push(o)}t=i}const n=new Int32Array(t.length+1),r=new Int32Array(t.length);n[0]=-1;let s=0;for(let i=0;i<t.length;i++){const a=t[i].claim_order,o=(s>0&&t[n[s]].claim_order<=a?s+1:O(1,s,_=>t[n[_]].claim_order,a))-1;r[i]=n[o]+1;const u=o+1;n[u]=i,s=Math.max(u,s)}const c=[],l=[];let f=t.length-1;for(let i=n[s]+1;i!=0;i=r[i-1]){for(c.push(t[i-1]);f>=i;f--)l.push(t[f]);f--}for(;f>=0;f--)l.push(t[f]);c.reverse(),l.sort((i,a)=>i.claim_order-a.claim_order);for(let i=0,a=0;i<l.length;i++){for(;a<c.length&&l[i].claim_order>=c[a].claim_order;)a++;const o=a<c.length?c[a]:null;e.insertBefore(l[i],o)}}function D(e,t){if($){for(z(e),(e.actual_end_child===void 0||e.actual_end_child!==null&&e.actual_end_child.parentNode!==e)&&(e.actual_end_child=e.firstChild);e.actual_end_child!==null&&e.actual_end_child.claim_order===void 0;)e.actual_end_child=e.actual_end_child.nextSibling;t!==e.actual_end_child?(t.claim_order!==void 0||t.parentNode!==e)&&e.insertBefore(t,e.actual_end_child):e.actual_end_child=t.nextSibling}else(t.parentNode!==e||t.nextSibling!==null)&&e.appendChild(t)}function ee(e,t,n){$&&!n?D(e,t):(t.parentNode!==e||t.nextSibling!=n)&&e.insertBefore(t,n||null)}function R(e){e.parentNode&&e.parentNode.removeChild(e)}function U(e){return document.createElement(e)}function x(e){return document.createTextNode(e)}function te(){return x(" ")}function ne(){return x("")}function ie(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function re(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function ae(e){return e.dataset.svelteH}function V(e){return Array.from(e.childNodes)}function W(e){e.claim_info===void 0&&(e.claim_info={last_index:0,total_claimed:0})}function A(e,t,n,r,s=!1){W(e);const c=(()=>{for(let l=e.claim_info.last_index;l<e.length;l++){const f=e[l];if(t(f)){const i=n(f);return i===void 0?e.splice(l,1):e[l]=i,s||(e.claim_info.last_index=l),f}}for(let l=e.claim_info.last_index-1;l>=0;l--){const f=e[l];if(t(f)){const i=n(f);return i===void 0?e.splice(l,1):e[l]=i,s?i===void 0&&e.claim_info.last_index--:e.claim_info.last_index=l,f}}return r()})();return c.claim_order=e.claim_info.total_claimed,e.claim_info.total_claimed+=1,c}function F(e,t,n,r){return A(e,s=>s.nodeName===t,s=>{const c=[];for(let l=0;l<s.attributes.length;l++){const f=s.attributes[l];n[f.name]||c.push(f.name)}c.forEach(l=>s.removeAttribute(l))},()=>r(t))}function le(e,t,n){return F(e,t,n,U)}function G(e,t){return A(e,n=>n.nodeType===3,n=>{const r=""+t;if(n.data.startsWith(r)){if(n.data.length!==r.length)return n.splitText(r.length)}else n.data=r},()=>x(t),!0)}function se(e){return G(e," ")}function fe(e,t){t=""+t,e.data!==t&&(e.data=t)}function ce(e,t,n,r){n==null?e.style.removeProperty(t):e.style.setProperty(t,n,"")}function ue(e,t){return new e(t)}const m=new Set;let d;function oe(){d={r:0,c:[],p:d}}function de(){d.r||h(d.c),d=d.p}function J(e,t){e&&e.i&&(m.delete(e),e.i(t))}function _e(e,t,n,r){if(e&&e.o){if(m.has(e))return;m.add(e),d.c.push(()=>{m.delete(e),r&&(n&&e.d(1),r())}),e.o(t)}else r&&r()}function me(e){e&&e.c()}function he(e,t){e&&e.l(t)}function K(e,t,n){const{fragment:r,after_update:s}=e.$$;r&&r.m(t,n),b(()=>{const c=e.$$.on_mount.map(P).filter(S);e.$$.on_destroy?e.$$.on_destroy.push(...c):h(c),e.$$.on_mount=[]}),s.forEach(b)}function Q(e,t){const n=e.$$;n.fragment!==null&&(I(n.after_update),h(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function X(e,t){e.$$.dirty[0]===-1&&(T.push(e),q(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function $e(e,t,n,r,s,c,l=null,f=[-1]){const i=L;N(e);const a=e.$$={fragment:null,ctx:[],props:c,update:y,not_equal:s,bound:w(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(i?i.$$.context:[])),callbacks:w(),dirty:f,skip_bound:!1,root:t.target||i.$$.root};l&&l(a.root);let o=!1;if(a.ctx=n?n(e,t.props||{},(u,_,...g)=>{const v=g.length?g[0]:_;return a.ctx&&s(a.ctx[u],a.ctx[u]=v)&&(!a.skip_bound&&a.bound[u]&&a.bound[u](v),o&&X(e,u)),_}):[],a.update(),o=!0,h(a.before_update),a.fragment=r?r(a.ctx):!1,t.target){if(t.hydrate){H();const u=V(t.target);a.fragment&&a.fragment.l(u),u.forEach(R)}else a.fragment&&a.fragment.c();t.intro&&J(e.$$.fragment),K(e,t.target,t.anchor),M(),C()}N(i)}class pe{constructor(){p(this,"$$");p(this,"$$set")}$destroy(){Q(this,1),this.$destroy=y}$on(t,n){if(!S(n))return y;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(n),()=>{const s=r.indexOf(n);s!==-1&&r.splice(s,1)}}$set(t){this.$$set&&!B(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Y="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Y);export{pe as S,V as a,G as b,le as c,R as d,U as e,se as f,ee as g,D as h,$e as i,fe as j,ae as k,re as l,ie as m,ne as n,_e as o,de as p,J as q,ce as r,te as s,x as t,oe as u,ue as v,me as w,he as x,K as y,Q as z};
@@ -1 +0,0 @@
1
- function k(){}function x(t,n){for(const e in n)t[e]=n[e];return t}function w(t){return t()}function z(){return Object.create(null)}function j(t){t.forEach(w)}function F(t){return typeof t=="function"}function P(t,n){return t!=t?n==n:t!==n||t&&typeof t=="object"||typeof t=="function"}function S(t){return Object.keys(t).length===0}function E(t,...n){if(t==null){for(const o of n)o(void 0);return k}const e=t.subscribe(...n);return e.unsubscribe?()=>e.unsubscribe():e}function U(t,n,e){t.$$.on_destroy.push(E(n,e))}function A(t,n,e,o){if(t){const r=g(t,n,e,o);return t[0](r)}}function g(t,n,e,o){return t[1]&&o?x(e.ctx.slice(),t[1](o(n))):e.ctx}function B(t,n,e,o){if(t[2]&&o){const r=t[2](o(e));if(n.dirty===void 0)return r;if(typeof r=="object"){const a=[],f=Math.max(n.dirty.length,r.length);for(let s=0;s<f;s+=1)a[s]=n.dirty[s]|r[s];return a}return n.dirty|r}return n.dirty}function C(t,n,e,o,r,a){if(r){const f=g(n,e,o,a);t.p(f,r)}}function D(t){if(t.ctx.length>32){const n=[],e=t.ctx.length/32;for(let o=0;o<e;o++)n[o]=-1;return n}return-1}let i;function d(t){i=t}function m(){if(!i)throw new Error("Function called outside component initialization");return i}function G(t){m().$$.on_mount.push(t)}function H(t){m().$$.after_update.push(t)}const l=[],p=[];let u=[];const b=[],y=Promise.resolve();let h=!1;function v(){h||(h=!0,y.then(q))}function I(){return v(),y}function O(t){u.push(t)}const _=new Set;let c=0;function q(){if(c!==0)return;const t=i;do{try{for(;c<l.length;){const n=l[c];c++,d(n),M(n.$$)}}catch(n){throw l.length=0,c=0,n}for(d(null),l.length=0,c=0;p.length;)p.pop()();for(let n=0;n<u.length;n+=1){const e=u[n];_.has(e)||(_.add(e),e())}u.length=0}while(l.length);for(;b.length;)b.pop()();h=!1,_.clear(),d(t)}function M(t){if(t.fragment!==null){t.update(),j(t.before_update);const n=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,n),t.after_update.forEach(O)}}function J(t){const n=[],e=[];u.forEach(o=>t.indexOf(o)===-1?n.push(o):e.push(o)),e.forEach(o=>o()),u=n}export{H as a,p as b,U as c,A as d,B as e,z as f,D as g,q as h,F as i,S as j,O as k,J as l,i as m,k as n,G as o,d as p,w as q,j as r,P as s,I as t,C as u,l as v,v as w};
@@ -1,2 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_app/immutable/nodes/0.wSBy_e-q.js","_app/immutable/chunks/scheduler.Bmg8oFKD.js","_app/immutable/chunks/index.Q3sXdwuS.js","_app/immutable/assets/0.C7lbsLW4.css","_app/immutable/nodes/1.r5FkK6q8.js","_app/immutable/chunks/entry.D1rmEaOP.js","_app/immutable/nodes/2.ydMGe4kB.js","_app/immutable/assets/2.DCg60gzD.css"])))=>i.map(i=>d[i]);
2
- import{s as U,a as V,o as j,b as R,t as z}from"../chunks/scheduler.Bmg8oFKD.js";import{S as B,i as W,s as F,n as h,f as G,g as b,o as p,p as P,q as g,d as w,e as H,c as J,a as K,l as A,r as m,t as Q,b as X,j as Y,u as S,v as k,w as v,x as C,y as E,z as y}from"../chunks/index.Q3sXdwuS.js";const Z="modulepreload",M=function(a){return"/"+a},D={},q=function(e,n,r){let s=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const t=document.querySelector("meta[property=csp-nonce]"),i=(t==null?void 0:t.nonce)||(t==null?void 0:t.getAttribute("nonce"));s=Promise.allSettled(n.map(o=>{if(o=M(o),o in D)return;D[o]=!0;const c=o.endsWith(".css"),l=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${o}"]${l}`))return;const u=document.createElement("link");if(u.rel=c?"stylesheet":Z,c||(u.as="script"),u.crossOrigin="",u.href=o,i&&u.setAttribute("nonce",i),document.head.appendChild(u),c)return new Promise((d,L)=>{u.addEventListener("load",d),u.addEventListener("error",()=>L(new Error(`Unable to preload CSS for ${o}`)))})}))}function _(t){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=t,window.dispatchEvent(i),!i.defaultPrevented)throw t}return s.then(t=>{for(const i of t||[])i.status==="rejected"&&_(i.reason);return e().catch(_)})},re={};function $(a){let e,n,r;var s=a[1][0];function _(t,i){return{props:{data:t[3],form:t[2]}}}return s&&(e=k(s,_(a)),a[12](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&C(e.$$.fragment,t),n=h()},m(t,i){e&&E(e,t,i),b(t,n,i),r=!0},p(t,i){if(i&2&&s!==(s=t[1][0])){if(e){S();const o=e;p(o.$$.fragment,1,0,()=>{y(o,1)}),P()}s?(e=k(s,_(t)),t[12](e),v(e.$$.fragment),g(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else if(s){const o={};i&8&&(o.data=t[3]),i&4&&(o.form=t[2]),e.$set(o)}},i(t){r||(e&&g(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){t&&w(n),a[12](null),e&&y(e,t)}}}function x(a){let e,n,r;var s=a[1][0];function _(t,i){return{props:{data:t[3],$$slots:{default:[ee]},$$scope:{ctx:t}}}}return s&&(e=k(s,_(a)),a[11](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&C(e.$$.fragment,t),n=h()},m(t,i){e&&E(e,t,i),b(t,n,i),r=!0},p(t,i){if(i&2&&s!==(s=t[1][0])){if(e){S();const o=e;p(o.$$.fragment,1,0,()=>{y(o,1)}),P()}s?(e=k(s,_(t)),t[11](e),v(e.$$.fragment),g(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else if(s){const o={};i&8&&(o.data=t[3]),i&8215&&(o.$$scope={dirty:i,ctx:t}),e.$set(o)}},i(t){r||(e&&g(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){t&&w(n),a[11](null),e&&y(e,t)}}}function ee(a){let e,n,r;var s=a[1][1];function _(t,i){return{props:{data:t[4],form:t[2]}}}return s&&(e=k(s,_(a)),a[10](e)),{c(){e&&v(e.$$.fragment),n=h()},l(t){e&&C(e.$$.fragment,t),n=h()},m(t,i){e&&E(e,t,i),b(t,n,i),r=!0},p(t,i){if(i&2&&s!==(s=t[1][1])){if(e){S();const o=e;p(o.$$.fragment,1,0,()=>{y(o,1)}),P()}s?(e=k(s,_(t)),t[10](e),v(e.$$.fragment),g(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else if(s){const o={};i&16&&(o.data=t[4]),i&4&&(o.form=t[2]),e.$set(o)}},i(t){r||(e&&g(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){t&&w(n),a[10](null),e&&y(e,t)}}}function I(a){let e,n=a[6]&&N(a);return{c(){e=H("div"),n&&n.c(),this.h()},l(r){e=J(r,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var s=K(e);n&&n.l(s),s.forEach(w),this.h()},h(){A(e,"id","svelte-announcer"),A(e,"aria-live","assertive"),A(e,"aria-atomic","true"),m(e,"position","absolute"),m(e,"left","0"),m(e,"top","0"),m(e,"clip","rect(0 0 0 0)"),m(e,"clip-path","inset(50%)"),m(e,"overflow","hidden"),m(e,"white-space","nowrap"),m(e,"width","1px"),m(e,"height","1px")},m(r,s){b(r,e,s),n&&n.m(e,null)},p(r,s){r[6]?n?n.p(r,s):(n=N(r),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(r){r&&w(e),n&&n.d()}}}function N(a){let e;return{c(){e=Q(a[7])},l(n){e=X(n,a[7])},m(n,r){b(n,e,r)},p(n,r){r&128&&Y(e,n[7])},d(n){n&&w(e)}}}function te(a){let e,n,r,s,_;const t=[x,$],i=[];function o(l,u){return l[1][1]?0:1}e=o(a),n=i[e]=t[e](a);let c=a[5]&&I(a);return{c(){n.c(),r=F(),c&&c.c(),s=h()},l(l){n.l(l),r=G(l),c&&c.l(l),s=h()},m(l,u){i[e].m(l,u),b(l,r,u),c&&c.m(l,u),b(l,s,u),_=!0},p(l,[u]){let d=e;e=o(l),e===d?i[e].p(l,u):(S(),p(i[d],1,1,()=>{i[d]=null}),P(),n=i[e],n?n.p(l,u):(n=i[e]=t[e](l),n.c()),g(n,1),n.m(r.parentNode,r)),l[5]?c?c.p(l,u):(c=I(l),c.c(),c.m(s.parentNode,s)):c&&(c.d(1),c=null)},i(l){_||(g(n),_=!0)},o(l){p(n),_=!1},d(l){l&&(w(r),w(s)),i[e].d(l),c&&c.d(l)}}}function ne(a,e,n){let{stores:r}=e,{page:s}=e,{constructors:_}=e,{components:t=[]}=e,{form:i}=e,{data_0:o=null}=e,{data_1:c=null}=e;V(r.page.notify);let l=!1,u=!1,d=null;j(()=>{const f=r.page.subscribe(()=>{l&&(n(6,u=!0),z().then(()=>{n(7,d=document.title||"untitled page")}))});return n(5,l=!0),f});function L(f){R[f?"unshift":"push"](()=>{t[1]=f,n(0,t)})}function O(f){R[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}function T(f){R[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}return a.$$set=f=>{"stores"in f&&n(8,r=f.stores),"page"in f&&n(9,s=f.page),"constructors"in f&&n(1,_=f.constructors),"components"in f&&n(0,t=f.components),"form"in f&&n(2,i=f.form),"data_0"in f&&n(3,o=f.data_0),"data_1"in f&&n(4,c=f.data_1)},a.$$.update=()=>{a.$$.dirty&768&&r.page.set(s)},[t,_,i,o,c,l,u,d,r,s,L,O,T]}class oe extends B{constructor(e){super(),W(this,e,ne,te,U,{stores:8,page:9,constructors:1,components:0,form:2,data_0:3,data_1:4})}}const ae=[()=>q(()=>import("../nodes/0.wSBy_e-q.js"),__vite__mapDeps([0,1,2,3])),()=>q(()=>import("../nodes/1.r5FkK6q8.js"),__vite__mapDeps([4,1,2,5])),()=>q(()=>import("../nodes/2.ydMGe4kB.js"),__vite__mapDeps([6,1,2,7]))],le=[],fe={"/":[2]},ce={handleError:({error:a})=>{console.error(a)},reroute:()=>{}};export{fe as dictionary,ce as hooks,re as matchers,ae as nodes,oe as root,le as server_loads};
@@ -1 +0,0 @@
1
- import{a as t}from"../chunks/entry.D1rmEaOP.js";export{t as start};
@@ -1,7 +0,0 @@
1
- import{s as W,d as X,u as Y,g as Z,e as ee,o as te}from"../chunks/scheduler.Bmg8oFKD.js";import{S as se,i as ae,e as u,s as T,t as d,c as v,a as E,k as U,f as x,b as m,d as i,l as D,g as C,h as t,j as le,q as ne,o as re}from"../chunks/index.Q3sXdwuS.js";const ie=!0,ge=Object.freeze(Object.defineProperty({__proto__:null,prerender:ie},Symbol.toStringTag,{value:"Module"})),oe="vag_ui",ce="0.0.4",pe="The webUI of vag",ue="module",ve={dev:"vite dev",build:"vite build",preview:"vite preview",check:"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch","test:unit":"vitest","test:unit:once":"vitest --run",lint:"prettier --check . && eslint .",ci:"run-s build lint check test:unit:once",format:"prettier --write .",clean:"shx rm -fr .svelte-kit build node_modules"},he={"@sveltejs/adapter-auto":"^3.2.5","@sveltejs/adapter-static":"^3.0.5","@sveltejs/kit":"^2.6.0","@sveltejs/vite-plugin-svelte":"^3.1.2","@types/eslint":"^9.6.1",eslint:"^9.11.1","eslint-config-prettier":"^9.1.0","eslint-plugin-svelte":"^2.44.1",globals:"^15.9.0","npm-run-all":"^4.1.5",prettier:"^3.3.3","prettier-plugin-svelte":"^3.2.7",sass:"^1.79.3",shx:"^0.3.4",svelte:"^4.2.19","svelte-check":"^4.0.3",typescript:"^5.6.2","typescript-eslint":"^8.7.0",vite:"^5.4.8",vitest:"^2.1.1"},Q={name:oe,version:ce,description:pe,private:!0,type:ue,scripts:ve,devDependencies:he};function fe(h){let a,o,L="Vag webUI",g,c,n,M,$,f,A,r,k,F='<ol><li><a href="https://charlyoleg2.github.io/vag">homepage</a></li> <li><a href="https://www.npmjs.com/package/vag_tools">npm-package</a></li> <li><a href="https://github.com/charlyoleg2/vag">sources</a></li></ol>',H,y,V='<h6>Examples</h6> <ol><li><a href="https://github.com/charlyoleg2/parametrix_vag">parametrix_vag</a></li></ol>',I,j,p,R,B=Q.name+"",S,O,G=Q.version+"",P,q,_;const z=h[2].default,l=X(z,h,h[1],null);return{c(){a=u("header"),o=u("h1"),o.textContent=L,g=T(),c=u("span"),n=d("running in the directory : "),M=d(h[0]),$=T(),f=u("main"),l&&l.c(),A=T(),r=u("footer"),k=u("article"),k.innerHTML=F,H=T(),y=u("article"),y.innerHTML=V,I=T(),j=u("article"),p=u("pre"),R=d(`npm package:
2
- name: `),S=d(B),O=d(`
3
- version : `),P=d(G),q=d(`
4
- `),this.h()},l(e){a=v(e,"HEADER",{class:!0});var s=E(a);o=v(s,"H1",{class:!0,"data-svelte-h":!0}),U(o)!=="svelte-1rc6va0"&&(o.textContent=L),g=x(s),c=v(s,"SPAN",{});var N=E(c);n=m(N,"running in the directory : "),M=m(N,h[0]),N.forEach(i),s.forEach(i),$=x(e),f=v(e,"MAIN",{class:!0});var J=E(f);l&&l.l(J),J.forEach(i),A=x(e),r=v(e,"FOOTER",{class:!0});var b=E(r);k=v(b,"ARTICLE",{"data-svelte-h":!0}),U(k)!=="svelte-b8gwxe"&&(k.innerHTML=F),H=x(b),y=v(b,"ARTICLE",{"data-svelte-h":!0}),U(y)!=="svelte-x5z1nf"&&(y.innerHTML=V),I=x(b),j=v(b,"ARTICLE",{});var K=E(j);p=v(K,"PRE",{});var w=E(p);R=m(w,`npm package:
5
- name: `),S=m(w,B),O=m(w,`
6
- version : `),P=m(w,G),q=m(w,`
7
- `),w.forEach(i),K.forEach(i),b.forEach(i),this.h()},h(){D(o,"class","svelte-12vn5r8"),D(a,"class","svelte-12vn5r8"),D(f,"class","svelte-12vn5r8"),D(r,"class","svelte-12vn5r8")},m(e,s){C(e,a,s),t(a,o),t(a,g),t(a,c),t(c,n),t(c,M),C(e,$,s),C(e,f,s),l&&l.m(f,null),C(e,A,s),C(e,r,s),t(r,k),t(r,H),t(r,y),t(r,I),t(r,j),t(j,p),t(p,R),t(p,S),t(p,O),t(p,P),t(p,q),_=!0},p(e,[s]){(!_||s&1)&&le(M,e[0]),l&&l.p&&(!_||s&2)&&Y(l,z,e,e[1],_?ee(z,e[1],s,null):Z(e[1]),null)},i(e){_||(ne(l,e),_=!0)},o(e){re(l,e),_=!1},d(e){e&&(i(a),i($),i(f),i(A),i(r)),l&&l.d(e)}}}function _e(h,a,o){let{$$slots:L={},$$scope:g}=a,c="unknown";return te(async()=>{try{const n=await fetch("/api/currDir");if(n.ok)o(0,c=await n.text());else throw`err312: fetch response status ${n.status}`}catch(n){console.log("err621: error while fetching /api/currDir"),console.log(n)}}),h.$$set=n=>{"$$scope"in n&&o(1,g=n.$$scope)},[c,g,L]}class ke extends se{constructor(a){super(),ae(this,a,_e,fe,W,{})}}export{ke as component,ge as universal};
@@ -1 +0,0 @@
1
- import{s as S,n as _,c as x}from"../chunks/scheduler.Bmg8oFKD.js";import{S as j,i as q,e as f,t as d,s as y,c as g,a as h,b as v,d as u,f as C,g as m,h as $,j as E}from"../chunks/index.Q3sXdwuS.js";import{s as H}from"../chunks/entry.D1rmEaOP.js";const P=()=>{const s=H;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},k={subscribe(s){return P().page.subscribe(s)}};function w(s){var b;let t,r=s[0].status+"",o,n,i,c=((b=s[0].error)==null?void 0:b.message)+"",l;return{c(){t=f("h1"),o=d(r),n=y(),i=f("p"),l=d(c)},l(e){t=g(e,"H1",{});var a=h(t);o=v(a,r),a.forEach(u),n=C(e),i=g(e,"P",{});var p=h(i);l=v(p,c),p.forEach(u)},m(e,a){m(e,t,a),$(t,o),m(e,n,a),m(e,i,a),$(i,l)},p(e,[a]){var p;a&1&&r!==(r=e[0].status+"")&&E(o,r),a&1&&c!==(c=((p=e[0].error)==null?void 0:p.message)+"")&&E(l,c)},i:_,o:_,d(e){e&&(u(t),u(n),u(i))}}}function z(s,t,r){let o;return x(s,k,n=>r(0,o=n)),[o]}let F=class extends j{constructor(t){super(),q(this,t,z,w,S,{})}};export{F as component};
@@ -1 +0,0 @@
1
- import{s as G,n as F,r as I}from"../chunks/scheduler.Bmg8oFKD.js";import{S as J,i as K,e as o,s as x,t as L,c,k as C,f as m,a as E,d as s,b as M,l as N,g as a,h as q,m as O,j as Q}from"../chunks/index.Q3sXdwuS.js";function R(r){let n,T="Trigger a sequence of tasks",f,l,i,z="task-1",k,u,_,U="task-2",b,h,p,j="task-3",y,d,H="last task",P,v,$,B,S;return{c(){n=o("h1"),n.textContent=T,f=x(),l=o("p"),i=o("button"),i.textContent=z,k=x(),u=o("p"),_=o("button"),_.textContent=U,b=x(),h=o("p"),p=o("button"),p.textContent=j,y=x(),d=o("h6"),d.textContent=H,P=x(),v=o("p"),$=L(r[0]),this.h()},l(t){n=c(t,"H1",{"data-svelte-h":!0}),C(n)!=="svelte-xgr9af"&&(n.textContent=T),f=m(t),l=c(t,"P",{});var e=E(l);i=c(e,"BUTTON",{class:!0,"data-svelte-h":!0}),C(i)!=="svelte-dxvtgv"&&(i.textContent=z),e.forEach(s),k=m(t),u=c(t,"P",{});var w=E(u);_=c(w,"BUTTON",{class:!0,"data-svelte-h":!0}),C(_)!=="svelte-txz99p"&&(_.textContent=U),w.forEach(s),b=m(t),h=c(t,"P",{});var A=E(h);p=c(A,"BUTTON",{class:!0,"data-svelte-h":!0}),C(p)!=="svelte-1uth7kz"&&(p.textContent=j),A.forEach(s),y=m(t),d=c(t,"H6",{"data-svelte-h":!0}),C(d)!=="svelte-zjuiq9"&&(d.textContent=H),P=m(t),v=c(t,"P",{});var D=E(v);$=M(D,r[0]),D.forEach(s),this.h()},h(){N(i,"class","svelte-s3y5ud"),N(_,"class","svelte-s3y5ud"),N(p,"class","svelte-s3y5ud")},m(t,e){a(t,n,e),a(t,f,e),a(t,l,e),q(l,i),a(t,k,e),a(t,u,e),q(u,_),a(t,b,e),a(t,h,e),q(h,p),a(t,y,e),a(t,d,e),a(t,P,e),a(t,v,e),q(v,$),B||(S=[O(i,"click",r[2]),O(_,"click",r[3]),O(p,"click",r[4])],B=!0)},p(t,[e]){e&1&&Q($,t[0])},i:F,o:F,d(t){t&&(s(n),s(f),s(l),s(k),s(u),s(b),s(h),s(y),s(d),s(P),s(v)),B=!1,I(S)}}}function V(r,n,T){let f="0";function l(u){T(0,f=`task-${u}`)}return[f,l,()=>l(1),()=>l(2),()=>l(3)]}class Y extends J{constructor(n){super(),K(this,n,V,R,G,{})}}export{Y as component};