designix-uis 0.5.30 → 0.5.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/designix-uis.js +6 -6
- package/dist/public/_app/immutable/chunks/entry.oPpVaRrB.js +3 -0
- package/dist/public/_app/immutable/chunks/paths.5abfQOAR.js +1 -0
- package/dist/public/_app/immutable/chunks/{stores.CBY9bGtC.js → stores.HcZef9In.js} +1 -1
- package/dist/public/_app/immutable/entry/app.CapF3jjb.js +2 -0
- package/dist/public/_app/immutable/entry/start.-Sir-erq.js +1 -0
- package/dist/public/_app/immutable/nodes/{0.CdCyE3mv.js → 0.B1yvqSEr.js} +1 -1
- package/dist/public/_app/immutable/nodes/{1.CtVuc9Pt.js → 1.DavRY4Ml.js} +1 -1
- package/dist/public/_app/immutable/nodes/{2.1BYcd1z3.js → 2.Gyi4j-fY.js} +1 -1
- package/dist/public/_app/immutable/nodes/{3.DpYrUf-F.js → 3.CR7SAa95.js} +1 -1
- package/dist/public/_app/version.json +1 -1
- package/dist/public/gear/gear_bar.html +12 -12
- package/dist/public/gear/gear_epicycloid.html +12 -12
- package/dist/public/gear/gear_ring.html +12 -12
- package/dist/public/gear/gear_wheel.html +12 -12
- package/dist/public/heliostat/base.html +12 -12
- package/dist/public/heliostat/haxis_guidance.html +12 -12
- package/dist/public/heliostat/heliostat.html +12 -12
- package/dist/public/heliostat/heliostat_2.html +12 -12
- package/dist/public/heliostat/pole_static.html +12 -12
- package/dist/public/heliostat/rake.html +12 -12
- package/dist/public/heliostat/rake_stopper.html +12 -12
- package/dist/public/heliostat/ring.html +12 -12
- package/dist/public/heliostat/ring_guidance.html +12 -12
- package/dist/public/heliostat/rod.html +12 -12
- package/dist/public/heliostat/spider.html +12 -12
- package/dist/public/heliostat/surface.html +12 -12
- package/dist/public/heliostat/swing.html +12 -12
- package/dist/public/heliostat/trapeze.html +12 -12
- package/dist/public/heliostat/vaxis.html +12 -12
- package/dist/public/heliostat/vaxis_guidance.html +12 -12
- package/dist/public/heliostat/vaxis_holder.html +12 -12
- package/dist/public/index.html +10 -10
- package/package.json +6 -6
- package/dist/public/_app/immutable/chunks/entry.BfOQ8A-P.js +0 -3
- package/dist/public/_app/immutable/chunks/paths.UrvDPV07.js +0 -1
- package/dist/public/_app/immutable/entry/app.D8kejT9N.js +0 -2
- package/dist/public/_app/immutable/entry/start.CuG414Jl.js +0 -1
package/dist/designix-uis.js
CHANGED
|
@@ -12,7 +12,7 @@ import getport from "get-port";
|
|
|
12
12
|
// package.json
|
|
13
13
|
var package_default = {
|
|
14
14
|
name: "designix-uis",
|
|
15
|
-
version: "0.5.
|
|
15
|
+
version: "0.5.31",
|
|
16
16
|
description: "mini-server for static content of designix-ui",
|
|
17
17
|
private: false,
|
|
18
18
|
repository: {
|
|
@@ -87,18 +87,18 @@ var package_default = {
|
|
|
87
87
|
clean: "shx rm -fr node_modules build dist tmp"
|
|
88
88
|
},
|
|
89
89
|
dependencies: {
|
|
90
|
-
express: "^4.
|
|
90
|
+
express: "^4.21.0",
|
|
91
91
|
"fs-extra": "^11.2.0",
|
|
92
92
|
"get-port": "^7.1.0",
|
|
93
93
|
open: "^10.1.0",
|
|
94
94
|
yargs: "^17.7.2"
|
|
95
95
|
},
|
|
96
96
|
devDependencies: {
|
|
97
|
-
"@eslint/js": "^9.
|
|
97
|
+
"@eslint/js": "^9.10.0",
|
|
98
98
|
"@types/eslint__js": "^8.42.3",
|
|
99
99
|
"@types/express": "^4.17.21",
|
|
100
100
|
"@types/fs-extra": "^11.0.4",
|
|
101
|
-
"@types/node": "^22.5.
|
|
101
|
+
"@types/node": "^22.5.5",
|
|
102
102
|
"@types/yargs": "^17.0.33",
|
|
103
103
|
eslint: "^9.10.0",
|
|
104
104
|
"eslint-config-prettier": "^9.1.0",
|
|
@@ -107,8 +107,8 @@ var package_default = {
|
|
|
107
107
|
shx: "^0.3.4",
|
|
108
108
|
tsup: "^8.2.4",
|
|
109
109
|
typescript: "^5.6.2",
|
|
110
|
-
"typescript-eslint": "^8.
|
|
111
|
-
vitest: "^2.
|
|
110
|
+
"typescript-eslint": "^8.5.0",
|
|
111
|
+
vitest: "^2.1.1"
|
|
112
112
|
}
|
|
113
113
|
};
|
|
114
114
|
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{n as le,s as it,x as ct}from"./scheduler.2BOoCPD3.js";import{a as lt,b as P}from"./paths.5abfQOAR.js";new URL("sveltekit-internal://");function ft(e,n){return e==="/"||n==="ignore"?e:n==="never"?e.endsWith("/")?e.slice(0,-1):e:n==="always"&&!e.endsWith("/")?e+"/":e}function ut(e){return e.split("%25").map(decodeURI).join("%25")}function dt(e){for(const n in e)e[n]=decodeURIComponent(e[n]);return e}function fe({href:e}){return e.split("#")[0]}const ht=["href","pathname","search","toString","toJSON"];function pt(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 ht)Object.defineProperty(r,a,{get(){return n(),e[a]},enumerable:!0,configurable:!0});return r}const gt="/__data.json",mt=".html__data.json";function _t(e){return e.endsWith(".html")?e.replace(/\.html$/,mt):e.replace(/\/$/,"")+gt}function yt(...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 wt(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 De=window.fetch;window.fetch=(e,n)=>((e instanceof Request?e.method:(n==null?void 0:n.method)||"GET")!=="GET"&&G.delete(me(e)),De(e,n));const G=new Map;function vt(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&&G.set(t,{body:a,init:o,ttl:1e3*Number(i)}),r.getAttribute("data-b64")!==null&&(a=wt(a)),Promise.resolve(new Response(a,o))}return window.fetch(e,n)}function bt(e,n,t){if(G.size>0){const r=me(e,t),a=G.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);G.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="${yt(...a)}"]`}return r}const Et=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function kt(e){const n=[];return{pattern:e==="/"?/^\/$/:new RegExp(`^${At(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 u=Et.exec(c),[,h,g,d,_]=u;return n.push({name:d,matcher:_,optional:!!h,rest:!!g,chained:g?l===1&&i[0]==="":!1}),g?"(.*?)":h?"([^/]*)?":"([^/]+?)"}return ue(c)}).join("")}).join("")}/?$`),params:n}}function St(e){return!/^\([^)]+\)$/.test(e)}function At(e){return e.slice(1).split("/").filter(St)}function Rt(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(u=>u).join("/"),i=0),l===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||t[c.matcher](l)){r[c.name]=l;const u=n[s+1],h=a[s+1];u&&!u.rest&&u.optional&&h&&c.chained&&(i=0),!u&&!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 It({nodes:e,server_loads:n,dictionary:t,matchers:r}){const a=new Set(n);return Object.entries(t).map(([s,[c,l,u]])=>{const{pattern:h,params:g}=kt(s),d={id:s,exec:_=>{const f=h.exec(_);if(f)return Rt(f,g,r)},errors:[1,...u||[]].map(_=>e[_]),layouts:[0,...l||[]].map(i),leaf:o(c)};return d.errors.length=d.layouts.length=Math.max(d.errors.length,d.layouts.length),d});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 Ce(e,n=JSON.parse){try{return n(sessionStorage[e])}catch{}}function Pe(e,n,t=JSON.stringify){const r=t(n);try{sessionStorage[e]=r}catch{}}const O=[];function _e(e,n=le){let t;const r=new Set;function a(s){if(it(e,s)&&(e=s,t)){const c=!O.length;for(const l of r)l[1](),O.push(l,e);if(c){for(let l=0;l<O.length;l+=2)O[l][0](O[l+1]);O.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}}const Lt="1726422611317",Ve="sveltekit:snapshot",Fe="sveltekit:scroll",qe="sveltekit:states",Pt="sveltekit:pageurl",D="sveltekit:history",M="sveltekit:navigation",J={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},z=location.origin;function Ge(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 ye(){return{x:pageXOffset,y:pageYOffset}}function j(e,n){return e.getAttribute(`data-sveltekit-${n}`)}const xe={...J,"":J.hover};function He(e){let n=e.assignedSlot??e.parentNode;return(n==null?void 0:n.nodeType)===11&&(n=n.host),n}function Me(e,n){for(;e&&e!==n;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=He(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)===z&&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=j(s,"preload-code")),a===null&&(a=j(s,"preload-data")),n===null&&(n=j(s,"keepfocus")),t===null&&(t=j(s,"noscroll")),o===null&&(o=j(s,"reload")),i===null&&(i=j(s,"replacestate")),s=He(s);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:xe[r??"off"],preload_data:xe[a??"off"],keepfocus:c(n),noscroll:c(t),reload:c(o),replace_state:c(i)}}function Te(e){const n=_e(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 xt(){const{set:e,subscribe:n}=_e(!1);let t;async function r(){clearTimeout(t);try{const a=await fetch(`${lt}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const i=(await a.json()).version!==Lt;return i&&(e(!0),clearTimeout(t)),i}catch{return!1}}return{subscribe:n,check:r}}function re(e,n){return e.origin!==z||!e.pathname.startsWith(n)}const Tt=-1,Ut=-2,Nt=-3,Ot=-4,jt=-5,$t=-6;function Dt(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===Tt)return;if(o===Nt)return NaN;if(o===Ot)return 1/0;if(o===jt)return-1/0;if(o===$t)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 u=new Set;r[o]=u;for(let d=1;d<s.length;d+=1)u.add(a(s[d]));break;case"Map":const h=new Map;r[o]=h;for(let d=1;d<s.length;d+=2)h.set(a(s[d]),a(s[d+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 d=1;d<s.length;d+=2)g[s[d]]=a(s[d+1]);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 u=s[l];u!==Ut&&(c[l]=a(u))}}else{const c={};r[o]=c;for(const l in s){const u=s[l];c[l]=a(u)}}return r[o]}return a(0)}const Be=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...Be];const Ct=new Set([...Be]);[...Ct];function Vt(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 Ke{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 Ft="x-sveltekit-invalidated",qt="x-sveltekit-trailing-slash";function X(e){return e instanceof ae||e instanceof we?e.status:500}function Gt(e){return e instanceof we?e.text:"Internal Error"}const N=Ce(Fe)??{},B=Ce(Ve)??{},T={url:Te({}),page:Te({}),navigating:_e(null),updated:xt()};function ve(e){N[e]=ye()}function Ht(e,n){let t=e+1;for(;N[t];)delete N[t],t+=1;for(t=n+1;B[t];)delete B[t],t+=1}function V(e){return location.href=e.href,new Promise(()=>{})}function Ue(){}let oe,pe,Z,x,ge,F;const ze=[],Q=[];let R=null;const Ye=[],Mt=[];let $=[],y={branch:[],error:null,url:null},be=!1,ee=!1,Ne=!0,K=!1,q=!1,Je=!1,Ee=!1,ke,S,L,I,te;const H=new Set;async function nn(e,n,t){var a,o;document.URL!==location.href&&(location.href=location.href),F=e,oe=It(e),x=document.documentElement,ge=n,pe=e.nodes[0],Z=e.nodes[1],pe(),Z(),S=(a=history.state)==null?void 0:a[D],L=(o=history.state)==null?void 0:o[M],S||(S=L=Date.now(),history.replaceState({...history.state,[D]:S,[M]:L},""));const r=N[S];r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y)),t?await Zt(ge,t):Wt(location.href,{replaceState:!0}),Xt()}function Bt(){ze.length=0,Ee=!1}function We(e){Q.some(n=>n==null?void 0:n.snapshot)&&(B[e]=Q.map(n=>{var t;return(t=n==null?void 0:n.snapshot)==null?void 0:t.capture()}))}function Xe(e){var n;(n=B[e])==null||n.forEach((t,r)=>{var a,o;(o=(a=Q[r])==null?void 0:a.snapshot)==null||o.restore(t)})}function Oe(){ve(S),Pe(Fe,N),We(L),Pe(Ve,B)}async function Ze(e,n,t,r){return Y({type:"goto",url:Ge(e),keepfocus:n.keepFocus,noscroll:n.noScroll,replace_state:n.replaceState,state:n.state,redirect_count:t,nav_token:r,accept:()=>{n.invalidateAll&&(Ee=!0)}})}async function Kt(e){if(e.id!==(R==null?void 0:R.id)){const n={};H.add(n),R={id:e.id,token:n,promise:et({...e,preload:n}).then(t=>(H.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(tt(e)));n&&await Promise.all([...n.layouts,n.leaf].map(t=>t==null?void 0:t[1]()))}function Qe(e,n,t){var o;y=e.state;const r=document.querySelector("style[data-sveltekit]");r&&r.remove(),I=e.props.page,ke=new F.root({target:n,props:{...e.props,stores:T,components:Q},hydrate:t,sync:!1}),Xe(L);const a={from:null,to:{params:y.params,route:{id:((o=y.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};$.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(P&&(e.pathname===P||e.pathname===P+"/"))s="always";else for(const d of t)(d==null?void 0:d.slash)!==void 0&&(s=d.slash);e.pathname=ft(e.pathname,s),e.search=e.search;const c={type:"loaded",state:{url:e,params:n,branch:t,error:a,route:o},props:{constructors:Vt(t).map(d=>d.node.component),page:I}};i!==void 0&&(c.props.form=i);let l={},u=!I,h=0;for(let d=0;d<Math.max(t.length,y.branch.length);d+=1){const _=t[d],f=y.branch[d];(_==null?void 0:_.data)!==(f==null?void 0:f.data)&&(u=!0),_&&(l={...l,..._.data},u&&(c.props[`data_${h}`]=l),h+=1)}return(!y.url||e.href!==y.url.href||y.error!==a||i!==void 0&&i!==I.form||u)&&(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:u?l:I.data}),c}async function Se({loader:e,parent:n,url:t,params:r,route:a,server_data_node:o}){var u,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((u=l.universal)!=null&&u.load){let d=function(...f){for(const m of f){const{href:b}=new URL(m,t);c.dependencies.add(b)}};const _={route:new Proxy(a,{get:(f,m)=>(s&&(c.route=!0),f[m])}),params:new Proxy(r,{get:(f,m)=>(s&&c.params.add(m),f[m])}),data:(o==null?void 0:o.data)??null,url:pt(t,()=>{s&&(c.url=!0)},f=>{s&&c.search_params.add(f)}),async fetch(f,m){let b;f instanceof Request?(b=f.url,m={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,...m}):b=f;const A=new URL(b,t);return s&&d(A.href),A.origin===t.origin&&(b=A.href.slice(t.origin.length)),ee?bt(b,A.href,m):vt(b,m)},setHeaders:()=>{},depends:d,parent(){return s&&(c.parent=!0),n()},untrack(f){s=!1;try{return f()}finally{s=!0}}};i=await l.universal.load.call(null,_)??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(Ee)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]!==y.params[i])return!0;for(const i of a.dependencies)if(ze.some(s=>s(new URL(i))))return!0;return!1}function Ae(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 $e({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 et({id:e,invalidating:n,url:t,params:r,route:a,preload:o}){if((R==null?void 0:R.id)===e)return H.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 u=null;const h=y.url?e!==y.url.pathname+y.url.search:!1,g=y.route?a.id!==y.route.id:!1,d=zt(y.url,t);let _=!1;const f=l.map((p,v)=>{var U;const E=y.branch[v],k=!!(p!=null&&p[0])&&((E==null?void 0:E.loader)!==p[1]||je(_,g,h,d,(U=E.server)==null?void 0:U.uses,r));return k&&(_=!0),k});if(f.some(Boolean)){try{u=await at(t,f)}catch(p){const v=await C(p,{url:t,params:r,route:{id:e}});return H.has(o)?$e({error:v,url:t,params:r,route:a}):se({status:X(p),error:v,url:t,route:a})}if(u.type==="redirect")return u}const m=u==null?void 0:u.nodes;let b=!1;const A=l.map(async(p,v)=>{var ie;if(!p)return;const E=y.branch[v],k=m==null?void 0:m[v];if((!k||k.type==="skip")&&p[1]===(E==null?void 0:E.loader)&&!je(b,g,h,d,(ie=E.universal)==null?void 0:ie.uses,r))return E;if(b=!0,(k==null?void 0:k.type)==="error")throw k;return Se({loader:p[1],url:t,params:r,route:a,parent:async()=>{var Le;const Ie={};for(let ce=0;ce<v;ce+=1)Object.assign(Ie,(Le=await A[ce])==null?void 0:Le.data);return Ie},server_data_node:Ae(k===void 0&&p[0]?{type:"skip"}:k??null,p[0]?E==null?void 0:E.server:void 0)})});for(const p of A)p.catch(()=>{});const w=[];for(let p=0;p<l.length;p+=1)if(l[p])try{w.push(await A[p])}catch(v){if(v instanceof Ke)return{type:"redirect",location:v.location};if(H.has(o))return $e({error:await C(v,{params:r,url:t,route:{id:a.id}}),url:t,params:r,route:a});let E=X(v),k;if(m!=null&&m.includes(v))E=v.status??E,k=v.error;else if(v instanceof ae)k=v.body;else{if(await T.updated.check())return await V(t);k=await C(v,{params:r,url:t,route:{id:a.id}})}const U=await Yt(p,w,i);return U?ne({url:t,params:r,branch:w.slice(0,U.idx).concat(U.node),status:E,error:k,route:a}):await rt(t,{id:a.id},k,E)}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 Yt(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(F.server_loads[0]===0)try{const l=await at(t,[!0]);if(l.type!=="data"||l.nodes[0]&&l.nodes[0].type!=="data")throw 0;o=l.nodes[0]??null}catch{(t.origin!==z||t.pathname!==location.pathname||be)&&await V(t)}const s=await Se({loader:pe,url:t,params:a,route:r,parent:()=>Promise.resolve({}),server_data_node:Ae(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,P))return;let t;try{t=F.hooks.reroute({url:new URL(e)})??e.pathname}catch{return}const r=tt(t);for(const a of oe){const o=a.exec(r);if(o)return{id:e.pathname+e.search,invalidating:n,route:a,params:dt(o),url:e}}}function tt(e){return ut(e.slice(P.length)||"/")}function nt({url:e,type:n,intent:t,delta:r}){let a=!1;const o=st(y,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||Ye.forEach(s=>s(i)),a?null:o}async function Y({type:e,url:n,popped:t,keepfocus:r,noscroll:a,replace_state:o,state:i={},redirect_count:s=0,nav_token:c={},accept:l=Ue,block:u=Ue}){const h=Re(n,!1),g=nt({url:n,type:e,delta:t==null?void 0:t.delta,intent:h});if(!g){u();return}const d=S,_=L;l(),K=!0,ee&&T.navigating.set(g.navigation),te=c;let f=h&&await et(h);if(!f){if(re(n,P))return await V(n);f=await rt(n,{id:null},await C(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 C(new Error("Redirect loop"),{url:n,params:{},route:{id:null}}),url:n,route:{id:null}});else return Ze(new URL(f.location,n).href,{},s+1,c),!1;else f.props.page.status>=400&&await T.updated.check()&&await V(n);if(Bt(),ve(d),We(_),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]:S+=w,[M]:L+=w,[qe]:i};(o?history.replaceState:history.pushState).call(history,p,"",n),o||Ht(S,L)}if(R=null,f.props.page.state=i,ee){y=f.state,f.props.page&&(f.props.page.url=n);const w=(await Promise.all(Mt.map(p=>p(g.navigation)))).filter(p=>typeof p=="function");if(w.length>0){let p=function(){$=$.filter(v=>!w.includes(v))};w.push(p),$.push(...w)}ke.$set(f.props),Je=!0}else Qe(f,ge,!1);const{activeElement:m}=document;await ct();const b=t?t.scroll:a?ye():null;if(Ne){const w=n.hash&&document.getElementById(decodeURIComponent(n.hash.slice(1)));b?scrollTo(b.x,b.y):w?w.scrollIntoView():scrollTo(0,0)}const A=document.activeElement!==m&&document.activeElement!==document.body;!r&&!A&&Qt(),Ne=!0,f.props.page&&(I=f.props.page),K=!1,e==="popstate"&&Xe(L),g.fulfil(void 0),$.forEach(w=>w(g.navigation)),T.navigating.set(null)}async function rt(e,n,t,r){return e.origin===z&&e.pathname===location.pathname&&!be?await se({status:r,error:t,url:e,route:n}):await V(e)}function Jt(){let e;x.addEventListener("mousemove",o=>{const i=o.target;clearTimeout(e),e=setTimeout(()=>{r(i,2)},20)});function n(o){r(o.composedPath()[0],1)}x.addEventListener("mousedown",n),x.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=Me(o,x);if(!s)return;const{url:c,external:l,download:u}=he(s,P);if(l||u)return;const h=W(s);if(!h.reload)if(i<=h.preload_data){const g=Re(c,!1);g&&Kt(g)}else i<=h.preload_code&&de(c.pathname)}function a(){t.disconnect();for(const o of x.querySelectorAll("a")){const{url:i,external:s,download:c}=he(o,P);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))}}$.push(a),a()}function C(e,n){if(e instanceof ae)return e.body;const t=X(e),r=Gt(e);return F.hooks.handleError({error:e,event:n,status:t,message:r})??{message:r}}function Wt(e,n={}){return e=Ge(e),e.origin!==z?Promise.reject(new Error("goto: invalid URL")):Ze(e,n,0)}function Xt(){var n;history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let r=!1;if(Oe(),!K){const a=st(y,void 0,null,"leave"),o={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};Ye.forEach(i=>i(o))}r?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Oe()}),(n=navigator.connection)!=null&&n.saveData||Jt(),x.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=Me(t.composedPath()[0],x);if(!r)return;const{url:a,external:o,target:i,download:s}=he(r,P);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){nt({url:a,type:"link"})?K=!0:t.preventDefault();return}const[u,h]=a.href.split("#");if(h!==void 0&&u===fe(location)){const[,d]=y.url.href.split("#");if(d===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(q=!0,ve(S),e(a),!c.replace_state)return;q=!1}t.preventDefault(),await new Promise(d=>{requestAnimationFrame(()=>{setTimeout(d,0)}),setTimeout(d,100)}),Y({type:"link",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href})}),x.addEventListener("submit",t=>{if(t.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(t.target),a=t.submitter;if(((a==null?void 0:a.formMethod)||r.method)!=="get")return;const i=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(re(i,P))return;const s=t.target,c=W(s);if(c.reload)return;t.preventDefault(),t.stopPropagation();const l=new FormData(s),u=a==null?void 0:a.getAttribute("name");u&&l.append(u,(a==null?void 0:a.getAttribute("value"))??""),i.search=new URLSearchParams(l).toString(),Y({type:"form",url:i,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??i.href===location.href})}),addEventListener("popstate",async t=>{var r;if((r=t.state)!=null&&r[D]){const a=t.state[D];if(te={},a===S)return;const o=N[a],i=t.state[qe]??{},s=new URL(t.state[Pt]??location.href),c=t.state[M],l=fe(location)===fe(y.url);if(c===L&&(Je||l)){e(s),N[S]=ye(),o&&scrollTo(o.x,o.y),i!==I.state&&(I={...I,state:i},ke.$set({page:I})),S=a;return}const h=a-S;await Y({type:"popstate",url:s,popped:{state:i,scroll:o,delta:h},accept:()=>{S=a,L=c},block:()=>{history.go(-h)},nav_token:te})}else if(!q){const a=new URL(location.href);e(a)}}),addEventListener("hashchange",()=>{q&&(q=!1,history.replaceState({...history.state,[D]:++S,[M]:L},"",location.href))});for(const t of document.querySelectorAll("link"))t.rel==="icon"&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&T.navigating.set(null)});function e(t){y.url=t,T.page.set({...I,url:t}),T.page.notify()}}async function Zt(e,{status:n=200,error:t,node_ids:r,params:a,route:o,data:i,form:s}){be=!0;const c=new URL(location.href);({params:a={},route:o={id:null}}=Re(c,!1)||{});let l;try{const u=r.map(async(d,_)=>{const f=i[_];return f!=null&&f.uses&&(f.uses=ot(f.uses)),Se({loader:F.nodes[d],url:c,params:a,route:o,parent:async()=>{const m={};for(let b=0;b<_;b+=1)Object.assign(m,(await u[b]).data);return m},server_data_node:Ae(f)})}),h=await Promise.all(u),g=oe.find(({id:d})=>d===o.id);if(g){const d=g.layouts;for(let _=0;_<d.length;_++)d[_]||h.splice(_,0,void 0)}l=ne({url:c,params:a,branch:h,status:n,error:t,form:s,route:g??null})}catch(u){if(u instanceof Ke){await V(new URL(u.location,location.href));return}l=await se({status:X(u),error:await C(u,{url:c,params:a,route:o}),url:c,route:o})}l.props.page&&(l.props.page.state={}),Qe(l,e,!0)}async function at(e,n){var a;const t=new URL(e);t.pathname=_t(e.pathname),e.pathname.endsWith("/")&&t.searchParams.append(qt,"1"),t.searchParams.append(Ft,n.map(o=>o?"1":"0").join(""));const r=await De(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 Dt(g,{Promise:d=>new Promise((_,f)=>{i.set(d,{fulfil:_,reject:f})})})}let u="";for(;;){const{done:g,value:d}=await s.read();if(g&&!u)break;for(u+=!d&&u?`
|
|
2
|
+
`:c.decode(d,{stream:!0});;){const _=u.indexOf(`
|
|
3
|
+
`);if(_===-1)break;const f=JSON.parse(u.slice(0,_));if(u=u.slice(_+1),f.type==="redirect")return o(f);if(f.type==="data")(h=f.nodes)==null||h.forEach(m=>{(m==null?void 0:m.type)==="data"&&(m.uses=ot(m.uses),m.data=l(m.data))}),o(f);else if(f.type==="chunk"){const{id:m,data:b,error:A}=f,w=i.get(m);i.delete(m),A?w.reject(l(A)):w.fulfil(l(b))}}}})}function ot(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 Qt(){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 st(e,n,t,r){var c,l;let a,o;const i=new Promise((u,h)=>{a=u,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{ae as H,nn as a,Wt as g,T as s,_e as w};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var s;const e=((s=globalThis.__sveltekit_1ku8zzk)==null?void 0:s.base)??"";var a;const t=((a=globalThis.__sveltekit_1ku8zzk)==null?void 0:a.assets)??e;export{t as a,e as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as e}from"./entry.
|
|
1
|
+
import{s as e}from"./entry.oPpVaRrB.js";const r=()=>{const s=e;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},b={subscribe(s){return r().page.subscribe(s)}};export{b as p};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_app/immutable/nodes/0.B1yvqSEr.js","_app/immutable/chunks/scheduler.2BOoCPD3.js","_app/immutable/chunks/index.RMmEH_Pi.js","_app/immutable/chunks/index.VmH-9d5B.js","_app/immutable/chunks/paths.5abfQOAR.js","_app/immutable/assets/0.BNk8pMG6.css","_app/immutable/nodes/1.DavRY4Ml.js","_app/immutable/chunks/stores.HcZef9In.js","_app/immutable/chunks/entry.oPpVaRrB.js","_app/immutable/nodes/2.Gyi4j-fY.js","_app/immutable/chunks/makeList.OAfyhA_q.js","_app/immutable/assets/2.CTp7BhB8.css","_app/immutable/nodes/3.CR7SAa95.js","_app/immutable/assets/3.Bup7ghXO.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{s as N,a as U,p as h,g as j,i as b,f as p,q as B,r as W,e as z,c as F,b as G,m as A,u as m,t as H,d as J,j as K,v as D,w as k,x as Q}from"../chunks/scheduler.2BOoCPD3.js";import{S as X,i as Y,t as g,c as S,a as w,g as L,b as E,d as I,m as v,e as y}from"../chunks/index.RMmEH_Pi.js";const Z="modulepreload",M=function(a){return"/"+a},O={},P=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 O)return;O[o]=!0;const c=o.endsWith(".css"),f=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${o}"]${f}`))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,R)=>{u.addEventListener("load",d),u.addEventListener("error",()=>R(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&&E(e.$$.fragment),n=h()},l(t){e&&I(e.$$.fragment,t),n=h()},m(t,i){e&&v(e,t,i),b(t,n,i),r=!0},p(t,i){if(i&2&&s!==(s=t[1][0])){if(e){L();const o=e;g(o.$$.fragment,1,0,()=>{y(o,1)}),S()}s?(e=k(s,_(t)),t[12](e),E(e.$$.fragment),w(e.$$.fragment,1),v(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&&w(e.$$.fragment,t),r=!0)},o(t){e&&g(e.$$.fragment,t),r=!1},d(t){t&&p(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&&E(e.$$.fragment),n=h()},l(t){e&&I(e.$$.fragment,t),n=h()},m(t,i){e&&v(e,t,i),b(t,n,i),r=!0},p(t,i){if(i&2&&s!==(s=t[1][0])){if(e){L();const o=e;g(o.$$.fragment,1,0,()=>{y(o,1)}),S()}s?(e=k(s,_(t)),t[11](e),E(e.$$.fragment),w(e.$$.fragment,1),v(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&&w(e.$$.fragment,t),r=!0)},o(t){e&&g(e.$$.fragment,t),r=!1},d(t){t&&p(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&&E(e.$$.fragment),n=h()},l(t){e&&I(e.$$.fragment,t),n=h()},m(t,i){e&&v(e,t,i),b(t,n,i),r=!0},p(t,i){if(i&2&&s!==(s=t[1][1])){if(e){L();const o=e;g(o.$$.fragment,1,0,()=>{y(o,1)}),S()}s?(e=k(s,_(t)),t[10](e),E(e.$$.fragment),w(e.$$.fragment,1),v(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&&w(e.$$.fragment,t),r=!0)},o(t){e&&g(e.$$.fragment,t),r=!1},d(t){t&&p(n),a[10](null),e&&y(e,t)}}}function T(a){let e,n=a[6]&&V(a);return{c(){e=z("div"),n&&n.c(),this.h()},l(r){e=F(r,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var s=G(e);n&&n.l(s),s.forEach(p),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=V(r),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(r){r&&p(e),n&&n.d()}}}function V(a){let e;return{c(){e=H(a[7])},l(n){e=J(n,a[7])},m(n,r){b(n,e,r)},p(n,r){r&128&&K(e,n[7])},d(n){n&&p(e)}}}function te(a){let e,n,r,s,_;const t=[x,$],i=[];function o(f,u){return f[1][1]?0:1}e=o(a),n=i[e]=t[e](a);let c=a[5]&&T(a);return{c(){n.c(),r=U(),c&&c.c(),s=h()},l(f){n.l(f),r=j(f),c&&c.l(f),s=h()},m(f,u){i[e].m(f,u),b(f,r,u),c&&c.m(f,u),b(f,s,u),_=!0},p(f,[u]){let d=e;e=o(f),e===d?i[e].p(f,u):(L(),g(i[d],1,1,()=>{i[d]=null}),S(),n=i[e],n?n.p(f,u):(n=i[e]=t[e](f),n.c()),w(n,1),n.m(r.parentNode,r)),f[5]?c?c.p(f,u):(c=T(f),c.c(),c.m(s.parentNode,s)):c&&(c.d(1),c=null)},i(f){_||(w(n),_=!0)},o(f){g(n),_=!1},d(f){f&&(p(r),p(s)),i[e].d(f),c&&c.d(f)}}}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;B(r.page.notify);let f=!1,u=!1,d=null;W(()=>{const l=r.page.subscribe(()=>{f&&(n(6,u=!0),Q().then(()=>{n(7,d=document.title||"untitled page")}))});return n(5,f=!0),l});function R(l){D[l?"unshift":"push"](()=>{t[1]=l,n(0,t)})}function q(l){D[l?"unshift":"push"](()=>{t[0]=l,n(0,t)})}function C(l){D[l?"unshift":"push"](()=>{t[0]=l,n(0,t)})}return a.$$set=l=>{"stores"in l&&n(8,r=l.stores),"page"in l&&n(9,s=l.page),"constructors"in l&&n(1,_=l.constructors),"components"in l&&n(0,t=l.components),"form"in l&&n(2,i=l.form),"data_0"in l&&n(3,o=l.data_0),"data_1"in l&&n(4,c=l.data_1)},a.$$.update=()=>{a.$$.dirty&768&&r.page.set(s)},[t,_,i,o,c,f,u,d,r,s,R,q,C]}class oe extends X{constructor(e){super(),Y(this,e,ne,te,N,{stores:8,page:9,constructors:1,components:0,form:2,data_0:3,data_1:4})}}const ae=[()=>P(()=>import("../nodes/0.B1yvqSEr.js"),__vite__mapDeps([0,1,2,3,4,5])),()=>P(()=>import("../nodes/1.DavRY4Ml.js"),__vite__mapDeps([6,1,2,7,8,4])),()=>P(()=>import("../nodes/2.Gyi4j-fY.js"),__vite__mapDeps([9,1,3,2,10,4,11])),()=>P(()=>import("../nodes/3.CR7SAa95.js"),__vite__mapDeps([12,10,3,8,1,4,2,7,13]))],fe=[],le={"/":[2],"/[...design]":[3]},ce={handleError:({error:a})=>{console.error(a)},reroute:()=>{}};export{le as dictionary,ce as hooks,re as matchers,ae as nodes,oe as root,fe as server_loads};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as t}from"../chunks/entry.oPpVaRrB.js";export{t as start};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{s as Q,y as V,e as h,a as j,c as v,l as L,g as $,b as A,f as a,m as E,i as u,h as H,z as G,A as J,B as K,o as U,t as X,d as Y,n as Z}from"../chunks/scheduler.2BOoCPD3.js";import{S as ee,i as te,a as se,t as ie}from"../chunks/index.RMmEH_Pi.js";import{e as W,C as le}from"../chunks/index.VmH-9d5B.js";import{b as ne}from"../chunks/paths.
|
|
1
|
+
import{s as Q,y as V,e as h,a as j,c as v,l as L,g as $,b as A,f as a,m as E,i as u,h as H,z as G,A as J,B as K,o as U,t as X,d as Y,n as Z}from"../chunks/scheduler.2BOoCPD3.js";import{S as ee,i as te,a as se,t as ie}from"../chunks/index.RMmEH_Pi.js";import{e as W,C as le}from"../chunks/index.VmH-9d5B.js";import{b as ne}from"../chunks/paths.5abfQOAR.js";const ae=!0,$e=Object.freeze(Object.defineProperty({__proto__:null,prerender:ae},Symbol.toStringTag,{value:"Module"})),re="designix-ui",oe="0.5.5",ce="The svelte-kit app built on top of designix",pe={type:"git",url:"git+https://github.com/charlyoleg2/parametrix.git"},ue="https://charlyoleg2.github.io/parametrix/",he="charlyoleg2",ve="ISC",de=["cad","programmatic","2D","circle","stroke","arc","gear"],fe="module",me={useTabs:!0,singleQuote:!0,trailingComma:"none",printWidth:100,plugins:["prettier-plugin-svelte"],overrides:[{files:"*.svelte",options:{parser:"svelte"}}]},ge={cp_pgdsvg:"shx cp -r ../../node_modules/designix/dist/pgdsvg static/",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 cp_pgdsvg build lint check test:unit:once",format:"prettier --write .",clean:"shx rm -fr .svelte-kit build node_modules static/pgdsvg"},_e={designix:"^0.5.49",geometrix:"^0.5.48",geomui:"^0.5.50"},xe={"@sveltejs/adapter-auto":"^3.2.4","@sveltejs/adapter-static":"^3.0.4","@sveltejs/kit":"^2.5.27","@sveltejs/vite-plugin-svelte":"^3.1.2","@types/eslint":"^9.6.1",eslint:"^9.10.0","eslint-config-prettier":"^9.1.0","eslint-plugin-svelte":"^2.44.0",globals:"^15.9.0","npm-run-all":"^4.1.5",prettier:"^3.3.3","prettier-plugin-svelte":"^3.2.6",sass:"^1.78.0",shx:"^0.3.4",svelte:"^4.2.19","svelte-check":"^4.0.2",typescript:"^5.6.2","typescript-eslint":"^8.5.0",vite:"^5.4.5",vitest:"^2.1.1"},ye={name:re,version:oe,description:ce,private:!0,repository:pe,homepage:ue,author:he,license:ve,keywords:de,type:fe,prettier:me,scripts:ge,dependencies:_e,devDependencies:xe};function q(c,i,p){const r=c.slice();return r[3]=i[p],r}function F(c){let i=c[3]+"",p,r;return{c(){p=X(i),r=h("br")},l(s){p=Y(s,i),r=v(s,"BR",{})},m(s,m){u(s,p,m),u(s,r,m)},p:Z,d(s){s&&(a(p),a(r))}}}function be(c){let i,p="Welcome to designix-ui",r,s,m=`Showcasing the usage of the <a href="https://svelte.dev/">svelte</a> library
|
|
2
2
|
<a href="https://www.npmjs.com/">geomui</a>.`,g,f,R=`<a href="${`${ne}/`}" class="svelte-im9xuh">index: list of designs</a>`,M,_,S,d,b,B=`<a href="https://github.com/charlyoleg2/parametrix">designix-ui</a>, a minimalist showcase
|
|
3
3
|
of
|
|
4
4
|
<a href="https://www.npmjs.com/">geomui</a>.`,D,x,k,N="Designix-ui version",O,w,C;const z=c[2].default,o=V(z,c,c[1],null);let T=W(c[0]),l=[];for(let e=0;e<T.length;e+=1)l[e]=F(q(c,T,e));return{c(){i=h("h1"),i.textContent=p,r=j(),s=h("h6"),s.innerHTML=m,g=j(),f=h("nav"),f.innerHTML=R,M=j(),_=h("main"),o&&o.c(),S=j(),d=h("footer"),b=h("article"),b.innerHTML=B,D=j(),x=h("article"),k=h("h3"),k.textContent=N,O=j(),w=h("code");for(let e=0;e<l.length;e+=1)l[e].c();this.h()},l(e){i=v(e,"H1",{class:!0,"data-svelte-h":!0}),L(i)!=="svelte-1ow6r3d"&&(i.textContent=p),r=$(e),s=v(e,"H6",{class:!0,"data-svelte-h":!0}),L(s)!=="svelte-7mn22s"&&(s.innerHTML=m),g=$(e),f=v(e,"NAV",{class:!0,"data-svelte-h":!0}),L(f)!=="svelte-ww4mf0"&&(f.innerHTML=R),M=$(e),_=v(e,"MAIN",{class:!0});var n=A(_);o&&o.l(n),n.forEach(a),S=$(e),d=v(e,"FOOTER",{class:!0});var t=A(d);b=v(t,"ARTICLE",{"data-svelte-h":!0}),L(b)!=="svelte-1pwhz7h"&&(b.innerHTML=B),D=$(t),x=v(t,"ARTICLE",{});var y=A(x);k=v(y,"H3",{"data-svelte-h":!0}),L(k)!=="svelte-18yz28i"&&(k.textContent=N),O=$(y),w=v(y,"CODE",{});var P=A(w);for(let I=0;I<l.length;I+=1)l[I].l(P);P.forEach(a),y.forEach(a),t.forEach(a),this.h()},h(){E(i,"class","svelte-im9xuh"),E(s,"class","svelte-im9xuh"),E(f,"class","svelte-im9xuh"),E(_,"class","svelte-im9xuh"),E(d,"class","svelte-im9xuh")},m(e,n){u(e,i,n),u(e,r,n),u(e,s,n),u(e,g,n),u(e,f,n),u(e,M,n),u(e,_,n),o&&o.m(_,null),u(e,S,n),u(e,d,n),H(d,b),H(d,D),H(d,x),H(x,k),H(x,O),H(x,w);for(let t=0;t<l.length;t+=1)l[t]&&l[t].m(w,null);C=!0},p(e,[n]){if(o&&o.p&&(!C||n&2)&&G(o,z,e,e[1],C?K(z,e[1],n,null):J(e[1]),null),n&1){T=W(e[0]);let t;for(t=0;t<T.length;t+=1){const y=q(e,T,t);l[t]?l[t].p(y,n):(l[t]=F(y),l[t].c(),l[t].m(w,null))}for(;t<l.length;t+=1)l[t].d(1);l.length=T.length}},i(e){C||(se(o,e),C=!0)},o(e){ie(o,e),C=!1},d(e){e&&(a(i),a(r),a(s),a(g),a(f),a(M),a(_),a(S),a(d)),o&&o.d(e),U(l,e)}}}function ke(c,i,p){let{$$slots:r={},$$scope:s}=i;const m=le(ye);return c.$$set=g=>{"$$scope"in g&&p(1,s=g.$$scope)},[m,s,r]}class He extends ee{constructor(i){super(),te(this,i,ke,be,Q,{})}}export{He as component,$e as universal};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as x,e as u,t as h,a as S,c as d,b as v,d as g,f as m,g as j,i as _,h as b,j as E,n as $,k}from"../chunks/scheduler.2BOoCPD3.js";import{S as q,i as y}from"../chunks/index.RMmEH_Pi.js";import{p as C}from"../chunks/stores.
|
|
1
|
+
import{s as x,e as u,t as h,a as S,c as d,b as v,d as g,f as m,g as j,i as _,h as b,j as E,n as $,k}from"../chunks/scheduler.2BOoCPD3.js";import{S as q,i as y}from"../chunks/index.RMmEH_Pi.js";import{p as C}from"../chunks/stores.HcZef9In.js";function H(i){var f;let a,s=i[0].status+"",r,o,n,p=((f=i[0].error)==null?void 0:f.message)+"",c;return{c(){a=u("h1"),r=h(s),o=S(),n=u("p"),c=h(p)},l(e){a=d(e,"H1",{});var t=v(a);r=g(t,s),t.forEach(m),o=j(e),n=d(e,"P",{});var l=v(n);c=g(l,p),l.forEach(m)},m(e,t){_(e,a,t),b(a,r),_(e,o,t),_(e,n,t),b(n,c)},p(e,[t]){var l;t&1&&s!==(s=e[0].status+"")&&E(r,s),t&1&&p!==(p=((l=e[0].error)==null?void 0:l.message)+"")&&E(c,p)},i:$,o:$,d(e){e&&(m(a),m(o),m(n))}}}function P(i,a,s){let r;return k(i,C,o=>s(0,r=o)),[r]}class B extends q{constructor(a){super(),y(this,a,P,H,x,{})}}export{B as component};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as g,e as _,a as x,c as d,l as b,g as y,b as p,f as c,m as v,i as f,n as m,o as C,t as L,d as k,h as u}from"../chunks/scheduler.2BOoCPD3.js";import{e as E}from"../chunks/index.VmH-9d5B.js";import{S,i as $}from"../chunks/index.RMmEH_Pi.js";import{d as q}from"../chunks/makeList.OAfyhA_q.js";import{b as A}from"../chunks/paths.
|
|
1
|
+
import{s as g,e as _,a as x,c as d,l as b,g as y,b as p,f as c,m as v,i as f,n as m,o as C,t as L,d as k,h as u}from"../chunks/scheduler.2BOoCPD3.js";import{e as E}from"../chunks/index.VmH-9d5B.js";import{S,i as $}from"../chunks/index.RMmEH_Pi.js";import{d as q}from"../chunks/makeList.OAfyhA_q.js";import{b as A}from"../chunks/paths.5abfQOAR.js";function H(r,e,l){const o=r.slice();return o[0]=e[l],o}function I(r){let e,l,o;return{c(){e=_("li"),l=_("a"),o=L(r[0]),this.h()},l(a){e=d(a,"LI",{});var n=p(e);l=d(n,"A",{href:!0});var s=p(l);o=k(s,r[0]),s.forEach(c),n.forEach(c),this.h()},h(){v(l,"href",`${A}/${r[0]}`)},m(a,n){f(a,e,n),u(e,l),u(l,o)},p:m,d(a){a&&c(e)}}}function N(r){let e,l="List of designs:",o,a,n=E(q),s=[];for(let t=0;t<n.length;t+=1)s[t]=I(H(r,n,t));return{c(){e=_("h2"),e.textContent=l,o=x(),a=_("ol");for(let t=0;t<s.length;t+=1)s[t].c();this.h()},l(t){e=d(t,"H2",{class:!0,"data-svelte-h":!0}),b(e)!=="svelte-96cxme"&&(e.textContent=l),o=y(t),a=d(t,"OL",{});var h=p(a);for(let i=0;i<s.length;i+=1)s[i].l(h);h.forEach(c),this.h()},h(){v(e,"class","svelte-1r3d1r")},m(t,h){f(t,e,h),f(t,o,h),f(t,a,h);for(let i=0;i<s.length;i+=1)s[i]&&s[i].m(a,null)},p:m,i:m,o:m,d(t){t&&(c(e),c(o),c(a)),C(s,t)}}}class B extends S{constructor(e){super(),$(this,e,null,N,g,{})}}export{B as component};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as Pt,b as wl}from"../chunks/makeList.OAfyhA_q.js";import{H as Cl,w as ul,g as Ol}from"../chunks/entry.BfOQ8A-P.js";import{Q as Dl,s as Me,p as st,i as J,n as ze,f as k,e as _,c as p,b as S,R as ht,m as f,h as o,S as G,v as Ie,a as j,g as I,T as Ae,o as Ke,y as El,t as Y,l as ie,d as K,U as He,z as Ll,A as Sl,B as jl,j as ge,C as qe,V as be,k as at,r as Et,W as ml,X as _t,Y as Ct,Z as Il,H as bt,_ as ot,$ as Pl,a0 as Al}from"../chunks/scheduler.2BOoCPD3.js";import{S as ye,i as Fe,f as Ue,b as Ee,d as Le,m as Se,a as we,t as Oe,e as je,g as Ul,c as zl}from"../chunks/index.RMmEH_Pi.js";import{e as De,D as Ml,F as dl,G as yl,H as hl,I as _l,P as wt,J as Fl,K as Nt,L as ct,M as Bl,N as Rl,O as Ot,Q as Hl,R as At,f as dt,r as Dt,T as Ge,U as Vl,V as Wl,W as Xl,X as Yl,Y as Kl}from"../chunks/index.VmH-9d5B.js";import{b as vt}from"../chunks/paths.UrvDPV07.js";import{p as ql}from"../chunks/stores.CBY9bGtC.js";function Gl(t,e){throw new Cl(t,e)}new TextEncoder;function Zl({params:t}){const e=t.design;if(Object.keys(Pt).includes(e))return{pageDef:Pt[e],allLink:wl};Gl(404,"Design undefined!")}const vs=Object.freeze(Object.defineProperty({__proto__:null,load:Zl},Symbol.toStringTag,{value:"Module"})),Ze=ul({});function pl(t,e,l){const n=Dl(Ze);if(Object.keys(n).includes(t)){const s=n[t],a=Object.keys(s);for(const c of Object.keys(e))a.includes(c)?l&&(s[c]=e[c]):s[c]=e[c];n[t]=s}else n[t]=e;Ze.set(n)}function Jl(t){const e=t.pDef.partName,l={};for(const n of t.pDef.params)l[n.name]=n.init;pl(e,l,!1)}function Ut(t){let e,l,n,r,s,a,c;return{c(){e=_("aside"),l=_("div"),n=_("button"),r=_("img"),this.h()},l(u){e=p(u,"ASIDE",{class:!0});var i=S(e);l=p(i,"DIV",{class:!0});var m=S(l);n=p(m,"BUTTON",{class:!0});var h=S(n);r=p(h,"IMG",{src:!0,alt:!0}),h.forEach(k),m.forEach(k),i.forEach(k),this.h()},h(){ht(r.src,s=t[1])||f(r,"src",s),f(r,"alt",t[1]),f(n,"class","svelte-sjxf1e"),f(l,"class","dialog svelte-sjxf1e"),f(e,"class","backdrop svelte-sjxf1e")},m(u,i){J(u,e,i),o(e,l),o(l,n),o(n,r),a||(c=G(n,"click",t[2]),a=!0)},p(u,i){i&2&&!ht(r.src,s=u[1])&&f(r,"src",s),i&2&&f(r,"alt",u[1])},d(u){u&&k(e),a=!1,c()}}}function Ql(t){let e,l=t[0]&&Ut(t);return{c(){l&&l.c(),e=st()},l(n){l&&l.l(n),e=st()},m(n,r){l&&l.m(n,r),J(n,e,r)},p(n,[r]){n[0]?l?l.p(n,r):(l=Ut(n),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:ze,o:ze,d(n){n&&k(e),l&&l.d(n)}}}function $l(t,e,l){let{svgPath:n}=e,{modalOpen:r}=e;function s(){l(0,r=!1)}return t.$$set=a=>{"svgPath"in a&&l(1,n=a.svgPath),"modalOpen"in a&&l(0,r=a.modalOpen)},[r,n,s]}class gl extends ye{constructor(e){super(),Fe(this,e,$l,Ql,Me,{svgPath:1,modalOpen:0})}}function zt(t,e,l){const n=t.slice();return n[8]=e[l],n}function Mt(t){let e,l,n,r,s,a,c;function u(){return t[6](t[8])}return{c(){e=_("button"),l=_("img"),s=j(),this.h()},l(i){e=p(i,"BUTTON",{class:!0});var m=S(e);l=p(m,"IMG",{src:!0,alt:!0,class:!0}),s=I(m),m.forEach(k),this.h()},h(){ht(l.src,n=t[8])||f(l,"src",n),f(l,"alt",r=t[8]),f(l,"class","svelte-fxmnfh"),f(e,"class","svelte-fxmnfh")},m(i,m){J(i,e,m),o(e,l),o(e,s),a||(c=G(e,"click",u),a=!0)},p(i,m){t=i,m&1&&!ht(l.src,n=t[8])&&f(l,"src",n),m&1&&r!==(r=t[8])&&f(l,"alt",r)},d(i){i&&k(e),a=!1,c()}}}function xl(t){let e,l,n,r,s;function a(m){t[5](m)}let c={svgPath:t[2]};t[1]!==void 0&&(c.modalOpen=t[1]),l=new gl({props:c}),Ie.push(()=>Ue(l,"modalOpen",a));let u=De(t[0]),i=[];for(let m=0;m<u.length;m+=1)i[m]=Mt(zt(t,u,m));return{c(){e=_("section"),Ee(l.$$.fragment),r=j();for(let m=0;m<i.length;m+=1)i[m].c();this.h()},l(m){e=p(m,"SECTION",{class:!0});var h=S(e);Le(l.$$.fragment,h),r=I(h);for(let N=0;N<i.length;N+=1)i[N].l(h);h.forEach(k),this.h()},h(){f(e,"class","svelte-fxmnfh")},m(m,h){J(m,e,h),Se(l,e,null),o(e,r);for(let N=0;N<i.length;N+=1)i[N]&&i[N].m(e,null);s=!0},p(m,[h]){const N={};if(h&4&&(N.svgPath=m[2]),!n&&h&2&&(n=!0,N.modalOpen=m[1],Ae(()=>n=!1)),l.$set(N),h&9){u=De(m[0]);let v;for(v=0;v<u.length;v+=1){const d=zt(m,u,v);i[v]?i[v].p(d,h):(i[v]=Mt(d),i[v].c(),i[v].m(e,null))}for(;v<i.length;v+=1)i[v].d(1);i.length=u.length}},i(m){s||(we(l.$$.fragment,m),s=!0)},o(m){Oe(l.$$.fragment,m),s=!1},d(m){m&&k(e),je(l),Ke(i,m)}}}function en(t){const e=[];for(const l of Object.values(t.paramSvg))e.includes(l)||e.push(l);return e}function tn(t,e,l){let{pDef:n}=e;function r(h){const N=en(n),v=[];for(const d of N)v.push(`${vt}/pgdsvg/${d}`);return v}let s=[],a=!1,c;function u(h){l(2,c=h),l(1,a=!0)}function i(h){a=h,l(1,a)}const m=h=>u(h);return t.$$set=h=>{"pDef"in h&&l(4,n=h.pDef)},t.$$.update=()=>{t.$$.dirty&16&&l(0,s=r(n.partName))},[s,a,c,u,n,i,m]}class ln extends ye{constructor(e){super(),Fe(this,e,tn,xl,Me,{pDef:4})}}function yt(t){let e,l,n,r,s,a,c="Cancel",u,i,m,h,N,v;const d=t[7].default,b=El(d,t,t[6],null);return{c(){e=_("aside"),l=_("div"),n=_("article"),b&&b.c(),r=j(),s=_("footer"),a=_("button"),a.textContent=c,u=j(),i=_("button"),m=Y(t[1]),this.h()},l(T){e=p(T,"ASIDE",{class:!0});var g=S(e);l=p(g,"DIV",{class:!0});var C=S(l);n=p(C,"ARTICLE",{class:!0});var D=S(n);b&&b.l(D),D.forEach(k),r=I(C),s=p(C,"FOOTER",{class:!0});var O=S(s);a=p(O,"BUTTON",{class:!0,"data-svelte-h":!0}),ie(a)!=="svelte-hcvk9s"&&(a.textContent=c),u=I(O),i=p(O,"BUTTON",{class:!0});var z=S(i);m=K(z,t[1]),z.forEach(k),O.forEach(k),C.forEach(k),g.forEach(k),this.h()},h(){f(n,"class","question svelte-weruk7"),f(a,"class","cancel svelte-weruk7"),f(i,"class","ok svelte-weruk7"),f(s,"class","svelte-weruk7"),f(l,"class","dialog svelte-weruk7"),He(l,"sizeLarge",t[2]),f(e,"class","backdrop svelte-weruk7")},m(T,g){J(T,e,g),o(e,l),o(l,n),b&&b.m(n,null),o(l,r),o(l,s),o(s,a),o(s,u),o(s,i),o(i,m),h=!0,N||(v=[G(a,"click",t[3]),G(i,"click",t[4])],N=!0)},p(T,g){b&&b.p&&(!h||g&64)&&Ll(b,d,T,T[6],h?jl(d,T[6],g,null):Sl(T[6]),null),(!h||g&2)&&ge(m,T[1]),(!h||g&4)&&He(l,"sizeLarge",T[2])},i(T){h||(we(b,T),h=!0)},o(T){Oe(b,T),h=!1},d(T){T&&k(e),b&&b.d(T),N=!1,qe(v)}}}function nn(t){let e,l,n=t[0]&&yt(t);return{c(){n&&n.c(),e=st()},l(r){n&&n.l(r),e=st()},m(r,s){n&&n.m(r,s),J(r,e,s),l=!0},p(r,[s]){r[0]?n?(n.p(r,s),s&1&&we(n,1)):(n=yt(r),n.c(),we(n,1),n.m(e.parentNode,e)):n&&(Ul(),Oe(n,1,1,()=>{n=null}),zl())},i(r){l||(we(n),l=!0)},o(r){Oe(n),l=!1},d(r){r&&k(e),n&&n.d(r)}}}function sn(t,e,l){let{$$slots:n={},$$scope:r}=e,{okName:s="Ok"}=e,{okFunc:a}=e,{modalOpen:c}=e,{sizeLarge:u=!1}=e;function i(){l(0,c=!1)}function m(){a(),l(0,c=!1)}return t.$$set=h=>{"okName"in h&&l(1,s=h.okName),"okFunc"in h&&l(5,a=h.okFunc),"modalOpen"in h&&l(0,c=h.modalOpen),"sizeLarge"in h&&l(2,u=h.sizeLarge),"$$scope"in h&&l(6,r=h.$$scope)},[c,s,u,i,m,a,r,n]}class gt extends ye{constructor(e){super(),Fe(this,e,sn,nn,Me,{okName:1,okFunc:5,modalOpen:0,sizeLarge:2})}}function Ft(t,e,l){const n=t.slice();return n[17]=e[l],n[18]=e,n[19]=l,n}function Bt(t,e,l){const n=t.slice();return n[17]=e[l],n}function Rt(t){let e,l=t[17]+"",n;return{c(){e=_("p"),n=Y(l),this.h()},l(r){e=p(r,"P",{class:!0});var s=S(e);n=K(s,l),s.forEach(k),this.h()},h(){f(e,"class","diagItem svelte-12dj9tj")},m(r,s){J(r,e,s),o(e,n)},p(r,s){s&1&&l!==(l=r[17]+"")&&ge(n,l)},d(r){r&&k(e)}}}function Ht(t){let e,l=t[3][t[17]]&&Rt(t);return{c(){l&&l.c(),e=st()},l(n){l&&l.l(n),e=st()},m(n,r){l&&l.m(n,r),J(n,e,r)},p(n,r){n[3][n[17]]?l?l.p(n,r):(l=Rt(n),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},d(n){n&&k(e),l&&l.d(n)}}}function an(t){let e,l="Do you really want to delete the following localStorage keys?",n,r,s=De(t[0]),a=[];for(let c=0;c<s.length;c+=1)a[c]=Ht(Bt(t,s,c));return{c(){e=_("p"),e.textContent=l,n=j();for(let c=0;c<a.length;c+=1)a[c].c();r=st(),this.h()},l(c){e=p(c,"P",{class:!0,"data-svelte-h":!0}),ie(e)!=="svelte-12r0p0q"&&(e.textContent=l),n=I(c);for(let u=0;u<a.length;u+=1)a[u].l(c);r=st(),this.h()},h(){f(e,"class","diagTitle svelte-12dj9tj")},m(c,u){J(c,e,u),J(c,n,u);for(let i=0;i<a.length;i+=1)a[i]&&a[i].m(c,u);J(c,r,u)},p(c,u){if(u&9){s=De(c[0]);let i;for(i=0;i<s.length;i+=1){const m=Bt(c,s,i);a[i]?a[i].p(m,u):(a[i]=Ht(m),a[i].c(),a[i].m(r.parentNode,r))}for(;i<a.length;i+=1)a[i].d(1);a.length=s.length}},d(c){c&&(k(e),k(n),k(r)),Ke(a,c)}}}function Vt(t){let e,l,n,r,s,a,c=t[17]+"",u,i,m,h=t[2][t[17]]+"",N,v,d,b;function T(){t[12].call(n,t[17])}function g(){return t[13](t[17])}return{c(){e=_("tr"),l=_("td"),n=_("input"),r=j(),s=_("td"),a=_("button"),u=Y(c),i=j(),m=_("td"),N=Y(h),v=j(),this.h()},l(C){e=p(C,"TR",{class:!0});var D=S(e);l=p(D,"TD",{});var O=S(l);n=p(O,"INPUT",{type:!0}),O.forEach(k),r=I(D),s=p(D,"TD",{class:!0});var z=S(s);a=p(z,"BUTTON",{class:!0});var F=S(a);u=K(F,c),F.forEach(k),z.forEach(k),i=I(D),m=p(D,"TD",{});var U=S(m);N=K(U,h),U.forEach(k),v=I(D),D.forEach(k),this.h()},h(){f(n,"type","checkbox"),f(a,"class","svelte-12dj9tj"),f(s,"class","svelte-12dj9tj"),f(e,"class","svelte-12dj9tj")},m(C,D){J(C,e,D),o(e,l),o(l,n),n.checked=t[3][t[17]],o(e,r),o(e,s),o(s,a),o(a,u),o(e,i),o(e,m),o(m,N),o(e,v),d||(b=[G(n,"change",T),G(a,"click",g)],d=!0)},p(C,D){t=C,D&9&&(n.checked=t[3][t[17]]),D&1&&c!==(c=t[17]+"")&&ge(u,c),D&5&&h!==(h=t[2][t[17]]+"")&&ge(N,h)},d(C){C&&k(e),d=!1,qe(b)}}}function on(t){let e,l,n="Delete",r,s,a,c,u,i,m,h="<td>Delete</td> <td>Key name</td> <td>Last modification</td>",N,v,d,b,T,g,C="delete all",D,O,z,F,U,w,E;function M(y){t[10](y)}let P={okName:"Confirm",okFunc:t[6],$$slots:{default:[an]},$$scope:{ctx:t}};t[4]!==void 0&&(P.modalOpen=t[4]),s=new gt({props:P}),Ie.push(()=>Ue(s,"modalOpen",M));let X=De(t[0]),R=[];for(let y=0;y<X.length;y+=1)R[y]=Vt(Ft(t,X,y));return{c(){e=_("div"),l=_("button"),l.textContent=n,r=j(),Ee(s.$$.fragment),c=j(),u=_("table"),i=_("thead"),m=_("tr"),m.innerHTML=h,N=j(),v=_("tr"),d=_("td"),b=_("input"),T=j(),g=_("td"),g.textContent=C,D=j(),O=_("td"),z=j(),F=_("tbody");for(let y=0;y<R.length;y+=1)R[y].c();this.h()},l(y){e=p(y,"DIV",{class:!0});var V=S(e);l=p(V,"BUTTON",{class:!0,"data-svelte-h":!0}),ie(l)!=="svelte-1tbm4xl"&&(l.textContent=n),r=I(V),Le(s.$$.fragment,V),c=I(V),u=p(V,"TABLE",{class:!0});var x=S(u);i=p(x,"THEAD",{class:!0});var Z=S(i);m=p(Z,"TR",{"data-svelte-h":!0}),ie(m)!=="svelte-xt53kn"&&(m.innerHTML=h),N=I(Z),v=p(Z,"TR",{});var le=S(v);d=p(le,"TD",{});var _e=S(d);b=p(_e,"INPUT",{type:!0}),_e.forEach(k),T=I(le),g=p(le,"TD",{class:!0,"data-svelte-h":!0}),ie(g)!=="svelte-1s4wssd"&&(g.textContent=C),D=I(le),O=p(le,"TD",{}),S(O).forEach(k),le.forEach(k),Z.forEach(k),z=I(x),F=p(x,"TBODY",{class:!0});var ce=S(F);for(let pe=0;pe<R.length;pe+=1)R[pe].l(ce);ce.forEach(k),x.forEach(k),V.forEach(k),this.h()},h(){f(l,"class","svelte-12dj9tj"),f(b,"type","checkbox"),f(g,"class","instruction"),f(i,"class","svelte-12dj9tj"),f(F,"class","svelte-12dj9tj"),f(u,"class","svelte-12dj9tj"),f(e,"class","deleteKeys svelte-12dj9tj")},m(y,V){J(y,e,V),o(e,l),o(e,r),Se(s,e,null),o(e,c),o(e,u),o(u,i),o(i,m),o(i,N),o(i,v),o(v,d),o(d,b),b.checked=t[1],o(v,T),o(v,g),o(v,D),o(v,O),o(u,z),o(u,F);for(let x=0;x<R.length;x+=1)R[x]&&R[x].m(F,null);U=!0,w||(E=[G(l,"click",t[9]),G(b,"change",t[11])],w=!0)},p(y,[V]){const x={};if(V&4194313&&(x.$$scope={dirty:V,ctx:y}),!a&&V&16&&(a=!0,x.modalOpen=y[4],Ae(()=>a=!1)),s.$set(x),V&2&&(b.checked=y[1]),V&45){X=De(y[0]);let Z;for(Z=0;Z<X.length;Z+=1){const le=Ft(y,X,Z);R[Z]?R[Z].p(le,V):(R[Z]=Vt(le),R[Z].c(),R[Z].m(F,null))}for(;Z<R.length;Z+=1)R[Z].d(1);R.length=X.length}},i(y){U||(we(s.$$.fragment,y),U=!0)},o(y){Oe(s.$$.fragment,y),U=!1},d(y){y&&k(e),je(s),Ke(R,y),w=!1,qe(E)}}}function rn(t){let e={};for(const l of t)e[l]=!1;return e}function cn(t,e,l){let{pageName:n}=e,{storeName:r}=e,{localKeys:s}=e;function a(){let O=[];const z=new RegExp(`^${n}_`);return O=Object.keys(window.localStorage).filter(U=>z.test(U)).map(U=>U.replace(z,"")),O}s=a();function c(O){l(7,r=O)}let u={};function i(O){let z={};for(const F of O){let U="";const w=`${n}_${F}`,E=window.localStorage.getItem(w);E!==null&&(U=JSON.parse(E).lastModif),z[F]=U}return z}u=i(s);let m={};m=rn(s);let h=!1;function N(O){for(const z of s)l(3,m[z]=O,m)}function v(){for(const O of s)if(m[O]){const z=`${n}_${O}`;window.localStorage.removeItem(z)}l(0,s=a())}let d=!1;const b=()=>{l(4,d=!0)};function T(O){d=O,l(4,d)}function g(){h=this.checked,l(1,h)}function C(O){m[O]=this.checked,l(3,m)}const D=O=>c(O);return t.$$set=O=>{"pageName"in O&&l(8,n=O.pageName),"storeName"in O&&l(7,r=O.storeName),"localKeys"in O&&l(0,s=O.localKeys)},t.$$.update=()=>{t.$$.dirty&2&&N(h)},[s,h,u,m,d,c,v,r,n,b,T,g,C,D]}class vl extends ye{constructor(e){super(),Fe(this,e,cn,on,Me,{pageName:8,storeName:7,localKeys:0})}}function Wt(t){let e,l,n,r;return{c(){e=_("p"),l=Y("Warning: name "),n=Y(t[0]),r=Y(" already used"),this.h()},l(s){e=p(s,"P",{class:!0});var a=S(e);l=K(a,"Warning: name "),n=K(a,t[0]),r=K(a," already used"),a.forEach(k),this.h()},h(){f(e,"class","warnMsg svelte-1rkdwo")},m(s,a){J(s,e,a),o(e,l),o(e,n),o(e,r)},p(s,a){a&1&&ge(n,s[0])},d(s){s&&k(e)}}}function fn(t){let e,l,n,r,s,a,c="Give a name to your parameter-set:",u,i,m,h,N,v;function d(C){t[5](C)}function b(C){t[6](C)}let T={pageName:t[1]};t[0]!==void 0&&(T.storeName=t[0]),t[2]!==void 0&&(T.localKeys=t[2]),e=new vl({props:T}),Ie.push(()=>Ue(e,"storeName",d)),Ie.push(()=>Ue(e,"localKeys",b));let g=t[3]&&Wt(t);return{c(){Ee(e.$$.fragment),r=j(),s=_("div"),a=_("label"),a.textContent=c,u=j(),i=_("input"),m=j(),g&&g.c(),this.h()},l(C){Le(e.$$.fragment,C),r=I(C),s=p(C,"DIV",{class:!0});var D=S(s);a=p(D,"LABEL",{for:!0,class:!0,"data-svelte-h":!0}),ie(a)!=="svelte-1vdq35w"&&(a.textContent=c),u=I(D),i=p(D,"INPUT",{type:!0,id:!0,minlength:!0,maxlength:!0,size:!0,class:!0}),m=I(D),g&&g.l(D),D.forEach(k),this.h()},h(){f(a,"for","storName"),f(a,"class","svelte-1rkdwo"),f(i,"type","text"),f(i,"id","storName"),i.required=!0,f(i,"minlength","4"),f(i,"maxlength","30"),f(i,"size","32"),f(i,"class","svelte-1rkdwo"),f(s,"class","svelte-1rkdwo")},m(C,D){Se(e,C,D),J(C,r,D),J(C,s,D),o(s,a),o(s,u),o(s,i),be(i,t[0]),o(s,m),g&&g.m(s,null),h=!0,N||(v=[G(i,"input",t[7]),G(i,"input",t[4])],N=!0)},p(C,[D]){const O={};D&2&&(O.pageName=C[1]),!l&&D&1&&(l=!0,O.storeName=C[0],Ae(()=>l=!1)),!n&&D&4&&(n=!0,O.localKeys=C[2],Ae(()=>n=!1)),e.$set(O),D&1&&i.value!==C[0]&&be(i,C[0]),C[3]?g?g.p(C,D):(g=Wt(C),g.c(),g.m(s,null)):g&&(g.d(1),g=null)},i(C){h||(we(e.$$.fragment,C),h=!0)},o(C){Oe(e.$$.fragment,C),h=!1},d(C){C&&(k(r),k(s)),je(e,C),g&&g.d(),N=!1,qe(v)}}}function un(t){const e=/[-:]/g,l=/\..*$/;return`${t}_${new Date().toISOString().replace(e,"").replace(l,"").replace("T","_")}`}function mn(t,e,l){let{pageName:n}=e,{storeName:r}=e,s=[];r=un(n);let a=!1;function c(N){l(3,a=s.includes(N))}function u(N){const v=N.target.value;c(v)}function i(N){r=N,l(0,r)}function m(N){s=N,l(2,s)}function h(){r=this.value,l(0,r)}return t.$$set=N=>{"pageName"in N&&l(1,n=N.pageName),"storeName"in N&&l(0,r=N.storeName)},t.$$.update=()=>{t.$$.dirty&1&&c(r)},[r,n,s,a,u,i,m,h]}class dn extends ye{constructor(e){super(),Fe(this,e,mn,fn,Me,{pageName:1,storeName:0})}}function hn(t){let e,l,n,r,s,a,c="Select a parameter-set:",u,i,m;function h(d){t[3](d)}function N(d){t[4](d)}let v={pageName:t[1]};return t[0]!==void 0&&(v.storeName=t[0]),t[2]!==void 0&&(v.localKeys=t[2]),e=new vl({props:v}),Ie.push(()=>Ue(e,"storeName",h)),Ie.push(()=>Ue(e,"localKeys",N)),{c(){Ee(e.$$.fragment),r=j(),s=_("div"),a=_("label"),a.textContent=c,u=j(),i=_("input"),this.h()},l(d){Le(e.$$.fragment,d),r=I(d),s=p(d,"DIV",{class:!0});var b=S(s);a=p(b,"LABEL",{for:!0,class:!0,"data-svelte-h":!0}),ie(a)!=="svelte-rajgc0"&&(a.textContent=c),u=I(b),i=p(b,"INPUT",{type:!0,id:!0,minlength:!0,maxlength:!0,size:!0,class:!0}),b.forEach(k),this.h()},h(){f(a,"for","storName"),f(a,"class","svelte-1ozd0ey"),f(i,"type","text"),f(i,"id","storName"),i.value=t[0],i.readOnly=!0,f(i,"minlength","4"),f(i,"maxlength","30"),f(i,"size","32"),f(i,"class","svelte-1ozd0ey"),f(s,"class","svelte-1ozd0ey")},m(d,b){Se(e,d,b),J(d,r,b),J(d,s,b),o(s,a),o(s,u),o(s,i),m=!0},p(d,[b]){const T={};b&2&&(T.pageName=d[1]),!l&&b&1&&(l=!0,T.storeName=d[0],Ae(()=>l=!1)),!n&&b&4&&(n=!0,T.localKeys=d[2],Ae(()=>n=!1)),e.$set(T),(!m||b&1&&i.value!==d[0])&&(i.value=d[0])},i(d){m||(we(e.$$.fragment,d),m=!0)},o(d){Oe(e.$$.fragment,d),m=!1},d(d){d&&(k(r),k(s)),je(e,d)}}}function _n(t,e,l){let{pageName:n}=e,{storeName:r}=e,s=[];function a(i){let m=r;return!i.includes(m)&&(i.length>0?m=i[0]:m=""),m}function c(i){r=i,l(0,r),l(2,s)}function u(i){s=i,l(2,s)}return t.$$set=i=>{"pageName"in i&&l(1,n=i.pageName),"storeName"in i&&l(0,r=i.storeName)},t.$$.update=()=>{t.$$.dirty&4&&l(0,r=a(s))},[r,n,s,c,u]}class pn extends ye{constructor(e){super(),Fe(this,e,_n,hn,Me,{pageName:1,storeName:0})}}const Ve=ul(Ml());function gn(t){let e;return{c(){e=_("canvas"),this.h()},l(l){e=p(l,"CANVAS",{class:!0,width:!0,height:!0}),S(e).forEach(k),this.h()},h(){f(e,"class","mini svelte-z8e4tz"),f(e,"width",Xt),f(e,"height",Xt)},m(l,n){J(l,e,n),t[9](e)},p:ze,i:ze,o:ze,d(l){l&&k(e),t[9](null)}}}const Xt=200;function vn(t,e,l){let n,r;at(t,Ve,T=>l(7,n=T)),at(t,Ze,T=>l(8,r=T));let{pageName:s}=e,{fgeom:a}=e,{selFace:c}=e,{zAdjust:u}=e,{simTime:i=0}=e,m,h;function N(T,g){const C=yl(g);C.ruler=!1;const D=m.getContext("2d");D.clearRect(0,0,D.canvas.width,D.canvas.height);try{u.init===0?h=T.getAdjustFull(D.canvas.width,D.canvas.height):h=u,T.draw(D,h,C)}catch(O){console.log(O)}}let v=0;function d(T,g,C,D){const O=a(T,g).fig;if(Object.keys(O).includes(C)){const z=O[C];N(z,D)}else{const z=dl(O);N(z,D)}}Et(()=>{d(i,r[s],c,n),l(6,v=1)});function b(T){Ie[T?"unshift":"push"](()=>{m=T,l(0,m)})}return t.$$set=T=>{"pageName"in T&&l(1,s=T.pageName),"fgeom"in T&&l(2,a=T.fgeom),"selFace"in T&&l(3,c=T.selFace),"zAdjust"in T&&l(4,u=T.zAdjust),"simTime"in T&&l(5,i=T.simTime)},t.$$.update=()=>{t.$$.dirty&490&&v===1&&d(i,r[s],c,n)},[m,s,a,c,u,i,v,n,r,b]}class Yt extends ye{constructor(e){super(),Fe(this,e,vn,gn,Me,{pageName:1,fgeom:2,selFace:3,zAdjust:4,simTime:5})}}function bn(t,e){const l=document.createElement("a");l.setAttribute("href","data:text/plain;charset=utf-8,"+encodeURIComponent(e)),l.setAttribute("download",t),l.click(),l.remove()}function bl(t,e,l){const n=/[-:]/g,r=/\..*$/,s=new Date().toISOString().replace(n,"").replace(r,"").replace("T","_"),a=`px_${t}_${s}.json`,c=hl(s,t,e,l);bn(a,c)}function kn(t,e,l){const n=new URL(t),r=2e3;let s=n.toString().length;for(const a of Object.keys(e)){const c=e[a].toString(),u=2+a.length+c.length;n.searchParams.append(encodeURIComponent(a),encodeURIComponent(c)),s+=u}return s>=r&&console.log(`warn547: generateUrl: strLength ${s} larger than strLengthLimit ${r}`),n.toString()}function Kt(t,e,l){const n=t.slice();return n[58]=e[l],n[59]=e,n[60]=l,n}function qt(t,e,l){const n=t.slice();return n[61]=e[l],n[62]=e,n[63]=l,n}function Gt(t,e,l){const n=t.slice();return n[64]=e[l],n[66]=l,n}function Nn(t,e,l){const n=t.slice();return n[64]=e[l],n[66]=l,n}function Tn(t){let e;return{c(){e=Y("Load the default parameters ?")},l(l){e=K(l,"Load the default parameters ?")},m(l,n){J(l,e,n)},d(l){l&&k(e)}}}function wn(t){let e,l,n;function r(a){t[34](a)}let s={pageName:t[0].partName};return t[13]!==void 0&&(s.storeName=t[13]),e=new pn({props:s}),Ie.push(()=>Ue(e,"storeName",r)),{c(){Ee(e.$$.fragment)},l(a){Le(e.$$.fragment,a)},m(a,c){Se(e,a,c),n=!0},p(a,c){const u={};c[0]&1&&(u.pageName=a[0].partName),!l&&c[0]&8192&&(l=!0,u.storeName=a[13],Ae(()=>l=!1)),e.$set(u)},i(a){n||(we(e.$$.fragment,a),n=!0)},o(a){Oe(e.$$.fragment,a),n=!1},d(a){je(e,a)}}}function Cn(t){let e;return{c(){e=Y("unknown")},l(l){e=K(l,"unknown")},m(l,n){J(l,e,n)},p:ze,d(l){l&&k(e)}}}function On(t){let e,l,n,r=De(t[61].dropdown),s=[];for(let c=0;c<r.length;c+=1)s[c]=Zt(Gt(t,r,c));function a(){t[41].call(e,t[61])}return{c(){e=_("select");for(let c=0;c<s.length;c+=1)s[c].c();this.h()},l(c){e=p(c,"SELECT",{});var u=S(e);for(let i=0;i<s.length;i+=1)s[i].l(u);u.forEach(k),this.h()},h(){t[19][t[0].partName][t[61].name]===void 0&&bt(a)},m(c,u){J(c,e,u);for(let i=0;i<s.length;i+=1)s[i]&&s[i].m(e,null);ot(e,t[19][t[0].partName][t[61].name],!0),l||(n=G(e,"change",a),l=!0)},p(c,u){if(t=c,u[0]&32){r=De(t[61].dropdown);let i;for(i=0;i<r.length;i+=1){const m=Gt(t,r,i);s[i]?s[i].p(m,u):(s[i]=Zt(m),s[i].c(),s[i].m(e,null))}for(;i<s.length;i+=1)s[i].d(1);s.length=r.length}u[0]&524321&&ot(e,t[19][t[0].partName][t[61].name])},d(c){c&&k(e),Ke(s,c),l=!1,n()}}}function Dn(t){let e,l,n,r=De(["Off","On"]),s=[];for(let c=0;c<2;c+=1)s[c]=Ln(Nn(t,r,c));function a(){t[40].call(e,t[61])}return{c(){e=_("select");for(let c=0;c<2;c+=1)s[c].c();this.h()},l(c){e=p(c,"SELECT",{});var u=S(e);for(let i=0;i<2;i+=1)s[i].l(u);u.forEach(k),this.h()},h(){t[19][t[0].partName][t[61].name]===void 0&&bt(a)},m(c,u){J(c,e,u);for(let i=0;i<2;i+=1)s[i]&&s[i].m(e,null);ot(e,t[19][t[0].partName][t[61].name],!0),l||(n=G(e,"change",a),l=!0)},p(c,u){t=c,u[0]&524321&&ot(e,t[19][t[0].partName][t[61].name])},d(c){c&&k(e),Ke(s,c),l=!1,n()}}}function En(t){let e,l,n,r,s,a,c,u,i,m,h;function N(){t[38].call(e,t[61])}function v(){t[39].call(a,t[61])}return{c(){e=_("input"),s=j(),a=_("input"),this.h()},l(d){e=p(d,"INPUT",{type:!0,min:!0,max:!0,step:!0,class:!0}),s=I(d),a=p(d,"INPUT",{type:!0,min:!0,max:!0,step:!0,class:!0}),this.h()},h(){f(e,"type","number"),f(e,"min",l=t[61].min),f(e,"max",n=t[61].max),f(e,"step",r=t[61].step),f(e,"class","input-number svelte-1g5tt44"),f(a,"type","range"),f(a,"min",c=t[61].min),f(a,"max",u=t[61].max),f(a,"step",i=t[61].step),f(a,"class","svelte-1g5tt44")},m(d,b){J(d,e,b),be(e,t[19][t[0].partName][t[61].name]),J(d,s,b),J(d,a,b),be(a,t[19][t[0].partName][t[61].name]),m||(h=[G(e,"input",N),G(e,"change",t[21]),G(a,"change",v),G(a,"input",v),G(a,"change",t[21])],m=!0)},p(d,b){t=d,b[0]&32&&l!==(l=t[61].min)&&f(e,"min",l),b[0]&32&&n!==(n=t[61].max)&&f(e,"max",n),b[0]&32&&r!==(r=t[61].step)&&f(e,"step",r),b[0]&524321&&_t(e.value)!==t[19][t[0].partName][t[61].name]&&be(e,t[19][t[0].partName][t[61].name]),b[0]&32&&c!==(c=t[61].min)&&f(a,"min",c),b[0]&32&&u!==(u=t[61].max)&&f(a,"max",u),b[0]&32&&i!==(i=t[61].step)&&f(a,"step",i),b[0]&524321&&be(a,t[19][t[0].partName][t[61].name])},d(d){d&&(k(e),k(s),k(a)),m=!1,qe(h)}}}function Zt(t){let e,l=t[64]+"",n;return{c(){e=_("option"),n=Y(l),this.h()},l(r){e=p(r,"OPTION",{});var s=S(e);n=K(s,l),s.forEach(k),this.h()},h(){e.__value=t[66],be(e,e.__value)},m(r,s){J(r,e,s),o(e,n)},p(r,s){s[0]&32&&l!==(l=r[64]+"")&&ge(n,l)},d(r){r&&k(e)}}}function Ln(t){let e,l;return{c(){e=_("option"),l=Y(t[64]),this.h()},l(n){e=p(n,"OPTION",{});var r=S(e);l=K(r,t[64]),r.forEach(k),this.h()},h(){e.__value=t[66],be(e,e.__value)},m(n,r){J(n,e,r),o(e,l)},p:ze,d(n){n&&k(e)}}}function Jt(t){let e,l,n=t[60]+1+"",r,s,a=t[63]+1+"",c,u,i,m,h=t[61].name+"",N,v,d,b,T,g=t[61].unit+"",C,D,O,z=t[61].init+"",F,U,w,E=t[61].min+"",M,P,X,R=t[61].max+"",y,V,x,Z=t[61].step+"",le,_e,ce;function pe(){return t[37](t[61])}function Ce(ne,q){return ne[61].pType===wt.eNumber?En:ne[61].pType===wt.eCheckbox?Dn:ne[61].pType===wt.eDropdown?On:Cn}let L=Ce(t),B=L(t);return{c(){e=_("tr"),l=_("td"),r=Y(n),s=Y("."),c=Y(a),u=j(),i=_("td"),m=_("button"),N=Y(h),v=j(),d=_("td"),B.c(),b=j(),T=_("td"),C=Y(g),D=j(),O=_("td"),F=Y(z),U=j(),w=_("td"),M=Y(E),P=j(),X=_("td"),y=Y(R),V=j(),x=_("td"),le=Y(Z),this.h()},l(ne){e=p(ne,"TR",{class:!0});var q=S(e);l=p(q,"TD",{class:!0});var fe=S(l);r=K(fe,n),s=K(fe,"."),c=K(fe,a),fe.forEach(k),u=I(q),i=p(q,"TD",{class:!0});var ee=S(i);m=p(ee,"BUTTON",{class:!0});var ke=S(m);N=K(ke,h),ke.forEach(k),ee.forEach(k),v=I(q),d=p(q,"TD",{class:!0});var Te=S(d);B.l(Te),Te.forEach(k),b=I(q),T=p(q,"TD",{class:!0});var ue=S(T);C=K(ue,g),ue.forEach(k),D=I(q),O=p(q,"TD",{class:!0});var Q=S(O);F=K(Q,z),Q.forEach(k),U=I(q),w=p(q,"TD",{class:!0});var oe=S(w);M=K(oe,E),oe.forEach(k),P=I(q),X=p(q,"TD",{class:!0});var $=S(X);y=K($,R),$.forEach(k),V=I(q),x=p(q,"TD",{class:!0});var A=S(x);le=K(A,Z),A.forEach(k),q.forEach(k),this.h()},h(){f(l,"class","svelte-1g5tt44"),f(m,"class","svelte-1g5tt44"),f(i,"class","svelte-1g5tt44"),f(d,"class","svelte-1g5tt44"),f(T,"class","svelte-1g5tt44"),f(O,"class","svelte-1g5tt44"),f(w,"class","svelte-1g5tt44"),f(X,"class","svelte-1g5tt44"),f(x,"class","svelte-1g5tt44"),f(e,"class","svelte-1g5tt44"),He(e,"changed",t[19][t[0].partName][t[61].name]!==t[61].init)},m(ne,q){J(ne,e,q),o(e,l),o(l,r),o(l,s),o(l,c),o(e,u),o(e,i),o(i,m),o(m,N),o(e,v),o(e,d),B.m(d,null),o(e,b),o(e,T),o(T,C),o(e,D),o(e,O),o(O,F),o(e,U),o(e,w),o(w,M),o(e,P),o(e,X),o(X,y),o(e,V),o(e,x),o(x,le),_e||(ce=G(m,"click",pe),_e=!0)},p(ne,q){t=ne,q[0]&32&&h!==(h=t[61].name+"")&&ge(N,h),L===(L=Ce(t))&&B?B.p(t,q):(B.d(1),B=L(t),B&&(B.c(),B.m(d,null))),q[0]&32&&g!==(g=t[61].unit+"")&&ge(C,g),q[0]&32&&z!==(z=t[61].init+"")&&ge(F,z),q[0]&32&&E!==(E=t[61].min+"")&&ge(M,E),q[0]&32&&R!==(R=t[61].max+"")&&ge(y,R),q[0]&32&&Z!==(Z=t[61].step+"")&&ge(le,Z),q[0]&524321&&He(e,"changed",t[19][t[0].partName][t[61].name]!==t[61].init)},d(ne){ne&&k(e),B.d(),_e=!1,ce()}}}function Qt(t){let e,l,n=t[60]+1+"",r,s,a,c=t[58].sectionName+"",u,i,m,h,N,v,d,b="",T,g,C,D,O;function z(){t[36].call(N,t[58])}let F=De(t[58].params),U=[];for(let w=0;w<F.length;w+=1)U[w]=Jt(qt(t,F,w));return{c(){e=_("tr"),l=_("td"),r=Y(n),s=j(),a=_("td"),u=Y(c),i=j(),m=_("td"),h=_("label"),N=_("input"),v=j(),d=_("span"),d.innerHTML=b,T=j(),g=_("tbody");for(let w=0;w<U.length;w+=1)U[w].c();C=j(),this.h()},l(w){e=p(w,"TR",{class:!0});var E=S(e);l=p(E,"TD",{class:!0});var M=S(l);r=K(M,n),M.forEach(k),s=I(E),a=p(E,"TD",{colspan:!0,class:!0});var P=S(a);u=K(P,c),P.forEach(k),i=I(E),m=p(E,"TD",{colspan:!0,class:!0});var X=S(m);h=p(X,"LABEL",{class:!0});var R=S(h);N=p(R,"INPUT",{type:!0,class:!0}),v=I(R),d=p(R,"SPAN",{class:!0,"data-svelte-h":!0}),ie(d)!=="svelte-1qufua2"&&(d.innerHTML=b),R.forEach(k),X.forEach(k),E.forEach(k),T=I(w),g=p(w,"TBODY",{class:!0});var y=S(g);for(let V=0;V<U.length;V+=1)U[V].l(y);C=I(y),y.forEach(k),this.h()},h(){f(l,"class","svelte-1g5tt44"),f(a,"colspan","4"),f(a,"class","svelte-1g5tt44"),f(N,"type","checkbox"),f(N,"class","svelte-1g5tt44"),f(d,"class","svelte-1g5tt44"),f(h,"class","svelte-1g5tt44"),f(m,"colspan","3"),f(m,"class","svelte-1g5tt44"),f(e,"class","separator svelte-1g5tt44"),f(g,"class","svelte-1g5tt44"),He(g,"collaps",t[18][t[58].sectionID])},m(w,E){J(w,e,E),o(e,l),o(l,r),o(e,s),o(e,a),o(a,u),o(e,i),o(e,m),o(m,h),o(h,N),N.checked=t[18][t[58].sectionID],o(h,v),o(h,d),J(w,T,E),J(w,g,E);for(let M=0;M<U.length;M+=1)U[M]&&U[M].m(g,null);o(g,C),D||(O=G(N,"change",z),D=!0)},p(w,E){if(t=w,E[0]&32&&c!==(c=t[58].sectionName+"")&&ge(u,c),E[0]&262176&&(N.checked=t[18][t[58].sectionID]),E[0]&271056929){F=De(t[58].params);let M;for(M=0;M<F.length;M+=1){const P=qt(t,F,M);U[M]?U[M].p(P,E):(U[M]=Jt(P),U[M].c(),U[M].m(g,C))}for(;M<U.length;M+=1)U[M].d(1);U.length=F.length}E[0]&262176&&He(g,"collaps",t[18][t[58].sectionID])},d(w){w&&(k(e),k(T),k(g)),Ke(U,w),D=!1,O()}}}function Sn(t){let e,l="Copy this URL and send it to your friends!",n,r,s;return{c(){e=_("p"),e.textContent=l,n=j(),r=_("p"),s=Y(t[15]),this.h()},l(a){e=p(a,"P",{"data-svelte-h":!0}),ie(e)!=="svelte-1kscrpk"&&(e.textContent=l),n=I(a),r=p(a,"P",{class:!0});var c=S(r);s=K(c,t[15]),c.forEach(k),this.h()},h(){f(r,"class","cUrl svelte-1g5tt44")},m(a,c){J(a,e,c),J(a,n,c),J(a,r,c),o(r,s)},p(a,c){c[0]&32768&&ge(s,a[15])},d(a){a&&(k(e),k(n),k(r))}}}function jn(t){let e,l,n;function r(a){t[45](a)}let s={pageName:t[0].partName};return t[14]!==void 0&&(s.storeName=t[14]),e=new dn({props:s}),Ie.push(()=>Ue(e,"storeName",r)),{c(){Ee(e.$$.fragment)},l(a){Le(e.$$.fragment,a)},m(a,c){Se(e,a,c),n=!0},p(a,c){const u={};c[0]&1&&(u.pageName=a[0].partName),!l&&c[0]&16384&&(l=!0,u.storeName=a[14],Ae(()=>l=!1)),e.$set(u)},i(a){n||(we(e.$$.fragment,a),n=!0)},o(a){Oe(e.$$.fragment,a),n=!1},d(a){je(e,a)}}}function In(t){let e,l,n="Parameters",r,s,a,c="Load Params from File",u,i,m,h,N="Set Params Default",v,d,b="Load Params from localStorage",T,g,C,D,O,z,F,U,w,E,M,P='<tr class="svelte-1g5tt44"><td class="svelte-1g5tt44">#</td> <td class="svelte-1g5tt44">Parameter name</td> <td class="svelte-1g5tt44">Value</td> <td class="svelte-1g5tt44">Unit</td> <td class="svelte-1g5tt44">Default</td> <td class="svelte-1g5tt44">Min</td> <td class="svelte-1g5tt44">Max</td> <td class="svelte-1g5tt44">Step</td></tr>',X,R,y,V,x="Comment:",Z,le,_e,ce,pe="Save Parameters to File",Ce,L,B="Save Parameters as URL",ne,q,fe="Save Parameters to localStorage",ee,ke,Te,ue,Q,oe,$,A,te,ae,de,ve,he,Be,xe,Je,pt,H,re,Ne,Re,We;function $e(W){t[33](W)}let rt={okName:"Overwrite Parameters",okFunc:t[24],$$slots:{default:[Tn]},$$scope:{ctx:t}};t[9]!==void 0&&(rt.modalOpen=t[9]),g=new gt({props:rt}),Ie.push(()=>Ue(g,"modalOpen",$e));function kt(W){t[35](W)}let it={okName:"Load Parameters",okFunc:t[25],$$slots:{default:[wn]},$$scope:{ctx:t}};t[10]!==void 0&&(it.modalOpen=t[10]),O=new gt({props:it}),Ie.push(()=>Ue(O,"modalOpen",kt));let et=De(t[5]),Pe=[];for(let W=0;W<et.length;W+=1)Pe[W]=Qt(Kt(t,et,W));function Lt(W){t[44](W)}let Xe={okName:"Done",okFunc:Pn,sizeLarge:!0,$$slots:{default:[Sn]},$$scope:{ctx:t}};t[11]!==void 0&&(Xe.modalOpen=t[11]),ke=new gt({props:Xe}),Ie.push(()=>Ue(ke,"modalOpen",Lt));function Nl(W){t[46](W)}let St={okName:"Save into localStorage",okFunc:t[26],$$slots:{default:[jn]},$$scope:{ctx:t}};t[12]!==void 0&&(St.modalOpen=t[12]),Q=new gt({props:St}),Ie.push(()=>Ue(Q,"modalOpen",Nl));function Tl(W){t[47](W)}let jt={svgPath:t[16]};return t[17]!==void 0&&(jt.modalOpen=t[17]),A=new gl({props:jt}),Ie.push(()=>Ue(A,"modalOpen",Tl)),Je=new Yt({props:{pageName:t[0].partName,fgeom:t[1],selFace:t[2],zAdjust:t[20],simTime:t[4]}}),re=new Yt({props:{pageName:t[0].partName,fgeom:t[1],selFace:t[2],zAdjust:t[3],simTime:t[4]}}),{c(){e=_("section"),l=_("h2"),l.textContent=n,r=j(),s=_("main"),a=_("label"),a.textContent=c,u=j(),i=_("input"),m=j(),h=_("button"),h.textContent=N,v=j(),d=_("button"),d.textContent=b,T=j(),Ee(g.$$.fragment),D=j(),Ee(O.$$.fragment),F=j(),U=_("textarea"),w=j(),E=_("table"),M=_("thead"),M.innerHTML=P,X=j();for(let W=0;W<Pe.length;W+=1)Pe[W].c();R=j(),y=_("div"),V=_("label"),V.textContent=x,Z=j(),le=_("input"),_e=j(),ce=_("button"),ce.textContent=pe,Ce=j(),L=_("button"),L.textContent=B,ne=j(),q=_("button"),q.textContent=fe,ee=j(),Ee(ke.$$.fragment),ue=j(),Ee(Q.$$.fragment),$=j(),Ee(A.$$.fragment),ae=j(),de=_("button"),ve=_("img"),Be=j(),xe=_("div"),Ee(Je.$$.fragment),pt=j(),H=_("div"),Ee(re.$$.fragment),this.h()},l(W){e=p(W,"SECTION",{class:!0});var se=S(e);l=p(se,"H2",{class:!0,"data-svelte-h":!0}),ie(l)!=="svelte-1mc497a"&&(l.textContent=n),r=I(se),s=p(se,"MAIN",{class:!0});var me=S(s);a=p(me,"LABEL",{for:!0,class:!0,"data-svelte-h":!0}),ie(a)!=="svelte-zt7rok"&&(a.textContent=c),u=I(me),i=p(me,"INPUT",{id:!0,type:!0,accept:!0,class:!0}),m=I(me),h=p(me,"BUTTON",{class:!0,"data-svelte-h":!0}),ie(h)!=="svelte-1typ5"&&(h.textContent=N),v=I(me),d=p(me,"BUTTON",{class:!0,"data-svelte-h":!0}),ie(d)!=="svelte-187bpo6"&&(d.textContent=b),T=I(me),Le(g.$$.fragment,me),D=I(me),Le(O.$$.fragment,me),F=I(me),U=p(me,"TEXTAREA",{rows:!0,cols:!0,wrap:!0,class:!0}),S(U).forEach(k),w=I(me),E=p(me,"TABLE",{class:!0});var tt=S(E);M=p(tt,"THEAD",{class:!0,"data-svelte-h":!0}),ie(M)!=="svelte-1szl7uo"&&(M.innerHTML=P),X=I(tt);for(let Qe=0;Qe<Pe.length;Qe+=1)Pe[Qe].l(tt);tt.forEach(k),R=I(me),y=p(me,"DIV",{class:!0});var lt=S(y);V=p(lt,"LABEL",{for:!0,"data-svelte-h":!0}),ie(V)!=="svelte-gqskth"&&(V.textContent=x),Z=I(lt),le=p(lt,"INPUT",{type:!0,id:!0,maxlength:!0,size:!0}),lt.forEach(k),_e=I(me),ce=p(me,"BUTTON",{class:!0,"data-svelte-h":!0}),ie(ce)!=="svelte-1ny58g0"&&(ce.textContent=pe),Ce=I(me),L=p(me,"BUTTON",{class:!0,"data-svelte-h":!0}),ie(L)!=="svelte-11or0m2"&&(L.textContent=B),ne=I(me),q=p(me,"BUTTON",{class:!0,"data-svelte-h":!0}),ie(q)!=="svelte-5zdtrl"&&(q.textContent=fe),ee=I(me),Le(ke.$$.fragment,me),ue=I(me),Le(Q.$$.fragment,me),me.forEach(k),$=I(se),Le(A.$$.fragment,se),ae=I(se),de=p(se,"BUTTON",{class:!0});var ut=S(de);ve=p(ut,"IMG",{src:!0,alt:!0,class:!0}),ut.forEach(k),Be=I(se),xe=p(se,"DIV",{class:!0});var mt=S(xe);Le(Je.$$.fragment,mt),mt.forEach(k),pt=I(se),H=p(se,"DIV",{class:!0});var nt=S(H);Le(re.$$.fragment,nt),nt.forEach(k),se.forEach(k),this.h()},h(){f(l,"class","svelte-1g5tt44"),f(a,"for","loadFParams"),f(a,"class","fileUpload svelte-1g5tt44"),f(i,"id","loadFParams"),f(i,"type","file"),f(i,"accept","text/plain, application/json"),f(i,"class","svelte-1g5tt44"),f(h,"class","svelte-1g5tt44"),f(d,"class","svelte-1g5tt44"),f(U,"rows","3"),f(U,"cols","80"),U.readOnly=!0,f(U,"wrap","off"),U.value=t[7],f(U,"class","svelte-1g5tt44"),He(U,"colorWarn",t[8]),f(M,"class","svelte-1g5tt44"),f(E,"class","svelte-1g5tt44"),f(V,"for","inComment"),f(le,"type","text"),f(le,"id","inComment"),f(le,"maxlength","150"),f(le,"size","70"),f(y,"class","comment svelte-1g5tt44"),f(ce,"class","svelte-1g5tt44"),f(L,"class","svelte-1g5tt44"),f(q,"class","svelte-1g5tt44"),f(s,"class","svelte-1g5tt44"),ht(ve.src,he=t[16])||f(ve,"src",he),f(ve,"alt",t[16]),f(ve,"class","svelte-1g5tt44"),f(de,"class","side-img svelte-1g5tt44"),f(xe,"class","mini-canvas svelte-1g5tt44"),f(H,"class","mini-canvas svelte-1g5tt44"),f(e,"class","svelte-1g5tt44")},m(W,se){J(W,e,se),o(e,l),o(e,r),o(e,s),o(s,a),o(s,u),o(s,i),o(s,m),o(s,h),o(s,v),o(s,d),o(s,T),Se(g,s,null),o(s,D),Se(O,s,null),o(s,F),o(s,U),o(s,w),o(s,E),o(E,M),o(E,X);for(let me=0;me<Pe.length;me+=1)Pe[me]&&Pe[me].m(E,null);o(s,R),o(s,y),o(y,V),o(y,Z),o(y,le),be(le,t[6]),o(s,_e),o(s,ce),o(s,Ce),o(s,L),o(s,ne),o(s,q),o(s,ee),Se(ke,s,null),o(s,ue),Se(Q,s,null),o(e,$),Se(A,e,null),o(e,ae),o(e,de),o(de,ve),o(e,Be),o(e,xe),Se(Je,xe,null),o(e,pt),o(e,H),Se(re,H,null),Ne=!0,Re||(We=[G(i,"change",t[22]),G(h,"click",t[31]),G(d,"click",t[32]),G(le,"input",t[42]),G(ce,"click",t[23]),G(L,"click",t[27]),G(q,"click",t[43]),G(de,"click",t[29])],Re=!0)},p(W,se){const me={};se[2]&64&&(me.$$scope={dirty:se,ctx:W}),!C&&se[0]&512&&(C=!0,me.modalOpen=W[9],Ae(()=>C=!1)),g.$set(me);const tt={};if(se[0]&8193|se[2]&64&&(tt.$$scope={dirty:se,ctx:W}),!z&&se[0]&1024&&(z=!0,tt.modalOpen=W[10],Ae(()=>z=!1)),O.$set(tt),(!Ne||se[0]&128)&&(U.value=W[7]),(!Ne||se[0]&256)&&He(U,"colorWarn",W[8]),se[0]&271319073){et=De(W[5]);let Ye;for(Ye=0;Ye<et.length;Ye+=1){const It=Kt(W,et,Ye);Pe[Ye]?Pe[Ye].p(It,se):(Pe[Ye]=Qt(It),Pe[Ye].c(),Pe[Ye].m(E,null))}for(;Ye<Pe.length;Ye+=1)Pe[Ye].d(1);Pe.length=et.length}se[0]&64&&le.value!==W[6]&&be(le,W[6]);const lt={};se[0]&32768|se[2]&64&&(lt.$$scope={dirty:se,ctx:W}),!Te&&se[0]&2048&&(Te=!0,lt.modalOpen=W[11],Ae(()=>Te=!1)),ke.$set(lt);const ut={};se[0]&16385|se[2]&64&&(ut.$$scope={dirty:se,ctx:W}),!oe&&se[0]&4096&&(oe=!0,ut.modalOpen=W[12],Ae(()=>oe=!1)),Q.$set(ut);const mt={};se[0]&65536&&(mt.svgPath=W[16]),!te&&se[0]&131072&&(te=!0,mt.modalOpen=W[17],Ae(()=>te=!1)),A.$set(mt),(!Ne||se[0]&65536&&!ht(ve.src,he=W[16]))&&f(ve,"src",he),(!Ne||se[0]&65536)&&f(ve,"alt",W[16]);const nt={};se[0]&1&&(nt.pageName=W[0].partName),se[0]&2&&(nt.fgeom=W[1]),se[0]&4&&(nt.selFace=W[2]),se[0]&16&&(nt.simTime=W[4]),Je.$set(nt);const Qe={};se[0]&1&&(Qe.pageName=W[0].partName),se[0]&2&&(Qe.fgeom=W[1]),se[0]&4&&(Qe.selFace=W[2]),se[0]&8&&(Qe.zAdjust=W[3]),se[0]&16&&(Qe.simTime=W[4]),re.$set(Qe)},i(W){Ne||(we(g.$$.fragment,W),we(O.$$.fragment,W),we(ke.$$.fragment,W),we(Q.$$.fragment,W),we(A.$$.fragment,W),we(Je.$$.fragment,W),we(re.$$.fragment,W),Ne=!0)},o(W){Oe(g.$$.fragment,W),Oe(O.$$.fragment,W),Oe(ke.$$.fragment,W),Oe(Q.$$.fragment,W),Oe(A.$$.fragment,W),Oe(Je.$$.fragment,W),Oe(re.$$.fragment,W),Ne=!1},d(W){W&&k(e),je(g),je(O),Ke(Pe,W),je(ke),je(Q),je(A),je(Je),je(re),Re=!1,qe(We)}}}function Pn(){}function An(t){const e={};for(const l of t)e[l.sectionID]=l.sectionVisible;return e}function Un(t,e,l){let n,r;at(t,Ze,H=>l(19,n=H)),at(t,ql,H=>l(48,r=H));const s=ml();let{pDef:a}=e,{fgeom:c}=e,{selFace:u}=e,{zAdjust:i}=e,{simTime:m=0}=e;const h=_l();let N="";function v(){s("paramChg",{foo:"bla"})}function d(H,re){let Ne="",Re=!1;H!==a.partName&&(Ne+=`warn361: read partName: '${H}' expected partName: '${a.partName}'
|
|
1
|
+
import{a as Pt,b as wl}from"../chunks/makeList.OAfyhA_q.js";import{H as Cl,w as ul,g as Ol}from"../chunks/entry.oPpVaRrB.js";import{Q as Dl,s as Me,p as st,i as J,n as ze,f as k,e as _,c as p,b as S,R as ht,m as f,h as o,S as G,v as Ie,a as j,g as I,T as Ae,o as Ke,y as El,t as Y,l as ie,d as K,U as He,z as Ll,A as Sl,B as jl,j as ge,C as qe,V as be,k as at,r as Et,W as ml,X as _t,Y as Ct,Z as Il,H as bt,_ as ot,$ as Pl,a0 as Al}from"../chunks/scheduler.2BOoCPD3.js";import{S as ye,i as Fe,f as Ue,b as Ee,d as Le,m as Se,a as we,t as Oe,e as je,g as Ul,c as zl}from"../chunks/index.RMmEH_Pi.js";import{e as De,D as Ml,F as dl,G as yl,H as hl,I as _l,P as wt,J as Fl,K as Nt,L as ct,M as Bl,N as Rl,O as Ot,Q as Hl,R as At,f as dt,r as Dt,T as Ge,U as Vl,V as Wl,W as Xl,X as Yl,Y as Kl}from"../chunks/index.VmH-9d5B.js";import{b as vt}from"../chunks/paths.5abfQOAR.js";import{p as ql}from"../chunks/stores.HcZef9In.js";function Gl(t,e){throw new Cl(t,e)}new TextEncoder;function Zl({params:t}){const e=t.design;if(Object.keys(Pt).includes(e))return{pageDef:Pt[e],allLink:wl};Gl(404,"Design undefined!")}const vs=Object.freeze(Object.defineProperty({__proto__:null,load:Zl},Symbol.toStringTag,{value:"Module"})),Ze=ul({});function pl(t,e,l){const n=Dl(Ze);if(Object.keys(n).includes(t)){const s=n[t],a=Object.keys(s);for(const c of Object.keys(e))a.includes(c)?l&&(s[c]=e[c]):s[c]=e[c];n[t]=s}else n[t]=e;Ze.set(n)}function Jl(t){const e=t.pDef.partName,l={};for(const n of t.pDef.params)l[n.name]=n.init;pl(e,l,!1)}function Ut(t){let e,l,n,r,s,a,c;return{c(){e=_("aside"),l=_("div"),n=_("button"),r=_("img"),this.h()},l(u){e=p(u,"ASIDE",{class:!0});var i=S(e);l=p(i,"DIV",{class:!0});var m=S(l);n=p(m,"BUTTON",{class:!0});var h=S(n);r=p(h,"IMG",{src:!0,alt:!0}),h.forEach(k),m.forEach(k),i.forEach(k),this.h()},h(){ht(r.src,s=t[1])||f(r,"src",s),f(r,"alt",t[1]),f(n,"class","svelte-sjxf1e"),f(l,"class","dialog svelte-sjxf1e"),f(e,"class","backdrop svelte-sjxf1e")},m(u,i){J(u,e,i),o(e,l),o(l,n),o(n,r),a||(c=G(n,"click",t[2]),a=!0)},p(u,i){i&2&&!ht(r.src,s=u[1])&&f(r,"src",s),i&2&&f(r,"alt",u[1])},d(u){u&&k(e),a=!1,c()}}}function Ql(t){let e,l=t[0]&&Ut(t);return{c(){l&&l.c(),e=st()},l(n){l&&l.l(n),e=st()},m(n,r){l&&l.m(n,r),J(n,e,r)},p(n,[r]){n[0]?l?l.p(n,r):(l=Ut(n),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:ze,o:ze,d(n){n&&k(e),l&&l.d(n)}}}function $l(t,e,l){let{svgPath:n}=e,{modalOpen:r}=e;function s(){l(0,r=!1)}return t.$$set=a=>{"svgPath"in a&&l(1,n=a.svgPath),"modalOpen"in a&&l(0,r=a.modalOpen)},[r,n,s]}class gl extends ye{constructor(e){super(),Fe(this,e,$l,Ql,Me,{svgPath:1,modalOpen:0})}}function zt(t,e,l){const n=t.slice();return n[8]=e[l],n}function Mt(t){let e,l,n,r,s,a,c;function u(){return t[6](t[8])}return{c(){e=_("button"),l=_("img"),s=j(),this.h()},l(i){e=p(i,"BUTTON",{class:!0});var m=S(e);l=p(m,"IMG",{src:!0,alt:!0,class:!0}),s=I(m),m.forEach(k),this.h()},h(){ht(l.src,n=t[8])||f(l,"src",n),f(l,"alt",r=t[8]),f(l,"class","svelte-fxmnfh"),f(e,"class","svelte-fxmnfh")},m(i,m){J(i,e,m),o(e,l),o(e,s),a||(c=G(e,"click",u),a=!0)},p(i,m){t=i,m&1&&!ht(l.src,n=t[8])&&f(l,"src",n),m&1&&r!==(r=t[8])&&f(l,"alt",r)},d(i){i&&k(e),a=!1,c()}}}function xl(t){let e,l,n,r,s;function a(m){t[5](m)}let c={svgPath:t[2]};t[1]!==void 0&&(c.modalOpen=t[1]),l=new gl({props:c}),Ie.push(()=>Ue(l,"modalOpen",a));let u=De(t[0]),i=[];for(let m=0;m<u.length;m+=1)i[m]=Mt(zt(t,u,m));return{c(){e=_("section"),Ee(l.$$.fragment),r=j();for(let m=0;m<i.length;m+=1)i[m].c();this.h()},l(m){e=p(m,"SECTION",{class:!0});var h=S(e);Le(l.$$.fragment,h),r=I(h);for(let N=0;N<i.length;N+=1)i[N].l(h);h.forEach(k),this.h()},h(){f(e,"class","svelte-fxmnfh")},m(m,h){J(m,e,h),Se(l,e,null),o(e,r);for(let N=0;N<i.length;N+=1)i[N]&&i[N].m(e,null);s=!0},p(m,[h]){const N={};if(h&4&&(N.svgPath=m[2]),!n&&h&2&&(n=!0,N.modalOpen=m[1],Ae(()=>n=!1)),l.$set(N),h&9){u=De(m[0]);let v;for(v=0;v<u.length;v+=1){const d=zt(m,u,v);i[v]?i[v].p(d,h):(i[v]=Mt(d),i[v].c(),i[v].m(e,null))}for(;v<i.length;v+=1)i[v].d(1);i.length=u.length}},i(m){s||(we(l.$$.fragment,m),s=!0)},o(m){Oe(l.$$.fragment,m),s=!1},d(m){m&&k(e),je(l),Ke(i,m)}}}function en(t){const e=[];for(const l of Object.values(t.paramSvg))e.includes(l)||e.push(l);return e}function tn(t,e,l){let{pDef:n}=e;function r(h){const N=en(n),v=[];for(const d of N)v.push(`${vt}/pgdsvg/${d}`);return v}let s=[],a=!1,c;function u(h){l(2,c=h),l(1,a=!0)}function i(h){a=h,l(1,a)}const m=h=>u(h);return t.$$set=h=>{"pDef"in h&&l(4,n=h.pDef)},t.$$.update=()=>{t.$$.dirty&16&&l(0,s=r(n.partName))},[s,a,c,u,n,i,m]}class ln extends ye{constructor(e){super(),Fe(this,e,tn,xl,Me,{pDef:4})}}function yt(t){let e,l,n,r,s,a,c="Cancel",u,i,m,h,N,v;const d=t[7].default,b=El(d,t,t[6],null);return{c(){e=_("aside"),l=_("div"),n=_("article"),b&&b.c(),r=j(),s=_("footer"),a=_("button"),a.textContent=c,u=j(),i=_("button"),m=Y(t[1]),this.h()},l(T){e=p(T,"ASIDE",{class:!0});var g=S(e);l=p(g,"DIV",{class:!0});var C=S(l);n=p(C,"ARTICLE",{class:!0});var D=S(n);b&&b.l(D),D.forEach(k),r=I(C),s=p(C,"FOOTER",{class:!0});var O=S(s);a=p(O,"BUTTON",{class:!0,"data-svelte-h":!0}),ie(a)!=="svelte-hcvk9s"&&(a.textContent=c),u=I(O),i=p(O,"BUTTON",{class:!0});var z=S(i);m=K(z,t[1]),z.forEach(k),O.forEach(k),C.forEach(k),g.forEach(k),this.h()},h(){f(n,"class","question svelte-weruk7"),f(a,"class","cancel svelte-weruk7"),f(i,"class","ok svelte-weruk7"),f(s,"class","svelte-weruk7"),f(l,"class","dialog svelte-weruk7"),He(l,"sizeLarge",t[2]),f(e,"class","backdrop svelte-weruk7")},m(T,g){J(T,e,g),o(e,l),o(l,n),b&&b.m(n,null),o(l,r),o(l,s),o(s,a),o(s,u),o(s,i),o(i,m),h=!0,N||(v=[G(a,"click",t[3]),G(i,"click",t[4])],N=!0)},p(T,g){b&&b.p&&(!h||g&64)&&Ll(b,d,T,T[6],h?jl(d,T[6],g,null):Sl(T[6]),null),(!h||g&2)&&ge(m,T[1]),(!h||g&4)&&He(l,"sizeLarge",T[2])},i(T){h||(we(b,T),h=!0)},o(T){Oe(b,T),h=!1},d(T){T&&k(e),b&&b.d(T),N=!1,qe(v)}}}function nn(t){let e,l,n=t[0]&&yt(t);return{c(){n&&n.c(),e=st()},l(r){n&&n.l(r),e=st()},m(r,s){n&&n.m(r,s),J(r,e,s),l=!0},p(r,[s]){r[0]?n?(n.p(r,s),s&1&&we(n,1)):(n=yt(r),n.c(),we(n,1),n.m(e.parentNode,e)):n&&(Ul(),Oe(n,1,1,()=>{n=null}),zl())},i(r){l||(we(n),l=!0)},o(r){Oe(n),l=!1},d(r){r&&k(e),n&&n.d(r)}}}function sn(t,e,l){let{$$slots:n={},$$scope:r}=e,{okName:s="Ok"}=e,{okFunc:a}=e,{modalOpen:c}=e,{sizeLarge:u=!1}=e;function i(){l(0,c=!1)}function m(){a(),l(0,c=!1)}return t.$$set=h=>{"okName"in h&&l(1,s=h.okName),"okFunc"in h&&l(5,a=h.okFunc),"modalOpen"in h&&l(0,c=h.modalOpen),"sizeLarge"in h&&l(2,u=h.sizeLarge),"$$scope"in h&&l(6,r=h.$$scope)},[c,s,u,i,m,a,r,n]}class gt extends ye{constructor(e){super(),Fe(this,e,sn,nn,Me,{okName:1,okFunc:5,modalOpen:0,sizeLarge:2})}}function Ft(t,e,l){const n=t.slice();return n[17]=e[l],n[18]=e,n[19]=l,n}function Bt(t,e,l){const n=t.slice();return n[17]=e[l],n}function Rt(t){let e,l=t[17]+"",n;return{c(){e=_("p"),n=Y(l),this.h()},l(r){e=p(r,"P",{class:!0});var s=S(e);n=K(s,l),s.forEach(k),this.h()},h(){f(e,"class","diagItem svelte-12dj9tj")},m(r,s){J(r,e,s),o(e,n)},p(r,s){s&1&&l!==(l=r[17]+"")&&ge(n,l)},d(r){r&&k(e)}}}function Ht(t){let e,l=t[3][t[17]]&&Rt(t);return{c(){l&&l.c(),e=st()},l(n){l&&l.l(n),e=st()},m(n,r){l&&l.m(n,r),J(n,e,r)},p(n,r){n[3][n[17]]?l?l.p(n,r):(l=Rt(n),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},d(n){n&&k(e),l&&l.d(n)}}}function an(t){let e,l="Do you really want to delete the following localStorage keys?",n,r,s=De(t[0]),a=[];for(let c=0;c<s.length;c+=1)a[c]=Ht(Bt(t,s,c));return{c(){e=_("p"),e.textContent=l,n=j();for(let c=0;c<a.length;c+=1)a[c].c();r=st(),this.h()},l(c){e=p(c,"P",{class:!0,"data-svelte-h":!0}),ie(e)!=="svelte-12r0p0q"&&(e.textContent=l),n=I(c);for(let u=0;u<a.length;u+=1)a[u].l(c);r=st(),this.h()},h(){f(e,"class","diagTitle svelte-12dj9tj")},m(c,u){J(c,e,u),J(c,n,u);for(let i=0;i<a.length;i+=1)a[i]&&a[i].m(c,u);J(c,r,u)},p(c,u){if(u&9){s=De(c[0]);let i;for(i=0;i<s.length;i+=1){const m=Bt(c,s,i);a[i]?a[i].p(m,u):(a[i]=Ht(m),a[i].c(),a[i].m(r.parentNode,r))}for(;i<a.length;i+=1)a[i].d(1);a.length=s.length}},d(c){c&&(k(e),k(n),k(r)),Ke(a,c)}}}function Vt(t){let e,l,n,r,s,a,c=t[17]+"",u,i,m,h=t[2][t[17]]+"",N,v,d,b;function T(){t[12].call(n,t[17])}function g(){return t[13](t[17])}return{c(){e=_("tr"),l=_("td"),n=_("input"),r=j(),s=_("td"),a=_("button"),u=Y(c),i=j(),m=_("td"),N=Y(h),v=j(),this.h()},l(C){e=p(C,"TR",{class:!0});var D=S(e);l=p(D,"TD",{});var O=S(l);n=p(O,"INPUT",{type:!0}),O.forEach(k),r=I(D),s=p(D,"TD",{class:!0});var z=S(s);a=p(z,"BUTTON",{class:!0});var F=S(a);u=K(F,c),F.forEach(k),z.forEach(k),i=I(D),m=p(D,"TD",{});var U=S(m);N=K(U,h),U.forEach(k),v=I(D),D.forEach(k),this.h()},h(){f(n,"type","checkbox"),f(a,"class","svelte-12dj9tj"),f(s,"class","svelte-12dj9tj"),f(e,"class","svelte-12dj9tj")},m(C,D){J(C,e,D),o(e,l),o(l,n),n.checked=t[3][t[17]],o(e,r),o(e,s),o(s,a),o(a,u),o(e,i),o(e,m),o(m,N),o(e,v),d||(b=[G(n,"change",T),G(a,"click",g)],d=!0)},p(C,D){t=C,D&9&&(n.checked=t[3][t[17]]),D&1&&c!==(c=t[17]+"")&&ge(u,c),D&5&&h!==(h=t[2][t[17]]+"")&&ge(N,h)},d(C){C&&k(e),d=!1,qe(b)}}}function on(t){let e,l,n="Delete",r,s,a,c,u,i,m,h="<td>Delete</td> <td>Key name</td> <td>Last modification</td>",N,v,d,b,T,g,C="delete all",D,O,z,F,U,w,E;function M(y){t[10](y)}let P={okName:"Confirm",okFunc:t[6],$$slots:{default:[an]},$$scope:{ctx:t}};t[4]!==void 0&&(P.modalOpen=t[4]),s=new gt({props:P}),Ie.push(()=>Ue(s,"modalOpen",M));let X=De(t[0]),R=[];for(let y=0;y<X.length;y+=1)R[y]=Vt(Ft(t,X,y));return{c(){e=_("div"),l=_("button"),l.textContent=n,r=j(),Ee(s.$$.fragment),c=j(),u=_("table"),i=_("thead"),m=_("tr"),m.innerHTML=h,N=j(),v=_("tr"),d=_("td"),b=_("input"),T=j(),g=_("td"),g.textContent=C,D=j(),O=_("td"),z=j(),F=_("tbody");for(let y=0;y<R.length;y+=1)R[y].c();this.h()},l(y){e=p(y,"DIV",{class:!0});var V=S(e);l=p(V,"BUTTON",{class:!0,"data-svelte-h":!0}),ie(l)!=="svelte-1tbm4xl"&&(l.textContent=n),r=I(V),Le(s.$$.fragment,V),c=I(V),u=p(V,"TABLE",{class:!0});var x=S(u);i=p(x,"THEAD",{class:!0});var Z=S(i);m=p(Z,"TR",{"data-svelte-h":!0}),ie(m)!=="svelte-xt53kn"&&(m.innerHTML=h),N=I(Z),v=p(Z,"TR",{});var le=S(v);d=p(le,"TD",{});var _e=S(d);b=p(_e,"INPUT",{type:!0}),_e.forEach(k),T=I(le),g=p(le,"TD",{class:!0,"data-svelte-h":!0}),ie(g)!=="svelte-1s4wssd"&&(g.textContent=C),D=I(le),O=p(le,"TD",{}),S(O).forEach(k),le.forEach(k),Z.forEach(k),z=I(x),F=p(x,"TBODY",{class:!0});var ce=S(F);for(let pe=0;pe<R.length;pe+=1)R[pe].l(ce);ce.forEach(k),x.forEach(k),V.forEach(k),this.h()},h(){f(l,"class","svelte-12dj9tj"),f(b,"type","checkbox"),f(g,"class","instruction"),f(i,"class","svelte-12dj9tj"),f(F,"class","svelte-12dj9tj"),f(u,"class","svelte-12dj9tj"),f(e,"class","deleteKeys svelte-12dj9tj")},m(y,V){J(y,e,V),o(e,l),o(e,r),Se(s,e,null),o(e,c),o(e,u),o(u,i),o(i,m),o(i,N),o(i,v),o(v,d),o(d,b),b.checked=t[1],o(v,T),o(v,g),o(v,D),o(v,O),o(u,z),o(u,F);for(let x=0;x<R.length;x+=1)R[x]&&R[x].m(F,null);U=!0,w||(E=[G(l,"click",t[9]),G(b,"change",t[11])],w=!0)},p(y,[V]){const x={};if(V&4194313&&(x.$$scope={dirty:V,ctx:y}),!a&&V&16&&(a=!0,x.modalOpen=y[4],Ae(()=>a=!1)),s.$set(x),V&2&&(b.checked=y[1]),V&45){X=De(y[0]);let Z;for(Z=0;Z<X.length;Z+=1){const le=Ft(y,X,Z);R[Z]?R[Z].p(le,V):(R[Z]=Vt(le),R[Z].c(),R[Z].m(F,null))}for(;Z<R.length;Z+=1)R[Z].d(1);R.length=X.length}},i(y){U||(we(s.$$.fragment,y),U=!0)},o(y){Oe(s.$$.fragment,y),U=!1},d(y){y&&k(e),je(s),Ke(R,y),w=!1,qe(E)}}}function rn(t){let e={};for(const l of t)e[l]=!1;return e}function cn(t,e,l){let{pageName:n}=e,{storeName:r}=e,{localKeys:s}=e;function a(){let O=[];const z=new RegExp(`^${n}_`);return O=Object.keys(window.localStorage).filter(U=>z.test(U)).map(U=>U.replace(z,"")),O}s=a();function c(O){l(7,r=O)}let u={};function i(O){let z={};for(const F of O){let U="";const w=`${n}_${F}`,E=window.localStorage.getItem(w);E!==null&&(U=JSON.parse(E).lastModif),z[F]=U}return z}u=i(s);let m={};m=rn(s);let h=!1;function N(O){for(const z of s)l(3,m[z]=O,m)}function v(){for(const O of s)if(m[O]){const z=`${n}_${O}`;window.localStorage.removeItem(z)}l(0,s=a())}let d=!1;const b=()=>{l(4,d=!0)};function T(O){d=O,l(4,d)}function g(){h=this.checked,l(1,h)}function C(O){m[O]=this.checked,l(3,m)}const D=O=>c(O);return t.$$set=O=>{"pageName"in O&&l(8,n=O.pageName),"storeName"in O&&l(7,r=O.storeName),"localKeys"in O&&l(0,s=O.localKeys)},t.$$.update=()=>{t.$$.dirty&2&&N(h)},[s,h,u,m,d,c,v,r,n,b,T,g,C,D]}class vl extends ye{constructor(e){super(),Fe(this,e,cn,on,Me,{pageName:8,storeName:7,localKeys:0})}}function Wt(t){let e,l,n,r;return{c(){e=_("p"),l=Y("Warning: name "),n=Y(t[0]),r=Y(" already used"),this.h()},l(s){e=p(s,"P",{class:!0});var a=S(e);l=K(a,"Warning: name "),n=K(a,t[0]),r=K(a," already used"),a.forEach(k),this.h()},h(){f(e,"class","warnMsg svelte-1rkdwo")},m(s,a){J(s,e,a),o(e,l),o(e,n),o(e,r)},p(s,a){a&1&&ge(n,s[0])},d(s){s&&k(e)}}}function fn(t){let e,l,n,r,s,a,c="Give a name to your parameter-set:",u,i,m,h,N,v;function d(C){t[5](C)}function b(C){t[6](C)}let T={pageName:t[1]};t[0]!==void 0&&(T.storeName=t[0]),t[2]!==void 0&&(T.localKeys=t[2]),e=new vl({props:T}),Ie.push(()=>Ue(e,"storeName",d)),Ie.push(()=>Ue(e,"localKeys",b));let g=t[3]&&Wt(t);return{c(){Ee(e.$$.fragment),r=j(),s=_("div"),a=_("label"),a.textContent=c,u=j(),i=_("input"),m=j(),g&&g.c(),this.h()},l(C){Le(e.$$.fragment,C),r=I(C),s=p(C,"DIV",{class:!0});var D=S(s);a=p(D,"LABEL",{for:!0,class:!0,"data-svelte-h":!0}),ie(a)!=="svelte-1vdq35w"&&(a.textContent=c),u=I(D),i=p(D,"INPUT",{type:!0,id:!0,minlength:!0,maxlength:!0,size:!0,class:!0}),m=I(D),g&&g.l(D),D.forEach(k),this.h()},h(){f(a,"for","storName"),f(a,"class","svelte-1rkdwo"),f(i,"type","text"),f(i,"id","storName"),i.required=!0,f(i,"minlength","4"),f(i,"maxlength","30"),f(i,"size","32"),f(i,"class","svelte-1rkdwo"),f(s,"class","svelte-1rkdwo")},m(C,D){Se(e,C,D),J(C,r,D),J(C,s,D),o(s,a),o(s,u),o(s,i),be(i,t[0]),o(s,m),g&&g.m(s,null),h=!0,N||(v=[G(i,"input",t[7]),G(i,"input",t[4])],N=!0)},p(C,[D]){const O={};D&2&&(O.pageName=C[1]),!l&&D&1&&(l=!0,O.storeName=C[0],Ae(()=>l=!1)),!n&&D&4&&(n=!0,O.localKeys=C[2],Ae(()=>n=!1)),e.$set(O),D&1&&i.value!==C[0]&&be(i,C[0]),C[3]?g?g.p(C,D):(g=Wt(C),g.c(),g.m(s,null)):g&&(g.d(1),g=null)},i(C){h||(we(e.$$.fragment,C),h=!0)},o(C){Oe(e.$$.fragment,C),h=!1},d(C){C&&(k(r),k(s)),je(e,C),g&&g.d(),N=!1,qe(v)}}}function un(t){const e=/[-:]/g,l=/\..*$/;return`${t}_${new Date().toISOString().replace(e,"").replace(l,"").replace("T","_")}`}function mn(t,e,l){let{pageName:n}=e,{storeName:r}=e,s=[];r=un(n);let a=!1;function c(N){l(3,a=s.includes(N))}function u(N){const v=N.target.value;c(v)}function i(N){r=N,l(0,r)}function m(N){s=N,l(2,s)}function h(){r=this.value,l(0,r)}return t.$$set=N=>{"pageName"in N&&l(1,n=N.pageName),"storeName"in N&&l(0,r=N.storeName)},t.$$.update=()=>{t.$$.dirty&1&&c(r)},[r,n,s,a,u,i,m,h]}class dn extends ye{constructor(e){super(),Fe(this,e,mn,fn,Me,{pageName:1,storeName:0})}}function hn(t){let e,l,n,r,s,a,c="Select a parameter-set:",u,i,m;function h(d){t[3](d)}function N(d){t[4](d)}let v={pageName:t[1]};return t[0]!==void 0&&(v.storeName=t[0]),t[2]!==void 0&&(v.localKeys=t[2]),e=new vl({props:v}),Ie.push(()=>Ue(e,"storeName",h)),Ie.push(()=>Ue(e,"localKeys",N)),{c(){Ee(e.$$.fragment),r=j(),s=_("div"),a=_("label"),a.textContent=c,u=j(),i=_("input"),this.h()},l(d){Le(e.$$.fragment,d),r=I(d),s=p(d,"DIV",{class:!0});var b=S(s);a=p(b,"LABEL",{for:!0,class:!0,"data-svelte-h":!0}),ie(a)!=="svelte-rajgc0"&&(a.textContent=c),u=I(b),i=p(b,"INPUT",{type:!0,id:!0,minlength:!0,maxlength:!0,size:!0,class:!0}),b.forEach(k),this.h()},h(){f(a,"for","storName"),f(a,"class","svelte-1ozd0ey"),f(i,"type","text"),f(i,"id","storName"),i.value=t[0],i.readOnly=!0,f(i,"minlength","4"),f(i,"maxlength","30"),f(i,"size","32"),f(i,"class","svelte-1ozd0ey"),f(s,"class","svelte-1ozd0ey")},m(d,b){Se(e,d,b),J(d,r,b),J(d,s,b),o(s,a),o(s,u),o(s,i),m=!0},p(d,[b]){const T={};b&2&&(T.pageName=d[1]),!l&&b&1&&(l=!0,T.storeName=d[0],Ae(()=>l=!1)),!n&&b&4&&(n=!0,T.localKeys=d[2],Ae(()=>n=!1)),e.$set(T),(!m||b&1&&i.value!==d[0])&&(i.value=d[0])},i(d){m||(we(e.$$.fragment,d),m=!0)},o(d){Oe(e.$$.fragment,d),m=!1},d(d){d&&(k(r),k(s)),je(e,d)}}}function _n(t,e,l){let{pageName:n}=e,{storeName:r}=e,s=[];function a(i){let m=r;return!i.includes(m)&&(i.length>0?m=i[0]:m=""),m}function c(i){r=i,l(0,r),l(2,s)}function u(i){s=i,l(2,s)}return t.$$set=i=>{"pageName"in i&&l(1,n=i.pageName),"storeName"in i&&l(0,r=i.storeName)},t.$$.update=()=>{t.$$.dirty&4&&l(0,r=a(s))},[r,n,s,c,u]}class pn extends ye{constructor(e){super(),Fe(this,e,_n,hn,Me,{pageName:1,storeName:0})}}const Ve=ul(Ml());function gn(t){let e;return{c(){e=_("canvas"),this.h()},l(l){e=p(l,"CANVAS",{class:!0,width:!0,height:!0}),S(e).forEach(k),this.h()},h(){f(e,"class","mini svelte-z8e4tz"),f(e,"width",Xt),f(e,"height",Xt)},m(l,n){J(l,e,n),t[9](e)},p:ze,i:ze,o:ze,d(l){l&&k(e),t[9](null)}}}const Xt=200;function vn(t,e,l){let n,r;at(t,Ve,T=>l(7,n=T)),at(t,Ze,T=>l(8,r=T));let{pageName:s}=e,{fgeom:a}=e,{selFace:c}=e,{zAdjust:u}=e,{simTime:i=0}=e,m,h;function N(T,g){const C=yl(g);C.ruler=!1;const D=m.getContext("2d");D.clearRect(0,0,D.canvas.width,D.canvas.height);try{u.init===0?h=T.getAdjustFull(D.canvas.width,D.canvas.height):h=u,T.draw(D,h,C)}catch(O){console.log(O)}}let v=0;function d(T,g,C,D){const O=a(T,g).fig;if(Object.keys(O).includes(C)){const z=O[C];N(z,D)}else{const z=dl(O);N(z,D)}}Et(()=>{d(i,r[s],c,n),l(6,v=1)});function b(T){Ie[T?"unshift":"push"](()=>{m=T,l(0,m)})}return t.$$set=T=>{"pageName"in T&&l(1,s=T.pageName),"fgeom"in T&&l(2,a=T.fgeom),"selFace"in T&&l(3,c=T.selFace),"zAdjust"in T&&l(4,u=T.zAdjust),"simTime"in T&&l(5,i=T.simTime)},t.$$.update=()=>{t.$$.dirty&490&&v===1&&d(i,r[s],c,n)},[m,s,a,c,u,i,v,n,r,b]}class Yt extends ye{constructor(e){super(),Fe(this,e,vn,gn,Me,{pageName:1,fgeom:2,selFace:3,zAdjust:4,simTime:5})}}function bn(t,e){const l=document.createElement("a");l.setAttribute("href","data:text/plain;charset=utf-8,"+encodeURIComponent(e)),l.setAttribute("download",t),l.click(),l.remove()}function bl(t,e,l){const n=/[-:]/g,r=/\..*$/,s=new Date().toISOString().replace(n,"").replace(r,"").replace("T","_"),a=`px_${t}_${s}.json`,c=hl(s,t,e,l);bn(a,c)}function kn(t,e,l){const n=new URL(t),r=2e3;let s=n.toString().length;for(const a of Object.keys(e)){const c=e[a].toString(),u=2+a.length+c.length;n.searchParams.append(encodeURIComponent(a),encodeURIComponent(c)),s+=u}return s>=r&&console.log(`warn547: generateUrl: strLength ${s} larger than strLengthLimit ${r}`),n.toString()}function Kt(t,e,l){const n=t.slice();return n[58]=e[l],n[59]=e,n[60]=l,n}function qt(t,e,l){const n=t.slice();return n[61]=e[l],n[62]=e,n[63]=l,n}function Gt(t,e,l){const n=t.slice();return n[64]=e[l],n[66]=l,n}function Nn(t,e,l){const n=t.slice();return n[64]=e[l],n[66]=l,n}function Tn(t){let e;return{c(){e=Y("Load the default parameters ?")},l(l){e=K(l,"Load the default parameters ?")},m(l,n){J(l,e,n)},d(l){l&&k(e)}}}function wn(t){let e,l,n;function r(a){t[34](a)}let s={pageName:t[0].partName};return t[13]!==void 0&&(s.storeName=t[13]),e=new pn({props:s}),Ie.push(()=>Ue(e,"storeName",r)),{c(){Ee(e.$$.fragment)},l(a){Le(e.$$.fragment,a)},m(a,c){Se(e,a,c),n=!0},p(a,c){const u={};c[0]&1&&(u.pageName=a[0].partName),!l&&c[0]&8192&&(l=!0,u.storeName=a[13],Ae(()=>l=!1)),e.$set(u)},i(a){n||(we(e.$$.fragment,a),n=!0)},o(a){Oe(e.$$.fragment,a),n=!1},d(a){je(e,a)}}}function Cn(t){let e;return{c(){e=Y("unknown")},l(l){e=K(l,"unknown")},m(l,n){J(l,e,n)},p:ze,d(l){l&&k(e)}}}function On(t){let e,l,n,r=De(t[61].dropdown),s=[];for(let c=0;c<r.length;c+=1)s[c]=Zt(Gt(t,r,c));function a(){t[41].call(e,t[61])}return{c(){e=_("select");for(let c=0;c<s.length;c+=1)s[c].c();this.h()},l(c){e=p(c,"SELECT",{});var u=S(e);for(let i=0;i<s.length;i+=1)s[i].l(u);u.forEach(k),this.h()},h(){t[19][t[0].partName][t[61].name]===void 0&&bt(a)},m(c,u){J(c,e,u);for(let i=0;i<s.length;i+=1)s[i]&&s[i].m(e,null);ot(e,t[19][t[0].partName][t[61].name],!0),l||(n=G(e,"change",a),l=!0)},p(c,u){if(t=c,u[0]&32){r=De(t[61].dropdown);let i;for(i=0;i<r.length;i+=1){const m=Gt(t,r,i);s[i]?s[i].p(m,u):(s[i]=Zt(m),s[i].c(),s[i].m(e,null))}for(;i<s.length;i+=1)s[i].d(1);s.length=r.length}u[0]&524321&&ot(e,t[19][t[0].partName][t[61].name])},d(c){c&&k(e),Ke(s,c),l=!1,n()}}}function Dn(t){let e,l,n,r=De(["Off","On"]),s=[];for(let c=0;c<2;c+=1)s[c]=Ln(Nn(t,r,c));function a(){t[40].call(e,t[61])}return{c(){e=_("select");for(let c=0;c<2;c+=1)s[c].c();this.h()},l(c){e=p(c,"SELECT",{});var u=S(e);for(let i=0;i<2;i+=1)s[i].l(u);u.forEach(k),this.h()},h(){t[19][t[0].partName][t[61].name]===void 0&&bt(a)},m(c,u){J(c,e,u);for(let i=0;i<2;i+=1)s[i]&&s[i].m(e,null);ot(e,t[19][t[0].partName][t[61].name],!0),l||(n=G(e,"change",a),l=!0)},p(c,u){t=c,u[0]&524321&&ot(e,t[19][t[0].partName][t[61].name])},d(c){c&&k(e),Ke(s,c),l=!1,n()}}}function En(t){let e,l,n,r,s,a,c,u,i,m,h;function N(){t[38].call(e,t[61])}function v(){t[39].call(a,t[61])}return{c(){e=_("input"),s=j(),a=_("input"),this.h()},l(d){e=p(d,"INPUT",{type:!0,min:!0,max:!0,step:!0,class:!0}),s=I(d),a=p(d,"INPUT",{type:!0,min:!0,max:!0,step:!0,class:!0}),this.h()},h(){f(e,"type","number"),f(e,"min",l=t[61].min),f(e,"max",n=t[61].max),f(e,"step",r=t[61].step),f(e,"class","input-number svelte-1g5tt44"),f(a,"type","range"),f(a,"min",c=t[61].min),f(a,"max",u=t[61].max),f(a,"step",i=t[61].step),f(a,"class","svelte-1g5tt44")},m(d,b){J(d,e,b),be(e,t[19][t[0].partName][t[61].name]),J(d,s,b),J(d,a,b),be(a,t[19][t[0].partName][t[61].name]),m||(h=[G(e,"input",N),G(e,"change",t[21]),G(a,"change",v),G(a,"input",v),G(a,"change",t[21])],m=!0)},p(d,b){t=d,b[0]&32&&l!==(l=t[61].min)&&f(e,"min",l),b[0]&32&&n!==(n=t[61].max)&&f(e,"max",n),b[0]&32&&r!==(r=t[61].step)&&f(e,"step",r),b[0]&524321&&_t(e.value)!==t[19][t[0].partName][t[61].name]&&be(e,t[19][t[0].partName][t[61].name]),b[0]&32&&c!==(c=t[61].min)&&f(a,"min",c),b[0]&32&&u!==(u=t[61].max)&&f(a,"max",u),b[0]&32&&i!==(i=t[61].step)&&f(a,"step",i),b[0]&524321&&be(a,t[19][t[0].partName][t[61].name])},d(d){d&&(k(e),k(s),k(a)),m=!1,qe(h)}}}function Zt(t){let e,l=t[64]+"",n;return{c(){e=_("option"),n=Y(l),this.h()},l(r){e=p(r,"OPTION",{});var s=S(e);n=K(s,l),s.forEach(k),this.h()},h(){e.__value=t[66],be(e,e.__value)},m(r,s){J(r,e,s),o(e,n)},p(r,s){s[0]&32&&l!==(l=r[64]+"")&&ge(n,l)},d(r){r&&k(e)}}}function Ln(t){let e,l;return{c(){e=_("option"),l=Y(t[64]),this.h()},l(n){e=p(n,"OPTION",{});var r=S(e);l=K(r,t[64]),r.forEach(k),this.h()},h(){e.__value=t[66],be(e,e.__value)},m(n,r){J(n,e,r),o(e,l)},p:ze,d(n){n&&k(e)}}}function Jt(t){let e,l,n=t[60]+1+"",r,s,a=t[63]+1+"",c,u,i,m,h=t[61].name+"",N,v,d,b,T,g=t[61].unit+"",C,D,O,z=t[61].init+"",F,U,w,E=t[61].min+"",M,P,X,R=t[61].max+"",y,V,x,Z=t[61].step+"",le,_e,ce;function pe(){return t[37](t[61])}function Ce(ne,q){return ne[61].pType===wt.eNumber?En:ne[61].pType===wt.eCheckbox?Dn:ne[61].pType===wt.eDropdown?On:Cn}let L=Ce(t),B=L(t);return{c(){e=_("tr"),l=_("td"),r=Y(n),s=Y("."),c=Y(a),u=j(),i=_("td"),m=_("button"),N=Y(h),v=j(),d=_("td"),B.c(),b=j(),T=_("td"),C=Y(g),D=j(),O=_("td"),F=Y(z),U=j(),w=_("td"),M=Y(E),P=j(),X=_("td"),y=Y(R),V=j(),x=_("td"),le=Y(Z),this.h()},l(ne){e=p(ne,"TR",{class:!0});var q=S(e);l=p(q,"TD",{class:!0});var fe=S(l);r=K(fe,n),s=K(fe,"."),c=K(fe,a),fe.forEach(k),u=I(q),i=p(q,"TD",{class:!0});var ee=S(i);m=p(ee,"BUTTON",{class:!0});var ke=S(m);N=K(ke,h),ke.forEach(k),ee.forEach(k),v=I(q),d=p(q,"TD",{class:!0});var Te=S(d);B.l(Te),Te.forEach(k),b=I(q),T=p(q,"TD",{class:!0});var ue=S(T);C=K(ue,g),ue.forEach(k),D=I(q),O=p(q,"TD",{class:!0});var Q=S(O);F=K(Q,z),Q.forEach(k),U=I(q),w=p(q,"TD",{class:!0});var oe=S(w);M=K(oe,E),oe.forEach(k),P=I(q),X=p(q,"TD",{class:!0});var $=S(X);y=K($,R),$.forEach(k),V=I(q),x=p(q,"TD",{class:!0});var A=S(x);le=K(A,Z),A.forEach(k),q.forEach(k),this.h()},h(){f(l,"class","svelte-1g5tt44"),f(m,"class","svelte-1g5tt44"),f(i,"class","svelte-1g5tt44"),f(d,"class","svelte-1g5tt44"),f(T,"class","svelte-1g5tt44"),f(O,"class","svelte-1g5tt44"),f(w,"class","svelte-1g5tt44"),f(X,"class","svelte-1g5tt44"),f(x,"class","svelte-1g5tt44"),f(e,"class","svelte-1g5tt44"),He(e,"changed",t[19][t[0].partName][t[61].name]!==t[61].init)},m(ne,q){J(ne,e,q),o(e,l),o(l,r),o(l,s),o(l,c),o(e,u),o(e,i),o(i,m),o(m,N),o(e,v),o(e,d),B.m(d,null),o(e,b),o(e,T),o(T,C),o(e,D),o(e,O),o(O,F),o(e,U),o(e,w),o(w,M),o(e,P),o(e,X),o(X,y),o(e,V),o(e,x),o(x,le),_e||(ce=G(m,"click",pe),_e=!0)},p(ne,q){t=ne,q[0]&32&&h!==(h=t[61].name+"")&&ge(N,h),L===(L=Ce(t))&&B?B.p(t,q):(B.d(1),B=L(t),B&&(B.c(),B.m(d,null))),q[0]&32&&g!==(g=t[61].unit+"")&&ge(C,g),q[0]&32&&z!==(z=t[61].init+"")&&ge(F,z),q[0]&32&&E!==(E=t[61].min+"")&&ge(M,E),q[0]&32&&R!==(R=t[61].max+"")&&ge(y,R),q[0]&32&&Z!==(Z=t[61].step+"")&&ge(le,Z),q[0]&524321&&He(e,"changed",t[19][t[0].partName][t[61].name]!==t[61].init)},d(ne){ne&&k(e),B.d(),_e=!1,ce()}}}function Qt(t){let e,l,n=t[60]+1+"",r,s,a,c=t[58].sectionName+"",u,i,m,h,N,v,d,b="",T,g,C,D,O;function z(){t[36].call(N,t[58])}let F=De(t[58].params),U=[];for(let w=0;w<F.length;w+=1)U[w]=Jt(qt(t,F,w));return{c(){e=_("tr"),l=_("td"),r=Y(n),s=j(),a=_("td"),u=Y(c),i=j(),m=_("td"),h=_("label"),N=_("input"),v=j(),d=_("span"),d.innerHTML=b,T=j(),g=_("tbody");for(let w=0;w<U.length;w+=1)U[w].c();C=j(),this.h()},l(w){e=p(w,"TR",{class:!0});var E=S(e);l=p(E,"TD",{class:!0});var M=S(l);r=K(M,n),M.forEach(k),s=I(E),a=p(E,"TD",{colspan:!0,class:!0});var P=S(a);u=K(P,c),P.forEach(k),i=I(E),m=p(E,"TD",{colspan:!0,class:!0});var X=S(m);h=p(X,"LABEL",{class:!0});var R=S(h);N=p(R,"INPUT",{type:!0,class:!0}),v=I(R),d=p(R,"SPAN",{class:!0,"data-svelte-h":!0}),ie(d)!=="svelte-1qufua2"&&(d.innerHTML=b),R.forEach(k),X.forEach(k),E.forEach(k),T=I(w),g=p(w,"TBODY",{class:!0});var y=S(g);for(let V=0;V<U.length;V+=1)U[V].l(y);C=I(y),y.forEach(k),this.h()},h(){f(l,"class","svelte-1g5tt44"),f(a,"colspan","4"),f(a,"class","svelte-1g5tt44"),f(N,"type","checkbox"),f(N,"class","svelte-1g5tt44"),f(d,"class","svelte-1g5tt44"),f(h,"class","svelte-1g5tt44"),f(m,"colspan","3"),f(m,"class","svelte-1g5tt44"),f(e,"class","separator svelte-1g5tt44"),f(g,"class","svelte-1g5tt44"),He(g,"collaps",t[18][t[58].sectionID])},m(w,E){J(w,e,E),o(e,l),o(l,r),o(e,s),o(e,a),o(a,u),o(e,i),o(e,m),o(m,h),o(h,N),N.checked=t[18][t[58].sectionID],o(h,v),o(h,d),J(w,T,E),J(w,g,E);for(let M=0;M<U.length;M+=1)U[M]&&U[M].m(g,null);o(g,C),D||(O=G(N,"change",z),D=!0)},p(w,E){if(t=w,E[0]&32&&c!==(c=t[58].sectionName+"")&&ge(u,c),E[0]&262176&&(N.checked=t[18][t[58].sectionID]),E[0]&271056929){F=De(t[58].params);let M;for(M=0;M<F.length;M+=1){const P=qt(t,F,M);U[M]?U[M].p(P,E):(U[M]=Jt(P),U[M].c(),U[M].m(g,C))}for(;M<U.length;M+=1)U[M].d(1);U.length=F.length}E[0]&262176&&He(g,"collaps",t[18][t[58].sectionID])},d(w){w&&(k(e),k(T),k(g)),Ke(U,w),D=!1,O()}}}function Sn(t){let e,l="Copy this URL and send it to your friends!",n,r,s;return{c(){e=_("p"),e.textContent=l,n=j(),r=_("p"),s=Y(t[15]),this.h()},l(a){e=p(a,"P",{"data-svelte-h":!0}),ie(e)!=="svelte-1kscrpk"&&(e.textContent=l),n=I(a),r=p(a,"P",{class:!0});var c=S(r);s=K(c,t[15]),c.forEach(k),this.h()},h(){f(r,"class","cUrl svelte-1g5tt44")},m(a,c){J(a,e,c),J(a,n,c),J(a,r,c),o(r,s)},p(a,c){c[0]&32768&&ge(s,a[15])},d(a){a&&(k(e),k(n),k(r))}}}function jn(t){let e,l,n;function r(a){t[45](a)}let s={pageName:t[0].partName};return t[14]!==void 0&&(s.storeName=t[14]),e=new dn({props:s}),Ie.push(()=>Ue(e,"storeName",r)),{c(){Ee(e.$$.fragment)},l(a){Le(e.$$.fragment,a)},m(a,c){Se(e,a,c),n=!0},p(a,c){const u={};c[0]&1&&(u.pageName=a[0].partName),!l&&c[0]&16384&&(l=!0,u.storeName=a[14],Ae(()=>l=!1)),e.$set(u)},i(a){n||(we(e.$$.fragment,a),n=!0)},o(a){Oe(e.$$.fragment,a),n=!1},d(a){je(e,a)}}}function In(t){let e,l,n="Parameters",r,s,a,c="Load Params from File",u,i,m,h,N="Set Params Default",v,d,b="Load Params from localStorage",T,g,C,D,O,z,F,U,w,E,M,P='<tr class="svelte-1g5tt44"><td class="svelte-1g5tt44">#</td> <td class="svelte-1g5tt44">Parameter name</td> <td class="svelte-1g5tt44">Value</td> <td class="svelte-1g5tt44">Unit</td> <td class="svelte-1g5tt44">Default</td> <td class="svelte-1g5tt44">Min</td> <td class="svelte-1g5tt44">Max</td> <td class="svelte-1g5tt44">Step</td></tr>',X,R,y,V,x="Comment:",Z,le,_e,ce,pe="Save Parameters to File",Ce,L,B="Save Parameters as URL",ne,q,fe="Save Parameters to localStorage",ee,ke,Te,ue,Q,oe,$,A,te,ae,de,ve,he,Be,xe,Je,pt,H,re,Ne,Re,We;function $e(W){t[33](W)}let rt={okName:"Overwrite Parameters",okFunc:t[24],$$slots:{default:[Tn]},$$scope:{ctx:t}};t[9]!==void 0&&(rt.modalOpen=t[9]),g=new gt({props:rt}),Ie.push(()=>Ue(g,"modalOpen",$e));function kt(W){t[35](W)}let it={okName:"Load Parameters",okFunc:t[25],$$slots:{default:[wn]},$$scope:{ctx:t}};t[10]!==void 0&&(it.modalOpen=t[10]),O=new gt({props:it}),Ie.push(()=>Ue(O,"modalOpen",kt));let et=De(t[5]),Pe=[];for(let W=0;W<et.length;W+=1)Pe[W]=Qt(Kt(t,et,W));function Lt(W){t[44](W)}let Xe={okName:"Done",okFunc:Pn,sizeLarge:!0,$$slots:{default:[Sn]},$$scope:{ctx:t}};t[11]!==void 0&&(Xe.modalOpen=t[11]),ke=new gt({props:Xe}),Ie.push(()=>Ue(ke,"modalOpen",Lt));function Nl(W){t[46](W)}let St={okName:"Save into localStorage",okFunc:t[26],$$slots:{default:[jn]},$$scope:{ctx:t}};t[12]!==void 0&&(St.modalOpen=t[12]),Q=new gt({props:St}),Ie.push(()=>Ue(Q,"modalOpen",Nl));function Tl(W){t[47](W)}let jt={svgPath:t[16]};return t[17]!==void 0&&(jt.modalOpen=t[17]),A=new gl({props:jt}),Ie.push(()=>Ue(A,"modalOpen",Tl)),Je=new Yt({props:{pageName:t[0].partName,fgeom:t[1],selFace:t[2],zAdjust:t[20],simTime:t[4]}}),re=new Yt({props:{pageName:t[0].partName,fgeom:t[1],selFace:t[2],zAdjust:t[3],simTime:t[4]}}),{c(){e=_("section"),l=_("h2"),l.textContent=n,r=j(),s=_("main"),a=_("label"),a.textContent=c,u=j(),i=_("input"),m=j(),h=_("button"),h.textContent=N,v=j(),d=_("button"),d.textContent=b,T=j(),Ee(g.$$.fragment),D=j(),Ee(O.$$.fragment),F=j(),U=_("textarea"),w=j(),E=_("table"),M=_("thead"),M.innerHTML=P,X=j();for(let W=0;W<Pe.length;W+=1)Pe[W].c();R=j(),y=_("div"),V=_("label"),V.textContent=x,Z=j(),le=_("input"),_e=j(),ce=_("button"),ce.textContent=pe,Ce=j(),L=_("button"),L.textContent=B,ne=j(),q=_("button"),q.textContent=fe,ee=j(),Ee(ke.$$.fragment),ue=j(),Ee(Q.$$.fragment),$=j(),Ee(A.$$.fragment),ae=j(),de=_("button"),ve=_("img"),Be=j(),xe=_("div"),Ee(Je.$$.fragment),pt=j(),H=_("div"),Ee(re.$$.fragment),this.h()},l(W){e=p(W,"SECTION",{class:!0});var se=S(e);l=p(se,"H2",{class:!0,"data-svelte-h":!0}),ie(l)!=="svelte-1mc497a"&&(l.textContent=n),r=I(se),s=p(se,"MAIN",{class:!0});var me=S(s);a=p(me,"LABEL",{for:!0,class:!0,"data-svelte-h":!0}),ie(a)!=="svelte-zt7rok"&&(a.textContent=c),u=I(me),i=p(me,"INPUT",{id:!0,type:!0,accept:!0,class:!0}),m=I(me),h=p(me,"BUTTON",{class:!0,"data-svelte-h":!0}),ie(h)!=="svelte-1typ5"&&(h.textContent=N),v=I(me),d=p(me,"BUTTON",{class:!0,"data-svelte-h":!0}),ie(d)!=="svelte-187bpo6"&&(d.textContent=b),T=I(me),Le(g.$$.fragment,me),D=I(me),Le(O.$$.fragment,me),F=I(me),U=p(me,"TEXTAREA",{rows:!0,cols:!0,wrap:!0,class:!0}),S(U).forEach(k),w=I(me),E=p(me,"TABLE",{class:!0});var tt=S(E);M=p(tt,"THEAD",{class:!0,"data-svelte-h":!0}),ie(M)!=="svelte-1szl7uo"&&(M.innerHTML=P),X=I(tt);for(let Qe=0;Qe<Pe.length;Qe+=1)Pe[Qe].l(tt);tt.forEach(k),R=I(me),y=p(me,"DIV",{class:!0});var lt=S(y);V=p(lt,"LABEL",{for:!0,"data-svelte-h":!0}),ie(V)!=="svelte-gqskth"&&(V.textContent=x),Z=I(lt),le=p(lt,"INPUT",{type:!0,id:!0,maxlength:!0,size:!0}),lt.forEach(k),_e=I(me),ce=p(me,"BUTTON",{class:!0,"data-svelte-h":!0}),ie(ce)!=="svelte-1ny58g0"&&(ce.textContent=pe),Ce=I(me),L=p(me,"BUTTON",{class:!0,"data-svelte-h":!0}),ie(L)!=="svelte-11or0m2"&&(L.textContent=B),ne=I(me),q=p(me,"BUTTON",{class:!0,"data-svelte-h":!0}),ie(q)!=="svelte-5zdtrl"&&(q.textContent=fe),ee=I(me),Le(ke.$$.fragment,me),ue=I(me),Le(Q.$$.fragment,me),me.forEach(k),$=I(se),Le(A.$$.fragment,se),ae=I(se),de=p(se,"BUTTON",{class:!0});var ut=S(de);ve=p(ut,"IMG",{src:!0,alt:!0,class:!0}),ut.forEach(k),Be=I(se),xe=p(se,"DIV",{class:!0});var mt=S(xe);Le(Je.$$.fragment,mt),mt.forEach(k),pt=I(se),H=p(se,"DIV",{class:!0});var nt=S(H);Le(re.$$.fragment,nt),nt.forEach(k),se.forEach(k),this.h()},h(){f(l,"class","svelte-1g5tt44"),f(a,"for","loadFParams"),f(a,"class","fileUpload svelte-1g5tt44"),f(i,"id","loadFParams"),f(i,"type","file"),f(i,"accept","text/plain, application/json"),f(i,"class","svelte-1g5tt44"),f(h,"class","svelte-1g5tt44"),f(d,"class","svelte-1g5tt44"),f(U,"rows","3"),f(U,"cols","80"),U.readOnly=!0,f(U,"wrap","off"),U.value=t[7],f(U,"class","svelte-1g5tt44"),He(U,"colorWarn",t[8]),f(M,"class","svelte-1g5tt44"),f(E,"class","svelte-1g5tt44"),f(V,"for","inComment"),f(le,"type","text"),f(le,"id","inComment"),f(le,"maxlength","150"),f(le,"size","70"),f(y,"class","comment svelte-1g5tt44"),f(ce,"class","svelte-1g5tt44"),f(L,"class","svelte-1g5tt44"),f(q,"class","svelte-1g5tt44"),f(s,"class","svelte-1g5tt44"),ht(ve.src,he=t[16])||f(ve,"src",he),f(ve,"alt",t[16]),f(ve,"class","svelte-1g5tt44"),f(de,"class","side-img svelte-1g5tt44"),f(xe,"class","mini-canvas svelte-1g5tt44"),f(H,"class","mini-canvas svelte-1g5tt44"),f(e,"class","svelte-1g5tt44")},m(W,se){J(W,e,se),o(e,l),o(e,r),o(e,s),o(s,a),o(s,u),o(s,i),o(s,m),o(s,h),o(s,v),o(s,d),o(s,T),Se(g,s,null),o(s,D),Se(O,s,null),o(s,F),o(s,U),o(s,w),o(s,E),o(E,M),o(E,X);for(let me=0;me<Pe.length;me+=1)Pe[me]&&Pe[me].m(E,null);o(s,R),o(s,y),o(y,V),o(y,Z),o(y,le),be(le,t[6]),o(s,_e),o(s,ce),o(s,Ce),o(s,L),o(s,ne),o(s,q),o(s,ee),Se(ke,s,null),o(s,ue),Se(Q,s,null),o(e,$),Se(A,e,null),o(e,ae),o(e,de),o(de,ve),o(e,Be),o(e,xe),Se(Je,xe,null),o(e,pt),o(e,H),Se(re,H,null),Ne=!0,Re||(We=[G(i,"change",t[22]),G(h,"click",t[31]),G(d,"click",t[32]),G(le,"input",t[42]),G(ce,"click",t[23]),G(L,"click",t[27]),G(q,"click",t[43]),G(de,"click",t[29])],Re=!0)},p(W,se){const me={};se[2]&64&&(me.$$scope={dirty:se,ctx:W}),!C&&se[0]&512&&(C=!0,me.modalOpen=W[9],Ae(()=>C=!1)),g.$set(me);const tt={};if(se[0]&8193|se[2]&64&&(tt.$$scope={dirty:se,ctx:W}),!z&&se[0]&1024&&(z=!0,tt.modalOpen=W[10],Ae(()=>z=!1)),O.$set(tt),(!Ne||se[0]&128)&&(U.value=W[7]),(!Ne||se[0]&256)&&He(U,"colorWarn",W[8]),se[0]&271319073){et=De(W[5]);let Ye;for(Ye=0;Ye<et.length;Ye+=1){const It=Kt(W,et,Ye);Pe[Ye]?Pe[Ye].p(It,se):(Pe[Ye]=Qt(It),Pe[Ye].c(),Pe[Ye].m(E,null))}for(;Ye<Pe.length;Ye+=1)Pe[Ye].d(1);Pe.length=et.length}se[0]&64&&le.value!==W[6]&&be(le,W[6]);const lt={};se[0]&32768|se[2]&64&&(lt.$$scope={dirty:se,ctx:W}),!Te&&se[0]&2048&&(Te=!0,lt.modalOpen=W[11],Ae(()=>Te=!1)),ke.$set(lt);const ut={};se[0]&16385|se[2]&64&&(ut.$$scope={dirty:se,ctx:W}),!oe&&se[0]&4096&&(oe=!0,ut.modalOpen=W[12],Ae(()=>oe=!1)),Q.$set(ut);const mt={};se[0]&65536&&(mt.svgPath=W[16]),!te&&se[0]&131072&&(te=!0,mt.modalOpen=W[17],Ae(()=>te=!1)),A.$set(mt),(!Ne||se[0]&65536&&!ht(ve.src,he=W[16]))&&f(ve,"src",he),(!Ne||se[0]&65536)&&f(ve,"alt",W[16]);const nt={};se[0]&1&&(nt.pageName=W[0].partName),se[0]&2&&(nt.fgeom=W[1]),se[0]&4&&(nt.selFace=W[2]),se[0]&16&&(nt.simTime=W[4]),Je.$set(nt);const Qe={};se[0]&1&&(Qe.pageName=W[0].partName),se[0]&2&&(Qe.fgeom=W[1]),se[0]&4&&(Qe.selFace=W[2]),se[0]&8&&(Qe.zAdjust=W[3]),se[0]&16&&(Qe.simTime=W[4]),re.$set(Qe)},i(W){Ne||(we(g.$$.fragment,W),we(O.$$.fragment,W),we(ke.$$.fragment,W),we(Q.$$.fragment,W),we(A.$$.fragment,W),we(Je.$$.fragment,W),we(re.$$.fragment,W),Ne=!0)},o(W){Oe(g.$$.fragment,W),Oe(O.$$.fragment,W),Oe(ke.$$.fragment,W),Oe(Q.$$.fragment,W),Oe(A.$$.fragment,W),Oe(Je.$$.fragment,W),Oe(re.$$.fragment,W),Ne=!1},d(W){W&&k(e),je(g),je(O),Ke(Pe,W),je(ke),je(Q),je(A),je(Je),je(re),Re=!1,qe(We)}}}function Pn(){}function An(t){const e={};for(const l of t)e[l.sectionID]=l.sectionVisible;return e}function Un(t,e,l){let n,r;at(t,Ze,H=>l(19,n=H)),at(t,ql,H=>l(48,r=H));const s=ml();let{pDef:a}=e,{fgeom:c}=e,{selFace:u}=e,{zAdjust:i}=e,{simTime:m=0}=e;const h=_l();let N="";function v(){s("paramChg",{foo:"bla"})}function d(H,re){let Ne="",Re=!1;H!==a.partName&&(Ne+=`warn361: read partName: '${H}' expected partName: '${a.partName}'
|
|
2
2
|
`,Re=!0);let We=0,$e=0,rt=0;const kt=[];for(const Xe of a.params)kt.push(Xe.name),Object.hasOwn(re,Xe.name)?(We+=1,n[a.partName][Xe.name]===re[Xe.name]?rt+=1:Il(Ze,n[a.partName][Xe.name]=re[Xe.name],n)):$e+=1;let it=0;for(const Xe of Object.keys(re))kt.includes(Xe)||(it+=1,Ne+=`warn363: parameter ${Xe} not in the scope of the design (${it})
|
|
3
3
|
`);const et=it>0;return Ne+=`Params loaded at ${new Date().toLocaleTimeString()} :`,Ne+=` def-nb: ${Object.keys(a.params).length}`,Ne+=`, cover-nb: ${We}, uncover-nb: ${$e}
|
|
4
4
|
`,Ne+=` load-nb: ${Object.keys(re).length}`,Ne+=`, equal-nb: ${rt}, changed-nb: ${We-rt}`,Ne+=`, out-of-scope: ${it}`,[Ne,Re||et]}let b="",T=!1;function g(){{const H=new URLSearchParams(r.url.search),re={};for(const[Ne,Re]of H){const We=Number(Re);isNaN(We)||(re[Ne]=We)}Object.keys(re).length>0&&l(7,[b,T]=d(a.partName,re),b,l(8,T))}}function C(){g(),v()}Et(()=>{C()});function D(H){try{const[re]=Fl(H);l(7,[b,T]=d(re.partName,re.pVal),b,l(8,T)),l(6,N=re.comment),v()}catch(re){let Ne=`err723: error by parsing parameter file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"
|
|
1
|
+
{"version":"1726422611317"}
|
|
@@ -7,32 +7,32 @@
|
|
|
7
7
|
|
|
8
8
|
<link href="/_app/immutable/assets/0.BNk8pMG6.css" rel="stylesheet">
|
|
9
9
|
<link href="/_app/immutable/assets/3.Bup7ghXO.css" rel="stylesheet">
|
|
10
|
-
<link rel="modulepreload" href="/_app/immutable/entry/start.
|
|
11
|
-
<link rel="modulepreload" href="/_app/immutable/chunks/entry.
|
|
10
|
+
<link rel="modulepreload" href="/_app/immutable/entry/start.-Sir-erq.js">
|
|
11
|
+
<link rel="modulepreload" href="/_app/immutable/chunks/entry.oPpVaRrB.js">
|
|
12
12
|
<link rel="modulepreload" href="/_app/immutable/chunks/scheduler.2BOoCPD3.js">
|
|
13
|
-
<link rel="modulepreload" href="/_app/immutable/chunks/paths.
|
|
14
|
-
<link rel="modulepreload" href="/_app/immutable/entry/app.
|
|
13
|
+
<link rel="modulepreload" href="/_app/immutable/chunks/paths.5abfQOAR.js">
|
|
14
|
+
<link rel="modulepreload" href="/_app/immutable/entry/app.CapF3jjb.js">
|
|
15
15
|
<link rel="modulepreload" href="/_app/immutable/chunks/index.RMmEH_Pi.js">
|
|
16
|
-
<link rel="modulepreload" href="/_app/immutable/nodes/0.
|
|
16
|
+
<link rel="modulepreload" href="/_app/immutable/nodes/0.B1yvqSEr.js">
|
|
17
17
|
<link rel="modulepreload" href="/_app/immutable/chunks/index.VmH-9d5B.js">
|
|
18
|
-
<link rel="modulepreload" href="/_app/immutable/nodes/3.
|
|
18
|
+
<link rel="modulepreload" href="/_app/immutable/nodes/3.CR7SAa95.js">
|
|
19
19
|
<link rel="modulepreload" href="/_app/immutable/chunks/makeList.OAfyhA_q.js">
|
|
20
|
-
<link rel="modulepreload" href="/_app/immutable/chunks/stores.
|
|
20
|
+
<link rel="modulepreload" href="/_app/immutable/chunks/stores.HcZef9In.js">
|
|
21
21
|
</head>
|
|
22
22
|
<body data-sveltekit-preload-data="hover">
|
|
23
23
|
<div style="display: contents"> <h1 class="svelte-im9xuh" data-svelte-h="svelte-1ow6r3d">Welcome to designix-ui</h1> <h6 class="svelte-im9xuh" data-svelte-h="svelte-7mn22s">Showcasing the usage of the <a href="https://svelte.dev/">svelte</a> library
|
|
24
|
-
<a href="https://www.npmjs.com/">geomui</a>.</h6> <nav class="svelte-im9xuh" data-svelte-h="svelte-ww4mf0"><a href="/" class="svelte-im9xuh">index: list of designs</a></nav> <main class="svelte-im9xuh"><h1 class="svelte-1aya6oa">Gearbar</h1> <article class="svelte-1aya6oa">[gear_bar]: Gear-system with a bar and a wheel</article> <section class="svelte-fxmnfh"> <button class="svelte-fxmnfh"><img src="/pgdsvg/voila_face.svg" alt="/pgdsvg/voila_face.svg" class="svelte-fxmnfh"> </button> </section> <section class="svelte-1g5tt44"><h2 class="svelte-1g5tt44" data-svelte-h="svelte-1mc497a">Parameters</h2> <main class="svelte-1g5tt44"><label for="loadFParams" class="fileUpload svelte-1g5tt44" data-svelte-h="svelte-zt7rok">Load Params from File</label> <input id="loadFParams" type="file" accept="text/plain, application/json" class="svelte-1g5tt44"> <button class="svelte-1g5tt44" data-svelte-h="svelte-1typ5">Set Params Default</button> <button class="svelte-1g5tt44" data-svelte-h="svelte-187bpo6">Load Params from localStorage</button> <textarea rows="3" cols="80" readonly wrap="off" class="svelte-1g5tt44"></textarea> <table class="svelte-1g5tt44"><thead class="svelte-1g5tt44" data-svelte-h="svelte-1szl7uo"><tr class="svelte-1g5tt44"><td class="svelte-1g5tt44">#</td> <td class="svelte-1g5tt44">Parameter name</td> <td class="svelte-1g5tt44">Value</td> <td class="svelte-1g5tt44">Unit</td> <td class="svelte-1g5tt44">Default</td> <td class="svelte-1g5tt44">Min</td> <td class="svelte-1g5tt44">Max</td> <td class="svelte-1g5tt44">Step</td></tr></thead> <tr class="separator svelte-1g5tt44"><td class="svelte-1g5tt44">1</td> <td colspan="4" class="svelte-1g5tt44">main</td> <td colspan="3" class="svelte-1g5tt44"><label class="svelte-1g5tt44"><input type="checkbox" class="svelte-1g5tt44"> <span class="svelte-1g5tt44" data-svelte-h="svelte-1qufua2"></span></label> </td></tr> <tbody class="svelte-1g5tt44"><tr class="svelte-1g5tt44"><td class="svelte-1g5tt44">1.1</td> <td class="svelte-1g5tt44"><button class="svelte-1g5tt44">H1</button></td> <td class="svelte-1g5tt44"><input type="number" min="1" max="4000" step="1" class="input-number svelte-1g5tt44" value="40"> <input type="range" min="1" max="4000" step="1" class="svelte-1g5tt44" value="40"></td> <td class="svelte-1g5tt44">mm</td> <td class="svelte-1g5tt44">40</td> <td class="svelte-1g5tt44">1</td> <td class="svelte-1g5tt44">4000</td> <td class="svelte-1g5tt44">1</td> </tr><tr class="svelte-1g5tt44"><td class="svelte-1g5tt44">1.2</td> <td class="svelte-1g5tt44"><button class="svelte-1g5tt44">H2</button></td> <td class="svelte-1g5tt44"><input type="number" min="1" max="4000" step="1" class="input-number svelte-1g5tt44" value="50"> <input type="range" min="1" max="4000" step="1" class="svelte-1g5tt44" value="50"></td> <td class="svelte-1g5tt44">mm</td> <td class="svelte-1g5tt44">50</td> <td class="svelte-1g5tt44">1</td> <td class="svelte-1g5tt44">4000</td> <td class="svelte-1g5tt44">1</td> </tr><tr class="svelte-1g5tt44"><td class="svelte-1g5tt44">1.3</td> <td class="svelte-1g5tt44"><button class="svelte-1g5tt44">radius</button></td> <td class="svelte-1g5tt44"><input type="number" min="1" max="4000" step="1" class="input-number svelte-1g5tt44" value="10"> <input type="range" min="1" max="4000" step="1" class="svelte-1g5tt44" value="10"></td> <td class="svelte-1g5tt44">mm</td> <td class="svelte-1g5tt44">10</td> <td class="svelte-1g5tt44">1</td> <td class="svelte-1g5tt44">4000</td> <td class="svelte-1g5tt44">1</td> </tr> </tbody><tr class="separator svelte-1g5tt44"><td class="svelte-1g5tt44">2</td> <td colspan="4" class="svelte-1g5tt44">corners</td> <td colspan="3" class="svelte-1g5tt44"><label class="svelte-1g5tt44"><input type="checkbox" class="svelte-1g5tt44" checked> <span class="svelte-1g5tt44" data-svelte-h="svelte-1qufua2"></span></label> </td></tr> <tbody class="svelte-1g5tt44 collaps"><tr class="svelte-1g5tt44"><td class="svelte-1g5tt44">2.1</td> <td class="svelte-1g5tt44"><button class="svelte-1g5tt44">Rc</button></td> <td class="svelte-1g5tt44"><input type="number" min="0" max="400" step="1" class="input-number svelte-1g5tt44" value="10"> <input type="range" min="0" max="400" step="1" class="svelte-1g5tt44" value="10"></td> <td class="svelte-1g5tt44">mm</td> <td class="svelte-1g5tt44">10</td> <td class="svelte-1g5tt44">0</td> <td class="svelte-1g5tt44">400</td> <td class="svelte-1g5tt44">1</td> </tr> </tbody></table> <div class="comment svelte-1g5tt44"><label for="inComment" data-svelte-h="svelte-gqskth">Comment:</label> <input type="text" id="inComment" maxlength="150" size="70" value=""></div> <button class="svelte-1g5tt44" data-svelte-h="svelte-1ny58g0">Save Parameters to File</button> <button class="svelte-1g5tt44" data-svelte-h="svelte-11or0m2">Save Parameters as URL</button> <button class="svelte-1g5tt44" data-svelte-h="svelte-5zdtrl">Save Parameters to localStorage</button> </main> <button class="side-img svelte-1g5tt44"><img src="/pgdsvg/voila_face.svg" alt="/pgdsvg/voila_face.svg" class="svelte-1g5tt44"></button> <div class="mini-canvas svelte-1g5tt44"><canvas class="mini svelte-z8e4tz" width="200" height="200"></canvas></div> <div class="mini-canvas svelte-1g5tt44"><canvas class="mini svelte-z8e4tz" width="200" height="200"></canvas></div> </section> <section class="svelte-19nn0vk"><h2 class="svelte-19nn0vk" data-svelte-h="svelte-4ty0ys">Log</h2> <textarea rows="5" cols="94" readonly wrap="off" class="svelte-19nn0vk">Geometry gear_bar computed at
|
|
24
|
+
<a href="https://www.npmjs.com/">geomui</a>.</h6> <nav class="svelte-im9xuh" data-svelte-h="svelte-ww4mf0"><a href="/" class="svelte-im9xuh">index: list of designs</a></nav> <main class="svelte-im9xuh"><h1 class="svelte-1aya6oa">Gearbar</h1> <article class="svelte-1aya6oa">[gear_bar]: Gear-system with a bar and a wheel</article> <section class="svelte-fxmnfh"> <button class="svelte-fxmnfh"><img src="/pgdsvg/voila_face.svg" alt="/pgdsvg/voila_face.svg" class="svelte-fxmnfh"> </button> </section> <section class="svelte-1g5tt44"><h2 class="svelte-1g5tt44" data-svelte-h="svelte-1mc497a">Parameters</h2> <main class="svelte-1g5tt44"><label for="loadFParams" class="fileUpload svelte-1g5tt44" data-svelte-h="svelte-zt7rok">Load Params from File</label> <input id="loadFParams" type="file" accept="text/plain, application/json" class="svelte-1g5tt44"> <button class="svelte-1g5tt44" data-svelte-h="svelte-1typ5">Set Params Default</button> <button class="svelte-1g5tt44" data-svelte-h="svelte-187bpo6">Load Params from localStorage</button> <textarea rows="3" cols="80" readonly wrap="off" class="svelte-1g5tt44"></textarea> <table class="svelte-1g5tt44"><thead class="svelte-1g5tt44" data-svelte-h="svelte-1szl7uo"><tr class="svelte-1g5tt44"><td class="svelte-1g5tt44">#</td> <td class="svelte-1g5tt44">Parameter name</td> <td class="svelte-1g5tt44">Value</td> <td class="svelte-1g5tt44">Unit</td> <td class="svelte-1g5tt44">Default</td> <td class="svelte-1g5tt44">Min</td> <td class="svelte-1g5tt44">Max</td> <td class="svelte-1g5tt44">Step</td></tr></thead> <tr class="separator svelte-1g5tt44"><td class="svelte-1g5tt44">1</td> <td colspan="4" class="svelte-1g5tt44">main</td> <td colspan="3" class="svelte-1g5tt44"><label class="svelte-1g5tt44"><input type="checkbox" class="svelte-1g5tt44"> <span class="svelte-1g5tt44" data-svelte-h="svelte-1qufua2"></span></label> </td></tr> <tbody class="svelte-1g5tt44"><tr class="svelte-1g5tt44"><td class="svelte-1g5tt44">1.1</td> <td class="svelte-1g5tt44"><button class="svelte-1g5tt44">H1</button></td> <td class="svelte-1g5tt44"><input type="number" min="1" max="4000" step="1" class="input-number svelte-1g5tt44" value="40"> <input type="range" min="1" max="4000" step="1" class="svelte-1g5tt44" value="40"></td> <td class="svelte-1g5tt44">mm</td> <td class="svelte-1g5tt44">40</td> <td class="svelte-1g5tt44">1</td> <td class="svelte-1g5tt44">4000</td> <td class="svelte-1g5tt44">1</td> </tr><tr class="svelte-1g5tt44"><td class="svelte-1g5tt44">1.2</td> <td class="svelte-1g5tt44"><button class="svelte-1g5tt44">H2</button></td> <td class="svelte-1g5tt44"><input type="number" min="1" max="4000" step="1" class="input-number svelte-1g5tt44" value="50"> <input type="range" min="1" max="4000" step="1" class="svelte-1g5tt44" value="50"></td> <td class="svelte-1g5tt44">mm</td> <td class="svelte-1g5tt44">50</td> <td class="svelte-1g5tt44">1</td> <td class="svelte-1g5tt44">4000</td> <td class="svelte-1g5tt44">1</td> </tr><tr class="svelte-1g5tt44"><td class="svelte-1g5tt44">1.3</td> <td class="svelte-1g5tt44"><button class="svelte-1g5tt44">radius</button></td> <td class="svelte-1g5tt44"><input type="number" min="1" max="4000" step="1" class="input-number svelte-1g5tt44" value="10"> <input type="range" min="1" max="4000" step="1" class="svelte-1g5tt44" value="10"></td> <td class="svelte-1g5tt44">mm</td> <td class="svelte-1g5tt44">10</td> <td class="svelte-1g5tt44">1</td> <td class="svelte-1g5tt44">4000</td> <td class="svelte-1g5tt44">1</td> </tr> </tbody><tr class="separator svelte-1g5tt44"><td class="svelte-1g5tt44">2</td> <td colspan="4" class="svelte-1g5tt44">corners</td> <td colspan="3" class="svelte-1g5tt44"><label class="svelte-1g5tt44"><input type="checkbox" class="svelte-1g5tt44" checked> <span class="svelte-1g5tt44" data-svelte-h="svelte-1qufua2"></span></label> </td></tr> <tbody class="svelte-1g5tt44 collaps"><tr class="svelte-1g5tt44"><td class="svelte-1g5tt44">2.1</td> <td class="svelte-1g5tt44"><button class="svelte-1g5tt44">Rc</button></td> <td class="svelte-1g5tt44"><input type="number" min="0" max="400" step="1" class="input-number svelte-1g5tt44" value="10"> <input type="range" min="0" max="400" step="1" class="svelte-1g5tt44" value="10"></td> <td class="svelte-1g5tt44">mm</td> <td class="svelte-1g5tt44">10</td> <td class="svelte-1g5tt44">0</td> <td class="svelte-1g5tt44">400</td> <td class="svelte-1g5tt44">1</td> </tr> </tbody></table> <div class="comment svelte-1g5tt44"><label for="inComment" data-svelte-h="svelte-gqskth">Comment:</label> <input type="text" id="inComment" maxlength="150" size="70" value=""></div> <button class="svelte-1g5tt44" data-svelte-h="svelte-1ny58g0">Save Parameters to File</button> <button class="svelte-1g5tt44" data-svelte-h="svelte-11or0m2">Save Parameters as URL</button> <button class="svelte-1g5tt44" data-svelte-h="svelte-5zdtrl">Save Parameters to localStorage</button> </main> <button class="side-img svelte-1g5tt44"><img src="/pgdsvg/voila_face.svg" alt="/pgdsvg/voila_face.svg" class="svelte-1g5tt44"></button> <div class="mini-canvas svelte-1g5tt44"><canvas class="mini svelte-z8e4tz" width="200" height="200"></canvas></div> <div class="mini-canvas svelte-1g5tt44"><canvas class="mini svelte-z8e4tz" width="200" height="200"></canvas></div> </section> <section class="svelte-19nn0vk"><h2 class="svelte-19nn0vk" data-svelte-h="svelte-4ty0ys">Log</h2> <textarea rows="5" cols="94" readonly wrap="off" class="svelte-19nn0vk">Geometry gear_bar computed at 5:50:16 PM
|
|
25
25
|
gear_bar simTime: 0
|
|
26
26
|
gear_bar drawn successfully!
|
|
27
27
|
</textarea></section> <section class="svelte-s85el8"><h2 class="svelte-s85el8">Drawing
|
|
28
28
|
<select class="svelte-s85el8"><option value="faceVoila">faceVoila</option><option value="ParametrixAll">All faces merged</option></select></h2> <div class="svelte-1rsbkj"><label class="svelte-1rsbkj"><input type="checkbox" class="svelte-1rsbkj" checked>main part</label> <label class="svelte-1rsbkj"><input type="checkbox" class="svelte-1rsbkj">main skeleton</label> <label class="svelte-1rsbkj"><input type="checkbox" class="svelte-1rsbkj" checked>second parts</label> <label class="svelte-1rsbkj"><input type="checkbox" class="svelte-1rsbkj">second skeletons</label> <label class="svelte-1rsbkj"><input type="checkbox" class="svelte-1rsbkj">dynamics</label> <label class="svelte-1rsbkj"><input type="checkbox" class="svelte-1rsbkj" checked>ruler</label> <label class="svelte-1rsbkj"><input type="checkbox" class="svelte-1rsbkj">frame of reference</label> <label class="svelte-1rsbkj"><input type="checkbox" class="svelte-1rsbkj">points</label> <label class="svelte-1rsbkj"><input type="checkbox" class="svelte-1rsbkj">lines</label> <label class="svelte-1rsbkj"><input type="checkbox" class="svelte-1rsbkj">vectors</label> </div> <div class="rack svelte-s85el8"><canvas class="full svelte-s85el8" width="400" height="400"></canvas> <nav class="svelte-uw6ahn"><button class="svelte-uw6ahn" data-svelte-h="svelte-sw7vi1">0</button> <button class="svelte-uw6ahn" data-svelte-h="svelte-gbiqvp"><-</button> <button class="svelte-uw6ahn" data-svelte-h="svelte-10nqggx">|<</button> <button class="svelte-uw6ahn" data-svelte-h="svelte-1xmh6xn">||</button> <button class="svelte-uw6ahn" data-svelte-h="svelte-1wuqlom">>|</button> <button class="svelte-uw6ahn" data-svelte-h="svelte-1vey426">-></button> <input type="range" min="0" max="180" step="0.5" class="svelte-uw6ahn" value="0"> <input type="number" min="0" max="180" step="0.5" class="svelte-uw6ahn" value="0"> </nav></div> <div class="rack svelte-s85el8"><canvas class="zoom svelte-s85el8" width="400" height="400"></canvas> <nav class="svelte-c549k7"><button class="svelte-c549k7" data-svelte-h="svelte-nkdg6y"><div class="zero svelte-c549k7"></div></button> <button class="svelte-c549k7" data-svelte-h="svelte-nbpwn1"><div class="zoomin svelte-c549k7"></div></button> <button class="svelte-c549k7" data-svelte-h="svelte-toyuqt"><div class="zoomout svelte-c549k7"></div></button> <button class="svelte-c549k7" data-svelte-h="svelte-vbdqb3"><div class="arrowleft svelte-c549k7"></div></button> <button class="svelte-c549k7" data-svelte-h="svelte-a55vyt"><div class="arrowright svelte-c549k7"></div></button> <button class="svelte-c549k7" data-svelte-h="svelte-ky9277"><div class="arrowup svelte-c549k7"></div></button> <button class="svelte-c549k7" data-svelte-h="svelte-1obyap9"><div class="arrowdown svelte-c549k7"></div></button> </nav></div> </section> <section class="svelte-19nn0vk"><h2 class="svelte-19nn0vk" data-svelte-h="svelte-1kkpb88">Export</h2> <select class="svelte-19nn0vk"><option value="svg_faceVoila">face faceVoila as svg</option><option value="allsvg" data-svelte-h="svelte-22of2y">all faces merged as svg</option><option value="dxf_faceVoila">face faceVoila as dxf</option><option value="alldxf" data-svelte-h="svelte-1utjrni">all faces merged as dxf</option><option value="compute_log" data-svelte-h="svelte-1tyn6jo">compute.log as log-file</option><option value="pax" data-svelte-h="svelte-3g91m5">all faces as pax.json</option><option value="oscad" data-svelte-h="svelte-1tpsyal">all faces as openscad.scad</option><option value="ojscad" data-svelte-h="svelte-1n2n9j5">all faces as OpenJScad.js</option><option value="freecad" data-svelte-h="svelte-16hjo1m">all faces as Freecad.py</option><option value="zip" data-svelte-h="svelte-168w9vd">all faces and more as zip</option></select> <button class="svelte-19nn0vk" data-svelte-h="svelte-kuqug6">Save to File</button> <section class="svelte-lzdpo0"><h2 class="svelte-lzdpo0">Sub-designs
|
|
29
29
|
<span class="svelte-lzdpo0">(Number of sub-instances: 0)</span></h2> <ol class="svelte-lzdpo0"></ol> </section> </section></main> <footer class="svelte-im9xuh"><article data-svelte-h="svelte-1pwhz7h"><a href="https://github.com/charlyoleg2/parametrix">designix-ui</a>, a minimalist showcase
|
|
30
30
|
of
|
|
31
|
-
<a href="https://www.npmjs.com/">geomui</a>.</article> <article><h3 data-svelte-h="svelte-18yz28i">Designix-ui version</h3> <code>version details:<br>designix-ui : 0.5.5<br>dependencies:<br>1 : designix : ^0.5.
|
|
31
|
+
<a href="https://www.npmjs.com/">geomui</a>.</article> <article><h3 data-svelte-h="svelte-18yz28i">Designix-ui version</h3> <code>version details:<br>designix-ui : 0.5.5<br>dependencies:<br>1 : designix : ^0.5.49<br>2 : geometrix : ^0.5.48<br>3 : geomui : ^0.5.50<br></code></article> </footer>
|
|
32
32
|
|
|
33
33
|
<script>
|
|
34
34
|
{
|
|
35
|
-
|
|
35
|
+
__sveltekit_1ku8zzk = {
|
|
36
36
|
base: ""
|
|
37
37
|
};
|
|
38
38
|
|
|
@@ -41,8 +41,8 @@ gear_bar drawn successfully!
|
|
|
41
41
|
const data = [null,null];
|
|
42
42
|
|
|
43
43
|
Promise.all([
|
|
44
|
-
import("/_app/immutable/entry/start.
|
|
45
|
-
import("/_app/immutable/entry/app.
|
|
44
|
+
import("/_app/immutable/entry/start.-Sir-erq.js"),
|
|
45
|
+
import("/_app/immutable/entry/app.CapF3jjb.js")
|
|
46
46
|
]).then(([kit, app]) => {
|
|
47
47
|
kit.start(app, element, {
|
|
48
48
|
node_ids: [0, 3],
|