@selvajs/selva 4.20.0-beta.28 → 4.20.0-beta.29
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/build/adapter-node.js +1 -1
- package/build/client/_app/immutable/assets/0.DwB0QWdx.css +2 -0
- package/build/client/_app/immutable/assets/0.DwB0QWdx.css.br +0 -0
- package/build/client/_app/immutable/assets/0.DwB0QWdx.css.gz +0 -0
- package/build/client/_app/immutable/assets/21.CZQvs3vE.css +1 -0
- package/build/client/_app/immutable/assets/21.CZQvs3vE.css.br +0 -0
- package/build/client/_app/immutable/assets/21.CZQvs3vE.css.gz +0 -0
- package/build/client/_app/immutable/chunks/6oDkMEbX.js +6056 -0
- package/build/client/_app/immutable/chunks/6oDkMEbX.js.br +0 -0
- package/build/client/_app/immutable/chunks/6oDkMEbX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B9IvNrzX.js +1 -0
- package/build/client/_app/immutable/chunks/B9IvNrzX.js.br +1 -0
- package/build/client/_app/immutable/chunks/B9IvNrzX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{B8sELCD1.js → C6Y_BUwr.js} +1 -1
- package/build/client/_app/immutable/chunks/C6Y_BUwr.js.br +0 -0
- package/build/client/_app/immutable/chunks/C6Y_BUwr.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CV8nlyG8.js → CzfnuBzq.js} +1 -1
- package/build/client/_app/immutable/chunks/CzfnuBzq.js.br +0 -0
- package/build/client/_app/immutable/chunks/CzfnuBzq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DQsP4nZb.js +1 -0
- package/build/client/_app/immutable/chunks/DQsP4nZb.js.br +0 -0
- package/build/client/_app/immutable/chunks/DQsP4nZb.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{B54S3nTL.js → DVcao28H.js} +1 -1
- package/build/client/_app/immutable/chunks/DVcao28H.js.br +0 -0
- package/build/client/_app/immutable/chunks/DVcao28H.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DNn0nzek.js → DbTdXFSI.js} +1 -1
- package/build/client/_app/immutable/chunks/DbTdXFSI.js.br +0 -0
- package/build/client/_app/immutable/chunks/DbTdXFSI.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DnJObvmm.js +1 -0
- package/build/client/_app/immutable/chunks/DnJObvmm.js.br +0 -0
- package/build/client/_app/immutable/chunks/DnJObvmm.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{jZMNULqI.js → DyqtDkQe.js} +1 -1
- package/build/client/_app/immutable/chunks/DyqtDkQe.js.br +0 -0
- package/build/client/_app/immutable/chunks/DyqtDkQe.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.q5GmHZh7.js +2 -0
- package/build/client/_app/immutable/entry/app.q5GmHZh7.js.br +0 -0
- package/build/client/_app/immutable/entry/app.q5GmHZh7.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{1.DFtA_OEY.js → 1.D3kiiIk_.js} +1 -1
- package/build/client/_app/immutable/nodes/1.D3kiiIk_.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.D3kiiIk_.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{2.CkTe-0F-.js → 2.c6X0ddnS.js} +1 -1
- package/build/client/_app/immutable/nodes/2.c6X0ddnS.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.c6X0ddnS.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{20.ClCOkXtk.js → 20.CyrNl6i7.js} +1 -1
- package/build/client/_app/immutable/nodes/20.CyrNl6i7.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.CyrNl6i7.js.gz +0 -0
- package/build/client/_app/immutable/nodes/21._AcAMXtP.js +1 -0
- package/build/client/_app/immutable/nodes/21._AcAMXtP.js.br +0 -0
- package/build/client/_app/immutable/nodes/21._AcAMXtP.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{22.3c2Ar-_L.js → 22.q4pJo1Ec.js} +4 -4
- package/build/client/_app/immutable/nodes/22.q4pJo1Ec.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.q4pJo1Ec.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{25.C-dvoLm5.js → 25.DW1_vMxq.js} +1 -1
- package/build/client/_app/immutable/nodes/25.DW1_vMxq.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.DW1_vMxq.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{3.CLRvY4Pw.js → 3.3Z4QUsQQ.js} +1 -1
- package/build/client/_app/immutable/nodes/3.3Z4QUsQQ.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.3Z4QUsQQ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{5.Ce6v0yql.js → 5.Ck6I7GRI.js} +1 -1
- package/build/client/_app/immutable/nodes/5.Ck6I7GRI.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.Ck6I7GRI.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{6.TFeDtO3j.js → 6.BiSiWLjz.js} +1 -1
- package/build/client/_app/immutable/nodes/6.BiSiWLjz.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.BiSiWLjz.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{7.CTdUnooR.js → 7.OTA16TkX.js} +1 -1
- package/build/client/_app/immutable/nodes/7.OTA16TkX.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.OTA16TkX.js.gz +0 -0
- package/build/client/_app/version.json +1 -1
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/server/.vite/manifest.json +2 -2
- package/build/server/_app/immutable/assets/_layout.DwB0QWdx.css +2 -0
- package/build/server/_app/immutable/assets/_page.BLIssNhc.css +1 -0
- package/build/server/chunks/handlers.js +3 -1
- package/build/server/chunks/handlers.js.map +1 -1
- package/build/server/chunks/instance.js +3 -3
- package/build/server/chunks/internal.js +1 -1
- package/build/server/chunks/localeContext.svelte.js +6 -0
- package/build/server/chunks/localeContext.svelte.js.map +1 -1
- package/build/server/chunks/package.js +1 -1
- package/build/server/chunks/package.js.map +1 -1
- package/build/server/chunks/providers.server.js +23 -3
- package/build/server/chunks/providers.server.js.map +1 -1
- package/build/server/chunks/server-config-write.js +27 -1
- package/build/server/chunks/server-config-write.js.map +1 -1
- package/build/server/entries/endpoints/api/admin/compute/_server.ts.js +2 -1
- package/build/server/entries/endpoints/api/admin/compute/_server.ts.js.map +1 -1
- package/build/server/entries/pages/library/_guid_/_page.svelte.js +6521 -6124
- package/build/server/entries/pages/library/_guid_/_page.svelte.js.map +1 -1
- package/build/server/manifest-full.js +1 -1
- package/build/server/manifest.js +1 -1
- package/build/server/nodes/0.js +2 -2
- package/build/server/nodes/1.js +1 -1
- package/build/server/nodes/2.js +1 -1
- package/build/server/nodes/20.js +1 -1
- package/build/server/nodes/21.js +2 -2
- package/build/server/nodes/22.js +1 -1
- package/build/server/nodes/25.js +1 -1
- package/build/server/nodes/3.js +1 -1
- package/build/server/nodes/5.js +1 -1
- package/build/server/nodes/6.js +1 -1
- package/build/server/nodes/7.js +1 -1
- package/build/server/server.js +1 -1
- package/package.json +6 -6
- package/build/client/_app/immutable/assets/0.EoCnujqq.css +0 -2
- package/build/client/_app/immutable/assets/0.EoCnujqq.css.br +0 -0
- package/build/client/_app/immutable/assets/0.EoCnujqq.css.gz +0 -0
- package/build/client/_app/immutable/assets/21.Dy4MSSQ0.css +0 -1
- package/build/client/_app/immutable/assets/21.Dy4MSSQ0.css.br +0 -0
- package/build/client/_app/immutable/assets/21.Dy4MSSQ0.css.gz +0 -0
- package/build/client/_app/immutable/chunks/B54S3nTL.js.br +0 -0
- package/build/client/_app/immutable/chunks/B54S3nTL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B8sELCD1.js.br +0 -0
- package/build/client/_app/immutable/chunks/B8sELCD1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CV8nlyG8.js.br +0 -0
- package/build/client/_app/immutable/chunks/CV8nlyG8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CY_Y3bcW.js +0 -1
- package/build/client/_app/immutable/chunks/CY_Y3bcW.js.br +0 -0
- package/build/client/_app/immutable/chunks/CY_Y3bcW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DNn0nzek.js.br +0 -0
- package/build/client/_app/immutable/chunks/DNn0nzek.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DkJKKB94.js +0 -1
- package/build/client/_app/immutable/chunks/DkJKKB94.js.br +0 -1
- package/build/client/_app/immutable/chunks/DkJKKB94.js.gz +0 -0
- package/build/client/_app/immutable/chunks/XiGvLmZI.js +0 -5906
- package/build/client/_app/immutable/chunks/XiGvLmZI.js.br +0 -0
- package/build/client/_app/immutable/chunks/XiGvLmZI.js.gz +0 -0
- package/build/client/_app/immutable/chunks/jZMNULqI.js.br +0 -0
- package/build/client/_app/immutable/chunks/jZMNULqI.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.C4Xhz1j-.js +0 -2
- package/build/client/_app/immutable/entry/app.C4Xhz1j-.js.br +0 -0
- package/build/client/_app/immutable/entry/app.C4Xhz1j-.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.DFtA_OEY.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.DFtA_OEY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.CkTe-0F-.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.CkTe-0F-.js.gz +0 -0
- package/build/client/_app/immutable/nodes/20.ClCOkXtk.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.ClCOkXtk.js.gz +0 -0
- package/build/client/_app/immutable/nodes/21.j2ZNmKE0.js +0 -1
- package/build/client/_app/immutable/nodes/21.j2ZNmKE0.js.br +0 -1
- package/build/client/_app/immutable/nodes/21.j2ZNmKE0.js.gz +0 -0
- package/build/client/_app/immutable/nodes/22.3c2Ar-_L.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.3c2Ar-_L.js.gz +0 -0
- package/build/client/_app/immutable/nodes/25.C-dvoLm5.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.C-dvoLm5.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.CLRvY4Pw.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.CLRvY4Pw.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.Ce6v0yql.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.Ce6v0yql.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.TFeDtO3j.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.TFeDtO3j.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.CTdUnooR.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.CTdUnooR.js.gz +0 -0
- package/build/server/_app/immutable/assets/_layout.EoCnujqq.css +0 -2
- package/build/server/_app/immutable/assets/_page.BD9df-LS.css +0 -1
- /package/build/client/_app/immutable/nodes/{0.DTKs7-tx.js → 0.CC0wt5QB.js} +0 -0
- /package/build/client/_app/immutable/nodes/{0.DTKs7-tx.js.br → 0.CC0wt5QB.js.br} +0 -0
- /package/build/client/_app/immutable/nodes/{0.DTKs7-tx.js.gz → 0.CC0wt5QB.js.gz} +0 -0
|
@@ -213,7 +213,7 @@ function server_data_serializer(event, state) {
|
|
|
213
213
|
let promise_id = 1;
|
|
214
214
|
let max_nodes = -1;
|
|
215
215
|
const iterator = create_async_iterator();
|
|
216
|
-
const global = "
|
|
216
|
+
const global = "__sveltekit_u0fuka";
|
|
217
217
|
/** @param {number} index */
|
|
218
218
|
function get_replacer(index) {
|
|
219
219
|
/** @param {any} thing */
|
|
@@ -1443,7 +1443,7 @@ async function render_response({ branch, fetched, page_config, status, error = n
|
|
|
1443
1443
|
"crossorigin"
|
|
1444
1444
|
]);
|
|
1445
1445
|
}
|
|
1446
|
-
const global = "
|
|
1446
|
+
const global = "__sveltekit_u0fuka";
|
|
1447
1447
|
const { data, chunks } = data_serializer.get_data(csp);
|
|
1448
1448
|
if (page_config.ssr && page_config.csr) body += `\n\t\t\t${fetched.map((item) => serialize_data(item, resolve_opts.filterSerializedResponseHeaders, !!(state.prerendering || state.prerender_default === true))).join("\n ")}`;
|
|
1449
1449
|
if (page_config.csr && client) {
|
|
@@ -1467,7 +1467,7 @@ async function render_response({ branch, fetched, page_config, status, error = n
|
|
|
1467
1467
|
}
|
|
1468
1468
|
}
|
|
1469
1469
|
const blocks = [];
|
|
1470
|
-
const properties = [`base: ${base_expression}`, `version: ${s("
|
|
1470
|
+
const properties = [`base: ${base_expression}`, `version: ${s("1793889498618")}`];
|
|
1471
1471
|
if (assets) properties.push(`assets: ${s(assets)}`);
|
|
1472
1472
|
if (client.uses_env_dynamic_public) properties.push(`env: ${load_env_eagerly ? "null" : uneval$1(rendered_env)}`);
|
|
1473
1473
|
if (chunks) {
|
|
@@ -2363,7 +2363,7 @@ function redirect_response(status, location) {
|
|
|
2363
2363
|
* @param {Response} response
|
|
2364
2364
|
*/
|
|
2365
2365
|
function with_version_header(response) {
|
|
2366
|
-
response.headers.set("x-sveltekit-version", "
|
|
2366
|
+
response.headers.set("x-sveltekit-version", "1793889498618");
|
|
2367
2367
|
return response;
|
|
2368
2368
|
}
|
|
2369
2369
|
/**
|
|
@@ -56,6 +56,8 @@ var VIEWER_MESSAGES = {
|
|
|
56
56
|
solveMessagesEscHint: "Esc aborts the solve",
|
|
57
57
|
solveMessagesDismiss: "Dismiss",
|
|
58
58
|
solveSolving: "Solving…",
|
|
59
|
+
solveDone: "Done",
|
|
60
|
+
solveStopped: "Stopped",
|
|
59
61
|
parametersTab: "Parameters",
|
|
60
62
|
moreTab: "More",
|
|
61
63
|
scrollTabsBack: "Previous tabs",
|
|
@@ -169,6 +171,7 @@ var VIEWER_MESSAGES = {
|
|
|
169
171
|
copied: "Copied!",
|
|
170
172
|
chartReceiving: "Receiving chart data...",
|
|
171
173
|
chartRenderFailed: "Failed to render chart",
|
|
174
|
+
downloadChartImage: "Download plot as image",
|
|
172
175
|
fullscreenUnavailable: "Fullscreen unavailable: {error}",
|
|
173
176
|
exitFullscreenFailed: "Exit fullscreen failed: {error}",
|
|
174
177
|
imageViewer: "image viewer",
|
|
@@ -240,6 +243,8 @@ var VIEWER_MESSAGES = {
|
|
|
240
243
|
solveMessagesEscHint: "Esc bricht die Berechnung ab",
|
|
241
244
|
solveMessagesDismiss: "Schliessen",
|
|
242
245
|
solveSolving: "Berechnung läuft…",
|
|
246
|
+
solveDone: "Fertig",
|
|
247
|
+
solveStopped: "Abgebrochen",
|
|
243
248
|
parametersTab: "Parameter",
|
|
244
249
|
moreTab: "Mehr",
|
|
245
250
|
scrollTabsBack: "Vorherige Tabs",
|
|
@@ -353,6 +358,7 @@ var VIEWER_MESSAGES = {
|
|
|
353
358
|
copied: "Kopiert!",
|
|
354
359
|
chartReceiving: "Diagrammdaten werden empfangen…",
|
|
355
360
|
chartRenderFailed: "Diagramm konnte nicht dargestellt werden",
|
|
361
|
+
downloadChartImage: "Diagramm als Bild herunterladen",
|
|
356
362
|
fullscreenUnavailable: "Vollbild nicht verfügbar: {error}",
|
|
357
363
|
exitFullscreenFailed: "Vollbild konnte nicht beendet werden: {error}",
|
|
358
364
|
imageViewer: "Bildbetrachter",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"localeContext.svelte.js","names":[],"sources":["../../../../ui/src/lib/i18n/messages.ts","../../../../ui/src/lib/i18n/localeContext.svelte.ts"],"sourcesContent":["// ============================================================================\n// Viewer message catalog (library-owned strings)\n// ============================================================================\n//\n// Only the strings @selvajs/ui renders itself. Names coming from a Grasshopper\n// definition — meshes, layers, metadata keys — live in the user's .gh file and\n// cannot be translated here.\n//\n// A `{name}` in a message is a placeholder the component fills in. Pairs ending in\n// `One`/`Other` are the singular and plural forms of one message.\n\nexport type Locale = 'en' | 'de';\n\nexport interface ViewerMessages {\n\t// Tools menu\n\ttoolsMenu: string;\n\tswitchToOrthographic: string;\n\tswitchToPerspective: string;\n\tfitToView: string;\n\tviews: string;\n\tmeasure: string;\n\tgrid: string;\n\tdisplay: string;\n\tedges: string;\n\tsceneManager: string;\n\tscreenshot: string;\n\tfullscreen: string;\n\texitFullscreen: string;\n\n\t// View presets\n\tviewTop: string;\n\tviewFront: string;\n\tviewRight: string;\n\tviewBack: string;\n\tviewLeft: string;\n\tviewBottom: string;\n\tviewIso: string;\n\n\t// Display looks\n\tlookTechnical: string;\n\tlookStudio: string;\n\tlookShowcase: string;\n\tlookNight: string;\n\tnightMode: string;\n\tlookArctic: string;\n\tlookXray: string;\n\tlookLineart: string;\n\tlookWireframe: string;\n\n\t// Scene manager\n\tsearchObjects: string;\n\tclearSearch: string;\n\texpandLayer: string;\n\tcollapseLayer: string;\n\texpandAll: string;\n\tcollapseAll: string;\n\tshowLayer: string;\n\thideLayer: string;\n\tshowObject: string;\n\thideObject: string;\n\tnoObjects: string;\n\t/** `{query}` is replaced with the current search text. */\n\tnoResultsFor: string;\n\n\t// Metadata dialog\n\tobjectFallbackName: string;\n\tnoMetadata: string;\n\n\t// App layout / compute shell\n\tloadingSchema: string;\n\tsolveBlocked: string;\n\tsolveBlockedTitle: string;\n\tsolveMessagesTitle: string;\n\tsolveMessagesDescription: string;\n\tsolveMessagesConfirm: string;\n\tsolveMessagesDiscard: string;\n\tsolveMessagesAbort: string;\n\t/** Stands in for Abort where the page can't take a click mid-solve. */\n\tsolveMessagesEscHint: string;\n\tsolveMessagesDismiss: string;\n\tsolveSolving: string;\n\tparametersTab: string;\n\tmoreTab: string;\n\tscrollTabsBack: string;\n\tscrollTabsForward: string;\n\t/** `{side}` is replaced with `panelSideLeft` / `panelSideRight`. */\n\texpandSidePanel: string;\n\tpanelSideLeft: string;\n\tpanelSideRight: string;\n\ttabNoGroups: string;\n\n\t// Solve controls\n\tsolving: string;\n\tsolvingEllipsis: string;\n\tsolvingSubtitle: string;\n\tpressToCalculate: string;\n\tcalculate: string;\n\tupToDate: string;\n\t/** The panel footer's ⋯ menu: saving and loading inputs, plus the host's own actions. */\n\tmoreActions: string;\n\t/** Under a menu action that solves before it runs, while the inputs have changed. */\n\tcalculatesFirst: string;\n\n\t// Footer and message centre\n\t/** `{count}` is replaced with the number of errors. */\n\terrorCountOne: string;\n\terrorCountOther: string;\n\t/** `{count}` is replaced with the number of warnings. */\n\twarningCountOne: string;\n\twarningCountOther: string;\n\t/** `{count}` is replaced with the number of notes. */\n\tnoteCountOne: string;\n\tnoteCountOther: string;\n\t/** `{count}` is replaced with the number of messages. */\n\tlastSolveMessagesOne: string;\n\tlastSolveMessagesOther: string;\n\tmessagesTitle: string;\n\t/** `{name}` is replaced with the copyright holder, `{year}` with the current year. */\n\tcopyright: string;\n\tclose: string;\n\ttoggleTheme: string;\n\terrorTitle: string;\n\tgoHome: string;\n\n\t// Input fields\n\tselectOption: string;\n\tnoOptionsYet: string;\n\t/** `{min}` is replaced with the field's minimum. */\n\tminValue: string;\n\t/** `{max}` is replaced with the field's maximum. */\n\tmaxValue: string;\n\tfineDragHint: string;\n\t/** `{max}` is replaced with the field's character limit. */\n\tmaxLength: string;\n\tinvalidFormat: string;\n\t/** Trigger label; `{color}` is the current hex value. */\n\tcolorPick: string;\n\tcolorArea: string;\n\t/** `{s}` and `{v}` are percentages. */\n\tcolorAreaValue: string;\n\tcolorHue: string;\n\tcolorHex: string;\n\tcolorHexInvalid: string;\n\tcolorPresets: string;\n\tcolorEyedropper: string;\n\tinvalidPattern: string;\n\n\t// Geometry input (Rhino only)\n\t/** The pick button when the input takes several kinds of object. */\n\tgeometryPickAnyOne: string;\n\tgeometryPickAnyOther: string;\n\t/** Shown while Rhino's viewport prompt for a pick is open. */\n\tgeometryPicking: string;\n\t/** Where this page may not pick, such as a browser tab beside the Rhino panel. */\n\tgeometryPickInPanel: string;\n\tgeometryPickAgain: string;\n\tgeometryClear: string;\n\t// The pick button when the input takes one kind: `One` picks a single object, `Other` several.\n\tgeometryPickPointOne: string;\n\tgeometryPickPointOther: string;\n\tgeometryPickPointCloudOne: string;\n\tgeometryPickPointCloudOther: string;\n\tgeometryPickCurveOne: string;\n\tgeometryPickCurveOther: string;\n\tgeometryPickLineOne: string;\n\tgeometryPickLineOther: string;\n\tgeometryPickPlaneOne: string;\n\tgeometryPickPlaneOther: string;\n\tgeometryPickSurfaceOne: string;\n\tgeometryPickSurfaceOther: string;\n\tgeometryPickPolysurfaceOne: string;\n\tgeometryPickPolysurfaceOther: string;\n\tgeometryPickExtrusionOne: string;\n\tgeometryPickExtrusionOther: string;\n\tgeometryPickMeshOne: string;\n\tgeometryPickMeshOther: string;\n\tgeometryPickSubdOne: string;\n\tgeometryPickSubdOther: string;\n\tgeometryPickBlockOne: string;\n\tgeometryPickBlockOther: string;\n\n\t// File input\n\tfileModeUpload: string;\n\tfileModeUrl: string;\n\tfileUrlLabel: string;\n\tfetchFile: string;\n\tfetchingFile: string;\n\tfileUrlPublic: string;\n\tchooseFile: string;\n\t/** `{formats}` is replaced with the accepted extensions. */\n\tacceptedFormats: string;\n\t/** `{ext}` is replaced with the file's extension. */\n\tuploadedFile: string;\n\t/** `{ext}` is replaced with the file's extension, `{size}` with its size in MB. */\n\tuploadedFileSize: string;\n\t/** `{ext}` is replaced with the file's extension, `{size}` with its size in KB. */\n\tfileLoaded: string;\n\turlInvalid: string;\n\turlProtocolUnsupported: string;\n\t/** `{status}` is replaced with the HTTP status the server answered with. */\n\turlServerError: string;\n\t/** `{ext}` is replaced with the rejected extension, `{formats}` with the accepted ones. */\n\tfileFormatNotAccepted: string;\n\t/** `{size}` is replaced with the file's size in MB, `{max}` with the limit in MB. */\n\tfileTooLarge: string;\n\tfileTooLargeUseUpload: string;\n\tfileReadFailed: string;\n\t/** `{host}` is replaced with the URL's host name. */\n\turlUnreachable: string;\n\turlUnreachableHint: string;\n\turlHintSharePoint: string;\n\turlHintGoogleDrive: string;\n\turlHintDropbox: string;\n\tunknownError: string;\n\n\t// Outputs\n\twaitingForData: string;\n\twaitingForFiles: string;\n\t/** `{count}` is replaced with the number of files. */\n\tfileCount: string;\n\tduplicateFilesTitle: string;\n\tduplicatePathsOne: string;\n\tduplicatePathsOther: string;\n\tduplicateFilesHint: string;\n\tdownloadFile: string;\n\t/** `{count}` is replaced with the number of files. */\n\tdownloadFiles: string;\n\tdownloading: string;\n\tdownloadFailed: string;\n\tcopy: string;\n\tcopied: string;\n\tchartReceiving: string;\n\tchartRenderFailed: string;\n\t/** `{error}` is replaced with the browser's reason. */\n\tfullscreenUnavailable: string;\n\t/** `{error}` is replaced with the browser's reason. */\n\texitFullscreenFailed: string;\n\n\t// Image output\n\timageViewer: string;\n\timageLoading: string;\n\t/** `{ext}` is replaced with the file's extension, `{formats}` with the supported ones. */\n\timageUnsupported: string;\n\timageUnknownFormat: string;\n\t/** `{file}` is replaced with the file's name. */\n\timageDecodeFailed: string;\n\tpreviousImage: string;\n\tnextImage: string;\n\tzoomHint: string;\n\tzoomIn: string;\n\tzoomOut: string;\n\tzoomFit: string;\n\tzoomActual: string;\n\tdownloadImage: string;\n}\n\nconst en: ViewerMessages = {\n\ttoolsMenu: 'Viewer tools',\n\tswitchToOrthographic: 'Orthographic camera',\n\tswitchToPerspective: 'Perspective camera',\n\tfitToView: 'Fit to view',\n\tviews: 'Views',\n\tmeasure: 'Measure',\n\tgrid: 'Grid',\n\tdisplay: 'Display',\n\tedges: 'Edges',\n\tsceneManager: 'Scene manager',\n\tscreenshot: 'Screenshot',\n\tfullscreen: 'Fullscreen',\n\texitFullscreen: 'Exit fullscreen',\n\n\tviewTop: 'Top',\n\tviewFront: 'Front',\n\tviewRight: 'Right',\n\tviewBack: 'Back',\n\tviewLeft: 'Left',\n\tviewBottom: 'Bottom',\n\tviewIso: 'Isometric',\n\n\tlookTechnical: 'Technical',\n\tlookStudio: 'Studio',\n\tlookShowcase: 'Showcase',\n\tlookNight: 'Night',\n\tnightMode: 'Night mode',\n\tlookArctic: 'Arctic',\n\tlookXray: 'X-Ray',\n\tlookLineart: 'Line Art',\n\tlookWireframe: 'Wireframe',\n\n\tsearchObjects: 'Search objects...',\n\tclearSearch: 'Clear search',\n\texpandLayer: 'Expand layer',\n\tcollapseLayer: 'Collapse layer',\n\texpandAll: 'Expand all',\n\tcollapseAll: 'Collapse all',\n\tshowLayer: 'Show layer',\n\thideLayer: 'Hide layer',\n\tshowObject: 'Show object',\n\thideObject: 'Hide object',\n\tnoObjects: 'No objects',\n\tnoResultsFor: 'No results for \"{query}\"',\n\n\tobjectFallbackName: 'Object',\n\tnoMetadata: 'No metadata',\n\n\tloadingSchema: 'Loading…',\n\tsolveBlocked: 'The definition stopped this solve. No results were produced.',\n\tsolveBlockedTitle: 'Solve stopped',\n\tsolveMessagesTitle: 'Solve messages',\n\tsolveMessagesDescription: 'This solve reported the following. Continue to see the result.',\n\tsolveMessagesConfirm: 'Continue',\n\tsolveMessagesDiscard: 'Discard',\n\tsolveMessagesAbort: 'Abort',\n\tsolveMessagesEscHint: 'Esc aborts the solve',\n\tsolveMessagesDismiss: 'Dismiss',\n\tsolveSolving: 'Solving…',\n\tparametersTab: 'Parameters',\n\tmoreTab: 'More',\n\tscrollTabsBack: 'Previous tabs',\n\tscrollTabsForward: 'More tabs',\n\texpandSidePanel: 'Expand {side} panel',\n\tpanelSideLeft: 'left',\n\tpanelSideRight: 'right',\n\ttabNoGroups: 'This tab has no groups configured.',\n\n\tsolving: 'Solving',\n\tsolvingEllipsis: 'Solving...',\n\tsolvingSubtitle: 'This can take a moment…',\n\tpressToCalculate: 'Press to calculate',\n\tcalculate: 'Calculate',\n\tupToDate: 'Up to date',\n\tmoreActions: 'More actions',\n\tcalculatesFirst: 'Calculates first',\n\n\terrorCountOne: '{count} error',\n\terrorCountOther: '{count} errors',\n\twarningCountOne: '{count} warning',\n\twarningCountOther: '{count} warnings',\n\tnoteCountOne: '{count} note',\n\tnoteCountOther: '{count} notes',\n\tlastSolveMessagesOne: '{count} message from the last solve',\n\tlastSolveMessagesOther: '{count} messages from the last solve',\n\tmessagesTitle: 'Messages',\n\tcopyright: 'by {name} © {year}',\n\tclose: 'Close',\n\ttoggleTheme: 'Toggle theme',\n\terrorTitle: 'Error',\n\tgoHome: 'Go Home',\n\n\tselectOption: 'Select an option...',\n\tnoOptionsYet: 'No options available yet.',\n\tminValue: 'Minimum value is {min}',\n\tmaxValue: 'Maximum value is {max}',\n\tfineDragHint: 'Hold Shift to drag finely',\n\tmaxLength: 'Maximum {max} characters allowed',\n\tinvalidFormat: 'Invalid format',\n\tcolorPick: 'Choose color, currently {color}',\n\tcolorArea: 'Saturation and brightness',\n\tcolorAreaValue: 'Saturation {s}%, brightness {v}%',\n\tcolorHue: 'Hue',\n\tcolorHex: 'Hex color',\n\tcolorHexInvalid: 'Enter a hex color such as #2f6fd6',\n\tcolorPresets: 'Presets',\n\tcolorEyedropper: 'Pick a color from the screen',\n\tinvalidPattern: 'Invalid validation pattern configured',\n\n\tgeometryPickAnyOne: 'Pick an object',\n\tgeometryPickAnyOther: 'Pick objects',\n\tgeometryPicking: 'Pick in the viewport, Esc to cancel',\n\tgeometryPickInPanel: 'Pick in the Rhino panel',\n\tgeometryPickAgain: 'Pick again',\n\tgeometryClear: 'Clear',\n\tgeometryPickPointOne: 'Pick a point',\n\tgeometryPickPointOther: 'Pick points',\n\tgeometryPickPointCloudOne: 'Pick a point cloud',\n\tgeometryPickPointCloudOther: 'Pick point clouds',\n\tgeometryPickCurveOne: 'Pick a curve',\n\tgeometryPickCurveOther: 'Pick curves',\n\tgeometryPickLineOne: 'Pick a line',\n\tgeometryPickLineOther: 'Pick lines',\n\tgeometryPickPlaneOne: 'Pick a plane',\n\tgeometryPickPlaneOther: 'Pick planes',\n\tgeometryPickSurfaceOne: 'Pick a surface',\n\tgeometryPickSurfaceOther: 'Pick surfaces',\n\tgeometryPickPolysurfaceOne: 'Pick a polysurface',\n\tgeometryPickPolysurfaceOther: 'Pick polysurfaces',\n\tgeometryPickExtrusionOne: 'Pick an extrusion',\n\tgeometryPickExtrusionOther: 'Pick extrusions',\n\tgeometryPickMeshOne: 'Pick a mesh',\n\tgeometryPickMeshOther: 'Pick meshes',\n\tgeometryPickSubdOne: 'Pick a SubD',\n\tgeometryPickSubdOther: 'Pick SubDs',\n\tgeometryPickBlockOne: 'Pick a block',\n\tgeometryPickBlockOther: 'Pick blocks',\n\n\tfileModeUpload: 'Upload',\n\tfileModeUrl: 'URL',\n\tfileUrlLabel: 'File URL',\n\tfetchFile: 'Fetch',\n\tfetchingFile: 'Fetching...',\n\tfileUrlPublic: 'URL must be publicly accessible (no login required).',\n\tchooseFile: 'Choose File or Drag & Drop',\n\tacceptedFormats: 'Accepted formats: {formats}',\n\tuploadedFile: 'Uploaded file ({ext})',\n\tuploadedFileSize: 'Uploaded file ({ext}, {size}MB)',\n\tfileLoaded: 'Loaded {ext} ({size} KB)',\n\turlInvalid: 'Invalid URL — make sure it starts with https://',\n\turlProtocolUnsupported: 'Only http:// and https:// URLs are supported.',\n\turlServerError: 'Server returned {status}. Check the URL is correct and publicly accessible.',\n\tfileFormatNotAccepted: 'File format \"{ext}\" is not accepted. Allowed: {formats}',\n\tfileTooLarge: 'File too large: {size}MB (max {max}MB).',\n\tfileTooLargeUseUpload: 'Download it and use Upload instead.',\n\tfileReadFailed: 'Failed to read the downloaded file.',\n\turlUnreachable:\n\t\t'Could not reach \"{host}\" — the file may not exist, or the server does not allow browser access.',\n\turlUnreachableHint:\n\t\t'Check that the URL is correct and the file is publicly accessible. If the server requires login, download the file and use the Upload option instead.',\n\turlHintSharePoint:\n\t\t'SharePoint/OneDrive blocks browser access. Open the file in SharePoint, use \"Download\" to save it locally, then upload it here.',\n\turlHintGoogleDrive:\n\t\t'Google Drive blocks browser access. Use \"Download\" in Google Drive to save the file locally, then upload it here.',\n\turlHintDropbox:\n\t\t'Dropbox links may block browser access. Try changing \"?dl=0\" to \"?dl=1\" in the URL, or download and upload instead.',\n\tunknownError: 'Unknown error',\n\n\twaitingForData: 'Waiting for data...',\n\twaitingForFiles: 'Waiting for file data...',\n\tfileCount: '{count} files',\n\tduplicateFilesTitle: 'Duplicate file names detected',\n\tduplicatePathsOne: 'The following path appears more than once:',\n\tduplicatePathsOther: 'The following paths appear more than once:',\n\tduplicateFilesHint:\n\t\t'Rename outputs in your Grasshopper definition so each file has a unique name.',\n\tdownloadFile: 'Download File',\n\tdownloadFiles: 'Download {count} Files',\n\tdownloading: 'Downloading...',\n\tdownloadFailed: 'Download failed',\n\tcopy: 'Copy',\n\tcopied: 'Copied!',\n\tchartReceiving: 'Receiving chart data...',\n\tchartRenderFailed: 'Failed to render chart',\n\tfullscreenUnavailable: 'Fullscreen unavailable: {error}',\n\texitFullscreenFailed: 'Exit fullscreen failed: {error}',\n\n\timageViewer: 'image viewer',\n\timageLoading: 'Loading image…',\n\timageUnsupported: 'Unsupported image format: {ext}. Supported: {formats}',\n\timageUnknownFormat: '(unknown)',\n\timageDecodeFailed: \"Couldn't decode {file}\",\n\tpreviousImage: 'Previous image',\n\tnextImage: 'Next image',\n\tzoomHint: 'Hold Ctrl or ⌘ and scroll to zoom',\n\tzoomIn: 'Zoom in',\n\tzoomOut: 'Zoom out',\n\tzoomFit: 'Fit',\n\tzoomActual: 'Actual pixels',\n\tdownloadImage: 'Download image'\n};\n\nconst de: ViewerMessages = {\n\ttoolsMenu: 'Viewer-Werkzeuge',\n\tswitchToOrthographic: 'Orthografische Kamera',\n\tswitchToPerspective: 'Perspektivische Kamera',\n\tfitToView: 'Ansicht anpassen',\n\tviews: 'Ansichten',\n\tmeasure: 'Messen',\n\tgrid: 'Raster',\n\tdisplay: 'Darstellung',\n\tedges: 'Kanten',\n\tsceneManager: 'Szenen-Manager',\n\tscreenshot: 'Screenshot',\n\tfullscreen: 'Vollbild',\n\texitFullscreen: 'Vollbild beenden',\n\n\tviewTop: 'Oben',\n\tviewFront: 'Vorne',\n\tviewRight: 'Rechts',\n\tviewBack: 'Hinten',\n\tviewLeft: 'Links',\n\tviewBottom: 'Unten',\n\tviewIso: 'Isometrisch',\n\n\tlookTechnical: 'Technisch',\n\tlookStudio: 'Studio',\n\tlookShowcase: 'Präsentation',\n\tlookNight: 'Nacht',\n\tnightMode: 'Nachtmodus',\n\tlookArctic: 'Arktis',\n\tlookXray: 'Röntgen',\n\tlookLineart: 'Strichzeichnung',\n\tlookWireframe: 'Drahtgitter',\n\n\tsearchObjects: 'Objekte suchen...',\n\tclearSearch: 'Suche löschen',\n\texpandLayer: 'Ebene aufklappen',\n\tcollapseLayer: 'Ebene zuklappen',\n\texpandAll: 'Alle aufklappen',\n\tcollapseAll: 'Alle zuklappen',\n\tshowLayer: 'Ebene einblenden',\n\thideLayer: 'Ebene ausblenden',\n\tshowObject: 'Objekt einblenden',\n\thideObject: 'Objekt ausblenden',\n\tnoObjects: 'Keine Objekte',\n\tnoResultsFor: 'Keine Ergebnisse für „{query}“',\n\n\tobjectFallbackName: 'Objekt',\n\tnoMetadata: 'Keine Metadaten',\n\n\tloadingSchema: 'Wird geladen…',\n\tsolveBlocked: 'Die Definition hat diese Berechnung gestoppt. Es wurden keine Ergebnisse erzeugt.',\n\tsolveBlockedTitle: 'Berechnung gestoppt',\n\tsolveMessagesTitle: 'Meldungen zur Berechnung',\n\tsolveMessagesDescription:\n\t\t'Diese Berechnung hat Folgendes gemeldet. Weiter, um das Ergebnis zu sehen.',\n\tsolveMessagesConfirm: 'Weiter',\n\tsolveMessagesDiscard: 'Verwerfen',\n\tsolveMessagesAbort: 'Abbrechen',\n\tsolveMessagesEscHint: 'Esc bricht die Berechnung ab',\n\tsolveMessagesDismiss: 'Schliessen',\n\tsolveSolving: 'Berechnung läuft…',\n\tparametersTab: 'Parameter',\n\tmoreTab: 'Mehr',\n\tscrollTabsBack: 'Vorherige Tabs',\n\tscrollTabsForward: 'Weitere Tabs',\n\texpandSidePanel: '{side} Bereich aufklappen',\n\tpanelSideLeft: 'Linken',\n\tpanelSideRight: 'Rechten',\n\ttabNoGroups: 'Für diesen Tab sind keine Gruppen konfiguriert.',\n\n\tsolving: 'Berechnung läuft',\n\tsolvingEllipsis: 'Berechnung läuft...',\n\tsolvingSubtitle: 'Das kann einen Moment dauern…',\n\tpressToCalculate: 'Berechnen',\n\tcalculate: 'Berechnen',\n\tupToDate: 'Berechnet',\n\tmoreActions: 'Weitere Aktionen',\n\tcalculatesFirst: 'Berechnet zuerst',\n\n\terrorCountOne: '{count} Fehler',\n\terrorCountOther: '{count} Fehler',\n\twarningCountOne: '{count} Warnung',\n\twarningCountOther: '{count} Warnungen',\n\tnoteCountOne: '{count} Hinweis',\n\tnoteCountOther: '{count} Hinweise',\n\tlastSolveMessagesOne: '{count} Meldung der letzten Berechnung',\n\tlastSolveMessagesOther: '{count} Meldungen der letzten Berechnung',\n\tmessagesTitle: 'Meldungen',\n\tcopyright: 'von {name} © {year}',\n\tclose: 'Schliessen',\n\ttoggleTheme: 'Farbschema wechseln',\n\terrorTitle: 'Fehler',\n\tgoHome: 'Zur Startseite',\n\n\tselectOption: 'Option wählen…',\n\tnoOptionsYet: 'Noch keine Optionen verfügbar.',\n\tminValue: 'Der kleinste erlaubte Wert ist {min}',\n\tmaxValue: 'Der grösste erlaubte Wert ist {max}',\n\tfineDragHint: 'Umschalttaste halten für feine Schritte',\n\tmaxLength: 'Höchstens {max} Zeichen erlaubt',\n\tinvalidFormat: 'Ungültiges Format',\n\tcolorPick: 'Farbe wählen, aktuell {color}',\n\tcolorArea: 'Sättigung und Helligkeit',\n\tcolorAreaValue: 'Sättigung {s} %, Helligkeit {v} %',\n\tcolorHue: 'Farbton',\n\tcolorHex: 'Hex-Farbe',\n\tcolorHexInvalid: 'Hex-Farbe eingeben, z. B. #2f6fd6',\n\tcolorPresets: 'Vorgaben',\n\tcolorEyedropper: 'Farbe vom Bildschirm aufnehmen',\n\tinvalidPattern: 'Ungültiges Prüfmuster hinterlegt',\n\n\tgeometryPickAnyOne: 'Objekt wählen',\n\tgeometryPickAnyOther: 'Objekte wählen',\n\tgeometryPicking: 'Im Ansichtsfenster wählen, Esc bricht ab',\n\tgeometryPickInPanel: 'Im Rhino-Panel wählen',\n\tgeometryPickAgain: 'Neu wählen',\n\tgeometryClear: 'Leeren',\n\tgeometryPickPointOne: 'Punkt wählen',\n\tgeometryPickPointOther: 'Punkte wählen',\n\tgeometryPickPointCloudOne: 'Punktwolke wählen',\n\tgeometryPickPointCloudOther: 'Punktwolken wählen',\n\tgeometryPickCurveOne: 'Kurve wählen',\n\tgeometryPickCurveOther: 'Kurven wählen',\n\tgeometryPickLineOne: 'Linie wählen',\n\tgeometryPickLineOther: 'Linien wählen',\n\tgeometryPickPlaneOne: 'Ebene wählen',\n\tgeometryPickPlaneOther: 'Ebenen wählen',\n\tgeometryPickSurfaceOne: 'Fläche wählen',\n\tgeometryPickSurfaceOther: 'Flächen wählen',\n\tgeometryPickPolysurfaceOne: 'Flächenverband wählen',\n\tgeometryPickPolysurfaceOther: 'Flächenverbände wählen',\n\tgeometryPickExtrusionOne: 'Extrusion wählen',\n\tgeometryPickExtrusionOther: 'Extrusionen wählen',\n\tgeometryPickMeshOne: 'Netz wählen',\n\tgeometryPickMeshOther: 'Netze wählen',\n\tgeometryPickSubdOne: 'SubD wählen',\n\tgeometryPickSubdOther: 'SubDs wählen',\n\tgeometryPickBlockOne: 'Block wählen',\n\tgeometryPickBlockOther: 'Blöcke wählen',\n\n\tfileModeUpload: 'Hochladen',\n\tfileModeUrl: 'URL',\n\tfileUrlLabel: 'Datei-URL',\n\tfetchFile: 'Abrufen',\n\tfetchingFile: 'Wird abgerufen…',\n\tfileUrlPublic: 'Die URL muss öffentlich erreichbar sein (ohne Anmeldung).',\n\tchooseFile: 'Datei wählen oder hierher ziehen',\n\tacceptedFormats: 'Erlaubte Formate: {formats}',\n\tuploadedFile: 'Hochgeladene Datei ({ext})',\n\tuploadedFileSize: 'Hochgeladene Datei ({ext}, {size} MB)',\n\tfileLoaded: '{ext} geladen ({size} KB)',\n\turlInvalid: 'Ungültige URL – sie muss mit https:// beginnen',\n\turlProtocolUnsupported: 'Nur http://- und https://-URLs werden unterstützt.',\n\turlServerError:\n\t\t'Der Server antwortete mit {status}. Ist die URL korrekt und öffentlich erreichbar?',\n\tfileFormatNotAccepted: 'Dateiformat „{ext}“ ist nicht erlaubt. Erlaubt: {formats}',\n\tfileTooLarge: 'Datei zu gross: {size} MB (höchstens {max} MB).',\n\tfileTooLargeUseUpload: 'Datei herunterladen und stattdessen über „Hochladen“ einfügen.',\n\tfileReadFailed: 'Die heruntergeladene Datei konnte nicht gelesen werden.',\n\turlUnreachable:\n\t\t'„{host}“ ist nicht erreichbar – die Datei existiert vielleicht nicht, oder der Server erlaubt keinen Zugriff aus dem Browser.',\n\turlUnreachableHint:\n\t\t'Prüfen, ob die URL stimmt und die Datei öffentlich erreichbar ist. Verlangt der Server eine Anmeldung: Datei herunterladen und über „Hochladen“ einfügen.',\n\turlHintSharePoint:\n\t\t'SharePoint/OneDrive sperrt den Zugriff aus dem Browser. Datei in SharePoint öffnen, mit „Herunterladen“ lokal speichern und hier hochladen.',\n\turlHintGoogleDrive:\n\t\t'Google Drive sperrt den Zugriff aus dem Browser. Datei in Google Drive mit „Herunterladen“ lokal speichern und hier hochladen.',\n\turlHintDropbox:\n\t\t'Dropbox-Links sperren den Zugriff aus dem Browser oft. In der URL „?dl=0“ durch „?dl=1“ ersetzen oder die Datei herunterladen und hochladen.',\n\tunknownError: 'Unbekannter Fehler',\n\n\twaitingForData: 'Noch keine Daten',\n\twaitingForFiles: 'Noch keine Dateien',\n\tfileCount: '{count} Dateien',\n\tduplicateFilesTitle: 'Doppelte Dateinamen',\n\tduplicatePathsOne: 'Dieser Pfad kommt mehrfach vor:',\n\tduplicatePathsOther: 'Diese Pfade kommen mehrfach vor:',\n\tduplicateFilesHint:\n\t\t'Ausgaben in der Grasshopper-Definition umbenennen, damit jede Datei einen eindeutigen Namen hat.',\n\tdownloadFile: 'Datei herunterladen',\n\tdownloadFiles: '{count} Dateien herunterladen',\n\tdownloading: 'Wird heruntergeladen…',\n\tdownloadFailed: 'Download fehlgeschlagen',\n\tcopy: 'Kopieren',\n\tcopied: 'Kopiert!',\n\tchartReceiving: 'Diagrammdaten werden empfangen…',\n\tchartRenderFailed: 'Diagramm konnte nicht dargestellt werden',\n\tfullscreenUnavailable: 'Vollbild nicht verfügbar: {error}',\n\texitFullscreenFailed: 'Vollbild konnte nicht beendet werden: {error}',\n\n\timageViewer: 'Bildbetrachter',\n\timageLoading: 'Bild wird geladen…',\n\timageUnsupported: 'Bildformat nicht unterstützt: {ext}. Unterstützt: {formats}',\n\timageUnknownFormat: '(unbekannt)',\n\timageDecodeFailed: '{file} konnte nicht gelesen werden',\n\tpreviousImage: 'Vorheriges Bild',\n\tnextImage: 'Nächstes Bild',\n\tzoomHint: 'Zum Zoomen Strg oder ⌘ halten und scrollen',\n\tzoomIn: 'Vergrössern',\n\tzoomOut: 'Verkleinern',\n\tzoomFit: 'Einpassen',\n\tzoomActual: 'Originalgrösse',\n\tdownloadImage: 'Bild herunterladen'\n};\n\nexport const VIEWER_MESSAGES: Record<Locale, ViewerMessages> = { en, de };\n\nexport const DEFAULT_LOCALE: Locale = 'en';\n\n/** Resolve a catalog for a locale, falling back to English for unknown locales. */\nexport function messagesFor(locale: Locale | undefined): ViewerMessages {\n\treturn VIEWER_MESSAGES[locale ?? DEFAULT_LOCALE] ?? VIEWER_MESSAGES[DEFAULT_LOCALE];\n}\n\n/** Layers a host's partial overrides over a full catalog. An `undefined` entry keeps the base string. */\nexport function withOverrides(\n\tbase: ViewerMessages,\n\toverrides: Partial<ViewerMessages> | undefined\n): ViewerMessages {\n\tif (!overrides) return base;\n\tconst merged = { ...base };\n\tfor (const [key, value] of Object.entries(overrides) as [keyof ViewerMessages, string][]) {\n\t\tif (value !== undefined) merged[key] = value;\n\t}\n\treturn merged;\n}\n\n/** Fills each `{name}` placeholder from `vars`; an unknown placeholder is left as written. */\nexport function formatMessage(template: string, vars: Record<string, string | number>): string {\n\treturn template.replace(/\\{(\\w+)\\}/g, (placeholder, name: string) =>\n\t\tname in vars ? String(vars[name]) : placeholder\n\t);\n}\n\n/** Picks the singular or plural form for `count` and fills its `{count}`. */\nexport function formatCount(count: number, one: string, other: string): string {\n\treturn formatMessage(count === 1 ? one : other, { count });\n}\n","import { getContext, setContext } from 'svelte';\nimport {\n\ttype Locale,\n\ttype ViewerMessages,\n\tmessagesFor,\n\twithOverrides,\n\tDEFAULT_LOCALE\n} from './messages';\n\n// Carries the UI locale down to the viewer and its panels without threading a\n// `lang` prop through every layer.\n//\n// Resolution order for any consuming component:\n// explicit `lang` prop → nearest locale context → English default\n// and the strings are that locale's catalog with any `messages` overrides on top.\n//\n// Two ways to provide it:\n// - Standalone: <Viewer lang=\"de\" /> — Viewer provides the context itself.\n// - In an app: call setLocaleContext(() => app.locale) once at the root; the\n// viewer (and anything else) reads it.\n\nconst LOCALE_CONTEXT_KEY = Symbol('viewer-locale-context');\n\nexport interface LocaleContext {\n\treadonly locale: Locale;\n\treadonly messages: ViewerMessages;\n}\n\n/**\n * Provide the locale to descendants. Pass getters, not values: they are re-read on every\n * consumer render, so a reactive source (a `$state`, the app's Paraglide locale) switches\n * the language live. `getOverrides` replaces individual strings of the resolved catalog.\n */\nexport function setLocaleContext(\n\tgetLocale: () => Locale | undefined,\n\tgetOverrides?: () => Partial<ViewerMessages> | undefined\n): void {\n\tconst ctx: LocaleContext = {\n\t\tget locale() {\n\t\t\treturn getLocale() ?? DEFAULT_LOCALE;\n\t\t},\n\t\tget messages() {\n\t\t\treturn withOverrides(messagesFor(getLocale()), getOverrides?.());\n\t\t}\n\t};\n\tsetContext(LOCALE_CONTEXT_KEY, ctx);\n}\n\n/**\n * Re-provides the nearest context for a component that takes its own `lang`/`messages` props.\n * Without `lang`, or with the inherited locale, the subtree keeps the overrides an outer provider\n * applied; a different `lang` starts from that locale's catalog, since those overrides were\n * written for another language.\n */\nexport function layerLocaleContext(\n\tgetLang: () => Locale | undefined,\n\tgetOverrides?: () => Partial<ViewerMessages> | undefined\n): LocaleContext {\n\tconst outer = getLocaleContext();\n\tconst ctx: LocaleContext = {\n\t\tget locale() {\n\t\t\treturn getLang() ?? outer.locale;\n\t\t},\n\t\tget messages() {\n\t\t\tconst lang = getLang();\n\t\t\tconst base = lang === undefined || lang === outer.locale ? outer.messages : messagesFor(lang);\n\t\t\treturn withOverrides(base, getOverrides?.());\n\t\t}\n\t};\n\tsetContext(LOCALE_CONTEXT_KEY, ctx);\n\treturn ctx;\n}\n\n/**\n * Falls back to an English-only context when no provider exists (a primitive used in\n * isolation), so consumers never need a null check.\n */\nexport function getLocaleContext(): LocaleContext {\n\treturn (\n\t\tgetContext<LocaleContext | undefined>(LOCALE_CONTEXT_KEY) ?? {\n\t\t\tget locale() {\n\t\t\t\treturn DEFAULT_LOCALE;\n\t\t\t},\n\t\t\tget messages() {\n\t\t\t\treturn messagesFor(DEFAULT_LOCALE);\n\t\t\t}\n\t\t}\n\t);\n}\n"],"mappings":";;AAwpBA,IAAa,kBAAkD;CAAE;EAvZhE,WAAW;EACX,sBAAsB;EACtB,qBAAqB;EACrB,WAAW;EACX,OAAO;EACP,SAAS;EACT,MAAM;EACN,SAAS;EACT,OAAO;EACP,cAAc;EACd,YAAY;EACZ,YAAY;EACZ,gBAAgB;EAEhB,SAAS;EACT,WAAW;EACX,WAAW;EACX,UAAU;EACV,UAAU;EACV,YAAY;EACZ,SAAS;EAET,eAAe;EACf,YAAY;EACZ,cAAc;EACd,WAAW;EACX,WAAW;EACX,YAAY;EACZ,UAAU;EACV,aAAa;EACb,eAAe;EAEf,eAAe;EACf,aAAa;EACb,aAAa;EACb,eAAe;EACf,WAAW;EACX,aAAa;EACb,WAAW;EACX,WAAW;EACX,YAAY;EACZ,YAAY;EACZ,WAAW;EACX,cAAc;EAEd,oBAAoB;EACpB,YAAY;EAEZ,eAAe;EACf,cAAc;EACd,mBAAmB;EACnB,oBAAoB;EACpB,0BAA0B;EAC1B,sBAAsB;EACtB,sBAAsB;EACtB,oBAAoB;EACpB,sBAAsB;EACtB,sBAAsB;EACtB,cAAc;EACd,eAAe;EACf,SAAS;EACT,gBAAgB;EAChB,mBAAmB;EACnB,iBAAiB;EACjB,eAAe;EACf,gBAAgB;EAChB,aAAa;EAEb,SAAS;EACT,iBAAiB;EACjB,iBAAiB;EACjB,kB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EACpB,mBAAmB;EACnB,eAAe;EACf,WAAW;EACX,UAAU;EACV,QAAQ;EACR,SAAS;EACT,SAAS;EACT,YAAY;EACZ,eAAe;CAGqD;AAAG;;AAKxE,SAAgB,YAAY,QAA4C;CACvE,OAAO,gBAAgB,UAAA,SAA6B,gBAAA;AACrD;;AAGA,SAAgB,cACf,MACA,WACiB;CACjB,IAAI,CAAC,WAAW,OAAO;CACvB,MAAM,SAAS,EAAE,GAAG,KAAK;CACzB,KAAK,MAAM,CAAC,KAAK,UAAU,OAAO,QAAQ,SAAS,GAClD,IAAI,UAAU,KAAA,GAAW,OAAO,OAAO;CAExC,OAAO;AACR;;AAGA,SAAgB,cAAc,UAAkB,MAA+C;CAC9F,OAAO,SAAS,QAAQ,eAAe,aAAa,SACnD,QAAQ,OAAO,OAAO,KAAK,KAAK,IAAI,WACrC;AACD;;AAGA,SAAgB,YAAY,OAAe,KAAa,OAAuB;CAC9E,OAAO,cAAc,UAAU,IAAI,MAAM,OAAO,EAAE,MAAM,CAAC;AAC1D;;ACnqBA,IAAM,qBAAqB,OAAO,uBAAuB;;;;;;;AAiCzD,SAAgB,mBACf,SACA,cACgB;CAChB,MAAM,QAAQ,iBAAA;CACd,MAAM,MAAA;EACL,IAAI,SAAS;GACZ,OAAO,QAAA,KAAa,MAAM;EAC3B;EACA,IAAI,WAAW;GACd,MAAM,OAAO,QAAA;GAEb,OAAO,cADM,SAAS,KAAA,KAAa,SAAS,MAAM,SAAS,MAAM,WAAW,YAAY,IAAI,GACjE,eAAA,CAAA;EAC5B;;CAED,WAAW,oBAAoB,GAAG;CAClC,OAAO;AACR;;;;;AAMA,SAAgB,mBAAkC;CACjD,OACC,WAAsC,kBAAkB,KAAA;EACvD,IAAI,SAAS;GACZ,OAAA;EACD;EACA,IAAI,WAAW;GACd,OAAO,YAAA,IAA0B;EAClC;;AAGH"}
|
|
1
|
+
{"version":3,"file":"localeContext.svelte.js","names":[],"sources":["../../../../ui/src/lib/i18n/messages.ts","../../../../ui/src/lib/i18n/localeContext.svelte.ts"],"sourcesContent":["// ============================================================================\n// Viewer message catalog (library-owned strings)\n// ============================================================================\n//\n// Only the strings @selvajs/ui renders itself. Names coming from a Grasshopper\n// definition — meshes, layers, metadata keys — live in the user's .gh file and\n// cannot be translated here.\n//\n// A `{name}` in a message is a placeholder the component fills in. Pairs ending in\n// `One`/`Other` are the singular and plural forms of one message.\n\nexport type Locale = 'en' | 'de';\n\nexport interface ViewerMessages {\n\t// Tools menu\n\ttoolsMenu: string;\n\tswitchToOrthographic: string;\n\tswitchToPerspective: string;\n\tfitToView: string;\n\tviews: string;\n\tmeasure: string;\n\tgrid: string;\n\tdisplay: string;\n\tedges: string;\n\tsceneManager: string;\n\tscreenshot: string;\n\tfullscreen: string;\n\texitFullscreen: string;\n\n\t// View presets\n\tviewTop: string;\n\tviewFront: string;\n\tviewRight: string;\n\tviewBack: string;\n\tviewLeft: string;\n\tviewBottom: string;\n\tviewIso: string;\n\n\t// Display looks\n\tlookTechnical: string;\n\tlookStudio: string;\n\tlookShowcase: string;\n\tlookNight: string;\n\tnightMode: string;\n\tlookArctic: string;\n\tlookXray: string;\n\tlookLineart: string;\n\tlookWireframe: string;\n\n\t// Scene manager\n\tsearchObjects: string;\n\tclearSearch: string;\n\texpandLayer: string;\n\tcollapseLayer: string;\n\texpandAll: string;\n\tcollapseAll: string;\n\tshowLayer: string;\n\thideLayer: string;\n\tshowObject: string;\n\thideObject: string;\n\tnoObjects: string;\n\t/** `{query}` is replaced with the current search text. */\n\tnoResultsFor: string;\n\n\t// Metadata dialog\n\tobjectFallbackName: string;\n\tnoMetadata: string;\n\n\t// App layout / compute shell\n\tloadingSchema: string;\n\tsolveBlocked: string;\n\tsolveBlockedTitle: string;\n\tsolveMessagesTitle: string;\n\tsolveMessagesDescription: string;\n\tsolveMessagesConfirm: string;\n\tsolveMessagesDiscard: string;\n\tsolveMessagesAbort: string;\n\t/** Stands in for Abort where the page can't take a click mid-solve. */\n\tsolveMessagesEscHint: string;\n\tsolveMessagesDismiss: string;\n\tsolveSolving: string;\n\t/** A visible solve has landed; followed by how long it took. */\n\tsolveDone: string;\n\t/** A visible solve was aborted; the previous result stays. */\n\tsolveStopped: string;\n\tparametersTab: string;\n\tmoreTab: string;\n\tscrollTabsBack: string;\n\tscrollTabsForward: string;\n\t/** `{side}` is replaced with `panelSideLeft` / `panelSideRight`. */\n\texpandSidePanel: string;\n\tpanelSideLeft: string;\n\tpanelSideRight: string;\n\ttabNoGroups: string;\n\n\t// Solve controls\n\tsolving: string;\n\tsolvingEllipsis: string;\n\tsolvingSubtitle: string;\n\tpressToCalculate: string;\n\tcalculate: string;\n\tupToDate: string;\n\t/** The panel footer's ⋯ menu: saving and loading inputs, plus the host's own actions. */\n\tmoreActions: string;\n\t/** Under a menu action that solves before it runs, while the inputs have changed. */\n\tcalculatesFirst: string;\n\n\t// Footer and message centre\n\t/** `{count}` is replaced with the number of errors. */\n\terrorCountOne: string;\n\terrorCountOther: string;\n\t/** `{count}` is replaced with the number of warnings. */\n\twarningCountOne: string;\n\twarningCountOther: string;\n\t/** `{count}` is replaced with the number of notes. */\n\tnoteCountOne: string;\n\tnoteCountOther: string;\n\t/** `{count}` is replaced with the number of messages. */\n\tlastSolveMessagesOne: string;\n\tlastSolveMessagesOther: string;\n\tmessagesTitle: string;\n\t/** `{name}` is replaced with the copyright holder, `{year}` with the current year. */\n\tcopyright: string;\n\tclose: string;\n\ttoggleTheme: string;\n\terrorTitle: string;\n\tgoHome: string;\n\n\t// Input fields\n\tselectOption: string;\n\tnoOptionsYet: string;\n\t/** `{min}` is replaced with the field's minimum. */\n\tminValue: string;\n\t/** `{max}` is replaced with the field's maximum. */\n\tmaxValue: string;\n\tfineDragHint: string;\n\t/** `{max}` is replaced with the field's character limit. */\n\tmaxLength: string;\n\tinvalidFormat: string;\n\t/** Trigger label; `{color}` is the current hex value. */\n\tcolorPick: string;\n\tcolorArea: string;\n\t/** `{s}` and `{v}` are percentages. */\n\tcolorAreaValue: string;\n\tcolorHue: string;\n\tcolorHex: string;\n\tcolorHexInvalid: string;\n\tcolorPresets: string;\n\tcolorEyedropper: string;\n\tinvalidPattern: string;\n\n\t// Geometry input (Rhino only)\n\t/** The pick button when the input takes several kinds of object. */\n\tgeometryPickAnyOne: string;\n\tgeometryPickAnyOther: string;\n\t/** Shown while Rhino's viewport prompt for a pick is open. */\n\tgeometryPicking: string;\n\t/** Where this page may not pick, such as a browser tab beside the Rhino panel. */\n\tgeometryPickInPanel: string;\n\tgeometryPickAgain: string;\n\tgeometryClear: string;\n\t// The pick button when the input takes one kind: `One` picks a single object, `Other` several.\n\tgeometryPickPointOne: string;\n\tgeometryPickPointOther: string;\n\tgeometryPickPointCloudOne: string;\n\tgeometryPickPointCloudOther: string;\n\tgeometryPickCurveOne: string;\n\tgeometryPickCurveOther: string;\n\tgeometryPickLineOne: string;\n\tgeometryPickLineOther: string;\n\tgeometryPickPlaneOne: string;\n\tgeometryPickPlaneOther: string;\n\tgeometryPickSurfaceOne: string;\n\tgeometryPickSurfaceOther: string;\n\tgeometryPickPolysurfaceOne: string;\n\tgeometryPickPolysurfaceOther: string;\n\tgeometryPickExtrusionOne: string;\n\tgeometryPickExtrusionOther: string;\n\tgeometryPickMeshOne: string;\n\tgeometryPickMeshOther: string;\n\tgeometryPickSubdOne: string;\n\tgeometryPickSubdOther: string;\n\tgeometryPickBlockOne: string;\n\tgeometryPickBlockOther: string;\n\n\t// File input\n\tfileModeUpload: string;\n\tfileModeUrl: string;\n\tfileUrlLabel: string;\n\tfetchFile: string;\n\tfetchingFile: string;\n\tfileUrlPublic: string;\n\tchooseFile: string;\n\t/** `{formats}` is replaced with the accepted extensions. */\n\tacceptedFormats: string;\n\t/** `{ext}` is replaced with the file's extension. */\n\tuploadedFile: string;\n\t/** `{ext}` is replaced with the file's extension, `{size}` with its size in MB. */\n\tuploadedFileSize: string;\n\t/** `{ext}` is replaced with the file's extension, `{size}` with its size in KB. */\n\tfileLoaded: string;\n\turlInvalid: string;\n\turlProtocolUnsupported: string;\n\t/** `{status}` is replaced with the HTTP status the server answered with. */\n\turlServerError: string;\n\t/** `{ext}` is replaced with the rejected extension, `{formats}` with the accepted ones. */\n\tfileFormatNotAccepted: string;\n\t/** `{size}` is replaced with the file's size in MB, `{max}` with the limit in MB. */\n\tfileTooLarge: string;\n\tfileTooLargeUseUpload: string;\n\tfileReadFailed: string;\n\t/** `{host}` is replaced with the URL's host name. */\n\turlUnreachable: string;\n\turlUnreachableHint: string;\n\turlHintSharePoint: string;\n\turlHintGoogleDrive: string;\n\turlHintDropbox: string;\n\tunknownError: string;\n\n\t// Outputs\n\twaitingForData: string;\n\twaitingForFiles: string;\n\t/** `{count}` is replaced with the number of files. */\n\tfileCount: string;\n\tduplicateFilesTitle: string;\n\tduplicatePathsOne: string;\n\tduplicatePathsOther: string;\n\tduplicateFilesHint: string;\n\tdownloadFile: string;\n\t/** `{count}` is replaced with the number of files. */\n\tdownloadFiles: string;\n\tdownloading: string;\n\tdownloadFailed: string;\n\tcopy: string;\n\tcopied: string;\n\tchartReceiving: string;\n\tchartRenderFailed: string;\n\tdownloadChartImage: string;\n\t/** `{error}` is replaced with the browser's reason. */\n\tfullscreenUnavailable: string;\n\t/** `{error}` is replaced with the browser's reason. */\n\texitFullscreenFailed: string;\n\n\t// Image output\n\timageViewer: string;\n\timageLoading: string;\n\t/** `{ext}` is replaced with the file's extension, `{formats}` with the supported ones. */\n\timageUnsupported: string;\n\timageUnknownFormat: string;\n\t/** `{file}` is replaced with the file's name. */\n\timageDecodeFailed: string;\n\tpreviousImage: string;\n\tnextImage: string;\n\tzoomHint: string;\n\tzoomIn: string;\n\tzoomOut: string;\n\tzoomFit: string;\n\tzoomActual: string;\n\tdownloadImage: string;\n}\n\nconst en: ViewerMessages = {\n\ttoolsMenu: 'Viewer tools',\n\tswitchToOrthographic: 'Orthographic camera',\n\tswitchToPerspective: 'Perspective camera',\n\tfitToView: 'Fit to view',\n\tviews: 'Views',\n\tmeasure: 'Measure',\n\tgrid: 'Grid',\n\tdisplay: 'Display',\n\tedges: 'Edges',\n\tsceneManager: 'Scene manager',\n\tscreenshot: 'Screenshot',\n\tfullscreen: 'Fullscreen',\n\texitFullscreen: 'Exit fullscreen',\n\n\tviewTop: 'Top',\n\tviewFront: 'Front',\n\tviewRight: 'Right',\n\tviewBack: 'Back',\n\tviewLeft: 'Left',\n\tviewBottom: 'Bottom',\n\tviewIso: 'Isometric',\n\n\tlookTechnical: 'Technical',\n\tlookStudio: 'Studio',\n\tlookShowcase: 'Showcase',\n\tlookNight: 'Night',\n\tnightMode: 'Night mode',\n\tlookArctic: 'Arctic',\n\tlookXray: 'X-Ray',\n\tlookLineart: 'Line Art',\n\tlookWireframe: 'Wireframe',\n\n\tsearchObjects: 'Search objects...',\n\tclearSearch: 'Clear search',\n\texpandLayer: 'Expand layer',\n\tcollapseLayer: 'Collapse layer',\n\texpandAll: 'Expand all',\n\tcollapseAll: 'Collapse all',\n\tshowLayer: 'Show layer',\n\thideLayer: 'Hide layer',\n\tshowObject: 'Show object',\n\thideObject: 'Hide object',\n\tnoObjects: 'No objects',\n\tnoResultsFor: 'No results for \"{query}\"',\n\n\tobjectFallbackName: 'Object',\n\tnoMetadata: 'No metadata',\n\n\tloadingSchema: 'Loading…',\n\tsolveBlocked: 'The definition stopped this solve. No results were produced.',\n\tsolveBlockedTitle: 'Solve stopped',\n\tsolveMessagesTitle: 'Solve messages',\n\tsolveMessagesDescription: 'This solve reported the following. Continue to see the result.',\n\tsolveMessagesConfirm: 'Continue',\n\tsolveMessagesDiscard: 'Discard',\n\tsolveMessagesAbort: 'Abort',\n\tsolveMessagesEscHint: 'Esc aborts the solve',\n\tsolveMessagesDismiss: 'Dismiss',\n\tsolveSolving: 'Solving…',\n\tsolveDone: 'Done',\n\tsolveStopped: 'Stopped',\n\tparametersTab: 'Parameters',\n\tmoreTab: 'More',\n\tscrollTabsBack: 'Previous tabs',\n\tscrollTabsForward: 'More tabs',\n\texpandSidePanel: 'Expand {side} panel',\n\tpanelSideLeft: 'left',\n\tpanelSideRight: 'right',\n\ttabNoGroups: 'This tab has no groups configured.',\n\n\tsolving: 'Solving',\n\tsolvingEllipsis: 'Solving...',\n\tsolvingSubtitle: 'This can take a moment…',\n\tpressToCalculate: 'Press to calculate',\n\tcalculate: 'Calculate',\n\tupToDate: 'Up to date',\n\tmoreActions: 'More actions',\n\tcalculatesFirst: 'Calculates first',\n\n\terrorCountOne: '{count} error',\n\terrorCountOther: '{count} errors',\n\twarningCountOne: '{count} warning',\n\twarningCountOther: '{count} warnings',\n\tnoteCountOne: '{count} note',\n\tnoteCountOther: '{count} notes',\n\tlastSolveMessagesOne: '{count} message from the last solve',\n\tlastSolveMessagesOther: '{count} messages from the last solve',\n\tmessagesTitle: 'Messages',\n\tcopyright: 'by {name} © {year}',\n\tclose: 'Close',\n\ttoggleTheme: 'Toggle theme',\n\terrorTitle: 'Error',\n\tgoHome: 'Go Home',\n\n\tselectOption: 'Select an option...',\n\tnoOptionsYet: 'No options available yet.',\n\tminValue: 'Minimum value is {min}',\n\tmaxValue: 'Maximum value is {max}',\n\tfineDragHint: 'Hold Shift to drag finely',\n\tmaxLength: 'Maximum {max} characters allowed',\n\tinvalidFormat: 'Invalid format',\n\tcolorPick: 'Choose color, currently {color}',\n\tcolorArea: 'Saturation and brightness',\n\tcolorAreaValue: 'Saturation {s}%, brightness {v}%',\n\tcolorHue: 'Hue',\n\tcolorHex: 'Hex color',\n\tcolorHexInvalid: 'Enter a hex color such as #2f6fd6',\n\tcolorPresets: 'Presets',\n\tcolorEyedropper: 'Pick a color from the screen',\n\tinvalidPattern: 'Invalid validation pattern configured',\n\n\tgeometryPickAnyOne: 'Pick an object',\n\tgeometryPickAnyOther: 'Pick objects',\n\tgeometryPicking: 'Pick in the viewport, Esc to cancel',\n\tgeometryPickInPanel: 'Pick in the Rhino panel',\n\tgeometryPickAgain: 'Pick again',\n\tgeometryClear: 'Clear',\n\tgeometryPickPointOne: 'Pick a point',\n\tgeometryPickPointOther: 'Pick points',\n\tgeometryPickPointCloudOne: 'Pick a point cloud',\n\tgeometryPickPointCloudOther: 'Pick point clouds',\n\tgeometryPickCurveOne: 'Pick a curve',\n\tgeometryPickCurveOther: 'Pick curves',\n\tgeometryPickLineOne: 'Pick a line',\n\tgeometryPickLineOther: 'Pick lines',\n\tgeometryPickPlaneOne: 'Pick a plane',\n\tgeometryPickPlaneOther: 'Pick planes',\n\tgeometryPickSurfaceOne: 'Pick a surface',\n\tgeometryPickSurfaceOther: 'Pick surfaces',\n\tgeometryPickPolysurfaceOne: 'Pick a polysurface',\n\tgeometryPickPolysurfaceOther: 'Pick polysurfaces',\n\tgeometryPickExtrusionOne: 'Pick an extrusion',\n\tgeometryPickExtrusionOther: 'Pick extrusions',\n\tgeometryPickMeshOne: 'Pick a mesh',\n\tgeometryPickMeshOther: 'Pick meshes',\n\tgeometryPickSubdOne: 'Pick a SubD',\n\tgeometryPickSubdOther: 'Pick SubDs',\n\tgeometryPickBlockOne: 'Pick a block',\n\tgeometryPickBlockOther: 'Pick blocks',\n\n\tfileModeUpload: 'Upload',\n\tfileModeUrl: 'URL',\n\tfileUrlLabel: 'File URL',\n\tfetchFile: 'Fetch',\n\tfetchingFile: 'Fetching...',\n\tfileUrlPublic: 'URL must be publicly accessible (no login required).',\n\tchooseFile: 'Choose File or Drag & Drop',\n\tacceptedFormats: 'Accepted formats: {formats}',\n\tuploadedFile: 'Uploaded file ({ext})',\n\tuploadedFileSize: 'Uploaded file ({ext}, {size}MB)',\n\tfileLoaded: 'Loaded {ext} ({size} KB)',\n\turlInvalid: 'Invalid URL — make sure it starts with https://',\n\turlProtocolUnsupported: 'Only http:// and https:// URLs are supported.',\n\turlServerError: 'Server returned {status}. Check the URL is correct and publicly accessible.',\n\tfileFormatNotAccepted: 'File format \"{ext}\" is not accepted. Allowed: {formats}',\n\tfileTooLarge: 'File too large: {size}MB (max {max}MB).',\n\tfileTooLargeUseUpload: 'Download it and use Upload instead.',\n\tfileReadFailed: 'Failed to read the downloaded file.',\n\turlUnreachable:\n\t\t'Could not reach \"{host}\" — the file may not exist, or the server does not allow browser access.',\n\turlUnreachableHint:\n\t\t'Check that the URL is correct and the file is publicly accessible. If the server requires login, download the file and use the Upload option instead.',\n\turlHintSharePoint:\n\t\t'SharePoint/OneDrive blocks browser access. Open the file in SharePoint, use \"Download\" to save it locally, then upload it here.',\n\turlHintGoogleDrive:\n\t\t'Google Drive blocks browser access. Use \"Download\" in Google Drive to save the file locally, then upload it here.',\n\turlHintDropbox:\n\t\t'Dropbox links may block browser access. Try changing \"?dl=0\" to \"?dl=1\" in the URL, or download and upload instead.',\n\tunknownError: 'Unknown error',\n\n\twaitingForData: 'Waiting for data...',\n\twaitingForFiles: 'Waiting for file data...',\n\tfileCount: '{count} files',\n\tduplicateFilesTitle: 'Duplicate file names detected',\n\tduplicatePathsOne: 'The following path appears more than once:',\n\tduplicatePathsOther: 'The following paths appear more than once:',\n\tduplicateFilesHint:\n\t\t'Rename outputs in your Grasshopper definition so each file has a unique name.',\n\tdownloadFile: 'Download File',\n\tdownloadFiles: 'Download {count} Files',\n\tdownloading: 'Downloading...',\n\tdownloadFailed: 'Download failed',\n\tcopy: 'Copy',\n\tcopied: 'Copied!',\n\tchartReceiving: 'Receiving chart data...',\n\tchartRenderFailed: 'Failed to render chart',\n\tdownloadChartImage: 'Download plot as image',\n\tfullscreenUnavailable: 'Fullscreen unavailable: {error}',\n\texitFullscreenFailed: 'Exit fullscreen failed: {error}',\n\n\timageViewer: 'image viewer',\n\timageLoading: 'Loading image…',\n\timageUnsupported: 'Unsupported image format: {ext}. Supported: {formats}',\n\timageUnknownFormat: '(unknown)',\n\timageDecodeFailed: \"Couldn't decode {file}\",\n\tpreviousImage: 'Previous image',\n\tnextImage: 'Next image',\n\tzoomHint: 'Hold Ctrl or ⌘ and scroll to zoom',\n\tzoomIn: 'Zoom in',\n\tzoomOut: 'Zoom out',\n\tzoomFit: 'Fit',\n\tzoomActual: 'Actual pixels',\n\tdownloadImage: 'Download image'\n};\n\nconst de: ViewerMessages = {\n\ttoolsMenu: 'Viewer-Werkzeuge',\n\tswitchToOrthographic: 'Orthografische Kamera',\n\tswitchToPerspective: 'Perspektivische Kamera',\n\tfitToView: 'Ansicht anpassen',\n\tviews: 'Ansichten',\n\tmeasure: 'Messen',\n\tgrid: 'Raster',\n\tdisplay: 'Darstellung',\n\tedges: 'Kanten',\n\tsceneManager: 'Szenen-Manager',\n\tscreenshot: 'Screenshot',\n\tfullscreen: 'Vollbild',\n\texitFullscreen: 'Vollbild beenden',\n\n\tviewTop: 'Oben',\n\tviewFront: 'Vorne',\n\tviewRight: 'Rechts',\n\tviewBack: 'Hinten',\n\tviewLeft: 'Links',\n\tviewBottom: 'Unten',\n\tviewIso: 'Isometrisch',\n\n\tlookTechnical: 'Technisch',\n\tlookStudio: 'Studio',\n\tlookShowcase: 'Präsentation',\n\tlookNight: 'Nacht',\n\tnightMode: 'Nachtmodus',\n\tlookArctic: 'Arktis',\n\tlookXray: 'Röntgen',\n\tlookLineart: 'Strichzeichnung',\n\tlookWireframe: 'Drahtgitter',\n\n\tsearchObjects: 'Objekte suchen...',\n\tclearSearch: 'Suche löschen',\n\texpandLayer: 'Ebene aufklappen',\n\tcollapseLayer: 'Ebene zuklappen',\n\texpandAll: 'Alle aufklappen',\n\tcollapseAll: 'Alle zuklappen',\n\tshowLayer: 'Ebene einblenden',\n\thideLayer: 'Ebene ausblenden',\n\tshowObject: 'Objekt einblenden',\n\thideObject: 'Objekt ausblenden',\n\tnoObjects: 'Keine Objekte',\n\tnoResultsFor: 'Keine Ergebnisse für „{query}“',\n\n\tobjectFallbackName: 'Objekt',\n\tnoMetadata: 'Keine Metadaten',\n\n\tloadingSchema: 'Wird geladen…',\n\tsolveBlocked: 'Die Definition hat diese Berechnung gestoppt. Es wurden keine Ergebnisse erzeugt.',\n\tsolveBlockedTitle: 'Berechnung gestoppt',\n\tsolveMessagesTitle: 'Meldungen zur Berechnung',\n\tsolveMessagesDescription:\n\t\t'Diese Berechnung hat Folgendes gemeldet. Weiter, um das Ergebnis zu sehen.',\n\tsolveMessagesConfirm: 'Weiter',\n\tsolveMessagesDiscard: 'Verwerfen',\n\tsolveMessagesAbort: 'Abbrechen',\n\tsolveMessagesEscHint: 'Esc bricht die Berechnung ab',\n\tsolveMessagesDismiss: 'Schliessen',\n\tsolveSolving: 'Berechnung läuft…',\n\tsolveDone: 'Fertig',\n\tsolveStopped: 'Abgebrochen',\n\tparametersTab: 'Parameter',\n\tmoreTab: 'Mehr',\n\tscrollTabsBack: 'Vorherige Tabs',\n\tscrollTabsForward: 'Weitere Tabs',\n\texpandSidePanel: '{side} Bereich aufklappen',\n\tpanelSideLeft: 'Linken',\n\tpanelSideRight: 'Rechten',\n\ttabNoGroups: 'Für diesen Tab sind keine Gruppen konfiguriert.',\n\n\tsolving: 'Berechnung läuft',\n\tsolvingEllipsis: 'Berechnung läuft...',\n\tsolvingSubtitle: 'Das kann einen Moment dauern…',\n\tpressToCalculate: 'Berechnen',\n\tcalculate: 'Berechnen',\n\tupToDate: 'Berechnet',\n\tmoreActions: 'Weitere Aktionen',\n\tcalculatesFirst: 'Berechnet zuerst',\n\n\terrorCountOne: '{count} Fehler',\n\terrorCountOther: '{count} Fehler',\n\twarningCountOne: '{count} Warnung',\n\twarningCountOther: '{count} Warnungen',\n\tnoteCountOne: '{count} Hinweis',\n\tnoteCountOther: '{count} Hinweise',\n\tlastSolveMessagesOne: '{count} Meldung der letzten Berechnung',\n\tlastSolveMessagesOther: '{count} Meldungen der letzten Berechnung',\n\tmessagesTitle: 'Meldungen',\n\tcopyright: 'von {name} © {year}',\n\tclose: 'Schliessen',\n\ttoggleTheme: 'Farbschema wechseln',\n\terrorTitle: 'Fehler',\n\tgoHome: 'Zur Startseite',\n\n\tselectOption: 'Option wählen…',\n\tnoOptionsYet: 'Noch keine Optionen verfügbar.',\n\tminValue: 'Der kleinste erlaubte Wert ist {min}',\n\tmaxValue: 'Der grösste erlaubte Wert ist {max}',\n\tfineDragHint: 'Umschalttaste halten für feine Schritte',\n\tmaxLength: 'Höchstens {max} Zeichen erlaubt',\n\tinvalidFormat: 'Ungültiges Format',\n\tcolorPick: 'Farbe wählen, aktuell {color}',\n\tcolorArea: 'Sättigung und Helligkeit',\n\tcolorAreaValue: 'Sättigung {s} %, Helligkeit {v} %',\n\tcolorHue: 'Farbton',\n\tcolorHex: 'Hex-Farbe',\n\tcolorHexInvalid: 'Hex-Farbe eingeben, z. B. #2f6fd6',\n\tcolorPresets: 'Vorgaben',\n\tcolorEyedropper: 'Farbe vom Bildschirm aufnehmen',\n\tinvalidPattern: 'Ungültiges Prüfmuster hinterlegt',\n\n\tgeometryPickAnyOne: 'Objekt wählen',\n\tgeometryPickAnyOther: 'Objekte wählen',\n\tgeometryPicking: 'Im Ansichtsfenster wählen, Esc bricht ab',\n\tgeometryPickInPanel: 'Im Rhino-Panel wählen',\n\tgeometryPickAgain: 'Neu wählen',\n\tgeometryClear: 'Leeren',\n\tgeometryPickPointOne: 'Punkt wählen',\n\tgeometryPickPointOther: 'Punkte wählen',\n\tgeometryPickPointCloudOne: 'Punktwolke wählen',\n\tgeometryPickPointCloudOther: 'Punktwolken wählen',\n\tgeometryPickCurveOne: 'Kurve wählen',\n\tgeometryPickCurveOther: 'Kurven wählen',\n\tgeometryPickLineOne: 'Linie wählen',\n\tgeometryPickLineOther: 'Linien wählen',\n\tgeometryPickPlaneOne: 'Ebene wählen',\n\tgeometryPickPlaneOther: 'Ebenen wählen',\n\tgeometryPickSurfaceOne: 'Fläche wählen',\n\tgeometryPickSurfaceOther: 'Flächen wählen',\n\tgeometryPickPolysurfaceOne: 'Flächenverband wählen',\n\tgeometryPickPolysurfaceOther: 'Flächenverbände wählen',\n\tgeometryPickExtrusionOne: 'Extrusion wählen',\n\tgeometryPickExtrusionOther: 'Extrusionen wählen',\n\tgeometryPickMeshOne: 'Netz wählen',\n\tgeometryPickMeshOther: 'Netze wählen',\n\tgeometryPickSubdOne: 'SubD wählen',\n\tgeometryPickSubdOther: 'SubDs wählen',\n\tgeometryPickBlockOne: 'Block wählen',\n\tgeometryPickBlockOther: 'Blöcke wählen',\n\n\tfileModeUpload: 'Hochladen',\n\tfileModeUrl: 'URL',\n\tfileUrlLabel: 'Datei-URL',\n\tfetchFile: 'Abrufen',\n\tfetchingFile: 'Wird abgerufen…',\n\tfileUrlPublic: 'Die URL muss öffentlich erreichbar sein (ohne Anmeldung).',\n\tchooseFile: 'Datei wählen oder hierher ziehen',\n\tacceptedFormats: 'Erlaubte Formate: {formats}',\n\tuploadedFile: 'Hochgeladene Datei ({ext})',\n\tuploadedFileSize: 'Hochgeladene Datei ({ext}, {size} MB)',\n\tfileLoaded: '{ext} geladen ({size} KB)',\n\turlInvalid: 'Ungültige URL – sie muss mit https:// beginnen',\n\turlProtocolUnsupported: 'Nur http://- und https://-URLs werden unterstützt.',\n\turlServerError:\n\t\t'Der Server antwortete mit {status}. Ist die URL korrekt und öffentlich erreichbar?',\n\tfileFormatNotAccepted: 'Dateiformat „{ext}“ ist nicht erlaubt. Erlaubt: {formats}',\n\tfileTooLarge: 'Datei zu gross: {size} MB (höchstens {max} MB).',\n\tfileTooLargeUseUpload: 'Datei herunterladen und stattdessen über „Hochladen“ einfügen.',\n\tfileReadFailed: 'Die heruntergeladene Datei konnte nicht gelesen werden.',\n\turlUnreachable:\n\t\t'„{host}“ ist nicht erreichbar – die Datei existiert vielleicht nicht, oder der Server erlaubt keinen Zugriff aus dem Browser.',\n\turlUnreachableHint:\n\t\t'Prüfen, ob die URL stimmt und die Datei öffentlich erreichbar ist. Verlangt der Server eine Anmeldung: Datei herunterladen und über „Hochladen“ einfügen.',\n\turlHintSharePoint:\n\t\t'SharePoint/OneDrive sperrt den Zugriff aus dem Browser. Datei in SharePoint öffnen, mit „Herunterladen“ lokal speichern und hier hochladen.',\n\turlHintGoogleDrive:\n\t\t'Google Drive sperrt den Zugriff aus dem Browser. Datei in Google Drive mit „Herunterladen“ lokal speichern und hier hochladen.',\n\turlHintDropbox:\n\t\t'Dropbox-Links sperren den Zugriff aus dem Browser oft. In der URL „?dl=0“ durch „?dl=1“ ersetzen oder die Datei herunterladen und hochladen.',\n\tunknownError: 'Unbekannter Fehler',\n\n\twaitingForData: 'Noch keine Daten',\n\twaitingForFiles: 'Noch keine Dateien',\n\tfileCount: '{count} Dateien',\n\tduplicateFilesTitle: 'Doppelte Dateinamen',\n\tduplicatePathsOne: 'Dieser Pfad kommt mehrfach vor:',\n\tduplicatePathsOther: 'Diese Pfade kommen mehrfach vor:',\n\tduplicateFilesHint:\n\t\t'Ausgaben in der Grasshopper-Definition umbenennen, damit jede Datei einen eindeutigen Namen hat.',\n\tdownloadFile: 'Datei herunterladen',\n\tdownloadFiles: '{count} Dateien herunterladen',\n\tdownloading: 'Wird heruntergeladen…',\n\tdownloadFailed: 'Download fehlgeschlagen',\n\tcopy: 'Kopieren',\n\tcopied: 'Kopiert!',\n\tchartReceiving: 'Diagrammdaten werden empfangen…',\n\tchartRenderFailed: 'Diagramm konnte nicht dargestellt werden',\n\tdownloadChartImage: 'Diagramm als Bild herunterladen',\n\tfullscreenUnavailable: 'Vollbild nicht verfügbar: {error}',\n\texitFullscreenFailed: 'Vollbild konnte nicht beendet werden: {error}',\n\n\timageViewer: 'Bildbetrachter',\n\timageLoading: 'Bild wird geladen…',\n\timageUnsupported: 'Bildformat nicht unterstützt: {ext}. Unterstützt: {formats}',\n\timageUnknownFormat: '(unbekannt)',\n\timageDecodeFailed: '{file} konnte nicht gelesen werden',\n\tpreviousImage: 'Vorheriges Bild',\n\tnextImage: 'Nächstes Bild',\n\tzoomHint: 'Zum Zoomen Strg oder ⌘ halten und scrollen',\n\tzoomIn: 'Vergrössern',\n\tzoomOut: 'Verkleinern',\n\tzoomFit: 'Einpassen',\n\tzoomActual: 'Originalgrösse',\n\tdownloadImage: 'Bild herunterladen'\n};\n\nexport const VIEWER_MESSAGES: Record<Locale, ViewerMessages> = { en, de };\n\nexport const DEFAULT_LOCALE: Locale = 'en';\n\n/** Resolve a catalog for a locale, falling back to English for unknown locales. */\nexport function messagesFor(locale: Locale | undefined): ViewerMessages {\n\treturn VIEWER_MESSAGES[locale ?? DEFAULT_LOCALE] ?? VIEWER_MESSAGES[DEFAULT_LOCALE];\n}\n\n/** Layers a host's partial overrides over a full catalog. An `undefined` entry keeps the base string. */\nexport function withOverrides(\n\tbase: ViewerMessages,\n\toverrides: Partial<ViewerMessages> | undefined\n): ViewerMessages {\n\tif (!overrides) return base;\n\tconst merged = { ...base };\n\tfor (const [key, value] of Object.entries(overrides) as [keyof ViewerMessages, string][]) {\n\t\tif (value !== undefined) merged[key] = value;\n\t}\n\treturn merged;\n}\n\n/** Fills each `{name}` placeholder from `vars`; an unknown placeholder is left as written. */\nexport function formatMessage(template: string, vars: Record<string, string | number>): string {\n\treturn template.replace(/\\{(\\w+)\\}/g, (placeholder, name: string) =>\n\t\tname in vars ? String(vars[name]) : placeholder\n\t);\n}\n\n/** Picks the singular or plural form for `count` and fills its `{count}`. */\nexport function formatCount(count: number, one: string, other: string): string {\n\treturn formatMessage(count === 1 ? one : other, { count });\n}\n","import { getContext, setContext } from 'svelte';\nimport {\n\ttype Locale,\n\ttype ViewerMessages,\n\tmessagesFor,\n\twithOverrides,\n\tDEFAULT_LOCALE\n} from './messages';\n\n// Carries the UI locale down to the viewer and its panels without threading a\n// `lang` prop through every layer.\n//\n// Resolution order for any consuming component:\n// explicit `lang` prop → nearest locale context → English default\n// and the strings are that locale's catalog with any `messages` overrides on top.\n//\n// Two ways to provide it:\n// - Standalone: <Viewer lang=\"de\" /> — Viewer provides the context itself.\n// - In an app: call setLocaleContext(() => app.locale) once at the root; the\n// viewer (and anything else) reads it.\n\nconst LOCALE_CONTEXT_KEY = Symbol('viewer-locale-context');\n\nexport interface LocaleContext {\n\treadonly locale: Locale;\n\treadonly messages: ViewerMessages;\n}\n\n/**\n * Provide the locale to descendants. Pass getters, not values: they are re-read on every\n * consumer render, so a reactive source (a `$state`, the app's Paraglide locale) switches\n * the language live. `getOverrides` replaces individual strings of the resolved catalog.\n */\nexport function setLocaleContext(\n\tgetLocale: () => Locale | undefined,\n\tgetOverrides?: () => Partial<ViewerMessages> | undefined\n): void {\n\tconst ctx: LocaleContext = {\n\t\tget locale() {\n\t\t\treturn getLocale() ?? DEFAULT_LOCALE;\n\t\t},\n\t\tget messages() {\n\t\t\treturn withOverrides(messagesFor(getLocale()), getOverrides?.());\n\t\t}\n\t};\n\tsetContext(LOCALE_CONTEXT_KEY, ctx);\n}\n\n/**\n * Re-provides the nearest context for a component that takes its own `lang`/`messages` props.\n * Without `lang`, or with the inherited locale, the subtree keeps the overrides an outer provider\n * applied; a different `lang` starts from that locale's catalog, since those overrides were\n * written for another language.\n */\nexport function layerLocaleContext(\n\tgetLang: () => Locale | undefined,\n\tgetOverrides?: () => Partial<ViewerMessages> | undefined\n): LocaleContext {\n\tconst outer = getLocaleContext();\n\tconst ctx: LocaleContext = {\n\t\tget locale() {\n\t\t\treturn getLang() ?? outer.locale;\n\t\t},\n\t\tget messages() {\n\t\t\tconst lang = getLang();\n\t\t\tconst base = lang === undefined || lang === outer.locale ? outer.messages : messagesFor(lang);\n\t\t\treturn withOverrides(base, getOverrides?.());\n\t\t}\n\t};\n\tsetContext(LOCALE_CONTEXT_KEY, ctx);\n\treturn ctx;\n}\n\n/**\n * Falls back to an English-only context when no provider exists (a primitive used in\n * isolation), so consumers never need a null check.\n */\nexport function getLocaleContext(): LocaleContext {\n\treturn (\n\t\tgetContext<LocaleContext | undefined>(LOCALE_CONTEXT_KEY) ?? {\n\t\t\tget locale() {\n\t\t\t\treturn DEFAULT_LOCALE;\n\t\t\t},\n\t\t\tget messages() {\n\t\t\t\treturn messagesFor(DEFAULT_LOCALE);\n\t\t\t}\n\t\t}\n\t);\n}\n"],"mappings":";;AAmqBA,IAAa,kBAAkD;CAAE;EA7ZhE,WAAW;EACX,sBAAsB;EACtB,qBAAqB;EACrB,WAAW;EACX,OAAO;EACP,SAAS;EACT,MAAM;E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,SAAS,QAAQ,eAAe,aAAa,SACnD,QAAQ,OAAO,OAAO,KAAK,KAAK,IAAI,WACrC;AACD;;AAGA,SAAgB,YAAY,OAAe,KAAa,OAAuB;CAC9E,OAAO,cAAc,UAAU,IAAI,MAAM,OAAO,EAAE,MAAM,CAAC;AAC1D;;AC9qBA,IAAM,qBAAqB,OAAO,uBAAuB;;;;;;;AAiCzD,SAAgB,mBACf,SACA,cACgB;CAChB,MAAM,QAAQ,iBAAA;CACd,MAAM,MAAA;EACL,IAAI,SAAS;GACZ,OAAO,QAAA,KAAa,MAAM;EAC3B;EACA,IAAI,WAAW;GACd,MAAM,OAAO,QAAA;GAEb,OAAO,cADM,SAAS,KAAA,KAAa,SAAS,MAAM,SAAS,MAAM,WAAW,YAAY,IAAI,GACjE,eAAA,CAAA;EAC5B;;CAED,WAAW,oBAAoB,GAAG;CAClC,OAAO;AACR;;;;;AAMA,SAAgB,mBAAkC;CACjD,OACC,WAAsC,kBAAkB,KAAA;EACvD,IAAI,SAAS;GACZ,OAAA;EACD;EACA,IAAI,WAAW;GACd,OAAO,YAAA,IAA0B;EAClC;;AAGH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package.js","names":[],"sources":["../../../package.json"],"sourcesContent":["{\n\t\"name\": \"@selvajs/selva\",\n\t\"version\": \"4.20.0-beta.
|
|
1
|
+
{"version":3,"file":"package.js","names":[],"sources":["../../../package.json"],"sourcesContent":["{\n\t\"name\": \"@selvajs/selva\",\n\t\"version\": \"4.20.0-beta.29\",\n\t\"description\": \"Selva — self-contained Grasshopper-driven web app. Install, configure via .env, deploy.\",\n\t\"license\": \"MIT\",\n\t\"author\": \"VektorNode\",\n\t\"homepage\": \"https://selva.dev\",\n\t\"bugs\": \"https://github.com/VektorNode/selva/issues\",\n\t\"keywords\": [\n\t\t\"grasshopper\",\n\t\t\"rhino\",\n\t\t\"rhino-compute\",\n\t\t\"parametric-design\",\n\t\t\"web-app\",\n\t\t\"sveltekit\"\n\t],\n\t\"publishConfig\": {\n\t\t\"access\": \"public\"\n\t},\n\t\"repository\": {\n\t\t\"type\": \"git\",\n\t\t\"url\": \"git+https://github.com/VektorNode/selva.git\",\n\t\t\"directory\": \"packages/selva\"\n\t},\n\t\"type\": \"module\",\n\t\"main\": \"./build/index.js\",\n\t\"files\": [\n\t\t\"build\",\n\t\t\"templates\"\n\t],\n\t\"engines\": {\n\t\t\"node\": \">=24.0.0\"\n\t},\n\t\"scripts\": {\n\t\t\"dev\": \"vite dev\",\n\t\t\"dev:lan\": \"vite dev --host\",\n\t\t\"build\": \"rimraf build && vite build && node ./scripts/generate-templates.js && node ./scripts/write-runtime-meta.js\",\n\t\t\"preview\": \"vite preview\",\n\t\t\"start\": \"node build/index.js\",\n\t\t\"clean\": \"rimraf build templates\",\n\t\t\"prepare\": \"svelte-kit sync || echo ''\",\n\t\t\"check\": \"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json\",\n\t\t\"test\": \"vitest run\",\n\t\t\"test:watch\": \"vitest\",\n\t\t\"openapi:generate\": \"node scripts/generate-openapi.js\",\n\t\t\"test:e2e\": \"playwright test\",\n\t\t\"lint\": \"eslint .\",\n\t\t\"lint:types\": \"eslint . --config eslint.typed.config.js\",\n\t\t\"generate:cli-config\": \"node scripts/generate-cli-config.js\"\n\t},\n\t\"dependencies\": {\n\t\t\"@lucide/svelte\": \"catalog:\",\n\t\t\"@supabase/supabase-js\": \"catalog:\",\n\t\t\"@sveltejs/kit\": \"catalog:\",\n\t\t\"bits-ui\": \"catalog:\",\n\t\t\"clsx\": \"catalog:\",\n\t\t\"mode-watcher\": \"catalog:\",\n\t\t\"nodemailer\": \"catalog:\",\n\t\t\"pino\": \"^10.4.0\",\n\t\t\"rhino3dm\": \"catalog:\",\n\t\t\"sharp\": \"catalog:\",\n\t\t\"tailwind-merge\": \"catalog:\",\n\t\t\"tailwind-variants\": \"catalog:\",\n\t\t\"three\": \"catalog:\",\n\t\t\"zod\": \"catalog:\"\n\t},\n\t\"optionalDependencies\": {\n\t\t\"@sentry/node\": \"^11.10.0\"\n\t},\n\t\"devDependencies\": {\n\t\t\"@playwright/test\": \"catalog:\",\n\t\t\"@selvajs/compute\": \"workspace:*\",\n\t\t\"@selvajs/config\": \"workspace:*\",\n\t\t\"@selvajs/header-auth-provider\": \"workspace:*\",\n\t\t\"@selvajs/local-provider\": \"workspace:*\",\n\t\t\"@selvajs/mcp\": \"workspace:*\",\n\t\t\"@selvajs/notifications\": \"workspace:*\",\n\t\t\"@selvajs/platform\": \"workspace:*\",\n\t\t\"@selvajs/schemas\": \"workspace:*\",\n\t\t\"@selvajs/server\": \"workspace:*\",\n\t\t\"@selvajs/solve\": \"workspace:*\",\n\t\t\"@selvajs/supabase-provider\": \"workspace:*\",\n\t\t\"@selvajs/ui\": \"workspace:*\",\n\t\t\"@selvajs/visualization\": \"workspace:*\",\n\t\t\"@sveltejs/adapter-node\": \"catalog:\",\n\t\t\"@types/nodemailer\": \"catalog:\",\n\t\t\"@types/three\": \"catalog:\",\n\t\t\"rimraf\": \"catalog:\",\n\t\t\"tw-animate-css\": \"catalog:\",\n\t\t\"vitest\": \"catalog:\"\n\t},\n\t\"imports\": {\n\t\t\"#lib/*\": \"./src/lib/*\"\n\t}\n}\n"],"mappings":""}
|
|
@@ -1168,6 +1168,25 @@ async function readJsonFile(filePath, fallback) {
|
|
|
1168
1168
|
throw err;
|
|
1169
1169
|
}
|
|
1170
1170
|
}
|
|
1171
|
+
var RENAME_RETRY_CODES = /* @__PURE__ */ new Set([
|
|
1172
|
+
"EPERM",
|
|
1173
|
+
"EACCES",
|
|
1174
|
+
"EBUSY"
|
|
1175
|
+
]);
|
|
1176
|
+
/**
|
|
1177
|
+
* `rename` over a file another handle has open fails on Windows with EPERM, EACCES or
|
|
1178
|
+
* EBUSY until that handle closes, so a write racing a read would fail. Readers here
|
|
1179
|
+
* close fast; retry briefly, as graceful-fs does. POSIX never hits these codes.
|
|
1180
|
+
*/
|
|
1181
|
+
async function renameReplacing(from, to) {
|
|
1182
|
+
for (let attempt = 0;; attempt++) try {
|
|
1183
|
+
return await fs$1.rename(from, to);
|
|
1184
|
+
} catch (err) {
|
|
1185
|
+
const code = err.code;
|
|
1186
|
+
if (attempt >= 20 || !code || !RENAME_RETRY_CODES.has(code)) throw err;
|
|
1187
|
+
await new Promise((r) => setTimeout(r, Math.min(10 * (attempt + 1), 100)));
|
|
1188
|
+
}
|
|
1189
|
+
}
|
|
1171
1190
|
/**
|
|
1172
1191
|
* Writes to a sibling temp file, then renames into place, so a crash mid-write
|
|
1173
1192
|
* can't corrupt the target. The temp name is random per call: a shared name would
|
|
@@ -1193,7 +1212,7 @@ async function writeJsonFile(filePath, data) {
|
|
|
1193
1212
|
encoding: "utf-8",
|
|
1194
1213
|
mode: 384
|
|
1195
1214
|
});
|
|
1196
|
-
await
|
|
1215
|
+
await renameReplacing(tmp, filePath);
|
|
1197
1216
|
} catch (err) {
|
|
1198
1217
|
await fs$1.rm(tmp, { force: true }).catch(() => {});
|
|
1199
1218
|
throw err;
|
|
@@ -3415,7 +3434,7 @@ var LocalStorageProvider = class LocalStorageProvider {
|
|
|
3415
3434
|
const tmp = `${fullPath}.${randomUUID()}.tmp`;
|
|
3416
3435
|
try {
|
|
3417
3436
|
await fs$1.writeFile(tmp, Buffer.from(transcoded.data));
|
|
3418
|
-
await
|
|
3437
|
+
await renameReplacing(tmp, fullPath);
|
|
3419
3438
|
} catch (err) {
|
|
3420
3439
|
await fs$1.rm(tmp, { force: true }).catch(() => {});
|
|
3421
3440
|
throw err;
|
|
@@ -34730,7 +34749,8 @@ var SolveEngine = class {
|
|
|
34730
34749
|
};
|
|
34731
34750
|
}
|
|
34732
34751
|
const treeBuildMs = performance.now() - treeBuildStart;
|
|
34733
|
-
const
|
|
34752
|
+
const live = args.selvaEvents ? `:live:${args.selvaEvents.solveId}` : "";
|
|
34753
|
+
const flight = await this.singleFlight.run(`${identity}:${args.server.id}:${this.clientGeneration(client)}:${stableStringify(inputTree)}${live}`, (signal) => runSolvePipeline({
|
|
34734
34754
|
definitionSource,
|
|
34735
34755
|
inputTree,
|
|
34736
34756
|
client,
|