designix-uis 0.5.39 → 0.5.41
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 +7 -7
- package/dist/public/_app/immutable/chunks/{makeList.DnI2f1Yv.js → 3KMmcniM.js} +1 -1
- package/dist/public/_app/immutable/chunks/6zLRVRT9.js +1 -0
- package/dist/public/_app/immutable/chunks/B6cXXlIB.js +3 -0
- package/dist/public/_app/immutable/chunks/BGDGtrfQ.js +1 -0
- package/dist/public/_app/immutable/chunks/BGe1NobS.js +1 -0
- package/dist/public/_app/immutable/chunks/BWo6ipe6.js +1 -0
- package/dist/public/_app/immutable/chunks/BsuezFLB.js +216 -0
- package/dist/public/_app/immutable/chunks/Bvx3yFzP.js +1 -0
- package/dist/public/_app/immutable/chunks/CD5k8j7s.js +1 -0
- package/dist/public/_app/immutable/chunks/V239f71F.js +1 -0
- package/dist/public/_app/immutable/chunks/xh_wmC9C.js +1 -0
- package/dist/public/_app/immutable/entry/app.DBTU_iS4.js +2 -0
- package/dist/public/_app/immutable/entry/start.BQQKiKIr.js +1 -0
- package/dist/public/_app/immutable/nodes/0.kz1bJhtd.js +2 -0
- package/dist/public/_app/immutable/nodes/1.CVGBSdoz.js +1 -0
- package/dist/public/_app/immutable/nodes/2.y3SbG7e6.js +1 -0
- package/dist/public/_app/immutable/nodes/3.BknMTOmK.js +7 -0
- package/dist/public/_app/version.json +1 -1
- package/dist/public/gear/gear_bar.html +20 -20
- package/dist/public/gear/gear_epicycloid.html +20 -20
- package/dist/public/gear/gear_ring.html +20 -20
- package/dist/public/gear/gear_wheel.html +20 -20
- package/dist/public/heliostat/base.html +20 -20
- package/dist/public/heliostat/haxis_guidance.html +20 -20
- package/dist/public/heliostat/heliostat.html +20 -20
- package/dist/public/heliostat/heliostat_2.html +20 -20
- package/dist/public/heliostat/pole_static.html +20 -20
- package/dist/public/heliostat/rake.html +20 -20
- package/dist/public/heliostat/rake_stopper.html +20 -20
- package/dist/public/heliostat/ring.html +20 -20
- package/dist/public/heliostat/ring_guidance.html +20 -20
- package/dist/public/heliostat/rod.html +20 -20
- package/dist/public/heliostat/spider.html +20 -20
- package/dist/public/heliostat/surface.html +20 -20
- package/dist/public/heliostat/swing.html +20 -20
- package/dist/public/heliostat/trapeze.html +20 -20
- package/dist/public/heliostat/vaxis.html +20 -20
- package/dist/public/heliostat/vaxis_guidance.html +20 -20
- package/dist/public/heliostat/vaxis_holder.html +20 -20
- package/dist/public/index.html +19 -19
- package/package.json +7 -7
- package/dist/public/_app/immutable/chunks/disclose-version.B40L5EHc.js +0 -1
- package/dist/public/_app/immutable/chunks/entry.Dsc78gA5.js +0 -3
- package/dist/public/_app/immutable/chunks/index-client.Bqub2jqq.js +0 -1
- package/dist/public/_app/immutable/chunks/index.DV_YxM3n.js +0 -216
- package/dist/public/_app/immutable/chunks/legacy.BtedhEFq.js +0 -1
- package/dist/public/_app/immutable/chunks/lifecycle.Dz2yWc53.js +0 -1
- package/dist/public/_app/immutable/chunks/paths.DWJtGEyK.js +0 -1
- package/dist/public/_app/immutable/chunks/props.BPktznOi.js +0 -1
- package/dist/public/_app/immutable/chunks/runtime.B89ySwNM.js +0 -1
- package/dist/public/_app/immutable/chunks/snippet.CGZ0Y-Dd.js +0 -1
- package/dist/public/_app/immutable/entry/app.CPP4Hq1K.js +0 -2
- package/dist/public/_app/immutable/entry/start.BdbjU4Wa.js +0 -1
- package/dist/public/_app/immutable/nodes/0.DyC76LB3.js +0 -2
- package/dist/public/_app/immutable/nodes/1.DGOp1Qar.js +0 -1
- package/dist/public/_app/immutable/nodes/2.ChUYL9xf.js +0 -1
- package/dist/public/_app/immutable/nodes/3.DM1ZdsN6.js +0 -7
|
@@ -7,24 +7,24 @@
|
|
|
7
7
|
|
|
8
8
|
<link href="/_app/immutable/assets/0.D3ep0F2Z.css" rel="stylesheet">
|
|
9
9
|
<link href="/_app/immutable/assets/3.CSM_vx3m.css" rel="stylesheet">
|
|
10
|
-
<link rel="modulepreload" href="/_app/immutable/entry/start.
|
|
11
|
-
<link rel="modulepreload" href="/_app/immutable/chunks/
|
|
12
|
-
<link rel="modulepreload" href="/_app/immutable/chunks/
|
|
13
|
-
<link rel="modulepreload" href="/_app/immutable/chunks/
|
|
14
|
-
<link rel="modulepreload" href="/_app/immutable/chunks/
|
|
15
|
-
<link rel="modulepreload" href="/_app/immutable/entry/app.
|
|
16
|
-
<link rel="modulepreload" href="/_app/immutable/chunks/
|
|
17
|
-
<link rel="modulepreload" href="/_app/immutable/chunks/
|
|
18
|
-
<link rel="modulepreload" href="/_app/immutable/nodes/0.
|
|
19
|
-
<link rel="modulepreload" href="/_app/immutable/chunks/
|
|
20
|
-
<link rel="modulepreload" href="/_app/immutable/chunks/
|
|
21
|
-
<link rel="modulepreload" href="/_app/immutable/nodes/3.
|
|
22
|
-
<link rel="modulepreload" href="/_app/immutable/chunks/
|
|
23
|
-
<link rel="modulepreload" href="/_app/immutable/chunks/
|
|
24
|
-
<link rel="modulepreload" href="/_app/immutable/chunks/
|
|
10
|
+
<link rel="modulepreload" href="/_app/immutable/entry/start.BQQKiKIr.js">
|
|
11
|
+
<link rel="modulepreload" href="/_app/immutable/chunks/B6cXXlIB.js">
|
|
12
|
+
<link rel="modulepreload" href="/_app/immutable/chunks/BWo6ipe6.js">
|
|
13
|
+
<link rel="modulepreload" href="/_app/immutable/chunks/6zLRVRT9.js">
|
|
14
|
+
<link rel="modulepreload" href="/_app/immutable/chunks/CD5k8j7s.js">
|
|
15
|
+
<link rel="modulepreload" href="/_app/immutable/entry/app.DBTU_iS4.js">
|
|
16
|
+
<link rel="modulepreload" href="/_app/immutable/chunks/V239f71F.js">
|
|
17
|
+
<link rel="modulepreload" href="/_app/immutable/chunks/Bvx3yFzP.js">
|
|
18
|
+
<link rel="modulepreload" href="/_app/immutable/nodes/0.kz1bJhtd.js">
|
|
19
|
+
<link rel="modulepreload" href="/_app/immutable/chunks/BsuezFLB.js">
|
|
20
|
+
<link rel="modulepreload" href="/_app/immutable/chunks/BGDGtrfQ.js">
|
|
21
|
+
<link rel="modulepreload" href="/_app/immutable/nodes/3.BknMTOmK.js">
|
|
22
|
+
<link rel="modulepreload" href="/_app/immutable/chunks/3KMmcniM.js">
|
|
23
|
+
<link rel="modulepreload" href="/_app/immutable/chunks/xh_wmC9C.js">
|
|
24
|
+
<link rel="modulepreload" href="/_app/immutable/chunks/BGe1NobS.js">
|
|
25
25
|
</head>
|
|
26
26
|
<body data-sveltekit-preload-data="hover">
|
|
27
|
-
<div style="display: contents"><!--[--><!--[--><!----><h1 class="svelte-im9xuh">Welcome to designix-ui</h1> <h6 class="svelte-im9xuh">Showcasing the usage of the <a href="https://svelte.dev/">svelte</a> library <a href="https://www.npmjs.com/">geomui</a>.</h6> <nav class="svelte-im9xuh"><a href="/" class="svelte-im9xuh">index: list of designs</a></nav> <main class="svelte-im9xuh"><!----><h1 class="svelte-1aya6oa">Heliostat vaxis_holder</h1> <article class="svelte-1aya6oa">[vaxis_holder]: The holders of the guidance mechanism for azimuth motion</article> <section class="svelte-fxmnfh"><!--[!--><!--]--><!----> <!--[--><button class="svelte-fxmnfh"><img src="/pgdsvg/vaxis_holder_top.svg" alt="/pgdsvg/vaxis_holder_top.svg" class="svelte-fxmnfh"></button><button class="svelte-fxmnfh"><img src="/pgdsvg/vaxis_holder_section.svg" alt="/pgdsvg/vaxis_holder_section.svg" class="svelte-fxmnfh"></button><!--]--></section><!----> <section class="svelte-jonk14"><h2 class="svelte-jonk14">Parameters</h2> <main class="svelte-jonk14"><label for="loadFParams" class="fileUpload svelte-jonk14">Load Params from File</label> <input id="loadFParams" type="file" accept="text/plain, application/json" class="svelte-jonk14"> <button class="svelte-jonk14">Set Params Default</button> <button class="svelte-jonk14">Load Params from localStorage</button> <!--[!--><!--]--><!----> <!--[!--><!--]--><!----> <textarea rows="3" cols="80" readonly wrap="soft" class="svelte-jonk14 "></textarea> <table class="svelte-jonk14"><thead class="svelte-jonk14"><tr class="svelte-jonk14"><td class="svelte-jonk14">#</td><td class="svelte-jonk14">Parameter name</td><td class="svelte-jonk14">Value<span class="svelte-jonk14"><button class="svelte-jonk14">−</button><button class="svelte-jonk14">+</button></span></td><td class="svelte-jonk14 ">Unit</td><td class="svelte-jonk14 ">Default</td><td class="svelte-jonk14">Min</td><td class="svelte-jonk14">Max</td><td class="svelte-jonk14 ">Step</td></tr></thead><!--[--><tbody class="svelte-jonk14"><tr class="separator svelte-jonk14"><td class="svelte-jonk14">1</td><td colspan="4" class="svelte-jonk14">main</td><td colspan="3" class="svelte-jonk14"><label class="svelte-jonk14"><input type="checkbox" class="svelte-jonk14"> <span class="svelte-jonk14"></span></label></td></tr></tbody> <tbody class="svelte-jonk14 "><!--[--><tr class="svelte-jonk14 "><td class="svelte-jonk14">1.1</td><td class="svelte-jonk14"><button class="svelte-jonk14">PHD1</button></td><td class="svelte-jonk14"><!--[--><input type="number" value="700" min="1" max="2000" step="1" class="input-number svelte-jonk14"> <input type="range" value="700" min="1" max="2000" step="1" class="svelte-jonk14"><!--]--></td><td class="svelte-jonk14 ">mm</td><td class="svelte-jonk14 ">700</td><td class="svelte-jonk14">1</td><td class="svelte-jonk14">2000</td><td class="svelte-jonk14 ">1</td></tr><tr class="svelte-jonk14 "><td class="svelte-jonk14">1.2</td><td class="svelte-jonk14"><button class="svelte-jonk14">PHD2</button></td><td class="svelte-jonk14"><!--[--><input type="number" value="900" min="1" max="4000" step="1" class="input-number svelte-jonk14"> <input type="range" value="900" min="1" max="4000" step="1" class="svelte-jonk14"><!--]--></td><td class="svelte-jonk14 ">mm</td><td class="svelte-jonk14 ">900</td><td class="svelte-jonk14">1</td><td class="svelte-jonk14">4000</td><td class="svelte-jonk14 ">1</td></tr><tr class="svelte-jonk14 "><td class="svelte-jonk14">1.3</td><td class="svelte-jonk14"><button class="svelte-jonk14">PHD5</button></td><td class="svelte-jonk14"><!--[--><input type="number" value="800" min="1" max="4000" step="1" class="input-number svelte-jonk14"> <input type="range" value="800" min="1" max="4000" step="1" class="svelte-jonk14"><!--]--></td><td class="svelte-jonk14 ">mm</td><td class="svelte-jonk14 ">800</td><td class="svelte-jonk14">1</td><td class="svelte-jonk14">4000</td><td class="svelte-jonk14 ">1</td></tr><tr class="svelte-jonk14 "><td class="svelte-jonk14">1.4</td><td class="svelte-jonk14"><button class="svelte-jonk14">PHN1</button></td><td class="svelte-jonk14"><!--[--><input type="number" value="6" min="1" max="24" step="1" class="input-number svelte-jonk14"> <input type="range" value="6" min="1" max="24" step="1" class="svelte-jonk14"><!--]--></td><td class="svelte-jonk14 ">holes</td><td class="svelte-jonk14 ">6</td><td class="svelte-jonk14">1</td><td class="svelte-jonk14">24</td><td class="svelte-jonk14 ">1</td></tr><!--]--></tbody><tbody class="svelte-jonk14"><tr class="separator svelte-jonk14"><td class="svelte-jonk14">2</td><td colspan="4" class="svelte-jonk14">screw holes</td><td colspan="3" class="svelte-jonk14"><label class="svelte-jonk14"><input type="checkbox" checked class="svelte-jonk14"> <span class="svelte-jonk14"></span></label></td></tr></tbody> <tbody class="svelte-jonk14 collaps"><!--[--><tr class="svelte-jonk14 "><td class="svelte-jonk14">2.1</td><td class="svelte-jonk14"><button class="svelte-jonk14">PHD3</button></td><td class="svelte-jonk14"><!--[--><input type="number" value="40" min="1" max="100" step="1" class="input-number svelte-jonk14"> <input type="range" value="40" min="1" max="100" step="1" class="svelte-jonk14"><!--]--></td><td class="svelte-jonk14 ">mm</td><td class="svelte-jonk14 ">40</td><td class="svelte-jonk14">1</td><td class="svelte-jonk14">100</td><td class="svelte-jonk14 ">1</td></tr><tr class="svelte-jonk14 "><td class="svelte-jonk14">2.2</td><td class="svelte-jonk14"><button class="svelte-jonk14">PHR4</button></td><td class="svelte-jonk14"><!--[--><input type="number" value="40" min="1" max="100" step="1" class="input-number svelte-jonk14"> <input type="range" value="40" min="1" max="100" step="1" class="svelte-jonk14"><!--]--></td><td class="svelte-jonk14 ">mm</td><td class="svelte-jonk14 ">40</td><td class="svelte-jonk14">1</td><td class="svelte-jonk14">100</td><td class="svelte-jonk14 ">1</td></tr><tr class="svelte-jonk14 "><td class="svelte-jonk14">2.3</td><td class="svelte-jonk14"><button class="svelte-jonk14">PHL2</button></td><td class="svelte-jonk14"><!--[--><input type="number" value="120" min="1" max="400" step="1" class="input-number svelte-jonk14"> <input type="range" value="120" min="1" max="400" step="1" class="svelte-jonk14"><!--]--></td><td class="svelte-jonk14 ">mm</td><td class="svelte-jonk14 ">120</td><td class="svelte-jonk14">1</td><td class="svelte-jonk14">400</td><td class="svelte-jonk14 ">1</td></tr><tr class="svelte-jonk14 "><td class="svelte-jonk14">2.4</td><td class="svelte-jonk14"><button class="svelte-jonk14">PHR6</button></td><td class="svelte-jonk14"><!--[--><input type="number" value="20" min="0" max="400" step="1" class="input-number svelte-jonk14"> <input type="range" value="20" min="0" max="400" step="1" class="svelte-jonk14"><!--]--></td><td class="svelte-jonk14 ">mm</td><td class="svelte-jonk14 ">20</td><td class="svelte-jonk14">0</td><td class="svelte-jonk14">400</td><td class="svelte-jonk14 ">1</td></tr><!--]--></tbody><tbody class="svelte-jonk14"><tr class="separator svelte-jonk14"><td class="svelte-jonk14">3</td><td colspan="4" class="svelte-jonk14">section</td><td colspan="3" class="svelte-jonk14"><label class="svelte-jonk14"><input type="checkbox" checked class="svelte-jonk14"> <span class="svelte-jonk14"></span></label></td></tr></tbody> <tbody class="svelte-jonk14 collaps"><!--[--><tr class="svelte-jonk14 "><td class="svelte-jonk14">3.1</td><td class="svelte-jonk14"><button class="svelte-jonk14">PHE1</button></td><td class="svelte-jonk14"><!--[--><input type="number" value="10" min="1" max="80" step="1" class="input-number svelte-jonk14"> <input type="range" value="10" min="1" max="80" step="1" class="svelte-jonk14"><!--]--></td><td class="svelte-jonk14 ">mm</td><td class="svelte-jonk14 ">10</td><td class="svelte-jonk14">1</td><td class="svelte-jonk14">80</td><td class="svelte-jonk14 ">1</td></tr><tr class="svelte-jonk14 "><td class="svelte-jonk14">3.2</td><td class="svelte-jonk14"><button class="svelte-jonk14">PHH1</button></td><td class="svelte-jonk14"><!--[--><input type="number" value="50" min="1" max="200" step="1" class="input-number svelte-jonk14"> <input type="range" value="50" min="1" max="200" step="1" class="svelte-jonk14"><!--]--></td><td class="svelte-jonk14 ">mm</td><td class="svelte-jonk14 ">50</td><td class="svelte-jonk14">1</td><td class="svelte-jonk14">200</td><td class="svelte-jonk14 ">1</td></tr><tr class="svelte-jonk14 "><td class="svelte-jonk14">3.3</td><td class="svelte-jonk14"><button class="svelte-jonk14">PHA</button></td><td class="svelte-jonk14"><!--[--><input type="number" value="5" min="-45" max="45" step="0.1" class="input-number svelte-jonk14"> <input type="range" value="5" min="-45" max="45" step="0.1" class="svelte-jonk14"><!--]--></td><td class="svelte-jonk14 ">degree</td><td class="svelte-jonk14 ">5</td><td class="svelte-jonk14">-45</td><td class="svelte-jonk14">45</td><td class="svelte-jonk14 ">0.1</td></tr><tr class="svelte-jonk14 "><td class="svelte-jonk14">3.4</td><td class="svelte-jonk14"><button class="svelte-jonk14">PHL1</button></td><td class="svelte-jonk14"><!--[--><input type="number" value="300" min="1" max="500" step="1" class="input-number svelte-jonk14"> <input type="range" value="300" min="1" max="500" step="1" class="svelte-jonk14"><!--]--></td><td class="svelte-jonk14 ">mm</td><td class="svelte-jonk14 ">300</td><td class="svelte-jonk14">1</td><td class="svelte-jonk14">500</td><td class="svelte-jonk14 ">1</td></tr><tr class="svelte-jonk14 "><td class="svelte-jonk14">3.5</td><td class="svelte-jonk14"><button class="svelte-jonk14">PHE2</button></td><td class="svelte-jonk14"><!--[--><input type="number" value="10" min="1" max="80" step="1" class="input-number svelte-jonk14"> <input type="range" value="10" min="1" max="80" step="1" class="svelte-jonk14"><!--]--></td><td class="svelte-jonk14 ">mm</td><td class="svelte-jonk14 ">10</td><td class="svelte-jonk14">1</td><td class="svelte-jonk14">80</td><td class="svelte-jonk14 ">1</td></tr><tr class="svelte-jonk14 "><td class="svelte-jonk14">3.6</td><td class="svelte-jonk14"><button class="svelte-jonk14">PHE3</button></td><td class="svelte-jonk14"><!--[--><input type="number" value="10" min="1" max="80" step="1" class="input-number svelte-jonk14"> <input type="range" value="10" min="1" max="80" step="1" class="svelte-jonk14"><!--]--></td><td class="svelte-jonk14 ">mm</td><td class="svelte-jonk14 ">10</td><td class="svelte-jonk14">1</td><td class="svelte-jonk14">80</td><td class="svelte-jonk14 ">1</td></tr><!--]--></tbody><tbody class="svelte-jonk14"><tr class="separator svelte-jonk14"><td class="svelte-jonk14">4</td><td colspan="4" class="svelte-jonk14">for reuse</td><td colspan="3" class="svelte-jonk14"><label class="svelte-jonk14"><input type="checkbox" checked class="svelte-jonk14"> <span class="svelte-jonk14"></span></label></td></tr></tbody> <tbody class="svelte-jonk14 collaps"><!--[--><tr class="svelte-jonk14 "><td class="svelte-jonk14">4.1</td><td class="svelte-jonk14"><button class="svelte-jonk14">withOuterCone</button></td><td class="svelte-jonk14"><!--[!--><!--[--><select><!--[--><option value="0">Off</option><option value="1">On</option><!--]--></select><!--]--><!--]--></td><td class="svelte-jonk14 ">checkbox</td><td class="svelte-jonk14 ">1</td><td class="svelte-jonk14">0</td><td class="svelte-jonk14">1</td><td class="svelte-jonk14 ">1</td></tr><!--]--></tbody><!--]--></table> <div class="comment svelte-jonk14"><label for="inComment">Comment:</label> <input type="text" id="inComment" value="" maxlength="150" size="70"></div> <button class="svelte-jonk14">Save Parameters to File</button> <button class="svelte-jonk14">Save Parameters as URL</button> <button class="svelte-jonk14">Save Parameters to localStorage</button> <!--[!--><!--]--><!----> <!--[!--><!--]--><!----></main> <!--[!--><!--]--><!----> <button class="side-img svelte-jonk14"><img src="/pgdsvg/vaxis_holder_top.svg" alt="/pgdsvg/vaxis_holder_top.svg" class="svelte-jonk14"></button> <div class="mini-canvas svelte-jonk14"><canvas class="mini svelte-z8e4tz" width="200" height="200"></canvas><!----></div> <div class="mini-canvas svelte-jonk14"><canvas class="mini svelte-z8e4tz" width="200" height="200"></canvas><!----></div></section><!----> <section class="svelte-1ez8qwq"><h2 class="svelte-1ez8qwq">Log</h2> <textarea rows="5" cols="94" readonly wrap="soft" class="svelte-1ez8qwq ">Geometry vaxis_holder computed at 8:01:55 PM
|
|
27
|
+
<div style="display: contents"><!--[--><!--[--><!----><h1 class="svelte-im9xuh">Welcome to designix-ui</h1> <h6 class="svelte-im9xuh">Showcasing the usage of the <a href="https://svelte.dev/">svelte</a> library <a href="https://www.npmjs.com/package/geomui">geomui</a>.</h6> <nav class="svelte-im9xuh"><a href="/" class="svelte-im9xuh">index: list of designs</a></nav> <main class="svelte-im9xuh"><!----><h1 class="svelte-1aya6oa">Heliostat vaxis_holder</h1> <article class="svelte-1aya6oa">[vaxis_holder]: The holders of the guidance mechanism for azimuth motion</article> <section class="svelte-fxmnfh"><!--[!--><!--]--><!----> <!--[--><button class="svelte-fxmnfh"><img src="/pgdsvg/vaxis_holder_top.svg" alt="/pgdsvg/vaxis_holder_top.svg" class="svelte-fxmnfh"></button><button class="svelte-fxmnfh"><img src="/pgdsvg/vaxis_holder_section.svg" alt="/pgdsvg/vaxis_holder_section.svg" class="svelte-fxmnfh"></button><!--]--></section><!----> <section class="svelte-jonk14"><h2 class="svelte-jonk14">Parameters</h2> <main class="svelte-jonk14"><label for="loadFParams" class="fileUpload svelte-jonk14">Load Params from File</label> <input id="loadFParams" type="file" accept="text/plain, application/json" class="svelte-jonk14"> <button class="svelte-jonk14">Set Params Default</button> <button class="svelte-jonk14">Load Params from localStorage</button> <!--[!--><!--]--><!----> <!--[!--><!--]--><!----> <textarea rows="3" cols="80" readonly wrap="soft" class="svelte-jonk14 "></textarea> <table class="svelte-jonk14"><thead class="svelte-jonk14"><tr class="svelte-jonk14"><td class="svelte-jonk14">#</td><td class="svelte-jonk14">Parameter name</td><td class="svelte-jonk14">Value<span class="svelte-jonk14"><button class="svelte-jonk14">−</button><button class="svelte-jonk14">+</button></span></td><td class="svelte-jonk14 ">Unit</td><td class="svelte-jonk14 ">Default</td><td class="svelte-jonk14">Min</td><td class="svelte-jonk14">Max</td><td class="svelte-jonk14 ">Step</td></tr></thead><!--[--><tbody class="svelte-jonk14"><tr class="separator svelte-jonk14"><td class="svelte-jonk14">1</td><td colspan="4" class="svelte-jonk14">main</td><td colspan="3" class="svelte-jonk14"><label class="svelte-jonk14"><input type="checkbox" class="svelte-jonk14"> <span class="svelte-jonk14"></span></label></td></tr></tbody> <tbody class="svelte-jonk14 "><!--[--><tr class="svelte-jonk14 "><td class="svelte-jonk14">1.1</td><td class="svelte-jonk14"><button class="svelte-jonk14">PHD1</button></td><td class="svelte-jonk14"><!--[--><input type="number" value="700" min="1" max="2000" step="1" class="input-number svelte-jonk14"> <input type="range" value="700" min="1" max="2000" step="1" class="svelte-jonk14"><!--]--></td><td class="svelte-jonk14 ">mm</td><td class="svelte-jonk14 ">700</td><td class="svelte-jonk14">1</td><td class="svelte-jonk14">2000</td><td class="svelte-jonk14 ">1</td></tr><tr class="svelte-jonk14 "><td class="svelte-jonk14">1.2</td><td class="svelte-jonk14"><button class="svelte-jonk14">PHD2</button></td><td class="svelte-jonk14"><!--[--><input type="number" value="900" min="1" max="4000" step="1" class="input-number svelte-jonk14"> <input type="range" value="900" min="1" max="4000" step="1" class="svelte-jonk14"><!--]--></td><td class="svelte-jonk14 ">mm</td><td class="svelte-jonk14 ">900</td><td class="svelte-jonk14">1</td><td class="svelte-jonk14">4000</td><td class="svelte-jonk14 ">1</td></tr><tr class="svelte-jonk14 "><td class="svelte-jonk14">1.3</td><td class="svelte-jonk14"><button class="svelte-jonk14">PHD5</button></td><td class="svelte-jonk14"><!--[--><input type="number" value="800" min="1" max="4000" step="1" class="input-number svelte-jonk14"> <input type="range" value="800" min="1" max="4000" step="1" class="svelte-jonk14"><!--]--></td><td class="svelte-jonk14 ">mm</td><td class="svelte-jonk14 ">800</td><td class="svelte-jonk14">1</td><td class="svelte-jonk14">4000</td><td class="svelte-jonk14 ">1</td></tr><tr class="svelte-jonk14 "><td class="svelte-jonk14">1.4</td><td class="svelte-jonk14"><button class="svelte-jonk14">PHN1</button></td><td class="svelte-jonk14"><!--[--><input type="number" value="6" min="1" max="24" step="1" class="input-number svelte-jonk14"> <input type="range" value="6" min="1" max="24" step="1" class="svelte-jonk14"><!--]--></td><td class="svelte-jonk14 ">holes</td><td class="svelte-jonk14 ">6</td><td class="svelte-jonk14">1</td><td class="svelte-jonk14">24</td><td class="svelte-jonk14 ">1</td></tr><!--]--></tbody><tbody class="svelte-jonk14"><tr class="separator svelte-jonk14"><td class="svelte-jonk14">2</td><td colspan="4" class="svelte-jonk14">screw holes</td><td colspan="3" class="svelte-jonk14"><label class="svelte-jonk14"><input type="checkbox" checked class="svelte-jonk14"> <span class="svelte-jonk14"></span></label></td></tr></tbody> <tbody class="svelte-jonk14 collaps"><!--[--><tr class="svelte-jonk14 "><td class="svelte-jonk14">2.1</td><td class="svelte-jonk14"><button class="svelte-jonk14">PHD3</button></td><td class="svelte-jonk14"><!--[--><input type="number" value="40" min="1" max="100" step="1" class="input-number svelte-jonk14"> <input type="range" value="40" min="1" max="100" step="1" class="svelte-jonk14"><!--]--></td><td class="svelte-jonk14 ">mm</td><td class="svelte-jonk14 ">40</td><td class="svelte-jonk14">1</td><td class="svelte-jonk14">100</td><td class="svelte-jonk14 ">1</td></tr><tr class="svelte-jonk14 "><td class="svelte-jonk14">2.2</td><td class="svelte-jonk14"><button class="svelte-jonk14">PHR4</button></td><td class="svelte-jonk14"><!--[--><input type="number" value="40" min="1" max="100" step="1" class="input-number svelte-jonk14"> <input type="range" value="40" min="1" max="100" step="1" class="svelte-jonk14"><!--]--></td><td class="svelte-jonk14 ">mm</td><td class="svelte-jonk14 ">40</td><td class="svelte-jonk14">1</td><td class="svelte-jonk14">100</td><td class="svelte-jonk14 ">1</td></tr><tr class="svelte-jonk14 "><td class="svelte-jonk14">2.3</td><td class="svelte-jonk14"><button class="svelte-jonk14">PHL2</button></td><td class="svelte-jonk14"><!--[--><input type="number" value="120" min="1" max="400" step="1" class="input-number svelte-jonk14"> <input type="range" value="120" min="1" max="400" step="1" class="svelte-jonk14"><!--]--></td><td class="svelte-jonk14 ">mm</td><td class="svelte-jonk14 ">120</td><td class="svelte-jonk14">1</td><td class="svelte-jonk14">400</td><td class="svelte-jonk14 ">1</td></tr><tr class="svelte-jonk14 "><td class="svelte-jonk14">2.4</td><td class="svelte-jonk14"><button class="svelte-jonk14">PHR6</button></td><td class="svelte-jonk14"><!--[--><input type="number" value="20" min="0" max="400" step="1" class="input-number svelte-jonk14"> <input type="range" value="20" min="0" max="400" step="1" class="svelte-jonk14"><!--]--></td><td class="svelte-jonk14 ">mm</td><td class="svelte-jonk14 ">20</td><td class="svelte-jonk14">0</td><td class="svelte-jonk14">400</td><td class="svelte-jonk14 ">1</td></tr><!--]--></tbody><tbody class="svelte-jonk14"><tr class="separator svelte-jonk14"><td class="svelte-jonk14">3</td><td colspan="4" class="svelte-jonk14">section</td><td colspan="3" class="svelte-jonk14"><label class="svelte-jonk14"><input type="checkbox" checked class="svelte-jonk14"> <span class="svelte-jonk14"></span></label></td></tr></tbody> <tbody class="svelte-jonk14 collaps"><!--[--><tr class="svelte-jonk14 "><td class="svelte-jonk14">3.1</td><td class="svelte-jonk14"><button class="svelte-jonk14">PHE1</button></td><td class="svelte-jonk14"><!--[--><input type="number" value="10" min="1" max="80" step="1" class="input-number svelte-jonk14"> <input type="range" value="10" min="1" max="80" step="1" class="svelte-jonk14"><!--]--></td><td class="svelte-jonk14 ">mm</td><td class="svelte-jonk14 ">10</td><td class="svelte-jonk14">1</td><td class="svelte-jonk14">80</td><td class="svelte-jonk14 ">1</td></tr><tr class="svelte-jonk14 "><td class="svelte-jonk14">3.2</td><td class="svelte-jonk14"><button class="svelte-jonk14">PHH1</button></td><td class="svelte-jonk14"><!--[--><input type="number" value="50" min="1" max="200" step="1" class="input-number svelte-jonk14"> <input type="range" value="50" min="1" max="200" step="1" class="svelte-jonk14"><!--]--></td><td class="svelte-jonk14 ">mm</td><td class="svelte-jonk14 ">50</td><td class="svelte-jonk14">1</td><td class="svelte-jonk14">200</td><td class="svelte-jonk14 ">1</td></tr><tr class="svelte-jonk14 "><td class="svelte-jonk14">3.3</td><td class="svelte-jonk14"><button class="svelte-jonk14">PHA</button></td><td class="svelte-jonk14"><!--[--><input type="number" value="5" min="-45" max="45" step="0.1" class="input-number svelte-jonk14"> <input type="range" value="5" min="-45" max="45" step="0.1" class="svelte-jonk14"><!--]--></td><td class="svelte-jonk14 ">degree</td><td class="svelte-jonk14 ">5</td><td class="svelte-jonk14">-45</td><td class="svelte-jonk14">45</td><td class="svelte-jonk14 ">0.1</td></tr><tr class="svelte-jonk14 "><td class="svelte-jonk14">3.4</td><td class="svelte-jonk14"><button class="svelte-jonk14">PHL1</button></td><td class="svelte-jonk14"><!--[--><input type="number" value="300" min="1" max="500" step="1" class="input-number svelte-jonk14"> <input type="range" value="300" min="1" max="500" step="1" class="svelte-jonk14"><!--]--></td><td class="svelte-jonk14 ">mm</td><td class="svelte-jonk14 ">300</td><td class="svelte-jonk14">1</td><td class="svelte-jonk14">500</td><td class="svelte-jonk14 ">1</td></tr><tr class="svelte-jonk14 "><td class="svelte-jonk14">3.5</td><td class="svelte-jonk14"><button class="svelte-jonk14">PHE2</button></td><td class="svelte-jonk14"><!--[--><input type="number" value="10" min="1" max="80" step="1" class="input-number svelte-jonk14"> <input type="range" value="10" min="1" max="80" step="1" class="svelte-jonk14"><!--]--></td><td class="svelte-jonk14 ">mm</td><td class="svelte-jonk14 ">10</td><td class="svelte-jonk14">1</td><td class="svelte-jonk14">80</td><td class="svelte-jonk14 ">1</td></tr><tr class="svelte-jonk14 "><td class="svelte-jonk14">3.6</td><td class="svelte-jonk14"><button class="svelte-jonk14">PHE3</button></td><td class="svelte-jonk14"><!--[--><input type="number" value="10" min="1" max="80" step="1" class="input-number svelte-jonk14"> <input type="range" value="10" min="1" max="80" step="1" class="svelte-jonk14"><!--]--></td><td class="svelte-jonk14 ">mm</td><td class="svelte-jonk14 ">10</td><td class="svelte-jonk14">1</td><td class="svelte-jonk14">80</td><td class="svelte-jonk14 ">1</td></tr><!--]--></tbody><tbody class="svelte-jonk14"><tr class="separator svelte-jonk14"><td class="svelte-jonk14">4</td><td colspan="4" class="svelte-jonk14">for reuse</td><td colspan="3" class="svelte-jonk14"><label class="svelte-jonk14"><input type="checkbox" checked class="svelte-jonk14"> <span class="svelte-jonk14"></span></label></td></tr></tbody> <tbody class="svelte-jonk14 collaps"><!--[--><tr class="svelte-jonk14 "><td class="svelte-jonk14">4.1</td><td class="svelte-jonk14"><button class="svelte-jonk14">withOuterCone</button></td><td class="svelte-jonk14"><!--[!--><!--[--><select><!--[--><option value="0">Off</option><option value="1">On</option><!--]--></select><!--]--><!--]--></td><td class="svelte-jonk14 ">checkbox</td><td class="svelte-jonk14 ">1</td><td class="svelte-jonk14">0</td><td class="svelte-jonk14">1</td><td class="svelte-jonk14 ">1</td></tr><!--]--></tbody><!--]--></table> <div class="comment svelte-jonk14"><label for="inComment">Comment:</label> <input type="text" id="inComment" value="" maxlength="150" size="70"></div> <button class="svelte-jonk14">Save Parameters to File</button> <button class="svelte-jonk14">Save Parameters as URL</button> <button class="svelte-jonk14">Save Parameters to localStorage</button> <!--[!--><!--]--><!----> <!--[!--><!--]--><!----></main> <!--[!--><!--]--><!----> <button class="side-img svelte-jonk14"><img src="/pgdsvg/vaxis_holder_top.svg" alt="/pgdsvg/vaxis_holder_top.svg" class="svelte-jonk14"></button> <div class="mini-canvas svelte-jonk14"><canvas class="mini svelte-z8e4tz" width="200" height="200"></canvas><!----></div> <div class="mini-canvas svelte-jonk14"><canvas class="mini svelte-z8e4tz" width="200" height="200"></canvas><!----></div></section><!----> <section class="svelte-1ez8qwq"><h2 class="svelte-1ez8qwq">Log</h2> <textarea rows="5" cols="94" readonly wrap="soft" class="svelte-1ez8qwq ">Geometry vaxis_holder computed at 6:59:34 PM
|
|
28
28
|
vaxis_holder simTime: 0
|
|
29
29
|
vaxis_holder's height: 298.86 mm
|
|
30
30
|
vaxis_holder outerD1: 926.15 mm
|
|
@@ -35,19 +35,19 @@ petal angle: 17.25 degree
|
|
|
35
35
|
hollow angle: 42.75 degree
|
|
36
36
|
vaxis_holder drawn successfully!
|
|
37
37
|
</textarea></section> <section class="svelte-1ez8qwq"><h2 class="svelte-1ez8qwq">Drawing <select class="svelte-1ez8qwq"><!--[--><option value="facePetal">facePetal</option><option value="faceOuter">faceOuter</option><option value="faceButtress1">faceButtress1</option><option value="faceButtress2">faceButtress2</option><option value="faceButtress12">faceButtress12</option><!--]--><option value="ParametrixAll">All faces merged</option></select></h2></section> <section class="svelte-1lstqwr"><div class="svelte-1rsbkj"><label class="svelte-1rsbkj"><input type="checkbox" checked class="svelte-1rsbkj">main part</label> <label class="svelte-1rsbkj"><input type="checkbox" class="svelte-1rsbkj">main skeleton</label> <label class="svelte-1rsbkj"><input type="checkbox" checked class="svelte-1rsbkj">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" checked class="svelte-1rsbkj">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-1lstqwr"><canvas class="full svelte-1lstqwr" width="400" height="400"></canvas> <nav class="svelte-uw6ahn"><button class="svelte-uw6ahn">0</button> <button class="svelte-uw6ahn"><-</button> <button class="svelte-uw6ahn">|<</button> <button class="svelte-uw6ahn">||</button> <button class="svelte-uw6ahn">>|</button> <button class="svelte-uw6ahn">-></button> <input type="range" value="0" min="0" max="180" step="0.5" class="svelte-uw6ahn"> <input type="number" value="0" min="0" max="180" step="0.5" class="svelte-uw6ahn"></nav><!----></div> <div class="rack svelte-1lstqwr"><canvas class="zoom svelte-1lstqwr" width="400" height="400"></canvas> <nav class="svelte-c549k7"><button aria-labelledby="zoomInit" class="svelte-c549k7"><div class="zero svelte-c549k7"></div></button><button aria-labelledby="zoomIn" class="svelte-c549k7"><div class="zoomin svelte-c549k7"></div></button><button aria-labelledby="zoomOut" class="svelte-c549k7"><div class="zoomout svelte-c549k7"></div></button><button aria-labelledby="moveLeft" class="svelte-c549k7"><div class="arrowleft svelte-c549k7"></div></button><button aria-labelledby="moveRight" class="svelte-c549k7"><div class="arrowright svelte-c549k7"></div></button><button aria-labelledby="moveUp" class="svelte-c549k7"><div class="arrowup svelte-c549k7"></div></button><button aria-labelledby="moveDown" class="svelte-c549k7"><div class="arrowdown svelte-c549k7"></div></button></nav><!----></div></section><!----> <section class="svelte-1ez8qwq"><h2 class="svelte-1ez8qwq">Export</h2> <select class="svelte-1ez8qwq"><!--[--><option value="svg_facePetal">face facePetal as svg</option><option value="svg_faceOuter">face faceOuter as svg</option><option value="svg_faceButtress1">face faceButtress1 as svg</option><option value="svg_faceButtress2">face faceButtress2 as svg</option><option value="svg_faceButtress12">face faceButtress12 as svg</option><!--]--><option value="allsvg">all faces merged as svg</option><!--[--><option value="dxf_facePetal">face facePetal as dxf</option><option value="dxf_faceOuter">face faceOuter as dxf</option><option value="dxf_faceButtress1">face faceButtress1 as dxf</option><option value="dxf_faceButtress2">face faceButtress2 as dxf</option><option value="dxf_faceButtress12">face faceButtress12 as dxf</option><!--]--><option value="alldxf">all faces merged as dxf</option><option value="compute_log">compute.log as log-file</option><option value="pax">all faces as pax.json</option><option value="oscad">all faces as openscad.scad</option><option value="ojscad">all faces as OpenJScad.js</option><option value="freecad">all faces as Freecad.py</option><option value="zip">all faces and more as zip</option></select> <button class="svelte-1ez8qwq">Save to File</button> <section class="svelte-lzdpo0"><h2 class="svelte-lzdpo0">Sub-designs <span class="svelte-lzdpo0">(Number of sub-instances: 0)</span></h2> <ol class="svelte-lzdpo0"><!--[--><!--]--></ol></section><!----></section><!----><!----><!----></main> <footer class="svelte-im9xuh"><article><a href="https://github.com/charlyoleg2/parametrix">designix-ui</a>, a minimalist showcase
|
|
38
|
-
of <a href="https://www.npmjs.com/">geomui</a>.</article> <article><h3>Designix-ui version</h3> <code><!--[--><!---->version details:<br><!---->designix-ui : 0.5.5<br><!---->dependencies:<br><!---->1 : designix : ^0.5.
|
|
38
|
+
of <a href="https://www.npmjs.com/package/geomui">geomui</a>.</article> <article><h3>Designix-ui version</h3> <code><!--[--><!---->version details:<br><!---->designix-ui : 0.5.5<br><!---->dependencies:<br><!---->1 : designix : ^0.5.58<br><!---->2 : geometrix : ^0.5.57<br><!---->3 : geomui : ^0.5.59<br><!--]--></code></article> <article><h3>Parametrix</h3> <ol><li><a href="https://github.com/charlyoleg2/parametrix">Parametrix repo</a></li> <li><a href="https://charlyoleg2.github.io/parametrix/">Parametrix page</a></li> <li><a href="https://catalos-catalui.vercel.app/">Catalos</a></li></ol></article></footer><!----><!--]--> <!--[!--><!--]--><!--]-->
|
|
39
39
|
|
|
40
40
|
<script>
|
|
41
41
|
{
|
|
42
|
-
|
|
42
|
+
__sveltekit_1vmhq4e = {
|
|
43
43
|
base: ""
|
|
44
44
|
};
|
|
45
45
|
|
|
46
46
|
const element = document.currentScript.parentElement;
|
|
47
47
|
|
|
48
48
|
Promise.all([
|
|
49
|
-
import("/_app/immutable/entry/start.
|
|
50
|
-
import("/_app/immutable/entry/app.
|
|
49
|
+
import("/_app/immutable/entry/start.BQQKiKIr.js"),
|
|
50
|
+
import("/_app/immutable/entry/app.DBTU_iS4.js")
|
|
51
51
|
]).then(([kit, app]) => {
|
|
52
52
|
kit.start(app, element, {
|
|
53
53
|
node_ids: [0, 3],
|
package/dist/public/index.html
CHANGED
|
@@ -7,36 +7,36 @@
|
|
|
7
7
|
|
|
8
8
|
<link href="/_app/immutable/assets/0.D3ep0F2Z.css" rel="stylesheet">
|
|
9
9
|
<link href="/_app/immutable/assets/2.BTCojHq8.css" rel="stylesheet">
|
|
10
|
-
<link rel="modulepreload" href="/_app/immutable/entry/start.
|
|
11
|
-
<link rel="modulepreload" href="/_app/immutable/chunks/
|
|
12
|
-
<link rel="modulepreload" href="/_app/immutable/chunks/
|
|
13
|
-
<link rel="modulepreload" href="/_app/immutable/chunks/
|
|
14
|
-
<link rel="modulepreload" href="/_app/immutable/chunks/
|
|
15
|
-
<link rel="modulepreload" href="/_app/immutable/entry/app.
|
|
16
|
-
<link rel="modulepreload" href="/_app/immutable/chunks/
|
|
17
|
-
<link rel="modulepreload" href="/_app/immutable/chunks/
|
|
18
|
-
<link rel="modulepreload" href="/_app/immutable/nodes/0.
|
|
19
|
-
<link rel="modulepreload" href="/_app/immutable/chunks/
|
|
20
|
-
<link rel="modulepreload" href="/_app/immutable/chunks/
|
|
21
|
-
<link rel="modulepreload" href="/_app/immutable/nodes/2.
|
|
22
|
-
<link rel="modulepreload" href="/_app/immutable/chunks/
|
|
23
|
-
<link rel="modulepreload" href="/_app/immutable/chunks/
|
|
10
|
+
<link rel="modulepreload" href="/_app/immutable/entry/start.BQQKiKIr.js">
|
|
11
|
+
<link rel="modulepreload" href="/_app/immutable/chunks/B6cXXlIB.js">
|
|
12
|
+
<link rel="modulepreload" href="/_app/immutable/chunks/BWo6ipe6.js">
|
|
13
|
+
<link rel="modulepreload" href="/_app/immutable/chunks/6zLRVRT9.js">
|
|
14
|
+
<link rel="modulepreload" href="/_app/immutable/chunks/CD5k8j7s.js">
|
|
15
|
+
<link rel="modulepreload" href="/_app/immutable/entry/app.DBTU_iS4.js">
|
|
16
|
+
<link rel="modulepreload" href="/_app/immutable/chunks/V239f71F.js">
|
|
17
|
+
<link rel="modulepreload" href="/_app/immutable/chunks/Bvx3yFzP.js">
|
|
18
|
+
<link rel="modulepreload" href="/_app/immutable/nodes/0.kz1bJhtd.js">
|
|
19
|
+
<link rel="modulepreload" href="/_app/immutable/chunks/BsuezFLB.js">
|
|
20
|
+
<link rel="modulepreload" href="/_app/immutable/chunks/BGDGtrfQ.js">
|
|
21
|
+
<link rel="modulepreload" href="/_app/immutable/nodes/2.y3SbG7e6.js">
|
|
22
|
+
<link rel="modulepreload" href="/_app/immutable/chunks/xh_wmC9C.js">
|
|
23
|
+
<link rel="modulepreload" href="/_app/immutable/chunks/3KMmcniM.js">
|
|
24
24
|
</head>
|
|
25
25
|
<body data-sveltekit-preload-data="hover">
|
|
26
|
-
<div style="display: contents"><!--[--><!--[--><!----><h1 class="svelte-im9xuh">Welcome to designix-ui</h1> <h6 class="svelte-im9xuh">Showcasing the usage of the <a href="https://svelte.dev/">svelte</a> library <a href="https://www.npmjs.com/">geomui</a>.</h6> <nav class="svelte-im9xuh"><a href="/" class="svelte-im9xuh">index: list of designs</a></nav> <main class="svelte-im9xuh"><!----><h2 class="svelte-1r3d1r">List of designs:</h2> <ol><!--[--><li><a href="/gear/gear_wheel">gear/gear_wheel</a></li><li><a href="/gear/gear_bar">gear/gear_bar</a></li><li><a href="/gear/gear_ring">gear/gear_ring</a></li><li><a href="/gear/gear_epicycloid">gear/gear_epicycloid</a></li><li><a href="/heliostat/heliostat">heliostat/heliostat</a></li><li><a href="/heliostat/heliostat_2">heliostat/heliostat_2</a></li><li><a href="/heliostat/base">heliostat/base</a></li><li><a href="/heliostat/pole_static">heliostat/pole_static</a></li><li><a href="/heliostat/vaxis">heliostat/vaxis</a></li><li><a href="/heliostat/ring">heliostat/ring</a></li><li><a href="/heliostat/vaxis_holder">heliostat/vaxis_holder</a></li><li><a href="/heliostat/ring_guidance">heliostat/ring_guidance</a></li><li><a href="/heliostat/vaxis_guidance">heliostat/vaxis_guidance</a></li><li><a href="/heliostat/rake">heliostat/rake</a></li><li><a href="/heliostat/rake_stopper">heliostat/rake_stopper</a></li><li><a href="/heliostat/haxis_guidance">heliostat/haxis_guidance</a></li><li><a href="/heliostat/spider">heliostat/spider</a></li><li><a href="/heliostat/swing">heliostat/swing</a></li><li><a href="/heliostat/rod">heliostat/rod</a></li><li><a href="/heliostat/trapeze">heliostat/trapeze</a></li><li><a href="/heliostat/surface">heliostat/surface</a></li><!--]--></ol><!----><!----></main> <footer class="svelte-im9xuh"><article><a href="https://github.com/charlyoleg2/parametrix">designix-ui</a>, a minimalist showcase
|
|
27
|
-
of <a href="https://www.npmjs.com/">geomui</a>.</article> <article><h3>Designix-ui version</h3> <code><!--[--><!---->version details:<br><!---->designix-ui : 0.5.5<br><!---->dependencies:<br><!---->1 : designix : ^0.5.
|
|
26
|
+
<div style="display: contents"><!--[--><!--[--><!----><h1 class="svelte-im9xuh">Welcome to designix-ui</h1> <h6 class="svelte-im9xuh">Showcasing the usage of the <a href="https://svelte.dev/">svelte</a> library <a href="https://www.npmjs.com/package/geomui">geomui</a>.</h6> <nav class="svelte-im9xuh"><a href="/" class="svelte-im9xuh">index: list of designs</a></nav> <main class="svelte-im9xuh"><!----><h2 class="svelte-1r3d1r">List of designs:</h2> <ol><!--[--><li><a href="/gear/gear_wheel">gear/gear_wheel</a></li><li><a href="/gear/gear_bar">gear/gear_bar</a></li><li><a href="/gear/gear_ring">gear/gear_ring</a></li><li><a href="/gear/gear_epicycloid">gear/gear_epicycloid</a></li><li><a href="/heliostat/heliostat">heliostat/heliostat</a></li><li><a href="/heliostat/heliostat_2">heliostat/heliostat_2</a></li><li><a href="/heliostat/base">heliostat/base</a></li><li><a href="/heliostat/pole_static">heliostat/pole_static</a></li><li><a href="/heliostat/vaxis">heliostat/vaxis</a></li><li><a href="/heliostat/ring">heliostat/ring</a></li><li><a href="/heliostat/vaxis_holder">heliostat/vaxis_holder</a></li><li><a href="/heliostat/ring_guidance">heliostat/ring_guidance</a></li><li><a href="/heliostat/vaxis_guidance">heliostat/vaxis_guidance</a></li><li><a href="/heliostat/rake">heliostat/rake</a></li><li><a href="/heliostat/rake_stopper">heliostat/rake_stopper</a></li><li><a href="/heliostat/haxis_guidance">heliostat/haxis_guidance</a></li><li><a href="/heliostat/spider">heliostat/spider</a></li><li><a href="/heliostat/swing">heliostat/swing</a></li><li><a href="/heliostat/rod">heliostat/rod</a></li><li><a href="/heliostat/trapeze">heliostat/trapeze</a></li><li><a href="/heliostat/surface">heliostat/surface</a></li><!--]--></ol><!----><!----></main> <footer class="svelte-im9xuh"><article><a href="https://github.com/charlyoleg2/parametrix">designix-ui</a>, a minimalist showcase
|
|
27
|
+
of <a href="https://www.npmjs.com/package/geomui">geomui</a>.</article> <article><h3>Designix-ui version</h3> <code><!--[--><!---->version details:<br><!---->designix-ui : 0.5.5<br><!---->dependencies:<br><!---->1 : designix : ^0.5.58<br><!---->2 : geometrix : ^0.5.57<br><!---->3 : geomui : ^0.5.59<br><!--]--></code></article> <article><h3>Parametrix</h3> <ol><li><a href="https://github.com/charlyoleg2/parametrix">Parametrix repo</a></li> <li><a href="https://charlyoleg2.github.io/parametrix/">Parametrix page</a></li> <li><a href="https://catalos-catalui.vercel.app/">Catalos</a></li></ol></article></footer><!----><!--]--> <!--[!--><!--]--><!--]-->
|
|
28
28
|
|
|
29
29
|
<script>
|
|
30
30
|
{
|
|
31
|
-
|
|
31
|
+
__sveltekit_1vmhq4e = {
|
|
32
32
|
base: ""
|
|
33
33
|
};
|
|
34
34
|
|
|
35
35
|
const element = document.currentScript.parentElement;
|
|
36
36
|
|
|
37
37
|
Promise.all([
|
|
38
|
-
import("/_app/immutable/entry/start.
|
|
39
|
-
import("/_app/immutable/entry/app.
|
|
38
|
+
import("/_app/immutable/entry/start.BQQKiKIr.js"),
|
|
39
|
+
import("/_app/immutable/entry/app.DBTU_iS4.js")
|
|
40
40
|
]).then(([kit, app]) => {
|
|
41
41
|
kit.start(app, element, {
|
|
42
42
|
node_ids: [0, 2],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "designix-uis",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.41",
|
|
4
4
|
"description": "mini-server for static content of designix-ui",
|
|
5
5
|
"private": false,
|
|
6
6
|
"repository": {
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
78
|
"express": "^4.21.2",
|
|
79
|
-
"fs-extra": "^11.
|
|
79
|
+
"fs-extra": "^11.3.0",
|
|
80
80
|
"get-port": "^7.1.0",
|
|
81
81
|
"open": "^10.1.0",
|
|
82
82
|
"yargs": "^17.7.2"
|
|
@@ -87,16 +87,16 @@
|
|
|
87
87
|
"@types/eslint__js": "^8.42.3",
|
|
88
88
|
"@types/express": "^5.0.0",
|
|
89
89
|
"@types/fs-extra": "^11.0.4",
|
|
90
|
-
"@types/node": "^22.10.
|
|
90
|
+
"@types/node": "^22.10.7",
|
|
91
91
|
"@types/yargs": "^17.0.33",
|
|
92
|
-
"eslint": "^9.
|
|
93
|
-
"eslint-config-prettier": "^
|
|
92
|
+
"eslint": "^9.18.0",
|
|
93
|
+
"eslint-config-prettier": "^10.0.1",
|
|
94
94
|
"npm-run-all2": "^7.0.2",
|
|
95
95
|
"prettier": "^3.4.2",
|
|
96
96
|
"rimraf": "^6.0.1",
|
|
97
97
|
"tsup": "^8.3.5",
|
|
98
98
|
"typescript": "^5.7.3",
|
|
99
|
-
"typescript-eslint": "^8.
|
|
100
|
-
"vitest": "
|
|
99
|
+
"typescript-eslint": "^8.20.0",
|
|
100
|
+
"vitest": "^3.0.2"
|
|
101
101
|
}
|
|
102
102
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h,ad as L,ae as k,W as C,af as b,a2 as N,ag as W,G as w,V as F,aa as G,J as U,ah as S,ai as $,aj as J,c as f,N as P,K as H,ak as A,al as K,am as z,an as R,O as T,ao as Q,ap as X,aq as Z,ar as ee,as as re,a as te,w as ae,x as ne,i as ie}from"./runtime.B89ySwNM.js";const oe=["touchstart","touchmove"];function se(e){return oe.includes(e)}function ve(e){h&&L(e)!==null&&k(e)}let V=!1;function ue(){V||(V=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{var r;if(!e.defaultPrevented)for(const t of e.target.elements)(r=t.__on_r)==null||r.call(t)})},{capture:!0}))}function he(e,r,t,i=!0){i&&t();for(var n of r)e.addEventListener(n,t);C(()=>{for(var a of r)e.removeEventListener(a,t)})}function q(e){var r=W,t=w;b(null),N(null);try{return e()}finally{b(r),N(t)}}function pe(e,r,t,i=t){e.addEventListener(r,()=>q(t));const n=e.__on_r;n?e.__on_r=()=>{n(),i(!0)}:e.__on_r=()=>i(!0),ue()}const B=new Set,M=new Set;function fe(e,r,t,i){function n(a){if(i.capture||y.call(r,a),!a.cancelBubble)return q(()=>t.call(this,a))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?F(()=>{r.addEventListener(e,n,i)}):r.addEventListener(e,n,i),n}function me(e,r,t,i,n){var a={capture:i,passive:n},o=fe(e,r,t,a);(r===document.body||r===window||r===document)&&C(()=>{r.removeEventListener(e,o,a)})}function ge(e){for(var r=0;r<e.length;r++)B.add(e[r]);for(var t of M)t(e)}function y(e){var I;var r=this,t=r.ownerDocument,i=e.type,n=((I=e.composedPath)==null?void 0:I.call(e))||[],a=n[0]||e.target,o=0,_=e.__root;if(_){var c=n.indexOf(_);if(c!==-1&&(r===document||r===window)){e.__root=r;return}var m=n.indexOf(r);if(m===-1)return;c<=m&&(o=c)}if(a=n[o]||e.target,a!==r){G(e,"currentTarget",{configurable:!0,get(){return a||t}});var O=W,d=w;b(null),N(null);try{for(var s,u=[];a!==null;){var l=a.assignedSlot||a.parentNode||a.host||null;try{var p=a["__"+i];if(p!==void 0&&!a.disabled)if(U(p)){var[j,...x]=p;j.apply(a,[e,...x])}else p.call(a,e)}catch(E){s?u.push(E):s=E}if(e.cancelBubble||l===r||l===null)break;a=l}if(s){for(let E of u)queueMicrotask(()=>{throw E});throw s}}finally{e.__root=r,delete e.currentTarget,b(O),N(d)}}}function de(e){var r=document.createElement("template");return r.innerHTML=e,r.content}function v(e,r){var t=w;t.nodes_start===null&&(t.nodes_start=e,t.nodes_end=r)}function ye(e,r){var t=(r&$)!==0,i=(r&J)!==0,n,a=!e.startsWith("<!>");return()=>{if(h)return v(f,null),f;n===void 0&&(n=de(a?e:"<!>"+e),t||(n=L(n)));var o=i?document.importNode(n,!0):n.cloneNode(!0);if(t){var _=L(o),c=o.lastChild;v(_,c)}else v(o,o);return o}}function we(e=""){if(!h){var r=S(e+"");return v(r,r),r}var t=f;return t.nodeType!==3&&(t.before(t=S()),P(t)),v(t,t),t}function Ee(){if(h)return v(f,null),f;var e=document.createDocumentFragment(),r=document.createComment(""),t=S();return e.append(r,t),v(r,t),e}function Te(e,r){if(h){w.nodes_end=f,H();return}e!==null&&e.before(r)}function Le(e,r){var t=r==null?"":typeof r=="object"?r+"":r;t!==(e.__t??(e.__t=e.nodeValue))&&(e.__t=t,e.nodeValue=t==null?"":t+"")}function ce(e,r){return Y(e,r)}function be(e,r){A(),r.intro=r.intro??!1;const t=r.target,i=h,n=f;try{for(var a=L(t);a&&(a.nodeType!==8||a.data!==K);)a=z(a);if(!a)throw R;T(!0),P(a),H();const o=Y(e,{...r,anchor:a});if(f===null||f.nodeType!==8||f.data!==Q)throw X(),R;return T(!1),o}catch(o){if(o===R)return r.recover===!1&&Z(),A(),k(t),T(!1),ce(e,r);throw o}finally{T(i),P(n)}}const g=new Map;function Y(e,{target:r,anchor:t,props:i={},events:n,context:a,intro:o=!0}){A();var _=new Set,c=d=>{for(var s=0;s<d.length;s++){var u=d[s];if(!_.has(u)){_.add(u);var l=se(u);r.addEventListener(u,y,{passive:l});var p=g.get(u);p===void 0?(document.addEventListener(u,y,{passive:l}),g.set(u,1)):g.set(u,p+1)}}};c(ee(B)),M.add(c);var m=void 0,O=re(()=>{var d=t??r.appendChild(S());return te(()=>{if(a){ae({});var s=ie;s.c=a}n&&(i.$$events=n),h&&v(d,null),m=e(d,i)||{},h&&(w.nodes_end=f),a&&ne()}),()=>{var l;for(var s of _){r.removeEventListener(s,y);var u=g.get(s);--u===0?(document.removeEventListener(s,y),g.delete(s)):g.set(s,u)}M.delete(c),d!==t&&((l=d.parentNode)==null||l.removeChild(d))}});return D.set(m,O),m}let D=new WeakMap;function Ne(e,r){const t=D.get(e);return t?(D.delete(e),t(r)):Promise.resolve()}const le="5";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(le);export{Te as a,we as b,Ee as c,ue as d,he as e,ge as f,me as g,be as h,pe as l,ce as m,ve as r,Le as s,ye as t,Ne as u,q as w};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
var We=e=>{throw TypeError(e)};var Ot=(e,t,n)=>t.has(e)||We("Cannot "+n);var v=(e,t,n)=>(Ot(e,t,"read from private field"),n?n.call(e):t.get(e)),x=(e,t,n)=>t.has(e)?We("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n);import{n as Re,aH as Nt,ac as C,g as O,D as N,ab as jt}from"./runtime.B89ySwNM.js";import{a as $t,b as P}from"./paths.DWJtGEyK.js";import{o as Ye}from"./index-client.Bqub2jqq.js";new URL("sveltekit-internal://");function Dt(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function Ft(e){return e.split("%25").map(decodeURI).join("%25")}function Vt(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function Ie({href:e}){return e.split("#")[0]}function Bt(e,t,n,r=!1){const a=new URL(e);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(i,s){if(s==="get"||s==="getAll"||s==="has")return l=>(n(l),i[s](l));t();const c=Reflect.get(i,s);return typeof c=="function"?c.bind(i):c}}),enumerable:!0,configurable:!0});const o=["href","pathname","search","toString","toJSON"];r&&o.push("hash");for(const i of o)Object.defineProperty(a,i,{get(){return t(),e[i]},enumerable:!0,configurable:!0});return a}const qt="/__data.json",Gt=".html__data.json";function Ht(e){return e.endsWith(".html")?e.replace(/\.html$/,Gt):e.replace(/\/$/,"")+qt}function Mt(...e){let t=5381;for(const n of e)if(typeof n=="string"){let r=n.length;for(;r;)t=t*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)t=t*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}function Kt(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n.buffer}const it=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:(t==null?void 0:t.method)||"GET")!=="GET"&&W.delete(Oe(e)),it(e,t));const W=new Map;function Wt(e,t){const n=Oe(e,t),r=document.querySelector(n);if(r!=null&&r.textContent){let{body:a,...o}=JSON.parse(r.textContent);const i=r.getAttribute("data-ttl");return i&&W.set(n,{body:a,init:o,ttl:1e3*Number(i)}),r.getAttribute("data-b64")!==null&&(a=Kt(a)),Promise.resolve(new Response(a,o))}return window.fetch(e,t)}function Yt(e,t,n){if(W.size>0){const r=Oe(e,n),a=W.get(r);if(a){if(performance.now()<a.ttl&&["default","force-cache","only-if-cached",void 0].includes(n==null?void 0:n.cache))return new Response(a.body,a.init);W.delete(r)}}return window.fetch(t,n)}function Oe(e,t){let r=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t!=null&&t.headers||t!=null&&t.body){const a=[];t.headers&&a.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&a.push(t.body),r+=`[data-hash="${Mt(...a)}"]`}return r}const zt=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function Jt(e){const t=[];return{pattern:e==="/"?/^\/$/:new RegExp(`^${Zt(e).map(r=>{const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return t.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const o=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(o)return t.push({name:o[1],matcher:o[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const i=r.split(/\[(.+?)\](?!\])/);return"/"+i.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return Ue(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return Ue(String.fromCharCode(...c.slice(2).split("-").map(f=>parseInt(f,16))));const d=zt.exec(c),[,h,y,u,g]=d;return t.push({name:u,matcher:g,optional:!!h,rest:!!y,chained:y?l===1&&i[0]==="":!1}),y?"(.*?)":h?"([^/]*)?":"([^/]+?)"}return Ue(c)}).join("")}).join("")}/?$`),params:t}}function Xt(e){return!/^\([^)]+\)$/.test(e)}function Zt(e){return e.slice(1).split("/").filter(Xt)}function Qt(e,t,n){const r={},a=e.slice(1),o=a.filter(s=>s!==void 0);let i=0;for(let s=0;s<t.length;s+=1){const c=t[s];let l=a[s-i];if(c.chained&&c.rest&&i&&(l=a.slice(s-i,s+1).filter(d=>d).join("/"),i=0),l===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||n[c.matcher](l)){r[c.name]=l;const d=t[s+1],h=a[s+1];d&&!d.rest&&d.optional&&h&&c.chained&&(i=0),!d&&!h&&Object.keys(r).length===o.length&&(i=0);continue}if(c.optional&&c.chained){i++;continue}return}if(!i)return r}function Ue(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function en({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([s,[c,l,d]])=>{const{pattern:h,params:y}=Jt(s),u={id:s,exec:g=>{const f=h.exec(g);if(f)return Qt(f,y,r)},errors:[1,...d||[]].map(g=>e[g]),layouts:[0,...l||[]].map(i),leaf:o(c)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function o(s){const c=s<0;return c&&(s=~s),[c,e[s]]}function i(s){return s===void 0?s:[a.has(s),e[s]]}}function ct(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function ze(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}const V=[];function Ne(e,t=Re){let n=null;const r=new Set;function a(s){if(Nt(e,s)&&(e=s,n)){const c=!V.length;for(const l of r)l[1](),V.push(l,e);if(c){for(let l=0;l<V.length;l+=2)V[l][0](V[l+1]);V.length=0}}}function o(s){a(s(e))}function i(s,c=Re){const l=[s,c];return r.add(l),r.size===1&&(n=t(a,o)||Re),s(e),()=>{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:a,update:o,subscribe:i}}const tn="1736539310714",lt="sveltekit:snapshot",ft="sveltekit:scroll",ut="sveltekit:states",nn="sveltekit:pageurl",q="sveltekit:history",J="sveltekit:navigation",ue={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},fe=location.origin;function dt(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function je(){return{x:pageXOffset,y:pageYOffset}}function B(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const Je={...ue,"":ue.hover};function ht(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function pt(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=ht(e)}}function xe(e,t,n){let r;try{r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,o=!r||!!a||be(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),i=(r==null?void 0:r.origin)===fe&&e.hasAttribute("download");return{url:r,external:o,target:a,download:i}}function de(e){let t=null,n=null,r=null,a=null,o=null,i=null,s=e;for(;s&&s!==document.documentElement;)r===null&&(r=B(s,"preload-code")),a===null&&(a=B(s,"preload-data")),t===null&&(t=B(s,"keepfocus")),n===null&&(n=B(s,"noscroll")),o===null&&(o=B(s,"reload")),i===null&&(i=B(s,"replacestate")),s=ht(s);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Je[r??"off"],preload_data:Je[a??"off"],keepfocus:c(t),noscroll:c(n),reload:c(o),replace_state:c(i)}}function Xe(e){const t=Ne(e);let n=!0;function r(){n=!0,t.update(i=>i)}function a(i){n=!1,t.set(i)}function o(i){let s;return t.subscribe(c=>{(s===void 0||n&&c!==s)&&i(s=c)})}return{notify:r,set:a,subscribe:o}}const gt={v:()=>{}};function rn(){const{set:e,subscribe:t}=Ne(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${$t}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const i=(await a.json()).version!==tn;return i&&(e(!0),gt.v(),clearTimeout(n)),i}catch{return!1}}return{subscribe:t,check:r}}function be(e,t,n){return e.origin!==fe||!e.pathname.startsWith(t)?!0:n?!(e.pathname===t+"/"||e.protocol==="file:"&&e.pathname.replace(/\/[^/]+\.html?$/,"")===t):!1}function Ze(e){const t=on(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let a=0;a<n.byteLength;a++)r.setUint8(a,t.charCodeAt(a));return n}const an="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function on(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let a=0;a<e.length;a++)n<<=6,n|=an.indexOf(e[a]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const sn=-1,cn=-2,ln=-3,fn=-4,un=-5,dn=-6;function hn(e,t){if(typeof e=="number")return a(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function a(o,i=!1){if(o===sn)return;if(o===ln)return NaN;if(o===fn)return 1/0;if(o===un)return-1/0;if(o===dn)return-0;if(i)throw new Error("Invalid input");if(o in r)return r[o];const s=n[o];if(!s||typeof s!="object")r[o]=s;else if(Array.isArray(s))if(typeof s[0]=="string"){const c=s[0],l=t==null?void 0:t[c];if(l)return r[o]=l(a(s[1]));switch(c){case"Date":r[o]=new Date(s[1]);break;case"Set":const d=new Set;r[o]=d;for(let u=1;u<s.length;u+=1)d.add(a(s[u]));break;case"Map":const h=new Map;r[o]=h;for(let u=1;u<s.length;u+=2)h.set(a(s[u]),a(s[u+1]));break;case"RegExp":r[o]=new RegExp(s[1],s[2]);break;case"Object":r[o]=Object(s[1]);break;case"BigInt":r[o]=BigInt(s[1]);break;case"null":const y=Object.create(null);r[o]=y;for(let u=1;u<s.length;u+=2)y[s[u]]=a(s[u+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const u=globalThis[c],g=s[1],f=Ze(g),p=new u(f);r[o]=p;break}case"ArrayBuffer":{const u=s[1],g=Ze(u);r[o]=g;break}default:throw new Error(`Unknown type ${c}`)}}else{const c=new Array(s.length);r[o]=c;for(let l=0;l<s.length;l+=1){const d=s[l];d!==cn&&(c[l]=a(d))}}else{const c={};r[o]=c;for(const l in s){const d=s[l];c[l]=a(d)}}return r[o]}return a(0)}const mt=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...mt];const pn=new Set([...mt]);[...pn];function gn(e){return e.filter(t=>t!=null)}class ve{constructor(t,n){this.status=t,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class yt{constructor(t,n){this.status=t,this.location=n}}class $e extends Error{constructor(t,n,r){super(r),this.status=t,this.text=n}}const mn="x-sveltekit-invalidated",yn="x-sveltekit-trailing-slash";function he(e){return e instanceof ve||e instanceof $e?e.status:500}function wn(e){return e instanceof $e?e.text:"Internal Error"}let U,X,Le;const _n=Ye.toString().includes("$$")||/function \w+\(\) \{\}/.test(Ye.toString());var ee,te,ne,re,ae,oe,se,ie,at,ce,ot,le,st;_n?(U={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},X={current:null},Le={current:!1}):(U=new(at=class{constructor(){x(this,ee,C({}));x(this,te,C(null));x(this,ne,C(null));x(this,re,C({}));x(this,ae,C({id:null}));x(this,oe,C({}));x(this,se,C(-1));x(this,ie,C(new URL("https://example.com")))}get data(){return O(v(this,ee))}set data(t){N(v(this,ee),t)}get form(){return O(v(this,te))}set form(t){N(v(this,te),t)}get error(){return O(v(this,ne))}set error(t){N(v(this,ne),t)}get params(){return O(v(this,re))}set params(t){N(v(this,re),t)}get route(){return O(v(this,ae))}set route(t){N(v(this,ae),t)}get state(){return O(v(this,oe))}set state(t){N(v(this,oe),t)}get status(){return O(v(this,se))}set status(t){N(v(this,se),t)}get url(){return O(v(this,ie))}set url(t){N(v(this,ie),t)}},ee=new WeakMap,te=new WeakMap,ne=new WeakMap,re=new WeakMap,ae=new WeakMap,oe=new WeakMap,se=new WeakMap,ie=new WeakMap,at),X=new(ot=class{constructor(){x(this,ce,C(null))}get current(){return O(v(this,ce))}set current(t){N(v(this,ce),t)}},ce=new WeakMap,ot),Le=new(st=class{constructor(){x(this,le,C(!1))}get current(){return O(v(this,le))}set current(t){N(v(this,le),t)}},le=new WeakMap,st),gt.v=()=>Le.current=!0);function bn(e){Object.assign(U,e)}const vn=new Set(["icon","shortcut icon","apple-touch-icon"]),F=ct(ft)??{},Z=ct(lt)??{},$={url:Xe({}),page:Xe({}),navigating:Ne(null),updated:rn()};function De(e){F[e]=je()}function An(e,t){let n=e+1;for(;F[n];)delete F[n],n+=1;for(n=t+1;Z[n];)delete Z[n],n+=1}function H(e){return location.href=e.href,new Promise(()=>{})}async function wt(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(P||"/");e&&await e.update()}}function Qe(){}let Ae,Pe,pe,j,Ce,S;const _t=[],ge=[];let L=null;const bt=new Set,Sn=new Set,Y=new Set;let w={branch:[],error:null,url:null},Fe=!1,me=!1,et=!0,Q=!1,M=!1,vt=!1,Ve=!1,At,I,T,ye;const z=new Set;async function Vn(e,t,n){var a,o,i,s;document.URL!==location.href&&(location.href=location.href),S=e,await((o=(a=e.hooks).init)==null?void 0:o.call(a)),Ae=en(e),j=document.documentElement,Ce=t,Pe=e.nodes[0],pe=e.nodes[1],Pe(),pe(),I=(i=history.state)==null?void 0:i[q],T=(s=history.state)==null?void 0:s[J],I||(I=T=Date.now(),history.replaceState({...history.state,[q]:I,[J]:T},""));const r=F[I];r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y)),n?await xn(Ce,n):Ln(location.href,{replaceState:!0}),Tn()}function kn(){_t.length=0,Ve=!1}function St(e){ge.some(t=>t==null?void 0:t.snapshot)&&(Z[e]=ge.map(t=>{var n;return(n=t==null?void 0:t.snapshot)==null?void 0:n.capture()}))}function kt(e){var t;(t=Z[e])==null||t.forEach((n,r)=>{var a,o;(o=(a=ge[r])==null?void 0:a.snapshot)==null||o.restore(n)})}function tt(){De(I),ze(ft,F),St(T),ze(lt,Z)}async function Et(e,t,n,r){return K({type:"goto",url:dt(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:r,accept:()=>{t.invalidateAll&&(Ve=!0)}})}async function En(e){if(e.id!==(L==null?void 0:L.id)){const t={};z.add(t),L={id:e.id,token:t,promise:It({...e,preload:t}).then(n=>(z.delete(t),n.type==="loaded"&&n.state.error&&(L=null),n))}}return L.promise}async function Te(e){const t=Ae.find(n=>n.exec(Ut(e)));t&&await Promise.all([...t.layouts,t.leaf].map(n=>n==null?void 0:n[1]()))}function Rt(e,t,n){var o;w=e.state;const r=document.querySelector("style[data-sveltekit]");r&&r.remove(),Object.assign(U,e.props.page),At=new S.root({target:t,props:{...e.props,stores:$,components:ge},hydrate:n,sync:!1}),kt(T);const a={from:null,to:{params:w.params,route:{id:((o=w.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};Y.forEach(i=>i(a)),me=!0}function we({url:e,params:t,branch:n,status:r,error:a,route:o,form:i}){let s="never";if(P&&(e.pathname===P||e.pathname===P+"/"))s="always";else for(const u of n)(u==null?void 0:u.slash)!==void 0&&(s=u.slash);e.pathname=Dt(e.pathname,s),e.search=e.search;const c={type:"loaded",state:{url:e,params:t,branch:n,error:a,route:o},props:{constructors:gn(n).map(u=>u.node.component),page:He(U)}};i!==void 0&&(c.props.form=i);let l={},d=!U,h=0;for(let u=0;u<Math.max(n.length,w.branch.length);u+=1){const g=n[u],f=w.branch[u];(g==null?void 0:g.data)!==(f==null?void 0:f.data)&&(d=!0),g&&(l={...l,...g.data},d&&(c.props[`data_${h}`]=l),h+=1)}return(!w.url||e.href!==w.url.href||w.error!==a||i!==void 0&&i!==U.form||d)&&(c.props.page={error:a,params:t,route:{id:(o==null?void 0:o.id)??null},state:{},status:r,url:new URL(e),form:i??null,data:d?l:U.data}),c}async function Be({loader:e,parent:t,url:n,params:r,route:a,server_data_node:o}){var d,h,y;let i=null,s=!0;const c={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},l=await e();if((d=l.universal)!=null&&d.load){let u=function(...f){for(const p of f){const{href:A}=new URL(p,n);c.dependencies.add(A)}};const g={route:new Proxy(a,{get:(f,p)=>(s&&(c.route=!0),f[p])}),params:new Proxy(r,{get:(f,p)=>(s&&c.params.add(p),f[p])}),data:(o==null?void 0:o.data)??null,url:Bt(n,()=>{s&&(c.url=!0)},f=>{s&&c.search_params.add(f)},S.hash),async fetch(f,p){let A;f instanceof Request?(A=f.url,p={body:f.method==="GET"||f.method==="HEAD"?void 0:await f.blob(),cache:f.cache,credentials:f.credentials,headers:[...f.headers].length?f.headers:void 0,integrity:f.integrity,keepalive:f.keepalive,method:f.method,mode:f.mode,redirect:f.redirect,referrer:f.referrer,referrerPolicy:f.referrerPolicy,signal:f.signal,...p}):A=f;const E=new URL(A,n);return s&&u(E.href),E.origin===n.origin&&(A=E.href.slice(n.origin.length)),me?Yt(A,E.href,p):Wt(A,p)},setHeaders:()=>{},depends:u,parent(){return s&&(c.parent=!0),t()},untrack(f){s=!1;try{return f()}finally{s=!0}}};i=await l.universal.load.call(null,g)??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:((y=l.universal)==null?void 0:y.trailingSlash)??(o==null?void 0:o.slash)}}function nt(e,t,n,r,a,o){if(Ve)return!0;if(!a)return!1;if(a.parent&&e||a.route&&t||a.url&&n)return!0;for(const i of a.search_params)if(r.has(i))return!0;for(const i of a.params)if(o[i]!==w.params[i])return!0;for(const i of a.dependencies)if(_t.some(s=>s(new URL(i))))return!0;return!1}function qe(e,t){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?t??null:null}function Rn(e,t){if(!e)return new Set(t.searchParams.keys());const n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const r of n){const a=e.searchParams.getAll(r),o=t.searchParams.getAll(r);a.every(i=>o.includes(i))&&o.every(i=>a.includes(i))&&n.delete(r)}return n}function rt({error:e,url:t,route:n,params:r}){return{type:"loaded",state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:He(U),constructors:[]}}}async function It({id:e,invalidating:t,url:n,params:r,route:a,preload:o}){if((L==null?void 0:L.id)===e)return z.delete(L.token),L.promise;const{errors:i,layouts:s,leaf:c}=a,l=[...s,c];i.forEach(m=>m==null?void 0:m().catch(()=>{})),l.forEach(m=>m==null?void 0:m[1]().catch(()=>{}));let d=null;const h=w.url?e!==_e(w.url):!1,y=w.route?a.id!==w.route.id:!1,u=Rn(w.url,n);let g=!1;const f=l.map((m,_)=>{var D;const k=w.branch[_],R=!!(m!=null&&m[0])&&((k==null?void 0:k.loader)!==m[1]||nt(g,y,h,u,(D=k.server)==null?void 0:D.uses,r));return R&&(g=!0),R});if(f.some(Boolean)){try{d=await xt(n,f)}catch(m){const _=await G(m,{url:n,params:r,route:{id:e}});return z.has(o)?rt({error:_,url:n,params:r,route:a}):Se({status:he(m),error:_,url:n,route:a})}if(d.type==="redirect")return d}const p=d==null?void 0:d.nodes;let A=!1;const E=l.map(async(m,_)=>{var ke;if(!m)return;const k=w.branch[_],R=p==null?void 0:p[_];if((!R||R.type==="skip")&&m[1]===(k==null?void 0:k.loader)&&!nt(A,y,h,u,(ke=k.universal)==null?void 0:ke.uses,r))return k;if(A=!0,(R==null?void 0:R.type)==="error")throw R;return Be({loader:m[1],url:n,params:r,route:a,parent:async()=>{var Ke;const Me={};for(let Ee=0;Ee<_;Ee+=1)Object.assign(Me,(Ke=await E[Ee])==null?void 0:Ke.data);return Me},server_data_node:qe(R===void 0&&m[0]?{type:"skip"}:R??null,m[0]?k==null?void 0:k.server:void 0)})});for(const m of E)m.catch(()=>{});const b=[];for(let m=0;m<l.length;m+=1)if(l[m])try{b.push(await E[m])}catch(_){if(_ instanceof yt)return{type:"redirect",location:_.location};if(z.has(o))return rt({error:await G(_,{params:r,url:n,route:{id:a.id}}),url:n,params:r,route:a});let k=he(_),R;if(p!=null&&p.includes(_))k=_.status??k,R=_.error;else if(_ instanceof ve)R=_.body;else{if(await $.updated.check())return await wt(),await H(n);R=await G(_,{params:r,url:n,route:{id:a.id}})}const D=await In(m,b,i);return D?we({url:n,params:r,branch:b.slice(0,D.idx).concat(D.node),status:k,error:R,route:a}):await Tt(n,{id:a.id},R,k)}else b.push(void 0);return we({url:n,params:r,branch:b,status:200,error:null,route:a,form:t?void 0:null})}async function In(e,t,n){for(;e--;)if(n[e]){let r=e;for(;!t[r];)r-=1;try{return{idx:r+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function Se({status:e,error:t,url:n,route:r}){const a={};let o=null;if(S.server_loads[0]===0)try{const l=await xt(n,[!0]);if(l.type!=="data"||l.nodes[0]&&l.nodes[0].type!=="data")throw 0;o=l.nodes[0]??null}catch{(n.origin!==fe||n.pathname!==location.pathname||Fe)&&await H(n)}const s=await Be({loader:Pe,url:n,params:a,route:r,parent:()=>Promise.resolve({}),server_data_node:qe(o)}),c={node:await pe(),loader:pe,universal:null,server:null,data:null};return we({url:n,params:a,branch:[s,c],status:e,error:t,route:null})}function Ge(e,t){if(!e||be(e,P,S.hash))return;let n;try{if(n=S.hooks.reroute({url:new URL(e)})??e,typeof n=="string"){const a=new URL(e);S.hash?a.hash=n:a.pathname=n,n=a}}catch{return}const r=Ut(n);for(const a of Ae){const o=a.exec(r);if(o)return{id:_e(e),invalidating:t,route:a,params:Vt(o),url:e}}}function Ut(e){return Ft(S.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(P.length))||"/"}function _e(e){return(S.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function Lt({url:e,type:t,intent:n,delta:r}){let a=!1;const o=Ct(w,n,e,t);r!==void 0&&(o.navigation.delta=r);const i={...o.navigation,cancel:()=>{a=!0,o.reject(new Error("navigation cancelled"))}};return Q||bt.forEach(s=>s(i)),a?null:o}async function K({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:o,state:i={},redirect_count:s=0,nav_token:c={},accept:l=Qe,block:d=Qe}){const h=Ge(t,!1),y=Lt({url:t,type:e,delta:n==null?void 0:n.delta,intent:h});if(!y){d();return}const u=I,g=T;l(),Q=!0,me&&$.navigating.set(X.current=y.navigation),ye=c;let f=h&&await It(h);if(!f){if(be(t,P,S.hash))return await H(t);f=await Tt(t,{id:null},await G(new $e(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404)}if(t=(h==null?void 0:h.url)||t,ye!==c)return y.reject(new Error("navigation aborted")),!1;if(f.type==="redirect")if(s>=20)f=await Se({status:500,error:await G(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}});else return Et(new URL(f.location,t).href,{},s+1,c),!1;else f.props.page.status>=400&&await $.updated.check()&&(await wt(),await H(t));if(kn(),De(u),St(g),f.props.page.url.pathname!==t.pathname&&(t.pathname=f.props.page.url.pathname),i=n?n.state:i,!n){const b=o?0:1,m={[q]:I+=b,[J]:T+=b,[ut]:i};(o?history.replaceState:history.pushState).call(history,m,"",t),o||An(I,T)}if(L=null,f.props.page.state=i,me){w=f.state,f.props.page&&(f.props.page.url=t);const b=(await Promise.all(Array.from(Sn,m=>m(y.navigation)))).filter(m=>typeof m=="function");if(b.length>0){let m=function(){b.forEach(_=>{Y.delete(_)})};b.push(m),b.forEach(_=>{Y.add(_)})}At.$set(f.props),bn(f.props.page),vt=!0}else Rt(f,Ce,!1);const{activeElement:p}=document;await jt();const A=n?n.scroll:a?je():null;if(et){const b=t.hash&&document.getElementById(decodeURIComponent(S.hash?t.hash.split("#")[2]??"":t.hash.slice(1)));A?scrollTo(A.x,A.y):b?b.scrollIntoView():scrollTo(0,0)}const E=document.activeElement!==p&&document.activeElement!==document.body;!r&&!E&&Pn(),et=!0,f.props.page&&Object.assign(U,f.props.page),Q=!1,e==="popstate"&&kt(T),y.fulfil(void 0),Y.forEach(b=>b(y.navigation)),$.navigating.set(X.current=null)}async function Tt(e,t,n,r){return e.origin===fe&&e.pathname===location.pathname&&!Fe?await Se({status:r,error:n,url:e,route:t}):await H(e)}function Un(){let e;j.addEventListener("mousemove",o=>{const i=o.target;clearTimeout(e),e=setTimeout(()=>{r(i,2)},20)});function t(o){o.defaultPrevented||r(o.composedPath()[0],1)}j.addEventListener("mousedown",t),j.addEventListener("touchstart",t,{passive:!0});const n=new IntersectionObserver(o=>{for(const i of o)i.isIntersecting&&(Te(new URL(i.target.href)),n.unobserve(i.target))},{threshold:0});function r(o,i){const s=pt(o,j);if(!s)return;const{url:c,external:l,download:d}=xe(s,P,S.hash);if(l||d)return;const h=de(s),y=c&&_e(w.url)===_e(c);if(!h.reload&&!y)if(i<=h.preload_data){const u=Ge(c,!1);u&&En(u)}else i<=h.preload_code&&Te(c)}function a(){n.disconnect();for(const o of j.querySelectorAll("a")){const{url:i,external:s,download:c}=xe(o,P,S.hash);if(s||c)continue;const l=de(o);l.reload||(l.preload_code===ue.viewport&&n.observe(o),l.preload_code===ue.eager&&Te(i))}}Y.add(a),a()}function G(e,t){if(e instanceof ve)return e.body;const n=he(e),r=wn(e);return S.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function Ln(e,t={}){return e=new URL(dt(e)),e.origin!==fe?Promise.reject(new Error("goto: invalid URL")):Et(e,t,0)}function Tn(){var t;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let r=!1;if(tt(),!Q){const a=Ct(w,void 0,null,"leave"),o={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};bt.forEach(i=>i(o))}r?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&tt()}),(t=navigator.connection)!=null&&t.saveData||Un(),j.addEventListener("click",async n=>{if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const r=pt(n.composedPath()[0],j);if(!r)return;const{url:a,external:o,target:i,download:s}=xe(r,P,S.hash);if(!a)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const c=de(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||s)return;const[d,h]=(S.hash?a.hash.replace(/^#/,""):a.href).split("#"),y=d===Ie(location);if(o||c.reload&&(!y||!h)){Lt({url:a,type:"link"})?Q=!0:n.preventDefault();return}if(h!==void 0&&y){const[,u]=w.url.href.split("#");if(u===h){if(n.preventDefault(),h===""||h==="top"&&r.ownerDocument.getElementById("top")===null)window.scrollTo({top:0});else{const g=r.ownerDocument.getElementById(decodeURIComponent(h));g&&(g.scrollIntoView(),g.focus())}return}if(M=!0,De(I),e(a),!c.replace_state)return;M=!1}n.preventDefault(),await new Promise(u=>{requestAnimationFrame(()=>{setTimeout(u,0)}),setTimeout(u,100)}),K({type:"link",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href})}),j.addEventListener("submit",n=>{if(n.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formTarget)||r.target)==="_blank"||((a==null?void 0:a.formMethod)||r.method)!=="get")return;const s=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(be(s,P,!1))return;const c=n.target,l=de(c);if(l.reload)return;n.preventDefault(),n.stopPropagation();const d=new FormData(c),h=a==null?void 0:a.getAttribute("name");h&&d.append(h,(a==null?void 0:a.getAttribute("value"))??""),s.search=new URLSearchParams(d).toString(),K({type:"form",url:s,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??s.href===location.href})}),addEventListener("popstate",async n=>{var r;if((r=n.state)!=null&&r[q]){const a=n.state[q];if(ye={},a===I)return;const o=F[a],i=n.state[ut]??{},s=new URL(n.state[nn]??location.href),c=n.state[J],l=Ie(location)===Ie(w.url);if(c===T&&(vt||l)){i!==U.state&&(U.state=i),e(s),F[I]=je(),o&&scrollTo(o.x,o.y),I=a;return}const h=a-I;await K({type:"popstate",url:s,popped:{state:i,scroll:o,delta:h},accept:()=>{I=a,T=c},block:()=>{history.go(-h)},nav_token:ye})}else if(!M){const a=new URL(location.href);e(a)}}),addEventListener("hashchange",()=>{M?(M=!1,history.replaceState({...history.state,[q]:++I,[J]:T},"",location.href)):S.hash&&w.url.hash===location.hash&&K({type:"goto",url:w.url})});for(const n of document.querySelectorAll("link"))vn.has(n.rel)&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&$.navigating.set(X.current=null)});function e(n){w.url=U.url=n,$.page.set(He(U)),$.page.notify()}}async function xn(e,{status:t=200,error:n,node_ids:r,params:a,route:o,data:i,form:s}){Fe=!0;const c=new URL(location.href);({params:a={},route:o={id:null}}=Ge(c,!1)||{});let l,d=!0;try{const h=r.map(async(g,f)=>{const p=i[f];return p!=null&&p.uses&&(p.uses=Pt(p.uses)),Be({loader:S.nodes[g],url:c,params:a,route:o,parent:async()=>{const A={};for(let E=0;E<f;E+=1)Object.assign(A,(await h[E]).data);return A},server_data_node:qe(p)})}),y=await Promise.all(h),u=Ae.find(({id:g})=>g===o.id);if(u){const g=u.layouts;for(let f=0;f<g.length;f++)g[f]||y.splice(f,0,void 0)}l=we({url:c,params:a,branch:y,status:t,error:n,form:s,route:u??null})}catch(h){if(h instanceof yt){await H(new URL(h.location,location.href));return}l=await Se({status:he(h),error:await G(h,{url:c,params:a,route:o}),url:c,route:o}),e.textContent="",d=!1}l.props.page&&(l.props.page.state={}),Rt(l,e,d)}async function xt(e,t){var a;const n=new URL(e);n.pathname=Ht(e.pathname),e.pathname.endsWith("/")&&n.searchParams.append(yn,"1"),n.searchParams.append(mn,t.map(o=>o?"1":"0").join(""));const r=await it(n.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 ve(r.status,o)}return new Promise(async o=>{var h;const i=new Map,s=r.body.getReader(),c=new TextDecoder;function l(y){return hn(y,{...S.decoders,Promise:u=>new Promise((g,f)=>{i.set(u,{fulfil:g,reject:f})})})}let d="";for(;;){const{done:y,value:u}=await s.read();if(y&&!d)break;for(d+=!u&&d?`
|
|
2
|
-
`:c.decode(u,{stream:!0});;){const g=d.indexOf(`
|
|
3
|
-
`);if(g===-1)break;const f=JSON.parse(d.slice(0,g));if(d=d.slice(g+1),f.type==="redirect")return o(f);if(f.type==="data")(h=f.nodes)==null||h.forEach(p=>{(p==null?void 0:p.type)==="data"&&(p.uses=Pt(p.uses),p.data=l(p.data))}),o(f);else if(f.type==="chunk"){const{id:p,data:A,error:E}=f,b=i.get(p);i.delete(p),E?b.reject(l(E)):b.fulfil(l(A))}}}})}function Pt(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 Pn(){const e=document.querySelector("[autofocus]");if(e)e.focus();else{const t=document.body,n=t.getAttribute("tabindex");t.tabIndex=-1,t.focus({preventScroll:!0,focusVisible:!1}),n!==null?t.setAttribute("tabindex",n):t.removeAttribute("tabindex");const r=getSelection();if(r&&r.type!=="None"){const a=[];for(let o=0;o<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 Ct(e,t,n,r){var c,l;let a,o;const i=new Promise((d,h)=>{a=d,o=h});return i.catch(()=>{}),{navigation:{from:{params:e.params,route:{id:((c=e.route)==null?void 0:c.id)??null},url:e.url},to:n&&{params:(t==null?void 0:t.params)??null,route:{id:((l=t==null?void 0:t.route)==null?void 0:l.id)??null},url:n},willUnload:!t,type:r,complete:i},fulfil:a,reject:o}}function He(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}export{ve as H,Vn as a,Ln as g,U as p,$ as s,Le as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as t,v as u,e as l,f as o}from"./runtime.B89ySwNM.js";function c(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function a(e){t===null&&c(),u&&t.l!==null?i(t).m.push(e):l(()=>{const n=o(e);if(typeof n=="function")return n})}function s(e){t===null&&c(),a(()=>()=>o(e))}function i(e){var n=e.l;return n.u??(n.u={a:[],b:[],m:[]})}export{s as a,a as o};
|