From 6b494e3d3f225478e7f4597adbdd08d02ddf0142 Mon Sep 17 00:00:00 2001 From: "Temporal Data (cicd)" Date: Thu, 19 Oct 2023 16:54:02 +0000 Subject: [PATCH] Update UI Server --- .../_app/immutable/assets/_layout.3841e971.css | 1 - .../_app/immutable/assets/_layout.b7b71fe6.css | 1 + .../local/_app/immutable/assets/app.01329fc1.css | 1 + .../local/_app/immutable/assets/app.01ff13c2.css | 1 - ...dbde.css => event-summary-table.c983745f.css} | 2 +- .../_app/immutable/assets/menu.0bf3fcbe.css | 1 - .../_app/immutable/assets/menu.b7c0dde7.css | 1 + .../local/_app/immutable/chunks/1.52cc10cd.js | 1 - .../local/_app/immutable/chunks/1.87434678.js | 1 + .../local/_app/immutable/chunks/10.adc0d7aa.js | 1 - .../local/_app/immutable/chunks/10.e2f39a14.js | 1 + .../local/_app/immutable/chunks/11.275ad04b.js | 1 - .../local/_app/immutable/chunks/11.9bc2e49c.js | 1 + .../chunks/{12.6b44d648.js => 12.be94a1e9.js} | 2 +- .../local/_app/immutable/chunks/13.16ad8486.js | 1 + .../local/_app/immutable/chunks/13.1f28b48b.js | 1 - .../chunks/{14.b0ae0b6e.js => 14.9447236b.js} | 2 +- .../chunks/{15.e4b981ff.js => 15.5b81d84a.js} | 2 +- .../chunks/{16.94c99308.js => 16.254af1f2.js} | 2 +- .../local/_app/immutable/chunks/17.76f55a91.js | 1 - .../local/_app/immutable/chunks/17.88c703c3.js | 1 + .../local/_app/immutable/chunks/18.7cd728b6.js | 1 - .../local/_app/immutable/chunks/18.a7dec31d.js | 1 + .../local/_app/immutable/chunks/19.59b1ae9a.js | 1 - .../local/_app/immutable/chunks/19.d706566e.js | 1 + .../local/_app/immutable/chunks/2.a03e8a7a.js | 1 - .../local/_app/immutable/chunks/2.aad9e569.js | 1 + .../chunks/{20.e6646284.js => 20.7437b919.js} | 2 +- .../chunks/{21.6d09b3a8.js => 21.f79d193a.js} | 2 +- .../chunks/{22.fc83beb3.js => 22.36388f35.js} | 2 +- .../chunks/{23.92ce6783.js => 23.94134f77.js} | 2 +- .../chunks/{24.1072f0c1.js => 24.4ceddc95.js} | 2 +- .../chunks/{25.86186090.js => 25.fac49063.js} | 2 +- .../chunks/{27.587f623e.js => 27.34a8be1c.js} | 2 +- .../local/_app/immutable/chunks/28.1c7e2fcf.js | 1 - .../local/_app/immutable/chunks/28.7cd5543e.js | 1 + .../local/_app/immutable/chunks/29.0cd65b1e.js | 1 - .../local/_app/immutable/chunks/29.b5304814.js | 1 + .../local/_app/immutable/chunks/3.3393df3d.js | 1 - .../local/_app/immutable/chunks/3.b5db6dc0.js | 1 + .../chunks/{31.5c0ae971.js => 31.8b00ccfc.js} | 2 +- .../local/_app/immutable/chunks/32.89b8bfa3.js | 1 + .../local/_app/immutable/chunks/32.e94a11ed.js | 1 - .../local/_app/immutable/chunks/33.30e97d03.js | 1 - .../local/_app/immutable/chunks/33.4af3b5fe.js | 1 + .../local/_app/immutable/chunks/34.89b8bfa3.js | 1 + .../local/_app/immutable/chunks/34.e94a11ed.js | 1 - .../local/_app/immutable/chunks/35.89b8bfa3.js | 1 + .../local/_app/immutable/chunks/35.e94a11ed.js | 1 - .../local/_app/immutable/chunks/36.46cf0a36.js | 1 + .../local/_app/immutable/chunks/36.b7a3df19.js | 1 - .../chunks/{37.8059eb75.js => 37.6f27a3a2.js} | 2 +- .../chunks/{38.8948275f.js => 38.64109277.js} | 2 +- .../chunks/{39.d2fbdd91.js => 39.38eaa73b.js} | 2 +- .../chunks/{4.5efc79f1.js => 4.a04174cf.js} | 2 +- .../chunks/{40.27e5751e.js => 40.e8de9473.js} | 2 +- .../local/_app/immutable/chunks/41.5f9c82ba.js | 1 - .../local/_app/immutable/chunks/41.69ee4def.js | 1 + .../local/_app/immutable/chunks/42.0eb9f351.js | 1 + .../local/_app/immutable/chunks/42.e82dbe83.js | 1 - .../chunks/{5.2ba1889e.js => 5.b658bf6e.js} | 2 +- .../chunks/{8.6638d6c2.js => 8.0d93c2d4.js} | 2 +- .../chunks/{9.cc6c1ec6.js => 9.ca1e2aba.js} | 2 +- .../{_layout.cebacaa4.js => _layout.91beef47.js} | 2 +- .../{_layout.5c7b43d0.js => _layout.97f21994.js} | 2 +- .../{_layout.6c02717b.js => _layout.c9855fd0.js} | 2 +- .../{_page.011b8ecc.js => _page.0171ff9b.js} | 2 +- .../{_page.98cb61bc.js => _page.04d6547f.js} | 2 +- .../{_page.f6735002.js => _page.229b03a2.js} | 2 +- .../{_page.8b656119.js => _page.9bc91c93.js} | 2 +- .../{_page.000985df.js => _page.a2e291f1.js} | 2 +- .../{_page.c1dd67a1.js => _page.b4978905.js} | 2 +- .../{_page.cbe3b57f.js => _page.d908487b.js} | 2 +- .../{_page.8d04c3f0.js => _page.f15985bd.js} | 2 +- .../{_page.3ea24305.js => _page.fd51d2ec.js} | 2 +- ...cordion.3c992162.js => accordion.27d3ff9a.js} | 2 +- ...th-user.f0bc59ab.js => auth-user.051e0dee.js} | 2 +- ....2ef00b45.js => batch-operations.54e5cb65.js} | 2 +- ...-block.5b4e5d21.js => code-block.797d93a9.js} | 2 +- ...3607fbc7.js => copy-to-clipboard.a6afb80a.js} | 2 +- ...re-user.3a655c21.js => core-user.c59191b9.js} | 2 +- ...b7b570.js => data-encoder-config.79b97010.js} | 2 +- ...ad.1c6b12fc.js => decode-payload.e6040d83.js} | 2 +- .../_app/immutable/chunks/drawer.14ba7d3c.js | 1 - .../_app/immutable/chunks/drawer.5e79e00e.js | 1 + .../{error.bc570d65.js => error.fc570cb5.js} | 2 +- ....js => event-history-file-import.d64caee8.js} | 2 +- ...5df242.js => event-summary-table.c8c908b8.js} | 2 +- ...t-view.fe644395.js => event-view.f3ec8bd2.js} | 2 +- ...ce.7b234537.js => events-service.4ec8b4a3.js} | 2 +- .../{filters.2cde2000.js => filters.d78bd1e9.js} | 2 +- ...-date.71526e4c.js => format-date.79f77cbf.js} | 2 +- ...74.js => format-event-attributes.8792031a.js} | 2 +- ...t-codec.be95b1c3.js => get-codec.fde3aa26.js} | 2 +- .../immutable/chunks/import-events.0a475568.js | 1 + .../immutable/chunks/import-events.1bc34d6c.js | 1 - .../{index.70d7ea32.js => index.38be7b17.js} | 2 +- .../_app/immutable/chunks/index.44f123ef.js | 1 + .../_app/immutable/chunks/index.6463bb02.js | 1 - .../{index.fcfd418a.js => index.a9a075c8.js} | 2 +- .../{input.8b192295.js => input.d5248942.js} | 2 +- .../_app/immutable/chunks/labs-mode.1f006a51.js | 1 + .../_app/immutable/chunks/labs-mode.476dd7f5.js | 1 - .../local/_app/immutable/chunks/link.4944a6a5.js | 1 - .../local/_app/immutable/chunks/link.7cb1390a.js | 1 + .../{logo.ba44ed17.js => logo.e000abd5.js} | 2 +- .../local/_app/immutable/chunks/menu.4ba49cb6.js | 3 +++ .../local/_app/immutable/chunks/menu.c7988d0b.js | 3 --- .../_app/immutable/chunks/modal.0783f753.js | 1 - .../_app/immutable/chunks/modal.25f32d75.js | 1 + ...f534be1.js => namespaces-service.5add732a.js} | 2 +- .../_app/immutable/chunks/namespaces.5721b9bd.js | 1 - .../_app/immutable/chunks/namespaces.5ad7f936.js | 1 + ...gation.8b74a406.js => navigation.3b6dd1c7.js} | 2 +- .../{option.9ca3e3be.js => option.1c804512.js} | 2 +- ...ginated.713346b6.js => paginated.a1dfd6c1.js} | 2 +- ...nation.3eb97d83.js => pagination.6f99836b.js} | 2 +- .../_app/immutable/chunks/paths.6ba25c42.js | 1 + .../_app/immutable/chunks/paths.e7bc2ad1.js | 1 - ...r.357d48e6.js => payload-decoder.53c14555.js} | 2 +- ...ore.ad106cab.js => persist-store.47877c2b.js} | 2 +- ...e.d402da8b.js => pollers-service.310d4298.js} | 2 +- ...ice.84b09f62.js => query-service.37bc9273.js} | 2 +- ...input.c176e21a.js => radio-input.af69c0d3.js} | 2 +- ...api.6f64f216.js => route-for-api.a8b11085.js} | 2 +- ...ute-for.3b55a4c6.js => route-for.d76d8056.js} | 2 +- ...e6169d6.js => schedule-form-view.31c423ef.js} | 2 +- ....850db2fb.js => schedule-service.4cfc145d.js} | 2 +- ...hedules.f146f38a.js => schedules.8c7d6083.js} | 2 +- ...03d6dc08.js => search-attributes.5b3e5149.js} | 2 +- ....1e982d61.js => settings-service.8df029a6.js} | 2 +- ...0f55a5.js => simplify-attributes.7c9bfcb7.js} | 2 +- ...letons.aae8f11e.js => singletons.741208bb.js} | 2 +- ...tton.6be660d6.js => split-button.a43ca811.js} | 2 +- .../{stores.9d4a2bb0.js => stores.cd833532.js} | 2 +- .../chunks/{tab.54c1ef65.js => tab.25c1b914.js} | 2 +- .../{toaster.d089c03c.js => toaster.a0b7d8ad.js} | 2 +- ...ns.c3213cc2.js => toggle-buttons.d3e32817.js} | 2 +- .../{tooltip.6cc63041.js => tooltip.9802d6e3.js} | 2 +- ...21.js => update-query-parameters.016c7f2f.js} | 2 +- ...versions.2bb4ba4c.js => versions.a86975a1.js} | 2 +- ...list.f1c48798.js => workers-list.291f60eb.js} | 2 +- ...62.js => workflow-json-navigator.1792b935.js} | 2 +- ...-run.889d50fd.js => workflow-run.1abbba7b.js} | 2 +- ....56e6b262.js => workflow-service.14ef2cb6.js} | 2 +- ...rkflows.00769fe8.js => workflows.915912aa.js} | 2 +- ...run_-history-compact-page.svelte.ba93c4dd.js} | 2 +- ..._-_run_-history-feed-page.svelte.4960b25c.js} | 2 +- ..._-_run_-history-json-page.svelte.15e5dbe2.js} | 2 +- ...low_-_run_-history-layout.svelte.28d38e72.js} | 2 +- ...-_workflow_-_run_-history-page.ts.33d930b1.js | 1 + ...-_workflow_-_run_-history-page.ts.95c72fbb.js | 1 - ... (app)-import-events-page.svelte.7623444e.js} | 2 +- ...js => (app)-import-layout.svelte.a8105da0.js} | 2 +- .../entry/(app)-import-page.ts.16073dba.js | 1 + .../entry/(app)-import-page.ts.d6340ace.js | 1 - ...04a943.js => (app)-layout.svelte.ef836b2b.js} | 8 ++++---- .../immutable/entry/(app)-layout.ts.97c38b63.js | 1 - .../immutable/entry/(app)-layout.ts.f9a51073.js | 1 + ..._namespace_-archival-page.svelte.53f62b49.js} | 2 +- ...aces-_namespace_-archival-page.ts.79523074.js | 1 + ...aces-_namespace_-archival-page.ts.879db8d3.js | 1 - ...h-operations-_jobId_-page.svelte.e6af209f.js} | 2 +- ...ce_-batch-operations-page.svelte.a9c8ef59.js} | 2 +- ...-namespaces-_namespace_-layout.ts.10067b2b.js | 1 - ...-namespaces-_namespace_-layout.ts.a3cb53fd.js | 1 + ...mespaces-_namespace_-page.svelte.7b6ebdeb.js} | 2 +- ...p)-namespaces-_namespace_-page.ts.747e2ea8.js | 1 + ...p)-namespaces-_namespace_-page.ts.f7fac028.js | 1 - ...ules-_schedule_-edit-page.svelte.6d0e271d.js} | 2 +- ...schedules-_schedule_-page.svelte.d01fb7cc.js} | 2 +- ...ce_-schedules-create-page.svelte.d27cb023.js} | 2 +- ...namespace_-schedules-page.svelte.ed0c304a.js} | 2 +- ...-task-queues-_queue_-page.svelte.de348286.js} | 2 +- ...ow_-_run_-history-compact-page.ts.292a98c4.js | 1 + ...ow_-_run_-history-compact-page.ts.c8763ace.js | 1 - ...-history-events-_id_-page.svelte.8246f4eb.js} | 2 +- ...kflow_-_run_-history-feed-page.ts.292a98c4.js | 1 + ...kflow_-_run_-history-feed-page.ts.c8763ace.js | 1 - ...kflow_-_run_-history-json-page.ts.292a98c4.js | 1 + ...kflow_-_run_-history-json-page.ts.c8763ace.js | 1 - ...kflow_-_run_-history-page.svelte.252ac404.js} | 2 +- ...s-_workflow_-_run_-layout.svelte.f677ae93.js} | 2 +- ..._-pending-activities-page.svelte.00f941cc.js} | 2 +- ...orkflow_-_run_-query-page.svelte.2ea40df1.js} | 2 +- ...w_-_run_-stack-trace-page.svelte.8223983b.js} | 2 +- ...kflow_-_run_-workers-page.svelte.9246e0a1.js} | 2 +- ...ce_-workflows-_workflow_-page.ts.3127b634.js} | 2 +- ...namespace_-workflows-page.svelte.44bb46c6.js} | 6 +++--- ... => (app)-namespaces-page.svelte.eb0a6627.js} | 2 +- ...0c6130fb.js => (app)-page.svelte.01805950.js} | 2 +- .../immutable/entry/(app)-page.ts.0e00ca1c.js | 1 - .../immutable/entry/(app)-page.ts.fc4fe7ed.js | 1 + ...pp)-select-namespace-page.svelte.80a34f3c.js} | 2 +- .../entry/(login)-layout.ts.2e54d18d.js | 1 + .../entry/(login)-layout.ts.8c5b13c0.js | 1 - ....js => (login)-login-page.svelte.daba58a1.js} | 2 +- ...js => (login)-signin-page.svelte.daba58a1.js} | 2 +- ...lte.fd05a858.js => _error.svelte.f19f2b3d.js} | 2 +- .../local/_app/immutable/entry/app.ef30dc3d.js | 1 + .../local/_app/immutable/entry/app.fe3f4d1c.js | 1 - .../{start.e6fa7374.js => start.703f1119.js} | 2 +- ui/assets/local/_app/version.json | 2 +- ui/assets/local/index.html | 16 ++++++++-------- 204 files changed, 176 insertions(+), 176 deletions(-) delete mode 100644 ui/assets/local/_app/immutable/assets/_layout.3841e971.css create mode 100644 ui/assets/local/_app/immutable/assets/_layout.b7b71fe6.css create mode 100644 ui/assets/local/_app/immutable/assets/app.01329fc1.css delete mode 100644 ui/assets/local/_app/immutable/assets/app.01ff13c2.css rename ui/assets/local/_app/immutable/assets/{event-summary-table.4456dbde.css => event-summary-table.c983745f.css} (71%) delete mode 100644 ui/assets/local/_app/immutable/assets/menu.0bf3fcbe.css create mode 100644 ui/assets/local/_app/immutable/assets/menu.b7c0dde7.css delete mode 100644 ui/assets/local/_app/immutable/chunks/1.52cc10cd.js create mode 100644 ui/assets/local/_app/immutable/chunks/1.87434678.js delete mode 100644 ui/assets/local/_app/immutable/chunks/10.adc0d7aa.js create mode 100644 ui/assets/local/_app/immutable/chunks/10.e2f39a14.js delete mode 100644 ui/assets/local/_app/immutable/chunks/11.275ad04b.js create mode 100644 ui/assets/local/_app/immutable/chunks/11.9bc2e49c.js rename ui/assets/local/_app/immutable/chunks/{12.6b44d648.js => 12.be94a1e9.js} (62%) create mode 100644 ui/assets/local/_app/immutable/chunks/13.16ad8486.js delete mode 100644 ui/assets/local/_app/immutable/chunks/13.1f28b48b.js rename ui/assets/local/_app/immutable/chunks/{14.b0ae0b6e.js => 14.9447236b.js} (56%) rename ui/assets/local/_app/immutable/chunks/{15.e4b981ff.js => 15.5b81d84a.js} (55%) rename ui/assets/local/_app/immutable/chunks/{16.94c99308.js => 16.254af1f2.js} (55%) delete mode 100644 ui/assets/local/_app/immutable/chunks/17.76f55a91.js create mode 100644 ui/assets/local/_app/immutable/chunks/17.88c703c3.js delete mode 100644 ui/assets/local/_app/immutable/chunks/18.7cd728b6.js create mode 100644 ui/assets/local/_app/immutable/chunks/18.a7dec31d.js delete mode 100644 ui/assets/local/_app/immutable/chunks/19.59b1ae9a.js create mode 100644 ui/assets/local/_app/immutable/chunks/19.d706566e.js delete mode 100644 ui/assets/local/_app/immutable/chunks/2.a03e8a7a.js create mode 100644 ui/assets/local/_app/immutable/chunks/2.aad9e569.js rename ui/assets/local/_app/immutable/chunks/{20.e6646284.js => 20.7437b919.js} (50%) rename ui/assets/local/_app/immutable/chunks/{21.6d09b3a8.js => 21.f79d193a.js} (53%) rename ui/assets/local/_app/immutable/chunks/{22.fc83beb3.js => 22.36388f35.js} (52%) rename ui/assets/local/_app/immutable/chunks/{23.92ce6783.js => 23.94134f77.js} (51%) rename ui/assets/local/_app/immutable/chunks/{24.1072f0c1.js => 24.4ceddc95.js} (53%) rename ui/assets/local/_app/immutable/chunks/{25.86186090.js => 25.fac49063.js} (50%) rename ui/assets/local/_app/immutable/chunks/{27.587f623e.js => 27.34a8be1c.js} (51%) delete mode 100644 ui/assets/local/_app/immutable/chunks/28.1c7e2fcf.js create mode 100644 ui/assets/local/_app/immutable/chunks/28.7cd5543e.js delete mode 100644 ui/assets/local/_app/immutable/chunks/29.0cd65b1e.js create mode 100644 ui/assets/local/_app/immutable/chunks/29.b5304814.js delete mode 100644 ui/assets/local/_app/immutable/chunks/3.3393df3d.js create mode 100644 ui/assets/local/_app/immutable/chunks/3.b5db6dc0.js rename ui/assets/local/_app/immutable/chunks/{31.5c0ae971.js => 31.8b00ccfc.js} (68%) create mode 100644 ui/assets/local/_app/immutable/chunks/32.89b8bfa3.js delete mode 100644 ui/assets/local/_app/immutable/chunks/32.e94a11ed.js delete mode 100644 ui/assets/local/_app/immutable/chunks/33.30e97d03.js create mode 100644 ui/assets/local/_app/immutable/chunks/33.4af3b5fe.js create mode 100644 ui/assets/local/_app/immutable/chunks/34.89b8bfa3.js delete mode 100644 ui/assets/local/_app/immutable/chunks/34.e94a11ed.js create mode 100644 ui/assets/local/_app/immutable/chunks/35.89b8bfa3.js delete mode 100644 ui/assets/local/_app/immutable/chunks/35.e94a11ed.js create mode 100644 ui/assets/local/_app/immutable/chunks/36.46cf0a36.js delete mode 100644 ui/assets/local/_app/immutable/chunks/36.b7a3df19.js rename ui/assets/local/_app/immutable/chunks/{37.8059eb75.js => 37.6f27a3a2.js} (55%) rename ui/assets/local/_app/immutable/chunks/{38.8948275f.js => 38.64109277.js} (57%) rename ui/assets/local/_app/immutable/chunks/{39.d2fbdd91.js => 39.38eaa73b.js} (56%) rename ui/assets/local/_app/immutable/chunks/{4.5efc79f1.js => 4.a04174cf.js} (54%) rename ui/assets/local/_app/immutable/chunks/{40.27e5751e.js => 40.e8de9473.js} (60%) delete mode 100644 ui/assets/local/_app/immutable/chunks/41.5f9c82ba.js create mode 100644 ui/assets/local/_app/immutable/chunks/41.69ee4def.js create mode 100644 ui/assets/local/_app/immutable/chunks/42.0eb9f351.js delete mode 100644 ui/assets/local/_app/immutable/chunks/42.e82dbe83.js rename ui/assets/local/_app/immutable/chunks/{5.2ba1889e.js => 5.b658bf6e.js} (54%) rename ui/assets/local/_app/immutable/chunks/{8.6638d6c2.js => 8.0d93c2d4.js} (54%) rename ui/assets/local/_app/immutable/chunks/{9.cc6c1ec6.js => 9.ca1e2aba.js} (57%) rename ui/assets/local/_app/immutable/chunks/{_layout.cebacaa4.js => _layout.91beef47.js} (78%) rename ui/assets/local/_app/immutable/chunks/{_layout.5c7b43d0.js => _layout.97f21994.js} (85%) rename ui/assets/local/_app/immutable/chunks/{_layout.6c02717b.js => _layout.c9855fd0.js} (81%) rename ui/assets/local/_app/immutable/chunks/{_page.011b8ecc.js => _page.0171ff9b.js} (80%) rename ui/assets/local/_app/immutable/chunks/{_page.98cb61bc.js => _page.04d6547f.js} (85%) rename ui/assets/local/_app/immutable/chunks/{_page.f6735002.js => _page.229b03a2.js} (88%) rename ui/assets/local/_app/immutable/chunks/{_page.8b656119.js => _page.9bc91c93.js} (80%) rename ui/assets/local/_app/immutable/chunks/{_page.000985df.js => _page.a2e291f1.js} (75%) rename ui/assets/local/_app/immutable/chunks/{_page.c1dd67a1.js => _page.b4978905.js} (80%) rename ui/assets/local/_app/immutable/chunks/{_page.cbe3b57f.js => _page.d908487b.js} (74%) rename ui/assets/local/_app/immutable/chunks/{_page.8d04c3f0.js => _page.f15985bd.js} (89%) rename ui/assets/local/_app/immutable/chunks/{_page.3ea24305.js => _page.fd51d2ec.js} (83%) rename ui/assets/local/_app/immutable/chunks/{accordion.3c992162.js => accordion.27d3ff9a.js} (98%) rename ui/assets/local/_app/immutable/chunks/{auth-user.f0bc59ab.js => auth-user.051e0dee.js} (81%) rename ui/assets/local/_app/immutable/chunks/{batch-operations.2ef00b45.js => batch-operations.54e5cb65.js} (86%) rename ui/assets/local/_app/immutable/chunks/{code-block.5b4e5d21.js => code-block.797d93a9.js} (99%) rename ui/assets/local/_app/immutable/chunks/{copy-to-clipboard.3607fbc7.js => copy-to-clipboard.a6afb80a.js} (77%) rename ui/assets/local/_app/immutable/chunks/{core-user.3a655c21.js => core-user.c59191b9.js} (63%) rename ui/assets/local/_app/immutable/chunks/{data-encoder-config.b5b7b570.js => data-encoder-config.79b97010.js} (74%) rename ui/assets/local/_app/immutable/chunks/{decode-payload.1c6b12fc.js => decode-payload.e6040d83.js} (97%) delete mode 100644 ui/assets/local/_app/immutable/chunks/drawer.14ba7d3c.js create mode 100644 ui/assets/local/_app/immutable/chunks/drawer.5e79e00e.js rename ui/assets/local/_app/immutable/chunks/{error.bc570d65.js => error.fc570cb5.js} (95%) rename ui/assets/local/_app/immutable/chunks/{event-history-file-import.338772bc.js => event-history-file-import.d64caee8.js} (87%) rename ui/assets/local/_app/immutable/chunks/{event-summary-table.295df242.js => event-summary-table.c8c908b8.js} (85%) rename ui/assets/local/_app/immutable/chunks/{event-view.fe644395.js => event-view.f3ec8bd2.js} (75%) rename ui/assets/local/_app/immutable/chunks/{events-service.7b234537.js => events-service.4ec8b4a3.js} (75%) rename ui/assets/local/_app/immutable/chunks/{filters.2cde2000.js => filters.d78bd1e9.js} (64%) rename ui/assets/local/_app/immutable/chunks/{format-date.71526e4c.js => format-date.79f77cbf.js} (99%) rename ui/assets/local/_app/immutable/chunks/{format-event-attributes.14b5bd74.js => format-event-attributes.8792031a.js} (98%) rename ui/assets/local/_app/immutable/chunks/{get-codec.be95b1c3.js => get-codec.fde3aa26.js} (89%) create mode 100644 ui/assets/local/_app/immutable/chunks/import-events.0a475568.js delete mode 100644 ui/assets/local/_app/immutable/chunks/import-events.1bc34d6c.js rename ui/assets/local/_app/immutable/chunks/{index.70d7ea32.js => index.38be7b17.js} (78%) create mode 100644 ui/assets/local/_app/immutable/chunks/index.44f123ef.js delete mode 100644 ui/assets/local/_app/immutable/chunks/index.6463bb02.js rename ui/assets/local/_app/immutable/chunks/{index.fcfd418a.js => index.a9a075c8.js} (98%) rename ui/assets/local/_app/immutable/chunks/{input.8b192295.js => input.d5248942.js} (99%) create mode 100644 ui/assets/local/_app/immutable/chunks/labs-mode.1f006a51.js delete mode 100644 ui/assets/local/_app/immutable/chunks/labs-mode.476dd7f5.js delete mode 100644 ui/assets/local/_app/immutable/chunks/link.4944a6a5.js create mode 100644 ui/assets/local/_app/immutable/chunks/link.7cb1390a.js rename ui/assets/local/_app/immutable/chunks/{logo.ba44ed17.js => logo.e000abd5.js} (95%) create mode 100644 ui/assets/local/_app/immutable/chunks/menu.4ba49cb6.js delete mode 100644 ui/assets/local/_app/immutable/chunks/menu.c7988d0b.js delete mode 100644 ui/assets/local/_app/immutable/chunks/modal.0783f753.js create mode 100644 ui/assets/local/_app/immutable/chunks/modal.25f32d75.js rename ui/assets/local/_app/immutable/chunks/{namespaces-service.5f534be1.js => namespaces-service.5add732a.js} (78%) delete mode 100644 ui/assets/local/_app/immutable/chunks/namespaces.5721b9bd.js create mode 100644 ui/assets/local/_app/immutable/chunks/namespaces.5ad7f936.js rename ui/assets/local/_app/immutable/chunks/{navigation.8b74a406.js => navigation.3b6dd1c7.js} (69%) rename ui/assets/local/_app/immutable/chunks/{option.9ca3e3be.js => option.1c804512.js} (98%) rename ui/assets/local/_app/immutable/chunks/{paginated.713346b6.js => paginated.a1dfd6c1.js} (78%) rename ui/assets/local/_app/immutable/chunks/{pagination.3eb97d83.js => pagination.6f99836b.js} (98%) create mode 100644 ui/assets/local/_app/immutable/chunks/paths.6ba25c42.js delete mode 100644 ui/assets/local/_app/immutable/chunks/paths.e7bc2ad1.js rename ui/assets/local/_app/immutable/chunks/{payload-decoder.357d48e6.js => payload-decoder.53c14555.js} (87%) rename ui/assets/local/_app/immutable/chunks/{persist-store.ad106cab.js => persist-store.47877c2b.js} (93%) rename ui/assets/local/_app/immutable/chunks/{pollers-service.d402da8b.js => pollers-service.310d4298.js} (98%) rename ui/assets/local/_app/immutable/chunks/{query-service.84b09f62.js => query-service.37bc9273.js} (83%) rename ui/assets/local/_app/immutable/chunks/{radio-input.c176e21a.js => radio-input.af69c0d3.js} (98%) rename ui/assets/local/_app/immutable/chunks/{route-for-api.6f64f216.js => route-for-api.a8b11085.js} (93%) rename ui/assets/local/_app/immutable/chunks/{route-for.3b55a4c6.js => route-for.d76d8056.js} (97%) rename ui/assets/local/_app/immutable/chunks/{schedule-form-view.6e6169d6.js => schedule-form-view.31c423ef.js} (98%) rename ui/assets/local/_app/immutable/chunks/{schedule-service.850db2fb.js => schedule-service.4cfc145d.js} (96%) rename ui/assets/local/_app/immutable/chunks/{schedules.f146f38a.js => schedules.8c7d6083.js} (88%) rename ui/assets/local/_app/immutable/chunks/{search-attributes.03d6dc08.js => search-attributes.5b3e5149.js} (92%) rename ui/assets/local/_app/immutable/chunks/{settings-service.1e982d61.js => settings-service.8df029a6.js} (96%) rename ui/assets/local/_app/immutable/chunks/{simplify-attributes.560f55a5.js => simplify-attributes.7c9bfcb7.js} (94%) rename ui/assets/local/_app/immutable/chunks/{singletons.aae8f11e.js => singletons.741208bb.js} (95%) rename ui/assets/local/_app/immutable/chunks/{split-button.6be660d6.js => split-button.a43ca811.js} (98%) rename ui/assets/local/_app/immutable/chunks/{stores.9d4a2bb0.js => stores.cd833532.js} (69%) rename ui/assets/local/_app/immutable/chunks/{tab.54c1ef65.js => tab.25c1b914.js} (98%) rename ui/assets/local/_app/immutable/chunks/{toaster.d089c03c.js => toaster.a0b7d8ad.js} (94%) rename ui/assets/local/_app/immutable/chunks/{toggle-buttons.c3213cc2.js => toggle-buttons.d3e32817.js} (98%) rename ui/assets/local/_app/immutable/chunks/{tooltip.6cc63041.js => tooltip.9802d6e3.js} (98%) rename ui/assets/local/_app/immutable/chunks/{update-query-parameters.b3356c21.js => update-query-parameters.016c7f2f.js} (82%) rename ui/assets/local/_app/immutable/chunks/{versions.2bb4ba4c.js => versions.a86975a1.js} (59%) rename ui/assets/local/_app/immutable/chunks/{workers-list.f1c48798.js => workers-list.291f60eb.js} (99%) rename ui/assets/local/_app/immutable/chunks/{workflow-json-navigator.b7922362.js => workflow-json-navigator.1792b935.js} (98%) rename ui/assets/local/_app/immutable/chunks/{workflow-run.889d50fd.js => workflow-run.1abbba7b.js} (54%) rename ui/assets/local/_app/immutable/chunks/{workflow-service.56e6b262.js => workflow-service.14ef2cb6.js} (92%) rename ui/assets/local/_app/immutable/chunks/{workflows.00769fe8.js => workflows.915912aa.js} (87%) rename ui/assets/local/_app/immutable/entry/{(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.c734c1a7.js => (app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.ba93c4dd.js} (92%) rename ui/assets/local/_app/immutable/entry/{(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.386959fd.js => (app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.4960b25c.js} (92%) rename ui/assets/local/_app/immutable/entry/{(app)-import-events-_namespace_-_workflow_-_run_-history-json-page.svelte.9f4e903f.js => (app)-import-events-_namespace_-_workflow_-_run_-history-json-page.svelte.15e5dbe2.js} (80%) rename ui/assets/local/_app/immutable/entry/{(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.5cfe4b92.js => (app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.28d38e72.js} (95%) create mode 100644 ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-page.ts.33d930b1.js delete mode 100644 ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-page.ts.95c72fbb.js rename ui/assets/local/_app/immutable/entry/{(app)-import-events-page.svelte.0f107002.js => (app)-import-events-page.svelte.7623444e.js} (94%) rename ui/assets/local/_app/immutable/entry/{(app)-import-layout.svelte.1551be2e.js => (app)-import-layout.svelte.a8105da0.js} (93%) create mode 100644 ui/assets/local/_app/immutable/entry/(app)-import-page.ts.16073dba.js delete mode 100644 ui/assets/local/_app/immutable/entry/(app)-import-page.ts.d6340ace.js rename ui/assets/local/_app/immutable/entry/{(app)-layout.svelte.a804a943.js => (app)-layout.svelte.ef836b2b.js} (55%) delete mode 100644 ui/assets/local/_app/immutable/entry/(app)-layout.ts.97c38b63.js create mode 100644 ui/assets/local/_app/immutable/entry/(app)-layout.ts.f9a51073.js rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-archival-page.svelte.e4b2f32a.js => (app)-namespaces-_namespace_-archival-page.svelte.53f62b49.js} (97%) create mode 100644 ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.ts.79523074.js delete mode 100644 ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.ts.879db8d3.js rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-batch-operations-_jobId_-page.svelte.4766eddc.js => (app)-namespaces-_namespace_-batch-operations-_jobId_-page.svelte.e6af209f.js} (97%) rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-batch-operations-page.svelte.a2bcfbcd.js => (app)-namespaces-_namespace_-batch-operations-page.svelte.a9c8ef59.js} (96%) delete mode 100644 ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-layout.ts.10067b2b.js create mode 100644 ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-layout.ts.a3cb53fd.js rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-page.svelte.30371574.js => (app)-namespaces-_namespace_-page.svelte.7b6ebdeb.js} (98%) create mode 100644 ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.ts.747e2ea8.js delete mode 100644 ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.ts.f7fac028.js rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.170b7e6d.js => (app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.6d0e271d.js} (86%) rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.18dd84a0.js => (app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.d01fb7cc.js} (97%) rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-schedules-create-page.svelte.fe17a501.js => (app)-namespaces-_namespace_-schedules-create-page.svelte.d27cb023.js} (88%) rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-schedules-page.svelte.68d32849.js => (app)-namespaces-_namespace_-schedules-page.svelte.ed0c304a.js} (97%) rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.75adea3b.js => (app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.de348286.js} (92%) create mode 100644 ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-compact-page.ts.292a98c4.js delete mode 100644 ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-compact-page.ts.c8763ace.js rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-events-_id_-page.svelte.842640e1.js => (app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-events-_id_-page.svelte.8246f4eb.js} (92%) create mode 100644 ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-feed-page.ts.292a98c4.js delete mode 100644 ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-feed-page.ts.c8763ace.js create mode 100644 ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-json-page.ts.292a98c4.js delete mode 100644 ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-json-page.ts.c8763ace.js rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.bf1b8d47.js => (app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.252ac404.js} (99%) rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.16345e4f.js => (app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.f677ae93.js} (96%) rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.8cfe4ed9.js => (app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.00f941cc.js} (97%) rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.5e4b6829.js => (app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.2ea40df1.js} (95%) rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.ecfaedc9.js => (app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.8223983b.js} (93%) rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.82047835.js => (app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.9246e0a1.js} (89%) rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-workflows-_workflow_-page.ts.de9a8f54.js => (app)-namespaces-_namespace_-workflows-_workflow_-page.ts.3127b634.js} (57%) rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-_namespace_-workflows-page.svelte.c7e322ec.js => (app)-namespaces-_namespace_-workflows-page.svelte.44bb46c6.js} (59%) rename ui/assets/local/_app/immutable/entry/{(app)-namespaces-page.svelte.ae96de4b.js => (app)-namespaces-page.svelte.eb0a6627.js} (94%) rename ui/assets/local/_app/immutable/entry/{(app)-page.svelte.0c6130fb.js => (app)-page.svelte.01805950.js} (72%) delete mode 100644 ui/assets/local/_app/immutable/entry/(app)-page.ts.0e00ca1c.js create mode 100644 ui/assets/local/_app/immutable/entry/(app)-page.ts.fc4fe7ed.js rename ui/assets/local/_app/immutable/entry/{(app)-select-namespace-page.svelte.63f6c5dd.js => (app)-select-namespace-page.svelte.80a34f3c.js} (94%) create mode 100644 ui/assets/local/_app/immutable/entry/(login)-layout.ts.2e54d18d.js delete mode 100644 ui/assets/local/_app/immutable/entry/(login)-layout.ts.8c5b13c0.js rename ui/assets/local/_app/immutable/entry/{(login)-login-page.svelte.5a3b5e94.js => (login)-login-page.svelte.daba58a1.js} (94%) rename ui/assets/local/_app/immutable/entry/{(login)-signin-page.svelte.5a3b5e94.js => (login)-signin-page.svelte.daba58a1.js} (94%) rename ui/assets/local/_app/immutable/entry/{_error.svelte.fd05a858.js => _error.svelte.f19f2b3d.js} (86%) create mode 100644 ui/assets/local/_app/immutable/entry/app.ef30dc3d.js delete mode 100644 ui/assets/local/_app/immutable/entry/app.fe3f4d1c.js rename ui/assets/local/_app/immutable/entry/{start.e6fa7374.js => start.703f1119.js} (99%) diff --git a/ui/assets/local/_app/immutable/assets/_layout.3841e971.css b/ui/assets/local/_app/immutable/assets/_layout.3841e971.css deleted file mode 100644 index 0cee422f52..0000000000 --- a/ui/assets/local/_app/immutable/assets/_layout.3841e971.css +++ /dev/null @@ -1 +0,0 @@ -label.svelte-1cdabgy{font-family:Poppins,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:.875rem;font-weight:500;line-height:1.25rem;margin-bottom:2.5rem}label.required.svelte-1cdabgy:after{--tw-content:"*";content:var(--tw-content)}.error-msg.svelte-1cdabgy,.error.svelte-1cdabgy{--tw-border-opacity:1;border-color:rgb(185 28 28/var(--tw-border-opacity))}.error-msg.svelte-1cdabgy{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity));font-family:Inter Variable,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:.875rem;font-weight:400;line-height:1.25rem}.nav-header.svelte-r0fij8.svelte-r0fij8{background-color:rgb(24 24 27/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity));display:flex;flex-direction:column;height:100vh;justify-content:space-between;position:relative;z-index:0}.nav-header.cloud.svelte-r0fij8.svelte-r0fij8,.nav-header.svelte-r0fij8.svelte-r0fij8{--tw-bg-opacity:1;--tw-text-opacity:1}.nav-header.cloud.svelte-r0fij8.svelte-r0fij8{background-color:rgb(255 255 255/var(--tw-bg-opacity));color:rgb(24 24 27/var(--tw-text-opacity))}.nav-wrapper.svelte-r0fij8.svelte-r0fij8{align-items:center;display:flex;flex-direction:column;flex-grow:1;justify-content:space-between;width:4rem;z-index:50}.nav-wrapper.open.svelte-r0fij8.svelte-r0fij8{width:10rem}.nav-section-wrapper.svelte-r0fij8.svelte-r0fij8{width:100%}.nav-section-wrapper.svelte-r0fij8.svelte-r0fij8,.nav-section.svelte-r0fij8.svelte-r0fij8{display:flex;flex-direction:column}.nav-section.svelte-r0fij8.svelte-r0fij8{gap:.5rem;padding-left:.75rem;padding-right:.75rem}.cloud.svelte-r0fij8.svelte-r0fij8{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));color:rgb(24 24 27/var(--tw-text-opacity))}.close.svelte-r0fij8 .nav-title{width:0}.open.svelte-r0fij8 .namespace,.open.svelte-r0fij8 .nav-title{width:100px}.nav-toggle.svelte-r0fij8.svelte-r0fij8{display:none;left:18px;position:absolute;top:52px;transition:left .15s linear,width .15s linear;z-index:51}.nav-header.svelte-r0fij8:focus .nav-toggle.svelte-r0fij8,.nav-header.svelte-r0fij8:hover .nav-toggle.svelte-r0fij8{display:block}.nav-toggle.close.svelte-r0fij8.svelte-r0fij8{left:18px}.nav-toggle.open.svelte-r0fij8.svelte-r0fij8{left:130px}.transition-left.svelte-r0fij8.svelte-r0fij8{transition:left .15s linear,width .15s linear}.transition-width.svelte-r0fij8.svelte-r0fij8{transition:width .15s ease-in-out,width .15s ease-in-out}.nav-row.svelte-4ukgao{align-items:center;border-radius:.5rem;display:flex;flex-direction:row;font-size:.875rem;font-weight:500;line-height:1.25rem;padding-bottom:.25rem;padding-top:.25rem;white-space:nowrap}.nav-row.button.svelte-4ukgao{padding-bottom:0;padding-top:0}.wrap.svelte-4ukgao{white-space:normal}.local.svelte-4ukgao{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.cloud.svelte-4ukgao{--tw-text-opacity:1}.cloud.svelte-4ukgao,.local.svelte-4ukgao:hover{color:rgb(24 24 27/var(--tw-text-opacity))}.local.svelte-4ukgao:hover{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.cloud.svelte-4ukgao:hover,.local.svelte-4ukgao:hover{--tw-bg-opacity:1;--tw-text-opacity:1}.cloud.svelte-4ukgao:hover{background-color:rgb(24 24 27/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.nav-icon.svelte-1jb7rp7{cursor:pointer;height:1.5rem;margin-left:.5rem;margin-right:.5rem;margin-top:0}.nav-title.svelte-1jb7rp7{overflow:hidden;transition:width .15s linear;width:100px}.combobox-label.svelte-1nqx354{font-family:Poppins,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-weight:400}.combobox-label.svelte-1nqx354,.combobox-wrapper.svelte-1nqx354{font-size:.875rem;line-height:1.25rem}.combobox-wrapper.svelte-1nqx354{--tw-border-opacity:1;--tw-bg-opacity:1;align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(24 24 27/var(--tw-border-opacity));border-radius:.5rem;border-width:1px;display:flex;flex-direction:row;height:2.5rem;width:100%}.combobox-wrapper.svelte-1nqx354:focus-within{--tw-border-opacity:1;--tw-shadow:0 0 0 4px;--tw-shadow-colored:0 0 0 4px var(--tw-shadow-color);--tw-shadow-color:rgba(37,99,235,.5);--tw-shadow:var(--tw-shadow-colored);border-color:rgb(79 70 229/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}.combobox-input.svelte-1nqx354{flex-grow:1;font-family:Inter Variable,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;height:100%;margin-left:.5rem;width:100%}.combobox-input.svelte-1nqx354:focus{outline:2px solid transparent;outline-offset:2px}.combobox-button.svelte-1nqx354{align-items:center;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));border-radius:9999px;display:flex;flex-shrink:0;justify-content:center;margin-left:.5rem;margin-right:.5rem}.combobox-button.svelte-1nqx354:hover{--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#f3e8ff}.error.svelte-urrl06{border:1px solid red}.trace.svelte-urrl06{font-family:monospace}.back-to-top.svelte-11aee8w{bottom:1.25rem;position:fixed;right:2rem;z-index:50}.back-to-top.hidden.svelte-11aee8w{visibility:hidden}.primary.svelte-19tipv7{background-color:rgb(24 24 27/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.primary.svelte-19tipv7,.success.svelte-19tipv7{--tw-bg-opacity:1;--tw-text-opacity:1}.success.svelte-19tipv7{background-color:rgb(240 253 244/var(--tw-bg-opacity));color:rgb(20 83 45/var(--tw-text-opacity))}.error.svelte-19tipv7{background-color:rgb(254 242 242/var(--tw-bg-opacity));color:rgb(127 29 29/var(--tw-text-opacity))}.error.svelte-19tipv7,.info.svelte-19tipv7{--tw-bg-opacity:1;--tw-text-opacity:1}.info.svelte-19tipv7{background-color:rgb(239 246 255/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.warning.svelte-19tipv7{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(254 252 232/var(--tw-bg-opacity));color:rgb(113 63 18/var(--tw-text-opacity))} diff --git a/ui/assets/local/_app/immutable/assets/_layout.b7b71fe6.css b/ui/assets/local/_app/immutable/assets/_layout.b7b71fe6.css new file mode 100644 index 0000000000..da99ebd208 --- /dev/null +++ b/ui/assets/local/_app/immutable/assets/_layout.b7b71fe6.css @@ -0,0 +1 @@ +label.svelte-1cdabgy{font-family:Poppins,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:.875rem;font-weight:500;line-height:1.25rem;margin-bottom:2.5rem}label.required.svelte-1cdabgy:after{--tw-content:"*";content:var(--tw-content)}.error-msg.svelte-1cdabgy,.error.svelte-1cdabgy{--tw-border-opacity:1;border-color:rgb(185 28 28/var(--tw-border-opacity))}.error-msg.svelte-1cdabgy{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity));font-family:Inter Variable,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:.875rem;font-weight:400;line-height:1.25rem}.nav-header.svelte-1e50i2l.svelte-1e50i2l{background-color:rgb(24 24 27/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity));display:flex;flex-direction:column;height:100vh;justify-content:space-between;position:relative}.nav-header.cloud.svelte-1e50i2l.svelte-1e50i2l,.nav-header.svelte-1e50i2l.svelte-1e50i2l{--tw-bg-opacity:1;--tw-text-opacity:1}.nav-header.cloud.svelte-1e50i2l.svelte-1e50i2l{background-color:rgb(255 255 255/var(--tw-bg-opacity));color:rgb(24 24 27/var(--tw-text-opacity))}.nav-wrapper.svelte-1e50i2l.svelte-1e50i2l{align-items:center;display:flex;flex-direction:column;flex-grow:1;justify-content:space-between;width:4rem}.nav-wrapper.open.svelte-1e50i2l.svelte-1e50i2l{width:10rem}.nav-section-wrapper.svelte-1e50i2l.svelte-1e50i2l{width:100%}.nav-section-wrapper.svelte-1e50i2l.svelte-1e50i2l,.nav-section.svelte-1e50i2l.svelte-1e50i2l{display:flex;flex-direction:column}.nav-section.svelte-1e50i2l.svelte-1e50i2l{gap:.5rem;padding-left:.75rem;padding-right:.75rem}.cloud.svelte-1e50i2l.svelte-1e50i2l{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));color:rgb(24 24 27/var(--tw-text-opacity))}.close.svelte-1e50i2l .nav-title{width:0}.open.svelte-1e50i2l .namespace,.open.svelte-1e50i2l .nav-title{width:100px}.nav-toggle.svelte-1e50i2l.svelte-1e50i2l{display:none;left:18px;position:absolute;top:52px;transition:left .15s linear,width .15s linear}.nav-header.svelte-1e50i2l:focus .nav-toggle.svelte-1e50i2l,.nav-header.svelte-1e50i2l:hover .nav-toggle.svelte-1e50i2l{display:block}.nav-toggle.close.svelte-1e50i2l.svelte-1e50i2l{left:18px}.nav-toggle.open.svelte-1e50i2l.svelte-1e50i2l{left:130px}.transition-left.svelte-1e50i2l.svelte-1e50i2l{transition:left .15s linear,width .15s linear}.transition-width.svelte-1e50i2l.svelte-1e50i2l{transition:width .15s ease-in-out,width .15s ease-in-out}.nav-row.svelte-4ukgao{align-items:center;border-radius:.5rem;display:flex;flex-direction:row;font-size:.875rem;font-weight:500;line-height:1.25rem;padding-bottom:.25rem;padding-top:.25rem;white-space:nowrap}.nav-row.button.svelte-4ukgao{padding-bottom:0;padding-top:0}.wrap.svelte-4ukgao{white-space:normal}.local.svelte-4ukgao{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.cloud.svelte-4ukgao{--tw-text-opacity:1}.cloud.svelte-4ukgao,.local.svelte-4ukgao:hover{color:rgb(24 24 27/var(--tw-text-opacity))}.local.svelte-4ukgao:hover{background-color:rgb(255 255 255/var(--tw-bg-opacity))}.cloud.svelte-4ukgao:hover,.local.svelte-4ukgao:hover{--tw-bg-opacity:1;--tw-text-opacity:1}.cloud.svelte-4ukgao:hover{background-color:rgb(24 24 27/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.nav-icon.svelte-1jb7rp7{cursor:pointer;height:1.5rem;margin-left:.5rem;margin-right:.5rem;margin-top:0}.nav-title.svelte-1jb7rp7{overflow:hidden;transition:width .15s linear;width:100px}.combobox-label.svelte-1nqx354{font-family:Poppins,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-weight:400}.combobox-label.svelte-1nqx354,.combobox-wrapper.svelte-1nqx354{font-size:.875rem;line-height:1.25rem}.combobox-wrapper.svelte-1nqx354{--tw-border-opacity:1;--tw-bg-opacity:1;align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(24 24 27/var(--tw-border-opacity));border-radius:.5rem;border-width:1px;display:flex;flex-direction:row;height:2.5rem;width:100%}.combobox-wrapper.svelte-1nqx354:focus-within{--tw-border-opacity:1;--tw-shadow:0 0 0 4px;--tw-shadow-colored:0 0 0 4px var(--tw-shadow-color);--tw-shadow-color:rgba(37,99,235,.5);--tw-shadow:var(--tw-shadow-colored);border-color:rgb(79 70 229/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}.combobox-input.svelte-1nqx354{flex-grow:1;font-family:Inter Variable,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;height:100%;margin-left:.5rem;width:100%}.combobox-input.svelte-1nqx354:focus{outline:2px solid transparent;outline-offset:2px}.combobox-button.svelte-1nqx354{align-items:center;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));border-radius:9999px;display:flex;flex-shrink:0;justify-content:center;margin-left:.5rem;margin-right:.5rem}.combobox-button.svelte-1nqx354:hover{--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#f3e8ff}.error.svelte-urrl06{border:1px solid red}.trace.svelte-urrl06{font-family:monospace}.back-to-top.svelte-11aee8w{bottom:1.25rem;position:fixed;right:2rem;z-index:50}.back-to-top.hidden.svelte-11aee8w{visibility:hidden}.primary.svelte-19tipv7{background-color:rgb(24 24 27/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.primary.svelte-19tipv7,.success.svelte-19tipv7{--tw-bg-opacity:1;--tw-text-opacity:1}.success.svelte-19tipv7{background-color:rgb(240 253 244/var(--tw-bg-opacity));color:rgb(20 83 45/var(--tw-text-opacity))}.error.svelte-19tipv7{background-color:rgb(254 242 242/var(--tw-bg-opacity));color:rgb(127 29 29/var(--tw-text-opacity))}.error.svelte-19tipv7,.info.svelte-19tipv7{--tw-bg-opacity:1;--tw-text-opacity:1}.info.svelte-19tipv7{background-color:rgb(239 246 255/var(--tw-bg-opacity));color:rgb(30 58 138/var(--tw-text-opacity))}.warning.svelte-19tipv7{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(254 252 232/var(--tw-bg-opacity));color:rgb(113 63 18/var(--tw-text-opacity))} diff --git a/ui/assets/local/_app/immutable/assets/app.01329fc1.css b/ui/assets/local/_app/immutable/assets/app.01329fc1.css new file mode 100644 index 0000000000..806fe732b6 --- /dev/null +++ b/ui/assets/local/_app/immutable/assets/app.01329fc1.css @@ -0,0 +1 @@ +@font-face{font-display:swap;font-family:Inter Variable;font-style:normal;font-weight:100 900;src:url(./inter-cyrillic-ext-wght-normal.848492d3.woff2) format("woff2-variations");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:Inter Variable;font-style:normal;font-weight:100 900;src:url(./inter-cyrillic-wght-normal.262a1054.woff2) format("woff2-variations");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:Inter Variable;font-style:normal;font-weight:100 900;src:url(./inter-greek-ext-wght-normal.fe977ddb.woff2) format("woff2-variations");unicode-range:u+1f??}@font-face{font-display:swap;font-family:Inter Variable;font-style:normal;font-weight:100 900;src:url(./inter-greek-wght-normal.89b4a3fe.woff2) format("woff2-variations");unicode-range:u+0370-03ff}@font-face{font-display:swap;font-family:Inter Variable;font-style:normal;font-weight:100 900;src:url(./inter-vietnamese-wght-normal.ac4e131c.woff2) format("woff2-variations");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-display:swap;font-family:Inter Variable;font-style:normal;font-weight:100 900;src:url(./inter-latin-ext-wght-normal.45606f83.woff2) format("woff2-variations");unicode-range:u+0100-02af,u+0304,u+0308,u+0329,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:Inter Variable;font-style:normal;font-weight:100 900;src:url(./inter-latin-wght-normal.450f3ba4.woff2) format("woff2-variations");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:Poppins;font-style:normal;font-weight:400;src:url(./poppins-devanagari-400-normal.478b3ab7.woff2) format("woff2"),url(./poppins-devanagari-400-normal.aa135e25.woff) format("woff");unicode-range:u+0900-097f,u+1cd0-1cf9,u+200c-200d,u+20a8,u+20b9,u+25cc,u+a830-a839,u+a8e0-a8ff}@font-face{font-display:swap;font-family:Poppins;font-style:normal;font-weight:400;src:url(./poppins-latin-ext-400-normal.cb8bdeab.woff2) format("woff2"),url(./poppins-latin-ext-400-normal.8090b590.woff) format("woff");unicode-range:u+0100-02af,u+0304,u+0308,u+0329,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:Poppins;font-style:normal;font-weight:400;src:url(./poppins-latin-400-normal.7d93459d.woff2) format("woff2"),url(./poppins-latin-400-normal.2db0a254.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:Noto Sans Mono;font-style:normal;font-weight:400;src:url(./noto-sans-mono-cyrillic-ext-400-normal.343dae3d.woff2) format("woff2"),url(./noto-sans-mono-cyrillic-ext-400-normal.b85e5c62.woff) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:Noto Sans Mono;font-style:normal;font-weight:400;src:url(./noto-sans-mono-cyrillic-400-normal.7d136c28.woff2) format("woff2"),url(./noto-sans-mono-cyrillic-400-normal.aff120d8.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:Noto Sans Mono;font-style:normal;font-weight:400;src:url(./noto-sans-mono-greek-ext-400-normal.0495736d.woff2) format("woff2"),url(./noto-sans-mono-greek-ext-400-normal.326b8c49.woff) format("woff");unicode-range:u+1f??}@font-face{font-display:swap;font-family:Noto Sans Mono;font-style:normal;font-weight:400;src:url(./noto-sans-mono-greek-400-normal.2e2bb48c.woff2) format("woff2"),url(./noto-sans-mono-greek-400-normal.1c91565a.woff) format("woff");unicode-range:u+0370-03ff}@font-face{font-display:swap;font-family:Noto Sans Mono;font-style:normal;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAA8oABAAAAAAKLQAAA7GAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoECG4dgHIJCBmA/U1RBVEQAgUQRCAqqWKVCC4IeAAE2AiQDhCQEIAWEbgeJfgwHG+YjMwMmhc0Asv9DgjZGCPo7sZqDDyNEwgSIZmOzKywiQRkl4IEy+NiZYm7SjagwyrvTXGEHf1kd/9erNO8vsK+if3TtfbFl8PT599/vqurbB8/qB4+FDGKSQPFEwkcmJ8HMuj/gtv4NMNhAmzKiwEQs6nAKFijGjMKOi/7468q+quIqG3io3+939iLeNRH6m45qIqllCJlSmI53Ep1I/hWb7m9BwyuXnvCEeKgPr+v0+3NUig+MvlsS4odG5DaFzZWFAn4TGdVLen+Di1HFHAFhUzQgdrH+pxHgP61VnuzfVW+5jsDtHAdQuA6Si9ARpram5s9WauqAe/tYESmgvj7oDpJQJ2PjANgCKkBhAFjpMzpSRmgVeHJfat/4utalEWoQ2hKM6JTgNUnWx2evv/YVQKhlAIBiAMKDIaAP6GF8rXW6pWOHhZPOE092dsnlHHcstPKUM85FViqvTFaKRkcx1MwJJ0ymt+2bYwSk+pmFMjYJzwTO9q+pBjj797Jq4JwELXXA4QBZAwVCz28pME4Pxx3ADCgJPlEwLzkj5hUSKUds4KEQ49DE+ujSon6xbaViAn1YxI0uu+/Wml5qWEV8mYfYc0u4MMmwDh1U71Q29wRZ7iLFIYl/Em7gE3dAxKQ8K1sglSPQbClKVUAyEpKAIsuhdq2/njrHpnMgG2/jk5kzJSKdRn53yld6Ty/d4zTnb5yzc3cpX7d0kU7TMXcg7hRSkmkr2cW17GuJ+bOlJqtxJQlq7bNJZcWsFtYs0N7rnNPJOiUrQpuQZ69SBbPoiSMxJsslMbQWJHr4kMQgv/PUmWfDe2R19+YLxG8OCZ3vceKobxdh58+IeOz7JeZZva7iXbK61HcXizd0e8/PIP7erc4/Ju7fDFB2gwq86a3pN4/ay97HjIAuJwsiQ3t1cjeAGcshvrVHnfBK1IgaFD7kKNHwHIUUlKMJmc4MmnbD5hOk6fwEfxq2oJRDVyYpO/ZC1kCohax1HIQMbAuZ7fW1DSAQwS1797xzA2zX5VifTODFO2iaaPGtuY0mqlxadPOzzHknXftpr4/BII8BYn0/fXg/M2i05BF0zcjj0/SezjyUcjKuyUAvyhKA6fY7ljVCIxHQrkziMk7VBZg5kPcXkxflEjgA4Wp7vp/gnuM05LJxDdqrDgSOEDEFpRS00LPNlS0IAod3WioREqIwZa1GARvqvm2lcQ362K7VpYzYYc4j36b/ynmQJwRZisZnNLIwHjWJOUusOT7nQ/2n+h9hdQ1IuR+SFI73VMqCeNiEdT5mwoLzsf7zE5P8kn1U6zR5n36z/qT+EPDttPkStn7b8MfZB0F/nL53mZBQSg7T6OEnHXtN0qAAwBWADAJDoDXYK/wX2MlArc2EzC3mmOvPtuzYahpJJQn9m9KUq4IsqifE4P7jA8wpNJq1OYNKd6SzTVGalTnTcal5IAqG2ptRrM1pHCtzC6aFSykM9DRPMy/IAjOiU4rpRjSMwPJRdf+8eZzB0VGbbJUKy/p2BjTgfgFDVEZKhA6ZlCwo0l7tpkaOX7uGXbwyFI5dnqHs81Ygx6+iF+Yz4FjfRJcihpGeJ5zBLl66poO3Szc1lpOLZZOql+3r7oKBYEMHD7IhS6szR6XKHYhU7tbcBhRVoitOn5htI5lHLu+BY2fmjZJLAdqVrh9jixjYcTl33tWzed9XJoaoyEqETsqCAu0uZMJurG8nHNtRa37aB2Onehqf85SyL8+RLO02BjJnK9a3e72TqgDLGbrigI0snm+Xi+VtuHy5WrsKmbBavYy6ByYQOhAjhw/bYTB4/rw3SvbnZRv9WELr06umlNe07cm9bKx/eBhBZGBwz4mEvlnr4qurf7949f0PHbzgA+iyi74rznuj1dqrrj23Um71lBO24HL1+S4nRtavf9adnsxcbfdChGrRX67fCtaF+MrkLt+PTJjHUdkOzYVjG85HXphLIk7ZjwN58BbEHAq270YmbEO1S2yQgeVv98HH9nCd0bfPfNQaFzVaedUVmPs4KJft2sdBsKG1K9kpAyOr178JS/fscEe5JQwKKn69CnQjuopQXikPbJ6dJp6fzptn8Fu0Kils1azoeQbfmw7yR2w5ELolCtmdCEXEH9kcqBP8R+N+XiroEcyw0Yz7B19qEsGNLbSfml7HXdqQl+O9tcJiixymZGQ4TIstLOTGy/lioeN49XTJQA5fKnQar1Y7jZcIwYeaXhrv36Y4rT4eyco6Gx510FbJO6Y+K/NrKxMCwrizuWRZ5fLKQv4PZ4Asn96vNfkH1Sw1TnpI40ubFKbIoyPwGs8UpInEkEq4sX4ptm6OSel5drFlNerCCil1DCVX+JEpDUh2DkgMCyZIH1B1oEvgIMyhKrvjErtysuN6GhNxcWlseIPcZwoiCk7LdI30z2IuVlzKtZTgjk6Ji/2S0hWoEBT8fWYT19EE1DObzPjPOzhyJ5dUDifVxUkO/lRujkuiyL1Ski/orOWLxfX8+C5C7F4RL8x24Um5SSEueXHxLmphMDcVryHiXPOEIUChEuqCgjK1Kp6bkBCp56gENmqWlCYxCrC+B2c/22ReFG0kWzhNenHQXnrfPntc9FlW8kxy5ft3pZVReffz3fxTxX4wr5bx29HpB4NBdXKk/XIfYRjQSHwk8KX4042xtArdyJreGA3Rqe6pl6J0a4k+OT7c3JG6cFaaxjRlfMd/fUR4R3m0dEwgWFJDFC5RQsdKSXZoR5kA95g0cZsxzYdDv5nzXZZIKM+WLGFKJcKiTJtotnprmBgvqyoWF7vZJ6oTYWKl26NtRwO//zFKEyaY37pqVeb/fPDOl6Qms6Nr33RZO2n7YqjpyeB34f7Rt+cHmG1IY9kWhoMF8++a0JwIUZCtwtPCktVT09Sf8JPLz6UEWDbtFDpu79NYuf+TPqfN17jO+tQDdgH+IKoviiUKcFnEW8Zkye3pCxu5ExdZ8xP8gjyvewnDP0CPE2bdknhL3k8o2cHmbLO23sZh71huvcLJZR+f1qf03uSH6OLZzvwDWNr3vOjDAb7zbBV6kdzbIQS8MpYolsBk6ll1zE18APVMGxyI1KfBE49yIr9pM2grpWLCjwgQx30IJmMUECIZkeZrUdiVfoqodrE0sDXEMqwHi4SrNaTh77tkjnCLjkWPCi2L+kK4t10ddhApkRf34pqsrgX6t1js3yRT2565wDQ/2JJ5uHABFxxwniBjB6OxyQ04cLGXpkT1zcG0Hxlc31z5AJOHycPkYfIweRimiUkuQmNoZd7JbhZyPZGEDL5fZsiVq/QhZ0ngw4u8oGZbLvyIEiUyt9EeX0QzqSHVj1gu+T2Gaj+4pgIuOPAjA2cnXcwmG7HSLRF1VT++cVz0qPobIeS1TpRWo3A532NYL5FvKLplZL4k8k48aibZPlM0aWInTNGEsQhOPDqBfGKxDxYrdaEWHb3gkh7ghxNaCuCmnVgL76pB4USCrZBpesn40grCXDhZgFhTXjRAtBVEGbQVwKCtsMR5Ay44gEm2JRNZOM7JvxfJJFlow1wQhUQ4nu+Lx0JWVP/g19L6YkRJ/ceIUP8YimP9DVanRmXlBXz9fbbk/KChe3HrYaeBUuiY9ZuUX0XvY4BW6uwC8t503Rygg96LzVQr3023zpQHboZW2aBnYnapp+ckK7fklDtqtkhKU6ZQz8ha2eh1LSGfzQkP5fpPymN5Rq2dbJ+To9rKNgR9DD2XRSdys1ok5BNWa6E/fWy19JL1nRFjtde1A3Taf9FXFZ683uO9HnfnrOSx/KjWLhymdbSUskdB33r5n0b7HSnrKO/qsfQ7PW3Nz6sGpy66SvS1M8+irz3hqe0/KY/lGbV2oV1aR7VVNvB76zdw2dJ8+UwZT87o1Hsko2SSDdtvUs1KnemLTLVybMlns20grhmD01BMI7Vdgxn0kGQU6WVQsxnTdqwG1tiVz+aG58sZc73X4ifCqso6VpY/s9cCxEXfa5YWEP7e3FJ+y2qrmF0e54HKEOTJXi9XR15HgDYt+Hr6XTJhzv9jsv0P+OXY6SeA3zc7nCxezP3uDPAUgOBnhDN1NRLhtwCi2/RUWUIBiDYN2RBBdRRAYnILex3xSUERITlOk2mw/DWfxAFSQl06xDSJZtCb0KEdAsz0iAlrHKKWiFOFz0NiuPZDEm7JfoVbW8RagOyeup3Cbaxqb2t6zeyIt7rXu6MHRt7GV/TjLGGKALz5AzkufN2hOQFeRK/FJFEbVpNUfrhJZpRXk5weHkzKqHZsktdhycR8gzQdRYRc5ZOUVK4r4InCLPWa1CpSQ0WjVIvKT64MV4FvMXp+2AbNovXWdmWJJpqea1m4QJNq1Fij4Spiq2cTwzVdi3EZO1cXr6WoV7cywDxlpK1qgmkTpeeaYkJzX8766aWPvvpnT3deTHdenIDz7hmfNMNNJicnEVM+7+19SZdk1jfo1NQYU63rIyv7CRb0qGy37HSOJuuqAr4kLRurtZmmTUbzkjsam22miaatirc7rlevVpBdar68BtNyH1Spa5G0ToCkTcqOrtqF9bW5Gjm+RgkfiouUHaUf/iNfgRQxTIsOPfQzxAjjCUnh0mXL8284LnvkLepKQzdMK6675bYb0bMd1yOUcSGVNkzLdlzPD8IoTtIsL8qqbtquH8ZpXtZtP87rft7vJ5EpVBqdwWSxOSAEI1weXyAUiSVSmVyhVKk1WhTDCZ3eYDSZLXEtjlab3eF0uT1enz/xhxDom3n77wbqf6axoKHCVf97IYPbtdH9Ejwb42dxjL1WgVzJV3X3nyAOEr9t6pP8cj/XL1Oxil87NF/nAjoFLCAQMAgoGDgEJBQ0DCyc9EoDQCBgEFAwcAhIKGgYWDjplQGAQMAgoGDgEJBQ0DCwcNIrCwCBgEFAwcAhIKGgYWDhpFcOAAIBg4CCgUNAQkHDwMJJrzwABAEFA4e4K1kTl3PWzy+Xwx/s5P8Jxxmjou+ff6jTh/l7H5O2GmAg2jeBebk17DlgiOjghWj0erZDcxvVkc1ArLSLoe4V2u2ErZH8Z09vwGUAAA==) format("woff2"),url(./noto-sans-mono-vietnamese-400-normal.e20ba1b3.woff) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-display:swap;font-family:Noto Sans Mono;font-style:normal;font-weight:400;src:url(./noto-sans-mono-latin-ext-400-normal.86940580.woff2) format("woff2"),url(./noto-sans-mono-latin-ext-400-normal.c916c61a.woff) format("woff");unicode-range:u+0100-02af,u+0304,u+0308,u+0329,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:Noto Sans Mono;font-style:normal;font-weight:400;src:url(./noto-sans-mono-latin-400-normal.90d2dbaf.woff2) format("woff2"),url(./noto-sans-mono-latin-400-normal.07e16e7b.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}/*! tailwindcss v3.2.4 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e4e4e7;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-feature-settings:normal;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:Noto Sans Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#a1a1aa;opacity:1}input::placeholder,textarea::placeholder{color:#a1a1aa;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,body,html{box-sizing:border-box}body{font-family:Inter Variable,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;overscroll-behavior:none;position:relative}h1,h2,h3,h4,h5,h6,labels,titles{font-family:Poppins,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}input[type=search]::-webkit-search-cancel-button{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.top-0{top:0}.right-0{right:0}.left-1\/2{left:50%}.left-0{left:0}.top-1{top:.25rem}.right-1{right:.25rem}.bottom-0{bottom:0}.top-\[50\%\]{top:50%}.top-\[40px\]{top:40px}.left-\[60px\]{left:60px}.right-8{right:2rem}.bottom-5{bottom:1.25rem}.right-5{right:1.25rem}.right-0\.5{right:.125rem}.left-0\.5{left:.125rem}.left-auto{left:auto}.right-auto{right:auto}.right-24{right:6rem}.-bottom-6{bottom:-1.5rem}.-top-6{top:-1.5rem}.top-\[52px\]{top:52px}.left-\[18px\]{left:18px}.left-1{left:.25rem}.z-100{z-index:100}.z-40{z-index:40}.z-30{z-index:30}.z-\[55\]{z-index:55}.z-50{z-index:50}.z-\[99999\]{z-index:99999}.z-20{z-index:20}.col-span-2{grid-column:span 2/span 2}.col-span-1{grid-column:span 1/span 1}.float-right{float:right}.m-auto{margin:auto}.m-1{margin:.25rem}.m-4{margin:1rem}.m-2{margin:.5rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.my-4{margin-bottom:1rem;margin-top:1rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.my-2{margin-bottom:.5rem;margin-top:.5rem}.my-1{margin-bottom:.25rem;margin-top:.25rem}.my-12{margin-bottom:3rem;margin-top:3rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.my-8{margin-bottom:2rem;margin-top:2rem}.my-\[20vh\]{margin-bottom:20vh;margin-top:20vh}.my-7{margin-bottom:1.75rem;margin-top:1.75rem}.mr-2{margin-right:.5rem}.ml-2{margin-left:.5rem}.mt-0{margin-top:0}.mb-6{margin-bottom:1.5rem}.mt-4{margin-top:1rem}.mt-8{margin-top:2rem}.ml-1{margin-left:.25rem}.mb-10{margin-bottom:2.5rem}.mb-8{margin-bottom:2rem}.mt-2{margin-top:.5rem}.ml-6{margin-left:1.5rem}.mt-32{margin-top:8rem}.-mt-6{margin-top:-1.5rem}.mb-5{margin-bottom:1.25rem}.mt-0\.5{margin-top:.125rem}.-mt-2{margin-top:-.5rem}.-mb-2{margin-bottom:-.5rem}.-ml-2{margin-left:-.5rem}.-mr-2{margin-right:-.5rem}.mb-4{margin-bottom:1rem}.mr-1{margin-right:.25rem}.mb-2{margin-bottom:.5rem}.mr-3{margin-right:.75rem}.mr-1\.5{margin-right:.375rem}.mb-12{margin-bottom:3rem}.ml-auto{margin-left:auto}.mt-1{margin-top:.25rem}.ml-\[26px\]{margin-left:26px}.ml-4{margin-left:1rem}.mb-1{margin-bottom:.25rem}.box-border{box-sizing:border-box}.box-content{box-sizing:content-box}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.\!inline{display:inline!important}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1/1}.aspect-auto{aspect-ratio:auto}.h-auto{height:auto}.h-full{height:100%}.h-6{height:1.5rem}.h-\[24px\]{height:24px}.h-4{height:1rem}.h-0{height:0}.h-8{height:2rem}.h-9{height:2.25rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-\[224px\]{height:224px}.h-20{height:5rem}.h-\[18px\]{height:18px}.h-16{height:4rem}.h-2{height:.5rem}.h-fit{height:-moz-fit-content;height:fit-content}.h-screen{height:100vh}.h-5{height:1.25rem}.h-\[5px\]{height:5px}.h-80{height:20rem}.h-\[500px\]{height:500px}.h-40{height:10rem}.h-\[calc\(100\%-2\.5rem\)\]{height:calc(100% - 2.5rem)}.h-0\.5{height:.125rem}.h-32{height:8rem}.h-24{height:6rem}.h-12{height:3rem}.max-h-80{max-height:20rem}.max-h-96{max-height:24rem}.max-h-32{max-height:8rem}.max-h-40{max-height:10rem}.max-h-20{max-height:5rem}.max-h-\[480px\]{max-height:480px}.max-h-10{max-height:2.5rem}.min-h-fit{min-height:-moz-fit-content;min-height:fit-content}.min-h-\[2\.5rem\]{min-height:2.5rem}.min-h-\[84px\]{min-height:84px}.w-full{width:100%}.w-40,.w-\[10rem\]{width:10rem}.w-\[24px\]{width:24px}.w-3\/12{width:25%}.w-9\/12{width:75%}.w-6\/12{width:50%}.w-2\/12{width:16.666667%}.w-4{width:1rem}.w-fit{width:-moz-fit-content;width:fit-content}.w-6{width:1.5rem}.w-\[265px\]{width:265px}.w-\[240px\]{width:240px}.w-\[18px\]{width:18px}.w-9{width:2.25rem}.w-0{width:0}.w-auto{width:auto}.w-16{width:4rem}.w-2{width:.5rem}.w-max{width:-moz-max-content;width:max-content}.w-\[400px\]{width:400px}.w-24{width:6rem}.w-44{width:11rem}.w-8{width:2rem}.w-screen{width:100vw}.w-48{width:12rem}.w-80{width:20rem}.w-1\/12{width:8.333333%}.w-14{width:3.5rem}.w-28{width:7rem}.w-96{width:24rem}.w-60{width:15rem}.w-56{width:14rem}.w-1\/3{width:33.333333%}.w-1\/2{width:50%}.w-32{width:8rem}.w-10{width:2.5rem}.w-1\/4{width:25%}.w-1\/5{width:20%}.w-\[1px\]{width:1px}.w-\[500px\]{width:500px}.w-\[25rem\]{width:25rem}.min-w-min{min-width:-moz-min-content;min-width:min-content}.min-w-\[600px\]{min-width:600px}.min-w-max{min-width:-moz-max-content;min-width:max-content}.min-w-fit{min-width:-moz-fit-content;min-width:fit-content}.min-w-\[80px\]{min-width:80px}.min-w-\[32px\]{min-width:32px}.min-w-full{min-width:100%}.min-w-\[16px\]{min-width:16px}.min-w-\[280px\]{min-width:280px}.max-w-\[400px\]{max-width:400px}.max-w-fit{max-width:-moz-fit-content;max-width:fit-content}.max-w-lg{max-width:32rem}.max-w-xs{max-width:20rem}.flex-auto{flex:1 1 auto}.shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.grow{flex-grow:1}.grow-0{flex-grow:0}.table-fixed{table-layout:fixed}.border-collapse{border-collapse:collapse}.border-separate{border-collapse:separate}.border-spacing-0{--tw-border-spacing-x:0px;--tw-border-spacing-y:0px;border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y)}.origin-bottom-left{transform-origin:bottom left}.-translate-y-full{--tw-translate-y:-100%}.-translate-y-full,.translate-y-\[-10px\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-10px\]{--tw-translate-y:-10px}.translate-x-\[10px\]{--tw-translate-x:10px}.translate-x-1\/2,.translate-x-\[10px\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-1\/2{--tw-translate-x:50%}.translate-y-\[-50\%\]{--tw-translate-y:-50%}.translate-x-12,.translate-y-\[-50\%\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-12{--tw-translate-x:3rem}.-translate-x-1\/2{--tw-translate-x:-50%}.-translate-x-1\/2,.-translate-x-full{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-full{--tw-translate-x:-100%}.translate-x-full{--tw-translate-x:100%}.translate-x-0,.translate-x-full{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x:0px}.scale-0{--tw-scale-x:0;--tw-scale-y:0}.scale-0,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-pointer{cursor:pointer}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.select-all{-webkit-user-select:all;-moz-user-select:all;user-select:all}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.content-between{align-content:space-between}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.gap-4{gap:1rem}.gap-2{gap:.5rem}.gap-6{gap:1.5rem}.gap-1{gap:.25rem}.gap-3{gap:.75rem}.gap-\[1px\]{gap:1px}.gap-0{gap:0}.gap-8{gap:2rem}.gap-y-4{row-gap:1rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.self-start{align-self:flex-start}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.\!overflow-visible{overflow:visible!important}.overflow-visible{overflow:visible}.overflow-scroll{overflow:scroll}.overflow-y-auto{overflow-y:auto}.overflow-x-scroll{overflow-x:scroll}.overflow-y-scroll{overflow-y:scroll}.overscroll-contain{overscroll-behavior:contain}.truncate{overflow:hidden;white-space:nowrap}.text-ellipsis,.truncate{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-sm{border-radius:.125rem}.rounded-lg{border-radius:.5rem}.rounded-none{border-radius:0}.rounded{border-radius:.25rem}.rounded-\[50\%\]{border-radius:50%}.rounded-l-none{border-bottom-left-radius:0;border-top-left-radius:0}.rounded-r-none{border-bottom-right-radius:0;border-top-right-radius:0}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.rounded-r{border-top-right-radius:.25rem}.rounded-b,.rounded-r{border-bottom-right-radius:.25rem}.rounded-b{border-bottom-left-radius:.25rem}.rounded-t{border-top-left-radius:.25rem}.rounded-t,.rounded-tr{border-top-right-radius:.25rem}.rounded-br{border-bottom-right-radius:.25rem}.rounded-tr-none{border-top-right-radius:0}.rounded-tl-none{border-top-left-radius:0}.rounded-bl-none{border-bottom-left-radius:0}.rounded-bl-lg{border-bottom-left-radius:.5rem}.rounded-tl-lg{border-top-left-radius:.5rem}.rounded-tr-lg{border-top-right-radius:.5rem}.border-2{border-width:2px}.border{border-width:1px}.border-0{border-width:0}.border-4{border-width:4px}.border-\[1px\]{border-width:1px}.border-\[3px\]{border-width:3px}.border-y-2{border-bottom-width:2px;border-top-width:2px}.border-x{border-left-width:1px;border-right-width:1px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-l-0{border-left-width:0}.border-r-0{border-right-width:0}.border-b-0{border-bottom-width:0}.border-l{border-left-width:1px}.border-t{border-top-width:1px}.border-r{border-right-width:1px}.\!border-l-0{border-left-width:0!important}.\!border-r-0{border-right-width:0!important}.border-solid{border-style:solid}.border-blue-100{--tw-border-opacity:1;border-color:rgb(219 234 254/var(--tw-border-opacity))}.border-gray-900{--tw-border-opacity:1;border-color:rgb(24 24 27/var(--tw-border-opacity))}.border-red-700{--tw-border-opacity:1;border-color:rgb(185 28 28/var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity:1;border-color:rgb(244 244 245/var(--tw-border-opacity))}.border-green-600{--tw-border-opacity:1;border-color:rgb(22 163 74/var(--tw-border-opacity))}.border-blue-700{--tw-border-opacity:1;border-color:rgb(29 78 216/var(--tw-border-opacity))}.border-orange-700{--tw-border-opacity:1;border-color:rgb(194 65 12/var(--tw-border-opacity))}.border-yellow-700{--tw-border-opacity:1;border-color:rgb(161 98 7/var(--tw-border-opacity))}.border-purple-700{--tw-border-opacity:1;border-color:rgb(126 34 206/var(--tw-border-opacity))}.border-yellow-900{--tw-border-opacity:1;border-color:rgb(113 63 18/var(--tw-border-opacity))}.border-green-700{--tw-border-opacity:1;border-color:rgb(21 128 61/var(--tw-border-opacity))}.border-\[transparent\]{border-color:transparent}.border-gray-500{--tw-border-opacity:1;border-color:rgb(113 113 122/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(212 212 216/var(--tw-border-opacity))}.border-orange-500{--tw-border-opacity:1;border-color:rgb(249 115 22/var(--tw-border-opacity))}.border-black{--tw-border-opacity:1;border-color:rgb(0 0 0/var(--tw-border-opacity))}.border-danger{--tw-border-opacity:1;border-color:rgb(185 28 28/var(--tw-border-opacity))}.border-gray-600{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity))}.border-indigo-600{--tw-border-opacity:1;border-color:rgb(79 70 229/var(--tw-border-opacity))}.border-indigo-900{--tw-border-opacity:1;border-color:rgb(49 46 129/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(228 228 231/var(--tw-border-opacity))}.border-gray-700{--tw-border-opacity:1;border-color:rgb(63 63 70/var(--tw-border-opacity))}.border-primary{--tw-border-opacity:1;border-color:rgb(24 24 27/var(--tw-border-opacity))}.border-opacity-80{--tw-border-opacity:.8}.bg-blue-50{--tw-bg-opacity:1;background-color:rgb(239 246 255/var(--tw-bg-opacity))}.bg-blue-100{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity))}.bg-purple-100{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(244 244 245/var(--tw-bg-opacity))}.bg-blueGray-200{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(224 234 255/var(--tw-bg-opacity))}.bg-pink-100{--tw-bg-opacity:1;background-color:rgb(252 231 243/var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.bg-blue-200{--tw-bg-opacity:1;background-color:rgb(191 219 254/var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(228 228 231/var(--tw-bg-opacity))}.bg-orange-50{--tw-bg-opacity:1;background-color:rgb(255 247 237/var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity:1;background-color:rgb(254 252 232/var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity:1;background-color:rgb(29 78 216/var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity))}.bg-\[transparent\]{background-color:transparent}.bg-primary{--tw-bg-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity:1;background-color:rgb(212 212 216/var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(39 39 42/var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity:1;background-color:rgb(79 70 229/var(--tw-bg-opacity))}.bg-green-200{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.bg-red-200{--tw-bg-opacity:1;background-color:rgb(255 207 207/var(--tw-bg-opacity))}.bg-offWhite{--tw-bg-opacity:1;background-color:rgb(248 248 247/var(--tw-bg-opacity))}.bg-danger{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity))}.bg-\[\#DDD6FE\]{--tw-bg-opacity:1;background-color:rgb(221 214 254/var(--tw-bg-opacity))}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-blue-100{--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-blue-200{--tw-gradient-from:#bfdbfe;--tw-gradient-to:rgba(191,219,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-red-100{--tw-gradient-from:#fee2e2;--tw-gradient-to:hsla(0,93%,94%,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-yellow-100{--tw-gradient-from:#fef9c3;--tw-gradient-to:hsla(55,97%,88%,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-pink-100{--tw-gradient-from:#fce7f3;--tw-gradient-to:rgba(252,231,243,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-gray-100{--tw-gradient-from:#f4f4f5;--tw-gradient-to:hsla(240,5%,96%,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.via-gray-200{--tw-gradient-to:hsla(240,6%,90%,0);--tw-gradient-stops:var(--tw-gradient-from),#e4e4e7,var(--tw-gradient-to)}.to-purple-100{--tw-gradient-to:#f3e8ff}.to-red-200{--tw-gradient-to:#ffcfcf}.to-yellow-200{--tw-gradient-to:#fef08a}.to-pink-200{--tw-gradient-to:#fbcfe8}.to-gray-300{--tw-gradient-to:#d4d4d8}.stroke-gray-200{stroke:#e4e4e7}.stroke-gray-700{stroke:#3f3f46}.p-12{padding:3rem}.p-1{padding:.25rem}.p-0\.5{padding:.125rem}.p-0{padding:0}.\!p-0{padding:0!important}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-2{padding:.5rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-3{padding:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.py-0\.5{padding-bottom:.125rem;padding-top:.125rem}.py-0{padding-bottom:0;padding-top:0}.py-1\.5{padding-bottom:.375rem;padding-top:.375rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-2\.5{padding-bottom:.625rem;padding-top:.625rem}.px-0{padding-left:0;padding-right:0}.py-4{padding-bottom:1rem;padding-top:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-5{padding-bottom:1.25rem;padding-top:1.25rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.pt-8{padding-top:2rem}.pb-0{padding-bottom:0}.pb-4{padding-bottom:1rem}.pb-24{padding-bottom:6rem}.pl-5{padding-left:1.25rem}.pr-2{padding-right:.5rem}.pt-1{padding-top:.25rem}.pb-2{padding-bottom:.5rem}.pr-1{padding-right:.25rem}.pb-20{padding-bottom:5rem}.pt-2{padding-top:.5rem}.pr-4{padding-right:1rem}.pb-12{padding-bottom:3rem}.pt-24{padding-top:6rem}.pl-3{padding-left:.75rem}.\!pt-0{padding-top:0!important}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-top{vertical-align:top}.align-middle{vertical-align:middle}.font-mono{font-family:Noto Sans Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-secondary{font-family:Poppins,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.font-primary{font-family:Inter Variable,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-\[12px\]{font-size:12px}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-base{font-size:1rem;line-height:1.5rem}.text-xs{font-size:.75rem;line-height:1rem}.text-\[12rem\]{font-size:12rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-\[10px\]{font-size:10px}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-8xl{font-size:6rem;line-height:1}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-light{font-weight:300}.font-semibold{font-weight:600}.font-extrabold{font-weight:800}.font-bold{font-weight:700}.capitalize{text-transform:capitalize}.italic{font-style:italic}.leading-3{line-height:.75rem}.leading-4{line-height:1rem}.leading-6{line-height:1.5rem}.leading-\[18px\]{line-height:18px}.text-purple-200{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity))}.text-primary{--tw-text-opacity:1;color:rgb(24 24 27/var(--tw-text-opacity))}.text-orange-700{--tw-text-opacity:1;color:rgb(194 65 12/var(--tw-text-opacity))}.text-green-700{--tw-text-opacity:1;color:rgb(21 128 61/var(--tw-text-opacity))}.text-red-700{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity:1;color:rgb(24 24 27/var(--tw-text-opacity))}.text-yellow-900{--tw-text-opacity:1;color:rgb(113 63 18/var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity:1;color:rgb(161 98 7/var(--tw-text-opacity))}.text-indigo-700{--tw-text-opacity:1;color:rgb(67 56 202/var(--tw-text-opacity))}.text-purple-700{--tw-text-opacity:1;color:rgb(126 34 206/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(113 113 122/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.text-danger{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity))}.text-gray-100{--tw-text-opacity:1;color:rgb(244 244 245/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgb(63 63 70/var(--tw-text-opacity))}.text-pink-700{--tw-text-opacity:1;color:rgb(190 24 93/var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity:1;color:rgb(212 212 216/var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity:1;color:rgb(39 39 42/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.no-underline{text-decoration-line:none}.underline-offset-2{text-underline-offset:2px}.opacity-0{opacity:0}.opacity-75{opacity:.75}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-xl{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color)}.shadow-focus{--tw-shadow:0 0 0 4px;--tw-shadow-colored:0 0 0 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-2{outline-width:2px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.\!filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-shadow{transition-duration:.15s;transition-property:box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.content-\[\'\'\]{--tw-content:"";content:var(--tw-content)}.after\:h-2:after{content:var(--tw-content);height:.5rem}.after\:w-2:after{content:var(--tw-content);width:.5rem}.after\:-translate-x-full:after{--tw-translate-x:-100%}.after\:-translate-x-full:after,.after\:-translate-y-full:after{content:var(--tw-content);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.after\:-translate-y-full:after{--tw-translate-y:-100%}.after\:rounded-full:after{border-radius:9999px;content:var(--tw-content)}.after\:bg-blue-300:after{--tw-bg-opacity:1;background-color:rgb(147 197 253/var(--tw-bg-opacity));content:var(--tw-content)}.after\:content-\[\"\*\"\]:after{--tw-content:"*";content:var(--tw-content)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:pt-0:first-child{padding-top:0}.last\:border-b-0:last-child{border-bottom-width:0}.first-of-type\:rounded-bl-lg:first-of-type{border-bottom-left-radius:.5rem}.first-of-type\:rounded-tl-lg:first-of-type{border-top-left-radius:.5rem}.first-of-type\:rounded-tr-lg:first-of-type{border-top-right-radius:.5rem}.first-of-type\:rounded-tl:first-of-type{border-top-left-radius:.25rem}.last-of-type\:hidden:last-of-type{display:none}.last-of-type\:rounded-bl-lg:last-of-type{border-bottom-left-radius:.5rem}.last-of-type\:border-0:last-of-type{border-width:0}.last-of-type\:border-b-0:last-of-type{border-bottom-width:0}.focus-within\:border-indigo-600:focus-within{--tw-border-opacity:1;border-color:rgb(79 70 229/var(--tw-border-opacity))}.focus-within\:border-blue-700:focus-within{--tw-border-opacity:1;border-color:rgb(29 78 216/var(--tw-border-opacity))}.focus-within\:shadow-focus:focus-within{--tw-shadow:0 0 0 4px;--tw-shadow-colored:0 0 0 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.focus-within\:shadow-blue-600\/50:focus-within{--tw-shadow-color:rgba(37,99,235,.5);--tw-shadow:var(--tw-shadow-colored)}.hover\:scale-125:hover{--tw-scale-x:1.25;--tw-scale-y:1.25;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:cursor-pointer:hover{cursor:pointer}.hover\:border-b-2:hover{border-bottom-width:2px}.hover\:border-gray-900:hover{--tw-border-opacity:1;border-color:rgb(24 24 27/var(--tw-border-opacity))}.hover\:border-indigo-600:hover{--tw-border-opacity:1;border-color:rgb(79 70 229/var(--tw-border-opacity))}.hover\:border-blue-700:hover{--tw-border-opacity:1;border-color:rgb(29 78 216/var(--tw-border-opacity))}.hover\:border-red-900:hover{--tw-border-opacity:1;border-color:rgb(127 29 29/var(--tw-border-opacity))}.hover\:bg-gray-900:hover{--tw-bg-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity:1;background-color:rgb(228 228 231/var(--tw-bg-opacity))}.hover\:bg-indigo-50:hover{--tw-bg-opacity:1;background-color:rgb(238 242 255/var(--tw-bg-opacity))}.hover\:bg-gradient-to-br:hover{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.hover\:from-blue-100:hover{--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.hover\:from-primary:hover{--tw-gradient-from:#18181b;--tw-gradient-to:rgba(24,24,27,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.hover\:to-purple-100:hover{--tw-gradient-to:#f3e8ff}.hover\:text-gray-900:hover{--tw-text-opacity:1;color:rgb(24 24 27/var(--tw-text-opacity))}.hover\:text-indigo-600:hover{--tw-text-opacity:1;color:rgb(79 70 229/var(--tw-text-opacity))}.hover\:text-blue-700:hover{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity))}.hover\:text-primary:hover{--tw-text-opacity:1;color:rgb(24 24 27/var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:shadow-focus:hover{--tw-shadow:0 0 0 4px;--tw-shadow-colored:0 0 0 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.hover\:shadow-blue-600\/50:hover{--tw-shadow-color:rgba(37,99,235,.5);--tw-shadow:var(--tw-shadow-colored)}.focus\:translate-y-0:focus{--tw-translate-y:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.focus\:bg-gray-200:focus{--tw-bg-opacity:1;background-color:rgb(228 228 231/var(--tw-bg-opacity))}.focus\:from-blue-100:focus{--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.focus\:to-purple-100:focus{--tw-gradient-to:#f3e8ff}.focus\:shadow-focus:focus{--tw-shadow:0 0 0 4px;--tw-shadow-colored:0 0 0 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.focus\:shadow-blue-600\/50:focus{--tw-shadow-color:rgba(37,99,235,.5);--tw-shadow:var(--tw-shadow-colored)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:outline-1:focus{outline-width:1px}.focus-visible\:border-indigo-600:focus-visible{--tw-border-opacity:1;border-color:rgb(79 70 229/var(--tw-border-opacity))}.focus-visible\:border-white:focus-visible{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.focus-visible\:bg-gray-900:focus-visible{--tw-bg-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity))}.focus-visible\:bg-indigo-100:focus-visible{--tw-bg-opacity:1;background-color:rgb(224 234 255/var(--tw-bg-opacity))}.focus-visible\:bg-blue-100:focus-visible{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity))}.focus-visible\:bg-indigo-50:focus-visible{--tw-bg-opacity:1;background-color:rgb(238 242 255/var(--tw-bg-opacity))}.focus-visible\:bg-gradient-to-br:focus-visible{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.focus-visible\:from-blue-100:focus-visible{--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.focus-visible\:to-purple-100:focus-visible{--tw-gradient-to:#f3e8ff}.focus-visible\:text-gray-900:focus-visible{--tw-text-opacity:1;color:rgb(24 24 27/var(--tw-text-opacity))}.focus-visible\:text-white:focus-visible{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.focus-visible\:text-primary:focus-visible{--tw-text-opacity:1;color:rgb(24 24 27/var(--tw-text-opacity))}.focus-visible\:shadow-focus:focus-visible{--tw-shadow:0 0 0 4px;--tw-shadow-colored:0 0 0 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.focus-visible\:shadow-blue-600\/50:focus-visible{--tw-shadow-color:rgba(37,99,235,.5);--tw-shadow:var(--tw-shadow-colored)}.focus-visible\:shadow-red-200\/50:focus-visible{--tw-shadow-color:hsla(0,100%,91%,.5);--tw-shadow:var(--tw-shadow-colored)}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:outline:focus-visible{outline-style:solid}.focus-visible\:outline-1:focus-visible{outline-width:1px}.focus-visible\:outline-blue-700:focus-visible{outline-color:#1d4ed8}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:visible{visibility:visible}@media (prefers-color-scheme:dark){.dark\:border-gray-500{--tw-border-opacity:1;border-color:rgb(113 113 122/var(--tw-border-opacity))}.dark\:bg-gray-600{--tw-bg-opacity:1;background-color:rgb(75 85 99/var(--tw-bg-opacity))}.dark\:text-gray-400{--tw-text-opacity:1;color:rgb(161 161 170/var(--tw-text-opacity))}}@media not all and (min-width:1280px){.max-xl\:hidden{display:none}}@media not all and (min-width:1024px){.max-lg\:hidden{display:none}}@media not all and (min-width:768px){.max-md\:hidden{display:none}}@media not all and (min-width:640px){.max-sm\:flex-col{flex-direction:column}}@media (min-width:640px){.sm\:block{display:block}.sm\:w-\[20rem\]{width:20rem}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}}@media (min-width:768px){.md\:visible{visibility:visible}.md\:col-span-2{grid-column:span 2/span 2}.md\:block{display:block}.md\:table-cell{display:table-cell}.md\:table-row{display:table-row}.md\:hidden{display:none}.md\:h-auto{height:auto}.md\:w-\[26rem\]{width:26rem}.md\:w-1\/2{width:50%}.md\:w-auto{width:auto}.md\:w-32{width:8rem}.md\:w-2\/3{width:66.666667%}.md\:w-80{width:20rem}.md\:max-w-lg{max-width:32rem}.md\:table-fixed{table-layout:fixed}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:gap-2{gap:.5rem}.md\:gap-x-8{-moz-column-gap:2rem;column-gap:2rem}.md\:whitespace-normal{white-space:normal}.md\:px-8{padding-left:2rem;padding-right:2rem}.md\:px-2{padding-left:.5rem;padding-right:.5rem}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width:1024px){.lg\:flex{display:flex}.lg\:max-h-\[24rem\]{max-height:24rem}.lg\:max-h-\[23\.5rem\]{max-height:23.5rem}.lg\:w-auto{width:auto}.lg\:w-2\/3{width:66.666667%}.lg\:w-1\/2{width:50%}.lg\:w-1\/3{width:33.333333%}.lg\:w-3\/4{width:75%}.lg\:w-3\/5{width:60%}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.lg\:items-start{align-items:flex-start}.lg\:items-end{align-items:flex-end}.lg\:justify-end{justify-content:flex-end}.lg\:gap-2{gap:.5rem}.lg\:border-r-2{border-right-width:2px}.lg\:pr-2{padding-right:.5rem}}@media (min-width:1280px){.xl\:flex{display:flex}.xl\:table-cell{display:table-cell}.xl\:hidden{display:none}.xl\:w-1\/2{width:50%}.xl\:w-2\/3{width:66.666667%}.xl\:w-1\/3{width:33.333333%}.xl\:w-10{width:2.5rem}.xl\:w-80{width:20rem}.xl\:w-auto{width:auto}.xl\:w-11\/12{width:91.666667%}.xl\:min-w-\[520px\]{min-width:520px}.xl\:max-w-2xl{max-width:42rem}.xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.xl\:flex-row{flex-direction:row}.xl\:flex-nowrap{flex-wrap:nowrap}.xl\:items-center{align-items:center}.xl\:gap-3{gap:.75rem}.xl\:gap-4{gap:1rem}.xl\:gap-x-16{-moz-column-gap:4rem;column-gap:4rem}.xl\:border-b-0{border-bottom-width:0}.xl\:border-r-2{border-right-width:2px}.xl\:px-4{padding-left:1rem;padding-right:1rem}.xl\:py-3{padding-bottom:.75rem;padding-top:.75rem}.xl\:text-left{text-align:left}}.\[\&\:not\(\:disabled\)\:hover\]\:border-indigo-600:not(:disabled):hover{--tw-border-opacity:1;border-color:rgb(79 70 229/var(--tw-border-opacity))}.\[\&\:not\(\:disabled\)\:hover\]\:border-white:not(:disabled):hover{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.\[\&\:not\(\:disabled\)\:hover\]\:bg-gray-900:not(:disabled):hover{--tw-bg-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity))}.\[\&\:not\(\:disabled\)\:hover\]\:bg-indigo-100:not(:disabled):hover{--tw-bg-opacity:1;background-color:rgb(224 234 255/var(--tw-bg-opacity))}.\[\&\:not\(\:disabled\)\:hover\]\:from-blue-100:not(:disabled):hover{--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.\[\&\:not\(\:disabled\)\:hover\]\:to-purple-100:not(:disabled):hover{--tw-gradient-to:#f3e8ff}.\[\&\:not\(\:disabled\)\:hover\]\:text-gray-900:not(:disabled):hover{--tw-text-opacity:1;color:rgb(24 24 27/var(--tw-text-opacity))}.\[\&\:not\(\:disabled\)\:hover\]\:text-white:not(:disabled):hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.\[\&\:not\(\:disabled\)\:hover\]\:shadow-focus:not(:disabled):hover{--tw-shadow:0 0 0 4px;--tw-shadow-colored:0 0 0 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.\[\&\:not\(\:disabled\)\:hover\]\:shadow-blue-600\/50:not(:disabled):hover{--tw-shadow-color:rgba(37,99,235,.5);--tw-shadow:var(--tw-shadow-colored)}.\[\&\:not\(\:disabled\)\:hover\]\:shadow-red-200\/50:not(:disabled):hover{--tw-shadow-color:hsla(0,100%,91%,.5);--tw-shadow:var(--tw-shadow-colored)} diff --git a/ui/assets/local/_app/immutable/assets/app.01ff13c2.css b/ui/assets/local/_app/immutable/assets/app.01ff13c2.css deleted file mode 100644 index c15afe729e..0000000000 --- a/ui/assets/local/_app/immutable/assets/app.01ff13c2.css +++ /dev/null @@ -1 +0,0 @@ -@font-face{font-display:swap;font-family:Inter Variable;font-style:normal;font-weight:100 900;src:url(./inter-cyrillic-ext-wght-normal.848492d3.woff2) format("woff2-variations");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:Inter Variable;font-style:normal;font-weight:100 900;src:url(./inter-cyrillic-wght-normal.262a1054.woff2) format("woff2-variations");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:Inter Variable;font-style:normal;font-weight:100 900;src:url(./inter-greek-ext-wght-normal.fe977ddb.woff2) format("woff2-variations");unicode-range:u+1f??}@font-face{font-display:swap;font-family:Inter Variable;font-style:normal;font-weight:100 900;src:url(./inter-greek-wght-normal.89b4a3fe.woff2) format("woff2-variations");unicode-range:u+0370-03ff}@font-face{font-display:swap;font-family:Inter Variable;font-style:normal;font-weight:100 900;src:url(./inter-vietnamese-wght-normal.ac4e131c.woff2) format("woff2-variations");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-display:swap;font-family:Inter Variable;font-style:normal;font-weight:100 900;src:url(./inter-latin-ext-wght-normal.45606f83.woff2) format("woff2-variations");unicode-range:u+0100-02af,u+0304,u+0308,u+0329,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:Inter Variable;font-style:normal;font-weight:100 900;src:url(./inter-latin-wght-normal.450f3ba4.woff2) format("woff2-variations");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:Poppins;font-style:normal;font-weight:400;src:url(./poppins-devanagari-400-normal.478b3ab7.woff2) format("woff2"),url(./poppins-devanagari-400-normal.aa135e25.woff) format("woff");unicode-range:u+0900-097f,u+1cd0-1cf9,u+200c-200d,u+20a8,u+20b9,u+25cc,u+a830-a839,u+a8e0-a8ff}@font-face{font-display:swap;font-family:Poppins;font-style:normal;font-weight:400;src:url(./poppins-latin-ext-400-normal.cb8bdeab.woff2) format("woff2"),url(./poppins-latin-ext-400-normal.8090b590.woff) format("woff");unicode-range:u+0100-02af,u+0304,u+0308,u+0329,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:Poppins;font-style:normal;font-weight:400;src:url(./poppins-latin-400-normal.7d93459d.woff2) format("woff2"),url(./poppins-latin-400-normal.2db0a254.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-display:swap;font-family:Noto Sans Mono;font-style:normal;font-weight:400;src:url(./noto-sans-mono-cyrillic-ext-400-normal.343dae3d.woff2) format("woff2"),url(./noto-sans-mono-cyrillic-ext-400-normal.b85e5c62.woff) format("woff");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-display:swap;font-family:Noto Sans Mono;font-style:normal;font-weight:400;src:url(./noto-sans-mono-cyrillic-400-normal.7d136c28.woff2) format("woff2"),url(./noto-sans-mono-cyrillic-400-normal.aff120d8.woff) format("woff");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-display:swap;font-family:Noto Sans Mono;font-style:normal;font-weight:400;src:url(./noto-sans-mono-greek-ext-400-normal.0495736d.woff2) format("woff2"),url(./noto-sans-mono-greek-ext-400-normal.326b8c49.woff) format("woff");unicode-range:u+1f??}@font-face{font-display:swap;font-family:Noto Sans Mono;font-style:normal;font-weight:400;src:url(./noto-sans-mono-greek-400-normal.2e2bb48c.woff2) format("woff2"),url(./noto-sans-mono-greek-400-normal.1c91565a.woff) format("woff");unicode-range:u+0370-03ff}@font-face{font-display:swap;font-family:Noto Sans Mono;font-style:normal;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAA8oABAAAAAAKLQAAA7GAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoECG4dgHIJCBmA/U1RBVEQAgUQRCAqqWKVCC4IeAAE2AiQDhCQEIAWEbgeJfgwHG+YjMwMmhc0Asv9DgjZGCPo7sZqDDyNEwgSIZmOzKywiQRkl4IEy+NiZYm7SjagwyrvTXGEHf1kd/9erNO8vsK+if3TtfbFl8PT599/vqurbB8/qB4+FDGKSQPFEwkcmJ8HMuj/gtv4NMNhAmzKiwEQs6nAKFijGjMKOi/7468q+quIqG3io3+939iLeNRH6m45qIqllCJlSmI53Ep1I/hWb7m9BwyuXnvCEeKgPr+v0+3NUig+MvlsS4odG5DaFzZWFAn4TGdVLen+Di1HFHAFhUzQgdrH+pxHgP61VnuzfVW+5jsDtHAdQuA6Si9ARpram5s9WauqAe/tYESmgvj7oDpJQJ2PjANgCKkBhAFjpMzpSRmgVeHJfat/4utalEWoQ2hKM6JTgNUnWx2evv/YVQKhlAIBiAMKDIaAP6GF8rXW6pWOHhZPOE092dsnlHHcstPKUM85FViqvTFaKRkcx1MwJJ0ymt+2bYwSk+pmFMjYJzwTO9q+pBjj797Jq4JwELXXA4QBZAwVCz28pME4Pxx3ADCgJPlEwLzkj5hUSKUds4KEQ49DE+ujSon6xbaViAn1YxI0uu+/Wml5qWEV8mYfYc0u4MMmwDh1U71Q29wRZ7iLFIYl/Em7gE3dAxKQ8K1sglSPQbClKVUAyEpKAIsuhdq2/njrHpnMgG2/jk5kzJSKdRn53yld6Ty/d4zTnb5yzc3cpX7d0kU7TMXcg7hRSkmkr2cW17GuJ+bOlJqtxJQlq7bNJZcWsFtYs0N7rnNPJOiUrQpuQZ69SBbPoiSMxJsslMbQWJHr4kMQgv/PUmWfDe2R19+YLxG8OCZ3vceKobxdh58+IeOz7JeZZva7iXbK61HcXizd0e8/PIP7erc4/Ju7fDFB2gwq86a3pN4/ay97HjIAuJwsiQ3t1cjeAGcshvrVHnfBK1IgaFD7kKNHwHIUUlKMJmc4MmnbD5hOk6fwEfxq2oJRDVyYpO/ZC1kCohax1HIQMbAuZ7fW1DSAQwS1797xzA2zX5VifTODFO2iaaPGtuY0mqlxadPOzzHknXftpr4/BII8BYn0/fXg/M2i05BF0zcjj0/SezjyUcjKuyUAvyhKA6fY7ljVCIxHQrkziMk7VBZg5kPcXkxflEjgA4Wp7vp/gnuM05LJxDdqrDgSOEDEFpRS00LPNlS0IAod3WioREqIwZa1GARvqvm2lcQ362K7VpYzYYc4j36b/ynmQJwRZisZnNLIwHjWJOUusOT7nQ/2n+h9hdQ1IuR+SFI73VMqCeNiEdT5mwoLzsf7zE5P8kn1U6zR5n36z/qT+EPDttPkStn7b8MfZB0F/nL53mZBQSg7T6OEnHXtN0qAAwBWADAJDoDXYK/wX2MlArc2EzC3mmOvPtuzYahpJJQn9m9KUq4IsqifE4P7jA8wpNJq1OYNKd6SzTVGalTnTcal5IAqG2ptRrM1pHCtzC6aFSykM9DRPMy/IAjOiU4rpRjSMwPJRdf+8eZzB0VGbbJUKy/p2BjTgfgFDVEZKhA6ZlCwo0l7tpkaOX7uGXbwyFI5dnqHs81Ygx6+iF+Yz4FjfRJcihpGeJ5zBLl66poO3Szc1lpOLZZOql+3r7oKBYEMHD7IhS6szR6XKHYhU7tbcBhRVoitOn5htI5lHLu+BY2fmjZJLAdqVrh9jixjYcTl33tWzed9XJoaoyEqETsqCAu0uZMJurG8nHNtRa37aB2Onehqf85SyL8+RLO02BjJnK9a3e72TqgDLGbrigI0snm+Xi+VtuHy5WrsKmbBavYy6ByYQOhAjhw/bYTB4/rw3SvbnZRv9WELr06umlNe07cm9bKx/eBhBZGBwz4mEvlnr4qurf7949f0PHbzgA+iyi74rznuj1dqrrj23Um71lBO24HL1+S4nRtavf9adnsxcbfdChGrRX67fCtaF+MrkLt+PTJjHUdkOzYVjG85HXphLIk7ZjwN58BbEHAq270YmbEO1S2yQgeVv98HH9nCd0bfPfNQaFzVaedUVmPs4KJft2sdBsKG1K9kpAyOr178JS/fscEe5JQwKKn69CnQjuopQXikPbJ6dJp6fzptn8Fu0Kils1azoeQbfmw7yR2w5ELolCtmdCEXEH9kcqBP8R+N+XiroEcyw0Yz7B19qEsGNLbSfml7HXdqQl+O9tcJiixymZGQ4TIstLOTGy/lioeN49XTJQA5fKnQar1Y7jZcIwYeaXhrv36Y4rT4eyco6Gx510FbJO6Y+K/NrKxMCwrizuWRZ5fLKQv4PZ4Asn96vNfkH1Sw1TnpI40ubFKbIoyPwGs8UpInEkEq4sX4ptm6OSel5drFlNerCCil1DCVX+JEpDUh2DkgMCyZIH1B1oEvgIMyhKrvjErtysuN6GhNxcWlseIPcZwoiCk7LdI30z2IuVlzKtZTgjk6Ji/2S0hWoEBT8fWYT19EE1DObzPjPOzhyJ5dUDifVxUkO/lRujkuiyL1Ski/orOWLxfX8+C5C7F4RL8x24Um5SSEueXHxLmphMDcVryHiXPOEIUChEuqCgjK1Kp6bkBCp56gENmqWlCYxCrC+B2c/22ReFG0kWzhNenHQXnrfPntc9FlW8kxy5ft3pZVReffz3fxTxX4wr5bx29HpB4NBdXKk/XIfYRjQSHwk8KX4042xtArdyJreGA3Rqe6pl6J0a4k+OT7c3JG6cFaaxjRlfMd/fUR4R3m0dEwgWFJDFC5RQsdKSXZoR5kA95g0cZsxzYdDv5nzXZZIKM+WLGFKJcKiTJtotnprmBgvqyoWF7vZJ6oTYWKl26NtRwO//zFKEyaY37pqVeb/fPDOl6Qms6Nr33RZO2n7YqjpyeB34f7Rt+cHmG1IY9kWhoMF8++a0JwIUZCtwtPCktVT09Sf8JPLz6UEWDbtFDpu79NYuf+TPqfN17jO+tQDdgH+IKoviiUKcFnEW8Zkye3pCxu5ExdZ8xP8gjyvewnDP0CPE2bdknhL3k8o2cHmbLO23sZh71huvcLJZR+f1qf03uSH6OLZzvwDWNr3vOjDAb7zbBV6kdzbIQS8MpYolsBk6ll1zE18APVMGxyI1KfBE49yIr9pM2grpWLCjwgQx30IJmMUECIZkeZrUdiVfoqodrE0sDXEMqwHi4SrNaTh77tkjnCLjkWPCi2L+kK4t10ddhApkRf34pqsrgX6t1js3yRT2565wDQ/2JJ5uHABFxxwniBjB6OxyQ04cLGXpkT1zcG0Hxlc31z5AJOHycPkYfIweRimiUkuQmNoZd7JbhZyPZGEDL5fZsiVq/QhZ0ngw4u8oGZbLvyIEiUyt9EeX0QzqSHVj1gu+T2Gaj+4pgIuOPAjA2cnXcwmG7HSLRF1VT++cVz0qPobIeS1TpRWo3A532NYL5FvKLplZL4k8k48aibZPlM0aWInTNGEsQhOPDqBfGKxDxYrdaEWHb3gkh7ghxNaCuCmnVgL76pB4USCrZBpesn40grCXDhZgFhTXjRAtBVEGbQVwKCtsMR5Ay44gEm2JRNZOM7JvxfJJFlow1wQhUQ4nu+Lx0JWVP/g19L6YkRJ/ceIUP8YimP9DVanRmXlBXz9fbbk/KChe3HrYaeBUuiY9ZuUX0XvY4BW6uwC8t503Rygg96LzVQr3023zpQHboZW2aBnYnapp+ckK7fklDtqtkhKU6ZQz8ha2eh1LSGfzQkP5fpPymN5Rq2dbJ+To9rKNgR9DD2XRSdys1ok5BNWa6E/fWy19JL1nRFjtde1A3Taf9FXFZ683uO9HnfnrOSx/KjWLhymdbSUskdB33r5n0b7HSnrKO/qsfQ7PW3Nz6sGpy66SvS1M8+irz3hqe0/KY/lGbV2oV1aR7VVNvB76zdw2dJ8+UwZT87o1Hsko2SSDdtvUs1KnemLTLVybMlns20grhmD01BMI7Vdgxn0kGQU6WVQsxnTdqwG1tiVz+aG58sZc73X4ifCqso6VpY/s9cCxEXfa5YWEP7e3FJ+y2qrmF0e54HKEOTJXi9XR15HgDYt+Hr6XTJhzv9jsv0P+OXY6SeA3zc7nCxezP3uDPAUgOBnhDN1NRLhtwCi2/RUWUIBiDYN2RBBdRRAYnILex3xSUERITlOk2mw/DWfxAFSQl06xDSJZtCb0KEdAsz0iAlrHKKWiFOFz0NiuPZDEm7JfoVbW8RagOyeup3Cbaxqb2t6zeyIt7rXu6MHRt7GV/TjLGGKALz5AzkufN2hOQFeRK/FJFEbVpNUfrhJZpRXk5weHkzKqHZsktdhycR8gzQdRYRc5ZOUVK4r4InCLPWa1CpSQ0WjVIvKT64MV4FvMXp+2AbNovXWdmWJJpqea1m4QJNq1Fij4Spiq2cTwzVdi3EZO1cXr6WoV7cywDxlpK1qgmkTpeeaYkJzX8766aWPvvpnT3deTHdenIDz7hmfNMNNJicnEVM+7+19SZdk1jfo1NQYU63rIyv7CRb0qGy37HSOJuuqAr4kLRurtZmmTUbzkjsam22miaatirc7rlevVpBdar68BtNyH1Spa5G0ToCkTcqOrtqF9bW5Gjm+RgkfiouUHaUf/iNfgRQxTIsOPfQzxAjjCUnh0mXL8284LnvkLepKQzdMK6675bYb0bMd1yOUcSGVNkzLdlzPD8IoTtIsL8qqbtquH8ZpXtZtP87rft7vJ5EpVBqdwWSxOSAEI1weXyAUiSVSmVyhVKk1WhTDCZ3eYDSZLXEtjlab3eF0uT1enz/xhxDom3n77wbqf6axoKHCVf97IYPbtdH9Ejwb42dxjL1WgVzJV3X3nyAOEr9t6pP8cj/XL1Oxil87NF/nAjoFLCAQMAgoGDgEJBQ0DCyc9EoDQCBgEFAwcAhIKGgYWDjplQGAQMAgoGDgEJBQ0DCwcNIrCwCBgEFAwcAhIKGgYWDhpFcOAAIBg4CCgUNAQkHDwMJJrzwABAEFA4e4K1kTl3PWzy+Xwx/s5P8Jxxmjou+ff6jTh/l7H5O2GmAg2jeBebk17DlgiOjghWj0erZDcxvVkc1ArLSLoe4V2u2ErZH8Z09vwGUAAA==) format("woff2"),url(./noto-sans-mono-vietnamese-400-normal.e20ba1b3.woff) format("woff");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-display:swap;font-family:Noto Sans Mono;font-style:normal;font-weight:400;src:url(./noto-sans-mono-latin-ext-400-normal.86940580.woff2) format("woff2"),url(./noto-sans-mono-latin-ext-400-normal.c916c61a.woff) format("woff");unicode-range:u+0100-02af,u+0304,u+0308,u+0329,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-display:swap;font-family:Noto Sans Mono;font-style:normal;font-weight:400;src:url(./noto-sans-mono-latin-400-normal.90d2dbaf.woff2) format("woff2"),url(./noto-sans-mono-latin-400-normal.07e16e7b.woff) format("woff");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}/*! tailwindcss v3.2.4 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e4e4e7;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-feature-settings:normal;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:Noto Sans Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#a1a1aa;opacity:1}input::placeholder,textarea::placeholder{color:#a1a1aa;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,body,html{box-sizing:border-box}body{font-family:Inter Variable,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;overscroll-behavior:none;position:relative}h1,h2,h3,h4,h5,h6,labels,titles{font-family:Poppins,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}input[type=search]::-webkit-search-cancel-button{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.top-0{top:0}.right-0{right:0}.left-1\/2{left:50%}.left-0{left:0}.top-1{top:.25rem}.right-1{right:.25rem}.bottom-0{bottom:0}.top-\[50\%\]{top:50%}.top-\[40px\]{top:40px}.left-\[60px\]{left:60px}.right-8{right:2rem}.bottom-5{bottom:1.25rem}.right-5{right:1.25rem}.right-0\.5{right:.125rem}.left-0\.5{left:.125rem}.left-auto{left:auto}.right-auto{right:auto}.right-24{right:6rem}.-bottom-6{bottom:-1.5rem}.-top-6{top:-1.5rem}.top-\[52px\]{top:52px}.left-\[18px\]{left:18px}.left-1{left:.25rem}.z-100{z-index:100}.z-30{z-index:30}.z-50{z-index:50}.z-\[55\]{z-index:55}.z-\[99999\]{z-index:99999}.z-20{z-index:20}.z-\[51\]{z-index:51}.z-0{z-index:0}.col-span-2{grid-column:span 2/span 2}.col-span-1{grid-column:span 1/span 1}.float-right{float:right}.m-auto{margin:auto}.m-1{margin:.25rem}.m-4{margin:1rem}.m-2{margin:.5rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.my-4{margin-bottom:1rem;margin-top:1rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.my-2{margin-bottom:.5rem;margin-top:.5rem}.my-1{margin-bottom:.25rem;margin-top:.25rem}.my-12{margin-bottom:3rem;margin-top:3rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.my-8{margin-bottom:2rem;margin-top:2rem}.my-\[20vh\]{margin-bottom:20vh;margin-top:20vh}.my-7{margin-bottom:1.75rem;margin-top:1.75rem}.mr-2{margin-right:.5rem}.ml-2{margin-left:.5rem}.mt-0{margin-top:0}.mb-6{margin-bottom:1.5rem}.mt-4{margin-top:1rem}.mt-8{margin-top:2rem}.ml-1{margin-left:.25rem}.mb-10{margin-bottom:2.5rem}.mb-8{margin-bottom:2rem}.mt-2{margin-top:.5rem}.ml-6{margin-left:1.5rem}.mt-32{margin-top:8rem}.-mt-6{margin-top:-1.5rem}.mb-5{margin-bottom:1.25rem}.mt-0\.5{margin-top:.125rem}.-mt-2{margin-top:-.5rem}.-mb-2{margin-bottom:-.5rem}.-ml-2{margin-left:-.5rem}.-mr-2{margin-right:-.5rem}.mb-4{margin-bottom:1rem}.mr-1{margin-right:.25rem}.mb-2{margin-bottom:.5rem}.mr-3{margin-right:.75rem}.mr-1\.5{margin-right:.375rem}.mb-12{margin-bottom:3rem}.ml-auto{margin-left:auto}.mt-1{margin-top:.25rem}.ml-\[26px\]{margin-left:26px}.ml-4{margin-left:1rem}.mb-1{margin-bottom:.25rem}.box-border{box-sizing:border-box}.box-content{box-sizing:content-box}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.\!inline{display:inline!important}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1/1}.aspect-auto{aspect-ratio:auto}.h-auto{height:auto}.h-full{height:100%}.h-6{height:1.5rem}.h-\[24px\]{height:24px}.h-4{height:1rem}.h-0{height:0}.h-8{height:2rem}.h-9{height:2.25rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-\[224px\]{height:224px}.h-20{height:5rem}.h-\[18px\]{height:18px}.h-16{height:4rem}.h-2{height:.5rem}.h-fit{height:-moz-fit-content;height:fit-content}.h-screen{height:100vh}.h-5{height:1.25rem}.h-\[5px\]{height:5px}.h-80{height:20rem}.h-\[500px\]{height:500px}.h-40{height:10rem}.h-\[calc\(100\%-2\.5rem\)\]{height:calc(100% - 2.5rem)}.h-0\.5{height:.125rem}.h-32{height:8rem}.h-24{height:6rem}.h-12{height:3rem}.max-h-80{max-height:20rem}.max-h-96{max-height:24rem}.max-h-32{max-height:8rem}.max-h-40{max-height:10rem}.max-h-20{max-height:5rem}.max-h-\[480px\]{max-height:480px}.max-h-10{max-height:2.5rem}.min-h-fit{min-height:-moz-fit-content;min-height:fit-content}.min-h-\[2\.5rem\]{min-height:2.5rem}.min-h-\[84px\]{min-height:84px}.w-full{width:100%}.w-40,.w-\[10rem\]{width:10rem}.w-\[24px\]{width:24px}.w-3\/12{width:25%}.w-9\/12{width:75%}.w-6\/12{width:50%}.w-2\/12{width:16.666667%}.w-4{width:1rem}.w-fit{width:-moz-fit-content;width:fit-content}.w-6{width:1.5rem}.w-\[265px\]{width:265px}.w-\[240px\]{width:240px}.w-\[18px\]{width:18px}.w-9{width:2.25rem}.w-0{width:0}.w-auto{width:auto}.w-16{width:4rem}.w-2{width:.5rem}.w-max{width:-moz-max-content;width:max-content}.w-\[400px\]{width:400px}.w-24{width:6rem}.w-44{width:11rem}.w-8{width:2rem}.w-screen{width:100vw}.w-48{width:12rem}.w-80{width:20rem}.w-1\/12{width:8.333333%}.w-14{width:3.5rem}.w-28{width:7rem}.w-96{width:24rem}.w-60{width:15rem}.w-56{width:14rem}.w-1\/3{width:33.333333%}.w-1\/2{width:50%}.w-32{width:8rem}.w-10{width:2.5rem}.w-1\/4{width:25%}.w-1\/5{width:20%}.w-\[1px\]{width:1px}.w-\[500px\]{width:500px}.w-\[25rem\]{width:25rem}.min-w-min{min-width:-moz-min-content;min-width:min-content}.min-w-\[600px\]{min-width:600px}.min-w-max{min-width:-moz-max-content;min-width:max-content}.min-w-fit{min-width:-moz-fit-content;min-width:fit-content}.min-w-\[80px\]{min-width:80px}.min-w-\[32px\]{min-width:32px}.min-w-full{min-width:100%}.min-w-\[16px\]{min-width:16px}.min-w-\[280px\]{min-width:280px}.max-w-\[400px\]{max-width:400px}.max-w-fit{max-width:-moz-fit-content;max-width:fit-content}.max-w-lg{max-width:32rem}.max-w-xs{max-width:20rem}.flex-auto{flex:1 1 auto}.shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.grow{flex-grow:1}.grow-0{flex-grow:0}.table-fixed{table-layout:fixed}.border-collapse{border-collapse:collapse}.border-separate{border-collapse:separate}.border-spacing-0{--tw-border-spacing-x:0px;--tw-border-spacing-y:0px;border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y)}.origin-bottom-left{transform-origin:bottom left}.-translate-y-full{--tw-translate-y:-100%}.-translate-y-full,.translate-y-\[-10px\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-10px\]{--tw-translate-y:-10px}.translate-x-\[10px\]{--tw-translate-x:10px}.translate-x-1\/2,.translate-x-\[10px\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-1\/2{--tw-translate-x:50%}.translate-y-\[-50\%\]{--tw-translate-y:-50%}.translate-x-12,.translate-y-\[-50\%\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-12{--tw-translate-x:3rem}.-translate-x-1\/2{--tw-translate-x:-50%}.-translate-x-1\/2,.-translate-x-full{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-full{--tw-translate-x:-100%}.translate-x-full{--tw-translate-x:100%}.translate-x-0,.translate-x-full{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x:0px}.scale-0{--tw-scale-x:0;--tw-scale-y:0}.scale-0,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-pointer{cursor:pointer}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.select-all{-webkit-user-select:all;-moz-user-select:all;user-select:all}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-10{grid-template-columns:repeat(10,minmax(0,1fr))}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.content-between{align-content:space-between}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.gap-4{gap:1rem}.gap-2{gap:.5rem}.gap-6{gap:1.5rem}.gap-1{gap:.25rem}.gap-3{gap:.75rem}.gap-\[1px\]{gap:1px}.gap-0{gap:0}.gap-8{gap:2rem}.gap-y-4{row-gap:1rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.self-start{align-self:flex-start}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.\!overflow-visible{overflow:visible!important}.overflow-visible{overflow:visible}.overflow-scroll{overflow:scroll}.overflow-y-auto{overflow-y:auto}.overflow-x-scroll{overflow-x:scroll}.overflow-y-scroll{overflow-y:scroll}.overscroll-contain{overscroll-behavior:contain}.truncate{overflow:hidden;white-space:nowrap}.text-ellipsis,.truncate{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-sm{border-radius:.125rem}.rounded-lg{border-radius:.5rem}.rounded-none{border-radius:0}.rounded{border-radius:.25rem}.rounded-\[50\%\]{border-radius:50%}.rounded-l-none{border-bottom-left-radius:0;border-top-left-radius:0}.rounded-r-none{border-bottom-right-radius:0;border-top-right-radius:0}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.rounded-r{border-top-right-radius:.25rem}.rounded-b,.rounded-r{border-bottom-right-radius:.25rem}.rounded-b{border-bottom-left-radius:.25rem}.rounded-t{border-top-left-radius:.25rem}.rounded-t,.rounded-tr{border-top-right-radius:.25rem}.rounded-br{border-bottom-right-radius:.25rem}.rounded-tr-none{border-top-right-radius:0}.rounded-tl-none{border-top-left-radius:0}.rounded-bl-none{border-bottom-left-radius:0}.rounded-bl-lg{border-bottom-left-radius:.5rem}.rounded-tl-lg{border-top-left-radius:.5rem}.rounded-tr-lg{border-top-right-radius:.5rem}.border-2{border-width:2px}.border{border-width:1px}.border-0{border-width:0}.border-4{border-width:4px}.border-\[1px\]{border-width:1px}.border-\[3px\]{border-width:3px}.border-y-2{border-bottom-width:2px;border-top-width:2px}.border-x{border-left-width:1px;border-right-width:1px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-l-0{border-left-width:0}.border-r-0{border-right-width:0}.border-b-0{border-bottom-width:0}.border-l{border-left-width:1px}.border-t{border-top-width:1px}.border-r{border-right-width:1px}.\!border-l-0{border-left-width:0!important}.\!border-r-0{border-right-width:0!important}.border-solid{border-style:solid}.border-blue-100{--tw-border-opacity:1;border-color:rgb(219 234 254/var(--tw-border-opacity))}.border-gray-900{--tw-border-opacity:1;border-color:rgb(24 24 27/var(--tw-border-opacity))}.border-red-700{--tw-border-opacity:1;border-color:rgb(185 28 28/var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity:1;border-color:rgb(244 244 245/var(--tw-border-opacity))}.border-green-600{--tw-border-opacity:1;border-color:rgb(22 163 74/var(--tw-border-opacity))}.border-blue-700{--tw-border-opacity:1;border-color:rgb(29 78 216/var(--tw-border-opacity))}.border-orange-700{--tw-border-opacity:1;border-color:rgb(194 65 12/var(--tw-border-opacity))}.border-yellow-700{--tw-border-opacity:1;border-color:rgb(161 98 7/var(--tw-border-opacity))}.border-purple-700{--tw-border-opacity:1;border-color:rgb(126 34 206/var(--tw-border-opacity))}.border-yellow-900{--tw-border-opacity:1;border-color:rgb(113 63 18/var(--tw-border-opacity))}.border-green-700{--tw-border-opacity:1;border-color:rgb(21 128 61/var(--tw-border-opacity))}.border-\[transparent\]{border-color:transparent}.border-gray-500{--tw-border-opacity:1;border-color:rgb(113 113 122/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(212 212 216/var(--tw-border-opacity))}.border-orange-500{--tw-border-opacity:1;border-color:rgb(249 115 22/var(--tw-border-opacity))}.border-black{--tw-border-opacity:1;border-color:rgb(0 0 0/var(--tw-border-opacity))}.border-danger{--tw-border-opacity:1;border-color:rgb(185 28 28/var(--tw-border-opacity))}.border-gray-600{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity))}.border-indigo-600{--tw-border-opacity:1;border-color:rgb(79 70 229/var(--tw-border-opacity))}.border-indigo-900{--tw-border-opacity:1;border-color:rgb(49 46 129/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(228 228 231/var(--tw-border-opacity))}.border-gray-700{--tw-border-opacity:1;border-color:rgb(63 63 70/var(--tw-border-opacity))}.border-primary{--tw-border-opacity:1;border-color:rgb(24 24 27/var(--tw-border-opacity))}.border-opacity-80{--tw-border-opacity:.8}.bg-blue-50{--tw-bg-opacity:1;background-color:rgb(239 246 255/var(--tw-bg-opacity))}.bg-blue-100{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity))}.bg-purple-100{--tw-bg-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(244 244 245/var(--tw-bg-opacity))}.bg-blueGray-200{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity:1;background-color:rgb(220 252 231/var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(224 234 255/var(--tw-bg-opacity))}.bg-pink-100{--tw-bg-opacity:1;background-color:rgb(252 231 243/var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.bg-blue-200{--tw-bg-opacity:1;background-color:rgb(191 219 254/var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(228 228 231/var(--tw-bg-opacity))}.bg-orange-50{--tw-bg-opacity:1;background-color:rgb(255 247 237/var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity:1;background-color:rgb(254 252 232/var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity:1;background-color:rgb(29 78 216/var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity))}.bg-\[transparent\]{background-color:transparent}.bg-primary{--tw-bg-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity:1;background-color:rgb(212 212 216/var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(39 39 42/var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity:1;background-color:rgb(79 70 229/var(--tw-bg-opacity))}.bg-green-200{--tw-bg-opacity:1;background-color:rgb(187 247 208/var(--tw-bg-opacity))}.bg-red-200{--tw-bg-opacity:1;background-color:rgb(255 207 207/var(--tw-bg-opacity))}.bg-offWhite{--tw-bg-opacity:1;background-color:rgb(248 248 247/var(--tw-bg-opacity))}.bg-danger{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity))}.bg-\[\#DDD6FE\]{--tw-bg-opacity:1;background-color:rgb(221 214 254/var(--tw-bg-opacity))}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-blue-100{--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-blue-200{--tw-gradient-from:#bfdbfe;--tw-gradient-to:rgba(191,219,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-red-100{--tw-gradient-from:#fee2e2;--tw-gradient-to:hsla(0,93%,94%,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-yellow-100{--tw-gradient-from:#fef9c3;--tw-gradient-to:hsla(55,97%,88%,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-pink-100{--tw-gradient-from:#fce7f3;--tw-gradient-to:rgba(252,231,243,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-gray-100{--tw-gradient-from:#f4f4f5;--tw-gradient-to:hsla(240,5%,96%,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.via-gray-200{--tw-gradient-to:hsla(240,6%,90%,0);--tw-gradient-stops:var(--tw-gradient-from),#e4e4e7,var(--tw-gradient-to)}.to-purple-100{--tw-gradient-to:#f3e8ff}.to-red-200{--tw-gradient-to:#ffcfcf}.to-yellow-200{--tw-gradient-to:#fef08a}.to-pink-200{--tw-gradient-to:#fbcfe8}.to-gray-300{--tw-gradient-to:#d4d4d8}.stroke-gray-200{stroke:#e4e4e7}.stroke-gray-700{stroke:#3f3f46}.p-12{padding:3rem}.p-1{padding:.25rem}.p-0\.5{padding:.125rem}.p-0{padding:0}.\!p-0{padding:0!important}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-2{padding:.5rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-3{padding:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.py-0\.5{padding-bottom:.125rem;padding-top:.125rem}.py-0{padding-bottom:0;padding-top:0}.py-1\.5{padding-bottom:.375rem;padding-top:.375rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-2\.5{padding-bottom:.625rem;padding-top:.625rem}.px-0{padding-left:0;padding-right:0}.py-4{padding-bottom:1rem;padding-top:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-5{padding-bottom:1.25rem;padding-top:1.25rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.pt-8{padding-top:2rem}.pb-0{padding-bottom:0}.pb-4{padding-bottom:1rem}.pb-24{padding-bottom:6rem}.pl-5{padding-left:1.25rem}.pr-2{padding-right:.5rem}.pt-1{padding-top:.25rem}.pb-2{padding-bottom:.5rem}.pr-1{padding-right:.25rem}.pb-20{padding-bottom:5rem}.pt-2{padding-top:.5rem}.pr-4{padding-right:1rem}.pb-12{padding-bottom:3rem}.pt-24{padding-top:6rem}.pl-3{padding-left:.75rem}.\!pt-0{padding-top:0!important}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-top{vertical-align:top}.align-middle{vertical-align:middle}.font-mono{font-family:Noto Sans Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-secondary{font-family:Poppins,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.font-primary{font-family:Inter Variable,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-\[12px\]{font-size:12px}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-base{font-size:1rem;line-height:1.5rem}.text-xs{font-size:.75rem;line-height:1rem}.text-\[12rem\]{font-size:12rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-\[10px\]{font-size:10px}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-8xl{font-size:6rem;line-height:1}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-light{font-weight:300}.font-semibold{font-weight:600}.font-extrabold{font-weight:800}.font-bold{font-weight:700}.capitalize{text-transform:capitalize}.italic{font-style:italic}.leading-3{line-height:.75rem}.leading-4{line-height:1rem}.leading-6{line-height:1.5rem}.leading-\[18px\]{line-height:18px}.text-purple-200{--tw-text-opacity:1;color:rgb(233 213 255/var(--tw-text-opacity))}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity))}.text-primary{--tw-text-opacity:1;color:rgb(24 24 27/var(--tw-text-opacity))}.text-orange-700{--tw-text-opacity:1;color:rgb(194 65 12/var(--tw-text-opacity))}.text-green-700{--tw-text-opacity:1;color:rgb(21 128 61/var(--tw-text-opacity))}.text-red-700{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity:1;color:rgb(24 24 27/var(--tw-text-opacity))}.text-yellow-900{--tw-text-opacity:1;color:rgb(113 63 18/var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity:1;color:rgb(161 98 7/var(--tw-text-opacity))}.text-indigo-700{--tw-text-opacity:1;color:rgb(67 56 202/var(--tw-text-opacity))}.text-purple-700{--tw-text-opacity:1;color:rgb(126 34 206/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(113 113 122/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.text-danger{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity))}.text-gray-100{--tw-text-opacity:1;color:rgb(244 244 245/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgb(63 63 70/var(--tw-text-opacity))}.text-pink-700{--tw-text-opacity:1;color:rgb(190 24 93/var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity:1;color:rgb(212 212 216/var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity:1;color:rgb(39 39 42/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.no-underline{text-decoration-line:none}.underline-offset-2{text-underline-offset:2px}.opacity-0{opacity:0}.opacity-75{opacity:.75}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-xl{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color)}.shadow-focus{--tw-shadow:0 0 0 4px;--tw-shadow-colored:0 0 0 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-2{outline-width:2px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.\!filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-shadow{transition-duration:.15s;transition-property:box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.content-\[\'\'\]{--tw-content:"";content:var(--tw-content)}.after\:h-2:after{content:var(--tw-content);height:.5rem}.after\:w-2:after{content:var(--tw-content);width:.5rem}.after\:-translate-x-full:after{--tw-translate-x:-100%}.after\:-translate-x-full:after,.after\:-translate-y-full:after{content:var(--tw-content);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.after\:-translate-y-full:after{--tw-translate-y:-100%}.after\:rounded-full:after{border-radius:9999px;content:var(--tw-content)}.after\:bg-blue-300:after{--tw-bg-opacity:1;background-color:rgb(147 197 253/var(--tw-bg-opacity));content:var(--tw-content)}.after\:content-\[\"\*\"\]:after{--tw-content:"*";content:var(--tw-content)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:pt-0:first-child{padding-top:0}.last\:border-b-0:last-child{border-bottom-width:0}.first-of-type\:rounded-bl-lg:first-of-type{border-bottom-left-radius:.5rem}.first-of-type\:rounded-tl-lg:first-of-type{border-top-left-radius:.5rem}.first-of-type\:rounded-tr-lg:first-of-type{border-top-right-radius:.5rem}.first-of-type\:rounded-tl:first-of-type{border-top-left-radius:.25rem}.last-of-type\:hidden:last-of-type{display:none}.last-of-type\:rounded-bl-lg:last-of-type{border-bottom-left-radius:.5rem}.last-of-type\:border-0:last-of-type{border-width:0}.last-of-type\:border-b-0:last-of-type{border-bottom-width:0}.focus-within\:border-indigo-600:focus-within{--tw-border-opacity:1;border-color:rgb(79 70 229/var(--tw-border-opacity))}.focus-within\:border-blue-700:focus-within{--tw-border-opacity:1;border-color:rgb(29 78 216/var(--tw-border-opacity))}.focus-within\:shadow-focus:focus-within{--tw-shadow:0 0 0 4px;--tw-shadow-colored:0 0 0 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.focus-within\:shadow-blue-600\/50:focus-within{--tw-shadow-color:rgba(37,99,235,.5);--tw-shadow:var(--tw-shadow-colored)}.hover\:scale-125:hover{--tw-scale-x:1.25;--tw-scale-y:1.25;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:cursor-pointer:hover{cursor:pointer}.hover\:border-b-2:hover{border-bottom-width:2px}.hover\:border-gray-900:hover{--tw-border-opacity:1;border-color:rgb(24 24 27/var(--tw-border-opacity))}.hover\:border-indigo-600:hover{--tw-border-opacity:1;border-color:rgb(79 70 229/var(--tw-border-opacity))}.hover\:border-blue-700:hover{--tw-border-opacity:1;border-color:rgb(29 78 216/var(--tw-border-opacity))}.hover\:border-red-900:hover{--tw-border-opacity:1;border-color:rgb(127 29 29/var(--tw-border-opacity))}.hover\:bg-gray-900:hover{--tw-bg-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity:1;background-color:rgb(228 228 231/var(--tw-bg-opacity))}.hover\:bg-indigo-50:hover{--tw-bg-opacity:1;background-color:rgb(238 242 255/var(--tw-bg-opacity))}.hover\:bg-gradient-to-br:hover{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.hover\:from-blue-100:hover{--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.hover\:from-primary:hover{--tw-gradient-from:#18181b;--tw-gradient-to:rgba(24,24,27,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.hover\:to-purple-100:hover{--tw-gradient-to:#f3e8ff}.hover\:text-gray-900:hover{--tw-text-opacity:1;color:rgb(24 24 27/var(--tw-text-opacity))}.hover\:text-indigo-600:hover{--tw-text-opacity:1;color:rgb(79 70 229/var(--tw-text-opacity))}.hover\:text-blue-700:hover{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity))}.hover\:text-primary:hover{--tw-text-opacity:1;color:rgb(24 24 27/var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:shadow-focus:hover{--tw-shadow:0 0 0 4px;--tw-shadow-colored:0 0 0 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.hover\:shadow-blue-600\/50:hover{--tw-shadow-color:rgba(37,99,235,.5);--tw-shadow:var(--tw-shadow-colored)}.focus\:z-50:focus{z-index:50}.focus\:translate-y-0:focus{--tw-translate-y:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.focus\:bg-gray-200:focus{--tw-bg-opacity:1;background-color:rgb(228 228 231/var(--tw-bg-opacity))}.focus\:from-blue-100:focus{--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.focus\:to-purple-100:focus{--tw-gradient-to:#f3e8ff}.focus\:shadow-focus:focus{--tw-shadow:0 0 0 4px;--tw-shadow-colored:0 0 0 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.focus\:shadow-blue-600\/50:focus{--tw-shadow-color:rgba(37,99,235,.5);--tw-shadow:var(--tw-shadow-colored)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:outline-1:focus{outline-width:1px}.focus-visible\:border-indigo-600:focus-visible{--tw-border-opacity:1;border-color:rgb(79 70 229/var(--tw-border-opacity))}.focus-visible\:border-white:focus-visible{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.focus-visible\:bg-gray-900:focus-visible{--tw-bg-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity))}.focus-visible\:bg-indigo-100:focus-visible{--tw-bg-opacity:1;background-color:rgb(224 234 255/var(--tw-bg-opacity))}.focus-visible\:bg-blue-100:focus-visible{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity))}.focus-visible\:bg-indigo-50:focus-visible{--tw-bg-opacity:1;background-color:rgb(238 242 255/var(--tw-bg-opacity))}.focus-visible\:bg-gradient-to-br:focus-visible{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.focus-visible\:from-blue-100:focus-visible{--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.focus-visible\:to-purple-100:focus-visible{--tw-gradient-to:#f3e8ff}.focus-visible\:text-gray-900:focus-visible{--tw-text-opacity:1;color:rgb(24 24 27/var(--tw-text-opacity))}.focus-visible\:text-white:focus-visible{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.focus-visible\:text-primary:focus-visible{--tw-text-opacity:1;color:rgb(24 24 27/var(--tw-text-opacity))}.focus-visible\:shadow-focus:focus-visible{--tw-shadow:0 0 0 4px;--tw-shadow-colored:0 0 0 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.focus-visible\:shadow-blue-600\/50:focus-visible{--tw-shadow-color:rgba(37,99,235,.5);--tw-shadow:var(--tw-shadow-colored)}.focus-visible\:shadow-red-200\/50:focus-visible{--tw-shadow-color:hsla(0,100%,91%,.5);--tw-shadow:var(--tw-shadow-colored)}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:outline:focus-visible{outline-style:solid}.focus-visible\:outline-1:focus-visible{outline-width:1px}.focus-visible\:outline-blue-700:focus-visible{outline-color:#1d4ed8}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:visible{visibility:visible}@media (prefers-color-scheme:dark){.dark\:border-gray-500{--tw-border-opacity:1;border-color:rgb(113 113 122/var(--tw-border-opacity))}.dark\:bg-gray-600{--tw-bg-opacity:1;background-color:rgb(75 85 99/var(--tw-bg-opacity))}.dark\:text-gray-400{--tw-text-opacity:1;color:rgb(161 161 170/var(--tw-text-opacity))}}@media not all and (min-width:1280px){.max-xl\:hidden{display:none}}@media not all and (min-width:1024px){.max-lg\:hidden{display:none}}@media not all and (min-width:768px){.max-md\:hidden{display:none}}@media not all and (min-width:640px){.max-sm\:flex-col{flex-direction:column}}@media (min-width:640px){.sm\:block{display:block}.sm\:w-\[20rem\]{width:20rem}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}}@media (min-width:768px){.md\:visible{visibility:visible}.md\:col-span-2{grid-column:span 2/span 2}.md\:block{display:block}.md\:table-cell{display:table-cell}.md\:table-row{display:table-row}.md\:hidden{display:none}.md\:h-auto{height:auto}.md\:w-\[26rem\]{width:26rem}.md\:w-1\/2{width:50%}.md\:w-auto{width:auto}.md\:w-32{width:8rem}.md\:w-2\/3{width:66.666667%}.md\:w-80{width:20rem}.md\:max-w-lg{max-width:32rem}.md\:table-fixed{table-layout:fixed}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:gap-2{gap:.5rem}.md\:gap-x-8{-moz-column-gap:2rem;column-gap:2rem}.md\:whitespace-normal{white-space:normal}.md\:px-8{padding-left:2rem;padding-right:2rem}.md\:px-2{padding-left:.5rem;padding-right:.5rem}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width:1024px){.lg\:flex{display:flex}.lg\:max-h-\[24rem\]{max-height:24rem}.lg\:max-h-\[23\.5rem\]{max-height:23.5rem}.lg\:w-auto{width:auto}.lg\:w-2\/3{width:66.666667%}.lg\:w-1\/2{width:50%}.lg\:w-1\/3{width:33.333333%}.lg\:w-3\/4{width:75%}.lg\:w-3\/5{width:60%}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.lg\:items-start{align-items:flex-start}.lg\:items-end{align-items:flex-end}.lg\:justify-end{justify-content:flex-end}.lg\:gap-2{gap:.5rem}.lg\:border-r-2{border-right-width:2px}.lg\:pr-2{padding-right:.5rem}}@media (min-width:1280px){.xl\:flex{display:flex}.xl\:table-cell{display:table-cell}.xl\:hidden{display:none}.xl\:w-1\/2{width:50%}.xl\:w-2\/3{width:66.666667%}.xl\:w-1\/3{width:33.333333%}.xl\:w-10{width:2.5rem}.xl\:w-80{width:20rem}.xl\:w-auto{width:auto}.xl\:w-11\/12{width:91.666667%}.xl\:min-w-\[520px\]{min-width:520px}.xl\:max-w-2xl{max-width:42rem}.xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.xl\:flex-row{flex-direction:row}.xl\:flex-nowrap{flex-wrap:nowrap}.xl\:items-center{align-items:center}.xl\:gap-3{gap:.75rem}.xl\:gap-4{gap:1rem}.xl\:gap-x-16{-moz-column-gap:4rem;column-gap:4rem}.xl\:border-b-0{border-bottom-width:0}.xl\:border-r-2{border-right-width:2px}.xl\:px-4{padding-left:1rem;padding-right:1rem}.xl\:py-3{padding-bottom:.75rem;padding-top:.75rem}.xl\:text-left{text-align:left}}.\[\&\:not\(\:disabled\)\:hover\]\:border-indigo-600:not(:disabled):hover{--tw-border-opacity:1;border-color:rgb(79 70 229/var(--tw-border-opacity))}.\[\&\:not\(\:disabled\)\:hover\]\:border-white:not(:disabled):hover{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.\[\&\:not\(\:disabled\)\:hover\]\:bg-gray-900:not(:disabled):hover{--tw-bg-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity))}.\[\&\:not\(\:disabled\)\:hover\]\:bg-indigo-100:not(:disabled):hover{--tw-bg-opacity:1;background-color:rgb(224 234 255/var(--tw-bg-opacity))}.\[\&\:not\(\:disabled\)\:hover\]\:from-blue-100:not(:disabled):hover{--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.\[\&\:not\(\:disabled\)\:hover\]\:to-purple-100:not(:disabled):hover{--tw-gradient-to:#f3e8ff}.\[\&\:not\(\:disabled\)\:hover\]\:text-gray-900:not(:disabled):hover{--tw-text-opacity:1;color:rgb(24 24 27/var(--tw-text-opacity))}.\[\&\:not\(\:disabled\)\:hover\]\:text-white:not(:disabled):hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.\[\&\:not\(\:disabled\)\:hover\]\:shadow-focus:not(:disabled):hover{--tw-shadow:0 0 0 4px;--tw-shadow-colored:0 0 0 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.\[\&\:not\(\:disabled\)\:hover\]\:shadow-blue-600\/50:not(:disabled):hover{--tw-shadow-color:rgba(37,99,235,.5);--tw-shadow:var(--tw-shadow-colored)}.\[\&\:not\(\:disabled\)\:hover\]\:shadow-red-200\/50:not(:disabled):hover{--tw-shadow-color:hsla(0,100%,91%,.5);--tw-shadow:var(--tw-shadow-colored)} diff --git a/ui/assets/local/_app/immutable/assets/event-summary-table.4456dbde.css b/ui/assets/local/_app/immutable/assets/event-summary-table.c983745f.css similarity index 71% rename from ui/assets/local/_app/immutable/assets/event-summary-table.4456dbde.css rename to ui/assets/local/_app/immutable/assets/event-summary-table.c983745f.css index 2f883ebf63..36c7d8da80 100644 --- a/ui/assets/local/_app/immutable/assets/event-summary-table.4456dbde.css +++ b/ui/assets/local/_app/immutable/assets/event-summary-table.c983745f.css @@ -1 +1 @@ -.row.svelte-kwty14{--tw-border-opacity:1;border-color:rgb(24 24 27/var(--tw-border-opacity));border-width:2px;font-size:.875rem;line-height:1.25rem;padding:.5rem;text-align:center}.pill.svelte-1dt2q6k{--tw-border-opacity:1;align-items:center;border-color:rgb(244 244 245/var(--tw-border-opacity));border-radius:9999px;border-width:2px;display:flex;font-size:.875rem;gap:.25rem;justify-content:center;line-height:1.25rem;padding:.25rem .75rem}.gray.svelte-1dt2q6k{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(244 244 245/var(--tw-bg-opacity));color:rgb(75 85 99/var(--tw-text-opacity))}.gray.active.svelte-1dt2q6k{--tw-border-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(24 24 27/var(--tw-border-opacity));border-width:2px;color:rgb(24 24 27/var(--tw-text-opacity))}.blueGray.svelte-1dt2q6k,.gray.active.svelte-1dt2q6k{--tw-bg-opacity:1;--tw-text-opacity:1}.blueGray.svelte-1dt2q6k{background-color:rgb(226 232 240/var(--tw-bg-opacity));color:rgb(15 23 42/var(--tw-text-opacity))}.blueGray.active.svelte-1dt2q6k{--tw-border-opacity:1;border-color:rgb(15 23 42/var(--tw-border-opacity));border-width:2px}.blue.svelte-1dt2q6k{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity));color:rgb(29 78 216/var(--tw-text-opacity))}.blue.active.svelte-1dt2q6k{border-color:rgb(29 78 216/var(--tw-border-opacity))}.blue.active.svelte-1dt2q6k,.lightBlue.active.svelte-1dt2q6k{--tw-border-opacity:1;border-width:2px}.lightBlue.active.svelte-1dt2q6k{background-color:rgb(239 246 255/var(--tw-bg-opacity));border-color:rgb(24 24 27/var(--tw-border-opacity));color:rgb(24 24 27/var(--tw-text-opacity))}.green.svelte-1dt2q6k,.lightBlue.active.svelte-1dt2q6k{--tw-bg-opacity:1;--tw-text-opacity:1}.green.svelte-1dt2q6k{background-color:rgb(220 252 231/var(--tw-bg-opacity));color:rgb(21 128 61/var(--tw-text-opacity))}.green.active.svelte-1dt2q6k{--tw-border-opacity:1;border-color:rgb(21 128 61/var(--tw-border-opacity));border-width:2px}.yellow.svelte-1dt2q6k{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity));color:rgb(113 63 18/var(--tw-text-opacity))}.yellow.active.svelte-1dt2q6k{--tw-border-opacity:1;border-color:rgb(113 63 18/var(--tw-border-opacity));border-width:2px}.orange.svelte-1dt2q6k{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity));color:rgb(124 45 18/var(--tw-text-opacity))}.orange.active.svelte-1dt2q6k{--tw-border-opacity:1;border-color:rgb(124 45 18/var(--tw-border-opacity));border-width:2px}.red.svelte-1dt2q6k{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity));color:rgb(185 28 28/var(--tw-text-opacity))}.red.active.svelte-1dt2q6k{--tw-border-opacity:1;border-color:rgb(185 28 28/var(--tw-border-opacity));border-width:2px}.indigo.svelte-1dt2q6k{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(224 234 255/var(--tw-bg-opacity));color:rgb(67 56 202/var(--tw-text-opacity))}.indigo.active.svelte-1dt2q6k{--tw-border-opacity:1;border-color:rgb(67 56 202/var(--tw-border-opacity));border-width:2px}.purple.svelte-1dt2q6k{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity));color:rgb(126 34 206/var(--tw-text-opacity))}.purple.active.svelte-1dt2q6k{--tw-border-opacity:1;border-color:rgb(126 34 206/var(--tw-border-opacity));border-width:2px}.pink.svelte-1dt2q6k{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(252 231 243/var(--tw-bg-opacity));color:rgb(190 24 93/var(--tw-text-opacity))}.pink.active.svelte-1dt2q6k{--tw-border-opacity:1;border-color:rgb(190 24 93/var(--tw-border-opacity));border-width:2px}.pill-container.svelte-1vvd0nc{--tw-bg-opacity:1;align-items:center;background-color:rgb(244 244 245/var(--tw-bg-opacity));border-radius:.375rem;display:inline-flex;flex-direction:column;gap:.5rem;justify-content:flex-start;padding:.5rem}@media (min-width:768px){.pill-container.svelte-1vvd0nc{border-radius:9999px;flex-direction:row}}.row.svelte-10e9wiy.svelte-10e9wiy{display:flex;padding-left:1rem;padding-right:1rem}.row.svelte-10e9wiy.svelte-10e9wiy:first-child{padding-top:0}.content.svelte-10e9wiy.svelte-10e9wiy{--tw-border-opacity:1;border-bottom-width:2px;border-color:rgb(228 228 231/var(--tw-border-opacity))}.code-block-row.svelte-10e9wiy.svelte-10e9wiy,.content.svelte-10e9wiy.svelte-10e9wiy{display:block;padding-bottom:.5rem;padding-top:.5rem;text-align:left;width:100%}.code-with-stack-trace.svelte-10e9wiy.svelte-10e9wiy{display:flex;flex-direction:column;gap:.5rem}@media (min-width:1024px){.code-with-stack-trace.svelte-10e9wiy.svelte-10e9wiy{flex-direction:row}}.detail-row.svelte-10e9wiy.svelte-10e9wiy{align-items:center;display:flex;gap:1rem;padding-bottom:.5rem;padding-top:.5rem;text-align:left;width:100%}@media (min-width:1280px){.detail-row.svelte-10e9wiy.svelte-10e9wiy{display:flex}}.row.svelte-10e9wiy:last-of-type .content.svelte-10e9wiy{border-bottom-width:0}.badge.svelte-10e9wiy.svelte-10e9wiy{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(244 244 245/var(--tw-bg-opacity));border-radius:.125rem;color:rgb(24 24 27/var(--tw-text-opacity));padding:.25rem}.row.svelte-11yead6.svelte-11yead6:hover{--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#f3e8ff;background-attachment:fixed;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));cursor:pointer}.active.svelte-11yead6.svelte-11yead6{background-color:rgb(239 246 255/var(--tw-bg-opacity))}.active.svelte-11yead6.svelte-11yead6,.failure.svelte-11yead6.svelte-11yead6{--tw-bg-opacity:1}.failure.svelte-11yead6.svelte-11yead6{background-color:rgb(254 242 242/var(--tw-bg-opacity))}.failure.svelte-11yead6 .event-type.svelte-11yead6{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity))}.canceled.svelte-11yead6.svelte-11yead6{--tw-bg-opacity:1;background-color:rgb(254 252 232/var(--tw-bg-opacity))}.canceled.svelte-11yead6 .event-type.svelte-11yead6{--tw-text-opacity:1;color:rgb(161 98 7/var(--tw-text-opacity))}.terminated.svelte-11yead6.svelte-11yead6{--tw-bg-opacity:1;background-color:rgb(253 242 248/var(--tw-bg-opacity))}.terminated.svelte-11yead6 .event-type.svelte-11yead6{--tw-text-opacity:1;color:rgb(190 24 93/var(--tw-text-opacity))}.active.canceled.svelte-11yead6.svelte-11yead6,.failure.svelte-11yead6.svelte-11yead6:hover{--tw-gradient-from:#fee2e2;--tw-gradient-to:hsla(0,93%,94%,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#ffcfcf}.active.canceled.svelte-11yead6.svelte-11yead6,.canceled.svelte-11yead6.svelte-11yead6:hover,.failure.svelte-11yead6.svelte-11yead6:hover{background-attachment:fixed;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.active.canceled.svelte-11yead6.svelte-11yead6,.canceled.svelte-11yead6.svelte-11yead6:hover{--tw-gradient-from:#fef9c3;--tw-gradient-to:hsla(55,97%,88%,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#fef08a}.active.terminated.svelte-11yead6.svelte-11yead6,.terminated.svelte-11yead6.svelte-11yead6:hover{--tw-gradient-from:#fce7f3;--tw-gradient-to:rgba(252,231,243,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#fbcfe8;background-attachment:fixed;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.badge.svelte-n4ehvt{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(244 244 245/var(--tw-bg-opacity));border-radius:.125rem;color:rgb(24 24 27/var(--tw-text-opacity));padding:.25rem}.row.svelte-bv1sbi.svelte-bv1sbi{--tw-border-opacity:1;align-items:center;border-color:rgb(24 24 27/var(--tw-border-opacity));flex-wrap:wrap;font-size:.875rem;line-height:1.25rem;text-decoration-line:none}@media (min-width:1280px){.row.svelte-bv1sbi.svelte-bv1sbi{font-size:1rem;line-height:1.5rem;padding-bottom:.75rem;padding-top:.75rem}}.row.svelte-bv1sbi.svelte-bv1sbi:hover{--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#f3e8ff;background-attachment:fixed;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));cursor:pointer;z-index:50}.expanded.row.svelte-bv1sbi.svelte-bv1sbi{background-color:rgb(239 246 255/var(--tw-bg-opacity))}.expanded.row.svelte-bv1sbi.svelte-bv1sbi,.failure.svelte-bv1sbi.svelte-bv1sbi{--tw-bg-opacity:1}.failure.svelte-bv1sbi.svelte-bv1sbi{background-color:rgb(254 242 242/var(--tw-bg-opacity))}.failure.svelte-bv1sbi .event-name.svelte-bv1sbi{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity))}.canceled.svelte-bv1sbi.svelte-bv1sbi{--tw-bg-opacity:1;background-color:rgb(254 252 232/var(--tw-bg-opacity))}.canceled.svelte-bv1sbi .event-name.svelte-bv1sbi{--tw-text-opacity:1;color:rgb(161 98 7/var(--tw-text-opacity))}.terminated.svelte-bv1sbi.svelte-bv1sbi{--tw-bg-opacity:1;background-color:rgb(253 242 248/var(--tw-bg-opacity))}.terminated.svelte-bv1sbi .event-name.svelte-bv1sbi{--tw-text-opacity:1;color:rgb(190 24 93/var(--tw-text-opacity))}.expanded-cell.svelte-bv1sbi.svelte-bv1sbi{flex-wrap:wrap;font-size:.875rem;line-height:1.25rem;text-decoration-line:none;width:100%}@media (min-width:1280px){.expanded-cell.svelte-bv1sbi.svelte-bv1sbi{font-size:1rem;line-height:1.5rem}}.typedError.svelte-bv1sbi .expanded-cell.svelte-bv1sbi{border-bottom-width:0}.row.typedError.svelte-bv1sbi.svelte-bv1sbi{border-radius:.5rem}.row.typedError.expanded.svelte-bv1sbi.svelte-bv1sbi{border-bottom-left-radius:0;border-bottom-right-radius:0}.active.svelte-bv1sbi.svelte-bv1sbi{--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#f3e8ff;cursor:pointer;z-index:50}.active.canceled.svelte-bv1sbi.svelte-bv1sbi,.active.svelte-bv1sbi.svelte-bv1sbi,.canceled.svelte-bv1sbi.svelte-bv1sbi:hover{background-attachment:fixed;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.active.canceled.svelte-bv1sbi.svelte-bv1sbi,.canceled.svelte-bv1sbi.svelte-bv1sbi:hover{--tw-gradient-from:#fef9c3;--tw-gradient-to:hsla(55,97%,88%,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#fef08a}.active.failure.svelte-bv1sbi.svelte-bv1sbi,.failure.svelte-bv1sbi.svelte-bv1sbi:hover{--tw-gradient-from:#fee2e2;--tw-gradient-to:hsla(0,93%,94%,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#ffcfcf}.active.failure.svelte-bv1sbi.svelte-bv1sbi,.active.terminated.svelte-bv1sbi.svelte-bv1sbi,.failure.svelte-bv1sbi.svelte-bv1sbi:hover,.terminated.svelte-bv1sbi.svelte-bv1sbi:hover{background-attachment:fixed;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.active.terminated.svelte-bv1sbi.svelte-bv1sbi,.terminated.svelte-bv1sbi.svelte-bv1sbi:hover{--tw-gradient-from:#fce7f3;--tw-gradient-to:rgba(252,231,243,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#fbcfe8} +.row.svelte-kwty14{--tw-border-opacity:1;border-color:rgb(24 24 27/var(--tw-border-opacity));border-width:2px;font-size:.875rem;line-height:1.25rem;padding:.5rem;text-align:center}.pill.svelte-1dt2q6k{--tw-border-opacity:1;align-items:center;border-color:rgb(244 244 245/var(--tw-border-opacity));border-radius:9999px;border-width:2px;display:flex;font-size:.875rem;gap:.25rem;justify-content:center;line-height:1.25rem;padding:.25rem .75rem}.gray.svelte-1dt2q6k{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(244 244 245/var(--tw-bg-opacity));color:rgb(75 85 99/var(--tw-text-opacity))}.gray.active.svelte-1dt2q6k{--tw-border-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(24 24 27/var(--tw-border-opacity));border-width:2px;color:rgb(24 24 27/var(--tw-text-opacity))}.blueGray.svelte-1dt2q6k,.gray.active.svelte-1dt2q6k{--tw-bg-opacity:1;--tw-text-opacity:1}.blueGray.svelte-1dt2q6k{background-color:rgb(226 232 240/var(--tw-bg-opacity));color:rgb(15 23 42/var(--tw-text-opacity))}.blueGray.active.svelte-1dt2q6k{--tw-border-opacity:1;border-color:rgb(15 23 42/var(--tw-border-opacity));border-width:2px}.blue.svelte-1dt2q6k{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity));color:rgb(29 78 216/var(--tw-text-opacity))}.blue.active.svelte-1dt2q6k{border-color:rgb(29 78 216/var(--tw-border-opacity))}.blue.active.svelte-1dt2q6k,.lightBlue.active.svelte-1dt2q6k{--tw-border-opacity:1;border-width:2px}.lightBlue.active.svelte-1dt2q6k{background-color:rgb(239 246 255/var(--tw-bg-opacity));border-color:rgb(24 24 27/var(--tw-border-opacity));color:rgb(24 24 27/var(--tw-text-opacity))}.green.svelte-1dt2q6k,.lightBlue.active.svelte-1dt2q6k{--tw-bg-opacity:1;--tw-text-opacity:1}.green.svelte-1dt2q6k{background-color:rgb(220 252 231/var(--tw-bg-opacity));color:rgb(21 128 61/var(--tw-text-opacity))}.green.active.svelte-1dt2q6k{--tw-border-opacity:1;border-color:rgb(21 128 61/var(--tw-border-opacity));border-width:2px}.yellow.svelte-1dt2q6k{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(254 249 195/var(--tw-bg-opacity));color:rgb(113 63 18/var(--tw-text-opacity))}.yellow.active.svelte-1dt2q6k{--tw-border-opacity:1;border-color:rgb(113 63 18/var(--tw-border-opacity));border-width:2px}.orange.svelte-1dt2q6k{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity));color:rgb(124 45 18/var(--tw-text-opacity))}.orange.active.svelte-1dt2q6k{--tw-border-opacity:1;border-color:rgb(124 45 18/var(--tw-border-opacity));border-width:2px}.red.svelte-1dt2q6k{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity));color:rgb(185 28 28/var(--tw-text-opacity))}.red.active.svelte-1dt2q6k{--tw-border-opacity:1;border-color:rgb(185 28 28/var(--tw-border-opacity));border-width:2px}.indigo.svelte-1dt2q6k{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(224 234 255/var(--tw-bg-opacity));color:rgb(67 56 202/var(--tw-text-opacity))}.indigo.active.svelte-1dt2q6k{--tw-border-opacity:1;border-color:rgb(67 56 202/var(--tw-border-opacity));border-width:2px}.purple.svelte-1dt2q6k{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(243 232 255/var(--tw-bg-opacity));color:rgb(126 34 206/var(--tw-text-opacity))}.purple.active.svelte-1dt2q6k{--tw-border-opacity:1;border-color:rgb(126 34 206/var(--tw-border-opacity));border-width:2px}.pink.svelte-1dt2q6k{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(252 231 243/var(--tw-bg-opacity));color:rgb(190 24 93/var(--tw-text-opacity))}.pink.active.svelte-1dt2q6k{--tw-border-opacity:1;border-color:rgb(190 24 93/var(--tw-border-opacity));border-width:2px}.pill-container.svelte-1vvd0nc{--tw-bg-opacity:1;align-items:center;background-color:rgb(244 244 245/var(--tw-bg-opacity));border-radius:.375rem;display:inline-flex;flex-direction:column;gap:.5rem;justify-content:flex-start;padding:.5rem}@media (min-width:768px){.pill-container.svelte-1vvd0nc{border-radius:9999px;flex-direction:row}}.row.svelte-10e9wiy.svelte-10e9wiy{display:flex;padding-left:1rem;padding-right:1rem}.row.svelte-10e9wiy.svelte-10e9wiy:first-child{padding-top:0}.content.svelte-10e9wiy.svelte-10e9wiy{--tw-border-opacity:1;border-bottom-width:2px;border-color:rgb(228 228 231/var(--tw-border-opacity))}.code-block-row.svelte-10e9wiy.svelte-10e9wiy,.content.svelte-10e9wiy.svelte-10e9wiy{display:block;padding-bottom:.5rem;padding-top:.5rem;text-align:left;width:100%}.code-with-stack-trace.svelte-10e9wiy.svelte-10e9wiy{display:flex;flex-direction:column;gap:.5rem}@media (min-width:1024px){.code-with-stack-trace.svelte-10e9wiy.svelte-10e9wiy{flex-direction:row}}.detail-row.svelte-10e9wiy.svelte-10e9wiy{align-items:center;display:flex;gap:1rem;padding-bottom:.5rem;padding-top:.5rem;text-align:left;width:100%}@media (min-width:1280px){.detail-row.svelte-10e9wiy.svelte-10e9wiy{display:flex}}.row.svelte-10e9wiy:last-of-type .content.svelte-10e9wiy{border-bottom-width:0}.badge.svelte-10e9wiy.svelte-10e9wiy{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(244 244 245/var(--tw-bg-opacity));border-radius:.125rem;color:rgb(24 24 27/var(--tw-text-opacity));padding:.25rem}.row.svelte-11yead6.svelte-11yead6:hover{--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#f3e8ff;background-attachment:fixed;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));cursor:pointer}.active.svelte-11yead6.svelte-11yead6{background-color:rgb(239 246 255/var(--tw-bg-opacity))}.active.svelte-11yead6.svelte-11yead6,.failure.svelte-11yead6.svelte-11yead6{--tw-bg-opacity:1}.failure.svelte-11yead6.svelte-11yead6{background-color:rgb(254 242 242/var(--tw-bg-opacity))}.failure.svelte-11yead6 .event-type.svelte-11yead6{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity))}.canceled.svelte-11yead6.svelte-11yead6{--tw-bg-opacity:1;background-color:rgb(254 252 232/var(--tw-bg-opacity))}.canceled.svelte-11yead6 .event-type.svelte-11yead6{--tw-text-opacity:1;color:rgb(161 98 7/var(--tw-text-opacity))}.terminated.svelte-11yead6.svelte-11yead6{--tw-bg-opacity:1;background-color:rgb(253 242 248/var(--tw-bg-opacity))}.terminated.svelte-11yead6 .event-type.svelte-11yead6{--tw-text-opacity:1;color:rgb(190 24 93/var(--tw-text-opacity))}.active.canceled.svelte-11yead6.svelte-11yead6,.failure.svelte-11yead6.svelte-11yead6:hover{--tw-gradient-from:#fee2e2;--tw-gradient-to:hsla(0,93%,94%,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#ffcfcf}.active.canceled.svelte-11yead6.svelte-11yead6,.canceled.svelte-11yead6.svelte-11yead6:hover,.failure.svelte-11yead6.svelte-11yead6:hover{background-attachment:fixed;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.active.canceled.svelte-11yead6.svelte-11yead6,.canceled.svelte-11yead6.svelte-11yead6:hover{--tw-gradient-from:#fef9c3;--tw-gradient-to:hsla(55,97%,88%,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#fef08a}.active.terminated.svelte-11yead6.svelte-11yead6,.terminated.svelte-11yead6.svelte-11yead6:hover{--tw-gradient-from:#fce7f3;--tw-gradient-to:rgba(252,231,243,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#fbcfe8;background-attachment:fixed;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.badge.svelte-n4ehvt{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(244 244 245/var(--tw-bg-opacity));border-radius:.125rem;color:rgb(24 24 27/var(--tw-text-opacity));padding:.25rem}.row.svelte-5vypy2.svelte-5vypy2{--tw-border-opacity:1;align-items:center;border-color:rgb(24 24 27/var(--tw-border-opacity));flex-wrap:wrap;font-size:.875rem;line-height:1.25rem;text-decoration-line:none}@media (min-width:1280px){.row.svelte-5vypy2.svelte-5vypy2{font-size:1rem;line-height:1.5rem;padding-bottom:.75rem;padding-top:.75rem}}.row.svelte-5vypy2.svelte-5vypy2:hover{--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#f3e8ff;background-attachment:fixed;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));cursor:pointer}.expanded.row.svelte-5vypy2.svelte-5vypy2{background-color:rgb(239 246 255/var(--tw-bg-opacity))}.expanded.row.svelte-5vypy2.svelte-5vypy2,.failure.svelte-5vypy2.svelte-5vypy2{--tw-bg-opacity:1}.failure.svelte-5vypy2.svelte-5vypy2{background-color:rgb(254 242 242/var(--tw-bg-opacity))}.failure.svelte-5vypy2 .event-name.svelte-5vypy2{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity))}.canceled.svelte-5vypy2.svelte-5vypy2{--tw-bg-opacity:1;background-color:rgb(254 252 232/var(--tw-bg-opacity))}.canceled.svelte-5vypy2 .event-name.svelte-5vypy2{--tw-text-opacity:1;color:rgb(161 98 7/var(--tw-text-opacity))}.terminated.svelte-5vypy2.svelte-5vypy2{--tw-bg-opacity:1;background-color:rgb(253 242 248/var(--tw-bg-opacity))}.terminated.svelte-5vypy2 .event-name.svelte-5vypy2{--tw-text-opacity:1;color:rgb(190 24 93/var(--tw-text-opacity))}.expanded-cell.svelte-5vypy2.svelte-5vypy2{flex-wrap:wrap;font-size:.875rem;line-height:1.25rem;text-decoration-line:none;width:100%}@media (min-width:1280px){.expanded-cell.svelte-5vypy2.svelte-5vypy2{font-size:1rem;line-height:1.5rem}}.typedError.svelte-5vypy2 .expanded-cell.svelte-5vypy2{border-bottom-width:0}.row.typedError.svelte-5vypy2.svelte-5vypy2{border-radius:.5rem}.row.typedError.expanded.svelte-5vypy2.svelte-5vypy2{border-bottom-left-radius:0;border-bottom-right-radius:0}.active.svelte-5vypy2.svelte-5vypy2{--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#f3e8ff;cursor:pointer}.active.canceled.svelte-5vypy2.svelte-5vypy2,.active.svelte-5vypy2.svelte-5vypy2,.canceled.svelte-5vypy2.svelte-5vypy2:hover{background-attachment:fixed;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.active.canceled.svelte-5vypy2.svelte-5vypy2,.canceled.svelte-5vypy2.svelte-5vypy2:hover{--tw-gradient-from:#fef9c3;--tw-gradient-to:hsla(55,97%,88%,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#fef08a}.active.failure.svelte-5vypy2.svelte-5vypy2,.failure.svelte-5vypy2.svelte-5vypy2:hover{--tw-gradient-from:#fee2e2;--tw-gradient-to:hsla(0,93%,94%,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#ffcfcf}.active.failure.svelte-5vypy2.svelte-5vypy2,.active.terminated.svelte-5vypy2.svelte-5vypy2,.failure.svelte-5vypy2.svelte-5vypy2:hover,.terminated.svelte-5vypy2.svelte-5vypy2:hover{background-attachment:fixed;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.active.terminated.svelte-5vypy2.svelte-5vypy2,.terminated.svelte-5vypy2.svelte-5vypy2:hover{--tw-gradient-from:#fce7f3;--tw-gradient-to:rgba(252,231,243,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#fbcfe8} diff --git a/ui/assets/local/_app/immutable/assets/menu.0bf3fcbe.css b/ui/assets/local/_app/immutable/assets/menu.0bf3fcbe.css deleted file mode 100644 index 3e514eb411..0000000000 --- a/ui/assets/local/_app/immutable/assets/menu.0bf3fcbe.css +++ /dev/null @@ -1 +0,0 @@ -.menu-item.svelte-gco0cg{align-items:center;border-radius:.25rem;cursor:pointer;display:flex;flex-direction:row;font-family:Inter Variable,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:.875rem;font-weight:500;gap:.5rem;line-height:1.25rem;margin:.25rem;padding:.5rem .75rem}.menu-item.svelte-gco0cg:hover{--tw-bg-opacity:1;background-color:rgb(238 242 255/var(--tw-bg-opacity))}.menu-item.svelte-gco0cg:focus{outline:2px solid transparent;outline-offset:2px}.menu-item.svelte-gco0cg:focus-visible{--tw-bg-opacity:1;--tw-shadow:0 0 0 4px;--tw-shadow-colored:0 0 0 4px var(--tw-shadow-color);--tw-shadow-color:rgba(37,99,235,.5);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(238 242 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);outline-color:#4f46e5;outline-style:solid;outline-width:1px}.menu-item-wrapper.svelte-gco0cg{align-items:center;display:flex;flex-grow:1;gap:.5rem;justify-content:space-between}.menu-item-wrapper.centered.svelte-gco0cg{justify-content:center}.menu-item-wrapper.selected.svelte-gco0cg{--tw-text-opacity:1;color:rgb(79 70 229/var(--tw-text-opacity))}.menu-item-description.svelte-gco0cg{--tw-text-opacity:1;color:rgb(113 113 122/var(--tw-text-opacity));font-size:.75rem;font-weight:400;line-height:1rem}.destructive.svelte-gco0cg{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity))}.destructive.svelte-gco0cg:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.menu-item.disabled.svelte-gco0cg{--tw-text-opacity:1;color:rgb(113 113 122/var(--tw-text-opacity));cursor:not-allowed;pointer-events:none}.menu-button.svelte-4tb2vr{align-items:center;border-radius:.5rem;display:flex;flex-direction:row;font-size:.875rem;gap:.5rem;height:2.5rem;line-height:1.25rem;padding:.625rem 1rem;position:relative;width:100%}.menu-button.svelte-4tb2vr:focus{z-index:50}.menu-button.svelte-4tb2vr:disabled{cursor:not-allowed}.menu-button.active.svelte-4tb2vr:after{--tw-translate-x:-100%;--tw-translate-y:-100%;--tw-bg-opacity:1;--tw-content:"";background-color:rgb(147 197 253/var(--tw-bg-opacity));border-radius:9999px;content:var(--tw-content);height:.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));width:.5rem}.primary.svelte-4tb2vr{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity));background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));border-color:rgb(24 24 27/var(--tw-border-opacity));border-width:2px;color:rgb(255 255 255/var(--tw-text-opacity))}.primary.svelte-4tb2vr:hover{--tw-border-opacity:1;--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#f3e8ff;--tw-text-opacity:1;--tw-shadow:0 0 0 4px;--tw-shadow-colored:0 0 0 4px var(--tw-shadow-color);--tw-shadow-color:rgba(37,99,235,.5);--tw-shadow:var(--tw-shadow-colored);border-color:rgb(79 70 229/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(24 24 27/var(--tw-text-opacity))}.primary.svelte-4tb2vr:focus-visible{--tw-border-opacity:1;--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#f3e8ff;--tw-text-opacity:1;--tw-shadow:0 0 0 4px;--tw-shadow-colored:0 0 0 4px var(--tw-shadow-color);--tw-shadow-color:rgba(37,99,235,.5);--tw-shadow:var(--tw-shadow-colored);border-color:rgb(79 70 229/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(24 24 27/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.primary.svelte-4tb2vr:disabled{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));opacity:.75}.primary.svelte-4tb2vr:disabled:hover{--tw-gradient-from:#18181b;--tw-gradient-to:rgba(24,24,27,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#18181b}.ghost.svelte-4tb2vr{--tw-text-opacity:1;border-color:transparent;border-width:1px;color:rgb(24 24 27/var(--tw-text-opacity))}.ghost.svelte-4tb2vr:hover{--tw-border-opacity:1;border-color:rgb(79 70 229/var(--tw-border-opacity))}.ghost.svelte-4tb2vr:focus,.ghost.svelte-4tb2vr:hover{--tw-bg-opacity:1;--tw-shadow:0 0 0 4px;--tw-shadow-colored:0 0 0 4px var(--tw-shadow-color);--tw-shadow-color:rgba(37,99,235,.5);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(228 228 231/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.ghost.svelte-4tb2vr:focus{outline-color:#4f46e5;outline-width:1px}.ghost.svelte-4tb2vr:disabled{background-color:#f4f4f580}.secondary.svelte-4tb2vr{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(24 24 27/var(--tw-border-opacity));border-width:1px;color:rgb(24 24 27/var(--tw-text-opacity))}.secondary.svelte-4tb2vr:disabled{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity))}.round.svelte-4tb2vr{border-radius:9999px;padding:0;width:2.5rem}.ghost.svelte-4tb2vr:focus-visible,.secondary.svelte-4tb2vr:focus-visible{--tw-border-opacity:1;--tw-shadow:0 0 0 4px;--tw-shadow-colored:0 0 0 4px var(--tw-shadow-color);--tw-shadow-color:rgba(37,99,235,.5);--tw-shadow:var(--tw-shadow-colored);border-color:rgb(79 70 229/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}.table-header.svelte-4tb2vr{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity));border-color:transparent;border-width:2px;color:rgb(255 255 255/var(--tw-text-opacity));font-size:.875rem;height:auto;line-height:1.25rem;max-width:-moz-fit-content;max-width:fit-content;padding:0}.table-header.svelte-4tb2vr:focus-visible{--tw-border-opacity:1;--tw-shadow:0 0 0 4px;--tw-shadow-colored:0 0 0 4px var(--tw-shadow-color);--tw-shadow-color:rgba(37,99,235,.5);--tw-shadow:var(--tw-shadow-colored);border-color:rgb(255 255 255/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}.unround.svelte-4tb2vr{border-radius:0}.unroundLeft.svelte-4tb2vr{border-bottom-left-radius:0;border-top-left-radius:0}.unroundRight.svelte-4tb2vr{border-bottom-right-radius:0;border-top-right-radius:0}.menu.svelte-1paw7hc{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(24 24 27/var(--tw-border-opacity));border-radius:.5rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(24 24 27/var(--tw-text-opacity));list-style-type:none;margin-top:.25rem;max-height:480px;min-width:100%;overflow:auto;position:absolute;z-index:50}.menu.left.svelte-1paw7hc{left:0;transform-origin:top left}.menu.right.svelte-1paw7hc{right:0;transform-origin:top right} diff --git a/ui/assets/local/_app/immutable/assets/menu.b7c0dde7.css b/ui/assets/local/_app/immutable/assets/menu.b7c0dde7.css new file mode 100644 index 0000000000..4894889107 --- /dev/null +++ b/ui/assets/local/_app/immutable/assets/menu.b7c0dde7.css @@ -0,0 +1 @@ +.menu-item.svelte-gco0cg{align-items:center;border-radius:.25rem;cursor:pointer;display:flex;flex-direction:row;font-family:Inter Variable,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:.875rem;font-weight:500;gap:.5rem;line-height:1.25rem;margin:.25rem;padding:.5rem .75rem}.menu-item.svelte-gco0cg:hover{--tw-bg-opacity:1;background-color:rgb(238 242 255/var(--tw-bg-opacity))}.menu-item.svelte-gco0cg:focus{outline:2px solid transparent;outline-offset:2px}.menu-item.svelte-gco0cg:focus-visible{--tw-bg-opacity:1;--tw-shadow:0 0 0 4px;--tw-shadow-colored:0 0 0 4px var(--tw-shadow-color);--tw-shadow-color:rgba(37,99,235,.5);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(238 242 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);outline-color:#4f46e5;outline-style:solid;outline-width:1px}.menu-item-wrapper.svelte-gco0cg{align-items:center;display:flex;flex-grow:1;gap:.5rem;justify-content:space-between}.menu-item-wrapper.centered.svelte-gco0cg{justify-content:center}.menu-item-wrapper.selected.svelte-gco0cg{--tw-text-opacity:1;color:rgb(79 70 229/var(--tw-text-opacity))}.menu-item-description.svelte-gco0cg{--tw-text-opacity:1;color:rgb(113 113 122/var(--tw-text-opacity));font-size:.75rem;font-weight:400;line-height:1rem}.destructive.svelte-gco0cg{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity))}.destructive.svelte-gco0cg:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.menu-item.disabled.svelte-gco0cg{--tw-text-opacity:1;color:rgb(113 113 122/var(--tw-text-opacity));cursor:not-allowed;pointer-events:none}.menu-button.svelte-etc7wv{align-items:center;border-radius:.5rem;display:flex;flex-direction:row;font-size:.875rem;gap:.5rem;height:2.5rem;line-height:1.25rem;padding:.625rem 1rem;position:relative;width:100%}.menu-button.svelte-etc7wv:disabled{cursor:not-allowed}.menu-button.active.svelte-etc7wv:after{--tw-translate-x:-100%;--tw-translate-y:-100%;--tw-bg-opacity:1;--tw-content:"";background-color:rgb(147 197 253/var(--tw-bg-opacity));border-radius:9999px;content:var(--tw-content);height:.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));width:.5rem}.primary.svelte-etc7wv{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity));background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));border-color:rgb(24 24 27/var(--tw-border-opacity));border-width:2px;color:rgb(255 255 255/var(--tw-text-opacity))}.primary.svelte-etc7wv:hover{--tw-border-opacity:1;--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#f3e8ff;--tw-text-opacity:1;--tw-shadow:0 0 0 4px;--tw-shadow-colored:0 0 0 4px var(--tw-shadow-color);--tw-shadow-color:rgba(37,99,235,.5);--tw-shadow:var(--tw-shadow-colored);border-color:rgb(79 70 229/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(24 24 27/var(--tw-text-opacity))}.primary.svelte-etc7wv:focus-visible{--tw-border-opacity:1;--tw-gradient-from:#dbeafe;--tw-gradient-to:rgba(219,234,254,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#f3e8ff;--tw-text-opacity:1;--tw-shadow:0 0 0 4px;--tw-shadow-colored:0 0 0 4px var(--tw-shadow-color);--tw-shadow-color:rgba(37,99,235,.5);--tw-shadow:var(--tw-shadow-colored);border-color:rgb(79 70 229/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(24 24 27/var(--tw-text-opacity));outline:2px solid transparent;outline-offset:2px}.primary.svelte-etc7wv:disabled{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));opacity:.75}.primary.svelte-etc7wv:disabled:hover{--tw-gradient-from:#18181b;--tw-gradient-to:rgba(24,24,27,0);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);--tw-gradient-to:#18181b}.ghost.svelte-etc7wv{--tw-text-opacity:1;border-color:transparent;border-width:1px;color:rgb(24 24 27/var(--tw-text-opacity))}.ghost.svelte-etc7wv:hover{--tw-border-opacity:1;border-color:rgb(79 70 229/var(--tw-border-opacity))}.ghost.svelte-etc7wv:focus,.ghost.svelte-etc7wv:hover{--tw-bg-opacity:1;--tw-shadow:0 0 0 4px;--tw-shadow-colored:0 0 0 4px var(--tw-shadow-color);--tw-shadow-color:rgba(37,99,235,.5);--tw-shadow:var(--tw-shadow-colored);background-color:rgb(228 228 231/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.ghost.svelte-etc7wv:focus{outline-color:#4f46e5;outline-width:1px}.ghost.svelte-etc7wv:disabled{background-color:#f4f4f580}.secondary.svelte-etc7wv{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(24 24 27/var(--tw-border-opacity));border-width:1px;color:rgb(24 24 27/var(--tw-text-opacity))}.secondary.svelte-etc7wv:disabled{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity))}.round.svelte-etc7wv{border-radius:9999px;padding:0;width:2.5rem}.ghost.svelte-etc7wv:focus-visible,.secondary.svelte-etc7wv:focus-visible{--tw-border-opacity:1;--tw-shadow:0 0 0 4px;--tw-shadow-colored:0 0 0 4px var(--tw-shadow-color);--tw-shadow-color:rgba(37,99,235,.5);--tw-shadow:var(--tw-shadow-colored);border-color:rgb(79 70 229/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}.table-header.svelte-etc7wv{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(24 24 27/var(--tw-bg-opacity));border-color:transparent;border-width:2px;color:rgb(255 255 255/var(--tw-text-opacity));font-size:.875rem;height:auto;line-height:1.25rem;max-width:-moz-fit-content;max-width:fit-content;padding:0}.table-header.svelte-etc7wv:focus-visible{--tw-border-opacity:1;--tw-shadow:0 0 0 4px;--tw-shadow-colored:0 0 0 4px var(--tw-shadow-color);--tw-shadow-color:rgba(37,99,235,.5);--tw-shadow:var(--tw-shadow-colored);border-color:rgb(255 255 255/var(--tw-border-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}.unround.svelte-etc7wv{border-radius:0}.unroundLeft.svelte-etc7wv{border-bottom-left-radius:0;border-top-left-radius:0}.unroundRight.svelte-etc7wv{border-bottom-right-radius:0;border-top-right-radius:0}.menu.svelte-166izex{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(24 24 27/var(--tw-border-opacity));border-radius:.5rem;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(24 24 27/var(--tw-text-opacity));list-style-type:none;margin-top:.25rem;max-height:480px;min-width:100%;overflow:auto;position:absolute;z-index:20}.menu.left.svelte-166izex{left:0;transform-origin:top left}.menu.right.svelte-166izex{right:0;transform-origin:top right} diff --git a/ui/assets/local/_app/immutable/chunks/1.52cc10cd.js b/ui/assets/local/_app/immutable/chunks/1.52cc10cd.js deleted file mode 100644 index 1cf7695ff7..0000000000 --- a/ui/assets/local/_app/immutable/chunks/1.52cc10cd.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/_error.svelte.fd05a858.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/1.87434678.js b/ui/assets/local/_app/immutable/chunks/1.87434678.js new file mode 100644 index 0000000000..1330330c60 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/1.87434678.js @@ -0,0 +1 @@ +import{default as t}from"../entry/_error.svelte.f19f2b3d.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/10.adc0d7aa.js b/ui/assets/local/_app/immutable/chunks/10.adc0d7aa.js deleted file mode 100644 index f9e586e4ca..0000000000 --- a/ui/assets/local/_app/immutable/chunks/10.adc0d7aa.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as r}from"./_page.98cb61bc.js";import{default as t}from"../entry/(app)-page.svelte.0c6130fb.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/10.e2f39a14.js b/ui/assets/local/_app/immutable/chunks/10.e2f39a14.js new file mode 100644 index 0000000000..730b9fd268 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/10.e2f39a14.js @@ -0,0 +1 @@ +import{_ as r}from"./_page.04d6547f.js";import{default as t}from"../entry/(app)-page.svelte.01805950.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/11.275ad04b.js b/ui/assets/local/_app/immutable/chunks/11.275ad04b.js deleted file mode 100644 index 80ee8dbfc0..0000000000 --- a/ui/assets/local/_app/immutable/chunks/11.275ad04b.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./_page.cbe3b57f.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/11.9bc2e49c.js b/ui/assets/local/_app/immutable/chunks/11.9bc2e49c.js new file mode 100644 index 0000000000..dc42d2f56e --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/11.9bc2e49c.js @@ -0,0 +1 @@ +import{_ as e}from"./_page.d908487b.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/12.6b44d648.js b/ui/assets/local/_app/immutable/chunks/12.be94a1e9.js similarity index 62% rename from ui/assets/local/_app/immutable/chunks/12.6b44d648.js rename to ui/assets/local/_app/immutable/chunks/12.be94a1e9.js index 560f70d354..19a504f08f 100644 --- a/ui/assets/local/_app/immutable/chunks/12.6b44d648.js +++ b/ui/assets/local/_app/immutable/chunks/12.be94a1e9.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-import-events-page.svelte.0f107002.js";export{t as component}; +import{default as t}from"../entry/(app)-import-events-page.svelte.7623444e.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/13.16ad8486.js b/ui/assets/local/_app/immutable/chunks/13.16ad8486.js new file mode 100644 index 0000000000..f8f0c93610 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/13.16ad8486.js @@ -0,0 +1 @@ +import{_ as e}from"./_page.a2e291f1.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/13.1f28b48b.js b/ui/assets/local/_app/immutable/chunks/13.1f28b48b.js deleted file mode 100644 index fe0205d6ad..0000000000 --- a/ui/assets/local/_app/immutable/chunks/13.1f28b48b.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./_page.000985df.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/14.b0ae0b6e.js b/ui/assets/local/_app/immutable/chunks/14.9447236b.js similarity index 56% rename from ui/assets/local/_app/immutable/chunks/14.b0ae0b6e.js rename to ui/assets/local/_app/immutable/chunks/14.9447236b.js index 74b458149b..401f64a422 100644 --- a/ui/assets/local/_app/immutable/chunks/14.b0ae0b6e.js +++ b/ui/assets/local/_app/immutable/chunks/14.9447236b.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.c734c1a7.js";export{t as component}; +import{default as t}from"../entry/(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.ba93c4dd.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/15.e4b981ff.js b/ui/assets/local/_app/immutable/chunks/15.5b81d84a.js similarity index 55% rename from ui/assets/local/_app/immutable/chunks/15.e4b981ff.js rename to ui/assets/local/_app/immutable/chunks/15.5b81d84a.js index 071d5bda05..00749ec421 100644 --- a/ui/assets/local/_app/immutable/chunks/15.e4b981ff.js +++ b/ui/assets/local/_app/immutable/chunks/15.5b81d84a.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.386959fd.js";export{t as component}; +import{default as t}from"../entry/(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.4960b25c.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/16.94c99308.js b/ui/assets/local/_app/immutable/chunks/16.254af1f2.js similarity index 55% rename from ui/assets/local/_app/immutable/chunks/16.94c99308.js rename to ui/assets/local/_app/immutable/chunks/16.254af1f2.js index e8069772bd..ba4c27f3fa 100644 --- a/ui/assets/local/_app/immutable/chunks/16.94c99308.js +++ b/ui/assets/local/_app/immutable/chunks/16.254af1f2.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-import-events-_namespace_-_workflow_-_run_-history-json-page.svelte.9f4e903f.js";export{t as component}; +import{default as t}from"../entry/(app)-import-events-_namespace_-_workflow_-_run_-history-json-page.svelte.15e5dbe2.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/17.76f55a91.js b/ui/assets/local/_app/immutable/chunks/17.76f55a91.js deleted file mode 100644 index ae94ad95dc..0000000000 --- a/ui/assets/local/_app/immutable/chunks/17.76f55a91.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(app)-namespaces-page.svelte.ae96de4b.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/17.88c703c3.js b/ui/assets/local/_app/immutable/chunks/17.88c703c3.js new file mode 100644 index 0000000000..e2c2534712 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/17.88c703c3.js @@ -0,0 +1 @@ +import{default as t}from"../entry/(app)-namespaces-page.svelte.eb0a6627.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/18.7cd728b6.js b/ui/assets/local/_app/immutable/chunks/18.7cd728b6.js deleted file mode 100644 index d54bb65a81..0000000000 --- a/ui/assets/local/_app/immutable/chunks/18.7cd728b6.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as r}from"./_page.8d04c3f0.js";import{default as t}from"../entry/(app)-namespaces-_namespace_-page.svelte.30371574.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/18.a7dec31d.js b/ui/assets/local/_app/immutable/chunks/18.a7dec31d.js new file mode 100644 index 0000000000..38a30207e1 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/18.a7dec31d.js @@ -0,0 +1 @@ +import{_ as r}from"./_page.f15985bd.js";import{default as t}from"../entry/(app)-namespaces-_namespace_-page.svelte.7b6ebdeb.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/19.59b1ae9a.js b/ui/assets/local/_app/immutable/chunks/19.59b1ae9a.js deleted file mode 100644 index c361e5fd4a..0000000000 --- a/ui/assets/local/_app/immutable/chunks/19.59b1ae9a.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as r}from"./_page.f6735002.js";import{default as t}from"../entry/(app)-namespaces-_namespace_-archival-page.svelte.e4b2f32a.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/19.d706566e.js b/ui/assets/local/_app/immutable/chunks/19.d706566e.js new file mode 100644 index 0000000000..b665104a96 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/19.d706566e.js @@ -0,0 +1 @@ +import{_ as r}from"./_page.229b03a2.js";import{default as t}from"../entry/(app)-namespaces-_namespace_-archival-page.svelte.53f62b49.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/2.a03e8a7a.js b/ui/assets/local/_app/immutable/chunks/2.a03e8a7a.js deleted file mode 100644 index e5385c41b3..0000000000 --- a/ui/assets/local/_app/immutable/chunks/2.a03e8a7a.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as r}from"./_layout.5c7b43d0.js";import{default as t}from"../entry/(app)-layout.svelte.a804a943.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/2.aad9e569.js b/ui/assets/local/_app/immutable/chunks/2.aad9e569.js new file mode 100644 index 0000000000..a5cb940f0c --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/2.aad9e569.js @@ -0,0 +1 @@ +import{_ as r}from"./_layout.97f21994.js";import{default as t}from"../entry/(app)-layout.svelte.ef836b2b.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/20.e6646284.js b/ui/assets/local/_app/immutable/chunks/20.7437b919.js similarity index 50% rename from ui/assets/local/_app/immutable/chunks/20.e6646284.js rename to ui/assets/local/_app/immutable/chunks/20.7437b919.js index 61532a3c40..463b8c4459 100644 --- a/ui/assets/local/_app/immutable/chunks/20.e6646284.js +++ b/ui/assets/local/_app/immutable/chunks/20.7437b919.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-batch-operations-page.svelte.a2bcfbcd.js";export{t as component}; +import{default as t}from"../entry/(app)-namespaces-_namespace_-batch-operations-page.svelte.a9c8ef59.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/21.6d09b3a8.js b/ui/assets/local/_app/immutable/chunks/21.f79d193a.js similarity index 53% rename from ui/assets/local/_app/immutable/chunks/21.6d09b3a8.js rename to ui/assets/local/_app/immutable/chunks/21.f79d193a.js index 7df56f2c87..7e31e59352 100644 --- a/ui/assets/local/_app/immutable/chunks/21.6d09b3a8.js +++ b/ui/assets/local/_app/immutable/chunks/21.f79d193a.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-batch-operations-_jobId_-page.svelte.4766eddc.js";export{t as component}; +import{default as t}from"../entry/(app)-namespaces-_namespace_-batch-operations-_jobId_-page.svelte.e6af209f.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/22.fc83beb3.js b/ui/assets/local/_app/immutable/chunks/22.36388f35.js similarity index 52% rename from ui/assets/local/_app/immutable/chunks/22.fc83beb3.js rename to ui/assets/local/_app/immutable/chunks/22.36388f35.js index affffca0f1..06a93d8176 100644 --- a/ui/assets/local/_app/immutable/chunks/22.fc83beb3.js +++ b/ui/assets/local/_app/immutable/chunks/22.36388f35.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-schedules-page.svelte.68d32849.js";export{t as component}; +import{default as t}from"../entry/(app)-namespaces-_namespace_-schedules-page.svelte.ed0c304a.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/23.92ce6783.js b/ui/assets/local/_app/immutable/chunks/23.94134f77.js similarity index 51% rename from ui/assets/local/_app/immutable/chunks/23.92ce6783.js rename to ui/assets/local/_app/immutable/chunks/23.94134f77.js index c23a683737..362b90b8ce 100644 --- a/ui/assets/local/_app/immutable/chunks/23.92ce6783.js +++ b/ui/assets/local/_app/immutable/chunks/23.94134f77.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.18dd84a0.js";export{t as component}; +import{default as t}from"../entry/(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.d01fb7cc.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/24.1072f0c1.js b/ui/assets/local/_app/immutable/chunks/24.4ceddc95.js similarity index 53% rename from ui/assets/local/_app/immutable/chunks/24.1072f0c1.js rename to ui/assets/local/_app/immutable/chunks/24.4ceddc95.js index 31311c4e97..effb43696d 100644 --- a/ui/assets/local/_app/immutable/chunks/24.1072f0c1.js +++ b/ui/assets/local/_app/immutable/chunks/24.4ceddc95.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.170b7e6d.js";export{t as component}; +import{default as t}from"../entry/(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.6d0e271d.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/25.86186090.js b/ui/assets/local/_app/immutable/chunks/25.fac49063.js similarity index 50% rename from ui/assets/local/_app/immutable/chunks/25.86186090.js rename to ui/assets/local/_app/immutable/chunks/25.fac49063.js index 6a5df86a0a..af89f95043 100644 --- a/ui/assets/local/_app/immutable/chunks/25.86186090.js +++ b/ui/assets/local/_app/immutable/chunks/25.fac49063.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-schedules-create-page.svelte.fe17a501.js";export{t as component}; +import{default as t}from"../entry/(app)-namespaces-_namespace_-schedules-create-page.svelte.d27cb023.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/27.587f623e.js b/ui/assets/local/_app/immutable/chunks/27.34a8be1c.js similarity index 51% rename from ui/assets/local/_app/immutable/chunks/27.587f623e.js rename to ui/assets/local/_app/immutable/chunks/27.34a8be1c.js index 9f62073da7..b02ec0f9cd 100644 --- a/ui/assets/local/_app/immutable/chunks/27.587f623e.js +++ b/ui/assets/local/_app/immutable/chunks/27.34a8be1c.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.75adea3b.js";export{t as component}; +import{default as t}from"../entry/(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.de348286.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/28.1c7e2fcf.js b/ui/assets/local/_app/immutable/chunks/28.1c7e2fcf.js deleted file mode 100644 index 9c8d483847..0000000000 --- a/ui/assets/local/_app/immutable/chunks/28.1c7e2fcf.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as r}from"./_page.b14944b6.js";import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-page.svelte.c7e322ec.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/28.7cd5543e.js b/ui/assets/local/_app/immutable/chunks/28.7cd5543e.js new file mode 100644 index 0000000000..3a4782dc3d --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/28.7cd5543e.js @@ -0,0 +1 @@ +import{_ as r}from"./_page.b14944b6.js";import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-page.svelte.44bb46c6.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/29.0cd65b1e.js b/ui/assets/local/_app/immutable/chunks/29.0cd65b1e.js deleted file mode 100644 index 7c0db86399..0000000000 --- a/ui/assets/local/_app/immutable/chunks/29.0cd65b1e.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./_page.3ea24305.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/29.b5304814.js b/ui/assets/local/_app/immutable/chunks/29.b5304814.js new file mode 100644 index 0000000000..c914d1e8dc --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/29.b5304814.js @@ -0,0 +1 @@ +import{_ as e}from"./_page.fd51d2ec.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/3.3393df3d.js b/ui/assets/local/_app/immutable/chunks/3.3393df3d.js deleted file mode 100644 index 6e43dfe5d8..0000000000 --- a/ui/assets/local/_app/immutable/chunks/3.3393df3d.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(app)-import-layout.svelte.1551be2e.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/3.b5db6dc0.js b/ui/assets/local/_app/immutable/chunks/3.b5db6dc0.js new file mode 100644 index 0000000000..6e2addc857 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/3.b5db6dc0.js @@ -0,0 +1 @@ +import{default as t}from"../entry/(app)-import-layout.svelte.a8105da0.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/31.5c0ae971.js b/ui/assets/local/_app/immutable/chunks/31.8b00ccfc.js similarity index 68% rename from ui/assets/local/_app/immutable/chunks/31.5c0ae971.js rename to ui/assets/local/_app/immutable/chunks/31.8b00ccfc.js index bf60a48b42..64701c68ef 100644 --- a/ui/assets/local/_app/immutable/chunks/31.5c0ae971.js +++ b/ui/assets/local/_app/immutable/chunks/31.8b00ccfc.js @@ -1 +1 @@ -import{_ as r}from"./_page.ed77219c.js";import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.bf1b8d47.js";export{t as component,r as universal}; +import{_ as r}from"./_page.ed77219c.js";import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.252ac404.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/32.89b8bfa3.js b/ui/assets/local/_app/immutable/chunks/32.89b8bfa3.js new file mode 100644 index 0000000000..769d6e1546 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/32.89b8bfa3.js @@ -0,0 +1 @@ +import{_ as e}from"./_page.0171ff9b.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/32.e94a11ed.js b/ui/assets/local/_app/immutable/chunks/32.e94a11ed.js deleted file mode 100644 index a41b63a42f..0000000000 --- a/ui/assets/local/_app/immutable/chunks/32.e94a11ed.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./_page.011b8ecc.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/33.30e97d03.js b/ui/assets/local/_app/immutable/chunks/33.30e97d03.js deleted file mode 100644 index 59a469e1f8..0000000000 --- a/ui/assets/local/_app/immutable/chunks/33.30e97d03.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-events-_id_-page.svelte.842640e1.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/33.4af3b5fe.js b/ui/assets/local/_app/immutable/chunks/33.4af3b5fe.js new file mode 100644 index 0000000000..387ac6694b --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/33.4af3b5fe.js @@ -0,0 +1 @@ +import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-events-_id_-page.svelte.8246f4eb.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/34.89b8bfa3.js b/ui/assets/local/_app/immutable/chunks/34.89b8bfa3.js new file mode 100644 index 0000000000..17a02d9585 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/34.89b8bfa3.js @@ -0,0 +1 @@ +import{_ as e}from"./_page.9bc91c93.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/34.e94a11ed.js b/ui/assets/local/_app/immutable/chunks/34.e94a11ed.js deleted file mode 100644 index cb4d294210..0000000000 --- a/ui/assets/local/_app/immutable/chunks/34.e94a11ed.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./_page.8b656119.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/35.89b8bfa3.js b/ui/assets/local/_app/immutable/chunks/35.89b8bfa3.js new file mode 100644 index 0000000000..e107b969f5 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/35.89b8bfa3.js @@ -0,0 +1 @@ +import{_ as e}from"./_page.b4978905.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/35.e94a11ed.js b/ui/assets/local/_app/immutable/chunks/35.e94a11ed.js deleted file mode 100644 index fab282cf95..0000000000 --- a/ui/assets/local/_app/immutable/chunks/35.e94a11ed.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e}from"./_page.c1dd67a1.js";export{e as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/36.46cf0a36.js b/ui/assets/local/_app/immutable/chunks/36.46cf0a36.js new file mode 100644 index 0000000000..5ac4681d1d --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/36.46cf0a36.js @@ -0,0 +1 @@ +import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.00f941cc.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/36.b7a3df19.js b/ui/assets/local/_app/immutable/chunks/36.b7a3df19.js deleted file mode 100644 index bdf9177da6..0000000000 --- a/ui/assets/local/_app/immutable/chunks/36.b7a3df19.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.8cfe4ed9.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/37.8059eb75.js b/ui/assets/local/_app/immutable/chunks/37.6f27a3a2.js similarity index 55% rename from ui/assets/local/_app/immutable/chunks/37.8059eb75.js rename to ui/assets/local/_app/immutable/chunks/37.6f27a3a2.js index 046e453ce7..f5d0799f1f 100644 --- a/ui/assets/local/_app/immutable/chunks/37.8059eb75.js +++ b/ui/assets/local/_app/immutable/chunks/37.6f27a3a2.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.5e4b6829.js";export{t as component}; +import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.2ea40df1.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/38.8948275f.js b/ui/assets/local/_app/immutable/chunks/38.64109277.js similarity index 57% rename from ui/assets/local/_app/immutable/chunks/38.8948275f.js rename to ui/assets/local/_app/immutable/chunks/38.64109277.js index 3e14f1371e..4391a07052 100644 --- a/ui/assets/local/_app/immutable/chunks/38.8948275f.js +++ b/ui/assets/local/_app/immutable/chunks/38.64109277.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.ecfaedc9.js";export{t as component}; +import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.8223983b.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/39.d2fbdd91.js b/ui/assets/local/_app/immutable/chunks/39.38eaa73b.js similarity index 56% rename from ui/assets/local/_app/immutable/chunks/39.d2fbdd91.js rename to ui/assets/local/_app/immutable/chunks/39.38eaa73b.js index 085734774d..ea3ac80ad3 100644 --- a/ui/assets/local/_app/immutable/chunks/39.d2fbdd91.js +++ b/ui/assets/local/_app/immutable/chunks/39.38eaa73b.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.82047835.js";export{t as component}; +import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.9246e0a1.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/4.5efc79f1.js b/ui/assets/local/_app/immutable/chunks/4.a04174cf.js similarity index 54% rename from ui/assets/local/_app/immutable/chunks/4.5efc79f1.js rename to ui/assets/local/_app/immutable/chunks/4.a04174cf.js index c9d8120b50..dbe11adf91 100644 --- a/ui/assets/local/_app/immutable/chunks/4.5efc79f1.js +++ b/ui/assets/local/_app/immutable/chunks/4.a04174cf.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.5cfe4b92.js";export{t as component}; +import{default as t}from"../entry/(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.28d38e72.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/40.27e5751e.js b/ui/assets/local/_app/immutable/chunks/40.e8de9473.js similarity index 60% rename from ui/assets/local/_app/immutable/chunks/40.27e5751e.js rename to ui/assets/local/_app/immutable/chunks/40.e8de9473.js index 4f81db758b..880fc204fb 100644 --- a/ui/assets/local/_app/immutable/chunks/40.27e5751e.js +++ b/ui/assets/local/_app/immutable/chunks/40.e8de9473.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-select-namespace-page.svelte.63f6c5dd.js";export{t as component}; +import{default as t}from"../entry/(app)-select-namespace-page.svelte.80a34f3c.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/41.5f9c82ba.js b/ui/assets/local/_app/immutable/chunks/41.5f9c82ba.js deleted file mode 100644 index 747c0f43f8..0000000000 --- a/ui/assets/local/_app/immutable/chunks/41.5f9c82ba.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(login)-login-page.svelte.5a3b5e94.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/41.69ee4def.js b/ui/assets/local/_app/immutable/chunks/41.69ee4def.js new file mode 100644 index 0000000000..c3b9f7a0aa --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/41.69ee4def.js @@ -0,0 +1 @@ +import{default as t}from"../entry/(login)-login-page.svelte.daba58a1.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/42.0eb9f351.js b/ui/assets/local/_app/immutable/chunks/42.0eb9f351.js new file mode 100644 index 0000000000..c512cbacb1 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/42.0eb9f351.js @@ -0,0 +1 @@ +import{default as t}from"../entry/(login)-signin-page.svelte.daba58a1.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/42.e82dbe83.js b/ui/assets/local/_app/immutable/chunks/42.e82dbe83.js deleted file mode 100644 index cae300b575..0000000000 --- a/ui/assets/local/_app/immutable/chunks/42.e82dbe83.js +++ /dev/null @@ -1 +0,0 @@ -import{default as t}from"../entry/(login)-signin-page.svelte.5a3b5e94.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/5.2ba1889e.js b/ui/assets/local/_app/immutable/chunks/5.b658bf6e.js similarity index 54% rename from ui/assets/local/_app/immutable/chunks/5.2ba1889e.js rename to ui/assets/local/_app/immutable/chunks/5.b658bf6e.js index 4622477eb7..cd0dacafee 100644 --- a/ui/assets/local/_app/immutable/chunks/5.2ba1889e.js +++ b/ui/assets/local/_app/immutable/chunks/5.b658bf6e.js @@ -1 +1 @@ -import{_ as r}from"./_layout.cebacaa4.js";import{default as t}from"../entry/layout.svelte.cb4cf182.js";export{t as component,r as universal}; +import{_ as r}from"./_layout.91beef47.js";import{default as t}from"../entry/layout.svelte.cb4cf182.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/8.6638d6c2.js b/ui/assets/local/_app/immutable/chunks/8.0d93c2d4.js similarity index 54% rename from ui/assets/local/_app/immutable/chunks/8.6638d6c2.js rename to ui/assets/local/_app/immutable/chunks/8.0d93c2d4.js index d790e4abef..ad447aa322 100644 --- a/ui/assets/local/_app/immutable/chunks/8.6638d6c2.js +++ b/ui/assets/local/_app/immutable/chunks/8.0d93c2d4.js @@ -1 +1 @@ -import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.16345e4f.js";export{t as component}; +import{default as t}from"../entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.f677ae93.js";export{t as component}; diff --git a/ui/assets/local/_app/immutable/chunks/9.cc6c1ec6.js b/ui/assets/local/_app/immutable/chunks/9.ca1e2aba.js similarity index 57% rename from ui/assets/local/_app/immutable/chunks/9.cc6c1ec6.js rename to ui/assets/local/_app/immutable/chunks/9.ca1e2aba.js index c9838ab1e5..1c1009a770 100644 --- a/ui/assets/local/_app/immutable/chunks/9.cc6c1ec6.js +++ b/ui/assets/local/_app/immutable/chunks/9.ca1e2aba.js @@ -1 +1 @@ -import{_ as r}from"./_layout.6c02717b.js";import{default as t}from"../entry/(login)-layout.svelte.cb4cf182.js";export{t as component,r as universal}; +import{_ as r}from"./_layout.c9855fd0.js";import{default as t}from"../entry/(login)-layout.svelte.cb4cf182.js";export{t as component,r as universal}; diff --git a/ui/assets/local/_app/immutable/chunks/_layout.cebacaa4.js b/ui/assets/local/_app/immutable/chunks/_layout.91beef47.js similarity index 78% rename from ui/assets/local/_app/immutable/chunks/_layout.cebacaa4.js rename to ui/assets/local/_app/immutable/chunks/_layout.91beef47.js index d6699b78f9..c802f053e2 100644 --- a/ui/assets/local/_app/immutable/chunks/_layout.cebacaa4.js +++ b/ui/assets/local/_app/immutable/chunks/_layout.91beef47.js @@ -1 +1 @@ -import{r as o,a}from"./route-for-api.6f64f216.js";import{a as c}from"./search-attributes.03d6dc08.js";const u=async(e,r=fetch)=>{try{const t=o("search-attributes",{namespace:e}),s=await a(t,{request:r});return{customAttributes:s.customAttributes,systemAttributes:s.systemAttributes}}catch(t){return console.error("Error fetching search attributes for namespace",e,t),{customAttributes:{},systemAttributes:{}}}},i=async({params:e,fetch:r})=>{const t=await u(e.namespace,r);c.set(t)},m=Object.freeze(Object.defineProperty({__proto__:null,load:i},Symbol.toStringTag,{value:"Module"}));export{m as _,i as l}; +import{r as o,a}from"./route-for-api.a8b11085.js";import{a as c}from"./search-attributes.5b3e5149.js";const u=async(e,r=fetch)=>{try{const t=o("search-attributes",{namespace:e}),s=await a(t,{request:r});return{customAttributes:s.customAttributes,systemAttributes:s.systemAttributes}}catch(t){return console.error("Error fetching search attributes for namespace",e,t),{customAttributes:{},systemAttributes:{}}}},i=async({params:e,fetch:r})=>{const t=await u(e.namespace,r);c.set(t)},m=Object.freeze(Object.defineProperty({__proto__:null,load:i},Symbol.toStringTag,{value:"Module"}));export{m as _,i as l}; diff --git a/ui/assets/local/_app/immutable/chunks/_layout.5c7b43d0.js b/ui/assets/local/_app/immutable/chunks/_layout.97f21994.js similarity index 85% rename from ui/assets/local/_app/immutable/chunks/_layout.5c7b43d0.js rename to ui/assets/local/_app/immutable/chunks/_layout.97f21994.js index 19bcdba056..40d300529a 100644 --- a/ui/assets/local/_app/immutable/chunks/_layout.5c7b43d0.js +++ b/ui/assets/local/_app/immutable/chunks/_layout.97f21994.js @@ -1 +1 @@ -import{r as f}from"./index.b1f5b21f.js";import{r as a,a as m}from"./route-for-api.6f64f216.js";import{f as p}from"./namespaces-service.5f534be1.js";import{f as d}from"./settings-service.1e982d61.js";import{s as h,g as k}from"./auth-user.f0bc59ab.js";import{B as l}from"./prod-browser.becde89a.js";import{a as g}from"./atob.568d13ab.js";import{p as y}from"./parse-with-big-int.b38462f3.js";import{f as w}from"./route-for.3b55a4c6.js";/* empty css */const A=async(n,t=fetch)=>{if(n.runtimeEnvironment.isCloud)return;const o=a("cluster");return await m(o,{request:t}).then(r=>r)},T=async(n,t=fetch)=>{if(n.runtimeEnvironment.isCloud)return;const o=a("systemInfo");return await m(o,{request:t}).then(r=>r)},c="user",_=(n=l)=>{if(!n)return{};const t=document.cookie.split(";");let o=0,r=t.find(s=>s.includes(c+o)),i="";for(;r;){const[s,e]=r.split("=");i+=e,o++,r=t.find(u=>u.includes(c+o))}if(i)try{const s=g(i),e=y(s);return{accessToken:e==null?void 0:e.AccessToken,idToken:e==null?void 0:e.IDToken,name:e==null?void 0:e.Name,picture:e==null?void 0:e.Picture,email:e==null?void 0:e.Email}}catch(s){console.error(s)}return{}},I=(n=l)=>{if(!n)return;const t=document.cookie.split(";");let o=0,r=t.find(i=>i.includes(c+o));for(;r;){const[i]=r.split("=");document.cookie=`${i}=; max-age=-1; path=/`,o++,r=t.find(s=>s.includes(c+o))}},S=(n,t)=>!n.auth.enabled||Boolean(t==null?void 0:t.accessToken),b=async function({fetch:n}){const t=await d(n),o=_();o!=null&&o.accessToken&&(h(o),I());const r=k();if(!S(t,r))throw f(302,w());p(t,n);const i=await A(t,n),s=await T(t,n);return{user:r,settings:t,cluster:i,systemInfo:s}},j=Object.freeze(Object.defineProperty({__proto__:null,load:b},Symbol.toStringTag,{value:"Module"}));export{j as _,b as l}; +import{r as f}from"./index.b1f5b21f.js";import{r as a,a as m}from"./route-for-api.a8b11085.js";import{f as p}from"./namespaces-service.5add732a.js";import{f as d}from"./settings-service.8df029a6.js";import{s as h,g as k}from"./auth-user.051e0dee.js";import{B as l}from"./prod-browser.becde89a.js";import{a as g}from"./atob.568d13ab.js";import{p as y}from"./parse-with-big-int.b38462f3.js";import{f as w}from"./route-for.d76d8056.js";/* empty css */const A=async(n,t=fetch)=>{if(n.runtimeEnvironment.isCloud)return;const o=a("cluster");return await m(o,{request:t}).then(r=>r)},T=async(n,t=fetch)=>{if(n.runtimeEnvironment.isCloud)return;const o=a("systemInfo");return await m(o,{request:t}).then(r=>r)},c="user",_=(n=l)=>{if(!n)return{};const t=document.cookie.split(";");let o=0,r=t.find(s=>s.includes(c+o)),i="";for(;r;){const[s,e]=r.split("=");i+=e,o++,r=t.find(u=>u.includes(c+o))}if(i)try{const s=g(i),e=y(s);return{accessToken:e==null?void 0:e.AccessToken,idToken:e==null?void 0:e.IDToken,name:e==null?void 0:e.Name,picture:e==null?void 0:e.Picture,email:e==null?void 0:e.Email}}catch(s){console.error(s)}return{}},I=(n=l)=>{if(!n)return;const t=document.cookie.split(";");let o=0,r=t.find(i=>i.includes(c+o));for(;r;){const[i]=r.split("=");document.cookie=`${i}=; max-age=-1; path=/`,o++,r=t.find(s=>s.includes(c+o))}},S=(n,t)=>!n.auth.enabled||Boolean(t==null?void 0:t.accessToken),b=async function({fetch:n}){const t=await d(n),o=_();o!=null&&o.accessToken&&(h(o),I());const r=k();if(!S(t,r))throw f(302,w());p(t,n);const i=await A(t,n),s=await T(t,n);return{user:r,settings:t,cluster:i,systemInfo:s}},j=Object.freeze(Object.defineProperty({__proto__:null,load:b},Symbol.toStringTag,{value:"Module"}));export{j as _,b as l}; diff --git a/ui/assets/local/_app/immutable/chunks/_layout.6c02717b.js b/ui/assets/local/_app/immutable/chunks/_layout.c9855fd0.js similarity index 81% rename from ui/assets/local/_app/immutable/chunks/_layout.6c02717b.js rename to ui/assets/local/_app/immutable/chunks/_layout.c9855fd0.js index b253da32e9..0206890b66 100644 --- a/ui/assets/local/_app/immutable/chunks/_layout.6c02717b.js +++ b/ui/assets/local/_app/immutable/chunks/_layout.c9855fd0.js @@ -1 +1 @@ -/* empty css */import{e}from"./index.b1f5b21f.js";import{f as r}from"./settings-service.1e982d61.js";const s=!1,a=async function({fetch:o}){const t=await r(o);if(!t.auth.enabled)throw e(404);return{settings:t}},c=Object.freeze(Object.defineProperty({__proto__:null,load:a,ssr:s},Symbol.toStringTag,{value:"Module"}));export{c as _,a as l,s}; +/* empty css */import{e}from"./index.b1f5b21f.js";import{f as r}from"./settings-service.8df029a6.js";const s=!1,a=async function({fetch:o}){const t=await r(o);if(!t.auth.enabled)throw e(404);return{settings:t}},c=Object.freeze(Object.defineProperty({__proto__:null,load:a,ssr:s},Symbol.toStringTag,{value:"Module"}));export{c as _,a as l,s}; diff --git a/ui/assets/local/_app/immutable/chunks/_page.011b8ecc.js b/ui/assets/local/_app/immutable/chunks/_page.0171ff9b.js similarity index 80% rename from ui/assets/local/_app/immutable/chunks/_page.011b8ecc.js rename to ui/assets/local/_app/immutable/chunks/_page.0171ff9b.js index 1560416be1..783cbccad0 100644 --- a/ui/assets/local/_app/immutable/chunks/_page.011b8ecc.js +++ b/ui/assets/local/_app/immutable/chunks/_page.0171ff9b.js @@ -1 +1 @@ -import{r as a}from"./index.b1f5b21f.js";import{g as s}from"./route-for.3b55a4c6.js";const c=async function({params:o}){const{namespace:r,workflow:t,run:e}=o,n=s({namespace:r,workflow:t,run:e});throw a(302,n)},p=Object.freeze(Object.defineProperty({__proto__:null,load:c},Symbol.toStringTag,{value:"Module"}));export{p as _,c as l}; +import{r as a}from"./index.b1f5b21f.js";import{g as s}from"./route-for.d76d8056.js";const c=async function({params:o}){const{namespace:r,workflow:t,run:e}=o,n=s({namespace:r,workflow:t,run:e});throw a(302,n)},p=Object.freeze(Object.defineProperty({__proto__:null,load:c},Symbol.toStringTag,{value:"Module"}));export{p as _,c as l}; diff --git a/ui/assets/local/_app/immutable/chunks/_page.98cb61bc.js b/ui/assets/local/_app/immutable/chunks/_page.04d6547f.js similarity index 85% rename from ui/assets/local/_app/immutable/chunks/_page.98cb61bc.js rename to ui/assets/local/_app/immutable/chunks/_page.04d6547f.js index d743afb3a4..c90101984f 100644 --- a/ui/assets/local/_app/immutable/chunks/_page.98cb61bc.js +++ b/ui/assets/local/_app/immutable/chunks/_page.04d6547f.js @@ -1 +1 @@ -import{r as a}from"./index.b1f5b21f.js";import{r as n}from"./route-for.3b55a4c6.js";const i=async({parent:s})=>{var t,r;const e=await s(),o=(t=e==null?void 0:e.settings)==null?void 0:t.defaultNamespace;if((r=e.settings.runtimeEnvironment)==null?void 0:r.isCloud)throw a(302,n({namespace:o}));return{defaultNamespace:o}},m=Object.freeze(Object.defineProperty({__proto__:null,load:i},Symbol.toStringTag,{value:"Module"}));export{m as _,i as l}; +import{r as a}from"./index.b1f5b21f.js";import{r as n}from"./route-for.d76d8056.js";const i=async({parent:s})=>{var t,r;const e=await s(),o=(t=e==null?void 0:e.settings)==null?void 0:t.defaultNamespace;if((r=e.settings.runtimeEnvironment)==null?void 0:r.isCloud)throw a(302,n({namespace:o}));return{defaultNamespace:o}},m=Object.freeze(Object.defineProperty({__proto__:null,load:i},Symbol.toStringTag,{value:"Module"}));export{m as _,i as l}; diff --git a/ui/assets/local/_app/immutable/chunks/_page.f6735002.js b/ui/assets/local/_app/immutable/chunks/_page.229b03a2.js similarity index 88% rename from ui/assets/local/_app/immutable/chunks/_page.f6735002.js rename to ui/assets/local/_app/immutable/chunks/_page.229b03a2.js index 313d2e4a3e..3e40391007 100644 --- a/ui/assets/local/_app/immutable/chunks/_page.f6735002.js +++ b/ui/assets/local/_app/immutable/chunks/_page.229b03a2.js @@ -1 +1 @@ -import{a as A}from"./namespaces-service.5f534be1.js";import{g as _}from"./workflow-service.56e6b262.js";const E=async function({params:e,url:d}){var c,n,l,f,g,h,w,u;const{searchParams:o}=d;o.has("time-range")||o.set("time-range","1 day");const y=o.get("workflow-id"),m=o.get("workflow-type"),v=o.get("time-range"),p=o.get("status"),t=await A(e.namespace),b=(l=(n=(c=t.config)==null?void 0:c.historyArchivalUri)==null?void 0:n.toLowerCase())==null?void 0:l.startsWith("s3://"),k=(h=(g=(f=t.config)==null?void 0:f.historyArchivalUri)==null?void 0:g.toLowerCase())==null?void 0:h.startsWith("gs://"),i=b||k,S=i?{}:{workflowId:y,workflowType:m,closeTime:v,executionStatus:p},a=((w=t==null?void 0:t.config)==null?void 0:w.historyArchivalState)==="Enabled",s=((u=t==null?void 0:t.config)==null?void 0:u.visibilityArchivalState)==="Enabled",r=a&&s?await _(e.namespace,S,fetch):null;return{workflows:r?r.workflows:[],namespace:t,archivalEnabled:a,visibilityArchivalEnabled:s,archivalQueryingNotSupported:i}},j=Object.freeze(Object.defineProperty({__proto__:null,load:E},Symbol.toStringTag,{value:"Module"}));export{j as _,E as l}; +import{a as A}from"./namespaces-service.5add732a.js";import{g as _}from"./workflow-service.14ef2cb6.js";const E=async function({params:e,url:d}){var c,n,l,f,g,h,w,u;const{searchParams:o}=d;o.has("time-range")||o.set("time-range","1 day");const y=o.get("workflow-id"),m=o.get("workflow-type"),v=o.get("time-range"),p=o.get("status"),t=await A(e.namespace),b=(l=(n=(c=t.config)==null?void 0:c.historyArchivalUri)==null?void 0:n.toLowerCase())==null?void 0:l.startsWith("s3://"),k=(h=(g=(f=t.config)==null?void 0:f.historyArchivalUri)==null?void 0:g.toLowerCase())==null?void 0:h.startsWith("gs://"),i=b||k,S=i?{}:{workflowId:y,workflowType:m,closeTime:v,executionStatus:p},a=((w=t==null?void 0:t.config)==null?void 0:w.historyArchivalState)==="Enabled",s=((u=t==null?void 0:t.config)==null?void 0:u.visibilityArchivalState)==="Enabled",r=a&&s?await _(e.namespace,S,fetch):null;return{workflows:r?r.workflows:[],namespace:t,archivalEnabled:a,visibilityArchivalEnabled:s,archivalQueryingNotSupported:i}},j=Object.freeze(Object.defineProperty({__proto__:null,load:E},Symbol.toStringTag,{value:"Module"}));export{j as _,E as l}; diff --git a/ui/assets/local/_app/immutable/chunks/_page.8b656119.js b/ui/assets/local/_app/immutable/chunks/_page.9bc91c93.js similarity index 80% rename from ui/assets/local/_app/immutable/chunks/_page.8b656119.js rename to ui/assets/local/_app/immutable/chunks/_page.9bc91c93.js index 1560416be1..783cbccad0 100644 --- a/ui/assets/local/_app/immutable/chunks/_page.8b656119.js +++ b/ui/assets/local/_app/immutable/chunks/_page.9bc91c93.js @@ -1 +1 @@ -import{r as a}from"./index.b1f5b21f.js";import{g as s}from"./route-for.3b55a4c6.js";const c=async function({params:o}){const{namespace:r,workflow:t,run:e}=o,n=s({namespace:r,workflow:t,run:e});throw a(302,n)},p=Object.freeze(Object.defineProperty({__proto__:null,load:c},Symbol.toStringTag,{value:"Module"}));export{p as _,c as l}; +import{r as a}from"./index.b1f5b21f.js";import{g as s}from"./route-for.d76d8056.js";const c=async function({params:o}){const{namespace:r,workflow:t,run:e}=o,n=s({namespace:r,workflow:t,run:e});throw a(302,n)},p=Object.freeze(Object.defineProperty({__proto__:null,load:c},Symbol.toStringTag,{value:"Module"}));export{p as _,c as l}; diff --git a/ui/assets/local/_app/immutable/chunks/_page.000985df.js b/ui/assets/local/_app/immutable/chunks/_page.a2e291f1.js similarity index 75% rename from ui/assets/local/_app/immutable/chunks/_page.000985df.js rename to ui/assets/local/_app/immutable/chunks/_page.a2e291f1.js index 95f328edef..7d2827cbce 100644 --- a/ui/assets/local/_app/immutable/chunks/_page.000985df.js +++ b/ui/assets/local/_app/immutable/chunks/_page.a2e291f1.js @@ -1 +1 @@ -import{r as o}from"./index.b1f5b21f.js";import{e as t}from"./route-for.3b55a4c6.js";const r=async function(){const e=t("feed");throw o(302,e)},c=Object.freeze(Object.defineProperty({__proto__:null,load:r},Symbol.toStringTag,{value:"Module"}));export{c as _,r as l}; +import{r as o}from"./index.b1f5b21f.js";import{e as t}from"./route-for.d76d8056.js";const r=async function(){const e=t("feed");throw o(302,e)},c=Object.freeze(Object.defineProperty({__proto__:null,load:r},Symbol.toStringTag,{value:"Module"}));export{c as _,r as l}; diff --git a/ui/assets/local/_app/immutable/chunks/_page.c1dd67a1.js b/ui/assets/local/_app/immutable/chunks/_page.b4978905.js similarity index 80% rename from ui/assets/local/_app/immutable/chunks/_page.c1dd67a1.js rename to ui/assets/local/_app/immutable/chunks/_page.b4978905.js index 1560416be1..783cbccad0 100644 --- a/ui/assets/local/_app/immutable/chunks/_page.c1dd67a1.js +++ b/ui/assets/local/_app/immutable/chunks/_page.b4978905.js @@ -1 +1 @@ -import{r as a}from"./index.b1f5b21f.js";import{g as s}from"./route-for.3b55a4c6.js";const c=async function({params:o}){const{namespace:r,workflow:t,run:e}=o,n=s({namespace:r,workflow:t,run:e});throw a(302,n)},p=Object.freeze(Object.defineProperty({__proto__:null,load:c},Symbol.toStringTag,{value:"Module"}));export{p as _,c as l}; +import{r as a}from"./index.b1f5b21f.js";import{g as s}from"./route-for.d76d8056.js";const c=async function({params:o}){const{namespace:r,workflow:t,run:e}=o,n=s({namespace:r,workflow:t,run:e});throw a(302,n)},p=Object.freeze(Object.defineProperty({__proto__:null,load:c},Symbol.toStringTag,{value:"Module"}));export{p as _,c as l}; diff --git a/ui/assets/local/_app/immutable/chunks/_page.cbe3b57f.js b/ui/assets/local/_app/immutable/chunks/_page.d908487b.js similarity index 74% rename from ui/assets/local/_app/immutable/chunks/_page.cbe3b57f.js rename to ui/assets/local/_app/immutable/chunks/_page.d908487b.js index 5daf6d4588..a85af5ff8a 100644 --- a/ui/assets/local/_app/immutable/chunks/_page.cbe3b57f.js +++ b/ui/assets/local/_app/immutable/chunks/_page.d908487b.js @@ -1 +1 @@ -import{r}from"./index.b1f5b21f.js";import{e as t}from"./route-for.3b55a4c6.js";const e=async()=>{const o=t();throw r(302,o)},c=Object.freeze(Object.defineProperty({__proto__:null,load:e},Symbol.toStringTag,{value:"Module"}));export{c as _,e as l}; +import{r}from"./index.b1f5b21f.js";import{e as t}from"./route-for.d76d8056.js";const e=async()=>{const o=t();throw r(302,o)},c=Object.freeze(Object.defineProperty({__proto__:null,load:e},Symbol.toStringTag,{value:"Module"}));export{c as _,e as l}; diff --git a/ui/assets/local/_app/immutable/chunks/_page.8d04c3f0.js b/ui/assets/local/_app/immutable/chunks/_page.f15985bd.js similarity index 89% rename from ui/assets/local/_app/immutable/chunks/_page.8d04c3f0.js rename to ui/assets/local/_app/immutable/chunks/_page.f15985bd.js index 58c0a72806..562e1c7706 100644 --- a/ui/assets/local/_app/immutable/chunks/_page.8d04c3f0.js +++ b/ui/assets/local/_app/immutable/chunks/_page.f15985bd.js @@ -1 +1 @@ -import{a as l}from"./namespaces-service.5f534be1.js";const s=t=>{var o,e;const r=(o=t==null?void 0:t.replicationConfig)==null?void 0:o.clusters,n=(e=t==null?void 0:t.replicationConfig)==null?void 0:e.activeClusterName;return r!=null&&r.length?r.map(({clusterName:i})=>i===n?`${i} (active)`:i).join(", "):"Unknown"},c=async function({params:t,url:r}){const{searchParams:n}=r;n.has("time-range")&&n.delete("time-range");const o=await l(t.namespace),e=s(o);return{namespace:o,clusters:e}},a=Object.freeze(Object.defineProperty({__proto__:null,load:c},Symbol.toStringTag,{value:"Module"}));export{a as _,c as l}; +import{a as l}from"./namespaces-service.5add732a.js";const s=t=>{var o,e;const r=(o=t==null?void 0:t.replicationConfig)==null?void 0:o.clusters,n=(e=t==null?void 0:t.replicationConfig)==null?void 0:e.activeClusterName;return r!=null&&r.length?r.map(({clusterName:i})=>i===n?`${i} (active)`:i).join(", "):"Unknown"},c=async function({params:t,url:r}){const{searchParams:n}=r;n.has("time-range")&&n.delete("time-range");const o=await l(t.namespace),e=s(o);return{namespace:o,clusters:e}},a=Object.freeze(Object.defineProperty({__proto__:null,load:c},Symbol.toStringTag,{value:"Module"}));export{a as _,c as l}; diff --git a/ui/assets/local/_app/immutable/chunks/_page.3ea24305.js b/ui/assets/local/_app/immutable/chunks/_page.fd51d2ec.js similarity index 83% rename from ui/assets/local/_app/immutable/chunks/_page.3ea24305.js rename to ui/assets/local/_app/immutable/chunks/_page.fd51d2ec.js index c7607fda04..6879008cff 100644 --- a/ui/assets/local/_app/immutable/chunks/_page.3ea24305.js +++ b/ui/assets/local/_app/immutable/chunks/_page.fd51d2ec.js @@ -1 +1 @@ -import{r as n,e as s}from"./index.b1f5b21f.js";import{j as c}from"./workflow-service.56e6b262.js";const l=async function({url:r,params:e}){const{namespace:t,workflow:a}=e,{runId:o}=await c({namespace:t,workflowId:a});throw o?n(302,`${r.pathname}/${o}`):s(404)},p=Object.freeze(Object.defineProperty({__proto__:null,load:l},Symbol.toStringTag,{value:"Module"}));export{p as _,l}; +import{r as n,e as s}from"./index.b1f5b21f.js";import{j as c}from"./workflow-service.14ef2cb6.js";const l=async function({url:r,params:e}){const{namespace:t,workflow:a}=e,{runId:o}=await c({namespace:t,workflowId:a});throw o?n(302,`${r.pathname}/${o}`):s(404)},p=Object.freeze(Object.defineProperty({__proto__:null,load:l},Symbol.toStringTag,{value:"Module"}));export{p as _,l}; diff --git a/ui/assets/local/_app/immutable/chunks/accordion.3c992162.js b/ui/assets/local/_app/immutable/chunks/accordion.27d3ff9a.js similarity index 98% rename from ui/assets/local/_app/immutable/chunks/accordion.3c992162.js rename to ui/assets/local/_app/immutable/chunks/accordion.27d3ff9a.js index ef9da870ab..4cb58750be 100644 --- a/ui/assets/local/_app/immutable/chunks/accordion.3c992162.js +++ b/ui/assets/local/_app/immutable/chunks/accordion.27d3ff9a.js @@ -1 +1 @@ -import{S as Ae,b as Be,a as Ne,G as x,N as ie,m as N,c as P,w as ne,p as q,q as C,d as H,x as oe,k as I,u as d,P as be,O as he,f as De,L as _,Q as $,$ as ve,j as g,z as ee,g as y,h as le,y as re,H as te,I as ae,J as se,R as Pe,r as qe,T as pe,U as Ce,C as fe,D as ue,E as ce,F as de,n as He,V as ke}from"./index.09834243.js";import{B as Se}from"./badge.f53d8aa8.js";import{I as Ve}from"./icon.3cd9fa27.js";import{v as Ue}from"./toaster.d089c03c.js";const je=s=>({}),ye=s=>({}),ze=s=>({}),Ee=s=>({});function Te(s){let e,l;return e=new Ve({props:{name:s[4]}}),{c(){fe(e.$$.fragment)},l(t){ue(e.$$.fragment,t)},m(t,o){ce(e,t,o),l=!0},p(t,o){const m={};o&16&&(m.name=t[4]),e.$set(m)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){y(e.$$.fragment,t),l=!1},d(t){de(e,t)}}}function Ie(s){let e,l;return e=new Ve({props:{name:s[0]?"chevron-up":"chevron-down",class:"rounded-full from-blue-100 to-purple-100 hover:bg-gradient-to-br "+(s[5]?"text-gray-500":"text-primary")}}),{c(){fe(e.$$.fragment)},l(t){ue(e.$$.fragment,t)},m(t,o){ce(e,t,o),l=!0},p(t,o){const m={};o&1&&(m.name=t[0]?"chevron-up":"chevron-down"),o&32&&(m.class="rounded-full from-blue-100 to-purple-100 hover:bg-gradient-to-br "+(t[5]?"text-gray-500":"text-primary")),e.$set(m)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){y(e.$$.fragment,t),l=!1},d(t){de(e,t)}}}function Oe(s){let e,l;return e=new Se({props:{class:"mr-2",type:"error",$$slots:{default:[Fe]},$$scope:{ctx:s}}}),{c(){fe(e.$$.fragment)},l(t){ue(e.$$.fragment,t)},m(t,o){ce(e,t,o),l=!0},p(t,o){const m={};o&32896&&(m.$$scope={dirty:o,ctx:t}),e.$set(m)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){y(e.$$.fragment,t),l=!1},d(t){de(e,t)}}}function Fe(s){let e;return{c(){e=ne(s[7])},l(l){e=oe(l,s[7])},m(l,t){De(l,e,t)},p(l,t){t&128&&re(e,l[7])},d(l){l&&I(e)}}}function Ge(s){let e,l,t,o,m,V,S,U,E,j,T,b,O,A,D,B,z,J,h,i,L,Q,r,W,me,f=s[4]&&Te(s);const X=s[12].summary,v=x(X,s,s[15],Ee),Y=s[12].action,p=x(Y,s,s[15],ye);let u=!s[6]&&Ie(s),c=s[7]&&Oe(s);const Z=s[12].default,k=x(Z,s,s[15],null);let w=[{class:Q="flex w-full cursor-default flex-col rounded-xl border-2 border-gray-900 bg-white p-4 text-primary "+s[8]},s[10]],R={};for(let a=0;a{f=null}),le()),(!r||n&2)&&re(V,a[1]),v&&v.p&&(!r||n&32768)&&te(v,X,a,a[15],r?se(X,a[15],n,ze):ae(a[15]),Ee),p&&p.p&&(!r||n&32768)&&te(p,Y,a,a[15],r?se(Y,a[15],n,je):ae(a[15]),ye),a[6]?u&&(ee(),y(u,1,1,()=>{u=null}),le()):u?(u.p(a,n),n&64&&g(u,1)):(u=Ie(a),u.c(),g(u,1),u.m(t,null)),a[7]?c?(c.p(a,n),n&128&&g(c,1)):(c=Oe(a),c.c(),g(c,1),c.m(b,O)):c&&(ee(),y(c,1,1,()=>{c=null}),le()),(!r||n&8)&&re(A,a[3]),(!r||n&4&&D!==(D=a[2]+"-trigger"))&&d(l,"id",D),(!r||n&1)&&d(l,"aria-expanded",a[0]),(!r||n&4&&B!==(B=a[2]+"-content"))&&d(l,"aria-controls",B),(!r||n&96&&z!==(z=a[5]||a[6]))&&(l.disabled=z),k&&k.p&&(!r||n&32768)&&te(k,Z,a,a[15],r?se(Z,a[15],n,null):ae(a[15]),null),(!r||n&4&&i!==(i=a[2]+"-content"))&&d(h,"id",i),(!r||n&4&&L!==(L=a[2]+"-trigger"))&&d(h,"aria-labelledby",L),(!r||n&1)&&be(h,"hidden",!a[0]),he(e,R=Pe(w,[(!r||n&256&&Q!==(Q="flex w-full cursor-default flex-col rounded-xl border-2 border-gray-900 bg-white p-4 text-primary "+a[8]))&&{class:Q},n&1024&&a[10]]))},i(a){r||(g(f),g(v,a),g(p,a),g(u),g(c),g(k,a),r=!0)},o(a){y(f),y(v,a),y(p,a),y(u),y(c),y(k,a),r=!1},d(a){a&&I(e),f&&f.d(),v&&v.d(a),p&&p.d(a),u&&u.d(),c&&c.d(),k&&k.d(a),W=!1,qe(me)}}}function Je(s,e,l){const t=["title","id","subtitle","icon","open","disabled","readOnly","error","onToggle","class"];let o=pe(e,t),{$$slots:m={},$$scope:V}=e,{title:S}=e,{id:U=Ue()}=e,{subtitle:E=""}=e,{icon:j=null}=e,{open:T=!1}=e,{disabled:b=!1}=e,{readOnly:O=!1}=e,{error:A=""}=e,{onToggle:D=He}=e,{class:B=""}=e;const z=()=>{b||O||(l(0,T=!T),D())};function J(i){ke.call(this,s,i)}function h(i){ke.call(this,s,i)}return s.$$set=i=>{e=ie(ie({},e),Ce(i)),l(10,o=pe(e,t)),"title"in i&&l(1,S=i.title),"id"in i&&l(2,U=i.id),"subtitle"in i&&l(3,E=i.subtitle),"icon"in i&&l(4,j=i.icon),"open"in i&&l(0,T=i.open),"disabled"in i&&l(5,b=i.disabled),"readOnly"in i&&l(6,O=i.readOnly),"error"in i&&l(7,A=i.error),"onToggle"in i&&l(11,D=i.onToggle),"class"in i&&l(8,B=i.class),"$$scope"in i&&l(15,V=i.$$scope)},s.$$.update=()=>{s.$$.dirty&33&&l(0,T=b?!0:T)},[T,S,U,E,j,b,O,A,B,z,o,D,m,J,h,V]}class Me extends Ae{constructor(e){super(),Be(this,e,Je,Ge,Ne,{title:1,id:2,subtitle:3,icon:4,open:0,disabled:5,readOnly:6,error:7,onToggle:11,class:8})}}export{Me as A}; +import{S as Ae,b as Be,a as Ne,G as x,N as ie,m as N,c as P,w as ne,p as q,q as C,d as H,x as oe,k as I,u as d,P as be,O as he,f as De,L as _,Q as $,$ as ve,j as g,z as ee,g as y,h as le,y as re,H as te,I as ae,J as se,R as Pe,r as qe,T as pe,U as Ce,C as fe,D as ue,E as ce,F as de,n as He,V as ke}from"./index.09834243.js";import{B as Se}from"./badge.f53d8aa8.js";import{I as Ve}from"./icon.3cd9fa27.js";import{v as Ue}from"./toaster.a0b7d8ad.js";const je=s=>({}),ye=s=>({}),ze=s=>({}),Ee=s=>({});function Te(s){let e,l;return e=new Ve({props:{name:s[4]}}),{c(){fe(e.$$.fragment)},l(t){ue(e.$$.fragment,t)},m(t,o){ce(e,t,o),l=!0},p(t,o){const m={};o&16&&(m.name=t[4]),e.$set(m)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){y(e.$$.fragment,t),l=!1},d(t){de(e,t)}}}function Ie(s){let e,l;return e=new Ve({props:{name:s[0]?"chevron-up":"chevron-down",class:"rounded-full from-blue-100 to-purple-100 hover:bg-gradient-to-br "+(s[5]?"text-gray-500":"text-primary")}}),{c(){fe(e.$$.fragment)},l(t){ue(e.$$.fragment,t)},m(t,o){ce(e,t,o),l=!0},p(t,o){const m={};o&1&&(m.name=t[0]?"chevron-up":"chevron-down"),o&32&&(m.class="rounded-full from-blue-100 to-purple-100 hover:bg-gradient-to-br "+(t[5]?"text-gray-500":"text-primary")),e.$set(m)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){y(e.$$.fragment,t),l=!1},d(t){de(e,t)}}}function Oe(s){let e,l;return e=new Se({props:{class:"mr-2",type:"error",$$slots:{default:[Fe]},$$scope:{ctx:s}}}),{c(){fe(e.$$.fragment)},l(t){ue(e.$$.fragment,t)},m(t,o){ce(e,t,o),l=!0},p(t,o){const m={};o&32896&&(m.$$scope={dirty:o,ctx:t}),e.$set(m)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){y(e.$$.fragment,t),l=!1},d(t){de(e,t)}}}function Fe(s){let e;return{c(){e=ne(s[7])},l(l){e=oe(l,s[7])},m(l,t){De(l,e,t)},p(l,t){t&128&&re(e,l[7])},d(l){l&&I(e)}}}function Ge(s){let e,l,t,o,m,V,S,U,E,j,T,b,O,A,D,B,z,J,h,i,L,Q,r,W,me,f=s[4]&&Te(s);const X=s[12].summary,v=x(X,s,s[15],Ee),Y=s[12].action,p=x(Y,s,s[15],ye);let u=!s[6]&&Ie(s),c=s[7]&&Oe(s);const Z=s[12].default,k=x(Z,s,s[15],null);let w=[{class:Q="flex w-full cursor-default flex-col rounded-xl border-2 border-gray-900 bg-white p-4 text-primary "+s[8]},s[10]],R={};for(let a=0;a{f=null}),le()),(!r||n&2)&&re(V,a[1]),v&&v.p&&(!r||n&32768)&&te(v,X,a,a[15],r?se(X,a[15],n,ze):ae(a[15]),Ee),p&&p.p&&(!r||n&32768)&&te(p,Y,a,a[15],r?se(Y,a[15],n,je):ae(a[15]),ye),a[6]?u&&(ee(),y(u,1,1,()=>{u=null}),le()):u?(u.p(a,n),n&64&&g(u,1)):(u=Ie(a),u.c(),g(u,1),u.m(t,null)),a[7]?c?(c.p(a,n),n&128&&g(c,1)):(c=Oe(a),c.c(),g(c,1),c.m(b,O)):c&&(ee(),y(c,1,1,()=>{c=null}),le()),(!r||n&8)&&re(A,a[3]),(!r||n&4&&D!==(D=a[2]+"-trigger"))&&d(l,"id",D),(!r||n&1)&&d(l,"aria-expanded",a[0]),(!r||n&4&&B!==(B=a[2]+"-content"))&&d(l,"aria-controls",B),(!r||n&96&&z!==(z=a[5]||a[6]))&&(l.disabled=z),k&&k.p&&(!r||n&32768)&&te(k,Z,a,a[15],r?se(Z,a[15],n,null):ae(a[15]),null),(!r||n&4&&i!==(i=a[2]+"-content"))&&d(h,"id",i),(!r||n&4&&L!==(L=a[2]+"-trigger"))&&d(h,"aria-labelledby",L),(!r||n&1)&&be(h,"hidden",!a[0]),he(e,R=Pe(w,[(!r||n&256&&Q!==(Q="flex w-full cursor-default flex-col rounded-xl border-2 border-gray-900 bg-white p-4 text-primary "+a[8]))&&{class:Q},n&1024&&a[10]]))},i(a){r||(g(f),g(v,a),g(p,a),g(u),g(c),g(k,a),r=!0)},o(a){y(f),y(v,a),y(p,a),y(u),y(c),y(k,a),r=!1},d(a){a&&I(e),f&&f.d(),v&&v.d(a),p&&p.d(a),u&&u.d(),c&&c.d(),k&&k.d(a),W=!1,qe(me)}}}function Je(s,e,l){const t=["title","id","subtitle","icon","open","disabled","readOnly","error","onToggle","class"];let o=pe(e,t),{$$slots:m={},$$scope:V}=e,{title:S}=e,{id:U=Ue()}=e,{subtitle:E=""}=e,{icon:j=null}=e,{open:T=!1}=e,{disabled:b=!1}=e,{readOnly:O=!1}=e,{error:A=""}=e,{onToggle:D=He}=e,{class:B=""}=e;const z=()=>{b||O||(l(0,T=!T),D())};function J(i){ke.call(this,s,i)}function h(i){ke.call(this,s,i)}return s.$$set=i=>{e=ie(ie({},e),Ce(i)),l(10,o=pe(e,t)),"title"in i&&l(1,S=i.title),"id"in i&&l(2,U=i.id),"subtitle"in i&&l(3,E=i.subtitle),"icon"in i&&l(4,j=i.icon),"open"in i&&l(0,T=i.open),"disabled"in i&&l(5,b=i.disabled),"readOnly"in i&&l(6,O=i.readOnly),"error"in i&&l(7,A=i.error),"onToggle"in i&&l(11,D=i.onToggle),"class"in i&&l(8,B=i.class),"$$scope"in i&&l(15,V=i.$$scope)},s.$$.update=()=>{s.$$.dirty&33&&l(0,T=b?!0:T)},[T,S,U,E,j,b,O,A,B,z,o,D,m,J,h,V]}class Me extends Ae{constructor(e){super(),Be(this,e,Je,Ge,Ne,{title:1,id:2,subtitle:3,icon:4,open:0,disabled:5,readOnly:6,error:7,onToggle:11,class:8})}}export{Me as A}; diff --git a/ui/assets/local/_app/immutable/chunks/auth-user.f0bc59ab.js b/ui/assets/local/_app/immutable/chunks/auth-user.051e0dee.js similarity index 81% rename from ui/assets/local/_app/immutable/chunks/auth-user.f0bc59ab.js rename to ui/assets/local/_app/immutable/chunks/auth-user.051e0dee.js index 7ec7e1f4b6..809fcea198 100644 --- a/ui/assets/local/_app/immutable/chunks/auth-user.f0bc59ab.js +++ b/ui/assets/local/_app/immutable/chunks/auth-user.051e0dee.js @@ -1 +1 @@ -import{ac as n}from"./index.09834243.js";import{p as i}from"./persist-store.ad106cab.js";const s=i("AuthUser",{}),m=()=>n(s),p=t=>{const{accessToken:e,idToken:r,name:o,email:a,picture:c}=t;if(!e)throw new Error("No access token");s.set({accessToken:e,idToken:r,name:o,email:a,picture:c})},U=()=>{s.set({})};export{s as a,U as c,m as g,p as s}; +import{ac as n}from"./index.09834243.js";import{p as i}from"./persist-store.47877c2b.js";const s=i("AuthUser",{}),m=()=>n(s),p=t=>{const{accessToken:e,idToken:r,name:o,email:a,picture:c}=t;if(!e)throw new Error("No access token");s.set({accessToken:e,idToken:r,name:o,email:a,picture:c})},U=()=>{s.set({})};export{s as a,U as c,m as g,p as s}; diff --git a/ui/assets/local/_app/immutable/chunks/batch-operations.2ef00b45.js b/ui/assets/local/_app/immutable/chunks/batch-operations.54e5cb65.js similarity index 86% rename from ui/assets/local/_app/immutable/chunks/batch-operations.2ef00b45.js rename to ui/assets/local/_app/immutable/chunks/batch-operations.54e5cb65.js index 894f59ba7d..a27144408f 100644 --- a/ui/assets/local/_app/immutable/chunks/batch-operations.2ef00b45.js +++ b/ui/assets/local/_app/immutable/chunks/batch-operations.54e5cb65.js @@ -1 +1 @@ -import{w as p}from"./singletons.aae8f11e.js";import{ac as b}from"./index.09834243.js";import{A as a}from"./workflow-actions.6f88149c.js";import{g as d}from"./auth-user.f0bc59ab.js";import{p as w}from"./persist-store.ad106cab.js";import{t as y}from"./versions.2bb4ba4c.js";import{s as u}from"./parse-with-big-int.b38462f3.js";import{r as i,a as c}from"./route-for-api.6f64f216.js";import{i as h}from"./version-check.d006b302.js";const I=e=>e.map(o=>o.runId).reduce((o,r,n,m)=>(o+=`RunId="${r}"`,n!==m.length-1&&(o+=" OR "),o),""),T=e=>{const t=d().email;switch(e){case a.Cancel:return{cancellationOperation:{identity:t}};case a.Terminate:return{terminationOperation:{identity:t}};default:return{}}},O=({id:e,runId:t})=>({workflowId:e,runId:t}),f=(e,t)=>{const o={jobId:t.jobId,namespace:t.namespace,reason:t.reason,...T(e)};if(t.workflows)return h(b(y),"1.19")?{...o,executions:t.workflows.map(O)}:{...o,visibilityQuery:I(t.workflows)};if(t.query)return{...o,visibilityQuery:t.query}};async function E(e){const t=i("batch-operations",{namespace:e.namespace}),o=f(a.Cancel,e);await c(t,{options:{method:"POST",body:u(o)},notifyOnError:!1}),s.set({jobId:o.jobId,namespace:o.namespace})}async function Q(e){const t=i("batch-operations",{namespace:e.namespace}),o=f(a.Terminate,e);await c(t,{options:{method:"POST",body:u(o)},notifyOnError:!1}),s.set({jobId:o.jobId,namespace:o.namespace})}async function l({namespace:e,jobId:t}){return new Promise((o,r)=>{k({namespace:e,jobId:t}).then(({state:n,completeOperationCount:m})=>{n==="Failed"?r():n!=="Running"?o(m):setTimeout(()=>{try{o(l({namespace:e,jobId:t}))}catch{r()}},5e3)})})}async function k({jobId:e,namespace:t},o=fetch){const r=i("batch-operation.describe",{namespace:t}),n=await c(r,{params:{jobId:e},request:o});return C(n)}const C=e=>({...e,startTime:e.startTime,closeTime:e.closeTime,totalOperationCount:parseInt(e.totalOperationCount,10),completeOperationCount:parseInt(e.completeOperationCount,10),failureOperationCount:parseInt(e.failureOperationCount,10)});async function V(e,t=fetch){const o=i("batch-operations",{namespace:e}),r=await c(o,{request:t});return{nextPageToken:r.nextPageToken,operations:r.operationInfo?r.operationInfo.map(g):[]}}const g=e=>({startTime:e.startTime,closeTime:e.closeTime,jobId:e.jobId,state:e.state}),s=p();s.subscribe(async e=>{e&&await l(e).then(()=>s.set(void 0))});const _=w("auto-refresh-batch-operation",!1);export{_ as a,Q as b,E as c,k as d,s as i,V as l}; +import{w as p}from"./singletons.741208bb.js";import{ac as b}from"./index.09834243.js";import{A as a}from"./workflow-actions.6f88149c.js";import{g as d}from"./auth-user.051e0dee.js";import{p as w}from"./persist-store.47877c2b.js";import{t as y}from"./versions.a86975a1.js";import{s as u}from"./parse-with-big-int.b38462f3.js";import{r as i,a as c}from"./route-for-api.a8b11085.js";import{i as h}from"./version-check.d006b302.js";const I=e=>e.map(o=>o.runId).reduce((o,r,n,m)=>(o+=`RunId="${r}"`,n!==m.length-1&&(o+=" OR "),o),""),T=e=>{const t=d().email;switch(e){case a.Cancel:return{cancellationOperation:{identity:t}};case a.Terminate:return{terminationOperation:{identity:t}};default:return{}}},O=({id:e,runId:t})=>({workflowId:e,runId:t}),f=(e,t)=>{const o={jobId:t.jobId,namespace:t.namespace,reason:t.reason,...T(e)};if(t.workflows)return h(b(y),"1.19")?{...o,executions:t.workflows.map(O)}:{...o,visibilityQuery:I(t.workflows)};if(t.query)return{...o,visibilityQuery:t.query}};async function E(e){const t=i("batch-operations",{namespace:e.namespace}),o=f(a.Cancel,e);await c(t,{options:{method:"POST",body:u(o)},notifyOnError:!1}),s.set({jobId:o.jobId,namespace:o.namespace})}async function Q(e){const t=i("batch-operations",{namespace:e.namespace}),o=f(a.Terminate,e);await c(t,{options:{method:"POST",body:u(o)},notifyOnError:!1}),s.set({jobId:o.jobId,namespace:o.namespace})}async function l({namespace:e,jobId:t}){return new Promise((o,r)=>{k({namespace:e,jobId:t}).then(({state:n,completeOperationCount:m})=>{n==="Failed"?r():n!=="Running"?o(m):setTimeout(()=>{try{o(l({namespace:e,jobId:t}))}catch{r()}},5e3)})})}async function k({jobId:e,namespace:t},o=fetch){const r=i("batch-operation.describe",{namespace:t}),n=await c(r,{params:{jobId:e},request:o});return C(n)}const C=e=>({...e,startTime:e.startTime,closeTime:e.closeTime,totalOperationCount:parseInt(e.totalOperationCount,10),completeOperationCount:parseInt(e.completeOperationCount,10),failureOperationCount:parseInt(e.failureOperationCount,10)});async function V(e,t=fetch){const o=i("batch-operations",{namespace:e}),r=await c(o,{request:t});return{nextPageToken:r.nextPageToken,operations:r.operationInfo?r.operationInfo.map(g):[]}}const g=e=>({startTime:e.startTime,closeTime:e.closeTime,jobId:e.jobId,state:e.state}),s=p();s.subscribe(async e=>{e&&await l(e).then(()=>s.set(void 0))});const _=w("auto-refresh-batch-operation",!1);export{_ as a,Q as b,E as c,k as d,s as i,V as l}; diff --git a/ui/assets/local/_app/immutable/chunks/code-block.5b4e5d21.js b/ui/assets/local/_app/immutable/chunks/code-block.797d93a9.js similarity index 99% rename from ui/assets/local/_app/immutable/chunks/code-block.5b4e5d21.js rename to ui/assets/local/_app/immutable/chunks/code-block.797d93a9.js index b7add2bf42..f8d911331f 100644 --- a/ui/assets/local/_app/immutable/chunks/code-block.5b4e5d21.js +++ b/ui/assets/local/_app/immutable/chunks/code-block.797d93a9.js @@ -1,4 +1,4 @@ -import{S as Nh,b as Lh,a as Vh,N as Tn,m as Ws,c as Fh,p as qs,q as js,k as hn,d as zh,O as Us,P as Ze,u as Hh,f as Wh,L as Ks,Q as qh,$ as jh,R as Uh,j as wi,z as Kh,g as Pn,h as Gh,T as Gs,M as Qh,K as Jh,o as $h,U as Qs,C as _h,D as Xh,E as Yh,F as Zh,V as ta,A as ea}from"./index.09834243.js";import{B as ia}from"./button.27a19883.js";import{c as na}from"./copy-to-clipboard.3607fbc7.js";import{s as Js,p as sa}from"./parse-with-big-int.b38462f3.js";import{c as ot}from"./icon.3cd9fa27.js";class N{constructor(){}lineAt(t){if(t<0||t>this.length)throw new RangeError(`Invalid position ${t} in document of length ${this.length}`);return this.lineInner(t,!1,1,0)}line(t){if(t<1||t>this.lines)throw new RangeError(`Invalid line number ${t} in ${this.lines}-line document`);return this.lineInner(t,!0,1,0)}replace(t,e,i){let n=[];return this.decompose(0,t,n,2),i.length&&i.decompose(0,i.length,n,3),this.decompose(e,this.length,n,1),It.from(n,this.length-(e-t)+i.length)}append(t){return this.replace(this.length,this.length,t)}slice(t,e=this.length){let i=[];return this.decompose(t,e,i,0),It.from(i,e-t)}eq(t){if(t==this)return!0;if(t.length!=this.length||t.lines!=this.lines)return!1;let e=this.scanIdentical(t,1),i=this.length-this.scanIdentical(t,-1),n=new He(this),r=new He(t);for(let o=e,l=e;;){if(n.next(o),r.next(o),o=0,n.lineBreak!=r.lineBreak||n.done!=r.done||n.value!=r.value)return!1;if(l+=n.value.length,n.done||l>=i)return!0}}iter(t=1){return new He(this,t)}iterRange(t,e=this.length){return new Mo(this,t,e)}iterLines(t,e){let i;if(t==null)i=this.iter();else{e==null&&(e=this.lines+1);let n=this.line(t).from;i=this.iterRange(n,Math.max(n,e==this.lines+1?this.length:e<=1?0:this.line(e-1).to))}return new Do(i)}toString(){return this.sliceString(0)}toJSON(){let t=[];return this.flatten(t),t}static of(t){if(t.length==0)throw new RangeError("A document must have at least one line");return t.length==1&&!t[0]?N.empty:t.length<=32?new j(t):It.from(j.split(t,[]))}}class j extends N{constructor(t,e=ra(t)){super(),this.text=t,this.length=e}get lines(){return this.text.length}get children(){return null}lineInner(t,e,i,n){for(let r=0;;r++){let o=this.text[r],l=n+o.length;if((e?i:l)>=t)return new oa(n,l,i,o);n=l+1,i++}}decompose(t,e,i,n){let r=t<=0&&e>=this.length?this:new j($s(this.text,t,e),Math.min(e,this.length)-Math.max(0,t));if(n&1){let o=i.pop(),l=ki(r.text,o.text.slice(),0,r.length);if(l.length<=32)i.push(new j(l,o.length+r.length));else{let h=l.length>>1;i.push(new j(l.slice(0,h)),new j(l.slice(h)))}}else i.push(r)}replace(t,e,i){if(!(i instanceof j))return super.replace(t,e,i);let n=ki(this.text,ki(i.text,$s(this.text,0,t)),e),r=this.length+i.length-(e-t);return n.length<=32?new j(n,r):It.from(j.split(n,[]),r)}sliceString(t,e=this.length,i=` +import{S as Nh,b as Lh,a as Vh,N as Tn,m as Ws,c as Fh,p as qs,q as js,k as hn,d as zh,O as Us,P as Ze,u as Hh,f as Wh,L as Ks,Q as qh,$ as jh,R as Uh,j as wi,z as Kh,g as Pn,h as Gh,T as Gs,M as Qh,K as Jh,o as $h,U as Qs,C as _h,D as Xh,E as Yh,F as Zh,V as ta,A as ea}from"./index.09834243.js";import{B as ia}from"./button.27a19883.js";import{c as na}from"./copy-to-clipboard.a6afb80a.js";import{s as Js,p as sa}from"./parse-with-big-int.b38462f3.js";import{c as ot}from"./icon.3cd9fa27.js";class N{constructor(){}lineAt(t){if(t<0||t>this.length)throw new RangeError(`Invalid position ${t} in document of length ${this.length}`);return this.lineInner(t,!1,1,0)}line(t){if(t<1||t>this.lines)throw new RangeError(`Invalid line number ${t} in ${this.lines}-line document`);return this.lineInner(t,!0,1,0)}replace(t,e,i){let n=[];return this.decompose(0,t,n,2),i.length&&i.decompose(0,i.length,n,3),this.decompose(e,this.length,n,1),It.from(n,this.length-(e-t)+i.length)}append(t){return this.replace(this.length,this.length,t)}slice(t,e=this.length){let i=[];return this.decompose(t,e,i,0),It.from(i,e-t)}eq(t){if(t==this)return!0;if(t.length!=this.length||t.lines!=this.lines)return!1;let e=this.scanIdentical(t,1),i=this.length-this.scanIdentical(t,-1),n=new He(this),r=new He(t);for(let o=e,l=e;;){if(n.next(o),r.next(o),o=0,n.lineBreak!=r.lineBreak||n.done!=r.done||n.value!=r.value)return!1;if(l+=n.value.length,n.done||l>=i)return!0}}iter(t=1){return new He(this,t)}iterRange(t,e=this.length){return new Mo(this,t,e)}iterLines(t,e){let i;if(t==null)i=this.iter();else{e==null&&(e=this.lines+1);let n=this.line(t).from;i=this.iterRange(n,Math.max(n,e==this.lines+1?this.length:e<=1?0:this.line(e-1).to))}return new Do(i)}toString(){return this.sliceString(0)}toJSON(){let t=[];return this.flatten(t),t}static of(t){if(t.length==0)throw new RangeError("A document must have at least one line");return t.length==1&&!t[0]?N.empty:t.length<=32?new j(t):It.from(j.split(t,[]))}}class j extends N{constructor(t,e=ra(t)){super(),this.text=t,this.length=e}get lines(){return this.text.length}get children(){return null}lineInner(t,e,i,n){for(let r=0;;r++){let o=this.text[r],l=n+o.length;if((e?i:l)>=t)return new oa(n,l,i,o);n=l+1,i++}}decompose(t,e,i,n){let r=t<=0&&e>=this.length?this:new j($s(this.text,t,e),Math.min(e,this.length)-Math.max(0,t));if(n&1){let o=i.pop(),l=ki(r.text,o.text.slice(),0,r.length);if(l.length<=32)i.push(new j(l,o.length+r.length));else{let h=l.length>>1;i.push(new j(l.slice(0,h)),new j(l.slice(h)))}}else i.push(r)}replace(t,e,i){if(!(i instanceof j))return super.replace(t,e,i);let n=ki(this.text,ki(i.text,$s(this.text,0,t)),e),r=this.length+i.length-(e-t);return n.length<=32?new j(n,r):It.from(j.split(n,[]),r)}sliceString(t,e=this.length,i=` `){let n="";for(let r=0,o=0;r<=e&&ot&&o&&(n+=i),tr&&(n+=l.slice(Math.max(0,t-r),e-r)),r=h+1}return n}flatten(t){for(let e of this.text)t.push(e)}scanIdentical(){return 0}static split(t,e){let i=[],n=-1;for(let r of t)i.push(r),n+=r.length+1,i.length==32&&(e.push(new j(i,n)),i=[],n=-1);return n>-1&&e.push(new j(i,n)),e}}class It extends N{constructor(t,e){super(),this.children=t,this.length=e,this.lines=0;for(let i of t)this.lines+=i.lines}lineInner(t,e,i,n){for(let r=0;;r++){let o=this.children[r],l=n+o.length,h=i+o.lines-1;if((e?h:l)>=t)return o.lineInner(t,e,i,n);n=l+1,i=h+1}}decompose(t,e,i,n){for(let r=0,o=0;o<=e&&r=o){let a=n&((o<=t?1:0)|(h>=e?2:0));o>=t&&h<=e&&!a?i.push(l):l.decompose(t-o,e-o,i,a)}o=h+1}}replace(t,e,i){if(i.lines=r&&e<=l){let h=o.replace(t-r,e-r,i),a=this.lines-o.lines+h.lines;if(h.lines>5-1&&h.lines>a>>5+1){let f=this.children.slice();return f[n]=h,new It(f,this.length-(e-t)+i.length)}return super.replace(r,l,h)}r=l+1}return super.replace(t,e,i)}sliceString(t,e=this.length,i=` `){let n="";for(let r=0,o=0;rt&&r&&(n+=i),to&&(n+=l.sliceString(t-o,e-o,i)),o=h+1}return n}flatten(t){for(let e of this.children)e.flatten(t)}scanIdentical(t,e){if(!(t instanceof It))return 0;let i=0,[n,r,o,l]=e>0?[0,0,this.children.length,t.children.length]:[this.children.length-1,t.children.length-1,-1,-1];for(;;n+=e,r+=e){if(n==o||r==l)return i;let h=this.children[n],a=t.children[r];if(h!=a)return i+h.scanIdentical(a,e);i+=h.length+1}}static from(t,e=t.reduce((i,n)=>i+n.length+1,-1)){let i=0;for(let d of t)i+=d.lines;if(i<32){let d=[];for(let p of t)p.flatten(d);return new j(d,e)}let n=Math.max(32,i>>5),r=n<<1,o=n>>1,l=[],h=0,a=-1,f=[];function c(d){let p;if(d.lines>r&&d instanceof It)for(let m of d.children)c(m);else d.lines>o&&(h>o||!h)?(u(),l.push(d)):d instanceof j&&h&&(p=f[f.length-1])instanceof j&&d.lines+p.lines<=32?(h+=d.lines,a+=d.length+1,f[f.length-1]=new j(p.text.concat(d.text),p.length+1+d.length)):(h+d.lines>n&&u(),h+=d.lines,a+=d.length+1,f.push(d))}function u(){h!=0&&(l.push(f.length==1?f[0]:It.from(f,a)),a=-1,h=f.length=0)}for(let d of t)c(d);return u(),l.length==1?l[0]:new It(l,e)}}N.empty=new j([""],0);function ra(s){let t=-1;for(let e of s)t+=e.length+1;return t}function ki(s,t,e=0,i=1e9){for(let n=0,r=0,o=!0;r=e&&(h>i&&(l=l.slice(0,i-n)),n0?1:(t instanceof j?t.text.length:t.children.length)<<1]}nextInner(t,e){for(this.done=this.lineBreak=!1;;){let i=this.nodes.length-1,n=this.nodes[i],r=this.offsets[i],o=r>>1,l=n instanceof j?n.text.length:n.children.length;if(o==(e>0?l:0)){if(i==0)return this.done=!0,this.value="",this;e>0&&this.offsets[i-1]++,this.nodes.pop(),this.offsets.pop()}else if((r&1)==(e>0?0:1)){if(this.offsets[i]+=e,t==0)return this.lineBreak=!0,this.value=` `,this;t--}else if(n instanceof j){let h=n.text[o+(e<0?-1:0)];if(this.offsets[i]+=e,h.length>Math.max(0,t))return this.value=t==0?h:e>0?h.slice(t):h.slice(0,h.length-t),this;t-=h.length}else{let h=n.children[o+(e<0?-1:0)];t>h.length?(t-=h.length,this.offsets[i]+=e):(e<0&&this.offsets[i]--,this.nodes.push(h),this.offsets.push(e>0?1:(h instanceof j?h.text.length:h.children.length)<<1))}}}next(t=0){return t<0&&(this.nextInner(-t,-this.dir),t=this.value.length),this.nextInner(t,this.dir)}}class Mo{constructor(t,e,i){this.value="",this.done=!1,this.cursor=new He(t,e>i?-1:1),this.pos=e>i?t.length:0,this.from=Math.min(e,i),this.to=Math.max(e,i)}nextInner(t,e){if(e<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;t+=Math.max(0,e<0?this.pos-this.to:this.from-this.pos);let i=e<0?this.pos-this.from:this.to-this.pos;t>i&&(t=i),i-=t;let{value:n}=this.cursor.next(t);return this.pos+=(n.length+t)*e,this.value=n.length<=i?n:e<0?n.slice(n.length-i):n.slice(0,i),this.done=!this.value,this}next(t=0){return t<0?t=Math.max(t,this.from-this.pos):t>0&&(t=Math.min(t,this.to-this.pos)),this.nextInner(t,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class Do{constructor(t){this.inner=t,this.afterBreak=!0,this.value="",this.done=!1}next(t=0){let{done:e,lineBreak:i,value:n}=this.inner.next(t);return e?(this.done=!0,this.value=""):i?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=n,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(N.prototype[Symbol.iterator]=function(){return this.iter()},He.prototype[Symbol.iterator]=Mo.prototype[Symbol.iterator]=Do.prototype[Symbol.iterator]=function(){return this});class oa{constructor(t,e,i,n){this.from=t,this.to=e,this.number=i,this.text=n}get length(){return this.to-this.from}}let Se="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(s=>s?parseInt(s,36):1);for(let s=1;ss)return Se[t-1]<=s;return!1}function _s(s){return s>=127462&&s<=127487}const Xs=8205;function gt(s,t,e=!0,i=!0){return(e?To:ha)(s,t,i)}function To(s,t,e){if(t==s.length)return t;t&&Po(s.charCodeAt(t))&&Bo(s.charCodeAt(t-1))&&t--;let i=dt(s,t);for(t+=Ot(i);t=0&&_s(dt(s,o));)r++,o-=2;if(r%2==0)break;t+=2}else break}return t}function ha(s,t,e){for(;t>0;){let i=To(s,t-2,e);if(i=56320&&s<57344}function Bo(s){return s>=55296&&s<56320}function dt(s,t){let e=s.charCodeAt(t);if(!Bo(e)||t+1==s.length)return e;let i=s.charCodeAt(t+1);return Po(i)?(e-55296<<10)+(i-56320)+65536:e}function Ro(s){return s<=65535?String.fromCharCode(s):(s-=65536,String.fromCharCode((s>>10)+55296,(s&1023)+56320))}function Ot(s){return s<65536?1:2}const Bn=/\r\n?|\n/;var ht=function(s){return s[s.Simple=0]="Simple",s[s.TrackDel=1]="TrackDel",s[s.TrackBefore=2]="TrackBefore",s[s.TrackAfter=3]="TrackAfter",s}(ht||(ht={}));class Lt{constructor(t){this.sections=t}get length(){let t=0;for(let e=0;et)return r+(t-n);r+=l}else{if(i!=ht.Simple&&a>=t&&(i==ht.TrackDel&&nt||i==ht.TrackBefore&&nt))return null;if(a>t||a==t&&e<0&&!l)return t==n||e<0?r:r+h;r+=h}n=a}if(t>n)throw new RangeError(`Position ${t} is out of range for changeset of length ${n}`);return r}touchesRange(t,e=t){for(let i=0,n=0;i=0&&n<=e&&l>=t)return ne?"cover":!0;n=l}return!1}toString(){let t="";for(let e=0;e=0?":"+n:"")}return t}toJSON(){return this.sections}static fromJSON(t){if(!Array.isArray(t)||t.length%2||t.some(e=>typeof e!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new Lt(t)}static create(t){return new Lt(t)}}class J extends Lt{constructor(t,e){super(t),this.inserted=e}apply(t){if(this.length!=t.length)throw new RangeError("Applying change set to a document with the wrong length");return Rn(this,(e,i,n,r,o)=>t=t.replace(n,n+(i-e),o),!1),t}mapDesc(t,e=!1){return En(this,t,e,!0)}invert(t){let e=this.sections.slice(),i=[];for(let n=0,r=0;n=0){e[n]=l,e[n+1]=o;let h=n>>1;for(;i.length0&&$t(i,e,r.text),r.forward(f),l+=f}let a=t[o++];for(;l>1].toJSON()))}return t}static of(t,e,i){let n=[],r=[],o=0,l=null;function h(f=!1){if(!f&&!n.length)return;ou||c<0||u>e)throw new RangeError(`Invalid change range ${c} to ${u} (in doc of length ${e})`);let p=d?typeof d=="string"?N.of(d.split(i||Bn)):d:N.empty,m=p.length;if(c==u&&m==0)return;co&&it(n,c-o,-1),it(n,u-c,m),$t(r,n,p),o=u}}return a(t),h(!l),l}static empty(t){return new J(t?[t,-1]:[],[])}static fromJSON(t){if(!Array.isArray(t))throw new RangeError("Invalid JSON representation of ChangeSet");let e=[],i=[];for(let n=0;nl&&typeof o!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(r.length==1)e.push(r[0],0);else{for(;i.length=0&&e<=0&&e==s[n+1]?s[n]+=t:t==0&&s[n]==0?s[n+1]+=e:i?(s[n]+=t,s[n+1]+=e):s.push(t,e)}function $t(s,t,e){if(e.length==0)return;let i=t.length-2>>1;if(i>1])),!(e||o==s.sections.length||s.sections[o+1]<0);)l=s.sections[o++],h=s.sections[o++];t(n,a,r,f,c),n=a,r=f}}}function En(s,t,e,i=!1){let n=[],r=i?[]:null,o=new je(s),l=new je(t);for(let h=-1;;)if(o.ins==-1&&l.ins==-1){let a=Math.min(o.len,l.len);it(n,a,-1),o.forward(a),l.forward(a)}else if(l.ins>=0&&(o.ins<0||h==o.i||o.off==0&&(l.len=0&&h=0){let a=0,f=o.len;for(;f;)if(l.ins==-1){let c=Math.min(f,l.len);a+=c,f-=c,l.forward(c)}else if(l.ins==0&&l.lenh||o.ins>=0&&o.len>h)&&(l||i.length>a),r.forward2(h),o.forward(h)}}}}class je{constructor(t){this.set=t,this.i=0,this.next()}next(){let{sections:t}=this.set;this.i>1;return e>=t.length?N.empty:t[e]}textBit(t){let{inserted:e}=this.set,i=this.i-2>>1;return i>=e.length&&!t?N.empty:e[i].slice(this.off,t==null?void 0:this.off+t)}forward(t){t==this.len?this.next():(this.len-=t,this.off+=t)}forward2(t){this.ins==-1?this.forward(t):t==this.ins?this.next():(this.ins-=t,this.off+=t)}}class fe{constructor(t,e,i){this.from=t,this.to=e,this.flags=i}get anchor(){return this.flags&16?this.to:this.from}get head(){return this.flags&16?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&4?-1:this.flags&8?1:0}get bidiLevel(){let t=this.flags&3;return t==3?null:t}get goalColumn(){let t=this.flags>>5;return t==33554431?void 0:t}map(t,e=-1){let i,n;return this.empty?i=n=t.mapPos(this.from,e):(i=t.mapPos(this.from,1),n=t.mapPos(this.to,-1)),i==this.from&&n==this.to?this:new fe(i,n,this.flags)}extend(t,e=t){if(t<=this.anchor&&e>=this.anchor)return b.range(t,e);let i=Math.abs(t-this.anchor)>Math.abs(e-this.anchor)?t:e;return b.range(this.anchor,i)}eq(t){return this.anchor==t.anchor&&this.head==t.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(t){if(!t||typeof t.anchor!="number"||typeof t.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return b.range(t.anchor,t.head)}static create(t,e,i){return new fe(t,e,i)}}class b{constructor(t,e){this.ranges=t,this.mainIndex=e}map(t,e=-1){return t.empty?this:b.create(this.ranges.map(i=>i.map(t,e)),this.mainIndex)}eq(t){if(this.ranges.length!=t.ranges.length||this.mainIndex!=t.mainIndex)return!1;for(let e=0;et.toJSON()),main:this.mainIndex}}static fromJSON(t){if(!t||!Array.isArray(t.ranges)||typeof t.main!="number"||t.main>=t.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new b(t.ranges.map(e=>fe.fromJSON(e)),t.main)}static single(t,e=t){return new b([b.range(t,e)],0)}static create(t,e=0){if(t.length==0)throw new RangeError("A selection needs at least one range");for(let i=0,n=0;nt?4:0)|r)}static normalized(t,e=0){let i=t[e];t.sort((n,r)=>n.from-r.from),e=t.indexOf(i);for(let n=1;nr.head?b.range(h,l):b.range(l,h))}}return new b(t,e)}}function Io(s,t){for(let e of s.ranges)if(e.to>t)throw new RangeError("Selection points outside of document")}let ms=0;class M{constructor(t,e,i,n,r){this.combine=t,this.compareInput=e,this.compare=i,this.isStatic=n,this.id=ms++,this.default=t([]),this.extensions=typeof r=="function"?r(this):r}static define(t={}){return new M(t.combine||(e=>e),t.compareInput||((e,i)=>e===i),t.compare||(t.combine?(e,i)=>e===i:ys),!!t.static,t.enables)}of(t){return new xi([],this,0,t)}compute(t,e){if(this.isStatic)throw new Error("Can't compute a static facet");return new xi(t,this,1,e)}computeN(t,e){if(this.isStatic)throw new Error("Can't compute a static facet");return new xi(t,this,2,e)}from(t,e){return e||(e=i=>i),this.compute([t],i=>e(i.field(t)))}}function ys(s,t){return s==t||s.length==t.length&&s.every((e,i)=>e===t[i])}class xi{constructor(t,e,i,n){this.dependencies=t,this.facet=e,this.type=i,this.value=n,this.id=ms++}dynamicSlot(t){var e;let i=this.value,n=this.facet.compareInput,r=this.id,o=t[r]>>1,l=this.type==2,h=!1,a=!1,f=[];for(let c of this.dependencies)c=="doc"?h=!0:c=="selection"?a=!0:((e=t[c.id])!==null&&e!==void 0?e:1)&1||f.push(t[c.id]);return{create(c){return c.values[o]=i(c),1},update(c,u){if(h&&u.docChanged||a&&(u.docChanged||u.selection)||In(c,f)){let d=i(c);if(l?!Ys(d,c.values[o],n):!n(d,c.values[o]))return c.values[o]=d,1}return 0},reconfigure:(c,u)=>{let d,p=u.config.address[r];if(p!=null){let m=Di(u,p);if(this.dependencies.every(g=>g instanceof M?u.facet(g)===c.facet(g):g instanceof kt?u.field(g,!1)==c.field(g,!1):!0)||(l?Ys(d=i(c),m,n):n(d=i(c),m)))return c.values[o]=m,0}else d=i(c);return c.values[o]=d,1}}}}function Ys(s,t,e){if(s.length!=t.length)return!1;for(let i=0;is[h.id]),n=e.map(h=>h.type),r=i.filter(h=>!(h&1)),o=s[t.id]>>1;function l(h){let a=[];for(let f=0;fi===n),t);return t.provide&&(e.provides=t.provide(e)),e}create(t){let e=t.facet(Zs).find(i=>i.field==this);return((e==null?void 0:e.create)||this.createF)(t)}slot(t){let e=t[this.id]>>1;return{create:i=>(i.values[e]=this.create(i),1),update:(i,n)=>{let r=i.values[e],o=this.updateF(r,n);return this.compareF(r,o)?0:(i.values[e]=o,1)},reconfigure:(i,n)=>n.config.address[this.id]!=null?(i.values[e]=n.field(this),0):(i.values[e]=this.create(i),1)}}init(t){return[this,Zs.of({field:this,create:t})]}get extension(){return this}}const ae={lowest:4,low:3,default:2,high:1,highest:0};function Ee(s){return t=>new No(t,s)}const Xi={highest:Ee(ae.highest),high:Ee(ae.high),default:Ee(ae.default),low:Ee(ae.low),lowest:Ee(ae.lowest)};class No{constructor(t,e){this.inner=t,this.prec=e}}class Yi{of(t){return new Nn(this,t)}reconfigure(t){return Yi.reconfigure.of({compartment:this,extension:t})}get(t){return t.config.compartments.get(this)}}class Nn{constructor(t,e){this.compartment=t,this.inner=e}}class Mi{constructor(t,e,i,n,r,o){for(this.base=t,this.compartments=e,this.dynamicSlots=i,this.address=n,this.staticValues=r,this.facets=o,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(t,e,i){let n=[],r=Object.create(null),o=new Map;for(let u of fa(t,e,o))u instanceof kt?n.push(u):(r[u.facet.id]||(r[u.facet.id]=[])).push(u);let l=Object.create(null),h=[],a=[];for(let u of n)l[u.id]=a.length<<1,a.push(d=>u.slot(d));let f=i==null?void 0:i.config.facets;for(let u in r){let d=r[u],p=d[0].facet,m=f&&f[u]||[];if(d.every(g=>g.type==0))if(l[p.id]=h.length<<1|1,ys(m,d))h.push(i.facet(p));else{let g=p.combine(d.map(y=>y.value));h.push(i&&p.compare(g,i.facet(p))?i.facet(p):g)}else{for(let g of d)g.type==0?(l[g.id]=h.length<<1|1,h.push(g.value)):(l[g.id]=a.length<<1,a.push(y=>g.dynamicSlot(y)));l[p.id]=a.length<<1,a.push(g=>aa(g,p,d))}}let c=a.map(u=>u(l));return new Mi(t,o,c,l,h,r)}}function fa(s,t,e){let i=[[],[],[],[],[]],n=new Map;function r(o,l){let h=n.get(o);if(h!=null){if(h<=l)return;let a=i[h].indexOf(o);a>-1&&i[h].splice(a,1),o instanceof Nn&&e.delete(o.compartment)}if(n.set(o,l),Array.isArray(o))for(let a of o)r(a,l);else if(o instanceof Nn){if(e.has(o.compartment))throw new RangeError("Duplicate use of compartment in extensions");let a=t.get(o.compartment)||o.inner;e.set(o.compartment,a),r(a,l)}else if(o instanceof No)r(o.inner,o.prec);else if(o instanceof kt)i[l].push(o),o.provides&&r(o.provides,l);else if(o instanceof xi)i[l].push(o),o.facet.extensions&&r(o.facet.extensions,ae.default);else{let a=o.extension;if(!a)throw new Error(`Unrecognized extension value in extension set (${o}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);r(a,l)}}return r(s,ae.default),i.reduce((o,l)=>o.concat(l))}function We(s,t){if(t&1)return 2;let e=t>>1,i=s.status[e];if(i==4)throw new Error("Cyclic dependency between fields and/or facets");if(i&2)return i;s.status[e]=4;let n=s.computeSlot(s,s.config.dynamicSlots[e]);return s.status[e]=2|n}function Di(s,t){return t&1?s.config.staticValues[t>>1]:s.values[t>>1]}const Lo=M.define(),Vo=M.define({combine:s=>s.some(t=>t),static:!0}),Fo=M.define({combine:s=>s.length?s[0]:void 0,static:!0}),zo=M.define(),Ho=M.define(),Wo=M.define(),qo=M.define({combine:s=>s.length?s[0]:!1});class re{constructor(t,e){this.type=t,this.value=e}static define(){return new ca}}class ca{of(t){return new re(this,t)}}class ua{constructor(t){this.map=t}of(t){return new V(this,t)}}class V{constructor(t,e){this.type=t,this.value=e}map(t){let e=this.type.map(this.value,t);return e===void 0?void 0:e==this.value?this:new V(this.type,e)}is(t){return this.type==t}static define(t={}){return new ua(t.map||(e=>e))}static mapEffects(t,e){if(!t.length)return t;let i=[];for(let n of t){let r=n.map(e);r&&i.push(r)}return i}}V.reconfigure=V.define();V.appendConfig=V.define();class ${constructor(t,e,i,n,r,o){this.startState=t,this.changes=e,this.selection=i,this.effects=n,this.annotations=r,this.scrollIntoView=o,this._doc=null,this._state=null,i&&Io(i,e.newLength),r.some(l=>l.type==$.time)||(this.annotations=r.concat($.time.of(Date.now())))}static create(t,e,i,n,r,o){return new $(t,e,i,n,r,o)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(t){for(let e of this.annotations)if(e.type==t)return e.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(t){let e=this.annotation($.userEvent);return!!(e&&(e==t||e.length>t.length&&e.slice(0,t.length)==t&&e[t.length]=="."))}}$.time=re.define();$.userEvent=re.define();$.addToHistory=re.define();$.remote=re.define();function da(s,t){let e=[];for(let i=0,n=0;;){let r,o;if(i=s[i]))r=s[i++],o=s[i++];else if(n=0;n--){let r=i[n](s);r instanceof $?s=r:Array.isArray(r)&&r.length==1&&r[0]instanceof $?s=r[0]:s=Uo(t,ve(r),!1)}return s}function ga(s){let t=s.startState,e=t.facet(Wo),i=s;for(let n=e.length-1;n>=0;n--){let r=e[n](s);r&&Object.keys(r).length&&(i=jo(i,Ln(t,r,s.changes.newLength),!0))}return i==s?s:$.create(t,s.changes,s.selection,i.effects,i.annotations,i.scrollIntoView)}const ma=[];function ve(s){return s==null?ma:Array.isArray(s)?s:[s]}var yt=function(s){return s[s.Word=0]="Word",s[s.Space=1]="Space",s[s.Other=2]="Other",s}(yt||(yt={}));const ya=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let Vn;try{Vn=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function ba(s){if(Vn)return Vn.test(s);for(let t=0;t"€"&&(e.toUpperCase()!=e.toLowerCase()||ya.test(e)))return!0}return!1}function wa(s){return t=>{if(!/\S/.test(t))return yt.Space;if(ba(t))return yt.Word;for(let e=0;e-1)return yt.Word;return yt.Other}}class I{constructor(t,e,i,n,r,o){this.config=t,this.doc=e,this.selection=i,this.values=n,this.status=t.statusTemplate.slice(),this.computeSlot=r,o&&(o._state=this);for(let l=0;ln.set(h,l)),e=null),n.set(o.value.compartment,o.value.extension)):o.is(V.reconfigure)?(e=null,i=o.value):o.is(V.appendConfig)&&(e=null,i=ve(i).concat(o.value));let r;e?r=t.startState.values.slice():(e=Mi.resolve(i,n,this),r=new I(e,this.doc,this.selection,e.dynamicSlots.map(()=>null),(l,h)=>h.reconfigure(l,this),null).values),new I(e,t.newDoc,t.newSelection,r,(o,l)=>l.update(o,t),t)}replaceSelection(t){return typeof t=="string"&&(t=this.toText(t)),this.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:t},range:b.cursor(e.from+t.length)}))}changeByRange(t){let e=this.selection,i=t(e.ranges[0]),n=this.changes(i.changes),r=[i.range],o=ve(i.effects);for(let l=1;lo.spec.fromJSON(l,h)))}}return I.create({doc:t.doc,selection:b.fromJSON(t.selection),extensions:e.extensions?n.concat([e.extensions]):n})}static create(t={}){let e=Mi.resolve(t.extensions||[],new Map),i=t.doc instanceof N?t.doc:N.of((t.doc||"").split(e.staticFacet(I.lineSeparator)||Bn)),n=t.selection?t.selection instanceof b?t.selection:b.single(t.selection.anchor,t.selection.head):b.single(0);return Io(n,i.length),e.staticFacet(Vo)||(n=n.asSingle()),new I(e,i,n,e.dynamicSlots.map(()=>null),(r,o)=>o.create(r),null)}get tabSize(){return this.facet(I.tabSize)}get lineBreak(){return this.facet(I.lineSeparator)||` diff --git a/ui/assets/local/_app/immutable/chunks/copy-to-clipboard.3607fbc7.js b/ui/assets/local/_app/immutable/chunks/copy-to-clipboard.a6afb80a.js similarity index 77% rename from ui/assets/local/_app/immutable/chunks/copy-to-clipboard.3607fbc7.js rename to ui/assets/local/_app/immutable/chunks/copy-to-clipboard.a6afb80a.js index 0e4868b9aa..9535efc0d1 100644 --- a/ui/assets/local/_app/immutable/chunks/copy-to-clipboard.3607fbc7.js +++ b/ui/assets/local/_app/immutable/chunks/copy-to-clipboard.a6afb80a.js @@ -1 +1 @@ -import{w as c}from"./singletons.aae8f11e.js";const i=(r=2e3)=>{const o=c(!1);return{copy:async(t,e)=>{t.preventDefault(),t.stopPropagation();try{await navigator.clipboard.writeText(e),o.set(!0),setTimeout(()=>{o.set(!1)},r)}catch(a){console.error(a)}},copied:o}};export{i as c}; +import{w as c}from"./singletons.741208bb.js";const i=(r=2e3)=>{const o=c(!1);return{copy:async(t,e)=>{t.preventDefault(),t.stopPropagation();try{await navigator.clipboard.writeText(e),o.set(!0),setTimeout(()=>{o.set(!1)},r)}catch(a){console.error(a)}},copied:o}};export{i as c}; diff --git a/ui/assets/local/_app/immutable/chunks/core-user.3a655c21.js b/ui/assets/local/_app/immutable/chunks/core-user.c59191b9.js similarity index 63% rename from ui/assets/local/_app/immutable/chunks/core-user.3a655c21.js rename to ui/assets/local/_app/immutable/chunks/core-user.c59191b9.js index 89e1b45ebf..e71dc93f9c 100644 --- a/ui/assets/local/_app/immutable/chunks/core-user.3a655c21.js +++ b/ui/assets/local/_app/immutable/chunks/core-user.c59191b9.js @@ -1 +1 @@ -import{r}from"./singletons.aae8f11e.js";import{ak as t,af as o}from"./index.09834243.js";const e="CoreUser",s=r({namespaceWriteDisabled:()=>!1}),c=()=>t(e)?o(e):s;export{c}; +import{r}from"./singletons.741208bb.js";import{ak as t,af as o}from"./index.09834243.js";const e="CoreUser",s=r({namespaceWriteDisabled:()=>!1}),c=()=>t(e)?o(e):s;export{c}; diff --git a/ui/assets/local/_app/immutable/chunks/data-encoder-config.b5b7b570.js b/ui/assets/local/_app/immutable/chunks/data-encoder-config.79b97010.js similarity index 74% rename from ui/assets/local/_app/immutable/chunks/data-encoder-config.b5b7b570.js rename to ui/assets/local/_app/immutable/chunks/data-encoder-config.79b97010.js index 460f7c979f..03515e4bb7 100644 --- a/ui/assets/local/_app/immutable/chunks/data-encoder-config.b5b7b570.js +++ b/ui/assets/local/_app/immutable/chunks/data-encoder-config.79b97010.js @@ -1 +1 @@ -import{w as a}from"./singletons.aae8f11e.js";import{p as e}from"./persist-store.ad106cab.js";import{h as n}from"./has.b142a10d.js";const d=e("endpoint",null,!0),u=e("passAccessToken",!1,!0),l=e("includeCredentials",!1,!0),f=e("overrideRemoteCodecConfiguration",!1,!0),o=a("notRequested"),t=a("");function p(s){o.set("error"),s&&n(s,"message")&&typeof s.message=="string"?t.set(s.message):t.set("")}function m(){o.set("success")}export{t as a,m as b,d as c,l as i,o as l,f as o,u as p,p as s}; +import{w as a}from"./singletons.741208bb.js";import{p as e}from"./persist-store.47877c2b.js";import{h as n}from"./has.b142a10d.js";const d=e("endpoint",null,!0),u=e("passAccessToken",!1,!0),l=e("includeCredentials",!1,!0),f=e("overrideRemoteCodecConfiguration",!1,!0),o=a("notRequested"),t=a("");function p(s){o.set("error"),s&&n(s,"message")&&typeof s.message=="string"?t.set(s.message):t.set("")}function m(){o.set("success")}export{t as a,m as b,d as c,l as i,o as l,f as o,u as p,p as s}; diff --git a/ui/assets/local/_app/immutable/chunks/decode-payload.1c6b12fc.js b/ui/assets/local/_app/immutable/chunks/decode-payload.e6040d83.js similarity index 97% rename from ui/assets/local/_app/immutable/chunks/decode-payload.1c6b12fc.js rename to ui/assets/local/_app/immutable/chunks/decode-payload.e6040d83.js index 6fa3dde3a2..b3fa640274 100644 --- a/ui/assets/local/_app/immutable/chunks/decode-payload.1c6b12fc.js +++ b/ui/assets/local/_app/immutable/chunks/decode-payload.e6040d83.js @@ -1 +1 @@ -import{t as j}from"./translate.0a219ae4.js";import{s as C,b as R}from"./data-encoder-config.b5b7b570.js";import{h as i}from"./has.b142a10d.js";import{v as S}from"./is-http.486112c3.js";import{s as O,p as q,i as k}from"./parse-with-big-int.b38462f3.js";import{a as W}from"./atob.568d13ab.js";async function B({payloads:e,namespace:o,settings:c,accessToken:r,encode:n=!1}){var u,m,P;const d=(u=c==null?void 0:c.codec)==null?void 0:u.endpoint,s=(m=c==null?void 0:c.codec)==null?void 0:m.passAccessToken,t=(P=c==null?void 0:c.codec)==null?void 0:P.includeCredentials,f={"Content-Type":"application/json","X-Namespace":o};if(s)if(S(d))f.Authorization=`Bearer ${r}`;else return C(),e;const T=t?{headers:f,credentials:"include",method:"POST",body:O(e)}:{headers:f,method:"POST",body:O(e)};return fetch(d+(n?"/encode":"/decode"),T).then(a=>{if(i(a,"ok")&&!a.ok)throw{statusCode:a.status,statusText:a.statusText,response:a,message:n?j("encode-failed"):j("decode-failed")};return a.json()}).then(a=>(R(),a)).catch(a=>(C(a),e))}const w=e=>Array.isArray(e)?e:[e];function l(e){var c;if(e===null)return e;const o=W(String(((c=e==null?void 0:e.metadata)==null?void 0:c.encoding)??""));if(e!=null&&e.metadata&&(e.metadata.encodingDecoded=o),o!=null&&o.startsWith("json/"))try{return q(W(String((e==null?void 0:e.data)??"")))}catch(r){console.warn("Could not parse payload: ",r)}return o==="binary/null"?null:e}const K=e=>{if(i(e,"searchAttributes")&&i(e.searchAttributes,"indexedFields")){const o=e.searchAttributes.indexedFields;Object.entries(o).forEach(([c,r])=>{o[c]=l(r)})}if(i(e,"memo")&&i(e.memo,"fields")){const o=e.memo.fields;Object.entries(o).forEach(([c,r])=>{o[c]=l(r)})}if(i(e,"header")&&i(e.header,"fields")){const o=e.header.fields;Object.entries(o).forEach(([c,r])=>{o[c]=l(r)})}if(i(e,"queryResult")){const o=e==null?void 0:e.queryResult;Object.entries(o).forEach(([c,r])=>{o[c]=l(r)})}return e},x=(e,o,c)=>async r=>{var n;if((n=o==null?void 0:o.codec)!=null&&n.endpoint){const d=await B({payloads:{payloads:r},namespace:e,settings:o,accessToken:c});return((d==null?void 0:d.payloads)??[]).map(l)}else return r.map(l)},h=(e,...o)=>{for(const c of o)if(e===c)return!0;return!1},E=async(e,o,c,r)=>{const n=x(o,c,r);if(e)for(const d of Object.keys(e))if(h(d,"payloads","encodedAttributes")&&e[d]){const s=w(e[d]),t=await n(s);e[d]=h(d,"encodedAttributes")?t[0]:t}else{const s=e[d];k(s)&&(e[d]=await E(s,o,c,r))}return e},F=async(e,o,c,r)=>{if(!e)return e;const n=x(o,c,r),d={...e};if(e)for(const s of Object.keys(d))if(h(s,"payloads","encodedAttributes")&&d[s]){const t=w(d[s]),f=await n(t);d[s]=h(s,"encodedAttributes")?f[0]:f}else{const t=d[s];k(t)&&(d[s]=await F(t,o,c,r))}return d},N=async({attributes:e,namespace:o,settings:c,accessToken:r})=>await E(e,o,c,r);export{l as a,B as b,N as c,K as d,F as e}; +import{t as j}from"./translate.0a219ae4.js";import{s as C,b as R}from"./data-encoder-config.79b97010.js";import{h as i}from"./has.b142a10d.js";import{v as S}from"./is-http.486112c3.js";import{s as O,p as q,i as k}from"./parse-with-big-int.b38462f3.js";import{a as W}from"./atob.568d13ab.js";async function B({payloads:e,namespace:o,settings:c,accessToken:r,encode:n=!1}){var u,m,P;const d=(u=c==null?void 0:c.codec)==null?void 0:u.endpoint,s=(m=c==null?void 0:c.codec)==null?void 0:m.passAccessToken,t=(P=c==null?void 0:c.codec)==null?void 0:P.includeCredentials,f={"Content-Type":"application/json","X-Namespace":o};if(s)if(S(d))f.Authorization=`Bearer ${r}`;else return C(),e;const T=t?{headers:f,credentials:"include",method:"POST",body:O(e)}:{headers:f,method:"POST",body:O(e)};return fetch(d+(n?"/encode":"/decode"),T).then(a=>{if(i(a,"ok")&&!a.ok)throw{statusCode:a.status,statusText:a.statusText,response:a,message:n?j("encode-failed"):j("decode-failed")};return a.json()}).then(a=>(R(),a)).catch(a=>(C(a),e))}const w=e=>Array.isArray(e)?e:[e];function l(e){var c;if(e===null)return e;const o=W(String(((c=e==null?void 0:e.metadata)==null?void 0:c.encoding)??""));if(e!=null&&e.metadata&&(e.metadata.encodingDecoded=o),o!=null&&o.startsWith("json/"))try{return q(W(String((e==null?void 0:e.data)??"")))}catch(r){console.warn("Could not parse payload: ",r)}return o==="binary/null"?null:e}const K=e=>{if(i(e,"searchAttributes")&&i(e.searchAttributes,"indexedFields")){const o=e.searchAttributes.indexedFields;Object.entries(o).forEach(([c,r])=>{o[c]=l(r)})}if(i(e,"memo")&&i(e.memo,"fields")){const o=e.memo.fields;Object.entries(o).forEach(([c,r])=>{o[c]=l(r)})}if(i(e,"header")&&i(e.header,"fields")){const o=e.header.fields;Object.entries(o).forEach(([c,r])=>{o[c]=l(r)})}if(i(e,"queryResult")){const o=e==null?void 0:e.queryResult;Object.entries(o).forEach(([c,r])=>{o[c]=l(r)})}return e},x=(e,o,c)=>async r=>{var n;if((n=o==null?void 0:o.codec)!=null&&n.endpoint){const d=await B({payloads:{payloads:r},namespace:e,settings:o,accessToken:c});return((d==null?void 0:d.payloads)??[]).map(l)}else return r.map(l)},h=(e,...o)=>{for(const c of o)if(e===c)return!0;return!1},E=async(e,o,c,r)=>{const n=x(o,c,r);if(e)for(const d of Object.keys(e))if(h(d,"payloads","encodedAttributes")&&e[d]){const s=w(e[d]),t=await n(s);e[d]=h(d,"encodedAttributes")?t[0]:t}else{const s=e[d];k(s)&&(e[d]=await E(s,o,c,r))}return e},F=async(e,o,c,r)=>{if(!e)return e;const n=x(o,c,r),d={...e};if(e)for(const s of Object.keys(d))if(h(s,"payloads","encodedAttributes")&&d[s]){const t=w(d[s]),f=await n(t);d[s]=h(s,"encodedAttributes")?f[0]:f}else{const t=d[s];k(t)&&(d[s]=await F(t,o,c,r))}return d},N=async({attributes:e,namespace:o,settings:c,accessToken:r})=>await E(e,o,c,r);export{l as a,B as b,N as c,K as d,F as e}; diff --git a/ui/assets/local/_app/immutable/chunks/drawer.14ba7d3c.js b/ui/assets/local/_app/immutable/chunks/drawer.14ba7d3c.js deleted file mode 100644 index f6894d24f5..0000000000 --- a/ui/assets/local/_app/immutable/chunks/drawer.14ba7d3c.js +++ /dev/null @@ -1 +0,0 @@ -import{S as $,b as ee,a as se,e as N,f as A,j as v,z as U,g as w,h as W,k as b,ah as te,i as O,G as X,m as L,C as le,c as y,w as ae,p as B,q as H,D as ie,d as z,x as ne,u as d,P as V,L as j,E as oe,a2 as re,Q as fe,y as ue,H as Y,I as Z,J as x,a3 as _e,a9 as Q,F as ce,r as de}from"./index.09834243.js";import{c as me,f as K}from"./menu.c7988d0b.js";import{I as he}from"./icon-button.b5ab850e.js";const be=e=>({}),M=e=>({});function R(e){let s,a,t,l,i,o,h,k,E,p,D,m,I,r,g,_,q,F;t=new he({props:{"data-testid":"drawer-close-button",label:e[6],icon:"close","aria-expanded":e[0],"aria-controls":"navigation-drawer"}}),t.$on("click",function(){O(e[4])&&e[4].apply(this,arguments)});let f=e[8].subtitle&&T(e);const P=e[10].default,c=X(P,e,e[9],null);return{c(){s=L("aside"),a=L("div"),le(t.$$.fragment),i=y(),o=L("div"),h=L("h1"),k=ae(e[1]),E=y(),f&&f.c(),D=y(),m=L("div"),c&&c.c(),this.h()},l(u){s=B(u,"ASIDE",{class:!0,id:!0,role:!0});var n=H(s);a=B(n,"DIV",{class:!0});var C=H(a);ie(t.$$.fragment,C),C.forEach(b),i=z(n),o=B(n,"DIV",{class:!0});var S=H(o);h=B(S,"H1",{class:!0});var G=H(h);k=ne(G,e[1]),G.forEach(b),E=z(S),f&&f.l(S),S.forEach(b),D=z(n),m=B(n,"DIV",{class:!0});var J=H(m);c&&c.l(J),J.forEach(b),n.forEach(b),this.h()},h(){d(a,"class",l="close-button-wrapper "+e[2]+" svelte-i6sjjd"),d(h,"class","svelte-i6sjjd"),d(o,"class",p="title-wrapper "+e[2]+" svelte-i6sjjd"),d(m,"class",I="content "+e[2]+" svelte-i6sjjd"),d(s,"class",r="drawer "+e[2]+" svelte-i6sjjd"),d(s,"id",e[5]),d(s,"role","region"),V(s,"dark",e[3]),V(s,"max-w-[400px]",e[2]==="right")},m(u,n){A(u,s,n),j(s,a),oe(t,a,null),j(s,i),j(s,o),j(o,h),j(h,k),j(o,E),f&&f.m(o,null),j(s,D),j(s,m),c&&c.m(m,null),_=!0,q||(F=[re(me.call(null,s)),fe(s,"click-outside",function(){O(e[4])&&e[4].apply(this,arguments)})],q=!0)},p(u,n){e=u;const C={};n&64&&(C.label=e[6]),n&1&&(C["aria-expanded"]=e[0]),t.$set(C),(!_||n&4&&l!==(l="close-button-wrapper "+e[2]+" svelte-i6sjjd"))&&d(a,"class",l),(!_||n&2)&&ue(k,e[1]),e[8].subtitle?f?(f.p(e,n),n&256&&v(f,1)):(f=T(e),f.c(),v(f,1),f.m(o,null)):f&&(U(),w(f,1,1,()=>{f=null}),W()),(!_||n&4&&p!==(p="title-wrapper "+e[2]+" svelte-i6sjjd"))&&d(o,"class",p),c&&c.p&&(!_||n&512)&&Y(c,P,e,e[9],_?x(P,e[9],n,null):Z(e[9]),null),(!_||n&4&&I!==(I="content "+e[2]+" svelte-i6sjjd"))&&d(m,"class",I),(!_||n&4&&r!==(r="drawer "+e[2]+" svelte-i6sjjd"))&&d(s,"class",r),(!_||n&32)&&d(s,"id",e[5]),(!_||n&12)&&V(s,"dark",e[3]),(!_||n&4)&&V(s,"max-w-[400px]",e[2]==="right")},i(u){_||(v(t.$$.fragment,u),v(f),v(c,u),_e(()=>{g||(g=Q(s,K,e[7],!0)),g.run(1)}),_=!0)},o(u){w(t.$$.fragment,u),w(f),w(c,u),g||(g=Q(s,K,e[7],!1)),g.run(0),_=!1},d(u){u&&b(s),ce(t),f&&f.d(),c&&c.d(u),u&&g&&g.end(),q=!1,de(F)}}}function T(e){let s,a;const t=e[10].subtitle,l=X(t,e,e[9],M);return{c(){s=L("h3"),l&&l.c(),this.h()},l(i){s=B(i,"H3",{class:!0});var o=H(s);l&&l.l(o),o.forEach(b),this.h()},h(){d(s,"class","font-primary text-xs font-normal")},m(i,o){A(i,s,o),l&&l.m(s,null),a=!0},p(i,o){l&&l.p&&(!a||o&512)&&Y(l,t,i,i[9],a?x(t,i[9],o,be):Z(i[9]),M)},i(i){a||(v(l,i),a=!0)},o(i){w(l,i),a=!1},d(i){i&&b(s),l&&l.d(i)}}}function ve(e){let s,a,t=e[0]&&R(e);return{c(){t&&t.c(),s=N()},l(l){t&&t.l(l),s=N()},m(l,i){t&&t.m(l,i),A(l,s,i),a=!0},p(l,[i]){l[0]?t?(t.p(l,i),i&1&&v(t,1)):(t=R(l),t.c(),v(t,1),t.m(s.parentNode,s)):t&&(U(),w(t,1,1,()=>{t=null}),W())},i(l){a||(v(t),a=!0)},o(l){w(t),a=!1},d(l){t&&t.d(l),l&&b(s)}}}function ke(e,s,a){let{$$slots:t={},$$scope:l}=s;const i=te(t);let{open:o=!1}=s,{title:h}=s,{position:k="bottom"}=s,{dark:E=!0}=s,{onClick:p}=s,{id:D="navigation-drawer"}=s,{closeButtonLabel:m}=s;const I={duration:500,...k==="bottom"?{y:200}:{x:200}};return e.$$set=r=>{"open"in r&&a(0,o=r.open),"title"in r&&a(1,h=r.title),"position"in r&&a(2,k=r.position),"dark"in r&&a(3,E=r.dark),"onClick"in r&&a(4,p=r.onClick),"id"in r&&a(5,D=r.id),"closeButtonLabel"in r&&a(6,m=r.closeButtonLabel),"$$scope"in r&&a(9,l=r.$$scope)},[o,h,k,E,p,D,m,I,i,l,t]}class we extends ${constructor(s){super(),ee(this,s,ke,ve,se,{open:0,title:1,position:2,dark:3,onClick:4,id:5,closeButtonLabel:6})}}export{we as D}; diff --git a/ui/assets/local/_app/immutable/chunks/drawer.5e79e00e.js b/ui/assets/local/_app/immutable/chunks/drawer.5e79e00e.js new file mode 100644 index 0000000000..4465bb63a3 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/drawer.5e79e00e.js @@ -0,0 +1 @@ +import{S as ee,b as se,a as te,e as N,f as A,j as v,z as W,g as w,h as X,k as b,ah as le,i as O,G as Y,m as L,C as ae,c as y,w as ie,p as B,q as H,D as ne,d as z,x as oe,u as d,P as V,L as j,E as re,a2 as Q,Q as fe,y as ue,H as Z,I as x,J as $,a3 as ce,a9 as T,F as _e,r as de}from"./index.09834243.js";import{c as me,e as he,f as K}from"./menu.4ba49cb6.js";import{I as be}from"./icon-button.b5ab850e.js";const ve=e=>({}),M=e=>({});function R(e){let s,a,t,l,i,o,h,k,E,p,D,m,I,r,g,c,q,F;t=new be({props:{"data-testid":"drawer-close-button",label:e[6],icon:"close","aria-expanded":e[0],"aria-controls":"navigation-drawer"}}),t.$on("click",function(){O(e[4])&&e[4].apply(this,arguments)});let f=e[8].subtitle&&U(e);const P=e[10].default,_=Y(P,e,e[9],null);return{c(){s=L("aside"),a=L("div"),ae(t.$$.fragment),i=y(),o=L("div"),h=L("h1"),k=ie(e[1]),E=y(),f&&f.c(),D=y(),m=L("div"),_&&_.c(),this.h()},l(u){s=B(u,"ASIDE",{class:!0,id:!0,role:!0});var n=H(s);a=B(n,"DIV",{class:!0});var C=H(a);ne(t.$$.fragment,C),C.forEach(b),i=z(n),o=B(n,"DIV",{class:!0});var S=H(o);h=B(S,"H1",{class:!0});var G=H(h);k=oe(G,e[1]),G.forEach(b),E=z(S),f&&f.l(S),S.forEach(b),D=z(n),m=B(n,"DIV",{class:!0});var J=H(m);_&&_.l(J),J.forEach(b),n.forEach(b),this.h()},h(){d(a,"class",l="close-button-wrapper "+e[2]+" svelte-i6sjjd"),d(h,"class","svelte-i6sjjd"),d(o,"class",p="title-wrapper "+e[2]+" svelte-i6sjjd"),d(m,"class",I="content "+e[2]+" svelte-i6sjjd"),d(s,"class",r="drawer "+e[2]+" svelte-i6sjjd"),d(s,"id",e[5]),d(s,"role","region"),V(s,"dark",e[3]),V(s,"max-w-[400px]",e[2]==="right")},m(u,n){A(u,s,n),j(s,a),re(t,a,null),j(s,i),j(s,o),j(o,h),j(h,k),j(o,E),f&&f.m(o,null),j(s,D),j(s,m),_&&_.m(m,null),c=!0,q||(F=[Q(me.call(null,s)),fe(s,"click-outside",function(){O(e[4])&&e[4].apply(this,arguments)}),Q(he.call(null,s,!0))],q=!0)},p(u,n){e=u;const C={};n&64&&(C.label=e[6]),n&1&&(C["aria-expanded"]=e[0]),t.$set(C),(!c||n&4&&l!==(l="close-button-wrapper "+e[2]+" svelte-i6sjjd"))&&d(a,"class",l),(!c||n&2)&&ue(k,e[1]),e[8].subtitle?f?(f.p(e,n),n&256&&v(f,1)):(f=U(e),f.c(),v(f,1),f.m(o,null)):f&&(W(),w(f,1,1,()=>{f=null}),X()),(!c||n&4&&p!==(p="title-wrapper "+e[2]+" svelte-i6sjjd"))&&d(o,"class",p),_&&_.p&&(!c||n&512)&&Z(_,P,e,e[9],c?$(P,e[9],n,null):x(e[9]),null),(!c||n&4&&I!==(I="content "+e[2]+" svelte-i6sjjd"))&&d(m,"class",I),(!c||n&4&&r!==(r="drawer "+e[2]+" svelte-i6sjjd"))&&d(s,"class",r),(!c||n&32)&&d(s,"id",e[5]),(!c||n&12)&&V(s,"dark",e[3]),(!c||n&4)&&V(s,"max-w-[400px]",e[2]==="right")},i(u){c||(v(t.$$.fragment,u),v(f),v(_,u),ce(()=>{g||(g=T(s,K,e[7],!0)),g.run(1)}),c=!0)},o(u){w(t.$$.fragment,u),w(f),w(_,u),g||(g=T(s,K,e[7],!1)),g.run(0),c=!1},d(u){u&&b(s),_e(t),f&&f.d(),_&&_.d(u),u&&g&&g.end(),q=!1,de(F)}}}function U(e){let s,a;const t=e[10].subtitle,l=Y(t,e,e[9],M);return{c(){s=L("h3"),l&&l.c(),this.h()},l(i){s=B(i,"H3",{class:!0});var o=H(s);l&&l.l(o),o.forEach(b),this.h()},h(){d(s,"class","font-primary text-xs font-normal")},m(i,o){A(i,s,o),l&&l.m(s,null),a=!0},p(i,o){l&&l.p&&(!a||o&512)&&Z(l,t,i,i[9],a?$(t,i[9],o,ve):x(i[9]),M)},i(i){a||(v(l,i),a=!0)},o(i){w(l,i),a=!1},d(i){i&&b(s),l&&l.d(i)}}}function ke(e){let s,a,t=e[0]&&R(e);return{c(){t&&t.c(),s=N()},l(l){t&&t.l(l),s=N()},m(l,i){t&&t.m(l,i),A(l,s,i),a=!0},p(l,[i]){l[0]?t?(t.p(l,i),i&1&&v(t,1)):(t=R(l),t.c(),v(t,1),t.m(s.parentNode,s)):t&&(W(),w(t,1,1,()=>{t=null}),X())},i(l){a||(v(t),a=!0)},o(l){w(t),a=!1},d(l){t&&t.d(l),l&&b(s)}}}function ge(e,s,a){let{$$slots:t={},$$scope:l}=s;const i=le(t);let{open:o=!1}=s,{title:h}=s,{position:k="bottom"}=s,{dark:E=!0}=s,{onClick:p}=s,{id:D="navigation-drawer"}=s,{closeButtonLabel:m}=s;const I={duration:500,...k==="bottom"?{y:200}:{x:200}};return e.$$set=r=>{"open"in r&&a(0,o=r.open),"title"in r&&a(1,h=r.title),"position"in r&&a(2,k=r.position),"dark"in r&&a(3,E=r.dark),"onClick"in r&&a(4,p=r.onClick),"id"in r&&a(5,D=r.id),"closeButtonLabel"in r&&a(6,m=r.closeButtonLabel),"$$scope"in r&&a(9,l=r.$$scope)},[o,h,k,E,p,D,m,I,i,l,t]}class Ee extends ee{constructor(s){super(),se(this,s,ge,ke,te,{open:0,title:1,position:2,dark:3,onClick:4,id:5,closeButtonLabel:6})}}export{Ee as D}; diff --git a/ui/assets/local/_app/immutable/chunks/error.bc570d65.js b/ui/assets/local/_app/immutable/chunks/error.fc570cb5.js similarity index 95% rename from ui/assets/local/_app/immutable/chunks/error.bc570d65.js rename to ui/assets/local/_app/immutable/chunks/error.fc570cb5.js index 9b7f88a99f..719e9e4296 100644 --- a/ui/assets/local/_app/immutable/chunks/error.bc570d65.js +++ b/ui/assets/local/_app/immutable/chunks/error.fc570cb5.js @@ -1,4 +1,4 @@ -import{S as O,b as z,a as A,m as S,w as g,c as y,C as N,p as x,q as T,x as $,k as p,d as P,D as U,u as _,f as q,L as o,E as F,y as B,j as H,g as I,F as K,K as G,M as J}from"./index.09834243.js";import{a as Q}from"./navigation.8b74a406.js";import{p as R}from"./stores.9d4a2bb0.js";import{L as M}from"./link.4944a6a5.js";import{h as V}from"./has.b142a10d.js";function W(a){let e;return{c(){e=g("Try a refresh")},l(t){e=$(t,"Try a refresh")},m(t,l){q(t,e,l)},d(t){t&&p(e)}}}function X(a){let e;return{c(){e=g("jump on our Slack Channel")},l(t){e=$(t,"jump on our Slack Channel")},m(t,l){q(t,e,l)},d(t){t&&p(e)}}}function Y(a){let e,t,l,h,n,d,E,u,v,c,i,f,L,m,j,C;return f=new M({props:{href:a[1],target:"_self",class:"underline underline-offset-2",$$slots:{default:[W]},$$scope:{ctx:a}}}),f.$on("click",a[5]),m=new M({props:{href:"https://temporal.io/slack",$$slots:{default:[X]},$$scope:{ctx:a}}}),{c(){e=S("section"),t=S("h1"),l=g(a[0]),h=y(),n=S("p"),d=g("Uh oh. There's an error."),E=y(),u=S("p"),v=g(a[2]),c=y(),i=S("p"),N(f.$$.fragment),L=g(` +import{S as O,b as z,a as A,m as S,w as g,c as y,C as N,p as x,q as T,x as $,k as p,d as P,D as U,u as _,f as q,L as o,E as F,y as B,j as H,g as I,F as K,K as G,M as J}from"./index.09834243.js";import{a as Q}from"./navigation.3b6dd1c7.js";import{p as R}from"./stores.cd833532.js";import{L as M}from"./link.7cb1390a.js";import{h as V}from"./has.b142a10d.js";function W(a){let e;return{c(){e=g("Try a refresh")},l(t){e=$(t,"Try a refresh")},m(t,l){q(t,e,l)},d(t){t&&p(e)}}}function X(a){let e;return{c(){e=g("jump on our Slack Channel")},l(t){e=$(t,"jump on our Slack Channel")},m(t,l){q(t,e,l)},d(t){t&&p(e)}}}function Y(a){let e,t,l,h,n,d,E,u,v,c,i,f,L,m,j,C;return f=new M({props:{href:a[1],target:"_self",class:"underline underline-offset-2",$$slots:{default:[W]},$$scope:{ctx:a}}}),f.$on("click",a[5]),m=new M({props:{href:"https://temporal.io/slack",$$slots:{default:[X]},$$scope:{ctx:a}}}),{c(){e=S("section"),t=S("h1"),l=g(a[0]),h=y(),n=S("p"),d=g("Uh oh. There's an error."),E=y(),u=S("p"),v=g(a[2]),c=y(),i=S("p"),N(f.$$.fragment),L=g(` or `),N(m.$$.fragment),j=g("."),this.h()},l(s){e=x(s,"SECTION",{"aria-roledescription":!0,class:!0,role:!0});var r=T(e);t=x(r,"H1",{class:!0});var k=T(t);l=$(k,a[0]),k.forEach(p),h=P(r),n=x(r,"P",{class:!0});var b=T(n);d=$(b,"Uh oh. There's an error."),b.forEach(p),E=P(r),u=x(r,"P",{class:!0});var D=T(u);v=$(D,a[2]),D.forEach(p),c=P(r),i=x(r,"P",{class:!0});var w=T(i);U(f.$$.fragment,w),L=$(w,` or diff --git a/ui/assets/local/_app/immutable/chunks/event-history-file-import.338772bc.js b/ui/assets/local/_app/immutable/chunks/event-history-file-import.d64caee8.js similarity index 87% rename from ui/assets/local/_app/immutable/chunks/event-history-file-import.338772bc.js rename to ui/assets/local/_app/immutable/chunks/event-history-file-import.d64caee8.js index 4faa4d4540..503c0c774b 100644 --- a/ui/assets/local/_app/immutable/chunks/event-history-file-import.338772bc.js +++ b/ui/assets/local/_app/immutable/chunks/event-history-file-import.d64caee8.js @@ -1 +1 @@ -import{S as B,b as C,a as I,m as $,w as S,c as g,C as L,p as E,q as k,x as A,k as d,d as w,D as x,u as f,f as _,L as N,E as U,Q as j,j as q,g as G,F as H,K as T,n as D}from"./index.09834243.js";import{g as K}from"./navigation.8b74a406.js";import{B as P}from"./button.ce5dce2f.js";import{t as y}from"./translate.0a219ae4.js";import{g as Q}from"./index.7999049a.js";import{t as R}from"./index.70d7ea32.js";import{i as W,a as z}from"./import-events.1bc34d6c.js";import{l as J}from"./namespaces.5721b9bd.js";import{t as F}from"./toaster.d089c03c.js";import{p as M}from"./parse-with-big-int.b38462f3.js";import{e as O}from"./route-for.3b55a4c6.js";function V(m){let o=y("import")+"",n;return{c(){n=S(o)},l(i){n=A(i,o)},m(i,r){_(i,n,r)},p:D,d(i){i&&d(n)}}}function X(m){let o,n=y("events","import-event-history-file-upload")+"",i,r,s,v,l,a,p,c;return l=new P({props:{leadingIcon:"file-upload",disabled:!m[0],$$slots:{default:[V]},$$scope:{ctx:m}}}),l.$on("click",m[2]),{c(){o=$("label"),i=S(n),r=g(),s=$("input"),v=g(),L(l.$$.fragment),this.h()},l(t){o=E(t,"LABEL",{class:!0,for:!0});var e=k(o);i=A(e,n),e.forEach(d),r=w(t),s=E(t,"INPUT",{id:!0,class:!0,type:!0,accept:!0}),v=w(t),x(l.$$.fragment,t),this.h()},h(){f(o,"class","sr-only"),f(o,"for","import-event-history-file-upload"),f(s,"id","import-event-history-file-upload"),f(s,"class","import-input block rounded-md border border-gray-200 p-2"),f(s,"type","file"),f(s,"accept",".json")},m(t,e){_(t,o,e),N(o,i),_(t,r,e),_(t,s,e),_(t,v,e),U(l,t,e),a=!0,p||(c=j(s,"change",m[1]),p=!0)},p(t,[e]){const u={};e&1&&(u.disabled=!t[0]),e&32&&(u.$$scope={dirty:e,ctx:t}),l.$set(u)},i(t){a||(q(l.$$.fragment,t),a=!0)},o(t){G(l.$$.fragment,t),a=!1},d(t){t&&d(o),t&&d(r),t&&d(s),t&&d(v),H(l,t),p=!1,c()}}}function Y(m,o,n){let i;T(m,J,a=>n(4,i=a));let r,s=!1;return[s,async a=>{var p;const c=a.target,t=(p=c==null?void 0:c.files)===null||p===void 0?void 0:p[0],e=new FileReader;t&&(e.readAsText(t),e.onload=()=>{var u,h;try{const b=(h=(u=e==null?void 0:e.result)===null||u===void 0?void 0:u.toString())!==null&&h!==void 0?h:"";r=M(b),n(0,s=!0)}catch{F.push({variant:"error",message:y("events","event-history-load-error")}),n(0,s=!1)}})},async()=>{try{const a=await R(Array.isArray(r)?r:r==null?void 0:r.events),p=Q(a);W.set(a),z.set(p),n(0,s=!1);const c=O(i,"feed");K(c)}catch(a){console.error(a),F.push({variant:"error",message:y("events","event-history-import-error")})}}]}class mt extends B{constructor(o){super(),C(this,o,Y,X,I,{})}}export{mt as E}; +import{S as B,b as C,a as I,m as $,w as S,c as g,C as L,p as E,q as k,x as A,k as d,d as w,D as x,u as f,f as _,L as N,E as U,Q as j,j as q,g as G,F as H,K as T,n as D}from"./index.09834243.js";import{g as K}from"./navigation.3b6dd1c7.js";import{B as P}from"./button.ce5dce2f.js";import{t as y}from"./translate.0a219ae4.js";import{g as Q}from"./index.7999049a.js";import{t as R}from"./index.38be7b17.js";import{i as W,a as z}from"./import-events.0a475568.js";import{l as J}from"./namespaces.5ad7f936.js";import{t as F}from"./toaster.a0b7d8ad.js";import{p as M}from"./parse-with-big-int.b38462f3.js";import{e as O}from"./route-for.d76d8056.js";function V(m){let o=y("import")+"",n;return{c(){n=S(o)},l(i){n=A(i,o)},m(i,r){_(i,n,r)},p:D,d(i){i&&d(n)}}}function X(m){let o,n=y("events","import-event-history-file-upload")+"",i,r,s,v,l,a,p,c;return l=new P({props:{leadingIcon:"file-upload",disabled:!m[0],$$slots:{default:[V]},$$scope:{ctx:m}}}),l.$on("click",m[2]),{c(){o=$("label"),i=S(n),r=g(),s=$("input"),v=g(),L(l.$$.fragment),this.h()},l(t){o=E(t,"LABEL",{class:!0,for:!0});var e=k(o);i=A(e,n),e.forEach(d),r=w(t),s=E(t,"INPUT",{id:!0,class:!0,type:!0,accept:!0}),v=w(t),x(l.$$.fragment,t),this.h()},h(){f(o,"class","sr-only"),f(o,"for","import-event-history-file-upload"),f(s,"id","import-event-history-file-upload"),f(s,"class","import-input block rounded-md border border-gray-200 p-2"),f(s,"type","file"),f(s,"accept",".json")},m(t,e){_(t,o,e),N(o,i),_(t,r,e),_(t,s,e),_(t,v,e),U(l,t,e),a=!0,p||(c=j(s,"change",m[1]),p=!0)},p(t,[e]){const u={};e&1&&(u.disabled=!t[0]),e&32&&(u.$$scope={dirty:e,ctx:t}),l.$set(u)},i(t){a||(q(l.$$.fragment,t),a=!0)},o(t){G(l.$$.fragment,t),a=!1},d(t){t&&d(o),t&&d(r),t&&d(s),t&&d(v),H(l,t),p=!1,c()}}}function Y(m,o,n){let i;T(m,J,a=>n(4,i=a));let r,s=!1;return[s,async a=>{var p;const c=a.target,t=(p=c==null?void 0:c.files)===null||p===void 0?void 0:p[0],e=new FileReader;t&&(e.readAsText(t),e.onload=()=>{var u,h;try{const b=(h=(u=e==null?void 0:e.result)===null||u===void 0?void 0:u.toString())!==null&&h!==void 0?h:"";r=M(b),n(0,s=!0)}catch{F.push({variant:"error",message:y("events","event-history-load-error")}),n(0,s=!1)}})},async()=>{try{const a=await R(Array.isArray(r)?r:r==null?void 0:r.events),p=Q(a);W.set(a),z.set(p),n(0,s=!1);const c=O(i,"feed");K(c)}catch(a){console.error(a),F.push({variant:"error",message:y("events","event-history-import-error")})}}]}class mt extends B{constructor(o){super(),C(this,o,Y,X,I,{})}}export{mt as E}; diff --git a/ui/assets/local/_app/immutable/chunks/event-summary-table.295df242.js b/ui/assets/local/_app/immutable/chunks/event-summary-table.c8c908b8.js similarity index 85% rename from ui/assets/local/_app/immutable/chunks/event-summary-table.295df242.js rename to ui/assets/local/_app/immutable/chunks/event-summary-table.c8c908b8.js index be4c6c948f..1a213af4c8 100644 --- a/ui/assets/local/_app/immutable/chunks/event-summary-table.295df242.js +++ b/ui/assets/local/_app/immutable/chunks/event-summary-table.c8c908b8.js @@ -1 +1 @@ -import{S as ie,b as oe,a as fe,m as $,p as b,q as k,k as d,u as g,f as w,L as v,z as W,g as h,h as Q,j as p,C as T,D as y,E as D,n as re,F as P,G as Vt,c as S,d as G,Z as Ye,P as q,Q as He,H as Ct,I as St,J as Gt,N as ge,U as Ee,V as Kt,e as U,M as At,aa as Re,ab as Me,w as M,x as F,y as j,K as te,$ as Nt,ag as Yt,R as Zt,Y as Xt,A as xt,a0 as el,a1 as tl,a3 as ll,a4 as nl,a5 as Se,a7 as Ot}from"./index.09834243.js";import{E as rl}from"./empty-state.aea525ff.js";import{L as sl}from"./loading.3bde98aa.js";import{t as R}from"./translate.0a219ae4.js";import{e as al,M as Rt,a as Mt,b as Ft,d as We}from"./menu.c7988d0b.js";import{g as Lt}from"./navigation.8b74a406.js";import{p as $e}from"./stores.9d4a2bb0.js";import{I as _e}from"./icon.3cd9fa27.js";import{L as he}from"./link.4944a6a5.js";import{e as Le,a as je,b as qe,i as ve}from"./index.7999049a.js";import{c as Ge,e as Be,b as il}from"./event-view.fe644395.js";import{t as ol,r as fl,b as Ze}from"./format-date.71526e4c.js";import{a as Xe,g as cl,b as ul,s as jt,c as qt,d as Bt,e as Ae,f as Ht,h as ml,i as xe}from"./format-event-attributes.14b5bd74.js";import{q as et}from"./format-time.650b834b.js";import{C as Ne}from"./is-event-type.4dbe973b.js";import{n as Oe,g as pe,o as Wt}from"./route-for.3b55a4c6.js";import{C as Fe}from"./code-block.5b4e5d21.js";import{C as Ie}from"./index.fcfd418a.js";import{f as Y}from"./format-camel-case.887ffc78.js";import{P as Qe}from"./payload-decoder.357d48e6.js";import{T as Qt,a as _l}from"./table-header-row.843c5ee2.js";import{c as dl,a as pl}from"./get-event-categorization.3ec93a88.js";import{e as tt}from"./filters.2cde2000.js";import{t as hl}from"./versions.2bb4ba4c.js";import{u as zt}from"./update-query-parameters.b3356c21.js";import{i as vl}from"./version-check.d006b302.js";import{M as gl}from"./menu-divider.6c0ebb73.js";import{B as $l}from"./button.ce5dce2f.js";function bl(s){let e,l;return e=new rl({props:{title:R("events","empty-state-title"),content:R("events","empty-state-description")}}),{c(){T(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:re,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function kl(s){let e,l;return e=new sl({}),{c(){T(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:re,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function wl(s){let e,l,t,n,r;const o=[kl,bl],a=[];function c(i,f){return i[0]?0:1}return t=c(s),n=a[t]=o[t](s),{c(){e=$("tr"),l=$("td"),n.c(),this.h()},l(i){e=b(i,"TR",{class:!0});var f=k(e);l=b(f,"TD",{colspan:!0});var m=k(l);n.l(m),m.forEach(d),f.forEach(d),this.h()},h(){g(l,"colspan","6"),g(e,"class","row svelte-kwty14")},m(i,f){w(i,e,f),v(e,l),a[t].m(l,null),r=!0},p(i,[f]){let m=t;t=c(i),t===m?a[t].p(i,f):(W(),h(a[m],1,1,()=>{a[m]=null}),Q(),n=a[t],n?n.p(i,f):(n=a[t]=o[t](i),n.c()),p(n,1),n.m(l,null))},i(i){r||(p(n),r=!0)},o(i){h(n),r=!1},d(i){i&&d(e),a[t].d()}}}function El(s,e,l){let{loading:t=!1}=e;return s.$$set=n=>{"loading"in n&&l(0,t=n.loading)},[t]}class wr extends ie{constructor(e){super(),oe(this,e,El,wl,fe,{loading:0})}}function lt(s){let e,l,t;return l=new _e({props:{name:s[1]?"spinner":s[3]}}),{c(){e=$("span"),T(l.$$.fragment),this.h()},l(n){e=b(n,"SPAN",{});var r=k(e);y(l.$$.fragment,r),r.forEach(d),this.h()},h(){q(e,"animate-spin",s[1])},m(n,r){w(n,e,r),D(l,e,null),t=!0},p(n,r){const o={};r&10&&(o.name=n[1]?"spinner":n[3]),l.$set(o),(!t||r&2)&&q(e,"animate-spin",n[1])},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){h(l.$$.fragment,n),t=!1},d(n){n&&d(e),P(l)}}}function Il(s){let e,l,t,n,r,o,a=s[3]&<(s);const c=s[7].default,i=Vt(c,s,s[6],null);return{c(){e=$("button"),a&&a.c(),l=S(),i&&i.c(),this.h()},l(f){e=b(f,"BUTTON",{class:!0});var m=k(e);a&&a.l(m),l=G(m),i&&i.l(m),m.forEach(d),this.h()},h(){g(e,"class",t=Ye(`pill ${s[5]} ${s[4]}`)+" svelte-1dt2q6k"),e.disabled=s[0],q(e,"active",s[2])},m(f,m){w(f,e,m),a&&a.m(e,null),v(e,l),i&&i.m(e,null),n=!0,r||(o=He(e,"click",s[8]),r=!0)},p(f,[m]){f[3]?a?(a.p(f,m),m&8&&p(a,1)):(a=lt(f),a.c(),p(a,1),a.m(e,l)):a&&(W(),h(a,1,1,()=>{a=null}),Q()),i&&i.p&&(!n||m&64)&&Ct(i,c,f,f[6],n?Gt(c,f[6],m,null):St(f[6]),null),(!n||m&48&&t!==(t=Ye(`pill ${f[5]} ${f[4]}`)+" svelte-1dt2q6k"))&&g(e,"class",t),(!n||m&1)&&(e.disabled=f[0]),(!n||m&52)&&q(e,"active",f[2])},i(f){n||(p(a),p(i,f),n=!0)},o(f){h(a),h(i,f),n=!1},d(f){f&&d(e),a&&a.d(),i&&i.d(f),r=!1,o()}}}function Tl(s,e,l){let{$$slots:t={},$$scope:n}=e,{disabled:r=!1}=e,{loading:o=!1}=e,{active:a=!1}=e,{icon:c=null}=e,{classes:i=e.class}=e,{color:f="gray"}=e;function m(u){Kt.call(this,s,u)}return s.$$set=u=>{l(9,e=ge(ge({},e),Ee(u))),"disabled"in u&&l(0,r=u.disabled),"loading"in u&&l(1,o=u.loading),"active"in u&&l(2,a=u.active),"icon"in u&&l(3,c=u.icon),"classes"in u&&l(4,i=u.classes),"color"in u&&l(5,f=u.color),"$$scope"in u&&l(6,n=u.$$scope)},e=Ee(e),[r,o,a,c,i,f,n,t,m]}class yl extends ie{constructor(e){super(),oe(this,e,Tl,Il,fe,{disabled:0,loading:1,active:2,icon:3,classes:4,color:5})}}function nt(s,e,l){const t=s.slice();t[5]=e[l][0],t[6]=e[l][1];const n=t[1]===t[5];return t[7]=n,t}function rt(s){let e,l,t=[],n=new Map,r,o=Object.entries(s[0]);const a=c=>c[5];for(let c=0;c{r=null}),Q())},i(o){n||(p(r),n=!0)},o(o){h(r),n=!1},d(o){o&&d(l),r&&r.d(o),o&&d(t)}}}function Pl(s){let e,l,t=s[2]>1&&rt(s);return{c(){t&&t.c(),e=U()},l(n){t&&t.l(n),e=U()},m(n,r){t&&t.m(n,r),w(n,e,r),l=!0},p(n,[r]){n[2]>1?t?(t.p(n,r),r&4&&p(t,1)):(t=rt(n),t.c(),p(t,1),t.m(e.parentNode,e)):t&&(W(),h(t,1,1,()=>{t=null}),Q())},i(n){l||(p(t),l=!0)},o(n){h(t),l=!1},d(n){t&&t.d(n),n&&d(e)}}}function Vl(s,e,l){let t,{attributeGrouping:n}=e,{activePill:r}=e;const o=At(),a=c=>o("pillChange",{key:c});return s.$$set=c=>{"attributeGrouping"in c&&l(0,n=c.attributeGrouping),"activePill"in c&&l(1,r=c.activePill)},s.$$.update=()=>{s.$$.dirty&1&&l(2,t=Object.values(n).reduce((c,i)=>(i.length&&(c+=1),c),0))},[n,r,t,o,a]}class Ut extends ie{constructor(e){super(),oe(this,e,Vl,Pl,fe,{attributeGrouping:0,activePill:1})}}function Cl(s){let e,l,t=Y(s[0])+"",n,r,o,a,c;return{c(){e=$("div"),l=$("p"),n=M(t),r=S(),o=$("p"),a=$("span"),c=M(s[1]),this.h()},l(i){e=b(i,"DIV",{class:!0});var f=k(e);l=b(f,"P",{class:!0});var m=k(l);n=F(m,t),m.forEach(d),r=G(f),o=b(f,"P",{class:!0});var u=k(o);a=b(u,"SPAN",{class:!0});var _=k(a);c=F(_,s[1]),_.forEach(d),u.forEach(d),f.forEach(d),this.h()},h(){g(l,"class","text-sm"),g(a,"class","select-all px-2 svelte-10e9wiy"),q(a,"badge",!Ae(s[0])),g(o,"class","text-sm"),g(e,"class","content detail-row svelte-10e9wiy")},m(i,f){w(i,e,f),v(e,l),v(l,n),v(e,r),v(e,o),v(o,a),v(a,c)},p(i,f){f&1&&t!==(t=Y(i[0])+"")&&j(n,t),f&2&&j(c,i[1]),f&1&&q(a,"badge",!Ae(i[0]))},i:re,o:re,d(i){i&&d(e)}}}function Sl(s){let e,l,t=Y(s[0])+"",n,r,o,a,c;return a=new Ie({props:{copyIconTitle:R("copy-icon-title"),copySuccessIconTitle:R("copy-success-icon-title"),content:s[1],"container-class":"xl:flex-row",$$slots:{default:[Rl]},$$scope:{ctx:s}}}),{c(){e=$("div"),l=$("p"),n=M(t),r=S(),o=$("div"),T(a.$$.fragment),this.h()},l(i){e=b(i,"DIV",{class:!0});var f=k(e);l=b(f,"P",{class:!0});var m=k(l);n=F(m,t),m.forEach(d),r=G(f),o=b(f,"DIV",{class:!0});var u=k(o);y(a.$$.fragment,u),u.forEach(d),f.forEach(d),this.h()},h(){g(l,"class","text-sm"),g(o,"class","text-sm"),g(e,"class","content detail-row svelte-10e9wiy")},m(i,f){w(i,e,f),v(e,l),v(l,n),v(e,r),v(e,o),D(a,o,null),c=!0},p(i,f){(!c||f&1)&&t!==(t=Y(i[0])+"")&&j(n,t);const m={};f&2&&(m.content=i[1]),f&2050&&(m.$$scope={dirty:f,ctx:i}),a.$set(m)},i(i){c||(p(a.$$.fragment,i),c=!0)},o(i){h(a.$$.fragment,i),c=!1},d(i){i&&d(e),P(a)}}}function Gl(s){let e,l,t=Y(s[0])+"",n,r,o,a,c;return a=new Ie({props:{copyIconTitle:R("copy-icon-title"),copySuccessIconTitle:R("copy-success-icon-title"),content:s[1],"container-class":"xl:flex-row",$$slots:{default:[Fl]},$$scope:{ctx:s}}}),{c(){e=$("div"),l=$("p"),n=M(t),r=S(),o=$("div"),T(a.$$.fragment),this.h()},l(i){e=b(i,"DIV",{class:!0});var f=k(e);l=b(f,"P",{class:!0});var m=k(l);n=F(m,t),m.forEach(d),r=G(f),o=b(f,"DIV",{class:!0});var u=k(o);y(a.$$.fragment,u),u.forEach(d),f.forEach(d),this.h()},h(){g(l,"class","text-sm"),g(o,"class","text-sm"),g(e,"class","content detail-row svelte-10e9wiy")},m(i,f){w(i,e,f),v(e,l),v(l,n),v(e,r),v(e,o),D(a,o,null),c=!0},p(i,f){(!c||f&1)&&t!==(t=Y(i[0])+"")&&j(n,t);const m={};f&2&&(m.content=i[1]),f&2054&&(m.$$scope={dirty:f,ctx:i}),a.$set(m)},i(i){c||(p(a.$$.fragment,i),c=!0)},o(i){h(a.$$.fragment,i),c=!1},d(i){i&&d(e),P(a)}}}function Al(s){let e,l,t=Y(s[0])+"",n,r,o,a,c;return a=new Ie({props:{copyIconTitle:R("copy-icon-title"),copySuccessIconTitle:R("copy-success-icon-title"),content:s[1],"container-class":"flex-row-reverse xl:flex-row",$$slots:{default:[jl]},$$scope:{ctx:s}}}),{c(){e=$("div"),l=$("p"),n=M(t),r=S(),o=$("div"),T(a.$$.fragment),this.h()},l(i){e=b(i,"DIV",{class:!0});var f=k(e);l=b(f,"P",{class:!0});var m=k(l);n=F(m,t),m.forEach(d),r=G(f),o=b(f,"DIV",{class:!0});var u=k(o);y(a.$$.fragment,u),u.forEach(d),f.forEach(d),this.h()},h(){g(l,"class","text-sm"),g(o,"class","text-sm"),g(e,"class","content detail-row svelte-10e9wiy")},m(i,f){w(i,e,f),v(e,l),v(l,n),v(e,r),v(e,o),D(a,o,null),c=!0},p(i,f){(!c||f&1)&&t!==(t=Y(i[0])+"")&&j(n,t);const m={};f&2&&(m.content=i[1]),f&2050&&(m.$$scope={dirty:f,ctx:i}),a.$set(m)},i(i){c||(p(a.$$.fragment,i),c=!0)},o(i){h(a.$$.fragment,i),c=!1},d(i){i&&d(e),P(a)}}}function Nl(s){let e,l,t,n=Y(s[0])+"",r,o,a,c,i,f,m;const u=[Bl,ql],_=[];function E(I,A){var L;return(L=I[1])!=null&&L.payloads?0:1}a=E(s),c=_[a]=u[a](s);let V=s[5]&&!s[3]&&it(s);return{c(){e=$("div"),l=$("div"),t=$("p"),r=M(n),o=S(),c.c(),f=S(),V&&V.c(),this.h()},l(I){e=b(I,"DIV",{class:!0});var A=k(e);l=b(A,"DIV",{class:!0});var L=k(l);t=b(L,"P",{class:!0});var le=k(t);r=F(le,n),le.forEach(d),o=G(L),c.l(L),L.forEach(d),f=G(A),V&&V.l(A),A.forEach(d),this.h()},h(){g(t,"class","text-sm"),g(l,"class",i="flex flex-col "+(s[5]?"lg:w-1/2":"")),g(e,"class","content code-block-row svelte-10e9wiy"),q(e,"code-with-stack-trace",s[5])},m(I,A){w(I,e,A),v(e,l),v(l,t),v(t,r),v(l,o),_[a].m(l,null),v(e,f),V&&V.m(e,null),m=!0},p(I,A){(!m||A&1)&&n!==(n=Y(I[0])+"")&&j(r,n);let L=a;a=E(I),a===L?_[a].p(I,A):(W(),h(_[L],1,1,()=>{_[L]=null}),Q(),c=_[a],c?c.p(I,A):(c=_[a]=u[a](I),c.c()),p(c,1),c.m(l,null)),(!m||A&32&&i!==(i="flex flex-col "+(I[5]?"lg:w-1/2":"")))&&g(l,"class",i),I[5]&&!I[3]?V?(V.p(I,A),A&40&&p(V,1)):(V=it(I),V.c(),p(V,1),V.m(e,null)):V&&(W(),h(V,1,1,()=>{V=null}),Q()),(!m||A&32)&&q(e,"code-with-stack-trace",I[5])},i(I){m||(p(c),p(V),m=!0)},o(I){h(c),h(V),m=!1},d(I){I&&d(e),_[a].d(),V&&V.d()}}}function Ol(s){let e;return{c(){e=M(s[1])},l(l){e=F(l,s[1])},m(l,t){w(l,e,t)},p(l,t){t&2&&j(e,l[1])},d(l){l&&d(e)}}}function Rl(s){let e,l;return e=new he({props:{newTab:!0,href:Oe({namespace:s[7],queue:s[1]}),$$slots:{default:[Ol]},$$scope:{ctx:s}}}),{c(){T(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.href=Oe({namespace:t[7],queue:t[1]})),n&2050&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function Ml(s){let e;return{c(){e=M(s[1])},l(l){e=F(l,s[1])},m(l,t){w(l,e,t)},p(l,t){t&2&&j(e,l[1])},d(l){l&&d(e)}}}function Fl(s){var t;let e,l;return e=new he({props:{newTab:!0,href:pe({namespace:((t=s[2])==null?void 0:t.namespace)||s[7],workflow:s[2].workflowExecutionWorkflowId,run:s[2].workflowExecutionRunId}),$$slots:{default:[Ml]},$$scope:{ctx:s}}}),{c(){T(e.$$.fragment)},l(n){y(e.$$.fragment,n)},m(n,r){D(e,n,r),l=!0},p(n,r){var a;const o={};r&4&&(o.href=pe({namespace:((a=n[2])==null?void 0:a.namespace)||n[7],workflow:n[2].workflowExecutionWorkflowId,run:n[2].workflowExecutionRunId})),r&2050&&(o.$$scope={dirty:r,ctx:n}),e.$set(o)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){h(e.$$.fragment,n),l=!1},d(n){P(e,n)}}}function Ll(s){let e;return{c(){e=M(s[1])},l(l){e=F(l,s[1])},m(l,t){w(l,e,t)},p(l,t){t&2&&j(e,l[1])},d(l){l&&d(e)}}}function jl(s){let e,l;return e=new he({props:{newTab:!0,href:pe({namespace:s[7],workflow:s[6],run:s[1]}),$$slots:{default:[Ll]},$$scope:{ctx:s}}}),{c(){T(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.href=pe({namespace:t[7],workflow:t[6],run:t[1]})),n&2050&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function ql(s){let e,l;return e=new Qe({props:{value:s[4],$$slots:{default:[Hl,({decodedValue:t})=>({10:t}),({decodedValue:t})=>t?1024:0]},$$scope:{ctx:s}}}),{c(){T(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const r={};n&16&&(r.value=t[4]),n&3112&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function Bl(s){let e,l;return e=new Qe({props:{value:s[1],key:"payloads",$$slots:{default:[Wl,({decodedValue:t})=>({10:t}),({decodedValue:t})=>t?1024:0]},$$scope:{ctx:s}}}),{c(){T(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.value=t[1]),n&3112&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function Hl(s){let e,l;return e=new Fe({props:{content:s[10],class:"h-auto "+(s[5]?"mb-2":"")+" max-h-96 overflow-auto",inline:s[3],copyIconTitle:R("copy-icon-title"),copySuccessIconTitle:R("copy-success-icon-title")}}),{c(){T(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const r={};n&1024&&(r.content=t[10]),n&32&&(r.class="h-auto "+(t[5]?"mb-2":"")+" max-h-96 overflow-auto"),n&8&&(r.inline=t[3]),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function Wl(s){let e,l;return e=new Fe({props:{content:s[10],class:"h-auto "+(s[5]?"mb-2":"")+" max-h-96 overflow-auto",inline:s[3],copyIconTitle:R("copy-icon-title"),copySuccessIconTitle:R("copy-success-icon-title")}}),{c(){T(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const r={};n&1024&&(r.content=t[10]),n&32&&(r.class="h-auto "+(t[5]?"mb-2":"")+" max-h-96 overflow-auto"),n&8&&(r.inline=t[3]),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function it(s){let e,l,t,n,r,o;return r=new Fe({props:{content:s[5],language:"text",class:"mb-2 h-full lg:pr-2",copyIconTitle:R("copy-icon-title"),copySuccessIconTitle:R("copy-success-icon-title")}}),{c(){e=$("div"),l=$("p"),t=M("Stack trace"),n=S(),T(r.$$.fragment),this.h()},l(a){e=b(a,"DIV",{class:!0});var c=k(e);l=b(c,"P",{class:!0});var i=k(l);t=F(i,"Stack trace"),i.forEach(d),n=G(c),y(r.$$.fragment,c),c.forEach(d),this.h()},h(){g(l,"class","text-sm"),g(e,"class","flex flex-col lg:w-1/2")},m(a,c){w(a,e,c),v(e,l),v(l,t),v(e,n),D(r,e,null),o=!0},p(a,c){const i={};c&32&&(i.content=a[5]),r.$set(i)},i(a){o||(p(r.$$.fragment,a),o=!0)},o(a){h(r.$$.fragment,a),o=!1},d(a){a&&d(e),P(r)}}}function Ql(s){let e,l,t,n,r,o,a,c;const i=[Nl,Al,Gl,Sl,Cl],f=[];function m(u,_){return _&1&&(l=null),_&5&&(t=null),_&1&&(n=null),typeof u[1]=="object"?0:(l==null&&(l=!!jt(u[0])),l?1:(t==null&&(t=!!qt(u[0],u[2])),t?2:(n==null&&(n=!!Bt(u[0])),n?3:4)))}return r=m(s,-1),o=f[r]=i[r](s),{c(){e=$("div"),o.c(),this.h()},l(u){e=b(u,"DIV",{class:!0});var _=k(e);o.l(_),_.forEach(d),this.h()},h(){g(e,"class",a="row "+s[8].class+" svelte-10e9wiy")},m(u,_){w(u,e,_),f[r].m(e,null),c=!0},p(u,[_]){let E=r;r=m(u,_),r===E?f[r].p(u,_):(W(),h(f[E],1,1,()=>{f[E]=null}),Q(),o=f[r],o?o.p(u,_):(o=f[r]=i[r](u),o.c()),p(o,1),o.m(e,null)),(!c||_&256&&a!==(a="row "+u[8].class+" svelte-10e9wiy"))&&g(e,"class",a)},i(u){c||(p(o),c=!0)},o(u){h(o),c=!1},d(u){u&&d(e),f[r].d()}}}function zl(s,e,l){let t,n,r;te(s,$e,u=>l(9,r=u));let{key:o}=e,{value:a}=e,{attributes:c}=e,{inline:i=!1}=e;const{workflow:f,namespace:m}=r.params;return s.$$set=u=>{l(8,e=ge(ge({},e),Ee(u))),"key"in u&&l(0,o=u.key),"value"in u&&l(1,a=u.value),"attributes"in u&&l(2,c=u.attributes),"inline"in u&&l(3,i=u.inline)},s.$$.update=()=>{s.$$.dirty&2&&l(4,t=cl(a)),s.$$.dirty&16&&l(5,n=ul(t))},e=Ee(e),[o,a,c,i,t,n,f,m,e]}class Jt extends ie{constructor(e){super(),oe(this,e,zl,Ql,fe,{key:0,value:1,attributes:2,inline:3})}}function ot(s,e,l){const t=s.slice();return t[9]=e[l][0],t[10]=e[l][1],t}function Ul(s){let e=s[9]+"",l;return{c(){l=M(e)},l(t){l=F(t,e)},m(t,n){w(t,l,n)},p(t,n){n&1&&e!==(e=t[9]+"")&&j(l,e)},d(t){t&&d(l)}}}function ft(s,e){let l,t,n,r,o,a,c,i,f,m=(Ne(e[10])?"LocalActivity":e[10].eventType)+"",u,_,E,V,I,A,L;function le(...z){return e[7](e[9],...z)}a=new he({props:{class:"truncate",$$slots:{default:[Ul]},$$scope:{ctx:e}}}),a.$on("click",le);function B(){return e[8](e[9])}return{key:s,first:null,c(){l=$("tr"),t=$("td"),n=S(),r=$("td"),o=$("p"),T(a.$$.fragment),c=S(),i=$("td"),f=$("p"),u=M(m),_=S(),E=$("td"),V=S(),this.h()},l(z){l=b(z,"TR",{class:!0});var H=k(l);t=b(H,"TD",{class:!0}),k(t).forEach(d),n=G(H),r=b(H,"TD",{class:!0});var ne=k(r);o=b(ne,"P",{class:!0});var ue=k(o);y(a.$$.fragment,ue),ue.forEach(d),ne.forEach(d),c=G(H),i=b(H,"TD",{});var ce=k(i);f=b(ce,"P",{class:!0});var ae=k(f);u=F(ae,m),ae.forEach(d),ce.forEach(d),_=G(H),E=b(H,"TD",{}),k(E).forEach(d),V=G(H),H.forEach(d),this.h()},h(){g(t,"class","w-1/12"),g(o,"class","truncate text-sm text-gray-500 md:text-base"),g(r,"class","w-24"),g(f,"class","event-type truncate text-sm md:text-base svelte-11yead6"),g(l,"class","row svelte-11yead6"),q(l,"active",e[9]===e[1]),q(l,"failure",Le(e[10])),q(l,"canceled",je(e[10])),q(l,"terminated",qe(e[10])),this.first=l},m(z,H){w(z,l,H),v(l,t),v(l,n),v(l,r),v(r,o),D(a,o,null),v(l,c),v(l,i),v(i,f),v(f,u),v(l,_),v(l,E),v(l,V),I=!0,A||(L=He(l,"click",Nt(Yt(B))),A=!0)},p(z,H){e=z;const ne={};H&8193&&(ne.$$scope={dirty:H,ctx:e}),a.$set(ne),(!I||H&1)&&m!==(m=(Ne(e[10])?"LocalActivity":e[10].eventType)+"")&&j(u,m),(!I||H&3)&&q(l,"active",e[9]===e[1]),(!I||H&1)&&q(l,"failure",Le(e[10])),(!I||H&1)&&q(l,"canceled",je(e[10])),(!I||H&1)&&q(l,"terminated",qe(e[10]))},i(z){I||(p(a.$$.fragment,z),I=!0)},o(z){h(a.$$.fragment,z),I=!1},d(z){z&&d(l),P(a),A=!1,L()}}}function Jl(s){let e=[],l=new Map,t,n,r=[...s[0].events].reverse();const o=a=>a[9];for(let a=0;al(6,o=u));let{eventGroup:a}=e,{selectedId:c}=e,{onGroupClick:i}=e;const f=(u,_)=>{_.stopPropagation(),Lt(Wt({eventId:u,namespace:r,workflow:t,run:n}))},m=u=>i(u);return s.$$set=u=>{"eventGroup"in u&&l(0,a=u.eventGroup),"selectedId"in u&&l(1,c=u.selectedId),"onGroupClick"in u&&l(2,i=u.onGroupClick)},s.$$.update=()=>{s.$$.dirty&64&&l(5,{workflow:t,run:n,namespace:r}=o.params,t,(l(4,n),l(6,o)),(l(3,r),l(6,o)))},[a,c,i,r,n,t,o,f,m]}class Zl extends ie{constructor(e){super(),oe(this,e,Yl,Kl,fe,{eventGroup:0,selectedId:1,onGroupClick:2})}}function ct(s,e,l){const t=s.slice();return t[10]=e[l][0],t[11]=e[l][1],t}function ut(s,e,l){const t=s.slice();return t[10]=e[l][0],t[11]=e[l][1],t}function Xl(s){let e,l,t,n=[],r=new Map,o;l=new Ut({props:{attributeGrouping:s[4],activePill:s[5]}}),l.$on("pillChange",s[7]);let a=s[6];const c=i=>i[10];for(let i=0;iu[10];for(let u=0;u{o=null}),Q())},i(c){r||(p(o),r=!0)},o(c){h(o),r=!1},d(c){c&&d(l),o&&o.d(c),c&&d(n)}}}function dt(s){let e,l;return e=new Jt({props:{key:s[10],value:s[11],attributes:s[3],class:"w-full"}}),{c(){T(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const r={};n&64&&(r.key=t[10]),n&64&&(r.value=t[11]),n&8&&(r.attributes=t[3]),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function pt(s,e){var a;let l,t=(a=e[4][e[5]])==null?void 0:a.includes(e[10]),n,r,o=t&&dt(e);return{key:s,first:null,c(){l=U(),o&&o.c(),n=U(),this.h()},l(c){l=U(),o&&o.l(c),n=U(),this.h()},h(){this.first=l},m(c,i){w(c,l,i),o&&o.m(c,i),w(c,n,i),r=!0},p(c,i){var f;e=c,i&112&&(t=(f=e[4][e[5]])==null?void 0:f.includes(e[10])),t?o?(o.p(e,i),i&112&&p(o,1)):(o=dt(e),o.c(),p(o,1),o.m(n.parentNode,n)):o&&(W(),h(o,1,1,()=>{o=null}),Q())},i(c){r||(p(o),r=!0)},o(c){h(o),r=!1},d(c){c&&d(l),o&&o.d(c),c&&d(n)}}}function en(s){let e,l,t,n,r;const o=[xl,Xl],a=[];function c(i,f){return f&6&&(e=null),e==null&&(e=!!(i[2]&&ve(i[1]))),e?0:1}return l=c(s,-1),t=a[l]=o[l](s),{c(){t.c(),n=U()},l(i){t.l(i),n=U()},m(i,f){a[l].m(i,f),w(i,n,f),r=!0},p(i,[f]){let m=l;l=c(i,f),l===m?a[l].p(i,f):(W(),h(a[m],1,1,()=>{a[m]=null}),Q(),t=a[l],t?t.p(i,f):(t=a[l]=o[l](i),t.c()),p(t,1),t.m(n.parentNode,n))},i(i){r||(p(t),r=!0)},o(i){h(t),r=!1},d(i){a[l].d(i),i&&d(n)}}}function tn(s,e,l){let t,n,r,o,{event:a}=e,{currentEvent:c}=e,{compact:i=!1}=e,{selectedId:f}=e;const m=_=>{l(5,r=_.detail.key)},u=_=>l(0,f=_);return s.$$set=_=>{"event"in _&&l(1,a=_.event),"currentEvent"in _&&l(9,c=_.currentEvent),"compact"in _&&l(2,i=_.compact),"selectedId"in _&&l(0,f=_.selectedId)},s.$$.update=()=>{s.$$.dirty&516&&l(3,t=Ht(c,{compact:i})),s.$$.dirty&10&&l(4,n=ml(a,t)),s.$$.dirty&16&&l(5,r=Object.keys(n).find(_=>n[_].length)),s.$$.dirty&8&&l(6,o=Object.entries(t))},[f,a,i,t,n,r,o,m,u,c]}class ln extends ie{constructor(e){super(),oe(this,e,tn,en,fe,{event:1,currentEvent:9,compact:2,selectedId:0})}}function nn(s){let e,l,t=Y(s[0])+"",n,r,o,a,c;return{c(){e=$("div"),l=$("p"),n=M(t),r=S(),o=$("p"),a=$("span"),c=M(s[1]),this.h()},l(i){e=b(i,"DIV",{class:!0});var f=k(e);l=b(f,"P",{class:!0});var m=k(l);n=F(m,t),m.forEach(d),r=G(f),o=b(f,"P",{class:!0});var u=k(o);a=b(u,"SPAN",{class:!0});var _=k(a);c=F(_,s[1]),_.forEach(d),u.forEach(d),f.forEach(d),this.h()},h(){g(l,"class","mr-3 truncate text-sm"),g(a,"class","w-full select-all text-gray-700 svelte-n4ehvt"),q(a,"badge",!Ae(s[0])),g(o,"class","truncate text-right text-sm xl:text-left"),g(e,"class","flex w-full flex-wrap items-center gap-1 pr-1")},m(i,f){w(i,e,f),v(e,l),v(l,n),v(e,r),v(e,o),v(o,a),v(a,c)},p(i,f){f&1&&t!==(t=Y(i[0])+"")&&j(n,t),f&2&&j(c,i[1]),f&1&&q(a,"badge",!Ae(i[0]))},i:re,o:re,d(i){i&&d(e)}}}function rn(s){let e,l,t=Y(s[0])+"",n,r,o,a,c;return a=new Ie({props:{copyIconTitle:R("copy-icon-title"),copySuccessIconTitle:R("copy-success-icon-title"),content:s[1],$$slots:{default:[cn]},$$scope:{ctx:s}}}),{c(){e=$("div"),l=$("p"),n=M(t),r=S(),o=$("div"),T(a.$$.fragment),this.h()},l(i){e=b(i,"DIV",{class:!0});var f=k(e);l=b(f,"P",{class:!0});var m=k(l);n=F(m,t),m.forEach(d),r=G(f),o=b(f,"DIV",{class:!0});var u=k(o);y(a.$$.fragment,u),u.forEach(d),f.forEach(d),this.h()},h(){g(l,"class","mr-3 truncate text-sm"),g(o,"class","truncate text-sm"),g(e,"class","flex w-full flex-wrap items-center gap-1 pr-1")},m(i,f){w(i,e,f),v(e,l),v(l,n),v(e,r),v(e,o),D(a,o,null),c=!0},p(i,f){(!c||f&1)&&t!==(t=Y(i[0])+"")&&j(n,t);const m={};f&2&&(m.content=i[1]),f&514&&(m.$$scope={dirty:f,ctx:i}),a.$set(m)},i(i){c||(p(a.$$.fragment,i),c=!0)},o(i){h(a.$$.fragment,i),c=!1},d(i){i&&d(e),P(a)}}}function sn(s){let e,l,t=Y(s[0])+"",n,r,o,a,c;return a=new Ie({props:{copyIconTitle:R("copy-icon-title"),copySuccessIconTitle:R("copy-success-icon-title"),content:s[1],"container-class":"xl:flex-row",$$slots:{default:[mn]},$$scope:{ctx:s}}}),{c(){e=$("div"),l=$("p"),n=M(t),r=S(),o=$("div"),T(a.$$.fragment),this.h()},l(i){e=b(i,"DIV",{class:!0});var f=k(e);l=b(f,"P",{class:!0});var m=k(l);n=F(m,t),m.forEach(d),r=G(f),o=b(f,"DIV",{class:!0});var u=k(o);y(a.$$.fragment,u),u.forEach(d),f.forEach(d),this.h()},h(){g(l,"class","truncate text-sm"),g(o,"class","truncate text-sm"),g(e,"class","flex w-full flex-wrap items-center gap-1 pr-1")},m(i,f){w(i,e,f),v(e,l),v(l,n),v(e,r),v(e,o),D(a,o,null),c=!0},p(i,f){(!c||f&1)&&t!==(t=Y(i[0])+"")&&j(n,t);const m={};f&2&&(m.content=i[1]),f&518&&(m.$$scope={dirty:f,ctx:i}),a.$set(m)},i(i){c||(p(a.$$.fragment,i),c=!0)},o(i){h(a.$$.fragment,i),c=!1},d(i){i&&d(e),P(a)}}}function an(s){let e,l,t=Y(s[0])+"",n,r,o,a,c;return a=new Ie({props:{copyIconTitle:R("copy-icon-title"),copySuccessIconTitle:R("copy-success-icon-title"),content:s[1],"container-class":"xl:flex-row",$$slots:{default:[dn]},$$scope:{ctx:s}}}),{c(){e=$("div"),l=$("p"),n=M(t),r=S(),o=$("div"),T(a.$$.fragment),this.h()},l(i){e=b(i,"DIV",{class:!0});var f=k(e);l=b(f,"P",{class:!0});var m=k(l);n=F(m,t),m.forEach(d),r=G(f),o=b(f,"DIV",{class:!0});var u=k(o);y(a.$$.fragment,u),u.forEach(d),f.forEach(d),this.h()},h(){g(l,"class","mr-3 truncate text-sm"),g(o,"class","truncate text-sm"),g(e,"class","flex w-full flex-wrap items-center gap-1 pr-1")},m(i,f){w(i,e,f),v(e,l),v(l,n),v(e,r),v(e,o),D(a,o,null),c=!0},p(i,f){(!c||f&1)&&t!==(t=Y(i[0])+"")&&j(n,t);const m={};f&2&&(m.content=i[1]),f&514&&(m.$$scope={dirty:f,ctx:i}),a.$set(m)},i(i){c||(p(a.$$.fragment,i),c=!0)},o(i){h(a.$$.fragment,i),c=!1},d(i){i&&d(e),P(a)}}}function on(s){let e,l,t=Y(s[0])+"",n,r,o,a;return o=new Qe({props:{value:s[1],key:"payloads",$$slots:{default:[pn,({decodedValue:c})=>({8:c}),({decodedValue:c})=>c?256:0]},$$scope:{ctx:s}}}),{c(){e=$("div"),l=$("p"),n=M(t),r=S(),T(o.$$.fragment),this.h()},l(c){e=b(c,"DIV",{class:!0});var i=k(e);l=b(i,"P",{class:!0});var f=k(l);n=F(f,t),f.forEach(d),r=G(i),y(o.$$.fragment,i),i.forEach(d),this.h()},h(){g(l,"class","min-w-fit text-sm"),g(e,"class","flex w-full flex-wrap items-center justify-between gap-1 pr-1 xl:flex-nowrap xl:gap-4")},m(c,i){w(c,e,i),v(e,l),v(l,n),v(e,r),D(o,e,null),a=!0},p(c,i){(!a||i&1)&&t!==(t=Y(c[0])+"")&&j(n,t);const f={};i&2&&(f.value=c[1]),i&776&&(f.$$scope={dirty:i,ctx:c}),o.$set(f)},i(c){a||(p(o.$$.fragment,c),a=!0)},o(c){h(o.$$.fragment,c),a=!1},d(c){c&&d(e),P(o)}}}function fn(s){let e;return{c(){e=M(s[1])},l(l){e=F(l,s[1])},m(l,t){w(l,e,t)},p(l,t){t&2&&j(e,l[1])},d(l){l&&d(e)}}}function cn(s){let e,l;return e=new he({props:{class:"truncate",newTab:!0,href:Oe({namespace:s[5],queue:s[1]}),$$slots:{default:[fn]},$$scope:{ctx:s}}}),{c(){T(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.href=Oe({namespace:t[5],queue:t[1]})),n&514&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function un(s){let e;return{c(){e=M(s[1])},l(l){e=F(l,s[1])},m(l,t){w(l,e,t)},p(l,t){t&2&&j(e,l[1])},d(l){l&&d(e)}}}function mn(s){let e,l;return e=new he({props:{class:"truncate",newTab:!0,href:pe({namespace:s[5],workflow:s[2].workflowExecutionWorkflowId,run:s[2].workflowExecutionRunId}),$$slots:{default:[un]},$$scope:{ctx:s}}}),{c(){T(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const r={};n&4&&(r.href=pe({namespace:t[5],workflow:t[2].workflowExecutionWorkflowId,run:t[2].workflowExecutionRunId})),n&514&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function _n(s){let e;return{c(){e=M(s[1])},l(l){e=F(l,s[1])},m(l,t){w(l,e,t)},p(l,t){t&2&&j(e,l[1])},d(l){l&&d(e)}}}function dn(s){let e,l;return e=new he({props:{class:"truncate",newTab:!0,href:pe({namespace:s[5],workflow:s[4],run:s[1]}),$$slots:{default:[_n]},$$scope:{ctx:s}}}),{c(){T(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.href=pe({namespace:t[5],workflow:t[4],run:t[1]})),n&514&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function pn(s){let e,l;return e=new Fe({props:{content:s[8],inline:s[3],copyIconTitle:R("copy-icon-title"),copySuccessIconTitle:R("copy-success-icon-title")}}),{c(){T(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const r={};n&256&&(r.content=t[8]),n&8&&(r.inline=t[3]),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function hn(s){let e,l,t,n,r,o,a,c;const i=[on,an,sn,rn,nn],f=[];function m(u,_){return _&1&&(l=null),_&5&&(t=null),_&1&&(n=null),typeof u[1]=="object"?0:(l==null&&(l=!!jt(u[0])),l?1:(t==null&&(t=!!qt(u[0],u[2])),t?2:(n==null&&(n=!!Bt(u[0])),n?3:4)))}return r=m(s,-1),o=f[r]=i[r](s),{c(){e=$("div"),o.c(),this.h()},l(u){e=b(u,"DIV",{class:!0});var _=k(e);o.l(_),_.forEach(d),this.h()},h(){g(e,"class",a="flex flex-row items-center gap-2 first:pt-0 last:border-b-0 xl:gap-4 "+s[6].class+" svelte-n4ehvt")},m(u,_){w(u,e,_),f[r].m(e,null),c=!0},p(u,[_]){let E=r;r=m(u,_),r===E?f[r].p(u,_):(W(),h(f[E],1,1,()=>{f[E]=null}),Q(),o=f[r],o?o.p(u,_):(o=f[r]=i[r](u),o.c()),p(o,1),o.m(e,null)),(!c||_&64&&a!==(a="flex flex-row items-center gap-2 first:pt-0 last:border-b-0 xl:gap-4 "+u[6].class+" svelte-n4ehvt"))&&g(e,"class",a)},i(u){c||(p(o),c=!0)},o(u){h(o),c=!1},d(u){u&&d(e),f[r].d()}}}function vn(s,e,l){let t;te(s,$e,f=>l(7,t=f));let{key:n}=e,{value:r}=e,{attributes:o}=e,{inline:a=!1}=e;const{workflow:c,namespace:i}=t.params;return s.$$set=f=>{l(6,e=ge(ge({},e),Ee(f))),"key"in f&&l(0,n=f.key),"value"in f&&l(1,r=f.value),"attributes"in f&&l(2,o=f.attributes),"inline"in f&&l(3,a=f.inline)},e=Ee(e),[n,r,o,a,c,i,e]}class gn extends ie{constructor(e){super(),oe(this,e,vn,hn,fe,{key:0,value:1,attributes:2,inline:3})}}function $n(s){let e=s[0].id+"",l;return{c(){l=M(e)},l(t){l=F(t,e)},m(t,n){w(t,l,n)},p(t,n){n[0]&1&&e!==(e=t[0].id+"")&&j(l,e)},d(t){t&&d(l)}}}function bn(s){var n;let e,l=Ze((n=s[0])==null?void 0:n.eventTime,s[14],{relative:s[15]})+"",t;return{c(){e=$("p"),t=M(l),this.h()},l(r){e=b(r,"P",{class:!0});var o=k(e);t=F(o,l),o.forEach(d),this.h()},h(){g(e,"class","break-word truncate text-sm md:whitespace-normal md:text-base")},m(r,o){w(r,e,o),v(e,t)},p(r,o){var a;o[0]&49153&&l!==(l=Ze((a=r[0])==null?void 0:a.eventTime,r[14],{relative:r[15]})+"")&&j(t,l)},i:re,o:re,d(r){r&&d(e)}}}function kn(s){let e,l,t,n,r=s[9]&&ht(s),o=s[8]&&s[8]!=="0ms"&&vt(s);return{c(){e=$("p"),r&&r.c(),l=S(),o&&o.c(),t=U(),this.h()},l(a){e=b(a,"P",{class:!0});var c=k(e);r&&r.l(c),c.forEach(d),l=G(a),o&&o.l(a),t=U(),this.h()},h(){g(e,"class","break-word truncate text-sm md:whitespace-normal")},m(a,c){w(a,e,c),r&&r.m(e,null),w(a,l,c),o&&o.m(a,c),w(a,t,c),n=!0},p(a,c){a[9]?r?r.p(a,c):(r=ht(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),a[8]&&a[8]!=="0ms"?o?(o.p(a,c),c[0]&256&&p(o,1)):(o=vt(a),o.c(),p(o,1),o.m(t.parentNode,t)):o&&(W(),h(o,1,1,()=>{o=null}),Q())},i(a){n||(p(o),n=!0)},o(a){h(o),n=!1},d(a){a&&d(e),r&&r.d(),a&&d(l),o&&o.d(a),a&&d(t)}}}function ht(s){let e=s[12]?"-":"+",l,t;return{c(){l=M(e),t=M(s[9])},l(n){l=F(n,e),t=F(n,s[9])},m(n,r){w(n,l,r),w(n,t,r)},p(n,r){r[0]&4096&&e!==(e=n[12]?"-":"+")&&j(l,e),r[0]&512&&j(t,n[9])},d(n){n&&d(l),n&&d(t)}}}function vt(s){let e,l,t,n,r,o;return l=new _e({props:{class:"inline",name:"clock"}}),{c(){e=$("div"),T(l.$$.fragment),t=S(),n=$("p"),r=M(s[8]),this.h()},l(a){e=b(a,"DIV",{class:!0});var c=k(e);y(l.$$.fragment,c),t=G(c),n=b(c,"P",{class:!0});var i=k(n);r=F(i,s[8]),i.forEach(d),c.forEach(d),this.h()},h(){g(n,"class","break-word truncate text-sm md:whitespace-normal"),g(e,"class","flex flex-row items-center gap-0")},m(a,c){w(a,e,c),D(l,e,null),v(e,t),v(e,n),v(n,r),o=!0},p(a,c){(!o||c[0]&256)&&j(r,a[8])},i(a){o||(p(l.$$.fragment,a),o=!0)},o(a){h(l.$$.fragment,a),o=!1},d(a){a&&d(e),P(l)}}}function gt(s){let e,l;return e=new _e({props:{class:"mr-1.5 inline text-red-700",name:"clock"}}),{c(){T(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function $t(s){let e,l;return e=new _e({props:{class:"mr-1.5 inline text-yellow-700",name:"clock"}}),{c(){T(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function bt(s){let e,l;return e=new _e({props:{class:"mr-1.5 inline text-pink-700",name:"clock"}}),{c(){T(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function kt(s){let e,l,t;return l=new _e({props:{class:"inline",name:"chevron-up"}}),{c(){e=$("div"),T(l.$$.fragment)},l(n){e=b(n,"DIV",{});var r=k(e);y(l.$$.fragment,r),r.forEach(d)},m(n,r){w(n,e,r),D(l,e,null),t=!0},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){h(l.$$.fragment,n),t=!1},d(n){n&&d(e),P(l)}}}function wt(s){let e,l,t,n,r,o,a,c;const i=[xe(s[6]),{attributes:s[10]},{class:"invisible h-0 w-0 md:visible md:h-auto md:w-auto"},{inline:!0}];let f={};for(let m=0;mel(t,"selectedId",a)),{c(){e=$("tr"),l=$("td"),T(t.$$.fragment),this.h()},l(i){e=b(i,"TR",{class:!0});var f=k(e);l=b(f,"TD",{class:!0,colspan:!0});var m=k(l);y(t.$$.fragment,m),m.forEach(d),f.forEach(d),this.h()},h(){g(l,"class","expanded-cell svelte-bv1sbi"),g(l,"colspan","6"),g(e,"class","svelte-bv1sbi"),q(e,"typedError",s[3])},m(i,f){w(i,e,f),v(e,l),D(t,l,null),o=!0},p(i,f){const m={};f[0]&1&&(m.event=i[0]),f[0]&64&&(m.currentEvent=i[6]),f[0]&2&&(m.compact=i[1]),!n&&f[0]&32&&(n=!0,m.selectedId=i[5],tl(()=>n=!1)),t.$set(m),(!o||f[0]&8)&&q(e,"typedError",i[3])},i(i){o||(p(t.$$.fragment,i),i&&(r||ll(()=>{r=nl(e,al,{}),r.start()})),o=!0)},o(i){h(t.$$.fragment,i),o=!1},d(i){i&&d(e),P(t)}}}function wn(s){let e,l,t,n,r,o,a,c,i,f,m,u,_,E,V,I,A,L,le,B=(ve(s[0])?s[0].displayName:Ne(s[0])?"LocalActivity":s[0].name)+"",z,H,ne,ue,ce,ae,me,be,de,se,Te,De;r=new he({props:{class:"truncate","data-testid":"link",$$slots:{default:[$n]},$$scope:{ctx:s}}}),r.$on("click",s[29]);const Pe=[kn,bn],O=[];function ze(C,N){return C[11]?0:1}i=ze(s),f=O[i]=Pe[i](s);let Z=s[1]&&s[17]&>(),X=s[1]&&s[18]&&$t(),x=s[1]&&s[19]&&bt(),ee=s[7]&&kt(),J=!s[7]&&wt(s),K=s[7]&&Et(s);return{c(){e=$("tr"),l=$("td"),t=S(),n=$("td"),T(r.$$.fragment),o=S(),a=$("td"),c=$("div"),f.c(),m=S(),u=$("td"),_=$("div"),E=$("div"),Z&&Z.c(),V=S(),X&&X.c(),I=S(),x&&x.c(),A=S(),L=$("div"),le=$("p"),z=M(B),H=S(),ee&&ee.c(),ue=S(),J&&J.c(),ce=S(),ae=$("td"),be=S(),K&&K.c(),de=U(),this.h()},l(C){e=b(C,"TR",{class:!0,id:!0,"data-testid":!0});var N=k(e);l=b(N,"TD",{}),k(l).forEach(d),t=G(N),n=b(N,"TD",{class:!0});var ye=k(n);y(r.$$.fragment,ye),ye.forEach(d),o=G(N),a=b(N,"TD",{class:!0});var ke=k(a);c=b(ke,"DIV",{class:!0});var Ue=k(c);f.l(Ue),Ue.forEach(d),ke.forEach(d),m=G(N),u=b(N,"TD",{colspan:!0,class:!0});var Je=k(u);_=b(Je,"DIV",{class:!0});var Ve=k(_);E=b(Ve,"DIV",{});var we=k(E);Z&&Z.l(we),V=G(we),X&&X.l(we),I=G(we),x&&x.l(we),we.forEach(d),A=G(Ve),L=b(Ve,"DIV",{class:!0});var Ce=k(L);le=b(Ce,"P",{class:!0});var Ke=k(le);z=F(Ke,B),Ke.forEach(d),H=G(Ce),ee&&ee.l(Ce),Ce.forEach(d),Ve.forEach(d),Je.forEach(d),ue=G(N),J&&J.l(N),ce=G(N),ae=b(N,"TD",{}),k(ae).forEach(d),N.forEach(d),be=G(C),K&&K.l(C),de=U(),this.h()},h(){g(n,"class","w-24 text-left"),g(c,"class","flex flex-col gap-0"),g(a,"class","text-left"),g(le,"class","event-name truncate text-sm font-semibold md:text-base svelte-bv1sbi"),g(L,"class","flex w-full items-center justify-between truncate"),g(_,"class","flex"),g(u,"colspan",ne=s[7]?2:1),g(u,"class","text-right text-sm font-normal xl:text-left"),g(e,"class","row svelte-bv1sbi"),g(e,"id",me=s[0].id),g(e,"data-testid","event-summary-row"),q(e,"expanded",s[7]&&!s[2]),q(e,"active",s[4]),q(e,"failure",s[17]),q(e,"canceled",s[18]),q(e,"terminated",s[19]),q(e,"typedError",s[3])},m(C,N){w(C,e,N),v(e,l),v(e,t),v(e,n),D(r,n,null),v(e,o),v(e,a),v(a,c),O[i].m(c,null),v(e,m),v(e,u),v(u,_),v(_,E),Z&&Z.m(E,null),v(E,V),X&&X.m(E,null),v(E,I),x&&x.m(E,null),v(_,A),v(_,L),v(L,le),v(le,z),v(L,H),ee&&ee.m(L,null),v(e,ue),J&&J.m(e,null),v(e,ce),v(e,ae),w(C,be,N),K&&K.m(C,N),w(C,de,N),se=!0,Te||(De=He(e,"click",Nt(s[16])),Te=!0)},p(C,N){const ye={};N[0]&1|N[1]&1&&(ye.$$scope={dirty:N,ctx:C}),r.$set(ye);let ke=i;i=ze(C),i===ke?O[i].p(C,N):(W(),h(O[ke],1,1,()=>{O[ke]=null}),Q(),f=O[i],f?f.p(C,N):(f=O[i]=Pe[i](C),f.c()),p(f,1),f.m(c,null)),C[1]&&C[17]?Z?N[0]&2&&p(Z,1):(Z=gt(),Z.c(),p(Z,1),Z.m(E,V)):Z&&(W(),h(Z,1,1,()=>{Z=null}),Q()),C[1]&&C[18]?X?N[0]&2&&p(X,1):(X=$t(),X.c(),p(X,1),X.m(E,I)):X&&(W(),h(X,1,1,()=>{X=null}),Q()),C[1]&&C[19]?x?N[0]&2&&p(x,1):(x=bt(),x.c(),p(x,1),x.m(E,null)):x&&(W(),h(x,1,1,()=>{x=null}),Q()),(!se||N[0]&1)&&B!==(B=(ve(C[0])?C[0].displayName:Ne(C[0])?"LocalActivity":C[0].name)+"")&&j(z,B),C[7]?ee?N[0]&128&&p(ee,1):(ee=kt(),ee.c(),p(ee,1),ee.m(L,null)):ee&&(W(),h(ee,1,1,()=>{ee=null}),Q()),(!se||N[0]&128&&ne!==(ne=C[7]?2:1))&&g(u,"colspan",ne),C[7]?J&&(W(),h(J,1,1,()=>{J=null}),Q()):J?(J.p(C,N),N[0]&128&&p(J,1)):(J=wt(C),J.c(),p(J,1),J.m(e,ce)),(!se||N[0]&1&&me!==(me=C[0].id))&&g(e,"id",me),(!se||N[0]&132)&&q(e,"expanded",C[7]&&!C[2]),(!se||N[0]&16)&&q(e,"active",C[4]),(!se||N[0]&8)&&q(e,"typedError",C[3]),C[7]?K?(K.p(C,N),N[0]&128&&p(K,1)):(K=Et(C),K.c(),p(K,1),K.m(de.parentNode,de)):K&&(W(),h(K,1,1,()=>{K=null}),Q())},i(C){se||(p(r.$$.fragment,C),p(f),p(Z),p(X),p(x),p(ee),p(J),p(K),se=!0)},o(C){h(r.$$.fragment,C),h(f),h(Z),h(X),h(x),h(ee),h(J),h(K),se=!1},d(C){C&&d(e),P(r),O[i].d(),Z&&Z.d(),X&&X.d(),x&&x.d(),ee&&ee.d(),J&&J.d(),C&&d(be),K&&K.d(C),C&&d(de),Te=!1,De()}}}function En(s,e,l){let t,n,r,o,a,c,i,f,m,u,_,E,V,I,A,L,le;te(s,Ge,O=>l(26,V=O)),te(s,Be,O=>l(27,I=O)),te(s,$e,O=>l(28,A=O)),te(s,ol,O=>l(14,L=O)),te(s,fl,O=>l(15,le=O));let{event:B}=e,{initialItem:z}=e,{compact:H=!1}=e,{expandAll:ne=!1}=e,{typedError:ue=!1}=e,{active:ce=!1}=e,{onRowClick:ae=re}=e,me=ve(B)?Array.from(B.events.keys()).pop():B.id;const be=()=>{l(7,a=!a),ae()},de=Le(B),se=je(B),Te=qe(B),De=O=>{O.stopPropagation(),Lt(o)};function Pe(O){me=O,l(5,me)}return s.$$set=O=>{"event"in O&&l(0,B=O.event),"initialItem"in O&&l(20,z=O.initialItem),"compact"in O&&l(1,H=O.compact),"expandAll"in O&&l(2,ne=O.expandAll),"typedError"in O&&l(3,ue=O.typedError),"active"in O&&l(4,ce=O.active),"onRowClick"in O&&l(21,ae=O.onRowClick)},s.$$.update=()=>{s.$$.dirty[0]&268435456&&l(24,{workflow:t,run:n,namespace:r}=A.params,t,(l(23,n),l(28,A)),(l(25,r),l(28,A))),s.$$.dirty[0]&58720257&&l(13,o=Wt({eventId:B.id,namespace:r,workflow:t,run:n})),s.$$.dirty[0]&4&&l(7,a=ne),s.$$.dirty[0]&134217728&&l(12,c=I==="descending"),s.$$.dirty[0]&67108864&&l(22,i=V==="true"),s.$$.dirty[0]&5242881&&l(11,f=i&&z&&B.id!==z.id),s.$$.dirty[0]&3&&l(10,m=Ht(B,{compact:H})),s.$$.dirty[0]&33&&l(6,u=ve(B)?B.events.get(me):B),s.$$.dirty[0]&1048641&&l(9,_=et({start:z.eventTime,end:ve(B)?B.initialEvent.eventTime:u.eventTime,includeMilliseconds:!0})),s.$$.dirty[0]&1&&l(8,E=ve(B)?et({start:B.initialEvent.eventTime,end:B.lastEvent.eventTime,includeMilliseconds:!0}):"")},[B,H,ne,ue,ce,me,u,a,E,_,m,f,c,o,L,le,be,de,se,Te,z,ae,i,n,t,r,V,I,A,De,Pe]}class Er extends ie{constructor(e){super(),oe(this,e,En,wn,fe,{event:0,initialItem:20,compact:1,expandAll:2,typedError:3,active:4,onRowClick:21},null,[-1,-1])}}function It(s,e,l){const t=s.slice();return t[4]=e[l].label,t[13]=e[l].option,t}function In(s){let e;return{c(){e=M(s[4])},l(l){e=F(l,s[4])},m(l,t){w(l,e,t)},p(l,t){t&16&&j(e,l[4])},d(l){l&&d(e)}}}function Tn(s){let e,l;return e=new _e({props:{name:"filter",slot:"trailing"}}),{c(){T(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:re,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function yn(s){let e=R("events",s[4])+"",l,t;return{c(){l=M(e),t=S()},l(n){l=F(n,e),t=G(n)},m(n,r){w(n,l,r),w(n,t,r)},p(n,r){r&2&&e!==(e=R("events",n[4])+"")&&j(l,e)},d(n){n&&d(l),n&&d(t)}}}function Tt(s){let e,l;function t(){return s[12](s[13])}return e=new We({props:{"data-testid":"event-category-option",selected:s[3]===s[13],$$slots:{default:[yn]},$$scope:{ctx:s}}}),e.$on("click",t),{c(){T(e.$$.fragment)},l(n){y(e.$$.fragment,n)},m(n,r){D(e,n,r),l=!0},p(n,r){s=n;const o={};r&10&&(o.selected=s[3]===s[13]),r&65538&&(o.$$scope={dirty:r,ctx:s}),e.$set(o)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){h(e.$$.fragment,n),l=!1},d(n){P(e,n)}}}function Dn(s){let e,l,t=s[1],n=[];for(let o=0;oh(n[o],1,1,()=>{n[o]=null});return{c(){for(let o=0;ol(10,o=I)),te(s,tt,I=>l(3,a=I)),te(s,hl,I=>l(11,c=I));var i,f;let{compact:m=!1}=e,{variant:u="table-header"}=e,_=m?dl:pl;const E=I=>{zt({parameter:yt,value:I,url:o.url})},V=I=>E(I);return s.$$set=I=>{"compact"in I&&l(6,m=I.compact),"variant"in I&&l(0,u=I.variant)},s.$$.update=()=>{s.$$.dirty&1024&&l(2,t=o.params.id),s.$$.dirty&64&&l(4,n=m?R("events","event-type"):R("events","workflow-events")),s.$$.dirty&2050&&vl("1.21",c)&&l(1,_=_.filter(({option:I})=>I!=="update")),s.$$.dirty&1026&&l(9,r=_.find(({option:I})=>{var A,L;return I===((L=(A=o.url)===null||A===void 0?void 0:A.searchParams)===null||L===void 0?void 0:L.get(yt))})),s.$$.dirty&896&&Se(tt,a=l(8,f=l(7,i=r==null?void 0:r.option)===null||i===void 0?void 0:i.toString())!==null&&f!==void 0?f:void 0,a)},[u,_,t,a,n,E,m,i,f,r,o,c,V]}class Sn extends ie{constructor(e){super(),oe(this,e,Cn,Vn,fe,{compact:6,variant:0})}}const Gn=({compact:s,sortOrder:e,showElapsed:l})=>{if(!((s||e==="descending")&&l==="false"))return`${e}:${l}`};function Dt(s,e,l){const t=s.slice();return t[9]=e[l].option,t[10]=e[l].label,t}function An(s){let e,l,t,n=R("date-and-time")+"",r,o;return e=new _e({props:{class:"md:hidden",name:"clock"}}),{c(){T(e.$$.fragment),l=S(),t=$("span"),r=M(n),this.h()},l(a){y(e.$$.fragment,a),l=G(a),t=b(a,"SPAN",{class:!0});var c=k(t);r=F(c,n),c.forEach(d),this.h()},h(){g(t,"class","max-md:hidden")},m(a,c){D(e,a,c),w(a,l,c),w(a,t,c),v(t,r),o=!0},p:re,i(a){o||(p(e.$$.fragment,a),o=!0)},o(a){h(e.$$.fragment,a),o=!1},d(a){P(e,a),a&&d(l),a&&d(t)}}}function Nn(s){let e=s[10]+"",l;return{c(){l=M(e)},l(t){l=F(t,e)},m(t,n){w(t,l,n)},p:re,d(t){t&&d(l)}}}function Pt(s){let e,l;function t(){return s[7](s[9])}return e=new We({props:{selected:s[1]===s[9],$$slots:{default:[Nn]},$$scope:{ctx:s}}}),e.$on("click",t),{c(){T(e.$$.fragment)},l(n){y(e.$$.fragment,n)},m(n,r){D(e,n,r),l=!0},p(n,r){s=n;const o={};r&2&&(o.selected=s[1]===s[9]),r&8192&&(o.$$scope={dirty:r,ctx:s}),e.$set(o)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){h(e.$$.fragment,n),l=!1},d(n){P(e,n)}}}function On(s){let e=R("events","show-elapsed-time")+"",l;return{c(){l=M(e)},l(t){l=F(t,e)},m(t,n){w(t,l,n)},p:re,d(t){t&&d(l)}}}function Rn(s){let e,l,t,n,r,o=s[3],a=[];for(let i=0;ih(a[i],1,1,()=>{a[i]=null});return l=new gl({}),n=new We({props:{selected:s[0]==="true",$$slots:{default:[On]},$$scope:{ctx:s}}}),n.$on("click",s[5]),{c(){for(let i=0;il(0,n=u)),te(s,Be,u=>l(1,r=u)),te(s,$e,u=>l(8,o=u));let{compact:a}=e,c=[{label:R("events","sort-ascending"),option:"ascending"},{label:R("events","sort-descending"),option:"descending"}];const i=u=>{Se(Be,r=u,r),zt({parameter:"sort",value:u,url:o.url})},f=()=>{n==="true"?Se(Ge,n="false",n):Se(Ge,n="true",n)},m=u=>i(u);return s.$$set=u=>{"compact"in u&&l(6,a=u.compact)},s.$$.update=()=>{s.$$.dirty&67&&l(2,t=Gn({compact:a,sortOrder:r,showElapsed:n}))},[n,r,t,c,i,f,a,m]}class jn extends ie{constructor(e){super(),oe(this,e,Ln,Fn,fe,{compact:6})}}function qn(s){let e;const l=s[6].default,t=Vt(l,s,s[7],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&128)&&Ct(t,l,n,n[7],e?Gt(l,n[7],r,null):St(n[7]),null)},i(n){e||(p(t,n),e=!0)},o(n){h(t,n),e=!1},d(n){t&&t.d(n)}}}function Bn(s){let e,l=R("workflows","event-history")+"",t;return{c(){e=$("caption"),t=M(l),this.h()},l(n){e=b(n,"CAPTION",{class:!0,slot:!0});var r=k(e);t=F(r,l),r.forEach(d),this.h()},h(){g(e,"class","sr-only"),g(e,"slot","caption")},m(n,r){w(n,e,r),v(e,t)},p:re,d(n){n&&d(e)}}}function Hn(s){let e,l=(s[2]?R("collapse-all"):R("expand-all"))+"",t;return{c(){e=$("span"),t=M(l),this.h()},l(n){e=b(n,"SPAN",{class:!0});var r=k(e);t=F(r,l),r.forEach(d),this.h()},h(){g(e,"class","hidden sm:block")},m(n,r){w(n,e,r),v(e,t)},p(n,r){r&4&&l!==(l=(n[2]?R("collapse-all"):R("expand-all"))+"")&&j(t,l)},d(n){n&&d(e)}}}function Wn(s){let e,l,t,n,r,o,a,c,i,f,m,u;return n=new jn({props:{compact:s[0]}}),a=new Sn({props:{compact:s[0]}}),m=new $l({props:{size:"sm",variant:"table-header",trailingIcon:s[2]?"chevron-up":"chevron-down",disabled:!!s[3],$$slots:{default:[Hn]},$$scope:{ctx:s}}}),m.$on("click",s[4]),{c(){e=$("td"),l=S(),t=$("th"),T(n.$$.fragment),r=S(),o=$("th"),T(a.$$.fragment),c=S(),i=$("th"),f=$("div"),T(m.$$.fragment),this.h()},l(_){e=b(_,"TD",{class:!0}),k(e).forEach(d),l=G(_),t=b(_,"TH",{class:!0});var E=k(t);y(n.$$.fragment,E),E.forEach(d),r=G(_),o=b(_,"TH",{class:!0});var V=k(o);y(a.$$.fragment,V),V.forEach(d),c=G(_),i=b(_,"TH",{class:!0});var I=k(i);f=b(I,"DIV",{class:!0});var A=k(f);y(m.$$.fragment,A),A.forEach(d),I.forEach(d),this.h()},h(){g(e,"class","w-14 xl:w-10"),g(t,"class","w-16 md:w-32"),g(o,"class","w-44"),g(f,"class","flex w-full justify-end"),g(i,"class","w-auto xl:w-80")},m(_,E){w(_,e,E),w(_,l,E),w(_,t,E),D(n,t,null),w(_,r,E),w(_,o,E),D(a,o,null),w(_,c,E),w(_,i,E),v(i,f),D(m,f,null),u=!0},p(_,E){const V={};E&1&&(V.compact=_[0]),n.$set(V);const I={};E&1&&(I.compact=_[0]),a.$set(I);const A={};E&4&&(A.trailingIcon=_[2]?"chevron-up":"chevron-down"),E&8&&(A.disabled=!!_[3]),E&132&&(A.$$scope={dirty:E,ctx:_}),m.$set(A)},i(_){u||(p(n.$$.fragment,_),p(a.$$.fragment,_),p(m.$$.fragment,_),u=!0)},o(_){h(n.$$.fragment,_),h(a.$$.fragment,_),h(m.$$.fragment,_),u=!1},d(_){_&&d(e),_&&d(l),_&&d(t),P(n),_&&d(r),_&&d(o),P(a),_&&d(c),_&&d(i),P(m)}}}function Qn(s){let e,l;return e=new _l({props:{slot:"headers",$$slots:{default:[Wn]},$$scope:{ctx:s}}}),{c(){T(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const r={};n&141&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function zn(s){let e,l;return e=new Qt({props:{updating:s[1],class:"dark w-full table-fixed","data-testid":"event-summary-table",$$slots:{headers:[Qn],caption:[Bn],default:[qn]},$$scope:{ctx:s}}}),{c(){T(e.$$.fragment)},l(t){y(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,[n]){const r={};n&2&&(r.updating=t[1]),n&141&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function Un(s,e,l){let t,n,r;te(s,$e,_=>l(5,n=_)),te(s,il,_=>l(8,r=_));let{$$slots:o={},$$scope:a}=e,{compact:c=!1}=e,{updating:i=!1}=e,f=r==="true";const m=At();function u(){l(2,f=!f),m("expandAll",{expanded:f?"true":"false"})}return s.$$set=_=>{"compact"in _&&l(0,c=_.compact),"updating"in _&&l(1,i=_.updating),"$$scope"in _&&l(7,a=_.$$scope)},s.$$.update=()=>{s.$$.dirty&32&&l(3,t=n.params.id)},[c,i,f,t,u,n,o,a]}class Ir extends ie{constructor(e){super(),oe(this,e,Un,zn,fe,{compact:0,updating:1})}}export{Ir as E,wr as a,Er as b}; +import{S as ie,b as oe,a as fe,m as $,p as b,q as k,k as d,u as g,f as w,L as v,z as W,g as h,h as Q,j as p,C as y,D as T,E as D,n as re,F as P,G as Vt,c as S,d as G,Z as Ye,P as q,Q as He,H as Ct,I as St,J as Gt,N as ge,U as Ee,V as Kt,e as U,M as At,aa as Re,ab as Me,w as M,x as F,y as j,K as te,$ as Nt,ag as Yt,R as Zt,Y as Xt,A as xt,a0 as el,a1 as tl,a3 as ll,a4 as nl,a5 as Se,a7 as Ot}from"./index.09834243.js";import{E as rl}from"./empty-state.aea525ff.js";import{L as sl}from"./loading.3bde98aa.js";import{t as R}from"./translate.0a219ae4.js";import{g as al,M as Rt,a as Mt,b as Ft,d as We}from"./menu.4ba49cb6.js";import{g as Lt}from"./navigation.3b6dd1c7.js";import{p as $e}from"./stores.cd833532.js";import{I as _e}from"./icon.3cd9fa27.js";import{L as he}from"./link.7cb1390a.js";import{e as Le,a as je,b as qe,i as ve}from"./index.7999049a.js";import{c as Ge,e as Be,b as il}from"./event-view.f3ec8bd2.js";import{t as ol,r as fl,b as Ze}from"./format-date.79f77cbf.js";import{a as Xe,g as cl,b as ul,s as jt,c as qt,d as Bt,e as Ae,f as Ht,h as ml,i as xe}from"./format-event-attributes.8792031a.js";import{q as et}from"./format-time.650b834b.js";import{C as Ne}from"./is-event-type.4dbe973b.js";import{n as Oe,g as pe,o as Wt}from"./route-for.d76d8056.js";import{C as Fe}from"./code-block.797d93a9.js";import{C as Ie}from"./index.a9a075c8.js";import{f as Y}from"./format-camel-case.887ffc78.js";import{P as Qe}from"./payload-decoder.53c14555.js";import{T as Qt,a as _l}from"./table-header-row.843c5ee2.js";import{c as dl,a as pl}from"./get-event-categorization.3ec93a88.js";import{e as tt}from"./filters.d78bd1e9.js";import{t as hl}from"./versions.a86975a1.js";import{u as zt}from"./update-query-parameters.016c7f2f.js";import{i as vl}from"./version-check.d006b302.js";import{M as gl}from"./menu-divider.6c0ebb73.js";import{B as $l}from"./button.ce5dce2f.js";function bl(s){let e,l;return e=new rl({props:{title:R("events","empty-state-title"),content:R("events","empty-state-description")}}),{c(){y(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:re,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function kl(s){let e,l;return e=new sl({}),{c(){y(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:re,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function wl(s){let e,l,t,n,r;const o=[kl,bl],a=[];function c(i,f){return i[0]?0:1}return t=c(s),n=a[t]=o[t](s),{c(){e=$("tr"),l=$("td"),n.c(),this.h()},l(i){e=b(i,"TR",{class:!0});var f=k(e);l=b(f,"TD",{colspan:!0});var m=k(l);n.l(m),m.forEach(d),f.forEach(d),this.h()},h(){g(l,"colspan","6"),g(e,"class","row svelte-kwty14")},m(i,f){w(i,e,f),v(e,l),a[t].m(l,null),r=!0},p(i,[f]){let m=t;t=c(i),t===m?a[t].p(i,f):(W(),h(a[m],1,1,()=>{a[m]=null}),Q(),n=a[t],n?n.p(i,f):(n=a[t]=o[t](i),n.c()),p(n,1),n.m(l,null))},i(i){r||(p(n),r=!0)},o(i){h(n),r=!1},d(i){i&&d(e),a[t].d()}}}function El(s,e,l){let{loading:t=!1}=e;return s.$$set=n=>{"loading"in n&&l(0,t=n.loading)},[t]}class wr extends ie{constructor(e){super(),oe(this,e,El,wl,fe,{loading:0})}}function lt(s){let e,l,t;return l=new _e({props:{name:s[1]?"spinner":s[3]}}),{c(){e=$("span"),y(l.$$.fragment),this.h()},l(n){e=b(n,"SPAN",{});var r=k(e);T(l.$$.fragment,r),r.forEach(d),this.h()},h(){q(e,"animate-spin",s[1])},m(n,r){w(n,e,r),D(l,e,null),t=!0},p(n,r){const o={};r&10&&(o.name=n[1]?"spinner":n[3]),l.$set(o),(!t||r&2)&&q(e,"animate-spin",n[1])},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){h(l.$$.fragment,n),t=!1},d(n){n&&d(e),P(l)}}}function Il(s){let e,l,t,n,r,o,a=s[3]&<(s);const c=s[7].default,i=Vt(c,s,s[6],null);return{c(){e=$("button"),a&&a.c(),l=S(),i&&i.c(),this.h()},l(f){e=b(f,"BUTTON",{class:!0});var m=k(e);a&&a.l(m),l=G(m),i&&i.l(m),m.forEach(d),this.h()},h(){g(e,"class",t=Ye(`pill ${s[5]} ${s[4]}`)+" svelte-1dt2q6k"),e.disabled=s[0],q(e,"active",s[2])},m(f,m){w(f,e,m),a&&a.m(e,null),v(e,l),i&&i.m(e,null),n=!0,r||(o=He(e,"click",s[8]),r=!0)},p(f,[m]){f[3]?a?(a.p(f,m),m&8&&p(a,1)):(a=lt(f),a.c(),p(a,1),a.m(e,l)):a&&(W(),h(a,1,1,()=>{a=null}),Q()),i&&i.p&&(!n||m&64)&&Ct(i,c,f,f[6],n?Gt(c,f[6],m,null):St(f[6]),null),(!n||m&48&&t!==(t=Ye(`pill ${f[5]} ${f[4]}`)+" svelte-1dt2q6k"))&&g(e,"class",t),(!n||m&1)&&(e.disabled=f[0]),(!n||m&52)&&q(e,"active",f[2])},i(f){n||(p(a),p(i,f),n=!0)},o(f){h(a),h(i,f),n=!1},d(f){f&&d(e),a&&a.d(),i&&i.d(f),r=!1,o()}}}function yl(s,e,l){let{$$slots:t={},$$scope:n}=e,{disabled:r=!1}=e,{loading:o=!1}=e,{active:a=!1}=e,{icon:c=null}=e,{classes:i=e.class}=e,{color:f="gray"}=e;function m(u){Kt.call(this,s,u)}return s.$$set=u=>{l(9,e=ge(ge({},e),Ee(u))),"disabled"in u&&l(0,r=u.disabled),"loading"in u&&l(1,o=u.loading),"active"in u&&l(2,a=u.active),"icon"in u&&l(3,c=u.icon),"classes"in u&&l(4,i=u.classes),"color"in u&&l(5,f=u.color),"$$scope"in u&&l(6,n=u.$$scope)},e=Ee(e),[r,o,a,c,i,f,n,t,m]}class Tl extends ie{constructor(e){super(),oe(this,e,yl,Il,fe,{disabled:0,loading:1,active:2,icon:3,classes:4,color:5})}}function nt(s,e,l){const t=s.slice();t[5]=e[l][0],t[6]=e[l][1];const n=t[1]===t[5];return t[7]=n,t}function rt(s){let e,l,t=[],n=new Map,r,o=Object.entries(s[0]);const a=c=>c[5];for(let c=0;c{r=null}),Q())},i(o){n||(p(r),n=!0)},o(o){h(r),n=!1},d(o){o&&d(l),r&&r.d(o),o&&d(t)}}}function Pl(s){let e,l,t=s[2]>1&&rt(s);return{c(){t&&t.c(),e=U()},l(n){t&&t.l(n),e=U()},m(n,r){t&&t.m(n,r),w(n,e,r),l=!0},p(n,[r]){n[2]>1?t?(t.p(n,r),r&4&&p(t,1)):(t=rt(n),t.c(),p(t,1),t.m(e.parentNode,e)):t&&(W(),h(t,1,1,()=>{t=null}),Q())},i(n){l||(p(t),l=!0)},o(n){h(t),l=!1},d(n){t&&t.d(n),n&&d(e)}}}function Vl(s,e,l){let t,{attributeGrouping:n}=e,{activePill:r}=e;const o=At(),a=c=>o("pillChange",{key:c});return s.$$set=c=>{"attributeGrouping"in c&&l(0,n=c.attributeGrouping),"activePill"in c&&l(1,r=c.activePill)},s.$$.update=()=>{s.$$.dirty&1&&l(2,t=Object.values(n).reduce((c,i)=>(i.length&&(c+=1),c),0))},[n,r,t,o,a]}class Ut extends ie{constructor(e){super(),oe(this,e,Vl,Pl,fe,{attributeGrouping:0,activePill:1})}}function Cl(s){let e,l,t=Y(s[0])+"",n,r,o,a,c;return{c(){e=$("div"),l=$("p"),n=M(t),r=S(),o=$("p"),a=$("span"),c=M(s[1]),this.h()},l(i){e=b(i,"DIV",{class:!0});var f=k(e);l=b(f,"P",{class:!0});var m=k(l);n=F(m,t),m.forEach(d),r=G(f),o=b(f,"P",{class:!0});var u=k(o);a=b(u,"SPAN",{class:!0});var _=k(a);c=F(_,s[1]),_.forEach(d),u.forEach(d),f.forEach(d),this.h()},h(){g(l,"class","text-sm"),g(a,"class","select-all px-2 svelte-10e9wiy"),q(a,"badge",!Ae(s[0])),g(o,"class","text-sm"),g(e,"class","content detail-row svelte-10e9wiy")},m(i,f){w(i,e,f),v(e,l),v(l,n),v(e,r),v(e,o),v(o,a),v(a,c)},p(i,f){f&1&&t!==(t=Y(i[0])+"")&&j(n,t),f&2&&j(c,i[1]),f&1&&q(a,"badge",!Ae(i[0]))},i:re,o:re,d(i){i&&d(e)}}}function Sl(s){let e,l,t=Y(s[0])+"",n,r,o,a,c;return a=new Ie({props:{copyIconTitle:R("copy-icon-title"),copySuccessIconTitle:R("copy-success-icon-title"),content:s[1],"container-class":"xl:flex-row",$$slots:{default:[Rl]},$$scope:{ctx:s}}}),{c(){e=$("div"),l=$("p"),n=M(t),r=S(),o=$("div"),y(a.$$.fragment),this.h()},l(i){e=b(i,"DIV",{class:!0});var f=k(e);l=b(f,"P",{class:!0});var m=k(l);n=F(m,t),m.forEach(d),r=G(f),o=b(f,"DIV",{class:!0});var u=k(o);T(a.$$.fragment,u),u.forEach(d),f.forEach(d),this.h()},h(){g(l,"class","text-sm"),g(o,"class","text-sm"),g(e,"class","content detail-row svelte-10e9wiy")},m(i,f){w(i,e,f),v(e,l),v(l,n),v(e,r),v(e,o),D(a,o,null),c=!0},p(i,f){(!c||f&1)&&t!==(t=Y(i[0])+"")&&j(n,t);const m={};f&2&&(m.content=i[1]),f&2050&&(m.$$scope={dirty:f,ctx:i}),a.$set(m)},i(i){c||(p(a.$$.fragment,i),c=!0)},o(i){h(a.$$.fragment,i),c=!1},d(i){i&&d(e),P(a)}}}function Gl(s){let e,l,t=Y(s[0])+"",n,r,o,a,c;return a=new Ie({props:{copyIconTitle:R("copy-icon-title"),copySuccessIconTitle:R("copy-success-icon-title"),content:s[1],"container-class":"xl:flex-row",$$slots:{default:[Fl]},$$scope:{ctx:s}}}),{c(){e=$("div"),l=$("p"),n=M(t),r=S(),o=$("div"),y(a.$$.fragment),this.h()},l(i){e=b(i,"DIV",{class:!0});var f=k(e);l=b(f,"P",{class:!0});var m=k(l);n=F(m,t),m.forEach(d),r=G(f),o=b(f,"DIV",{class:!0});var u=k(o);T(a.$$.fragment,u),u.forEach(d),f.forEach(d),this.h()},h(){g(l,"class","text-sm"),g(o,"class","text-sm"),g(e,"class","content detail-row svelte-10e9wiy")},m(i,f){w(i,e,f),v(e,l),v(l,n),v(e,r),v(e,o),D(a,o,null),c=!0},p(i,f){(!c||f&1)&&t!==(t=Y(i[0])+"")&&j(n,t);const m={};f&2&&(m.content=i[1]),f&2054&&(m.$$scope={dirty:f,ctx:i}),a.$set(m)},i(i){c||(p(a.$$.fragment,i),c=!0)},o(i){h(a.$$.fragment,i),c=!1},d(i){i&&d(e),P(a)}}}function Al(s){let e,l,t=Y(s[0])+"",n,r,o,a,c;return a=new Ie({props:{copyIconTitle:R("copy-icon-title"),copySuccessIconTitle:R("copy-success-icon-title"),content:s[1],"container-class":"flex-row-reverse xl:flex-row",$$slots:{default:[jl]},$$scope:{ctx:s}}}),{c(){e=$("div"),l=$("p"),n=M(t),r=S(),o=$("div"),y(a.$$.fragment),this.h()},l(i){e=b(i,"DIV",{class:!0});var f=k(e);l=b(f,"P",{class:!0});var m=k(l);n=F(m,t),m.forEach(d),r=G(f),o=b(f,"DIV",{class:!0});var u=k(o);T(a.$$.fragment,u),u.forEach(d),f.forEach(d),this.h()},h(){g(l,"class","text-sm"),g(o,"class","text-sm"),g(e,"class","content detail-row svelte-10e9wiy")},m(i,f){w(i,e,f),v(e,l),v(l,n),v(e,r),v(e,o),D(a,o,null),c=!0},p(i,f){(!c||f&1)&&t!==(t=Y(i[0])+"")&&j(n,t);const m={};f&2&&(m.content=i[1]),f&2050&&(m.$$scope={dirty:f,ctx:i}),a.$set(m)},i(i){c||(p(a.$$.fragment,i),c=!0)},o(i){h(a.$$.fragment,i),c=!1},d(i){i&&d(e),P(a)}}}function Nl(s){let e,l,t,n=Y(s[0])+"",r,o,a,c,i,f,m;const u=[Bl,ql],_=[];function E(I,A){var L;return(L=I[1])!=null&&L.payloads?0:1}a=E(s),c=_[a]=u[a](s);let V=s[5]&&!s[3]&&it(s);return{c(){e=$("div"),l=$("div"),t=$("p"),r=M(n),o=S(),c.c(),f=S(),V&&V.c(),this.h()},l(I){e=b(I,"DIV",{class:!0});var A=k(e);l=b(A,"DIV",{class:!0});var L=k(l);t=b(L,"P",{class:!0});var le=k(t);r=F(le,n),le.forEach(d),o=G(L),c.l(L),L.forEach(d),f=G(A),V&&V.l(A),A.forEach(d),this.h()},h(){g(t,"class","text-sm"),g(l,"class",i="flex flex-col "+(s[5]?"lg:w-1/2":"")),g(e,"class","content code-block-row svelte-10e9wiy"),q(e,"code-with-stack-trace",s[5])},m(I,A){w(I,e,A),v(e,l),v(l,t),v(t,r),v(l,o),_[a].m(l,null),v(e,f),V&&V.m(e,null),m=!0},p(I,A){(!m||A&1)&&n!==(n=Y(I[0])+"")&&j(r,n);let L=a;a=E(I),a===L?_[a].p(I,A):(W(),h(_[L],1,1,()=>{_[L]=null}),Q(),c=_[a],c?c.p(I,A):(c=_[a]=u[a](I),c.c()),p(c,1),c.m(l,null)),(!m||A&32&&i!==(i="flex flex-col "+(I[5]?"lg:w-1/2":"")))&&g(l,"class",i),I[5]&&!I[3]?V?(V.p(I,A),A&40&&p(V,1)):(V=it(I),V.c(),p(V,1),V.m(e,null)):V&&(W(),h(V,1,1,()=>{V=null}),Q()),(!m||A&32)&&q(e,"code-with-stack-trace",I[5])},i(I){m||(p(c),p(V),m=!0)},o(I){h(c),h(V),m=!1},d(I){I&&d(e),_[a].d(),V&&V.d()}}}function Ol(s){let e;return{c(){e=M(s[1])},l(l){e=F(l,s[1])},m(l,t){w(l,e,t)},p(l,t){t&2&&j(e,l[1])},d(l){l&&d(e)}}}function Rl(s){let e,l;return e=new he({props:{newTab:!0,href:Oe({namespace:s[7],queue:s[1]}),$$slots:{default:[Ol]},$$scope:{ctx:s}}}),{c(){y(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.href=Oe({namespace:t[7],queue:t[1]})),n&2050&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function Ml(s){let e;return{c(){e=M(s[1])},l(l){e=F(l,s[1])},m(l,t){w(l,e,t)},p(l,t){t&2&&j(e,l[1])},d(l){l&&d(e)}}}function Fl(s){var t;let e,l;return e=new he({props:{newTab:!0,href:pe({namespace:((t=s[2])==null?void 0:t.namespace)||s[7],workflow:s[2].workflowExecutionWorkflowId,run:s[2].workflowExecutionRunId}),$$slots:{default:[Ml]},$$scope:{ctx:s}}}),{c(){y(e.$$.fragment)},l(n){T(e.$$.fragment,n)},m(n,r){D(e,n,r),l=!0},p(n,r){var a;const o={};r&4&&(o.href=pe({namespace:((a=n[2])==null?void 0:a.namespace)||n[7],workflow:n[2].workflowExecutionWorkflowId,run:n[2].workflowExecutionRunId})),r&2050&&(o.$$scope={dirty:r,ctx:n}),e.$set(o)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){h(e.$$.fragment,n),l=!1},d(n){P(e,n)}}}function Ll(s){let e;return{c(){e=M(s[1])},l(l){e=F(l,s[1])},m(l,t){w(l,e,t)},p(l,t){t&2&&j(e,l[1])},d(l){l&&d(e)}}}function jl(s){let e,l;return e=new he({props:{newTab:!0,href:pe({namespace:s[7],workflow:s[6],run:s[1]}),$$slots:{default:[Ll]},$$scope:{ctx:s}}}),{c(){y(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.href=pe({namespace:t[7],workflow:t[6],run:t[1]})),n&2050&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function ql(s){let e,l;return e=new Qe({props:{value:s[4],$$slots:{default:[Hl,({decodedValue:t})=>({10:t}),({decodedValue:t})=>t?1024:0]},$$scope:{ctx:s}}}),{c(){y(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const r={};n&16&&(r.value=t[4]),n&3112&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function Bl(s){let e,l;return e=new Qe({props:{value:s[1],key:"payloads",$$slots:{default:[Wl,({decodedValue:t})=>({10:t}),({decodedValue:t})=>t?1024:0]},$$scope:{ctx:s}}}),{c(){y(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.value=t[1]),n&3112&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function Hl(s){let e,l;return e=new Fe({props:{content:s[10],class:"h-auto "+(s[5]?"mb-2":"")+" max-h-96 overflow-auto",inline:s[3],copyIconTitle:R("copy-icon-title"),copySuccessIconTitle:R("copy-success-icon-title")}}),{c(){y(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const r={};n&1024&&(r.content=t[10]),n&32&&(r.class="h-auto "+(t[5]?"mb-2":"")+" max-h-96 overflow-auto"),n&8&&(r.inline=t[3]),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function Wl(s){let e,l;return e=new Fe({props:{content:s[10],class:"h-auto "+(s[5]?"mb-2":"")+" max-h-96 overflow-auto",inline:s[3],copyIconTitle:R("copy-icon-title"),copySuccessIconTitle:R("copy-success-icon-title")}}),{c(){y(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const r={};n&1024&&(r.content=t[10]),n&32&&(r.class="h-auto "+(t[5]?"mb-2":"")+" max-h-96 overflow-auto"),n&8&&(r.inline=t[3]),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function it(s){let e,l,t,n,r,o;return r=new Fe({props:{content:s[5],language:"text",class:"mb-2 h-full lg:pr-2",copyIconTitle:R("copy-icon-title"),copySuccessIconTitle:R("copy-success-icon-title")}}),{c(){e=$("div"),l=$("p"),t=M("Stack trace"),n=S(),y(r.$$.fragment),this.h()},l(a){e=b(a,"DIV",{class:!0});var c=k(e);l=b(c,"P",{class:!0});var i=k(l);t=F(i,"Stack trace"),i.forEach(d),n=G(c),T(r.$$.fragment,c),c.forEach(d),this.h()},h(){g(l,"class","text-sm"),g(e,"class","flex flex-col lg:w-1/2")},m(a,c){w(a,e,c),v(e,l),v(l,t),v(e,n),D(r,e,null),o=!0},p(a,c){const i={};c&32&&(i.content=a[5]),r.$set(i)},i(a){o||(p(r.$$.fragment,a),o=!0)},o(a){h(r.$$.fragment,a),o=!1},d(a){a&&d(e),P(r)}}}function Ql(s){let e,l,t,n,r,o,a,c;const i=[Nl,Al,Gl,Sl,Cl],f=[];function m(u,_){return _&1&&(l=null),_&5&&(t=null),_&1&&(n=null),typeof u[1]=="object"?0:(l==null&&(l=!!jt(u[0])),l?1:(t==null&&(t=!!qt(u[0],u[2])),t?2:(n==null&&(n=!!Bt(u[0])),n?3:4)))}return r=m(s,-1),o=f[r]=i[r](s),{c(){e=$("div"),o.c(),this.h()},l(u){e=b(u,"DIV",{class:!0});var _=k(e);o.l(_),_.forEach(d),this.h()},h(){g(e,"class",a="row "+s[8].class+" svelte-10e9wiy")},m(u,_){w(u,e,_),f[r].m(e,null),c=!0},p(u,[_]){let E=r;r=m(u,_),r===E?f[r].p(u,_):(W(),h(f[E],1,1,()=>{f[E]=null}),Q(),o=f[r],o?o.p(u,_):(o=f[r]=i[r](u),o.c()),p(o,1),o.m(e,null)),(!c||_&256&&a!==(a="row "+u[8].class+" svelte-10e9wiy"))&&g(e,"class",a)},i(u){c||(p(o),c=!0)},o(u){h(o),c=!1},d(u){u&&d(e),f[r].d()}}}function zl(s,e,l){let t,n,r;te(s,$e,u=>l(9,r=u));let{key:o}=e,{value:a}=e,{attributes:c}=e,{inline:i=!1}=e;const{workflow:f,namespace:m}=r.params;return s.$$set=u=>{l(8,e=ge(ge({},e),Ee(u))),"key"in u&&l(0,o=u.key),"value"in u&&l(1,a=u.value),"attributes"in u&&l(2,c=u.attributes),"inline"in u&&l(3,i=u.inline)},s.$$.update=()=>{s.$$.dirty&2&&l(4,t=cl(a)),s.$$.dirty&16&&l(5,n=ul(t))},e=Ee(e),[o,a,c,i,t,n,f,m,e]}class Jt extends ie{constructor(e){super(),oe(this,e,zl,Ql,fe,{key:0,value:1,attributes:2,inline:3})}}function ot(s,e,l){const t=s.slice();return t[9]=e[l][0],t[10]=e[l][1],t}function Ul(s){let e=s[9]+"",l;return{c(){l=M(e)},l(t){l=F(t,e)},m(t,n){w(t,l,n)},p(t,n){n&1&&e!==(e=t[9]+"")&&j(l,e)},d(t){t&&d(l)}}}function ft(s,e){let l,t,n,r,o,a,c,i,f,m=(Ne(e[10])?"LocalActivity":e[10].eventType)+"",u,_,E,V,I,A,L;function le(...z){return e[7](e[9],...z)}a=new he({props:{class:"truncate",$$slots:{default:[Ul]},$$scope:{ctx:e}}}),a.$on("click",le);function B(){return e[8](e[9])}return{key:s,first:null,c(){l=$("tr"),t=$("td"),n=S(),r=$("td"),o=$("p"),y(a.$$.fragment),c=S(),i=$("td"),f=$("p"),u=M(m),_=S(),E=$("td"),V=S(),this.h()},l(z){l=b(z,"TR",{class:!0});var H=k(l);t=b(H,"TD",{class:!0}),k(t).forEach(d),n=G(H),r=b(H,"TD",{class:!0});var ne=k(r);o=b(ne,"P",{class:!0});var ue=k(o);T(a.$$.fragment,ue),ue.forEach(d),ne.forEach(d),c=G(H),i=b(H,"TD",{});var ce=k(i);f=b(ce,"P",{class:!0});var ae=k(f);u=F(ae,m),ae.forEach(d),ce.forEach(d),_=G(H),E=b(H,"TD",{}),k(E).forEach(d),V=G(H),H.forEach(d),this.h()},h(){g(t,"class","w-1/12"),g(o,"class","truncate text-sm text-gray-500 md:text-base"),g(r,"class","w-24"),g(f,"class","event-type truncate text-sm md:text-base svelte-11yead6"),g(l,"class","row svelte-11yead6"),q(l,"active",e[9]===e[1]),q(l,"failure",Le(e[10])),q(l,"canceled",je(e[10])),q(l,"terminated",qe(e[10])),this.first=l},m(z,H){w(z,l,H),v(l,t),v(l,n),v(l,r),v(r,o),D(a,o,null),v(l,c),v(l,i),v(i,f),v(f,u),v(l,_),v(l,E),v(l,V),I=!0,A||(L=He(l,"click",Nt(Yt(B))),A=!0)},p(z,H){e=z;const ne={};H&8193&&(ne.$$scope={dirty:H,ctx:e}),a.$set(ne),(!I||H&1)&&m!==(m=(Ne(e[10])?"LocalActivity":e[10].eventType)+"")&&j(u,m),(!I||H&3)&&q(l,"active",e[9]===e[1]),(!I||H&1)&&q(l,"failure",Le(e[10])),(!I||H&1)&&q(l,"canceled",je(e[10])),(!I||H&1)&&q(l,"terminated",qe(e[10]))},i(z){I||(p(a.$$.fragment,z),I=!0)},o(z){h(a.$$.fragment,z),I=!1},d(z){z&&d(l),P(a),A=!1,L()}}}function Jl(s){let e=[],l=new Map,t,n,r=[...s[0].events].reverse();const o=a=>a[9];for(let a=0;al(6,o=u));let{eventGroup:a}=e,{selectedId:c}=e,{onGroupClick:i}=e;const f=(u,_)=>{_.stopPropagation(),Lt(Wt({eventId:u,namespace:r,workflow:t,run:n}))},m=u=>i(u);return s.$$set=u=>{"eventGroup"in u&&l(0,a=u.eventGroup),"selectedId"in u&&l(1,c=u.selectedId),"onGroupClick"in u&&l(2,i=u.onGroupClick)},s.$$.update=()=>{s.$$.dirty&64&&l(5,{workflow:t,run:n,namespace:r}=o.params,t,(l(4,n),l(6,o)),(l(3,r),l(6,o)))},[a,c,i,r,n,t,o,f,m]}class Zl extends ie{constructor(e){super(),oe(this,e,Yl,Kl,fe,{eventGroup:0,selectedId:1,onGroupClick:2})}}function ct(s,e,l){const t=s.slice();return t[10]=e[l][0],t[11]=e[l][1],t}function ut(s,e,l){const t=s.slice();return t[10]=e[l][0],t[11]=e[l][1],t}function Xl(s){let e,l,t,n=[],r=new Map,o;l=new Ut({props:{attributeGrouping:s[4],activePill:s[5]}}),l.$on("pillChange",s[7]);let a=s[6];const c=i=>i[10];for(let i=0;iu[10];for(let u=0;u{o=null}),Q())},i(c){r||(p(o),r=!0)},o(c){h(o),r=!1},d(c){c&&d(l),o&&o.d(c),c&&d(n)}}}function dt(s){let e,l;return e=new Jt({props:{key:s[10],value:s[11],attributes:s[3],class:"w-full"}}),{c(){y(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const r={};n&64&&(r.key=t[10]),n&64&&(r.value=t[11]),n&8&&(r.attributes=t[3]),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function pt(s,e){var a;let l,t=(a=e[4][e[5]])==null?void 0:a.includes(e[10]),n,r,o=t&&dt(e);return{key:s,first:null,c(){l=U(),o&&o.c(),n=U(),this.h()},l(c){l=U(),o&&o.l(c),n=U(),this.h()},h(){this.first=l},m(c,i){w(c,l,i),o&&o.m(c,i),w(c,n,i),r=!0},p(c,i){var f;e=c,i&112&&(t=(f=e[4][e[5]])==null?void 0:f.includes(e[10])),t?o?(o.p(e,i),i&112&&p(o,1)):(o=dt(e),o.c(),p(o,1),o.m(n.parentNode,n)):o&&(W(),h(o,1,1,()=>{o=null}),Q())},i(c){r||(p(o),r=!0)},o(c){h(o),r=!1},d(c){c&&d(l),o&&o.d(c),c&&d(n)}}}function en(s){let e,l,t,n,r;const o=[xl,Xl],a=[];function c(i,f){return f&6&&(e=null),e==null&&(e=!!(i[2]&&ve(i[1]))),e?0:1}return l=c(s,-1),t=a[l]=o[l](s),{c(){t.c(),n=U()},l(i){t.l(i),n=U()},m(i,f){a[l].m(i,f),w(i,n,f),r=!0},p(i,[f]){let m=l;l=c(i,f),l===m?a[l].p(i,f):(W(),h(a[m],1,1,()=>{a[m]=null}),Q(),t=a[l],t?t.p(i,f):(t=a[l]=o[l](i),t.c()),p(t,1),t.m(n.parentNode,n))},i(i){r||(p(t),r=!0)},o(i){h(t),r=!1},d(i){a[l].d(i),i&&d(n)}}}function tn(s,e,l){let t,n,r,o,{event:a}=e,{currentEvent:c}=e,{compact:i=!1}=e,{selectedId:f}=e;const m=_=>{l(5,r=_.detail.key)},u=_=>l(0,f=_);return s.$$set=_=>{"event"in _&&l(1,a=_.event),"currentEvent"in _&&l(9,c=_.currentEvent),"compact"in _&&l(2,i=_.compact),"selectedId"in _&&l(0,f=_.selectedId)},s.$$.update=()=>{s.$$.dirty&516&&l(3,t=Ht(c,{compact:i})),s.$$.dirty&10&&l(4,n=ml(a,t)),s.$$.dirty&16&&l(5,r=Object.keys(n).find(_=>n[_].length)),s.$$.dirty&8&&l(6,o=Object.entries(t))},[f,a,i,t,n,r,o,m,u,c]}class ln extends ie{constructor(e){super(),oe(this,e,tn,en,fe,{event:1,currentEvent:9,compact:2,selectedId:0})}}function nn(s){let e,l,t=Y(s[0])+"",n,r,o,a,c;return{c(){e=$("div"),l=$("p"),n=M(t),r=S(),o=$("p"),a=$("span"),c=M(s[1]),this.h()},l(i){e=b(i,"DIV",{class:!0});var f=k(e);l=b(f,"P",{class:!0});var m=k(l);n=F(m,t),m.forEach(d),r=G(f),o=b(f,"P",{class:!0});var u=k(o);a=b(u,"SPAN",{class:!0});var _=k(a);c=F(_,s[1]),_.forEach(d),u.forEach(d),f.forEach(d),this.h()},h(){g(l,"class","mr-3 truncate text-sm"),g(a,"class","w-full select-all text-gray-700 svelte-n4ehvt"),q(a,"badge",!Ae(s[0])),g(o,"class","truncate text-right text-sm xl:text-left"),g(e,"class","flex w-full flex-wrap items-center gap-1 pr-1")},m(i,f){w(i,e,f),v(e,l),v(l,n),v(e,r),v(e,o),v(o,a),v(a,c)},p(i,f){f&1&&t!==(t=Y(i[0])+"")&&j(n,t),f&2&&j(c,i[1]),f&1&&q(a,"badge",!Ae(i[0]))},i:re,o:re,d(i){i&&d(e)}}}function rn(s){let e,l,t=Y(s[0])+"",n,r,o,a,c;return a=new Ie({props:{copyIconTitle:R("copy-icon-title"),copySuccessIconTitle:R("copy-success-icon-title"),content:s[1],$$slots:{default:[cn]},$$scope:{ctx:s}}}),{c(){e=$("div"),l=$("p"),n=M(t),r=S(),o=$("div"),y(a.$$.fragment),this.h()},l(i){e=b(i,"DIV",{class:!0});var f=k(e);l=b(f,"P",{class:!0});var m=k(l);n=F(m,t),m.forEach(d),r=G(f),o=b(f,"DIV",{class:!0});var u=k(o);T(a.$$.fragment,u),u.forEach(d),f.forEach(d),this.h()},h(){g(l,"class","mr-3 truncate text-sm"),g(o,"class","truncate text-sm"),g(e,"class","flex w-full flex-wrap items-center gap-1 pr-1")},m(i,f){w(i,e,f),v(e,l),v(l,n),v(e,r),v(e,o),D(a,o,null),c=!0},p(i,f){(!c||f&1)&&t!==(t=Y(i[0])+"")&&j(n,t);const m={};f&2&&(m.content=i[1]),f&514&&(m.$$scope={dirty:f,ctx:i}),a.$set(m)},i(i){c||(p(a.$$.fragment,i),c=!0)},o(i){h(a.$$.fragment,i),c=!1},d(i){i&&d(e),P(a)}}}function sn(s){let e,l,t=Y(s[0])+"",n,r,o,a,c;return a=new Ie({props:{copyIconTitle:R("copy-icon-title"),copySuccessIconTitle:R("copy-success-icon-title"),content:s[1],"container-class":"xl:flex-row",$$slots:{default:[mn]},$$scope:{ctx:s}}}),{c(){e=$("div"),l=$("p"),n=M(t),r=S(),o=$("div"),y(a.$$.fragment),this.h()},l(i){e=b(i,"DIV",{class:!0});var f=k(e);l=b(f,"P",{class:!0});var m=k(l);n=F(m,t),m.forEach(d),r=G(f),o=b(f,"DIV",{class:!0});var u=k(o);T(a.$$.fragment,u),u.forEach(d),f.forEach(d),this.h()},h(){g(l,"class","truncate text-sm"),g(o,"class","truncate text-sm"),g(e,"class","flex w-full flex-wrap items-center gap-1 pr-1")},m(i,f){w(i,e,f),v(e,l),v(l,n),v(e,r),v(e,o),D(a,o,null),c=!0},p(i,f){(!c||f&1)&&t!==(t=Y(i[0])+"")&&j(n,t);const m={};f&2&&(m.content=i[1]),f&518&&(m.$$scope={dirty:f,ctx:i}),a.$set(m)},i(i){c||(p(a.$$.fragment,i),c=!0)},o(i){h(a.$$.fragment,i),c=!1},d(i){i&&d(e),P(a)}}}function an(s){let e,l,t=Y(s[0])+"",n,r,o,a,c;return a=new Ie({props:{copyIconTitle:R("copy-icon-title"),copySuccessIconTitle:R("copy-success-icon-title"),content:s[1],"container-class":"xl:flex-row",$$slots:{default:[dn]},$$scope:{ctx:s}}}),{c(){e=$("div"),l=$("p"),n=M(t),r=S(),o=$("div"),y(a.$$.fragment),this.h()},l(i){e=b(i,"DIV",{class:!0});var f=k(e);l=b(f,"P",{class:!0});var m=k(l);n=F(m,t),m.forEach(d),r=G(f),o=b(f,"DIV",{class:!0});var u=k(o);T(a.$$.fragment,u),u.forEach(d),f.forEach(d),this.h()},h(){g(l,"class","mr-3 truncate text-sm"),g(o,"class","truncate text-sm"),g(e,"class","flex w-full flex-wrap items-center gap-1 pr-1")},m(i,f){w(i,e,f),v(e,l),v(l,n),v(e,r),v(e,o),D(a,o,null),c=!0},p(i,f){(!c||f&1)&&t!==(t=Y(i[0])+"")&&j(n,t);const m={};f&2&&(m.content=i[1]),f&514&&(m.$$scope={dirty:f,ctx:i}),a.$set(m)},i(i){c||(p(a.$$.fragment,i),c=!0)},o(i){h(a.$$.fragment,i),c=!1},d(i){i&&d(e),P(a)}}}function on(s){let e,l,t=Y(s[0])+"",n,r,o,a;return o=new Qe({props:{value:s[1],key:"payloads",$$slots:{default:[pn,({decodedValue:c})=>({8:c}),({decodedValue:c})=>c?256:0]},$$scope:{ctx:s}}}),{c(){e=$("div"),l=$("p"),n=M(t),r=S(),y(o.$$.fragment),this.h()},l(c){e=b(c,"DIV",{class:!0});var i=k(e);l=b(i,"P",{class:!0});var f=k(l);n=F(f,t),f.forEach(d),r=G(i),T(o.$$.fragment,i),i.forEach(d),this.h()},h(){g(l,"class","min-w-fit text-sm"),g(e,"class","flex w-full flex-wrap items-center justify-between gap-1 pr-1 xl:flex-nowrap xl:gap-4")},m(c,i){w(c,e,i),v(e,l),v(l,n),v(e,r),D(o,e,null),a=!0},p(c,i){(!a||i&1)&&t!==(t=Y(c[0])+"")&&j(n,t);const f={};i&2&&(f.value=c[1]),i&776&&(f.$$scope={dirty:i,ctx:c}),o.$set(f)},i(c){a||(p(o.$$.fragment,c),a=!0)},o(c){h(o.$$.fragment,c),a=!1},d(c){c&&d(e),P(o)}}}function fn(s){let e;return{c(){e=M(s[1])},l(l){e=F(l,s[1])},m(l,t){w(l,e,t)},p(l,t){t&2&&j(e,l[1])},d(l){l&&d(e)}}}function cn(s){let e,l;return e=new he({props:{class:"truncate",newTab:!0,href:Oe({namespace:s[5],queue:s[1]}),$$slots:{default:[fn]},$$scope:{ctx:s}}}),{c(){y(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.href=Oe({namespace:t[5],queue:t[1]})),n&514&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function un(s){let e;return{c(){e=M(s[1])},l(l){e=F(l,s[1])},m(l,t){w(l,e,t)},p(l,t){t&2&&j(e,l[1])},d(l){l&&d(e)}}}function mn(s){let e,l;return e=new he({props:{class:"truncate",newTab:!0,href:pe({namespace:s[5],workflow:s[2].workflowExecutionWorkflowId,run:s[2].workflowExecutionRunId}),$$slots:{default:[un]},$$scope:{ctx:s}}}),{c(){y(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const r={};n&4&&(r.href=pe({namespace:t[5],workflow:t[2].workflowExecutionWorkflowId,run:t[2].workflowExecutionRunId})),n&514&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function _n(s){let e;return{c(){e=M(s[1])},l(l){e=F(l,s[1])},m(l,t){w(l,e,t)},p(l,t){t&2&&j(e,l[1])},d(l){l&&d(e)}}}function dn(s){let e,l;return e=new he({props:{class:"truncate",newTab:!0,href:pe({namespace:s[5],workflow:s[4],run:s[1]}),$$slots:{default:[_n]},$$scope:{ctx:s}}}),{c(){y(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.href=pe({namespace:t[5],workflow:t[4],run:t[1]})),n&514&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function pn(s){let e,l;return e=new Fe({props:{content:s[8],inline:s[3],copyIconTitle:R("copy-icon-title"),copySuccessIconTitle:R("copy-success-icon-title")}}),{c(){y(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const r={};n&256&&(r.content=t[8]),n&8&&(r.inline=t[3]),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function hn(s){let e,l,t,n,r,o,a,c;const i=[on,an,sn,rn,nn],f=[];function m(u,_){return _&1&&(l=null),_&5&&(t=null),_&1&&(n=null),typeof u[1]=="object"?0:(l==null&&(l=!!jt(u[0])),l?1:(t==null&&(t=!!qt(u[0],u[2])),t?2:(n==null&&(n=!!Bt(u[0])),n?3:4)))}return r=m(s,-1),o=f[r]=i[r](s),{c(){e=$("div"),o.c(),this.h()},l(u){e=b(u,"DIV",{class:!0});var _=k(e);o.l(_),_.forEach(d),this.h()},h(){g(e,"class",a="flex flex-row items-center gap-2 first:pt-0 last:border-b-0 xl:gap-4 "+s[6].class+" svelte-n4ehvt")},m(u,_){w(u,e,_),f[r].m(e,null),c=!0},p(u,[_]){let E=r;r=m(u,_),r===E?f[r].p(u,_):(W(),h(f[E],1,1,()=>{f[E]=null}),Q(),o=f[r],o?o.p(u,_):(o=f[r]=i[r](u),o.c()),p(o,1),o.m(e,null)),(!c||_&64&&a!==(a="flex flex-row items-center gap-2 first:pt-0 last:border-b-0 xl:gap-4 "+u[6].class+" svelte-n4ehvt"))&&g(e,"class",a)},i(u){c||(p(o),c=!0)},o(u){h(o),c=!1},d(u){u&&d(e),f[r].d()}}}function vn(s,e,l){let t;te(s,$e,f=>l(7,t=f));let{key:n}=e,{value:r}=e,{attributes:o}=e,{inline:a=!1}=e;const{workflow:c,namespace:i}=t.params;return s.$$set=f=>{l(6,e=ge(ge({},e),Ee(f))),"key"in f&&l(0,n=f.key),"value"in f&&l(1,r=f.value),"attributes"in f&&l(2,o=f.attributes),"inline"in f&&l(3,a=f.inline)},e=Ee(e),[n,r,o,a,c,i,e]}class gn extends ie{constructor(e){super(),oe(this,e,vn,hn,fe,{key:0,value:1,attributes:2,inline:3})}}function $n(s){let e=s[0].id+"",l;return{c(){l=M(e)},l(t){l=F(t,e)},m(t,n){w(t,l,n)},p(t,n){n[0]&1&&e!==(e=t[0].id+"")&&j(l,e)},d(t){t&&d(l)}}}function bn(s){var n;let e,l=Ze((n=s[0])==null?void 0:n.eventTime,s[14],{relative:s[15]})+"",t;return{c(){e=$("p"),t=M(l),this.h()},l(r){e=b(r,"P",{class:!0});var o=k(e);t=F(o,l),o.forEach(d),this.h()},h(){g(e,"class","break-word truncate text-sm md:whitespace-normal md:text-base")},m(r,o){w(r,e,o),v(e,t)},p(r,o){var a;o[0]&49153&&l!==(l=Ze((a=r[0])==null?void 0:a.eventTime,r[14],{relative:r[15]})+"")&&j(t,l)},i:re,o:re,d(r){r&&d(e)}}}function kn(s){let e,l,t,n,r=s[9]&&ht(s),o=s[8]&&s[8]!=="0ms"&&vt(s);return{c(){e=$("p"),r&&r.c(),l=S(),o&&o.c(),t=U(),this.h()},l(a){e=b(a,"P",{class:!0});var c=k(e);r&&r.l(c),c.forEach(d),l=G(a),o&&o.l(a),t=U(),this.h()},h(){g(e,"class","break-word truncate text-sm md:whitespace-normal")},m(a,c){w(a,e,c),r&&r.m(e,null),w(a,l,c),o&&o.m(a,c),w(a,t,c),n=!0},p(a,c){a[9]?r?r.p(a,c):(r=ht(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),a[8]&&a[8]!=="0ms"?o?(o.p(a,c),c[0]&256&&p(o,1)):(o=vt(a),o.c(),p(o,1),o.m(t.parentNode,t)):o&&(W(),h(o,1,1,()=>{o=null}),Q())},i(a){n||(p(o),n=!0)},o(a){h(o),n=!1},d(a){a&&d(e),r&&r.d(),a&&d(l),o&&o.d(a),a&&d(t)}}}function ht(s){let e=s[12]?"-":"+",l,t;return{c(){l=M(e),t=M(s[9])},l(n){l=F(n,e),t=F(n,s[9])},m(n,r){w(n,l,r),w(n,t,r)},p(n,r){r[0]&4096&&e!==(e=n[12]?"-":"+")&&j(l,e),r[0]&512&&j(t,n[9])},d(n){n&&d(l),n&&d(t)}}}function vt(s){let e,l,t,n,r,o;return l=new _e({props:{class:"inline",name:"clock"}}),{c(){e=$("div"),y(l.$$.fragment),t=S(),n=$("p"),r=M(s[8]),this.h()},l(a){e=b(a,"DIV",{class:!0});var c=k(e);T(l.$$.fragment,c),t=G(c),n=b(c,"P",{class:!0});var i=k(n);r=F(i,s[8]),i.forEach(d),c.forEach(d),this.h()},h(){g(n,"class","break-word truncate text-sm md:whitespace-normal"),g(e,"class","flex flex-row items-center gap-0")},m(a,c){w(a,e,c),D(l,e,null),v(e,t),v(e,n),v(n,r),o=!0},p(a,c){(!o||c[0]&256)&&j(r,a[8])},i(a){o||(p(l.$$.fragment,a),o=!0)},o(a){h(l.$$.fragment,a),o=!1},d(a){a&&d(e),P(l)}}}function gt(s){let e,l;return e=new _e({props:{class:"mr-1.5 inline text-red-700",name:"clock"}}),{c(){y(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function $t(s){let e,l;return e=new _e({props:{class:"mr-1.5 inline text-yellow-700",name:"clock"}}),{c(){y(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function bt(s){let e,l;return e=new _e({props:{class:"mr-1.5 inline text-pink-700",name:"clock"}}),{c(){y(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function kt(s){let e,l,t;return l=new _e({props:{class:"inline",name:"chevron-up"}}),{c(){e=$("div"),y(l.$$.fragment)},l(n){e=b(n,"DIV",{});var r=k(e);T(l.$$.fragment,r),r.forEach(d)},m(n,r){w(n,e,r),D(l,e,null),t=!0},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){h(l.$$.fragment,n),t=!1},d(n){n&&d(e),P(l)}}}function wt(s){let e,l,t,n,r,o,a,c;const i=[xe(s[6]),{attributes:s[10]},{class:"invisible h-0 w-0 md:visible md:h-auto md:w-auto"},{inline:!0}];let f={};for(let m=0;mel(t,"selectedId",a)),{c(){e=$("tr"),l=$("td"),y(t.$$.fragment),this.h()},l(i){e=b(i,"TR",{class:!0});var f=k(e);l=b(f,"TD",{class:!0,colspan:!0});var m=k(l);T(t.$$.fragment,m),m.forEach(d),f.forEach(d),this.h()},h(){g(l,"class","expanded-cell svelte-5vypy2"),g(l,"colspan","6"),g(e,"class","svelte-5vypy2"),q(e,"typedError",s[3])},m(i,f){w(i,e,f),v(e,l),D(t,l,null),o=!0},p(i,f){const m={};f[0]&1&&(m.event=i[0]),f[0]&64&&(m.currentEvent=i[6]),f[0]&2&&(m.compact=i[1]),!n&&f[0]&32&&(n=!0,m.selectedId=i[5],tl(()=>n=!1)),t.$set(m),(!o||f[0]&8)&&q(e,"typedError",i[3])},i(i){o||(p(t.$$.fragment,i),i&&(r||ll(()=>{r=nl(e,al,{}),r.start()})),o=!0)},o(i){h(t.$$.fragment,i),o=!1},d(i){i&&d(e),P(t)}}}function wn(s){let e,l,t,n,r,o,a,c,i,f,m,u,_,E,V,I,A,L,le,B=(ve(s[0])?s[0].displayName:Ne(s[0])?"LocalActivity":s[0].name)+"",z,H,ne,ue,ce,ae,me,be,de,se,ye,De;r=new he({props:{class:"truncate","data-testid":"link",$$slots:{default:[$n]},$$scope:{ctx:s}}}),r.$on("click",s[29]);const Pe=[kn,bn],O=[];function ze(C,N){return C[11]?0:1}i=ze(s),f=O[i]=Pe[i](s);let Z=s[1]&&s[17]&>(),X=s[1]&&s[18]&&$t(),x=s[1]&&s[19]&&bt(),ee=s[7]&&kt(),J=!s[7]&&wt(s),K=s[7]&&Et(s);return{c(){e=$("tr"),l=$("td"),t=S(),n=$("td"),y(r.$$.fragment),o=S(),a=$("td"),c=$("div"),f.c(),m=S(),u=$("td"),_=$("div"),E=$("div"),Z&&Z.c(),V=S(),X&&X.c(),I=S(),x&&x.c(),A=S(),L=$("div"),le=$("p"),z=M(B),H=S(),ee&&ee.c(),ue=S(),J&&J.c(),ce=S(),ae=$("td"),be=S(),K&&K.c(),de=U(),this.h()},l(C){e=b(C,"TR",{class:!0,id:!0,"data-testid":!0});var N=k(e);l=b(N,"TD",{}),k(l).forEach(d),t=G(N),n=b(N,"TD",{class:!0});var Te=k(n);T(r.$$.fragment,Te),Te.forEach(d),o=G(N),a=b(N,"TD",{class:!0});var ke=k(a);c=b(ke,"DIV",{class:!0});var Ue=k(c);f.l(Ue),Ue.forEach(d),ke.forEach(d),m=G(N),u=b(N,"TD",{colspan:!0,class:!0});var Je=k(u);_=b(Je,"DIV",{class:!0});var Ve=k(_);E=b(Ve,"DIV",{});var we=k(E);Z&&Z.l(we),V=G(we),X&&X.l(we),I=G(we),x&&x.l(we),we.forEach(d),A=G(Ve),L=b(Ve,"DIV",{class:!0});var Ce=k(L);le=b(Ce,"P",{class:!0});var Ke=k(le);z=F(Ke,B),Ke.forEach(d),H=G(Ce),ee&&ee.l(Ce),Ce.forEach(d),Ve.forEach(d),Je.forEach(d),ue=G(N),J&&J.l(N),ce=G(N),ae=b(N,"TD",{}),k(ae).forEach(d),N.forEach(d),be=G(C),K&&K.l(C),de=U(),this.h()},h(){g(n,"class","w-24 text-left"),g(c,"class","flex flex-col gap-0"),g(a,"class","text-left"),g(le,"class","event-name truncate text-sm font-semibold md:text-base svelte-5vypy2"),g(L,"class","flex w-full items-center justify-between truncate"),g(_,"class","flex"),g(u,"colspan",ne=s[7]?2:1),g(u,"class","text-right text-sm font-normal xl:text-left"),g(e,"class","row svelte-5vypy2"),g(e,"id",me=s[0].id),g(e,"data-testid","event-summary-row"),q(e,"expanded",s[7]&&!s[2]),q(e,"active",s[4]),q(e,"failure",s[17]),q(e,"canceled",s[18]),q(e,"terminated",s[19]),q(e,"typedError",s[3])},m(C,N){w(C,e,N),v(e,l),v(e,t),v(e,n),D(r,n,null),v(e,o),v(e,a),v(a,c),O[i].m(c,null),v(e,m),v(e,u),v(u,_),v(_,E),Z&&Z.m(E,null),v(E,V),X&&X.m(E,null),v(E,I),x&&x.m(E,null),v(_,A),v(_,L),v(L,le),v(le,z),v(L,H),ee&&ee.m(L,null),v(e,ue),J&&J.m(e,null),v(e,ce),v(e,ae),w(C,be,N),K&&K.m(C,N),w(C,de,N),se=!0,ye||(De=He(e,"click",Nt(s[16])),ye=!0)},p(C,N){const Te={};N[0]&1|N[1]&1&&(Te.$$scope={dirty:N,ctx:C}),r.$set(Te);let ke=i;i=ze(C),i===ke?O[i].p(C,N):(W(),h(O[ke],1,1,()=>{O[ke]=null}),Q(),f=O[i],f?f.p(C,N):(f=O[i]=Pe[i](C),f.c()),p(f,1),f.m(c,null)),C[1]&&C[17]?Z?N[0]&2&&p(Z,1):(Z=gt(),Z.c(),p(Z,1),Z.m(E,V)):Z&&(W(),h(Z,1,1,()=>{Z=null}),Q()),C[1]&&C[18]?X?N[0]&2&&p(X,1):(X=$t(),X.c(),p(X,1),X.m(E,I)):X&&(W(),h(X,1,1,()=>{X=null}),Q()),C[1]&&C[19]?x?N[0]&2&&p(x,1):(x=bt(),x.c(),p(x,1),x.m(E,null)):x&&(W(),h(x,1,1,()=>{x=null}),Q()),(!se||N[0]&1)&&B!==(B=(ve(C[0])?C[0].displayName:Ne(C[0])?"LocalActivity":C[0].name)+"")&&j(z,B),C[7]?ee?N[0]&128&&p(ee,1):(ee=kt(),ee.c(),p(ee,1),ee.m(L,null)):ee&&(W(),h(ee,1,1,()=>{ee=null}),Q()),(!se||N[0]&128&&ne!==(ne=C[7]?2:1))&&g(u,"colspan",ne),C[7]?J&&(W(),h(J,1,1,()=>{J=null}),Q()):J?(J.p(C,N),N[0]&128&&p(J,1)):(J=wt(C),J.c(),p(J,1),J.m(e,ce)),(!se||N[0]&1&&me!==(me=C[0].id))&&g(e,"id",me),(!se||N[0]&132)&&q(e,"expanded",C[7]&&!C[2]),(!se||N[0]&16)&&q(e,"active",C[4]),(!se||N[0]&8)&&q(e,"typedError",C[3]),C[7]?K?(K.p(C,N),N[0]&128&&p(K,1)):(K=Et(C),K.c(),p(K,1),K.m(de.parentNode,de)):K&&(W(),h(K,1,1,()=>{K=null}),Q())},i(C){se||(p(r.$$.fragment,C),p(f),p(Z),p(X),p(x),p(ee),p(J),p(K),se=!0)},o(C){h(r.$$.fragment,C),h(f),h(Z),h(X),h(x),h(ee),h(J),h(K),se=!1},d(C){C&&d(e),P(r),O[i].d(),Z&&Z.d(),X&&X.d(),x&&x.d(),ee&&ee.d(),J&&J.d(),C&&d(be),K&&K.d(C),C&&d(de),ye=!1,De()}}}function En(s,e,l){let t,n,r,o,a,c,i,f,m,u,_,E,V,I,A,L,le;te(s,Ge,O=>l(26,V=O)),te(s,Be,O=>l(27,I=O)),te(s,$e,O=>l(28,A=O)),te(s,ol,O=>l(14,L=O)),te(s,fl,O=>l(15,le=O));let{event:B}=e,{initialItem:z}=e,{compact:H=!1}=e,{expandAll:ne=!1}=e,{typedError:ue=!1}=e,{active:ce=!1}=e,{onRowClick:ae=re}=e,me=ve(B)?Array.from(B.events.keys()).pop():B.id;const be=()=>{l(7,a=!a),ae()},de=Le(B),se=je(B),ye=qe(B),De=O=>{O.stopPropagation(),Lt(o)};function Pe(O){me=O,l(5,me)}return s.$$set=O=>{"event"in O&&l(0,B=O.event),"initialItem"in O&&l(20,z=O.initialItem),"compact"in O&&l(1,H=O.compact),"expandAll"in O&&l(2,ne=O.expandAll),"typedError"in O&&l(3,ue=O.typedError),"active"in O&&l(4,ce=O.active),"onRowClick"in O&&l(21,ae=O.onRowClick)},s.$$.update=()=>{s.$$.dirty[0]&268435456&&l(24,{workflow:t,run:n,namespace:r}=A.params,t,(l(23,n),l(28,A)),(l(25,r),l(28,A))),s.$$.dirty[0]&58720257&&l(13,o=Wt({eventId:B.id,namespace:r,workflow:t,run:n})),s.$$.dirty[0]&4&&l(7,a=ne),s.$$.dirty[0]&134217728&&l(12,c=I==="descending"),s.$$.dirty[0]&67108864&&l(22,i=V==="true"),s.$$.dirty[0]&5242881&&l(11,f=i&&z&&B.id!==z.id),s.$$.dirty[0]&3&&l(10,m=Ht(B,{compact:H})),s.$$.dirty[0]&33&&l(6,u=ve(B)?B.events.get(me):B),s.$$.dirty[0]&1048641&&l(9,_=et({start:z.eventTime,end:ve(B)?B.initialEvent.eventTime:u.eventTime,includeMilliseconds:!0})),s.$$.dirty[0]&1&&l(8,E=ve(B)?et({start:B.initialEvent.eventTime,end:B.lastEvent.eventTime,includeMilliseconds:!0}):"")},[B,H,ne,ue,ce,me,u,a,E,_,m,f,c,o,L,le,be,de,se,ye,z,ae,i,n,t,r,V,I,A,De,Pe]}class Er extends ie{constructor(e){super(),oe(this,e,En,wn,fe,{event:0,initialItem:20,compact:1,expandAll:2,typedError:3,active:4,onRowClick:21},null,[-1,-1])}}function It(s,e,l){const t=s.slice();return t[4]=e[l].label,t[13]=e[l].option,t}function In(s){let e;return{c(){e=M(s[4])},l(l){e=F(l,s[4])},m(l,t){w(l,e,t)},p(l,t){t&16&&j(e,l[4])},d(l){l&&d(e)}}}function yn(s){let e,l;return e=new _e({props:{name:"filter",slot:"trailing"}}),{c(){y(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:re,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function Tn(s){let e=R("events",s[4])+"",l,t;return{c(){l=M(e),t=S()},l(n){l=F(n,e),t=G(n)},m(n,r){w(n,l,r),w(n,t,r)},p(n,r){r&2&&e!==(e=R("events",n[4])+"")&&j(l,e)},d(n){n&&d(l),n&&d(t)}}}function yt(s){let e,l;function t(){return s[12](s[13])}return e=new We({props:{"data-testid":"event-category-option",selected:s[3]===s[13],$$slots:{default:[Tn]},$$scope:{ctx:s}}}),e.$on("click",t),{c(){y(e.$$.fragment)},l(n){T(e.$$.fragment,n)},m(n,r){D(e,n,r),l=!0},p(n,r){s=n;const o={};r&10&&(o.selected=s[3]===s[13]),r&65538&&(o.$$scope={dirty:r,ctx:s}),e.$set(o)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){h(e.$$.fragment,n),l=!1},d(n){P(e,n)}}}function Dn(s){let e,l,t=s[1],n=[];for(let o=0;oh(n[o],1,1,()=>{n[o]=null});return{c(){for(let o=0;ol(10,o=I)),te(s,tt,I=>l(3,a=I)),te(s,hl,I=>l(11,c=I));var i,f;let{compact:m=!1}=e,{variant:u="table-header"}=e,_=m?dl:pl;const E=I=>{zt({parameter:Tt,value:I,url:o.url})},V=I=>E(I);return s.$$set=I=>{"compact"in I&&l(6,m=I.compact),"variant"in I&&l(0,u=I.variant)},s.$$.update=()=>{s.$$.dirty&1024&&l(2,t=o.params.id),s.$$.dirty&64&&l(4,n=m?R("events","event-type"):R("events","workflow-events")),s.$$.dirty&2050&&vl("1.21",c)&&l(1,_=_.filter(({option:I})=>I!=="update")),s.$$.dirty&1026&&l(9,r=_.find(({option:I})=>{var A,L;return I===((L=(A=o.url)===null||A===void 0?void 0:A.searchParams)===null||L===void 0?void 0:L.get(Tt))})),s.$$.dirty&896&&Se(tt,a=l(8,f=l(7,i=r==null?void 0:r.option)===null||i===void 0?void 0:i.toString())!==null&&f!==void 0?f:void 0,a)},[u,_,t,a,n,E,m,i,f,r,o,c,V]}class Sn extends ie{constructor(e){super(),oe(this,e,Cn,Vn,fe,{compact:6,variant:0})}}const Gn=({compact:s,sortOrder:e,showElapsed:l})=>{if(!((s||e==="descending")&&l==="false"))return`${e}:${l}`};function Dt(s,e,l){const t=s.slice();return t[9]=e[l].option,t[10]=e[l].label,t}function An(s){let e,l,t,n=R("date-and-time")+"",r,o;return e=new _e({props:{class:"md:hidden",name:"clock"}}),{c(){y(e.$$.fragment),l=S(),t=$("span"),r=M(n),this.h()},l(a){T(e.$$.fragment,a),l=G(a),t=b(a,"SPAN",{class:!0});var c=k(t);r=F(c,n),c.forEach(d),this.h()},h(){g(t,"class","max-md:hidden")},m(a,c){D(e,a,c),w(a,l,c),w(a,t,c),v(t,r),o=!0},p:re,i(a){o||(p(e.$$.fragment,a),o=!0)},o(a){h(e.$$.fragment,a),o=!1},d(a){P(e,a),a&&d(l),a&&d(t)}}}function Nn(s){let e=s[10]+"",l;return{c(){l=M(e)},l(t){l=F(t,e)},m(t,n){w(t,l,n)},p:re,d(t){t&&d(l)}}}function Pt(s){let e,l;function t(){return s[7](s[9])}return e=new We({props:{selected:s[1]===s[9],$$slots:{default:[Nn]},$$scope:{ctx:s}}}),e.$on("click",t),{c(){y(e.$$.fragment)},l(n){T(e.$$.fragment,n)},m(n,r){D(e,n,r),l=!0},p(n,r){s=n;const o={};r&2&&(o.selected=s[1]===s[9]),r&8192&&(o.$$scope={dirty:r,ctx:s}),e.$set(o)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){h(e.$$.fragment,n),l=!1},d(n){P(e,n)}}}function On(s){let e=R("events","show-elapsed-time")+"",l;return{c(){l=M(e)},l(t){l=F(t,e)},m(t,n){w(t,l,n)},p:re,d(t){t&&d(l)}}}function Rn(s){let e,l,t,n,r,o=s[3],a=[];for(let i=0;ih(a[i],1,1,()=>{a[i]=null});return l=new gl({}),n=new We({props:{selected:s[0]==="true",$$slots:{default:[On]},$$scope:{ctx:s}}}),n.$on("click",s[5]),{c(){for(let i=0;il(0,n=u)),te(s,Be,u=>l(1,r=u)),te(s,$e,u=>l(8,o=u));let{compact:a}=e,c=[{label:R("events","sort-ascending"),option:"ascending"},{label:R("events","sort-descending"),option:"descending"}];const i=u=>{Se(Be,r=u,r),zt({parameter:"sort",value:u,url:o.url})},f=()=>{n==="true"?Se(Ge,n="false",n):Se(Ge,n="true",n)},m=u=>i(u);return s.$$set=u=>{"compact"in u&&l(6,a=u.compact)},s.$$.update=()=>{s.$$.dirty&67&&l(2,t=Gn({compact:a,sortOrder:r,showElapsed:n}))},[n,r,t,c,i,f,a,m]}class jn extends ie{constructor(e){super(),oe(this,e,Ln,Fn,fe,{compact:6})}}function qn(s){let e;const l=s[6].default,t=Vt(l,s,s[7],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&128)&&Ct(t,l,n,n[7],e?Gt(l,n[7],r,null):St(n[7]),null)},i(n){e||(p(t,n),e=!0)},o(n){h(t,n),e=!1},d(n){t&&t.d(n)}}}function Bn(s){let e,l=R("workflows","event-history")+"",t;return{c(){e=$("caption"),t=M(l),this.h()},l(n){e=b(n,"CAPTION",{class:!0,slot:!0});var r=k(e);t=F(r,l),r.forEach(d),this.h()},h(){g(e,"class","sr-only"),g(e,"slot","caption")},m(n,r){w(n,e,r),v(e,t)},p:re,d(n){n&&d(e)}}}function Hn(s){let e,l=(s[2]?R("collapse-all"):R("expand-all"))+"",t;return{c(){e=$("span"),t=M(l),this.h()},l(n){e=b(n,"SPAN",{class:!0});var r=k(e);t=F(r,l),r.forEach(d),this.h()},h(){g(e,"class","hidden sm:block")},m(n,r){w(n,e,r),v(e,t)},p(n,r){r&4&&l!==(l=(n[2]?R("collapse-all"):R("expand-all"))+"")&&j(t,l)},d(n){n&&d(e)}}}function Wn(s){let e,l,t,n,r,o,a,c,i,f,m,u;return n=new jn({props:{compact:s[0]}}),a=new Sn({props:{compact:s[0]}}),m=new $l({props:{size:"sm",variant:"table-header",trailingIcon:s[2]?"chevron-up":"chevron-down",disabled:!!s[3],$$slots:{default:[Hn]},$$scope:{ctx:s}}}),m.$on("click",s[4]),{c(){e=$("td"),l=S(),t=$("th"),y(n.$$.fragment),r=S(),o=$("th"),y(a.$$.fragment),c=S(),i=$("th"),f=$("div"),y(m.$$.fragment),this.h()},l(_){e=b(_,"TD",{class:!0}),k(e).forEach(d),l=G(_),t=b(_,"TH",{class:!0});var E=k(t);T(n.$$.fragment,E),E.forEach(d),r=G(_),o=b(_,"TH",{class:!0});var V=k(o);T(a.$$.fragment,V),V.forEach(d),c=G(_),i=b(_,"TH",{class:!0});var I=k(i);f=b(I,"DIV",{class:!0});var A=k(f);T(m.$$.fragment,A),A.forEach(d),I.forEach(d),this.h()},h(){g(e,"class","w-14 xl:w-10"),g(t,"class","w-16 md:w-32"),g(o,"class","w-44"),g(f,"class","flex w-full justify-end"),g(i,"class","w-auto xl:w-80")},m(_,E){w(_,e,E),w(_,l,E),w(_,t,E),D(n,t,null),w(_,r,E),w(_,o,E),D(a,o,null),w(_,c,E),w(_,i,E),v(i,f),D(m,f,null),u=!0},p(_,E){const V={};E&1&&(V.compact=_[0]),n.$set(V);const I={};E&1&&(I.compact=_[0]),a.$set(I);const A={};E&4&&(A.trailingIcon=_[2]?"chevron-up":"chevron-down"),E&8&&(A.disabled=!!_[3]),E&132&&(A.$$scope={dirty:E,ctx:_}),m.$set(A)},i(_){u||(p(n.$$.fragment,_),p(a.$$.fragment,_),p(m.$$.fragment,_),u=!0)},o(_){h(n.$$.fragment,_),h(a.$$.fragment,_),h(m.$$.fragment,_),u=!1},d(_){_&&d(e),_&&d(l),_&&d(t),P(n),_&&d(r),_&&d(o),P(a),_&&d(c),_&&d(i),P(m)}}}function Qn(s){let e,l;return e=new _l({props:{slot:"headers",$$slots:{default:[Wn]},$$scope:{ctx:s}}}),{c(){y(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const r={};n&141&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function zn(s){let e,l;return e=new Qt({props:{updating:s[1],class:"dark w-full table-fixed","data-testid":"event-summary-table",$$slots:{headers:[Qn],caption:[Bn],default:[qn]},$$scope:{ctx:s}}}),{c(){y(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,[n]){const r={};n&2&&(r.updating=t[1]),n&141&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){P(e,t)}}}function Un(s,e,l){let t,n,r;te(s,$e,_=>l(5,n=_)),te(s,il,_=>l(8,r=_));let{$$slots:o={},$$scope:a}=e,{compact:c=!1}=e,{updating:i=!1}=e,f=r==="true";const m=At();function u(){l(2,f=!f),m("expandAll",{expanded:f?"true":"false"})}return s.$$set=_=>{"compact"in _&&l(0,c=_.compact),"updating"in _&&l(1,i=_.updating),"$$scope"in _&&l(7,a=_.$$scope)},s.$$.update=()=>{s.$$.dirty&32&&l(3,t=n.params.id)},[c,i,f,t,u,n,o,a]}class Ir extends ie{constructor(e){super(),oe(this,e,Un,zn,fe,{compact:0,updating:1})}}export{Ir as E,wr as a,Er as b}; diff --git a/ui/assets/local/_app/immutable/chunks/event-view.fe644395.js b/ui/assets/local/_app/immutable/chunks/event-view.f3ec8bd2.js similarity index 75% rename from ui/assets/local/_app/immutable/chunks/event-view.fe644395.js rename to ui/assets/local/_app/immutable/chunks/event-view.f3ec8bd2.js index 066103c57a..2db749c5c7 100644 --- a/ui/assets/local/_app/immutable/chunks/event-view.fe644395.js +++ b/ui/assets/local/_app/immutable/chunks/event-view.f3ec8bd2.js @@ -1 +1 @@ -import{p as e}from"./persist-store.ad106cab.js";const s=e("autoRefreshWorkflow","off"),o=e("eventView","feed",!0),n=e("expandAllEvents","false"),a=e("eventFilterSort","descending"),r=e("eventShowElapsed","false");export{s as a,n as b,r as c,o as d,a as e}; +import{p as e}from"./persist-store.47877c2b.js";const s=e("autoRefreshWorkflow","off"),o=e("eventView","feed",!0),n=e("expandAllEvents","false"),a=e("eventFilterSort","descending"),r=e("eventShowElapsed","false");export{s as a,n as b,r as c,o as d,a as e}; diff --git a/ui/assets/local/_app/immutable/chunks/events-service.7b234537.js b/ui/assets/local/_app/immutable/chunks/events-service.4ec8b4a3.js similarity index 75% rename from ui/assets/local/_app/immutable/chunks/events-service.7b234537.js rename to ui/assets/local/_app/immutable/chunks/events-service.4ec8b4a3.js index 4766946324..5adf03d324 100644 --- a/ui/assets/local/_app/immutable/chunks/events-service.7b234537.js +++ b/ui/assets/local/_app/immutable/chunks/events-service.4ec8b4a3.js @@ -1 +1 @@ -import{j as r,w as d}from"./singletons.aae8f11e.js";import{p as c}from"./stores.9d4a2bb0.js";import{a as R}from"./auth-user.f0bc59ab.js";import{r as y}from"./workflow-run.889d50fd.js";import{l as u}from"./route-for.3b55a4c6.js";import{G as S}from"./is-event-type.4dbe973b.js";import{e as F}from"./event-view.fe644395.js";import{t as f}from"./index.70d7ea32.js";import{b as q}from"./parse-with-big-int.b38462f3.js";import{p as h}from"./paginated.713346b6.js";import{r as v,a as l}from"./route-for-api.6f64f216.js";const A=r([c],([t])=>t.params.namespace?u(t.params.namespace):""),H=r([c],([t])=>t.params.workflow?u(t.params.workflow):""),P=r([c],([t])=>t.params.run?u(t.params.run):""),b=r([c],([t])=>{var e;return(e=t.data)==null?void 0:e.settings}),T=r([R],([t])=>t==null?void 0:t.accessToken),x=r([A,H,P,F],([t,e,s,n])=>({namespace:t,workflowId:e,runId:s,sort:n}));r([x,b,T,y],([t,e,s,n])=>({...t,settings:e,accessToken:s,refresh:y,$refresh:n}));const j={start:[],end:[]},V=d(j),W=d(null),z=d([]),X=r(z,t=>t.filter(S)),k=t=>!q(t)||t==="descending"?"events.descending":t==="ascending"?"events.ascending":"events.descending",Y=async({namespace:t,workflowId:e,runId:s,sort:n,onStart:o,onUpdate:a,onComplete:i})=>{const m=k(n),p=v(m,{namespace:t,workflowId:e,runId:s});return(await h(async E=>l(p,{token:E,request:fetch}),{onStart:o,onUpdate:a,onComplete:i})).history.events},Z=async({namespace:t,workflowId:e,runId:s,sort:n,onStart:o,onUpdate:a,onComplete:i})=>{const m=k(n),p=v(m,{namespace:t,workflowId:e,runId:s}),w=await h(async I=>l(p,{token:I,request:fetch}),{onStart:o,onUpdate:a,onComplete:i});return await f(w.history.events)},g=async({namespace:t,workflowId:e,runId:s,sort:n})=>{const o=v(`events.${n}`,{namespace:t,workflowId:e,runId:s});try{return(await l(o,{request:fetch,params:{maximumPageSize:"20"}})).history.events}catch{return[]}},_=async t=>{const e=await g({...t,sort:"ascending"}),s=await g({...t,sort:"descending"}),[n,o]=await Promise.all([f(e),f(s)]);return{start:n,end:o}};export{Z as a,Y as b,z as c,V as e,_ as f,j as i,X as r,W as t}; +import{j as r,w as d}from"./singletons.741208bb.js";import{p as c}from"./stores.cd833532.js";import{a as R}from"./auth-user.051e0dee.js";import{r as y}from"./workflow-run.1abbba7b.js";import{l as u}from"./route-for.d76d8056.js";import{G as S}from"./is-event-type.4dbe973b.js";import{e as F}from"./event-view.f3ec8bd2.js";import{t as f}from"./index.38be7b17.js";import{b as q}from"./parse-with-big-int.b38462f3.js";import{p as h}from"./paginated.a1dfd6c1.js";import{r as v,a as l}from"./route-for-api.a8b11085.js";const A=r([c],([t])=>t.params.namespace?u(t.params.namespace):""),H=r([c],([t])=>t.params.workflow?u(t.params.workflow):""),P=r([c],([t])=>t.params.run?u(t.params.run):""),b=r([c],([t])=>{var e;return(e=t.data)==null?void 0:e.settings}),T=r([R],([t])=>t==null?void 0:t.accessToken),x=r([A,H,P,F],([t,e,s,n])=>({namespace:t,workflowId:e,runId:s,sort:n}));r([x,b,T,y],([t,e,s,n])=>({...t,settings:e,accessToken:s,refresh:y,$refresh:n}));const j={start:[],end:[]},V=d(j),W=d(null),z=d([]),X=r(z,t=>t.filter(S)),k=t=>!q(t)||t==="descending"?"events.descending":t==="ascending"?"events.ascending":"events.descending",Y=async({namespace:t,workflowId:e,runId:s,sort:n,onStart:o,onUpdate:a,onComplete:i})=>{const m=k(n),p=v(m,{namespace:t,workflowId:e,runId:s});return(await h(async E=>l(p,{token:E,request:fetch}),{onStart:o,onUpdate:a,onComplete:i})).history.events},Z=async({namespace:t,workflowId:e,runId:s,sort:n,onStart:o,onUpdate:a,onComplete:i})=>{const m=k(n),p=v(m,{namespace:t,workflowId:e,runId:s}),w=await h(async I=>l(p,{token:I,request:fetch}),{onStart:o,onUpdate:a,onComplete:i});return await f(w.history.events)},g=async({namespace:t,workflowId:e,runId:s,sort:n})=>{const o=v(`events.${n}`,{namespace:t,workflowId:e,runId:s});try{return(await l(o,{request:fetch,params:{maximumPageSize:"20"}})).history.events}catch{return[]}},_=async t=>{const e=await g({...t,sort:"ascending"}),s=await g({...t,sort:"descending"}),[n,o]=await Promise.all([f(e),f(s)]);return{start:n,end:o}};export{Z as a,Y as b,z as c,V as e,_ as f,j as i,X as r,W as t}; diff --git a/ui/assets/local/_app/immutable/chunks/filters.2cde2000.js b/ui/assets/local/_app/immutable/chunks/filters.d78bd1e9.js similarity index 64% rename from ui/assets/local/_app/immutable/chunks/filters.2cde2000.js rename to ui/assets/local/_app/immutable/chunks/filters.d78bd1e9.js index 73d77e4941..ae7598e93b 100644 --- a/ui/assets/local/_app/immutable/chunks/filters.2cde2000.js +++ b/ui/assets/local/_app/immutable/chunks/filters.d78bd1e9.js @@ -1 +1 @@ -import{j as t,w as o}from"./singletons.aae8f11e.js";import{p as s}from"./stores.9d4a2bb0.js";import{p as c}from"./persist-store.ad106cab.js";import{ac as a}from"./index.09834243.js";const l=t([s],([r])=>r.url.searchParams.get("query")),u=t([s],([r])=>r.url.searchParams.get("category")),i=t([l,u],([r,e])=>({query:r,category:e})),n=r=>i.subscribe(({query:e})=>{!e&&a(p).length&&r([])}),v=c("workflowDateTimeFilter",void 0,!0),p=o([],n),m=r=>i.subscribe(({category:e})=>{!e&&a(g)&&r(null)}),g=o(void 0,m);export{g as e,v as p,p as w}; +import{j as t,w as o}from"./singletons.741208bb.js";import{p as s}from"./stores.cd833532.js";import{p as c}from"./persist-store.47877c2b.js";import{ac as a}from"./index.09834243.js";const l=t([s],([r])=>r.url.searchParams.get("query")),u=t([s],([r])=>r.url.searchParams.get("category")),i=t([l,u],([r,e])=>({query:r,category:e})),n=r=>i.subscribe(({query:e})=>{!e&&a(p).length&&r([])}),v=c("workflowDateTimeFilter",void 0,!0),p=o([],n),m=r=>i.subscribe(({category:e})=>{!e&&a(g)&&r(null)}),g=o(void 0,m);export{g as e,v as p,p as w}; diff --git a/ui/assets/local/_app/immutable/chunks/format-date.71526e4c.js b/ui/assets/local/_app/immutable/chunks/format-date.79f77cbf.js similarity index 99% rename from ui/assets/local/_app/immutable/chunks/format-date.71526e4c.js rename to ui/assets/local/_app/immutable/chunks/format-date.79f77cbf.js index 949ca5be28..2058c0a9df 100644 --- a/ui/assets/local/_app/immutable/chunks/format-date.71526e4c.js +++ b/ui/assets/local/_app/immutable/chunks/format-date.79f77cbf.js @@ -1 +1 @@ -import{p as ta}from"./persist-store.ad106cab.js";import{r as Re,d as ra,c as na,t as F,a as va,g as ue,b as Ta,e as ia,i as ha,f as ba,p as ga,h as Ma}from"./format-time.650b834b.js";const Pt=ta("timeFormat","UTC"),Et=ta("relativeTime",!1),oa={"Greenwich Mean Time":{abbr:"GMT",offset:0,zones:["Africa/Abidjan","Africa/Accra","Africa/Bamako","Africa/Banjul","Africa/Bissau","Africa/Conakry","Africa/Dakar","Africa/Freetown","Africa/Lome","Africa/Monrovia","Africa/Nouakchott","Africa/Ouagadougou","Africa/Sao_Tome","America/Danmarkshavn","Atlantic/Reykjavik","Atlantic/St_Helena"]},"East Africa Time":{abbr:"GMT+3",offset:3,zones:["Africa/Addis_Ababa","Africa/Asmera","Africa/Dar_es_Salaam","Africa/Djibouti","Africa/Kampala","Africa/Mogadishu","Africa/Nairobi","Indian/Antananarivo","Indian/Comoro","Indian/Mayotte"]},"Central European Standard Time":{abbr:"GMT+1",offset:1,zones:["Africa/Algiers","Africa/Tunis"]},"West Africa Standard Time":{abbr:"GMT+1",offset:1,zones:["Africa/Bangui","Africa/Brazzaville","Africa/Douala","Africa/Kinshasa","Africa/Lagos","Africa/Libreville","Africa/Luanda","Africa/Malabo","Africa/Ndjamena","Africa/Niamey","Africa/Porto-Novo"]},"Central Africa Time":{abbr:"GMT+2",offset:2,zones:["Africa/Blantyre","Africa/Bujumbura","Africa/Gaborone","Africa/Harare","Africa/Juba","Africa/Khartoum","Africa/Kigali","Africa/Lubumbashi","Africa/Lusaka","Africa/Maputo","Africa/Windhoek"]},"Eastern European Summer Time":{abbr:"GMT+3",offset:3,zones:["Africa/Cairo","Asia/Beirut","Asia/Gaza","Asia/Hebron","Asia/Nicosia","Europe/Athens","Europe/Bucharest","Europe/Chisinau","Europe/Helsinki","Europe/Kiev","Europe/Mariehamn","Europe/Riga","Europe/Sofia","Europe/Tallinn","Europe/Uzhgorod","Europe/Vilnius","Europe/Zaporozhye"]},"GMT+01:00":{abbr:"GMT+1",offset:1,zones:["Africa/Casablanca","Africa/El_Aaiun","Europe/Guernsey","Europe/Isle_of_Man","Europe/Jersey"]},"Central European Summer Time":{abbr:"GMT+2",offset:2,zones:["Africa/Ceuta","Arctic/Longyearbyen","Europe/Amsterdam","Europe/Andorra","Europe/Belgrade","Europe/Berlin","Europe/Bratislava","Europe/Brussels","Europe/Budapest","Europe/Busingen","Europe/Copenhagen","Europe/Gibraltar","Europe/Ljubljana","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Monaco","Europe/Oslo","Europe/Paris","Europe/Podgorica","Europe/Prague","Europe/Rome","Europe/San_Marino","Europe/Sarajevo","Europe/Skopje","Europe/Stockholm","Europe/Tirane","Europe/Vaduz","Europe/Vatican","Europe/Vienna","Europe/Warsaw","Europe/Zagreb","Europe/Zurich"]},"South Africa Standard Time":{abbr:"GMT+2",offset:2,zones:["Africa/Johannesburg","Africa/Maseru","Africa/Mbabane"]},"Eastern European Standard Time":{abbr:"GMT+2",offset:2,zones:["Africa/Tripoli","Europe/Kaliningrad"]},"Hawaii-Aleutian Daylight Time":{abbr:"HADT",offset:-9,zones:["America/Adak"]},"Alaska Daylight Time":{abbr:"AKDT",offset:-8,zones:["America/Anchorage","America/Juneau","America/Metlakatla","America/Nome","America/Sitka","America/Yakutat"]},"Atlantic Standard Time":{abbr:"AST",offset:-4,zones:["America/Anguilla","America/Antigua","America/Aruba","America/Barbados","America/Blanc-Sablon","America/Curacao","America/Dominica","America/Grenada","America/Guadeloupe","America/Kralendijk","America/Lower_Princes","America/Marigot","America/Martinique","America/Montserrat","America/Port_of_Spain","America/Puerto_Rico","America/Santo_Domingo","America/St_Barthelemy","America/St_Kitts","America/St_Lucia","America/St_Thomas","America/St_Vincent","America/Tortola"]},"Brasilia Standard Time":{abbr:"GMT-3",offset:-3,zones:["America/Araguaina","America/Bahia","America/Belem","America/Fortaleza","America/Maceio","America/Recife","America/Santarem","America/Sao_Paulo"]},"Argentina Standard Time":{abbr:"GMT-3",offset:-3,zones:["America/Argentina/La_Rioja","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Buenos_Aires","America/Catamarca","America/Cordoba","America/Jujuy","America/Mendoza"]},"Paraguay Standard Time":{abbr:"GMT-4",offset:-4,zones:["America/Asuncion"]},"Central Standard Time":{abbr:"CST",offset:-6,zones:["America/Bahia_Banderas","America/Belize","America/Chihuahua","America/Costa_Rica","America/El_Salvador","America/Guatemala","America/Managua","America/Merida","America/Mexico_City","America/Monterrey","America/Regina","America/Swift_Current","America/Tegucigalpa"]},"Amazon Standard Time":{abbr:"GMT-4",offset:-4,zones:["America/Boa_Vista","America/Campo_Grande","America/Cuiaba","America/Manaus","America/Porto_Velho"]},"Colombia Standard Time":{abbr:"GMT-5",offset:-5,zones:["America/Bogota"]},"Mountain Daylight Time":{abbr:"MDT",offset:-6,zones:["America/Boise","America/Cambridge_Bay","America/Ciudad_Juarez","America/Denver","America/Edmonton","America/Inuvik","America/Yellowknife"]},"Eastern Standard Time":{abbr:"EST",offset:-5,zones:["America/Cancun","America/Cayman","America/Coral_Harbour","America/Jamaica","America/Panama"]},"Venezuela Time":{abbr:"GMT-4",offset:-4,zones:["America/Caracas"]},"French Guiana Time":{abbr:"GMT-3",offset:-3,zones:["America/Cayenne"]},"Central Daylight Time":{abbr:"CDT",offset:-5,zones:["America/Chicago","America/Indiana/Knox","America/Indiana/Tell_City","America/Matamoros","America/Menominee","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Ojinaga","America/Rainy_River","America/Rankin_Inlet","America/Resolute","America/Winnipeg"]},"Mountain Standard Time":{abbr:"MST",offset:-7,zones:["America/Creston","America/Dawson_Creek","America/Fort_Nelson","America/Phoenix"]},"Yukon Time":{abbr:"GMT-7",offset:-7,zones:["America/Dawson","America/Whitehorse"]},"Eastern Daylight Time":{abbr:"EDT",offset:-4,zones:["America/Detroit","America/Grand_Turk","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Indianapolis","America/Iqaluit","America/Kentucky/Monticello","America/Louisville","America/Nassau","America/New_York","America/Nipigon","America/Pangnirtung","America/Port-au-Prince","America/Thunder_Bay","America/Toronto"]},"Acre Standard Time":{abbr:"GMT-5",offset:-5,zones:["America/Eirunepe","America/Rio_Branco"]},"Atlantic Daylight Time":{abbr:"ADT",offset:-3,zones:["America/Glace_Bay","America/Goose_Bay","America/Halifax","America/Moncton","America/Thule","Atlantic/Bermuda"]},"West Greenland Summer Time":{abbr:"GMT-2",offset:-2,zones:["America/Godthab"]},"Ecuador Time":{abbr:"GMT-5",offset:-5,zones:["America/Guayaquil"]},"Guyana Time":{abbr:"GMT-4",offset:-4,zones:["America/Guyana"]},"Cuba Daylight Time":{abbr:"GMT-4",offset:-4,zones:["America/Havana"]},"Mexican Pacific Standard Time":{abbr:"GMT-7",offset:-7,zones:["America/Hermosillo","America/Mazatlan"]},"Bolivia Time":{abbr:"GMT-4",offset:-4,zones:["America/La_Paz"]},"Peru Standard Time":{abbr:"GMT-5",offset:-5,zones:["America/Lima"]},"Pacific Daylight Time":{abbr:"PDT",offset:-7,zones:["America/Los_Angeles","America/Tijuana","America/Vancouver"]},"St. Pierre & Miquelon Daylight Time":{abbr:"GMT-2",offset:-2,zones:["America/Miquelon"]},"Uruguay Standard Time":{abbr:"GMT-3",offset:-3,zones:["America/Montevideo"]},"GMT-04:00":{abbr:"GMT-4",offset:-4,zones:["America/Montreal"]},"Fernando de Noronha Standard Time":{abbr:"GMT-2",offset:-2,zones:["America/Noronha"]},"Suriname Time":{abbr:"GMT-3",offset:-3,zones:["America/Paramaribo"]},"GMT-03:00":{abbr:"GMT-3",offset:-3,zones:["America/Punta_Arenas","Antarctica/Palmer"]},"Northwest Mexico Daylight Time":{abbr:"GMT-7",offset:-7,zones:["America/Santa_Isabel"]},"Chile Standard Time":{abbr:"GMT-4",offset:-4,zones:["America/Santiago"]},"East Greenland Summer Time":{abbr:"GMT",offset:0,zones:["America/Scoresbysund"]},"Newfoundland Daylight Time":{abbr:"GMT-2:30",offset:-3,zones:["America/St_Johns"]},"Casey Time":{abbr:"GMT+11",offset:11,zones:["Antarctica/Casey"]},"Davis Time":{abbr:"GMT+7",offset:7,zones:["Antarctica/Davis"]},"Dumont-d’Urville Time":{abbr:"GMT+10",offset:10,zones:["Antarctica/DumontDUrville"]},"Australian Eastern Standard Time":{abbr:"GMT+10",offset:10,zones:["Antarctica/Macquarie","Australia/Brisbane","Australia/Currie","Australia/Hobart","Australia/Lindeman","Australia/Melbourne","Australia/Sydney"]},"Mawson Time":{abbr:"GMT+5",offset:5,zones:["Antarctica/Mawson"]},"New Zealand Standard Time":{abbr:"GMT+12",offset:12,zones:["Antarctica/McMurdo","Pacific/Auckland"]},"Rothera Time":{abbr:"GMT-3",offset:-3,zones:["Antarctica/Rothera"]},"Syowa Time":{abbr:"GMT+3",offset:3,zones:["Antarctica/Syowa"]},"GMT+02:00":{abbr:"GMT+2",offset:2,zones:["Antarctica/Troll"]},"Vostok Time":{abbr:"GMT+6",offset:6,zones:["Antarctica/Vostok"]},"Arabian Standard Time":{abbr:"GMT+3",offset:3,zones:["Asia/Aden","Asia/Baghdad","Asia/Bahrain","Asia/Kuwait","Asia/Qatar","Asia/Riyadh"]},"East Kazakhstan Time":{abbr:"GMT+6",offset:6,zones:["Asia/Almaty","Asia/Qostanay"]},"GMT+03:00":{abbr:"GMT+3",offset:3,zones:["Asia/Amman","Asia/Damascus","Asia/Famagusta","Europe/Istanbul","Europe/Kirov"]},"Anadyr Standard Time":{abbr:"GMT+12",offset:12,zones:["Asia/Anadyr"]},"West Kazakhstan Time":{abbr:"GMT+5",offset:5,zones:["Asia/Aqtau","Asia/Aqtobe","Asia/Atyrau","Asia/Oral","Asia/Qyzylorda"]},"Turkmenistan Standard Time":{abbr:"GMT+5",offset:5,zones:["Asia/Ashgabat"]},"Azerbaijan Standard Time":{abbr:"GMT+4",offset:4,zones:["Asia/Baku"]},"Indochina Time":{abbr:"GMT+7",offset:7,zones:["Asia/Bangkok","Asia/Phnom_Penh","Asia/Saigon","Asia/Vientiane"]},"GMT+07:00":{abbr:"GMT+7",offset:7,zones:["Asia/Barnaul","Asia/Tomsk"]},"Kyrgyzstan Time":{abbr:"GMT+6",offset:6,zones:["Asia/Bishkek"]},"Brunei Darussalam Time":{abbr:"GMT+8",offset:8,zones:["Asia/Brunei"]},"India Standard Time":{abbr:"GMT+5:30",offset:5,zones:["Asia/Calcutta","Asia/Colombo"]},"Yakutsk Standard Time":{abbr:"GMT+9",offset:9,zones:["Asia/Chita","Asia/Khandyga","Asia/Yakutsk"]},"Ulaanbaatar Standard Time":{abbr:"GMT+8",offset:8,zones:["Asia/Choibalsan","Asia/Ulaanbaatar"]},"Bangladesh Standard Time":{abbr:"GMT+6",offset:6,zones:["Asia/Dhaka"]},"East Timor Time":{abbr:"GMT+9",offset:9,zones:["Asia/Dili"]},"Gulf Standard Time":{abbr:"GMT+4",offset:4,zones:["Asia/Dubai","Asia/Muscat"]},"Tajikistan Time":{abbr:"GMT+5",offset:5,zones:["Asia/Dushanbe"]},"Hong Kong Standard Time":{abbr:"GMT+8",offset:8,zones:["Asia/Hong_Kong"]},"Hovd Standard Time":{abbr:"GMT+7",offset:7,zones:["Asia/Hovd"]},"Irkutsk Standard Time":{abbr:"GMT+8",offset:8,zones:["Asia/Irkutsk"]},"Western Indonesia Time":{abbr:"GMT+7",offset:7,zones:["Asia/Jakarta","Asia/Pontianak"]},"Eastern Indonesia Time":{abbr:"GMT+9",offset:9,zones:["Asia/Jayapura"]},"Israel Daylight Time":{abbr:"GMT+3",offset:3,zones:["Asia/Jerusalem"]},"Afghanistan Time":{abbr:"GMT+4:30",offset:4,zones:["Asia/Kabul"]},"Petropavlovsk-Kamchatski Standard Time":{abbr:"GMT+12",offset:12,zones:["Asia/Kamchatka"]},"Pakistan Standard Time":{abbr:"GMT+5",offset:5,zones:["Asia/Karachi"]},"Nepal Time":{abbr:"GMT+5:45",offset:5,zones:["Asia/Katmandu"]},"Krasnoyarsk Standard Time":{abbr:"GMT+7",offset:7,zones:["Asia/Krasnoyarsk","Asia/Novokuznetsk"]},"Malaysia Time":{abbr:"GMT+8",offset:8,zones:["Asia/Kuala_Lumpur","Asia/Kuching"]},"China Standard Time":{abbr:"GMT+8",offset:8,zones:["Asia/Macau","Asia/Shanghai"]},"Magadan Standard Time":{abbr:"GMT+11",offset:11,zones:["Asia/Magadan"]},"Central Indonesia Time":{abbr:"GMT+8",offset:8,zones:["Asia/Makassar"]},"Philippine Standard Time":{abbr:"GMT+8",offset:8,zones:["Asia/Manila"]},"Novosibirsk Standard Time":{abbr:"GMT+7",offset:7,zones:["Asia/Novosibirsk"]},"Omsk Standard Time":{abbr:"GMT+6",offset:6,zones:["Asia/Omsk"]},"Korean Standard Time":{abbr:"GMT+9",offset:9,zones:["Asia/Pyongyang","Asia/Seoul"]},"Myanmar Time":{abbr:"GMT+6:30",offset:6,zones:["Asia/Rangoon"]},"Sakhalin Standard Time":{abbr:"GMT+11",offset:11,zones:["Asia/Sakhalin"]},"Uzbekistan Standard Time":{abbr:"GMT+5",offset:5,zones:["Asia/Samarkand","Asia/Tashkent"]},"Singapore Standard Time":{abbr:"GMT+8",offset:8,zones:["Asia/Singapore"]},"GMT+11:00":{abbr:"GMT+11",offset:11,zones:["Asia/Srednekolymsk","Pacific/Bougainville"]},"Taipei Standard Time":{abbr:"GMT+8",offset:8,zones:["Asia/Taipei"]},"Georgia Standard Time":{abbr:"GMT+4",offset:4,zones:["Asia/Tbilisi"]},"Iran Standard Time":{abbr:"GMT+3:30",offset:3,zones:["Asia/Tehran"]},"Bhutan Time":{abbr:"GMT+6",offset:6,zones:["Asia/Thimphu"]},"Japan Standard Time":{abbr:"GMT+9",offset:9,zones:["Asia/Tokyo"]},"GMT+06:00":{abbr:"GMT+6",offset:6,zones:["Asia/Urumqi"]},"Vladivostok Standard Time":{abbr:"GMT+10",offset:10,zones:["Asia/Ust-Nera","Asia/Vladivostok"]},"Yekaterinburg Standard Time":{abbr:"GMT+5",offset:5,zones:["Asia/Yekaterinburg"]},"Armenia Standard Time":{abbr:"GMT+4",offset:4,zones:["Asia/Yerevan"]},"Azores Summer Time":{abbr:"GMT",offset:0,zones:["Atlantic/Azores"]},"Western European Summer Time":{abbr:"GMT+1",offset:1,zones:["Atlantic/Canary","Atlantic/Faeroe","Atlantic/Madeira","Europe/Lisbon"]},"Cape Verde Standard Time":{abbr:"GMT-1",offset:-1,zones:["Atlantic/Cape_Verde"]},"South Georgia Time":{abbr:"GMT-2",offset:-2,zones:["Atlantic/South_Georgia"]},"Falkland Islands Standard Time":{abbr:"GMT-3",offset:-3,zones:["Atlantic/Stanley"]},"Australian Central Standard Time":{abbr:"GMT+9:30",offset:9,zones:["Australia/Adelaide","Australia/Broken_Hill","Australia/Darwin"]},"Australian Central Western Standard Time":{abbr:"GMT+8:45",offset:8,zones:["Australia/Eucla"]},"Lord Howe Standard Time":{abbr:"GMT+10:30",offset:10,zones:["Australia/Lord_Howe"]},"Australian Western Standard Time":{abbr:"GMT+8",offset:8,zones:["Australia/Perth"]},"GMT+04:00":{abbr:"GMT+4",offset:4,zones:["Europe/Astrakhan","Europe/Saratov","Europe/Ulyanovsk"]},"Irish Standard Time":{abbr:"GMT+1",offset:1,zones:["Europe/Dublin"]},"British Summer Time":{abbr:"GMT+1",offset:1,zones:["Europe/London"]},"Moscow Standard Time":{abbr:"GMT+3",offset:3,zones:["Europe/Minsk","Europe/Moscow","Europe/Simferopol"]},"Samara Standard Time":{abbr:"GMT+4",offset:4,zones:["Europe/Samara"]},"Volgograd Standard Time":{abbr:"GMT+3",offset:3,zones:["Europe/Volgograd"]},"Indian Ocean Time":{abbr:"GMT+6",offset:6,zones:["Indian/Chagos"]},"Christmas Island Time":{abbr:"GMT+7",offset:7,zones:["Indian/Christmas"]},"Cocos Islands Time":{abbr:"GMT+6:30",offset:6,zones:["Indian/Cocos"]},"French Southern & Antarctic Time":{abbr:"GMT+5",offset:5,zones:["Indian/Kerguelen"]},"Seychelles Time":{abbr:"GMT+4",offset:4,zones:["Indian/Mahe"]},"Maldives Time":{abbr:"GMT+5",offset:5,zones:["Indian/Maldives"]},"Mauritius Standard Time":{abbr:"GMT+4",offset:4,zones:["Indian/Mauritius"]},"Réunion Time":{abbr:"GMT+4",offset:4,zones:["Indian/Reunion"]},"Apia Standard Time":{abbr:"GMT+13",offset:13,zones:["Pacific/Apia"]},"Chatham Standard Time":{abbr:"GMT+12:45",offset:12,zones:["Pacific/Chatham"]},"Easter Island Standard Time":{abbr:"GMT-6",offset:-6,zones:["Pacific/Easter"]},"Vanuatu Standard Time":{abbr:"GMT+11",offset:11,zones:["Pacific/Efate"]},"Phoenix Islands Time":{abbr:"GMT+13",offset:13,zones:["Pacific/Enderbury"]},"Tokelau Time":{abbr:"GMT+13",offset:13,zones:["Pacific/Fakaofo"]},"Fiji Standard Time":{abbr:"GMT+12",offset:12,zones:["Pacific/Fiji"]},"Tuvalu Time":{abbr:"GMT+12",offset:12,zones:["Pacific/Funafuti"]},"Galapagos Time":{abbr:"GMT-6",offset:-6,zones:["Pacific/Galapagos"]},"Gambier Time":{abbr:"GMT-9",offset:-9,zones:["Pacific/Gambier"]},"Solomon Islands Time":{abbr:"GMT+11",offset:11,zones:["Pacific/Guadalcanal"]},"Chamorro Standard Time":{abbr:"GMT+10",offset:10,zones:["Pacific/Guam","Pacific/Saipan"]},"Hawaii-Aleutian Standard Time":{abbr:"HST",offset:-10,zones:["Pacific/Honolulu","Pacific/Johnston"]},"Line Islands Time":{abbr:"GMT+14",offset:14,zones:["Pacific/Kiritimati"]},"Kosrae Time":{abbr:"GMT+11",offset:11,zones:["Pacific/Kosrae"]},"Marshall Islands Time":{abbr:"GMT+12",offset:12,zones:["Pacific/Kwajalein","Pacific/Majuro"]},"Marquesas Time":{abbr:"GMT-9:30",offset:-10,zones:["Pacific/Marquesas"]},"Samoa Standard Time":{abbr:"GMT-11",offset:-11,zones:["Pacific/Midway","Pacific/Pago_Pago"]},"Nauru Time":{abbr:"GMT+12",offset:12,zones:["Pacific/Nauru"]},"Niue Time":{abbr:"GMT-11",offset:-11,zones:["Pacific/Niue"]},"Norfolk Island Standard Time":{abbr:"GMT+11",offset:11,zones:["Pacific/Norfolk"]},"New Caledonia Standard Time":{abbr:"GMT+11",offset:11,zones:["Pacific/Noumea"]},"Palau Time":{abbr:"GMT+9",offset:9,zones:["Pacific/Palau"]},"Pitcairn Time":{abbr:"GMT-8",offset:-8,zones:["Pacific/Pitcairn"]},"Ponape Time":{abbr:"GMT+11",offset:11,zones:["Pacific/Ponape"]},"Papua New Guinea Time":{abbr:"GMT+10",offset:10,zones:["Pacific/Port_Moresby"]},"Cook Islands Standard Time":{abbr:"GMT-10",offset:-10,zones:["Pacific/Rarotonga"]},"Tahiti Time":{abbr:"GMT-10",offset:-10,zones:["Pacific/Tahiti"]},"Gilbert Islands Time":{abbr:"GMT+12",offset:12,zones:["Pacific/Tarawa"]},"Tonga Standard Time":{abbr:"GMT+13",offset:13,zones:["Pacific/Tongatapu"]},"Chuuk Time":{abbr:"GMT+10",offset:10,zones:["Pacific/Truk"]},"Wake Island Time":{abbr:"GMT+12",offset:12,zones:["Pacific/Wake"]},"Wallis & Futuna Time":{abbr:"GMT+12",offset:12,zones:["Pacific/Wallis"]}},pa=Object.entries(oa).map(([a,e])=>({label:a,value:a,...e})).sort((a,e)=>a.label>e.label?1:e.label>a.label?-1:0);function Ke(a,e){if(a==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var u in e)Object.prototype.hasOwnProperty.call(e,u)&&(a[u]=e[u]);return a}function ua(a){return Ke({},a)}var Qe=1440,_a=2520,Ve=43200,Aa=86400;function ya(a,e,u){var d,v;Re(2,arguments);var s=ia(),i=(d=(v=u==null?void 0:u.locale)!==null&&v!==void 0?v:s.locale)!==null&&d!==void 0?d:ra;if(!i.formatDistance)throw new RangeError("locale must contain formatDistance property");var t=na(a,e);if(isNaN(t))throw new RangeError("Invalid time value");var r=Ke(ua(u),{addSuffix:Boolean(u==null?void 0:u.addSuffix),comparison:t}),n,c;t>0?(n=F(e),c=F(a)):(n=F(a),c=F(e));var g=va(c,n),y=(ue(c)-ue(n))/1e3,h=Math.round((g-y)/60),p;if(h<2)return u!=null&&u.includeSeconds?g<5?i.formatDistance("lessThanXSeconds",5,r):g<10?i.formatDistance("lessThanXSeconds",10,r):g<20?i.formatDistance("lessThanXSeconds",20,r):g<40?i.formatDistance("halfAMinute",0,r):g<60?i.formatDistance("lessThanXMinutes",1,r):i.formatDistance("xMinutes",1,r):h===0?i.formatDistance("lessThanXMinutes",1,r):i.formatDistance("xMinutes",h,r);if(h<45)return i.formatDistance("xMinutes",h,r);if(h<90)return i.formatDistance("aboutXHours",1,r);if(h0?(c=F(e),g=F(a)):(c=F(a),g=F(e));var y=String((s=u==null?void 0:u.roundingMethod)!==null&&s!==void 0?s:"round"),h;if(y==="floor")h=Math.floor;else if(y==="ceil")h=Math.ceil;else if(y==="round")h=Math.round;else throw new RangeError("roundingMethod must be 'floor', 'ceil' or 'round'");var p=g.getTime()-c.getTime(),M=p/Je,T=ue(g)-ue(c),f=(p-T)/Je,m=u==null?void 0:u.unit,o;if(m?o=String(m):M<1?o="second":M<60?o="minute":M1?"s":"")+" required, but only "+v.length+" present")}a.exports=e.default})(Ea,P);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var u=d(P);function d(i){return i&&i.__esModule?i:{default:i}}function v(i){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?v=function(r){return typeof r}:v=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},v(i)}function s(i){return(0,u.default)(1,arguments),i instanceof Date||v(i)==="object"&&Object.prototype.toString.call(i)==="[object Date]"}a.exports=e.default})(Pa,le);var C={},Ca={get exports(){return C},set exports(a){C=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var u=d(P);function d(i){return i&&i.__esModule?i:{default:i}}function v(i){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?v=function(r){return typeof r}:v=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},v(i)}function s(i){(0,u.default)(1,arguments);var t=Object.prototype.toString.call(i);return i instanceof Date||v(i)==="object"&&t==="[object Date]"?new Date(i.getTime()):typeof i=="number"||t==="[object Number]"?new Date(i):((typeof i=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}a.exports=e.default})(Ca,C);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var u=s(le),d=s(C),v=s(P);function s(t){return t&&t.__esModule?t:{default:t}}function i(t){if((0,v.default)(1,arguments),!(0,u.default)(t)&&typeof t!="number")return!1;var r=(0,d.default)(t);return!isNaN(Number(r))}a.exports=e.default})(za,de);var ce={},Ga={get exports(){return ce},set exports(a){ce=a}},me={},ka={get exports(){return me},set exports(a){me=a}},U={},Na={get exports(){return U},set exports(a){U=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;function u(d){if(d===null||d===!0||d===!1)return NaN;var v=Number(d);return isNaN(v)?v:v<0?Math.ceil(v):Math.floor(v)}a.exports=e.default})(Na,U);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var u=s(U),d=s(C),v=s(P);function s(t){return t&&t.__esModule?t:{default:t}}function i(t,r){(0,v.default)(2,arguments);var n=(0,d.default)(t).getTime(),c=(0,u.default)(r);return new Date(n+c)}a.exports=e.default})(ka,me);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var u=s(me),d=s(P),v=s(U);function s(t){return t&&t.__esModule?t:{default:t}}function i(t,r){(0,d.default)(2,arguments);var n=(0,v.default)(r);return(0,u.default)(t,-n)}a.exports=e.default})(Ga,ce);var ve={},Ia={get exports(){return ve},set exports(a){ve=a}},Te={},Ua={get exports(){return Te},set exports(a){Te=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var u=v(C),d=v(P);function v(t){return t&&t.__esModule?t:{default:t}}var s=864e5;function i(t){(0,d.default)(1,arguments);var r=(0,u.default)(t),n=r.getTime();r.setUTCMonth(0,1),r.setUTCHours(0,0,0,0);var c=r.getTime(),g=n-c;return Math.floor(g/s)+1}a.exports=e.default})(Ua,Te);var he={},Ya={get exports(){return he},set exports(a){he=a}},$={},Wa={get exports(){return $},set exports(a){$=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var u=v(C),d=v(P);function v(i){return i&&i.__esModule?i:{default:i}}function s(i){(0,d.default)(1,arguments);var t=1,r=(0,u.default)(i),n=r.getUTCDay(),c=(n=g.getTime()?n+1:r.getTime()>=h.getTime()?n:n-1}a.exports=e.default})(Fa,K);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var u=s(K),d=s($),v=s(P);function s(t){return t&&t.__esModule?t:{default:t}}function i(t){(0,v.default)(1,arguments);var r=(0,u.default)(t),n=new Date(0);n.setUTCFullYear(r,0,4),n.setUTCHours(0,0,0,0);var c=(0,d.default)(n);return c}a.exports=e.default})(Ra,be);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var u=i(C),d=i($),v=i(be),s=i(P);function i(n){return n&&n.__esModule?n:{default:n}}var t=6048e5;function r(n){(0,s.default)(1,arguments);var c=(0,u.default)(n),g=(0,d.default)(c).getTime()-(0,v.default)(c).getTime();return Math.round(g/t)+1}a.exports=e.default})(Ya,he);var ge={},Ha={get exports(){return ge},set exports(a){ge=a}},B={},La={get exports(){return B},set exports(a){B=a}},q={};Object.defineProperty(q,"__esModule",{value:!0});q.getDefaultOptions=qa;q.setDefaultOptions=$a;var sa={};function qa(){return sa}function $a(a){sa=a}(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;var u=i(C),d=i(P),v=i(U),s=q;function i(r){return r&&r.__esModule?r:{default:r}}function t(r,n){var c,g,y,h,p,M,T,f;(0,d.default)(1,arguments);var m=(0,s.getDefaultOptions)(),o=(0,v.default)((c=(g=(y=(h=n==null?void 0:n.weekStartsOn)!==null&&h!==void 0?h:n==null||(p=n.locale)===null||p===void 0||(M=p.options)===null||M===void 0?void 0:M.weekStartsOn)!==null&&y!==void 0?y:m.weekStartsOn)!==null&&g!==void 0?g:(T=m.locale)===null||T===void 0||(f=T.options)===null||f===void 0?void 0:f.weekStartsOn)!==null&&c!==void 0?c:0);if(!(o>=0&&o<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var l=(0,u.default)(r),b=l.getUTCDay(),D=(b=1&&D<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var S=new Date(0);S.setUTCFullYear(l+1,0,D),S.setUTCHours(0,0,0,0);var w=(0,v.default)(S,c),_=new Date(0);_.setUTCFullYear(l,0,D),_.setUTCHours(0,0,0,0);var A=(0,v.default)(_,c);return o.getTime()>=w.getTime()?l+1:o.getTime()>=A.getTime()?l:l-1}a.exports=e.default})(Xa,Q);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var u=t(Q),d=t(P),v=t(B),s=t(U),i=q;function t(n){return n&&n.__esModule?n:{default:n}}function r(n,c){var g,y,h,p,M,T,f,m;(0,d.default)(1,arguments);var o=(0,i.getDefaultOptions)(),l=(0,s.default)((g=(y=(h=(p=c==null?void 0:c.firstWeekContainsDate)!==null&&p!==void 0?p:c==null||(M=c.locale)===null||M===void 0||(T=M.options)===null||T===void 0?void 0:T.firstWeekContainsDate)!==null&&h!==void 0?h:o.firstWeekContainsDate)!==null&&y!==void 0?y:(f=o.locale)===null||f===void 0||(m=f.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&g!==void 0?g:1),b=(0,u.default)(n,c),D=new Date(0);D.setUTCFullYear(b,0,l),D.setUTCHours(0,0,0,0);var S=(0,v.default)(D,c);return S}a.exports=e.default})(Ba,Me);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var u=i(C),d=i(B),v=i(Me),s=i(P);function i(n){return n&&n.__esModule?n:{default:n}}var t=6048e5;function r(n,c){(0,s.default)(1,arguments);var g=(0,u.default)(n),y=(0,d.default)(g,c).getTime()-(0,v.default)(g,c).getTime();return Math.round(y/t)+1}a.exports=e.default})(Ha,ge);var J={},Za={get exports(){return J},set exports(a){J=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;function u(d,v){for(var s=d<0?"-":"",i=Math.abs(d).toString();i.length0?n:1-n;return(0,u.default)(r==="yy"?c%100:c,r.length)},M:function(t,r){var n=t.getUTCMonth();return r==="M"?String(n+1):(0,u.default)(n+1,2)},d:function(t,r){return(0,u.default)(t.getUTCDate(),r.length)},a:function(t,r){var n=t.getUTCHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(t,r){return(0,u.default)(t.getUTCHours()%12||12,r.length)},H:function(t,r){return(0,u.default)(t.getUTCHours(),r.length)},m:function(t,r){return(0,u.default)(t.getUTCMinutes(),r.length)},s:function(t,r){return(0,u.default)(t.getUTCSeconds(),r.length)},S:function(t,r){var n=r.length,c=t.getUTCMilliseconds(),g=Math.floor(c*Math.pow(10,n-3));return(0,u.default)(g,r.length)}},s=v;e.default=s,a.exports=e.default})(Va,pe);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=n(Te),d=n(he),v=n(K),s=n(ge),i=n(Q),t=n(J),r=n(pe);function n(T){return T&&T.__esModule?T:{default:T}}var c={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},g={G:function(f,m,o){var l=f.getUTCFullYear()>0?1:0;switch(m){case"G":case"GG":case"GGG":return o.era(l,{width:"abbreviated"});case"GGGGG":return o.era(l,{width:"narrow"});case"GGGG":default:return o.era(l,{width:"wide"})}},y:function(f,m,o){if(m==="yo"){var l=f.getUTCFullYear(),b=l>0?l:1-l;return o.ordinalNumber(b,{unit:"year"})}return r.default.y(f,m)},Y:function(f,m,o,l){var b=(0,i.default)(f,l),D=b>0?b:1-b;if(m==="YY"){var S=D%100;return(0,t.default)(S,2)}return m==="Yo"?o.ordinalNumber(D,{unit:"year"}):(0,t.default)(D,m.length)},R:function(f,m){var o=(0,v.default)(f);return(0,t.default)(o,m.length)},u:function(f,m){var o=f.getUTCFullYear();return(0,t.default)(o,m.length)},Q:function(f,m,o){var l=Math.ceil((f.getUTCMonth()+1)/3);switch(m){case"Q":return String(l);case"QQ":return(0,t.default)(l,2);case"Qo":return o.ordinalNumber(l,{unit:"quarter"});case"QQQ":return o.quarter(l,{width:"abbreviated",context:"formatting"});case"QQQQQ":return o.quarter(l,{width:"narrow",context:"formatting"});case"QQQQ":default:return o.quarter(l,{width:"wide",context:"formatting"})}},q:function(f,m,o){var l=Math.ceil((f.getUTCMonth()+1)/3);switch(m){case"q":return String(l);case"qq":return(0,t.default)(l,2);case"qo":return o.ordinalNumber(l,{unit:"quarter"});case"qqq":return o.quarter(l,{width:"abbreviated",context:"standalone"});case"qqqqq":return o.quarter(l,{width:"narrow",context:"standalone"});case"qqqq":default:return o.quarter(l,{width:"wide",context:"standalone"})}},M:function(f,m,o){var l=f.getUTCMonth();switch(m){case"M":case"MM":return r.default.M(f,m);case"Mo":return o.ordinalNumber(l+1,{unit:"month"});case"MMM":return o.month(l,{width:"abbreviated",context:"formatting"});case"MMMMM":return o.month(l,{width:"narrow",context:"formatting"});case"MMMM":default:return o.month(l,{width:"wide",context:"formatting"})}},L:function(f,m,o){var l=f.getUTCMonth();switch(m){case"L":return String(l+1);case"LL":return(0,t.default)(l+1,2);case"Lo":return o.ordinalNumber(l+1,{unit:"month"});case"LLL":return o.month(l,{width:"abbreviated",context:"standalone"});case"LLLLL":return o.month(l,{width:"narrow",context:"standalone"});case"LLLL":default:return o.month(l,{width:"wide",context:"standalone"})}},w:function(f,m,o,l){var b=(0,s.default)(f,l);return m==="wo"?o.ordinalNumber(b,{unit:"week"}):(0,t.default)(b,m.length)},I:function(f,m,o){var l=(0,d.default)(f);return m==="Io"?o.ordinalNumber(l,{unit:"week"}):(0,t.default)(l,m.length)},d:function(f,m,o){return m==="do"?o.ordinalNumber(f.getUTCDate(),{unit:"date"}):r.default.d(f,m)},D:function(f,m,o){var l=(0,u.default)(f);return m==="Do"?o.ordinalNumber(l,{unit:"dayOfYear"}):(0,t.default)(l,m.length)},E:function(f,m,o){var l=f.getUTCDay();switch(m){case"E":case"EE":case"EEE":return o.day(l,{width:"abbreviated",context:"formatting"});case"EEEEE":return o.day(l,{width:"narrow",context:"formatting"});case"EEEEEE":return o.day(l,{width:"short",context:"formatting"});case"EEEE":default:return o.day(l,{width:"wide",context:"formatting"})}},e:function(f,m,o,l){var b=f.getUTCDay(),D=(b-l.weekStartsOn+8)%7||7;switch(m){case"e":return String(D);case"ee":return(0,t.default)(D,2);case"eo":return o.ordinalNumber(D,{unit:"day"});case"eee":return o.day(b,{width:"abbreviated",context:"formatting"});case"eeeee":return o.day(b,{width:"narrow",context:"formatting"});case"eeeeee":return o.day(b,{width:"short",context:"formatting"});case"eeee":default:return o.day(b,{width:"wide",context:"formatting"})}},c:function(f,m,o,l){var b=f.getUTCDay(),D=(b-l.weekStartsOn+8)%7||7;switch(m){case"c":return String(D);case"cc":return(0,t.default)(D,m.length);case"co":return o.ordinalNumber(D,{unit:"day"});case"ccc":return o.day(b,{width:"abbreviated",context:"standalone"});case"ccccc":return o.day(b,{width:"narrow",context:"standalone"});case"cccccc":return o.day(b,{width:"short",context:"standalone"});case"cccc":default:return o.day(b,{width:"wide",context:"standalone"})}},i:function(f,m,o){var l=f.getUTCDay(),b=l===0?7:l;switch(m){case"i":return String(b);case"ii":return(0,t.default)(b,m.length);case"io":return o.ordinalNumber(b,{unit:"day"});case"iii":return o.day(l,{width:"abbreviated",context:"formatting"});case"iiiii":return o.day(l,{width:"narrow",context:"formatting"});case"iiiiii":return o.day(l,{width:"short",context:"formatting"});case"iiii":default:return o.day(l,{width:"wide",context:"formatting"})}},a:function(f,m,o){var l=f.getUTCHours(),b=l/12>=1?"pm":"am";switch(m){case"a":case"aa":return o.dayPeriod(b,{width:"abbreviated",context:"formatting"});case"aaa":return o.dayPeriod(b,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return o.dayPeriod(b,{width:"narrow",context:"formatting"});case"aaaa":default:return o.dayPeriod(b,{width:"wide",context:"formatting"})}},b:function(f,m,o){var l=f.getUTCHours(),b;switch(l===12?b=c.noon:l===0?b=c.midnight:b=l/12>=1?"pm":"am",m){case"b":case"bb":return o.dayPeriod(b,{width:"abbreviated",context:"formatting"});case"bbb":return o.dayPeriod(b,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return o.dayPeriod(b,{width:"narrow",context:"formatting"});case"bbbb":default:return o.dayPeriod(b,{width:"wide",context:"formatting"})}},B:function(f,m,o){var l=f.getUTCHours(),b;switch(l>=17?b=c.evening:l>=12?b=c.afternoon:l>=4?b=c.morning:b=c.night,m){case"B":case"BB":case"BBB":return o.dayPeriod(b,{width:"abbreviated",context:"formatting"});case"BBBBB":return o.dayPeriod(b,{width:"narrow",context:"formatting"});case"BBBB":default:return o.dayPeriod(b,{width:"wide",context:"formatting"})}},h:function(f,m,o){if(m==="ho"){var l=f.getUTCHours()%12;return l===0&&(l=12),o.ordinalNumber(l,{unit:"hour"})}return r.default.h(f,m)},H:function(f,m,o){return m==="Ho"?o.ordinalNumber(f.getUTCHours(),{unit:"hour"}):r.default.H(f,m)},K:function(f,m,o){var l=f.getUTCHours()%12;return m==="Ko"?o.ordinalNumber(l,{unit:"hour"}):(0,t.default)(l,m.length)},k:function(f,m,o){var l=f.getUTCHours();return l===0&&(l=24),m==="ko"?o.ordinalNumber(l,{unit:"hour"}):(0,t.default)(l,m.length)},m:function(f,m,o){return m==="mo"?o.ordinalNumber(f.getUTCMinutes(),{unit:"minute"}):r.default.m(f,m)},s:function(f,m,o){return m==="so"?o.ordinalNumber(f.getUTCSeconds(),{unit:"second"}):r.default.s(f,m)},S:function(f,m){return r.default.S(f,m)},X:function(f,m,o,l){var b=l._originalDate||f,D=b.getTimezoneOffset();if(D===0)return"Z";switch(m){case"X":return h(D);case"XXXX":case"XX":return p(D);case"XXXXX":case"XXX":default:return p(D,":")}},x:function(f,m,o,l){var b=l._originalDate||f,D=b.getTimezoneOffset();switch(m){case"x":return h(D);case"xxxx":case"xx":return p(D);case"xxxxx":case"xxx":default:return p(D,":")}},O:function(f,m,o,l){var b=l._originalDate||f,D=b.getTimezoneOffset();switch(m){case"O":case"OO":case"OOO":return"GMT"+y(D,":");case"OOOO":default:return"GMT"+p(D,":")}},z:function(f,m,o,l){var b=l._originalDate||f,D=b.getTimezoneOffset();switch(m){case"z":case"zz":case"zzz":return"GMT"+y(D,":");case"zzzz":default:return"GMT"+p(D,":")}},t:function(f,m,o,l){var b=l._originalDate||f,D=Math.floor(b.getTime()/1e3);return(0,t.default)(D,m.length)},T:function(f,m,o,l){var b=l._originalDate||f,D=b.getTime();return(0,t.default)(D,m.length)}};function y(T,f){var m=T>0?"-":"+",o=Math.abs(T),l=Math.floor(o/60),b=o%60;if(b===0)return m+String(l);var D=f||"";return m+String(l)+D+(0,t.default)(b,2)}function h(T,f){if(T%60===0){var m=T>0?"-":"+";return m+(0,t.default)(Math.abs(T)/60,2)}return p(T,f)}function p(T,f){var m=f||"",o=T>0?"-":"+",l=Math.abs(T),b=(0,t.default)(Math.floor(l/60),2),D=(0,t.default)(l%60,2);return o+b+m+D}var M=g;e.default=M,a.exports=e.default})(Ia,ve);var _e={},Ka={get exports(){return _e},set exports(a){_e=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=function(r,n){switch(r){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},d=function(r,n){switch(r){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},v=function(r,n){var c=r.match(/(P+)(p+)?/)||[],g=c[1],y=c[2];if(!y)return u(r,n);var h;switch(g){case"P":h=n.dateTime({width:"short"});break;case"PP":h=n.dateTime({width:"medium"});break;case"PPP":h=n.dateTime({width:"long"});break;case"PPPP":default:h=n.dateTime({width:"full"});break}return h.replace("{{date}}",u(g,n)).replace("{{time}}",d(y,n))},s={p:d,P:v},i=s;e.default=i,a.exports=e.default})(Ka,_e);var j={},Qa={get exports(){return j},set exports(a){j=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;function u(d){var v=new Date(Date.UTC(d.getFullYear(),d.getMonth(),d.getDate(),d.getHours(),d.getMinutes(),d.getSeconds(),d.getMilliseconds()));return v.setUTCFullYear(d.getFullYear()),d.getTime()-v.getTime()}a.exports=e.default})(Qa,j);var ne={};Object.defineProperty(ne,"__esModule",{value:!0});ne.isProtectedDayOfYearToken=et;ne.isProtectedWeekYearToken=at;ne.throwProtectedError=tt;var Ja=["D","DD"],ja=["YY","YYYY"];function et(a){return Ja.indexOf(a)!==-1}function at(a){return ja.indexOf(a)!==-1}function tt(a,e,u){if(a==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(u,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(a==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(u,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(a==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(u,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(a==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(u,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Ae={},rt={get exports(){return Ae},set exports(a){Ae=a}},ye={},nt={get exports(){return ye},set exports(a){ye=a}},we={},it={get exports(){return we},set exports(a){we=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},d=function(i,t,r){var n,c=u[i];return typeof c=="string"?n=c:t===1?n=c.one:n=c.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n},v=d;e.default=v,a.exports=e.default})(it,we);var De={},ot={get exports(){return De},set exports(a){De=a}},xe={},ut={get exports(){return xe},set exports(a){xe=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;function u(d){return function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=v.width?String(v.width):d.defaultWidth,i=d.formats[s]||d.formats[d.defaultWidth];return i}}a.exports=e.default})(ut,xe);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=d(xe);function d(n){return n&&n.__esModule?n:{default:n}}var v={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},s={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},i={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},t={date:(0,u.default)({formats:v,defaultWidth:"full"}),time:(0,u.default)({formats:s,defaultWidth:"full"}),dateTime:(0,u.default)({formats:i,defaultWidth:"full"})},r=t;e.default=r,a.exports=e.default})(ot,De);var Se={},st={get exports(){return Se},set exports(a){Se=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},d=function(i,t,r,n){return u[i]},v=d;e.default=v,a.exports=e.default})(st,Se);var Oe={},ft={get exports(){return Oe},set exports(a){Oe=a}},ze={},dt={get exports(){return ze},set exports(a){ze=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;function u(d){return function(v,s){var i=s!=null&&s.context?String(s.context):"standalone",t;if(i==="formatting"&&d.formattingValues){var r=d.defaultFormattingWidth||d.defaultWidth,n=s!=null&&s.width?String(s.width):r;t=d.formattingValues[n]||d.formattingValues[r]}else{var c=d.defaultWidth,g=s!=null&&s.width?String(s.width):d.defaultWidth;t=d.values[g]||d.values[c]}var y=d.argumentCallback?d.argumentCallback(v):v;return t[y]}}a.exports=e.default})(dt,ze);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=d(ze);function d(h){return h&&h.__esModule?h:{default:h}}var v={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},s={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},i={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},t={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},r={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},n={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},c=function(p,M){var T=Number(p),f=T%100;if(f>20||f<10)switch(f%10){case 1:return T+"st";case 2:return T+"nd";case 3:return T+"rd"}return T+"th"},g={ordinalNumber:c,era:(0,u.default)({values:v,defaultWidth:"wide"}),quarter:(0,u.default)({values:s,defaultWidth:"wide",argumentCallback:function(p){return p-1}}),month:(0,u.default)({values:i,defaultWidth:"wide"}),day:(0,u.default)({values:t,defaultWidth:"wide"}),dayPeriod:(0,u.default)({values:r,defaultWidth:"wide",formattingValues:n,defaultFormattingWidth:"wide"})},y=g;e.default=y,a.exports=e.default})(ft,Oe);var Pe={},lt={get exports(){return Pe},set exports(a){Pe=a}},Ee={},ct={get exports(){return Ee},set exports(a){Ee=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;function u(s){return function(i){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.width,n=r&&s.matchPatterns[r]||s.matchPatterns[s.defaultMatchWidth],c=i.match(n);if(!c)return null;var g=c[0],y=r&&s.parsePatterns[r]||s.parsePatterns[s.defaultParseWidth],h=Array.isArray(y)?v(y,function(T){return T.test(g)}):d(y,function(T){return T.test(g)}),p;p=s.valueCallback?s.valueCallback(h):h,p=t.valueCallback?t.valueCallback(p):p;var M=i.slice(g.length);return{value:p,rest:M}}}function d(s,i){for(var t in s)if(s.hasOwnProperty(t)&&i(s[t]))return t}function v(s,i){for(var t=0;t1&&arguments[1]!==void 0?arguments[1]:{},i=v.match(d.matchPattern);if(!i)return null;var t=i[0],r=v.match(d.parsePattern);if(!r)return null;var n=d.valueCallback?d.valueCallback(r[0]):r[0];n=s.valueCallback?s.valueCallback(n):n;var c=v.slice(t.length);return{value:n,rest:c}}}a.exports=e.default})(mt,Ce);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=v(Ee),d=v(Ce);function v(o){return o&&o.__esModule?o:{default:o}}var s=/^(\d+)(th|st|nd|rd)?/i,i=/\d+/i,t={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},r={any:[/^b/i,/^(a|c)/i]},n={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},c={any:[/1/i,/2/i,/3/i,/4/i]},g={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},y={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},h={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},p={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},M={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},T={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},f={ordinalNumber:(0,d.default)({matchPattern:s,parsePattern:i,valueCallback:function(l){return parseInt(l,10)}}),era:(0,u.default)({matchPatterns:t,defaultMatchWidth:"wide",parsePatterns:r,defaultParseWidth:"any"}),quarter:(0,u.default)({matchPatterns:n,defaultMatchWidth:"wide",parsePatterns:c,defaultParseWidth:"any",valueCallback:function(l){return l+1}}),month:(0,u.default)({matchPatterns:g,defaultMatchWidth:"wide",parsePatterns:y,defaultParseWidth:"any"}),day:(0,u.default)({matchPatterns:h,defaultMatchWidth:"wide",parsePatterns:p,defaultParseWidth:"any"}),dayPeriod:(0,u.default)({matchPatterns:M,defaultMatchWidth:"any",parsePatterns:T,defaultParseWidth:"any"})},m=f;e.default=m,a.exports=e.default})(lt,Pe);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=t(we),d=t(De),v=t(Se),s=t(Oe),i=t(Pe);function t(c){return c&&c.__esModule?c:{default:c}}var r={code:"en-US",formatDistance:u.default,formatLong:d.default,formatRelative:v.default,localize:s.default,match:i.default,options:{weekStartsOn:0,firstWeekContainsDate:1}},n=r;e.default=n,a.exports=e.default})(nt,ye);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=d(ye);function d(s){return s&&s.__esModule?s:{default:s}}var v=u.default;e.default=v,a.exports=e.default})(rt,Ae);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var u=h(de),d=h(ce),v=h(C),s=h(ve),i=h(_e),t=h(j),r=ne,n=h(U),c=h(P),g=q,y=h(Ae);function h(b){return b&&b.__esModule?b:{default:b}}var p=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,M=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,T=/^'([^]*?)'?$/,f=/''/g,m=/[a-zA-Z]/;function o(b,D,S){var w,_,A,x,O,z,G,Y,k,W,N,I,Fe,He,Le,qe,$e,Be;(0,c.default)(2,arguments);var fa=String(D),X=(0,g.getDefaultOptions)(),Z=(w=(_=S==null?void 0:S.locale)!==null&&_!==void 0?_:X.locale)!==null&&w!==void 0?w:y.default,Xe=(0,n.default)((A=(x=(O=(z=S==null?void 0:S.firstWeekContainsDate)!==null&&z!==void 0?z:S==null||(G=S.locale)===null||G===void 0||(Y=G.options)===null||Y===void 0?void 0:Y.firstWeekContainsDate)!==null&&O!==void 0?O:X.firstWeekContainsDate)!==null&&x!==void 0?x:(k=X.locale)===null||k===void 0||(W=k.options)===null||W===void 0?void 0:W.firstWeekContainsDate)!==null&&A!==void 0?A:1);if(!(Xe>=1&&Xe<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var Ze=(0,n.default)((N=(I=(Fe=(He=S==null?void 0:S.weekStartsOn)!==null&&He!==void 0?He:S==null||(Le=S.locale)===null||Le===void 0||(qe=Le.options)===null||qe===void 0?void 0:qe.weekStartsOn)!==null&&Fe!==void 0?Fe:X.weekStartsOn)!==null&&I!==void 0?I:($e=X.locale)===null||$e===void 0||(Be=$e.options)===null||Be===void 0?void 0:Be.weekStartsOn)!==null&&N!==void 0?N:0);if(!(Ze>=0&&Ze<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!Z.localize)throw new RangeError("locale must contain localize property");if(!Z.formatLong)throw new RangeError("locale must contain formatLong property");var ie=(0,v.default)(b);if(!(0,u.default)(ie))throw new RangeError("Invalid time value");var da=(0,t.default)(ie),la=(0,d.default)(ie,da),ca={firstWeekContainsDate:Xe,weekStartsOn:Ze,locale:Z,_originalDate:ie},ma=fa.match(M).map(function(E){var R=E[0];if(R==="p"||R==="P"){var oe=i.default[R];return oe(E,Z.formatLong)}return E}).join("").match(p).map(function(E){if(E==="''")return"'";var R=E[0];if(R==="'")return l(E);var oe=s.default[R];if(oe)return!(S!=null&&S.useAdditionalWeekYearTokens)&&(0,r.isProtectedWeekYearToken)(E)&&(0,r.throwProtectedError)(E,D,String(b)),!(S!=null&&S.useAdditionalDayOfYearTokens)&&(0,r.isProtectedDayOfYearToken)(E)&&(0,r.throwProtectedError)(E,D,String(b)),oe(la,E,Z.localize,ca);if(R.match(m))throw new RangeError("Format string contains an unescaped latin alphabet character `"+R+"`");return E}).join("");return ma}function l(b){var D=b.match(T);return D?D[1].replace(f,"'"):b}a.exports=e.default})(Oa,fe);var Ge={},vt={get exports(){return Ge},set exports(a){Ge=a}},ke={},Tt={get exports(){return ke},set exports(a){ke=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;function u(i,t,r){var n=s(i,r.timeZone,r.locale);return n.formatToParts?d(n,t):v(n,t)}function d(i,t){for(var r=i.formatToParts(t),n=r.length-1;n>=0;--n)if(r[n].type==="timeZoneName")return r[n].value}function v(i,t){var r=i.format(t).replace(/\u200E/g,""),n=/ [\w-+ ]+$/.exec(r);return n?n[0].substr(1):""}function s(i,t,r){if(r&&!r.code)throw new Error("date-fns-tz error: Please set a language code on the locale object imported from date-fns, e.g. `locale.code = 'en-US'`");return new Intl.DateTimeFormat(r?[r.code,"en-US"]:void 0,{timeZone:t,timeZoneName:i})}a.exports=e.default})(Tt,ke);var H={},ht={get exports(){return H},set exports(a){H=a}},Ne={},bt={get exports(){return Ne},set exports(a){Ne=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;function u(r,n){var c=t(n);return c.formatToParts?v(c,r):s(c,r)}var d={year:0,month:1,day:2,hour:3,minute:4,second:5};function v(r,n){try{for(var c=r.formatToParts(n),g=[],y=0;y=0&&(g[h]=parseInt(c[y].value,10))}return g}catch(p){if(p instanceof RangeError)return[NaN];throw p}}function s(r,n){var c=r.format(n).replace(/\u200E/g,""),g=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(c);return[g[3],g[1],g[2],g[4],g[5],g[6]]}var i={};function t(r){if(!i[r]){var n=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),c=n==="06/25/2014, 00:00:00"||n==="‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";i[r]=c?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:r,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:r,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return i[r]}a.exports=e.default})(bt,Ne);var ee={},gt={get exports(){return ee},set exports(a){ee=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;function u(d,v,s,i,t,r,n){var c=new Date(0);return c.setUTCFullYear(d,v,s),c.setUTCHours(i,t,r,n),c}a.exports=e.default})(gt,ee);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var u=v(Ne),d=v(ee);function v(M){return M&&M.__esModule?M:{default:M}}var s=36e5,i=6e4,t={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-]\d{2}):?(\d{2})$/};function r(M,T,f){var m,o;if(M===""||(m=t.timezoneZ.exec(M),m))return 0;var l;if(m=t.timezoneHH.exec(M),m)return l=parseInt(m[1],10),y(l)?-(l*s):NaN;if(m=t.timezoneHHMM.exec(M),m){l=parseInt(m[1],10);var b=parseInt(m[2],10);return y(l,b)?(o=Math.abs(l)*s+b*i,l>0?-o:o):NaN}if(p(M)){T=new Date(T||Date.now());var D=f?T:n(T),S=c(D,M),w=f?S:g(T,S,M);return-w}return NaN}function n(M){return(0,d.default)(M.getFullYear(),M.getMonth(),M.getDate(),M.getHours(),M.getMinutes(),M.getSeconds(),M.getMilliseconds())}function c(M,T){var f=(0,u.default)(M,T),m=(0,d.default)(f[0],f[1]-1,f[2],f[3]%24,f[4],f[5],0).getTime(),o=M.getTime(),l=o%1e3;return o-=l>=0?l:1e3+l,m-o}function g(M,T,f){var m=M.getTime(),o=m-T,l=c(new Date(o),f);if(T===l)return T;o-=l-T;var b=c(new Date(o),f);return l===b?l:Math.max(l,b)}function y(M,T){return-23<=M&&M<=23&&(T==null||0<=T&&T<=59)}var h={};function p(M){if(h[M])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:M}),h[M]=!0,!0}catch{return!1}}a.exports=e.default})(ht,H);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=v(ke),d=v(H);function v(h){return h&&h.__esModule?h:{default:h}}var s=60*1e3,i={X:function(h,p,M,T){var f=t(T.timeZone,T._originalDate||h);if(f===0)return"Z";switch(p){case"X":return c(f);case"XXXX":case"XX":return n(f);case"XXXXX":case"XXX":default:return n(f,":")}},x:function(h,p,M,T){var f=t(T.timeZone,T._originalDate||h);switch(p){case"x":return c(f);case"xxxx":case"xx":return n(f);case"xxxxx":case"xxx":default:return n(f,":")}},O:function(h,p,M,T){var f=t(T.timeZone,T._originalDate||h);switch(p){case"O":case"OO":case"OOO":return"GMT"+g(f,":");case"OOOO":default:return"GMT"+n(f,":")}},z:function(h,p,M,T){var f=T._originalDate||h;switch(p){case"z":case"zz":case"zzz":return(0,u.default)("short",f,T);case"zzzz":default:return(0,u.default)("long",f,T)}}};function t(h,p){var M=h?(0,d.default)(h,p,!0)/s:p.getTimezoneOffset();if(Number.isNaN(M))throw new RangeError("Invalid time zone specified: "+h);return M}function r(h,p){for(var M=h<0?"-":"",T=Math.abs(h).toString();T.length0?"-":"+",f=Math.abs(h),m=r(Math.floor(f/60),2),o=r(Math.floor(f%60),2);return T+m+M+o}function c(h,p){if(h%60===0){var M=h>0?"-":"+";return M+r(Math.abs(h)/60,2)}return n(h,p)}function g(h,p){var M=h>0?"-":"+",T=Math.abs(h),f=Math.floor(T/60),m=T%60;if(m===0)return M+String(f);var o=p||"";return M+String(f)+o+r(m,2)}var y=i;e.default=y,a.exports=e.default})(vt,Ge);var L={},Mt={get exports(){return L},set exports(a){L=a}},ae={},pt={get exports(){return ae},set exports(a){ae=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,d=u;e.default=d,a.exports=e.default})(pt,ae);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=g;var u=i(U),d=i(j),v=i(H),s=i(ae);function i(w){return w&&w.__esModule?w:{default:w}}var t=36e5,r=6e4,n=2,c={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:s.default};function g(w,_){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(w===null)return new Date(NaN);var A=_||{},x=A.additionalDigits==null?n:(0,u.default)(A.additionalDigits);if(x!==2&&x!==1&&x!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(w instanceof Date||typeof w=="object"&&Object.prototype.toString.call(w)==="[object Date]")return new Date(w.getTime());if(typeof w=="number"||Object.prototype.toString.call(w)==="[object Number]")return new Date(w);if(!(typeof w=="string"||Object.prototype.toString.call(w)==="[object String]"))return new Date(NaN);var O=y(w),z=h(O.date,x),G=z.year,Y=z.restDateString,k=p(Y,G);if(isNaN(k))return new Date(NaN);if(k){var W=k.getTime(),N=0,I;if(O.time&&(N=M(O.time),isNaN(N)))return new Date(NaN);if(O.timeZone||A.timeZone){if(I=(0,v.default)(O.timeZone||A.timeZone,new Date(W+N)),isNaN(I))return new Date(NaN)}else I=(0,d.default)(new Date(W+N)),I=(0,d.default)(new Date(W+N+I));return new Date(W+N+I)}else return new Date(NaN)}function y(w){var _={},A=c.dateTimePattern.exec(w),x;if(A?(_.date=A[1],x=A[3]):(A=c.datePattern.exec(w),A?(_.date=A[1],x=A[2]):(_.date=null,x=w)),x){var O=c.timeZone.exec(x);O?(_.time=x.replace(O[1],""),_.timeZone=O[1].trim()):_.time=x}return _}function h(w,_){var A=c.YYY[_],x=c.YYYYY[_],O;if(O=c.YYYY.exec(w)||x.exec(w),O){var z=O[1];return{year:parseInt(z,10),restDateString:w.slice(z.length)}}if(O=c.YY.exec(w)||A.exec(w),O){var G=O[1];return{year:parseInt(G,10)*100,restDateString:w.slice(G.length)}}return{year:null}}function p(w,_){if(_===null)return null;var A,x,O,z;if(w.length===0)return x=new Date(0),x.setUTCFullYear(_),x;if(A=c.MM.exec(w),A)return x=new Date(0),O=parseInt(A[1],10)-1,l(_,O)?(x.setUTCFullYear(_,O),x):new Date(NaN);if(A=c.DDD.exec(w),A){x=new Date(0);var G=parseInt(A[1],10);return b(_,G)?(x.setUTCFullYear(_,0,G),x):new Date(NaN)}if(A=c.MMDD.exec(w),A){x=new Date(0),O=parseInt(A[1],10)-1;var Y=parseInt(A[2],10);return l(_,O,Y)?(x.setUTCFullYear(_,O,Y),x):new Date(NaN)}if(A=c.Www.exec(w),A)return z=parseInt(A[1],10)-1,D(_,z)?T(_,z):new Date(NaN);if(A=c.WwwD.exec(w),A){z=parseInt(A[1],10)-1;var k=parseInt(A[2],10)-1;return D(_,z,k)?T(_,z,k):new Date(NaN)}return null}function M(w){var _,A,x;if(_=c.HH.exec(w),_)return A=parseFloat(_[1].replace(",",".")),S(A)?A%24*t:NaN;if(_=c.HHMM.exec(w),_)return A=parseInt(_[1],10),x=parseFloat(_[2].replace(",",".")),S(A,x)?A%24*t+x*r:NaN;if(_=c.HHMMSS.exec(w),_){A=parseInt(_[1],10),x=parseInt(_[2],10);var O=parseFloat(_[3].replace(",","."));return S(A,x,O)?A%24*t+x*r+O*1e3:NaN}return null}function T(w,_,A){_=_||0,A=A||0;var x=new Date(0);x.setUTCFullYear(w,0,4);var O=x.getUTCDay()||7,z=_*7+A+1-O;return x.setUTCDate(x.getUTCDate()+z),x}var f=[31,28,31,30,31,30,31,31,30,31,30,31],m=[31,29,31,30,31,30,31,31,30,31,30,31];function o(w){return w%400===0||w%4===0&&w%100!==0}function l(w,_,A){if(_<0||_>11)return!1;if(A!=null){if(A<1)return!1;var x=o(w);if(x&&A>m[_]||!x&&A>f[_])return!1}return!0}function b(w,_){if(_<1)return!1;var A=o(w);return!(A&&_>366||!A&&_>365)}function D(w,_,A){return!(_<0||_>52||A!=null&&(A<0||A>6))}function S(w,_,A){return!(w!=null&&(w<0||w>=25)||_!=null&&(_<0||_>=60)||A!=null&&(A<0||A>=60))}a.exports=e.default})(Mt,L);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;var u=s(fe),d=s(Ge),v=s(L);function s(r){return r&&r.__esModule?r:{default:r}}var i=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function t(r,n,c){var g=String(n),y=c||{},h=g.match(i);if(h){var p=(0,v.default)(r,y);g=h.reduce(function(M,T){if(T[0]==="'")return M;var f=M.indexOf(T),m=M[f-1]==="'",o=M.replace(T,"'"+d.default[T[0]](p,T,null,y)+"'");return m?o.substring(0,f-1)+o.substring(f+1):o},g)}return(0,u.default)(r,g,y)}a.exports=e.default})(Sa,V);var Ie={},_t={get exports(){return Ie},set exports(a){Ie=a}},te={},At={get exports(){return te},set exports(a){te=a}},Ue={},yt={get exports(){return Ue},set exports(a){Ue=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;function u(d,v){if(d==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var s in v)Object.prototype.hasOwnProperty.call(v,s)&&(d[s]=v[s]);return d}a.exports=e.default})(yt,Ue);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=v;var u=d(Ue);function d(s){return s&&s.__esModule?s:{default:s}}function v(s){return(0,u.default)({},s)}a.exports=e.default})(At,te);var re={},wt={get exports(){return re},set exports(a){re=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var u=v(H),d=v(L);function v(i){return i&&i.__esModule?i:{default:i}}function s(i,t,r){var n=(0,d.default)(i,r),c=(0,u.default)(t,n,!0),g=new Date(n.getTime()-c),y=new Date(0);return y.setFullYear(g.getUTCFullYear(),g.getUTCMonth(),g.getUTCDate()),y.setHours(g.getUTCHours(),g.getUTCMinutes(),g.getUTCSeconds(),g.getUTCMilliseconds()),y}a.exports=e.default})(wt,re);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var u=s(te),d=s(V),v=s(re);function s(t){return t&&t.__esModule?t:{default:t}}function i(t,r,n,c){var g=(0,u.default)(c);return g.timeZone=r,(0,d.default)((0,v.default)(t,r),n,g)}a.exports=e.default})(_t,Ie);var Ye={},Dt={get exports(){return Ye},set exports(a){Ye=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=v;var u=d(H);function d(s){return s&&s.__esModule?s:{default:s}}function v(s,i){return-(0,u.default)(s,i)}a.exports=e.default})(Dt,Ye);var We={},xt={get exports(){return We},set exports(a){We=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var u=t(te),d=t(L),v=t(ae),s=t(H),i=t(ee);function t(n){return n&&n.__esModule?n:{default:n}}function r(n,c,g){if(typeof n=="string"&&!n.match(v.default)){var y=(0,u.default)(g);return y.timeZone=c,(0,d.default)(n,y)}var h=(0,d.default)(n,g),p=(0,i.default)(h.getFullYear(),h.getMonth(),h.getDate(),h.getHours(),h.getMinutes(),h.getSeconds(),h.getMilliseconds()).getTime(),M=(0,s.default)(c,new Date(p));return new Date(p+M)}a.exports=e.default})(xt,We);var aa={format:V,formatInTimeZone:Ie,getTimezoneOffset:Ye,toDate:L,utcToZonedTime:re,zonedTimeToUtc:We};const St="yyyy-MM-dd z HH:mm:ss.SS";function Ct(a,e="UTC",u={}){var t;if(!a)return"";const{relative:d=!1,relativeLabel:v="ago",relativeStrict:s=!1,abbrFormat:i=!1}=u;try{ha(a)&&(a=ba(a));const r=ga(a),n=i?r.getSeconds()?"yyyy-MM-dd HH:mm:ss a":"yyyy-MM-dd HH:mm a":St;if(e==="local")return d?s?xa(r)+` ${v}`:Da(r)+` ${v}`:aa.format(r,n);const c=((t=oa[e])==null?void 0:t.zones[0])??e;return aa.formatInTimeZone(r,c,n)}catch(r){return console.error("Error formatting date:",r),""}}function Gt(a){const e=Ma(a);return e instanceof Date&&!isNaN(e.getTime())}function kt(a,e){if(a===void 0)return"";if(a===0)return`${e}±00:00`;const u=Math.abs(a),d=u>9?`${u}:00`:`0${u}:00`;if(a>0)return`${e}+${d}`;if(a<0)return`${e}-${d}`}function Nt(){const a=Intl.DateTimeFormat().resolvedOptions().timeZone,e=pa.find(({zones:u})=>u==null?void 0:u.includes(a));return e?`${e.label} (${e.abbr})`:a}export{pa as T,oa as a,Ct as b,kt as f,Nt as g,Gt as i,Et as r,Pt as t}; +import{p as ta}from"./persist-store.47877c2b.js";import{r as Re,d as ra,c as na,t as F,a as va,g as ue,b as Ta,e as ia,i as ha,f as ba,p as ga,h as Ma}from"./format-time.650b834b.js";const Pt=ta("timeFormat","UTC"),Et=ta("relativeTime",!1),oa={"Greenwich Mean Time":{abbr:"GMT",offset:0,zones:["Africa/Abidjan","Africa/Accra","Africa/Bamako","Africa/Banjul","Africa/Bissau","Africa/Conakry","Africa/Dakar","Africa/Freetown","Africa/Lome","Africa/Monrovia","Africa/Nouakchott","Africa/Ouagadougou","Africa/Sao_Tome","America/Danmarkshavn","Atlantic/Reykjavik","Atlantic/St_Helena"]},"East Africa Time":{abbr:"GMT+3",offset:3,zones:["Africa/Addis_Ababa","Africa/Asmera","Africa/Dar_es_Salaam","Africa/Djibouti","Africa/Kampala","Africa/Mogadishu","Africa/Nairobi","Indian/Antananarivo","Indian/Comoro","Indian/Mayotte"]},"Central European Standard Time":{abbr:"GMT+1",offset:1,zones:["Africa/Algiers","Africa/Tunis"]},"West Africa Standard Time":{abbr:"GMT+1",offset:1,zones:["Africa/Bangui","Africa/Brazzaville","Africa/Douala","Africa/Kinshasa","Africa/Lagos","Africa/Libreville","Africa/Luanda","Africa/Malabo","Africa/Ndjamena","Africa/Niamey","Africa/Porto-Novo"]},"Central Africa Time":{abbr:"GMT+2",offset:2,zones:["Africa/Blantyre","Africa/Bujumbura","Africa/Gaborone","Africa/Harare","Africa/Juba","Africa/Khartoum","Africa/Kigali","Africa/Lubumbashi","Africa/Lusaka","Africa/Maputo","Africa/Windhoek"]},"Eastern European Summer Time":{abbr:"GMT+3",offset:3,zones:["Africa/Cairo","Asia/Beirut","Asia/Gaza","Asia/Hebron","Asia/Nicosia","Europe/Athens","Europe/Bucharest","Europe/Chisinau","Europe/Helsinki","Europe/Kiev","Europe/Mariehamn","Europe/Riga","Europe/Sofia","Europe/Tallinn","Europe/Uzhgorod","Europe/Vilnius","Europe/Zaporozhye"]},"GMT+01:00":{abbr:"GMT+1",offset:1,zones:["Africa/Casablanca","Africa/El_Aaiun","Europe/Guernsey","Europe/Isle_of_Man","Europe/Jersey"]},"Central European Summer Time":{abbr:"GMT+2",offset:2,zones:["Africa/Ceuta","Arctic/Longyearbyen","Europe/Amsterdam","Europe/Andorra","Europe/Belgrade","Europe/Berlin","Europe/Bratislava","Europe/Brussels","Europe/Budapest","Europe/Busingen","Europe/Copenhagen","Europe/Gibraltar","Europe/Ljubljana","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Monaco","Europe/Oslo","Europe/Paris","Europe/Podgorica","Europe/Prague","Europe/Rome","Europe/San_Marino","Europe/Sarajevo","Europe/Skopje","Europe/Stockholm","Europe/Tirane","Europe/Vaduz","Europe/Vatican","Europe/Vienna","Europe/Warsaw","Europe/Zagreb","Europe/Zurich"]},"South Africa Standard Time":{abbr:"GMT+2",offset:2,zones:["Africa/Johannesburg","Africa/Maseru","Africa/Mbabane"]},"Eastern European Standard Time":{abbr:"GMT+2",offset:2,zones:["Africa/Tripoli","Europe/Kaliningrad"]},"Hawaii-Aleutian Daylight Time":{abbr:"HADT",offset:-9,zones:["America/Adak"]},"Alaska Daylight Time":{abbr:"AKDT",offset:-8,zones:["America/Anchorage","America/Juneau","America/Metlakatla","America/Nome","America/Sitka","America/Yakutat"]},"Atlantic Standard Time":{abbr:"AST",offset:-4,zones:["America/Anguilla","America/Antigua","America/Aruba","America/Barbados","America/Blanc-Sablon","America/Curacao","America/Dominica","America/Grenada","America/Guadeloupe","America/Kralendijk","America/Lower_Princes","America/Marigot","America/Martinique","America/Montserrat","America/Port_of_Spain","America/Puerto_Rico","America/Santo_Domingo","America/St_Barthelemy","America/St_Kitts","America/St_Lucia","America/St_Thomas","America/St_Vincent","America/Tortola"]},"Brasilia Standard Time":{abbr:"GMT-3",offset:-3,zones:["America/Araguaina","America/Bahia","America/Belem","America/Fortaleza","America/Maceio","America/Recife","America/Santarem","America/Sao_Paulo"]},"Argentina Standard Time":{abbr:"GMT-3",offset:-3,zones:["America/Argentina/La_Rioja","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Buenos_Aires","America/Catamarca","America/Cordoba","America/Jujuy","America/Mendoza"]},"Paraguay Standard Time":{abbr:"GMT-4",offset:-4,zones:["America/Asuncion"]},"Central Standard Time":{abbr:"CST",offset:-6,zones:["America/Bahia_Banderas","America/Belize","America/Chihuahua","America/Costa_Rica","America/El_Salvador","America/Guatemala","America/Managua","America/Merida","America/Mexico_City","America/Monterrey","America/Regina","America/Swift_Current","America/Tegucigalpa"]},"Amazon Standard Time":{abbr:"GMT-4",offset:-4,zones:["America/Boa_Vista","America/Campo_Grande","America/Cuiaba","America/Manaus","America/Porto_Velho"]},"Colombia Standard Time":{abbr:"GMT-5",offset:-5,zones:["America/Bogota"]},"Mountain Daylight Time":{abbr:"MDT",offset:-6,zones:["America/Boise","America/Cambridge_Bay","America/Ciudad_Juarez","America/Denver","America/Edmonton","America/Inuvik","America/Yellowknife"]},"Eastern Standard Time":{abbr:"EST",offset:-5,zones:["America/Cancun","America/Cayman","America/Coral_Harbour","America/Jamaica","America/Panama"]},"Venezuela Time":{abbr:"GMT-4",offset:-4,zones:["America/Caracas"]},"French Guiana Time":{abbr:"GMT-3",offset:-3,zones:["America/Cayenne"]},"Central Daylight Time":{abbr:"CDT",offset:-5,zones:["America/Chicago","America/Indiana/Knox","America/Indiana/Tell_City","America/Matamoros","America/Menominee","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Ojinaga","America/Rainy_River","America/Rankin_Inlet","America/Resolute","America/Winnipeg"]},"Mountain Standard Time":{abbr:"MST",offset:-7,zones:["America/Creston","America/Dawson_Creek","America/Fort_Nelson","America/Phoenix"]},"Yukon Time":{abbr:"GMT-7",offset:-7,zones:["America/Dawson","America/Whitehorse"]},"Eastern Daylight Time":{abbr:"EDT",offset:-4,zones:["America/Detroit","America/Grand_Turk","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Indianapolis","America/Iqaluit","America/Kentucky/Monticello","America/Louisville","America/Nassau","America/New_York","America/Nipigon","America/Pangnirtung","America/Port-au-Prince","America/Thunder_Bay","America/Toronto"]},"Acre Standard Time":{abbr:"GMT-5",offset:-5,zones:["America/Eirunepe","America/Rio_Branco"]},"Atlantic Daylight Time":{abbr:"ADT",offset:-3,zones:["America/Glace_Bay","America/Goose_Bay","America/Halifax","America/Moncton","America/Thule","Atlantic/Bermuda"]},"West Greenland Summer Time":{abbr:"GMT-2",offset:-2,zones:["America/Godthab"]},"Ecuador Time":{abbr:"GMT-5",offset:-5,zones:["America/Guayaquil"]},"Guyana Time":{abbr:"GMT-4",offset:-4,zones:["America/Guyana"]},"Cuba Daylight Time":{abbr:"GMT-4",offset:-4,zones:["America/Havana"]},"Mexican Pacific Standard Time":{abbr:"GMT-7",offset:-7,zones:["America/Hermosillo","America/Mazatlan"]},"Bolivia Time":{abbr:"GMT-4",offset:-4,zones:["America/La_Paz"]},"Peru Standard Time":{abbr:"GMT-5",offset:-5,zones:["America/Lima"]},"Pacific Daylight Time":{abbr:"PDT",offset:-7,zones:["America/Los_Angeles","America/Tijuana","America/Vancouver"]},"St. Pierre & Miquelon Daylight Time":{abbr:"GMT-2",offset:-2,zones:["America/Miquelon"]},"Uruguay Standard Time":{abbr:"GMT-3",offset:-3,zones:["America/Montevideo"]},"GMT-04:00":{abbr:"GMT-4",offset:-4,zones:["America/Montreal"]},"Fernando de Noronha Standard Time":{abbr:"GMT-2",offset:-2,zones:["America/Noronha"]},"Suriname Time":{abbr:"GMT-3",offset:-3,zones:["America/Paramaribo"]},"GMT-03:00":{abbr:"GMT-3",offset:-3,zones:["America/Punta_Arenas","Antarctica/Palmer"]},"Northwest Mexico Daylight Time":{abbr:"GMT-7",offset:-7,zones:["America/Santa_Isabel"]},"Chile Standard Time":{abbr:"GMT-4",offset:-4,zones:["America/Santiago"]},"East Greenland Summer Time":{abbr:"GMT",offset:0,zones:["America/Scoresbysund"]},"Newfoundland Daylight Time":{abbr:"GMT-2:30",offset:-3,zones:["America/St_Johns"]},"Casey Time":{abbr:"GMT+11",offset:11,zones:["Antarctica/Casey"]},"Davis Time":{abbr:"GMT+7",offset:7,zones:["Antarctica/Davis"]},"Dumont-d’Urville Time":{abbr:"GMT+10",offset:10,zones:["Antarctica/DumontDUrville"]},"Australian Eastern Standard Time":{abbr:"GMT+10",offset:10,zones:["Antarctica/Macquarie","Australia/Brisbane","Australia/Currie","Australia/Hobart","Australia/Lindeman","Australia/Melbourne","Australia/Sydney"]},"Mawson Time":{abbr:"GMT+5",offset:5,zones:["Antarctica/Mawson"]},"New Zealand Standard Time":{abbr:"GMT+12",offset:12,zones:["Antarctica/McMurdo","Pacific/Auckland"]},"Rothera Time":{abbr:"GMT-3",offset:-3,zones:["Antarctica/Rothera"]},"Syowa Time":{abbr:"GMT+3",offset:3,zones:["Antarctica/Syowa"]},"GMT+02:00":{abbr:"GMT+2",offset:2,zones:["Antarctica/Troll"]},"Vostok Time":{abbr:"GMT+6",offset:6,zones:["Antarctica/Vostok"]},"Arabian Standard Time":{abbr:"GMT+3",offset:3,zones:["Asia/Aden","Asia/Baghdad","Asia/Bahrain","Asia/Kuwait","Asia/Qatar","Asia/Riyadh"]},"East Kazakhstan Time":{abbr:"GMT+6",offset:6,zones:["Asia/Almaty","Asia/Qostanay"]},"GMT+03:00":{abbr:"GMT+3",offset:3,zones:["Asia/Amman","Asia/Damascus","Asia/Famagusta","Europe/Istanbul","Europe/Kirov"]},"Anadyr Standard Time":{abbr:"GMT+12",offset:12,zones:["Asia/Anadyr"]},"West Kazakhstan Time":{abbr:"GMT+5",offset:5,zones:["Asia/Aqtau","Asia/Aqtobe","Asia/Atyrau","Asia/Oral","Asia/Qyzylorda"]},"Turkmenistan Standard Time":{abbr:"GMT+5",offset:5,zones:["Asia/Ashgabat"]},"Azerbaijan Standard Time":{abbr:"GMT+4",offset:4,zones:["Asia/Baku"]},"Indochina Time":{abbr:"GMT+7",offset:7,zones:["Asia/Bangkok","Asia/Phnom_Penh","Asia/Saigon","Asia/Vientiane"]},"GMT+07:00":{abbr:"GMT+7",offset:7,zones:["Asia/Barnaul","Asia/Tomsk"]},"Kyrgyzstan Time":{abbr:"GMT+6",offset:6,zones:["Asia/Bishkek"]},"Brunei Darussalam Time":{abbr:"GMT+8",offset:8,zones:["Asia/Brunei"]},"India Standard Time":{abbr:"GMT+5:30",offset:5,zones:["Asia/Calcutta","Asia/Colombo"]},"Yakutsk Standard Time":{abbr:"GMT+9",offset:9,zones:["Asia/Chita","Asia/Khandyga","Asia/Yakutsk"]},"Ulaanbaatar Standard Time":{abbr:"GMT+8",offset:8,zones:["Asia/Choibalsan","Asia/Ulaanbaatar"]},"Bangladesh Standard Time":{abbr:"GMT+6",offset:6,zones:["Asia/Dhaka"]},"East Timor Time":{abbr:"GMT+9",offset:9,zones:["Asia/Dili"]},"Gulf Standard Time":{abbr:"GMT+4",offset:4,zones:["Asia/Dubai","Asia/Muscat"]},"Tajikistan Time":{abbr:"GMT+5",offset:5,zones:["Asia/Dushanbe"]},"Hong Kong Standard Time":{abbr:"GMT+8",offset:8,zones:["Asia/Hong_Kong"]},"Hovd Standard Time":{abbr:"GMT+7",offset:7,zones:["Asia/Hovd"]},"Irkutsk Standard Time":{abbr:"GMT+8",offset:8,zones:["Asia/Irkutsk"]},"Western Indonesia Time":{abbr:"GMT+7",offset:7,zones:["Asia/Jakarta","Asia/Pontianak"]},"Eastern Indonesia Time":{abbr:"GMT+9",offset:9,zones:["Asia/Jayapura"]},"Israel Daylight Time":{abbr:"GMT+3",offset:3,zones:["Asia/Jerusalem"]},"Afghanistan Time":{abbr:"GMT+4:30",offset:4,zones:["Asia/Kabul"]},"Petropavlovsk-Kamchatski Standard Time":{abbr:"GMT+12",offset:12,zones:["Asia/Kamchatka"]},"Pakistan Standard Time":{abbr:"GMT+5",offset:5,zones:["Asia/Karachi"]},"Nepal Time":{abbr:"GMT+5:45",offset:5,zones:["Asia/Katmandu"]},"Krasnoyarsk Standard Time":{abbr:"GMT+7",offset:7,zones:["Asia/Krasnoyarsk","Asia/Novokuznetsk"]},"Malaysia Time":{abbr:"GMT+8",offset:8,zones:["Asia/Kuala_Lumpur","Asia/Kuching"]},"China Standard Time":{abbr:"GMT+8",offset:8,zones:["Asia/Macau","Asia/Shanghai"]},"Magadan Standard Time":{abbr:"GMT+11",offset:11,zones:["Asia/Magadan"]},"Central Indonesia Time":{abbr:"GMT+8",offset:8,zones:["Asia/Makassar"]},"Philippine Standard Time":{abbr:"GMT+8",offset:8,zones:["Asia/Manila"]},"Novosibirsk Standard Time":{abbr:"GMT+7",offset:7,zones:["Asia/Novosibirsk"]},"Omsk Standard Time":{abbr:"GMT+6",offset:6,zones:["Asia/Omsk"]},"Korean Standard Time":{abbr:"GMT+9",offset:9,zones:["Asia/Pyongyang","Asia/Seoul"]},"Myanmar Time":{abbr:"GMT+6:30",offset:6,zones:["Asia/Rangoon"]},"Sakhalin Standard Time":{abbr:"GMT+11",offset:11,zones:["Asia/Sakhalin"]},"Uzbekistan Standard Time":{abbr:"GMT+5",offset:5,zones:["Asia/Samarkand","Asia/Tashkent"]},"Singapore Standard Time":{abbr:"GMT+8",offset:8,zones:["Asia/Singapore"]},"GMT+11:00":{abbr:"GMT+11",offset:11,zones:["Asia/Srednekolymsk","Pacific/Bougainville"]},"Taipei Standard Time":{abbr:"GMT+8",offset:8,zones:["Asia/Taipei"]},"Georgia Standard Time":{abbr:"GMT+4",offset:4,zones:["Asia/Tbilisi"]},"Iran Standard Time":{abbr:"GMT+3:30",offset:3,zones:["Asia/Tehran"]},"Bhutan Time":{abbr:"GMT+6",offset:6,zones:["Asia/Thimphu"]},"Japan Standard Time":{abbr:"GMT+9",offset:9,zones:["Asia/Tokyo"]},"GMT+06:00":{abbr:"GMT+6",offset:6,zones:["Asia/Urumqi"]},"Vladivostok Standard Time":{abbr:"GMT+10",offset:10,zones:["Asia/Ust-Nera","Asia/Vladivostok"]},"Yekaterinburg Standard Time":{abbr:"GMT+5",offset:5,zones:["Asia/Yekaterinburg"]},"Armenia Standard Time":{abbr:"GMT+4",offset:4,zones:["Asia/Yerevan"]},"Azores Summer Time":{abbr:"GMT",offset:0,zones:["Atlantic/Azores"]},"Western European Summer Time":{abbr:"GMT+1",offset:1,zones:["Atlantic/Canary","Atlantic/Faeroe","Atlantic/Madeira","Europe/Lisbon"]},"Cape Verde Standard Time":{abbr:"GMT-1",offset:-1,zones:["Atlantic/Cape_Verde"]},"South Georgia Time":{abbr:"GMT-2",offset:-2,zones:["Atlantic/South_Georgia"]},"Falkland Islands Standard Time":{abbr:"GMT-3",offset:-3,zones:["Atlantic/Stanley"]},"Australian Central Standard Time":{abbr:"GMT+9:30",offset:9,zones:["Australia/Adelaide","Australia/Broken_Hill","Australia/Darwin"]},"Australian Central Western Standard Time":{abbr:"GMT+8:45",offset:8,zones:["Australia/Eucla"]},"Lord Howe Standard Time":{abbr:"GMT+10:30",offset:10,zones:["Australia/Lord_Howe"]},"Australian Western Standard Time":{abbr:"GMT+8",offset:8,zones:["Australia/Perth"]},"GMT+04:00":{abbr:"GMT+4",offset:4,zones:["Europe/Astrakhan","Europe/Saratov","Europe/Ulyanovsk"]},"Irish Standard Time":{abbr:"GMT+1",offset:1,zones:["Europe/Dublin"]},"British Summer Time":{abbr:"GMT+1",offset:1,zones:["Europe/London"]},"Moscow Standard Time":{abbr:"GMT+3",offset:3,zones:["Europe/Minsk","Europe/Moscow","Europe/Simferopol"]},"Samara Standard Time":{abbr:"GMT+4",offset:4,zones:["Europe/Samara"]},"Volgograd Standard Time":{abbr:"GMT+3",offset:3,zones:["Europe/Volgograd"]},"Indian Ocean Time":{abbr:"GMT+6",offset:6,zones:["Indian/Chagos"]},"Christmas Island Time":{abbr:"GMT+7",offset:7,zones:["Indian/Christmas"]},"Cocos Islands Time":{abbr:"GMT+6:30",offset:6,zones:["Indian/Cocos"]},"French Southern & Antarctic Time":{abbr:"GMT+5",offset:5,zones:["Indian/Kerguelen"]},"Seychelles Time":{abbr:"GMT+4",offset:4,zones:["Indian/Mahe"]},"Maldives Time":{abbr:"GMT+5",offset:5,zones:["Indian/Maldives"]},"Mauritius Standard Time":{abbr:"GMT+4",offset:4,zones:["Indian/Mauritius"]},"Réunion Time":{abbr:"GMT+4",offset:4,zones:["Indian/Reunion"]},"Apia Standard Time":{abbr:"GMT+13",offset:13,zones:["Pacific/Apia"]},"Chatham Standard Time":{abbr:"GMT+12:45",offset:12,zones:["Pacific/Chatham"]},"Easter Island Standard Time":{abbr:"GMT-6",offset:-6,zones:["Pacific/Easter"]},"Vanuatu Standard Time":{abbr:"GMT+11",offset:11,zones:["Pacific/Efate"]},"Phoenix Islands Time":{abbr:"GMT+13",offset:13,zones:["Pacific/Enderbury"]},"Tokelau Time":{abbr:"GMT+13",offset:13,zones:["Pacific/Fakaofo"]},"Fiji Standard Time":{abbr:"GMT+12",offset:12,zones:["Pacific/Fiji"]},"Tuvalu Time":{abbr:"GMT+12",offset:12,zones:["Pacific/Funafuti"]},"Galapagos Time":{abbr:"GMT-6",offset:-6,zones:["Pacific/Galapagos"]},"Gambier Time":{abbr:"GMT-9",offset:-9,zones:["Pacific/Gambier"]},"Solomon Islands Time":{abbr:"GMT+11",offset:11,zones:["Pacific/Guadalcanal"]},"Chamorro Standard Time":{abbr:"GMT+10",offset:10,zones:["Pacific/Guam","Pacific/Saipan"]},"Hawaii-Aleutian Standard Time":{abbr:"HST",offset:-10,zones:["Pacific/Honolulu","Pacific/Johnston"]},"Line Islands Time":{abbr:"GMT+14",offset:14,zones:["Pacific/Kiritimati"]},"Kosrae Time":{abbr:"GMT+11",offset:11,zones:["Pacific/Kosrae"]},"Marshall Islands Time":{abbr:"GMT+12",offset:12,zones:["Pacific/Kwajalein","Pacific/Majuro"]},"Marquesas Time":{abbr:"GMT-9:30",offset:-10,zones:["Pacific/Marquesas"]},"Samoa Standard Time":{abbr:"GMT-11",offset:-11,zones:["Pacific/Midway","Pacific/Pago_Pago"]},"Nauru Time":{abbr:"GMT+12",offset:12,zones:["Pacific/Nauru"]},"Niue Time":{abbr:"GMT-11",offset:-11,zones:["Pacific/Niue"]},"Norfolk Island Standard Time":{abbr:"GMT+11",offset:11,zones:["Pacific/Norfolk"]},"New Caledonia Standard Time":{abbr:"GMT+11",offset:11,zones:["Pacific/Noumea"]},"Palau Time":{abbr:"GMT+9",offset:9,zones:["Pacific/Palau"]},"Pitcairn Time":{abbr:"GMT-8",offset:-8,zones:["Pacific/Pitcairn"]},"Ponape Time":{abbr:"GMT+11",offset:11,zones:["Pacific/Ponape"]},"Papua New Guinea Time":{abbr:"GMT+10",offset:10,zones:["Pacific/Port_Moresby"]},"Cook Islands Standard Time":{abbr:"GMT-10",offset:-10,zones:["Pacific/Rarotonga"]},"Tahiti Time":{abbr:"GMT-10",offset:-10,zones:["Pacific/Tahiti"]},"Gilbert Islands Time":{abbr:"GMT+12",offset:12,zones:["Pacific/Tarawa"]},"Tonga Standard Time":{abbr:"GMT+13",offset:13,zones:["Pacific/Tongatapu"]},"Chuuk Time":{abbr:"GMT+10",offset:10,zones:["Pacific/Truk"]},"Wake Island Time":{abbr:"GMT+12",offset:12,zones:["Pacific/Wake"]},"Wallis & Futuna Time":{abbr:"GMT+12",offset:12,zones:["Pacific/Wallis"]}},pa=Object.entries(oa).map(([a,e])=>({label:a,value:a,...e})).sort((a,e)=>a.label>e.label?1:e.label>a.label?-1:0);function Ke(a,e){if(a==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var u in e)Object.prototype.hasOwnProperty.call(e,u)&&(a[u]=e[u]);return a}function ua(a){return Ke({},a)}var Qe=1440,_a=2520,Ve=43200,Aa=86400;function ya(a,e,u){var d,v;Re(2,arguments);var s=ia(),i=(d=(v=u==null?void 0:u.locale)!==null&&v!==void 0?v:s.locale)!==null&&d!==void 0?d:ra;if(!i.formatDistance)throw new RangeError("locale must contain formatDistance property");var t=na(a,e);if(isNaN(t))throw new RangeError("Invalid time value");var r=Ke(ua(u),{addSuffix:Boolean(u==null?void 0:u.addSuffix),comparison:t}),n,c;t>0?(n=F(e),c=F(a)):(n=F(a),c=F(e));var g=va(c,n),y=(ue(c)-ue(n))/1e3,h=Math.round((g-y)/60),p;if(h<2)return u!=null&&u.includeSeconds?g<5?i.formatDistance("lessThanXSeconds",5,r):g<10?i.formatDistance("lessThanXSeconds",10,r):g<20?i.formatDistance("lessThanXSeconds",20,r):g<40?i.formatDistance("halfAMinute",0,r):g<60?i.formatDistance("lessThanXMinutes",1,r):i.formatDistance("xMinutes",1,r):h===0?i.formatDistance("lessThanXMinutes",1,r):i.formatDistance("xMinutes",h,r);if(h<45)return i.formatDistance("xMinutes",h,r);if(h<90)return i.formatDistance("aboutXHours",1,r);if(h0?(c=F(e),g=F(a)):(c=F(a),g=F(e));var y=String((s=u==null?void 0:u.roundingMethod)!==null&&s!==void 0?s:"round"),h;if(y==="floor")h=Math.floor;else if(y==="ceil")h=Math.ceil;else if(y==="round")h=Math.round;else throw new RangeError("roundingMethod must be 'floor', 'ceil' or 'round'");var p=g.getTime()-c.getTime(),M=p/Je,T=ue(g)-ue(c),f=(p-T)/Je,m=u==null?void 0:u.unit,o;if(m?o=String(m):M<1?o="second":M<60?o="minute":M1?"s":"")+" required, but only "+v.length+" present")}a.exports=e.default})(Ea,P);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var u=d(P);function d(i){return i&&i.__esModule?i:{default:i}}function v(i){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?v=function(r){return typeof r}:v=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},v(i)}function s(i){return(0,u.default)(1,arguments),i instanceof Date||v(i)==="object"&&Object.prototype.toString.call(i)==="[object Date]"}a.exports=e.default})(Pa,le);var C={},Ca={get exports(){return C},set exports(a){C=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var u=d(P);function d(i){return i&&i.__esModule?i:{default:i}}function v(i){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?v=function(r){return typeof r}:v=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},v(i)}function s(i){(0,u.default)(1,arguments);var t=Object.prototype.toString.call(i);return i instanceof Date||v(i)==="object"&&t==="[object Date]"?new Date(i.getTime()):typeof i=="number"||t==="[object Number]"?new Date(i):((typeof i=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}a.exports=e.default})(Ca,C);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var u=s(le),d=s(C),v=s(P);function s(t){return t&&t.__esModule?t:{default:t}}function i(t){if((0,v.default)(1,arguments),!(0,u.default)(t)&&typeof t!="number")return!1;var r=(0,d.default)(t);return!isNaN(Number(r))}a.exports=e.default})(za,de);var ce={},Ga={get exports(){return ce},set exports(a){ce=a}},me={},ka={get exports(){return me},set exports(a){me=a}},U={},Na={get exports(){return U},set exports(a){U=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;function u(d){if(d===null||d===!0||d===!1)return NaN;var v=Number(d);return isNaN(v)?v:v<0?Math.ceil(v):Math.floor(v)}a.exports=e.default})(Na,U);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var u=s(U),d=s(C),v=s(P);function s(t){return t&&t.__esModule?t:{default:t}}function i(t,r){(0,v.default)(2,arguments);var n=(0,d.default)(t).getTime(),c=(0,u.default)(r);return new Date(n+c)}a.exports=e.default})(ka,me);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var u=s(me),d=s(P),v=s(U);function s(t){return t&&t.__esModule?t:{default:t}}function i(t,r){(0,d.default)(2,arguments);var n=(0,v.default)(r);return(0,u.default)(t,-n)}a.exports=e.default})(Ga,ce);var ve={},Ia={get exports(){return ve},set exports(a){ve=a}},Te={},Ua={get exports(){return Te},set exports(a){Te=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var u=v(C),d=v(P);function v(t){return t&&t.__esModule?t:{default:t}}var s=864e5;function i(t){(0,d.default)(1,arguments);var r=(0,u.default)(t),n=r.getTime();r.setUTCMonth(0,1),r.setUTCHours(0,0,0,0);var c=r.getTime(),g=n-c;return Math.floor(g/s)+1}a.exports=e.default})(Ua,Te);var he={},Ya={get exports(){return he},set exports(a){he=a}},$={},Wa={get exports(){return $},set exports(a){$=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var u=v(C),d=v(P);function v(i){return i&&i.__esModule?i:{default:i}}function s(i){(0,d.default)(1,arguments);var t=1,r=(0,u.default)(i),n=r.getUTCDay(),c=(n=g.getTime()?n+1:r.getTime()>=h.getTime()?n:n-1}a.exports=e.default})(Fa,K);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var u=s(K),d=s($),v=s(P);function s(t){return t&&t.__esModule?t:{default:t}}function i(t){(0,v.default)(1,arguments);var r=(0,u.default)(t),n=new Date(0);n.setUTCFullYear(r,0,4),n.setUTCHours(0,0,0,0);var c=(0,d.default)(n);return c}a.exports=e.default})(Ra,be);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var u=i(C),d=i($),v=i(be),s=i(P);function i(n){return n&&n.__esModule?n:{default:n}}var t=6048e5;function r(n){(0,s.default)(1,arguments);var c=(0,u.default)(n),g=(0,d.default)(c).getTime()-(0,v.default)(c).getTime();return Math.round(g/t)+1}a.exports=e.default})(Ya,he);var ge={},Ha={get exports(){return ge},set exports(a){ge=a}},B={},La={get exports(){return B},set exports(a){B=a}},q={};Object.defineProperty(q,"__esModule",{value:!0});q.getDefaultOptions=qa;q.setDefaultOptions=$a;var sa={};function qa(){return sa}function $a(a){sa=a}(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;var u=i(C),d=i(P),v=i(U),s=q;function i(r){return r&&r.__esModule?r:{default:r}}function t(r,n){var c,g,y,h,p,M,T,f;(0,d.default)(1,arguments);var m=(0,s.getDefaultOptions)(),o=(0,v.default)((c=(g=(y=(h=n==null?void 0:n.weekStartsOn)!==null&&h!==void 0?h:n==null||(p=n.locale)===null||p===void 0||(M=p.options)===null||M===void 0?void 0:M.weekStartsOn)!==null&&y!==void 0?y:m.weekStartsOn)!==null&&g!==void 0?g:(T=m.locale)===null||T===void 0||(f=T.options)===null||f===void 0?void 0:f.weekStartsOn)!==null&&c!==void 0?c:0);if(!(o>=0&&o<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var l=(0,u.default)(r),b=l.getUTCDay(),D=(b=1&&D<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var S=new Date(0);S.setUTCFullYear(l+1,0,D),S.setUTCHours(0,0,0,0);var w=(0,v.default)(S,c),_=new Date(0);_.setUTCFullYear(l,0,D),_.setUTCHours(0,0,0,0);var A=(0,v.default)(_,c);return o.getTime()>=w.getTime()?l+1:o.getTime()>=A.getTime()?l:l-1}a.exports=e.default})(Xa,Q);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var u=t(Q),d=t(P),v=t(B),s=t(U),i=q;function t(n){return n&&n.__esModule?n:{default:n}}function r(n,c){var g,y,h,p,M,T,f,m;(0,d.default)(1,arguments);var o=(0,i.getDefaultOptions)(),l=(0,s.default)((g=(y=(h=(p=c==null?void 0:c.firstWeekContainsDate)!==null&&p!==void 0?p:c==null||(M=c.locale)===null||M===void 0||(T=M.options)===null||T===void 0?void 0:T.firstWeekContainsDate)!==null&&h!==void 0?h:o.firstWeekContainsDate)!==null&&y!==void 0?y:(f=o.locale)===null||f===void 0||(m=f.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&g!==void 0?g:1),b=(0,u.default)(n,c),D=new Date(0);D.setUTCFullYear(b,0,l),D.setUTCHours(0,0,0,0);var S=(0,v.default)(D,c);return S}a.exports=e.default})(Ba,Me);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var u=i(C),d=i(B),v=i(Me),s=i(P);function i(n){return n&&n.__esModule?n:{default:n}}var t=6048e5;function r(n,c){(0,s.default)(1,arguments);var g=(0,u.default)(n),y=(0,d.default)(g,c).getTime()-(0,v.default)(g,c).getTime();return Math.round(y/t)+1}a.exports=e.default})(Ha,ge);var J={},Za={get exports(){return J},set exports(a){J=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;function u(d,v){for(var s=d<0?"-":"",i=Math.abs(d).toString();i.length0?n:1-n;return(0,u.default)(r==="yy"?c%100:c,r.length)},M:function(t,r){var n=t.getUTCMonth();return r==="M"?String(n+1):(0,u.default)(n+1,2)},d:function(t,r){return(0,u.default)(t.getUTCDate(),r.length)},a:function(t,r){var n=t.getUTCHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(t,r){return(0,u.default)(t.getUTCHours()%12||12,r.length)},H:function(t,r){return(0,u.default)(t.getUTCHours(),r.length)},m:function(t,r){return(0,u.default)(t.getUTCMinutes(),r.length)},s:function(t,r){return(0,u.default)(t.getUTCSeconds(),r.length)},S:function(t,r){var n=r.length,c=t.getUTCMilliseconds(),g=Math.floor(c*Math.pow(10,n-3));return(0,u.default)(g,r.length)}},s=v;e.default=s,a.exports=e.default})(Va,pe);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=n(Te),d=n(he),v=n(K),s=n(ge),i=n(Q),t=n(J),r=n(pe);function n(T){return T&&T.__esModule?T:{default:T}}var c={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},g={G:function(f,m,o){var l=f.getUTCFullYear()>0?1:0;switch(m){case"G":case"GG":case"GGG":return o.era(l,{width:"abbreviated"});case"GGGGG":return o.era(l,{width:"narrow"});case"GGGG":default:return o.era(l,{width:"wide"})}},y:function(f,m,o){if(m==="yo"){var l=f.getUTCFullYear(),b=l>0?l:1-l;return o.ordinalNumber(b,{unit:"year"})}return r.default.y(f,m)},Y:function(f,m,o,l){var b=(0,i.default)(f,l),D=b>0?b:1-b;if(m==="YY"){var S=D%100;return(0,t.default)(S,2)}return m==="Yo"?o.ordinalNumber(D,{unit:"year"}):(0,t.default)(D,m.length)},R:function(f,m){var o=(0,v.default)(f);return(0,t.default)(o,m.length)},u:function(f,m){var o=f.getUTCFullYear();return(0,t.default)(o,m.length)},Q:function(f,m,o){var l=Math.ceil((f.getUTCMonth()+1)/3);switch(m){case"Q":return String(l);case"QQ":return(0,t.default)(l,2);case"Qo":return o.ordinalNumber(l,{unit:"quarter"});case"QQQ":return o.quarter(l,{width:"abbreviated",context:"formatting"});case"QQQQQ":return o.quarter(l,{width:"narrow",context:"formatting"});case"QQQQ":default:return o.quarter(l,{width:"wide",context:"formatting"})}},q:function(f,m,o){var l=Math.ceil((f.getUTCMonth()+1)/3);switch(m){case"q":return String(l);case"qq":return(0,t.default)(l,2);case"qo":return o.ordinalNumber(l,{unit:"quarter"});case"qqq":return o.quarter(l,{width:"abbreviated",context:"standalone"});case"qqqqq":return o.quarter(l,{width:"narrow",context:"standalone"});case"qqqq":default:return o.quarter(l,{width:"wide",context:"standalone"})}},M:function(f,m,o){var l=f.getUTCMonth();switch(m){case"M":case"MM":return r.default.M(f,m);case"Mo":return o.ordinalNumber(l+1,{unit:"month"});case"MMM":return o.month(l,{width:"abbreviated",context:"formatting"});case"MMMMM":return o.month(l,{width:"narrow",context:"formatting"});case"MMMM":default:return o.month(l,{width:"wide",context:"formatting"})}},L:function(f,m,o){var l=f.getUTCMonth();switch(m){case"L":return String(l+1);case"LL":return(0,t.default)(l+1,2);case"Lo":return o.ordinalNumber(l+1,{unit:"month"});case"LLL":return o.month(l,{width:"abbreviated",context:"standalone"});case"LLLLL":return o.month(l,{width:"narrow",context:"standalone"});case"LLLL":default:return o.month(l,{width:"wide",context:"standalone"})}},w:function(f,m,o,l){var b=(0,s.default)(f,l);return m==="wo"?o.ordinalNumber(b,{unit:"week"}):(0,t.default)(b,m.length)},I:function(f,m,o){var l=(0,d.default)(f);return m==="Io"?o.ordinalNumber(l,{unit:"week"}):(0,t.default)(l,m.length)},d:function(f,m,o){return m==="do"?o.ordinalNumber(f.getUTCDate(),{unit:"date"}):r.default.d(f,m)},D:function(f,m,o){var l=(0,u.default)(f);return m==="Do"?o.ordinalNumber(l,{unit:"dayOfYear"}):(0,t.default)(l,m.length)},E:function(f,m,o){var l=f.getUTCDay();switch(m){case"E":case"EE":case"EEE":return o.day(l,{width:"abbreviated",context:"formatting"});case"EEEEE":return o.day(l,{width:"narrow",context:"formatting"});case"EEEEEE":return o.day(l,{width:"short",context:"formatting"});case"EEEE":default:return o.day(l,{width:"wide",context:"formatting"})}},e:function(f,m,o,l){var b=f.getUTCDay(),D=(b-l.weekStartsOn+8)%7||7;switch(m){case"e":return String(D);case"ee":return(0,t.default)(D,2);case"eo":return o.ordinalNumber(D,{unit:"day"});case"eee":return o.day(b,{width:"abbreviated",context:"formatting"});case"eeeee":return o.day(b,{width:"narrow",context:"formatting"});case"eeeeee":return o.day(b,{width:"short",context:"formatting"});case"eeee":default:return o.day(b,{width:"wide",context:"formatting"})}},c:function(f,m,o,l){var b=f.getUTCDay(),D=(b-l.weekStartsOn+8)%7||7;switch(m){case"c":return String(D);case"cc":return(0,t.default)(D,m.length);case"co":return o.ordinalNumber(D,{unit:"day"});case"ccc":return o.day(b,{width:"abbreviated",context:"standalone"});case"ccccc":return o.day(b,{width:"narrow",context:"standalone"});case"cccccc":return o.day(b,{width:"short",context:"standalone"});case"cccc":default:return o.day(b,{width:"wide",context:"standalone"})}},i:function(f,m,o){var l=f.getUTCDay(),b=l===0?7:l;switch(m){case"i":return String(b);case"ii":return(0,t.default)(b,m.length);case"io":return o.ordinalNumber(b,{unit:"day"});case"iii":return o.day(l,{width:"abbreviated",context:"formatting"});case"iiiii":return o.day(l,{width:"narrow",context:"formatting"});case"iiiiii":return o.day(l,{width:"short",context:"formatting"});case"iiii":default:return o.day(l,{width:"wide",context:"formatting"})}},a:function(f,m,o){var l=f.getUTCHours(),b=l/12>=1?"pm":"am";switch(m){case"a":case"aa":return o.dayPeriod(b,{width:"abbreviated",context:"formatting"});case"aaa":return o.dayPeriod(b,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return o.dayPeriod(b,{width:"narrow",context:"formatting"});case"aaaa":default:return o.dayPeriod(b,{width:"wide",context:"formatting"})}},b:function(f,m,o){var l=f.getUTCHours(),b;switch(l===12?b=c.noon:l===0?b=c.midnight:b=l/12>=1?"pm":"am",m){case"b":case"bb":return o.dayPeriod(b,{width:"abbreviated",context:"formatting"});case"bbb":return o.dayPeriod(b,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return o.dayPeriod(b,{width:"narrow",context:"formatting"});case"bbbb":default:return o.dayPeriod(b,{width:"wide",context:"formatting"})}},B:function(f,m,o){var l=f.getUTCHours(),b;switch(l>=17?b=c.evening:l>=12?b=c.afternoon:l>=4?b=c.morning:b=c.night,m){case"B":case"BB":case"BBB":return o.dayPeriod(b,{width:"abbreviated",context:"formatting"});case"BBBBB":return o.dayPeriod(b,{width:"narrow",context:"formatting"});case"BBBB":default:return o.dayPeriod(b,{width:"wide",context:"formatting"})}},h:function(f,m,o){if(m==="ho"){var l=f.getUTCHours()%12;return l===0&&(l=12),o.ordinalNumber(l,{unit:"hour"})}return r.default.h(f,m)},H:function(f,m,o){return m==="Ho"?o.ordinalNumber(f.getUTCHours(),{unit:"hour"}):r.default.H(f,m)},K:function(f,m,o){var l=f.getUTCHours()%12;return m==="Ko"?o.ordinalNumber(l,{unit:"hour"}):(0,t.default)(l,m.length)},k:function(f,m,o){var l=f.getUTCHours();return l===0&&(l=24),m==="ko"?o.ordinalNumber(l,{unit:"hour"}):(0,t.default)(l,m.length)},m:function(f,m,o){return m==="mo"?o.ordinalNumber(f.getUTCMinutes(),{unit:"minute"}):r.default.m(f,m)},s:function(f,m,o){return m==="so"?o.ordinalNumber(f.getUTCSeconds(),{unit:"second"}):r.default.s(f,m)},S:function(f,m){return r.default.S(f,m)},X:function(f,m,o,l){var b=l._originalDate||f,D=b.getTimezoneOffset();if(D===0)return"Z";switch(m){case"X":return h(D);case"XXXX":case"XX":return p(D);case"XXXXX":case"XXX":default:return p(D,":")}},x:function(f,m,o,l){var b=l._originalDate||f,D=b.getTimezoneOffset();switch(m){case"x":return h(D);case"xxxx":case"xx":return p(D);case"xxxxx":case"xxx":default:return p(D,":")}},O:function(f,m,o,l){var b=l._originalDate||f,D=b.getTimezoneOffset();switch(m){case"O":case"OO":case"OOO":return"GMT"+y(D,":");case"OOOO":default:return"GMT"+p(D,":")}},z:function(f,m,o,l){var b=l._originalDate||f,D=b.getTimezoneOffset();switch(m){case"z":case"zz":case"zzz":return"GMT"+y(D,":");case"zzzz":default:return"GMT"+p(D,":")}},t:function(f,m,o,l){var b=l._originalDate||f,D=Math.floor(b.getTime()/1e3);return(0,t.default)(D,m.length)},T:function(f,m,o,l){var b=l._originalDate||f,D=b.getTime();return(0,t.default)(D,m.length)}};function y(T,f){var m=T>0?"-":"+",o=Math.abs(T),l=Math.floor(o/60),b=o%60;if(b===0)return m+String(l);var D=f||"";return m+String(l)+D+(0,t.default)(b,2)}function h(T,f){if(T%60===0){var m=T>0?"-":"+";return m+(0,t.default)(Math.abs(T)/60,2)}return p(T,f)}function p(T,f){var m=f||"",o=T>0?"-":"+",l=Math.abs(T),b=(0,t.default)(Math.floor(l/60),2),D=(0,t.default)(l%60,2);return o+b+m+D}var M=g;e.default=M,a.exports=e.default})(Ia,ve);var _e={},Ka={get exports(){return _e},set exports(a){_e=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=function(r,n){switch(r){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},d=function(r,n){switch(r){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},v=function(r,n){var c=r.match(/(P+)(p+)?/)||[],g=c[1],y=c[2];if(!y)return u(r,n);var h;switch(g){case"P":h=n.dateTime({width:"short"});break;case"PP":h=n.dateTime({width:"medium"});break;case"PPP":h=n.dateTime({width:"long"});break;case"PPPP":default:h=n.dateTime({width:"full"});break}return h.replace("{{date}}",u(g,n)).replace("{{time}}",d(y,n))},s={p:d,P:v},i=s;e.default=i,a.exports=e.default})(Ka,_e);var j={},Qa={get exports(){return j},set exports(a){j=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;function u(d){var v=new Date(Date.UTC(d.getFullYear(),d.getMonth(),d.getDate(),d.getHours(),d.getMinutes(),d.getSeconds(),d.getMilliseconds()));return v.setUTCFullYear(d.getFullYear()),d.getTime()-v.getTime()}a.exports=e.default})(Qa,j);var ne={};Object.defineProperty(ne,"__esModule",{value:!0});ne.isProtectedDayOfYearToken=et;ne.isProtectedWeekYearToken=at;ne.throwProtectedError=tt;var Ja=["D","DD"],ja=["YY","YYYY"];function et(a){return Ja.indexOf(a)!==-1}function at(a){return ja.indexOf(a)!==-1}function tt(a,e,u){if(a==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(u,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(a==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(u,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(a==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(u,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(a==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(u,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Ae={},rt={get exports(){return Ae},set exports(a){Ae=a}},ye={},nt={get exports(){return ye},set exports(a){ye=a}},we={},it={get exports(){return we},set exports(a){we=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},d=function(i,t,r){var n,c=u[i];return typeof c=="string"?n=c:t===1?n=c.one:n=c.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n},v=d;e.default=v,a.exports=e.default})(it,we);var De={},ot={get exports(){return De},set exports(a){De=a}},xe={},ut={get exports(){return xe},set exports(a){xe=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;function u(d){return function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=v.width?String(v.width):d.defaultWidth,i=d.formats[s]||d.formats[d.defaultWidth];return i}}a.exports=e.default})(ut,xe);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=d(xe);function d(n){return n&&n.__esModule?n:{default:n}}var v={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},s={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},i={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},t={date:(0,u.default)({formats:v,defaultWidth:"full"}),time:(0,u.default)({formats:s,defaultWidth:"full"}),dateTime:(0,u.default)({formats:i,defaultWidth:"full"})},r=t;e.default=r,a.exports=e.default})(ot,De);var Se={},st={get exports(){return Se},set exports(a){Se=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},d=function(i,t,r,n){return u[i]},v=d;e.default=v,a.exports=e.default})(st,Se);var Oe={},ft={get exports(){return Oe},set exports(a){Oe=a}},ze={},dt={get exports(){return ze},set exports(a){ze=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;function u(d){return function(v,s){var i=s!=null&&s.context?String(s.context):"standalone",t;if(i==="formatting"&&d.formattingValues){var r=d.defaultFormattingWidth||d.defaultWidth,n=s!=null&&s.width?String(s.width):r;t=d.formattingValues[n]||d.formattingValues[r]}else{var c=d.defaultWidth,g=s!=null&&s.width?String(s.width):d.defaultWidth;t=d.values[g]||d.values[c]}var y=d.argumentCallback?d.argumentCallback(v):v;return t[y]}}a.exports=e.default})(dt,ze);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=d(ze);function d(h){return h&&h.__esModule?h:{default:h}}var v={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},s={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},i={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},t={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},r={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},n={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},c=function(p,M){var T=Number(p),f=T%100;if(f>20||f<10)switch(f%10){case 1:return T+"st";case 2:return T+"nd";case 3:return T+"rd"}return T+"th"},g={ordinalNumber:c,era:(0,u.default)({values:v,defaultWidth:"wide"}),quarter:(0,u.default)({values:s,defaultWidth:"wide",argumentCallback:function(p){return p-1}}),month:(0,u.default)({values:i,defaultWidth:"wide"}),day:(0,u.default)({values:t,defaultWidth:"wide"}),dayPeriod:(0,u.default)({values:r,defaultWidth:"wide",formattingValues:n,defaultFormattingWidth:"wide"})},y=g;e.default=y,a.exports=e.default})(ft,Oe);var Pe={},lt={get exports(){return Pe},set exports(a){Pe=a}},Ee={},ct={get exports(){return Ee},set exports(a){Ee=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;function u(s){return function(i){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.width,n=r&&s.matchPatterns[r]||s.matchPatterns[s.defaultMatchWidth],c=i.match(n);if(!c)return null;var g=c[0],y=r&&s.parsePatterns[r]||s.parsePatterns[s.defaultParseWidth],h=Array.isArray(y)?v(y,function(T){return T.test(g)}):d(y,function(T){return T.test(g)}),p;p=s.valueCallback?s.valueCallback(h):h,p=t.valueCallback?t.valueCallback(p):p;var M=i.slice(g.length);return{value:p,rest:M}}}function d(s,i){for(var t in s)if(s.hasOwnProperty(t)&&i(s[t]))return t}function v(s,i){for(var t=0;t1&&arguments[1]!==void 0?arguments[1]:{},i=v.match(d.matchPattern);if(!i)return null;var t=i[0],r=v.match(d.parsePattern);if(!r)return null;var n=d.valueCallback?d.valueCallback(r[0]):r[0];n=s.valueCallback?s.valueCallback(n):n;var c=v.slice(t.length);return{value:n,rest:c}}}a.exports=e.default})(mt,Ce);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=v(Ee),d=v(Ce);function v(o){return o&&o.__esModule?o:{default:o}}var s=/^(\d+)(th|st|nd|rd)?/i,i=/\d+/i,t={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},r={any:[/^b/i,/^(a|c)/i]},n={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},c={any:[/1/i,/2/i,/3/i,/4/i]},g={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},y={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},h={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},p={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},M={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},T={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},f={ordinalNumber:(0,d.default)({matchPattern:s,parsePattern:i,valueCallback:function(l){return parseInt(l,10)}}),era:(0,u.default)({matchPatterns:t,defaultMatchWidth:"wide",parsePatterns:r,defaultParseWidth:"any"}),quarter:(0,u.default)({matchPatterns:n,defaultMatchWidth:"wide",parsePatterns:c,defaultParseWidth:"any",valueCallback:function(l){return l+1}}),month:(0,u.default)({matchPatterns:g,defaultMatchWidth:"wide",parsePatterns:y,defaultParseWidth:"any"}),day:(0,u.default)({matchPatterns:h,defaultMatchWidth:"wide",parsePatterns:p,defaultParseWidth:"any"}),dayPeriod:(0,u.default)({matchPatterns:M,defaultMatchWidth:"any",parsePatterns:T,defaultParseWidth:"any"})},m=f;e.default=m,a.exports=e.default})(lt,Pe);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=t(we),d=t(De),v=t(Se),s=t(Oe),i=t(Pe);function t(c){return c&&c.__esModule?c:{default:c}}var r={code:"en-US",formatDistance:u.default,formatLong:d.default,formatRelative:v.default,localize:s.default,match:i.default,options:{weekStartsOn:0,firstWeekContainsDate:1}},n=r;e.default=n,a.exports=e.default})(nt,ye);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=d(ye);function d(s){return s&&s.__esModule?s:{default:s}}var v=u.default;e.default=v,a.exports=e.default})(rt,Ae);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var u=h(de),d=h(ce),v=h(C),s=h(ve),i=h(_e),t=h(j),r=ne,n=h(U),c=h(P),g=q,y=h(Ae);function h(b){return b&&b.__esModule?b:{default:b}}var p=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,M=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,T=/^'([^]*?)'?$/,f=/''/g,m=/[a-zA-Z]/;function o(b,D,S){var w,_,A,x,O,z,G,Y,k,W,N,I,Fe,He,Le,qe,$e,Be;(0,c.default)(2,arguments);var fa=String(D),X=(0,g.getDefaultOptions)(),Z=(w=(_=S==null?void 0:S.locale)!==null&&_!==void 0?_:X.locale)!==null&&w!==void 0?w:y.default,Xe=(0,n.default)((A=(x=(O=(z=S==null?void 0:S.firstWeekContainsDate)!==null&&z!==void 0?z:S==null||(G=S.locale)===null||G===void 0||(Y=G.options)===null||Y===void 0?void 0:Y.firstWeekContainsDate)!==null&&O!==void 0?O:X.firstWeekContainsDate)!==null&&x!==void 0?x:(k=X.locale)===null||k===void 0||(W=k.options)===null||W===void 0?void 0:W.firstWeekContainsDate)!==null&&A!==void 0?A:1);if(!(Xe>=1&&Xe<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var Ze=(0,n.default)((N=(I=(Fe=(He=S==null?void 0:S.weekStartsOn)!==null&&He!==void 0?He:S==null||(Le=S.locale)===null||Le===void 0||(qe=Le.options)===null||qe===void 0?void 0:qe.weekStartsOn)!==null&&Fe!==void 0?Fe:X.weekStartsOn)!==null&&I!==void 0?I:($e=X.locale)===null||$e===void 0||(Be=$e.options)===null||Be===void 0?void 0:Be.weekStartsOn)!==null&&N!==void 0?N:0);if(!(Ze>=0&&Ze<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!Z.localize)throw new RangeError("locale must contain localize property");if(!Z.formatLong)throw new RangeError("locale must contain formatLong property");var ie=(0,v.default)(b);if(!(0,u.default)(ie))throw new RangeError("Invalid time value");var da=(0,t.default)(ie),la=(0,d.default)(ie,da),ca={firstWeekContainsDate:Xe,weekStartsOn:Ze,locale:Z,_originalDate:ie},ma=fa.match(M).map(function(E){var R=E[0];if(R==="p"||R==="P"){var oe=i.default[R];return oe(E,Z.formatLong)}return E}).join("").match(p).map(function(E){if(E==="''")return"'";var R=E[0];if(R==="'")return l(E);var oe=s.default[R];if(oe)return!(S!=null&&S.useAdditionalWeekYearTokens)&&(0,r.isProtectedWeekYearToken)(E)&&(0,r.throwProtectedError)(E,D,String(b)),!(S!=null&&S.useAdditionalDayOfYearTokens)&&(0,r.isProtectedDayOfYearToken)(E)&&(0,r.throwProtectedError)(E,D,String(b)),oe(la,E,Z.localize,ca);if(R.match(m))throw new RangeError("Format string contains an unescaped latin alphabet character `"+R+"`");return E}).join("");return ma}function l(b){var D=b.match(T);return D?D[1].replace(f,"'"):b}a.exports=e.default})(Oa,fe);var Ge={},vt={get exports(){return Ge},set exports(a){Ge=a}},ke={},Tt={get exports(){return ke},set exports(a){ke=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;function u(i,t,r){var n=s(i,r.timeZone,r.locale);return n.formatToParts?d(n,t):v(n,t)}function d(i,t){for(var r=i.formatToParts(t),n=r.length-1;n>=0;--n)if(r[n].type==="timeZoneName")return r[n].value}function v(i,t){var r=i.format(t).replace(/\u200E/g,""),n=/ [\w-+ ]+$/.exec(r);return n?n[0].substr(1):""}function s(i,t,r){if(r&&!r.code)throw new Error("date-fns-tz error: Please set a language code on the locale object imported from date-fns, e.g. `locale.code = 'en-US'`");return new Intl.DateTimeFormat(r?[r.code,"en-US"]:void 0,{timeZone:t,timeZoneName:i})}a.exports=e.default})(Tt,ke);var H={},ht={get exports(){return H},set exports(a){H=a}},Ne={},bt={get exports(){return Ne},set exports(a){Ne=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;function u(r,n){var c=t(n);return c.formatToParts?v(c,r):s(c,r)}var d={year:0,month:1,day:2,hour:3,minute:4,second:5};function v(r,n){try{for(var c=r.formatToParts(n),g=[],y=0;y=0&&(g[h]=parseInt(c[y].value,10))}return g}catch(p){if(p instanceof RangeError)return[NaN];throw p}}function s(r,n){var c=r.format(n).replace(/\u200E/g,""),g=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(c);return[g[3],g[1],g[2],g[4],g[5],g[6]]}var i={};function t(r){if(!i[r]){var n=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),c=n==="06/25/2014, 00:00:00"||n==="‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";i[r]=c?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:r,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:r,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return i[r]}a.exports=e.default})(bt,Ne);var ee={},gt={get exports(){return ee},set exports(a){ee=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;function u(d,v,s,i,t,r,n){var c=new Date(0);return c.setUTCFullYear(d,v,s),c.setUTCHours(i,t,r,n),c}a.exports=e.default})(gt,ee);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var u=v(Ne),d=v(ee);function v(M){return M&&M.__esModule?M:{default:M}}var s=36e5,i=6e4,t={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-]\d{2}):?(\d{2})$/};function r(M,T,f){var m,o;if(M===""||(m=t.timezoneZ.exec(M),m))return 0;var l;if(m=t.timezoneHH.exec(M),m)return l=parseInt(m[1],10),y(l)?-(l*s):NaN;if(m=t.timezoneHHMM.exec(M),m){l=parseInt(m[1],10);var b=parseInt(m[2],10);return y(l,b)?(o=Math.abs(l)*s+b*i,l>0?-o:o):NaN}if(p(M)){T=new Date(T||Date.now());var D=f?T:n(T),S=c(D,M),w=f?S:g(T,S,M);return-w}return NaN}function n(M){return(0,d.default)(M.getFullYear(),M.getMonth(),M.getDate(),M.getHours(),M.getMinutes(),M.getSeconds(),M.getMilliseconds())}function c(M,T){var f=(0,u.default)(M,T),m=(0,d.default)(f[0],f[1]-1,f[2],f[3]%24,f[4],f[5],0).getTime(),o=M.getTime(),l=o%1e3;return o-=l>=0?l:1e3+l,m-o}function g(M,T,f){var m=M.getTime(),o=m-T,l=c(new Date(o),f);if(T===l)return T;o-=l-T;var b=c(new Date(o),f);return l===b?l:Math.max(l,b)}function y(M,T){return-23<=M&&M<=23&&(T==null||0<=T&&T<=59)}var h={};function p(M){if(h[M])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:M}),h[M]=!0,!0}catch{return!1}}a.exports=e.default})(ht,H);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=v(ke),d=v(H);function v(h){return h&&h.__esModule?h:{default:h}}var s=60*1e3,i={X:function(h,p,M,T){var f=t(T.timeZone,T._originalDate||h);if(f===0)return"Z";switch(p){case"X":return c(f);case"XXXX":case"XX":return n(f);case"XXXXX":case"XXX":default:return n(f,":")}},x:function(h,p,M,T){var f=t(T.timeZone,T._originalDate||h);switch(p){case"x":return c(f);case"xxxx":case"xx":return n(f);case"xxxxx":case"xxx":default:return n(f,":")}},O:function(h,p,M,T){var f=t(T.timeZone,T._originalDate||h);switch(p){case"O":case"OO":case"OOO":return"GMT"+g(f,":");case"OOOO":default:return"GMT"+n(f,":")}},z:function(h,p,M,T){var f=T._originalDate||h;switch(p){case"z":case"zz":case"zzz":return(0,u.default)("short",f,T);case"zzzz":default:return(0,u.default)("long",f,T)}}};function t(h,p){var M=h?(0,d.default)(h,p,!0)/s:p.getTimezoneOffset();if(Number.isNaN(M))throw new RangeError("Invalid time zone specified: "+h);return M}function r(h,p){for(var M=h<0?"-":"",T=Math.abs(h).toString();T.length0?"-":"+",f=Math.abs(h),m=r(Math.floor(f/60),2),o=r(Math.floor(f%60),2);return T+m+M+o}function c(h,p){if(h%60===0){var M=h>0?"-":"+";return M+r(Math.abs(h)/60,2)}return n(h,p)}function g(h,p){var M=h>0?"-":"+",T=Math.abs(h),f=Math.floor(T/60),m=T%60;if(m===0)return M+String(f);var o=p||"";return M+String(f)+o+r(m,2)}var y=i;e.default=y,a.exports=e.default})(vt,Ge);var L={},Mt={get exports(){return L},set exports(a){L=a}},ae={},pt={get exports(){return ae},set exports(a){ae=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,d=u;e.default=d,a.exports=e.default})(pt,ae);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=g;var u=i(U),d=i(j),v=i(H),s=i(ae);function i(w){return w&&w.__esModule?w:{default:w}}var t=36e5,r=6e4,n=2,c={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:s.default};function g(w,_){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(w===null)return new Date(NaN);var A=_||{},x=A.additionalDigits==null?n:(0,u.default)(A.additionalDigits);if(x!==2&&x!==1&&x!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(w instanceof Date||typeof w=="object"&&Object.prototype.toString.call(w)==="[object Date]")return new Date(w.getTime());if(typeof w=="number"||Object.prototype.toString.call(w)==="[object Number]")return new Date(w);if(!(typeof w=="string"||Object.prototype.toString.call(w)==="[object String]"))return new Date(NaN);var O=y(w),z=h(O.date,x),G=z.year,Y=z.restDateString,k=p(Y,G);if(isNaN(k))return new Date(NaN);if(k){var W=k.getTime(),N=0,I;if(O.time&&(N=M(O.time),isNaN(N)))return new Date(NaN);if(O.timeZone||A.timeZone){if(I=(0,v.default)(O.timeZone||A.timeZone,new Date(W+N)),isNaN(I))return new Date(NaN)}else I=(0,d.default)(new Date(W+N)),I=(0,d.default)(new Date(W+N+I));return new Date(W+N+I)}else return new Date(NaN)}function y(w){var _={},A=c.dateTimePattern.exec(w),x;if(A?(_.date=A[1],x=A[3]):(A=c.datePattern.exec(w),A?(_.date=A[1],x=A[2]):(_.date=null,x=w)),x){var O=c.timeZone.exec(x);O?(_.time=x.replace(O[1],""),_.timeZone=O[1].trim()):_.time=x}return _}function h(w,_){var A=c.YYY[_],x=c.YYYYY[_],O;if(O=c.YYYY.exec(w)||x.exec(w),O){var z=O[1];return{year:parseInt(z,10),restDateString:w.slice(z.length)}}if(O=c.YY.exec(w)||A.exec(w),O){var G=O[1];return{year:parseInt(G,10)*100,restDateString:w.slice(G.length)}}return{year:null}}function p(w,_){if(_===null)return null;var A,x,O,z;if(w.length===0)return x=new Date(0),x.setUTCFullYear(_),x;if(A=c.MM.exec(w),A)return x=new Date(0),O=parseInt(A[1],10)-1,l(_,O)?(x.setUTCFullYear(_,O),x):new Date(NaN);if(A=c.DDD.exec(w),A){x=new Date(0);var G=parseInt(A[1],10);return b(_,G)?(x.setUTCFullYear(_,0,G),x):new Date(NaN)}if(A=c.MMDD.exec(w),A){x=new Date(0),O=parseInt(A[1],10)-1;var Y=parseInt(A[2],10);return l(_,O,Y)?(x.setUTCFullYear(_,O,Y),x):new Date(NaN)}if(A=c.Www.exec(w),A)return z=parseInt(A[1],10)-1,D(_,z)?T(_,z):new Date(NaN);if(A=c.WwwD.exec(w),A){z=parseInt(A[1],10)-1;var k=parseInt(A[2],10)-1;return D(_,z,k)?T(_,z,k):new Date(NaN)}return null}function M(w){var _,A,x;if(_=c.HH.exec(w),_)return A=parseFloat(_[1].replace(",",".")),S(A)?A%24*t:NaN;if(_=c.HHMM.exec(w),_)return A=parseInt(_[1],10),x=parseFloat(_[2].replace(",",".")),S(A,x)?A%24*t+x*r:NaN;if(_=c.HHMMSS.exec(w),_){A=parseInt(_[1],10),x=parseInt(_[2],10);var O=parseFloat(_[3].replace(",","."));return S(A,x,O)?A%24*t+x*r+O*1e3:NaN}return null}function T(w,_,A){_=_||0,A=A||0;var x=new Date(0);x.setUTCFullYear(w,0,4);var O=x.getUTCDay()||7,z=_*7+A+1-O;return x.setUTCDate(x.getUTCDate()+z),x}var f=[31,28,31,30,31,30,31,31,30,31,30,31],m=[31,29,31,30,31,30,31,31,30,31,30,31];function o(w){return w%400===0||w%4===0&&w%100!==0}function l(w,_,A){if(_<0||_>11)return!1;if(A!=null){if(A<1)return!1;var x=o(w);if(x&&A>m[_]||!x&&A>f[_])return!1}return!0}function b(w,_){if(_<1)return!1;var A=o(w);return!(A&&_>366||!A&&_>365)}function D(w,_,A){return!(_<0||_>52||A!=null&&(A<0||A>6))}function S(w,_,A){return!(w!=null&&(w<0||w>=25)||_!=null&&(_<0||_>=60)||A!=null&&(A<0||A>=60))}a.exports=e.default})(Mt,L);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;var u=s(fe),d=s(Ge),v=s(L);function s(r){return r&&r.__esModule?r:{default:r}}var i=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function t(r,n,c){var g=String(n),y=c||{},h=g.match(i);if(h){var p=(0,v.default)(r,y);g=h.reduce(function(M,T){if(T[0]==="'")return M;var f=M.indexOf(T),m=M[f-1]==="'",o=M.replace(T,"'"+d.default[T[0]](p,T,null,y)+"'");return m?o.substring(0,f-1)+o.substring(f+1):o},g)}return(0,u.default)(r,g,y)}a.exports=e.default})(Sa,V);var Ie={},_t={get exports(){return Ie},set exports(a){Ie=a}},te={},At={get exports(){return te},set exports(a){te=a}},Ue={},yt={get exports(){return Ue},set exports(a){Ue=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;function u(d,v){if(d==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var s in v)Object.prototype.hasOwnProperty.call(v,s)&&(d[s]=v[s]);return d}a.exports=e.default})(yt,Ue);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=v;var u=d(Ue);function d(s){return s&&s.__esModule?s:{default:s}}function v(s){return(0,u.default)({},s)}a.exports=e.default})(At,te);var re={},wt={get exports(){return re},set exports(a){re=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=s;var u=v(H),d=v(L);function v(i){return i&&i.__esModule?i:{default:i}}function s(i,t,r){var n=(0,d.default)(i,r),c=(0,u.default)(t,n,!0),g=new Date(n.getTime()-c),y=new Date(0);return y.setFullYear(g.getUTCFullYear(),g.getUTCMonth(),g.getUTCDate()),y.setHours(g.getUTCHours(),g.getUTCMinutes(),g.getUTCSeconds(),g.getUTCMilliseconds()),y}a.exports=e.default})(wt,re);(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var u=s(te),d=s(V),v=s(re);function s(t){return t&&t.__esModule?t:{default:t}}function i(t,r,n,c){var g=(0,u.default)(c);return g.timeZone=r,(0,d.default)((0,v.default)(t,r),n,g)}a.exports=e.default})(_t,Ie);var Ye={},Dt={get exports(){return Ye},set exports(a){Ye=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=v;var u=d(H);function d(s){return s&&s.__esModule?s:{default:s}}function v(s,i){return-(0,u.default)(s,i)}a.exports=e.default})(Dt,Ye);var We={},xt={get exports(){return We},set exports(a){We=a}};(function(a,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var u=t(te),d=t(L),v=t(ae),s=t(H),i=t(ee);function t(n){return n&&n.__esModule?n:{default:n}}function r(n,c,g){if(typeof n=="string"&&!n.match(v.default)){var y=(0,u.default)(g);return y.timeZone=c,(0,d.default)(n,y)}var h=(0,d.default)(n,g),p=(0,i.default)(h.getFullYear(),h.getMonth(),h.getDate(),h.getHours(),h.getMinutes(),h.getSeconds(),h.getMilliseconds()).getTime(),M=(0,s.default)(c,new Date(p));return new Date(p+M)}a.exports=e.default})(xt,We);var aa={format:V,formatInTimeZone:Ie,getTimezoneOffset:Ye,toDate:L,utcToZonedTime:re,zonedTimeToUtc:We};const St="yyyy-MM-dd z HH:mm:ss.SS";function Ct(a,e="UTC",u={}){var t;if(!a)return"";const{relative:d=!1,relativeLabel:v="ago",relativeStrict:s=!1,abbrFormat:i=!1}=u;try{ha(a)&&(a=ba(a));const r=ga(a),n=i?r.getSeconds()?"yyyy-MM-dd HH:mm:ss a":"yyyy-MM-dd HH:mm a":St;if(e==="local")return d?s?xa(r)+` ${v}`:Da(r)+` ${v}`:aa.format(r,n);const c=((t=oa[e])==null?void 0:t.zones[0])??e;return aa.formatInTimeZone(r,c,n)}catch(r){return console.error("Error formatting date:",r),""}}function Gt(a){const e=Ma(a);return e instanceof Date&&!isNaN(e.getTime())}function kt(a,e){if(a===void 0)return"";if(a===0)return`${e}±00:00`;const u=Math.abs(a),d=u>9?`${u}:00`:`0${u}:00`;if(a>0)return`${e}+${d}`;if(a<0)return`${e}-${d}`}function Nt(){const a=Intl.DateTimeFormat().resolvedOptions().timeZone,e=pa.find(({zones:u})=>u==null?void 0:u.includes(a));return e?`${e.label} (${e.abbr})`:a}export{pa as T,oa as a,Ct as b,kt as f,Nt as g,Gt as i,Et as r,Pt as t}; diff --git a/ui/assets/local/_app/immutable/chunks/format-event-attributes.14b5bd74.js b/ui/assets/local/_app/immutable/chunks/format-event-attributes.8792031a.js similarity index 98% rename from ui/assets/local/_app/immutable/chunks/format-event-attributes.14b5bd74.js rename to ui/assets/local/_app/immutable/chunks/format-event-attributes.8792031a.js index be1f4293b8..afb191a195 100644 --- a/ui/assets/local/_app/immutable/chunks/format-event-attributes.14b5bd74.js +++ b/ui/assets/local/_app/immutable/chunks/format-event-attributes.8792031a.js @@ -1 +1 @@ -import{ac as m}from"./index.09834243.js";import{t as p}from"./translate.0a219ae4.js";import{b as E,r as T,t as x}from"./format-date.71526e4c.js";import{c}from"./format-camel-case.887ffc78.js";import{i as I}from"./index.7999049a.js";import{h as f}from"./has.b142a10d.js";import{i as k}from"./parse-with-big-int.b38462f3.js";import{C as b}from"./is-event-type.4dbe973b.js";const S={key:"",value:""},g=new Set(["activityId","attempt","binaryChecksum","identity","parentInitiatedEventId","requestId","scheduledEventId","startedEventId","lastHeartbeatTime","scheduledTime","expirationTime"]),Z=t=>g.has(t),j=new Set(["suggestContinueAsNew","historySizeBytes"]),y=(t,e)=>!(e===null||e===void 0||e===""||e==="0s"||t==="type"||(!e||e==="0")&&j.has(t)),D=t=>!(t===null||t===void 0||t===""||Array.isArray(t)&&!t.length),v=t=>typeof t=="string"?t:[t==null?void 0:t.payloads,t==null?void 0:t.indexedFields,t==null?void 0:t.points,t].find(e=>e!==void 0),O=t=>{if(k(t)){if(f(t,"stackTrace")&&t.stackTrace)return t.stackTrace;for(const e in t)if(k(t[e]))return O(t[e])}},R=["baseRunId","continuedExecutionRunId","firstExecutionRunId","newExecutionRunId","newRunId","originalExecutionRunId"],tt=t=>{for(const e of R)if(t===e)return!0;return!1},A=["taskQueueName"],et=t=>{for(const e of A)if(t===e)return!0;return!1},L=["workflowExecutionWorkflowId","workflowExecutionRunId"],rt=(t,e)=>{const r=Boolean((e==null?void 0:e.workflowExecutionWorkflowId)&&(e==null?void 0:e.workflowExecutionRunId));for(const o of L)if(t===o&&r)return!0;return!1},u=(t,e)=>{if(typeof e=="object"){const[r]=Object.keys(e);return r==="payloads"?{key:t,value:e}:{key:t+c(r),value:e[r]}}else return{key:t,value:e.toString()}},G=["failure","input","activityType","parentInitiatedEventId","workflowExecution","workflowType","taskQueue"],N=({attributes:t})=>{for(const[e,r]of Object.entries(t))if(y(e,r))return u(e,r)},Q=t=>{if(f(t,"ActivityType"))return t.ActivityType;if(f(t,"activity_type"))return t.activity_type},w=t=>{var r,o,s,i;const e=N(t);if(b(t)){const n=(i=(s=(o=(r=t.markerRecordedEventAttributes)==null?void 0:r.details)==null?void 0:o.data)==null?void 0:s.payloads)==null?void 0:i[0],a=Q(n);if(a)return u("ActivityType",a)}for(const[n,a]of Object.entries(t.attributes))for(const h of G)if(n===h&&y(n,a))return u(n,a);return e},F=({lastEvent:t})=>w(t),ot=t=>t?I(t)?F(t):w(t):S,K=new Set(["header"]),W=new Set(["taskQueue","retryPolicy","parentWorkflowExecution","workflowExecution","meta"]),C=new Set(["maximumAttempts"]),l=p("workflows","unlimited"),P=p("workflows","no-expiration"),st=(t,e)=>t===0?P:e,it=(t,e)=>t?t-e:l,nt=t=>t||l,V=(t,e)=>t==="maximumAttempts"&&!e?l:e,_=(t,e)=>{if(W.has(e)&&typeof t[e]=="object"){for(const[r,o]of Object.entries(t[e]))D(o)&&(C.has(r)?t[`${e}${c(r)}`]=V(r,o):t[`${e}${c(r)}`]=o);delete t[e]}},at=(t,{compact:e}={compact:!1})=>{const r={};e&&(r.eventTime=E(t.eventTime,m(x),{relative:m(T)}));for(const[o,s]of Object.entries(t.attributes)){const i=y(o,s);!K.has(o)&&i&&(r[o]=s),_(r,o)}return r},d=["summary","parent","activity","taskQueue","schedule","retryPolicy","workflow","searchAttributes"],ct={activity:{label:"attribute-group-activity"},parent:{label:"attribute-group-parent"},retryPolicy:{label:"attribute-group-retry-policy"},schedule:{label:"attribute-group-schedule"},searchAttributes:{label:"attribute-group-search-attributes"},summary:{label:"attribute-group-summary"},taskQueue:{label:"attribute-group-task-queue"},workflow:{label:"attribute-group-workflow"}},$=(t,e)=>{var r,o;t.category==="activity"&&((r=e==null?void 0:e.activity)!=null&&r.length)&&(e.summary=[...e.activity,...e.summary],e.activity=[]),t.category==="activity"&&((o=e==null?void 0:e.workflow)!=null&&o.length)&&(e.summary=[...e.summary,...e.workflow],e.workflow=[])},B=t=>{const e=new Set(["summary","searchAttributes"]);for(const[r,o]of Object.entries(t))o.length===1&&!e.has(r)&&(t.summary=[...t.summary,...o],t[r]=[])},ft=(t,e)=>{const r={};d.forEach(o=>{o==="summary"?r[o]=Object.keys(e):r[o]=[]});for(const o in e){const s=d.find(i=>o.includes(i));s&&(r[s]=[o,...r[s]],r.summary=r.summary.filter(i=>i!==o))}return $(t,r),B(r),r};export{ct as a,O as b,rt as c,et as d,Z as e,at as f,v as g,ft as h,ot as i,st as j,it as k,nt as l,tt as s}; +import{ac as m}from"./index.09834243.js";import{t as p}from"./translate.0a219ae4.js";import{b as E,r as T,t as x}from"./format-date.79f77cbf.js";import{c}from"./format-camel-case.887ffc78.js";import{i as I}from"./index.7999049a.js";import{h as f}from"./has.b142a10d.js";import{i as k}from"./parse-with-big-int.b38462f3.js";import{C as b}from"./is-event-type.4dbe973b.js";const S={key:"",value:""},g=new Set(["activityId","attempt","binaryChecksum","identity","parentInitiatedEventId","requestId","scheduledEventId","startedEventId","lastHeartbeatTime","scheduledTime","expirationTime"]),Z=t=>g.has(t),j=new Set(["suggestContinueAsNew","historySizeBytes"]),y=(t,e)=>!(e===null||e===void 0||e===""||e==="0s"||t==="type"||(!e||e==="0")&&j.has(t)),D=t=>!(t===null||t===void 0||t===""||Array.isArray(t)&&!t.length),v=t=>typeof t=="string"?t:[t==null?void 0:t.payloads,t==null?void 0:t.indexedFields,t==null?void 0:t.points,t].find(e=>e!==void 0),O=t=>{if(k(t)){if(f(t,"stackTrace")&&t.stackTrace)return t.stackTrace;for(const e in t)if(k(t[e]))return O(t[e])}},R=["baseRunId","continuedExecutionRunId","firstExecutionRunId","newExecutionRunId","newRunId","originalExecutionRunId"],tt=t=>{for(const e of R)if(t===e)return!0;return!1},A=["taskQueueName"],et=t=>{for(const e of A)if(t===e)return!0;return!1},L=["workflowExecutionWorkflowId","workflowExecutionRunId"],rt=(t,e)=>{const r=Boolean((e==null?void 0:e.workflowExecutionWorkflowId)&&(e==null?void 0:e.workflowExecutionRunId));for(const o of L)if(t===o&&r)return!0;return!1},u=(t,e)=>{if(typeof e=="object"){const[r]=Object.keys(e);return r==="payloads"?{key:t,value:e}:{key:t+c(r),value:e[r]}}else return{key:t,value:e.toString()}},G=["failure","input","activityType","parentInitiatedEventId","workflowExecution","workflowType","taskQueue"],N=({attributes:t})=>{for(const[e,r]of Object.entries(t))if(y(e,r))return u(e,r)},Q=t=>{if(f(t,"ActivityType"))return t.ActivityType;if(f(t,"activity_type"))return t.activity_type},w=t=>{var r,o,s,i;const e=N(t);if(b(t)){const n=(i=(s=(o=(r=t.markerRecordedEventAttributes)==null?void 0:r.details)==null?void 0:o.data)==null?void 0:s.payloads)==null?void 0:i[0],a=Q(n);if(a)return u("ActivityType",a)}for(const[n,a]of Object.entries(t.attributes))for(const h of G)if(n===h&&y(n,a))return u(n,a);return e},F=({lastEvent:t})=>w(t),ot=t=>t?I(t)?F(t):w(t):S,K=new Set(["header"]),W=new Set(["taskQueue","retryPolicy","parentWorkflowExecution","workflowExecution","meta"]),C=new Set(["maximumAttempts"]),l=p("workflows","unlimited"),P=p("workflows","no-expiration"),st=(t,e)=>t===0?P:e,it=(t,e)=>t?t-e:l,nt=t=>t||l,V=(t,e)=>t==="maximumAttempts"&&!e?l:e,_=(t,e)=>{if(W.has(e)&&typeof t[e]=="object"){for(const[r,o]of Object.entries(t[e]))D(o)&&(C.has(r)?t[`${e}${c(r)}`]=V(r,o):t[`${e}${c(r)}`]=o);delete t[e]}},at=(t,{compact:e}={compact:!1})=>{const r={};e&&(r.eventTime=E(t.eventTime,m(x),{relative:m(T)}));for(const[o,s]of Object.entries(t.attributes)){const i=y(o,s);!K.has(o)&&i&&(r[o]=s),_(r,o)}return r},d=["summary","parent","activity","taskQueue","schedule","retryPolicy","workflow","searchAttributes"],ct={activity:{label:"attribute-group-activity"},parent:{label:"attribute-group-parent"},retryPolicy:{label:"attribute-group-retry-policy"},schedule:{label:"attribute-group-schedule"},searchAttributes:{label:"attribute-group-search-attributes"},summary:{label:"attribute-group-summary"},taskQueue:{label:"attribute-group-task-queue"},workflow:{label:"attribute-group-workflow"}},$=(t,e)=>{var r,o;t.category==="activity"&&((r=e==null?void 0:e.activity)!=null&&r.length)&&(e.summary=[...e.activity,...e.summary],e.activity=[]),t.category==="activity"&&((o=e==null?void 0:e.workflow)!=null&&o.length)&&(e.summary=[...e.summary,...e.workflow],e.workflow=[])},B=t=>{const e=new Set(["summary","searchAttributes"]);for(const[r,o]of Object.entries(t))o.length===1&&!e.has(r)&&(t.summary=[...t.summary,...o],t[r]=[])},ft=(t,e)=>{const r={};d.forEach(o=>{o==="summary"?r[o]=Object.keys(e):r[o]=[]});for(const o in e){const s=d.find(i=>o.includes(i));s&&(r[s]=[o,...r[s]],r.summary=r.summary.filter(i=>i!==o))}return $(t,r),B(r),r};export{ct as a,O as b,rt as c,et as d,Z as e,at as f,v as g,ft as h,ot as i,st as j,it as k,nt as l,tt as s}; diff --git a/ui/assets/local/_app/immutable/chunks/get-codec.be95b1c3.js b/ui/assets/local/_app/immutable/chunks/get-codec.fde3aa26.js similarity index 89% rename from ui/assets/local/_app/immutable/chunks/get-codec.be95b1c3.js rename to ui/assets/local/_app/immutable/chunks/get-codec.fde3aa26.js index 82d4b34552..bbab5d4bde 100644 --- a/ui/assets/local/_app/immutable/chunks/get-codec.be95b1c3.js +++ b/ui/assets/local/_app/immutable/chunks/get-codec.fde3aa26.js @@ -1 +1 @@ -import{ac as c}from"./index.09834243.js";import{c as u,o as C,p as l,i as E}from"./data-encoder-config.b5b7b570.js";const O=(o,d=u,e=C)=>{var r;return c(e)&&c(d)||((r=o==null?void 0:o.codec)==null?void 0:r.endpoint)||c(d)||""},f=(o,d=l,e=u,p=C)=>{var n,a;const r=c(p)&&c(e),v=(n=o==null?void 0:o.codec)!=null&&n.endpoint?!!((a=o==null?void 0:o.codec)!=null&&a.passAccessToken):!!c(d);return r?!!c(d):v},A=(o,d=E,e=u,p=C)=>{var n,a;const r=c(p)&&c(e),v=(n=o==null?void 0:o.codec)!=null&&n.endpoint?!!((a=o==null?void 0:o.codec)!=null&&a.includeCredentials):!!c(d);return r?!!c(d):v};export{f as a,A as b,O as g}; +import{ac as c}from"./index.09834243.js";import{c as u,o as C,p as l,i as E}from"./data-encoder-config.79b97010.js";const O=(o,d=u,e=C)=>{var r;return c(e)&&c(d)||((r=o==null?void 0:o.codec)==null?void 0:r.endpoint)||c(d)||""},f=(o,d=l,e=u,p=C)=>{var n,a;const r=c(p)&&c(e),v=(n=o==null?void 0:o.codec)!=null&&n.endpoint?!!((a=o==null?void 0:o.codec)!=null&&a.passAccessToken):!!c(d);return r?!!c(d):v},A=(o,d=E,e=u,p=C)=>{var n,a;const r=c(p)&&c(e),v=(n=o==null?void 0:o.codec)!=null&&n.endpoint?!!((a=o==null?void 0:o.codec)!=null&&a.includeCredentials):!!c(d);return r?!!c(d):v};export{f as a,A as b,O as g}; diff --git a/ui/assets/local/_app/immutable/chunks/import-events.0a475568.js b/ui/assets/local/_app/immutable/chunks/import-events.0a475568.js new file mode 100644 index 0000000000..732399f993 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/import-events.0a475568.js @@ -0,0 +1 @@ +import{w as t}from"./singletons.741208bb.js";const r=t([]),s=t([]);export{s as a,r as i}; diff --git a/ui/assets/local/_app/immutable/chunks/import-events.1bc34d6c.js b/ui/assets/local/_app/immutable/chunks/import-events.1bc34d6c.js deleted file mode 100644 index 9fd062f326..0000000000 --- a/ui/assets/local/_app/immutable/chunks/import-events.1bc34d6c.js +++ /dev/null @@ -1 +0,0 @@ -import{w as t}from"./singletons.aae8f11e.js";const r=t([]),s=t([]);export{s as a,r as i}; diff --git a/ui/assets/local/_app/immutable/chunks/index.70d7ea32.js b/ui/assets/local/_app/immutable/chunks/index.38be7b17.js similarity index 78% rename from ui/assets/local/_app/immutable/chunks/index.70d7ea32.js rename to ui/assets/local/_app/immutable/chunks/index.38be7b17.js index 477c966a84..0cd89642a9 100644 --- a/ui/assets/local/_app/immutable/chunks/index.70d7ea32.js +++ b/ui/assets/local/_app/immutable/chunks/index.38be7b17.js @@ -1 +1 @@ -import"./data-encoder-config.b5b7b570.js";import"./index.e31b9884.js";import"./parse-with-big-int.b38462f3.js";import{b as c}from"./format-date.71526e4c.js";import"./index.09834243.js";import{F as m}from"./is-event-type.4dbe973b.js";import{g as d}from"./get-event-categorization.3ec93a88.js";import{s as l}from"./simplify-attributes.560f55a5.js";const p=["Unspecified","Scheduled","Open","New","Started","Initiated","Running","Completed","Fired","CancelRequested","TimedOut","Signaled","Canceled","Failed","Terminated"],f=t=>{if(t.includes("RequestCancel"))return"CancelRequested";for(const e of p)if(t.includes(e))return e},u=async t=>{const e=String(t.eventId),i=t.eventType,n=c(String(t.eventTime)),s=f(i),a=d(i),{key:o,attributes:r}=m(t);return{...t,name:i,id:e,eventType:i,timestamp:n,classification:s,category:a,attributes:l({type:o,...r})}},q=async t=>await Promise.all(t.map(u));export{q as t}; +import"./data-encoder-config.79b97010.js";import"./index.e31b9884.js";import"./parse-with-big-int.b38462f3.js";import{b as c}from"./format-date.79f77cbf.js";import"./index.09834243.js";import{F as m}from"./is-event-type.4dbe973b.js";import{g as d}from"./get-event-categorization.3ec93a88.js";import{s as l}from"./simplify-attributes.7c9bfcb7.js";const p=["Unspecified","Scheduled","Open","New","Started","Initiated","Running","Completed","Fired","CancelRequested","TimedOut","Signaled","Canceled","Failed","Terminated"],f=t=>{if(t.includes("RequestCancel"))return"CancelRequested";for(const e of p)if(t.includes(e))return e},u=async t=>{const e=String(t.eventId),i=t.eventType,n=c(String(t.eventTime)),s=f(i),a=d(i),{key:o,attributes:r}=m(t);return{...t,name:i,id:e,eventType:i,timestamp:n,classification:s,category:a,attributes:l({type:o,...r})}},q=async t=>await Promise.all(t.map(u));export{q as t}; diff --git a/ui/assets/local/_app/immutable/chunks/index.44f123ef.js b/ui/assets/local/_app/immutable/chunks/index.44f123ef.js new file mode 100644 index 0000000000..51d1541c7e --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/index.44f123ef.js @@ -0,0 +1 @@ +import{S as Ee,b as Ie,a as de,e as Ne,f as b,j as v,z as ve,g as q,h as ge,k as c,K as he,m as E,c as D,p as I,q as S,d as F,u as T,L as k,Q as j,$ as pe,ag as oe,n as re,r as Ge,P as Be,i as Xe,C as U,D as Q,E as A,F as M,w as C,x as H,y as le,a5 as Ye,G as Ze,H as $e,I as xe,J as et,V as Re}from"./index.09834243.js";import{g as tt}from"./navigation.3b6dd1c7.js";import{p as lt}from"./stores.cd833532.js";import{W as st}from"./workflow-status.cf27e560.js";import{I as Je}from"./icon.3cd9fa27.js";import{c as ot}from"./copy-to-clipboard.a6afb80a.js";import{L as rt}from"./link.7cb1390a.js";import{T as at}from"./table-row.185c48e5.js";import{t as G}from"./translate.0a219ae4.js";import{t as nt,r as ft,b as Z}from"./format-date.79f77cbf.js";import{w as Oe}from"./workflows.915912aa.js";import{v as it,w as ut,x as ct,y as Ue}from"./format-time.650b834b.js";import{e as Qe}from"./workflow-service.14ef2cb6.js";import{d as mt,e as Pe,f as _t,g as ht,h as pt}from"./parse-with-big-int.b38462f3.js";import{g as dt}from"./route-for.d76d8056.js";import{u as wt}from"./update-query-parameters.016c7f2f.js";import{T as bt,a as kt}from"./table-header-row.843c5ee2.js";import{B as Tt}from"./button.ce5dce2f.js";import{I as yt}from"./input.d5248942.js";function Ae(o){let e,s,t,l,r,f,a=o[1]&&Me(o),n=o[2]&&Ke(o);return{c(){e=E("div"),a&&a.c(),s=D(),n&&n.c(),this.h()},l(u){e=I(u,"DIV",{class:!0});var m=S(e);a&&a.l(m),s=F(m),n&&n.l(m),m.forEach(c),this.h()},h(){T(e,"class",t="copy-or-filter "+o[9]+" svelte-1f7279h")},m(u,m){b(u,e,m),a&&a.m(e,null),k(e,s),n&&n.m(e,null),l=!0,r||(f=[j(e,"click",pe(oe(re))),j(e,"keyup",pe(oe(re)))],r=!0)},p(u,m){u[1]?a?(a.p(u,m),m&2&&v(a,1)):(a=Me(u),a.c(),v(a,1),a.m(e,s)):a&&(ve(),q(a,1,1,()=>{a=null}),ge()),u[2]?n?(n.p(u,m),m&4&&v(n,1)):(n=Ke(u),n.c(),v(n,1),n.m(e,null)):n&&(ve(),q(n,1,1,()=>{n=null}),ge()),(!l||m&512&&t!==(t="copy-or-filter "+u[9]+" svelte-1f7279h"))&&T(e,"class",t)},i(u){l||(v(a),v(n),l=!0)},o(u){q(a),q(n),l=!1},d(u){u&&c(e),a&&a.d(),n&&n.d(),r=!1,Ge(f)}}}function Me(o){let e,s=o[5],t,l,r,f=ze(o);return{c(){e=E("button"),f.c(),this.h()},l(a){e=I(a,"BUTTON",{class:!0,id:!0});var n=S(e);f.l(n),n.forEach(c),this.h()},h(){T(e,"class","copy-or-filter-button svelte-1f7279h"),T(e,"id","filter-button"),Be(e,"filtered",o[5])},m(a,n){b(a,e,n),f.m(e,null),t=!0,l||(r=j(e,"click",pe(oe(function(){Xe(o[4])&&o[4].apply(this,arguments)}))),l=!0)},p(a,n){o=a,n&32&&de(s,s=o[5])?(ve(),q(f,1,1,re),ge(),f=ze(o),f.c(),v(f,1),f.m(e,null)):f.p(o,n),(!t||n&32)&&Be(e,"filtered",o[5])},i(a){t||(v(f),t=!0)},o(a){q(f),t=!1},d(a){a&&c(e),f.d(a),l=!1,r()}}}function ze(o){let e,s;return e=new Je({props:{title:o[8],name:"filter"}}),{c(){U(e.$$.fragment)},l(t){Q(e.$$.fragment,t)},m(t,l){A(e,t,l),s=!0},p(t,l){const r={};l&256&&(r.title=t[8]),e.$set(r)},i(t){s||(v(e.$$.fragment,t),s=!0)},o(t){q(e.$$.fragment,t),s=!1},d(t){M(e,t)}}}function Ke(o){let e,s,t,l,r;return s=new Je({props:{title:o[10]?o[7]:o[6],name:o[10]?"checkmark":"copy",stroke:"#000"}}),{c(){e=E("button"),U(s.$$.fragment),this.h()},l(f){e=I(f,"BUTTON",{class:!0,id:!0});var a=S(e);Q(s.$$.fragment,a),a.forEach(c),this.h()},h(){T(e,"class","copy-or-filter-button svelte-1f7279h"),T(e,"id","copy-button")},m(f,a){b(f,e,a),A(s,e,null),t=!0,l||(r=j(e,"click",pe(oe(o[13]))),l=!0)},p(f,a){const n={};a&1216&&(n.title=f[10]?f[7]:f[6]),a&1024&&(n.name=f[10]?"checkmark":"copy"),s.$set(n)},i(f){t||(v(s.$$.fragment,f),t=!0)},o(f){q(s.$$.fragment,f),t=!1},d(f){f&&c(e),M(s),l=!1,r()}}}function vt(o){let e,s,t=o[0]&&Ae(o);return{c(){t&&t.c(),e=Ne()},l(l){t&&t.l(l),e=Ne()},m(l,r){t&&t.m(l,r),b(l,e,r),s=!0},p(l,[r]){l[0]?t?(t.p(l,r),r&1&&v(t,1)):(t=Ae(l),t.c(),v(t,1),t.m(e.parentNode,e)):t&&(ve(),q(t,1,1,()=>{t=null}),ge())},i(l){s||(v(t),s=!0)},o(l){q(t),s=!1},d(l){t&&t.d(l),l&&c(e)}}}function gt(o,e,s){let t,{show:l=!1}=e,{filterable:r=!0}=e,{copyable:f=!0}=e,{content:a}=e,{onFilter:n=re}=e,{filtered:u=!1}=e,{copyIconTitle:m}=e,{copySuccessIconTitle:h}=e,{filterIconTitle:L}=e,{class:d=""}=e;const{copy:P,copied:B}=ot();he(o,B,p=>s(10,t=p));const W=p=>P(p,a);return o.$$set=p=>{"show"in p&&s(0,l=p.show),"filterable"in p&&s(1,r=p.filterable),"copyable"in p&&s(2,f=p.copyable),"content"in p&&s(3,a=p.content),"onFilter"in p&&s(4,n=p.onFilter),"filtered"in p&&s(5,u=p.filtered),"copyIconTitle"in p&&s(6,m=p.copyIconTitle),"copySuccessIconTitle"in p&&s(7,h=p.copySuccessIconTitle),"filterIconTitle"in p&&s(8,L=p.filterIconTitle),"class"in p&&s(9,d=p.class)},[l,r,f,a,n,u,m,h,L,d,t,P,B,W]}class Ve extends Ee{constructor(e){super(),Ie(this,e,gt,vt,de,{show:0,filterable:1,copyable:2,content:3,onFilter:4,filtered:5,copyIconTitle:6,copySuccessIconTitle:7,filterIconTitle:8,class:9})}}const Et=o=>{const e=[],s=()=>{t&&(e.push(t),t="")};let t="",l=0;for(;le=>e.toLowerCase()===o.toLowerCase(),ye=(o,e)=>o[e+2],It=o=>{if(o){for(const e of ct)if(o[e])return{[e]:o[e]}}},St=Se("WorkflowType"),qt=Se("WorkflowId"),Pt=Se("StartTime"),Wt=Se("ExecutionStatus"),Dt=o=>{const e=Et(o),s={workflowId:"",workflowType:"",executionStatus:null,timeRange:null};return e.forEach((t,l)=>{if(qt(t)&&(s.workflowId=ye(e,l)),St(t)&&(s.workflowType=ye(e,l)),Wt(t)){const r=ye(e,l);pt(r)&&(s.executionStatus=r)}if(Pt(t)){const r=ye(e,l);try{const f=it(r),a=It(f);s.timeRange=ut(a)}catch(f){console.error("Error parsing StartTime from query",f)}}}),s};function Ft(o){let e=o[0].id+"",s;return{c(){s=C(e)},l(t){s=H(t,e)},m(t,l){b(t,s,l)},p(t,l){l&1&&e!==(e=t[0].id+"")&&le(s,e)},d(t){t&&c(s)}}}function Ct(o){var De,Fe,Ce;let e,s,t,l,r,f,a,n,u,m=Z(o[0].startTime,o[5],{relative:o[6]})+"",h,L,d,P,B=G("workflows","workflow-name")+"",W,p,_,y,z=o[0].name+"",J,X,g,N,$,O,x=Z(o[0].endTime,o[5],{relative:o[6]})+"",se,we,ee,ae,ne=Z(o[0].startTime,o[5],{relative:o[6]})+"",be,ke,te,fe,ie=Z(o[0].endTime,o[5],{relative:o[6]})+"",Te,K,qe,We;return s=new st({props:{status:o[0].status,delay:Ue(o[0].startTime)}}),r=new rt({props:{$$slots:{default:[Ft]},$$scope:{ctx:o}}}),r.$on("click",o[9]),a=new Ve({props:{copyIconTitle:G("copy-icon-title"),copySuccessIconTitle:G("copy-success-icon-title"),filterIconTitle:G("filter-workflows"),show:o[1],content:o[0].id,filterable:!1}}),N=new Ve({props:{copyIconTitle:G("copy-icon-title"),copySuccessIconTitle:G("copy-success-icon-title"),filterIconTitle:G("filter-workflows"),show:o[1],content:o[0].name,onFilter:o[15],filtered:(Ce=(Fe=(De=o[3].url)==null?void 0:De.searchParams)==null?void 0:Fe.get("query"))==null?void 0:Ce.includes(o[0].name)}}),{c(){e=E("td"),U(s.$$.fragment),t=D(),l=E("td"),U(r.$$.fragment),f=D(),U(a.$$.fragment),n=D(),u=E("p"),h=C(m),L=D(),d=E("td"),P=E("h3"),W=C(B),p=C(":"),_=D(),y=E("button"),J=C(z),g=D(),U(N.$$.fragment),$=D(),O=E("p"),se=C(x),we=D(),ee=E("td"),ae=E("p"),be=C(ne),ke=D(),te=E("td"),fe=E("p"),Te=C(ie),this.h()},l(i){e=I(i,"TD",{});var w=S(e);Q(s.$$.fragment,w),w.forEach(c),t=F(i),l=I(i,"TD",{class:!0});var V=S(l);Q(r.$$.fragment,V),f=F(V),Q(a.$$.fragment,V),n=F(V),u=I(V,"P",{class:!0});var ue=S(u);h=H(ue,m),ue.forEach(c),V.forEach(c),L=F(i),d=I(i,"TD",{class:!0});var R=S(d);P=I(R,"H3",{class:!0});var Y=S(P);W=H(Y,B),p=H(Y,":"),Y.forEach(c),_=F(R),y=I(R,"BUTTON",{class:!0,"aria-label":!0});var ce=S(y);J=H(ce,z),ce.forEach(c),g=F(R),Q(N.$$.fragment,R),$=F(R),O=I(R,"P",{class:!0});var me=S(O);se=H(me,x),me.forEach(c),R.forEach(c),we=F(i),ee=I(i,"TD",{class:!0});var _e=S(ee);ae=I(_e,"P",{});var He=S(ae);be=H(He,ne),He.forEach(c),_e.forEach(c),ke=F(i),te=I(i,"TD",{class:!0});var Le=S(te);fe=I(Le,"P",{});var je=S(fe);Te=H(je,ie),je.forEach(c),Le.forEach(c),this.h()},h(){T(u,"class","inline-time-cell svelte-tyqpjy"),T(l,"class","relative break-words pr-4"),T(P,"class","md:hidden"),T(y,"class","table-link svelte-tyqpjy"),T(y,"aria-label",X=G("workflows","filter-by",{workflowName:o[0].name})),T(O,"class","inline-time-cell svelte-tyqpjy"),T(d,"class","relative truncate"),T(ee,"class","time-cell svelte-tyqpjy"),T(te,"class","time-cell svelte-tyqpjy")},m(i,w){b(i,e,w),A(s,e,null),b(i,t,w),b(i,l,w),A(r,l,null),k(l,f),A(a,l,null),k(l,n),k(l,u),k(u,h),b(i,L,w),b(i,d,w),k(d,P),k(P,W),k(P,p),k(d,_),k(d,y),k(y,J),k(d,g),A(N,d,null),k(d,$),k(d,O),k(O,se),b(i,we,w),b(i,ee,w),k(ee,ae),k(ae,be),b(i,ke,w),b(i,te,w),k(te,fe),k(fe,Te),K=!0,qe||(We=[j(l,"mouseover",o[10]),j(l,"focus",o[11]),j(l,"mouseleave",o[12]),j(l,"blur",o[13]),j(y,"click",pe(oe(o[14]))),j(d,"mouseover",o[16]),j(d,"focus",o[17]),j(d,"mouseleave",o[18]),j(d,"blur",o[19])],qe=!0)},p(i,w){var ce,me,_e;const V={};w&1&&(V.status=i[0].status),w&1&&(V.delay=Ue(i[0].startTime)),s.$set(V);const ue={};w&1048577&&(ue.$$scope={dirty:w,ctx:i}),r.$set(ue);const R={};w&2&&(R.show=i[1]),w&1&&(R.content=i[0].id),a.$set(R),(!K||w&97)&&m!==(m=Z(i[0].startTime,i[5],{relative:i[6]})+"")&&le(h,m),(!K||w&1)&&z!==(z=i[0].name+"")&&le(J,z),(!K||w&1&&X!==(X=G("workflows","filter-by",{workflowName:i[0].name})))&&T(y,"aria-label",X);const Y={};w&2&&(Y.show=i[1]),w&1&&(Y.content=i[0].name),w&1&&(Y.onFilter=i[15]),w&9&&(Y.filtered=(_e=(me=(ce=i[3].url)==null?void 0:ce.searchParams)==null?void 0:me.get("query"))==null?void 0:_e.includes(i[0].name)),N.$set(Y),(!K||w&97)&&x!==(x=Z(i[0].endTime,i[5],{relative:i[6]})+"")&&le(se,x),(!K||w&97)&&ne!==(ne=Z(i[0].startTime,i[5],{relative:i[6]})+"")&&le(be,ne),(!K||w&97)&&ie!==(ie=Z(i[0].endTime,i[5],{relative:i[6]})+"")&&le(Te,ie)},i(i){K||(v(s.$$.fragment,i),v(r.$$.fragment,i),v(a.$$.fragment,i),v(N.$$.fragment,i),K=!0)},o(i){q(s.$$.fragment,i),q(r.$$.fragment,i),q(a.$$.fragment,i),q(N.$$.fragment,i),K=!1},d(i){i&&c(e),M(s),i&&c(t),i&&c(l),M(r),M(a),i&&c(L),i&&c(d),M(N),i&&c(we),i&&c(ee),i&&c(ke),i&&c(te),qe=!1,Ge(We)}}}function Ht(o){let e,s;return e=new at({props:{class:"workflow-summary-row",$$slots:{default:[Ct]},$$scope:{ctx:o}}}),{c(){U(e.$$.fragment)},l(t){Q(e.$$.fragment,t)},m(t,l){A(e,t,l),s=!0},p(t,[l]){const r={};l&1048703&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){s||(v(e.$$.fragment,t),s=!0)},o(t){q(e.$$.fragment,t),s=!1},d(t){M(e,t)}}}function Lt(o,e,s){let t,l,r,f,a;he(o,lt,g=>s(3,l=g)),he(o,Oe,g=>s(4,r=g)),he(o,nt,g=>s(5,f=g)),he(o,ft,g=>s(6,a=g));let{namespace:n}=e,{workflow:u}=e,m=!1;const h=g=>{const N=Qe({timeRange:"All"}),$=l.url.searchParams.get("query"),O=Dt($??N),x=(O==null?void 0:O.workflowType)===g?"":g,se=Qe({...O,workflowType:x});wt({url:l.url,parameter:"query",value:se,allowEmpty:!0})},L=()=>{Ye(Oe,r=l.url.searchParams.toString(),r),tt(t)},d=()=>s(1,m=!0),P=()=>s(1,m=!0),B=()=>s(1,m=!1),W=()=>s(1,m=!1),p=()=>h(u.name),_=()=>h(u.name),y=()=>s(1,m=!0),z=()=>s(1,m=!0),J=()=>s(1,m=!1),X=()=>s(1,m=!1);return o.$$set=g=>{"namespace"in g&&s(8,n=g.namespace),"workflow"in g&&s(0,u=g.workflow)},o.$$.update=()=>{o.$$.dirty&257&&s(2,t=dt({namespace:n,workflow:u.id,run:u.runId}))},[u,m,t,l,r,f,a,h,n,L,d,P,B,W,p,_,y,z,J,X]}class ul extends Ee{constructor(e){super(),Ie(this,e,Lt,Ht,de,{namespace:8,workflow:0})}}function jt(o){let e;const s=o[1].default,t=Ze(s,o,o[2],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,r){t&&t.m(l,r),e=!0},p(l,r){t&&t.p&&(!e||r&4)&&$e(t,s,l,l[2],e?et(s,l[2],r,null):xe(l[2]),null)},i(l){e||(v(t,l),e=!0)},o(l){q(t,l),e=!1},d(l){t&&t.d(l)}}}function Nt(o){let e,s;return{c(){e=E("caption"),s=C("Workflows"),this.h()},l(t){e=I(t,"CAPTION",{class:!0,slot:!0});var l=S(e);s=H(l,"Workflows"),l.forEach(c),this.h()},h(){T(e,"class","sr-only"),T(e,"slot","caption")},m(t,l){b(t,e,l),k(e,s)},p:re,d(t){t&&c(e)}}}function Bt(o){let e,s,t,l,r,f,a,n,u,m,h,L,d,P,B,W,p;return{c(){e=E("th"),s=C("Status"),t=D(),l=E("th"),r=C("Workflow ID"),f=D(),a=E("th"),n=C("Type"),u=D(),m=E("th"),h=C("Start"),L=D(),d=E("th"),P=C("End"),B=D(),W=E("th"),p=C("Summary"),this.h()},l(_){e=I(_,"TH",{class:!0});var y=S(e);s=H(y,"Status"),y.forEach(c),t=F(_),l=I(_,"TH",{class:!0});var z=S(l);r=H(z,"Workflow ID"),z.forEach(c),f=F(_),a=I(_,"TH",{class:!0});var J=S(a);n=H(J,"Type"),J.forEach(c),u=F(_),m=I(_,"TH",{class:!0});var X=S(m);h=H(X,"Start"),X.forEach(c),L=F(_),d=I(_,"TH",{class:!0});var g=S(d);P=H(g,"End"),g.forEach(c),B=F(_),W=I(_,"TH",{class:!0,colspan:!0});var N=S(W);p=H(N,"Summary"),N.forEach(c),this.h()},h(){T(e,"class","w-32 max-md:hidden"),T(l,"class","max-md:hidden md:w-auto"),T(a,"class","w-60 max-md:hidden"),T(m,"class","w-60 max-xl:hidden"),T(d,"class","w-60 max-xl:hidden"),T(W,"class","md:hidden"),T(W,"colspan","3")},m(_,y){b(_,e,y),k(e,s),b(_,t,y),b(_,l,y),k(l,r),b(_,f,y),b(_,a,y),k(a,n),b(_,u,y),b(_,m,y),k(m,h),b(_,L,y),b(_,d,y),k(d,P),b(_,B,y),b(_,W,y),k(W,p)},p:re,d(_){_&&c(e),_&&c(t),_&&c(l),_&&c(f),_&&c(a),_&&c(u),_&&c(m),_&&c(L),_&&c(d),_&&c(B),_&&c(W)}}}function Rt(o){let e,s;return e=new kt({props:{slot:"headers",$$slots:{default:[Bt]},$$scope:{ctx:o}}}),{c(){U(e.$$.fragment)},l(t){Q(e.$$.fragment,t)},m(t,l){A(e,t,l),s=!0},p(t,l){const r={};l&4&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){s||(v(e.$$.fragment,t),s=!0)},o(t){q(e.$$.fragment,t),s=!1},d(t){M(e,t)}}}function Ot(o){let e,s;return e=new bt({props:{class:"w-full md:table-fixed",updating:o[0],"data-testid":"workflows-table",$$slots:{headers:[Rt],caption:[Nt],default:[jt]},$$scope:{ctx:o}}}),{c(){U(e.$$.fragment)},l(t){Q(e.$$.fragment,t)},m(t,l){A(e,t,l),s=!0},p(t,[l]){const r={};l&1&&(r.updating=t[0]),l&4&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){s||(v(e.$$.fragment,t),s=!0)},o(t){q(e.$$.fragment,t),s=!1},d(t){M(e,t)}}}function Ut(o,e,s){let{$$slots:t={},$$scope:l}=e,{updating:r=!1}=e;return o.$$set=f=>{"updating"in f&&s(0,r=f.updating),"$$scope"in f&&s(2,l=f.$$scope)},[r,t,l]}class cl extends Ee{constructor(e){super(),Ie(this,e,Ut,Ot,de,{updating:0})}}function Qt(o){let e;return{c(){e=C(o[2])},l(s){e=H(s,o[2])},m(s,t){b(s,e,t)},p(s,t){t&4&&le(e,s[2])},d(s){s&&c(e)}}}function At(o){let e,s,t,l,r,f,a;return s=new yt({props:{class:"w-full",unroundRight:!0,label:o[2],id:o[5],labelHidden:!0,icon:o[4]?"search":null,type:"search",name:o[3],value:o[1],placeholder:o[0],autocomplete:"off"}}),s.$on("input",o[7]),l=new Tt({props:{borderRadiusModifier:"square-left",type:"submit",$$slots:{default:[Qt]},$$scope:{ctx:o}}}),{c(){e=E("form"),U(s.$$.fragment),t=D(),U(l.$$.fragment),this.h()},l(n){e=I(n,"FORM",{role:!0,class:!0});var u=S(e);Q(s.$$.fragment,u),t=F(u),Q(l.$$.fragment,u),u.forEach(c),this.h()},h(){T(e,"role","search"),T(e,"class","flex items-center")},m(n,u){b(n,e,u),A(s,e,null),k(e,t),A(l,e,null),r=!0,f||(a=j(e,"submit",oe(o[6])),f=!0)},p(n,[u]){const m={};u&4&&(m.label=n[2]),u&32&&(m.id=n[5]),u&16&&(m.icon=n[4]?"search":null),u&8&&(m.name=n[3]),u&2&&(m.value=n[1]),u&1&&(m.placeholder=n[0]),s.$set(m);const h={};u&260&&(h.$$scope={dirty:u,ctx:n}),l.$set(h)},i(n){r||(v(s.$$.fragment,n),v(l.$$.fragment,n),r=!0)},o(n){q(s.$$.fragment,n),q(l.$$.fragment,n),r=!1},d(n){n&&c(e),M(s),M(l),f=!1,a()}}}function Mt(o,e,s){let{placeholder:t=""}=e,{value:l=""}=e,{label:r=G("search")}=e,{name:f="query"}=e,{icon:a=!1}=e,{id:n=`${r.toLocaleUpperCase()}-input`}=e;function u(h){Re.call(this,o,h)}function m(h){Re.call(this,o,h)}return o.$$set=h=>{"placeholder"in h&&s(0,t=h.placeholder),"value"in h&&s(1,l=h.value),"label"in h&&s(2,r=h.label),"name"in h&&s(3,f=h.name),"icon"in h&&s(4,a=h.icon),"id"in h&&s(5,n=h.id)},[t,l,r,f,a,n,u,m]}class ml extends Ee{constructor(e){super(),Ie(this,e,Mt,At,de,{placeholder:0,value:1,label:2,name:3,icon:4,id:5})}}var _l=zt;function zt(o,e,s,t){var l,r,f;return function(){if(f=this,r=Array.prototype.slice.call(arguments),l&&(s||t))return;if(!s)return u(),l=setTimeout(n,e),l;l=setTimeout(u,e),o.apply(f,r);function n(){u(),o.apply(f,r)}function u(){clearTimeout(l),l=null}}}export{Ve as F,ml as S,cl as W,ul as a,Dt as b,_l as j,Et as t}; diff --git a/ui/assets/local/_app/immutable/chunks/index.6463bb02.js b/ui/assets/local/_app/immutable/chunks/index.6463bb02.js deleted file mode 100644 index 8cf5040dc0..0000000000 --- a/ui/assets/local/_app/immutable/chunks/index.6463bb02.js +++ /dev/null @@ -1 +0,0 @@ -import{S as Ee,b as Ie,a as de,e as Ne,f as b,j as v,z as ve,g as q,h as ge,k as c,K as he,m as E,c as D,p as I,q as S,d as F,u as y,L as k,Q as j,$ as pe,ag as oe,n as re,r as Ge,P as Be,i as Xe,C as U,D as Q,E as A,F as M,w as C,x as H,y as le,a5 as Ye,G as Ze,H as $e,I as xe,J as et,V as Re}from"./index.09834243.js";import{g as tt}from"./navigation.8b74a406.js";import{p as lt}from"./stores.9d4a2bb0.js";import{W as st}from"./workflow-status.cf27e560.js";import{I as Je}from"./icon.3cd9fa27.js";import{c as ot}from"./copy-to-clipboard.3607fbc7.js";import{L as rt}from"./link.4944a6a5.js";import{T as at}from"./table-row.185c48e5.js";import{t as G}from"./translate.0a219ae4.js";import{t as nt,r as ft,b as Z}from"./format-date.71526e4c.js";import{w as Oe}from"./workflows.00769fe8.js";import{v as it,w as ut,x as ct,y as Ue}from"./format-time.650b834b.js";import{e as Qe}from"./workflow-service.56e6b262.js";import{d as mt,e as Pe,f as _t,g as ht,h as pt}from"./parse-with-big-int.b38462f3.js";import{g as dt}from"./route-for.3b55a4c6.js";import{u as wt}from"./update-query-parameters.b3356c21.js";import{T as bt,a as kt}from"./table-header-row.843c5ee2.js";import{B as Tt}from"./button.ce5dce2f.js";import{I as yt}from"./input.8b192295.js";function Ae(o){let e,s,t,l,r,f,a=o[1]&&Me(o),n=o[2]&&Ke(o);return{c(){e=E("div"),a&&a.c(),s=D(),n&&n.c(),this.h()},l(u){e=I(u,"DIV",{class:!0});var m=S(e);a&&a.l(m),s=F(m),n&&n.l(m),m.forEach(c),this.h()},h(){y(e,"class",t="copy-or-filter "+o[9]+" svelte-1f7279h")},m(u,m){b(u,e,m),a&&a.m(e,null),k(e,s),n&&n.m(e,null),l=!0,r||(f=[j(e,"click",pe(oe(re))),j(e,"keyup",pe(oe(re)))],r=!0)},p(u,m){u[1]?a?(a.p(u,m),m&2&&v(a,1)):(a=Me(u),a.c(),v(a,1),a.m(e,s)):a&&(ve(),q(a,1,1,()=>{a=null}),ge()),u[2]?n?(n.p(u,m),m&4&&v(n,1)):(n=Ke(u),n.c(),v(n,1),n.m(e,null)):n&&(ve(),q(n,1,1,()=>{n=null}),ge()),(!l||m&512&&t!==(t="copy-or-filter "+u[9]+" svelte-1f7279h"))&&y(e,"class",t)},i(u){l||(v(a),v(n),l=!0)},o(u){q(a),q(n),l=!1},d(u){u&&c(e),a&&a.d(),n&&n.d(),r=!1,Ge(f)}}}function Me(o){let e,s=o[5],t,l,r,f=ze(o);return{c(){e=E("button"),f.c(),this.h()},l(a){e=I(a,"BUTTON",{class:!0});var n=S(e);f.l(n),n.forEach(c),this.h()},h(){y(e,"class","copy-or-filter-button svelte-1f7279h"),Be(e,"filtered",o[5])},m(a,n){b(a,e,n),f.m(e,null),t=!0,l||(r=j(e,"click",pe(oe(function(){Xe(o[4])&&o[4].apply(this,arguments)}))),l=!0)},p(a,n){o=a,n&32&&de(s,s=o[5])?(ve(),q(f,1,1,re),ge(),f=ze(o),f.c(),v(f,1),f.m(e,null)):f.p(o,n),(!t||n&32)&&Be(e,"filtered",o[5])},i(a){t||(v(f),t=!0)},o(a){q(f),t=!1},d(a){a&&c(e),f.d(a),l=!1,r()}}}function ze(o){let e,s;return e=new Je({props:{title:o[8],name:"filter"}}),{c(){U(e.$$.fragment)},l(t){Q(e.$$.fragment,t)},m(t,l){A(e,t,l),s=!0},p(t,l){const r={};l&256&&(r.title=t[8]),e.$set(r)},i(t){s||(v(e.$$.fragment,t),s=!0)},o(t){q(e.$$.fragment,t),s=!1},d(t){M(e,t)}}}function Ke(o){let e,s,t,l,r;return s=new Je({props:{title:o[10]?o[7]:o[6],name:o[10]?"checkmark":"copy",stroke:"#000"}}),{c(){e=E("button"),U(s.$$.fragment),this.h()},l(f){e=I(f,"BUTTON",{class:!0});var a=S(e);Q(s.$$.fragment,a),a.forEach(c),this.h()},h(){y(e,"class","copy-or-filter-button svelte-1f7279h")},m(f,a){b(f,e,a),A(s,e,null),t=!0,l||(r=j(e,"click",pe(oe(o[13]))),l=!0)},p(f,a){const n={};a&1216&&(n.title=f[10]?f[7]:f[6]),a&1024&&(n.name=f[10]?"checkmark":"copy"),s.$set(n)},i(f){t||(v(s.$$.fragment,f),t=!0)},o(f){q(s.$$.fragment,f),t=!1},d(f){f&&c(e),M(s),l=!1,r()}}}function vt(o){let e,s,t=o[0]&&Ae(o);return{c(){t&&t.c(),e=Ne()},l(l){t&&t.l(l),e=Ne()},m(l,r){t&&t.m(l,r),b(l,e,r),s=!0},p(l,[r]){l[0]?t?(t.p(l,r),r&1&&v(t,1)):(t=Ae(l),t.c(),v(t,1),t.m(e.parentNode,e)):t&&(ve(),q(t,1,1,()=>{t=null}),ge())},i(l){s||(v(t),s=!0)},o(l){q(t),s=!1},d(l){t&&t.d(l),l&&c(e)}}}function gt(o,e,s){let t,{show:l=!1}=e,{filterable:r=!0}=e,{copyable:f=!0}=e,{content:a}=e,{onFilter:n=re}=e,{filtered:u=!1}=e,{copyIconTitle:m}=e,{copySuccessIconTitle:h}=e,{filterIconTitle:L}=e,{class:d=""}=e;const{copy:P,copied:B}=ot();he(o,B,p=>s(10,t=p));const W=p=>P(p,a);return o.$$set=p=>{"show"in p&&s(0,l=p.show),"filterable"in p&&s(1,r=p.filterable),"copyable"in p&&s(2,f=p.copyable),"content"in p&&s(3,a=p.content),"onFilter"in p&&s(4,n=p.onFilter),"filtered"in p&&s(5,u=p.filtered),"copyIconTitle"in p&&s(6,m=p.copyIconTitle),"copySuccessIconTitle"in p&&s(7,h=p.copySuccessIconTitle),"filterIconTitle"in p&&s(8,L=p.filterIconTitle),"class"in p&&s(9,d=p.class)},[l,r,f,a,n,u,m,h,L,d,t,P,B,W]}class Ve extends Ee{constructor(e){super(),Ie(this,e,gt,vt,de,{show:0,filterable:1,copyable:2,content:3,onFilter:4,filtered:5,copyIconTitle:6,copySuccessIconTitle:7,filterIconTitle:8,class:9})}}const Et=o=>{const e=[],s=()=>{t&&(e.push(t),t="")};let t="",l=0;for(;le=>e.toLowerCase()===o.toLowerCase(),ye=(o,e)=>o[e+2],It=o=>{if(o){for(const e of ct)if(o[e])return{[e]:o[e]}}},St=Se("WorkflowType"),qt=Se("WorkflowId"),Pt=Se("StartTime"),Wt=Se("ExecutionStatus"),Dt=o=>{const e=Et(o),s={workflowId:"",workflowType:"",executionStatus:null,timeRange:null};return e.forEach((t,l)=>{if(qt(t)&&(s.workflowId=ye(e,l)),St(t)&&(s.workflowType=ye(e,l)),Wt(t)){const r=ye(e,l);pt(r)&&(s.executionStatus=r)}if(Pt(t)){const r=ye(e,l);try{const f=it(r),a=It(f);s.timeRange=ut(a)}catch(f){console.error("Error parsing StartTime from query",f)}}}),s};function Ft(o){let e=o[0].id+"",s;return{c(){s=C(e)},l(t){s=H(t,e)},m(t,l){b(t,s,l)},p(t,l){l&1&&e!==(e=t[0].id+"")&&le(s,e)},d(t){t&&c(s)}}}function Ct(o){var De,Fe,Ce;let e,s,t,l,r,f,a,n,u,m=Z(o[0].startTime,o[5],{relative:o[6]})+"",h,L,d,P,B=G("workflows","workflow-name")+"",W,p,_,T,z=o[0].name+"",J,X,g,N,$,O,x=Z(o[0].endTime,o[5],{relative:o[6]})+"",se,we,ee,ae,ne=Z(o[0].startTime,o[5],{relative:o[6]})+"",be,ke,te,fe,ie=Z(o[0].endTime,o[5],{relative:o[6]})+"",Te,K,qe,We;return s=new st({props:{status:o[0].status,delay:Ue(o[0].startTime)}}),r=new rt({props:{$$slots:{default:[Ft]},$$scope:{ctx:o}}}),r.$on("click",o[9]),a=new Ve({props:{copyIconTitle:G("copy-icon-title"),copySuccessIconTitle:G("copy-success-icon-title"),filterIconTitle:G("filter-workflows"),show:o[1],content:o[0].id,filterable:!1}}),N=new Ve({props:{copyIconTitle:G("copy-icon-title"),copySuccessIconTitle:G("copy-success-icon-title"),filterIconTitle:G("filter-workflows"),show:o[1],content:o[0].name,onFilter:o[15],filtered:(Ce=(Fe=(De=o[3].url)==null?void 0:De.searchParams)==null?void 0:Fe.get("query"))==null?void 0:Ce.includes(o[0].name)}}),{c(){e=E("td"),U(s.$$.fragment),t=D(),l=E("td"),U(r.$$.fragment),f=D(),U(a.$$.fragment),n=D(),u=E("p"),h=C(m),L=D(),d=E("td"),P=E("h3"),W=C(B),p=C(":"),_=D(),T=E("button"),J=C(z),g=D(),U(N.$$.fragment),$=D(),O=E("p"),se=C(x),we=D(),ee=E("td"),ae=E("p"),be=C(ne),ke=D(),te=E("td"),fe=E("p"),Te=C(ie),this.h()},l(i){e=I(i,"TD",{});var w=S(e);Q(s.$$.fragment,w),w.forEach(c),t=F(i),l=I(i,"TD",{class:!0});var V=S(l);Q(r.$$.fragment,V),f=F(V),Q(a.$$.fragment,V),n=F(V),u=I(V,"P",{class:!0});var ue=S(u);h=H(ue,m),ue.forEach(c),V.forEach(c),L=F(i),d=I(i,"TD",{class:!0});var R=S(d);P=I(R,"H3",{class:!0});var Y=S(P);W=H(Y,B),p=H(Y,":"),Y.forEach(c),_=F(R),T=I(R,"BUTTON",{class:!0,"aria-label":!0});var ce=S(T);J=H(ce,z),ce.forEach(c),g=F(R),Q(N.$$.fragment,R),$=F(R),O=I(R,"P",{class:!0});var me=S(O);se=H(me,x),me.forEach(c),R.forEach(c),we=F(i),ee=I(i,"TD",{class:!0});var _e=S(ee);ae=I(_e,"P",{});var He=S(ae);be=H(He,ne),He.forEach(c),_e.forEach(c),ke=F(i),te=I(i,"TD",{class:!0});var Le=S(te);fe=I(Le,"P",{});var je=S(fe);Te=H(je,ie),je.forEach(c),Le.forEach(c),this.h()},h(){y(u,"class","inline-time-cell svelte-tyqpjy"),y(l,"class","relative break-words pr-4"),y(P,"class","md:hidden"),y(T,"class","table-link svelte-tyqpjy"),y(T,"aria-label",X=G("workflows","filter-by",{workflowName:o[0].name})),y(O,"class","inline-time-cell svelte-tyqpjy"),y(d,"class","relative truncate"),y(ee,"class","time-cell svelte-tyqpjy"),y(te,"class","time-cell svelte-tyqpjy")},m(i,w){b(i,e,w),A(s,e,null),b(i,t,w),b(i,l,w),A(r,l,null),k(l,f),A(a,l,null),k(l,n),k(l,u),k(u,h),b(i,L,w),b(i,d,w),k(d,P),k(P,W),k(P,p),k(d,_),k(d,T),k(T,J),k(d,g),A(N,d,null),k(d,$),k(d,O),k(O,se),b(i,we,w),b(i,ee,w),k(ee,ae),k(ae,be),b(i,ke,w),b(i,te,w),k(te,fe),k(fe,Te),K=!0,qe||(We=[j(l,"mouseover",o[10]),j(l,"focus",o[11]),j(l,"mouseleave",o[12]),j(l,"blur",o[13]),j(T,"click",pe(oe(o[14]))),j(d,"mouseover",o[16]),j(d,"focus",o[17]),j(d,"mouseleave",o[18]),j(d,"blur",o[19])],qe=!0)},p(i,w){var ce,me,_e;const V={};w&1&&(V.status=i[0].status),w&1&&(V.delay=Ue(i[0].startTime)),s.$set(V);const ue={};w&1048577&&(ue.$$scope={dirty:w,ctx:i}),r.$set(ue);const R={};w&2&&(R.show=i[1]),w&1&&(R.content=i[0].id),a.$set(R),(!K||w&97)&&m!==(m=Z(i[0].startTime,i[5],{relative:i[6]})+"")&&le(h,m),(!K||w&1)&&z!==(z=i[0].name+"")&&le(J,z),(!K||w&1&&X!==(X=G("workflows","filter-by",{workflowName:i[0].name})))&&y(T,"aria-label",X);const Y={};w&2&&(Y.show=i[1]),w&1&&(Y.content=i[0].name),w&1&&(Y.onFilter=i[15]),w&9&&(Y.filtered=(_e=(me=(ce=i[3].url)==null?void 0:ce.searchParams)==null?void 0:me.get("query"))==null?void 0:_e.includes(i[0].name)),N.$set(Y),(!K||w&97)&&x!==(x=Z(i[0].endTime,i[5],{relative:i[6]})+"")&&le(se,x),(!K||w&97)&&ne!==(ne=Z(i[0].startTime,i[5],{relative:i[6]})+"")&&le(be,ne),(!K||w&97)&&ie!==(ie=Z(i[0].endTime,i[5],{relative:i[6]})+"")&&le(Te,ie)},i(i){K||(v(s.$$.fragment,i),v(r.$$.fragment,i),v(a.$$.fragment,i),v(N.$$.fragment,i),K=!0)},o(i){q(s.$$.fragment,i),q(r.$$.fragment,i),q(a.$$.fragment,i),q(N.$$.fragment,i),K=!1},d(i){i&&c(e),M(s),i&&c(t),i&&c(l),M(r),M(a),i&&c(L),i&&c(d),M(N),i&&c(we),i&&c(ee),i&&c(ke),i&&c(te),qe=!1,Ge(We)}}}function Ht(o){let e,s;return e=new at({props:{class:"workflow-summary-row",$$slots:{default:[Ct]},$$scope:{ctx:o}}}),{c(){U(e.$$.fragment)},l(t){Q(e.$$.fragment,t)},m(t,l){A(e,t,l),s=!0},p(t,[l]){const r={};l&1048703&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){s||(v(e.$$.fragment,t),s=!0)},o(t){q(e.$$.fragment,t),s=!1},d(t){M(e,t)}}}function Lt(o,e,s){let t,l,r,f,a;he(o,lt,g=>s(3,l=g)),he(o,Oe,g=>s(4,r=g)),he(o,nt,g=>s(5,f=g)),he(o,ft,g=>s(6,a=g));let{namespace:n}=e,{workflow:u}=e,m=!1;const h=g=>{const N=Qe({timeRange:"All"}),$=l.url.searchParams.get("query"),O=Dt($??N),x=(O==null?void 0:O.workflowType)===g?"":g,se=Qe({...O,workflowType:x});wt({url:l.url,parameter:"query",value:se,allowEmpty:!0})},L=()=>{Ye(Oe,r=l.url.searchParams.toString(),r),tt(t)},d=()=>s(1,m=!0),P=()=>s(1,m=!0),B=()=>s(1,m=!1),W=()=>s(1,m=!1),p=()=>h(u.name),_=()=>h(u.name),T=()=>s(1,m=!0),z=()=>s(1,m=!0),J=()=>s(1,m=!1),X=()=>s(1,m=!1);return o.$$set=g=>{"namespace"in g&&s(8,n=g.namespace),"workflow"in g&&s(0,u=g.workflow)},o.$$.update=()=>{o.$$.dirty&257&&s(2,t=dt({namespace:n,workflow:u.id,run:u.runId}))},[u,m,t,l,r,f,a,h,n,L,d,P,B,W,p,_,T,z,J,X]}class ul extends Ee{constructor(e){super(),Ie(this,e,Lt,Ht,de,{namespace:8,workflow:0})}}function jt(o){let e;const s=o[1].default,t=Ze(s,o,o[2],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,r){t&&t.m(l,r),e=!0},p(l,r){t&&t.p&&(!e||r&4)&&$e(t,s,l,l[2],e?et(s,l[2],r,null):xe(l[2]),null)},i(l){e||(v(t,l),e=!0)},o(l){q(t,l),e=!1},d(l){t&&t.d(l)}}}function Nt(o){let e,s;return{c(){e=E("caption"),s=C("Workflows"),this.h()},l(t){e=I(t,"CAPTION",{class:!0,slot:!0});var l=S(e);s=H(l,"Workflows"),l.forEach(c),this.h()},h(){y(e,"class","sr-only"),y(e,"slot","caption")},m(t,l){b(t,e,l),k(e,s)},p:re,d(t){t&&c(e)}}}function Bt(o){let e,s,t,l,r,f,a,n,u,m,h,L,d,P,B,W,p;return{c(){e=E("th"),s=C("Status"),t=D(),l=E("th"),r=C("Workflow ID"),f=D(),a=E("th"),n=C("Type"),u=D(),m=E("th"),h=C("Start"),L=D(),d=E("th"),P=C("End"),B=D(),W=E("th"),p=C("Summary"),this.h()},l(_){e=I(_,"TH",{class:!0});var T=S(e);s=H(T,"Status"),T.forEach(c),t=F(_),l=I(_,"TH",{class:!0});var z=S(l);r=H(z,"Workflow ID"),z.forEach(c),f=F(_),a=I(_,"TH",{class:!0});var J=S(a);n=H(J,"Type"),J.forEach(c),u=F(_),m=I(_,"TH",{class:!0});var X=S(m);h=H(X,"Start"),X.forEach(c),L=F(_),d=I(_,"TH",{class:!0});var g=S(d);P=H(g,"End"),g.forEach(c),B=F(_),W=I(_,"TH",{class:!0,colspan:!0});var N=S(W);p=H(N,"Summary"),N.forEach(c),this.h()},h(){y(e,"class","w-32 max-md:hidden"),y(l,"class","max-md:hidden md:w-auto"),y(a,"class","w-60 max-md:hidden"),y(m,"class","w-60 max-xl:hidden"),y(d,"class","w-60 max-xl:hidden"),y(W,"class","md:hidden"),y(W,"colspan","3")},m(_,T){b(_,e,T),k(e,s),b(_,t,T),b(_,l,T),k(l,r),b(_,f,T),b(_,a,T),k(a,n),b(_,u,T),b(_,m,T),k(m,h),b(_,L,T),b(_,d,T),k(d,P),b(_,B,T),b(_,W,T),k(W,p)},p:re,d(_){_&&c(e),_&&c(t),_&&c(l),_&&c(f),_&&c(a),_&&c(u),_&&c(m),_&&c(L),_&&c(d),_&&c(B),_&&c(W)}}}function Rt(o){let e,s;return e=new kt({props:{slot:"headers",$$slots:{default:[Bt]},$$scope:{ctx:o}}}),{c(){U(e.$$.fragment)},l(t){Q(e.$$.fragment,t)},m(t,l){A(e,t,l),s=!0},p(t,l){const r={};l&4&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){s||(v(e.$$.fragment,t),s=!0)},o(t){q(e.$$.fragment,t),s=!1},d(t){M(e,t)}}}function Ot(o){let e,s;return e=new bt({props:{class:"w-full md:table-fixed",updating:o[0],"data-testid":"workflows-table",$$slots:{headers:[Rt],caption:[Nt],default:[jt]},$$scope:{ctx:o}}}),{c(){U(e.$$.fragment)},l(t){Q(e.$$.fragment,t)},m(t,l){A(e,t,l),s=!0},p(t,[l]){const r={};l&1&&(r.updating=t[0]),l&4&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){s||(v(e.$$.fragment,t),s=!0)},o(t){q(e.$$.fragment,t),s=!1},d(t){M(e,t)}}}function Ut(o,e,s){let{$$slots:t={},$$scope:l}=e,{updating:r=!1}=e;return o.$$set=f=>{"updating"in f&&s(0,r=f.updating),"$$scope"in f&&s(2,l=f.$$scope)},[r,t,l]}class cl extends Ee{constructor(e){super(),Ie(this,e,Ut,Ot,de,{updating:0})}}function Qt(o){let e;return{c(){e=C(o[2])},l(s){e=H(s,o[2])},m(s,t){b(s,e,t)},p(s,t){t&4&&le(e,s[2])},d(s){s&&c(e)}}}function At(o){let e,s,t,l,r,f,a;return s=new yt({props:{class:"w-full",unroundRight:!0,label:o[2],id:o[5],labelHidden:!0,icon:o[4]?"search":null,type:"search",name:o[3],value:o[1],placeholder:o[0],autocomplete:"off"}}),s.$on("input",o[7]),l=new Tt({props:{borderRadiusModifier:"square-left",type:"submit",$$slots:{default:[Qt]},$$scope:{ctx:o}}}),{c(){e=E("form"),U(s.$$.fragment),t=D(),U(l.$$.fragment),this.h()},l(n){e=I(n,"FORM",{role:!0,class:!0});var u=S(e);Q(s.$$.fragment,u),t=F(u),Q(l.$$.fragment,u),u.forEach(c),this.h()},h(){y(e,"role","search"),y(e,"class","flex items-center")},m(n,u){b(n,e,u),A(s,e,null),k(e,t),A(l,e,null),r=!0,f||(a=j(e,"submit",oe(o[6])),f=!0)},p(n,[u]){const m={};u&4&&(m.label=n[2]),u&32&&(m.id=n[5]),u&16&&(m.icon=n[4]?"search":null),u&8&&(m.name=n[3]),u&2&&(m.value=n[1]),u&1&&(m.placeholder=n[0]),s.$set(m);const h={};u&260&&(h.$$scope={dirty:u,ctx:n}),l.$set(h)},i(n){r||(v(s.$$.fragment,n),v(l.$$.fragment,n),r=!0)},o(n){q(s.$$.fragment,n),q(l.$$.fragment,n),r=!1},d(n){n&&c(e),M(s),M(l),f=!1,a()}}}function Mt(o,e,s){let{placeholder:t=""}=e,{value:l=""}=e,{label:r=G("search")}=e,{name:f="query"}=e,{icon:a=!1}=e,{id:n=`${r.toLocaleUpperCase()}-input`}=e;function u(h){Re.call(this,o,h)}function m(h){Re.call(this,o,h)}return o.$$set=h=>{"placeholder"in h&&s(0,t=h.placeholder),"value"in h&&s(1,l=h.value),"label"in h&&s(2,r=h.label),"name"in h&&s(3,f=h.name),"icon"in h&&s(4,a=h.icon),"id"in h&&s(5,n=h.id)},[t,l,r,f,a,n,u,m]}class ml extends Ee{constructor(e){super(),Ie(this,e,Mt,At,de,{placeholder:0,value:1,label:2,name:3,icon:4,id:5})}}var _l=zt;function zt(o,e,s,t){var l,r,f;return function(){if(f=this,r=Array.prototype.slice.call(arguments),l&&(s||t))return;if(!s)return u(),l=setTimeout(n,e),l;l=setTimeout(u,e),o.apply(f,r);function n(){u(),o.apply(f,r)}function u(){clearTimeout(l),l=null}}}export{Ve as F,ml as S,cl as W,ul as a,Dt as b,_l as j,Et as t}; diff --git a/ui/assets/local/_app/immutable/chunks/index.fcfd418a.js b/ui/assets/local/_app/immutable/chunks/index.a9a075c8.js similarity index 98% rename from ui/assets/local/_app/immutable/chunks/index.fcfd418a.js rename to ui/assets/local/_app/immutable/chunks/index.a9a075c8.js index 54a9020492..e9a0eb0e6a 100644 --- a/ui/assets/local/_app/immutable/chunks/index.fcfd418a.js +++ b/ui/assets/local/_app/immutable/chunks/index.a9a075c8.js @@ -1 +1 @@ -import{S as Q,b as V,a as M,e as C,f as k,z as R,g,h as W,j as v,k as m,ah as X,K as Y,N as A,U as E,G as N,m as T,c as B,C as P,p as I,q as y,d as q,D,u as h,L as S,E as O,H as U,I as j,J as z,F,Q as Z,w as G,x as H,P as d,y as J}from"./index.09834243.js";import{c as w}from"./copy-to-clipboard.3607fbc7.js";import{B as K}from"./button.27a19883.js";function $(s){let e,o,t,a,l;const u=s[11].default,p=N(u,s,s[10],null),c=p||ee(s);return t=new K({props:{copyIconTitle:s[3],copySuccessIconTitle:s[4],class:s[1]?"visible":"invisible group-hover:visible",copied:s[5]}}),t.$on("click",s[7]),{c(){e=T("div"),c&&c.c(),o=B(),P(t.$$.fragment),this.h()},l(n){e=I(n,"DIV",{class:!0});var i=y(e);c&&c.l(i),o=q(i),D(t.$$.fragment,i),i.forEach(m),this.h()},h(){h(e,"class",a="group flex items-center gap-1 "+s[8]["container-class"])},m(n,i){k(n,e,i),c&&c.m(e,null),S(e,o),O(t,e,null),l=!0},p(n,i){p?p.p&&(!l||i&1024)&&U(p,u,n,n[10],l?z(u,n[10],i,null):j(n[10]),null):c&&c.p&&(!l||i&769)&&c.p(n,l?i:-1);const f={};i&8&&(f.copyIconTitle=n[3]),i&16&&(f.copySuccessIconTitle=n[4]),i&2&&(f.class=n[1]?"visible":"invisible group-hover:visible"),i&32&&(f.copied=n[5]),t.$set(f),(!l||i&256&&a!==(a="group flex items-center gap-1 "+n[8]["container-class"]))&&h(e,"class",a)},i(n){l||(v(c,n),v(t.$$.fragment,n),l=!0)},o(n){g(c,n),g(t.$$.fragment,n),l=!1},d(n){n&&m(e),c&&c.d(n),F(t)}}}function x(s){let e,o,t,a,l,u,p;const c=s[11].default,n=N(c,s,s[10],null),i=n||le(s);return t=new K({props:{copyIconTitle:s[3],copySuccessIconTitle:s[4],class:s[1]?"visible":"invisible group-hover:visible",copied:s[5]}}),t.$on("click",s[7]),{c(){e=T("button"),i&&i.c(),o=B(),P(t.$$.fragment),this.h()},l(f){e=I(f,"BUTTON",{class:!0});var r=y(e);i&&i.l(r),o=q(r),D(t.$$.fragment,r),r.forEach(m),this.h()},h(){h(e,"class",a="group flex items-center gap-1 "+s[8]["container-class"])},m(f,r){k(f,e,r),i&&i.m(e,null),S(e,o),O(t,e,null),l=!0,u||(p=Z(e,"click",s[7]),u=!0)},p(f,r){n?n.p&&(!l||r&1024)&&U(n,c,f,f[10],l?z(c,f[10],r,null):j(f[10]),null):i&&i.p&&(!l||r&769)&&i.p(f,l?r:-1);const b={};r&8&&(b.copyIconTitle=f[3]),r&16&&(b.copySuccessIconTitle=f[4]),r&2&&(b.class=f[1]?"visible":"invisible group-hover:visible"),r&32&&(b.copied=f[5]),t.$set(b),(!l||r&256&&a!==(a="group flex items-center gap-1 "+f[8]["container-class"]))&&h(e,"class",a)},i(f){l||(v(i,f),v(t.$$.fragment,f),l=!0)},o(f){g(i,f),g(t.$$.fragment,f),l=!1},d(f){f&&m(e),i&&i.d(f),F(t),u=!1,p()}}}function ee(s){let e,o,t;return{c(){e=T("span"),o=G(s[0]),this.h()},l(a){e=I(a,"SPAN",{class:!0});var l=y(e);o=H(l,s[0]),l.forEach(m),this.h()},h(){h(e,"class",t=s[8].class),d(e,"select-all",!s[9].default)},m(a,l){k(a,e,l),S(e,o)},p(a,l){l&1&&J(o,a[0]),l&256&&t!==(t=a[8].class)&&h(e,"class",t),l&768&&d(e,"select-all",!a[9].default)},d(a){a&&m(e)}}}function le(s){let e,o,t;return{c(){e=T("span"),o=G(s[0]),this.h()},l(a){e=I(a,"SPAN",{class:!0});var l=y(e);o=H(l,s[0]),l.forEach(m),this.h()},h(){h(e,"class",t=s[8].class),d(e,"select-all",!s[9].default)},m(a,l){k(a,e,l),S(e,o)},p(a,l){l&1&&J(o,a[0]),l&256&&t!==(t=a[8].class)&&h(e,"class",t),l&768&&d(e,"select-all",!a[9].default)},d(a){a&&m(e)}}}function se(s){let e,o,t,a;const l=[x,$],u=[];function p(c,n){return c[2]?0:1}return e=p(s),o=u[e]=l[e](s),{c(){o.c(),t=C()},l(c){o.l(c),t=C()},m(c,n){u[e].m(c,n),k(c,t,n),a=!0},p(c,[n]){let i=e;e=p(c),e===i?u[e].p(c,n):(R(),g(u[i],1,1,()=>{u[i]=null}),W(),o=u[e],o?o.p(c,n):(o=u[e]=l[e](c),o.c()),v(o,1),o.m(t.parentNode,t))},i(c){a||(v(o),a=!0)},o(c){g(o),a=!1},d(c){u[e].d(c),c&&m(t)}}}function oe(s,e,o){let t,{$$slots:a={},$$scope:l}=e;const u=X(a);let{content:p}=e,{visible:c=!1}=e,{clickAllToCopy:n=!1}=e,{copyIconTitle:i}=e,{copySuccessIconTitle:f}=e;const{copy:r,copied:b}=w();Y(s,b,_=>o(5,t=_));function L(_){r(_,p)}return s.$$set=_=>{o(8,e=A(A({},e),E(_))),"content"in _&&o(0,p=_.content),"visible"in _&&o(1,c=_.visible),"clickAllToCopy"in _&&o(2,n=_.clickAllToCopy),"copyIconTitle"in _&&o(3,i=_.copyIconTitle),"copySuccessIconTitle"in _&&o(4,f=_.copySuccessIconTitle),"$$scope"in _&&o(10,l=_.$$scope)},e=E(e),[p,c,n,i,f,t,b,L,e,u,l,a]}class ce extends Q{constructor(e){super(),V(this,e,oe,se,M,{content:0,visible:1,clickAllToCopy:2,copyIconTitle:3,copySuccessIconTitle:4})}}export{ce as C}; +import{S as Q,b as V,a as M,e as C,f as k,z as R,g,h as W,j as v,k as m,ah as X,K as Y,N as A,U as E,G as N,m as T,c as B,C as P,p as I,q as y,d as q,D,u as h,L as S,E as O,H as U,I as j,J as z,F,Q as Z,w as G,x as H,P as d,y as J}from"./index.09834243.js";import{c as w}from"./copy-to-clipboard.a6afb80a.js";import{B as K}from"./button.27a19883.js";function $(s){let e,o,t,a,l;const u=s[11].default,p=N(u,s,s[10],null),c=p||ee(s);return t=new K({props:{copyIconTitle:s[3],copySuccessIconTitle:s[4],class:s[1]?"visible":"invisible group-hover:visible",copied:s[5]}}),t.$on("click",s[7]),{c(){e=T("div"),c&&c.c(),o=B(),P(t.$$.fragment),this.h()},l(n){e=I(n,"DIV",{class:!0});var i=y(e);c&&c.l(i),o=q(i),D(t.$$.fragment,i),i.forEach(m),this.h()},h(){h(e,"class",a="group flex items-center gap-1 "+s[8]["container-class"])},m(n,i){k(n,e,i),c&&c.m(e,null),S(e,o),O(t,e,null),l=!0},p(n,i){p?p.p&&(!l||i&1024)&&U(p,u,n,n[10],l?z(u,n[10],i,null):j(n[10]),null):c&&c.p&&(!l||i&769)&&c.p(n,l?i:-1);const f={};i&8&&(f.copyIconTitle=n[3]),i&16&&(f.copySuccessIconTitle=n[4]),i&2&&(f.class=n[1]?"visible":"invisible group-hover:visible"),i&32&&(f.copied=n[5]),t.$set(f),(!l||i&256&&a!==(a="group flex items-center gap-1 "+n[8]["container-class"]))&&h(e,"class",a)},i(n){l||(v(c,n),v(t.$$.fragment,n),l=!0)},o(n){g(c,n),g(t.$$.fragment,n),l=!1},d(n){n&&m(e),c&&c.d(n),F(t)}}}function x(s){let e,o,t,a,l,u,p;const c=s[11].default,n=N(c,s,s[10],null),i=n||le(s);return t=new K({props:{copyIconTitle:s[3],copySuccessIconTitle:s[4],class:s[1]?"visible":"invisible group-hover:visible",copied:s[5]}}),t.$on("click",s[7]),{c(){e=T("button"),i&&i.c(),o=B(),P(t.$$.fragment),this.h()},l(f){e=I(f,"BUTTON",{class:!0});var r=y(e);i&&i.l(r),o=q(r),D(t.$$.fragment,r),r.forEach(m),this.h()},h(){h(e,"class",a="group flex items-center gap-1 "+s[8]["container-class"])},m(f,r){k(f,e,r),i&&i.m(e,null),S(e,o),O(t,e,null),l=!0,u||(p=Z(e,"click",s[7]),u=!0)},p(f,r){n?n.p&&(!l||r&1024)&&U(n,c,f,f[10],l?z(c,f[10],r,null):j(f[10]),null):i&&i.p&&(!l||r&769)&&i.p(f,l?r:-1);const b={};r&8&&(b.copyIconTitle=f[3]),r&16&&(b.copySuccessIconTitle=f[4]),r&2&&(b.class=f[1]?"visible":"invisible group-hover:visible"),r&32&&(b.copied=f[5]),t.$set(b),(!l||r&256&&a!==(a="group flex items-center gap-1 "+f[8]["container-class"]))&&h(e,"class",a)},i(f){l||(v(i,f),v(t.$$.fragment,f),l=!0)},o(f){g(i,f),g(t.$$.fragment,f),l=!1},d(f){f&&m(e),i&&i.d(f),F(t),u=!1,p()}}}function ee(s){let e,o,t;return{c(){e=T("span"),o=G(s[0]),this.h()},l(a){e=I(a,"SPAN",{class:!0});var l=y(e);o=H(l,s[0]),l.forEach(m),this.h()},h(){h(e,"class",t=s[8].class),d(e,"select-all",!s[9].default)},m(a,l){k(a,e,l),S(e,o)},p(a,l){l&1&&J(o,a[0]),l&256&&t!==(t=a[8].class)&&h(e,"class",t),l&768&&d(e,"select-all",!a[9].default)},d(a){a&&m(e)}}}function le(s){let e,o,t;return{c(){e=T("span"),o=G(s[0]),this.h()},l(a){e=I(a,"SPAN",{class:!0});var l=y(e);o=H(l,s[0]),l.forEach(m),this.h()},h(){h(e,"class",t=s[8].class),d(e,"select-all",!s[9].default)},m(a,l){k(a,e,l),S(e,o)},p(a,l){l&1&&J(o,a[0]),l&256&&t!==(t=a[8].class)&&h(e,"class",t),l&768&&d(e,"select-all",!a[9].default)},d(a){a&&m(e)}}}function se(s){let e,o,t,a;const l=[x,$],u=[];function p(c,n){return c[2]?0:1}return e=p(s),o=u[e]=l[e](s),{c(){o.c(),t=C()},l(c){o.l(c),t=C()},m(c,n){u[e].m(c,n),k(c,t,n),a=!0},p(c,[n]){let i=e;e=p(c),e===i?u[e].p(c,n):(R(),g(u[i],1,1,()=>{u[i]=null}),W(),o=u[e],o?o.p(c,n):(o=u[e]=l[e](c),o.c()),v(o,1),o.m(t.parentNode,t))},i(c){a||(v(o),a=!0)},o(c){g(o),a=!1},d(c){u[e].d(c),c&&m(t)}}}function oe(s,e,o){let t,{$$slots:a={},$$scope:l}=e;const u=X(a);let{content:p}=e,{visible:c=!1}=e,{clickAllToCopy:n=!1}=e,{copyIconTitle:i}=e,{copySuccessIconTitle:f}=e;const{copy:r,copied:b}=w();Y(s,b,_=>o(5,t=_));function L(_){r(_,p)}return s.$$set=_=>{o(8,e=A(A({},e),E(_))),"content"in _&&o(0,p=_.content),"visible"in _&&o(1,c=_.visible),"clickAllToCopy"in _&&o(2,n=_.clickAllToCopy),"copyIconTitle"in _&&o(3,i=_.copyIconTitle),"copySuccessIconTitle"in _&&o(4,f=_.copySuccessIconTitle),"$$scope"in _&&o(10,l=_.$$scope)},e=E(e),[p,c,n,i,f,t,b,L,e,u,l,a]}class ce extends Q{constructor(e){super(),V(this,e,oe,se,M,{content:0,visible:1,clickAllToCopy:2,copyIconTitle:3,copySuccessIconTitle:4})}}export{ce as C}; diff --git a/ui/assets/local/_app/immutable/chunks/input.8b192295.js b/ui/assets/local/_app/immutable/chunks/input.d5248942.js similarity index 99% rename from ui/assets/local/_app/immutable/chunks/input.8b192295.js rename to ui/assets/local/_app/immutable/chunks/input.d5248942.js index 5e042a7abc..9a5f1c2a42 100644 --- a/ui/assets/local/_app/immutable/chunks/input.8b192295.js +++ b/ui/assets/local/_app/immutable/chunks/input.d5248942.js @@ -1 +1 @@ -import{S as Re,b as Te,a as Fe,N as te,m as q,w as X,c as G,p as D,q as T,x as Y,k as L,d as J,u as k,P as c,O as ue,Z as se,f as O,L as E,_ as oe,Q as M,$ as fe,a2 as Ne,y as $,j as N,z as re,g as A,h as ce,R as Pe,r as Ve,T as he,M as Se,K as Ae,U as He,C as ee,D as le,E as ae,F as ne,V as W,n as Ce}from"./index.09834243.js";import{I as _e}from"./icon.3cd9fa27.js";import{c as je}from"./copy-to-clipboard.3607fbc7.js";import{I as ge}from"./icon-button.b5ab850e.js";function de(a){let l,e,f;return e=new _e({props:{name:a[5]}}),{c(){l=q("span"),ee(e.$$.fragment),this.h()},l(i){l=D(i,"SPAN",{class:!0});var u=T(l);le(e.$$.fragment,u),u.forEach(L),this.h()},h(){k(l,"class","icon-container svelte-17wusc4")},m(i,u){O(i,l,u),ae(e,l,null),f=!0},p(i,u){const h={};u[0]&32&&(h.name=i[5]),e.$set(h)},i(i){f||(N(e.$$.fragment,i),f=!0)},o(i){A(e.$$.fragment,i),f=!1},d(i){i&&L(l),ne(e)}}}function me(a){let l,e;return{c(){l=q("div"),e=X(a[7]),this.h()},l(f){l=D(f,"DIV",{class:!0});var i=T(l);e=Y(i,a[7]),i.forEach(L),this.h()},h(){k(l,"class","suffix svelte-17wusc4")},m(f,i){O(f,l,i),E(l,e)},p(f,i){i[0]&128&&$(e,f[7])},d(f){f&&L(l)}}}function Ue(a){let l,e,f;return e=new ge({props:{label:a[23],icon:"close"}}),e.$on("click",a[27]),{c(){l=q("div"),ee(e.$$.fragment),this.h()},l(i){l=D(i,"DIV",{class:!0,"data-testid":!0});var u=T(l);le(e.$$.fragment,u),u.forEach(L),this.h()},h(){k(l,"class","clear-icon-container svelte-17wusc4"),k(l,"data-testid","clear-input")},m(i,u){O(i,l,u),ae(e,l,null),f=!0},p(i,u){const h={};u[0]&8388608&&(h.label=i[23]),e.$set(h)},i(i){f||(N(e.$$.fragment,i),f=!0)},o(i){A(e.$$.fragment,i),f=!1},d(i){i&&L(l),ne(e)}}}function ze(a){let l,e,f;return e=new _e({props:{name:"lock"}}),{c(){l=q("div"),ee(e.$$.fragment),this.h()},l(i){l=D(i,"DIV",{class:!0});var u=T(l);le(e.$$.fragment,u),u.forEach(L),this.h()},h(){k(l,"class","flex h-full w-9 items-center justify-center")},m(i,u){O(i,l,u),ae(e,l,null),f=!0},p:Ce,i(i){f||(N(e.$$.fragment,i),f=!0)},o(i){A(e.$$.fragment,i),f=!1},d(i){i&&L(l),ne(e)}}}function Ke(a){let l,e,f;return e=new ge({props:{label:a[22],icon:a[25]?"checkmark":"copy"}}),e.$on("click",a[39]),{c(){l=q("div"),ee(e.$$.fragment),this.h()},l(i){l=D(i,"DIV",{class:!0});var u=T(l);le(e.$$.fragment,u),u.forEach(L),this.h()},h(){k(l,"class","copy-icon-container svelte-17wusc4")},m(i,u){O(i,l,u),ae(e,l,null),f=!0},p(i,u){const h={};u[0]&4194304&&(h.label=i[22]),u[0]&33554432&&(h.icon=i[25]?"checkmark":"copy"),e.$set(h)},i(i){f||(N(e.$$.fragment,i),f=!0)},o(i){A(e.$$.fragment,i),f=!1},d(i){i&&L(l),ne(e)}}}function be(a){let l,e,f=a[1].length+"",i,u,h;return{c(){l=q("span"),e=q("span"),i=X(f),u=X(" / "),h=X(a[15]),this.h()},l(o){l=D(o,"SPAN",{class:!0});var b=T(l);e=D(b,"SPAN",{class:!0});var F=T(e);i=Y(F,f),F.forEach(L),u=Y(b," / "),h=Y(b,a[15]),b.forEach(L),this.h()},h(){k(e,"class","text-blue-700 svelte-17wusc4"),c(e,"warn",a[15]-a[1].length<=5),c(e,"error",a[15]===a[1].length),k(l,"class","count svelte-17wusc4")},m(o,b){O(o,l,b),E(l,e),E(e,i),E(l,u),E(l,h)},p(o,b){b[0]&2&&f!==(f=o[1].length+"")&&$(i,f),b[0]&32770&&c(e,"warn",o[15]-o[1].length<=5),b[0]&32770&&c(e,"error",o[15]===o[1].length),b[0]&32768&&$(h,o[15])},d(o){o&&L(l)}}}function Me(a){let l,e,f,i,u,h,o,b,F,H,_,g,C,P,V,B,j,U,z,r,Q,y,d=a[5]&&de(a),Z=[{class:"m-2 block w-full bg-white focus:outline-none"},{disabled:a[0]},{"data-lpignore":"true"},{maxlength:b=a[15]>0?a[15]:void 0},{placeholder:a[6]},{id:a[2]},{name:a[8]},{spellcheck:a[16]},{required:a[21]},{autocomplete:a[12]},a[30]],K={};for(let t=0;t{d=null}),ce()),ue(o,K=Pe(Z,[{class:"m-2 block w-full bg-white focus:outline-none"},(!r||s[0]&1)&&{disabled:t[0]},{"data-lpignore":"true"},(!r||s[0]&32768&&b!==(b=t[15]>0?t[15]:void 0))&&{maxlength:b},(!r||s[0]&64)&&{placeholder:t[6]},(!r||s[0]&4)&&{id:t[2]},(!r||s[0]&256)&&{name:t[8]},(!r||s[0]&65536)&&{spellcheck:t[16]},(!r||s[0]&2097152)&&{required:t[21]},(!r||s[0]&4096)&&{autocomplete:t[12]},s[0]&1073741824&&t[30]])),s[0]&2&&o.value!==t[1]&&oe(o,t[1]),c(o,"disabled",t[0]),c(o,"svelte-17wusc4",!0),t[7]?m?m.p(t,s):(m=me(t),m.c(),m.m(u,H)):m&&(m.d(1),m=null);let S=_;_=p(t),_===S?~_&&R[_].p(t,s):(g&&(re(),A(R[S],1,1,()=>{R[S]=null}),ce()),~_?(g=R[_],g?g.p(t,s):(g=R[_]=w[_](t),g.c()),N(g,1),g.m(u,C)):g=null),t[15]&&!t[7]&&!t[0]?v?v.p(t,s):(v=be(t),v.c(),v.m(u,null)):v&&(v.d(1),v=null),(!r||s[0]&2048&&P!==(P="input-container "+t[11]+" svelte-17wusc4"))&&k(u,"class",P),(!r||s[0]&2049)&&c(u,"disabled",t[0]),(!r||s[0]&1050624)&&c(u,"error",t[20]),(!r||s[0]&133248)&&c(u,"unroundRight",t[17]??t[7]),(!r||s[0]&264192)&&c(u,"unroundLeft",t[18]),(!r||s[0]&526336)&&c(u,"noBorder",t[19]),(!r||s[0]&10240)&&c(u,"invalid",!t[13]),(!r||s[0]&16384)&&$(j,t[14]),(!r||s[0]&1048576&&U!==(U=t[20]?"alert":null))&&k(B,"role",U),(!r||s[0]&8192)&&c(B,"invalid",!t[13]),(!r||s[0]&1048576)&&c(B,"error",t[20]),(!r||s[0]&16384)&&c(B,"hidden",!t[14]),(!r||s[0]&16777216&&z!==(z=se(t[24])+" svelte-17wusc4"))&&k(l,"class",z)},i(t){r||(N(d),N(g),r=!0)},o(t){A(d),A(g),r=!1},d(t){t&&L(l),d&&d.d(),m&&m.d(),~_&&R[_].d(),v&&v.d(),Q=!1,Ve(y)}}}function Oe(a,l,e){const f=["id","value","label","labelHidden","icon","placeholder","suffix","name","copyable","disabled","clearable","theme","autocomplete","valid","hintText","maxLength","spellcheck","unroundRight","unroundLeft","noBorder","autoFocus","error","required","copyButtonLabel","clearButtonLabel","class"];let i=he(l,f),u,{id:h}=l,{value:o}=l,{label:b}=l,{labelHidden:F=!1}=l,{icon:H=null}=l,{placeholder:_=""}=l,{suffix:g=""}=l,{name:C=h}=l,{copyable:P=!1}=l,{disabled:V=!1}=l,{clearable:B=!1}=l,{theme:j="light"}=l,{autocomplete:U="off"}=l,{valid:z=!0}=l,{hintText:r=""}=l,{maxLength:Q=0}=l,{spellcheck:y=null}=l,{unroundRight:d=!1}=l,{unroundLeft:Z=!1}=l,{noBorder:K=!1}=l,{autoFocus:m=!1}=l,{error:w=!1}=l,{required:R=!1}=l,{copyButtonLabel:p=""}=l,{clearButtonLabel:v=""}=l,{class:t=""}=l;function s(n){m&&n&&n.focus()}const S=Se();function I(){e(1,o=""),S("clear",{})}const{copy:x,copied:ie}=je();Ae(a,ie,n=>e(25,u=n));function ve(n){W.call(this,a,n)}function ke(n){W.call(this,a,n)}function Le(n){W.call(this,a,n)}function Be(n){W.call(this,a,n)}function Ee(n){W.call(this,a,n)}function Ie(n){W.call(this,a,n)}function qe(){o=this.value,e(1,o)}const De=n=>x(n,o);return a.$$set=n=>{l=te(te({},l),He(n)),e(30,i=he(l,f)),"id"in n&&e(2,h=n.id),"value"in n&&e(1,o=n.value),"label"in n&&e(3,b=n.label),"labelHidden"in n&&e(4,F=n.labelHidden),"icon"in n&&e(5,H=n.icon),"placeholder"in n&&e(6,_=n.placeholder),"suffix"in n&&e(7,g=n.suffix),"name"in n&&e(8,C=n.name),"copyable"in n&&e(9,P=n.copyable),"disabled"in n&&e(0,V=n.disabled),"clearable"in n&&e(10,B=n.clearable),"theme"in n&&e(11,j=n.theme),"autocomplete"in n&&e(12,U=n.autocomplete),"valid"in n&&e(13,z=n.valid),"hintText"in n&&e(14,r=n.hintText),"maxLength"in n&&e(15,Q=n.maxLength),"spellcheck"in n&&e(16,y=n.spellcheck),"unroundRight"in n&&e(17,d=n.unroundRight),"unroundLeft"in n&&e(18,Z=n.unroundLeft),"noBorder"in n&&e(19,K=n.noBorder),"autoFocus"in n&&e(31,m=n.autoFocus),"error"in n&&e(20,w=n.error),"required"in n&&e(21,R=n.required),"copyButtonLabel"in n&&e(22,p=n.copyButtonLabel),"clearButtonLabel"in n&&e(23,v=n.clearButtonLabel),"class"in n&&e(24,t=n.class)},a.$$.update=()=>{a.$$.dirty[0]&513&&e(0,V=V||P)},[V,o,h,b,F,H,_,g,C,P,B,j,U,z,r,Q,y,d,Z,K,w,R,p,v,t,u,s,I,x,ie,i,m,ve,ke,Le,Be,Ee,Ie,qe,De]}class We extends Re{constructor(l){super(),Te(this,l,Oe,Me,Fe,{id:2,value:1,label:3,labelHidden:4,icon:5,placeholder:6,suffix:7,name:8,copyable:9,disabled:0,clearable:10,theme:11,autocomplete:12,valid:13,hintText:14,maxLength:15,spellcheck:16,unroundRight:17,unroundLeft:18,noBorder:19,autoFocus:31,error:20,required:21,copyButtonLabel:22,clearButtonLabel:23,class:24},null,[-1,-1])}}export{We as I}; +import{S as Re,b as Te,a as Fe,N as te,m as q,w as X,c as G,p as D,q as T,x as Y,k as L,d as J,u as k,P as c,O as ue,Z as se,f as O,L as E,_ as oe,Q as M,$ as fe,a2 as Ne,y as $,j as N,z as re,g as A,h as ce,R as Pe,r as Ve,T as he,M as Se,K as Ae,U as He,C as ee,D as le,E as ae,F as ne,V as W,n as Ce}from"./index.09834243.js";import{I as _e}from"./icon.3cd9fa27.js";import{c as je}from"./copy-to-clipboard.a6afb80a.js";import{I as ge}from"./icon-button.b5ab850e.js";function de(a){let l,e,f;return e=new _e({props:{name:a[5]}}),{c(){l=q("span"),ee(e.$$.fragment),this.h()},l(i){l=D(i,"SPAN",{class:!0});var u=T(l);le(e.$$.fragment,u),u.forEach(L),this.h()},h(){k(l,"class","icon-container svelte-17wusc4")},m(i,u){O(i,l,u),ae(e,l,null),f=!0},p(i,u){const h={};u[0]&32&&(h.name=i[5]),e.$set(h)},i(i){f||(N(e.$$.fragment,i),f=!0)},o(i){A(e.$$.fragment,i),f=!1},d(i){i&&L(l),ne(e)}}}function me(a){let l,e;return{c(){l=q("div"),e=X(a[7]),this.h()},l(f){l=D(f,"DIV",{class:!0});var i=T(l);e=Y(i,a[7]),i.forEach(L),this.h()},h(){k(l,"class","suffix svelte-17wusc4")},m(f,i){O(f,l,i),E(l,e)},p(f,i){i[0]&128&&$(e,f[7])},d(f){f&&L(l)}}}function Ue(a){let l,e,f;return e=new ge({props:{label:a[23],icon:"close"}}),e.$on("click",a[27]),{c(){l=q("div"),ee(e.$$.fragment),this.h()},l(i){l=D(i,"DIV",{class:!0,"data-testid":!0});var u=T(l);le(e.$$.fragment,u),u.forEach(L),this.h()},h(){k(l,"class","clear-icon-container svelte-17wusc4"),k(l,"data-testid","clear-input")},m(i,u){O(i,l,u),ae(e,l,null),f=!0},p(i,u){const h={};u[0]&8388608&&(h.label=i[23]),e.$set(h)},i(i){f||(N(e.$$.fragment,i),f=!0)},o(i){A(e.$$.fragment,i),f=!1},d(i){i&&L(l),ne(e)}}}function ze(a){let l,e,f;return e=new _e({props:{name:"lock"}}),{c(){l=q("div"),ee(e.$$.fragment),this.h()},l(i){l=D(i,"DIV",{class:!0});var u=T(l);le(e.$$.fragment,u),u.forEach(L),this.h()},h(){k(l,"class","flex h-full w-9 items-center justify-center")},m(i,u){O(i,l,u),ae(e,l,null),f=!0},p:Ce,i(i){f||(N(e.$$.fragment,i),f=!0)},o(i){A(e.$$.fragment,i),f=!1},d(i){i&&L(l),ne(e)}}}function Ke(a){let l,e,f;return e=new ge({props:{label:a[22],icon:a[25]?"checkmark":"copy"}}),e.$on("click",a[39]),{c(){l=q("div"),ee(e.$$.fragment),this.h()},l(i){l=D(i,"DIV",{class:!0});var u=T(l);le(e.$$.fragment,u),u.forEach(L),this.h()},h(){k(l,"class","copy-icon-container svelte-17wusc4")},m(i,u){O(i,l,u),ae(e,l,null),f=!0},p(i,u){const h={};u[0]&4194304&&(h.label=i[22]),u[0]&33554432&&(h.icon=i[25]?"checkmark":"copy"),e.$set(h)},i(i){f||(N(e.$$.fragment,i),f=!0)},o(i){A(e.$$.fragment,i),f=!1},d(i){i&&L(l),ne(e)}}}function be(a){let l,e,f=a[1].length+"",i,u,h;return{c(){l=q("span"),e=q("span"),i=X(f),u=X(" / "),h=X(a[15]),this.h()},l(o){l=D(o,"SPAN",{class:!0});var b=T(l);e=D(b,"SPAN",{class:!0});var F=T(e);i=Y(F,f),F.forEach(L),u=Y(b," / "),h=Y(b,a[15]),b.forEach(L),this.h()},h(){k(e,"class","text-blue-700 svelte-17wusc4"),c(e,"warn",a[15]-a[1].length<=5),c(e,"error",a[15]===a[1].length),k(l,"class","count svelte-17wusc4")},m(o,b){O(o,l,b),E(l,e),E(e,i),E(l,u),E(l,h)},p(o,b){b[0]&2&&f!==(f=o[1].length+"")&&$(i,f),b[0]&32770&&c(e,"warn",o[15]-o[1].length<=5),b[0]&32770&&c(e,"error",o[15]===o[1].length),b[0]&32768&&$(h,o[15])},d(o){o&&L(l)}}}function Me(a){let l,e,f,i,u,h,o,b,F,H,_,g,C,P,V,B,j,U,z,r,Q,y,d=a[5]&&de(a),Z=[{class:"m-2 block w-full bg-white focus:outline-none"},{disabled:a[0]},{"data-lpignore":"true"},{maxlength:b=a[15]>0?a[15]:void 0},{placeholder:a[6]},{id:a[2]},{name:a[8]},{spellcheck:a[16]},{required:a[21]},{autocomplete:a[12]},a[30]],K={};for(let t=0;t{d=null}),ce()),ue(o,K=Pe(Z,[{class:"m-2 block w-full bg-white focus:outline-none"},(!r||s[0]&1)&&{disabled:t[0]},{"data-lpignore":"true"},(!r||s[0]&32768&&b!==(b=t[15]>0?t[15]:void 0))&&{maxlength:b},(!r||s[0]&64)&&{placeholder:t[6]},(!r||s[0]&4)&&{id:t[2]},(!r||s[0]&256)&&{name:t[8]},(!r||s[0]&65536)&&{spellcheck:t[16]},(!r||s[0]&2097152)&&{required:t[21]},(!r||s[0]&4096)&&{autocomplete:t[12]},s[0]&1073741824&&t[30]])),s[0]&2&&o.value!==t[1]&&oe(o,t[1]),c(o,"disabled",t[0]),c(o,"svelte-17wusc4",!0),t[7]?m?m.p(t,s):(m=me(t),m.c(),m.m(u,H)):m&&(m.d(1),m=null);let S=_;_=p(t),_===S?~_&&R[_].p(t,s):(g&&(re(),A(R[S],1,1,()=>{R[S]=null}),ce()),~_?(g=R[_],g?g.p(t,s):(g=R[_]=w[_](t),g.c()),N(g,1),g.m(u,C)):g=null),t[15]&&!t[7]&&!t[0]?v?v.p(t,s):(v=be(t),v.c(),v.m(u,null)):v&&(v.d(1),v=null),(!r||s[0]&2048&&P!==(P="input-container "+t[11]+" svelte-17wusc4"))&&k(u,"class",P),(!r||s[0]&2049)&&c(u,"disabled",t[0]),(!r||s[0]&1050624)&&c(u,"error",t[20]),(!r||s[0]&133248)&&c(u,"unroundRight",t[17]??t[7]),(!r||s[0]&264192)&&c(u,"unroundLeft",t[18]),(!r||s[0]&526336)&&c(u,"noBorder",t[19]),(!r||s[0]&10240)&&c(u,"invalid",!t[13]),(!r||s[0]&16384)&&$(j,t[14]),(!r||s[0]&1048576&&U!==(U=t[20]?"alert":null))&&k(B,"role",U),(!r||s[0]&8192)&&c(B,"invalid",!t[13]),(!r||s[0]&1048576)&&c(B,"error",t[20]),(!r||s[0]&16384)&&c(B,"hidden",!t[14]),(!r||s[0]&16777216&&z!==(z=se(t[24])+" svelte-17wusc4"))&&k(l,"class",z)},i(t){r||(N(d),N(g),r=!0)},o(t){A(d),A(g),r=!1},d(t){t&&L(l),d&&d.d(),m&&m.d(),~_&&R[_].d(),v&&v.d(),Q=!1,Ve(y)}}}function Oe(a,l,e){const f=["id","value","label","labelHidden","icon","placeholder","suffix","name","copyable","disabled","clearable","theme","autocomplete","valid","hintText","maxLength","spellcheck","unroundRight","unroundLeft","noBorder","autoFocus","error","required","copyButtonLabel","clearButtonLabel","class"];let i=he(l,f),u,{id:h}=l,{value:o}=l,{label:b}=l,{labelHidden:F=!1}=l,{icon:H=null}=l,{placeholder:_=""}=l,{suffix:g=""}=l,{name:C=h}=l,{copyable:P=!1}=l,{disabled:V=!1}=l,{clearable:B=!1}=l,{theme:j="light"}=l,{autocomplete:U="off"}=l,{valid:z=!0}=l,{hintText:r=""}=l,{maxLength:Q=0}=l,{spellcheck:y=null}=l,{unroundRight:d=!1}=l,{unroundLeft:Z=!1}=l,{noBorder:K=!1}=l,{autoFocus:m=!1}=l,{error:w=!1}=l,{required:R=!1}=l,{copyButtonLabel:p=""}=l,{clearButtonLabel:v=""}=l,{class:t=""}=l;function s(n){m&&n&&n.focus()}const S=Se();function I(){e(1,o=""),S("clear",{})}const{copy:x,copied:ie}=je();Ae(a,ie,n=>e(25,u=n));function ve(n){W.call(this,a,n)}function ke(n){W.call(this,a,n)}function Le(n){W.call(this,a,n)}function Be(n){W.call(this,a,n)}function Ee(n){W.call(this,a,n)}function Ie(n){W.call(this,a,n)}function qe(){o=this.value,e(1,o)}const De=n=>x(n,o);return a.$$set=n=>{l=te(te({},l),He(n)),e(30,i=he(l,f)),"id"in n&&e(2,h=n.id),"value"in n&&e(1,o=n.value),"label"in n&&e(3,b=n.label),"labelHidden"in n&&e(4,F=n.labelHidden),"icon"in n&&e(5,H=n.icon),"placeholder"in n&&e(6,_=n.placeholder),"suffix"in n&&e(7,g=n.suffix),"name"in n&&e(8,C=n.name),"copyable"in n&&e(9,P=n.copyable),"disabled"in n&&e(0,V=n.disabled),"clearable"in n&&e(10,B=n.clearable),"theme"in n&&e(11,j=n.theme),"autocomplete"in n&&e(12,U=n.autocomplete),"valid"in n&&e(13,z=n.valid),"hintText"in n&&e(14,r=n.hintText),"maxLength"in n&&e(15,Q=n.maxLength),"spellcheck"in n&&e(16,y=n.spellcheck),"unroundRight"in n&&e(17,d=n.unroundRight),"unroundLeft"in n&&e(18,Z=n.unroundLeft),"noBorder"in n&&e(19,K=n.noBorder),"autoFocus"in n&&e(31,m=n.autoFocus),"error"in n&&e(20,w=n.error),"required"in n&&e(21,R=n.required),"copyButtonLabel"in n&&e(22,p=n.copyButtonLabel),"clearButtonLabel"in n&&e(23,v=n.clearButtonLabel),"class"in n&&e(24,t=n.class)},a.$$.update=()=>{a.$$.dirty[0]&513&&e(0,V=V||P)},[V,o,h,b,F,H,_,g,C,P,B,j,U,z,r,Q,y,d,Z,K,w,R,p,v,t,u,s,I,x,ie,i,m,ve,ke,Le,Be,Ee,Ie,qe,De]}class We extends Re{constructor(l){super(),Te(this,l,Oe,Me,Fe,{id:2,value:1,label:3,labelHidden:4,icon:5,placeholder:6,suffix:7,name:8,copyable:9,disabled:0,clearable:10,theme:11,autocomplete:12,valid:13,hintText:14,maxLength:15,spellcheck:16,unroundRight:17,unroundLeft:18,noBorder:19,autoFocus:31,error:20,required:21,copyButtonLabel:22,clearButtonLabel:23,class:24},null,[-1,-1])}}export{We as I}; diff --git a/ui/assets/local/_app/immutable/chunks/labs-mode.1f006a51.js b/ui/assets/local/_app/immutable/chunks/labs-mode.1f006a51.js new file mode 100644 index 0000000000..b95292a893 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/labs-mode.1f006a51.js @@ -0,0 +1 @@ +import{p as s}from"./persist-store.47877c2b.js";const o=s("labsMode",!1,!0);export{o as l}; diff --git a/ui/assets/local/_app/immutable/chunks/labs-mode.476dd7f5.js b/ui/assets/local/_app/immutable/chunks/labs-mode.476dd7f5.js deleted file mode 100644 index a3de1b7465..0000000000 --- a/ui/assets/local/_app/immutable/chunks/labs-mode.476dd7f5.js +++ /dev/null @@ -1 +0,0 @@ -import{p as s}from"./persist-store.ad106cab.js";const o=s("labsMode",!1,!0);export{o as l}; diff --git a/ui/assets/local/_app/immutable/chunks/link.4944a6a5.js b/ui/assets/local/_app/immutable/chunks/link.4944a6a5.js deleted file mode 100644 index cd2f0fb84d..0000000000 --- a/ui/assets/local/_app/immutable/chunks/link.4944a6a5.js +++ /dev/null @@ -1 +0,0 @@ -import{S as C,b as E,a as N,G as P,N as v,m as S,c as j,p as z,q as A,d as D,k as T,O as I,P as d,f as F,L as G,Q as H,j as b,z as J,g as k,h as O,H as Q,I as R,J as U,R as V,T as L,U as B,C as K,D as M,E as W,F as X,V as Y}from"./index.09834243.js";import{I as Z}from"./icon.3cd9fa27.js";function q(s){let e,i;return e=new Z({props:{width:20,height:20,class:"mt-0.5",name:s[4]}}),{c(){K(e.$$.fragment)},l(n){M(e.$$.fragment,n)},m(n,c){W(e,n,c),i=!0},p(n,c){const u={};c&16&&(u.name=n[4]),e.$set(u)},i(n){i||(b(e.$$.fragment,n),i=!0)},o(n){k(e.$$.fragment,n),i=!1},d(n){X(e,n)}}}function y(s){let e,i,n,c,u,o,_,h,a=s[4]&&q(s);const m=s[7].default,f=P(m,s,s[6],null);let g=[{href:s[1]},{target:n=s[3]?"_blank":null},{rel:c=s[3]?"noreferrer":null},{class:u="link "+(s[4]?"inline-flex":"inline")+" "+s[0]},s[5]],t={};for(let l=0;l{a=null}),O()),f&&f.p&&(!o||r&64)&&Q(f,m,l,l[6],o?U(m,l[6],r,null):R(l[6]),null),I(e,t=V(g,[(!o||r&2)&&{href:l[1]},(!o||r&8&&n!==(n=l[3]?"_blank":null))&&{target:n},(!o||r&8&&c!==(c=l[3]?"noreferrer":null))&&{rel:c},(!o||r&17&&u!==(u="link "+(l[4]?"inline-flex":"inline")+" "+l[0]))&&{class:u},r&32&&l[5]])),d(e,"active",l[2]),d(e,"svelte-1f9ld6i",!0)},i(l){o||(b(a),b(f,l),o=!0)},o(l){k(a),k(f,l),o=!1},d(l){l&&T(e),a&&a.d(),f&&f.d(l),_=!1,h()}}}function p(s,e,i){const n=["class","href","active","newTab","icon"];let c=L(e,n),{$$slots:u={},$$scope:o}=e,{class:_=""}=e,{href:h=null}=e,{active:a=!1}=e,{newTab:m=!1}=e,{icon:f=null}=e;function g(t){Y.call(this,s,t)}return s.$$set=t=>{e=v(v({},e),B(t)),i(5,c=L(e,n)),"class"in t&&i(0,_=t.class),"href"in t&&i(1,h=t.href),"active"in t&&i(2,a=t.active),"newTab"in t&&i(3,m=t.newTab),"icon"in t&&i(4,f=t.icon),"$$scope"in t&&i(6,o=t.$$scope)},[_,h,a,m,f,c,o,u,g]}class $ extends C{constructor(e){super(),E(this,e,p,y,N,{class:0,href:1,active:2,newTab:3,icon:4})}}export{$ as L}; diff --git a/ui/assets/local/_app/immutable/chunks/link.7cb1390a.js b/ui/assets/local/_app/immutable/chunks/link.7cb1390a.js new file mode 100644 index 0000000000..906d9469cd --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/link.7cb1390a.js @@ -0,0 +1 @@ +import{S as E,b as N,a as P,G as S,N as T,m as j,c as z,p as A,q as D,d as F,k as I,O as L,P as k,f as G,L as H,Q as J,j as b,z as O,g as v,h as Q,H as R,I as U,J as V,R as B,T as q,U as K,C as M,D as W,E as X,F as Y,V as Z}from"./index.09834243.js";import{I as p}from"./icon.3cd9fa27.js";function C(t){let e,i;return e=new p({props:{width:20,height:20,class:"mt-0.5",name:t[4]}}),{c(){M(e.$$.fragment)},l(s){W(e.$$.fragment,s)},m(s,o){X(e,s,o),i=!0},p(s,o){const c={};o&16&&(c.name=s[4]),e.$set(c)},i(s){i||(b(e.$$.fragment,s),i=!0)},o(s){v(e.$$.fragment,s),i=!1},d(s){Y(e,s)}}}function y(t){let e,i,s,o,c,_,u,m,g,a=t[4]&&C(t);const h=t[7].default,r=S(h,t,t[6],null);let n=[{href:t[1]},{target:s=t[3]?"_blank":null},{rel:o=t[3]?"noreferrer":null},{class:c="link "+(t[4]?"inline-flex":"inline")+" "+t[0]},{tabindex:_=t[1]?null:0},t[5]],d={};for(let l=0;l{a=null}),Q()),r&&r.p&&(!u||f&64)&&R(r,h,l,l[6],u?V(h,l[6],f,null):U(l[6]),null),L(e,d=B(n,[(!u||f&2)&&{href:l[1]},(!u||f&8&&s!==(s=l[3]?"_blank":null))&&{target:s},(!u||f&8&&o!==(o=l[3]?"noreferrer":null))&&{rel:o},(!u||f&17&&c!==(c="link "+(l[4]?"inline-flex":"inline")+" "+l[0]))&&{class:c},(!u||f&2&&_!==(_=l[1]?null:0))&&{tabindex:_},f&32&&l[5]])),k(e,"active",l[2]),k(e,"svelte-1f9ld6i",!0)},i(l){u||(b(a),b(r,l),u=!0)},o(l){v(a),v(r,l),u=!1},d(l){l&&I(e),a&&a.d(),r&&r.d(l),m=!1,g()}}}function w(t,e,i){const s=["class","href","active","newTab","icon"];let o=q(e,s),{$$slots:c={},$$scope:_}=e,{class:u=""}=e,{href:m=null}=e,{active:g=!1}=e,{newTab:a=!1}=e,{icon:h=null}=e;function r(n){Z.call(this,t,n)}return t.$$set=n=>{e=T(T({},e),K(n)),i(5,o=q(e,s)),"class"in n&&i(0,u=n.class),"href"in n&&i(1,m=n.href),"active"in n&&i(2,g=n.active),"newTab"in n&&i(3,a=n.newTab),"icon"in n&&i(4,h=n.icon),"$$scope"in n&&i(6,_=n.$$scope)},[u,m,g,a,h,o,_,c,r]}class ee extends E{constructor(e){super(),N(this,e,w,y,P,{class:0,href:1,active:2,newTab:3,icon:4})}}export{ee as L}; diff --git a/ui/assets/local/_app/immutable/chunks/logo.ba44ed17.js b/ui/assets/local/_app/immutable/chunks/logo.e000abd5.js similarity index 95% rename from ui/assets/local/_app/immutable/chunks/logo.ba44ed17.js rename to ui/assets/local/_app/immutable/chunks/logo.e000abd5.js index b78227b8d9..e5aef62b1e 100644 --- a/ui/assets/local/_app/immutable/chunks/logo.ba44ed17.js +++ b/ui/assets/local/_app/immutable/chunks/logo.e000abd5.js @@ -1,3 +1,3 @@ -import{S as v,b,a as g,m as f,C as k,w as $,p as m,q as p,D as x,k as d,x as w,u as r,f as y,L as _,E as F,n as L,j as E,g as I,F as D,K as q}from"./index.09834243.js";import{p as C}from"./stores.9d4a2bb0.js";import{I as G}from"./icon.3cd9fa27.js";function R(c){let e,s,n,t,o,i;return t=new G({props:{class:"text-purple-200",name:"feedback",height:12,width:12}}),{c(){e=f("a"),s=f("div"),n=f("div"),k(t.$$.fragment),o=$(` +import{S as v,b,a as g,m as f,C as k,w as $,p as m,q as p,D as x,k as d,x as w,u as r,f as y,L as _,E as F,n as L,j as E,g as I,F as D,K as q}from"./index.09834243.js";import{p as C}from"./stores.cd833532.js";import{I as G}from"./icon.3cd9fa27.js";function R(c){let e,s,n,t,o,i;return t=new G({props:{class:"text-purple-200",name:"feedback",height:12,width:12}}),{c(){e=f("a"),s=f("div"),n=f("div"),k(t.$$.fragment),o=$(` Give Feedback`),this.h()},l(a){e=m(a,"A",{href:!0,target:!0,"data-testid":!0,rel:!0});var l=p(e);s=m(l,"DIV",{class:!0});var u=p(s);n=m(u,"DIV",{class:!0});var h=p(n);x(t.$$.fragment,h),h.forEach(d),o=w(u,` Give Feedback`),u.forEach(d),l.forEach(d),this.h()},h(){r(n,"class","feedback-icon svelte-x1notn"),r(s,"class","feedback-button svelte-x1notn"),r(e,"href",c[0]),r(e,"target","_blank"),r(e,"data-testid","give-feedback"),r(e,"rel","noreferrer")},m(a,l){y(a,e,l),_(e,s),_(s,n),F(t,n,null),_(s,o),i=!0},p:L,i(a){i||(E(t.$$.fragment,a),i=!0)},o(a){I(t.$$.fragment,a),i=!1},d(a){a&&d(e),D(t)}}}function S(c,e,s){let n;q(c,C,a=>s(3,n=a));var t,o;return[((o=(t=n.data)===null||t===void 0?void 0:t.settings)===null||o===void 0?void 0:o.feedbackURL)||"https://github.com/temporalio/ui/issues/new/choose"]}class A extends v{constructor(e){super(),b(this,e,S,R,g,{})}}const B=""+new URL("../assets/logo.44c7bc2a.svg",import.meta.url).href;export{A as F,B as L}; diff --git a/ui/assets/local/_app/immutable/chunks/menu.4ba49cb6.js b/ui/assets/local/_app/immutable/chunks/menu.4ba49cb6.js new file mode 100644 index 0000000000..ef51522ce8 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/menu.4ba49cb6.js @@ -0,0 +1,3 @@ +import{ad as Ne,S as $,b as ee,a as te,G as q,N as T,m as R,p as P,q as U,k as A,O as j,f as z,a2 as Re,Q as W,H as K,I as B,J as F,R as x,j as I,g as y,r as ue,T as Q,M as oe,ae as Pe,U as le,n as Ue,s as Ve,a5 as H,e as he,z as Y,h as Z,af as re,K as X,c as G,d as J,u as w,P as p,L as N,$ as fe,C as ce,D as de,E as me,F as _e,w as Ce,x as Me,y as ye,ag as qe,ah as Ke,a3 as Be,a4 as Fe,A as je}from"./index.09834243.js";import{B as ze}from"./badge.f53d8aa8.js";import{I as Ae}from"./icon.3cd9fa27.js";import{w as ie}from"./singletons.741208bb.js";function He(t){const e=n=>{t&&!t.contains(n.target)&&!n.defaultPrevented&&t.dispatchEvent(new CustomEvent("click-outside"))};return document.addEventListener("click",e,!0),{destroy(){document.removeEventListener("click",e,!0)}}}function Ge(t){const e=t-1;return e*e*e+1}function _t(t,{delay:e=0,duration:n=400,easing:l=Ne}={}){const s=+getComputedStyle(t).opacity;return{delay:e,duration:n,easing:l,css:i=>`opacity: ${i*s}`}}function Je(t,{delay:e=0,duration:n=400,easing:l=Ge,x:s=0,y:i=0,opacity:_=0}={}){const d=getComputedStyle(t),r=+d.opacity,a=d.transform==="none"?"":d.transform,m=r*(1-_);return{delay:e,duration:n,easing:l,css:(h,o)=>` + transform: ${a} translate(${(1-h)*s}px, ${(1-h)*i}px); + opacity: ${r-m*o}`}}const Qe=t=>({open:t&2}),be=t=>({open:t[1]});function Xe(t){let e,n,l,s,i;const _=t[5].default,d=q(_,t,t[4],be);let r=[{class:n="relative "+t[0]},t[3]],a={};for(let m=0;m(_(),_=Ve(h,k=>n(6,i=k)),h);t.$$.on_destroy.push(()=>_());let{$$slots:r={},$$scope:a}=e,{class:m=""}=e,{open:h=ie(!1)}=e;d();const o=ie(!1),b=ie(null),D=oe(),E=()=>{D("close"),H(h,i=!1,i)};return Pe(ne,{open:h,keepOpen:o,menuElement:b}),t.$$set=k=>{e=T(T({},e),le(k)),n(3,s=Q(e,l)),"class"in k&&n(0,m=k.class),"open"in k&&d(n(1,h=k.open)),"$$scope"in k&&n(4,a=k.$$scope)},[m,h,E,s,a,r]}class ht extends ${constructor(e){super(),ee(this,e,We,Xe,te,{class:0,open:1})}}const Ye=t=>({}),ge=t=>({}),Ze=t=>({}),ke=t=>({});function we(t){let e,n,l,s,i,_,d,r,a,m,h,o,b;const D=t[13].leading,E=q(D,t,t[12],ke),k=[et,$e],C=[];function O(c,L){return c[5]?0:1}s=O(t),i=C[s]=k[s](t);let g=t[1]!==void 0&&ve(t);const S=t[13].trailing,M=q(S,t,t[12],ge);let u=[{role:"menuitem"},{class:r="menu-item "+t[0]},{"aria-hidden":a=t[3]?"true":"false"},{"aria-disabled":t[3]},{tabindex:m=t[3]?-1:0},t[11]],f={};for(let c=0;c{C[V]=null}),Z(),i=C[s],i?i.p(c,L):(i=C[s]=k[s](c),i.c()),I(i,1),i.m(l,_)),c[1]!==void 0?g?(g.p(c,L),L&2&&I(g,1)):(g=ve(c),g.c(),I(g,1),g.m(l,null)):g&&(Y(),y(g,1,1,()=>{g=null}),Z()),(!h||L&2)&&p(l,"selected",c[1]),(!h||L&64)&&p(l,"centered",c[6]),M&&M.p&&(!h||L&4096)&&K(M,S,c,c[12],h?F(S,c[12],L,Ye):B(c[12]),ge),j(e,f=x(u,[{role:"menuitem"},(!h||L&1&&r!==(r="menu-item "+c[0]))&&{class:r},(!h||L&8&&a!==(a=c[3]?"true":"false"))&&{"aria-hidden":a},(!h||L&8)&&{"aria-disabled":c[3]},(!h||L&8&&m!==(m=c[3]?-1:0))&&{tabindex:m},L&2048&&c[11]])),p(e,"destructive",c[2]),p(e,"disabled",c[3]),p(e,"svelte-gco0cg",!0)},i(c){h||(I(E,c),I(i),I(g),I(M,c),h=!0)},o(c){y(E,c),y(i),y(g),y(M,c),h=!1},d(c){c&&A(e),E&&E.d(c),C[s].d(),g&&g.d(),M&&M.d(c),o=!1,ue(b)}}}function xe(t){let e,n,l,s,i,_,d;const r=t[13].default,a=q(r,t,t[12],null);let m=[{href:t[4]},{role:"menuitem"},{class:n="menu-item "+t[0]},{"aria-hidden":l=t[3]?"true":"false"},{"aria-disabled":t[3]},{tabindex:s=t[3]?-1:0},t[11]],h={};for(let o=0;o{l=null}),Z())},i(s){n||(I(l),n=!0)},o(s){y(l),n=!1},d(s){s&&A(e),l&&l.d()}}}function Ee(t){let e,n;return e=new Ae({props:{name:"checkmark"}}),{c(){ce(e.$$.fragment)},l(l){de(e.$$.fragment,l)},m(l,s){me(e,l,s),n=!0},i(l){n||(I(e.$$.fragment,l),n=!0)},o(l){y(e.$$.fragment,l),n=!1},d(l){_e(e,l)}}}function tt(t){let e,n,l,s;const i=[xe,we],_=[];function d(r,a){return r[4]?0:1}return e=d(t),n=_[e]=i[e](t),{c(){n.c(),l=he()},l(r){n.l(r),l=he()},m(r,a){_[e].m(r,a),z(r,l,a),s=!0},p(r,[a]){let m=e;e=d(r),e===m?_[e].p(r,a):(Y(),y(_[m],1,1,()=>{_[m]=null}),Z(),n=_[e],n?n.p(r,a):(n=_[e]=i[e](r),n.c()),I(n,1),n.m(l.parentNode,l))},i(r){s||(I(n),s=!0)},o(r){y(n),s=!1},d(r){_[e].d(r),r&&A(l)}}}const ae='input, li[role="option"]:not([aria-disabled="true"]), li[role="menuitem"]:not([aria-disabled="true"])';function lt(t,e,n){const l=["class","selected","destructive","disabled","href","description","centered"];let s=Q(e,l),i,_,{$$slots:d={},$$scope:r}=e,{class:a=""}=e,{selected:m=void 0}=e,{destructive:h=!1}=e,{disabled:o=!1}=e,{href:b=null}=e,{description:D=null}=e,{centered:E=!1}=e;const{keepOpen:k,open:C}=re(ne);X(t,k,f=>n(15,_=f)),X(t,C,f=>n(14,i=f));const O=oe(),g=f=>{switch(f.key){case"Escape":H(C,i=!1,i);break;case"ArrowDown":case"ArrowRight":S(f.currentTarget);break;case"ArrowUp":case"ArrowLeft":M(f.currentTarget);break;case" ":case"Enter":O("click"),_||H(C,i=!1,i);break}},S=f=>{let c=f.nextElementSibling;for(;c&&!c.matches(ae);)c=c.nextElementSibling;c&&c instanceof HTMLLIElement&&c.focus()},M=f=>{let c=f.previousElementSibling;for(;c&&!c.matches(ae);)c=c.previousElementSibling;c&&c instanceof HTMLLIElement&&c.focus()},u=()=>{_||H(C,i=!1,i),O("click")};return t.$$set=f=>{e=T(T({},e),le(f)),n(11,s=Q(e,l)),"class"in f&&n(0,a=f.class),"selected"in f&&n(1,m=f.selected),"destructive"in f&&n(2,h=f.destructive),"disabled"in f&&n(3,o=f.disabled),"href"in f&&n(4,b=f.href),"description"in f&&n(5,D=f.description),"centered"in f&&n(6,E=f.centered),"$$scope"in f&&n(12,r=f.$$scope)},[a,m,h,o,b,D,E,k,C,g,u,s,r,d]}class bt extends ${constructor(e){super(),ee(this,e,lt,tt,te,{class:0,selected:1,destructive:2,disabled:3,href:4,description:5,centered:6})}}const nt=t=>({}),pe=t=>({}),st=t=>({}),Ie=t=>({});function Le(t){let e,n,l;return n=new Ae({props:{name:t[13]?"chevron-up":"chevron-down"}}),{c(){e=R("div"),ce(n.$$.fragment),this.h()},l(s){e=P(s,"DIV",{class:!0});var i=U(e);de(n.$$.fragment,i),i.forEach(A),this.h()},h(){w(e,"class","flex")},m(s,i){z(s,e,i),me(n,e,null),l=!0},p(s,i){const _={};i&8192&&(_.name=s[13]?"chevron-up":"chevron-down"),n.$set(_)},i(s){l||(I(n.$$.fragment,s),l=!0)},o(s){y(n.$$.fragment,s),l=!1},d(s){s&&A(e),_e(n)}}}function Oe(t){let e,n;return e=new ze({props:{class:"absolute top-0 right-0 origin-bottom-left translate-y-[-10px] translate-x-[10px]",type:"count",$$slots:{default:[it]},$$scope:{ctx:t}}}),{c(){ce(e.$$.fragment)},l(l){de(e.$$.fragment,l)},m(l,s){me(e,l,s),n=!0},p(l,s){const i={};s&2097156&&(i.$$scope={dirty:s,ctx:l}),e.$set(i)},i(l){n||(I(e.$$.fragment,l),n=!0)},o(l){y(e.$$.fragment,l),n=!1},d(l){_e(e,l)}}}function it(t){let e;return{c(){e=Ce(t[2])},l(n){e=Me(n,t[2])},m(n,l){z(n,e,l)},p(n,l){l&4&&ye(e,n[2])},d(n){n&&A(e)}}}function at(t){let e,n,l,s,i,_,d,r,a,m,h;const o=t[20].leading,b=q(o,t,t[21],Ie),D=t[20].default,E=q(D,t,t[21],null);let k=t[4]&&Le(t);const C=t[20].trailing,O=q(C,t,t[21],pe);let g=t[2]>0&&Oe(t),S=[{id:t[5]},{disabled:t[3]},{type:"button"},{"aria-haspopup":d=!t[3]},{"aria-controls":t[1]},{"aria-expanded":t[13]},{"aria-label":t[6]},{class:r="menu-button "+t[10]+" "+t[0]},t[18]],M={};for(let u=0;u{k=null}),Z()),O&&O.p&&(!a||f&2097152)&&K(O,C,u,u[21],a?F(C,u[21],f,nt):B(u[21]),pe),u[2]>0?g?(g.p(u,f),f&4&&I(g,1)):(g=Oe(u),g.c(),I(g,1),g.m(e,null)):g&&(Y(),y(g,1,1,()=>{g=null}),Z()),j(e,M=x(S,[(!a||f&32)&&{id:u[5]},(!a||f&8)&&{disabled:u[3]},{type:"button"},(!a||f&8&&d!==(d=!u[3]))&&{"aria-haspopup":d},(!a||f&2)&&{"aria-controls":u[1]},(!a||f&8192)&&{"aria-expanded":u[13]},(!a||f&64)&&{"aria-label":u[6]},(!a||f&1025&&r!==(r="menu-button "+u[10]+" "+u[0]))&&{class:r},f&262144&&u[18]])),p(e,"unroundLeft",u[9]),p(e,"unroundRight",u[8]),p(e,"active",u[11]),p(e,"unround",u[7]),p(e,"round",u[12]),p(e,"svelte-etc7wv",!0)},i(u){a||(I(b,u),I(E,u),I(k),I(O,u),I(g),a=!0)},o(u){y(b,u),y(E,u),y(k),y(O,u),y(g),a=!1},d(u){u&&A(e),b&&b.d(u),E&&E.d(u),k&&k.d(),O&&O.d(u),g&&g.d(),m=!1,ue(h)}}}function ut(t,e,n){const l=["class","controls","count","disabled","hasIndicator","id","label","unround","unroundRight","unroundLeft","variant","active","round"];let s=Q(e,l),i,_,{$$slots:d={},$$scope:r}=e;const a=Ke(d);let{class:m=""}=e,{controls:h}=e,{count:o=0}=e,{disabled:b=!1}=e,{hasIndicator:D=!1}=e,{id:E=null}=e,{label:k=null}=e,{unround:C=!1}=e,{unroundRight:O=!1}=e,{unroundLeft:g=!1}=e,{variant:S="secondary"}=e,{active:M=!1}=e,{round:u=!1}=e;const f=oe(),{open:c,menuElement:L}=re(ne);X(t,c,v=>n(13,_=v)),X(t,L,v=>n(22,i=v));const V=()=>{c.update(v=>{let se=v;return b||(se=!v),f("click",{open:se}),se})},Se=v=>{switch(v.key){case"Escape":H(c,_=!1,_);break;case"ArrowDown":v.preventDefault(),_?Te():H(c,_=!0,_);break}},Te=()=>{const v=Array.from(i.querySelectorAll(ae));v&&v[0]&&requestAnimationFrame(()=>v[0].focus())};return t.$$set=v=>{e=T(T({},e),le(v)),n(18,s=Q(e,l)),"class"in v&&n(0,m=v.class),"controls"in v&&n(1,h=v.controls),"count"in v&&n(2,o=v.count),"disabled"in v&&n(3,b=v.disabled),"hasIndicator"in v&&n(4,D=v.hasIndicator),"id"in v&&n(5,E=v.id),"label"in v&&n(6,k=v.label),"unround"in v&&n(7,C=v.unround),"unroundRight"in v&&n(8,O=v.unroundRight),"unroundLeft"in v&&n(9,g=v.unroundLeft),"variant"in v&&n(10,S=v.variant),"active"in v&&n(11,M=v.active),"round"in v&&n(12,u=v.round),"$$scope"in v&&n(21,r=v.$$scope)},[m,h,o,b,D,E,k,C,O,g,S,M,u,_,c,L,V,Se,s,a,d,r]}class gt extends ${constructor(e){super(),ee(this,e,ut,at,te,{class:0,controls:1,count:2,disabled:3,hasIndicator:4,id:5,label:6,unround:7,unroundRight:8,unroundLeft:9,variant:10,active:11,round:12})}}const De=t=>Array.from(t.querySelectorAll('[href], button, textarea, input, div[contentEditable="true"], select, [tabindex][tabindex="0"]')).filter(e=>!e.hasAttribute("disabled")&&e.getAttribute("tabindex")!=="-1"),kt=(t,e)=>{let n,l;const s=a=>{a.key==="Tab"&&(a.shiftKey?document.activeElement===n&&(l.focus(),a.preventDefault()):document.activeElement===l&&(n.focus(),a.preventDefault()))},i=(a=!1)=>{if(e===!1)return;const m=De(t);n=m[0],l=m[m.length-1],a||n.focus(),n.addEventListener("keydown",s),l.addEventListener("keydown",s)},_=()=>{n==null||n.removeEventListener("keydown",s),l==null||l.removeEventListener("keydown",s)},d=(a,m)=>(a.length&&(_(),i(!0)),m);return new MutationObserver(d).observe(t,{childList:!0,subtree:!0}),i(),{update(a){e=a,a?i():_()},destroy(){_()}}};function ot(t){let e,n,l,s,i,_,d;const r=t[13].default,a=q(r,t,t[12],null);let m=[{role:"menu"},{class:n="menu "+t[3]+" "+t[1]},{"aria-labelledby":t[2]},{tabindex:l=-1},{id:t[2]},t[9]],h={};for(let o=0;o{s=Fe(e,Je,{duration:100}),s.start()}),i=!0)},o(o){y(a,o),i=!1},d(o){o&&A(e),a&&a.d(o),t[14](null),_=!1,d()}}}function rt(t,e,n){let l,s;const i=["class","id","keepOpen","position","menuElement"];let _=Q(e,i),d,r,a,{$$slots:m={},$$scope:h}=e,{class:o=""}=e,{id:b}=e,{keepOpen:D=!1}=e,{position:E="left"}=e,{menuElement:k=null}=e;const{keepOpen:C,menuElement:O,open:g}=re(ne);X(t,C,u=>n(16,r=u)),X(t,O,u=>n(17,a=u)),X(t,g,u=>n(4,d=u));const S=u=>{!r&&u.target===s&&H(g,d=!1,d)};function M(u){je[u?"unshift":"push"](()=>{k=u,n(0,k)})}return t.$$set=u=>{e=T(T({},e),le(u)),n(9,_=Q(e,i)),"class"in u&&n(1,o=u.class),"id"in u&&n(2,b=u.id),"keepOpen"in u&&n(10,D=u.keepOpen),"position"in u&&n(3,E=u.position),"menuElement"in u&&n(0,k=u.menuElement),"$$scope"in u&&n(12,h=u.$$scope)},t.$$.update=()=>{t.$$.dirty&1024&&H(C,r=D,r),t.$$.dirty&1&&H(O,a=k,a),t.$$.dirty&1&&n(11,l=k?De(k):[]),t.$$.dirty&2048&&(s=l[l.length-1])},[k,o,b,E,d,C,O,g,S,_,D,l,h,m,M]}class vt extends ${constructor(e){super(),ee(this,e,rt,ot,te,{class:1,id:2,keepOpen:10,position:3,menuElement:0})}}export{ht as M,gt as a,vt as b,He as c,bt as d,kt as e,Je as f,_t as g}; diff --git a/ui/assets/local/_app/immutable/chunks/menu.c7988d0b.js b/ui/assets/local/_app/immutable/chunks/menu.c7988d0b.js deleted file mode 100644 index b0cfe1a1ba..0000000000 --- a/ui/assets/local/_app/immutable/chunks/menu.c7988d0b.js +++ /dev/null @@ -1,3 +0,0 @@ -import{ad as Te,S as $,b as ee,a as te,G as y,N as A,m as P,p as U,q as V,k as S,O as H,f as K,a2 as Re,Q as W,H as B,I as j,J as F,R as x,j as p,g as O,r as ue,T as Q,M as oe,ae as Pe,U as le,n as Ue,s as Ve,a5 as J,e as he,z as Y,h as Z,af as re,K as X,c as z,d as G,u as w,P as I,L as R,$ as fe,C as ce,D as de,E as me,F as _e,w as Ce,x as Me,y as De,ag as qe,ah as ye,a3 as Be,a4 as je,A as Fe}from"./index.09834243.js";import{B as He}from"./badge.f53d8aa8.js";import{I as Ne}from"./icon.3cd9fa27.js";import{w as ae}from"./singletons.aae8f11e.js";function Ke(t){const e=n=>{t&&!t.contains(n.target)&&!n.defaultPrevented&&t.dispatchEvent(new CustomEvent("click-outside"))};return document.addEventListener("click",e,!0),{destroy(){document.removeEventListener("click",e,!0)}}}function ze(t){const e=t-1;return e*e*e+1}function mt(t,{delay:e=0,duration:n=400,easing:l=Te}={}){const s=+getComputedStyle(t).opacity;return{delay:e,duration:n,easing:l,css:a=>`opacity: ${a*s}`}}function Ge(t,{delay:e=0,duration:n=400,easing:l=ze,x:s=0,y:a=0,opacity:h=0}={}){const o=getComputedStyle(t),d=+o.opacity,u=o.transform==="none"?"":o.transform,i=d*(1-h);return{delay:e,duration:n,easing:l,css:(_,b)=>` - transform: ${u} translate(${(1-_)*s}px, ${(1-_)*a}px); - opacity: ${d-i*b}`}}const Je=t=>({open:t&2}),be=t=>({open:t[1]});function Qe(t){let e,n,l,s,a;const h=t[5].default,o=y(h,t,t[4],be);let d=[{class:n="relative "+t[0]},t[3]],u={};for(let i=0;i(h(),h=Ve(_,g=>n(6,a=g)),_);t.$$.on_destroy.push(()=>h());let{$$slots:d={},$$scope:u}=e,{class:i=""}=e,{open:_=ae(!1)}=e;o();const b=ae(!1),v=ae(null),N=oe(),E=()=>{N("close"),J(_,a=!1,a)};return Pe(ne,{open:_,keepOpen:b,menuElement:v}),t.$$set=g=>{e=A(A({},e),le(g)),n(3,s=Q(e,l)),"class"in g&&n(0,i=g.class),"open"in g&&o(n(1,_=g.open)),"$$scope"in g&&n(4,u=g.$$scope)},[i,_,E,s,u,d]}class _t extends ${constructor(e){super(),ee(this,e,Xe,Qe,te,{class:0,open:1})}}const We=t=>({}),ge=t=>({}),Ye=t=>({}),ke=t=>({});function Ze(t){let e,n,l,s,a,h,o,d,u,i,_,b,v;const N=t[13].leading,E=y(N,t,t[12],ke),g=[$e,xe],C=[];function M(c,L){return c[5]?0:1}s=M(t),a=C[s]=g[s](t);let f=t[1]!==void 0&&ve(t);const T=t[13].trailing,D=y(T,t,t[12],ge);let m=[{role:"menuitem"},{class:d="menu-item "+t[0]},{"aria-hidden":u=t[3]?"true":"false"},{"aria-disabled":t[3]},{tabindex:i=t[3]?-1:0},t[11]],r={};for(let c=0;c{C[q]=null}),Z(),a=C[s],a?a.p(c,L):(a=C[s]=g[s](c),a.c()),p(a,1),a.m(l,h)),c[1]!==void 0?f?(f.p(c,L),L&2&&p(f,1)):(f=ve(c),f.c(),p(f,1),f.m(l,null)):f&&(Y(),O(f,1,1,()=>{f=null}),Z()),(!_||L&2)&&I(l,"selected",c[1]),(!_||L&64)&&I(l,"centered",c[6]),D&&D.p&&(!_||L&4096)&&B(D,T,c,c[12],_?F(T,c[12],L,We):j(c[12]),ge),H(e,r=x(m,[{role:"menuitem"},(!_||L&1&&d!==(d="menu-item "+c[0]))&&{class:d},(!_||L&8&&u!==(u=c[3]?"true":"false"))&&{"aria-hidden":u},(!_||L&8)&&{"aria-disabled":c[3]},(!_||L&8&&i!==(i=c[3]?-1:0))&&{tabindex:i},L&2048&&c[11]])),I(e,"destructive",c[2]),I(e,"disabled",c[3]),I(e,"svelte-gco0cg",!0)},i(c){_||(p(E,c),p(a),p(f),p(D,c),_=!0)},o(c){O(E,c),O(a),O(f),O(D,c),_=!1},d(c){c&&S(e),E&&E.d(c),C[s].d(),f&&f.d(),D&&D.d(c),b=!1,ue(v)}}}function we(t){let e,n,l,s,a,h,o;const d=t[13].default,u=y(d,t,t[12],null);let i=[{href:t[4]},{role:"menuitem"},{class:n="menu-item "+t[0]},{"aria-hidden":l=t[3]?"true":"false"},{"aria-disabled":t[3]},{tabindex:s=t[3]?-1:0},t[11]],_={};for(let b=0;b{l=null}),Z())},i(s){n||(p(l),n=!0)},o(s){O(l),n=!1},d(s){s&&S(e),l&&l.d()}}}function Ee(t){let e,n;return e=new Ne({props:{name:"checkmark"}}),{c(){ce(e.$$.fragment)},l(l){de(e.$$.fragment,l)},m(l,s){me(e,l,s),n=!0},i(l){n||(p(e.$$.fragment,l),n=!0)},o(l){O(e.$$.fragment,l),n=!1},d(l){_e(e,l)}}}function et(t){let e,n,l,s;const a=[we,Ze],h=[];function o(d,u){return d[4]?0:1}return e=o(t),n=h[e]=a[e](t),{c(){n.c(),l=he()},l(d){n.l(d),l=he()},m(d,u){h[e].m(d,u),K(d,l,u),s=!0},p(d,[u]){let i=e;e=o(d),e===i?h[e].p(d,u):(Y(),O(h[i],1,1,()=>{h[i]=null}),Z(),n=h[e],n?n.p(d,u):(n=h[e]=a[e](d),n.c()),p(n,1),n.m(l.parentNode,l))},i(d){s||(p(n),s=!0)},o(d){O(n),s=!1},d(d){h[e].d(d),d&&S(l)}}}const ie='input, li[role="option"]:not([aria-disabled="true"]), li[role="menuitem"]:not([aria-disabled="true"])';function tt(t,e,n){const l=["class","selected","destructive","disabled","href","description","centered"];let s=Q(e,l),a,h,{$$slots:o={},$$scope:d}=e,{class:u=""}=e,{selected:i=void 0}=e,{destructive:_=!1}=e,{disabled:b=!1}=e,{href:v=null}=e,{description:N=null}=e,{centered:E=!1}=e;const{keepOpen:g,open:C}=re(ne);X(t,g,r=>n(15,h=r)),X(t,C,r=>n(14,a=r));const M=oe(),f=r=>{switch(r.key){case"Escape":J(C,a=!1,a);break;case"ArrowDown":case"ArrowRight":T(r.currentTarget);break;case"ArrowUp":case"ArrowLeft":D(r.currentTarget);break;case" ":case"Enter":M("click"),h||J(C,a=!1,a);break}},T=r=>{let c=r.nextElementSibling;for(;c&&!c.matches(ie);)c=c.nextElementSibling;c&&c instanceof HTMLLIElement&&c.focus()},D=r=>{let c=r.previousElementSibling;for(;c&&!c.matches(ie);)c=c.previousElementSibling;c&&c instanceof HTMLLIElement&&c.focus()},m=()=>{h||J(C,a=!1,a),M("click")};return t.$$set=r=>{e=A(A({},e),le(r)),n(11,s=Q(e,l)),"class"in r&&n(0,u=r.class),"selected"in r&&n(1,i=r.selected),"destructive"in r&&n(2,_=r.destructive),"disabled"in r&&n(3,b=r.disabled),"href"in r&&n(4,v=r.href),"description"in r&&n(5,N=r.description),"centered"in r&&n(6,E=r.centered),"$$scope"in r&&n(12,d=r.$$scope)},[u,i,_,b,v,N,E,g,C,f,m,s,d,o]}class ht extends ${constructor(e){super(),ee(this,e,tt,et,te,{class:0,selected:1,destructive:2,disabled:3,href:4,description:5,centered:6})}}const lt=t=>({}),Ie=t=>({}),nt=t=>({}),pe=t=>({});function Le(t){let e,n,l;return n=new Ne({props:{name:t[13]?"chevron-up":"chevron-down"}}),{c(){e=P("div"),ce(n.$$.fragment),this.h()},l(s){e=U(s,"DIV",{class:!0});var a=V(e);de(n.$$.fragment,a),a.forEach(S),this.h()},h(){w(e,"class","flex")},m(s,a){K(s,e,a),me(n,e,null),l=!0},p(s,a){const h={};a&8192&&(h.name=s[13]?"chevron-up":"chevron-down"),n.$set(h)},i(s){l||(p(n.$$.fragment,s),l=!0)},o(s){O(n.$$.fragment,s),l=!1},d(s){s&&S(e),_e(n)}}}function Oe(t){let e,n;return e=new He({props:{class:"absolute top-0 right-0 origin-bottom-left translate-y-[-10px] translate-x-[10px]",type:"count",$$slots:{default:[st]},$$scope:{ctx:t}}}),{c(){ce(e.$$.fragment)},l(l){de(e.$$.fragment,l)},m(l,s){me(e,l,s),n=!0},p(l,s){const a={};s&2097156&&(a.$$scope={dirty:s,ctx:l}),e.$set(a)},i(l){n||(p(e.$$.fragment,l),n=!0)},o(l){O(e.$$.fragment,l),n=!1},d(l){_e(e,l)}}}function st(t){let e;return{c(){e=Ce(t[2])},l(n){e=Me(n,t[2])},m(n,l){K(n,e,l)},p(n,l){l&4&&De(e,n[2])},d(n){n&&S(e)}}}function at(t){let e,n,l,s,a,h,o,d,u,i,_;const b=t[20].leading,v=y(b,t,t[21],pe),N=t[20].default,E=y(N,t,t[21],null);let g=t[4]&&Le(t);const C=t[20].trailing,M=y(C,t,t[21],Ie);let f=t[2]>0&&Oe(t),T=[{id:t[5]},{disabled:t[3]},{type:"button"},{"aria-haspopup":o=!t[3]},{"aria-controls":t[1]},{"aria-expanded":t[13]},{"aria-label":t[6]},{class:d="menu-button "+t[10]+" "+t[0]},t[18]],D={};for(let m=0;m{g=null}),Z()),M&&M.p&&(!u||r&2097152)&&B(M,C,m,m[21],u?F(C,m[21],r,lt):j(m[21]),Ie),m[2]>0?f?(f.p(m,r),r&4&&p(f,1)):(f=Oe(m),f.c(),p(f,1),f.m(e,null)):f&&(Y(),O(f,1,1,()=>{f=null}),Z()),H(e,D=x(T,[(!u||r&32)&&{id:m[5]},(!u||r&8)&&{disabled:m[3]},{type:"button"},(!u||r&8&&o!==(o=!m[3]))&&{"aria-haspopup":o},(!u||r&2)&&{"aria-controls":m[1]},(!u||r&8192)&&{"aria-expanded":m[13]},(!u||r&64)&&{"aria-label":m[6]},(!u||r&1025&&d!==(d="menu-button "+m[10]+" "+m[0]))&&{class:d},r&262144&&m[18]])),I(e,"unroundLeft",m[9]),I(e,"unroundRight",m[8]),I(e,"active",m[11]),I(e,"unround",m[7]),I(e,"round",m[12]),I(e,"svelte-4tb2vr",!0)},i(m){u||(p(v,m),p(E,m),p(g),p(M,m),p(f),u=!0)},o(m){O(v,m),O(E,m),O(g),O(M,m),O(f),u=!1},d(m){m&&S(e),v&&v.d(m),E&&E.d(m),g&&g.d(),M&&M.d(m),f&&f.d(),i=!1,ue(_)}}}function it(t,e,n){const l=["class","controls","count","disabled","hasIndicator","id","label","unround","unroundRight","unroundLeft","variant","active","round"];let s=Q(e,l),a,h,{$$slots:o={},$$scope:d}=e;const u=ye(o);let{class:i=""}=e,{controls:_}=e,{count:b=0}=e,{disabled:v=!1}=e,{hasIndicator:N=!1}=e,{id:E=null}=e,{label:g=null}=e,{unround:C=!1}=e,{unroundRight:M=!1}=e,{unroundLeft:f=!1}=e,{variant:T="secondary"}=e,{active:D=!1}=e,{round:m=!1}=e;const r=oe(),{open:c,menuElement:L}=re(ne);X(t,c,k=>n(13,h=k)),X(t,L,k=>n(22,a=k));const q=()=>{c.update(k=>{let se=k;return v||(se=!k),r("click",{open:se}),se})},Se=k=>{switch(k.key){case"Escape":J(c,h=!1,h);break;case"ArrowDown":k.preventDefault(),h?Ae():J(c,h=!0,h);break}},Ae=()=>{const k=Array.from(a.querySelectorAll(ie));k&&k[0]&&requestAnimationFrame(()=>k[0].focus())};return t.$$set=k=>{e=A(A({},e),le(k)),n(18,s=Q(e,l)),"class"in k&&n(0,i=k.class),"controls"in k&&n(1,_=k.controls),"count"in k&&n(2,b=k.count),"disabled"in k&&n(3,v=k.disabled),"hasIndicator"in k&&n(4,N=k.hasIndicator),"id"in k&&n(5,E=k.id),"label"in k&&n(6,g=k.label),"unround"in k&&n(7,C=k.unround),"unroundRight"in k&&n(8,M=k.unroundRight),"unroundLeft"in k&&n(9,f=k.unroundLeft),"variant"in k&&n(10,T=k.variant),"active"in k&&n(11,D=k.active),"round"in k&&n(12,m=k.round),"$$scope"in k&&n(21,d=k.$$scope)},[i,_,b,v,N,E,g,C,M,f,T,D,m,h,c,L,q,Se,s,u,o,d]}class bt extends ${constructor(e){super(),ee(this,e,it,at,te,{class:0,controls:1,count:2,disabled:3,hasIndicator:4,id:5,label:6,unround:7,unroundRight:8,unroundLeft:9,variant:10,active:11,round:12})}}function ut(t){let e,n,l,s,a;const h=t[11].default,o=y(h,t,t[10],null);let d=[{role:"menu"},{class:n="menu "+t[3]+" "+t[1]},{"aria-labelledby":t[2]},{tabindex:l=-1},{id:t[2]},t[8]],u={};for(let i=0;i{s=je(e,Ge,{duration:100}),s.start()}),a=!0)},o(i){O(o,i),a=!1},d(i){i&&S(e),o&&o.d(i),t[12](null)}}}function ot(t,e,n){const l=["class","id","keepOpen","position","menuElement"];let s=Q(e,l),a,h,o,{$$slots:d={},$$scope:u}=e,{class:i=""}=e,{id:_}=e,{keepOpen:b=!1}=e,{position:v="left"}=e,{menuElement:N=null}=e;const{keepOpen:E,menuElement:g,open:C}=re(ne);X(t,E,f=>n(14,h=f)),X(t,g,f=>n(13,a=f)),X(t,C,f=>n(4,o=f));function M(f){Fe[f?"unshift":"push"](()=>{N=f,n(0,N)})}return t.$$set=f=>{e=A(A({},e),le(f)),n(8,s=Q(e,l)),"class"in f&&n(1,i=f.class),"id"in f&&n(2,_=f.id),"keepOpen"in f&&n(9,b=f.keepOpen),"position"in f&&n(3,v=f.position),"menuElement"in f&&n(0,N=f.menuElement),"$$scope"in f&&n(10,u=f.$$scope)},t.$$.update=()=>{t.$$.dirty&512&&J(E,h=b,h),t.$$.dirty&1&&J(g,a=N,a)},[N,i,_,v,o,E,g,C,s,b,u,d,M]}class gt extends ${constructor(e){super(),ee(this,e,ot,ut,te,{class:1,id:2,keepOpen:9,position:3,menuElement:0})}}export{_t as M,bt as a,gt as b,Ke as c,ht as d,mt as e,Ge as f}; diff --git a/ui/assets/local/_app/immutable/chunks/modal.0783f753.js b/ui/assets/local/_app/immutable/chunks/modal.0783f753.js deleted file mode 100644 index ae3299992c..0000000000 --- a/ui/assets/local/_app/immutable/chunks/modal.0783f753.js +++ /dev/null @@ -1 +0,0 @@ -import{S as be,b as ve,a as Te,G as ae,N as W,m as j,c as R,w as X,C as Y,p as B,q as G,d as z,k as N,x as Z,D as w,u as C,P as F,O as ie,f as x,L as k,E as $,Q as p,$ as De,ag as ke,j as E,z as oe,g as y,h as ne,H as se,I as fe,J as re,y as ee,R as Ee,F as te,r as Me,T as de,M as Ce,U as ce,A as Ne}from"./index.09834243.js";import{B as he}from"./button.ce5dce2f.js";import{I as ye}from"./icon-button.b5ab850e.js";const Ie=t=>({}),ue=t=>({}),Ae=t=>({}),me=t=>({});function ge(t){let e,l;return e=new ye({props:{label:t[3],icon:"close",class:"float-right m-4"}}),e.$on("click",t[12]),{c(){Y(e.$$.fragment)},l(i){w(e.$$.fragment,i)},m(i,r){$(e,i,r),l=!0},p(i,r){const g={};r&8&&(g.label=i[3]),e.$set(g)},i(i){l||(E(e.$$.fragment,i),l=!0)},o(i){y(e.$$.fragment,i),l=!1},d(i){te(e,i)}}}function Fe(t){let e;return{c(){e=X(t[3])},l(l){e=Z(l,t[3])},m(l,i){x(l,e,i)},p(l,i){i&8&&ee(e,l[3])},d(l){l&&N(e)}}}function _e(t){let e,l;return e=new he({props:{variant:t[4],loading:t[7],disabled:t[5]||t[7],"data-testid":"confirm-modal-button",type:"submit",$$slots:{default:[qe]},$$scope:{ctx:t}}}),{c(){Y(e.$$.fragment)},l(i){w(e.$$.fragment,i)},m(i,r){$(e,i,r),l=!0},p(i,r){const g={};r&16&&(g.variant=i[4]),r&128&&(g.loading=i[7]),r&160&&(g.disabled=i[5]||i[7]),r&4194308&&(g.$$scope={dirty:r,ctx:i}),e.$set(g)},i(i){l||(E(e.$$.fragment,i),l=!0)},o(i){y(e.$$.fragment,i),l=!1},d(i){te(e,i)}}}function qe(t){let e;return{c(){e=X(t[2])},l(l){e=Z(l,t[2])},m(l,i){x(l,e,i)},p(l,i){i&4&&ee(e,l[2])},d(l){l&&N(e)}}}function Le(t){let e,l,i,r,g,h,_,O,b,q,L,P,v,T,S,D,I,d,c,H,s=!t[7]&&ge(t);const V=t[20].title,u=ae(V,t,t[22],me),K=t[20].content,m=ae(K,t,t[22],ue);T=new he({props:{variant:"secondary",disabled:t[7],$$slots:{default:[Fe]},$$scope:{ctx:t}}}),T.$on("click",t[12]);let f=!t[1]&&_e(t),o=[{id:t[9]},{class:D="body "+t[10]},{"aria-modal":"true"},{"aria-labelledby":"modal-title"},{"data-testid":I=t[16]["data-testid"]},t[17]],A={};for(let a=0;a{s=null}),ne()):s?(s.p(a,n),n&128&&E(s,1)):(s=ge(a),s.c(),E(s,1),s.m(e,l)),u&&u.p&&(!d||n&4194304)&&se(u,V,a,a[22],d?re(V,a[22],n,Ae):fe(a[22]),me),(!d||n&512&&r!==(r="modal-title-"+a[9]))&&C(i,"id",r),m&&m.p&&(!d||n&4194304)&&se(m,K,a,a[22],d?re(K,a[22],n,Ie):fe(a[22]),ue),(!d||n&1)&&ee(q,a[0]),(!d||n&1)&&F(b,"hidden",!a[0]),(!d||n&512&&L!==(L="modal-content-"+a[9]))&&C(_,"id",L);const M={};n&128&&(M.disabled=a[7]),n&4194312&&(M.$$scope={dirty:n,ctx:a}),T.$set(M),a[1]?f&&(oe(),y(f,1,1,()=>{f=null}),ne()):f?(f.p(a,n),n&2&&E(f,1)):(f=_e(a),f.c(),E(f,1),f.m(v,null)),ie(e,A=Ee(o,[(!d||n&512)&&{id:a[9]},(!d||n&1024&&D!==(D="body "+a[10]))&&{class:D},{"aria-modal":"true"},{"aria-labelledby":"modal-title"},(!d||n&65536&&I!==(I=a[16]["data-testid"]))&&{"data-testid":I},n&131072&&a[17]])),F(e,"large",a[6]),F(e,"hightlightNav",a[8]),F(e,"svelte-9mpp9v",!0)},i(a){d||(E(s),E(u,a),E(m,a),E(T.$$.fragment,a),E(f),d=!0)},o(a){y(s),y(u,a),y(m,a),y(T.$$.fragment,a),y(f),d=!1},d(a){a&&N(e),s&&s.d(),u&&u.d(a),m&&m.d(a),te(T),f&&f.d(),t[21](null),c=!1,Me(H)}}}function Oe(t,e,l){const i=["hideConfirm","confirmText","cancelText","confirmType","confirmDisabled","large","loading","hightlightNav","id","open","error","class","toggleModal"];let r=de(e,i),{$$slots:g={},$$scope:h}=e,{hideConfirm:_=!1}=e,{confirmText:O}=e,{cancelText:b}=e,{confirmType:q="primary"}=e,{confirmDisabled:L=!1}=e,{large:P=!1}=e,{loading:v=!1}=e,{hightlightNav:T=!1}=e,{id:S}=e,{open:D}=e,{error:I=""}=e,{class:d=""}=e,c;const H=()=>{D?c==null||c.showModal():c==null||c.close()},s=Ce(),V=()=>{s("cancelModal"),l(18,D=!1),l(0,I="")},u=()=>{s("confirmModal")},K=o=>{if(!D)return;const A=Array.from(c.querySelectorAll('button, input, div[contenteditable="true"]')).filter(M=>M instanceof HTMLDivElement?M.isContentEditable:!M.disabled),a=A[0],n=A[A.length-1];o.key==="Tab"&&(o.shiftKey?document.activeElement===a&&(n.focus(),o.preventDefault()):document.activeElement===n&&(a.focus(),o.preventDefault()))},m=o=>{o.target===c&&V()};function f(o){Ne[o?"unshift":"push"](()=>{c=o,l(11,c)})}return t.$$set=o=>{l(16,e=W(W({},e),ce(o))),l(17,r=de(e,i)),"hideConfirm"in o&&l(1,_=o.hideConfirm),"confirmText"in o&&l(2,O=o.confirmText),"cancelText"in o&&l(3,b=o.cancelText),"confirmType"in o&&l(4,q=o.confirmType),"confirmDisabled"in o&&l(5,L=o.confirmDisabled),"large"in o&&l(6,P=o.large),"loading"in o&&l(7,v=o.loading),"hightlightNav"in o&&l(8,T=o.hightlightNav),"id"in o&&l(9,S=o.id),"open"in o&&l(18,D=o.open),"error"in o&&l(0,I=o.error),"class"in o&&l(10,d=o.class),"$$scope"in o&&l(22,h=o.$$scope)},t.$$.update=()=>{t.$$.dirty&262144&&H(),t.$$.dirty&264192&&D&&c&&c.focus()},e=ce(e),[I,_,O,b,q,L,P,v,T,S,d,c,V,u,K,m,e,r,D,H,g,f,h]}class je extends be{constructor(e){super(),ve(this,e,Oe,Le,Te,{hideConfirm:1,confirmText:2,cancelText:3,confirmType:4,confirmDisabled:5,large:6,loading:7,hightlightNav:8,id:9,open:18,error:0,class:10,toggleModal:19})}get toggleModal(){return this.$$.ctx[19]}}export{je as M}; diff --git a/ui/assets/local/_app/immutable/chunks/modal.25f32d75.js b/ui/assets/local/_app/immutable/chunks/modal.25f32d75.js new file mode 100644 index 0000000000..f711df8387 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/modal.25f32d75.js @@ -0,0 +1 @@ +import{S as be,b as ve,a as Te,G as ae,N as X,m as B,c as S,w as Y,C as Z,p as F,q as G,d as z,k as C,x as p,D as w,u as D,P as I,O as ie,f as x,L as T,E as $,Q as W,ag as Me,a2 as ke,j as M,z as se,g as E,h as oe,H as ne,I as fe,J as re,y as ee,R as De,F as te,r as Ce,T as de,M as Ee,U as ce,A as Ne}from"./index.09834243.js";import{B as he}from"./button.ce5dce2f.js";import{e as Ie}from"./menu.4ba49cb6.js";import{I as ye}from"./icon-button.b5ab850e.js";const Oe=t=>({}),me=t=>({}),Pe=t=>({}),ue=t=>({});function ge(t){let e,a;return e=new ye({props:{label:t[3],icon:"close",class:"float-right m-4"}}),e.$on("click",t[12]),{c(){Z(e.$$.fragment)},l(i){w(e.$$.fragment,i)},m(i,f){$(e,i,f),a=!0},p(i,f){const u={};f&8&&(u.label=i[3]),e.$set(u)},i(i){a||(M(e.$$.fragment,i),a=!0)},o(i){E(e.$$.fragment,i),a=!1},d(i){te(e,i)}}}function Ve(t){let e;return{c(){e=Y(t[3])},l(a){e=p(a,t[3])},m(a,i){x(a,e,i)},p(a,i){i&8&&ee(e,a[3])},d(a){a&&C(e)}}}function _e(t){let e,a;return e=new he({props:{variant:t[4],loading:t[7],disabled:t[5]||t[7],"data-testid":"confirm-modal-button",type:"submit",$$slots:{default:[je]},$$scope:{ctx:t}}}),{c(){Z(e.$$.fragment)},l(i){w(e.$$.fragment,i)},m(i,f){$(e,i,f),a=!0},p(i,f){const u={};f&16&&(u.variant=i[4]),f&128&&(u.loading=i[7]),f&160&&(u.disabled=i[5]||i[7]),f&2097156&&(u.$$scope={dirty:f,ctx:i}),e.$set(u)},i(i){a||(M(e.$$.fragment,i),a=!0)},o(i){E(e.$$.fragment,i),a=!1},d(i){te(e,i)}}}function je(t){let e;return{c(){e=Y(t[2])},l(a){e=p(a,t[2])},m(a,i){x(a,e,i)},p(a,i){i&4&&ee(e,a[2])},d(a){a&&C(e)}}}function qe(t){let e,a,i,f,u,_,g,P,h,y,O,V,b,v,j,k,N,r,d,L,n=!t[7]&&ge(t);const q=t[19].title,c=ae(q,t,t[21],ue),R=t[19].content,m=ae(R,t,t[21],me);v=new he({props:{variant:"secondary",disabled:t[7],$$slots:{default:[Ve]},$$scope:{ctx:t}}}),v.$on("click",t[12]);let l=!t[1]&&_e(t),K=[{id:t[9]},{class:k="body "+t[10]},{"aria-modal":"true"},{"aria-labelledby":"modal-title"},{"data-testid":N=t[15]["data-testid"]},t[16]],H={};for(let s=0;s{n=null}),oe()):n?(n.p(s,o),o&128&&M(n,1)):(n=ge(s),n.c(),M(n,1),n.m(e,a)),c&&c.p&&(!r||o&2097152)&&ne(c,q,s,s[21],r?re(q,s[21],o,Pe):fe(s[21]),ue),(!r||o&512&&f!==(f="modal-title-"+s[9]))&&D(i,"id",f),m&&m.p&&(!r||o&2097152)&&ne(m,R,s,s[21],r?re(R,s[21],o,Oe):fe(s[21]),me),(!r||o&1)&&ee(y,s[0]),(!r||o&1)&&I(h,"hidden",!s[0]),(!r||o&512&&O!==(O="modal-content-"+s[9]))&&D(g,"id",O);const A={};o&128&&(A.disabled=s[7]),o&2097160&&(A.$$scope={dirty:o,ctx:s}),v.$set(A),s[1]?l&&(se(),E(l,1,1,()=>{l=null}),oe()):l?(l.p(s,o),o&2&&M(l,1)):(l=_e(s),l.c(),M(l,1),l.m(b,null)),ie(e,H=De(K,[(!r||o&512)&&{id:s[9]},(!r||o&1024&&k!==(k="body "+s[10]))&&{class:k},{"aria-modal":"true"},{"aria-labelledby":"modal-title"},(!r||o&32768&&N!==(N=s[15]["data-testid"]))&&{"data-testid":N},o&65536&&s[16]])),I(e,"large",s[6]),I(e,"hightlightNav",s[8]),I(e,"svelte-9mpp9v",!0)},i(s){r||(M(n),M(c,s),M(m,s),M(v.$$.fragment,s),M(l),r=!0)},o(s){E(n),E(c,s),E(m,s),E(v.$$.fragment,s),E(l),r=!1},d(s){s&&C(e),n&&n.d(),c&&c.d(s),m&&m.d(s),te(v),l&&l.d(),t[20](null),d=!1,Ce(L)}}}function Ae(t,e,a){const i=["hideConfirm","confirmText","cancelText","confirmType","confirmDisabled","large","loading","hightlightNav","id","open","error","class","toggleModal"];let f=de(e,i),{$$slots:u={},$$scope:_}=e,{hideConfirm:g=!1}=e,{confirmText:P}=e,{cancelText:h}=e,{confirmType:y="primary"}=e,{confirmDisabled:O=!1}=e,{large:V=!1}=e,{loading:b=!1}=e,{hightlightNav:v=!1}=e,{id:j}=e,{open:k}=e,{error:N=""}=e,{class:r=""}=e,d;const L=()=>{k?d==null||d.showModal():d==null||d.close()},n=Ee(),q=()=>{n("cancelModal"),a(17,k=!1),a(0,N="")},c=()=>{n("confirmModal")},R=l=>{l.target===d&&q()};function m(l){Ne[l?"unshift":"push"](()=>{d=l,a(11,d)})}return t.$$set=l=>{a(15,e=X(X({},e),ce(l))),a(16,f=de(e,i)),"hideConfirm"in l&&a(1,g=l.hideConfirm),"confirmText"in l&&a(2,P=l.confirmText),"cancelText"in l&&a(3,h=l.cancelText),"confirmType"in l&&a(4,y=l.confirmType),"confirmDisabled"in l&&a(5,O=l.confirmDisabled),"large"in l&&a(6,V=l.large),"loading"in l&&a(7,b=l.loading),"hightlightNav"in l&&a(8,v=l.hightlightNav),"id"in l&&a(9,j=l.id),"open"in l&&a(17,k=l.open),"error"in l&&a(0,N=l.error),"class"in l&&a(10,r=l.class),"$$scope"in l&&a(21,_=l.$$scope)},t.$$.update=()=>{t.$$.dirty&131072&&L(),t.$$.dirty&133120&&k&&d&&d.focus()},e=ce(e),[N,g,P,h,y,O,V,b,v,j,r,d,q,c,R,e,f,k,L,u,m,_]}class Re extends be{constructor(e){super(),ve(this,e,Ae,qe,Te,{hideConfirm:1,confirmText:2,cancelText:3,confirmType:4,confirmDisabled:5,large:6,loading:7,hightlightNav:8,id:9,open:17,error:0,class:10,toggleModal:18})}get toggleModal(){return this.$$.ctx[18]}}export{Re as M}; diff --git a/ui/assets/local/_app/immutable/chunks/namespaces-service.5f534be1.js b/ui/assets/local/_app/immutable/chunks/namespaces-service.5add732a.js similarity index 78% rename from ui/assets/local/_app/immutable/chunks/namespaces-service.5f534be1.js rename to ui/assets/local/_app/immutable/chunks/namespaces-service.5add732a.js index 91d71b396a..1332c18e65 100644 --- a/ui/assets/local/_app/immutable/chunks/namespaces-service.5f534be1.js +++ b/ui/assets/local/_app/immutable/chunks/namespaces-service.5add732a.js @@ -1 +1 @@ -import{n as c}from"./namespaces.5721b9bd.js";import{t as p}from"./toaster.d089c03c.js";import{p as u}from"./paginated.713346b6.js";import{r as f,a as i}from"./route-for-api.6f64f216.js";const h={namespaces:[]};async function N(n,e=fetch){const{showTemporalSystemNamespace:o,runtimeEnvironment:a}=n;if(a.isCloud){c.set([]);return}try{const s=f("namespaces"),r=await u(async m=>i(s,{request:e,token:m,onError:()=>p.push({variant:"error",message:"Unable to fetch namespaces"})})),t=((r==null?void 0:r.namespaces)??[]).filter(m=>o||m.namespaceInfo.name!=="temporal-system");c.set(t)}catch{c.set([])}}async function d(n,e,o=fetch){var t;const[a]=h.namespaces;if((t=e==null?void 0:e.runtimeEnvironment)!=null&&t.isCloud)return a;const s=f("namespace",{namespace:n});return await i(s,{request:o,onError:()=>p.push({variant:"error",message:"Unable to fetch namespaces"})})??a}export{d as a,N as f}; +import{n as c}from"./namespaces.5ad7f936.js";import{t as p}from"./toaster.a0b7d8ad.js";import{p as u}from"./paginated.a1dfd6c1.js";import{r as f,a as i}from"./route-for-api.a8b11085.js";const h={namespaces:[]};async function N(n,e=fetch){const{showTemporalSystemNamespace:o,runtimeEnvironment:a}=n;if(a.isCloud){c.set([]);return}try{const s=f("namespaces"),r=await u(async m=>i(s,{request:e,token:m,onError:()=>p.push({variant:"error",message:"Unable to fetch namespaces"})})),t=((r==null?void 0:r.namespaces)??[]).filter(m=>o||m.namespaceInfo.name!=="temporal-system");c.set(t)}catch{c.set([])}}async function d(n,e,o=fetch){var t;const[a]=h.namespaces;if((t=e==null?void 0:e.runtimeEnvironment)!=null&&t.isCloud)return a;const s=f("namespace",{namespace:n});return await i(s,{request:o,onError:()=>p.push({variant:"error",message:"Unable to fetch namespaces"})})??a}export{d as a,N as f}; diff --git a/ui/assets/local/_app/immutable/chunks/namespaces.5721b9bd.js b/ui/assets/local/_app/immutable/chunks/namespaces.5721b9bd.js deleted file mode 100644 index c8067168e0..0000000000 --- a/ui/assets/local/_app/immutable/chunks/namespaces.5721b9bd.js +++ /dev/null @@ -1 +0,0 @@ -import{w as s}from"./singletons.aae8f11e.js";import{p as a}from"./persist-store.ad106cab.js";const r=a("lastNamespace","default",!0),o=s([]);export{r as l,o as n}; diff --git a/ui/assets/local/_app/immutable/chunks/namespaces.5ad7f936.js b/ui/assets/local/_app/immutable/chunks/namespaces.5ad7f936.js new file mode 100644 index 0000000000..5cf417facc --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/namespaces.5ad7f936.js @@ -0,0 +1 @@ +import{w as s}from"./singletons.741208bb.js";import{p as a}from"./persist-store.47877c2b.js";const r=a("lastNamespace","default",!0),o=s([]);export{r as l,o as n}; diff --git a/ui/assets/local/_app/immutable/chunks/navigation.8b74a406.js b/ui/assets/local/_app/immutable/chunks/navigation.3b6dd1c7.js similarity index 69% rename from ui/assets/local/_app/immutable/chunks/navigation.8b74a406.js rename to ui/assets/local/_app/immutable/chunks/navigation.3b6dd1c7.js index ee767dd4be..4afe19a4e5 100644 --- a/ui/assets/local/_app/immutable/chunks/navigation.8b74a406.js +++ b/ui/assets/local/_app/immutable/chunks/navigation.3b6dd1c7.js @@ -1 +1 @@ -import{h as a}from"./singletons.aae8f11e.js";a.disable_scroll_handling;const t=a.goto;a.invalidate;a.invalidateAll;a.preload_data;a.preload_code;a.before_navigate;const o=a.after_navigate;export{o as a,t as g}; +import{h as a}from"./singletons.741208bb.js";a.disable_scroll_handling;const t=a.goto;a.invalidate;a.invalidateAll;a.preload_data;a.preload_code;a.before_navigate;const o=a.after_navigate;export{o as a,t as g}; diff --git a/ui/assets/local/_app/immutable/chunks/option.9ca3e3be.js b/ui/assets/local/_app/immutable/chunks/option.1c804512.js similarity index 98% rename from ui/assets/local/_app/immutable/chunks/option.9ca3e3be.js rename to ui/assets/local/_app/immutable/chunks/option.1c804512.js index f27f55df76..e73c87ded0 100644 --- a/ui/assets/local/_app/immutable/chunks/option.9ca3e3be.js +++ b/ui/assets/local/_app/immutable/chunks/option.1c804512.js @@ -1 +1 @@ -import{S as te,b as le,a as ne,C as E,D as L,E as M,j as _,g as b,F as I,T as Y,K as N,ae as ce,o as ae,a5 as z,N as V,U as de,m as j,w as me,c as q,p as B,q as se,x as ge,k as p,d as U,u as Q,P as k,f as C,L as _e,y as be,n as he,e as Z,O as w,R as pe,z as ve,h as Ce,G as W,H as F,I as J,J as P,af as ye,M as ke,a6 as Ee,A as Le}from"./index.09834243.js";import"./badge.f53d8aa8.js";import{I as oe}from"./icon.3cd9fa27.js";import{M as Me,a as Ie,b as De,d as Se}from"./menu.c7988d0b.js";import{w as H}from"./singletons.aae8f11e.js";const ue=[{label:"Every month",value:"*"},{label:"January",value:"1"},{label:"February",value:"2"},{label:"March",value:"3"},{label:"April",value:"4"},{label:"May",value:"5"},{label:"June",value:"6"},{label:"July",value:"7"},{label:"August",value:"8"},{label:"September",value:"9"},{label:"October",value:"10"},{label:"November",value:"11"},{label:"December",value:"12"}],xe=[{label:"Everyday",value:"*"},{label:"Weekdays",value:"1,2,3,4,5"},{label:"Weekends",value:"6,7"}],$e=[{label:"Sunday",value:"7"},{label:"Monday",value:"1"},{label:"Tuesday",value:"2"},{label:"Wednesday",value:"3"},{label:"Thursday",value:"4"},{label:"Friday",value:"5"},{label:"Saturday",value:"6"}],Re=[31,28,31,30,31,30,31,31,30,31,30,31],Ae=n=>n%4===0,Ne=()=>Array.from({length:42}).map(()=>0),Oe=(n,e)=>n!==1?Re[n]:Ae(e)?29:28,Te=(n,e)=>{const t=new Date(e,n,1).getMonth();return{name:ue[t],days:Oe(t,e)}},et=n=>ue.filter(e=>e.value!=="*")[n],tt=(n,e)=>{const{days:a}=Te(n,e),t=Ne(),l=new Date(e,n,1).getDay();Array.from({length:a}).forEach((r,f)=>{const o=l+f;t[o]=f+1});const s=t.map(r=>Array.isArray(r)?void 0:r);return s[35]?s:s.slice(0,-7)};function x(n){let e,a;return e=new oe({props:{slot:"trailing",name:"lock"}}),{c(){E(e.$$.fragment)},l(t){L(e.$$.fragment,t)},m(t,l){M(e,t,l),a=!0},i(t){a||(_(e.$$.fragment,t),a=!0)},o(t){b(e.$$.fragment,t),a=!1},d(t){I(e,t)}}}function He(n){let e,a,t,l,s,r=[{id:n[3]},{value:a=!n[0]&&n[4]!==""?n[4]:n[9]},{tabindex:"-1"},{class:"select-input"},{disabled:!0},n[14]],f={};for(let u=0;u{o=null}),Ce())},i(u){s||(_(o),s=!0)},o(u){b(o),s=!1},d(u){u&&p(e),u&&p(t),o&&o.d(u),u&&p(l)}}}function We(n){let e,a;return e=new oe({props:{slot:"leading",name:n[6]}}),{c(){E(e.$$.fragment)},l(t){L(e.$$.fragment,t)},m(t,l){M(e,t,l),a=!0},p(t,l){const s={};l&64&&(s.name=t[6]),e.$set(s)},i(t){a||(_(e.$$.fragment,t),a=!0)},o(t){b(e.$$.fragment,t),a=!1},d(t){I(e,t)}}}function Fe(n){let e;const a=n[16].default,t=W(a,n,n[17],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,s){t&&t.m(l,s),e=!0},p(l,s){t&&t.p&&(!e||s&131072)&&F(t,a,l,l[17],e?P(a,l[17],s,null):J(l[17]),null)},i(l){e||(_(t,l),e=!0)},o(l){b(t,l),e=!1},d(l){t&&t.d(l)}}}function Je(n){let e,a,t,l,s,r,f;return l=new Ie({props:{hasIndicator:!n[5],disabled:n[5],unroundLeft:n[8],unroundRight:n[7],controls:n[3]+"-select",$$slots:{leading:[We],default:[He]},$$scope:{ctx:n}}}),r=new De({props:{role:"listbox",id:n[3]+"-select",$$slots:{default:[Fe]},$$scope:{ctx:n}}}),{c(){e=j("label"),a=me(n[1]),t=q(),E(l.$$.fragment),s=q(),E(r.$$.fragment),this.h()},l(o){e=B(o,"LABEL",{for:!0});var u=se(e);a=ge(u,n[1]),u.forEach(p),t=U(o),L(l.$$.fragment,o),s=U(o),L(r.$$.fragment,o),this.h()},h(){Q(e,"for",n[3]),k(e,"sr-only",n[2])},m(o,u){C(o,e,u),_e(e,a),C(o,t,u),M(l,o,u),C(o,s,u),M(r,o,u),f=!0},p(o,u){(!f||u&2)&&be(a,o[1]),(!f||u&8)&&Q(e,"for",o[3]),(!f||u&4)&&k(e,"sr-only",o[2]);const c={};u&32&&(c.hasIndicator=!o[5]),u&32&&(c.disabled=o[5]),u&256&&(c.unroundLeft=o[8]),u&128&&(c.unroundRight=o[7]),u&8&&(c.controls=o[3]+"-select"),u&148089&&(c.$$scope={dirty:u,ctx:o}),l.$set(c);const m={};u&8&&(m.id=o[3]+"-select"),u&131072&&(m.$$scope={dirty:u,ctx:o}),r.$set(m)},i(o){f||(_(l.$$.fragment,o),_(r.$$.fragment,o),f=!0)},o(o){b(l.$$.fragment,o),b(r.$$.fragment,o),f=!1},d(o){o&&p(e),o&&p(t),I(l,o),o&&p(s),I(r,o)}}}function Pe(n){let e,a;return e=new Me({props:{class:"w-full",open:n[13],$$slots:{default:[Je]},$$scope:{ctx:n}}}),{c(){E(e.$$.fragment)},l(t){L(e.$$.fragment,t)},m(t,l){M(e,t,l),a=!0},p(t,[l]){const s={};l&148479&&(s.$$scope={dirty:l,ctx:t}),e.$set(s)},i(t){a||(_(e.$$.fragment,t),a=!0)},o(t){b(e.$$.fragment,t),a=!1},d(t){I(e,t)}}}const ie="select-context";function ze(n,e,a){const t=["label","labelHidden","id","value","placeholder","disabled","leadingIcon","unroundRight","unroundLeft","onChange"];let l=Y(e,t),s,r,f,{$$slots:o={},$$scope:u}=e,{label:c}=e,{labelHidden:m=!1}=e,{id:D}=e,{value:g=void 0}=e,{placeholder:v=""}=e,{disabled:h=!1}=e,{leadingIcon:O=null}=e,{unroundRight:y=!1}=e,{unroundLeft:T=!1}=e,{onChange:S=he}=e;const d=H(g);N(n,d,i=>a(19,f=i));const R=H([]);N(n,R,i=>a(18,r=i));const A=H(g==null?void 0:g.toString());N(n,A,i=>a(9,s=i));const G=H(!1),re=i=>{a(0,g=i),S(g)};function K(i){const X=r.find(fe=>fe.value===i);if(X!==void 0)return X.label}return ce(ie,{selectValue:d,selectLabel:A,options:R,open:G,handleChange:re}),ae(()=>{z(A,s=K(g),s)}),n.$$set=i=>{e=V(V({},e),de(i)),a(14,l=Y(e,t)),"label"in i&&a(1,c=i.label),"labelHidden"in i&&a(2,m=i.labelHidden),"id"in i&&a(3,D=i.id),"value"in i&&a(0,g=i.value),"placeholder"in i&&a(4,v=i.placeholder),"disabled"in i&&a(5,h=i.disabled),"leadingIcon"in i&&a(6,O=i.leadingIcon),"unroundRight"in i&&a(7,y=i.unroundRight),"unroundLeft"in i&&a(8,T=i.unroundLeft),"onChange"in i&&a(15,S=i.onChange),"$$scope"in i&&a(17,u=i.$$scope)},n.$$.update=()=>{n.$$.dirty&1&&(z(d,f=g,f),z(A,s=K(g),s))},[g,c,m,D,v,h,O,y,T,s,d,R,A,G,l,S,o,u]}class lt extends te{constructor(e){super(),le(this,e,ze,Pe,ne,{label:1,labelHidden:2,id:3,value:0,placeholder:4,disabled:5,leadingIcon:6,unroundRight:7,unroundLeft:8,onChange:15})}}const Ve=n=>({}),$=n=>({slot:"leading"}),qe=n=>({}),ee=n=>({slot:"trailing"});function Ue(n){let e,a;const t=n[9].default,l=W(t,n,n[11],null);return{c(){e=j("span"),l&&l.c()},l(s){e=B(s,"SPAN",{});var r=se(e);l&&l.l(r),r.forEach(p)},m(s,r){C(s,e,r),l&&l.m(e,null),n[10](e),a=!0},p(s,r){l&&l.p&&(!a||r&2048)&&F(l,t,s,s[11],a?P(t,s[11],r,null):J(s[11]),null)},i(s){a||(_(l,s),a=!0)},o(s){b(l,s),a=!1},d(s){s&&p(e),l&&l.d(s),n[10](null)}}}function je(n){let e;const a=n[9].leading,t=W(a,n,n[11],$);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,s){t&&t.m(l,s),e=!0},p(l,s){t&&t.p&&(!e||s&2048)&&F(t,a,l,l[11],e?P(a,l[11],s,Ve):J(l[11]),$)},i(l){e||(_(t,l),e=!0)},o(l){b(t,l),e=!1},d(l){t&&t.d(l)}}}function Be(n){let e;const a=n[9].trailing,t=W(a,n,n[11],ee);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,s){t&&t.m(l,s),e=!0},p(l,s){t&&t.p&&(!e||s&2048)&&F(t,a,l,l[11],e?P(a,l[11],s,qe):J(l[11]),ee)},i(l){e||(_(t,l),e=!0)},o(l){b(t,l),e=!1},d(l){t&&t.d(l)}}}function Ge(n){let e,a;return e=new Se({props:{role:"option",selected:n[2],description:n[0],$$slots:{trailing:[Be],leading:[je],default:[Ue]},$$scope:{ctx:n}}}),e.$on("click",n[5]),{c(){E(e.$$.fragment)},l(t){L(e.$$.fragment,t)},m(t,l){M(e,t,l),a=!0},p(t,[l]){const s={};l&4&&(s.selected=t[2]),l&1&&(s.description=t[0]),l&2050&&(s.$$scope={dirty:l,ctx:t}),e.$set(s)},i(t){a||(_(e.$$.fragment,t),a=!0)},o(t){b(e.$$.fragment,t),a=!1},d(t){I(e,t)}}}function Ke(n,e,a){let t,l,{$$slots:s={},$$scope:r}=e;const{selectValue:f,handleChange:o,options:u}=ye(ie);N(n,f,d=>a(8,l=d)),N(n,u,d=>a(13,t=d));const c=ke();let{value:m}=e,{description:D=""}=e,g=!1,v,h,O,y;ae(()=>{h&&(y=h.textContent,t.push({value:m,label:y,nativeElement:O}))}),Ee(()=>{let d=t.findIndex(R=>R.value===m);d!==void 0&&t.splice(d,1)});const T=()=>{o(v),c("click",{value:v})};function S(d){Le[d?"unshift":"push"](()=>{h=d,a(1,h)})}return n.$$set=d=>{"value"in d&&a(6,m=d.value),"description"in d&&a(0,D=d.description),"$$scope"in d&&a(11,r=d.$$scope)},n.$$.update=()=>{n.$$.dirty&450&&h&&(a(7,v=m??h.textContent),a(2,g=l===v),y=h.textContent)},[D,h,g,f,u,T,m,v,l,s,S,r]}class nt extends te{constructor(e){super(),le(this,e,Ke,Ge,ne,{value:6,description:0})}}export{nt as O,lt as S,tt as a,et as b,xe as g,ue as m,$e as w}; +import{S as te,b as le,a as ne,C as E,D as L,E as M,j as _,g as b,F as I,T as Y,K as N,ae as ce,o as ae,a5 as z,N as V,U as de,m as j,w as me,c as q,p as B,q as se,x as ge,k as p,d as U,u as Q,P as k,f as C,L as _e,y as be,n as he,e as Z,O as w,R as pe,z as ve,h as Ce,G as W,H as F,I as J,J as P,af as ye,M as ke,a6 as Ee,A as Le}from"./index.09834243.js";import"./badge.f53d8aa8.js";import{I as oe}from"./icon.3cd9fa27.js";import{M as Me,a as Ie,b as De,d as Se}from"./menu.4ba49cb6.js";import{w as H}from"./singletons.741208bb.js";const ue=[{label:"Every month",value:"*"},{label:"January",value:"1"},{label:"February",value:"2"},{label:"March",value:"3"},{label:"April",value:"4"},{label:"May",value:"5"},{label:"June",value:"6"},{label:"July",value:"7"},{label:"August",value:"8"},{label:"September",value:"9"},{label:"October",value:"10"},{label:"November",value:"11"},{label:"December",value:"12"}],xe=[{label:"Everyday",value:"*"},{label:"Weekdays",value:"1,2,3,4,5"},{label:"Weekends",value:"6,7"}],$e=[{label:"Sunday",value:"7"},{label:"Monday",value:"1"},{label:"Tuesday",value:"2"},{label:"Wednesday",value:"3"},{label:"Thursday",value:"4"},{label:"Friday",value:"5"},{label:"Saturday",value:"6"}],Re=[31,28,31,30,31,30,31,31,30,31,30,31],Ae=n=>n%4===0,Ne=()=>Array.from({length:42}).map(()=>0),Oe=(n,e)=>n!==1?Re[n]:Ae(e)?29:28,Te=(n,e)=>{const t=new Date(e,n,1).getMonth();return{name:ue[t],days:Oe(t,e)}},et=n=>ue.filter(e=>e.value!=="*")[n],tt=(n,e)=>{const{days:a}=Te(n,e),t=Ne(),l=new Date(e,n,1).getDay();Array.from({length:a}).forEach((r,f)=>{const o=l+f;t[o]=f+1});const s=t.map(r=>Array.isArray(r)?void 0:r);return s[35]?s:s.slice(0,-7)};function x(n){let e,a;return e=new oe({props:{slot:"trailing",name:"lock"}}),{c(){E(e.$$.fragment)},l(t){L(e.$$.fragment,t)},m(t,l){M(e,t,l),a=!0},i(t){a||(_(e.$$.fragment,t),a=!0)},o(t){b(e.$$.fragment,t),a=!1},d(t){I(e,t)}}}function He(n){let e,a,t,l,s,r=[{id:n[3]},{value:a=!n[0]&&n[4]!==""?n[4]:n[9]},{tabindex:"-1"},{class:"select-input"},{disabled:!0},n[14]],f={};for(let u=0;u{o=null}),Ce())},i(u){s||(_(o),s=!0)},o(u){b(o),s=!1},d(u){u&&p(e),u&&p(t),o&&o.d(u),u&&p(l)}}}function We(n){let e,a;return e=new oe({props:{slot:"leading",name:n[6]}}),{c(){E(e.$$.fragment)},l(t){L(e.$$.fragment,t)},m(t,l){M(e,t,l),a=!0},p(t,l){const s={};l&64&&(s.name=t[6]),e.$set(s)},i(t){a||(_(e.$$.fragment,t),a=!0)},o(t){b(e.$$.fragment,t),a=!1},d(t){I(e,t)}}}function Fe(n){let e;const a=n[16].default,t=W(a,n,n[17],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,s){t&&t.m(l,s),e=!0},p(l,s){t&&t.p&&(!e||s&131072)&&F(t,a,l,l[17],e?P(a,l[17],s,null):J(l[17]),null)},i(l){e||(_(t,l),e=!0)},o(l){b(t,l),e=!1},d(l){t&&t.d(l)}}}function Je(n){let e,a,t,l,s,r,f;return l=new Ie({props:{hasIndicator:!n[5],disabled:n[5],unroundLeft:n[8],unroundRight:n[7],controls:n[3]+"-select",$$slots:{leading:[We],default:[He]},$$scope:{ctx:n}}}),r=new De({props:{role:"listbox",id:n[3]+"-select",$$slots:{default:[Fe]},$$scope:{ctx:n}}}),{c(){e=j("label"),a=me(n[1]),t=q(),E(l.$$.fragment),s=q(),E(r.$$.fragment),this.h()},l(o){e=B(o,"LABEL",{for:!0});var u=se(e);a=ge(u,n[1]),u.forEach(p),t=U(o),L(l.$$.fragment,o),s=U(o),L(r.$$.fragment,o),this.h()},h(){Q(e,"for",n[3]),k(e,"sr-only",n[2])},m(o,u){C(o,e,u),_e(e,a),C(o,t,u),M(l,o,u),C(o,s,u),M(r,o,u),f=!0},p(o,u){(!f||u&2)&&be(a,o[1]),(!f||u&8)&&Q(e,"for",o[3]),(!f||u&4)&&k(e,"sr-only",o[2]);const c={};u&32&&(c.hasIndicator=!o[5]),u&32&&(c.disabled=o[5]),u&256&&(c.unroundLeft=o[8]),u&128&&(c.unroundRight=o[7]),u&8&&(c.controls=o[3]+"-select"),u&148089&&(c.$$scope={dirty:u,ctx:o}),l.$set(c);const m={};u&8&&(m.id=o[3]+"-select"),u&131072&&(m.$$scope={dirty:u,ctx:o}),r.$set(m)},i(o){f||(_(l.$$.fragment,o),_(r.$$.fragment,o),f=!0)},o(o){b(l.$$.fragment,o),b(r.$$.fragment,o),f=!1},d(o){o&&p(e),o&&p(t),I(l,o),o&&p(s),I(r,o)}}}function Pe(n){let e,a;return e=new Me({props:{class:"w-full",open:n[13],$$slots:{default:[Je]},$$scope:{ctx:n}}}),{c(){E(e.$$.fragment)},l(t){L(e.$$.fragment,t)},m(t,l){M(e,t,l),a=!0},p(t,[l]){const s={};l&148479&&(s.$$scope={dirty:l,ctx:t}),e.$set(s)},i(t){a||(_(e.$$.fragment,t),a=!0)},o(t){b(e.$$.fragment,t),a=!1},d(t){I(e,t)}}}const ie="select-context";function ze(n,e,a){const t=["label","labelHidden","id","value","placeholder","disabled","leadingIcon","unroundRight","unroundLeft","onChange"];let l=Y(e,t),s,r,f,{$$slots:o={},$$scope:u}=e,{label:c}=e,{labelHidden:m=!1}=e,{id:D}=e,{value:g=void 0}=e,{placeholder:v=""}=e,{disabled:h=!1}=e,{leadingIcon:O=null}=e,{unroundRight:y=!1}=e,{unroundLeft:T=!1}=e,{onChange:S=he}=e;const d=H(g);N(n,d,i=>a(19,f=i));const R=H([]);N(n,R,i=>a(18,r=i));const A=H(g==null?void 0:g.toString());N(n,A,i=>a(9,s=i));const G=H(!1),re=i=>{a(0,g=i),S(g)};function K(i){const X=r.find(fe=>fe.value===i);if(X!==void 0)return X.label}return ce(ie,{selectValue:d,selectLabel:A,options:R,open:G,handleChange:re}),ae(()=>{z(A,s=K(g),s)}),n.$$set=i=>{e=V(V({},e),de(i)),a(14,l=Y(e,t)),"label"in i&&a(1,c=i.label),"labelHidden"in i&&a(2,m=i.labelHidden),"id"in i&&a(3,D=i.id),"value"in i&&a(0,g=i.value),"placeholder"in i&&a(4,v=i.placeholder),"disabled"in i&&a(5,h=i.disabled),"leadingIcon"in i&&a(6,O=i.leadingIcon),"unroundRight"in i&&a(7,y=i.unroundRight),"unroundLeft"in i&&a(8,T=i.unroundLeft),"onChange"in i&&a(15,S=i.onChange),"$$scope"in i&&a(17,u=i.$$scope)},n.$$.update=()=>{n.$$.dirty&1&&(z(d,f=g,f),z(A,s=K(g),s))},[g,c,m,D,v,h,O,y,T,s,d,R,A,G,l,S,o,u]}class lt extends te{constructor(e){super(),le(this,e,ze,Pe,ne,{label:1,labelHidden:2,id:3,value:0,placeholder:4,disabled:5,leadingIcon:6,unroundRight:7,unroundLeft:8,onChange:15})}}const Ve=n=>({}),$=n=>({slot:"leading"}),qe=n=>({}),ee=n=>({slot:"trailing"});function Ue(n){let e,a;const t=n[9].default,l=W(t,n,n[11],null);return{c(){e=j("span"),l&&l.c()},l(s){e=B(s,"SPAN",{});var r=se(e);l&&l.l(r),r.forEach(p)},m(s,r){C(s,e,r),l&&l.m(e,null),n[10](e),a=!0},p(s,r){l&&l.p&&(!a||r&2048)&&F(l,t,s,s[11],a?P(t,s[11],r,null):J(s[11]),null)},i(s){a||(_(l,s),a=!0)},o(s){b(l,s),a=!1},d(s){s&&p(e),l&&l.d(s),n[10](null)}}}function je(n){let e;const a=n[9].leading,t=W(a,n,n[11],$);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,s){t&&t.m(l,s),e=!0},p(l,s){t&&t.p&&(!e||s&2048)&&F(t,a,l,l[11],e?P(a,l[11],s,Ve):J(l[11]),$)},i(l){e||(_(t,l),e=!0)},o(l){b(t,l),e=!1},d(l){t&&t.d(l)}}}function Be(n){let e;const a=n[9].trailing,t=W(a,n,n[11],ee);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,s){t&&t.m(l,s),e=!0},p(l,s){t&&t.p&&(!e||s&2048)&&F(t,a,l,l[11],e?P(a,l[11],s,qe):J(l[11]),ee)},i(l){e||(_(t,l),e=!0)},o(l){b(t,l),e=!1},d(l){t&&t.d(l)}}}function Ge(n){let e,a;return e=new Se({props:{role:"option",selected:n[2],description:n[0],$$slots:{trailing:[Be],leading:[je],default:[Ue]},$$scope:{ctx:n}}}),e.$on("click",n[5]),{c(){E(e.$$.fragment)},l(t){L(e.$$.fragment,t)},m(t,l){M(e,t,l),a=!0},p(t,[l]){const s={};l&4&&(s.selected=t[2]),l&1&&(s.description=t[0]),l&2050&&(s.$$scope={dirty:l,ctx:t}),e.$set(s)},i(t){a||(_(e.$$.fragment,t),a=!0)},o(t){b(e.$$.fragment,t),a=!1},d(t){I(e,t)}}}function Ke(n,e,a){let t,l,{$$slots:s={},$$scope:r}=e;const{selectValue:f,handleChange:o,options:u}=ye(ie);N(n,f,d=>a(8,l=d)),N(n,u,d=>a(13,t=d));const c=ke();let{value:m}=e,{description:D=""}=e,g=!1,v,h,O,y;ae(()=>{h&&(y=h.textContent,t.push({value:m,label:y,nativeElement:O}))}),Ee(()=>{let d=t.findIndex(R=>R.value===m);d!==void 0&&t.splice(d,1)});const T=()=>{o(v),c("click",{value:v})};function S(d){Le[d?"unshift":"push"](()=>{h=d,a(1,h)})}return n.$$set=d=>{"value"in d&&a(6,m=d.value),"description"in d&&a(0,D=d.description),"$$scope"in d&&a(11,r=d.$$scope)},n.$$.update=()=>{n.$$.dirty&450&&h&&(a(7,v=m??h.textContent),a(2,g=l===v),y=h.textContent)},[D,h,g,f,u,T,m,v,l,s,S,r]}class nt extends te{constructor(e){super(),le(this,e,Ke,Ge,ne,{value:6,description:0})}}export{nt as O,lt as S,tt as a,et as b,xe as g,ue as m,$e as w}; diff --git a/ui/assets/local/_app/immutable/chunks/paginated.713346b6.js b/ui/assets/local/_app/immutable/chunks/paginated.a1dfd6c1.js similarity index 78% rename from ui/assets/local/_app/immutable/chunks/paginated.713346b6.js rename to ui/assets/local/_app/immutable/chunks/paginated.a1dfd6c1.js index 62aacdf516..7b83567c32 100644 --- a/ui/assets/local/_app/immutable/chunks/paginated.713346b6.js +++ b/ui/assets/local/_app/immutable/chunks/paginated.a1dfd6c1.js @@ -1 +1 @@ -import{h as g}from"./route-for-api.6f64f216.js";import{i as c}from"./persist-store.ad106cab.js";const p=(i={},e={})=>{const s={...i};for(const r of Object.keys(e)){const t=s[r];Array.isArray(t)?s[r]=s[r].concat(e[r]):typeof t=="object"&&!Array.isArray(t)?s[r]=p(s[r],e[r]):s[r]=e[r]}return s},k=async(i,{onStart:e,onUpdate:s,onComplete:r,onError:t=g,token:u,previousProps:n}={})=>{!n&&c(e)&&e();try{const a=await i(u),{nextPageToken:f,...y}=a,o=p(n,y);return c(s)&&s(o,y),f?k(i,{onStart:e,onUpdate:s,onComplete:r,token:f,previousProps:o}):(c(r)&&r(o),o)}catch(a){t(a)}};export{k as p}; +import{h as g}from"./route-for-api.a8b11085.js";import{i as c}from"./persist-store.47877c2b.js";const p=(i={},e={})=>{const s={...i};for(const r of Object.keys(e)){const t=s[r];Array.isArray(t)?s[r]=s[r].concat(e[r]):typeof t=="object"&&!Array.isArray(t)?s[r]=p(s[r],e[r]):s[r]=e[r]}return s},k=async(i,{onStart:e,onUpdate:s,onComplete:r,onError:t=g,token:u,previousProps:n}={})=>{!n&&c(e)&&e();try{const a=await i(u),{nextPageToken:f,...y}=a,o=p(n,y);return c(s)&&s(o,y),f?k(i,{onStart:e,onUpdate:s,onComplete:r,token:f,previousProps:o}):(c(r)&&r(o),o)}catch(a){t(a)}};export{k as p}; diff --git a/ui/assets/local/_app/immutable/chunks/pagination.3eb97d83.js b/ui/assets/local/_app/immutable/chunks/pagination.6f99836b.js similarity index 98% rename from ui/assets/local/_app/immutable/chunks/pagination.3eb97d83.js rename to ui/assets/local/_app/immutable/chunks/pagination.6f99836b.js index 2ea5d967b9..eec65db4d6 100644 --- a/ui/assets/local/_app/immutable/chunks/pagination.3eb97d83.js +++ b/ui/assets/local/_app/immutable/chunks/pagination.6f99836b.js @@ -1 +1 @@ -import{S as Qe,b as Ze,a as Xe,N as _e,A as Et,a0 as Lt,C as pe,D as we,E as Re,R as Bt,Y as jt,a1 as Kt,j as R,g as A,F as ke,K as pt,U as Be,G as se,H as ie,I as oe,J as re,e as lt,f as O,z as Pe,h as Se,a7 as Tt,k as I,m as B,p as j,q as K,u as h,n as le,ac as z,a3 as nt,c as Q,d as Z,P as fe,Z as at,L as w,al as zt,Q as ce,r as wt,T as st,ah as Vt,o as Dt,s as Mt,w as ee,x as te,y as Ie}from"./index.09834243.js";import{p as Rt}from"./stores.9d4a2bb0.js";import{u as De}from"./update-query-parameters.b3356c21.js";import{S as Ft,a as Ut}from"./simple-select.1c5b21bd.js";import{j as Ot,w as He}from"./singletons.aae8f11e.js";function it(e,t,n){const l=e.slice();return l[14]=t[n],l}function ot(e){let t,n;return t=new Ut({props:{value:e[14]}}),{c(){pe(t.$$.fragment)},l(l){we(t.$$.fragment,l)},m(l,a){Re(t,l,a),n=!0},p(l,a){const i={};a&1&&(i.value=l[14]),t.$set(i)},i(l){n||(R(t.$$.fragment,l),n=!0)},o(l){A(t.$$.fragment,l),n=!1},d(l){ke(t,l)}}}function Ct(e){let t,n,l=e[0].map(rt),a=[];for(let r=0;rA(a[r],1,1,()=>{a[r]=null});return{c(){for(let r=0;rLt(t,"value",i)),t.$on("change",e[3]),{c(){pe(t.$$.fragment)},l(s){we(t.$$.fragment,s)},m(s,u){Re(t,s,u),l=!0},p(s,[u]){const f=u&20?Bt(a,[u&4&&{id:s[2]},u&16&&jt(s[4]),a[2]]):{};u&2049&&(f.$$scope={dirty:u,ctx:s}),!n&&u&2&&(n=!0,f.value=s[1],Kt(()=>n=!1)),t.$set(f)},i(s){l||(R(t.$$.fragment,s),l=!0)},o(s){A(t.$$.fragment,s),l=!1},d(s){ke(t,s)}}}const rt=e=>e.toString();function qt(e,t,n){let l;pt(e,Rt,b=>n(12,l=b));let{$$slots:a={},$$scope:i}=t,{label:r}=t,{value:s}=t,{options:u=[]}=t,{parameter:f=null}=t,{position:m=void 0}=t;const V=`${f||r}-${m?`${m}-filter`:"filter"}`;let k=f&&l.url.searchParams.get(f)||s&&s.toString();const N=()=>{De({parameter:f,value:k,url:l.url}).then(b=>n(5,s=b))};function X(b){k=b,n(1,k)}return e.$$set=b=>{n(4,t=_e(_e({},t),Be(b))),"label"in b&&n(6,r=b.label),"value"in b&&n(5,s=b.value),"options"in b&&n(0,u=b.options),"parameter"in b&&n(7,f=b.parameter),"position"in b&&n(8,m=b.position),"$$scope"in b&&n(11,i=b.$$scope)},t=Be(t),[u,k,V,N,t,s,r,f,m,a,X,i]}class kt extends Qe{constructor(t){super(),Ze(this,t,qt,Ht,Xe,{label:6,value:5,options:0,parameter:7,position:8})}}function Gt(e){let t,n;return{c(){t=B("div"),this.h()},l(l){t=j(l,"DIV",{class:!0}),K(t).forEach(I),this.h()},h(){h(t,"class",n="background-animate w-full rounded-full bg-gradient-to-r from-gray-100 via-gray-200 to-gray-300 "+e[0].class+" svelte-1hpjfio")},m(l,a){O(l,t,a)},p(l,[a]){a&1&&n!==(n="background-animate w-full rounded-full bg-gradient-to-r from-gray-100 via-gray-200 to-gray-300 "+l[0].class+" svelte-1hpjfio")&&h(t,"class",n)},i:le,o:le,d(l){l&&I(t)}}}function Jt(e,t,n){return e.$$set=l=>{n(0,t=_e(_e({},t),Be(l)))},t=Be(t),[t]}class Nt extends Qe{constructor(t){super(),Ze(this,t,Jt,Gt,Xe,{})}}const Ee=100,je=["100","250","500"],Le="per-page",gl="page",ft=je[je.length-1],Me=(e,t)=>Math.floor(e/t)+1,Qt=(e,t)=>t<=9?new Array(t).fill(0).map((n,l)=>l+1):e<5?[1,2,3,4,5,NaN,t-2,t-1,t]:e>=5&&e<=t-5?[1,2,NaN,e-1,e,e+1,NaN,t-1,t]:e>=t-5?[1,2,NaN,t-5,t-4,t-3,t-2,t-1,t]:[],At=(e,t,n)=>{if(isNaN(e)||e<=1)return 0;if(e>Pt(t,n)){const l=n.length-t;return l>0?l:0}return Math.floor(t*(e-1))},Zt=(e,t,n)=>{const l=Me(e,t);return At(l,t,n)},ut=(e,t)=>Math.min(e-1,t-1),Pt=(e,t)=>Math.ceil(t.length/e),qe=(e,t)=>isNaN(e)||e<0?0:ee>=t.length||e<0,Xt=(e=[],t=Ee,n=0)=>{t=St(t);const l=Zt(Je(n),t,e),a=He(t),i=He(l),r=He(void 0),s=_=>{a.set(Je(_))},u=()=>{N(),i.update(_=>{const c=_+z(a);return Ge(c,e)?_:qe(c,e)})},f=()=>{N(),i.update(_=>{const c=_-z(a);return qe(c,e)})},m=_=>{const c=z(a),g=At(Number(_),c,e),P=e.slice(g,g+c).length;return z(r)>P-1&&r.set(P-1),i.set(g)},V=_=>{const c=Me(Number(_),z(a));m(c)},S=_=>{for(let c=0;c{const c=S(_);return Me(c,z(a))},N=(_=void 0)=>{_===void 0&&r.set(_);const c=e.slice(z(i),z(i)+z(a)).length,g=ut(c,z(a));_<=g&&r.set(_)},X=()=>{const _=e.slice(z(i),z(i)+z(a)).length,c=ut(_,z(a));z(r)===void 0?r.set(0):z(r){const _=z(r)>=1?z(r)-1:0;r.set(_)},{subscribe:T}=Ot([i,a,r],([_,c,g])=>{const P=Pt(c,e),Y=Me(_,c);return{items:e.slice(_,_+c),initialItem:e[0],hasPrevious:!Ge(_-c,e),hasNext:!Ge(_+c,e),startingIndex:_,endingIndex:qe(_+c-1,e),length:e.length,pageSize:c,currentPage:Y,totalPages:P,activeRowIndex:g,pageShortcuts:Qt(Y,P)}});return{subscribe:T,adjustPageSize:s,next:u,previous:f,jumpToPage:m,jumpToIndex:V,findIndex:S,findPage:k,nextRow:X,previousRow:b,setActiveRowIndex:N}},St=(e=Ee)=>{const t=Je(e);return isNaN(t)||!t?Ee:t},Je=(e=0)=>{const t=Number(e);return isNaN(t)||!t?0:Math.abs(t)},Yt=({width:e,height:t,screenWidth:n,breakpoint:l=1279})=>e&&t&&n>l?`position: absolute; right: ${e+20}px; top: -${t}px`:"";const yt=e=>({visibleItems:e[0]&512,initialItem:e[0]&512,activeRowIndex:e[0]&512,setActiveRowIndex:e[0]&128}),ct=e=>({visibleItems:e[9].items,initialItem:e[9].initialItem,activeRowIndex:e[9].activeRowIndex,setActiveRowIndex:e[7].setActiveRowIndex}),xt=e=>({visibleItems:e[0]&512,initialItem:e[0]&512,activeRowIndex:e[0]&512,setActiveRowIndex:e[0]&128}),_t=e=>({visibleItems:e[9].items,initialItem:e[9].initialItem,activeRowIndex:e[9].activeRowIndex,setActiveRowIndex:e[7].setActiveRowIndex}),$t=e=>({visibleItems:e[0]&512,initialItem:e[0]&512,activeRowIndex:e[0]&512,setActiveRowIndex:e[0]&128}),mt=e=>({visibleItems:e[9].items,initialItem:e[9].initialItem,activeRowIndex:e[9].activeRowIndex,setActiveRowIndex:e[7].setActiveRowIndex}),el=e=>({visibleItems:e[0]&512,initialItem:e[0]&512,activeRowIndex:e[0]&512,setActiveRowIndex:e[0]&128}),dt=e=>({visibleItems:e[9].items,initialItem:e[9].initialItem,activeRowIndex:e[9].activeRowIndex,setActiveRowIndex:e[7].setActiveRowIndex}),tl=e=>({visibleItems:e[0]&512,initialItem:e[0]&512,activeRowIndex:e[0]&512,setActiveRowIndex:e[0]&128}),bt=e=>({visibleItems:e[9].items,initialItem:e[9].initialItem,activeRowIndex:e[9].activeRowIndex,setActiveRowIndex:e[7].setActiveRowIndex}),ll=e=>({visibleItems:e[0]&512,initialItem:e[0]&512,activeRowIndex:e[0]&512,setActiveRowIndex:e[0]&128}),gt=e=>({visibleItems:e[9].items,initialItem:e[9].initialItem,activeRowIndex:e[9].activeRowIndex,setActiveRowIndex:e[7].setActiveRowIndex}),nl=e=>({visibleItems:e[0]&512,initialItem:e[0]&512,activeRowIndex:e[0]&512,setActiveRowIndex:e[0]&128}),vt=e=>({visibleItems:e[9].items,initialItem:e[9].initialItem,activeRowIndex:e[9].activeRowIndex,setActiveRowIndex:e[7].setActiveRowIndex});function ht(e){let t,n;return t=new kt({props:{label:e[2],parameter:Le,value:e[8],options:je,position:"top"}}),{c(){pe(t.$$.fragment)},l(l){we(t.$$.fragment,l)},m(l,a){Re(t,l,a),n=!0},p(l,a){const i={};a[0]&4&&(i.label=l[2]),a[0]&256&&(i.value=l[8]),t.$set(i)},i(l){n||(R(t.$$.fragment,l),n=!0)},o(l){A(t.$$.fragment,l),n=!1},d(l){ke(t,l)}}}function al(e){let t=(e[9].length?e[9].startingIndex+1:0)+"",n,l,a=e[9].endingIndex+1+"",i,r,s=e[9].length+"",u;return{c(){n=ee(t),l=ee("–"),i=ee(a),r=ee(" of "),u=ee(s)},l(f){n=te(f,t),l=te(f,"–"),i=te(f,a),r=te(f," of "),u=te(f,s)},m(f,m){O(f,n,m),O(f,l,m),O(f,i,m),O(f,r,m),O(f,u,m)},p(f,m){m[0]&512&&t!==(t=(f[9].length?f[9].startingIndex+1:0)+"")&&Ie(n,t),m[0]&512&&a!==(a=f[9].endingIndex+1+"")&&Ie(i,a),m[0]&512&&s!==(s=f[9].length+"")&&Ie(u,s)},i:le,o:le,d(f){f&&I(n),f&&I(l),f&&I(i),f&&I(r),f&&I(u)}}}function sl(e){let t,n;return t=new Nt({props:{class:"block h-5 w-24"}}),{c(){pe(t.$$.fragment)},l(l){we(t.$$.fragment,l)},m(l,a){Re(t,l,a),n=!0},p:le,i(l){n||(R(t.$$.fragment,l),n=!0)},o(l){A(t.$$.fragment,l),n=!1},d(l){ke(t,l)}}}function il(e){let t,n,l,a,i,r,s,u,f,m,V,S,k,N,X;const b=[sl,al],T=[];function _(c,g){return c[1]?0:1}return s=_(e),u=T[s]=b[s](e),{c(){t=B("div"),n=B("button"),l=B("span"),i=Q(),r=B("p"),u.c(),f=Q(),m=B("button"),V=B("span"),this.h()},l(c){t=j(c,"DIV",{class:!0});var g=K(t);n=j(g,"BUTTON",{class:!0,"aria-label":!0});var P=K(n);l=j(P,"SPAN",{class:!0}),K(l).forEach(I),P.forEach(I),i=Z(g),r=j(g,"P",{});var Y=K(r);u.l(Y),Y.forEach(I),f=Z(g),m=j(g,"BUTTON",{class:!0,"aria-label":!0});var y=K(m);V=j(y,"SPAN",{class:!0}),K(V).forEach(I),y.forEach(I),g.forEach(I),this.h()},h(){h(l,"class","arrow arrow-left svelte-1780ds3"),fe(l,"arrow-left-disabled",!e[9].hasPrevious),h(n,"class","caret svelte-1780ds3"),n.disabled=a=!e[9].hasPrevious,h(n,"aria-label",e[3]),h(V,"class","arrow arrow-right svelte-1780ds3"),fe(V,"arrow-right-disabled",!e[9].hasNext),h(m,"class","caret svelte-1780ds3"),m.disabled=S=!e[9].hasNext,h(m,"aria-label",e[4]),h(t,"class","flex items-center justify-center gap-3")},m(c,g){O(c,t,g),w(t,n),w(n,l),w(t,i),w(t,r),T[s].m(r,null),w(t,f),w(t,m),w(m,V),k=!0,N||(X=[ce(n,"click",e[27]),ce(m,"click",e[28])],N=!0)},p(c,g){(!k||g[0]&512)&&fe(l,"arrow-left-disabled",!c[9].hasPrevious),(!k||g[0]&512&&a!==(a=!c[9].hasPrevious))&&(n.disabled=a),(!k||g[0]&8)&&h(n,"aria-label",c[3]);let P=s;s=_(c),s===P?T[s].p(c,g):(Pe(),A(T[P],1,1,()=>{T[P]=null}),Se(),u=T[s],u?u.p(c,g):(u=T[s]=b[s](c),u.c()),R(u,1),u.m(r,null)),(!k||g[0]&512)&&fe(V,"arrow-right-disabled",!c[9].hasNext),(!k||g[0]&512&&S!==(S=!c[9].hasNext))&&(m.disabled=S),(!k||g[0]&16)&&h(m,"aria-label",c[4])},i(c){k||(R(u),k=!0)},o(c){A(u),k=!1},d(c){c&&I(t),T[s].d(),N=!1,wt(X)}}}function It(e){let t,n;return t=new kt({props:{label:e[2],parameter:Le,value:e[8],options:je,position:"bottom"}}),{c(){pe(t.$$.fragment)},l(l){we(t.$$.fragment,l)},m(l,a){Re(t,l,a),n=!0},p(l,a){const i={};a[0]&4&&(i.label=l[2]),a[0]&256&&(i.value=l[8]),t.$set(i)},i(l){n||(R(t.$$.fragment,l),n=!0)},o(l){A(t.$$.fragment,l),n=!1},d(l){ke(t,l)}}}function ol(e){let t=(e[9].length?e[9].startingIndex+1:0)+"",n,l,a=e[9].endingIndex+1+"",i,r,s=e[9].length+"",u;return{c(){n=ee(t),l=ee("–"),i=ee(a),r=ee(" of "),u=ee(s)},l(f){n=te(f,t),l=te(f,"–"),i=te(f,a),r=te(f," of "),u=te(f,s)},m(f,m){O(f,n,m),O(f,l,m),O(f,i,m),O(f,r,m),O(f,u,m)},p(f,m){m[0]&512&&t!==(t=(f[9].length?f[9].startingIndex+1:0)+"")&&Ie(n,t),m[0]&512&&a!==(a=f[9].endingIndex+1+"")&&Ie(i,a),m[0]&512&&s!==(s=f[9].length+"")&&Ie(u,s)},i:le,o:le,d(f){f&&I(n),f&&I(l),f&&I(i),f&&I(r),f&&I(u)}}}function rl(e){let t,n;return t=new Nt({props:{class:"block h-5 w-24"}}),{c(){pe(t.$$.fragment)},l(l){we(t.$$.fragment,l)},m(l,a){Re(t,l,a),n=!0},p:le,i(l){n||(R(t.$$.fragment,l),n=!0)},o(l){A(t.$$.fragment,l),n=!1},d(l){ke(t,l)}}}function fl(e){let t,n,l,a,i,r,s,u,f,m,V,S,k,N,X,b,T,_,c,g,P,Y,y,D,M,ue,F,x,$,me,de,be,p,Ne,Ke;nt(e[26]);const Ae=e[25]["action-top-left"],U=se(Ae,e,e[24],vt),v=e[25]["action-top-center"],C=se(v,e,e[24],gt);let E=!e[0]&&ht(e);const Fe=e[25]["pagination-top"],Te=se(Fe,e,e[24],bt),W=Te||il(e),Ue=e[25]["action-top-right"],H=se(Ue,e,e[24],dt),Oe=e[25].default,q=se(Oe,e,e[24],mt),Ce=e[25]["action-bottom-left"],G=se(Ce,e,e[24],_t);let L=!e[0]&&It(e);const Ye=[rl,ol],ne=[];function ye(o,d){return o[1]?0:1}D=ye(e),M=ne[D]=Ye[D](e);const We=e[25]["action-bottom-right"],J=se(We,e,e[24],ct);return{c(){t=B("div"),n=B("div"),l=B("div"),U&&U.c(),a=Q(),i=B("nav"),C&&C.c(),r=Q(),s=B("div"),E&&E.c(),u=Q(),W&&W.c(),f=Q(),H&&H.c(),S=Q(),q&&q.c(),k=Q(),N=B("nav"),G&&G.c(),X=Q(),b=B("div"),L&&L.c(),T=Q(),_=B("div"),c=B("button"),g=B("span"),Y=Q(),y=B("p"),M.c(),ue=Q(),F=B("button"),x=B("span"),me=Q(),J&&J.c(),this.h()},l(o){t=j(o,"DIV",{class:!0});var d=K(t);n=j(d,"DIV",{class:!0});var ae=K(n);l=j(ae,"DIV",{class:!0});var xe=K(l);U&&U.l(xe),xe.forEach(I),a=Z(ae),i=j(ae,"NAV",{style:!0,class:!0,"aria-label":!0});var ge=K(i);C&&C.l(ge),r=Z(ge),s=j(ge,"DIV",{class:!0});var ze=K(s);E&&E.l(ze),u=Z(ze),W&&W.l(ze),ze.forEach(I),f=Z(ge),H&&H.l(ge),ge.forEach(I),ae.forEach(I),S=Z(d),q&&q.l(d),k=Z(d),N=j(d,"NAV",{class:!0,"aria-label":!0});var Ve=K(N);G&&G.l(Ve),X=Z(Ve),b=j(Ve,"DIV",{class:!0});var ve=K(b);L&&L.l(ve),T=Z(ve),_=j(ve,"DIV",{class:!0});var he=K(_);c=j(he,"BUTTON",{class:!0,"aria-label":!0});var $e=K(c);g=j($e,"SPAN",{class:!0}),K(g).forEach(I),$e.forEach(I),Y=Z(he),y=j(he,"P",{});var et=K(y);M.l(et),et.forEach(I),ue=Z(he),F=j(he,"BUTTON",{class:!0,"aria-label":!0});var tt=K(F);x=j(tt,"SPAN",{class:!0}),K(x).forEach(I),tt.forEach(I),he.forEach(I),me=Z(ve),J&&J.l(ve),ve.forEach(I),Ve.forEach(I),d.forEach(I),this.h()},h(){h(l,"class","w-full"),h(s,"class","flex gap-4"),h(i,"style",e[10]),h(i,"class","flex min-w-fit flex-col items-end gap-4 md:flex-row"),h(i,"aria-label",m=e[14]["aria-label"]+" 1"),nt(()=>e[29].call(i)),h(n,"class","flex flex-col items-end justify-end gap-4 lg:flex-row lg:items-start"),h(g,"class","arrow arrow-left svelte-1780ds3"),fe(g,"arrow-left-disabled",!e[9].hasPrevious),h(c,"class","caret svelte-1780ds3"),c.disabled=P=!e[9].hasPrevious,h(c,"aria-label",e[3]),h(x,"class","arrow arrow-right svelte-1780ds3"),fe(x,"arrow-right-disabled",!e[9].hasNext),h(F,"class","caret svelte-1780ds3"),F.disabled=$=!e[9].hasNext,h(F,"aria-label",e[4]),h(_,"class","flex items-center justify-center gap-3"),h(b,"class","flex gap-4"),h(N,"class",de=at(`flex ${e[15]["action-bottom-left"]?"justify-between":"justify-end"}`)+" svelte-1780ds3"),h(N,"aria-label",be=e[14]["aria-label"]+" 2"),h(t,"class","pagination relative mb-8 flex flex-col gap-4")},m(o,d){O(o,t,d),w(t,n),w(n,l),U&&U.m(l,null),w(n,a),w(n,i),C&&C.m(i,null),w(i,r),w(i,s),E&&E.m(s,null),w(s,u),W&&W.m(s,null),w(i,f),H&&H.m(i,null),V=zt(i,e[29].bind(i)),w(t,S),q&&q.m(t,null),w(t,k),w(t,N),G&&G.m(N,null),w(N,X),w(N,b),L&&L.m(b,null),w(b,T),w(b,_),w(_,c),w(c,g),w(_,Y),w(_,y),ne[D].m(y,null),w(_,ue),w(_,F),w(F,x),w(b,me),J&&J.m(b,null),p=!0,Ne||(Ke=[ce(window,"resize",e[12]),ce(window,"keydown",e[13]),ce(window,"resize",e[26]),ce(c,"click",e[30]),ce(F,"click",e[31])],Ne=!0)},p(o,d){U&&U.p&&(!p||d[0]&16777856)&&ie(U,Ae,o,o[24],p?re(Ae,o[24],d,nl):oe(o[24]),vt),C&&C.p&&(!p||d[0]&16777856)&&ie(C,v,o,o[24],p?re(v,o[24],d,ll):oe(o[24]),gt),o[0]?E&&(Pe(),A(E,1,1,()=>{E=null}),Se()):E?(E.p(o,d),d[0]&1&&R(E,1)):(E=ht(o),E.c(),R(E,1),E.m(s,u)),Te?Te.p&&(!p||d[0]&16777856)&&ie(Te,Fe,o,o[24],p?re(Fe,o[24],d,tl):oe(o[24]),bt):W&&W.p&&(!p||d[0]&666)&&W.p(o,p?d:[-1,-1]),H&&H.p&&(!p||d[0]&16777856)&&ie(H,Ue,o,o[24],p?re(Ue,o[24],d,el):oe(o[24]),dt),(!p||d[0]&1024)&&h(i,"style",o[10]),(!p||d[0]&16384&&m!==(m=o[14]["aria-label"]+" 1"))&&h(i,"aria-label",m),q&&q.p&&(!p||d[0]&16777856)&&ie(q,Oe,o,o[24],p?re(Oe,o[24],d,$t):oe(o[24]),mt),G&&G.p&&(!p||d[0]&16777856)&&ie(G,Ce,o,o[24],p?re(Ce,o[24],d,xt):oe(o[24]),_t),o[0]?L&&(Pe(),A(L,1,1,()=>{L=null}),Se()):L?(L.p(o,d),d[0]&1&&R(L,1)):(L=It(o),L.c(),R(L,1),L.m(b,T)),(!p||d[0]&512)&&fe(g,"arrow-left-disabled",!o[9].hasPrevious),(!p||d[0]&512&&P!==(P=!o[9].hasPrevious))&&(c.disabled=P),(!p||d[0]&8)&&h(c,"aria-label",o[3]);let ae=D;D=ye(o),D===ae?ne[D].p(o,d):(Pe(),A(ne[ae],1,1,()=>{ne[ae]=null}),Se(),M=ne[D],M?M.p(o,d):(M=ne[D]=Ye[D](o),M.c()),R(M,1),M.m(y,null)),(!p||d[0]&512)&&fe(x,"arrow-right-disabled",!o[9].hasNext),(!p||d[0]&512&&$!==($=!o[9].hasNext))&&(F.disabled=$),(!p||d[0]&16)&&h(F,"aria-label",o[4]),J&&J.p&&(!p||d[0]&16777856)&&ie(J,We,o,o[24],p?re(We,o[24],d,yt):oe(o[24]),ct),(!p||d[0]&32768&&de!==(de=at(`flex ${o[15]["action-bottom-left"]?"justify-between":"justify-end"}`)+" svelte-1780ds3"))&&h(N,"class",de),(!p||d[0]&16384&&be!==(be=o[14]["aria-label"]+" 2"))&&h(N,"aria-label",be)},i(o){p||(R(U,o),R(C,o),R(E),R(W,o),R(H,o),R(q,o),R(G,o),R(L),R(M),R(J,o),p=!0)},o(o){A(U,o),A(C,o),A(E),A(W,o),A(H,o),A(q,o),A(G,o),A(L),A(M),A(J,o),p=!1},d(o){o&&I(t),U&&U.d(o),C&&C.d(o),E&&E.d(),W&&W.d(o),H&&H.d(o),V(),q&&q.d(o),G&&G.d(o),L&&L.d(),ne[D].d(),J&&J.d(o),Ne=!1,wt(Ke)}}}function ul(e,t,n){let l,a,i,r;const s=["items","floatId","startingIndex","currentPageKey","itemsPerPage","updating","pageSizeSelectLabel","previousButtonLabel","nextButtonLabel"];let u=st(t,s),f,m=le,V=()=>(m(),m=Mt(a,v=>n(9,f=v)),a),S;pt(e,Rt,v=>n(23,S=v)),e.$$.on_destroy.push(()=>m());let{$$slots:k={},$$scope:N}=t;const X=Vt(k);var b;let{items:T}=t,{floatId:_=void 0}=t,{startingIndex:c=0}=t,{currentPageKey:g="page"}=t,{itemsPerPage:P=null}=t,{updating:Y=!1}=t,{pageSizeSelectLabel:y}=t,{previousButtonLabel:D}=t,{nextButtonLabel:M}=t,ue,F,x;Dt(()=>{me(),Number(c)>0&&$()});const $=()=>{De({parameter:g,value:f.currentPage,url:S.url})},me=()=>{var v;_&&n(21,F=(v=document.getElementById(_))===null||v===void 0?void 0:v.clientWidth)};async function de(v){switch(v.code){case"ArrowRight":case"KeyL":f.hasNext&&(a.next(),$());break;case"ArrowLeft":case"KeyH":f.hasPrevious&&(a.previous(),$());break;case"ArrowUp":case"KeyK":a.previousRow();break;case"ArrowDown":case"KeyJ":a.nextRow();break}}function be(){n(5,ue=window.innerWidth)}const p=()=>{a.previous(),$()},Ne=()=>{a.next(),$()};function Ke(){x=this.clientHeight,n(6,x)}const Ae=()=>a.previous(),U=()=>a.next();return e.$$set=v=>{t=_e(_e({},t),Be(v)),n(14,u=st(t,s)),"items"in v&&n(16,T=v.items),"floatId"in v&&n(17,_=v.floatId),"startingIndex"in v&&n(18,c=v.startingIndex),"currentPageKey"in v&&n(19,g=v.currentPageKey),"itemsPerPage"in v&&n(0,P=v.itemsPerPage),"updating"in v&&n(1,Y=v.updating),"pageSizeSelectLabel"in v&&n(2,y=v.pageSizeSelectLabel),"previousButtonLabel"in v&&n(3,D=v.previousButtonLabel),"nextButtonLabel"in v&&n(4,M=v.nextButtonLabel),"$$scope"in v&&n(24,N=v.$$scope)},e.$$.update=()=>{e.$$.dirty[0]&8388609&&n(8,l=P!==null?String(P):String(St(S.url.searchParams.get(Le))).toString()),e.$$.dirty[0]&8388864&&(parseInt(l,10)>parseInt(ft,10)?De({parameter:Le,value:ft,url:S.url}):je.includes(l)||De({parameter:Le,value:Ee,url:S.url})),e.$$.dirty[0]&327936&&V(n(7,a=Xt(T,l,c))),e.$$.dirty[0]&9961984&&n(22,i=n(20,b=S.url.searchParams.get(g))!==null&&b!==void 0?b:f.currentPage),e.$$.dirty[0]&4194432&&a.jumpToPage(i),e.$$.dirty[0]&2097248&&n(10,r=Yt({width:F,height:x,screenWidth:ue}))},[P,Y,y,D,M,ue,x,a,l,f,r,$,me,de,u,X,T,_,c,g,b,F,i,S,N,k,be,p,Ne,Ke,Ae,U]}class vl extends Qe{constructor(t){super(),Ze(this,t,ul,fl,Xe,{items:16,floatId:17,startingIndex:18,currentPageKey:19,itemsPerPage:0,updating:1,pageSizeSelectLabel:2,previousButtonLabel:3,nextButtonLabel:4},null,[-1,-1])}}export{kt as F,ft as M,vl as P,Xt as a,gl as c,Ee as d,je as o,Le as p}; +import{S as Qe,b as Ze,a as Xe,N as _e,A as Et,a0 as Lt,C as pe,D as we,E as Re,R as Bt,Y as jt,a1 as Kt,j as R,g as A,F as ke,K as pt,U as Be,G as se,H as ie,I as oe,J as re,e as lt,f as O,z as Pe,h as Se,a7 as Tt,k as I,m as B,p as j,q as K,u as h,n as le,ac as z,a3 as nt,c as Q,d as Z,P as fe,Z as at,L as w,al as zt,Q as ce,r as wt,T as st,ah as Vt,o as Dt,s as Mt,w as ee,x as te,y as Ie}from"./index.09834243.js";import{p as Rt}from"./stores.cd833532.js";import{u as De}from"./update-query-parameters.016c7f2f.js";import{S as Ft,a as Ut}from"./simple-select.1c5b21bd.js";import{j as Ot,w as He}from"./singletons.741208bb.js";function it(e,t,n){const l=e.slice();return l[14]=t[n],l}function ot(e){let t,n;return t=new Ut({props:{value:e[14]}}),{c(){pe(t.$$.fragment)},l(l){we(t.$$.fragment,l)},m(l,a){Re(t,l,a),n=!0},p(l,a){const i={};a&1&&(i.value=l[14]),t.$set(i)},i(l){n||(R(t.$$.fragment,l),n=!0)},o(l){A(t.$$.fragment,l),n=!1},d(l){ke(t,l)}}}function Ct(e){let t,n,l=e[0].map(rt),a=[];for(let r=0;rA(a[r],1,1,()=>{a[r]=null});return{c(){for(let r=0;rLt(t,"value",i)),t.$on("change",e[3]),{c(){pe(t.$$.fragment)},l(s){we(t.$$.fragment,s)},m(s,u){Re(t,s,u),l=!0},p(s,[u]){const f=u&20?Bt(a,[u&4&&{id:s[2]},u&16&&jt(s[4]),a[2]]):{};u&2049&&(f.$$scope={dirty:u,ctx:s}),!n&&u&2&&(n=!0,f.value=s[1],Kt(()=>n=!1)),t.$set(f)},i(s){l||(R(t.$$.fragment,s),l=!0)},o(s){A(t.$$.fragment,s),l=!1},d(s){ke(t,s)}}}const rt=e=>e.toString();function qt(e,t,n){let l;pt(e,Rt,b=>n(12,l=b));let{$$slots:a={},$$scope:i}=t,{label:r}=t,{value:s}=t,{options:u=[]}=t,{parameter:f=null}=t,{position:m=void 0}=t;const V=`${f||r}-${m?`${m}-filter`:"filter"}`;let k=f&&l.url.searchParams.get(f)||s&&s.toString();const N=()=>{De({parameter:f,value:k,url:l.url}).then(b=>n(5,s=b))};function X(b){k=b,n(1,k)}return e.$$set=b=>{n(4,t=_e(_e({},t),Be(b))),"label"in b&&n(6,r=b.label),"value"in b&&n(5,s=b.value),"options"in b&&n(0,u=b.options),"parameter"in b&&n(7,f=b.parameter),"position"in b&&n(8,m=b.position),"$$scope"in b&&n(11,i=b.$$scope)},t=Be(t),[u,k,V,N,t,s,r,f,m,a,X,i]}class kt extends Qe{constructor(t){super(),Ze(this,t,qt,Ht,Xe,{label:6,value:5,options:0,parameter:7,position:8})}}function Gt(e){let t,n;return{c(){t=B("div"),this.h()},l(l){t=j(l,"DIV",{class:!0}),K(t).forEach(I),this.h()},h(){h(t,"class",n="background-animate w-full rounded-full bg-gradient-to-r from-gray-100 via-gray-200 to-gray-300 "+e[0].class+" svelte-1hpjfio")},m(l,a){O(l,t,a)},p(l,[a]){a&1&&n!==(n="background-animate w-full rounded-full bg-gradient-to-r from-gray-100 via-gray-200 to-gray-300 "+l[0].class+" svelte-1hpjfio")&&h(t,"class",n)},i:le,o:le,d(l){l&&I(t)}}}function Jt(e,t,n){return e.$$set=l=>{n(0,t=_e(_e({},t),Be(l)))},t=Be(t),[t]}class Nt extends Qe{constructor(t){super(),Ze(this,t,Jt,Gt,Xe,{})}}const Ee=100,je=["100","250","500"],Le="per-page",gl="page",ft=je[je.length-1],Me=(e,t)=>Math.floor(e/t)+1,Qt=(e,t)=>t<=9?new Array(t).fill(0).map((n,l)=>l+1):e<5?[1,2,3,4,5,NaN,t-2,t-1,t]:e>=5&&e<=t-5?[1,2,NaN,e-1,e,e+1,NaN,t-1,t]:e>=t-5?[1,2,NaN,t-5,t-4,t-3,t-2,t-1,t]:[],At=(e,t,n)=>{if(isNaN(e)||e<=1)return 0;if(e>Pt(t,n)){const l=n.length-t;return l>0?l:0}return Math.floor(t*(e-1))},Zt=(e,t,n)=>{const l=Me(e,t);return At(l,t,n)},ut=(e,t)=>Math.min(e-1,t-1),Pt=(e,t)=>Math.ceil(t.length/e),qe=(e,t)=>isNaN(e)||e<0?0:ee>=t.length||e<0,Xt=(e=[],t=Ee,n=0)=>{t=St(t);const l=Zt(Je(n),t,e),a=He(t),i=He(l),r=He(void 0),s=_=>{a.set(Je(_))},u=()=>{N(),i.update(_=>{const c=_+z(a);return Ge(c,e)?_:qe(c,e)})},f=()=>{N(),i.update(_=>{const c=_-z(a);return qe(c,e)})},m=_=>{const c=z(a),g=At(Number(_),c,e),P=e.slice(g,g+c).length;return z(r)>P-1&&r.set(P-1),i.set(g)},V=_=>{const c=Me(Number(_),z(a));m(c)},S=_=>{for(let c=0;c{const c=S(_);return Me(c,z(a))},N=(_=void 0)=>{_===void 0&&r.set(_);const c=e.slice(z(i),z(i)+z(a)).length,g=ut(c,z(a));_<=g&&r.set(_)},X=()=>{const _=e.slice(z(i),z(i)+z(a)).length,c=ut(_,z(a));z(r)===void 0?r.set(0):z(r){const _=z(r)>=1?z(r)-1:0;r.set(_)},{subscribe:T}=Ot([i,a,r],([_,c,g])=>{const P=Pt(c,e),Y=Me(_,c);return{items:e.slice(_,_+c),initialItem:e[0],hasPrevious:!Ge(_-c,e),hasNext:!Ge(_+c,e),startingIndex:_,endingIndex:qe(_+c-1,e),length:e.length,pageSize:c,currentPage:Y,totalPages:P,activeRowIndex:g,pageShortcuts:Qt(Y,P)}});return{subscribe:T,adjustPageSize:s,next:u,previous:f,jumpToPage:m,jumpToIndex:V,findIndex:S,findPage:k,nextRow:X,previousRow:b,setActiveRowIndex:N}},St=(e=Ee)=>{const t=Je(e);return isNaN(t)||!t?Ee:t},Je=(e=0)=>{const t=Number(e);return isNaN(t)||!t?0:Math.abs(t)},Yt=({width:e,height:t,screenWidth:n,breakpoint:l=1279})=>e&&t&&n>l?`position: absolute; right: ${e+20}px; top: -${t}px`:"";const yt=e=>({visibleItems:e[0]&512,initialItem:e[0]&512,activeRowIndex:e[0]&512,setActiveRowIndex:e[0]&128}),ct=e=>({visibleItems:e[9].items,initialItem:e[9].initialItem,activeRowIndex:e[9].activeRowIndex,setActiveRowIndex:e[7].setActiveRowIndex}),xt=e=>({visibleItems:e[0]&512,initialItem:e[0]&512,activeRowIndex:e[0]&512,setActiveRowIndex:e[0]&128}),_t=e=>({visibleItems:e[9].items,initialItem:e[9].initialItem,activeRowIndex:e[9].activeRowIndex,setActiveRowIndex:e[7].setActiveRowIndex}),$t=e=>({visibleItems:e[0]&512,initialItem:e[0]&512,activeRowIndex:e[0]&512,setActiveRowIndex:e[0]&128}),mt=e=>({visibleItems:e[9].items,initialItem:e[9].initialItem,activeRowIndex:e[9].activeRowIndex,setActiveRowIndex:e[7].setActiveRowIndex}),el=e=>({visibleItems:e[0]&512,initialItem:e[0]&512,activeRowIndex:e[0]&512,setActiveRowIndex:e[0]&128}),dt=e=>({visibleItems:e[9].items,initialItem:e[9].initialItem,activeRowIndex:e[9].activeRowIndex,setActiveRowIndex:e[7].setActiveRowIndex}),tl=e=>({visibleItems:e[0]&512,initialItem:e[0]&512,activeRowIndex:e[0]&512,setActiveRowIndex:e[0]&128}),bt=e=>({visibleItems:e[9].items,initialItem:e[9].initialItem,activeRowIndex:e[9].activeRowIndex,setActiveRowIndex:e[7].setActiveRowIndex}),ll=e=>({visibleItems:e[0]&512,initialItem:e[0]&512,activeRowIndex:e[0]&512,setActiveRowIndex:e[0]&128}),gt=e=>({visibleItems:e[9].items,initialItem:e[9].initialItem,activeRowIndex:e[9].activeRowIndex,setActiveRowIndex:e[7].setActiveRowIndex}),nl=e=>({visibleItems:e[0]&512,initialItem:e[0]&512,activeRowIndex:e[0]&512,setActiveRowIndex:e[0]&128}),vt=e=>({visibleItems:e[9].items,initialItem:e[9].initialItem,activeRowIndex:e[9].activeRowIndex,setActiveRowIndex:e[7].setActiveRowIndex});function ht(e){let t,n;return t=new kt({props:{label:e[2],parameter:Le,value:e[8],options:je,position:"top"}}),{c(){pe(t.$$.fragment)},l(l){we(t.$$.fragment,l)},m(l,a){Re(t,l,a),n=!0},p(l,a){const i={};a[0]&4&&(i.label=l[2]),a[0]&256&&(i.value=l[8]),t.$set(i)},i(l){n||(R(t.$$.fragment,l),n=!0)},o(l){A(t.$$.fragment,l),n=!1},d(l){ke(t,l)}}}function al(e){let t=(e[9].length?e[9].startingIndex+1:0)+"",n,l,a=e[9].endingIndex+1+"",i,r,s=e[9].length+"",u;return{c(){n=ee(t),l=ee("–"),i=ee(a),r=ee(" of "),u=ee(s)},l(f){n=te(f,t),l=te(f,"–"),i=te(f,a),r=te(f," of "),u=te(f,s)},m(f,m){O(f,n,m),O(f,l,m),O(f,i,m),O(f,r,m),O(f,u,m)},p(f,m){m[0]&512&&t!==(t=(f[9].length?f[9].startingIndex+1:0)+"")&&Ie(n,t),m[0]&512&&a!==(a=f[9].endingIndex+1+"")&&Ie(i,a),m[0]&512&&s!==(s=f[9].length+"")&&Ie(u,s)},i:le,o:le,d(f){f&&I(n),f&&I(l),f&&I(i),f&&I(r),f&&I(u)}}}function sl(e){let t,n;return t=new Nt({props:{class:"block h-5 w-24"}}),{c(){pe(t.$$.fragment)},l(l){we(t.$$.fragment,l)},m(l,a){Re(t,l,a),n=!0},p:le,i(l){n||(R(t.$$.fragment,l),n=!0)},o(l){A(t.$$.fragment,l),n=!1},d(l){ke(t,l)}}}function il(e){let t,n,l,a,i,r,s,u,f,m,V,S,k,N,X;const b=[sl,al],T=[];function _(c,g){return c[1]?0:1}return s=_(e),u=T[s]=b[s](e),{c(){t=B("div"),n=B("button"),l=B("span"),i=Q(),r=B("p"),u.c(),f=Q(),m=B("button"),V=B("span"),this.h()},l(c){t=j(c,"DIV",{class:!0});var g=K(t);n=j(g,"BUTTON",{class:!0,"aria-label":!0});var P=K(n);l=j(P,"SPAN",{class:!0}),K(l).forEach(I),P.forEach(I),i=Z(g),r=j(g,"P",{});var Y=K(r);u.l(Y),Y.forEach(I),f=Z(g),m=j(g,"BUTTON",{class:!0,"aria-label":!0});var y=K(m);V=j(y,"SPAN",{class:!0}),K(V).forEach(I),y.forEach(I),g.forEach(I),this.h()},h(){h(l,"class","arrow arrow-left svelte-1780ds3"),fe(l,"arrow-left-disabled",!e[9].hasPrevious),h(n,"class","caret svelte-1780ds3"),n.disabled=a=!e[9].hasPrevious,h(n,"aria-label",e[3]),h(V,"class","arrow arrow-right svelte-1780ds3"),fe(V,"arrow-right-disabled",!e[9].hasNext),h(m,"class","caret svelte-1780ds3"),m.disabled=S=!e[9].hasNext,h(m,"aria-label",e[4]),h(t,"class","flex items-center justify-center gap-3")},m(c,g){O(c,t,g),w(t,n),w(n,l),w(t,i),w(t,r),T[s].m(r,null),w(t,f),w(t,m),w(m,V),k=!0,N||(X=[ce(n,"click",e[27]),ce(m,"click",e[28])],N=!0)},p(c,g){(!k||g[0]&512)&&fe(l,"arrow-left-disabled",!c[9].hasPrevious),(!k||g[0]&512&&a!==(a=!c[9].hasPrevious))&&(n.disabled=a),(!k||g[0]&8)&&h(n,"aria-label",c[3]);let P=s;s=_(c),s===P?T[s].p(c,g):(Pe(),A(T[P],1,1,()=>{T[P]=null}),Se(),u=T[s],u?u.p(c,g):(u=T[s]=b[s](c),u.c()),R(u,1),u.m(r,null)),(!k||g[0]&512)&&fe(V,"arrow-right-disabled",!c[9].hasNext),(!k||g[0]&512&&S!==(S=!c[9].hasNext))&&(m.disabled=S),(!k||g[0]&16)&&h(m,"aria-label",c[4])},i(c){k||(R(u),k=!0)},o(c){A(u),k=!1},d(c){c&&I(t),T[s].d(),N=!1,wt(X)}}}function It(e){let t,n;return t=new kt({props:{label:e[2],parameter:Le,value:e[8],options:je,position:"bottom"}}),{c(){pe(t.$$.fragment)},l(l){we(t.$$.fragment,l)},m(l,a){Re(t,l,a),n=!0},p(l,a){const i={};a[0]&4&&(i.label=l[2]),a[0]&256&&(i.value=l[8]),t.$set(i)},i(l){n||(R(t.$$.fragment,l),n=!0)},o(l){A(t.$$.fragment,l),n=!1},d(l){ke(t,l)}}}function ol(e){let t=(e[9].length?e[9].startingIndex+1:0)+"",n,l,a=e[9].endingIndex+1+"",i,r,s=e[9].length+"",u;return{c(){n=ee(t),l=ee("–"),i=ee(a),r=ee(" of "),u=ee(s)},l(f){n=te(f,t),l=te(f,"–"),i=te(f,a),r=te(f," of "),u=te(f,s)},m(f,m){O(f,n,m),O(f,l,m),O(f,i,m),O(f,r,m),O(f,u,m)},p(f,m){m[0]&512&&t!==(t=(f[9].length?f[9].startingIndex+1:0)+"")&&Ie(n,t),m[0]&512&&a!==(a=f[9].endingIndex+1+"")&&Ie(i,a),m[0]&512&&s!==(s=f[9].length+"")&&Ie(u,s)},i:le,o:le,d(f){f&&I(n),f&&I(l),f&&I(i),f&&I(r),f&&I(u)}}}function rl(e){let t,n;return t=new Nt({props:{class:"block h-5 w-24"}}),{c(){pe(t.$$.fragment)},l(l){we(t.$$.fragment,l)},m(l,a){Re(t,l,a),n=!0},p:le,i(l){n||(R(t.$$.fragment,l),n=!0)},o(l){A(t.$$.fragment,l),n=!1},d(l){ke(t,l)}}}function fl(e){let t,n,l,a,i,r,s,u,f,m,V,S,k,N,X,b,T,_,c,g,P,Y,y,D,M,ue,F,x,$,me,de,be,p,Ne,Ke;nt(e[26]);const Ae=e[25]["action-top-left"],U=se(Ae,e,e[24],vt),v=e[25]["action-top-center"],C=se(v,e,e[24],gt);let E=!e[0]&&ht(e);const Fe=e[25]["pagination-top"],Te=se(Fe,e,e[24],bt),W=Te||il(e),Ue=e[25]["action-top-right"],H=se(Ue,e,e[24],dt),Oe=e[25].default,q=se(Oe,e,e[24],mt),Ce=e[25]["action-bottom-left"],G=se(Ce,e,e[24],_t);let L=!e[0]&&It(e);const Ye=[rl,ol],ne=[];function ye(o,d){return o[1]?0:1}D=ye(e),M=ne[D]=Ye[D](e);const We=e[25]["action-bottom-right"],J=se(We,e,e[24],ct);return{c(){t=B("div"),n=B("div"),l=B("div"),U&&U.c(),a=Q(),i=B("nav"),C&&C.c(),r=Q(),s=B("div"),E&&E.c(),u=Q(),W&&W.c(),f=Q(),H&&H.c(),S=Q(),q&&q.c(),k=Q(),N=B("nav"),G&&G.c(),X=Q(),b=B("div"),L&&L.c(),T=Q(),_=B("div"),c=B("button"),g=B("span"),Y=Q(),y=B("p"),M.c(),ue=Q(),F=B("button"),x=B("span"),me=Q(),J&&J.c(),this.h()},l(o){t=j(o,"DIV",{class:!0});var d=K(t);n=j(d,"DIV",{class:!0});var ae=K(n);l=j(ae,"DIV",{class:!0});var xe=K(l);U&&U.l(xe),xe.forEach(I),a=Z(ae),i=j(ae,"NAV",{style:!0,class:!0,"aria-label":!0});var ge=K(i);C&&C.l(ge),r=Z(ge),s=j(ge,"DIV",{class:!0});var ze=K(s);E&&E.l(ze),u=Z(ze),W&&W.l(ze),ze.forEach(I),f=Z(ge),H&&H.l(ge),ge.forEach(I),ae.forEach(I),S=Z(d),q&&q.l(d),k=Z(d),N=j(d,"NAV",{class:!0,"aria-label":!0});var Ve=K(N);G&&G.l(Ve),X=Z(Ve),b=j(Ve,"DIV",{class:!0});var ve=K(b);L&&L.l(ve),T=Z(ve),_=j(ve,"DIV",{class:!0});var he=K(_);c=j(he,"BUTTON",{class:!0,"aria-label":!0});var $e=K(c);g=j($e,"SPAN",{class:!0}),K(g).forEach(I),$e.forEach(I),Y=Z(he),y=j(he,"P",{});var et=K(y);M.l(et),et.forEach(I),ue=Z(he),F=j(he,"BUTTON",{class:!0,"aria-label":!0});var tt=K(F);x=j(tt,"SPAN",{class:!0}),K(x).forEach(I),tt.forEach(I),he.forEach(I),me=Z(ve),J&&J.l(ve),ve.forEach(I),Ve.forEach(I),d.forEach(I),this.h()},h(){h(l,"class","w-full"),h(s,"class","flex gap-4"),h(i,"style",e[10]),h(i,"class","flex min-w-fit flex-col items-end gap-4 md:flex-row"),h(i,"aria-label",m=e[14]["aria-label"]+" 1"),nt(()=>e[29].call(i)),h(n,"class","flex flex-col items-end justify-end gap-4 lg:flex-row lg:items-start"),h(g,"class","arrow arrow-left svelte-1780ds3"),fe(g,"arrow-left-disabled",!e[9].hasPrevious),h(c,"class","caret svelte-1780ds3"),c.disabled=P=!e[9].hasPrevious,h(c,"aria-label",e[3]),h(x,"class","arrow arrow-right svelte-1780ds3"),fe(x,"arrow-right-disabled",!e[9].hasNext),h(F,"class","caret svelte-1780ds3"),F.disabled=$=!e[9].hasNext,h(F,"aria-label",e[4]),h(_,"class","flex items-center justify-center gap-3"),h(b,"class","flex gap-4"),h(N,"class",de=at(`flex ${e[15]["action-bottom-left"]?"justify-between":"justify-end"}`)+" svelte-1780ds3"),h(N,"aria-label",be=e[14]["aria-label"]+" 2"),h(t,"class","pagination relative mb-8 flex flex-col gap-4")},m(o,d){O(o,t,d),w(t,n),w(n,l),U&&U.m(l,null),w(n,a),w(n,i),C&&C.m(i,null),w(i,r),w(i,s),E&&E.m(s,null),w(s,u),W&&W.m(s,null),w(i,f),H&&H.m(i,null),V=zt(i,e[29].bind(i)),w(t,S),q&&q.m(t,null),w(t,k),w(t,N),G&&G.m(N,null),w(N,X),w(N,b),L&&L.m(b,null),w(b,T),w(b,_),w(_,c),w(c,g),w(_,Y),w(_,y),ne[D].m(y,null),w(_,ue),w(_,F),w(F,x),w(b,me),J&&J.m(b,null),p=!0,Ne||(Ke=[ce(window,"resize",e[12]),ce(window,"keydown",e[13]),ce(window,"resize",e[26]),ce(c,"click",e[30]),ce(F,"click",e[31])],Ne=!0)},p(o,d){U&&U.p&&(!p||d[0]&16777856)&&ie(U,Ae,o,o[24],p?re(Ae,o[24],d,nl):oe(o[24]),vt),C&&C.p&&(!p||d[0]&16777856)&&ie(C,v,o,o[24],p?re(v,o[24],d,ll):oe(o[24]),gt),o[0]?E&&(Pe(),A(E,1,1,()=>{E=null}),Se()):E?(E.p(o,d),d[0]&1&&R(E,1)):(E=ht(o),E.c(),R(E,1),E.m(s,u)),Te?Te.p&&(!p||d[0]&16777856)&&ie(Te,Fe,o,o[24],p?re(Fe,o[24],d,tl):oe(o[24]),bt):W&&W.p&&(!p||d[0]&666)&&W.p(o,p?d:[-1,-1]),H&&H.p&&(!p||d[0]&16777856)&&ie(H,Ue,o,o[24],p?re(Ue,o[24],d,el):oe(o[24]),dt),(!p||d[0]&1024)&&h(i,"style",o[10]),(!p||d[0]&16384&&m!==(m=o[14]["aria-label"]+" 1"))&&h(i,"aria-label",m),q&&q.p&&(!p||d[0]&16777856)&&ie(q,Oe,o,o[24],p?re(Oe,o[24],d,$t):oe(o[24]),mt),G&&G.p&&(!p||d[0]&16777856)&&ie(G,Ce,o,o[24],p?re(Ce,o[24],d,xt):oe(o[24]),_t),o[0]?L&&(Pe(),A(L,1,1,()=>{L=null}),Se()):L?(L.p(o,d),d[0]&1&&R(L,1)):(L=It(o),L.c(),R(L,1),L.m(b,T)),(!p||d[0]&512)&&fe(g,"arrow-left-disabled",!o[9].hasPrevious),(!p||d[0]&512&&P!==(P=!o[9].hasPrevious))&&(c.disabled=P),(!p||d[0]&8)&&h(c,"aria-label",o[3]);let ae=D;D=ye(o),D===ae?ne[D].p(o,d):(Pe(),A(ne[ae],1,1,()=>{ne[ae]=null}),Se(),M=ne[D],M?M.p(o,d):(M=ne[D]=Ye[D](o),M.c()),R(M,1),M.m(y,null)),(!p||d[0]&512)&&fe(x,"arrow-right-disabled",!o[9].hasNext),(!p||d[0]&512&&$!==($=!o[9].hasNext))&&(F.disabled=$),(!p||d[0]&16)&&h(F,"aria-label",o[4]),J&&J.p&&(!p||d[0]&16777856)&&ie(J,We,o,o[24],p?re(We,o[24],d,yt):oe(o[24]),ct),(!p||d[0]&32768&&de!==(de=at(`flex ${o[15]["action-bottom-left"]?"justify-between":"justify-end"}`)+" svelte-1780ds3"))&&h(N,"class",de),(!p||d[0]&16384&&be!==(be=o[14]["aria-label"]+" 2"))&&h(N,"aria-label",be)},i(o){p||(R(U,o),R(C,o),R(E),R(W,o),R(H,o),R(q,o),R(G,o),R(L),R(M),R(J,o),p=!0)},o(o){A(U,o),A(C,o),A(E),A(W,o),A(H,o),A(q,o),A(G,o),A(L),A(M),A(J,o),p=!1},d(o){o&&I(t),U&&U.d(o),C&&C.d(o),E&&E.d(),W&&W.d(o),H&&H.d(o),V(),q&&q.d(o),G&&G.d(o),L&&L.d(),ne[D].d(),J&&J.d(o),Ne=!1,wt(Ke)}}}function ul(e,t,n){let l,a,i,r;const s=["items","floatId","startingIndex","currentPageKey","itemsPerPage","updating","pageSizeSelectLabel","previousButtonLabel","nextButtonLabel"];let u=st(t,s),f,m=le,V=()=>(m(),m=Mt(a,v=>n(9,f=v)),a),S;pt(e,Rt,v=>n(23,S=v)),e.$$.on_destroy.push(()=>m());let{$$slots:k={},$$scope:N}=t;const X=Vt(k);var b;let{items:T}=t,{floatId:_=void 0}=t,{startingIndex:c=0}=t,{currentPageKey:g="page"}=t,{itemsPerPage:P=null}=t,{updating:Y=!1}=t,{pageSizeSelectLabel:y}=t,{previousButtonLabel:D}=t,{nextButtonLabel:M}=t,ue,F,x;Dt(()=>{me(),Number(c)>0&&$()});const $=()=>{De({parameter:g,value:f.currentPage,url:S.url})},me=()=>{var v;_&&n(21,F=(v=document.getElementById(_))===null||v===void 0?void 0:v.clientWidth)};async function de(v){switch(v.code){case"ArrowRight":case"KeyL":f.hasNext&&(a.next(),$());break;case"ArrowLeft":case"KeyH":f.hasPrevious&&(a.previous(),$());break;case"ArrowUp":case"KeyK":a.previousRow();break;case"ArrowDown":case"KeyJ":a.nextRow();break}}function be(){n(5,ue=window.innerWidth)}const p=()=>{a.previous(),$()},Ne=()=>{a.next(),$()};function Ke(){x=this.clientHeight,n(6,x)}const Ae=()=>a.previous(),U=()=>a.next();return e.$$set=v=>{t=_e(_e({},t),Be(v)),n(14,u=st(t,s)),"items"in v&&n(16,T=v.items),"floatId"in v&&n(17,_=v.floatId),"startingIndex"in v&&n(18,c=v.startingIndex),"currentPageKey"in v&&n(19,g=v.currentPageKey),"itemsPerPage"in v&&n(0,P=v.itemsPerPage),"updating"in v&&n(1,Y=v.updating),"pageSizeSelectLabel"in v&&n(2,y=v.pageSizeSelectLabel),"previousButtonLabel"in v&&n(3,D=v.previousButtonLabel),"nextButtonLabel"in v&&n(4,M=v.nextButtonLabel),"$$scope"in v&&n(24,N=v.$$scope)},e.$$.update=()=>{e.$$.dirty[0]&8388609&&n(8,l=P!==null?String(P):String(St(S.url.searchParams.get(Le))).toString()),e.$$.dirty[0]&8388864&&(parseInt(l,10)>parseInt(ft,10)?De({parameter:Le,value:ft,url:S.url}):je.includes(l)||De({parameter:Le,value:Ee,url:S.url})),e.$$.dirty[0]&327936&&V(n(7,a=Xt(T,l,c))),e.$$.dirty[0]&9961984&&n(22,i=n(20,b=S.url.searchParams.get(g))!==null&&b!==void 0?b:f.currentPage),e.$$.dirty[0]&4194432&&a.jumpToPage(i),e.$$.dirty[0]&2097248&&n(10,r=Yt({width:F,height:x,screenWidth:ue}))},[P,Y,y,D,M,ue,x,a,l,f,r,$,me,de,u,X,T,_,c,g,b,F,i,S,N,k,be,p,Ne,Ke,Ae,U]}class vl extends Qe{constructor(t){super(),Ze(this,t,ul,fl,Xe,{items:16,floatId:17,startingIndex:18,currentPageKey:19,itemsPerPage:0,updating:1,pageSizeSelectLabel:2,previousButtonLabel:3,nextButtonLabel:4},null,[-1,-1])}}export{kt as F,ft as M,vl as P,Xt as a,gl as c,Ee as d,je as o,Le as p}; diff --git a/ui/assets/local/_app/immutable/chunks/paths.6ba25c42.js b/ui/assets/local/_app/immutable/chunks/paths.6ba25c42.js new file mode 100644 index 0000000000..f55ddcc958 --- /dev/null +++ b/ui/assets/local/_app/immutable/chunks/paths.6ba25c42.js @@ -0,0 +1 @@ +var s;const e=((s=globalThis.__sveltekit_fj9nbr)==null?void 0:s.base)??"";var a;const t=((a=globalThis.__sveltekit_fj9nbr)==null?void 0:a.assets)??e;export{t as a,e as b}; diff --git a/ui/assets/local/_app/immutable/chunks/paths.e7bc2ad1.js b/ui/assets/local/_app/immutable/chunks/paths.e7bc2ad1.js deleted file mode 100644 index d4e068a2f3..0000000000 --- a/ui/assets/local/_app/immutable/chunks/paths.e7bc2ad1.js +++ /dev/null @@ -1 +0,0 @@ -var s;const e=((s=globalThis.__sveltekit_vsdd86)==null?void 0:s.base)??"";var a;const t=((a=globalThis.__sveltekit_vsdd86)==null?void 0:a.assets)??e;export{t as a,e as b}; diff --git a/ui/assets/local/_app/immutable/chunks/payload-decoder.357d48e6.js b/ui/assets/local/_app/immutable/chunks/payload-decoder.53c14555.js similarity index 87% rename from ui/assets/local/_app/immutable/chunks/payload-decoder.357d48e6.js rename to ui/assets/local/_app/immutable/chunks/payload-decoder.53c14555.js index 839b1d303f..47956f4336 100644 --- a/ui/assets/local/_app/immutable/chunks/payload-decoder.357d48e6.js +++ b/ui/assets/local/_app/immutable/chunks/payload-decoder.53c14555.js @@ -1 +1 @@ -import{S as P,b as A,a as I,G as T,H as V,I as E,J as S,j as U,g as W,K as b,o as j}from"./index.09834243.js";import{p as q}from"./stores.9d4a2bb0.js";import{a as v}from"./auth-user.f0bc59ab.js";import{e as w,d as B}from"./decode-payload.1c6b12fc.js";import{g as G,a as H,b as J}from"./get-codec.be95b1c3.js";import{s as _}from"./parse-with-big-int.b38462f3.js";const K=e=>({decodedValue:e&1}),h=e=>({decodedValue:e[0]});function M(e){let n;const o=e[9].default,s=T(o,e,e[8],h);return{c(){s&&s.c()},l(t){s&&s.l(t)},m(t,c){s&&s.m(t,c),n=!0},p(t,[c]){s&&s.p&&(!n||c&257)&&V(s,o,t,t[8],n?S(o,t[8],c,K):E(t[8]),h)},i(t){n||(U(s,t),n=!0)},o(t){W(s,t),n=!1},d(t){s&&s.d(t)}}}function z(e,n,o){let s,t,c,g,m,d;b(e,v,a=>o(11,m=a)),b(e,q,a=>o(7,d=a));let{$$slots:k={},$$scope:y}=n;var i;let{value:r}=n,{key:l=""}=n;const C=async()=>{try{const a=await w(r,d.params.namespace,g,m.accessToken),u=B(a),p=l&&(u==null?void 0:u[l]);p?o(0,f=_(p)):o(0,f=_(u))}catch{return _(r)}};j(()=>{C()});let f="";return e.$$set=a=>{"value"in a&&o(1,r=a.value),"key"in a&&o(2,l=a.key),"$$scope"in a&&o(8,y=a.$$scope)},e.$$.update=()=>{e.$$.dirty&128&&o(6,s=G(d.data.settings)),e.$$.dirty&128&&o(5,t=H(d.data.settings)),e.$$.dirty&128&&o(4,c=J(d.data.settings)),e.$$.dirty&248&&(g={...d.data.settings,codec:{...o(3,i=d.data.settings)===null||i===void 0?void 0:i.codec,endpoint:s,passAccessToken:t,includeCredentials:c}})},[f,r,l,i,c,t,s,d,y,k]}class R extends P{constructor(n){super(),A(this,n,z,M,I,{value:1,key:2})}}export{R as P}; +import{S as P,b as A,a as I,G as T,H as V,I as E,J as S,j as U,g as W,K as b,o as j}from"./index.09834243.js";import{p as q}from"./stores.cd833532.js";import{a as v}from"./auth-user.051e0dee.js";import{e as w,d as B}from"./decode-payload.e6040d83.js";import{g as G,a as H,b as J}from"./get-codec.fde3aa26.js";import{s as _}from"./parse-with-big-int.b38462f3.js";const K=e=>({decodedValue:e&1}),h=e=>({decodedValue:e[0]});function M(e){let n;const o=e[9].default,s=T(o,e,e[8],h);return{c(){s&&s.c()},l(t){s&&s.l(t)},m(t,c){s&&s.m(t,c),n=!0},p(t,[c]){s&&s.p&&(!n||c&257)&&V(s,o,t,t[8],n?S(o,t[8],c,K):E(t[8]),h)},i(t){n||(U(s,t),n=!0)},o(t){W(s,t),n=!1},d(t){s&&s.d(t)}}}function z(e,n,o){let s,t,c,g,m,d;b(e,v,a=>o(11,m=a)),b(e,q,a=>o(7,d=a));let{$$slots:k={},$$scope:y}=n;var i;let{value:r}=n,{key:l=""}=n;const C=async()=>{try{const a=await w(r,d.params.namespace,g,m.accessToken),u=B(a),p=l&&(u==null?void 0:u[l]);p?o(0,f=_(p)):o(0,f=_(u))}catch{return _(r)}};j(()=>{C()});let f="";return e.$$set=a=>{"value"in a&&o(1,r=a.value),"key"in a&&o(2,l=a.key),"$$scope"in a&&o(8,y=a.$$scope)},e.$$.update=()=>{e.$$.dirty&128&&o(6,s=G(d.data.settings)),e.$$.dirty&128&&o(5,t=H(d.data.settings)),e.$$.dirty&128&&o(4,c=J(d.data.settings)),e.$$.dirty&248&&(g={...d.data.settings,codec:{...o(3,i=d.data.settings)===null||i===void 0?void 0:i.codec,endpoint:s,passAccessToken:t,includeCredentials:c}})},[f,r,l,i,c,t,s,d,y,k]}class R extends P{constructor(n){super(),A(this,n,z,M,I,{value:1,key:2})}}export{R as P}; diff --git a/ui/assets/local/_app/immutable/chunks/persist-store.ad106cab.js b/ui/assets/local/_app/immutable/chunks/persist-store.47877c2b.js similarity index 93% rename from ui/assets/local/_app/immutable/chunks/persist-store.ad106cab.js rename to ui/assets/local/_app/immutable/chunks/persist-store.47877c2b.js index 0438e8e9dd..a0dac5253b 100644 --- a/ui/assets/local/_app/immutable/chunks/persist-store.ad106cab.js +++ b/ui/assets/local/_app/immutable/chunks/persist-store.47877c2b.js @@ -1 +1 @@ -import{w as I}from"./singletons.aae8f11e.js";import{p as S,s as p}from"./parse-with-big-int.b38462f3.js";const m=e=>typeof e=="function";function y(e,a=null,u=!1){var l,c;let n=m(a)?a():a,o;try{(l=window==null?void 0:window.localStorage)!=null&&l.getItem(e)&&(n=S(((c=window==null?void 0:window.localStorage)==null?void 0:c.getItem(e))??""))}catch{n=null}const{subscribe:g,set:i,update:f}=I(n);if(u)try{o=new BroadcastChannel(`persist-store-${e}`),o==null||o.addEventListener("message",t=>{i(t.data)})}catch{console.error("Browser does not support BroadcastChannel")}return{subscribe:g,set:t=>{var r,s;o&&o.postMessage(t),t===null?(r=window==null?void 0:window.localStorage)==null||r.removeItem(e):(s=window==null?void 0:window.localStorage)==null||s.setItem(e,p(t)),i(t)},update:t=>{var r;(r=window==null?void 0:window.localStorage)==null||r.removeItem(e),f(s=>{var d;const w=t(s);return(d=window==null?void 0:window.localStorage)==null||d.setItem(e,p(w)),w})}}}export{m as i,y as p}; +import{w as I}from"./singletons.741208bb.js";import{p as S,s as p}from"./parse-with-big-int.b38462f3.js";const m=e=>typeof e=="function";function y(e,a=null,u=!1){var l,c;let n=m(a)?a():a,o;try{(l=window==null?void 0:window.localStorage)!=null&&l.getItem(e)&&(n=S(((c=window==null?void 0:window.localStorage)==null?void 0:c.getItem(e))??""))}catch{n=null}const{subscribe:g,set:i,update:f}=I(n);if(u)try{o=new BroadcastChannel(`persist-store-${e}`),o==null||o.addEventListener("message",t=>{i(t.data)})}catch{console.error("Browser does not support BroadcastChannel")}return{subscribe:g,set:t=>{var r,s;o&&o.postMessage(t),t===null?(r=window==null?void 0:window.localStorage)==null||r.removeItem(e):(s=window==null?void 0:window.localStorage)==null||s.setItem(e,p(t)),i(t)},update:t=>{var r;(r=window==null?void 0:window.localStorage)==null||r.removeItem(e),f(s=>{var d;const w=t(s);return(d=window==null?void 0:window.localStorage)==null||d.setItem(e,p(w)),w})}}}export{m as i,y as p}; diff --git a/ui/assets/local/_app/immutable/chunks/pollers-service.d402da8b.js b/ui/assets/local/_app/immutable/chunks/pollers-service.310d4298.js similarity index 98% rename from ui/assets/local/_app/immutable/chunks/pollers-service.d402da8b.js rename to ui/assets/local/_app/immutable/chunks/pollers-service.310d4298.js index dbda4ed35e..8f6bd50ef6 100644 --- a/ui/assets/local/_app/immutable/chunks/pollers-service.d402da8b.js +++ b/ui/assets/local/_app/immutable/chunks/pollers-service.310d4298.js @@ -1 +1 @@ -import{S as j,b as z,a as G,m as y,p as v,q as I,k as p,u as T,f as w,z as H,g as d,h as J,j as m,C as O,w as W,D as R,x as B,E as D,L as g,y as K,F as N,G as A,c as P,d as E,P as h,H as S,I as C,J as F}from"./index.09834243.js";import{I as Y}from"./icon.3cd9fa27.js";import{t as b}from"./translate.0a219ae4.js";import{r as Q,a as k}from"./route-for-api.6f64f216.js";const U=r=>({}),L=r=>({}),q=r=>({}),V=r=>({});function M(r){let t,s,a,l;return s=new Y({props:{name:"merge"}}),{c(){t=y("span"),O(s.$$.fragment),a=W(r[2]),this.h()},l(i){t=v(i,"SPAN",{class:!0});var n=I(t);R(s.$$.fragment,n),a=B(n,r[2]),n.forEach(p),this.h()},h(){T(t,"class","version svelte-1b9fh62")},m(i,n){w(i,t,n),D(s,t,null),g(t,a),l=!0},p(i,n){(!l||n&4)&&K(a,i[2])},i(i){l||(m(s.$$.fragment,i),l=!0)},o(i){d(s.$$.fragment,i),l=!1},d(i){i&&p(t),N(s)}}}function X(r){let t,s,a,l,i,n;s=new Y({props:{name:"merge"}});const f=r[4]["overall-default-worker"],e=A(f,r,r[3],V),c=r[4]["default-worker"],u=A(c,r,r[3],L);return{c(){t=y("span"),O(s.$$.fragment),a=W(r[2]),l=P(),e&&e.c(),i=P(),u&&u.c(),this.h()},l(o){t=v(o,"SPAN",{class:!0});var _=I(t);R(s.$$.fragment,_),a=B(_,r[2]),l=E(_),e&&e.l(_),i=E(_),u&&u.l(_),_.forEach(p),this.h()},h(){T(t,"class","svelte-1b9fh62"),h(t,"active-version",r[1]),h(t,"version",!r[1])},m(o,_){w(o,t,_),D(s,t,null),g(t,a),g(t,l),e&&e.m(t,null),g(t,i),u&&u.m(t,null),n=!0},p(o,_){(!n||_&4)&&K(a,o[2]),e&&e.p&&(!n||_&8)&&S(e,f,o,o[3],n?F(f,o[3],_,q):C(o[3]),V),u&&u.p&&(!n||_&8)&&S(u,c,o,o[3],n?F(c,o[3],_,U):C(o[3]),L),(!n||_&2)&&h(t,"active-version",o[1]),(!n||_&2)&&h(t,"version",!o[1])},i(o){n||(m(s.$$.fragment,o),m(e,o),m(u,o),n=!0)},o(o){d(s.$$.fragment,o),d(e,o),d(u,o),n=!1},d(o){o&&p(t),N(s),e&&e.d(o),u&&u.d(o)}}}function Z(r){let t,s,a,l;const i=[X,M],n=[];function f(e,c){return e[0]&&e[2]?0:e[2]?1:-1}return~(s=f(r))&&(a=n[s]=i[s](r)),{c(){t=y("p"),a&&a.c(),this.h()},l(e){t=v(e,"P",{class:!0});var c=I(t);a&&a.l(c),c.forEach(p),this.h()},h(){T(t,"class","flex select-all gap-2 font-mono")},m(e,c){w(e,t,c),~s&&n[s].m(t,null),l=!0},p(e,[c]){let u=s;s=f(e),s===u?~s&&n[s].p(e,c):(a&&(H(),d(n[u],1,1,()=>{n[u]=null}),J()),~s?(a=n[s],a?a.p(e,c):(a=n[s]=i[s](e),a.c()),m(a,1),a.m(t,null)):a=null)},i(e){l||(m(a),l=!0)},o(e){d(a),l=!1},d(e){e&&p(t),~s&&n[s].d()}}}function $(r,t,s){let{$$slots:a={},$$scope:l}=t,{defaultVersion:i=!1}=t,{active:n=!1}=t,{buildId:f=""}=t;return r.$$set=e=>{"defaultVersion"in e&&s(0,i=e.defaultVersion),"active"in e&&s(1,n=e.active),"buildId"in e&&s(2,f=e.buildId),"$$scope"in e&&s(3,l=e.$$scope)},[i,n,f,l,a]}class ne extends j{constructor(t){super(),z(this,t,$,Z,G,{defaultVersion:0,active:1,buildId:2})}}async function re(r,t=fetch){const s=Q("task-queue",r),a=await k(s,{request:t,params:{taskQueueType:"1"}}),l=await k(s,{request:t,params:{taskQueueType:"2"}});l.pollers.forEach(e=>{e.taskQueueTypes=["ACTIVITY"]}),a.pollers.forEach(e=>{e.taskQueueTypes=["WORKFLOW"]});const i=e=>(c,u)=>{const o=c[u.identity]||{lastAccessTime:void 0,taskQueueTypes:[]};return c[u.identity]={lastAccessTime:!o.lastAccessTime||o.lastAccessTimea.pollers.some(c=>{if(e.identity===c.identity)return e.taskQueueTypes=[...c.taskQueueTypes,...e.taskQueueTypes],e})),l.pollers.reduce(i("ACTIVITY"),a.pollers.reduce(i("WORKFLOW"),{}));const n=l.pollers.length?l.pollers:a.pollers,f=l.pollers.length?l.taskQueueStatus:a.taskQueueStatus;return{pollers:n,taskQueueStatus:f}}async function le(r,t=fetch){const s=Q("task-queue.compatibility",r);return k(s,{request:t,onError:a=>console.error(a)})}async function oe(r,t=fetch){const{namespace:s,buildIds:a,taskQueue:l}=r,i=Q("worker-task-reachability",{namespace:s}),n=new URLSearchParams;if(a.length)for(const f of a)n.append("buildIds",f);else n.append("buildIds",""),n.append("taskQueues",l);return await k(i,{request:t,params:n,onError:f=>(console.error(f),{buildIdReachability:[]})})}function x(r){return!r||!r.length?b("workers","ready-to-be-retired"):r.length===1&&r.includes("CLOSED")?b("maybe"):b("no")}function ie(r,t,s){var n,f;const a=(n=r==null?void 0:r.buildIdReachability)==null?void 0:n.find(e=>e.buildId===s);if(!a)return"";const l=(f=a==null?void 0:a.taskQueueReachability)==null?void 0:f.find(e=>(e==null?void 0:e.taskQueue)===t);if(!l)return"";const i=l==null?void 0:l.reachability;return x(i)}export{ne as C,le as a,oe as b,ie as c,re as g}; +import{S as j,b as z,a as G,m as y,p as v,q as I,k as p,u as T,f as w,z as H,g as d,h as J,j as m,C as O,w as W,D as R,x as B,E as D,L as g,y as K,F as N,G as A,c as P,d as E,P as h,H as S,I as C,J as F}from"./index.09834243.js";import{I as Y}from"./icon.3cd9fa27.js";import{t as b}from"./translate.0a219ae4.js";import{r as Q,a as k}from"./route-for-api.a8b11085.js";const U=r=>({}),L=r=>({}),q=r=>({}),V=r=>({});function M(r){let t,s,a,l;return s=new Y({props:{name:"merge"}}),{c(){t=y("span"),O(s.$$.fragment),a=W(r[2]),this.h()},l(i){t=v(i,"SPAN",{class:!0});var n=I(t);R(s.$$.fragment,n),a=B(n,r[2]),n.forEach(p),this.h()},h(){T(t,"class","version svelte-1b9fh62")},m(i,n){w(i,t,n),D(s,t,null),g(t,a),l=!0},p(i,n){(!l||n&4)&&K(a,i[2])},i(i){l||(m(s.$$.fragment,i),l=!0)},o(i){d(s.$$.fragment,i),l=!1},d(i){i&&p(t),N(s)}}}function X(r){let t,s,a,l,i,n;s=new Y({props:{name:"merge"}});const f=r[4]["overall-default-worker"],e=A(f,r,r[3],V),c=r[4]["default-worker"],u=A(c,r,r[3],L);return{c(){t=y("span"),O(s.$$.fragment),a=W(r[2]),l=P(),e&&e.c(),i=P(),u&&u.c(),this.h()},l(o){t=v(o,"SPAN",{class:!0});var _=I(t);R(s.$$.fragment,_),a=B(_,r[2]),l=E(_),e&&e.l(_),i=E(_),u&&u.l(_),_.forEach(p),this.h()},h(){T(t,"class","svelte-1b9fh62"),h(t,"active-version",r[1]),h(t,"version",!r[1])},m(o,_){w(o,t,_),D(s,t,null),g(t,a),g(t,l),e&&e.m(t,null),g(t,i),u&&u.m(t,null),n=!0},p(o,_){(!n||_&4)&&K(a,o[2]),e&&e.p&&(!n||_&8)&&S(e,f,o,o[3],n?F(f,o[3],_,q):C(o[3]),V),u&&u.p&&(!n||_&8)&&S(u,c,o,o[3],n?F(c,o[3],_,U):C(o[3]),L),(!n||_&2)&&h(t,"active-version",o[1]),(!n||_&2)&&h(t,"version",!o[1])},i(o){n||(m(s.$$.fragment,o),m(e,o),m(u,o),n=!0)},o(o){d(s.$$.fragment,o),d(e,o),d(u,o),n=!1},d(o){o&&p(t),N(s),e&&e.d(o),u&&u.d(o)}}}function Z(r){let t,s,a,l;const i=[X,M],n=[];function f(e,c){return e[0]&&e[2]?0:e[2]?1:-1}return~(s=f(r))&&(a=n[s]=i[s](r)),{c(){t=y("p"),a&&a.c(),this.h()},l(e){t=v(e,"P",{class:!0});var c=I(t);a&&a.l(c),c.forEach(p),this.h()},h(){T(t,"class","flex select-all gap-2 font-mono")},m(e,c){w(e,t,c),~s&&n[s].m(t,null),l=!0},p(e,[c]){let u=s;s=f(e),s===u?~s&&n[s].p(e,c):(a&&(H(),d(n[u],1,1,()=>{n[u]=null}),J()),~s?(a=n[s],a?a.p(e,c):(a=n[s]=i[s](e),a.c()),m(a,1),a.m(t,null)):a=null)},i(e){l||(m(a),l=!0)},o(e){d(a),l=!1},d(e){e&&p(t),~s&&n[s].d()}}}function $(r,t,s){let{$$slots:a={},$$scope:l}=t,{defaultVersion:i=!1}=t,{active:n=!1}=t,{buildId:f=""}=t;return r.$$set=e=>{"defaultVersion"in e&&s(0,i=e.defaultVersion),"active"in e&&s(1,n=e.active),"buildId"in e&&s(2,f=e.buildId),"$$scope"in e&&s(3,l=e.$$scope)},[i,n,f,l,a]}class ne extends j{constructor(t){super(),z(this,t,$,Z,G,{defaultVersion:0,active:1,buildId:2})}}async function re(r,t=fetch){const s=Q("task-queue",r),a=await k(s,{request:t,params:{taskQueueType:"1"}}),l=await k(s,{request:t,params:{taskQueueType:"2"}});l.pollers.forEach(e=>{e.taskQueueTypes=["ACTIVITY"]}),a.pollers.forEach(e=>{e.taskQueueTypes=["WORKFLOW"]});const i=e=>(c,u)=>{const o=c[u.identity]||{lastAccessTime:void 0,taskQueueTypes:[]};return c[u.identity]={lastAccessTime:!o.lastAccessTime||o.lastAccessTimea.pollers.some(c=>{if(e.identity===c.identity)return e.taskQueueTypes=[...c.taskQueueTypes,...e.taskQueueTypes],e})),l.pollers.reduce(i("ACTIVITY"),a.pollers.reduce(i("WORKFLOW"),{}));const n=l.pollers.length?l.pollers:a.pollers,f=l.pollers.length?l.taskQueueStatus:a.taskQueueStatus;return{pollers:n,taskQueueStatus:f}}async function le(r,t=fetch){const s=Q("task-queue.compatibility",r);return k(s,{request:t,onError:a=>console.error(a)})}async function oe(r,t=fetch){const{namespace:s,buildIds:a,taskQueue:l}=r,i=Q("worker-task-reachability",{namespace:s}),n=new URLSearchParams;if(a.length)for(const f of a)n.append("buildIds",f);else n.append("buildIds",""),n.append("taskQueues",l);return await k(i,{request:t,params:n,onError:f=>(console.error(f),{buildIdReachability:[]})})}function x(r){return!r||!r.length?b("workers","ready-to-be-retired"):r.length===1&&r.includes("CLOSED")?b("maybe"):b("no")}function ie(r,t,s){var n,f;const a=(n=r==null?void 0:r.buildIdReachability)==null?void 0:n.find(e=>e.buildId===s);if(!a)return"";const l=(f=a==null?void 0:a.taskQueueReachability)==null?void 0:f.find(e=>(e==null?void 0:e.taskQueue)===t);if(!l)return"";const i=l==null?void 0:l.reachability;return x(i)}export{ne as C,le as a,oe as b,ie as c,re as g}; diff --git a/ui/assets/local/_app/immutable/chunks/query-service.84b09f62.js b/ui/assets/local/_app/immutable/chunks/query-service.37bc9273.js similarity index 83% rename from ui/assets/local/_app/immutable/chunks/query-service.84b09f62.js rename to ui/assets/local/_app/immutable/chunks/query-service.37bc9273.js index 8bb8f85e64..7c004e37c3 100644 --- a/ui/assets/local/_app/immutable/chunks/query-service.84b09f62.js +++ b/ui/assets/local/_app/immutable/chunks/query-service.37bc9273.js @@ -1 +1 @@ -import{p as f}from"./data-encoder-config.b5b7b570.js";import{c as m}from"./decode-payload.1c6b12fc.js";import{g as l,a as h}from"./get-codec.be95b1c3.js";import{h as T}from"./has.b142a10d.js";import{s as u,p as _}from"./parse-with-big-int.b38462f3.js";import{r as g,a as A,e as I}from"./route-for-api.6f64f216.js";const b=t=>{const e=t.indexOf("["),a=t.indexOf("]");return t.slice(e+1,a).split(" ").filter(r=>r!=="__stack_trace").map(r=>r.endsWith(",")?r.slice(0,r.length-1):r)},O=async(t,e)=>(e=await e,{namespace:t,workflowId:e.id,runId:e.runId});async function d({workflow:t,namespace:e,queryType:a},r=fetch,n){t=await t;const o=await O(e,t),s=g("query",o);return await A(s,{options:{method:"POST",body:u({execution:{workflowId:t.id,runId:t.runId},query:{queryType:a}})},request:r,onError:n,notifyOnError:!1})}async function E(t,e=fetch){return new Promise((a,r)=>{d({...t,queryType:"@@temporal-internal__list"},e,n=>{I(n.body)&&n.body.message.includes("@@temporal-internal__list")?a(b(n.body.message)):r(n)})})}async function P(t,e,a,r=fetch){return d(t,r).then(async n=>{const{queryResult:o}=n??{queryResult:{payloads:[]}};let s=o.payloads;try{if(s[0]){const i=l(e),y=h(e,f),p={...e,codec:{...e==null?void 0:e.codec,endpoint:i,passAccessToken:y}},c=await m({attributes:o,namespace:t.namespace,settings:p,accessToken:a});T(c,"payloads")&&Array.isArray(c.payloads)&&(s=c.payloads[0])}return _(s)}catch{return typeof s!="string"?u(s):s}})}async function Q(t,e,a){return P({...t,queryType:"__stack_trace"},e,a)}export{P as a,Q as b,E as g}; +import{p as f}from"./data-encoder-config.79b97010.js";import{c as m}from"./decode-payload.e6040d83.js";import{g as l,a as h}from"./get-codec.fde3aa26.js";import{h as T}from"./has.b142a10d.js";import{s as u,p as _}from"./parse-with-big-int.b38462f3.js";import{r as g,a as A,e as I}from"./route-for-api.a8b11085.js";const b=t=>{const e=t.indexOf("["),a=t.indexOf("]");return t.slice(e+1,a).split(" ").filter(r=>r!=="__stack_trace").map(r=>r.endsWith(",")?r.slice(0,r.length-1):r)},O=async(t,e)=>(e=await e,{namespace:t,workflowId:e.id,runId:e.runId});async function d({workflow:t,namespace:e,queryType:a},r=fetch,n){t=await t;const o=await O(e,t),s=g("query",o);return await A(s,{options:{method:"POST",body:u({execution:{workflowId:t.id,runId:t.runId},query:{queryType:a}})},request:r,onError:n,notifyOnError:!1})}async function E(t,e=fetch){return new Promise((a,r)=>{d({...t,queryType:"@@temporal-internal__list"},e,n=>{I(n.body)&&n.body.message.includes("@@temporal-internal__list")?a(b(n.body.message)):r(n)})})}async function P(t,e,a,r=fetch){return d(t,r).then(async n=>{const{queryResult:o}=n??{queryResult:{payloads:[]}};let s=o.payloads;try{if(s[0]){const i=l(e),y=h(e,f),p={...e,codec:{...e==null?void 0:e.codec,endpoint:i,passAccessToken:y}},c=await m({attributes:o,namespace:t.namespace,settings:p,accessToken:a});T(c,"payloads")&&Array.isArray(c.payloads)&&(s=c.payloads[0])}return _(s)}catch{return typeof s!="string"?u(s):s}})}async function Q(t,e,a){return P({...t,queryType:"__stack_trace"},e,a)}export{P as a,Q as b,E as g}; diff --git a/ui/assets/local/_app/immutable/chunks/radio-input.c176e21a.js b/ui/assets/local/_app/immutable/chunks/radio-input.af69c0d3.js similarity index 98% rename from ui/assets/local/_app/immutable/chunks/radio-input.c176e21a.js rename to ui/assets/local/_app/immutable/chunks/radio-input.af69c0d3.js index 431e4674fb..324a3ef2d7 100644 --- a/ui/assets/local/_app/immutable/chunks/radio-input.c176e21a.js +++ b/ui/assets/local/_app/immutable/chunks/radio-input.af69c0d3.js @@ -1 +1 @@ -import{S as V,b as j,a as B,G as z,N as I,m as E,c as A,p as P,q as H,d as D,k as g,O,f as T,L as b,H as F,I as M,J as W,R as J,j as Y,g as Z,T as C,ae as x,U as K,w as G,x as L,u as k,y as S,P as R,Q as w,n as U,af as $,K as ee}from"./index.09834243.js";import{w as le}from"./singletons.aae8f11e.js";function q(s){let e,l;return{c(){e=E("p"),l=G(s[1]),this.h()},l(a){e=P(a,"P",{class:!0});var i=H(e);l=L(i,s[1]),i.forEach(g),this.h()},h(){k(e,"class","font-secondary text-sm font-medium")},m(a,i){T(a,e,i),b(e,l)},p(a,i){i&2&&S(l,a[1])},d(a){a&&g(e)}}}function ae(s){let e,l,a,i,t=s[1]&&q(s);const c=s[6].default,f=z(c,s,s[5],null);let h=[{class:a="flex flex-col gap-2 "+s[0]},s[2]],m={};for(let n=0;n{e=I(I({},e),K(u)),l(2,i=C(e,a)),"class"in u&&l(0,f=u.class),"name"in u&&l(3,h=u.name),"group"in u&&l(4,m=u.group),"description"in u&&l(1,n=u.description),"$$scope"in u&&l(5,c=u.$$scope)},[f,n,i,h,m,c,t]}class fe extends V{constructor(e){super(),j(this,e,se,ae,B,{class:0,name:3,group:4,description:1})}}function y(s){let e,l,a;return{c(){e=E("p"),l=G(s[3]),this.h()},l(i){e=P(i,"P",{class:!0,id:!0});var t=H(e);l=L(t,s[3]),t.forEach(g),this.h()},h(){k(e,"class","description svelte-1fghmxc"),k(e,"id",a=s[1]+"-description")},m(i,t){T(i,e,t),b(e,l)},p(i,t){t&8&&S(l,i[3]),t&2&&a!==(a=i[1]+"-description")&&k(e,"id",a)},d(i){i&&g(e)}}}function te(s){let e,l,a,i,t,c,f,h,m,n,u=[{type:"radio"},{"aria-describedby":i=s[1]+"-description"},{name:s[6]},{__value:s[0]},{id:s[1]},s[8]],v={};for(let o=0;ol(5,t=_));const N=[[]];function X(){t=this.__value,p.set(t)}return s.$$set=_=>{e=I(I({},e),K(_)),l(8,i=C(e,a)),"value"in _&&l(0,f=_.value),"id"in _&&l(1,h=_.id),"label"in _&&l(2,m=_.label),"description"in _&&l(3,n=_.description),"labelHidden"in _&&l(4,u=_.labelHidden),"group"in _&&l(9,v=_.group),"name"in _&&l(10,d=_.name)},[f,h,m,n,u,t,r,p,i,v,d,X,N]}class oe extends V{constructor(e){super(),j(this,e,ie,te,B,{value:0,id:1,label:2,description:3,labelHidden:4,group:9,name:10})}}export{fe as R,oe as a}; +import{S as V,b as j,a as B,G as z,N as I,m as E,c as A,p as P,q as H,d as D,k as g,O,f as T,L as b,H as F,I as M,J as W,R as J,j as Y,g as Z,T as C,ae as x,U as K,w as G,x as L,u as k,y as S,P as R,Q as w,n as U,af as $,K as ee}from"./index.09834243.js";import{w as le}from"./singletons.741208bb.js";function q(s){let e,l;return{c(){e=E("p"),l=G(s[1]),this.h()},l(a){e=P(a,"P",{class:!0});var i=H(e);l=L(i,s[1]),i.forEach(g),this.h()},h(){k(e,"class","font-secondary text-sm font-medium")},m(a,i){T(a,e,i),b(e,l)},p(a,i){i&2&&S(l,a[1])},d(a){a&&g(e)}}}function ae(s){let e,l,a,i,t=s[1]&&q(s);const c=s[6].default,f=z(c,s,s[5],null);let h=[{class:a="flex flex-col gap-2 "+s[0]},s[2]],m={};for(let n=0;n{e=I(I({},e),K(u)),l(2,i=C(e,a)),"class"in u&&l(0,f=u.class),"name"in u&&l(3,h=u.name),"group"in u&&l(4,m=u.group),"description"in u&&l(1,n=u.description),"$$scope"in u&&l(5,c=u.$$scope)},[f,n,i,h,m,c,t]}class fe extends V{constructor(e){super(),j(this,e,se,ae,B,{class:0,name:3,group:4,description:1})}}function y(s){let e,l,a;return{c(){e=E("p"),l=G(s[3]),this.h()},l(i){e=P(i,"P",{class:!0,id:!0});var t=H(e);l=L(t,s[3]),t.forEach(g),this.h()},h(){k(e,"class","description svelte-1fghmxc"),k(e,"id",a=s[1]+"-description")},m(i,t){T(i,e,t),b(e,l)},p(i,t){t&8&&S(l,i[3]),t&2&&a!==(a=i[1]+"-description")&&k(e,"id",a)},d(i){i&&g(e)}}}function te(s){let e,l,a,i,t,c,f,h,m,n,u=[{type:"radio"},{"aria-describedby":i=s[1]+"-description"},{name:s[6]},{__value:s[0]},{id:s[1]},s[8]],v={};for(let o=0;ol(5,t=_));const N=[[]];function X(){t=this.__value,p.set(t)}return s.$$set=_=>{e=I(I({},e),K(_)),l(8,i=C(e,a)),"value"in _&&l(0,f=_.value),"id"in _&&l(1,h=_.id),"label"in _&&l(2,m=_.label),"description"in _&&l(3,n=_.description),"labelHidden"in _&&l(4,u=_.labelHidden),"group"in _&&l(9,v=_.group),"name"in _&&l(10,d=_.name)},[f,h,m,n,u,t,r,p,i,v,d,X,N]}class oe extends V{constructor(e){super(),j(this,e,ie,te,B,{value:0,id:1,label:2,description:3,labelHidden:4,group:9,name:10})}}export{fe as R,oe as a}; diff --git a/ui/assets/local/_app/immutable/chunks/route-for-api.6f64f216.js b/ui/assets/local/_app/immutable/chunks/route-for-api.a8b11085.js similarity index 93% rename from ui/assets/local/_app/immutable/chunks/route-for-api.6f64f216.js rename to ui/assets/local/_app/immutable/chunks/route-for-api.a8b11085.js index 58b8b8e831..43defa6d8f 100644 --- a/ui/assets/local/_app/immutable/chunks/route-for-api.6f64f216.js +++ b/ui/assets/local/_app/immutable/chunks/route-for-api.a8b11085.js @@ -1 +1 @@ -import{B as f}from"./prod-browser.becde89a.js";import{g}from"./auth-user.f0bc59ab.js";import{w as q}from"./singletons.aae8f11e.js";import{t as x}from"./toaster.d089c03c.js";import{h as y}from"./has.b142a10d.js";import{i as C}from"./is-network-error.e2b13739.js";import{f as $,t as R}from"./route-for.3b55a4c6.js";import{i as F}from"./persist-store.ad106cab.js";import{ac as P}from"./index.09834243.js";import{b as O}from"./paths.e7bc2ad1.js";import{p as W}from"./stores.9d4a2bb0.js";function S(c=f){const n="",o=!n.startsWith("http");let i="";return o?i=c?window.location.origin+n:"":i=n,i.endsWith("/")&&(i=i.slice(0,-1)),i}const N=q(null),_=(c,n=x,o=N,i=f)=>{throw typeof c=="string"?n.push({variant:"error",message:c}):c.report=!1,c instanceof Error&&n.push({variant:"error",message:c.message}),e(c)&&i&&window.location.assign($(c==null?void 0:c.message)),v(c)&&i&&window.location.assign($(c==null?void 0:c.message)),C(c)&&(n.push({variant:"error",message:`${c.statusCode} ${c.statusText}`}),o.set(c)),c},on=(c,n=f)=>{var i;const o=`${c==null?void 0:c.status} ${(i=c==null?void 0:c.body)==null?void 0:i.message}`;if(e(c)&&n){window.location.assign($(o));return}if(v(c)&&n){window.location.assign($(o));return}},e=c=>T(c,401),v=c=>T(c,403),T=(c,n)=>y(c,"statusCode")?c.statusCode===n:y(c,"status")?c.status===n:!1,sn=c=>(c==null?void 0:c.message)!==void 0&&typeof(c==null?void 0:c.message)=="string",un=async(c,n={})=>{const{params:o={},request:i=fetch,token:u,notifyOnError:l=!0,handleError:w=_,onError:k,isBrowser:I=f}=n;let{options:t}=n,h=new URLSearchParams;if(o!=null&&o.entries)h=o,u&&h.set("nextPageToken",u);else{const s=u?{next_page_token:u}:{};h=new URLSearchParams({...o,...s})}const U=R(c,h);try{t=z(t,I),t=await L(t,I);const s=await i(U,t),d=await s.json(),{status:E,statusText:A}=s;if(!s.ok)if(k&&F(k))k({status:E,statusText:A,body:d});else throw{statusCode:s.status,statusText:s.statusText,response:s,message:(d==null?void 0:d.message)??s.statusText};return d}catch(s){if(l)w(s);else throw s}},z=(c,n=f)=>{const o={credentials:"include",...c};return o.headers=H(c==null?void 0:c.headers,n),o},L=async(c,n=f)=>(g().accessToken?(c.headers=await b(c==null?void 0:c.headers,async()=>g().accessToken,n),c.headers=B(c==null?void 0:c.headers,g().idToken,n)):globalThis!=null&&globalThis.AccessToken&&(c.headers=await b(c==null?void 0:c.headers,globalThis.AccessToken,n)),c),b=async(c,n,o=f)=>{if(c||(c={}),!o)return c;try{const i=await n();i&&(c.Authorization=`Bearer ${i}`)}catch(i){console.error(i)}return c},B=(c={},n,o=f)=>(o&&n&&(c["Authorization-Extras"]=n),c),H=(c,n=f)=>{if(c||(c={}),c["Caller-Type"]="operator",!n)return c;const o="_csrf=",i="X-CSRF-TOKEN";try{let l=document.cookie.split(";").find(w=>w.includes(o));l&&!c[i]&&(l=l.trim().slice(o.length),c[i]=l)}catch(u){console.error(u)}return c},K=(c,n)=>c?c.replace("%namespace%",n):"",X=c=>{var l,w;let n="";const o=(l=P(W).data)==null?void 0:l.webUrl,i=o&&c,u=((w=globalThis==null?void 0:globalThis.AppConfig)==null?void 0:w.apiUrl)&&c;return i?n=o:u?(console.warn("Using fallback api url, web url not found"),n=K(globalThis.AppConfig.apiUrl,c)):n=S(),n.endsWith("/")&&(n=n.slice(0,-1)),n=`${n}${O}`,n},D=c=>(c.startsWith("/")&&(c=c.slice(1)),`/api/v1/${c}`),G=(c,n)=>`${X(n)}${c}`,J=c=>Object.keys(c??{}).reduce((n,o)=>(n[o]=encodeURIComponent(encodeURIComponent(c[o])),n),{namespace:"",workflowId:"",scheduleId:"",runId:"",queue:"",activityId:""});function M(c,n,o=!0){o&&(n=J(n));const i={cluster:"/cluster",systemInfo:"/system-info","events.ascending":`/namespaces/${n==null?void 0:n.namespace}/workflows/${n==null?void 0:n.workflowId}/runs/${n==null?void 0:n.runId}/events`,"events.descending":`/namespaces/${n==null?void 0:n.namespace}/workflows/${n==null?void 0:n.workflowId}/runs/${n==null?void 0:n.runId}/events/reverse`,namespaces:"/namespaces",namespace:`/namespaces/${n==null?void 0:n.namespace}`,query:`/namespaces/${n==null?void 0:n.namespace}/workflows/${n==null?void 0:n.workflowId}/runs/${n==null?void 0:n.runId}/query`,"schedule.delete":`/namespaces/${n==null?void 0:n.namespace}/schedules/${n==null?void 0:n.scheduleId}`,schedule:`/namespaces/${n==null?void 0:n.namespace}/schedules/${n==null?void 0:n.scheduleId}`,schedules:`/namespaces/${n==null?void 0:n.namespace}/schedules`,"search-attributes":`/namespaces/${n.namespace}/search-attributes`,settings:"/settings","task-queue":`/namespaces/${n==null?void 0:n.namespace}/task-queues/${n==null?void 0:n.queue}`,"task-queue.compatibility":`/namespaces/${n==null?void 0:n.namespace}/task-queues/${n==null?void 0:n.queue}/compatibility`,user:"/me","worker-task-reachability":`/namespaces/${n==null?void 0:n.namespace}/worker-task-reachability`,"workflow.terminate":`/namespaces/${n==null?void 0:n.namespace}/workflows/${n==null?void 0:n.workflowId}/runs/${n==null?void 0:n.runId}/terminate`,"workflow.cancel":`/namespaces/${n.namespace}/workflows/${n.workflowId}/runs/${n.runId}/cancel`,"workflow.signal":`/namespaces/${n.namespace}/workflows/${n.workflowId}/runs/${n.runId}/signal`,"workflow.reset":`/namespaces/${n.namespace}/workflows/${n.workflowId}/runs/${n.runId}/reset`,workflow:`/namespaces/${n==null?void 0:n.namespace}/workflows/${n==null?void 0:n.workflowId}/runs/${n==null?void 0:n.runId}`,"workflows.archived":`/namespaces/${n==null?void 0:n.namespace}/workflows/archived`,workflows:`/namespaces/${n==null?void 0:n.namespace}/workflows`,"workflows.count":`/namespaces/${n==null?void 0:n.namespace}/workflows/count`,"activity.complete":`/namespaces/${n.namespace}/workflows/${n.workflowId}/runs/${n.runId}/activities/${n.activityId}/complete`,"activity.fail":`/namespaces/${n.namespace}/workflows/${n.workflowId}/runs/${n.runId}/activities/${n.activityId}/fail`,"batch-operations":`/namespaces/${n.namespace}/batch-operations`,"batch-operation.describe":`/namespaces/${n.namespace}/batch-operations/describe`};return D(i[c])}function ln(c,n,o=!0){const i=M(c,n,o);return G(i,n==null?void 0:n.namespace)}export{un as a,X as b,on as c,v as d,sn as e,S as g,_ as h,e as i,N as n,M as p,ln as r}; +import{B as f}from"./prod-browser.becde89a.js";import{g}from"./auth-user.051e0dee.js";import{w as q}from"./singletons.741208bb.js";import{t as x}from"./toaster.a0b7d8ad.js";import{h as y}from"./has.b142a10d.js";import{i as C}from"./is-network-error.e2b13739.js";import{f as $,t as R}from"./route-for.d76d8056.js";import{i as F}from"./persist-store.47877c2b.js";import{ac as P}from"./index.09834243.js";import{b as O}from"./paths.6ba25c42.js";import{p as W}from"./stores.cd833532.js";function S(c=f){const n="",o=!n.startsWith("http");let i="";return o?i=c?window.location.origin+n:"":i=n,i.endsWith("/")&&(i=i.slice(0,-1)),i}const N=q(null),_=(c,n=x,o=N,i=f)=>{throw typeof c=="string"?n.push({variant:"error",message:c}):c.report=!1,c instanceof Error&&n.push({variant:"error",message:c.message}),e(c)&&i&&window.location.assign($(c==null?void 0:c.message)),v(c)&&i&&window.location.assign($(c==null?void 0:c.message)),C(c)&&(n.push({variant:"error",message:`${c.statusCode} ${c.statusText}`}),o.set(c)),c},on=(c,n=f)=>{var i;const o=`${c==null?void 0:c.status} ${(i=c==null?void 0:c.body)==null?void 0:i.message}`;if(e(c)&&n){window.location.assign($(o));return}if(v(c)&&n){window.location.assign($(o));return}},e=c=>T(c,401),v=c=>T(c,403),T=(c,n)=>y(c,"statusCode")?c.statusCode===n:y(c,"status")?c.status===n:!1,sn=c=>(c==null?void 0:c.message)!==void 0&&typeof(c==null?void 0:c.message)=="string",un=async(c,n={})=>{const{params:o={},request:i=fetch,token:u,notifyOnError:l=!0,handleError:w=_,onError:k,isBrowser:I=f}=n;let{options:t}=n,h=new URLSearchParams;if(o!=null&&o.entries)h=o,u&&h.set("nextPageToken",u);else{const s=u?{next_page_token:u}:{};h=new URLSearchParams({...o,...s})}const U=R(c,h);try{t=z(t,I),t=await L(t,I);const s=await i(U,t),d=await s.json(),{status:E,statusText:A}=s;if(!s.ok)if(k&&F(k))k({status:E,statusText:A,body:d});else throw{statusCode:s.status,statusText:s.statusText,response:s,message:(d==null?void 0:d.message)??s.statusText};return d}catch(s){if(l)w(s);else throw s}},z=(c,n=f)=>{const o={credentials:"include",...c};return o.headers=H(c==null?void 0:c.headers,n),o},L=async(c,n=f)=>(g().accessToken?(c.headers=await b(c==null?void 0:c.headers,async()=>g().accessToken,n),c.headers=B(c==null?void 0:c.headers,g().idToken,n)):globalThis!=null&&globalThis.AccessToken&&(c.headers=await b(c==null?void 0:c.headers,globalThis.AccessToken,n)),c),b=async(c,n,o=f)=>{if(c||(c={}),!o)return c;try{const i=await n();i&&(c.Authorization=`Bearer ${i}`)}catch(i){console.error(i)}return c},B=(c={},n,o=f)=>(o&&n&&(c["Authorization-Extras"]=n),c),H=(c,n=f)=>{if(c||(c={}),c["Caller-Type"]="operator",!n)return c;const o="_csrf=",i="X-CSRF-TOKEN";try{let l=document.cookie.split(";").find(w=>w.includes(o));l&&!c[i]&&(l=l.trim().slice(o.length),c[i]=l)}catch(u){console.error(u)}return c},K=(c,n)=>c?c.replace("%namespace%",n):"",X=c=>{var l,w;let n="";const o=(l=P(W).data)==null?void 0:l.webUrl,i=o&&c,u=((w=globalThis==null?void 0:globalThis.AppConfig)==null?void 0:w.apiUrl)&&c;return i?n=o:u?(console.warn("Using fallback api url, web url not found"),n=K(globalThis.AppConfig.apiUrl,c)):n=S(),n.endsWith("/")&&(n=n.slice(0,-1)),n=`${n}${O}`,n},D=c=>(c.startsWith("/")&&(c=c.slice(1)),`/api/v1/${c}`),G=(c,n)=>`${X(n)}${c}`,J=c=>Object.keys(c??{}).reduce((n,o)=>(n[o]=encodeURIComponent(encodeURIComponent(c[o])),n),{namespace:"",workflowId:"",scheduleId:"",runId:"",queue:"",activityId:""});function M(c,n,o=!0){o&&(n=J(n));const i={cluster:"/cluster",systemInfo:"/system-info","events.ascending":`/namespaces/${n==null?void 0:n.namespace}/workflows/${n==null?void 0:n.workflowId}/runs/${n==null?void 0:n.runId}/events`,"events.descending":`/namespaces/${n==null?void 0:n.namespace}/workflows/${n==null?void 0:n.workflowId}/runs/${n==null?void 0:n.runId}/events/reverse`,namespaces:"/namespaces",namespace:`/namespaces/${n==null?void 0:n.namespace}`,query:`/namespaces/${n==null?void 0:n.namespace}/workflows/${n==null?void 0:n.workflowId}/runs/${n==null?void 0:n.runId}/query`,"schedule.delete":`/namespaces/${n==null?void 0:n.namespace}/schedules/${n==null?void 0:n.scheduleId}`,schedule:`/namespaces/${n==null?void 0:n.namespace}/schedules/${n==null?void 0:n.scheduleId}`,schedules:`/namespaces/${n==null?void 0:n.namespace}/schedules`,"search-attributes":`/namespaces/${n.namespace}/search-attributes`,settings:"/settings","task-queue":`/namespaces/${n==null?void 0:n.namespace}/task-queues/${n==null?void 0:n.queue}`,"task-queue.compatibility":`/namespaces/${n==null?void 0:n.namespace}/task-queues/${n==null?void 0:n.queue}/compatibility`,user:"/me","worker-task-reachability":`/namespaces/${n==null?void 0:n.namespace}/worker-task-reachability`,"workflow.terminate":`/namespaces/${n==null?void 0:n.namespace}/workflows/${n==null?void 0:n.workflowId}/runs/${n==null?void 0:n.runId}/terminate`,"workflow.cancel":`/namespaces/${n.namespace}/workflows/${n.workflowId}/runs/${n.runId}/cancel`,"workflow.signal":`/namespaces/${n.namespace}/workflows/${n.workflowId}/runs/${n.runId}/signal`,"workflow.reset":`/namespaces/${n.namespace}/workflows/${n.workflowId}/runs/${n.runId}/reset`,workflow:`/namespaces/${n==null?void 0:n.namespace}/workflows/${n==null?void 0:n.workflowId}/runs/${n==null?void 0:n.runId}`,"workflows.archived":`/namespaces/${n==null?void 0:n.namespace}/workflows/archived`,workflows:`/namespaces/${n==null?void 0:n.namespace}/workflows`,"workflows.count":`/namespaces/${n==null?void 0:n.namespace}/workflows/count`,"activity.complete":`/namespaces/${n.namespace}/workflows/${n.workflowId}/runs/${n.runId}/activities/${n.activityId}/complete`,"activity.fail":`/namespaces/${n.namespace}/workflows/${n.workflowId}/runs/${n.runId}/activities/${n.activityId}/fail`,"batch-operations":`/namespaces/${n.namespace}/batch-operations`,"batch-operation.describe":`/namespaces/${n.namespace}/batch-operations/describe`};return D(i[c])}function ln(c,n,o=!0){const i=M(c,n,o);return G(i,n==null?void 0:n.namespace)}export{un as a,X as b,on as c,v as d,sn as e,S as g,_ as h,e as i,N as n,M as p,ln as r}; diff --git a/ui/assets/local/_app/immutable/chunks/route-for.3b55a4c6.js b/ui/assets/local/_app/immutable/chunks/route-for.d76d8056.js similarity index 97% rename from ui/assets/local/_app/immutable/chunks/route-for.3b55a4c6.js rename to ui/assets/local/_app/immutable/chunks/route-for.d76d8056.js index 620f3d7770..2e5bfedab1 100644 --- a/ui/assets/local/_app/immutable/chunks/route-for.3b55a4c6.js +++ b/ui/assets/local/_app/immutable/chunks/route-for.d76d8056.js @@ -1 +1 @@ -import{B as h}from"./prod-browser.becde89a.js";import{b as o}from"./paths.e7bc2ad1.js";function c(e){return e&&e.replace(/%/g,"%25").replace(/,/g,"%2C").replace(/\//g,"%2F").replace(/\\/g,"%5C").replace(/\?/g,"%3F").replace(/:/g,"%3A").replace(/@/g,"%40").replace(/&/g,"%26").replace(/=/g,"%3D").replace(/\+/g,"%2B").replace(/\$/g,"%24").replace(/#/g,"%23")}function d(e){return e&&e.replace(/%2C/g,",").replace(/%2F/g,"/").replace(/%5C/g,"\\").replace(/%3F/g,"?").replace(/%3A/g,":").replace(/%40/g,"@").replace(/%26/g,"&").replace(/%3D/g,"=").replace(/%2B/g,"+").replace(/%24/g,"$").replace(/%23/g,"#").replace(/%25/g,"%")}const p=(e,r)=>{const t=r instanceof URLSearchParams;return r&&!t&&(r=new URLSearchParams(r)),r?`${e}?${r}`:e},w=()=>`${o}/namespaces`,u=({namespace:e})=>`${o}/namespaces/${e}`,v=()=>`${o}/select-namespace`,F=e=>`${u(e)}/workflows`,P=e=>`${u(e)}/archival`,s=({workflow:e,run:r,...t})=>{const a=c(e);return`${F(t)}/${a}/${r}`},l=e=>`${u(e)}/schedules`,S=({namespace:e})=>`${l({namespace:e})}/create`,U=({scheduleId:e,namespace:r})=>{const t=c(e);return`${l({namespace:r})}/${t}`},k=({scheduleId:e,namespace:r})=>{const t=c(e);return`${l({namespace:r})}/${t}/edit`},y=({queryParams:e,...r})=>{const t=`${s(r)}/history`;return p(`${t}`,e)},R=({eventId:e,...r})=>{const t=`${s(r)}/history/events/${e}`;return p(`${t}`)},E=e=>`${s(e)}/workers`,L=e=>{const r=c(e.queue);return`${u({namespace:e.namespace})}/task-queues/${r}`},b=e=>`${s(e)}/stack-trace`,B=e=>`${s(e)}/query`,W=e=>`${s(e)}/pending-activities`,q=e=>{const{settings:r,searchParams:t,originUrl:a}=e,n=new URL(`${o}/auth/sso`,r.baseUrl);let i=r.auth.options??[];return i=[...i,"returnUrl"],i.forEach($=>{if(!t)return;const g=t.get($);g&&n.searchParams.set($,g)}),!n.searchParams.get("returnUrl")&&a&&n.searchParams.set("returnUrl",a),n.toString()},A=(e="",r=h)=>{if(r){const t=new URL(`${o}/login`,window.location.origin);return t.searchParams.set("returnUrl",window.location.href),e&&t.searchParams.set("error",e),t.toString()}return`${o}/login`},C=(e,r)=>e&&r?`${o}/import/events/${e}/workflow/run/history/${r}`:`${o}/import/events`,H=({namespace:e})=>`${o}/namespaces/${e}/batch-operations`,I=({namespace:e,jobId:r})=>`${o}/namespaces/${e}/batch-operations/${r}`;export{P as a,w as b,l as c,H as d,C as e,A as f,y as g,E as h,W as i,b as j,B as k,d as l,v as m,L as n,R as o,u as p,I as q,F as r,U as s,p as t,S as u,k as v,q as w}; +import{B as h}from"./prod-browser.becde89a.js";import{b as o}from"./paths.6ba25c42.js";function c(e){return e&&e.replace(/%/g,"%25").replace(/,/g,"%2C").replace(/\//g,"%2F").replace(/\\/g,"%5C").replace(/\?/g,"%3F").replace(/:/g,"%3A").replace(/@/g,"%40").replace(/&/g,"%26").replace(/=/g,"%3D").replace(/\+/g,"%2B").replace(/\$/g,"%24").replace(/#/g,"%23")}function d(e){return e&&e.replace(/%2C/g,",").replace(/%2F/g,"/").replace(/%5C/g,"\\").replace(/%3F/g,"?").replace(/%3A/g,":").replace(/%40/g,"@").replace(/%26/g,"&").replace(/%3D/g,"=").replace(/%2B/g,"+").replace(/%24/g,"$").replace(/%23/g,"#").replace(/%25/g,"%")}const p=(e,r)=>{const t=r instanceof URLSearchParams;return r&&!t&&(r=new URLSearchParams(r)),r?`${e}?${r}`:e},w=()=>`${o}/namespaces`,u=({namespace:e})=>`${o}/namespaces/${e}`,v=()=>`${o}/select-namespace`,F=e=>`${u(e)}/workflows`,P=e=>`${u(e)}/archival`,s=({workflow:e,run:r,...t})=>{const a=c(e);return`${F(t)}/${a}/${r}`},l=e=>`${u(e)}/schedules`,S=({namespace:e})=>`${l({namespace:e})}/create`,U=({scheduleId:e,namespace:r})=>{const t=c(e);return`${l({namespace:r})}/${t}`},k=({scheduleId:e,namespace:r})=>{const t=c(e);return`${l({namespace:r})}/${t}/edit`},y=({queryParams:e,...r})=>{const t=`${s(r)}/history`;return p(`${t}`,e)},R=({eventId:e,...r})=>{const t=`${s(r)}/history/events/${e}`;return p(`${t}`)},E=e=>`${s(e)}/workers`,L=e=>{const r=c(e.queue);return`${u({namespace:e.namespace})}/task-queues/${r}`},b=e=>`${s(e)}/stack-trace`,B=e=>`${s(e)}/query`,W=e=>`${s(e)}/pending-activities`,q=e=>{const{settings:r,searchParams:t,originUrl:a}=e,n=new URL(`${o}/auth/sso`,r.baseUrl);let i=r.auth.options??[];return i=[...i,"returnUrl"],i.forEach($=>{if(!t)return;const g=t.get($);g&&n.searchParams.set($,g)}),!n.searchParams.get("returnUrl")&&a&&n.searchParams.set("returnUrl",a),n.toString()},A=(e="",r=h)=>{if(r){const t=new URL(`${o}/login`,window.location.origin);return t.searchParams.set("returnUrl",window.location.href),e&&t.searchParams.set("error",e),t.toString()}return`${o}/login`},C=(e,r)=>e&&r?`${o}/import/events/${e}/workflow/run/history/${r}`:`${o}/import/events`,H=({namespace:e})=>`${o}/namespaces/${e}/batch-operations`,I=({namespace:e,jobId:r})=>`${o}/namespaces/${e}/batch-operations/${r}`;export{P as a,w as b,l as c,H as d,C as e,A as f,y as g,E as h,W as i,b as j,B as k,d as l,v as m,L as n,R as o,u as p,I as q,F as r,U as s,p as t,S as u,k as v,q as w}; diff --git a/ui/assets/local/_app/immutable/chunks/schedule-form-view.6e6169d6.js b/ui/assets/local/_app/immutable/chunks/schedule-form-view.31c423ef.js similarity index 98% rename from ui/assets/local/_app/immutable/chunks/schedule-form-view.6e6169d6.js rename to ui/assets/local/_app/immutable/chunks/schedule-form-view.31c423ef.js index 2ba52b434a..e2e58766da 100644 --- a/ui/assets/local/_app/immutable/chunks/schedule-form-view.6e6169d6.js +++ b/ui/assets/local/_app/immutable/chunks/schedule-form-view.31c423ef.js @@ -1 +1 @@ -import{S as Me,b as Se,a as We,G as Dt,N as et,m as W,p as V,q as T,k as _,O as ft,P as De,f as K,H as Mt,I as St,J as Wt,R as Ct,j as M,g as C,T as ot,af as Ht,K as je,U as Pt,u as Q,L as h,n as pe,a7 as Je,w as Z,x,Q as Ye,ag as Ze,c as H,d as P,A as j,a0 as z,C as L,D as A,E as N,a1 as G,F as U,z as tt,h as nt,a6 as Lt,a5 as dt,y as At}from"./index.09834243.js";import{p as Vt}from"./stores.9d4a2bb0.js";import{I as Ie}from"./input.8b192295.js";import{c as Nt,T as Ut,a as Bt,b as Ke}from"./tab.54c1ef65.js";import{t as q}from"./translate.0a219ae4.js";import{m as ct,g as Xe,w as ht,S as qt,O as Ge}from"./option.9ca3e3be.js";import{I as Qt}from"./icon.3cd9fa27.js";import{T as Ft,a as _t}from"./toggle-buttons.c3213cc2.js";import{S as Kt}from"./schedule-service.850db2fb.js";import{A as Rt}from"./alert.67786ddb.js";import{B as mt}from"./button.ce5dce2f.js";import{L as jt}from"./link.4944a6a5.js";import{L as zt}from"./loading.3bde98aa.js";import{e as xe,l as Gt}from"./schedules.f146f38a.js";import{s as Jt,c as Xt}from"./route-for.3b55a4c6.js";function Yt(n){let e,t;const l=n[7].default,i=Dt(l,n,n[6],null);let r=[{id:n[0]},{"aria-labelledby":n[1]},{tabindex:"0"},{role:"tabpanel"},n[4]],o={};for(let s=0;st(5,o=m)),f(a),n.$$set=m=>{e=et(et({},e),Pt(m)),t(4,r=ot(e,i)),"id"in m&&t(0,a=m.id),"tabId"in m&&t(1,d=m.tabId),"$$scope"in m&&t(6,u=m.$$scope)},n.$$.update=()=>{n.$$.dirty&33&&t(2,l=o===a)},[a,d,l,c,r,o,u,s]}class Re extends Me{constructor(e){super(),Se(this,e,Zt,Yt,We,{id:0,tabId:1})}}function gt(n,e,t){const l=n.slice();return l[4]=e[t],l}function pt(n){let e,t=n[4]+"",l,i,r;function o(...s){return n[3](n[4],...s)}return{c(){e=W("button"),l=Z(t),this.h()},l(s){e=V(s,"BUTTON",{class:!0});var u=T(e);l=x(u,t),u.forEach(_),this.h()},h(){Q(e,"class","cell svelte-c8o885"),De(e,"active",n[0].includes(n[4]))},m(s,u){K(s,e,u),h(e,l),i||(r=Ye(e,"click",Ze(o)),i=!0)},p(s,u){n=s,u&3&&De(e,"active",n[0].includes(n[4]))},d(s){s&&_(e),i=!1,r()}}}function xt(n){let e,t,l=n[1],i=[];for(let r=0;ru+1);let{daysOfMonth:i}=e;const r=(s,u)=>{s.metaKey?i.includes(u)?i.filter(a=>a!==u):t(0,i=[...i,u]):t(0,i=[u])},o=(s,u)=>r(u,s);return n.$$set=s=>{"daysOfMonth"in s&&t(0,i=s.daysOfMonth)},[i,l,r,o]}class tn extends Me{constructor(e){super(),Se(this,e,en,xt,We,{daysOfMonth:0})}}function vt(n,e,t){const l=n.slice();return l[3]=e[t].label,l[4]=e[t].value,l}function bt(n){let e,t=n[3]+"",l,i,r,o;function s(...u){return n[2](n[4],...u)}return{c(){e=W("button"),l=Z(t),i=H(),this.h()},l(u){e=V(u,"BUTTON",{class:!0});var a=T(e);l=x(a,t),i=P(a),a.forEach(_),this.h()},h(){Q(e,"class","cell svelte-hc9i32"),De(e,"active",n[0].includes(n[4]))},m(u,a){K(u,e,a),h(e,l),h(e,i),r||(o=Ye(e,"click",Ze(s)),r=!0)},p(u,a){n=u,a&1&&De(e,"active",n[0].includes(n[4]))},d(u){u&&_(e),r=!1,o()}}}function nn(n){let e,t=ct,l=[];for(let i=0;i{o.metaKey&&s!=="*"?(l.includes("*")&&t(0,l=l.filter(u=>u!=="*")),l.includes(s)?t(0,l=l.filter(u=>u!==s)):t(0,l=[...l,s])):t(0,l=[s])},r=(o,s)=>i(s,o);return n.$$set=o=>{"months"in o&&t(0,l=o.months)},[l,i,r]}class sn extends Me{constructor(e){super(),Se(this,e,ln,nn,We,{months:0})}}function un(n){let e=q("ante-meridiem")+"",t;return{c(){t=Z(e)},l(l){t=x(l,e)},m(l,i){K(l,t,i)},p:pe,d(l){l&&_(t)}}}function an(n){let e=q("post-meridiem")+"",t;return{c(){t=Z(e)},l(l){t=x(l,e)},m(l,i){K(l,t,i)},p:pe,d(l){l&&_(t)}}}function rn(n){let e,t,l,i;return e=new _t({props:{active:n[2]==="AM",$$slots:{default:[un]},$$scope:{ctx:n}}}),e.$on("click",n[7]),l=new _t({props:{active:n[2]==="PM",$$slots:{default:[an]},$$scope:{ctx:n}}}),l.$on("click",n[8]),{c(){L(e.$$.fragment),t=H(),L(l.$$.fragment)},l(r){A(e.$$.fragment,r),t=P(r),A(l.$$.fragment,r)},m(r,o){N(e,r,o),K(r,t,o),N(l,r,o),i=!0},p(r,o){const s={};o&4&&(s.active=r[2]==="AM"),o&512&&(s.$$scope={dirty:o,ctx:r}),e.$set(s);const u={};o&4&&(u.active=r[2]==="PM"),o&512&&(u.$$scope={dirty:o,ctx:r}),l.$set(u)},i(r){i||(M(e.$$.fragment,r),M(l.$$.fragment,r),i=!0)},o(r){C(e.$$.fragment,r),C(l.$$.fragment,r),i=!1},d(r){U(e,r),r&&_(t),U(l,r)}}}function fn(n){let e,t,l=q("schedules","time-view-heading")+"",i,r,o,s=q("schedules","time-view-description")+"",u,a,d,f,c,m,g,b,y,w,I,B,J,k,$,D,se,Y,F,ne,S,X=q("based-on-time-preface")+"",ie,ue,ee;function ae(p){n[5](p)}let de={id:"hour-time",label:q("hours-abbreviated"),labelHidden:!0,placeholder:"00",suffix:q("hours-abbreviated"),maxLength:2,error:n[3](n[1],12)};n[1]!==void 0&&(de.value=n[1]),c=new Ie({props:de}),j.push(()=>z(c,"value",ae));function he(p){n[6](p)}let re={id:"minute-time",label:q("minutes-abbreviated"),labelHidden:!0,placeholder:"00",suffix:q("minutes-abbreviated"),maxLength:2,error:n[3](n[0],59)};return n[0]!==void 0&&(re.value=n[0]),B=new Ie({props:re}),j.push(()=>z(B,"value",he)),D=new Ft({props:{$$slots:{default:[rn]},$$scope:{ctx:n}}}),F=new Qt({props:{name:"clock","aria-hidden":"true"}}),{c(){e=W("div"),t=W("h3"),i=Z(l),r=H(),o=W("p"),u=Z(s),a=H(),d=W("div"),f=W("div"),L(c.$$.fragment),g=H(),b=W("div"),y=Z(":"),w=H(),I=W("div"),L(B.$$.fragment),k=H(),$=W("div"),L(D.$$.fragment),se=H(),Y=W("div"),L(F.$$.fragment),ne=H(),S=W("span"),ie=Z(X),ue=Z(" Universal Standard Time (UTC)"),this.h()},l(p){e=V(p,"DIV",{class:!0});var te=T(e);t=V(te,"H3",{class:!0});var _e=T(t);i=x(_e,l),_e.forEach(_),r=P(te),o=V(te,"P",{});var fe=T(o);u=x(fe,s),fe.forEach(_),a=P(te),d=V(te,"DIV",{class:!0});var oe=T(d);f=V(oe,"DIV",{class:!0});var Oe=T(f);A(c.$$.fragment,Oe),Oe.forEach(_),g=P(oe),b=V(oe,"DIV",{});var Ee=T(b);y=x(Ee,":"),Ee.forEach(_),w=P(oe),I=V(oe,"DIV",{class:!0});var me=T(I);A(B.$$.fragment,me),me.forEach(_),k=P(oe),$=V(oe,"DIV",{class:!0});var ge=T($);A(D.$$.fragment,ge),ge.forEach(_),oe.forEach(_),se=P(te),Y=V(te,"DIV",{class:!0});var ke=T(Y);A(F.$$.fragment,ke),ne=P(ke),S=V(ke,"SPAN",{class:!0});var ye=T(S);ie=x(ye,X),ue=x(ye," Universal Standard Time (UTC)"),ye.forEach(_),ke.forEach(_),te.forEach(_),this.h()},h(){Q(t,"class","text-lg font-medium"),Q(f,"class","w-24"),Q(I,"class","w-24"),Q($,"class","ml-2"),Q(d,"class","flex flex-row items-center gap-2"),Q(S,"class","text-xs font-normal text-gray-500"),Q(Y,"class","flex w-full flex-row items-center gap-2"),Q(e,"class","flex flex-col gap-4")},m(p,te){K(p,e,te),h(e,t),h(t,i),h(e,r),h(e,o),h(o,u),h(e,a),h(e,d),h(d,f),N(c,f,null),h(d,g),h(d,b),h(b,y),h(d,w),h(d,I),N(B,I,null),h(d,k),h(d,$),N(D,$,null),h(e,se),h(e,Y),N(F,Y,null),h(Y,ne),h(Y,S),h(S,ie),h(S,ue),ee=!0},p(p,[te]){const _e={};te&2&&(_e.error=p[3](p[1],12)),!m&&te&2&&(m=!0,_e.value=p[1],G(()=>m=!1)),c.$set(_e);const fe={};te&1&&(fe.error=p[3](p[0],59)),!J&&te&1&&(J=!0,fe.value=p[0],G(()=>J=!1)),B.$set(fe);const oe={};te&516&&(oe.$$scope={dirty:te,ctx:p}),D.$set(oe)},i(p){ee||(M(c.$$.fragment,p),M(B.$$.fragment,p),M(D.$$.fragment,p),M(F.$$.fragment,p),ee=!0)},o(p){C(c.$$.fragment,p),C(B.$$.fragment,p),C(D.$$.fragment,p),C(F.$$.fragment,p),ee=!1},d(p){p&&_(e),U(c),U(B),U(D),U(F)}}}function on(n,e,t){let{hour:l=""}=e,{minute:i=""}=e,r="",o="AM";const s=(c,m)=>c?isNaN(parseInt(c))||parseInt(c)>m:!1;function u(c){r=c,t(1,r)}function a(c){i=c,t(0,i)}const d=()=>t(2,o="AM"),f=()=>t(2,o="PM");return n.$$set=c=>{"hour"in c&&t(4,l=c.hour),"minute"in c&&t(0,i=c.minute)},n.$$.update=()=>{n.$$.dirty&6&&(r?r==="12"?t(4,l=o==="AM"?"00":"12"):o==="PM"?t(4,l=(parseInt(r)+12).toString()):t(4,l=r):t(4,l=""))},[i,r,o,s,l,u,a,d,f]}class Tt extends Me{constructor(e){super(),Se(this,e,on,fn,We,{hour:4,minute:0})}}function dn(n){let e,t,l=q("schedules","recurring-dates-heading")+"",i,r,o,s=q("schedules","recurring-dates-description")+"",u,a,d,f,c,m,g,b,y,w,I,B,J;function k(S){n[4](S)}let $={};n[0]!==void 0&&($.daysOfMonth=n[0]),f=new tn({props:$}),j.push(()=>z(f,"daysOfMonth",k));function D(S){n[5](S)}let se={};n[1]!==void 0&&(se.months=n[1]),g=new sn({props:se}),j.push(()=>z(g,"months",D));function Y(S){n[6](S)}function F(S){n[7](S)}let ne={};return n[2]!==void 0&&(ne.hour=n[2]),n[3]!==void 0&&(ne.minute=n[3]),w=new Tt({props:ne}),j.push(()=>z(w,"hour",Y)),j.push(()=>z(w,"minute",F)),{c(){e=W("div"),t=W("h3"),i=Z(l),r=H(),o=W("p"),u=Z(s),a=H(),d=W("div"),L(f.$$.fragment),m=H(),L(g.$$.fragment),y=H(),L(w.$$.fragment),this.h()},l(S){e=V(S,"DIV",{class:!0});var X=T(e);t=V(X,"H3",{class:!0});var ie=T(t);i=x(ie,l),ie.forEach(_),r=P(X),o=V(X,"P",{});var ue=T(o);u=x(ue,s),ue.forEach(_),a=P(X),d=V(X,"DIV",{class:!0});var ee=T(d);A(f.$$.fragment,ee),m=P(ee),A(g.$$.fragment,ee),ee.forEach(_),X.forEach(_),y=P(S),A(w.$$.fragment,S),this.h()},h(){Q(t,"class","text-lg font-medium"),Q(d,"class","flex w-full flex-col gap-4"),Q(e,"class","my-2 flex flex-col gap-4")},m(S,X){K(S,e,X),h(e,t),h(t,i),h(e,r),h(e,o),h(o,u),h(e,a),h(e,d),N(f,d,null),h(d,m),N(g,d,null),K(S,y,X),N(w,S,X),J=!0},p(S,[X]){const ie={};!c&&X&1&&(c=!0,ie.daysOfMonth=S[0],G(()=>c=!1)),f.$set(ie);const ue={};!b&&X&2&&(b=!0,ue.months=S[1],G(()=>b=!1)),g.$set(ue);const ee={};!I&&X&4&&(I=!0,ee.hour=S[2],G(()=>I=!1)),!B&&X&8&&(B=!0,ee.minute=S[3],G(()=>B=!1)),w.$set(ee)},i(S){J||(M(f.$$.fragment,S),M(g.$$.fragment,S),M(w.$$.fragment,S),J=!0)},o(S){C(f.$$.fragment,S),C(g.$$.fragment,S),C(w.$$.fragment,S),J=!1},d(S){S&&_(e),U(f),U(g),S&&_(y),U(w,S)}}}function cn(n,e,t){let{daysOfMonth:l}=e,{months:i}=e,{hour:r}=e,{minute:o}=e;function s(f){l=f,t(0,l)}function u(f){i=f,t(1,i)}function a(f){r=f,t(2,r)}function d(f){o=f,t(3,o)}return n.$$set=f=>{"daysOfMonth"in f&&t(0,l=f.daysOfMonth),"months"in f&&t(1,i=f.months),"hour"in f&&t(2,r=f.hour),"minute"in f&&t(3,o=f.minute)},[l,i,r,o,s,u,a,d]}class hn extends Me{constructor(e){super(),Se(this,e,cn,dn,We,{daysOfMonth:0,months:1,hour:2,minute:3})}}function $t(n,e,t){const l=n.slice();return l[4]=e[t].label,l[5]=e[t].value,l}function wt(n,e,t){const l=n.slice();return l[4]=e[t].label,l[5]=e[t].value,l}function kt(n){let e,t=n[4]+"",l,i,r;function o(...s){return n[2](n[5],...s)}return{c(){e=W("button"),l=Z(t),this.h()},l(s){e=V(s,"BUTTON",{class:!0});var u=T(e);l=x(u,t),u.forEach(_),this.h()},h(){Q(e,"class","cell svelte-xr91x7"),De(e,"active",n[0].includes(n[5]))},m(s,u){K(s,e,u),h(e,l),i||(r=Ye(e,"click",Ze(o)),i=!0)},p(s,u){n=s,u&1&&De(e,"active",n[0].includes(n[5]))},d(s){s&&_(e),i=!1,r()}}}function It(n){let e,t=n[4]+"",l,i,r;function o(...s){return n[3](n[5],...s)}return{c(){e=W("button"),l=Z(t),this.h()},l(s){e=V(s,"BUTTON",{class:!0});var u=T(e);l=x(u,t),u.forEach(_),this.h()},h(){Q(e,"class","cell svelte-xr91x7"),De(e,"active",n[0].includes(n[5]))},m(s,u){K(s,e,u),h(e,l),i||(r=Ye(e,"click",Ze(o)),i=!0)},p(s,u){n=s,u&1&&De(e,"active",n[0].includes(n[5]))},d(s){s&&_(e),i=!1,r()}}}function _n(n){let e,t,l,i,r=Xe,o=[];for(let a=0;a{s.metaKey?(Xe.find(a=>a.value===u)?t(0,l=[u]):l.find(a=>Xe.find(d=>d.value===a))&&t(0,l=[u]),l.includes(u)?l.filter(a=>a!==u):t(0,l=[...l,u])):t(0,l=[u])},r=(s,u)=>i(u,s),o=(s,u)=>i(u,s);return n.$$set=s=>{"daysOfWeek"in s&&t(0,l=s.daysOfWeek)},[l,i,r,o]}class gn extends Me{constructor(e){super(),Se(this,e,mn,_n,We,{daysOfWeek:0})}}function pn(n){let e,t,l=q("schedules","recurring-days-heading")+"",i,r,o,s=q("schedules","recurring-days-description")+"",u,a,d,f,c,m,g,b,y;function w($){n[3]($)}let I={};n[0]!==void 0&&(I.daysOfWeek=n[0]),d=new gn({props:I}),j.push(()=>z(d,"daysOfWeek",w));function B($){n[4]($)}function J($){n[5]($)}let k={};return n[1]!==void 0&&(k.hour=n[1]),n[2]!==void 0&&(k.minute=n[2]),m=new Tt({props:k}),j.push(()=>z(m,"hour",B)),j.push(()=>z(m,"minute",J)),{c(){e=W("div"),t=W("h3"),i=Z(l),r=H(),o=W("p"),u=Z(s),a=H(),L(d.$$.fragment),c=H(),L(m.$$.fragment),this.h()},l($){e=V($,"DIV",{class:!0});var D=T(e);t=V(D,"H3",{class:!0});var se=T(t);i=x(se,l),se.forEach(_),r=P(D),o=V(D,"P",{});var Y=T(o);u=x(Y,s),Y.forEach(_),a=P(D),A(d.$$.fragment,D),D.forEach(_),c=P($),A(m.$$.fragment,$),this.h()},h(){Q(t,"class","text-lg font-medium"),Q(e,"class","my-2 flex flex-col gap-4")},m($,D){K($,e,D),h(e,t),h(t,i),h(e,r),h(e,o),h(o,u),h(e,a),N(d,e,null),K($,c,D),N(m,$,D),y=!0},p($,[D]){const se={};!f&&D&1&&(f=!0,se.daysOfWeek=$[0],G(()=>f=!1)),d.$set(se);const Y={};!g&&D&2&&(g=!0,Y.hour=$[1],G(()=>g=!1)),!b&&D&4&&(b=!0,Y.minute=$[2],G(()=>b=!1)),m.$set(Y)},i($){y||(M(d.$$.fragment,$),M(m.$$.fragment,$),y=!0)},o($){C(d.$$.fragment,$),C(m.$$.fragment,$),y=!1},d($){$&&_(e),U(d),$&&_(c),U(m,$)}}}function vn(n,e,t){let{daysOfWeek:l}=e,{hour:i}=e,{minute:r}=e;function o(a){l=a,t(0,l)}function s(a){i=a,t(1,i)}function u(a){r=a,t(2,r)}return n.$$set=a=>{"daysOfWeek"in a&&t(0,l=a.daysOfWeek),"hour"in a&&t(1,i=a.hour),"minute"in a&&t(2,r=a.minute)},[l,i,r,o,s,u]}class bn extends Me{constructor(e){super(),Se(this,e,vn,pn,We,{daysOfWeek:0,hour:1,minute:2})}}function $n(n){let e=q("days")+"",t;return{c(){t=Z(e)},l(l){t=x(l,e)},m(l,i){K(l,t,i)},p:pe,d(l){l&&_(t)}}}function wn(n){let e=q("hours-abbreviated")+"",t;return{c(){t=Z(e)},l(l){t=x(l,e)},m(l,i){K(l,t,i)},p:pe,d(l){l&&_(t)}}}function kn(n){let e=q("minutes-abbreviated")+"",t;return{c(){t=Z(e)},l(l){t=x(l,e)},m(l,i){K(l,t,i)},p:pe,d(l){l&&_(t)}}}function In(n){let e=q("seconds-abbreviated")+"",t;return{c(){t=Z(e)},l(l){t=x(l,e)},m(l,i){K(l,t,i)},p:pe,d(l){l&&_(t)}}}function On(n){let e,t,l,i,r,o,s,u;return e=new Ge({props:{value:"days",$$slots:{default:[$n]},$$scope:{ctx:n}}}),l=new Ge({props:{value:"hrs",$$slots:{default:[wn]},$$scope:{ctx:n}}}),r=new Ge({props:{value:"min",$$slots:{default:[kn]},$$scope:{ctx:n}}}),s=new Ge({props:{value:"sec",$$slots:{default:[In]},$$scope:{ctx:n}}}),{c(){L(e.$$.fragment),t=H(),L(l.$$.fragment),i=H(),L(r.$$.fragment),o=H(),L(s.$$.fragment)},l(a){A(e.$$.fragment,a),t=P(a),A(l.$$.fragment,a),i=P(a),A(r.$$.fragment,a),o=P(a),A(s.$$.fragment,a)},m(a,d){N(e,a,d),K(a,t,d),N(l,a,d),K(a,i,d),N(r,a,d),K(a,o,d),N(s,a,d),u=!0},p(a,d){const f={};d&16384&&(f.$$scope={dirty:d,ctx:a}),e.$set(f);const c={};d&16384&&(c.$$scope={dirty:d,ctx:a}),l.$set(c);const m={};d&16384&&(m.$$scope={dirty:d,ctx:a}),r.$set(m);const g={};d&16384&&(g.$$scope={dirty:d,ctx:a}),s.$set(g)},i(a){u||(M(e.$$.fragment,a),M(l.$$.fragment,a),M(r.$$.fragment,a),M(s.$$.fragment,a),u=!0)},o(a){C(e.$$.fragment,a),C(l.$$.fragment,a),C(r.$$.fragment,a),C(s.$$.fragment,a),u=!1},d(a){U(e,a),a&&_(t),U(l,a),a&&_(i),U(r,a),a&&_(o),U(s,a)}}}function yn(n){let e,t,l=q("schedules","interval-view-heading")+"",i,r,o,s=q("schedules","interval-view-description")+"",u,a,d,f,c,m,g,b,y,w,I,B,J,k,$,D,se,Y,F,ne,S,X,ie,ue,ee,ae,de,he,re,p=q("schedules","offset-heading")+"",te,_e,fe,oe=q("schedules","offset-description")+"",Oe,Ee,me,ge,ke,ye,$e,Pe,Ce;function Qe(E){n[8](E)}let Le={id:"days",label:q("days"),labelHidden:!0,placeholder:"00",suffix:q("days"),maxLength:3,error:n[7](n[0])};n[0]!==void 0&&(Le.value=n[0]),c=new Ie({props:Le}),j.push(()=>z(c,"value",Qe));function Fe(E){n[9](E)}let ve={id:"hour-interval",label:q("hours-abbreviated"),labelHidden:!0,placeholder:"00",suffix:q("hours-abbreviated"),maxLength:2,error:n[7](n[1])};n[1]!==void 0&&(ve.value=n[1]),B=new Ie({props:ve}),j.push(()=>z(B,"value",Fe));function v(E){n[10](E)}let R={id:"minute-interval",label:q("minutes-abbreviated"),labelHidden:!0,placeholder:"00",suffix:q("minutes-abbreviated"),maxLength:2,error:n[7](n[2])};n[2]!==void 0&&(R.value=n[2]),F=new Ie({props:R}),j.push(()=>z(F,"value",v));function Ve(E){n[11](E)}let O={id:"second",label:q("seconds-abbreviated"),labelHidden:!0,placeholder:"00",suffix:q("seconds-abbreviated"),maxLength:2,error:n[7](n[3])};n[3]!==void 0&&(O.value=n[3]),ae=new Ie({props:O}),j.push(()=>z(ae,"value",Ve));function be(E){n[12](E)}let we={id:"phase",label:q("schedules","offset-heading"),labelHidden:!0,placeholder:"00",error:n[7](n[4]),unroundRight:!0};n[5]!==void 0&&(we.value=n[5]),ge=new Ie({props:we}),j.push(()=>z(ge,"value",be));function He(E){n[13](E)}let Te={label:q("schedules","offset-unit"),labelHidden:!0,unroundLeft:!0,id:"phase-unit",$$slots:{default:[On]},$$scope:{ctx:n}};return n[6]!==void 0&&(Te.value=n[6]),$e=new qt({props:Te}),j.push(()=>z($e,"value",He)),{c(){e=W("div"),t=W("h3"),i=Z(l),r=H(),o=W("p"),u=Z(s),a=H(),d=W("div"),f=W("div"),L(c.$$.fragment),g=H(),b=W("div"),y=Z(":"),w=H(),I=W("div"),L(B.$$.fragment),k=H(),$=W("div"),D=Z(":"),se=H(),Y=W("div"),L(F.$$.fragment),S=H(),X=W("div"),ie=Z(":"),ue=H(),ee=W("div"),L(ae.$$.fragment),he=H(),re=W("h3"),te=Z(p),_e=H(),fe=W("p"),Oe=Z(oe),Ee=H(),me=W("div"),L(ge.$$.fragment),ye=H(),L($e.$$.fragment),this.h()},l(E){e=V(E,"DIV",{class:!0});var le=T(e);t=V(le,"H3",{class:!0});var Ae=T(t);i=x(Ae,l),Ae.forEach(_),r=P(le),o=V(le,"P",{});var Ne=T(o);u=x(Ne,s),Ne.forEach(_),a=P(le),d=V(le,"DIV",{class:!0});var ce=T(d);f=V(ce,"DIV",{class:!0});var Ue=T(f);A(c.$$.fragment,Ue),Ue.forEach(_),g=P(ce),b=V(ce,"DIV",{});var Be=T(b);y=x(Be,":"),Be.forEach(_),w=P(ce),I=V(ce,"DIV",{class:!0});var qe=T(I);A(B.$$.fragment,qe),qe.forEach(_),k=P(ce),$=V(ce,"DIV",{});var lt=T($);D=x(lt,":"),lt.forEach(_),se=P(ce),Y=V(ce,"DIV",{class:!0});var st=T(Y);A(F.$$.fragment,st),st.forEach(_),S=P(ce),X=V(ce,"DIV",{});var it=T(X);ie=x(it,":"),it.forEach(_),ue=P(ce),ee=V(ce,"DIV",{class:!0});var ut=T(ee);A(ae.$$.fragment,ut),ut.forEach(_),ce.forEach(_),he=P(le),re=V(le,"H3",{class:!0});var at=T(re);te=x(at,p),at.forEach(_),_e=P(le),fe=V(le,"P",{});var rt=T(fe);Oe=x(rt,oe),rt.forEach(_),Ee=P(le),me=V(le,"DIV",{class:!0});var ze=T(me);A(ge.$$.fragment,ze),ye=P(ze),A($e.$$.fragment,ze),ze.forEach(_),le.forEach(_),this.h()},h(){Q(t,"class","text-lg font-medium"),Q(f,"class","w-24"),Q(I,"class","w-24"),Q(Y,"class","w-24"),Q(ee,"class","w-24"),Q(d,"class","flex flex-row items-center gap-2"),Q(re,"class","mt-4 text-lg font-medium"),Q(me,"class","flex w-48 gap-0"),Q(e,"class","my-2 flex flex-col gap-4")},m(E,le){K(E,e,le),h(e,t),h(t,i),h(e,r),h(e,o),h(o,u),h(e,a),h(e,d),h(d,f),N(c,f,null),h(d,g),h(d,b),h(b,y),h(d,w),h(d,I),N(B,I,null),h(d,k),h(d,$),h($,D),h(d,se),h(d,Y),N(F,Y,null),h(d,S),h(d,X),h(X,ie),h(d,ue),h(d,ee),N(ae,ee,null),h(e,he),h(e,re),h(re,te),h(e,_e),h(e,fe),h(fe,Oe),h(e,Ee),h(e,me),N(ge,me,null),h(me,ye),N($e,me,null),Ce=!0},p(E,[le]){const Ae={};le&1&&(Ae.error=E[7](E[0])),!m&&le&1&&(m=!0,Ae.value=E[0],G(()=>m=!1)),c.$set(Ae);const Ne={};le&2&&(Ne.error=E[7](E[1])),!J&&le&2&&(J=!0,Ne.value=E[1],G(()=>J=!1)),B.$set(Ne);const ce={};le&4&&(ce.error=E[7](E[2])),!ne&&le&4&&(ne=!0,ce.value=E[2],G(()=>ne=!1)),F.$set(ce);const Ue={};le&8&&(Ue.error=E[7](E[3])),!de&&le&8&&(de=!0,Ue.value=E[3],G(()=>de=!1)),ae.$set(Ue);const Be={};le&16&&(Be.error=E[7](E[4])),!ke&&le&32&&(ke=!0,Be.value=E[5],G(()=>ke=!1)),ge.$set(Be);const qe={};le&16384&&(qe.$$scope={dirty:le,ctx:E}),!Pe&&le&64&&(Pe=!0,qe.value=E[6],G(()=>Pe=!1)),$e.$set(qe)},i(E){Ce||(M(c.$$.fragment,E),M(B.$$.fragment,E),M(F.$$.fragment,E),M(ae.$$.fragment,E),M(ge.$$.fragment,E),M($e.$$.fragment,E),Ce=!0)},o(E){C(c.$$.fragment,E),C(B.$$.fragment,E),C(F.$$.fragment,E),C(ae.$$.fragment,E),C(ge.$$.fragment,E),C($e.$$.fragment,E),Ce=!1},d(E){E&&_(e),U(c),U(B),U(F),U(ae),U(ge),U($e)}}}function En(n,e,t){let{days:l=""}=e,{hour:i=""}=e,{minute:r=""}=e,{second:o=""}=e,{phase:s=""}=e,u="",a="min";const d=w=>w?isNaN(parseInt(w)):!1;function f(w){l=w,t(0,l)}function c(w){i=w,t(1,i)}function m(w){r=w,t(2,r)}function g(w){o=w,t(3,o)}function b(w){u=w,t(5,u)}function y(w){a=w,t(6,a)}return n.$$set=w=>{"days"in w&&t(0,l=w.days),"hour"in w&&t(1,i=w.hour),"minute"in w&&t(2,r=w.minute),"second"in w&&t(3,o=w.second),"phase"in w&&t(4,s=w.phase)},n.$$.update=()=>{n.$$.dirty&96&&u&&(a==="days"?t(4,s=(parseInt(u)*60*60*24).toString()+"s"):a==="hrs"?t(4,s=(parseInt(u)*60*60).toString()+"s"):a==="min"?t(4,s=(parseInt(u)*60).toString()+"s"):a==="sec"&&t(4,s=parseInt(u).toString()+"s"))},[l,i,r,o,s,u,a,d,f,c,m,g,b,y]}class Dn extends Me{constructor(e){super(),Se(this,e,En,yn,We,{days:0,hour:1,minute:2,second:3,phase:4})}}const Mn=n=>({preset:n[0]&1024}),Ot=n=>({preset:n[10]});function yt(n){let e,t;return e=new Ke({props:{label:"Existing",id:"existing-tab",panelId:"existing-panel",onClick:n[12]}}),{c(){L(e.$$.fragment)},l(l){A(e.$$.fragment,l)},m(l,i){N(e,l,i),t=!0},p(l,i){const r={};i[0]&1024&&(r.onClick=l[12]),e.$set(r)},i(l){t||(M(e.$$.fragment,l),t=!0)},o(l){C(e.$$.fragment,l),t=!1},d(l){U(e,l)}}}function Sn(n){let e,t,l,i,r,o,s,u,a,d=n[9]&&yt(n);return t=new Ke({props:{label:"Interval",id:"interval-tab",panelId:"interval-panel",onClick:n[13]}}),i=new Ke({props:{label:"Days of the Week",id:"daily-tab",panelId:"daily-panel",onClick:n[14]}}),o=new Ke({props:{label:"Days of the Month",id:"monthly-tab",panelId:"monthly-panel",onClick:n[15]}}),u=new Ke({props:{label:"String",id:"string-tab",panelId:"string-panel",onClick:n[16]}}),{c(){d&&d.c(),e=H(),L(t.$$.fragment),l=H(),L(i.$$.fragment),r=H(),L(o.$$.fragment),s=H(),L(u.$$.fragment)},l(f){d&&d.l(f),e=P(f),A(t.$$.fragment,f),l=P(f),A(i.$$.fragment,f),r=P(f),A(o.$$.fragment,f),s=P(f),A(u.$$.fragment,f)},m(f,c){d&&d.m(f,c),K(f,e,c),N(t,f,c),K(f,l,c),N(i,f,c),K(f,r,c),N(o,f,c),K(f,s,c),N(u,f,c),a=!0},p(f,c){f[9]?d?(d.p(f,c),c[0]&512&&M(d,1)):(d=yt(f),d.c(),M(d,1),d.m(e.parentNode,e)):d&&(tt(),C(d,1,1,()=>{d=null}),nt());const m={};c[0]&1024&&(m.onClick=f[13]),t.$set(m);const g={};c[0]&1024&&(g.onClick=f[14]),i.$set(g);const b={};c[0]&1024&&(b.onClick=f[15]),o.$set(b);const y={};c[0]&1024&&(y.onClick=f[16]),u.$set(y)},i(f){a||(M(d),M(t.$$.fragment,f),M(i.$$.fragment,f),M(o.$$.fragment,f),M(u.$$.fragment,f),a=!0)},o(f){C(d),C(t.$$.fragment,f),C(i.$$.fragment,f),C(o.$$.fragment,f),C(u.$$.fragment,f),a=!1},d(f){d&&d.d(f),f&&_(e),U(t,f),f&&_(l),U(i,f),f&&_(r),U(o,f),f&&_(s),U(u,f)}}}function Et(n){let e,t;return e=new Re({props:{id:"existing-panel",tabId:"existing-tab",class:"w-full",$$slots:{default:[Wn]},$$scope:{ctx:n}}}),{c(){L(e.$$.fragment)},l(l){A(e.$$.fragment,l)},m(l,i){N(e,l,i),t=!0},p(l,i){const r={};i[0]&1073742336&&(r.$$scope={dirty:i,ctx:l}),e.$set(r)},i(l){t||(M(e.$$.fragment,l),t=!0)},o(l){C(e.$$.fragment,l),t=!1},d(l){U(e,l)}}}function Wn(n){var l,i,r,o,s,u;let e,t;return e=new Kt({props:{calendar:(r=(i=(l=n[9])==null?void 0:l.spec)==null?void 0:i.structuredCalendar)==null?void 0:r[0],interval:(u=(s=(o=n[9])==null?void 0:o.spec)==null?void 0:s.interval)==null?void 0:u[0]}}),{c(){L(e.$$.fragment)},l(a){A(e.$$.fragment,a)},m(a,d){N(e,a,d),t=!0},p(a,d){var c,m,g,b,y,w;const f={};d[0]&512&&(f.calendar=(g=(m=(c=a[9])==null?void 0:c.spec)==null?void 0:m.structuredCalendar)==null?void 0:g[0]),d[0]&512&&(f.interval=(w=(y=(b=a[9])==null?void 0:b.spec)==null?void 0:y.interval)==null?void 0:w[0]),e.$set(f)},i(a){t||(M(e.$$.fragment,a),t=!0)},o(a){C(e.$$.fragment,a),t=!1},d(a){U(e,a)}}}function Vn(n){let e,t,l,i,r,o,s;function u(g){n[17](g)}function a(g){n[18](g)}function d(g){n[19](g)}function f(g){n[20](g)}function c(g){n[21](g)}let m={};return n[3]!==void 0&&(m.days=n[3]),n[4]!==void 0&&(m.hour=n[4]),n[5]!==void 0&&(m.minute=n[5]),n[6]!==void 0&&(m.second=n[6]),n[7]!==void 0&&(m.phase=n[7]),e=new Dn({props:m}),j.push(()=>z(e,"days",u)),j.push(()=>z(e,"hour",a)),j.push(()=>z(e,"minute",d)),j.push(()=>z(e,"second",f)),j.push(()=>z(e,"phase",c)),{c(){L(e.$$.fragment)},l(g){A(e.$$.fragment,g)},m(g,b){N(e,g,b),s=!0},p(g,b){const y={};!t&&b[0]&8&&(t=!0,y.days=g[3],G(()=>t=!1)),!l&&b[0]&16&&(l=!0,y.hour=g[4],G(()=>l=!1)),!i&&b[0]&32&&(i=!0,y.minute=g[5],G(()=>i=!1)),!r&&b[0]&64&&(r=!0,y.second=g[6],G(()=>r=!1)),!o&&b[0]&128&&(o=!0,y.phase=g[7],G(()=>o=!1)),e.$set(y)},i(g){s||(M(e.$$.fragment,g),s=!0)},o(g){C(e.$$.fragment,g),s=!1},d(g){U(e,g)}}}function Tn(n){let e,t,l,i,r;function o(d){n[22](d)}function s(d){n[23](d)}function u(d){n[24](d)}let a={};return n[0]!==void 0&&(a.daysOfWeek=n[0]),n[4]!==void 0&&(a.hour=n[4]),n[5]!==void 0&&(a.minute=n[5]),e=new bn({props:a}),j.push(()=>z(e,"daysOfWeek",o)),j.push(()=>z(e,"hour",s)),j.push(()=>z(e,"minute",u)),{c(){L(e.$$.fragment)},l(d){A(e.$$.fragment,d)},m(d,f){N(e,d,f),r=!0},p(d,f){const c={};!t&&f[0]&1&&(t=!0,c.daysOfWeek=d[0],G(()=>t=!1)),!l&&f[0]&16&&(l=!0,c.hour=d[4],G(()=>l=!1)),!i&&f[0]&32&&(i=!0,c.minute=d[5],G(()=>i=!1)),e.$set(c)},i(d){r||(M(e.$$.fragment,d),r=!0)},o(d){C(e.$$.fragment,d),r=!1},d(d){U(e,d)}}}function Cn(n){let e,t,l,i,r,o;function s(c){n[25](c)}function u(c){n[26](c)}function a(c){n[27](c)}function d(c){n[28](c)}let f={};return n[1]!==void 0&&(f.daysOfMonth=n[1]),n[2]!==void 0&&(f.months=n[2]),n[4]!==void 0&&(f.hour=n[4]),n[5]!==void 0&&(f.minute=n[5]),e=new hn({props:f}),j.push(()=>z(e,"daysOfMonth",s)),j.push(()=>z(e,"months",u)),j.push(()=>z(e,"hour",a)),j.push(()=>z(e,"minute",d)),{c(){L(e.$$.fragment)},l(c){A(e.$$.fragment,c)},m(c,m){N(e,c,m),o=!0},p(c,m){const g={};!t&&m[0]&2&&(t=!0,g.daysOfMonth=c[1],G(()=>t=!1)),!l&&m[0]&4&&(l=!0,g.months=c[2],G(()=>l=!1)),!i&&m[0]&16&&(i=!0,g.hour=c[4],G(()=>i=!1)),!r&&m[0]&32&&(r=!0,g.minute=c[5],G(()=>r=!1)),e.$set(g)},i(c){o||(M(e.$$.fragment,c),o=!0)},o(c){C(e.$$.fragment,c),o=!1},d(c){U(e,c)}}}function Hn(n){let e,t,l=q("schedules","cron-view-title")+"",i,r,o,s=q("schedules","cron-view-description")+"",u,a,d,f,c;function m(b){n[29](b)}let g={label:q("schedules","cron-view-title"),labelHidden:!0,id:"cronString",placeholder:"* * * * *"};return n[8]!==void 0&&(g.value=n[8]),d=new Ie({props:g}),j.push(()=>z(d,"value",m)),{c(){e=W("div"),t=W("h3"),i=Z(l),r=H(),o=W("p"),u=Z(s),a=H(),L(d.$$.fragment),this.h()},l(b){e=V(b,"DIV",{class:!0});var y=T(e);t=V(y,"H3",{class:!0});var w=T(t);i=x(w,l),w.forEach(_),r=P(y),o=V(y,"P",{});var I=T(o);u=x(I,s),I.forEach(_),a=P(y),A(d.$$.fragment,y),y.forEach(_),this.h()},h(){Q(t,"class","text-lg font-medium"),Q(e,"class","my-2 flex w-full flex-col gap-4")},m(b,y){K(b,e,y),h(e,t),h(t,i),h(e,r),h(e,o),h(o,u),h(e,a),N(d,e,null),c=!0},p(b,y){const w={};!f&&y[0]&256&&(f=!0,w.value=b[8],G(()=>f=!1)),d.$set(w)},i(b){c||(M(d.$$.fragment,b),c=!0)},o(b){C(d.$$.fragment,b),c=!1},d(b){b&&_(e),U(d)}}}function Pn(n){let e,t=q("schedules","schedule-spec")+"",l,i,r,o,s,u,a,d,f,c,m,g,b,y,w;r=new Bt({props:{label:"Schedule Tabs",class:"flex flex-wrap gap-6",$$slots:{default:[Sn]},$$scope:{ctx:n}}});let I=n[9]&&Et(n);a=new Re({props:{id:"interval-panel",tabId:"interval-tab",$$slots:{default:[Vn]},$$scope:{ctx:n}}}),f=new Re({props:{id:"daily-panel",tabId:"daily-tab",$$slots:{default:[Tn]},$$scope:{ctx:n}}}),m=new Re({props:{id:"monthly-panel",tabId:"monthly-tab",$$slots:{default:[Cn]},$$scope:{ctx:n}}}),b=new Re({props:{id:"string-panel",tabId:"string-tab",$$slots:{default:[Hn]},$$scope:{ctx:n}}});const B=n[11].default,J=Dt(B,n,n[30],Ot);return{c(){e=W("h2"),l=Z(t),i=H(),L(r.$$.fragment),o=H(),s=W("div"),I&&I.c(),u=H(),L(a.$$.fragment),d=H(),L(f.$$.fragment),c=H(),L(m.$$.fragment),g=H(),L(b.$$.fragment),y=H(),J&&J.c(),this.h()},l(k){e=V(k,"H2",{class:!0});var $=T(e);l=x($,t),$.forEach(_),i=P(k),A(r.$$.fragment,k),o=P(k),s=V(k,"DIV",{class:!0});var D=T(s);I&&I.l(D),u=P(D),A(a.$$.fragment,D),d=P(D),A(f.$$.fragment,D),c=P(D),A(m.$$.fragment,D),g=P(D),A(b.$$.fragment,D),D.forEach(_),y=P(k),J&&J.l(k),this.h()},h(){Q(e,"class","mb-4 text-2xl"),Q(s,"class","mt-4 flex w-full flex-wrap gap-6")},m(k,$){K(k,e,$),h(e,l),K(k,i,$),N(r,k,$),K(k,o,$),K(k,s,$),I&&I.m(s,null),h(s,u),N(a,s,null),h(s,d),N(f,s,null),h(s,c),N(m,s,null),h(s,g),N(b,s,null),K(k,y,$),J&&J.m(k,$),w=!0},p(k,$){const D={};$[0]&1073743360&&(D.$$scope={dirty:$,ctx:k}),r.$set(D),k[9]?I?(I.p(k,$),$[0]&512&&M(I,1)):(I=Et(k),I.c(),M(I,1),I.m(s,u)):I&&(tt(),C(I,1,1,()=>{I=null}),nt());const se={};$[0]&1073742072&&(se.$$scope={dirty:$,ctx:k}),a.$set(se);const Y={};$[0]&1073741873&&(Y.$$scope={dirty:$,ctx:k}),f.$set(Y);const F={};$[0]&1073741878&&(F.$$scope={dirty:$,ctx:k}),m.$set(F);const ne={};$[0]&1073742080&&(ne.$$scope={dirty:$,ctx:k}),b.$set(ne),J&&J.p&&(!w||$[0]&1073742848)&&Mt(J,B,k,k[30],w?Wt(B,k[30],$,Mn):St(k[30]),Ot)},i(k){w||(M(r.$$.fragment,k),M(I),M(a.$$.fragment,k),M(f.$$.fragment,k),M(m.$$.fragment,k),M(b.$$.fragment,k),M(J,k),w=!0)},o(k){C(r.$$.fragment,k),C(I),C(a.$$.fragment,k),C(f.$$.fragment,k),C(m.$$.fragment,k),C(b.$$.fragment,k),C(J,k),w=!1},d(k){k&&_(e),k&&_(i),U(r,k),k&&_(o),k&&_(s),I&&I.d(),U(a),U(f),U(m),U(b),k&&_(y),J&&J.d(k)}}}function Ln(n){let e,t;return e=new Ut({props:{class:"mt-8 w-full",$$slots:{default:[Pn]},$$scope:{ctx:n}}}),{c(){L(e.$$.fragment)},l(l){A(e.$$.fragment,l)},m(l,i){N(e,l,i),t=!0},p(l,i){const r={};i[0]&1073743871&&(r.$$scope={dirty:i,ctx:l}),e.$set(r)},i(l){t||(M(e.$$.fragment,l),t=!0)},o(l){C(e.$$.fragment,l),t=!1},d(l){U(e,l)}}}function An(n,e,t){let l;je(n,Vt,p=>t(31,l=p));let{$$slots:i={},$$scope:r}=e,s=l.params.schedule?"existing":"interval",{schedule:u=null}=e,{daysOfWeek:a}=e,{daysOfMonth:d}=e,{months:f}=e,{days:c}=e,{hour:m}=e,{minute:g}=e,{second:b}=e,{phase:y}=e,{cronString:w}=e;const I=()=>{t(0,a=[]),t(1,d=[]),t(2,f=[]),t(3,c=""),t(4,m=""),t(5,g=""),t(6,b=""),t(7,y=""),t(8,w="")},B=()=>t(10,s="existing"),J=()=>t(10,s="interval"),k=()=>t(10,s="week"),$=()=>t(10,s="month"),D=()=>t(10,s="string");function se(p){c=p,t(3,c)}function Y(p){m=p,t(4,m)}function F(p){g=p,t(5,g)}function ne(p){b=p,t(6,b)}function S(p){y=p,t(7,y)}function X(p){a=p,t(0,a)}function ie(p){m=p,t(4,m)}function ue(p){g=p,t(5,g)}function ee(p){d=p,t(1,d)}function ae(p){f=p,t(2,f)}function de(p){m=p,t(4,m)}function he(p){g=p,t(5,g)}function re(p){w=p,t(8,w)}return n.$$set=p=>{"schedule"in p&&t(9,u=p.schedule),"daysOfWeek"in p&&t(0,a=p.daysOfWeek),"daysOfMonth"in p&&t(1,d=p.daysOfMonth),"months"in p&&t(2,f=p.months),"days"in p&&t(3,c=p.days),"hour"in p&&t(4,m=p.hour),"minute"in p&&t(5,g=p.minute),"second"in p&&t(6,b=p.second),"phase"in p&&t(7,y=p.phase),"cronString"in p&&t(8,w=p.cronString),"$$scope"in p&&t(30,r=p.$$scope)},I(),[a,d,f,c,m,g,b,y,w,u,s,i,B,J,k,$,D,se,Y,F,ne,S,X,ie,ue,ee,ae,de,he,re,r]}class Nn extends Me{constructor(e){super(),Se(this,e,An,Ln,We,{schedule:9,daysOfWeek:0,daysOfMonth:1,months:2,days:3,hour:4,minute:5,second:6,phase:7,cronString:8},null,[-1,-1])}}function Un(n){let e,t,l,i,r,o,s,u,a,d,f,c,m,g,b,y,w,I,B,J,k,$,D,se,Y,F,ne,S,X,ie,ue,ee,ae,de,he,re;t=new jt({props:{href:n[22],icon:"chevron-left",$$slots:{default:[qn]},$$scope:{ctx:n}}}),u=new Rt({props:{intent:"error",title:"",hidden:!n[16],bold:!0,$$slots:{default:[Qn]},$$scope:{ctx:n}}});function p(v){n[28](v)}let te={id:"name",label:q("schedules","name-label"),error:n[13].name,maxLength:232,disabled:Boolean(n[18])};n[1]!==void 0&&(te.value=n[1]),f=new Ie({props:te}),j.push(()=>z(f,"value",p)),f.$on("input",n[25]),f.$on("blur",n[26]);function _e(v){n[29](v)}let fe={id:"workflowType",label:q("schedules","workflow-type-label"),error:n[13].workflowType};n[2]!==void 0&&(fe.value=n[2]),b=new Ie({props:fe}),j.push(()=>z(b,"value",_e)),b.$on("input",n[25]),b.$on("blur",n[26]);function oe(v){n[30](v)}let Oe={id:"workflowId",label:q("schedules","workflow-id-label"),error:n[13].workflowId};n[3]!==void 0&&(Oe.value=n[3]),B=new Ie({props:Oe}),j.push(()=>z(B,"value",oe)),B.$on("input",n[25]),B.$on("blur",n[26]);function Ee(v){n[31](v)}let me={id:"taskQueue",label:q("schedules","task-queue-label"),error:n[13].taskQueue};n[4]!==void 0&&(me.value=n[4]),D=new Ie({props:me}),j.push(()=>z(D,"value",Ee)),D.$on("input",n[25]),D.$on("blur",n[26]);function ge(v){n[33](v)}function ke(v){n[34](v)}function ye(v){n[35](v)}function $e(v){n[36](v)}function Pe(v){n[37](v)}function Ce(v){n[38](v)}function Qe(v){n[39](v)}function Le(v){n[40](v)}function Fe(v){n[41](v)}let ve={schedule:n[0],$$slots:{default:[Rn,({preset:v})=>({55:v}),({preset:v})=>[0,v?16777216:0]]},$$scope:{ctx:n}};return n[5]!==void 0&&(ve.daysOfWeek=n[5]),n[6]!==void 0&&(ve.daysOfMonth=n[6]),n[7]!==void 0&&(ve.months=n[7]),n[8]!==void 0&&(ve.days=n[8]),n[9]!==void 0&&(ve.hour=n[9]),n[10]!==void 0&&(ve.minute=n[10]),n[11]!==void 0&&(ve.second=n[11]),n[14]!==void 0&&(ve.phase=n[14]),n[12]!==void 0&&(ve.cronString=n[12]),F=new Nn({props:ve}),j.push(()=>z(F,"daysOfWeek",ge)),j.push(()=>z(F,"daysOfMonth",ke)),j.push(()=>z(F,"months",ye)),j.push(()=>z(F,"days",$e)),j.push(()=>z(F,"hour",Pe)),j.push(()=>z(F,"minute",Ce)),j.push(()=>z(F,"second",Qe)),j.push(()=>z(F,"phase",Le)),j.push(()=>z(F,"cronString",Fe)),{c(){e=W("header"),L(t.$$.fragment),l=H(),i=W("h1"),r=Z(n[19]),o=H(),s=W("form"),L(u.$$.fragment),a=H(),d=W("div"),L(f.$$.fragment),m=H(),g=W("div"),L(b.$$.fragment),w=H(),I=W("div"),L(B.$$.fragment),k=H(),$=W("div"),L(D.$$.fragment),Y=H(),L(F.$$.fragment),this.h()},l(v){e=V(v,"HEADER",{class:!0});var R=T(e);A(t.$$.fragment,R),l=P(R),i=V(R,"H1",{class:!0});var Ve=T(i);r=x(Ve,n[19]),Ve.forEach(_),R.forEach(_),o=P(v),s=V(v,"FORM",{class:!0});var O=T(s);A(u.$$.fragment,O),a=P(O),d=V(O,"DIV",{class:!0});var be=T(d);A(f.$$.fragment,be),be.forEach(_),m=P(O),g=V(O,"DIV",{class:!0});var we=T(g);A(b.$$.fragment,we),we.forEach(_),w=P(O),I=V(O,"DIV",{class:!0});var He=T(I);A(B.$$.fragment,He),He.forEach(_),k=P(O),$=V(O,"DIV",{class:!0});var Te=T($);A(D.$$.fragment,Te),Te.forEach(_),Y=P(O),A(F.$$.fragment,O),O.forEach(_),this.h()},h(){Q(i,"class","font-base text-2xl"),Q(e,"class","mb-12 flex flex-col gap-1"),Q(d,"class","w-full"),Q(g,"class","w-full"),Q(I,"class","w-full"),Q($,"class","w-full"),Q(s,"class","mb-4 flex w-full flex-col gap-4 md:w-2/3 xl:w-1/2")},m(v,R){K(v,e,R),N(t,e,null),h(e,l),h(e,i),h(i,r),K(v,o,R),K(v,s,R),N(u,s,null),h(s,a),h(s,d),N(f,d,null),h(s,m),h(s,g),N(b,g,null),h(s,w),h(s,I),N(B,I,null),h(s,k),h(s,$),N(D,$,null),h(s,Y),N(F,s,null),re=!0},p(v,R){const Ve={};R[1]&33554432&&(Ve.$$scope={dirty:R,ctx:v}),t.$set(Ve);const O={};R[0]&65536&&(O.hidden=!v[16]),R[0]&65536|R[1]&33554432&&(O.$$scope={dirty:R,ctx:v}),u.$set(O);const be={};R[0]&8192&&(be.error=v[13].name),!c&&R[0]&2&&(c=!0,be.value=v[1],G(()=>c=!1)),f.$set(be);const we={};R[0]&8192&&(we.error=v[13].workflowType),!y&&R[0]&4&&(y=!0,we.value=v[2],G(()=>y=!1)),b.$set(we);const He={};R[0]&8192&&(He.error=v[13].workflowId),!J&&R[0]&8&&(J=!0,He.value=v[3],G(()=>J=!1)),B.$set(He);const Te={};R[0]&8192&&(Te.error=v[13].taskQueue),!se&&R[0]&16&&(se=!0,Te.value=v[4],G(()=>se=!1)),D.$set(Te);const E={};R[0]&1&&(E.schedule=v[0]),R[0]&32769|R[1]&50331648&&(E.$$scope={dirty:R,ctx:v}),!ne&&R[0]&32&&(ne=!0,E.daysOfWeek=v[5],G(()=>ne=!1)),!S&&R[0]&64&&(S=!0,E.daysOfMonth=v[6],G(()=>S=!1)),!X&&R[0]&128&&(X=!0,E.months=v[7],G(()=>X=!1)),!ie&&R[0]&256&&(ie=!0,E.days=v[8],G(()=>ie=!1)),!ue&&R[0]&512&&(ue=!0,E.hour=v[9],G(()=>ue=!1)),!ee&&R[0]&1024&&(ee=!0,E.minute=v[10],G(()=>ee=!1)),!ae&&R[0]&2048&&(ae=!0,E.second=v[11],G(()=>ae=!1)),!de&&R[0]&16384&&(de=!0,E.phase=v[14],G(()=>de=!1)),!he&&R[0]&4096&&(he=!0,E.cronString=v[12],G(()=>he=!1)),F.$set(E)},i(v){re||(M(t.$$.fragment,v),M(u.$$.fragment,v),M(f.$$.fragment,v),M(b.$$.fragment,v),M(B.$$.fragment,v),M(D.$$.fragment,v),M(F.$$.fragment,v),re=!0)},o(v){C(t.$$.fragment,v),C(u.$$.fragment,v),C(f.$$.fragment,v),C(b.$$.fragment,v),C(B.$$.fragment,v),C(D.$$.fragment,v),C(F.$$.fragment,v),re=!1},d(v){v&&_(e),U(t),v&&_(o),v&&_(s),U(u),U(f),U(b),U(B),U(D),U(F)}}}function Bn(n){let e,t;return e=new zt({props:{title:n[20]}}),{c(){L(e.$$.fragment)},l(l){A(e.$$.fragment,l)},m(l,i){N(e,l,i),t=!0},p:pe,i(l){t||(M(e.$$.fragment,l),t=!0)},o(l){C(e.$$.fragment,l),t=!1},d(l){U(e,l)}}}function qn(n){let e;return{c(){e=Z(n[21])},l(t){e=x(t,n[21])},m(t,l){K(t,e,l)},p:pe,d(t){t&&_(e)}}}function Qn(n){let e;return{c(){e=Z(n[16])},l(t){e=x(t,n[16])},m(t,l){K(t,e,l)},p(t,l){l[0]&65536&&At(e,t[16])},d(t){t&&_(e)}}}function Fn(n){let e;return{c(){e=Z(n[23])},l(t){e=x(t,n[23])},m(t,l){K(t,e,l)},p:pe,d(t){t&&_(e)}}}function Kn(n){let e=q("cancel")+"",t;return{c(){t=Z(e)},l(l){t=x(l,e)},m(l,i){K(l,t,i)},p:pe,d(l){l&&_(t)}}}function Rn(n){let e,t,l,i,r;function o(){return n[32](n[55])}return t=new mt({props:{disabled:n[15](n[55]),$$slots:{default:[Fn]},$$scope:{ctx:n}}}),t.$on("click",o),i=new mt({props:{variant:"ghost",href:n[22],$$slots:{default:[Kn]},$$scope:{ctx:n}}}),{c(){e=W("div"),L(t.$$.fragment),l=H(),L(i.$$.fragment),this.h()},l(s){e=V(s,"DIV",{class:!0});var u=T(e);A(t.$$.fragment,u),l=P(u),A(i.$$.fragment,u),u.forEach(_),this.h()},h(){Q(e,"class","mt-8 flex items-center gap-2")},m(s,u){K(s,e,u),N(t,e,null),h(e,l),N(i,e,null),r=!0},p(s,u){n=s;const a={};u[0]&32768|u[1]&16777216&&(a.disabled=n[15](n[55])),u[1]&33554432&&(a.$$scope={dirty:u,ctx:n}),t.$set(a);const d={};u[1]&33554432&&(d.$$scope={dirty:u,ctx:n}),i.$set(d)},i(s){r||(M(t.$$.fragment,s),M(i.$$.fragment,s),r=!0)},o(s){C(t.$$.fragment,s),C(i.$$.fragment,s),r=!1},d(s){s&&_(e),U(t),U(i)}}}function jn(n){let e,t,l,i;const r=[Bn,Un],o=[];function s(u,a){return u[17]?0:1}return t=s(n),l=o[t]=r[t](n),{c(){e=W("div"),l.c(),this.h()},l(u){e=V(u,"DIV",{class:!0});var a=T(e);l.l(a),a.forEach(_),this.h()},h(){Q(e,"class","pb-20")},m(u,a){K(u,e,a),o[t].m(e,null),i=!0},p(u,a){let d=t;t=s(u),t===d?o[t].p(u,a):(tt(),C(o[d],1,1,()=>{o[d]=null}),nt(),l=o[t],l?l.p(u,a):(l=o[t]=r[t](u),l.c()),M(l,1),l.m(e,null))},i(u){i||(M(l),i=!0)},o(u){C(l),i=!1},d(u){u&&_(e),o[t].d()}}}function zn(n,e,t){let l,i,r,o;je(n,xe,O=>t(16,i=O)),je(n,Vt,O=>t(53,r=O)),je(n,Gt,O=>t(17,o=O));var s,u,a,d,f,c,m,g,b,y,w;let{schedule:I=null}=e,{onConfirm:B}=e,J=r.params.namespace,k=r.params.schedule,$=q("schedules",I?"edit":"create"),D=q("schedules",I?"editing":"creating"),se=q("schedules",I?"back-to-schedule":"back-to-schedules"),Y=I?Jt({namespace:J,scheduleId:k}):Xt({namespace:J}),F=I?q("save"):q("schedules","create"),ne={},S=k??"",X=(d=(a=(u=(s=I==null?void 0:I.action)===null||s===void 0?void 0:s.startWorkflow)===null||u===void 0?void 0:u.workflowType)===null||a===void 0?void 0:a.name)!==null&&d!==void 0?d:"",ie=(m=(c=(f=I==null?void 0:I.action)===null||f===void 0?void 0:f.startWorkflow)===null||c===void 0?void 0:c.workflowId)!==null&&m!==void 0?m:"",ue=(w=(y=(b=(g=I==null?void 0:I.action)===null||g===void 0?void 0:g.startWorkflow)===null||b===void 0?void 0:b.taskQueue)===null||y===void 0?void 0:y.name)!==null&&w!==void 0?w:"",ee=[],ae=[],de=[],he="",re="",p="",te="",_e="",fe="";const oe=(O,be)=>{B(O,{name:S,workflowType:X,workflowId:ie,taskQueue:ue,hour:re,minute:p,second:te,phase:_e,cronString:fe,daysOfWeek:ee,daysOfMonth:ae,days:he,months:de},be)},Oe=O=>{const{id:be}=O.target;t(13,ne[be]=!1,ne),i&&dt(xe,i="",i)},Ee=O=>{const{value:be,id:we}=O.target;be.trim()?t(13,ne[we]=!1,ne):t(13,ne[we]=!0,ne)};Lt(()=>dt(xe,i="",i));function me(O){S=O,t(1,S)}function ge(O){X=O,t(2,X)}function ke(O){ie=O,t(3,ie)}function ye(O){ue=O,t(4,ue)}const $e=O=>oe(O,I);function Pe(O){ee=O,t(5,ee)}function Ce(O){ae=O,t(6,ae)}function Qe(O){de=O,t(7,de)}function Le(O){he=O,t(8,he)}function Fe(O){re=O,t(9,re)}function ve(O){p=O,t(10,p)}function v(O){te=O,t(11,te)}function R(O){_e=O,t(14,_e)}function Ve(O){fe=O,t(12,fe)}return n.$$set=O=>{"schedule"in O&&t(0,I=O.schedule),"onConfirm"in O&&t(27,B=O.onConfirm)},n.$$.update=()=>{n.$$.dirty[0]&8190&&t(15,l=O=>!S||!X||!ie||!ue?!0:O==="interval"?!he&&!re&&!p&&!te:O==="week"?!ee.length:O==="month"?!ae.length||!de.length:O==="string"?!fe:!1)},[I,S,X,ie,ue,ee,ae,de,he,re,p,te,fe,ne,_e,l,i,o,k,$,D,se,Y,F,oe,Oe,Ee,B,me,ge,ke,ye,$e,Pe,Ce,Qe,Le,Fe,ve,v,R,Ve]}class fl extends Me{constructor(e){super(),Se(this,e,zn,jn,We,{schedule:0,onConfirm:27},null,[-1,-1])}}export{fl as S}; +import{S as Me,b as Se,a as We,G as Dt,N as et,m as W,p as V,q as T,k as _,O as ft,P as De,f as K,H as Mt,I as St,J as Wt,R as Ct,j as M,g as C,T as ot,af as Ht,K as je,U as Pt,u as Q,L as h,n as pe,a7 as Je,w as Z,x,Q as Ye,ag as Ze,c as H,d as P,A as j,a0 as z,C as L,D as A,E as N,a1 as G,F as U,z as tt,h as nt,a6 as Lt,a5 as dt,y as At}from"./index.09834243.js";import{p as Vt}from"./stores.cd833532.js";import{I as Ie}from"./input.d5248942.js";import{c as Nt,T as Ut,a as Bt,b as Ke}from"./tab.25c1b914.js";import{t as q}from"./translate.0a219ae4.js";import{m as ct,g as Xe,w as ht,S as qt,O as Ge}from"./option.1c804512.js";import{I as Qt}from"./icon.3cd9fa27.js";import{T as Ft,a as _t}from"./toggle-buttons.d3e32817.js";import{S as Kt}from"./schedule-service.4cfc145d.js";import{A as Rt}from"./alert.67786ddb.js";import{B as mt}from"./button.ce5dce2f.js";import{L as jt}from"./link.7cb1390a.js";import{L as zt}from"./loading.3bde98aa.js";import{e as xe,l as Gt}from"./schedules.8c7d6083.js";import{s as Jt,c as Xt}from"./route-for.d76d8056.js";function Yt(n){let e,t;const l=n[7].default,i=Dt(l,n,n[6],null);let r=[{id:n[0]},{"aria-labelledby":n[1]},{tabindex:"0"},{role:"tabpanel"},n[4]],o={};for(let s=0;st(5,o=m)),f(a),n.$$set=m=>{e=et(et({},e),Pt(m)),t(4,r=ot(e,i)),"id"in m&&t(0,a=m.id),"tabId"in m&&t(1,d=m.tabId),"$$scope"in m&&t(6,u=m.$$scope)},n.$$.update=()=>{n.$$.dirty&33&&t(2,l=o===a)},[a,d,l,c,r,o,u,s]}class Re extends Me{constructor(e){super(),Se(this,e,Zt,Yt,We,{id:0,tabId:1})}}function gt(n,e,t){const l=n.slice();return l[4]=e[t],l}function pt(n){let e,t=n[4]+"",l,i,r;function o(...s){return n[3](n[4],...s)}return{c(){e=W("button"),l=Z(t),this.h()},l(s){e=V(s,"BUTTON",{class:!0});var u=T(e);l=x(u,t),u.forEach(_),this.h()},h(){Q(e,"class","cell svelte-c8o885"),De(e,"active",n[0].includes(n[4]))},m(s,u){K(s,e,u),h(e,l),i||(r=Ye(e,"click",Ze(o)),i=!0)},p(s,u){n=s,u&3&&De(e,"active",n[0].includes(n[4]))},d(s){s&&_(e),i=!1,r()}}}function xt(n){let e,t,l=n[1],i=[];for(let r=0;ru+1);let{daysOfMonth:i}=e;const r=(s,u)=>{s.metaKey?i.includes(u)?i.filter(a=>a!==u):t(0,i=[...i,u]):t(0,i=[u])},o=(s,u)=>r(u,s);return n.$$set=s=>{"daysOfMonth"in s&&t(0,i=s.daysOfMonth)},[i,l,r,o]}class tn extends Me{constructor(e){super(),Se(this,e,en,xt,We,{daysOfMonth:0})}}function vt(n,e,t){const l=n.slice();return l[3]=e[t].label,l[4]=e[t].value,l}function bt(n){let e,t=n[3]+"",l,i,r,o;function s(...u){return n[2](n[4],...u)}return{c(){e=W("button"),l=Z(t),i=H(),this.h()},l(u){e=V(u,"BUTTON",{class:!0});var a=T(e);l=x(a,t),i=P(a),a.forEach(_),this.h()},h(){Q(e,"class","cell svelte-hc9i32"),De(e,"active",n[0].includes(n[4]))},m(u,a){K(u,e,a),h(e,l),h(e,i),r||(o=Ye(e,"click",Ze(s)),r=!0)},p(u,a){n=u,a&1&&De(e,"active",n[0].includes(n[4]))},d(u){u&&_(e),r=!1,o()}}}function nn(n){let e,t=ct,l=[];for(let i=0;i{o.metaKey&&s!=="*"?(l.includes("*")&&t(0,l=l.filter(u=>u!=="*")),l.includes(s)?t(0,l=l.filter(u=>u!==s)):t(0,l=[...l,s])):t(0,l=[s])},r=(o,s)=>i(s,o);return n.$$set=o=>{"months"in o&&t(0,l=o.months)},[l,i,r]}class sn extends Me{constructor(e){super(),Se(this,e,ln,nn,We,{months:0})}}function un(n){let e=q("ante-meridiem")+"",t;return{c(){t=Z(e)},l(l){t=x(l,e)},m(l,i){K(l,t,i)},p:pe,d(l){l&&_(t)}}}function an(n){let e=q("post-meridiem")+"",t;return{c(){t=Z(e)},l(l){t=x(l,e)},m(l,i){K(l,t,i)},p:pe,d(l){l&&_(t)}}}function rn(n){let e,t,l,i;return e=new _t({props:{active:n[2]==="AM",$$slots:{default:[un]},$$scope:{ctx:n}}}),e.$on("click",n[7]),l=new _t({props:{active:n[2]==="PM",$$slots:{default:[an]},$$scope:{ctx:n}}}),l.$on("click",n[8]),{c(){L(e.$$.fragment),t=H(),L(l.$$.fragment)},l(r){A(e.$$.fragment,r),t=P(r),A(l.$$.fragment,r)},m(r,o){N(e,r,o),K(r,t,o),N(l,r,o),i=!0},p(r,o){const s={};o&4&&(s.active=r[2]==="AM"),o&512&&(s.$$scope={dirty:o,ctx:r}),e.$set(s);const u={};o&4&&(u.active=r[2]==="PM"),o&512&&(u.$$scope={dirty:o,ctx:r}),l.$set(u)},i(r){i||(M(e.$$.fragment,r),M(l.$$.fragment,r),i=!0)},o(r){C(e.$$.fragment,r),C(l.$$.fragment,r),i=!1},d(r){U(e,r),r&&_(t),U(l,r)}}}function fn(n){let e,t,l=q("schedules","time-view-heading")+"",i,r,o,s=q("schedules","time-view-description")+"",u,a,d,f,c,m,g,b,y,w,I,B,J,k,$,D,se,Y,F,ne,S,X=q("based-on-time-preface")+"",ie,ue,ee;function ae(p){n[5](p)}let de={id:"hour-time",label:q("hours-abbreviated"),labelHidden:!0,placeholder:"00",suffix:q("hours-abbreviated"),maxLength:2,error:n[3](n[1],12)};n[1]!==void 0&&(de.value=n[1]),c=new Ie({props:de}),j.push(()=>z(c,"value",ae));function he(p){n[6](p)}let re={id:"minute-time",label:q("minutes-abbreviated"),labelHidden:!0,placeholder:"00",suffix:q("minutes-abbreviated"),maxLength:2,error:n[3](n[0],59)};return n[0]!==void 0&&(re.value=n[0]),B=new Ie({props:re}),j.push(()=>z(B,"value",he)),D=new Ft({props:{$$slots:{default:[rn]},$$scope:{ctx:n}}}),F=new Qt({props:{name:"clock","aria-hidden":"true"}}),{c(){e=W("div"),t=W("h3"),i=Z(l),r=H(),o=W("p"),u=Z(s),a=H(),d=W("div"),f=W("div"),L(c.$$.fragment),g=H(),b=W("div"),y=Z(":"),w=H(),I=W("div"),L(B.$$.fragment),k=H(),$=W("div"),L(D.$$.fragment),se=H(),Y=W("div"),L(F.$$.fragment),ne=H(),S=W("span"),ie=Z(X),ue=Z(" Universal Standard Time (UTC)"),this.h()},l(p){e=V(p,"DIV",{class:!0});var te=T(e);t=V(te,"H3",{class:!0});var _e=T(t);i=x(_e,l),_e.forEach(_),r=P(te),o=V(te,"P",{});var fe=T(o);u=x(fe,s),fe.forEach(_),a=P(te),d=V(te,"DIV",{class:!0});var oe=T(d);f=V(oe,"DIV",{class:!0});var Oe=T(f);A(c.$$.fragment,Oe),Oe.forEach(_),g=P(oe),b=V(oe,"DIV",{});var Ee=T(b);y=x(Ee,":"),Ee.forEach(_),w=P(oe),I=V(oe,"DIV",{class:!0});var me=T(I);A(B.$$.fragment,me),me.forEach(_),k=P(oe),$=V(oe,"DIV",{class:!0});var ge=T($);A(D.$$.fragment,ge),ge.forEach(_),oe.forEach(_),se=P(te),Y=V(te,"DIV",{class:!0});var ke=T(Y);A(F.$$.fragment,ke),ne=P(ke),S=V(ke,"SPAN",{class:!0});var ye=T(S);ie=x(ye,X),ue=x(ye," Universal Standard Time (UTC)"),ye.forEach(_),ke.forEach(_),te.forEach(_),this.h()},h(){Q(t,"class","text-lg font-medium"),Q(f,"class","w-24"),Q(I,"class","w-24"),Q($,"class","ml-2"),Q(d,"class","flex flex-row items-center gap-2"),Q(S,"class","text-xs font-normal text-gray-500"),Q(Y,"class","flex w-full flex-row items-center gap-2"),Q(e,"class","flex flex-col gap-4")},m(p,te){K(p,e,te),h(e,t),h(t,i),h(e,r),h(e,o),h(o,u),h(e,a),h(e,d),h(d,f),N(c,f,null),h(d,g),h(d,b),h(b,y),h(d,w),h(d,I),N(B,I,null),h(d,k),h(d,$),N(D,$,null),h(e,se),h(e,Y),N(F,Y,null),h(Y,ne),h(Y,S),h(S,ie),h(S,ue),ee=!0},p(p,[te]){const _e={};te&2&&(_e.error=p[3](p[1],12)),!m&&te&2&&(m=!0,_e.value=p[1],G(()=>m=!1)),c.$set(_e);const fe={};te&1&&(fe.error=p[3](p[0],59)),!J&&te&1&&(J=!0,fe.value=p[0],G(()=>J=!1)),B.$set(fe);const oe={};te&516&&(oe.$$scope={dirty:te,ctx:p}),D.$set(oe)},i(p){ee||(M(c.$$.fragment,p),M(B.$$.fragment,p),M(D.$$.fragment,p),M(F.$$.fragment,p),ee=!0)},o(p){C(c.$$.fragment,p),C(B.$$.fragment,p),C(D.$$.fragment,p),C(F.$$.fragment,p),ee=!1},d(p){p&&_(e),U(c),U(B),U(D),U(F)}}}function on(n,e,t){let{hour:l=""}=e,{minute:i=""}=e,r="",o="AM";const s=(c,m)=>c?isNaN(parseInt(c))||parseInt(c)>m:!1;function u(c){r=c,t(1,r)}function a(c){i=c,t(0,i)}const d=()=>t(2,o="AM"),f=()=>t(2,o="PM");return n.$$set=c=>{"hour"in c&&t(4,l=c.hour),"minute"in c&&t(0,i=c.minute)},n.$$.update=()=>{n.$$.dirty&6&&(r?r==="12"?t(4,l=o==="AM"?"00":"12"):o==="PM"?t(4,l=(parseInt(r)+12).toString()):t(4,l=r):t(4,l=""))},[i,r,o,s,l,u,a,d,f]}class Tt extends Me{constructor(e){super(),Se(this,e,on,fn,We,{hour:4,minute:0})}}function dn(n){let e,t,l=q("schedules","recurring-dates-heading")+"",i,r,o,s=q("schedules","recurring-dates-description")+"",u,a,d,f,c,m,g,b,y,w,I,B,J;function k(S){n[4](S)}let $={};n[0]!==void 0&&($.daysOfMonth=n[0]),f=new tn({props:$}),j.push(()=>z(f,"daysOfMonth",k));function D(S){n[5](S)}let se={};n[1]!==void 0&&(se.months=n[1]),g=new sn({props:se}),j.push(()=>z(g,"months",D));function Y(S){n[6](S)}function F(S){n[7](S)}let ne={};return n[2]!==void 0&&(ne.hour=n[2]),n[3]!==void 0&&(ne.minute=n[3]),w=new Tt({props:ne}),j.push(()=>z(w,"hour",Y)),j.push(()=>z(w,"minute",F)),{c(){e=W("div"),t=W("h3"),i=Z(l),r=H(),o=W("p"),u=Z(s),a=H(),d=W("div"),L(f.$$.fragment),m=H(),L(g.$$.fragment),y=H(),L(w.$$.fragment),this.h()},l(S){e=V(S,"DIV",{class:!0});var X=T(e);t=V(X,"H3",{class:!0});var ie=T(t);i=x(ie,l),ie.forEach(_),r=P(X),o=V(X,"P",{});var ue=T(o);u=x(ue,s),ue.forEach(_),a=P(X),d=V(X,"DIV",{class:!0});var ee=T(d);A(f.$$.fragment,ee),m=P(ee),A(g.$$.fragment,ee),ee.forEach(_),X.forEach(_),y=P(S),A(w.$$.fragment,S),this.h()},h(){Q(t,"class","text-lg font-medium"),Q(d,"class","flex w-full flex-col gap-4"),Q(e,"class","my-2 flex flex-col gap-4")},m(S,X){K(S,e,X),h(e,t),h(t,i),h(e,r),h(e,o),h(o,u),h(e,a),h(e,d),N(f,d,null),h(d,m),N(g,d,null),K(S,y,X),N(w,S,X),J=!0},p(S,[X]){const ie={};!c&&X&1&&(c=!0,ie.daysOfMonth=S[0],G(()=>c=!1)),f.$set(ie);const ue={};!b&&X&2&&(b=!0,ue.months=S[1],G(()=>b=!1)),g.$set(ue);const ee={};!I&&X&4&&(I=!0,ee.hour=S[2],G(()=>I=!1)),!B&&X&8&&(B=!0,ee.minute=S[3],G(()=>B=!1)),w.$set(ee)},i(S){J||(M(f.$$.fragment,S),M(g.$$.fragment,S),M(w.$$.fragment,S),J=!0)},o(S){C(f.$$.fragment,S),C(g.$$.fragment,S),C(w.$$.fragment,S),J=!1},d(S){S&&_(e),U(f),U(g),S&&_(y),U(w,S)}}}function cn(n,e,t){let{daysOfMonth:l}=e,{months:i}=e,{hour:r}=e,{minute:o}=e;function s(f){l=f,t(0,l)}function u(f){i=f,t(1,i)}function a(f){r=f,t(2,r)}function d(f){o=f,t(3,o)}return n.$$set=f=>{"daysOfMonth"in f&&t(0,l=f.daysOfMonth),"months"in f&&t(1,i=f.months),"hour"in f&&t(2,r=f.hour),"minute"in f&&t(3,o=f.minute)},[l,i,r,o,s,u,a,d]}class hn extends Me{constructor(e){super(),Se(this,e,cn,dn,We,{daysOfMonth:0,months:1,hour:2,minute:3})}}function $t(n,e,t){const l=n.slice();return l[4]=e[t].label,l[5]=e[t].value,l}function wt(n,e,t){const l=n.slice();return l[4]=e[t].label,l[5]=e[t].value,l}function kt(n){let e,t=n[4]+"",l,i,r;function o(...s){return n[2](n[5],...s)}return{c(){e=W("button"),l=Z(t),this.h()},l(s){e=V(s,"BUTTON",{class:!0});var u=T(e);l=x(u,t),u.forEach(_),this.h()},h(){Q(e,"class","cell svelte-xr91x7"),De(e,"active",n[0].includes(n[5]))},m(s,u){K(s,e,u),h(e,l),i||(r=Ye(e,"click",Ze(o)),i=!0)},p(s,u){n=s,u&1&&De(e,"active",n[0].includes(n[5]))},d(s){s&&_(e),i=!1,r()}}}function It(n){let e,t=n[4]+"",l,i,r;function o(...s){return n[3](n[5],...s)}return{c(){e=W("button"),l=Z(t),this.h()},l(s){e=V(s,"BUTTON",{class:!0});var u=T(e);l=x(u,t),u.forEach(_),this.h()},h(){Q(e,"class","cell svelte-xr91x7"),De(e,"active",n[0].includes(n[5]))},m(s,u){K(s,e,u),h(e,l),i||(r=Ye(e,"click",Ze(o)),i=!0)},p(s,u){n=s,u&1&&De(e,"active",n[0].includes(n[5]))},d(s){s&&_(e),i=!1,r()}}}function _n(n){let e,t,l,i,r=Xe,o=[];for(let a=0;a{s.metaKey?(Xe.find(a=>a.value===u)?t(0,l=[u]):l.find(a=>Xe.find(d=>d.value===a))&&t(0,l=[u]),l.includes(u)?l.filter(a=>a!==u):t(0,l=[...l,u])):t(0,l=[u])},r=(s,u)=>i(u,s),o=(s,u)=>i(u,s);return n.$$set=s=>{"daysOfWeek"in s&&t(0,l=s.daysOfWeek)},[l,i,r,o]}class gn extends Me{constructor(e){super(),Se(this,e,mn,_n,We,{daysOfWeek:0})}}function pn(n){let e,t,l=q("schedules","recurring-days-heading")+"",i,r,o,s=q("schedules","recurring-days-description")+"",u,a,d,f,c,m,g,b,y;function w($){n[3]($)}let I={};n[0]!==void 0&&(I.daysOfWeek=n[0]),d=new gn({props:I}),j.push(()=>z(d,"daysOfWeek",w));function B($){n[4]($)}function J($){n[5]($)}let k={};return n[1]!==void 0&&(k.hour=n[1]),n[2]!==void 0&&(k.minute=n[2]),m=new Tt({props:k}),j.push(()=>z(m,"hour",B)),j.push(()=>z(m,"minute",J)),{c(){e=W("div"),t=W("h3"),i=Z(l),r=H(),o=W("p"),u=Z(s),a=H(),L(d.$$.fragment),c=H(),L(m.$$.fragment),this.h()},l($){e=V($,"DIV",{class:!0});var D=T(e);t=V(D,"H3",{class:!0});var se=T(t);i=x(se,l),se.forEach(_),r=P(D),o=V(D,"P",{});var Y=T(o);u=x(Y,s),Y.forEach(_),a=P(D),A(d.$$.fragment,D),D.forEach(_),c=P($),A(m.$$.fragment,$),this.h()},h(){Q(t,"class","text-lg font-medium"),Q(e,"class","my-2 flex flex-col gap-4")},m($,D){K($,e,D),h(e,t),h(t,i),h(e,r),h(e,o),h(o,u),h(e,a),N(d,e,null),K($,c,D),N(m,$,D),y=!0},p($,[D]){const se={};!f&&D&1&&(f=!0,se.daysOfWeek=$[0],G(()=>f=!1)),d.$set(se);const Y={};!g&&D&2&&(g=!0,Y.hour=$[1],G(()=>g=!1)),!b&&D&4&&(b=!0,Y.minute=$[2],G(()=>b=!1)),m.$set(Y)},i($){y||(M(d.$$.fragment,$),M(m.$$.fragment,$),y=!0)},o($){C(d.$$.fragment,$),C(m.$$.fragment,$),y=!1},d($){$&&_(e),U(d),$&&_(c),U(m,$)}}}function vn(n,e,t){let{daysOfWeek:l}=e,{hour:i}=e,{minute:r}=e;function o(a){l=a,t(0,l)}function s(a){i=a,t(1,i)}function u(a){r=a,t(2,r)}return n.$$set=a=>{"daysOfWeek"in a&&t(0,l=a.daysOfWeek),"hour"in a&&t(1,i=a.hour),"minute"in a&&t(2,r=a.minute)},[l,i,r,o,s,u]}class bn extends Me{constructor(e){super(),Se(this,e,vn,pn,We,{daysOfWeek:0,hour:1,minute:2})}}function $n(n){let e=q("days")+"",t;return{c(){t=Z(e)},l(l){t=x(l,e)},m(l,i){K(l,t,i)},p:pe,d(l){l&&_(t)}}}function wn(n){let e=q("hours-abbreviated")+"",t;return{c(){t=Z(e)},l(l){t=x(l,e)},m(l,i){K(l,t,i)},p:pe,d(l){l&&_(t)}}}function kn(n){let e=q("minutes-abbreviated")+"",t;return{c(){t=Z(e)},l(l){t=x(l,e)},m(l,i){K(l,t,i)},p:pe,d(l){l&&_(t)}}}function In(n){let e=q("seconds-abbreviated")+"",t;return{c(){t=Z(e)},l(l){t=x(l,e)},m(l,i){K(l,t,i)},p:pe,d(l){l&&_(t)}}}function On(n){let e,t,l,i,r,o,s,u;return e=new Ge({props:{value:"days",$$slots:{default:[$n]},$$scope:{ctx:n}}}),l=new Ge({props:{value:"hrs",$$slots:{default:[wn]},$$scope:{ctx:n}}}),r=new Ge({props:{value:"min",$$slots:{default:[kn]},$$scope:{ctx:n}}}),s=new Ge({props:{value:"sec",$$slots:{default:[In]},$$scope:{ctx:n}}}),{c(){L(e.$$.fragment),t=H(),L(l.$$.fragment),i=H(),L(r.$$.fragment),o=H(),L(s.$$.fragment)},l(a){A(e.$$.fragment,a),t=P(a),A(l.$$.fragment,a),i=P(a),A(r.$$.fragment,a),o=P(a),A(s.$$.fragment,a)},m(a,d){N(e,a,d),K(a,t,d),N(l,a,d),K(a,i,d),N(r,a,d),K(a,o,d),N(s,a,d),u=!0},p(a,d){const f={};d&16384&&(f.$$scope={dirty:d,ctx:a}),e.$set(f);const c={};d&16384&&(c.$$scope={dirty:d,ctx:a}),l.$set(c);const m={};d&16384&&(m.$$scope={dirty:d,ctx:a}),r.$set(m);const g={};d&16384&&(g.$$scope={dirty:d,ctx:a}),s.$set(g)},i(a){u||(M(e.$$.fragment,a),M(l.$$.fragment,a),M(r.$$.fragment,a),M(s.$$.fragment,a),u=!0)},o(a){C(e.$$.fragment,a),C(l.$$.fragment,a),C(r.$$.fragment,a),C(s.$$.fragment,a),u=!1},d(a){U(e,a),a&&_(t),U(l,a),a&&_(i),U(r,a),a&&_(o),U(s,a)}}}function yn(n){let e,t,l=q("schedules","interval-view-heading")+"",i,r,o,s=q("schedules","interval-view-description")+"",u,a,d,f,c,m,g,b,y,w,I,B,J,k,$,D,se,Y,F,ne,S,X,ie,ue,ee,ae,de,he,re,p=q("schedules","offset-heading")+"",te,_e,fe,oe=q("schedules","offset-description")+"",Oe,Ee,me,ge,ke,ye,$e,Pe,Ce;function Qe(E){n[8](E)}let Le={id:"days",label:q("days"),labelHidden:!0,placeholder:"00",suffix:q("days"),maxLength:3,error:n[7](n[0])};n[0]!==void 0&&(Le.value=n[0]),c=new Ie({props:Le}),j.push(()=>z(c,"value",Qe));function Fe(E){n[9](E)}let ve={id:"hour-interval",label:q("hours-abbreviated"),labelHidden:!0,placeholder:"00",suffix:q("hours-abbreviated"),maxLength:2,error:n[7](n[1])};n[1]!==void 0&&(ve.value=n[1]),B=new Ie({props:ve}),j.push(()=>z(B,"value",Fe));function v(E){n[10](E)}let R={id:"minute-interval",label:q("minutes-abbreviated"),labelHidden:!0,placeholder:"00",suffix:q("minutes-abbreviated"),maxLength:2,error:n[7](n[2])};n[2]!==void 0&&(R.value=n[2]),F=new Ie({props:R}),j.push(()=>z(F,"value",v));function Ve(E){n[11](E)}let O={id:"second",label:q("seconds-abbreviated"),labelHidden:!0,placeholder:"00",suffix:q("seconds-abbreviated"),maxLength:2,error:n[7](n[3])};n[3]!==void 0&&(O.value=n[3]),ae=new Ie({props:O}),j.push(()=>z(ae,"value",Ve));function be(E){n[12](E)}let we={id:"phase",label:q("schedules","offset-heading"),labelHidden:!0,placeholder:"00",error:n[7](n[4]),unroundRight:!0};n[5]!==void 0&&(we.value=n[5]),ge=new Ie({props:we}),j.push(()=>z(ge,"value",be));function He(E){n[13](E)}let Te={label:q("schedules","offset-unit"),labelHidden:!0,unroundLeft:!0,id:"phase-unit",$$slots:{default:[On]},$$scope:{ctx:n}};return n[6]!==void 0&&(Te.value=n[6]),$e=new qt({props:Te}),j.push(()=>z($e,"value",He)),{c(){e=W("div"),t=W("h3"),i=Z(l),r=H(),o=W("p"),u=Z(s),a=H(),d=W("div"),f=W("div"),L(c.$$.fragment),g=H(),b=W("div"),y=Z(":"),w=H(),I=W("div"),L(B.$$.fragment),k=H(),$=W("div"),D=Z(":"),se=H(),Y=W("div"),L(F.$$.fragment),S=H(),X=W("div"),ie=Z(":"),ue=H(),ee=W("div"),L(ae.$$.fragment),he=H(),re=W("h3"),te=Z(p),_e=H(),fe=W("p"),Oe=Z(oe),Ee=H(),me=W("div"),L(ge.$$.fragment),ye=H(),L($e.$$.fragment),this.h()},l(E){e=V(E,"DIV",{class:!0});var le=T(e);t=V(le,"H3",{class:!0});var Ae=T(t);i=x(Ae,l),Ae.forEach(_),r=P(le),o=V(le,"P",{});var Ne=T(o);u=x(Ne,s),Ne.forEach(_),a=P(le),d=V(le,"DIV",{class:!0});var ce=T(d);f=V(ce,"DIV",{class:!0});var Ue=T(f);A(c.$$.fragment,Ue),Ue.forEach(_),g=P(ce),b=V(ce,"DIV",{});var Be=T(b);y=x(Be,":"),Be.forEach(_),w=P(ce),I=V(ce,"DIV",{class:!0});var qe=T(I);A(B.$$.fragment,qe),qe.forEach(_),k=P(ce),$=V(ce,"DIV",{});var lt=T($);D=x(lt,":"),lt.forEach(_),se=P(ce),Y=V(ce,"DIV",{class:!0});var st=T(Y);A(F.$$.fragment,st),st.forEach(_),S=P(ce),X=V(ce,"DIV",{});var it=T(X);ie=x(it,":"),it.forEach(_),ue=P(ce),ee=V(ce,"DIV",{class:!0});var ut=T(ee);A(ae.$$.fragment,ut),ut.forEach(_),ce.forEach(_),he=P(le),re=V(le,"H3",{class:!0});var at=T(re);te=x(at,p),at.forEach(_),_e=P(le),fe=V(le,"P",{});var rt=T(fe);Oe=x(rt,oe),rt.forEach(_),Ee=P(le),me=V(le,"DIV",{class:!0});var ze=T(me);A(ge.$$.fragment,ze),ye=P(ze),A($e.$$.fragment,ze),ze.forEach(_),le.forEach(_),this.h()},h(){Q(t,"class","text-lg font-medium"),Q(f,"class","w-24"),Q(I,"class","w-24"),Q(Y,"class","w-24"),Q(ee,"class","w-24"),Q(d,"class","flex flex-row items-center gap-2"),Q(re,"class","mt-4 text-lg font-medium"),Q(me,"class","flex w-48 gap-0"),Q(e,"class","my-2 flex flex-col gap-4")},m(E,le){K(E,e,le),h(e,t),h(t,i),h(e,r),h(e,o),h(o,u),h(e,a),h(e,d),h(d,f),N(c,f,null),h(d,g),h(d,b),h(b,y),h(d,w),h(d,I),N(B,I,null),h(d,k),h(d,$),h($,D),h(d,se),h(d,Y),N(F,Y,null),h(d,S),h(d,X),h(X,ie),h(d,ue),h(d,ee),N(ae,ee,null),h(e,he),h(e,re),h(re,te),h(e,_e),h(e,fe),h(fe,Oe),h(e,Ee),h(e,me),N(ge,me,null),h(me,ye),N($e,me,null),Ce=!0},p(E,[le]){const Ae={};le&1&&(Ae.error=E[7](E[0])),!m&&le&1&&(m=!0,Ae.value=E[0],G(()=>m=!1)),c.$set(Ae);const Ne={};le&2&&(Ne.error=E[7](E[1])),!J&&le&2&&(J=!0,Ne.value=E[1],G(()=>J=!1)),B.$set(Ne);const ce={};le&4&&(ce.error=E[7](E[2])),!ne&&le&4&&(ne=!0,ce.value=E[2],G(()=>ne=!1)),F.$set(ce);const Ue={};le&8&&(Ue.error=E[7](E[3])),!de&&le&8&&(de=!0,Ue.value=E[3],G(()=>de=!1)),ae.$set(Ue);const Be={};le&16&&(Be.error=E[7](E[4])),!ke&&le&32&&(ke=!0,Be.value=E[5],G(()=>ke=!1)),ge.$set(Be);const qe={};le&16384&&(qe.$$scope={dirty:le,ctx:E}),!Pe&&le&64&&(Pe=!0,qe.value=E[6],G(()=>Pe=!1)),$e.$set(qe)},i(E){Ce||(M(c.$$.fragment,E),M(B.$$.fragment,E),M(F.$$.fragment,E),M(ae.$$.fragment,E),M(ge.$$.fragment,E),M($e.$$.fragment,E),Ce=!0)},o(E){C(c.$$.fragment,E),C(B.$$.fragment,E),C(F.$$.fragment,E),C(ae.$$.fragment,E),C(ge.$$.fragment,E),C($e.$$.fragment,E),Ce=!1},d(E){E&&_(e),U(c),U(B),U(F),U(ae),U(ge),U($e)}}}function En(n,e,t){let{days:l=""}=e,{hour:i=""}=e,{minute:r=""}=e,{second:o=""}=e,{phase:s=""}=e,u="",a="min";const d=w=>w?isNaN(parseInt(w)):!1;function f(w){l=w,t(0,l)}function c(w){i=w,t(1,i)}function m(w){r=w,t(2,r)}function g(w){o=w,t(3,o)}function b(w){u=w,t(5,u)}function y(w){a=w,t(6,a)}return n.$$set=w=>{"days"in w&&t(0,l=w.days),"hour"in w&&t(1,i=w.hour),"minute"in w&&t(2,r=w.minute),"second"in w&&t(3,o=w.second),"phase"in w&&t(4,s=w.phase)},n.$$.update=()=>{n.$$.dirty&96&&u&&(a==="days"?t(4,s=(parseInt(u)*60*60*24).toString()+"s"):a==="hrs"?t(4,s=(parseInt(u)*60*60).toString()+"s"):a==="min"?t(4,s=(parseInt(u)*60).toString()+"s"):a==="sec"&&t(4,s=parseInt(u).toString()+"s"))},[l,i,r,o,s,u,a,d,f,c,m,g,b,y]}class Dn extends Me{constructor(e){super(),Se(this,e,En,yn,We,{days:0,hour:1,minute:2,second:3,phase:4})}}const Mn=n=>({preset:n[0]&1024}),Ot=n=>({preset:n[10]});function yt(n){let e,t;return e=new Ke({props:{label:"Existing",id:"existing-tab",panelId:"existing-panel",onClick:n[12]}}),{c(){L(e.$$.fragment)},l(l){A(e.$$.fragment,l)},m(l,i){N(e,l,i),t=!0},p(l,i){const r={};i[0]&1024&&(r.onClick=l[12]),e.$set(r)},i(l){t||(M(e.$$.fragment,l),t=!0)},o(l){C(e.$$.fragment,l),t=!1},d(l){U(e,l)}}}function Sn(n){let e,t,l,i,r,o,s,u,a,d=n[9]&&yt(n);return t=new Ke({props:{label:"Interval",id:"interval-tab",panelId:"interval-panel",onClick:n[13]}}),i=new Ke({props:{label:"Days of the Week",id:"daily-tab",panelId:"daily-panel",onClick:n[14]}}),o=new Ke({props:{label:"Days of the Month",id:"monthly-tab",panelId:"monthly-panel",onClick:n[15]}}),u=new Ke({props:{label:"String",id:"string-tab",panelId:"string-panel",onClick:n[16]}}),{c(){d&&d.c(),e=H(),L(t.$$.fragment),l=H(),L(i.$$.fragment),r=H(),L(o.$$.fragment),s=H(),L(u.$$.fragment)},l(f){d&&d.l(f),e=P(f),A(t.$$.fragment,f),l=P(f),A(i.$$.fragment,f),r=P(f),A(o.$$.fragment,f),s=P(f),A(u.$$.fragment,f)},m(f,c){d&&d.m(f,c),K(f,e,c),N(t,f,c),K(f,l,c),N(i,f,c),K(f,r,c),N(o,f,c),K(f,s,c),N(u,f,c),a=!0},p(f,c){f[9]?d?(d.p(f,c),c[0]&512&&M(d,1)):(d=yt(f),d.c(),M(d,1),d.m(e.parentNode,e)):d&&(tt(),C(d,1,1,()=>{d=null}),nt());const m={};c[0]&1024&&(m.onClick=f[13]),t.$set(m);const g={};c[0]&1024&&(g.onClick=f[14]),i.$set(g);const b={};c[0]&1024&&(b.onClick=f[15]),o.$set(b);const y={};c[0]&1024&&(y.onClick=f[16]),u.$set(y)},i(f){a||(M(d),M(t.$$.fragment,f),M(i.$$.fragment,f),M(o.$$.fragment,f),M(u.$$.fragment,f),a=!0)},o(f){C(d),C(t.$$.fragment,f),C(i.$$.fragment,f),C(o.$$.fragment,f),C(u.$$.fragment,f),a=!1},d(f){d&&d.d(f),f&&_(e),U(t,f),f&&_(l),U(i,f),f&&_(r),U(o,f),f&&_(s),U(u,f)}}}function Et(n){let e,t;return e=new Re({props:{id:"existing-panel",tabId:"existing-tab",class:"w-full",$$slots:{default:[Wn]},$$scope:{ctx:n}}}),{c(){L(e.$$.fragment)},l(l){A(e.$$.fragment,l)},m(l,i){N(e,l,i),t=!0},p(l,i){const r={};i[0]&1073742336&&(r.$$scope={dirty:i,ctx:l}),e.$set(r)},i(l){t||(M(e.$$.fragment,l),t=!0)},o(l){C(e.$$.fragment,l),t=!1},d(l){U(e,l)}}}function Wn(n){var l,i,r,o,s,u;let e,t;return e=new Kt({props:{calendar:(r=(i=(l=n[9])==null?void 0:l.spec)==null?void 0:i.structuredCalendar)==null?void 0:r[0],interval:(u=(s=(o=n[9])==null?void 0:o.spec)==null?void 0:s.interval)==null?void 0:u[0]}}),{c(){L(e.$$.fragment)},l(a){A(e.$$.fragment,a)},m(a,d){N(e,a,d),t=!0},p(a,d){var c,m,g,b,y,w;const f={};d[0]&512&&(f.calendar=(g=(m=(c=a[9])==null?void 0:c.spec)==null?void 0:m.structuredCalendar)==null?void 0:g[0]),d[0]&512&&(f.interval=(w=(y=(b=a[9])==null?void 0:b.spec)==null?void 0:y.interval)==null?void 0:w[0]),e.$set(f)},i(a){t||(M(e.$$.fragment,a),t=!0)},o(a){C(e.$$.fragment,a),t=!1},d(a){U(e,a)}}}function Vn(n){let e,t,l,i,r,o,s;function u(g){n[17](g)}function a(g){n[18](g)}function d(g){n[19](g)}function f(g){n[20](g)}function c(g){n[21](g)}let m={};return n[3]!==void 0&&(m.days=n[3]),n[4]!==void 0&&(m.hour=n[4]),n[5]!==void 0&&(m.minute=n[5]),n[6]!==void 0&&(m.second=n[6]),n[7]!==void 0&&(m.phase=n[7]),e=new Dn({props:m}),j.push(()=>z(e,"days",u)),j.push(()=>z(e,"hour",a)),j.push(()=>z(e,"minute",d)),j.push(()=>z(e,"second",f)),j.push(()=>z(e,"phase",c)),{c(){L(e.$$.fragment)},l(g){A(e.$$.fragment,g)},m(g,b){N(e,g,b),s=!0},p(g,b){const y={};!t&&b[0]&8&&(t=!0,y.days=g[3],G(()=>t=!1)),!l&&b[0]&16&&(l=!0,y.hour=g[4],G(()=>l=!1)),!i&&b[0]&32&&(i=!0,y.minute=g[5],G(()=>i=!1)),!r&&b[0]&64&&(r=!0,y.second=g[6],G(()=>r=!1)),!o&&b[0]&128&&(o=!0,y.phase=g[7],G(()=>o=!1)),e.$set(y)},i(g){s||(M(e.$$.fragment,g),s=!0)},o(g){C(e.$$.fragment,g),s=!1},d(g){U(e,g)}}}function Tn(n){let e,t,l,i,r;function o(d){n[22](d)}function s(d){n[23](d)}function u(d){n[24](d)}let a={};return n[0]!==void 0&&(a.daysOfWeek=n[0]),n[4]!==void 0&&(a.hour=n[4]),n[5]!==void 0&&(a.minute=n[5]),e=new bn({props:a}),j.push(()=>z(e,"daysOfWeek",o)),j.push(()=>z(e,"hour",s)),j.push(()=>z(e,"minute",u)),{c(){L(e.$$.fragment)},l(d){A(e.$$.fragment,d)},m(d,f){N(e,d,f),r=!0},p(d,f){const c={};!t&&f[0]&1&&(t=!0,c.daysOfWeek=d[0],G(()=>t=!1)),!l&&f[0]&16&&(l=!0,c.hour=d[4],G(()=>l=!1)),!i&&f[0]&32&&(i=!0,c.minute=d[5],G(()=>i=!1)),e.$set(c)},i(d){r||(M(e.$$.fragment,d),r=!0)},o(d){C(e.$$.fragment,d),r=!1},d(d){U(e,d)}}}function Cn(n){let e,t,l,i,r,o;function s(c){n[25](c)}function u(c){n[26](c)}function a(c){n[27](c)}function d(c){n[28](c)}let f={};return n[1]!==void 0&&(f.daysOfMonth=n[1]),n[2]!==void 0&&(f.months=n[2]),n[4]!==void 0&&(f.hour=n[4]),n[5]!==void 0&&(f.minute=n[5]),e=new hn({props:f}),j.push(()=>z(e,"daysOfMonth",s)),j.push(()=>z(e,"months",u)),j.push(()=>z(e,"hour",a)),j.push(()=>z(e,"minute",d)),{c(){L(e.$$.fragment)},l(c){A(e.$$.fragment,c)},m(c,m){N(e,c,m),o=!0},p(c,m){const g={};!t&&m[0]&2&&(t=!0,g.daysOfMonth=c[1],G(()=>t=!1)),!l&&m[0]&4&&(l=!0,g.months=c[2],G(()=>l=!1)),!i&&m[0]&16&&(i=!0,g.hour=c[4],G(()=>i=!1)),!r&&m[0]&32&&(r=!0,g.minute=c[5],G(()=>r=!1)),e.$set(g)},i(c){o||(M(e.$$.fragment,c),o=!0)},o(c){C(e.$$.fragment,c),o=!1},d(c){U(e,c)}}}function Hn(n){let e,t,l=q("schedules","cron-view-title")+"",i,r,o,s=q("schedules","cron-view-description")+"",u,a,d,f,c;function m(b){n[29](b)}let g={label:q("schedules","cron-view-title"),labelHidden:!0,id:"cronString",placeholder:"* * * * *"};return n[8]!==void 0&&(g.value=n[8]),d=new Ie({props:g}),j.push(()=>z(d,"value",m)),{c(){e=W("div"),t=W("h3"),i=Z(l),r=H(),o=W("p"),u=Z(s),a=H(),L(d.$$.fragment),this.h()},l(b){e=V(b,"DIV",{class:!0});var y=T(e);t=V(y,"H3",{class:!0});var w=T(t);i=x(w,l),w.forEach(_),r=P(y),o=V(y,"P",{});var I=T(o);u=x(I,s),I.forEach(_),a=P(y),A(d.$$.fragment,y),y.forEach(_),this.h()},h(){Q(t,"class","text-lg font-medium"),Q(e,"class","my-2 flex w-full flex-col gap-4")},m(b,y){K(b,e,y),h(e,t),h(t,i),h(e,r),h(e,o),h(o,u),h(e,a),N(d,e,null),c=!0},p(b,y){const w={};!f&&y[0]&256&&(f=!0,w.value=b[8],G(()=>f=!1)),d.$set(w)},i(b){c||(M(d.$$.fragment,b),c=!0)},o(b){C(d.$$.fragment,b),c=!1},d(b){b&&_(e),U(d)}}}function Pn(n){let e,t=q("schedules","schedule-spec")+"",l,i,r,o,s,u,a,d,f,c,m,g,b,y,w;r=new Bt({props:{label:"Schedule Tabs",class:"flex flex-wrap gap-6",$$slots:{default:[Sn]},$$scope:{ctx:n}}});let I=n[9]&&Et(n);a=new Re({props:{id:"interval-panel",tabId:"interval-tab",$$slots:{default:[Vn]},$$scope:{ctx:n}}}),f=new Re({props:{id:"daily-panel",tabId:"daily-tab",$$slots:{default:[Tn]},$$scope:{ctx:n}}}),m=new Re({props:{id:"monthly-panel",tabId:"monthly-tab",$$slots:{default:[Cn]},$$scope:{ctx:n}}}),b=new Re({props:{id:"string-panel",tabId:"string-tab",$$slots:{default:[Hn]},$$scope:{ctx:n}}});const B=n[11].default,J=Dt(B,n,n[30],Ot);return{c(){e=W("h2"),l=Z(t),i=H(),L(r.$$.fragment),o=H(),s=W("div"),I&&I.c(),u=H(),L(a.$$.fragment),d=H(),L(f.$$.fragment),c=H(),L(m.$$.fragment),g=H(),L(b.$$.fragment),y=H(),J&&J.c(),this.h()},l(k){e=V(k,"H2",{class:!0});var $=T(e);l=x($,t),$.forEach(_),i=P(k),A(r.$$.fragment,k),o=P(k),s=V(k,"DIV",{class:!0});var D=T(s);I&&I.l(D),u=P(D),A(a.$$.fragment,D),d=P(D),A(f.$$.fragment,D),c=P(D),A(m.$$.fragment,D),g=P(D),A(b.$$.fragment,D),D.forEach(_),y=P(k),J&&J.l(k),this.h()},h(){Q(e,"class","mb-4 text-2xl"),Q(s,"class","mt-4 flex w-full flex-wrap gap-6")},m(k,$){K(k,e,$),h(e,l),K(k,i,$),N(r,k,$),K(k,o,$),K(k,s,$),I&&I.m(s,null),h(s,u),N(a,s,null),h(s,d),N(f,s,null),h(s,c),N(m,s,null),h(s,g),N(b,s,null),K(k,y,$),J&&J.m(k,$),w=!0},p(k,$){const D={};$[0]&1073743360&&(D.$$scope={dirty:$,ctx:k}),r.$set(D),k[9]?I?(I.p(k,$),$[0]&512&&M(I,1)):(I=Et(k),I.c(),M(I,1),I.m(s,u)):I&&(tt(),C(I,1,1,()=>{I=null}),nt());const se={};$[0]&1073742072&&(se.$$scope={dirty:$,ctx:k}),a.$set(se);const Y={};$[0]&1073741873&&(Y.$$scope={dirty:$,ctx:k}),f.$set(Y);const F={};$[0]&1073741878&&(F.$$scope={dirty:$,ctx:k}),m.$set(F);const ne={};$[0]&1073742080&&(ne.$$scope={dirty:$,ctx:k}),b.$set(ne),J&&J.p&&(!w||$[0]&1073742848)&&Mt(J,B,k,k[30],w?Wt(B,k[30],$,Mn):St(k[30]),Ot)},i(k){w||(M(r.$$.fragment,k),M(I),M(a.$$.fragment,k),M(f.$$.fragment,k),M(m.$$.fragment,k),M(b.$$.fragment,k),M(J,k),w=!0)},o(k){C(r.$$.fragment,k),C(I),C(a.$$.fragment,k),C(f.$$.fragment,k),C(m.$$.fragment,k),C(b.$$.fragment,k),C(J,k),w=!1},d(k){k&&_(e),k&&_(i),U(r,k),k&&_(o),k&&_(s),I&&I.d(),U(a),U(f),U(m),U(b),k&&_(y),J&&J.d(k)}}}function Ln(n){let e,t;return e=new Ut({props:{class:"mt-8 w-full",$$slots:{default:[Pn]},$$scope:{ctx:n}}}),{c(){L(e.$$.fragment)},l(l){A(e.$$.fragment,l)},m(l,i){N(e,l,i),t=!0},p(l,i){const r={};i[0]&1073743871&&(r.$$scope={dirty:i,ctx:l}),e.$set(r)},i(l){t||(M(e.$$.fragment,l),t=!0)},o(l){C(e.$$.fragment,l),t=!1},d(l){U(e,l)}}}function An(n,e,t){let l;je(n,Vt,p=>t(31,l=p));let{$$slots:i={},$$scope:r}=e,s=l.params.schedule?"existing":"interval",{schedule:u=null}=e,{daysOfWeek:a}=e,{daysOfMonth:d}=e,{months:f}=e,{days:c}=e,{hour:m}=e,{minute:g}=e,{second:b}=e,{phase:y}=e,{cronString:w}=e;const I=()=>{t(0,a=[]),t(1,d=[]),t(2,f=[]),t(3,c=""),t(4,m=""),t(5,g=""),t(6,b=""),t(7,y=""),t(8,w="")},B=()=>t(10,s="existing"),J=()=>t(10,s="interval"),k=()=>t(10,s="week"),$=()=>t(10,s="month"),D=()=>t(10,s="string");function se(p){c=p,t(3,c)}function Y(p){m=p,t(4,m)}function F(p){g=p,t(5,g)}function ne(p){b=p,t(6,b)}function S(p){y=p,t(7,y)}function X(p){a=p,t(0,a)}function ie(p){m=p,t(4,m)}function ue(p){g=p,t(5,g)}function ee(p){d=p,t(1,d)}function ae(p){f=p,t(2,f)}function de(p){m=p,t(4,m)}function he(p){g=p,t(5,g)}function re(p){w=p,t(8,w)}return n.$$set=p=>{"schedule"in p&&t(9,u=p.schedule),"daysOfWeek"in p&&t(0,a=p.daysOfWeek),"daysOfMonth"in p&&t(1,d=p.daysOfMonth),"months"in p&&t(2,f=p.months),"days"in p&&t(3,c=p.days),"hour"in p&&t(4,m=p.hour),"minute"in p&&t(5,g=p.minute),"second"in p&&t(6,b=p.second),"phase"in p&&t(7,y=p.phase),"cronString"in p&&t(8,w=p.cronString),"$$scope"in p&&t(30,r=p.$$scope)},I(),[a,d,f,c,m,g,b,y,w,u,s,i,B,J,k,$,D,se,Y,F,ne,S,X,ie,ue,ee,ae,de,he,re,r]}class Nn extends Me{constructor(e){super(),Se(this,e,An,Ln,We,{schedule:9,daysOfWeek:0,daysOfMonth:1,months:2,days:3,hour:4,minute:5,second:6,phase:7,cronString:8},null,[-1,-1])}}function Un(n){let e,t,l,i,r,o,s,u,a,d,f,c,m,g,b,y,w,I,B,J,k,$,D,se,Y,F,ne,S,X,ie,ue,ee,ae,de,he,re;t=new jt({props:{href:n[22],icon:"chevron-left",$$slots:{default:[qn]},$$scope:{ctx:n}}}),u=new Rt({props:{intent:"error",title:"",hidden:!n[16],bold:!0,$$slots:{default:[Qn]},$$scope:{ctx:n}}});function p(v){n[28](v)}let te={id:"name",label:q("schedules","name-label"),error:n[13].name,maxLength:232,disabled:Boolean(n[18])};n[1]!==void 0&&(te.value=n[1]),f=new Ie({props:te}),j.push(()=>z(f,"value",p)),f.$on("input",n[25]),f.$on("blur",n[26]);function _e(v){n[29](v)}let fe={id:"workflowType",label:q("schedules","workflow-type-label"),error:n[13].workflowType};n[2]!==void 0&&(fe.value=n[2]),b=new Ie({props:fe}),j.push(()=>z(b,"value",_e)),b.$on("input",n[25]),b.$on("blur",n[26]);function oe(v){n[30](v)}let Oe={id:"workflowId",label:q("schedules","workflow-id-label"),error:n[13].workflowId};n[3]!==void 0&&(Oe.value=n[3]),B=new Ie({props:Oe}),j.push(()=>z(B,"value",oe)),B.$on("input",n[25]),B.$on("blur",n[26]);function Ee(v){n[31](v)}let me={id:"taskQueue",label:q("schedules","task-queue-label"),error:n[13].taskQueue};n[4]!==void 0&&(me.value=n[4]),D=new Ie({props:me}),j.push(()=>z(D,"value",Ee)),D.$on("input",n[25]),D.$on("blur",n[26]);function ge(v){n[33](v)}function ke(v){n[34](v)}function ye(v){n[35](v)}function $e(v){n[36](v)}function Pe(v){n[37](v)}function Ce(v){n[38](v)}function Qe(v){n[39](v)}function Le(v){n[40](v)}function Fe(v){n[41](v)}let ve={schedule:n[0],$$slots:{default:[Rn,({preset:v})=>({55:v}),({preset:v})=>[0,v?16777216:0]]},$$scope:{ctx:n}};return n[5]!==void 0&&(ve.daysOfWeek=n[5]),n[6]!==void 0&&(ve.daysOfMonth=n[6]),n[7]!==void 0&&(ve.months=n[7]),n[8]!==void 0&&(ve.days=n[8]),n[9]!==void 0&&(ve.hour=n[9]),n[10]!==void 0&&(ve.minute=n[10]),n[11]!==void 0&&(ve.second=n[11]),n[14]!==void 0&&(ve.phase=n[14]),n[12]!==void 0&&(ve.cronString=n[12]),F=new Nn({props:ve}),j.push(()=>z(F,"daysOfWeek",ge)),j.push(()=>z(F,"daysOfMonth",ke)),j.push(()=>z(F,"months",ye)),j.push(()=>z(F,"days",$e)),j.push(()=>z(F,"hour",Pe)),j.push(()=>z(F,"minute",Ce)),j.push(()=>z(F,"second",Qe)),j.push(()=>z(F,"phase",Le)),j.push(()=>z(F,"cronString",Fe)),{c(){e=W("header"),L(t.$$.fragment),l=H(),i=W("h1"),r=Z(n[19]),o=H(),s=W("form"),L(u.$$.fragment),a=H(),d=W("div"),L(f.$$.fragment),m=H(),g=W("div"),L(b.$$.fragment),w=H(),I=W("div"),L(B.$$.fragment),k=H(),$=W("div"),L(D.$$.fragment),Y=H(),L(F.$$.fragment),this.h()},l(v){e=V(v,"HEADER",{class:!0});var R=T(e);A(t.$$.fragment,R),l=P(R),i=V(R,"H1",{class:!0});var Ve=T(i);r=x(Ve,n[19]),Ve.forEach(_),R.forEach(_),o=P(v),s=V(v,"FORM",{class:!0});var O=T(s);A(u.$$.fragment,O),a=P(O),d=V(O,"DIV",{class:!0});var be=T(d);A(f.$$.fragment,be),be.forEach(_),m=P(O),g=V(O,"DIV",{class:!0});var we=T(g);A(b.$$.fragment,we),we.forEach(_),w=P(O),I=V(O,"DIV",{class:!0});var He=T(I);A(B.$$.fragment,He),He.forEach(_),k=P(O),$=V(O,"DIV",{class:!0});var Te=T($);A(D.$$.fragment,Te),Te.forEach(_),Y=P(O),A(F.$$.fragment,O),O.forEach(_),this.h()},h(){Q(i,"class","font-base text-2xl"),Q(e,"class","mb-12 flex flex-col gap-1"),Q(d,"class","w-full"),Q(g,"class","w-full"),Q(I,"class","w-full"),Q($,"class","w-full"),Q(s,"class","mb-4 flex w-full flex-col gap-4 md:w-2/3 xl:w-1/2")},m(v,R){K(v,e,R),N(t,e,null),h(e,l),h(e,i),h(i,r),K(v,o,R),K(v,s,R),N(u,s,null),h(s,a),h(s,d),N(f,d,null),h(s,m),h(s,g),N(b,g,null),h(s,w),h(s,I),N(B,I,null),h(s,k),h(s,$),N(D,$,null),h(s,Y),N(F,s,null),re=!0},p(v,R){const Ve={};R[1]&33554432&&(Ve.$$scope={dirty:R,ctx:v}),t.$set(Ve);const O={};R[0]&65536&&(O.hidden=!v[16]),R[0]&65536|R[1]&33554432&&(O.$$scope={dirty:R,ctx:v}),u.$set(O);const be={};R[0]&8192&&(be.error=v[13].name),!c&&R[0]&2&&(c=!0,be.value=v[1],G(()=>c=!1)),f.$set(be);const we={};R[0]&8192&&(we.error=v[13].workflowType),!y&&R[0]&4&&(y=!0,we.value=v[2],G(()=>y=!1)),b.$set(we);const He={};R[0]&8192&&(He.error=v[13].workflowId),!J&&R[0]&8&&(J=!0,He.value=v[3],G(()=>J=!1)),B.$set(He);const Te={};R[0]&8192&&(Te.error=v[13].taskQueue),!se&&R[0]&16&&(se=!0,Te.value=v[4],G(()=>se=!1)),D.$set(Te);const E={};R[0]&1&&(E.schedule=v[0]),R[0]&32769|R[1]&50331648&&(E.$$scope={dirty:R,ctx:v}),!ne&&R[0]&32&&(ne=!0,E.daysOfWeek=v[5],G(()=>ne=!1)),!S&&R[0]&64&&(S=!0,E.daysOfMonth=v[6],G(()=>S=!1)),!X&&R[0]&128&&(X=!0,E.months=v[7],G(()=>X=!1)),!ie&&R[0]&256&&(ie=!0,E.days=v[8],G(()=>ie=!1)),!ue&&R[0]&512&&(ue=!0,E.hour=v[9],G(()=>ue=!1)),!ee&&R[0]&1024&&(ee=!0,E.minute=v[10],G(()=>ee=!1)),!ae&&R[0]&2048&&(ae=!0,E.second=v[11],G(()=>ae=!1)),!de&&R[0]&16384&&(de=!0,E.phase=v[14],G(()=>de=!1)),!he&&R[0]&4096&&(he=!0,E.cronString=v[12],G(()=>he=!1)),F.$set(E)},i(v){re||(M(t.$$.fragment,v),M(u.$$.fragment,v),M(f.$$.fragment,v),M(b.$$.fragment,v),M(B.$$.fragment,v),M(D.$$.fragment,v),M(F.$$.fragment,v),re=!0)},o(v){C(t.$$.fragment,v),C(u.$$.fragment,v),C(f.$$.fragment,v),C(b.$$.fragment,v),C(B.$$.fragment,v),C(D.$$.fragment,v),C(F.$$.fragment,v),re=!1},d(v){v&&_(e),U(t),v&&_(o),v&&_(s),U(u),U(f),U(b),U(B),U(D),U(F)}}}function Bn(n){let e,t;return e=new zt({props:{title:n[20]}}),{c(){L(e.$$.fragment)},l(l){A(e.$$.fragment,l)},m(l,i){N(e,l,i),t=!0},p:pe,i(l){t||(M(e.$$.fragment,l),t=!0)},o(l){C(e.$$.fragment,l),t=!1},d(l){U(e,l)}}}function qn(n){let e;return{c(){e=Z(n[21])},l(t){e=x(t,n[21])},m(t,l){K(t,e,l)},p:pe,d(t){t&&_(e)}}}function Qn(n){let e;return{c(){e=Z(n[16])},l(t){e=x(t,n[16])},m(t,l){K(t,e,l)},p(t,l){l[0]&65536&&At(e,t[16])},d(t){t&&_(e)}}}function Fn(n){let e;return{c(){e=Z(n[23])},l(t){e=x(t,n[23])},m(t,l){K(t,e,l)},p:pe,d(t){t&&_(e)}}}function Kn(n){let e=q("cancel")+"",t;return{c(){t=Z(e)},l(l){t=x(l,e)},m(l,i){K(l,t,i)},p:pe,d(l){l&&_(t)}}}function Rn(n){let e,t,l,i,r;function o(){return n[32](n[55])}return t=new mt({props:{disabled:n[15](n[55]),$$slots:{default:[Fn]},$$scope:{ctx:n}}}),t.$on("click",o),i=new mt({props:{variant:"ghost",href:n[22],$$slots:{default:[Kn]},$$scope:{ctx:n}}}),{c(){e=W("div"),L(t.$$.fragment),l=H(),L(i.$$.fragment),this.h()},l(s){e=V(s,"DIV",{class:!0});var u=T(e);A(t.$$.fragment,u),l=P(u),A(i.$$.fragment,u),u.forEach(_),this.h()},h(){Q(e,"class","mt-8 flex items-center gap-2")},m(s,u){K(s,e,u),N(t,e,null),h(e,l),N(i,e,null),r=!0},p(s,u){n=s;const a={};u[0]&32768|u[1]&16777216&&(a.disabled=n[15](n[55])),u[1]&33554432&&(a.$$scope={dirty:u,ctx:n}),t.$set(a);const d={};u[1]&33554432&&(d.$$scope={dirty:u,ctx:n}),i.$set(d)},i(s){r||(M(t.$$.fragment,s),M(i.$$.fragment,s),r=!0)},o(s){C(t.$$.fragment,s),C(i.$$.fragment,s),r=!1},d(s){s&&_(e),U(t),U(i)}}}function jn(n){let e,t,l,i;const r=[Bn,Un],o=[];function s(u,a){return u[17]?0:1}return t=s(n),l=o[t]=r[t](n),{c(){e=W("div"),l.c(),this.h()},l(u){e=V(u,"DIV",{class:!0});var a=T(e);l.l(a),a.forEach(_),this.h()},h(){Q(e,"class","pb-20")},m(u,a){K(u,e,a),o[t].m(e,null),i=!0},p(u,a){let d=t;t=s(u),t===d?o[t].p(u,a):(tt(),C(o[d],1,1,()=>{o[d]=null}),nt(),l=o[t],l?l.p(u,a):(l=o[t]=r[t](u),l.c()),M(l,1),l.m(e,null))},i(u){i||(M(l),i=!0)},o(u){C(l),i=!1},d(u){u&&_(e),o[t].d()}}}function zn(n,e,t){let l,i,r,o;je(n,xe,O=>t(16,i=O)),je(n,Vt,O=>t(53,r=O)),je(n,Gt,O=>t(17,o=O));var s,u,a,d,f,c,m,g,b,y,w;let{schedule:I=null}=e,{onConfirm:B}=e,J=r.params.namespace,k=r.params.schedule,$=q("schedules",I?"edit":"create"),D=q("schedules",I?"editing":"creating"),se=q("schedules",I?"back-to-schedule":"back-to-schedules"),Y=I?Jt({namespace:J,scheduleId:k}):Xt({namespace:J}),F=I?q("save"):q("schedules","create"),ne={},S=k??"",X=(d=(a=(u=(s=I==null?void 0:I.action)===null||s===void 0?void 0:s.startWorkflow)===null||u===void 0?void 0:u.workflowType)===null||a===void 0?void 0:a.name)!==null&&d!==void 0?d:"",ie=(m=(c=(f=I==null?void 0:I.action)===null||f===void 0?void 0:f.startWorkflow)===null||c===void 0?void 0:c.workflowId)!==null&&m!==void 0?m:"",ue=(w=(y=(b=(g=I==null?void 0:I.action)===null||g===void 0?void 0:g.startWorkflow)===null||b===void 0?void 0:b.taskQueue)===null||y===void 0?void 0:y.name)!==null&&w!==void 0?w:"",ee=[],ae=[],de=[],he="",re="",p="",te="",_e="",fe="";const oe=(O,be)=>{B(O,{name:S,workflowType:X,workflowId:ie,taskQueue:ue,hour:re,minute:p,second:te,phase:_e,cronString:fe,daysOfWeek:ee,daysOfMonth:ae,days:he,months:de},be)},Oe=O=>{const{id:be}=O.target;t(13,ne[be]=!1,ne),i&&dt(xe,i="",i)},Ee=O=>{const{value:be,id:we}=O.target;be.trim()?t(13,ne[we]=!1,ne):t(13,ne[we]=!0,ne)};Lt(()=>dt(xe,i="",i));function me(O){S=O,t(1,S)}function ge(O){X=O,t(2,X)}function ke(O){ie=O,t(3,ie)}function ye(O){ue=O,t(4,ue)}const $e=O=>oe(O,I);function Pe(O){ee=O,t(5,ee)}function Ce(O){ae=O,t(6,ae)}function Qe(O){de=O,t(7,de)}function Le(O){he=O,t(8,he)}function Fe(O){re=O,t(9,re)}function ve(O){p=O,t(10,p)}function v(O){te=O,t(11,te)}function R(O){_e=O,t(14,_e)}function Ve(O){fe=O,t(12,fe)}return n.$$set=O=>{"schedule"in O&&t(0,I=O.schedule),"onConfirm"in O&&t(27,B=O.onConfirm)},n.$$.update=()=>{n.$$.dirty[0]&8190&&t(15,l=O=>!S||!X||!ie||!ue?!0:O==="interval"?!he&&!re&&!p&&!te:O==="week"?!ee.length:O==="month"?!ae.length||!de.length:O==="string"?!fe:!1)},[I,S,X,ie,ue,ee,ae,de,he,re,p,te,fe,ne,_e,l,i,o,k,$,D,se,Y,F,oe,Oe,Ee,B,me,ge,ke,ye,$e,Pe,Ce,Qe,Le,Fe,ve,v,R,Ve]}class fl extends Me{constructor(e){super(),Se(this,e,zn,jn,We,{schedule:0,onConfirm:27},null,[-1,-1])}}export{fl as S}; diff --git a/ui/assets/local/_app/immutable/chunks/schedule-service.850db2fb.js b/ui/assets/local/_app/immutable/chunks/schedule-service.4cfc145d.js similarity index 96% rename from ui/assets/local/_app/immutable/chunks/schedule-service.850db2fb.js rename to ui/assets/local/_app/immutable/chunks/schedule-service.4cfc145d.js index 8429f7615d..800bacc584 100644 --- a/ui/assets/local/_app/immutable/chunks/schedule-service.850db2fb.js +++ b/ui/assets/local/_app/immutable/chunks/schedule-service.4cfc145d.js @@ -1 +1 @@ -import{S as E,b as v,a as S,e as g,f as T,z as q,g as f,n as P,h as C,j as h,k as m,N as y,U as p,m as A,C as I,p as D,q as F,D as H,u as b,E as j,F as x}from"./index.09834243.js";import{C as N}from"./code-block.5b4e5d21.js";import{s as r}from"./parse-with-big-int.b38462f3.js";import{r as i,a as u}from"./route-for-api.6f64f216.js";import{v as d}from"./toaster.d089c03c.js";function k(a){let t,n,c,o;return n=new N({props:{copyable:!0,inline:a[2],testId:"schedule-calendar",language:"json",content:r(a[0]||a[1])}}),{c(){t=A("div"),I(n.$$.fragment),this.h()},l(e){t=D(e,"DIV",{class:!0});var s=F(t);H(n.$$.fragment,s),s.forEach(m),this.h()},h(){b(t,"class",c="flex flex-col "+a[3].class)},m(e,s){T(e,t,s),j(n,t,null),o=!0},p(e,s){const l={};s&4&&(l.inline=e[2]),s&3&&(l.content=r(e[0]||e[1])),n.$set(l),(!o||s&8&&c!==(c="flex flex-col "+e[3].class))&&b(t,"class",c)},i(e){o||(h(n.$$.fragment,e),o=!0)},o(e){f(n.$$.fragment,e),o=!1},d(e){e&&m(t),x(n)}}}function O(a){let t=[a[0],a[1]],n,c,o=k(a);return{c(){o.c(),n=g()},l(e){o.l(e),n=g()},m(e,s){o.m(e,s),T(e,n,s),c=!0},p(e,[s]){s&3&&S(t,t=[e[0],e[1]])?(q(),f(o,1,1,P),C(),o=k(e),o.c(),h(o,1),o.m(n.parentNode,n)):o.p(e,s)},i(e){c||(h(o),c=!0)},o(e){f(o),c=!1},d(e){e&&m(n),o.d(e)}}}function w(a,t,n){let{calendar:c=void 0}=t,{interval:o=void 0}=t,{inline:e=!1}=t;return a.$$set=s=>{n(3,t=y(y({},t),p(s))),"calendar"in s&&n(0,c=s.calendar),"interval"in s&&n(1,o=s.interval),"inline"in s&&n(2,e=s.inline)},t=p(t),[c,o,e,t]}class W extends E{constructor(t){super(),v(this,t,w,O,S,{calendar:0,interval:1,inline:2})}}const G=async(a,t=fetch)=>{let n="";const c=l=>{var _;return n=((_=l==null?void 0:l.body)==null?void 0:_.message)??`Error fetching schedules: ${l.status}: ${l.statusText}`},o=i("schedules",{namespace:a}),{schedules:e,nextPageToken:s}=await u(o,{params:{},onError:c,request:t})??{schedules:[],nextPageToken:""};return{schedules:e,nextPageToken:String(s),error:n}};async function J(a,t=fetch){const n=i("schedule",a);return u(n,{request:t})}async function K(a,t=fetch){const n=i("schedule.delete",a);return u(n,{request:t,options:{method:"DELETE"}})}async function M({namespace:a,body:t}){let n="";const c=s=>{var l;return n=((l=s==null?void 0:s.body)==null?void 0:l.message)??`Error creating schedule: ${s.status}: ${s.statusText}`},o=i("schedules",{namespace:a}),{conflictToken:e}=await u(o,{options:{method:"POST",body:r({request_id:d(),...t})},onError:c});return{conflictToken:e,error:n}}async function Q({namespace:a,scheduleId:t,body:n}){let c="";const o=s=>{var l;return c=((l=s==null?void 0:s.body)==null?void 0:l.message)??`Error editing schedule: ${s.status}: ${s.statusText}`},e=i("schedule",{namespace:a,scheduleId:t});return await u(e,{options:{method:"POST",body:r({request_id:d(),...n})},onError:o}),{error:c}}async function R({namespace:a,scheduleId:t,reason:n}){const c={patch:{pause:n}},o=i("schedule",{namespace:a,scheduleId:t});return await u(o,{options:{method:"PATCH",body:r({...c,request_id:d()})},onError:e=>console.error(e)})}async function X({namespace:a,scheduleId:t,reason:n}){const c={patch:{unpause:n}},o=i("schedule",{namespace:a,scheduleId:t});return await u(o,{options:{method:"PATCH",body:r({...c,request_id:d()})}})}async function Y({namespace:a,scheduleId:t,overlapPolicy:n}){const c={patch:{triggerImmediately:{overlapPolicy:n}}},o=i("schedule",{namespace:a,scheduleId:t});return await u(o,{options:{method:"PATCH",body:r({...c,request_id:d()})}})}export{W as S,J as a,M as c,K as d,Q as e,G as f,R as p,Y as t,X as u}; +import{S as E,b as v,a as S,e as g,f as T,z as q,g as f,n as P,h as C,j as h,k as m,N as y,U as p,m as A,C as I,p as D,q as F,D as H,u as b,E as j,F as x}from"./index.09834243.js";import{C as N}from"./code-block.797d93a9.js";import{s as r}from"./parse-with-big-int.b38462f3.js";import{r as i,a as u}from"./route-for-api.a8b11085.js";import{v as d}from"./toaster.a0b7d8ad.js";function k(a){let t,n,c,o;return n=new N({props:{copyable:!0,inline:a[2],testId:"schedule-calendar",language:"json",content:r(a[0]||a[1])}}),{c(){t=A("div"),I(n.$$.fragment),this.h()},l(e){t=D(e,"DIV",{class:!0});var s=F(t);H(n.$$.fragment,s),s.forEach(m),this.h()},h(){b(t,"class",c="flex flex-col "+a[3].class)},m(e,s){T(e,t,s),j(n,t,null),o=!0},p(e,s){const l={};s&4&&(l.inline=e[2]),s&3&&(l.content=r(e[0]||e[1])),n.$set(l),(!o||s&8&&c!==(c="flex flex-col "+e[3].class))&&b(t,"class",c)},i(e){o||(h(n.$$.fragment,e),o=!0)},o(e){f(n.$$.fragment,e),o=!1},d(e){e&&m(t),x(n)}}}function O(a){let t=[a[0],a[1]],n,c,o=k(a);return{c(){o.c(),n=g()},l(e){o.l(e),n=g()},m(e,s){o.m(e,s),T(e,n,s),c=!0},p(e,[s]){s&3&&S(t,t=[e[0],e[1]])?(q(),f(o,1,1,P),C(),o=k(e),o.c(),h(o,1),o.m(n.parentNode,n)):o.p(e,s)},i(e){c||(h(o),c=!0)},o(e){f(o),c=!1},d(e){e&&m(n),o.d(e)}}}function w(a,t,n){let{calendar:c=void 0}=t,{interval:o=void 0}=t,{inline:e=!1}=t;return a.$$set=s=>{n(3,t=y(y({},t),p(s))),"calendar"in s&&n(0,c=s.calendar),"interval"in s&&n(1,o=s.interval),"inline"in s&&n(2,e=s.inline)},t=p(t),[c,o,e,t]}class W extends E{constructor(t){super(),v(this,t,w,O,S,{calendar:0,interval:1,inline:2})}}const G=async(a,t=fetch)=>{let n="";const c=l=>{var _;return n=((_=l==null?void 0:l.body)==null?void 0:_.message)??`Error fetching schedules: ${l.status}: ${l.statusText}`},o=i("schedules",{namespace:a}),{schedules:e,nextPageToken:s}=await u(o,{params:{},onError:c,request:t})??{schedules:[],nextPageToken:""};return{schedules:e,nextPageToken:String(s),error:n}};async function J(a,t=fetch){const n=i("schedule",a);return u(n,{request:t})}async function K(a,t=fetch){const n=i("schedule.delete",a);return u(n,{request:t,options:{method:"DELETE"}})}async function M({namespace:a,body:t}){let n="";const c=s=>{var l;return n=((l=s==null?void 0:s.body)==null?void 0:l.message)??`Error creating schedule: ${s.status}: ${s.statusText}`},o=i("schedules",{namespace:a}),{conflictToken:e}=await u(o,{options:{method:"POST",body:r({request_id:d(),...t})},onError:c});return{conflictToken:e,error:n}}async function Q({namespace:a,scheduleId:t,body:n}){let c="";const o=s=>{var l;return c=((l=s==null?void 0:s.body)==null?void 0:l.message)??`Error editing schedule: ${s.status}: ${s.statusText}`},e=i("schedule",{namespace:a,scheduleId:t});return await u(e,{options:{method:"POST",body:r({request_id:d(),...n})},onError:o}),{error:c}}async function R({namespace:a,scheduleId:t,reason:n}){const c={patch:{pause:n}},o=i("schedule",{namespace:a,scheduleId:t});return await u(o,{options:{method:"PATCH",body:r({...c,request_id:d()})},onError:e=>console.error(e)})}async function X({namespace:a,scheduleId:t,reason:n}){const c={patch:{unpause:n}},o=i("schedule",{namespace:a,scheduleId:t});return await u(o,{options:{method:"PATCH",body:r({...c,request_id:d()})}})}async function Y({namespace:a,scheduleId:t,overlapPolicy:n}){const c={patch:{triggerImmediately:{overlapPolicy:n}}},o=i("schedule",{namespace:a,scheduleId:t});return await u(o,{options:{method:"PATCH",body:r({...c,request_id:d()})}})}export{W as S,J as a,M as c,K as d,Q as e,G as f,R as p,Y as t,X as u}; diff --git a/ui/assets/local/_app/immutable/chunks/schedules.f146f38a.js b/ui/assets/local/_app/immutable/chunks/schedules.8c7d6083.js similarity index 88% rename from ui/assets/local/_app/immutable/chunks/schedules.f146f38a.js rename to ui/assets/local/_app/immutable/chunks/schedules.8c7d6083.js index 864896405a..6cee3ef17b 100644 --- a/ui/assets/local/_app/immutable/chunks/schedules.f146f38a.js +++ b/ui/assets/local/_app/immutable/chunks/schedules.8c7d6083.js @@ -1 +1 @@ -import{w as k}from"./singletons.aae8f11e.js";import{g as S}from"./navigation.8b74a406.js";import{c as I,e as T}from"./schedule-service.850db2fb.js";import{c as M,s as O}from"./route-for.3b55a4c6.js";const f=e=>e?parseInt(e):0,Q=(e,a,s,t)=>`${f(e)*60*60*24+f(a)*60*60+f(s)*60+f(t)}s`,W=({months:e=[],daysOfMonth:a=[],daysOfWeek:s=[]})=>{var c,n;const t=e.sort((o,l)=>parseInt(o)-parseInt(l)).join(","),r=a.sort((o,l)=>o-l).join(","),u=(((n=(c=s==null?void 0:s[0])==null?void 0:c.split(","))==null?void 0:n.length)>1?s[0].split(","):s).sort((o,l)=>parseInt(o)-parseInt(l)).join(",");return{month:t,dayOfMonth:r,dayOfWeek:u}},g=(e,a,s)=>{const{hour:t,minute:r,second:i,phase:u,cronString:c}=a,{preset:n,months:o,days:l,daysOfMonth:p,daysOfWeek:m}=s;if(n==="string"){const d=`${c}#${c}`;e.schedule.spec.cronString=[d],e.schedule.spec.calendar=[],e.schedule.spec.interval=[]}else if(n==="interval"){const d=Q(l,t,r,i);e.schedule.spec.interval=[{interval:d,phase:u||"0s"}],e.schedule.spec.cronString=[],e.schedule.spec.calendar=[]}else{const{month:d,dayOfMonth:v,dayOfWeek:y}=W({months:o,daysOfMonth:p,daysOfWeek:m});e.schedule.spec.calendar=[{year:"*",month:n==="month"?d:"",dayOfMonth:n==="month"?v:"",dayOfWeek:n==="week"?y:"",hour:t,minute:r,second:i}],e.schedule.spec.interval=[],e.schedule.spec.cronString=[]}},x=async({action:e,spec:a,presets:s})=>{const{namespace:t,name:r,workflowId:i,workflowType:u,taskQueue:c}=e,n={schedule_id:r,schedule:{spec:{calendar:[],interval:[],cronString:[]},action:{startWorkflow:{workflowId:i,workflowType:{name:u},taskQueue:{name:c}}}}};g(n,a,s),h.set(!0);const{error:o}=await I({namespace:t,body:n});o?(w.set(o),h.set(!1)):setTimeout(()=>{w.set(""),h.set(!1),S(M({namespace:t}))},2e3)},z=async({action:e,spec:a,presets:s},t,r)=>{const{namespace:i,name:u,workflowId:c,workflowType:n,taskQueue:o}=e,{preset:l}=s,p={schedule_id:r,schedule:{...t,action:{startWorkflow:{...t.action.startWorkflow,workflowId:c,workflowType:{name:n},taskQueue:{name:o}}}}};l==="existing"?p.schedule.spec=t.spec:(g(p,a,s),p.schedule.spec.structuredCalendar=[]),h.set(!0);const{error:m}=await T({namespace:i,scheduleId:r,body:p});m?(w.set(m),h.set(!1)):setTimeout(()=>{S(O({namespace:i,scheduleId:u})),w.set(""),h.set(!1)},2e3)},h=k(!1),w=k("");export{x as a,w as e,h as l,z as s}; +import{w as k}from"./singletons.741208bb.js";import{g as S}from"./navigation.3b6dd1c7.js";import{c as I,e as T}from"./schedule-service.4cfc145d.js";import{c as M,s as O}from"./route-for.d76d8056.js";const f=e=>e?parseInt(e):0,Q=(e,a,s,t)=>`${f(e)*60*60*24+f(a)*60*60+f(s)*60+f(t)}s`,W=({months:e=[],daysOfMonth:a=[],daysOfWeek:s=[]})=>{var c,n;const t=e.sort((o,l)=>parseInt(o)-parseInt(l)).join(","),r=a.sort((o,l)=>o-l).join(","),u=(((n=(c=s==null?void 0:s[0])==null?void 0:c.split(","))==null?void 0:n.length)>1?s[0].split(","):s).sort((o,l)=>parseInt(o)-parseInt(l)).join(",");return{month:t,dayOfMonth:r,dayOfWeek:u}},g=(e,a,s)=>{const{hour:t,minute:r,second:i,phase:u,cronString:c}=a,{preset:n,months:o,days:l,daysOfMonth:p,daysOfWeek:m}=s;if(n==="string"){const d=`${c}#${c}`;e.schedule.spec.cronString=[d],e.schedule.spec.calendar=[],e.schedule.spec.interval=[]}else if(n==="interval"){const d=Q(l,t,r,i);e.schedule.spec.interval=[{interval:d,phase:u||"0s"}],e.schedule.spec.cronString=[],e.schedule.spec.calendar=[]}else{const{month:d,dayOfMonth:v,dayOfWeek:y}=W({months:o,daysOfMonth:p,daysOfWeek:m});e.schedule.spec.calendar=[{year:"*",month:n==="month"?d:"",dayOfMonth:n==="month"?v:"",dayOfWeek:n==="week"?y:"",hour:t,minute:r,second:i}],e.schedule.spec.interval=[],e.schedule.spec.cronString=[]}},x=async({action:e,spec:a,presets:s})=>{const{namespace:t,name:r,workflowId:i,workflowType:u,taskQueue:c}=e,n={schedule_id:r,schedule:{spec:{calendar:[],interval:[],cronString:[]},action:{startWorkflow:{workflowId:i,workflowType:{name:u},taskQueue:{name:c}}}}};g(n,a,s),h.set(!0);const{error:o}=await I({namespace:t,body:n});o?(w.set(o),h.set(!1)):setTimeout(()=>{w.set(""),h.set(!1),S(M({namespace:t}))},2e3)},z=async({action:e,spec:a,presets:s},t,r)=>{const{namespace:i,name:u,workflowId:c,workflowType:n,taskQueue:o}=e,{preset:l}=s,p={schedule_id:r,schedule:{...t,action:{startWorkflow:{...t.action.startWorkflow,workflowId:c,workflowType:{name:n},taskQueue:{name:o}}}}};l==="existing"?p.schedule.spec=t.spec:(g(p,a,s),p.schedule.spec.structuredCalendar=[]),h.set(!0);const{error:m}=await T({namespace:i,scheduleId:r,body:p});m?(w.set(m),h.set(!1)):setTimeout(()=>{S(O({namespace:i,scheduleId:u})),w.set(""),h.set(!1)},2e3)},h=k(!1),w=k("");export{x as a,w as e,h as l,z as s}; diff --git a/ui/assets/local/_app/immutable/chunks/search-attributes.03d6dc08.js b/ui/assets/local/_app/immutable/chunks/search-attributes.5b3e5149.js similarity index 92% rename from ui/assets/local/_app/immutable/chunks/search-attributes.03d6dc08.js rename to ui/assets/local/_app/immutable/chunks/search-attributes.5b3e5149.js index 75f122af7f..1ed7937e25 100644 --- a/ui/assets/local/_app/immutable/chunks/search-attributes.03d6dc08.js +++ b/ui/assets/local/_app/immutable/chunks/search-attributes.5b3e5149.js @@ -1 +1 @@ -import{j as r,w as o}from"./singletons.aae8f11e.js";import{ac as c}from"./index.09834243.js";const i=o({customAttributes:{},systemAttributes:{}}),b=r([i],([t])=>({...t.customAttributes,...t.systemAttributes}));r([i],([t])=>t.systemAttributes);const l=r([i],([t])=>t.customAttributes),p=t=>{const e=c(l);return t in e},f=(t,e)=>{var s;return e in(((s=t==null?void 0:t.searchAttributes)==null?void 0:s.indexedFields)??{})},m=r([b],([t])=>t?Object.entries(t).map(([e,s])=>({label:e,value:e,type:s})):[]),h=r([m],([t])=>{const e=["ExecutionStatus","WorkflowId","WorkflowType","RunId","StartTime","CloseTime"];return t.sort((s,u)=>s.labelu.label?1:0).sort((s,u)=>{const n=e.indexOf(s.value),a=e.indexOf(u.value);return n<0?1:a<0?-1:n-a})});export{i as a,h as b,l as c,p as i,b as s,f as w}; +import{j as r,w as o}from"./singletons.741208bb.js";import{ac as c}from"./index.09834243.js";const i=o({customAttributes:{},systemAttributes:{}}),b=r([i],([t])=>({...t.customAttributes,...t.systemAttributes}));r([i],([t])=>t.systemAttributes);const l=r([i],([t])=>t.customAttributes),p=t=>{const e=c(l);return t in e},f=(t,e)=>{var s;return e in(((s=t==null?void 0:t.searchAttributes)==null?void 0:s.indexedFields)??{})},m=r([b],([t])=>t?Object.entries(t).map(([e,s])=>({label:e,value:e,type:s})):[]),h=r([m],([t])=>{const e=["ExecutionStatus","WorkflowId","WorkflowType","RunId","StartTime","CloseTime"];return t.sort((s,u)=>s.labelu.label?1:0).sort((s,u)=>{const n=e.indexOf(s.value),a=e.indexOf(u.value);return n<0?1:a<0?-1:n-a})});export{i as a,h as b,l as c,p as i,b as s,f as w}; diff --git a/ui/assets/local/_app/immutable/chunks/settings-service.1e982d61.js b/ui/assets/local/_app/immutable/chunks/settings-service.8df029a6.js similarity index 96% rename from ui/assets/local/_app/immutable/chunks/settings-service.1e982d61.js rename to ui/assets/local/_app/immutable/chunks/settings-service.8df029a6.js index b85c3fa9b6..24834277df 100644 --- a/ui/assets/local/_app/immutable/chunks/settings-service.1e982d61.js +++ b/ui/assets/local/_app/immutable/chunks/settings-service.8df029a6.js @@ -1 +1 @@ -import{r as b,a as D,g as k}from"./route-for-api.6f64f216.js";function t(){return{}.VITE_TEMPORAL_UI_BUILD_TARGET??null}const f=/(tmprl\.cloud|tmprl-test\.cloud)$/,E=async(w=fetch)=>{var o,l,c,d,i,u;const m=b("settings"),r=await D(m,{request:w}),a=t();return{auth:{enabled:!!((o=r==null?void 0:r.Auth)!=null&&o.Enabled),options:(l=r==null?void 0:r.Auth)==null?void 0:l.Options},baseUrl:k(),codec:{endpoint:(c=r==null?void 0:r.Codec)==null?void 0:c.Endpoint,passAccessToken:(d=r==null?void 0:r.Codec)==null?void 0:d.PassAccessToken,includeCredentials:(i=r==null?void 0:r.Codec)==null?void 0:i.IncludeCredentials,decodeEventHistoryDownload:(u=r==null?void 0:r.Codec)==null?void 0:u.DecodeEventHistoryDownload},defaultNamespace:(r==null?void 0:r.DefaultNamespace)||"default",disableWriteActions:!!(r!=null&&r.DisableWriteActions)||!1,workflowTerminateDisabled:!!(r!=null&&r.WorkflowTerminateDisabled),workflowCancelDisabled:!!(r!=null&&r.WorkflowCancelDisabled),workflowSignalDisabled:!!(r!=null&&r.WorkflowSignalDisabled),workflowResetDisabled:!!(r!=null&&r.WorkflowResetDisabled),batchActionsDisabled:!!(r!=null&&r.BatchActionsDisabled),hideWorkflowQueryErrors:!!(r!=null&&r.HideWorkflowQueryErrors),showTemporalSystemNamespace:r==null?void 0:r.ShowTemporalSystemNamespace,notifyOnNewVersion:r==null?void 0:r.NotifyOnNewVersion,feedbackURL:r==null?void 0:r.FeedbackURL,runtimeEnvironment:{get isCloud(){return a?a==="cloud":f.test(window.location.hostname)},get isLocal(){return a?a==="local":f.test(window.location.hostname)},envOverride:Boolean(a)},version:r==null?void 0:r.Version}};export{E as f,f as i}; +import{r as b,a as D,g as k}from"./route-for-api.a8b11085.js";function t(){return{}.VITE_TEMPORAL_UI_BUILD_TARGET??null}const f=/(tmprl\.cloud|tmprl-test\.cloud)$/,E=async(w=fetch)=>{var o,l,c,d,i,u;const m=b("settings"),r=await D(m,{request:w}),a=t();return{auth:{enabled:!!((o=r==null?void 0:r.Auth)!=null&&o.Enabled),options:(l=r==null?void 0:r.Auth)==null?void 0:l.Options},baseUrl:k(),codec:{endpoint:(c=r==null?void 0:r.Codec)==null?void 0:c.Endpoint,passAccessToken:(d=r==null?void 0:r.Codec)==null?void 0:d.PassAccessToken,includeCredentials:(i=r==null?void 0:r.Codec)==null?void 0:i.IncludeCredentials,decodeEventHistoryDownload:(u=r==null?void 0:r.Codec)==null?void 0:u.DecodeEventHistoryDownload},defaultNamespace:(r==null?void 0:r.DefaultNamespace)||"default",disableWriteActions:!!(r!=null&&r.DisableWriteActions)||!1,workflowTerminateDisabled:!!(r!=null&&r.WorkflowTerminateDisabled),workflowCancelDisabled:!!(r!=null&&r.WorkflowCancelDisabled),workflowSignalDisabled:!!(r!=null&&r.WorkflowSignalDisabled),workflowResetDisabled:!!(r!=null&&r.WorkflowResetDisabled),batchActionsDisabled:!!(r!=null&&r.BatchActionsDisabled),hideWorkflowQueryErrors:!!(r!=null&&r.HideWorkflowQueryErrors),showTemporalSystemNamespace:r==null?void 0:r.ShowTemporalSystemNamespace,notifyOnNewVersion:r==null?void 0:r.NotifyOnNewVersion,feedbackURL:r==null?void 0:r.FeedbackURL,runtimeEnvironment:{get isCloud(){return a?a==="cloud":f.test(window.location.hostname)},get isLocal(){return a?a==="local":f.test(window.location.hostname)},envOverride:Boolean(a)},version:r==null?void 0:r.Version}};export{E as f,f as i}; diff --git a/ui/assets/local/_app/immutable/chunks/simplify-attributes.560f55a5.js b/ui/assets/local/_app/immutable/chunks/simplify-attributes.7c9bfcb7.js similarity index 94% rename from ui/assets/local/_app/immutable/chunks/simplify-attributes.560f55a5.js rename to ui/assets/local/_app/immutable/chunks/simplify-attributes.7c9bfcb7.js index ac9b015dd0..0de81f18b3 100644 --- a/ui/assets/local/_app/immutable/chunks/simplify-attributes.560f55a5.js +++ b/ui/assets/local/_app/immutable/chunks/simplify-attributes.7c9bfcb7.js @@ -1 +1 @@ -import{b as r}from"./format-date.71526e4c.js";import{k as s}from"./format-time.650b834b.js";const n=["closeTime","createTime","currentAttemptScheduledTime","earliestTime","eventTime","executionTime","expirationTime","expireTime","lastAccessTime","lastHeartbeatTime","lastStartedTime","lastUpdateTime","latestTime","releaseTime","scheduledTime","startedTime","startTime","workflowExecutionExpirationTime"],f=["backoffStartInterval","defaultWorkflowTaskTimeout","firstWorkflowTaskBackoff","heartbeatTimeout","initialInterval","maximumInterval","scheduleToCloseTimeout","scheduleToStartTimeout","startToCloseTimeout","startToFireTimeout","workflowExecutionRetentionPeriod","workflowExecutionRetentionTtl","workflowExecutionTimeout","workflowRunTimeout","workflowTaskTimeout"],a=e=>{for(const t of n)if(t===e)return!0;return!1},m=e=>{for(const t of f)if(t===e)return!0;return!1},l=e=>{if(e===null||e===void 0||typeof e!="object")return!1;const t=Object.keys(e),[o]=t;return!(t.length!==1||typeof e[o]!="string")},T=e=>{for(const t of Object.values(e))return t};function k(e,t=!1){for(const[o,i]of Object.entries(e))l(i)&&(e[o]=T(i)),a(o)&&!t&&(e[o]=r(i)),m(o)&&(e[o]=s(i));return e}export{k as s}; +import{b as r}from"./format-date.79f77cbf.js";import{k as s}from"./format-time.650b834b.js";const n=["closeTime","createTime","currentAttemptScheduledTime","earliestTime","eventTime","executionTime","expirationTime","expireTime","lastAccessTime","lastHeartbeatTime","lastStartedTime","lastUpdateTime","latestTime","releaseTime","scheduledTime","startedTime","startTime","workflowExecutionExpirationTime"],f=["backoffStartInterval","defaultWorkflowTaskTimeout","firstWorkflowTaskBackoff","heartbeatTimeout","initialInterval","maximumInterval","scheduleToCloseTimeout","scheduleToStartTimeout","startToCloseTimeout","startToFireTimeout","workflowExecutionRetentionPeriod","workflowExecutionRetentionTtl","workflowExecutionTimeout","workflowRunTimeout","workflowTaskTimeout"],a=e=>{for(const t of n)if(t===e)return!0;return!1},m=e=>{for(const t of f)if(t===e)return!0;return!1},l=e=>{if(e===null||e===void 0||typeof e!="object")return!1;const t=Object.keys(e),[o]=t;return!(t.length!==1||typeof e[o]!="string")},T=e=>{for(const t of Object.values(e))return t};function k(e,t=!1){for(const[o,i]of Object.entries(e))l(i)&&(e[o]=T(i)),a(o)&&!t&&(e[o]=r(i)),m(o)&&(e[o]=s(i));return e}export{k as s}; diff --git a/ui/assets/local/_app/immutable/chunks/singletons.aae8f11e.js b/ui/assets/local/_app/immutable/chunks/singletons.741208bb.js similarity index 95% rename from ui/assets/local/_app/immutable/chunks/singletons.aae8f11e.js rename to ui/assets/local/_app/immutable/chunks/singletons.741208bb.js index f0f688bb7f..8b049f8960 100644 --- a/ui/assets/local/_app/immutable/chunks/singletons.aae8f11e.js +++ b/ui/assets/local/_app/immutable/chunks/singletons.741208bb.js @@ -1 +1 @@ -import{n as p,s as w,r as R,a as S,i as I}from"./index.09834243.js";import{a as T}from"./paths.e7bc2ad1.js";const f=[];function x(e,t){return{subscribe:b(e,t).subscribe}}function b(e,t=p){let n;const r=new Set;function a(s){if(S(e,s)&&(e=s,n)){const u=!f.length;for(const l of r)l[1](),f.push(l,e);if(u){for(let l=0;l{r.delete(l),r.size===0&&(n(),n=null)}}return{set:a,update:i,subscribe:o}}function Y(e,t,n){const r=!Array.isArray(e),a=r?[e]:e,i=t.length<2;return x(n,o=>{let s=!1;const u=[];let l=0,_=p;const g=()=>{if(l)return;_();const c=t(r?u[0]:u,o);i?o(c):_=I(c)?c:p},A=a.map((c,h)=>w(c,E=>{u[h]=E,l&=~(1<{l|=1<o)}function a(o){n=!1,t.set(o)}function i(o){let s;return t.subscribe(u=>{(s===void 0||n&&u!==s)&&o(s=u)})}return{notify:r,set:a,subscribe:i}}function U(){const{set:e,subscribe:t}=b(!1);let n;async function r(){clearTimeout(n);const a=await fetch(`${T}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(a.ok){const o=(await a.json()).version!==O;return o&&(e(!0),clearTimeout(n)),o}else throw new Error(`Version check failed: ${a.status}`)}return{subscribe:t,check:r}}function L(e,t){return e.origin!==location.origin||!e.pathname.startsWith(t)}let N;function X(e){N=e.client}const B={url:v({}),page:v({}),navigating:b(null),updated:U()};export{q as I,m as P,j as S,$ as a,D as b,G as c,z as d,X as e,C as f,K as g,N as h,L as i,Y as j,x as r,B as s,b as w}; +import{n as p,s as w,r as R,a as S,i as I}from"./index.09834243.js";import{a as T}from"./paths.6ba25c42.js";const f=[];function x(e,t){return{subscribe:b(e,t).subscribe}}function b(e,t=p){let n;const r=new Set;function a(s){if(S(e,s)&&(e=s,n)){const u=!f.length;for(const l of r)l[1](),f.push(l,e);if(u){for(let l=0;l{r.delete(l),r.size===0&&(n(),n=null)}}return{set:a,update:i,subscribe:o}}function Y(e,t,n){const r=!Array.isArray(e),a=r?[e]:e,i=t.length<2;return x(n,o=>{let s=!1;const u=[];let l=0,_=p;const g=()=>{if(l)return;_();const c=t(r?u[0]:u,o);i?o(c):_=I(c)?c:p},A=a.map((c,h)=>w(c,E=>{u[h]=E,l&=~(1<{l|=1<o)}function a(o){n=!1,t.set(o)}function i(o){let s;return t.subscribe(u=>{(s===void 0||n&&u!==s)&&o(s=u)})}return{notify:r,set:a,subscribe:i}}function U(){const{set:e,subscribe:t}=b(!1);let n;async function r(){clearTimeout(n);const a=await fetch(`${T}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(a.ok){const o=(await a.json()).version!==O;return o&&(e(!0),clearTimeout(n)),o}else throw new Error(`Version check failed: ${a.status}`)}return{subscribe:t,check:r}}function L(e,t){return e.origin!==location.origin||!e.pathname.startsWith(t)}let N;function X(e){N=e.client}const B={url:v({}),page:v({}),navigating:b(null),updated:U()};export{q as I,m as P,j as S,$ as a,D as b,G as c,z as d,X as e,C as f,K as g,N as h,L as i,Y as j,x as r,B as s,b as w}; diff --git a/ui/assets/local/_app/immutable/chunks/split-button.6be660d6.js b/ui/assets/local/_app/immutable/chunks/split-button.a43ca811.js similarity index 98% rename from ui/assets/local/_app/immutable/chunks/split-button.6be660d6.js rename to ui/assets/local/_app/immutable/chunks/split-button.a43ca811.js index 3ca7638eb2..afdf14af56 100644 --- a/ui/assets/local/_app/immutable/chunks/split-button.6be660d6.js +++ b/ui/assets/local/_app/immutable/chunks/split-button.a43ca811.js @@ -1 +1 @@ -import{S as B,b as C,a as E,C as g,D as h,E as p,j as r,g as b,F as k,N as M,U as A,m as N,c as L,p as V,q as j,d as I,k as v,u as z,f as D,L as F,V as G,w as H,x as J,z as R,h as U,y as K,G as O,H as P,I as Q,J as T}from"./index.09834243.js";import{B as W}from"./button.ce5dce2f.js";import{I as X}from"./icon.3cd9fa27.js";import{M as Y,a as Z,b as y}from"./menu.c7988d0b.js";function S(s){let e,a;return e=new X({props:{name:s[2]}}),{c(){g(e.$$.fragment)},l(n){h(e.$$.fragment,n)},m(n,t){p(e,n,t),a=!0},p(n,t){const i={};t&4&&(i.name=n[2]),e.$set(i)},i(n){a||(r(e.$$.fragment,n),a=!0)},o(n){b(e.$$.fragment,n),a=!1},d(n){k(e,n)}}}function $(s){let e,a,n,t=s[2]&&S(s);return{c(){t&&t.c(),e=L(),a=H(s[0])},l(i){t&&t.l(i),e=I(i),a=J(i,s[0])},m(i,o){t&&t.m(i,o),D(i,e,o),D(i,a,o),n=!0},p(i,o){i[2]?t?(t.p(i,o),o&4&&r(t,1)):(t=S(i),t.c(),r(t,1),t.m(e.parentNode,e)):t&&(R(),b(t,1,1,()=>{t=null}),U()),(!n||o&1)&&K(a,i[0])},i(i){n||(r(t),n=!0)},o(i){b(t),n=!1},d(i){t&&t.d(i),i&&v(e),i&&v(a)}}}function w(s){let e;const a=s[9].default,n=O(a,s,s[11],null);return{c(){n&&n.c()},l(t){n&&n.l(t)},m(t,i){n&&n.m(t,i),e=!0},p(t,i){n&&n.p&&(!e||i&2048)&&P(n,a,t,t[11],e?T(a,t[11],i,null):Q(t[11]),null)},i(t){e||(r(n,t),e=!0)},o(t){b(n,t),e=!1},d(t){n&&n.d(t)}}}function x(s){let e,a,n,t,i,o,_;return a=new W({props:{variant:s[4],borderRadiusModifier:"square-right",disabled:s[5]||s[7],id:s[3]+"-primary-button",$$slots:{default:[$]},$$scope:{ctx:s}}}),a.$on("click",s[10]),t=new Z({props:{class:"max-w-fit grow-0",id:s[3]+"-menu-button",label:s[1],controls:s[3]+"-menu",variant:"primary",unroundLeft:!0,disabled:s[5],hasIndicator:!0}}),o=new y({props:{id:s[3]+"-menu",position:s[6],class:"w-full",$$slots:{default:[w]},$$scope:{ctx:s}}}),{c(){e=N("div"),g(a.$$.fragment),n=L(),g(t.$$.fragment),i=L(),g(o.$$.fragment),this.h()},l(l){e=V(l,"DIV",{class:!0});var f=j(e);h(a.$$.fragment,f),n=I(f),h(t.$$.fragment,f),f.forEach(v),i=I(l),h(o.$$.fragment,l),this.h()},h(){z(e,"class","split-button svelte-1pybp5c")},m(l,f){D(l,e,f),p(a,e,null),F(e,n),p(t,e,null),D(l,i,f),p(o,l,f),_=!0},p(l,f){const m={};f&16&&(m.variant=l[4]),f&160&&(m.disabled=l[5]||l[7]),f&8&&(m.id=l[3]+"-primary-button"),f&2053&&(m.$$scope={dirty:f,ctx:l}),a.$set(m);const c={};f&8&&(c.id=l[3]+"-menu-button"),f&2&&(c.label=l[1]),f&8&&(c.controls=l[3]+"-menu"),f&32&&(c.disabled=l[5]),t.$set(c);const d={};f&8&&(d.id=l[3]+"-menu"),f&64&&(d.position=l[6]),f&2048&&(d.$$scope={dirty:f,ctx:l}),o.$set(d)},i(l){_||(r(a.$$.fragment,l),r(t.$$.fragment,l),r(o.$$.fragment,l),_=!0)},o(l){b(a.$$.fragment,l),b(t.$$.fragment,l),b(o.$$.fragment,l),_=!1},d(l){l&&v(e),k(a),k(t),l&&v(i),k(o,l)}}}function ee(s){let e,a;return e=new Y({props:{class:s[8].class,$$slots:{default:[x]},$$scope:{ctx:s}}}),{c(){g(e.$$.fragment)},l(n){h(e.$$.fragment,n)},m(n,t){p(e,n,t),a=!0},p(n,[t]){const i={};t&256&&(i.class=n[8].class),t&2303&&(i.$$scope={dirty:t,ctx:n}),e.$set(i)},i(n){a||(r(e.$$.fragment,n),a=!0)},o(n){b(e.$$.fragment,n),a=!1},d(n){k(e,n)}}}function te(s,e,a){let{$$slots:n={},$$scope:t}=e,{label:i}=e,{menuLabel:o}=e,{icon:_=void 0}=e,{id:l}=e,{variant:f="primary"}=e,{disabled:m=!1}=e,{position:c="left"}=e,{primaryActionDisabled:d=!1}=e;function q(u){G.call(this,s,u)}return s.$$set=u=>{a(8,e=M(M({},e),A(u))),"label"in u&&a(0,i=u.label),"menuLabel"in u&&a(1,o=u.menuLabel),"icon"in u&&a(2,_=u.icon),"id"in u&&a(3,l=u.id),"variant"in u&&a(4,f=u.variant),"disabled"in u&&a(5,m=u.disabled),"position"in u&&a(6,c=u.position),"primaryActionDisabled"in u&&a(7,d=u.primaryActionDisabled),"$$scope"in u&&a(11,t=u.$$scope)},e=A(e),[i,o,_,l,f,m,c,d,e,n,q,t]}class se extends B{constructor(e){super(),C(this,e,te,ee,E,{label:0,menuLabel:1,icon:2,id:3,variant:4,disabled:5,position:6,primaryActionDisabled:7})}}export{se as S}; +import{S as B,b as C,a as E,C as g,D as h,E as p,j as r,g as b,F as k,N as M,U as A,m as N,c as L,p as V,q as j,d as I,k as v,u as z,f as D,L as F,V as G,w as H,x as J,z as R,h as U,y as K,G as O,H as P,I as Q,J as T}from"./index.09834243.js";import{B as W}from"./button.ce5dce2f.js";import{I as X}from"./icon.3cd9fa27.js";import{M as Y,a as Z,b as y}from"./menu.4ba49cb6.js";function S(s){let e,a;return e=new X({props:{name:s[2]}}),{c(){g(e.$$.fragment)},l(n){h(e.$$.fragment,n)},m(n,t){p(e,n,t),a=!0},p(n,t){const i={};t&4&&(i.name=n[2]),e.$set(i)},i(n){a||(r(e.$$.fragment,n),a=!0)},o(n){b(e.$$.fragment,n),a=!1},d(n){k(e,n)}}}function $(s){let e,a,n,t=s[2]&&S(s);return{c(){t&&t.c(),e=L(),a=H(s[0])},l(i){t&&t.l(i),e=I(i),a=J(i,s[0])},m(i,o){t&&t.m(i,o),D(i,e,o),D(i,a,o),n=!0},p(i,o){i[2]?t?(t.p(i,o),o&4&&r(t,1)):(t=S(i),t.c(),r(t,1),t.m(e.parentNode,e)):t&&(R(),b(t,1,1,()=>{t=null}),U()),(!n||o&1)&&K(a,i[0])},i(i){n||(r(t),n=!0)},o(i){b(t),n=!1},d(i){t&&t.d(i),i&&v(e),i&&v(a)}}}function w(s){let e;const a=s[9].default,n=O(a,s,s[11],null);return{c(){n&&n.c()},l(t){n&&n.l(t)},m(t,i){n&&n.m(t,i),e=!0},p(t,i){n&&n.p&&(!e||i&2048)&&P(n,a,t,t[11],e?T(a,t[11],i,null):Q(t[11]),null)},i(t){e||(r(n,t),e=!0)},o(t){b(n,t),e=!1},d(t){n&&n.d(t)}}}function x(s){let e,a,n,t,i,o,_;return a=new W({props:{variant:s[4],borderRadiusModifier:"square-right",disabled:s[5]||s[7],id:s[3]+"-primary-button",$$slots:{default:[$]},$$scope:{ctx:s}}}),a.$on("click",s[10]),t=new Z({props:{class:"max-w-fit grow-0",id:s[3]+"-menu-button",label:s[1],controls:s[3]+"-menu",variant:"primary",unroundLeft:!0,disabled:s[5],hasIndicator:!0}}),o=new y({props:{id:s[3]+"-menu",position:s[6],class:"w-full",$$slots:{default:[w]},$$scope:{ctx:s}}}),{c(){e=N("div"),g(a.$$.fragment),n=L(),g(t.$$.fragment),i=L(),g(o.$$.fragment),this.h()},l(l){e=V(l,"DIV",{class:!0});var f=j(e);h(a.$$.fragment,f),n=I(f),h(t.$$.fragment,f),f.forEach(v),i=I(l),h(o.$$.fragment,l),this.h()},h(){z(e,"class","split-button svelte-1pybp5c")},m(l,f){D(l,e,f),p(a,e,null),F(e,n),p(t,e,null),D(l,i,f),p(o,l,f),_=!0},p(l,f){const m={};f&16&&(m.variant=l[4]),f&160&&(m.disabled=l[5]||l[7]),f&8&&(m.id=l[3]+"-primary-button"),f&2053&&(m.$$scope={dirty:f,ctx:l}),a.$set(m);const c={};f&8&&(c.id=l[3]+"-menu-button"),f&2&&(c.label=l[1]),f&8&&(c.controls=l[3]+"-menu"),f&32&&(c.disabled=l[5]),t.$set(c);const d={};f&8&&(d.id=l[3]+"-menu"),f&64&&(d.position=l[6]),f&2048&&(d.$$scope={dirty:f,ctx:l}),o.$set(d)},i(l){_||(r(a.$$.fragment,l),r(t.$$.fragment,l),r(o.$$.fragment,l),_=!0)},o(l){b(a.$$.fragment,l),b(t.$$.fragment,l),b(o.$$.fragment,l),_=!1},d(l){l&&v(e),k(a),k(t),l&&v(i),k(o,l)}}}function ee(s){let e,a;return e=new Y({props:{class:s[8].class,$$slots:{default:[x]},$$scope:{ctx:s}}}),{c(){g(e.$$.fragment)},l(n){h(e.$$.fragment,n)},m(n,t){p(e,n,t),a=!0},p(n,[t]){const i={};t&256&&(i.class=n[8].class),t&2303&&(i.$$scope={dirty:t,ctx:n}),e.$set(i)},i(n){a||(r(e.$$.fragment,n),a=!0)},o(n){b(e.$$.fragment,n),a=!1},d(n){k(e,n)}}}function te(s,e,a){let{$$slots:n={},$$scope:t}=e,{label:i}=e,{menuLabel:o}=e,{icon:_=void 0}=e,{id:l}=e,{variant:f="primary"}=e,{disabled:m=!1}=e,{position:c="left"}=e,{primaryActionDisabled:d=!1}=e;function q(u){G.call(this,s,u)}return s.$$set=u=>{a(8,e=M(M({},e),A(u))),"label"in u&&a(0,i=u.label),"menuLabel"in u&&a(1,o=u.menuLabel),"icon"in u&&a(2,_=u.icon),"id"in u&&a(3,l=u.id),"variant"in u&&a(4,f=u.variant),"disabled"in u&&a(5,m=u.disabled),"position"in u&&a(6,c=u.position),"primaryActionDisabled"in u&&a(7,d=u.primaryActionDisabled),"$$scope"in u&&a(11,t=u.$$scope)},e=A(e),[i,o,_,l,f,m,c,d,e,n,q,t]}class se extends B{constructor(e){super(),C(this,e,te,ee,E,{label:0,menuLabel:1,icon:2,id:3,variant:4,disabled:5,position:6,primaryActionDisabled:7})}}export{se as S}; diff --git a/ui/assets/local/_app/immutable/chunks/stores.9d4a2bb0.js b/ui/assets/local/_app/immutable/chunks/stores.cd833532.js similarity index 69% rename from ui/assets/local/_app/immutable/chunks/stores.9d4a2bb0.js rename to ui/assets/local/_app/immutable/chunks/stores.cd833532.js index 7a94ac3704..0133e39539 100644 --- a/ui/assets/local/_app/immutable/chunks/stores.9d4a2bb0.js +++ b/ui/assets/local/_app/immutable/chunks/stores.cd833532.js @@ -1 +1 @@ -import"./index.09834243.js";import{s as t}from"./singletons.aae8f11e.js";const r=()=>{const s=t;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},u={subscribe(s){return r().page.subscribe(s)}},c={subscribe(s){const e=r().updated;return c.check=e.check,e.subscribe(s)},check:()=>{throw new Error("Cannot check updated store before subscribing")}};export{u as p,c as u}; +import"./index.09834243.js";import{s as t}from"./singletons.741208bb.js";const r=()=>{const s=t;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},u={subscribe(s){return r().page.subscribe(s)}},c={subscribe(s){const e=r().updated;return c.check=e.check,e.subscribe(s)},check:()=>{throw new Error("Cannot check updated store before subscribing")}};export{u as p,c as u}; diff --git a/ui/assets/local/_app/immutable/chunks/tab.54c1ef65.js b/ui/assets/local/_app/immutable/chunks/tab.25c1b914.js similarity index 98% rename from ui/assets/local/_app/immutable/chunks/tab.54c1ef65.js rename to ui/assets/local/_app/immutable/chunks/tab.25c1b914.js index 153dfc8cc9..bb8cbf37b3 100644 --- a/ui/assets/local/_app/immutable/chunks/tab.54c1ef65.js +++ b/ui/assets/local/_app/immutable/chunks/tab.25c1b914.js @@ -1 +1 @@ -import{S as E,b as S,a as P,G as q,N as h,m as A,p as L,q as U,k as g,O as T,P as v,f as N,H as V,I as j,J as B,R as G,j as z,g as O,T as k,U as I,ae as Z,a6 as J,e as K,af as y,K as p,w,c as x,x as $,d as ee,ai as Q,L as R,Q as te,y as le,n as se}from"./index.09834243.js";import{c as ae}from"./parse-with-big-int.b38462f3.js";import{w as F}from"./singletons.aae8f11e.js";function ie(s){let e,a,o;const t=s[4].default,i=q(t,s,s[3],null);let f=[{class:a="tab-list "+s[1]},{role:"tablist"},{"aria-label":s[0]},s[2]],n={};for(let l=0;l{e=h(h({},e),I(r)),a(2,t=k(e,o)),"label"in r&&a(0,n=r.label),"class"in r&&a(1,l=r.class),"$$scope"in r&&a(3,f=r.$$scope)},[n,l,t,f,i]}class be extends E{constructor(e){super(),S(this,e,ne,ie,P,{label:0,class:1})}}function ue(s){let e,a;const o=s[2].default,t=q(o,s,s[1],null);let i=[{class:"tabs"},s[0]],f={};for(let n=0;n{n.push(c),r.update(_=>_||c),J(()=>{const _=n.indexOf(c);n.splice(_,1),r.update(u=>u===c?n[_]||n[n.length-1]:u)})},registerPanel:c=>{l.push(c),d.update(_=>_||c),J(()=>{const _=l.indexOf(c);l.splice(_,1),d.update(u=>u===c?l[_]||l[l.length-1]:u)})},selectTab:c=>{const _=n.indexOf(c);r.set(c),d.set(l[_])},activeTab:r,activePanel:d}),s.$$set=c=>{e=h(h({},e),I(c)),a(0,t=k(e,o)),"$$scope"in c&&a(1,f=c.$$scope)},[t,f,i]}class me extends E{constructor(e){super(),S(this,e,fe,ue,P,{})}}function D(s){let e,a,o,t,i,f,n,l;const r=s[14].default,d=q(r,s,s[13],null);let c=[{role:"tab"},{class:"tab"},{"aria-selected":s[5]},{"aria-controls":s[3]},{tabindex:t=s[5]?0:-1},{id:s[1]},{href:s[2]},{"data-testid":i=s[1]??s[8]["data-testid"]},s[9]],_={};for(let u=0;ua(12,f=m)),W(d);const Y=()=>{X(d),C&&C()};return s.$$set=m=>{a(8,e=h(h({},e),I(m))),a(9,i=k(e,t)),"label"in m&&a(0,r=m.label),"id"in m&&a(1,d=m.id),"href"in m&&a(2,c=m.href),"panelId"in m&&a(3,_=m.panelId),"disabled"in m&&a(4,u=m.disabled),"active"in m&&a(10,b=m.active),"onClick"in m&&a(11,C=m.onClick),"$$scope"in m&&a(13,l=m.$$scope)},s.$$.update=()=>{s.$$.dirty&5122&&a(5,o=ae(b)?f===d:b)},e=I(e),[r,d,c,_,u,o,H,Y,e,i,b,C,f,l,n]}class he extends E{constructor(e){super(),S(this,e,re,oe,P,{label:0,id:1,href:2,panelId:3,disabled:4,active:10,onClick:11})}}export{me as T,be as a,he as b,M as c}; +import{S as E,b as S,a as P,G as q,N as h,m as A,p as L,q as U,k as g,O as T,P as v,f as N,H as V,I as j,J as B,R as G,j as z,g as O,T as k,U as I,ae as Z,a6 as J,e as K,af as y,K as p,w,c as x,x as $,d as ee,ai as Q,L as R,Q as te,y as le,n as se}from"./index.09834243.js";import{c as ae}from"./parse-with-big-int.b38462f3.js";import{w as F}from"./singletons.741208bb.js";function ie(s){let e,a,o;const t=s[4].default,i=q(t,s,s[3],null);let f=[{class:a="tab-list "+s[1]},{role:"tablist"},{"aria-label":s[0]},s[2]],n={};for(let l=0;l{e=h(h({},e),I(r)),a(2,t=k(e,o)),"label"in r&&a(0,n=r.label),"class"in r&&a(1,l=r.class),"$$scope"in r&&a(3,f=r.$$scope)},[n,l,t,f,i]}class be extends E{constructor(e){super(),S(this,e,ne,ie,P,{label:0,class:1})}}function ue(s){let e,a;const o=s[2].default,t=q(o,s,s[1],null);let i=[{class:"tabs"},s[0]],f={};for(let n=0;n{n.push(c),r.update(_=>_||c),J(()=>{const _=n.indexOf(c);n.splice(_,1),r.update(u=>u===c?n[_]||n[n.length-1]:u)})},registerPanel:c=>{l.push(c),d.update(_=>_||c),J(()=>{const _=l.indexOf(c);l.splice(_,1),d.update(u=>u===c?l[_]||l[l.length-1]:u)})},selectTab:c=>{const _=n.indexOf(c);r.set(c),d.set(l[_])},activeTab:r,activePanel:d}),s.$$set=c=>{e=h(h({},e),I(c)),a(0,t=k(e,o)),"$$scope"in c&&a(1,f=c.$$scope)},[t,f,i]}class me extends E{constructor(e){super(),S(this,e,fe,ue,P,{})}}function D(s){let e,a,o,t,i,f,n,l;const r=s[14].default,d=q(r,s,s[13],null);let c=[{role:"tab"},{class:"tab"},{"aria-selected":s[5]},{"aria-controls":s[3]},{tabindex:t=s[5]?0:-1},{id:s[1]},{href:s[2]},{"data-testid":i=s[1]??s[8]["data-testid"]},s[9]],_={};for(let u=0;ua(12,f=m)),W(d);const Y=()=>{X(d),C&&C()};return s.$$set=m=>{a(8,e=h(h({},e),I(m))),a(9,i=k(e,t)),"label"in m&&a(0,r=m.label),"id"in m&&a(1,d=m.id),"href"in m&&a(2,c=m.href),"panelId"in m&&a(3,_=m.panelId),"disabled"in m&&a(4,u=m.disabled),"active"in m&&a(10,b=m.active),"onClick"in m&&a(11,C=m.onClick),"$$scope"in m&&a(13,l=m.$$scope)},s.$$.update=()=>{s.$$.dirty&5122&&a(5,o=ae(b)?f===d:b)},e=I(e),[r,d,c,_,u,o,H,Y,e,i,b,C,f,l,n]}class he extends E{constructor(e){super(),S(this,e,re,oe,P,{label:0,id:1,href:2,panelId:3,disabled:4,active:10,onClick:11})}}export{me as T,be as a,he as b,M as c}; diff --git a/ui/assets/local/_app/immutable/chunks/toaster.d089c03c.js b/ui/assets/local/_app/immutable/chunks/toaster.a0b7d8ad.js similarity index 94% rename from ui/assets/local/_app/immutable/chunks/toaster.d089c03c.js rename to ui/assets/local/_app/immutable/chunks/toaster.a0b7d8ad.js index a662ca4c4e..1f4b9696ba 100644 --- a/ui/assets/local/_app/immutable/chunks/toaster.d089c03c.js +++ b/ui/assets/local/_app/immutable/chunks/toaster.a0b7d8ad.js @@ -1 +1 @@ -import{w as p}from"./singletons.aae8f11e.js";let c;const s=new Uint8Array(16);function m(){if(!c&&(c=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!c))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return c(s)}const e=[];for(let t=0;t<256;++t)e.push((t+256).toString(16).slice(1));function y(t,n=0){return(e[t[n+0]]+e[t[n+1]]+e[t[n+2]]+e[t[n+3]]+"-"+e[t[n+4]]+e[t[n+5]]+"-"+e[t[n+6]]+e[t[n+7]]+"-"+e[t[n+8]]+e[t[n+9]]+"-"+e[t[n+10]]+e[t[n+11]]+e[t[n+12]]+e[t[n+13]]+e[t[n+14]]+e[t[n+15]]).toLowerCase()}const l=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),r={randomUUID:l};function U(t,n,i){if(r.randomUUID&&!n&&!t)return r.randomUUID();t=t||{};const o=t.random||(t.rng||m)();if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,n){i=i||0;for(let d=0;d<16;++d)n[i+d]=o[d];return n}return y(o)}const u=p([]),g=t=>{const n={id:U(),duration:3e3,variant:"primary",...t};u.update(o=>[...o,n]);const i=setTimeout(()=>{a(n.id),clearTimeout(i)},n.duration)},a=t=>{u.update(n=>n.filter(i=>i.id!==t))},x=()=>{u.set([])},h={push:g,pop:a,clear:x,toasts:u,set:u.set,subscribe:u.subscribe,update:u.update};export{h as t,U as v}; +import{w as p}from"./singletons.741208bb.js";let c;const s=new Uint8Array(16);function m(){if(!c&&(c=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!c))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return c(s)}const e=[];for(let t=0;t<256;++t)e.push((t+256).toString(16).slice(1));function y(t,n=0){return(e[t[n+0]]+e[t[n+1]]+e[t[n+2]]+e[t[n+3]]+"-"+e[t[n+4]]+e[t[n+5]]+"-"+e[t[n+6]]+e[t[n+7]]+"-"+e[t[n+8]]+e[t[n+9]]+"-"+e[t[n+10]]+e[t[n+11]]+e[t[n+12]]+e[t[n+13]]+e[t[n+14]]+e[t[n+15]]).toLowerCase()}const l=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),r={randomUUID:l};function U(t,n,i){if(r.randomUUID&&!n&&!t)return r.randomUUID();t=t||{};const o=t.random||(t.rng||m)();if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,n){i=i||0;for(let d=0;d<16;++d)n[i+d]=o[d];return n}return y(o)}const u=p([]),g=t=>{const n={id:U(),duration:3e3,variant:"primary",...t};u.update(o=>[...o,n]);const i=setTimeout(()=>{a(n.id),clearTimeout(i)},n.duration)},a=t=>{u.update(n=>n.filter(i=>i.id!==t))},x=()=>{u.set([])},h={push:g,pop:a,clear:x,toasts:u,set:u.set,subscribe:u.subscribe,update:u.update};export{h as t,U as v}; diff --git a/ui/assets/local/_app/immutable/chunks/toggle-buttons.c3213cc2.js b/ui/assets/local/_app/immutable/chunks/toggle-buttons.d3e32817.js similarity index 98% rename from ui/assets/local/_app/immutable/chunks/toggle-buttons.c3213cc2.js rename to ui/assets/local/_app/immutable/chunks/toggle-buttons.d3e32817.js index 2365b074b5..839ae707d6 100644 --- a/ui/assets/local/_app/immutable/chunks/toggle-buttons.c3213cc2.js +++ b/ui/assets/local/_app/immutable/chunks/toggle-buttons.d3e32817.js @@ -1 +1 @@ -import{af as J,S as G,b as H,a as P,e as U,f as E,j as g,g as b,k as h,T as j,K,N as T,U as L,m as k,p as C,q as y,ai as z,O as B,P as d,Q as O,z as Q,h as R,R as M,V as W,G as S,H as V,I as q,J as A,C as X,c as Y,D as Z,d as w,u as D,E as $,L as F,F as x,ae as ee}from"./index.09834243.js";import{p as te}from"./stores.9d4a2bb0.js";import{I as le}from"./icon.3cd9fa27.js";function se(n){return J(n)}function ne(n){let e;const s=n[9].default,a=S(s,n,n[8],null);return{c(){a&&a.c()},l(t){a&&a.l(t)},m(t,l){a&&a.m(t,l),e=!0},p(t,l){a&&a.p&&(!e||l&256)&&V(a,s,t,t[8],e?A(s,t[8],l,null):q(t[8]),null)},i(t){e||(g(a,t),e=!0)},o(t){b(a,t),e=!1},d(t){a&&a.d(t)}}}function ae(n){let e,s,a,t,l;s=new le({props:{name:n[1]}});const r=n[9].default,f=S(r,n,n[8],null);return{c(){e=k("div"),X(s.$$.fragment),a=Y(),t=k("span"),f&&f.c(),this.h()},l(i){e=C(i,"DIV",{class:!0});var c=y(e);Z(s.$$.fragment,c),a=w(c),t=C(c,"SPAN",{class:!0});var _=y(t);f&&f.l(_),_.forEach(h),c.forEach(h),this.h()},h(){D(t,"class","hidden md:block"),D(e,"class","flex items-center gap-2")},m(i,c){E(i,e,c),$(s,e,null),F(e,a),F(e,t),f&&f.m(t,null),l=!0},p(i,c){const _={};c&2&&(_.name=i[1]),s.$set(_),f&&f.p&&(!l||c&256)&&V(f,r,i,i[8],l?A(r,i[8],c,null):q(i[8]),null)},i(i){l||(g(s.$$.fragment,i),g(f,i),l=!0)},o(i){b(s.$$.fragment,i),b(f,i),l=!1},d(i){i&&h(e),x(s),f&&f.d(i)}}}function N(n){let e,s,a,t,l,r,f,i;const c=[ae,ne],_=[];function p(o,u){return o[1]?0:1}s=p(n),a=_[s]=c[s](n);let v=[{class:t="toggle-button "+n[0]},{href:l=n[3]?n[3]+n[6].url.search:null},{role:"button"},{tabindex:"0"},n[7]],m={};for(let o=0;o{_[I]=null}),R(),a=_[s],a?a.p(o,u):(a=_[s]=c[s](o),a.c()),g(a,1),a.m(e,null)),m=M(v,[(!r||u&1&&t!==(t="toggle-button "+o[0]))&&{class:t},(!r||u&72&&l!==(l=o[3]?o[3]+o[6].url.search:null))&&{href:l},{role:"button"},{tabindex:"0"},u&128&&o[7]]),/-/.test(o[3]?"a":"button")?z(e,m):B(e,m),d(e,"group",o[2]),d(e,"active",o[3]?o[6].url.pathname.includes(o[4]):o[5]),d(e,"rounded-lg",!o[2]),d(e,"svelte-1yudo3l",!0)},i(o){r||(g(a),r=!0)},o(o){b(a),r=!1},d(o){o&&h(e),_[s].d(),f=!1,i()}}}function oe(n){let e=n[3]?"a":"button",s,a,t=(n[3]?"a":"button")&&N(n);return{c(){t&&t.c(),s=U()},l(l){t&&t.l(l),s=U()},m(l,r){t&&t.m(l,r),E(l,s,r),a=!0},p(l,[r]){l[3],e?P(e,l[3]?"a":"button")?(t.d(1),t=N(l),t.c(),t.m(s.parentNode,s)):t.p(l,r):(t=N(l),t.c(),t.m(s.parentNode,s)),e=l[3]?"a":"button"},i(l){a||(g(t),a=!0)},o(l){b(t),a=!1},d(l){l&&h(s),t&&t.d(l)}}}function ue(n,e,s){const a=["class","icon","group","href","base","active"];let t=j(e,a),l;K(n,te,u=>s(6,l=u));let{$$slots:r={},$$scope:f}=e,{class:i=""}=e,{icon:c=null}=e,{group:_=se("group")}=e,{href:p=""}=e,{base:v=p}=e,{active:m=!1}=e;function o(u){W.call(this,n,u)}return n.$$set=u=>{e=T(T({},e),L(u)),s(7,t=j(e,a)),"class"in u&&s(0,i=u.class),"icon"in u&&s(1,c=u.icon),"group"in u&&s(2,_=u.group),"href"in u&&s(3,p=u.href),"base"in u&&s(4,v=u.base),"active"in u&&s(5,m=u.active),"$$scope"in u&&s(8,f=u.$$scope)},[i,c,_,p,v,m,l,t,f,r,o]}class me extends G{constructor(e){super(),H(this,e,ue,oe,P,{class:0,icon:1,group:2,href:3,base:4,active:5})}}function re(n){let e,s;const a=n[1].default,t=S(a,n,n[0],null);return{c(){e=k("div"),t&&t.c(),this.h()},l(l){e=C(l,"DIV",{class:!0});var r=y(e);t&&t.l(r),r.forEach(h),this.h()},h(){D(e,"class","flex")},m(l,r){E(l,e,r),t&&t.m(e,null),s=!0},p(l,[r]){t&&t.p&&(!s||r&1)&&V(t,a,l,l[0],s?A(a,l[0],r,null):q(l[0]),null)},i(l){s||(g(t,l),s=!0)},o(l){b(t,l),s=!1},d(l){l&&h(e),t&&t.d(l)}}}function ie(n,e,s){let{$$slots:a={},$$scope:t}=e;return ee("group",!0),n.$$set=l=>{"$$scope"in l&&s(0,t=l.$$scope)},[t,a]}class de extends G{constructor(e){super(),H(this,e,ie,re,P,{})}}export{de as T,me as a}; +import{af as J,S as G,b as H,a as P,e as U,f as E,j as g,g as b,k as h,T as j,K,N as T,U as L,m as k,p as C,q as y,ai as z,O as B,P as d,Q as O,z as Q,h as R,R as M,V as W,G as S,H as V,I as q,J as A,C as X,c as Y,D as Z,d as w,u as D,E as $,L as F,F as x,ae as ee}from"./index.09834243.js";import{p as te}from"./stores.cd833532.js";import{I as le}from"./icon.3cd9fa27.js";function se(n){return J(n)}function ne(n){let e;const s=n[9].default,a=S(s,n,n[8],null);return{c(){a&&a.c()},l(t){a&&a.l(t)},m(t,l){a&&a.m(t,l),e=!0},p(t,l){a&&a.p&&(!e||l&256)&&V(a,s,t,t[8],e?A(s,t[8],l,null):q(t[8]),null)},i(t){e||(g(a,t),e=!0)},o(t){b(a,t),e=!1},d(t){a&&a.d(t)}}}function ae(n){let e,s,a,t,l;s=new le({props:{name:n[1]}});const r=n[9].default,f=S(r,n,n[8],null);return{c(){e=k("div"),X(s.$$.fragment),a=Y(),t=k("span"),f&&f.c(),this.h()},l(i){e=C(i,"DIV",{class:!0});var c=y(e);Z(s.$$.fragment,c),a=w(c),t=C(c,"SPAN",{class:!0});var _=y(t);f&&f.l(_),_.forEach(h),c.forEach(h),this.h()},h(){D(t,"class","hidden md:block"),D(e,"class","flex items-center gap-2")},m(i,c){E(i,e,c),$(s,e,null),F(e,a),F(e,t),f&&f.m(t,null),l=!0},p(i,c){const _={};c&2&&(_.name=i[1]),s.$set(_),f&&f.p&&(!l||c&256)&&V(f,r,i,i[8],l?A(r,i[8],c,null):q(i[8]),null)},i(i){l||(g(s.$$.fragment,i),g(f,i),l=!0)},o(i){b(s.$$.fragment,i),b(f,i),l=!1},d(i){i&&h(e),x(s),f&&f.d(i)}}}function N(n){let e,s,a,t,l,r,f,i;const c=[ae,ne],_=[];function p(o,u){return o[1]?0:1}s=p(n),a=_[s]=c[s](n);let v=[{class:t="toggle-button "+n[0]},{href:l=n[3]?n[3]+n[6].url.search:null},{role:"button"},{tabindex:"0"},n[7]],m={};for(let o=0;o{_[I]=null}),R(),a=_[s],a?a.p(o,u):(a=_[s]=c[s](o),a.c()),g(a,1),a.m(e,null)),m=M(v,[(!r||u&1&&t!==(t="toggle-button "+o[0]))&&{class:t},(!r||u&72&&l!==(l=o[3]?o[3]+o[6].url.search:null))&&{href:l},{role:"button"},{tabindex:"0"},u&128&&o[7]]),/-/.test(o[3]?"a":"button")?z(e,m):B(e,m),d(e,"group",o[2]),d(e,"active",o[3]?o[6].url.pathname.includes(o[4]):o[5]),d(e,"rounded-lg",!o[2]),d(e,"svelte-1yudo3l",!0)},i(o){r||(g(a),r=!0)},o(o){b(a),r=!1},d(o){o&&h(e),_[s].d(),f=!1,i()}}}function oe(n){let e=n[3]?"a":"button",s,a,t=(n[3]?"a":"button")&&N(n);return{c(){t&&t.c(),s=U()},l(l){t&&t.l(l),s=U()},m(l,r){t&&t.m(l,r),E(l,s,r),a=!0},p(l,[r]){l[3],e?P(e,l[3]?"a":"button")?(t.d(1),t=N(l),t.c(),t.m(s.parentNode,s)):t.p(l,r):(t=N(l),t.c(),t.m(s.parentNode,s)),e=l[3]?"a":"button"},i(l){a||(g(t),a=!0)},o(l){b(t),a=!1},d(l){l&&h(s),t&&t.d(l)}}}function ue(n,e,s){const a=["class","icon","group","href","base","active"];let t=j(e,a),l;K(n,te,u=>s(6,l=u));let{$$slots:r={},$$scope:f}=e,{class:i=""}=e,{icon:c=null}=e,{group:_=se("group")}=e,{href:p=""}=e,{base:v=p}=e,{active:m=!1}=e;function o(u){W.call(this,n,u)}return n.$$set=u=>{e=T(T({},e),L(u)),s(7,t=j(e,a)),"class"in u&&s(0,i=u.class),"icon"in u&&s(1,c=u.icon),"group"in u&&s(2,_=u.group),"href"in u&&s(3,p=u.href),"base"in u&&s(4,v=u.base),"active"in u&&s(5,m=u.active),"$$scope"in u&&s(8,f=u.$$scope)},[i,c,_,p,v,m,l,t,f,r,o]}class me extends G{constructor(e){super(),H(this,e,ue,oe,P,{class:0,icon:1,group:2,href:3,base:4,active:5})}}function re(n){let e,s;const a=n[1].default,t=S(a,n,n[0],null);return{c(){e=k("div"),t&&t.c(),this.h()},l(l){e=C(l,"DIV",{class:!0});var r=y(e);t&&t.l(r),r.forEach(h),this.h()},h(){D(e,"class","flex")},m(l,r){E(l,e,r),t&&t.m(e,null),s=!0},p(l,[r]){t&&t.p&&(!s||r&1)&&V(t,a,l,l[0],s?A(a,l[0],r,null):q(l[0]),null)},i(l){s||(g(t,l),s=!0)},o(l){b(t,l),s=!1},d(l){l&&h(e),t&&t.d(l)}}}function ie(n,e,s){let{$$slots:a={},$$scope:t}=e;return ee("group",!0),n.$$set=l=>{"$$scope"in l&&s(0,t=l.$$scope)},[t,a]}class de extends G{constructor(e){super(),H(this,e,ie,re,P,{})}}export{de as T,me as a}; diff --git a/ui/assets/local/_app/immutable/chunks/tooltip.6cc63041.js b/ui/assets/local/_app/immutable/chunks/tooltip.9802d6e3.js similarity index 98% rename from ui/assets/local/_app/immutable/chunks/tooltip.6cc63041.js rename to ui/assets/local/_app/immutable/chunks/tooltip.9802d6e3.js index 2283087cdd..efed2a7237 100644 --- a/ui/assets/local/_app/immutable/chunks/tooltip.6cc63041.js +++ b/ui/assets/local/_app/immutable/chunks/tooltip.9802d6e3.js @@ -1 +1 @@ -import{S as X,b as Y,a as Z,e as F,f as q,z as C,g as b,h as D,j as h,k as w,G as J,m as L,c as x,p as R,q as S,d as $,u as y,P as m,L as E,H as B,I as K,J as M,w as O,x as Q,y as U,C as N,D as A,E as P,F as V}from"./index.09834243.js";import{C as ee}from"./index.fcfd418a.js";import{I as W}from"./icon.3cd9fa27.js";function te(o){let t,i,e,l,n,f,d,r,c;const k=o[16].default,_=J(k,o,o[17],null),I=[ne,ie],g=[];function T(s,u){return s[11]?0:1}return n=T(o),f=g[n]=I[n](o),{c(){t=L("div"),_&&_.c(),i=x(),e=L("div"),l=L("div"),f.c(),this.h()},l(s){t=R(s,"DIV",{class:!0});var u=S(t);_&&_.l(u),i=$(u),e=R(u,"DIV",{class:!0,style:!0});var p=S(e);l=R(p,"DIV",{class:!0});var v=S(l);f.l(v),v.forEach(w),p.forEach(w),u.forEach(w),this.h()},h(){y(l,"class","inline-block rounded-lg bg-gray-800 px-2 py-2"),y(e,"class","tooltip svelte-uxq741"),y(e,"style",d=o[13]?`white-space: pre-wrap; width: ${o[13]}px;`:null),m(e,"left",o[9]),m(e,"right",o[5]),m(e,"bottom",o[6]),m(e,"bottomLeft",o[7]),m(e,"bottomRight",o[8]),m(e,"top",o[3]),m(e,"topRight",o[4]),m(e,"topLeft",o[10]),y(t,"class",r="wrapper relative inline-block "+o[0]+" svelte-uxq741")},m(s,u){q(s,t,u),_&&_.m(t,null),E(t,i),E(t,e),E(e,l),g[n].m(l,null),c=!0},p(s,u){_&&_.p&&(!c||u&131072)&&B(_,k,s,s[17],c?M(k,s[17],u,null):K(s[17]),null);let p=n;n=T(s),n===p?g[n].p(s,u):(C(),b(g[p],1,1,()=>{g[p]=null}),D(),f=g[n],f?f.p(s,u):(f=g[n]=I[n](s),f.c()),h(f,1),f.m(l,null)),(!c||u&8192&&d!==(d=s[13]?`white-space: pre-wrap; width: ${s[13]}px;`:null))&&y(e,"style",d),(!c||u&512)&&m(e,"left",s[9]),(!c||u&32)&&m(e,"right",s[5]),(!c||u&64)&&m(e,"bottom",s[6]),(!c||u&128)&&m(e,"bottomLeft",s[7]),(!c||u&256)&&m(e,"bottomRight",s[8]),(!c||u&8)&&m(e,"top",s[3]),(!c||u&16)&&m(e,"topRight",s[4]),(!c||u&1024)&&m(e,"topLeft",s[10]),(!c||u&1&&r!==(r="wrapper relative inline-block "+s[0]+" svelte-uxq741"))&&y(t,"class",r)},i(s){c||(h(_,s),h(f),c=!0)},o(s){b(_,s),b(f),c=!1},d(s){s&&w(t),_&&_.d(s),g[n].d()}}}function le(o){let t;const i=o[16].default,e=J(i,o,o[17],null);return{c(){e&&e.c()},l(l){e&&e.l(l)},m(l,n){e&&e.m(l,n),t=!0},p(l,n){e&&e.p&&(!t||n&131072)&&B(e,i,l,l[17],t?M(i,l[17],n,null):K(l[17]),null)},i(l){t||(h(e,l),t=!0)},o(l){b(e,l),t=!1},d(l){e&&e.d(l)}}}function ie(o){let t,i,e,l=o[2]&&G(o);return{c(){t=L("span"),l&&l.c(),i=O(o[1]),this.h()},l(n){t=R(n,"SPAN",{class:!0});var f=S(t);l&&l.l(f),i=Q(f,o[1]),f.forEach(w),this.h()},h(){y(t,"class","flex gap-2 text-gray-100")},m(n,f){q(n,t,f),l&&l.m(t,null),E(t,i),e=!0},p(n,f){n[2]?l?(l.p(n,f),f&4&&h(l,1)):(l=G(n),l.c(),h(l,1),l.m(t,i)):l&&(C(),b(l,1,1,()=>{l=null}),D()),(!e||f&2)&&U(i,n[1])},i(n){e||(h(l),e=!0)},o(n){b(l),e=!1},d(n){n&&w(t),l&&l.d()}}}function ne(o){let t,i;return t=new ee({props:{copySuccessIconTitle:o[15],copyIconTitle:o[14],clickAllToCopy:!0,content:o[1],"container-class":"text-white",visible:!0,$$slots:{default:[oe]},$$scope:{ctx:o}}}),{c(){N(t.$$.fragment)},l(e){A(t.$$.fragment,e)},m(e,l){P(t,e,l),i=!0},p(e,l){const n={};l&32768&&(n.copySuccessIconTitle=e[15]),l&16384&&(n.copyIconTitle=e[14]),l&2&&(n.content=e[1]),l&131078&&(n.$$scope={dirty:l,ctx:e}),t.$set(n)},i(e){i||(h(t.$$.fragment,e),i=!0)},o(e){b(t.$$.fragment,e),i=!1},d(e){V(t,e)}}}function G(o){let t,i;return t=new W({props:{name:o[2],class:"inline h-4 text-white"}}),{c(){N(t.$$.fragment)},l(e){A(t.$$.fragment,e)},m(e,l){P(t,e,l),i=!0},p(e,l){const n={};l&4&&(n.name=e[2]),t.$set(n)},i(e){i||(h(t.$$.fragment,e),i=!0)},o(e){b(t.$$.fragment,e),i=!1},d(e){V(t,e)}}}function H(o){let t,i;return t=new W({props:{name:o[2],class:"inline h-4 text-white"}}),{c(){N(t.$$.fragment)},l(e){A(t.$$.fragment,e)},m(e,l){P(t,e,l),i=!0},p(e,l){const n={};l&4&&(n.name=e[2]),t.$set(n)},i(e){i||(h(t.$$.fragment,e),i=!0)},o(e){b(t.$$.fragment,e),i=!1},d(e){V(t,e)}}}function oe(o){let t,i,e,l=o[2]&&H(o);return{c(){t=L("span"),l&&l.c(),i=O(o[1]),this.h()},l(n){t=R(n,"SPAN",{class:!0});var f=S(t);l&&l.l(f),i=Q(f,o[1]),f.forEach(w),this.h()},h(){y(t,"class","text-gray-100")},m(n,f){q(n,t,f),l&&l.m(t,null),E(t,i),e=!0},p(n,f){n[2]?l?(l.p(n,f),f&4&&h(l,1)):(l=H(n),l.c(),h(l,1),l.m(t,i)):l&&(C(),b(l,1,1,()=>{l=null}),D()),(!e||f&2)&&U(i,n[1])},i(n){e||(h(l),e=!0)},o(n){b(l),e=!1},d(n){n&&w(t),l&&l.d()}}}function fe(o){let t,i,e,l;const n=[le,te],f=[];function d(r,c){return r[12]?0:1}return t=d(o),i=f[t]=n[t](o),{c(){i.c(),e=F()},l(r){i.l(r),e=F()},m(r,c){f[t].m(r,c),q(r,e,c),l=!0},p(r,[c]){let k=t;t=d(r),t===k?f[t].p(r,c):(C(),b(f[k],1,1,()=>{f[k]=null}),D(),i=f[t],i?i.p(r,c):(i=f[t]=n[t](r),i.c()),h(i,1),i.m(e.parentNode,e))},i(r){l||(h(i),l=!0)},o(r){b(i),l=!1},d(r){f[t].d(r),r&&w(e)}}}function se(o,t,i){let{$$slots:e={},$$scope:l}=t,{class:n=""}=t,{text:f=""}=t,{icon:d=null}=t,{top:r=!1}=t,{topRight:c=!1}=t,{right:k=!1}=t,{bottom:_=!1}=t,{bottomLeft:I=!1}=t,{bottomRight:g=!1}=t,{left:T=!1}=t,{topLeft:s=!1}=t,{copyable:u=!1}=t,{hide:p=!1}=t,{width:v=null}=t,{copyIconTitle:j=""}=t,{copySuccessIconTitle:z=""}=t;return o.$$set=a=>{"class"in a&&i(0,n=a.class),"text"in a&&i(1,f=a.text),"icon"in a&&i(2,d=a.icon),"top"in a&&i(3,r=a.top),"topRight"in a&&i(4,c=a.topRight),"right"in a&&i(5,k=a.right),"bottom"in a&&i(6,_=a.bottom),"bottomLeft"in a&&i(7,I=a.bottomLeft),"bottomRight"in a&&i(8,g=a.bottomRight),"left"in a&&i(9,T=a.left),"topLeft"in a&&i(10,s=a.topLeft),"copyable"in a&&i(11,u=a.copyable),"hide"in a&&i(12,p=a.hide),"width"in a&&i(13,v=a.width),"copyIconTitle"in a&&i(14,j=a.copyIconTitle),"copySuccessIconTitle"in a&&i(15,z=a.copySuccessIconTitle),"$$scope"in a&&i(17,l=a.$$scope)},[n,f,d,r,c,k,_,I,g,T,s,u,p,v,j,z,e,l]}class re extends X{constructor(t){super(),Y(this,t,se,fe,Z,{class:0,text:1,icon:2,top:3,topRight:4,right:5,bottom:6,bottomLeft:7,bottomRight:8,left:9,topLeft:10,copyable:11,hide:12,width:13,copyIconTitle:14,copySuccessIconTitle:15})}}export{re as T}; +import{S as X,b as Y,a as Z,e as F,f as q,z as C,g as b,h as D,j as h,k as w,G as J,m as L,c as x,p as R,q as S,d as $,u as y,P as m,L as E,H as B,I as K,J as M,w as O,x as Q,y as U,C as N,D as A,E as P,F as V}from"./index.09834243.js";import{C as ee}from"./index.a9a075c8.js";import{I as W}from"./icon.3cd9fa27.js";function te(o){let t,i,e,l,n,f,d,r,c;const k=o[16].default,_=J(k,o,o[17],null),I=[ne,ie],g=[];function T(s,u){return s[11]?0:1}return n=T(o),f=g[n]=I[n](o),{c(){t=L("div"),_&&_.c(),i=x(),e=L("div"),l=L("div"),f.c(),this.h()},l(s){t=R(s,"DIV",{class:!0});var u=S(t);_&&_.l(u),i=$(u),e=R(u,"DIV",{class:!0,style:!0});var p=S(e);l=R(p,"DIV",{class:!0});var v=S(l);f.l(v),v.forEach(w),p.forEach(w),u.forEach(w),this.h()},h(){y(l,"class","inline-block rounded-lg bg-gray-800 px-2 py-2"),y(e,"class","tooltip svelte-uxq741"),y(e,"style",d=o[13]?`white-space: pre-wrap; width: ${o[13]}px;`:null),m(e,"left",o[9]),m(e,"right",o[5]),m(e,"bottom",o[6]),m(e,"bottomLeft",o[7]),m(e,"bottomRight",o[8]),m(e,"top",o[3]),m(e,"topRight",o[4]),m(e,"topLeft",o[10]),y(t,"class",r="wrapper relative inline-block "+o[0]+" svelte-uxq741")},m(s,u){q(s,t,u),_&&_.m(t,null),E(t,i),E(t,e),E(e,l),g[n].m(l,null),c=!0},p(s,u){_&&_.p&&(!c||u&131072)&&B(_,k,s,s[17],c?M(k,s[17],u,null):K(s[17]),null);let p=n;n=T(s),n===p?g[n].p(s,u):(C(),b(g[p],1,1,()=>{g[p]=null}),D(),f=g[n],f?f.p(s,u):(f=g[n]=I[n](s),f.c()),h(f,1),f.m(l,null)),(!c||u&8192&&d!==(d=s[13]?`white-space: pre-wrap; width: ${s[13]}px;`:null))&&y(e,"style",d),(!c||u&512)&&m(e,"left",s[9]),(!c||u&32)&&m(e,"right",s[5]),(!c||u&64)&&m(e,"bottom",s[6]),(!c||u&128)&&m(e,"bottomLeft",s[7]),(!c||u&256)&&m(e,"bottomRight",s[8]),(!c||u&8)&&m(e,"top",s[3]),(!c||u&16)&&m(e,"topRight",s[4]),(!c||u&1024)&&m(e,"topLeft",s[10]),(!c||u&1&&r!==(r="wrapper relative inline-block "+s[0]+" svelte-uxq741"))&&y(t,"class",r)},i(s){c||(h(_,s),h(f),c=!0)},o(s){b(_,s),b(f),c=!1},d(s){s&&w(t),_&&_.d(s),g[n].d()}}}function le(o){let t;const i=o[16].default,e=J(i,o,o[17],null);return{c(){e&&e.c()},l(l){e&&e.l(l)},m(l,n){e&&e.m(l,n),t=!0},p(l,n){e&&e.p&&(!t||n&131072)&&B(e,i,l,l[17],t?M(i,l[17],n,null):K(l[17]),null)},i(l){t||(h(e,l),t=!0)},o(l){b(e,l),t=!1},d(l){e&&e.d(l)}}}function ie(o){let t,i,e,l=o[2]&&G(o);return{c(){t=L("span"),l&&l.c(),i=O(o[1]),this.h()},l(n){t=R(n,"SPAN",{class:!0});var f=S(t);l&&l.l(f),i=Q(f,o[1]),f.forEach(w),this.h()},h(){y(t,"class","flex gap-2 text-gray-100")},m(n,f){q(n,t,f),l&&l.m(t,null),E(t,i),e=!0},p(n,f){n[2]?l?(l.p(n,f),f&4&&h(l,1)):(l=G(n),l.c(),h(l,1),l.m(t,i)):l&&(C(),b(l,1,1,()=>{l=null}),D()),(!e||f&2)&&U(i,n[1])},i(n){e||(h(l),e=!0)},o(n){b(l),e=!1},d(n){n&&w(t),l&&l.d()}}}function ne(o){let t,i;return t=new ee({props:{copySuccessIconTitle:o[15],copyIconTitle:o[14],clickAllToCopy:!0,content:o[1],"container-class":"text-white",visible:!0,$$slots:{default:[oe]},$$scope:{ctx:o}}}),{c(){N(t.$$.fragment)},l(e){A(t.$$.fragment,e)},m(e,l){P(t,e,l),i=!0},p(e,l){const n={};l&32768&&(n.copySuccessIconTitle=e[15]),l&16384&&(n.copyIconTitle=e[14]),l&2&&(n.content=e[1]),l&131078&&(n.$$scope={dirty:l,ctx:e}),t.$set(n)},i(e){i||(h(t.$$.fragment,e),i=!0)},o(e){b(t.$$.fragment,e),i=!1},d(e){V(t,e)}}}function G(o){let t,i;return t=new W({props:{name:o[2],class:"inline h-4 text-white"}}),{c(){N(t.$$.fragment)},l(e){A(t.$$.fragment,e)},m(e,l){P(t,e,l),i=!0},p(e,l){const n={};l&4&&(n.name=e[2]),t.$set(n)},i(e){i||(h(t.$$.fragment,e),i=!0)},o(e){b(t.$$.fragment,e),i=!1},d(e){V(t,e)}}}function H(o){let t,i;return t=new W({props:{name:o[2],class:"inline h-4 text-white"}}),{c(){N(t.$$.fragment)},l(e){A(t.$$.fragment,e)},m(e,l){P(t,e,l),i=!0},p(e,l){const n={};l&4&&(n.name=e[2]),t.$set(n)},i(e){i||(h(t.$$.fragment,e),i=!0)},o(e){b(t.$$.fragment,e),i=!1},d(e){V(t,e)}}}function oe(o){let t,i,e,l=o[2]&&H(o);return{c(){t=L("span"),l&&l.c(),i=O(o[1]),this.h()},l(n){t=R(n,"SPAN",{class:!0});var f=S(t);l&&l.l(f),i=Q(f,o[1]),f.forEach(w),this.h()},h(){y(t,"class","text-gray-100")},m(n,f){q(n,t,f),l&&l.m(t,null),E(t,i),e=!0},p(n,f){n[2]?l?(l.p(n,f),f&4&&h(l,1)):(l=H(n),l.c(),h(l,1),l.m(t,i)):l&&(C(),b(l,1,1,()=>{l=null}),D()),(!e||f&2)&&U(i,n[1])},i(n){e||(h(l),e=!0)},o(n){b(l),e=!1},d(n){n&&w(t),l&&l.d()}}}function fe(o){let t,i,e,l;const n=[le,te],f=[];function d(r,c){return r[12]?0:1}return t=d(o),i=f[t]=n[t](o),{c(){i.c(),e=F()},l(r){i.l(r),e=F()},m(r,c){f[t].m(r,c),q(r,e,c),l=!0},p(r,[c]){let k=t;t=d(r),t===k?f[t].p(r,c):(C(),b(f[k],1,1,()=>{f[k]=null}),D(),i=f[t],i?i.p(r,c):(i=f[t]=n[t](r),i.c()),h(i,1),i.m(e.parentNode,e))},i(r){l||(h(i),l=!0)},o(r){b(i),l=!1},d(r){f[t].d(r),r&&w(e)}}}function se(o,t,i){let{$$slots:e={},$$scope:l}=t,{class:n=""}=t,{text:f=""}=t,{icon:d=null}=t,{top:r=!1}=t,{topRight:c=!1}=t,{right:k=!1}=t,{bottom:_=!1}=t,{bottomLeft:I=!1}=t,{bottomRight:g=!1}=t,{left:T=!1}=t,{topLeft:s=!1}=t,{copyable:u=!1}=t,{hide:p=!1}=t,{width:v=null}=t,{copyIconTitle:j=""}=t,{copySuccessIconTitle:z=""}=t;return o.$$set=a=>{"class"in a&&i(0,n=a.class),"text"in a&&i(1,f=a.text),"icon"in a&&i(2,d=a.icon),"top"in a&&i(3,r=a.top),"topRight"in a&&i(4,c=a.topRight),"right"in a&&i(5,k=a.right),"bottom"in a&&i(6,_=a.bottom),"bottomLeft"in a&&i(7,I=a.bottomLeft),"bottomRight"in a&&i(8,g=a.bottomRight),"left"in a&&i(9,T=a.left),"topLeft"in a&&i(10,s=a.topLeft),"copyable"in a&&i(11,u=a.copyable),"hide"in a&&i(12,p=a.hide),"width"in a&&i(13,v=a.width),"copyIconTitle"in a&&i(14,j=a.copyIconTitle),"copySuccessIconTitle"in a&&i(15,z=a.copySuccessIconTitle),"$$scope"in a&&i(17,l=a.$$scope)},[n,f,d,r,c,k,_,I,g,T,s,u,p,v,j,z,e,l]}class re extends X{constructor(t){super(),Y(this,t,se,fe,Z,{class:0,text:1,icon:2,top:3,topRight:4,right:5,bottom:6,bottomLeft:7,bottomRight:8,left:9,topLeft:10,copyable:11,hide:12,width:13,copyIconTitle:14,copySuccessIconTitle:15})}}export{re as T}; diff --git a/ui/assets/local/_app/immutable/chunks/update-query-parameters.b3356c21.js b/ui/assets/local/_app/immutable/chunks/update-query-parameters.016c7f2f.js similarity index 82% rename from ui/assets/local/_app/immutable/chunks/update-query-parameters.b3356c21.js rename to ui/assets/local/_app/immutable/chunks/update-query-parameters.016c7f2f.js index cb0f6af35a..92e413e4e5 100644 --- a/ui/assets/local/_app/immutable/chunks/update-query-parameters.b3356c21.js +++ b/ui/assets/local/_app/immutable/chunks/update-query-parameters.016c7f2f.js @@ -1 +1 @@ -import{g}from"./navigation.8b74a406.js";const m={keepFocus:!0,noScroll:!0},h=async({parameter:n,value:a,url:e,goto:c=g,allowEmpty:i=!1})=>{const f=String(a),r={};e.searchParams.forEach((o,s)=>{s!==n&&(r[s]=o)});const t=new URLSearchParams(r);a?t.set(n,f):i&&t.set(n,"");{const o=t==null?void 0:t.toString(),s=o?`${e.pathname}?${o}`:e.pathname;c(s,m)}return a};export{h as u}; +import{g}from"./navigation.3b6dd1c7.js";const m={keepFocus:!0,noScroll:!0},h=async({parameter:n,value:a,url:e,goto:c=g,allowEmpty:i=!1})=>{const f=String(a),r={};e.searchParams.forEach((o,s)=>{s!==n&&(r[s]=o)});const t=new URLSearchParams(r);a?t.set(n,f):i&&t.set(n,"");{const o=t==null?void 0:t.toString(),s=o?`${e.pathname}?${o}`:e.pathname;c(s,m)}return a};export{h as u}; diff --git a/ui/assets/local/_app/immutable/chunks/versions.2bb4ba4c.js b/ui/assets/local/_app/immutable/chunks/versions.a86975a1.js similarity index 59% rename from ui/assets/local/_app/immutable/chunks/versions.2bb4ba4c.js rename to ui/assets/local/_app/immutable/chunks/versions.a86975a1.js index 84cfa8127f..41ff7b45c6 100644 --- a/ui/assets/local/_app/immutable/chunks/versions.2bb4ba4c.js +++ b/ui/assets/local/_app/immutable/chunks/versions.a86975a1.js @@ -1 +1 @@ -import{j as o}from"./singletons.aae8f11e.js";import{p as e}from"./stores.9d4a2bb0.js";const s=o([e],([r])=>{var a;return(a=r.data)==null?void 0:a.cluster}),n=o([e],([r])=>r.data.settings),p=o([s],([r])=>r==null?void 0:r.serverVersion),m=o([n],([r])=>r==null?void 0:r.version);export{s as c,n as s,p as t,m as u}; +import{j as o}from"./singletons.741208bb.js";import{p as e}from"./stores.cd833532.js";const s=o([e],([r])=>{var a;return(a=r.data)==null?void 0:a.cluster}),n=o([e],([r])=>r.data.settings),p=o([s],([r])=>r==null?void 0:r.serverVersion),m=o([n],([r])=>r==null?void 0:r.version);export{s as c,n as s,p as t,m as u}; diff --git a/ui/assets/local/_app/immutable/chunks/workers-list.f1c48798.js b/ui/assets/local/_app/immutable/chunks/workers-list.291f60eb.js similarity index 99% rename from ui/assets/local/_app/immutable/chunks/workers-list.f1c48798.js rename to ui/assets/local/_app/immutable/chunks/workers-list.291f60eb.js index 1f804d8afa..78ccf25490 100644 --- a/ui/assets/local/_app/immutable/chunks/workers-list.f1c48798.js +++ b/ui/assets/local/_app/immutable/chunks/workers-list.291f60eb.js @@ -1,3 +1,3 @@ -import{S as Se,b as Ae,a as Fe,m as v,w as V,c as F,C as W,p as g,q as E,x as S,k as c,d as Q,D as L,u as k,f as h,L as w,E as K,y as re,j as T,z as J,g as D,h as U,F as M,K as ue,e as G,aa as Ne,ab as Re,n as Y,a7 as Qe,P as ce}from"./index.09834243.js";import{B as Be}from"./badge.f53d8aa8.js";import{c as Oe,C as ie}from"./pollers-service.d402da8b.js";import{E as He}from"./empty-state.aea525ff.js";import{I as ae}from"./icon.3cd9fa27.js";import{T as Pe,a as Ce}from"./table-header-row.843c5ee2.js";import{T as Ve}from"./table-row.185c48e5.js";import{t as A}from"./translate.0a219ae4.js";import{t as qe,r as We,b as _e}from"./format-date.71526e4c.js";import{d as Le,a as Ke,e as Me,f as me,h as de}from"./task-queue-compatibility.cf5696f8.js";function pe(n,e,l){const t=n.slice();t[8]=e[l];const r=Me(t[8]);t[9]=r;const s=Oe(t[2],t[0],t[9]);return t[10]=s,t}function he(n,e,l){const t=n.slice();return t[13]=e[l],t[15]=l,t}function $e(n,e,l){const t=n.slice();return t[9]=e[l],t}function be(n){let e,l=A("workers","version-sets")+"",t,r,s,u;return s=new Pe({props:{class:"mb-6 w-full min-w-[600px] table-fixed",$$slots:{headers:[Xe],default:[Je]},$$scope:{ctx:n}}}),{c(){e=v("h2"),t=V(l),r=F(),W(s.$$.fragment),this.h()},l(a){e=g(a,"H2",{class:!0,"data-testid":!0});var f=E(e);t=S(f,l),f.forEach(c),r=Q(a),L(s.$$.fragment,a),this.h()},h(){k(e,"class","text-base font-medium"),k(e,"data-testid","version-sets")},m(a,f){h(a,e,f),w(e,t),h(a,r,f),K(s,a,f),u=!0},p(a,f){const i={};f&262160&&(i.$$scope={dirty:f,ctx:a}),s.$set(i)},i(a){u||(T(s.$$.fragment,a),u=!0)},o(a){D(s.$$.fragment,a),u=!1},d(a){a&&c(e),a&&c(r),M(s,a)}}}function ke(n){let e,l,t,r,s;return t=new He({props:{title:A("workers","no-version-sets-found")}}),{c(){e=v("tr"),l=v("td"),W(t.$$.fragment),r=F(),this.h()},l(u){e=g(u,"TR",{class:!0});var a=E(e);l=g(a,"TD",{colspan:!0});var f=E(l);L(t.$$.fragment,f),f.forEach(c),r=Q(a),a.forEach(c),this.h()},h(){k(l,"colspan","6"),k(e,"class","w-full")},m(u,a){h(u,e,a),w(e,l),K(t,l,null),w(e,r),s=!0},p:Y,i(u){s||(T(t.$$.fragment,u),s=!0)},o(u){D(t.$$.fragment,u),s=!1},d(u){u&&c(e),M(t)}}}function we(n){let e=A("workers","overall")+"",l;return{c(){l=V(e)},l(t){l=S(t,e)},m(t,r){h(t,l,r)},p:Y,d(t){t&&c(l)}}}function je(n){let e,l=n[15]===0&&we();return{c(){l&&l.c(),e=G()},l(t){l&&l.l(t),e=G()},m(t,r){l&&l.m(t,r),h(t,e,r)},p(t,r){t[15]===0?l?l.p(t,r):(l=we(),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},d(t){l&&l.d(t),t&&c(e)}}}function ze(n){let e=A("workers","default")+"",l;return{c(){l=V(e)},l(t){l=S(t,e)},m(t,r){h(t,l,r)},p:Y,d(t){t&&c(l)}}}function Ye(n){let e=A("workers","default")+"",l,t;return{c(){l=V(e),t=F()},l(r){l=S(r,e),t=Q(r)},m(r,s){h(r,l,s),h(r,t,s)},p:Y,d(r){r&&c(l),r&&c(t)}}}function ve(n){let e,l;return e=new ie({props:{active:!1,buildId:n[9],$$slots:{"default-worker":[Ye]},$$scope:{ctx:n}}}),{c(){W(e.$$.fragment)},l(t){L(e.$$.fragment,t)},m(t,r){K(e,t,r),l=!0},p(t,r){const s={};r&16&&(s.buildId=t[9]),r&262144&&(s.$$scope={dirty:r,ctx:t}),e.$set(s)},i(t){l||(T(e.$$.fragment,t),l=!0)},o(t){D(e.$$.fragment,t),l=!1},d(t){M(e,t)}}}function Ge(n){let e,l,t,r,s,u,a;l=new ie({props:{defaultVersion:!0,active:n[15]===0,buildId:me(n[13].buildIds),$$slots:{"default-worker":[ze],"overall-default-worker":[je]},$$scope:{ctx:n}}});let f=de(n[13].buildIds),i=[];for(let o=0;oD(i[o],1,1,()=>{i[o]=null});return{c(){e=v("td"),W(l.$$.fragment),t=F(),r=v("td"),s=v("div");for(let o=0;of[15];for(let f=0;f{a=null}),U()):(a=ke(),a.c(),T(a,1),a.m(t.parentNode,t)))},i(f){if(!r){for(let i=0;i{m=null}),U()),(!q||H&98)&&i!==(i=_e(p[8].lastAccessTime,p[5],{relative:p[6]})+"")&&re(_,i);let x=b;b=X(p,H),b===x?j[b].p(p,H):(J(),D(j[x],1,1,()=>{j[x]=null}),U(),I=j[b],I?I.p(p,H):(I=j[b]=N[b](p),I.c()),T(I,1),I.m(d,null));let ee=O;O=te(p,H),O===ee?z[O].p(p,H):(J(),D(z[ee],1,1,()=>{z[ee]=null}),U(),$=z[O],$?$.p(p,H):($=z[O]=Z[O](p),$.c()),T($,1),$.m(B,null))},i(p){q||(T(m),T(I),T($),q=!0)},o(p){D(m),D(I),D($),q=!1},d(p){p&&c(e),p&&c(s),m&&m.d(p),p&&c(u),p&&c(a),p&&c(o),p&&c(d),j[b].d(),p&&c(C),p&&c(B),z[O].d(),p&&c(P)}}}function Ie(n,e){let l,t,r;return t=new Ve({props:{"data-testid":"worker-row",$$slots:{default:[at]},$$scope:{ctx:e}}}),{key:n,first:null,c(){l=G(),W(t.$$.fragment),this.h()},l(s){l=G(),L(t.$$.fragment,s),this.h()},h(){this.first=l},m(s,u){h(s,l,u),K(t,s,u),r=!0},p(s,u){e=s;const a={};u&262255&&(a.$$scope={dirty:u,ctx:e}),t.$set(a)},i(s){r||(T(t.$$.fragment,s),r=!0)},o(s){D(t.$$.fragment,s),r=!1},d(s){s&&c(l),M(t,s)}}}function it(n){var f;let e=[],l=new Map,t,r,s=(f=n[1])==null?void 0:f.pollers;const u=i=>i[8].identity;for(let i=0;i{a=null}),U()):(a=Ee(i),a.c(),T(a,1),a.m(t.parentNode,t)))},i(i){if(!r){for(let _=0;_D(i[o],1,1,()=>{i[o]=null});return{c(){e=v("td"),W(l.$$.fragment),t=F(),r=v("td"),s=v("div");for(let o=0;of[15];for(let f=0;f{a=null}),U()):(a=ke(),a.c(),T(a,1),a.m(t.parentNode,t)))},i(f){if(!r){for(let i=0;i{m=null}),U()),(!q||H&98)&&i!==(i=_e(p[8].lastAccessTime,p[5],{relative:p[6]})+"")&&re(_,i);let x=b;b=X(p,H),b===x?j[b].p(p,H):(J(),D(j[x],1,1,()=>{j[x]=null}),U(),I=j[b],I?I.p(p,H):(I=j[b]=N[b](p),I.c()),T(I,1),I.m(d,null));let ee=O;O=te(p,H),O===ee?z[O].p(p,H):(J(),D(z[ee],1,1,()=>{z[ee]=null}),U(),$=z[O],$?$.p(p,H):($=z[O]=Z[O](p),$.c()),T($,1),$.m(B,null))},i(p){q||(T(m),T(I),T($),q=!0)},o(p){D(m),D(I),D($),q=!1},d(p){p&&c(e),p&&c(s),m&&m.d(p),p&&c(u),p&&c(a),p&&c(o),p&&c(d),j[b].d(),p&&c(C),p&&c(B),z[O].d(),p&&c(P)}}}function Ie(n,e){let l,t,r;return t=new Ve({props:{"data-testid":"worker-row",$$slots:{default:[at]},$$scope:{ctx:e}}}),{key:n,first:null,c(){l=G(),W(t.$$.fragment),this.h()},l(s){l=G(),L(t.$$.fragment,s),this.h()},h(){this.first=l},m(s,u){h(s,l,u),K(t,s,u),r=!0},p(s,u){e=s;const a={};u&262255&&(a.$$scope={dirty:u,ctx:e}),t.$set(a)},i(s){r||(T(t.$$.fragment,s),r=!0)},o(s){D(t.$$.fragment,s),r=!1},d(s){s&&c(l),M(t,s)}}}function it(n){var f;let e=[],l=new Map,t,r,s=(f=n[1])==null?void 0:f.pollers;const u=i=>i[8].identity;for(let i=0;i{a=null}),U()):(a=Ee(i),a.c(),T(a,1),a.m(t.parentNode,t)))},i(i){if(!r){for(let _=0;_{R=null}),U());const q={};P&262146&&(q.$$scope={dirty:P,ctx:$}),b.$set(q);const m={};P&262255&&(m.$$scope={dirty:P,ctx:$}),C.$set(m)},i($){B||(T(R),T(b.$$.fragment,$),T(C.$$.fragment,$),B=!0)},o($){D(R),D(b.$$.fragment,$),D(C.$$.fragment,$),B=!1},d($){$&&c(e),R&&R.d(),M(b),M(C)}}}function ct(n,e,l){let t,r,s,u;ue(n,qe,o=>l(5,s=o)),ue(n,We,o=>l(6,u=o));let{taskQueue:a}=e,{workers:f}=e,{compatibility:i=void 0}=e,{reachability:_=void 0}=e;return n.$$set=o=>{"taskQueue"in o&&l(0,a=o.taskQueue),"workers"in o&&l(1,f=o.workers),"compatibility"in o&&l(7,i=o.compatibility),"reachability"in o&&l(2,_=o.reachability)},n.$$.update=()=>{n.$$.dirty&128&&l(4,t=Le(i)),n.$$.dirty&128&&l(3,r=Ke(i))},[a,f,_,r,t,s,u,i]}class gt extends Se{constructor(e){super(),Ae(this,e,ct,ut,Fe,{taskQueue:0,workers:1,compatibility:7,reachability:2})}}export{gt as W}; diff --git a/ui/assets/local/_app/immutable/chunks/workflow-json-navigator.b7922362.js b/ui/assets/local/_app/immutable/chunks/workflow-json-navigator.1792b935.js similarity index 98% rename from ui/assets/local/_app/immutable/chunks/workflow-json-navigator.b7922362.js rename to ui/assets/local/_app/immutable/chunks/workflow-json-navigator.1792b935.js index 10e5312eef..28760f7c8b 100644 --- a/ui/assets/local/_app/immutable/chunks/workflow-json-navigator.b7922362.js +++ b/ui/assets/local/_app/immutable/chunks/workflow-json-navigator.1792b935.js @@ -1 +1 @@ -import{S as Ee,b as Ie,a as ae,N as ue,m as E,w as te,c as R,p as I,q as N,x as le,k as h,d as X,u as m,v as pe,P as W,O as me,f as M,L as b,_ as se,Q as C,y as ne,R as He,ap as ie,n as Y,r as Ne,T as be,U as ge,A as Pe,e as K,z as re,g as O,h as oe,j as S,a0 as Ae,G as De,C as Z,D as $,E as x,a1 as Oe,H as Se,I as Ve,J as Le,F as ee}from"./index.09834243.js";import{C as Te}from"./code-block.5b4e5d21.js";import{o as ve}from"./omit.6cf41932.js";import{L as Ue}from"./loading.3bde98aa.js";import{t as F}from"./translate.0a219ae4.js";import{s as he}from"./parse-with-big-int.b38462f3.js";import{P as je}from"./payload-decoder.357d48e6.js";function We(s){let l,t,e,a,r,p,f,d,v=(s[0]??"")+"",c,g,o,L,A,V,k,y,P,_,B,z,i,U,D,w,G,j=[{name:"range"},{type:"range"},{class:"h-0 w-full cursor-pointer appearance-none rounded border-y-2 border-primary"},{min:s[3]},{max:s[4]},{step:L=s[12].step},ve(s[13],"class")],q={};for(let n=0;n{if(Number.isNaN(i.currentTarget.valueAsNumber)){t(0,o=v);return}t(8,L=i.currentTarget.valueAsNumber>=v&&i.currentTarget.valueAsNumber<=c)},k=({value:i,min:U,max:D})=>(i-U)*100/(D-U),y=({outputElement:i,outputXPos:U})=>{var D;const w=(D=i==null?void 0:i.clientWidth)!==null&&D!==void 0?D:15;return Math.floor(U*w/100)},P=()=>{t(7,e=k({value:o,min:v,max:c})),t(9,a=y({outputElement:A,outputXPos:e}))};function _(i){Pe[i?"unshift":"push"](()=>{A=i,t(6,A)})}function B(){o=ie(this.value),t(0,o)}function z(){o=ie(this.value),t(0,o)}return s.$$set=i=>{t(12,l=ue(ue({},l),ge(i))),t(13,p=be(l,r)),"label"in i&&t(1,f=i.label),"labelHidden"in i&&t(2,d=i.labelHidden),"min"in i&&t(3,v=i.min),"max"in i&&t(4,c=i.max),"id"in i&&t(5,g=i.id),"value"in i&&t(0,o=i.value)},s.$$.update=()=>{s.$$.dirty&25&&t(7,e=k({value:o,min:v,max:c})),s.$$.dirty&217&&(o?(t(7,e=k({value:o,min:v,max:c})),t(9,a=y({outputElement:A,outputXPos:e}))):(t(7,e=0),t(9,a=0))),s.$$.dirty&192&&t(9,a=y({outputElement:A,outputXPos:e}))},l=ge(l),[o,f,d,v,c,g,A,e,L,a,V,P,l,p,_,B,z]}class Ce extends Ee{constructor(l){super(),Ie(this,l,Be,We,ae,{label:1,labelHidden:2,min:3,max:4,id:5,value:0})}}const Re=s=>({}),ke=s=>({});function Xe(s){let l,t,e,a,r,p,f,d,v,c,g,o,L,A,V,k,y,P,_,B,z;function i(n){s[5](n)}let U={label:F("event"),labelHidden:!0,id:"range-input-event-history",min:1,max:s[0].length};s[2]!==void 0&&(U.value=s[2]),e=new Ce({props:U}),Pe.push(()=>Ae(e,"value",i));const D=s[4].decode,w=De(D,s,s[8],ke),G=[qe,Ke],j=[];function q(n,u){return n[1]?0:1}return k=q(s),y=j[k]=G[k](s),{c(){l=E("div"),t=E("div"),Z(e.$$.fragment),r=R(),p=E("div"),f=E("button"),d=E("span"),c=R(),g=E("button"),o=E("span"),A=R(),w&&w.c(),V=R(),y.c(),P=K(),this.h()},l(n){l=I(n,"DIV",{class:!0});var u=N(l);t=I(u,"DIV",{class:!0});var T=N(t);$(e.$$.fragment,T),r=X(T),p=I(T,"DIV",{class:!0});var H=N(p);f=I(H,"BUTTON",{class:!0,"aria-label":!0});var Q=N(f);d=I(Q,"SPAN",{class:!0}),N(d).forEach(h),Q.forEach(h),c=X(H),g=I(H,"BUTTON",{class:!0,"aria-label":!0});var J=N(g);o=I(J,"SPAN",{class:!0}),N(o).forEach(h),J.forEach(h),H.forEach(h),T.forEach(h),A=X(u),w&&w.l(u),u.forEach(h),V=X(n),y.l(n),P=K(),this.h()},h(){m(d,"class","arrow arrow-left svelte-1780ds3"),W(d,"arrow-left-disabled",s[2]===1),m(f,"class","caret svelte-1780ds3"),f.disabled=v=s[2]===1,m(f,"aria-label",F("previous")),m(o,"class","arrow arrow-right svelte-1780ds3"),W(o,"arrow-right-disabled",s[2]===s[0].length),m(g,"class","caret svelte-1780ds3"),g.disabled=L=s[2]===s[0].length,m(g,"aria-label",F("next")),m(p,"class","flex items-center justify-center gap-3"),m(t,"class","flex w-full gap-4"),m(l,"class","flex gap-4 max-sm:flex-col")},m(n,u){M(n,l,u),b(l,t),x(e,t,null),b(t,r),b(t,p),b(p,f),b(f,d),b(p,c),b(p,g),b(g,o),b(l,A),w&&w.m(l,null),M(n,V,u),j[k].m(n,u),M(n,P,u),_=!0,B||(z=[C(f,"click",s[6]),C(g,"click",s[7])],B=!0)},p(n,u){const T={};u&1&&(T.max=n[0].length),!a&&u&4&&(a=!0,T.value=n[2],Oe(()=>a=!1)),e.$set(T),(!_||u&4)&&W(d,"arrow-left-disabled",n[2]===1),(!_||u&4&&v!==(v=n[2]===1))&&(f.disabled=v),(!_||u&5)&&W(o,"arrow-right-disabled",n[2]===n[0].length),(!_||u&5&&L!==(L=n[2]===n[0].length))&&(g.disabled=L),w&&w.p&&(!_||u&256)&&Se(w,D,n,n[8],_?Le(D,n[8],u,Re):Ve(n[8]),ke);let H=k;k=q(n),k===H?j[k].p(n,u):(re(),O(j[H],1,1,()=>{j[H]=null}),oe(),y=j[k],y?y.p(n,u):(y=j[k]=G[k](n),y.c()),S(y,1),y.m(P.parentNode,P))},i(n){_||(S(e.$$.fragment,n),S(w,n),S(y),_=!0)},o(n){O(e.$$.fragment,n),O(w,n),O(y),_=!1},d(n){n&&h(l),ee(e),w&&w.d(n),n&&h(V),j[k].d(n),n&&h(P),B=!1,Ne(z)}}}function ze(s){let l,t;return l=new Ue({}),{c(){Z(l.$$.fragment)},l(e){$(l.$$.fragment,e)},m(e,a){x(l,e,a),t=!0},p:Y,i(e){t||(S(l.$$.fragment,e),t=!0)},o(e){O(l.$$.fragment,e),t=!1},d(e){ee(l,e)}}}function Ke(s){let l=s[2],t,e,a=ye(s);return{c(){a.c(),t=K()},l(r){a.l(r),t=K()},m(r,p){a.m(r,p),M(r,t,p),e=!0},p(r,p){p&4&&ae(l,l=r[2])?(re(),O(a,1,1,Y),oe(),a=ye(r),a.c(),S(a,1),a.m(t.parentNode,t)):a.p(r,p)},i(r){e||(S(a),e=!0)},o(r){O(a),e=!1},d(r){r&&h(t),a.d(r)}}}function qe(s){let l=[s[2],s[1]],t,e,a=we(s);return{c(){a.c(),t=K()},l(r){a.l(r),t=K()},m(r,p){a.m(r,p),M(r,t,p),e=!0},p(r,p){p&6&&ae(l,l=[r[2],r[1]])?(re(),O(a,1,1,Y),oe(),a=we(r),a.c(),S(a,1),a.m(t.parentNode,t)):a.p(r,p)},i(r){e||(S(a),e=!0)},o(r){O(a),e=!1},d(r){r&&h(t),a.d(r)}}}function ye(s){let l,t;return l=new Te({props:{content:he(s[0][s[2]-1],void 0,2),testId:"event-history-json",copyIconTitle:F("copy-icon-title"),copySuccessIconTitle:F("copy-success-icon-title")}}),{c(){Z(l.$$.fragment)},l(e){$(l.$$.fragment,e)},m(e,a){x(l,e,a),t=!0},p(e,a){const r={};a&5&&(r.content=he(e[0][e[2]-1],void 0,2)),l.$set(r)},i(e){t||(S(l.$$.fragment,e),t=!0)},o(e){O(l.$$.fragment,e),t=!1},d(e){ee(l,e)}}}function Je(s){let l,t;return l=new Te({props:{content:s[9],testId:"event-history-json",copyIconTitle:F("copy-icon-title"),copySuccessIconTitle:F("copy-success-icon-title")}}),{c(){Z(l.$$.fragment)},l(e){$(l.$$.fragment,e)},m(e,a){x(l,e,a),t=!0},p(e,a){const r={};a&512&&(r.content=e[9]),l.$set(r)},i(e){t||(S(l.$$.fragment,e),t=!0)},o(e){O(l.$$.fragment,e),t=!1},d(e){ee(l,e)}}}function we(s){let l,t;return l=new je({props:{value:s[0][s[2]-1],$$slots:{default:[Je,({decodedValue:e})=>({9:e}),({decodedValue:e})=>e?512:0]},$$scope:{ctx:s}}}),{c(){Z(l.$$.fragment)},l(e){$(l.$$.fragment,e)},m(e,a){x(l,e,a),t=!0},p(e,a){const r={};a&5&&(r.value=e[0][e[2]-1]),a&768&&(r.$$scope={dirty:a,ctx:e}),l.$set(r)},i(e){t||(S(l.$$.fragment,e),t=!0)},o(e){O(l.$$.fragment,e),t=!1},d(e){ee(l,e)}}}function Me(s){let l,t,e,a,r,p;const f=[ze,Xe],d=[];function v(c,g){return c[0].length?1:0}return l=v(s),t=d[l]=f[l](s),{c(){t.c(),e=K()},l(c){t.l(c),e=K()},m(c,g){d[l].m(c,g),M(c,e,g),a=!0,r||(p=C(window,"keydown",s[3]),r=!0)},p(c,[g]){let o=l;l=v(c),l===o?d[l].p(c,g):(re(),O(d[o],1,1,()=>{d[o]=null}),oe(),t=d[l],t?t.p(c,g):(t=d[l]=f[l](c),t.c()),S(t,1),t.m(e.parentNode,e))},i(c){a||(S(t),a=!0)},o(c){O(t),a=!1},d(c){d[l].d(c),c&&h(e),r=!1,p()}}}function Fe(s,l,t){let{$$slots:e={},$$scope:a}=l,{events:r=[]}=l,{decodeEventHistory:p}=l,f=1;function d(o){switch(o.code){case"ArrowRight":case"KeyL":o.preventDefault(),o.stopPropagation(),f1&&t(2,f-=1);break}}function v(o){f=o,t(2,f)}const c=()=>{t(2,f-=1)},g=()=>{t(2,f+=1)};return s.$$set=o=>{"events"in o&&t(0,r=o.events),"decodeEventHistory"in o&&t(1,p=o.decodeEventHistory),"$$scope"in o&&t(8,a=o.$$scope)},[r,p,f,d,e,v,c,g,a]}class tt extends Ee{constructor(l){super(),Ie(this,l,Fe,Me,ae,{events:0,decodeEventHistory:1})}}export{tt as W}; +import{S as Ee,b as Ie,a as ae,N as ue,m as E,w as te,c as R,p as I,q as N,x as le,k as h,d as X,u as m,v as pe,P as W,O as me,f as M,L as b,_ as se,Q as C,y as ne,R as He,ap as ie,n as Y,r as Ne,T as be,U as ge,A as Pe,e as K,z as re,g as O,h as oe,j as S,a0 as Ae,G as De,C as Z,D as $,E as x,a1 as Oe,H as Se,I as Ve,J as Le,F as ee}from"./index.09834243.js";import{C as Te}from"./code-block.797d93a9.js";import{o as ve}from"./omit.6cf41932.js";import{L as Ue}from"./loading.3bde98aa.js";import{t as F}from"./translate.0a219ae4.js";import{s as he}from"./parse-with-big-int.b38462f3.js";import{P as je}from"./payload-decoder.53c14555.js";function We(s){let l,t,e,a,r,p,f,d,v=(s[0]??"")+"",c,g,o,L,A,V,k,y,P,_,B,z,i,U,D,w,G,j=[{name:"range"},{type:"range"},{class:"h-0 w-full cursor-pointer appearance-none rounded border-y-2 border-primary"},{min:s[3]},{max:s[4]},{step:L=s[12].step},ve(s[13],"class")],q={};for(let n=0;n{if(Number.isNaN(i.currentTarget.valueAsNumber)){t(0,o=v);return}t(8,L=i.currentTarget.valueAsNumber>=v&&i.currentTarget.valueAsNumber<=c)},k=({value:i,min:U,max:D})=>(i-U)*100/(D-U),y=({outputElement:i,outputXPos:U})=>{var D;const w=(D=i==null?void 0:i.clientWidth)!==null&&D!==void 0?D:15;return Math.floor(U*w/100)},P=()=>{t(7,e=k({value:o,min:v,max:c})),t(9,a=y({outputElement:A,outputXPos:e}))};function _(i){Pe[i?"unshift":"push"](()=>{A=i,t(6,A)})}function B(){o=ie(this.value),t(0,o)}function z(){o=ie(this.value),t(0,o)}return s.$$set=i=>{t(12,l=ue(ue({},l),ge(i))),t(13,p=be(l,r)),"label"in i&&t(1,f=i.label),"labelHidden"in i&&t(2,d=i.labelHidden),"min"in i&&t(3,v=i.min),"max"in i&&t(4,c=i.max),"id"in i&&t(5,g=i.id),"value"in i&&t(0,o=i.value)},s.$$.update=()=>{s.$$.dirty&25&&t(7,e=k({value:o,min:v,max:c})),s.$$.dirty&217&&(o?(t(7,e=k({value:o,min:v,max:c})),t(9,a=y({outputElement:A,outputXPos:e}))):(t(7,e=0),t(9,a=0))),s.$$.dirty&192&&t(9,a=y({outputElement:A,outputXPos:e}))},l=ge(l),[o,f,d,v,c,g,A,e,L,a,V,P,l,p,_,B,z]}class Ce extends Ee{constructor(l){super(),Ie(this,l,Be,We,ae,{label:1,labelHidden:2,min:3,max:4,id:5,value:0})}}const Re=s=>({}),ke=s=>({});function Xe(s){let l,t,e,a,r,p,f,d,v,c,g,o,L,A,V,k,y,P,_,B,z;function i(n){s[5](n)}let U={label:F("event"),labelHidden:!0,id:"range-input-event-history",min:1,max:s[0].length};s[2]!==void 0&&(U.value=s[2]),e=new Ce({props:U}),Pe.push(()=>Ae(e,"value",i));const D=s[4].decode,w=De(D,s,s[8],ke),G=[qe,Ke],j=[];function q(n,u){return n[1]?0:1}return k=q(s),y=j[k]=G[k](s),{c(){l=E("div"),t=E("div"),Z(e.$$.fragment),r=R(),p=E("div"),f=E("button"),d=E("span"),c=R(),g=E("button"),o=E("span"),A=R(),w&&w.c(),V=R(),y.c(),P=K(),this.h()},l(n){l=I(n,"DIV",{class:!0});var u=N(l);t=I(u,"DIV",{class:!0});var T=N(t);$(e.$$.fragment,T),r=X(T),p=I(T,"DIV",{class:!0});var H=N(p);f=I(H,"BUTTON",{class:!0,"aria-label":!0});var Q=N(f);d=I(Q,"SPAN",{class:!0}),N(d).forEach(h),Q.forEach(h),c=X(H),g=I(H,"BUTTON",{class:!0,"aria-label":!0});var J=N(g);o=I(J,"SPAN",{class:!0}),N(o).forEach(h),J.forEach(h),H.forEach(h),T.forEach(h),A=X(u),w&&w.l(u),u.forEach(h),V=X(n),y.l(n),P=K(),this.h()},h(){m(d,"class","arrow arrow-left svelte-1780ds3"),W(d,"arrow-left-disabled",s[2]===1),m(f,"class","caret svelte-1780ds3"),f.disabled=v=s[2]===1,m(f,"aria-label",F("previous")),m(o,"class","arrow arrow-right svelte-1780ds3"),W(o,"arrow-right-disabled",s[2]===s[0].length),m(g,"class","caret svelte-1780ds3"),g.disabled=L=s[2]===s[0].length,m(g,"aria-label",F("next")),m(p,"class","flex items-center justify-center gap-3"),m(t,"class","flex w-full gap-4"),m(l,"class","flex gap-4 max-sm:flex-col")},m(n,u){M(n,l,u),b(l,t),x(e,t,null),b(t,r),b(t,p),b(p,f),b(f,d),b(p,c),b(p,g),b(g,o),b(l,A),w&&w.m(l,null),M(n,V,u),j[k].m(n,u),M(n,P,u),_=!0,B||(z=[C(f,"click",s[6]),C(g,"click",s[7])],B=!0)},p(n,u){const T={};u&1&&(T.max=n[0].length),!a&&u&4&&(a=!0,T.value=n[2],Oe(()=>a=!1)),e.$set(T),(!_||u&4)&&W(d,"arrow-left-disabled",n[2]===1),(!_||u&4&&v!==(v=n[2]===1))&&(f.disabled=v),(!_||u&5)&&W(o,"arrow-right-disabled",n[2]===n[0].length),(!_||u&5&&L!==(L=n[2]===n[0].length))&&(g.disabled=L),w&&w.p&&(!_||u&256)&&Se(w,D,n,n[8],_?Le(D,n[8],u,Re):Ve(n[8]),ke);let H=k;k=q(n),k===H?j[k].p(n,u):(re(),O(j[H],1,1,()=>{j[H]=null}),oe(),y=j[k],y?y.p(n,u):(y=j[k]=G[k](n),y.c()),S(y,1),y.m(P.parentNode,P))},i(n){_||(S(e.$$.fragment,n),S(w,n),S(y),_=!0)},o(n){O(e.$$.fragment,n),O(w,n),O(y),_=!1},d(n){n&&h(l),ee(e),w&&w.d(n),n&&h(V),j[k].d(n),n&&h(P),B=!1,Ne(z)}}}function ze(s){let l,t;return l=new Ue({}),{c(){Z(l.$$.fragment)},l(e){$(l.$$.fragment,e)},m(e,a){x(l,e,a),t=!0},p:Y,i(e){t||(S(l.$$.fragment,e),t=!0)},o(e){O(l.$$.fragment,e),t=!1},d(e){ee(l,e)}}}function Ke(s){let l=s[2],t,e,a=ye(s);return{c(){a.c(),t=K()},l(r){a.l(r),t=K()},m(r,p){a.m(r,p),M(r,t,p),e=!0},p(r,p){p&4&&ae(l,l=r[2])?(re(),O(a,1,1,Y),oe(),a=ye(r),a.c(),S(a,1),a.m(t.parentNode,t)):a.p(r,p)},i(r){e||(S(a),e=!0)},o(r){O(a),e=!1},d(r){r&&h(t),a.d(r)}}}function qe(s){let l=[s[2],s[1]],t,e,a=we(s);return{c(){a.c(),t=K()},l(r){a.l(r),t=K()},m(r,p){a.m(r,p),M(r,t,p),e=!0},p(r,p){p&6&&ae(l,l=[r[2],r[1]])?(re(),O(a,1,1,Y),oe(),a=we(r),a.c(),S(a,1),a.m(t.parentNode,t)):a.p(r,p)},i(r){e||(S(a),e=!0)},o(r){O(a),e=!1},d(r){r&&h(t),a.d(r)}}}function ye(s){let l,t;return l=new Te({props:{content:he(s[0][s[2]-1],void 0,2),testId:"event-history-json",copyIconTitle:F("copy-icon-title"),copySuccessIconTitle:F("copy-success-icon-title")}}),{c(){Z(l.$$.fragment)},l(e){$(l.$$.fragment,e)},m(e,a){x(l,e,a),t=!0},p(e,a){const r={};a&5&&(r.content=he(e[0][e[2]-1],void 0,2)),l.$set(r)},i(e){t||(S(l.$$.fragment,e),t=!0)},o(e){O(l.$$.fragment,e),t=!1},d(e){ee(l,e)}}}function Je(s){let l,t;return l=new Te({props:{content:s[9],testId:"event-history-json",copyIconTitle:F("copy-icon-title"),copySuccessIconTitle:F("copy-success-icon-title")}}),{c(){Z(l.$$.fragment)},l(e){$(l.$$.fragment,e)},m(e,a){x(l,e,a),t=!0},p(e,a){const r={};a&512&&(r.content=e[9]),l.$set(r)},i(e){t||(S(l.$$.fragment,e),t=!0)},o(e){O(l.$$.fragment,e),t=!1},d(e){ee(l,e)}}}function we(s){let l,t;return l=new je({props:{value:s[0][s[2]-1],$$slots:{default:[Je,({decodedValue:e})=>({9:e}),({decodedValue:e})=>e?512:0]},$$scope:{ctx:s}}}),{c(){Z(l.$$.fragment)},l(e){$(l.$$.fragment,e)},m(e,a){x(l,e,a),t=!0},p(e,a){const r={};a&5&&(r.value=e[0][e[2]-1]),a&768&&(r.$$scope={dirty:a,ctx:e}),l.$set(r)},i(e){t||(S(l.$$.fragment,e),t=!0)},o(e){O(l.$$.fragment,e),t=!1},d(e){ee(l,e)}}}function Me(s){let l,t,e,a,r,p;const f=[ze,Xe],d=[];function v(c,g){return c[0].length?1:0}return l=v(s),t=d[l]=f[l](s),{c(){t.c(),e=K()},l(c){t.l(c),e=K()},m(c,g){d[l].m(c,g),M(c,e,g),a=!0,r||(p=C(window,"keydown",s[3]),r=!0)},p(c,[g]){let o=l;l=v(c),l===o?d[l].p(c,g):(re(),O(d[o],1,1,()=>{d[o]=null}),oe(),t=d[l],t?t.p(c,g):(t=d[l]=f[l](c),t.c()),S(t,1),t.m(e.parentNode,e))},i(c){a||(S(t),a=!0)},o(c){O(t),a=!1},d(c){d[l].d(c),c&&h(e),r=!1,p()}}}function Fe(s,l,t){let{$$slots:e={},$$scope:a}=l,{events:r=[]}=l,{decodeEventHistory:p}=l,f=1;function d(o){switch(o.code){case"ArrowRight":case"KeyL":o.preventDefault(),o.stopPropagation(),f1&&t(2,f-=1);break}}function v(o){f=o,t(2,f)}const c=()=>{t(2,f-=1)},g=()=>{t(2,f+=1)};return s.$$set=o=>{"events"in o&&t(0,r=o.events),"decodeEventHistory"in o&&t(1,p=o.decodeEventHistory),"$$scope"in o&&t(8,a=o.$$scope)},[r,p,f,d,e,v,c,g,a]}class tt extends Ee{constructor(l){super(),Ie(this,l,Fe,Me,ae,{events:0,decodeEventHistory:1})}}export{tt as W}; diff --git a/ui/assets/local/_app/immutable/chunks/workflow-run.889d50fd.js b/ui/assets/local/_app/immutable/chunks/workflow-run.1abbba7b.js similarity index 54% rename from ui/assets/local/_app/immutable/chunks/workflow-run.889d50fd.js rename to ui/assets/local/_app/immutable/chunks/workflow-run.1abbba7b.js index d8710bf9a0..c468947f81 100644 --- a/ui/assets/local/_app/immutable/chunks/workflow-run.889d50fd.js +++ b/ui/assets/local/_app/immutable/chunks/workflow-run.1abbba7b.js @@ -1 +1 @@ -import{w as o}from"./singletons.aae8f11e.js";import{p as r}from"./persist-store.ad106cab.js";const t=o(0),e={workflow:null,workers:{pollers:[],taskQueueStatus:null}},l=o(e),i=r("workflowSummaryView",!0,!0),a=r("workflowTimelineView",!0,!0);export{a,i as b,e as i,t as r,l as w}; +import{w as o}from"./singletons.741208bb.js";import{p as r}from"./persist-store.47877c2b.js";const t=o(0),e={workflow:null,workers:{pollers:[],taskQueueStatus:null}},l=o(e),i=r("workflowSummaryView",!0,!0),a=r("workflowTimelineView",!0,!0);export{a,i as b,e as i,t as r,l as w}; diff --git a/ui/assets/local/_app/immutable/chunks/workflow-service.56e6b262.js b/ui/assets/local/_app/immutable/chunks/workflow-service.14ef2cb6.js similarity index 92% rename from ui/assets/local/_app/immutable/chunks/workflow-service.56e6b262.js rename to ui/assets/local/_app/immutable/chunks/workflow-service.14ef2cb6.js index c5252c862e..232ff92614 100644 --- a/ui/assets/local/_app/immutable/chunks/workflow-service.56e6b262.js +++ b/ui/assets/local/_app/immutable/chunks/workflow-service.14ef2cb6.js @@ -1 +1 @@ -import{ac as y}from"./index.09834243.js";import{t as N}from"./translate.0a219ae4.js";import{a as Q,b as j}from"./decode-payload.1c6b12fc.js";import{c as C,s as E}from"./parse-with-big-int.b38462f3.js";import{s as U,c as $,t as K}from"./versions.2bb4ba4c.js";import{s as _}from"./simplify-attributes.560f55a5.js";import{l as L,a as J}from"./data-encoder-config.b5b7b570.js";import{B as G}from"./prod-browser.becde89a.js";import{b as H,p as M,a as d,r as w,c as X,i as Y,d as Z}from"./route-for-api.6f64f216.js";import{j as x}from"./singletons.aae8f11e.js";import{p as oo}from"./stores.9d4a2bb0.js";import{i as to}from"./version-check.d006b302.js";import{l as no,m as eo,n as F,o as ro}from"./format-time.650b834b.js";import{v as io}from"./toaster.d089c03c.js";const ao=(o=U)=>!y(o).disableWriteActions,so=(o=[])=>o.map(t=>{const n=_(t,!0),e=t.activityId;return{...n,id:e}}),co=o=>C(o)||C(o.indexedFields)?{}:{indexedFields:Object.entries(o.indexedFields).reduce((n,[e,r])=>({...n,[e]:Q(r)}),{})},I=o=>{var b,g,T,W,S,p,A;const t=co(o.workflowExecutionInfo.searchAttributes),n=o.workflowExecutionInfo.type.name,e=o.workflowExecutionInfo.execution.workflowId,r=o.workflowExecutionInfo.execution.runId,i=o.workflowExecutionInfo.startTime,c=o.workflowExecutionInfo.closeTime,a=o.workflowExecutionInfo.executionTime,u=o.workflowExecutionInfo.status,f=o.workflowExecutionInfo.status==="Running",l=o.workflowExecutionInfo.historyLength,h=o.workflowExecutionInfo.historySizeBytes,s=`/workflows/${e}/${r}`,m=((g=(b=o==null?void 0:o.executionConfig)==null?void 0:b.taskQueue)==null?void 0:g.name)||((T=o==null?void 0:o.workflowExecutionInfo)==null?void 0:T.taskQueue),k=(W=o==null?void 0:o.workflowExecutionInfo)==null?void 0:W.mostRecentWorkerVersionStamp,v=(S=o==null?void 0:o.workflowExecutionInfo)==null?void 0:S.parentNamespaceId,B=(p=o==null?void 0:o.workflowExecutionInfo)==null?void 0:p.parentExecution,z=o.workflowExecutionInfo.stateTransitionCount,V=(A=o.executionConfig)==null?void 0:A.defaultWorkflowTaskTimeout,q=so(o.pendingActivities),D=(o==null?void 0:o.pendingChildren)??[];return{name:n,id:e,runId:r,startTime:i,endTime:c,executionTime:a,status:u,historyEvents:l,historySizeBytes:h,searchAttributes:t,url:s,taskQueue:m,mostRecentWorkerVersionStamp:k,pendingActivities:q,pendingChildren:D,parentNamespaceId:v,parent:B,stateTransitionCount:z,isRunning:f,defaultWorkflowTaskTimeout:V,get canBeTerminated(){return f&&ao()}}},P=o=>(o.executions||[]).map(t=>I({workflowExecutionInfo:t})),fo=o=>window.btoa(encodeURIComponent(o).replace(/%([0-9A-F]{2})/g,(t,n)=>String.fromCharCode(parseInt(n,16)))),O=(o,t=G)=>t?fo(o):o,uo=(o,t)=>{var n;return((n=o==null?void 0:o.visibilityStore)==null?void 0:n.includes("elasticsearch"))||to(t,"1.19")},lo=o=>{var t;return(t=o==null?void 0:o.visibilityStore)==null?void 0:t.includes("elasticsearch")},R=x([oo],([o])=>{var t,n,e;return(e=(n=(t=o.data)==null?void 0:t.settings)==null?void 0:n.runtimeEnvironment)==null?void 0:e.isCloud}),wo=x([$,K,R],([o,t,n])=>uo(o,t)||n);x([$,R],([o,t])=>lo(o)||t);const mo={workflowId:"WorkflowId",workflowType:"WorkflowType",timeRange:"StartTime",executionStatus:"ExecutionStatus",closeTime:"CloseTime"},ko=["workflowId","workflowType","timeRange","executionStatus","closeTime"],yo=o=>!(o===null||o===void 0||o===""||typeof o=="string"&&o==="undefined"),ho=o=>{if(typeof o!="string")return!1;for(const t of ko)if(t===o)return!0;return!1},Eo=(o,t,n)=>{const e=mo[o];return t==="All"?"":no(t)||eo(t)?n||y(wo)?`${e} > "${F(t)}"`:`${e} BETWEEN "${F(t)}" AND "${ro()}"`:`${e}="${t}"`},xo=(o,t)=>Object.entries(o).map(([n,e])=>{if(ho(n)&&yo(e))return Eo(n,e,t)}).filter(Boolean),Io=(o,t=!1)=>xo(o,t).join(" and "),bo=async(o,t,n=fetch,e=!1)=>{const r=t.query||Io(t,e);let i;try{i=decodeURIComponent(r)}catch{i=r}const c=e?"workflows.archived":"workflows";let a="";const u=s=>{var m,k;X(s),(m=s==null?void 0:s.body)!=null&&m.message||s!=null&&s.status?a=((k=s==null?void 0:s.body)==null?void 0:k.message)??`Error fetching workflows: ${s.status}: ${s.statusText}`:a="Error fetching workflows: Server failed to respond"},f=w(c,{namespace:o}),{executions:l,nextPageToken:h}=await d(f,{params:{query:i},onError:u,handleError:u,request:n})??{executions:[],nextPageToken:""};return{workflows:P({executions:l}),nextPageToken:String(h),error:a}},zo=async({namespace:o,workflowId:t,url:n},e=fetch)=>{var l;const r="workflows",i=n??H(o),c=M(r,{namespace:o}),a=i+c,{executions:u}=await d(a,{params:{query:`WorkflowId="${t}"`,pageSize:"1"},request:e})??{executions:[]},f=(l=P({executions:u}))==null?void 0:l[0];return{runId:f==null?void 0:f.runId}},Vo=async(o,t=fetch,n=!1)=>{const e=n?"workflows.archived":"workflows";let r=!0;const i=a=>{(Y(a)||Z(a))&&(r=!1)},c=w(e,{namespace:o});return await d(c,{params:{pageSize:"1"},onError:i,handleError:i,request:t}),{authorized:r}},qo=async(o,t,n=fetch)=>bo(o,t,n,!0);async function Do(o,t=fetch){const n=w("workflow",o);return d(n,{request:t}).then(I)}async function No({workflow:o,namespace:t,reason:n,identity:e}){const r=w("workflow.terminate",{namespace:t,workflowId:o.id,runId:o.runId});return await d(r,{options:{method:"POST",body:E({reason:n,...e&&{identity:e}})},notifyOnError:!1})}async function Qo({namespace:o,workflowId:t,runId:n},e=fetch){const r=w("workflow.cancel",{namespace:o,workflowId:t,runId:n});return d(r,{request:e,notifyOnError:!1,options:{method:"POST"}})}async function jo({namespace:o,workflowId:t,runId:n,signalName:e,signalInput:r,settings:i,accessToken:c}){var f;const a=w("workflow.signal",{namespace:o,workflowId:t,runId:n});let u=null;if(r)if((f=i==null?void 0:i.codec)!=null&&f.endpoint){const l=await j({payloads:{payloads:[JSON.parse(r)]},namespace:o,settings:i,accessToken:c,encode:!0});if(y(L)==="error")throw new Error(y(J)||N("encode-failed"));u=(l==null?void 0:l.payloads)??null}else u=[{metadata:{encoding:O("json/plain")},data:O(r)}];return d(a,{notifyOnError:!1,options:{method:"POST",body:E({signalName:e,input:{payloads:u}})}})}async function Uo({namespace:o,workflowId:t,runId:n,eventId:e,reason:r,resetReapplyType:i}){const c=w("workflow.reset",{namespace:o,workflowId:t,runId:n}),a={workflowExecution:{workflowId:t,runId:n},workflowTaskFinishEventId:e,resetReapplyType:i,requestId:io(),reason:r};return d(c,{notifyOnError:!1,options:{method:"POST",body:E(a)}})}async function Ko(o,t=fetch){const n=r=>{console.error(r)},e=w("workflow",o);return d(e,{request:t,onError:n,handleError:n}).then(I)}export{wo as a,bo as b,Qo as c,Vo as d,Io as e,Do as f,qo as g,Ko as h,R as i,zo as j,Uo as r,jo as s,No as t,ao as w}; +import{ac as y}from"./index.09834243.js";import{t as N}from"./translate.0a219ae4.js";import{a as Q,b as j}from"./decode-payload.e6040d83.js";import{c as C,s as E}from"./parse-with-big-int.b38462f3.js";import{s as U,c as $,t as K}from"./versions.a86975a1.js";import{s as _}from"./simplify-attributes.7c9bfcb7.js";import{l as L,a as J}from"./data-encoder-config.79b97010.js";import{B as G}from"./prod-browser.becde89a.js";import{b as H,p as M,a as d,r as w,c as X,i as Y,d as Z}from"./route-for-api.a8b11085.js";import{j as x}from"./singletons.741208bb.js";import{p as oo}from"./stores.cd833532.js";import{i as to}from"./version-check.d006b302.js";import{l as no,m as eo,n as F,o as ro}from"./format-time.650b834b.js";import{v as io}from"./toaster.a0b7d8ad.js";const ao=(o=U)=>!y(o).disableWriteActions,so=(o=[])=>o.map(t=>{const n=_(t,!0),e=t.activityId;return{...n,id:e}}),co=o=>C(o)||C(o.indexedFields)?{}:{indexedFields:Object.entries(o.indexedFields).reduce((n,[e,r])=>({...n,[e]:Q(r)}),{})},I=o=>{var b,g,T,W,S,p,A;const t=co(o.workflowExecutionInfo.searchAttributes),n=o.workflowExecutionInfo.type.name,e=o.workflowExecutionInfo.execution.workflowId,r=o.workflowExecutionInfo.execution.runId,i=o.workflowExecutionInfo.startTime,c=o.workflowExecutionInfo.closeTime,a=o.workflowExecutionInfo.executionTime,u=o.workflowExecutionInfo.status,f=o.workflowExecutionInfo.status==="Running",l=o.workflowExecutionInfo.historyLength,h=o.workflowExecutionInfo.historySizeBytes,s=`/workflows/${e}/${r}`,m=((g=(b=o==null?void 0:o.executionConfig)==null?void 0:b.taskQueue)==null?void 0:g.name)||((T=o==null?void 0:o.workflowExecutionInfo)==null?void 0:T.taskQueue),k=(W=o==null?void 0:o.workflowExecutionInfo)==null?void 0:W.mostRecentWorkerVersionStamp,v=(S=o==null?void 0:o.workflowExecutionInfo)==null?void 0:S.parentNamespaceId,B=(p=o==null?void 0:o.workflowExecutionInfo)==null?void 0:p.parentExecution,z=o.workflowExecutionInfo.stateTransitionCount,V=(A=o.executionConfig)==null?void 0:A.defaultWorkflowTaskTimeout,q=so(o.pendingActivities),D=(o==null?void 0:o.pendingChildren)??[];return{name:n,id:e,runId:r,startTime:i,endTime:c,executionTime:a,status:u,historyEvents:l,historySizeBytes:h,searchAttributes:t,url:s,taskQueue:m,mostRecentWorkerVersionStamp:k,pendingActivities:q,pendingChildren:D,parentNamespaceId:v,parent:B,stateTransitionCount:z,isRunning:f,defaultWorkflowTaskTimeout:V,get canBeTerminated(){return f&&ao()}}},P=o=>(o.executions||[]).map(t=>I({workflowExecutionInfo:t})),fo=o=>window.btoa(encodeURIComponent(o).replace(/%([0-9A-F]{2})/g,(t,n)=>String.fromCharCode(parseInt(n,16)))),O=(o,t=G)=>t?fo(o):o,uo=(o,t)=>{var n;return((n=o==null?void 0:o.visibilityStore)==null?void 0:n.includes("elasticsearch"))||to(t,"1.19")},lo=o=>{var t;return(t=o==null?void 0:o.visibilityStore)==null?void 0:t.includes("elasticsearch")},R=x([oo],([o])=>{var t,n,e;return(e=(n=(t=o.data)==null?void 0:t.settings)==null?void 0:n.runtimeEnvironment)==null?void 0:e.isCloud}),wo=x([$,K,R],([o,t,n])=>uo(o,t)||n);x([$,R],([o,t])=>lo(o)||t);const mo={workflowId:"WorkflowId",workflowType:"WorkflowType",timeRange:"StartTime",executionStatus:"ExecutionStatus",closeTime:"CloseTime"},ko=["workflowId","workflowType","timeRange","executionStatus","closeTime"],yo=o=>!(o===null||o===void 0||o===""||typeof o=="string"&&o==="undefined"),ho=o=>{if(typeof o!="string")return!1;for(const t of ko)if(t===o)return!0;return!1},Eo=(o,t,n)=>{const e=mo[o];return t==="All"?"":no(t)||eo(t)?n||y(wo)?`${e} > "${F(t)}"`:`${e} BETWEEN "${F(t)}" AND "${ro()}"`:`${e}="${t}"`},xo=(o,t)=>Object.entries(o).map(([n,e])=>{if(ho(n)&&yo(e))return Eo(n,e,t)}).filter(Boolean),Io=(o,t=!1)=>xo(o,t).join(" and "),bo=async(o,t,n=fetch,e=!1)=>{const r=t.query||Io(t,e);let i;try{i=decodeURIComponent(r)}catch{i=r}const c=e?"workflows.archived":"workflows";let a="";const u=s=>{var m,k;X(s),(m=s==null?void 0:s.body)!=null&&m.message||s!=null&&s.status?a=((k=s==null?void 0:s.body)==null?void 0:k.message)??`Error fetching workflows: ${s.status}: ${s.statusText}`:a="Error fetching workflows: Server failed to respond"},f=w(c,{namespace:o}),{executions:l,nextPageToken:h}=await d(f,{params:{query:i},onError:u,handleError:u,request:n})??{executions:[],nextPageToken:""};return{workflows:P({executions:l}),nextPageToken:String(h),error:a}},zo=async({namespace:o,workflowId:t,url:n},e=fetch)=>{var l;const r="workflows",i=n??H(o),c=M(r,{namespace:o}),a=i+c,{executions:u}=await d(a,{params:{query:`WorkflowId="${t}"`,pageSize:"1"},request:e})??{executions:[]},f=(l=P({executions:u}))==null?void 0:l[0];return{runId:f==null?void 0:f.runId}},Vo=async(o,t=fetch,n=!1)=>{const e=n?"workflows.archived":"workflows";let r=!0;const i=a=>{(Y(a)||Z(a))&&(r=!1)},c=w(e,{namespace:o});return await d(c,{params:{pageSize:"1"},onError:i,handleError:i,request:t}),{authorized:r}},qo=async(o,t,n=fetch)=>bo(o,t,n,!0);async function Do(o,t=fetch){const n=w("workflow",o);return d(n,{request:t}).then(I)}async function No({workflow:o,namespace:t,reason:n,identity:e}){const r=w("workflow.terminate",{namespace:t,workflowId:o.id,runId:o.runId});return await d(r,{options:{method:"POST",body:E({reason:n,...e&&{identity:e}})},notifyOnError:!1})}async function Qo({namespace:o,workflowId:t,runId:n},e=fetch){const r=w("workflow.cancel",{namespace:o,workflowId:t,runId:n});return d(r,{request:e,notifyOnError:!1,options:{method:"POST"}})}async function jo({namespace:o,workflowId:t,runId:n,signalName:e,signalInput:r,settings:i,accessToken:c}){var f;const a=w("workflow.signal",{namespace:o,workflowId:t,runId:n});let u=null;if(r)if((f=i==null?void 0:i.codec)!=null&&f.endpoint){const l=await j({payloads:{payloads:[JSON.parse(r)]},namespace:o,settings:i,accessToken:c,encode:!0});if(y(L)==="error")throw new Error(y(J)||N("encode-failed"));u=(l==null?void 0:l.payloads)??null}else u=[{metadata:{encoding:O("json/plain")},data:O(r)}];return d(a,{notifyOnError:!1,options:{method:"POST",body:E({signalName:e,input:{payloads:u}})}})}async function Uo({namespace:o,workflowId:t,runId:n,eventId:e,reason:r,resetReapplyType:i}){const c=w("workflow.reset",{namespace:o,workflowId:t,runId:n}),a={workflowExecution:{workflowId:t,runId:n},workflowTaskFinishEventId:e,resetReapplyType:i,requestId:io(),reason:r};return d(c,{notifyOnError:!1,options:{method:"POST",body:E(a)}})}async function Ko(o,t=fetch){const n=r=>{console.error(r)},e=w("workflow",o);return d(e,{request:t,onError:n,handleError:n}).then(I)}export{wo as a,bo as b,Qo as c,Vo as d,Io as e,Do as f,qo as g,Ko as h,R as i,zo as j,Uo as r,jo as s,No as t,ao as w}; diff --git a/ui/assets/local/_app/immutable/chunks/workflows.00769fe8.js b/ui/assets/local/_app/immutable/chunks/workflows.915912aa.js similarity index 87% rename from ui/assets/local/_app/immutable/chunks/workflows.00769fe8.js rename to ui/assets/local/_app/immutable/chunks/workflows.915912aa.js index 1af72f6c50..ec9d284cfa 100644 --- a/ui/assets/local/_app/immutable/chunks/workflows.00769fe8.js +++ b/ui/assets/local/_app/immutable/chunks/workflows.915912aa.js @@ -1 +1 @@ -import{j as i,r as k,w as c}from"./singletons.aae8f11e.js";import{p as f}from"./stores.9d4a2bb0.js";import{t as h}from"./translate.0a219ae4.js";import{n as u,ac as E}from"./index.09834243.js";import{r as d,a as l}from"./route-for-api.6f64f216.js";import{a as g,b}from"./workflow-service.56e6b262.js";const C=async(r,t,o=fetch)=>{let s=0,a=0;try{const e=d("workflows.count",{namespace:r});if(t){const n=l(e,{params:{query:t},onError:u,handleError:u,request:o}),w=l(e,{params:{query:""},onError:u,handleError:u,request:o}),[p,m]=await Promise.all([n,w]);a=parseInt((p==null?void 0:p.count)??"0"),s=parseInt(m==null?void 0:m.count)}else{const n=await l(e,{params:{},onError:u,handleError:u,request:o});s=parseInt(n==null?void 0:n.count)}}catch{}return{count:a,totalCount:s}},U=async({namespace:r,query:t})=>{try{const o="GROUP BY ExecutionStatus",s=d("workflows.count",{namespace:r}),{count:a,groups:e}=await l(s,{params:{query:t?`${t} ${o}`:`${o}`},notifyOnError:!1});return{count:a,groups:e}}catch{return{count:"0",groups:[]}}},W=300,P=async(r,t,o)=>{t.set(!0);try{await o()}catch(s){console.error(s)}r.set(!1),setTimeout(()=>{t.set(!1)},W)},A=i([f],([r])=>{var t,o,s;return Boolean((s=(o=(t=r.data)==null?void 0:t.systemInfo)==null?void 0:o.capabilities)==null?void 0:s.countGroupByExecutionStatus)}),B=c(0),v=i([f],([r])=>{var t,o;return(o=(t=r.data)==null?void 0:t.settings)==null?void 0:o.hideWorkflowQueryErrors}),I=i([f],([r])=>r.params.namespace),Q=i([f],([r])=>r.url.searchParams.get("query")),q=i([I,Q,B,g,v],([r,t,o,s,a])=>({namespace:r,query:t,refresh:o,supportsAdvancedVisibility:s,hideWorkflowQueryErrors:a})),x=r=>{F.set(r)},S=r=>q.subscribe(({namespace:t,query:o,supportsAdvancedVisibility:s,hideWorkflowQueryErrors:a})=>{P($,V,async()=>{const{workflows:e,error:n}=await b(t,{query:o});if(r(e),s&&!E(A)){const w=await C(t,o);x(w)}n?a?y.set(h("workflows","workflows-error-querying")):y.set(n):y.set("")})}),Y=c(""),V=c(!0),$=c(!0),F=c({count:0,totalCount:0}),y=c(""),z=k([],S),D=c("");export{D as a,F as b,y as c,z as d,U as f,A as g,$ as l,B as r,V as u,Y as w}; +import{j as i,r as k,w as c}from"./singletons.741208bb.js";import{p as f}from"./stores.cd833532.js";import{t as h}from"./translate.0a219ae4.js";import{n as u,ac as E}from"./index.09834243.js";import{r as d,a as l}from"./route-for-api.a8b11085.js";import{a as g,b}from"./workflow-service.14ef2cb6.js";const C=async(r,t,o=fetch)=>{let s=0,a=0;try{const e=d("workflows.count",{namespace:r});if(t){const n=l(e,{params:{query:t},onError:u,handleError:u,request:o}),w=l(e,{params:{query:""},onError:u,handleError:u,request:o}),[p,m]=await Promise.all([n,w]);a=parseInt((p==null?void 0:p.count)??"0"),s=parseInt(m==null?void 0:m.count)}else{const n=await l(e,{params:{},onError:u,handleError:u,request:o});s=parseInt(n==null?void 0:n.count)}}catch{}return{count:a,totalCount:s}},U=async({namespace:r,query:t})=>{try{const o="GROUP BY ExecutionStatus",s=d("workflows.count",{namespace:r}),{count:a,groups:e}=await l(s,{params:{query:t?`${t} ${o}`:`${o}`},notifyOnError:!1});return{count:a,groups:e}}catch{return{count:"0",groups:[]}}},W=300,P=async(r,t,o)=>{t.set(!0);try{await o()}catch(s){console.error(s)}r.set(!1),setTimeout(()=>{t.set(!1)},W)},A=i([f],([r])=>{var t,o,s;return Boolean((s=(o=(t=r.data)==null?void 0:t.systemInfo)==null?void 0:o.capabilities)==null?void 0:s.countGroupByExecutionStatus)}),B=c(0),v=i([f],([r])=>{var t,o;return(o=(t=r.data)==null?void 0:t.settings)==null?void 0:o.hideWorkflowQueryErrors}),I=i([f],([r])=>r.params.namespace),Q=i([f],([r])=>r.url.searchParams.get("query")),q=i([I,Q,B,g,v],([r,t,o,s,a])=>({namespace:r,query:t,refresh:o,supportsAdvancedVisibility:s,hideWorkflowQueryErrors:a})),x=r=>{F.set(r)},S=r=>q.subscribe(({namespace:t,query:o,supportsAdvancedVisibility:s,hideWorkflowQueryErrors:a})=>{P($,V,async()=>{const{workflows:e,error:n}=await b(t,{query:o});if(r(e),s&&!E(A)){const w=await C(t,o);x(w)}n?a?y.set(h("workflows","workflows-error-querying")):y.set(n):y.set("")})}),Y=c(""),V=c(!0),$=c(!0),F=c({count:0,totalCount:0}),y=c(""),z=k([],S),D=c("");export{D as a,F as b,y as c,z as d,U as f,A as g,$ as l,B as r,V as u,Y as w}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.c734c1a7.js b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.ba93c4dd.js similarity index 92% rename from ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.c734c1a7.js rename to ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.ba93c4dd.js index c978b101fe..e12cbfd44b 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.c734c1a7.js +++ b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.ba93c4dd.js @@ -1 +1 @@ -import{S as G,b as I,a as L,C as h,D as d,E as v,j as c,g as p,F as y,K as _,a5 as P,e as $,f as C,z as b,aa as z,h as w,k as F,ab as B}from"../chunks/index.09834243.js";import{E as N,a as j,b as q}from"../chunks/event-summary-table.295df242.js";import{P as D}from"../chunks/pagination.3eb97d83.js";import{t as g}from"../chunks/translate.0a219ae4.js";import{b as k,e as K}from"../chunks/event-view.fe644395.js";import{e as M}from"../chunks/filters.2cde2000.js";import{a as H}from"../chunks/import-events.1bc34d6c.js";function E(i,t,r){const e=i.slice();return e[10]=t[r],e}function S(i){let t,r;return t=new j({}),{c(){h(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,o){v(t,e,o),r=!0},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){y(t,e)}}}function A(i,t){let r,e,o;return e=new q({props:{event:t[10],compact:x,expandAll:t[1]==="true",initialItem:t[9]}}),{key:i,first:null,c(){r=$(),h(e.$$.fragment),this.h()},l(n){r=$(),d(e.$$.fragment,n),this.h()},h(){this.first=r},m(n,f){C(n,r,f),v(e,n,f),o=!0},p(n,f){t=n;const s={};f&256&&(s.event=t[10]),f&2&&(s.expandAll=t[1]==="true"),f&512&&(s.initialItem=t[9]),e.$set(s)},i(n){o||(c(e.$$.fragment,n),o=!0)},o(n){p(e.$$.fragment,n),o=!1},d(n){n&&F(r),y(e,n)}}}function J(i){let t=[],r=new Map,e,o,n=i[8];const f=a=>`${a[10].id}-${a[10].timestamp}`;for(let a=0;a{s=null}),w()):s||(s=S(),s.c(),c(s,1),s.m(e.parentNode,e)))},i(a){if(!o){for(let l=0;l({8:e,9:o}),({visibleItems:e,initialItem:o})=>(e?256:0)|(o?512:0)]},$$scope:{ctx:i}}}),{c(){h(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,o){v(t,e,o),r=!0},p(e,[o]){const n={};o&1&&(n.items=e[0]),o&8962&&(n.$$scope={dirty:o,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){y(t,e)}}}let x=!0;function R(i,t,r){let e,o,n,f,s,a,l;_(i,k,u=>r(1,f=u)),_(i,H,u=>r(5,s=u)),_(i,K,u=>r(6,a=u)),_(i,M,u=>r(7,l=u));function m(u){P(k,f=u.detail.expanded,f)}return i.$$.update=()=>{i.$$.dirty&128&&r(3,e=l),i.$$.dirty&96&&r(4,o=a==="descending"?[...s].reverse():s),i.$$.dirty&24&&r(0,n=o.filter(u=>e?u.category===e:u))},[n,f,m,e,o,s,a,l]}class ee extends G{constructor(t){super(),I(this,t,R,Q,L,{})}}export{ee as default}; +import{S as G,b as I,a as L,C as h,D as d,E as v,j as c,g as p,F as y,K as _,a5 as P,e as $,f as C,z as b,aa as z,h as w,k as F,ab as B}from"../chunks/index.09834243.js";import{E as N,a as j,b as q}from"../chunks/event-summary-table.c8c908b8.js";import{P as D}from"../chunks/pagination.6f99836b.js";import{t as g}from"../chunks/translate.0a219ae4.js";import{b as k,e as K}from"../chunks/event-view.f3ec8bd2.js";import{e as M}from"../chunks/filters.d78bd1e9.js";import{a as H}from"../chunks/import-events.0a475568.js";function E(i,t,r){const e=i.slice();return e[10]=t[r],e}function S(i){let t,r;return t=new j({}),{c(){h(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,o){v(t,e,o),r=!0},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){y(t,e)}}}function A(i,t){let r,e,o;return e=new q({props:{event:t[10],compact:x,expandAll:t[1]==="true",initialItem:t[9]}}),{key:i,first:null,c(){r=$(),h(e.$$.fragment),this.h()},l(n){r=$(),d(e.$$.fragment,n),this.h()},h(){this.first=r},m(n,f){C(n,r,f),v(e,n,f),o=!0},p(n,f){t=n;const s={};f&256&&(s.event=t[10]),f&2&&(s.expandAll=t[1]==="true"),f&512&&(s.initialItem=t[9]),e.$set(s)},i(n){o||(c(e.$$.fragment,n),o=!0)},o(n){p(e.$$.fragment,n),o=!1},d(n){n&&F(r),y(e,n)}}}function J(i){let t=[],r=new Map,e,o,n=i[8];const f=a=>`${a[10].id}-${a[10].timestamp}`;for(let a=0;a{s=null}),w()):s||(s=S(),s.c(),c(s,1),s.m(e.parentNode,e)))},i(a){if(!o){for(let l=0;l({8:e,9:o}),({visibleItems:e,initialItem:o})=>(e?256:0)|(o?512:0)]},$$scope:{ctx:i}}}),{c(){h(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,o){v(t,e,o),r=!0},p(e,[o]){const n={};o&1&&(n.items=e[0]),o&8962&&(n.$$scope={dirty:o,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){y(t,e)}}}let x=!0;function R(i,t,r){let e,o,n,f,s,a,l;_(i,k,u=>r(1,f=u)),_(i,H,u=>r(5,s=u)),_(i,K,u=>r(6,a=u)),_(i,M,u=>r(7,l=u));function m(u){P(k,f=u.detail.expanded,f)}return i.$$.update=()=>{i.$$.dirty&128&&r(3,e=l),i.$$.dirty&96&&r(4,o=a==="descending"?[...s].reverse():s),i.$$.dirty&24&&r(0,n=o.filter(u=>e?u.category===e:u))},[n,f,m,e,o,s,a,l]}class ee extends G{constructor(t){super(),I(this,t,R,Q,L,{})}}export{ee as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.386959fd.js b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.4960b25c.js similarity index 92% rename from ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.386959fd.js rename to ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.4960b25c.js index 96675e5aa5..b7692df5c5 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.386959fd.js +++ b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.4960b25c.js @@ -1 +1 @@ -import{S as I,b as L,a as P,C as h,D as d,E as v,j as c,g as p,F as y,K as _,a5 as z,e as $,f as C,z as b,aa as B,h as w,k as F,ab as N}from"../chunks/index.09834243.js";import{E as j,a as q,b as D}from"../chunks/event-summary-table.295df242.js";import{P as K}from"../chunks/pagination.3eb97d83.js";import{t as g}from"../chunks/translate.0a219ae4.js";import{b as k,e as M}from"../chunks/event-view.fe644395.js";import{e as G}from"../chunks/filters.2cde2000.js";import{i as H}from"../chunks/import-events.1bc34d6c.js";function E(i,t,r){const e=i.slice();return e[10]=t[r],e}function S(i){let t,r;return t=new q({}),{c(){h(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,o){v(t,e,o),r=!0},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){y(t,e)}}}function A(i,t){let r,e,o;return e=new D({props:{event:t[10],compact:x,expandAll:t[1]==="true",initialItem:t[9]}}),{key:i,first:null,c(){r=$(),h(e.$$.fragment),this.h()},l(n){r=$(),d(e.$$.fragment,n),this.h()},h(){this.first=r},m(n,f){C(n,r,f),v(e,n,f),o=!0},p(n,f){t=n;const s={};f&256&&(s.event=t[10]),f&2&&(s.expandAll=t[1]==="true"),f&512&&(s.initialItem=t[9]),e.$set(s)},i(n){o||(c(e.$$.fragment,n),o=!0)},o(n){p(e.$$.fragment,n),o=!1},d(n){n&&F(r),y(e,n)}}}function J(i){let t=[],r=new Map,e,o,n=i[8];const f=a=>`${a[10].id}-${a[10].timestamp}`;for(let a=0;a{s=null}),w()):s||(s=S(),s.c(),c(s,1),s.m(e.parentNode,e)))},i(a){if(!o){for(let l=0;l({8:e,9:o}),({visibleItems:e,initialItem:o})=>(e?256:0)|(o?512:0)]},$$scope:{ctx:i}}}),{c(){h(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,o){v(t,e,o),r=!0},p(e,[o]){const n={};o&1&&(n.items=e[0]),o&8962&&(n.$$scope={dirty:o,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){y(t,e)}}}let x=!1;function R(i,t,r){let e,o,n,f,s,a,l;_(i,k,u=>r(1,f=u)),_(i,H,u=>r(5,s=u)),_(i,M,u=>r(6,a=u)),_(i,G,u=>r(7,l=u));function m(u){z(k,f=u.detail.expanded,f)}return i.$$.update=()=>{i.$$.dirty&128&&r(3,e=l),i.$$.dirty&96&&r(4,o=a==="descending"?[...s].reverse():s),i.$$.dirty&24&&r(0,n=o.filter(u=>e?u.category===e:u))},[n,f,m,e,o,s,a,l]}class ee extends I{constructor(t){super(),L(this,t,R,Q,P,{})}}export{ee as default}; +import{S as I,b as L,a as P,C as h,D as d,E as v,j as c,g as p,F as y,K as _,a5 as z,e as $,f as C,z as b,aa as B,h as w,k as F,ab as N}from"../chunks/index.09834243.js";import{E as j,a as q,b as D}from"../chunks/event-summary-table.c8c908b8.js";import{P as K}from"../chunks/pagination.6f99836b.js";import{t as g}from"../chunks/translate.0a219ae4.js";import{b as k,e as M}from"../chunks/event-view.f3ec8bd2.js";import{e as G}from"../chunks/filters.d78bd1e9.js";import{i as H}from"../chunks/import-events.0a475568.js";function E(i,t,r){const e=i.slice();return e[10]=t[r],e}function S(i){let t,r;return t=new q({}),{c(){h(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,o){v(t,e,o),r=!0},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){y(t,e)}}}function A(i,t){let r,e,o;return e=new D({props:{event:t[10],compact:x,expandAll:t[1]==="true",initialItem:t[9]}}),{key:i,first:null,c(){r=$(),h(e.$$.fragment),this.h()},l(n){r=$(),d(e.$$.fragment,n),this.h()},h(){this.first=r},m(n,f){C(n,r,f),v(e,n,f),o=!0},p(n,f){t=n;const s={};f&256&&(s.event=t[10]),f&2&&(s.expandAll=t[1]==="true"),f&512&&(s.initialItem=t[9]),e.$set(s)},i(n){o||(c(e.$$.fragment,n),o=!0)},o(n){p(e.$$.fragment,n),o=!1},d(n){n&&F(r),y(e,n)}}}function J(i){let t=[],r=new Map,e,o,n=i[8];const f=a=>`${a[10].id}-${a[10].timestamp}`;for(let a=0;a{s=null}),w()):s||(s=S(),s.c(),c(s,1),s.m(e.parentNode,e)))},i(a){if(!o){for(let l=0;l({8:e,9:o}),({visibleItems:e,initialItem:o})=>(e?256:0)|(o?512:0)]},$$scope:{ctx:i}}}),{c(){h(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,o){v(t,e,o),r=!0},p(e,[o]){const n={};o&1&&(n.items=e[0]),o&8962&&(n.$$scope={dirty:o,ctx:e}),t.$set(n)},i(e){r||(c(t.$$.fragment,e),r=!0)},o(e){p(t.$$.fragment,e),r=!1},d(e){y(t,e)}}}let x=!1;function R(i,t,r){let e,o,n,f,s,a,l;_(i,k,u=>r(1,f=u)),_(i,H,u=>r(5,s=u)),_(i,M,u=>r(6,a=u)),_(i,G,u=>r(7,l=u));function m(u){z(k,f=u.detail.expanded,f)}return i.$$.update=()=>{i.$$.dirty&128&&r(3,e=l),i.$$.dirty&96&&r(4,o=a==="descending"?[...s].reverse():s),i.$$.dirty&24&&r(0,n=o.filter(u=>e?u.category===e:u))},[n,f,m,e,o,s,a,l]}class ee extends I{constructor(t){super(),L(this,t,R,Q,P,{})}}export{ee as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-json-page.svelte.9f4e903f.js b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-json-page.svelte.15e5dbe2.js similarity index 80% rename from ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-json-page.svelte.9f4e903f.js rename to ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-json-page.svelte.15e5dbe2.js index 1db1f0a87f..d3df7a0370 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-json-page.svelte.9f4e903f.js +++ b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-json-page.svelte.15e5dbe2.js @@ -1 +1 @@ -import{S as a,b as i,a as m,C as c,D as f,E as p,j as u,g as l,F as _,K as $}from"../chunks/index.09834243.js";import{W as g}from"../chunks/workflow-json-navigator.b7922362.js";import{i as v}from"../chunks/import-events.1bc34d6c.js";function d(r){let e,n;return e=new g({props:{events:r[0],decodeEventHistory:!1}}),{c(){c(e.$$.fragment)},l(t){f(e.$$.fragment,t)},m(t,o){p(e,t,o),n=!0},p(t,[o]){const s={};o&1&&(s.events=t[0]),e.$set(s)},i(t){n||(u(e.$$.fragment,t),n=!0)},o(t){l(e.$$.fragment,t),n=!1},d(t){_(e,t)}}}function w(r,e,n){let t;return $(r,v,o=>n(0,t=o)),[t]}class k extends a{constructor(e){super(),i(this,e,w,d,m,{})}}export{k as default}; +import{S as a,b as i,a as m,C as c,D as f,E as p,j as u,g as l,F as _,K as $}from"../chunks/index.09834243.js";import{W as g}from"../chunks/workflow-json-navigator.1792b935.js";import{i as v}from"../chunks/import-events.0a475568.js";function d(r){let e,n;return e=new g({props:{events:r[0],decodeEventHistory:!1}}),{c(){c(e.$$.fragment)},l(t){f(e.$$.fragment,t)},m(t,o){p(e,t,o),n=!0},p(t,[o]){const s={};o&1&&(s.events=t[0]),e.$set(s)},i(t){n||(u(e.$$.fragment,t),n=!0)},o(t){l(e.$$.fragment,t),n=!1},d(t){_(e,t)}}}function w(r,e,n){let t;return $(r,v,o=>n(0,t=o)),[t]}class k extends a{constructor(e){super(),i(this,e,w,d,m,{})}}export{k as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.5cfe4b92.js b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.28d38e72.js similarity index 95% rename from ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.5cfe4b92.js rename to ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.28d38e72.js index 3006738c63..1648524a6d 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.5cfe4b92.js +++ b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.28d38e72.js @@ -1 +1 @@ -import{S as M,b as P,a as Q,G as R,m as j,w as A,c as q,C as T,p as I,q as N,x as F,k as c,d as y,D as V,u as _,f as S,L as g,E as C,H as W,I as X,J as Y,j as d,g as h,F as D,K as Z,n as J}from"../chunks/index.09834243.js";import{E as x}from"../chunks/event-history-file-import.338772bc.js";import{T as ee,a as G}from"../chunks/toggle-buttons.c3213cc2.js";import{t as H}from"../chunks/translate.0a219ae4.js";import{l as te}from"../chunks/namespaces.5721b9bd.js";import{e as k}from"../chunks/route-for.3b55a4c6.js";function se(a){let t=H("workflows","history")+"",s;return{c(){s=A(t)},l(e){s=F(e,t)},m(e,o){S(e,s,o)},p:J,d(e){e&&c(s)}}}function ne(a){let t=H("workflows","compact")+"",s;return{c(){s=A(t)},l(e){s=F(e,t)},m(e,o){S(e,s,o)},p:J,d(e){e&&c(s)}}}function oe(a){let t=H("workflows","json")+"",s;return{c(){s=A(t)},l(e){s=F(e,t)},m(e,o){S(e,s,o)},p:J,d(e){e&&c(s)}}}function ae(a){let t,s,e,o,l,i;return t=new G({props:{icon:"feed",href:k(a[0],"feed"),$$slots:{default:[se]},$$scope:{ctx:a}}}),e=new G({props:{icon:"compact",href:k(a[0],"compact"),$$slots:{default:[ne]},$$scope:{ctx:a}}}),l=new G({props:{icon:"json",href:k(a[0],"json"),$$slots:{default:[oe]},$$scope:{ctx:a}}}),{c(){T(t.$$.fragment),s=q(),T(e.$$.fragment),o=q(),T(l.$$.fragment)},l(n){V(t.$$.fragment,n),s=y(n),V(e.$$.fragment,n),o=y(n),V(l.$$.fragment,n)},m(n,r){C(t,n,r),S(n,s,r),C(e,n,r),S(n,o,r),C(l,n,r),i=!0},p(n,r){const b={};r&1&&(b.href=k(n[0],"feed")),r&4&&(b.$$scope={dirty:r,ctx:n}),t.$set(b);const m={};r&1&&(m.href=k(n[0],"compact")),r&4&&(m.$$scope={dirty:r,ctx:n}),e.$set(m);const p={};r&1&&(p.href=k(n[0],"json")),r&4&&(p.$$scope={dirty:r,ctx:n}),l.$set(p)},i(n){i||(d(t.$$.fragment,n),d(e.$$.fragment,n),d(l.$$.fragment,n),i=!0)},o(n){h(t.$$.fragment,n),h(e.$$.fragment,n),h(l.$$.fragment,n),i=!1},d(n){D(t,n),n&&c(s),D(e,n),n&&c(o),D(l,n)}}}function le(a){let t,s,e,o=H("events","import-event-history")+"",l,i,n,r,b,m,p,v,L,E;r=new x({}),v=new ee({props:{$$slots:{default:[ae]},$$scope:{ctx:a}}});const U=a[1].default,$=R(U,a,a[2],null);return{c(){t=j("section"),s=j("nav"),e=j("h3"),l=A(o),i=q(),n=j("div"),T(r.$$.fragment),b=q(),m=j("nav"),p=j("div"),T(v.$$.fragment),L=q(),$&&$.c(),this.h()},l(f){t=I(f,"SECTION",{id:!0});var u=N(t);s=I(u,"NAV",{class:!0,"aria-label":!0});var w=N(s);e=I(w,"H3",{class:!0});var K=N(e);l=F(K,o),K.forEach(c),i=y(w),n=I(w,"DIV",{class:!0});var O=N(n);V(r.$$.fragment,O),O.forEach(c),w.forEach(c),b=y(u),m=I(u,"NAV",{class:!0,"aria-label":!0});var z=N(m);p=I(z,"DIV",{id:!0,class:!0});var B=N(p);V(v.$$.fragment,B),B.forEach(c),z.forEach(c),L=y(u),$&&$.l(u),u.forEach(c),this.h()},h(){_(e,"class","text-lg font-medium"),_(n,"class","flex gap-4"),_(s,"class","flex items-end justify-between gap-4 pb-4"),_(s,"aria-label",H("events","import-event-history")),_(p,"id","event-view-toggle"),_(p,"class","flex gap-4 bg-white"),_(m,"class","flex items-end justify-end gap-4"),_(m,"aria-label",H("events","event-history-view")),_(t,"id","event-history")},m(f,u){S(f,t,u),g(t,s),g(s,e),g(e,l),g(s,i),g(s,n),C(r,n,null),g(t,b),g(t,m),g(m,p),C(v,p,null),g(t,L),$&&$.m(t,null),E=!0},p(f,[u]){const w={};u&5&&(w.$$scope={dirty:u,ctx:f}),v.$set(w),$&&$.p&&(!E||u&4)&&W($,U,f,f[2],E?Y(U,f[2],u,null):X(f[2]),null)},i(f){E||(d(r.$$.fragment,f),d(v.$$.fragment,f),d($,f),E=!0)},o(f){h(r.$$.fragment,f),h(v.$$.fragment,f),h($,f),E=!1},d(f){f&&c(t),D(r),D(v),$&&$.d(f)}}}function re(a,t,s){let e;Z(a,te,i=>s(0,e=i));let{$$slots:o={},$$scope:l}=t;return a.$$set=i=>{"$$scope"in i&&s(2,l=i.$$scope)},[e,o,l]}class fe extends M{constructor(t){super(),P(this,t,re,le,Q,{})}}function ie(a){let t;const s=a[0].default,e=R(s,a,a[1],null);return{c(){e&&e.c()},l(o){e&&e.l(o)},m(o,l){e&&e.m(o,l),t=!0},p(o,l){e&&e.p&&(!t||l&2)&&W(e,s,o,o[1],t?Y(s,o[1],l,null):X(o[1]),null)},i(o){t||(d(e,o),t=!0)},o(o){h(e,o),t=!1},d(o){e&&e.d(o)}}}function $e(a){let t,s;return t=new fe({props:{$$slots:{default:[ie]},$$scope:{ctx:a}}}),{c(){T(t.$$.fragment)},l(e){V(t.$$.fragment,e)},m(e,o){C(t,e,o),s=!0},p(e,[o]){const l={};o&2&&(l.$$scope={dirty:o,ctx:e}),t.$set(l)},i(e){s||(d(t.$$.fragment,e),s=!0)},o(e){h(t.$$.fragment,e),s=!1},d(e){D(t,e)}}}function ue(a,t,s){let{$$slots:e={},$$scope:o}=t;return a.$$set=l=>{"$$scope"in l&&s(1,o=l.$$scope)},[e,o]}class de extends M{constructor(t){super(),P(this,t,ue,$e,Q,{})}}export{de as default}; +import{S as M,b as P,a as Q,G as R,m as j,w as A,c as q,C as T,p as I,q as N,x as F,k as c,d as y,D as V,u as _,f as S,L as g,E as C,H as W,I as X,J as Y,j as d,g as h,F as D,K as Z,n as J}from"../chunks/index.09834243.js";import{E as x}from"../chunks/event-history-file-import.d64caee8.js";import{T as ee,a as G}from"../chunks/toggle-buttons.d3e32817.js";import{t as H}from"../chunks/translate.0a219ae4.js";import{l as te}from"../chunks/namespaces.5ad7f936.js";import{e as k}from"../chunks/route-for.d76d8056.js";function se(a){let t=H("workflows","history")+"",s;return{c(){s=A(t)},l(e){s=F(e,t)},m(e,o){S(e,s,o)},p:J,d(e){e&&c(s)}}}function ne(a){let t=H("workflows","compact")+"",s;return{c(){s=A(t)},l(e){s=F(e,t)},m(e,o){S(e,s,o)},p:J,d(e){e&&c(s)}}}function oe(a){let t=H("workflows","json")+"",s;return{c(){s=A(t)},l(e){s=F(e,t)},m(e,o){S(e,s,o)},p:J,d(e){e&&c(s)}}}function ae(a){let t,s,e,o,l,i;return t=new G({props:{icon:"feed",href:k(a[0],"feed"),$$slots:{default:[se]},$$scope:{ctx:a}}}),e=new G({props:{icon:"compact",href:k(a[0],"compact"),$$slots:{default:[ne]},$$scope:{ctx:a}}}),l=new G({props:{icon:"json",href:k(a[0],"json"),$$slots:{default:[oe]},$$scope:{ctx:a}}}),{c(){T(t.$$.fragment),s=q(),T(e.$$.fragment),o=q(),T(l.$$.fragment)},l(n){V(t.$$.fragment,n),s=y(n),V(e.$$.fragment,n),o=y(n),V(l.$$.fragment,n)},m(n,r){C(t,n,r),S(n,s,r),C(e,n,r),S(n,o,r),C(l,n,r),i=!0},p(n,r){const b={};r&1&&(b.href=k(n[0],"feed")),r&4&&(b.$$scope={dirty:r,ctx:n}),t.$set(b);const m={};r&1&&(m.href=k(n[0],"compact")),r&4&&(m.$$scope={dirty:r,ctx:n}),e.$set(m);const p={};r&1&&(p.href=k(n[0],"json")),r&4&&(p.$$scope={dirty:r,ctx:n}),l.$set(p)},i(n){i||(d(t.$$.fragment,n),d(e.$$.fragment,n),d(l.$$.fragment,n),i=!0)},o(n){h(t.$$.fragment,n),h(e.$$.fragment,n),h(l.$$.fragment,n),i=!1},d(n){D(t,n),n&&c(s),D(e,n),n&&c(o),D(l,n)}}}function le(a){let t,s,e,o=H("events","import-event-history")+"",l,i,n,r,b,m,p,v,L,E;r=new x({}),v=new ee({props:{$$slots:{default:[ae]},$$scope:{ctx:a}}});const U=a[1].default,$=R(U,a,a[2],null);return{c(){t=j("section"),s=j("nav"),e=j("h3"),l=A(o),i=q(),n=j("div"),T(r.$$.fragment),b=q(),m=j("nav"),p=j("div"),T(v.$$.fragment),L=q(),$&&$.c(),this.h()},l(f){t=I(f,"SECTION",{id:!0});var u=N(t);s=I(u,"NAV",{class:!0,"aria-label":!0});var w=N(s);e=I(w,"H3",{class:!0});var K=N(e);l=F(K,o),K.forEach(c),i=y(w),n=I(w,"DIV",{class:!0});var O=N(n);V(r.$$.fragment,O),O.forEach(c),w.forEach(c),b=y(u),m=I(u,"NAV",{class:!0,"aria-label":!0});var z=N(m);p=I(z,"DIV",{id:!0,class:!0});var B=N(p);V(v.$$.fragment,B),B.forEach(c),z.forEach(c),L=y(u),$&&$.l(u),u.forEach(c),this.h()},h(){_(e,"class","text-lg font-medium"),_(n,"class","flex gap-4"),_(s,"class","flex items-end justify-between gap-4 pb-4"),_(s,"aria-label",H("events","import-event-history")),_(p,"id","event-view-toggle"),_(p,"class","flex gap-4 bg-white"),_(m,"class","flex items-end justify-end gap-4"),_(m,"aria-label",H("events","event-history-view")),_(t,"id","event-history")},m(f,u){S(f,t,u),g(t,s),g(s,e),g(e,l),g(s,i),g(s,n),C(r,n,null),g(t,b),g(t,m),g(m,p),C(v,p,null),g(t,L),$&&$.m(t,null),E=!0},p(f,[u]){const w={};u&5&&(w.$$scope={dirty:u,ctx:f}),v.$set(w),$&&$.p&&(!E||u&4)&&W($,U,f,f[2],E?Y(U,f[2],u,null):X(f[2]),null)},i(f){E||(d(r.$$.fragment,f),d(v.$$.fragment,f),d($,f),E=!0)},o(f){h(r.$$.fragment,f),h(v.$$.fragment,f),h($,f),E=!1},d(f){f&&c(t),D(r),D(v),$&&$.d(f)}}}function re(a,t,s){let e;Z(a,te,i=>s(0,e=i));let{$$slots:o={},$$scope:l}=t;return a.$$set=i=>{"$$scope"in i&&s(2,l=i.$$scope)},[e,o,l]}class fe extends M{constructor(t){super(),P(this,t,re,le,Q,{})}}function ie(a){let t;const s=a[0].default,e=R(s,a,a[1],null);return{c(){e&&e.c()},l(o){e&&e.l(o)},m(o,l){e&&e.m(o,l),t=!0},p(o,l){e&&e.p&&(!t||l&2)&&W(e,s,o,o[1],t?Y(s,o[1],l,null):X(o[1]),null)},i(o){t||(d(e,o),t=!0)},o(o){h(e,o),t=!1},d(o){e&&e.d(o)}}}function $e(a){let t,s;return t=new fe({props:{$$slots:{default:[ie]},$$scope:{ctx:a}}}),{c(){T(t.$$.fragment)},l(e){V(t.$$.fragment,e)},m(e,o){C(t,e,o),s=!0},p(e,[o]){const l={};o&2&&(l.$$scope={dirty:o,ctx:e}),t.$set(l)},i(e){s||(d(t.$$.fragment,e),s=!0)},o(e){h(t.$$.fragment,e),s=!1},d(e){D(t,e)}}}function ue(a,t,s){let{$$slots:e={},$$scope:o}=t;return a.$$set=l=>{"$$scope"in l&&s(1,o=l.$$scope)},[e,o]}class de extends M{constructor(t){super(),P(this,t,ue,$e,Q,{})}}export{de as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-page.ts.33d930b1.js b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-page.ts.33d930b1.js new file mode 100644 index 0000000000..fee25d874c --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-page.ts.33d930b1.js @@ -0,0 +1 @@ +import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.d76d8056.js";import{l as t}from"../chunks/_page.a2e291f1.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-page.ts.95c72fbb.js b/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-page.ts.95c72fbb.js deleted file mode 100644 index b58d27adcc..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-import-events-_namespace_-_workflow_-_run_-history-page.ts.95c72fbb.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.3b55a4c6.js";import{l as t}from"../chunks/_page.000985df.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-import-events-page.svelte.0f107002.js b/ui/assets/local/_app/immutable/entry/(app)-import-events-page.svelte.7623444e.js similarity index 94% rename from ui/assets/local/_app/immutable/entry/(app)-import-events-page.svelte.0f107002.js rename to ui/assets/local/_app/immutable/entry/(app)-import-events-page.svelte.7623444e.js index 421dd0556f..a6617aef73 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-import-events-page.svelte.0f107002.js +++ b/ui/assets/local/_app/immutable/entry/(app)-import-events-page.svelte.7623444e.js @@ -1 +1 @@ -import{S as et,b as st,a as at,m as l,w as N,c as w,C,p as m,q as f,x as O,k as i,d as H,D,u as o,f as rt,L as r,E as S,j as T,g as V,F as L,n as nt}from"../chunks/index.09834243.js";import{E as ot}from"../chunks/event-history-file-import.338772bc.js";import{C as Z}from"../chunks/code-block.5b4e5d21.js";import{L as it}from"../chunks/link.4944a6a5.js";import{t as $}from"../chunks/translate.0a219ae4.js";import{s as tt}from"../chunks/parse-with-big-int.b38462f3.js";function ct(v){let t=$("events","api-history-link")+"",s;return{c(){s=N(t)},l(e){s=O(e,t)},m(e,b){rt(e,s,b)},p:nt,d(e){e&&i(s)}}}function lt(v){let t,s,e,b=$("events","import-event-history")+"",A,B,E,h,F,n,x,P,W,I,p,z,k,M=$("events","history-expected-formats")+"",G,J,u,g,K,_,j;return h=new ot({}),p=new it({props:{target:"_blank",href:"https://github.com/temporalio/api/blob/1cd0ac0bbd8e71c7bfc9fe1900c678b432e66e5b/temporal/api/history/v1/message.proto",class:"mb-8",$$slots:{default:[ct]},$$scope:{ctx:v}}}),g=new Z({props:{content:tt(v[0]),inline:!0,copyIconTitle:$("copy-icon-title"),copySuccessIconTitle:$("copy-success-icon-title")}}),_=new Z({props:{content:tt(mt),inline:!0,copyIconTitle:$("copy-icon-title"),copySuccessIconTitle:$("copy-success-icon-title")}}),{c(){t=l("section"),s=l("nav"),e=l("h1"),A=N(b),B=w(),E=l("div"),C(h.$$.fragment),F=w(),n=l("div"),x=l("code"),P=N("type HistoryEvent = temporal.api.history.v1.IHistoryEvent"),W=w(),I=l("div"),C(p.$$.fragment),z=w(),k=l("h2"),G=N(M),J=w(),u=l("div"),C(g.$$.fragment),K=w(),C(_.$$.fragment),this.h()},l(a){t=m(a,"SECTION",{class:!0});var c=f(t);s=m(c,"NAV",{id:!0,class:!0,"aria-label":!0});var y=f(s);e=m(y,"H1",{class:!0,"data-testid":!0});var Q=f(e);A=O(Q,b),Q.forEach(i),B=H(y),E=m(y,"DIV",{class:!0});var R=f(E);D(h.$$.fragment,R),R.forEach(i),y.forEach(i),F=H(c),n=m(c,"DIV",{class:!0});var d=f(n);x=m(d,"CODE",{class:!0});var U=f(x);P=O(U,"type HistoryEvent = temporal.api.history.v1.IHistoryEvent"),U.forEach(i),W=H(d),I=m(d,"DIV",{class:!0});var X=f(I);D(p.$$.fragment,X),X.forEach(i),z=H(d),k=m(d,"H2",{class:!0});var Y=f(k);G=O(Y,M),Y.forEach(i),J=H(d),u=m(d,"DIV",{class:!0});var q=f(u);D(g.$$.fragment,q),K=H(q),D(_.$$.fragment,q),q.forEach(i),d.forEach(i),c.forEach(i),this.h()},h(){o(e,"class","text-lg font-medium"),o(e,"data-testid","import-event-history"),o(E,"class","flex gap-4"),o(s,"id","event-history"),o(s,"class","block items-center justify-between gap-4 pb-4 lg:flex"),o(s,"aria-label",$("events","import-event-history")),o(x,"class","text-md bg-gray-200 p-2 font-medium"),o(I,"class","mt-4"),o(k,"class","mt-8 text-lg font-medium"),o(u,"class","h-40 text-center"),o(n,"class","w-full md:w-1/2"),o(t,"class","flex flex-col gap-4")},m(a,c){rt(a,t,c),r(t,s),r(s,e),r(e,A),r(s,B),r(s,E),S(h,E,null),r(t,F),r(t,n),r(n,x),r(x,P),r(n,W),r(n,I),S(p,I,null),r(n,z),r(n,k),r(k,G),r(n,J),r(n,u),S(g,u,null),r(u,K),S(_,u,null),j=!0},p(a,[c]){const y={};c&2&&(y.$$scope={dirty:c,ctx:a}),p.$set(y)},i(a){j||(T(h.$$.fragment,a),T(p.$$.fragment,a),T(g.$$.fragment,a),T(_.$$.fragment,a),j=!0)},o(a){V(h.$$.fragment,a),V(p.$$.fragment,a),V(g.$$.fragment,a),V(_.$$.fragment,a),j=!1},d(a){a&&i(t),L(h),L(p),L(g),L(_)}}}const mt="HistoryEvent[]";function ft(v){return[{events:"HistoryEvent[]"}]}class pt extends et{constructor(t){super(),st(this,t,ft,lt,at,{})}}function ut(v){let t,s;return t=new pt({}),{c(){C(t.$$.fragment)},l(e){D(t.$$.fragment,e)},m(e,b){S(t,e,b),s=!0},p:nt,i(e){s||(T(t.$$.fragment,e),s=!0)},o(e){V(t.$$.fragment,e),s=!1},d(e){L(t,e)}}}class yt extends et{constructor(t){super(),st(this,t,null,ut,at,{})}}export{yt as default}; +import{S as et,b as st,a as at,m as l,w as N,c as w,C,p as m,q as f,x as O,k as i,d as H,D,u as o,f as rt,L as r,E as S,j as T,g as V,F as L,n as nt}from"../chunks/index.09834243.js";import{E as ot}from"../chunks/event-history-file-import.d64caee8.js";import{C as Z}from"../chunks/code-block.797d93a9.js";import{L as it}from"../chunks/link.7cb1390a.js";import{t as $}from"../chunks/translate.0a219ae4.js";import{s as tt}from"../chunks/parse-with-big-int.b38462f3.js";function ct(v){let t=$("events","api-history-link")+"",s;return{c(){s=N(t)},l(e){s=O(e,t)},m(e,b){rt(e,s,b)},p:nt,d(e){e&&i(s)}}}function lt(v){let t,s,e,b=$("events","import-event-history")+"",A,B,E,h,F,n,x,P,W,I,p,z,k,M=$("events","history-expected-formats")+"",G,J,u,g,K,_,j;return h=new ot({}),p=new it({props:{target:"_blank",href:"https://github.com/temporalio/api/blob/1cd0ac0bbd8e71c7bfc9fe1900c678b432e66e5b/temporal/api/history/v1/message.proto",class:"mb-8",$$slots:{default:[ct]},$$scope:{ctx:v}}}),g=new Z({props:{content:tt(v[0]),inline:!0,copyIconTitle:$("copy-icon-title"),copySuccessIconTitle:$("copy-success-icon-title")}}),_=new Z({props:{content:tt(mt),inline:!0,copyIconTitle:$("copy-icon-title"),copySuccessIconTitle:$("copy-success-icon-title")}}),{c(){t=l("section"),s=l("nav"),e=l("h1"),A=N(b),B=w(),E=l("div"),C(h.$$.fragment),F=w(),n=l("div"),x=l("code"),P=N("type HistoryEvent = temporal.api.history.v1.IHistoryEvent"),W=w(),I=l("div"),C(p.$$.fragment),z=w(),k=l("h2"),G=N(M),J=w(),u=l("div"),C(g.$$.fragment),K=w(),C(_.$$.fragment),this.h()},l(a){t=m(a,"SECTION",{class:!0});var c=f(t);s=m(c,"NAV",{id:!0,class:!0,"aria-label":!0});var y=f(s);e=m(y,"H1",{class:!0,"data-testid":!0});var Q=f(e);A=O(Q,b),Q.forEach(i),B=H(y),E=m(y,"DIV",{class:!0});var R=f(E);D(h.$$.fragment,R),R.forEach(i),y.forEach(i),F=H(c),n=m(c,"DIV",{class:!0});var d=f(n);x=m(d,"CODE",{class:!0});var U=f(x);P=O(U,"type HistoryEvent = temporal.api.history.v1.IHistoryEvent"),U.forEach(i),W=H(d),I=m(d,"DIV",{class:!0});var X=f(I);D(p.$$.fragment,X),X.forEach(i),z=H(d),k=m(d,"H2",{class:!0});var Y=f(k);G=O(Y,M),Y.forEach(i),J=H(d),u=m(d,"DIV",{class:!0});var q=f(u);D(g.$$.fragment,q),K=H(q),D(_.$$.fragment,q),q.forEach(i),d.forEach(i),c.forEach(i),this.h()},h(){o(e,"class","text-lg font-medium"),o(e,"data-testid","import-event-history"),o(E,"class","flex gap-4"),o(s,"id","event-history"),o(s,"class","block items-center justify-between gap-4 pb-4 lg:flex"),o(s,"aria-label",$("events","import-event-history")),o(x,"class","text-md bg-gray-200 p-2 font-medium"),o(I,"class","mt-4"),o(k,"class","mt-8 text-lg font-medium"),o(u,"class","h-40 text-center"),o(n,"class","w-full md:w-1/2"),o(t,"class","flex flex-col gap-4")},m(a,c){rt(a,t,c),r(t,s),r(s,e),r(e,A),r(s,B),r(s,E),S(h,E,null),r(t,F),r(t,n),r(n,x),r(x,P),r(n,W),r(n,I),S(p,I,null),r(n,z),r(n,k),r(k,G),r(n,J),r(n,u),S(g,u,null),r(u,K),S(_,u,null),j=!0},p(a,[c]){const y={};c&2&&(y.$$scope={dirty:c,ctx:a}),p.$set(y)},i(a){j||(T(h.$$.fragment,a),T(p.$$.fragment,a),T(g.$$.fragment,a),T(_.$$.fragment,a),j=!0)},o(a){V(h.$$.fragment,a),V(p.$$.fragment,a),V(g.$$.fragment,a),V(_.$$.fragment,a),j=!1},d(a){a&&i(t),L(h),L(p),L(g),L(_)}}}const mt="HistoryEvent[]";function ft(v){return[{events:"HistoryEvent[]"}]}class pt extends et{constructor(t){super(),st(this,t,ft,lt,at,{})}}function ut(v){let t,s;return t=new pt({}),{c(){C(t.$$.fragment)},l(e){D(t.$$.fragment,e)},m(e,b){S(t,e,b),s=!0},p:nt,i(e){s||(T(t.$$.fragment,e),s=!0)},o(e){V(t.$$.fragment,e),s=!1},d(e){L(t,e)}}}class yt extends et{constructor(t){super(),st(this,t,null,ut,at,{})}}export{yt as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-import-layout.svelte.1551be2e.js b/ui/assets/local/_app/immutable/entry/(app)-import-layout.svelte.a8105da0.js similarity index 93% rename from ui/assets/local/_app/immutable/entry/(app)-import-layout.svelte.1551be2e.js rename to ui/assets/local/_app/immutable/entry/(app)-import-layout.svelte.a8105da0.js index a6941e9737..4bfbd7c97f 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-import-layout.svelte.1551be2e.js +++ b/ui/assets/local/_app/immutable/entry/(app)-import-layout.svelte.a8105da0.js @@ -1 +1 @@ -import{S as u,b as _,a as m,G as c,C as $,c as g,D as d,d as b,E as h,f as y,H as C,I as E,J as H,j as f,g as p,F as I,k as P,K as S}from"../chunks/index.09834243.js";import{p as j}from"../chunks/stores.9d4a2bb0.js";import{P as k}from"../chunks/page-title.34fd480b.js";function q(n){let s,o,a;s=new k({props:{title:"Import Event History",url:n[0].url.href}});const l=n[2].default,e=c(l,n,n[1],null);return{c(){$(s.$$.fragment),o=g(),e&&e.c()},l(t){d(s.$$.fragment,t),o=b(t),e&&e.l(t)},m(t,r){h(s,t,r),y(t,o,r),e&&e.m(t,r),a=!0},p(t,[r]){const i={};r&1&&(i.url=t[0].url.href),s.$set(i),e&&e.p&&(!a||r&2)&&C(e,l,t,t[1],a?H(l,t[1],r,null):E(t[1]),null)},i(t){a||(f(s.$$.fragment,t),f(e,t),a=!0)},o(t){p(s.$$.fragment,t),p(e,t),a=!1},d(t){I(s,t),t&&P(o),e&&e.d(t)}}}function v(n,s,o){let a;S(n,j,t=>o(0,a=t));let{$$slots:l={},$$scope:e}=s;return n.$$set=t=>{"$$scope"in t&&o(1,e=t.$$scope)},[a,e,l]}class G extends u{constructor(s){super(),_(this,s,v,q,m,{})}}export{G as default}; +import{S as u,b as _,a as m,G as c,C as $,c as g,D as d,d as b,E as h,f as y,H as C,I as E,J as H,j as f,g as p,F as I,k as P,K as S}from"../chunks/index.09834243.js";import{p as j}from"../chunks/stores.cd833532.js";import{P as k}from"../chunks/page-title.34fd480b.js";function q(n){let s,o,a;s=new k({props:{title:"Import Event History",url:n[0].url.href}});const l=n[2].default,e=c(l,n,n[1],null);return{c(){$(s.$$.fragment),o=g(),e&&e.c()},l(t){d(s.$$.fragment,t),o=b(t),e&&e.l(t)},m(t,r){h(s,t,r),y(t,o,r),e&&e.m(t,r),a=!0},p(t,[r]){const i={};r&1&&(i.url=t[0].url.href),s.$set(i),e&&e.p&&(!a||r&2)&&C(e,l,t,t[1],a?H(l,t[1],r,null):E(t[1]),null)},i(t){a||(f(s.$$.fragment,t),f(e,t),a=!0)},o(t){p(s.$$.fragment,t),p(e,t),a=!1},d(t){I(s,t),t&&P(o),e&&e.d(t)}}}function v(n,s,o){let a;S(n,j,t=>o(0,a=t));let{$$slots:l={},$$scope:e}=s;return n.$$set=t=>{"$$scope"in t&&o(1,e=t.$$scope)},[a,e,l]}class G extends u{constructor(s){super(),_(this,s,v,q,m,{})}}export{G as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-import-page.ts.16073dba.js b/ui/assets/local/_app/immutable/entry/(app)-import-page.ts.16073dba.js new file mode 100644 index 0000000000..b45189afd8 --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(app)-import-page.ts.16073dba.js @@ -0,0 +1 @@ +import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.d76d8056.js";import{l as t}from"../chunks/_page.d908487b.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-import-page.ts.d6340ace.js b/ui/assets/local/_app/immutable/entry/(app)-import-page.ts.d6340ace.js deleted file mode 100644 index 0c3921bc34..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-import-page.ts.d6340ace.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.3b55a4c6.js";import{l as t}from"../chunks/_page.cbe3b57f.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-layout.svelte.a804a943.js b/ui/assets/local/_app/immutable/entry/(app)-layout.svelte.ef836b2b.js similarity index 55% rename from ui/assets/local/_app/immutable/entry/(app)-layout.svelte.a804a943.js rename to ui/assets/local/_app/immutable/entry/(app)-layout.svelte.ef836b2b.js index 1bc4177c9d..8a517ff9a6 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-layout.svelte.a804a943.js +++ b/ui/assets/local/_app/immutable/entry/(app)-layout.svelte.ef836b2b.js @@ -1,5 +1,5 @@ -import{S as ae,b as fe,a as ue,m as z,w as G,c as P,p as j,q as O,x as Q,k as p,d as H,u as k,P as J,Z as ze,f as w,L as V,_ as Et,Q as ve,$ as et,y as pe,j as g,z as ce,g as $,h as de,r as _t,G as ee,H as te,I as le,J as ne,V as He,A as Le,a0 as De,C,D as I,E as T,a1 as Ne,F as L,n as se,e as ie,K as oe,a2 as Bl,a3 as pt,a4 as zl,a5 as me,W as st,X as rt,N as we,v as Ct,O as tt,R as gt,T as Fe,U as je,i as ht,Y as jl,a6 as Ol,o as Rl,a7 as $t,M as Tl,a8 as It,s as nt,a9 as Tt,aa as ql,ab as Al}from"../chunks/index.09834243.js";import{a as Pl,g as Lt}from"../chunks/navigation.8b74a406.js";import{p as Ae,u as Hl}from"../chunks/stores.9d4a2bb0.js";import{T as it}from"../chunks/toggle-switch.3808d19f.js";import{t as B}from"../chunks/translate.0a219ae4.js";import{v as Ml,a as Fl}from"../chunks/is-http.486112c3.js";import{r as Vt}from"../chunks/workflow-run.889d50fd.js";import{o as at,i as Dt,p as Nt,c as ft,l as Kl}from"../chunks/data-encoder-config.b5b7b570.js";import{c as Ul,f as ut,M as bt,a as Ll,b as vt,d as Ke}from"../chunks/menu.c7988d0b.js";import{L as Vl}from"../chunks/link.4944a6a5.js";import{B as ct}from"../chunks/button.ce5dce2f.js";import{A as Wl}from"../chunks/accordion.3c992162.js";import{w as Ue,j as Zl}from"../chunks/singletons.aae8f11e.js";import{R as Gl,a as St}from"../chunks/radio-input.c176e21a.js";import{i as Ql}from"../chunks/settings-service.1e982d61.js";import{I as Ce}from"../chunks/icon.3cd9fa27.js";import{p as Xl}from"../chunks/persist-store.ad106cab.js";import{T as We}from"../chunks/tooltip.6cc63041.js";import{i as Jl}from"../chunks/batch-operations.2ef00b45.js";import{l as Bt}from"../chunks/labs-mode.476dd7f5.js";import{I as Ze}from"../chunks/icon-button.b5ab850e.js";import{a as Dl,c as Yl}from"../chunks/auth-user.f0bc59ab.js";import{I as yl}from"../chunks/input.8b192295.js";import{M as Nl}from"../chunks/menu-divider.6c0ebb73.js";import{r as Ye,t as ye,g as xl,T as zt,a as jt,f as Ot}from"../chunks/format-date.71526e4c.js";import{c as en}from"../chunks/format-camel-case.887ffc78.js";import{l as lt,n as tn}from"../chunks/namespaces.5721b9bd.js";import{n as ot}from"../chunks/route-for-api.6f64f216.js";import{E as ln}from"../chunks/error.bc570d65.js";import{t as Rt}from"../chunks/toaster.d089c03c.js";import{r as xe,a as nn,b as sn,c as qt,d as At,e as rn,f as on}from"../chunks/route-for.3b55a4c6.js";const an=s=>({}),Pt=s=>({});function Ht(s){let e,l;return{c(){e=z("p"),l=G(s[11]),this.h()},l(t){e=j(t,"P",{class:!0});var n=O(e);l=Q(n,s[11]),n.forEach(p),this.h()},h(){k(e,"class","text-sm")},m(t,n){w(t,e,n),V(e,l)},p(t,n){n&2048&&pe(l,t[11])},d(t){t&&p(e)}}}function Mt(s){let e,l,t=s[2]&&Ft(s);const n=s[14].error,r=ee(n,s,s[13],Pt);return{c(){t&&t.c(),e=P(),r&&r.c()},l(o){t&&t.l(o),e=H(o),r&&r.l(o)},m(o,a){t&&t.m(o,a),w(o,e,a),r&&r.m(o,a),l=!0},p(o,a){o[2]?t?t.p(o,a):(t=Ft(o),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null),r&&r.p&&(!l||a&8192)&&te(r,n,o,o[13],l?ne(n,o[13],a,an):le(o[13]),Pt)},i(o){l||(g(r,o),l=!0)},o(o){$(r,o),l=!1},d(o){t&&t.d(o),o&&p(e),r&&r.d(o)}}}function Ft(s){let e,l;return{c(){e=z("p"),l=G(s[2])},l(t){e=j(t,"P",{});var n=O(e);l=Q(n,s[2]),n.forEach(p)},m(t,n){w(t,e,n),V(e,l)},p(t,n){n&4&&pe(l,t[2])},d(t){t&&p(e)}}}function fn(s){let e,l,t,n,r,o,a,i,f,u,c,d,m,_=s[11]&&Ht(s),b=!s[3]&&Mt(s);return{c(){e=z("div"),l=z("label"),t=G(s[7]),n=P(),_&&_.c(),r=P(),o=z("textarea"),a=P(),i=z("div"),b&&b.c(),this.h()},l(h){e=j(h,"DIV",{class:!0});var v=O(e);l=j(v,"LABEL",{for:!0,class:!0});var q=O(l);t=Q(q,s[7]),q.forEach(p),n=H(v),_&&_.l(v),r=H(v),o=j(v,"TEXTAREA",{class:!0,id:!0,placeholder:!0,rows:!0,spellcheck:!0}),O(o).forEach(p),a=H(v),i=j(v,"DIV",{class:!0,"aria-live":!0});var A=O(i);b&&b.l(A),A.forEach(p),v.forEach(p),this.h()},h(){k(l,"for",s[9]),k(l,"class","svelte-1cdabgy"),J(l,"required",s[10]),J(l,"sr-only",s[8]),k(o,"class","min-h-fit w-full rounded border border-gray-900 py-2 px-3 font-mono text-sm svelte-1cdabgy"),k(o,"id",s[9]),o.disabled=s[1],k(o,"placeholder",s[4]),k(o,"rows",s[5]),k(o,"spellcheck",s[6]),J(o,"error",!s[3]),k(i,"class","error-msg svelte-1cdabgy"),k(i,"aria-live",f=s[3]?"off":"assertive"),k(e,"class",u=ze(s[12])+" svelte-1cdabgy")},m(h,v){w(h,e,v),V(e,l),V(l,t),V(e,n),_&&_.m(e,null),V(e,r),V(e,o),Et(o,s[0]),V(e,a),V(e,i),b&&b.m(i,null),c=!0,d||(m=[ve(o,"input",s[20]),ve(o,"input",s[15]),ve(o,"change",s[16]),ve(o,"focus",s[17]),ve(o,"blur",s[18]),ve(o,"keydown",et(s[19]))],d=!0)},p(h,[v]){(!c||v&128)&&pe(t,h[7]),(!c||v&512)&&k(l,"for",h[9]),(!c||v&1024)&&J(l,"required",h[10]),(!c||v&256)&&J(l,"sr-only",h[8]),h[11]?_?_.p(h,v):(_=Ht(h),_.c(),_.m(e,r)):_&&(_.d(1),_=null),(!c||v&512)&&k(o,"id",h[9]),(!c||v&2)&&(o.disabled=h[1]),(!c||v&16)&&k(o,"placeholder",h[4]),(!c||v&32)&&k(o,"rows",h[5]),(!c||v&64)&&k(o,"spellcheck",h[6]),v&1&&Et(o,h[0]),(!c||v&8)&&J(o,"error",!h[3]),h[3]?b&&(ce(),$(b,1,1,()=>{b=null}),de()):b?(b.p(h,v),v&8&&g(b,1)):(b=Mt(h),b.c(),g(b,1),b.m(i,null)),(!c||v&8&&f!==(f=h[3]?"off":"assertive"))&&k(i,"aria-live",f),(!c||v&4096&&u!==(u=ze(h[12])+" svelte-1cdabgy"))&&k(e,"class",u)},i(h){c||(g(b),c=!0)},o(h){$(b),c=!1},d(h){h&&p(e),_&&_.d(),b&&b.d(),d=!1,_t(m)}}}function un(s,e,l){let{$$slots:t={},$$scope:n}=e,{disabled:r=!1}=e,{error:o=""}=e,{isValid:a=!0}=e,{placeholder:i=""}=e,{rows:f=5}=e,{spellcheck:u=null}=e,{value:c}=e,{label:d}=e,{labelHidden:m=!1}=e,{id:_}=e,{required:b=!1}=e,{description:h=""}=e,{class:v=""}=e;function q(N){He.call(this,s,N)}function A(N){He.call(this,s,N)}function S(N){He.call(this,s,N)}function M(N){He.call(this,s,N)}function Z(N){He.call(this,s,N)}function R(){c=this.value,l(0,c)}return s.$$set=N=>{"disabled"in N&&l(1,r=N.disabled),"error"in N&&l(2,o=N.error),"isValid"in N&&l(3,a=N.isValid),"placeholder"in N&&l(4,i=N.placeholder),"rows"in N&&l(5,f=N.rows),"spellcheck"in N&&l(6,u=N.spellcheck),"value"in N&&l(0,c=N.value),"label"in N&&l(7,d=N.label),"labelHidden"in N&&l(8,m=N.labelHidden),"id"in N&&l(9,_=N.id),"required"in N&&l(10,b=N.required),"description"in N&&l(11,h=N.description),"class"in N&&l(12,v=N.class),"$$scope"in N&&l(13,n=N.$$scope)},[c,r,o,a,i,f,u,d,m,_,b,h,v,n,t,q,A,S,M,Z,R]}class cn extends ae{constructor(e){super(),fe(this,e,un,fn,ue,{disabled:1,error:2,isValid:3,placeholder:4,rows:5,spellcheck:6,value:0,label:7,labelHidden:8,id:9,required:10,description:11,class:12})}}function Kt(s){let e,l=B("data-encoder","include-cross-origin-credentials-warning")+"",t;return{c(){e=z("small"),t=G(l),this.h()},l(n){e=j(n,"SMALL",{"data-testid":!0});var r=O(e);t=Q(r,l),r.forEach(p),this.h()},h(){k(e,"data-testid","data-encoder-cross-origin-credentials")},m(n,r){w(n,e,r),V(e,t)},p:se,d(n){n&&p(e)}}}function dn(s){let e,l,t,n,r,o,a,i,f,u,c,d;function m(S){s[4](S)}let _={id:"data-encoder-endpoint-input",rows:3,placeholder:B("data-encoder","endpoint-placeholder"),error:s[3],isValid:!s[3],label:B("data-encoder","endpoint-title"),description:B("data-encoder","endpoint-description")};s[0]!==void 0&&(_.value=s[0]),t=new cn({props:_}),Le.push(()=>De(t,"value",m));function b(S){s[5](S)}let h={label:B("data-encoder","pass-access-token-label"),id:"pass-access-token","data-testid":"data-encoder-pass-access-token"};s[1]!==void 0&&(h.checked=s[1]),o=new it({props:h}),Le.push(()=>De(o,"checked",b));function v(S){s[6](S)}let q={label:B("data-encoder","include-cross-origin-credentials-label"),id:"pass-access-credentials","data-testid":"data-encoder-include-credentials"};s[2]!==void 0&&(q.checked=s[2]),f=new it({props:q}),Le.push(()=>De(f,"checked",v));let A=s[2]&&Kt();return{c(){e=z("div"),l=z("div"),C(t.$$.fragment),r=P(),C(o.$$.fragment),i=P(),C(f.$$.fragment),c=P(),A&&A.c(),this.h()},l(S){e=j(S,"DIV",{class:!0});var M=O(e);l=j(M,"DIV",{class:!0});var Z=O(l);I(t.$$.fragment,Z),r=H(Z),I(o.$$.fragment,Z),i=H(Z),I(f.$$.fragment,Z),c=H(Z),A&&A.l(Z),Z.forEach(p),M.forEach(p),this.h()},h(){k(l,"class","flex flex-col gap-2"),k(e,"class","flex flex-col gap-4")},m(S,M){w(S,e,M),V(e,l),T(t,l,null),V(l,r),T(o,l,null),V(l,i),T(f,l,null),V(l,c),A&&A.m(l,null),d=!0},p(S,[M]){const Z={};M&8&&(Z.error=S[3]),M&8&&(Z.isValid=!S[3]),!n&&M&1&&(n=!0,Z.value=S[0],Ne(()=>n=!1)),t.$set(Z);const R={};!a&&M&2&&(a=!0,R.checked=S[1],Ne(()=>a=!1)),o.$set(R);const N={};!u&&M&4&&(u=!0,N.checked=S[2],Ne(()=>u=!1)),f.$set(N),S[2]?A?A.p(S,M):(A=Kt(),A.c(),A.m(l,null)):A&&(A.d(1),A=null)},i(S){d||(g(t.$$.fragment,S),g(o.$$.fragment,S),g(f.$$.fragment,S),d=!0)},o(S){$(t.$$.fragment,S),$(o.$$.fragment,S),$(f.$$.fragment,S),d=!1},d(S){S&&p(e),L(t),L(o),L(f),A&&A.d()}}}function mn(s,e,l){let{endpoint:t=""}=e,{passToken:n=!1}=e,{includeCreds:r=!1}=e,{error:o=""}=e;function a(u){t=u,l(0,t)}function i(u){n=u,l(1,n)}function f(u){r=u,l(2,r)}return s.$$set=u=>{"endpoint"in u&&l(0,t=u.endpoint),"passToken"in u&&l(1,n=u.passToken),"includeCreds"in u&&l(2,r=u.includeCreds),"error"in u&&l(3,o=u.error)},[t,n,r,o,a,i,f]}class _n extends ae{constructor(e){super(),fe(this,e,mn,dn,ue,{endpoint:0,passToken:1,includeCreds:2,error:3})}}function Ut(s){let e,l,t,n,r=B("codec-server")+"",o,a,i,f=B("data-encoder","codec-server-description-prefix")+"",u,c,d,m=B("data-encoder","codec-server-description-suffix",{level:s[5]})+"",_,b,h,v,q,A,S,M,Z,R,N,D,K,U,X,Ee,ge;c=new Vl({props:{href:"https://docs.temporal.io/dataconversion#codec-server",newTab:!0,$$slots:{default:[pn]},$$scope:{ctx:s}}}),h=new Wl({props:{"data-testid":"override-accordion",title:s[6]?B("data-encoder","browser-override-description",{level:s[5]}):B("data-encoder","no-browser-override-description",{level:s[5]}),$$slots:{default:[hn]},$$scope:{ctx:s}}});function Te(W){s[14](W)}function he(W){s[15](W)}function Ie(W){s[16](W)}let _e={error:s[4]};return s[0]!==void 0&&(_e.endpoint=s[0]),s[1]!==void 0&&(_e.passToken=s[1]),s[3]!==void 0&&(_e.includeCreds=s[3]),q=new _n({props:_e}),Le.push(()=>De(q,"endpoint",Te)),Le.push(()=>De(q,"passToken",he)),Le.push(()=>De(q,"includeCreds",Ie)),N=new ct({props:{disabled:Boolean(s[4]),"data-testid":"confirm-data-encoder-button",type:"submit",$$slots:{default:[$n]},$$scope:{ctx:s}}}),N.$on("click",s[9]),K=new ct({props:{variant:"ghost","data-testid":"cancel-data-encoder-button",$$slots:{default:[bn]},$$scope:{ctx:s}}}),K.$on("click",s[8]),{c(){e=z("aside"),l=z("div"),t=z("div"),n=z("h3"),o=G(r),a=P(),i=z("p"),u=G(f),C(c.$$.fragment),d=P(),_=G(m),b=P(),C(h.$$.fragment),v=P(),C(q.$$.fragment),Z=P(),R=z("div"),C(N.$$.fragment),D=P(),C(K.$$.fragment),this.h()},l(W){e=j(W,"ASIDE",{class:!0});var Y=O(e);l=j(Y,"DIV",{class:!0});var y=O(l);t=j(y,"DIV",{class:!0});var $e=O(t);n=j($e,"H3",{"data-testid":!0,class:!0});var re=O(n);o=Q(re,r),re.forEach(p),$e.forEach(p),a=H(y),i=j(y,"P",{class:!0});var be=O(i);u=Q(be,f),I(c.$$.fragment,be),d=H(be),_=Q(be,m),be.forEach(p),b=H(y),I(h.$$.fragment,y),v=H(y),I(q.$$.fragment,y),Z=H(y),R=j(y,"DIV",{class:!0});var ke=O(R);I(N.$$.fragment,ke),D=H(ke),I(K.$$.fragment,ke),ke.forEach(p),y.forEach(p),Y.forEach(p),this.h()},h(){k(n,"data-testid","data-encoder-title"),k(n,"class","text-xl"),k(t,"class","flex items-center justify-between space-x-2"),k(i,"class","text-sm"),k(R,"class","flex items-center gap-4"),k(l,"class","flex w-full flex-col gap-4 xl:w-1/2"),k(e,"class","relative flex h-auto w-full flex-col gap-6 border-b border-blue-100 bg-blue-50 p-12")},m(W,Y){w(W,e,Y),V(e,l),V(l,t),V(t,n),V(n,o),V(l,a),V(l,i),V(i,u),T(c,i,null),V(i,d),V(i,_),V(l,b),T(h,l,null),V(l,v),T(q,l,null),V(l,Z),V(l,R),T(N,R,null),V(R,D),T(K,R,null),X=!0,Ee||(ge=[Bl(Ul.call(null,e)),ve(e,"click-outside",s[17])],Ee=!0)},p(W,Y){const y={};Y&8388608&&(y.$$scope={dirty:Y,ctx:W}),c.$set(y),(!X||Y&32)&&m!==(m=B("data-encoder","codec-server-description-suffix",{level:W[5]})+"")&&pe(_,m);const $e={};Y&96&&($e.title=W[6]?B("data-encoder","browser-override-description",{level:W[5]}):B("data-encoder","no-browser-override-description",{level:W[5]})),Y&8388640&&($e.$$scope={dirty:Y,ctx:W}),h.$set($e);const re={};Y&16&&(re.error=W[4]),!A&&Y&1&&(A=!0,re.endpoint=W[0],Ne(()=>A=!1)),!S&&Y&2&&(S=!0,re.passToken=W[1],Ne(()=>S=!1)),!M&&Y&8&&(M=!0,re.includeCreds=W[3],Ne(()=>M=!1)),q.$set(re);const be={};Y&16&&(be.disabled=Boolean(W[4])),Y&8388608&&(be.$$scope={dirty:Y,ctx:W}),N.$set(be);const ke={};Y&8388608&&(ke.$$scope={dirty:Y,ctx:W}),K.$set(ke)},i(W){X||(g(c.$$.fragment,W),g(h.$$.fragment,W),g(q.$$.fragment,W),g(N.$$.fragment,W),g(K.$$.fragment,W),U||pt(()=>{U=zl(e,ut,{y:-50,delay:0,duration:500}),U.start()}),X=!0)},o(W){$(c.$$.fragment,W),$(h.$$.fragment,W),$(q.$$.fragment,W),$(N.$$.fragment,W),$(K.$$.fragment,W),X=!1},d(W){W&&p(e),L(c),L(h),L(q),L(N),L(K),Ee=!1,_t(ge)}}}function pn(s){let e=B("codec-server")+"",l;return{c(){l=G(e)},l(t){l=Q(t,e)},m(t,n){w(t,l,n)},p:se,d(t){t&&p(l)}}}function gn(s){let e,l,t,n;return e=new St({props:{id:"use-configuration-endpoint-radio","data-testid":"use-configuration-endpoint-input",value:!1,label:B("data-encoder","no-browser-override-description",{level:s[5]})}}),t=new St({props:{id:"use-local-endpoint-radio","data-testid":"use-local-endpoint-input",value:!0,label:B("data-encoder","browser-override-description",{level:s[5]})}}),{c(){C(e.$$.fragment),l=P(),C(t.$$.fragment)},l(r){I(e.$$.fragment,r),l=H(r),I(t.$$.fragment,r)},m(r,o){T(e,r,o),w(r,l,o),T(t,r,o),n=!0},p(r,o){const a={};o&32&&(a.label=B("data-encoder","no-browser-override-description",{level:r[5]})),e.$set(a);const i={};o&32&&(i.label=B("data-encoder","browser-override-description",{level:r[5]})),t.$set(i)},i(r){n||(g(e.$$.fragment,r),g(t.$$.fragment,r),n=!0)},o(r){$(e.$$.fragment,r),$(t.$$.fragment,r),n=!1},d(r){L(e,r),r&&p(l),L(t,r)}}}function hn(s){let e,l;return e=new Gl({props:{name:"override",group:s[7],$$slots:{default:[gn]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n&8388640&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function $n(s){let e=B("apply")+"",l;return{c(){l=G(e)},l(t){l=Q(t,e)},m(t,n){w(t,l,n)},p:se,d(t){t&&p(l)}}}function bn(s){let e=B("cancel")+"",l;return{c(){l=G(e)},l(t){l=Q(t,e)},m(t,n){w(t,l,n)},p:se,d(t){t&&p(l)}}}function vn(s){let e,l,t=s[2]&&Ut(s);return{c(){t&&t.c(),e=ie()},l(n){t&&t.l(n),e=ie()},m(n,r){t&&t.m(n,r),w(n,e,r),l=!0},p(n,[r]){n[2]?t?(t.p(n,r),r&4&&g(t,1)):(t=Ut(n),t.c(),g(t,1),t.m(e.parentNode,e)):t&&(ce(),$(t,1,1,()=>{t=null}),de())},i(n){l||(g(t),l=!0)},o(n){$(t),l=!1},d(n){t&&t.d(n),n&&p(e)}}}const Me=Ue(!1);function kn(s,e,l){let t,n,r,o,a,i,f,u=se,c,d,m;oe(s,Vt,U=>l(18,r=U)),oe(s,Ae,U=>l(13,o=U)),oe(s,at,U=>l(19,i=U)),oe(s,Me,U=>l(2,f=U)),oe(s,Dt,U=>l(20,c=U)),oe(s,Nt,U=>l(21,d=U)),oe(s,ft,U=>l(22,m=U)),s.$$.on_destroy.push(()=>u());var _,b,h;let v=m??"",q=d??!1,A=c??!1,S=Ue(i);oe(s,S,U=>l(6,a=U));const M=()=>{l(0,v=m),l(1,q=d),l(3,A=c),me(S,a=i,a),me(Me,f=!1,f)},Z=()=>{l(4,t=""),me(ft,m=v,m),me(Nt,d=q,d),me(Dt,c=A,c),me(Me,f=!1,f),me(at,i=a,i),o.url.pathname.endsWith("history")&&me(Vt,r=Date.now(),r)};function R(U){v=U,l(0,v)}function N(U){q=U,l(1,q)}function D(U){A=U,l(3,A)}const K=()=>me(Me,f=!1,f);return s.$$.update=()=>{s.$$.dirty&15360&&l(5,n=!(l(12,h=l(11,b=l(10,_=o.data)===null||_===void 0?void 0:_.settings)===null||b===void 0?void 0:b.runtimeEnvironment)===null||h===void 0)&&h.isCloud?B("namespaces"):B("cluster")),s.$$.dirty&3&&(q&&!Ml(v)?l(4,t=B("data-encoder","access-token-https-error")):v&&!Fl(v)?l(4,t=B("data-encoder","prefix-error")):l(4,t="")),s.$$.dirty&4&&(f||M())},l(4,t=""),[v,q,f,A,t,n,a,S,M,Z,_,b,h,o,R,N,D,K]}class wn extends ae{constructor(e){super(),fe(this,e,kn,vn,ue,{})}}const En=s=>({}),Wt=s=>({});function Cn(s){let e;const l=s[2].fallback,t=ee(l,s,s[1],Wt);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&2)&&te(t,l,n,n[1],e?ne(l,n[1],r,En):le(n[1]),Wt)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function In(s){let e;const l=s[2].default,t=ee(l,s,s[1],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&2)&&te(t,l,n,n[1],e?ne(l,n[1],r,null):le(n[1]),null)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function Tn(s){let e,l,t,n;const r=[In,Cn],o=[];function a(i,f){return i[0]?0:1}return e=a(s),l=o[e]=r[e](s),{c(){l.c(),t=ie()},l(i){l.l(i),t=ie()},m(i,f){o[e].m(i,f),w(i,t,f),n=!0},p(i,[f]){let u=e;e=a(i),e===u?o[e].p(i,f):(ce(),$(o[u],1,1,()=>{o[u]=null}),de(),l=o[e],l?l.p(i,f):(l=o[e]=r[e](i),l.c()),g(l,1),l.m(t.parentNode,t))},i(i){n||(g(l),n=!0)},o(i){$(l),n=!1},d(i){o[e].d(i),i&&p(t)}}}function Ln(s,e,l){let{$$slots:t={},$$scope:n}=e,{enabled:r=!1}=e;return s.$$set=o=>{"enabled"in o&&l(0,r=o.enabled),"$$scope"in o&&l(1,n=o.$$scope)},[r,n,t]}class Vn extends ae{constructor(e){super(),fe(this,e,Ln,Tn,ue,{enabled:0})}}const Dn=s=>({}),Zt=s=>({});function Nn(s){let e;const l=s[3].default,t=ee(l,s,s[2],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&4)&&te(t,l,n,n[2],e?ne(l,n[2],r,null):le(n[2]),null)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function Sn(s){let e;const l=s[3].fallback,t=ee(l,s,s[2],Zt);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&4)&&te(t,l,n,n[2],e?ne(l,n[2],r,Dn):le(n[2]),Zt)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function Bn(s){let e,l,t,n;const r=[Sn,Nn],o=[];function a(i,f){var u,c,d;return i[0]||(d=(c=(u=i[1].data)==null?void 0:u.settings)==null?void 0:c.runtimeEnvironment)!=null&&d.isCloud?0:1}return e=a(s),l=o[e]=r[e](s),{c(){l.c(),t=ie()},l(i){l.l(i),t=ie()},m(i,f){o[e].m(i,f),w(i,t,f),n=!0},p(i,[f]){let u=e;e=a(i),e===u?o[e].p(i,f):(ce(),$(o[u],1,1,()=>{o[u]=null}),de(),l=o[e],l?l.p(i,f):(l=o[e]=r[e](i),l.c()),g(l,1),l.m(t.parentNode,t))},i(i){n||(g(l),n=!0)},o(i){$(l),n=!1},d(i){o[e].d(i),i&&p(t)}}}function zn(s,e,l){let t;oe(s,Ae,a=>l(1,t=a));let{$$slots:n={},$$scope:r}=e,{isCloud:o=!1}=e;return s.$$set=a=>{"isCloud"in a&&l(0,o=a.isCloud),"$$scope"in a&&l(2,r=a.$$scope)},[o,t,r,n]}class dt extends ae{constructor(e){super(),fe(this,e,zn,Bn,ue,{isCloud:0})}}function jn(){return!0}const On=s=>({}),Gt=s=>({});function Rn(s){let e;const l=s[4].default,t=ee(l,s,s[3],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&8)&&te(t,l,n,n[3],e?ne(l,n[3],r,null):le(n[3]),null)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function qn(s){let e;const l=s[4].fallback,t=ee(l,s,s[3],Gt);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&8)&&te(t,l,n,n[3],e?ne(l,n[3],r,On):le(n[3]),Gt)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function An(s){let e,l,t,n;const r=[qn,Rn],o=[];function a(i,f){return i[0]&&i[1]?0:1}return e=a(s),l=o[e]=r[e](s),{c(){l.c(),t=ie()},l(i){l.l(i),t=ie()},m(i,f){o[e].m(i,f),w(i,t,f),n=!0},p(i,[f]){let u=e;e=a(i),e===u?o[e].p(i,f):(ce(),$(o[u],1,1,()=>{o[u]=null}),de(),l=o[e],l?l.p(i,f):(l=o[e]=r[e](i),l.c()),g(l,1),l.m(t.parentNode,t))},i(i){n||(g(l),n=!0)},o(i){$(l),n=!1},d(i){o[e].d(i),i&&p(t)}}}function Pn(s,e,l){let t,n;oe(s,Ae,i=>l(2,n=i));let{$$slots:r={},$$scope:o}=e,{isCloud:a=!0}=e;return s.$$set=i=>{"isCloud"in i&&l(0,a=i.isCloud),"$$scope"in i&&l(3,o=i.$$scope)},s.$$.update=()=>{s.$$.dirty&4&&l(1,t=Ql.test(jn?n.url.hostname:""))},[a,t,n,o,r]}class Hn extends ae{constructor(e){super(),fe(this,e,Pn,An,ue,{isCloud:0})}}function Mn(s){let e,l,t,n;return{c(){e=st("svg"),l=st("title"),t=G(s[2]),n=st("path"),this.h()},l(r){e=rt(r,"svg",{width:!0,height:!0,viewBox:!0,xmlns:!0,"xmlns:xlink":!0,version:!0,role:!0});var o=O(e);l=rt(o,"title",{});var a=O(l);t=Q(a,s[2]),a.forEach(p),n=rt(o,"path",{id:!0,d:!0,stroke:!0,fill:!0}),O(n).forEach(p),o.forEach(p),this.h()},h(){k(n,"id","Path"),k(n,"d","M65.816 34.224 C63.684 18.251 58.288 4.917 49.999 4.917 41.711 4.917 36.314 18.251 34.182 34.224 18.208 36.357 4.874 41.753 4.874 50.042 4.874 58.33 18.211 63.727 34.182 65.859 36.314 81.83 41.711 95.167 49.999 95.167 58.288 95.167 63.684 81.83 65.816 65.859 81.79 63.727 95.124 58.33 95.124 50.042 95.124 41.753 81.788 36.357 65.816 34.224 Z M33.661 61.206 C18.363 58.997 9.44 53.939 9.44 50.042 9.44 46.144 18.363 41.087 33.661 38.877 33.324 42.56 33.149 46.319 33.149 50.042 33.149 53.764 33.324 57.526 33.661 61.206 Z M49.999 9.483 C53.897 9.483 58.954 18.405 61.164 33.703 57.483 33.367 53.721 33.191 49.999 33.191 46.277 33.191 42.515 33.367 38.835 33.703 41.044 18.405 46.102 9.483 49.999 9.483 Z M66.338 61.206 C65.585 61.316 62.496 61.678 61.715 61.755 61.638 62.539 61.273 65.625 61.166 66.378 58.956 81.676 53.899 90.598 50.001 90.598 46.104 90.598 41.047 81.676 38.837 66.378 38.73 65.625 38.365 62.536 38.288 61.755 37.932 58.129 37.717 54.234 37.717 50.042 37.717 45.85 37.932 41.954 38.288 38.326 41.914 37.97 45.809 37.755 50.001 37.755 54.194 37.755 58.089 37.97 61.715 38.326 62.499 38.403 65.585 38.767 66.338 38.875 81.636 41.085 90.56 46.144 90.56 50.039 90.56 53.935 81.636 58.997 66.338 61.206 Z"),k(n,"stroke",s[3]),k(n,"fill",s[3]),k(e,"width",s[0]),k(e,"height",s[1]),k(e,"viewBox","0 0 100 100"),k(e,"xmlns","http://www.w3.org/2000/svg"),k(e,"xmlns:xlink","http://www.w3.org/1999/xlink"),k(e,"version","1.1"),k(e,"role","img")},m(r,o){w(r,e,o),V(e,l),V(l,t),V(e,n)},p(r,[o]){o&4&&pe(t,r[2]),o&1&&k(e,"width",r[0]),o&2&&k(e,"height",r[1])},i:se,o:se,d(r){r&&p(e)}}}function Fn(s,e,l){let{width:t="100px"}=e,{height:n="100px"}=e,{isCloud:r}=e,{title:o=""}=e,a=r?"black":"white";return s.$$set=i=>{"width"in i&&l(0,t=i.width),"height"in i&&l(1,n=i.height),"isCloud"in i&&l(4,r=i.isCloud),"title"in i&&l(2,o=i.title)},[t,n,o,a,r]}class Kn extends ae{constructor(e){super(),fe(this,e,Fn,Mn,ue,{width:0,height:1,isCloud:4,title:2})}}const mt=Xl("navOpen",!1);const Un=s=>({}),Qt=s=>({}),Wn=s=>({}),Xt=s=>({}),Zn=s=>({}),Jt=s=>({}),Gn=s=>({}),Yt=s=>({});function yt(s){let e,l=B("version")+"",t;return{c(){e=z("span"),t=G(l),this.h()},l(n){e=j(n,"SPAN",{class:!0});var r=O(e);t=Q(r,l),r.forEach(p),this.h()},h(){k(e,"class","sr-only")},m(n,r){w(n,e,r),V(e,t)},p:se,d(n){n&&p(e)}}}function Qn(s){let e,l,t,n,r,o,a,i,f,u,c,d,m,_,b,h,v,q,A,S,M,Z,R,N,D,K,U,X,Ee,ge;n=new Kn({props:{height:"24px",width:"24px",isCloud:s[0],title:B("workflows","recent-workflows-link")}}),i=new Ce({props:{name:s[3]?"chevron-left":"chevron-right"}});const Te=s[11].top,he=ee(Te,s,s[10],Yt),Ie=s[11].middle,_e=ee(Ie,s,s[10],Jt),W=s[11].bottom,Y=ee(W,s,s[10],Xt);let y=s[2]&&yt();const $e=s[11].drawer,re=ee($e,s,s[10],Qt);let be=[{class:"nav-header transition-width"},{"data-testid":"navigation-header"},s[5]],ke={};for(let F=0;Fl(9,o=h)),oe(s,mt,h=>l(3,a=h));let{$$slots:i={},$$scope:f}=e;var u,c,d;let{isCloud:m=!1}=e,{linkList:_}=e;function b(){me(mt,a=!a,a)}return s.$$set=h=>{e=we(we({},e),je(h)),l(5,r=Fe(e,n)),"isCloud"in h&&l(0,m=h.isCloud),"linkList"in h&&l(1,_=h.linkList),"$$scope"in h&&l(10,f=h.$$scope)},s.$$.update=()=>{s.$$.dirty&960&&l(2,t=l(8,d=l(7,c=l(6,u=o.data)===null||u===void 0?void 0:u.settings)===null||c===void 0?void 0:c.version)!==null&&d!==void 0?d:"")},[m,_,t,a,b,r,u,c,d,o,f,i]}class Jn extends ae{constructor(e){super(),fe(this,e,Xn,Qn,ue,{isCloud:0,linkList:1})}}function Yn(s){let e;const l=s[9].default,t=ee(l,s,s[8],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&256)&&te(t,l,n,n[8],e?ne(l,n[8],r,null):le(n[8]),null)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function yn(s){let e,l;const t=s[9].default,n=ee(t,s,s[8],null);return{c(){e=z("a"),n&&n.c(),this.h()},l(r){e=j(r,"A",{href:!0,class:!0});var o=O(e);n&&n.l(o),o.forEach(p),this.h()},h(){k(e,"href",s[0]),k(e,"class",ze(s[5])+" svelte-4ukgao")},m(r,o){w(r,e,o),n&&n.m(e,null),l=!0},p(r,o){n&&n.p&&(!l||o&256)&&te(n,t,r,r[8],l?ne(t,r[8],o,null):le(r[8]),null),(!l||o&1)&&k(e,"href",r[0])},i(r){l||(g(n,r),l=!0)},o(r){$(n,r),l=!1},d(r){r&&p(e),n&&n.d(r)}}}function xn(s){let e,l;const t=s[9].default,n=ee(t,s,s[8],null);return{c(){e=z("a"),n&&n.c(),this.h()},l(r){e=j(r,"A",{href:!0,rel:!0,target:!0,class:!0});var o=O(e);n&&n.l(o),o.forEach(p),this.h()},h(){k(e,"href",s[0]),k(e,"rel","noreferrer"),k(e,"target","_blank"),k(e,"class",ze(s[5])+" svelte-4ukgao")},m(r,o){w(r,e,o),n&&n.m(e,null),l=!0},p(r,o){n&&n.p&&(!l||o&256)&&te(n,t,r,r[8],l?ne(t,r[8],o,null):le(r[8]),null),(!l||o&1)&&k(e,"href",r[0])},i(r){l||(g(n,r),l=!0)},o(r){$(n,r),l=!1},d(r){r&&p(e),n&&n.d(r)}}}function es(s){let e,l,t,n;const r=s[9].default,o=ee(r,s,s[8],null);return{c(){e=z("button"),o&&o.c(),this.h()},l(a){e=j(a,"BUTTON",{class:!0});var i=O(e);o&&o.l(i),i.forEach(p),this.h()},h(){k(e,"class",s[5]+" text-left svelte-4ukgao")},m(a,i){w(a,e,i),o&&o.m(e,null),l=!0,t||(n=ve(e,"click",function(){ht(s[4])&&s[4].apply(this,arguments)}),t=!0)},p(a,i){s=a,o&&o.p&&(!l||i&256)&&te(o,r,s,s[8],l?ne(r,s[8],i,null):le(s[8]),null)},i(a){l||(g(o,a),l=!0)},o(a){$(o,a),l=!1},d(a){a&&p(e),o&&o.d(a),t=!1,n()}}}function ts(s){let e,l,t,n,r,o;const a=[es,xn,yn,Yn],i=[];function f(u,c){return u[4]!==null?0:u[0]&&u[3]?1:u[0]?2:3}return l=f(s),t=i[l]=a[l](s),{c(){e=z("li"),t.c(),this.h()},l(u){e=j(u,"LI",{class:!0,"data-testid":!0});var c=O(e);t.l(c),c.forEach(p),this.h()},h(){k(e,"class",n=ze(s[0]?"":s[5])+" svelte-4ukgao"),k(e,"data-testid",r=s[6]["data-testid"]),J(e,"noFilter",s[1]),J(e,"wrap",s[2]),J(e,"button",s[4]!==null)},m(u,c){w(u,e,c),i[l].m(e,null),o=!0},p(u,[c]){let d=l;l=f(u),l===d?i[l].p(u,c):(ce(),$(i[d],1,1,()=>{i[d]=null}),de(),t=i[l],t?t.p(u,c):(t=i[l]=a[l](u),t.c()),g(t,1),t.m(e,null)),(!o||c&1&&n!==(n=ze(u[0]?"":u[5])+" svelte-4ukgao"))&&k(e,"class",n),(!o||c&64&&r!==(r=u[6]["data-testid"]))&&k(e,"data-testid",r),(!o||c&3)&&J(e,"noFilter",u[1]),(!o||c&5)&&J(e,"wrap",u[2]),(!o||c&17)&&J(e,"button",u[4]!==null)},i(u){o||(g(t),o=!0)},o(u){$(t),o=!1},d(u){u&&p(e),i[l].d()}}}function ls(s,e,l){let{$$slots:t={},$$scope:n}=e,{link:r=null}=e,{isCloud:o}=e,{noFilter:a=!1}=e,{wrap:i=!1}=e,{externalLink:f=!1}=e,{handleClick:u=null}=e,c=`nav-row ${e.class} ${o?"cloud":"local"}`;return s.$$set=d=>{l(6,e=we(we({},e),je(d))),"link"in d&&l(0,r=d.link),"isCloud"in d&&l(7,o=d.isCloud),"noFilter"in d&&l(1,a=d.noFilter),"wrap"in d&&l(2,i=d.wrap),"externalLink"in d&&l(3,f=d.externalLink),"handleClick"in d&&l(4,u=d.handleClick),"$$scope"in d&&l(8,n=d.$$scope)},e=je(e),[r,a,i,f,u,c,e,o,n,t]}class Oe extends ae{constructor(e){super(),fe(this,e,ls,ts,ue,{link:0,isCloud:7,noFilter:1,wrap:2,externalLink:3,handleClick:4})}}function ns(s){let e;const l=s[3].default,t=ee(l,s,s[4],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&16)&&te(t,l,n,n[4],e?ne(l,n[4],r,null):le(n[4]),null)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function ss(s){let e,l;const t=[{right:!0},{hide:s[2]},{text:s[1]},s[0]];let n={$$slots:{default:[ns]},$$scope:{ctx:s}};for(let r=0;rl(2,r=u));let{$$slots:o={},$$scope:a}=e,{props:i=n}=e,{text:f=n.text}=e;return s.$$set=u=>{e=we(we({},e),je(u)),l(5,n=Fe(e,t)),"props"in u&&l(0,i=u.props),"text"in u&&l(1,f=u.text),"$$scope"in u&&l(4,a=u.$$scope)},[i,f,r,o,a]}class Re extends ae{constructor(e){super(),fe(this,e,rs,ss,ue,{props:0,text:1})}}const os=s=>({}),xt=s=>({}),is=s=>({}),el=s=>({}),as=s=>({}),tl=s=>({}),fs=s=>({}),ll=s=>({}),us=s=>({}),nl=s=>({});function cs(s){let e,l,t;return l=new Ce({props:{name:"workflow"}}),{c(){e=z("div"),C(l.$$.fragment),this.h()},l(n){e=j(n,"DIV",{class:!0});var r=O(e);I(l.$$.fragment,r),r.forEach(p),this.h()},h(){k(e,"class","nav-icon svelte-1jb7rp7")},m(n,r){w(n,e,r),T(l,e,null),t=!0},p:se,i(n){t||(g(l.$$.fragment,n),t=!0)},o(n){$(l.$$.fragment,n),t=!1},d(n){n&&p(e),L(l)}}}function ds(s){let e,l,t,n=B("workflows")+"",r,o;return e=new Re({props:{text:B("workflows"),$$slots:{default:[cs]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment),l=P(),t=z("div"),r=G(n),this.h()},l(a){I(e.$$.fragment,a),l=H(a),t=j(a,"DIV",{class:!0});var i=O(t);r=Q(i,n),i.forEach(p),this.h()},h(){k(t,"class","nav-title svelte-1jb7rp7")},m(a,i){T(e,a,i),w(a,l,i),w(a,t,i),V(t,r),o=!0},p(a,i){const f={};i&512&&(f.$$scope={dirty:i,ctx:a}),e.$set(f)},i(a){o||(g(e.$$.fragment,a),o=!0)},o(a){$(e.$$.fragment,a),o=!1},d(a){L(e,a),a&&p(l),a&&p(t)}}}function ms(s){let e,l,t;return l=new Ce({props:{name:"schedules"}}),{c(){e=z("div"),C(l.$$.fragment),this.h()},l(n){e=j(n,"DIV",{class:!0});var r=O(e);I(l.$$.fragment,r),r.forEach(p),this.h()},h(){k(e,"class","nav-icon svelte-1jb7rp7")},m(n,r){w(n,e,r),T(l,e,null),t=!0},p:se,i(n){t||(g(l.$$.fragment,n),t=!0)},o(n){$(l.$$.fragment,n),t=!1},d(n){n&&p(e),L(l)}}}function _s(s){let e,l,t,n=B("schedules")+"",r,o;return e=new Re({props:{text:B("schedules"),$$slots:{default:[ms]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment),l=P(),t=z("div"),r=G(n),this.h()},l(a){I(e.$$.fragment,a),l=H(a),t=j(a,"DIV",{class:!0});var i=O(t);r=Q(i,n),i.forEach(p),this.h()},h(){k(t,"class","nav-title svelte-1jb7rp7")},m(a,i){T(e,a,i),w(a,l,i),w(a,t,i),V(t,r),o=!0},p(a,i){const f={};i&512&&(f.$$scope={dirty:i,ctx:a}),e.$set(f)},i(a){o||(g(e.$$.fragment,a),o=!0)},o(a){$(e.$$.fragment,a),o=!1},d(a){L(e,a),a&&p(l),a&&p(t)}}}function ps(s){let e,l;return e=new Oe({props:{link:s[2].schedules,isCloud:s[0],"data-testid":"schedules-button",$$slots:{default:[_s]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n&4&&(r.link=t[2].schedules),n&1&&(r.isCloud=t[0]),n&512&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function gs(s){var t,n;let e,l;return e=new Vn({props:{enabled:Boolean((n=(t=s[1])==null?void 0:t.namespaceInfo)==null?void 0:n.supportsSchedules),$$slots:{default:[ps]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(r){I(e.$$.fragment,r)},m(r,o){T(e,r,o),l=!0},p(r,o){var i,f;const a={};o&2&&(a.enabled=Boolean((f=(i=r[1])==null?void 0:i.namespaceInfo)==null?void 0:f.supportsSchedules)),o&517&&(a.$$scope={dirty:o,ctx:r}),e.$set(a)},i(r){l||(g(e.$$.fragment,r),l=!0)},o(r){$(e.$$.fragment,r),l=!1},d(r){L(e,r)}}}function hs(s){let e,l,t;return l=new Ce({props:{name:"archives"}}),{c(){e=z("div"),C(l.$$.fragment),this.h()},l(n){e=j(n,"DIV",{class:!0});var r=O(e);I(l.$$.fragment,r),r.forEach(p),this.h()},h(){k(e,"class","nav-icon svelte-1jb7rp7")},m(n,r){w(n,e,r),T(l,e,null),t=!0},p:se,i(n){t||(g(l.$$.fragment,n),t=!0)},o(n){$(l.$$.fragment,n),t=!1},d(n){n&&p(e),L(l)}}}function $s(s){let e,l,t,n=B("archive")+"",r,o;return e=new Re({props:{text:B("archive"),$$slots:{default:[hs]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment),l=P(),t=z("div"),r=G(n),this.h()},l(a){I(e.$$.fragment,a),l=H(a),t=j(a,"DIV",{class:!0});var i=O(t);r=Q(i,n),i.forEach(p),this.h()},h(){k(t,"class","nav-title svelte-1jb7rp7")},m(a,i){T(e,a,i),w(a,l,i),w(a,t,i),V(t,r),o=!0},p(a,i){const f={};i&512&&(f.$$scope={dirty:i,ctx:a}),e.$set(f)},i(a){o||(g(e.$$.fragment,a),o=!0)},o(a){$(e.$$.fragment,a),o=!1},d(a){L(e,a),a&&p(l),a&&p(t)}}}function bs(s){let e,l;return e=new Oe({props:{link:s[2].archive,isCloud:s[0],"data-testid":"archive-button",$$slots:{default:[$s]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n&4&&(r.link=t[2].archive),n&1&&(r.isCloud=t[0]),n&512&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function vs(s){let e,l,t;return l=new Ce({props:{name:s[4]}}),{c(){e=z("div"),C(l.$$.fragment),this.h()},l(n){e=j(n,"DIV",{class:!0});var r=O(e);I(l.$$.fragment,r),r.forEach(p),this.h()},h(){k(e,"class","nav-icon svelte-1jb7rp7")},m(n,r){w(n,e,r),T(l,e,null),t=!0},p(n,r){const o={};r&16&&(o.name=n[4]),l.$set(o)},i(n){t||(g(l.$$.fragment,n),t=!0)},o(n){$(l.$$.fragment,n),t=!1},d(n){n&&p(e),L(l)}}}function ks(s){let e,l,t,n=B("batch","nav-title")+"",r,o;return e=new Re({props:{text:B("batch","list-page-title"),$$slots:{default:[vs]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment),l=P(),t=z("div"),r=G(n),this.h()},l(a){I(e.$$.fragment,a),l=H(a),t=j(a,"DIV",{class:!0});var i=O(t);r=Q(i,n),i.forEach(p),this.h()},h(){k(t,"class","nav-title svelte-1jb7rp7")},m(a,i){T(e,a,i),w(a,l,i),w(a,t,i),V(t,r),o=!0},p(a,i){const f={};i&528&&(f.$$scope={dirty:i,ctx:a}),e.$set(f)},i(a){o||(g(e.$$.fragment,a),o=!0)},o(a){$(e.$$.fragment,a),o=!1},d(a){L(e,a),a&&p(l),a&&p(t)}}}function ws(s){let e,l,t,n,r,o,a,i,f;e=new Oe({props:{link:s[2].workflows,isCloud:s[0],"data-testid":"workflows-button",$$slots:{default:[ds]},$$scope:{ctx:s}}}),t=new dt({props:{isCloud:s[0],$$slots:{default:[gs]},$$scope:{ctx:s}}});const u=s[7].top,c=ee(u,s,s[9],xt);return o=new dt({props:{isCloud:s[0],$$slots:{default:[bs]},$$scope:{ctx:s}}}),i=new Oe({props:{link:s[2].batchOperations,isCloud:s[0],$$slots:{default:[ks]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment),l=P(),C(t.$$.fragment),n=P(),c&&c.c(),r=P(),C(o.$$.fragment),a=P(),C(i.$$.fragment)},l(d){I(e.$$.fragment,d),l=H(d),I(t.$$.fragment,d),n=H(d),c&&c.l(d),r=H(d),I(o.$$.fragment,d),a=H(d),I(i.$$.fragment,d)},m(d,m){T(e,d,m),w(d,l,m),T(t,d,m),w(d,n,m),c&&c.m(d,m),w(d,r,m),T(o,d,m),w(d,a,m),T(i,d,m),f=!0},p(d,m){const _={};m&4&&(_.link=d[2].workflows),m&1&&(_.isCloud=d[0]),m&512&&(_.$$scope={dirty:m,ctx:d}),e.$set(_);const b={};m&1&&(b.isCloud=d[0]),m&519&&(b.$$scope={dirty:m,ctx:d}),t.$set(b),c&&c.p&&(!f||m&512)&&te(c,u,d,d[9],f?ne(u,d[9],m,os):le(d[9]),xt);const h={};m&1&&(h.isCloud=d[0]),m&517&&(h.$$scope={dirty:m,ctx:d}),o.$set(h);const v={};m&4&&(v.link=d[2].batchOperations),m&1&&(v.isCloud=d[0]),m&528&&(v.$$scope={dirty:m,ctx:d}),i.$set(v)},i(d){f||(g(e.$$.fragment,d),g(t.$$.fragment,d),g(c,d),g(o.$$.fragment,d),g(i.$$.fragment,d),f=!0)},o(d){$(e.$$.fragment,d),$(t.$$.fragment,d),$(c,d),$(o.$$.fragment,d),$(i.$$.fragment,d),f=!1},d(d){L(e,d),d&&p(l),L(t,d),d&&p(n),c&&c.d(d),d&&p(r),L(o,d),d&&p(a),L(i,d)}}}function Es(s){let e,l,t;return l=new Ce({props:{name:"namespace"}}),{c(){e=z("div"),C(l.$$.fragment),this.h()},l(n){e=j(n,"DIV",{class:!0});var r=O(e);I(l.$$.fragment,r),r.forEach(p),this.h()},h(){k(e,"class","nav-icon svelte-1jb7rp7")},m(n,r){w(n,e,r),T(l,e,null),t=!0},p:se,i(n){t||(g(l.$$.fragment,n),t=!0)},o(n){$(l.$$.fragment,n),t=!1},d(n){n&&p(e),L(l)}}}function Cs(s){let e,l,t,n=B("namespaces")+"",r,o;return e=new Re({props:{text:B("namespaces"),$$slots:{default:[Es]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment),l=P(),t=z("div"),r=G(n),this.h()},l(a){I(e.$$.fragment,a),l=H(a),t=j(a,"DIV",{class:!0});var i=O(t);r=Q(i,n),i.forEach(p),this.h()},h(){k(t,"class","nav-title svelte-1jb7rp7")},m(a,i){T(e,a,i),w(a,l,i),w(a,t,i),V(t,r),o=!0},p(a,i){const f={};i&512&&(f.$$scope={dirty:i,ctx:a}),e.$set(f)},i(a){o||(g(e.$$.fragment,a),o=!0)},o(a){$(e.$$.fragment,a),o=!1},d(a){L(e,a),a&&p(l),a&&p(t)}}}function Is(s){let e,l;return e=new Oe({props:{link:s[2].namespaces,isCloud:s[0],"data-testid":"namespaces-button",$$slots:{default:[Cs]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n&4&&(r.link=t[2].namespaces),n&1&&(r.isCloud=t[0]),n&512&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ts(s){let e,l,t;e=new Hn({props:{isCloud:s[0],$$slots:{default:[Is]},$$scope:{ctx:s}}});const n=s[7].middle,r=ee(n,s,s[9],el);return{c(){C(e.$$.fragment),l=P(),r&&r.c()},l(o){I(e.$$.fragment,o),l=H(o),r&&r.l(o)},m(o,a){T(e,o,a),w(o,l,a),r&&r.m(o,a),t=!0},p(o,a){const i={};a&1&&(i.isCloud=o[0]),a&517&&(i.$$scope={dirty:a,ctx:o}),e.$set(i),r&&r.p&&(!t||a&512)&&te(r,n,o,o[9],t?ne(n,o[9],a,is):le(o[9]),el)},i(o){t||(g(e.$$.fragment,o),g(r,o),t=!0)},o(o){$(e.$$.fragment,o),$(r,o),t=!1},d(o){L(e,o),o&&p(l),r&&r.d(o)}}}function Ls(s){let e,l,t;return l=new Ce({props:{name:"import"}}),{c(){e=z("div"),C(l.$$.fragment),this.h()},l(n){e=j(n,"DIV",{class:!0});var r=O(e);I(l.$$.fragment,r),r.forEach(p),this.h()},h(){k(e,"class","nav-icon svelte-1jb7rp7")},m(n,r){w(n,e,r),T(l,e,null),t=!0},p:se,i(n){t||(g(l.$$.fragment,n),t=!0)},o(n){$(l.$$.fragment,n),t=!1},d(n){n&&p(e),L(l)}}}function Vs(s){let e,l,t,n=B("import")+"",r,o;return e=new Re({props:{text:B("import"),$$slots:{default:[Ls]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment),l=P(),t=z("div"),r=G(n),this.h()},l(a){I(e.$$.fragment,a),l=H(a),t=j(a,"DIV",{class:!0});var i=O(t);r=Q(i,n),i.forEach(p),this.h()},h(){k(t,"class","nav-title svelte-1jb7rp7")},m(a,i){T(e,a,i),w(a,l,i),w(a,t,i),V(t,r),o=!0},p(a,i){const f={};i&512&&(f.$$scope={dirty:i,ctx:a}),e.$set(f)},i(a){o||(g(e.$$.fragment,a),o=!0)},o(a){$(e.$$.fragment,a),o=!1},d(a){L(e,a),a&&p(l),a&&p(t)}}}function Ds(s){let e,l;return e=new Oe({props:{link:s[2].import,isCloud:s[0],"data-testid":"import-button",$$slots:{default:[Vs]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n&4&&(r.link=t[2].import),n&1&&(r.isCloud=t[0]),n&512&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ns(s){let e,l;return e=new dt({props:{isCloud:s[0],$$slots:{default:[Ds]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n&1&&(r.isCloud=t[0]),n&517&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ss(s){let e,l,t;return l=new Ce({props:{name:"feedback"}}),{c(){e=z("div"),C(l.$$.fragment),this.h()},l(n){e=j(n,"DIV",{class:!0});var r=O(e);I(l.$$.fragment,r),r.forEach(p),this.h()},h(){k(e,"class","nav-icon svelte-1jb7rp7")},m(n,r){w(n,e,r),T(l,e,null),t=!0},p:se,i(n){t||(g(l.$$.fragment,n),t=!0)},o(n){$(l.$$.fragment,n),t=!1},d(n){n&&p(e),L(l)}}}function Bs(s){let e,l,t,n=B("feedback")+"",r,o;return e=new Re({props:{text:B("feedback"),$$slots:{default:[Ss]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment),l=P(),t=z("div"),r=G(n),this.h()},l(a){I(e.$$.fragment,a),l=H(a),t=j(a,"DIV",{class:!0});var i=O(t);r=Q(i,n),i.forEach(p),this.h()},h(){k(t,"class","nav-title svelte-1jb7rp7")},m(a,i){T(e,a,i),w(a,l,i),w(a,t,i),V(t,r),o=!0},p(a,i){const f={};i&512&&(f.$$scope={dirty:i,ctx:a}),e.$set(f)},i(a){o||(g(e.$$.fragment,a),o=!0)},o(a){$(e.$$.fragment,a),o=!1},d(a){L(e,a),a&&p(l),a&&p(t)}}}function zs(s){let e,l;return e=new Oe({props:{link:s[2].feedback,isCloud:s[0],externalLink:!0,$$slots:{default:[Bs]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n&4&&(r.link=t[2].feedback),n&1&&(r.isCloud=t[0]),n&512&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function js(s){let e,l,t;return l=new Ce({props:{name:"labs",active:s[3]}}),{c(){e=z("div"),C(l.$$.fragment),this.h()},l(n){e=j(n,"DIV",{class:!0});var r=O(e);I(l.$$.fragment,r),r.forEach(p),this.h()},h(){k(e,"class","nav-icon svelte-1jb7rp7")},m(n,r){w(n,e,r),T(l,e,null),t=!0},p(n,r){const o={};r&8&&(o.active=n[3]),l.$set(o)},i(n){t||(g(l.$$.fragment,n),t=!0)},o(n){$(l.$$.fragment,n),t=!1},d(n){n&&p(e),L(l)}}}function sl(s){let e,l=B("experimental")+"",t;return{c(){e=z("p"),t=G(l),this.h()},l(n){e=j(n,"P",{class:!0});var r=O(e);t=Q(r,l),r.forEach(p),this.h()},h(){k(e,"class","text-[12px]")},m(n,r){w(n,e,r),V(e,t)},p:se,d(n){n&&p(e)}}}function Os(s){let e,l,t,n,r,o,a;e=new Re({props:{right:!0,text:s[6],$$slots:{default:[js]},$$scope:{ctx:s}}});let i=s[3]&&sl();return{c(){C(e.$$.fragment),l=P(),t=z("div"),n=z("div"),r=G(s[5]),o=P(),i&&i.c(),this.h()},l(f){I(e.$$.fragment,f),l=H(f),t=j(f,"DIV",{class:!0});var u=O(t);n=j(u,"DIV",{});var c=O(n);r=Q(c,s[5]),c.forEach(p),o=H(u),i&&i.l(u),u.forEach(p),this.h()},h(){k(t,"class","nav-title flex flex-col leading-3 svelte-1jb7rp7")},m(f,u){T(e,f,u),w(f,l,u),w(f,t,u),V(t,n),V(n,r),V(t,o),i&&i.m(t,null),a=!0},p(f,u){const c={};u&64&&(c.text=f[6]),u&520&&(c.$$scope={dirty:u,ctx:f}),e.$set(c),(!a||u&32)&&pe(r,f[5]),f[3]?i?i.p(f,u):(i=sl(),i.c(),i.m(t,null)):i&&(i.d(1),i=null)},i(f){a||(g(e.$$.fragment,f),a=!0)},o(f){$(e.$$.fragment,f),a=!1},d(f){L(e,f),f&&p(l),f&&p(t),i&&i.d()}}}function Rs(s){let e,l,t,n,r;const o=s[7].bottom,a=ee(o,s,s[9],nl),i=s[7].import,f=ee(i,s,s[9],ll),u=f||Ns(s),c=s[7].feedback,d=ee(c,s,s[9],tl),m=d||zs(s);return n=new Oe({props:{isCloud:s[0],handleClick:s[8],$$slots:{default:[Os]},$$scope:{ctx:s}}}),{c(){a&&a.c(),e=P(),u&&u.c(),l=P(),m&&m.c(),t=P(),C(n.$$.fragment)},l(_){a&&a.l(_),e=H(_),u&&u.l(_),l=H(_),m&&m.l(_),t=H(_),I(n.$$.fragment,_)},m(_,b){a&&a.m(_,b),w(_,e,b),u&&u.m(_,b),w(_,l,b),m&&m.m(_,b),w(_,t,b),T(n,_,b),r=!0},p(_,b){a&&a.p&&(!r||b&512)&&te(a,o,_,_[9],r?ne(o,_[9],b,us):le(_[9]),nl),f?f.p&&(!r||b&512)&&te(f,i,_,_[9],r?ne(i,_[9],b,fs):le(_[9]),ll):u&&u.p&&(!r||b&5)&&u.p(_,r?b:-1),d?d.p&&(!r||b&512)&&te(d,c,_,_[9],r?ne(c,_[9],b,as):le(_[9]),tl):m&&m.p&&(!r||b&5)&&m.p(_,r?b:-1);const h={};b&1&&(h.isCloud=_[0]),b&8&&(h.handleClick=_[8]),b&616&&(h.$$scope={dirty:b,ctx:_}),n.$set(h)},i(_){r||(g(a,_),g(u,_),g(m,_),g(n.$$.fragment,_),r=!0)},o(_){$(a,_),$(u,_),$(m,_),$(n.$$.fragment,_),r=!1},d(_){a&&a.d(_),_&&p(e),u&&u.d(_),_&&p(l),m&&m.d(_),_&&p(t),L(n,_)}}}function qs(s){let e,l;return e=new Jn({props:{isCloud:s[0],linkList:s[2],"aria-label":B("primary"),$$slots:{bottom:[Rs],middle:[Ts],top:[ws]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,[n]){const r={};n&1&&(r.isCloud=t[0]),n&4&&(r.linkList=t[2]),n&639&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function As(s,e,l){let t,n,r,o;oe(s,Jl,b=>l(10,r=b)),oe(s,Bt,b=>l(3,o=b));let{$$slots:a={},$$scope:i}=e,{isCloud:f=!1}=e,{activeNamespace:u}=e,{linkList:c}=e,d="layers-3";const m=setInterval(()=>{if(!r){l(4,d="layers-3");return}setTimeout(()=>{l(4,d="layers-1")}),setTimeout(()=>{l(4,d="layers-2")},330),setTimeout(()=>{l(4,d="layers-3")},660)},2e3);Ol(()=>{clearInterval(m)});const _=()=>me(Bt,o=!o,o);return s.$$set=b=>{"isCloud"in b&&l(0,f=b.isCloud),"activeNamespace"in b&&l(1,u=b.activeNamespace),"linkList"in b&&l(2,c=b.linkList),"$$scope"in b&&l(9,i=b.$$scope)},s.$$.update=()=>{s.$$.dirty&8&&l(6,t=`${B("labs")} ${o?`${B("on")} - ${B("experimental")}`:B("off")}`),s.$$.dirty&8&&l(5,n=`${B("labs")} ${o?B("on"):B("off")}`)},[f,u,c,o,d,n,t,a,_,i]}class Ps extends ae{constructor(e){super(),fe(this,e,As,qs,ue,{isCloud:0,activeNamespace:1,linkList:2})}}function Hs(s){let e=B("skip-nav")+"",l;return{c(){l=G(e)},l(t){l=Q(t,e)},m(t,n){w(t,l,n)},p:se,d(t){t&&p(l)}}}function Ms(s){let e,l;return e=new Vl({props:{id:"skip-nav",href:"#content",class:"absolute left-1/2 z-100 -translate-y-full p-1 focus:translate-y-0",$$slots:{default:[Hs]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,[n]){const r={};n&1&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}class Fs extends ae{constructor(e){super(),fe(this,e,null,Ms,ue,{})}}const Ks=Ue("notRequested"),Sl=Zl([Ae,ft,at,Kl,Ks,Dl],([s,e,l,t,n,r])=>{var b,h,v,q,A,S,M,Z,R;const o=s.params.namespace,a=(v=(h=(b=s==null?void 0:s.data)==null?void 0:b.settings)==null?void 0:h.codec)==null?void 0:v.endpoint,i=Boolean((S=(A=(q=s==null?void 0:s.data)==null?void 0:q.settings)==null?void 0:A.codec)==null?void 0:S.passAccessToken),f=Boolean((R=(Z=(M=s==null?void 0:s.data)==null?void 0:M.settings)==null?void 0:Z.codec)==null?void 0:R.includeCredentials),u=l?e:a||e,c=r==null?void 0:r.accessToken;return{namespace:o,settingsEndpoint:a,settingsPassAccessToken:i,settingsIncludeCredentials:f,endpoint:u,accessToken:c,hasNotRequested:u?t==="notRequested":n==="notRequested",hasError:u?t==="error":n==="error",hasSuccess:u?t==="success":n==="success"}});function Us(s){let e,l;return e=new We({props:{bottomRight:!0,text:B("data-encoder","configure-codec-server"),$$slots:{default:[Zs]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n&8&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ws(s){let e,l,t,n;const r=[Xs,Qs,Gs],o=[];function a(i,f){var u;return(u=i[0])!=null&&u.hasNotRequested?0:i[0].hasError?1:i[0].hasSuccess?2:-1}return~(e=a(s))&&(l=o[e]=r[e](s)),{c(){l&&l.c(),t=ie()},l(i){l&&l.l(i),t=ie()},m(i,f){~e&&o[e].m(i,f),w(i,t,f),n=!0},p(i,f){let u=e;e=a(i),e===u?~e&&o[e].p(i,f):(l&&(ce(),$(o[u],1,1,()=>{o[u]=null}),de()),~e?(l=o[e],l?l.p(i,f):(l=o[e]=r[e](i),l.c()),g(l,1),l.m(t.parentNode,t)):l=null)},i(i){n||(g(l),n=!0)},o(i){$(l),n=!1},d(i){~e&&o[e].d(i),i&&p(t)}}}function Zs(s){let e,l;return e=new Ze({props:{label:B("data-encoder","configure-codec-server"),class:"relative flex items-center","data-testid":"data-encoder-status",icon:"transcoder-off"}}),e.$on("click",s[1]),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p:se,i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Gs(s){let e,l;return e=new We({props:{bottomRight:!0,text:B("data-encoder","codec-server-success"),$$slots:{default:[Js]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n&8&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Qs(s){let e,l;return e=new We({props:{bottomRight:!0,text:B("data-encoder","codec-server-error"),$$slots:{default:[Ys]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n&8&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Xs(s){let e,l;return e=new We({props:{bottomRight:!0,text:B("data-encoder","codec-server-configured"),$$slots:{default:[ys]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n&8&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Js(s){let e,l;return e=new Ze({props:{label:B("data-encoder","codec-server-success"),class:"relative flex items-center","data-testid":"data-encoder-status-success",icon:"transcoder-on"}}),e.$on("click",s[1]),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p:se,i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ys(s){let e,l;return e=new Ze({props:{label:B("data-encoder","codec-server-error"),class:"relative flex items-center","data-testid":"data-encoder-status-error",icon:"transcoder-error"}}),e.$on("click",s[1]),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p:se,i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function ys(s){let e,l;return e=new Ze({props:{label:B("data-encoder","codec-server-configured"),class:"relative flex items-center","data-testid":"data-encoder-status-configured",icon:"transcoder-on"}}),e.$on("click",s[1]),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p:se,i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function xs(s){let e,l,t,n;const r=[Ws,Us],o=[];function a(i,f){var u;return(u=i[0])!=null&&u.endpoint?0:1}return l=a(s),t=o[l]=r[l](s),{c(){e=z("div"),t.c(),this.h()},l(i){e=j(i,"DIV",{class:!0});var f=O(e);t.l(f),f.forEach(p),this.h()},h(){k(e,"class","mx-1 flex items-center")},m(i,f){w(i,e,f),o[l].m(e,null),n=!0},p(i,[f]){let u=l;l=a(i),l===u?o[l].p(i,f):(ce(),$(o[u],1,1,()=>{o[u]=null}),de(),t=o[l],t?t.p(i,f):(t=o[l]=r[l](i),t.c()),g(t,1),t.m(e,null))},i(i){n||(g(t),n=!0)},o(i){$(t),n=!1},d(i){i&&p(e),o[l].d()}}}function er(s,e,l){let t,n;return oe(s,Me,o=>l(2,t=o)),oe(s,Sl,o=>l(0,n=o)),[n,()=>{var o;me(Me,t=!t,t),t&&((o=document.getElementById("content-wrapper"))===null||o===void 0||o.scrollTo(0,0))}]}class tr extends ae{constructor(e){super(),fe(this,e,er,xs,ue,{})}}function rl(s,e,l){const t=s.slice();return t[18]=e[l].value,t[19]=e[l].label,t[20]=e[l].offset,t[21]=e[l].abbr,t}function ol(s,e,l){const t=s.slice();return t[18]=e[l].value,t[19]=e[l].label,t}function lr(s){let e;return{c(){e=G(s[3])},l(l){e=Q(l,s[3])},m(l,t){w(l,e,t)},p(l,t){t&8&&pe(e,l[3])},d(l){l&&p(e)}}}function nr(s){let e,l;return e=new Ce({props:{slot:"leading",name:"clock"}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p:se,i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function il(s){let e,l,t,n,r,o,a,i=s[7],f=[];for(let m=0;m$(f[m],1,1,()=>{f[m]=null});function c(m){s[16](m)}let d={label:B("relative"),id:"relative-toggle",labelPosition:"left","data-testid":"timezones-relative-toggle"};return s[5]!==void 0&&(d.checked=s[5]),t=new it({props:d}),Le.push(()=>De(t,"checked",c)),t.$on("change",s[9]),o=new Nl({}),{c(){for(let m=0;mn=!1)),t.$set(b)},i(m){if(!a){for(let _=0;_({}),Pt=s=>({});function Ht(s){let e,l;return{c(){e=z("p"),l=G(s[11]),this.h()},l(t){e=O(t,"P",{class:!0});var n=R(e);l=Q(n,s[11]),n.forEach(p),this.h()},h(){k(e,"class","text-sm")},m(t,n){w(t,e,n),V(e,l)},p(t,n){n&2048&&pe(l,t[11])},d(t){t&&p(e)}}}function Mt(s){let e,l,t=s[2]&&Ft(s);const n=s[14].error,r=ee(n,s,s[13],Pt);return{c(){t&&t.c(),e=P(),r&&r.c()},l(o){t&&t.l(o),e=H(o),r&&r.l(o)},m(o,a){t&&t.m(o,a),w(o,e,a),r&&r.m(o,a),l=!0},p(o,a){o[2]?t?t.p(o,a):(t=Ft(o),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null),r&&r.p&&(!l||a&8192)&&te(r,n,o,o[13],l?ne(n,o[13],a,an):le(o[13]),Pt)},i(o){l||(g(r,o),l=!0)},o(o){$(r,o),l=!1},d(o){t&&t.d(o),o&&p(e),r&&r.d(o)}}}function Ft(s){let e,l;return{c(){e=z("p"),l=G(s[2])},l(t){e=O(t,"P",{});var n=R(e);l=Q(n,s[2]),n.forEach(p)},m(t,n){w(t,e,n),V(e,l)},p(t,n){n&4&&pe(l,t[2])},d(t){t&&p(e)}}}function fn(s){let e,l,t,n,r,o,a,i,f,u,c,d,m,_=s[11]&&Ht(s),b=!s[3]&&Mt(s);return{c(){e=z("div"),l=z("label"),t=G(s[7]),n=P(),_&&_.c(),r=P(),o=z("textarea"),a=P(),i=z("div"),b&&b.c(),this.h()},l(h){e=O(h,"DIV",{class:!0});var v=R(e);l=O(v,"LABEL",{for:!0,class:!0});var j=R(l);t=Q(j,s[7]),j.forEach(p),n=H(v),_&&_.l(v),r=H(v),o=O(v,"TEXTAREA",{class:!0,id:!0,placeholder:!0,rows:!0,spellcheck:!0}),R(o).forEach(p),a=H(v),i=O(v,"DIV",{class:!0,"aria-live":!0});var A=R(i);b&&b.l(A),A.forEach(p),v.forEach(p),this.h()},h(){k(l,"for",s[9]),k(l,"class","svelte-1cdabgy"),J(l,"required",s[10]),J(l,"sr-only",s[8]),k(o,"class","min-h-fit w-full rounded border border-gray-900 py-2 px-3 font-mono text-sm svelte-1cdabgy"),k(o,"id",s[9]),o.disabled=s[1],k(o,"placeholder",s[4]),k(o,"rows",s[5]),k(o,"spellcheck",s[6]),J(o,"error",!s[3]),k(i,"class","error-msg svelte-1cdabgy"),k(i,"aria-live",f=s[3]?"off":"assertive"),k(e,"class",u=ze(s[12])+" svelte-1cdabgy")},m(h,v){w(h,e,v),V(e,l),V(l,t),V(e,n),_&&_.m(e,null),V(e,r),V(e,o),Et(o,s[0]),V(e,a),V(e,i),b&&b.m(i,null),c=!0,d||(m=[ve(o,"input",s[20]),ve(o,"input",s[15]),ve(o,"change",s[16]),ve(o,"focus",s[17]),ve(o,"blur",s[18]),ve(o,"keydown",et(s[19]))],d=!0)},p(h,[v]){(!c||v&128)&&pe(t,h[7]),(!c||v&512)&&k(l,"for",h[9]),(!c||v&1024)&&J(l,"required",h[10]),(!c||v&256)&&J(l,"sr-only",h[8]),h[11]?_?_.p(h,v):(_=Ht(h),_.c(),_.m(e,r)):_&&(_.d(1),_=null),(!c||v&512)&&k(o,"id",h[9]),(!c||v&2)&&(o.disabled=h[1]),(!c||v&16)&&k(o,"placeholder",h[4]),(!c||v&32)&&k(o,"rows",h[5]),(!c||v&64)&&k(o,"spellcheck",h[6]),v&1&&Et(o,h[0]),(!c||v&8)&&J(o,"error",!h[3]),h[3]?b&&(ce(),$(b,1,1,()=>{b=null}),de()):b?(b.p(h,v),v&8&&g(b,1)):(b=Mt(h),b.c(),g(b,1),b.m(i,null)),(!c||v&8&&f!==(f=h[3]?"off":"assertive"))&&k(i,"aria-live",f),(!c||v&4096&&u!==(u=ze(h[12])+" svelte-1cdabgy"))&&k(e,"class",u)},i(h){c||(g(b),c=!0)},o(h){$(b),c=!1},d(h){h&&p(e),_&&_.d(),b&&b.d(),d=!1,_t(m)}}}function un(s,e,l){let{$$slots:t={},$$scope:n}=e,{disabled:r=!1}=e,{error:o=""}=e,{isValid:a=!0}=e,{placeholder:i=""}=e,{rows:f=5}=e,{spellcheck:u=null}=e,{value:c}=e,{label:d}=e,{labelHidden:m=!1}=e,{id:_}=e,{required:b=!1}=e,{description:h=""}=e,{class:v=""}=e;function j(N){He.call(this,s,N)}function A(N){He.call(this,s,N)}function S(N){He.call(this,s,N)}function M(N){He.call(this,s,N)}function Z(N){He.call(this,s,N)}function q(){c=this.value,l(0,c)}return s.$$set=N=>{"disabled"in N&&l(1,r=N.disabled),"error"in N&&l(2,o=N.error),"isValid"in N&&l(3,a=N.isValid),"placeholder"in N&&l(4,i=N.placeholder),"rows"in N&&l(5,f=N.rows),"spellcheck"in N&&l(6,u=N.spellcheck),"value"in N&&l(0,c=N.value),"label"in N&&l(7,d=N.label),"labelHidden"in N&&l(8,m=N.labelHidden),"id"in N&&l(9,_=N.id),"required"in N&&l(10,b=N.required),"description"in N&&l(11,h=N.description),"class"in N&&l(12,v=N.class),"$$scope"in N&&l(13,n=N.$$scope)},[c,r,o,a,i,f,u,d,m,_,b,h,v,n,t,j,A,S,M,Z,q]}class cn extends ae{constructor(e){super(),fe(this,e,un,fn,ue,{disabled:1,error:2,isValid:3,placeholder:4,rows:5,spellcheck:6,value:0,label:7,labelHidden:8,id:9,required:10,description:11,class:12})}}function Kt(s){let e,l=B("data-encoder","include-cross-origin-credentials-warning")+"",t;return{c(){e=z("small"),t=G(l),this.h()},l(n){e=O(n,"SMALL",{"data-testid":!0});var r=R(e);t=Q(r,l),r.forEach(p),this.h()},h(){k(e,"data-testid","data-encoder-cross-origin-credentials")},m(n,r){w(n,e,r),V(e,t)},p:se,d(n){n&&p(e)}}}function dn(s){let e,l,t,n,r,o,a,i,f,u,c,d;function m(S){s[4](S)}let _={id:"data-encoder-endpoint-input",rows:3,placeholder:B("data-encoder","endpoint-placeholder"),error:s[3],isValid:!s[3],label:B("data-encoder","endpoint-title"),description:B("data-encoder","endpoint-description")};s[0]!==void 0&&(_.value=s[0]),t=new cn({props:_}),Le.push(()=>De(t,"value",m));function b(S){s[5](S)}let h={label:B("data-encoder","pass-access-token-label"),id:"pass-access-token","data-testid":"data-encoder-pass-access-token"};s[1]!==void 0&&(h.checked=s[1]),o=new it({props:h}),Le.push(()=>De(o,"checked",b));function v(S){s[6](S)}let j={label:B("data-encoder","include-cross-origin-credentials-label"),id:"pass-access-credentials","data-testid":"data-encoder-include-credentials"};s[2]!==void 0&&(j.checked=s[2]),f=new it({props:j}),Le.push(()=>De(f,"checked",v));let A=s[2]&&Kt();return{c(){e=z("div"),l=z("div"),C(t.$$.fragment),r=P(),C(o.$$.fragment),i=P(),C(f.$$.fragment),c=P(),A&&A.c(),this.h()},l(S){e=O(S,"DIV",{class:!0});var M=R(e);l=O(M,"DIV",{class:!0});var Z=R(l);I(t.$$.fragment,Z),r=H(Z),I(o.$$.fragment,Z),i=H(Z),I(f.$$.fragment,Z),c=H(Z),A&&A.l(Z),Z.forEach(p),M.forEach(p),this.h()},h(){k(l,"class","flex flex-col gap-2"),k(e,"class","flex flex-col gap-4")},m(S,M){w(S,e,M),V(e,l),T(t,l,null),V(l,r),T(o,l,null),V(l,i),T(f,l,null),V(l,c),A&&A.m(l,null),d=!0},p(S,[M]){const Z={};M&8&&(Z.error=S[3]),M&8&&(Z.isValid=!S[3]),!n&&M&1&&(n=!0,Z.value=S[0],Ne(()=>n=!1)),t.$set(Z);const q={};!a&&M&2&&(a=!0,q.checked=S[1],Ne(()=>a=!1)),o.$set(q);const N={};!u&&M&4&&(u=!0,N.checked=S[2],Ne(()=>u=!1)),f.$set(N),S[2]?A?A.p(S,M):(A=Kt(),A.c(),A.m(l,null)):A&&(A.d(1),A=null)},i(S){d||(g(t.$$.fragment,S),g(o.$$.fragment,S),g(f.$$.fragment,S),d=!0)},o(S){$(t.$$.fragment,S),$(o.$$.fragment,S),$(f.$$.fragment,S),d=!1},d(S){S&&p(e),L(t),L(o),L(f),A&&A.d()}}}function mn(s,e,l){let{endpoint:t=""}=e,{passToken:n=!1}=e,{includeCreds:r=!1}=e,{error:o=""}=e;function a(u){t=u,l(0,t)}function i(u){n=u,l(1,n)}function f(u){r=u,l(2,r)}return s.$$set=u=>{"endpoint"in u&&l(0,t=u.endpoint),"passToken"in u&&l(1,n=u.passToken),"includeCreds"in u&&l(2,r=u.includeCreds),"error"in u&&l(3,o=u.error)},[t,n,r,o,a,i,f]}class _n extends ae{constructor(e){super(),fe(this,e,mn,dn,ue,{endpoint:0,passToken:1,includeCreds:2,error:3})}}function Ut(s){let e,l,t,n,r=B("codec-server")+"",o,a,i,f=B("data-encoder","codec-server-description-prefix")+"",u,c,d,m=B("data-encoder","codec-server-description-suffix",{level:s[5]})+"",_,b,h,v,j,A,S,M,Z,q,N,D,K,U,X,Ee,ge;c=new Vl({props:{href:"https://docs.temporal.io/dataconversion#codec-server",newTab:!0,$$slots:{default:[pn]},$$scope:{ctx:s}}}),h=new Wl({props:{"data-testid":"override-accordion",title:s[6]?B("data-encoder","browser-override-description",{level:s[5]}):B("data-encoder","no-browser-override-description",{level:s[5]}),$$slots:{default:[hn]},$$scope:{ctx:s}}});function Te(W){s[14](W)}function he(W){s[15](W)}function Ie(W){s[16](W)}let _e={error:s[4]};return s[0]!==void 0&&(_e.endpoint=s[0]),s[1]!==void 0&&(_e.passToken=s[1]),s[3]!==void 0&&(_e.includeCreds=s[3]),j=new _n({props:_e}),Le.push(()=>De(j,"endpoint",Te)),Le.push(()=>De(j,"passToken",he)),Le.push(()=>De(j,"includeCreds",Ie)),N=new ct({props:{disabled:Boolean(s[4]),"data-testid":"confirm-data-encoder-button",type:"submit",$$slots:{default:[$n]},$$scope:{ctx:s}}}),N.$on("click",s[9]),K=new ct({props:{variant:"ghost","data-testid":"cancel-data-encoder-button",$$slots:{default:[bn]},$$scope:{ctx:s}}}),K.$on("click",s[8]),{c(){e=z("aside"),l=z("div"),t=z("div"),n=z("h3"),o=G(r),a=P(),i=z("p"),u=G(f),C(c.$$.fragment),d=P(),_=G(m),b=P(),C(h.$$.fragment),v=P(),C(j.$$.fragment),Z=P(),q=z("div"),C(N.$$.fragment),D=P(),C(K.$$.fragment),this.h()},l(W){e=O(W,"ASIDE",{class:!0});var Y=R(e);l=O(Y,"DIV",{class:!0});var y=R(l);t=O(y,"DIV",{class:!0});var $e=R(t);n=O($e,"H3",{"data-testid":!0,class:!0});var re=R(n);o=Q(re,r),re.forEach(p),$e.forEach(p),a=H(y),i=O(y,"P",{class:!0});var be=R(i);u=Q(be,f),I(c.$$.fragment,be),d=H(be),_=Q(be,m),be.forEach(p),b=H(y),I(h.$$.fragment,y),v=H(y),I(j.$$.fragment,y),Z=H(y),q=O(y,"DIV",{class:!0});var ke=R(q);I(N.$$.fragment,ke),D=H(ke),I(K.$$.fragment,ke),ke.forEach(p),y.forEach(p),Y.forEach(p),this.h()},h(){k(n,"data-testid","data-encoder-title"),k(n,"class","text-xl"),k(t,"class","flex items-center justify-between space-x-2"),k(i,"class","text-sm"),k(q,"class","flex items-center gap-4"),k(l,"class","flex w-full flex-col gap-4 xl:w-1/2"),k(e,"class","relative flex h-auto w-full flex-col gap-6 border-b border-blue-100 bg-blue-50 p-12")},m(W,Y){w(W,e,Y),V(e,l),V(l,t),V(t,n),V(n,o),V(l,a),V(l,i),V(i,u),T(c,i,null),V(i,d),V(i,_),V(l,b),T(h,l,null),V(l,v),T(j,l,null),V(l,Z),V(l,q),T(N,q,null),V(q,D),T(K,q,null),X=!0,Ee||(ge=[Bl(Ul.call(null,e)),ve(e,"click-outside",s[17])],Ee=!0)},p(W,Y){const y={};Y&8388608&&(y.$$scope={dirty:Y,ctx:W}),c.$set(y),(!X||Y&32)&&m!==(m=B("data-encoder","codec-server-description-suffix",{level:W[5]})+"")&&pe(_,m);const $e={};Y&96&&($e.title=W[6]?B("data-encoder","browser-override-description",{level:W[5]}):B("data-encoder","no-browser-override-description",{level:W[5]})),Y&8388640&&($e.$$scope={dirty:Y,ctx:W}),h.$set($e);const re={};Y&16&&(re.error=W[4]),!A&&Y&1&&(A=!0,re.endpoint=W[0],Ne(()=>A=!1)),!S&&Y&2&&(S=!0,re.passToken=W[1],Ne(()=>S=!1)),!M&&Y&8&&(M=!0,re.includeCreds=W[3],Ne(()=>M=!1)),j.$set(re);const be={};Y&16&&(be.disabled=Boolean(W[4])),Y&8388608&&(be.$$scope={dirty:Y,ctx:W}),N.$set(be);const ke={};Y&8388608&&(ke.$$scope={dirty:Y,ctx:W}),K.$set(ke)},i(W){X||(g(c.$$.fragment,W),g(h.$$.fragment,W),g(j.$$.fragment,W),g(N.$$.fragment,W),g(K.$$.fragment,W),U||pt(()=>{U=zl(e,ut,{y:-50,delay:0,duration:500}),U.start()}),X=!0)},o(W){$(c.$$.fragment,W),$(h.$$.fragment,W),$(j.$$.fragment,W),$(N.$$.fragment,W),$(K.$$.fragment,W),X=!1},d(W){W&&p(e),L(c),L(h),L(j),L(N),L(K),Ee=!1,_t(ge)}}}function pn(s){let e=B("codec-server")+"",l;return{c(){l=G(e)},l(t){l=Q(t,e)},m(t,n){w(t,l,n)},p:se,d(t){t&&p(l)}}}function gn(s){let e,l,t,n;return e=new St({props:{id:"use-configuration-endpoint-radio","data-testid":"use-configuration-endpoint-input",value:!1,label:B("data-encoder","no-browser-override-description",{level:s[5]})}}),t=new St({props:{id:"use-local-endpoint-radio","data-testid":"use-local-endpoint-input",value:!0,label:B("data-encoder","browser-override-description",{level:s[5]})}}),{c(){C(e.$$.fragment),l=P(),C(t.$$.fragment)},l(r){I(e.$$.fragment,r),l=H(r),I(t.$$.fragment,r)},m(r,o){T(e,r,o),w(r,l,o),T(t,r,o),n=!0},p(r,o){const a={};o&32&&(a.label=B("data-encoder","no-browser-override-description",{level:r[5]})),e.$set(a);const i={};o&32&&(i.label=B("data-encoder","browser-override-description",{level:r[5]})),t.$set(i)},i(r){n||(g(e.$$.fragment,r),g(t.$$.fragment,r),n=!0)},o(r){$(e.$$.fragment,r),$(t.$$.fragment,r),n=!1},d(r){L(e,r),r&&p(l),L(t,r)}}}function hn(s){let e,l;return e=new Gl({props:{name:"override",group:s[7],$$slots:{default:[gn]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n&8388640&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function $n(s){let e=B("apply")+"",l;return{c(){l=G(e)},l(t){l=Q(t,e)},m(t,n){w(t,l,n)},p:se,d(t){t&&p(l)}}}function bn(s){let e=B("cancel")+"",l;return{c(){l=G(e)},l(t){l=Q(t,e)},m(t,n){w(t,l,n)},p:se,d(t){t&&p(l)}}}function vn(s){let e,l,t=s[2]&&Ut(s);return{c(){t&&t.c(),e=ie()},l(n){t&&t.l(n),e=ie()},m(n,r){t&&t.m(n,r),w(n,e,r),l=!0},p(n,[r]){n[2]?t?(t.p(n,r),r&4&&g(t,1)):(t=Ut(n),t.c(),g(t,1),t.m(e.parentNode,e)):t&&(ce(),$(t,1,1,()=>{t=null}),de())},i(n){l||(g(t),l=!0)},o(n){$(t),l=!1},d(n){t&&t.d(n),n&&p(e)}}}const Me=Ue(!1);function kn(s,e,l){let t,n,r,o,a,i,f,u=se,c,d,m;oe(s,Vt,U=>l(18,r=U)),oe(s,Ae,U=>l(13,o=U)),oe(s,at,U=>l(19,i=U)),oe(s,Me,U=>l(2,f=U)),oe(s,Dt,U=>l(20,c=U)),oe(s,Nt,U=>l(21,d=U)),oe(s,ft,U=>l(22,m=U)),s.$$.on_destroy.push(()=>u());var _,b,h;let v=m??"",j=d??!1,A=c??!1,S=Ue(i);oe(s,S,U=>l(6,a=U));const M=()=>{l(0,v=m),l(1,j=d),l(3,A=c),me(S,a=i,a),me(Me,f=!1,f)},Z=()=>{l(4,t=""),me(ft,m=v,m),me(Nt,d=j,d),me(Dt,c=A,c),me(Me,f=!1,f),me(at,i=a,i),o.url.pathname.endsWith("history")&&me(Vt,r=Date.now(),r)};function q(U){v=U,l(0,v)}function N(U){j=U,l(1,j)}function D(U){A=U,l(3,A)}const K=()=>me(Me,f=!1,f);return s.$$.update=()=>{s.$$.dirty&15360&&l(5,n=!(l(12,h=l(11,b=l(10,_=o.data)===null||_===void 0?void 0:_.settings)===null||b===void 0?void 0:b.runtimeEnvironment)===null||h===void 0)&&h.isCloud?B("namespaces"):B("cluster")),s.$$.dirty&3&&(j&&!Ml(v)?l(4,t=B("data-encoder","access-token-https-error")):v&&!Fl(v)?l(4,t=B("data-encoder","prefix-error")):l(4,t="")),s.$$.dirty&4&&(f||M())},l(4,t=""),[v,j,f,A,t,n,a,S,M,Z,_,b,h,o,q,N,D,K]}class wn extends ae{constructor(e){super(),fe(this,e,kn,vn,ue,{})}}const En=s=>({}),Wt=s=>({});function Cn(s){let e;const l=s[2].fallback,t=ee(l,s,s[1],Wt);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&2)&&te(t,l,n,n[1],e?ne(l,n[1],r,En):le(n[1]),Wt)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function In(s){let e;const l=s[2].default,t=ee(l,s,s[1],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&2)&&te(t,l,n,n[1],e?ne(l,n[1],r,null):le(n[1]),null)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function Tn(s){let e,l,t,n;const r=[In,Cn],o=[];function a(i,f){return i[0]?0:1}return e=a(s),l=o[e]=r[e](s),{c(){l.c(),t=ie()},l(i){l.l(i),t=ie()},m(i,f){o[e].m(i,f),w(i,t,f),n=!0},p(i,[f]){let u=e;e=a(i),e===u?o[e].p(i,f):(ce(),$(o[u],1,1,()=>{o[u]=null}),de(),l=o[e],l?l.p(i,f):(l=o[e]=r[e](i),l.c()),g(l,1),l.m(t.parentNode,t))},i(i){n||(g(l),n=!0)},o(i){$(l),n=!1},d(i){o[e].d(i),i&&p(t)}}}function Ln(s,e,l){let{$$slots:t={},$$scope:n}=e,{enabled:r=!1}=e;return s.$$set=o=>{"enabled"in o&&l(0,r=o.enabled),"$$scope"in o&&l(1,n=o.$$scope)},[r,n,t]}class Vn extends ae{constructor(e){super(),fe(this,e,Ln,Tn,ue,{enabled:0})}}const Dn=s=>({}),Zt=s=>({});function Nn(s){let e;const l=s[3].default,t=ee(l,s,s[2],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&4)&&te(t,l,n,n[2],e?ne(l,n[2],r,null):le(n[2]),null)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function Sn(s){let e;const l=s[3].fallback,t=ee(l,s,s[2],Zt);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&4)&&te(t,l,n,n[2],e?ne(l,n[2],r,Dn):le(n[2]),Zt)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function Bn(s){let e,l,t,n;const r=[Sn,Nn],o=[];function a(i,f){var u,c,d;return i[0]||(d=(c=(u=i[1].data)==null?void 0:u.settings)==null?void 0:c.runtimeEnvironment)!=null&&d.isCloud?0:1}return e=a(s),l=o[e]=r[e](s),{c(){l.c(),t=ie()},l(i){l.l(i),t=ie()},m(i,f){o[e].m(i,f),w(i,t,f),n=!0},p(i,[f]){let u=e;e=a(i),e===u?o[e].p(i,f):(ce(),$(o[u],1,1,()=>{o[u]=null}),de(),l=o[e],l?l.p(i,f):(l=o[e]=r[e](i),l.c()),g(l,1),l.m(t.parentNode,t))},i(i){n||(g(l),n=!0)},o(i){$(l),n=!1},d(i){o[e].d(i),i&&p(t)}}}function zn(s,e,l){let t;oe(s,Ae,a=>l(1,t=a));let{$$slots:n={},$$scope:r}=e,{isCloud:o=!1}=e;return s.$$set=a=>{"isCloud"in a&&l(0,o=a.isCloud),"$$scope"in a&&l(2,r=a.$$scope)},[o,t,r,n]}class dt extends ae{constructor(e){super(),fe(this,e,zn,Bn,ue,{isCloud:0})}}function On(){return!0}const Rn=s=>({}),Gt=s=>({});function qn(s){let e;const l=s[4].default,t=ee(l,s,s[3],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&8)&&te(t,l,n,n[3],e?ne(l,n[3],r,null):le(n[3]),null)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function jn(s){let e;const l=s[4].fallback,t=ee(l,s,s[3],Gt);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&8)&&te(t,l,n,n[3],e?ne(l,n[3],r,Rn):le(n[3]),Gt)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function An(s){let e,l,t,n;const r=[jn,qn],o=[];function a(i,f){return i[0]&&i[1]?0:1}return e=a(s),l=o[e]=r[e](s),{c(){l.c(),t=ie()},l(i){l.l(i),t=ie()},m(i,f){o[e].m(i,f),w(i,t,f),n=!0},p(i,[f]){let u=e;e=a(i),e===u?o[e].p(i,f):(ce(),$(o[u],1,1,()=>{o[u]=null}),de(),l=o[e],l?l.p(i,f):(l=o[e]=r[e](i),l.c()),g(l,1),l.m(t.parentNode,t))},i(i){n||(g(l),n=!0)},o(i){$(l),n=!1},d(i){o[e].d(i),i&&p(t)}}}function Pn(s,e,l){let t,n;oe(s,Ae,i=>l(2,n=i));let{$$slots:r={},$$scope:o}=e,{isCloud:a=!0}=e;return s.$$set=i=>{"isCloud"in i&&l(0,a=i.isCloud),"$$scope"in i&&l(3,o=i.$$scope)},s.$$.update=()=>{s.$$.dirty&4&&l(1,t=Ql.test(On?n.url.hostname:""))},[a,t,n,o,r]}class Hn extends ae{constructor(e){super(),fe(this,e,Pn,An,ue,{isCloud:0})}}function Mn(s){let e,l,t,n;return{c(){e=st("svg"),l=st("title"),t=G(s[2]),n=st("path"),this.h()},l(r){e=rt(r,"svg",{width:!0,height:!0,viewBox:!0,xmlns:!0,"xmlns:xlink":!0,version:!0,role:!0});var o=R(e);l=rt(o,"title",{});var a=R(l);t=Q(a,s[2]),a.forEach(p),n=rt(o,"path",{id:!0,d:!0,stroke:!0,fill:!0}),R(n).forEach(p),o.forEach(p),this.h()},h(){k(n,"id","Path"),k(n,"d","M65.816 34.224 C63.684 18.251 58.288 4.917 49.999 4.917 41.711 4.917 36.314 18.251 34.182 34.224 18.208 36.357 4.874 41.753 4.874 50.042 4.874 58.33 18.211 63.727 34.182 65.859 36.314 81.83 41.711 95.167 49.999 95.167 58.288 95.167 63.684 81.83 65.816 65.859 81.79 63.727 95.124 58.33 95.124 50.042 95.124 41.753 81.788 36.357 65.816 34.224 Z M33.661 61.206 C18.363 58.997 9.44 53.939 9.44 50.042 9.44 46.144 18.363 41.087 33.661 38.877 33.324 42.56 33.149 46.319 33.149 50.042 33.149 53.764 33.324 57.526 33.661 61.206 Z M49.999 9.483 C53.897 9.483 58.954 18.405 61.164 33.703 57.483 33.367 53.721 33.191 49.999 33.191 46.277 33.191 42.515 33.367 38.835 33.703 41.044 18.405 46.102 9.483 49.999 9.483 Z M66.338 61.206 C65.585 61.316 62.496 61.678 61.715 61.755 61.638 62.539 61.273 65.625 61.166 66.378 58.956 81.676 53.899 90.598 50.001 90.598 46.104 90.598 41.047 81.676 38.837 66.378 38.73 65.625 38.365 62.536 38.288 61.755 37.932 58.129 37.717 54.234 37.717 50.042 37.717 45.85 37.932 41.954 38.288 38.326 41.914 37.97 45.809 37.755 50.001 37.755 54.194 37.755 58.089 37.97 61.715 38.326 62.499 38.403 65.585 38.767 66.338 38.875 81.636 41.085 90.56 46.144 90.56 50.039 90.56 53.935 81.636 58.997 66.338 61.206 Z"),k(n,"stroke",s[3]),k(n,"fill",s[3]),k(e,"width",s[0]),k(e,"height",s[1]),k(e,"viewBox","0 0 100 100"),k(e,"xmlns","http://www.w3.org/2000/svg"),k(e,"xmlns:xlink","http://www.w3.org/1999/xlink"),k(e,"version","1.1"),k(e,"role","img")},m(r,o){w(r,e,o),V(e,l),V(l,t),V(e,n)},p(r,[o]){o&4&&pe(t,r[2]),o&1&&k(e,"width",r[0]),o&2&&k(e,"height",r[1])},i:se,o:se,d(r){r&&p(e)}}}function Fn(s,e,l){let{width:t="100px"}=e,{height:n="100px"}=e,{isCloud:r}=e,{title:o=""}=e,a=r?"black":"white";return s.$$set=i=>{"width"in i&&l(0,t=i.width),"height"in i&&l(1,n=i.height),"isCloud"in i&&l(4,r=i.isCloud),"title"in i&&l(2,o=i.title)},[t,n,o,a,r]}class Kn extends ae{constructor(e){super(),fe(this,e,Fn,Mn,ue,{width:0,height:1,isCloud:4,title:2})}}const mt=Xl("navOpen",!1);const Un=s=>({}),Qt=s=>({}),Wn=s=>({}),Xt=s=>({}),Zn=s=>({}),Jt=s=>({}),Gn=s=>({}),Yt=s=>({});function yt(s){let e,l=B("version")+"",t;return{c(){e=z("span"),t=G(l),this.h()},l(n){e=O(n,"SPAN",{class:!0});var r=R(e);t=Q(r,l),r.forEach(p),this.h()},h(){k(e,"class","sr-only")},m(n,r){w(n,e,r),V(e,t)},p:se,d(n){n&&p(e)}}}function Qn(s){let e,l,t,n,r,o,a,i,f,u,c,d,m,_,b,h,v,j,A,S,M,Z,q,N,D,K,U,X,Ee,ge;n=new Kn({props:{height:"24px",width:"24px",isCloud:s[0],title:B("workflows","recent-workflows-link")}}),i=new Ce({props:{name:s[3]?"chevron-left":"chevron-right"}});const Te=s[11].top,he=ee(Te,s,s[10],Yt),Ie=s[11].middle,_e=ee(Ie,s,s[10],Jt),W=s[11].bottom,Y=ee(W,s,s[10],Xt);let y=s[2]&&yt();const $e=s[11].drawer,re=ee($e,s,s[10],Qt);let be=[{class:"nav-header transition-width"},{"data-testid":"navigation-header"},s[5]],ke={};for(let F=0;Fl(9,o=h)),oe(s,mt,h=>l(3,a=h));let{$$slots:i={},$$scope:f}=e;var u,c,d;let{isCloud:m=!1}=e,{linkList:_}=e;function b(){me(mt,a=!a,a)}return s.$$set=h=>{e=we(we({},e),Oe(h)),l(5,r=Fe(e,n)),"isCloud"in h&&l(0,m=h.isCloud),"linkList"in h&&l(1,_=h.linkList),"$$scope"in h&&l(10,f=h.$$scope)},s.$$.update=()=>{s.$$.dirty&960&&l(2,t=l(8,d=l(7,c=l(6,u=o.data)===null||u===void 0?void 0:u.settings)===null||c===void 0?void 0:c.version)!==null&&d!==void 0?d:"")},[m,_,t,a,b,r,u,c,d,o,f,i]}class Jn extends ae{constructor(e){super(),fe(this,e,Xn,Qn,ue,{isCloud:0,linkList:1})}}function Yn(s){let e;const l=s[9].default,t=ee(l,s,s[8],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&256)&&te(t,l,n,n[8],e?ne(l,n[8],r,null):le(n[8]),null)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function yn(s){let e,l;const t=s[9].default,n=ee(t,s,s[8],null);return{c(){e=z("a"),n&&n.c(),this.h()},l(r){e=O(r,"A",{href:!0,class:!0});var o=R(e);n&&n.l(o),o.forEach(p),this.h()},h(){k(e,"href",s[0]),k(e,"class",ze(s[5])+" svelte-4ukgao")},m(r,o){w(r,e,o),n&&n.m(e,null),l=!0},p(r,o){n&&n.p&&(!l||o&256)&&te(n,t,r,r[8],l?ne(t,r[8],o,null):le(r[8]),null),(!l||o&1)&&k(e,"href",r[0])},i(r){l||(g(n,r),l=!0)},o(r){$(n,r),l=!1},d(r){r&&p(e),n&&n.d(r)}}}function xn(s){let e,l;const t=s[9].default,n=ee(t,s,s[8],null);return{c(){e=z("a"),n&&n.c(),this.h()},l(r){e=O(r,"A",{href:!0,rel:!0,target:!0,class:!0});var o=R(e);n&&n.l(o),o.forEach(p),this.h()},h(){k(e,"href",s[0]),k(e,"rel","noreferrer"),k(e,"target","_blank"),k(e,"class",ze(s[5])+" svelte-4ukgao")},m(r,o){w(r,e,o),n&&n.m(e,null),l=!0},p(r,o){n&&n.p&&(!l||o&256)&&te(n,t,r,r[8],l?ne(t,r[8],o,null):le(r[8]),null),(!l||o&1)&&k(e,"href",r[0])},i(r){l||(g(n,r),l=!0)},o(r){$(n,r),l=!1},d(r){r&&p(e),n&&n.d(r)}}}function es(s){let e,l,t,n;const r=s[9].default,o=ee(r,s,s[8],null);return{c(){e=z("button"),o&&o.c(),this.h()},l(a){e=O(a,"BUTTON",{class:!0});var i=R(e);o&&o.l(i),i.forEach(p),this.h()},h(){k(e,"class",s[5]+" text-left svelte-4ukgao")},m(a,i){w(a,e,i),o&&o.m(e,null),l=!0,t||(n=ve(e,"click",function(){ht(s[4])&&s[4].apply(this,arguments)}),t=!0)},p(a,i){s=a,o&&o.p&&(!l||i&256)&&te(o,r,s,s[8],l?ne(r,s[8],i,null):le(s[8]),null)},i(a){l||(g(o,a),l=!0)},o(a){$(o,a),l=!1},d(a){a&&p(e),o&&o.d(a),t=!1,n()}}}function ts(s){let e,l,t,n,r,o;const a=[es,xn,yn,Yn],i=[];function f(u,c){return u[4]!==null?0:u[0]&&u[3]?1:u[0]?2:3}return l=f(s),t=i[l]=a[l](s),{c(){e=z("li"),t.c(),this.h()},l(u){e=O(u,"LI",{class:!0,"data-testid":!0});var c=R(e);t.l(c),c.forEach(p),this.h()},h(){k(e,"class",n=ze(s[0]?"":s[5])+" svelte-4ukgao"),k(e,"data-testid",r=s[6]["data-testid"]),J(e,"noFilter",s[1]),J(e,"wrap",s[2]),J(e,"button",s[4]!==null)},m(u,c){w(u,e,c),i[l].m(e,null),o=!0},p(u,[c]){let d=l;l=f(u),l===d?i[l].p(u,c):(ce(),$(i[d],1,1,()=>{i[d]=null}),de(),t=i[l],t?t.p(u,c):(t=i[l]=a[l](u),t.c()),g(t,1),t.m(e,null)),(!o||c&1&&n!==(n=ze(u[0]?"":u[5])+" svelte-4ukgao"))&&k(e,"class",n),(!o||c&64&&r!==(r=u[6]["data-testid"]))&&k(e,"data-testid",r),(!o||c&3)&&J(e,"noFilter",u[1]),(!o||c&5)&&J(e,"wrap",u[2]),(!o||c&17)&&J(e,"button",u[4]!==null)},i(u){o||(g(t),o=!0)},o(u){$(t),o=!1},d(u){u&&p(e),i[l].d()}}}function ls(s,e,l){let{$$slots:t={},$$scope:n}=e,{link:r=null}=e,{isCloud:o}=e,{noFilter:a=!1}=e,{wrap:i=!1}=e,{externalLink:f=!1}=e,{handleClick:u=null}=e,c=`nav-row ${e.class} ${o?"cloud":"local"}`;return s.$$set=d=>{l(6,e=we(we({},e),Oe(d))),"link"in d&&l(0,r=d.link),"isCloud"in d&&l(7,o=d.isCloud),"noFilter"in d&&l(1,a=d.noFilter),"wrap"in d&&l(2,i=d.wrap),"externalLink"in d&&l(3,f=d.externalLink),"handleClick"in d&&l(4,u=d.handleClick),"$$scope"in d&&l(8,n=d.$$scope)},e=Oe(e),[r,a,i,f,u,c,e,o,n,t]}class Re extends ae{constructor(e){super(),fe(this,e,ls,ts,ue,{link:0,isCloud:7,noFilter:1,wrap:2,externalLink:3,handleClick:4})}}function ns(s){let e;const l=s[3].default,t=ee(l,s,s[4],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&16)&&te(t,l,n,n[4],e?ne(l,n[4],r,null):le(n[4]),null)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function ss(s){let e,l;const t=[{right:!0},{hide:s[2]},{text:s[1]},s[0]];let n={$$slots:{default:[ns]},$$scope:{ctx:s}};for(let r=0;rl(2,r=u));let{$$slots:o={},$$scope:a}=e,{props:i=n}=e,{text:f=n.text}=e;return s.$$set=u=>{e=we(we({},e),Oe(u)),l(5,n=Fe(e,t)),"props"in u&&l(0,i=u.props),"text"in u&&l(1,f=u.text),"$$scope"in u&&l(4,a=u.$$scope)},[i,f,r,o,a]}class qe extends ae{constructor(e){super(),fe(this,e,rs,ss,ue,{props:0,text:1})}}const os=s=>({}),xt=s=>({}),is=s=>({}),el=s=>({}),as=s=>({}),tl=s=>({}),fs=s=>({}),ll=s=>({}),us=s=>({}),nl=s=>({});function cs(s){let e,l,t;return l=new Ce({props:{name:"workflow"}}),{c(){e=z("div"),C(l.$$.fragment),this.h()},l(n){e=O(n,"DIV",{class:!0});var r=R(e);I(l.$$.fragment,r),r.forEach(p),this.h()},h(){k(e,"class","nav-icon svelte-1jb7rp7")},m(n,r){w(n,e,r),T(l,e,null),t=!0},p:se,i(n){t||(g(l.$$.fragment,n),t=!0)},o(n){$(l.$$.fragment,n),t=!1},d(n){n&&p(e),L(l)}}}function ds(s){let e,l,t,n=B("workflows")+"",r,o;return e=new qe({props:{text:B("workflows"),$$slots:{default:[cs]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment),l=P(),t=z("div"),r=G(n),this.h()},l(a){I(e.$$.fragment,a),l=H(a),t=O(a,"DIV",{class:!0});var i=R(t);r=Q(i,n),i.forEach(p),this.h()},h(){k(t,"class","nav-title svelte-1jb7rp7")},m(a,i){T(e,a,i),w(a,l,i),w(a,t,i),V(t,r),o=!0},p(a,i){const f={};i&512&&(f.$$scope={dirty:i,ctx:a}),e.$set(f)},i(a){o||(g(e.$$.fragment,a),o=!0)},o(a){$(e.$$.fragment,a),o=!1},d(a){L(e,a),a&&p(l),a&&p(t)}}}function ms(s){let e,l,t;return l=new Ce({props:{name:"schedules"}}),{c(){e=z("div"),C(l.$$.fragment),this.h()},l(n){e=O(n,"DIV",{class:!0});var r=R(e);I(l.$$.fragment,r),r.forEach(p),this.h()},h(){k(e,"class","nav-icon svelte-1jb7rp7")},m(n,r){w(n,e,r),T(l,e,null),t=!0},p:se,i(n){t||(g(l.$$.fragment,n),t=!0)},o(n){$(l.$$.fragment,n),t=!1},d(n){n&&p(e),L(l)}}}function _s(s){let e,l,t,n=B("schedules")+"",r,o;return e=new qe({props:{text:B("schedules"),$$slots:{default:[ms]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment),l=P(),t=z("div"),r=G(n),this.h()},l(a){I(e.$$.fragment,a),l=H(a),t=O(a,"DIV",{class:!0});var i=R(t);r=Q(i,n),i.forEach(p),this.h()},h(){k(t,"class","nav-title svelte-1jb7rp7")},m(a,i){T(e,a,i),w(a,l,i),w(a,t,i),V(t,r),o=!0},p(a,i){const f={};i&512&&(f.$$scope={dirty:i,ctx:a}),e.$set(f)},i(a){o||(g(e.$$.fragment,a),o=!0)},o(a){$(e.$$.fragment,a),o=!1},d(a){L(e,a),a&&p(l),a&&p(t)}}}function ps(s){let e,l;return e=new Re({props:{link:s[2].schedules,isCloud:s[0],"data-testid":"schedules-button",$$slots:{default:[_s]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n&4&&(r.link=t[2].schedules),n&1&&(r.isCloud=t[0]),n&512&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function gs(s){var t,n;let e,l;return e=new Vn({props:{enabled:Boolean((n=(t=s[1])==null?void 0:t.namespaceInfo)==null?void 0:n.supportsSchedules),$$slots:{default:[ps]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(r){I(e.$$.fragment,r)},m(r,o){T(e,r,o),l=!0},p(r,o){var i,f;const a={};o&2&&(a.enabled=Boolean((f=(i=r[1])==null?void 0:i.namespaceInfo)==null?void 0:f.supportsSchedules)),o&517&&(a.$$scope={dirty:o,ctx:r}),e.$set(a)},i(r){l||(g(e.$$.fragment,r),l=!0)},o(r){$(e.$$.fragment,r),l=!1},d(r){L(e,r)}}}function hs(s){let e,l,t;return l=new Ce({props:{name:"archives"}}),{c(){e=z("div"),C(l.$$.fragment),this.h()},l(n){e=O(n,"DIV",{class:!0});var r=R(e);I(l.$$.fragment,r),r.forEach(p),this.h()},h(){k(e,"class","nav-icon svelte-1jb7rp7")},m(n,r){w(n,e,r),T(l,e,null),t=!0},p:se,i(n){t||(g(l.$$.fragment,n),t=!0)},o(n){$(l.$$.fragment,n),t=!1},d(n){n&&p(e),L(l)}}}function $s(s){let e,l,t,n=B("archive")+"",r,o;return e=new qe({props:{text:B("archive"),$$slots:{default:[hs]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment),l=P(),t=z("div"),r=G(n),this.h()},l(a){I(e.$$.fragment,a),l=H(a),t=O(a,"DIV",{class:!0});var i=R(t);r=Q(i,n),i.forEach(p),this.h()},h(){k(t,"class","nav-title svelte-1jb7rp7")},m(a,i){T(e,a,i),w(a,l,i),w(a,t,i),V(t,r),o=!0},p(a,i){const f={};i&512&&(f.$$scope={dirty:i,ctx:a}),e.$set(f)},i(a){o||(g(e.$$.fragment,a),o=!0)},o(a){$(e.$$.fragment,a),o=!1},d(a){L(e,a),a&&p(l),a&&p(t)}}}function bs(s){let e,l;return e=new Re({props:{link:s[2].archive,isCloud:s[0],"data-testid":"archive-button",$$slots:{default:[$s]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n&4&&(r.link=t[2].archive),n&1&&(r.isCloud=t[0]),n&512&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function vs(s){let e,l,t;return l=new Ce({props:{name:s[4]}}),{c(){e=z("div"),C(l.$$.fragment),this.h()},l(n){e=O(n,"DIV",{class:!0});var r=R(e);I(l.$$.fragment,r),r.forEach(p),this.h()},h(){k(e,"class","nav-icon svelte-1jb7rp7")},m(n,r){w(n,e,r),T(l,e,null),t=!0},p(n,r){const o={};r&16&&(o.name=n[4]),l.$set(o)},i(n){t||(g(l.$$.fragment,n),t=!0)},o(n){$(l.$$.fragment,n),t=!1},d(n){n&&p(e),L(l)}}}function ks(s){let e,l,t,n=B("batch","nav-title")+"",r,o;return e=new qe({props:{text:B("batch","list-page-title"),$$slots:{default:[vs]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment),l=P(),t=z("div"),r=G(n),this.h()},l(a){I(e.$$.fragment,a),l=H(a),t=O(a,"DIV",{class:!0});var i=R(t);r=Q(i,n),i.forEach(p),this.h()},h(){k(t,"class","nav-title svelte-1jb7rp7")},m(a,i){T(e,a,i),w(a,l,i),w(a,t,i),V(t,r),o=!0},p(a,i){const f={};i&528&&(f.$$scope={dirty:i,ctx:a}),e.$set(f)},i(a){o||(g(e.$$.fragment,a),o=!0)},o(a){$(e.$$.fragment,a),o=!1},d(a){L(e,a),a&&p(l),a&&p(t)}}}function ws(s){let e,l,t,n,r,o,a,i,f;e=new Re({props:{link:s[2].workflows,isCloud:s[0],"data-testid":"workflows-button",$$slots:{default:[ds]},$$scope:{ctx:s}}}),t=new dt({props:{isCloud:s[0],$$slots:{default:[gs]},$$scope:{ctx:s}}});const u=s[7].top,c=ee(u,s,s[9],xt);return o=new dt({props:{isCloud:s[0],$$slots:{default:[bs]},$$scope:{ctx:s}}}),i=new Re({props:{link:s[2].batchOperations,isCloud:s[0],$$slots:{default:[ks]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment),l=P(),C(t.$$.fragment),n=P(),c&&c.c(),r=P(),C(o.$$.fragment),a=P(),C(i.$$.fragment)},l(d){I(e.$$.fragment,d),l=H(d),I(t.$$.fragment,d),n=H(d),c&&c.l(d),r=H(d),I(o.$$.fragment,d),a=H(d),I(i.$$.fragment,d)},m(d,m){T(e,d,m),w(d,l,m),T(t,d,m),w(d,n,m),c&&c.m(d,m),w(d,r,m),T(o,d,m),w(d,a,m),T(i,d,m),f=!0},p(d,m){const _={};m&4&&(_.link=d[2].workflows),m&1&&(_.isCloud=d[0]),m&512&&(_.$$scope={dirty:m,ctx:d}),e.$set(_);const b={};m&1&&(b.isCloud=d[0]),m&519&&(b.$$scope={dirty:m,ctx:d}),t.$set(b),c&&c.p&&(!f||m&512)&&te(c,u,d,d[9],f?ne(u,d[9],m,os):le(d[9]),xt);const h={};m&1&&(h.isCloud=d[0]),m&517&&(h.$$scope={dirty:m,ctx:d}),o.$set(h);const v={};m&4&&(v.link=d[2].batchOperations),m&1&&(v.isCloud=d[0]),m&528&&(v.$$scope={dirty:m,ctx:d}),i.$set(v)},i(d){f||(g(e.$$.fragment,d),g(t.$$.fragment,d),g(c,d),g(o.$$.fragment,d),g(i.$$.fragment,d),f=!0)},o(d){$(e.$$.fragment,d),$(t.$$.fragment,d),$(c,d),$(o.$$.fragment,d),$(i.$$.fragment,d),f=!1},d(d){L(e,d),d&&p(l),L(t,d),d&&p(n),c&&c.d(d),d&&p(r),L(o,d),d&&p(a),L(i,d)}}}function Es(s){let e,l,t;return l=new Ce({props:{name:"namespace"}}),{c(){e=z("div"),C(l.$$.fragment),this.h()},l(n){e=O(n,"DIV",{class:!0});var r=R(e);I(l.$$.fragment,r),r.forEach(p),this.h()},h(){k(e,"class","nav-icon svelte-1jb7rp7")},m(n,r){w(n,e,r),T(l,e,null),t=!0},p:se,i(n){t||(g(l.$$.fragment,n),t=!0)},o(n){$(l.$$.fragment,n),t=!1},d(n){n&&p(e),L(l)}}}function Cs(s){let e,l,t,n=B("namespaces")+"",r,o;return e=new qe({props:{text:B("namespaces"),$$slots:{default:[Es]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment),l=P(),t=z("div"),r=G(n),this.h()},l(a){I(e.$$.fragment,a),l=H(a),t=O(a,"DIV",{class:!0});var i=R(t);r=Q(i,n),i.forEach(p),this.h()},h(){k(t,"class","nav-title svelte-1jb7rp7")},m(a,i){T(e,a,i),w(a,l,i),w(a,t,i),V(t,r),o=!0},p(a,i){const f={};i&512&&(f.$$scope={dirty:i,ctx:a}),e.$set(f)},i(a){o||(g(e.$$.fragment,a),o=!0)},o(a){$(e.$$.fragment,a),o=!1},d(a){L(e,a),a&&p(l),a&&p(t)}}}function Is(s){let e,l;return e=new Re({props:{link:s[2].namespaces,isCloud:s[0],"data-testid":"namespaces-button",$$slots:{default:[Cs]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n&4&&(r.link=t[2].namespaces),n&1&&(r.isCloud=t[0]),n&512&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ts(s){let e,l,t;e=new Hn({props:{isCloud:s[0],$$slots:{default:[Is]},$$scope:{ctx:s}}});const n=s[7].middle,r=ee(n,s,s[9],el);return{c(){C(e.$$.fragment),l=P(),r&&r.c()},l(o){I(e.$$.fragment,o),l=H(o),r&&r.l(o)},m(o,a){T(e,o,a),w(o,l,a),r&&r.m(o,a),t=!0},p(o,a){const i={};a&1&&(i.isCloud=o[0]),a&517&&(i.$$scope={dirty:a,ctx:o}),e.$set(i),r&&r.p&&(!t||a&512)&&te(r,n,o,o[9],t?ne(n,o[9],a,is):le(o[9]),el)},i(o){t||(g(e.$$.fragment,o),g(r,o),t=!0)},o(o){$(e.$$.fragment,o),$(r,o),t=!1},d(o){L(e,o),o&&p(l),r&&r.d(o)}}}function Ls(s){let e,l,t;return l=new Ce({props:{name:"import"}}),{c(){e=z("div"),C(l.$$.fragment),this.h()},l(n){e=O(n,"DIV",{class:!0});var r=R(e);I(l.$$.fragment,r),r.forEach(p),this.h()},h(){k(e,"class","nav-icon svelte-1jb7rp7")},m(n,r){w(n,e,r),T(l,e,null),t=!0},p:se,i(n){t||(g(l.$$.fragment,n),t=!0)},o(n){$(l.$$.fragment,n),t=!1},d(n){n&&p(e),L(l)}}}function Vs(s){let e,l,t,n=B("import")+"",r,o;return e=new qe({props:{text:B("import"),$$slots:{default:[Ls]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment),l=P(),t=z("div"),r=G(n),this.h()},l(a){I(e.$$.fragment,a),l=H(a),t=O(a,"DIV",{class:!0});var i=R(t);r=Q(i,n),i.forEach(p),this.h()},h(){k(t,"class","nav-title svelte-1jb7rp7")},m(a,i){T(e,a,i),w(a,l,i),w(a,t,i),V(t,r),o=!0},p(a,i){const f={};i&512&&(f.$$scope={dirty:i,ctx:a}),e.$set(f)},i(a){o||(g(e.$$.fragment,a),o=!0)},o(a){$(e.$$.fragment,a),o=!1},d(a){L(e,a),a&&p(l),a&&p(t)}}}function Ds(s){let e,l;return e=new Re({props:{link:s[2].import,isCloud:s[0],"data-testid":"import-button",$$slots:{default:[Vs]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n&4&&(r.link=t[2].import),n&1&&(r.isCloud=t[0]),n&512&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ns(s){let e,l;return e=new dt({props:{isCloud:s[0],$$slots:{default:[Ds]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n&1&&(r.isCloud=t[0]),n&517&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ss(s){let e,l,t;return l=new Ce({props:{name:"feedback"}}),{c(){e=z("div"),C(l.$$.fragment),this.h()},l(n){e=O(n,"DIV",{class:!0});var r=R(e);I(l.$$.fragment,r),r.forEach(p),this.h()},h(){k(e,"class","nav-icon svelte-1jb7rp7")},m(n,r){w(n,e,r),T(l,e,null),t=!0},p:se,i(n){t||(g(l.$$.fragment,n),t=!0)},o(n){$(l.$$.fragment,n),t=!1},d(n){n&&p(e),L(l)}}}function Bs(s){let e,l,t,n=B("feedback")+"",r,o;return e=new qe({props:{text:B("feedback"),$$slots:{default:[Ss]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment),l=P(),t=z("div"),r=G(n),this.h()},l(a){I(e.$$.fragment,a),l=H(a),t=O(a,"DIV",{class:!0});var i=R(t);r=Q(i,n),i.forEach(p),this.h()},h(){k(t,"class","nav-title svelte-1jb7rp7")},m(a,i){T(e,a,i),w(a,l,i),w(a,t,i),V(t,r),o=!0},p(a,i){const f={};i&512&&(f.$$scope={dirty:i,ctx:a}),e.$set(f)},i(a){o||(g(e.$$.fragment,a),o=!0)},o(a){$(e.$$.fragment,a),o=!1},d(a){L(e,a),a&&p(l),a&&p(t)}}}function zs(s){let e,l;return e=new Re({props:{link:s[2].feedback,isCloud:s[0],externalLink:!0,$$slots:{default:[Bs]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n&4&&(r.link=t[2].feedback),n&1&&(r.isCloud=t[0]),n&512&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Os(s){let e,l,t;return l=new Ce({props:{name:"labs",active:s[3]}}),{c(){e=z("div"),C(l.$$.fragment),this.h()},l(n){e=O(n,"DIV",{class:!0});var r=R(e);I(l.$$.fragment,r),r.forEach(p),this.h()},h(){k(e,"class","nav-icon svelte-1jb7rp7")},m(n,r){w(n,e,r),T(l,e,null),t=!0},p(n,r){const o={};r&8&&(o.active=n[3]),l.$set(o)},i(n){t||(g(l.$$.fragment,n),t=!0)},o(n){$(l.$$.fragment,n),t=!1},d(n){n&&p(e),L(l)}}}function sl(s){let e,l=B("experimental")+"",t;return{c(){e=z("p"),t=G(l),this.h()},l(n){e=O(n,"P",{class:!0});var r=R(e);t=Q(r,l),r.forEach(p),this.h()},h(){k(e,"class","text-[12px]")},m(n,r){w(n,e,r),V(e,t)},p:se,d(n){n&&p(e)}}}function Rs(s){let e,l,t,n,r,o,a;e=new qe({props:{right:!0,text:s[6],$$slots:{default:[Os]},$$scope:{ctx:s}}});let i=s[3]&&sl();return{c(){C(e.$$.fragment),l=P(),t=z("div"),n=z("div"),r=G(s[5]),o=P(),i&&i.c(),this.h()},l(f){I(e.$$.fragment,f),l=H(f),t=O(f,"DIV",{class:!0});var u=R(t);n=O(u,"DIV",{});var c=R(n);r=Q(c,s[5]),c.forEach(p),o=H(u),i&&i.l(u),u.forEach(p),this.h()},h(){k(t,"class","nav-title flex flex-col leading-3 svelte-1jb7rp7")},m(f,u){T(e,f,u),w(f,l,u),w(f,t,u),V(t,n),V(n,r),V(t,o),i&&i.m(t,null),a=!0},p(f,u){const c={};u&64&&(c.text=f[6]),u&520&&(c.$$scope={dirty:u,ctx:f}),e.$set(c),(!a||u&32)&&pe(r,f[5]),f[3]?i?i.p(f,u):(i=sl(),i.c(),i.m(t,null)):i&&(i.d(1),i=null)},i(f){a||(g(e.$$.fragment,f),a=!0)},o(f){$(e.$$.fragment,f),a=!1},d(f){L(e,f),f&&p(l),f&&p(t),i&&i.d()}}}function qs(s){let e,l,t,n,r;const o=s[7].bottom,a=ee(o,s,s[9],nl),i=s[7].import,f=ee(i,s,s[9],ll),u=f||Ns(s),c=s[7].feedback,d=ee(c,s,s[9],tl),m=d||zs(s);return n=new Re({props:{isCloud:s[0],handleClick:s[8],$$slots:{default:[Rs]},$$scope:{ctx:s}}}),{c(){a&&a.c(),e=P(),u&&u.c(),l=P(),m&&m.c(),t=P(),C(n.$$.fragment)},l(_){a&&a.l(_),e=H(_),u&&u.l(_),l=H(_),m&&m.l(_),t=H(_),I(n.$$.fragment,_)},m(_,b){a&&a.m(_,b),w(_,e,b),u&&u.m(_,b),w(_,l,b),m&&m.m(_,b),w(_,t,b),T(n,_,b),r=!0},p(_,b){a&&a.p&&(!r||b&512)&&te(a,o,_,_[9],r?ne(o,_[9],b,us):le(_[9]),nl),f?f.p&&(!r||b&512)&&te(f,i,_,_[9],r?ne(i,_[9],b,fs):le(_[9]),ll):u&&u.p&&(!r||b&5)&&u.p(_,r?b:-1),d?d.p&&(!r||b&512)&&te(d,c,_,_[9],r?ne(c,_[9],b,as):le(_[9]),tl):m&&m.p&&(!r||b&5)&&m.p(_,r?b:-1);const h={};b&1&&(h.isCloud=_[0]),b&8&&(h.handleClick=_[8]),b&616&&(h.$$scope={dirty:b,ctx:_}),n.$set(h)},i(_){r||(g(a,_),g(u,_),g(m,_),g(n.$$.fragment,_),r=!0)},o(_){$(a,_),$(u,_),$(m,_),$(n.$$.fragment,_),r=!1},d(_){a&&a.d(_),_&&p(e),u&&u.d(_),_&&p(l),m&&m.d(_),_&&p(t),L(n,_)}}}function js(s){let e,l;return e=new Jn({props:{isCloud:s[0],linkList:s[2],"aria-label":B("primary"),$$slots:{bottom:[qs],middle:[Ts],top:[ws]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,[n]){const r={};n&1&&(r.isCloud=t[0]),n&4&&(r.linkList=t[2]),n&639&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function As(s,e,l){let t,n,r,o;oe(s,Jl,b=>l(10,r=b)),oe(s,Bt,b=>l(3,o=b));let{$$slots:a={},$$scope:i}=e,{isCloud:f=!1}=e,{activeNamespace:u}=e,{linkList:c}=e,d="layers-3";const m=setInterval(()=>{if(!r){l(4,d="layers-3");return}setTimeout(()=>{l(4,d="layers-1")}),setTimeout(()=>{l(4,d="layers-2")},330),setTimeout(()=>{l(4,d="layers-3")},660)},2e3);Rl(()=>{clearInterval(m)});const _=()=>me(Bt,o=!o,o);return s.$$set=b=>{"isCloud"in b&&l(0,f=b.isCloud),"activeNamespace"in b&&l(1,u=b.activeNamespace),"linkList"in b&&l(2,c=b.linkList),"$$scope"in b&&l(9,i=b.$$scope)},s.$$.update=()=>{s.$$.dirty&8&&l(6,t=`${B("labs")} ${o?`${B("on")} - ${B("experimental")}`:B("off")}`),s.$$.dirty&8&&l(5,n=`${B("labs")} ${o?B("on"):B("off")}`)},[f,u,c,o,d,n,t,a,_,i]}class Ps extends ae{constructor(e){super(),fe(this,e,As,js,ue,{isCloud:0,activeNamespace:1,linkList:2})}}function Hs(s){let e=B("skip-nav")+"",l;return{c(){l=G(e)},l(t){l=Q(t,e)},m(t,n){w(t,l,n)},p:se,d(t){t&&p(l)}}}function Ms(s){let e,l;return e=new Vl({props:{id:"skip-nav",href:"#content",class:"absolute left-1/2 z-100 -translate-y-full p-1 focus:translate-y-0",$$slots:{default:[Hs]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,[n]){const r={};n&1&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}class Fs extends ae{constructor(e){super(),fe(this,e,null,Ms,ue,{})}}const Ks=Ue("notRequested"),Sl=Zl([Ae,ft,at,Kl,Ks,Dl],([s,e,l,t,n,r])=>{var b,h,v,j,A,S,M,Z,q;const o=s.params.namespace,a=(v=(h=(b=s==null?void 0:s.data)==null?void 0:b.settings)==null?void 0:h.codec)==null?void 0:v.endpoint,i=Boolean((S=(A=(j=s==null?void 0:s.data)==null?void 0:j.settings)==null?void 0:A.codec)==null?void 0:S.passAccessToken),f=Boolean((q=(Z=(M=s==null?void 0:s.data)==null?void 0:M.settings)==null?void 0:Z.codec)==null?void 0:q.includeCredentials),u=l?e:a||e,c=r==null?void 0:r.accessToken;return{namespace:o,settingsEndpoint:a,settingsPassAccessToken:i,settingsIncludeCredentials:f,endpoint:u,accessToken:c,hasNotRequested:u?t==="notRequested":n==="notRequested",hasError:u?t==="error":n==="error",hasSuccess:u?t==="success":n==="success"}});function Us(s){let e,l;return e=new We({props:{bottomRight:!0,text:B("data-encoder","configure-codec-server"),$$slots:{default:[Zs]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n&8&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ws(s){let e,l,t,n;const r=[Xs,Qs,Gs],o=[];function a(i,f){var u;return(u=i[0])!=null&&u.hasNotRequested?0:i[0].hasError?1:i[0].hasSuccess?2:-1}return~(e=a(s))&&(l=o[e]=r[e](s)),{c(){l&&l.c(),t=ie()},l(i){l&&l.l(i),t=ie()},m(i,f){~e&&o[e].m(i,f),w(i,t,f),n=!0},p(i,f){let u=e;e=a(i),e===u?~e&&o[e].p(i,f):(l&&(ce(),$(o[u],1,1,()=>{o[u]=null}),de()),~e?(l=o[e],l?l.p(i,f):(l=o[e]=r[e](i),l.c()),g(l,1),l.m(t.parentNode,t)):l=null)},i(i){n||(g(l),n=!0)},o(i){$(l),n=!1},d(i){~e&&o[e].d(i),i&&p(t)}}}function Zs(s){let e,l;return e=new Ze({props:{label:B("data-encoder","configure-codec-server"),class:"relative flex items-center","data-testid":"data-encoder-status",icon:"transcoder-off"}}),e.$on("click",s[1]),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p:se,i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Gs(s){let e,l;return e=new We({props:{bottomRight:!0,text:B("data-encoder","codec-server-success"),$$slots:{default:[Js]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n&8&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Qs(s){let e,l;return e=new We({props:{bottomRight:!0,text:B("data-encoder","codec-server-error"),$$slots:{default:[Ys]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n&8&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Xs(s){let e,l;return e=new We({props:{bottomRight:!0,text:B("data-encoder","codec-server-configured"),$$slots:{default:[ys]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n&8&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Js(s){let e,l;return e=new Ze({props:{label:B("data-encoder","codec-server-success"),class:"relative flex items-center","data-testid":"data-encoder-status-success",icon:"transcoder-on"}}),e.$on("click",s[1]),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p:se,i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ys(s){let e,l;return e=new Ze({props:{label:B("data-encoder","codec-server-error"),class:"relative flex items-center","data-testid":"data-encoder-status-error",icon:"transcoder-error"}}),e.$on("click",s[1]),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p:se,i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function ys(s){let e,l;return e=new Ze({props:{label:B("data-encoder","codec-server-configured"),class:"relative flex items-center","data-testid":"data-encoder-status-configured",icon:"transcoder-on"}}),e.$on("click",s[1]),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p:se,i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function xs(s){let e,l,t,n;const r=[Ws,Us],o=[];function a(i,f){var u;return(u=i[0])!=null&&u.endpoint?0:1}return l=a(s),t=o[l]=r[l](s),{c(){e=z("div"),t.c(),this.h()},l(i){e=O(i,"DIV",{class:!0});var f=R(e);t.l(f),f.forEach(p),this.h()},h(){k(e,"class","mx-1 flex items-center")},m(i,f){w(i,e,f),o[l].m(e,null),n=!0},p(i,[f]){let u=l;l=a(i),l===u?o[l].p(i,f):(ce(),$(o[u],1,1,()=>{o[u]=null}),de(),t=o[l],t?t.p(i,f):(t=o[l]=r[l](i),t.c()),g(t,1),t.m(e,null))},i(i){n||(g(t),n=!0)},o(i){$(t),n=!1},d(i){i&&p(e),o[l].d()}}}function er(s,e,l){let t,n;return oe(s,Me,o=>l(2,t=o)),oe(s,Sl,o=>l(0,n=o)),[n,()=>{var o;me(Me,t=!t,t),t&&((o=document.getElementById("content-wrapper"))===null||o===void 0||o.scrollTo(0,0))}]}class tr extends ae{constructor(e){super(),fe(this,e,er,xs,ue,{})}}function rl(s,e,l){const t=s.slice();return t[18]=e[l].value,t[19]=e[l].label,t[20]=e[l].offset,t[21]=e[l].abbr,t}function ol(s,e,l){const t=s.slice();return t[18]=e[l].value,t[19]=e[l].label,t}function lr(s){let e;return{c(){e=G(s[3])},l(l){e=Q(l,s[3])},m(l,t){w(l,e,t)},p(l,t){t&8&&pe(e,l[3])},d(l){l&&p(e)}}}function nr(s){let e,l;return e=new Ce({props:{slot:"leading",name:"clock"}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p:se,i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function il(s){let e,l,t,n,r,o,a,i=s[7],f=[];for(let m=0;m$(f[m],1,1,()=>{f[m]=null});function c(m){s[16](m)}let d={label:B("relative"),id:"relative-toggle",labelPosition:"left","data-testid":"timezones-relative-toggle"};return s[5]!==void 0&&(d.checked=s[5]),t=new it({props:d}),Le.push(()=>De(t,"checked",c)),t.$on("change",s[9]),o=new Nl({}),{c(){for(let m=0;mn=!1)),t.$set(b)},i(m){if(!a){for(let _=0;_De(e,"value",f)),n=new Nl({});let c=!s[1]&&il(s),d=s[4],m=[];for(let h=0;h$(m[h],1,1,()=>{m[h]=null});let b=null;return d.length||(b=fl(s)),{c(){C(e.$$.fragment),t=P(),C(n.$$.fragment),r=P(),c&&c.c(),o=P();for(let h=0;hl=!1)),e.$set(q),h[1]?c&&(ce(),$(c,1,1,()=>{c=null}),de()):c?(c.p(h,v),v&2&&g(c,1)):(c=il(h),c.c(),g(c,1),c.m(o.parentNode,o)),v&276){d=h[4];let A;for(A=0;A{b=null}),de()):(b=fl(h),b.c(),g(b,1),b.m(a.parentNode,a))}},i(h){if(!i){g(e.$$.fragment,h),g(n.$$.fragment,h),g(c);for(let v=0;vl(5,r=M)),oe(s,ye,M=>l(2,o=M));var a,i,f,u;let{position:c="right"}=e;const d=xl(),m=[{label:B("utc"),value:"UTC"},{label:B("local"),value:"local"}];let _="";const b=M=>{r&&M!=="local"&&me(Ye,r=!1,r),me(ye,o=M,o),l(1,_="")},h=M=>{M.target.checked&&o!=="local"&&me(ye,o="local",o)};Rl(()=>{String(o)==="relative"&&(me(ye,o="local",o),me(Ye,r=!0,r))});function v(M){_=M,l(1,_)}const q=M=>b(M);function A(M){r=M,Ye.set(r)}const S=M=>b(M);return s.$$set=M=>{"position"in M&&l(0,c=M.position)},s.$$.update=()=>{s.$$.dirty&2&&l(4,t=_?zt.filter(({abbr:M,value:Z,zones:R})=>{const N=_.trim().toLowerCase();return Z.toLowerCase().includes(N)||(M==null?void 0:M.toLowerCase().includes(N))||(R==null?void 0:R.some(D=>D.toLowerCase().includes(N)))}):zt),s.$$.dirty&15364&&l(3,n=l(13,u=l(11,i=l(10,a=jt[o])===null||a===void 0?void 0:a.abbr)!==null&&i!==void 0?i:l(12,f=jt[o])===null||f===void 0?void 0:f.label)!==null&&u!==void 0?u:en(o))},[c,_,o,n,t,r,d,m,b,h,a,i,f,u,v,q,A,S]}class cr extends ae{constructor(e){super(),fe(this,e,ur,fr,ue,{position:0})}}const dr=s=>({}),cl=s=>({slot:"leading"}),mr=s=>({}),dl=s=>({slot:"trailing"});function _r(s){let e;const l=s[2].default,t=ee(l,s,s[4],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&16)&&te(t,l,n,n[4],e?ne(l,n[4],r,null):le(n[4]),null)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function pr(s){let e;const l=s[2].leading,t=ee(l,s,s[4],cl);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&16)&&te(t,l,n,n[4],e?ne(l,n[4],r,dr):le(n[4]),cl)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function gr(s){let e;const l=s[2].trailing,t=ee(l,s,s[4],dl);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&16)&&te(t,l,n,n[4],e?ne(l,n[4],r,mr):le(n[4]),dl)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function hr(s){let e,l;return e=new Ke({props:{role:"option",class:"break-all","aria-selected":s[0],"aria-disabled":s[1],disabled:s[1],selected:s[0],$$slots:{trailing:[gr],leading:[pr],default:[_r]},$$scope:{ctx:s}}}),e.$on("click",s[3]),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,[n]){const r={};n&1&&(r["aria-selected"]=t[0]),n&2&&(r["aria-disabled"]=t[1]),n&2&&(r.disabled=t[1]),n&1&&(r.selected=t[0]),n&16&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function $r(s,e,l){let{$$slots:t={},$$scope:n}=e,{selected:r=!1}=e,{disabled:o=!1}=e;function a(i){He.call(this,s,i)}return s.$$set=i=>{"selected"in i&&l(0,r=i.selected),"disabled"in i&&l(1,o=i.disabled),"$$scope"in i&&l(4,n=i.$$scope)},[r,o,t,a,n]}class kt extends ae{constructor(e){super(),fe(this,e,$r,hr,ue,{selected:0,disabled:1})}}function ml(s,e,l){const t=s.slice();return t[48]=e[l],t}const br=s=>({option:s[0]&131072}),_l=s=>({option:s[22](s[48])});function pl(s){let e,l;return e=new Ce({props:{width:20,height:20,class:"ml-2 shrink-0 text-gray-500",name:s[11]}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n[0]&2048&&(r.name=t[11]),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function gl(s){let e,l;return e=new kt({props:{disabled:!0,$$slots:{default:[vr]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n[0]&32|n[1]&1024&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function vr(s){let e;return{c(){e=G(s[5])},l(l){e=Q(l,s[5])},m(l,t){w(l,e,t)},p(l,t){t[0]&32&&pe(e,l[5])},d(l){l&&p(e)}}}function kr(s){let e,l,t,n,r;const o=[Cr,Er],a=[];function i(f,u){return u[0]&131072&&(e=null),e==null&&(e=!!f[25](f[48])),e?0:1}return l=i(s,[-1,-1]),t=a[l]=o[l](s),{c(){t.c(),n=ie()},l(f){t.l(f),n=ie()},m(f,u){a[l].m(f,u),w(f,n,u),r=!0},p(f,u){let c=l;l=i(f,u),l===c?a[l].p(f,u):(ce(),$(a[c],1,1,()=>{a[c]=null}),de(),t=a[l],t?t.p(f,u):(t=a[l]=o[l](f),t.c()),g(t,1),t.m(n.parentNode,n))},i(f){r||(g(t),r=!0)},o(f){$(t),r=!1},d(f){a[l].d(f),f&&p(n)}}}function wr(s){let e,l;function t(){return s[38](s[48])}return e=new kt({props:{selected:s[0]===s[48],$$slots:{default:[Tr]},$$scope:{ctx:s}}}),e.$on("click",t),{c(){C(e.$$.fragment)},l(n){I(e.$$.fragment,n)},m(n,r){T(e,n,r),l=!0},p(n,r){s=n;const o={};r[0]&131073&&(o.selected=s[0]===s[48]),r[0]&131072|r[1]&1024&&(o.$$scope={dirty:r,ctx:s}),e.$set(o)},i(n){l||(g(e.$$.fragment,n),l=!0)},o(n){$(e.$$.fragment,n),l=!1},d(n){L(e,n)}}}function Er(s){let e;const l=s[36].default,t=ee(l,s,s[41],_l);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r[0]&131072|r[1]&1024)&&te(t,l,n,n[41],e?ne(l,n[41],r,br):le(n[41]),_l)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function Cr(s){let e,l;function t(){return s[39](s[48])}return e=new kt({props:{selected:s[0]===s[48][s[12]],$$slots:{default:[Ir]},$$scope:{ctx:s}}}),e.$on("click",t),{c(){C(e.$$.fragment)},l(n){I(e.$$.fragment,n)},m(n,r){T(e,n,r),l=!0},p(n,r){s=n;const o={};r[0]&135169&&(o.selected=s[0]===s[48][s[12]]),r[0]&139264|r[1]&1024&&(o.$$scope={dirty:r,ctx:s}),e.$set(o)},i(n){l||(g(e.$$.fragment,n),l=!0)},o(n){$(e.$$.fragment,n),l=!1},d(n){L(e,n)}}}function Ir(s){let e=s[48][s[13]]+"",l,t;return{c(){l=G(e),t=P()},l(n){l=Q(n,e),t=H(n)},m(n,r){w(n,l,r),w(n,t,r)},p(n,r){r[0]&139264&&e!==(e=n[48][n[13]]+"")&&pe(l,e)},d(n){n&&p(l),n&&p(t)}}}function Tr(s){let e=s[48]+"",l,t;return{c(){l=G(e),t=P()},l(n){l=Q(n,e),t=H(n)},m(n,r){w(n,l,r),w(n,t,r)},p(n,r){r[0]&131072&&e!==(e=n[48]+"")&&pe(l,e)},d(n){n&&p(l),n&&p(t)}}}function hl(s){let e,l,t,n,r,o;const a=[wr,kr],i=[];function f(u,c){return c[0]&131072&&(e=null),c[0]&131072&&(l=null),e==null&&(e=!!u[23](u[48])),e?0:(l==null&&(l=!!u[24](u[48])),l?1:-1)}return~(t=f(s,[-1,-1]))&&(n=i[t]=a[t](s)),{c(){n&&n.c(),r=ie()},l(u){n&&n.l(u),r=ie()},m(u,c){~t&&i[t].m(u,c),w(u,r,c),o=!0},p(u,c){let d=t;t=f(u,c),t===d?~t&&i[t].p(u,c):(n&&(ce(),$(i[d],1,1,()=>{i[d]=null}),de()),~t?(n=i[t],n?n.p(u,c):(n=i[t]=a[t](u),n.c()),g(n,1),n.m(r.parentNode,r)):n=null)},i(u){o||(g(n),o=!0)},o(u){$(n),o=!1},d(u){~t&&i[t].d(u),u&&p(r)}}}function Lr(s){let e,l,t=s[17],n=[];for(let a=0;a$(n[a],1,1,()=>{n[a]=null});let o=null;return t.length||(o=gl(s)),{c(){for(let a=0;a{o=null}),de()):(o=gl(a),o.c(),g(o,1),o.m(e.parentNode,e))}},i(a){if(!l){for(let i=0;iDe(b,"menuElement",R)),{c(){e=z("label"),l=G(s[3]),t=P(),n=z("div"),S&&S.c(),r=P(),o=z("input"),u=P(),c=z("button"),C(d.$$.fragment),_=P(),C(b.$$.fragment),this.h()},l(D){e=j(D,"LABEL",{class:!0,for:!0});var K=O(e);l=Q(K,s[3]),K.forEach(p),t=H(D),n=j(D,"DIV",{class:!0});var U=O(n);S&&S.l(U),r=H(U),o=j(U,"INPUT",{id:!0,placeholder:!0,type:!0,class:!0,role:!0,autocomplete:!0,autocapitalize:!0,spellcheck:!0,"data-lpignore":!0,"aria-controls":!0,"aria-expanded":!0,"aria-required":!0,"aria-autocomplete":!0,"data-testid":!0}),u=H(U),c=j(U,"BUTTON",{"aria-label":!0,class:!0,tabindex:!0,"aria-controls":!0,"aria-expanded":!0});var X=O(c);I(d.$$.fragment,X),X.forEach(p),U.forEach(p),_=H(D),I(b.$$.fragment,D),this.h()},h(){k(e,"class","combobox-label svelte-1nqx354"),k(e,"for",s[2]),J(e,"sr-only",s[7]),tt(o,Z),J(o,"disabled",s[6]),J(o,"svelte-1nqx354",!0),k(c,"aria-label",s[4]),k(c,"class","combobox-button svelte-1nqx354"),k(c,"tabindex",-1),k(c,"aria-controls",m=s[2]+"-listbox"),k(c,"aria-expanded",s[18]),k(n,"class","combobox-wrapper svelte-1nqx354")},m(D,K){w(D,e,K),V(e,l),w(D,t,K),w(D,n,K),S&&S.m(n,null),V(n,r),V(n,o),o.value=Z.value,o.autofocus&&o.focus(),s[37](o),V(n,u),V(n,c),T(d,c,null),w(D,_,K),T(b,D,K),v=!0,q||(A=[ve(o,"input",et(s[28])),ve(o,"keydown",et(s[27])),ve(o,"click",et(s[29])),ve(c,"click",s[20])],q=!0)},p(D,K){(!v||K[0]&8)&&pe(l,D[3]),(!v||K[0]&4)&&k(e,"for",D[2]),(!v||K[0]&128)&&J(e,"sr-only",D[7]),D[11]?S?(S.p(D,K),K[0]&2048&&g(S,1)):(S=pl(D),S.c(),g(S,1),S.m(n,r)):S&&(ce(),$(S,1,1,()=>{S=null}),de()),tt(o,Z=gt(M,[(!v||K[0]&4)&&{id:D[2]},(!v||K[0]&256)&&{placeholder:D[8]},(!v||K[0]&1024)&&{required:D[10]},(!v||K[0]&512)&&{readOnly:D[9]},(!v||K[0]&64)&&{disabled:D[6]},{type:"text"},(!v||K[0]&16384&&o.value!==D[14])&&{value:D[14]},(!v||K[0]&2&&a!==(a="combobox-input "+D[1]))&&{class:a},{role:"combobox"},{autocomplete:"off"},{autocapitalize:"off"},{spellcheck:"false"},{"data-lpignore":"true"},(!v||K[0]&4&&i!==(i=D[2]+"-listbox"))&&{"aria-controls":i},(!v||K[0]&262144)&&{"aria-expanded":D[18]},(!v||K[0]&1024)&&{"aria-required":D[10]},{"aria-autocomplete":"list"},(!v||K[0]&1073741828&&f!==(f=D[30]["data-testid"]??D[2]))&&{"data-testid":f},K[1]&1&&D[31]])),"value"in Z&&(o.value=Z.value),J(o,"disabled",D[6]),J(o,"svelte-1nqx354",!0);const U={};K[0]&262144&&(U.name=D[18]?"chevron-up":"chevron-down"),d.$set(U),(!v||K[0]&16)&&k(c,"aria-label",D[4]),(!v||K[0]&4&&m!==(m=D[2]+"-listbox"))&&k(c,"aria-controls",m),(!v||K[0]&262144)&&k(c,"aria-expanded",D[18]);const X={};K[0]&4&&(X.id=D[2]+"-listbox"),K[0]&143393|K[1]&1024&&(X.$$scope={dirty:K,ctx:D}),!h&&K[0]&65536&&(h=!0,X.menuElement=D[16],Ne(()=>h=!1)),b.$set(X)},i(D){v||(g(S),g(d.$$.fragment,D),g(b.$$.fragment,D),v=!0)},o(D){$(S),$(d.$$.fragment,D),$(b.$$.fragment,D),v=!1},d(D){D&&p(e),D&&p(t),D&&p(n),S&&S.d(),s[37](null),L(d),D&&p(_),L(b,D),q=!1,_t(A)}}}function Dr(s){let e,l;return e=new bt({props:{open:s[19],$$slots:{default:[Vr]},$$scope:{ctx:s}}}),e.$on("close",s[21]),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n[0]&1074266111|n[1]&1025&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Nr(s,e,l){let t;const n=["class","id","label","value","toggleLabel","noResultsText","disabled","labelHidden","options","placeholder","readonly","required","leadingIcon","optionValueKey","optionLabelKey","minSize","maxSize"];let r=Fe(e,n),o,{$$slots:a={},$$scope:i}=e;const f=Tl();let{class:u=""}=e,{id:c}=e,{label:d}=e,{value:m=void 0}=e,{toggleLabel:_}=e,{noResultsText:b}=e,{disabled:h=!1}=e,{labelHidden:v=!1}=e,{options:q}=e,{placeholder:A=null}=e,{readonly:S=!1}=e,{required:M=!1}=e,{leadingIcon:Z=null}=e,{optionValueKey:R=null}=e,{optionLabelKey:N=R}=e,{minSize:D=0}=e,{maxSize:K=120}=e,U,X,Ee,ge;const Te=Ue(!1);oe(s,Te,E=>l(18,o=E));const he=()=>{o?_e():Ie()},Ie=()=>{me(Te,o=!0,o),ge.focus(),ge.select()},_e=()=>{o&&(me(Te,o=!1,o),W())},W=()=>{l(14,U=be(X)),l(17,t=q)},Y=E=>E,y=E=>typeof E=="string",$e=E=>typeof E=="object",re=E=>E===null||typeof E!="object"?!1:R!==null&&N!==null&&R in E&&N in E,be=E=>{if(!E)return m??"";if(y(E))return E;if($e(E)&&re(E))return String(E[N])},ke=E=>{y(E)&&l(0,m=E),$e(E)&&re(E)&&l(0,m=String(E[R]))},F=E=>{f("change",E),ke(E),W()},x=()=>{const E=Ee.querySelector('li[role="option"]:not([aria-disabled="true"])');E&&requestAnimationFrame(()=>E.focus())},Ve=E=>{switch(E.key){case"Escape":_e();break;case"ArrowDown":Ie(),x();break;case"Enter":Ie(),x();break}},qe=E=>{l(14,U=E.currentTarget.value),f("filter",U),o||Ie(),l(17,t=q.filter(Be=>{if(y(Be))return Be.toLowerCase().includes(E.currentTarget.value.toLowerCase());if($e(Be)&&re(Be))return String(Be[N]).toLowerCase().includes(E.currentTarget.value.toLowerCase())}))},Ge=()=>{o||Ie()};function Pe(E){Le[E?"unshift":"push"](()=>{ge=E,l(15,ge),l(14,U),l(33,D),l(34,K),l(32,q),l(0,m),l(12,R),l(35,X)})}const Se=E=>F(E),Qe=E=>F(E);function Xe(E){Ee=E,l(16,Ee)}return s.$$set=E=>{l(30,e=we(we({},e),je(E))),l(31,r=Fe(e,n)),"class"in E&&l(1,u=E.class),"id"in E&&l(2,c=E.id),"label"in E&&l(3,d=E.label),"value"in E&&l(0,m=E.value),"toggleLabel"in E&&l(4,_=E.toggleLabel),"noResultsText"in E&&l(5,b=E.noResultsText),"disabled"in E&&l(6,h=E.disabled),"labelHidden"in E&&l(7,v=E.labelHidden),"options"in E&&l(32,q=E.options),"placeholder"in E&&l(8,A=E.placeholder),"readonly"in E&&l(9,S=E.readonly),"required"in E&&l(10,M=E.required),"leadingIcon"in E&&l(11,Z=E.leadingIcon),"optionValueKey"in E&&l(12,R=E.optionValueKey),"optionLabelKey"in E&&l(13,N=E.optionLabelKey),"minSize"in E&&l(33,D=E.minSize),"maxSize"in E&&l(34,K=E.maxSize),"$$scope"in E&&l(41,i=E.$$scope)},s.$$.update=()=>{s.$$.dirty[1]&2&&l(17,t=q),s.$$.dirty[0]&4097|s.$$.dirty[1]&18&&(l(35,X=q.find(E=>{if(y(E))return E===m;if($e(E)&&re(E))return E[R]===m})),l(14,U=be(X))),s.$$.dirty[0]&49152|s.$$.dirty[1]&12&&ge&&U&&(U.lengthK?l(15,ge.size=K,ge):l(15,ge.size=U.length,ge))},e=je(e),[m,u,c,d,_,b,h,v,A,S,M,Z,R,N,U,ge,Ee,t,o,Te,he,W,Y,y,$e,re,F,Ve,qe,Ge,e,r,q,D,K,X,a,Pe,Se,Qe,Xe,i]}class Sr extends ae{constructor(e){super(),fe(this,e,Nr,Dr,ue,{class:1,id:2,label:3,value:0,toggleLabel:4,noResultsText:5,disabled:6,labelHidden:7,options:32,placeholder:8,readonly:9,required:10,leadingIcon:11,optionValueKey:12,optionLabelKey:13,minSize:33,maxSize:34},null,[-1,-1])}}function $l(s){let e,l;return e=new Sr({props:{label:B("namespaces","namespace-label",{namespace:s[2]}),toggleLabel:B("namespaces"),noResultsText:B("no-results"),labelHidden:!0,value:s[2],id:"namespace-switcher",leadingIcon:"namespace-switcher",options:s[1],optionValueKey:"namespace",minSize:32}}),e.$on("change",s[9]),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n&4&&(r.label=B("namespaces","namespace-label",{namespace:t[2]})),n&4&&(r.value=t[2]),n&2&&(r.options=t[1]),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function bl(s){let e,l;return e=new tr({}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function vl(s){let e,l;return e=new bt({props:{$$slots:{default:[Rr]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n&16529&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function kl(s){var n;let e,l=((n=s[7])==null?void 0:n.name.trim().charAt(0))+"",t;return{c(){e=z("div"),t=G(l),this.h()},l(r){e=j(r,"DIV",{class:!0});var o=O(e);t=Q(o,l),o.forEach(p),this.h()},h(){k(e,"class","text-center text-sm text-black")},m(r,o){w(r,e,o),V(e,t)},p(r,o){var a;o&128&&l!==(l=((a=r[7])==null?void 0:a.name.trim().charAt(0))+"")&&pe(t,l)},d(r){r&&p(e)}}}function Br(s){var f;let e,l,t,n,r,o,a,i=((f=s[7])==null?void 0:f.name)&&kl(s);return{c(){e=z("img"),n=P(),r=z("div"),i&&i.c(),this.h()},l(u){e=j(u,"IMG",{src:!0,alt:!0,class:!0}),n=H(u),r=j(u,"DIV",{class:!0});var c=O(r);i&&i.l(c),c.forEach(p),this.h()},h(){var u,c;It(e.src,l=(u=s[7])==null?void 0:u.picture)||k(e,"src",l),k(e,"alt",t=((c=s[7])==null?void 0:c.profile)??B("user-profile")),k(e,"class","h-[24px] w-[24px] cursor-pointer rounded-md"),J(e,"hidden",!s[4]),k(r,"class","aspect-square h-full w-[24px] rounded-md bg-blue-200 p-0.5"),J(r,"hidden",s[4])},m(u,c){w(u,e,c),w(u,n,c),w(u,r,c),i&&i.m(r,null),o||(a=ve(e,"error",s[8]),o=!0)},p(u,c){var d,m,_;c&128&&!It(e.src,l=(d=u[7])==null?void 0:d.picture)&&k(e,"src",l),c&128&&t!==(t=((m=u[7])==null?void 0:m.profile)??B("user-profile"))&&k(e,"alt",t),c&16&&J(e,"hidden",!u[4]),(_=u[7])!=null&&_.name?i?i.p(u,c):(i=kl(u),i.c(),i.m(r,null)):i&&(i.d(1),i=null),c&16&&J(r,"hidden",u[4])},d(u){u&&p(e),u&&p(n),u&&p(r),i&&i.d(),o=!1,a()}}}function zr(s){let e=s[7].email+"",l;return{c(){l=G(e)},l(t){l=Q(t,e)},m(t,n){w(t,l,n)},p(t,n){n&128&&e!==(e=t[7].email+"")&&pe(l,e)},d(t){t&&p(l)}}}function jr(s){let e=B("log-out")+"",l;return{c(){l=G(e)},l(t){l=Q(t,e)},m(t,n){w(t,l,n)},p:se,d(t){t&&p(l)}}}function Or(s){let e,l,t,n;return e=new Ke({props:{disabled:!0,$$slots:{default:[zr]},$$scope:{ctx:s}}}),t=new Ke({props:{$$slots:{default:[jr]},$$scope:{ctx:s}}}),t.$on("click",function(){ht(s[0])&&s[0].apply(this,arguments)}),{c(){C(e.$$.fragment),l=P(),C(t.$$.fragment)},l(r){I(e.$$.fragment,r),l=H(r),I(t.$$.fragment,r)},m(r,o){T(e,r,o),w(r,l,o),T(t,r,o),n=!0},p(r,o){s=r;const a={};o&16512&&(a.$$scope={dirty:o,ctx:s}),e.$set(a);const i={};o&16384&&(i.$$scope={dirty:o,ctx:s}),t.$set(i)},i(r){n||(g(e.$$.fragment,r),g(t.$$.fragment,r),n=!0)},o(r){$(e.$$.fragment,r),$(t.$$.fragment,r),n=!1},d(r){L(e,r),r&&p(l),L(t,r)}}}function Rr(s){let e,l,t,n;return e=new Ll({props:{variant:"ghost",hasIndicator:!0,controls:"user-menu",$$slots:{default:[Br]},$$scope:{ctx:s}}}),t=new vt({props:{id:"user-menu",position:"right",$$slots:{default:[Or]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment),l=P(),C(t.$$.fragment)},l(r){I(e.$$.fragment,r),l=H(r),I(t.$$.fragment,r)},m(r,o){T(e,r,o),w(r,l,o),T(t,r,o),n=!0},p(r,o){const a={};o&16528&&(a.$$scope={dirty:o,ctx:r}),e.$set(a);const i={};o&16513&&(i.$$scope={dirty:o,ctx:r}),t.$set(i)},i(r){n||(g(e.$$.fragment,r),g(t.$$.fragment,r),n=!0)},o(r){$(e.$$.fragment,r),$(t.$$.fragment,r),n=!1},d(r){L(e,r),r&&p(l),L(t,r)}}}function qr(s){let e,l,t,n,r,o,a,i,f,u;pt(s[12]);let c=s[5]&&$l(s);r=new cr({props:{position:s[3]<768?"left":"right"}});let d=s[5]&&bl(),m=s[7].accessToken&&vl(s);return{c(){e=z("nav"),l=z("div"),c&&c.c(),t=P(),n=z("div"),C(r.$$.fragment),o=P(),d&&d.c(),a=P(),m&&m.c(),this.h()},l(_){e=j(_,"NAV",{class:!0,"data-testid":!0,"aria-label":!0});var b=O(e);l=j(b,"DIV",{class:!0});var h=O(l);c&&c.l(h),h.forEach(p),t=H(b),n=j(b,"DIV",{class:!0});var v=O(n);I(r.$$.fragment,v),o=H(v),d&&d.l(v),a=H(v),m&&m.l(v),v.forEach(p),b.forEach(p),this.h()},h(){k(l,"class","flex grow items-center"),k(n,"class","flex items-center gap-2"),k(e,"class","sticky top-0 z-30 flex w-full flex-col items-center justify-end border-b-2 bg-gray-100 p-1 px-4 md:flex-row md:px-8"),k(e,"data-testid","top-nav"),k(e,"aria-label",B("main")),J(e,"bg-red-50",s[6].hasError&&s[5])},m(_,b){w(_,e,b),V(e,l),c&&c.m(l,null),V(e,t),V(e,n),T(r,n,null),V(n,o),d&&d.m(n,null),V(n,a),m&&m.m(n,null),i=!0,f||(u=ve(window,"resize",s[12]),f=!0)},p(_,[b]){_[5]?c?(c.p(_,b),b&32&&g(c,1)):(c=$l(_),c.c(),g(c,1),c.m(l,null)):c&&(ce(),$(c,1,1,()=>{c=null}),de());const h={};b&8&&(h.position=_[3]<768?"left":"right"),r.$set(h),_[5]?d?b&32&&g(d,1):(d=bl(),d.c(),g(d,1),d.m(n,a)):d&&(ce(),$(d,1,1,()=>{d=null}),de()),_[7].accessToken?m?(m.p(_,b),b&128&&g(m,1)):(m=vl(_),m.c(),g(m,1),m.m(n,null)):m&&(ce(),$(m,1,1,()=>{m=null}),de()),(!i||b&96)&&J(e,"bg-red-50",_[6].hasError&&_[5])},i(_){i||(g(c),g(r.$$.fragment,_),g(d),g(m),i=!0)},o(_){$(c),$(r.$$.fragment,_),$(d),$(m),i=!1},d(_){_&&p(e),c&&c.d(),L(r),d&&d.d(),m&&m.d(),f=!1,u()}}}function Ar(s,e,l){let t,n,r,o,a,i,f;oe(s,lt,v=>l(13,o=v)),oe(s,Ae,v=>l(11,a=v)),oe(s,Sl,v=>l(6,i=v)),oe(s,Dl,v=>l(7,f=v));let{logout:u}=e,{namespaceList:c=[]}=e,d,m=!0;function _(){l(4,m=!1)}const b=v=>{const q=v.detail;me(lt,o=q.namespace,o),q==null||q.onClick(q.namespace)};function h(){l(3,d=window.innerWidth)}return s.$$set=v=>{"logout"in v&&l(0,u=v.logout),"namespaceList"in v&&l(1,c=v.namespaceList)},s.$$.update=()=>{s.$$.dirty&2048&&l(2,t=a.params.namespace),s.$$.dirty&2048&&l(10,n=a.url.pathname.split("/")),s.$$.dirty&1028&&l(5,r=t&&(n.includes("workflows")||n.includes("schedules")||n.includes("batch-operations")||n.includes("task-queues")))},[u,c,t,d,m,r,i,f,_,b,n,a,h]}class Pr extends ae{constructor(e){super(),fe(this,e,Ar,qr,ue,{logout:0,namespaceList:1})}}function Hr(s){let e;const l=s[5].default,t=ee(l,s,s[4],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&16)&&te(t,l,n,n[4],e?ne(l,n[4],r,null):le(n[4]),null)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function Mr(s){let e,l,t=s[1].message+"",n,r,o,a,i=(s[2]?s[1].stack:"")+"",f,u;return{c(){e=z("div"),l=z("b"),n=G(t),r=P(),o=z("pre"),a=G(" "),f=G(i),u=G(` - `),this.h()},l(c){e=j(c,"DIV",{class:!0});var d=O(e);l=j(d,"B",{});var m=O(l);n=Q(m,t),m.forEach(p),r=H(d),o=j(d,"PRE",{class:!0});var _=O(o);a=Q(_," "),f=Q(_,i),u=Q(_,` - `),_.forEach(p),d.forEach(p),this.h()},h(){k(o,"class","trace svelte-urrl06"),k(e,"class","error svelte-urrl06")},m(c,d){w(c,e,d),V(e,l),V(l,n),V(e,r),V(e,o),V(o,a),V(o,f),V(o,u)},p(c,d){d&2&&t!==(t=c[1].message+"")&&pe(n,t),d&2&&i!==(i=(c[2]?c[1].stack:"")+"")&&pe(f,i)},i:se,o:se,d(c){c&&p(e)}}}function Fr(s){let e,l,t,n;const r=[Mr,Hr],o=[];function a(i,f){return i[1]?0:1}return e=a(s),l=o[e]=r[e](s),{c(){l.c(),t=ie()},l(i){l.l(i),t=ie()},m(i,f){o[e].m(i,f),w(i,t,f),n=!0},p(i,[f]){let u=e;e=a(i),e===u?o[e].p(i,f):(ce(),$(o[u],1,1,()=>{o[u]=null}),de(),l=o[e],l?l.p(i,f):(l=o[e]=r[e](i),l.c()),g(l,1),l.m(t.parentNode,t))},i(i){n||(g(l),n=!0)},o(i){$(l),n=!1},d(i){o[e].d(i),i&&p(t)}}}function Kr(s,e,l){let t,n=se,r=()=>(n(),n=nt(i,d=>l(1,t=d)),i);s.$$.on_destroy.push(()=>n());let{$$slots:o={},$$scope:a}=e,{error:i=null}=e;r();let{onError:f=null}=e,c=(typeof process<"u"&&process.env&&"production")!=="production";return s.$$set=d=>{"error"in d&&r(l(0,i=d.error)),"onError"in d&&l(3,f=d.onError),"$$scope"in d&&l(4,a=d.$$scope)},s.$$.update=()=>{s.$$.dirty&10&&t&&f&&f(t)},[i,t,c,f,a,o]}class Ur extends ae{constructor(e){super(),fe(this,e,Kr,Fr,ue,{error:0,onError:3})}}const Wr=["c","l","h","m","p","a","i","o","d"];function wt(s){if(s.$$render){let l=s.$$render;return s.$$render=(t,n,r,o)=>{const a=Ue(void 0);try{return l(t,{error:a,...n},r,o)}catch(i){return a.set(i),l(t,{error:a,...n},r,{})}},s}function e(l,t){return function(...r){try{return l(...r)}catch(o){t(o)}}}return class extends s{constructor(t){const n=Ue(void 0);t.props.$$slots.default=t.props.$$slots.default.map(r=>(...o)=>{let i=e(r,n.set)(...o);if(i)for(let f of Wr)i[f]&&(i[f]=e(i[f],n.set));return i}),super(t),this.$$set({error:n})}}}wt(Ur);const Zr=s=>({}),wl=s=>({});function Gr(s){let e;const l=s[3].default,t=ee(l,s,s[2],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&4)&&te(t,l,n,n[2],e?ne(l,n[2],r,null):le(n[2]),null)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function Qr(s){let e;const l=s[3].fallback,t=ee(l,s,s[2],wl),n=t||Xr();return{c(){n&&n.c()},l(r){n&&n.l(r)},m(r,o){n&&n.m(r,o),e=!0},p(r,o){t&&t.p&&(!e||o&4)&&te(t,l,r,r[2],e?ne(l,r[2],o,Zr):le(r[2]),wl)},i(r){e||(g(n,r),e=!0)},o(r){$(n,r),e=!1},d(r){n&&n.d(r)}}}function Xr(s){let e;return{c(){e=G("Error Rendering Component")},l(l){e=Q(l,"Error Rendering Component")},m(l,t){w(l,e,t)},d(l){l&&p(e)}}}function Jr(s){let e,l,t,n;const r=[Qr,Gr],o=[];function a(i,f){return i[1]?0:1}return e=a(s),l=o[e]=r[e](s),{c(){l.c(),t=ie()},l(i){l.l(i),t=ie()},m(i,f){o[e].m(i,f),w(i,t,f),n=!0},p(i,[f]){let u=e;e=a(i),e===u?o[e].p(i,f):(ce(),$(o[u],1,1,()=>{o[u]=null}),de(),l=o[e],l?l.p(i,f):(l=o[e]=r[e](i),l.c()),g(l,1),l.m(t.parentNode,t))},i(i){n||(g(l),n=!0)},o(i){$(l),n=!1},d(i){o[e].d(i),i&&p(t)}}}function Yr(s,e,l){let t,n=se,r=()=>(n(),n=nt(i,f=>l(1,t=f)),i);s.$$.on_destroy.push(()=>n());let{$$slots:o={},$$scope:a}=e,{error:i=null}=e;return r(),s.$$set=f=>{"error"in f&&r(l(0,i=f.error)),"$$scope"in f&&l(2,a=f.$$scope)},[i,t,a,o]}class yr extends ae{constructor(e){super(),fe(this,e,Yr,Jr,ue,{error:0})}}function xr(s){let e;const l=s[7].default,t=ee(l,s,s[6],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&64)&&te(t,l,n,n[6],e?ne(l,n[6],r,null):le(n[6]),null)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function eo(s){let e,l;return e=new ln({props:{error:s[1]}}),e.$on("clearError",s[2]),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.error=t[1]),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function to(s){let e,l,t,n;const r=[eo,xr],o=[];function a(i,f){return i[1]?0:1}return e=a(s),l=o[e]=r[e](s),{c(){l.c(),t=ie()},l(i){l.l(i),t=ie()},m(i,f){o[e].m(i,f),w(i,t,f),n=!0},p(i,[f]){let u=e;e=a(i),e===u?o[e].p(i,f):(ce(),$(o[u],1,1,()=>{o[u]=null}),de(),l=o[e],l?l.p(i,f):(l=o[e]=r[e](i),l.c()),g(l,1),l.m(t.parentNode,t))},i(i){n||(g(l),n=!0)},o(i){$(l),n=!1},d(i){o[e].d(i),i&&p(t)}}}function lo(s,e,l){let t,n,r=se,o=()=>(r(),r=nt(f,m=>l(5,n=m)),f);oe(s,ot,m=>l(4,t=m)),s.$$.on_destroy.push(()=>r());let{$$slots:a={},$$scope:i}=e,{error:f=null}=e;o();let{onError:u=null}=e,c;function d(){me(f,n=null,n),l(3,u=null),l(1,c=null),me(ot,t=null,t)}return s.$$set=m=>{"error"in m&&o(l(0,f=m.error)),"onError"in m&&l(3,u=m.onError),"$$scope"in m&&l(6,i=m.$$scope)},s.$$.update=()=>{s.$$.dirty&59&&(f&&n&&l(1,c=f),ot&&t&&l(1,c=t),u&&c&&u(c))},[f,c,d,u,t,n,i,a]}class no extends ae{constructor(e){super(),fe(this,e,lo,to,ue,{error:0,onError:3})}}const so=wt(no);wt(yr);function ro(s){let e,l,t,n,r,o;const a=s[4].default,i=ee(a,s,s[3],null);return n=new ct({props:{size:"sm",variant:"secondary",leadingIcon:"arrow-up"}}),n.$on("click",function(){ht(s[1])&&s[1].apply(this,arguments)}),{c(){e=z("div"),i&&i.c(),l=P(),t=z("div"),C(n.$$.fragment),this.h()},l(f){e=j(f,"DIV",{id:!0,class:!0});var u=O(e);i&&i.l(u),l=H(u),t=j(u,"DIV",{class:!0});var c=O(t);I(n.$$.fragment,c),c.forEach(p),u.forEach(p),this.h()},h(){k(t,"class","back-to-top svelte-11aee8w"),J(t,"hidden",s[0]),k(e,"id","scroll-container"),k(e,"class",r=ze(s[2].class)+" svelte-11aee8w")},m(f,u){w(f,e,u),i&&i.m(e,null),V(e,l),V(e,t),T(n,t,null),o=!0},p(f,[u]){s=f,i&&i.p&&(!o||u&8)&&te(i,a,s,s[3],o?ne(a,s[3],u,null):le(s[3]),null),(!o||u&1)&&J(t,"hidden",s[0]),(!o||u&4&&r!==(r=ze(s[2].class)+" svelte-11aee8w"))&&k(e,"class",r)},i(f){o||(g(i,f),g(n.$$.fragment,f),o=!0)},o(f){$(i,f),$(n.$$.fragment,f),o=!1},d(f){f&&p(e),i&&i.d(f),L(n)}}}function oo(s,e,l){let{$$slots:t={},$$scope:n}=e,{hidden:r=!0}=e,{onScrollToTopClick:o}=e;return s.$$set=a=>{l(2,e=we(we({},e),je(a))),"hidden"in a&&l(0,r=a.hidden),"onScrollToTopClick"in a&&l(1,o=a.onScrollToTopClick),"$$scope"in a&&l(3,n=a.$$scope)},e=je(e),[r,o,e,n,t]}class io extends ae{constructor(e){super(),fe(this,e,oo,ro,ue,{hidden:0,onScrollToTopClick:1})}}const ao=s=>({}),El=s=>({});function fo(s){let e,l,t,n,r,o,a,i;const f=s[3].default,u=ee(f,s,s[2],null),c=s[3].main,d=ee(c,s,s[2],El);return r=new io({props:{hidden:s[0],onScrollToTopClick:mo}}),{c(){e=z("div"),u&&u.c(),l=P(),t=z("main"),d&&d.c(),n=P(),C(r.$$.fragment),this.h()},l(m){e=j(m,"DIV",{id:!0,class:!0});var _=O(e);u&&u.l(_),l=H(_),t=j(_,"MAIN",{id:!0});var b=O(t);d&&d.l(b),b.forEach(p),n=H(_),I(r.$$.fragment,_),_.forEach(p),this.h()},h(){k(t,"id","content"),k(e,"id","content-wrapper"),k(e,"class","relative h-screen w-max flex-auto overflow-auto bg-gray-100")},m(m,_){w(m,e,_),u&&u.m(e,null),V(e,l),V(e,t),d&&d.m(t,null),V(e,n),T(r,e,null),o=!0,a||(i=ve(e,"scroll",s[1]),a=!0)},p(m,[_]){u&&u.p&&(!o||_&4)&&te(u,f,m,m[2],o?ne(f,m[2],_,null):le(m[2]),null),d&&d.p&&(!o||_&4)&&te(d,c,m,m[2],o?ne(c,m[2],_,ao):le(m[2]),El);const b={};_&1&&(b.hidden=m[0]),r.$set(b)},i(m){o||(g(u,m),g(d,m),g(r.$$.fragment,m),o=!0)},o(m){$(u,m),$(d,m),$(r.$$.fragment,m),o=!1},d(m){m&&p(e),u&&u.d(m),d&&d.d(m),L(r),a=!1,i()}}}let uo=150;function co(){return document.getElementById("content-wrapper")}function mo(){var s;(s=co())===null||s===void 0||s.scrollTo(0,0)}function _o(s,e,l){let{$$slots:t={},$$scope:n}=e,r=!0;function o(a){const f=a.target.scrollTop;l(0,r=Boolean(f{"$$scope"in a&&l(2,n=a.$$scope)},[r,o,n,t]}class po extends ae{constructor(e){super(),fe(this,e,_o,fo,ue,{})}}function go(s){let e,l,t,n,r,o,a;const i=s[5].default,f=ee(i,s,s[4],null);return n=new Ze({props:{label:s[2],icon:"close"}}),n.$on("click",s[3]),{c(){e=z("div"),l=z("p"),f&&f.c(),t=P(),C(n.$$.fragment),this.h()},l(u){e=j(u,"DIV",{id:!0,class:!0});var c=O(e);l=j(c,"P",{class:!0});var d=O(l);f&&f.l(d),d.forEach(p),t=H(c),I(n.$$.fragment,c),c.forEach(p),this.h()},h(){k(l,"class","font-secondary text-sm"),k(e,"id",s[0]),k(e,"class",r="flex grow-0 items-center justify-between gap-4 rounded py-3 px-4 shadow "+s[1]+" svelte-19tipv7")},m(u,c){w(u,e,c),V(e,l),f&&f.m(l,null),V(e,t),T(n,e,null),a=!0},p(u,[c]){f&&f.p&&(!a||c&16)&&te(f,i,u,u[4],a?ne(i,u[4],c,null):le(u[4]),null);const d={};c&4&&(d.label=u[2]),n.$set(d),(!a||c&1)&&k(e,"id",u[0]),(!a||c&2&&r!==(r="flex grow-0 items-center justify-between gap-4 rounded py-3 px-4 shadow "+u[1]+" svelte-19tipv7"))&&k(e,"class",r)},i(u){a||(g(f,u),g(n.$$.fragment,u),pt(()=>{o||(o=Tt(e,ut,{x:250},!0)),o.run(1)}),a=!0)},o(u){$(f,u),$(n.$$.fragment,u),o||(o=Tt(e,ut,{x:250},!1)),o.run(0),a=!1},d(u){u&&p(e),f&&f.d(u),L(n),u&&o&&o.end()}}}function ho(s,e,l){let{$$slots:t={},$$scope:n}=e;const r=Tl();let{id:o}=e,{variant:a}=e,{closeButtonLabel:i}=e;const f=()=>{r("dismiss",{id:o})};return s.$$set=u=>{"id"in u&&l(0,o=u.id),"variant"in u&&l(1,a=u.variant),"closeButtonLabel"in u&&l(2,i=u.closeButtonLabel),"$$scope"in u&&l(4,n=u.$$scope)},[o,a,i,f,n,t]}class $o extends ae{constructor(e){super(),fe(this,e,ho,go,ue,{id:0,variant:1,closeButtonLabel:2})}}function Cl(s,e,l){const t=s.slice();return t[5]=e[l].message,t[6]=e[l].variant,t[7]=e[l].id,t}function bo(s){let e=s[5]+"",l,t;return{c(){l=G(e),t=P()},l(n){l=Q(n,e),t=H(n)},m(n,r){w(n,l,r),w(n,t,r)},p(n,r){r&4&&e!==(e=n[5]+"")&&pe(l,e)},d(n){n&&p(l),n&&p(t)}}}function Il(s,e){let l,t,n;return t=new $o({props:{closeButtonLabel:e[1],variant:e[6],id:e[7],$$slots:{default:[bo]},$$scope:{ctx:e}}}),t.$on("dismiss",e[3]),{key:s,first:null,c(){l=ie(),C(t.$$.fragment),this.h()},l(r){l=ie(),I(t.$$.fragment,r),this.h()},h(){this.first=l},m(r,o){w(r,l,o),T(t,r,o),n=!0},p(r,o){e=r;const a={};o&2&&(a.closeButtonLabel=e[1]),o&4&&(a.variant=e[6]),o&4&&(a.id=e[7]),o&1028&&(a.$$scope={dirty:o,ctx:e}),t.$set(a)},i(r){n||(g(t.$$.fragment,r),n=!0)},o(r){$(t.$$.fragment,r),n=!1},d(r){r&&p(l),L(t,r)}}}function vo(s){let e,l=[],t=new Map,n,r=s[2];const o=a=>a[7];for(let a=0;a(n(),n=nt(a,u=>l(2,t=u)),a);s.$$.on_destroy.push(()=>n());let{pop:o}=e,{toasts:a}=e;r();let{closeButtonLabel:i}=e;const f=u=>{o(u.detail.id)};return s.$$set=u=>{"pop"in u&&l(4,o=u.pop),"toasts"in u&&r(l(0,a=u.toasts)),"closeButtonLabel"in u&&l(1,i=u.closeButtonLabel)},[a,i,t,f,o]}class wo extends ae{constructor(e){super(),fe(this,e,ko,vo,ue,{pop:4,toasts:0,closeButtonLabel:1})}}function Eo(s){let e,l,t,n;return e=new wn({}),t=new Pr({props:{logout:s[4],namespaceList:s[1]}}),{c(){C(e.$$.fragment),l=P(),C(t.$$.fragment)},l(r){I(e.$$.fragment,r),l=H(r),I(t.$$.fragment,r)},m(r,o){T(e,r,o),w(r,l,o),T(t,r,o),n=!0},p(r,o){const a={};o&2&&(a.namespaceList=r[1]),t.$set(a)},i(r){n||(g(e.$$.fragment,r),g(t.$$.fragment,r),n=!0)},o(r){$(e.$$.fragment,r),$(t.$$.fragment,r),n=!1},d(r){L(e,r),r&&p(l),L(t,r)}}}function Co(s){let e;const l=s[17].default,t=ee(l,s,s[18],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&262144)&&te(t,l,n,n[18],e?ne(l,n[18],r,null):le(n[18]),null)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function Io(s){let e,l,t;return l=new so({props:{onError:Lo,$$slots:{default:[Co]},$$scope:{ctx:s}}}),{c(){e=z("div"),C(l.$$.fragment),this.h()},l(n){e=j(n,"DIV",{slot:!0,class:!0});var r=O(e);I(l.$$.fragment,r),r.forEach(p),this.h()},h(){k(e,"slot","main"),k(e,"class","flex h-[calc(100%-2.5rem)] w-full flex-col gap-4 p-8")},m(n,r){w(n,e,r),T(l,e,null),t=!0},p(n,r){const o={};r&262144&&(o.$$scope={dirty:r,ctx:n}),l.$set(o)},i(n){t||(g(l.$$.fragment,n),t=!0)},o(n){$(l.$$.fragment,n),t=!1},d(n){n&&p(e),L(l)}}}function To(s){let e,l,t,n,r,o,a,i,f,u;return e=new Fs({}),n=new wo({props:{closeButtonLabel:B("close"),pop:Rt.pop,toasts:Rt.toasts}}),a=new Ps({props:{activeNamespace:s[3],linkList:s[2],isCloud:s[0]}}),f=new po({props:{$$slots:{main:[Io],default:[Eo]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment),l=P(),t=z("div"),C(n.$$.fragment),r=P(),o=z("div"),C(a.$$.fragment),i=P(),C(f.$$.fragment),this.h()},l(c){I(e.$$.fragment,c),l=H(c),t=j(c,"DIV",{class:!0});var d=O(t);I(n.$$.fragment,d),r=H(d),o=j(d,"DIV",{class:!0});var m=O(o);I(a.$$.fragment,m),m.forEach(p),i=H(d),I(f.$$.fragment,d),d.forEach(p),this.h()},h(){k(o,"class","sticky top-0 z-20 h-screen w-auto"),k(t,"class","flex w-screen flex-row")},m(c,d){T(e,c,d),w(c,l,d),w(c,t,d),T(n,t,null),V(t,r),V(t,o),T(a,o,null),V(t,i),T(f,t,null),u=!0},p(c,[d]){const m={};d&8&&(m.activeNamespace=c[3]),d&4&&(m.linkList=c[2]),d&1&&(m.isCloud=c[0]),a.$set(m);const _={};d&262146&&(_.$$scope={dirty:d,ctx:c}),f.$set(_)},i(c){u||(g(e.$$.fragment,c),g(n.$$.fragment,c),g(a.$$.fragment,c),g(f.$$.fragment,c),u=!0)},o(c){$(e.$$.fragment,c),$(n.$$.fragment,c),$(a.$$.fragment,c),$(f.$$.fragment,c),u=!1},d(c){L(e,c),c&&p(l),c&&p(t),L(n),L(a),L(f)}}}const Lo=()=>{};function Vo(s,e,l){let t,n,r,o,a,i,f,u;oe(s,Ae,R=>l(14,i=R)),oe(s,lt,R=>l(15,f=R)),oe(s,tn,R=>l(16,u=R));let{$$slots:c={},$$scope:d}=e;var m,_,b,h,v,q,A;let S;function M(R){const N=[{subPath:"schedules",fullRoute:qt({namespace:R})},{subPath:"batch-operations",fullRoute:At({namespace:R})}];for(const{subPath:D,fullRoute:K}of N)if(i.url.pathname.endsWith(D))return K;return xe({namespace:R})}const Z=()=>{Yl(),Lt(on())};return Hl.subscribe(async R=>{R&&window.location.reload()}),Pl(()=>{var R;(R=document.getElementById("content"))===null||R===void 0||R.scrollTo(0,0)}),s.$$set=R=>{"$$scope"in R&&l(18,d=R.$$scope)},s.$$.update=()=>{s.$$.dirty&16608&&l(0,t=l(7,b=l(6,_=l(5,m=i.data)===null||m===void 0?void 0:m.settings)===null||_===void 0?void 0:_.runtimeEnvironment)===null||b===void 0?void 0:b.isCloud),s.$$.dirty&81921&&l(13,o=t?[i.params.namespace]:u.map(R=>{var N;return(N=R==null?void 0:R.namespaceInfo)===null||N===void 0?void 0:N.name})),s.$$.dirty&8193&&l(1,S=o.map(R=>{const N=D=>t?xe({namespace:D}):M(D);return{namespace:R,onClick:D=>{me(lt,f=D,f),Lt(N(D))}}})),s.$$.dirty&49920&&l(12,n=l(9,v=l(8,h=i.params)===null||h===void 0?void 0:h.namespace)!==null&&v!==void 0?v:f),s.$$.dirty&69632&&l(3,r=u.find(R=>{var N;return((N=R==null?void 0:R.namespaceInfo)===null||N===void 0?void 0:N.name)===n})),s.$$.dirty&23552&&l(2,a={home:xe({namespace:n}),archive:nn({namespace:n}),namespaces:sn(),schedules:qt({namespace:n}),workflows:xe({namespace:n}),batchOperations:At({namespace:n}),import:rn(),feedback:(l(11,A=l(10,q=i.data)===null||q===void 0?void 0:q.settings)===null||A===void 0?void 0:A.feedbackURL)||"https://github.com/temporalio/ui/issues/new/choose"})},[t,S,a,r,Z,m,_,b,h,v,q,A,n,o,i,f,u,c,d]}class ii extends ae{constructor(e){super(),fe(this,e,Vo,To,ue,{})}}export{ii as default}; + `)},m(a,i){w(a,l,i),w(a,t,i),w(a,r,i),w(a,o,i)},p(a,i){i&16&&e!==(e=a[19]+"")&&pe(l,e),i&16&&n!==(n=a[21]+"")&&pe(r,n)},d(a){a&&p(l),a&&p(t),a&&p(r),a&&p(o)}}}function ul(s){let e,l;function t(){return s[17](s[18])}return e=new Ke({props:{selected:s[18]===s[2],description:Rt(s[20],B("utc")),$$slots:{default:[or]},$$scope:{ctx:s}}}),e.$on("click",t),{c(){C(e.$$.fragment)},l(n){I(e.$$.fragment,n)},m(n,r){T(e,n,r),l=!0},p(n,r){s=n;const o={};r&20&&(o.selected=s[18]===s[2]),r&16&&(o.description=Rt(s[20],B("utc"))),r&67108880&&(o.$$scope={dirty:r,ctx:s}),e.$set(o)},i(n){l||(g(e.$$.fragment,n),l=!0)},o(n){$(e.$$.fragment,n),l=!1},d(n){L(e,n)}}}function ir(s){let e,l,t,n,r,o,a,i;function f(h){s[14](h)}let u={label:B("search"),labelHidden:!0,id:"timezone-search",noBorder:!0,icon:"search",placeholder:B("search")};s[1]!==void 0&&(u.value=s[1]),e=new yl({props:u}),Le.push(()=>De(e,"value",f)),n=new Nl({});let c=!s[1]&&il(s),d=s[4],m=[];for(let h=0;h$(m[h],1,1,()=>{m[h]=null});let b=null;return d.length||(b=fl(s)),{c(){C(e.$$.fragment),t=P(),C(n.$$.fragment),r=P(),c&&c.c(),o=P();for(let h=0;hl=!1)),e.$set(j),h[1]?c&&(ce(),$(c,1,1,()=>{c=null}),de()):c?(c.p(h,v),v&2&&g(c,1)):(c=il(h),c.c(),g(c,1),c.m(o.parentNode,o)),v&276){d=h[4];let A;for(A=0;A{b=null}),de()):(b=fl(h),b.c(),g(b,1),b.m(a.parentNode,a))}},i(h){if(!i){g(e.$$.fragment,h),g(n.$$.fragment,h),g(c);for(let v=0;vl(5,r=M)),oe(s,ye,M=>l(2,o=M));var a,i,f,u;let{position:c="right"}=e;const d=xl(),m=[{label:B("utc"),value:"UTC"},{label:B("local"),value:"local"}];let _="";const b=M=>{r&&M!=="local"&&me(Ye,r=!1,r),me(ye,o=M,o),l(1,_="")},h=M=>{M.target.checked&&o!=="local"&&me(ye,o="local",o)};ql(()=>{String(o)==="relative"&&(me(ye,o="local",o),me(Ye,r=!0,r))});function v(M){_=M,l(1,_)}const j=M=>b(M);function A(M){r=M,Ye.set(r)}const S=M=>b(M);return s.$$set=M=>{"position"in M&&l(0,c=M.position)},s.$$.update=()=>{s.$$.dirty&2&&l(4,t=_?zt.filter(({abbr:M,value:Z,zones:q})=>{const N=_.trim().toLowerCase();return Z.toLowerCase().includes(N)||(M==null?void 0:M.toLowerCase().includes(N))||(q==null?void 0:q.some(D=>D.toLowerCase().includes(N)))}):zt),s.$$.dirty&15364&&l(3,n=l(13,u=l(11,i=l(10,a=Ot[o])===null||a===void 0?void 0:a.abbr)!==null&&i!==void 0?i:l(12,f=Ot[o])===null||f===void 0?void 0:f.label)!==null&&u!==void 0?u:en(o))},[c,_,o,n,t,r,d,m,b,h,a,i,f,u,v,j,A,S]}class cr extends ae{constructor(e){super(),fe(this,e,ur,fr,ue,{position:0})}}const dr=s=>({}),cl=s=>({slot:"leading"}),mr=s=>({}),dl=s=>({slot:"trailing"});function _r(s){let e;const l=s[2].default,t=ee(l,s,s[4],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&16)&&te(t,l,n,n[4],e?ne(l,n[4],r,null):le(n[4]),null)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function pr(s){let e;const l=s[2].leading,t=ee(l,s,s[4],cl);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&16)&&te(t,l,n,n[4],e?ne(l,n[4],r,dr):le(n[4]),cl)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function gr(s){let e;const l=s[2].trailing,t=ee(l,s,s[4],dl);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&16)&&te(t,l,n,n[4],e?ne(l,n[4],r,mr):le(n[4]),dl)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function hr(s){let e,l;return e=new Ke({props:{role:"option",class:"break-all","aria-selected":s[0],"aria-disabled":s[1],disabled:s[1],selected:s[0],$$slots:{trailing:[gr],leading:[pr],default:[_r]},$$scope:{ctx:s}}}),e.$on("click",s[3]),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,[n]){const r={};n&1&&(r["aria-selected"]=t[0]),n&2&&(r["aria-disabled"]=t[1]),n&2&&(r.disabled=t[1]),n&1&&(r.selected=t[0]),n&16&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function $r(s,e,l){let{$$slots:t={},$$scope:n}=e,{selected:r=!1}=e,{disabled:o=!1}=e;function a(i){He.call(this,s,i)}return s.$$set=i=>{"selected"in i&&l(0,r=i.selected),"disabled"in i&&l(1,o=i.disabled),"$$scope"in i&&l(4,n=i.$$scope)},[r,o,t,a,n]}class kt extends ae{constructor(e){super(),fe(this,e,$r,hr,ue,{selected:0,disabled:1})}}function ml(s,e,l){const t=s.slice();return t[48]=e[l],t}const br=s=>({option:s[0]&131072}),_l=s=>({option:s[22](s[48])});function pl(s){let e,l;return e=new Ce({props:{width:20,height:20,class:"ml-2 shrink-0 text-gray-500",name:s[11]}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n[0]&2048&&(r.name=t[11]),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function gl(s){let e,l;return e=new kt({props:{disabled:!0,$$slots:{default:[vr]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n[0]&32|n[1]&1024&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function vr(s){let e;return{c(){e=G(s[5])},l(l){e=Q(l,s[5])},m(l,t){w(l,e,t)},p(l,t){t[0]&32&&pe(e,l[5])},d(l){l&&p(e)}}}function kr(s){let e,l,t,n,r;const o=[Cr,Er],a=[];function i(f,u){return u[0]&131072&&(e=null),e==null&&(e=!!f[25](f[48])),e?0:1}return l=i(s,[-1,-1]),t=a[l]=o[l](s),{c(){t.c(),n=ie()},l(f){t.l(f),n=ie()},m(f,u){a[l].m(f,u),w(f,n,u),r=!0},p(f,u){let c=l;l=i(f,u),l===c?a[l].p(f,u):(ce(),$(a[c],1,1,()=>{a[c]=null}),de(),t=a[l],t?t.p(f,u):(t=a[l]=o[l](f),t.c()),g(t,1),t.m(n.parentNode,n))},i(f){r||(g(t),r=!0)},o(f){$(t),r=!1},d(f){a[l].d(f),f&&p(n)}}}function wr(s){let e,l;function t(){return s[38](s[48])}return e=new kt({props:{selected:s[0]===s[48],$$slots:{default:[Tr]},$$scope:{ctx:s}}}),e.$on("click",t),{c(){C(e.$$.fragment)},l(n){I(e.$$.fragment,n)},m(n,r){T(e,n,r),l=!0},p(n,r){s=n;const o={};r[0]&131073&&(o.selected=s[0]===s[48]),r[0]&131072|r[1]&1024&&(o.$$scope={dirty:r,ctx:s}),e.$set(o)},i(n){l||(g(e.$$.fragment,n),l=!0)},o(n){$(e.$$.fragment,n),l=!1},d(n){L(e,n)}}}function Er(s){let e;const l=s[36].default,t=ee(l,s,s[41],_l);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r[0]&131072|r[1]&1024)&&te(t,l,n,n[41],e?ne(l,n[41],r,br):le(n[41]),_l)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function Cr(s){let e,l;function t(){return s[39](s[48])}return e=new kt({props:{selected:s[0]===s[48][s[12]],$$slots:{default:[Ir]},$$scope:{ctx:s}}}),e.$on("click",t),{c(){C(e.$$.fragment)},l(n){I(e.$$.fragment,n)},m(n,r){T(e,n,r),l=!0},p(n,r){s=n;const o={};r[0]&135169&&(o.selected=s[0]===s[48][s[12]]),r[0]&139264|r[1]&1024&&(o.$$scope={dirty:r,ctx:s}),e.$set(o)},i(n){l||(g(e.$$.fragment,n),l=!0)},o(n){$(e.$$.fragment,n),l=!1},d(n){L(e,n)}}}function Ir(s){let e=s[48][s[13]]+"",l,t;return{c(){l=G(e),t=P()},l(n){l=Q(n,e),t=H(n)},m(n,r){w(n,l,r),w(n,t,r)},p(n,r){r[0]&139264&&e!==(e=n[48][n[13]]+"")&&pe(l,e)},d(n){n&&p(l),n&&p(t)}}}function Tr(s){let e=s[48]+"",l,t;return{c(){l=G(e),t=P()},l(n){l=Q(n,e),t=H(n)},m(n,r){w(n,l,r),w(n,t,r)},p(n,r){r[0]&131072&&e!==(e=n[48]+"")&&pe(l,e)},d(n){n&&p(l),n&&p(t)}}}function hl(s){let e,l,t,n,r,o;const a=[wr,kr],i=[];function f(u,c){return c[0]&131072&&(e=null),c[0]&131072&&(l=null),e==null&&(e=!!u[23](u[48])),e?0:(l==null&&(l=!!u[24](u[48])),l?1:-1)}return~(t=f(s,[-1,-1]))&&(n=i[t]=a[t](s)),{c(){n&&n.c(),r=ie()},l(u){n&&n.l(u),r=ie()},m(u,c){~t&&i[t].m(u,c),w(u,r,c),o=!0},p(u,c){let d=t;t=f(u,c),t===d?~t&&i[t].p(u,c):(n&&(ce(),$(i[d],1,1,()=>{i[d]=null}),de()),~t?(n=i[t],n?n.p(u,c):(n=i[t]=a[t](u),n.c()),g(n,1),n.m(r.parentNode,r)):n=null)},i(u){o||(g(n),o=!0)},o(u){$(n),o=!1},d(u){~t&&i[t].d(u),u&&p(r)}}}function Lr(s){let e,l,t=s[17],n=[];for(let a=0;a$(n[a],1,1,()=>{n[a]=null});let o=null;return t.length||(o=gl(s)),{c(){for(let a=0;a{o=null}),de()):(o=gl(a),o.c(),g(o,1),o.m(e.parentNode,e))}},i(a){if(!l){for(let i=0;iDe(b,"menuElement",q)),{c(){e=z("label"),l=G(s[3]),t=P(),n=z("div"),S&&S.c(),r=P(),o=z("input"),u=P(),c=z("button"),C(d.$$.fragment),_=P(),C(b.$$.fragment),this.h()},l(D){e=O(D,"LABEL",{class:!0,for:!0});var K=R(e);l=Q(K,s[3]),K.forEach(p),t=H(D),n=O(D,"DIV",{class:!0});var U=R(n);S&&S.l(U),r=H(U),o=O(U,"INPUT",{id:!0,placeholder:!0,type:!0,class:!0,role:!0,autocomplete:!0,autocapitalize:!0,spellcheck:!0,"data-lpignore":!0,"aria-controls":!0,"aria-expanded":!0,"aria-required":!0,"aria-autocomplete":!0,"data-testid":!0}),u=H(U),c=O(U,"BUTTON",{"aria-label":!0,class:!0,tabindex:!0,"aria-controls":!0,"aria-expanded":!0});var X=R(c);I(d.$$.fragment,X),X.forEach(p),U.forEach(p),_=H(D),I(b.$$.fragment,D),this.h()},h(){k(e,"class","combobox-label svelte-1nqx354"),k(e,"for",s[2]),J(e,"sr-only",s[7]),tt(o,Z),J(o,"disabled",s[6]),J(o,"svelte-1nqx354",!0),k(c,"aria-label",s[4]),k(c,"class","combobox-button svelte-1nqx354"),k(c,"tabindex",-1),k(c,"aria-controls",m=s[2]+"-listbox"),k(c,"aria-expanded",s[18]),k(n,"class","combobox-wrapper svelte-1nqx354")},m(D,K){w(D,e,K),V(e,l),w(D,t,K),w(D,n,K),S&&S.m(n,null),V(n,r),V(n,o),o.value=Z.value,o.autofocus&&o.focus(),s[37](o),V(n,u),V(n,c),T(d,c,null),w(D,_,K),T(b,D,K),v=!0,j||(A=[ve(o,"input",et(s[28])),ve(o,"keydown",et(s[27])),ve(o,"click",et(s[29])),ve(c,"click",s[20])],j=!0)},p(D,K){(!v||K[0]&8)&&pe(l,D[3]),(!v||K[0]&4)&&k(e,"for",D[2]),(!v||K[0]&128)&&J(e,"sr-only",D[7]),D[11]?S?(S.p(D,K),K[0]&2048&&g(S,1)):(S=pl(D),S.c(),g(S,1),S.m(n,r)):S&&(ce(),$(S,1,1,()=>{S=null}),de()),tt(o,Z=gt(M,[(!v||K[0]&4)&&{id:D[2]},(!v||K[0]&256)&&{placeholder:D[8]},(!v||K[0]&1024)&&{required:D[10]},(!v||K[0]&512)&&{readOnly:D[9]},(!v||K[0]&64)&&{disabled:D[6]},{type:"text"},(!v||K[0]&16384&&o.value!==D[14])&&{value:D[14]},(!v||K[0]&2&&a!==(a="combobox-input "+D[1]))&&{class:a},{role:"combobox"},{autocomplete:"off"},{autocapitalize:"off"},{spellcheck:"false"},{"data-lpignore":"true"},(!v||K[0]&4&&i!==(i=D[2]+"-listbox"))&&{"aria-controls":i},(!v||K[0]&262144)&&{"aria-expanded":D[18]},(!v||K[0]&1024)&&{"aria-required":D[10]},{"aria-autocomplete":"list"},(!v||K[0]&1073741828&&f!==(f=D[30]["data-testid"]??D[2]))&&{"data-testid":f},K[1]&1&&D[31]])),"value"in Z&&(o.value=Z.value),J(o,"disabled",D[6]),J(o,"svelte-1nqx354",!0);const U={};K[0]&262144&&(U.name=D[18]?"chevron-up":"chevron-down"),d.$set(U),(!v||K[0]&16)&&k(c,"aria-label",D[4]),(!v||K[0]&4&&m!==(m=D[2]+"-listbox"))&&k(c,"aria-controls",m),(!v||K[0]&262144)&&k(c,"aria-expanded",D[18]);const X={};K[0]&4&&(X.id=D[2]+"-listbox"),K[0]&143393|K[1]&1024&&(X.$$scope={dirty:K,ctx:D}),!h&&K[0]&65536&&(h=!0,X.menuElement=D[16],Ne(()=>h=!1)),b.$set(X)},i(D){v||(g(S),g(d.$$.fragment,D),g(b.$$.fragment,D),v=!0)},o(D){$(S),$(d.$$.fragment,D),$(b.$$.fragment,D),v=!1},d(D){D&&p(e),D&&p(t),D&&p(n),S&&S.d(),s[37](null),L(d),D&&p(_),L(b,D),j=!1,_t(A)}}}function Dr(s){let e,l;return e=new bt({props:{open:s[19],$$slots:{default:[Vr]},$$scope:{ctx:s}}}),e.$on("close",s[21]),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n[0]&1074266111|n[1]&1025&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Nr(s,e,l){let t;const n=["class","id","label","value","toggleLabel","noResultsText","disabled","labelHidden","options","placeholder","readonly","required","leadingIcon","optionValueKey","optionLabelKey","minSize","maxSize"];let r=Fe(e,n),o,{$$slots:a={},$$scope:i}=e;const f=Tl();let{class:u=""}=e,{id:c}=e,{label:d}=e,{value:m=void 0}=e,{toggleLabel:_}=e,{noResultsText:b}=e,{disabled:h=!1}=e,{labelHidden:v=!1}=e,{options:j}=e,{placeholder:A=null}=e,{readonly:S=!1}=e,{required:M=!1}=e,{leadingIcon:Z=null}=e,{optionValueKey:q=null}=e,{optionLabelKey:N=q}=e,{minSize:D=0}=e,{maxSize:K=120}=e,U,X,Ee,ge;const Te=Ue(!1);oe(s,Te,E=>l(18,o=E));const he=()=>{o?_e():Ie()},Ie=()=>{me(Te,o=!0,o),ge.focus(),ge.select()},_e=()=>{o&&(me(Te,o=!1,o),W())},W=()=>{l(14,U=be(X)),l(17,t=j)},Y=E=>E,y=E=>typeof E=="string",$e=E=>typeof E=="object",re=E=>E===null||typeof E!="object"?!1:q!==null&&N!==null&&q in E&&N in E,be=E=>{if(!E)return m??"";if(y(E))return E;if($e(E)&&re(E))return String(E[N])},ke=E=>{y(E)&&l(0,m=E),$e(E)&&re(E)&&l(0,m=String(E[q]))},F=E=>{f("change",E),ke(E),W()},x=()=>{const E=Ee.querySelector('li[role="option"]:not([aria-disabled="true"])');E&&requestAnimationFrame(()=>E.focus())},Ve=E=>{switch(E.key){case"Escape":_e();break;case"ArrowDown":Ie(),x();break;case"Enter":Ie(),x();break}},je=E=>{l(14,U=E.currentTarget.value),f("filter",U),o||Ie(),l(17,t=j.filter(Be=>{if(y(Be))return Be.toLowerCase().includes(E.currentTarget.value.toLowerCase());if($e(Be)&&re(Be))return String(Be[N]).toLowerCase().includes(E.currentTarget.value.toLowerCase())}))},Ge=()=>{o||Ie()};function Pe(E){Le[E?"unshift":"push"](()=>{ge=E,l(15,ge),l(14,U),l(33,D),l(34,K),l(32,j),l(0,m),l(12,q),l(35,X)})}const Se=E=>F(E),Qe=E=>F(E);function Xe(E){Ee=E,l(16,Ee)}return s.$$set=E=>{l(30,e=we(we({},e),Oe(E))),l(31,r=Fe(e,n)),"class"in E&&l(1,u=E.class),"id"in E&&l(2,c=E.id),"label"in E&&l(3,d=E.label),"value"in E&&l(0,m=E.value),"toggleLabel"in E&&l(4,_=E.toggleLabel),"noResultsText"in E&&l(5,b=E.noResultsText),"disabled"in E&&l(6,h=E.disabled),"labelHidden"in E&&l(7,v=E.labelHidden),"options"in E&&l(32,j=E.options),"placeholder"in E&&l(8,A=E.placeholder),"readonly"in E&&l(9,S=E.readonly),"required"in E&&l(10,M=E.required),"leadingIcon"in E&&l(11,Z=E.leadingIcon),"optionValueKey"in E&&l(12,q=E.optionValueKey),"optionLabelKey"in E&&l(13,N=E.optionLabelKey),"minSize"in E&&l(33,D=E.minSize),"maxSize"in E&&l(34,K=E.maxSize),"$$scope"in E&&l(41,i=E.$$scope)},s.$$.update=()=>{s.$$.dirty[1]&2&&l(17,t=j),s.$$.dirty[0]&4097|s.$$.dirty[1]&18&&(l(35,X=j.find(E=>{if(y(E))return E===m;if($e(E)&&re(E))return E[q]===m})),l(14,U=be(X))),s.$$.dirty[0]&49152|s.$$.dirty[1]&12&&ge&&U&&(U.lengthK?l(15,ge.size=K,ge):l(15,ge.size=U.length,ge))},e=Oe(e),[m,u,c,d,_,b,h,v,A,S,M,Z,q,N,U,ge,Ee,t,o,Te,he,W,Y,y,$e,re,F,Ve,je,Ge,e,r,j,D,K,X,a,Pe,Se,Qe,Xe,i]}class Sr extends ae{constructor(e){super(),fe(this,e,Nr,Dr,ue,{class:1,id:2,label:3,value:0,toggleLabel:4,noResultsText:5,disabled:6,labelHidden:7,options:32,placeholder:8,readonly:9,required:10,leadingIcon:11,optionValueKey:12,optionLabelKey:13,minSize:33,maxSize:34},null,[-1,-1])}}function $l(s){let e,l;return e=new Sr({props:{label:B("namespaces","namespace-label",{namespace:s[2]}),toggleLabel:B("namespaces"),noResultsText:B("no-results"),labelHidden:!0,value:s[2],id:"namespace-switcher",leadingIcon:"namespace-switcher",options:s[1],optionValueKey:"namespace",minSize:32}}),e.$on("change",s[9]),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n&4&&(r.label=B("namespaces","namespace-label",{namespace:t[2]})),n&4&&(r.value=t[2]),n&2&&(r.options=t[1]),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function bl(s){let e,l;return e=new tr({}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function vl(s){let e,l;return e=new bt({props:{$$slots:{default:[qr]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n&16529&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function kl(s){var n;let e,l=((n=s[7])==null?void 0:n.name.trim().charAt(0))+"",t;return{c(){e=z("div"),t=G(l),this.h()},l(r){e=O(r,"DIV",{class:!0});var o=R(e);t=Q(o,l),o.forEach(p),this.h()},h(){k(e,"class","text-center text-sm text-black")},m(r,o){w(r,e,o),V(e,t)},p(r,o){var a;o&128&&l!==(l=((a=r[7])==null?void 0:a.name.trim().charAt(0))+"")&&pe(t,l)},d(r){r&&p(e)}}}function Br(s){var f;let e,l,t,n,r,o,a,i=((f=s[7])==null?void 0:f.name)&&kl(s);return{c(){e=z("img"),n=P(),r=z("div"),i&&i.c(),this.h()},l(u){e=O(u,"IMG",{src:!0,alt:!0,class:!0}),n=H(u),r=O(u,"DIV",{class:!0});var c=R(r);i&&i.l(c),c.forEach(p),this.h()},h(){var u,c;It(e.src,l=(u=s[7])==null?void 0:u.picture)||k(e,"src",l),k(e,"alt",t=((c=s[7])==null?void 0:c.profile)??B("user-profile")),k(e,"class","h-[24px] w-[24px] cursor-pointer rounded-md"),J(e,"hidden",!s[4]),k(r,"class","aspect-square h-full w-[24px] rounded-md bg-blue-200 p-0.5"),J(r,"hidden",s[4])},m(u,c){w(u,e,c),w(u,n,c),w(u,r,c),i&&i.m(r,null),o||(a=ve(e,"error",s[8]),o=!0)},p(u,c){var d,m,_;c&128&&!It(e.src,l=(d=u[7])==null?void 0:d.picture)&&k(e,"src",l),c&128&&t!==(t=((m=u[7])==null?void 0:m.profile)??B("user-profile"))&&k(e,"alt",t),c&16&&J(e,"hidden",!u[4]),(_=u[7])!=null&&_.name?i?i.p(u,c):(i=kl(u),i.c(),i.m(r,null)):i&&(i.d(1),i=null),c&16&&J(r,"hidden",u[4])},d(u){u&&p(e),u&&p(n),u&&p(r),i&&i.d(),o=!1,a()}}}function zr(s){let e=s[7].email+"",l;return{c(){l=G(e)},l(t){l=Q(t,e)},m(t,n){w(t,l,n)},p(t,n){n&128&&e!==(e=t[7].email+"")&&pe(l,e)},d(t){t&&p(l)}}}function Or(s){let e=B("log-out")+"",l;return{c(){l=G(e)},l(t){l=Q(t,e)},m(t,n){w(t,l,n)},p:se,d(t){t&&p(l)}}}function Rr(s){let e,l,t,n;return e=new Ke({props:{disabled:!0,$$slots:{default:[zr]},$$scope:{ctx:s}}}),t=new Ke({props:{$$slots:{default:[Or]},$$scope:{ctx:s}}}),t.$on("click",function(){ht(s[0])&&s[0].apply(this,arguments)}),{c(){C(e.$$.fragment),l=P(),C(t.$$.fragment)},l(r){I(e.$$.fragment,r),l=H(r),I(t.$$.fragment,r)},m(r,o){T(e,r,o),w(r,l,o),T(t,r,o),n=!0},p(r,o){s=r;const a={};o&16512&&(a.$$scope={dirty:o,ctx:s}),e.$set(a);const i={};o&16384&&(i.$$scope={dirty:o,ctx:s}),t.$set(i)},i(r){n||(g(e.$$.fragment,r),g(t.$$.fragment,r),n=!0)},o(r){$(e.$$.fragment,r),$(t.$$.fragment,r),n=!1},d(r){L(e,r),r&&p(l),L(t,r)}}}function qr(s){let e,l,t,n;return e=new Ll({props:{variant:"ghost",hasIndicator:!0,controls:"user-menu",$$slots:{default:[Br]},$$scope:{ctx:s}}}),t=new vt({props:{id:"user-menu",position:"right",$$slots:{default:[Rr]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment),l=P(),C(t.$$.fragment)},l(r){I(e.$$.fragment,r),l=H(r),I(t.$$.fragment,r)},m(r,o){T(e,r,o),w(r,l,o),T(t,r,o),n=!0},p(r,o){const a={};o&16528&&(a.$$scope={dirty:o,ctx:r}),e.$set(a);const i={};o&16513&&(i.$$scope={dirty:o,ctx:r}),t.$set(i)},i(r){n||(g(e.$$.fragment,r),g(t.$$.fragment,r),n=!0)},o(r){$(e.$$.fragment,r),$(t.$$.fragment,r),n=!1},d(r){L(e,r),r&&p(l),L(t,r)}}}function jr(s){let e,l,t,n,r,o,a,i,f,u;pt(s[12]);let c=s[5]&&$l(s);r=new cr({props:{position:s[3]<768?"left":"right"}});let d=s[5]&&bl(),m=s[7].accessToken&&vl(s);return{c(){e=z("nav"),l=z("div"),c&&c.c(),t=P(),n=z("div"),C(r.$$.fragment),o=P(),d&&d.c(),a=P(),m&&m.c(),this.h()},l(_){e=O(_,"NAV",{class:!0,"data-testid":!0,"aria-label":!0});var b=R(e);l=O(b,"DIV",{class:!0});var h=R(l);c&&c.l(h),h.forEach(p),t=H(b),n=O(b,"DIV",{class:!0});var v=R(n);I(r.$$.fragment,v),o=H(v),d&&d.l(v),a=H(v),m&&m.l(v),v.forEach(p),b.forEach(p),this.h()},h(){k(l,"class","flex grow items-center"),k(n,"class","flex items-center gap-2"),k(e,"class","sticky top-0 z-40 flex w-full flex-col items-center justify-end border-b-2 bg-gray-100 p-1 px-4 md:flex-row md:px-8"),k(e,"data-testid","top-nav"),k(e,"aria-label",B("main")),J(e,"bg-red-50",s[6].hasError&&s[5])},m(_,b){w(_,e,b),V(e,l),c&&c.m(l,null),V(e,t),V(e,n),T(r,n,null),V(n,o),d&&d.m(n,null),V(n,a),m&&m.m(n,null),i=!0,f||(u=ve(window,"resize",s[12]),f=!0)},p(_,[b]){_[5]?c?(c.p(_,b),b&32&&g(c,1)):(c=$l(_),c.c(),g(c,1),c.m(l,null)):c&&(ce(),$(c,1,1,()=>{c=null}),de());const h={};b&8&&(h.position=_[3]<768?"left":"right"),r.$set(h),_[5]?d?b&32&&g(d,1):(d=bl(),d.c(),g(d,1),d.m(n,a)):d&&(ce(),$(d,1,1,()=>{d=null}),de()),_[7].accessToken?m?(m.p(_,b),b&128&&g(m,1)):(m=vl(_),m.c(),g(m,1),m.m(n,null)):m&&(ce(),$(m,1,1,()=>{m=null}),de()),(!i||b&96)&&J(e,"bg-red-50",_[6].hasError&&_[5])},i(_){i||(g(c),g(r.$$.fragment,_),g(d),g(m),i=!0)},o(_){$(c),$(r.$$.fragment,_),$(d),$(m),i=!1},d(_){_&&p(e),c&&c.d(),L(r),d&&d.d(),m&&m.d(),f=!1,u()}}}function Ar(s,e,l){let t,n,r,o,a,i,f;oe(s,lt,v=>l(13,o=v)),oe(s,Ae,v=>l(11,a=v)),oe(s,Sl,v=>l(6,i=v)),oe(s,Dl,v=>l(7,f=v));let{logout:u}=e,{namespaceList:c=[]}=e,d,m=!0;function _(){l(4,m=!1)}const b=v=>{const j=v.detail;me(lt,o=j.namespace,o),j==null||j.onClick(j.namespace)};function h(){l(3,d=window.innerWidth)}return s.$$set=v=>{"logout"in v&&l(0,u=v.logout),"namespaceList"in v&&l(1,c=v.namespaceList)},s.$$.update=()=>{s.$$.dirty&2048&&l(2,t=a.params.namespace),s.$$.dirty&2048&&l(10,n=a.url.pathname.split("/")),s.$$.dirty&1028&&l(5,r=t&&(n.includes("workflows")||n.includes("schedules")||n.includes("batch-operations")||n.includes("task-queues")))},[u,c,t,d,m,r,i,f,_,b,n,a,h]}class Pr extends ae{constructor(e){super(),fe(this,e,Ar,jr,ue,{logout:0,namespaceList:1})}}function Hr(s){let e;const l=s[5].default,t=ee(l,s,s[4],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&16)&&te(t,l,n,n[4],e?ne(l,n[4],r,null):le(n[4]),null)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function Mr(s){let e,l,t=s[1].message+"",n,r,o,a,i=(s[2]?s[1].stack:"")+"",f,u;return{c(){e=z("div"),l=z("b"),n=G(t),r=P(),o=z("pre"),a=G(" "),f=G(i),u=G(` + `),this.h()},l(c){e=O(c,"DIV",{class:!0});var d=R(e);l=O(d,"B",{});var m=R(l);n=Q(m,t),m.forEach(p),r=H(d),o=O(d,"PRE",{class:!0});var _=R(o);a=Q(_," "),f=Q(_,i),u=Q(_,` + `),_.forEach(p),d.forEach(p),this.h()},h(){k(o,"class","trace svelte-urrl06"),k(e,"class","error svelte-urrl06")},m(c,d){w(c,e,d),V(e,l),V(l,n),V(e,r),V(e,o),V(o,a),V(o,f),V(o,u)},p(c,d){d&2&&t!==(t=c[1].message+"")&&pe(n,t),d&2&&i!==(i=(c[2]?c[1].stack:"")+"")&&pe(f,i)},i:se,o:se,d(c){c&&p(e)}}}function Fr(s){let e,l,t,n;const r=[Mr,Hr],o=[];function a(i,f){return i[1]?0:1}return e=a(s),l=o[e]=r[e](s),{c(){l.c(),t=ie()},l(i){l.l(i),t=ie()},m(i,f){o[e].m(i,f),w(i,t,f),n=!0},p(i,[f]){let u=e;e=a(i),e===u?o[e].p(i,f):(ce(),$(o[u],1,1,()=>{o[u]=null}),de(),l=o[e],l?l.p(i,f):(l=o[e]=r[e](i),l.c()),g(l,1),l.m(t.parentNode,t))},i(i){n||(g(l),n=!0)},o(i){$(l),n=!1},d(i){o[e].d(i),i&&p(t)}}}function Kr(s,e,l){let t,n=se,r=()=>(n(),n=nt(i,d=>l(1,t=d)),i);s.$$.on_destroy.push(()=>n());let{$$slots:o={},$$scope:a}=e,{error:i=null}=e;r();let{onError:f=null}=e,c=(typeof process<"u"&&process.env&&"production")!=="production";return s.$$set=d=>{"error"in d&&r(l(0,i=d.error)),"onError"in d&&l(3,f=d.onError),"$$scope"in d&&l(4,a=d.$$scope)},s.$$.update=()=>{s.$$.dirty&10&&t&&f&&f(t)},[i,t,c,f,a,o]}class Ur extends ae{constructor(e){super(),fe(this,e,Kr,Fr,ue,{error:0,onError:3})}}const Wr=["c","l","h","m","p","a","i","o","d"];function wt(s){if(s.$$render){let l=s.$$render;return s.$$render=(t,n,r,o)=>{const a=Ue(void 0);try{return l(t,{error:a,...n},r,o)}catch(i){return a.set(i),l(t,{error:a,...n},r,{})}},s}function e(l,t){return function(...r){try{return l(...r)}catch(o){t(o)}}}return class extends s{constructor(t){const n=Ue(void 0);t.props.$$slots.default=t.props.$$slots.default.map(r=>(...o)=>{let i=e(r,n.set)(...o);if(i)for(let f of Wr)i[f]&&(i[f]=e(i[f],n.set));return i}),super(t),this.$$set({error:n})}}}wt(Ur);const Zr=s=>({}),wl=s=>({});function Gr(s){let e;const l=s[3].default,t=ee(l,s,s[2],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&4)&&te(t,l,n,n[2],e?ne(l,n[2],r,null):le(n[2]),null)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function Qr(s){let e;const l=s[3].fallback,t=ee(l,s,s[2],wl),n=t||Xr();return{c(){n&&n.c()},l(r){n&&n.l(r)},m(r,o){n&&n.m(r,o),e=!0},p(r,o){t&&t.p&&(!e||o&4)&&te(t,l,r,r[2],e?ne(l,r[2],o,Zr):le(r[2]),wl)},i(r){e||(g(n,r),e=!0)},o(r){$(n,r),e=!1},d(r){n&&n.d(r)}}}function Xr(s){let e;return{c(){e=G("Error Rendering Component")},l(l){e=Q(l,"Error Rendering Component")},m(l,t){w(l,e,t)},d(l){l&&p(e)}}}function Jr(s){let e,l,t,n;const r=[Qr,Gr],o=[];function a(i,f){return i[1]?0:1}return e=a(s),l=o[e]=r[e](s),{c(){l.c(),t=ie()},l(i){l.l(i),t=ie()},m(i,f){o[e].m(i,f),w(i,t,f),n=!0},p(i,[f]){let u=e;e=a(i),e===u?o[e].p(i,f):(ce(),$(o[u],1,1,()=>{o[u]=null}),de(),l=o[e],l?l.p(i,f):(l=o[e]=r[e](i),l.c()),g(l,1),l.m(t.parentNode,t))},i(i){n||(g(l),n=!0)},o(i){$(l),n=!1},d(i){o[e].d(i),i&&p(t)}}}function Yr(s,e,l){let t,n=se,r=()=>(n(),n=nt(i,f=>l(1,t=f)),i);s.$$.on_destroy.push(()=>n());let{$$slots:o={},$$scope:a}=e,{error:i=null}=e;return r(),s.$$set=f=>{"error"in f&&r(l(0,i=f.error)),"$$scope"in f&&l(2,a=f.$$scope)},[i,t,a,o]}class yr extends ae{constructor(e){super(),fe(this,e,Yr,Jr,ue,{error:0})}}function xr(s){let e;const l=s[7].default,t=ee(l,s,s[6],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&64)&&te(t,l,n,n[6],e?ne(l,n[6],r,null):le(n[6]),null)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function eo(s){let e,l;return e=new ln({props:{error:s[1]}}),e.$on("clearError",s[2]),{c(){C(e.$$.fragment)},l(t){I(e.$$.fragment,t)},m(t,n){T(e,t,n),l=!0},p(t,n){const r={};n&2&&(r.error=t[1]),e.$set(r)},i(t){l||(g(e.$$.fragment,t),l=!0)},o(t){$(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function to(s){let e,l,t,n;const r=[eo,xr],o=[];function a(i,f){return i[1]?0:1}return e=a(s),l=o[e]=r[e](s),{c(){l.c(),t=ie()},l(i){l.l(i),t=ie()},m(i,f){o[e].m(i,f),w(i,t,f),n=!0},p(i,[f]){let u=e;e=a(i),e===u?o[e].p(i,f):(ce(),$(o[u],1,1,()=>{o[u]=null}),de(),l=o[e],l?l.p(i,f):(l=o[e]=r[e](i),l.c()),g(l,1),l.m(t.parentNode,t))},i(i){n||(g(l),n=!0)},o(i){$(l),n=!1},d(i){o[e].d(i),i&&p(t)}}}function lo(s,e,l){let t,n,r=se,o=()=>(r(),r=nt(f,m=>l(5,n=m)),f);oe(s,ot,m=>l(4,t=m)),s.$$.on_destroy.push(()=>r());let{$$slots:a={},$$scope:i}=e,{error:f=null}=e;o();let{onError:u=null}=e,c;function d(){me(f,n=null,n),l(3,u=null),l(1,c=null),me(ot,t=null,t)}return s.$$set=m=>{"error"in m&&o(l(0,f=m.error)),"onError"in m&&l(3,u=m.onError),"$$scope"in m&&l(6,i=m.$$scope)},s.$$.update=()=>{s.$$.dirty&59&&(f&&n&&l(1,c=f),ot&&t&&l(1,c=t),u&&c&&u(c))},[f,c,d,u,t,n,i,a]}class no extends ae{constructor(e){super(),fe(this,e,lo,to,ue,{error:0,onError:3})}}const so=wt(no);wt(yr);function ro(s){let e,l,t,n,r,o;const a=s[4].default,i=ee(a,s,s[3],null);return n=new ct({props:{size:"sm",variant:"secondary",leadingIcon:"arrow-up"}}),n.$on("click",function(){ht(s[1])&&s[1].apply(this,arguments)}),{c(){e=z("div"),i&&i.c(),l=P(),t=z("div"),C(n.$$.fragment),this.h()},l(f){e=O(f,"DIV",{id:!0,class:!0});var u=R(e);i&&i.l(u),l=H(u),t=O(u,"DIV",{class:!0});var c=R(t);I(n.$$.fragment,c),c.forEach(p),u.forEach(p),this.h()},h(){k(t,"class","back-to-top svelte-11aee8w"),J(t,"hidden",s[0]),k(e,"id","scroll-container"),k(e,"class",r=ze(s[2].class)+" svelte-11aee8w")},m(f,u){w(f,e,u),i&&i.m(e,null),V(e,l),V(e,t),T(n,t,null),o=!0},p(f,[u]){s=f,i&&i.p&&(!o||u&8)&&te(i,a,s,s[3],o?ne(a,s[3],u,null):le(s[3]),null),(!o||u&1)&&J(t,"hidden",s[0]),(!o||u&4&&r!==(r=ze(s[2].class)+" svelte-11aee8w"))&&k(e,"class",r)},i(f){o||(g(i,f),g(n.$$.fragment,f),o=!0)},o(f){$(i,f),$(n.$$.fragment,f),o=!1},d(f){f&&p(e),i&&i.d(f),L(n)}}}function oo(s,e,l){let{$$slots:t={},$$scope:n}=e,{hidden:r=!0}=e,{onScrollToTopClick:o}=e;return s.$$set=a=>{l(2,e=we(we({},e),Oe(a))),"hidden"in a&&l(0,r=a.hidden),"onScrollToTopClick"in a&&l(1,o=a.onScrollToTopClick),"$$scope"in a&&l(3,n=a.$$scope)},e=Oe(e),[r,o,e,n,t]}class io extends ae{constructor(e){super(),fe(this,e,oo,ro,ue,{hidden:0,onScrollToTopClick:1})}}const ao=s=>({}),El=s=>({});function fo(s){let e,l,t,n,r,o,a,i;const f=s[3].default,u=ee(f,s,s[2],null),c=s[3].main,d=ee(c,s,s[2],El);return r=new io({props:{hidden:s[0],onScrollToTopClick:mo}}),{c(){e=z("div"),u&&u.c(),l=P(),t=z("main"),d&&d.c(),n=P(),C(r.$$.fragment),this.h()},l(m){e=O(m,"DIV",{id:!0,class:!0});var _=R(e);u&&u.l(_),l=H(_),t=O(_,"MAIN",{id:!0});var b=R(t);d&&d.l(b),b.forEach(p),n=H(_),I(r.$$.fragment,_),_.forEach(p),this.h()},h(){k(t,"id","content"),k(e,"id","content-wrapper"),k(e,"class","relative h-screen w-max flex-auto overflow-auto bg-gray-100")},m(m,_){w(m,e,_),u&&u.m(e,null),V(e,l),V(e,t),d&&d.m(t,null),V(e,n),T(r,e,null),o=!0,a||(i=ve(e,"scroll",s[1]),a=!0)},p(m,[_]){u&&u.p&&(!o||_&4)&&te(u,f,m,m[2],o?ne(f,m[2],_,null):le(m[2]),null),d&&d.p&&(!o||_&4)&&te(d,c,m,m[2],o?ne(c,m[2],_,ao):le(m[2]),El);const b={};_&1&&(b.hidden=m[0]),r.$set(b)},i(m){o||(g(u,m),g(d,m),g(r.$$.fragment,m),o=!0)},o(m){$(u,m),$(d,m),$(r.$$.fragment,m),o=!1},d(m){m&&p(e),u&&u.d(m),d&&d.d(m),L(r),a=!1,i()}}}let uo=150;function co(){return document.getElementById("content-wrapper")}function mo(){var s;(s=co())===null||s===void 0||s.scrollTo(0,0)}function _o(s,e,l){let{$$slots:t={},$$scope:n}=e,r=!0;function o(a){const f=a.target.scrollTop;l(0,r=Boolean(f{"$$scope"in a&&l(2,n=a.$$scope)},[r,o,n,t]}class po extends ae{constructor(e){super(),fe(this,e,_o,fo,ue,{})}}function go(s){let e,l,t,n,r,o,a;const i=s[5].default,f=ee(i,s,s[4],null);return n=new Ze({props:{label:s[2],icon:"close"}}),n.$on("click",s[3]),{c(){e=z("div"),l=z("p"),f&&f.c(),t=P(),C(n.$$.fragment),this.h()},l(u){e=O(u,"DIV",{id:!0,class:!0});var c=R(e);l=O(c,"P",{class:!0});var d=R(l);f&&f.l(d),d.forEach(p),t=H(c),I(n.$$.fragment,c),c.forEach(p),this.h()},h(){k(l,"class","font-secondary text-sm"),k(e,"id",s[0]),k(e,"class",r="flex grow-0 items-center justify-between gap-4 rounded py-3 px-4 shadow "+s[1]+" svelte-19tipv7")},m(u,c){w(u,e,c),V(e,l),f&&f.m(l,null),V(e,t),T(n,e,null),a=!0},p(u,[c]){f&&f.p&&(!a||c&16)&&te(f,i,u,u[4],a?ne(i,u[4],c,null):le(u[4]),null);const d={};c&4&&(d.label=u[2]),n.$set(d),(!a||c&1)&&k(e,"id",u[0]),(!a||c&2&&r!==(r="flex grow-0 items-center justify-between gap-4 rounded py-3 px-4 shadow "+u[1]+" svelte-19tipv7"))&&k(e,"class",r)},i(u){a||(g(f,u),g(n.$$.fragment,u),pt(()=>{o||(o=Tt(e,ut,{x:250},!0)),o.run(1)}),a=!0)},o(u){$(f,u),$(n.$$.fragment,u),o||(o=Tt(e,ut,{x:250},!1)),o.run(0),a=!1},d(u){u&&p(e),f&&f.d(u),L(n),u&&o&&o.end()}}}function ho(s,e,l){let{$$slots:t={},$$scope:n}=e;const r=Tl();let{id:o}=e,{variant:a}=e,{closeButtonLabel:i}=e;const f=()=>{r("dismiss",{id:o})};return s.$$set=u=>{"id"in u&&l(0,o=u.id),"variant"in u&&l(1,a=u.variant),"closeButtonLabel"in u&&l(2,i=u.closeButtonLabel),"$$scope"in u&&l(4,n=u.$$scope)},[o,a,i,f,n,t]}class $o extends ae{constructor(e){super(),fe(this,e,ho,go,ue,{id:0,variant:1,closeButtonLabel:2})}}function Cl(s,e,l){const t=s.slice();return t[5]=e[l].message,t[6]=e[l].variant,t[7]=e[l].id,t}function bo(s){let e=s[5]+"",l,t;return{c(){l=G(e),t=P()},l(n){l=Q(n,e),t=H(n)},m(n,r){w(n,l,r),w(n,t,r)},p(n,r){r&4&&e!==(e=n[5]+"")&&pe(l,e)},d(n){n&&p(l),n&&p(t)}}}function Il(s,e){let l,t,n;return t=new $o({props:{closeButtonLabel:e[1],variant:e[6],id:e[7],$$slots:{default:[bo]},$$scope:{ctx:e}}}),t.$on("dismiss",e[3]),{key:s,first:null,c(){l=ie(),C(t.$$.fragment),this.h()},l(r){l=ie(),I(t.$$.fragment,r),this.h()},h(){this.first=l},m(r,o){w(r,l,o),T(t,r,o),n=!0},p(r,o){e=r;const a={};o&2&&(a.closeButtonLabel=e[1]),o&4&&(a.variant=e[6]),o&4&&(a.id=e[7]),o&1028&&(a.$$scope={dirty:o,ctx:e}),t.$set(a)},i(r){n||(g(t.$$.fragment,r),n=!0)},o(r){$(t.$$.fragment,r),n=!1},d(r){r&&p(l),L(t,r)}}}function vo(s){let e,l=[],t=new Map,n,r=s[2];const o=a=>a[7];for(let a=0;a(n(),n=nt(a,u=>l(2,t=u)),a);s.$$.on_destroy.push(()=>n());let{pop:o}=e,{toasts:a}=e;r();let{closeButtonLabel:i}=e;const f=u=>{o(u.detail.id)};return s.$$set=u=>{"pop"in u&&l(4,o=u.pop),"toasts"in u&&r(l(0,a=u.toasts)),"closeButtonLabel"in u&&l(1,i=u.closeButtonLabel)},[a,i,t,f,o]}class wo extends ae{constructor(e){super(),fe(this,e,ko,vo,ue,{pop:4,toasts:0,closeButtonLabel:1})}}function Eo(s){let e,l,t,n;return e=new wn({}),t=new Pr({props:{logout:s[4],namespaceList:s[1]}}),{c(){C(e.$$.fragment),l=P(),C(t.$$.fragment)},l(r){I(e.$$.fragment,r),l=H(r),I(t.$$.fragment,r)},m(r,o){T(e,r,o),w(r,l,o),T(t,r,o),n=!0},p(r,o){const a={};o&2&&(a.namespaceList=r[1]),t.$set(a)},i(r){n||(g(e.$$.fragment,r),g(t.$$.fragment,r),n=!0)},o(r){$(e.$$.fragment,r),$(t.$$.fragment,r),n=!1},d(r){L(e,r),r&&p(l),L(t,r)}}}function Co(s){let e;const l=s[17].default,t=ee(l,s,s[18],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,r){t&&t.m(n,r),e=!0},p(n,r){t&&t.p&&(!e||r&262144)&&te(t,l,n,n[18],e?ne(l,n[18],r,null):le(n[18]),null)},i(n){e||(g(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function Io(s){let e,l,t;return l=new so({props:{onError:Lo,$$slots:{default:[Co]},$$scope:{ctx:s}}}),{c(){e=z("div"),C(l.$$.fragment),this.h()},l(n){e=O(n,"DIV",{slot:!0,class:!0});var r=R(e);I(l.$$.fragment,r),r.forEach(p),this.h()},h(){k(e,"slot","main"),k(e,"class","flex h-[calc(100%-2.5rem)] w-full flex-col gap-4 p-8")},m(n,r){w(n,e,r),T(l,e,null),t=!0},p(n,r){const o={};r&262144&&(o.$$scope={dirty:r,ctx:n}),l.$set(o)},i(n){t||(g(l.$$.fragment,n),t=!0)},o(n){$(l.$$.fragment,n),t=!1},d(n){n&&p(e),L(l)}}}function To(s){let e,l,t,n,r,o,a,i,f,u;return e=new Fs({}),n=new wo({props:{closeButtonLabel:B("close"),pop:qt.pop,toasts:qt.toasts}}),a=new Ps({props:{activeNamespace:s[3],linkList:s[2],isCloud:s[0]}}),f=new po({props:{$$slots:{main:[Io],default:[Eo]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment),l=P(),t=z("div"),C(n.$$.fragment),r=P(),o=z("div"),C(a.$$.fragment),i=P(),C(f.$$.fragment),this.h()},l(c){I(e.$$.fragment,c),l=H(c),t=O(c,"DIV",{class:!0});var d=R(t);I(n.$$.fragment,d),r=H(d),o=O(d,"DIV",{class:!0});var m=R(o);I(a.$$.fragment,m),m.forEach(p),i=H(d),I(f.$$.fragment,d),d.forEach(p),this.h()},h(){k(o,"class","sticky top-0 z-30 h-screen w-auto"),k(t,"class","flex w-screen flex-row")},m(c,d){T(e,c,d),w(c,l,d),w(c,t,d),T(n,t,null),V(t,r),V(t,o),T(a,o,null),V(t,i),T(f,t,null),u=!0},p(c,[d]){const m={};d&8&&(m.activeNamespace=c[3]),d&4&&(m.linkList=c[2]),d&1&&(m.isCloud=c[0]),a.$set(m);const _={};d&262146&&(_.$$scope={dirty:d,ctx:c}),f.$set(_)},i(c){u||(g(e.$$.fragment,c),g(n.$$.fragment,c),g(a.$$.fragment,c),g(f.$$.fragment,c),u=!0)},o(c){$(e.$$.fragment,c),$(n.$$.fragment,c),$(a.$$.fragment,c),$(f.$$.fragment,c),u=!1},d(c){L(e,c),c&&p(l),c&&p(t),L(n),L(a),L(f)}}}const Lo=()=>{};function Vo(s,e,l){let t,n,r,o,a,i,f,u;oe(s,Ae,q=>l(14,i=q)),oe(s,lt,q=>l(15,f=q)),oe(s,tn,q=>l(16,u=q));let{$$slots:c={},$$scope:d}=e;var m,_,b,h,v,j,A;let S;function M(q){const N=[{subPath:"schedules",fullRoute:jt({namespace:q})},{subPath:"batch-operations",fullRoute:At({namespace:q})}];for(const{subPath:D,fullRoute:K}of N)if(i.url.pathname.endsWith(D))return K;return xe({namespace:q})}const Z=()=>{Yl(),Lt(on())};return Hl.subscribe(async q=>{q&&window.location.reload()}),Pl(()=>{var q;(q=document.getElementById("content"))===null||q===void 0||q.scrollTo(0,0)}),s.$$set=q=>{"$$scope"in q&&l(18,d=q.$$scope)},s.$$.update=()=>{s.$$.dirty&16608&&l(0,t=l(7,b=l(6,_=l(5,m=i.data)===null||m===void 0?void 0:m.settings)===null||_===void 0?void 0:_.runtimeEnvironment)===null||b===void 0?void 0:b.isCloud),s.$$.dirty&81921&&l(13,o=t?[i.params.namespace]:u.map(q=>{var N;return(N=q==null?void 0:q.namespaceInfo)===null||N===void 0?void 0:N.name})),s.$$.dirty&8193&&l(1,S=o.map(q=>{const N=D=>t?xe({namespace:D}):M(D);return{namespace:q,onClick:D=>{me(lt,f=D,f),Lt(N(D))}}})),s.$$.dirty&49920&&l(12,n=l(9,v=l(8,h=i.params)===null||h===void 0?void 0:h.namespace)!==null&&v!==void 0?v:f),s.$$.dirty&69632&&l(3,r=u.find(q=>{var N;return((N=q==null?void 0:q.namespaceInfo)===null||N===void 0?void 0:N.name)===n})),s.$$.dirty&23552&&l(2,a={home:xe({namespace:n}),archive:nn({namespace:n}),namespaces:sn(),schedules:jt({namespace:n}),workflows:xe({namespace:n}),batchOperations:At({namespace:n}),import:rn(),feedback:(l(11,A=l(10,j=i.data)===null||j===void 0?void 0:j.settings)===null||A===void 0?void 0:A.feedbackURL)||"https://github.com/temporalio/ui/issues/new/choose"})},[t,S,a,r,Z,m,_,b,h,v,j,A,n,o,i,f,u,c,d]}class ii extends ae{constructor(e){super(),fe(this,e,Vo,To,ue,{})}}export{ii as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-layout.ts.97c38b63.js b/ui/assets/local/_app/immutable/entry/(app)-layout.ts.97c38b63.js deleted file mode 100644 index 6a55327520..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-layout.ts.97c38b63.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/index.b1f5b21f.js";import{l as d}from"../chunks/_layout.5c7b43d0.js";import"../chunks/namespaces-service.5f534be1.js";import"../chunks/settings-service.1e982d61.js";import"../chunks/auth-user.f0bc59ab.js";import"../chunks/route-for.3b55a4c6.js";/* empty css */export{d as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-layout.ts.f9a51073.js b/ui/assets/local/_app/immutable/entry/(app)-layout.ts.f9a51073.js new file mode 100644 index 0000000000..3370bbb184 --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(app)-layout.ts.f9a51073.js @@ -0,0 +1 @@ +import"../chunks/index.b1f5b21f.js";import{l as d}from"../chunks/_layout.97f21994.js";import"../chunks/namespaces-service.5add732a.js";import"../chunks/settings-service.8df029a6.js";import"../chunks/auth-user.051e0dee.js";import"../chunks/route-for.d76d8056.js";/* empty css */export{d as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.svelte.e4b2f32a.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.svelte.53f62b49.js similarity index 97% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.svelte.e4b2f32a.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.svelte.53f62b49.js index eec43a2629..ecaff74fe9 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.svelte.e4b2f32a.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.svelte.53f62b49.js @@ -1 +1 @@ -import{S as U,b as K,a as M,m as q,w as N,c as F,C as P,p as L,q as j,x as C,k as d,d as A,D as S,u as v,f as w,L as y,E as I,_ as R,Q as X,$ as pe,y as me,j as g,g as b,F as T,r as _e,K as V,V as $e,z as O,h as Q,n as W,A as he,a0 as de,a1 as ge,e as B,a7 as ce,aa as be,ab as ke}from"../chunks/index.09834243.js";import{p as G}from"../chunks/stores.9d4a2bb0.js";import{P as we}from"../chunks/page-title.34fd480b.js";import{j as ve,S as ye,W as Ee,a as Pe}from"../chunks/index.6463bb02.js";import{C as J}from"../chunks/code-block.5b4e5d21.js";import{E as Se}from"../chunks/empty-state.aea525ff.js";import{F as Y,P as Ie}from"../chunks/pagination.3eb97d83.js";import{t as k}from"../chunks/translate.0a219ae4.js";import{g as Z}from"../chunks/navigation.8b74a406.js";import{L as ue}from"../chunks/link.4944a6a5.js";import{S as Te,a as H}from"../chunks/simple-select.1c5b21bd.js";import{t as x}from"../chunks/format-date.71526e4c.js";import{u as ee}from"../chunks/format-time.650b834b.js";import{I as Ne}from"../chunks/icon.3cd9fa27.js";import{u as Ce}from"../chunks/update-query-parameters.b3356c21.js";function Fe(c){let t,r,e,l,f,o,a,n,m,i,$;return o=new Ne({props:{name:"search",class:"flex items-center text-gray-700"}}),{c(){t=q("div"),r=q("label"),e=N(c[0]),l=F(),f=q("span"),P(o.$$.fragment),a=F(),n=q("input"),this.h()},l(u){t=L(u,"DIV",{class:!0});var h=j(t);r=L(h,"LABEL",{for:!0,class:!0});var _=j(r);e=C(_,c[0]),_.forEach(d),l=A(h),f=L(h,"SPAN",{class:!0});var s=j(f);S(o.$$.fragment,s),s.forEach(d),a=A(h),n=L(h,"INPUT",{type:!0,class:!0,placeholder:!0,id:!0}),h.forEach(d),this.h()},h(){v(r,"for",c[2]),v(r,"class","hidden"),v(f,"class","svelte-fxm0nn"),v(n,"type","search"),v(n,"class","block w-full focus:outline-none"),v(n,"placeholder",c[0]),v(n,"id",c[2]),v(t,"class","input-container bg-white focus-within:border-blue-700 svelte-fxm0nn")},m(u,h){w(u,t,h),y(t,r),y(r,e),y(t,l),y(t,f),I(o,f,null),y(t,a),y(t,n),R(n,c[1]),m=!0,i||($=[X(n,"input",c[7]),X(n,"keydown",pe(c[6]))],i=!0)},p(u,[h]){(!m||h&1)&&me(e,u[0]),(!m||h&1)&&v(n,"placeholder",u[0]),h&2&&R(n,u[1])},i(u){m||(g(o.$$.fragment,u),m=!0)},o(u){b(o.$$.fragment,u),m=!1},d(u){u&&d(t),T(o),i=!1,_e($)}}}function Ae(c,t,r){let e;V(c,G,u=>r(5,e=u));let{parameter:l}=t,{name:f}=t,{value:o}=t,a=l&&e.url.searchParams.get(l)||o;const n=`${l||f}-filter`,m=ve(Ce,300);function i(u){$e.call(this,c,u)}function $(){a=this.value,r(1,a)}return c.$$set=u=>{"parameter"in u&&r(3,l=u.parameter),"name"in u&&r(0,f=u.name),"value"in u&&r(4,o=u.value)},c.$$.update=()=>{c.$$.dirty&42&&m({parameter:l,value:a,url:e.url})},[f,a,n,l,o,e,i,$]}class te extends U{constructor(t){super(),K(this,t,Ae,Fe,M,{parameter:3,name:0,value:4})}}function le(c,t,r){const e=c.slice();return e[7]=t[r].value,e[8]=t[r].label,e}function re(c,t,r){const e=c.slice();return e[7]=t[r],e}function qe(c){let t,r;return t=new ue({props:{class:"text-blue-700",$$slots:{default:[je]},$$scope:{ctx:c}}}),t.$on("click",c[5]("advanced")),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const f={};l&8192&&(f.$$scope={dirty:l,ctx:e}),t.$set(f)},i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function Le(c){let t,r;return t=new ue({props:{href:c[1].url.pathname,$$slots:{default:[Be]},$$scope:{ctx:c}}}),t.$on("click",c[5]("basic")),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const f={};l&2&&(f.href=e[1].url.pathname),l&8192&&(f.$$scope={dirty:l,ctx:e}),t.$set(f)},i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function je(c){let t=k("workflows","advanced-search")+"",r;return{c(){r=N(t)},l(e){r=C(e,t)},m(e,l){w(e,r,l)},p:W,d(e){e&&d(r)}}}function Be(c){let t=k("workflows","basic-search")+"",r;return{c(){r=N(t)},l(e){r=C(e,t)},m(e,l){w(e,r,l)},p:W,d(e){e&&d(r)}}}function De(c){let t,r,e,l,f,o,a,n,m,i,$,u;r=new te({props:{parameter:"workflow-id",name:k("workflow-id"),value:Je}}),l=new te({props:{parameter:"workflow-type",name:k("workflow-type"),value:Re}}),o=new Y({props:{label:k("workflows","time-range"),parameter:"time-range",value:"24 hours",$$slots:{default:[We]},$$scope:{ctx:c}}}),n=new Y({props:{label:k("status"),parameter:"status",value:null,$$slots:{default:[Ve]},$$scope:{ctx:c}}});function h(s){c[6](s)}let _={id:"filter-by-relative-time",$$slots:{default:[Me]},$$scope:{ctx:c}};return c[2]!==void 0&&(_.value=c[2]),i=new Te({props:_}),he.push(()=>de(i,"value",h)),{c(){t=q("div"),P(r.$$.fragment),e=F(),P(l.$$.fragment),f=F(),P(o.$$.fragment),a=F(),P(n.$$.fragment),m=F(),P(i.$$.fragment),this.h()},l(s){t=L(s,"DIV",{class:!0,role:!0});var p=j(t);S(r.$$.fragment,p),e=A(p),S(l.$$.fragment,p),f=A(p),S(o.$$.fragment,p),a=A(p),S(n.$$.fragment,p),m=A(p),S(i.$$.fragment,p),p.forEach(d),this.h()},h(){v(t,"class","grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-5"),v(t,"role","search")},m(s,p){w(s,t,p),I(r,t,null),y(t,e),I(l,t,null),y(t,f),I(o,t,null),y(t,a),I(n,t,null),y(t,m),I(i,t,null),u=!0},p(s,p){const E={};p&8192&&(E.$$scope={dirty:p,ctx:s}),o.$set(E);const D={};p&8192&&(D.$$scope={dirty:p,ctx:s}),n.$set(D);const z={};p&8192&&(z.$$scope={dirty:p,ctx:s}),!$&&p&4&&($=!0,z.value=s[2],ge(()=>$=!1)),i.$set(z)},i(s){u||(g(r.$$.fragment,s),g(l.$$.fragment,s),g(o.$$.fragment,s),g(n.$$.fragment,s),g(i.$$.fragment,s),u=!0)},o(s){b(r.$$.fragment,s),b(l.$$.fragment,s),b(o.$$.fragment,s),b(n.$$.fragment,s),b(i.$$.fragment,s),u=!1},d(s){s&&d(t),T(r),T(l),T(o),T(n),T(i)}}}function Oe(c){let t,r;return t=new ye({props:{icon:!0,placeholder:k("search"),value:c[1].url.searchParams.get("query")}}),t.$on("submit",c[4]),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const f={};l&2&&(f.value=e[1].url.searchParams.get("query")),t.$set(f)},i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function Qe(c){let t=c[7]+"",r;return{c(){r=N(t)},l(e){r=C(e,t)},m(e,l){w(e,r,l)},p:W,d(e){e&&d(r)}}}function ae(c){let t,r;return t=new H({props:{value:c[7],$$slots:{default:[Qe]},$$scope:{ctx:c}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const f={};l&8192&&(f.$$scope={dirty:l,ctx:e}),t.$set(f)},i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function We(c){let t,r,e=ee,l=[];for(let o=0;ob(l[o],1,1,()=>{l[o]=null});return{c(){for(let o=0;oa[8];for(let a=0;a{i[E]=null}),Q(),l=i[e],l?l.p(s,p):(l=i[e]=m[e](s),l.c()),g(l,1),l.m(r,null));let D=o;o=_(s),o===D?h[o].p(s,p):(O(),b(h[D],1,1,()=>{h[D]=null}),Q(),a=h[o],a?a.p(s,p):(a=h[o]=u[o](s),a.c()),g(a,1),a.m(t,null))},i(s){n||(g(l),g(a),n=!0)},o(s){b(l),b(a),n=!1},d(s){s&&d(t),i[e].d(),h[o].d()}}}let Je="",Re="";function Xe(c,t,r){let e,l;V(c,G,i=>r(1,e=i)),V(c,x,i=>r(2,l=i));const f={All:{value:null,label:k("workflows","all-statuses")},"Timed Out":{value:"TimedOut",label:k("workflows","timed-out")},Completed:{value:"Completed",label:k("workflows","completed")},Failed:{value:"Failed",label:k("workflows","failed")},"Continued as New":{value:"ContinuedAsNew",label:k("workflows","continued-as-new")},Canceled:{value:"Canceled",label:k("workflows","canceled")},Terminated:{value:"Terminated",label:k("workflows","terminated")}};let o=e.url.searchParams.has("query");const a=i=>{const u=new FormData(i.target).get("query");e.url.searchParams.set("query",String(u)),Z(e.url.toString())},n=i=>$=>{const u=$.target;r(0,o=i==="advanced"),o||e.url.searchParams.delete("query"),Z(u.href)};function m(i){l=i,x.set(l)}return[o,e,l,f,a,n,m]}class Ye extends U{constructor(t){super(),K(this,t,Xe,Ge,M,{})}}function oe(c,t,r){const e=c.slice();return e[8]=t[r],e}function Ze(c){let t,r=k("workflows","archival-disabled-title")+"",e,l,f,o=k("workflows","archival-disabled-details")+"",a,n,m,i,$,u,h;i=new J({props:{content:`temporal operator namespace update --history-archival-state enabled ${c[4]}`,language:"text",inline:!0,copyIconTitle:k("copy-icon-title"),copySuccessIconTitle:k("copy-success-icon-title")}});let _=!c[1]&&se(c);return{c(){t=q("h1"),e=N(r),l=F(),f=q("p"),a=N(o),n=N(":"),m=F(),P(i.$$.fragment),$=F(),_&&_.c(),u=B(),this.h()},l(s){t=L(s,"H1",{class:!0,"data-testid":!0});var p=j(t);e=C(p,r),p.forEach(d),l=A(s),f=L(s,"P",{});var E=j(f);a=C(E,o),n=C(E,":"),E.forEach(d),m=A(s),S(i.$$.fragment,s),$=A(s),_&&_.l(s),u=B(),this.h()},h(){v(t,"class","text-2xl"),v(t,"data-testid","archived-disabled-title")},m(s,p){w(s,t,p),y(t,e),w(s,l,p),w(s,f,p),y(f,a),y(f,n),w(s,m,p),I(i,s,p),w(s,$,p),_&&_.m(s,p),w(s,u,p),h=!0},p(s,p){const E={};p&16&&(E.content=`temporal operator namespace update --history-archival-state enabled ${s[4]}`),i.$set(E),s[1]?_&&(O(),b(_,1,1,()=>{_=null}),Q()):_?(_.p(s,p),p&2&&g(_,1)):(_=se(s),_.c(),g(_,1),_.m(u.parentNode,u))},i(s){h||(g(i.$$.fragment,s),g(_),h=!0)},o(s){b(i.$$.fragment,s),b(_),h=!1},d(s){s&&d(t),s&&d(l),s&&d(f),s&&d(m),T(i,s),s&&d($),_&&_.d(s),s&&d(u)}}}function xe(c){let t,r=k("workflows","visibility-disabled-archival")+"",e,l,f,o=k("workflows","archival-link-preface")+"",a,n,m=k("workflows","archival-link")+"",i,$,u,h,_;return h=new J({props:{content:`temporal operator namespace update --visibility-archival-state enabled ${c[4]}`,language:"text",inline:!0,copyIconTitle:k("copy-icon-title"),copySuccessIconTitle:k("copy-success-icon-title")}}),{c(){t=q("h1"),e=N(r),l=F(),f=q("p"),a=N(o),n=q("a"),i=N(m),$=N(":"),u=F(),P(h.$$.fragment),this.h()},l(s){t=L(s,"H1",{class:!0,"data-testid":!0});var p=j(t);e=C(p,r),p.forEach(d),l=A(s),f=L(s,"P",{});var E=j(f);a=C(E,o),n=L(E,"A",{class:!0,href:!0,target:!0,rel:!0});var D=j(n);i=C(D,m),D.forEach(d),$=C(E,":"),E.forEach(d),u=A(s),S(h.$$.fragment,s),this.h()},h(){v(t,"class","text-2xl"),v(t,"data-testid","visibility-disabled-title"),v(n,"class","text-blue-700 underline"),v(n,"href","https://docs.temporal.io/clusters#archival"),v(n,"target","_blank"),v(n,"rel","noreferrer")},m(s,p){w(s,t,p),y(t,e),w(s,l,p),w(s,f,p),y(f,a),y(f,n),y(n,i),y(f,$),w(s,u,p),I(h,s,p),_=!0},p(s,p){const E={};p&16&&(E.content=`temporal operator namespace update --visibility-archival-state enabled ${s[4]}`),h.$set(E)},i(s){_||(g(h.$$.fragment,s),_=!0)},o(s){b(h.$$.fragment,s),_=!1},d(s){s&&d(t),s&&d(l),s&&d(f),s&&d(u),T(h,s)}}}function et(c){let t,r=k("workflows","archived-workflows")+"",e,l,f,o,a,n,m,i=!c[0]&&fe();const $=[lt,tt],u=[];function h(_,s){var p;return(p=_[3])!=null&&p.length?0:1}return o=h(c),a=u[o]=$[o](c),{c(){t=q("h1"),e=N(r),l=F(),i&&i.c(),f=F(),a.c(),n=B(),this.h()},l(_){t=L(_,"H1",{class:!0,"data-testid":!0});var s=j(t);e=C(s,r),s.forEach(d),l=A(_),i&&i.l(_),f=A(_),a.l(_),n=B(),this.h()},h(){v(t,"class","text-2xl"),v(t,"data-testid","archived-enabled-title")},m(_,s){w(_,t,s),y(t,e),w(_,l,s),i&&i.m(_,s),w(_,f,s),u[o].m(_,s),w(_,n,s),m=!0},p(_,s){_[0]?i&&(O(),b(i,1,1,()=>{i=null}),Q()):i?s&1&&g(i,1):(i=fe(),i.c(),g(i,1),i.m(f.parentNode,f));let p=o;o=h(_),o===p?u[o].p(_,s):(O(),b(u[p],1,1,()=>{u[p]=null}),Q(),a=u[o],a?a.p(_,s):(a=u[o]=$[o](_),a.c()),g(a,1),a.m(n.parentNode,n))},i(_){m||(g(i),g(a),m=!0)},o(_){b(i),b(a),m=!1},d(_){_&&d(t),_&&d(l),i&&i.d(_),_&&d(f),u[o].d(_),_&&d(n)}}}function se(c){let t,r=k("workflows","archival-link-preface")+"",e,l,f=k("workflows","archival-link")+"",o,a,n,m,i;return m=new J({props:{content:`temporal operator namespace update --visibility-archival-state enabled ${c[4]}`,language:"text",inline:!0,copyIconTitle:k("copy-icon-title"),copySuccessIconTitle:k("copy-success-icon-title")}}),{c(){t=q("p"),e=N(r),l=q("a"),o=N(f),a=N(":"),n=F(),P(m.$$.fragment),this.h()},l($){t=L($,"P",{});var u=j(t);e=C(u,r),l=L(u,"A",{class:!0,href:!0,target:!0,rel:!0});var h=j(l);o=C(h,f),h.forEach(d),a=C(u,":"),u.forEach(d),n=A($),S(m.$$.fragment,$),this.h()},h(){v(l,"class","text-blue-700 underline"),v(l,"href","https://docs.temporal.io/clusters#archival"),v(l,"target","_blank"),v(l,"rel","noreferrer")},m($,u){w($,t,u),y(t,e),y(t,l),y(l,o),y(t,a),w($,n,u),I(m,$,u),i=!0},p($,u){const h={};u&16&&(h.content=`temporal operator namespace update --visibility-archival-state enabled ${$[4]}`),m.$set(h)},i($){i||(g(m.$$.fragment,$),i=!0)},o($){b(m.$$.fragment,$),i=!1},d($){$&&d(t),$&&d(n),T(m,$)}}}function fe(c){let t,r;return t=new Ye({}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function tt(c){let t,r;return t=new Se({props:{title:k("workflows","workflow-empty-state-title"),content:k("workflows","archival-empty-state-description")}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p:W,i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function lt(c){let t,r;return t=new Ie({props:{items:c[3],"aria-label":k("workflows","archived-workflows"),pageSizeSelectLabel:k("per-page"),previousButtonLabel:k("previous"),nextButtonLabel:k("next"),$$slots:{default:[at,({visibleItems:e})=>({7:e}),({visibleItems:e})=>e?128:0]},$$scope:{ctx:c}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const f={};l&8&&(f.items=e[3]),l&2192&&(f.$$scope={dirty:l,ctx:e}),t.$set(f)},i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function ie(c){let t,r;return t=new Pe({props:{workflow:c[8],namespace:c[4]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const f={};l&128&&(f.workflow=e[8]),l&16&&(f.namespace=e[4]),t.$set(f)},i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function rt(c){let t,r,e=c[7],l=[];for(let o=0;ob(l[o],1,1,()=>{l[o]=null});return{c(){for(let o=0;o{n[h]=null}),Q(),l=n[e],l?l.p(i,$):(l=n[e]=a[e](i),l.c()),g(l,1),l.m(f.parentNode,f))},i(i){o||(g(t.$$.fragment,i),g(l),o=!0)},o(i){b(t.$$.fragment,i),b(l),o=!1},d(i){T(t,i),i&&d(r),n[e].d(i),i&&d(f)}}}function ot(c,t,r){let e,l,f,o,a,n;V(c,G,i=>r(5,n=i));let{data:m}=t;return c.$$set=i=>{"data"in i&&r(6,m=i.data)},c.$$.update=()=>{c.$$.dirty&64&&r(4,{namespace:{namespaceInfo:{name:e}},workflows:l,archivalEnabled:f,visibilityArchivalEnabled:o,archivalQueryingNotSupported:a}=m,e,(r(3,l),r(6,m)),(r(2,f),r(6,m)),(r(1,o),r(6,m)),(r(0,a),r(6,m)))},[a,o,f,l,e,n,m]}class vt extends U{constructor(t){super(),K(this,t,ot,nt,M,{data:6})}}export{vt as default}; +import{S as U,b as K,a as M,m as q,w as N,c as F,C as P,p as L,q as j,x as C,k as d,d as A,D as S,u as v,f as w,L as y,E as I,_ as R,Q as X,$ as pe,y as me,j as g,g as b,F as T,r as _e,K as V,V as $e,z as O,h as Q,n as W,A as he,a0 as de,a1 as ge,e as B,a7 as ce,aa as be,ab as ke}from"../chunks/index.09834243.js";import{p as G}from"../chunks/stores.cd833532.js";import{P as we}from"../chunks/page-title.34fd480b.js";import{j as ve,S as ye,W as Ee,a as Pe}from"../chunks/index.44f123ef.js";import{C as J}from"../chunks/code-block.797d93a9.js";import{E as Se}from"../chunks/empty-state.aea525ff.js";import{F as Y,P as Ie}from"../chunks/pagination.6f99836b.js";import{t as k}from"../chunks/translate.0a219ae4.js";import{g as Z}from"../chunks/navigation.3b6dd1c7.js";import{L as ue}from"../chunks/link.7cb1390a.js";import{S as Te,a as H}from"../chunks/simple-select.1c5b21bd.js";import{t as x}from"../chunks/format-date.79f77cbf.js";import{u as ee}from"../chunks/format-time.650b834b.js";import{I as Ne}from"../chunks/icon.3cd9fa27.js";import{u as Ce}from"../chunks/update-query-parameters.016c7f2f.js";function Fe(c){let t,r,e,l,f,o,a,n,m,i,$;return o=new Ne({props:{name:"search",class:"flex items-center text-gray-700"}}),{c(){t=q("div"),r=q("label"),e=N(c[0]),l=F(),f=q("span"),P(o.$$.fragment),a=F(),n=q("input"),this.h()},l(u){t=L(u,"DIV",{class:!0});var h=j(t);r=L(h,"LABEL",{for:!0,class:!0});var _=j(r);e=C(_,c[0]),_.forEach(d),l=A(h),f=L(h,"SPAN",{class:!0});var s=j(f);S(o.$$.fragment,s),s.forEach(d),a=A(h),n=L(h,"INPUT",{type:!0,class:!0,placeholder:!0,id:!0}),h.forEach(d),this.h()},h(){v(r,"for",c[2]),v(r,"class","hidden"),v(f,"class","svelte-fxm0nn"),v(n,"type","search"),v(n,"class","block w-full focus:outline-none"),v(n,"placeholder",c[0]),v(n,"id",c[2]),v(t,"class","input-container bg-white focus-within:border-blue-700 svelte-fxm0nn")},m(u,h){w(u,t,h),y(t,r),y(r,e),y(t,l),y(t,f),I(o,f,null),y(t,a),y(t,n),R(n,c[1]),m=!0,i||($=[X(n,"input",c[7]),X(n,"keydown",pe(c[6]))],i=!0)},p(u,[h]){(!m||h&1)&&me(e,u[0]),(!m||h&1)&&v(n,"placeholder",u[0]),h&2&&R(n,u[1])},i(u){m||(g(o.$$.fragment,u),m=!0)},o(u){b(o.$$.fragment,u),m=!1},d(u){u&&d(t),T(o),i=!1,_e($)}}}function Ae(c,t,r){let e;V(c,G,u=>r(5,e=u));let{parameter:l}=t,{name:f}=t,{value:o}=t,a=l&&e.url.searchParams.get(l)||o;const n=`${l||f}-filter`,m=ve(Ce,300);function i(u){$e.call(this,c,u)}function $(){a=this.value,r(1,a)}return c.$$set=u=>{"parameter"in u&&r(3,l=u.parameter),"name"in u&&r(0,f=u.name),"value"in u&&r(4,o=u.value)},c.$$.update=()=>{c.$$.dirty&42&&m({parameter:l,value:a,url:e.url})},[f,a,n,l,o,e,i,$]}class te extends U{constructor(t){super(),K(this,t,Ae,Fe,M,{parameter:3,name:0,value:4})}}function le(c,t,r){const e=c.slice();return e[7]=t[r].value,e[8]=t[r].label,e}function re(c,t,r){const e=c.slice();return e[7]=t[r],e}function qe(c){let t,r;return t=new ue({props:{class:"text-blue-700",$$slots:{default:[je]},$$scope:{ctx:c}}}),t.$on("click",c[5]("advanced")),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const f={};l&8192&&(f.$$scope={dirty:l,ctx:e}),t.$set(f)},i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function Le(c){let t,r;return t=new ue({props:{href:c[1].url.pathname,$$slots:{default:[Be]},$$scope:{ctx:c}}}),t.$on("click",c[5]("basic")),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const f={};l&2&&(f.href=e[1].url.pathname),l&8192&&(f.$$scope={dirty:l,ctx:e}),t.$set(f)},i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function je(c){let t=k("workflows","advanced-search")+"",r;return{c(){r=N(t)},l(e){r=C(e,t)},m(e,l){w(e,r,l)},p:W,d(e){e&&d(r)}}}function Be(c){let t=k("workflows","basic-search")+"",r;return{c(){r=N(t)},l(e){r=C(e,t)},m(e,l){w(e,r,l)},p:W,d(e){e&&d(r)}}}function De(c){let t,r,e,l,f,o,a,n,m,i,$,u;r=new te({props:{parameter:"workflow-id",name:k("workflow-id"),value:Je}}),l=new te({props:{parameter:"workflow-type",name:k("workflow-type"),value:Re}}),o=new Y({props:{label:k("workflows","time-range"),parameter:"time-range",value:"24 hours",$$slots:{default:[We]},$$scope:{ctx:c}}}),n=new Y({props:{label:k("status"),parameter:"status",value:null,$$slots:{default:[Ve]},$$scope:{ctx:c}}});function h(s){c[6](s)}let _={id:"filter-by-relative-time",$$slots:{default:[Me]},$$scope:{ctx:c}};return c[2]!==void 0&&(_.value=c[2]),i=new Te({props:_}),he.push(()=>de(i,"value",h)),{c(){t=q("div"),P(r.$$.fragment),e=F(),P(l.$$.fragment),f=F(),P(o.$$.fragment),a=F(),P(n.$$.fragment),m=F(),P(i.$$.fragment),this.h()},l(s){t=L(s,"DIV",{class:!0,role:!0});var p=j(t);S(r.$$.fragment,p),e=A(p),S(l.$$.fragment,p),f=A(p),S(o.$$.fragment,p),a=A(p),S(n.$$.fragment,p),m=A(p),S(i.$$.fragment,p),p.forEach(d),this.h()},h(){v(t,"class","grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-5"),v(t,"role","search")},m(s,p){w(s,t,p),I(r,t,null),y(t,e),I(l,t,null),y(t,f),I(o,t,null),y(t,a),I(n,t,null),y(t,m),I(i,t,null),u=!0},p(s,p){const E={};p&8192&&(E.$$scope={dirty:p,ctx:s}),o.$set(E);const D={};p&8192&&(D.$$scope={dirty:p,ctx:s}),n.$set(D);const z={};p&8192&&(z.$$scope={dirty:p,ctx:s}),!$&&p&4&&($=!0,z.value=s[2],ge(()=>$=!1)),i.$set(z)},i(s){u||(g(r.$$.fragment,s),g(l.$$.fragment,s),g(o.$$.fragment,s),g(n.$$.fragment,s),g(i.$$.fragment,s),u=!0)},o(s){b(r.$$.fragment,s),b(l.$$.fragment,s),b(o.$$.fragment,s),b(n.$$.fragment,s),b(i.$$.fragment,s),u=!1},d(s){s&&d(t),T(r),T(l),T(o),T(n),T(i)}}}function Oe(c){let t,r;return t=new ye({props:{icon:!0,placeholder:k("search"),value:c[1].url.searchParams.get("query")}}),t.$on("submit",c[4]),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const f={};l&2&&(f.value=e[1].url.searchParams.get("query")),t.$set(f)},i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function Qe(c){let t=c[7]+"",r;return{c(){r=N(t)},l(e){r=C(e,t)},m(e,l){w(e,r,l)},p:W,d(e){e&&d(r)}}}function ae(c){let t,r;return t=new H({props:{value:c[7],$$slots:{default:[Qe]},$$scope:{ctx:c}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const f={};l&8192&&(f.$$scope={dirty:l,ctx:e}),t.$set(f)},i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function We(c){let t,r,e=ee,l=[];for(let o=0;ob(l[o],1,1,()=>{l[o]=null});return{c(){for(let o=0;oa[8];for(let a=0;a{i[E]=null}),Q(),l=i[e],l?l.p(s,p):(l=i[e]=m[e](s),l.c()),g(l,1),l.m(r,null));let D=o;o=_(s),o===D?h[o].p(s,p):(O(),b(h[D],1,1,()=>{h[D]=null}),Q(),a=h[o],a?a.p(s,p):(a=h[o]=u[o](s),a.c()),g(a,1),a.m(t,null))},i(s){n||(g(l),g(a),n=!0)},o(s){b(l),b(a),n=!1},d(s){s&&d(t),i[e].d(),h[o].d()}}}let Je="",Re="";function Xe(c,t,r){let e,l;V(c,G,i=>r(1,e=i)),V(c,x,i=>r(2,l=i));const f={All:{value:null,label:k("workflows","all-statuses")},"Timed Out":{value:"TimedOut",label:k("workflows","timed-out")},Completed:{value:"Completed",label:k("workflows","completed")},Failed:{value:"Failed",label:k("workflows","failed")},"Continued as New":{value:"ContinuedAsNew",label:k("workflows","continued-as-new")},Canceled:{value:"Canceled",label:k("workflows","canceled")},Terminated:{value:"Terminated",label:k("workflows","terminated")}};let o=e.url.searchParams.has("query");const a=i=>{const u=new FormData(i.target).get("query");e.url.searchParams.set("query",String(u)),Z(e.url.toString())},n=i=>$=>{const u=$.target;r(0,o=i==="advanced"),o||e.url.searchParams.delete("query"),Z(u.href)};function m(i){l=i,x.set(l)}return[o,e,l,f,a,n,m]}class Ye extends U{constructor(t){super(),K(this,t,Xe,Ge,M,{})}}function oe(c,t,r){const e=c.slice();return e[8]=t[r],e}function Ze(c){let t,r=k("workflows","archival-disabled-title")+"",e,l,f,o=k("workflows","archival-disabled-details")+"",a,n,m,i,$,u,h;i=new J({props:{content:`temporal operator namespace update --history-archival-state enabled ${c[4]}`,language:"text",inline:!0,copyIconTitle:k("copy-icon-title"),copySuccessIconTitle:k("copy-success-icon-title")}});let _=!c[1]&&se(c);return{c(){t=q("h1"),e=N(r),l=F(),f=q("p"),a=N(o),n=N(":"),m=F(),P(i.$$.fragment),$=F(),_&&_.c(),u=B(),this.h()},l(s){t=L(s,"H1",{class:!0,"data-testid":!0});var p=j(t);e=C(p,r),p.forEach(d),l=A(s),f=L(s,"P",{});var E=j(f);a=C(E,o),n=C(E,":"),E.forEach(d),m=A(s),S(i.$$.fragment,s),$=A(s),_&&_.l(s),u=B(),this.h()},h(){v(t,"class","text-2xl"),v(t,"data-testid","archived-disabled-title")},m(s,p){w(s,t,p),y(t,e),w(s,l,p),w(s,f,p),y(f,a),y(f,n),w(s,m,p),I(i,s,p),w(s,$,p),_&&_.m(s,p),w(s,u,p),h=!0},p(s,p){const E={};p&16&&(E.content=`temporal operator namespace update --history-archival-state enabled ${s[4]}`),i.$set(E),s[1]?_&&(O(),b(_,1,1,()=>{_=null}),Q()):_?(_.p(s,p),p&2&&g(_,1)):(_=se(s),_.c(),g(_,1),_.m(u.parentNode,u))},i(s){h||(g(i.$$.fragment,s),g(_),h=!0)},o(s){b(i.$$.fragment,s),b(_),h=!1},d(s){s&&d(t),s&&d(l),s&&d(f),s&&d(m),T(i,s),s&&d($),_&&_.d(s),s&&d(u)}}}function xe(c){let t,r=k("workflows","visibility-disabled-archival")+"",e,l,f,o=k("workflows","archival-link-preface")+"",a,n,m=k("workflows","archival-link")+"",i,$,u,h,_;return h=new J({props:{content:`temporal operator namespace update --visibility-archival-state enabled ${c[4]}`,language:"text",inline:!0,copyIconTitle:k("copy-icon-title"),copySuccessIconTitle:k("copy-success-icon-title")}}),{c(){t=q("h1"),e=N(r),l=F(),f=q("p"),a=N(o),n=q("a"),i=N(m),$=N(":"),u=F(),P(h.$$.fragment),this.h()},l(s){t=L(s,"H1",{class:!0,"data-testid":!0});var p=j(t);e=C(p,r),p.forEach(d),l=A(s),f=L(s,"P",{});var E=j(f);a=C(E,o),n=L(E,"A",{class:!0,href:!0,target:!0,rel:!0});var D=j(n);i=C(D,m),D.forEach(d),$=C(E,":"),E.forEach(d),u=A(s),S(h.$$.fragment,s),this.h()},h(){v(t,"class","text-2xl"),v(t,"data-testid","visibility-disabled-title"),v(n,"class","text-blue-700 underline"),v(n,"href","https://docs.temporal.io/clusters#archival"),v(n,"target","_blank"),v(n,"rel","noreferrer")},m(s,p){w(s,t,p),y(t,e),w(s,l,p),w(s,f,p),y(f,a),y(f,n),y(n,i),y(f,$),w(s,u,p),I(h,s,p),_=!0},p(s,p){const E={};p&16&&(E.content=`temporal operator namespace update --visibility-archival-state enabled ${s[4]}`),h.$set(E)},i(s){_||(g(h.$$.fragment,s),_=!0)},o(s){b(h.$$.fragment,s),_=!1},d(s){s&&d(t),s&&d(l),s&&d(f),s&&d(u),T(h,s)}}}function et(c){let t,r=k("workflows","archived-workflows")+"",e,l,f,o,a,n,m,i=!c[0]&&fe();const $=[lt,tt],u=[];function h(_,s){var p;return(p=_[3])!=null&&p.length?0:1}return o=h(c),a=u[o]=$[o](c),{c(){t=q("h1"),e=N(r),l=F(),i&&i.c(),f=F(),a.c(),n=B(),this.h()},l(_){t=L(_,"H1",{class:!0,"data-testid":!0});var s=j(t);e=C(s,r),s.forEach(d),l=A(_),i&&i.l(_),f=A(_),a.l(_),n=B(),this.h()},h(){v(t,"class","text-2xl"),v(t,"data-testid","archived-enabled-title")},m(_,s){w(_,t,s),y(t,e),w(_,l,s),i&&i.m(_,s),w(_,f,s),u[o].m(_,s),w(_,n,s),m=!0},p(_,s){_[0]?i&&(O(),b(i,1,1,()=>{i=null}),Q()):i?s&1&&g(i,1):(i=fe(),i.c(),g(i,1),i.m(f.parentNode,f));let p=o;o=h(_),o===p?u[o].p(_,s):(O(),b(u[p],1,1,()=>{u[p]=null}),Q(),a=u[o],a?a.p(_,s):(a=u[o]=$[o](_),a.c()),g(a,1),a.m(n.parentNode,n))},i(_){m||(g(i),g(a),m=!0)},o(_){b(i),b(a),m=!1},d(_){_&&d(t),_&&d(l),i&&i.d(_),_&&d(f),u[o].d(_),_&&d(n)}}}function se(c){let t,r=k("workflows","archival-link-preface")+"",e,l,f=k("workflows","archival-link")+"",o,a,n,m,i;return m=new J({props:{content:`temporal operator namespace update --visibility-archival-state enabled ${c[4]}`,language:"text",inline:!0,copyIconTitle:k("copy-icon-title"),copySuccessIconTitle:k("copy-success-icon-title")}}),{c(){t=q("p"),e=N(r),l=q("a"),o=N(f),a=N(":"),n=F(),P(m.$$.fragment),this.h()},l($){t=L($,"P",{});var u=j(t);e=C(u,r),l=L(u,"A",{class:!0,href:!0,target:!0,rel:!0});var h=j(l);o=C(h,f),h.forEach(d),a=C(u,":"),u.forEach(d),n=A($),S(m.$$.fragment,$),this.h()},h(){v(l,"class","text-blue-700 underline"),v(l,"href","https://docs.temporal.io/clusters#archival"),v(l,"target","_blank"),v(l,"rel","noreferrer")},m($,u){w($,t,u),y(t,e),y(t,l),y(l,o),y(t,a),w($,n,u),I(m,$,u),i=!0},p($,u){const h={};u&16&&(h.content=`temporal operator namespace update --visibility-archival-state enabled ${$[4]}`),m.$set(h)},i($){i||(g(m.$$.fragment,$),i=!0)},o($){b(m.$$.fragment,$),i=!1},d($){$&&d(t),$&&d(n),T(m,$)}}}function fe(c){let t,r;return t=new Ye({}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function tt(c){let t,r;return t=new Se({props:{title:k("workflows","workflow-empty-state-title"),content:k("workflows","archival-empty-state-description")}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p:W,i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function lt(c){let t,r;return t=new Ie({props:{items:c[3],"aria-label":k("workflows","archived-workflows"),pageSizeSelectLabel:k("per-page"),previousButtonLabel:k("previous"),nextButtonLabel:k("next"),$$slots:{default:[at,({visibleItems:e})=>({7:e}),({visibleItems:e})=>e?128:0]},$$scope:{ctx:c}}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const f={};l&8&&(f.items=e[3]),l&2192&&(f.$$scope={dirty:l,ctx:e}),t.$set(f)},i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function ie(c){let t,r;return t=new Pe({props:{workflow:c[8],namespace:c[4]}}),{c(){P(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,l){I(t,e,l),r=!0},p(e,l){const f={};l&128&&(f.workflow=e[8]),l&16&&(f.namespace=e[4]),t.$set(f)},i(e){r||(g(t.$$.fragment,e),r=!0)},o(e){b(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function rt(c){let t,r,e=c[7],l=[];for(let o=0;ob(l[o],1,1,()=>{l[o]=null});return{c(){for(let o=0;o{n[h]=null}),Q(),l=n[e],l?l.p(i,$):(l=n[e]=a[e](i),l.c()),g(l,1),l.m(f.parentNode,f))},i(i){o||(g(t.$$.fragment,i),g(l),o=!0)},o(i){b(t.$$.fragment,i),b(l),o=!1},d(i){T(t,i),i&&d(r),n[e].d(i),i&&d(f)}}}function ot(c,t,r){let e,l,f,o,a,n;V(c,G,i=>r(5,n=i));let{data:m}=t;return c.$$set=i=>{"data"in i&&r(6,m=i.data)},c.$$.update=()=>{c.$$.dirty&64&&r(4,{namespace:{namespaceInfo:{name:e}},workflows:l,archivalEnabled:f,visibilityArchivalEnabled:o,archivalQueryingNotSupported:a}=m,e,(r(3,l),r(6,m)),(r(2,f),r(6,m)),(r(1,o),r(6,m)),(r(0,a),r(6,m)))},[a,o,f,l,e,n,m]}class vt extends U{constructor(t){super(),K(this,t,ot,nt,M,{data:6})}}export{vt as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.ts.79523074.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.ts.79523074.js new file mode 100644 index 0000000000..e4b3e95434 --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.ts.79523074.js @@ -0,0 +1 @@ +import"../chunks/namespaces-service.5add732a.js";import"../chunks/workflow-service.14ef2cb6.js";import{l as t}from"../chunks/_page.229b03a2.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.ts.879db8d3.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.ts.879db8d3.js deleted file mode 100644 index c2a3adb197..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-archival-page.ts.879db8d3.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/namespaces-service.5f534be1.js";import"../chunks/workflow-service.56e6b262.js";import{l as t}from"../chunks/_page.f6735002.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-batch-operations-_jobId_-page.svelte.4766eddc.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-batch-operations-_jobId_-page.svelte.e6af209f.js similarity index 97% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-batch-operations-_jobId_-page.svelte.4766eddc.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-batch-operations-_jobId_-page.svelte.e6af209f.js index 8708c96d7e..7bb82ff5fc 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-batch-operations-_jobId_-page.svelte.4766eddc.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-batch-operations-_jobId_-page.svelte.e6af209f.js @@ -1 +1 @@ -import{S as we,b as De,a as Ee,m as u,w as E,c as b,p,q as m,x as k,k as f,d as g,u as v,f as se,L as r,y as H,n as D,K as Ie,C as X,D as Y,E as Z,j as O,z as st,g as y,h as ot,F as x,M as nt,a5 as it,v as ge,P as xe,aq as ct,e as et,ar as ft}from"../chunks/index.09834243.js";import{p as ut}from"../chunks/stores.9d4a2bb0.js";import{P as pt}from"../chunks/page-title.34fd480b.js";import{t as V}from"../chunks/translate.0a219ae4.js";import{b as Fe,t as mt,r as dt}from"../chunks/format-date.71526e4c.js";import{B as vt}from"../chunks/badge.f53d8aa8.js";import{T as ht}from"../chunks/toggle-switch.3808d19f.js";import{T as _t}from"../chunks/tooltip.6cc63041.js";import{a as Be,d as $t}from"../chunks/batch-operations.2ef00b45.js";import{C as tt}from"../chunks/card.133df274.js";import{L as bt}from"../chunks/link.4944a6a5.js";import{d as at}from"../chunks/route-for.3b55a4c6.js";function gt(l){let e,a,t=V("batch","details")+"",n,s,c,o,i=V("batch","operation-type")+"",d,h,S,C=l[0].operationType+"",U,M,_,$,P=V("batch","identity")+"",R,A,j,L=l[0].identity+"",K,z,B,G,me=V("reason")+"",de,J,Q,ee=l[0].reason+"",fe,W,F,te,ae=V("start-time")+"",T,w,oe,le=Fe(l[0].startTime,l[1],{relative:l[2]})+"",ne,he,q,ie,ve=V("close-time")+"",ue,_e,ce,re=Fe(l[0].closeTime,l[1],{relative:l[2]})+"",Pe,Ne,pe,$e,Ue=V("batch","total-operations")+"",ye,Ae,be,ke=Intl.NumberFormat("en-US").format(l[0].totalOperationCount)+"",Ve;return{c(){e=u("div"),a=u("p"),n=E(t),s=b(),c=u("div"),o=u("p"),d=E(i),h=b(),S=u("p"),U=E(C),M=b(),_=u("div"),$=u("p"),R=E(P),A=b(),j=u("p"),K=E(L),z=b(),B=u("div"),G=u("p"),de=E(me),J=b(),Q=u("p"),fe=E(ee),W=b(),F=u("div"),te=u("p"),T=E(ae),w=b(),oe=u("p"),ne=E(le),he=b(),q=u("div"),ie=u("p"),ue=E(ve),_e=b(),ce=u("p"),Pe=E(re),Ne=b(),pe=u("div"),$e=u("p"),ye=E(Ue),Ae=b(),be=u("p"),Ve=E(ke),this.h()},l(N){e=p(N,"DIV",{class:!0});var I=m(e);a=p(I,"P",{});var Me=m(a);n=k(Me,t),Me.forEach(f),s=g(I),c=p(I,"DIV",{class:!0});var Ce=m(c);o=p(Ce,"P",{class:!0});var qe=m(o);d=k(qe,i),qe.forEach(f),h=g(Ce),S=p(Ce,"P",{class:!0});var He=m(S);U=k(He,C),He.forEach(f),Ce.forEach(f),M=g(I),_=p(I,"DIV",{class:!0});var Te=m(_);$=p(Te,"P",{class:!0});var Le=m($);R=k(Le,P),Le.forEach(f),A=g(Te),j=p(Te,"P",{class:!0});var Ke=m(j);K=k(Ke,L),Ke.forEach(f),Te.forEach(f),z=g(I),B=p(I,"DIV",{class:!0});var je=m(B);G=p(je,"P",{class:!0});var ze=m(G);de=k(ze,me),ze.forEach(f),J=g(je),Q=p(je,"P",{class:!0});var Ge=m(Q);fe=k(Ge,ee),Ge.forEach(f),je.forEach(f),W=g(I),F=p(I,"DIV",{class:!0});var Oe=m(F);te=p(Oe,"P",{class:!0});var Je=m(te);T=k(Je,ae),Je.forEach(f),w=g(Oe),oe=p(Oe,"P",{class:!0});var Qe=m(oe);ne=k(Qe,le),Qe.forEach(f),Oe.forEach(f),he=g(I),q=p(I,"DIV",{class:!0});var Se=m(q);ie=p(Se,"P",{class:!0});var We=m(ie);ue=k(We,ve),We.forEach(f),_e=g(Se),ce=p(Se,"P",{class:!0});var Xe=m(ce);Pe=k(Xe,re),Xe.forEach(f),Se.forEach(f),Ne=g(I),pe=p(I,"DIV",{class:!0});var Re=m(pe);$e=p(Re,"P",{class:!0});var Ye=m($e);ye=k(Ye,Ue),Ye.forEach(f),Ae=g(Re),be=p(Re,"P",{class:!0});var Ze=m(be);Ve=k(Ze,ke),Ze.forEach(f),Re.forEach(f),I.forEach(f),this.h()},h(){v(o,"class","batch-operation-key svelte-1vorilm"),v(S,"class","batch-operation-value svelte-1vorilm"),v(c,"class","batch-operation-detail svelte-1vorilm"),v($,"class","batch-operation-key svelte-1vorilm"),v(j,"class","batch-operation-value svelte-1vorilm"),v(_,"class","batch-operation-detail svelte-1vorilm"),v(G,"class","batch-operation-key svelte-1vorilm"),v(Q,"class","batch-operation-value svelte-1vorilm"),v(B,"class","batch-operation-detail svelte-1vorilm"),v(te,"class","batch-operation-key svelte-1vorilm"),v(oe,"class","batch-operation-value svelte-1vorilm"),v(F,"class","batch-operation-detail svelte-1vorilm"),v(ie,"class","batch-operation-key svelte-1vorilm"),v(ce,"class","batch-operation-value svelte-1vorilm"),v(q,"class","batch-operation-detail svelte-1vorilm"),v($e,"class","batch-operation-key svelte-1vorilm"),v(be,"class","batch-operation-value svelte-1vorilm"),v(pe,"class","batch-operation-detail svelte-1vorilm"),v(e,"class","flex flex-col gap-2")},m(N,I){se(N,e,I),r(e,a),r(a,n),r(e,s),r(e,c),r(c,o),r(o,d),r(c,h),r(c,S),r(S,U),r(e,M),r(e,_),r(_,$),r($,R),r(_,A),r(_,j),r(j,K),r(e,z),r(e,B),r(B,G),r(G,de),r(B,J),r(B,Q),r(Q,fe),r(e,W),r(e,F),r(F,te),r(te,T),r(F,w),r(F,oe),r(oe,ne),r(e,he),r(e,q),r(q,ie),r(ie,ue),r(q,_e),r(q,ce),r(ce,Pe),r(e,Ne),r(e,pe),r(pe,$e),r($e,ye),r(pe,Ae),r(pe,be),r(be,Ve)},p(N,[I]){I&1&&C!==(C=N[0].operationType+"")&&H(U,C),I&1&&L!==(L=N[0].identity+"")&&H(K,L),I&1&&ee!==(ee=N[0].reason+"")&&H(fe,ee),I&7&&le!==(le=Fe(N[0].startTime,N[1],{relative:N[2]})+"")&&H(ne,le),I&7&&re!==(re=Fe(N[0].closeTime,N[1],{relative:N[2]})+"")&&H(Pe,re),I&1&&ke!==(ke=Intl.NumberFormat("en-US").format(N[0].totalOperationCount)+"")&&H(Ve,ke)},i:D,o:D,d(N){N&&f(e)}}}function Et(l,e,a){let t,n;Ie(l,mt,c=>a(1,t=c)),Ie(l,dt,c=>a(2,n=c));let{operation:s}=e;return l.$$set=c=>{"operation"in c&&a(0,s=c.operation)},[s,t,n]}class kt extends we{constructor(e){super(),De(this,e,Et,gt,Ee,{operation:0})}}function It(l){let e=l[0].state+"",a;return{c(){a=E(e)},l(t){a=k(t,e)},m(t,n){se(t,a,n)},p(t,n){n&1&&e!==(e=t[0].state+"")&&H(a,e)},d(t){t&&f(a)}}}function lt(l){let e,a;return e=new _t({props:{top:!0,text:V("auto-refresh-tooltip",{interval:"5"}),$$slots:{default:[wt]},$$scope:{ctx:l}}}),{c(){X(e.$$.fragment)},l(t){Y(e.$$.fragment,t)},m(t,n){Z(e,t,n),a=!0},p(t,n){const s={};n&34&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){a||(O(e.$$.fragment,t),a=!0)},o(t){y(e.$$.fragment,t),a=!1},d(t){x(e,t)}}}function wt(l){let e,a;return e=new ht({props:{id:"batch-operation-auto-refresh",label:V("auto-refresh"),labelPosition:"left",checked:l[1]}}),e.$on("change",l[2]),{c(){X(e.$$.fragment)},l(t){Y(e.$$.fragment,t)},m(t,n){Z(e,t,n),a=!0},p(t,n){const s={};n&2&&(s.checked=t[1]),e.$set(s)},i(t){a||(O(e.$$.fragment,t),a=!0)},o(t){y(e.$$.fragment,t),a=!1},d(t){x(e,t)}}}function Dt(l){let e,a,t,n,s=V("batch","describe-page-title")+"",c,o,i,d,h,S=l[0].jobId+"",C,U,M;i=new vt({props:{type:l[3][l[0].state],$$slots:{default:[It]},$$scope:{ctx:l}}});let _=l[0].state==="Running"&<(l);return{c(){e=u("div"),a=u("div"),t=u("div"),n=u("h1"),c=E(s),o=b(),X(i.$$.fragment),d=b(),h=u("h2"),C=E(S),U=b(),_&&_.c(),this.h()},l($){e=p($,"DIV",{class:!0});var P=m(e);a=p(P,"DIV",{class:!0});var R=m(a);t=p(R,"DIV",{class:!0});var A=m(t);n=p(A,"H1",{class:!0});var j=m(n);c=k(j,s),j.forEach(f),o=g(A),Y(i.$$.fragment,A),A.forEach(f),d=g(R),h=p(R,"H2",{class:!0});var L=m(h);C=k(L,S),L.forEach(f),R.forEach(f),U=g(P),_&&_.l(P),P.forEach(f),this.h()},h(){v(n,"class","text-2xl"),v(t,"class","flex flex-row gap-2"),v(h,"class","text-sm"),v(a,"class","flex flex-col gap-2"),v(e,"class","flex items-center justify-between")},m($,P){se($,e,P),r(e,a),r(a,t),r(t,n),r(n,c),r(t,o),Z(i,t,null),r(a,d),r(a,h),r(h,C),r(e,U),_&&_.m(e,null),M=!0},p($,[P]){const R={};P&1&&(R.type=$[3][$[0].state]),P&33&&(R.$$scope={dirty:P,ctx:$}),i.$set(R),(!M||P&1)&&S!==(S=$[0].jobId+"")&&H(C,S),$[0].state==="Running"?_?(_.p($,P),P&1&&O(_,1)):(_=lt($),_.c(),O(_,1),_.m(e,null)):_&&(st(),y(_,1,1,()=>{_=null}),ot())},i($){M||(O(i.$$.fragment,$),O(_),M=!0)},o($){y(i.$$.fragment,$),y(_),M=!1},d($){$&&f(e),x(i),_&&_.d()}}}function Pt(l,e,a){let t;Ie(l,Be,i=>a(1,t=i));let{operation:n}=e;const s=nt(),c=i=>{const{checked:d}=i.target;s("toggleAutoRefresh",{checked:d}),it(Be,t=d,t)},o={Completed:"green",Running:"blue",Failed:"red",Unspecified:"gray"};return l.$$set=i=>{"operation"in i&&a(0,n=i.operation)},[n,t,c,o]}class Vt extends we{constructor(e){super(),De(this,e,Pt,Dt,Ee,{operation:0})}}function Ct(l){let e,a,t=V("batch","results")+"",n,s,c,o,i,d=V("batch","operations-progress",{percent:l[3]})+"",h,S,C,U=Intl.NumberFormat("en-US").format(l[0].completeOperationCount)+"",M,_,$=Intl.NumberFormat("en-US").format(l[0].totalOperationCount)+"",P,R,A,j,L,K,z,B,G=V("batch","operations-succeeded",{count:l[0].completeOperationCount})+"",me,de,J,Q=V("batch","operations-failed",{count:l[0].failureOperationCount})+"",ee,fe,W,F,te,ae;return{c(){e=u("div"),a=u("p"),n=E(t),s=b(),c=u("div"),o=u("div"),i=u("span"),h=E(d),S=b(),C=u("span"),M=E(U),_=E(" / "),P=E($),R=b(),A=u("div"),j=u("div"),L=b(),K=u("div"),z=u("div"),B=u("span"),me=E(G),de=b(),J=u("span"),ee=E(Q),fe=b(),W=u("div"),F=u("div"),te=b(),ae=u("div"),this.h()},l(T){e=p(T,"DIV",{class:!0});var w=m(e);a=p(w,"P",{});var oe=m(a);n=k(oe,t),oe.forEach(f),s=g(w),c=p(w,"DIV",{});var le=m(c);o=p(le,"DIV",{class:!0});var ne=m(o);i=p(ne,"SPAN",{class:!0});var he=m(i);h=k(he,d),he.forEach(f),S=g(ne),C=p(ne,"SPAN",{class:!0});var q=m(C);M=k(q,U),_=k(q," / "),P=k(q,$),q.forEach(f),ne.forEach(f),R=g(le),A=p(le,"DIV",{class:!0});var ie=m(A);j=p(ie,"DIV",{class:!0,style:!0}),m(j).forEach(f),ie.forEach(f),le.forEach(f),L=g(w),K=p(w,"DIV",{});var ve=m(K);z=p(ve,"DIV",{class:!0});var ue=m(z);B=p(ue,"SPAN",{class:!0});var _e=m(B);me=k(_e,G),_e.forEach(f),de=g(ue),J=p(ue,"SPAN",{class:!0});var ce=m(J);ee=k(ce,Q),ce.forEach(f),ue.forEach(f),fe=g(ve),W=p(ve,"DIV",{class:!0});var re=m(W);F=p(re,"DIV",{style:!0,class:!0}),m(F).forEach(f),te=g(re),ae=p(re,"DIV",{style:!0,class:!0}),m(ae).forEach(f),re.forEach(f),ve.forEach(f),w.forEach(f),this.h()},h(){v(i,"class","text-xs font-semibold"),v(C,"class","text-xs font-semibold"),v(o,"class","flex justify-between"),v(j,"class","absolute left-0 flex h-full items-center bg-indigo-600"),ge(j,"width",l[3]+"%"),v(A,"class","relative h-2 w-full overflow-hidden rounded bg-indigo-100"),v(B,"class","text-xs font-semibold text-green-700"),v(J,"class","text-xs font-semibold"),xe(J,"text-red-700",l[2]>0),v(z,"class","flex justify-between"),ge(F,"width",l[1]+"%"),v(F,"class","absolute left-0 flex h-full items-center bg-green-200"),ge(ae,"width",l[2]+"%"),v(ae,"class","absolute right-0 flex h-full items-center justify-end bg-red-200"),v(W,"class","relative h-2 w-full overflow-hidden rounded"),v(e,"class","flex flex-col gap-4")},m(T,w){se(T,e,w),r(e,a),r(a,n),r(e,s),r(e,c),r(c,o),r(o,i),r(i,h),r(o,S),r(o,C),r(C,M),r(C,_),r(C,P),r(c,R),r(c,A),r(A,j),r(e,L),r(e,K),r(K,z),r(z,B),r(B,me),r(z,de),r(z,J),r(J,ee),r(K,fe),r(K,W),r(W,F),r(W,te),r(W,ae)},p(T,[w]){w&8&&d!==(d=V("batch","operations-progress",{percent:T[3]})+"")&&H(h,d),w&1&&U!==(U=Intl.NumberFormat("en-US").format(T[0].completeOperationCount)+"")&&H(M,U),w&1&&$!==($=Intl.NumberFormat("en-US").format(T[0].totalOperationCount)+"")&&H(P,$),w&8&&ge(j,"width",T[3]+"%"),w&1&&G!==(G=V("batch","operations-succeeded",{count:T[0].completeOperationCount})+"")&&H(me,G),w&1&&Q!==(Q=V("batch","operations-failed",{count:T[0].failureOperationCount})+"")&&H(ee,Q),w&4&&xe(J,"text-red-700",T[2]>0),w&2&&ge(F,"width",T[1]+"%"),w&4&&ge(ae,"width",T[2]+"%")},i:D,o:D,d(T){T&&f(e)}}}function Tt(l,e,a){let{operation:t}=e,n,s,c;return l.$$set=o=>{"operation"in o&&a(0,t=o.operation)},l.$$.update=()=>{if(l.$$.dirty&1){const{completeOperationCount:o,failureOperationCount:i,totalOperationCount:d}=t;a(1,n=Math.round(o/d*100)),a(2,s=Math.round(i/d*100)),a(3,c=Math.round((o+i)/d*100))}},[t,n,s,c]}class jt extends we{constructor(e){super(),De(this,e,Tt,Ct,Ee,{operation:0})}}function Ot(l){let e=V("batch","back-link")+"",a;return{c(){a=E(e)},l(t){a=k(t,e)},m(t,n){se(t,a,n)},p:D,d(t){t&&f(a)}}}function St(l){return{c:D,l:D,m:D,p:D,i:D,o:D,d:D}}function Rt(l){let e,a,t,n,s,c;return e=new Vt({props:{operation:l[7]}}),e.$on("toggleAutoRefresh",l[2]),t=new tt({props:{$$slots:{default:[Ft]},$$scope:{ctx:l}}}),s=new tt({props:{$$slots:{default:[Nt]},$$scope:{ctx:l}}}),{c(){X(e.$$.fragment),a=b(),X(t.$$.fragment),n=b(),X(s.$$.fragment)},l(o){Y(e.$$.fragment,o),a=g(o),Y(t.$$.fragment,o),n=g(o),Y(s.$$.fragment,o)},m(o,i){Z(e,o,i),se(o,a,i),Z(t,o,i),se(o,n,i),Z(s,o,i),c=!0},p(o,i){const d={};i&256&&(d.$$scope={dirty:i,ctx:o}),t.$set(d);const h={};i&256&&(h.$$scope={dirty:i,ctx:o}),s.$set(h)},i(o){c||(O(e.$$.fragment,o),O(t.$$.fragment,o),O(s.$$.fragment,o),c=!0)},o(o){y(e.$$.fragment,o),y(t.$$.fragment,o),y(s.$$.fragment,o),c=!1},d(o){x(e,o),o&&f(a),x(t,o),o&&f(n),x(s,o)}}}function Ft(l){let e,a;return e=new kt({props:{operation:l[7]}}),{c(){X(e.$$.fragment)},l(t){Y(e.$$.fragment,t)},m(t,n){Z(e,t,n),a=!0},p:D,i(t){a||(O(e.$$.fragment,t),a=!0)},o(t){y(e.$$.fragment,t),a=!1},d(t){x(e,t)}}}function Nt(l){let e,a;return e=new jt({props:{operation:l[7]}}),{c(){X(e.$$.fragment)},l(t){Y(e.$$.fragment,t)},m(t,n){Z(e,t,n),a=!0},p:D,i(t){a||(O(e.$$.fragment,t),a=!0)},o(t){y(e.$$.fragment,t),a=!1},d(t){x(e,t)}}}function yt(l){return{c:D,l:D,m:D,p:D,i:D,o:D,d:D}}function rt(l){let e,a,t={ctx:l,current:null,token:null,hasCatch:!1,pending:yt,then:Rt,catch:St,value:7,blocks:[,,,]};return ct(l[3](),t),{c(){e=et(),t.block.c()},l(n){e=et(),t.block.l(n)},m(n,s){se(n,e,s),t.block.m(n,t.anchor=s),t.mount=()=>e.parentNode,t.anchor=e,a=!0},p(n,s){l=n,ft(t,l,s)},i(n){a||(O(t.block),a=!0)},o(n){for(let s=0;s<3;s+=1){const c=t.blocks[s];y(c)}a=!1},d(n){n&&f(e),t.block.d(n),t.token=null,t=null}}}function At(l){let e,a,t,n,s=l[1],c;t=new bt({props:{href:at({namespace:l[0]}),icon:"chevron-left",$$slots:{default:[Ot]},$$scope:{ctx:l}}});let o=rt(l);return{c(){e=u("div"),a=u("div"),X(t.$$.fragment),n=b(),o.c(),this.h()},l(i){e=p(i,"DIV",{class:!0});var d=m(e);a=p(d,"DIV",{class:!0});var h=m(a);Y(t.$$.fragment,h),h.forEach(f),n=g(d),o.l(d),d.forEach(f),this.h()},h(){v(a,"class","flex flex-row"),v(e,"class","flex flex-col gap-4")},m(i,d){se(i,e,d),r(e,a),Z(t,a,null),r(e,n),o.m(e,null),c=!0},p(i,[d]){const h={};d&1&&(h.href=at({namespace:i[0]})),d&256&&(h.$$scope={dirty:d,ctx:i}),t.$set(h),d&2&&Ee(s,s=i[1])?(st(),y(o,1,1,D),ot(),o=rt(i),o.c(),O(o,1),o.m(e,null)):o.p(i,d)},i(i){c||(O(t.$$.fragment,i),O(o),c=!0)},o(i){y(t.$$.fragment,i),y(o),c=!1},d(i){i&&f(e),x(t),o.d(i)}}}function Bt(l,e,a){let t;Ie(l,Be,h=>a(6,t=h));let{namespace:n}=e,{jobId:s}=e,c=0,o;const i=h=>{h.detail.checked?a(1,c+=1):o&&window.clearTimeout(o)},d=()=>$t({jobId:s,namespace:n}).then(h=>(t&&h.state==="Running"&&(o=window.setTimeout(()=>{a(1,c+=1)},5e3)),h));return l.$$set=h=>{"namespace"in h&&a(0,n=h.namespace),"jobId"in h&&a(4,s=h.jobId)},[n,c,i,d,s]}class Ut extends we{constructor(e){super(),De(this,e,Bt,At,Ee,{namespace:0,jobId:4})}}function Mt(l){let e,a,t,n;return e=new pt({props:{title:V("batch","describe-page-title")+" | "+l[0]}}),t=new Ut({props:{jobId:l[0],namespace:l[1]}}),{c(){X(e.$$.fragment),a=b(),X(t.$$.fragment)},l(s){Y(e.$$.fragment,s),a=g(s),Y(t.$$.fragment,s)},m(s,c){Z(e,s,c),se(s,a,c),Z(t,s,c),n=!0},p(s,[c]){const o={};c&1&&(o.title=V("batch","describe-page-title")+" | "+s[0]),e.$set(o);const i={};c&1&&(i.jobId=s[0]),c&2&&(i.namespace=s[1]),t.$set(i)},i(s){n||(O(e.$$.fragment,s),O(t.$$.fragment,s),n=!0)},o(s){y(e.$$.fragment,s),y(t.$$.fragment,s),n=!1},d(s){x(e,s),s&&f(a),x(t,s)}}}function qt(l,e,a){let t,n,s;return Ie(l,ut,c=>a(2,s=c)),l.$$.update=()=>{l.$$.dirty&4&&a(1,t=s.params.namespace),l.$$.dirty&4&&a(0,n=s.params.jobId)},[n,t,s]}class ea extends we{constructor(e){super(),De(this,e,qt,Mt,Ee,{})}}export{ea as default}; +import{S as we,b as De,a as Ee,m as u,w as E,c as b,p,q as m,x as k,k as f,d as g,u as v,f as se,L as r,y as H,n as D,K as Ie,C as X,D as Y,E as Z,j as O,z as st,g as y,h as ot,F as x,M as nt,a5 as it,v as ge,P as xe,aq as ct,e as et,ar as ft}from"../chunks/index.09834243.js";import{p as ut}from"../chunks/stores.cd833532.js";import{P as pt}from"../chunks/page-title.34fd480b.js";import{t as V}from"../chunks/translate.0a219ae4.js";import{b as Fe,t as mt,r as dt}from"../chunks/format-date.79f77cbf.js";import{B as vt}from"../chunks/badge.f53d8aa8.js";import{T as ht}from"../chunks/toggle-switch.3808d19f.js";import{T as _t}from"../chunks/tooltip.9802d6e3.js";import{a as Be,d as $t}from"../chunks/batch-operations.54e5cb65.js";import{C as tt}from"../chunks/card.133df274.js";import{L as bt}from"../chunks/link.7cb1390a.js";import{d as at}from"../chunks/route-for.d76d8056.js";function gt(l){let e,a,t=V("batch","details")+"",n,s,c,o,i=V("batch","operation-type")+"",d,h,S,C=l[0].operationType+"",U,M,_,$,P=V("batch","identity")+"",R,A,j,L=l[0].identity+"",K,z,B,G,me=V("reason")+"",de,J,Q,ee=l[0].reason+"",fe,W,F,te,ae=V("start-time")+"",T,w,oe,le=Fe(l[0].startTime,l[1],{relative:l[2]})+"",ne,he,q,ie,ve=V("close-time")+"",ue,_e,ce,re=Fe(l[0].closeTime,l[1],{relative:l[2]})+"",Pe,Ne,pe,$e,Ue=V("batch","total-operations")+"",ye,Ae,be,ke=Intl.NumberFormat("en-US").format(l[0].totalOperationCount)+"",Ve;return{c(){e=u("div"),a=u("p"),n=E(t),s=b(),c=u("div"),o=u("p"),d=E(i),h=b(),S=u("p"),U=E(C),M=b(),_=u("div"),$=u("p"),R=E(P),A=b(),j=u("p"),K=E(L),z=b(),B=u("div"),G=u("p"),de=E(me),J=b(),Q=u("p"),fe=E(ee),W=b(),F=u("div"),te=u("p"),T=E(ae),w=b(),oe=u("p"),ne=E(le),he=b(),q=u("div"),ie=u("p"),ue=E(ve),_e=b(),ce=u("p"),Pe=E(re),Ne=b(),pe=u("div"),$e=u("p"),ye=E(Ue),Ae=b(),be=u("p"),Ve=E(ke),this.h()},l(N){e=p(N,"DIV",{class:!0});var I=m(e);a=p(I,"P",{});var Me=m(a);n=k(Me,t),Me.forEach(f),s=g(I),c=p(I,"DIV",{class:!0});var Ce=m(c);o=p(Ce,"P",{class:!0});var qe=m(o);d=k(qe,i),qe.forEach(f),h=g(Ce),S=p(Ce,"P",{class:!0});var He=m(S);U=k(He,C),He.forEach(f),Ce.forEach(f),M=g(I),_=p(I,"DIV",{class:!0});var Te=m(_);$=p(Te,"P",{class:!0});var Le=m($);R=k(Le,P),Le.forEach(f),A=g(Te),j=p(Te,"P",{class:!0});var Ke=m(j);K=k(Ke,L),Ke.forEach(f),Te.forEach(f),z=g(I),B=p(I,"DIV",{class:!0});var je=m(B);G=p(je,"P",{class:!0});var ze=m(G);de=k(ze,me),ze.forEach(f),J=g(je),Q=p(je,"P",{class:!0});var Ge=m(Q);fe=k(Ge,ee),Ge.forEach(f),je.forEach(f),W=g(I),F=p(I,"DIV",{class:!0});var Oe=m(F);te=p(Oe,"P",{class:!0});var Je=m(te);T=k(Je,ae),Je.forEach(f),w=g(Oe),oe=p(Oe,"P",{class:!0});var Qe=m(oe);ne=k(Qe,le),Qe.forEach(f),Oe.forEach(f),he=g(I),q=p(I,"DIV",{class:!0});var Se=m(q);ie=p(Se,"P",{class:!0});var We=m(ie);ue=k(We,ve),We.forEach(f),_e=g(Se),ce=p(Se,"P",{class:!0});var Xe=m(ce);Pe=k(Xe,re),Xe.forEach(f),Se.forEach(f),Ne=g(I),pe=p(I,"DIV",{class:!0});var Re=m(pe);$e=p(Re,"P",{class:!0});var Ye=m($e);ye=k(Ye,Ue),Ye.forEach(f),Ae=g(Re),be=p(Re,"P",{class:!0});var Ze=m(be);Ve=k(Ze,ke),Ze.forEach(f),Re.forEach(f),I.forEach(f),this.h()},h(){v(o,"class","batch-operation-key svelte-1vorilm"),v(S,"class","batch-operation-value svelte-1vorilm"),v(c,"class","batch-operation-detail svelte-1vorilm"),v($,"class","batch-operation-key svelte-1vorilm"),v(j,"class","batch-operation-value svelte-1vorilm"),v(_,"class","batch-operation-detail svelte-1vorilm"),v(G,"class","batch-operation-key svelte-1vorilm"),v(Q,"class","batch-operation-value svelte-1vorilm"),v(B,"class","batch-operation-detail svelte-1vorilm"),v(te,"class","batch-operation-key svelte-1vorilm"),v(oe,"class","batch-operation-value svelte-1vorilm"),v(F,"class","batch-operation-detail svelte-1vorilm"),v(ie,"class","batch-operation-key svelte-1vorilm"),v(ce,"class","batch-operation-value svelte-1vorilm"),v(q,"class","batch-operation-detail svelte-1vorilm"),v($e,"class","batch-operation-key svelte-1vorilm"),v(be,"class","batch-operation-value svelte-1vorilm"),v(pe,"class","batch-operation-detail svelte-1vorilm"),v(e,"class","flex flex-col gap-2")},m(N,I){se(N,e,I),r(e,a),r(a,n),r(e,s),r(e,c),r(c,o),r(o,d),r(c,h),r(c,S),r(S,U),r(e,M),r(e,_),r(_,$),r($,R),r(_,A),r(_,j),r(j,K),r(e,z),r(e,B),r(B,G),r(G,de),r(B,J),r(B,Q),r(Q,fe),r(e,W),r(e,F),r(F,te),r(te,T),r(F,w),r(F,oe),r(oe,ne),r(e,he),r(e,q),r(q,ie),r(ie,ue),r(q,_e),r(q,ce),r(ce,Pe),r(e,Ne),r(e,pe),r(pe,$e),r($e,ye),r(pe,Ae),r(pe,be),r(be,Ve)},p(N,[I]){I&1&&C!==(C=N[0].operationType+"")&&H(U,C),I&1&&L!==(L=N[0].identity+"")&&H(K,L),I&1&&ee!==(ee=N[0].reason+"")&&H(fe,ee),I&7&&le!==(le=Fe(N[0].startTime,N[1],{relative:N[2]})+"")&&H(ne,le),I&7&&re!==(re=Fe(N[0].closeTime,N[1],{relative:N[2]})+"")&&H(Pe,re),I&1&&ke!==(ke=Intl.NumberFormat("en-US").format(N[0].totalOperationCount)+"")&&H(Ve,ke)},i:D,o:D,d(N){N&&f(e)}}}function Et(l,e,a){let t,n;Ie(l,mt,c=>a(1,t=c)),Ie(l,dt,c=>a(2,n=c));let{operation:s}=e;return l.$$set=c=>{"operation"in c&&a(0,s=c.operation)},[s,t,n]}class kt extends we{constructor(e){super(),De(this,e,Et,gt,Ee,{operation:0})}}function It(l){let e=l[0].state+"",a;return{c(){a=E(e)},l(t){a=k(t,e)},m(t,n){se(t,a,n)},p(t,n){n&1&&e!==(e=t[0].state+"")&&H(a,e)},d(t){t&&f(a)}}}function lt(l){let e,a;return e=new _t({props:{top:!0,text:V("auto-refresh-tooltip",{interval:"5"}),$$slots:{default:[wt]},$$scope:{ctx:l}}}),{c(){X(e.$$.fragment)},l(t){Y(e.$$.fragment,t)},m(t,n){Z(e,t,n),a=!0},p(t,n){const s={};n&34&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){a||(O(e.$$.fragment,t),a=!0)},o(t){y(e.$$.fragment,t),a=!1},d(t){x(e,t)}}}function wt(l){let e,a;return e=new ht({props:{id:"batch-operation-auto-refresh",label:V("auto-refresh"),labelPosition:"left",checked:l[1]}}),e.$on("change",l[2]),{c(){X(e.$$.fragment)},l(t){Y(e.$$.fragment,t)},m(t,n){Z(e,t,n),a=!0},p(t,n){const s={};n&2&&(s.checked=t[1]),e.$set(s)},i(t){a||(O(e.$$.fragment,t),a=!0)},o(t){y(e.$$.fragment,t),a=!1},d(t){x(e,t)}}}function Dt(l){let e,a,t,n,s=V("batch","describe-page-title")+"",c,o,i,d,h,S=l[0].jobId+"",C,U,M;i=new vt({props:{type:l[3][l[0].state],$$slots:{default:[It]},$$scope:{ctx:l}}});let _=l[0].state==="Running"&<(l);return{c(){e=u("div"),a=u("div"),t=u("div"),n=u("h1"),c=E(s),o=b(),X(i.$$.fragment),d=b(),h=u("h2"),C=E(S),U=b(),_&&_.c(),this.h()},l($){e=p($,"DIV",{class:!0});var P=m(e);a=p(P,"DIV",{class:!0});var R=m(a);t=p(R,"DIV",{class:!0});var A=m(t);n=p(A,"H1",{class:!0});var j=m(n);c=k(j,s),j.forEach(f),o=g(A),Y(i.$$.fragment,A),A.forEach(f),d=g(R),h=p(R,"H2",{class:!0});var L=m(h);C=k(L,S),L.forEach(f),R.forEach(f),U=g(P),_&&_.l(P),P.forEach(f),this.h()},h(){v(n,"class","text-2xl"),v(t,"class","flex flex-row gap-2"),v(h,"class","text-sm"),v(a,"class","flex flex-col gap-2"),v(e,"class","flex items-center justify-between")},m($,P){se($,e,P),r(e,a),r(a,t),r(t,n),r(n,c),r(t,o),Z(i,t,null),r(a,d),r(a,h),r(h,C),r(e,U),_&&_.m(e,null),M=!0},p($,[P]){const R={};P&1&&(R.type=$[3][$[0].state]),P&33&&(R.$$scope={dirty:P,ctx:$}),i.$set(R),(!M||P&1)&&S!==(S=$[0].jobId+"")&&H(C,S),$[0].state==="Running"?_?(_.p($,P),P&1&&O(_,1)):(_=lt($),_.c(),O(_,1),_.m(e,null)):_&&(st(),y(_,1,1,()=>{_=null}),ot())},i($){M||(O(i.$$.fragment,$),O(_),M=!0)},o($){y(i.$$.fragment,$),y(_),M=!1},d($){$&&f(e),x(i),_&&_.d()}}}function Pt(l,e,a){let t;Ie(l,Be,i=>a(1,t=i));let{operation:n}=e;const s=nt(),c=i=>{const{checked:d}=i.target;s("toggleAutoRefresh",{checked:d}),it(Be,t=d,t)},o={Completed:"green",Running:"blue",Failed:"red",Unspecified:"gray"};return l.$$set=i=>{"operation"in i&&a(0,n=i.operation)},[n,t,c,o]}class Vt extends we{constructor(e){super(),De(this,e,Pt,Dt,Ee,{operation:0})}}function Ct(l){let e,a,t=V("batch","results")+"",n,s,c,o,i,d=V("batch","operations-progress",{percent:l[3]})+"",h,S,C,U=Intl.NumberFormat("en-US").format(l[0].completeOperationCount)+"",M,_,$=Intl.NumberFormat("en-US").format(l[0].totalOperationCount)+"",P,R,A,j,L,K,z,B,G=V("batch","operations-succeeded",{count:l[0].completeOperationCount})+"",me,de,J,Q=V("batch","operations-failed",{count:l[0].failureOperationCount})+"",ee,fe,W,F,te,ae;return{c(){e=u("div"),a=u("p"),n=E(t),s=b(),c=u("div"),o=u("div"),i=u("span"),h=E(d),S=b(),C=u("span"),M=E(U),_=E(" / "),P=E($),R=b(),A=u("div"),j=u("div"),L=b(),K=u("div"),z=u("div"),B=u("span"),me=E(G),de=b(),J=u("span"),ee=E(Q),fe=b(),W=u("div"),F=u("div"),te=b(),ae=u("div"),this.h()},l(T){e=p(T,"DIV",{class:!0});var w=m(e);a=p(w,"P",{});var oe=m(a);n=k(oe,t),oe.forEach(f),s=g(w),c=p(w,"DIV",{});var le=m(c);o=p(le,"DIV",{class:!0});var ne=m(o);i=p(ne,"SPAN",{class:!0});var he=m(i);h=k(he,d),he.forEach(f),S=g(ne),C=p(ne,"SPAN",{class:!0});var q=m(C);M=k(q,U),_=k(q," / "),P=k(q,$),q.forEach(f),ne.forEach(f),R=g(le),A=p(le,"DIV",{class:!0});var ie=m(A);j=p(ie,"DIV",{class:!0,style:!0}),m(j).forEach(f),ie.forEach(f),le.forEach(f),L=g(w),K=p(w,"DIV",{});var ve=m(K);z=p(ve,"DIV",{class:!0});var ue=m(z);B=p(ue,"SPAN",{class:!0});var _e=m(B);me=k(_e,G),_e.forEach(f),de=g(ue),J=p(ue,"SPAN",{class:!0});var ce=m(J);ee=k(ce,Q),ce.forEach(f),ue.forEach(f),fe=g(ve),W=p(ve,"DIV",{class:!0});var re=m(W);F=p(re,"DIV",{style:!0,class:!0}),m(F).forEach(f),te=g(re),ae=p(re,"DIV",{style:!0,class:!0}),m(ae).forEach(f),re.forEach(f),ve.forEach(f),w.forEach(f),this.h()},h(){v(i,"class","text-xs font-semibold"),v(C,"class","text-xs font-semibold"),v(o,"class","flex justify-between"),v(j,"class","absolute left-0 flex h-full items-center bg-indigo-600"),ge(j,"width",l[3]+"%"),v(A,"class","relative h-2 w-full overflow-hidden rounded bg-indigo-100"),v(B,"class","text-xs font-semibold text-green-700"),v(J,"class","text-xs font-semibold"),xe(J,"text-red-700",l[2]>0),v(z,"class","flex justify-between"),ge(F,"width",l[1]+"%"),v(F,"class","absolute left-0 flex h-full items-center bg-green-200"),ge(ae,"width",l[2]+"%"),v(ae,"class","absolute right-0 flex h-full items-center justify-end bg-red-200"),v(W,"class","relative h-2 w-full overflow-hidden rounded"),v(e,"class","flex flex-col gap-4")},m(T,w){se(T,e,w),r(e,a),r(a,n),r(e,s),r(e,c),r(c,o),r(o,i),r(i,h),r(o,S),r(o,C),r(C,M),r(C,_),r(C,P),r(c,R),r(c,A),r(A,j),r(e,L),r(e,K),r(K,z),r(z,B),r(B,me),r(z,de),r(z,J),r(J,ee),r(K,fe),r(K,W),r(W,F),r(W,te),r(W,ae)},p(T,[w]){w&8&&d!==(d=V("batch","operations-progress",{percent:T[3]})+"")&&H(h,d),w&1&&U!==(U=Intl.NumberFormat("en-US").format(T[0].completeOperationCount)+"")&&H(M,U),w&1&&$!==($=Intl.NumberFormat("en-US").format(T[0].totalOperationCount)+"")&&H(P,$),w&8&&ge(j,"width",T[3]+"%"),w&1&&G!==(G=V("batch","operations-succeeded",{count:T[0].completeOperationCount})+"")&&H(me,G),w&1&&Q!==(Q=V("batch","operations-failed",{count:T[0].failureOperationCount})+"")&&H(ee,Q),w&4&&xe(J,"text-red-700",T[2]>0),w&2&&ge(F,"width",T[1]+"%"),w&4&&ge(ae,"width",T[2]+"%")},i:D,o:D,d(T){T&&f(e)}}}function Tt(l,e,a){let{operation:t}=e,n,s,c;return l.$$set=o=>{"operation"in o&&a(0,t=o.operation)},l.$$.update=()=>{if(l.$$.dirty&1){const{completeOperationCount:o,failureOperationCount:i,totalOperationCount:d}=t;a(1,n=Math.round(o/d*100)),a(2,s=Math.round(i/d*100)),a(3,c=Math.round((o+i)/d*100))}},[t,n,s,c]}class jt extends we{constructor(e){super(),De(this,e,Tt,Ct,Ee,{operation:0})}}function Ot(l){let e=V("batch","back-link")+"",a;return{c(){a=E(e)},l(t){a=k(t,e)},m(t,n){se(t,a,n)},p:D,d(t){t&&f(a)}}}function St(l){return{c:D,l:D,m:D,p:D,i:D,o:D,d:D}}function Rt(l){let e,a,t,n,s,c;return e=new Vt({props:{operation:l[7]}}),e.$on("toggleAutoRefresh",l[2]),t=new tt({props:{$$slots:{default:[Ft]},$$scope:{ctx:l}}}),s=new tt({props:{$$slots:{default:[Nt]},$$scope:{ctx:l}}}),{c(){X(e.$$.fragment),a=b(),X(t.$$.fragment),n=b(),X(s.$$.fragment)},l(o){Y(e.$$.fragment,o),a=g(o),Y(t.$$.fragment,o),n=g(o),Y(s.$$.fragment,o)},m(o,i){Z(e,o,i),se(o,a,i),Z(t,o,i),se(o,n,i),Z(s,o,i),c=!0},p(o,i){const d={};i&256&&(d.$$scope={dirty:i,ctx:o}),t.$set(d);const h={};i&256&&(h.$$scope={dirty:i,ctx:o}),s.$set(h)},i(o){c||(O(e.$$.fragment,o),O(t.$$.fragment,o),O(s.$$.fragment,o),c=!0)},o(o){y(e.$$.fragment,o),y(t.$$.fragment,o),y(s.$$.fragment,o),c=!1},d(o){x(e,o),o&&f(a),x(t,o),o&&f(n),x(s,o)}}}function Ft(l){let e,a;return e=new kt({props:{operation:l[7]}}),{c(){X(e.$$.fragment)},l(t){Y(e.$$.fragment,t)},m(t,n){Z(e,t,n),a=!0},p:D,i(t){a||(O(e.$$.fragment,t),a=!0)},o(t){y(e.$$.fragment,t),a=!1},d(t){x(e,t)}}}function Nt(l){let e,a;return e=new jt({props:{operation:l[7]}}),{c(){X(e.$$.fragment)},l(t){Y(e.$$.fragment,t)},m(t,n){Z(e,t,n),a=!0},p:D,i(t){a||(O(e.$$.fragment,t),a=!0)},o(t){y(e.$$.fragment,t),a=!1},d(t){x(e,t)}}}function yt(l){return{c:D,l:D,m:D,p:D,i:D,o:D,d:D}}function rt(l){let e,a,t={ctx:l,current:null,token:null,hasCatch:!1,pending:yt,then:Rt,catch:St,value:7,blocks:[,,,]};return ct(l[3](),t),{c(){e=et(),t.block.c()},l(n){e=et(),t.block.l(n)},m(n,s){se(n,e,s),t.block.m(n,t.anchor=s),t.mount=()=>e.parentNode,t.anchor=e,a=!0},p(n,s){l=n,ft(t,l,s)},i(n){a||(O(t.block),a=!0)},o(n){for(let s=0;s<3;s+=1){const c=t.blocks[s];y(c)}a=!1},d(n){n&&f(e),t.block.d(n),t.token=null,t=null}}}function At(l){let e,a,t,n,s=l[1],c;t=new bt({props:{href:at({namespace:l[0]}),icon:"chevron-left",$$slots:{default:[Ot]},$$scope:{ctx:l}}});let o=rt(l);return{c(){e=u("div"),a=u("div"),X(t.$$.fragment),n=b(),o.c(),this.h()},l(i){e=p(i,"DIV",{class:!0});var d=m(e);a=p(d,"DIV",{class:!0});var h=m(a);Y(t.$$.fragment,h),h.forEach(f),n=g(d),o.l(d),d.forEach(f),this.h()},h(){v(a,"class","flex flex-row"),v(e,"class","flex flex-col gap-4")},m(i,d){se(i,e,d),r(e,a),Z(t,a,null),r(e,n),o.m(e,null),c=!0},p(i,[d]){const h={};d&1&&(h.href=at({namespace:i[0]})),d&256&&(h.$$scope={dirty:d,ctx:i}),t.$set(h),d&2&&Ee(s,s=i[1])?(st(),y(o,1,1,D),ot(),o=rt(i),o.c(),O(o,1),o.m(e,null)):o.p(i,d)},i(i){c||(O(t.$$.fragment,i),O(o),c=!0)},o(i){y(t.$$.fragment,i),y(o),c=!1},d(i){i&&f(e),x(t),o.d(i)}}}function Bt(l,e,a){let t;Ie(l,Be,h=>a(6,t=h));let{namespace:n}=e,{jobId:s}=e,c=0,o;const i=h=>{h.detail.checked?a(1,c+=1):o&&window.clearTimeout(o)},d=()=>$t({jobId:s,namespace:n}).then(h=>(t&&h.state==="Running"&&(o=window.setTimeout(()=>{a(1,c+=1)},5e3)),h));return l.$$set=h=>{"namespace"in h&&a(0,n=h.namespace),"jobId"in h&&a(4,s=h.jobId)},[n,c,i,d,s]}class Ut extends we{constructor(e){super(),De(this,e,Bt,At,Ee,{namespace:0,jobId:4})}}function Mt(l){let e,a,t,n;return e=new pt({props:{title:V("batch","describe-page-title")+" | "+l[0]}}),t=new Ut({props:{jobId:l[0],namespace:l[1]}}),{c(){X(e.$$.fragment),a=b(),X(t.$$.fragment)},l(s){Y(e.$$.fragment,s),a=g(s),Y(t.$$.fragment,s)},m(s,c){Z(e,s,c),se(s,a,c),Z(t,s,c),n=!0},p(s,[c]){const o={};c&1&&(o.title=V("batch","describe-page-title")+" | "+s[0]),e.$set(o);const i={};c&1&&(i.jobId=s[0]),c&2&&(i.namespace=s[1]),t.$set(i)},i(s){n||(O(e.$$.fragment,s),O(t.$$.fragment,s),n=!0)},o(s){y(e.$$.fragment,s),y(t.$$.fragment,s),n=!1},d(s){x(e,s),s&&f(a),x(t,s)}}}function qt(l,e,a){let t,n,s;return Ie(l,ut,c=>a(2,s=c)),l.$$.update=()=>{l.$$.dirty&4&&a(1,t=s.params.namespace),l.$$.dirty&4&&a(0,n=s.params.jobId)},[n,t,s]}class ea extends we{constructor(e){super(),De(this,e,qt,Mt,Ee,{})}}export{ea as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-batch-operations-page.svelte.a2bcfbcd.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-batch-operations-page.svelte.a9c8ef59.js similarity index 96% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-batch-operations-page.svelte.a2bcfbcd.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-batch-operations-page.svelte.a9c8ef59.js index 4e5112885e..1e0ba534c4 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-batch-operations-page.svelte.a2bcfbcd.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-batch-operations-page.svelte.a9c8ef59.js @@ -1 +1 @@ -import{S as J,b as M,a as Q,C as g,D as d,E as k,j as _,g as h,F as w,K as V,e as K,f as p,z as U,h as G,a7 as le,k as u,m as F,c as E,p as H,q as L,d as B,u as ae,n as T,w as P,x as q,L as S,y as R,aq as W,ar as ne}from"../chunks/index.09834243.js";import{p as oe}from"../chunks/stores.9d4a2bb0.js";import{P as se}from"../chunks/page-title.34fd480b.js";import{t as O}from"../chunks/translate.0a219ae4.js";import{B as fe}from"../chunks/badge.f53d8aa8.js";import{E as ie}from"../chunks/empty-state.aea525ff.js";import{L as ce}from"../chunks/link.4944a6a5.js";import{T as ue,a as me}from"../chunks/table-header-row.843c5ee2.js";import{T as re}from"../chunks/table-row.185c48e5.js";import{t as pe,b as z}from"../chunks/format-date.71526e4c.js";import{q as X}from"../chunks/route-for.3b55a4c6.js";import{A as $e}from"../chunks/alert.67786ddb.js";import{L as _e}from"../chunks/loading.3bde98aa.js";import{l as Y,i as he}from"../chunks/batch-operations.2ef00b45.js";function Z(o,t,l){const e=o.slice();return e[4]=t[l].state,e[5]=t[l].jobId,e[6]=t[l].startTime,e[7]=t[l].closeTime,e}function y(o){let t,l;return t=new re({props:{$$slots:{default:[be]},$$scope:{ctx:o}}}),{c(){g(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,a){k(t,e,a),l=!0},p(e,a){const r={};a&1024&&(r.$$scope={dirty:a,ctx:e}),t.$set(r)},i(e){l||(_(t.$$.fragment,e),l=!0)},o(e){h(t.$$.fragment,e),l=!1},d(e){w(t,e)}}}function be(o){let t,l,e,a;return l=new ie({props:{title:O("batch","empty-state-title")}}),{c(){t=F("td"),g(l.$$.fragment),e=E(),this.h()},l(r){t=H(r,"TD",{colspan:!0});var f=L(t);d(l.$$.fragment,f),f.forEach(u),e=B(r),this.h()},h(){ae(t,"colspan","4")},m(r,f){p(r,t,f),k(l,t,null),p(r,e,f),a=!0},p:T,i(r){a||(_(l.$$.fragment,r),a=!0)},o(r){h(l.$$.fragment,r),a=!1},d(r){r&&u(t),w(l),r&&u(e)}}}function ge(o){let t=o[4]+"",l;return{c(){l=P(t)},l(e){l=q(e,t)},m(e,a){p(e,l,a)},p(e,a){a&2&&t!==(t=e[4]+"")&&R(l,t)},d(e){e&&u(l)}}}function de(o){let t=o[5]+"",l;return{c(){l=P(t)},l(e){l=q(e,t)},m(e,a){p(e,l,a)},p(e,a){a&2&&t!==(t=e[5]+"")&&R(l,t)},d(e){e&&u(l)}}}function ke(o){let t,l,e,a,r,f,s,c=z(o[6],o[2])+"",i,$,b,D=z(o[7],o[2])+"",v,I,j;return l=new fe({props:{type:o[3][o[4]],$$slots:{default:[ge]},$$scope:{ctx:o}}}),r=new ce({props:{href:X({namespace:o[0],jobId:o[5]}),$$slots:{default:[de]},$$scope:{ctx:o}}}),{c(){t=F("td"),g(l.$$.fragment),e=E(),a=F("td"),g(r.$$.fragment),f=E(),s=F("td"),i=P(c),$=E(),b=F("td"),v=P(D),I=E()},l(n){t=H(n,"TD",{});var m=L(t);d(l.$$.fragment,m),m.forEach(u),e=B(n),a=H(n,"TD",{});var C=L(a);d(r.$$.fragment,C),C.forEach(u),f=B(n),s=H(n,"TD",{});var N=L(s);i=q(N,c),N.forEach(u),$=B(n),b=H(n,"TD",{});var A=L(b);v=q(A,D),A.forEach(u),I=B(n)},m(n,m){p(n,t,m),k(l,t,null),p(n,e,m),p(n,a,m),k(r,a,null),p(n,f,m),p(n,s,m),S(s,i),p(n,$,m),p(n,b,m),S(b,v),p(n,I,m),j=!0},p(n,m){const C={};m&2&&(C.type=n[3][n[4]]),m&1026&&(C.$$scope={dirty:m,ctx:n}),l.$set(C);const N={};m&3&&(N.href=X({namespace:n[0],jobId:n[5]})),m&1026&&(N.$$scope={dirty:m,ctx:n}),r.$set(N),(!j||m&6)&&c!==(c=z(n[6],n[2])+"")&&R(i,c),(!j||m&6)&&D!==(D=z(n[7],n[2])+"")&&R(v,D)},i(n){j||(_(l.$$.fragment,n),_(r.$$.fragment,n),j=!0)},o(n){h(l.$$.fragment,n),h(r.$$.fragment,n),j=!1},d(n){n&&u(t),w(l),n&&u(e),n&&u(a),w(r),n&&u(f),n&&u(s),n&&u($),n&&u(b),n&&u(I)}}}function x(o){let t,l;return t=new re({props:{$$slots:{default:[ke]},$$scope:{ctx:o}}}),{c(){g(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,a){k(t,e,a),l=!0},p(e,a){const r={};a&1031&&(r.$$scope={dirty:a,ctx:e}),t.$set(r)},i(e){l||(_(t.$$.fragment,e),l=!0)},o(e){h(t.$$.fragment,e),l=!1},d(e){w(t,e)}}}function we(o){let t,l,e=o[1],a=[];for(let s=0;sh(a[s],1,1,()=>{a[s]=null});let f=null;return e.length||(f=y(o)),{c(){for(let s=0;s{f=null}),G()):(f=y(s),f.c(),_(f,1),f.m(t.parentNode,t))}},i(s){if(!l){for(let c=0;cl(2,e=s));let{namespace:a}=t,{operations:r}=t;const f={Completed:"green",Running:"blue",Failed:"red",Unspecified:"gray"};return o.$$set=s=>{"namespace"in s&&l(0,a=s.namespace),"operations"in s&&l(1,r=s.operations)},[a,r,e,f]}class De extends J{constructor(t){super(),M(this,t,Be,Ee,Q,{namespace:0,operations:1})}}function ee(o){o[2]=o[3].operations}function je(o){return{c:T,l:T,m:T,p:T,i:T,o:T,d:T}}function Fe(o){ee(o);let t,l,e,a=o[1]&&te(o);return l=new De({props:{operations:o[2],namespace:o[0]}}),{c(){a&&a.c(),t=E(),g(l.$$.fragment)},l(r){a&&a.l(r),t=B(r),d(l.$$.fragment,r)},m(r,f){a&&a.m(r,f),p(r,t,f),k(l,r,f),e=!0},p(r,f){ee(r),r[1]?a?(a.p(r,f),f&2&&_(a,1)):(a=te(r),a.c(),_(a,1),a.m(t.parentNode,t)):a&&(U(),h(a,1,1,()=>{a=null}),G());const s={};f&1&&(s.operations=r[2]),f&1&&(s.namespace=r[0]),l.$set(s)},i(r){e||(_(a),_(l.$$.fragment,r),e=!0)},o(r){h(a),h(l.$$.fragment,r),e=!1},d(r){a&&a.d(r),r&&u(t),w(l,r)}}}function te(o){let t,l;return t=new $e({props:{icon:"info",intent:"info",title:O("batch","max-concurrent-alert-title"),$$slots:{default:[He]},$$scope:{ctx:o}}}),{c(){g(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,a){k(t,e,a),l=!0},p(e,a){const r={};a&16&&(r.$$scope={dirty:a,ctx:e}),t.$set(r)},i(e){l||(_(t.$$.fragment,e),l=!0)},o(e){h(t.$$.fragment,e),l=!1},d(e){w(t,e)}}}function He(o){let t=O("batch","max-concurrent-alert-description")+"",l;return{c(){l=P(t)},l(e){l=q(e,t)},m(e,a){p(e,l,a)},p:T,d(e){e&&u(l)}}}function Le(o){let t,l;return t=new _e({}),{c(){g(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,a){k(t,e,a),l=!0},p:T,i(e){l||(_(t.$$.fragment,e),l=!0)},o(e){h(t.$$.fragment,e),l=!1},d(e){w(t,e)}}}function Pe(o){let t,l=O("batch","list-page-title")+"",e,a,r,f,s,c={ctx:o,current:null,token:null,hasCatch:!1,pending:Le,then:Fe,catch:je,value:3,blocks:[,,,]};return W(f=Y(o[0]),c),{c(){t=F("h1"),e=P(l),a=E(),r=K(),c.block.c(),this.h()},l(i){t=H(i,"H1",{class:!0});var $=L(t);e=q($,l),$.forEach(u),a=B(i),r=K(),c.block.l(i),this.h()},h(){ae(t,"class","text-2xl")},m(i,$){p(i,t,$),S(t,e),p(i,a,$),p(i,r,$),c.block.m(i,c.anchor=$),c.mount=()=>r.parentNode,c.anchor=r,s=!0},p(i,[$]){o=i,c.ctx=o,$&1&&f!==(f=Y(o[0]))&&W(f,c)||ne(c,o,$)},i(i){s||(_(c.block),s=!0)},o(i){for(let $=0;$<3;$+=1){const b=c.blocks[$];h(b)}s=!1},d(i){i&&u(t),i&&u(a),i&&u(r),c.block.d(i),c.token=null,c=null}}}function qe(o,t,l){let e;V(o,he,r=>l(1,e=r));let{namespace:a}=t;return o.$$set=r=>{"namespace"in r&&l(0,a=r.namespace)},[a,e]}class Ce extends J{constructor(t){super(),M(this,t,qe,Pe,Q,{namespace:0})}}function Ne(o){let t,l,e,a;return t=new se({props:{title:O("batch","list-page-title")}}),e=new Ce({props:{namespace:o[0]}}),{c(){g(t.$$.fragment),l=E(),g(e.$$.fragment)},l(r){d(t.$$.fragment,r),l=B(r),d(e.$$.fragment,r)},m(r,f){k(t,r,f),p(r,l,f),k(e,r,f),a=!0},p(r,[f]){const s={};f&1&&(s.namespace=r[0]),e.$set(s)},i(r){a||(_(t.$$.fragment,r),_(e.$$.fragment,r),a=!0)},o(r){h(t.$$.fragment,r),h(e.$$.fragment,r),a=!1},d(r){w(t,r),r&&u(l),w(e,r)}}}function Oe(o,t,l){let e,a;return V(o,oe,r=>l(1,a=r)),o.$$.update=()=>{o.$$.dirty&2&&l(0,e=a.params.namespace)},[e,a]}class Ye extends J{constructor(t){super(),M(this,t,Oe,Ne,Q,{})}}export{Ye as default}; +import{S as J,b as M,a as Q,C as g,D as d,E as k,j as _,g as h,F as w,K as V,e as K,f as p,z as U,h as G,a7 as le,k as u,m as F,c as E,p as H,q as L,d as B,u as ae,n as T,w as P,x as q,L as S,y as R,aq as W,ar as ne}from"../chunks/index.09834243.js";import{p as oe}from"../chunks/stores.cd833532.js";import{P as se}from"../chunks/page-title.34fd480b.js";import{t as O}from"../chunks/translate.0a219ae4.js";import{B as fe}from"../chunks/badge.f53d8aa8.js";import{E as ie}from"../chunks/empty-state.aea525ff.js";import{L as ce}from"../chunks/link.7cb1390a.js";import{T as ue,a as me}from"../chunks/table-header-row.843c5ee2.js";import{T as re}from"../chunks/table-row.185c48e5.js";import{t as pe,b as z}from"../chunks/format-date.79f77cbf.js";import{q as X}from"../chunks/route-for.d76d8056.js";import{A as $e}from"../chunks/alert.67786ddb.js";import{L as _e}from"../chunks/loading.3bde98aa.js";import{l as Y,i as he}from"../chunks/batch-operations.54e5cb65.js";function Z(o,t,l){const e=o.slice();return e[4]=t[l].state,e[5]=t[l].jobId,e[6]=t[l].startTime,e[7]=t[l].closeTime,e}function y(o){let t,l;return t=new re({props:{$$slots:{default:[be]},$$scope:{ctx:o}}}),{c(){g(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,a){k(t,e,a),l=!0},p(e,a){const r={};a&1024&&(r.$$scope={dirty:a,ctx:e}),t.$set(r)},i(e){l||(_(t.$$.fragment,e),l=!0)},o(e){h(t.$$.fragment,e),l=!1},d(e){w(t,e)}}}function be(o){let t,l,e,a;return l=new ie({props:{title:O("batch","empty-state-title")}}),{c(){t=F("td"),g(l.$$.fragment),e=E(),this.h()},l(r){t=H(r,"TD",{colspan:!0});var f=L(t);d(l.$$.fragment,f),f.forEach(u),e=B(r),this.h()},h(){ae(t,"colspan","4")},m(r,f){p(r,t,f),k(l,t,null),p(r,e,f),a=!0},p:T,i(r){a||(_(l.$$.fragment,r),a=!0)},o(r){h(l.$$.fragment,r),a=!1},d(r){r&&u(t),w(l),r&&u(e)}}}function ge(o){let t=o[4]+"",l;return{c(){l=P(t)},l(e){l=q(e,t)},m(e,a){p(e,l,a)},p(e,a){a&2&&t!==(t=e[4]+"")&&R(l,t)},d(e){e&&u(l)}}}function de(o){let t=o[5]+"",l;return{c(){l=P(t)},l(e){l=q(e,t)},m(e,a){p(e,l,a)},p(e,a){a&2&&t!==(t=e[5]+"")&&R(l,t)},d(e){e&&u(l)}}}function ke(o){let t,l,e,a,r,f,s,c=z(o[6],o[2])+"",i,$,b,D=z(o[7],o[2])+"",v,I,j;return l=new fe({props:{type:o[3][o[4]],$$slots:{default:[ge]},$$scope:{ctx:o}}}),r=new ce({props:{href:X({namespace:o[0],jobId:o[5]}),$$slots:{default:[de]},$$scope:{ctx:o}}}),{c(){t=F("td"),g(l.$$.fragment),e=E(),a=F("td"),g(r.$$.fragment),f=E(),s=F("td"),i=P(c),$=E(),b=F("td"),v=P(D),I=E()},l(n){t=H(n,"TD",{});var m=L(t);d(l.$$.fragment,m),m.forEach(u),e=B(n),a=H(n,"TD",{});var C=L(a);d(r.$$.fragment,C),C.forEach(u),f=B(n),s=H(n,"TD",{});var N=L(s);i=q(N,c),N.forEach(u),$=B(n),b=H(n,"TD",{});var A=L(b);v=q(A,D),A.forEach(u),I=B(n)},m(n,m){p(n,t,m),k(l,t,null),p(n,e,m),p(n,a,m),k(r,a,null),p(n,f,m),p(n,s,m),S(s,i),p(n,$,m),p(n,b,m),S(b,v),p(n,I,m),j=!0},p(n,m){const C={};m&2&&(C.type=n[3][n[4]]),m&1026&&(C.$$scope={dirty:m,ctx:n}),l.$set(C);const N={};m&3&&(N.href=X({namespace:n[0],jobId:n[5]})),m&1026&&(N.$$scope={dirty:m,ctx:n}),r.$set(N),(!j||m&6)&&c!==(c=z(n[6],n[2])+"")&&R(i,c),(!j||m&6)&&D!==(D=z(n[7],n[2])+"")&&R(v,D)},i(n){j||(_(l.$$.fragment,n),_(r.$$.fragment,n),j=!0)},o(n){h(l.$$.fragment,n),h(r.$$.fragment,n),j=!1},d(n){n&&u(t),w(l),n&&u(e),n&&u(a),w(r),n&&u(f),n&&u(s),n&&u($),n&&u(b),n&&u(I)}}}function x(o){let t,l;return t=new re({props:{$$slots:{default:[ke]},$$scope:{ctx:o}}}),{c(){g(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,a){k(t,e,a),l=!0},p(e,a){const r={};a&1031&&(r.$$scope={dirty:a,ctx:e}),t.$set(r)},i(e){l||(_(t.$$.fragment,e),l=!0)},o(e){h(t.$$.fragment,e),l=!1},d(e){w(t,e)}}}function we(o){let t,l,e=o[1],a=[];for(let s=0;sh(a[s],1,1,()=>{a[s]=null});let f=null;return e.length||(f=y(o)),{c(){for(let s=0;s{f=null}),G()):(f=y(s),f.c(),_(f,1),f.m(t.parentNode,t))}},i(s){if(!l){for(let c=0;cl(2,e=s));let{namespace:a}=t,{operations:r}=t;const f={Completed:"green",Running:"blue",Failed:"red",Unspecified:"gray"};return o.$$set=s=>{"namespace"in s&&l(0,a=s.namespace),"operations"in s&&l(1,r=s.operations)},[a,r,e,f]}class De extends J{constructor(t){super(),M(this,t,Be,Ee,Q,{namespace:0,operations:1})}}function ee(o){o[2]=o[3].operations}function je(o){return{c:T,l:T,m:T,p:T,i:T,o:T,d:T}}function Fe(o){ee(o);let t,l,e,a=o[1]&&te(o);return l=new De({props:{operations:o[2],namespace:o[0]}}),{c(){a&&a.c(),t=E(),g(l.$$.fragment)},l(r){a&&a.l(r),t=B(r),d(l.$$.fragment,r)},m(r,f){a&&a.m(r,f),p(r,t,f),k(l,r,f),e=!0},p(r,f){ee(r),r[1]?a?(a.p(r,f),f&2&&_(a,1)):(a=te(r),a.c(),_(a,1),a.m(t.parentNode,t)):a&&(U(),h(a,1,1,()=>{a=null}),G());const s={};f&1&&(s.operations=r[2]),f&1&&(s.namespace=r[0]),l.$set(s)},i(r){e||(_(a),_(l.$$.fragment,r),e=!0)},o(r){h(a),h(l.$$.fragment,r),e=!1},d(r){a&&a.d(r),r&&u(t),w(l,r)}}}function te(o){let t,l;return t=new $e({props:{icon:"info",intent:"info",title:O("batch","max-concurrent-alert-title"),$$slots:{default:[He]},$$scope:{ctx:o}}}),{c(){g(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,a){k(t,e,a),l=!0},p(e,a){const r={};a&16&&(r.$$scope={dirty:a,ctx:e}),t.$set(r)},i(e){l||(_(t.$$.fragment,e),l=!0)},o(e){h(t.$$.fragment,e),l=!1},d(e){w(t,e)}}}function He(o){let t=O("batch","max-concurrent-alert-description")+"",l;return{c(){l=P(t)},l(e){l=q(e,t)},m(e,a){p(e,l,a)},p:T,d(e){e&&u(l)}}}function Le(o){let t,l;return t=new _e({}),{c(){g(t.$$.fragment)},l(e){d(t.$$.fragment,e)},m(e,a){k(t,e,a),l=!0},p:T,i(e){l||(_(t.$$.fragment,e),l=!0)},o(e){h(t.$$.fragment,e),l=!1},d(e){w(t,e)}}}function Pe(o){let t,l=O("batch","list-page-title")+"",e,a,r,f,s,c={ctx:o,current:null,token:null,hasCatch:!1,pending:Le,then:Fe,catch:je,value:3,blocks:[,,,]};return W(f=Y(o[0]),c),{c(){t=F("h1"),e=P(l),a=E(),r=K(),c.block.c(),this.h()},l(i){t=H(i,"H1",{class:!0});var $=L(t);e=q($,l),$.forEach(u),a=B(i),r=K(),c.block.l(i),this.h()},h(){ae(t,"class","text-2xl")},m(i,$){p(i,t,$),S(t,e),p(i,a,$),p(i,r,$),c.block.m(i,c.anchor=$),c.mount=()=>r.parentNode,c.anchor=r,s=!0},p(i,[$]){o=i,c.ctx=o,$&1&&f!==(f=Y(o[0]))&&W(f,c)||ne(c,o,$)},i(i){s||(_(c.block),s=!0)},o(i){for(let $=0;$<3;$+=1){const b=c.blocks[$];h(b)}s=!1},d(i){i&&u(t),i&&u(a),i&&u(r),c.block.d(i),c.token=null,c=null}}}function qe(o,t,l){let e;V(o,he,r=>l(1,e=r));let{namespace:a}=t;return o.$$set=r=>{"namespace"in r&&l(0,a=r.namespace)},[a,e]}class Ce extends J{constructor(t){super(),M(this,t,qe,Pe,Q,{namespace:0})}}function Ne(o){let t,l,e,a;return t=new se({props:{title:O("batch","list-page-title")}}),e=new Ce({props:{namespace:o[0]}}),{c(){g(t.$$.fragment),l=E(),g(e.$$.fragment)},l(r){d(t.$$.fragment,r),l=B(r),d(e.$$.fragment,r)},m(r,f){k(t,r,f),p(r,l,f),k(e,r,f),a=!0},p(r,[f]){const s={};f&1&&(s.namespace=r[0]),e.$set(s)},i(r){a||(_(t.$$.fragment,r),_(e.$$.fragment,r),a=!0)},o(r){h(t.$$.fragment,r),h(e.$$.fragment,r),a=!1},d(r){w(t,r),r&&u(l),w(e,r)}}}function Oe(o,t,l){let e,a;return V(o,oe,r=>l(1,a=r)),o.$$.update=()=>{o.$$.dirty&2&&l(0,e=a.params.namespace)},[e,a]}class Ye extends J{constructor(t){super(),M(this,t,Oe,Ne,Q,{})}}export{Ye as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-layout.ts.10067b2b.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-layout.ts.10067b2b.js deleted file mode 100644 index 76269c799e..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-layout.ts.10067b2b.js +++ /dev/null @@ -1 +0,0 @@ -import{l}from"../chunks/_layout.cebacaa4.js";import"../chunks/search-attributes.03d6dc08.js";export{l as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-layout.ts.a3cb53fd.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-layout.ts.a3cb53fd.js new file mode 100644 index 0000000000..8ade8083c7 --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-layout.ts.a3cb53fd.js @@ -0,0 +1 @@ +import{l}from"../chunks/_layout.91beef47.js";import"../chunks/search-attributes.5b3e5149.js";export{l as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.svelte.30371574.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.svelte.7b6ebdeb.js similarity index 98% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.svelte.30371574.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.svelte.7b6ebdeb.js index 5627686410..93e1a0259a 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.svelte.30371574.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.svelte.7b6ebdeb.js @@ -1 +1 @@ -import{S as mt,b as $t,a as ht,C as J,c as I,m as p,w as b,e as Ke,D as Q,d as S,p as _,q as d,x as g,k as s,u as V,E as X,f as E,L as n,y as K,j as U,g as j,h as _t,F as Y,K as Ve,o as vt,a5 as Et,z as dt,a7 as Tt,n as be}from"../chunks/index.09834243.js";import{p as wt}from"../chunks/stores.9d4a2bb0.js";import{P as bt}from"../chunks/page-title.34fd480b.js";import{B as we}from"../chunks/badge.f53d8aa8.js";import{C as gt}from"../chunks/card.133df274.js";import{T as ze,a as Dt}from"../chunks/table-header-row.843c5ee2.js";import{T as At}from"../chunks/table-row.185c48e5.js";import{t as N}from"../chunks/translate.0a219ae4.js";import{l as nt}from"../chunks/namespaces.5721b9bd.js";import{s as Rt}from"../chunks/search-attributes.03d6dc08.js";import{t as kt,u as It,s as St}from"../chunks/versions.2bb4ba4c.js";import{s as it}from"../chunks/format-time.650b834b.js";function ct(o,e,l){const t=o.slice();return t[13]=e[l][0],t[14]=e[l][1],t}function Ct(o){var t;let e=((t=o[0])!=null&&t.isGlobalNamespace?N("yes"):N("no"))+"",l;return{c(){l=b(e)},l(a){l=g(a,e)},m(a,r){E(a,l,r)},p(a,r){var i;r&1&&e!==(e=((i=a[0])!=null&&i.isGlobalNamespace?N("yes"):N("no"))+"")&&K(l,e)},d(a){a&&s(l)}}}function Ht(o){var t,a;let e=((a=(t=o[0])==null?void 0:t.config)==null?void 0:a.historyArchivalState)+"",l;return{c(){l=b(e)},l(r){l=g(r,e)},m(r,i){E(r,l,i)},p(r,i){var u,f;i&1&&e!==(e=((f=(u=r[0])==null?void 0:u.config)==null?void 0:f.historyArchivalState)+"")&&K(l,e)},d(r){r&&s(l)}}}function Nt(o){var t,a;let e=((a=(t=o[0])==null?void 0:t.config)==null?void 0:a.visibilityArchivalState)+"",l;return{c(){l=b(e)},l(r){l=g(r,e)},m(r,i){E(r,l,i)},p(r,i){var u,f;i&1&&e!==(e=((f=(u=r[0])==null?void 0:u.config)==null?void 0:f.visibilityArchivalState)+"")&&K(l,e)},d(r){r&&s(l)}}}function Vt(o){var Me,Je,Qe,Xe,Ye,Ze,xe,et,tt,lt;let e,l,t=N("namespaces","owner")+"",a,r,i,u=(((Je=(Me=o[0])==null?void 0:Me.namespaceInfo)==null?void 0:Je.ownerEmail)||N("unknown"))+"",f,c,T,y,O=N("namespaces","global")+"",B,k,D,h,P,w,z,G=N("namespaces","retention-period")+"",Z,A,C,q=it((Xe=(Qe=o[0])==null?void 0:Qe.config)==null?void 0:Xe.workflowExecutionRetentionTtl.toString())+"",m,R,F,x,_e=N("namespaces","history-archival")+"",ae,ee,te,W,le,se,de,Ie=N("namespaces","visibility-archival")+"",me,re,ie,$,H,M,oe,ne=N("namespaces","failover-version")+"",ce,ue,pe,he=((Ye=o[0])==null?void 0:Ye.failoverVersion)+"",ge,$e,fe,ve,De=N("namespaces","clusters")+"",Se,Ce,Le,We,Ee;return h=new we({props:{class:"px-1 py-0",type:o[8]((Ze=o[0])==null?void 0:Ze.isGlobalNamespace,!1),$$slots:{default:[Ct]},$$scope:{ctx:o}}}),W=new we({props:{class:"px-1 py-0",type:o[7]((et=(xe=o[0])==null?void 0:xe.config)==null?void 0:et.historyArchivalState),$$slots:{default:[Ht]},$$scope:{ctx:o}}}),$=new we({props:{class:"px-1 py-0",type:o[7]((lt=(tt=o[0])==null?void 0:tt.config)==null?void 0:lt.visibilityArchivalState),$$slots:{default:[Nt]},$$scope:{ctx:o}}}),{c(){e=p("tr"),l=p("td"),a=b(t),r=I(),i=p("td"),f=b(u),c=I(),T=p("tr"),y=p("td"),B=b(O),k=I(),D=p("td"),J(h.$$.fragment),P=I(),w=p("tr"),z=p("td"),Z=b(G),A=I(),C=p("td"),m=b(q),R=I(),F=p("tr"),x=p("td"),ae=b(_e),ee=I(),te=p("td"),J(W.$$.fragment),le=I(),se=p("tr"),de=p("td"),me=b(Ie),re=I(),ie=p("td"),J($.$$.fragment),H=I(),M=p("tr"),oe=p("td"),ce=b(ne),ue=I(),pe=p("td"),ge=b(he),$e=I(),fe=p("tr"),ve=p("td"),Se=b(De),Ce=I(),Le=p("td"),We=b(o[1]),this.h()},l(v){e=_(v,"TR",{"data-testid":!0});var L=d(e);l=_(L,"TD",{});var He=d(l);a=g(He,t),He.forEach(s),r=S(L),i=_(L,"TD",{});var Ne=d(i);f=g(Ne,u),Ne.forEach(s),L.forEach(s),c=S(v),T=_(v,"TR",{"data-testid":!0});var Te=d(T);y=_(Te,"TD",{});var ye=d(y);B=g(ye,O),ye.forEach(s),k=S(Te),D=_(Te,"TD",{});var Be=d(D);Q(h.$$.fragment,Be),Be.forEach(s),Te.forEach(s),P=S(v),w=_(v,"TR",{"data-testid":!0});var Ae=d(w);z=_(Ae,"TD",{});var Pe=d(z);Z=g(Pe,G),Pe.forEach(s),A=S(Ae),C=_(Ae,"TD",{});var Oe=d(C);m=g(Oe,q),Oe.forEach(s),Ae.forEach(s),R=S(v),F=_(v,"TR",{"data-testid":!0});var Re=d(F);x=_(Re,"TD",{});var Fe=d(x);ae=g(Fe,_e),Fe.forEach(s),ee=S(Re),te=_(Re,"TD",{});var Ue=d(te);Q(W.$$.fragment,Ue),Ue.forEach(s),Re.forEach(s),le=S(v),se=_(v,"TR",{"data-testid":!0});var ke=d(se);de=_(ke,"TD",{});var Ge=d(de);me=g(Ge,Ie),Ge.forEach(s),re=S(ke),ie=_(ke,"TD",{});var at=d(ie);Q($.$$.fragment,at),at.forEach(s),ke.forEach(s),H=S(v),M=_(v,"TR",{"data-testid":!0});var je=d(M);oe=_(je,"TD",{});var st=d(oe);ce=g(st,ne),st.forEach(s),ue=S(je),pe=_(je,"TD",{});var rt=d(pe);ge=g(rt,he),rt.forEach(s),je.forEach(s),$e=S(v),fe=_(v,"TR",{"data-testid":!0});var qe=d(fe);ve=_(qe,"TD",{});var ot=d(ve);Se=g(ot,De),ot.forEach(s),Ce=S(qe),Le=_(qe,"TD",{});var ft=d(Le);We=g(ft,o[1]),ft.forEach(s),qe.forEach(s),this.h()},h(){V(e,"data-testid","namespace-owner"),V(T,"data-testid","namespace-global"),V(w,"data-testid","namespace-retention"),V(F,"data-testid","namespace-history"),V(se,"data-testid","namespace-visibility"),V(M,"data-testid","namespace-failover"),V(fe,"data-testid","namespace-clusters")},m(v,L){E(v,e,L),n(e,l),n(l,a),n(e,r),n(e,i),n(i,f),E(v,c,L),E(v,T,L),n(T,y),n(y,B),n(T,k),n(T,D),X(h,D,null),E(v,P,L),E(v,w,L),n(w,z),n(z,Z),n(w,A),n(w,C),n(C,m),E(v,R,L),E(v,F,L),n(F,x),n(x,ae),n(F,ee),n(F,te),X(W,te,null),E(v,le,L),E(v,se,L),n(se,de),n(de,me),n(se,re),n(se,ie),X($,ie,null),E(v,H,L),E(v,M,L),n(M,oe),n(oe,ce),n(M,ue),n(M,pe),n(pe,ge),E(v,$e,L),E(v,fe,L),n(fe,ve),n(ve,Se),n(fe,Ce),n(fe,Le),n(Le,We),Ee=!0},p(v,L){var ye,Be,Ae,Pe,Oe,Re,Fe,Ue,ke,Ge;(!Ee||L&1)&&u!==(u=(((Be=(ye=v[0])==null?void 0:ye.namespaceInfo)==null?void 0:Be.ownerEmail)||N("unknown"))+"")&&K(f,u);const He={};L&1&&(He.type=v[8]((Ae=v[0])==null?void 0:Ae.isGlobalNamespace,!1)),L&131073&&(He.$$scope={dirty:L,ctx:v}),h.$set(He),(!Ee||L&1)&&q!==(q=it((Oe=(Pe=v[0])==null?void 0:Pe.config)==null?void 0:Oe.workflowExecutionRetentionTtl.toString())+"")&&K(m,q);const Ne={};L&1&&(Ne.type=v[7]((Fe=(Re=v[0])==null?void 0:Re.config)==null?void 0:Fe.historyArchivalState)),L&131073&&(Ne.$$scope={dirty:L,ctx:v}),W.$set(Ne);const Te={};L&1&&(Te.type=v[7]((ke=(Ue=v[0])==null?void 0:Ue.config)==null?void 0:ke.visibilityArchivalState)),L&131073&&(Te.$$scope={dirty:L,ctx:v}),$.$set(Te),(!Ee||L&1)&&he!==(he=((Ge=v[0])==null?void 0:Ge.failoverVersion)+"")&&K(ge,he),(!Ee||L&2)&&K(We,v[1])},i(v){Ee||(U(h.$$.fragment,v),U(W.$$.fragment,v),U($.$$.fragment,v),Ee=!0)},o(v){j(h.$$.fragment,v),j(W.$$.fragment,v),j($.$$.fragment,v),Ee=!1},d(v){v&&s(e),v&&s(c),v&&s(T),Y(h),v&&s(P),v&&s(w),v&&s(R),v&&s(F),Y(W),v&&s(le),v&&s(se),Y($),v&&s(H),v&&s(M),v&&s($e),v&&s(fe)}}}function Lt(o){let e,l=`${N("namespaces","namespace")} ${N("details")}`,t;return{c(){e=p("caption"),t=b(l),this.h()},l(a){e=_(a,"CAPTION",{class:!0,slot:!0});var r=d(e);t=g(r,l),r.forEach(s),this.h()},h(){V(e,"class","sr-only"),V(e,"slot","caption")},m(a,r){E(a,e,r),n(e,t)},p:be,d(a){a&&s(e)}}}function yt(o){let e,l,t;return{c(){e=p("tr"),l=p("th"),t=p("th"),this.h()},l(a){e=_(a,"TR",{slot:!0});var r=d(e);l=_(r,"TH",{class:!0}),d(l).forEach(s),t=_(r,"TH",{}),d(t).forEach(s),r.forEach(s),this.h()},h(){V(l,"class","w-1/2 lg:w-3/5"),V(e,"slot","headers")},m(a,r){E(a,e,r),n(e,l),n(e,t)},p:be,d(a){a&&s(e)}}}function Bt(o){let e,l,t,a,r,i,u,f,c,T,y,O,B;return{c(){e=p("tr"),l=p("td"),t=b("Temporal Server Version"),a=I(),r=p("td"),i=b(o[3]),u=I(),f=p("tr"),c=p("td"),T=b("Temporal UI Version"),y=I(),O=p("td"),B=b(o[4]),this.h()},l(k){e=_(k,"TR",{"data-testid":!0});var D=d(e);l=_(D,"TD",{});var h=d(l);t=g(h,"Temporal Server Version"),h.forEach(s),a=S(D),r=_(D,"TD",{});var P=d(r);i=g(P,o[3]),P.forEach(s),D.forEach(s),u=S(k),f=_(k,"TR",{"data-testid":!0});var w=d(f);c=_(w,"TD",{});var z=d(c);T=g(z,"Temporal UI Version"),z.forEach(s),y=S(w),O=_(w,"TD",{});var G=d(O);B=g(G,o[4]),G.forEach(s),w.forEach(s),this.h()},h(){V(e,"data-testid","server-version"),V(f,"data-testid","ui-version")},m(k,D){E(k,e,D),n(e,l),n(l,t),n(e,a),n(e,r),n(r,i),E(k,u,D),E(k,f,D),n(f,c),n(c,T),n(f,y),n(f,O),n(O,B)},p(k,D){D&8&&K(i,k[3]),D&16&&K(B,k[4])},d(k){k&&s(e),k&&s(u),k&&s(f)}}}function Pt(o){let e,l=N("namespaces","versions")+"",t;return{c(){e=p("caption"),t=b(l),this.h()},l(a){e=_(a,"CAPTION",{class:!0,slot:!0});var r=d(e);t=g(r,l),r.forEach(s),this.h()},h(){V(e,"class","sr-only"),V(e,"slot","caption")},m(a,r){E(a,e,r),n(e,t)},p:be,d(a){a&&s(e)}}}function Ot(o){let e,l,t;return{c(){e=p("tr"),l=p("th"),t=p("th"),this.h()},l(a){e=_(a,"TR",{slot:!0});var r=d(e);l=_(r,"TH",{class:!0}),d(l).forEach(s),t=_(r,"TH",{}),d(t).forEach(s),r.forEach(s),this.h()},h(){V(l,"class","w-1/2 lg:w-3/4"),V(e,"slot","headers")},m(a,r){E(a,e,r),n(e,l),n(e,t)},p:be,d(a){a&&s(e)}}}function Ft(o){let e=o[9](o[5].disableWriteActions)+"",l;return{c(){l=b(e)},l(t){l=g(t,e)},m(t,a){E(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].disableWriteActions)+"")&&K(l,e)},d(t){t&&s(l)}}}function Ut(o){let e=o[9](o[5].workflowTerminateDisabled)+"",l;return{c(){l=b(e)},l(t){l=g(t,e)},m(t,a){E(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].workflowTerminateDisabled)+"")&&K(l,e)},d(t){t&&s(l)}}}function Gt(o){let e=o[9](o[5].workflowCancelDisabled)+"",l;return{c(){l=b(e)},l(t){l=g(t,e)},m(t,a){E(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].workflowCancelDisabled)+"")&&K(l,e)},d(t){t&&s(l)}}}function Wt(o){let e=o[9](o[5].workflowSignalDisabled)+"",l;return{c(){l=b(e)},l(t){l=g(t,e)},m(t,a){E(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].workflowSignalDisabled)+"")&&K(l,e)},d(t){t&&s(l)}}}function jt(o){let e=o[9](o[5].workflowResetDisabled)+"",l;return{c(){l=b(e)},l(t){l=g(t,e)},m(t,a){E(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].workflowResetDisabled)+"")&&K(l,e)},d(t){t&&s(l)}}}function qt(o){let e,l,t=N("namespaces","client-actions")+"",a,r,i,u,f,c,T,y=N("workflows","terminate-modal-title")+"",O,B,k,D,h,P,w,z=N("workflows","cancel-modal-title")+"",G,Z,A,C,q,m,R,F=N("namespaces","signal-workflow")+"",x,_e,ae,ee,te,W,le,se=N("workflows","reset-modal-title")+"",de,Ie,me,re,ie;return u=new we({props:{class:"px-1 py-0",type:o[8](o[5].disableWriteActions),$$slots:{default:[Ft]},$$scope:{ctx:o}}}),D=new we({props:{class:"px-1 py-0",type:o[8](o[5].workflowTerminateDisabled),$$slots:{default:[Ut]},$$scope:{ctx:o}}}),C=new we({props:{class:"px-1 py-0",type:o[8](o[5].workflowCancelDisabled),$$slots:{default:[Gt]},$$scope:{ctx:o}}}),ee=new we({props:{class:"px-1 py-0",type:o[8](o[5].workflowSignalDisabled),$$slots:{default:[Wt]},$$scope:{ctx:o}}}),re=new we({props:{class:"px-1 py-0",type:o[8](o[5].workflowResetDisabled),$$slots:{default:[jt]},$$scope:{ctx:o}}}),{c(){e=p("tr"),l=p("td"),a=b(t),r=I(),i=p("td"),J(u.$$.fragment),f=I(),c=p("tr"),T=p("td"),O=b(y),B=I(),k=p("td"),J(D.$$.fragment),h=I(),P=p("tr"),w=p("td"),G=b(z),Z=I(),A=p("td"),J(C.$$.fragment),q=I(),m=p("tr"),R=p("td"),x=b(F),_e=I(),ae=p("td"),J(ee.$$.fragment),te=I(),W=p("tr"),le=p("td"),de=b(se),Ie=I(),me=p("td"),J(re.$$.fragment)},l($){e=_($,"TR",{});var H=d(e);l=_(H,"TD",{});var M=d(l);a=g(M,t),M.forEach(s),r=S(H),i=_(H,"TD",{});var oe=d(i);Q(u.$$.fragment,oe),oe.forEach(s),H.forEach(s),f=S($),c=_($,"TR",{});var ne=d(c);T=_(ne,"TD",{});var ce=d(T);O=g(ce,y),ce.forEach(s),B=S(ne),k=_(ne,"TD",{});var ue=d(k);Q(D.$$.fragment,ue),ue.forEach(s),ne.forEach(s),h=S($),P=_($,"TR",{});var pe=d(P);w=_(pe,"TD",{});var he=d(w);G=g(he,z),he.forEach(s),Z=S(pe),A=_(pe,"TD",{});var ge=d(A);Q(C.$$.fragment,ge),ge.forEach(s),pe.forEach(s),q=S($),m=_($,"TR",{});var $e=d(m);R=_($e,"TD",{});var fe=d(R);x=g(fe,F),fe.forEach(s),_e=S($e),ae=_($e,"TD",{});var ve=d(ae);Q(ee.$$.fragment,ve),ve.forEach(s),$e.forEach(s),te=S($),W=_($,"TR",{});var De=d(W);le=_(De,"TD",{});var Se=d(le);de=g(Se,se),Se.forEach(s),Ie=S(De),me=_(De,"TD",{});var Ce=d(me);Q(re.$$.fragment,Ce),Ce.forEach(s),De.forEach(s)},m($,H){E($,e,H),n(e,l),n(l,a),n(e,r),n(e,i),X(u,i,null),E($,f,H),E($,c,H),n(c,T),n(T,O),n(c,B),n(c,k),X(D,k,null),E($,h,H),E($,P,H),n(P,w),n(w,G),n(P,Z),n(P,A),X(C,A,null),E($,q,H),E($,m,H),n(m,R),n(R,x),n(m,_e),n(m,ae),X(ee,ae,null),E($,te,H),E($,W,H),n(W,le),n(le,de),n(W,Ie),n(W,me),X(re,me,null),ie=!0},p($,H){const M={};H&32&&(M.type=$[8]($[5].disableWriteActions)),H&131104&&(M.$$scope={dirty:H,ctx:$}),u.$set(M);const oe={};H&32&&(oe.type=$[8]($[5].workflowTerminateDisabled)),H&131104&&(oe.$$scope={dirty:H,ctx:$}),D.$set(oe);const ne={};H&32&&(ne.type=$[8]($[5].workflowCancelDisabled)),H&131104&&(ne.$$scope={dirty:H,ctx:$}),C.$set(ne);const ce={};H&32&&(ce.type=$[8]($[5].workflowSignalDisabled)),H&131104&&(ce.$$scope={dirty:H,ctx:$}),ee.$set(ce);const ue={};H&32&&(ue.type=$[8]($[5].workflowResetDisabled)),H&131104&&(ue.$$scope={dirty:H,ctx:$}),re.$set(ue)},i($){ie||(U(u.$$.fragment,$),U(D.$$.fragment,$),U(C.$$.fragment,$),U(ee.$$.fragment,$),U(re.$$.fragment,$),ie=!0)},o($){j(u.$$.fragment,$),j(D.$$.fragment,$),j(C.$$.fragment,$),j(ee.$$.fragment,$),j(re.$$.fragment,$),ie=!1},d($){$&&s(e),Y(u),$&&s(f),$&&s(c),Y(D),$&&s(h),$&&s(P),Y(C),$&&s(q),$&&s(m),Y(ee),$&&s(te),$&&s(W),Y(re)}}}function zt(o){let e,l=N("namespaces","client-actions")+"",t;return{c(){e=p("caption"),t=b(l),this.h()},l(a){e=_(a,"CAPTION",{class:!0,slot:!0});var r=d(e);t=g(r,l),r.forEach(s),this.h()},h(){V(e,"class","sr-only"),V(e,"slot","caption")},m(a,r){E(a,e,r),n(e,t)},p:be,d(a){a&&s(e)}}}function Kt(o){let e,l,t;return{c(){e=p("tr"),l=p("th"),t=p("th"),this.h()},l(a){e=_(a,"TR",{slot:!0});var r=d(e);l=_(r,"TH",{class:!0}),d(l).forEach(s),t=_(r,"TH",{}),d(t).forEach(s),r.forEach(s),this.h()},h(){V(l,"class","w-1/2 lg:w-3/5"),V(e,"slot","headers")},m(a,r){E(a,e,r),n(e,l),n(e,t)},p:be,d(a){a&&s(e)}}}function Mt(o){let e,l,t=N("details")+"",a,r,i,u,f,c,T=N("namespaces","versions")+"",y,O,B,k,D,h,P=N("namespaces","client-actions")+"",w,z,G,Z;return i=new ze({props:{variant:"simple",$$slots:{headers:[yt],caption:[Lt],default:[Vt]},$$scope:{ctx:o}}}),B=new ze({props:{variant:"simple",$$slots:{headers:[Ot],caption:[Pt],default:[Bt]},$$scope:{ctx:o}}}),G=new ze({props:{variant:"simple",$$slots:{headers:[Kt],caption:[zt],default:[qt]},$$scope:{ctx:o}}}),{c(){e=p("article"),l=p("h3"),a=b(t),r=I(),J(i.$$.fragment),u=I(),f=p("article"),c=p("h3"),y=b(T),O=I(),J(B.$$.fragment),k=I(),D=p("article"),h=p("h3"),w=b(P),z=I(),J(G.$$.fragment),this.h()},l(A){e=_(A,"ARTICLE",{class:!0});var C=d(e);l=_(C,"H3",{class:!0});var q=d(l);a=g(q,t),q.forEach(s),r=S(C),Q(i.$$.fragment,C),C.forEach(s),u=S(A),f=_(A,"ARTICLE",{class:!0});var m=d(f);c=_(m,"H3",{class:!0});var R=d(c);y=g(R,T),R.forEach(s),O=S(m),Q(B.$$.fragment,m),m.forEach(s),k=S(A),D=_(A,"ARTICLE",{class:!0});var F=d(D);h=_(F,"H3",{class:!0});var x=d(h);w=g(x,P),x.forEach(s),z=S(F),Q(G.$$.fragment,F),F.forEach(s),this.h()},h(){V(l,"class","text-lg font-medium"),V(e,"class","namespace-info flex w-full flex-col"),V(c,"class","text-lg font-medium"),V(f,"class","namespace-info flex w-full flex-col"),V(h,"class","text-lg font-medium"),V(D,"class","namespace-info flex w-full flex-col")},m(A,C){E(A,e,C),n(e,l),n(l,a),n(e,r),X(i,e,null),E(A,u,C),E(A,f,C),n(f,c),n(c,y),n(f,O),X(B,f,null),E(A,k,C),E(A,D,C),n(D,h),n(h,w),n(D,z),X(G,D,null),Z=!0},p(A,C){const q={};C&131075&&(q.$$scope={dirty:C,ctx:A}),i.$set(q);const m={};C&131096&&(m.$$scope={dirty:C,ctx:A}),B.$set(m);const R={};C&131104&&(R.$$scope={dirty:C,ctx:A}),G.$set(R)},i(A){Z||(U(i.$$.fragment,A),U(B.$$.fragment,A),U(G.$$.fragment,A),Z=!0)},o(A){j(i.$$.fragment,A),j(B.$$.fragment,A),j(G.$$.fragment,A),Z=!1},d(A){A&&s(e),Y(i),A&&s(u),A&&s(f),Y(B),A&&s(k),A&&s(D),Y(G)}}}function ut(o){let e,l,t=N("events","attribute-group-search-attributes")+"",a,r,i,u;return i=new ze({props:{class:"w-full",$$slots:{headers:[Zt],caption:[Xt],default:[Qt]},$$scope:{ctx:o}}}),{c(){e=p("section"),l=p("h3"),a=b(t),r=I(),J(i.$$.fragment),this.h()},l(f){e=_(f,"SECTION",{});var c=d(e);l=_(c,"H3",{class:!0});var T=d(l);a=g(T,t),T.forEach(s),r=S(c),Q(i.$$.fragment,c),c.forEach(s),this.h()},h(){V(l,"class","my-4 text-lg font-medium")},m(f,c){E(f,e,c),n(e,l),n(l,a),n(e,r),X(i,e,null),u=!0},p(f,c){const T={};c&131136&&(T.$$scope={dirty:c,ctx:f}),i.$set(T)},i(f){u||(U(i.$$.fragment,f),u=!0)},o(f){j(i.$$.fragment,f),u=!1},d(f){f&&s(e),Y(i)}}}function Jt(o){let e,l=o[13]+"",t,a,r,i=o[14]+"",u,f;return{c(){e=p("td"),t=b(l),a=I(),r=p("td"),u=b(i),f=I()},l(c){e=_(c,"TD",{});var T=d(e);t=g(T,l),T.forEach(s),a=S(c),r=_(c,"TD",{});var y=d(r);u=g(y,i),y.forEach(s),f=S(c)},m(c,T){E(c,e,T),n(e,t),E(c,a,T),E(c,r,T),n(r,u),E(c,f,T)},p(c,T){T&64&&l!==(l=c[13]+"")&&K(t,l),T&64&&i!==(i=c[14]+"")&&K(u,i)},d(c){c&&s(e),c&&s(a),c&&s(r),c&&s(f)}}}function pt(o){let e,l;return e=new At({props:{$$slots:{default:[Jt]},$$scope:{ctx:o}}}),{c(){J(e.$$.fragment)},l(t){Q(e.$$.fragment,t)},m(t,a){X(e,t,a),l=!0},p(t,a){const r={};a&131136&&(r.$$scope={dirty:a,ctx:t}),e.$set(r)},i(t){l||(U(e.$$.fragment,t),l=!0)},o(t){j(e.$$.fragment,t),l=!1},d(t){Y(e,t)}}}function Qt(o){let e,l,t=Object.entries(o[6]),a=[];for(let i=0;ij(a[i],1,1,()=>{a[i]=null});return{c(){for(let i=0;i{w=null}),_t())},i(m){P||(U(e.$$.fragment,m),U(k.$$.fragment,m),U(w),P=!0)},o(m){j(e.$$.fragment,m),j(k.$$.fragment,m),j(w),P=!1},d(m){Y(e,m),m&&s(l),m&&s(t),m&&s(c),m&&s(T),m&&s(B),Y(k,m),m&&s(D),w&&w.d(m),m&&s(h)}}}function el(o,e,l){let t,a,r,i,u,f,c,T;Ve(o,nt,h=>l(12,r=h)),Ve(o,wt,h=>l(2,i=h)),Ve(o,kt,h=>l(3,u=h)),Ve(o,It,h=>l(4,f=h)),Ve(o,St,h=>l(5,c=h)),Ve(o,Rt,h=>l(6,T=h));let{data:y}=e;var O;(function(h){h[h.ARCHIVAL_STATE_UNSPECIFIED=0]="ARCHIVAL_STATE_UNSPECIFIED",h[h.ARCHIVAL_STATE_DISABLED=1]="ARCHIVAL_STATE_DISABLED",h[h.ARCHIVAL_STATE_ENABLED=2]="ARCHIVAL_STATE_ENABLED"})(O||(O={}));const B=h=>h===O.ARCHIVAL_STATE_ENABLED?"green":"default",k=(h,P=!0)=>P?h?"default":"green":h?"green":"default",D=h=>h?N("disabled"):N("enabled");return vt(()=>{var h;Et(nt,r=(h=t==null?void 0:t.namespaceInfo)===null||h===void 0?void 0:h.name,r)}),o.$$set=h=>{"data"in h&&l(10,y=h.data)},o.$$.update=()=>{o.$$.dirty&1024&&l(0,{namespace:t,clusters:a}=y,t,(l(1,a),l(10,y)))},[t,a,i,u,f,c,T,B,k,D,y]}class _l extends mt{constructor(e){super(),$t(this,e,el,xt,ht,{data:10})}}export{_l as default}; +import{S as mt,b as $t,a as ht,C as J,c as I,m as p,w as b,e as Ke,D as Q,d as S,p as _,q as d,x as g,k as s,u as V,E as X,f as E,L as n,y as K,j as U,g as j,h as _t,F as Y,K as Ve,o as vt,a5 as Et,z as dt,a7 as Tt,n as be}from"../chunks/index.09834243.js";import{p as wt}from"../chunks/stores.cd833532.js";import{P as bt}from"../chunks/page-title.34fd480b.js";import{B as we}from"../chunks/badge.f53d8aa8.js";import{C as gt}from"../chunks/card.133df274.js";import{T as ze,a as Dt}from"../chunks/table-header-row.843c5ee2.js";import{T as At}from"../chunks/table-row.185c48e5.js";import{t as N}from"../chunks/translate.0a219ae4.js";import{l as nt}from"../chunks/namespaces.5ad7f936.js";import{s as Rt}from"../chunks/search-attributes.5b3e5149.js";import{t as kt,u as It,s as St}from"../chunks/versions.a86975a1.js";import{s as it}from"../chunks/format-time.650b834b.js";function ct(o,e,l){const t=o.slice();return t[13]=e[l][0],t[14]=e[l][1],t}function Ct(o){var t;let e=((t=o[0])!=null&&t.isGlobalNamespace?N("yes"):N("no"))+"",l;return{c(){l=b(e)},l(a){l=g(a,e)},m(a,r){E(a,l,r)},p(a,r){var i;r&1&&e!==(e=((i=a[0])!=null&&i.isGlobalNamespace?N("yes"):N("no"))+"")&&K(l,e)},d(a){a&&s(l)}}}function Ht(o){var t,a;let e=((a=(t=o[0])==null?void 0:t.config)==null?void 0:a.historyArchivalState)+"",l;return{c(){l=b(e)},l(r){l=g(r,e)},m(r,i){E(r,l,i)},p(r,i){var u,f;i&1&&e!==(e=((f=(u=r[0])==null?void 0:u.config)==null?void 0:f.historyArchivalState)+"")&&K(l,e)},d(r){r&&s(l)}}}function Nt(o){var t,a;let e=((a=(t=o[0])==null?void 0:t.config)==null?void 0:a.visibilityArchivalState)+"",l;return{c(){l=b(e)},l(r){l=g(r,e)},m(r,i){E(r,l,i)},p(r,i){var u,f;i&1&&e!==(e=((f=(u=r[0])==null?void 0:u.config)==null?void 0:f.visibilityArchivalState)+"")&&K(l,e)},d(r){r&&s(l)}}}function Vt(o){var Me,Je,Qe,Xe,Ye,Ze,xe,et,tt,lt;let e,l,t=N("namespaces","owner")+"",a,r,i,u=(((Je=(Me=o[0])==null?void 0:Me.namespaceInfo)==null?void 0:Je.ownerEmail)||N("unknown"))+"",f,c,T,y,O=N("namespaces","global")+"",B,k,D,h,P,w,z,G=N("namespaces","retention-period")+"",Z,A,C,q=it((Xe=(Qe=o[0])==null?void 0:Qe.config)==null?void 0:Xe.workflowExecutionRetentionTtl.toString())+"",m,R,F,x,_e=N("namespaces","history-archival")+"",ae,ee,te,W,le,se,de,Ie=N("namespaces","visibility-archival")+"",me,re,ie,$,H,M,oe,ne=N("namespaces","failover-version")+"",ce,ue,pe,he=((Ye=o[0])==null?void 0:Ye.failoverVersion)+"",ge,$e,fe,ve,De=N("namespaces","clusters")+"",Se,Ce,Le,We,Ee;return h=new we({props:{class:"px-1 py-0",type:o[8]((Ze=o[0])==null?void 0:Ze.isGlobalNamespace,!1),$$slots:{default:[Ct]},$$scope:{ctx:o}}}),W=new we({props:{class:"px-1 py-0",type:o[7]((et=(xe=o[0])==null?void 0:xe.config)==null?void 0:et.historyArchivalState),$$slots:{default:[Ht]},$$scope:{ctx:o}}}),$=new we({props:{class:"px-1 py-0",type:o[7]((lt=(tt=o[0])==null?void 0:tt.config)==null?void 0:lt.visibilityArchivalState),$$slots:{default:[Nt]},$$scope:{ctx:o}}}),{c(){e=p("tr"),l=p("td"),a=b(t),r=I(),i=p("td"),f=b(u),c=I(),T=p("tr"),y=p("td"),B=b(O),k=I(),D=p("td"),J(h.$$.fragment),P=I(),w=p("tr"),z=p("td"),Z=b(G),A=I(),C=p("td"),m=b(q),R=I(),F=p("tr"),x=p("td"),ae=b(_e),ee=I(),te=p("td"),J(W.$$.fragment),le=I(),se=p("tr"),de=p("td"),me=b(Ie),re=I(),ie=p("td"),J($.$$.fragment),H=I(),M=p("tr"),oe=p("td"),ce=b(ne),ue=I(),pe=p("td"),ge=b(he),$e=I(),fe=p("tr"),ve=p("td"),Se=b(De),Ce=I(),Le=p("td"),We=b(o[1]),this.h()},l(v){e=_(v,"TR",{"data-testid":!0});var L=d(e);l=_(L,"TD",{});var He=d(l);a=g(He,t),He.forEach(s),r=S(L),i=_(L,"TD",{});var Ne=d(i);f=g(Ne,u),Ne.forEach(s),L.forEach(s),c=S(v),T=_(v,"TR",{"data-testid":!0});var Te=d(T);y=_(Te,"TD",{});var ye=d(y);B=g(ye,O),ye.forEach(s),k=S(Te),D=_(Te,"TD",{});var Be=d(D);Q(h.$$.fragment,Be),Be.forEach(s),Te.forEach(s),P=S(v),w=_(v,"TR",{"data-testid":!0});var Ae=d(w);z=_(Ae,"TD",{});var Pe=d(z);Z=g(Pe,G),Pe.forEach(s),A=S(Ae),C=_(Ae,"TD",{});var Oe=d(C);m=g(Oe,q),Oe.forEach(s),Ae.forEach(s),R=S(v),F=_(v,"TR",{"data-testid":!0});var Re=d(F);x=_(Re,"TD",{});var Fe=d(x);ae=g(Fe,_e),Fe.forEach(s),ee=S(Re),te=_(Re,"TD",{});var Ue=d(te);Q(W.$$.fragment,Ue),Ue.forEach(s),Re.forEach(s),le=S(v),se=_(v,"TR",{"data-testid":!0});var ke=d(se);de=_(ke,"TD",{});var Ge=d(de);me=g(Ge,Ie),Ge.forEach(s),re=S(ke),ie=_(ke,"TD",{});var at=d(ie);Q($.$$.fragment,at),at.forEach(s),ke.forEach(s),H=S(v),M=_(v,"TR",{"data-testid":!0});var je=d(M);oe=_(je,"TD",{});var st=d(oe);ce=g(st,ne),st.forEach(s),ue=S(je),pe=_(je,"TD",{});var rt=d(pe);ge=g(rt,he),rt.forEach(s),je.forEach(s),$e=S(v),fe=_(v,"TR",{"data-testid":!0});var qe=d(fe);ve=_(qe,"TD",{});var ot=d(ve);Se=g(ot,De),ot.forEach(s),Ce=S(qe),Le=_(qe,"TD",{});var ft=d(Le);We=g(ft,o[1]),ft.forEach(s),qe.forEach(s),this.h()},h(){V(e,"data-testid","namespace-owner"),V(T,"data-testid","namespace-global"),V(w,"data-testid","namespace-retention"),V(F,"data-testid","namespace-history"),V(se,"data-testid","namespace-visibility"),V(M,"data-testid","namespace-failover"),V(fe,"data-testid","namespace-clusters")},m(v,L){E(v,e,L),n(e,l),n(l,a),n(e,r),n(e,i),n(i,f),E(v,c,L),E(v,T,L),n(T,y),n(y,B),n(T,k),n(T,D),X(h,D,null),E(v,P,L),E(v,w,L),n(w,z),n(z,Z),n(w,A),n(w,C),n(C,m),E(v,R,L),E(v,F,L),n(F,x),n(x,ae),n(F,ee),n(F,te),X(W,te,null),E(v,le,L),E(v,se,L),n(se,de),n(de,me),n(se,re),n(se,ie),X($,ie,null),E(v,H,L),E(v,M,L),n(M,oe),n(oe,ce),n(M,ue),n(M,pe),n(pe,ge),E(v,$e,L),E(v,fe,L),n(fe,ve),n(ve,Se),n(fe,Ce),n(fe,Le),n(Le,We),Ee=!0},p(v,L){var ye,Be,Ae,Pe,Oe,Re,Fe,Ue,ke,Ge;(!Ee||L&1)&&u!==(u=(((Be=(ye=v[0])==null?void 0:ye.namespaceInfo)==null?void 0:Be.ownerEmail)||N("unknown"))+"")&&K(f,u);const He={};L&1&&(He.type=v[8]((Ae=v[0])==null?void 0:Ae.isGlobalNamespace,!1)),L&131073&&(He.$$scope={dirty:L,ctx:v}),h.$set(He),(!Ee||L&1)&&q!==(q=it((Oe=(Pe=v[0])==null?void 0:Pe.config)==null?void 0:Oe.workflowExecutionRetentionTtl.toString())+"")&&K(m,q);const Ne={};L&1&&(Ne.type=v[7]((Fe=(Re=v[0])==null?void 0:Re.config)==null?void 0:Fe.historyArchivalState)),L&131073&&(Ne.$$scope={dirty:L,ctx:v}),W.$set(Ne);const Te={};L&1&&(Te.type=v[7]((ke=(Ue=v[0])==null?void 0:Ue.config)==null?void 0:ke.visibilityArchivalState)),L&131073&&(Te.$$scope={dirty:L,ctx:v}),$.$set(Te),(!Ee||L&1)&&he!==(he=((Ge=v[0])==null?void 0:Ge.failoverVersion)+"")&&K(ge,he),(!Ee||L&2)&&K(We,v[1])},i(v){Ee||(U(h.$$.fragment,v),U(W.$$.fragment,v),U($.$$.fragment,v),Ee=!0)},o(v){j(h.$$.fragment,v),j(W.$$.fragment,v),j($.$$.fragment,v),Ee=!1},d(v){v&&s(e),v&&s(c),v&&s(T),Y(h),v&&s(P),v&&s(w),v&&s(R),v&&s(F),Y(W),v&&s(le),v&&s(se),Y($),v&&s(H),v&&s(M),v&&s($e),v&&s(fe)}}}function Lt(o){let e,l=`${N("namespaces","namespace")} ${N("details")}`,t;return{c(){e=p("caption"),t=b(l),this.h()},l(a){e=_(a,"CAPTION",{class:!0,slot:!0});var r=d(e);t=g(r,l),r.forEach(s),this.h()},h(){V(e,"class","sr-only"),V(e,"slot","caption")},m(a,r){E(a,e,r),n(e,t)},p:be,d(a){a&&s(e)}}}function yt(o){let e,l,t;return{c(){e=p("tr"),l=p("th"),t=p("th"),this.h()},l(a){e=_(a,"TR",{slot:!0});var r=d(e);l=_(r,"TH",{class:!0}),d(l).forEach(s),t=_(r,"TH",{}),d(t).forEach(s),r.forEach(s),this.h()},h(){V(l,"class","w-1/2 lg:w-3/5"),V(e,"slot","headers")},m(a,r){E(a,e,r),n(e,l),n(e,t)},p:be,d(a){a&&s(e)}}}function Bt(o){let e,l,t,a,r,i,u,f,c,T,y,O,B;return{c(){e=p("tr"),l=p("td"),t=b("Temporal Server Version"),a=I(),r=p("td"),i=b(o[3]),u=I(),f=p("tr"),c=p("td"),T=b("Temporal UI Version"),y=I(),O=p("td"),B=b(o[4]),this.h()},l(k){e=_(k,"TR",{"data-testid":!0});var D=d(e);l=_(D,"TD",{});var h=d(l);t=g(h,"Temporal Server Version"),h.forEach(s),a=S(D),r=_(D,"TD",{});var P=d(r);i=g(P,o[3]),P.forEach(s),D.forEach(s),u=S(k),f=_(k,"TR",{"data-testid":!0});var w=d(f);c=_(w,"TD",{});var z=d(c);T=g(z,"Temporal UI Version"),z.forEach(s),y=S(w),O=_(w,"TD",{});var G=d(O);B=g(G,o[4]),G.forEach(s),w.forEach(s),this.h()},h(){V(e,"data-testid","server-version"),V(f,"data-testid","ui-version")},m(k,D){E(k,e,D),n(e,l),n(l,t),n(e,a),n(e,r),n(r,i),E(k,u,D),E(k,f,D),n(f,c),n(c,T),n(f,y),n(f,O),n(O,B)},p(k,D){D&8&&K(i,k[3]),D&16&&K(B,k[4])},d(k){k&&s(e),k&&s(u),k&&s(f)}}}function Pt(o){let e,l=N("namespaces","versions")+"",t;return{c(){e=p("caption"),t=b(l),this.h()},l(a){e=_(a,"CAPTION",{class:!0,slot:!0});var r=d(e);t=g(r,l),r.forEach(s),this.h()},h(){V(e,"class","sr-only"),V(e,"slot","caption")},m(a,r){E(a,e,r),n(e,t)},p:be,d(a){a&&s(e)}}}function Ot(o){let e,l,t;return{c(){e=p("tr"),l=p("th"),t=p("th"),this.h()},l(a){e=_(a,"TR",{slot:!0});var r=d(e);l=_(r,"TH",{class:!0}),d(l).forEach(s),t=_(r,"TH",{}),d(t).forEach(s),r.forEach(s),this.h()},h(){V(l,"class","w-1/2 lg:w-3/4"),V(e,"slot","headers")},m(a,r){E(a,e,r),n(e,l),n(e,t)},p:be,d(a){a&&s(e)}}}function Ft(o){let e=o[9](o[5].disableWriteActions)+"",l;return{c(){l=b(e)},l(t){l=g(t,e)},m(t,a){E(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].disableWriteActions)+"")&&K(l,e)},d(t){t&&s(l)}}}function Ut(o){let e=o[9](o[5].workflowTerminateDisabled)+"",l;return{c(){l=b(e)},l(t){l=g(t,e)},m(t,a){E(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].workflowTerminateDisabled)+"")&&K(l,e)},d(t){t&&s(l)}}}function Gt(o){let e=o[9](o[5].workflowCancelDisabled)+"",l;return{c(){l=b(e)},l(t){l=g(t,e)},m(t,a){E(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].workflowCancelDisabled)+"")&&K(l,e)},d(t){t&&s(l)}}}function Wt(o){let e=o[9](o[5].workflowSignalDisabled)+"",l;return{c(){l=b(e)},l(t){l=g(t,e)},m(t,a){E(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].workflowSignalDisabled)+"")&&K(l,e)},d(t){t&&s(l)}}}function jt(o){let e=o[9](o[5].workflowResetDisabled)+"",l;return{c(){l=b(e)},l(t){l=g(t,e)},m(t,a){E(t,l,a)},p(t,a){a&32&&e!==(e=t[9](t[5].workflowResetDisabled)+"")&&K(l,e)},d(t){t&&s(l)}}}function qt(o){let e,l,t=N("namespaces","client-actions")+"",a,r,i,u,f,c,T,y=N("workflows","terminate-modal-title")+"",O,B,k,D,h,P,w,z=N("workflows","cancel-modal-title")+"",G,Z,A,C,q,m,R,F=N("namespaces","signal-workflow")+"",x,_e,ae,ee,te,W,le,se=N("workflows","reset-modal-title")+"",de,Ie,me,re,ie;return u=new we({props:{class:"px-1 py-0",type:o[8](o[5].disableWriteActions),$$slots:{default:[Ft]},$$scope:{ctx:o}}}),D=new we({props:{class:"px-1 py-0",type:o[8](o[5].workflowTerminateDisabled),$$slots:{default:[Ut]},$$scope:{ctx:o}}}),C=new we({props:{class:"px-1 py-0",type:o[8](o[5].workflowCancelDisabled),$$slots:{default:[Gt]},$$scope:{ctx:o}}}),ee=new we({props:{class:"px-1 py-0",type:o[8](o[5].workflowSignalDisabled),$$slots:{default:[Wt]},$$scope:{ctx:o}}}),re=new we({props:{class:"px-1 py-0",type:o[8](o[5].workflowResetDisabled),$$slots:{default:[jt]},$$scope:{ctx:o}}}),{c(){e=p("tr"),l=p("td"),a=b(t),r=I(),i=p("td"),J(u.$$.fragment),f=I(),c=p("tr"),T=p("td"),O=b(y),B=I(),k=p("td"),J(D.$$.fragment),h=I(),P=p("tr"),w=p("td"),G=b(z),Z=I(),A=p("td"),J(C.$$.fragment),q=I(),m=p("tr"),R=p("td"),x=b(F),_e=I(),ae=p("td"),J(ee.$$.fragment),te=I(),W=p("tr"),le=p("td"),de=b(se),Ie=I(),me=p("td"),J(re.$$.fragment)},l($){e=_($,"TR",{});var H=d(e);l=_(H,"TD",{});var M=d(l);a=g(M,t),M.forEach(s),r=S(H),i=_(H,"TD",{});var oe=d(i);Q(u.$$.fragment,oe),oe.forEach(s),H.forEach(s),f=S($),c=_($,"TR",{});var ne=d(c);T=_(ne,"TD",{});var ce=d(T);O=g(ce,y),ce.forEach(s),B=S(ne),k=_(ne,"TD",{});var ue=d(k);Q(D.$$.fragment,ue),ue.forEach(s),ne.forEach(s),h=S($),P=_($,"TR",{});var pe=d(P);w=_(pe,"TD",{});var he=d(w);G=g(he,z),he.forEach(s),Z=S(pe),A=_(pe,"TD",{});var ge=d(A);Q(C.$$.fragment,ge),ge.forEach(s),pe.forEach(s),q=S($),m=_($,"TR",{});var $e=d(m);R=_($e,"TD",{});var fe=d(R);x=g(fe,F),fe.forEach(s),_e=S($e),ae=_($e,"TD",{});var ve=d(ae);Q(ee.$$.fragment,ve),ve.forEach(s),$e.forEach(s),te=S($),W=_($,"TR",{});var De=d(W);le=_(De,"TD",{});var Se=d(le);de=g(Se,se),Se.forEach(s),Ie=S(De),me=_(De,"TD",{});var Ce=d(me);Q(re.$$.fragment,Ce),Ce.forEach(s),De.forEach(s)},m($,H){E($,e,H),n(e,l),n(l,a),n(e,r),n(e,i),X(u,i,null),E($,f,H),E($,c,H),n(c,T),n(T,O),n(c,B),n(c,k),X(D,k,null),E($,h,H),E($,P,H),n(P,w),n(w,G),n(P,Z),n(P,A),X(C,A,null),E($,q,H),E($,m,H),n(m,R),n(R,x),n(m,_e),n(m,ae),X(ee,ae,null),E($,te,H),E($,W,H),n(W,le),n(le,de),n(W,Ie),n(W,me),X(re,me,null),ie=!0},p($,H){const M={};H&32&&(M.type=$[8]($[5].disableWriteActions)),H&131104&&(M.$$scope={dirty:H,ctx:$}),u.$set(M);const oe={};H&32&&(oe.type=$[8]($[5].workflowTerminateDisabled)),H&131104&&(oe.$$scope={dirty:H,ctx:$}),D.$set(oe);const ne={};H&32&&(ne.type=$[8]($[5].workflowCancelDisabled)),H&131104&&(ne.$$scope={dirty:H,ctx:$}),C.$set(ne);const ce={};H&32&&(ce.type=$[8]($[5].workflowSignalDisabled)),H&131104&&(ce.$$scope={dirty:H,ctx:$}),ee.$set(ce);const ue={};H&32&&(ue.type=$[8]($[5].workflowResetDisabled)),H&131104&&(ue.$$scope={dirty:H,ctx:$}),re.$set(ue)},i($){ie||(U(u.$$.fragment,$),U(D.$$.fragment,$),U(C.$$.fragment,$),U(ee.$$.fragment,$),U(re.$$.fragment,$),ie=!0)},o($){j(u.$$.fragment,$),j(D.$$.fragment,$),j(C.$$.fragment,$),j(ee.$$.fragment,$),j(re.$$.fragment,$),ie=!1},d($){$&&s(e),Y(u),$&&s(f),$&&s(c),Y(D),$&&s(h),$&&s(P),Y(C),$&&s(q),$&&s(m),Y(ee),$&&s(te),$&&s(W),Y(re)}}}function zt(o){let e,l=N("namespaces","client-actions")+"",t;return{c(){e=p("caption"),t=b(l),this.h()},l(a){e=_(a,"CAPTION",{class:!0,slot:!0});var r=d(e);t=g(r,l),r.forEach(s),this.h()},h(){V(e,"class","sr-only"),V(e,"slot","caption")},m(a,r){E(a,e,r),n(e,t)},p:be,d(a){a&&s(e)}}}function Kt(o){let e,l,t;return{c(){e=p("tr"),l=p("th"),t=p("th"),this.h()},l(a){e=_(a,"TR",{slot:!0});var r=d(e);l=_(r,"TH",{class:!0}),d(l).forEach(s),t=_(r,"TH",{}),d(t).forEach(s),r.forEach(s),this.h()},h(){V(l,"class","w-1/2 lg:w-3/5"),V(e,"slot","headers")},m(a,r){E(a,e,r),n(e,l),n(e,t)},p:be,d(a){a&&s(e)}}}function Mt(o){let e,l,t=N("details")+"",a,r,i,u,f,c,T=N("namespaces","versions")+"",y,O,B,k,D,h,P=N("namespaces","client-actions")+"",w,z,G,Z;return i=new ze({props:{variant:"simple",$$slots:{headers:[yt],caption:[Lt],default:[Vt]},$$scope:{ctx:o}}}),B=new ze({props:{variant:"simple",$$slots:{headers:[Ot],caption:[Pt],default:[Bt]},$$scope:{ctx:o}}}),G=new ze({props:{variant:"simple",$$slots:{headers:[Kt],caption:[zt],default:[qt]},$$scope:{ctx:o}}}),{c(){e=p("article"),l=p("h3"),a=b(t),r=I(),J(i.$$.fragment),u=I(),f=p("article"),c=p("h3"),y=b(T),O=I(),J(B.$$.fragment),k=I(),D=p("article"),h=p("h3"),w=b(P),z=I(),J(G.$$.fragment),this.h()},l(A){e=_(A,"ARTICLE",{class:!0});var C=d(e);l=_(C,"H3",{class:!0});var q=d(l);a=g(q,t),q.forEach(s),r=S(C),Q(i.$$.fragment,C),C.forEach(s),u=S(A),f=_(A,"ARTICLE",{class:!0});var m=d(f);c=_(m,"H3",{class:!0});var R=d(c);y=g(R,T),R.forEach(s),O=S(m),Q(B.$$.fragment,m),m.forEach(s),k=S(A),D=_(A,"ARTICLE",{class:!0});var F=d(D);h=_(F,"H3",{class:!0});var x=d(h);w=g(x,P),x.forEach(s),z=S(F),Q(G.$$.fragment,F),F.forEach(s),this.h()},h(){V(l,"class","text-lg font-medium"),V(e,"class","namespace-info flex w-full flex-col"),V(c,"class","text-lg font-medium"),V(f,"class","namespace-info flex w-full flex-col"),V(h,"class","text-lg font-medium"),V(D,"class","namespace-info flex w-full flex-col")},m(A,C){E(A,e,C),n(e,l),n(l,a),n(e,r),X(i,e,null),E(A,u,C),E(A,f,C),n(f,c),n(c,y),n(f,O),X(B,f,null),E(A,k,C),E(A,D,C),n(D,h),n(h,w),n(D,z),X(G,D,null),Z=!0},p(A,C){const q={};C&131075&&(q.$$scope={dirty:C,ctx:A}),i.$set(q);const m={};C&131096&&(m.$$scope={dirty:C,ctx:A}),B.$set(m);const R={};C&131104&&(R.$$scope={dirty:C,ctx:A}),G.$set(R)},i(A){Z||(U(i.$$.fragment,A),U(B.$$.fragment,A),U(G.$$.fragment,A),Z=!0)},o(A){j(i.$$.fragment,A),j(B.$$.fragment,A),j(G.$$.fragment,A),Z=!1},d(A){A&&s(e),Y(i),A&&s(u),A&&s(f),Y(B),A&&s(k),A&&s(D),Y(G)}}}function ut(o){let e,l,t=N("events","attribute-group-search-attributes")+"",a,r,i,u;return i=new ze({props:{class:"w-full",$$slots:{headers:[Zt],caption:[Xt],default:[Qt]},$$scope:{ctx:o}}}),{c(){e=p("section"),l=p("h3"),a=b(t),r=I(),J(i.$$.fragment),this.h()},l(f){e=_(f,"SECTION",{});var c=d(e);l=_(c,"H3",{class:!0});var T=d(l);a=g(T,t),T.forEach(s),r=S(c),Q(i.$$.fragment,c),c.forEach(s),this.h()},h(){V(l,"class","my-4 text-lg font-medium")},m(f,c){E(f,e,c),n(e,l),n(l,a),n(e,r),X(i,e,null),u=!0},p(f,c){const T={};c&131136&&(T.$$scope={dirty:c,ctx:f}),i.$set(T)},i(f){u||(U(i.$$.fragment,f),u=!0)},o(f){j(i.$$.fragment,f),u=!1},d(f){f&&s(e),Y(i)}}}function Jt(o){let e,l=o[13]+"",t,a,r,i=o[14]+"",u,f;return{c(){e=p("td"),t=b(l),a=I(),r=p("td"),u=b(i),f=I()},l(c){e=_(c,"TD",{});var T=d(e);t=g(T,l),T.forEach(s),a=S(c),r=_(c,"TD",{});var y=d(r);u=g(y,i),y.forEach(s),f=S(c)},m(c,T){E(c,e,T),n(e,t),E(c,a,T),E(c,r,T),n(r,u),E(c,f,T)},p(c,T){T&64&&l!==(l=c[13]+"")&&K(t,l),T&64&&i!==(i=c[14]+"")&&K(u,i)},d(c){c&&s(e),c&&s(a),c&&s(r),c&&s(f)}}}function pt(o){let e,l;return e=new At({props:{$$slots:{default:[Jt]},$$scope:{ctx:o}}}),{c(){J(e.$$.fragment)},l(t){Q(e.$$.fragment,t)},m(t,a){X(e,t,a),l=!0},p(t,a){const r={};a&131136&&(r.$$scope={dirty:a,ctx:t}),e.$set(r)},i(t){l||(U(e.$$.fragment,t),l=!0)},o(t){j(e.$$.fragment,t),l=!1},d(t){Y(e,t)}}}function Qt(o){let e,l,t=Object.entries(o[6]),a=[];for(let i=0;ij(a[i],1,1,()=>{a[i]=null});return{c(){for(let i=0;i{w=null}),_t())},i(m){P||(U(e.$$.fragment,m),U(k.$$.fragment,m),U(w),P=!0)},o(m){j(e.$$.fragment,m),j(k.$$.fragment,m),j(w),P=!1},d(m){Y(e,m),m&&s(l),m&&s(t),m&&s(c),m&&s(T),m&&s(B),Y(k,m),m&&s(D),w&&w.d(m),m&&s(h)}}}function el(o,e,l){let t,a,r,i,u,f,c,T;Ve(o,nt,h=>l(12,r=h)),Ve(o,wt,h=>l(2,i=h)),Ve(o,kt,h=>l(3,u=h)),Ve(o,It,h=>l(4,f=h)),Ve(o,St,h=>l(5,c=h)),Ve(o,Rt,h=>l(6,T=h));let{data:y}=e;var O;(function(h){h[h.ARCHIVAL_STATE_UNSPECIFIED=0]="ARCHIVAL_STATE_UNSPECIFIED",h[h.ARCHIVAL_STATE_DISABLED=1]="ARCHIVAL_STATE_DISABLED",h[h.ARCHIVAL_STATE_ENABLED=2]="ARCHIVAL_STATE_ENABLED"})(O||(O={}));const B=h=>h===O.ARCHIVAL_STATE_ENABLED?"green":"default",k=(h,P=!0)=>P?h?"default":"green":h?"green":"default",D=h=>h?N("disabled"):N("enabled");return vt(()=>{var h;Et(nt,r=(h=t==null?void 0:t.namespaceInfo)===null||h===void 0?void 0:h.name,r)}),o.$$set=h=>{"data"in h&&l(10,y=h.data)},o.$$.update=()=>{o.$$.dirty&1024&&l(0,{namespace:t,clusters:a}=y,t,(l(1,a),l(10,y)))},[t,a,i,u,f,c,T,B,k,D,y]}class _l extends mt{constructor(e){super(),$t(this,e,el,xt,ht,{data:10})}}export{_l as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.ts.747e2ea8.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.ts.747e2ea8.js new file mode 100644 index 0000000000..a0bf10c354 --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.ts.747e2ea8.js @@ -0,0 +1 @@ +import"../chunks/namespaces-service.5add732a.js";import{l}from"../chunks/_page.f15985bd.js";export{l as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.ts.f7fac028.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.ts.f7fac028.js deleted file mode 100644 index 8335c0414c..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-page.ts.f7fac028.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/namespaces-service.5f534be1.js";import{l}from"../chunks/_page.8d04c3f0.js";export{l as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.170b7e6d.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.6d0e271d.js similarity index 86% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.170b7e6d.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.6d0e271d.js index 0243c2847a..4d5b923678 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.170b7e6d.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.6d0e271d.js @@ -1 +1 @@ -import{S as g,b as k,a as b,aq as T,e as h,f as w,ar as U,j as l,g as u,k as S,K as y,n as c,C as m,D as f,E as p,F as d,c as W,d as z}from"../chunks/index.09834243.js";import{p as E}from"../chunks/stores.9d4a2bb0.js";import{P as A}from"../chunks/page-title.34fd480b.js";import{S as B}from"../chunks/schedule-form-view.6e6169d6.js";import{L as G}from"../chunks/loading.3bde98aa.js";import{t as H}from"../chunks/translate.0a219ae4.js";import{a as J}from"../chunks/schedule-service.850db2fb.js";import{s as V}from"../chunks/schedules.f146f38a.js";import{l as X}from"../chunks/route-for.3b55a4c6.js";function _(o){o[6]=o[7].schedule}function Y(o){return{c,l:c,m:c,p:c,i:c,o:c,d:c}}function Z(o){_(o);let t,a;return t=new B({props:{onConfirm:o[1],schedule:o[6]}}),{c(){m(t.$$.fragment)},l(e){f(t.$$.fragment,e)},m(e,r){p(t,e,r),a=!0},p(e,r){_(e)},i(e){a||(l(t.$$.fragment,e),a=!0)},o(e){u(t.$$.fragment,e),a=!1},d(e){d(t,e)}}}function x(o){let t,a;return t=new G({props:{title:H("schedules","loading")}}),{c(){m(t.$$.fragment)},l(e){f(t.$$.fragment,e)},m(e,r){p(t,e,r),a=!0},p:c,i(e){a||(l(t.$$.fragment,e),a=!0)},o(e){u(t.$$.fragment,e),a=!1},d(e){d(t,e)}}}function ee(o){let t,a,e={ctx:o,current:null,token:null,hasCatch:!1,pending:x,then:Z,catch:Y,value:7,blocks:[,,,]};return T(o[0],e),{c(){t=h(),e.block.c()},l(r){t=h(),e.block.l(r)},m(r,n){w(r,t,n),e.block.m(r,e.anchor=n),e.mount=()=>t.parentNode,e.anchor=t,a=!0},p(r,[n]){o=r,U(e,o,n)},i(r){a||(l(e.block),a=!0)},o(r){for(let n=0;n<3;n+=1){const s=e.blocks[n];u(s)}a=!1},d(r){r&&S(t),e.block.d(r),e.token=null,e=null}}}function te(o,t,a){let e;y(o,E,$=>a(2,e=$));let r=e.params.namespace,n=e.params.schedule;const s={namespace:r,scheduleId:X(n)};return[J(s),($,v,C)=>{const{name:F,workflowType:I,workflowId:P,taskQueue:q,hour:L,minute:O,second:j,phase:D,cronString:K,daysOfWeek:M,daysOfMonth:N,days:Q,months:R}=v;V({action:{namespace:r,name:F,workflowType:I,workflowId:P,taskQueue:q},spec:{hour:L,minute:O,second:j,phase:D,cronString:K},presets:{preset:$,daysOfWeek:M,daysOfMonth:N,months:R,days:Q}},C,n)}]}class ne extends g{constructor(t){super(),k(this,t,te,ee,b,{})}}function re(o){let t,a,e,r;return t=new A({props:{title:`Schedule Edit | ${o[0].params.schedule}`,url:o[0].url.href}}),e=new ne({}),{c(){m(t.$$.fragment),a=W(),m(e.$$.fragment)},l(n){f(t.$$.fragment,n),a=z(n),f(e.$$.fragment,n)},m(n,s){p(t,n,s),w(n,a,s),p(e,n,s),r=!0},p(n,[s]){const i={};s&1&&(i.title=`Schedule Edit | ${n[0].params.schedule}`),s&1&&(i.url=n[0].url.href),t.$set(i)},i(n){r||(l(t.$$.fragment,n),l(e.$$.fragment,n),r=!0)},o(n){u(t.$$.fragment,n),u(e.$$.fragment,n),r=!1},d(n){d(t,n),n&&S(a),d(e,n)}}}function ae(o,t,a){let e;return y(o,E,r=>a(0,e=r)),[e]}class ge extends g{constructor(t){super(),k(this,t,ae,re,b,{})}}export{ge as default}; +import{S as g,b as k,a as b,aq as T,e as h,f as w,ar as U,j as l,g as u,k as S,K as y,n as c,C as m,D as f,E as p,F as d,c as W,d as z}from"../chunks/index.09834243.js";import{p as E}from"../chunks/stores.cd833532.js";import{P as A}from"../chunks/page-title.34fd480b.js";import{S as B}from"../chunks/schedule-form-view.31c423ef.js";import{L as G}from"../chunks/loading.3bde98aa.js";import{t as H}from"../chunks/translate.0a219ae4.js";import{a as J}from"../chunks/schedule-service.4cfc145d.js";import{s as V}from"../chunks/schedules.8c7d6083.js";import{l as X}from"../chunks/route-for.d76d8056.js";function _(o){o[6]=o[7].schedule}function Y(o){return{c,l:c,m:c,p:c,i:c,o:c,d:c}}function Z(o){_(o);let t,a;return t=new B({props:{onConfirm:o[1],schedule:o[6]}}),{c(){m(t.$$.fragment)},l(e){f(t.$$.fragment,e)},m(e,r){p(t,e,r),a=!0},p(e,r){_(e)},i(e){a||(l(t.$$.fragment,e),a=!0)},o(e){u(t.$$.fragment,e),a=!1},d(e){d(t,e)}}}function x(o){let t,a;return t=new G({props:{title:H("schedules","loading")}}),{c(){m(t.$$.fragment)},l(e){f(t.$$.fragment,e)},m(e,r){p(t,e,r),a=!0},p:c,i(e){a||(l(t.$$.fragment,e),a=!0)},o(e){u(t.$$.fragment,e),a=!1},d(e){d(t,e)}}}function ee(o){let t,a,e={ctx:o,current:null,token:null,hasCatch:!1,pending:x,then:Z,catch:Y,value:7,blocks:[,,,]};return T(o[0],e),{c(){t=h(),e.block.c()},l(r){t=h(),e.block.l(r)},m(r,n){w(r,t,n),e.block.m(r,e.anchor=n),e.mount=()=>t.parentNode,e.anchor=t,a=!0},p(r,[n]){o=r,U(e,o,n)},i(r){a||(l(e.block),a=!0)},o(r){for(let n=0;n<3;n+=1){const s=e.blocks[n];u(s)}a=!1},d(r){r&&S(t),e.block.d(r),e.token=null,e=null}}}function te(o,t,a){let e;y(o,E,$=>a(2,e=$));let r=e.params.namespace,n=e.params.schedule;const s={namespace:r,scheduleId:X(n)};return[J(s),($,v,C)=>{const{name:F,workflowType:I,workflowId:P,taskQueue:q,hour:L,minute:O,second:j,phase:D,cronString:K,daysOfWeek:M,daysOfMonth:N,days:Q,months:R}=v;V({action:{namespace:r,name:F,workflowType:I,workflowId:P,taskQueue:q},spec:{hour:L,minute:O,second:j,phase:D,cronString:K},presets:{preset:$,daysOfWeek:M,daysOfMonth:N,months:R,days:Q}},C,n)}]}class ne extends g{constructor(t){super(),k(this,t,te,ee,b,{})}}function re(o){let t,a,e,r;return t=new A({props:{title:`Schedule Edit | ${o[0].params.schedule}`,url:o[0].url.href}}),e=new ne({}),{c(){m(t.$$.fragment),a=W(),m(e.$$.fragment)},l(n){f(t.$$.fragment,n),a=z(n),f(e.$$.fragment,n)},m(n,s){p(t,n,s),w(n,a,s),p(e,n,s),r=!0},p(n,[s]){const i={};s&1&&(i.title=`Schedule Edit | ${n[0].params.schedule}`),s&1&&(i.url=n[0].url.href),t.$set(i)},i(n){r||(l(t.$$.fragment,n),l(e.$$.fragment,n),r=!0)},o(n){u(t.$$.fragment,n),u(e.$$.fragment,n),r=!1},d(n){d(t,n),n&&S(a),d(e,n)}}}function ae(o,t,a){let e;return y(o,E,r=>a(0,e=r)),[e]}class ge extends g{constructor(t){super(),k(this,t,ae,re,b,{})}}export{ge as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.18dd84a0.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.d01fb7cc.js similarity index 97% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.18dd84a0.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.d01fb7cc.js index 8f6a7578e8..c3f86c65a8 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.18dd84a0.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.d01fb7cc.js @@ -1 +1 @@ -import{S as be,b as Ee,a as Ie,m as k,w as V,c as M,p as w,q as b,x as W,k as i,d as q,u as D,f as v,L as p,y as Q,n as G,C,D as F,E as N,j as P,g as S,F as L,G as Ql,P as kl,H as Xl,I as Yl,J as Zl,N as wl,U as bl,K as ce,e as te,z as qe,aa as yl,ab as xl,h as He,aq as Oe,ar as Fl,a7 as Nl,a5 as Je,V as es,A as Ce,a0 as Fe,a1 as Ne,_ as El,Q as Il,$ as ts,r as ls}from"../chunks/index.09834243.js";import{p as Ll}from"../chunks/stores.9d4a2bb0.js";import{P as ss}from"../chunks/page-title.34fd480b.js";import{w as rs}from"../chunks/singletons.aae8f11e.js";import{g as Le}from"../chunks/navigation.8b74a406.js";import{A as ns}from"../chunks/accordion.3c992162.js";import{t as h}from"../chunks/translate.0a219ae4.js";import{S as as,a as Ke,d as os,u as us,p as is,t as fs}from"../chunks/schedule-service.850db2fb.js";import{E as cs}from"../chunks/empty-state.aea525ff.js";import{L as Be}from"../chunks/link.4944a6a5.js";import{h as Tl}from"../chunks/workflow-service.56e6b262.js";import{t as Ze,r as ye,b as he}from"../chunks/format-date.71526e4c.js";import{l as Ye,g as Dl,c as Ue,v as ds}from"../chunks/route-for.3b55a4c6.js";import{W as Ul}from"../chunks/workflow-status.cf27e560.js";import{L as jl}from"../chunks/loading.3bde98aa.js";import{d as Qe}from"../chunks/menu.c7988d0b.js";import{M as Xe}from"../chunks/modal.0783f753.js";import{R as ms,a as ps}from"../chunks/radio-input.c176e21a.js";import{S as hs}from"../chunks/split-button.6be660d6.js";import{c as _s}from"../chunks/core-user.3a655c21.js";import{l as je}from"../chunks/schedules.f146f38a.js";function $s(s){let e,l,t=h("notes")+"",n,r,a,o;return{c(){e=k("div"),l=k("h2"),n=V(t),r=M(),a=k("p"),o=V(s[0]),this.h()},l(u){e=w(u,"DIV",{});var f=b(e);l=w(f,"H2",{class:!0});var d=b(l);n=W(d,t),d.forEach(i),r=q(f),a=w(f,"P",{});var E=b(a);o=W(E,s[0]),E.forEach(i),f.forEach(i),this.h()},h(){D(l,"class","mb-4 text-2xl")},m(u,f){v(u,e,f),p(e,l),p(l,n),p(e,r),p(e,a),p(a,o)},p(u,[f]){f&1&&Q(o,u[0])},i:G,o:G,d(u){u&&i(e)}}}function vs(s,e,l){let{notes:t=""}=e;return s.$$set=n=>{"notes"in n&&l(0,t=n.notes)},[t]}class gs extends be{constructor(e){super(),Ee(this,e,vs,$s,Ie,{notes:0})}}function Rl(s){var a;let e,l=h("schedules","remaining-actions")+"",t,n=(((a=s[1])==null?void 0:a.remainingActions)??h("none"))+"",r;return{c(){e=k("p"),t=V(l),r=V(n)},l(o){e=w(o,"P",{});var u=b(e);t=W(u,l),r=W(u,n),u.forEach(i)},m(o,u){v(o,e,u),p(e,t),p(e,r)},p(o,u){var f;u&2&&n!==(n=(((f=o[1])==null?void 0:f.remainingActions)??h("none"))+"")&&Q(r,n)},d(o){o&&i(e)}}}function ks(s){var Te,ie,re,ve,y,De,ge;let e,l=h("schedules","start-time")+"",t,n,r=(((Te=s[0])==null?void 0:Te.startTime)??h("none"))+"",a,o,u,f=h("schedules","end-time")+"",d,E=(((ie=s[0])==null?void 0:ie.endTime)??h("none"))+"",$,c,m,_=h("schedules","jitter")+"",T,H=(((re=s[0])==null?void 0:re.jitter)??h("none"))+"",U,ae,le,_e=h("schedules","exclusion-calendar")+"",x,oe=(((y=(ve=s[0])==null?void 0:ve.excludeCalendar)==null?void 0:y[0])??h("none"))+"",X,ue,Y,J,se=h("schedules","overlap-policy")+"",$e,Z=(((De=s[2])==null?void 0:De.overlapPolicy)??h("none"))+"",de,O=((ge=s[1])==null?void 0:ge.limitedActions)&&Rl(s);return{c(){e=k("p"),t=V(l),n=M(),a=V(r),o=M(),u=k("p"),d=V(f),$=V(E),c=M(),m=k("p"),T=V(_),U=V(H),ae=M(),le=k("p"),x=V(_e),X=V(oe),ue=M(),O&&O.c(),Y=M(),J=k("p"),$e=V(se),de=V(Z)},l(I){e=w(I,"P",{});var j=b(e);t=W(j,l),n=q(j),a=W(j,r),j.forEach(i),o=q(I),u=w(I,"P",{});var A=b(u);d=W(A,f),$=W(A,E),A.forEach(i),c=q(I),m=w(I,"P",{});var B=b(m);T=W(B,_),U=W(B,H),B.forEach(i),ae=q(I),le=w(I,"P",{});var ee=b(le);x=W(ee,_e),X=W(ee,oe),ee.forEach(i),ue=q(I),O&&O.l(I),Y=q(I),J=w(I,"P",{});var me=b(J);$e=W(me,se),de=W(me,Z),me.forEach(i)},m(I,j){v(I,e,j),p(e,t),p(e,n),p(e,a),v(I,o,j),v(I,u,j),p(u,d),p(u,$),v(I,c,j),v(I,m,j),p(m,T),p(m,U),v(I,ae,j),v(I,le,j),p(le,x),p(le,X),v(I,ue,j),O&&O.m(I,j),v(I,Y,j),v(I,J,j),p(J,$e),p(J,de)},p(I,j){var A,B,ee,me,ke,K,z;j&1&&r!==(r=(((A=I[0])==null?void 0:A.startTime)??h("none"))+"")&&Q(a,r),j&1&&E!==(E=(((B=I[0])==null?void 0:B.endTime)??h("none"))+"")&&Q($,E),j&1&&H!==(H=(((ee=I[0])==null?void 0:ee.jitter)??h("none"))+"")&&Q(U,H),j&1&&oe!==(oe=(((ke=(me=I[0])==null?void 0:me.excludeCalendar)==null?void 0:ke[0])??h("none"))+"")&&Q(X,oe),(K=I[1])!=null&&K.limitedActions?O?O.p(I,j):(O=Rl(I),O.c(),O.m(Y.parentNode,Y)):O&&(O.d(1),O=null),j&4&&Z!==(Z=(((z=I[2])==null?void 0:z.overlapPolicy)??h("none"))+"")&&Q(de,Z)},d(I){I&&i(e),I&&i(o),I&&i(u),I&&i(c),I&&i(m),I&&i(ae),I&&i(le),I&&i(ue),O&&O.d(I),I&&i(Y),I&&i(J)}}}function ws(s){let e,l,t,n;return e=new gs({props:{notes:s[3]}}),t=new ns({props:{title:h("schedules","advanced-settings"),$$slots:{default:[ks]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment),l=M(),C(t.$$.fragment)},l(r){F(e.$$.fragment,r),l=q(r),F(t.$$.fragment,r)},m(r,a){N(e,r,a),v(r,l,a),N(t,r,a),n=!0},p(r,[a]){const o={};a&8&&(o.notes=r[3]),e.$set(o);const u={};a&23&&(u.$$scope={dirty:a,ctx:r}),t.$set(u)},i(r){n||(P(e.$$.fragment,r),P(t.$$.fragment,r),n=!0)},o(r){S(e.$$.fragment,r),S(t.$$.fragment,r),n=!1},d(r){L(e,r),r&&i(l),L(t,r)}}}function bs(s,e,l){let{spec:t}=e,{state:n}=e,{policies:r}=e,{notes:a=""}=e;return s.$$set=o=>{"spec"in o&&l(0,t=o.spec),"state"in o&&l(1,n=o.state),"policies"in o&&l(2,r=o.policies),"notes"in o&&l(3,a=o.notes)},[t,n,r,a]}class Es extends be{constructor(e){super(),Ee(this,e,bs,ws,Ie,{spec:0,state:1,policies:2,notes:3})}}function Is(s){let e,l,t;const n=s[3].default,r=Ql(n,s,s[2],null);return{c(){e=k("div"),r&&r.c(),this.h()},l(a){e=w(a,"DIV",{class:!0});var o=b(e);r&&r.l(o),o.forEach(i),this.h()},h(){D(e,"class",l="panel bg-white "+s[1].class+" svelte-11fqqfg"),kl(e,"error",s[0])},m(a,o){v(a,e,o),r&&r.m(e,null),t=!0},p(a,[o]){r&&r.p&&(!t||o&4)&&Xl(r,n,a,a[2],t?Zl(n,a[2],o,null):Yl(a[2]),null),(!t||o&2&&l!==(l="panel bg-white "+a[1].class+" svelte-11fqqfg"))&&D(e,"class",l),(!t||o&3)&&kl(e,"error",a[0])},i(a){t||(P(r,a),t=!0)},o(a){S(r,a),t=!1},d(a){a&&i(e),r&&r.d(a)}}}function Ts(s,e,l){let{$$slots:t={},$$scope:n}=e,{error:r=!1}=e;return s.$$set=a=>{l(1,e=wl(wl({},e),bl(a))),"error"in a&&l(0,r=a.error),"$$scope"in a&&l(2,n=a.$$scope)},e=bl(e),[r,e,n,t]}class ze extends be{constructor(e){super(),Ee(this,e,Ts,Is,Ie,{error:0})}}function Ds(s){let e,l=h("schedules","error-title")+"",t,n,r,a;return{c(){e=k("p"),t=V(l),n=M(),r=k("p"),a=V(s[0]),this.h()},l(o){e=w(o,"P",{class:!0});var u=b(e);t=W(u,l),u.forEach(i),n=q(o),r=w(o,"P",{class:!0});var f=b(r);a=W(f,s[0]),f.forEach(i),this.h()},h(){D(e,"class","error-text svelte-1lke5yx"),D(r,"class","error-text svelte-1lke5yx")},m(o,u){v(o,e,u),p(e,t),v(o,n,u),v(o,r,u),p(r,a)},p(o,u){u&1&&Q(a,o[0])},d(o){o&&i(e),o&&i(n),o&&i(r)}}}function Rs(s){let e,l;return e=new ze({props:{error:!0,$$slots:{default:[Ds]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){F(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,[n]){const r={};n&3&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(P(e.$$.fragment,t),l=!0)},o(t){S(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ps(s,e,l){let{error:t=""}=e;return s.$$set=n=>{"error"in n&&l(0,t=n.error)},[t]}class Ol extends be{constructor(e){super(),Ee(this,e,Ps,Rs,Ie,{error:0})}}function Ss(s){let e,l=h("schedules","schedule-spec")+"",t,n,r,a,o;return a=new as({props:{calendar:s[0],interval:s[1],class:"text-base"}}),{c(){e=k("h2"),t=V(l),n=M(),r=k("div"),C(a.$$.fragment),this.h()},l(u){e=w(u,"H2",{class:!0});var f=b(e);t=W(f,l),f.forEach(i),n=q(u),r=w(u,"DIV",{class:!0});var d=b(r);F(a.$$.fragment,d),d.forEach(i),this.h()},h(){D(e,"class","mb-4 text-2xl"),D(r,"class","pr-2")},m(u,f){v(u,e,f),p(e,t),v(u,n,f),v(u,r,f),N(a,r,null),o=!0},p(u,f){const d={};f&1&&(d.calendar=u[0]),f&2&&(d.interval=u[1]),a.$set(d)},i(u){o||(P(a.$$.fragment,u),o=!0)},o(u){S(a.$$.fragment,u),o=!1},d(u){u&&i(e),u&&i(n),u&&i(r),L(a)}}}function Vs(s){let e,l;return e=new ze({props:{$$slots:{default:[Ss]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){F(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,[n]){const r={};n&7&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(P(e.$$.fragment,t),l=!0)},o(t){S(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ws(s,e,l){let{calendar:t=void 0}=e,{interval:n=void 0}=e;return s.$$set=r=>{"calendar"in r&&l(0,t=r.calendar),"interval"in r&&l(1,n=r.interval)},[t,n]}class As extends be{constructor(e){super(),Ee(this,e,Ws,Vs,Ie,{calendar:0,interval:1})}}function Pl(s,e,l){const t=s.slice();return t[5]=e[l],t}function Ms(s){let e,l,t,n,r=s[5].startWorkflowResult.workflowId+"",a,o,u,f,d=he(s[5].actualTime,s[2],{relative:s[3]})+"",E;return{c(){e=k("div"),l=k("div"),t=M(),n=k("div"),a=V(r),o=M(),u=k("div"),f=k("p"),E=V(d),this.h()},l($){e=w($,"DIV",{class:!0});var c=b(e);l=w(c,"DIV",{class:!0}),b(l).forEach(i),t=q(c),n=w(c,"DIV",{class:!0});var m=b(n);a=W(m,r),m.forEach(i),o=q(c),u=w(c,"DIV",{class:!0});var _=b(u);f=w(_,"P",{});var T=b(f);E=W(T,d),T.forEach(i),_.forEach(i),c.forEach(i),this.h()},h(){D(l,"class","w-28"),D(n,"class","w-96"),D(u,"class","ml-auto"),D(e,"class","row svelte-lqpjgu")},m($,c){v($,e,c),p(e,l),p(e,t),p(e,n),p(n,a),p(e,o),p(e,u),p(u,f),p(f,E)},p($,c){c&1&&r!==(r=$[5].startWorkflowResult.workflowId+"")&&Q(a,r),c&13&&d!==(d=he($[5].actualTime,$[2],{relative:$[3]})+"")&&Q(E,d)},i:G,o:G,d($){$&&i(e)}}}function qs(s){let e,l,t,n,r,a,o,u,f,d=he(s[5].actualTime,s[2],{relative:s[3]})+"",E,$;return t=new Ul({props:{status:s[8].status}}),a=new Be({props:{newTab:!0,href:Dl({workflow:s[5].startWorkflowResult.workflowId,run:s[5].startWorkflowResult.runId,namespace:s[1]}),$$slots:{default:[Hs]},$$scope:{ctx:s}}}),{c(){e=k("div"),l=k("div"),C(t.$$.fragment),n=M(),r=k("div"),C(a.$$.fragment),o=M(),u=k("div"),f=k("p"),E=V(d),this.h()},l(c){e=w(c,"DIV",{class:!0});var m=b(e);l=w(m,"DIV",{class:!0});var _=b(l);F(t.$$.fragment,_),_.forEach(i),n=q(m),r=w(m,"DIV",{class:!0});var T=b(r);F(a.$$.fragment,T),T.forEach(i),o=q(m),u=w(m,"DIV",{class:!0});var H=b(u);f=w(H,"P",{});var U=b(f);E=W(U,d),U.forEach(i),H.forEach(i),m.forEach(i),this.h()},h(){D(l,"class","w-28"),D(r,"class","mx-2 w-auto break-words"),D(u,"class","ml-auto"),D(e,"class","row svelte-lqpjgu")},m(c,m){v(c,e,m),p(e,l),N(t,l,null),p(e,n),p(e,r),N(a,r,null),p(e,o),p(e,u),p(u,f),p(f,E),$=!0},p(c,m){const _={};m&3&&(_.status=c[8].status),t.$set(_);const T={};m&3&&(T.href=Dl({workflow:c[5].startWorkflowResult.workflowId,run:c[5].startWorkflowResult.runId,namespace:c[1]})),m&513&&(T.$$scope={dirty:m,ctx:c}),a.$set(T),(!$||m&13)&&d!==(d=he(c[5].actualTime,c[2],{relative:c[3]})+"")&&Q(E,d)},i(c){$||(P(t.$$.fragment,c),P(a.$$.fragment,c),$=!0)},o(c){S(t.$$.fragment,c),S(a.$$.fragment,c),$=!1},d(c){c&&i(e),L(t),L(a)}}}function Hs(s){let e=s[5].startWorkflowResult.workflowId+"",l;return{c(){l=V(e)},l(t){l=W(t,e)},m(t,n){v(t,l,n)},p(t,n){n&1&&e!==(e=t[5].startWorkflowResult.workflowId+"")&&Q(l,e)},d(t){t&&i(l)}}}function Cs(s){return{c:G,l:G,m:G,p:G,i:G,o:G,d:G}}function Sl(s,e){let l,t,n,r,a={ctx:e,current:null,token:null,hasCatch:!0,pending:Cs,then:qs,catch:Ms,value:8,blocks:[,,,]};return Oe(n=Tl({namespace:e[1],workflowId:Ye(e[5].startWorkflowResult.workflowId),runId:e[5].startWorkflowResult.runId},fetch),a),{key:s,first:null,c(){l=te(),t=te(),a.block.c(),this.h()},l(o){l=te(),t=te(),a.block.l(o),this.h()},h(){this.first=l},m(o,u){v(o,l,u),v(o,t,u),a.block.m(o,a.anchor=u),a.mount=()=>t.parentNode,a.anchor=t,r=!0},p(o,u){e=o,a.ctx=e,u&3&&n!==(n=Tl({namespace:e[1],workflowId:Ye(e[5].startWorkflowResult.workflowId),runId:e[5].startWorkflowResult.runId},fetch))&&Oe(n,a)||Fl(a,e,u)},i(o){r||(P(a.block),r=!0)},o(o){for(let u=0;u<3;u+=1){const f=a.blocks[u];S(f)}r=!1},d(o){o&&i(l),o&&i(t),a.block.d(o),a.token=null,a=null}}}function Vl(s){let e,l;return e=new cs({props:{title:h("schedules","recent-runs-empty-state-title")}}),{c(){C(e.$$.fragment)},l(t){F(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p:G,i(t){l||(P(e.$$.fragment,t),l=!0)},o(t){S(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Fs(s){let e,l=h("schedules","recent-runs")+"",t,n,r=[],a=new Map,o,u,f,d=s[4](s[0]);const E=c=>{var m,_;return(_=(m=c[5])==null?void 0:m.startWorkflowResult)==null?void 0:_.workflowId};for(let c=0;c{$=null}),He()):$?($.p(c,m),m&1&&P($,1)):($=Vl(),$.c(),P($,1),$.m(u.parentNode,u))},i(c){if(!f){for(let m=0;ml(2,t=u)),ce(s,ye,u=>l(3,n=u));let{recentRuns:r=[]}=e,{namespace:a}=e;const o=u=>{var f,d;return(d=(f=u==null?void 0:u.sort((E,$)=>new Date($.actualTime).getTime()-new Date(E.actualTime).getTime()))===null||f===void 0?void 0:f.slice(0,5))!==null&&d!==void 0?d:[]};return s.$$set=u=>{"recentRuns"in u&&l(0,r=u.recentRuns),"namespace"in u&&l(1,a=u.namespace)},[r,a,t,n,o]}class Us extends be{constructor(e){super(),Ee(this,e,Ls,Ns,Ie,{recentRuns:0,namespace:1})}}function Wl(s,e,l){const t=s.slice();return t[3]=e[l],t}function Al(s){let e,l,t=he(s[3],s[1],{relative:s[2],relativeLabel:h("from-now")})+"",n,r;return{c(){e=k("div"),l=k("p"),n=V(t),r=M(),this.h()},l(a){e=w(a,"DIV",{class:!0});var o=b(e);l=w(o,"P",{});var u=b(l);n=W(u,t),u.forEach(i),r=q(o),o.forEach(i),this.h()},h(){D(e,"class","row svelte-kbuuws")},m(a,o){v(a,e,o),p(e,l),p(l,n),p(e,r)},p(a,o){o&7&&t!==(t=he(a[3],a[1],{relative:a[2],relativeLabel:h("from-now")})+"")&&Q(n,t)},d(a){a&&i(e)}}}function js(s){let e,l=h("schedules","upcoming-runs")+"",t,n,r,a=s[0].slice(0,5),o=[];for(let u=0;ul(1,t=a)),ce(s,ye,a=>l(2,n=a));let{futureRuns:r=[]}=e;return s.$$set=a=>{"futureRuns"in a&&l(0,r=a.futureRuns)},[r,t,n]}class zs extends be{constructor(e){super(),Ee(this,e,Bs,Os,Ie,{futureRuns:0})}}function Ml(s,e,l){const t=s.slice();return t[40]=e[l],t}function Gs(s){var c;let e,l,t,n,r,a,o,u,f,d,E,$;return t=new Be({props:{icon:"chevron-left",$$slots:{default:[Js]},$$scope:{ctx:s}}}),t.$on("click",s[34]),E=new Ol({props:{error:(c=s[9])==null?void 0:c.message}}),{c(){e=k("header"),l=k("div"),C(t.$$.fragment),n=M(),r=k("h1"),a=V(s[11]),o=M(),u=k("p"),f=V(s[10]),d=M(),C(E.$$.fragment),this.h()},l(m){e=w(m,"HEADER",{class:!0});var _=b(e);l=w(_,"DIV",{class:!0});var T=b(l);F(t.$$.fragment,T),n=q(T),r=w(T,"H1",{class:!0,"data-testid":!0});var H=b(r);a=W(H,s[11]),H.forEach(i),o=q(T),u=w(T,"P",{class:!0});var U=b(u);f=W(U,s[10]),U.forEach(i),T.forEach(i),_.forEach(i),d=q(m),F(E.$$.fragment,m),this.h()},h(){D(r,"class","mt-8 select-all text-2xl font-medium"),D(r,"data-testid","schedule-name"),D(u,"class","text-sm"),D(l,"class","relative flex flex-col gap-1"),D(e,"class","mb-8")},m(m,_){v(m,e,_),p(e,l),N(t,l,null),p(l,n),p(l,r),p(r,a),p(l,o),p(l,u),p(u,f),v(m,d,_),N(E,m,_),$=!0},p(m,_){var U;const T={};_[1]&4096&&(T.$$scope={dirty:_,ctx:m}),t.$set(T);const H={};_[0]&1&&(H.error=(U=m[9])==null?void 0:U.message),E.$set(H)},i(m){$||(P(t.$$.fragment,m),P(E.$$.fragment,m),$=!0)},o(m){S(t.$$.fragment,m),S(E.$$.fragment,m),$=!1},d(m){m&&i(e),L(t),m&&i(d),L(E,m)}}}function Js(s){let e=h("schedules","back-to-schedules")+"",l;return{c(){l=V(e)},l(t){l=W(t,e)},m(t,n){v(t,l,n)},p:G,d(t){t&&i(l)}}}function Ks(s){let e,l,t,n;const r=[Xs,Qs],a=[];function o(u,f){return u[6]?0:1}return e=o(s),l=a[e]=r[e](s),{c(){l.c(),t=te()},l(u){l.l(u),t=te()},m(u,f){a[e].m(u,f),v(u,t,f),n=!0},p(u,f){let d=e;e=o(u),e===d?a[e].p(u,f):(qe(),S(a[d],1,1,()=>{a[d]=null}),He(),l=a[e],l?l.p(u,f):(l=a[e]=r[e](u),l.c()),P(l,1),l.m(t.parentNode,t))},i(u){n||(P(l),n=!0)},o(u){S(l),n=!1},d(u){a[e].d(u),u&&i(t)}}}function Qs(s){var tt,lt,st,rt,nt,at,ot,ut,it,ft,ct,dt,mt,pt,ht,_t,$t,vt,gt,kt,wt,bt,Et,It,Tt,Dt,Rt,Pt,St,Vt,Wt,At,Mt,qt,Ht,Ct,Ft;let e,l,t,n,r,a,o,u,f,d,E,$,c=((nt=(rt=(st=(lt=(tt=s[39])==null?void 0:tt.schedule)==null?void 0:lt.action)==null?void 0:st.startWorkflow)==null?void 0:rt.workflowType)==null?void 0:nt.name)+"",m,_,T,H,U=h("created",{created:he((ot=(at=s[39])==null?void 0:at.info)==null?void 0:ot.createTime,s[7],{relative:s[8]})})+"",ae,le,_e,x,oe,X,ue,Y,J,se,$e,Z,de,O,Te,ie,re,ve,y,De,ge,I,j,A,B,ee,me,ke;t=new Be({props:{icon:"chevron-left",$$slots:{default:[Ys]},$$scope:{ctx:s}}}),t.$on("click",s[22]),d=new Ul({props:{status:(ut=s[39])!=null&&ut.schedule.state.paused?"Paused":"Running"}});let K=((ft=(it=s[39])==null?void 0:it.info)==null?void 0:ft.updateTime)&&ql(s);x=new hs({props:{position:"right",label:(mt=(dt=(ct=s[39])==null?void 0:ct.schedule)==null?void 0:dt.state)!=null&&mt.paused?h("schedules","unpause"):h("schedules","pause"),menuLabel:h("schedules","schedule-actions"),id:"schedule-actions",disabled:s[15],$$slots:{default:[er]},$$scope:{ctx:s}}}),x.$on("click",s[25]);let z=((ht=(pt=s[39])==null?void 0:pt.info)==null?void 0:ht.invalidScheduleError)&&Hl(s);se=new Us({props:{namespace:s[10],recentRuns:($t=(_t=s[39])==null?void 0:_t.info)==null?void 0:$t.recentActions}}),Z=new zs({props:{futureRuns:(gt=(vt=s[39])==null?void 0:vt.info)==null?void 0:gt.futureActionTimes}}),O=new Es({props:{spec:(wt=(kt=s[39])==null?void 0:kt.schedule)==null?void 0:wt.spec,state:(Et=(bt=s[39])==null?void 0:bt.schedule)==null?void 0:Et.state,policies:(Tt=(It=s[39])==null?void 0:It.schedule)==null?void 0:Tt.policies,notes:(Pt=(Rt=(Dt=s[39])==null?void 0:Dt.schedule)==null?void 0:Rt.state)==null?void 0:Pt.notes}}),re=new As({props:{calendar:(At=(Wt=(Vt=(St=s[39])==null?void 0:St.schedule)==null?void 0:Vt.spec)==null?void 0:Wt.structuredCalendar)==null?void 0:At[0],interval:(Ct=(Ht=(qt=(Mt=s[39])==null?void 0:Mt.schedule)==null?void 0:qt.spec)==null?void 0:Ht.interval)==null?void 0:Ct[0]}});function Bl(g){s[27](g)}function zl(){return s[28](s[39])}let xe={id:"pause-schedule-modal",confirmType:"primary",confirmText:(Ft=s[39])!=null&&Ft.schedule.state.paused?h("schedules","unpause"):h("schedules","pause"),cancelText:h("cancel"),confirmDisabled:!s[4],$$slots:{content:[lr],title:[tr]},$$scope:{ctx:s}};s[1]!==void 0&&(xe.open=s[1]),y=new Xe({props:xe}),Ce.push(()=>Fe(y,"open",Bl)),y.$on("confirmModal",zl),y.$on("cancelModal",s[19]);function Gl(g){s[29](g)}let et={id:"trigger-schedule-modal",large:!0,confirmType:"primary",confirmText:h("schedules","trigger"),cancelText:h("cancel"),loading:s[5],$$slots:{content:[nr],title:[sr]},$$scope:{ctx:s}};s[2]!==void 0&&(et.open=s[2]),I=new Xe({props:et}),Ce.push(()=>Fe(I,"open",Gl)),I.$on("confirmModal",s[30]),I.$on("cancelModal",s[31]);function Jl(g){s[32](g)}function Kl(g){s[33](g)}let Ge={id:"delete-schedule-modal",confirmType:"destructive",confirmText:h("delete"),cancelText:h("cancel"),$$slots:{content:[or],title:[ar]},$$scope:{ctx:s}};return s[3]!==void 0&&(Ge.open=s[3]),s[9]!==void 0&&(Ge.error=s[9]),B=new Xe({props:Ge}),Ce.push(()=>Fe(B,"open",Jl)),Ce.push(()=>Fe(B,"error",Kl)),B.$on("confirmModal",s[16]),B.$on("cancelModal",s[19]),{c(){e=k("header"),l=k("div"),C(t.$$.fragment),n=M(),r=k("h1"),a=k("span"),o=V(s[11]),u=M(),f=k("div"),C(d.$$.fragment),E=M(),$=k("p"),m=V(c),_=M(),T=k("div"),H=k("p"),ae=V(U),le=M(),K&&K.c(),_e=M(),C(x.$$.fragment),oe=M(),X=k("div"),z&&z.c(),ue=M(),Y=k("div"),J=k("div"),C(se.$$.fragment),$e=M(),C(Z.$$.fragment),de=M(),C(O.$$.fragment),Te=M(),ie=k("div"),C(re.$$.fragment),ve=M(),C(y.$$.fragment),ge=M(),C(I.$$.fragment),A=M(),C(B.$$.fragment),this.h()},l(g){e=w(g,"HEADER",{class:!0});var R=b(e);l=w(R,"DIV",{class:!0});var ne=b(l);F(t.$$.fragment,ne),n=q(ne),r=w(ne,"H1",{class:!0});var We=b(r);a=w(We,"SPAN",{class:!0,"data-testid":!0});var Se=b(a);o=W(Se,s[11]),Se.forEach(i),We.forEach(i),u=q(ne),f=w(ne,"DIV",{class:!0});var Pe=b(f);F(d.$$.fragment,Pe),E=q(Pe),$=w(Pe,"P",{});var Ae=b($);m=W(Ae,c),Ae.forEach(i),Pe.forEach(i),_=q(ne),T=w(ne,"DIV",{class:!0});var Re=b(T);H=w(Re,"P",{});var Ve=b(H);ae=W(Ve,U),Ve.forEach(i),Re.forEach(i),le=q(ne),K&&K.l(ne),ne.forEach(i),_e=q(R),F(x.$$.fragment,R),R.forEach(i),oe=q(g),X=w(g,"DIV",{class:!0});var pe=b(X);z&&z.l(pe),ue=q(pe),Y=w(pe,"DIV",{class:!0});var we=b(Y);J=w(we,"DIV",{class:!0});var fe=b(J);F(se.$$.fragment,fe),$e=q(fe),F(Z.$$.fragment,fe),de=q(fe),F(O.$$.fragment,fe),fe.forEach(i),Te=q(we),ie=w(we,"DIV",{class:!0});var Me=b(ie);F(re.$$.fragment,Me),Me.forEach(i),we.forEach(i),pe.forEach(i),ve=q(g),F(y.$$.fragment,g),ge=q(g),F(I.$$.fragment,g),A=q(g),F(B.$$.fragment,g),this.h()},h(){D(a,"class","select-all font-medium"),D(a,"data-testid","schedule-name"),D(r,"class","relative mt-4 flex items-center text-2xl"),D(f,"class","flex items-center gap-2 text-lg"),D(T,"class","flex items-center gap-2 text-sm"),D(l,"class","relative flex flex-col gap-4"),D(e,"class","mb-8 flex flex-row justify-between gap-4"),D(J,"class","flex w-full flex-col items-start gap-4 xl:w-2/3"),D(ie,"class","w-full xl:w-1/3"),D(Y,"class","flex flex-col gap-4 xl:flex-row"),D(X,"class","flex flex-col gap-4 pb-24")},m(g,R){v(g,e,R),p(e,l),N(t,l,null),p(l,n),p(l,r),p(r,a),p(a,o),p(l,u),p(l,f),N(d,f,null),p(f,E),p(f,$),p($,m),p(l,_),p(l,T),p(T,H),p(H,ae),p(l,le),K&&K.m(l,null),p(e,_e),N(x,e,null),v(g,oe,R),v(g,X,R),z&&z.m(X,null),p(X,ue),p(X,Y),p(Y,J),N(se,J,null),p(J,$e),N(Z,J,null),p(J,de),N(O,J,null),p(Y,Te),p(Y,ie),N(re,ie,null),v(g,ve,R),N(y,g,R),v(g,ge,R),N(I,g,R),v(g,A,R),N(B,g,R),ke=!0},p(g,R){var Me,Nt,Lt,Ut,jt,Ot,Bt,zt,Gt,Jt,Kt,Qt,Xt,Yt,Zt,yt,xt,el,tl,ll,sl,rl,nl,al,ol,ul,il,fl,cl,dl,ml,pl,hl,_l,$l,vl,gl;s=g;const ne={};R[1]&4096&&(ne.$$scope={dirty:R,ctx:s}),t.$set(ne);const We={};R[0]&1&&(We.status=(Me=s[39])!=null&&Me.schedule.state.paused?"Paused":"Running"),d.$set(We),(!ke||R[0]&1)&&c!==(c=((Ot=(jt=(Ut=(Lt=(Nt=s[39])==null?void 0:Nt.schedule)==null?void 0:Lt.action)==null?void 0:Ut.startWorkflow)==null?void 0:jt.workflowType)==null?void 0:Ot.name)+"")&&Q(m,c),(!ke||R[0]&385)&&U!==(U=h("created",{created:he((zt=(Bt=s[39])==null?void 0:Bt.info)==null?void 0:zt.createTime,s[7],{relative:s[8]})})+"")&&Q(ae,U),(Jt=(Gt=s[39])==null?void 0:Gt.info)!=null&&Jt.updateTime?K?K.p(s,R):(K=ql(s),K.c(),K.m(l,null)):K&&(K.d(1),K=null);const Se={};R[0]&1&&(Se.label=(Xt=(Qt=(Kt=s[39])==null?void 0:Kt.schedule)==null?void 0:Qt.state)!=null&&Xt.paused?h("schedules","unpause"):h("schedules","pause")),R[0]&12|R[1]&4096&&(Se.$$scope={dirty:R,ctx:s}),x.$set(Se),(Zt=(Yt=s[39])==null?void 0:Yt.info)!=null&&Zt.invalidScheduleError?z?(z.p(s,R),R[0]&1&&P(z,1)):(z=Hl(s),z.c(),P(z,1),z.m(X,ue)):z&&(qe(),S(z,1,1,()=>{z=null}),He());const Pe={};R[0]&1&&(Pe.recentRuns=(xt=(yt=s[39])==null?void 0:yt.info)==null?void 0:xt.recentActions),se.$set(Pe);const Ae={};R[0]&1&&(Ae.futureRuns=(tl=(el=s[39])==null?void 0:el.info)==null?void 0:tl.futureActionTimes),Z.$set(Ae);const Re={};R[0]&1&&(Re.spec=(sl=(ll=s[39])==null?void 0:ll.schedule)==null?void 0:sl.spec),R[0]&1&&(Re.state=(nl=(rl=s[39])==null?void 0:rl.schedule)==null?void 0:nl.state),R[0]&1&&(Re.policies=(ol=(al=s[39])==null?void 0:al.schedule)==null?void 0:ol.policies),R[0]&1&&(Re.notes=(fl=(il=(ul=s[39])==null?void 0:ul.schedule)==null?void 0:il.state)==null?void 0:fl.notes),O.$set(Re);const Ve={};R[0]&1&&(Ve.calendar=(pl=(ml=(dl=(cl=s[39])==null?void 0:cl.schedule)==null?void 0:dl.spec)==null?void 0:ml.structuredCalendar)==null?void 0:pl[0]),R[0]&1&&(Ve.interval=(vl=($l=(_l=(hl=s[39])==null?void 0:hl.schedule)==null?void 0:_l.spec)==null?void 0:$l.interval)==null?void 0:vl[0]),re.$set(Ve);const pe={};R[0]&1&&(pe.confirmText=(gl=s[39])!=null&&gl.schedule.state.paused?h("schedules","unpause"):h("schedules","pause")),R[0]&16&&(pe.confirmDisabled=!s[4]),R[0]&17|R[1]&4096&&(pe.$$scope={dirty:R,ctx:s}),!De&&R[0]&2&&(De=!0,pe.open=s[1],Ne(()=>De=!1)),y.$set(pe);const we={};R[0]&32&&(we.loading=s[5]),R[1]&4096&&(we.$$scope={dirty:R,ctx:s}),!j&&R[0]&4&&(j=!0,we.open=s[2],Ne(()=>j=!1)),I.$set(we);const fe={};R[1]&4096&&(fe.$$scope={dirty:R,ctx:s}),!ee&&R[0]&8&&(ee=!0,fe.open=s[3],Ne(()=>ee=!1)),!me&&R[0]&512&&(me=!0,fe.error=s[9],Ne(()=>me=!1)),B.$set(fe)},i(g){ke||(P(t.$$.fragment,g),P(d.$$.fragment,g),P(x.$$.fragment,g),P(z),P(se.$$.fragment,g),P(Z.$$.fragment,g),P(O.$$.fragment,g),P(re.$$.fragment,g),P(y.$$.fragment,g),P(I.$$.fragment,g),P(B.$$.fragment,g),ke=!0)},o(g){S(t.$$.fragment,g),S(d.$$.fragment,g),S(x.$$.fragment,g),S(z),S(se.$$.fragment,g),S(Z.$$.fragment,g),S(O.$$.fragment,g),S(re.$$.fragment,g),S(y.$$.fragment,g),S(I.$$.fragment,g),S(B.$$.fragment,g),ke=!1},d(g){g&&i(e),L(t),L(d),K&&K.d(),L(x),g&&i(oe),g&&i(X),z&&z.d(),L(se),L(Z),L(O),L(re),g&&i(ve),L(y,g),g&&i(ge),L(I,g),g&&i(A),L(B,g)}}}function Xs(s){let e,l;return e=new jl({props:{title:h("schedules","deleting"),class:"my-2"}}),{c(){C(e.$$.fragment)},l(t){F(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p:G,i(t){l||(P(e.$$.fragment,t),l=!0)},o(t){S(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ys(s){let e=h("schedules","back-to-schedules")+"",l;return{c(){l=V(e)},l(t){l=W(t,e)},m(t,n){v(t,l,n)},p:G,d(t){t&&i(l)}}}function ql(s){var r,a;let e,l,t=h("last-updated",{updated:he((a=(r=s[39])==null?void 0:r.info)==null?void 0:a.updateTime,s[7],{relative:s[8]})})+"",n;return{c(){e=k("div"),l=k("p"),n=V(t),this.h()},l(o){e=w(o,"DIV",{class:!0});var u=b(e);l=w(u,"P",{});var f=b(l);n=W(f,t),f.forEach(i),u.forEach(i),this.h()},h(){D(e,"class","flex items-center gap-2 text-sm")},m(o,u){v(o,e,u),p(e,l),p(l,n)},p(o,u){var f,d;u[0]&385&&t!==(t=h("last-updated",{updated:he((d=(f=o[39])==null?void 0:f.info)==null?void 0:d.updateTime,o[7],{relative:o[8]})})+"")&&Q(n,t)},d(o){o&&i(e)}}}function Zs(s){let e=h("schedules","trigger")+"",l;return{c(){l=V(e)},l(t){l=W(t,e)},m(t,n){v(t,l,n)},p:G,d(t){t&&i(l)}}}function ys(s){let e=h("edit")+"",l;return{c(){l=V(e)},l(t){l=W(t,e)},m(t,n){v(t,l,n)},p:G,d(t){t&&i(l)}}}function xs(s){let e=h("delete")+"",l;return{c(){l=V(e)},l(t){l=W(t,e)},m(t,n){v(t,l,n)},p:G,d(t){t&&i(l)}}}function er(s){let e,l,t,n,r,a;return e=new Qe({props:{"data-testid":"trigger-schedule",$$slots:{default:[Zs]},$$scope:{ctx:s}}}),e.$on("click",s[23]),t=new Qe({props:{"data-testid":"edit-schedule",href:ds({namespace:s[10],scheduleId:s[11]}),$$slots:{default:[ys]},$$scope:{ctx:s}}}),r=new Qe({props:{"data-testid":"delete-schedule",destructive:!0,$$slots:{default:[xs]},$$scope:{ctx:s}}}),r.$on("click",s[24]),{c(){C(e.$$.fragment),l=M(),C(t.$$.fragment),n=M(),C(r.$$.fragment)},l(o){F(e.$$.fragment,o),l=q(o),F(t.$$.fragment,o),n=q(o),F(r.$$.fragment,o)},m(o,u){N(e,o,u),v(o,l,u),N(t,o,u),v(o,n,u),N(r,o,u),a=!0},p(o,u){const f={};u[1]&4096&&(f.$$scope={dirty:u,ctx:o}),e.$set(f);const d={};u[1]&4096&&(d.$$scope={dirty:u,ctx:o}),t.$set(d);const E={};u[1]&4096&&(E.$$scope={dirty:u,ctx:o}),r.$set(E)},i(o){a||(P(e.$$.fragment,o),P(t.$$.fragment,o),P(r.$$.fragment,o),a=!0)},o(o){S(e.$$.fragment,o),S(t.$$.fragment,o),S(r.$$.fragment,o),a=!1},d(o){L(e,o),o&&i(l),L(t,o),o&&i(n),L(r,o)}}}function Hl(s){var n,r;let e,l,t;return l=new Ol({props:{error:(r=(n=s[39])==null?void 0:n.info)==null?void 0:r.invalidScheduleError}}),{c(){e=k("div"),C(l.$$.fragment),this.h()},l(a){e=w(a,"DIV",{class:!0});var o=b(e);F(l.$$.fragment,o),o.forEach(i),this.h()},h(){D(e,"class","w-full xl:w-1/2")},m(a,o){v(a,e,o),N(l,e,null),t=!0},p(a,o){var f,d;const u={};o[0]&1&&(u.error=(d=(f=a[39])==null?void 0:f.info)==null?void 0:d.invalidScheduleError),l.$set(u)},i(a){t||(P(l.$$.fragment,a),t=!0)},o(a){S(l.$$.fragment,a),t=!1},d(a){a&&i(e),L(l)}}}function tr(s){var n;let e,l=((n=s[39])!=null&&n.schedule.state.paused?h("schedules","unpause-modal-title"):h("schedules","pause-modal-title"))+"",t;return{c(){e=k("h3"),t=V(l),this.h()},l(r){e=w(r,"H3",{slot:!0});var a=b(e);t=W(a,l),a.forEach(i),this.h()},h(){D(e,"slot","title")},m(r,a){v(r,e,a),p(e,t)},p(r,a){var o;a[0]&1&&l!==(l=((o=r[39])!=null&&o.schedule.state.paused?h("schedules","unpause-modal-title"):h("schedules","pause-modal-title"))+"")&&Q(t,l)},d(r){r&&i(e)}}}function lr(s){var c,m;let e,l,t=((c=s[39])!=null&&c.schedule.state.paused?h("schedules","unpause-modal-confirmation",{schedule:s[11]}):h("schedules","pause-modal-confirmation",{schedule:s[11]}))+"",n,r,a,o=((m=s[39])!=null&&m.schedule.state.paused?h("schedules","unpause-reason"):h("schedules","pause-reason"))+"",u,f,d,E,$;return{c(){e=k("div"),l=k("p"),n=V(t),r=M(),a=k("p"),u=V(o),f=M(),d=k("input"),this.h()},l(_){e=w(_,"DIV",{slot:!0});var T=b(e);l=w(T,"P",{});var H=b(l);n=W(H,t),H.forEach(i),r=q(T),a=w(T,"P",{class:!0});var U=b(a);u=W(U,o),U.forEach(i),f=q(T),d=w(T,"INPUT",{class:!0,placeholder:!0}),T.forEach(i),this.h()},h(){D(a,"class","my-4"),D(d,"class","mt-4 block w-full rounded-md border border-gray-200 p-2"),D(d,"placeholder",h("reason")),D(e,"slot","content")},m(_,T){v(_,e,T),p(e,l),p(l,n),p(e,r),p(e,a),p(a,u),p(e,f),p(e,d),El(d,s[4]),E||($=[Il(d,"input",s[26]),Il(d,"keydown",ts(s[20]))],E=!0)},p(_,T){var H,U;T[0]&1&&t!==(t=((H=_[39])!=null&&H.schedule.state.paused?h("schedules","unpause-modal-confirmation",{schedule:_[11]}):h("schedules","pause-modal-confirmation",{schedule:_[11]}))+"")&&Q(n,t),T[0]&1&&o!==(o=((U=_[39])!=null&&U.schedule.state.paused?h("schedules","unpause-reason"):h("schedules","pause-reason"))+"")&&Q(u,o),T[0]&16&&d.value!==_[4]&&El(d,_[4])},d(_){_&&i(e),E=!1,ls($)}}}function sr(s){let e,l=h("schedules","trigger-modal-title")+"",t;return{c(){e=k("h3"),t=V(l),this.h()},l(n){e=w(n,"H3",{slot:!0});var r=b(e);t=W(r,l),r.forEach(i),this.h()},h(){D(e,"slot","title")},m(n,r){v(n,e,r),p(e,t)},p:G,d(n){n&&i(e)}}}function Cl(s){let e,l;return e=new ps({props:{id:s[40].value,value:s[40].value,label:s[40].label,description:s[40].description}}),{c(){C(e.$$.fragment)},l(t){F(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p:G,i(t){l||(P(e.$$.fragment,t),l=!0)},o(t){S(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function rr(s){let e,l,t=s[13],n=[];for(let a=0;aS(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;ae.parentNode,n.anchor=e,t=!0},p(r,a){s=r,n.ctx=s,a[0]&1&&l!==(l=s[0])&&Oe(l,n)||Fl(n,s,a)},i(r){t||(P(n.block),t=!0)},o(r){for(let a=0;a<3;a+=1){const o=n.blocks[a];S(o)}t=!1},d(r){r&&i(e),n.block.d(r),n.token=null,n=null}}}function cr(s,e,l){let t,n,r,a,o,u;ce(s,je,A=>l(6,n=A)),ce(s,Ll,A=>l(37,a=A)),ce(s,Ze,A=>l(7,o=A)),ce(s,ye,A=>l(8,u=A));let f=a.params.namespace,d=a.params.schedule;const E={namespace:f,scheduleId:Ye(d)};let $=Ke(E),c=!1,m=!1,_=!1,T="",H="",U=!1,ae=rs("Unspecified");ce(s,ae,A=>l(35,t=A));let le=[{description:h("schedules","trigger-unspecified-description"),label:h("schedules","trigger-unspecified-title"),value:"Unspecified"},{description:h("schedules","trigger-allow-all-description"),label:h("schedules","trigger-allow-all-title"),value:"AllowAll"},{description:h("schedules","trigger-skip-description"),label:h("schedules","trigger-skip-title"),value:"Skip"},{description:h("schedules","trigger-buffer-one-description"),label:h("schedules","trigger-buffer-one-title"),value:"BufferOne"},{description:h("schedules","trigger-buffer-all-description"),label:h("schedules","trigger-buffer-all-title"),value:"BufferAll"},{description:h("schedules","trigger-cancel-other-description"),label:h("schedules","trigger-cancel-other-title"),value:"CancelOther"},{description:h("schedules","trigger-terminate-other-description"),label:h("schedules","trigger-terminate-other-title"),value:"TerminateOther"}],_e=_s();ce(s,_e,A=>l(36,r=A));let x=r.namespaceWriteDisabled(f);const oe=async()=>{l(9,H="");try{Je(je,n=!0,n),await os({namespace:f,scheduleId:d}),l(3,_=!1),setTimeout(()=>{Je(je,n=!1,n),Le(Ue({namespace:f}))},2e3),l(4,T="")}catch(A){l(9,H=h("schedules","delete-schedule-error",{error:A==null?void 0:A.message})),Je(je,n=!1,n)}},X=async A=>{var B,ee;!((ee=(B=A==null?void 0:A.schedule)===null||B===void 0?void 0:B.state)===null||ee===void 0)&&ee.paused?await us({namespace:f,scheduleId:d,reason:T}):await is({namespace:f,scheduleId:d,reason:T}),l(0,$=Ke(E,fetch)),l(4,T=""),l(1,c=!1)},ue=async()=>{l(5,U=!0),await fs({namespace:f,scheduleId:d,overlapPolicy:t}),setTimeout(()=>{l(0,$=Ke(E,fetch)),l(2,m=!1),l(5,U=!1)},1e3)},Y=()=>{l(4,T="")};function J(A){es.call(this,s,A)}const se=()=>{Le(Ue({namespace:f}))},$e=()=>{Le(Ue({namespace:f}))},Z=()=>l(2,m=!0),de=()=>l(3,_=!0),O=()=>l(1,c=!0);function Te(){T=this.value,l(4,T)}function ie(A){c=A,l(1,c)}const re=A=>X(A);function ve(A){m=A,l(2,m)}const y=()=>ue(),De=()=>l(2,m=!1);function ge(A){_=A,l(3,_)}function I(A){H=A,l(9,H)}return[$,c,m,_,T,U,n,o,u,H,f,d,ae,le,_e,x,oe,X,ue,Y,J,se,$e,Z,de,O,Te,ie,re,ve,y,De,ge,I,()=>{Le(Ue({namespace:f}))}]}class dr extends be{constructor(e){super(),Ee(this,e,cr,fr,Ie,{},null,[-1,-1])}}function mr(s){let e,l,t,n;return e=new ss({props:{title:`Schedule | ${s[1]}`,url:s[0].url.href}}),t=new dr({}),{c(){C(e.$$.fragment),l=M(),C(t.$$.fragment)},l(r){F(e.$$.fragment,r),l=q(r),F(t.$$.fragment,r)},m(r,a){N(e,r,a),v(r,l,a),N(t,r,a),n=!0},p(r,[a]){const o={};a&1&&(o.url=r[0].url.href),e.$set(o)},i(r){n||(P(e.$$.fragment,r),P(t.$$.fragment,r),n=!0)},o(r){S(e.$$.fragment,r),S(t.$$.fragment,r),n=!1},d(r){L(e,r),r&&i(l),L(t,r)}}}function pr(s,e,l){let t;ce(s,Ll,r=>l(0,t=r));const n=t.params.schedule;return[t,n]}class Cr extends be{constructor(e){super(),Ee(this,e,pr,mr,Ie,{})}}export{Cr as default}; +import{S as be,b as Ee,a as Ie,m as k,w as V,c as M,p as w,q as b,x as W,k as i,d as q,u as D,f as v,L as p,y as Q,n as G,C,D as F,E as N,j as P,g as S,F as L,G as Ql,P as kl,H as Xl,I as Yl,J as Zl,N as wl,U as bl,K as ce,e as te,z as qe,aa as yl,ab as xl,h as He,aq as Oe,ar as Fl,a7 as Nl,a5 as Je,V as es,A as Ce,a0 as Fe,a1 as Ne,_ as El,Q as Il,$ as ts,r as ls}from"../chunks/index.09834243.js";import{p as Ll}from"../chunks/stores.cd833532.js";import{P as ss}from"../chunks/page-title.34fd480b.js";import{w as rs}from"../chunks/singletons.741208bb.js";import{g as Le}from"../chunks/navigation.3b6dd1c7.js";import{A as ns}from"../chunks/accordion.27d3ff9a.js";import{t as h}from"../chunks/translate.0a219ae4.js";import{S as as,a as Ke,d as os,u as us,p as is,t as fs}from"../chunks/schedule-service.4cfc145d.js";import{E as cs}from"../chunks/empty-state.aea525ff.js";import{L as Be}from"../chunks/link.7cb1390a.js";import{h as Tl}from"../chunks/workflow-service.14ef2cb6.js";import{t as Ze,r as ye,b as he}from"../chunks/format-date.79f77cbf.js";import{l as Ye,g as Dl,c as Ue,v as ds}from"../chunks/route-for.d76d8056.js";import{W as Ul}from"../chunks/workflow-status.cf27e560.js";import{L as jl}from"../chunks/loading.3bde98aa.js";import{d as Qe}from"../chunks/menu.4ba49cb6.js";import{M as Xe}from"../chunks/modal.25f32d75.js";import{R as ms,a as ps}from"../chunks/radio-input.af69c0d3.js";import{S as hs}from"../chunks/split-button.a43ca811.js";import{c as _s}from"../chunks/core-user.c59191b9.js";import{l as je}from"../chunks/schedules.8c7d6083.js";function $s(s){let e,l,t=h("notes")+"",n,r,a,o;return{c(){e=k("div"),l=k("h2"),n=V(t),r=M(),a=k("p"),o=V(s[0]),this.h()},l(u){e=w(u,"DIV",{});var f=b(e);l=w(f,"H2",{class:!0});var d=b(l);n=W(d,t),d.forEach(i),r=q(f),a=w(f,"P",{});var E=b(a);o=W(E,s[0]),E.forEach(i),f.forEach(i),this.h()},h(){D(l,"class","mb-4 text-2xl")},m(u,f){v(u,e,f),p(e,l),p(l,n),p(e,r),p(e,a),p(a,o)},p(u,[f]){f&1&&Q(o,u[0])},i:G,o:G,d(u){u&&i(e)}}}function vs(s,e,l){let{notes:t=""}=e;return s.$$set=n=>{"notes"in n&&l(0,t=n.notes)},[t]}class gs extends be{constructor(e){super(),Ee(this,e,vs,$s,Ie,{notes:0})}}function Rl(s){var a;let e,l=h("schedules","remaining-actions")+"",t,n=(((a=s[1])==null?void 0:a.remainingActions)??h("none"))+"",r;return{c(){e=k("p"),t=V(l),r=V(n)},l(o){e=w(o,"P",{});var u=b(e);t=W(u,l),r=W(u,n),u.forEach(i)},m(o,u){v(o,e,u),p(e,t),p(e,r)},p(o,u){var f;u&2&&n!==(n=(((f=o[1])==null?void 0:f.remainingActions)??h("none"))+"")&&Q(r,n)},d(o){o&&i(e)}}}function ks(s){var Te,ie,re,ve,y,De,ge;let e,l=h("schedules","start-time")+"",t,n,r=(((Te=s[0])==null?void 0:Te.startTime)??h("none"))+"",a,o,u,f=h("schedules","end-time")+"",d,E=(((ie=s[0])==null?void 0:ie.endTime)??h("none"))+"",$,c,m,_=h("schedules","jitter")+"",T,H=(((re=s[0])==null?void 0:re.jitter)??h("none"))+"",U,ae,le,_e=h("schedules","exclusion-calendar")+"",x,oe=(((y=(ve=s[0])==null?void 0:ve.excludeCalendar)==null?void 0:y[0])??h("none"))+"",X,ue,Y,J,se=h("schedules","overlap-policy")+"",$e,Z=(((De=s[2])==null?void 0:De.overlapPolicy)??h("none"))+"",de,O=((ge=s[1])==null?void 0:ge.limitedActions)&&Rl(s);return{c(){e=k("p"),t=V(l),n=M(),a=V(r),o=M(),u=k("p"),d=V(f),$=V(E),c=M(),m=k("p"),T=V(_),U=V(H),ae=M(),le=k("p"),x=V(_e),X=V(oe),ue=M(),O&&O.c(),Y=M(),J=k("p"),$e=V(se),de=V(Z)},l(I){e=w(I,"P",{});var j=b(e);t=W(j,l),n=q(j),a=W(j,r),j.forEach(i),o=q(I),u=w(I,"P",{});var A=b(u);d=W(A,f),$=W(A,E),A.forEach(i),c=q(I),m=w(I,"P",{});var B=b(m);T=W(B,_),U=W(B,H),B.forEach(i),ae=q(I),le=w(I,"P",{});var ee=b(le);x=W(ee,_e),X=W(ee,oe),ee.forEach(i),ue=q(I),O&&O.l(I),Y=q(I),J=w(I,"P",{});var me=b(J);$e=W(me,se),de=W(me,Z),me.forEach(i)},m(I,j){v(I,e,j),p(e,t),p(e,n),p(e,a),v(I,o,j),v(I,u,j),p(u,d),p(u,$),v(I,c,j),v(I,m,j),p(m,T),p(m,U),v(I,ae,j),v(I,le,j),p(le,x),p(le,X),v(I,ue,j),O&&O.m(I,j),v(I,Y,j),v(I,J,j),p(J,$e),p(J,de)},p(I,j){var A,B,ee,me,ke,K,z;j&1&&r!==(r=(((A=I[0])==null?void 0:A.startTime)??h("none"))+"")&&Q(a,r),j&1&&E!==(E=(((B=I[0])==null?void 0:B.endTime)??h("none"))+"")&&Q($,E),j&1&&H!==(H=(((ee=I[0])==null?void 0:ee.jitter)??h("none"))+"")&&Q(U,H),j&1&&oe!==(oe=(((ke=(me=I[0])==null?void 0:me.excludeCalendar)==null?void 0:ke[0])??h("none"))+"")&&Q(X,oe),(K=I[1])!=null&&K.limitedActions?O?O.p(I,j):(O=Rl(I),O.c(),O.m(Y.parentNode,Y)):O&&(O.d(1),O=null),j&4&&Z!==(Z=(((z=I[2])==null?void 0:z.overlapPolicy)??h("none"))+"")&&Q(de,Z)},d(I){I&&i(e),I&&i(o),I&&i(u),I&&i(c),I&&i(m),I&&i(ae),I&&i(le),I&&i(ue),O&&O.d(I),I&&i(Y),I&&i(J)}}}function ws(s){let e,l,t,n;return e=new gs({props:{notes:s[3]}}),t=new ns({props:{title:h("schedules","advanced-settings"),$$slots:{default:[ks]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment),l=M(),C(t.$$.fragment)},l(r){F(e.$$.fragment,r),l=q(r),F(t.$$.fragment,r)},m(r,a){N(e,r,a),v(r,l,a),N(t,r,a),n=!0},p(r,[a]){const o={};a&8&&(o.notes=r[3]),e.$set(o);const u={};a&23&&(u.$$scope={dirty:a,ctx:r}),t.$set(u)},i(r){n||(P(e.$$.fragment,r),P(t.$$.fragment,r),n=!0)},o(r){S(e.$$.fragment,r),S(t.$$.fragment,r),n=!1},d(r){L(e,r),r&&i(l),L(t,r)}}}function bs(s,e,l){let{spec:t}=e,{state:n}=e,{policies:r}=e,{notes:a=""}=e;return s.$$set=o=>{"spec"in o&&l(0,t=o.spec),"state"in o&&l(1,n=o.state),"policies"in o&&l(2,r=o.policies),"notes"in o&&l(3,a=o.notes)},[t,n,r,a]}class Es extends be{constructor(e){super(),Ee(this,e,bs,ws,Ie,{spec:0,state:1,policies:2,notes:3})}}function Is(s){let e,l,t;const n=s[3].default,r=Ql(n,s,s[2],null);return{c(){e=k("div"),r&&r.c(),this.h()},l(a){e=w(a,"DIV",{class:!0});var o=b(e);r&&r.l(o),o.forEach(i),this.h()},h(){D(e,"class",l="panel bg-white "+s[1].class+" svelte-11fqqfg"),kl(e,"error",s[0])},m(a,o){v(a,e,o),r&&r.m(e,null),t=!0},p(a,[o]){r&&r.p&&(!t||o&4)&&Xl(r,n,a,a[2],t?Zl(n,a[2],o,null):Yl(a[2]),null),(!t||o&2&&l!==(l="panel bg-white "+a[1].class+" svelte-11fqqfg"))&&D(e,"class",l),(!t||o&3)&&kl(e,"error",a[0])},i(a){t||(P(r,a),t=!0)},o(a){S(r,a),t=!1},d(a){a&&i(e),r&&r.d(a)}}}function Ts(s,e,l){let{$$slots:t={},$$scope:n}=e,{error:r=!1}=e;return s.$$set=a=>{l(1,e=wl(wl({},e),bl(a))),"error"in a&&l(0,r=a.error),"$$scope"in a&&l(2,n=a.$$scope)},e=bl(e),[r,e,n,t]}class ze extends be{constructor(e){super(),Ee(this,e,Ts,Is,Ie,{error:0})}}function Ds(s){let e,l=h("schedules","error-title")+"",t,n,r,a;return{c(){e=k("p"),t=V(l),n=M(),r=k("p"),a=V(s[0]),this.h()},l(o){e=w(o,"P",{class:!0});var u=b(e);t=W(u,l),u.forEach(i),n=q(o),r=w(o,"P",{class:!0});var f=b(r);a=W(f,s[0]),f.forEach(i),this.h()},h(){D(e,"class","error-text svelte-1lke5yx"),D(r,"class","error-text svelte-1lke5yx")},m(o,u){v(o,e,u),p(e,t),v(o,n,u),v(o,r,u),p(r,a)},p(o,u){u&1&&Q(a,o[0])},d(o){o&&i(e),o&&i(n),o&&i(r)}}}function Rs(s){let e,l;return e=new ze({props:{error:!0,$$slots:{default:[Ds]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){F(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,[n]){const r={};n&3&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(P(e.$$.fragment,t),l=!0)},o(t){S(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ps(s,e,l){let{error:t=""}=e;return s.$$set=n=>{"error"in n&&l(0,t=n.error)},[t]}class Ol extends be{constructor(e){super(),Ee(this,e,Ps,Rs,Ie,{error:0})}}function Ss(s){let e,l=h("schedules","schedule-spec")+"",t,n,r,a,o;return a=new as({props:{calendar:s[0],interval:s[1],class:"text-base"}}),{c(){e=k("h2"),t=V(l),n=M(),r=k("div"),C(a.$$.fragment),this.h()},l(u){e=w(u,"H2",{class:!0});var f=b(e);t=W(f,l),f.forEach(i),n=q(u),r=w(u,"DIV",{class:!0});var d=b(r);F(a.$$.fragment,d),d.forEach(i),this.h()},h(){D(e,"class","mb-4 text-2xl"),D(r,"class","pr-2")},m(u,f){v(u,e,f),p(e,t),v(u,n,f),v(u,r,f),N(a,r,null),o=!0},p(u,f){const d={};f&1&&(d.calendar=u[0]),f&2&&(d.interval=u[1]),a.$set(d)},i(u){o||(P(a.$$.fragment,u),o=!0)},o(u){S(a.$$.fragment,u),o=!1},d(u){u&&i(e),u&&i(n),u&&i(r),L(a)}}}function Vs(s){let e,l;return e=new ze({props:{$$slots:{default:[Ss]},$$scope:{ctx:s}}}),{c(){C(e.$$.fragment)},l(t){F(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,[n]){const r={};n&7&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(P(e.$$.fragment,t),l=!0)},o(t){S(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ws(s,e,l){let{calendar:t=void 0}=e,{interval:n=void 0}=e;return s.$$set=r=>{"calendar"in r&&l(0,t=r.calendar),"interval"in r&&l(1,n=r.interval)},[t,n]}class As extends be{constructor(e){super(),Ee(this,e,Ws,Vs,Ie,{calendar:0,interval:1})}}function Pl(s,e,l){const t=s.slice();return t[5]=e[l],t}function Ms(s){let e,l,t,n,r=s[5].startWorkflowResult.workflowId+"",a,o,u,f,d=he(s[5].actualTime,s[2],{relative:s[3]})+"",E;return{c(){e=k("div"),l=k("div"),t=M(),n=k("div"),a=V(r),o=M(),u=k("div"),f=k("p"),E=V(d),this.h()},l($){e=w($,"DIV",{class:!0});var c=b(e);l=w(c,"DIV",{class:!0}),b(l).forEach(i),t=q(c),n=w(c,"DIV",{class:!0});var m=b(n);a=W(m,r),m.forEach(i),o=q(c),u=w(c,"DIV",{class:!0});var _=b(u);f=w(_,"P",{});var T=b(f);E=W(T,d),T.forEach(i),_.forEach(i),c.forEach(i),this.h()},h(){D(l,"class","w-28"),D(n,"class","w-96"),D(u,"class","ml-auto"),D(e,"class","row svelte-lqpjgu")},m($,c){v($,e,c),p(e,l),p(e,t),p(e,n),p(n,a),p(e,o),p(e,u),p(u,f),p(f,E)},p($,c){c&1&&r!==(r=$[5].startWorkflowResult.workflowId+"")&&Q(a,r),c&13&&d!==(d=he($[5].actualTime,$[2],{relative:$[3]})+"")&&Q(E,d)},i:G,o:G,d($){$&&i(e)}}}function qs(s){let e,l,t,n,r,a,o,u,f,d=he(s[5].actualTime,s[2],{relative:s[3]})+"",E,$;return t=new Ul({props:{status:s[8].status}}),a=new Be({props:{newTab:!0,href:Dl({workflow:s[5].startWorkflowResult.workflowId,run:s[5].startWorkflowResult.runId,namespace:s[1]}),$$slots:{default:[Hs]},$$scope:{ctx:s}}}),{c(){e=k("div"),l=k("div"),C(t.$$.fragment),n=M(),r=k("div"),C(a.$$.fragment),o=M(),u=k("div"),f=k("p"),E=V(d),this.h()},l(c){e=w(c,"DIV",{class:!0});var m=b(e);l=w(m,"DIV",{class:!0});var _=b(l);F(t.$$.fragment,_),_.forEach(i),n=q(m),r=w(m,"DIV",{class:!0});var T=b(r);F(a.$$.fragment,T),T.forEach(i),o=q(m),u=w(m,"DIV",{class:!0});var H=b(u);f=w(H,"P",{});var U=b(f);E=W(U,d),U.forEach(i),H.forEach(i),m.forEach(i),this.h()},h(){D(l,"class","w-28"),D(r,"class","mx-2 w-auto break-words"),D(u,"class","ml-auto"),D(e,"class","row svelte-lqpjgu")},m(c,m){v(c,e,m),p(e,l),N(t,l,null),p(e,n),p(e,r),N(a,r,null),p(e,o),p(e,u),p(u,f),p(f,E),$=!0},p(c,m){const _={};m&3&&(_.status=c[8].status),t.$set(_);const T={};m&3&&(T.href=Dl({workflow:c[5].startWorkflowResult.workflowId,run:c[5].startWorkflowResult.runId,namespace:c[1]})),m&513&&(T.$$scope={dirty:m,ctx:c}),a.$set(T),(!$||m&13)&&d!==(d=he(c[5].actualTime,c[2],{relative:c[3]})+"")&&Q(E,d)},i(c){$||(P(t.$$.fragment,c),P(a.$$.fragment,c),$=!0)},o(c){S(t.$$.fragment,c),S(a.$$.fragment,c),$=!1},d(c){c&&i(e),L(t),L(a)}}}function Hs(s){let e=s[5].startWorkflowResult.workflowId+"",l;return{c(){l=V(e)},l(t){l=W(t,e)},m(t,n){v(t,l,n)},p(t,n){n&1&&e!==(e=t[5].startWorkflowResult.workflowId+"")&&Q(l,e)},d(t){t&&i(l)}}}function Cs(s){return{c:G,l:G,m:G,p:G,i:G,o:G,d:G}}function Sl(s,e){let l,t,n,r,a={ctx:e,current:null,token:null,hasCatch:!0,pending:Cs,then:qs,catch:Ms,value:8,blocks:[,,,]};return Oe(n=Tl({namespace:e[1],workflowId:Ye(e[5].startWorkflowResult.workflowId),runId:e[5].startWorkflowResult.runId},fetch),a),{key:s,first:null,c(){l=te(),t=te(),a.block.c(),this.h()},l(o){l=te(),t=te(),a.block.l(o),this.h()},h(){this.first=l},m(o,u){v(o,l,u),v(o,t,u),a.block.m(o,a.anchor=u),a.mount=()=>t.parentNode,a.anchor=t,r=!0},p(o,u){e=o,a.ctx=e,u&3&&n!==(n=Tl({namespace:e[1],workflowId:Ye(e[5].startWorkflowResult.workflowId),runId:e[5].startWorkflowResult.runId},fetch))&&Oe(n,a)||Fl(a,e,u)},i(o){r||(P(a.block),r=!0)},o(o){for(let u=0;u<3;u+=1){const f=a.blocks[u];S(f)}r=!1},d(o){o&&i(l),o&&i(t),a.block.d(o),a.token=null,a=null}}}function Vl(s){let e,l;return e=new cs({props:{title:h("schedules","recent-runs-empty-state-title")}}),{c(){C(e.$$.fragment)},l(t){F(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p:G,i(t){l||(P(e.$$.fragment,t),l=!0)},o(t){S(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Fs(s){let e,l=h("schedules","recent-runs")+"",t,n,r=[],a=new Map,o,u,f,d=s[4](s[0]);const E=c=>{var m,_;return(_=(m=c[5])==null?void 0:m.startWorkflowResult)==null?void 0:_.workflowId};for(let c=0;c{$=null}),He()):$?($.p(c,m),m&1&&P($,1)):($=Vl(),$.c(),P($,1),$.m(u.parentNode,u))},i(c){if(!f){for(let m=0;ml(2,t=u)),ce(s,ye,u=>l(3,n=u));let{recentRuns:r=[]}=e,{namespace:a}=e;const o=u=>{var f,d;return(d=(f=u==null?void 0:u.sort((E,$)=>new Date($.actualTime).getTime()-new Date(E.actualTime).getTime()))===null||f===void 0?void 0:f.slice(0,5))!==null&&d!==void 0?d:[]};return s.$$set=u=>{"recentRuns"in u&&l(0,r=u.recentRuns),"namespace"in u&&l(1,a=u.namespace)},[r,a,t,n,o]}class Us extends be{constructor(e){super(),Ee(this,e,Ls,Ns,Ie,{recentRuns:0,namespace:1})}}function Wl(s,e,l){const t=s.slice();return t[3]=e[l],t}function Al(s){let e,l,t=he(s[3],s[1],{relative:s[2],relativeLabel:h("from-now")})+"",n,r;return{c(){e=k("div"),l=k("p"),n=V(t),r=M(),this.h()},l(a){e=w(a,"DIV",{class:!0});var o=b(e);l=w(o,"P",{});var u=b(l);n=W(u,t),u.forEach(i),r=q(o),o.forEach(i),this.h()},h(){D(e,"class","row svelte-kbuuws")},m(a,o){v(a,e,o),p(e,l),p(l,n),p(e,r)},p(a,o){o&7&&t!==(t=he(a[3],a[1],{relative:a[2],relativeLabel:h("from-now")})+"")&&Q(n,t)},d(a){a&&i(e)}}}function js(s){let e,l=h("schedules","upcoming-runs")+"",t,n,r,a=s[0].slice(0,5),o=[];for(let u=0;ul(1,t=a)),ce(s,ye,a=>l(2,n=a));let{futureRuns:r=[]}=e;return s.$$set=a=>{"futureRuns"in a&&l(0,r=a.futureRuns)},[r,t,n]}class zs extends be{constructor(e){super(),Ee(this,e,Bs,Os,Ie,{futureRuns:0})}}function Ml(s,e,l){const t=s.slice();return t[40]=e[l],t}function Gs(s){var c;let e,l,t,n,r,a,o,u,f,d,E,$;return t=new Be({props:{icon:"chevron-left",$$slots:{default:[Js]},$$scope:{ctx:s}}}),t.$on("click",s[34]),E=new Ol({props:{error:(c=s[9])==null?void 0:c.message}}),{c(){e=k("header"),l=k("div"),C(t.$$.fragment),n=M(),r=k("h1"),a=V(s[11]),o=M(),u=k("p"),f=V(s[10]),d=M(),C(E.$$.fragment),this.h()},l(m){e=w(m,"HEADER",{class:!0});var _=b(e);l=w(_,"DIV",{class:!0});var T=b(l);F(t.$$.fragment,T),n=q(T),r=w(T,"H1",{class:!0,"data-testid":!0});var H=b(r);a=W(H,s[11]),H.forEach(i),o=q(T),u=w(T,"P",{class:!0});var U=b(u);f=W(U,s[10]),U.forEach(i),T.forEach(i),_.forEach(i),d=q(m),F(E.$$.fragment,m),this.h()},h(){D(r,"class","mt-8 select-all text-2xl font-medium"),D(r,"data-testid","schedule-name"),D(u,"class","text-sm"),D(l,"class","relative flex flex-col gap-1"),D(e,"class","mb-8")},m(m,_){v(m,e,_),p(e,l),N(t,l,null),p(l,n),p(l,r),p(r,a),p(l,o),p(l,u),p(u,f),v(m,d,_),N(E,m,_),$=!0},p(m,_){var U;const T={};_[1]&4096&&(T.$$scope={dirty:_,ctx:m}),t.$set(T);const H={};_[0]&1&&(H.error=(U=m[9])==null?void 0:U.message),E.$set(H)},i(m){$||(P(t.$$.fragment,m),P(E.$$.fragment,m),$=!0)},o(m){S(t.$$.fragment,m),S(E.$$.fragment,m),$=!1},d(m){m&&i(e),L(t),m&&i(d),L(E,m)}}}function Js(s){let e=h("schedules","back-to-schedules")+"",l;return{c(){l=V(e)},l(t){l=W(t,e)},m(t,n){v(t,l,n)},p:G,d(t){t&&i(l)}}}function Ks(s){let e,l,t,n;const r=[Xs,Qs],a=[];function o(u,f){return u[6]?0:1}return e=o(s),l=a[e]=r[e](s),{c(){l.c(),t=te()},l(u){l.l(u),t=te()},m(u,f){a[e].m(u,f),v(u,t,f),n=!0},p(u,f){let d=e;e=o(u),e===d?a[e].p(u,f):(qe(),S(a[d],1,1,()=>{a[d]=null}),He(),l=a[e],l?l.p(u,f):(l=a[e]=r[e](u),l.c()),P(l,1),l.m(t.parentNode,t))},i(u){n||(P(l),n=!0)},o(u){S(l),n=!1},d(u){a[e].d(u),u&&i(t)}}}function Qs(s){var tt,lt,st,rt,nt,at,ot,ut,it,ft,ct,dt,mt,pt,ht,_t,$t,vt,gt,kt,wt,bt,Et,It,Tt,Dt,Rt,Pt,St,Vt,Wt,At,Mt,qt,Ht,Ct,Ft;let e,l,t,n,r,a,o,u,f,d,E,$,c=((nt=(rt=(st=(lt=(tt=s[39])==null?void 0:tt.schedule)==null?void 0:lt.action)==null?void 0:st.startWorkflow)==null?void 0:rt.workflowType)==null?void 0:nt.name)+"",m,_,T,H,U=h("created",{created:he((ot=(at=s[39])==null?void 0:at.info)==null?void 0:ot.createTime,s[7],{relative:s[8]})})+"",ae,le,_e,x,oe,X,ue,Y,J,se,$e,Z,de,O,Te,ie,re,ve,y,De,ge,I,j,A,B,ee,me,ke;t=new Be({props:{icon:"chevron-left",$$slots:{default:[Ys]},$$scope:{ctx:s}}}),t.$on("click",s[22]),d=new Ul({props:{status:(ut=s[39])!=null&&ut.schedule.state.paused?"Paused":"Running"}});let K=((ft=(it=s[39])==null?void 0:it.info)==null?void 0:ft.updateTime)&&ql(s);x=new hs({props:{position:"right",label:(mt=(dt=(ct=s[39])==null?void 0:ct.schedule)==null?void 0:dt.state)!=null&&mt.paused?h("schedules","unpause"):h("schedules","pause"),menuLabel:h("schedules","schedule-actions"),id:"schedule-actions",disabled:s[15],$$slots:{default:[er]},$$scope:{ctx:s}}}),x.$on("click",s[25]);let z=((ht=(pt=s[39])==null?void 0:pt.info)==null?void 0:ht.invalidScheduleError)&&Hl(s);se=new Us({props:{namespace:s[10],recentRuns:($t=(_t=s[39])==null?void 0:_t.info)==null?void 0:$t.recentActions}}),Z=new zs({props:{futureRuns:(gt=(vt=s[39])==null?void 0:vt.info)==null?void 0:gt.futureActionTimes}}),O=new Es({props:{spec:(wt=(kt=s[39])==null?void 0:kt.schedule)==null?void 0:wt.spec,state:(Et=(bt=s[39])==null?void 0:bt.schedule)==null?void 0:Et.state,policies:(Tt=(It=s[39])==null?void 0:It.schedule)==null?void 0:Tt.policies,notes:(Pt=(Rt=(Dt=s[39])==null?void 0:Dt.schedule)==null?void 0:Rt.state)==null?void 0:Pt.notes}}),re=new As({props:{calendar:(At=(Wt=(Vt=(St=s[39])==null?void 0:St.schedule)==null?void 0:Vt.spec)==null?void 0:Wt.structuredCalendar)==null?void 0:At[0],interval:(Ct=(Ht=(qt=(Mt=s[39])==null?void 0:Mt.schedule)==null?void 0:qt.spec)==null?void 0:Ht.interval)==null?void 0:Ct[0]}});function Bl(g){s[27](g)}function zl(){return s[28](s[39])}let xe={id:"pause-schedule-modal",confirmType:"primary",confirmText:(Ft=s[39])!=null&&Ft.schedule.state.paused?h("schedules","unpause"):h("schedules","pause"),cancelText:h("cancel"),confirmDisabled:!s[4],$$slots:{content:[lr],title:[tr]},$$scope:{ctx:s}};s[1]!==void 0&&(xe.open=s[1]),y=new Xe({props:xe}),Ce.push(()=>Fe(y,"open",Bl)),y.$on("confirmModal",zl),y.$on("cancelModal",s[19]);function Gl(g){s[29](g)}let et={id:"trigger-schedule-modal",large:!0,confirmType:"primary",confirmText:h("schedules","trigger"),cancelText:h("cancel"),loading:s[5],$$slots:{content:[nr],title:[sr]},$$scope:{ctx:s}};s[2]!==void 0&&(et.open=s[2]),I=new Xe({props:et}),Ce.push(()=>Fe(I,"open",Gl)),I.$on("confirmModal",s[30]),I.$on("cancelModal",s[31]);function Jl(g){s[32](g)}function Kl(g){s[33](g)}let Ge={id:"delete-schedule-modal",confirmType:"destructive",confirmText:h("delete"),cancelText:h("cancel"),$$slots:{content:[or],title:[ar]},$$scope:{ctx:s}};return s[3]!==void 0&&(Ge.open=s[3]),s[9]!==void 0&&(Ge.error=s[9]),B=new Xe({props:Ge}),Ce.push(()=>Fe(B,"open",Jl)),Ce.push(()=>Fe(B,"error",Kl)),B.$on("confirmModal",s[16]),B.$on("cancelModal",s[19]),{c(){e=k("header"),l=k("div"),C(t.$$.fragment),n=M(),r=k("h1"),a=k("span"),o=V(s[11]),u=M(),f=k("div"),C(d.$$.fragment),E=M(),$=k("p"),m=V(c),_=M(),T=k("div"),H=k("p"),ae=V(U),le=M(),K&&K.c(),_e=M(),C(x.$$.fragment),oe=M(),X=k("div"),z&&z.c(),ue=M(),Y=k("div"),J=k("div"),C(se.$$.fragment),$e=M(),C(Z.$$.fragment),de=M(),C(O.$$.fragment),Te=M(),ie=k("div"),C(re.$$.fragment),ve=M(),C(y.$$.fragment),ge=M(),C(I.$$.fragment),A=M(),C(B.$$.fragment),this.h()},l(g){e=w(g,"HEADER",{class:!0});var R=b(e);l=w(R,"DIV",{class:!0});var ne=b(l);F(t.$$.fragment,ne),n=q(ne),r=w(ne,"H1",{class:!0});var We=b(r);a=w(We,"SPAN",{class:!0,"data-testid":!0});var Se=b(a);o=W(Se,s[11]),Se.forEach(i),We.forEach(i),u=q(ne),f=w(ne,"DIV",{class:!0});var Pe=b(f);F(d.$$.fragment,Pe),E=q(Pe),$=w(Pe,"P",{});var Ae=b($);m=W(Ae,c),Ae.forEach(i),Pe.forEach(i),_=q(ne),T=w(ne,"DIV",{class:!0});var Re=b(T);H=w(Re,"P",{});var Ve=b(H);ae=W(Ve,U),Ve.forEach(i),Re.forEach(i),le=q(ne),K&&K.l(ne),ne.forEach(i),_e=q(R),F(x.$$.fragment,R),R.forEach(i),oe=q(g),X=w(g,"DIV",{class:!0});var pe=b(X);z&&z.l(pe),ue=q(pe),Y=w(pe,"DIV",{class:!0});var we=b(Y);J=w(we,"DIV",{class:!0});var fe=b(J);F(se.$$.fragment,fe),$e=q(fe),F(Z.$$.fragment,fe),de=q(fe),F(O.$$.fragment,fe),fe.forEach(i),Te=q(we),ie=w(we,"DIV",{class:!0});var Me=b(ie);F(re.$$.fragment,Me),Me.forEach(i),we.forEach(i),pe.forEach(i),ve=q(g),F(y.$$.fragment,g),ge=q(g),F(I.$$.fragment,g),A=q(g),F(B.$$.fragment,g),this.h()},h(){D(a,"class","select-all font-medium"),D(a,"data-testid","schedule-name"),D(r,"class","relative mt-4 flex items-center text-2xl"),D(f,"class","flex items-center gap-2 text-lg"),D(T,"class","flex items-center gap-2 text-sm"),D(l,"class","relative flex flex-col gap-4"),D(e,"class","mb-8 flex flex-row justify-between gap-4"),D(J,"class","flex w-full flex-col items-start gap-4 xl:w-2/3"),D(ie,"class","w-full xl:w-1/3"),D(Y,"class","flex flex-col gap-4 xl:flex-row"),D(X,"class","flex flex-col gap-4 pb-24")},m(g,R){v(g,e,R),p(e,l),N(t,l,null),p(l,n),p(l,r),p(r,a),p(a,o),p(l,u),p(l,f),N(d,f,null),p(f,E),p(f,$),p($,m),p(l,_),p(l,T),p(T,H),p(H,ae),p(l,le),K&&K.m(l,null),p(e,_e),N(x,e,null),v(g,oe,R),v(g,X,R),z&&z.m(X,null),p(X,ue),p(X,Y),p(Y,J),N(se,J,null),p(J,$e),N(Z,J,null),p(J,de),N(O,J,null),p(Y,Te),p(Y,ie),N(re,ie,null),v(g,ve,R),N(y,g,R),v(g,ge,R),N(I,g,R),v(g,A,R),N(B,g,R),ke=!0},p(g,R){var Me,Nt,Lt,Ut,jt,Ot,Bt,zt,Gt,Jt,Kt,Qt,Xt,Yt,Zt,yt,xt,el,tl,ll,sl,rl,nl,al,ol,ul,il,fl,cl,dl,ml,pl,hl,_l,$l,vl,gl;s=g;const ne={};R[1]&4096&&(ne.$$scope={dirty:R,ctx:s}),t.$set(ne);const We={};R[0]&1&&(We.status=(Me=s[39])!=null&&Me.schedule.state.paused?"Paused":"Running"),d.$set(We),(!ke||R[0]&1)&&c!==(c=((Ot=(jt=(Ut=(Lt=(Nt=s[39])==null?void 0:Nt.schedule)==null?void 0:Lt.action)==null?void 0:Ut.startWorkflow)==null?void 0:jt.workflowType)==null?void 0:Ot.name)+"")&&Q(m,c),(!ke||R[0]&385)&&U!==(U=h("created",{created:he((zt=(Bt=s[39])==null?void 0:Bt.info)==null?void 0:zt.createTime,s[7],{relative:s[8]})})+"")&&Q(ae,U),(Jt=(Gt=s[39])==null?void 0:Gt.info)!=null&&Jt.updateTime?K?K.p(s,R):(K=ql(s),K.c(),K.m(l,null)):K&&(K.d(1),K=null);const Se={};R[0]&1&&(Se.label=(Xt=(Qt=(Kt=s[39])==null?void 0:Kt.schedule)==null?void 0:Qt.state)!=null&&Xt.paused?h("schedules","unpause"):h("schedules","pause")),R[0]&12|R[1]&4096&&(Se.$$scope={dirty:R,ctx:s}),x.$set(Se),(Zt=(Yt=s[39])==null?void 0:Yt.info)!=null&&Zt.invalidScheduleError?z?(z.p(s,R),R[0]&1&&P(z,1)):(z=Hl(s),z.c(),P(z,1),z.m(X,ue)):z&&(qe(),S(z,1,1,()=>{z=null}),He());const Pe={};R[0]&1&&(Pe.recentRuns=(xt=(yt=s[39])==null?void 0:yt.info)==null?void 0:xt.recentActions),se.$set(Pe);const Ae={};R[0]&1&&(Ae.futureRuns=(tl=(el=s[39])==null?void 0:el.info)==null?void 0:tl.futureActionTimes),Z.$set(Ae);const Re={};R[0]&1&&(Re.spec=(sl=(ll=s[39])==null?void 0:ll.schedule)==null?void 0:sl.spec),R[0]&1&&(Re.state=(nl=(rl=s[39])==null?void 0:rl.schedule)==null?void 0:nl.state),R[0]&1&&(Re.policies=(ol=(al=s[39])==null?void 0:al.schedule)==null?void 0:ol.policies),R[0]&1&&(Re.notes=(fl=(il=(ul=s[39])==null?void 0:ul.schedule)==null?void 0:il.state)==null?void 0:fl.notes),O.$set(Re);const Ve={};R[0]&1&&(Ve.calendar=(pl=(ml=(dl=(cl=s[39])==null?void 0:cl.schedule)==null?void 0:dl.spec)==null?void 0:ml.structuredCalendar)==null?void 0:pl[0]),R[0]&1&&(Ve.interval=(vl=($l=(_l=(hl=s[39])==null?void 0:hl.schedule)==null?void 0:_l.spec)==null?void 0:$l.interval)==null?void 0:vl[0]),re.$set(Ve);const pe={};R[0]&1&&(pe.confirmText=(gl=s[39])!=null&&gl.schedule.state.paused?h("schedules","unpause"):h("schedules","pause")),R[0]&16&&(pe.confirmDisabled=!s[4]),R[0]&17|R[1]&4096&&(pe.$$scope={dirty:R,ctx:s}),!De&&R[0]&2&&(De=!0,pe.open=s[1],Ne(()=>De=!1)),y.$set(pe);const we={};R[0]&32&&(we.loading=s[5]),R[1]&4096&&(we.$$scope={dirty:R,ctx:s}),!j&&R[0]&4&&(j=!0,we.open=s[2],Ne(()=>j=!1)),I.$set(we);const fe={};R[1]&4096&&(fe.$$scope={dirty:R,ctx:s}),!ee&&R[0]&8&&(ee=!0,fe.open=s[3],Ne(()=>ee=!1)),!me&&R[0]&512&&(me=!0,fe.error=s[9],Ne(()=>me=!1)),B.$set(fe)},i(g){ke||(P(t.$$.fragment,g),P(d.$$.fragment,g),P(x.$$.fragment,g),P(z),P(se.$$.fragment,g),P(Z.$$.fragment,g),P(O.$$.fragment,g),P(re.$$.fragment,g),P(y.$$.fragment,g),P(I.$$.fragment,g),P(B.$$.fragment,g),ke=!0)},o(g){S(t.$$.fragment,g),S(d.$$.fragment,g),S(x.$$.fragment,g),S(z),S(se.$$.fragment,g),S(Z.$$.fragment,g),S(O.$$.fragment,g),S(re.$$.fragment,g),S(y.$$.fragment,g),S(I.$$.fragment,g),S(B.$$.fragment,g),ke=!1},d(g){g&&i(e),L(t),L(d),K&&K.d(),L(x),g&&i(oe),g&&i(X),z&&z.d(),L(se),L(Z),L(O),L(re),g&&i(ve),L(y,g),g&&i(ge),L(I,g),g&&i(A),L(B,g)}}}function Xs(s){let e,l;return e=new jl({props:{title:h("schedules","deleting"),class:"my-2"}}),{c(){C(e.$$.fragment)},l(t){F(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p:G,i(t){l||(P(e.$$.fragment,t),l=!0)},o(t){S(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ys(s){let e=h("schedules","back-to-schedules")+"",l;return{c(){l=V(e)},l(t){l=W(t,e)},m(t,n){v(t,l,n)},p:G,d(t){t&&i(l)}}}function ql(s){var r,a;let e,l,t=h("last-updated",{updated:he((a=(r=s[39])==null?void 0:r.info)==null?void 0:a.updateTime,s[7],{relative:s[8]})})+"",n;return{c(){e=k("div"),l=k("p"),n=V(t),this.h()},l(o){e=w(o,"DIV",{class:!0});var u=b(e);l=w(u,"P",{});var f=b(l);n=W(f,t),f.forEach(i),u.forEach(i),this.h()},h(){D(e,"class","flex items-center gap-2 text-sm")},m(o,u){v(o,e,u),p(e,l),p(l,n)},p(o,u){var f,d;u[0]&385&&t!==(t=h("last-updated",{updated:he((d=(f=o[39])==null?void 0:f.info)==null?void 0:d.updateTime,o[7],{relative:o[8]})})+"")&&Q(n,t)},d(o){o&&i(e)}}}function Zs(s){let e=h("schedules","trigger")+"",l;return{c(){l=V(e)},l(t){l=W(t,e)},m(t,n){v(t,l,n)},p:G,d(t){t&&i(l)}}}function ys(s){let e=h("edit")+"",l;return{c(){l=V(e)},l(t){l=W(t,e)},m(t,n){v(t,l,n)},p:G,d(t){t&&i(l)}}}function xs(s){let e=h("delete")+"",l;return{c(){l=V(e)},l(t){l=W(t,e)},m(t,n){v(t,l,n)},p:G,d(t){t&&i(l)}}}function er(s){let e,l,t,n,r,a;return e=new Qe({props:{"data-testid":"trigger-schedule",$$slots:{default:[Zs]},$$scope:{ctx:s}}}),e.$on("click",s[23]),t=new Qe({props:{"data-testid":"edit-schedule",href:ds({namespace:s[10],scheduleId:s[11]}),$$slots:{default:[ys]},$$scope:{ctx:s}}}),r=new Qe({props:{"data-testid":"delete-schedule",destructive:!0,$$slots:{default:[xs]},$$scope:{ctx:s}}}),r.$on("click",s[24]),{c(){C(e.$$.fragment),l=M(),C(t.$$.fragment),n=M(),C(r.$$.fragment)},l(o){F(e.$$.fragment,o),l=q(o),F(t.$$.fragment,o),n=q(o),F(r.$$.fragment,o)},m(o,u){N(e,o,u),v(o,l,u),N(t,o,u),v(o,n,u),N(r,o,u),a=!0},p(o,u){const f={};u[1]&4096&&(f.$$scope={dirty:u,ctx:o}),e.$set(f);const d={};u[1]&4096&&(d.$$scope={dirty:u,ctx:o}),t.$set(d);const E={};u[1]&4096&&(E.$$scope={dirty:u,ctx:o}),r.$set(E)},i(o){a||(P(e.$$.fragment,o),P(t.$$.fragment,o),P(r.$$.fragment,o),a=!0)},o(o){S(e.$$.fragment,o),S(t.$$.fragment,o),S(r.$$.fragment,o),a=!1},d(o){L(e,o),o&&i(l),L(t,o),o&&i(n),L(r,o)}}}function Hl(s){var n,r;let e,l,t;return l=new Ol({props:{error:(r=(n=s[39])==null?void 0:n.info)==null?void 0:r.invalidScheduleError}}),{c(){e=k("div"),C(l.$$.fragment),this.h()},l(a){e=w(a,"DIV",{class:!0});var o=b(e);F(l.$$.fragment,o),o.forEach(i),this.h()},h(){D(e,"class","w-full xl:w-1/2")},m(a,o){v(a,e,o),N(l,e,null),t=!0},p(a,o){var f,d;const u={};o[0]&1&&(u.error=(d=(f=a[39])==null?void 0:f.info)==null?void 0:d.invalidScheduleError),l.$set(u)},i(a){t||(P(l.$$.fragment,a),t=!0)},o(a){S(l.$$.fragment,a),t=!1},d(a){a&&i(e),L(l)}}}function tr(s){var n;let e,l=((n=s[39])!=null&&n.schedule.state.paused?h("schedules","unpause-modal-title"):h("schedules","pause-modal-title"))+"",t;return{c(){e=k("h3"),t=V(l),this.h()},l(r){e=w(r,"H3",{slot:!0});var a=b(e);t=W(a,l),a.forEach(i),this.h()},h(){D(e,"slot","title")},m(r,a){v(r,e,a),p(e,t)},p(r,a){var o;a[0]&1&&l!==(l=((o=r[39])!=null&&o.schedule.state.paused?h("schedules","unpause-modal-title"):h("schedules","pause-modal-title"))+"")&&Q(t,l)},d(r){r&&i(e)}}}function lr(s){var c,m;let e,l,t=((c=s[39])!=null&&c.schedule.state.paused?h("schedules","unpause-modal-confirmation",{schedule:s[11]}):h("schedules","pause-modal-confirmation",{schedule:s[11]}))+"",n,r,a,o=((m=s[39])!=null&&m.schedule.state.paused?h("schedules","unpause-reason"):h("schedules","pause-reason"))+"",u,f,d,E,$;return{c(){e=k("div"),l=k("p"),n=V(t),r=M(),a=k("p"),u=V(o),f=M(),d=k("input"),this.h()},l(_){e=w(_,"DIV",{slot:!0});var T=b(e);l=w(T,"P",{});var H=b(l);n=W(H,t),H.forEach(i),r=q(T),a=w(T,"P",{class:!0});var U=b(a);u=W(U,o),U.forEach(i),f=q(T),d=w(T,"INPUT",{class:!0,placeholder:!0}),T.forEach(i),this.h()},h(){D(a,"class","my-4"),D(d,"class","mt-4 block w-full rounded-md border border-gray-200 p-2"),D(d,"placeholder",h("reason")),D(e,"slot","content")},m(_,T){v(_,e,T),p(e,l),p(l,n),p(e,r),p(e,a),p(a,u),p(e,f),p(e,d),El(d,s[4]),E||($=[Il(d,"input",s[26]),Il(d,"keydown",ts(s[20]))],E=!0)},p(_,T){var H,U;T[0]&1&&t!==(t=((H=_[39])!=null&&H.schedule.state.paused?h("schedules","unpause-modal-confirmation",{schedule:_[11]}):h("schedules","pause-modal-confirmation",{schedule:_[11]}))+"")&&Q(n,t),T[0]&1&&o!==(o=((U=_[39])!=null&&U.schedule.state.paused?h("schedules","unpause-reason"):h("schedules","pause-reason"))+"")&&Q(u,o),T[0]&16&&d.value!==_[4]&&El(d,_[4])},d(_){_&&i(e),E=!1,ls($)}}}function sr(s){let e,l=h("schedules","trigger-modal-title")+"",t;return{c(){e=k("h3"),t=V(l),this.h()},l(n){e=w(n,"H3",{slot:!0});var r=b(e);t=W(r,l),r.forEach(i),this.h()},h(){D(e,"slot","title")},m(n,r){v(n,e,r),p(e,t)},p:G,d(n){n&&i(e)}}}function Cl(s){let e,l;return e=new ps({props:{id:s[40].value,value:s[40].value,label:s[40].label,description:s[40].description}}),{c(){C(e.$$.fragment)},l(t){F(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p:G,i(t){l||(P(e.$$.fragment,t),l=!0)},o(t){S(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function rr(s){let e,l,t=s[13],n=[];for(let a=0;aS(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;ae.parentNode,n.anchor=e,t=!0},p(r,a){s=r,n.ctx=s,a[0]&1&&l!==(l=s[0])&&Oe(l,n)||Fl(n,s,a)},i(r){t||(P(n.block),t=!0)},o(r){for(let a=0;a<3;a+=1){const o=n.blocks[a];S(o)}t=!1},d(r){r&&i(e),n.block.d(r),n.token=null,n=null}}}function cr(s,e,l){let t,n,r,a,o,u;ce(s,je,A=>l(6,n=A)),ce(s,Ll,A=>l(37,a=A)),ce(s,Ze,A=>l(7,o=A)),ce(s,ye,A=>l(8,u=A));let f=a.params.namespace,d=a.params.schedule;const E={namespace:f,scheduleId:Ye(d)};let $=Ke(E),c=!1,m=!1,_=!1,T="",H="",U=!1,ae=rs("Unspecified");ce(s,ae,A=>l(35,t=A));let le=[{description:h("schedules","trigger-unspecified-description"),label:h("schedules","trigger-unspecified-title"),value:"Unspecified"},{description:h("schedules","trigger-allow-all-description"),label:h("schedules","trigger-allow-all-title"),value:"AllowAll"},{description:h("schedules","trigger-skip-description"),label:h("schedules","trigger-skip-title"),value:"Skip"},{description:h("schedules","trigger-buffer-one-description"),label:h("schedules","trigger-buffer-one-title"),value:"BufferOne"},{description:h("schedules","trigger-buffer-all-description"),label:h("schedules","trigger-buffer-all-title"),value:"BufferAll"},{description:h("schedules","trigger-cancel-other-description"),label:h("schedules","trigger-cancel-other-title"),value:"CancelOther"},{description:h("schedules","trigger-terminate-other-description"),label:h("schedules","trigger-terminate-other-title"),value:"TerminateOther"}],_e=_s();ce(s,_e,A=>l(36,r=A));let x=r.namespaceWriteDisabled(f);const oe=async()=>{l(9,H="");try{Je(je,n=!0,n),await os({namespace:f,scheduleId:d}),l(3,_=!1),setTimeout(()=>{Je(je,n=!1,n),Le(Ue({namespace:f}))},2e3),l(4,T="")}catch(A){l(9,H=h("schedules","delete-schedule-error",{error:A==null?void 0:A.message})),Je(je,n=!1,n)}},X=async A=>{var B,ee;!((ee=(B=A==null?void 0:A.schedule)===null||B===void 0?void 0:B.state)===null||ee===void 0)&&ee.paused?await us({namespace:f,scheduleId:d,reason:T}):await is({namespace:f,scheduleId:d,reason:T}),l(0,$=Ke(E,fetch)),l(4,T=""),l(1,c=!1)},ue=async()=>{l(5,U=!0),await fs({namespace:f,scheduleId:d,overlapPolicy:t}),setTimeout(()=>{l(0,$=Ke(E,fetch)),l(2,m=!1),l(5,U=!1)},1e3)},Y=()=>{l(4,T="")};function J(A){es.call(this,s,A)}const se=()=>{Le(Ue({namespace:f}))},$e=()=>{Le(Ue({namespace:f}))},Z=()=>l(2,m=!0),de=()=>l(3,_=!0),O=()=>l(1,c=!0);function Te(){T=this.value,l(4,T)}function ie(A){c=A,l(1,c)}const re=A=>X(A);function ve(A){m=A,l(2,m)}const y=()=>ue(),De=()=>l(2,m=!1);function ge(A){_=A,l(3,_)}function I(A){H=A,l(9,H)}return[$,c,m,_,T,U,n,o,u,H,f,d,ae,le,_e,x,oe,X,ue,Y,J,se,$e,Z,de,O,Te,ie,re,ve,y,De,ge,I,()=>{Le(Ue({namespace:f}))}]}class dr extends be{constructor(e){super(),Ee(this,e,cr,fr,Ie,{},null,[-1,-1])}}function mr(s){let e,l,t,n;return e=new ss({props:{title:`Schedule | ${s[1]}`,url:s[0].url.href}}),t=new dr({}),{c(){C(e.$$.fragment),l=M(),C(t.$$.fragment)},l(r){F(e.$$.fragment,r),l=q(r),F(t.$$.fragment,r)},m(r,a){N(e,r,a),v(r,l,a),N(t,r,a),n=!0},p(r,[a]){const o={};a&1&&(o.url=r[0].url.href),e.$set(o)},i(r){n||(P(e.$$.fragment,r),P(t.$$.fragment,r),n=!0)},o(r){S(e.$$.fragment,r),S(t.$$.fragment,r),n=!1},d(r){L(e,r),r&&i(l),L(t,r)}}}function pr(s,e,l){let t;ce(s,Ll,r=>l(0,t=r));const n=t.params.schedule;return[t,n]}class Cr extends be{constructor(e){super(),Ee(this,e,pr,mr,Ie,{})}}export{Cr as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-create-page.svelte.fe17a501.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-create-page.svelte.d27cb023.js similarity index 88% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-create-page.svelte.fe17a501.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-create-page.svelte.d27cb023.js index e4d66b7c3c..b97ae62d43 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-create-page.svelte.fe17a501.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-create-page.svelte.d27cb023.js @@ -1 +1 @@ -import{S as $,b as g,a as d,C as m,D as p,E as f,n as E,j as i,g as u,F as l,K as _,c as F,d as I,f as K,k as M}from"../chunks/index.09834243.js";import{p as h}from"../chunks/stores.9d4a2bb0.js";import{P as Q}from"../chunks/page-title.34fd480b.js";import{S as T}from"../chunks/schedule-form-view.6e6169d6.js";import{a as W}from"../chunks/schedules.f146f38a.js";function z(a){let t,n;return t=new T({props:{onConfirm:a[0]}}),{c(){m(t.$$.fragment)},l(e){p(t.$$.fragment,e)},m(e,s){f(t,e,s),n=!0},p:E,i(e){n||(i(t.$$.fragment,e),n=!0)},o(e){u(t.$$.fragment,e),n=!1},d(e){l(t,e)}}}function A(a,t,n){let e;_(a,h,o=>n(1,e=o));let{namespace:s}=e.params;return[(o,c)=>{const{name:w,workflowType:S,workflowId:C,taskQueue:y,hour:k,minute:b,second:v,phase:P,cronString:x,daysOfWeek:O,daysOfMonth:j,days:q,months:D}=c;W({action:{namespace:s,name:w,workflowType:S,workflowId:C,taskQueue:y},spec:{hour:k,minute:b,second:v,phase:P,cronString:x},presets:{preset:o,daysOfWeek:O,daysOfMonth:j,months:D,days:q}})}]}class B extends ${constructor(t){super(),g(this,t,A,z,d,{})}}function G(a){let t,n,e,s;return t=new Q({props:{title:`Create Schedule | ${a[1]}`,url:a[0].url.href}}),e=new B({}),{c(){m(t.$$.fragment),n=F(),m(e.$$.fragment)},l(r){p(t.$$.fragment,r),n=I(r),p(e.$$.fragment,r)},m(r,o){f(t,r,o),K(r,n,o),f(e,r,o),s=!0},p(r,[o]){const c={};o&1&&(c.url=r[0].url.href),t.$set(c)},i(r){s||(i(t.$$.fragment,r),i(e.$$.fragment,r),s=!0)},o(r){u(t.$$.fragment,r),u(e.$$.fragment,r),s=!1},d(r){l(t,r),r&&M(n),l(e,r)}}}function H(a,t,n){let e;_(a,h,r=>n(0,e=r));const s=e.params.namespace;return[e,s]}class Z extends ${constructor(t){super(),g(this,t,H,G,d,{})}}export{Z as default}; +import{S as $,b as g,a as d,C as m,D as p,E as f,n as E,j as i,g as u,F as l,K as _,c as F,d as I,f as K,k as M}from"../chunks/index.09834243.js";import{p as h}from"../chunks/stores.cd833532.js";import{P as Q}from"../chunks/page-title.34fd480b.js";import{S as T}from"../chunks/schedule-form-view.31c423ef.js";import{a as W}from"../chunks/schedules.8c7d6083.js";function z(a){let t,n;return t=new T({props:{onConfirm:a[0]}}),{c(){m(t.$$.fragment)},l(e){p(t.$$.fragment,e)},m(e,s){f(t,e,s),n=!0},p:E,i(e){n||(i(t.$$.fragment,e),n=!0)},o(e){u(t.$$.fragment,e),n=!1},d(e){l(t,e)}}}function A(a,t,n){let e;_(a,h,o=>n(1,e=o));let{namespace:s}=e.params;return[(o,c)=>{const{name:w,workflowType:S,workflowId:C,taskQueue:y,hour:k,minute:b,second:v,phase:P,cronString:x,daysOfWeek:O,daysOfMonth:j,days:q,months:D}=c;W({action:{namespace:s,name:w,workflowType:S,workflowId:C,taskQueue:y},spec:{hour:k,minute:b,second:v,phase:P,cronString:x},presets:{preset:o,daysOfWeek:O,daysOfMonth:j,months:D,days:q}})}]}class B extends ${constructor(t){super(),g(this,t,A,z,d,{})}}function G(a){let t,n,e,s;return t=new Q({props:{title:`Create Schedule | ${a[1]}`,url:a[0].url.href}}),e=new B({}),{c(){m(t.$$.fragment),n=F(),m(e.$$.fragment)},l(r){p(t.$$.fragment,r),n=I(r),p(e.$$.fragment,r)},m(r,o){f(t,r,o),K(r,n,o),f(e,r,o),s=!0},p(r,[o]){const c={};o&1&&(c.url=r[0].url.href),t.$set(c)},i(r){s||(i(t.$$.fragment,r),i(e.$$.fragment,r),s=!0)},o(r){u(t.$$.fragment,r),u(e.$$.fragment,r),s=!1},d(r){l(t,r),r&&M(n),l(e,r)}}}function H(a,t,n){let e;_(a,h,r=>n(0,e=r));const s=e.params.namespace;return[e,s]}class Z extends ${constructor(t){super(),g(this,t,H,G,d,{})}}export{Z as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-page.svelte.68d32849.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-page.svelte.ed0c304a.js similarity index 97% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-page.svelte.68d32849.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-page.svelte.ed0c304a.js index 1de797aa31..6c94dd8ec5 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-page.svelte.68d32849.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-schedules-page.svelte.ed0c304a.js @@ -1 +1 @@ -import{S as fe,b as ue,a as ce,C as R,c as F,D as q,d as N,E as A,f as d,j as b,g as k,F as W,k as i,K as M,m as B,w as j,p as P,q as C,x as U,u as L,L as V,y as re,z as Q,h as X,a7 as $e,n as G,G as je,H as Ue,I as ze,J as Ge,aq as Ie,e as O,ar as Je,A as Ke,a0 as Oe,a1 as Me,as as Qe}from"../chunks/index.09834243.js";import{p as pe}from"../chunks/stores.9d4a2bb0.js";import{P as Xe}from"../chunks/page-title.34fd480b.js";import{g as Ye}from"../chunks/navigation.8b74a406.js";import{W as Ze}from"../chunks/workflow-status.cf27e560.js";import{L as ae}from"../chunks/link.4944a6a5.js";import{T as me}from"../chunks/table-row.185c48e5.js";import{t as H}from"../chunks/translate.0a219ae4.js";import{t as ye,r as xe,b as ne}from"../chunks/format-date.71526e4c.js";import{s as et,g as Se,u as oe}from"../chunks/route-for.3b55a4c6.js";import{S as ie,f as tt}from"../chunks/schedule-service.850db2fb.js";import{T as lt,a as st}from"../chunks/table-header-row.843c5ee2.js";import{B as rt}from"../chunks/badge.f53d8aa8.js";import{B as Ne}from"../chunks/button.ce5dce2f.js";import{E as Ve}from"../chunks/empty-state.aea525ff.js";import{I as at}from"../chunks/input.8b192295.js";import{L as nt}from"../chunks/loading.3bde98aa.js";import{P as ot}from"../chunks/pagination.3eb97d83.js";import{c as ft}from"../chunks/core-user.3a655c21.js";function Le(a,t,l){const e=a.slice();return e[14]=t[l],e}function Be(a,t,l){const e=a.slice();return e[14]=t[l],e}function ut(a){let t=a[0].scheduleId+"",l;return{c(){l=j(t)},l(e){l=U(e,t)},m(e,s){d(e,l,s)},p(e,s){s&1&&t!==(t=e[0].scheduleId+"")&&re(l,t)},d(e){e&&i(l)}}}function ct(a){var e;let t=ne((e=a[14])==null?void 0:e.actualTime,a[2],{relative:a[3]})+"",l;return{c(){l=j(t)},l(s){l=U(s,t)},m(s,r){d(s,l,r)},p(s,r){var n;r&13&&t!==(t=ne((n=s[14])==null?void 0:n.actualTime,s[2],{relative:s[3]})+"")&&re(l,t)},d(s){s&&i(l)}}}function Pe(a){var r,n,f,u;let t,l,e,s;return l=new ae({props:{href:Se({namespace:a[4],workflow:(n=(r=a[14])==null?void 0:r.startWorkflowResult)==null?void 0:n.workflowId,run:(u=(f=a[14])==null?void 0:f.startWorkflowResult)==null?void 0:u.runId}),$$slots:{default:[ct]},$$scope:{ctx:a}}}),{c(){t=B("p"),R(l.$$.fragment),e=F()},l(o){t=P(o,"P",{});var c=C(t);q(l.$$.fragment,c),e=N(c),c.forEach(i)},m(o,c){d(o,t,c),A(l,t,null),V(t,e),s=!0},p(o,c){var T,g,D,_;const h={};c&1&&(h.href=Se({namespace:o[4],workflow:(g=(T=o[14])==null?void 0:T.startWorkflowResult)==null?void 0:g.workflowId,run:(_=(D=o[14])==null?void 0:D.startWorkflowResult)==null?void 0:_.runId})),c&524301&&(h.$$scope={dirty:c,ctx:o}),l.$set(h)},i(o){s||(b(l.$$.fragment,o),s=!0)},o(o){k(l.$$.fragment,o),s=!1},d(o){o&&i(t),W(l)}}}function Ce(a){let t,l=ne(a[14],a[2],{relative:a[3],relativeLabel:H("from-now")})+"",e,s;return{c(){t=B("div"),e=j(l),s=F()},l(r){t=P(r,"DIV",{});var n=C(t);e=U(n,l),s=N(n),n.forEach(i)},m(r,n){d(r,t,n),V(t,e),V(t,s)},p(r,n){n&13&&l!==(l=ne(r[14],r[2],{relative:r[3],relativeLabel:H("from-now")})+"")&&re(e,l)},d(r){r&&i(t)}}}function it(a){var v,z,Y,Z,y,x,_e,de,he,ge;let t,l,e,s,r,n,f,u=(((Y=(z=(v=a[0])==null?void 0:v.info)==null?void 0:z.workflowType)==null?void 0:Y.name)??"")+"",o,c,h,T,g,D;l=new Ze({props:{status:(y=(Z=a[0])==null?void 0:Z.info)!=null&&y.paused?"Paused":"Running"}}),r=new ae({props:{class:"text-base",$$slots:{default:[ut]},$$scope:{ctx:a}}}),r.$on("click",a[8]);let _=a[7]((_e=(x=a[0])==null?void 0:x.info)==null?void 0:_e.recentActions),$=[];for(let m=0;m<_.length;m+=1)$[m]=Pe(Be(a,_,m));const p=m=>k($[m],1,1,()=>{$[m]=null});let w=((ge=(he=(de=a[0])==null?void 0:de.info)==null?void 0:he.futureActionTimes)==null?void 0:ge.slice(0,5))??[],E=[];for(let m=0;ml(12,s=p)),M(a,ye,p=>l(2,r=p)),M(a,xe,p=>l(3,n=p));var f,u,o;let{namespace:c}=s.params,{schedule:h}=t;const T=(f=h==null?void 0:h.info)===null||f===void 0?void 0:f.spec,g=(u=T==null?void 0:T.structuredCalendar)===null||u===void 0?void 0:u[0],D=(o=T==null?void 0:T.interval)===null||o===void 0?void 0:o[0],_=p=>{var w;return(w=p==null?void 0:p.sort((E,v)=>new Date(v.actualTime).getTime()-new Date(E.actualTime).getTime()).slice(0,5))!==null&&w!==void 0?w:[]},$=()=>{Ye(e)};return a.$$set=p=>{"schedule"in p&&l(0,h=p.schedule)},a.$$.update=()=>{a.$$.dirty&1&&l(1,e=et({namespace:c,scheduleId:h==null?void 0:h.scheduleId}))},[h,e,r,n,c,g,D,_,$]}class _t extends fe{constructor(t){super(),ue(this,t,pt,mt,ce,{schedule:0})}}function dt(a){let t;const l=a[0].default,e=je(l,a,a[1],null);return{c(){e&&e.c()},l(s){e&&e.l(s)},m(s,r){e&&e.m(s,r),t=!0},p(s,r){e&&e.p&&(!t||r&2)&&Ue(e,l,s,s[1],t?Ge(l,s[1],r,null):ze(s[1]),null)},i(s){t||(b(e,s),t=!0)},o(s){k(e,s),t=!1},d(s){e&&e.d(s)}}}function ht(a){let t,l=H("schedules")+"",e;return{c(){t=B("caption"),e=j(l),this.h()},l(s){t=P(s,"CAPTION",{class:!0,slot:!0});var r=C(t);e=U(r,l),r.forEach(i),this.h()},h(){L(t,"class","sr-only"),L(t,"slot","caption")},m(s,r){d(s,t,r),V(t,e)},p:G,d(s){s&&i(t)}}}function gt(a){let t,l=H("status")+"",e,s,r,n=H("schedules","name")+"",f,u,o,c=H("workflow-type")+"",h,T,g,D=H("schedules","recent-runs")+"",_,$,p,w=H("schedules","upcoming-runs")+"",E;return{c(){t=B("th"),e=j(l),s=F(),r=B("th"),f=j(n),u=F(),o=B("th"),h=j(c),T=F(),g=B("th"),_=j(D),$=F(),p=B("th"),E=j(w),this.h()},l(v){t=P(v,"TH",{class:!0});var z=C(t);e=U(z,l),z.forEach(i),s=N(v),r=P(v,"TH",{class:!0});var Y=C(r);f=U(Y,n),Y.forEach(i),u=N(v),o=P(v,"TH",{class:!0});var Z=C(o);h=U(Z,c),Z.forEach(i),T=N(v),g=P(v,"TH",{class:!0});var y=C(g);_=U(y,D),y.forEach(i),$=N(v),p=P(v,"TH",{class:!0});var x=C(p);E=U(x,w),x.forEach(i),this.h()},h(){L(t,"class","w-28"),L(r,"class","md:w-80 xl:w-auto"),L(o,"class","w-60 max-md:hidden xl:w-80"),L(g,"class","w-56 max-xl:hidden"),L(p,"class","w-56 max-xl:hidden")},m(v,z){d(v,t,z),V(t,e),d(v,s,z),d(v,r,z),V(r,f),d(v,u,z),d(v,o,z),V(o,h),d(v,T,z),d(v,g,z),V(g,_),d(v,$,z),d(v,p,z),V(p,E)},p:G,d(v){v&&i(t),v&&i(s),v&&i(r),v&&i(u),v&&i(o),v&&i(T),v&&i(g),v&&i($),v&&i(p)}}}function bt(a){let t,l;return t=new st({props:{slot:"headers",$$slots:{default:[gt]},$$scope:{ctx:a}}}),{c(){R(t.$$.fragment)},l(e){q(t.$$.fragment,e)},m(e,s){A(t,e,s),l=!0},p(e,s){const r={};s&2&&(r.$$scope={dirty:s,ctx:e}),t.$set(r)},i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){W(t,e)}}}function wt(a){let t,l;return t=new lt({props:{class:"w-full table-fixed",$$slots:{headers:[bt],caption:[ht],default:[dt]},$$scope:{ctx:a}}}),{c(){R(t.$$.fragment)},l(e){q(t.$$.fragment,e)},m(e,s){A(t,e,s),l=!0},p(e,[s]){const r={};s&2&&(r.$$scope={dirty:s,ctx:e}),t.$set(r)},i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){W(t,e)}}}function vt(a,t,l){let{$$slots:e={},$$scope:s}=t;return a.$$set=r=>{"$$scope"in r&&l(1,s=r.$$scope)},[e,s]}class kt extends fe{constructor(t){super(),ue(this,t,vt,wt,ce,{})}}const{Boolean:Tt}=Qe;function He(a){a[10]=a[12].schedules,a[11]=a[12].error}function Re(a,t,l){const e=a.slice();return e[14]=t[l],e}function Et(a){let t=H("preview")+"",l;return{c(){l=j(t)},l(e){l=U(e,t)},m(e,s){d(e,l,s)},p:G,d(e){e&&i(l)}}}function qe(a){let t,l;return t=new Ne({props:{"data-testid":"create-schedule",href:oe({namespace:a[1]}),$$slots:{default:[Dt]},$$scope:{ctx:a}}}),{c(){R(t.$$.fragment)},l(e){q(t.$$.fragment,e)},m(e,s){A(t,e,s),l=!0},p(e,s){const r={};s&2&&(r.href=oe({namespace:e[1]})),s&131072&&(r.$$scope={dirty:s,ctx:e}),t.$set(r)},i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){W(t,e)}}}function Dt(a){let t=H("schedules","create")+"",l;return{c(){l=j(t)},l(e){l=U(e,t)},m(e,s){d(e,l,s)},p:G,d(e){e&&i(l)}}}function It(a){return{c:G,l:G,m:G,p:G,i:G,o:G,d:G}}function St(a){He(a);let t,l,e,s;const r=[Bt,Lt],n=[];function f(u,o){var c;return(c=u[10])!=null&&c.length?0:1}return t=f(a),l=n[t]=r[t](a),{c(){l.c(),e=O()},l(u){l.l(u),e=O()},m(u,o){n[t].m(u,o),d(u,e,o),s=!0},p(u,o){He(u);let c=t;t=f(u),t===c?n[t].p(u,o):(Q(),k(n[c],1,1,()=>{n[c]=null}),X(),l=n[t],l?l.p(u,o):(l=n[t]=r[t](u),l.c()),b(l,1),l.m(e.parentNode,e))},i(u){s||(b(l),s=!0)},o(u){k(l),s=!1},d(u){n[t].d(u),u&&i(e)}}}function Lt(a){let t,l,e;return l=new Ve({props:{title:H("schedules","empty-state-title"),error:a[11],$$slots:{default:[Rt]},$$scope:{ctx:a}}}),{c(){t=B("div"),R(l.$$.fragment),this.h()},l(s){t=P(s,"DIV",{class:!0});var r=C(t);q(l.$$.fragment,r),r.forEach(i),this.h()},h(){L(t,"class","my-12 flex flex-col items-center justify-start gap-2")},m(s,r){d(s,t,r),A(l,t,null),e=!0},p(s,r){const n={};r&32&&(n.error=s[11]),r&131122&&(n.$$scope={dirty:r,ctx:s}),l.$set(n)},i(s){e||(b(l.$$.fragment,s),e=!0)},o(s){k(l.$$.fragment,s),e=!1},d(s){s&&i(t),W(l)}}}function Bt(a){let t,l;return t=new ot({props:{items:a[3](a[10]),"aria-label":H("schedules"),pageSizeSelectLabel:H("per-page"),previousButtonLabel:H("previous"),nextButtonLabel:H("next"),$$slots:{"action-top-left":[Ft,({visibleItems:e})=>({13:e}),({visibleItems:e})=>e?8192:0],default:[Wt,({visibleItems:e})=>({13:e}),({visibleItems:e})=>e?8192:0]},$$scope:{ctx:a}}}),{c(){R(t.$$.fragment)},l(e){q(t.$$.fragment,e)},m(e,s){A(t,e,s),l=!0},p(e,s){const r={};s&40&&(r.items=e[3](e[10])),s&139265&&(r.$$scope={dirty:s,ctx:e}),t.$set(r)},i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){W(t,e)}}}function Pt(a){let t=H("schedules","getting-started-docs-link")+"",l;return{c(){l=j(t)},l(e){l=U(e,t)},m(e,s){d(e,l,s)},p:G,d(e){e&&i(l)}}}function Ct(a){let t;return{c(){t=j("Temporal CLI")},l(l){t=U(l,"Temporal CLI")},m(l,e){d(l,t,e)},d(l){l&&i(t)}}}function Ae(a){let t,l;return t=new Ne({props:{"data-testid":"create-schedule",href:oe({namespace:a[1]}),$$slots:{default:[Ht]},$$scope:{ctx:a}}}),{c(){R(t.$$.fragment)},l(e){q(t.$$.fragment,e)},m(e,s){A(t,e,s),l=!0},p(e,s){const r={};s&2&&(r.href=oe({namespace:e[1]})),s&131072&&(r.$$scope={dirty:s,ctx:e}),t.$set(r)},i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){W(t,e)}}}function Ht(a){let t=H("schedules","create")+"",l;return{c(){l=j(t)},l(e){l=U(e,t)},m(e,s){d(e,l,s)},p:G,d(e){e&&i(l)}}}function Rt(a){let t,l=H("schedules","getting-started-docs-link-preface")+"",e,s,r,n,f=H("schedules","getting-started-cli-link-preface")+"",u,o,c,h,T,g,D;r=new ae({props:{target:"_external",href:"https://docs.temporal.io/workflows/#schedule",$$slots:{default:[Pt]},$$scope:{ctx:a}}}),c=new ae({props:{target:"_external",href:"https://docs.temporal.io/cli/schedule",$$slots:{default:[Ct]},$$scope:{ctx:a}}});let _=!a[11]&&!a[4]&&Ae(a);return{c(){t=B("p"),e=j(l),s=F(),R(r.$$.fragment),n=F(),u=j(f),o=F(),R(c.$$.fragment),h=j("."),T=F(),_&&_.c(),g=O()},l($){t=P($,"P",{});var p=C(t);e=U(p,l),s=N(p),q(r.$$.fragment,p),n=N(p),u=U(p,f),o=N(p),q(c.$$.fragment,p),h=U(p,"."),p.forEach(i),T=N($),_&&_.l($),g=O()},m($,p){d($,t,p),V(t,e),V(t,s),A(r,t,null),V(t,n),V(t,u),V(t,o),A(c,t,null),V(t,h),d($,T,p),_&&_.m($,p),d($,g,p),D=!0},p($,p){const w={};p&131072&&(w.$$scope={dirty:p,ctx:$}),r.$set(w);const E={};p&131072&&(E.$$scope={dirty:p,ctx:$}),c.$set(E),!$[11]&&!$[4]?_?(_.p($,p),p&48&&b(_,1)):(_=Ae($),_.c(),b(_,1),_.m(g.parentNode,g)):_&&(Q(),k(_,1,1,()=>{_=null}),X())},i($){D||(b(r.$$.fragment,$),b(c.$$.fragment,$),b(_),D=!0)},o($){k(r.$$.fragment,$),k(c.$$.fragment,$),k(_),D=!1},d($){$&&i(t),W(r),W(c),$&&i(T),_&&_.d($),$&&i(g)}}}function We(a){let t,l;return t=new me({props:{$$slots:{default:[qt]},$$scope:{ctx:a}}}),{c(){R(t.$$.fragment)},l(e){q(t.$$.fragment,e)},m(e,s){A(t,e,s),l=!0},p(e,s){const r={};s&131072&&(r.$$scope={dirty:s,ctx:e}),t.$set(r)},i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){W(t,e)}}}function qt(a){let t,l,e,s,r,n,f,u;return s=new Ve({props:{title:H("schedules","empty-state-title"),content:H("schedules","empty-state-description")}}),{c(){t=B("td"),l=F(),e=B("td"),R(s.$$.fragment),r=F(),n=B("td"),f=F(),this.h()},l(o){t=P(o,"TD",{class:!0}),C(t).forEach(i),l=N(o),e=P(o,"TD",{colspan:!0});var c=C(e);q(s.$$.fragment,c),c.forEach(i),r=N(o),n=P(o,"TD",{class:!0}),C(n).forEach(i),f=N(o),this.h()},h(){L(t,"class","hidden xl:table-cell"),L(e,"colspan","3"),L(n,"class","hidden xl:table-cell")},m(o,c){d(o,t,c),d(o,l,c),d(o,e,c),A(s,e,null),d(o,r,c),d(o,n,c),d(o,f,c),u=!0},p:G,i(o){u||(b(s.$$.fragment,o),u=!0)},o(o){k(s.$$.fragment,o),u=!1},d(o){o&&i(t),o&&i(l),o&&i(e),W(s),o&&i(r),o&&i(n),o&&i(f)}}}function Fe(a){let t,l;return t=new _t({props:{schedule:a[14]}}),{c(){R(t.$$.fragment)},l(e){q(t.$$.fragment,e)},m(e,s){A(t,e,s),l=!0},p(e,s){const r={};s&8192&&(r.schedule=e[14]),t.$set(r)},i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){W(t,e)}}}function At(a){let t,l,e=a[13],s=[];for(let f=0;fk(s[f],1,1,()=>{s[f]=null});let n=null;return e.length||(n=We(a)),{c(){for(let f=0;f{n=null}),X()):(n=We(f),n.c(),b(n,1),n.m(t.parentNode,t))}},i(f){if(!l){for(let u=0;uOe(l,"value",r)),l.$on("submit",G),{c(){t=B("div"),R(l.$$.fragment),this.h()},l(f){t=P(f,"DIV",{class:!0});var u=C(t);q(l.$$.fragment,u),u.forEach(i),this.h()},h(){L(t,"class","w-full xl:w-1/2")},m(f,u){d(f,t,u),A(l,t,null),s=!0},p(f,u){const o={};!e&&u&1&&(e=!0,o.value=f[0],Me(()=>e=!1)),l.$set(o)},i(f){s||(b(l.$$.fragment,f),s=!0)},o(f){k(l.$$.fragment,f),s=!1},d(f){f&&i(t),W(l)}}}function Nt(a){let t,l;return t=new nt({}),{c(){R(t.$$.fragment)},l(e){q(t.$$.fragment,e)},m(e,s){A(t,e,s),l=!0},p:G,i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){W(t,e)}}}function Vt(a){let t,l,e,s=H("schedules")+"",r,n,f,u,o,c,h,T,g,D;n=new rt({props:{type:"beta",$$slots:{default:[Et]},$$scope:{ctx:a}}});let _=a[2]&&!a[4]&&qe(a),$={ctx:a,current:null,token:null,hasCatch:!1,pending:Nt,then:St,catch:It,value:12,blocks:[,,,]};return Ie(g=a[5],$),{c(){t=B("header"),l=B("div"),e=B("h1"),r=j(s),R(n.$$.fragment),f=F(),u=B("p"),o=j(a[1]),c=F(),_&&_.c(),h=F(),T=O(),$.block.c(),this.h()},l(p){t=P(p,"HEADER",{class:!0});var w=C(t);l=P(w,"DIV",{});var E=C(l);e=P(E,"H1",{class:!0});var v=C(e);r=U(v,s),q(n.$$.fragment,v),v.forEach(i),f=N(E),u=P(E,"P",{class:!0,"data-testid":!0});var z=C(u);o=U(z,a[1]),z.forEach(i),E.forEach(i),c=N(w),_&&_.l(w),w.forEach(i),h=N(p),T=O(),$.block.l(p),this.h()},h(){L(e,"class","flex flex-col gap-0 text-lg md:flex-row md:items-center md:gap-2 md:text-2xl"),L(u,"class","text-sm text-gray-600"),L(u,"data-testid","namespace-name"),L(t,"class","flex flex-row justify-between gap-2")},m(p,w){d(p,t,w),V(t,l),V(l,e),V(e,r),A(n,e,null),V(l,f),V(l,u),V(u,o),V(t,c),_&&_.m(t,null),d(p,h,w),d(p,T,w),$.block.m(p,$.anchor=w),$.mount=()=>T.parentNode,$.anchor=T,D=!0},p(p,[w]){a=p;const E={};w&131072&&(E.$$scope={dirty:w,ctx:a}),n.$set(E),(!D||w&2)&&re(o,a[1]),a[2]&&!a[4]?_?(_.p(a,w),w&20&&b(_,1)):(_=qe(a),_.c(),b(_,1),_.m(t,null)):_&&(Q(),k(_,1,1,()=>{_=null}),X()),$.ctx=a,w&32&&g!==(g=a[5])&&Ie(g,$)||Je($,a,w)},i(p){D||(b(n.$$.fragment,p),b(_),b($.block),D=!0)},o(p){k(n.$$.fragment,p),k(_);for(let w=0;w<3;w+=1){const E=$.blocks[w];k(E)}D=!1},d(p){p&&i(t),W(n),_&&_.d(),p&&i(h),p&&i(T),$.block.d(p),$.token=null,$=null}}}function jt(a,t,l){let e,s,r,n,f,u;M(a,pe,g=>l(8,u=g));let o=!1,c=ft();M(a,c,g=>l(7,f=g));let h="";function T(g){h=g,l(0,h)}return a.$$.update=()=>{a.$$.dirty&256&&l(1,e=u.params.namespace),a.$$.dirty&2&&l(5,s=tt(e).then(g=>{const{schedules:D}=g;return l(2,o=Boolean(D==null?void 0:D.length)),g})),a.$$.dirty&130&&l(4,r=f.namespaceWriteDisabled(e)),a.$$.dirty&1&&l(3,n=g=>h?g.filter(D=>D.scheduleId.toLowerCase().includes(h.toLowerCase())):g)},[h,e,o,n,r,s,c,f,u,T]}class Ut extends fe{constructor(t){super(),ue(this,t,jt,Vt,ce,{})}}function zt(a){let t,l,e,s;return t=new Xe({props:{title:`Schedules | ${a[0].params.namespace}`,url:a[0].url.href}}),e=new Ut({}),{c(){R(t.$$.fragment),l=F(),R(e.$$.fragment)},l(r){q(t.$$.fragment,r),l=N(r),q(e.$$.fragment,r)},m(r,n){A(t,r,n),d(r,l,n),A(e,r,n),s=!0},p(r,[n]){const f={};n&1&&(f.title=`Schedules | ${r[0].params.namespace}`),n&1&&(f.url=r[0].url.href),t.$set(f)},i(r){s||(b(t.$$.fragment,r),b(e.$$.fragment,r),s=!0)},o(r){k(t.$$.fragment,r),k(e.$$.fragment,r),s=!1},d(r){W(t,r),r&&i(l),W(e,r)}}}function Gt(a,t,l){let e;return M(a,pe,s=>l(0,e=s)),[e]}class ul extends fe{constructor(t){super(),ue(this,t,Gt,zt,ce,{})}}export{ul as default}; +import{S as fe,b as ue,a as ce,C as R,c as F,D as q,d as N,E as A,f as d,j as b,g as k,F as W,k as i,K as M,m as B,w as j,p as P,q as C,x as U,u as L,L as V,y as re,z as Q,h as X,a7 as $e,n as G,G as je,H as Ue,I as ze,J as Ge,aq as Ie,e as O,ar as Je,A as Ke,a0 as Oe,a1 as Me,as as Qe}from"../chunks/index.09834243.js";import{p as pe}from"../chunks/stores.cd833532.js";import{P as Xe}from"../chunks/page-title.34fd480b.js";import{g as Ye}from"../chunks/navigation.3b6dd1c7.js";import{W as Ze}from"../chunks/workflow-status.cf27e560.js";import{L as ae}from"../chunks/link.7cb1390a.js";import{T as me}from"../chunks/table-row.185c48e5.js";import{t as H}from"../chunks/translate.0a219ae4.js";import{t as ye,r as xe,b as ne}from"../chunks/format-date.79f77cbf.js";import{s as et,g as Se,u as oe}from"../chunks/route-for.d76d8056.js";import{S as ie,f as tt}from"../chunks/schedule-service.4cfc145d.js";import{T as lt,a as st}from"../chunks/table-header-row.843c5ee2.js";import{B as rt}from"../chunks/badge.f53d8aa8.js";import{B as Ne}from"../chunks/button.ce5dce2f.js";import{E as Ve}from"../chunks/empty-state.aea525ff.js";import{I as at}from"../chunks/input.d5248942.js";import{L as nt}from"../chunks/loading.3bde98aa.js";import{P as ot}from"../chunks/pagination.6f99836b.js";import{c as ft}from"../chunks/core-user.c59191b9.js";function Le(a,t,l){const e=a.slice();return e[14]=t[l],e}function Be(a,t,l){const e=a.slice();return e[14]=t[l],e}function ut(a){let t=a[0].scheduleId+"",l;return{c(){l=j(t)},l(e){l=U(e,t)},m(e,s){d(e,l,s)},p(e,s){s&1&&t!==(t=e[0].scheduleId+"")&&re(l,t)},d(e){e&&i(l)}}}function ct(a){var e;let t=ne((e=a[14])==null?void 0:e.actualTime,a[2],{relative:a[3]})+"",l;return{c(){l=j(t)},l(s){l=U(s,t)},m(s,r){d(s,l,r)},p(s,r){var n;r&13&&t!==(t=ne((n=s[14])==null?void 0:n.actualTime,s[2],{relative:s[3]})+"")&&re(l,t)},d(s){s&&i(l)}}}function Pe(a){var r,n,f,u;let t,l,e,s;return l=new ae({props:{href:Se({namespace:a[4],workflow:(n=(r=a[14])==null?void 0:r.startWorkflowResult)==null?void 0:n.workflowId,run:(u=(f=a[14])==null?void 0:f.startWorkflowResult)==null?void 0:u.runId}),$$slots:{default:[ct]},$$scope:{ctx:a}}}),{c(){t=B("p"),R(l.$$.fragment),e=F()},l(o){t=P(o,"P",{});var c=C(t);q(l.$$.fragment,c),e=N(c),c.forEach(i)},m(o,c){d(o,t,c),A(l,t,null),V(t,e),s=!0},p(o,c){var T,g,D,_;const h={};c&1&&(h.href=Se({namespace:o[4],workflow:(g=(T=o[14])==null?void 0:T.startWorkflowResult)==null?void 0:g.workflowId,run:(_=(D=o[14])==null?void 0:D.startWorkflowResult)==null?void 0:_.runId})),c&524301&&(h.$$scope={dirty:c,ctx:o}),l.$set(h)},i(o){s||(b(l.$$.fragment,o),s=!0)},o(o){k(l.$$.fragment,o),s=!1},d(o){o&&i(t),W(l)}}}function Ce(a){let t,l=ne(a[14],a[2],{relative:a[3],relativeLabel:H("from-now")})+"",e,s;return{c(){t=B("div"),e=j(l),s=F()},l(r){t=P(r,"DIV",{});var n=C(t);e=U(n,l),s=N(n),n.forEach(i)},m(r,n){d(r,t,n),V(t,e),V(t,s)},p(r,n){n&13&&l!==(l=ne(r[14],r[2],{relative:r[3],relativeLabel:H("from-now")})+"")&&re(e,l)},d(r){r&&i(t)}}}function it(a){var v,z,Y,Z,y,x,_e,de,he,ge;let t,l,e,s,r,n,f,u=(((Y=(z=(v=a[0])==null?void 0:v.info)==null?void 0:z.workflowType)==null?void 0:Y.name)??"")+"",o,c,h,T,g,D;l=new Ze({props:{status:(y=(Z=a[0])==null?void 0:Z.info)!=null&&y.paused?"Paused":"Running"}}),r=new ae({props:{class:"text-base",$$slots:{default:[ut]},$$scope:{ctx:a}}}),r.$on("click",a[8]);let _=a[7]((_e=(x=a[0])==null?void 0:x.info)==null?void 0:_e.recentActions),$=[];for(let m=0;m<_.length;m+=1)$[m]=Pe(Be(a,_,m));const p=m=>k($[m],1,1,()=>{$[m]=null});let w=((ge=(he=(de=a[0])==null?void 0:de.info)==null?void 0:he.futureActionTimes)==null?void 0:ge.slice(0,5))??[],E=[];for(let m=0;ml(12,s=p)),M(a,ye,p=>l(2,r=p)),M(a,xe,p=>l(3,n=p));var f,u,o;let{namespace:c}=s.params,{schedule:h}=t;const T=(f=h==null?void 0:h.info)===null||f===void 0?void 0:f.spec,g=(u=T==null?void 0:T.structuredCalendar)===null||u===void 0?void 0:u[0],D=(o=T==null?void 0:T.interval)===null||o===void 0?void 0:o[0],_=p=>{var w;return(w=p==null?void 0:p.sort((E,v)=>new Date(v.actualTime).getTime()-new Date(E.actualTime).getTime()).slice(0,5))!==null&&w!==void 0?w:[]},$=()=>{Ye(e)};return a.$$set=p=>{"schedule"in p&&l(0,h=p.schedule)},a.$$.update=()=>{a.$$.dirty&1&&l(1,e=et({namespace:c,scheduleId:h==null?void 0:h.scheduleId}))},[h,e,r,n,c,g,D,_,$]}class _t extends fe{constructor(t){super(),ue(this,t,pt,mt,ce,{schedule:0})}}function dt(a){let t;const l=a[0].default,e=je(l,a,a[1],null);return{c(){e&&e.c()},l(s){e&&e.l(s)},m(s,r){e&&e.m(s,r),t=!0},p(s,r){e&&e.p&&(!t||r&2)&&Ue(e,l,s,s[1],t?Ge(l,s[1],r,null):ze(s[1]),null)},i(s){t||(b(e,s),t=!0)},o(s){k(e,s),t=!1},d(s){e&&e.d(s)}}}function ht(a){let t,l=H("schedules")+"",e;return{c(){t=B("caption"),e=j(l),this.h()},l(s){t=P(s,"CAPTION",{class:!0,slot:!0});var r=C(t);e=U(r,l),r.forEach(i),this.h()},h(){L(t,"class","sr-only"),L(t,"slot","caption")},m(s,r){d(s,t,r),V(t,e)},p:G,d(s){s&&i(t)}}}function gt(a){let t,l=H("status")+"",e,s,r,n=H("schedules","name")+"",f,u,o,c=H("workflow-type")+"",h,T,g,D=H("schedules","recent-runs")+"",_,$,p,w=H("schedules","upcoming-runs")+"",E;return{c(){t=B("th"),e=j(l),s=F(),r=B("th"),f=j(n),u=F(),o=B("th"),h=j(c),T=F(),g=B("th"),_=j(D),$=F(),p=B("th"),E=j(w),this.h()},l(v){t=P(v,"TH",{class:!0});var z=C(t);e=U(z,l),z.forEach(i),s=N(v),r=P(v,"TH",{class:!0});var Y=C(r);f=U(Y,n),Y.forEach(i),u=N(v),o=P(v,"TH",{class:!0});var Z=C(o);h=U(Z,c),Z.forEach(i),T=N(v),g=P(v,"TH",{class:!0});var y=C(g);_=U(y,D),y.forEach(i),$=N(v),p=P(v,"TH",{class:!0});var x=C(p);E=U(x,w),x.forEach(i),this.h()},h(){L(t,"class","w-28"),L(r,"class","md:w-80 xl:w-auto"),L(o,"class","w-60 max-md:hidden xl:w-80"),L(g,"class","w-56 max-xl:hidden"),L(p,"class","w-56 max-xl:hidden")},m(v,z){d(v,t,z),V(t,e),d(v,s,z),d(v,r,z),V(r,f),d(v,u,z),d(v,o,z),V(o,h),d(v,T,z),d(v,g,z),V(g,_),d(v,$,z),d(v,p,z),V(p,E)},p:G,d(v){v&&i(t),v&&i(s),v&&i(r),v&&i(u),v&&i(o),v&&i(T),v&&i(g),v&&i($),v&&i(p)}}}function bt(a){let t,l;return t=new st({props:{slot:"headers",$$slots:{default:[gt]},$$scope:{ctx:a}}}),{c(){R(t.$$.fragment)},l(e){q(t.$$.fragment,e)},m(e,s){A(t,e,s),l=!0},p(e,s){const r={};s&2&&(r.$$scope={dirty:s,ctx:e}),t.$set(r)},i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){W(t,e)}}}function wt(a){let t,l;return t=new lt({props:{class:"w-full table-fixed",$$slots:{headers:[bt],caption:[ht],default:[dt]},$$scope:{ctx:a}}}),{c(){R(t.$$.fragment)},l(e){q(t.$$.fragment,e)},m(e,s){A(t,e,s),l=!0},p(e,[s]){const r={};s&2&&(r.$$scope={dirty:s,ctx:e}),t.$set(r)},i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){W(t,e)}}}function vt(a,t,l){let{$$slots:e={},$$scope:s}=t;return a.$$set=r=>{"$$scope"in r&&l(1,s=r.$$scope)},[e,s]}class kt extends fe{constructor(t){super(),ue(this,t,vt,wt,ce,{})}}const{Boolean:Tt}=Qe;function He(a){a[10]=a[12].schedules,a[11]=a[12].error}function Re(a,t,l){const e=a.slice();return e[14]=t[l],e}function Et(a){let t=H("preview")+"",l;return{c(){l=j(t)},l(e){l=U(e,t)},m(e,s){d(e,l,s)},p:G,d(e){e&&i(l)}}}function qe(a){let t,l;return t=new Ne({props:{"data-testid":"create-schedule",href:oe({namespace:a[1]}),$$slots:{default:[Dt]},$$scope:{ctx:a}}}),{c(){R(t.$$.fragment)},l(e){q(t.$$.fragment,e)},m(e,s){A(t,e,s),l=!0},p(e,s){const r={};s&2&&(r.href=oe({namespace:e[1]})),s&131072&&(r.$$scope={dirty:s,ctx:e}),t.$set(r)},i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){W(t,e)}}}function Dt(a){let t=H("schedules","create")+"",l;return{c(){l=j(t)},l(e){l=U(e,t)},m(e,s){d(e,l,s)},p:G,d(e){e&&i(l)}}}function It(a){return{c:G,l:G,m:G,p:G,i:G,o:G,d:G}}function St(a){He(a);let t,l,e,s;const r=[Bt,Lt],n=[];function f(u,o){var c;return(c=u[10])!=null&&c.length?0:1}return t=f(a),l=n[t]=r[t](a),{c(){l.c(),e=O()},l(u){l.l(u),e=O()},m(u,o){n[t].m(u,o),d(u,e,o),s=!0},p(u,o){He(u);let c=t;t=f(u),t===c?n[t].p(u,o):(Q(),k(n[c],1,1,()=>{n[c]=null}),X(),l=n[t],l?l.p(u,o):(l=n[t]=r[t](u),l.c()),b(l,1),l.m(e.parentNode,e))},i(u){s||(b(l),s=!0)},o(u){k(l),s=!1},d(u){n[t].d(u),u&&i(e)}}}function Lt(a){let t,l,e;return l=new Ve({props:{title:H("schedules","empty-state-title"),error:a[11],$$slots:{default:[Rt]},$$scope:{ctx:a}}}),{c(){t=B("div"),R(l.$$.fragment),this.h()},l(s){t=P(s,"DIV",{class:!0});var r=C(t);q(l.$$.fragment,r),r.forEach(i),this.h()},h(){L(t,"class","my-12 flex flex-col items-center justify-start gap-2")},m(s,r){d(s,t,r),A(l,t,null),e=!0},p(s,r){const n={};r&32&&(n.error=s[11]),r&131122&&(n.$$scope={dirty:r,ctx:s}),l.$set(n)},i(s){e||(b(l.$$.fragment,s),e=!0)},o(s){k(l.$$.fragment,s),e=!1},d(s){s&&i(t),W(l)}}}function Bt(a){let t,l;return t=new ot({props:{items:a[3](a[10]),"aria-label":H("schedules"),pageSizeSelectLabel:H("per-page"),previousButtonLabel:H("previous"),nextButtonLabel:H("next"),$$slots:{"action-top-left":[Ft,({visibleItems:e})=>({13:e}),({visibleItems:e})=>e?8192:0],default:[Wt,({visibleItems:e})=>({13:e}),({visibleItems:e})=>e?8192:0]},$$scope:{ctx:a}}}),{c(){R(t.$$.fragment)},l(e){q(t.$$.fragment,e)},m(e,s){A(t,e,s),l=!0},p(e,s){const r={};s&40&&(r.items=e[3](e[10])),s&139265&&(r.$$scope={dirty:s,ctx:e}),t.$set(r)},i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){W(t,e)}}}function Pt(a){let t=H("schedules","getting-started-docs-link")+"",l;return{c(){l=j(t)},l(e){l=U(e,t)},m(e,s){d(e,l,s)},p:G,d(e){e&&i(l)}}}function Ct(a){let t;return{c(){t=j("Temporal CLI")},l(l){t=U(l,"Temporal CLI")},m(l,e){d(l,t,e)},d(l){l&&i(t)}}}function Ae(a){let t,l;return t=new Ne({props:{"data-testid":"create-schedule",href:oe({namespace:a[1]}),$$slots:{default:[Ht]},$$scope:{ctx:a}}}),{c(){R(t.$$.fragment)},l(e){q(t.$$.fragment,e)},m(e,s){A(t,e,s),l=!0},p(e,s){const r={};s&2&&(r.href=oe({namespace:e[1]})),s&131072&&(r.$$scope={dirty:s,ctx:e}),t.$set(r)},i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){W(t,e)}}}function Ht(a){let t=H("schedules","create")+"",l;return{c(){l=j(t)},l(e){l=U(e,t)},m(e,s){d(e,l,s)},p:G,d(e){e&&i(l)}}}function Rt(a){let t,l=H("schedules","getting-started-docs-link-preface")+"",e,s,r,n,f=H("schedules","getting-started-cli-link-preface")+"",u,o,c,h,T,g,D;r=new ae({props:{target:"_external",href:"https://docs.temporal.io/workflows/#schedule",$$slots:{default:[Pt]},$$scope:{ctx:a}}}),c=new ae({props:{target:"_external",href:"https://docs.temporal.io/cli/schedule",$$slots:{default:[Ct]},$$scope:{ctx:a}}});let _=!a[11]&&!a[4]&&Ae(a);return{c(){t=B("p"),e=j(l),s=F(),R(r.$$.fragment),n=F(),u=j(f),o=F(),R(c.$$.fragment),h=j("."),T=F(),_&&_.c(),g=O()},l($){t=P($,"P",{});var p=C(t);e=U(p,l),s=N(p),q(r.$$.fragment,p),n=N(p),u=U(p,f),o=N(p),q(c.$$.fragment,p),h=U(p,"."),p.forEach(i),T=N($),_&&_.l($),g=O()},m($,p){d($,t,p),V(t,e),V(t,s),A(r,t,null),V(t,n),V(t,u),V(t,o),A(c,t,null),V(t,h),d($,T,p),_&&_.m($,p),d($,g,p),D=!0},p($,p){const w={};p&131072&&(w.$$scope={dirty:p,ctx:$}),r.$set(w);const E={};p&131072&&(E.$$scope={dirty:p,ctx:$}),c.$set(E),!$[11]&&!$[4]?_?(_.p($,p),p&48&&b(_,1)):(_=Ae($),_.c(),b(_,1),_.m(g.parentNode,g)):_&&(Q(),k(_,1,1,()=>{_=null}),X())},i($){D||(b(r.$$.fragment,$),b(c.$$.fragment,$),b(_),D=!0)},o($){k(r.$$.fragment,$),k(c.$$.fragment,$),k(_),D=!1},d($){$&&i(t),W(r),W(c),$&&i(T),_&&_.d($),$&&i(g)}}}function We(a){let t,l;return t=new me({props:{$$slots:{default:[qt]},$$scope:{ctx:a}}}),{c(){R(t.$$.fragment)},l(e){q(t.$$.fragment,e)},m(e,s){A(t,e,s),l=!0},p(e,s){const r={};s&131072&&(r.$$scope={dirty:s,ctx:e}),t.$set(r)},i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){W(t,e)}}}function qt(a){let t,l,e,s,r,n,f,u;return s=new Ve({props:{title:H("schedules","empty-state-title"),content:H("schedules","empty-state-description")}}),{c(){t=B("td"),l=F(),e=B("td"),R(s.$$.fragment),r=F(),n=B("td"),f=F(),this.h()},l(o){t=P(o,"TD",{class:!0}),C(t).forEach(i),l=N(o),e=P(o,"TD",{colspan:!0});var c=C(e);q(s.$$.fragment,c),c.forEach(i),r=N(o),n=P(o,"TD",{class:!0}),C(n).forEach(i),f=N(o),this.h()},h(){L(t,"class","hidden xl:table-cell"),L(e,"colspan","3"),L(n,"class","hidden xl:table-cell")},m(o,c){d(o,t,c),d(o,l,c),d(o,e,c),A(s,e,null),d(o,r,c),d(o,n,c),d(o,f,c),u=!0},p:G,i(o){u||(b(s.$$.fragment,o),u=!0)},o(o){k(s.$$.fragment,o),u=!1},d(o){o&&i(t),o&&i(l),o&&i(e),W(s),o&&i(r),o&&i(n),o&&i(f)}}}function Fe(a){let t,l;return t=new _t({props:{schedule:a[14]}}),{c(){R(t.$$.fragment)},l(e){q(t.$$.fragment,e)},m(e,s){A(t,e,s),l=!0},p(e,s){const r={};s&8192&&(r.schedule=e[14]),t.$set(r)},i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){W(t,e)}}}function At(a){let t,l,e=a[13],s=[];for(let f=0;fk(s[f],1,1,()=>{s[f]=null});let n=null;return e.length||(n=We(a)),{c(){for(let f=0;f{n=null}),X()):(n=We(f),n.c(),b(n,1),n.m(t.parentNode,t))}},i(f){if(!l){for(let u=0;uOe(l,"value",r)),l.$on("submit",G),{c(){t=B("div"),R(l.$$.fragment),this.h()},l(f){t=P(f,"DIV",{class:!0});var u=C(t);q(l.$$.fragment,u),u.forEach(i),this.h()},h(){L(t,"class","w-full xl:w-1/2")},m(f,u){d(f,t,u),A(l,t,null),s=!0},p(f,u){const o={};!e&&u&1&&(e=!0,o.value=f[0],Me(()=>e=!1)),l.$set(o)},i(f){s||(b(l.$$.fragment,f),s=!0)},o(f){k(l.$$.fragment,f),s=!1},d(f){f&&i(t),W(l)}}}function Nt(a){let t,l;return t=new nt({}),{c(){R(t.$$.fragment)},l(e){q(t.$$.fragment,e)},m(e,s){A(t,e,s),l=!0},p:G,i(e){l||(b(t.$$.fragment,e),l=!0)},o(e){k(t.$$.fragment,e),l=!1},d(e){W(t,e)}}}function Vt(a){let t,l,e,s=H("schedules")+"",r,n,f,u,o,c,h,T,g,D;n=new rt({props:{type:"beta",$$slots:{default:[Et]},$$scope:{ctx:a}}});let _=a[2]&&!a[4]&&qe(a),$={ctx:a,current:null,token:null,hasCatch:!1,pending:Nt,then:St,catch:It,value:12,blocks:[,,,]};return Ie(g=a[5],$),{c(){t=B("header"),l=B("div"),e=B("h1"),r=j(s),R(n.$$.fragment),f=F(),u=B("p"),o=j(a[1]),c=F(),_&&_.c(),h=F(),T=O(),$.block.c(),this.h()},l(p){t=P(p,"HEADER",{class:!0});var w=C(t);l=P(w,"DIV",{});var E=C(l);e=P(E,"H1",{class:!0});var v=C(e);r=U(v,s),q(n.$$.fragment,v),v.forEach(i),f=N(E),u=P(E,"P",{class:!0,"data-testid":!0});var z=C(u);o=U(z,a[1]),z.forEach(i),E.forEach(i),c=N(w),_&&_.l(w),w.forEach(i),h=N(p),T=O(),$.block.l(p),this.h()},h(){L(e,"class","flex flex-col gap-0 text-lg md:flex-row md:items-center md:gap-2 md:text-2xl"),L(u,"class","text-sm text-gray-600"),L(u,"data-testid","namespace-name"),L(t,"class","flex flex-row justify-between gap-2")},m(p,w){d(p,t,w),V(t,l),V(l,e),V(e,r),A(n,e,null),V(l,f),V(l,u),V(u,o),V(t,c),_&&_.m(t,null),d(p,h,w),d(p,T,w),$.block.m(p,$.anchor=w),$.mount=()=>T.parentNode,$.anchor=T,D=!0},p(p,[w]){a=p;const E={};w&131072&&(E.$$scope={dirty:w,ctx:a}),n.$set(E),(!D||w&2)&&re(o,a[1]),a[2]&&!a[4]?_?(_.p(a,w),w&20&&b(_,1)):(_=qe(a),_.c(),b(_,1),_.m(t,null)):_&&(Q(),k(_,1,1,()=>{_=null}),X()),$.ctx=a,w&32&&g!==(g=a[5])&&Ie(g,$)||Je($,a,w)},i(p){D||(b(n.$$.fragment,p),b(_),b($.block),D=!0)},o(p){k(n.$$.fragment,p),k(_);for(let w=0;w<3;w+=1){const E=$.blocks[w];k(E)}D=!1},d(p){p&&i(t),W(n),_&&_.d(),p&&i(h),p&&i(T),$.block.d(p),$.token=null,$=null}}}function jt(a,t,l){let e,s,r,n,f,u;M(a,pe,g=>l(8,u=g));let o=!1,c=ft();M(a,c,g=>l(7,f=g));let h="";function T(g){h=g,l(0,h)}return a.$$.update=()=>{a.$$.dirty&256&&l(1,e=u.params.namespace),a.$$.dirty&2&&l(5,s=tt(e).then(g=>{const{schedules:D}=g;return l(2,o=Boolean(D==null?void 0:D.length)),g})),a.$$.dirty&130&&l(4,r=f.namespaceWriteDisabled(e)),a.$$.dirty&1&&l(3,n=g=>h?g.filter(D=>D.scheduleId.toLowerCase().includes(h.toLowerCase())):g)},[h,e,o,n,r,s,c,f,u,T]}class Ut extends fe{constructor(t){super(),ue(this,t,jt,Vt,ce,{})}}function zt(a){let t,l,e,s;return t=new Xe({props:{title:`Schedules | ${a[0].params.namespace}`,url:a[0].url.href}}),e=new Ut({}),{c(){R(t.$$.fragment),l=F(),R(e.$$.fragment)},l(r){q(t.$$.fragment,r),l=N(r),q(e.$$.fragment,r)},m(r,n){A(t,r,n),d(r,l,n),A(e,r,n),s=!0},p(r,[n]){const f={};n&1&&(f.title=`Schedules | ${r[0].params.namespace}`),n&1&&(f.url=r[0].url.href),t.$set(f)},i(r){s||(b(t.$$.fragment,r),b(e.$$.fragment,r),s=!0)},o(r){k(t.$$.fragment,r),k(e.$$.fragment,r),s=!1},d(r){W(t,r),r&&i(l),W(e,r)}}}function Gt(a,t,l){let e;return M(a,pe,s=>l(0,e=s)),[e]}class ul extends fe{constructor(t){super(),ue(this,t,Gt,zt,ce,{})}}export{ul as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.75adea3b.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.de348286.js similarity index 92% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.75adea3b.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.de348286.js index af616e5829..48021b50e4 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.75adea3b.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.de348286.js @@ -1 +1 @@ -import{S as Q,b as P,a as C,aq as T,e as p,f as g,ar as v,j as u,g as i,k as d,K as W,n as a,C as _,D as k,E as $,F as b,c as I,d as N}from"../chunks/index.09834243.js";import{p as F}from"../chunks/stores.9d4a2bb0.js";import{P as S}from"../chunks/page-title.34fd480b.js";import{W as h}from"../chunks/workers-list.f1c48798.js";import{g as j,a as B,b as D}from"../chunks/pollers-service.d402da8b.js";import{p as E,c as H}from"../chunks/task-queue-compatibility.cf5696f8.js";function y(r){const t=E(r[4].pollers);r[5]=t}function q(r){r[7]=r[9][0],r[8]=r[9][1]}function K(r){const t=r.slice(),l=H(t[4].pollers);return t[6]=l,t}function R(r){return{c:a,l:a,m:a,p:a,i:a,o:a,d:a}}function U(r){y(r);let t,l,e,n;const o=[z,V],c=[];function m(s,f){return s[5]?0:1}function w(s,f){return f===0?K(s):s}return t=m(r),l=c[t]=o[t](w(r,t)),{c(){l.c(),e=p()},l(s){l.l(s),e=p()},m(s,f){c[t].m(s,f),g(s,e,f),n=!0},p(s,f){y(s),l.p(w(s,t),f)},i(s){n||(u(l),n=!0)},o(s){i(l),n=!1},d(s){c[t].d(s),s&&d(e)}}}function V(r){let t,l;return t=new h({props:{taskQueue:r[0],workers:r[4]}}),{c(){_(t.$$.fragment)},l(e){k(t.$$.fragment,e)},m(e,n){$(t,e,n),l=!0},p:a,i(e){l||(u(t.$$.fragment,e),l=!0)},o(e){i(t.$$.fragment,e),l=!1},d(e){b(t,e)}}}function z(r){let t,l,e={ctx:r,current:null,token:null,hasCatch:!0,pending:J,then:G,catch:A,value:9,blocks:[,,,]};return T(Promise.all([B({queue:r[0],namespace:r[1]}),D({namespace:r[1],buildIds:r[6],taskQueue:r[2]})]),e),{c(){t=p(),e.block.c()},l(n){t=p(),e.block.l(n)},m(n,o){g(n,t,o),e.block.m(n,e.anchor=o),e.mount=()=>t.parentNode,e.anchor=t,l=!0},p(n,o){r=n,v(e,r,o)},i(n){l||(u(e.block),l=!0)},o(n){for(let o=0;o<3;o+=1){const c=e.blocks[o];i(c)}l=!1},d(n){n&&d(t),e.block.d(n),e.token=null,e=null}}}function A(r){let t,l;return t=new h({props:{taskQueue:r[0],workers:r[4]}}),{c(){_(t.$$.fragment)},l(e){k(t.$$.fragment,e)},m(e,n){$(t,e,n),l=!0},p:a,i(e){l||(u(t.$$.fragment,e),l=!0)},o(e){i(t.$$.fragment,e),l=!1},d(e){b(t,e)}}}function G(r){q(r);let t,l;return t=new h({props:{taskQueue:r[0],workers:r[4],compatibility:r[7],reachability:r[8]}}),{c(){_(t.$$.fragment)},l(e){k(t.$$.fragment,e)},m(e,n){$(t,e,n),l=!0},p(e,n){q(e)},i(e){l||(u(t.$$.fragment,e),l=!0)},o(e){i(t.$$.fragment,e),l=!1},d(e){b(t,e)}}}function J(r){return{c:a,l:a,m:a,p:a,i:a,o:a,d:a}}function L(r){return{c:a,l:a,m:a,p:a,i:a,o:a,d:a}}function M(r){let t,l,e={ctx:r,current:null,token:null,hasCatch:!1,pending:L,then:U,catch:R,value:4,blocks:[,,,]};return T(j({queue:r[0],namespace:r[1]}),e),{c(){t=p(),e.block.c()},l(n){t=p(),e.block.l(n)},m(n,o){g(n,t,o),e.block.m(n,e.anchor=o),e.mount=()=>t.parentNode,e.anchor=t,l=!0},p(n,[o]){r=n,v(e,r,o)},i(n){l||(u(e.block),l=!0)},o(n){for(let o=0;o<3;o+=1){const c=e.blocks[o];i(c)}l=!1},d(n){n&&d(t),e.block.d(n),e.token=null,e=null}}}function O(r,t,l){let e;W(r,F,m=>l(3,e=m));let{queue:n,namespace:o,taskQueue:c}=e.params;return[n,o,c]}class X extends Q{constructor(t){super(),P(this,t,O,M,C,{})}}function Y(r){let t,l,e,n;return t=new S({props:{title:`Task Queue | ${r[1]}`,url:r[0].url.href}}),e=new X({}),{c(){_(t.$$.fragment),l=I(),_(e.$$.fragment)},l(o){k(t.$$.fragment,o),l=N(o),k(e.$$.fragment,o)},m(o,c){$(t,o,c),g(o,l,c),$(e,o,c),n=!0},p(o,[c]){const m={};c&1&&(m.url=o[0].url.href),t.$set(m)},i(o){n||(u(t.$$.fragment,o),u(e.$$.fragment,o),n=!0)},o(o){i(t.$$.fragment,o),i(e.$$.fragment,o),n=!1},d(o){b(t,o),o&&d(l),b(e,o)}}}function Z(r,t,l){let e;W(r,F,o=>l(0,e=o));const n=e.params.queue;return[e,n]}class le extends Q{constructor(t){super(),P(this,t,Z,Y,C,{})}}export{le as default}; +import{S as Q,b as P,a as C,aq as T,e as p,f as g,ar as v,j as u,g as i,k as d,K as W,n as a,C as _,D as k,E as $,F as b,c as I,d as N}from"../chunks/index.09834243.js";import{p as F}from"../chunks/stores.cd833532.js";import{P as S}from"../chunks/page-title.34fd480b.js";import{W as h}from"../chunks/workers-list.291f60eb.js";import{g as j,a as B,b as D}from"../chunks/pollers-service.310d4298.js";import{p as E,c as H}from"../chunks/task-queue-compatibility.cf5696f8.js";function y(r){const t=E(r[4].pollers);r[5]=t}function q(r){r[7]=r[9][0],r[8]=r[9][1]}function K(r){const t=r.slice(),l=H(t[4].pollers);return t[6]=l,t}function R(r){return{c:a,l:a,m:a,p:a,i:a,o:a,d:a}}function U(r){y(r);let t,l,e,n;const o=[z,V],c=[];function m(s,f){return s[5]?0:1}function w(s,f){return f===0?K(s):s}return t=m(r),l=c[t]=o[t](w(r,t)),{c(){l.c(),e=p()},l(s){l.l(s),e=p()},m(s,f){c[t].m(s,f),g(s,e,f),n=!0},p(s,f){y(s),l.p(w(s,t),f)},i(s){n||(u(l),n=!0)},o(s){i(l),n=!1},d(s){c[t].d(s),s&&d(e)}}}function V(r){let t,l;return t=new h({props:{taskQueue:r[0],workers:r[4]}}),{c(){_(t.$$.fragment)},l(e){k(t.$$.fragment,e)},m(e,n){$(t,e,n),l=!0},p:a,i(e){l||(u(t.$$.fragment,e),l=!0)},o(e){i(t.$$.fragment,e),l=!1},d(e){b(t,e)}}}function z(r){let t,l,e={ctx:r,current:null,token:null,hasCatch:!0,pending:J,then:G,catch:A,value:9,blocks:[,,,]};return T(Promise.all([B({queue:r[0],namespace:r[1]}),D({namespace:r[1],buildIds:r[6],taskQueue:r[2]})]),e),{c(){t=p(),e.block.c()},l(n){t=p(),e.block.l(n)},m(n,o){g(n,t,o),e.block.m(n,e.anchor=o),e.mount=()=>t.parentNode,e.anchor=t,l=!0},p(n,o){r=n,v(e,r,o)},i(n){l||(u(e.block),l=!0)},o(n){for(let o=0;o<3;o+=1){const c=e.blocks[o];i(c)}l=!1},d(n){n&&d(t),e.block.d(n),e.token=null,e=null}}}function A(r){let t,l;return t=new h({props:{taskQueue:r[0],workers:r[4]}}),{c(){_(t.$$.fragment)},l(e){k(t.$$.fragment,e)},m(e,n){$(t,e,n),l=!0},p:a,i(e){l||(u(t.$$.fragment,e),l=!0)},o(e){i(t.$$.fragment,e),l=!1},d(e){b(t,e)}}}function G(r){q(r);let t,l;return t=new h({props:{taskQueue:r[0],workers:r[4],compatibility:r[7],reachability:r[8]}}),{c(){_(t.$$.fragment)},l(e){k(t.$$.fragment,e)},m(e,n){$(t,e,n),l=!0},p(e,n){q(e)},i(e){l||(u(t.$$.fragment,e),l=!0)},o(e){i(t.$$.fragment,e),l=!1},d(e){b(t,e)}}}function J(r){return{c:a,l:a,m:a,p:a,i:a,o:a,d:a}}function L(r){return{c:a,l:a,m:a,p:a,i:a,o:a,d:a}}function M(r){let t,l,e={ctx:r,current:null,token:null,hasCatch:!1,pending:L,then:U,catch:R,value:4,blocks:[,,,]};return T(j({queue:r[0],namespace:r[1]}),e),{c(){t=p(),e.block.c()},l(n){t=p(),e.block.l(n)},m(n,o){g(n,t,o),e.block.m(n,e.anchor=o),e.mount=()=>t.parentNode,e.anchor=t,l=!0},p(n,[o]){r=n,v(e,r,o)},i(n){l||(u(e.block),l=!0)},o(n){for(let o=0;o<3;o+=1){const c=e.blocks[o];i(c)}l=!1},d(n){n&&d(t),e.block.d(n),e.token=null,e=null}}}function O(r,t,l){let e;W(r,F,m=>l(3,e=m));let{queue:n,namespace:o,taskQueue:c}=e.params;return[n,o,c]}class X extends Q{constructor(t){super(),P(this,t,O,M,C,{})}}function Y(r){let t,l,e,n;return t=new S({props:{title:`Task Queue | ${r[1]}`,url:r[0].url.href}}),e=new X({}),{c(){_(t.$$.fragment),l=I(),_(e.$$.fragment)},l(o){k(t.$$.fragment,o),l=N(o),k(e.$$.fragment,o)},m(o,c){$(t,o,c),g(o,l,c),$(e,o,c),n=!0},p(o,[c]){const m={};c&1&&(m.url=o[0].url.href),t.$set(m)},i(o){n||(u(t.$$.fragment,o),u(e.$$.fragment,o),n=!0)},o(o){i(t.$$.fragment,o),i(e.$$.fragment,o),n=!1},d(o){b(t,o),o&&d(l),b(e,o)}}}function Z(r,t,l){let e;W(r,F,o=>l(0,e=o));const n=e.params.queue;return[e,n]}class le extends Q{constructor(t){super(),P(this,t,Z,Y,C,{})}}export{le as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-compact-page.ts.292a98c4.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-compact-page.ts.292a98c4.js new file mode 100644 index 0000000000..6406e8386b --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-compact-page.ts.292a98c4.js @@ -0,0 +1 @@ +import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.d76d8056.js";import{l as t}from"../chunks/_page.0171ff9b.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-compact-page.ts.c8763ace.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-compact-page.ts.c8763ace.js deleted file mode 100644 index 7be75fe179..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-compact-page.ts.c8763ace.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.3b55a4c6.js";import{l as t}from"../chunks/_page.011b8ecc.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-events-_id_-page.svelte.842640e1.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-events-_id_-page.svelte.8246f4eb.js similarity index 92% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-events-_id_-page.svelte.842640e1.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-events-_id_-page.svelte.8246f4eb.js index 430604dc59..9b75a62fbf 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-events-_id_-page.svelte.842640e1.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-events-_id_-page.svelte.8246f4eb.js @@ -1 +1 @@ -import{S as D,b as K,a as M,C as v,D as k,E as b,j as g,g as h,F as E,K as d,e as w,f as P,z as $,aa as Q,ab as R,h as C,k as W,a5 as F,n as T}from"../chunks/index.09834243.js";import{p as U}from"../chunks/stores.9d4a2bb0.js";import{E as V,a as X,b as Y}from"../chunks/event-summary-table.295df242.js";import{c as S,e as Z,a as x}from"../chunks/events-service.7b234537.js";import{e as ee,b as N}from"../chunks/event-view.fe644395.js";function j(o,t,n){const e=o.slice();return e[18]=t[n],e}function q(o){let t,n;return t=new X({props:{loading:o[1]}}),{c(){v(t.$$.fragment)},l(e){k(t.$$.fragment,e)},m(e,i){b(t,e,i),n=!0},p(e,i){const r={};i&2&&(r.loading=e[1]),t.$set(r)},i(e){n||(g(t.$$.fragment,e),n=!0)},o(e){h(t.$$.fragment,e),n=!1},d(e){E(t,e)}}}function z(o,t){let n,e,i;return e=new Y({props:{event:t[18],compact:t[0],expandAll:!0,initialItem:t[4],active:!0}}),{key:o,first:null,c(){n=w(),v(e.$$.fragment),this.h()},l(r){n=w(),k(e.$$.fragment,r),this.h()},h(){this.first=n},m(r,u){P(r,n,u),b(e,r,u),i=!0},p(r,u){t=r;const s={};u&4&&(s.event=t[18]),u&1&&(s.compact=t[0]),u&16&&(s.initialItem=t[4]),e.$set(s)},i(r){i||(g(e.$$.fragment,r),i=!0)},o(r){h(e.$$.fragment,r),i=!1},d(r){r&&W(n),E(e,r)}}}function te(o){let t=[],n=new Map,e,i,r=o[2];const u=l=>`${l[18].id}-${l[18].timestamp}`;for(let l=0;l{s=null}),C()):(s=q(l),s.c(),g(s,1),s.m(e.parentNode,e)))},i(l){if(!i){for(let a=0;an(11,_=f)),d(o,S,f=>n(12,c=f)),d(o,Z,f=>n(13,p=f)),d(o,ee,f=>n(14,I=f)),d(o,N,f=>n(15,A=f));let{compact:H=!1}=t,y=!1;const B=()=>{F(S,c=[],c),n(1,y=!0)},G=async(f,L,O)=>{c.length||(n(1,y=!0),B(),F(S,c=await x({namespace:f,workflowId:L,runId:O}),c),n(1,y=!1))};function J(f){F(N,A=f.detail.expanded,A)}return o.$$set=f=>{"compact"in f&&n(0,H=f.compact)},o.$$.update=()=>{o.$$.dirty&2048&&n(10,{namespace:e,workflow:i,run:r}=_.params,e,(n(9,i),n(11,_)),(n(8,r),n(11,_))),o.$$.dirty&1792&&G(e,i,r),o.$$.dirty&24577&&n(7,u=I==="descending"&&!H?p==null?void 0:p.end:p==null?void 0:p.start),o.$$.dirty&4224&&n(6,s=c.length?c:u),o.$$.dirty&64&&n(4,l=s==null?void 0:s[0]),o.$$.dirty&4160&&n(3,a=s.length&&!c.length),o.$$.dirty&6144&&n(2,m=c.filter(f=>f.id===_.params.id))},[H,y,m,a,l,J,s,u,r,i,e,_,c,p,I]}class oe extends D{constructor(t){super(),K(this,t,re,ne,M,{compact:0})}}function le(o){let t,n;return t=new oe({}),{c(){v(t.$$.fragment)},l(e){k(t.$$.fragment,e)},m(e,i){b(t,e,i),n=!0},p:T,i(e){n||(g(t.$$.fragment,e),n=!0)},o(e){h(t.$$.fragment,e),n=!1},d(e){E(t,e)}}}class ce extends D{constructor(t){super(),K(this,t,null,le,M,{})}}export{ce as default}; +import{S as D,b as K,a as M,C as v,D as k,E as b,j as g,g as h,F as E,K as d,e as w,f as P,z as $,aa as Q,ab as R,h as C,k as W,a5 as F,n as T}from"../chunks/index.09834243.js";import{p as U}from"../chunks/stores.cd833532.js";import{E as V,a as X,b as Y}from"../chunks/event-summary-table.c8c908b8.js";import{c as S,e as Z,a as x}from"../chunks/events-service.4ec8b4a3.js";import{e as ee,b as N}from"../chunks/event-view.f3ec8bd2.js";function j(o,t,n){const e=o.slice();return e[18]=t[n],e}function q(o){let t,n;return t=new X({props:{loading:o[1]}}),{c(){v(t.$$.fragment)},l(e){k(t.$$.fragment,e)},m(e,i){b(t,e,i),n=!0},p(e,i){const r={};i&2&&(r.loading=e[1]),t.$set(r)},i(e){n||(g(t.$$.fragment,e),n=!0)},o(e){h(t.$$.fragment,e),n=!1},d(e){E(t,e)}}}function z(o,t){let n,e,i;return e=new Y({props:{event:t[18],compact:t[0],expandAll:!0,initialItem:t[4],active:!0}}),{key:o,first:null,c(){n=w(),v(e.$$.fragment),this.h()},l(r){n=w(),k(e.$$.fragment,r),this.h()},h(){this.first=n},m(r,u){P(r,n,u),b(e,r,u),i=!0},p(r,u){t=r;const s={};u&4&&(s.event=t[18]),u&1&&(s.compact=t[0]),u&16&&(s.initialItem=t[4]),e.$set(s)},i(r){i||(g(e.$$.fragment,r),i=!0)},o(r){h(e.$$.fragment,r),i=!1},d(r){r&&W(n),E(e,r)}}}function te(o){let t=[],n=new Map,e,i,r=o[2];const u=l=>`${l[18].id}-${l[18].timestamp}`;for(let l=0;l{s=null}),C()):(s=q(l),s.c(),g(s,1),s.m(e.parentNode,e)))},i(l){if(!i){for(let a=0;an(11,_=f)),d(o,S,f=>n(12,c=f)),d(o,Z,f=>n(13,p=f)),d(o,ee,f=>n(14,I=f)),d(o,N,f=>n(15,A=f));let{compact:H=!1}=t,y=!1;const B=()=>{F(S,c=[],c),n(1,y=!0)},G=async(f,L,O)=>{c.length||(n(1,y=!0),B(),F(S,c=await x({namespace:f,workflowId:L,runId:O}),c),n(1,y=!1))};function J(f){F(N,A=f.detail.expanded,A)}return o.$$set=f=>{"compact"in f&&n(0,H=f.compact)},o.$$.update=()=>{o.$$.dirty&2048&&n(10,{namespace:e,workflow:i,run:r}=_.params,e,(n(9,i),n(11,_)),(n(8,r),n(11,_))),o.$$.dirty&1792&&G(e,i,r),o.$$.dirty&24577&&n(7,u=I==="descending"&&!H?p==null?void 0:p.end:p==null?void 0:p.start),o.$$.dirty&4224&&n(6,s=c.length?c:u),o.$$.dirty&64&&n(4,l=s==null?void 0:s[0]),o.$$.dirty&4160&&n(3,a=s.length&&!c.length),o.$$.dirty&6144&&n(2,m=c.filter(f=>f.id===_.params.id))},[H,y,m,a,l,J,s,u,r,i,e,_,c,p,I]}class oe extends D{constructor(t){super(),K(this,t,re,ne,M,{compact:0})}}function le(o){let t,n;return t=new oe({}),{c(){v(t.$$.fragment)},l(e){k(t.$$.fragment,e)},m(e,i){b(t,e,i),n=!0},p:T,i(e){n||(g(t.$$.fragment,e),n=!0)},o(e){h(t.$$.fragment,e),n=!1},d(e){E(t,e)}}}class ce extends D{constructor(t){super(),K(this,t,null,le,M,{})}}export{ce as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-feed-page.ts.292a98c4.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-feed-page.ts.292a98c4.js new file mode 100644 index 0000000000..a9ab5e826c --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-feed-page.ts.292a98c4.js @@ -0,0 +1 @@ +import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.d76d8056.js";import{l as t}from"../chunks/_page.9bc91c93.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-feed-page.ts.c8763ace.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-feed-page.ts.c8763ace.js deleted file mode 100644 index 78cf971d88..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-feed-page.ts.c8763ace.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.3b55a4c6.js";import{l as t}from"../chunks/_page.8b656119.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-json-page.ts.292a98c4.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-json-page.ts.292a98c4.js new file mode 100644 index 0000000000..9c92f9b1e8 --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-json-page.ts.292a98c4.js @@ -0,0 +1 @@ +import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.d76d8056.js";import{l as t}from"../chunks/_page.b4978905.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-json-page.ts.c8763ace.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-json-page.ts.c8763ace.js deleted file mode 100644 index d2ff6797da..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-json-page.ts.c8763ace.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.3b55a4c6.js";import{l as t}from"../chunks/_page.c1dd67a1.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.bf1b8d47.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.252ac404.js similarity index 99% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.bf1b8d47.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.252ac404.js index c8295554f8..98c69a4cf2 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.bf1b8d47.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.252ac404.js @@ -1,4 +1,4 @@ -import{ac as ei,S as kt,b as St,a as xt,C as B,D as K,E as G,j as E,g as O,F as z,K as Ue,o as Qx,m as Z,c as ne,p as J,q as X,k as T,d as ae,u as W,f as R,L as P,z as Le,h as Fe,A as U_,a5 as la,w as le,x as ue,W as Mr,X as Ar,y as Xe,n as Ye,G as X_,H as K_,I as q_,J as Q_,B as Zo,e as ut,i as Zx,N as Jo,O as fp,R as Z_,T as hp,U as Jx,a7 as eT,aa as vd,ab as pd,au as tT,a3 as J_,a4 as eb,Y as rT,a0 as iT,a1 as nT}from"../chunks/index.09834243.js";import{p as ks}from"../chunks/stores.9d4a2bb0.js";import{P as aT}from"../chunks/page-title.34fd480b.js";import{t as U}from"../chunks/translate.0a219ae4.js";import{A as Ml}from"../chunks/accordion.3c992162.js";import{I as Ss}from"../chunks/icon.3cd9fa27.js";import{L as sT}from"../chunks/loading.3bde98aa.js";import{T as tb,a as hn}from"../chunks/toggle-buttons.c3213cc2.js";import{g as qc}from"../chunks/index.7999049a.js";import{C as rb}from"../chunks/get-event-categorization.3ec93a88.js";import{d as el,e as md,b as dp}from"../chunks/event-view.fe644395.js";import{e as ib}from"../chunks/filters.2cde2000.js";import{w as Sa,a as vp,b as pp,r as oT}from"../chunks/workflow-run.889d50fd.js";import{c as lT}from"../chunks/format-camel-case.887ffc78.js";import{C as nb,H as ab,I as uT,J as cT,u as fT,f as hT,n as dT,g as vT,p as pT}from"../chunks/is-event-type.4dbe973b.js";import{s as ai,p as tl,a as mT}from"../chunks/parse-with-big-int.b38462f3.js";import{b as Vr,r as _n,t as bn}from"../chunks/format-date.71526e4c.js";import{r as sb,t as ob,q as gd,k as mp,E as gp}from"../chunks/format-time.650b834b.js";import{B as gT}from"../chunks/button.ce5dce2f.js";import{D as yT}from"../chunks/drawer.14ba7d3c.js";import{T as lb}from"../chunks/tooltip.6cc63041.js";import{B as br}from"../chunks/badge.f53d8aa8.js";import{C as xs}from"../chunks/code-block.5b4e5d21.js";import{P as ub}from"../chunks/payload-decoder.357d48e6.js";import{L as Nr}from"../chunks/link.4944a6a5.js";import{j as yp,k as _p}from"../chunks/format-event-attributes.14b5bd74.js";import{i as _T,g as hr,s as bp,h as wp,l as Tu}from"../chunks/route-for.3b55a4c6.js";import{t as $p}from"../chunks/to-time-difference.be87d1bf.js";import{P as cb}from"../chunks/pagination.3eb97d83.js";import{T as Ts,a as Es}from"../chunks/table-header-row.843c5ee2.js";import{T as Al}from"../chunks/table-row.185c48e5.js";import{W as bT}from"../chunks/workflow-status.cf27e560.js";import{C as En}from"../chunks/index.fcfd418a.js";import{f as fb}from"../chunks/menu.c7988d0b.js";import{A as yd}from"../chunks/alert.67786ddb.js";import{w as wT}from"../chunks/task-queue-compatibility.cf5696f8.js";import{b as hb,E as $T,a as kT}from"../chunks/event-summary-table.295df242.js";import{a as db,b as ST,c as rs,e as vb}from"../chunks/events-service.7b234537.js";import{n as xT}from"../chunks/namespaces.5721b9bd.js";import{h as TT}from"../chunks/has.b142a10d.js";import{W as ET}from"../chunks/workflow-json-navigator.b7922362.js";import{T as DT}from"../chunks/toggle-switch.3808d19f.js";function CT(e){sb(1,arguments);var n=ob(e);return n.setSeconds(0,0),n}function OT(e){sb(1,arguments);var n=ob(e);return n.setSeconds(59,999),n}/** +import{ac as ei,S as kt,b as St,a as xt,C as B,D as K,E as G,j as E,g as O,F as z,K as Ue,o as Qx,m as Z,c as ne,p as J,q as X,k as T,d as ae,u as W,f as R,L as P,z as Le,h as Fe,A as U_,a5 as la,w as le,x as ue,W as Mr,X as Ar,y as Xe,n as Ye,G as X_,H as K_,I as q_,J as Q_,B as Zo,e as ut,i as Zx,N as Jo,O as fp,R as Z_,T as hp,U as Jx,a7 as eT,aa as vd,ab as pd,au as tT,a3 as J_,a4 as eb,Y as rT,a0 as iT,a1 as nT}from"../chunks/index.09834243.js";import{p as ks}from"../chunks/stores.cd833532.js";import{P as aT}from"../chunks/page-title.34fd480b.js";import{t as U}from"../chunks/translate.0a219ae4.js";import{A as Ml}from"../chunks/accordion.27d3ff9a.js";import{I as Ss}from"../chunks/icon.3cd9fa27.js";import{L as sT}from"../chunks/loading.3bde98aa.js";import{T as tb,a as hn}from"../chunks/toggle-buttons.d3e32817.js";import{g as qc}from"../chunks/index.7999049a.js";import{C as rb}from"../chunks/get-event-categorization.3ec93a88.js";import{d as el,e as md,b as dp}from"../chunks/event-view.f3ec8bd2.js";import{e as ib}from"../chunks/filters.d78bd1e9.js";import{w as Sa,a as vp,b as pp,r as oT}from"../chunks/workflow-run.1abbba7b.js";import{c as lT}from"../chunks/format-camel-case.887ffc78.js";import{C as nb,H as ab,I as uT,J as cT,u as fT,f as hT,n as dT,g as vT,p as pT}from"../chunks/is-event-type.4dbe973b.js";import{s as ai,p as tl,a as mT}from"../chunks/parse-with-big-int.b38462f3.js";import{b as Vr,r as _n,t as bn}from"../chunks/format-date.79f77cbf.js";import{r as sb,t as ob,q as gd,k as mp,E as gp}from"../chunks/format-time.650b834b.js";import{B as gT}from"../chunks/button.ce5dce2f.js";import{D as yT}from"../chunks/drawer.5e79e00e.js";import{T as lb}from"../chunks/tooltip.9802d6e3.js";import{B as br}from"../chunks/badge.f53d8aa8.js";import{C as xs}from"../chunks/code-block.797d93a9.js";import{P as ub}from"../chunks/payload-decoder.53c14555.js";import{L as Nr}from"../chunks/link.7cb1390a.js";import{j as yp,k as _p}from"../chunks/format-event-attributes.8792031a.js";import{i as _T,g as hr,s as bp,h as wp,l as Tu}from"../chunks/route-for.d76d8056.js";import{t as $p}from"../chunks/to-time-difference.be87d1bf.js";import{P as cb}from"../chunks/pagination.6f99836b.js";import{T as Ts,a as Es}from"../chunks/table-header-row.843c5ee2.js";import{T as Al}from"../chunks/table-row.185c48e5.js";import{W as bT}from"../chunks/workflow-status.cf27e560.js";import{C as En}from"../chunks/index.a9a075c8.js";import{f as fb}from"../chunks/menu.4ba49cb6.js";import{A as yd}from"../chunks/alert.67786ddb.js";import{w as wT}from"../chunks/task-queue-compatibility.cf5696f8.js";import{b as hb,E as $T,a as kT}from"../chunks/event-summary-table.c8c908b8.js";import{a as db,b as ST,c as rs,e as vb}from"../chunks/events-service.4ec8b4a3.js";import{n as xT}from"../chunks/namespaces.5ad7f936.js";import{h as TT}from"../chunks/has.b142a10d.js";import{W as ET}from"../chunks/workflow-json-navigator.1792b935.js";import{T as DT}from"../chunks/toggle-switch.3808d19f.js";function CT(e){sb(1,arguments);var n=ob(e);return n.setSeconds(0,0),n}function OT(e){sb(1,arguments);var n=ob(e);return n.setSeconds(59,999),n}/** * vis-timeline and vis-graph2d * https://visjs.github.io/vis-timeline/ * diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.16345e4f.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.f677ae93.js similarity index 96% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.16345e4f.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.f677ae93.js index 6800d1b7b6..bc56563ab1 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.16345e4f.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.f677ae93.js @@ -1 +1 @@ -import{S as be,b as ve,a as Ie,C as D,D as S,E as P,j as d,g as h,F as W,K,i as pt,A as se,a0 as fe,m as Q,c as j,p as J,q as Y,d as O,k as w,u as X,f as y,L as F,a1 as ie,e as $e,z as me,h as de,a7 as mt,w as z,x as G,n as ue,s as to,a5 as le,y as Te,o as dt,a6 as Me,a3 as _t,a4 as gt,G as wt,H as ht,I as $t,J as kt}from"../chunks/index.09834243.js";import{p as qe}from"../chunks/stores.9d4a2bb0.js";import{L as oo}from"../chunks/loading.3bde98aa.js";import{d as ro,f as bt}from"../chunks/menu.c7988d0b.js";import{T as no}from"../chunks/toggle-switch.3808d19f.js";import{T as Fe}from"../chunks/tooltip.6cc63041.js";import{t as $}from"../chunks/translate.0a219ae4.js";import{a as Se,e as Qe}from"../chunks/event-view.fe644395.js";import{w as vt}from"../chunks/singletons.aae8f11e.js";import{C as lo,w as so,a as ao,f as Je}from"../chunks/workflow-terminate-enabled.e1ebd541.js";import{I as Ne}from"../chunks/input.8b192295.js";import{R as fo,a as io}from"../chunks/radio-input.c176e21a.js";import{R as ke,A as Ye}from"../chunks/workflow-actions.6f88149c.js";import{r as It,e as Pe,t as ze,i as uo,f as co}from"../chunks/events-service.7b234537.js";import{B as po}from"../chunks/button.ce5dce2f.js";import{C as mo}from"../chunks/code-block.5b4e5d21.js";import{B as Be}from"../chunks/badge.f53d8aa8.js";import{I as _o}from"../chunks/icon.3cd9fa27.js";import{M as go}from"../chunks/menu-divider.6c0ebb73.js";import{M as Re}from"../chunks/modal.0783f753.js";import{S as wo}from"../chunks/split-button.6be660d6.js";import{w as ho,t as $o,c as ko,s as bo,r as vo,f as Io}from"../chunks/workflow-service.56e6b262.js";import{a as Tt}from"../chunks/auth-user.f0bc59ab.js";import{c as To}from"../chunks/core-user.3a655c21.js";import{p as Et,i as Eo,c as Rt}from"../chunks/data-encoder-config.b5b7b570.js";import{p as Ro}from"../chunks/persist-store.ad106cab.js";import{s as Ao}from"../chunks/versions.2bb4ba4c.js";import{t as Ve}from"../chunks/toaster.d089c03c.js";import{r as ge,w as We,i as Co}from"../chunks/workflow-run.889d50fd.js";import{W as yo}from"../chunks/workflow-status.cf27e560.js";import{A as At}from"../chunks/alert.67786ddb.js";import{C as Ge,g as Do,a as So,b as Po}from"../chunks/pollers-service.d402da8b.js";import{C as Wo}from"../chunks/index.fcfd418a.js";import{L as He}from"../chunks/link.4944a6a5.js";import{T as Vo,a as Mo,b as Ee}from"../chunks/tab.54c1ef65.js";import{w as qo}from"../chunks/workflows.00769fe8.js";import{h as Fo}from"../chunks/has.b142a10d.js";import{r as Ke,g as he,h as Ae,i as Ce,j as ye,k as De}from"../chunks/route-for.3b55a4c6.js";import{g as No,a as Bo,b as Ho,p as Uo,c as Lo}from"../chunks/task-queue-compatibility.cf5696f8.js";import{c as jo,d as Oo}from"../chunks/decode-payload.1c6b12fc.js";import{g as Qo,a as Jo}from"../chunks/get-codec.be95b1c3.js";function Yo(n){let t,e;return t=new no({props:{label:$("auto-refresh"),labelPosition:"left",id:"autorefresh",checked:n[1]}}),t.$on("change",function(){pt(n[0])&&n[0].apply(this,arguments)}),{c(){D(t.$$.fragment)},l(o){S(t.$$.fragment,o)},m(o,r){P(t,o,r),e=!0},p(o,r){n=o;const l={};r&2&&(l.checked=n[1]),t.$set(l)},i(o){e||(d(t.$$.fragment,o),e=!0)},o(o){h(t.$$.fragment,o),e=!1},d(o){W(t,o)}}}function zo(n){let t,e;return t=new Fe({props:{bottomLeft:!0,text:$("auto-refresh-tooltip",{interval:"15"}),$$slots:{default:[Yo]},$$scope:{ctx:n}}}),{c(){D(t.$$.fragment)},l(o){S(t.$$.fragment,o)},m(o,r){P(t,o,r),e=!0},p(o,[r]){const l={};r&11&&(l.$$scope={dirty:r,ctx:o}),t.$set(l)},i(o){e||(d(t.$$.fragment,o),e=!0)},o(o){h(t.$$.fragment,o),e=!1},d(o){W(t,o)}}}function Go(n,t,e){let o,r;K(n,Se,s=>e(2,r=s));let{onChange:l}=t;return n.$$set=s=>{"onChange"in s&&e(0,l=s.onChange)},n.$$.update=()=>{n.$$.dirty&4&&e(1,o=r==="on")},[l,o,r]}class Ko extends be{constructor(t){super(),ve(this,t,Go,zo,Ie,{onChange:0})}}function Xe(n,t,e){const o=n.slice();return o[6]=t[e],o}function Ze(n){let t,e;return t=new io({props:{id:"reset-event-"+n[6].id,value:n[6].id,label:n[6].id+" - "+n[6].eventType}}),{c(){D(t.$$.fragment)},l(o){S(t.$$.fragment,o)},m(o,r){P(t,o,r),e=!0},p(o,r){const l={};r&8&&(l.id="reset-event-"+o[6].id),r&8&&(l.value=o[6].id),r&8&&(l.label=o[6].id+" - "+o[6].eventType),t.$set(l)},i(o){e||(d(t.$$.fragment,o),e=!0)},o(o){h(t.$$.fragment,o),e=!1},d(o){W(t,o)}}}function Xo(n){let t,e,o=n[3],r=[];for(let s=0;sh(r[s],1,1,()=>{r[s]=null});return{c(){for(let s=0;sfe(s,"value",u)),{c(){t=Q("div"),D(e.$$.fragment),o=j(),D(r.$$.fragment),l=j(),D(s.$$.fragment),this.h()},l(a){t=J(a,"DIV",{class:!0});var p=Y(t);S(e.$$.fragment,p),o=O(p),S(r.$$.fragment,p),l=O(p),S(s.$$.fragment,p),p.forEach(w),this.h()},h(){X(t,"class","flex w-full flex-col gap-4")},m(a,p){y(a,t,p),P(e,t,null),F(t,o),P(r,t,null),F(t,l),P(s,t,null),f=!0},p(a,[p]){const _={};p&4&&(_.group=a[2]),p&520&&(_.$$scope={dirty:p,ctx:a}),e.$set(_);const b={};p&1&&(b.checked=a[0]===ke.Signal),r.$set(b);const C={};!i&&p&2&&(i=!0,C.value=a[1],ie(()=>i=!1)),s.$set(C)},i(a){f||(d(e.$$.fragment,a),d(r.$$.fragment,a),d(s.$$.fragment,a),f=!0)},o(a){h(e.$$.fragment,a),h(r.$$.fragment,a),h(s.$$.fragment,a),f=!1},d(a){a&&w(t),W(e),W(r),W(s)}}}function xo(n,t,e){let o;K(n,It,u=>e(3,o=u));let{resetReapplyType:r=ke.Signal}=t,{reason:l=""}=t,{eventId:s}=t;const i=u=>{e(0,r=u.detail.checked?ke.Signal:ke.None)};function f(u){l=u,e(1,l)}return n.$$set=u=>{"resetReapplyType"in u&&e(0,r=u.resetReapplyType),"reason"in u&&e(1,l=u.reason),"eventId"in u&&e(2,s=u.eventId)},[r,l,s,o,i,f]}class er extends be{constructor(t){super(),ve(this,t,xo,Zo,Ie,{resetReapplyType:0,reason:1,eventId:2})}}const Ct=Ro("resetWorkflows",{}),tr=n=>!n.disableWriteActions&&!n.workflowResetDisabled,or=n=>!n.disableWriteActions&&!n.workflowSignalDisabled;function xe(n,t,e){const o=n.slice();return o[65]=t[e].onClick,o[66]=t[e].destructive,o[67]=t[e].label,o[68]=t[e].allowed,o[69]=t[e].testId,o[70]=t[e].tooltip,o}function rr(n){let t,e;return t=new Fe({props:{bottomRight:!0,width:200,text:n[2],hide:n[3],$$slots:{default:[sr]},$$scope:{ctx:n}}}),{c(){D(t.$$.fragment)},l(o){S(t.$$.fragment,o)},m(o,r){P(t,o,r),e=!0},p(o,r){const l={};r[0]&4&&(l.text=o[2]),r[0]&8&&(l.hide=o[3]),r[0]&520|r[2]&2048&&(l.$$scope={dirty:r,ctx:o}),t.$set(l)},i(o){e||(d(t.$$.fragment,o),e=!0)},o(o){h(t.$$.fragment,o),e=!1},d(o){W(t,o)}}}function nr(n){let t,e;return t=new wo({props:{id:"workflow-actions",position:"right",disabled:n[18],primaryActionDisabled:!n[19]||n[0],label:$("workflows","request-cancellation"),menuLabel:$("workflows","workflow-actions"),$$slots:{default:[ir]},$$scope:{ctx:n}}}),t.$on("click",n[41]),{c(){D(t.$$.fragment)},l(o){S(t.$$.fragment,o)},m(o,r){P(t,o,r),e=!0},p(o,r){const l={};r[0]&262144&&(l.disabled=o[18]),r[0]&524289&&(l.primaryActionDisabled=!o[19]||o[0]),r[0]&131072|r[2]&2048&&(l.$$scope={dirty:r,ctx:o}),t.$set(l)},i(o){e||(d(t.$$.fragment,o),e=!0)},o(o){h(t.$$.fragment,o),e=!1},d(o){W(t,o)}}}function lr(n){let t=$("workflows","reset")+"",e;return{c(){e=z(t)},l(o){e=G(o,t)},m(o,r){y(o,e,r)},p:ue,d(o){o&&w(e)}}}function sr(n){let t,e;return t=new po({props:{"aria-label":$("workflows","reset"),disabled:!n[3],variant:"primary",$$slots:{default:[lr]},$$scope:{ctx:n}}}),t.$on("click",n[42]),{c(){D(t.$$.fragment)},l(o){S(t.$$.fragment,o)},m(o,r){P(t,o,r),e=!0},p(o,r){const l={};r[0]&8&&(l.disabled=!o[3]),r[2]&2048&&(l.$$scope={dirty:r,ctx:o}),t.$set(l)},i(o){e||(d(t.$$.fragment,o),e=!0)},o(o){h(t.$$.fragment,o),e=!1},d(o){W(t,o)}}}function et(n){let t,e;return t=new go({}),{c(){D(t.$$.fragment)},l(o){S(t.$$.fragment,o)},m(o,r){P(t,o,r),e=!0},i(o){e||(d(t.$$.fragment,o),e=!0)},o(o){h(t.$$.fragment,o),e=!1},d(o){W(t,o)}}}function ar(n){let t=n[67]+"",e;return{c(){e=z(t)},l(o){e=G(o,t)},m(o,r){y(o,e,r)},p(o,r){r[0]&131072&&t!==(t=o[67]+"")&&Te(e,t)},d(o){o&&w(e)}}}function fr(n){let t,e,o;return t=new ro({props:{destructive:n[66],disabled:!n[68],"data-testid":n[69],$$slots:{default:[ar]},$$scope:{ctx:n}}}),t.$on("click",function(){pt(n[65])&&n[65].apply(this,arguments)}),{c(){D(t.$$.fragment),e=j()},l(r){S(t.$$.fragment,r),e=O(r)},m(r,l){P(t,r,l),y(r,e,l),o=!0},p(r,l){n=r;const s={};l[0]&131072&&(s.destructive=n[66]),l[0]&131072&&(s.disabled=!n[68]),l[0]&131072&&(s["data-testid"]=n[69]),l[0]&131072|l[2]&2048&&(s.$$scope={dirty:l,ctx:n}),t.$set(s)},i(r){o||(d(t.$$.fragment,r),o=!0)},o(r){h(t.$$.fragment,r),o=!1},d(r){W(t,r),r&&w(e)}}}function tt(n){let t,e,o,r=n[66]&&et();return e=new Fe({props:{text:n[70],hide:!n[70],width:200,left:!0,$$slots:{default:[fr]},$$scope:{ctx:n}}}),{c(){r&&r.c(),t=j(),D(e.$$.fragment)},l(l){r&&r.l(l),t=O(l),S(e.$$.fragment,l)},m(l,s){r&&r.m(l,s),y(l,t,s),P(e,l,s),o=!0},p(l,s){l[66]?r?s[0]&131072&&d(r,1):(r=et(),r.c(),d(r,1),r.m(t.parentNode,t)):r&&(me(),h(r,1,1,()=>{r=null}),de());const i={};s[0]&131072&&(i.text=l[70]),s[0]&131072&&(i.hide=!l[70]),s[0]&131072|s[2]&2048&&(i.$$scope={dirty:s,ctx:l}),e.$set(i)},i(l){o||(d(r),d(e.$$.fragment,l),o=!0)},o(l){h(r),h(e.$$.fragment,l),o=!1},d(l){r&&r.d(l),l&&w(t),W(e,l)}}}function ir(n){let t,e,o=n[17],r=[];for(let s=0;sh(r[s],1,1,()=>{r[s]=null});return{c(){for(let s=0;sfe(t,"eventId",s)),se.push(()=>fe(t,"resetReapplyType",i)),se.push(()=>fe(t,"reason",f)),{c(){D(t.$$.fragment)},l(m){S(t.$$.fragment,m)},m(m,a){P(t,m,a),l=!0},p(m,a){const p={};!e&&a[0]&8192&&(e=!0,p.eventId=m[13],ie(()=>e=!1)),!o&&a[0]&4096&&(o=!0,p.resetReapplyType=m[12],ie(()=>o=!1)),!r&&a[0]&16384&&(r=!0,p.reason=m[14],ie(()=>r=!1)),t.$set(p)},i(m){l||(d(t.$$.fragment,m),l=!0)},o(m){h(t.$$.fragment,m),l=!1},d(m){W(t,m)}}}function pr(n){let t,e=$("workflows","cancel-modal-title")+"",o;return{c(){t=Q("h3"),o=z(e),this.h()},l(r){t=J(r,"H3",{slot:!0});var l=Y(t);o=G(l,e),l.forEach(w),this.h()},h(){X(t,"slot","title")},m(r,l){y(r,t,l),F(t,o)},p:ue,d(r){r&&w(t)}}}function mr(n){let t,e=$("workflows","cancel-modal-confirmation")+"",o;return{c(){t=Q("p"),o=z(e)},l(r){t=J(r,"P",{});var l=Y(t);o=G(l,e),l.forEach(w)},m(r,l){y(r,t,l),F(t,o)},p:ue,d(r){r&&w(t)}}}function dr(n){let t,e=$("workflows","terminate-modal-title")+"",o;return{c(){t=Q("h3"),o=z(e),this.h()},l(r){t=J(r,"H3",{slot:!0});var l=Y(t);o=G(l,e),l.forEach(w),this.h()},h(){X(t,"slot","title")},m(r,l){y(r,t,l),F(t,o)},p:ue,d(r){r&&w(t)}}}function _r(n){let t,e,o=$("workflows","terminate-modal-confirmation")+"",r,l,s,i,f;function u(a){n[50](a)}let m={id:"workflow-termination-reason",class:"mt-4",placeholder:$("reason-placeholder"),label:$("reason-placeholder"),labelHidden:!0};return n[4]!==void 0&&(m.value=n[4]),s=new Ne({props:m}),se.push(()=>fe(s,"value",u)),{c(){t=Q("div"),e=Q("p"),r=z(o),l=j(),D(s.$$.fragment),this.h()},l(a){t=J(a,"DIV",{slot:!0});var p=Y(t);e=J(p,"P",{});var _=Y(e);r=G(_,o),_.forEach(w),l=O(p),S(s.$$.fragment,p),p.forEach(w),this.h()},h(){X(t,"slot","content")},m(a,p){y(a,t,p),F(t,e),F(e,r),F(t,l),P(s,t,null),f=!0},p(a,p){const _={};!i&&p[0]&16&&(i=!0,_.value=a[4],ie(()=>i=!1)),s.$set(_)},i(a){f||(d(s.$$.fragment,a),f=!0)},o(a){h(s.$$.fragment,a),f=!1},d(a){a&&w(t),W(s)}}}function gr(n){let t,e=$("workflows","signal-modal-title")+"",o;return{c(){t=Q("h3"),o=z(e),this.h()},l(r){t=J(r,"H3",{slot:!0});var l=Y(t);o=G(l,e),l.forEach(w),this.h()},h(){X(t,"slot","title")},m(r,l){y(r,t,l),F(t,o)},p:ue,d(r){r&&w(t)}}}function wr(n){let t,e,o,r,l,s,i=$("workflows","signal-payload-input-label")+"",f,u,m,a=$("workflows","signal-payload-input-label-hint")+"",p,_,b,C;function I(T){n[53](T)}let L={id:"signal-name",label:$("workflows","signal-name-label"),required:!0};n[6]!==void 0&&(L.value=n[6]),e=new Ne({props:L}),se.push(()=>fe(e,"value",I));let R={class:"max-h-80 overflow-y-scroll overscroll-contain",content:n[5],editable:!0,copyable:!1};return b=new mo({props:R}),n[54](b),b.$on("change",n[26]),{c(){t=Q("div"),D(e.$$.fragment),r=j(),l=Q("div"),s=Q("span"),f=z(i),u=j(),m=Q("span"),p=z(a),_=j(),D(b.$$.fragment),this.h()},l(T){t=J(T,"DIV",{slot:!0,class:!0});var M=Y(t);S(e.$$.fragment,M),r=O(M),l=J(M,"DIV",{});var V=Y(l);s=J(V,"SPAN",{class:!0});var B=Y(s);f=G(B,i),B.forEach(w),u=O(V),m=J(V,"SPAN",{class:!0});var v=Y(m);p=G(v,a),v.forEach(w),_=O(V),S(b.$$.fragment,V),V.forEach(w),M.forEach(w),this.h()},h(){X(s,"class","font-secondary text-sm font-medium"),X(m,"class","font-secondary text-xs font-light italic"),X(t,"slot","content"),X(t,"class","flex flex-col gap-4")},m(T,M){y(T,t,M),P(e,t,null),F(t,r),F(t,l),F(l,s),F(s,f),F(l,u),F(l,m),F(m,p),F(l,_),P(b,l,null),C=!0},p(T,M){const V={};!o&&M[0]&64&&(o=!0,V.value=T[6],ie(()=>o=!1)),e.$set(V);const B={};M[0]&32&&(B.content=T[5]),b.$set(B)},i(T){C||(d(e.$$.fragment,T),d(b.$$.fragment,T),C=!0)},o(T){h(e.$$.fragment,T),h(b.$$.fragment,T),C=!1},d(T){T&&w(t),W(e),n[54](null),W(b)}}}function hr(n){let t,e,o,r,l,s,i,f,u,m,a,p,_,b,C,I,L,R,T;const M=[nr,rr],V=[];function B(c,A){return c[1]?0:1}t=B(n),e=V[t]=M[t](n);function v(c){n[46](c)}function q(c){n[47](c)}let N={id:"reset-confirmation-modal","data-testid":"reset-confirmation-modal",confirmText:$("confirm"),cancelText:$("cancel"),confirmDisabled:!n[20],$$slots:{content:[cr],title:[ur]},$$scope:{ctx:n}};n[11]!==void 0&&(N.error=n[11]),n[9]!==void 0&&(N.open=n[9]),r=new Re({props:N}),se.push(()=>fe(r,"error",v)),se.push(()=>fe(r,"open",q)),r.$on("confirmModal",n[28]),r.$on("cancelModal",n[23]);function H(c){n[48](c)}function U(c){n[49](c)}let te={id:"cancel-confirmation-modal","data-testid":"cancel-confirmation-modal",confirmText:$("confirm"),cancelText:$("cancel"),loading:n[15],confirmType:"destructive",$$slots:{content:[mr],title:[pr]},$$scope:{ctx:n}};n[11]!==void 0&&(te.error=n[11]),n[7]!==void 0&&(te.open=n[7]),f=new Re({props:te}),se.push(()=>fe(f,"error",H)),se.push(()=>fe(f,"open",U)),f.$on("confirmModal",n[25]);function Z(c){n[51](c)}function E(c){n[52](c)}let k={id:"terminate-confirmation-modal","data-testid":"terminate-confirmation-modal",confirmText:$("workflows","terminate"),cancelText:$("cancel"),confirmType:"destructive",$$slots:{content:[_r],title:[dr]},$$scope:{ctx:n}};n[11]!==void 0&&(k.error=n[11]),n[8]!==void 0&&(k.open=n[8]),p=new Re({props:k}),se.push(()=>fe(p,"error",Z)),se.push(()=>fe(p,"open",E)),p.$on("cancelModal",n[21]),p.$on("confirmModal",n[24]);function re(c){n[55](c)}function ne(c){n[56](c)}let oe={id:"signal-confirmation-modal","data-testid":"signal-confirmation-modal",confirmText:$("submit"),cancelText:$("cancel"),confirmDisabled:!n[6],$$slots:{content:[wr],title:[gr]},$$scope:{ctx:n}};return n[11]!==void 0&&(oe.error=n[11]),n[10]!==void 0&&(oe.open=n[10]),I=new Re({props:oe}),se.push(()=>fe(I,"error",re)),se.push(()=>fe(I,"open",ne)),I.$on("cancelModal",n[22]),I.$on("confirmModal",n[27]),{c(){e.c(),o=j(),D(r.$$.fragment),i=j(),D(f.$$.fragment),a=j(),D(p.$$.fragment),C=j(),D(I.$$.fragment)},l(c){e.l(c),o=O(c),S(r.$$.fragment,c),i=O(c),S(f.$$.fragment,c),a=O(c),S(p.$$.fragment,c),C=O(c),S(I.$$.fragment,c)},m(c,A){V[t].m(c,A),y(c,o,A),P(r,c,A),y(c,i,A),P(f,c,A),y(c,a,A),P(p,c,A),y(c,C,A),P(I,c,A),T=!0},p(c,A){let ee=t;t=B(c),t===ee?V[t].p(c,A):(me(),h(V[ee],1,1,()=>{V[ee]=null}),de(),e=V[t],e?e.p(c,A):(e=V[t]=M[t](c),e.c()),d(e,1),e.m(o.parentNode,o));const ae={};A[0]&1048576&&(ae.confirmDisabled=!c[20]),A[0]&28672|A[2]&2048&&(ae.$$scope={dirty:A,ctx:c}),!l&&A[0]&2048&&(l=!0,ae.error=c[11],ie(()=>l=!1)),!s&&A[0]&512&&(s=!0,ae.open=c[9],ie(()=>s=!1)),r.$set(ae);const we={};A[0]&32768&&(we.loading=c[15]),A[2]&2048&&(we.$$scope={dirty:A,ctx:c}),!u&&A[0]&2048&&(u=!0,we.error=c[11],ie(()=>u=!1)),!m&&A[0]&128&&(m=!0,we.open=c[7],ie(()=>m=!1)),f.$set(we);const ce={};A[0]&16|A[2]&2048&&(ce.$$scope={dirty:A,ctx:c}),!_&&A[0]&2048&&(_=!0,ce.error=c[11],ie(()=>_=!1)),!b&&A[0]&256&&(b=!0,ce.open=c[8],ie(()=>b=!1)),p.$set(ce);const pe={};A[0]&64&&(pe.confirmDisabled=!c[6]),A[0]&65632|A[2]&2048&&(pe.$$scope={dirty:A,ctx:c}),!L&&A[0]&2048&&(L=!0,pe.error=c[11],ie(()=>L=!1)),!R&&A[0]&1024&&(R=!0,pe.open=c[10],ie(()=>R=!1)),I.$set(pe)},i(c){T||(d(e),d(r.$$.fragment,c),d(f.$$.fragment,c),d(p.$$.fragment,c),d(I.$$.fragment,c),T=!0)},o(c){h(e),h(r.$$.fragment,c),h(f.$$.fragment,c),h(p.$$.fragment,c),h(I.$$.fragment,c),T=!1},d(c){V[t].d(c),c&&w(o),W(r,c),c&&w(i),W(f,c),c&&w(a),W(p,c),c&&w(C),W(I,c)}}}function $r(n,t,e){let o,r,l,s,i,f,u,m,a,p,_,b=ue,C=()=>(b(),b=to(ee,g=>e(20,_=g)),ee),I,L,R,T;K(n,It,g=>e(39,m=g)),K(n,ge,g=>e(57,a=g)),K(n,Tt,g=>e(58,p=g)),K(n,Et,g=>e(59,I=g)),K(n,Eo,g=>e(60,L=g)),K(n,Rt,g=>e(61,R=g)),K(n,qe,g=>e(40,T=g)),n.$$.on_destroy.push(()=>b());var M,V,B;let{workflow:v}=t,{namespace:q}=t,{cancelInProgress:N}=t,{isRunning:H}=t;const U=()=>R?'{"metadata": {"encoding": ""}, "data": ""}':"";let te="",Z=U(),E="",k=!1,re=!1,ne=!1,oe=!1,c="",A=ke.Signal,ee=vt();C();let ae,we=!1,ce,pe;const Dt=()=>{e(4,te="")},Ue=()=>{e(5,Z=U()),e(6,E=""),pe==null||pe.resetView(Z)},Le=()=>{e(12,A=ke.Signal),le(ee,_=void 0,_),e(14,ae=void 0)},St=async()=>{e(8,re=!1),le(ge,a=Date.now(),a),Ve.push({id:"workflow-termination-success-toast",message:$("workflows","terminate-success")})},Pt=g=>{var x;e(4,te=""),e(11,c=(x=g==null?void 0:g.message)!==null&&x!==void 0?x:$("unknown-error"))},Wt=()=>{e(11,c=""),v.canBeTerminated&&$o({workflow:v,namespace:q,reason:Je({action:Ye.Terminate,reason:te,email:p.email}),identity:p.email}).then(St).catch(Pt)},Vt=async()=>{var g;e(15,we=!0),e(11,c="");try{await ko({namespace:q,workflowId:v.id,runId:v.runId}),e(7,k=!1),e(15,we=!1),le(ge,a=Date.now(),a),Ve.push({id:"workflow-cancelation-success-toast",message:$("workflows","cancel-success")})}catch(x){e(11,c=(g=x==null?void 0:x.message)!==null&&g!==void 0?g:$("unknown-error"))}},Mt=g=>{e(5,Z=g.detail)},qt=async()=>{var g;e(11,c="");try{await bo({namespace:q,workflowId:v.id,runId:v.runId,signalInput:Z,signalName:E,settings:{...T.data.settings,codec:{endpoint:R,includeCredentials:L,passAccessToken:I}},accessToken:p.accessToken}),e(10,oe=!1),le(ge,a=Date.now(),a),Ve.push({message:$("workflows","signal-success"),id:"workflow-signal-success-toast"}),Ue()}catch(x){e(11,c=(g=x==null?void 0:x.message)!==null&&g!==void 0?g:$("unknown-error"))}},Ft=async()=>{var g;e(11,c="");try{const x=await vo({namespace:q,workflowId:v.id,runId:v.runId,eventId:_,reason:Je({action:Ye.Reset,reason:ae,email:p.email}),resetReapplyType:A});x&&x.runId&&Ct.update(eo=>({...eo,[v.runId]:x.runId})),e(9,ne=!1),le(ge,a=Date.now(),a)}catch(x){e(11,c=(g=x==null?void 0:x.message)!==null&&g!==void 0?g:$("unknown-error"))}Le()};let je,Oe=To();K(n,Oe,g=>e(38,u=g));const Nt=()=>e(7,k=!0),Bt=()=>e(9,ne=!0);function Ht(g){ee=g,C(e(13,ee))}function Ut(g){A=g,e(12,A)}function Lt(g){ae=g,e(14,ae)}function jt(g){c=g,e(11,c)}function Ot(g){ne=g,e(9,ne),e(3,i),e(2,ce),e(36,r),e(35,l),e(37,s),e(30,v),e(34,B),e(39,m),e(32,M),e(33,V),e(40,T)}function Qt(g){c=g,e(11,c)}function Jt(g){k=g,e(7,k)}function Yt(g){te=g,e(4,te)}function zt(g){c=g,e(11,c)}function Gt(g){re=g,e(8,re),e(3,i),e(2,ce),e(36,r),e(35,l),e(37,s),e(30,v),e(34,B),e(39,m),e(32,M),e(33,V),e(40,T)}function Kt(g){E=g,e(6,E)}function Xt(g){se[g?"unshift":"push"](()=>{pe=g,e(16,pe)})}function Zt(g){c=g,e(11,c)}function xt(g){oe=g,e(10,oe),e(3,i),e(2,ce),e(36,r),e(35,l),e(37,s),e(30,v),e(34,B),e(39,m),e(32,M),e(33,V),e(40,T)}return n.$$set=g=>{"workflow"in g&&e(30,v=g.workflow),"namespace"in g&&e(31,q=g.namespace),"cancelInProgress"in g&&e(0,N=g.cancelInProgress),"isRunning"in g&&e(1,H=g.isRunning)},n.$$.update=()=>{n.$$.dirty[1]&512&&e(19,o=so(T.data.settings)),n.$$.dirty[1]&512&&e(36,r=or(T.data.settings)),n.$$.dirty[1]&512&&e(35,l=ao(T.data.settings)),n.$$.dirty[1]&512&&e(37,s=tr(T.data.settings)),n.$$.dirty[0]&1073741824|n.$$.dirty[1]&326&&(s?s&&(e(32,M=v==null?void 0:v.pendingChildren)===null||M===void 0?void 0:M.length)>0?e(2,ce=$("workflows","reset-disabled-pending-children")):s&&(e(33,V=v==null?void 0:v.pendingChildren)===null||V===void 0?void 0:V.length)===0&&m.length===0&&e(2,ce=$("workflows","reset-disabled-no-events")):e(2,ce=$("workflows","reset-disabled"))),n.$$.dirty[0]&1073741824|n.$$.dirty[1]&328&&e(3,i=s&&(e(34,B=v==null?void 0:v.pendingChildren)===null||B===void 0?void 0:B.length)===0&&m.length>0),n.$$.dirty[0]&12|n.$$.dirty[1]&48&&e(17,je=[{label:$("workflows","reset"),onClick:()=>e(9,ne=!0),testId:"reset-button",allowed:i,tooltip:i?"":ce},{label:$("workflows","signal"),onClick:()=>e(10,oe=!0),testId:"signal-button",allowed:r,tooltip:r?"":$("workflows","signal-disabled")},{label:$("workflows","terminate"),onClick:()=>e(8,re=!0),testId:"terminate-button",allowed:l,destructive:!0,tooltip:l?"":$("workflows","terminate-disabled")}]),n.$$.dirty[1]&129&&e(18,f=u.namespaceWriteDisabled(q)||!ho(Ao))},[N,H,ce,i,te,Z,E,k,re,ne,oe,c,A,ee,ae,we,pe,je,f,o,_,Dt,Ue,Le,Wt,Vt,Mt,qt,Ft,Oe,v,q,M,V,B,l,r,s,u,m,T,Nt,Bt,Ht,Ut,Lt,jt,Ot,Qt,Jt,Yt,zt,Gt,Kt,Xt,Zt,xt]}class kr extends be{constructor(t){super(),ve(this,t,$r,hr,Ie,{workflow:30,namespace:31,cancelInProgress:0,isRunning:1},null,[-1,-1,-1])}}const br=(n,t)=>{var r;const e=n==="Running",o=(r=t==null?void 0:t.end)==null?void 0:r.some(l=>(l==null?void 0:l.eventType)==="WorkflowExecutionCancelRequested");return e&&o},ot=n=>{const t=n==null?void 0:n.indexOf("?");return t>-1?n.slice(0,t):n},_e=(n,t,e=!1)=>{const o=ot(n).split("/"),r=ot(t).split("/");if(e&&o.length!==r.length)return!1;for(let l=0;l{o=gt(t,bt,{duration:200,delay:100}),o.start()}),r=!0)},o(l){h(e.$$.fragment,l),r=!1},d(l){l&&w(t),W(e)}}}function Cr(n){let t=$("workflows","cancel-request-sent-description")+"",e;return{c(){e=z(t)},l(o){e=G(o,t)},m(o,r){y(o,e,r)},p:ue,d(o){o&&w(e)}}}function it(n){let t,e,o,r;return e=new At({props:{bold:!0,icon:"info",intent:"info","data-testid":"workflow-reset-alert",title:$("workflows","reset-success-alert-title"),$$slots:{default:[Dr]},$$scope:{ctx:n}}}),{c(){t=Q("div"),D(e.$$.fragment),this.h()},l(l){t=J(l,"DIV",{class:!0});var s=Y(t);S(e.$$.fragment,s),s.forEach(w),this.h()},h(){X(t,"class","mb-4")},m(l,s){y(l,t,s),P(e,t,null),r=!0},p(l,s){const i={};s&268435505&&(i.$$scope={dirty:s,ctx:l}),e.$set(i)},i(l){r||(d(e.$$.fragment,l),o||_t(()=>{o=gt(t,bt,{duration:200,delay:100}),o.start()}),r=!0)},o(l){h(e.$$.fragment,l),r=!1},d(l){l&&w(t),W(e)}}}function yr(n){let t;return{c(){t=z("here")},l(e){t=G(e,"here")},m(e,o){y(e,t,o)},d(e){e&&w(t)}}}function Dr(n){var l,s,i,f;let t,e,o,r;return e=new He({props:{href:he({namespace:n[0],workflow:(s=(l=n[4])==null?void 0:l.workflow)==null?void 0:s.id,run:n[5][(f=(i=n[4])==null?void 0:i.workflow)==null?void 0:f.runId]}),$$slots:{default:[yr]},$$scope:{ctx:n}}}),{c(){t=z("You can find the resulting Workflow Execution "),D(e.$$.fragment),o=z(".")},l(u){t=G(u,"You can find the resulting Workflow Execution "),S(e.$$.fragment,u),o=G(u,".")},m(u,m){y(u,t,m),P(e,u,m),y(u,o,m),r=!0},p(u,m){var p,_,b,C;const a={};m&49&&(a.href=he({namespace:u[0],workflow:(_=(p=u[4])==null?void 0:p.workflow)==null?void 0:_.id,run:u[5][(C=(b=u[4])==null?void 0:b.workflow)==null?void 0:C.runId]})),m&268435456&&(a.$$scope={dirty:m,ctx:u}),e.$set(a)},i(u){r||(d(e.$$.fragment,u),r=!0)},o(u){h(e.$$.fragment,u),r=!1},d(u){u&&w(t),W(e,u),u&&w(o)}}}function Sr(n){var o;let t=((o=n[2])==null?void 0:o.historyEvents)+"",e;return{c(){e=z(t)},l(r){e=G(r,t)},m(r,l){y(r,e,l)},p(r,l){var s;l&4&&t!==(t=((s=r[2])==null?void 0:s.historyEvents)+"")&&Te(e,t)},d(r){r&&w(e)}}}function Pr(n){let t,e;return t=new Be({props:{type:"blue",class:"px-2 py-0",$$slots:{default:[Sr]},$$scope:{ctx:n}}}),{c(){D(t.$$.fragment)},l(o){S(t.$$.fragment,o)},m(o,r){P(t,o,r),e=!0},p(o,r){const l={};r&268435460&&(l.$$scope={dirty:r,ctx:o}),t.$set(l)},i(o){e||(d(t.$$.fragment,o),e=!0)},o(o){h(t.$$.fragment,o),e=!1},d(o){W(t,o)}}}function Wr(n){var o,r;let t=((r=(o=n[15])==null?void 0:o.pollers)==null?void 0:r.length)+"",e;return{c(){e=z(t)},l(l){e=G(l,t)},m(l,s){y(l,e,s)},p(l,s){var i,f;s&32768&&t!==(t=((f=(i=l[15])==null?void 0:i.pollers)==null?void 0:f.length)+"")&&Te(e,t)},d(l){l&&w(e)}}}function Vr(n){let t,e;return t=new Be({props:{type:"blue",class:"px-2 py-0",$$slots:{default:[Wr]},$$scope:{ctx:n}}}),{c(){D(t.$$.fragment)},l(o){S(t.$$.fragment,o)},m(o,r){P(t,o,r),e=!0},p(o,r){const l={};r&268468224&&(l.$$scope={dirty:r,ctx:o}),t.$set(l)},i(o){e||(d(t.$$.fragment,o),e=!0)},o(o){h(t.$$.fragment,o),e=!1},d(o){W(t,o)}}}function ut(n){let t,e;return t=new _o({props:{name:"canceled",width:20,height:20}}),{c(){D(t.$$.fragment)},l(o){S(t.$$.fragment,o)},m(o,r){P(t,o,r),e=!0},i(o){e||(d(t.$$.fragment,o),e=!0)},o(o){h(t.$$.fragment,o),e=!1},d(o){W(t,o)}}}function Mr(n){var s,i;let t,e=((i=(s=n[2])==null?void 0:s.pendingActivities)==null?void 0:i.length)+"",o,r,l=n[12]&&ut();return{c(){l&&l.c(),t=j(),o=z(e)},l(f){l&&l.l(f),t=O(f),o=G(f,e)},m(f,u){l&&l.m(f,u),y(f,t,u),y(f,o,u),r=!0},p(f,u){var m,a;f[12]?l?u&4096&&d(l,1):(l=ut(),l.c(),d(l,1),l.m(t.parentNode,t)):l&&(me(),h(l,1,1,()=>{l=null}),de()),(!r||u&4)&&e!==(e=((a=(m=f[2])==null?void 0:m.pendingActivities)==null?void 0:a.length)+"")&&Te(o,e)},i(f){r||(d(l),r=!0)},o(f){h(l),r=!1},d(f){l&&l.d(f),f&&w(t),f&&w(o)}}}function qr(n){let t,e;return t=new Be({props:{type:n[12]?"warning":"blue",class:"px-2 py-0",$$slots:{default:[Mr]},$$scope:{ctx:n}}}),{c(){D(t.$$.fragment)},l(o){S(t.$$.fragment,o)},m(o,r){P(t,o,r),e=!0},p(o,r){const l={};r&4096&&(l.type=o[12]?"warning":"blue"),r&268439556&&(l.$$scope={dirty:r,ctx:o}),t.$set(l)},i(o){e||(d(t.$$.fragment,o),e=!0)},o(o){h(t.$$.fragment,o),e=!1},d(o){W(t,o)}}}function Fr(n){let t,e,o,r,l,s,i,f,u,m;return t=new Ee({props:{label:$("workflows","history-tab"),id:"history-tab",href:he({...n[13]}),active:_e(n[6].url.pathname,he({...n[13]})),$$slots:{default:[Pr]},$$scope:{ctx:n}}}),o=new Ee({props:{label:$("workflows","workers-tab"),id:"workers-tab",href:Ae(n[13]),active:_e(n[6].url.pathname,Ae(n[13])),$$slots:{default:[Vr]},$$scope:{ctx:n}}}),l=new Ee({props:{label:$("workflows","pending-activities-tab"),id:"pending-activities-tab",href:Ce(n[13]),active:_e(n[6].url.pathname,Ce(n[13])),$$slots:{default:[qr]},$$scope:{ctx:n}}}),i=new Ee({props:{label:$("workflows","stack-trace-tab"),id:"stack-trace-tab",href:ye(n[13]),active:_e(n[6].url.pathname,ye(n[13]))}}),u=new Ee({props:{label:$("workflows","queries-tab"),id:"queries-tab",href:De(n[13]),active:_e(n[6].url.pathname,De(n[13]))}}),{c(){D(t.$$.fragment),e=j(),D(o.$$.fragment),r=j(),D(l.$$.fragment),s=j(),D(i.$$.fragment),f=j(),D(u.$$.fragment)},l(a){S(t.$$.fragment,a),e=O(a),S(o.$$.fragment,a),r=O(a),S(l.$$.fragment,a),s=O(a),S(i.$$.fragment,a),f=O(a),S(u.$$.fragment,a)},m(a,p){P(t,a,p),y(a,e,p),P(o,a,p),y(a,r,p),P(l,a,p),y(a,s,p),P(i,a,p),y(a,f,p),P(u,a,p),m=!0},p(a,p){const _={};p&8192&&(_.href=he({...a[13]})),p&8256&&(_.active=_e(a[6].url.pathname,he({...a[13]}))),p&268435460&&(_.$$scope={dirty:p,ctx:a}),t.$set(_);const b={};p&8192&&(b.href=Ae(a[13])),p&8256&&(b.active=_e(a[6].url.pathname,Ae(a[13]))),p&268468224&&(b.$$scope={dirty:p,ctx:a}),o.$set(b);const C={};p&8192&&(C.href=Ce(a[13])),p&8256&&(C.active=_e(a[6].url.pathname,Ce(a[13]))),p&268439556&&(C.$$scope={dirty:p,ctx:a}),l.$set(C);const I={};p&8192&&(I.href=ye(a[13])),p&8256&&(I.active=_e(a[6].url.pathname,ye(a[13]))),i.$set(I);const L={};p&8192&&(L.href=De(a[13])),p&8256&&(L.active=_e(a[6].url.pathname,De(a[13]))),u.$set(L)},i(a){m||(d(t.$$.fragment,a),d(o.$$.fragment,a),d(l.$$.fragment,a),d(i.$$.fragment,a),d(u.$$.fragment,a),m=!0)},o(a){h(t.$$.fragment,a),h(o.$$.fragment,a),h(l.$$.fragment,a),h(i.$$.fragment,a),h(u.$$.fragment,a),m=!1},d(a){W(t,a),a&&w(e),W(o,a),a&&w(r),W(l,a),a&&w(s),W(i,a),a&&w(f),W(u,a)}}}function Nr(n){let t,e;return t=new Mo({props:{class:"flex flex-wrap gap-6",label:"workflow detail",$$slots:{default:[Fr]},$$scope:{ctx:n}}}),{c(){D(t.$$.fragment)},l(o){S(t.$$.fragment,o)},m(o,r){P(t,o,r),e=!0},p(o,r){const l={};r&268480580&&(l.$$scope={dirty:r,ctx:o}),t.$set(l)},i(o){e||(d(t.$$.fragment,o),e=!0)},o(o){h(t.$$.fragment,o),e=!1},d(o){W(t,o)}}}function Br(n){var te,Z;let t,e,o,r,l,s,i,f,u,m,a,p,_,b,C,I,L,R,T,M,V,B;o=new He({props:{href:`${Ke({namespace:n[0]})}?${n[16]}`,"data-testid":"back-to-workflows",icon:"chevron-left",$$slots:{default:[vr]},$$scope:{ctx:n}}});let v=n[14]&&rt(n);u=new Wo({props:{copyIconTitle:$("copy-icon-title"),copySuccessIconTitle:$("copy-success-icon-title"),content:(te=n[2])==null?void 0:te.id,clickAllToCopy:!0,"container-class":"w-full",class:"overflow-hidden text-ellipsis"}}),p=new yo({props:{status:(Z=n[2])==null?void 0:Z.status}});let q=n[9]&&nt(n),N=n[3]&&at(n);L=new kr({props:{isRunning:n[3],cancelInProgress:n[11],workflow:n[2],namespace:n[0]}});let H=n[11]&&ft(n),U=n[10]&&it(n);return V=new Vo({props:{$$slots:{default:[Nr]},$$scope:{ctx:n}}}),{c(){t=Q("header"),e=Q("div"),D(o.$$.fragment),r=j(),v&&v.c(),l=j(),s=Q("div"),i=Q("div"),f=Q("h1"),D(u.$$.fragment),m=j(),a=Q("div"),D(p.$$.fragment),_=j(),q&&q.c(),b=j(),C=Q("div"),N&&N.c(),I=j(),D(L.$$.fragment),R=j(),H&&H.c(),T=j(),U&&U.c(),M=j(),D(V.$$.fragment),this.h()},l(E){t=J(E,"HEADER",{class:!0});var k=Y(t);e=J(k,"DIV",{class:!0});var re=Y(e);S(o.$$.fragment,re),r=O(re),v&&v.l(re),re.forEach(w),l=O(k),s=J(k,"DIV",{class:!0});var ne=Y(s);i=J(ne,"DIV",{class:!0});var oe=Y(i);f=J(oe,"H1",{"data-testid":!0,class:!0});var c=Y(f);S(u.$$.fragment,c),c.forEach(w),m=O(oe),a=J(oe,"DIV",{class:!0});var A=Y(a);S(p.$$.fragment,A),_=O(A),q&&q.l(A),A.forEach(w),oe.forEach(w),b=O(ne),C=J(ne,"DIV",{class:!0});var ee=Y(C);N&&N.l(ee),I=O(ee),S(L.$$.fragment,ee),ee.forEach(w),ne.forEach(w),R=O(k),H&&H.l(k),T=O(k),U&&U.l(k),M=O(k),S(V.$$.fragment,k),k.forEach(w),this.h()},h(){X(e,"class","mb-4 block"),X(f,"data-testid","workflow-id-heading"),X(f,"class","overflow-hidden text-2xl font-medium"),X(a,"class","flex flex-wrap items-center gap-4"),X(i,"class","flex w-full flex-col justify-start gap-4 overflow-hidden whitespace-nowrap lg:w-auto"),X(C,"class","flex flex-col items-center justify-center gap-4 whitespace-nowrap sm:flex-row lg:justify-end"),X(s,"class","mb-8 flex w-full flex-col items-center justify-between gap-4 lg:flex-row"),X(t,"class","mb-4 flex flex-col gap-1")},m(E,k){y(E,t,k),F(t,e),P(o,e,null),F(e,r),v&&v.m(e,null),F(t,l),F(t,s),F(s,i),F(i,f),P(u,f,null),F(i,m),F(i,a),P(p,a,null),F(a,_),q&&q.m(a,null),F(s,b),F(s,C),N&&N.m(C,null),F(C,I),P(L,C,null),F(t,R),H&&H.m(t,null),F(t,T),U&&U.m(t,null),F(t,M),P(V,t,null),B=!0},p(E,[k]){var ee,ae;const re={};k&65537&&(re.href=`${Ke({namespace:E[0]})}?${E[16]}`),k&268451840&&(re.$$scope={dirty:k,ctx:E}),o.$set(re),E[14]?v?(v.p(E,k),k&16384&&d(v,1)):(v=rt(E),v.c(),d(v,1),v.m(e,null)):v&&(me(),h(v,1,1,()=>{v=null}),de());const ne={};k&4&&(ne.content=(ee=E[2])==null?void 0:ee.id),u.$set(ne);const oe={};k&4&&(oe.status=(ae=E[2])==null?void 0:ae.status),p.$set(oe),E[9]?q?(q.p(E,k),k&512&&d(q,1)):(q=nt(E),q.c(),d(q,1),q.m(a,null)):q&&(me(),h(q,1,1,()=>{q=null}),de()),E[3]?N?(N.p(E,k),k&8&&d(N,1)):(N=at(E),N.c(),d(N,1),N.m(C,I)):N&&(me(),h(N,1,1,()=>{N=null}),de());const c={};k&8&&(c.isRunning=E[3]),k&2048&&(c.cancelInProgress=E[11]),k&4&&(c.workflow=E[2]),k&1&&(c.namespace=E[0]),L.$set(c),E[11]?H?(H.p(E,k),k&2048&&d(H,1)):(H=ft(E),H.c(),d(H,1),H.m(t,T)):H&&(me(),h(H,1,1,()=>{H=null}),de()),E[10]?U?(U.p(E,k),k&1024&&d(U,1)):(U=it(E),U.c(),d(U,1),U.m(t,M)):U&&(me(),h(U,1,1,()=>{U=null}),de());const A={};k&268480580&&(A.$$scope={dirty:k,ctx:E}),V.$set(A)},i(E){B||(d(o.$$.fragment,E),d(v),d(u.$$.fragment,E),d(p.$$.fragment,E),d(q),d(N),d(L.$$.fragment,E),d(H),d(U),d(V.$$.fragment,E),B=!0)},o(E){h(o.$$.fragment,E),h(v),h(u.$$.fragment,E),h(p.$$.fragment,E),h(q),h(N),h(L.$$.fragment,E),h(H),h(U),h(V.$$.fragment,E),B=!1},d(E){E&&w(t),W(o),v&&v.d(),W(u),W(p),q&&q.d(),N&&N.d(),W(L),H&&H.d(),U&&U.d(),W(V)}}}const ct=15e3;function Hr(n,t,e){let o,r,l,s,i,f,u,m,a,p,_,b,C,I,L,R,T,M,V,B;K(n,We,k=>e(4,I=k)),K(n,Ct,k=>e(5,L=k)),K(n,Pe,k=>e(25,R=k)),K(n,ge,k=>e(26,T=k)),K(n,Se,k=>e(27,M=k)),K(n,qe,k=>e(6,V=k)),K(n,qo,k=>e(16,B=k));var v,q,N,H,U;let{namespace:te}=t,Z;dt(()=>{f&&M==="on"&&(clearInterval(Z),e(23,Z=setInterval(()=>le(ge,T=Date.now(),T),ct)))});const E=()=>{M==="on"?(le(Se,M="off",M),clearInterval(Z)):(le(ge,T=Date.now(),T),le(Se,M="on",M),clearInterval(Z),e(23,Z=setInterval(()=>le(ge,T=Date.now(),T),ct)))};return Me(()=>{clearInterval(Z)}),n.$$set=k=>{"namespace"in k&&e(0,te=k.namespace)},n.$$.update=()=>{n.$$.dirty&16&&e(2,{workflow:o,workers:r,compatibility:l}=I,o,(e(15,r),e(4,I)),(e(24,l),e(4,I))),n.$$.dirty&64&&e(14,s=V.params.id),n.$$.dirty&5&&e(13,i={namespace:te,workflow:o==null?void 0:o.id,run:o==null?void 0:o.runId}),n.$$.dirty&262160&&e(3,f=e(18,v=I==null?void 0:I.workflow)===null||v===void 0?void 0:v.isRunning),n.$$.dirty&524304&&e(12,u=["Terminated","TimedOut","Canceled"].includes(e(19,q=I.workflow)===null||q===void 0?void 0:q.status)),n.$$.dirty&8388616&&(f||clearInterval(Z)),n.$$.dirty&34603024&&e(11,m=br(e(20,N=I==null?void 0:I.workflow)===null||N===void 0?void 0:N.status,R)),n.$$.dirty&2097200&&e(10,a=Fo(L,e(21,H=I==null?void 0:I.workflow)===null||H===void 0?void 0:H.runId)),n.$$.dirty&4194308&&e(9,p=e(22,U=o==null?void 0:o.mostRecentWorkerVersionStamp)===null||U===void 0?void 0:U.useVersioning),n.$$.dirty&4&&e(1,_=No(o)),n.$$.dirty&16777216&&e(8,b=Bo(l)),n.$$.dirty&16777218&&e(7,C=Ho(l,_))},[te,_,o,f,I,L,V,C,b,p,a,m,u,i,s,r,B,E,v,q,N,H,U,Z,l,R]}class Ur extends be{constructor(t){super(),ve(this,t,Hr,Br,Ie,{namespace:0})}}async function Lr({activity:n,namespace:t,settings:e,accessToken:o},{convertWithCodec:r=jo,decodeAttributes:l=Oo,encoderEndpoint:s=Rt}={}){const i=Qo(e,s),f=Jo(e,Et),u={...e,codec:{...e==null?void 0:e.codec,endpoint:i,passAccessToken:f}},m=await r({attributes:n,namespace:t,settings:u,accessToken:o});return l(m)}const jr=async({activity:n,namespace:t,settings:e,accessToken:o})=>await Lr({activity:n,namespace:t,settings:e,accessToken:o}),Or=async(n,t,e,o)=>{const r=(n==null?void 0:n.pendingActivities)??[],l=[];for(const s of r){const i=await jr({activity:s,namespace:t,settings:e,accessToken:o});l.push(i)}return l};function Qr(n){let t,e,o;t=new Ur({props:{namespace:n[0].params.namespace}});const r=n[7].default,l=wt(r,n,n[6],null);return{c(){D(t.$$.fragment),e=j(),l&&l.c()},l(s){S(t.$$.fragment,s),e=O(s),l&&l.l(s)},m(s,i){P(t,s,i),y(s,e,i),l&&l.m(s,i),o=!0},p(s,i){const f={};i&1&&(f.namespace=s[0].params.namespace),t.$set(f),l&&l.p&&(!o||i&64)&&ht(l,r,s,s[6],o?kt(r,s[6],i,null):$t(s[6]),null)},i(s){o||(d(t.$$.fragment,s),d(l,s),o=!0)},o(s){h(t.$$.fragment,s),h(l,s),o=!1},d(s){W(t,s),s&&w(e),l&&l.d(s)}}}function Jr(n){let t,e;return t=new oo({}),{c(){D(t.$$.fragment)},l(o){S(t.$$.fragment,o)},m(o,r){P(t,o,r),e=!0},p:ue,i(o){e||(d(t.$$.fragment,o),e=!0)},o(o){h(t.$$.fragment,o),e=!1},d(o){W(t,o)}}}function Yr(n){let t,e,o,r;const l=[Jr,Qr],s=[];function i(f,u){return f[1].workflow?1:0}return e=i(n),o=s[e]=l[e](n),{c(){t=Q("div"),o.c(),this.h()},l(f){t=J(f,"DIV",{class:!0});var u=Y(t);o.l(u),u.forEach(w),this.h()},h(){X(t,"class","flex h-full flex-col gap-6")},m(f,u){y(f,t,u),s[e].m(t,null),r=!0},p(f,[u]){let m=e;e=i(f),e===m?s[e].p(f,u):(me(),h(s[m],1,1,()=>{s[m]=null}),de(),o=s[e],o?o.p(f,u):(o=s[e]=l[e](f),o.c()),d(o,1),o.m(t,null))},i(f){r||(d(o),r=!0)},o(f){h(o),r=!1},d(f){f&&w(t),s[e].d()}}}function zr(n,t,e){let o,r,l,s,i,f,u,m,a,p;K(n,Pe,R=>e(8,s=R)),K(n,We,R=>e(1,i=R)),K(n,ze,R=>e(9,f=R)),K(n,Qe,R=>e(10,u=R)),K(n,qe,R=>e(0,m=R)),K(n,ge,R=>e(5,a=R)),K(n,Tt,R=>e(11,p=R));let{$$slots:_={},$$scope:b}=t;const C=async(R,T)=>{var M;if(!((M=R==null?void 0:R.mostRecentWorkerVersionStamp)===null||M===void 0)&&M.useVersioning)return await So({queue:T,namespace:o})},I=async({namespace:R,workers:T,taskQueue:M})=>{if(!Uo(T.pollers))return;const B=Lo(T.pollers);return await Po({namespace:R,buildIds:B,taskQueue:M})},L=async(R,T,M)=>{const{settings:V}=m.data,B=await Io({namespace:R,workflowId:T,runId:M}),{taskQueue:v}=B,q=await Do({queue:v,namespace:R}),N=await C(B,v),H=await I({namespace:R,workers:q,taskQueue:v});B.pendingActivities=await Or(B,R,V,p==null?void 0:p.accessToken),le(We,i={workflow:B,workers:q,compatibility:N,reachability:H},i);const U=await co({namespace:R,workflowId:T,runId:M});le(Pe,s=U,s)};return dt(()=>{const R=m.url.searchParams.get("sort");R&&le(Qe,u=R,u)}),Me(()=>{le(ze,f=null,f),le(We,i=Co,i),le(Pe,s=uo,s)}),n.$$set=R=>{"$$scope"in R&&e(6,b=R.$$scope)},n.$$.update=()=>{n.$$.dirty&1&&e(4,{namespace:o,workflow:r,run:l}=m.params,o,(e(3,r),e(0,m)),(e(2,l),e(0,m))),n.$$.dirty&60&&L(o,r,l)},[m,i,l,r,o,a,b,_]}class Gr extends be{constructor(t){super(),ve(this,t,zr,Yr,Ie,{})}}const yt={namespace:null,workflowId:null,runId:null,rawPayloads:null,sort:null},Kr=vt(yt),Xr=()=>{Kr.set(yt)};function Zr(n){let t;const e=n[0].default,o=wt(e,n,n[1],null);return{c(){o&&o.c()},l(r){o&&o.l(r)},m(r,l){o&&o.m(r,l),t=!0},p(r,l){o&&o.p&&(!t||l&2)&&ht(o,e,r,r[1],t?kt(e,r[1],l,null):$t(r[1]),null)},i(r){t||(d(o,r),t=!0)},o(r){h(o,r),t=!1},d(r){o&&o.d(r)}}}function xr(n){let t,e;return t=new Gr({props:{$$slots:{default:[Zr]},$$scope:{ctx:n}}}),{c(){D(t.$$.fragment)},l(o){S(t.$$.fragment,o)},m(o,r){P(t,o,r),e=!0},p(o,[r]){const l={};r&2&&(l.$$scope={dirty:r,ctx:o}),t.$set(l)},i(o){e||(d(t.$$.fragment,o),e=!0)},o(o){h(t.$$.fragment,o),e=!1},d(o){W(t,o)}}}function en(n,t,e){let{$$slots:o={},$$scope:r}=t;return Me(()=>{Xr()}),n.$$set=l=>{"$$scope"in l&&e(1,r=l.$$scope)},[o,r]}class jn extends be{constructor(t){super(),ve(this,t,en,xr,Ie,{})}}export{jn as default}; +import{S as be,b as ve,a as Ie,C as D,D as S,E as P,j as d,g as h,F as W,K,i as pt,A as se,a0 as fe,m as Q,c as j,p as J,q as Y,d as O,k as w,u as X,f as y,L as F,a1 as ie,e as $e,z as me,h as de,a7 as mt,w as z,x as G,n as ue,s as to,a5 as le,y as Te,o as dt,a6 as Me,a3 as _t,a4 as gt,G as wt,H as ht,I as $t,J as kt}from"../chunks/index.09834243.js";import{p as qe}from"../chunks/stores.cd833532.js";import{L as oo}from"../chunks/loading.3bde98aa.js";import{d as ro,f as bt}from"../chunks/menu.4ba49cb6.js";import{T as no}from"../chunks/toggle-switch.3808d19f.js";import{T as Fe}from"../chunks/tooltip.9802d6e3.js";import{t as $}from"../chunks/translate.0a219ae4.js";import{a as Se,e as Qe}from"../chunks/event-view.f3ec8bd2.js";import{w as vt}from"../chunks/singletons.741208bb.js";import{C as lo,w as so,a as ao,f as Je}from"../chunks/workflow-terminate-enabled.e1ebd541.js";import{I as Ne}from"../chunks/input.d5248942.js";import{R as fo,a as io}from"../chunks/radio-input.af69c0d3.js";import{R as ke,A as Ye}from"../chunks/workflow-actions.6f88149c.js";import{r as It,e as Pe,t as ze,i as uo,f as co}from"../chunks/events-service.4ec8b4a3.js";import{B as po}from"../chunks/button.ce5dce2f.js";import{C as mo}from"../chunks/code-block.797d93a9.js";import{B as Be}from"../chunks/badge.f53d8aa8.js";import{I as _o}from"../chunks/icon.3cd9fa27.js";import{M as go}from"../chunks/menu-divider.6c0ebb73.js";import{M as Re}from"../chunks/modal.25f32d75.js";import{S as wo}from"../chunks/split-button.a43ca811.js";import{w as ho,t as $o,c as ko,s as bo,r as vo,f as Io}from"../chunks/workflow-service.14ef2cb6.js";import{a as Tt}from"../chunks/auth-user.051e0dee.js";import{c as To}from"../chunks/core-user.c59191b9.js";import{p as Et,i as Eo,c as Rt}from"../chunks/data-encoder-config.79b97010.js";import{p as Ro}from"../chunks/persist-store.47877c2b.js";import{s as Ao}from"../chunks/versions.a86975a1.js";import{t as Ve}from"../chunks/toaster.a0b7d8ad.js";import{r as ge,w as We,i as Co}from"../chunks/workflow-run.1abbba7b.js";import{W as yo}from"../chunks/workflow-status.cf27e560.js";import{A as At}from"../chunks/alert.67786ddb.js";import{C as Ge,g as Do,a as So,b as Po}from"../chunks/pollers-service.310d4298.js";import{C as Wo}from"../chunks/index.a9a075c8.js";import{L as He}from"../chunks/link.7cb1390a.js";import{T as Vo,a as Mo,b as Ee}from"../chunks/tab.25c1b914.js";import{w as qo}from"../chunks/workflows.915912aa.js";import{h as Fo}from"../chunks/has.b142a10d.js";import{r as Ke,g as he,h as Ae,i as Ce,j as ye,k as De}from"../chunks/route-for.d76d8056.js";import{g as No,a as Bo,b as Ho,p as Uo,c as Lo}from"../chunks/task-queue-compatibility.cf5696f8.js";import{c as jo,d as Oo}from"../chunks/decode-payload.e6040d83.js";import{g as Qo,a as Jo}from"../chunks/get-codec.fde3aa26.js";function Yo(n){let t,e;return t=new no({props:{label:$("auto-refresh"),labelPosition:"left",id:"autorefresh",checked:n[1]}}),t.$on("change",function(){pt(n[0])&&n[0].apply(this,arguments)}),{c(){D(t.$$.fragment)},l(o){S(t.$$.fragment,o)},m(o,r){P(t,o,r),e=!0},p(o,r){n=o;const l={};r&2&&(l.checked=n[1]),t.$set(l)},i(o){e||(d(t.$$.fragment,o),e=!0)},o(o){h(t.$$.fragment,o),e=!1},d(o){W(t,o)}}}function zo(n){let t,e;return t=new Fe({props:{bottomLeft:!0,text:$("auto-refresh-tooltip",{interval:"15"}),$$slots:{default:[Yo]},$$scope:{ctx:n}}}),{c(){D(t.$$.fragment)},l(o){S(t.$$.fragment,o)},m(o,r){P(t,o,r),e=!0},p(o,[r]){const l={};r&11&&(l.$$scope={dirty:r,ctx:o}),t.$set(l)},i(o){e||(d(t.$$.fragment,o),e=!0)},o(o){h(t.$$.fragment,o),e=!1},d(o){W(t,o)}}}function Go(n,t,e){let o,r;K(n,Se,s=>e(2,r=s));let{onChange:l}=t;return n.$$set=s=>{"onChange"in s&&e(0,l=s.onChange)},n.$$.update=()=>{n.$$.dirty&4&&e(1,o=r==="on")},[l,o,r]}class Ko extends be{constructor(t){super(),ve(this,t,Go,zo,Ie,{onChange:0})}}function Xe(n,t,e){const o=n.slice();return o[6]=t[e],o}function Ze(n){let t,e;return t=new io({props:{id:"reset-event-"+n[6].id,value:n[6].id,label:n[6].id+" - "+n[6].eventType}}),{c(){D(t.$$.fragment)},l(o){S(t.$$.fragment,o)},m(o,r){P(t,o,r),e=!0},p(o,r){const l={};r&8&&(l.id="reset-event-"+o[6].id),r&8&&(l.value=o[6].id),r&8&&(l.label=o[6].id+" - "+o[6].eventType),t.$set(l)},i(o){e||(d(t.$$.fragment,o),e=!0)},o(o){h(t.$$.fragment,o),e=!1},d(o){W(t,o)}}}function Xo(n){let t,e,o=n[3],r=[];for(let s=0;sh(r[s],1,1,()=>{r[s]=null});return{c(){for(let s=0;sfe(s,"value",u)),{c(){t=Q("div"),D(e.$$.fragment),o=j(),D(r.$$.fragment),l=j(),D(s.$$.fragment),this.h()},l(a){t=J(a,"DIV",{class:!0});var p=Y(t);S(e.$$.fragment,p),o=O(p),S(r.$$.fragment,p),l=O(p),S(s.$$.fragment,p),p.forEach(w),this.h()},h(){X(t,"class","flex w-full flex-col gap-4")},m(a,p){y(a,t,p),P(e,t,null),F(t,o),P(r,t,null),F(t,l),P(s,t,null),f=!0},p(a,[p]){const _={};p&4&&(_.group=a[2]),p&520&&(_.$$scope={dirty:p,ctx:a}),e.$set(_);const b={};p&1&&(b.checked=a[0]===ke.Signal),r.$set(b);const C={};!i&&p&2&&(i=!0,C.value=a[1],ie(()=>i=!1)),s.$set(C)},i(a){f||(d(e.$$.fragment,a),d(r.$$.fragment,a),d(s.$$.fragment,a),f=!0)},o(a){h(e.$$.fragment,a),h(r.$$.fragment,a),h(s.$$.fragment,a),f=!1},d(a){a&&w(t),W(e),W(r),W(s)}}}function xo(n,t,e){let o;K(n,It,u=>e(3,o=u));let{resetReapplyType:r=ke.Signal}=t,{reason:l=""}=t,{eventId:s}=t;const i=u=>{e(0,r=u.detail.checked?ke.Signal:ke.None)};function f(u){l=u,e(1,l)}return n.$$set=u=>{"resetReapplyType"in u&&e(0,r=u.resetReapplyType),"reason"in u&&e(1,l=u.reason),"eventId"in u&&e(2,s=u.eventId)},[r,l,s,o,i,f]}class er extends be{constructor(t){super(),ve(this,t,xo,Zo,Ie,{resetReapplyType:0,reason:1,eventId:2})}}const Ct=Ro("resetWorkflows",{}),tr=n=>!n.disableWriteActions&&!n.workflowResetDisabled,or=n=>!n.disableWriteActions&&!n.workflowSignalDisabled;function xe(n,t,e){const o=n.slice();return o[65]=t[e].onClick,o[66]=t[e].destructive,o[67]=t[e].label,o[68]=t[e].allowed,o[69]=t[e].testId,o[70]=t[e].tooltip,o}function rr(n){let t,e;return t=new Fe({props:{bottomRight:!0,width:200,text:n[2],hide:n[3],$$slots:{default:[sr]},$$scope:{ctx:n}}}),{c(){D(t.$$.fragment)},l(o){S(t.$$.fragment,o)},m(o,r){P(t,o,r),e=!0},p(o,r){const l={};r[0]&4&&(l.text=o[2]),r[0]&8&&(l.hide=o[3]),r[0]&520|r[2]&2048&&(l.$$scope={dirty:r,ctx:o}),t.$set(l)},i(o){e||(d(t.$$.fragment,o),e=!0)},o(o){h(t.$$.fragment,o),e=!1},d(o){W(t,o)}}}function nr(n){let t,e;return t=new wo({props:{id:"workflow-actions",position:"right",disabled:n[18],primaryActionDisabled:!n[19]||n[0],label:$("workflows","request-cancellation"),menuLabel:$("workflows","workflow-actions"),$$slots:{default:[ir]},$$scope:{ctx:n}}}),t.$on("click",n[41]),{c(){D(t.$$.fragment)},l(o){S(t.$$.fragment,o)},m(o,r){P(t,o,r),e=!0},p(o,r){const l={};r[0]&262144&&(l.disabled=o[18]),r[0]&524289&&(l.primaryActionDisabled=!o[19]||o[0]),r[0]&131072|r[2]&2048&&(l.$$scope={dirty:r,ctx:o}),t.$set(l)},i(o){e||(d(t.$$.fragment,o),e=!0)},o(o){h(t.$$.fragment,o),e=!1},d(o){W(t,o)}}}function lr(n){let t=$("workflows","reset")+"",e;return{c(){e=z(t)},l(o){e=G(o,t)},m(o,r){y(o,e,r)},p:ue,d(o){o&&w(e)}}}function sr(n){let t,e;return t=new po({props:{"aria-label":$("workflows","reset"),disabled:!n[3],variant:"primary",$$slots:{default:[lr]},$$scope:{ctx:n}}}),t.$on("click",n[42]),{c(){D(t.$$.fragment)},l(o){S(t.$$.fragment,o)},m(o,r){P(t,o,r),e=!0},p(o,r){const l={};r[0]&8&&(l.disabled=!o[3]),r[2]&2048&&(l.$$scope={dirty:r,ctx:o}),t.$set(l)},i(o){e||(d(t.$$.fragment,o),e=!0)},o(o){h(t.$$.fragment,o),e=!1},d(o){W(t,o)}}}function et(n){let t,e;return t=new go({}),{c(){D(t.$$.fragment)},l(o){S(t.$$.fragment,o)},m(o,r){P(t,o,r),e=!0},i(o){e||(d(t.$$.fragment,o),e=!0)},o(o){h(t.$$.fragment,o),e=!1},d(o){W(t,o)}}}function ar(n){let t=n[67]+"",e;return{c(){e=z(t)},l(o){e=G(o,t)},m(o,r){y(o,e,r)},p(o,r){r[0]&131072&&t!==(t=o[67]+"")&&Te(e,t)},d(o){o&&w(e)}}}function fr(n){let t,e,o;return t=new ro({props:{destructive:n[66],disabled:!n[68],"data-testid":n[69],$$slots:{default:[ar]},$$scope:{ctx:n}}}),t.$on("click",function(){pt(n[65])&&n[65].apply(this,arguments)}),{c(){D(t.$$.fragment),e=j()},l(r){S(t.$$.fragment,r),e=O(r)},m(r,l){P(t,r,l),y(r,e,l),o=!0},p(r,l){n=r;const s={};l[0]&131072&&(s.destructive=n[66]),l[0]&131072&&(s.disabled=!n[68]),l[0]&131072&&(s["data-testid"]=n[69]),l[0]&131072|l[2]&2048&&(s.$$scope={dirty:l,ctx:n}),t.$set(s)},i(r){o||(d(t.$$.fragment,r),o=!0)},o(r){h(t.$$.fragment,r),o=!1},d(r){W(t,r),r&&w(e)}}}function tt(n){let t,e,o,r=n[66]&&et();return e=new Fe({props:{text:n[70],hide:!n[70],width:200,left:!0,$$slots:{default:[fr]},$$scope:{ctx:n}}}),{c(){r&&r.c(),t=j(),D(e.$$.fragment)},l(l){r&&r.l(l),t=O(l),S(e.$$.fragment,l)},m(l,s){r&&r.m(l,s),y(l,t,s),P(e,l,s),o=!0},p(l,s){l[66]?r?s[0]&131072&&d(r,1):(r=et(),r.c(),d(r,1),r.m(t.parentNode,t)):r&&(me(),h(r,1,1,()=>{r=null}),de());const i={};s[0]&131072&&(i.text=l[70]),s[0]&131072&&(i.hide=!l[70]),s[0]&131072|s[2]&2048&&(i.$$scope={dirty:s,ctx:l}),e.$set(i)},i(l){o||(d(r),d(e.$$.fragment,l),o=!0)},o(l){h(r),h(e.$$.fragment,l),o=!1},d(l){r&&r.d(l),l&&w(t),W(e,l)}}}function ir(n){let t,e,o=n[17],r=[];for(let s=0;sh(r[s],1,1,()=>{r[s]=null});return{c(){for(let s=0;sfe(t,"eventId",s)),se.push(()=>fe(t,"resetReapplyType",i)),se.push(()=>fe(t,"reason",f)),{c(){D(t.$$.fragment)},l(m){S(t.$$.fragment,m)},m(m,a){P(t,m,a),l=!0},p(m,a){const p={};!e&&a[0]&8192&&(e=!0,p.eventId=m[13],ie(()=>e=!1)),!o&&a[0]&4096&&(o=!0,p.resetReapplyType=m[12],ie(()=>o=!1)),!r&&a[0]&16384&&(r=!0,p.reason=m[14],ie(()=>r=!1)),t.$set(p)},i(m){l||(d(t.$$.fragment,m),l=!0)},o(m){h(t.$$.fragment,m),l=!1},d(m){W(t,m)}}}function pr(n){let t,e=$("workflows","cancel-modal-title")+"",o;return{c(){t=Q("h3"),o=z(e),this.h()},l(r){t=J(r,"H3",{slot:!0});var l=Y(t);o=G(l,e),l.forEach(w),this.h()},h(){X(t,"slot","title")},m(r,l){y(r,t,l),F(t,o)},p:ue,d(r){r&&w(t)}}}function mr(n){let t,e=$("workflows","cancel-modal-confirmation")+"",o;return{c(){t=Q("p"),o=z(e)},l(r){t=J(r,"P",{});var l=Y(t);o=G(l,e),l.forEach(w)},m(r,l){y(r,t,l),F(t,o)},p:ue,d(r){r&&w(t)}}}function dr(n){let t,e=$("workflows","terminate-modal-title")+"",o;return{c(){t=Q("h3"),o=z(e),this.h()},l(r){t=J(r,"H3",{slot:!0});var l=Y(t);o=G(l,e),l.forEach(w),this.h()},h(){X(t,"slot","title")},m(r,l){y(r,t,l),F(t,o)},p:ue,d(r){r&&w(t)}}}function _r(n){let t,e,o=$("workflows","terminate-modal-confirmation")+"",r,l,s,i,f;function u(a){n[50](a)}let m={id:"workflow-termination-reason",class:"mt-4",placeholder:$("reason-placeholder"),label:$("reason-placeholder"),labelHidden:!0};return n[4]!==void 0&&(m.value=n[4]),s=new Ne({props:m}),se.push(()=>fe(s,"value",u)),{c(){t=Q("div"),e=Q("p"),r=z(o),l=j(),D(s.$$.fragment),this.h()},l(a){t=J(a,"DIV",{slot:!0});var p=Y(t);e=J(p,"P",{});var _=Y(e);r=G(_,o),_.forEach(w),l=O(p),S(s.$$.fragment,p),p.forEach(w),this.h()},h(){X(t,"slot","content")},m(a,p){y(a,t,p),F(t,e),F(e,r),F(t,l),P(s,t,null),f=!0},p(a,p){const _={};!i&&p[0]&16&&(i=!0,_.value=a[4],ie(()=>i=!1)),s.$set(_)},i(a){f||(d(s.$$.fragment,a),f=!0)},o(a){h(s.$$.fragment,a),f=!1},d(a){a&&w(t),W(s)}}}function gr(n){let t,e=$("workflows","signal-modal-title")+"",o;return{c(){t=Q("h3"),o=z(e),this.h()},l(r){t=J(r,"H3",{slot:!0});var l=Y(t);o=G(l,e),l.forEach(w),this.h()},h(){X(t,"slot","title")},m(r,l){y(r,t,l),F(t,o)},p:ue,d(r){r&&w(t)}}}function wr(n){let t,e,o,r,l,s,i=$("workflows","signal-payload-input-label")+"",f,u,m,a=$("workflows","signal-payload-input-label-hint")+"",p,_,b,C;function I(T){n[53](T)}let L={id:"signal-name",label:$("workflows","signal-name-label"),required:!0};n[6]!==void 0&&(L.value=n[6]),e=new Ne({props:L}),se.push(()=>fe(e,"value",I));let R={class:"max-h-80 overflow-y-scroll overscroll-contain",content:n[5],editable:!0,copyable:!1};return b=new mo({props:R}),n[54](b),b.$on("change",n[26]),{c(){t=Q("div"),D(e.$$.fragment),r=j(),l=Q("div"),s=Q("span"),f=z(i),u=j(),m=Q("span"),p=z(a),_=j(),D(b.$$.fragment),this.h()},l(T){t=J(T,"DIV",{slot:!0,class:!0});var M=Y(t);S(e.$$.fragment,M),r=O(M),l=J(M,"DIV",{});var V=Y(l);s=J(V,"SPAN",{class:!0});var B=Y(s);f=G(B,i),B.forEach(w),u=O(V),m=J(V,"SPAN",{class:!0});var v=Y(m);p=G(v,a),v.forEach(w),_=O(V),S(b.$$.fragment,V),V.forEach(w),M.forEach(w),this.h()},h(){X(s,"class","font-secondary text-sm font-medium"),X(m,"class","font-secondary text-xs font-light italic"),X(t,"slot","content"),X(t,"class","flex flex-col gap-4")},m(T,M){y(T,t,M),P(e,t,null),F(t,r),F(t,l),F(l,s),F(s,f),F(l,u),F(l,m),F(m,p),F(l,_),P(b,l,null),C=!0},p(T,M){const V={};!o&&M[0]&64&&(o=!0,V.value=T[6],ie(()=>o=!1)),e.$set(V);const B={};M[0]&32&&(B.content=T[5]),b.$set(B)},i(T){C||(d(e.$$.fragment,T),d(b.$$.fragment,T),C=!0)},o(T){h(e.$$.fragment,T),h(b.$$.fragment,T),C=!1},d(T){T&&w(t),W(e),n[54](null),W(b)}}}function hr(n){let t,e,o,r,l,s,i,f,u,m,a,p,_,b,C,I,L,R,T;const M=[nr,rr],V=[];function B(c,A){return c[1]?0:1}t=B(n),e=V[t]=M[t](n);function v(c){n[46](c)}function q(c){n[47](c)}let N={id:"reset-confirmation-modal","data-testid":"reset-confirmation-modal",confirmText:$("confirm"),cancelText:$("cancel"),confirmDisabled:!n[20],$$slots:{content:[cr],title:[ur]},$$scope:{ctx:n}};n[11]!==void 0&&(N.error=n[11]),n[9]!==void 0&&(N.open=n[9]),r=new Re({props:N}),se.push(()=>fe(r,"error",v)),se.push(()=>fe(r,"open",q)),r.$on("confirmModal",n[28]),r.$on("cancelModal",n[23]);function H(c){n[48](c)}function U(c){n[49](c)}let te={id:"cancel-confirmation-modal","data-testid":"cancel-confirmation-modal",confirmText:$("confirm"),cancelText:$("cancel"),loading:n[15],confirmType:"destructive",$$slots:{content:[mr],title:[pr]},$$scope:{ctx:n}};n[11]!==void 0&&(te.error=n[11]),n[7]!==void 0&&(te.open=n[7]),f=new Re({props:te}),se.push(()=>fe(f,"error",H)),se.push(()=>fe(f,"open",U)),f.$on("confirmModal",n[25]);function Z(c){n[51](c)}function E(c){n[52](c)}let k={id:"terminate-confirmation-modal","data-testid":"terminate-confirmation-modal",confirmText:$("workflows","terminate"),cancelText:$("cancel"),confirmType:"destructive",$$slots:{content:[_r],title:[dr]},$$scope:{ctx:n}};n[11]!==void 0&&(k.error=n[11]),n[8]!==void 0&&(k.open=n[8]),p=new Re({props:k}),se.push(()=>fe(p,"error",Z)),se.push(()=>fe(p,"open",E)),p.$on("cancelModal",n[21]),p.$on("confirmModal",n[24]);function re(c){n[55](c)}function ne(c){n[56](c)}let oe={id:"signal-confirmation-modal","data-testid":"signal-confirmation-modal",confirmText:$("submit"),cancelText:$("cancel"),confirmDisabled:!n[6],$$slots:{content:[wr],title:[gr]},$$scope:{ctx:n}};return n[11]!==void 0&&(oe.error=n[11]),n[10]!==void 0&&(oe.open=n[10]),I=new Re({props:oe}),se.push(()=>fe(I,"error",re)),se.push(()=>fe(I,"open",ne)),I.$on("cancelModal",n[22]),I.$on("confirmModal",n[27]),{c(){e.c(),o=j(),D(r.$$.fragment),i=j(),D(f.$$.fragment),a=j(),D(p.$$.fragment),C=j(),D(I.$$.fragment)},l(c){e.l(c),o=O(c),S(r.$$.fragment,c),i=O(c),S(f.$$.fragment,c),a=O(c),S(p.$$.fragment,c),C=O(c),S(I.$$.fragment,c)},m(c,A){V[t].m(c,A),y(c,o,A),P(r,c,A),y(c,i,A),P(f,c,A),y(c,a,A),P(p,c,A),y(c,C,A),P(I,c,A),T=!0},p(c,A){let ee=t;t=B(c),t===ee?V[t].p(c,A):(me(),h(V[ee],1,1,()=>{V[ee]=null}),de(),e=V[t],e?e.p(c,A):(e=V[t]=M[t](c),e.c()),d(e,1),e.m(o.parentNode,o));const ae={};A[0]&1048576&&(ae.confirmDisabled=!c[20]),A[0]&28672|A[2]&2048&&(ae.$$scope={dirty:A,ctx:c}),!l&&A[0]&2048&&(l=!0,ae.error=c[11],ie(()=>l=!1)),!s&&A[0]&512&&(s=!0,ae.open=c[9],ie(()=>s=!1)),r.$set(ae);const we={};A[0]&32768&&(we.loading=c[15]),A[2]&2048&&(we.$$scope={dirty:A,ctx:c}),!u&&A[0]&2048&&(u=!0,we.error=c[11],ie(()=>u=!1)),!m&&A[0]&128&&(m=!0,we.open=c[7],ie(()=>m=!1)),f.$set(we);const ce={};A[0]&16|A[2]&2048&&(ce.$$scope={dirty:A,ctx:c}),!_&&A[0]&2048&&(_=!0,ce.error=c[11],ie(()=>_=!1)),!b&&A[0]&256&&(b=!0,ce.open=c[8],ie(()=>b=!1)),p.$set(ce);const pe={};A[0]&64&&(pe.confirmDisabled=!c[6]),A[0]&65632|A[2]&2048&&(pe.$$scope={dirty:A,ctx:c}),!L&&A[0]&2048&&(L=!0,pe.error=c[11],ie(()=>L=!1)),!R&&A[0]&1024&&(R=!0,pe.open=c[10],ie(()=>R=!1)),I.$set(pe)},i(c){T||(d(e),d(r.$$.fragment,c),d(f.$$.fragment,c),d(p.$$.fragment,c),d(I.$$.fragment,c),T=!0)},o(c){h(e),h(r.$$.fragment,c),h(f.$$.fragment,c),h(p.$$.fragment,c),h(I.$$.fragment,c),T=!1},d(c){V[t].d(c),c&&w(o),W(r,c),c&&w(i),W(f,c),c&&w(a),W(p,c),c&&w(C),W(I,c)}}}function $r(n,t,e){let o,r,l,s,i,f,u,m,a,p,_,b=ue,C=()=>(b(),b=to(ee,g=>e(20,_=g)),ee),I,L,R,T;K(n,It,g=>e(39,m=g)),K(n,ge,g=>e(57,a=g)),K(n,Tt,g=>e(58,p=g)),K(n,Et,g=>e(59,I=g)),K(n,Eo,g=>e(60,L=g)),K(n,Rt,g=>e(61,R=g)),K(n,qe,g=>e(40,T=g)),n.$$.on_destroy.push(()=>b());var M,V,B;let{workflow:v}=t,{namespace:q}=t,{cancelInProgress:N}=t,{isRunning:H}=t;const U=()=>R?'{"metadata": {"encoding": ""}, "data": ""}':"";let te="",Z=U(),E="",k=!1,re=!1,ne=!1,oe=!1,c="",A=ke.Signal,ee=vt();C();let ae,we=!1,ce,pe;const Dt=()=>{e(4,te="")},Ue=()=>{e(5,Z=U()),e(6,E=""),pe==null||pe.resetView(Z)},Le=()=>{e(12,A=ke.Signal),le(ee,_=void 0,_),e(14,ae=void 0)},St=async()=>{e(8,re=!1),le(ge,a=Date.now(),a),Ve.push({id:"workflow-termination-success-toast",message:$("workflows","terminate-success")})},Pt=g=>{var x;e(4,te=""),e(11,c=(x=g==null?void 0:g.message)!==null&&x!==void 0?x:$("unknown-error"))},Wt=()=>{e(11,c=""),v.canBeTerminated&&$o({workflow:v,namespace:q,reason:Je({action:Ye.Terminate,reason:te,email:p.email}),identity:p.email}).then(St).catch(Pt)},Vt=async()=>{var g;e(15,we=!0),e(11,c="");try{await ko({namespace:q,workflowId:v.id,runId:v.runId}),e(7,k=!1),e(15,we=!1),le(ge,a=Date.now(),a),Ve.push({id:"workflow-cancelation-success-toast",message:$("workflows","cancel-success")})}catch(x){e(11,c=(g=x==null?void 0:x.message)!==null&&g!==void 0?g:$("unknown-error"))}},Mt=g=>{e(5,Z=g.detail)},qt=async()=>{var g;e(11,c="");try{await bo({namespace:q,workflowId:v.id,runId:v.runId,signalInput:Z,signalName:E,settings:{...T.data.settings,codec:{endpoint:R,includeCredentials:L,passAccessToken:I}},accessToken:p.accessToken}),e(10,oe=!1),le(ge,a=Date.now(),a),Ve.push({message:$("workflows","signal-success"),id:"workflow-signal-success-toast"}),Ue()}catch(x){e(11,c=(g=x==null?void 0:x.message)!==null&&g!==void 0?g:$("unknown-error"))}},Ft=async()=>{var g;e(11,c="");try{const x=await vo({namespace:q,workflowId:v.id,runId:v.runId,eventId:_,reason:Je({action:Ye.Reset,reason:ae,email:p.email}),resetReapplyType:A});x&&x.runId&&Ct.update(eo=>({...eo,[v.runId]:x.runId})),e(9,ne=!1),le(ge,a=Date.now(),a)}catch(x){e(11,c=(g=x==null?void 0:x.message)!==null&&g!==void 0?g:$("unknown-error"))}Le()};let je,Oe=To();K(n,Oe,g=>e(38,u=g));const Nt=()=>e(7,k=!0),Bt=()=>e(9,ne=!0);function Ht(g){ee=g,C(e(13,ee))}function Ut(g){A=g,e(12,A)}function Lt(g){ae=g,e(14,ae)}function jt(g){c=g,e(11,c)}function Ot(g){ne=g,e(9,ne),e(3,i),e(2,ce),e(36,r),e(35,l),e(37,s),e(30,v),e(34,B),e(39,m),e(32,M),e(33,V),e(40,T)}function Qt(g){c=g,e(11,c)}function Jt(g){k=g,e(7,k)}function Yt(g){te=g,e(4,te)}function zt(g){c=g,e(11,c)}function Gt(g){re=g,e(8,re),e(3,i),e(2,ce),e(36,r),e(35,l),e(37,s),e(30,v),e(34,B),e(39,m),e(32,M),e(33,V),e(40,T)}function Kt(g){E=g,e(6,E)}function Xt(g){se[g?"unshift":"push"](()=>{pe=g,e(16,pe)})}function Zt(g){c=g,e(11,c)}function xt(g){oe=g,e(10,oe),e(3,i),e(2,ce),e(36,r),e(35,l),e(37,s),e(30,v),e(34,B),e(39,m),e(32,M),e(33,V),e(40,T)}return n.$$set=g=>{"workflow"in g&&e(30,v=g.workflow),"namespace"in g&&e(31,q=g.namespace),"cancelInProgress"in g&&e(0,N=g.cancelInProgress),"isRunning"in g&&e(1,H=g.isRunning)},n.$$.update=()=>{n.$$.dirty[1]&512&&e(19,o=so(T.data.settings)),n.$$.dirty[1]&512&&e(36,r=or(T.data.settings)),n.$$.dirty[1]&512&&e(35,l=ao(T.data.settings)),n.$$.dirty[1]&512&&e(37,s=tr(T.data.settings)),n.$$.dirty[0]&1073741824|n.$$.dirty[1]&326&&(s?s&&(e(32,M=v==null?void 0:v.pendingChildren)===null||M===void 0?void 0:M.length)>0?e(2,ce=$("workflows","reset-disabled-pending-children")):s&&(e(33,V=v==null?void 0:v.pendingChildren)===null||V===void 0?void 0:V.length)===0&&m.length===0&&e(2,ce=$("workflows","reset-disabled-no-events")):e(2,ce=$("workflows","reset-disabled"))),n.$$.dirty[0]&1073741824|n.$$.dirty[1]&328&&e(3,i=s&&(e(34,B=v==null?void 0:v.pendingChildren)===null||B===void 0?void 0:B.length)===0&&m.length>0),n.$$.dirty[0]&12|n.$$.dirty[1]&48&&e(17,je=[{label:$("workflows","reset"),onClick:()=>e(9,ne=!0),testId:"reset-button",allowed:i,tooltip:i?"":ce},{label:$("workflows","signal"),onClick:()=>e(10,oe=!0),testId:"signal-button",allowed:r,tooltip:r?"":$("workflows","signal-disabled")},{label:$("workflows","terminate"),onClick:()=>e(8,re=!0),testId:"terminate-button",allowed:l,destructive:!0,tooltip:l?"":$("workflows","terminate-disabled")}]),n.$$.dirty[1]&129&&e(18,f=u.namespaceWriteDisabled(q)||!ho(Ao))},[N,H,ce,i,te,Z,E,k,re,ne,oe,c,A,ee,ae,we,pe,je,f,o,_,Dt,Ue,Le,Wt,Vt,Mt,qt,Ft,Oe,v,q,M,V,B,l,r,s,u,m,T,Nt,Bt,Ht,Ut,Lt,jt,Ot,Qt,Jt,Yt,zt,Gt,Kt,Xt,Zt,xt]}class kr extends be{constructor(t){super(),ve(this,t,$r,hr,Ie,{workflow:30,namespace:31,cancelInProgress:0,isRunning:1},null,[-1,-1,-1])}}const br=(n,t)=>{var r;const e=n==="Running",o=(r=t==null?void 0:t.end)==null?void 0:r.some(l=>(l==null?void 0:l.eventType)==="WorkflowExecutionCancelRequested");return e&&o},ot=n=>{const t=n==null?void 0:n.indexOf("?");return t>-1?n.slice(0,t):n},_e=(n,t,e=!1)=>{const o=ot(n).split("/"),r=ot(t).split("/");if(e&&o.length!==r.length)return!1;for(let l=0;l{o=gt(t,bt,{duration:200,delay:100}),o.start()}),r=!0)},o(l){h(e.$$.fragment,l),r=!1},d(l){l&&w(t),W(e)}}}function Cr(n){let t=$("workflows","cancel-request-sent-description")+"",e;return{c(){e=z(t)},l(o){e=G(o,t)},m(o,r){y(o,e,r)},p:ue,d(o){o&&w(e)}}}function it(n){let t,e,o,r;return e=new At({props:{bold:!0,icon:"info",intent:"info","data-testid":"workflow-reset-alert",title:$("workflows","reset-success-alert-title"),$$slots:{default:[Dr]},$$scope:{ctx:n}}}),{c(){t=Q("div"),D(e.$$.fragment),this.h()},l(l){t=J(l,"DIV",{class:!0});var s=Y(t);S(e.$$.fragment,s),s.forEach(w),this.h()},h(){X(t,"class","mb-4")},m(l,s){y(l,t,s),P(e,t,null),r=!0},p(l,s){const i={};s&268435505&&(i.$$scope={dirty:s,ctx:l}),e.$set(i)},i(l){r||(d(e.$$.fragment,l),o||_t(()=>{o=gt(t,bt,{duration:200,delay:100}),o.start()}),r=!0)},o(l){h(e.$$.fragment,l),r=!1},d(l){l&&w(t),W(e)}}}function yr(n){let t;return{c(){t=z("here")},l(e){t=G(e,"here")},m(e,o){y(e,t,o)},d(e){e&&w(t)}}}function Dr(n){var l,s,i,f;let t,e,o,r;return e=new He({props:{href:he({namespace:n[0],workflow:(s=(l=n[4])==null?void 0:l.workflow)==null?void 0:s.id,run:n[5][(f=(i=n[4])==null?void 0:i.workflow)==null?void 0:f.runId]}),$$slots:{default:[yr]},$$scope:{ctx:n}}}),{c(){t=z("You can find the resulting Workflow Execution "),D(e.$$.fragment),o=z(".")},l(u){t=G(u,"You can find the resulting Workflow Execution "),S(e.$$.fragment,u),o=G(u,".")},m(u,m){y(u,t,m),P(e,u,m),y(u,o,m),r=!0},p(u,m){var p,_,b,C;const a={};m&49&&(a.href=he({namespace:u[0],workflow:(_=(p=u[4])==null?void 0:p.workflow)==null?void 0:_.id,run:u[5][(C=(b=u[4])==null?void 0:b.workflow)==null?void 0:C.runId]})),m&268435456&&(a.$$scope={dirty:m,ctx:u}),e.$set(a)},i(u){r||(d(e.$$.fragment,u),r=!0)},o(u){h(e.$$.fragment,u),r=!1},d(u){u&&w(t),W(e,u),u&&w(o)}}}function Sr(n){var o;let t=((o=n[2])==null?void 0:o.historyEvents)+"",e;return{c(){e=z(t)},l(r){e=G(r,t)},m(r,l){y(r,e,l)},p(r,l){var s;l&4&&t!==(t=((s=r[2])==null?void 0:s.historyEvents)+"")&&Te(e,t)},d(r){r&&w(e)}}}function Pr(n){let t,e;return t=new Be({props:{type:"blue",class:"px-2 py-0",$$slots:{default:[Sr]},$$scope:{ctx:n}}}),{c(){D(t.$$.fragment)},l(o){S(t.$$.fragment,o)},m(o,r){P(t,o,r),e=!0},p(o,r){const l={};r&268435460&&(l.$$scope={dirty:r,ctx:o}),t.$set(l)},i(o){e||(d(t.$$.fragment,o),e=!0)},o(o){h(t.$$.fragment,o),e=!1},d(o){W(t,o)}}}function Wr(n){var o,r;let t=((r=(o=n[15])==null?void 0:o.pollers)==null?void 0:r.length)+"",e;return{c(){e=z(t)},l(l){e=G(l,t)},m(l,s){y(l,e,s)},p(l,s){var i,f;s&32768&&t!==(t=((f=(i=l[15])==null?void 0:i.pollers)==null?void 0:f.length)+"")&&Te(e,t)},d(l){l&&w(e)}}}function Vr(n){let t,e;return t=new Be({props:{type:"blue",class:"px-2 py-0",$$slots:{default:[Wr]},$$scope:{ctx:n}}}),{c(){D(t.$$.fragment)},l(o){S(t.$$.fragment,o)},m(o,r){P(t,o,r),e=!0},p(o,r){const l={};r&268468224&&(l.$$scope={dirty:r,ctx:o}),t.$set(l)},i(o){e||(d(t.$$.fragment,o),e=!0)},o(o){h(t.$$.fragment,o),e=!1},d(o){W(t,o)}}}function ut(n){let t,e;return t=new _o({props:{name:"canceled",width:20,height:20}}),{c(){D(t.$$.fragment)},l(o){S(t.$$.fragment,o)},m(o,r){P(t,o,r),e=!0},i(o){e||(d(t.$$.fragment,o),e=!0)},o(o){h(t.$$.fragment,o),e=!1},d(o){W(t,o)}}}function Mr(n){var s,i;let t,e=((i=(s=n[2])==null?void 0:s.pendingActivities)==null?void 0:i.length)+"",o,r,l=n[12]&&ut();return{c(){l&&l.c(),t=j(),o=z(e)},l(f){l&&l.l(f),t=O(f),o=G(f,e)},m(f,u){l&&l.m(f,u),y(f,t,u),y(f,o,u),r=!0},p(f,u){var m,a;f[12]?l?u&4096&&d(l,1):(l=ut(),l.c(),d(l,1),l.m(t.parentNode,t)):l&&(me(),h(l,1,1,()=>{l=null}),de()),(!r||u&4)&&e!==(e=((a=(m=f[2])==null?void 0:m.pendingActivities)==null?void 0:a.length)+"")&&Te(o,e)},i(f){r||(d(l),r=!0)},o(f){h(l),r=!1},d(f){l&&l.d(f),f&&w(t),f&&w(o)}}}function qr(n){let t,e;return t=new Be({props:{type:n[12]?"warning":"blue",class:"px-2 py-0",$$slots:{default:[Mr]},$$scope:{ctx:n}}}),{c(){D(t.$$.fragment)},l(o){S(t.$$.fragment,o)},m(o,r){P(t,o,r),e=!0},p(o,r){const l={};r&4096&&(l.type=o[12]?"warning":"blue"),r&268439556&&(l.$$scope={dirty:r,ctx:o}),t.$set(l)},i(o){e||(d(t.$$.fragment,o),e=!0)},o(o){h(t.$$.fragment,o),e=!1},d(o){W(t,o)}}}function Fr(n){let t,e,o,r,l,s,i,f,u,m;return t=new Ee({props:{label:$("workflows","history-tab"),id:"history-tab",href:he({...n[13]}),active:_e(n[6].url.pathname,he({...n[13]})),$$slots:{default:[Pr]},$$scope:{ctx:n}}}),o=new Ee({props:{label:$("workflows","workers-tab"),id:"workers-tab",href:Ae(n[13]),active:_e(n[6].url.pathname,Ae(n[13])),$$slots:{default:[Vr]},$$scope:{ctx:n}}}),l=new Ee({props:{label:$("workflows","pending-activities-tab"),id:"pending-activities-tab",href:Ce(n[13]),active:_e(n[6].url.pathname,Ce(n[13])),$$slots:{default:[qr]},$$scope:{ctx:n}}}),i=new Ee({props:{label:$("workflows","stack-trace-tab"),id:"stack-trace-tab",href:ye(n[13]),active:_e(n[6].url.pathname,ye(n[13]))}}),u=new Ee({props:{label:$("workflows","queries-tab"),id:"queries-tab",href:De(n[13]),active:_e(n[6].url.pathname,De(n[13]))}}),{c(){D(t.$$.fragment),e=j(),D(o.$$.fragment),r=j(),D(l.$$.fragment),s=j(),D(i.$$.fragment),f=j(),D(u.$$.fragment)},l(a){S(t.$$.fragment,a),e=O(a),S(o.$$.fragment,a),r=O(a),S(l.$$.fragment,a),s=O(a),S(i.$$.fragment,a),f=O(a),S(u.$$.fragment,a)},m(a,p){P(t,a,p),y(a,e,p),P(o,a,p),y(a,r,p),P(l,a,p),y(a,s,p),P(i,a,p),y(a,f,p),P(u,a,p),m=!0},p(a,p){const _={};p&8192&&(_.href=he({...a[13]})),p&8256&&(_.active=_e(a[6].url.pathname,he({...a[13]}))),p&268435460&&(_.$$scope={dirty:p,ctx:a}),t.$set(_);const b={};p&8192&&(b.href=Ae(a[13])),p&8256&&(b.active=_e(a[6].url.pathname,Ae(a[13]))),p&268468224&&(b.$$scope={dirty:p,ctx:a}),o.$set(b);const C={};p&8192&&(C.href=Ce(a[13])),p&8256&&(C.active=_e(a[6].url.pathname,Ce(a[13]))),p&268439556&&(C.$$scope={dirty:p,ctx:a}),l.$set(C);const I={};p&8192&&(I.href=ye(a[13])),p&8256&&(I.active=_e(a[6].url.pathname,ye(a[13]))),i.$set(I);const L={};p&8192&&(L.href=De(a[13])),p&8256&&(L.active=_e(a[6].url.pathname,De(a[13]))),u.$set(L)},i(a){m||(d(t.$$.fragment,a),d(o.$$.fragment,a),d(l.$$.fragment,a),d(i.$$.fragment,a),d(u.$$.fragment,a),m=!0)},o(a){h(t.$$.fragment,a),h(o.$$.fragment,a),h(l.$$.fragment,a),h(i.$$.fragment,a),h(u.$$.fragment,a),m=!1},d(a){W(t,a),a&&w(e),W(o,a),a&&w(r),W(l,a),a&&w(s),W(i,a),a&&w(f),W(u,a)}}}function Nr(n){let t,e;return t=new Mo({props:{class:"flex flex-wrap gap-6",label:"workflow detail",$$slots:{default:[Fr]},$$scope:{ctx:n}}}),{c(){D(t.$$.fragment)},l(o){S(t.$$.fragment,o)},m(o,r){P(t,o,r),e=!0},p(o,r){const l={};r&268480580&&(l.$$scope={dirty:r,ctx:o}),t.$set(l)},i(o){e||(d(t.$$.fragment,o),e=!0)},o(o){h(t.$$.fragment,o),e=!1},d(o){W(t,o)}}}function Br(n){var te,Z;let t,e,o,r,l,s,i,f,u,m,a,p,_,b,C,I,L,R,T,M,V,B;o=new He({props:{href:`${Ke({namespace:n[0]})}?${n[16]}`,"data-testid":"back-to-workflows",icon:"chevron-left",$$slots:{default:[vr]},$$scope:{ctx:n}}});let v=n[14]&&rt(n);u=new Wo({props:{copyIconTitle:$("copy-icon-title"),copySuccessIconTitle:$("copy-success-icon-title"),content:(te=n[2])==null?void 0:te.id,clickAllToCopy:!0,"container-class":"w-full",class:"overflow-hidden text-ellipsis"}}),p=new yo({props:{status:(Z=n[2])==null?void 0:Z.status}});let q=n[9]&&nt(n),N=n[3]&&at(n);L=new kr({props:{isRunning:n[3],cancelInProgress:n[11],workflow:n[2],namespace:n[0]}});let H=n[11]&&ft(n),U=n[10]&&it(n);return V=new Vo({props:{$$slots:{default:[Nr]},$$scope:{ctx:n}}}),{c(){t=Q("header"),e=Q("div"),D(o.$$.fragment),r=j(),v&&v.c(),l=j(),s=Q("div"),i=Q("div"),f=Q("h1"),D(u.$$.fragment),m=j(),a=Q("div"),D(p.$$.fragment),_=j(),q&&q.c(),b=j(),C=Q("div"),N&&N.c(),I=j(),D(L.$$.fragment),R=j(),H&&H.c(),T=j(),U&&U.c(),M=j(),D(V.$$.fragment),this.h()},l(E){t=J(E,"HEADER",{class:!0});var k=Y(t);e=J(k,"DIV",{class:!0});var re=Y(e);S(o.$$.fragment,re),r=O(re),v&&v.l(re),re.forEach(w),l=O(k),s=J(k,"DIV",{class:!0});var ne=Y(s);i=J(ne,"DIV",{class:!0});var oe=Y(i);f=J(oe,"H1",{"data-testid":!0,class:!0});var c=Y(f);S(u.$$.fragment,c),c.forEach(w),m=O(oe),a=J(oe,"DIV",{class:!0});var A=Y(a);S(p.$$.fragment,A),_=O(A),q&&q.l(A),A.forEach(w),oe.forEach(w),b=O(ne),C=J(ne,"DIV",{class:!0});var ee=Y(C);N&&N.l(ee),I=O(ee),S(L.$$.fragment,ee),ee.forEach(w),ne.forEach(w),R=O(k),H&&H.l(k),T=O(k),U&&U.l(k),M=O(k),S(V.$$.fragment,k),k.forEach(w),this.h()},h(){X(e,"class","mb-4 block"),X(f,"data-testid","workflow-id-heading"),X(f,"class","overflow-hidden text-2xl font-medium"),X(a,"class","flex flex-wrap items-center gap-4"),X(i,"class","flex w-full flex-col justify-start gap-4 overflow-hidden whitespace-nowrap lg:w-auto"),X(C,"class","flex flex-col items-center justify-center gap-4 whitespace-nowrap sm:flex-row lg:justify-end"),X(s,"class","mb-8 flex w-full flex-col items-center justify-between gap-4 lg:flex-row"),X(t,"class","mb-4 flex flex-col gap-1")},m(E,k){y(E,t,k),F(t,e),P(o,e,null),F(e,r),v&&v.m(e,null),F(t,l),F(t,s),F(s,i),F(i,f),P(u,f,null),F(i,m),F(i,a),P(p,a,null),F(a,_),q&&q.m(a,null),F(s,b),F(s,C),N&&N.m(C,null),F(C,I),P(L,C,null),F(t,R),H&&H.m(t,null),F(t,T),U&&U.m(t,null),F(t,M),P(V,t,null),B=!0},p(E,[k]){var ee,ae;const re={};k&65537&&(re.href=`${Ke({namespace:E[0]})}?${E[16]}`),k&268451840&&(re.$$scope={dirty:k,ctx:E}),o.$set(re),E[14]?v?(v.p(E,k),k&16384&&d(v,1)):(v=rt(E),v.c(),d(v,1),v.m(e,null)):v&&(me(),h(v,1,1,()=>{v=null}),de());const ne={};k&4&&(ne.content=(ee=E[2])==null?void 0:ee.id),u.$set(ne);const oe={};k&4&&(oe.status=(ae=E[2])==null?void 0:ae.status),p.$set(oe),E[9]?q?(q.p(E,k),k&512&&d(q,1)):(q=nt(E),q.c(),d(q,1),q.m(a,null)):q&&(me(),h(q,1,1,()=>{q=null}),de()),E[3]?N?(N.p(E,k),k&8&&d(N,1)):(N=at(E),N.c(),d(N,1),N.m(C,I)):N&&(me(),h(N,1,1,()=>{N=null}),de());const c={};k&8&&(c.isRunning=E[3]),k&2048&&(c.cancelInProgress=E[11]),k&4&&(c.workflow=E[2]),k&1&&(c.namespace=E[0]),L.$set(c),E[11]?H?(H.p(E,k),k&2048&&d(H,1)):(H=ft(E),H.c(),d(H,1),H.m(t,T)):H&&(me(),h(H,1,1,()=>{H=null}),de()),E[10]?U?(U.p(E,k),k&1024&&d(U,1)):(U=it(E),U.c(),d(U,1),U.m(t,M)):U&&(me(),h(U,1,1,()=>{U=null}),de());const A={};k&268480580&&(A.$$scope={dirty:k,ctx:E}),V.$set(A)},i(E){B||(d(o.$$.fragment,E),d(v),d(u.$$.fragment,E),d(p.$$.fragment,E),d(q),d(N),d(L.$$.fragment,E),d(H),d(U),d(V.$$.fragment,E),B=!0)},o(E){h(o.$$.fragment,E),h(v),h(u.$$.fragment,E),h(p.$$.fragment,E),h(q),h(N),h(L.$$.fragment,E),h(H),h(U),h(V.$$.fragment,E),B=!1},d(E){E&&w(t),W(o),v&&v.d(),W(u),W(p),q&&q.d(),N&&N.d(),W(L),H&&H.d(),U&&U.d(),W(V)}}}const ct=15e3;function Hr(n,t,e){let o,r,l,s,i,f,u,m,a,p,_,b,C,I,L,R,T,M,V,B;K(n,We,k=>e(4,I=k)),K(n,Ct,k=>e(5,L=k)),K(n,Pe,k=>e(25,R=k)),K(n,ge,k=>e(26,T=k)),K(n,Se,k=>e(27,M=k)),K(n,qe,k=>e(6,V=k)),K(n,qo,k=>e(16,B=k));var v,q,N,H,U;let{namespace:te}=t,Z;dt(()=>{f&&M==="on"&&(clearInterval(Z),e(23,Z=setInterval(()=>le(ge,T=Date.now(),T),ct)))});const E=()=>{M==="on"?(le(Se,M="off",M),clearInterval(Z)):(le(ge,T=Date.now(),T),le(Se,M="on",M),clearInterval(Z),e(23,Z=setInterval(()=>le(ge,T=Date.now(),T),ct)))};return Me(()=>{clearInterval(Z)}),n.$$set=k=>{"namespace"in k&&e(0,te=k.namespace)},n.$$.update=()=>{n.$$.dirty&16&&e(2,{workflow:o,workers:r,compatibility:l}=I,o,(e(15,r),e(4,I)),(e(24,l),e(4,I))),n.$$.dirty&64&&e(14,s=V.params.id),n.$$.dirty&5&&e(13,i={namespace:te,workflow:o==null?void 0:o.id,run:o==null?void 0:o.runId}),n.$$.dirty&262160&&e(3,f=e(18,v=I==null?void 0:I.workflow)===null||v===void 0?void 0:v.isRunning),n.$$.dirty&524304&&e(12,u=["Terminated","TimedOut","Canceled"].includes(e(19,q=I.workflow)===null||q===void 0?void 0:q.status)),n.$$.dirty&8388616&&(f||clearInterval(Z)),n.$$.dirty&34603024&&e(11,m=br(e(20,N=I==null?void 0:I.workflow)===null||N===void 0?void 0:N.status,R)),n.$$.dirty&2097200&&e(10,a=Fo(L,e(21,H=I==null?void 0:I.workflow)===null||H===void 0?void 0:H.runId)),n.$$.dirty&4194308&&e(9,p=e(22,U=o==null?void 0:o.mostRecentWorkerVersionStamp)===null||U===void 0?void 0:U.useVersioning),n.$$.dirty&4&&e(1,_=No(o)),n.$$.dirty&16777216&&e(8,b=Bo(l)),n.$$.dirty&16777218&&e(7,C=Ho(l,_))},[te,_,o,f,I,L,V,C,b,p,a,m,u,i,s,r,B,E,v,q,N,H,U,Z,l,R]}class Ur extends be{constructor(t){super(),ve(this,t,Hr,Br,Ie,{namespace:0})}}async function Lr({activity:n,namespace:t,settings:e,accessToken:o},{convertWithCodec:r=jo,decodeAttributes:l=Oo,encoderEndpoint:s=Rt}={}){const i=Qo(e,s),f=Jo(e,Et),u={...e,codec:{...e==null?void 0:e.codec,endpoint:i,passAccessToken:f}},m=await r({attributes:n,namespace:t,settings:u,accessToken:o});return l(m)}const jr=async({activity:n,namespace:t,settings:e,accessToken:o})=>await Lr({activity:n,namespace:t,settings:e,accessToken:o}),Or=async(n,t,e,o)=>{const r=(n==null?void 0:n.pendingActivities)??[],l=[];for(const s of r){const i=await jr({activity:s,namespace:t,settings:e,accessToken:o});l.push(i)}return l};function Qr(n){let t,e,o;t=new Ur({props:{namespace:n[0].params.namespace}});const r=n[7].default,l=wt(r,n,n[6],null);return{c(){D(t.$$.fragment),e=j(),l&&l.c()},l(s){S(t.$$.fragment,s),e=O(s),l&&l.l(s)},m(s,i){P(t,s,i),y(s,e,i),l&&l.m(s,i),o=!0},p(s,i){const f={};i&1&&(f.namespace=s[0].params.namespace),t.$set(f),l&&l.p&&(!o||i&64)&&ht(l,r,s,s[6],o?kt(r,s[6],i,null):$t(s[6]),null)},i(s){o||(d(t.$$.fragment,s),d(l,s),o=!0)},o(s){h(t.$$.fragment,s),h(l,s),o=!1},d(s){W(t,s),s&&w(e),l&&l.d(s)}}}function Jr(n){let t,e;return t=new oo({}),{c(){D(t.$$.fragment)},l(o){S(t.$$.fragment,o)},m(o,r){P(t,o,r),e=!0},p:ue,i(o){e||(d(t.$$.fragment,o),e=!0)},o(o){h(t.$$.fragment,o),e=!1},d(o){W(t,o)}}}function Yr(n){let t,e,o,r;const l=[Jr,Qr],s=[];function i(f,u){return f[1].workflow?1:0}return e=i(n),o=s[e]=l[e](n),{c(){t=Q("div"),o.c(),this.h()},l(f){t=J(f,"DIV",{class:!0});var u=Y(t);o.l(u),u.forEach(w),this.h()},h(){X(t,"class","flex h-full flex-col gap-6")},m(f,u){y(f,t,u),s[e].m(t,null),r=!0},p(f,[u]){let m=e;e=i(f),e===m?s[e].p(f,u):(me(),h(s[m],1,1,()=>{s[m]=null}),de(),o=s[e],o?o.p(f,u):(o=s[e]=l[e](f),o.c()),d(o,1),o.m(t,null))},i(f){r||(d(o),r=!0)},o(f){h(o),r=!1},d(f){f&&w(t),s[e].d()}}}function zr(n,t,e){let o,r,l,s,i,f,u,m,a,p;K(n,Pe,R=>e(8,s=R)),K(n,We,R=>e(1,i=R)),K(n,ze,R=>e(9,f=R)),K(n,Qe,R=>e(10,u=R)),K(n,qe,R=>e(0,m=R)),K(n,ge,R=>e(5,a=R)),K(n,Tt,R=>e(11,p=R));let{$$slots:_={},$$scope:b}=t;const C=async(R,T)=>{var M;if(!((M=R==null?void 0:R.mostRecentWorkerVersionStamp)===null||M===void 0)&&M.useVersioning)return await So({queue:T,namespace:o})},I=async({namespace:R,workers:T,taskQueue:M})=>{if(!Uo(T.pollers))return;const B=Lo(T.pollers);return await Po({namespace:R,buildIds:B,taskQueue:M})},L=async(R,T,M)=>{const{settings:V}=m.data,B=await Io({namespace:R,workflowId:T,runId:M}),{taskQueue:v}=B,q=await Do({queue:v,namespace:R}),N=await C(B,v),H=await I({namespace:R,workers:q,taskQueue:v});B.pendingActivities=await Or(B,R,V,p==null?void 0:p.accessToken),le(We,i={workflow:B,workers:q,compatibility:N,reachability:H},i);const U=await co({namespace:R,workflowId:T,runId:M});le(Pe,s=U,s)};return dt(()=>{const R=m.url.searchParams.get("sort");R&&le(Qe,u=R,u)}),Me(()=>{le(ze,f=null,f),le(We,i=Co,i),le(Pe,s=uo,s)}),n.$$set=R=>{"$$scope"in R&&e(6,b=R.$$scope)},n.$$.update=()=>{n.$$.dirty&1&&e(4,{namespace:o,workflow:r,run:l}=m.params,o,(e(3,r),e(0,m)),(e(2,l),e(0,m))),n.$$.dirty&60&&L(o,r,l)},[m,i,l,r,o,a,b,_]}class Gr extends be{constructor(t){super(),ve(this,t,zr,Yr,Ie,{})}}const yt={namespace:null,workflowId:null,runId:null,rawPayloads:null,sort:null},Kr=vt(yt),Xr=()=>{Kr.set(yt)};function Zr(n){let t;const e=n[0].default,o=wt(e,n,n[1],null);return{c(){o&&o.c()},l(r){o&&o.l(r)},m(r,l){o&&o.m(r,l),t=!0},p(r,l){o&&o.p&&(!t||l&2)&&ht(o,e,r,r[1],t?kt(e,r[1],l,null):$t(r[1]),null)},i(r){t||(d(o,r),t=!0)},o(r){h(o,r),t=!1},d(r){o&&o.d(r)}}}function xr(n){let t,e;return t=new Gr({props:{$$slots:{default:[Zr]},$$scope:{ctx:n}}}),{c(){D(t.$$.fragment)},l(o){S(t.$$.fragment,o)},m(o,r){P(t,o,r),e=!0},p(o,[r]){const l={};r&2&&(l.$$scope={dirty:r,ctx:o}),t.$set(l)},i(o){e||(d(t.$$.fragment,o),e=!0)},o(o){h(t.$$.fragment,o),e=!1},d(o){W(t,o)}}}function en(n,t,e){let{$$slots:o={},$$scope:r}=t;return Me(()=>{Xr()}),n.$$set=l=>{"$$scope"in l&&e(1,r=l.$$scope)},[o,r]}class jn extends be{constructor(t){super(),ve(this,t,en,xr,Ie,{})}}export{jn as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.8cfe4ed9.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.00f941cc.js similarity index 97% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.8cfe4ed9.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.00f941cc.js index aefe13813e..67c0adcf81 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.8cfe4ed9.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.00f941cc.js @@ -1 +1 @@ -import{S as ut,b as ct,a as mt,e as J,f as k,z as Q,g as I,h as X,j as b,k as m,K as Ee,C as B,D as R,E as q,n as Ce,F as M,aa as _t,ab as $t,m as h,w as L,p as d,q as v,x as H,u as N,L as c,au as ht,c as E,d as T,y as z}from"../chunks/index.09834243.js";import{p as dt}from"../chunks/stores.9d4a2bb0.js";import{P as vt}from"../chunks/page-title.34fd480b.js";import{t as A}from"../chunks/translate.0a219ae4.js";import{B as ce}from"../chunks/badge.f53d8aa8.js";import{C as pt}from"../chunks/code-block.5b4e5d21.js";import{E as wt}from"../chunks/empty-state.aea525ff.js";import{I as bt}from"../chunks/icon.3cd9fa27.js";import{L as kt}from"../chunks/link.4944a6a5.js";import{T as gt,a as Et}from"../chunks/table-header-row.843c5ee2.js";import{T as Tt}from"../chunks/table-row.185c48e5.js";import{t as It,r as yt,b as le}from"../chunks/format-date.71526e4c.js";import{w as Lt}from"../chunks/workflow-run.889d50fd.js";import{k as Ge,l as Je,j as Qe}from"../chunks/format-event-attributes.14b5bd74.js";import{k as Xe,E as Ye}from"../chunks/format-time.650b834b.js";import{s as Te}from"../chunks/parse-with-big-int.b38462f3.js";import{t as Ze}from"../chunks/to-time-difference.be87d1bf.js";function xe(f,e,l){const t=f.slice();t[5]=e[l].id,t[6]=e[l].activityId,t[7]=ht(e[l],["id","activityId"]);const o=t[7].attempt>1;return t[8]=o,t}function Ht(f){let e,l;return e=new wt({props:{title:A("workflows","pending-activities-empty-state")}}),{c(){B(e.$$.fragment)},l(t){R(e.$$.fragment,t)},m(t,o){q(e,t,o),l=!0},p:Ce,i(t){l||(b(e.$$.fragment,t),l=!0)},o(t){I(e.$$.fragment,t),l=!1},d(t){M(e,t)}}}function Dt(f){let e,l;return e=new gt({props:{class:"mb-6 w-full min-w-[600px] table-fixed",$$slots:{headers:[qt],caption:[Bt],default:[jt]},$$scope:{ctx:f}}}),{c(){B(e.$$.fragment)},l(t){R(e.$$.fragment,t)},m(t,o){q(e,t,o),l=!0},p(t,o){const s={};o&2055&&(s.$$scope={dirty:o,ctx:t}),e.$set(s)},i(t){l||(b(e.$$.fragment,t),l=!0)},o(t){I(e.$$.fragment,t),l=!1},d(t){M(e,t)}}}function At(f){let e=f[6]+"",l;return{c(){l=L(e)},l(t){l=H(t,e)},m(t,o){k(t,l,o)},p(t,o){o&1&&e!==(e=t[6]+"")&&z(l,e)},d(t){t&&m(l)}}}function Pt(f){let e=f[7].activityType+"",l;return{c(){l=L(e)},l(t){l=H(t,e)},m(t,o){k(t,l,o)},p(t,o){o&1&&e!==(e=t[7].activityType+"")&&z(l,e)},d(t){t&&m(l)}}}function et(f){let e,l;return e=new bt({props:{class:"mr-1",name:"retry"}}),{c(){B(e.$$.fragment)},l(t){R(e.$$.fragment,t)},m(t,o){q(e,t,o),l=!0},i(t){l||(b(e.$$.fragment,t),l=!0)},o(t){I(e.$$.fragment,t),l=!1},d(t){M(e,t)}}}function St(f){let e,l=f[7].attempt+"",t,o,s=f[8]&&et();return{c(){s&&s.c(),e=E(),t=L(l)},l(r){s&&s.l(r),e=T(r),t=H(r,l)},m(r,i){s&&s.m(r,i),k(r,e,i),k(r,t,i),o=!0},p(r,i){r[8]?s?i&1&&b(s,1):(s=et(),s.c(),b(s,1),s.m(e.parentNode,e)):s&&(Q(),I(s,1,1,()=>{s=null}),X()),(!o||i&1)&&l!==(l=r[7].attempt+"")&&z(t,l)},i(r){o||(b(s),o=!0)},o(r){I(s),o=!1},d(r){s&&s.d(r),r&&m(e),r&&m(t)}}}function tt(f){let e,l,t=A("workflows","attempts-left")+"",o,s,r,i,a,n;r=new ce({props:{type:"error",$$slots:{default:[Ft]},$$scope:{ctx:f}}});let u=f[7].scheduledTime&<(f);return{c(){e=h("li"),l=h("h4"),o=L(t),s=E(),B(r.$$.fragment),i=E(),u&&u.c(),a=J(),this.h()},l($){e=d($,"LI",{class:!0});var p=v(e);l=d(p,"H4",{});var g=v(l);o=H(g,t),g.forEach(m),s=T(p),R(r.$$.fragment,p),p.forEach(m),i=T($),u&&u.l($),a=J(),this.h()},h(){N(e,"class","event-table-row svelte-pnunl5")},m($,p){k($,e,p),c(e,l),c(l,o),c(e,s),q(r,e,null),k($,i,p),u&&u.m($,p),k($,a,p),n=!0},p($,p){const g={};p&2049&&(g.$$scope={dirty:p,ctx:$}),r.$set(g),$[7].scheduledTime?u?(u.p($,p),p&1&&b(u,1)):(u=lt($),u.c(),b(u,1),u.m(a.parentNode,a)):u&&(Q(),I(u,1,1,()=>{u=null}),X())},i($){n||(b(r.$$.fragment,$),b(u),n=!0)},o($){I(r.$$.fragment,$),I(u),n=!1},d($){$&&m(e),M(r),$&&m(i),u&&u.d($),$&&m(a)}}}function Ft(f){let e=Ge(f[7].maximumAttempts,f[7].attempt)+"",l;return{c(){l=L(e)},l(t){l=H(t,e)},m(t,o){k(t,l,o)},p(t,o){o&1&&e!==(e=Ge(t[7].maximumAttempts,t[7].attempt)+"")&&z(l,e)},d(t){t&&m(l)}}}function lt(f){let e,l,t=A("workflows","next-retry")+"",o,s,r,i;return r=new ce({props:{type:"error",$$slots:{default:[Nt]},$$scope:{ctx:f}}}),{c(){e=h("li"),l=h("h4"),o=L(t),s=E(),B(r.$$.fragment),this.h()},l(a){e=d(a,"LI",{class:!0});var n=v(e);l=d(n,"H4",{});var u=v(l);o=H(u,t),u.forEach(m),s=T(n),R(r.$$.fragment,n),n.forEach(m),this.h()},h(){N(e,"class","event-table-row svelte-pnunl5")},m(a,n){k(a,e,n),c(e,l),c(l,o),c(e,s),q(r,e,null),i=!0},p(a,n){const u={};n&2049&&(u.$$scope={dirty:n,ctx:a}),r.$set(u)},i(a){i||(b(r.$$.fragment,a),i=!0)},o(a){I(r.$$.fragment,a),i=!1},d(a){a&&m(e),M(r)}}}function Nt(f){let e=Ze({date:f[7].scheduledTime,negativeDefault:A("workflows","no-retry")})+"",l;return{c(){l=L(e)},l(t){l=H(t,e)},m(t,o){k(t,l,o)},p(t,o){o&1&&e!==(e=Ze({date:t[7].scheduledTime,negativeDefault:A("workflows","no-retry")})+"")&&z(l,e)},d(t){t&&m(l)}}}function Wt(f){let e=Je(f[7].maximumAttempts)+"",l;return{c(){l=L(e)},l(t){l=H(t,e)},m(t,o){k(t,l,o)},p(t,o){o&1&&e!==(e=Je(t[7].maximumAttempts)+"")&&z(l,e)},d(t){t&&m(l)}}}function rt(f){let e,l,t,o,s=A("workflows","retry-expiration")+"",r,i,a,n=Qe(f[7].maximumAttempts,Xe(Ye({start:Date.now(),end:f[7].expirationTime})))+"",u,$,p=f[7].heartbeatDetails&&at(f),g=f[7].lastFailure&&st(f);return{c(){p&&p.c(),e=E(),g&&g.c(),l=E(),t=h("li"),o=h("h4"),r=L(s),i=E(),a=h("p"),u=L(n),this.h()},l(w){p&&p.l(w),e=T(w),g&&g.l(w),l=T(w),t=d(w,"LI",{class:!0});var P=v(t);o=d(P,"H4",{});var re=v(o);r=H(re,s),re.forEach(m),i=T(P),a=d(P,"P",{});var Z=v(a);u=H(Z,n),Z.forEach(m),P.forEach(m),this.h()},h(){N(t,"class","event-table-row svelte-pnunl5")},m(w,P){p&&p.m(w,P),k(w,e,P),g&&g.m(w,P),k(w,l,P),k(w,t,P),c(t,o),c(o,r),c(t,i),c(t,a),c(a,u),$=!0},p(w,P){w[7].heartbeatDetails?p?(p.p(w,P),P&1&&b(p,1)):(p=at(w),p.c(),b(p,1),p.m(e.parentNode,e)):p&&(Q(),I(p,1,1,()=>{p=null}),X()),w[7].lastFailure?g?(g.p(w,P),P&1&&b(g,1)):(g=st(w),g.c(),b(g,1),g.m(l.parentNode,l)):g&&(Q(),I(g,1,1,()=>{g=null}),X()),(!$||P&1)&&n!==(n=Qe(w[7].maximumAttempts,Xe(Ye({start:Date.now(),end:w[7].expirationTime})))+"")&&z(u,n)},i(w){$||(b(p),b(g),$=!0)},o(w){I(p),I(g),$=!1},d(w){p&&p.d(w),w&&m(e),g&&g.d(w),w&&m(l),w&&m(t)}}}function at(f){let e,l,t=A("workflows","heartbeat-details")+"",o,s,r,i;return r=new pt({props:{slot:"value",class:"pb-2",content:Te(f[7].heartbeatDetails),copyIconTitle:A("copy-icon-title"),copySuccessIconTitle:A("copy-success-icon-title")}}),{c(){e=h("li"),l=h("h4"),o=L(t),s=E(),B(r.$$.fragment),this.h()},l(a){e=d(a,"LI",{class:!0});var n=v(e);l=d(n,"H4",{});var u=v(l);o=H(u,t),u.forEach(m),s=T(n),R(r.$$.fragment,n),n.forEach(m),this.h()},h(){N(e,"class","event-table-row svelte-pnunl5")},m(a,n){k(a,e,n),c(e,l),c(l,o),c(e,s),q(r,e,null),i=!0},p(a,n){const u={};n&1&&(u.content=Te(a[7].heartbeatDetails)),r.$set(u)},i(a){i||(b(r.$$.fragment,a),i=!0)},o(a){I(r.$$.fragment,a),i=!1},d(a){a&&m(e),M(r)}}}function st(f){let e,l,t=A("workflows","last-failure")+"",o,s,r,i;return r=new pt({props:{slot:"value",class:"pb-2",content:Te(f[7].lastFailure),copyIconTitle:A("copy-icon-title"),copySuccessIconTitle:A("copy-success-icon-title")}}),{c(){e=h("li"),l=h("h4"),o=L(t),s=E(),B(r.$$.fragment),this.h()},l(a){e=d(a,"LI",{class:!0});var n=v(e);l=d(n,"H4",{});var u=v(l);o=H(u,t),u.forEach(m),s=T(n),R(r.$$.fragment,n),n.forEach(m),this.h()},h(){N(e,"class","event-table-row svelte-pnunl5")},m(a,n){k(a,e,n),c(e,l),c(l,o),c(e,s),q(r,e,null),i=!0},p(a,n){const u={};n&1&&(u.content=Te(a[7].lastFailure)),r.$set(u)},i(a){i||(b(r.$$.fragment,a),i=!0)},o(a){I(r.$$.fragment,a),i=!1},d(a){a&&m(e),M(r)}}}function ot(f){let e,l,t=A("workflows","last-started-time")+"",o,s,r,i=le(f[7].lastStartedTime,f[1],{relative:f[2]})+"",a;return{c(){e=h("li"),l=h("h4"),o=L(t),s=E(),r=h("p"),a=L(i),this.h()},l(n){e=d(n,"LI",{class:!0});var u=v(e);l=d(u,"H4",{});var $=v(l);o=H($,t),$.forEach(m),s=T(u),r=d(u,"P",{});var p=v(r);a=H(p,i),p.forEach(m),u.forEach(m),this.h()},h(){N(e,"class","event-table-row svelte-pnunl5")},m(n,u){k(n,e,u),c(e,l),c(l,o),c(e,s),c(e,r),c(r,a)},p(n,u){u&7&&i!==(i=le(n[7].lastStartedTime,n[1],{relative:n[2]})+"")&&z(a,i)},d(n){n&&m(e)}}}function it(f){let e,l,t=A("workflows","scheduled-time")+"",o,s,r,i=le(f[7].scheduledTime,f[1],{relative:f[2]})+"",a;return{c(){e=h("li"),l=h("h4"),o=L(t),s=E(),r=h("p"),a=L(i),this.h()},l(n){e=d(n,"LI",{class:!0});var u=v(e);l=d(u,"H4",{});var $=v(l);o=H($,t),$.forEach(m),s=T(u),r=d(u,"P",{});var p=v(r);a=H(p,i),p.forEach(m),u.forEach(m),this.h()},h(){N(e,"class","event-table-row svelte-pnunl5")},m(n,u){k(n,e,u),c(e,l),c(l,o),c(e,s),c(e,r),c(r,a)},p(n,u){u&7&&i!==(i=le(n[7].scheduledTime,n[1],{relative:n[2]})+"")&&z(a,i)},d(n){n&&m(e)}}}function ft(f){let e,l,t=A("workflows","last-worker-identity")+"",o,s,r,i=f[7].lastWorkerIdentity+"",a;return{c(){e=h("li"),l=h("h4"),o=L(t),s=E(),r=h("p"),a=L(i),this.h()},l(n){e=d(n,"LI",{class:!0});var u=v(e);l=d(u,"H4",{});var $=v(l);o=H($,t),$.forEach(m),s=T(u),r=d(u,"P",{});var p=v(r);a=H(p,i),p.forEach(m),u.forEach(m),this.h()},h(){N(e,"class","event-table-row svelte-pnunl5")},m(n,u){k(n,e,u),c(e,l),c(l,o),c(e,s),c(e,r),c(r,a)},p(n,u){u&1&&i!==(i=n[7].lastWorkerIdentity+"")&&z(a,i)},d(n){n&&m(e)}}}function Ct(f){let e,l,t,o,s,r,i,a,n=A("workflows","activity-type")+"",u,$,p,g,w,P,re=A("workflows","attempt")+"",Z,Ie,K,ye,me,O,ae,je=A("workflows","maximum-attempts")+"",Le,He,U,De,pe,V,se,Be=A("workflows","last-heartbeat")+"",Ae,Pe,oe,ie=le(f[7].lastHeartbeatTime,f[1],{relative:f[2],relativeStrict:!0})+"",_e,Se,G,fe,Re=A("workflows","state")+"",Fe,Ne,ne,ue=f[7].state+"",$e,We,he,de,ve,x;t=new kt({props:{href:"#"+f[5],$$slots:{default:[At]},$$scope:{ctx:f}}}),p=new ce({props:{type:f[8]?"error":"default",$$slots:{default:[Pt]},$$scope:{ctx:f}}}),K=new ce({props:{type:f[8]?"error":"default",$$slots:{default:[St]},$$scope:{ctx:f}}});let S=f[8]&&tt(f);U=new ce({props:{$$slots:{default:[Wt]},$$scope:{ctx:f}}});let F=f[8]&&rt(f),W=f[7].lastStartedTime&&ot(f),C=f[7].scheduledTime&&it(f),j=f[7].lastWorkerIdentity&&ft(f);return{c(){e=h("td"),l=h("div"),B(t.$$.fragment),o=E(),s=h("td"),r=h("ul"),i=h("li"),a=h("h4"),u=L(n),$=E(),B(p.$$.fragment),g=E(),w=h("li"),P=h("h4"),Z=L(re),Ie=E(),B(K.$$.fragment),ye=E(),S&&S.c(),me=E(),O=h("li"),ae=h("h4"),Le=L(je),He=E(),B(U.$$.fragment),De=E(),F&&F.c(),pe=E(),V=h("li"),se=h("h4"),Ae=L(Be),Pe=E(),oe=h("p"),_e=L(ie),Se=E(),G=h("li"),fe=h("h4"),Fe=L(Re),Ne=E(),ne=h("p"),$e=L(ue),We=E(),W&&W.c(),he=E(),C&&C.c(),de=E(),j&&j.c(),ve=E(),this.h()},l(_){e=d(_,"TD",{class:!0});var y=v(e);l=d(y,"DIV",{class:!0});var ee=v(l);R(t.$$.fragment,ee),ee.forEach(m),y.forEach(m),o=T(_),s=d(_,"TD",{class:!0});var te=v(s);r=d(te,"UL",{});var D=v(r);i=d(D,"LI",{class:!0});var Y=v(i);a=d(Y,"H4",{class:!0});var qe=v(a);u=H(qe,n),qe.forEach(m),$=T(Y),R(p.$$.fragment,Y),Y.forEach(m),g=T(D),w=d(D,"LI",{class:!0});var we=v(w);P=d(we,"H4",{});var Me=v(P);Z=H(Me,re),Me.forEach(m),Ie=T(we),R(K.$$.fragment,we),we.forEach(m),ye=T(D),S&&S.l(D),me=T(D),O=d(D,"LI",{class:!0});var be=v(O);ae=d(be,"H4",{});var ze=v(ae);Le=H(ze,je),ze.forEach(m),He=T(be),R(U.$$.fragment,be),be.forEach(m),De=T(D),F&&F.l(D),pe=T(D),V=d(D,"LI",{class:!0});var ke=v(V);se=d(ke,"H4",{});var Ke=v(se);Ae=H(Ke,Be),Ke.forEach(m),Pe=T(ke),oe=d(ke,"P",{});var Oe=v(oe);_e=H(Oe,ie),Oe.forEach(m),ke.forEach(m),Se=T(D),G=d(D,"LI",{class:!0});var ge=v(G);fe=d(ge,"H4",{});var Ue=v(fe);Fe=H(Ue,Re),Ue.forEach(m),Ne=T(ge),ne=d(ge,"P",{});var Ve=v(ne);$e=H(Ve,ue),Ve.forEach(m),ge.forEach(m),We=T(D),W&&W.l(D),he=T(D),C&&C.l(D),de=T(D),j&&j.l(D),D.forEach(m),te.forEach(m),ve=T(_),this.h()},h(){N(l,"class","pt-1"),N(e,"class","w-44 items-start break-all py-5 pl-5 pr-2 align-top"),N(a,"class","font-semibold"),N(i,"class","event-table-row svelte-pnunl5"),N(w,"class","event-table-row svelte-pnunl5"),N(O,"class","event-table-row svelte-pnunl5"),N(V,"class","event-table-row svelte-pnunl5"),N(G,"class","event-table-row svelte-pnunl5"),N(s,"class","py-4 px-5")},m(_,y){k(_,e,y),c(e,l),q(t,l,null),k(_,o,y),k(_,s,y),c(s,r),c(r,i),c(i,a),c(a,u),c(i,$),q(p,i,null),c(r,g),c(r,w),c(w,P),c(P,Z),c(w,Ie),q(K,w,null),c(r,ye),S&&S.m(r,null),c(r,me),c(r,O),c(O,ae),c(ae,Le),c(O,He),q(U,O,null),c(r,De),F&&F.m(r,null),c(r,pe),c(r,V),c(V,se),c(se,Ae),c(V,Pe),c(V,oe),c(oe,_e),c(r,Se),c(r,G),c(G,fe),c(fe,Fe),c(G,Ne),c(G,ne),c(ne,$e),c(r,We),W&&W.m(r,null),c(r,he),C&&C.m(r,null),c(r,de),j&&j.m(r,null),k(_,ve,y),x=!0},p(_,y){const ee={};y&1&&(ee.href="#"+_[5]),y&2049&&(ee.$$scope={dirty:y,ctx:_}),t.$set(ee);const te={};y&1&&(te.type=_[8]?"error":"default"),y&2049&&(te.$$scope={dirty:y,ctx:_}),p.$set(te);const D={};y&1&&(D.type=_[8]?"error":"default"),y&2049&&(D.$$scope={dirty:y,ctx:_}),K.$set(D),_[8]?S?(S.p(_,y),y&1&&b(S,1)):(S=tt(_),S.c(),b(S,1),S.m(r,me)):S&&(Q(),I(S,1,1,()=>{S=null}),X());const Y={};y&2049&&(Y.$$scope={dirty:y,ctx:_}),U.$set(Y),_[8]?F?(F.p(_,y),y&1&&b(F,1)):(F=rt(_),F.c(),b(F,1),F.m(r,pe)):F&&(Q(),I(F,1,1,()=>{F=null}),X()),(!x||y&7)&&ie!==(ie=le(_[7].lastHeartbeatTime,_[1],{relative:_[2],relativeStrict:!0})+"")&&z(_e,ie),(!x||y&1)&&ue!==(ue=_[7].state+"")&&z($e,ue),_[7].lastStartedTime?W?W.p(_,y):(W=ot(_),W.c(),W.m(r,he)):W&&(W.d(1),W=null),_[7].scheduledTime?C?C.p(_,y):(C=it(_),C.c(),C.m(r,de)):C&&(C.d(1),C=null),_[7].lastWorkerIdentity?j?j.p(_,y):(j=ft(_),j.c(),j.m(r,null)):j&&(j.d(1),j=null)},i(_){x||(b(t.$$.fragment,_),b(p.$$.fragment,_),b(K.$$.fragment,_),b(S),b(U.$$.fragment,_),b(F),x=!0)},o(_){I(t.$$.fragment,_),I(p.$$.fragment,_),I(K.$$.fragment,_),I(S),I(U.$$.fragment,_),I(F),x=!1},d(_){_&&m(e),M(t),_&&m(o),_&&m(s),M(p),M(K),S&&S.d(),M(U),F&&F.d(),W&&W.d(),C&&C.d(),j&&j.d(),_&&m(ve)}}}function nt(f,e){let l,t,o;return t=new Tt({props:{$$slots:{default:[Ct]},$$scope:{ctx:e}}}),{key:f,first:null,c(){l=J(),B(t.$$.fragment),this.h()},l(s){l=J(),R(t.$$.fragment,s),this.h()},h(){this.first=l},m(s,r){k(s,l,r),q(t,s,r),o=!0},p(s,r){e=s;const i={};r&2055&&(i.$$scope={dirty:r,ctx:e}),t.$set(i)},i(s){o||(b(t.$$.fragment,s),o=!0)},o(s){I(t.$$.fragment,s),o=!1},d(s){s&&m(l),M(t,s)}}}function jt(f){let e=[],l=new Map,t,o,s=f[0];const r=i=>i[5];for(let i=0;i{r[u]=null}),X(),l=r[e],l?l.p(a,n):(l=r[e]=s[e](a),l.c()),b(l,1),l.m(t.parentNode,t))},i(a){o||(b(l),o=!0)},o(a){I(l),o=!1},d(a){r[e].d(a),a&&m(t)}}}function zt(f,e,l){let t,o,s,r;Ee(f,Lt,a=>l(4,o=a)),Ee(f,It,a=>l(1,s=a)),Ee(f,yt,a=>l(2,r=a));var i;return f.$$.update=()=>{f.$$.dirty&24&&l(0,t=l(3,i=o.workflow)===null||i===void 0?void 0:i.pendingActivities)},[t,s,r,i,o]}class Kt extends ut{constructor(e){super(),ct(this,e,zt,Mt,mt,{})}}function Ot(f){let e,l,t,o;return e=new vt({props:{title:`${A("workflows","pending-activities-tab")} | ${f[1]}`,url:f[0].url.href}}),t=new Kt({}),{c(){B(e.$$.fragment),l=E(),B(t.$$.fragment)},l(s){R(e.$$.fragment,s),l=T(s),R(t.$$.fragment,s)},m(s,r){q(e,s,r),k(s,l,r),q(t,s,r),o=!0},p(s,[r]){const i={};r&1&&(i.url=s[0].url.href),e.$set(i)},i(s){o||(b(e.$$.fragment,s),b(t.$$.fragment,s),o=!0)},o(s){I(e.$$.fragment,s),I(t.$$.fragment,s),o=!1},d(s){M(e,s),s&&m(l),M(t,s)}}}function Ut(f,e,l){let t;Ee(f,dt,s=>l(0,t=s));const o=t.params.workflow;return[t,o]}class nl extends ut{constructor(e){super(),ct(this,e,Ut,Ot,mt,{})}}export{nl as default}; +import{S as ut,b as ct,a as mt,e as J,f as k,z as Q,g as I,h as X,j as b,k as m,K as Ee,C as B,D as R,E as q,n as Ce,F as M,aa as _t,ab as $t,m as h,w as L,p as d,q as v,x as H,u as N,L as c,au as ht,c as E,d as T,y as z}from"../chunks/index.09834243.js";import{p as dt}from"../chunks/stores.cd833532.js";import{P as vt}from"../chunks/page-title.34fd480b.js";import{t as A}from"../chunks/translate.0a219ae4.js";import{B as ce}from"../chunks/badge.f53d8aa8.js";import{C as pt}from"../chunks/code-block.797d93a9.js";import{E as wt}from"../chunks/empty-state.aea525ff.js";import{I as bt}from"../chunks/icon.3cd9fa27.js";import{L as kt}from"../chunks/link.7cb1390a.js";import{T as gt,a as Et}from"../chunks/table-header-row.843c5ee2.js";import{T as Tt}from"../chunks/table-row.185c48e5.js";import{t as It,r as yt,b as le}from"../chunks/format-date.79f77cbf.js";import{w as Lt}from"../chunks/workflow-run.1abbba7b.js";import{k as Ge,l as Je,j as Qe}from"../chunks/format-event-attributes.8792031a.js";import{k as Xe,E as Ye}from"../chunks/format-time.650b834b.js";import{s as Te}from"../chunks/parse-with-big-int.b38462f3.js";import{t as Ze}from"../chunks/to-time-difference.be87d1bf.js";function xe(f,e,l){const t=f.slice();t[5]=e[l].id,t[6]=e[l].activityId,t[7]=ht(e[l],["id","activityId"]);const o=t[7].attempt>1;return t[8]=o,t}function Ht(f){let e,l;return e=new wt({props:{title:A("workflows","pending-activities-empty-state")}}),{c(){B(e.$$.fragment)},l(t){R(e.$$.fragment,t)},m(t,o){q(e,t,o),l=!0},p:Ce,i(t){l||(b(e.$$.fragment,t),l=!0)},o(t){I(e.$$.fragment,t),l=!1},d(t){M(e,t)}}}function Dt(f){let e,l;return e=new gt({props:{class:"mb-6 w-full min-w-[600px] table-fixed",$$slots:{headers:[qt],caption:[Bt],default:[jt]},$$scope:{ctx:f}}}),{c(){B(e.$$.fragment)},l(t){R(e.$$.fragment,t)},m(t,o){q(e,t,o),l=!0},p(t,o){const s={};o&2055&&(s.$$scope={dirty:o,ctx:t}),e.$set(s)},i(t){l||(b(e.$$.fragment,t),l=!0)},o(t){I(e.$$.fragment,t),l=!1},d(t){M(e,t)}}}function At(f){let e=f[6]+"",l;return{c(){l=L(e)},l(t){l=H(t,e)},m(t,o){k(t,l,o)},p(t,o){o&1&&e!==(e=t[6]+"")&&z(l,e)},d(t){t&&m(l)}}}function Pt(f){let e=f[7].activityType+"",l;return{c(){l=L(e)},l(t){l=H(t,e)},m(t,o){k(t,l,o)},p(t,o){o&1&&e!==(e=t[7].activityType+"")&&z(l,e)},d(t){t&&m(l)}}}function et(f){let e,l;return e=new bt({props:{class:"mr-1",name:"retry"}}),{c(){B(e.$$.fragment)},l(t){R(e.$$.fragment,t)},m(t,o){q(e,t,o),l=!0},i(t){l||(b(e.$$.fragment,t),l=!0)},o(t){I(e.$$.fragment,t),l=!1},d(t){M(e,t)}}}function St(f){let e,l=f[7].attempt+"",t,o,s=f[8]&&et();return{c(){s&&s.c(),e=E(),t=L(l)},l(r){s&&s.l(r),e=T(r),t=H(r,l)},m(r,i){s&&s.m(r,i),k(r,e,i),k(r,t,i),o=!0},p(r,i){r[8]?s?i&1&&b(s,1):(s=et(),s.c(),b(s,1),s.m(e.parentNode,e)):s&&(Q(),I(s,1,1,()=>{s=null}),X()),(!o||i&1)&&l!==(l=r[7].attempt+"")&&z(t,l)},i(r){o||(b(s),o=!0)},o(r){I(s),o=!1},d(r){s&&s.d(r),r&&m(e),r&&m(t)}}}function tt(f){let e,l,t=A("workflows","attempts-left")+"",o,s,r,i,a,n;r=new ce({props:{type:"error",$$slots:{default:[Ft]},$$scope:{ctx:f}}});let u=f[7].scheduledTime&<(f);return{c(){e=h("li"),l=h("h4"),o=L(t),s=E(),B(r.$$.fragment),i=E(),u&&u.c(),a=J(),this.h()},l($){e=d($,"LI",{class:!0});var p=v(e);l=d(p,"H4",{});var g=v(l);o=H(g,t),g.forEach(m),s=T(p),R(r.$$.fragment,p),p.forEach(m),i=T($),u&&u.l($),a=J(),this.h()},h(){N(e,"class","event-table-row svelte-pnunl5")},m($,p){k($,e,p),c(e,l),c(l,o),c(e,s),q(r,e,null),k($,i,p),u&&u.m($,p),k($,a,p),n=!0},p($,p){const g={};p&2049&&(g.$$scope={dirty:p,ctx:$}),r.$set(g),$[7].scheduledTime?u?(u.p($,p),p&1&&b(u,1)):(u=lt($),u.c(),b(u,1),u.m(a.parentNode,a)):u&&(Q(),I(u,1,1,()=>{u=null}),X())},i($){n||(b(r.$$.fragment,$),b(u),n=!0)},o($){I(r.$$.fragment,$),I(u),n=!1},d($){$&&m(e),M(r),$&&m(i),u&&u.d($),$&&m(a)}}}function Ft(f){let e=Ge(f[7].maximumAttempts,f[7].attempt)+"",l;return{c(){l=L(e)},l(t){l=H(t,e)},m(t,o){k(t,l,o)},p(t,o){o&1&&e!==(e=Ge(t[7].maximumAttempts,t[7].attempt)+"")&&z(l,e)},d(t){t&&m(l)}}}function lt(f){let e,l,t=A("workflows","next-retry")+"",o,s,r,i;return r=new ce({props:{type:"error",$$slots:{default:[Nt]},$$scope:{ctx:f}}}),{c(){e=h("li"),l=h("h4"),o=L(t),s=E(),B(r.$$.fragment),this.h()},l(a){e=d(a,"LI",{class:!0});var n=v(e);l=d(n,"H4",{});var u=v(l);o=H(u,t),u.forEach(m),s=T(n),R(r.$$.fragment,n),n.forEach(m),this.h()},h(){N(e,"class","event-table-row svelte-pnunl5")},m(a,n){k(a,e,n),c(e,l),c(l,o),c(e,s),q(r,e,null),i=!0},p(a,n){const u={};n&2049&&(u.$$scope={dirty:n,ctx:a}),r.$set(u)},i(a){i||(b(r.$$.fragment,a),i=!0)},o(a){I(r.$$.fragment,a),i=!1},d(a){a&&m(e),M(r)}}}function Nt(f){let e=Ze({date:f[7].scheduledTime,negativeDefault:A("workflows","no-retry")})+"",l;return{c(){l=L(e)},l(t){l=H(t,e)},m(t,o){k(t,l,o)},p(t,o){o&1&&e!==(e=Ze({date:t[7].scheduledTime,negativeDefault:A("workflows","no-retry")})+"")&&z(l,e)},d(t){t&&m(l)}}}function Wt(f){let e=Je(f[7].maximumAttempts)+"",l;return{c(){l=L(e)},l(t){l=H(t,e)},m(t,o){k(t,l,o)},p(t,o){o&1&&e!==(e=Je(t[7].maximumAttempts)+"")&&z(l,e)},d(t){t&&m(l)}}}function rt(f){let e,l,t,o,s=A("workflows","retry-expiration")+"",r,i,a,n=Qe(f[7].maximumAttempts,Xe(Ye({start:Date.now(),end:f[7].expirationTime})))+"",u,$,p=f[7].heartbeatDetails&&at(f),g=f[7].lastFailure&&st(f);return{c(){p&&p.c(),e=E(),g&&g.c(),l=E(),t=h("li"),o=h("h4"),r=L(s),i=E(),a=h("p"),u=L(n),this.h()},l(w){p&&p.l(w),e=T(w),g&&g.l(w),l=T(w),t=d(w,"LI",{class:!0});var P=v(t);o=d(P,"H4",{});var re=v(o);r=H(re,s),re.forEach(m),i=T(P),a=d(P,"P",{});var Z=v(a);u=H(Z,n),Z.forEach(m),P.forEach(m),this.h()},h(){N(t,"class","event-table-row svelte-pnunl5")},m(w,P){p&&p.m(w,P),k(w,e,P),g&&g.m(w,P),k(w,l,P),k(w,t,P),c(t,o),c(o,r),c(t,i),c(t,a),c(a,u),$=!0},p(w,P){w[7].heartbeatDetails?p?(p.p(w,P),P&1&&b(p,1)):(p=at(w),p.c(),b(p,1),p.m(e.parentNode,e)):p&&(Q(),I(p,1,1,()=>{p=null}),X()),w[7].lastFailure?g?(g.p(w,P),P&1&&b(g,1)):(g=st(w),g.c(),b(g,1),g.m(l.parentNode,l)):g&&(Q(),I(g,1,1,()=>{g=null}),X()),(!$||P&1)&&n!==(n=Qe(w[7].maximumAttempts,Xe(Ye({start:Date.now(),end:w[7].expirationTime})))+"")&&z(u,n)},i(w){$||(b(p),b(g),$=!0)},o(w){I(p),I(g),$=!1},d(w){p&&p.d(w),w&&m(e),g&&g.d(w),w&&m(l),w&&m(t)}}}function at(f){let e,l,t=A("workflows","heartbeat-details")+"",o,s,r,i;return r=new pt({props:{slot:"value",class:"pb-2",content:Te(f[7].heartbeatDetails),copyIconTitle:A("copy-icon-title"),copySuccessIconTitle:A("copy-success-icon-title")}}),{c(){e=h("li"),l=h("h4"),o=L(t),s=E(),B(r.$$.fragment),this.h()},l(a){e=d(a,"LI",{class:!0});var n=v(e);l=d(n,"H4",{});var u=v(l);o=H(u,t),u.forEach(m),s=T(n),R(r.$$.fragment,n),n.forEach(m),this.h()},h(){N(e,"class","event-table-row svelte-pnunl5")},m(a,n){k(a,e,n),c(e,l),c(l,o),c(e,s),q(r,e,null),i=!0},p(a,n){const u={};n&1&&(u.content=Te(a[7].heartbeatDetails)),r.$set(u)},i(a){i||(b(r.$$.fragment,a),i=!0)},o(a){I(r.$$.fragment,a),i=!1},d(a){a&&m(e),M(r)}}}function st(f){let e,l,t=A("workflows","last-failure")+"",o,s,r,i;return r=new pt({props:{slot:"value",class:"pb-2",content:Te(f[7].lastFailure),copyIconTitle:A("copy-icon-title"),copySuccessIconTitle:A("copy-success-icon-title")}}),{c(){e=h("li"),l=h("h4"),o=L(t),s=E(),B(r.$$.fragment),this.h()},l(a){e=d(a,"LI",{class:!0});var n=v(e);l=d(n,"H4",{});var u=v(l);o=H(u,t),u.forEach(m),s=T(n),R(r.$$.fragment,n),n.forEach(m),this.h()},h(){N(e,"class","event-table-row svelte-pnunl5")},m(a,n){k(a,e,n),c(e,l),c(l,o),c(e,s),q(r,e,null),i=!0},p(a,n){const u={};n&1&&(u.content=Te(a[7].lastFailure)),r.$set(u)},i(a){i||(b(r.$$.fragment,a),i=!0)},o(a){I(r.$$.fragment,a),i=!1},d(a){a&&m(e),M(r)}}}function ot(f){let e,l,t=A("workflows","last-started-time")+"",o,s,r,i=le(f[7].lastStartedTime,f[1],{relative:f[2]})+"",a;return{c(){e=h("li"),l=h("h4"),o=L(t),s=E(),r=h("p"),a=L(i),this.h()},l(n){e=d(n,"LI",{class:!0});var u=v(e);l=d(u,"H4",{});var $=v(l);o=H($,t),$.forEach(m),s=T(u),r=d(u,"P",{});var p=v(r);a=H(p,i),p.forEach(m),u.forEach(m),this.h()},h(){N(e,"class","event-table-row svelte-pnunl5")},m(n,u){k(n,e,u),c(e,l),c(l,o),c(e,s),c(e,r),c(r,a)},p(n,u){u&7&&i!==(i=le(n[7].lastStartedTime,n[1],{relative:n[2]})+"")&&z(a,i)},d(n){n&&m(e)}}}function it(f){let e,l,t=A("workflows","scheduled-time")+"",o,s,r,i=le(f[7].scheduledTime,f[1],{relative:f[2]})+"",a;return{c(){e=h("li"),l=h("h4"),o=L(t),s=E(),r=h("p"),a=L(i),this.h()},l(n){e=d(n,"LI",{class:!0});var u=v(e);l=d(u,"H4",{});var $=v(l);o=H($,t),$.forEach(m),s=T(u),r=d(u,"P",{});var p=v(r);a=H(p,i),p.forEach(m),u.forEach(m),this.h()},h(){N(e,"class","event-table-row svelte-pnunl5")},m(n,u){k(n,e,u),c(e,l),c(l,o),c(e,s),c(e,r),c(r,a)},p(n,u){u&7&&i!==(i=le(n[7].scheduledTime,n[1],{relative:n[2]})+"")&&z(a,i)},d(n){n&&m(e)}}}function ft(f){let e,l,t=A("workflows","last-worker-identity")+"",o,s,r,i=f[7].lastWorkerIdentity+"",a;return{c(){e=h("li"),l=h("h4"),o=L(t),s=E(),r=h("p"),a=L(i),this.h()},l(n){e=d(n,"LI",{class:!0});var u=v(e);l=d(u,"H4",{});var $=v(l);o=H($,t),$.forEach(m),s=T(u),r=d(u,"P",{});var p=v(r);a=H(p,i),p.forEach(m),u.forEach(m),this.h()},h(){N(e,"class","event-table-row svelte-pnunl5")},m(n,u){k(n,e,u),c(e,l),c(l,o),c(e,s),c(e,r),c(r,a)},p(n,u){u&1&&i!==(i=n[7].lastWorkerIdentity+"")&&z(a,i)},d(n){n&&m(e)}}}function Ct(f){let e,l,t,o,s,r,i,a,n=A("workflows","activity-type")+"",u,$,p,g,w,P,re=A("workflows","attempt")+"",Z,Ie,K,ye,me,O,ae,je=A("workflows","maximum-attempts")+"",Le,He,U,De,pe,V,se,Be=A("workflows","last-heartbeat")+"",Ae,Pe,oe,ie=le(f[7].lastHeartbeatTime,f[1],{relative:f[2],relativeStrict:!0})+"",_e,Se,G,fe,Re=A("workflows","state")+"",Fe,Ne,ne,ue=f[7].state+"",$e,We,he,de,ve,x;t=new kt({props:{href:"#"+f[5],$$slots:{default:[At]},$$scope:{ctx:f}}}),p=new ce({props:{type:f[8]?"error":"default",$$slots:{default:[Pt]},$$scope:{ctx:f}}}),K=new ce({props:{type:f[8]?"error":"default",$$slots:{default:[St]},$$scope:{ctx:f}}});let S=f[8]&&tt(f);U=new ce({props:{$$slots:{default:[Wt]},$$scope:{ctx:f}}});let F=f[8]&&rt(f),W=f[7].lastStartedTime&&ot(f),C=f[7].scheduledTime&&it(f),j=f[7].lastWorkerIdentity&&ft(f);return{c(){e=h("td"),l=h("div"),B(t.$$.fragment),o=E(),s=h("td"),r=h("ul"),i=h("li"),a=h("h4"),u=L(n),$=E(),B(p.$$.fragment),g=E(),w=h("li"),P=h("h4"),Z=L(re),Ie=E(),B(K.$$.fragment),ye=E(),S&&S.c(),me=E(),O=h("li"),ae=h("h4"),Le=L(je),He=E(),B(U.$$.fragment),De=E(),F&&F.c(),pe=E(),V=h("li"),se=h("h4"),Ae=L(Be),Pe=E(),oe=h("p"),_e=L(ie),Se=E(),G=h("li"),fe=h("h4"),Fe=L(Re),Ne=E(),ne=h("p"),$e=L(ue),We=E(),W&&W.c(),he=E(),C&&C.c(),de=E(),j&&j.c(),ve=E(),this.h()},l(_){e=d(_,"TD",{class:!0});var y=v(e);l=d(y,"DIV",{class:!0});var ee=v(l);R(t.$$.fragment,ee),ee.forEach(m),y.forEach(m),o=T(_),s=d(_,"TD",{class:!0});var te=v(s);r=d(te,"UL",{});var D=v(r);i=d(D,"LI",{class:!0});var Y=v(i);a=d(Y,"H4",{class:!0});var qe=v(a);u=H(qe,n),qe.forEach(m),$=T(Y),R(p.$$.fragment,Y),Y.forEach(m),g=T(D),w=d(D,"LI",{class:!0});var we=v(w);P=d(we,"H4",{});var Me=v(P);Z=H(Me,re),Me.forEach(m),Ie=T(we),R(K.$$.fragment,we),we.forEach(m),ye=T(D),S&&S.l(D),me=T(D),O=d(D,"LI",{class:!0});var be=v(O);ae=d(be,"H4",{});var ze=v(ae);Le=H(ze,je),ze.forEach(m),He=T(be),R(U.$$.fragment,be),be.forEach(m),De=T(D),F&&F.l(D),pe=T(D),V=d(D,"LI",{class:!0});var ke=v(V);se=d(ke,"H4",{});var Ke=v(se);Ae=H(Ke,Be),Ke.forEach(m),Pe=T(ke),oe=d(ke,"P",{});var Oe=v(oe);_e=H(Oe,ie),Oe.forEach(m),ke.forEach(m),Se=T(D),G=d(D,"LI",{class:!0});var ge=v(G);fe=d(ge,"H4",{});var Ue=v(fe);Fe=H(Ue,Re),Ue.forEach(m),Ne=T(ge),ne=d(ge,"P",{});var Ve=v(ne);$e=H(Ve,ue),Ve.forEach(m),ge.forEach(m),We=T(D),W&&W.l(D),he=T(D),C&&C.l(D),de=T(D),j&&j.l(D),D.forEach(m),te.forEach(m),ve=T(_),this.h()},h(){N(l,"class","pt-1"),N(e,"class","w-44 items-start break-all py-5 pl-5 pr-2 align-top"),N(a,"class","font-semibold"),N(i,"class","event-table-row svelte-pnunl5"),N(w,"class","event-table-row svelte-pnunl5"),N(O,"class","event-table-row svelte-pnunl5"),N(V,"class","event-table-row svelte-pnunl5"),N(G,"class","event-table-row svelte-pnunl5"),N(s,"class","py-4 px-5")},m(_,y){k(_,e,y),c(e,l),q(t,l,null),k(_,o,y),k(_,s,y),c(s,r),c(r,i),c(i,a),c(a,u),c(i,$),q(p,i,null),c(r,g),c(r,w),c(w,P),c(P,Z),c(w,Ie),q(K,w,null),c(r,ye),S&&S.m(r,null),c(r,me),c(r,O),c(O,ae),c(ae,Le),c(O,He),q(U,O,null),c(r,De),F&&F.m(r,null),c(r,pe),c(r,V),c(V,se),c(se,Ae),c(V,Pe),c(V,oe),c(oe,_e),c(r,Se),c(r,G),c(G,fe),c(fe,Fe),c(G,Ne),c(G,ne),c(ne,$e),c(r,We),W&&W.m(r,null),c(r,he),C&&C.m(r,null),c(r,de),j&&j.m(r,null),k(_,ve,y),x=!0},p(_,y){const ee={};y&1&&(ee.href="#"+_[5]),y&2049&&(ee.$$scope={dirty:y,ctx:_}),t.$set(ee);const te={};y&1&&(te.type=_[8]?"error":"default"),y&2049&&(te.$$scope={dirty:y,ctx:_}),p.$set(te);const D={};y&1&&(D.type=_[8]?"error":"default"),y&2049&&(D.$$scope={dirty:y,ctx:_}),K.$set(D),_[8]?S?(S.p(_,y),y&1&&b(S,1)):(S=tt(_),S.c(),b(S,1),S.m(r,me)):S&&(Q(),I(S,1,1,()=>{S=null}),X());const Y={};y&2049&&(Y.$$scope={dirty:y,ctx:_}),U.$set(Y),_[8]?F?(F.p(_,y),y&1&&b(F,1)):(F=rt(_),F.c(),b(F,1),F.m(r,pe)):F&&(Q(),I(F,1,1,()=>{F=null}),X()),(!x||y&7)&&ie!==(ie=le(_[7].lastHeartbeatTime,_[1],{relative:_[2],relativeStrict:!0})+"")&&z(_e,ie),(!x||y&1)&&ue!==(ue=_[7].state+"")&&z($e,ue),_[7].lastStartedTime?W?W.p(_,y):(W=ot(_),W.c(),W.m(r,he)):W&&(W.d(1),W=null),_[7].scheduledTime?C?C.p(_,y):(C=it(_),C.c(),C.m(r,de)):C&&(C.d(1),C=null),_[7].lastWorkerIdentity?j?j.p(_,y):(j=ft(_),j.c(),j.m(r,null)):j&&(j.d(1),j=null)},i(_){x||(b(t.$$.fragment,_),b(p.$$.fragment,_),b(K.$$.fragment,_),b(S),b(U.$$.fragment,_),b(F),x=!0)},o(_){I(t.$$.fragment,_),I(p.$$.fragment,_),I(K.$$.fragment,_),I(S),I(U.$$.fragment,_),I(F),x=!1},d(_){_&&m(e),M(t),_&&m(o),_&&m(s),M(p),M(K),S&&S.d(),M(U),F&&F.d(),W&&W.d(),C&&C.d(),j&&j.d(),_&&m(ve)}}}function nt(f,e){let l,t,o;return t=new Tt({props:{$$slots:{default:[Ct]},$$scope:{ctx:e}}}),{key:f,first:null,c(){l=J(),B(t.$$.fragment),this.h()},l(s){l=J(),R(t.$$.fragment,s),this.h()},h(){this.first=l},m(s,r){k(s,l,r),q(t,s,r),o=!0},p(s,r){e=s;const i={};r&2055&&(i.$$scope={dirty:r,ctx:e}),t.$set(i)},i(s){o||(b(t.$$.fragment,s),o=!0)},o(s){I(t.$$.fragment,s),o=!1},d(s){s&&m(l),M(t,s)}}}function jt(f){let e=[],l=new Map,t,o,s=f[0];const r=i=>i[5];for(let i=0;i{r[u]=null}),X(),l=r[e],l?l.p(a,n):(l=r[e]=s[e](a),l.c()),b(l,1),l.m(t.parentNode,t))},i(a){o||(b(l),o=!0)},o(a){I(l),o=!1},d(a){r[e].d(a),a&&m(t)}}}function zt(f,e,l){let t,o,s,r;Ee(f,Lt,a=>l(4,o=a)),Ee(f,It,a=>l(1,s=a)),Ee(f,yt,a=>l(2,r=a));var i;return f.$$.update=()=>{f.$$.dirty&24&&l(0,t=l(3,i=o.workflow)===null||i===void 0?void 0:i.pendingActivities)},[t,s,r,i,o]}class Kt extends ut{constructor(e){super(),ct(this,e,zt,Mt,mt,{})}}function Ot(f){let e,l,t,o;return e=new vt({props:{title:`${A("workflows","pending-activities-tab")} | ${f[1]}`,url:f[0].url.href}}),t=new Kt({}),{c(){B(e.$$.fragment),l=E(),B(t.$$.fragment)},l(s){R(e.$$.fragment,s),l=T(s),R(t.$$.fragment,s)},m(s,r){q(e,s,r),k(s,l,r),q(t,s,r),o=!0},p(s,[r]){const i={};r&1&&(i.url=s[0].url.href),e.$set(i)},i(s){o||(b(e.$$.fragment,s),b(t.$$.fragment,s),o=!0)},o(s){I(e.$$.fragment,s),I(t.$$.fragment,s),o=!1},d(s){M(e,s),s&&m(l),M(t,s)}}}function Ut(f,e,l){let t;Ee(f,dt,s=>l(0,t=s));const o=t.params.workflow;return[t,o]}class nl extends ut{constructor(e){super(),ct(this,e,Ut,Ot,mt,{})}}export{nl as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.5e4b6829.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.2ea40df1.js similarity index 95% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.5e4b6829.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.2ea40df1.js index 9f0326571a..4ec3563829 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.5e4b6829.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.2ea40df1.js @@ -1 +1 @@ -import{S as G,b as H,a as J,aq as U,m as T,p as C,q as S,k as $,f as b,ar as M,j as _,g,K as z,C as w,D as v,E as y,n as m,F as q,A as Y,a0 as Z,c as B,d as F,u as L,L as D,a1 as x,e as O,z as ee,h as te,a7 as ne,w as A,x as K}from"../chunks/index.09834243.js";import{p as X}from"../chunks/stores.9d4a2bb0.js";import{P as re}from"../chunks/page-title.34fd480b.js";import{t as E}from"../chunks/translate.0a219ae4.js";import{B as le}from"../chunks/button.ce5dce2f.js";import{C as oe}from"../chunks/code-block.5b4e5d21.js";import{E as ae}from"../chunks/empty-state.aea525ff.js";import{L as se}from"../chunks/loading.3bde98aa.js";import{S as ce,a as ue}from"../chunks/simple-select.1c5b21bd.js";import{T as ie}from"../chunks/toggle-switch.3808d19f.js";import{g as fe,a as me}from"../chunks/query-service.84b09f62.js";import{a as pe}from"../chunks/auth-user.f0bc59ab.js";function R(l,t,r){const e=l.slice();return e[16]=t[r],e}function $e(l){var e;let t,r;return t=new ae({props:{title:E("error-occurred"),content:E("workflows","no-workers-running-message"),error:(e=l[19])==null?void 0:e.message}}),{c(){w(t.$$.fragment)},l(n){v(t.$$.fragment,n)},m(n,o){y(t,n,o),r=!0},p:m,i(n){r||(_(t.$$.fragment,n),r=!0)},o(n){g(t.$$.fragment,n),r=!1},d(n){q(t,n)}}}function _e(l){let t,r,e,n,o,a,u,s,i,k,h,I,j;function Q(c){l[5](c)}let N={id:"query-select",label:E("workflows","query-type"),"data-testid":"query-select",$$slots:{default:[he]},$$scope:{ctx:l}};l[0]!==void 0&&(N.value=l[0]),e=new ce({props:N}),Y.push(()=>Z(e,"value",Q)),a=new le({props:{leadingIcon:"retry",loading:qe,$$slots:{default:[de]},$$scope:{ctx:l}}}),a.$on("click",l[6]),i=new ie({props:{label:E("workflows","json-formatting"),labelPosition:"left",id:"json-formatting",checked:l[2]}}),i.$on("change",l[7]);let p={ctx:l,current:null,token:null,hasCatch:!1,pending:we,then:be,catch:ke,value:15,blocks:[,,,]};return U(I=l[1],p),{c(){t=T("div"),r=T("div"),w(e.$$.fragment),o=B(),w(a.$$.fragment),u=B(),s=T("div"),w(i.$$.fragment),k=B(),h=T("div"),p.block.c(),this.h()},l(c){t=C(c,"DIV",{class:!0});var f=S(t);r=C(f,"DIV",{class:!0});var d=S(r);v(e.$$.fragment,d),o=F(d),v(a.$$.fragment,d),d.forEach($),u=F(f),s=C(f,"DIV",{class:!0});var P=S(s);v(i.$$.fragment,P),P.forEach($),f.forEach($),k=F(c),h=C(c,"DIV",{class:!0});var V=S(h);p.block.l(V),V.forEach($),this.h()},h(){L(r,"class","flex items-center gap-4"),L(s,"class","flex justify-end"),L(t,"class","flex justify-between"),L(h,"class","my-2 flex h-full items-start")},m(c,f){b(c,t,f),D(t,r),y(e,r,null),D(r,o),y(a,r,null),D(t,u),D(t,s),y(i,s,null),b(c,k,f),b(c,h,f),p.block.m(h,p.anchor=null),p.mount=()=>h,p.anchor=null,j=!0},p(c,f){l=c;const d={};f&1048576&&(d.$$scope={dirty:f,ctx:l}),!n&&f&1&&(n=!0,d.value=l[0],x(()=>n=!1)),e.$set(d);const P={};f&1048576&&(P.$$scope={dirty:f,ctx:l}),a.$set(P);const V={};f&4&&(V.checked=l[2]),i.$set(V),p.ctx=l,f&2&&I!==(I=l[1])&&U(I,p)||M(p,l,f)},i(c){j||(_(e.$$.fragment,c),_(a.$$.fragment,c),_(i.$$.fragment,c),_(p.block),j=!0)},o(c){g(e.$$.fragment,c),g(a.$$.fragment,c),g(i.$$.fragment,c);for(let f=0;f<3;f+=1){const d=p.blocks[f];g(d)}j=!1},d(c){c&&$(t),q(e),q(a),q(i),c&&$(k),c&&$(h),p.block.d(),p.token=null,p=null}}}function ge(l){let t=l[16]+"",r;return{c(){r=A(t)},l(e){r=K(e,t)},m(e,n){b(e,r,n)},p:m,d(e){e&&$(r)}}}function W(l){let t,r;return t=new ue({props:{value:l[16],$$slots:{default:[ge]},$$scope:{ctx:l}}}),{c(){w(t.$$.fragment)},l(e){v(t.$$.fragment,e)},m(e,n){y(t,e,n),r=!0},p(e,n){const o={};n&1048576&&(o.$$scope={dirty:n,ctx:e}),t.$set(o)},i(e){r||(_(t.$$.fragment,e),r=!0)},o(e){g(t.$$.fragment,e),r=!1},d(e){q(t,e)}}}function he(l){let t,r,e=l[14],n=[];for(let a=0;ag(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;at,e.anchor=null,r=!0},p(n,[o]){l=n,M(e,l,o)},i(n){r||(_(e.block),r=!0)},o(n){for(let o=0;o<3;o+=1){const a=e.blocks[o];g(a)}r=!1},d(n){n&&$(t),e.block.d(),e.token=null,e=null}}}let qe=!1;function Ee(l,t,r){let e,n;z(l,pe,c=>r(8,e=c)),z(l,X,c=>r(9,n=c));const{namespace:o,workflow:a,run:u}=n.params,s={id:a,runId:u};let i,k=fe({namespace:o,workflow:s}).then(c=>(r(0,i=i||c[0]),c)),h;const I=c=>{var f;r(1,h=me({namespace:o,workflow:s,queryType:c},(f=n.data)===null||f===void 0?void 0:f.settings,e==null?void 0:e.accessToken))};let j=!0;function Q(c){i=c,r(0,i)}const N=()=>I(i),p=()=>r(2,j=!j);return l.$$.update=()=>{l.$$.dirty&1&&i&&I(i)},[i,h,j,k,I,Q,N,p]}class Ie extends G{constructor(t){super(),H(this,t,Ee,ye,J,{})}}function je(l){let t,r,e,n;return t=new re({props:{title:`${E("workflows","queries-tab")} | ${l[1]}`,url:l[0].url.href}}),e=new Ie({}),{c(){w(t.$$.fragment),r=B(),w(e.$$.fragment)},l(o){v(t.$$.fragment,o),r=F(o),v(e.$$.fragment,o)},m(o,a){y(t,o,a),b(o,r,a),y(e,o,a),n=!0},p(o,[a]){const u={};a&1&&(u.url=o[0].url.href),t.$set(u)},i(o){n||(_(t.$$.fragment,o),_(e.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),g(e.$$.fragment,o),n=!1},d(o){q(t,o),o&&$(r),q(e,o)}}}function Te(l,t,r){let e;z(l,X,o=>r(0,e=o));const n=e.params.workflow;return[e,n]}class Ae extends G{constructor(t){super(),H(this,t,Te,je,J,{})}}export{Ae as default}; +import{S as G,b as H,a as J,aq as U,m as T,p as C,q as S,k as $,f as b,ar as M,j as _,g,K as z,C as w,D as v,E as y,n as m,F as q,A as Y,a0 as Z,c as B,d as F,u as L,L as D,a1 as x,e as O,z as ee,h as te,a7 as ne,w as A,x as K}from"../chunks/index.09834243.js";import{p as X}from"../chunks/stores.cd833532.js";import{P as re}from"../chunks/page-title.34fd480b.js";import{t as E}from"../chunks/translate.0a219ae4.js";import{B as le}from"../chunks/button.ce5dce2f.js";import{C as oe}from"../chunks/code-block.797d93a9.js";import{E as ae}from"../chunks/empty-state.aea525ff.js";import{L as se}from"../chunks/loading.3bde98aa.js";import{S as ce,a as ue}from"../chunks/simple-select.1c5b21bd.js";import{T as ie}from"../chunks/toggle-switch.3808d19f.js";import{g as fe,a as me}from"../chunks/query-service.37bc9273.js";import{a as pe}from"../chunks/auth-user.051e0dee.js";function R(l,t,r){const e=l.slice();return e[16]=t[r],e}function $e(l){var e;let t,r;return t=new ae({props:{title:E("error-occurred"),content:E("workflows","no-workers-running-message"),error:(e=l[19])==null?void 0:e.message}}),{c(){w(t.$$.fragment)},l(n){v(t.$$.fragment,n)},m(n,o){y(t,n,o),r=!0},p:m,i(n){r||(_(t.$$.fragment,n),r=!0)},o(n){g(t.$$.fragment,n),r=!1},d(n){q(t,n)}}}function _e(l){let t,r,e,n,o,a,u,s,i,k,h,I,j;function Q(c){l[5](c)}let N={id:"query-select",label:E("workflows","query-type"),"data-testid":"query-select",$$slots:{default:[he]},$$scope:{ctx:l}};l[0]!==void 0&&(N.value=l[0]),e=new ce({props:N}),Y.push(()=>Z(e,"value",Q)),a=new le({props:{leadingIcon:"retry",loading:qe,$$slots:{default:[de]},$$scope:{ctx:l}}}),a.$on("click",l[6]),i=new ie({props:{label:E("workflows","json-formatting"),labelPosition:"left",id:"json-formatting",checked:l[2]}}),i.$on("change",l[7]);let p={ctx:l,current:null,token:null,hasCatch:!1,pending:we,then:be,catch:ke,value:15,blocks:[,,,]};return U(I=l[1],p),{c(){t=T("div"),r=T("div"),w(e.$$.fragment),o=B(),w(a.$$.fragment),u=B(),s=T("div"),w(i.$$.fragment),k=B(),h=T("div"),p.block.c(),this.h()},l(c){t=C(c,"DIV",{class:!0});var f=S(t);r=C(f,"DIV",{class:!0});var d=S(r);v(e.$$.fragment,d),o=F(d),v(a.$$.fragment,d),d.forEach($),u=F(f),s=C(f,"DIV",{class:!0});var P=S(s);v(i.$$.fragment,P),P.forEach($),f.forEach($),k=F(c),h=C(c,"DIV",{class:!0});var V=S(h);p.block.l(V),V.forEach($),this.h()},h(){L(r,"class","flex items-center gap-4"),L(s,"class","flex justify-end"),L(t,"class","flex justify-between"),L(h,"class","my-2 flex h-full items-start")},m(c,f){b(c,t,f),D(t,r),y(e,r,null),D(r,o),y(a,r,null),D(t,u),D(t,s),y(i,s,null),b(c,k,f),b(c,h,f),p.block.m(h,p.anchor=null),p.mount=()=>h,p.anchor=null,j=!0},p(c,f){l=c;const d={};f&1048576&&(d.$$scope={dirty:f,ctx:l}),!n&&f&1&&(n=!0,d.value=l[0],x(()=>n=!1)),e.$set(d);const P={};f&1048576&&(P.$$scope={dirty:f,ctx:l}),a.$set(P);const V={};f&4&&(V.checked=l[2]),i.$set(V),p.ctx=l,f&2&&I!==(I=l[1])&&U(I,p)||M(p,l,f)},i(c){j||(_(e.$$.fragment,c),_(a.$$.fragment,c),_(i.$$.fragment,c),_(p.block),j=!0)},o(c){g(e.$$.fragment,c),g(a.$$.fragment,c),g(i.$$.fragment,c);for(let f=0;f<3;f+=1){const d=p.blocks[f];g(d)}j=!1},d(c){c&&$(t),q(e),q(a),q(i),c&&$(k),c&&$(h),p.block.d(),p.token=null,p=null}}}function ge(l){let t=l[16]+"",r;return{c(){r=A(t)},l(e){r=K(e,t)},m(e,n){b(e,r,n)},p:m,d(e){e&&$(r)}}}function W(l){let t,r;return t=new ue({props:{value:l[16],$$slots:{default:[ge]},$$scope:{ctx:l}}}),{c(){w(t.$$.fragment)},l(e){v(t.$$.fragment,e)},m(e,n){y(t,e,n),r=!0},p(e,n){const o={};n&1048576&&(o.$$scope={dirty:n,ctx:e}),t.$set(o)},i(e){r||(_(t.$$.fragment,e),r=!0)},o(e){g(t.$$.fragment,e),r=!1},d(e){q(t,e)}}}function he(l){let t,r,e=l[14],n=[];for(let a=0;ag(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;at,e.anchor=null,r=!0},p(n,[o]){l=n,M(e,l,o)},i(n){r||(_(e.block),r=!0)},o(n){for(let o=0;o<3;o+=1){const a=e.blocks[o];g(a)}r=!1},d(n){n&&$(t),e.block.d(),e.token=null,e=null}}}let qe=!1;function Ee(l,t,r){let e,n;z(l,pe,c=>r(8,e=c)),z(l,X,c=>r(9,n=c));const{namespace:o,workflow:a,run:u}=n.params,s={id:a,runId:u};let i,k=fe({namespace:o,workflow:s}).then(c=>(r(0,i=i||c[0]),c)),h;const I=c=>{var f;r(1,h=me({namespace:o,workflow:s,queryType:c},(f=n.data)===null||f===void 0?void 0:f.settings,e==null?void 0:e.accessToken))};let j=!0;function Q(c){i=c,r(0,i)}const N=()=>I(i),p=()=>r(2,j=!j);return l.$$.update=()=>{l.$$.dirty&1&&i&&I(i)},[i,h,j,k,I,Q,N,p]}class Ie extends G{constructor(t){super(),H(this,t,Ee,ye,J,{})}}function je(l){let t,r,e,n;return t=new re({props:{title:`${E("workflows","queries-tab")} | ${l[1]}`,url:l[0].url.href}}),e=new Ie({}),{c(){w(t.$$.fragment),r=B(),w(e.$$.fragment)},l(o){v(t.$$.fragment,o),r=F(o),v(e.$$.fragment,o)},m(o,a){y(t,o,a),b(o,r,a),y(e,o,a),n=!0},p(o,[a]){const u={};a&1&&(u.url=o[0].url.href),t.$set(u)},i(o){n||(_(t.$$.fragment,o),_(e.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),g(e.$$.fragment,o),n=!1},d(o){q(t,o),o&&$(r),q(e,o)}}}function Te(l,t,r){let e;z(l,X,o=>r(0,e=o));const n=e.params.workflow;return[e,n]}class Ae extends G{constructor(t){super(),H(this,t,Te,je,J,{})}}export{Ae as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.ecfaedc9.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.8223983b.js similarity index 93% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.ecfaedc9.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.8223983b.js index 00f06d50cd..4c02976bba 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.ecfaedc9.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.8223983b.js @@ -1 +1 @@ -import{S as F,b as K,a as O,m as S,p as L,q,k as _,f as h,z as A,g as w,h as G,j as $,K as N,C as v,D as y,E,F as T,aq as W,e as V,ar as X,w as C,x as D,L as b,y as H,n as B,c as R,d as Q,u as U}from"../chunks/index.09834243.js";import{p as J}from"../chunks/stores.9d4a2bb0.js";import{P as Y}from"../chunks/page-title.34fd480b.js";import{t as d}from"../chunks/translate.0a219ae4.js";import{B as Z}from"../chunks/button.ce5dce2f.js";import{C as x}from"../chunks/code-block.5b4e5d21.js";import{E as M}from"../chunks/empty-state.aea525ff.js";import{L as ee}from"../chunks/link.4944a6a5.js";import{L as te}from"../chunks/loading.3bde98aa.js";import{b as j}from"../chunks/query-service.84b09f62.js";import{a as re}from"../chunks/auth-user.f0bc59ab.js";import{w as oe}from"../chunks/workflow-run.889d50fd.js";function ne(c){let t,r;return t=new M({props:{title:d("workflows","stack-trace-empty-state"),testId:"query-stack-trace-empty",$$slots:{default:[se]},$$scope:{ctx:c}}}),{c(){v(t.$$.fragment)},l(e){y(t.$$.fragment,e)},m(e,o){E(t,e,o),r=!0},p(e,o){const n={};o&4105&&(n.$$scope={dirty:o,ctx:e}),t.$set(n)},i(e){r||($(t.$$.fragment,e),r=!0)},o(e){w(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function le(c){let t,r,e,o={ctx:c,current:null,token:null,hasCatch:!0,pending:ue,then:fe,catch:ce,value:10,error:11,blocks:[,,,]};return W(r=c[2],o),{c(){t=V(),o.block.c()},l(n){t=V(),o.block.l(n)},m(n,l){h(n,t,l),o.block.m(n,o.anchor=l),o.mount=()=>t.parentNode,o.anchor=t,e=!0},p(n,l){c=n,o.ctx=c,l&4&&r!==(r=c[2])&&W(r,o)||X(o,c,l)},i(n){e||($(o.block),e=!0)},o(n){for(let l=0;l<3;l+=1){const s=o.blocks[l];w(s)}e=!1},d(n){n&&_(t),o.block.d(n),o.token=null,o=null}}}function z(c){var a;let t,r=d("workflows","stack-trace-link-preface")+"",e,o,n=d("workflows","stack-trace-link-postface",{taskQueue:(a=c[0])==null?void 0:a.taskQueue})+"",l,s;return o=new ee({props:{href:"https://docs.temporal.io/workflows#stack-trace-query",$$slots:{default:[ae]},$$scope:{ctx:c}}}),{c(){t=S("p"),e=C(r),v(o.$$.fragment),l=C(n)},l(f){t=L(f,"P",{});var i=q(t);e=D(i,r),y(o.$$.fragment,i),l=D(i,n),i.forEach(_)},m(f,i){h(f,t,i),b(t,e),E(o,t,null),b(t,l),s=!0},p(f,i){var k;const u={};i&4096&&(u.$$scope={dirty:i,ctx:f}),o.$set(u),(!s||i&1)&&n!==(n=d("workflows","stack-trace-link-postface",{taskQueue:(k=f[0])==null?void 0:k.taskQueue})+"")&&H(l,n)},i(f){s||($(o.$$.fragment,f),s=!0)},o(f){w(o.$$.fragment,f),s=!1},d(f){f&&_(t),T(o)}}}function ae(c){let t=d("workflows","stack-trace-link")+"",r;return{c(){r=C(t)},l(e){r=D(e,t)},m(e,o){h(e,r,o)},p:B,d(e){e&&_(r)}}}function se(c){var o,n,l;let t,r,e=((o=c[0])==null?void 0:o.isRunning)&&((l=(n=c[3])==null?void 0:n.pollers)==null?void 0:l.length)===0&&z(c);return{c(){e&&e.c(),t=V()},l(s){e&&e.l(s),t=V()},m(s,a){e&&e.m(s,a),h(s,t,a),r=!0},p(s,a){var f,i,u;(f=s[0])!=null&&f.isRunning&&((u=(i=s[3])==null?void 0:i.pollers)==null?void 0:u.length)===0?e?(e.p(s,a),a&9&&$(e,1)):(e=z(s),e.c(),$(e,1),e.m(t.parentNode,t)):e&&(A(),w(e,1,1,()=>{e=null}),G())},i(s){r||($(e),r=!0)},o(s){w(e),r=!1},d(s){e&&e.d(s),s&&_(t)}}}function ce(c){let t,r;return t=new M({props:{title:d("error-occurred"),content:d("workflows","no-workers-running-message")}}),{c(){v(t.$$.fragment)},l(e){y(t.$$.fragment,e)},m(e,o){E(t,e,o),r=!0},p:B,i(e){r||($(t.$$.fragment,e),r=!0)},o(e){w(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function fe(c){let t,r,e,o,n=d("workflows","stack-trace-at")+"",l,s,a=c[1].toLocaleTimeString()+"",f,i,u,k,m;return r=new Z({props:{leadingIcon:"retry",loading:me,$$slots:{default:[ie]},$$scope:{ctx:c}}}),r.$on("click",c[4]),k=new x({props:{content:c[10],language:"text",testId:"query-stack-trace",copyIconTitle:d("copy-icon-title"),copySuccessIconTitle:d("copy-success-icon-title")}}),{c(){t=S("div"),v(r.$$.fragment),e=R(),o=S("p"),l=C(n),s=R(),f=C(a),i=R(),u=S("div"),v(k.$$.fragment),this.h()},l(p){t=L(p,"DIV",{class:!0});var g=q(t);y(r.$$.fragment,g),e=Q(g),o=L(g,"P",{});var I=q(o);l=D(I,n),s=Q(I),f=D(I,a),I.forEach(_),g.forEach(_),i=Q(p),u=L(p,"DIV",{class:!0});var P=q(u);y(k.$$.fragment,P),P.forEach(_),this.h()},h(){U(t,"class","flex items-center gap-4"),U(u,"class","my-2 flex h-full items-start")},m(p,g){h(p,t,g),E(r,t,null),b(t,e),b(t,o),b(o,l),b(o,s),b(o,f),h(p,i,g),h(p,u,g),E(k,u,null),m=!0},p(p,g){const I={};g&4096&&(I.$$scope={dirty:g,ctx:p}),r.$set(I),(!m||g&2)&&a!==(a=p[1].toLocaleTimeString()+"")&&H(f,a);const P={};g&4&&(P.content=p[10]),k.$set(P)},i(p){m||($(r.$$.fragment,p),$(k.$$.fragment,p),m=!0)},o(p){w(r.$$.fragment,p),w(k.$$.fragment,p),m=!1},d(p){p&&_(t),T(r),p&&_(i),p&&_(u),T(k)}}}function ie(c){let t=d("refresh")+"",r;return{c(){r=C(t)},l(e){r=D(e,t)},m(e,o){h(e,r,o)},p:B,d(e){e&&_(r)}}}function ue(c){let t,r,e,o,n=d("workflows","no-workers-failure-message")+"",l,s;return r=new te({}),{c(){t=S("div"),v(r.$$.fragment),e=R(),o=S("p"),l=C(n),this.h()},l(a){t=L(a,"DIV",{class:!0});var f=q(t);y(r.$$.fragment,f),e=Q(f),o=L(f,"P",{});var i=q(o);l=D(i,n),i.forEach(_),f.forEach(_),this.h()},h(){U(t,"class","text-center")},m(a,f){h(a,t,f),E(r,t,null),b(t,e),b(t,o),b(o,l),s=!0},p:B,i(a){s||($(r.$$.fragment,a),s=!0)},o(a){w(r.$$.fragment,a),s=!1},d(a){a&&_(t),T(r)}}}function pe(c){let t,r,e,o;const n=[le,ne],l=[];function s(a,f){var i,u,k;return(i=a[0])!=null&&i.isRunning&&((k=(u=a[3])==null?void 0:u.pollers)==null?void 0:k.length)>0?0:1}return r=s(c),e=l[r]=n[r](c),{c(){t=S("section"),e.c()},l(a){t=L(a,"SECTION",{});var f=q(t);e.l(f),f.forEach(_)},m(a,f){h(a,t,f),l[r].m(t,null),o=!0},p(a,[f]){let i=r;r=s(a),r===i?l[r].p(a,f):(A(),w(l[i],1,1,()=>{l[i]=null}),G(),e=l[r],e?e.p(a,f):(e=l[r]=n[r](a),e.c()),$(e,1),e.m(t,null))},i(a){o||($(e),o=!0)},o(a){w(e),o=!1},d(a){a&&_(t),l[r].d()}}}let me=!1;function _e(c,t,r){let e,o,n,l,s;N(c,re,m=>r(6,n=m)),N(c,J,m=>r(7,l=m)),N(c,oe,m=>r(5,s=m));const{namespace:a}=l.params;let f=new Date;const i=()=>{var m;return j({workflow:e,namespace:a},(m=l.data)===null||m===void 0?void 0:m.settings,n==null?void 0:n.accessToken)};let u;const k=()=>{var m;r(2,u=j({workflow:e,namespace:a},(m=l.data)===null||m===void 0?void 0:m.settings,n==null?void 0:n.accessToken)),u.then(()=>{r(1,f=new Date)})};return c.$$.update=()=>{c.$$.dirty&32&&r(0,{workflow:e,workers:o}=s,e,(r(3,o),r(5,s))),c.$$.dirty&1&&e!=null&&e.isRunning&&r(2,u=i())},[e,f,u,o,k,s]}class ke extends F{constructor(t){super(),K(this,t,_e,pe,O,{})}}function $e(c){let t,r,e,o;return t=new Y({props:{title:`${d("workflows","stack-trace-tab")} | ${c[1]}`,url:c[0].url.href}}),e=new ke({}),{c(){v(t.$$.fragment),r=R(),v(e.$$.fragment)},l(n){y(t.$$.fragment,n),r=Q(n),y(e.$$.fragment,n)},m(n,l){E(t,n,l),h(n,r,l),E(e,n,l),o=!0},p(n,[l]){const s={};l&1&&(s.url=n[0].url.href),t.$set(s)},i(n){o||($(t.$$.fragment,n),$(e.$$.fragment,n),o=!0)},o(n){w(t.$$.fragment,n),w(e.$$.fragment,n),o=!1},d(n){T(t,n),n&&_(r),T(e,n)}}}function ge(c,t,r){let e;N(c,J,n=>r(0,e=n));const o=e.params.workflow;return[e,o]}class Ce extends F{constructor(t){super(),K(this,t,ge,$e,O,{})}}export{Ce as default}; +import{S as F,b as K,a as O,m as S,p as L,q,k as _,f as h,z as A,g as w,h as G,j as $,K as N,C as v,D as y,E,F as T,aq as W,e as V,ar as X,w as C,x as D,L as b,y as H,n as B,c as R,d as Q,u as U}from"../chunks/index.09834243.js";import{p as J}from"../chunks/stores.cd833532.js";import{P as Y}from"../chunks/page-title.34fd480b.js";import{t as d}from"../chunks/translate.0a219ae4.js";import{B as Z}from"../chunks/button.ce5dce2f.js";import{C as x}from"../chunks/code-block.797d93a9.js";import{E as M}from"../chunks/empty-state.aea525ff.js";import{L as ee}from"../chunks/link.7cb1390a.js";import{L as te}from"../chunks/loading.3bde98aa.js";import{b as j}from"../chunks/query-service.37bc9273.js";import{a as re}from"../chunks/auth-user.051e0dee.js";import{w as oe}from"../chunks/workflow-run.1abbba7b.js";function ne(c){let t,r;return t=new M({props:{title:d("workflows","stack-trace-empty-state"),testId:"query-stack-trace-empty",$$slots:{default:[se]},$$scope:{ctx:c}}}),{c(){v(t.$$.fragment)},l(e){y(t.$$.fragment,e)},m(e,o){E(t,e,o),r=!0},p(e,o){const n={};o&4105&&(n.$$scope={dirty:o,ctx:e}),t.$set(n)},i(e){r||($(t.$$.fragment,e),r=!0)},o(e){w(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function le(c){let t,r,e,o={ctx:c,current:null,token:null,hasCatch:!0,pending:ue,then:fe,catch:ce,value:10,error:11,blocks:[,,,]};return W(r=c[2],o),{c(){t=V(),o.block.c()},l(n){t=V(),o.block.l(n)},m(n,l){h(n,t,l),o.block.m(n,o.anchor=l),o.mount=()=>t.parentNode,o.anchor=t,e=!0},p(n,l){c=n,o.ctx=c,l&4&&r!==(r=c[2])&&W(r,o)||X(o,c,l)},i(n){e||($(o.block),e=!0)},o(n){for(let l=0;l<3;l+=1){const s=o.blocks[l];w(s)}e=!1},d(n){n&&_(t),o.block.d(n),o.token=null,o=null}}}function z(c){var a;let t,r=d("workflows","stack-trace-link-preface")+"",e,o,n=d("workflows","stack-trace-link-postface",{taskQueue:(a=c[0])==null?void 0:a.taskQueue})+"",l,s;return o=new ee({props:{href:"https://docs.temporal.io/workflows#stack-trace-query",$$slots:{default:[ae]},$$scope:{ctx:c}}}),{c(){t=S("p"),e=C(r),v(o.$$.fragment),l=C(n)},l(f){t=L(f,"P",{});var i=q(t);e=D(i,r),y(o.$$.fragment,i),l=D(i,n),i.forEach(_)},m(f,i){h(f,t,i),b(t,e),E(o,t,null),b(t,l),s=!0},p(f,i){var k;const u={};i&4096&&(u.$$scope={dirty:i,ctx:f}),o.$set(u),(!s||i&1)&&n!==(n=d("workflows","stack-trace-link-postface",{taskQueue:(k=f[0])==null?void 0:k.taskQueue})+"")&&H(l,n)},i(f){s||($(o.$$.fragment,f),s=!0)},o(f){w(o.$$.fragment,f),s=!1},d(f){f&&_(t),T(o)}}}function ae(c){let t=d("workflows","stack-trace-link")+"",r;return{c(){r=C(t)},l(e){r=D(e,t)},m(e,o){h(e,r,o)},p:B,d(e){e&&_(r)}}}function se(c){var o,n,l;let t,r,e=((o=c[0])==null?void 0:o.isRunning)&&((l=(n=c[3])==null?void 0:n.pollers)==null?void 0:l.length)===0&&z(c);return{c(){e&&e.c(),t=V()},l(s){e&&e.l(s),t=V()},m(s,a){e&&e.m(s,a),h(s,t,a),r=!0},p(s,a){var f,i,u;(f=s[0])!=null&&f.isRunning&&((u=(i=s[3])==null?void 0:i.pollers)==null?void 0:u.length)===0?e?(e.p(s,a),a&9&&$(e,1)):(e=z(s),e.c(),$(e,1),e.m(t.parentNode,t)):e&&(A(),w(e,1,1,()=>{e=null}),G())},i(s){r||($(e),r=!0)},o(s){w(e),r=!1},d(s){e&&e.d(s),s&&_(t)}}}function ce(c){let t,r;return t=new M({props:{title:d("error-occurred"),content:d("workflows","no-workers-running-message")}}),{c(){v(t.$$.fragment)},l(e){y(t.$$.fragment,e)},m(e,o){E(t,e,o),r=!0},p:B,i(e){r||($(t.$$.fragment,e),r=!0)},o(e){w(t.$$.fragment,e),r=!1},d(e){T(t,e)}}}function fe(c){let t,r,e,o,n=d("workflows","stack-trace-at")+"",l,s,a=c[1].toLocaleTimeString()+"",f,i,u,k,m;return r=new Z({props:{leadingIcon:"retry",loading:me,$$slots:{default:[ie]},$$scope:{ctx:c}}}),r.$on("click",c[4]),k=new x({props:{content:c[10],language:"text",testId:"query-stack-trace",copyIconTitle:d("copy-icon-title"),copySuccessIconTitle:d("copy-success-icon-title")}}),{c(){t=S("div"),v(r.$$.fragment),e=R(),o=S("p"),l=C(n),s=R(),f=C(a),i=R(),u=S("div"),v(k.$$.fragment),this.h()},l(p){t=L(p,"DIV",{class:!0});var g=q(t);y(r.$$.fragment,g),e=Q(g),o=L(g,"P",{});var I=q(o);l=D(I,n),s=Q(I),f=D(I,a),I.forEach(_),g.forEach(_),i=Q(p),u=L(p,"DIV",{class:!0});var P=q(u);y(k.$$.fragment,P),P.forEach(_),this.h()},h(){U(t,"class","flex items-center gap-4"),U(u,"class","my-2 flex h-full items-start")},m(p,g){h(p,t,g),E(r,t,null),b(t,e),b(t,o),b(o,l),b(o,s),b(o,f),h(p,i,g),h(p,u,g),E(k,u,null),m=!0},p(p,g){const I={};g&4096&&(I.$$scope={dirty:g,ctx:p}),r.$set(I),(!m||g&2)&&a!==(a=p[1].toLocaleTimeString()+"")&&H(f,a);const P={};g&4&&(P.content=p[10]),k.$set(P)},i(p){m||($(r.$$.fragment,p),$(k.$$.fragment,p),m=!0)},o(p){w(r.$$.fragment,p),w(k.$$.fragment,p),m=!1},d(p){p&&_(t),T(r),p&&_(i),p&&_(u),T(k)}}}function ie(c){let t=d("refresh")+"",r;return{c(){r=C(t)},l(e){r=D(e,t)},m(e,o){h(e,r,o)},p:B,d(e){e&&_(r)}}}function ue(c){let t,r,e,o,n=d("workflows","no-workers-failure-message")+"",l,s;return r=new te({}),{c(){t=S("div"),v(r.$$.fragment),e=R(),o=S("p"),l=C(n),this.h()},l(a){t=L(a,"DIV",{class:!0});var f=q(t);y(r.$$.fragment,f),e=Q(f),o=L(f,"P",{});var i=q(o);l=D(i,n),i.forEach(_),f.forEach(_),this.h()},h(){U(t,"class","text-center")},m(a,f){h(a,t,f),E(r,t,null),b(t,e),b(t,o),b(o,l),s=!0},p:B,i(a){s||($(r.$$.fragment,a),s=!0)},o(a){w(r.$$.fragment,a),s=!1},d(a){a&&_(t),T(r)}}}function pe(c){let t,r,e,o;const n=[le,ne],l=[];function s(a,f){var i,u,k;return(i=a[0])!=null&&i.isRunning&&((k=(u=a[3])==null?void 0:u.pollers)==null?void 0:k.length)>0?0:1}return r=s(c),e=l[r]=n[r](c),{c(){t=S("section"),e.c()},l(a){t=L(a,"SECTION",{});var f=q(t);e.l(f),f.forEach(_)},m(a,f){h(a,t,f),l[r].m(t,null),o=!0},p(a,[f]){let i=r;r=s(a),r===i?l[r].p(a,f):(A(),w(l[i],1,1,()=>{l[i]=null}),G(),e=l[r],e?e.p(a,f):(e=l[r]=n[r](a),e.c()),$(e,1),e.m(t,null))},i(a){o||($(e),o=!0)},o(a){w(e),o=!1},d(a){a&&_(t),l[r].d()}}}let me=!1;function _e(c,t,r){let e,o,n,l,s;N(c,re,m=>r(6,n=m)),N(c,J,m=>r(7,l=m)),N(c,oe,m=>r(5,s=m));const{namespace:a}=l.params;let f=new Date;const i=()=>{var m;return j({workflow:e,namespace:a},(m=l.data)===null||m===void 0?void 0:m.settings,n==null?void 0:n.accessToken)};let u;const k=()=>{var m;r(2,u=j({workflow:e,namespace:a},(m=l.data)===null||m===void 0?void 0:m.settings,n==null?void 0:n.accessToken)),u.then(()=>{r(1,f=new Date)})};return c.$$.update=()=>{c.$$.dirty&32&&r(0,{workflow:e,workers:o}=s,e,(r(3,o),r(5,s))),c.$$.dirty&1&&e!=null&&e.isRunning&&r(2,u=i())},[e,f,u,o,k,s]}class ke extends F{constructor(t){super(),K(this,t,_e,pe,O,{})}}function $e(c){let t,r,e,o;return t=new Y({props:{title:`${d("workflows","stack-trace-tab")} | ${c[1]}`,url:c[0].url.href}}),e=new ke({}),{c(){v(t.$$.fragment),r=R(),v(e.$$.fragment)},l(n){y(t.$$.fragment,n),r=Q(n),y(e.$$.fragment,n)},m(n,l){E(t,n,l),h(n,r,l),E(e,n,l),o=!0},p(n,[l]){const s={};l&1&&(s.url=n[0].url.href),t.$set(s)},i(n){o||($(t.$$.fragment,n),$(e.$$.fragment,n),o=!0)},o(n){w(t.$$.fragment,n),w(e.$$.fragment,n),o=!1},d(n){T(t,n),n&&_(r),T(e,n)}}}function ge(c,t,r){let e;N(c,J,n=>r(0,e=n));const o=e.params.workflow;return[e,o]}class Ce extends F{constructor(t){super(),K(this,t,ge,$e,O,{})}}export{Ce as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.82047835.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.9246e0a1.js similarity index 89% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.82047835.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.9246e0a1.js index 876eabd710..48ab2de85c 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.82047835.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.9246e0a1.js @@ -1 +1 @@ -import{S as w,b as k,a as $,C as i,D as m,E as u,j as p,g as l,F as c,K as g,c as b,d as h,f as y,k as Q}from"../chunks/index.09834243.js";import{p as P}from"../chunks/stores.9d4a2bb0.js";import{P as W}from"../chunks/page-title.34fd480b.js";import{t as C}from"../chunks/translate.0a219ae4.js";import{W as R}from"../chunks/workers-list.f1c48798.js";import{w as S}from"../chunks/workflow-run.889d50fd.js";function j(a){var s;let t,o;return t=new R({props:{taskQueue:(s=a[2])==null?void 0:s.taskQueue,workers:a[3],compatibility:a[1],reachability:a[0]}}),{c(){i(t.$$.fragment)},l(r){m(t.$$.fragment,r)},m(r,e){u(t,r,e),o=!0},p(r,[e]){var f;const n={};e&4&&(n.taskQueue=(f=r[2])==null?void 0:f.taskQueue),e&8&&(n.workers=r[3]),e&2&&(n.compatibility=r[1]),e&1&&(n.reachability=r[0]),t.$set(n)},i(r){o||(p(t.$$.fragment,r),o=!0)},o(r){l(t.$$.fragment,r),o=!1},d(r){c(t,r)}}}function q(a,t,o){let s,r,e,n,f;return g(a,S,_=>o(4,f=_)),a.$$.update=()=>{a.$$.dirty&16&&o(3,{workers:s,workflow:r,compatibility:e,reachability:n}=f,s,(o(2,r),o(4,f)),(o(1,e),o(4,f)),(o(0,n),o(4,f)))},[n,e,r,s,f]}class D extends w{constructor(t){super(),k(this,t,q,j,$,{})}}function E(a){let t,o,s,r;return t=new W({props:{title:`${C("workflows","workers-tab")} | ${a[1]}`,url:a[0].url.href}}),s=new D({}),{c(){i(t.$$.fragment),o=b(),i(s.$$.fragment)},l(e){m(t.$$.fragment,e),o=h(e),m(s.$$.fragment,e)},m(e,n){u(t,e,n),y(e,o,n),u(s,e,n),r=!0},p(e,[n]){const f={};n&1&&(f.url=e[0].url.href),t.$set(f)},i(e){r||(p(t.$$.fragment,e),p(s.$$.fragment,e),r=!0)},o(e){l(t.$$.fragment,e),l(s.$$.fragment,e),r=!1},d(e){c(t,e),e&&Q(o),c(s,e)}}}function F(a,t,o){let s;g(a,P,e=>o(0,s=e));const r=s.params.workflow;return[s,r]}class I extends w{constructor(t){super(),k(this,t,F,E,$,{})}}export{I as default}; +import{S as w,b as k,a as $,C as i,D as m,E as u,j as p,g as l,F as c,K as g,c as b,d as h,f as y,k as Q}from"../chunks/index.09834243.js";import{p as P}from"../chunks/stores.cd833532.js";import{P as W}from"../chunks/page-title.34fd480b.js";import{t as C}from"../chunks/translate.0a219ae4.js";import{W as R}from"../chunks/workers-list.291f60eb.js";import{w as S}from"../chunks/workflow-run.1abbba7b.js";function j(a){var s;let t,o;return t=new R({props:{taskQueue:(s=a[2])==null?void 0:s.taskQueue,workers:a[3],compatibility:a[1],reachability:a[0]}}),{c(){i(t.$$.fragment)},l(r){m(t.$$.fragment,r)},m(r,e){u(t,r,e),o=!0},p(r,[e]){var f;const n={};e&4&&(n.taskQueue=(f=r[2])==null?void 0:f.taskQueue),e&8&&(n.workers=r[3]),e&2&&(n.compatibility=r[1]),e&1&&(n.reachability=r[0]),t.$set(n)},i(r){o||(p(t.$$.fragment,r),o=!0)},o(r){l(t.$$.fragment,r),o=!1},d(r){c(t,r)}}}function q(a,t,o){let s,r,e,n,f;return g(a,S,_=>o(4,f=_)),a.$$.update=()=>{a.$$.dirty&16&&o(3,{workers:s,workflow:r,compatibility:e,reachability:n}=f,s,(o(2,r),o(4,f)),(o(1,e),o(4,f)),(o(0,n),o(4,f)))},[n,e,r,s,f]}class D extends w{constructor(t){super(),k(this,t,q,j,$,{})}}function E(a){let t,o,s,r;return t=new W({props:{title:`${C("workflows","workers-tab")} | ${a[1]}`,url:a[0].url.href}}),s=new D({}),{c(){i(t.$$.fragment),o=b(),i(s.$$.fragment)},l(e){m(t.$$.fragment,e),o=h(e),m(s.$$.fragment,e)},m(e,n){u(t,e,n),y(e,o,n),u(s,e,n),r=!0},p(e,[n]){const f={};n&1&&(f.url=e[0].url.href),t.$set(f)},i(e){r||(p(t.$$.fragment,e),p(s.$$.fragment,e),r=!0)},o(e){l(t.$$.fragment,e),l(s.$$.fragment,e),r=!1},d(e){c(t,e),e&&Q(o),c(s,e)}}}function F(a,t,o){let s;g(a,P,e=>o(0,s=e));const r=s.params.workflow;return[s,r]}class I extends w{constructor(t){super(),k(this,t,F,E,$,{})}}export{I as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-page.ts.de9a8f54.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-page.ts.3127b634.js similarity index 57% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-page.ts.de9a8f54.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-page.ts.3127b634.js index f93c143c44..54b0bb1bcd 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-page.ts.de9a8f54.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-_workflow_-page.ts.3127b634.js @@ -1 +1 @@ -import"../chunks/index.b1f5b21f.js";import"../chunks/workflow-service.56e6b262.js";import{l as t}from"../chunks/_page.3ea24305.js";export{t as load}; +import"../chunks/index.b1f5b21f.js";import"../chunks/workflow-service.14ef2cb6.js";import{l as t}from"../chunks/_page.fd51d2ec.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-page.svelte.c7e322ec.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-page.svelte.44bb46c6.js similarity index 59% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-page.svelte.c7e322ec.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-page.svelte.44bb46c6.js index 8c859c29e0..3574248200 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-page.svelte.c7e322ec.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-_namespace_-workflows-page.svelte.44bb46c6.js @@ -1,3 +1,3 @@ -import{S as fe,b as ue,a as ce,e as ee,f as I,z as X,g as h,h as Z,j as p,k as g,K as U,G as Ie,H as Ee,I as Te,J as De,w as z,x as Q,y as ae,n as K,A as ie,a0 as me,C as E,D as T,E as D,a1 as _e,F as L,M as pt,m as W,p as O,q as V,u as S,c as N,d as P,L as A,aa as $t,at as Mr,a7 as Se,P as pe,Q as ge,i as ir,a2 as Rr,r as Lt,a5 as te,ac as gt,ag as vt,a3 as st,a4 as at,af as Ke,V as Ye,ab as Ct,Z as pl,_ as $l,ap as fr,N as Wt,U as Ot,as as Hr,ae as Ur,l as qr,aj as jr,a8 as gl,v as hl,s as el,$ as Jt,o as ur,a6 as zr}from"../chunks/index.09834243.js";import{p as Le}from"../chunks/stores.9d4a2bb0.js";import{a as ht,i as Qr,e as bl}from"../chunks/workflow-service.56e6b262.js";import{P as Kr}from"../chunks/page-title.34fd480b.js";import{w as Xe,j as ft}from"../chunks/singletons.aae8f11e.js";import{I as Pe}from"../chunks/input.8b192295.js";import{M as Gr}from"../chunks/modal.0783f753.js";import{t as M}from"../chunks/translate.0a219ae4.js";import{A as dt}from"../chunks/workflow-actions.6f88149c.js";import{a as Yr}from"../chunks/auth-user.f0bc59ab.js";import{g as Jr,f as Xr,C as zt,a as Zr,w as xr}from"../chunks/workflow-terminate-enabled.e1ebd541.js";import{v as eo,t as kl}from"../chunks/toaster.d089c03c.js";import{B as it}from"../chunks/button.ce5dce2f.js";import{c as to,M as tt,a as lt,b as nt,d as ye,f as yt,e as cr}from"../chunks/menu.c7988d0b.js";import{w as wl,a as lo,b as vl,S as no,O as ro}from"../chunks/option.9ca3e3be.js";import{I as We,S as oo}from"../chunks/icon.3cd9fa27.js";import{l as Ze}from"../chunks/labs-mode.476dd7f5.js";import{M as Bt}from"../chunks/menu-divider.6c0ebb73.js";import{T as so,a as Il}from"../chunks/toggle-buttons.c3213cc2.js";import{w as de,p as tl}from"../chunks/filters.2cde2000.js";import{i as El,g as mr,t as Vt,r as _r,b as Oe}from"../chunks/format-date.71526e4c.js";import{t as ao,j as dr,F as io,b as Tl,S as fo,W as uo,a as co}from"../chunks/index.6463bb02.js";import{r as Qt,t as mo,z as Kt,l as _o,m as po,n as ll,o as $o,A as Je,B as Mt,C as ct,D as Dl,u as Nt}from"../chunks/format-time.650b834b.js";import{j as Ll,e as go,d as ho,k as bo,s as ko,a as wo}from"../chunks/parse-with-big-int.b38462f3.js";import{u as Ue}from"../chunks/update-query-parameters.b3356c21.js";import{r as ze,a as mt,l as St,u as bt,b as Rt,f as vo,c as pr,d as sl,w as Ht,g as Io}from"../chunks/workflows.00769fe8.js";import{T as Eo}from"../chunks/toggle-switch.3808d19f.js";import{s as kt,b as To,c as $r,i as Do,w as Lo}from"../chunks/search-attributes.03d6dc08.js";import{I as Ve}from"../chunks/icon-button.b5ab850e.js";import{a as gr}from"../chunks/radio-input.c176e21a.js";import{W as At}from"../chunks/workflow-status.cf27e560.js";import{a as Co}from"../chunks/decode-payload.1c6b12fc.js";import{D as yo}from"../chunks/drawer.14ba7d3c.js";import{A as Bo}from"../chunks/alert.67786ddb.js";import{L as wt}from"../chunks/link.4944a6a5.js";import{L as al}from"../chunks/loading.3bde98aa.js";import{P as So}from"../chunks/table-header-row.843c5ee2.js";import{p as Ft,d as Cl,c as Pt,a as Ao,M as yl,o as hr,F as No,P as Po}from"../chunks/pagination.3eb97d83.js";import{n as Fo,l as Ut}from"../chunks/namespaces.5721b9bd.js";import{p as br}from"../chunks/persist-store.ad106cab.js";import{B as Wo}from"../chunks/badge.f53d8aa8.js";import{g as Oo}from"../chunks/route-for.3b55a4c6.js";import{i as Vo}from"../chunks/version-check.d006b302.js";import{t as Mo,s as Ro}from"../chunks/versions.2bb4ba4c.js";import{c as Ho}from"../chunks/core-user.3a655c21.js";import{b as Uo,c as qo}from"../chunks/batch-operations.2ef00b45.js";import{S as Xt,a as ot}from"../chunks/simple-select.1c5b21bd.js";import{E as kr}from"../chunks/empty-state.aea525ff.js";function il(r,e){Qt(2,arguments);var l=mo(r).getTime(),t=Kt(e);return new Date(l+t)}var jo=36e5;function wr(r,e){Qt(2,arguments);var l=Kt(e);return il(r,l*jo)}var zo=6e4;function vr(r,e){Qt(2,arguments);var l=Kt(e);return il(r,l*zo)}function Ir(r,e){Qt(2,arguments);var l=Kt(e);return il(r,l*1e3)}const Qo=r=>({}),Bl=r=>({});function Ko(r){let e;const l=r[2].fallback,t=Ie(l,r,r[1],Bl);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,o){t&&t.m(n,o),e=!0},p(n,o){t&&t.p&&(!e||o&2)&&Ee(t,l,n,n[1],e?De(l,n[1],o,Qo):Te(n[1]),Bl)},i(n){e||(p(t,n),e=!0)},o(n){h(t,n),e=!1},d(n){t&&t.d(n)}}}function Go(r){let e;const l=r[2].default,t=Ie(l,r,r[1],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,o){t&&t.m(n,o),e=!0},p(n,o){t&&t.p&&(!e||o&2)&&Ee(t,l,n,n[1],e?De(l,n[1],o,null):Te(n[1]),null)},i(n){e||(p(t,n),e=!0)},o(n){h(t,n),e=!1},d(n){t&&t.d(n)}}}function Yo(r){let e,l,t,n;const o=[Go,Ko],a=[];function i(s,f){return s[0]?0:1}return e=i(r),l=a[e]=o[e](r),{c(){l.c(),t=ee()},l(s){l.l(s),t=ee()},m(s,f){a[e].m(s,f),I(s,t,f),n=!0},p(s,[f]){let u=e;e=i(s),e===u?a[e].p(s,f):(X(),h(a[u],1,1,()=>{a[u]=null}),Z(),l=a[e],l?l.p(s,f):(l=a[e]=o[e](s),l.c()),p(l,1),l.m(t.parentNode,t))},i(s){n||(p(l),n=!0)},o(s){h(l),n=!1},d(s){a[e].d(s),s&&g(t)}}}function Jo(r,e,l){let t;U(r,ht,a=>l(0,t=a));let{$$slots:n={},$$scope:o}=e;return r.$$set=a=>{"$$scope"in a&&l(1,o=a.$$scope)},[t,o,n]}class Xo extends fe{constructor(e){super(),ue(this,e,Jo,Yo,ce,{})}}function Zo(r){let e;const l=r[6].default,t=Ie(l,r,r[5],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,o){t&&t.m(n,o),e=!0},p(n,o){t&&t.p&&(!e||o&32)&&Ee(t,l,n,n[5],e?De(l,n[5],o,null):Te(n[5]),null)},i(n){e||(p(t,n),e=!0)},o(n){h(t,n),e=!1},d(n){t&&t.d(n)}}}function xo(r){let e;return{c(){e=z(r[1])},l(l){e=Q(l,r[1])},m(l,t){I(l,e,t)},p(l,t){t&2&&ae(e,l[1])},i:K,o:K,d(l){l&&g(e)}}}function es(r){let e,l,t,n;const o=[xo,Zo],a=[];function i(s,f){return s[1]!==s[0]?0:1}return e=i(r),l=a[e]=o[e](r),{c(){l.c(),t=ee()},l(s){l.l(s),t=ee()},m(s,f){a[e].m(s,f),I(s,t,f),n=!0},p(s,[f]){let u=e;e=i(s),e===u?a[e].p(s,f):(X(),h(a[u],1,1,()=>{a[u]=null}),Z(),l=a[e],l?l.p(s,f):(l=a[e]=o[e](s),l.c()),p(l,1),l.m(t.parentNode,t))},i(s){n||(p(l),n=!0)},o(s){h(l),n=!1},d(s){a[e].d(s),s&&g(t)}}}function ts(r,e,l){let t,{$$slots:n={},$$scope:o}=e,{key:a}=e,{namespace:i}=e,{count:s=void 0}=e,{replace:f=void 0}=e;return r.$$set=u=>{"key"in u&&l(0,a=u.key),"namespace"in u&&l(2,i=u.namespace),"count"in u&&l(3,s=u.count),"replace"in u&&l(4,f=u.replace),"$$scope"in u&&l(5,o=u.$$scope)},r.$$.update=()=>{r.$$.dirty&29&&l(1,t=M(i,a,s,f))},[a,t,i,s,f,o,n]}class Fe extends fe{constructor(e){super(),ue(this,e,ts,es,ce,{key:0,namespace:2,count:3,replace:4})}}function ls(r){let e,l,t;return l=new Fe({props:{namespace:"workflows",key:"batch-operation-modal-title",replace:{action:r[3]}}}),{c(){e=W("h3"),E(l.$$.fragment),this.h()},l(n){e=O(n,"H3",{slot:!0});var o=V(e);T(l.$$.fragment,o),o.forEach(g),this.h()},h(){S(e,"slot","title")},m(n,o){I(n,e,o),D(l,e,null),t=!0},p(n,o){const a={};o&8&&(a.replace={action:n[3]}),l.$set(a)},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){h(l.$$.fragment,n),t=!1},d(n){n&&g(e),L(l)}}}function ns(r){let e,l,t;return l=new Fe({props:{namespace:"workflows",key:r[0]===dt.Cancel?"batch-cancel-confirmation":"batch-terminate-confirmation",count:r[1]}}),{c(){e=W("p"),E(l.$$.fragment)},l(n){e=O(n,"P",{});var o=V(e);T(l.$$.fragment,o),o.forEach(g)},m(n,o){I(n,e,o),D(l,e,null),t=!0},p(n,o){const a={};o&1&&(a.key=n[0]===dt.Cancel?"batch-cancel-confirmation":"batch-terminate-confirmation"),o&2&&(a.count=n[1]),l.$set(a)},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){h(l.$$.fragment,n),t=!1},d(n){n&&g(e),L(l)}}}function rs(r){let e,l,t,n,o,a,i,s,f,u;return l=new Fe({props:{namespace:"workflows",key:"batch-operation-confirmation-all",replace:{action:r[3]}}}),f=new Fe({props:{namespace:"workflows",key:"batch-operation-count-disclaimer",replace:{action:r[3]}}}),{c(){e=W("p"),E(l.$$.fragment),t=N(),n=W("div"),o=W("code"),a=z(r[2]),i=N(),s=W("span"),E(f.$$.fragment),this.h()},l(c){e=O(c,"P",{class:!0});var m=V(e);T(l.$$.fragment,m),m.forEach(g),t=P(c),n=O(c,"DIV",{class:!0});var _=V(n);o=O(_,"CODE",{"data-testid":!0});var d=V(o);a=Q(d,r[2]),d.forEach(g),_.forEach(g),i=P(c),s=O(c,"SPAN",{class:!0});var $=V(s);T(f.$$.fragment,$),$.forEach(g),this.h()},h(){S(e,"class","mb-2"),S(o,"data-testid","batch-action-workflows-query"),S(n,"class","mb-2 overflow-scroll whitespace-nowrap rounded border border-primary bg-gray-100 p-2"),S(s,"class","text-xs")},m(c,m){I(c,e,m),D(l,e,null),I(c,t,m),I(c,n,m),A(n,o),A(o,a),I(c,i,m),I(c,s,m),D(f,s,null),u=!0},p(c,m){const _={};m&8&&(_.replace={action:c[3]}),l.$set(_),(!u||m&4)&&ae(a,c[2]);const d={};m&8&&(d.replace={action:c[3]}),f.$set(d)},i(c){u||(p(l.$$.fragment,c),p(f.$$.fragment,c),u=!0)},o(c){h(l.$$.fragment,c),h(f.$$.fragment,c),u=!1},d(c){c&&g(e),L(l),c&&g(t),c&&g(n),c&&g(i),c&&g(s),L(f)}}}function os(r){let e,l,t,n,o,a,i,s,f,u;const c=[rs,ns],m=[];function _(v,k){return v[11]?0:1}l=_(r),t=m[l]=c[l](r);function d(v){r[19](v)}let $={id:`bulk-action-reason-${r[0]}`,label:M("reason"),hintText:M("workflows","batch-operation-confirmation-input-hint",{placeholder:r[9]}),placeholder:r[9]};r[4]!==void 0&&($.value=r[4]),o=new Pe({props:$}),ie.push(()=>me(o,"value",d));function b(v){r[20](v)}let w={id:"batch-operation-job-id",label:M("job-id"),hintText:r[8]?M("batch","job-id-input-hint"):M("batch","job-id-input-error"),placeholder:r[12],valid:r[8]};return r[7]!==void 0&&(w.value=r[7]),s=new Pe({props:w}),ie.push(()=>me(s,"value",b)),s.$on("input",r[14]),{c(){e=W("div"),t.c(),n=N(),E(o.$$.fragment),i=N(),E(s.$$.fragment),this.h()},l(v){e=O(v,"DIV",{class:!0});var k=V(e);t.l(k),n=P(k),T(o.$$.fragment,k),i=P(k),T(s.$$.fragment,k),k.forEach(g),this.h()},h(){S(e,"class","mb-4 flex flex-col gap-2")},m(v,k){I(v,e,k),m[l].m(e,null),A(e,n),D(o,e,null),A(e,i),D(s,e,null),u=!0},p(v,k){let B=l;l=_(v),l===B?m[l].p(v,k):(X(),h(m[B],1,1,()=>{m[B]=null}),Z(),t=m[l],t?t.p(v,k):(t=m[l]=c[l](v),t.c()),p(t,1),t.m(e,n));const y={};k&1&&(y.id=`bulk-action-reason-${v[0]}`),k&512&&(y.hintText=M("workflows","batch-operation-confirmation-input-hint",{placeholder:v[9]})),k&512&&(y.placeholder=v[9]),!a&&k&16&&(a=!0,y.value=v[4],_e(()=>a=!1)),o.$set(y);const C={};k&256&&(C.hintText=v[8]?M("batch","job-id-input-hint"):M("batch","job-id-input-error")),k&256&&(C.valid=v[8]),!f&&k&128&&(f=!0,C.value=v[7],_e(()=>f=!1)),s.$set(C)},i(v){u||(p(t),p(o.$$.fragment,v),p(s.$$.fragment,v),u=!0)},o(v){h(t),h(o.$$.fragment,v),h(s.$$.fragment,v),u=!1},d(v){v&&g(e),m[l].d(),L(o),L(s)}}}function ss(r){let e,l,t,n;function o(s){r[21](s)}function a(s){r[22](s)}let i={id:`batch-operation-confirmation-modal-${r[0]}`,"data-testid":"batch-"+r[3]+"-confirmation",confirmType:"destructive",cancelText:M("cancel"),confirmDisabled:!r[8],confirmText:r[10],$$slots:{content:[os],title:[ls]},$$scope:{ctx:r}};return r[5]!==void 0&&(i.open=r[5]),r[6]!==void 0&&(i.error=r[6]),e=new Gr({props:i}),ie.push(()=>me(e,"open",o)),ie.push(()=>me(e,"error",a)),e.$on("confirmModal",r[13]),{c(){E(e.$$.fragment)},l(s){T(e.$$.fragment,s)},m(s,f){D(e,s,f),n=!0},p(s,[f]){const u={};f&1&&(u.id=`batch-operation-confirmation-modal-${s[0]}`),f&8&&(u["data-testid"]="batch-"+s[3]+"-confirmation"),f&256&&(u.confirmDisabled=!s[8]),f&1024&&(u.confirmText=s[10]),f&16780191&&(u.$$scope={dirty:f,ctx:s}),!l&&f&32&&(l=!0,u.open=s[5],_e(()=>l=!1)),!t&&f&64&&(t=!0,u.error=s[6],_e(()=>t=!1)),e.$set(u)},i(s){n||(p(e.$$.fragment,s),n=!0)},o(s){h(e.$$.fragment,s),n=!1},d(s){L(e,s)}}}function as(r,e,l){let t,n,o,a,i;U(r,Yr,F=>l(18,a=F)),U(r,et,F=>l(11,i=F));let{action:s}=e,{actionableWorkflowsLength:f}=e,{query:u}=e,c="",m=!1,_="",d="",$=eo(),b=!0;const w=()=>{l(4,c=""),l(5,m=!0)},v=()=>l(5,m=!1),k=F=>l(6,_=F),B=pt(),y=()=>{l(6,_=""),B("confirm",{reason:Xr({action:s,reason:c,email:a.email}),jobId:d||$})},C=F=>{/^[\w.~-]*$/.test(F.target.value)?l(8,b=!0):l(8,b=!1)};function R(F){c=F,l(4,c)}function q(F){d=F,l(7,d)}function j(F){m=F,l(5,m)}function Y(F){_=F,l(6,_)}return r.$$set=F=>{"action"in F&&l(0,s=F.action),"actionableWorkflowsLength"in F&&l(1,f=F.actionableWorkflowsLength),"query"in F&&l(2,u=F.query)},r.$$.update=()=>{r.$$.dirty&1&&l(3,t=s===dt.Cancel?M("cancel"):M("workflows","terminate")),r.$$.dirty&9&&l(10,n=s===dt.Cancel?M("confirm"):t),r.$$.dirty&262145&&l(9,o=Jr(s,a.email))},[s,f,u,t,c,m,_,d,b,o,n,i,$,y,C,w,v,k,a,R,q,j,Y]}class Sl extends fe{constructor(e){super(),ue(this,e,as,ss,ce,{action:0,actionableWorkflowsLength:1,query:2,open:15,close:16,setError:17})}get open(){return this.$$.ctx[15]}get close(){return this.$$.ctx[16]}get setError(){return this.$$.ctx[17]}}function Al(r,e,l){const t=r.slice();return t[9]=e[l].allowed,t[10]=e[l].value,t[12]=l,t}function Nl(r,e,l){const t=r.slice();return t[13]=e[l],t}function Pl(r){let e,l=r[13].label.slice(0,2)+"",t;return{c(){e=W("p"),t=z(l),this.h()},l(n){e=O(n,"P",{class:!0});var o=V(e);t=Q(o,l),o.forEach(g),this.h()},h(){S(e,"class","cell svelte-1we9vff")},m(n,o){I(n,e,o),A(e,t)},p:K,d(n){n&&g(e)}}}function Fl(r,e){let l,t=(e[10]||"")+"",n,o,a,i;function s(){return e[6](e[10])}return{key:r,first:null,c(){l=W("button"),n=z(t),o=N(),this.h()},l(f){l=O(f,"BUTTON",{class:!0});var u=V(l);n=Q(u,t),o=P(u),u.forEach(g),this.h()},h(){S(l,"class","cell svelte-1we9vff"),pe(l,"highlight",e[9]&&e[10]),pe(l,"disabled",!e[9]),pe(l,"selected",new Date(e[0].getFullYear(),e[0].getMonth(),e[0].getDate()).getTime()===new Date(e[2],e[1],e[10]).getTime()),this.first=l},m(f,u){I(f,l,u),A(l,n),A(l,o),a||(i=ge(l,"click",function(){ir(e[9]&&e[10]?s:K)&&(e[9]&&e[10]?s:K).apply(this,arguments)}),a=!0)},p(f,u){e=f,u&8&&t!==(t=(e[10]||"")+"")&&ae(n,t),u&8&&pe(l,"highlight",e[9]&&e[10]),u&8&&pe(l,"disabled",!e[9]),u&15&&pe(l,"selected",new Date(e[0].getFullYear(),e[0].getMonth(),e[0].getDate()).getTime()===new Date(e[2],e[1],e[10]).getTime())},d(f){f&&g(l),a=!1,i()}}}function is(r){let e,l,t,n,o=[],a=new Map,i=wl,s=[];for(let c=0;cc[12];for(let c=0;c!0}=e,s=[];const f=m=>{t("datechange",new Date(a,o,m))},u=(m,_,d)=>d?i(new Date(m,_,d)):!0,c=m=>f(m);return r.$$set=m=>{"date"in m&&l(0,n=m.date),"month"in m&&l(1,o=m.month),"year"in m&&l(2,a=m.year),"isAllowed"in m&&l(5,i=m.isAllowed)},r.$$.update=()=>{r.$$.dirty&6&&l(3,s=lo(o,a).map(m=>({value:m,allowed:u(a,o,m)})))},[n,o,a,s,f,i,c]}class us extends fe{constructor(e){super(),ue(this,e,fs,is,ce,{date:0,month:1,year:2,isAllowed:5})}}function Wl(r){var J;let e,l,t,n,o,a,i,s=(((J=vl(r[8]))==null?void 0:J.label)??"")+"",f,u,c,m,_,d,$,b,w,v,k,B,y,C,R,q,j,Y,F;return o=new We({props:{name:"chevron-left"}}),$=new We({props:{name:"chevron-right"}}),w=new us({props:{month:r[8],year:r[9],date:r[0],isAllowed:r[1]}}),w.$on("datechange",r[15]),{c(){e=W("div"),l=W("div"),t=W("div"),n=W("button"),E(o.$$.fragment),a=N(),i=W("div"),f=z(s),u=N(),c=z(r[9]),m=N(),_=W("div"),d=W("button"),E($.$$.fragment),b=N(),E(w.$$.fragment),v=N(),k=W("div"),B=W("button"),y=z(r[4]),C=N(),R=W("button"),q=z(r[5]),this.h()},l(le){e=O(le,"DIV",{class:!0});var G=V(e);l=O(G,"DIV",{class:!0});var oe=V(l);t=O(oe,"DIV",{class:!0});var $e=V(t);n=O($e,"BUTTON",{});var H=V(n);T(o.$$.fragment,H),H.forEach(g),$e.forEach(g),a=P(oe),i=O(oe,"DIV",{class:!0});var x=V(i);f=Q(x,s),u=P(x),c=Q(x,r[9]),x.forEach(g),m=P(oe),_=O(oe,"DIV",{class:!0});var he=V(_);d=O(he,"BUTTON",{});var be=V(d);T($.$$.fragment,be),be.forEach(g),he.forEach(g),oe.forEach(g),b=P(G),T(w.$$.fragment,G),v=P(G),k=O(G,"DIV",{class:!0});var ke=V(k);B=O(ke,"BUTTON",{class:!0});var we=V(B);y=Q(we,r[4]),we.forEach(g),C=P(ke),R=O(ke,"BUTTON",{class:!0});var ve=V(R);q=Q(ve,r[5]),ve.forEach(g),ke.forEach(g),G.forEach(g),this.h()},h(){S(t,"class","flex items-center justify-center"),S(i,"class","flex items-center justify-center"),S(_,"class","flex items-center justify-center"),S(l,"class","mx-3 my-2 flex items-center justify-around"),S(B,"class","cursor-pointer text-[12px]"),S(R,"class","cursor-pointer text-[12px]"),S(k,"class","my-1 flex justify-between px-2"),S(e,"class","absolute z-50 inline-block rounded border border-gray-900 bg-white shadow")},m(le,G){I(le,e,G),A(e,l),A(l,t),A(t,n),D(o,n,null),A(l,a),A(l,i),A(i,f),A(i,u),A(i,c),A(l,m),A(l,_),A(_,d),D($,d,null),A(e,b),D(w,e,null),A(e,v),A(e,k),A(k,B),A(B,y),A(k,C),A(k,R),A(R,q),j=!0,Y||(F=[ge(n,"click",r[14]),ge(d,"click",r[13]),ge(B,"click",r[16]),ge(R,"click",r[17])],Y=!0)},p(le,G){var $e;(!j||G&256)&&s!==(s=((($e=vl(le[8]))==null?void 0:$e.label)??"")+"")&&ae(f,s),(!j||G&512)&&ae(c,le[9]);const oe={};G&256&&(oe.month=le[8]),G&512&&(oe.year=le[9]),G&1&&(oe.date=le[0]),G&2&&(oe.isAllowed=le[1]),w.$set(oe),(!j||G&16)&&ae(y,le[4]),(!j||G&32)&&ae(q,le[5])},i(le){j||(p(o.$$.fragment,le),p($.$$.fragment,le),p(w.$$.fragment,le),j=!0)},o(le){h(o.$$.fragment,le),h($.$$.fragment,le),h(w.$$.fragment,le),j=!1},d(le){le&&g(e),L(o),L($),L(w),Y=!1,Lt(F)}}}function cs(r){let e,l,t,n,o,a;l=new Pe({props:{id:"datepicker",label:r[2],labelHidden:r[3],icon:"calendar-plus",type:"text",placeholder:"MM/DD/YY",value:r[0].toDateString(),clearable:!0,clearButtonLabel:r[6],disabled:r[7]}}),l.$on("focus",r[11]),l.$on("input",r[12]);let i=r[10]&&Wl(r);return{c(){e=W("div"),E(l.$$.fragment),t=N(),i&&i.c(),this.h()},l(s){e=O(s,"DIV",{class:!0});var f=V(e);T(l.$$.fragment,f),t=P(f),i&&i.l(f),f.forEach(g),this.h()},h(){S(e,"class","relative")},m(s,f){I(s,e,f),D(l,e,null),A(e,t),i&&i.m(e,null),n=!0,o||(a=[Rr(to.call(null,e)),ge(e,"click-outside",r[18])],o=!0)},p(s,[f]){const u={};f&4&&(u.label=s[2]),f&8&&(u.labelHidden=s[3]),f&1&&(u.value=s[0].toDateString()),f&64&&(u.clearButtonLabel=s[6]),f&128&&(u.disabled=s[7]),l.$set(u),s[10]?i?(i.p(s,f),f&1024&&p(i,1)):(i=Wl(s),i.c(),p(i,1),i.m(e,null)):i&&(X(),h(i,1,1,()=>{i=null}),Z())},i(s){n||(p(l.$$.fragment,s),p(i),n=!0)},o(s){h(l.$$.fragment,s),h(i),n=!1},d(s){s&&g(e),L(l),i&&i.d(),o=!1,Lt(a)}}}function ms(r,e,l){const t=pt();let{isAllowed:n=()=>!0}=e,{selected:o=new Date}=e,{label:a}=e,{labelHidden:i=!1}=e,{todayLabel:s}=e,{closeLabel:f}=e,{clearLabel:u}=e,{disabled:c=!1}=e,m,_,d=!1;const $=()=>{l(10,d=!0)},b=R=>{const j=R.target.value;if(j.length===8){const Y=j==null?void 0:j.split("/"),J=2e3+parseInt(Y[2]),le=parseInt(Y[0])-1,G=parseInt(Y[1]),oe=new Date(J,le,G);t("datechange",oe)}},w=()=>{if(m===11){l(8,m=0),l(9,_=_+1);return}l(8,m=m+1)},v=()=>{if(m===0){l(8,m=11),l(9,_-=1);return}l(8,m-=1)},k=R=>{l(10,d=!1),t("datechange",R.detail)},B=()=>l(0,o=new Date),y=()=>l(10,d=!1),C=()=>l(10,d=!1);return r.$$set=R=>{"isAllowed"in R&&l(1,n=R.isAllowed),"selected"in R&&l(0,o=R.selected),"label"in R&&l(2,a=R.label),"labelHidden"in R&&l(3,i=R.labelHidden),"todayLabel"in R&&l(4,s=R.todayLabel),"closeLabel"in R&&l(5,f=R.closeLabel),"clearLabel"in R&&l(6,u=R.clearLabel),"disabled"in R&&l(7,c=R.disabled)},r.$$.update=()=>{r.$$.dirty&1&&(l(8,m=o.getMonth()),l(9,_=o.getFullYear()))},[o,n,a,i,s,f,u,c,m,_,d,$,b,w,v,k,B,y,C]}class It extends fe{constructor(e){super(),ue(this,e,ms,cs,ce,{isAllowed:1,selected:0,label:2,labelHidden:3,todayLabel:4,closeLabel:5,clearLabel:6,disabled:7})}}const _s=r=>({}),Ol=r=>({});function ds(r){let e;const l=r[5].fallback,t=Ie(l,r,r[4],Ol);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,o){t&&t.m(n,o),e=!0},p(n,o){t&&t.p&&(!e||o&16)&&Ee(t,l,n,n[4],e?De(l,n[4],o,_s):Te(n[4]),Ol)},i(n){e||(p(t,n),e=!0)},o(n){h(t,n),e=!1},d(n){t&&t.d(n)}}}function ps(r){let e;const l=r[5].default,t=Ie(l,r,r[4],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,o){t&&t.m(n,o),e=!0},p(n,o){t&&t.p&&(!e||o&16)&&Ee(t,l,n,n[4],e?De(l,n[4],o,null):Te(n[4]),null)},i(n){e||(p(t,n),e=!0)},o(n){h(t,n),e=!1},d(n){t&&t.d(n)}}}function $s(r){let e,l,t,n;const o=[ps,ds],a=[];function i(s,f){return s[0]?0:1}return e=i(r),l=a[e]=o[e](r),{c(){l.c(),t=ee()},l(s){l.l(s),t=ee()},m(s,f){a[e].m(s,f),I(s,t,f),n=!0},p(s,[f]){let u=e;e=i(s),e===u?a[e].p(s,f):(X(),h(a[u],1,1,()=>{a[u]=null}),Z(),l=a[e],l?l.p(s,f):(l=a[e]=o[e](s),l.c()),p(l,1),l.m(t.parentNode,t))},i(s){n||(p(l),n=!0)},o(s){h(l),n=!1},d(s){a[e].d(s),s&&g(t)}}}function gs(r,e,l){let t,n,o,a;U(r,Ze,f=>l(0,o=f)),U(r,Le,f=>l(3,a=f));let{$$slots:i={},$$scope:s}=e;return r.$$set=f=>{"$$scope"in f&&l(4,s=f.$$scope)},r.$$.update=()=>{r.$$.dirty&8&&l(2,t=a.url.searchParams.get("labs")==="true"),r.$$.dirty&8&&l(1,n=a.url.searchParams.get("labs")==="false"),r.$$.dirty&6&&(t?te(Ze,o=!0,o):n&&te(Ze,o=!1,o))},[o,n,t,a,s,i]}class fl extends fe{constructor(e){super(),ue(this,e,gs,$s,ce,{})}}function Vl(r){let e,l;return e=new so({props:{$$slots:{default:[ks]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2056&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function hs(r){let e;return{c(){e=z("AM")},l(l){e=Q(l,"AM")},m(l,t){I(l,e,t)},d(l){l&&g(e)}}}function bs(r){let e;return{c(){e=z("PM")},l(l){e=Q(l,"PM")},m(l,t){I(l,e,t)},d(l){l&&g(e)}}}function ks(r){let e,l,t,n;return e=new Il({props:{active:r[3]==="AM",$$slots:{default:[hs]},$$scope:{ctx:r}}}),e.$on("click",r[9]),t=new Il({props:{active:r[3]==="PM",$$slots:{default:[bs]},$$scope:{ctx:r}}}),t.$on("click",r[10]),{c(){E(e.$$.fragment),l=N(),E(t.$$.fragment)},l(o){T(e.$$.fragment,o),l=P(o),T(t.$$.fragment,o)},m(o,a){D(e,o,a),I(o,l,a),D(t,o,a),n=!0},p(o,a){const i={};a&8&&(i.active=o[3]==="AM"),a&2048&&(i.$$scope={dirty:a,ctx:o}),e.$set(i);const s={};a&8&&(s.active=o[3]==="PM"),a&2048&&(s.$$scope={dirty:a,ctx:o}),t.$set(s)},i(o){n||(p(e.$$.fragment,o),p(t.$$.fragment,o),n=!0)},o(o){h(e.$$.fragment,o),h(t.$$.fragment,o),n=!1},d(o){L(e,o),o&&g(l),L(t,o)}}}function ws(r){let e,l,t,n,o,a,i,s,f,u,c;function m(k){r[6](k)}let _={id:"hour",label:"hrs",labelHidden:!0,placeholder:"00",suffix:"hrs",maxLength:2,error:r[4]?parseInt(r[0])>12:parseInt(r[0])>23,disabled:r[5]};r[0]!==void 0&&(_.value=r[0]),l=new Pe({props:_}),ie.push(()=>me(l,"value",m));function d(k){r[7](k)}let $={id:"minute",label:"min",labelHidden:!0,required:!0,placeholder:"00",suffix:"min",maxLength:2,error:Boolean(parseInt(r[0])>59),disabled:r[5]};r[1]!==void 0&&($.value=r[1]),o=new Pe({props:$}),ie.push(()=>me(o,"value",d));function b(k){r[8](k)}let w={id:"second",label:"sec",labelHidden:!0,placeholder:"00",suffix:"sec",maxLength:2,error:Boolean(parseInt(r[0])>59),disabled:r[5]};r[2]!==void 0&&(w.value=r[2]),s=new Pe({props:w}),ie.push(()=>me(s,"value",b));let v=r[4]&&Vl(r);return{c(){e=W("div"),E(l.$$.fragment),n=N(),E(o.$$.fragment),i=N(),E(s.$$.fragment),u=N(),v&&v.c(),this.h()},l(k){e=O(k,"DIV",{class:!0});var B=V(e);T(l.$$.fragment,B),n=P(B),T(o.$$.fragment,B),i=P(B),T(s.$$.fragment,B),u=P(B),v&&v.l(B),B.forEach(g),this.h()},h(){S(e,"class","flex gap-2")},m(k,B){I(k,e,B),D(l,e,null),A(e,n),D(o,e,null),A(e,i),D(s,e,null),A(e,u),v&&v.m(e,null),c=!0},p(k,[B]){const y={};B&17&&(y.error=k[4]?parseInt(k[0])>12:parseInt(k[0])>23),B&32&&(y.disabled=k[5]),!t&&B&1&&(t=!0,y.value=k[0],_e(()=>t=!1)),l.$set(y);const C={};B&1&&(C.error=Boolean(parseInt(k[0])>59)),B&32&&(C.disabled=k[5]),!a&&B&2&&(a=!0,C.value=k[1],_e(()=>a=!1)),o.$set(C);const R={};B&1&&(R.error=Boolean(parseInt(k[0])>59)),B&32&&(R.disabled=k[5]),!f&&B&4&&(f=!0,R.value=k[2],_e(()=>f=!1)),s.$set(R),k[4]?v?(v.p(k,B),B&16&&p(v,1)):(v=Vl(k),v.c(),p(v,1),v.m(e,null)):v&&(X(),h(v,1,1,()=>{v=null}),Z())},i(k){c||(p(l.$$.fragment,k),p(o.$$.fragment,k),p(s.$$.fragment,k),p(v),c=!0)},o(k){h(l.$$.fragment,k),h(o.$$.fragment,k),h(s.$$.fragment,k),h(v),c=!1},d(k){k&&g(e),L(l),L(o),L(s),v&&v.d()}}}function vs(r,e,l){let{hour:t=""}=e,{minute:n=""}=e,{second:o=""}=e,{half:a="AM"}=e,{twelveHourClock:i=!0}=e,{disabled:s=!1}=e;function f(d){t=d,l(0,t)}function u(d){n=d,l(1,n)}function c(d){o=d,l(2,o)}const m=()=>l(3,a="AM"),_=()=>l(3,a="PM");return r.$$set=d=>{"hour"in d&&l(0,t=d.hour),"minute"in d&&l(1,n=d.minute),"second"in d&&l(2,o=d.second),"half"in d&&l(3,a=d.half),"twelveHourClock"in d&&l(4,i=d.twelveHourClock),"disabled"in d&&l(5,s=d.disabled)},[t,n,o,a,i,s,f,u,c,m,_]}class Et extends fe{constructor(e){super(),ue(this,e,vs,ws,ce,{hour:0,minute:1,second:2,half:3,twelveHourClock:4,disabled:5})}}const Is={workflowId:"WorkflowId",workflowType:"WorkflowType",timeRange:"StartTime",executionStatus:"ExecutionStatus",closeTime:"CloseTime",runId:"RunId"},Es=r=>!(r===null||r===void 0||r===""||typeof r=="string"&&r==="undefined"),Ts=(r,e,l="=",t,n)=>{const o=Is[r]??r;return e==="All"?"":n?`${o} ${e}`:_o(e)||po(e)?t||gt(ht)?`${o} ${Ze?l:">"} "${ll(e)}"`:`${o} BETWEEN "${ll(e)}" AND "${$o()}"`:`${o}${l}"${e}"`},Ds=(r,e)=>r.map(({attribute:l,value:t,conditional:n,operator:o,parenthesis:a,customDate:i})=>{if(Es(t)){let s=Ts(l,t,n,e,i);return a==="("?s=`(${s}`:a===")"&&(s=`${s})`),o&&(s=`${s} ${o} `),s}}).filter(Boolean),Er=(r=[],e=!1)=>Ds(r,e).join(""),Ls=r=>e=>e.toLowerCase()===r.toLowerCase(),Ml=(r,e)=>r[e+2],Cs=(r,e)=>r[e-2],ys=Ls("Datetime"),xe=()=>({attribute:"",value:"",operator:"",parenthesis:"",conditional:""}),Bs={ExecutionStatus:"Keyword",StartTime:"Datetime",CloseTime:"Datetime",WorkflowId:"Keyword",WorkflowType:"Keyword",RunId:"Keyword"},nl=(r,e=Bs)=>{const l=ao(r),t=[];let n=xe();if(!r)return[];try{return l.forEach((o,a)=>{if(e[o])if(n.attribute=o,ys(e[o])){const i=Ml(l,a),s=El(i);if(Ll(l[a+1])){const f=l[a+4],u=El(f);s&&u?(n.value=`BETWEEN "${i}" AND "${f}"`,n.customDate=!0):console.error("Error parsing Datetime field from query")}else s?n.value=i:console.error("Error parsing Datetime field from query")}else n.value=Ml(l,a);go(o)&&(n.conditional=o),ho(o)&&(n.parenthesis=o),bo(o)&&!Ll(Cs(l,a))&&(n.operator=o,t.push(n),n=xe()),a===l.length-1&&(t.push(n),n=xe())}),t}catch(o){return console.error("Error setting filter parameters: ",o),[]}},Ss=r=>{const e=r.filter(i=>i.attribute==="ExecutionStatus"&&i.value),l=r.filter(i=>i.attribute==="WorkflowId"&&i.value),t=r.filter(i=>i.attribute==="WorkflowType"&&i.value),n=r.filter(i=>i.attribute==="RunId"&&i.value),o=r.filter(i=>(i.attribute==="StartTime"||i.attribute==="CloseTime")&&i.value),a=[e,l,n,t,o].filter(i=>i.length);return a.forEach((i,s)=>{var f,u;i.length&&((f=a[s+1])!=null&&f.length)?i[i.length-1].operator="AND":i.length&&!((u=a[s+1])!=null&&u.length)&&(i[i.length-1].operator="")}),[...e,...l,...n,...t,...o]},Tr=r=>(r.forEach((e,l)=>{const t=r[l-1];t&&!t.operator&&(t.operator="AND"),r[l+1]||(e.operator=""),e.operator==="OR"&&(t==null?void 0:t.operator)!=="OR"?e.parenthesis="(":(t==null?void 0:t.operator)==="OR"&&e.operator!=="OR"?e.parenthesis=")":e.parenthesis=""}),r),Qe=dr((r,e,l=!1)=>{const t=l?Tr(e):Ss(e),n=Er(t);Ue({url:r,parameter:"query",value:n,allowEmpty:!1})},300);function Rl(r,e,l){const t=r.slice();return t[43]=e[l],t}function As(r){let e;return{c(){e=z(r[1])},l(l){e=Q(l,r[1])},m(l,t){I(l,e,t)},p(l,t){t[0]&2&&ae(e,l[1])},d(l){l&&g(e)}}}function Ns(r){let e,l,t,n,o,a,i,s,f,u,c,m,_,d,$;t=new ye({props:{$$slots:{default:[Fs]},$$scope:{ctx:r}}}),t.$on("click",r[31]),a=new ye({props:{$$slots:{default:[Ws]},$$scope:{ctx:r}}}),a.$on("click",r[32]);let b=Mt,w=[];for(let k=0;kh(w[k],1,1,()=>{w[k]=null});return c=new ye({props:{selected:r[2]==="StartTime",$$slots:{default:[Vs]},$$scope:{ctx:r}}}),c.$on("click",r[34]),d=new ye({props:{selected:r[2]==="CloseTime",$$slots:{default:[Ms]},$$scope:{ctx:r}}}),d.$on("click",r[35]),{c(){e=W("div"),l=W("div"),E(t.$$.fragment),n=N(),o=W("div"),E(a.$$.fragment),i=N();for(let k=0;kme(n,"hour",R)),ie.push(()=>me(n,"minute",q)),ie.push(()=>me(n,"second",j)),ie.push(()=>me(n,"half",Y)),u=new It({props:{label:M("end"),selected:r[4],todayLabel:M("today"),closeLabel:M("close"),clearLabel:M("clear-input-button-label")}}),u.$on("datechange",r[17]);function J(H){r[26](H)}function le(H){r[27](H)}function G(H){r[28](H)}function oe(H){r[29](H)}let $e={};return r[9]!==void 0&&($e.hour=r[9]),r[10]!==void 0&&($e.minute=r[10]),r[11]!==void 0&&($e.second=r[11]),r[12]!==void 0&&($e.half=r[12]),m=new Et({props:$e}),ie.push(()=>me(m,"hour",J)),ie.push(()=>me(m,"minute",le)),ie.push(()=>me(m,"second",G)),ie.push(()=>me(m,"half",oe)),k=new it({props:{$$slots:{default:[Rs]},$$scope:{ctx:r}}}),k.$on("click",r[18]),y=new it({props:{variant:"secondary",$$slots:{default:[Hs]},$$scope:{ctx:r}}}),y.$on("click",r[30]),{c(){e=W("div"),E(l.$$.fragment),t=N(),E(n.$$.fragment),f=N(),E(u.$$.fragment),c=N(),E(m.$$.fragment),w=N(),v=W("div"),E(k.$$.fragment),B=N(),E(y.$$.fragment),this.h()},l(H){e=O(H,"DIV",{class:!0});var x=V(e);T(l.$$.fragment,x),t=P(x),T(n.$$.fragment,x),f=P(x),T(u.$$.fragment,x),c=P(x),T(m.$$.fragment,x),w=P(x),v=O(x,"DIV",{class:!0});var he=V(v);T(k.$$.fragment,he),B=P(he),T(y.$$.fragment,he),he.forEach(g),x.forEach(g),this.h()},h(){S(v,"class","flex gap-2"),S(e,"class","flex flex-col gap-2 p-2")},m(H,x){I(H,e,x),D(l,e,null),A(e,t),D(n,e,null),A(e,f),D(u,e,null),A(e,c),D(m,e,null),A(e,w),A(e,v),D(k,v,null),A(v,B),D(y,v,null),C=!0},p(H,x){const he={};x[0]&8&&(he.selected=H[3]),l.$set(he);const be={};!o&&x[0]&32&&(o=!0,be.hour=H[5],_e(()=>o=!1)),!a&&x[0]&64&&(a=!0,be.minute=H[6],_e(()=>a=!1)),!i&&x[0]&128&&(i=!0,be.second=H[7],_e(()=>i=!1)),!s&&x[0]&256&&(s=!0,be.half=H[8],_e(()=>s=!1)),n.$set(be);const ke={};x[0]&16&&(ke.selected=H[4]),u.$set(ke);const we={};!_&&x[0]&512&&(_=!0,we.hour=H[9],_e(()=>_=!1)),!d&&x[0]&1024&&(d=!0,we.minute=H[10],_e(()=>d=!1)),!$&&x[0]&2048&&($=!0,we.second=H[11],_e(()=>$=!1)),!b&&x[0]&4096&&(b=!0,we.half=H[12],_e(()=>b=!1)),m.$set(we);const ve={};x[1]&32768&&(ve.$$scope={dirty:x,ctx:H}),k.$set(ve);const Be={};x[1]&32768&&(Be.$$scope={dirty:x,ctx:H}),y.$set(Be)},i(H){C||(p(l.$$.fragment,H),p(n.$$.fragment,H),p(u.$$.fragment,H),p(m.$$.fragment,H),p(k.$$.fragment,H),p(y.$$.fragment,H),C=!0)},o(H){h(l.$$.fragment,H),h(n.$$.fragment,H),h(u.$$.fragment,H),h(m.$$.fragment,H),h(k.$$.fragment,H),h(y.$$.fragment,H),C=!1},d(H){H&&g(e),L(l),L(n),L(u),L(m),L(k),L(y)}}}function Fs(r){let e=M("all-time")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Ws(r){let e=M("custom")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Os(r){let e=r[43]+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Hl(r){let e,l,t;function n(){return r[33](r[43])}return l=new ye({props:{$$slots:{default:[Os]},$$scope:{ctx:r}}}),l.$on("click",n),{c(){e=W("div"),E(l.$$.fragment),this.h()},l(o){e=O(o,"DIV",{class:!0});var a=V(e);T(l.$$.fragment,a),a.forEach(g),this.h()},h(){S(e,"class","flex w-1/2 flex-col justify-center")},m(o,a){I(o,e,a),D(l,e,null),t=!0},p(o,a){r=o;const i={};a[1]&32768&&(i.$$scope={dirty:a,ctx:r}),l.$set(i)},i(o){t||(p(l.$$.fragment,o),t=!0)},o(o){h(l.$$.fragment,o),t=!1},d(o){o&&g(e),L(l)}}}function Vs(r){let e=M("start-time")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Ms(r){let e=M("end-time")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Rs(r){let e=M("apply")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Hs(r){let e=M("cancel")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Us(r){let e,l,t=M("based-on-time-preface")+"",n,o,a,i;return e=new We({props:{name:"clock","aria-hidden":"true"}}),{c(){E(e.$$.fragment),l=N(),n=z(t),o=N(),a=z(r[13])},l(s){T(e.$$.fragment,s),l=P(s),n=Q(s,t),o=P(s),a=Q(s,r[13])},m(s,f){D(e,s,f),I(s,l,f),I(s,n,f),I(s,o,f),I(s,a,f),i=!0},p:K,i(s){i||(p(e.$$.fragment,s),i=!0)},o(s){h(e.$$.fragment,s),i=!1},d(s){L(e,s),s&&g(l),s&&g(n),s&&g(o),s&&g(a)}}}function qs(r){let e,l,t,n,o,a,i;const s=[Ps,Ns],f=[];function u(c,m){return c[0]?0:1}return e=u(r),l=f[e]=s[e](r),n=new Bt({}),a=new ye({props:{centered:!0,disabled:!0,$$slots:{default:[Us]},$$scope:{ctx:r}}}),{c(){l.c(),t=N(),E(n.$$.fragment),o=N(),E(a.$$.fragment)},l(c){l.l(c),t=P(c),T(n.$$.fragment,c),o=P(c),T(a.$$.fragment,c)},m(c,m){f[e].m(c,m),I(c,t,m),D(n,c,m),I(c,o,m),D(a,c,m),i=!0},p(c,m){let _=e;e=u(c),e===_?f[e].p(c,m):(X(),h(f[_],1,1,()=>{f[_]=null}),Z(),l=f[e],l?l.p(c,m):(l=f[e]=s[e](c),l.c()),p(l,1),l.m(t.parentNode,t));const d={};m[1]&32768&&(d.$$scope={dirty:m,ctx:c}),a.$set(d)},i(c){i||(p(l),p(n.$$.fragment,c),p(a.$$.fragment,c),i=!0)},o(c){h(l),h(n.$$.fragment,c),h(a.$$.fragment,c),i=!1},d(c){f[e].d(c),c&&g(t),L(n,c),c&&g(o),L(a,c)}}}function js(r){let e,l,t,n;return e=new lt({props:{id:"time-range-filter",hasIndicator:!0,controls:"time-range-filter-menu",$$slots:{default:[As]},$$scope:{ctx:r}}}),t=new nt({props:{class:"w-[25rem] !overflow-visible",position:"right",keepOpen:!0,id:"time-range-filter-menu",$$slots:{default:[qs]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment),l=N(),E(t.$$.fragment)},l(o){T(e.$$.fragment,o),l=P(o),T(t.$$.fragment,o)},m(o,a){D(e,o,a),I(o,l,a),D(t,o,a),n=!0},p(o,a){const i={};a[0]&2|a[1]&32768&&(i.$$scope={dirty:a,ctx:o}),e.$set(i);const s={};a[0]&8189|a[1]&32768&&(s.$$scope={dirty:a,ctx:o}),t.$set(s)},i(o){n||(p(e.$$.fragment,o),p(t.$$.fragment,o),n=!0)},o(o){h(e.$$.fragment,o),h(t.$$.fragment,o),n=!1},d(o){L(e,o),o&&g(l),L(t,o)}}}function zs(r){let e,l;return e=new tt({props:{$$slots:{default:[js]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n[0]&8191|n[1]&32768&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Qs(r){let e,l,t;return l=new fl({props:{$$slots:{fallback:[zs]},$$scope:{ctx:r}}}),{c(){e=W("div"),E(l.$$.fragment),this.h()},l(n){e=O(n,"DIV",{class:!0});var o=V(e);T(l.$$.fragment,o),o.forEach(g),this.h()},h(){S(e,"class","flex items-start")},m(n,o){I(n,e,o),D(l,e,null),t=!0},p(n,o){const a={};o[0]&8191|o[1]&32768&&(a.$$scope={dirty:o,ctx:n}),l.$set(a)},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){h(l.$$.fragment,n),t=!1},d(n){n&&g(e),L(l)}}}function Ks(r,e,l){let t,n,o,a,i,s;U(r,de,re=>l(20,o=re)),U(r,Le,re=>l(37,a=re)),U(r,tl,re=>l(38,i=re)),U(r,ht,re=>l(21,s=re));const f=mr()||M("local");let u=!1,c="All Time",m="StartTime",_=Je(new Date),d=Je(new Date),$="",b="",w="",v="AM",k="",B="",y="",C="AM";const R=()=>{t?(l(1,c=u||!Mt.includes(t==null?void 0:t.value)?"Custom":t.value),l(2,m=t.attribute)):(l(1,c="All Time"),l(2,m="StartTime")),(!t||Mt.includes(t==null?void 0:t.value)||(t==null?void 0:t.customDate))&&te(tl,i=t,i)},q=()=>o.filter(re=>re.attribute!=="StartTime"&&re.attribute!=="CloseTime"),j=re=>{if(l(1,c=re),c==="All Time")te(de,o=[...q()],o),l(0,u=!1);else if(c==="Custom")l(0,u=!0);else{const Ne={attribute:m,value:c,conditional:">",operator:"",parenthesis:""};te(de,o=[...q(),Ne],o),l(0,u=!1)}Qe(a.url,o)},Y=re=>{re!==m&&(l(2,m=re),j(c))},F=re=>{l(3,_=Je(re.detail))},J=re=>{l(4,d=Je(re.detail))},le=(re,Ne)=>{let je=new Date(re);return Ne.hour&&(je=wr(je,parseInt(Ne.hour))),Ne.minute&&(je=vr(je,parseInt(Ne.minute))),Ne.second&&(je=Ir(je,parseInt(Ne.second))),je},G=(re,Ne)=>{if(re)return re==="12"?Ne==="AM"?"00":"12":Ne==="PM"?(parseInt(re)+12).toString():re;re=""},oe=()=>{let re=le(_,{hour:G($,v),minute:b,second:w}),Ne=le(d,{hour:G(k,C),minute:B,second:y});const je=n?`BETWEEN "${ct(re)}" AND "${ct(Ne)}"`:`> "${ct(re)}"`,Vr={attribute:m,value:je,conditional:"=",operator:"",parenthesis:"",customDate:!0};te(de,o=[...q(),Vr],o),Qe(a.url,o)};function $e(re){$=re,l(5,$)}function H(re){b=re,l(6,b)}function x(re){w=re,l(7,w)}function he(re){v=re,l(8,v)}function be(re){k=re,l(9,k)}function ke(re){B=re,l(10,B)}function we(re){y=re,l(11,y)}function ve(re){C=re,l(12,C)}const Be=()=>l(0,u=!1),ne=()=>j("All Time"),se=()=>j("Custom"),Ce=re=>j(re),Ae=()=>Y("StartTime"),Or=()=>Y("CloseTime");return r.$$.update=()=>{r.$$.dirty[0]&1048576&&l(19,t=o.find(re=>re.attribute==="StartTime"||re.attribute==="CloseTime")),r.$$.dirty[0]&2097153&&(n=u||!s),r.$$.dirty[0]&524288&&R()},[u,c,m,_,d,$,b,w,v,k,B,y,C,f,j,Y,F,J,oe,t,o,s,$e,H,x,he,be,ke,we,ve,Be,ne,se,Ce,Ae,Or]}class Gs extends fe{constructor(e){super(),ue(this,e,Ks,Qs,ce,{},null,[-1,-1])}}function Ys(r){let e=M("search")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Js(r){let e,l,t,n,o,a,i,s,f,u,c,m;function _($){r[5]($)}let d={id:"manual-search",type:"search",label:M("workflows","search-placeholder"),labelHidden:!0,placeholder:M("workflows","search-placeholder"),icon:"search",class:"w-full lg:w-3/4",clearable:!0,clearButtonLabel:M("clear-input-button-label"),unroundRight:!0};return r[0]!==void 0&&(d.value=r[0]),n=new Pe({props:d}),ie.push(()=>me(n,"value",_)),n.$on("clear",r[2]),i=new it({props:{"data-testid":"manual-search-button",variant:"primary",borderRadiusModifier:"square-left",type:"submit",$$slots:{default:[Ys]},$$scope:{ctx:r}}}),{c(){e=W("div"),l=W("div"),t=W("form"),E(n.$$.fragment),a=N(),E(i.$$.fragment),this.h()},l($){e=O($,"DIV",{class:!0});var b=V(e);l=O(b,"DIV",{class:!0});var w=V(l);t=O(w,"FORM",{class:!0,role:!0});var v=V(t);T(n.$$.fragment,v),a=P(v),T(i.$$.fragment,v),v.forEach(g),w.forEach(g),b.forEach(g),this.h()},h(){S(t,"class","relative flex w-full items-center gap-0"),S(t,"role","search"),S(l,"class","flex w-full items-center gap-0"),S(e,"class","flex grow gap-4")},m($,b){I($,e,b),A(e,l),A(l,t),D(n,t,null),A(t,a),D(i,t,null),u=!0,c||(m=ge(t,"submit",vt(r[1])),c=!0)},p($,[b]){const w={};!o&&b&1&&(o=!0,w.value=$[0],_e(()=>o=!1)),n.$set(w);const v={};b&1024&&(v.$$scope={dirty:b,ctx:$}),i.$set(v)},i($){u||(p(n.$$.fragment,$),p(i.$$.fragment,$),s||st(()=>{s=at(t,yt,{x:-100,duration:150}),s.start()}),f||st(()=>{f=at(l,cr,{}),f.start()}),u=!0)},o($){h(n.$$.fragment,$),h(i.$$.fragment,$),u=!1},d($){$&&g(e),L(n),L(i),c=!1,m()}}}function Xs(r,e,l){let t,n,o,a,i;U(r,Le,_=>l(4,n=_)),U(r,ze,_=>l(6,o=_)),U(r,de,_=>l(7,a=_)),U(r,mt,_=>l(8,i=_));let s="";function f(_){l(0,s=_)}const u=()=>{if(!s)te(de,a=[],a),te(mt,i="",i);else try{te(de,a=nl(s),a)}catch(_){console.error(_)}s&&s===t?te(ze,o=Date.now(),o):Ue({url:n.url,parameter:"query",value:s,allowEmpty:!0})};function c(){u()}function m(_){s=_,l(0,s)}return r.$$.update=()=>{r.$$.dirty&16&&l(3,t=n.url.searchParams.get("query")),r.$$.dirty&8&&f(t)},[s,u,c,t,n,m]}class Dr extends fe{constructor(e){super(),ue(this,e,Xs,Js,ce,{})}}function _t(r){return r==="ExecutionStatus"}function Tt(r,e=kt){const l=gt(e)[r];return _t(r)?!1:["Keyword","Text","String"].includes(l)}function Lr(r,e=kt){return gt(e)[r]==="KeywordList"}function Cr(r,e=kt){const l=gt(e)[r];return["Int","Double"].includes(l)}function ul(r,e=kt){return gt(e)[r]==="Datetime"}function yr(r,e=kt){return gt(e)[r]==="Bool"}function Br(r){return _t(r)?"status-filter":Tt(r)||Cr(r)||ul(r)?"conditional-menu-button":Lr(r)?"list-filter-search":yr(r)?"boolean-filter":""}function Ul(r,e,l){const t=r.slice();return t[8]=e[l].value,t[9]=e[l].label,t}function Zs(r){let e;return{c(){e=z(r[1])},l(l){e=Q(l,r[1])},m(l,t){I(l,e,t)},p(l,t){t&2&&ae(e,l[1])},d(l){l&&g(e)}}}function xs(r){let e=r[9]+"",l,t;return{c(){l=z(e),t=N()},l(n){l=Q(n,e),t=P(n)},m(n,o){I(n,l,o),I(n,t,o)},p:K,d(n){n&&g(l),n&&g(t)}}}function ql(r){let e,l;function t(){return r[7](r[8])}return e=new ye({props:{$$slots:{default:[xs]},$$scope:{ctx:r}}}),e.$on("click",t),{c(){E(e.$$.fragment)},l(n){T(e.$$.fragment,n)},m(n,o){D(e,n,o),l=!0},p(n,o){r=n;const a={};o&4096&&(a.$$scope={dirty:o,ctx:r}),e.$set(a)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){h(e.$$.fragment,n),l=!1},d(n){L(e,n)}}}function ea(r){let e,l,t=r[4],n=[];for(let a=0;ah(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;al(0,o=c));const f=[{value:"true",label:M("true")},{value:"false",label:M("false")}],u=c=>{te(i,o.value=c,o),s()};return r.$$.update=()=>{r.$$.dirty&33&&l(6,t=l(5,a=f.find(c=>c.value===o.value))!==null&&a!==void 0?a:f[0]),r.$$.dirty&64&&l(1,n=t==null?void 0:t.label)},[o,n,i,s,f,a,t,u]}class ra extends fe{constructor(e){super(),ue(this,e,na,la,ce,{})}}function oa(r){let e,l;return e=new Ve({props:{label:M("close"),icon:"close",class:"ml-1"}}),e.$on("click",r[0]),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function sa(r){const{resetFilter:e}=Ke(qe);return[e]}class Gt extends fe{constructor(e){super(),ue(this,e,sa,oa,ce,{})}}function jl(r,e,l){const t=r.slice();return t[16]=e[l].value,t[17]=e[l].label,t}function aa(r){let e;return{c(){e=z(r[6])},l(l){e=Q(l,r[6])},m(l,t){I(l,e,t)},p(l,t){t&64&&ae(e,l[6])},d(l){l&&g(e)}}}function ia(r){let e=(r[17]??r[16])+"",l,t;return{c(){l=z(e),t=N()},l(n){l=Q(n,e),t=P(n)},m(n,o){I(n,l,o),I(n,t,o)},p(n,o){o&1&&e!==(e=(n[17]??n[16])+"")&&ae(l,e)},d(n){n&&g(l),n&&g(t)}}}function zl(r){let e,l;function t(){return r[13](r[16])}return e=new ye({props:{$$slots:{default:[ia]},$$scope:{ctx:r}}}),e.$on("click",t),{c(){E(e.$$.fragment)},l(n){T(e.$$.fragment,n)},m(n,o){D(e,n,o),l=!0},p(n,o){r=n;const a={};o&1048577&&(a.$$scope={dirty:o,ctx:r}),e.$set(a)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){h(e.$$.fragment,n),l=!1},d(n){L(e,n)}}}function fa(r){let e,l,t=r[0],n=[];for(let a=0;ah(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;al(5,a=k)),U(r,u,k=>l(7,i=k));const c=[{value:">"},{value:">="},{value:"="},{value:"<="},{value:"<"}];let{options:m=c}=e,{disabled:_=!1}=e,{inputId:d}=e,{noBorderLeft:$=!1}=e,{noBorderRight:b=!1}=e;function w(){t||te(f,a.conditional=m[0].value,a)}const v=k=>{te(f,a.conditional=k,a),te(u,i=d,i)};return r.$$set=k=>{"options"in k&&l(0,m=k.options),"disabled"in k&&l(1,_=k.disabled),"inputId"in k&&l(2,d=k.inputId),"noBorderLeft"in k&&l(3,$=k.noBorderLeft),"noBorderRight"in k&&l(4,b=k.noBorderRight)},r.$$.update=()=>{r.$$.dirty&33&&l(11,t=m.find(k=>k.value===a.conditional)),r.$$.dirty&1&&w(),r.$$.dirty&2049&&l(12,n=t??m[0]),r.$$.dirty&5120&&l(6,o=l(10,s=n==null?void 0:n.label)!==null&&s!==void 0?s:n==null?void 0:n.value)},[m,_,d,$,b,a,o,i,f,u,s,t,n,v]}class cl extends fe{constructor(e){super(),ue(this,e,ma,ca,ce,{options:0,disabled:1,inputId:2,noBorderLeft:3,noBorderRight:4})}}function Ql(r,e,l){const t=r.slice();return t[39]=e[l],t}function _a(r){let e=M("workflows","select-time")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function da(r){let e,l,t,n,o,a;return e=new ye({props:{$$slots:{default:[ha]},$$scope:{ctx:r}}}),e.$on("click",r[32]),t=new Bt({}),o=new ye({props:{$$slots:{default:[ba]},$$scope:{ctx:r}}}),o.$on("click",r[36]),{c(){E(e.$$.fragment),l=N(),E(t.$$.fragment),n=N(),E(o.$$.fragment)},l(i){T(e.$$.fragment,i),l=P(i),T(t.$$.fragment,i),n=P(i),T(o.$$.fragment,i)},m(i,s){D(e,i,s),I(i,l,s),D(t,i,s),I(i,n,s),D(o,i,s),a=!0},p(i,s){const f={};s[0]&2053|s[1]&2048&&(f.$$scope={dirty:s,ctx:i}),e.$set(f);const u={};s[0]&236|s[1]&2048&&(u.$$scope={dirty:s,ctx:i}),o.$set(u)},i(i){a||(p(e.$$.fragment,i),p(t.$$.fragment,i),p(o.$$.fragment,i),a=!0)},o(i){h(e.$$.fragment,i),h(t.$$.fragment,i),h(o.$$.fragment,i),a=!1},d(i){L(e,i),i&&g(l),L(t,i),i&&g(n),L(o,i)}}}function pa(r){let e,l,t,n,o,a;return e=new ye({props:{$$slots:{default:[ka]},$$scope:{ctx:r}}}),t=new Bt({}),o=new ye({props:{$$slots:{default:[wa]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment),l=N(),E(t.$$.fragment),n=N(),E(o.$$.fragment)},l(i){T(e.$$.fragment,i),l=P(i),T(t.$$.fragment,i),n=P(i),T(o.$$.fragment,i)},m(i,s){D(e,i,s),I(i,l,s),D(t,i,s),I(i,n,s),D(o,i,s),a=!0},p(i,s){const f={};s[0]&232|s[1]&2048&&(f.$$scope={dirty:s,ctx:i}),e.$set(f);const u={};s[0]&1808|s[1]&2048&&(u.$$scope={dirty:s,ctx:i}),o.$set(u)},i(i){a||(p(e.$$.fragment,i),p(t.$$.fragment,i),p(o.$$.fragment,i),a=!0)},o(i){h(e.$$.fragment,i),h(t.$$.fragment,i),h(o.$$.fragment,i),a=!1},d(i){L(e,i),i&&g(l),L(t,i),i&&g(n),L(o,i)}}}function $a(r){let e=r[39]+"",l,t,n=M("ago")+"",o;return{c(){l=z(e),t=N(),o=z(n)},l(a){l=Q(a,e),t=P(a),o=Q(a,n)},m(a,i){I(a,l,i),I(a,t,i),I(a,o,i)},p:K,d(a){a&&g(l),a&&g(t),a&&g(o)}}}function Kl(r){let e,l;return e=new ro({props:{value:r[39],$$slots:{default:[$a]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n[1]&2048&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function ga(r){let e,l,t=r[15],n=[];for(let a=0;ah(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;ame(o,"value",c));function _($){r[31]($)}let d={unroundLeft:!0,id:"relative-datetime-unit-input",label:M("time-unit"),labelHidden:!0,disabled:r[2]!=="relative",$$slots:{default:[ga]},$$scope:{ctx:r}};return r[11]!==void 0&&(d.value=r[11]),s=new no({props:d}),ie.push(()=>me(s,"value",_)),{c(){e=W("div"),E(l.$$.fragment),t=N(),n=W("div"),E(o.$$.fragment),i=N(),E(s.$$.fragment),this.h()},l($){e=O($,"DIV",{class:!0});var b=V(e);T(l.$$.fragment,b),t=P(b),n=O(b,"DIV",{class:!0});var w=V(n);T(o.$$.fragment,w),i=P(w),T(s.$$.fragment,w),w.forEach(g),b.forEach(g),this.h()},h(){S(n,"class","ml-6 flex gap-0 pt-2"),S(e,"class","flex flex-col")},m($,b){I($,e,b),D(l,e,null),A(e,t),A(e,n),D(o,n,null),A(n,i),D(s,n,null),u=!0},p($,b){const w={};b[0]&1&&(w.error=$[20]($[0])),b[0]&4&&(w.disabled=$[2]!=="relative"),!a&&b[0]&1&&(a=!0,w.value=$[0],_e(()=>a=!1)),o.$set(w);const v={};b[0]&4&&(v.disabled=$[2]!=="relative"),b[1]&2048&&(v.$$scope={dirty:b,ctx:$}),!f&&b[0]&2048&&(f=!0,v.value=$[11],_e(()=>f=!1)),s.$set(v)},i($){u||(p(l.$$.fragment,$),p(o.$$.fragment,$),p(s.$$.fragment,$),u=!0)},o($){h(l.$$.fragment,$),h(o.$$.fragment,$),h(s.$$.fragment,$),u=!1},d($){$&&g(e),L(l),L(o),L(s)}}}function ba(r){let e,l,t,n,o,a,i,s,f,u,c;l=new gr({props:{label:M("absolute"),id:"absolute-time",value:"absolute",name:"time-filter-type",group:r[16]}}),o=new It({props:{label:"",labelHidden:!0,selected:r[3],todayLabel:M("today"),closeLabel:M("close"),clearLabel:M("clear-input-button-label"),disabled:r[2]!=="absolute"}}),o.$on("datechange",r[17]);function m(b){r[33](b)}function _(b){r[34](b)}function d(b){r[35](b)}let $={twelveHourClock:!1,disabled:r[2]!=="absolute"};return r[5]!==void 0&&($.hour=r[5]),r[6]!==void 0&&($.minute=r[6]),r[7]!==void 0&&($.second=r[7]),i=new Et({props:$}),ie.push(()=>me(i,"hour",m)),ie.push(()=>me(i,"minute",_)),ie.push(()=>me(i,"second",d)),{c(){e=W("div"),E(l.$$.fragment),t=N(),n=W("div"),E(o.$$.fragment),a=N(),E(i.$$.fragment),this.h()},l(b){e=O(b,"DIV",{class:!0});var w=V(e);T(l.$$.fragment,w),t=P(w),n=O(w,"DIV",{class:!0});var v=V(n);T(o.$$.fragment,v),a=P(v),T(i.$$.fragment,v),v.forEach(g),w.forEach(g),this.h()},h(){S(n,"class","ml-6 flex flex-col gap-2"),S(e,"class","flex flex-col gap-2")},m(b,w){I(b,e,w),D(l,e,null),A(e,t),A(e,n),D(o,n,null),A(n,a),D(i,n,null),c=!0},p(b,w){const v={};w[0]&8&&(v.selected=b[3]),w[0]&4&&(v.disabled=b[2]!=="absolute"),o.$set(v);const k={};w[0]&4&&(k.disabled=b[2]!=="absolute"),!s&&w[0]&32&&(s=!0,k.hour=b[5],_e(()=>s=!1)),!f&&w[0]&64&&(f=!0,k.minute=b[6],_e(()=>f=!1)),!u&&w[0]&128&&(u=!0,k.second=b[7],_e(()=>u=!1)),i.$set(k)},i(b){c||(p(l.$$.fragment,b),p(o.$$.fragment,b),p(i.$$.fragment,b),c=!0)},o(b){h(l.$$.fragment,b),h(o.$$.fragment,b),h(i.$$.fragment,b),c=!1},d(b){b&&g(e),L(l),L(o),L(i)}}}function ka(r){let e,l,t,n,o,a,i,s;l=new It({props:{label:M("start"),selected:r[3],todayLabel:M("today"),closeLabel:M("close"),clearLabel:M("clear-input-button-label")}}),l.$on("datechange",r[17]);function f(_){r[24](_)}function u(_){r[25](_)}function c(_){r[26](_)}let m={twelveHourClock:!1};return r[5]!==void 0&&(m.hour=r[5]),r[6]!==void 0&&(m.minute=r[6]),r[7]!==void 0&&(m.second=r[7]),n=new Et({props:m}),ie.push(()=>me(n,"hour",f)),ie.push(()=>me(n,"minute",u)),ie.push(()=>me(n,"second",c)),{c(){e=W("div"),E(l.$$.fragment),t=N(),E(n.$$.fragment),this.h()},l(_){e=O(_,"DIV",{class:!0});var d=V(e);T(l.$$.fragment,d),t=P(d),T(n.$$.fragment,d),d.forEach(g),this.h()},h(){S(e,"class","flex flex-col gap-2")},m(_,d){I(_,e,d),D(l,e,null),A(e,t),D(n,e,null),s=!0},p(_,d){const $={};d[0]&8&&($.selected=_[3]),l.$set($);const b={};!o&&d[0]&32&&(o=!0,b.hour=_[5],_e(()=>o=!1)),!a&&d[0]&64&&(a=!0,b.minute=_[6],_e(()=>a=!1)),!i&&d[0]&128&&(i=!0,b.second=_[7],_e(()=>i=!1)),n.$set(b)},i(_){s||(p(l.$$.fragment,_),p(n.$$.fragment,_),s=!0)},o(_){h(l.$$.fragment,_),h(n.$$.fragment,_),s=!1},d(_){_&&g(e),L(l),L(n)}}}function wa(r){let e,l,t,n,o,a,i,s;l=new It({props:{label:M("end"),selected:r[4],todayLabel:M("today"),closeLabel:M("close"),clearLabel:M("clear-input-button-label")}}),l.$on("datechange",r[18]);function f(_){r[27](_)}function u(_){r[28](_)}function c(_){r[29](_)}let m={twelveHourClock:!1};return r[8]!==void 0&&(m.hour=r[8]),r[9]!==void 0&&(m.minute=r[9]),r[10]!==void 0&&(m.second=r[10]),n=new Et({props:m}),ie.push(()=>me(n,"hour",f)),ie.push(()=>me(n,"minute",u)),ie.push(()=>me(n,"second",c)),{c(){e=W("div"),E(l.$$.fragment),t=N(),E(n.$$.fragment),this.h()},l(_){e=O(_,"DIV",{class:!0});var d=V(e);T(l.$$.fragment,d),t=P(d),T(n.$$.fragment,d),d.forEach(g),this.h()},h(){S(e,"class","flex flex-col gap-2")},m(_,d){I(_,e,d),D(l,e,null),A(e,t),D(n,e,null),s=!0},p(_,d){const $={};d[0]&16&&($.selected=_[4]),l.$set($);const b={};!o&&d[0]&256&&(o=!0,b.hour=_[8],_e(()=>o=!1)),!a&&d[0]&512&&(a=!0,b.minute=_[9],_e(()=>a=!1)),!i&&d[0]&1024&&(i=!0,b.second=_[10],_e(()=>i=!1)),n.$set(b)},i(_){s||(p(l.$$.fragment,_),p(n.$$.fragment,_),s=!0)},o(_){h(l.$$.fragment,_),h(n.$$.fragment,_),s=!1},d(_){_&&g(e),L(l),L(n)}}}function va(r){let e=M("apply")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Ia(r){let e,l,t=M("based-on-time-preface")+"",n,o,a,i;return e=new We({props:{name:"clock","aria-hidden":"true"}}),{c(){E(e.$$.fragment),l=N(),n=z(t),o=N(),a=z(r[14])},l(s){T(e.$$.fragment,s),l=P(s),n=Q(s,t),o=P(s),a=Q(s,r[14])},m(s,f){D(e,s,f),I(s,l,f),I(s,n,f),I(s,o,f),I(s,a,f),i=!0},p:K,i(s){i||(p(e.$$.fragment,s),i=!0)},o(s){h(e.$$.fragment,s),i=!1},d(s){L(e,s),s&&g(l),s&&g(n),s&&g(o),s&&g(a)}}}function Ea(r){let e,l,t,n,o,a,i,s,f,u;const c=[pa,da],m=[];function _(d,$){return d[1]?0:1}return e=_(r),l=m[e]=c[e](r),n=new Bt({}),i=new it({props:{size:"xs",style:"width: 100%",disabled:r[12],$$slots:{default:[va]},$$scope:{ctx:r}}}),i.$on("click",r[19]),f=new ye({props:{centered:!0,disabled:!0,class:"!pt-0",$$slots:{default:[Ia]},$$scope:{ctx:r}}}),{c(){l.c(),t=N(),E(n.$$.fragment),o=N(),a=W("div"),E(i.$$.fragment),s=N(),E(f.$$.fragment),this.h()},l(d){l.l(d),t=P(d),T(n.$$.fragment,d),o=P(d),a=O(d,"DIV",{class:!0});var $=V(a);T(i.$$.fragment,$),$.forEach(g),s=P(d),T(f.$$.fragment,d),this.h()},h(){S(a,"class","flex items-center p-2")},m(d,$){m[e].m(d,$),I(d,t,$),D(n,d,$),I(d,o,$),I(d,a,$),D(i,a,null),I(d,s,$),D(f,d,$),u=!0},p(d,$){let b=e;e=_(d),e===b?m[e].p(d,$):(X(),h(m[b],1,1,()=>{m[b]=null}),Z(),l=m[e],l?l.p(d,$):(l=m[e]=c[e](d),l.c()),p(l,1),l.m(t.parentNode,t));const w={};$[0]&4096&&(w.disabled=d[12]),$[1]&2048&&(w.$$scope={dirty:$,ctx:d}),i.$set(w);const v={};$[1]&2048&&(v.$$scope={dirty:$,ctx:d}),f.$set(v)},i(d){u||(p(l),p(n.$$.fragment,d),p(i.$$.fragment,d),p(f.$$.fragment,d),u=!0)},o(d){h(l),h(n.$$.fragment,d),h(i.$$.fragment,d),h(f.$$.fragment,d),u=!1},d(d){m[e].d(d),d&&g(t),L(n,d),d&&g(o),d&&g(a),L(i),d&&g(s),L(f,d)}}}function Ta(r){let e,l,t,n;return e=new lt({props:{unroundLeft:!0,id:"time-range-filter",controls:"time-range-filter-menu",$$slots:{default:[_a]},$$scope:{ctx:r}}}),t=new nt({props:{keepOpen:!0,id:"time-range-filter-menu",class:"w-[25rem] !overflow-visible",$$slots:{default:[Ea]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment),l=N(),E(t.$$.fragment)},l(o){T(e.$$.fragment,o),l=P(o),T(t.$$.fragment,o)},m(o,a){D(e,o,a),I(o,l,a),D(t,o,a),n=!0},p(o,a){const i={};a[1]&2048&&(i.$$scope={dirty:a,ctx:o}),e.$set(i);const s={};a[0]&8191|a[1]&2048&&(s.$$scope={dirty:a,ctx:o}),t.$set(s)},i(o){n||(p(e.$$.fragment,o),p(t.$$.fragment,o),n=!0)},o(o){h(e.$$.fragment,o),h(t.$$.fragment,o),n=!1},d(o){L(e,o),o&&g(l),L(t,o)}}}function Da(r){let e,l,t,n,o;return l=new cl({props:{inputId:"time-range-filter",options:[{value:"<=",label:M("before")},{value:"BETWEEN",label:M("between")},{value:">=",label:M("after")}],noBorderLeft:!0,noBorderRight:!0}}),n=new tt({props:{$$slots:{default:[Ta]},$$scope:{ctx:r}}}),{c(){e=W("div"),E(l.$$.fragment),t=N(),E(n.$$.fragment),this.h()},l(a){e=O(a,"DIV",{class:!0});var i=V(e);T(l.$$.fragment,i),t=P(i),T(n.$$.fragment,i),i.forEach(g),this.h()},h(){S(e,"class","flex items-center")},m(a,i){I(a,e,i),D(l,e,null),A(e,t),D(n,e,null),o=!0},p(a,i){const s={};i[0]&8191|i[1]&2048&&(s.$$scope={dirty:i,ctx:a}),n.$set(s)},i(a){o||(p(l.$$.fragment,a),p(n.$$.fragment,a),o=!0)},o(a){h(l.$$.fragment,a),h(n.$$.fragment,a),o=!1},d(a){a&&g(e),L(l),L(n)}}}function La(r,e,l){let t,n,o,a,i,s;U(r,ht,se=>l(23,s=se));const{filter:f,handleSubmit:u}=Ke(qe);U(r,f,se=>l(22,a=se));const c=mr()||M("local");let m=Je(new Date),_=Je(new Date),d="",$="",b="",w="",v="",k="";const B=["minutes","hours","days"];let y=B[0],C="";const R=Xe("relative");U(r,R,se=>l(2,i=se));const q=se=>{l(3,m=Je(se.detail))},j=se=>{l(4,_=Je(se.detail))},Y=(se,Ce)=>{let Ae=new Date(se);return Ce.hour&&(Ae=wr(Ae,parseInt(Ce.hour))),Ce.minute&&(Ae=vr(Ae,parseInt(Ce.minute))),Ce.second&&(Ae=Ir(Ae,parseInt(Ce.second))),Ae},F=()=>{if(i==="relative"&&!n){if(!C)return;te(f,a.value=ll(`${C} ${y}`),a),te(f,a.customDate=!1,a)}else{let se=Y(m,{hour:d,minute:$,second:b}),Ce=Y(_,{hour:w,minute:v,second:k});const Ae=n?`BETWEEN "${ct(se)}" AND "${ct(Ce)}"`:ct(se);te(f,a.value=Ae,a),t?(te(f,a.customDate=!0,a),te(f,a.conditional="",a)):te(f,a.customDate=!1,a)}u()},J=se=>se?isNaN(Number(se))||isNaN(parseFloat(se)):!1;function le(se){d=se,l(5,d)}function G(se){$=se,l(6,$)}function oe(se){b=se,l(7,b)}function $e(se){w=se,l(8,w)}function H(se){v=se,l(9,v)}function x(se){k=se,l(10,k)}function he(se){C=se,l(0,C)}function be(se){y=se,l(11,y)}const ke=()=>te(R,i="relative",i);function we(se){d=se,l(5,d)}function ve(se){$=se,l(6,$)}function Be(se){b=se,l(7,b)}const ne=()=>te(R,i="absolute",i);return r.$$.update=()=>{r.$$.dirty[0]&4194304&&l(1,t=a.conditional==="BETWEEN"),r.$$.dirty[0]&8388610&&l(21,n=t||!s),r.$$.dirty[0]&2097157&&l(12,o=i==="relative"&&!n&&(!C||J(C)))},[C,t,i,m,_,d,$,b,w,v,k,y,o,f,c,B,R,q,j,F,J,n,a,s,le,G,oe,$e,H,x,he,be,ke,we,ve,Be,ne]}class Ca extends fe{constructor(e){super(),ue(this,e,La,Da,ce,{},null,[-1,-1])}}function ya(r){let e;const l=r[5].default,t=Ie(l,r,r[4],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,o){t&&t.m(n,o),e=!0},p(n,o){t&&t.p&&(!e||o&16)&&Ee(t,l,n,n[4],e?De(l,n[4],o,null):Te(n[4]),null)},i(n){e||(p(t,n),e=!0)},o(n){h(t,n),e=!1},d(n){t&&t.d(n)}}}function Ba(r){let e,l,t,n;const o=r[5].default,a=Ie(o,r,r[4],null);return{c(){e=W("button"),a&&a.c(),this.h()},l(i){e=O(i,"BUTTON",{class:!0});var s=V(e);a&&a.l(s),s.forEach(g),this.h()},h(){S(e,"class","flex items-center gap-1")},m(i,s){I(i,e,s),a&&a.m(e,null),l=!0,t||(n=ge(e,"click",r[6]),t=!0)},p(i,s){a&&a.p&&(!l||s&16)&&Ee(a,o,i,i[4],l?De(o,i[4],s,null):Te(i[4]),null)},i(i){l||(p(a,i),l=!0)},o(i){h(a,i),l=!1},d(i){i&&g(e),a&&a.d(i),t=!1,n()}}}function Sa(r){let e,l,t,n,o,a,i,s,f,u;const c=[Ba,ya],m=[];function _(d,$){return d[1]?0:1}return l=_(r),t=m[l]=c[l](r),a=new We({props:{name:"close"}}),{c(){e=W("span"),t.c(),n=N(),o=W("button"),E(a.$$.fragment),this.h()},l(d){e=O(d,"SPAN",{class:!0});var $=V(e);t.l($),n=P($),o=O($,"BUTTON",{"aria-label":!0});var b=V(o);T(a.$$.fragment,b),b.forEach(g),$.forEach(g),this.h()},h(){S(o,"aria-label",r[2]),S(e,"class",i="chip "+r[0]+" svelte-jjsz31")},m(d,$){I(d,e,$),m[l].m(e,null),A(e,n),A(e,o),D(a,o,null),s=!0,f||(u=ge(o,"click",r[3]),f=!0)},p(d,[$]){let b=l;l=_(d),l===b?m[l].p(d,$):(X(),h(m[b],1,1,()=>{m[b]=null}),Z(),t=m[l],t?t.p(d,$):(t=m[l]=c[l](d),t.c()),p(t,1),t.m(e,n)),(!s||$&4)&&S(o,"aria-label",d[2]),(!s||$&1&&i!==(i="chip "+d[0]+" svelte-jjsz31"))&&S(e,"class",i)},i(d){s||(p(t),p(a.$$.fragment,d),s=!0)},o(d){h(t),h(a.$$.fragment,d),s=!1},d(d){d&&g(e),m[l].d(),L(a),f=!1,u()}}}function Aa(r,e,l){let{$$slots:t={},$$scope:n}=e,{intent:o="default"}=e,{button:a=!1}=e,{removeButtonLabel:i}=e;const s=pt(),f=c=>{c.preventDefault(),s("remove")};function u(c){Ye.call(this,r,c)}return r.$$set=c=>{"intent"in c&&l(0,o=c.intent),"button"in c&&l(1,a=c.button),"removeButtonLabel"in c&&l(2,i=c.removeButtonLabel),"$$scope"in c&&l(4,n=c.$$scope)},[o,a,i,f,n,t,u]}class Na extends fe{constructor(e){super(),ue(this,e,Aa,Sa,ce,{intent:0,button:1,removeButtonLabel:2})}}const Sr=["Running","TimedOut","Completed","Failed","ContinuedAsNew","Canceled","Terminated"];function Pa(r){return Sr.includes(r)}const qt=["All",...Sr];function Gl(r,e,l){const t=r.slice();t[18]=e[l],t[24]=l;const n=t[18];return t[19]=n.attribute,t[20]=n.value,t[21]=n.conditional,t[22]=n.customDate,t}function Yl(r){let e,l,t,n;function o(){return r[14](r[24])}function a(){return r[15](r[24],r[18])}return l=new Na({props:{removeButtonLabel:M("workflows","remove-filter-label",{attribute:r[19]}),intent:"default",button:!0,$$slots:{default:[Ha]},$$scope:{ctx:r}}}),l.$on("remove",o),l.$on("click",a),{c(){e=W("div"),E(l.$$.fragment)},l(i){e=O(i,"DIV",{});var s=V(e);T(l.$$.fragment,s),s.forEach(g)},m(i,s){I(i,e,s),D(l,e,null),n=!0},p(i,s){r=i;const f={};s&2&&(f.removeButtonLabel=M("workflows","remove-filter-label",{attribute:r[19]})),s&33554482&&(f.$$scope={dirty:s,ctx:r}),l.$set(f)},i(i){n||(p(l.$$.fragment,i),t||st(()=>{t=at(e,cr,{}),t.start()}),n=!0)},o(i){h(l.$$.fragment,i),n=!1},d(i){i&&g(e),L(l)}}}function Fa(r){let e,l=r[19]+"",t,n,o;function a(f,u){return u&2&&(o=null),o==null&&(o=!!ul(f[19])),o?Va:Oa}let i=a(r,-1),s=i(r);return{c(){e=W("span"),t=z(l),n=N(),s.c(),this.h()},l(f){e=O(f,"SPAN",{class:!0});var u=V(e);t=Q(u,l),n=P(u),s.l(u),u.forEach(g),this.h()},h(){S(e,"class","max-w-xs truncate md:max-w-lg xl:max-w-2xl")},m(f,u){I(f,e,u),A(e,t),A(e,n),s.m(e,null)},p(f,u){u&2&&l!==(l=f[19]+"")&&ae(t,l),i===(i=a(f,u))&&s?s.p(f,u):(s.d(1),s=i(f),s&&(s.c(),s.m(e,null)))},i:K,o:K,d(f){f&&g(e),s.d()}}}function Wa(r){let e,l=r[19]+"",t,n,o=r[21]+"",a,i,s,f,u;return f=new At({props:{status:r[20]}}),{c(){e=W("span"),t=z(l),n=N(),a=z(o),i=N(),s=W("span"),E(f.$$.fragment),this.h()},l(c){e=O(c,"SPAN",{class:!0});var m=V(e);t=Q(m,l),n=P(m),a=Q(m,o),i=P(m),s=O(m,"SPAN",{class:!0});var _=V(s);T(f.$$.fragment,_),_.forEach(g),m.forEach(g),this.h()},h(){S(s,"class","-py-1 ml-1"),S(e,"class","flex")},m(c,m){I(c,e,m),A(e,t),A(e,n),A(e,a),A(e,i),A(e,s),D(f,s,null),u=!0},p(c,m){(!u||m&2)&&l!==(l=c[19]+"")&&ae(t,l),(!u||m&2)&&o!==(o=c[21]+"")&&ae(a,o);const _={};m&2&&(_.status=c[20]),f.$set(_)},i(c){u||(p(f.$$.fragment,c),u=!0)},o(c){h(f.$$.fragment,c),u=!1},d(c){c&&g(e),L(f)}}}function Oa(r){let e=r[21]+"",l,t,n=(Tt(r[19])?`"${r[20]}"`:r[20])+"",o;return{c(){l=z(e),t=N(),o=z(n)},l(a){l=Q(a,e),t=P(a),o=Q(a,n)},m(a,i){I(a,l,i),I(a,t,i),I(a,o,i)},p(a,i){i&2&&e!==(e=a[21]+"")&&ae(l,e),i&2&&n!==(n=(Tt(a[19])?`"${a[20]}"`:a[20])+"")&&ae(o,n)},d(a){a&&g(l),a&&g(t),a&&g(o)}}}function Va(r){let e;function l(o,a){return o[22]?Ra:Ma}let t=l(r),n=t(r);return{c(){n.c(),e=ee()},l(o){n.l(o),e=ee()},m(o,a){n.m(o,a),I(o,e,a)},p(o,a){t===(t=l(o))&&n?n.p(o,a):(n.d(1),n=t(o),n&&(n.c(),n.m(e.parentNode,e)))},d(o){n.d(o),o&&g(e)}}}function Ma(r){let e=r[10](r[21])+"",l,t,n=Oe(r[20],r[4],{relative:r[5],abbrFormat:!0})+"",o;return{c(){l=z(e),t=N(),o=z(n)},l(a){l=Q(a,e),t=P(a),o=Q(a,n)},m(a,i){I(a,l,i),I(a,t,i),I(a,o,i)},p(a,i){i&2&&e!==(e=a[10](a[21])+"")&&ae(l,e),i&50&&n!==(n=Oe(a[20],a[4],{relative:a[5],abbrFormat:!0})+"")&&ae(o,n)},d(a){a&&g(l),a&&g(t),a&&g(o)}}}function Ra(r){let e=r[11](r[20],r[4],r[5])+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&50&&e!==(e=t[11](t[20],t[4],t[5])+"")&&ae(l,e)},d(t){t&&g(l)}}}function Ha(r){let e,l,t,n,o;const a=[Wa,Fa],i=[];function s(f,u){return u&2&&(e=null),e==null&&(e=!!(f[19]==="ExecutionStatus"&&Pa(f[20]))),e?0:1}return l=s(r,-1),t=i[l]=a[l](r),{c(){t.c(),n=ee()},l(f){t.l(f),n=ee()},m(f,u){i[l].m(f,u),I(f,n,u),o=!0},p(f,u){let c=l;l=s(f,u),l===c?i[l].p(f,u):(X(),h(i[c],1,1,()=>{i[c]=null}),Z(),t=i[l],t?t.p(f,u):(t=i[l]=a[l](f),t.c()),p(t,1),t.m(n.parentNode,n))},i(f){o||(p(t),o=!0)},o(f){h(t),o=!1},d(f){i[l].d(f),f&&g(n)}}}function Jl(r,e){let l,t,n,o=e[19]&&Yl(e);return{key:r,first:null,c(){l=ee(),o&&o.c(),t=ee(),this.h()},l(a){l=ee(),o&&o.l(a),t=ee(),this.h()},h(){this.first=l},m(a,i){I(a,l,i),o&&o.m(a,i),I(a,t,i),n=!0},p(a,i){e=a,e[19]?o?(o.p(e,i),i&2&&p(o,1)):(o=Yl(e),o.c(),p(o,1),o.m(t.parentNode,t)):o&&(X(),h(o,1,1,()=>{o=null}),Z())},i(a){n||(p(o),n=!0)},o(a){h(o),n=!1},d(a){a&&g(l),o&&o.d(a),a&&g(t)}}}function Xl(r){let e,l;return e=new it({props:{variant:"secondary",size:"xs",$$slots:{default:[Ua]},$$scope:{ctx:r}}}),e.$on("click",r[9]),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&33554432&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ua(r){let e;return{c(){e=z("View More...")},l(l){e=Q(l,"View More...")},m(l,t){I(l,e,t)},d(l){l&&g(e)}}}function qa(r){let e,l=[],t=new Map,n,o,a=r[1];const i=f=>`${f[18].attribute}-${f[24]}`;for(let f=0;f{s=null}),Z()),(!o||u&2)&&pe(e,"pt-2",f[1].length)},i(f){if(!o){for(let u=0;ul(13,o=y)),U(r,Ze,y=>l(16,s=y)),U(r,Le,y=>l(17,f=y)),U(r,Vt,y=>l(4,u=y)),U(r,_r,y=>l(5,c=y));const{filter:m,activeQueryIndex:_}=Ke(qe);U(r,m,y=>l(3,i=y)),U(r,_,y=>l(2,a=y));const d=y=>{if(o.splice(y,1),de.set(o),Qe(f.url,o,s),y===o.length){const C=o[o.length-1];C&&(C.operator="")}y===a?(te(_,a=null,a),te(m,i=xe(),i)):y{n&&l(12,$+=5)},w=y=>["<","<="].includes(y)?M("before").toLowerCase():[">",">="].includes(y)?M("after").toLowerCase():y,v=(y,C,R)=>{const[q,j,Y,F]=y.split(" ");return`${q.toLowerCase()} ${Oe(j,C,{relative:R,abbrFormat:!0})} ${Y.toLowerCase()} ${Oe(F,C,{relative:R,abbrFormat:!0})}`},k=y=>d(y),B=(y,C)=>{te(_,a=y,a),te(m,i={...C},i)};return r.$$.update=()=>{r.$$.dirty&12288&&l(1,t=o.slice(0,$)),r.$$.dirty&12288&&l(0,n=${k=null}),Z()),(!b||C&2048)&&S(s,"max",y[11]),(!b||C&4096)&&S(s,"min",y[12]),(!b||C&256)&&(s.disabled=y[8]),(!b||C&64)&&S(s,"placeholder",y[6]),(!b||C&4)&&S(s,"id",y[2]),(!b||C&128)&&S(s,"name",y[7]),C&1&&fr(s.value)!==y[0]&&$l(s,y[0]),(!b||C&256)&&pe(s,"disabled",y[8]),(!b||C&512&&f!==(f="input-container "+y[9]+" svelte-1851tme"))&&S(a,"class",f),(!b||C&768)&&pe(a,"disabled",y[8]),(!b||C&33280)&&pe(a,"search",y[15]),(!b||C&8704)&&pe(a,"unroundRight",y[13]),(!b||C&16896)&&pe(a,"unroundLeft",y[14]),(!b||C&66048)&&pe(a,"invalid",!y[16]),(!b||C&32)&&ae(m,y[5]),(!b||C&131072&&_!==(_=pl(y[17].class)+" svelte-1851tme"))&&S(e,"class",_),!y[16]&&y[10]?B?B.p(y,C):(B=xl(y),B.c(),B.m($.parentNode,$)):B&&(B.d(1),B=null)},i(y){b||(p(k),b=!0)},o(y){h(k),b=!1},d(y){y&&g(e),k&&k.d(),y&&g(d),B&&B.d(y),y&&g($),w=!1,Lt(v)}}}function Ka(r,e,l){let{icon:t=null}=e,{id:n}=e,{value:o}=e,{label:a}=e,{labelHidden:i=!1}=e,{units:s=""}=e,{placeholder:f=""}=e,{name:u=n}=e,{disabled:c=!1}=e,{theme:m="light"}=e,{hintText:_=""}=e,{max:d=void 0}=e,{min:$=void 0}=e,{unroundRight:b=!1}=e,{unroundLeft:w=!1}=e,{search:v=!1}=e,k=!0;const B=F=>{$!==void 0&&F<$||d!==void 0&&F>d?l(16,k=!1):l(16,k=!0)};function y(F){Ye.call(this,r,F)}function C(F){Ye.call(this,r,F)}function R(F){Ye.call(this,r,F)}function q(F){Ye.call(this,r,F)}function j(F){Ye.call(this,r,F)}function Y(){o=fr(this.value),l(0,o)}return r.$$set=F=>{l(17,e=Wt(Wt({},e),Ot(F))),"icon"in F&&l(1,t=F.icon),"id"in F&&l(2,n=F.id),"value"in F&&l(0,o=F.value),"label"in F&&l(3,a=F.label),"labelHidden"in F&&l(4,i=F.labelHidden),"units"in F&&l(5,s=F.units),"placeholder"in F&&l(6,f=F.placeholder),"name"in F&&l(7,u=F.name),"disabled"in F&&l(8,c=F.disabled),"theme"in F&&l(9,m=F.theme),"hintText"in F&&l(10,_=F.hintText),"max"in F&&l(11,d=F.max),"min"in F&&l(12,$=F.min),"unroundRight"in F&&l(13,b=F.unroundRight),"unroundLeft"in F&&l(14,w=F.unroundLeft),"search"in F&&l(15,v=F.search)},r.$$.update=()=>{r.$$.dirty&1&&B(o)},e=Ot(e),[o,t,n,a,i,s,f,u,c,m,_,d,$,b,w,v,k,e,y,C,R,q,j,Y]}class Ga extends fe{constructor(e){super(),ue(this,e,Ka,Qa,ce,{icon:1,id:2,value:0,label:3,labelHidden:4,units:5,placeholder:6,name:7,disabled:8,theme:9,hintText:10,max:11,min:12,unroundRight:13,unroundLeft:14,search:15})}}function Ya(r){let e,l,t,n,o,a;l=new cl({props:{inputId:"number-filter-search",noBorderLeft:!0,noBorderRight:!0}});function i(f){r[4](f)}let s={label:M("number-input-placeholder"),labelHidden:!0,id:"number-filter-search",icon:"search",placeholder:M("number-input-placeholder"),min:Ar,unroundLeft:!0,search:!0,class:"-mr-2"};return r[0]!==void 0&&(s.value=r[0]),n=new Ga({props:s}),ie.push(()=>me(n,"value",i)),n.$on("keydown",r[3]),{c(){e=W("div"),E(l.$$.fragment),t=N(),E(n.$$.fragment),this.h()},l(f){e=O(f,"DIV",{class:!0});var u=V(e);T(l.$$.fragment,u),t=P(u),T(n.$$.fragment,u),u.forEach(g),this.h()},h(){S(e,"class","flex items-center")},m(f,u){I(f,e,u),D(l,e,null),A(e,t),D(n,e,null),a=!0},p(f,[u]){const c={};!o&&u&1&&(o=!0,c.value=f[0],_e(()=>o=!1)),n.$set(c)},i(f){a||(p(l.$$.fragment,f),p(n.$$.fragment,f),a=!0)},o(f){h(l.$$.fragment,f),h(n.$$.fragment,f),a=!1},d(f){f&&g(e),L(l),L(n)}}}const Ar=0;function Ja(r,e,l){let t,n;const{filter:o,focusedElementId:a,handleSubmit:i}=Ke(qe);U(r,o,c=>l(5,t=c)),U(r,a,c=>l(6,n=c));let s=t.value?Number(t.value):null;const f=c=>{te(a,n="",n),c.key==="Enter"&&s!==null&&s>=Ar&&(te(o,t.value=String(s),t),c.preventDefault(),i())};function u(c){s=c,l(0,s)}return[s,o,a,f,u]}class Xa extends fe{constructor(e){super(),ue(this,e,Ja,Ya,ce,{})}}const{Boolean:Za}=Hr;function en(r,e,l){const t=r.slice();t[15]=e[l].value,t[16]=e[l].label;const n=si(t[15],t[4]);return t[17]=n,t}function xa(r){let e=(r[2].attribute||M("workflows","filter"))+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&4&&e!==(e=(t[2].attribute||M("workflows","filter"))+"")&&ae(l,e)},d(t){t&&g(l)}}}function tn(r){let e,l;return e=new We({props:{name:"filter"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function ei(r){let e,l,t=!r[2].attribute&&tn();return{c(){t&&t.c(),e=ee()},l(n){t&&t.l(n),e=ee()},m(n,o){t&&t.m(n,o),I(n,e,o),l=!0},p(n,o){n[2].attribute?t&&(X(),h(t,1,1,()=>{t=null}),Z()):t?o&4&&p(t,1):(t=tn(),t.c(),p(t,1),t.m(e.parentNode,e))},i(n){l||(p(t),l=!0)},o(n){h(t),l=!1},d(n){t&&t.d(n),n&&g(e)}}}function ln(r){let e,l;return e=new ye({props:{class:"whitespace-nowrap",disabled:!0,$$slots:{default:[ti]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&1048576&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function ti(r){let e=M("no-results")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function li(r){let e=r[16]+"",l,t;return{c(){l=z(e),t=N()},l(n){l=Q(n,e),t=P(n)},m(n,o){I(n,l,o),I(n,t,o)},p(n,o){o&2&&e!==(e=n[16]+"")&&ae(l,e)},d(n){n&&g(l),n&&g(t)}}}function nn(r){let e,l;function t(){return r[13](r[15])}return e=new ye({props:{disabled:r[17],$$slots:{default:[li]},$$scope:{ctx:r}}}),e.$on("click",t),{c(){E(e.$$.fragment)},l(n){T(e.$$.fragment,n)},m(n,o){D(e,n,o),l=!0},p(n,o){r=n;const a={};o&18&&(a.disabled=r[17]),o&1048578&&(a.$$scope={dirty:o,ctx:r}),e.$set(a)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){h(e.$$.fragment,n),l=!1},d(n){L(e,n)}}}function ni(r){let e,l,t,n,o;function a(m){r[12](m)}let i={label:M("search"),labelHidden:!0,id:"filter-search",noBorder:!0,icon:"search",placeholder:M("search"),class:"mb-1"};r[0]!==void 0&&(i.value=r[0]),e=new Pe({props:i}),ie.push(()=>me(e,"value",a));let s=r[1],f=[];for(let m=0;mh(f[m],1,1,()=>{f[m]=null});let c=null;return s.length||(c=ln(r)),{c(){E(e.$$.fragment),t=N();for(let m=0;ml=!1)),e.$set(d),_&274){s=m[1];let $;for($=0;${c=null}),Z()):(c=ln(m),c.c(),p(c,1),c.m(n.parentNode,n))}},i(m){if(!o){p(e.$$.fragment,m);for(let _=0;_(l.conditional==="="||l.conditional==="!=")&&l.attribute===r)}function ai(r,e,l){let t,n,o,a,i,s,f;U(r,To,v=>l(10,o=v)),U(r,de,v=>l(4,f=v));const{filter:u,activeQueryIndex:c,focusedElementId:m}=Ke(qe);U(r,u,v=>l(2,i=v)),U(r,c,v=>l(3,s=v)),U(r,m,v=>l(14,a=v));function _(v){l(0,d=""),u.set({...xe(),attribute:v,conditional:"="}),te(m,a=Br(v),a)}let d="";const $=()=>l(0,d="");function b(v){d=v,l(0,d)}const w=v=>{_(v)};return r.$$.update=()=>{r.$$.dirty&1024&&l(9,t=o.filter(v=>!Lr(v.value))),r.$$.dirty&513&&l(1,n=d?t.filter(v=>v.value.toLowerCase().includes(d.toLowerCase())):t)},[d,n,i,s,f,u,c,m,_,t,o,$,b,w]}class ii extends fe{constructor(e){super(),ue(this,e,ai,oi,ce,{})}}function rn(r,e,l){const t=r.slice();t[18]=e[l];const n=t[0].some(function(...a){return r[12](t[18],...a)})||!t[0].length&&t[18]==="All";return t[19]=n,t}function fi(r){let e=r[1].attribute+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&2&&e!==(e=t[1].attribute+"")&&ae(l,e)},d(t){t&&g(l)}}}function ui(r){let e,l;return e=new At({props:{status:r[18]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function ci(r){let e,l;return e=new Fe({props:{namespace:"workflows",key:"all-statuses"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function mi(r){let e,l,t,n;const o=[ci,ui],a=[];function i(s,f){return s[18]==="All"?0:1}return e=i(r),l=a[e]=o[e](r),{c(){l.c(),t=ee()},l(s){l.l(s),t=ee()},m(s,f){a[e].m(s,f),I(s,t,f),n=!0},p(s,f){l.p(s,f)},i(s){n||(p(l),n=!0)},o(s){h(l),n=!1},d(s){a[e].d(s),s&&g(t)}}}function _i(r){let e,l;function t(){return r[10](r[18])}return e=new zt({props:{slot:"leading",checked:r[19],label:r[18],labelHidden:!0}}),e.$on("click",t),{c(){E(e.$$.fragment)},l(n){T(e.$$.fragment,n)},m(n,o){D(e,n,o),l=!0},p(n,o){r=n;const a={};o&1&&(a.checked=r[19]),e.$set(a)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){h(e.$$.fragment,n),l=!1},d(n){L(e,n)}}}function on(r,e){let l,t,n;function o(){return e[11](e[18])}return t=new ye({props:{"data-testid":e[18],$$slots:{leading:[_i],default:[mi]},$$scope:{ctx:e}}}),t.$on("click",o),{key:r,first:null,c(){l=ee(),E(t.$$.fragment),this.h()},l(a){l=ee(),T(t.$$.fragment,a),this.h()},h(){this.first=l},m(a,i){I(a,l,i),D(t,a,i),n=!0},p(a,i){e=a;const s={};i&4194305&&(s.$$scope={dirty:i,ctx:e}),t.$set(s)},i(a){n||(p(t.$$.fragment,a),n=!0)},o(a){h(t.$$.fragment,a),n=!1},d(a){a&&g(l),L(t,a)}}}function di(r){let e=[],l=new Map,t,n,o,a=qt;const i=s=>s[18];for(let s=0;sl(8,o=y)),U(r,Ze,y=>l(13,i=y)),U(r,Le,y=>l(14,s=y));const{filter:u,resetFilter:c}=Ke(qe);U(r,u,y=>l(1,a=y));const m=Xe(!0);U(r,m,y=>l(2,f=y));function _(){te(de,o=t,o),Qe(s.url,o,i)}function d(y){return{...a,value:y}}function $(y){return y.length===1?[d(y[0].value)]:y.map((C,R)=>{const q=R===y.length-1?"":"OR";return{...C,operator:q}})}const b=y=>{if(y==="All")l(7,t=o.filter(C=>C.attribute!=="ExecutionStatus"));else if(n.find(C=>C.value===y)){const C=o.filter(R=>!_t(R.attribute));l(7,t=[...C,...$(n.filter(R=>R.value!==y))])}else if(!n.length)l(7,t=[...t,d(y)]);else{const C=t.filter(R=>!_t(R.attribute));l(7,t=[...C,...$([...n,d(y)])])}_()},w=()=>{f&&c()},v=y=>b(y),k=y=>{b(y)},B=(y,C)=>C.value===y;return r.$$.update=()=>{r.$$.dirty&256&&l(7,t=[...o]),r.$$.dirty&128&&l(0,n=t.filter(y=>_t(y.attribute)))},[n,a,f,u,c,m,b,t,o,w,v,k,B]}class hi extends fe{constructor(e){super(),ue(this,e,gi,$i,ce,{})}}function bi(r){let e,l,t,n,o;e=new cl({props:{options:[{value:"=",label:M("equal-to")},{value:"!=",label:M("not-equal-to")}],inputId:"text-filter-search",noBorderLeft:!0}});function a(s){r[4](s)}let i={label:r[1].attribute,labelHidden:!0,id:"text-filter-search",type:"search",placeholder:`${M("enter")} ${r[1].attribute}`,icon:"search",class:"w-full",unroundLeft:!0};return r[0]!==void 0&&(i.value=r[0]),t=new Pe({props:i}),ie.push(()=>me(t,"value",a)),t.$on("keydown",r[3]),{c(){E(e.$$.fragment),l=N(),E(t.$$.fragment)},l(s){T(e.$$.fragment,s),l=P(s),T(t.$$.fragment,s)},m(s,f){D(e,s,f),I(s,l,f),D(t,s,f),o=!0},p(s,[f]){const u={};f&2&&(u.label=s[1].attribute),f&2&&(u.placeholder=`${M("enter")} ${s[1].attribute}`),!n&&f&1&&(n=!0,u.value=s[0],_e(()=>n=!1)),t.$set(u)},i(s){o||(p(e.$$.fragment,s),p(t.$$.fragment,s),o=!0)},o(s){h(e.$$.fragment,s),h(t.$$.fragment,s),o=!1},d(s){L(e,s),s&&g(l),L(t,s)}}}function ki(r,e,l){let t;const{filter:n,handleSubmit:o}=Ke(qe);U(r,n,f=>l(1,t=f));let a=t.value;function i(f){f.key==="Enter"&&a!==""&&(f.preventDefault(),te(n,t.value=a,t),o())}function s(f){a=f,l(0,a)}return[a,t,n,i,s]}let wi=class extends fe{constructor(e){super(),ue(this,e,ki,bi,ce,{})}};function vi(r){let e,l,t,n,o,a,i,s,f,u,c,m,_,d,$,b,w;const v=[Ti,Ei],k=[];function B(j,Y){return Y&1&&(l=null),l==null&&(l=!!_t(j[0].attribute)),l?0:1}t=B(r,-1),n=k[t]=v[t](r);const y=[yi,Ci,Li,Di],C=[];function R(j,Y){return Y&1&&(a=null),Y&1&&(i=null),Y&1&&(s=null),Y&1&&(f=null),a==null&&(a=!!Tt(j[0].attribute)),a?0:(i==null&&(i=!!Cr(j[0].attribute)),i?1:(s==null&&(s=!!ul(j[0].attribute)),s?2:(f==null&&(f=!!yr(j[0].attribute)),f?3:-1)))}~(u=R(r,-1))&&(c=C[u]=y[u](r));let q=r[2]&&sn(r);return{c(){e=W("div"),n.c(),o=N(),c&&c.c(),m=N(),_=W("div"),q&&q.c(),this.h()},l(j){e=O(j,"DIV",{class:!0});var Y=V(e);n.l(Y),o=P(Y),c&&c.l(Y),Y.forEach(g),m=P(j),_=O(j,"DIV",{class:!0});var F=V(_);q&&q.l(F),F.forEach(g),this.h()},h(){S(e,"class","flex items-center svelte-d4361j"),pe(e,"filter",!r[2]),S(_,"class",d="flex flex-col sm:flex-row "+(r[2]?"w-full justify-between":"justify-end"))},m(j,Y){I(j,e,Y),k[t].m(e,null),A(e,o),~u&&C[u].m(e,null),I(j,m,Y),I(j,_,Y),q&&q.m(_,null),$=!0,b||(w=ge(e,"keyup",r[8]),b=!0)},p(j,Y){let F=t;t=B(j,Y),t!==F&&(X(),h(k[F],1,1,()=>{k[F]=null}),Z(),n=k[t],n||(n=k[t]=v[t](j),n.c()),p(n,1),n.m(e,o));let J=u;u=R(j,Y),u!==J&&(c&&(X(),h(C[J],1,1,()=>{C[J]=null}),Z()),~u?(c=C[u],c||(c=C[u]=y[u](j),c.c()),p(c,1),c.m(e,null)):c=null),(!$||Y&4)&&pe(e,"filter",!j[2]),j[2]?q?(q.p(j,Y),Y&4&&p(q,1)):(q=sn(j),q.c(),p(q,1),q.m(_,null)):q&&(X(),h(q,1,1,()=>{q=null}),Z()),(!$||Y&4&&d!==(d="flex flex-col sm:flex-row "+(j[2]?"w-full justify-between":"justify-end")))&&S(_,"class",d)},i(j){$||(p(n),p(c),p(q),$=!0)},o(j){h(n),h(c),h(q),$=!1},d(j){j&&g(e),k[t].d(),~u&&C[u].d(),j&&g(m),j&&g(_),q&&q.d(),b=!1,w()}}}function Ii(r){let e,l;return e=new Dr({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ei(r){let e,l;return e=new ii({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ti(r){let e,l;return e=new hi({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Di(r){let e,l,t,n,o,a;return l=new ra({}),n=new Gt({}),{c(){e=W("div"),E(l.$$.fragment),t=N(),E(n.$$.fragment),this.h()},l(i){e=O(i,"DIV",{class:!0});var s=V(e);T(l.$$.fragment,s),t=P(s),T(n.$$.fragment,s),s.forEach(g),this.h()},h(){S(e,"class","flex w-full items-center")},m(i,s){I(i,e,s),D(l,e,null),A(e,t),D(n,e,null),a=!0},i(i){a||(p(l.$$.fragment,i),p(n.$$.fragment,i),o||st(()=>{o=at(e,yt,{x:-100,duration:150}),o.start()}),a=!0)},o(i){h(l.$$.fragment,i),h(n.$$.fragment,i),a=!1},d(i){i&&g(e),L(l),L(n)}}}function Li(r){let e,l,t,n,o,a;return l=new Ca({}),n=new Gt({}),{c(){e=W("div"),E(l.$$.fragment),t=N(),E(n.$$.fragment),this.h()},l(i){e=O(i,"DIV",{class:!0});var s=V(e);T(l.$$.fragment,s),t=P(s),T(n.$$.fragment,s),s.forEach(g),this.h()},h(){S(e,"class","flex w-full items-center")},m(i,s){I(i,e,s),D(l,e,null),A(e,t),D(n,e,null),a=!0},i(i){a||(p(l.$$.fragment,i),p(n.$$.fragment,i),o||st(()=>{o=at(e,yt,{x:-100,duration:150}),o.start()}),a=!0)},o(i){h(l.$$.fragment,i),h(n.$$.fragment,i),a=!1},d(i){i&&g(e),L(l),L(n)}}}function Ci(r){let e,l,t,n,o,a;return l=new Xa({}),n=new Gt({}),{c(){e=W("div"),E(l.$$.fragment),t=N(),E(n.$$.fragment),this.h()},l(i){e=O(i,"DIV",{class:!0});var s=V(e);T(l.$$.fragment,s),t=P(s),T(n.$$.fragment,s),s.forEach(g),this.h()},h(){S(e,"class","flex w-full items-center")},m(i,s){I(i,e,s),D(l,e,null),A(e,t),D(n,e,null),a=!0},i(i){a||(p(l.$$.fragment,i),p(n.$$.fragment,i),o||st(()=>{o=at(e,yt,{x:-100,duration:150}),o.start()}),a=!0)},o(i){h(l.$$.fragment,i),h(n.$$.fragment,i),a=!1},d(i){i&&g(e),L(l),L(n)}}}function yi(r){let e,l,t,n,o,a;return l=new wi({}),n=new Gt({}),{c(){e=W("div"),E(l.$$.fragment),t=N(),E(n.$$.fragment),this.h()},l(i){e=O(i,"DIV",{class:!0});var s=V(e);T(l.$$.fragment,s),t=P(s),T(n.$$.fragment,s),s.forEach(g),this.h()},h(){S(e,"class","flex w-full items-center")},m(i,s){I(i,e,s),D(l,e,null),A(e,t),D(n,e,null),a=!0},i(i){a||(p(l.$$.fragment,i),p(n.$$.fragment,i),o||st(()=>{o=at(e,yt,{x:-100,duration:150}),o.start()}),a=!0)},o(i){h(l.$$.fragment,i),h(n.$$.fragment,i),a=!1},d(i){i&&g(e),L(l),L(n)}}}function sn(r){let e,l;return e=new it({props:{variant:"ghost",$$slots:{default:[Bi]},$$scope:{ctx:r}}}),e.$on("click",r[6]),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2097152&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Bi(r){let e=M("clear-all")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Si(r){let e,l,t,n,o,a,i,s,f,u;const c=[Ii,vi],m=[];function _(b,w){return b[1]?0:1}t=_(r),n=m[t]=c[t](r);function d(b){r[12](b)}let $={label:M("workflows","view-search-input"),labelPosition:"left",id:"view-search-input"};return r[1]!==void 0&&($.checked=r[1]),a=new Eo({props:$}),ie.push(()=>me(a,"checked",d)),a.$on("change",r[13]),f=new za({}),{c(){e=W("div"),l=W("div"),n.c(),o=N(),E(a.$$.fragment),s=N(),E(f.$$.fragment),this.h()},l(b){e=O(b,"DIV",{class:!0});var w=V(e);l=O(w,"DIV",{class:!0});var v=V(l);n.l(v),o=P(v),T(a.$$.fragment,v),v.forEach(g),s=P(w),T(f.$$.fragment,w),w.forEach(g),this.h()},h(){S(l,"class","flex grow flex-col gap-4 sm:flex-row sm:items-center"),S(e,"class","flex grow flex-col")},m(b,w){I(b,e,w),A(e,l),m[t].m(l,null),A(l,o),D(a,l,null),A(e,s),D(f,e,null),u=!0},p(b,[w]){let v=t;t=_(b),t===v?m[t].p(b,w):(X(),h(m[v],1,1,()=>{m[v]=null}),Z(),n=m[t],n?n.p(b,w):(n=m[t]=c[t](b),n.c()),p(n,1),n.m(l,o));const k={};!i&&w&2&&(i=!0,k.checked=b[1],_e(()=>i=!1)),a.$set(k)},i(b){u||(p(n),p(a.$$.fragment,b),p(f.$$.fragment,b),u=!0)},o(b){h(n),h(a.$$.fragment,b),h(f.$$.fragment,b),u=!1},d(b){b&&g(e),m[t].d(),L(a),L(f)}}}const qe="filter-context";function Ai(r,e,l){let t,n,o,a,i,s,f,u;U(r,de,q=>l(10,s=q)),U(r,Le,q=>l(11,f=q)),U(r,ze,q=>l(16,u=q));const c=Xe(xe());U(r,c,q=>l(0,o=q));const m=Xe(null);U(r,m,q=>l(9,i=q));const _=Xe("");U(r,_,q=>l(15,a=q));let d=!1;Ur(qe,{filter:c,activeQueryIndex:m,handleSubmit:b,focusedElementId:_,resetFilter:B});function $(){const q=Er(Tr(s));q&&q===t?te(ze,u=Date.now(),u):Ue({url:f.url,parameter:"query",value:q,allowEmpty:!0})}function b(){i!==null?(te(de,s[i]=o,s),te(m,i=null,i)):te(de,s=[...s,o],s),c.set(xe()),$()}function w(){te(de,s=[],s),$()}function v(){i!==null&&te(_,a=Br(o.attribute),a)}function k(){if(a){const q=document.getElementById(a);q&&(q.focus(),q instanceof HTMLButtonElement&&q.click())}}qr(()=>{k()});function B(){m.set(null),c.set(xe())}function y(q){q.key==="Escape"&&!Tt(o.attribute)&&B()}function C(q){d=q,l(1,d)}const R=()=>{B()};return r.$$.update=()=>{r.$$.dirty&2048&&(t=f.url.searchParams.get("query")),r.$$.dirty&1025&&l(2,n=s.length&&!o.attribute),r.$$.dirty&512&&v()},[o,d,n,c,m,_,w,B,y,i,s,f,C,R]}class Ni extends fe{constructor(e){super(),ue(this,e,Ai,Si,ce,{})}}function Pi(r){let e,l,t=r[0].toLocaleString()+"",n,o,a=M("workflows").toLocaleLowerCase()+"",i,s;return{c(){e=W("div"),l=W("p"),n=z(t),o=N(),i=z(a),this.h()},l(f){e=O(f,"DIV",{class:!0});var u=V(e);l=O(u,"P",{class:!0,"data-testid":!0,"data-loaded":!0});var c=V(l);n=Q(c,t),o=P(c),i=Q(c,a),c.forEach(g),u.forEach(g),this.h()},h(){S(l,"class","flex items-center"),S(l,"data-testid","workflow-count"),S(l,"data-loaded",s=!r[1]&&!r[2]),S(e,"class","font-base flex text-center text-sm leading-4")},m(f,u){I(f,e,u),A(e,l),A(l,n),A(l,o),A(l,i)},p(f,[u]){u&1&&t!==(t=f[0].toLocaleString()+"")&&ae(n,t),u&6&&s!==(s=!f[1]&&!f[2])&&S(l,"data-loaded",s)},i:K,o:K,d(f){f&&g(e)}}}function Fi(r,e,l){let t,n;U(r,St,a=>l(1,t=a)),U(r,bt,a=>l(2,n=a));let{count:o=0}=e;return r.$$set=a=>{"count"in a&&l(0,o=a.count)},[o,t,n]}class Wi extends fe{constructor(e){super(),ue(this,e,Fi,Pi,ce,{count:0})}}function Oi(r){let e,l;return e=new At({props:{loading:r[2]||r[3],count:r[1],status:r[0],"test-id":"workflow-status-"+r[0]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,[n]){const o={};n&12&&(o.loading=t[2]||t[3]),n&2&&(o.count=t[1]),n&1&&(o.status=t[0]),n&1&&(o["test-id"]="workflow-status-"+t[0]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Vi(r,e,l){let t,n;U(r,St,i=>l(2,t=i)),U(r,bt,i=>l(3,n=i));let{status:o}=e,{count:a=0}=e;return r.$$set=i=>{"status"in i&&l(0,o=i.status),"count"in i&&l(1,a=i.count)},[o,a,t,n]}class Mi extends fe{constructor(e){super(),ue(this,e,Vi,Oi,ce,{status:0,count:1})}}function an(r,e,l){const t=r.slice();return t[9]=e[l].count,t[10]=e[l].status,t}function fn(r,e){let l,t,n;return t=new Mi({props:{status:e[10],count:e[9]}}),{key:r,first:null,c(){l=ee(),E(t.$$.fragment),this.h()},l(o){l=ee(),T(t.$$.fragment,o),this.h()},h(){this.first=l},m(o,a){I(o,l,a),D(t,o,a),n=!0},p(o,a){e=o;const i={};a&1&&(i.status=e[10]),a&1&&(i.count=e[9]),t.$set(i)},i(o){n||(p(t.$$.fragment,o),n=!0)},o(o){h(t.$$.fragment,o),n=!1},d(o){o&&g(l),L(t,o)}}}function Ri(r){let e,l,t,n=[],o=new Map,a;l=new Wi({props:{count:r[1].totalCount}});let i=r[0];const s=f=>f[10];for(let f=0;fl(6,o=m)),U(r,Rt,m=>l(1,a=m)),U(r,Le,m=>l(7,i=m)),U(r,St,m=>l(2,s=m)),U(r,bt,m=>l(3,f=m));let u=[];const c=async()=>{const{count:m,groups:_}=await vo({namespace:t,query:n});te(Rt,a.totalCount=parseInt(m),a),l(0,u=_.map(d=>{const $=Co(d==null?void 0:d.groupValues[0]),b=parseInt(d.count);return{status:$,count:b}}))};return r.$$.update=()=>{r.$$.dirty&128&&l(4,t=i.params.namespace),r.$$.dirty&128&&l(5,n=i.url.searchParams.get("query")),r.$$.dirty&112&&c()},[u,a,s,f,t,n,o,i]}class Ui extends fe{constructor(e){super(),ue(this,e,Hi,Ri,ce,{})}}const Zt=""+new URL("../assets/empty-state-dark_2x.91ea3d8e.png",import.meta.url).href,un=""+new URL("../assets/empty-state-light_2x.212be1d9.png",import.meta.url).href;function cn(r,e,l){const t=r.slice();return t[7]=e[l],t}const qi=r=>({}),mn=r=>({});function ji(r){let e,l,t,n,o,a;function i(_,d){return _[1]?Ki:Qi}let s=i(r),f=s(r);const u=[Ji,Yi,Gi],c=[];function m(_,d){return _[2]?0:_[1]?1:2}return t=m(r),n=c[t]=u[t](r),{c(){e=W("h2"),f.c(),l=N(),n.c(),o=ee(),this.h()},l(_){e=O(_,"H2",{class:!0});var d=V(e);f.l(d),d.forEach(g),l=P(_),n.l(_),o=ee(),this.h()},h(){S(e,"class","text-lg font-medium")},m(_,d){I(_,e,d),f.m(e,null),I(_,l,d),c[t].m(_,d),I(_,o,d),a=!0},p(_,d){s===(s=i(_))&&f?f.p(_,d):(f.d(1),f=s(_),f&&(f.c(),f.m(e,null)));let $=t;t=m(_),t===$?c[t].p(_,d):(X(),h(c[$],1,1,()=>{c[$]=null}),Z(),n=c[t],n?n.p(_,d):(n=c[t]=u[t](_),n.c()),p(n,1),n.m(o.parentNode,o))},i(_){a||(p(n),a=!0)},o(_){h(n),a=!1},d(_){_&&g(e),f.d(),_&&g(l),c[t].d(_),_&&g(o)}}}function zi(r){let e,l;return e=new al({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Qi(r){let e=M("workflows","workflow-empty-state-title")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Ki(r){let e=M("workflows","workflow-query-empty-state-title")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Gi(r){let e,l,t=M("workflows","workflow-empty-state-description")+"",n,o,a,i,s,f,u;const c=r[5].cloud,m=Ie(c,r,r[6],mn);a=new wt({props:{newTab:!0,href:"https://github.com/temporalio",$$slots:{default:[Xi]},$$scope:{ctx:r}}});let _=r[3],d=[];for(let b=0;b<_.length;b+=1)d[b]=_n(cn(r,_,b));const $=b=>h(d[b],1,1,()=>{d[b]=null});return{c(){m&&m.c(),e=N(),l=W("p"),n=z(t),o=N(),E(a.$$.fragment),i=z("."),s=N(),f=W("ul");for(let b=0;b{_[w]=null}),Z(),a=_[o],a?a.p($,b):(a=_[o]=m[o]($),a.c()),p(a,1),a.m(n,null)),(!c||b&2&&!gl(f.src,u=$[1]?un:Zt))&&S(f,"src",u)},i($){c||(p(a),c=!0)},o($){h(a),c=!1},d($){g(e),$&&g(l),$&&g(t),_[o].d()}}}function tf(r,e,l){let t,n,o;U(r,Le,u=>l(4,n=u)),U(r,pr,u=>l(2,o=u));let{$$slots:a={},$$scope:i}=e,{updating:s=!1}=e;const f=["samples-go","samples-java","samples-typescript","samples-python","samples-dotnet","samples-php"];return r.$$set=u=>{"updating"in u&&l(0,s=u.updating),"$$scope"in u&&l(6,i=u.$$scope)},r.$$.update=()=>{r.$$.dirty&16&&l(1,t=n.url.searchParams.get("query"))},[s,t,o,f,n,a,i]}class lf extends fe{constructor(e){super(),ue(this,e,tf,ef,ce,{updating:0})}}const nf=r=>({visibleItems:r&256}),dn=r=>({slot:"cloud",visibleItems:r[8].items});function pn(r,e,l){const t=r.slice();return t[23]=e[l],t}const rf=r=>({visibleItems:r&256}),$n=r=>({visibleItems:r[8].items}),of=r=>({visibleItems:r&256}),gn=r=>({visibleItems:r[8].items}),sf=r=>({visibleItems:r&256}),hn=r=>({visibleItems:r[8].items});function bn(r){let e,l;return e=new So({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function af(r){let e,l;return e=new lf({props:{updating:r[0],$$slots:{cloud:[uf]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&1&&(o.updating=t[0]),n&4194560&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function ff(r){let e,l,t,n,o,a,i,s,f,u,c;t=new No({props:{label:r[1],parameter:Ft,value:r[6],options:hr}});let m=r[8].pageShortcuts,_=[];for(let $=0;$h(_[$],1,1,()=>{_[$]=null});return s=new Ve({props:{label:r[4],disabled:!r[8].hasPrevious,icon:"arrow-left"}}),s.$on("click",r[19]),u=new Ve({props:{label:r[3],disabled:!r[8].hasNext,icon:"arrow-right"}}),u.$on("click",r[20]),{c(){e=W("div"),l=W("div"),E(t.$$.fragment),n=N(),o=W("div");for(let $=0;$<_.length;$+=1)_[$].c();a=N(),i=W("div"),E(s.$$.fragment),f=N(),E(u.$$.fragment),this.h()},l($){e=O($,"DIV",{class:!0});var b=V(e);l=O(b,"DIV",{class:!0});var w=V(l);T(t.$$.fragment,w),w.forEach(g),n=P(b),o=O(b,"DIV",{class:!0});var v=V(o);for(let B=0;B<_.length;B+=1)_[B].l(v);v.forEach(g),a=P(b),i=O(b,"DIV",{class:!0});var k=V(i);T(s.$$.fragment,k),f=P(k),T(u.$$.fragment,k),k.forEach(g),b.forEach(g),this.h()},h(){S(l,"class","paginated-table-controls-start svelte-5xhosh"),S(o,"class","paginated-table-controls-center svelte-5xhosh"),S(i,"class","paginated-table-controls-end svelte-5xhosh"),S(e,"class","paginated-table-controls svelte-5xhosh")},m($,b){I($,e,b),A(e,l),D(t,l,null),A(e,n),A(e,o);for(let w=0;w<_.length;w+=1)_[w].m(o,null);A(e,a),A(e,i),D(s,i,null),A(i,f),D(u,i,null),c=!0},p($,b){const w={};if(b&2&&(w.label=$[1]),b&64&&(w.value=$[6]),t.$set(w),b&1284){m=$[8].pageShortcuts;let B;for(B=0;B{i[c]=null}),Z(),t=i[l],t?t.p(f,u):(t=i[l]=a[l](f),t.c()),p(t,1),t.m(n.parentNode,n))},i(f){o||(p(t),o=!0)},o(f){h(t),o=!1},d(f){i[l].d(f),f&&g(n)}}}function df(r){let e,l,t,n,o,a,i,s,f,u,c;const m=r[17].caption,_=Ie(m,r,r[22],hn),d=r[17].headers,$=Ie(d,r,r[22],gn);let b=r[0]&&bn();const w=r[17].default,v=Ie(w,r,r[22],$n),k=[ff,af],B=[];function y(C,R){return C[8].items.length?0:1}return f=y(r),u=B[f]=k[f](r),{c(){e=W("div"),l=W("table"),_&&_.c(),t=N(),n=W("thead"),$&&$.c(),o=N(),b&&b.c(),a=N(),i=W("tbody"),v&&v.c(),s=N(),u.c(),this.h()},l(C){e=O(C,"DIV",{class:!0,style:!0});var R=V(e);l=O(R,"TABLE",{class:!0});var q=V(l);_&&_.l(q),t=P(q),n=O(q,"THEAD",{class:!0});var j=V(n);$&&$.l(j),o=P(j),b&&b.l(j),j.forEach(g),a=P(q),i=O(q,"TBODY",{class:!0});var Y=V(i);v&&v.l(Y),Y.forEach(g),q.forEach(g),s=P(R),u.l(R),R.forEach(g),this.h()},h(){S(n,"class","paginated-table-header svelte-5xhosh"),S(i,"class","paginated-table-body svelte-5xhosh"),S(l,"class","paginated-table svelte-5xhosh"),S(e,"class","paginated-table-wrapper svelte-5xhosh"),hl(e,"max-height","calc(100vh - "+r[9]+"px)")},m(C,R){I(C,e,R),A(e,l),_&&_.m(l,null),A(l,t),A(l,n),$&&$.m(n,null),A(n,o),b&&b.m(n,null),A(l,a),A(l,i),v&&v.m(i,null),A(e,s),B[f].m(e,null),r[21](e),c=!0},p(C,[R]){_&&_.p&&(!c||R&4194560)&&Ee(_,m,C,C[22],c?De(m,C[22],R,sf):Te(C[22]),hn),$&&$.p&&(!c||R&4194560)&&Ee($,d,C,C[22],c?De(d,C[22],R,of):Te(C[22]),gn),C[0]?b?R&1&&p(b,1):(b=bn(),b.c(),p(b,1),b.m(n,null)):b&&(X(),h(b,1,1,()=>{b=null}),Z()),v&&v.p&&(!c||R&4194560)&&Ee(v,w,C,C[22],c?De(w,C[22],R,rf):Te(C[22]),$n);let q=f;f=y(C),f===q?B[f].p(C,R):(X(),h(B[q],1,1,()=>{B[q]=null}),Z(),u=B[f],u?u.p(C,R):(u=B[f]=k[f](C),u.c()),p(u,1),u.m(e,null)),(!c||R&512)&&hl(e,"max-height","calc(100vh - "+C[9]+"px)")},i(C){c||(p(_,C),p($,C),p(b),p(v,C),p(u),c=!0)},o(C){h(_,C),h($,C),h(b),h(v,C),h(u),c=!1},d(C){C&&g(e),_&&_.d(C),$&&$.d(C),b&&b.d(),v&&v.d(C),B[f].d(),r[21](null)}}}function pf(r,e,l){let t,n,o,a,i,s,f=K,u=()=>(f(),f=el(a,J=>l(8,s=J)),a),c;U(r,Le,J=>l(16,c=J)),r.$$.on_destroy.push(()=>f());let{$$slots:m={},$$scope:_}=e;var d,$;let{items:b}=e,{updating:w=!1}=e,{perPageLabel:v}=e,{pageButtonLabel:k}=e,{nextPageButtonLabel:B}=e,{previousPageButtonLabel:y}=e,C;const R=J=>{Ue({parameter:Pt,value:J,url:t})},q=J=>R(J),j=()=>R(s.currentPage-1),Y=()=>R(s.currentPage+1);function F(J){ie[J?"unshift":"push"](()=>{C=J,l(5,C)})}return r.$$set=J=>{"items"in J&&l(11,b=J.items),"updating"in J&&l(0,w=J.updating),"perPageLabel"in J&&l(1,v=J.perPageLabel),"pageButtonLabel"in J&&l(2,k=J.pageButtonLabel),"nextPageButtonLabel"in J&&l(3,B=J.nextPageButtonLabel),"previousPageButtonLabel"in J&&l(4,y=J.previousPageButtonLabel),"$$scope"in J&&l(22,_=J.$$scope)},r.$$.update=()=>{r.$$.dirty&65536&&l(15,t=c.url),r.$$.dirty&36864&&l(6,n=l(12,d=t.searchParams.get(Ft))!==null&&d!==void 0?d:String(Cl)),r.$$.dirty&40960&&l(14,o=l(13,$=t.searchParams.get(Pt))!==null&&$!==void 0?$:"1"),r.$$.dirty&18496&&u(l(7,a=Ao(b,n,o))),r.$$.dirty&32832&&(parseInt(n,10)>parseInt(yl,10)?Ue({parameter:Ft,value:yl,url:t}):hr.includes(n)||Ue({parameter:Ft,value:Cl,url:t})),r.$$.dirty&49408&&(s.totalPages&&parseInt(o,10)>s.totalPages?Ue({parameter:Pt,value:s.totalPages,url:t}):(o===null||parseInt(o,10)<0)&&Ue({parameter:Pt,value:"1",url:t})),r.$$.dirty&16576&&(o&&a.jumpToPage(o),n&&a.adjustPageSize(n)),r.$$.dirty&32&&l(9,i=C!=null&&C.offsetTop?(C==null?void 0:C.offsetTop)+32:0)},[w,v,k,B,y,C,n,a,s,i,R,b,d,$,o,t,c,m,q,j,Y,F,_]}class $f extends fe{constructor(e){super(),ue(this,e,pf,df,ce,{items:11,updating:0,perPageLabel:1,pageButtonLabel:2,nextPageButtonLabel:3,previousPageButtonLabel:4})}}const gf=2,rt=[{label:"Status",pinned:!0},{label:"Workflow ID",pinned:!0},{label:"Run ID",pinned:!1},{label:"Type",pinned:!1},{label:"Start",pinned:!1},{label:"End",pinned:!1}],hf=[{label:"History Size",pinned:!1},{label:"History Length",pinned:!1},{label:"Execution Time",pinned:!1},{label:"Execution Duration",pinned:!1},{label:"State Transitions",pinned:!1},{label:"Parent Namespace",pinned:!1},{label:"Task Queue",pinned:!1}],Nr=r=>r.label!=="Parent Workflow ID",bf=()=>{let r;try{const e=window.localStorage.getItem("workflow-table-columns"),l=JSON.parse(e);e&&(l!=null&&l.length)?r=l.filter(Nr):r=rt}catch{r=rt}return r},rl=br("namespace-workflow-table-columns",{}),Yt=ft([Fo,Le,rl],([r,e,l])=>{const t={},n=(i,s)=>{var u;if(!((u=i==null?void 0:i[s])!=null&&u.length))return i[s]=[...bf()],i[s];const f=i[s].filter(Nr);return f.length!==i[s].length&&(i[s]=f,rl.set(i)),i[s]},o=(r==null?void 0:r.reduce((i,{namespaceInfo:{name:s}})=>({...i,[s]:n(l,s)}),t))??{},{namespace:a}=e.params;return o[a]?o:{...o,[a]:n(l,a)}});br("workflow-table-pinned-columns-width");const kf=r=>ft(Yt,e=>[...rt,...hf].filter(l=>{var t;return!((t=e[r])!=null&&t.some(n=>n.label===l.label))})),wf=r=>ft([$r,Yt],([e,l])=>Object.keys(e).filter(t=>{var n;return!((n=l[r])!=null&&n.some(o=>o.label===t))}).map(t=>({label:t,pinned:!1}))),vf=(r,e)=>{switch(r.type){case"WORKFLOW_COLUMN.ADD":{const{label:l,namespace:t}=r.payload,n=(e==null?void 0:e[t])??rt;return{...e,[t]:[...n,{label:l,pinned:!1}]}}case"WORKFLOW_COLUMN.REMOVE":{const{label:l,namespace:t}=r.payload,n=(e==null?void 0:e[t])??rt;return{...e,[t]:n.filter(({label:o})=>o!==l)}}case"WORKFLOW_COLUMN.PIN":{const{label:l,namespace:t}=r.payload,n=(e==null?void 0:e[t])??rt,o=n.findIndex(({label:f})=>f===l),a=n[o].pinned;let i=-1;for(let f=n.length-1;f>=0;f--)if(n[f].pinned){i=f;break}const s=[...n];return s[o].pinned=!a,o>i&&!a?s.splice(i+1,0,s.splice(o,1)[0]):o=0;f--)if(o[f].pinned){i=f;break}const s=[...o];return t<=i&&!a?s[l].pinned=!0:t>i&&a&&(s[l].pinned=!1),s.splice(t,0,s.splice(l,1)[0]),{...e,[n]:s.map((f,u)=>u>gf-1?{...f,pinned:!1}:f)}}default:return e}},ml=r=>{rl.update(e=>vf(r,e))},wn=(r,e)=>{ml({type:"WORKFLOW_COLUMN.ADD",payload:{label:r,namespace:e}})},If=(r,e)=>{ml({type:"WORKFLOW_COLUMN.REMOVE",payload:{label:r,namespace:e}})},Ef=(r,e,l)=>{ml({type:"WORKFLOW_COLUMN.MOVE",payload:{from:r,to:e,namespace:l}})};function vn(r){let e,l,t,n,o;return l=new Ve({props:{disabled:r[5]===0,icon:"chevron-up","data-testid":"orderable-list-item-"+r[1]+"-move-up-button",label:r[7]}}),l.$on("click",r[19]),n=new Ve({props:{disabled:r[5]===r[6]-1,icon:"chevron-down","data-testid":"orderable-list-item-"+r[1]+"-move-down-button",label:r[8]}}),n.$on("click",r[20]),{c(){e=W("div"),E(l.$$.fragment),t=N(),E(n.$$.fragment),this.h()},l(a){e=O(a,"DIV",{class:!0});var i=V(e);T(l.$$.fragment,i),t=P(i),T(n.$$.fragment,i),i.forEach(g),this.h()},h(){S(e,"class","flex items-center")},m(a,i){I(a,e,i),D(l,e,null),A(e,t),D(n,e,null),o=!0},p(a,i){const s={};i&32&&(s.disabled=a[5]===0),i&2&&(s["data-testid"]="orderable-list-item-"+a[1]+"-move-up-button"),i&128&&(s.label=a[7]),l.$set(s);const f={};i&96&&(f.disabled=a[5]===a[6]-1),i&2&&(f["data-testid"]="orderable-list-item-"+a[1]+"-move-down-button"),i&256&&(f.label=a[8]),n.$set(f)},i(a){o||(p(l.$$.fragment,a),p(n.$$.fragment,a),o=!0)},o(a){h(l.$$.fragment,a),h(n.$$.fragment,a),o=!1},d(a){a&&g(e),L(l),L(n)}}}function In(r){let e,l,t,n;const o=[Df,Tf],a=[];function i(s,f){return s[3]?0:1}return e=i(r),l=a[e]=o[e](r),{c(){l.c(),t=ee()},l(s){l.l(s),t=ee()},m(s,f){a[e].m(s,f),I(s,t,f),n=!0},p(s,f){let u=e;e=i(s),e===u?a[e].p(s,f):(X(),h(a[u],1,1,()=>{a[u]=null}),Z(),l=a[e],l?l.p(s,f):(l=a[e]=o[e](s),l.c()),p(l,1),l.m(t.parentNode,t))},i(s){n||(p(l),n=!0)},o(s){h(l),n=!1},d(s){a[e].d(s),s&&g(t)}}}function Tf(r){let e,l;return e=new Ve({props:{icon:"pin","data-testid":"orderable-list-item-"+r[1]+"-pin-button",label:r[9]}}),e.$on("click",r[22]),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2&&(o["data-testid"]="orderable-list-item-"+t[1]+"-pin-button"),n&512&&(o.label=t[9]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Df(r){let e,l;return e=new Ve({props:{icon:"pin-filled","data-testid":"orderable-list-item-"+r[1]+"-unpin-button",label:r[10]}}),e.$on("click",r[21]),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2&&(o["data-testid"]="orderable-list-item-"+t[1]+"-unpin-button"),n&1024&&(o.label=t[10]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function En(r){let e,l,t,n;const o=[Cf,Lf],a=[];function i(s,f){return s[0]?0:1}return e=i(r),l=a[e]=o[e](r),{c(){l.c(),t=ee()},l(s){l.l(s),t=ee()},m(s,f){a[e].m(s,f),I(s,t,f),n=!0},p(s,f){let u=e;e=i(s),e===u?a[e].p(s,f):(X(),h(a[u],1,1,()=>{a[u]=null}),Z(),l=a[e],l?l.p(s,f):(l=a[e]=o[e](s),l.c()),p(l,1),l.m(t.parentNode,t))},i(s){n||(p(l),n=!0)},o(s){h(l),n=!1},d(s){a[e].d(s),s&&g(t)}}}function Lf(r){let e,l;return e=new Ve({props:{icon:"hyphen","data-testid":"orderable-list-item-"+r[1]+"-remove-button",label:r[12]}}),e.$on("click",r[24]),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2&&(o["data-testid"]="orderable-list-item-"+t[1]+"-remove-button"),n&4096&&(o.label=t[12]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Cf(r){let e,l;return e=new Ve({props:{icon:"add","data-testid":"orderable-list-item-"+r[1]+"-add-button",label:r[11]}}),e.$on("click",r[23]),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2&&(o["data-testid"]="orderable-list-item-"+t[1]+"-add-button"),n&2048&&(o.label=t[11]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function yf(r){let e,l,t,n,o,a,i,s,f,u,c,m,_,d=!r[0]&&!r[4]&&vn(r),$=!r[0]&&!r[4]&&r[5]<=r[2]-1&&In(r),b=!r[4]&&En(r);return{c(){e=W("li"),l=W("div"),d&&d.c(),t=N(),n=z(r[1]),o=N(),$&&$.c(),a=N(),b&&b.c(),f=N(),u=W("hr"),this.h()},l(w){e=O(w,"LI",{draggable:!0,class:!0,"data-testid":!0});var v=V(e);l=O(v,"DIV",{class:!0});var k=V(l);d&&d.l(k),t=P(k),n=Q(k,r[1]),o=P(k),$&&$.l(k),k.forEach(g),a=P(v),b&&b.l(v),v.forEach(g),f=P(w),u=O(w,"HR",{class:!0}),this.h()},h(){S(l,"class","flex flex-row items-center gap-2"),S(e,"draggable",i=!r[0]&&!r[4]),S(e,"class","orderable-item group svelte-1btkzzb"),S(e,"data-testid",s="orderable-list-item-"+r[1]),pe(e,"readonly",r[4]),S(u,"class","svelte-1btkzzb")},m(w,v){I(w,e,v),A(e,l),d&&d.m(l,null),A(l,t),A(l,n),A(l,o),$&&$.m(l,null),A(e,a),b&&b.m(e,null),I(w,f,v),I(w,u,v),c=!0,m||(_=[ge(e,"dragstart",r[25]),ge(e,"drop",vt(r[26])),ge(e,"dragenter",Jt(vt(r[16]))),ge(e,"dragleave",Jt(vt(r[17]))),ge(e,"dragover",Jt(vt(r[18])))],m=!0)},p(w,[v]){!w[0]&&!w[4]?d?(d.p(w,v),v&17&&p(d,1)):(d=vn(w),d.c(),p(d,1),d.m(l,t)):d&&(X(),h(d,1,1,()=>{d=null}),Z()),(!c||v&2)&&ae(n,w[1]),!w[0]&&!w[4]&&w[5]<=w[2]-1?$?($.p(w,v),v&53&&p($,1)):($=In(w),$.c(),p($,1),$.m(l,null)):$&&(X(),h($,1,1,()=>{$=null}),Z()),w[4]?b&&(X(),h(b,1,1,()=>{b=null}),Z()):b?(b.p(w,v),v&16&&p(b,1)):(b=En(w),b.c(),p(b,1),b.m(e,null)),(!c||v&17&&i!==(i=!w[0]&&!w[4]))&&S(e,"draggable",i),(!c||v&2&&s!==(s="orderable-list-item-"+w[1]))&&S(e,"data-testid",s),(!c||v&16)&&pe(e,"readonly",w[4])},i(w){c||(p(d),p($),p(b),c=!0)},o(w){h(d),h($),h(b),c=!1},d(w){w&&g(e),d&&d.d(),$&&$.d(),b&&b.d(),w&&g(f),w&&g(u),m=!1,Lt(_)}}}function Bf(r,e,l){const t=pt();let{static:n=!1}=e,{label:o}=e,{maxPinnedItems:a=void 0}=e,{pinned:i=!1}=e,{readonly:s=!1}=e,{index:f=0}=e,{totalItems:u=0}=e,{moveUpButtonLabel:c=""}=e,{moveDownButtonLabel:m=""}=e,{pinButtonLabel:_=""}=e,{unpinButtonLabel:d=""}=e,{addButtonLabel:$=""}=e,{removeButtonLabel:b=""}=e;const w=(G,oe)=>{n||s||(G.dataTransfer.setData("text/plain",oe.toString()),G.dataTransfer.dropEffect="move")},v=(G,oe)=>{G.currentTarget.classList.remove("dragging-over");const $e=parseInt(G.dataTransfer.getData("text/plain"));t("moveItem",{from:$e,to:oe})},k=G=>G.currentTarget.classList.add("dragging-over"),B=G=>G.currentTarget.classList.remove("dragging-over");function y(G){Ye.call(this,r,G)}const C=()=>t("moveItem",{from:f,to:f-1}),R=()=>t("moveItem",{from:f,to:f+1}),q=()=>t("pinItem"),j=()=>t("pinItem"),Y=()=>t("addItem"),F=()=>t("removeItem"),J=G=>w(G,f),le=G=>v(G,f);return r.$$set=G=>{"static"in G&&l(0,n=G.static),"label"in G&&l(1,o=G.label),"maxPinnedItems"in G&&l(2,a=G.maxPinnedItems),"pinned"in G&&l(3,i=G.pinned),"readonly"in G&&l(4,s=G.readonly),"index"in G&&l(5,f=G.index),"totalItems"in G&&l(6,u=G.totalItems),"moveUpButtonLabel"in G&&l(7,c=G.moveUpButtonLabel),"moveDownButtonLabel"in G&&l(8,m=G.moveDownButtonLabel),"pinButtonLabel"in G&&l(9,_=G.pinButtonLabel),"unpinButtonLabel"in G&&l(10,d=G.unpinButtonLabel),"addButtonLabel"in G&&l(11,$=G.addButtonLabel),"removeButtonLabel"in G&&l(12,b=G.removeButtonLabel)},[n,o,a,i,s,f,u,c,m,_,d,$,b,t,w,v,k,B,y,C,R,q,j,Y,F,J,le]}class ut extends fe{constructor(e){super(),ue(this,e,Bf,yf,ce,{static:0,label:1,maxPinnedItems:2,pinned:3,readonly:4,index:5,totalItems:6,moveUpButtonLabel:7,moveDownButtonLabel:8,pinButtonLabel:9,unpinButtonLabel:10,addButtonLabel:11,removeButtonLabel:12})}}const Sf=r=>({}),Tn=r=>({});function Af(r){let e;return{c(){e=z("Items")},l(l){e=Q(l,"Items")},m(l,t){I(l,e,t)},d(l){l&&g(e)}}}function Nf(r){let e,l;return e=new ut({props:{readonly:!0,label:"No Items",pinned:!1}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Pf(r){let e,l,t,n,o;const a=r[1].heading,i=Ie(a,r,r[0],Tn),s=i||Af(),f=r[1].default,u=Ie(f,r,r[0],null),c=u||Nf();return{c(){e=W("div"),l=W("h4"),s&&s.c(),t=N(),n=W("ol"),c&&c.c(),this.h()},l(m){e=O(m,"DIV",{class:!0});var _=V(e);l=O(_,"H4",{class:!0});var d=V(l);s&&s.l(d),d.forEach(g),t=P(_),n=O(_,"OL",{class:!0});var $=V(n);c&&c.l($),$.forEach(g),_.forEach(g),this.h()},h(){S(l,"class","orderable-heading svelte-cheqnz"),S(n,"class","orderable-list svelte-cheqnz"),S(e,"class","orderable-section svelte-cheqnz")},m(m,_){I(m,e,_),A(e,l),s&&s.m(l,null),A(e,t),A(e,n),c&&c.m(n,null),o=!0},p(m,[_]){i&&i.p&&(!o||_&1)&&Ee(i,a,m,m[0],o?De(a,m[0],_,Sf):Te(m[0]),Tn),u&&u.p&&(!o||_&1)&&Ee(u,f,m,m[0],o?De(f,m[0],_,null):Te(m[0]),null)},i(m){o||(p(s,m),p(c,m),o=!0)},o(m){h(s,m),h(c,m),o=!1},d(m){m&&g(e),s&&s.d(m),c&&c.d(m)}}}function Ff(r,e,l){let{$$slots:t={},$$scope:n}=e;return r.$$set=o=>{"$$scope"in o&&l(0,n=o.$$scope)},[n,t]}let xt=class extends fe{constructor(e){super(),ue(this,e,Ff,Pf,ce,{})}};function Dn(r,e,l){const t=r.slice();return t[12]=e[l].label,t}function Ln(r,e,l){const t=r.slice();return t[12]=e[l].label,t}function Cn(r,e,l){const t=r.slice();return t[12]=e[l].label,t[18]=l,t}function yn(r){let e,l;return e=new ut({props:{readonly:!0,label:"No headings in view"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Bn(r,e){let l,t,n;function o(){return e[9](e[12])}return t=new ut({props:{index:e[18],label:e[12],totalItems:e[3].length,addButtonLabel:M("workflows","add-column-label",{column:e[12]}),removeButtonLabel:M("workflows","remove-column-label",{column:e[12]}),moveUpButtonLabel:M("workflows","move-column-up-label",{column:e[12]}),moveDownButtonLabel:M("workflows","move-column-down-label",{column:e[12]}),pinButtonLabel:M("workflows","pin-column-label",{column:e[12]}),unpinButtonLabel:M("workflows","unpin-column-label",{column:e[12]})}}),t.$on("moveItem",e[8]),t.$on("removeItem",o),{key:r,first:null,c(){l=ee(),E(t.$$.fragment),this.h()},l(a){l=ee(),T(t.$$.fragment,a),this.h()},h(){this.first=l},m(a,i){I(a,l,i),D(t,a,i),n=!0},p(a,i){e=a;const s={};i&8&&(s.index=e[18]),i&8&&(s.label=e[12]),i&8&&(s.totalItems=e[3].length),i&8&&(s.addButtonLabel=M("workflows","add-column-label",{column:e[12]})),i&8&&(s.removeButtonLabel=M("workflows","remove-column-label",{column:e[12]})),i&8&&(s.moveUpButtonLabel=M("workflows","move-column-up-label",{column:e[12]})),i&8&&(s.moveDownButtonLabel=M("workflows","move-column-down-label",{column:e[12]})),i&8&&(s.pinButtonLabel=M("workflows","pin-column-label",{column:e[12]})),i&8&&(s.unpinButtonLabel=M("workflows","unpin-column-label",{column:e[12]})),t.$set(s)},i(a){n||(p(t.$$.fragment,a),n=!0)},o(a){h(t.$$.fragment,a),n=!1},d(a){a&&g(l),L(t,a)}}}function Wf(r){let e=[],l=new Map,t,n,o=r[3];const a=s=>s[12];for(let s=0;s{i=null}),Z()):(i=yn(),i.c(),p(i,1),i.m(t.parentNode,t)))},i(s){if(!n){for(let f=0;fh(n[i],1,1,()=>{n[i]=null});let a=null;return t.length||(a=Sn()),{c(){for(let i=0;i{a=null}),Z()):(a=Sn(),a.c(),p(a,1),a.m(e.parentNode,e))}},i(i){if(!l){for(let s=0;sh(n[i],1,1,()=>{n[i]=null});let a=null;return t.length||(a=Nn()),{c(){for(let i=0;i{a=null}),Z()):(a=Nn(),a.c(),p(a,1),a.m(e.parentNode,e))}},i(i){if(!l){for(let s=0;s(s(),s=el(n,k=>l(4,i=k)),n),u,c=K,m=()=>(c(),c=el(o,k=>l(5,u=k)),o);U(r,Yt,k=>l(7,a=k)),r.$$.on_destroy.push(()=>s()),r.$$.on_destroy.push(()=>c());var _;let{namespace:d}=e;const $=k=>Ef(k.detail.from,k.detail.to,d),b=k=>If(k,d),w=k=>wn(k,d),v=k=>wn(k,d);return r.$$set=k=>{"namespace"in k&&l(0,d=k.namespace)},r.$$.update=()=>{r.$$.dirty&193&&l(3,t=l(6,_=a==null?void 0:a[d])!==null&&_!==void 0?_:[]),r.$$.dirty&1&&f(l(2,n=kf(d))),r.$$.dirty&1&&m(l(1,o=wf(d)))},[d,o,n,t,i,u,_,a,$,b,w,v]}class jf extends fe{constructor(e){super(),ue(this,e,qf,Uf,ce,{namespace:0})}}const Fn=(r,e=2)=>{if(!+r)return"0 Bytes";const l=1024,t=e<0?0:e,n=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],o=Math.floor(Math.log(r)/Math.log(l));return`${parseFloat((r/Math.pow(l,o)).toFixed(t))} ${n[o]}`},jt={WorkflowId:"Workflow ID",WorkflowType:"Type",RunId:"Run ID"},Ge={WorkflowId:"workflow-id",WorkflowType:"workflow-type",RunId:"run-id"},zf={WorkflowId:"id",WorkflowType:"name",RunId:"runId"};function Qf(r){let e;return{c(){e=z(r[2])},l(l){e=Q(l,r[2])},m(l,t){I(l,e,t)},p(l,t){t&4&&ae(e,l[2])},d(l){l&&g(e)}}}function Kf(r){let e,l,t,n;return e=new wt({props:{href:r[3],$$slots:{default:[Qf]},$$scope:{ctx:r}}}),t=new io({props:{copyIconTitle:M("copy-icon-title"),copySuccessIconTitle:M("copy-success-icon-title"),filterIconTitle:M("filter-workflows"),show:r[1],content:r[2],onFilter:r[5],filtered:r[4].some(r[9])}}),{c(){E(e.$$.fragment),l=N(),E(t.$$.fragment)},l(o){T(e.$$.fragment,o),l=P(o),T(t.$$.fragment,o)},m(o,a){D(e,o,a),I(o,l,a),D(t,o,a),n=!0},p(o,[a]){const i={};a&8&&(i.href=o[3]),a&2052&&(i.$$scope={dirty:a,ctx:o}),e.$set(i);const s={};a&2&&(s.show=o[1]),a&4&&(s.content=o[2]),a&21&&(s.filtered=o[4].some(o[9])),t.$set(s)},i(o){n||(p(e.$$.fragment,o),p(t.$$.fragment,o),n=!0)},o(o){h(e.$$.fragment,o),h(t.$$.fragment,o),n=!1},d(o){L(e,o),o&&g(l),L(t,o)}}}function Gf(r,e,l){let t,n,o,a,i,s;U(r,Ze,d=>l(10,a=d)),U(r,de,d=>l(4,i=d)),U(r,Le,d=>l(8,s=d));let{attribute:f}=e,{workflow:u}=e,{filterOrCopyButtonsVisible:c=!1}=e;const m=()=>{const d=i.find(b=>b.attribute===f),$=()=>i.filter(b=>b.attribute!==f);if(d)te(de,i=[...$()],i);else{const b={attribute:f,value:t,conditional:"=",operator:"",parenthesis:""};te(de,i=[...$(),b],i)}Qe(s.url,i,a)},_=d=>d.attribute===f&&d.value===t;return r.$$set=d=>{"attribute"in d&&l(0,f=d.attribute),"workflow"in d&&l(6,u=d.workflow),"filterOrCopyButtonsVisible"in d&&l(1,c=d.filterOrCopyButtonsVisible)},r.$$.update=()=>{r.$$.dirty&65&&l(2,t=u[zf[f]]),r.$$.dirty&256&&l(7,n=s.params.namespace),r.$$.dirty&192&&l(3,o=Oo({namespace:n,workflow:u.id,run:u.runId}))},[f,c,t,o,i,m,u,n,s,_]}class _l extends fe{constructor(e){super(),ue(this,e,Gf,Kf,ce,{attribute:0,workflow:6,filterOrCopyButtonsVisible:1})}}function Yf(r){const e=r.slice(),l=e[0].searchAttributes.indexedFields[e[2]];return e[9]=l,e}function Jf(r){let e,l,t,n,o;const a=[iu,au,su,ou,ru,nu,lu,tu,eu,xf,Zf],i=[];function s(u,c){return c&5&&(l=null),u[2]==="Status"?0:u[2]==="End"?1:u[2]==="Start"?2:u[2]==="Task Queue"?3:u[2]==="Parent Namespace"?4:u[2]==="History Size"?5:u[2]==="State Transitions"?6:u[2]==="Execution Time"?7:u[2]==="Execution Duration"?8:u[2]==="History Length"?9:(l==null&&(l=!!(Do(u[2])&&Lo(u[0],u[2]))),l?10:-1)}function f(u,c){return c===10?Yf(u):u}return~(t=s(r,-1))&&(n=i[t]=a[t](f(r,t))),{c(){e=W("td"),n&&n.c(),this.h()},l(u){e=O(u,"TD",{class:!0,"data-testid":!0});var c=V(e);n&&n.l(c),c.forEach(g),this.h()},h(){S(e,"class","workflows-summary-table-body-cell svelte-qupenl"),S(e,"data-testid","workflows-summary-table-body-cell")},m(u,c){I(u,e,c),~t&&i[t].m(e,null),o=!0},p(u,c){let m=t;t=s(u,c),t===m?~t&&i[t].p(f(u,t),c):(n&&(X(),h(i[m],1,1,()=>{i[m]=null}),Z()),~t?(n=i[t],n?n.p(f(u,t),c):(n=i[t]=a[t](f(u,t)),n.c()),p(n,1),n.m(e,null)):n=null)},i(u){o||(p(n),o=!0)},o(u){h(n),o=!1},d(u){u&&g(e),~t&&i[t].d()}}}function Xf(r){let e,l,t,n,o,a;const i=[pu,du,_u],s=[];function f(u,c){return u[2]==="Type"?0:u[2]==="Workflow ID"?1:u[2]==="Run ID"?2:-1}return~(l=f(r))&&(t=s[l]=i[l](r)),{c(){e=W("td"),t&&t.c(),this.h()},l(u){e=O(u,"TD",{class:!0,"data-testid":!0});var c=V(e);t&&t.l(c),c.forEach(g),this.h()},h(){S(e,"class","workflows-summary-table-body-cell filterable svelte-qupenl"),S(e,"data-testid","workflows-summary-table-body-cell")},m(u,c){I(u,e,c),~l&&s[l].m(e,null),n=!0,o||(a=[ge(e,"mouseover",r[6]),ge(e,"focus",r[6]),ge(e,"mouseleave",r[7]),ge(e,"blur",r[7])],o=!0)},p(u,c){let m=l;l=f(u),l===m?~l&&s[l].p(u,c):(t&&(X(),h(s[m],1,1,()=>{s[m]=null}),Z()),~l?(t=s[l],t?t.p(u,c):(t=s[l]=i[l](u),t.c()),p(t,1),t.m(e,null)):t=null)},i(u){n||(p(t),n=!0)},o(u){h(t),n=!1},d(u){u&&g(e),~l&&s[l].d(),o=!1,Lt(a)}}}function Zf(r){let e,l,t,n;const o=[cu,uu,fu],a=[];function i(s,f){return s[5][s[2]]==="Datetime"&&typeof s[9]=="string"?0:s[5][s[2]]==="Bool"?1:2}return e=i(r),l=a[e]=o[e](r),{c(){l.c(),t=ee()},l(s){l.l(s),t=ee()},m(s,f){a[e].m(s,f),I(s,t,f),n=!0},p(s,f){let u=e;e=i(s),e===u?a[e].p(s,f):(X(),h(a[u],1,1,()=>{a[u]=null}),Z(),l=a[e],l?l.p(s,f):(l=a[e]=o[e](s),l.c()),p(l,1),l.m(t.parentNode,t))},i(s){n||(p(l),n=!0)},o(s){h(l),n=!1},d(s){a[e].d(s),s&&g(t)}}}function xf(r){let e=(parseInt(r[0].historyEvents,10)>0?r[0].historyEvents:"")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&1&&e!==(e=(parseInt(t[0].historyEvents,10)>0?t[0].historyEvents:"")+"")&&ae(l,e)},i:K,o:K,d(t){t&&g(l)}}}function eu(r){let e=Dl({start:r[0].startTime,end:r[0].endTime,includeMillisecondsForUnderSecond:!0})+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&1&&e!==(e=Dl({start:t[0].startTime,end:t[0].endTime,includeMillisecondsForUnderSecond:!0})+"")&&ae(l,e)},i:K,o:K,d(t){t&&g(l)}}}function tu(r){let e=Oe(r[0].executionTime,r[3],{relative:r[4]})+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&25&&e!==(e=Oe(t[0].executionTime,t[3],{relative:t[4]})+"")&&ae(l,e)},i:K,o:K,d(t){t&&g(l)}}}function lu(r){let e=(parseInt(r[0].stateTransitionCount,10)>0?r[0].stateTransitionCount:"")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&1&&e!==(e=(parseInt(t[0].stateTransitionCount,10)>0?t[0].stateTransitionCount:"")+"")&&ae(l,e)},i:K,o:K,d(t){t&&g(l)}}}function nu(r){let e=Fn(parseInt(r[0].historySizeBytes,10))+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&1&&e!==(e=Fn(parseInt(t[0].historySizeBytes,10))+"")&&ae(l,e)},i:K,o:K,d(t){t&&g(l)}}}function ru(r){let e=r[0].parentNamespaceId+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&1&&e!==(e=t[0].parentNamespaceId+"")&&ae(l,e)},i:K,o:K,d(t){t&&g(l)}}}function ou(r){let e=r[0].taskQueue+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&1&&e!==(e=t[0].taskQueue+"")&&ae(l,e)},i:K,o:K,d(t){t&&g(l)}}}function su(r){let e=Oe(r[0].startTime,r[3],{relative:r[4]})+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&25&&e!==(e=Oe(t[0].startTime,t[3],{relative:t[4]})+"")&&ae(l,e)},i:K,o:K,d(t){t&&g(l)}}}function au(r){let e=Oe(r[0].endTime,r[3],{relative:r[4]})+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&25&&e!==(e=Oe(t[0].endTime,t[3],{relative:t[4]})+"")&&ae(l,e)},i:K,o:K,d(t){t&&g(l)}}}function iu(r){let e,l;return e=new At({props:{status:r[0].status}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&1&&(o.status=t[0].status),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function fu(r){let e=r[9]+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&5&&e!==(e=t[9]+"")&&ae(l,e)},i:K,o:K,d(t){t&&g(l)}}}function uu(r){let e,l;return e=new Wo({props:{$$slots:{default:[mu]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&1029&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function cu(r){let e=Oe(r[9],r[3],{relative:r[4]})+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&29&&e!==(e=Oe(t[9],t[3],{relative:t[4]})+"")&&ae(l,e)},i:K,o:K,d(t){t&&g(l)}}}function mu(r){let e=r[9]+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&5&&e!==(e=t[9]+"")&&ae(l,e)},d(t){t&&g(l)}}}function _u(r){let e,l;return e=new _l({props:{filterOrCopyButtonsVisible:r[1],attribute:"RunId",workflow:r[0]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2&&(o.filterOrCopyButtonsVisible=t[1]),n&1&&(o.workflow=t[0]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function du(r){let e,l;return e=new _l({props:{filterOrCopyButtonsVisible:r[1],attribute:"WorkflowId",workflow:r[0]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2&&(o.filterOrCopyButtonsVisible=t[1]),n&1&&(o.workflow=t[0]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function pu(r){let e,l;return e=new _l({props:{filterOrCopyButtonsVisible:r[1],attribute:"WorkflowType",workflow:r[0]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2&&(o.filterOrCopyButtonsVisible=t[1]),n&1&&(o.workflow=t[0]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function $u(r){let e,l,t,n;const o=[Xf,Jf],a=[];function i(s,f){return s[2]==="Run ID"||s[2]==="Workflow ID"||s[2]==="Type"?0:1}return e=i(r),l=a[e]=o[e](r),{c(){l.c(),t=ee()},l(s){l.l(s),t=ee()},m(s,f){a[e].m(s,f),I(s,t,f),n=!0},p(s,[f]){let u=e;e=i(s),e===u?a[e].p(s,f):(X(),h(a[u],1,1,()=>{a[u]=null}),Z(),l=a[e],l?l.p(s,f):(l=a[e]=o[e](s),l.c()),p(l,1),l.m(t.parentNode,t))},i(s){n||(p(l),n=!0)},o(s){h(l),n=!1},d(s){a[e].d(s),s&&g(t)}}}function gu(r,e,l){let t,n,o,a;U(r,Vt,m=>l(3,n=m)),U(r,_r,m=>l(4,o=m)),U(r,$r,m=>l(5,a=m));let{column:i}=e,{workflow:s}=e,f=!1;const u=()=>l(1,f=!0),c=()=>l(1,f=!1);return r.$$set=m=>{"column"in m&&l(8,i=m.column),"workflow"in m&&l(0,s=m.workflow)},r.$$.update=()=>{r.$$.dirty&256&&l(2,{label:t}=i,t)},[s,f,t,n,o,a,u,c,i]}class hu extends fe{constructor(e){super(),ue(this,e,gu,$u,ce,{column:8,workflow:0})}}function bu(r){let e=jt[r[0]]+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&1&&e!==(e=jt[t[0]]+"")&&ae(l,e)},d(t){t&&g(l)}}}function ku(r){let e,l;return e=new We({props:{name:"filter",slot:"trailing"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function wu(r){let e,l,t;function n(a){r[6](a)}let o={icon:"search",type:"search",label:M("search"),labelHidden:!0,id:Ge[r[0]],placeholder:jt[r[0]],class:"flex items-center p-2 transition-all hover:cursor-pointer",autoFocus:!0,clearable:!0,clearButtonLabel:M("clear-input-button-label")};return r[1]!==void 0&&(o.value=r[1]),e=new Pe({props:o}),ie.push(()=>me(e,"value",n)),e.$on("input",r[2]),e.$on("clear",r[4]),{c(){E(e.$$.fragment)},l(a){T(e.$$.fragment,a)},m(a,i){D(e,a,i),t=!0},p(a,i){const s={};i&1&&(s.id=Ge[a[0]]),i&1&&(s.placeholder=jt[a[0]]),!l&&i&2&&(l=!0,s.value=a[1],_e(()=>l=!1)),e.$set(s)},i(a){t||(p(e.$$.fragment,a),t=!0)},o(a){h(e.$$.fragment,a),t=!1},d(a){L(e,a)}}}function vu(r){let e,l,t,n;return e=new lt({props:{"data-testid":Ge[r[0]]+"-filter-button",variant:"table-header",controls:Ge[r[0]]+"-filter-menu",$$slots:{trailing:[ku],default:[bu]},$$scope:{ctx:r}}}),e.$on("click",r[3]),t=new nt({props:{keepOpen:!0,id:Ge[r[0]]+"-filter-menu",class:"w-[500px]",$$slots:{default:[wu]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment),l=N(),E(t.$$.fragment)},l(o){T(e.$$.fragment,o),l=P(o),T(t.$$.fragment,o)},m(o,a){D(e,o,a),I(o,l,a),D(t,o,a),n=!0},p(o,a){const i={};a&1&&(i["data-testid"]=Ge[o[0]]+"-filter-button"),a&1&&(i.controls=Ge[o[0]]+"-filter-menu"),a&1025&&(i.$$scope={dirty:a,ctx:o}),e.$set(i);const s={};a&1&&(s.id=Ge[o[0]]+"-filter-menu"),a&1027&&(s.$$scope={dirty:a,ctx:o}),t.$set(s)},i(o){n||(p(e.$$.fragment,o),p(t.$$.fragment,o),n=!0)},o(o){h(e.$$.fragment,o),h(t.$$.fragment,o),n=!1},d(o){L(e,o),o&&g(l),L(t,o)}}}function Iu(r){let e,l;return e=new tt({props:{$$slots:{default:[vu]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,[n]){const o={};n&1027&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Eu(r,e,l){let t,n,o;U(r,de,_=>l(5,n=_)),U(r,Le,_=>l(8,o=_));let a="",{attribute:i}=e;const s=()=>n.filter(_=>_.attribute!==i),f=_=>{const{value:d}=_.target;if(d){const $={attribute:i,value:d,conditional:"=",operator:"",parenthesis:""};te(de,n=[...s(),$],n)}else te(de,n=[...s()],n);Qe(o.url,n)};function u(_){const{open:d}=_.detail;d&&(t!=null&&t.value)?l(1,a=t.value):d&&!t&&a&&l(1,a="")}function c(){te(de,n=[...s()],n),Qe(o.url,n)}function m(_){a=_,l(1,a)}return r.$$set=_=>{"attribute"in _&&l(0,i=_.attribute)},r.$$.update=()=>{r.$$.dirty&33&&(t=n.find(_=>_.attribute===i))},[i,a,f,u,c,n,m]}class dl extends fe{constructor(e){super(),ue(this,e,Eu,Iu,ce,{attribute:0})}}function Wn(r,e,l){const t=r.slice();return t[7]=e[l],t}function Tu(r){let e=M("status")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Du(r){let e,l;return e=new We({props:{name:"filter",slot:"trailing"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Lu(r){let e,l;return e=new At({props:{status:r[7]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Cu(r){let e,l;return e=new Fe({props:{namespace:"workflows",key:"all-statuses"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function yu(r){let e,l,t,n;const o=[Cu,Lu],a=[];function i(s,f){return s[7]==="All"?0:1}return e=i(r),l=a[e]=o[e](r),{c(){l.c(),t=N()},l(s){l.l(s),t=P(s)},m(s,f){a[e].m(s,f),I(s,t,f),n=!0},p(s,f){l.p(s,f)},i(s){n||(p(l),n=!0)},o(s){h(l),n=!1},d(s){a[e].d(s),s&&g(t)}}}function Bu(r){let e,l;function t(...o){return r[3](r[7],...o)}function n(){return r[4](r[7])}return e=new zt({props:{slot:"leading",label:r[7],labelHidden:!0,tabindex:-1,checked:r[0].some(t)||!r[0].length&&r[7]==="All"}}),e.$on("click",n),{c(){E(e.$$.fragment)},l(o){T(e.$$.fragment,o)},m(o,a){D(e,o,a),l=!0},p(o,a){r=o;const i={};a&1&&(i.checked=r[0].some(t)||!r[0].length&&r[7]==="All"),e.$set(i)},i(o){l||(p(e.$$.fragment,o),l=!0)},o(o){h(e.$$.fragment,o),l=!1},d(o){L(e,o)}}}function On(r){let e,l;function t(){return r[5](r[7])}return e=new ye({props:{$$slots:{leading:[Bu],default:[yu]},$$scope:{ctx:r}}}),e.$on("click",t),{c(){E(e.$$.fragment)},l(n){T(e.$$.fragment,n)},m(n,o){D(e,n,o),l=!0},p(n,o){r=n;const a={};o&1025&&(a.$$scope={dirty:o,ctx:r}),e.$set(a)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){h(e.$$.fragment,n),l=!1},d(n){L(e,n)}}}function Su(r){let e,l,t=qt,n=[];for(let a=0;ah(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;a{const t=l===0?"(":l===r.length-1?")":"",n=l===r.length-1?"":"OR";return{...e,operator:n,parenthesis:t}})}function Pu(r,e,l){let t,n,o;U(r,de,u=>l(2,n=u)),U(r,Le,u=>l(6,o=u));const a=u=>{if(u==="All")te(de,n=n.filter(c=>c.attribute!=="ExecutionStatus"),n);else if(t.find(c=>c.value===u)){const c=n.filter(m=>m.attribute!=="ExecutionStatus");te(de,n=[...c,...Vn(t.filter(m=>m.value!==u))],n)}else if(!t.length)te(de,n=[...n,ol(u)],n);else{const c=n.filter(m=>m.attribute!=="ExecutionStatus");te(de,n=[...c,...Vn([...t,ol(u)])],n)}Qe(o.url,n)},i=(u,c)=>c.value===u,s=u=>a(u),f=u=>a(u);return r.$$.update=()=>{r.$$.dirty&4&&l(0,t=n.filter(u=>u.attribute==="ExecutionStatus"))},[t,a,n,i,s,f]}class Fu extends fe{constructor(e){super(),ue(this,e,Pu,Nu,ce,{})}}function Wu(r){let e;return{c(){e=z(r[0])},l(l){e=Q(l,r[0])},m(l,t){I(l,e,t)},p(l,t){t&1&&ae(e,l[0])},d(l){l&&g(e)}}}function Ou(r){let e;return{c(){e=z(r[0])},l(l){e=Q(l,r[0])},m(l,t){I(l,e,t)},p(l,t){t&1&&ae(e,l[0])},i:K,o:K,d(l){l&&g(e)}}}function Vu(r){let e,l;return e=new dl({props:{attribute:"WorkflowType"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Mu(r){let e,l;return e=new dl({props:{attribute:"RunId"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ru(r){let e,l;return e=new dl({props:{attribute:"WorkflowId"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Hu(r){let e,l;return e=new Fu({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Uu(r){let e,l,t,n;const o=[Hu,Ru,Mu,Vu,Ou],a=[];function i(s,f){return s[0]==="Status"?0:s[0]==="Workflow ID"?1:s[0]==="Run ID"?2:s[0]==="Type"?3:4}return e=i(r),l=a[e]=o[e](r),{c(){l.c(),t=ee()},l(s){l.l(s),t=ee()},m(s,f){a[e].m(s,f),I(s,t,f),n=!0},p(s,f){let u=e;e=i(s),e===u?a[e].p(s,f):(X(),h(a[u],1,1,()=>{a[u]=null}),Z(),l=a[e],l?l.p(s,f):(l=a[e]=o[e](s),l.c()),p(l,1),l.m(t.parentNode,t))},i(s){n||(p(l),n=!0)},o(s){h(l),n=!1},d(s){a[e].d(s),s&&g(t)}}}function qu(r){let e,l,t,n;return l=new fl({props:{$$slots:{fallback:[Uu],default:[Wu]},$$scope:{ctx:r}}}),{c(){e=W("th"),E(l.$$.fragment),this.h()},l(o){e=O(o,"TH",{class:!0,"data-testid":!0});var a=V(e);T(l.$$.fragment,a),a.forEach(g),this.h()},h(){S(e,"class","workflows-summary-table-header-cell svelte-x2wk3"),S(e,"data-testid",t="workflows-summary-table-header-cell-"+r[0])},m(o,a){I(o,e,a),D(l,e,null),n=!0},p(o,[a]){const i={};a&5&&(i.$$scope={dirty:a,ctx:o}),l.$set(i),(!n||a&1&&t!==(t="workflows-summary-table-header-cell-"+o[0]))&&S(e,"data-testid",t)},i(o){n||(p(l.$$.fragment,o),n=!0)},o(o){h(l.$$.fragment,o),n=!1},d(o){o&&g(e),L(l)}}}function ju(r,e,l){let t,{column:n}=e;return r.$$set=o=>{"column"in o&&l(1,n=o.column)},r.$$.update=()=>{r.$$.dirty&2&&l(0,{label:t}=n,t)},[t,n]}class zu extends fe{constructor(e){super(),ue(this,e,ju,qu,ce,{column:1})}}const Qu=["workflowCancelDisabled","workflowTerminateDisabled"],Ku=r=>r.disableWriteActions||r.batchActionsDisabled?!1:Qu.some(e=>!r[e]),Pr=ft([Mo,ht,Ro,Qr],([r,e,l,t])=>(t?!0:Vo(r,"1.18.0"))&&e&&Ku(l));function Gu(r){let e,l,t,n,o;const a=r[5].default,i=Ie(a,r,r[4],null);return{c(){e=W("button"),i&&i.c(),this.h()},l(s){e=O(s,"BUTTON",{"data-testid":!0,class:!0});var f=V(e);i&&i.l(f),f.forEach(g),this.h()},h(){S(e,"data-testid",r[0]),e.disabled=r[1],S(e,"class",l="bulk-action-button "+r[2]+" "+r[3].class+" svelte-19w6g7u")},m(s,f){I(s,e,f),i&&i.m(e,null),t=!0,n||(o=ge(e,"click",r[6]),n=!0)},p(s,[f]){i&&i.p&&(!t||f&16)&&Ee(i,a,s,s[4],t?De(a,s[4],f,null):Te(s[4]),null),(!t||f&1)&&S(e,"data-testid",s[0]),(!t||f&2)&&(e.disabled=s[1]),(!t||f&12&&l!==(l="bulk-action-button "+s[2]+" "+s[3].class+" svelte-19w6g7u"))&&S(e,"class",l)},i(s){t||(p(i,s),t=!0)},o(s){h(i,s),t=!1},d(s){s&&g(e),i&&i.d(s),n=!1,o()}}}function Yu(r,e,l){let{$$slots:t={},$$scope:n}=e,{testId:o=null}=e,{disabled:a=!1}=e,{variant:i="primary"}=e;function s(f){Ye.call(this,r,f)}return r.$$set=f=>{l(3,e=Wt(Wt({},e),Ot(f))),"testId"in f&&l(0,o=f.testId),"disabled"in f&&l(1,a=f.disabled),"variant"in f&&l(2,i=f.variant),"$$scope"in f&&l(4,n=f.$$scope)},e=Ot(e),[o,a,i,e,n,t,s]}class Fr extends fe{constructor(e){super(),ue(this,e,Yu,Gu,ce,{testId:0,disabled:1,variant:2})}}function Ju(r){let e,l,t,n,o,a,i,s,f,u,c;return l=new Fe({props:{namespace:"workflows",key:"n-selected",count:r[2]}}),i=new Fe({props:{namespace:"workflows",key:"select-all",count:r[1]}}),{c(){e=W("span"),E(l.$$.fragment),t=N(),n=W("span"),o=z("(or "),a=W("button"),E(i.$$.fragment),s=z(")"),this.h()},l(m){e=O(m,"SPAN",{class:!0});var _=V(e);T(l.$$.fragment,_),_.forEach(g),t=P(m),n=O(m,"SPAN",{});var d=V(n);o=Q(d,"(or "),a=O(d,"BUTTON",{"data-testid":!0,class:!0});var $=V(a);T(i.$$.fragment,$),$.forEach(g),s=Q(d,")"),d.forEach(g),this.h()},h(){S(e,"class","font-semibold"),S(a,"data-testid","select-all-workflows"),S(a,"class","cursor-pointer underline")},m(m,_){I(m,e,_),D(l,e,null),I(m,t,_),I(m,n,_),A(n,o),A(n,a),D(i,a,null),A(n,s),f=!0,u||(c=ge(a,"click",r[15]),u=!0)},p(m,_){const d={};_&4&&(d.count=m[2]),l.$set(d);const $={};_&2&&($.count=m[1]),i.$set($)},i(m){f||(p(l.$$.fragment,m),p(i.$$.fragment,m),f=!0)},o(m){h(l.$$.fragment,m),h(i.$$.fragment,m),f=!1},d(m){m&&g(e),L(l),m&&g(t),m&&g(n),L(i),u=!1,c()}}}function Xu(r){let e,l,t;return l=new Fe({props:{namespace:"workflows",key:"all-selected",count:r[1]}}),{c(){e=W("span"),E(l.$$.fragment),this.h()},l(n){e=O(n,"SPAN",{class:!0});var o=V(e);T(l.$$.fragment,o),o.forEach(g),this.h()},h(){S(e,"class","font-semibold")},m(n,o){I(n,e,o),D(l,e,null),t=!0},p(n,o){const a={};o&2&&(a.count=n[1]),l.$set(a)},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){h(l.$$.fragment,n),t=!1},d(n){n&&g(e),L(l)}}}function Mn(r){let e,l;return e=new Fr({props:{testId:"bulk-cancel-button",disabled:r[3]||!r[7].length,$$slots:{default:[Zu]},$$scope:{ctx:r}}}),e.$on("click",Fc),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&136&&(o.disabled=t[3]||!t[7].length),n&65536&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Zu(r){let e=M("workflows","request-cancellation")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Rn(r){let e,l;return e=new Fr({props:{variant:"destructive",testId:"bulk-terminate-button",disabled:r[3],$$slots:{default:[xu]},$$scope:{ctx:r}}}),e.$on("click",Wc),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&8&&(o.disabled=t[3]),n&65536&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function xu(r){let e=M("workflows","terminate")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function ec(r){let e,l,t,n,o,a;const i=[Xu,Ju],s=[];function f(m,_){return m[6]?0:1}e=f(r),l=s[e]=i[e](r);let u=r[4]&&Mn(r),c=r[5]&&Rn(r);return{c(){l.c(),t=N(),n=W("div"),u&&u.c(),o=N(),c&&c.c(),this.h()},l(m){l.l(m),t=P(m),n=O(m,"DIV",{class:!0});var _=V(n);u&&u.l(_),o=P(_),c&&c.l(_),_.forEach(g),this.h()},h(){S(n,"class","ml-4 inline-flex gap-2")},m(m,_){s[e].m(m,_),I(m,t,_),I(m,n,_),u&&u.m(n,null),A(n,o),c&&c.m(n,null),a=!0},p(m,[_]){let d=e;e=f(m),e===d?s[e].p(m,_):(X(),h(s[d],1,1,()=>{s[d]=null}),Z(),l=s[e],l?l.p(m,_):(l=s[e]=i[e](m),l.c()),p(l,1),l.m(t.parentNode,t)),m[4]?u?(u.p(m,_),_&16&&p(u,1)):(u=Mn(m),u.c(),p(u,1),u.m(n,o)):u&&(X(),h(u,1,1,()=>{u=null}),Z()),m[5]?c?(c.p(m,_),_&32&&p(c,1)):(c=Rn(m),c.c(),p(c,1),c.m(n,null)):c&&(X(),h(c,1,1,()=>{c=null}),Z())},i(m){a||(p(l),p(u),p(c),a=!0)},o(m){h(l),h(u),h(c),a=!1},d(m){s[e].d(m),m&&g(t),m&&g(n),u&&u.d(),c&&c.d()}}}function tc(r,e,l){let t,n,o,a,i,s,f,u,c,m;U(r,Le,k=>l(10,a=k)),U(r,Me,k=>l(12,s=k)),U(r,Rt,k=>l(13,f=k)),U(r,mt,k=>l(14,u=k)),U(r,et,k=>l(6,c=k)),U(r,Wr,k=>l(7,m=k));var _;let{workflows:d}=e,$=Ho();U(r,$,k=>l(11,i=k));let b,w;const v=()=>Oc(d);return r.$$set=k=>{"workflows"in k&&l(0,d=k.workflows)},r.$$.update=()=>{r.$$.dirty&24576&&l(1,b=u?f.count:f.totalCount),r.$$.dirty&4608&&l(2,w=l(9,_=s==null?void 0:s.length)!==null&&_!==void 0?_:0),r.$$.dirty&1024&&l(5,t=Zr(a.data.settings)),r.$$.dirty&1024&&l(4,n=xr(a.data.settings)),r.$$.dirty&3072&&l(3,o=i.namespaceWriteDisabled(a.params.namespace))},[d,b,w,o,n,t,c,m,$,_,a,i,s,f,u,v]}class lc extends fe{constructor(e){super(),ue(this,e,tc,ec,ce,{workflows:0})}}function Hn(r){let e,l,t,n;function o(i){r[13](i)}let a={label:r[4],labelHidden:!0,id:"select-visible-workflows","data-testid":"batch-actions-checkbox",onDark:!0,hoverable:!0,indeterminate:r[5]};return r[7]!==void 0&&(a.checked=r[7]),l=new zt({props:a}),ie.push(()=>me(l,"checked",o)),l.$on("change",r[9]),{c(){e=W("th"),E(l.$$.fragment),this.h()},l(i){e=O(i,"TH",{class:!0});var s=V(e);T(l.$$.fragment,s),s.forEach(g),this.h()},h(){S(e,"class","batch-actions-checkbox-table-cell svelte-d401z4")},m(i,s){I(i,e,s),D(l,e,null),n=!0},p(i,s){const f={};s&16&&(f.label=i[4]),s&32&&(f.indeterminate=i[5]),!t&&s&128&&(t=!0,f.checked=i[7],_e(()=>t=!1)),l.$set(f)},i(i){n||(p(l.$$.fragment,i),n=!0)},o(i){h(l.$$.fragment,i),n=!1},d(i){i&&g(e),L(l)}}}function nc(r){let e;const l=r[12].default,t=Ie(l,r,r[11],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,o){t&&t.m(n,o),e=!0},p(n,o){t&&t.p&&(!e||o&2048)&&Ee(t,l,n,n[11],e?De(l,n[11],o,null):Te(n[11]),null)},i(n){e||(p(t,n),e=!0)},o(n){h(t,n),e=!1},d(n){t&&t.d(n)}}}function rc(r){let e,l,t;return l=new lc({props:{workflows:r[0]}}),{c(){e=W("th"),E(l.$$.fragment),this.h()},l(n){e=O(n,"TH",{class:!0,colspan:!0});var o=V(e);T(l.$$.fragment,o),o.forEach(g),this.h()},h(){S(e,"class","batch-actions-table-cell svelte-d401z4"),S(e,"colspan",r[3])},m(n,o){I(n,e,o),D(l,e,null),t=!0},p(n,o){const a={};o&1&&(a.workflows=n[0]),l.$set(a),(!t||o&8)&&S(e,"colspan",n[3])},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){h(l.$$.fragment,n),t=!1},d(n){n&&g(e),L(l)}}}function oc(r){let e,l,t,n,o,a,i,s,f=!r[1]&&r[6]&&Hn(r);const u=[rc,nc],c=[];function m(_,d){return _[6]&&_[8]?0:1}return t=m(r),n=c[t]=u[t](r),i=new Ve({props:{"data-testid":"workflows-summary-table-configuration-button",icon:"vertical-ellipsis",label:M("workflows","open-configure-workflows")}}),i.$on("click",function(){ir(r[2])&&r[2].apply(this,arguments)}),{c(){e=W("tr"),f&&f.c(),l=N(),n.c(),o=N(),a=W("th"),E(i.$$.fragment),this.h()},l(_){e=O(_,"TR",{});var d=V(e);f&&f.l(d),l=P(d),n.l(d),o=P(d),a=O(d,"TH",{class:!0});var $=V(a);T(i.$$.fragment,$),$.forEach(g),d.forEach(g),this.h()},h(){S(a,"class","configuration-button-table-cell svelte-d401z4")},m(_,d){I(_,e,d),f&&f.m(e,null),A(e,l),c[t].m(e,null),A(e,o),A(e,a),D(i,a,null),s=!0},p(_,[d]){r=_,!r[1]&&r[6]?f?(f.p(r,d),d&66&&p(f,1)):(f=Hn(r),f.c(),p(f,1),f.m(e,l)):f&&(X(),h(f,1,1,()=>{f=null}),Z());let $=t;t=m(r),t===$?c[t].p(r,d):(X(),h(c[$],1,1,()=>{c[$]=null}),Z(),n=c[t],n?n.p(r,d):(n=c[t]=u[t](r),n.c()),p(n,1),n.m(e,o))},i(_){s||(p(f),p(n),p(i.$$.fragment,_),s=!0)},o(_){h(f),h(n),h(i.$$.fragment,_),s=!1},d(_){_&&g(e),f&&f.d(),c[t].d(),L(i)}}}function sc(r,e,l){let t,n,o,a,i,s;U(r,Me,w=>l(10,o=w)),U(r,Pr,w=>l(6,a=w)),U(r,Dt,w=>l(7,i=w)),U(r,Nc,w=>l(8,s=w));let{$$slots:f={},$$scope:u}=e,{workflows:c}=e,{empty:m}=e,{onClickConfigure:_=K}=e,{columnsCount:d}=e;const $=w=>{const{checked:v}=w.detail;Vc(v,c)};function b(w){i=w,Dt.set(i)}return r.$$set=w=>{"workflows"in w&&l(0,c=w.workflows),"empty"in w&&l(1,m=w.empty),"onClickConfigure"in w&&l(2,_=w.onClickConfigure),"columnsCount"in w&&l(3,d=w.columnsCount),"$$scope"in w&&l(11,u=w.$$scope)},r.$$.update=()=>{r.$$.dirty&1025&&l(5,t=o.length>0&&o.lengthme(l,"group",o)),{c(){e=W("td"),E(l.$$.fragment)},l(i){e=O(i,"TD",{});var s=V(e);T(l.$$.fragment,s),s.forEach(g)},m(i,s){I(i,e,s),D(l,e,null),n=!0},p(i,s){const f={};s&4&&(f.label=i[2]),s&1&&(f.value=i[0]),s&32&&(f.disabled=i[5]),s&4&&(f["aria-label"]=i[2]),!t&&s&16&&(t=!0,f.group=i[4],_e(()=>t=!1)),l.$set(f)},i(i){n||(p(l.$$.fragment,i),n=!0)},o(i){h(l.$$.fragment,i),n=!1},d(i){i&&g(e),L(l)}}}function ic(r){let e,l,t,n,o,a=!r[1]&&r[3]&&Un(r);const i=r[7].default,s=Ie(i,r,r[6],null);return{c(){e=W("tr"),a&&a.c(),l=N(),s&&s.c(),t=N(),n=W("td"),this.h()},l(f){e=O(f,"TR",{"data-testid":!0});var u=V(e);a&&a.l(u),l=P(u),s&&s.l(u),t=P(u),n=O(u,"TD",{}),V(n).forEach(g),u.forEach(g),this.h()},h(){S(e,"data-testid","workflows-summary-configurable-table-row"),pe(e,"empty",r[1])},m(f,u){I(f,e,u),a&&a.m(e,null),A(e,l),s&&s.m(e,null),A(e,t),A(e,n),o=!0},p(f,[u]){!f[1]&&f[3]?a?(a.p(f,u),u&10&&p(a,1)):(a=Un(f),a.c(),p(a,1),a.m(e,l)):a&&(X(),h(a,1,1,()=>{a=null}),Z()),s&&s.p&&(!o||u&64)&&Ee(s,i,f,f[6],o?De(i,f[6],u,null):Te(f[6]),null),(!o||u&2)&&pe(e,"empty",f[1])},i(f){o||(p(a),p(s,f),o=!0)},o(f){h(a),h(s,f),o=!1},d(f){f&&g(e),a&&a.d(),s&&s.d(f)}}}function fc(r,e,l){let t,n,o,a;U(r,Pr,m=>l(3,n=m)),U(r,Me,m=>l(4,o=m)),U(r,et,m=>l(5,a=m));let{$$slots:i={},$$scope:s}=e,{workflow:f=void 0}=e,{empty:u=!1}=e;function c(m){o=m,Me.set(o)}return r.$$set=m=>{"workflow"in m&&l(0,f=m.workflow),"empty"in m&&l(1,u=m.empty),"$$scope"in m&&l(6,s=m.$$scope)},r.$$.update=()=>{r.$$.dirty&1&&l(2,t=M("workflows","select-workflow",{workflow:f==null?void 0:f.id}))},[f,u,t,n,o,a,s,i,c]}class uc extends fe{constructor(e){super(),ue(this,e,fc,ic,ce,{workflow:0,empty:1})}}function qn(r,e,l){const t=r.slice();return t[18]=e[l],t}function jn(r,e,l){const t=r.slice();return t[15]=e[l],t}function zn(r,e,l){const t=r.slice();return t[15]=e[l],t}const cc=r=>({}),Qn=r=>({slot:"cloud"});function Kn(r){let e,l;return e=new hu({props:{workflow:r[18],column:r[15]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&16384&&(o.workflow=t[18]),n&16&&(o.column=t[15]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function mc(r){let e,l,t=r[4],n=[];for(let a=0;ah(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;ah(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;ah(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;a({14:o}),({visibleItems:o})=>o?16384:0],headers:[$c,({visibleItems:o})=>({14:o}),({visibleItems:o})=>o?16384:0],caption:[dc,({visibleItems:o})=>({14:o}),({visibleItems:o})=>o?16384:0],default:[_c,({visibleItems:o})=>({14:o}),({visibleItems:o})=>o?16384:0]},$$scope:{ctx:r}}}),t=new yo({props:{open:r[2],onClick:r[7],position:"right",id:"workflows-summary-table-configuration-drawer",dark:!1,title:M("workflows","configure-workflows"),closeButtonLabel:M("workflows","close-configure-workflows"),$$slots:{subtitle:[bc],default:[hc]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment),l=N(),E(t.$$.fragment)},l(o){T(e.$$.fragment,o),l=P(o),T(t.$$.fragment,o)},m(o,a){D(e,o,a),I(o,l,a),D(t,o,a),n=!0},p(o,[a]){const i={};a&32&&(i.updating=o[5]),a&2&&(i.items=o[1]),a&24600&&(i.$$scope={dirty:a,ctx:o}),e.$set(i);const s={};a&4&&(s.open=o[2]),a&8193&&(s.$$scope={dirty:a,ctx:o}),t.$set(s)},i(o){n||(p(e.$$.fragment,o),p(t.$$.fragment,o),n=!0)},o(o){h(e.$$.fragment,o),h(t.$$.fragment,o),n=!1},d(o){L(e,o),o&&g(l),L(t,o)}}}function wc(r,e,l){let t,n,o,a,i,s,f;U(r,sl,w=>l(1,a=w)),U(r,Yt,w=>l(9,i=w)),U(r,Le,w=>l(10,s=w)),U(r,bt,w=>l(5,f=w));let{$$slots:u={},$$scope:c}=e;var m;let _=!1;const d=()=>{l(2,_=!0)},$=()=>{l(2,_=!1)},b=w=>M("go-to-page",{page:w});return r.$$set=w=>{"$$scope"in w&&l(13,c=w.$$scope)},r.$$.update=()=>{r.$$.dirty&1024&&l(0,{namespace:t}=s.params,t),r.$$.dirty&769&&l(4,n=l(8,m=i==null?void 0:i[t])!==null&&m!==void 0?m:[]),r.$$.dirty&2&&l(3,o=a.length===0)},[t,a,_,o,n,f,d,$,m,i,s,u,b,c]}class vc extends fe{constructor(e){super(),ue(this,e,wc,kc,ce,{})}}const Ic=r=>{const e=ko({workflows:r},null,2);l(e,`workflows-${r==null?void 0:r.length}-${Date.now()}.json`,"text/plain");function l(t,n,o){const a=document.createElement("a"),i=new Blob([t],{type:o});a.href=URL.createObjectURL(i),a.download=n,a.click()}},Ec=r=>({}),Jn=r=>({slot:"cloud"});function Xn(r){let e,l;return e=new oo({props:{class:"h-8 w-8 animate-spin"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Zn(r){let e,l,t,n,o;const a=[Lc,Dc,Tc],i=[];function s(f,u){return f[5]||f[1]?0:f[0]?1:2}return l=s(r),t=i[l]=a[l](r),{c(){e=W("p"),t.c(),this.h()},l(f){e=O(f,"P",{"data-testid":!0,"data-loaded":!0});var u=V(e);t.l(u),u.forEach(g),this.h()},h(){S(e,"data-testid","workflow-count"),S(e,"data-loaded",n=!r[5]&&!r[1])},m(f,u){I(f,e,u),i[l].m(e,null),o=!0},p(f,u){let c=l;l=s(f),l===c?i[l].p(f,u):(X(),h(i[c],1,1,()=>{i[c]=null}),Z(),t=i[l],t?t.p(f,u):(t=i[l]=a[l](f),t.c()),p(t,1),t.m(e,null)),(!o||u[0]&34&&n!==(n=!f[5]&&!f[1]))&&S(e,"data-loaded",n)},i(f){o||(p(t),o=!0)},o(f){h(t),o=!1},d(f){f&&g(e),i[l].d()}}}function Tc(r){let e,l;return e=new Fe({props:{namespace:"workflows",key:"workflows-count",count:r[6].totalCount}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n[0]&64&&(o.count=t[6].totalCount),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Dc(r){let e,l;return e=new Fe({props:{namespace:"workflows",key:"filtered-workflows-count",replace:{filtered:r[6].count,total:r[6].totalCount}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n[0]&64&&(o.replace={filtered:t[6].count,total:t[6].totalCount}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Lc(r){let e,l;return e=new Fe({props:{namespace:"workflows",key:"loading-workflows"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Cc(r){let e=M("download-json")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function xn(r){let e,l;return e=new Ui({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function yc(r){let e,l;return e=new Ni({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Bc(r){let e,l;return e=new Dr({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Sc(r){let e;const l=r[17].cloud,t=Ie(l,r,r[21],Jn);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,o){t&&t.m(n,o),e=!0},p(n,o){t&&t.p&&(!e||o[0]&2097152)&&Ee(t,l,n,n[21],e?De(l,n[21],o,Ec):Te(n[21]),Jn)},i(n){e||(p(t,n),e=!0)},o(n){h(t,n),e=!1},d(n){t&&t.d(n)}}}function Ac(r){var $e;let e,l,t,n,o,a,i,s,f,u,c,m,_,d,$,b,w,v,k,B,y,C,R,q,j,Y,F={action:dt.Terminate,actionableWorkflowsLength:r[3].length,query:r[2]};e=new Sl({props:F}),r[18](e),e.$on("confirm",r[11]);let J={action:dt.Cancel,actionableWorkflowsLength:r[4].length,query:r[2]};t=new Sl({props:J}),r[19](t),t.$on("confirm",r[12]),f=new Fe({props:{namespace:"workflows",key:"recent-workflows"}});let le=(r[5]||r[1])&&Xn(),G=(($e=r[6])==null?void 0:$e.totalCount)>=0&&r[7]&&!r[8]&&Zn(r);$=new wt({props:{tabindex:0,$$slots:{default:[Cc]},$$scope:{ctx:r}}}),$.$on("click",r[20]),w=new Ve({props:{icon:"retry",label:M("workflows","retry-workflows")}}),w.$on("click",r[10]);let oe=r[8]&&xn();return y=new fl({props:{$$slots:{fallback:[Bc],default:[yc]},$$scope:{ctx:r}}}),R=new Gs({}),j=new vc({props:{$$slots:{cloud:[Sc]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment),l=N(),E(t.$$.fragment),n=N(),o=W("header"),a=W("div"),i=W("div"),s=W("h1"),E(f.$$.fragment),u=N(),le&&le.c(),c=N(),m=W("div"),G&&G.c(),_=N(),d=W("div"),E($.$$.fragment),b=N(),E(w.$$.fragment),v=N(),oe&&oe.c(),k=N(),B=W("div"),E(y.$$.fragment),C=N(),E(R.$$.fragment),q=N(),E(j.$$.fragment),this.h()},l(H){T(e.$$.fragment,H),l=P(H),T(t.$$.fragment,H),n=P(H),o=O(H,"HEADER",{class:!0});var x=V(o);a=O(x,"DIV",{class:!0});var he=V(a);i=O(he,"DIV",{});var be=V(i);s=O(be,"H1",{class:!0,"data-cy":!0});var ke=V(s);T(f.$$.fragment,ke),u=P(ke),le&&le.l(ke),ke.forEach(g),c=P(be),m=O(be,"DIV",{class:!0});var we=V(m);G&&G.l(we),we.forEach(g),be.forEach(g),_=P(he),d=O(he,"DIV",{class:!0});var ve=V(d);T($.$$.fragment,ve),b=P(ve),T(w.$$.fragment,ve),ve.forEach(g),he.forEach(g),v=P(x),oe&&oe.l(x),x.forEach(g),k=P(H),B=O(H,"DIV",{class:!0});var Be=V(B);T(y.$$.fragment,Be),C=P(Be),T(R.$$.fragment,Be),Be.forEach(g),q=P(H),T(j.$$.fragment,H),this.h()},h(){S(s,"class","flex items-center text-2xl"),S(s,"data-cy","workflows-title"),S(m,"class","flex items-center gap-2 text-sm"),S(d,"class","flex items-center gap-2 text-sm"),S(a,"class","flex items-center justify-between"),S(o,"class","flex flex-col"),S(B,"class","flex flex-col gap-2 md:flex-row")},m(H,x){D(e,H,x),I(H,l,x),D(t,H,x),I(H,n,x),I(H,o,x),A(o,a),A(a,i),A(i,s),D(f,s,null),A(s,u),le&&le.m(s,null),A(i,c),A(i,m),G&&G.m(m,null),A(a,_),A(a,d),D($,d,null),A(d,b),D(w,d,null),A(o,v),oe&&oe.m(o,null),I(H,k,x),I(H,B,x),D(y,B,null),A(B,C),D(R,B,null),I(H,q,x),D(j,H,x),Y=!0},p(H,x){var Be;const he={};x[0]&8&&(he.actionableWorkflowsLength=H[3].length),x[0]&4&&(he.query=H[2]),e.$set(he);const be={};x[0]&16&&(be.actionableWorkflowsLength=H[4].length),x[0]&4&&(be.query=H[2]),t.$set(be),H[5]||H[1]?le?x[0]&34&&p(le,1):(le=Xn(),le.c(),p(le,1),le.m(s,null)):le&&(X(),h(le,1,1,()=>{le=null}),Z()),((Be=H[6])==null?void 0:Be.totalCount)>=0&&H[7]&&!H[8]?G?(G.p(H,x),x[0]&448&&p(G,1)):(G=Zn(H),G.c(),p(G,1),G.m(m,null)):G&&(X(),h(G,1,1,()=>{G=null}),Z());const ke={};x[0]&2097152&&(ke.$$scope={dirty:x,ctx:H}),$.$set(ke),H[8]?oe?x[0]&256&&p(oe,1):(oe=xn(),oe.c(),p(oe,1),oe.m(o,null)):oe&&(X(),h(oe,1,1,()=>{oe=null}),Z());const we={};x[0]&2097152&&(we.$$scope={dirty:x,ctx:H}),y.$set(we);const ve={};x[0]&2097152&&(ve.$$scope={dirty:x,ctx:H}),j.$set(ve)},i(H){Y||(p(e.$$.fragment,H),p(t.$$.fragment,H),p(f.$$.fragment,H),p(le),p(G),p($.$$.fragment,H),p(w.$$.fragment,H),p(oe),p(y.$$.fragment,H),p(R.$$.fragment,H),p(j.$$.fragment,H),Y=!0)},o(H){h(e.$$.fragment,H),h(t.$$.fragment,H),h(f.$$.fragment,H),h(le),h(G),h($.$$.fragment,H),h(w.$$.fragment,H),h(oe),h(y.$$.fragment,H),h(R.$$.fragment,H),h(j.$$.fragment,H),Y=!1},d(H){r[18](null),L(e,H),H&&g(l),r[19](null),L(t,H),H&&g(n),H&&g(o),L(f),le&&le.d(),G&&G.d(),L($),L(w),oe&&oe.d(),H&&g(k),H&&g(B),L(y),L(R),H&&g(q),L(j,H)}}}let Re,He;const et=Xe(!1),Dt=Xe(!1),Me=Xe([]),Nc=ft(Me,r=>r.length>0),Pc=ft(Me,r=>r.filter(e=>e.canBeTerminated)),Wr=ft(Me,r=>r.filter(e=>e.status==="Running")),Fc=()=>{He==null||He.open()},Wc=()=>{Re==null||Re.open()},Oc=r=>{et.set(!0),Me.set([...r])},Vc=(r,e)=>{Dt.set(r),et&&et.set(!1),r?Me.set([...e]):Me.set([])};function Mc(r,e,l){let t,n,o,a,i,s,f=K,u,c=K,m,_,d,$=K,b,w=K,v,k,B,y,C,R,q,j=K,Y,F,J,le,G;U(r,bt,ne=>l(1,a=ne)),U(r,mt,ne=>l(14,i=ne)),U(r,Pc,ne=>l(3,s=ne)),U(r,et,ne=>l(22,u=ne)),U(r,Le,ne=>l(15,m=ne)),U(r,ze,ne=>l(23,_=ne)),U(r,Me,ne=>l(24,d=ne)),U(r,Dt,ne=>l(25,b=ne)),U(r,kt,ne=>l(26,v=ne)),U(r,Ze,ne=>l(27,k=ne)),U(r,de,ne=>l(16,B=ne)),U(r,Ut,ne=>l(28,y=ne)),U(r,tl,ne=>l(29,C=ne)),U(r,Ht,ne=>l(30,R=ne)),U(r,Wr,ne=>l(4,q=ne)),U(r,St,ne=>l(5,Y=ne)),U(r,Rt,ne=>l(6,F=ne)),U(r,ht,ne=>l(7,J=ne)),U(r,Io,ne=>l(8,le=ne)),U(r,sl,ne=>l(9,G=ne)),r.$$.on_destroy.push(()=>f()),r.$$.on_destroy.push(()=>c()),r.$$.on_destroy.push(()=>$()),r.$$.on_destroy.push(()=>w()),r.$$.on_destroy.push(()=>j());let{$$slots:oe={},$$scope:$e}=e;const H=()=>{!t&&!B.length&&C&&(te(de,B=[C],B),Qe(m.url,B,k))};ur(()=>{te(Ut,y=m.params.namespace,y),t&&te(de,B=k?nl(t,v):nl(t),B)});const x=()=>{te(et,u=!1,u),te(Dt,b=!1,b),te(Me,d=[],d)},he=()=>{x(),te(ze,_=Date.now(),_)},be=async ne=>{var se;try{const Ce={namespace:m.params.namespace,reason:ne.detail.reason,jobId:ne.detail.jobId,...u?{query:o}:{workflows:s}};await Uo(Ce),Re==null||Re.close(),kl.push({message:M("workflows","batch-terminate-all-success"),id:"batch-terminate-success-toast"})}catch(Ce){Re==null||Re.setError((se=Ce==null?void 0:Ce.message)!==null&&se!==void 0?se:M("unknown-error"))}},ke=async ne=>{var se;const Ce={namespace:m.params.namespace,reason:ne.detail.reason,jobId:ne.detail.jobId,...u?{query:o}:{workflows:s}};try{await qo(Ce),He==null||He.close(),kl.push({message:M("workflows","batch-cancel-all-success"),id:"batch-cancel-success-toast"})}catch(Ae){He==null||He.setError((se=Ae==null?void 0:Ae.message)!==null&&se!==void 0?se:M("unknown-error"))}};function we(ne){ie[ne?"unshift":"push"](()=>{Re=ne})}function ve(ne){ie[ne?"unshift":"push"](()=>{He=ne})}const Be=()=>Ic(G);return r.$$set=ne=>{"$$scope"in ne&&l(21,$e=ne.$$scope)},r.$$.update=()=>{r.$$.dirty[0]&32768&&l(0,t=m.url.searchParams.get("query")),r.$$.dirty[0]&1&&t&&te(mt,i=t,i),r.$$.dirty[0]&32768&&l(13,n=m.url.searchParams.toString()),r.$$.dirty[0]&8192&&te(Ht,R=n,R),r.$$.dirty[0]&65536&&(B.length||te(mt,i="",i)),r.$$.dirty[0]&32768&&(m.params.namespace,H()),r.$$.dirty[0]&16384&&l(2,o=i||'ExecutionStatus="Running"'),r.$$.dirty[0]&2&&a&&x()},[t,a,o,s,q,Y,F,J,le,G,he,be,ke,n,i,m,B,oe,we,ve,Be,$e]}class Rc extends fe{constructor(e){super(),ue(this,e,Mc,Ac,ce,{},null,[-1,-1])}}function er(r,e,l){const t=r.slice();return t[16]=e[l][0],t[17]=e[l][1],t}function tr(r,e,l){const t=r.slice();return t[17]=e[l],t}function Hc(r){let e,l;return e=new wt({props:{href:r[2].url.pathname+"?search=advanced",$$slots:{default:[qc]},$$scope:{ctx:r}}}),e.$on("click",r[6]("advanced")),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&4&&(o.href=t[2].url.pathname+"?search=advanced"),n&4194304&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Uc(r){let e,l;return e=new wt({props:{href:r[2].url.pathname+"?search=basic",$$slots:{default:[jc]},$$scope:{ctx:r}}}),e.$on("click",r[6]("basic")),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&4&&(o.href=t[2].url.pathname+"?search=basic"),n&4194304&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function qc(r){let e=M("workflows","advanced-search")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function jc(r){let e=M("workflows","basic-search")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function zc(r){let e,l,t,n,o,a,i,s,f,u,c,m,_,d,$,b;function w(F){r[9](F)}let v={icon:"search",type:"search",id:"workflow-id-filter",placeholder:M("workflow-id"),label:M("workflow-id"),labelHidden:!0};r[3].workflowId!==void 0&&(v.value=r[3].workflowId),l=new Pe({props:v}),ie.push(()=>me(l,"value",w)),l.$on("input",r[8]);function k(F){r[10](F)}let B={icon:"search",type:"search",id:"workflow-type-filter",placeholder:M("workflow-type"),label:M("workflow-type"),labelHidden:!0};r[3].workflowType!==void 0&&(B.value=r[3].workflowType),o=new Pe({props:B}),ie.push(()=>me(o,"value",k)),o.$on("input",r[8]);function y(F){r[11](F)}let C={id:"time-range-filter",label:"Time Range",$$slots:{default:[Jc]},$$scope:{ctx:r}};r[3].timeRange!==void 0&&(C.value=r[3].timeRange),s=new Xt({props:C}),ie.push(()=>me(s,"value",y)),s.$on("change",r[8]);function R(F){r[12](F)}let q={id:"execution-status-filter",label:"Workflow Status",$$slots:{default:[Zc]},$$scope:{ctx:r}};r[3].executionStatus!==void 0&&(q.value=r[3].executionStatus),c=new Xt({props:q}),ie.push(()=>me(c,"value",R)),c.$on("change",r[8]);function j(F){r[13](F)}let Y={id:"filter-by-relative-time",label:"Time Format",$$slots:{default:[lm]},$$scope:{ctx:r}};return r[4]!==void 0&&(Y.value=r[4]),d=new Xt({props:Y}),ie.push(()=>me(d,"value",j)),{c(){e=W("div"),E(l.$$.fragment),n=N(),E(o.$$.fragment),i=N(),E(s.$$.fragment),u=N(),E(c.$$.fragment),_=N(),E(d.$$.fragment),this.h()},l(F){e=O(F,"DIV",{role:!0,class:!0});var J=V(e);T(l.$$.fragment,J),n=P(J),T(o.$$.fragment,J),i=P(J),T(s.$$.fragment,J),u=P(J),T(c.$$.fragment,J),_=P(J),T(d.$$.fragment,J),J.forEach(g),this.h()},h(){S(e,"role","search"),S(e,"class","grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-5")},m(F,J){I(F,e,J),D(l,e,null),A(e,n),D(o,e,null),A(e,i),D(s,e,null),A(e,u),D(c,e,null),A(e,_),D(d,e,null),b=!0},p(F,J){const le={};!t&&J&8&&(t=!0,le.value=F[3].workflowId,_e(()=>t=!1)),l.$set(le);const G={};!a&&J&8&&(a=!0,G.value=F[3].workflowType,_e(()=>a=!1)),o.$set(G);const oe={};J&4194312&&(oe.$$scope={dirty:J,ctx:F}),!f&&J&8&&(f=!0,oe.value=F[3].timeRange,_e(()=>f=!1)),s.$set(oe);const $e={};J&4194304&&($e.$$scope={dirty:J,ctx:F}),!m&&J&8&&(m=!0,$e.value=F[3].executionStatus,_e(()=>m=!1)),c.$set($e);const H={};J&4194304&&(H.$$scope={dirty:J,ctx:F}),!$&&J&16&&($=!0,H.value=F[4],_e(()=>$=!1)),d.$set(H)},i(F){b||(p(l.$$.fragment,F),p(o.$$.fragment,F),p(s.$$.fragment,F),p(c.$$.fragment,F),p(d.$$.fragment,F),b=!0)},o(F){h(l.$$.fragment,F),h(o.$$.fragment,F),h(s.$$.fragment,F),h(c.$$.fragment,F),h(d.$$.fragment,F),b=!1},d(F){F&&g(e),L(l),L(o),L(s),L(c),L(d)}}}function Qc(r){let e,l;return e=new fo({props:{icon:!0,id:"advanced-search",placeholder:"Query…",value:r[1]}}),e.$on("submit",r[7]),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2&&(o.value=t[1]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Kc(r){let e;return{c(){e=z("All")},l(l){e=Q(l,"All")},m(l,t){I(l,e,t)},d(l){l&&g(e)}}}function lr(r){let e,l;return e=new ot({props:{value:r[3].timeRange,$$slots:{default:[Gc]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&8&&(o.value=t[3].timeRange),n&4194312&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Gc(r){let e=r[3].timeRange+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&8&&e!==(e=t[3].timeRange+"")&&ae(l,e)},d(t){t&&g(l)}}}function Yc(r){let e=r[17]+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function nr(r){let e,l;return e=new ot({props:{value:r[17],$$slots:{default:[Yc]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&4194304&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Jc(r){let e,l,t=r[3].timeRange&&!Nt.includes(r[3].timeRange),n,o,a;e=new ot({props:{value:null,$$slots:{default:[Kc]},$$scope:{ctx:r}}});let i=t&&lr(r),s=Nt,f=[];for(let c=0;ch(f[c],1,1,()=>{f[c]=null});return{c(){E(e.$$.fragment),l=N(),i&&i.c(),n=N();for(let c=0;c{i=null}),Z()),m&0){s=Nt;let d;for(d=0;di[16];for(let i=0;i{u[w]=null}),Z(),n=u[t],n?n.p($,b):(n=u[t]=f[t]($),n.c()),p(n,1),n.m(l,null));let v=a;a=d($),a===v?_[a].p($,b):(X(),h(_[v],1,1,()=>{_[v]=null}),Z(),i=_[a],i?i.p($,b):(i=_[a]=m[a]($),i.c()),p(i,1),i.m(e,null))},i($){s||(p(n),p(i),s=!0)},o($){h(n),h(i),s=!1},d($){$&&g(e),u[t].d(),_[a].d()}}}function rm(r,e,l){let t,n,o,a;U(r,Le,k=>l(2,o=k)),U(r,Vt,k=>l(4,a=k));const i=pt();let{searchType:s}=e;const f=bl({timeRange:"All"}),u={All:null,Running:"Running","Timed Out":"TimedOut",Completed:"Completed",Failed:"Failed","Continued as New":"ContinuedAsNew",Canceled:"Canceled",Terminated:"Terminated"},c=k=>()=>{l(0,s=k)},m=k=>{i("search");const B=new FormData(k.target);l(1,t=String(B.get("query"))),l(3,n=Tl(t)),Ue({url:o.url,parameter:"query",value:t})},_=dr(()=>{i("search"),l(1,t=bl(n)),Ue({url:o.url,parameter:"query",value:t,allowEmpty:!0})},300);function d(k){r.$$.not_equal(n.workflowId,k)&&(n.workflowId=k,l(3,n),l(1,t),l(2,o))}function $(k){r.$$.not_equal(n.workflowType,k)&&(n.workflowType=k,l(3,n),l(1,t),l(2,o))}function b(k){r.$$.not_equal(n.timeRange,k)&&(n.timeRange=k,l(3,n),l(1,t),l(2,o))}function w(k){r.$$.not_equal(n.executionStatus,k)&&(n.executionStatus=k,l(3,n),l(1,t),l(2,o))}function v(k){a=k,Vt.set(a)}return r.$$set=k=>{"searchType"in k&&l(0,s=k.searchType)},r.$$.update=()=>{r.$$.dirty&4&&l(1,t=o.url.searchParams.get("query")),r.$$.dirty&2&&l(3,n=Tl(t??f))},[s,t,o,n,a,u,c,m,_,d,$,b,w,v]}class om extends fe{constructor(e){super(),ue(this,e,rm,nm,ce,{searchType:0})}}const sm=r=>wo(r)?r==="basic"||r==="advanced":!1,am=r=>{const e=r.searchParams.get("search");return sm(e)?e:(r.searchParams.set("search","basic"),"basic")};function or(r,e,l){const t=r.slice();return t[13]=e[l],t}function sr(r){let e,l,t,n,o,a,i,s,f,u;const c=[fm,im],m=[];function _(w,v){return w[4]?0:1}t=_(r),n=m[t]=c[t](r);const d=[cm,um],$=[];function b(w,v){return w[4]?0:1}return i=b(r),s=$[i]=d[i](r),{c(){e=W("tr"),l=W("td"),n.c(),o=N(),a=W("td"),s.c(),f=N(),this.h()},l(w){e=O(w,"TR",{});var v=V(e);l=O(v,"TD",{colspan:!0,class:!0});var k=V(l);n.l(k),k.forEach(g),o=P(v),a=O(v,"TD",{colspan:!0,class:!0});var B=V(a);s.l(B),B.forEach(g),f=P(v),v.forEach(g),this.h()},h(){S(l,"colspan","5"),S(l,"class","xl:hidden"),S(a,"colspan","7"),S(a,"class","hidden xl:table-cell")},m(w,v){I(w,e,v),A(e,l),m[t].m(l,null),A(e,o),A(e,a),$[i].m(a,null),A(e,f),u=!0},p(w,v){let k=t;t=_(w),t===k?m[t].p(w,v):(X(),h(m[k],1,1,()=>{m[k]=null}),Z(),n=m[t],n?n.p(w,v):(n=m[t]=c[t](w),n.c()),p(n,1),n.m(l,null));let B=i;i=b(w),i===B?$[i].p(w,v):(X(),h($[B],1,1,()=>{$[B]=null}),Z(),s=$[i],s?s.p(w,v):(s=$[i]=d[i](w),s.c()),p(s,1),s.m(a,null))},i(w){u||(p(n),p(s),u=!0)},o(w){h(n),h(s),u=!1},d(w){w&&g(e),m[t].d(),$[i].d()}}}function im(r){let e,l;return e=new kr({props:{title:"No Workflows Found",content:r[6],error:r[5]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&32&&(o.error=t[5]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function fm(r){let e,l;return e=new al({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function um(r){let e,l;return e=new kr({props:{title:"No Workflows Found",content:r[6],error:r[5]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&32&&(o.error=t[5]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function cm(r){let e,l;return e=new al({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function ar(r){let e,l;return e=new co({props:{workflow:r[13],namespace:r[1].params.namespace}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&4096&&(o.workflow=t[13]),n&2&&(o.namespace=t[1].params.namespace),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function mm(r){let e,l,t=r[12],n=[];for(let i=0;ih(n[i],1,1,()=>{n[i]=null});let a=null;return t.length||(a=sr(r)),{c(){for(let i=0;i{a=null}),Z()):(a=sr(i),a.c(),p(a,1),a.m(e.parentNode,e))}},i(i){if(!l){for(let s=0;sme($,"searchType",B)),v=new Po({props:{items:r[2],"aria-label":M("workflows","recent-workflows"),pageSizeSelectLabel:M("per-page"),previousButtonLabel:M("previous"),nextButtonLabel:M("next"),$$slots:{default:[_m,({visibleItems:C})=>({12:C}),({visibleItems:C})=>C?4096:0]},$$scope:{ctx:r}}}),{c(){e=W("header"),l=W("div"),t=W("h1"),o=z(n),a=N(),i=W("div"),s=W("p"),u=z(f),c=N(),m=W("div"),E(_.$$.fragment),d=N(),E($.$$.fragment),w=N(),E(v.$$.fragment),this.h()},l(C){e=O(C,"HEADER",{class:!0});var R=V(e);l=O(R,"DIV",{});var q=V(l);t=O(q,"H1",{class:!0,"data-testid":!0});var j=V(t);o=Q(j,n),j.forEach(g),a=P(q),i=O(q,"DIV",{class:!0});var Y=V(i);s=O(Y,"P",{"data-testid":!0});var F=V(s);u=Q(F,f),F.forEach(g),Y.forEach(g),q.forEach(g),c=P(R),m=O(R,"DIV",{});var J=V(m);T(_.$$.fragment,J),J.forEach(g),R.forEach(g),d=P(C),T($.$$.fragment,C),w=P(C),T(v.$$.fragment,C),this.h()},h(){S(t,"class","text-2xl"),S(t,"data-testid","namespace-title"),S(s,"data-testid","namespace-name"),S(i,"class","flex items-center gap-2 text-sm"),S(e,"class","mb-2 flex items-center justify-between")},m(C,R){I(C,e,R),A(e,l),A(l,t),A(t,o),A(l,a),A(l,i),A(i,s),A(s,u),A(e,c),A(e,m),D(_,m,null),I(C,d,R),D($,C,R),I(C,w,R),D(v,C,R),k=!0},p(C,[R]){(!k||R&2)&&f!==(f=C[1].params.namespace+"")&&ae(u,f);const q={};!b&&R&1&&(b=!0,q.searchType=C[0],_e(()=>b=!1)),$.$set(q);const j={};R&4&&(j.items=C[2]),R&69690&&(j.$$scope={dirty:R,ctx:C}),v.$set(j)},i(C){k||(p(_.$$.fragment,C),p($.$$.fragment,C),p(v.$$.fragment,C),k=!0)},o(C){h(_.$$.fragment,C),h($.$$.fragment,C),h(v.$$.fragment,C),k=!1},d(C){C&&g(e),L(_),C&&g(d),L($,C),C&&g(w),L(v,C)}}}function pm(r,e,l){let t,n,o,a,i,s,f,u;U(r,Le,$=>l(1,t=$)),U(r,Ht,$=>l(9,n=$)),U(r,ze,$=>l(10,o=$)),U(r,Ut,$=>l(11,a=$)),U(r,sl,$=>l(2,i=$)),U(r,bt,$=>l(3,s=$)),U(r,St,$=>l(4,f=$)),U(r,pr,$=>l(5,u=$));let c=am(t.url);const m=c==="advanced"?"Please check your syntax and try again.":"If you have filters applied, try adjusting them.";ur(()=>{te(Ut,a=t.params.namespace,a)});const _=()=>{te(ze,o=Date.now(),o)};zr(()=>{te(Ht,n=t.url.searchParams.toString(),n)});function d($){c=$,l(0,c)}return[c,t,i,s,f,u,m,_,d]}class $m extends fe{constructor(e){super(),ue(this,e,pm,dm,ce,{})}}function gm(r){let e,l;return e=new Rc({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function hm(r){let e,l;return e=new $m({props:{slot:"fallback"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function bm(r){let e,l,t,n;return e=new Kr({props:{title:`Workflows | ${r[0].params.namespace}`,url:r[0].url.href}}),t=new Xo({props:{$$slots:{fallback:[hm],default:[gm]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment),l=N(),E(t.$$.fragment)},l(o){T(e.$$.fragment,o),l=P(o),T(t.$$.fragment,o)},m(o,a){D(e,o,a),I(o,l,a),D(t,o,a),n=!0},p(o,[a]){const i={};a&1&&(i.title=`Workflows | ${o[0].params.namespace}`),a&1&&(i.url=o[0].url.href),e.$set(i);const s={};a&2&&(s.$$scope={dirty:a,ctx:o}),t.$set(s)},i(o){n||(p(e.$$.fragment,o),p(t.$$.fragment,o),n=!0)},o(o){h(e.$$.fragment,o),h(t.$$.fragment,o),n=!1},d(o){L(e,o),o&&g(l),L(t,o)}}}function km(r,e,l){let t;return U(r,Le,n=>l(0,t=n)),[t]}class g_ extends fe{constructor(e){super(),ue(this,e,km,bm,ce,{})}}export{g_ as default}; +import{S as ue,b as fe,a as ce,e as ee,f as I,z as X,g as h,h as Z,j as p,k as g,K as U,G as Ie,H as Ee,I as Te,J as De,w as z,x as Q,y as ae,n as K,A as ie,a0 as me,C as E,D as T,E as D,a1 as _e,F as L,M as pt,m as W,p as O,q as V,u as S,c as N,d as P,L as A,aa as $t,at as Mr,a7 as Se,P as pe,Q as $e,i as ir,a2 as Rr,r as Lt,a5 as te,ac as gt,ag as vt,a3 as st,a4 as at,af as Ke,V as Ye,ab as Ct,Z as pl,_ as $l,ap as ur,N as Wt,U as Ot,as as Hr,ae as Ur,l as qr,aj as jr,a8 as gl,v as hl,s as el,$ as Jt,o as fr,a6 as zr}from"../chunks/index.09834243.js";import{p as Le}from"../chunks/stores.cd833532.js";import{a as ht,i as Qr,e as bl}from"../chunks/workflow-service.14ef2cb6.js";import{P as Kr}from"../chunks/page-title.34fd480b.js";import{w as Xe,j as ut}from"../chunks/singletons.741208bb.js";import{I as Pe}from"../chunks/input.d5248942.js";import{M as Gr}from"../chunks/modal.25f32d75.js";import{t as M}from"../chunks/translate.0a219ae4.js";import{A as dt}from"../chunks/workflow-actions.6f88149c.js";import{a as Yr}from"../chunks/auth-user.051e0dee.js";import{g as Jr,f as Xr,C as zt,a as Zr,w as xr}from"../chunks/workflow-terminate-enabled.e1ebd541.js";import{v as eo,t as kl}from"../chunks/toaster.a0b7d8ad.js";import{B as it}from"../chunks/button.ce5dce2f.js";import{c as to,M as tt,a as lt,b as nt,d as ye,f as yt,g as cr}from"../chunks/menu.4ba49cb6.js";import{w as wl,a as lo,b as vl,S as no,O as ro}from"../chunks/option.1c804512.js";import{I as We,S as oo}from"../chunks/icon.3cd9fa27.js";import{l as Ze}from"../chunks/labs-mode.1f006a51.js";import{M as Bt}from"../chunks/menu-divider.6c0ebb73.js";import{T as so,a as Il}from"../chunks/toggle-buttons.d3e32817.js";import{w as de,p as tl}from"../chunks/filters.d78bd1e9.js";import{i as El,g as mr,t as Vt,r as _r,b as Oe}from"../chunks/format-date.79f77cbf.js";import{t as ao,j as dr,F as io,b as Tl,S as uo,W as fo,a as co}from"../chunks/index.44f123ef.js";import{r as Qt,t as mo,z as Kt,l as _o,m as po,n as ll,o as $o,A as Je,B as Mt,C as ct,D as Dl,u as Nt}from"../chunks/format-time.650b834b.js";import{j as Ll,e as go,d as ho,k as bo,s as ko,a as wo}from"../chunks/parse-with-big-int.b38462f3.js";import{u as Ue}from"../chunks/update-query-parameters.016c7f2f.js";import{r as ze,a as mt,l as St,u as bt,b as Rt,f as vo,c as pr,d as sl,w as Ht,g as Io}from"../chunks/workflows.915912aa.js";import{T as Eo}from"../chunks/toggle-switch.3808d19f.js";import{s as kt,b as To,c as $r,i as Do,w as Lo}from"../chunks/search-attributes.5b3e5149.js";import{I as Ve}from"../chunks/icon-button.b5ab850e.js";import{a as gr}from"../chunks/radio-input.af69c0d3.js";import{W as At}from"../chunks/workflow-status.cf27e560.js";import{a as Co}from"../chunks/decode-payload.e6040d83.js";import{D as yo}from"../chunks/drawer.5e79e00e.js";import{A as Bo}from"../chunks/alert.67786ddb.js";import{L as wt}from"../chunks/link.7cb1390a.js";import{L as al}from"../chunks/loading.3bde98aa.js";import{P as So}from"../chunks/table-header-row.843c5ee2.js";import{p as Ft,d as Cl,c as Pt,a as Ao,M as yl,o as hr,F as No,P as Po}from"../chunks/pagination.6f99836b.js";import{n as Fo,l as Ut}from"../chunks/namespaces.5ad7f936.js";import{p as br}from"../chunks/persist-store.47877c2b.js";import{B as Wo}from"../chunks/badge.f53d8aa8.js";import{g as Oo}from"../chunks/route-for.d76d8056.js";import{i as Vo}from"../chunks/version-check.d006b302.js";import{t as Mo,s as Ro}from"../chunks/versions.a86975a1.js";import{c as Ho}from"../chunks/core-user.c59191b9.js";import{b as Uo,c as qo}from"../chunks/batch-operations.54e5cb65.js";import{S as Xt,a as ot}from"../chunks/simple-select.1c5b21bd.js";import{E as kr}from"../chunks/empty-state.aea525ff.js";function il(r,e){Qt(2,arguments);var l=mo(r).getTime(),t=Kt(e);return new Date(l+t)}var jo=36e5;function wr(r,e){Qt(2,arguments);var l=Kt(e);return il(r,l*jo)}var zo=6e4;function vr(r,e){Qt(2,arguments);var l=Kt(e);return il(r,l*zo)}function Ir(r,e){Qt(2,arguments);var l=Kt(e);return il(r,l*1e3)}const Qo=r=>({}),Bl=r=>({});function Ko(r){let e;const l=r[2].fallback,t=Ie(l,r,r[1],Bl);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,o){t&&t.m(n,o),e=!0},p(n,o){t&&t.p&&(!e||o&2)&&Ee(t,l,n,n[1],e?De(l,n[1],o,Qo):Te(n[1]),Bl)},i(n){e||(p(t,n),e=!0)},o(n){h(t,n),e=!1},d(n){t&&t.d(n)}}}function Go(r){let e;const l=r[2].default,t=Ie(l,r,r[1],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,o){t&&t.m(n,o),e=!0},p(n,o){t&&t.p&&(!e||o&2)&&Ee(t,l,n,n[1],e?De(l,n[1],o,null):Te(n[1]),null)},i(n){e||(p(t,n),e=!0)},o(n){h(t,n),e=!1},d(n){t&&t.d(n)}}}function Yo(r){let e,l,t,n;const o=[Go,Ko],a=[];function i(s,u){return s[0]?0:1}return e=i(r),l=a[e]=o[e](r),{c(){l.c(),t=ee()},l(s){l.l(s),t=ee()},m(s,u){a[e].m(s,u),I(s,t,u),n=!0},p(s,[u]){let f=e;e=i(s),e===f?a[e].p(s,u):(X(),h(a[f],1,1,()=>{a[f]=null}),Z(),l=a[e],l?l.p(s,u):(l=a[e]=o[e](s),l.c()),p(l,1),l.m(t.parentNode,t))},i(s){n||(p(l),n=!0)},o(s){h(l),n=!1},d(s){a[e].d(s),s&&g(t)}}}function Jo(r,e,l){let t;U(r,ht,a=>l(0,t=a));let{$$slots:n={},$$scope:o}=e;return r.$$set=a=>{"$$scope"in a&&l(1,o=a.$$scope)},[t,o,n]}class Xo extends ue{constructor(e){super(),fe(this,e,Jo,Yo,ce,{})}}function Zo(r){let e;const l=r[6].default,t=Ie(l,r,r[5],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,o){t&&t.m(n,o),e=!0},p(n,o){t&&t.p&&(!e||o&32)&&Ee(t,l,n,n[5],e?De(l,n[5],o,null):Te(n[5]),null)},i(n){e||(p(t,n),e=!0)},o(n){h(t,n),e=!1},d(n){t&&t.d(n)}}}function xo(r){let e;return{c(){e=z(r[1])},l(l){e=Q(l,r[1])},m(l,t){I(l,e,t)},p(l,t){t&2&&ae(e,l[1])},i:K,o:K,d(l){l&&g(e)}}}function es(r){let e,l,t,n;const o=[xo,Zo],a=[];function i(s,u){return s[1]!==s[0]?0:1}return e=i(r),l=a[e]=o[e](r),{c(){l.c(),t=ee()},l(s){l.l(s),t=ee()},m(s,u){a[e].m(s,u),I(s,t,u),n=!0},p(s,[u]){let f=e;e=i(s),e===f?a[e].p(s,u):(X(),h(a[f],1,1,()=>{a[f]=null}),Z(),l=a[e],l?l.p(s,u):(l=a[e]=o[e](s),l.c()),p(l,1),l.m(t.parentNode,t))},i(s){n||(p(l),n=!0)},o(s){h(l),n=!1},d(s){a[e].d(s),s&&g(t)}}}function ts(r,e,l){let t,{$$slots:n={},$$scope:o}=e,{key:a}=e,{namespace:i}=e,{count:s=void 0}=e,{replace:u=void 0}=e;return r.$$set=f=>{"key"in f&&l(0,a=f.key),"namespace"in f&&l(2,i=f.namespace),"count"in f&&l(3,s=f.count),"replace"in f&&l(4,u=f.replace),"$$scope"in f&&l(5,o=f.$$scope)},r.$$.update=()=>{r.$$.dirty&29&&l(1,t=M(i,a,s,u))},[a,t,i,s,u,o,n]}class Fe extends ue{constructor(e){super(),fe(this,e,ts,es,ce,{key:0,namespace:2,count:3,replace:4})}}function ls(r){let e,l,t;return l=new Fe({props:{namespace:"workflows",key:"batch-operation-modal-title",replace:{action:r[3]}}}),{c(){e=W("h3"),E(l.$$.fragment),this.h()},l(n){e=O(n,"H3",{slot:!0});var o=V(e);T(l.$$.fragment,o),o.forEach(g),this.h()},h(){S(e,"slot","title")},m(n,o){I(n,e,o),D(l,e,null),t=!0},p(n,o){const a={};o&8&&(a.replace={action:n[3]}),l.$set(a)},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){h(l.$$.fragment,n),t=!1},d(n){n&&g(e),L(l)}}}function ns(r){let e,l,t;return l=new Fe({props:{namespace:"workflows",key:r[0]===dt.Cancel?"batch-cancel-confirmation":"batch-terminate-confirmation",count:r[1]}}),{c(){e=W("p"),E(l.$$.fragment)},l(n){e=O(n,"P",{});var o=V(e);T(l.$$.fragment,o),o.forEach(g)},m(n,o){I(n,e,o),D(l,e,null),t=!0},p(n,o){const a={};o&1&&(a.key=n[0]===dt.Cancel?"batch-cancel-confirmation":"batch-terminate-confirmation"),o&2&&(a.count=n[1]),l.$set(a)},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){h(l.$$.fragment,n),t=!1},d(n){n&&g(e),L(l)}}}function rs(r){let e,l,t,n,o,a,i,s,u,f;return l=new Fe({props:{namespace:"workflows",key:"batch-operation-confirmation-all",replace:{action:r[3]}}}),u=new Fe({props:{namespace:"workflows",key:"batch-operation-count-disclaimer",replace:{action:r[3]}}}),{c(){e=W("p"),E(l.$$.fragment),t=N(),n=W("div"),o=W("code"),a=z(r[2]),i=N(),s=W("span"),E(u.$$.fragment),this.h()},l(c){e=O(c,"P",{class:!0});var m=V(e);T(l.$$.fragment,m),m.forEach(g),t=P(c),n=O(c,"DIV",{class:!0});var _=V(n);o=O(_,"CODE",{"data-testid":!0});var d=V(o);a=Q(d,r[2]),d.forEach(g),_.forEach(g),i=P(c),s=O(c,"SPAN",{class:!0});var $=V(s);T(u.$$.fragment,$),$.forEach(g),this.h()},h(){S(e,"class","mb-2"),S(o,"data-testid","batch-action-workflows-query"),S(n,"class","mb-2 overflow-scroll whitespace-nowrap rounded border border-primary bg-gray-100 p-2"),S(s,"class","text-xs")},m(c,m){I(c,e,m),D(l,e,null),I(c,t,m),I(c,n,m),A(n,o),A(o,a),I(c,i,m),I(c,s,m),D(u,s,null),f=!0},p(c,m){const _={};m&8&&(_.replace={action:c[3]}),l.$set(_),(!f||m&4)&&ae(a,c[2]);const d={};m&8&&(d.replace={action:c[3]}),u.$set(d)},i(c){f||(p(l.$$.fragment,c),p(u.$$.fragment,c),f=!0)},o(c){h(l.$$.fragment,c),h(u.$$.fragment,c),f=!1},d(c){c&&g(e),L(l),c&&g(t),c&&g(n),c&&g(i),c&&g(s),L(u)}}}function os(r){let e,l,t,n,o,a,i,s,u,f;const c=[rs,ns],m=[];function _(v,k){return v[11]?0:1}l=_(r),t=m[l]=c[l](r);function d(v){r[19](v)}let $={id:`bulk-action-reason-${r[0]}`,label:M("reason"),hintText:M("workflows","batch-operation-confirmation-input-hint",{placeholder:r[9]}),placeholder:r[9]};r[4]!==void 0&&($.value=r[4]),o=new Pe({props:$}),ie.push(()=>me(o,"value",d));function b(v){r[20](v)}let w={id:"batch-operation-job-id",label:M("job-id"),hintText:r[8]?M("batch","job-id-input-hint"):M("batch","job-id-input-error"),placeholder:r[12],valid:r[8]};return r[7]!==void 0&&(w.value=r[7]),s=new Pe({props:w}),ie.push(()=>me(s,"value",b)),s.$on("input",r[14]),{c(){e=W("div"),t.c(),n=N(),E(o.$$.fragment),i=N(),E(s.$$.fragment),this.h()},l(v){e=O(v,"DIV",{class:!0});var k=V(e);t.l(k),n=P(k),T(o.$$.fragment,k),i=P(k),T(s.$$.fragment,k),k.forEach(g),this.h()},h(){S(e,"class","mb-4 flex flex-col gap-2")},m(v,k){I(v,e,k),m[l].m(e,null),A(e,n),D(o,e,null),A(e,i),D(s,e,null),f=!0},p(v,k){let B=l;l=_(v),l===B?m[l].p(v,k):(X(),h(m[B],1,1,()=>{m[B]=null}),Z(),t=m[l],t?t.p(v,k):(t=m[l]=c[l](v),t.c()),p(t,1),t.m(e,n));const y={};k&1&&(y.id=`bulk-action-reason-${v[0]}`),k&512&&(y.hintText=M("workflows","batch-operation-confirmation-input-hint",{placeholder:v[9]})),k&512&&(y.placeholder=v[9]),!a&&k&16&&(a=!0,y.value=v[4],_e(()=>a=!1)),o.$set(y);const C={};k&256&&(C.hintText=v[8]?M("batch","job-id-input-hint"):M("batch","job-id-input-error")),k&256&&(C.valid=v[8]),!u&&k&128&&(u=!0,C.value=v[7],_e(()=>u=!1)),s.$set(C)},i(v){f||(p(t),p(o.$$.fragment,v),p(s.$$.fragment,v),f=!0)},o(v){h(t),h(o.$$.fragment,v),h(s.$$.fragment,v),f=!1},d(v){v&&g(e),m[l].d(),L(o),L(s)}}}function ss(r){let e,l,t,n;function o(s){r[21](s)}function a(s){r[22](s)}let i={id:`batch-operation-confirmation-modal-${r[0]}`,"data-testid":"batch-"+r[3]+"-confirmation",confirmType:"destructive",cancelText:M("cancel"),confirmDisabled:!r[8],confirmText:r[10],$$slots:{content:[os],title:[ls]},$$scope:{ctx:r}};return r[5]!==void 0&&(i.open=r[5]),r[6]!==void 0&&(i.error=r[6]),e=new Gr({props:i}),ie.push(()=>me(e,"open",o)),ie.push(()=>me(e,"error",a)),e.$on("confirmModal",r[13]),{c(){E(e.$$.fragment)},l(s){T(e.$$.fragment,s)},m(s,u){D(e,s,u),n=!0},p(s,[u]){const f={};u&1&&(f.id=`batch-operation-confirmation-modal-${s[0]}`),u&8&&(f["data-testid"]="batch-"+s[3]+"-confirmation"),u&256&&(f.confirmDisabled=!s[8]),u&1024&&(f.confirmText=s[10]),u&16780191&&(f.$$scope={dirty:u,ctx:s}),!l&&u&32&&(l=!0,f.open=s[5],_e(()=>l=!1)),!t&&u&64&&(t=!0,f.error=s[6],_e(()=>t=!1)),e.$set(f)},i(s){n||(p(e.$$.fragment,s),n=!0)},o(s){h(e.$$.fragment,s),n=!1},d(s){L(e,s)}}}function as(r,e,l){let t,n,o,a,i;U(r,Yr,F=>l(18,a=F)),U(r,et,F=>l(11,i=F));let{action:s}=e,{actionableWorkflowsLength:u}=e,{query:f}=e,c="",m=!1,_="",d="",$=eo(),b=!0;const w=()=>{l(4,c=""),l(5,m=!0)},v=()=>l(5,m=!1),k=F=>l(6,_=F),B=pt(),y=()=>{l(6,_=""),B("confirm",{reason:Xr({action:s,reason:c,email:a.email}),jobId:d||$})},C=F=>{/^[\w.~-]*$/.test(F.target.value)?l(8,b=!0):l(8,b=!1)};function R(F){c=F,l(4,c)}function q(F){d=F,l(7,d)}function j(F){m=F,l(5,m)}function Y(F){_=F,l(6,_)}return r.$$set=F=>{"action"in F&&l(0,s=F.action),"actionableWorkflowsLength"in F&&l(1,u=F.actionableWorkflowsLength),"query"in F&&l(2,f=F.query)},r.$$.update=()=>{r.$$.dirty&1&&l(3,t=s===dt.Cancel?M("cancel"):M("workflows","terminate")),r.$$.dirty&9&&l(10,n=s===dt.Cancel?M("confirm"):t),r.$$.dirty&262145&&l(9,o=Jr(s,a.email))},[s,u,f,t,c,m,_,d,b,o,n,i,$,y,C,w,v,k,a,R,q,j,Y]}class Sl extends ue{constructor(e){super(),fe(this,e,as,ss,ce,{action:0,actionableWorkflowsLength:1,query:2,open:15,close:16,setError:17})}get open(){return this.$$.ctx[15]}get close(){return this.$$.ctx[16]}get setError(){return this.$$.ctx[17]}}function Al(r,e,l){const t=r.slice();return t[9]=e[l].allowed,t[10]=e[l].value,t[12]=l,t}function Nl(r,e,l){const t=r.slice();return t[13]=e[l],t}function Pl(r){let e,l=r[13].label.slice(0,2)+"",t;return{c(){e=W("p"),t=z(l),this.h()},l(n){e=O(n,"P",{class:!0});var o=V(e);t=Q(o,l),o.forEach(g),this.h()},h(){S(e,"class","cell svelte-1we9vff")},m(n,o){I(n,e,o),A(e,t)},p:K,d(n){n&&g(e)}}}function Fl(r,e){let l,t=(e[10]||"")+"",n,o,a,i;function s(){return e[6](e[10])}return{key:r,first:null,c(){l=W("button"),n=z(t),o=N(),this.h()},l(u){l=O(u,"BUTTON",{class:!0});var f=V(l);n=Q(f,t),o=P(f),f.forEach(g),this.h()},h(){S(l,"class","cell svelte-1we9vff"),pe(l,"highlight",e[9]&&e[10]),pe(l,"disabled",!e[9]),pe(l,"selected",new Date(e[0].getFullYear(),e[0].getMonth(),e[0].getDate()).getTime()===new Date(e[2],e[1],e[10]).getTime()),this.first=l},m(u,f){I(u,l,f),A(l,n),A(l,o),a||(i=$e(l,"click",function(){ir(e[9]&&e[10]?s:K)&&(e[9]&&e[10]?s:K).apply(this,arguments)}),a=!0)},p(u,f){e=u,f&8&&t!==(t=(e[10]||"")+"")&&ae(n,t),f&8&&pe(l,"highlight",e[9]&&e[10]),f&8&&pe(l,"disabled",!e[9]),f&15&&pe(l,"selected",new Date(e[0].getFullYear(),e[0].getMonth(),e[0].getDate()).getTime()===new Date(e[2],e[1],e[10]).getTime())},d(u){u&&g(l),a=!1,i()}}}function is(r){let e,l,t,n,o=[],a=new Map,i=wl,s=[];for(let c=0;cc[12];for(let c=0;c!0}=e,s=[];const u=m=>{t("datechange",new Date(a,o,m))},f=(m,_,d)=>d?i(new Date(m,_,d)):!0,c=m=>u(m);return r.$$set=m=>{"date"in m&&l(0,n=m.date),"month"in m&&l(1,o=m.month),"year"in m&&l(2,a=m.year),"isAllowed"in m&&l(5,i=m.isAllowed)},r.$$.update=()=>{r.$$.dirty&6&&l(3,s=lo(o,a).map(m=>({value:m,allowed:f(a,o,m)})))},[n,o,a,s,u,i,c]}class fs extends ue{constructor(e){super(),fe(this,e,us,is,ce,{date:0,month:1,year:2,isAllowed:5})}}function Wl(r){var J;let e,l,t,n,o,a,i,s=(((J=vl(r[8]))==null?void 0:J.label)??"")+"",u,f,c,m,_,d,$,b,w,v,k,B,y,C,R,q,j,Y,F;return o=new We({props:{name:"chevron-left"}}),$=new We({props:{name:"chevron-right"}}),w=new fs({props:{month:r[8],year:r[9],date:r[0],isAllowed:r[1]}}),w.$on("datechange",r[15]),{c(){e=W("div"),l=W("div"),t=W("div"),n=W("button"),E(o.$$.fragment),a=N(),i=W("div"),u=z(s),f=N(),c=z(r[9]),m=N(),_=W("div"),d=W("button"),E($.$$.fragment),b=N(),E(w.$$.fragment),v=N(),k=W("div"),B=W("button"),y=z(r[4]),C=N(),R=W("button"),q=z(r[5]),this.h()},l(le){e=O(le,"DIV",{class:!0});var G=V(e);l=O(G,"DIV",{class:!0});var oe=V(l);t=O(oe,"DIV",{class:!0});var ge=V(t);n=O(ge,"BUTTON",{});var H=V(n);T(o.$$.fragment,H),H.forEach(g),ge.forEach(g),a=P(oe),i=O(oe,"DIV",{class:!0});var x=V(i);u=Q(x,s),f=P(x),c=Q(x,r[9]),x.forEach(g),m=P(oe),_=O(oe,"DIV",{class:!0});var he=V(_);d=O(he,"BUTTON",{});var be=V(d);T($.$$.fragment,be),be.forEach(g),he.forEach(g),oe.forEach(g),b=P(G),T(w.$$.fragment,G),v=P(G),k=O(G,"DIV",{class:!0});var ke=V(k);B=O(ke,"BUTTON",{class:!0});var we=V(B);y=Q(we,r[4]),we.forEach(g),C=P(ke),R=O(ke,"BUTTON",{class:!0});var ve=V(R);q=Q(ve,r[5]),ve.forEach(g),ke.forEach(g),G.forEach(g),this.h()},h(){S(t,"class","flex items-center justify-center"),S(i,"class","flex items-center justify-center"),S(_,"class","flex items-center justify-center"),S(l,"class","mx-3 my-2 flex items-center justify-around"),S(B,"class","cursor-pointer text-[12px]"),S(R,"class","cursor-pointer text-[12px]"),S(k,"class","my-1 flex justify-between px-2"),S(e,"class","absolute z-30 inline-block rounded border border-gray-900 bg-white shadow")},m(le,G){I(le,e,G),A(e,l),A(l,t),A(t,n),D(o,n,null),A(l,a),A(l,i),A(i,u),A(i,f),A(i,c),A(l,m),A(l,_),A(_,d),D($,d,null),A(e,b),D(w,e,null),A(e,v),A(e,k),A(k,B),A(B,y),A(k,C),A(k,R),A(R,q),j=!0,Y||(F=[$e(n,"click",r[14]),$e(d,"click",r[13]),$e(B,"click",r[16]),$e(R,"click",r[17])],Y=!0)},p(le,G){var ge;(!j||G&256)&&s!==(s=(((ge=vl(le[8]))==null?void 0:ge.label)??"")+"")&&ae(u,s),(!j||G&512)&&ae(c,le[9]);const oe={};G&256&&(oe.month=le[8]),G&512&&(oe.year=le[9]),G&1&&(oe.date=le[0]),G&2&&(oe.isAllowed=le[1]),w.$set(oe),(!j||G&16)&&ae(y,le[4]),(!j||G&32)&&ae(q,le[5])},i(le){j||(p(o.$$.fragment,le),p($.$$.fragment,le),p(w.$$.fragment,le),j=!0)},o(le){h(o.$$.fragment,le),h($.$$.fragment,le),h(w.$$.fragment,le),j=!1},d(le){le&&g(e),L(o),L($),L(w),Y=!1,Lt(F)}}}function cs(r){let e,l,t,n,o,a;l=new Pe({props:{id:"datepicker",label:r[2],labelHidden:r[3],icon:"calendar-plus",type:"text",placeholder:"MM/DD/YY",value:r[0].toDateString(),clearable:!0,clearButtonLabel:r[6],disabled:r[7]}}),l.$on("focus",r[11]),l.$on("input",r[12]);let i=r[10]&&Wl(r);return{c(){e=W("div"),E(l.$$.fragment),t=N(),i&&i.c(),this.h()},l(s){e=O(s,"DIV",{class:!0});var u=V(e);T(l.$$.fragment,u),t=P(u),i&&i.l(u),u.forEach(g),this.h()},h(){S(e,"class","relative")},m(s,u){I(s,e,u),D(l,e,null),A(e,t),i&&i.m(e,null),n=!0,o||(a=[Rr(to.call(null,e)),$e(e,"click-outside",r[18])],o=!0)},p(s,[u]){const f={};u&4&&(f.label=s[2]),u&8&&(f.labelHidden=s[3]),u&1&&(f.value=s[0].toDateString()),u&64&&(f.clearButtonLabel=s[6]),u&128&&(f.disabled=s[7]),l.$set(f),s[10]?i?(i.p(s,u),u&1024&&p(i,1)):(i=Wl(s),i.c(),p(i,1),i.m(e,null)):i&&(X(),h(i,1,1,()=>{i=null}),Z())},i(s){n||(p(l.$$.fragment,s),p(i),n=!0)},o(s){h(l.$$.fragment,s),h(i),n=!1},d(s){s&&g(e),L(l),i&&i.d(),o=!1,Lt(a)}}}function ms(r,e,l){const t=pt();let{isAllowed:n=()=>!0}=e,{selected:o=new Date}=e,{label:a}=e,{labelHidden:i=!1}=e,{todayLabel:s}=e,{closeLabel:u}=e,{clearLabel:f}=e,{disabled:c=!1}=e,m,_,d=!1;const $=()=>{l(10,d=!0)},b=R=>{const j=R.target.value;if(j.length===8){const Y=j==null?void 0:j.split("/"),J=2e3+parseInt(Y[2]),le=parseInt(Y[0])-1,G=parseInt(Y[1]),oe=new Date(J,le,G);t("datechange",oe)}},w=()=>{if(m===11){l(8,m=0),l(9,_=_+1);return}l(8,m=m+1)},v=()=>{if(m===0){l(8,m=11),l(9,_-=1);return}l(8,m-=1)},k=R=>{l(10,d=!1),t("datechange",R.detail)},B=()=>l(0,o=new Date),y=()=>l(10,d=!1),C=()=>l(10,d=!1);return r.$$set=R=>{"isAllowed"in R&&l(1,n=R.isAllowed),"selected"in R&&l(0,o=R.selected),"label"in R&&l(2,a=R.label),"labelHidden"in R&&l(3,i=R.labelHidden),"todayLabel"in R&&l(4,s=R.todayLabel),"closeLabel"in R&&l(5,u=R.closeLabel),"clearLabel"in R&&l(6,f=R.clearLabel),"disabled"in R&&l(7,c=R.disabled)},r.$$.update=()=>{r.$$.dirty&1&&(l(8,m=o.getMonth()),l(9,_=o.getFullYear()))},[o,n,a,i,s,u,f,c,m,_,d,$,b,w,v,k,B,y,C]}class It extends ue{constructor(e){super(),fe(this,e,ms,cs,ce,{isAllowed:1,selected:0,label:2,labelHidden:3,todayLabel:4,closeLabel:5,clearLabel:6,disabled:7})}}const _s=r=>({}),Ol=r=>({});function ds(r){let e;const l=r[5].fallback,t=Ie(l,r,r[4],Ol);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,o){t&&t.m(n,o),e=!0},p(n,o){t&&t.p&&(!e||o&16)&&Ee(t,l,n,n[4],e?De(l,n[4],o,_s):Te(n[4]),Ol)},i(n){e||(p(t,n),e=!0)},o(n){h(t,n),e=!1},d(n){t&&t.d(n)}}}function ps(r){let e;const l=r[5].default,t=Ie(l,r,r[4],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,o){t&&t.m(n,o),e=!0},p(n,o){t&&t.p&&(!e||o&16)&&Ee(t,l,n,n[4],e?De(l,n[4],o,null):Te(n[4]),null)},i(n){e||(p(t,n),e=!0)},o(n){h(t,n),e=!1},d(n){t&&t.d(n)}}}function $s(r){let e,l,t,n;const o=[ps,ds],a=[];function i(s,u){return s[0]?0:1}return e=i(r),l=a[e]=o[e](r),{c(){l.c(),t=ee()},l(s){l.l(s),t=ee()},m(s,u){a[e].m(s,u),I(s,t,u),n=!0},p(s,[u]){let f=e;e=i(s),e===f?a[e].p(s,u):(X(),h(a[f],1,1,()=>{a[f]=null}),Z(),l=a[e],l?l.p(s,u):(l=a[e]=o[e](s),l.c()),p(l,1),l.m(t.parentNode,t))},i(s){n||(p(l),n=!0)},o(s){h(l),n=!1},d(s){a[e].d(s),s&&g(t)}}}function gs(r,e,l){let t,n,o,a;U(r,Ze,u=>l(0,o=u)),U(r,Le,u=>l(3,a=u));let{$$slots:i={},$$scope:s}=e;return r.$$set=u=>{"$$scope"in u&&l(4,s=u.$$scope)},r.$$.update=()=>{r.$$.dirty&8&&l(2,t=a.url.searchParams.get("labs")==="true"),r.$$.dirty&8&&l(1,n=a.url.searchParams.get("labs")==="false"),r.$$.dirty&6&&(t?te(Ze,o=!0,o):n&&te(Ze,o=!1,o))},[o,n,t,a,s,i]}class ul extends ue{constructor(e){super(),fe(this,e,gs,$s,ce,{})}}function Vl(r){let e,l;return e=new so({props:{$$slots:{default:[ks]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2056&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function hs(r){let e;return{c(){e=z("AM")},l(l){e=Q(l,"AM")},m(l,t){I(l,e,t)},d(l){l&&g(e)}}}function bs(r){let e;return{c(){e=z("PM")},l(l){e=Q(l,"PM")},m(l,t){I(l,e,t)},d(l){l&&g(e)}}}function ks(r){let e,l,t,n;return e=new Il({props:{active:r[3]==="AM",$$slots:{default:[hs]},$$scope:{ctx:r}}}),e.$on("click",r[9]),t=new Il({props:{active:r[3]==="PM",$$slots:{default:[bs]},$$scope:{ctx:r}}}),t.$on("click",r[10]),{c(){E(e.$$.fragment),l=N(),E(t.$$.fragment)},l(o){T(e.$$.fragment,o),l=P(o),T(t.$$.fragment,o)},m(o,a){D(e,o,a),I(o,l,a),D(t,o,a),n=!0},p(o,a){const i={};a&8&&(i.active=o[3]==="AM"),a&2048&&(i.$$scope={dirty:a,ctx:o}),e.$set(i);const s={};a&8&&(s.active=o[3]==="PM"),a&2048&&(s.$$scope={dirty:a,ctx:o}),t.$set(s)},i(o){n||(p(e.$$.fragment,o),p(t.$$.fragment,o),n=!0)},o(o){h(e.$$.fragment,o),h(t.$$.fragment,o),n=!1},d(o){L(e,o),o&&g(l),L(t,o)}}}function ws(r){let e,l,t,n,o,a,i,s,u,f,c;function m(k){r[6](k)}let _={id:"hour",label:"hrs",labelHidden:!0,placeholder:"00",suffix:"hrs",maxLength:2,error:r[4]?parseInt(r[0])>12:parseInt(r[0])>23,disabled:r[5]};r[0]!==void 0&&(_.value=r[0]),l=new Pe({props:_}),ie.push(()=>me(l,"value",m));function d(k){r[7](k)}let $={id:"minute",label:"min",labelHidden:!0,required:!0,placeholder:"00",suffix:"min",maxLength:2,error:Boolean(parseInt(r[0])>59),disabled:r[5]};r[1]!==void 0&&($.value=r[1]),o=new Pe({props:$}),ie.push(()=>me(o,"value",d));function b(k){r[8](k)}let w={id:"second",label:"sec",labelHidden:!0,placeholder:"00",suffix:"sec",maxLength:2,error:Boolean(parseInt(r[0])>59),disabled:r[5]};r[2]!==void 0&&(w.value=r[2]),s=new Pe({props:w}),ie.push(()=>me(s,"value",b));let v=r[4]&&Vl(r);return{c(){e=W("div"),E(l.$$.fragment),n=N(),E(o.$$.fragment),i=N(),E(s.$$.fragment),f=N(),v&&v.c(),this.h()},l(k){e=O(k,"DIV",{class:!0});var B=V(e);T(l.$$.fragment,B),n=P(B),T(o.$$.fragment,B),i=P(B),T(s.$$.fragment,B),f=P(B),v&&v.l(B),B.forEach(g),this.h()},h(){S(e,"class","flex gap-2")},m(k,B){I(k,e,B),D(l,e,null),A(e,n),D(o,e,null),A(e,i),D(s,e,null),A(e,f),v&&v.m(e,null),c=!0},p(k,[B]){const y={};B&17&&(y.error=k[4]?parseInt(k[0])>12:parseInt(k[0])>23),B&32&&(y.disabled=k[5]),!t&&B&1&&(t=!0,y.value=k[0],_e(()=>t=!1)),l.$set(y);const C={};B&1&&(C.error=Boolean(parseInt(k[0])>59)),B&32&&(C.disabled=k[5]),!a&&B&2&&(a=!0,C.value=k[1],_e(()=>a=!1)),o.$set(C);const R={};B&1&&(R.error=Boolean(parseInt(k[0])>59)),B&32&&(R.disabled=k[5]),!u&&B&4&&(u=!0,R.value=k[2],_e(()=>u=!1)),s.$set(R),k[4]?v?(v.p(k,B),B&16&&p(v,1)):(v=Vl(k),v.c(),p(v,1),v.m(e,null)):v&&(X(),h(v,1,1,()=>{v=null}),Z())},i(k){c||(p(l.$$.fragment,k),p(o.$$.fragment,k),p(s.$$.fragment,k),p(v),c=!0)},o(k){h(l.$$.fragment,k),h(o.$$.fragment,k),h(s.$$.fragment,k),h(v),c=!1},d(k){k&&g(e),L(l),L(o),L(s),v&&v.d()}}}function vs(r,e,l){let{hour:t=""}=e,{minute:n=""}=e,{second:o=""}=e,{half:a="AM"}=e,{twelveHourClock:i=!0}=e,{disabled:s=!1}=e;function u(d){t=d,l(0,t)}function f(d){n=d,l(1,n)}function c(d){o=d,l(2,o)}const m=()=>l(3,a="AM"),_=()=>l(3,a="PM");return r.$$set=d=>{"hour"in d&&l(0,t=d.hour),"minute"in d&&l(1,n=d.minute),"second"in d&&l(2,o=d.second),"half"in d&&l(3,a=d.half),"twelveHourClock"in d&&l(4,i=d.twelveHourClock),"disabled"in d&&l(5,s=d.disabled)},[t,n,o,a,i,s,u,f,c,m,_]}class Et extends ue{constructor(e){super(),fe(this,e,vs,ws,ce,{hour:0,minute:1,second:2,half:3,twelveHourClock:4,disabled:5})}}const Is={workflowId:"WorkflowId",workflowType:"WorkflowType",timeRange:"StartTime",executionStatus:"ExecutionStatus",closeTime:"CloseTime",runId:"RunId"},Es=r=>!(r===null||r===void 0||r===""||typeof r=="string"&&r==="undefined"),Ts=(r,e,l="=",t,n)=>{const o=Is[r]??r;return e==="All"?"":n?`${o} ${e}`:_o(e)||po(e)?t||gt(ht)?`${o} ${Ze?l:">"} "${ll(e)}"`:`${o} BETWEEN "${ll(e)}" AND "${$o()}"`:`${o}${l}"${e}"`},Ds=(r,e)=>r.map(({attribute:l,value:t,conditional:n,operator:o,parenthesis:a,customDate:i})=>{if(Es(t)){let s=Ts(l,t,n,e,i);return a==="("?s=`(${s}`:a===")"&&(s=`${s})`),o&&(s=`${s} ${o} `),s}}).filter(Boolean),Er=(r=[],e=!1)=>Ds(r,e).join(""),Ls=r=>e=>e.toLowerCase()===r.toLowerCase(),Ml=(r,e)=>r[e+2],Cs=(r,e)=>r[e-2],ys=Ls("Datetime"),xe=()=>({attribute:"",value:"",operator:"",parenthesis:"",conditional:""}),Bs={ExecutionStatus:"Keyword",StartTime:"Datetime",CloseTime:"Datetime",WorkflowId:"Keyword",WorkflowType:"Keyword",RunId:"Keyword"},nl=(r,e=Bs)=>{const l=ao(r),t=[];let n=xe();if(!r)return[];try{return l.forEach((o,a)=>{if(e[o])if(n.attribute=o,ys(e[o])){const i=Ml(l,a),s=El(i);if(Ll(l[a+1])){const u=l[a+4],f=El(u);s&&f?(n.value=`BETWEEN "${i}" AND "${u}"`,n.customDate=!0):console.error("Error parsing Datetime field from query")}else s?n.value=i:console.error("Error parsing Datetime field from query")}else n.value=Ml(l,a);go(o)&&(n.conditional=o),ho(o)&&(n.parenthesis=o),bo(o)&&!Ll(Cs(l,a))&&(n.operator=o,t.push(n),n=xe()),a===l.length-1&&(t.push(n),n=xe())}),t}catch(o){return console.error("Error setting filter parameters: ",o),[]}},Ss=r=>{const e=r.filter(i=>i.attribute==="ExecutionStatus"&&i.value),l=r.filter(i=>i.attribute==="WorkflowId"&&i.value),t=r.filter(i=>i.attribute==="WorkflowType"&&i.value),n=r.filter(i=>i.attribute==="RunId"&&i.value),o=r.filter(i=>(i.attribute==="StartTime"||i.attribute==="CloseTime")&&i.value),a=[e,l,n,t,o].filter(i=>i.length);return a.forEach((i,s)=>{var u,f;i.length&&((u=a[s+1])!=null&&u.length)?i[i.length-1].operator="AND":i.length&&!((f=a[s+1])!=null&&f.length)&&(i[i.length-1].operator="")}),[...e,...l,...n,...t,...o]},Tr=r=>(r.forEach((e,l)=>{const t=r[l-1];t&&!t.operator&&(t.operator="AND"),r[l+1]||(e.operator=""),e.operator==="OR"&&(t==null?void 0:t.operator)!=="OR"?e.parenthesis="(":(t==null?void 0:t.operator)==="OR"&&e.operator!=="OR"?e.parenthesis=")":e.parenthesis=""}),r),Qe=dr((r,e,l=!1)=>{const t=l?Tr(e):Ss(e),n=Er(t);Ue({url:r,parameter:"query",value:n,allowEmpty:!1})},300);function Rl(r,e,l){const t=r.slice();return t[43]=e[l],t}function As(r){let e;return{c(){e=z(r[1])},l(l){e=Q(l,r[1])},m(l,t){I(l,e,t)},p(l,t){t[0]&2&&ae(e,l[1])},d(l){l&&g(e)}}}function Ns(r){let e,l,t,n,o,a,i,s,u,f,c,m,_,d,$;t=new ye({props:{$$slots:{default:[Fs]},$$scope:{ctx:r}}}),t.$on("click",r[31]),a=new ye({props:{$$slots:{default:[Ws]},$$scope:{ctx:r}}}),a.$on("click",r[32]);let b=Mt,w=[];for(let k=0;kh(w[k],1,1,()=>{w[k]=null});return c=new ye({props:{selected:r[2]==="StartTime",$$slots:{default:[Vs]},$$scope:{ctx:r}}}),c.$on("click",r[34]),d=new ye({props:{selected:r[2]==="CloseTime",$$slots:{default:[Ms]},$$scope:{ctx:r}}}),d.$on("click",r[35]),{c(){e=W("div"),l=W("div"),E(t.$$.fragment),n=N(),o=W("div"),E(a.$$.fragment),i=N();for(let k=0;kme(n,"hour",R)),ie.push(()=>me(n,"minute",q)),ie.push(()=>me(n,"second",j)),ie.push(()=>me(n,"half",Y)),f=new It({props:{label:M("end"),selected:r[4],todayLabel:M("today"),closeLabel:M("close"),clearLabel:M("clear-input-button-label")}}),f.$on("datechange",r[17]);function J(H){r[26](H)}function le(H){r[27](H)}function G(H){r[28](H)}function oe(H){r[29](H)}let ge={};return r[9]!==void 0&&(ge.hour=r[9]),r[10]!==void 0&&(ge.minute=r[10]),r[11]!==void 0&&(ge.second=r[11]),r[12]!==void 0&&(ge.half=r[12]),m=new Et({props:ge}),ie.push(()=>me(m,"hour",J)),ie.push(()=>me(m,"minute",le)),ie.push(()=>me(m,"second",G)),ie.push(()=>me(m,"half",oe)),k=new it({props:{$$slots:{default:[Rs]},$$scope:{ctx:r}}}),k.$on("click",r[18]),y=new it({props:{variant:"secondary",$$slots:{default:[Hs]},$$scope:{ctx:r}}}),y.$on("click",r[30]),{c(){e=W("div"),E(l.$$.fragment),t=N(),E(n.$$.fragment),u=N(),E(f.$$.fragment),c=N(),E(m.$$.fragment),w=N(),v=W("div"),E(k.$$.fragment),B=N(),E(y.$$.fragment),this.h()},l(H){e=O(H,"DIV",{class:!0});var x=V(e);T(l.$$.fragment,x),t=P(x),T(n.$$.fragment,x),u=P(x),T(f.$$.fragment,x),c=P(x),T(m.$$.fragment,x),w=P(x),v=O(x,"DIV",{class:!0});var he=V(v);T(k.$$.fragment,he),B=P(he),T(y.$$.fragment,he),he.forEach(g),x.forEach(g),this.h()},h(){S(v,"class","flex gap-2"),S(e,"class","flex flex-col gap-2 p-2")},m(H,x){I(H,e,x),D(l,e,null),A(e,t),D(n,e,null),A(e,u),D(f,e,null),A(e,c),D(m,e,null),A(e,w),A(e,v),D(k,v,null),A(v,B),D(y,v,null),C=!0},p(H,x){const he={};x[0]&8&&(he.selected=H[3]),l.$set(he);const be={};!o&&x[0]&32&&(o=!0,be.hour=H[5],_e(()=>o=!1)),!a&&x[0]&64&&(a=!0,be.minute=H[6],_e(()=>a=!1)),!i&&x[0]&128&&(i=!0,be.second=H[7],_e(()=>i=!1)),!s&&x[0]&256&&(s=!0,be.half=H[8],_e(()=>s=!1)),n.$set(be);const ke={};x[0]&16&&(ke.selected=H[4]),f.$set(ke);const we={};!_&&x[0]&512&&(_=!0,we.hour=H[9],_e(()=>_=!1)),!d&&x[0]&1024&&(d=!0,we.minute=H[10],_e(()=>d=!1)),!$&&x[0]&2048&&($=!0,we.second=H[11],_e(()=>$=!1)),!b&&x[0]&4096&&(b=!0,we.half=H[12],_e(()=>b=!1)),m.$set(we);const ve={};x[1]&32768&&(ve.$$scope={dirty:x,ctx:H}),k.$set(ve);const Be={};x[1]&32768&&(Be.$$scope={dirty:x,ctx:H}),y.$set(Be)},i(H){C||(p(l.$$.fragment,H),p(n.$$.fragment,H),p(f.$$.fragment,H),p(m.$$.fragment,H),p(k.$$.fragment,H),p(y.$$.fragment,H),C=!0)},o(H){h(l.$$.fragment,H),h(n.$$.fragment,H),h(f.$$.fragment,H),h(m.$$.fragment,H),h(k.$$.fragment,H),h(y.$$.fragment,H),C=!1},d(H){H&&g(e),L(l),L(n),L(f),L(m),L(k),L(y)}}}function Fs(r){let e=M("all-time")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Ws(r){let e=M("custom")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Os(r){let e=r[43]+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Hl(r){let e,l,t;function n(){return r[33](r[43])}return l=new ye({props:{$$slots:{default:[Os]},$$scope:{ctx:r}}}),l.$on("click",n),{c(){e=W("div"),E(l.$$.fragment),this.h()},l(o){e=O(o,"DIV",{class:!0});var a=V(e);T(l.$$.fragment,a),a.forEach(g),this.h()},h(){S(e,"class","flex w-1/2 flex-col justify-center")},m(o,a){I(o,e,a),D(l,e,null),t=!0},p(o,a){r=o;const i={};a[1]&32768&&(i.$$scope={dirty:a,ctx:r}),l.$set(i)},i(o){t||(p(l.$$.fragment,o),t=!0)},o(o){h(l.$$.fragment,o),t=!1},d(o){o&&g(e),L(l)}}}function Vs(r){let e=M("start-time")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Ms(r){let e=M("end-time")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Rs(r){let e=M("apply")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Hs(r){let e=M("cancel")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Us(r){let e,l,t=M("based-on-time-preface")+"",n,o,a,i;return e=new We({props:{name:"clock","aria-hidden":"true"}}),{c(){E(e.$$.fragment),l=N(),n=z(t),o=N(),a=z(r[13])},l(s){T(e.$$.fragment,s),l=P(s),n=Q(s,t),o=P(s),a=Q(s,r[13])},m(s,u){D(e,s,u),I(s,l,u),I(s,n,u),I(s,o,u),I(s,a,u),i=!0},p:K,i(s){i||(p(e.$$.fragment,s),i=!0)},o(s){h(e.$$.fragment,s),i=!1},d(s){L(e,s),s&&g(l),s&&g(n),s&&g(o),s&&g(a)}}}function qs(r){let e,l,t,n,o,a,i;const s=[Ps,Ns],u=[];function f(c,m){return c[0]?0:1}return e=f(r),l=u[e]=s[e](r),n=new Bt({}),a=new ye({props:{centered:!0,disabled:!0,$$slots:{default:[Us]},$$scope:{ctx:r}}}),{c(){l.c(),t=N(),E(n.$$.fragment),o=N(),E(a.$$.fragment)},l(c){l.l(c),t=P(c),T(n.$$.fragment,c),o=P(c),T(a.$$.fragment,c)},m(c,m){u[e].m(c,m),I(c,t,m),D(n,c,m),I(c,o,m),D(a,c,m),i=!0},p(c,m){let _=e;e=f(c),e===_?u[e].p(c,m):(X(),h(u[_],1,1,()=>{u[_]=null}),Z(),l=u[e],l?l.p(c,m):(l=u[e]=s[e](c),l.c()),p(l,1),l.m(t.parentNode,t));const d={};m[1]&32768&&(d.$$scope={dirty:m,ctx:c}),a.$set(d)},i(c){i||(p(l),p(n.$$.fragment,c),p(a.$$.fragment,c),i=!0)},o(c){h(l),h(n.$$.fragment,c),h(a.$$.fragment,c),i=!1},d(c){u[e].d(c),c&&g(t),L(n,c),c&&g(o),L(a,c)}}}function js(r){let e,l,t,n;return e=new lt({props:{id:"time-range-filter",hasIndicator:!0,controls:"time-range-filter-menu",$$slots:{default:[As]},$$scope:{ctx:r}}}),t=new nt({props:{class:"w-[25rem] !overflow-visible",position:"right",keepOpen:!0,id:"time-range-filter-menu",$$slots:{default:[qs]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment),l=N(),E(t.$$.fragment)},l(o){T(e.$$.fragment,o),l=P(o),T(t.$$.fragment,o)},m(o,a){D(e,o,a),I(o,l,a),D(t,o,a),n=!0},p(o,a){const i={};a[0]&2|a[1]&32768&&(i.$$scope={dirty:a,ctx:o}),e.$set(i);const s={};a[0]&8189|a[1]&32768&&(s.$$scope={dirty:a,ctx:o}),t.$set(s)},i(o){n||(p(e.$$.fragment,o),p(t.$$.fragment,o),n=!0)},o(o){h(e.$$.fragment,o),h(t.$$.fragment,o),n=!1},d(o){L(e,o),o&&g(l),L(t,o)}}}function zs(r){let e,l;return e=new tt({props:{$$slots:{default:[js]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n[0]&8191|n[1]&32768&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Qs(r){let e,l,t;return l=new ul({props:{$$slots:{fallback:[zs]},$$scope:{ctx:r}}}),{c(){e=W("div"),E(l.$$.fragment),this.h()},l(n){e=O(n,"DIV",{class:!0});var o=V(e);T(l.$$.fragment,o),o.forEach(g),this.h()},h(){S(e,"class","flex items-start")},m(n,o){I(n,e,o),D(l,e,null),t=!0},p(n,o){const a={};o[0]&8191|o[1]&32768&&(a.$$scope={dirty:o,ctx:n}),l.$set(a)},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){h(l.$$.fragment,n),t=!1},d(n){n&&g(e),L(l)}}}function Ks(r,e,l){let t,n,o,a,i,s;U(r,de,re=>l(20,o=re)),U(r,Le,re=>l(37,a=re)),U(r,tl,re=>l(38,i=re)),U(r,ht,re=>l(21,s=re));const u=mr()||M("local");let f=!1,c="All Time",m="StartTime",_=Je(new Date),d=Je(new Date),$="",b="",w="",v="AM",k="",B="",y="",C="AM";const R=()=>{t?(l(1,c=f||!Mt.includes(t==null?void 0:t.value)?"Custom":t.value),l(2,m=t.attribute)):(l(1,c="All Time"),l(2,m="StartTime")),(!t||Mt.includes(t==null?void 0:t.value)||(t==null?void 0:t.customDate))&&te(tl,i=t,i)},q=()=>o.filter(re=>re.attribute!=="StartTime"&&re.attribute!=="CloseTime"),j=re=>{if(l(1,c=re),c==="All Time")te(de,o=[...q()],o),l(0,f=!1);else if(c==="Custom")l(0,f=!0);else{const Ne={attribute:m,value:c,conditional:">",operator:"",parenthesis:""};te(de,o=[...q(),Ne],o),l(0,f=!1)}Qe(a.url,o)},Y=re=>{re!==m&&(l(2,m=re),j(c))},F=re=>{l(3,_=Je(re.detail))},J=re=>{l(4,d=Je(re.detail))},le=(re,Ne)=>{let je=new Date(re);return Ne.hour&&(je=wr(je,parseInt(Ne.hour))),Ne.minute&&(je=vr(je,parseInt(Ne.minute))),Ne.second&&(je=Ir(je,parseInt(Ne.second))),je},G=(re,Ne)=>{if(re)return re==="12"?Ne==="AM"?"00":"12":Ne==="PM"?(parseInt(re)+12).toString():re;re=""},oe=()=>{let re=le(_,{hour:G($,v),minute:b,second:w}),Ne=le(d,{hour:G(k,C),minute:B,second:y});const je=n?`BETWEEN "${ct(re)}" AND "${ct(Ne)}"`:`> "${ct(re)}"`,Vr={attribute:m,value:je,conditional:"=",operator:"",parenthesis:"",customDate:!0};te(de,o=[...q(),Vr],o),Qe(a.url,o)};function ge(re){$=re,l(5,$)}function H(re){b=re,l(6,b)}function x(re){w=re,l(7,w)}function he(re){v=re,l(8,v)}function be(re){k=re,l(9,k)}function ke(re){B=re,l(10,B)}function we(re){y=re,l(11,y)}function ve(re){C=re,l(12,C)}const Be=()=>l(0,f=!1),ne=()=>j("All Time"),se=()=>j("Custom"),Ce=re=>j(re),Ae=()=>Y("StartTime"),Or=()=>Y("CloseTime");return r.$$.update=()=>{r.$$.dirty[0]&1048576&&l(19,t=o.find(re=>re.attribute==="StartTime"||re.attribute==="CloseTime")),r.$$.dirty[0]&2097153&&(n=f||!s),r.$$.dirty[0]&524288&&R()},[f,c,m,_,d,$,b,w,v,k,B,y,C,u,j,Y,F,J,oe,t,o,s,ge,H,x,he,be,ke,we,ve,Be,ne,se,Ce,Ae,Or]}class Gs extends ue{constructor(e){super(),fe(this,e,Ks,Qs,ce,{},null,[-1,-1])}}function Ys(r){let e=M("search")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Js(r){let e,l,t,n,o,a,i,s,u,f,c,m;function _($){r[5]($)}let d={id:"manual-search",type:"search",label:M("workflows","search-placeholder"),labelHidden:!0,placeholder:M("workflows","search-placeholder"),icon:"search",class:"w-full lg:w-3/4",clearable:!0,clearButtonLabel:M("clear-input-button-label"),unroundRight:!0};return r[0]!==void 0&&(d.value=r[0]),n=new Pe({props:d}),ie.push(()=>me(n,"value",_)),n.$on("clear",r[2]),i=new it({props:{"data-testid":"manual-search-button",variant:"primary",borderRadiusModifier:"square-left",type:"submit",$$slots:{default:[Ys]},$$scope:{ctx:r}}}),{c(){e=W("div"),l=W("div"),t=W("form"),E(n.$$.fragment),a=N(),E(i.$$.fragment),this.h()},l($){e=O($,"DIV",{class:!0});var b=V(e);l=O(b,"DIV",{class:!0});var w=V(l);t=O(w,"FORM",{class:!0,role:!0});var v=V(t);T(n.$$.fragment,v),a=P(v),T(i.$$.fragment,v),v.forEach(g),w.forEach(g),b.forEach(g),this.h()},h(){S(t,"class","relative flex w-full items-center gap-0"),S(t,"role","search"),S(l,"class","flex w-full items-center gap-0"),S(e,"class","flex grow gap-4")},m($,b){I($,e,b),A(e,l),A(l,t),D(n,t,null),A(t,a),D(i,t,null),f=!0,c||(m=$e(t,"submit",vt(r[1])),c=!0)},p($,[b]){const w={};!o&&b&1&&(o=!0,w.value=$[0],_e(()=>o=!1)),n.$set(w);const v={};b&1024&&(v.$$scope={dirty:b,ctx:$}),i.$set(v)},i($){f||(p(n.$$.fragment,$),p(i.$$.fragment,$),s||st(()=>{s=at(t,yt,{x:-100,duration:150}),s.start()}),u||st(()=>{u=at(l,cr,{}),u.start()}),f=!0)},o($){h(n.$$.fragment,$),h(i.$$.fragment,$),f=!1},d($){$&&g(e),L(n),L(i),c=!1,m()}}}function Xs(r,e,l){let t,n,o,a,i;U(r,Le,_=>l(4,n=_)),U(r,ze,_=>l(6,o=_)),U(r,de,_=>l(7,a=_)),U(r,mt,_=>l(8,i=_));let s="";function u(_){l(0,s=_)}const f=()=>{if(!s)te(de,a=[],a),te(mt,i="",i);else try{te(de,a=nl(s),a)}catch(_){console.error(_)}s&&s===t?te(ze,o=Date.now(),o):Ue({url:n.url,parameter:"query",value:s,allowEmpty:!0})};function c(){f()}function m(_){s=_,l(0,s)}return r.$$.update=()=>{r.$$.dirty&16&&l(3,t=n.url.searchParams.get("query")),r.$$.dirty&8&&u(t)},[s,f,c,t,n,m]}class Dr extends ue{constructor(e){super(),fe(this,e,Xs,Js,ce,{})}}function _t(r){return r==="ExecutionStatus"}function Tt(r,e=kt){const l=gt(e)[r];return _t(r)?!1:["Keyword","Text","String"].includes(l)}function Lr(r,e=kt){return gt(e)[r]==="KeywordList"}function Cr(r,e=kt){const l=gt(e)[r];return["Int","Double"].includes(l)}function fl(r,e=kt){return gt(e)[r]==="Datetime"}function yr(r,e=kt){return gt(e)[r]==="Bool"}function Br(r){return _t(r)?"status-filter":Tt(r)||Cr(r)||fl(r)?"conditional-menu-button":Lr(r)?"list-filter-search":yr(r)?"boolean-filter":""}function Ul(r,e,l){const t=r.slice();return t[8]=e[l].value,t[9]=e[l].label,t}function Zs(r){let e;return{c(){e=z(r[1])},l(l){e=Q(l,r[1])},m(l,t){I(l,e,t)},p(l,t){t&2&&ae(e,l[1])},d(l){l&&g(e)}}}function xs(r){let e=r[9]+"",l,t;return{c(){l=z(e),t=N()},l(n){l=Q(n,e),t=P(n)},m(n,o){I(n,l,o),I(n,t,o)},p:K,d(n){n&&g(l),n&&g(t)}}}function ql(r){let e,l;function t(){return r[7](r[8])}return e=new ye({props:{$$slots:{default:[xs]},$$scope:{ctx:r}}}),e.$on("click",t),{c(){E(e.$$.fragment)},l(n){T(e.$$.fragment,n)},m(n,o){D(e,n,o),l=!0},p(n,o){r=n;const a={};o&4096&&(a.$$scope={dirty:o,ctx:r}),e.$set(a)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){h(e.$$.fragment,n),l=!1},d(n){L(e,n)}}}function ea(r){let e,l,t=r[4],n=[];for(let a=0;ah(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;al(0,o=c));const u=[{value:"true",label:M("true")},{value:"false",label:M("false")}],f=c=>{te(i,o.value=c,o),s()};return r.$$.update=()=>{r.$$.dirty&33&&l(6,t=l(5,a=u.find(c=>c.value===o.value))!==null&&a!==void 0?a:u[0]),r.$$.dirty&64&&l(1,n=t==null?void 0:t.label)},[o,n,i,s,u,a,t,f]}class ra extends ue{constructor(e){super(),fe(this,e,na,la,ce,{})}}function oa(r){let e,l;return e=new Ve({props:{label:M("close"),icon:"close",class:"ml-1"}}),e.$on("click",r[0]),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function sa(r){const{resetFilter:e}=Ke(qe);return[e]}class Gt extends ue{constructor(e){super(),fe(this,e,sa,oa,ce,{})}}function jl(r,e,l){const t=r.slice();return t[16]=e[l].value,t[17]=e[l].label,t}function aa(r){let e;return{c(){e=z(r[6])},l(l){e=Q(l,r[6])},m(l,t){I(l,e,t)},p(l,t){t&64&&ae(e,l[6])},d(l){l&&g(e)}}}function ia(r){let e=(r[17]??r[16])+"",l,t;return{c(){l=z(e),t=N()},l(n){l=Q(n,e),t=P(n)},m(n,o){I(n,l,o),I(n,t,o)},p(n,o){o&1&&e!==(e=(n[17]??n[16])+"")&&ae(l,e)},d(n){n&&g(l),n&&g(t)}}}function zl(r){let e,l;function t(){return r[13](r[16])}return e=new ye({props:{$$slots:{default:[ia]},$$scope:{ctx:r}}}),e.$on("click",t),{c(){E(e.$$.fragment)},l(n){T(e.$$.fragment,n)},m(n,o){D(e,n,o),l=!0},p(n,o){r=n;const a={};o&1048577&&(a.$$scope={dirty:o,ctx:r}),e.$set(a)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){h(e.$$.fragment,n),l=!1},d(n){L(e,n)}}}function ua(r){let e,l,t=r[0],n=[];for(let a=0;ah(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;al(5,a=k)),U(r,f,k=>l(7,i=k));const c=[{value:">"},{value:">="},{value:"="},{value:"<="},{value:"<"}];let{options:m=c}=e,{disabled:_=!1}=e,{inputId:d}=e,{noBorderLeft:$=!1}=e,{noBorderRight:b=!1}=e;function w(){t||te(u,a.conditional=m[0].value,a)}const v=k=>{te(u,a.conditional=k,a),te(f,i=d,i)};return r.$$set=k=>{"options"in k&&l(0,m=k.options),"disabled"in k&&l(1,_=k.disabled),"inputId"in k&&l(2,d=k.inputId),"noBorderLeft"in k&&l(3,$=k.noBorderLeft),"noBorderRight"in k&&l(4,b=k.noBorderRight)},r.$$.update=()=>{r.$$.dirty&33&&l(11,t=m.find(k=>k.value===a.conditional)),r.$$.dirty&1&&w(),r.$$.dirty&2049&&l(12,n=t??m[0]),r.$$.dirty&5120&&l(6,o=l(10,s=n==null?void 0:n.label)!==null&&s!==void 0?s:n==null?void 0:n.value)},[m,_,d,$,b,a,o,i,u,f,s,t,n,v]}class cl extends ue{constructor(e){super(),fe(this,e,ma,ca,ce,{options:0,disabled:1,inputId:2,noBorderLeft:3,noBorderRight:4})}}function Ql(r,e,l){const t=r.slice();return t[39]=e[l],t}function _a(r){let e=M("workflows","select-time")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function da(r){let e,l,t,n,o,a;return e=new ye({props:{$$slots:{default:[ha]},$$scope:{ctx:r}}}),e.$on("click",r[32]),t=new Bt({}),o=new ye({props:{$$slots:{default:[ba]},$$scope:{ctx:r}}}),o.$on("click",r[36]),{c(){E(e.$$.fragment),l=N(),E(t.$$.fragment),n=N(),E(o.$$.fragment)},l(i){T(e.$$.fragment,i),l=P(i),T(t.$$.fragment,i),n=P(i),T(o.$$.fragment,i)},m(i,s){D(e,i,s),I(i,l,s),D(t,i,s),I(i,n,s),D(o,i,s),a=!0},p(i,s){const u={};s[0]&2053|s[1]&2048&&(u.$$scope={dirty:s,ctx:i}),e.$set(u);const f={};s[0]&236|s[1]&2048&&(f.$$scope={dirty:s,ctx:i}),o.$set(f)},i(i){a||(p(e.$$.fragment,i),p(t.$$.fragment,i),p(o.$$.fragment,i),a=!0)},o(i){h(e.$$.fragment,i),h(t.$$.fragment,i),h(o.$$.fragment,i),a=!1},d(i){L(e,i),i&&g(l),L(t,i),i&&g(n),L(o,i)}}}function pa(r){let e,l,t,n,o,a;return e=new ye({props:{$$slots:{default:[ka]},$$scope:{ctx:r}}}),t=new Bt({}),o=new ye({props:{$$slots:{default:[wa]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment),l=N(),E(t.$$.fragment),n=N(),E(o.$$.fragment)},l(i){T(e.$$.fragment,i),l=P(i),T(t.$$.fragment,i),n=P(i),T(o.$$.fragment,i)},m(i,s){D(e,i,s),I(i,l,s),D(t,i,s),I(i,n,s),D(o,i,s),a=!0},p(i,s){const u={};s[0]&232|s[1]&2048&&(u.$$scope={dirty:s,ctx:i}),e.$set(u);const f={};s[0]&1808|s[1]&2048&&(f.$$scope={dirty:s,ctx:i}),o.$set(f)},i(i){a||(p(e.$$.fragment,i),p(t.$$.fragment,i),p(o.$$.fragment,i),a=!0)},o(i){h(e.$$.fragment,i),h(t.$$.fragment,i),h(o.$$.fragment,i),a=!1},d(i){L(e,i),i&&g(l),L(t,i),i&&g(n),L(o,i)}}}function $a(r){let e=r[39]+"",l,t,n=M("ago")+"",o;return{c(){l=z(e),t=N(),o=z(n)},l(a){l=Q(a,e),t=P(a),o=Q(a,n)},m(a,i){I(a,l,i),I(a,t,i),I(a,o,i)},p:K,d(a){a&&g(l),a&&g(t),a&&g(o)}}}function Kl(r){let e,l;return e=new ro({props:{value:r[39],$$slots:{default:[$a]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n[1]&2048&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function ga(r){let e,l,t=r[15],n=[];for(let a=0;ah(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;ame(o,"value",c));function _($){r[31]($)}let d={unroundLeft:!0,id:"relative-datetime-unit-input",label:M("time-unit"),labelHidden:!0,disabled:r[2]!=="relative",$$slots:{default:[ga]},$$scope:{ctx:r}};return r[11]!==void 0&&(d.value=r[11]),s=new no({props:d}),ie.push(()=>me(s,"value",_)),{c(){e=W("div"),E(l.$$.fragment),t=N(),n=W("div"),E(o.$$.fragment),i=N(),E(s.$$.fragment),this.h()},l($){e=O($,"DIV",{class:!0});var b=V(e);T(l.$$.fragment,b),t=P(b),n=O(b,"DIV",{class:!0});var w=V(n);T(o.$$.fragment,w),i=P(w),T(s.$$.fragment,w),w.forEach(g),b.forEach(g),this.h()},h(){S(n,"class","ml-6 flex gap-0 pt-2"),S(e,"class","flex flex-col")},m($,b){I($,e,b),D(l,e,null),A(e,t),A(e,n),D(o,n,null),A(n,i),D(s,n,null),f=!0},p($,b){const w={};b[0]&1&&(w.error=$[20]($[0])),b[0]&4&&(w.disabled=$[2]!=="relative"),!a&&b[0]&1&&(a=!0,w.value=$[0],_e(()=>a=!1)),o.$set(w);const v={};b[0]&4&&(v.disabled=$[2]!=="relative"),b[1]&2048&&(v.$$scope={dirty:b,ctx:$}),!u&&b[0]&2048&&(u=!0,v.value=$[11],_e(()=>u=!1)),s.$set(v)},i($){f||(p(l.$$.fragment,$),p(o.$$.fragment,$),p(s.$$.fragment,$),f=!0)},o($){h(l.$$.fragment,$),h(o.$$.fragment,$),h(s.$$.fragment,$),f=!1},d($){$&&g(e),L(l),L(o),L(s)}}}function ba(r){let e,l,t,n,o,a,i,s,u,f,c;l=new gr({props:{label:M("absolute"),id:"absolute-time",value:"absolute",name:"time-filter-type",group:r[16]}}),o=new It({props:{label:"",labelHidden:!0,selected:r[3],todayLabel:M("today"),closeLabel:M("close"),clearLabel:M("clear-input-button-label"),disabled:r[2]!=="absolute"}}),o.$on("datechange",r[17]);function m(b){r[33](b)}function _(b){r[34](b)}function d(b){r[35](b)}let $={twelveHourClock:!1,disabled:r[2]!=="absolute"};return r[5]!==void 0&&($.hour=r[5]),r[6]!==void 0&&($.minute=r[6]),r[7]!==void 0&&($.second=r[7]),i=new Et({props:$}),ie.push(()=>me(i,"hour",m)),ie.push(()=>me(i,"minute",_)),ie.push(()=>me(i,"second",d)),{c(){e=W("div"),E(l.$$.fragment),t=N(),n=W("div"),E(o.$$.fragment),a=N(),E(i.$$.fragment),this.h()},l(b){e=O(b,"DIV",{class:!0});var w=V(e);T(l.$$.fragment,w),t=P(w),n=O(w,"DIV",{class:!0});var v=V(n);T(o.$$.fragment,v),a=P(v),T(i.$$.fragment,v),v.forEach(g),w.forEach(g),this.h()},h(){S(n,"class","ml-6 flex flex-col gap-2"),S(e,"class","flex flex-col gap-2")},m(b,w){I(b,e,w),D(l,e,null),A(e,t),A(e,n),D(o,n,null),A(n,a),D(i,n,null),c=!0},p(b,w){const v={};w[0]&8&&(v.selected=b[3]),w[0]&4&&(v.disabled=b[2]!=="absolute"),o.$set(v);const k={};w[0]&4&&(k.disabled=b[2]!=="absolute"),!s&&w[0]&32&&(s=!0,k.hour=b[5],_e(()=>s=!1)),!u&&w[0]&64&&(u=!0,k.minute=b[6],_e(()=>u=!1)),!f&&w[0]&128&&(f=!0,k.second=b[7],_e(()=>f=!1)),i.$set(k)},i(b){c||(p(l.$$.fragment,b),p(o.$$.fragment,b),p(i.$$.fragment,b),c=!0)},o(b){h(l.$$.fragment,b),h(o.$$.fragment,b),h(i.$$.fragment,b),c=!1},d(b){b&&g(e),L(l),L(o),L(i)}}}function ka(r){let e,l,t,n,o,a,i,s;l=new It({props:{label:M("start"),selected:r[3],todayLabel:M("today"),closeLabel:M("close"),clearLabel:M("clear-input-button-label")}}),l.$on("datechange",r[17]);function u(_){r[24](_)}function f(_){r[25](_)}function c(_){r[26](_)}let m={twelveHourClock:!1};return r[5]!==void 0&&(m.hour=r[5]),r[6]!==void 0&&(m.minute=r[6]),r[7]!==void 0&&(m.second=r[7]),n=new Et({props:m}),ie.push(()=>me(n,"hour",u)),ie.push(()=>me(n,"minute",f)),ie.push(()=>me(n,"second",c)),{c(){e=W("div"),E(l.$$.fragment),t=N(),E(n.$$.fragment),this.h()},l(_){e=O(_,"DIV",{class:!0});var d=V(e);T(l.$$.fragment,d),t=P(d),T(n.$$.fragment,d),d.forEach(g),this.h()},h(){S(e,"class","flex flex-col gap-2")},m(_,d){I(_,e,d),D(l,e,null),A(e,t),D(n,e,null),s=!0},p(_,d){const $={};d[0]&8&&($.selected=_[3]),l.$set($);const b={};!o&&d[0]&32&&(o=!0,b.hour=_[5],_e(()=>o=!1)),!a&&d[0]&64&&(a=!0,b.minute=_[6],_e(()=>a=!1)),!i&&d[0]&128&&(i=!0,b.second=_[7],_e(()=>i=!1)),n.$set(b)},i(_){s||(p(l.$$.fragment,_),p(n.$$.fragment,_),s=!0)},o(_){h(l.$$.fragment,_),h(n.$$.fragment,_),s=!1},d(_){_&&g(e),L(l),L(n)}}}function wa(r){let e,l,t,n,o,a,i,s;l=new It({props:{label:M("end"),selected:r[4],todayLabel:M("today"),closeLabel:M("close"),clearLabel:M("clear-input-button-label")}}),l.$on("datechange",r[18]);function u(_){r[27](_)}function f(_){r[28](_)}function c(_){r[29](_)}let m={twelveHourClock:!1};return r[8]!==void 0&&(m.hour=r[8]),r[9]!==void 0&&(m.minute=r[9]),r[10]!==void 0&&(m.second=r[10]),n=new Et({props:m}),ie.push(()=>me(n,"hour",u)),ie.push(()=>me(n,"minute",f)),ie.push(()=>me(n,"second",c)),{c(){e=W("div"),E(l.$$.fragment),t=N(),E(n.$$.fragment),this.h()},l(_){e=O(_,"DIV",{class:!0});var d=V(e);T(l.$$.fragment,d),t=P(d),T(n.$$.fragment,d),d.forEach(g),this.h()},h(){S(e,"class","flex flex-col gap-2")},m(_,d){I(_,e,d),D(l,e,null),A(e,t),D(n,e,null),s=!0},p(_,d){const $={};d[0]&16&&($.selected=_[4]),l.$set($);const b={};!o&&d[0]&256&&(o=!0,b.hour=_[8],_e(()=>o=!1)),!a&&d[0]&512&&(a=!0,b.minute=_[9],_e(()=>a=!1)),!i&&d[0]&1024&&(i=!0,b.second=_[10],_e(()=>i=!1)),n.$set(b)},i(_){s||(p(l.$$.fragment,_),p(n.$$.fragment,_),s=!0)},o(_){h(l.$$.fragment,_),h(n.$$.fragment,_),s=!1},d(_){_&&g(e),L(l),L(n)}}}function va(r){let e=M("apply")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Ia(r){let e,l,t=M("based-on-time-preface")+"",n,o,a,i;return e=new We({props:{name:"clock","aria-hidden":"true"}}),{c(){E(e.$$.fragment),l=N(),n=z(t),o=N(),a=z(r[14])},l(s){T(e.$$.fragment,s),l=P(s),n=Q(s,t),o=P(s),a=Q(s,r[14])},m(s,u){D(e,s,u),I(s,l,u),I(s,n,u),I(s,o,u),I(s,a,u),i=!0},p:K,i(s){i||(p(e.$$.fragment,s),i=!0)},o(s){h(e.$$.fragment,s),i=!1},d(s){L(e,s),s&&g(l),s&&g(n),s&&g(o),s&&g(a)}}}function Ea(r){let e,l,t,n,o,a,i,s,u,f;const c=[pa,da],m=[];function _(d,$){return d[1]?0:1}return e=_(r),l=m[e]=c[e](r),n=new Bt({}),i=new it({props:{size:"xs",style:"width: 100%",disabled:r[12],$$slots:{default:[va]},$$scope:{ctx:r}}}),i.$on("click",r[19]),u=new ye({props:{centered:!0,disabled:!0,class:"!pt-0",$$slots:{default:[Ia]},$$scope:{ctx:r}}}),{c(){l.c(),t=N(),E(n.$$.fragment),o=N(),a=W("div"),E(i.$$.fragment),s=N(),E(u.$$.fragment),this.h()},l(d){l.l(d),t=P(d),T(n.$$.fragment,d),o=P(d),a=O(d,"DIV",{class:!0});var $=V(a);T(i.$$.fragment,$),$.forEach(g),s=P(d),T(u.$$.fragment,d),this.h()},h(){S(a,"class","flex items-center p-2")},m(d,$){m[e].m(d,$),I(d,t,$),D(n,d,$),I(d,o,$),I(d,a,$),D(i,a,null),I(d,s,$),D(u,d,$),f=!0},p(d,$){let b=e;e=_(d),e===b?m[e].p(d,$):(X(),h(m[b],1,1,()=>{m[b]=null}),Z(),l=m[e],l?l.p(d,$):(l=m[e]=c[e](d),l.c()),p(l,1),l.m(t.parentNode,t));const w={};$[0]&4096&&(w.disabled=d[12]),$[1]&2048&&(w.$$scope={dirty:$,ctx:d}),i.$set(w);const v={};$[1]&2048&&(v.$$scope={dirty:$,ctx:d}),u.$set(v)},i(d){f||(p(l),p(n.$$.fragment,d),p(i.$$.fragment,d),p(u.$$.fragment,d),f=!0)},o(d){h(l),h(n.$$.fragment,d),h(i.$$.fragment,d),h(u.$$.fragment,d),f=!1},d(d){m[e].d(d),d&&g(t),L(n,d),d&&g(o),d&&g(a),L(i),d&&g(s),L(u,d)}}}function Ta(r){let e,l,t,n;return e=new lt({props:{unroundLeft:!0,id:"time-range-filter",controls:"time-range-filter-menu",$$slots:{default:[_a]},$$scope:{ctx:r}}}),t=new nt({props:{keepOpen:!0,id:"time-range-filter-menu",class:"w-[25rem] !overflow-visible",$$slots:{default:[Ea]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment),l=N(),E(t.$$.fragment)},l(o){T(e.$$.fragment,o),l=P(o),T(t.$$.fragment,o)},m(o,a){D(e,o,a),I(o,l,a),D(t,o,a),n=!0},p(o,a){const i={};a[1]&2048&&(i.$$scope={dirty:a,ctx:o}),e.$set(i);const s={};a[0]&8191|a[1]&2048&&(s.$$scope={dirty:a,ctx:o}),t.$set(s)},i(o){n||(p(e.$$.fragment,o),p(t.$$.fragment,o),n=!0)},o(o){h(e.$$.fragment,o),h(t.$$.fragment,o),n=!1},d(o){L(e,o),o&&g(l),L(t,o)}}}function Da(r){let e,l,t,n,o;return l=new cl({props:{inputId:"time-range-filter",options:[{value:"<=",label:M("before")},{value:"BETWEEN",label:M("between")},{value:">=",label:M("after")}],noBorderLeft:!0,noBorderRight:!0}}),n=new tt({props:{$$slots:{default:[Ta]},$$scope:{ctx:r}}}),{c(){e=W("div"),E(l.$$.fragment),t=N(),E(n.$$.fragment),this.h()},l(a){e=O(a,"DIV",{class:!0});var i=V(e);T(l.$$.fragment,i),t=P(i),T(n.$$.fragment,i),i.forEach(g),this.h()},h(){S(e,"class","flex items-center")},m(a,i){I(a,e,i),D(l,e,null),A(e,t),D(n,e,null),o=!0},p(a,i){const s={};i[0]&8191|i[1]&2048&&(s.$$scope={dirty:i,ctx:a}),n.$set(s)},i(a){o||(p(l.$$.fragment,a),p(n.$$.fragment,a),o=!0)},o(a){h(l.$$.fragment,a),h(n.$$.fragment,a),o=!1},d(a){a&&g(e),L(l),L(n)}}}function La(r,e,l){let t,n,o,a,i,s;U(r,ht,se=>l(23,s=se));const{filter:u,handleSubmit:f}=Ke(qe);U(r,u,se=>l(22,a=se));const c=mr()||M("local");let m=Je(new Date),_=Je(new Date),d="",$="",b="",w="",v="",k="";const B=["minutes","hours","days"];let y=B[0],C="";const R=Xe("relative");U(r,R,se=>l(2,i=se));const q=se=>{l(3,m=Je(se.detail))},j=se=>{l(4,_=Je(se.detail))},Y=(se,Ce)=>{let Ae=new Date(se);return Ce.hour&&(Ae=wr(Ae,parseInt(Ce.hour))),Ce.minute&&(Ae=vr(Ae,parseInt(Ce.minute))),Ce.second&&(Ae=Ir(Ae,parseInt(Ce.second))),Ae},F=()=>{if(i==="relative"&&!n){if(!C)return;te(u,a.value=ll(`${C} ${y}`),a),te(u,a.customDate=!1,a)}else{let se=Y(m,{hour:d,minute:$,second:b}),Ce=Y(_,{hour:w,minute:v,second:k});const Ae=n?`BETWEEN "${ct(se)}" AND "${ct(Ce)}"`:ct(se);te(u,a.value=Ae,a),t?(te(u,a.customDate=!0,a),te(u,a.conditional="",a)):te(u,a.customDate=!1,a)}f()},J=se=>se?isNaN(Number(se))||isNaN(parseFloat(se)):!1;function le(se){d=se,l(5,d)}function G(se){$=se,l(6,$)}function oe(se){b=se,l(7,b)}function ge(se){w=se,l(8,w)}function H(se){v=se,l(9,v)}function x(se){k=se,l(10,k)}function he(se){C=se,l(0,C)}function be(se){y=se,l(11,y)}const ke=()=>te(R,i="relative",i);function we(se){d=se,l(5,d)}function ve(se){$=se,l(6,$)}function Be(se){b=se,l(7,b)}const ne=()=>te(R,i="absolute",i);return r.$$.update=()=>{r.$$.dirty[0]&4194304&&l(1,t=a.conditional==="BETWEEN"),r.$$.dirty[0]&8388610&&l(21,n=t||!s),r.$$.dirty[0]&2097157&&l(12,o=i==="relative"&&!n&&(!C||J(C)))},[C,t,i,m,_,d,$,b,w,v,k,y,o,u,c,B,R,q,j,F,J,n,a,s,le,G,oe,ge,H,x,he,be,ke,we,ve,Be,ne]}class Ca extends ue{constructor(e){super(),fe(this,e,La,Da,ce,{},null,[-1,-1])}}function ya(r){let e;const l=r[5].default,t=Ie(l,r,r[4],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,o){t&&t.m(n,o),e=!0},p(n,o){t&&t.p&&(!e||o&16)&&Ee(t,l,n,n[4],e?De(l,n[4],o,null):Te(n[4]),null)},i(n){e||(p(t,n),e=!0)},o(n){h(t,n),e=!1},d(n){t&&t.d(n)}}}function Ba(r){let e,l,t,n;const o=r[5].default,a=Ie(o,r,r[4],null);return{c(){e=W("button"),a&&a.c(),this.h()},l(i){e=O(i,"BUTTON",{class:!0});var s=V(e);a&&a.l(s),s.forEach(g),this.h()},h(){S(e,"class","flex items-center gap-1")},m(i,s){I(i,e,s),a&&a.m(e,null),l=!0,t||(n=$e(e,"click",r[6]),t=!0)},p(i,s){a&&a.p&&(!l||s&16)&&Ee(a,o,i,i[4],l?De(o,i[4],s,null):Te(i[4]),null)},i(i){l||(p(a,i),l=!0)},o(i){h(a,i),l=!1},d(i){i&&g(e),a&&a.d(i),t=!1,n()}}}function Sa(r){let e,l,t,n,o,a,i,s,u,f;const c=[Ba,ya],m=[];function _(d,$){return d[1]?0:1}return l=_(r),t=m[l]=c[l](r),a=new We({props:{name:"close"}}),{c(){e=W("span"),t.c(),n=N(),o=W("button"),E(a.$$.fragment),this.h()},l(d){e=O(d,"SPAN",{class:!0});var $=V(e);t.l($),n=P($),o=O($,"BUTTON",{"aria-label":!0});var b=V(o);T(a.$$.fragment,b),b.forEach(g),$.forEach(g),this.h()},h(){S(o,"aria-label",r[2]),S(e,"class",i="chip "+r[0]+" svelte-jjsz31")},m(d,$){I(d,e,$),m[l].m(e,null),A(e,n),A(e,o),D(a,o,null),s=!0,u||(f=$e(o,"click",r[3]),u=!0)},p(d,[$]){let b=l;l=_(d),l===b?m[l].p(d,$):(X(),h(m[b],1,1,()=>{m[b]=null}),Z(),t=m[l],t?t.p(d,$):(t=m[l]=c[l](d),t.c()),p(t,1),t.m(e,n)),(!s||$&4)&&S(o,"aria-label",d[2]),(!s||$&1&&i!==(i="chip "+d[0]+" svelte-jjsz31"))&&S(e,"class",i)},i(d){s||(p(t),p(a.$$.fragment,d),s=!0)},o(d){h(t),h(a.$$.fragment,d),s=!1},d(d){d&&g(e),m[l].d(),L(a),u=!1,f()}}}function Aa(r,e,l){let{$$slots:t={},$$scope:n}=e,{intent:o="default"}=e,{button:a=!1}=e,{removeButtonLabel:i}=e;const s=pt(),u=c=>{c.preventDefault(),s("remove")};function f(c){Ye.call(this,r,c)}return r.$$set=c=>{"intent"in c&&l(0,o=c.intent),"button"in c&&l(1,a=c.button),"removeButtonLabel"in c&&l(2,i=c.removeButtonLabel),"$$scope"in c&&l(4,n=c.$$scope)},[o,a,i,u,n,t,f]}class Na extends ue{constructor(e){super(),fe(this,e,Aa,Sa,ce,{intent:0,button:1,removeButtonLabel:2})}}const Sr=["Running","TimedOut","Completed","Failed","ContinuedAsNew","Canceled","Terminated"];function Pa(r){return Sr.includes(r)}const qt=["All",...Sr];function Gl(r,e,l){const t=r.slice();t[18]=e[l],t[24]=l;const n=t[18];return t[19]=n.attribute,t[20]=n.value,t[21]=n.conditional,t[22]=n.customDate,t}function Yl(r){let e,l,t,n;function o(){return r[14](r[24])}function a(){return r[15](r[24],r[18])}return l=new Na({props:{removeButtonLabel:M("workflows","remove-filter-label",{attribute:r[19]}),intent:"default",button:!0,$$slots:{default:[Ha]},$$scope:{ctx:r}}}),l.$on("remove",o),l.$on("click",a),{c(){e=W("div"),E(l.$$.fragment)},l(i){e=O(i,"DIV",{});var s=V(e);T(l.$$.fragment,s),s.forEach(g)},m(i,s){I(i,e,s),D(l,e,null),n=!0},p(i,s){r=i;const u={};s&2&&(u.removeButtonLabel=M("workflows","remove-filter-label",{attribute:r[19]})),s&33554482&&(u.$$scope={dirty:s,ctx:r}),l.$set(u)},i(i){n||(p(l.$$.fragment,i),t||st(()=>{t=at(e,cr,{}),t.start()}),n=!0)},o(i){h(l.$$.fragment,i),n=!1},d(i){i&&g(e),L(l)}}}function Fa(r){let e,l=r[19]+"",t,n,o;function a(u,f){return f&2&&(o=null),o==null&&(o=!!fl(u[19])),o?Va:Oa}let i=a(r,-1),s=i(r);return{c(){e=W("span"),t=z(l),n=N(),s.c(),this.h()},l(u){e=O(u,"SPAN",{class:!0});var f=V(e);t=Q(f,l),n=P(f),s.l(f),f.forEach(g),this.h()},h(){S(e,"class","max-w-xs truncate md:max-w-lg xl:max-w-2xl")},m(u,f){I(u,e,f),A(e,t),A(e,n),s.m(e,null)},p(u,f){f&2&&l!==(l=u[19]+"")&&ae(t,l),i===(i=a(u,f))&&s?s.p(u,f):(s.d(1),s=i(u),s&&(s.c(),s.m(e,null)))},i:K,o:K,d(u){u&&g(e),s.d()}}}function Wa(r){let e,l=r[19]+"",t,n,o=r[21]+"",a,i,s,u,f;return u=new At({props:{status:r[20]}}),{c(){e=W("span"),t=z(l),n=N(),a=z(o),i=N(),s=W("span"),E(u.$$.fragment),this.h()},l(c){e=O(c,"SPAN",{class:!0});var m=V(e);t=Q(m,l),n=P(m),a=Q(m,o),i=P(m),s=O(m,"SPAN",{class:!0});var _=V(s);T(u.$$.fragment,_),_.forEach(g),m.forEach(g),this.h()},h(){S(s,"class","-py-1 ml-1"),S(e,"class","flex")},m(c,m){I(c,e,m),A(e,t),A(e,n),A(e,a),A(e,i),A(e,s),D(u,s,null),f=!0},p(c,m){(!f||m&2)&&l!==(l=c[19]+"")&&ae(t,l),(!f||m&2)&&o!==(o=c[21]+"")&&ae(a,o);const _={};m&2&&(_.status=c[20]),u.$set(_)},i(c){f||(p(u.$$.fragment,c),f=!0)},o(c){h(u.$$.fragment,c),f=!1},d(c){c&&g(e),L(u)}}}function Oa(r){let e=r[21]+"",l,t,n=(Tt(r[19])?`"${r[20]}"`:r[20])+"",o;return{c(){l=z(e),t=N(),o=z(n)},l(a){l=Q(a,e),t=P(a),o=Q(a,n)},m(a,i){I(a,l,i),I(a,t,i),I(a,o,i)},p(a,i){i&2&&e!==(e=a[21]+"")&&ae(l,e),i&2&&n!==(n=(Tt(a[19])?`"${a[20]}"`:a[20])+"")&&ae(o,n)},d(a){a&&g(l),a&&g(t),a&&g(o)}}}function Va(r){let e;function l(o,a){return o[22]?Ra:Ma}let t=l(r),n=t(r);return{c(){n.c(),e=ee()},l(o){n.l(o),e=ee()},m(o,a){n.m(o,a),I(o,e,a)},p(o,a){t===(t=l(o))&&n?n.p(o,a):(n.d(1),n=t(o),n&&(n.c(),n.m(e.parentNode,e)))},d(o){n.d(o),o&&g(e)}}}function Ma(r){let e=r[10](r[21])+"",l,t,n=Oe(r[20],r[4],{relative:r[5],abbrFormat:!0})+"",o;return{c(){l=z(e),t=N(),o=z(n)},l(a){l=Q(a,e),t=P(a),o=Q(a,n)},m(a,i){I(a,l,i),I(a,t,i),I(a,o,i)},p(a,i){i&2&&e!==(e=a[10](a[21])+"")&&ae(l,e),i&50&&n!==(n=Oe(a[20],a[4],{relative:a[5],abbrFormat:!0})+"")&&ae(o,n)},d(a){a&&g(l),a&&g(t),a&&g(o)}}}function Ra(r){let e=r[11](r[20],r[4],r[5])+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&50&&e!==(e=t[11](t[20],t[4],t[5])+"")&&ae(l,e)},d(t){t&&g(l)}}}function Ha(r){let e,l,t,n,o;const a=[Wa,Fa],i=[];function s(u,f){return f&2&&(e=null),e==null&&(e=!!(u[19]==="ExecutionStatus"&&Pa(u[20]))),e?0:1}return l=s(r,-1),t=i[l]=a[l](r),{c(){t.c(),n=ee()},l(u){t.l(u),n=ee()},m(u,f){i[l].m(u,f),I(u,n,f),o=!0},p(u,f){let c=l;l=s(u,f),l===c?i[l].p(u,f):(X(),h(i[c],1,1,()=>{i[c]=null}),Z(),t=i[l],t?t.p(u,f):(t=i[l]=a[l](u),t.c()),p(t,1),t.m(n.parentNode,n))},i(u){o||(p(t),o=!0)},o(u){h(t),o=!1},d(u){i[l].d(u),u&&g(n)}}}function Jl(r,e){let l,t,n,o=e[19]&&Yl(e);return{key:r,first:null,c(){l=ee(),o&&o.c(),t=ee(),this.h()},l(a){l=ee(),o&&o.l(a),t=ee(),this.h()},h(){this.first=l},m(a,i){I(a,l,i),o&&o.m(a,i),I(a,t,i),n=!0},p(a,i){e=a,e[19]?o?(o.p(e,i),i&2&&p(o,1)):(o=Yl(e),o.c(),p(o,1),o.m(t.parentNode,t)):o&&(X(),h(o,1,1,()=>{o=null}),Z())},i(a){n||(p(o),n=!0)},o(a){h(o),n=!1},d(a){a&&g(l),o&&o.d(a),a&&g(t)}}}function Xl(r){let e,l;return e=new it({props:{variant:"secondary",size:"xs",$$slots:{default:[Ua]},$$scope:{ctx:r}}}),e.$on("click",r[9]),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&33554432&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ua(r){let e;return{c(){e=z("View More...")},l(l){e=Q(l,"View More...")},m(l,t){I(l,e,t)},d(l){l&&g(e)}}}function qa(r){let e,l=[],t=new Map,n,o,a=r[1];const i=u=>`${u[18].attribute}-${u[24]}`;for(let u=0;u{s=null}),Z()),(!o||f&2)&&pe(e,"pt-2",u[1].length)},i(u){if(!o){for(let f=0;fl(13,o=y)),U(r,Ze,y=>l(16,s=y)),U(r,Le,y=>l(17,u=y)),U(r,Vt,y=>l(4,f=y)),U(r,_r,y=>l(5,c=y));const{filter:m,activeQueryIndex:_}=Ke(qe);U(r,m,y=>l(3,i=y)),U(r,_,y=>l(2,a=y));const d=y=>{if(o.splice(y,1),de.set(o),Qe(u.url,o,s),y===o.length){const C=o[o.length-1];C&&(C.operator="")}y===a?(te(_,a=null,a),te(m,i=xe(),i)):y{n&&l(12,$+=5)},w=y=>["<","<="].includes(y)?M("before").toLowerCase():[">",">="].includes(y)?M("after").toLowerCase():y,v=(y,C,R)=>{const[q,j,Y,F]=y.split(" ");return`${q.toLowerCase()} ${Oe(j,C,{relative:R,abbrFormat:!0})} ${Y.toLowerCase()} ${Oe(F,C,{relative:R,abbrFormat:!0})}`},k=y=>d(y),B=(y,C)=>{te(_,a=y,a),te(m,i={...C},i)};return r.$$.update=()=>{r.$$.dirty&12288&&l(1,t=o.slice(0,$)),r.$$.dirty&12288&&l(0,n=${k=null}),Z()),(!b||C&2048)&&S(s,"max",y[11]),(!b||C&4096)&&S(s,"min",y[12]),(!b||C&256)&&(s.disabled=y[8]),(!b||C&64)&&S(s,"placeholder",y[6]),(!b||C&4)&&S(s,"id",y[2]),(!b||C&128)&&S(s,"name",y[7]),C&1&&ur(s.value)!==y[0]&&$l(s,y[0]),(!b||C&256)&&pe(s,"disabled",y[8]),(!b||C&512&&u!==(u="input-container "+y[9]+" svelte-1851tme"))&&S(a,"class",u),(!b||C&768)&&pe(a,"disabled",y[8]),(!b||C&33280)&&pe(a,"search",y[15]),(!b||C&8704)&&pe(a,"unroundRight",y[13]),(!b||C&16896)&&pe(a,"unroundLeft",y[14]),(!b||C&66048)&&pe(a,"invalid",!y[16]),(!b||C&32)&&ae(m,y[5]),(!b||C&131072&&_!==(_=pl(y[17].class)+" svelte-1851tme"))&&S(e,"class",_),!y[16]&&y[10]?B?B.p(y,C):(B=xl(y),B.c(),B.m($.parentNode,$)):B&&(B.d(1),B=null)},i(y){b||(p(k),b=!0)},o(y){h(k),b=!1},d(y){y&&g(e),k&&k.d(),y&&g(d),B&&B.d(y),y&&g($),w=!1,Lt(v)}}}function Ka(r,e,l){let{icon:t=null}=e,{id:n}=e,{value:o}=e,{label:a}=e,{labelHidden:i=!1}=e,{units:s=""}=e,{placeholder:u=""}=e,{name:f=n}=e,{disabled:c=!1}=e,{theme:m="light"}=e,{hintText:_=""}=e,{max:d=void 0}=e,{min:$=void 0}=e,{unroundRight:b=!1}=e,{unroundLeft:w=!1}=e,{search:v=!1}=e,k=!0;const B=F=>{$!==void 0&&F<$||d!==void 0&&F>d?l(16,k=!1):l(16,k=!0)};function y(F){Ye.call(this,r,F)}function C(F){Ye.call(this,r,F)}function R(F){Ye.call(this,r,F)}function q(F){Ye.call(this,r,F)}function j(F){Ye.call(this,r,F)}function Y(){o=ur(this.value),l(0,o)}return r.$$set=F=>{l(17,e=Wt(Wt({},e),Ot(F))),"icon"in F&&l(1,t=F.icon),"id"in F&&l(2,n=F.id),"value"in F&&l(0,o=F.value),"label"in F&&l(3,a=F.label),"labelHidden"in F&&l(4,i=F.labelHidden),"units"in F&&l(5,s=F.units),"placeholder"in F&&l(6,u=F.placeholder),"name"in F&&l(7,f=F.name),"disabled"in F&&l(8,c=F.disabled),"theme"in F&&l(9,m=F.theme),"hintText"in F&&l(10,_=F.hintText),"max"in F&&l(11,d=F.max),"min"in F&&l(12,$=F.min),"unroundRight"in F&&l(13,b=F.unroundRight),"unroundLeft"in F&&l(14,w=F.unroundLeft),"search"in F&&l(15,v=F.search)},r.$$.update=()=>{r.$$.dirty&1&&B(o)},e=Ot(e),[o,t,n,a,i,s,u,f,c,m,_,d,$,b,w,v,k,e,y,C,R,q,j,Y]}class Ga extends ue{constructor(e){super(),fe(this,e,Ka,Qa,ce,{icon:1,id:2,value:0,label:3,labelHidden:4,units:5,placeholder:6,name:7,disabled:8,theme:9,hintText:10,max:11,min:12,unroundRight:13,unroundLeft:14,search:15})}}function Ya(r){let e,l,t,n,o,a;l=new cl({props:{inputId:"number-filter-search",noBorderLeft:!0,noBorderRight:!0}});function i(u){r[4](u)}let s={label:M("number-input-placeholder"),labelHidden:!0,id:"number-filter-search",icon:"search",placeholder:M("number-input-placeholder"),min:Ar,unroundLeft:!0,search:!0,class:"-mr-2"};return r[0]!==void 0&&(s.value=r[0]),n=new Ga({props:s}),ie.push(()=>me(n,"value",i)),n.$on("keydown",r[3]),{c(){e=W("div"),E(l.$$.fragment),t=N(),E(n.$$.fragment),this.h()},l(u){e=O(u,"DIV",{class:!0});var f=V(e);T(l.$$.fragment,f),t=P(f),T(n.$$.fragment,f),f.forEach(g),this.h()},h(){S(e,"class","flex items-center")},m(u,f){I(u,e,f),D(l,e,null),A(e,t),D(n,e,null),a=!0},p(u,[f]){const c={};!o&&f&1&&(o=!0,c.value=u[0],_e(()=>o=!1)),n.$set(c)},i(u){a||(p(l.$$.fragment,u),p(n.$$.fragment,u),a=!0)},o(u){h(l.$$.fragment,u),h(n.$$.fragment,u),a=!1},d(u){u&&g(e),L(l),L(n)}}}const Ar=0;function Ja(r,e,l){let t,n;const{filter:o,focusedElementId:a,handleSubmit:i}=Ke(qe);U(r,o,c=>l(5,t=c)),U(r,a,c=>l(6,n=c));let s=t.value?Number(t.value):null;const u=c=>{te(a,n="",n),c.key==="Enter"&&s!==null&&s>=Ar&&(te(o,t.value=String(s),t),c.preventDefault(),i())};function f(c){s=c,l(0,s)}return[s,o,a,u,f]}class Xa extends ue{constructor(e){super(),fe(this,e,Ja,Ya,ce,{})}}const{Boolean:Za}=Hr;function en(r,e,l){const t=r.slice();t[15]=e[l].value,t[16]=e[l].label;const n=si(t[15],t[4]);return t[17]=n,t}function xa(r){let e=(r[2].attribute||M("workflows","filter"))+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&4&&e!==(e=(t[2].attribute||M("workflows","filter"))+"")&&ae(l,e)},d(t){t&&g(l)}}}function tn(r){let e,l;return e=new We({props:{name:"filter"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function ei(r){let e,l,t=!r[2].attribute&&tn();return{c(){t&&t.c(),e=ee()},l(n){t&&t.l(n),e=ee()},m(n,o){t&&t.m(n,o),I(n,e,o),l=!0},p(n,o){n[2].attribute?t&&(X(),h(t,1,1,()=>{t=null}),Z()):t?o&4&&p(t,1):(t=tn(),t.c(),p(t,1),t.m(e.parentNode,e))},i(n){l||(p(t),l=!0)},o(n){h(t),l=!1},d(n){t&&t.d(n),n&&g(e)}}}function ln(r){let e,l;return e=new ye({props:{class:"whitespace-nowrap",disabled:!0,$$slots:{default:[ti]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&1048576&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function ti(r){let e=M("no-results")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function li(r){let e=r[16]+"",l,t;return{c(){l=z(e),t=N()},l(n){l=Q(n,e),t=P(n)},m(n,o){I(n,l,o),I(n,t,o)},p(n,o){o&2&&e!==(e=n[16]+"")&&ae(l,e)},d(n){n&&g(l),n&&g(t)}}}function nn(r){let e,l;function t(){return r[13](r[15])}return e=new ye({props:{disabled:r[17],$$slots:{default:[li]},$$scope:{ctx:r}}}),e.$on("click",t),{c(){E(e.$$.fragment)},l(n){T(e.$$.fragment,n)},m(n,o){D(e,n,o),l=!0},p(n,o){r=n;const a={};o&18&&(a.disabled=r[17]),o&1048578&&(a.$$scope={dirty:o,ctx:r}),e.$set(a)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){h(e.$$.fragment,n),l=!1},d(n){L(e,n)}}}function ni(r){let e,l,t,n,o;function a(m){r[12](m)}let i={label:M("search"),labelHidden:!0,id:"filter-search",noBorder:!0,icon:"search",placeholder:M("search"),class:"mb-1"};r[0]!==void 0&&(i.value=r[0]),e=new Pe({props:i}),ie.push(()=>me(e,"value",a));let s=r[1],u=[];for(let m=0;mh(u[m],1,1,()=>{u[m]=null});let c=null;return s.length||(c=ln(r)),{c(){E(e.$$.fragment),t=N();for(let m=0;ml=!1)),e.$set(d),_&274){s=m[1];let $;for($=0;${c=null}),Z()):(c=ln(m),c.c(),p(c,1),c.m(n.parentNode,n))}},i(m){if(!o){p(e.$$.fragment,m);for(let _=0;_(l.conditional==="="||l.conditional==="!=")&&l.attribute===r)}function ai(r,e,l){let t,n,o,a,i,s,u;U(r,To,v=>l(10,o=v)),U(r,de,v=>l(4,u=v));const{filter:f,activeQueryIndex:c,focusedElementId:m}=Ke(qe);U(r,f,v=>l(2,i=v)),U(r,c,v=>l(3,s=v)),U(r,m,v=>l(14,a=v));function _(v){l(0,d=""),f.set({...xe(),attribute:v,conditional:"="}),te(m,a=Br(v),a)}let d="";const $=()=>l(0,d="");function b(v){d=v,l(0,d)}const w=v=>{_(v)};return r.$$.update=()=>{r.$$.dirty&1024&&l(9,t=o.filter(v=>!Lr(v.value))),r.$$.dirty&513&&l(1,n=d?t.filter(v=>v.value.toLowerCase().includes(d.toLowerCase())):t)},[d,n,i,s,u,f,c,m,_,t,o,$,b,w]}class ii extends ue{constructor(e){super(),fe(this,e,ai,oi,ce,{})}}function rn(r,e,l){const t=r.slice();t[18]=e[l];const n=t[0].some(function(...a){return r[12](t[18],...a)})||!t[0].length&&t[18]==="All";return t[19]=n,t}function ui(r){let e=r[1].attribute+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&2&&e!==(e=t[1].attribute+"")&&ae(l,e)},d(t){t&&g(l)}}}function fi(r){let e,l;return e=new At({props:{status:r[18]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function ci(r){let e,l;return e=new Fe({props:{namespace:"workflows",key:"all-statuses"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function mi(r){let e,l,t,n;const o=[ci,fi],a=[];function i(s,u){return s[18]==="All"?0:1}return e=i(r),l=a[e]=o[e](r),{c(){l.c(),t=ee()},l(s){l.l(s),t=ee()},m(s,u){a[e].m(s,u),I(s,t,u),n=!0},p(s,u){l.p(s,u)},i(s){n||(p(l),n=!0)},o(s){h(l),n=!1},d(s){a[e].d(s),s&&g(t)}}}function _i(r){let e,l;function t(){return r[10](r[18])}return e=new zt({props:{slot:"leading",checked:r[19],label:r[18],labelHidden:!0}}),e.$on("click",t),{c(){E(e.$$.fragment)},l(n){T(e.$$.fragment,n)},m(n,o){D(e,n,o),l=!0},p(n,o){r=n;const a={};o&1&&(a.checked=r[19]),e.$set(a)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){h(e.$$.fragment,n),l=!1},d(n){L(e,n)}}}function on(r,e){let l,t,n;function o(){return e[11](e[18])}return t=new ye({props:{"data-testid":e[18],$$slots:{leading:[_i],default:[mi]},$$scope:{ctx:e}}}),t.$on("click",o),{key:r,first:null,c(){l=ee(),E(t.$$.fragment),this.h()},l(a){l=ee(),T(t.$$.fragment,a),this.h()},h(){this.first=l},m(a,i){I(a,l,i),D(t,a,i),n=!0},p(a,i){e=a;const s={};i&4194305&&(s.$$scope={dirty:i,ctx:e}),t.$set(s)},i(a){n||(p(t.$$.fragment,a),n=!0)},o(a){h(t.$$.fragment,a),n=!1},d(a){a&&g(l),L(t,a)}}}function di(r){let e=[],l=new Map,t,n,o,a=qt;const i=s=>s[18];for(let s=0;sl(8,o=y)),U(r,Ze,y=>l(13,i=y)),U(r,Le,y=>l(14,s=y));const{filter:f,resetFilter:c}=Ke(qe);U(r,f,y=>l(1,a=y));const m=Xe(!0);U(r,m,y=>l(2,u=y));function _(){te(de,o=t,o),Qe(s.url,o,i)}function d(y){return{...a,value:y}}function $(y){return y.length===1?[d(y[0].value)]:y.map((C,R)=>{const q=R===y.length-1?"":"OR";return{...C,operator:q}})}const b=y=>{if(y==="All")l(7,t=o.filter(C=>C.attribute!=="ExecutionStatus"));else if(n.find(C=>C.value===y)){const C=o.filter(R=>!_t(R.attribute));l(7,t=[...C,...$(n.filter(R=>R.value!==y))])}else if(!n.length)l(7,t=[...t,d(y)]);else{const C=t.filter(R=>!_t(R.attribute));l(7,t=[...C,...$([...n,d(y)])])}_()},w=()=>{u&&c()},v=y=>b(y),k=y=>{b(y)},B=(y,C)=>C.value===y;return r.$$.update=()=>{r.$$.dirty&256&&l(7,t=[...o]),r.$$.dirty&128&&l(0,n=t.filter(y=>_t(y.attribute)))},[n,a,u,f,c,m,b,t,o,w,v,k,B]}class hi extends ue{constructor(e){super(),fe(this,e,gi,$i,ce,{})}}function bi(r){let e,l,t,n,o;e=new cl({props:{options:[{value:"=",label:M("equal-to")},{value:"!=",label:M("not-equal-to")}],inputId:"text-filter-search",noBorderLeft:!0}});function a(s){r[4](s)}let i={label:r[1].attribute,labelHidden:!0,id:"text-filter-search",type:"search",placeholder:`${M("enter")} ${r[1].attribute}`,icon:"search",class:"w-full",unroundLeft:!0};return r[0]!==void 0&&(i.value=r[0]),t=new Pe({props:i}),ie.push(()=>me(t,"value",a)),t.$on("keydown",r[3]),{c(){E(e.$$.fragment),l=N(),E(t.$$.fragment)},l(s){T(e.$$.fragment,s),l=P(s),T(t.$$.fragment,s)},m(s,u){D(e,s,u),I(s,l,u),D(t,s,u),o=!0},p(s,[u]){const f={};u&2&&(f.label=s[1].attribute),u&2&&(f.placeholder=`${M("enter")} ${s[1].attribute}`),!n&&u&1&&(n=!0,f.value=s[0],_e(()=>n=!1)),t.$set(f)},i(s){o||(p(e.$$.fragment,s),p(t.$$.fragment,s),o=!0)},o(s){h(e.$$.fragment,s),h(t.$$.fragment,s),o=!1},d(s){L(e,s),s&&g(l),L(t,s)}}}function ki(r,e,l){let t;const{filter:n,handleSubmit:o}=Ke(qe);U(r,n,u=>l(1,t=u));let a=t.value;function i(u){u.key==="Enter"&&a!==""&&(u.preventDefault(),te(n,t.value=a,t),o())}function s(u){a=u,l(0,a)}return[a,t,n,i,s]}let wi=class extends ue{constructor(e){super(),fe(this,e,ki,bi,ce,{})}};function vi(r){let e,l,t,n,o,a,i,s,u,f,c,m,_,d,$,b,w;const v=[Ti,Ei],k=[];function B(j,Y){return Y&1&&(l=null),l==null&&(l=!!_t(j[0].attribute)),l?0:1}t=B(r,-1),n=k[t]=v[t](r);const y=[yi,Ci,Li,Di],C=[];function R(j,Y){return Y&1&&(a=null),Y&1&&(i=null),Y&1&&(s=null),Y&1&&(u=null),a==null&&(a=!!Tt(j[0].attribute)),a?0:(i==null&&(i=!!Cr(j[0].attribute)),i?1:(s==null&&(s=!!fl(j[0].attribute)),s?2:(u==null&&(u=!!yr(j[0].attribute)),u?3:-1)))}~(f=R(r,-1))&&(c=C[f]=y[f](r));let q=r[2]&&sn(r);return{c(){e=W("div"),n.c(),o=N(),c&&c.c(),m=N(),_=W("div"),q&&q.c(),this.h()},l(j){e=O(j,"DIV",{class:!0});var Y=V(e);n.l(Y),o=P(Y),c&&c.l(Y),Y.forEach(g),m=P(j),_=O(j,"DIV",{class:!0});var F=V(_);q&&q.l(F),F.forEach(g),this.h()},h(){S(e,"class","flex items-center svelte-d4361j"),pe(e,"filter",!r[2]),S(_,"class",d="flex flex-col sm:flex-row "+(r[2]?"w-full justify-between":"justify-end"))},m(j,Y){I(j,e,Y),k[t].m(e,null),A(e,o),~f&&C[f].m(e,null),I(j,m,Y),I(j,_,Y),q&&q.m(_,null),$=!0,b||(w=$e(e,"keyup",r[8]),b=!0)},p(j,Y){let F=t;t=B(j,Y),t!==F&&(X(),h(k[F],1,1,()=>{k[F]=null}),Z(),n=k[t],n||(n=k[t]=v[t](j),n.c()),p(n,1),n.m(e,o));let J=f;f=R(j,Y),f!==J&&(c&&(X(),h(C[J],1,1,()=>{C[J]=null}),Z()),~f?(c=C[f],c||(c=C[f]=y[f](j),c.c()),p(c,1),c.m(e,null)):c=null),(!$||Y&4)&&pe(e,"filter",!j[2]),j[2]?q?(q.p(j,Y),Y&4&&p(q,1)):(q=sn(j),q.c(),p(q,1),q.m(_,null)):q&&(X(),h(q,1,1,()=>{q=null}),Z()),(!$||Y&4&&d!==(d="flex flex-col sm:flex-row "+(j[2]?"w-full justify-between":"justify-end")))&&S(_,"class",d)},i(j){$||(p(n),p(c),p(q),$=!0)},o(j){h(n),h(c),h(q),$=!1},d(j){j&&g(e),k[t].d(),~f&&C[f].d(),j&&g(m),j&&g(_),q&&q.d(),b=!1,w()}}}function Ii(r){let e,l;return e=new Dr({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ei(r){let e,l;return e=new ii({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ti(r){let e,l;return e=new hi({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Di(r){let e,l,t,n,o,a;return l=new ra({}),n=new Gt({}),{c(){e=W("div"),E(l.$$.fragment),t=N(),E(n.$$.fragment),this.h()},l(i){e=O(i,"DIV",{class:!0});var s=V(e);T(l.$$.fragment,s),t=P(s),T(n.$$.fragment,s),s.forEach(g),this.h()},h(){S(e,"class","flex w-full items-center")},m(i,s){I(i,e,s),D(l,e,null),A(e,t),D(n,e,null),a=!0},i(i){a||(p(l.$$.fragment,i),p(n.$$.fragment,i),o||st(()=>{o=at(e,yt,{x:-100,duration:150}),o.start()}),a=!0)},o(i){h(l.$$.fragment,i),h(n.$$.fragment,i),a=!1},d(i){i&&g(e),L(l),L(n)}}}function Li(r){let e,l,t,n,o,a;return l=new Ca({}),n=new Gt({}),{c(){e=W("div"),E(l.$$.fragment),t=N(),E(n.$$.fragment),this.h()},l(i){e=O(i,"DIV",{class:!0});var s=V(e);T(l.$$.fragment,s),t=P(s),T(n.$$.fragment,s),s.forEach(g),this.h()},h(){S(e,"class","flex w-full items-center")},m(i,s){I(i,e,s),D(l,e,null),A(e,t),D(n,e,null),a=!0},i(i){a||(p(l.$$.fragment,i),p(n.$$.fragment,i),o||st(()=>{o=at(e,yt,{x:-100,duration:150}),o.start()}),a=!0)},o(i){h(l.$$.fragment,i),h(n.$$.fragment,i),a=!1},d(i){i&&g(e),L(l),L(n)}}}function Ci(r){let e,l,t,n,o,a;return l=new Xa({}),n=new Gt({}),{c(){e=W("div"),E(l.$$.fragment),t=N(),E(n.$$.fragment),this.h()},l(i){e=O(i,"DIV",{class:!0});var s=V(e);T(l.$$.fragment,s),t=P(s),T(n.$$.fragment,s),s.forEach(g),this.h()},h(){S(e,"class","flex w-full items-center")},m(i,s){I(i,e,s),D(l,e,null),A(e,t),D(n,e,null),a=!0},i(i){a||(p(l.$$.fragment,i),p(n.$$.fragment,i),o||st(()=>{o=at(e,yt,{x:-100,duration:150}),o.start()}),a=!0)},o(i){h(l.$$.fragment,i),h(n.$$.fragment,i),a=!1},d(i){i&&g(e),L(l),L(n)}}}function yi(r){let e,l,t,n,o,a;return l=new wi({}),n=new Gt({}),{c(){e=W("div"),E(l.$$.fragment),t=N(),E(n.$$.fragment),this.h()},l(i){e=O(i,"DIV",{class:!0});var s=V(e);T(l.$$.fragment,s),t=P(s),T(n.$$.fragment,s),s.forEach(g),this.h()},h(){S(e,"class","flex w-full items-center")},m(i,s){I(i,e,s),D(l,e,null),A(e,t),D(n,e,null),a=!0},i(i){a||(p(l.$$.fragment,i),p(n.$$.fragment,i),o||st(()=>{o=at(e,yt,{x:-100,duration:150}),o.start()}),a=!0)},o(i){h(l.$$.fragment,i),h(n.$$.fragment,i),a=!1},d(i){i&&g(e),L(l),L(n)}}}function sn(r){let e,l;return e=new it({props:{variant:"ghost",$$slots:{default:[Bi]},$$scope:{ctx:r}}}),e.$on("click",r[6]),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2097152&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Bi(r){let e=M("clear-all")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Si(r){let e,l,t,n,o,a,i,s,u,f;const c=[Ii,vi],m=[];function _(b,w){return b[1]?0:1}t=_(r),n=m[t]=c[t](r);function d(b){r[12](b)}let $={label:M("workflows","view-search-input"),labelPosition:"left",id:"view-search-input"};return r[1]!==void 0&&($.checked=r[1]),a=new Eo({props:$}),ie.push(()=>me(a,"checked",d)),a.$on("change",r[13]),u=new za({}),{c(){e=W("div"),l=W("div"),n.c(),o=N(),E(a.$$.fragment),s=N(),E(u.$$.fragment),this.h()},l(b){e=O(b,"DIV",{class:!0});var w=V(e);l=O(w,"DIV",{class:!0});var v=V(l);n.l(v),o=P(v),T(a.$$.fragment,v),v.forEach(g),s=P(w),T(u.$$.fragment,w),w.forEach(g),this.h()},h(){S(l,"class","flex grow flex-col gap-4 sm:flex-row sm:items-center"),S(e,"class","flex grow flex-col")},m(b,w){I(b,e,w),A(e,l),m[t].m(l,null),A(l,o),D(a,l,null),A(e,s),D(u,e,null),f=!0},p(b,[w]){let v=t;t=_(b),t===v?m[t].p(b,w):(X(),h(m[v],1,1,()=>{m[v]=null}),Z(),n=m[t],n?n.p(b,w):(n=m[t]=c[t](b),n.c()),p(n,1),n.m(l,o));const k={};!i&&w&2&&(i=!0,k.checked=b[1],_e(()=>i=!1)),a.$set(k)},i(b){f||(p(n),p(a.$$.fragment,b),p(u.$$.fragment,b),f=!0)},o(b){h(n),h(a.$$.fragment,b),h(u.$$.fragment,b),f=!1},d(b){b&&g(e),m[t].d(),L(a),L(u)}}}const qe="filter-context";function Ai(r,e,l){let t,n,o,a,i,s,u,f;U(r,de,q=>l(10,s=q)),U(r,Le,q=>l(11,u=q)),U(r,ze,q=>l(16,f=q));const c=Xe(xe());U(r,c,q=>l(0,o=q));const m=Xe(null);U(r,m,q=>l(9,i=q));const _=Xe("");U(r,_,q=>l(15,a=q));let d=!1;Ur(qe,{filter:c,activeQueryIndex:m,handleSubmit:b,focusedElementId:_,resetFilter:B});function $(){const q=Er(Tr(s));q&&q===t?te(ze,f=Date.now(),f):Ue({url:u.url,parameter:"query",value:q,allowEmpty:!0})}function b(){i!==null?(te(de,s[i]=o,s),te(m,i=null,i)):te(de,s=[...s,o],s),c.set(xe()),$()}function w(){te(de,s=[],s),$()}function v(){i!==null&&te(_,a=Br(o.attribute),a)}function k(){if(a){const q=document.getElementById(a);q&&(q.focus(),q instanceof HTMLButtonElement&&q.click())}}qr(()=>{k()});function B(){m.set(null),c.set(xe())}function y(q){q.key==="Escape"&&!Tt(o.attribute)&&B()}function C(q){d=q,l(1,d)}const R=()=>{B()};return r.$$.update=()=>{r.$$.dirty&2048&&(t=u.url.searchParams.get("query")),r.$$.dirty&1025&&l(2,n=s.length&&!o.attribute),r.$$.dirty&512&&v()},[o,d,n,c,m,_,w,B,y,i,s,u,C,R]}class Ni extends ue{constructor(e){super(),fe(this,e,Ai,Si,ce,{})}}function Pi(r){let e,l,t=r[0].toLocaleString()+"",n,o,a=M("workflows").toLocaleLowerCase()+"",i,s;return{c(){e=W("div"),l=W("p"),n=z(t),o=N(),i=z(a),this.h()},l(u){e=O(u,"DIV",{class:!0});var f=V(e);l=O(f,"P",{class:!0,"data-testid":!0,"data-loaded":!0});var c=V(l);n=Q(c,t),o=P(c),i=Q(c,a),c.forEach(g),f.forEach(g),this.h()},h(){S(l,"class","flex items-center"),S(l,"data-testid","workflow-count"),S(l,"data-loaded",s=!r[1]&&!r[2]),S(e,"class","font-base flex text-center text-sm leading-4")},m(u,f){I(u,e,f),A(e,l),A(l,n),A(l,o),A(l,i)},p(u,[f]){f&1&&t!==(t=u[0].toLocaleString()+"")&&ae(n,t),f&6&&s!==(s=!u[1]&&!u[2])&&S(l,"data-loaded",s)},i:K,o:K,d(u){u&&g(e)}}}function Fi(r,e,l){let t,n;U(r,St,a=>l(1,t=a)),U(r,bt,a=>l(2,n=a));let{count:o=0}=e;return r.$$set=a=>{"count"in a&&l(0,o=a.count)},[o,t,n]}class Wi extends ue{constructor(e){super(),fe(this,e,Fi,Pi,ce,{count:0})}}function Oi(r){let e,l;return e=new At({props:{loading:r[2]||r[3],count:r[1],status:r[0],"test-id":"workflow-status-"+r[0]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,[n]){const o={};n&12&&(o.loading=t[2]||t[3]),n&2&&(o.count=t[1]),n&1&&(o.status=t[0]),n&1&&(o["test-id"]="workflow-status-"+t[0]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Vi(r,e,l){let t,n;U(r,St,i=>l(2,t=i)),U(r,bt,i=>l(3,n=i));let{status:o}=e,{count:a=0}=e;return r.$$set=i=>{"status"in i&&l(0,o=i.status),"count"in i&&l(1,a=i.count)},[o,a,t,n]}class Mi extends ue{constructor(e){super(),fe(this,e,Vi,Oi,ce,{status:0,count:1})}}function an(r,e,l){const t=r.slice();return t[9]=e[l].count,t[10]=e[l].status,t}function un(r,e){let l,t,n;return t=new Mi({props:{status:e[10],count:e[9]}}),{key:r,first:null,c(){l=ee(),E(t.$$.fragment),this.h()},l(o){l=ee(),T(t.$$.fragment,o),this.h()},h(){this.first=l},m(o,a){I(o,l,a),D(t,o,a),n=!0},p(o,a){e=o;const i={};a&1&&(i.status=e[10]),a&1&&(i.count=e[9]),t.$set(i)},i(o){n||(p(t.$$.fragment,o),n=!0)},o(o){h(t.$$.fragment,o),n=!1},d(o){o&&g(l),L(t,o)}}}function Ri(r){let e,l,t,n=[],o=new Map,a;l=new Wi({props:{count:r[1].totalCount}});let i=r[0];const s=u=>u[10];for(let u=0;ul(6,o=m)),U(r,Rt,m=>l(1,a=m)),U(r,Le,m=>l(7,i=m)),U(r,St,m=>l(2,s=m)),U(r,bt,m=>l(3,u=m));let f=[];const c=async()=>{const{count:m,groups:_}=await vo({namespace:t,query:n});te(Rt,a.totalCount=parseInt(m),a),l(0,f=_.map(d=>{const $=Co(d==null?void 0:d.groupValues[0]),b=parseInt(d.count);return{status:$,count:b}}))};return r.$$.update=()=>{r.$$.dirty&128&&l(4,t=i.params.namespace),r.$$.dirty&128&&l(5,n=i.url.searchParams.get("query")),r.$$.dirty&112&&c()},[f,a,s,u,t,n,o,i]}class Ui extends ue{constructor(e){super(),fe(this,e,Hi,Ri,ce,{})}}const Zt=""+new URL("../assets/empty-state-dark_2x.91ea3d8e.png",import.meta.url).href,fn=""+new URL("../assets/empty-state-light_2x.212be1d9.png",import.meta.url).href;function cn(r,e,l){const t=r.slice();return t[7]=e[l],t}const qi=r=>({}),mn=r=>({});function ji(r){let e,l,t,n,o,a;function i(_,d){return _[1]?Ki:Qi}let s=i(r),u=s(r);const f=[Ji,Yi,Gi],c=[];function m(_,d){return _[2]?0:_[1]?1:2}return t=m(r),n=c[t]=f[t](r),{c(){e=W("h2"),u.c(),l=N(),n.c(),o=ee(),this.h()},l(_){e=O(_,"H2",{class:!0});var d=V(e);u.l(d),d.forEach(g),l=P(_),n.l(_),o=ee(),this.h()},h(){S(e,"class","text-lg font-medium")},m(_,d){I(_,e,d),u.m(e,null),I(_,l,d),c[t].m(_,d),I(_,o,d),a=!0},p(_,d){s===(s=i(_))&&u?u.p(_,d):(u.d(1),u=s(_),u&&(u.c(),u.m(e,null)));let $=t;t=m(_),t===$?c[t].p(_,d):(X(),h(c[$],1,1,()=>{c[$]=null}),Z(),n=c[t],n?n.p(_,d):(n=c[t]=f[t](_),n.c()),p(n,1),n.m(o.parentNode,o))},i(_){a||(p(n),a=!0)},o(_){h(n),a=!1},d(_){_&&g(e),u.d(),_&&g(l),c[t].d(_),_&&g(o)}}}function zi(r){let e,l;return e=new al({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Qi(r){let e=M("workflows","workflow-empty-state-title")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Ki(r){let e=M("workflows","workflow-query-empty-state-title")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Gi(r){let e,l,t=M("workflows","workflow-empty-state-description")+"",n,o,a,i,s,u,f;const c=r[5].cloud,m=Ie(c,r,r[6],mn);a=new wt({props:{newTab:!0,href:"https://github.com/temporalio",$$slots:{default:[Xi]},$$scope:{ctx:r}}});let _=r[3],d=[];for(let b=0;b<_.length;b+=1)d[b]=_n(cn(r,_,b));const $=b=>h(d[b],1,1,()=>{d[b]=null});return{c(){m&&m.c(),e=N(),l=W("p"),n=z(t),o=N(),E(a.$$.fragment),i=z("."),s=N(),u=W("ul");for(let b=0;b{_[w]=null}),Z(),a=_[o],a?a.p($,b):(a=_[o]=m[o]($),a.c()),p(a,1),a.m(n,null)),(!c||b&2&&!gl(u.src,f=$[1]?fn:Zt))&&S(u,"src",f)},i($){c||(p(a),c=!0)},o($){h(a),c=!1},d($){g(e),$&&g(l),$&&g(t),_[o].d()}}}function tu(r,e,l){let t,n,o;U(r,Le,f=>l(4,n=f)),U(r,pr,f=>l(2,o=f));let{$$slots:a={},$$scope:i}=e,{updating:s=!1}=e;const u=["samples-go","samples-java","samples-typescript","samples-python","samples-dotnet","samples-php"];return r.$$set=f=>{"updating"in f&&l(0,s=f.updating),"$$scope"in f&&l(6,i=f.$$scope)},r.$$.update=()=>{r.$$.dirty&16&&l(1,t=n.url.searchParams.get("query"))},[s,t,o,u,n,a,i]}class lu extends ue{constructor(e){super(),fe(this,e,tu,eu,ce,{updating:0})}}const nu=r=>({visibleItems:r&256}),dn=r=>({slot:"cloud",visibleItems:r[8].items});function pn(r,e,l){const t=r.slice();return t[23]=e[l],t}const ru=r=>({visibleItems:r&256}),$n=r=>({visibleItems:r[8].items}),ou=r=>({visibleItems:r&256}),gn=r=>({visibleItems:r[8].items}),su=r=>({visibleItems:r&256}),hn=r=>({visibleItems:r[8].items});function bn(r){let e,l;return e=new So({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function au(r){let e,l;return e=new lu({props:{updating:r[0],$$slots:{cloud:[uu]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&1&&(o.updating=t[0]),n&4194560&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function iu(r){let e,l,t,n,o,a,i,s,u,f,c;t=new No({props:{label:r[1],parameter:Ft,value:r[6],options:hr}});let m=r[8].pageShortcuts,_=[];for(let $=0;$h(_[$],1,1,()=>{_[$]=null});return s=new Ve({props:{label:r[4],disabled:!r[8].hasPrevious,icon:"arrow-left"}}),s.$on("click",r[19]),f=new Ve({props:{label:r[3],disabled:!r[8].hasNext,icon:"arrow-right"}}),f.$on("click",r[20]),{c(){e=W("div"),l=W("div"),E(t.$$.fragment),n=N(),o=W("div");for(let $=0;$<_.length;$+=1)_[$].c();a=N(),i=W("div"),E(s.$$.fragment),u=N(),E(f.$$.fragment),this.h()},l($){e=O($,"DIV",{class:!0});var b=V(e);l=O(b,"DIV",{class:!0});var w=V(l);T(t.$$.fragment,w),w.forEach(g),n=P(b),o=O(b,"DIV",{class:!0});var v=V(o);for(let B=0;B<_.length;B+=1)_[B].l(v);v.forEach(g),a=P(b),i=O(b,"DIV",{class:!0});var k=V(i);T(s.$$.fragment,k),u=P(k),T(f.$$.fragment,k),k.forEach(g),b.forEach(g),this.h()},h(){S(l,"class","paginated-table-controls-start svelte-5xhosh"),S(o,"class","paginated-table-controls-center svelte-5xhosh"),S(i,"class","paginated-table-controls-end svelte-5xhosh"),S(e,"class","paginated-table-controls svelte-5xhosh")},m($,b){I($,e,b),A(e,l),D(t,l,null),A(e,n),A(e,o);for(let w=0;w<_.length;w+=1)_[w].m(o,null);A(e,a),A(e,i),D(s,i,null),A(i,u),D(f,i,null),c=!0},p($,b){const w={};if(b&2&&(w.label=$[1]),b&64&&(w.value=$[6]),t.$set(w),b&1284){m=$[8].pageShortcuts;let B;for(B=0;B{i[c]=null}),Z(),t=i[l],t?t.p(u,f):(t=i[l]=a[l](u),t.c()),p(t,1),t.m(n.parentNode,n))},i(u){o||(p(t),o=!0)},o(u){h(t),o=!1},d(u){i[l].d(u),u&&g(n)}}}function _u(r){let e,l,t,n,o,a,i,s,u,f,c;const m=r[17].caption,_=Ie(m,r,r[22],hn),d=r[17].headers,$=Ie(d,r,r[22],gn);let b=r[0]&&bn();const w=r[17].default,v=Ie(w,r,r[22],$n),k=[iu,au],B=[];function y(C,R){return C[8].items.length?0:1}return u=y(r),f=B[u]=k[u](r),{c(){e=W("div"),l=W("table"),_&&_.c(),t=N(),n=W("thead"),$&&$.c(),o=N(),b&&b.c(),a=N(),i=W("tbody"),v&&v.c(),s=N(),f.c(),this.h()},l(C){e=O(C,"DIV",{class:!0,style:!0});var R=V(e);l=O(R,"TABLE",{class:!0});var q=V(l);_&&_.l(q),t=P(q),n=O(q,"THEAD",{class:!0});var j=V(n);$&&$.l(j),o=P(j),b&&b.l(j),j.forEach(g),a=P(q),i=O(q,"TBODY",{class:!0});var Y=V(i);v&&v.l(Y),Y.forEach(g),q.forEach(g),s=P(R),f.l(R),R.forEach(g),this.h()},h(){S(n,"class","paginated-table-header svelte-5xhosh"),S(i,"class","paginated-table-body svelte-5xhosh"),S(l,"class","paginated-table svelte-5xhosh"),S(e,"class","paginated-table-wrapper svelte-5xhosh"),hl(e,"max-height","calc(100vh - "+r[9]+"px)")},m(C,R){I(C,e,R),A(e,l),_&&_.m(l,null),A(l,t),A(l,n),$&&$.m(n,null),A(n,o),b&&b.m(n,null),A(l,a),A(l,i),v&&v.m(i,null),A(e,s),B[u].m(e,null),r[21](e),c=!0},p(C,[R]){_&&_.p&&(!c||R&4194560)&&Ee(_,m,C,C[22],c?De(m,C[22],R,su):Te(C[22]),hn),$&&$.p&&(!c||R&4194560)&&Ee($,d,C,C[22],c?De(d,C[22],R,ou):Te(C[22]),gn),C[0]?b?R&1&&p(b,1):(b=bn(),b.c(),p(b,1),b.m(n,null)):b&&(X(),h(b,1,1,()=>{b=null}),Z()),v&&v.p&&(!c||R&4194560)&&Ee(v,w,C,C[22],c?De(w,C[22],R,ru):Te(C[22]),$n);let q=u;u=y(C),u===q?B[u].p(C,R):(X(),h(B[q],1,1,()=>{B[q]=null}),Z(),f=B[u],f?f.p(C,R):(f=B[u]=k[u](C),f.c()),p(f,1),f.m(e,null)),(!c||R&512)&&hl(e,"max-height","calc(100vh - "+C[9]+"px)")},i(C){c||(p(_,C),p($,C),p(b),p(v,C),p(f),c=!0)},o(C){h(_,C),h($,C),h(b),h(v,C),h(f),c=!1},d(C){C&&g(e),_&&_.d(C),$&&$.d(C),b&&b.d(),v&&v.d(C),B[u].d(),r[21](null)}}}function du(r,e,l){let t,n,o,a,i,s,u=K,f=()=>(u(),u=el(a,J=>l(8,s=J)),a),c;U(r,Le,J=>l(16,c=J)),r.$$.on_destroy.push(()=>u());let{$$slots:m={},$$scope:_}=e;var d,$;let{items:b}=e,{updating:w=!1}=e,{perPageLabel:v}=e,{pageButtonLabel:k}=e,{nextPageButtonLabel:B}=e,{previousPageButtonLabel:y}=e,C;const R=J=>{Ue({parameter:Pt,value:J,url:t})},q=J=>R(J),j=()=>R(s.currentPage-1),Y=()=>R(s.currentPage+1);function F(J){ie[J?"unshift":"push"](()=>{C=J,l(5,C)})}return r.$$set=J=>{"items"in J&&l(11,b=J.items),"updating"in J&&l(0,w=J.updating),"perPageLabel"in J&&l(1,v=J.perPageLabel),"pageButtonLabel"in J&&l(2,k=J.pageButtonLabel),"nextPageButtonLabel"in J&&l(3,B=J.nextPageButtonLabel),"previousPageButtonLabel"in J&&l(4,y=J.previousPageButtonLabel),"$$scope"in J&&l(22,_=J.$$scope)},r.$$.update=()=>{r.$$.dirty&65536&&l(15,t=c.url),r.$$.dirty&36864&&l(6,n=l(12,d=t.searchParams.get(Ft))!==null&&d!==void 0?d:String(Cl)),r.$$.dirty&40960&&l(14,o=l(13,$=t.searchParams.get(Pt))!==null&&$!==void 0?$:"1"),r.$$.dirty&18496&&f(l(7,a=Ao(b,n,o))),r.$$.dirty&32832&&(parseInt(n,10)>parseInt(yl,10)?Ue({parameter:Ft,value:yl,url:t}):hr.includes(n)||Ue({parameter:Ft,value:Cl,url:t})),r.$$.dirty&49408&&(s.totalPages&&parseInt(o,10)>s.totalPages?Ue({parameter:Pt,value:s.totalPages,url:t}):(o===null||parseInt(o,10)<0)&&Ue({parameter:Pt,value:"1",url:t})),r.$$.dirty&16576&&(o&&a.jumpToPage(o),n&&a.adjustPageSize(n)),r.$$.dirty&32&&l(9,i=C!=null&&C.offsetTop?(C==null?void 0:C.offsetTop)+32:0)},[w,v,k,B,y,C,n,a,s,i,R,b,d,$,o,t,c,m,q,j,Y,F,_]}class pu extends ue{constructor(e){super(),fe(this,e,du,_u,ce,{items:11,updating:0,perPageLabel:1,pageButtonLabel:2,nextPageButtonLabel:3,previousPageButtonLabel:4})}}const $u=2,rt=[{label:"Status",pinned:!0},{label:"Workflow ID",pinned:!0},{label:"Run ID",pinned:!1},{label:"Type",pinned:!1},{label:"Start",pinned:!1},{label:"End",pinned:!1}],gu=[{label:"History Size",pinned:!1},{label:"History Length",pinned:!1},{label:"Execution Time",pinned:!1},{label:"Execution Duration",pinned:!1},{label:"State Transitions",pinned:!1},{label:"Parent Namespace",pinned:!1},{label:"Task Queue",pinned:!1}],Nr=r=>r.label!=="Parent Workflow ID",hu=()=>{let r;try{const e=window.localStorage.getItem("workflow-table-columns"),l=JSON.parse(e);e&&(l!=null&&l.length)?r=l.filter(Nr):r=rt}catch{r=rt}return r},rl=br("namespace-workflow-table-columns",{}),Yt=ut([Fo,Le,rl],([r,e,l])=>{const t={},n=(i,s)=>{var f;if(!((f=i==null?void 0:i[s])!=null&&f.length))return i[s]=[...hu()],i[s];const u=i[s].filter(Nr);return u.length!==i[s].length&&(i[s]=u,rl.set(i)),i[s]},o=(r==null?void 0:r.reduce((i,{namespaceInfo:{name:s}})=>({...i,[s]:n(l,s)}),t))??{},{namespace:a}=e.params;return o[a]?o:{...o,[a]:n(l,a)}});br("workflow-table-pinned-columns-width");const bu=r=>ut(Yt,e=>[...rt,...gu].filter(l=>{var t;return!((t=e[r])!=null&&t.some(n=>n.label===l.label))})),ku=r=>ut([$r,Yt],([e,l])=>Object.keys(e).filter(t=>{var n;return!((n=l[r])!=null&&n.some(o=>o.label===t))}).map(t=>({label:t,pinned:!1}))),wu=(r,e)=>{switch(r.type){case"WORKFLOW_COLUMN.ADD":{const{label:l,namespace:t}=r.payload,n=(e==null?void 0:e[t])??rt;return{...e,[t]:[...n,{label:l,pinned:!1}]}}case"WORKFLOW_COLUMN.REMOVE":{const{label:l,namespace:t}=r.payload,n=(e==null?void 0:e[t])??rt;return{...e,[t]:n.filter(({label:o})=>o!==l)}}case"WORKFLOW_COLUMN.PIN":{const{label:l,namespace:t}=r.payload,n=(e==null?void 0:e[t])??rt,o=n.findIndex(({label:u})=>u===l),a=n[o].pinned;let i=-1;for(let u=n.length-1;u>=0;u--)if(n[u].pinned){i=u;break}const s=[...n];return s[o].pinned=!a,o>i&&!a?s.splice(i+1,0,s.splice(o,1)[0]):o=0;u--)if(o[u].pinned){i=u;break}const s=[...o];return t<=i&&!a?s[l].pinned=!0:t>i&&a&&(s[l].pinned=!1),s.splice(t,0,s.splice(l,1)[0]),{...e,[n]:s.map((u,f)=>f>$u-1?{...u,pinned:!1}:u)}}default:return e}},ml=r=>{rl.update(e=>wu(r,e))},wn=(r,e)=>{ml({type:"WORKFLOW_COLUMN.ADD",payload:{label:r,namespace:e}})},vu=(r,e)=>{ml({type:"WORKFLOW_COLUMN.REMOVE",payload:{label:r,namespace:e}})},Iu=(r,e,l)=>{ml({type:"WORKFLOW_COLUMN.MOVE",payload:{from:r,to:e,namespace:l}})};function vn(r){let e,l,t,n,o;return l=new Ve({props:{disabled:r[5]===0,icon:"chevron-up","data-testid":"orderable-list-item-"+r[1]+"-move-up-button",label:r[7]}}),l.$on("click",r[19]),n=new Ve({props:{disabled:r[5]===r[6]-1,icon:"chevron-down","data-testid":"orderable-list-item-"+r[1]+"-move-down-button",label:r[8]}}),n.$on("click",r[20]),{c(){e=W("div"),E(l.$$.fragment),t=N(),E(n.$$.fragment),this.h()},l(a){e=O(a,"DIV",{class:!0});var i=V(e);T(l.$$.fragment,i),t=P(i),T(n.$$.fragment,i),i.forEach(g),this.h()},h(){S(e,"class","flex items-center")},m(a,i){I(a,e,i),D(l,e,null),A(e,t),D(n,e,null),o=!0},p(a,i){const s={};i&32&&(s.disabled=a[5]===0),i&2&&(s["data-testid"]="orderable-list-item-"+a[1]+"-move-up-button"),i&128&&(s.label=a[7]),l.$set(s);const u={};i&96&&(u.disabled=a[5]===a[6]-1),i&2&&(u["data-testid"]="orderable-list-item-"+a[1]+"-move-down-button"),i&256&&(u.label=a[8]),n.$set(u)},i(a){o||(p(l.$$.fragment,a),p(n.$$.fragment,a),o=!0)},o(a){h(l.$$.fragment,a),h(n.$$.fragment,a),o=!1},d(a){a&&g(e),L(l),L(n)}}}function In(r){let e,l,t,n;const o=[Tu,Eu],a=[];function i(s,u){return s[3]?0:1}return e=i(r),l=a[e]=o[e](r),{c(){l.c(),t=ee()},l(s){l.l(s),t=ee()},m(s,u){a[e].m(s,u),I(s,t,u),n=!0},p(s,u){let f=e;e=i(s),e===f?a[e].p(s,u):(X(),h(a[f],1,1,()=>{a[f]=null}),Z(),l=a[e],l?l.p(s,u):(l=a[e]=o[e](s),l.c()),p(l,1),l.m(t.parentNode,t))},i(s){n||(p(l),n=!0)},o(s){h(l),n=!1},d(s){a[e].d(s),s&&g(t)}}}function Eu(r){let e,l;return e=new Ve({props:{icon:"pin","data-testid":"orderable-list-item-"+r[1]+"-pin-button",label:r[9]}}),e.$on("click",r[22]),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2&&(o["data-testid"]="orderable-list-item-"+t[1]+"-pin-button"),n&512&&(o.label=t[9]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Tu(r){let e,l;return e=new Ve({props:{icon:"pin-filled","data-testid":"orderable-list-item-"+r[1]+"-unpin-button",label:r[10]}}),e.$on("click",r[21]),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2&&(o["data-testid"]="orderable-list-item-"+t[1]+"-unpin-button"),n&1024&&(o.label=t[10]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function En(r){let e,l,t,n;const o=[Lu,Du],a=[];function i(s,u){return s[0]?0:1}return e=i(r),l=a[e]=o[e](r),{c(){l.c(),t=ee()},l(s){l.l(s),t=ee()},m(s,u){a[e].m(s,u),I(s,t,u),n=!0},p(s,u){let f=e;e=i(s),e===f?a[e].p(s,u):(X(),h(a[f],1,1,()=>{a[f]=null}),Z(),l=a[e],l?l.p(s,u):(l=a[e]=o[e](s),l.c()),p(l,1),l.m(t.parentNode,t))},i(s){n||(p(l),n=!0)},o(s){h(l),n=!1},d(s){a[e].d(s),s&&g(t)}}}function Du(r){let e,l;return e=new Ve({props:{icon:"hyphen","data-testid":"orderable-list-item-"+r[1]+"-remove-button",label:r[12]}}),e.$on("click",r[24]),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2&&(o["data-testid"]="orderable-list-item-"+t[1]+"-remove-button"),n&4096&&(o.label=t[12]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Lu(r){let e,l;return e=new Ve({props:{icon:"add","data-testid":"orderable-list-item-"+r[1]+"-add-button",label:r[11]}}),e.$on("click",r[23]),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2&&(o["data-testid"]="orderable-list-item-"+t[1]+"-add-button"),n&2048&&(o.label=t[11]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Cu(r){let e,l,t,n,o,a,i,s,u,f,c,m,_,d=!r[0]&&!r[4]&&vn(r),$=!r[0]&&!r[4]&&r[5]<=r[2]-1&&In(r),b=!r[4]&&En(r);return{c(){e=W("li"),l=W("div"),d&&d.c(),t=N(),n=z(r[1]),o=N(),$&&$.c(),a=N(),b&&b.c(),u=N(),f=W("hr"),this.h()},l(w){e=O(w,"LI",{draggable:!0,class:!0,"data-testid":!0});var v=V(e);l=O(v,"DIV",{class:!0});var k=V(l);d&&d.l(k),t=P(k),n=Q(k,r[1]),o=P(k),$&&$.l(k),k.forEach(g),a=P(v),b&&b.l(v),v.forEach(g),u=P(w),f=O(w,"HR",{class:!0}),this.h()},h(){S(l,"class","flex flex-row items-center gap-2"),S(e,"draggable",i=!r[0]&&!r[4]),S(e,"class","orderable-item group svelte-1btkzzb"),S(e,"data-testid",s="orderable-list-item-"+r[1]),pe(e,"readonly",r[4]),S(f,"class","svelte-1btkzzb")},m(w,v){I(w,e,v),A(e,l),d&&d.m(l,null),A(l,t),A(l,n),A(l,o),$&&$.m(l,null),A(e,a),b&&b.m(e,null),I(w,u,v),I(w,f,v),c=!0,m||(_=[$e(e,"dragstart",r[25]),$e(e,"drop",vt(r[26])),$e(e,"dragenter",Jt(vt(r[16]))),$e(e,"dragleave",Jt(vt(r[17]))),$e(e,"dragover",Jt(vt(r[18])))],m=!0)},p(w,[v]){!w[0]&&!w[4]?d?(d.p(w,v),v&17&&p(d,1)):(d=vn(w),d.c(),p(d,1),d.m(l,t)):d&&(X(),h(d,1,1,()=>{d=null}),Z()),(!c||v&2)&&ae(n,w[1]),!w[0]&&!w[4]&&w[5]<=w[2]-1?$?($.p(w,v),v&53&&p($,1)):($=In(w),$.c(),p($,1),$.m(l,null)):$&&(X(),h($,1,1,()=>{$=null}),Z()),w[4]?b&&(X(),h(b,1,1,()=>{b=null}),Z()):b?(b.p(w,v),v&16&&p(b,1)):(b=En(w),b.c(),p(b,1),b.m(e,null)),(!c||v&17&&i!==(i=!w[0]&&!w[4]))&&S(e,"draggable",i),(!c||v&2&&s!==(s="orderable-list-item-"+w[1]))&&S(e,"data-testid",s),(!c||v&16)&&pe(e,"readonly",w[4])},i(w){c||(p(d),p($),p(b),c=!0)},o(w){h(d),h($),h(b),c=!1},d(w){w&&g(e),d&&d.d(),$&&$.d(),b&&b.d(),w&&g(u),w&&g(f),m=!1,Lt(_)}}}function yu(r,e,l){const t=pt();let{static:n=!1}=e,{label:o}=e,{maxPinnedItems:a=void 0}=e,{pinned:i=!1}=e,{readonly:s=!1}=e,{index:u=0}=e,{totalItems:f=0}=e,{moveUpButtonLabel:c=""}=e,{moveDownButtonLabel:m=""}=e,{pinButtonLabel:_=""}=e,{unpinButtonLabel:d=""}=e,{addButtonLabel:$=""}=e,{removeButtonLabel:b=""}=e;const w=(G,oe)=>{n||s||(G.dataTransfer.setData("text/plain",oe.toString()),G.dataTransfer.dropEffect="move")},v=(G,oe)=>{G.currentTarget.classList.remove("dragging-over");const ge=parseInt(G.dataTransfer.getData("text/plain"));t("moveItem",{from:ge,to:oe})},k=G=>G.currentTarget.classList.add("dragging-over"),B=G=>G.currentTarget.classList.remove("dragging-over");function y(G){Ye.call(this,r,G)}const C=()=>t("moveItem",{from:u,to:u-1}),R=()=>t("moveItem",{from:u,to:u+1}),q=()=>t("pinItem"),j=()=>t("pinItem"),Y=()=>t("addItem"),F=()=>t("removeItem"),J=G=>w(G,u),le=G=>v(G,u);return r.$$set=G=>{"static"in G&&l(0,n=G.static),"label"in G&&l(1,o=G.label),"maxPinnedItems"in G&&l(2,a=G.maxPinnedItems),"pinned"in G&&l(3,i=G.pinned),"readonly"in G&&l(4,s=G.readonly),"index"in G&&l(5,u=G.index),"totalItems"in G&&l(6,f=G.totalItems),"moveUpButtonLabel"in G&&l(7,c=G.moveUpButtonLabel),"moveDownButtonLabel"in G&&l(8,m=G.moveDownButtonLabel),"pinButtonLabel"in G&&l(9,_=G.pinButtonLabel),"unpinButtonLabel"in G&&l(10,d=G.unpinButtonLabel),"addButtonLabel"in G&&l(11,$=G.addButtonLabel),"removeButtonLabel"in G&&l(12,b=G.removeButtonLabel)},[n,o,a,i,s,u,f,c,m,_,d,$,b,t,w,v,k,B,y,C,R,q,j,Y,F,J,le]}class ft extends ue{constructor(e){super(),fe(this,e,yu,Cu,ce,{static:0,label:1,maxPinnedItems:2,pinned:3,readonly:4,index:5,totalItems:6,moveUpButtonLabel:7,moveDownButtonLabel:8,pinButtonLabel:9,unpinButtonLabel:10,addButtonLabel:11,removeButtonLabel:12})}}const Bu=r=>({}),Tn=r=>({});function Su(r){let e;return{c(){e=z("Items")},l(l){e=Q(l,"Items")},m(l,t){I(l,e,t)},d(l){l&&g(e)}}}function Au(r){let e,l;return e=new ft({props:{readonly:!0,label:"No Items",pinned:!1}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Nu(r){let e,l,t,n,o;const a=r[1].heading,i=Ie(a,r,r[0],Tn),s=i||Su(),u=r[1].default,f=Ie(u,r,r[0],null),c=f||Au();return{c(){e=W("div"),l=W("h4"),s&&s.c(),t=N(),n=W("ol"),c&&c.c(),this.h()},l(m){e=O(m,"DIV",{class:!0});var _=V(e);l=O(_,"H4",{class:!0});var d=V(l);s&&s.l(d),d.forEach(g),t=P(_),n=O(_,"OL",{class:!0});var $=V(n);c&&c.l($),$.forEach(g),_.forEach(g),this.h()},h(){S(l,"class","orderable-heading svelte-cheqnz"),S(n,"class","orderable-list svelte-cheqnz"),S(e,"class","orderable-section svelte-cheqnz")},m(m,_){I(m,e,_),A(e,l),s&&s.m(l,null),A(e,t),A(e,n),c&&c.m(n,null),o=!0},p(m,[_]){i&&i.p&&(!o||_&1)&&Ee(i,a,m,m[0],o?De(a,m[0],_,Bu):Te(m[0]),Tn),f&&f.p&&(!o||_&1)&&Ee(f,u,m,m[0],o?De(u,m[0],_,null):Te(m[0]),null)},i(m){o||(p(s,m),p(c,m),o=!0)},o(m){h(s,m),h(c,m),o=!1},d(m){m&&g(e),s&&s.d(m),c&&c.d(m)}}}function Pu(r,e,l){let{$$slots:t={},$$scope:n}=e;return r.$$set=o=>{"$$scope"in o&&l(0,n=o.$$scope)},[n,t]}let xt=class extends ue{constructor(e){super(),fe(this,e,Pu,Nu,ce,{})}};function Dn(r,e,l){const t=r.slice();return t[12]=e[l].label,t}function Ln(r,e,l){const t=r.slice();return t[12]=e[l].label,t}function Cn(r,e,l){const t=r.slice();return t[12]=e[l].label,t[18]=l,t}function yn(r){let e,l;return e=new ft({props:{readonly:!0,label:"No headings in view"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Bn(r,e){let l,t,n;function o(){return e[9](e[12])}return t=new ft({props:{index:e[18],label:e[12],totalItems:e[3].length,addButtonLabel:M("workflows","add-column-label",{column:e[12]}),removeButtonLabel:M("workflows","remove-column-label",{column:e[12]}),moveUpButtonLabel:M("workflows","move-column-up-label",{column:e[12]}),moveDownButtonLabel:M("workflows","move-column-down-label",{column:e[12]}),pinButtonLabel:M("workflows","pin-column-label",{column:e[12]}),unpinButtonLabel:M("workflows","unpin-column-label",{column:e[12]})}}),t.$on("moveItem",e[8]),t.$on("removeItem",o),{key:r,first:null,c(){l=ee(),E(t.$$.fragment),this.h()},l(a){l=ee(),T(t.$$.fragment,a),this.h()},h(){this.first=l},m(a,i){I(a,l,i),D(t,a,i),n=!0},p(a,i){e=a;const s={};i&8&&(s.index=e[18]),i&8&&(s.label=e[12]),i&8&&(s.totalItems=e[3].length),i&8&&(s.addButtonLabel=M("workflows","add-column-label",{column:e[12]})),i&8&&(s.removeButtonLabel=M("workflows","remove-column-label",{column:e[12]})),i&8&&(s.moveUpButtonLabel=M("workflows","move-column-up-label",{column:e[12]})),i&8&&(s.moveDownButtonLabel=M("workflows","move-column-down-label",{column:e[12]})),i&8&&(s.pinButtonLabel=M("workflows","pin-column-label",{column:e[12]})),i&8&&(s.unpinButtonLabel=M("workflows","unpin-column-label",{column:e[12]})),t.$set(s)},i(a){n||(p(t.$$.fragment,a),n=!0)},o(a){h(t.$$.fragment,a),n=!1},d(a){a&&g(l),L(t,a)}}}function Fu(r){let e=[],l=new Map,t,n,o=r[3];const a=s=>s[12];for(let s=0;s{i=null}),Z()):(i=yn(),i.c(),p(i,1),i.m(t.parentNode,t)))},i(s){if(!n){for(let u=0;uh(n[i],1,1,()=>{n[i]=null});let a=null;return t.length||(a=Sn()),{c(){for(let i=0;i{a=null}),Z()):(a=Sn(),a.c(),p(a,1),a.m(e.parentNode,e))}},i(i){if(!l){for(let s=0;sh(n[i],1,1,()=>{n[i]=null});let a=null;return t.length||(a=Nn()),{c(){for(let i=0;i{a=null}),Z()):(a=Nn(),a.c(),p(a,1),a.m(e.parentNode,e))}},i(i){if(!l){for(let s=0;s(s(),s=el(n,k=>l(4,i=k)),n),f,c=K,m=()=>(c(),c=el(o,k=>l(5,f=k)),o);U(r,Yt,k=>l(7,a=k)),r.$$.on_destroy.push(()=>s()),r.$$.on_destroy.push(()=>c());var _;let{namespace:d}=e;const $=k=>Iu(k.detail.from,k.detail.to,d),b=k=>vu(k,d),w=k=>wn(k,d),v=k=>wn(k,d);return r.$$set=k=>{"namespace"in k&&l(0,d=k.namespace)},r.$$.update=()=>{r.$$.dirty&193&&l(3,t=l(6,_=a==null?void 0:a[d])!==null&&_!==void 0?_:[]),r.$$.dirty&1&&u(l(2,n=bu(d))),r.$$.dirty&1&&m(l(1,o=ku(d)))},[d,o,n,t,i,f,_,a,$,b,w,v]}class qu extends ue{constructor(e){super(),fe(this,e,Uu,Hu,ce,{namespace:0})}}const Fn=(r,e=2)=>{if(!+r)return"0 Bytes";const l=1024,t=e<0?0:e,n=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],o=Math.floor(Math.log(r)/Math.log(l));return`${parseFloat((r/Math.pow(l,o)).toFixed(t))} ${n[o]}`},jt={WorkflowId:"Workflow ID",WorkflowType:"Type",RunId:"Run ID"},Ge={WorkflowId:"workflow-id",WorkflowType:"workflow-type",RunId:"run-id"},ju={WorkflowId:"id",WorkflowType:"name",RunId:"runId"};function zu(r){let e;return{c(){e=z(r[2])},l(l){e=Q(l,r[2])},m(l,t){I(l,e,t)},p(l,t){t&4&&ae(e,l[2])},d(l){l&&g(e)}}}function Qu(r){let e,l,t,n;return e=new wt({props:{href:r[3],$$slots:{default:[zu]},$$scope:{ctx:r}}}),t=new io({props:{copyIconTitle:M("copy-icon-title"),copySuccessIconTitle:M("copy-success-icon-title"),filterIconTitle:M("filter-workflows"),show:r[1],content:r[2],onFilter:r[5],filtered:r[4].some(r[9])}}),{c(){E(e.$$.fragment),l=N(),E(t.$$.fragment)},l(o){T(e.$$.fragment,o),l=P(o),T(t.$$.fragment,o)},m(o,a){D(e,o,a),I(o,l,a),D(t,o,a),n=!0},p(o,[a]){const i={};a&8&&(i.href=o[3]),a&2052&&(i.$$scope={dirty:a,ctx:o}),e.$set(i);const s={};a&2&&(s.show=o[1]),a&4&&(s.content=o[2]),a&21&&(s.filtered=o[4].some(o[9])),t.$set(s)},i(o){n||(p(e.$$.fragment,o),p(t.$$.fragment,o),n=!0)},o(o){h(e.$$.fragment,o),h(t.$$.fragment,o),n=!1},d(o){L(e,o),o&&g(l),L(t,o)}}}function Ku(r,e,l){let t,n,o,a,i,s;U(r,Ze,d=>l(10,a=d)),U(r,de,d=>l(4,i=d)),U(r,Le,d=>l(8,s=d));let{attribute:u}=e,{workflow:f}=e,{filterOrCopyButtonsVisible:c=!1}=e;const m=()=>{const d=i.find(b=>b.attribute===u),$=()=>i.filter(b=>b.attribute!==u);if(d)te(de,i=[...$()],i);else{const b={attribute:u,value:t,conditional:"=",operator:"",parenthesis:""};te(de,i=[...$(),b],i)}Qe(s.url,i,a)},_=d=>d.attribute===u&&d.value===t;return r.$$set=d=>{"attribute"in d&&l(0,u=d.attribute),"workflow"in d&&l(6,f=d.workflow),"filterOrCopyButtonsVisible"in d&&l(1,c=d.filterOrCopyButtonsVisible)},r.$$.update=()=>{r.$$.dirty&65&&l(2,t=f[ju[u]]),r.$$.dirty&256&&l(7,n=s.params.namespace),r.$$.dirty&192&&l(3,o=Oo({namespace:n,workflow:f.id,run:f.runId}))},[u,c,t,o,i,m,f,n,s,_]}class _l extends ue{constructor(e){super(),fe(this,e,Ku,Qu,ce,{attribute:0,workflow:6,filterOrCopyButtonsVisible:1})}}function Gu(r){const e=r.slice(),l=e[0].searchAttributes.indexedFields[e[2]];return e[10]=l,e}function Yu(r){let e,l,t,n,o;const a=[af,sf,of,rf,nf,lf,tf,ef,xu,Zu,Xu],i=[];function s(f,c){return c&5&&(l=null),f[2]==="Status"?0:f[2]==="End"?1:f[2]==="Start"?2:f[2]==="Task Queue"?3:f[2]==="Parent Namespace"?4:f[2]==="History Size"?5:f[2]==="State Transitions"?6:f[2]==="Execution Time"?7:f[2]==="Execution Duration"?8:f[2]==="History Length"?9:(l==null&&(l=!!(Do(f[2])&&Lo(f[0],f[2]))),l?10:-1)}function u(f,c){return c===10?Gu(f):f}return~(t=s(r,-1))&&(n=i[t]=a[t](u(r,t))),{c(){e=W("td"),n&&n.c(),this.h()},l(f){e=O(f,"TD",{class:!0,"data-testid":!0});var c=V(e);n&&n.l(c),c.forEach(g),this.h()},h(){S(e,"class","workflows-summary-table-body-cell svelte-qupenl"),S(e,"data-testid","workflows-summary-table-body-cell")},m(f,c){I(f,e,c),~t&&i[t].m(e,null),o=!0},p(f,c){let m=t;t=s(f,c),t===m?~t&&i[t].p(u(f,t),c):(n&&(X(),h(i[m],1,1,()=>{i[m]=null}),Z()),~t?(n=i[t],n?n.p(u(f,t),c):(n=i[t]=a[t](u(f,t)),n.c()),p(n,1),n.m(e,null)):n=null)},i(f){o||(p(n),o=!0)},o(f){h(n),o=!1},d(f){f&&g(e),~t&&i[t].d()}}}function Ju(r){let e,l,t,n,o,a;const i=[pf,df,_f],s=[];function u(f,c){return f[2]==="Type"?0:f[2]==="Workflow ID"?1:f[2]==="Run ID"?2:-1}return~(l=u(r))&&(t=s[l]=i[l](r)),{c(){e=W("td"),t&&t.c(),this.h()},l(f){e=O(f,"TD",{class:!0,"data-testid":!0});var c=V(e);t&&t.l(c),c.forEach(g),this.h()},h(){S(e,"class","workflows-summary-table-body-cell filterable svelte-qupenl"),S(e,"data-testid","workflows-summary-table-body-cell")},m(f,c){I(f,e,c),~l&&s[l].m(e,null),n=!0,o||(a=[$e(e,"mouseover",r[6]),$e(e,"focus",r[6]),$e(e,"focusin",r[6]),$e(e,"focusout",r[8]),$e(e,"mouseleave",r[7]),$e(e,"blur",r[7])],o=!0)},p(f,c){let m=l;l=u(f),l===m?~l&&s[l].p(f,c):(t&&(X(),h(s[m],1,1,()=>{s[m]=null}),Z()),~l?(t=s[l],t?t.p(f,c):(t=s[l]=i[l](f),t.c()),p(t,1),t.m(e,null)):t=null)},i(f){n||(p(t),n=!0)},o(f){h(t),n=!1},d(f){f&&g(e),~l&&s[l].d(),o=!1,Lt(a)}}}function Xu(r){let e,l,t,n;const o=[cf,ff,uf],a=[];function i(s,u){return s[5][s[2]]==="Datetime"&&typeof s[10]=="string"?0:s[5][s[2]]==="Bool"?1:2}return e=i(r),l=a[e]=o[e](r),{c(){l.c(),t=ee()},l(s){l.l(s),t=ee()},m(s,u){a[e].m(s,u),I(s,t,u),n=!0},p(s,u){let f=e;e=i(s),e===f?a[e].p(s,u):(X(),h(a[f],1,1,()=>{a[f]=null}),Z(),l=a[e],l?l.p(s,u):(l=a[e]=o[e](s),l.c()),p(l,1),l.m(t.parentNode,t))},i(s){n||(p(l),n=!0)},o(s){h(l),n=!1},d(s){a[e].d(s),s&&g(t)}}}function Zu(r){let e=(parseInt(r[0].historyEvents,10)>0?r[0].historyEvents:"")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&1&&e!==(e=(parseInt(t[0].historyEvents,10)>0?t[0].historyEvents:"")+"")&&ae(l,e)},i:K,o:K,d(t){t&&g(l)}}}function xu(r){let e=Dl({start:r[0].startTime,end:r[0].endTime,includeMillisecondsForUnderSecond:!0})+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&1&&e!==(e=Dl({start:t[0].startTime,end:t[0].endTime,includeMillisecondsForUnderSecond:!0})+"")&&ae(l,e)},i:K,o:K,d(t){t&&g(l)}}}function ef(r){let e=Oe(r[0].executionTime,r[3],{relative:r[4]})+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&25&&e!==(e=Oe(t[0].executionTime,t[3],{relative:t[4]})+"")&&ae(l,e)},i:K,o:K,d(t){t&&g(l)}}}function tf(r){let e=(parseInt(r[0].stateTransitionCount,10)>0?r[0].stateTransitionCount:"")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&1&&e!==(e=(parseInt(t[0].stateTransitionCount,10)>0?t[0].stateTransitionCount:"")+"")&&ae(l,e)},i:K,o:K,d(t){t&&g(l)}}}function lf(r){let e=Fn(parseInt(r[0].historySizeBytes,10))+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&1&&e!==(e=Fn(parseInt(t[0].historySizeBytes,10))+"")&&ae(l,e)},i:K,o:K,d(t){t&&g(l)}}}function nf(r){let e=r[0].parentNamespaceId+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&1&&e!==(e=t[0].parentNamespaceId+"")&&ae(l,e)},i:K,o:K,d(t){t&&g(l)}}}function rf(r){let e=r[0].taskQueue+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&1&&e!==(e=t[0].taskQueue+"")&&ae(l,e)},i:K,o:K,d(t){t&&g(l)}}}function of(r){let e=Oe(r[0].startTime,r[3],{relative:r[4]})+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&25&&e!==(e=Oe(t[0].startTime,t[3],{relative:t[4]})+"")&&ae(l,e)},i:K,o:K,d(t){t&&g(l)}}}function sf(r){let e=Oe(r[0].endTime,r[3],{relative:r[4]})+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&25&&e!==(e=Oe(t[0].endTime,t[3],{relative:t[4]})+"")&&ae(l,e)},i:K,o:K,d(t){t&&g(l)}}}function af(r){let e,l;return e=new At({props:{status:r[0].status}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&1&&(o.status=t[0].status),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function uf(r){let e=r[10]+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&5&&e!==(e=t[10]+"")&&ae(l,e)},i:K,o:K,d(t){t&&g(l)}}}function ff(r){let e,l;return e=new Wo({props:{$$slots:{default:[mf]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2053&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function cf(r){let e=Oe(r[10],r[3],{relative:r[4]})+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&29&&e!==(e=Oe(t[10],t[3],{relative:t[4]})+"")&&ae(l,e)},i:K,o:K,d(t){t&&g(l)}}}function mf(r){let e=r[10]+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&5&&e!==(e=t[10]+"")&&ae(l,e)},d(t){t&&g(l)}}}function _f(r){let e,l;return e=new _l({props:{filterOrCopyButtonsVisible:r[1],attribute:"RunId",workflow:r[0]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2&&(o.filterOrCopyButtonsVisible=t[1]),n&1&&(o.workflow=t[0]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function df(r){let e,l;return e=new _l({props:{filterOrCopyButtonsVisible:r[1],attribute:"WorkflowId",workflow:r[0]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2&&(o.filterOrCopyButtonsVisible=t[1]),n&1&&(o.workflow=t[0]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function pf(r){let e,l;return e=new _l({props:{filterOrCopyButtonsVisible:r[1],attribute:"WorkflowType",workflow:r[0]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2&&(o.filterOrCopyButtonsVisible=t[1]),n&1&&(o.workflow=t[0]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function $f(r){let e,l,t,n;const o=[Ju,Yu],a=[];function i(s,u){return s[2]==="Run ID"||s[2]==="Workflow ID"||s[2]==="Type"?0:1}return e=i(r),l=a[e]=o[e](r),{c(){l.c(),t=ee()},l(s){l.l(s),t=ee()},m(s,u){a[e].m(s,u),I(s,t,u),n=!0},p(s,[u]){let f=e;e=i(s),e===f?a[e].p(s,u):(X(),h(a[f],1,1,()=>{a[f]=null}),Z(),l=a[e],l?l.p(s,u):(l=a[e]=o[e](s),l.c()),p(l,1),l.m(t.parentNode,t))},i(s){n||(p(l),n=!0)},o(s){h(l),n=!1},d(s){a[e].d(s),s&&g(t)}}}function gf(r,e,l){let t,n,o,a;U(r,Vt,_=>l(3,n=_)),U(r,_r,_=>l(4,o=_)),U(r,$r,_=>l(5,a=_));let{column:i}=e,{workflow:s}=e,u=!1;const f=()=>l(1,u=!0),c=()=>l(1,u=!1),m=_=>{const d=_.relatedTarget;d&&!["filter-button","copy-button"].includes(d.id)&&c()};return r.$$set=_=>{"column"in _&&l(9,i=_.column),"workflow"in _&&l(0,s=_.workflow)},r.$$.update=()=>{r.$$.dirty&512&&l(2,{label:t}=i,t)},[s,u,t,n,o,a,f,c,m,i]}class hf extends ue{constructor(e){super(),fe(this,e,gf,$f,ce,{column:9,workflow:0})}}function bf(r){let e=jt[r[0]]+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&1&&e!==(e=jt[t[0]]+"")&&ae(l,e)},d(t){t&&g(l)}}}function kf(r){let e,l;return e=new We({props:{name:"filter",slot:"trailing"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function wf(r){let e,l,t;function n(a){r[6](a)}let o={icon:"search",type:"search",label:M("search"),labelHidden:!0,id:Ge[r[0]],placeholder:jt[r[0]],class:"flex items-center p-2 transition-all hover:cursor-pointer",autoFocus:!0,clearable:!0,clearButtonLabel:M("clear-input-button-label")};return r[1]!==void 0&&(o.value=r[1]),e=new Pe({props:o}),ie.push(()=>me(e,"value",n)),e.$on("input",r[2]),e.$on("clear",r[4]),{c(){E(e.$$.fragment)},l(a){T(e.$$.fragment,a)},m(a,i){D(e,a,i),t=!0},p(a,i){const s={};i&1&&(s.id=Ge[a[0]]),i&1&&(s.placeholder=jt[a[0]]),!l&&i&2&&(l=!0,s.value=a[1],_e(()=>l=!1)),e.$set(s)},i(a){t||(p(e.$$.fragment,a),t=!0)},o(a){h(e.$$.fragment,a),t=!1},d(a){L(e,a)}}}function vf(r){let e,l,t,n;return e=new lt({props:{"data-testid":Ge[r[0]]+"-filter-button",variant:"table-header",controls:Ge[r[0]]+"-filter-menu",$$slots:{trailing:[kf],default:[bf]},$$scope:{ctx:r}}}),e.$on("click",r[3]),t=new nt({props:{keepOpen:!0,id:Ge[r[0]]+"-filter-menu",class:"w-[500px]",$$slots:{default:[wf]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment),l=N(),E(t.$$.fragment)},l(o){T(e.$$.fragment,o),l=P(o),T(t.$$.fragment,o)},m(o,a){D(e,o,a),I(o,l,a),D(t,o,a),n=!0},p(o,a){const i={};a&1&&(i["data-testid"]=Ge[o[0]]+"-filter-button"),a&1&&(i.controls=Ge[o[0]]+"-filter-menu"),a&1025&&(i.$$scope={dirty:a,ctx:o}),e.$set(i);const s={};a&1&&(s.id=Ge[o[0]]+"-filter-menu"),a&1027&&(s.$$scope={dirty:a,ctx:o}),t.$set(s)},i(o){n||(p(e.$$.fragment,o),p(t.$$.fragment,o),n=!0)},o(o){h(e.$$.fragment,o),h(t.$$.fragment,o),n=!1},d(o){L(e,o),o&&g(l),L(t,o)}}}function If(r){let e,l;return e=new tt({props:{$$slots:{default:[vf]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,[n]){const o={};n&1027&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Ef(r,e,l){let t,n,o;U(r,de,_=>l(5,n=_)),U(r,Le,_=>l(8,o=_));let a="",{attribute:i}=e;const s=()=>n.filter(_=>_.attribute!==i),u=_=>{const{value:d}=_.target;if(d){const $={attribute:i,value:d,conditional:"=",operator:"",parenthesis:""};te(de,n=[...s(),$],n)}else te(de,n=[...s()],n);Qe(o.url,n)};function f(_){const{open:d}=_.detail;d&&(t!=null&&t.value)?l(1,a=t.value):d&&!t&&a&&l(1,a="")}function c(){te(de,n=[...s()],n),Qe(o.url,n)}function m(_){a=_,l(1,a)}return r.$$set=_=>{"attribute"in _&&l(0,i=_.attribute)},r.$$.update=()=>{r.$$.dirty&33&&(t=n.find(_=>_.attribute===i))},[i,a,u,f,c,n,m]}class dl extends ue{constructor(e){super(),fe(this,e,Ef,If,ce,{attribute:0})}}function Wn(r,e,l){const t=r.slice();return t[7]=e[l],t}function Tf(r){let e=M("status")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Df(r){let e,l;return e=new We({props:{name:"filter",slot:"trailing"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Lf(r){let e,l;return e=new At({props:{status:r[7]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Cf(r){let e,l;return e=new Fe({props:{namespace:"workflows",key:"all-statuses"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function yf(r){let e,l,t,n;const o=[Cf,Lf],a=[];function i(s,u){return s[7]==="All"?0:1}return e=i(r),l=a[e]=o[e](r),{c(){l.c(),t=N()},l(s){l.l(s),t=P(s)},m(s,u){a[e].m(s,u),I(s,t,u),n=!0},p(s,u){l.p(s,u)},i(s){n||(p(l),n=!0)},o(s){h(l),n=!1},d(s){a[e].d(s),s&&g(t)}}}function Bf(r){let e,l;function t(...o){return r[3](r[7],...o)}function n(){return r[4](r[7])}return e=new zt({props:{slot:"leading",label:r[7],labelHidden:!0,tabindex:-1,checked:r[0].some(t)||!r[0].length&&r[7]==="All"}}),e.$on("click",n),{c(){E(e.$$.fragment)},l(o){T(e.$$.fragment,o)},m(o,a){D(e,o,a),l=!0},p(o,a){r=o;const i={};a&1&&(i.checked=r[0].some(t)||!r[0].length&&r[7]==="All"),e.$set(i)},i(o){l||(p(e.$$.fragment,o),l=!0)},o(o){h(e.$$.fragment,o),l=!1},d(o){L(e,o)}}}function On(r){let e,l;function t(){return r[5](r[7])}return e=new ye({props:{$$slots:{leading:[Bf],default:[yf]},$$scope:{ctx:r}}}),e.$on("click",t),{c(){E(e.$$.fragment)},l(n){T(e.$$.fragment,n)},m(n,o){D(e,n,o),l=!0},p(n,o){r=n;const a={};o&1025&&(a.$$scope={dirty:o,ctx:r}),e.$set(a)},i(n){l||(p(e.$$.fragment,n),l=!0)},o(n){h(e.$$.fragment,n),l=!1},d(n){L(e,n)}}}function Sf(r){let e,l,t=qt,n=[];for(let a=0;ah(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;a{const t=l===0?"(":l===r.length-1?")":"",n=l===r.length-1?"":"OR";return{...e,operator:n,parenthesis:t}})}function Pf(r,e,l){let t,n,o;U(r,de,f=>l(2,n=f)),U(r,Le,f=>l(6,o=f));const a=f=>{if(f==="All")te(de,n=n.filter(c=>c.attribute!=="ExecutionStatus"),n);else if(t.find(c=>c.value===f)){const c=n.filter(m=>m.attribute!=="ExecutionStatus");te(de,n=[...c,...Vn(t.filter(m=>m.value!==f))],n)}else if(!t.length)te(de,n=[...n,ol(f)],n);else{const c=n.filter(m=>m.attribute!=="ExecutionStatus");te(de,n=[...c,...Vn([...t,ol(f)])],n)}Qe(o.url,n)},i=(f,c)=>c.value===f,s=f=>a(f),u=f=>a(f);return r.$$.update=()=>{r.$$.dirty&4&&l(0,t=n.filter(f=>f.attribute==="ExecutionStatus"))},[t,a,n,i,s,u]}class Ff extends ue{constructor(e){super(),fe(this,e,Pf,Nf,ce,{})}}function Wf(r){let e;return{c(){e=z(r[0])},l(l){e=Q(l,r[0])},m(l,t){I(l,e,t)},p(l,t){t&1&&ae(e,l[0])},d(l){l&&g(e)}}}function Of(r){let e;return{c(){e=z(r[0])},l(l){e=Q(l,r[0])},m(l,t){I(l,e,t)},p(l,t){t&1&&ae(e,l[0])},i:K,o:K,d(l){l&&g(e)}}}function Vf(r){let e,l;return e=new dl({props:{attribute:"WorkflowType"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Mf(r){let e,l;return e=new dl({props:{attribute:"RunId"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Rf(r){let e,l;return e=new dl({props:{attribute:"WorkflowId"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Hf(r){let e,l;return e=new Ff({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Uf(r){let e,l,t,n;const o=[Hf,Rf,Mf,Vf,Of],a=[];function i(s,u){return s[0]==="Status"?0:s[0]==="Workflow ID"?1:s[0]==="Run ID"?2:s[0]==="Type"?3:4}return e=i(r),l=a[e]=o[e](r),{c(){l.c(),t=ee()},l(s){l.l(s),t=ee()},m(s,u){a[e].m(s,u),I(s,t,u),n=!0},p(s,u){let f=e;e=i(s),e===f?a[e].p(s,u):(X(),h(a[f],1,1,()=>{a[f]=null}),Z(),l=a[e],l?l.p(s,u):(l=a[e]=o[e](s),l.c()),p(l,1),l.m(t.parentNode,t))},i(s){n||(p(l),n=!0)},o(s){h(l),n=!1},d(s){a[e].d(s),s&&g(t)}}}function qf(r){let e,l,t,n;return l=new ul({props:{$$slots:{fallback:[Uf],default:[Wf]},$$scope:{ctx:r}}}),{c(){e=W("th"),E(l.$$.fragment),this.h()},l(o){e=O(o,"TH",{class:!0,"data-testid":!0});var a=V(e);T(l.$$.fragment,a),a.forEach(g),this.h()},h(){S(e,"class","workflows-summary-table-header-cell svelte-x2wk3"),S(e,"data-testid",t="workflows-summary-table-header-cell-"+r[0])},m(o,a){I(o,e,a),D(l,e,null),n=!0},p(o,[a]){const i={};a&5&&(i.$$scope={dirty:a,ctx:o}),l.$set(i),(!n||a&1&&t!==(t="workflows-summary-table-header-cell-"+o[0]))&&S(e,"data-testid",t)},i(o){n||(p(l.$$.fragment,o),n=!0)},o(o){h(l.$$.fragment,o),n=!1},d(o){o&&g(e),L(l)}}}function jf(r,e,l){let t,{column:n}=e;return r.$$set=o=>{"column"in o&&l(1,n=o.column)},r.$$.update=()=>{r.$$.dirty&2&&l(0,{label:t}=n,t)},[t,n]}class zf extends ue{constructor(e){super(),fe(this,e,jf,qf,ce,{column:1})}}const Qf=["workflowCancelDisabled","workflowTerminateDisabled"],Kf=r=>r.disableWriteActions||r.batchActionsDisabled?!1:Qf.some(e=>!r[e]),Pr=ut([Mo,ht,Ro,Qr],([r,e,l,t])=>(t?!0:Vo(r,"1.18.0"))&&e&&Kf(l));function Gf(r){let e,l,t,n,o;const a=r[5].default,i=Ie(a,r,r[4],null);return{c(){e=W("button"),i&&i.c(),this.h()},l(s){e=O(s,"BUTTON",{"data-testid":!0,class:!0});var u=V(e);i&&i.l(u),u.forEach(g),this.h()},h(){S(e,"data-testid",r[0]),e.disabled=r[1],S(e,"class",l="bulk-action-button "+r[2]+" "+r[3].class+" svelte-19w6g7u")},m(s,u){I(s,e,u),i&&i.m(e,null),t=!0,n||(o=$e(e,"click",r[6]),n=!0)},p(s,[u]){i&&i.p&&(!t||u&16)&&Ee(i,a,s,s[4],t?De(a,s[4],u,null):Te(s[4]),null),(!t||u&1)&&S(e,"data-testid",s[0]),(!t||u&2)&&(e.disabled=s[1]),(!t||u&12&&l!==(l="bulk-action-button "+s[2]+" "+s[3].class+" svelte-19w6g7u"))&&S(e,"class",l)},i(s){t||(p(i,s),t=!0)},o(s){h(i,s),t=!1},d(s){s&&g(e),i&&i.d(s),n=!1,o()}}}function Yf(r,e,l){let{$$slots:t={},$$scope:n}=e,{testId:o=null}=e,{disabled:a=!1}=e,{variant:i="primary"}=e;function s(u){Ye.call(this,r,u)}return r.$$set=u=>{l(3,e=Wt(Wt({},e),Ot(u))),"testId"in u&&l(0,o=u.testId),"disabled"in u&&l(1,a=u.disabled),"variant"in u&&l(2,i=u.variant),"$$scope"in u&&l(4,n=u.$$scope)},e=Ot(e),[o,a,i,e,n,t,s]}class Fr extends ue{constructor(e){super(),fe(this,e,Yf,Gf,ce,{testId:0,disabled:1,variant:2})}}function Jf(r){let e,l,t,n,o,a,i,s,u,f,c;return l=new Fe({props:{namespace:"workflows",key:"n-selected",count:r[2]}}),i=new Fe({props:{namespace:"workflows",key:"select-all",count:r[1]}}),{c(){e=W("span"),E(l.$$.fragment),t=N(),n=W("span"),o=z("(or "),a=W("button"),E(i.$$.fragment),s=z(")"),this.h()},l(m){e=O(m,"SPAN",{class:!0});var _=V(e);T(l.$$.fragment,_),_.forEach(g),t=P(m),n=O(m,"SPAN",{});var d=V(n);o=Q(d,"(or "),a=O(d,"BUTTON",{"data-testid":!0,class:!0});var $=V(a);T(i.$$.fragment,$),$.forEach(g),s=Q(d,")"),d.forEach(g),this.h()},h(){S(e,"class","font-semibold"),S(a,"data-testid","select-all-workflows"),S(a,"class","cursor-pointer underline")},m(m,_){I(m,e,_),D(l,e,null),I(m,t,_),I(m,n,_),A(n,o),A(n,a),D(i,a,null),A(n,s),u=!0,f||(c=$e(a,"click",r[15]),f=!0)},p(m,_){const d={};_&4&&(d.count=m[2]),l.$set(d);const $={};_&2&&($.count=m[1]),i.$set($)},i(m){u||(p(l.$$.fragment,m),p(i.$$.fragment,m),u=!0)},o(m){h(l.$$.fragment,m),h(i.$$.fragment,m),u=!1},d(m){m&&g(e),L(l),m&&g(t),m&&g(n),L(i),f=!1,c()}}}function Xf(r){let e,l,t;return l=new Fe({props:{namespace:"workflows",key:"all-selected",count:r[1]}}),{c(){e=W("span"),E(l.$$.fragment),this.h()},l(n){e=O(n,"SPAN",{class:!0});var o=V(e);T(l.$$.fragment,o),o.forEach(g),this.h()},h(){S(e,"class","font-semibold")},m(n,o){I(n,e,o),D(l,e,null),t=!0},p(n,o){const a={};o&2&&(a.count=n[1]),l.$set(a)},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){h(l.$$.fragment,n),t=!1},d(n){n&&g(e),L(l)}}}function Mn(r){let e,l;return e=new Fr({props:{testId:"bulk-cancel-button",disabled:r[3]||!r[7].length,$$slots:{default:[Zf]},$$scope:{ctx:r}}}),e.$on("click",Fc),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&136&&(o.disabled=t[3]||!t[7].length),n&65536&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Zf(r){let e=M("workflows","request-cancellation")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function Rn(r){let e,l;return e=new Fr({props:{variant:"destructive",testId:"bulk-terminate-button",disabled:r[3],$$slots:{default:[xf]},$$scope:{ctx:r}}}),e.$on("click",Wc),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&8&&(o.disabled=t[3]),n&65536&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function xf(r){let e=M("workflows","terminate")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function ec(r){let e,l,t,n,o,a;const i=[Xf,Jf],s=[];function u(m,_){return m[6]?0:1}e=u(r),l=s[e]=i[e](r);let f=r[4]&&Mn(r),c=r[5]&&Rn(r);return{c(){l.c(),t=N(),n=W("div"),f&&f.c(),o=N(),c&&c.c(),this.h()},l(m){l.l(m),t=P(m),n=O(m,"DIV",{class:!0});var _=V(n);f&&f.l(_),o=P(_),c&&c.l(_),_.forEach(g),this.h()},h(){S(n,"class","ml-4 inline-flex gap-2")},m(m,_){s[e].m(m,_),I(m,t,_),I(m,n,_),f&&f.m(n,null),A(n,o),c&&c.m(n,null),a=!0},p(m,[_]){let d=e;e=u(m),e===d?s[e].p(m,_):(X(),h(s[d],1,1,()=>{s[d]=null}),Z(),l=s[e],l?l.p(m,_):(l=s[e]=i[e](m),l.c()),p(l,1),l.m(t.parentNode,t)),m[4]?f?(f.p(m,_),_&16&&p(f,1)):(f=Mn(m),f.c(),p(f,1),f.m(n,o)):f&&(X(),h(f,1,1,()=>{f=null}),Z()),m[5]?c?(c.p(m,_),_&32&&p(c,1)):(c=Rn(m),c.c(),p(c,1),c.m(n,null)):c&&(X(),h(c,1,1,()=>{c=null}),Z())},i(m){a||(p(l),p(f),p(c),a=!0)},o(m){h(l),h(f),h(c),a=!1},d(m){s[e].d(m),m&&g(t),m&&g(n),f&&f.d(),c&&c.d()}}}function tc(r,e,l){let t,n,o,a,i,s,u,f,c,m;U(r,Le,k=>l(10,a=k)),U(r,Me,k=>l(12,s=k)),U(r,Rt,k=>l(13,u=k)),U(r,mt,k=>l(14,f=k)),U(r,et,k=>l(6,c=k)),U(r,Wr,k=>l(7,m=k));var _;let{workflows:d}=e,$=Ho();U(r,$,k=>l(11,i=k));let b,w;const v=()=>Oc(d);return r.$$set=k=>{"workflows"in k&&l(0,d=k.workflows)},r.$$.update=()=>{r.$$.dirty&24576&&l(1,b=f?u.count:u.totalCount),r.$$.dirty&4608&&l(2,w=l(9,_=s==null?void 0:s.length)!==null&&_!==void 0?_:0),r.$$.dirty&1024&&l(5,t=Zr(a.data.settings)),r.$$.dirty&1024&&l(4,n=xr(a.data.settings)),r.$$.dirty&3072&&l(3,o=i.namespaceWriteDisabled(a.params.namespace))},[d,b,w,o,n,t,c,m,$,_,a,i,s,u,f,v]}class lc extends ue{constructor(e){super(),fe(this,e,tc,ec,ce,{workflows:0})}}function Hn(r){let e,l,t,n;function o(i){r[13](i)}let a={label:r[4],labelHidden:!0,id:"select-visible-workflows","data-testid":"batch-actions-checkbox",onDark:!0,hoverable:!0,indeterminate:r[5]};return r[7]!==void 0&&(a.checked=r[7]),l=new zt({props:a}),ie.push(()=>me(l,"checked",o)),l.$on("change",r[9]),{c(){e=W("th"),E(l.$$.fragment),this.h()},l(i){e=O(i,"TH",{class:!0});var s=V(e);T(l.$$.fragment,s),s.forEach(g),this.h()},h(){S(e,"class","batch-actions-checkbox-table-cell svelte-d401z4")},m(i,s){I(i,e,s),D(l,e,null),n=!0},p(i,s){const u={};s&16&&(u.label=i[4]),s&32&&(u.indeterminate=i[5]),!t&&s&128&&(t=!0,u.checked=i[7],_e(()=>t=!1)),l.$set(u)},i(i){n||(p(l.$$.fragment,i),n=!0)},o(i){h(l.$$.fragment,i),n=!1},d(i){i&&g(e),L(l)}}}function nc(r){let e;const l=r[12].default,t=Ie(l,r,r[11],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,o){t&&t.m(n,o),e=!0},p(n,o){t&&t.p&&(!e||o&2048)&&Ee(t,l,n,n[11],e?De(l,n[11],o,null):Te(n[11]),null)},i(n){e||(p(t,n),e=!0)},o(n){h(t,n),e=!1},d(n){t&&t.d(n)}}}function rc(r){let e,l,t;return l=new lc({props:{workflows:r[0]}}),{c(){e=W("th"),E(l.$$.fragment),this.h()},l(n){e=O(n,"TH",{class:!0,colspan:!0});var o=V(e);T(l.$$.fragment,o),o.forEach(g),this.h()},h(){S(e,"class","batch-actions-table-cell svelte-d401z4"),S(e,"colspan",r[3])},m(n,o){I(n,e,o),D(l,e,null),t=!0},p(n,o){const a={};o&1&&(a.workflows=n[0]),l.$set(a),(!t||o&8)&&S(e,"colspan",n[3])},i(n){t||(p(l.$$.fragment,n),t=!0)},o(n){h(l.$$.fragment,n),t=!1},d(n){n&&g(e),L(l)}}}function oc(r){let e,l,t,n,o,a,i,s,u=!r[1]&&r[6]&&Hn(r);const f=[rc,nc],c=[];function m(_,d){return _[6]&&_[8]?0:1}return t=m(r),n=c[t]=f[t](r),i=new Ve({props:{"data-testid":"workflows-summary-table-configuration-button",icon:"vertical-ellipsis",label:M("workflows","open-configure-workflows")}}),i.$on("click",function(){ir(r[2])&&r[2].apply(this,arguments)}),{c(){e=W("tr"),u&&u.c(),l=N(),n.c(),o=N(),a=W("th"),E(i.$$.fragment),this.h()},l(_){e=O(_,"TR",{});var d=V(e);u&&u.l(d),l=P(d),n.l(d),o=P(d),a=O(d,"TH",{class:!0});var $=V(a);T(i.$$.fragment,$),$.forEach(g),d.forEach(g),this.h()},h(){S(a,"class","configuration-button-table-cell svelte-d401z4")},m(_,d){I(_,e,d),u&&u.m(e,null),A(e,l),c[t].m(e,null),A(e,o),A(e,a),D(i,a,null),s=!0},p(_,[d]){r=_,!r[1]&&r[6]?u?(u.p(r,d),d&66&&p(u,1)):(u=Hn(r),u.c(),p(u,1),u.m(e,l)):u&&(X(),h(u,1,1,()=>{u=null}),Z());let $=t;t=m(r),t===$?c[t].p(r,d):(X(),h(c[$],1,1,()=>{c[$]=null}),Z(),n=c[t],n?n.p(r,d):(n=c[t]=f[t](r),n.c()),p(n,1),n.m(e,o))},i(_){s||(p(u),p(n),p(i.$$.fragment,_),s=!0)},o(_){h(u),h(n),h(i.$$.fragment,_),s=!1},d(_){_&&g(e),u&&u.d(),c[t].d(),L(i)}}}function sc(r,e,l){let t,n,o,a,i,s;U(r,Me,w=>l(10,o=w)),U(r,Pr,w=>l(6,a=w)),U(r,Dt,w=>l(7,i=w)),U(r,Nc,w=>l(8,s=w));let{$$slots:u={},$$scope:f}=e,{workflows:c}=e,{empty:m}=e,{onClickConfigure:_=K}=e,{columnsCount:d}=e;const $=w=>{const{checked:v}=w.detail;Vc(v,c)};function b(w){i=w,Dt.set(i)}return r.$$set=w=>{"workflows"in w&&l(0,c=w.workflows),"empty"in w&&l(1,m=w.empty),"onClickConfigure"in w&&l(2,_=w.onClickConfigure),"columnsCount"in w&&l(3,d=w.columnsCount),"$$scope"in w&&l(11,f=w.$$scope)},r.$$.update=()=>{r.$$.dirty&1025&&l(5,t=o.length>0&&o.lengthme(l,"group",o)),{c(){e=W("td"),E(l.$$.fragment)},l(i){e=O(i,"TD",{});var s=V(e);T(l.$$.fragment,s),s.forEach(g)},m(i,s){I(i,e,s),D(l,e,null),n=!0},p(i,s){const u={};s&4&&(u.label=i[2]),s&1&&(u.value=i[0]),s&32&&(u.disabled=i[5]),s&4&&(u["aria-label"]=i[2]),!t&&s&16&&(t=!0,u.group=i[4],_e(()=>t=!1)),l.$set(u)},i(i){n||(p(l.$$.fragment,i),n=!0)},o(i){h(l.$$.fragment,i),n=!1},d(i){i&&g(e),L(l)}}}function ic(r){let e,l,t,n,o,a=!r[1]&&r[3]&&Un(r);const i=r[7].default,s=Ie(i,r,r[6],null);return{c(){e=W("tr"),a&&a.c(),l=N(),s&&s.c(),t=N(),n=W("td"),this.h()},l(u){e=O(u,"TR",{"data-testid":!0});var f=V(e);a&&a.l(f),l=P(f),s&&s.l(f),t=P(f),n=O(f,"TD",{}),V(n).forEach(g),f.forEach(g),this.h()},h(){S(e,"data-testid","workflows-summary-configurable-table-row"),pe(e,"empty",r[1])},m(u,f){I(u,e,f),a&&a.m(e,null),A(e,l),s&&s.m(e,null),A(e,t),A(e,n),o=!0},p(u,[f]){!u[1]&&u[3]?a?(a.p(u,f),f&10&&p(a,1)):(a=Un(u),a.c(),p(a,1),a.m(e,l)):a&&(X(),h(a,1,1,()=>{a=null}),Z()),s&&s.p&&(!o||f&64)&&Ee(s,i,u,u[6],o?De(i,u[6],f,null):Te(u[6]),null),(!o||f&2)&&pe(e,"empty",u[1])},i(u){o||(p(a),p(s,u),o=!0)},o(u){h(a),h(s,u),o=!1},d(u){u&&g(e),a&&a.d(),s&&s.d(u)}}}function uc(r,e,l){let t,n,o,a;U(r,Pr,m=>l(3,n=m)),U(r,Me,m=>l(4,o=m)),U(r,et,m=>l(5,a=m));let{$$slots:i={},$$scope:s}=e,{workflow:u=void 0}=e,{empty:f=!1}=e;function c(m){o=m,Me.set(o)}return r.$$set=m=>{"workflow"in m&&l(0,u=m.workflow),"empty"in m&&l(1,f=m.empty),"$$scope"in m&&l(6,s=m.$$scope)},r.$$.update=()=>{r.$$.dirty&1&&l(2,t=M("workflows","select-workflow",{workflow:u==null?void 0:u.id}))},[u,f,t,n,o,a,s,i,c]}class fc extends ue{constructor(e){super(),fe(this,e,uc,ic,ce,{workflow:0,empty:1})}}function qn(r,e,l){const t=r.slice();return t[18]=e[l],t}function jn(r,e,l){const t=r.slice();return t[15]=e[l],t}function zn(r,e,l){const t=r.slice();return t[15]=e[l],t}const cc=r=>({}),Qn=r=>({slot:"cloud"});function Kn(r){let e,l;return e=new hf({props:{workflow:r[18],column:r[15]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&16384&&(o.workflow=t[18]),n&16&&(o.column=t[15]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function mc(r){let e,l,t=r[4],n=[];for(let a=0;ah(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;ah(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;ah(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;a({14:o}),({visibleItems:o})=>o?16384:0],headers:[$c,({visibleItems:o})=>({14:o}),({visibleItems:o})=>o?16384:0],caption:[dc,({visibleItems:o})=>({14:o}),({visibleItems:o})=>o?16384:0],default:[_c,({visibleItems:o})=>({14:o}),({visibleItems:o})=>o?16384:0]},$$scope:{ctx:r}}}),t=new yo({props:{open:r[2],onClick:r[7],position:"right",id:"workflows-summary-table-configuration-drawer",dark:!1,title:M("workflows","configure-workflows"),closeButtonLabel:M("workflows","close-configure-workflows"),$$slots:{subtitle:[bc],default:[hc]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment),l=N(),E(t.$$.fragment)},l(o){T(e.$$.fragment,o),l=P(o),T(t.$$.fragment,o)},m(o,a){D(e,o,a),I(o,l,a),D(t,o,a),n=!0},p(o,[a]){const i={};a&32&&(i.updating=o[5]),a&2&&(i.items=o[1]),a&24600&&(i.$$scope={dirty:a,ctx:o}),e.$set(i);const s={};a&4&&(s.open=o[2]),a&8193&&(s.$$scope={dirty:a,ctx:o}),t.$set(s)},i(o){n||(p(e.$$.fragment,o),p(t.$$.fragment,o),n=!0)},o(o){h(e.$$.fragment,o),h(t.$$.fragment,o),n=!1},d(o){L(e,o),o&&g(l),L(t,o)}}}function wc(r,e,l){let t,n,o,a,i,s,u;U(r,sl,w=>l(1,a=w)),U(r,Yt,w=>l(9,i=w)),U(r,Le,w=>l(10,s=w)),U(r,bt,w=>l(5,u=w));let{$$slots:f={},$$scope:c}=e;var m;let _=!1;const d=()=>{l(2,_=!0)},$=()=>{l(2,_=!1)},b=w=>M("go-to-page",{page:w});return r.$$set=w=>{"$$scope"in w&&l(13,c=w.$$scope)},r.$$.update=()=>{r.$$.dirty&1024&&l(0,{namespace:t}=s.params,t),r.$$.dirty&769&&l(4,n=l(8,m=i==null?void 0:i[t])!==null&&m!==void 0?m:[]),r.$$.dirty&2&&l(3,o=a.length===0)},[t,a,_,o,n,u,d,$,m,i,s,f,b,c]}class vc extends ue{constructor(e){super(),fe(this,e,wc,kc,ce,{})}}const Ic=r=>{const e=ko({workflows:r},null,2);l(e,`workflows-${r==null?void 0:r.length}-${Date.now()}.json`,"text/plain");function l(t,n,o){const a=document.createElement("a"),i=new Blob([t],{type:o});a.href=URL.createObjectURL(i),a.download=n,a.click()}},Ec=r=>({}),Jn=r=>({slot:"cloud"});function Xn(r){let e,l;return e=new oo({props:{class:"h-8 w-8 animate-spin"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Zn(r){let e,l,t,n,o;const a=[Lc,Dc,Tc],i=[];function s(u,f){return u[5]||u[1]?0:u[0]?1:2}return l=s(r),t=i[l]=a[l](r),{c(){e=W("p"),t.c(),this.h()},l(u){e=O(u,"P",{"data-testid":!0,"data-loaded":!0});var f=V(e);t.l(f),f.forEach(g),this.h()},h(){S(e,"data-testid","workflow-count"),S(e,"data-loaded",n=!r[5]&&!r[1])},m(u,f){I(u,e,f),i[l].m(e,null),o=!0},p(u,f){let c=l;l=s(u),l===c?i[l].p(u,f):(X(),h(i[c],1,1,()=>{i[c]=null}),Z(),t=i[l],t?t.p(u,f):(t=i[l]=a[l](u),t.c()),p(t,1),t.m(e,null)),(!o||f[0]&34&&n!==(n=!u[5]&&!u[1]))&&S(e,"data-loaded",n)},i(u){o||(p(t),o=!0)},o(u){h(t),o=!1},d(u){u&&g(e),i[l].d()}}}function Tc(r){let e,l;return e=new Fe({props:{namespace:"workflows",key:"workflows-count",count:r[6].totalCount}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n[0]&64&&(o.count=t[6].totalCount),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Dc(r){let e,l;return e=new Fe({props:{namespace:"workflows",key:"filtered-workflows-count",replace:{filtered:r[6].count,total:r[6].totalCount}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n[0]&64&&(o.replace={filtered:t[6].count,total:t[6].totalCount}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Lc(r){let e,l;return e=new Fe({props:{namespace:"workflows",key:"loading-workflows"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Cc(r){let e=M("download-json")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function xn(r){let e,l;return e=new Ui({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function yc(r){let e,l;return e=new Ni({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Bc(r){let e,l;return e=new Dr({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Sc(r){let e;const l=r[17].cloud,t=Ie(l,r,r[21],Jn);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,o){t&&t.m(n,o),e=!0},p(n,o){t&&t.p&&(!e||o[0]&2097152)&&Ee(t,l,n,n[21],e?De(l,n[21],o,Ec):Te(n[21]),Jn)},i(n){e||(p(t,n),e=!0)},o(n){h(t,n),e=!1},d(n){t&&t.d(n)}}}function Ac(r){var ge;let e,l,t,n,o,a,i,s,u,f,c,m,_,d,$,b,w,v,k,B,y,C,R,q,j,Y,F={action:dt.Terminate,actionableWorkflowsLength:r[3].length,query:r[2]};e=new Sl({props:F}),r[18](e),e.$on("confirm",r[11]);let J={action:dt.Cancel,actionableWorkflowsLength:r[4].length,query:r[2]};t=new Sl({props:J}),r[19](t),t.$on("confirm",r[12]),u=new Fe({props:{namespace:"workflows",key:"recent-workflows"}});let le=(r[5]||r[1])&&Xn(),G=((ge=r[6])==null?void 0:ge.totalCount)>=0&&r[7]&&!r[8]&&Zn(r);$=new wt({props:{tabindex:0,$$slots:{default:[Cc]},$$scope:{ctx:r}}}),$.$on("click",r[20]),w=new Ve({props:{icon:"retry",label:M("workflows","retry-workflows")}}),w.$on("click",r[10]);let oe=r[8]&&xn();return y=new ul({props:{$$slots:{fallback:[Bc],default:[yc]},$$scope:{ctx:r}}}),R=new Gs({}),j=new vc({props:{$$slots:{cloud:[Sc]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment),l=N(),E(t.$$.fragment),n=N(),o=W("header"),a=W("div"),i=W("div"),s=W("h1"),E(u.$$.fragment),f=N(),le&&le.c(),c=N(),m=W("div"),G&&G.c(),_=N(),d=W("div"),E($.$$.fragment),b=N(),E(w.$$.fragment),v=N(),oe&&oe.c(),k=N(),B=W("div"),E(y.$$.fragment),C=N(),E(R.$$.fragment),q=N(),E(j.$$.fragment),this.h()},l(H){T(e.$$.fragment,H),l=P(H),T(t.$$.fragment,H),n=P(H),o=O(H,"HEADER",{class:!0});var x=V(o);a=O(x,"DIV",{class:!0});var he=V(a);i=O(he,"DIV",{});var be=V(i);s=O(be,"H1",{class:!0,"data-cy":!0});var ke=V(s);T(u.$$.fragment,ke),f=P(ke),le&&le.l(ke),ke.forEach(g),c=P(be),m=O(be,"DIV",{class:!0});var we=V(m);G&&G.l(we),we.forEach(g),be.forEach(g),_=P(he),d=O(he,"DIV",{class:!0});var ve=V(d);T($.$$.fragment,ve),b=P(ve),T(w.$$.fragment,ve),ve.forEach(g),he.forEach(g),v=P(x),oe&&oe.l(x),x.forEach(g),k=P(H),B=O(H,"DIV",{class:!0});var Be=V(B);T(y.$$.fragment,Be),C=P(Be),T(R.$$.fragment,Be),Be.forEach(g),q=P(H),T(j.$$.fragment,H),this.h()},h(){S(s,"class","flex items-center text-2xl"),S(s,"data-cy","workflows-title"),S(m,"class","flex items-center gap-2 text-sm"),S(d,"class","flex items-center gap-2 text-sm"),S(a,"class","flex items-center justify-between"),S(o,"class","flex flex-col"),S(B,"class","flex flex-col gap-2 md:flex-row")},m(H,x){D(e,H,x),I(H,l,x),D(t,H,x),I(H,n,x),I(H,o,x),A(o,a),A(a,i),A(i,s),D(u,s,null),A(s,f),le&&le.m(s,null),A(i,c),A(i,m),G&&G.m(m,null),A(a,_),A(a,d),D($,d,null),A(d,b),D(w,d,null),A(o,v),oe&&oe.m(o,null),I(H,k,x),I(H,B,x),D(y,B,null),A(B,C),D(R,B,null),I(H,q,x),D(j,H,x),Y=!0},p(H,x){var Be;const he={};x[0]&8&&(he.actionableWorkflowsLength=H[3].length),x[0]&4&&(he.query=H[2]),e.$set(he);const be={};x[0]&16&&(be.actionableWorkflowsLength=H[4].length),x[0]&4&&(be.query=H[2]),t.$set(be),H[5]||H[1]?le?x[0]&34&&p(le,1):(le=Xn(),le.c(),p(le,1),le.m(s,null)):le&&(X(),h(le,1,1,()=>{le=null}),Z()),((Be=H[6])==null?void 0:Be.totalCount)>=0&&H[7]&&!H[8]?G?(G.p(H,x),x[0]&448&&p(G,1)):(G=Zn(H),G.c(),p(G,1),G.m(m,null)):G&&(X(),h(G,1,1,()=>{G=null}),Z());const ke={};x[0]&2097152&&(ke.$$scope={dirty:x,ctx:H}),$.$set(ke),H[8]?oe?x[0]&256&&p(oe,1):(oe=xn(),oe.c(),p(oe,1),oe.m(o,null)):oe&&(X(),h(oe,1,1,()=>{oe=null}),Z());const we={};x[0]&2097152&&(we.$$scope={dirty:x,ctx:H}),y.$set(we);const ve={};x[0]&2097152&&(ve.$$scope={dirty:x,ctx:H}),j.$set(ve)},i(H){Y||(p(e.$$.fragment,H),p(t.$$.fragment,H),p(u.$$.fragment,H),p(le),p(G),p($.$$.fragment,H),p(w.$$.fragment,H),p(oe),p(y.$$.fragment,H),p(R.$$.fragment,H),p(j.$$.fragment,H),Y=!0)},o(H){h(e.$$.fragment,H),h(t.$$.fragment,H),h(u.$$.fragment,H),h(le),h(G),h($.$$.fragment,H),h(w.$$.fragment,H),h(oe),h(y.$$.fragment,H),h(R.$$.fragment,H),h(j.$$.fragment,H),Y=!1},d(H){r[18](null),L(e,H),H&&g(l),r[19](null),L(t,H),H&&g(n),H&&g(o),L(u),le&&le.d(),G&&G.d(),L($),L(w),oe&&oe.d(),H&&g(k),H&&g(B),L(y),L(R),H&&g(q),L(j,H)}}}let Re,He;const et=Xe(!1),Dt=Xe(!1),Me=Xe([]),Nc=ut(Me,r=>r.length>0),Pc=ut(Me,r=>r.filter(e=>e.canBeTerminated)),Wr=ut(Me,r=>r.filter(e=>e.status==="Running")),Fc=()=>{He==null||He.open()},Wc=()=>{Re==null||Re.open()},Oc=r=>{et.set(!0),Me.set([...r])},Vc=(r,e)=>{Dt.set(r),et&&et.set(!1),r?Me.set([...e]):Me.set([])};function Mc(r,e,l){let t,n,o,a,i,s,u=K,f,c=K,m,_,d,$=K,b,w=K,v,k,B,y,C,R,q,j=K,Y,F,J,le,G;U(r,bt,ne=>l(1,a=ne)),U(r,mt,ne=>l(14,i=ne)),U(r,Pc,ne=>l(3,s=ne)),U(r,et,ne=>l(22,f=ne)),U(r,Le,ne=>l(15,m=ne)),U(r,ze,ne=>l(23,_=ne)),U(r,Me,ne=>l(24,d=ne)),U(r,Dt,ne=>l(25,b=ne)),U(r,kt,ne=>l(26,v=ne)),U(r,Ze,ne=>l(27,k=ne)),U(r,de,ne=>l(16,B=ne)),U(r,Ut,ne=>l(28,y=ne)),U(r,tl,ne=>l(29,C=ne)),U(r,Ht,ne=>l(30,R=ne)),U(r,Wr,ne=>l(4,q=ne)),U(r,St,ne=>l(5,Y=ne)),U(r,Rt,ne=>l(6,F=ne)),U(r,ht,ne=>l(7,J=ne)),U(r,Io,ne=>l(8,le=ne)),U(r,sl,ne=>l(9,G=ne)),r.$$.on_destroy.push(()=>u()),r.$$.on_destroy.push(()=>c()),r.$$.on_destroy.push(()=>$()),r.$$.on_destroy.push(()=>w()),r.$$.on_destroy.push(()=>j());let{$$slots:oe={},$$scope:ge}=e;const H=()=>{!t&&!B.length&&C&&(te(de,B=[C],B),Qe(m.url,B,k))};fr(()=>{te(Ut,y=m.params.namespace,y),t&&te(de,B=k?nl(t,v):nl(t),B)});const x=()=>{te(et,f=!1,f),te(Dt,b=!1,b),te(Me,d=[],d)},he=()=>{x(),te(ze,_=Date.now(),_)},be=async ne=>{var se;try{const Ce={namespace:m.params.namespace,reason:ne.detail.reason,jobId:ne.detail.jobId,...f?{query:o}:{workflows:s}};await Uo(Ce),Re==null||Re.close(),kl.push({message:M("workflows","batch-terminate-all-success"),id:"batch-terminate-success-toast"})}catch(Ce){Re==null||Re.setError((se=Ce==null?void 0:Ce.message)!==null&&se!==void 0?se:M("unknown-error"))}},ke=async ne=>{var se;const Ce={namespace:m.params.namespace,reason:ne.detail.reason,jobId:ne.detail.jobId,...f?{query:o}:{workflows:s}};try{await qo(Ce),He==null||He.close(),kl.push({message:M("workflows","batch-cancel-all-success"),id:"batch-cancel-success-toast"})}catch(Ae){He==null||He.setError((se=Ae==null?void 0:Ae.message)!==null&&se!==void 0?se:M("unknown-error"))}};function we(ne){ie[ne?"unshift":"push"](()=>{Re=ne})}function ve(ne){ie[ne?"unshift":"push"](()=>{He=ne})}const Be=()=>Ic(G);return r.$$set=ne=>{"$$scope"in ne&&l(21,ge=ne.$$scope)},r.$$.update=()=>{r.$$.dirty[0]&32768&&l(0,t=m.url.searchParams.get("query")),r.$$.dirty[0]&1&&t&&te(mt,i=t,i),r.$$.dirty[0]&32768&&l(13,n=m.url.searchParams.toString()),r.$$.dirty[0]&8192&&te(Ht,R=n,R),r.$$.dirty[0]&65536&&(B.length||te(mt,i="",i)),r.$$.dirty[0]&32768&&(m.params.namespace,H()),r.$$.dirty[0]&16384&&l(2,o=i||'ExecutionStatus="Running"'),r.$$.dirty[0]&2&&a&&x()},[t,a,o,s,q,Y,F,J,le,G,he,be,ke,n,i,m,B,oe,we,ve,Be,ge]}class Rc extends ue{constructor(e){super(),fe(this,e,Mc,Ac,ce,{},null,[-1,-1])}}function er(r,e,l){const t=r.slice();return t[16]=e[l][0],t[17]=e[l][1],t}function tr(r,e,l){const t=r.slice();return t[17]=e[l],t}function Hc(r){let e,l;return e=new wt({props:{href:r[2].url.pathname+"?search=advanced",$$slots:{default:[qc]},$$scope:{ctx:r}}}),e.$on("click",r[6]("advanced")),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&4&&(o.href=t[2].url.pathname+"?search=advanced"),n&4194304&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Uc(r){let e,l;return e=new wt({props:{href:r[2].url.pathname+"?search=basic",$$slots:{default:[jc]},$$scope:{ctx:r}}}),e.$on("click",r[6]("basic")),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&4&&(o.href=t[2].url.pathname+"?search=basic"),n&4194304&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function qc(r){let e=M("workflows","advanced-search")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function jc(r){let e=M("workflows","basic-search")+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function zc(r){let e,l,t,n,o,a,i,s,u,f,c,m,_,d,$,b;function w(F){r[9](F)}let v={icon:"search",type:"search",id:"workflow-id-filter",placeholder:M("workflow-id"),label:M("workflow-id"),labelHidden:!0};r[3].workflowId!==void 0&&(v.value=r[3].workflowId),l=new Pe({props:v}),ie.push(()=>me(l,"value",w)),l.$on("input",r[8]);function k(F){r[10](F)}let B={icon:"search",type:"search",id:"workflow-type-filter",placeholder:M("workflow-type"),label:M("workflow-type"),labelHidden:!0};r[3].workflowType!==void 0&&(B.value=r[3].workflowType),o=new Pe({props:B}),ie.push(()=>me(o,"value",k)),o.$on("input",r[8]);function y(F){r[11](F)}let C={id:"time-range-filter",label:"Time Range",$$slots:{default:[Jc]},$$scope:{ctx:r}};r[3].timeRange!==void 0&&(C.value=r[3].timeRange),s=new Xt({props:C}),ie.push(()=>me(s,"value",y)),s.$on("change",r[8]);function R(F){r[12](F)}let q={id:"execution-status-filter",label:"Workflow Status",$$slots:{default:[Zc]},$$scope:{ctx:r}};r[3].executionStatus!==void 0&&(q.value=r[3].executionStatus),c=new Xt({props:q}),ie.push(()=>me(c,"value",R)),c.$on("change",r[8]);function j(F){r[13](F)}let Y={id:"filter-by-relative-time",label:"Time Format",$$slots:{default:[lm]},$$scope:{ctx:r}};return r[4]!==void 0&&(Y.value=r[4]),d=new Xt({props:Y}),ie.push(()=>me(d,"value",j)),{c(){e=W("div"),E(l.$$.fragment),n=N(),E(o.$$.fragment),i=N(),E(s.$$.fragment),f=N(),E(c.$$.fragment),_=N(),E(d.$$.fragment),this.h()},l(F){e=O(F,"DIV",{role:!0,class:!0});var J=V(e);T(l.$$.fragment,J),n=P(J),T(o.$$.fragment,J),i=P(J),T(s.$$.fragment,J),f=P(J),T(c.$$.fragment,J),_=P(J),T(d.$$.fragment,J),J.forEach(g),this.h()},h(){S(e,"role","search"),S(e,"class","grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-5")},m(F,J){I(F,e,J),D(l,e,null),A(e,n),D(o,e,null),A(e,i),D(s,e,null),A(e,f),D(c,e,null),A(e,_),D(d,e,null),b=!0},p(F,J){const le={};!t&&J&8&&(t=!0,le.value=F[3].workflowId,_e(()=>t=!1)),l.$set(le);const G={};!a&&J&8&&(a=!0,G.value=F[3].workflowType,_e(()=>a=!1)),o.$set(G);const oe={};J&4194312&&(oe.$$scope={dirty:J,ctx:F}),!u&&J&8&&(u=!0,oe.value=F[3].timeRange,_e(()=>u=!1)),s.$set(oe);const ge={};J&4194304&&(ge.$$scope={dirty:J,ctx:F}),!m&&J&8&&(m=!0,ge.value=F[3].executionStatus,_e(()=>m=!1)),c.$set(ge);const H={};J&4194304&&(H.$$scope={dirty:J,ctx:F}),!$&&J&16&&($=!0,H.value=F[4],_e(()=>$=!1)),d.$set(H)},i(F){b||(p(l.$$.fragment,F),p(o.$$.fragment,F),p(s.$$.fragment,F),p(c.$$.fragment,F),p(d.$$.fragment,F),b=!0)},o(F){h(l.$$.fragment,F),h(o.$$.fragment,F),h(s.$$.fragment,F),h(c.$$.fragment,F),h(d.$$.fragment,F),b=!1},d(F){F&&g(e),L(l),L(o),L(s),L(c),L(d)}}}function Qc(r){let e,l;return e=new uo({props:{icon:!0,id:"advanced-search",placeholder:"Query…",value:r[1]}}),e.$on("submit",r[7]),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&2&&(o.value=t[1]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Kc(r){let e;return{c(){e=z("All")},l(l){e=Q(l,"All")},m(l,t){I(l,e,t)},d(l){l&&g(e)}}}function lr(r){let e,l;return e=new ot({props:{value:r[3].timeRange,$$slots:{default:[Gc]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&8&&(o.value=t[3].timeRange),n&4194312&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Gc(r){let e=r[3].timeRange+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p(t,n){n&8&&e!==(e=t[3].timeRange+"")&&ae(l,e)},d(t){t&&g(l)}}}function Yc(r){let e=r[17]+"",l;return{c(){l=z(e)},l(t){l=Q(t,e)},m(t,n){I(t,l,n)},p:K,d(t){t&&g(l)}}}function nr(r){let e,l;return e=new ot({props:{value:r[17],$$slots:{default:[Yc]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&4194304&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function Jc(r){let e,l,t=r[3].timeRange&&!Nt.includes(r[3].timeRange),n,o,a;e=new ot({props:{value:null,$$slots:{default:[Kc]},$$scope:{ctx:r}}});let i=t&&lr(r),s=Nt,u=[];for(let c=0;ch(u[c],1,1,()=>{u[c]=null});return{c(){E(e.$$.fragment),l=N(),i&&i.c(),n=N();for(let c=0;c{i=null}),Z()),m&0){s=Nt;let d;for(d=0;di[16];for(let i=0;i{f[w]=null}),Z(),n=f[t],n?n.p($,b):(n=f[t]=u[t]($),n.c()),p(n,1),n.m(l,null));let v=a;a=d($),a===v?_[a].p($,b):(X(),h(_[v],1,1,()=>{_[v]=null}),Z(),i=_[a],i?i.p($,b):(i=_[a]=m[a]($),i.c()),p(i,1),i.m(e,null))},i($){s||(p(n),p(i),s=!0)},o($){h(n),h(i),s=!1},d($){$&&g(e),f[t].d(),_[a].d()}}}function rm(r,e,l){let t,n,o,a;U(r,Le,k=>l(2,o=k)),U(r,Vt,k=>l(4,a=k));const i=pt();let{searchType:s}=e;const u=bl({timeRange:"All"}),f={All:null,Running:"Running","Timed Out":"TimedOut",Completed:"Completed",Failed:"Failed","Continued as New":"ContinuedAsNew",Canceled:"Canceled",Terminated:"Terminated"},c=k=>()=>{l(0,s=k)},m=k=>{i("search");const B=new FormData(k.target);l(1,t=String(B.get("query"))),l(3,n=Tl(t)),Ue({url:o.url,parameter:"query",value:t})},_=dr(()=>{i("search"),l(1,t=bl(n)),Ue({url:o.url,parameter:"query",value:t,allowEmpty:!0})},300);function d(k){r.$$.not_equal(n.workflowId,k)&&(n.workflowId=k,l(3,n),l(1,t),l(2,o))}function $(k){r.$$.not_equal(n.workflowType,k)&&(n.workflowType=k,l(3,n),l(1,t),l(2,o))}function b(k){r.$$.not_equal(n.timeRange,k)&&(n.timeRange=k,l(3,n),l(1,t),l(2,o))}function w(k){r.$$.not_equal(n.executionStatus,k)&&(n.executionStatus=k,l(3,n),l(1,t),l(2,o))}function v(k){a=k,Vt.set(a)}return r.$$set=k=>{"searchType"in k&&l(0,s=k.searchType)},r.$$.update=()=>{r.$$.dirty&4&&l(1,t=o.url.searchParams.get("query")),r.$$.dirty&2&&l(3,n=Tl(t??u))},[s,t,o,n,a,f,c,m,_,d,$,b,w,v]}class om extends ue{constructor(e){super(),fe(this,e,rm,nm,ce,{searchType:0})}}const sm=r=>wo(r)?r==="basic"||r==="advanced":!1,am=r=>{const e=r.searchParams.get("search");return sm(e)?e:(r.searchParams.set("search","basic"),"basic")};function or(r,e,l){const t=r.slice();return t[13]=e[l],t}function sr(r){let e,l,t,n,o,a,i,s,u,f;const c=[um,im],m=[];function _(w,v){return w[4]?0:1}t=_(r),n=m[t]=c[t](r);const d=[cm,fm],$=[];function b(w,v){return w[4]?0:1}return i=b(r),s=$[i]=d[i](r),{c(){e=W("tr"),l=W("td"),n.c(),o=N(),a=W("td"),s.c(),u=N(),this.h()},l(w){e=O(w,"TR",{});var v=V(e);l=O(v,"TD",{colspan:!0,class:!0});var k=V(l);n.l(k),k.forEach(g),o=P(v),a=O(v,"TD",{colspan:!0,class:!0});var B=V(a);s.l(B),B.forEach(g),u=P(v),v.forEach(g),this.h()},h(){S(l,"colspan","5"),S(l,"class","xl:hidden"),S(a,"colspan","7"),S(a,"class","hidden xl:table-cell")},m(w,v){I(w,e,v),A(e,l),m[t].m(l,null),A(e,o),A(e,a),$[i].m(a,null),A(e,u),f=!0},p(w,v){let k=t;t=_(w),t===k?m[t].p(w,v):(X(),h(m[k],1,1,()=>{m[k]=null}),Z(),n=m[t],n?n.p(w,v):(n=m[t]=c[t](w),n.c()),p(n,1),n.m(l,null));let B=i;i=b(w),i===B?$[i].p(w,v):(X(),h($[B],1,1,()=>{$[B]=null}),Z(),s=$[i],s?s.p(w,v):(s=$[i]=d[i](w),s.c()),p(s,1),s.m(a,null))},i(w){f||(p(n),p(s),f=!0)},o(w){h(n),h(s),f=!1},d(w){w&&g(e),m[t].d(),$[i].d()}}}function im(r){let e,l;return e=new kr({props:{title:"No Workflows Found",content:r[6],error:r[5]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&32&&(o.error=t[5]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function um(r){let e,l;return e=new al({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function fm(r){let e,l;return e=new kr({props:{title:"No Workflows Found",content:r[6],error:r[5]}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&32&&(o.error=t[5]),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function cm(r){let e,l;return e=new al({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function ar(r){let e,l;return e=new co({props:{workflow:r[13],namespace:r[1].params.namespace}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p(t,n){const o={};n&4096&&(o.workflow=t[13]),n&2&&(o.namespace=t[1].params.namespace),e.$set(o)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function mm(r){let e,l,t=r[12],n=[];for(let i=0;ih(n[i],1,1,()=>{n[i]=null});let a=null;return t.length||(a=sr(r)),{c(){for(let i=0;i{a=null}),Z()):(a=sr(i),a.c(),p(a,1),a.m(e.parentNode,e))}},i(i){if(!l){for(let s=0;sme($,"searchType",B)),v=new Po({props:{items:r[2],"aria-label":M("workflows","recent-workflows"),pageSizeSelectLabel:M("per-page"),previousButtonLabel:M("previous"),nextButtonLabel:M("next"),$$slots:{default:[_m,({visibleItems:C})=>({12:C}),({visibleItems:C})=>C?4096:0]},$$scope:{ctx:r}}}),{c(){e=W("header"),l=W("div"),t=W("h1"),o=z(n),a=N(),i=W("div"),s=W("p"),f=z(u),c=N(),m=W("div"),E(_.$$.fragment),d=N(),E($.$$.fragment),w=N(),E(v.$$.fragment),this.h()},l(C){e=O(C,"HEADER",{class:!0});var R=V(e);l=O(R,"DIV",{});var q=V(l);t=O(q,"H1",{class:!0,"data-testid":!0});var j=V(t);o=Q(j,n),j.forEach(g),a=P(q),i=O(q,"DIV",{class:!0});var Y=V(i);s=O(Y,"P",{"data-testid":!0});var F=V(s);f=Q(F,u),F.forEach(g),Y.forEach(g),q.forEach(g),c=P(R),m=O(R,"DIV",{});var J=V(m);T(_.$$.fragment,J),J.forEach(g),R.forEach(g),d=P(C),T($.$$.fragment,C),w=P(C),T(v.$$.fragment,C),this.h()},h(){S(t,"class","text-2xl"),S(t,"data-testid","namespace-title"),S(s,"data-testid","namespace-name"),S(i,"class","flex items-center gap-2 text-sm"),S(e,"class","mb-2 flex items-center justify-between")},m(C,R){I(C,e,R),A(e,l),A(l,t),A(t,o),A(l,a),A(l,i),A(i,s),A(s,f),A(e,c),A(e,m),D(_,m,null),I(C,d,R),D($,C,R),I(C,w,R),D(v,C,R),k=!0},p(C,[R]){(!k||R&2)&&u!==(u=C[1].params.namespace+"")&&ae(f,u);const q={};!b&&R&1&&(b=!0,q.searchType=C[0],_e(()=>b=!1)),$.$set(q);const j={};R&4&&(j.items=C[2]),R&69690&&(j.$$scope={dirty:R,ctx:C}),v.$set(j)},i(C){k||(p(_.$$.fragment,C),p($.$$.fragment,C),p(v.$$.fragment,C),k=!0)},o(C){h(_.$$.fragment,C),h($.$$.fragment,C),h(v.$$.fragment,C),k=!1},d(C){C&&g(e),L(_),C&&g(d),L($,C),C&&g(w),L(v,C)}}}function pm(r,e,l){let t,n,o,a,i,s,u,f;U(r,Le,$=>l(1,t=$)),U(r,Ht,$=>l(9,n=$)),U(r,ze,$=>l(10,o=$)),U(r,Ut,$=>l(11,a=$)),U(r,sl,$=>l(2,i=$)),U(r,bt,$=>l(3,s=$)),U(r,St,$=>l(4,u=$)),U(r,pr,$=>l(5,f=$));let c=am(t.url);const m=c==="advanced"?"Please check your syntax and try again.":"If you have filters applied, try adjusting them.";fr(()=>{te(Ut,a=t.params.namespace,a)});const _=()=>{te(ze,o=Date.now(),o)};zr(()=>{te(Ht,n=t.url.searchParams.toString(),n)});function d($){c=$,l(0,c)}return[c,t,i,s,u,f,m,_,d]}class $m extends ue{constructor(e){super(),fe(this,e,pm,dm,ce,{})}}function gm(r){let e,l;return e=new Rc({}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function hm(r){let e,l;return e=new $m({props:{slot:"fallback"}}),{c(){E(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){D(e,t,n),l=!0},p:K,i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){h(e.$$.fragment,t),l=!1},d(t){L(e,t)}}}function bm(r){let e,l,t,n;return e=new Kr({props:{title:`Workflows | ${r[0].params.namespace}`,url:r[0].url.href}}),t=new Xo({props:{$$slots:{fallback:[hm],default:[gm]},$$scope:{ctx:r}}}),{c(){E(e.$$.fragment),l=N(),E(t.$$.fragment)},l(o){T(e.$$.fragment,o),l=P(o),T(t.$$.fragment,o)},m(o,a){D(e,o,a),I(o,l,a),D(t,o,a),n=!0},p(o,[a]){const i={};a&1&&(i.title=`Workflows | ${o[0].params.namespace}`),a&1&&(i.url=o[0].url.href),e.$set(i);const s={};a&2&&(s.$$scope={dirty:a,ctx:o}),t.$set(s)},i(o){n||(p(e.$$.fragment,o),p(t.$$.fragment,o),n=!0)},o(o){h(e.$$.fragment,o),h(t.$$.fragment,o),n=!1},d(o){L(e,o),o&&g(l),L(t,o)}}}function km(r,e,l){let t;return U(r,Le,n=>l(0,t=n)),[t]}class g_ extends ue{constructor(e){super(),fe(this,e,km,bm,ce,{})}}export{g_ as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-namespaces-page.svelte.ae96de4b.js b/ui/assets/local/_app/immutable/entry/(app)-namespaces-page.svelte.eb0a6627.js similarity index 94% rename from ui/assets/local/_app/immutable/entry/(app)-namespaces-page.svelte.ae96de4b.js rename to ui/assets/local/_app/immutable/entry/(app)-namespaces-page.svelte.eb0a6627.js index ba778cb927..ac2d0be87e 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-namespaces-page.svelte.ae96de4b.js +++ b/ui/assets/local/_app/immutable/entry/(app)-namespaces-page.svelte.eb0a6627.js @@ -1 +1 @@ -import{S as J,b as M,a as Q,C as d,c as B,m as P,w as x,e as E,D as b,d as C,p as y,q as I,x as N,k as p,u as L,E as k,f as $,L as q,g as u,h as O,j as m,F as w,K as H,z as G,n as z,a7 as R,y as U}from"../chunks/index.09834243.js";import{p as V}from"../chunks/stores.9d4a2bb0.js";import{P as W}from"../chunks/page-title.34fd480b.js";import{E as X}from"../chunks/empty-state.aea525ff.js";import{L as Y}from"../chunks/link.4944a6a5.js";import{P as Z}from"../chunks/pagination.3eb97d83.js";import{T as ee,a as te}from"../chunks/table-header-row.843c5ee2.js";import{T as ae}from"../chunks/table-row.185c48e5.js";import{t as h}from"../chunks/translate.0a219ae4.js";import{n as ne}from"../chunks/namespaces.5721b9bd.js";import{p as j}from"../chunks/route-for.3b55a4c6.js";function A(f,t,n){const e=f.slice();return e[3]=t[n],e}function re(f){let t,n;return t=new X({props:{title:h("namespaces","namespaces-empty-state-title"),content:h("namespaces","namespaces-empty-state-content")}}),{c(){d(t.$$.fragment)},l(e){b(t.$$.fragment,e)},m(e,a){k(t,e,a),n=!0},p:z,i(e){n||(m(t.$$.fragment,e),n=!0)},o(e){u(t.$$.fragment,e),n=!1},d(e){w(t,e)}}}function se(f){let t,n;return t=new Z({props:{items:f[1],"aria-label":h("namespaces"),pageSizeSelectLabel:h("per-page"),previousButtonLabel:h("previous"),nextButtonLabel:h("next"),$$slots:{default:[me,({visibleItems:e})=>({2:e}),({visibleItems:e})=>e?4:0]},$$scope:{ctx:f}}}),{c(){d(t.$$.fragment)},l(e){b(t.$$.fragment,e)},m(e,a){k(t,e,a),n=!0},p(e,a){const r={};a&2&&(r.items=e[1]),a&68&&(r.$$scope={dirty:a,ctx:e}),t.$set(r)},i(e){n||(m(t.$$.fragment,e),n=!0)},o(e){u(t.$$.fragment,e),n=!1},d(e){w(t,e)}}}function le(f){let t=f[3].namespaceInfo.name+"",n;return{c(){n=x(t)},l(e){n=N(e,t)},m(e,a){$(e,n,a)},p(e,a){a&4&&t!==(t=e[3].namespaceInfo.name+"")&&U(n,t)},d(e){e&&p(n)}}}function oe(f){let t,n,e,a;return n=new Y({props:{href:j({namespace:f[3].namespaceInfo.name}),$$slots:{default:[le]},$$scope:{ctx:f}}}),{c(){t=P("td"),d(n.$$.fragment),e=B()},l(r){t=y(r,"TD",{});var s=I(t);b(n.$$.fragment,s),s.forEach(p),e=C(r)},m(r,s){$(r,t,s),k(n,t,null),$(r,e,s),a=!0},p(r,s){const l={};s&4&&(l.href=j({namespace:r[3].namespaceInfo.name})),s&68&&(l.$$scope={dirty:s,ctx:r}),n.$set(l)},i(r){a||(m(n.$$.fragment,r),a=!0)},o(r){u(n.$$.fragment,r),a=!1},d(r){r&&p(t),w(n),r&&p(e)}}}function K(f){let t,n;return t=new ae({props:{$$slots:{default:[oe]},$$scope:{ctx:f}}}),{c(){d(t.$$.fragment)},l(e){b(t.$$.fragment,e)},m(e,a){k(t,e,a),n=!0},p(e,a){const r={};a&68&&(r.$$scope={dirty:a,ctx:e}),t.$set(r)},i(e){n||(m(t.$$.fragment,e),n=!0)},o(e){u(t.$$.fragment,e),n=!1},d(e){w(t,e)}}}function ce(f){let t,n,e=f[2],a=[];for(let s=0;su(a[s],1,1,()=>{a[s]=null});return{c(){for(let s=0;s0?0:1}return l=F(f),o=g[l]=D[l](f),{c(){d(t.$$.fragment),n=B(),e=P("h1"),r=x(a),s=B(),o.c(),_=E(),this.h()},l(c){b(t.$$.fragment,c),n=C(c),e=y(c,"H1",{"data-testid":!0,class:!0});var i=I(e);r=N(i,a),i.forEach(p),s=C(c),o.l(c),_=E(),this.h()},h(){L(e,"data-testid","namespace-selector-title"),L(e,"class","mb-8 text-2xl")},m(c,i){k(t,c,i),$(c,n,i),$(c,e,i),q(e,r),$(c,s,i),g[l].m(c,i),$(c,_,i),T=!0},p(c,[i]){const v={};i&1&&(v.url=c[0].url.href),t.$set(v);let S=l;l=F(c),l===S?g[l].p(c,i):(G(),u(g[S],1,1,()=>{g[S]=null}),O(),o=g[l],o?o.p(c,i):(o=g[l]=D[l](c),o.c()),m(o,1),o.m(_.parentNode,_))},i(c){T||(m(t.$$.fragment,c),m(o),T=!0)},o(c){u(t.$$.fragment,c),u(o),T=!1},d(c){w(t,c),c&&p(n),c&&p(e),c&&p(s),g[l].d(c),c&&p(_)}}}function $e(f,t,n){let e,a;return H(f,V,r=>n(0,e=r)),H(f,ne,r=>n(1,a=r)),[e,a]}class Pe extends J{constructor(t){super(),M(this,t,$e,ue,Q,{})}}export{Pe as default}; +import{S as J,b as M,a as Q,C as d,c as B,m as P,w as x,e as E,D as b,d as C,p as y,q as I,x as N,k as p,u as L,E as k,f as $,L as q,g as u,h as O,j as m,F as w,K as H,z as G,n as z,a7 as R,y as U}from"../chunks/index.09834243.js";import{p as V}from"../chunks/stores.cd833532.js";import{P as W}from"../chunks/page-title.34fd480b.js";import{E as X}from"../chunks/empty-state.aea525ff.js";import{L as Y}from"../chunks/link.7cb1390a.js";import{P as Z}from"../chunks/pagination.6f99836b.js";import{T as ee,a as te}from"../chunks/table-header-row.843c5ee2.js";import{T as ae}from"../chunks/table-row.185c48e5.js";import{t as h}from"../chunks/translate.0a219ae4.js";import{n as ne}from"../chunks/namespaces.5ad7f936.js";import{p as j}from"../chunks/route-for.d76d8056.js";function A(f,t,n){const e=f.slice();return e[3]=t[n],e}function re(f){let t,n;return t=new X({props:{title:h("namespaces","namespaces-empty-state-title"),content:h("namespaces","namespaces-empty-state-content")}}),{c(){d(t.$$.fragment)},l(e){b(t.$$.fragment,e)},m(e,a){k(t,e,a),n=!0},p:z,i(e){n||(m(t.$$.fragment,e),n=!0)},o(e){u(t.$$.fragment,e),n=!1},d(e){w(t,e)}}}function se(f){let t,n;return t=new Z({props:{items:f[1],"aria-label":h("namespaces"),pageSizeSelectLabel:h("per-page"),previousButtonLabel:h("previous"),nextButtonLabel:h("next"),$$slots:{default:[me,({visibleItems:e})=>({2:e}),({visibleItems:e})=>e?4:0]},$$scope:{ctx:f}}}),{c(){d(t.$$.fragment)},l(e){b(t.$$.fragment,e)},m(e,a){k(t,e,a),n=!0},p(e,a){const r={};a&2&&(r.items=e[1]),a&68&&(r.$$scope={dirty:a,ctx:e}),t.$set(r)},i(e){n||(m(t.$$.fragment,e),n=!0)},o(e){u(t.$$.fragment,e),n=!1},d(e){w(t,e)}}}function le(f){let t=f[3].namespaceInfo.name+"",n;return{c(){n=x(t)},l(e){n=N(e,t)},m(e,a){$(e,n,a)},p(e,a){a&4&&t!==(t=e[3].namespaceInfo.name+"")&&U(n,t)},d(e){e&&p(n)}}}function oe(f){let t,n,e,a;return n=new Y({props:{href:j({namespace:f[3].namespaceInfo.name}),$$slots:{default:[le]},$$scope:{ctx:f}}}),{c(){t=P("td"),d(n.$$.fragment),e=B()},l(r){t=y(r,"TD",{});var s=I(t);b(n.$$.fragment,s),s.forEach(p),e=C(r)},m(r,s){$(r,t,s),k(n,t,null),$(r,e,s),a=!0},p(r,s){const l={};s&4&&(l.href=j({namespace:r[3].namespaceInfo.name})),s&68&&(l.$$scope={dirty:s,ctx:r}),n.$set(l)},i(r){a||(m(n.$$.fragment,r),a=!0)},o(r){u(n.$$.fragment,r),a=!1},d(r){r&&p(t),w(n),r&&p(e)}}}function K(f){let t,n;return t=new ae({props:{$$slots:{default:[oe]},$$scope:{ctx:f}}}),{c(){d(t.$$.fragment)},l(e){b(t.$$.fragment,e)},m(e,a){k(t,e,a),n=!0},p(e,a){const r={};a&68&&(r.$$scope={dirty:a,ctx:e}),t.$set(r)},i(e){n||(m(t.$$.fragment,e),n=!0)},o(e){u(t.$$.fragment,e),n=!1},d(e){w(t,e)}}}function ce(f){let t,n,e=f[2],a=[];for(let s=0;su(a[s],1,1,()=>{a[s]=null});return{c(){for(let s=0;s0?0:1}return l=F(f),o=g[l]=D[l](f),{c(){d(t.$$.fragment),n=B(),e=P("h1"),r=x(a),s=B(),o.c(),_=E(),this.h()},l(c){b(t.$$.fragment,c),n=C(c),e=y(c,"H1",{"data-testid":!0,class:!0});var i=I(e);r=N(i,a),i.forEach(p),s=C(c),o.l(c),_=E(),this.h()},h(){L(e,"data-testid","namespace-selector-title"),L(e,"class","mb-8 text-2xl")},m(c,i){k(t,c,i),$(c,n,i),$(c,e,i),q(e,r),$(c,s,i),g[l].m(c,i),$(c,_,i),T=!0},p(c,[i]){const v={};i&1&&(v.url=c[0].url.href),t.$set(v);let S=l;l=F(c),l===S?g[l].p(c,i):(G(),u(g[S],1,1,()=>{g[S]=null}),O(),o=g[l],o?o.p(c,i):(o=g[l]=D[l](c),o.c()),m(o,1),o.m(_.parentNode,_))},i(c){T||(m(t.$$.fragment,c),m(o),T=!0)},o(c){u(t.$$.fragment,c),u(o),T=!1},d(c){w(t,c),c&&p(n),c&&p(e),c&&p(s),g[l].d(c),c&&p(_)}}}function $e(f,t,n){let e,a;return H(f,V,r=>n(0,e=r)),H(f,ne,r=>n(1,a=r)),[e,a]}class Pe extends J{constructor(t){super(),M(this,t,$e,ue,Q,{})}}export{Pe as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-page.svelte.0c6130fb.js b/ui/assets/local/_app/immutable/entry/(app)-page.svelte.01805950.js similarity index 72% rename from ui/assets/local/_app/immutable/entry/(app)-page.svelte.0c6130fb.js rename to ui/assets/local/_app/immutable/entry/(app)-page.svelte.01805950.js index 10053e9615..4f70bf882d 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-page.svelte.0c6130fb.js +++ b/ui/assets/local/_app/immutable/entry/(app)-page.svelte.01805950.js @@ -1 +1 @@ -import{S as f,b as u,a as l,C as p,D as d,E as g,n as _,j as h,g as $,F as w,K as F,o as N}from"../chunks/index.09834243.js";import{g as s}from"../chunks/navigation.8b74a406.js";import{L as b}from"../chunks/loading.3bde98aa.js";import{d as x}from"../chunks/workflow-service.56e6b262.js";import{l as y}from"../chunks/namespaces.5721b9bd.js";import{r as S,m as c}from"../chunks/route-for.3b55a4c6.js";function k(r){let a,e;return a=new b({}),{c(){p(a.$$.fragment)},l(t){d(a.$$.fragment,t)},m(t,n){g(a,t,n),e=!0},p:_,i(t){e||(h(a.$$.fragment,t),e=!0)},o(t){$(a.$$.fragment,t),e=!1},d(t){w(a,t)}}}function z(r,a,e){let t;F(r,y,o=>e(1,t=o));let{data:n}=a,{defaultNamespace:i}=n;const m=t&&t!=="default"?t:i;return N(async()=>{try{const{authorized:o}=await x(m);o?s(S({namespace:m})):s(c())}catch{s(c())}}),r.$$set=o=>{"data"in o&&e(0,n=o.data)},[n]}class A extends f{constructor(a){super(),u(this,a,z,k,l,{data:0})}}export{A as default}; +import{S as f,b as u,a as l,C as p,D as d,E as g,n as _,j as h,g as $,F as w,K as F,o as N}from"../chunks/index.09834243.js";import{g as s}from"../chunks/navigation.3b6dd1c7.js";import{L as b}from"../chunks/loading.3bde98aa.js";import{d as x}from"../chunks/workflow-service.14ef2cb6.js";import{l as y}from"../chunks/namespaces.5ad7f936.js";import{r as S,m as c}from"../chunks/route-for.d76d8056.js";function k(r){let a,e;return a=new b({}),{c(){p(a.$$.fragment)},l(t){d(a.$$.fragment,t)},m(t,n){g(a,t,n),e=!0},p:_,i(t){e||(h(a.$$.fragment,t),e=!0)},o(t){$(a.$$.fragment,t),e=!1},d(t){w(a,t)}}}function z(r,a,e){let t;F(r,y,o=>e(1,t=o));let{data:n}=a,{defaultNamespace:i}=n;const m=t&&t!=="default"?t:i;return N(async()=>{try{const{authorized:o}=await x(m);o?s(S({namespace:m})):s(c())}catch{s(c())}}),r.$$set=o=>{"data"in o&&e(0,n=o.data)},[n]}class A extends f{constructor(a){super(),u(this,a,z,k,l,{data:0})}}export{A as default}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-page.ts.0e00ca1c.js b/ui/assets/local/_app/immutable/entry/(app)-page.ts.0e00ca1c.js deleted file mode 100644 index c8ac06993d..0000000000 --- a/ui/assets/local/_app/immutable/entry/(app)-page.ts.0e00ca1c.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.3b55a4c6.js";import{l as t}from"../chunks/_page.98cb61bc.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-page.ts.fc4fe7ed.js b/ui/assets/local/_app/immutable/entry/(app)-page.ts.fc4fe7ed.js new file mode 100644 index 0000000000..637018b31d --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(app)-page.ts.fc4fe7ed.js @@ -0,0 +1 @@ +import"../chunks/index.b1f5b21f.js";import"../chunks/route-for.d76d8056.js";import{l as t}from"../chunks/_page.04d6547f.js";export{t as load}; diff --git a/ui/assets/local/_app/immutable/entry/(app)-select-namespace-page.svelte.63f6c5dd.js b/ui/assets/local/_app/immutable/entry/(app)-select-namespace-page.svelte.80a34f3c.js similarity index 94% rename from ui/assets/local/_app/immutable/entry/(app)-select-namespace-page.svelte.63f6c5dd.js rename to ui/assets/local/_app/immutable/entry/(app)-select-namespace-page.svelte.80a34f3c.js index 729d3fcaef..02465d83ef 100644 --- a/ui/assets/local/_app/immutable/entry/(app)-select-namespace-page.svelte.63f6c5dd.js +++ b/ui/assets/local/_app/immutable/entry/(app)-select-namespace-page.svelte.80a34f3c.js @@ -1 +1 @@ -import{S as fe,b as he,a as me,m as N,p as z,q as P,k as b,v as O,av as le,a3 as ve,f as C,L as E,al as be,Q as pe,z as ae,aa as ke,ab as we,h as ne,j as V,g as H,o as ye,G as Ee,c as F,d as W,H as Te,I as Ie,J as Le,t as ee,A as se,w as Z,x as $,a0 as Ve,C as q,D as B,u as R,E as j,a1 as He,F as G,K as te,a5 as Se,n as ge,e as re,P as Y,y as Ne}from"../chunks/index.09834243.js";import{g as ze}from"../chunks/navigation.8b74a406.js";import{p as Pe}from"../chunks/stores.9d4a2bb0.js";import{P as Re}from"../chunks/page-title.34fd480b.js";import{E as de}from"../chunks/empty-state.aea525ff.js";import{I as Ue}from"../chunks/input.8b192295.js";import{t as U}from"../chunks/translate.0a219ae4.js";import{d as Ae}from"../chunks/workflow-service.56e6b262.js";import{l as ie,n as Ce}from"../chunks/namespaces.5721b9bd.js";import{t as Me}from"../chunks/toaster.d089c03c.js";import{r as Oe}from"../chunks/route-for.3b55a4c6.js";function oe(s,e,t){const l=s.slice();return l[23]=e[t],l}const De=s=>({item:s&16}),ce=s=>({item:s[23].data});function Fe(s){let e;return{c(){e=Z("Missing template")},l(t){e=$(t,"Missing template")},m(t,l){C(t,e,l)},d(t){t&&b(e)}}}function ue(s,e){let t,l,o;const f=e[14].default,u=Ee(f,e,e[13],ce),_=u||Fe();return{key:s,first:null,c(){t=N("svelte-virtual-list-row"),_&&_.c(),l=F(),this.h()},l(a){t=z(a,"SVELTE-VIRTUAL-LIST-ROW",{class:!0});var i=P(t);_&&_.l(i),l=W(i),i.forEach(b),this.h()},h(){le(t,"class","svelte-1kdxoed"),this.first=t},m(a,i){C(a,t,i),_&&_.m(t,null),E(t,l),o=!0},p(a,i){e=a,u&&u.p&&(!o||i&8208)&&Te(u,f,e,e[13],o?Le(f,e[13],i,De):Ie(e[13]),ce)},i(a){o||(V(_,a),o=!0)},o(a){H(_,a),o=!1},d(a){a&&b(t),_&&_.d(a)}}}function We(s){let e,t,l=[],o=new Map,f,u,_,a,i=s[4];const p=c=>c[23].index;for(let c=0;cs[17].call(e))},m(c,n){C(c,e,n),E(e,t);for(let h=0;hr){t(8,a=d),t(5,v=y);break}y+=g,d+=1}for(;dr+w)););t(9,i=d);const L=f.length-i;for(I=y/i;d{c=h.getElementsByTagName("svelte-virtual-list-row"),t(12,T=!0)});function K(r){se[r?"unshift":"push"](()=>{h=r,t(3,h)})}function S(r){se[r?"unshift":"push"](()=>{n=r,t(2,n)})}function Q(){w=this.offsetHeight,t(1,w)}return s.$$set=r=>{"items"in r&&t(10,f=r.items),"height"in r&&t(0,u=r.height),"itemHeight"in r&&t(11,_=r.itemHeight),"start"in r&&t(8,a=r.start),"end"in r&&t(9,i=r.end),"$$scope"in r&&t(13,o=r.$$scope)},s.$$.update=()=>{s.$$.dirty&1792&&t(4,M=f.slice(a,i).map((r,m)=>({index:m+a,data:r}))),s.$$.dirty&7170&&T&&x(f,w,_)},[u,w,n,h,M,v,k,J,a,i,f,_,T,o,l,K,S,Q]}class Be extends fe{constructor(e){super(),he(this,e,qe,We,me,{items:10,height:0,itemHeight:11,start:8,end:9})}}function _e(s){const e=s[9]===s[2][0];s[10]=e;const t=s[9]===s[2][s[2].length-1];s[11]=t}function je(s){let e,t;return e=new de({props:{title:U("namespaces","select-namespace-empty-state")}}),{c(){q(e.$$.fragment)},l(l){B(e.$$.fragment,l)},m(l,o){j(e,l,o),t=!0},p:ge,i(l){t||(V(e.$$.fragment,l),t=!0)},o(l){H(e.$$.fragment,l),t=!1},d(l){G(e,l)}}}function Ge(s){let e,t,l,o;const f=[Ke,Je],u=[];function _(a,i){return a[2].length?0:1}return e=_(s),t=u[e]=f[e](s),{c(){t.c(),l=re()},l(a){t.l(a),l=re()},m(a,i){u[e].m(a,i),C(a,l,i),o=!0},p(a,i){let p=e;e=_(a),e===p?u[e].p(a,i):(ae(),H(u[p],1,1,()=>{u[p]=null}),ne(),t=u[e],t?t.p(a,i):(t=u[e]=f[e](a),t.c()),V(t,1),t.m(l.parentNode,l))},i(a){o||(V(t),o=!0)},o(a){H(t),o=!1},d(a){u[e].d(a),a&&b(l)}}}function Je(s){let e,t;return e=new de({props:{title:U("no-results")}}),{c(){q(e.$$.fragment)},l(l){B(e.$$.fragment,l)},m(l,o){j(e,l,o),t=!0},p:ge,i(l){t||(V(e.$$.fragment,l),t=!0)},o(l){H(e.$$.fragment,l),t=!1},d(l){G(e,l)}}}function Ke(s){let e,t;return e=new Be({props:{items:s[2],itemHeight:50,$$slots:{default:[Qe,({item:l})=>({9:l}),({item:l})=>l?512:0]},$$scope:{ctx:s}}}),{c(){q(e.$$.fragment)},l(l){B(e.$$.fragment,l)},m(l,o){j(e,l,o),t=!0},p(l,o){const f={};o&4&&(f.items=l[2]),o&4612&&(f.$$scope={dirty:o,ctx:l}),e.$set(f)},i(l){t||(V(e.$$.fragment,l),t=!0)},o(l){H(e.$$.fragment,l),t=!1},d(l){G(e,l)}}}function Qe(s){_e(s);let e,t,l=s[9].namespace+"",o,f,u;function _(){return s[7](s[9])}return{c(){e=N("div"),t=N("button"),o=Z(l),this.h()},l(a){e=z(a,"DIV",{class:!0});var i=P(e);t=z(i,"BUTTON",{class:!0});var p=P(t);o=$(p,l),p.forEach(b),i.forEach(b),this.h()},h(){R(t,"class","w-full truncate p-3 text-left"),R(e,"class","link-item svelte-uk7srb"),Y(e,"first",s[10]),Y(e,"last",s[11])},m(a,i){C(a,e,i),E(e,t),E(t,o),f||(u=pe(t,"click",_),f=!0)},p(a,i){s=a,_e(s),i&512&&l!==(l=s[9].namespace+"")&&Ne(o,l),i&516&&Y(e,"first",s[10]),i&516&&Y(e,"last",s[11])},d(a){a&&b(e),f=!1,u()}}}function Xe(s){let e,t,l,o,f=U("namespaces","select-namespace-welcome")+"",u,_,a,i=U("namespaces","select-namespace")+"",p,c,n,h,w,M,T,v,k,I;e=new Re({props:{title:U("namespaces","namespace-select-header"),url:s[3].url.href}});function x(r){s[6](r)}let J={id:"search-namespaces",type:"search",label:U("search"),labelHidden:!0,placeholder:U("search"),icon:"search"};s[0]!==void 0&&(J.value=s[0]),h=new Ue({props:J}),se.push(()=>Ve(h,"value",x));const K=[Ge,je],S=[];function Q(r,m){return r[1].length?0:1}return v=Q(s),k=S[v]=K[v](s),{c(){q(e.$$.fragment),t=F(),l=N("div"),o=N("h1"),u=Z(f),_=F(),a=N("p"),p=Z(i),c=F(),n=N("form"),q(h.$$.fragment),M=F(),T=N("div"),k.c(),this.h()},l(r){B(e.$$.fragment,r),t=W(r),l=z(r,"DIV",{class:!0});var m=P(l);o=z(m,"H1",{class:!0});var d=P(o);u=$(d,f),d.forEach(b),_=W(m),a=z(m,"P",{class:!0});var y=P(a);p=$(y,i),y.forEach(b),c=W(m),n=z(m,"FORM",{class:!0,role:!0});var L=P(n);B(h.$$.fragment,L),L.forEach(b),M=W(m),T=z(m,"DIV",{class:!0,"aria-label":!0});var g=P(T);k.l(g),g.forEach(b),m.forEach(b),this.h()},h(){R(o,"class","my-4 text-3xl"),R(a,"class","mb-8"),R(n,"class","mb-5"),R(n,"role","search"),R(T,"class","h-screen w-full"),R(T,"aria-label",U("namespaces")),R(l,"class","w-full p-8 xl:w-1/2")},m(r,m){j(e,r,m),C(r,t,m),C(r,l,m),E(l,o),E(o,u),E(l,_),E(l,a),E(a,p),E(l,c),E(l,n),j(h,n,null),E(l,M),E(l,T),S[v].m(T,null),I=!0},p(r,[m]){const d={};m&8&&(d.url=r[3].url.href),e.$set(d);const y={};!w&&m&1&&(w=!0,y.value=r[0],He(()=>w=!1)),h.$set(y);let L=v;v=Q(r),v===L?S[v].p(r,m):(ae(),H(S[L],1,1,()=>{S[L]=null}),ne(),k=S[v],k?k.p(r,m):(k=S[v]=K[v](r),k.c()),V(k,1),k.m(T,null))},i(r){I||(V(e.$$.fragment,r),V(h.$$.fragment,r),V(k),I=!0)},o(r){H(e.$$.fragment,r),H(h.$$.fragment,r),H(k),I=!1},d(r){G(e,r),r&&b(t),r&&b(l),G(h),S[v].d()}}}function Ye(s,e,t){let l,o,f,u,_,a;te(s,ie,n=>t(8,u=n)),te(s,Ce,n=>t(5,_=n)),te(s,Pe,n=>t(3,a=n));let i="";function p(n){i=n,t(0,i)}const c=n=>n==null?void 0:n.onClick(n.namespace);return s.$$.update=()=>{s.$$.dirty&32&&t(4,l=_.map(n=>{var h;return(h=n==null?void 0:n.namespaceInfo)===null||h===void 0?void 0:h.name})),s.$$.dirty&16&&t(1,o=l.map(n=>({namespace:n,onClick:async h=>{const{authorized:w}=await Ae(h);w?(Se(ie,u=h,u),ze(Oe({namespace:h}))):Me.push({variant:"error",message:U("namespaces","unauthorized-namespace-error")})}}))),s.$$.dirty&3&&t(2,f=o.filter(({namespace:n})=>n.includes(i)))},[i,o,f,a,l,_,p,c]}class ot extends fe{constructor(e){super(),he(this,e,Ye,Xe,me,{})}}export{ot as default}; +import{S as fe,b as he,a as me,m as N,p as z,q as P,k as b,v as O,av as le,a3 as ve,f as C,L as E,al as be,Q as pe,z as ae,aa as ke,ab as we,h as ne,j as V,g as H,o as ye,G as Ee,c as F,d as W,H as Te,I as Ie,J as Le,t as ee,A as se,w as Z,x as $,a0 as Ve,C as q,D as B,u as R,E as j,a1 as He,F as G,K as te,a5 as Se,n as ge,e as re,P as Y,y as Ne}from"../chunks/index.09834243.js";import{g as ze}from"../chunks/navigation.3b6dd1c7.js";import{p as Pe}from"../chunks/stores.cd833532.js";import{P as Re}from"../chunks/page-title.34fd480b.js";import{E as de}from"../chunks/empty-state.aea525ff.js";import{I as Ue}from"../chunks/input.d5248942.js";import{t as U}from"../chunks/translate.0a219ae4.js";import{d as Ae}from"../chunks/workflow-service.14ef2cb6.js";import{l as ie,n as Ce}from"../chunks/namespaces.5ad7f936.js";import{t as Me}from"../chunks/toaster.a0b7d8ad.js";import{r as Oe}from"../chunks/route-for.d76d8056.js";function oe(s,e,t){const l=s.slice();return l[23]=e[t],l}const De=s=>({item:s&16}),ce=s=>({item:s[23].data});function Fe(s){let e;return{c(){e=Z("Missing template")},l(t){e=$(t,"Missing template")},m(t,l){C(t,e,l)},d(t){t&&b(e)}}}function ue(s,e){let t,l,o;const f=e[14].default,u=Ee(f,e,e[13],ce),_=u||Fe();return{key:s,first:null,c(){t=N("svelte-virtual-list-row"),_&&_.c(),l=F(),this.h()},l(a){t=z(a,"SVELTE-VIRTUAL-LIST-ROW",{class:!0});var i=P(t);_&&_.l(i),l=W(i),i.forEach(b),this.h()},h(){le(t,"class","svelte-1kdxoed"),this.first=t},m(a,i){C(a,t,i),_&&_.m(t,null),E(t,l),o=!0},p(a,i){e=a,u&&u.p&&(!o||i&8208)&&Te(u,f,e,e[13],o?Le(f,e[13],i,De):Ie(e[13]),ce)},i(a){o||(V(_,a),o=!0)},o(a){H(_,a),o=!1},d(a){a&&b(t),_&&_.d(a)}}}function We(s){let e,t,l=[],o=new Map,f,u,_,a,i=s[4];const p=c=>c[23].index;for(let c=0;cs[17].call(e))},m(c,n){C(c,e,n),E(e,t);for(let h=0;hr){t(8,a=d),t(5,v=y);break}y+=g,d+=1}for(;dr+w)););t(9,i=d);const L=f.length-i;for(I=y/i;d{c=h.getElementsByTagName("svelte-virtual-list-row"),t(12,T=!0)});function K(r){se[r?"unshift":"push"](()=>{h=r,t(3,h)})}function S(r){se[r?"unshift":"push"](()=>{n=r,t(2,n)})}function Q(){w=this.offsetHeight,t(1,w)}return s.$$set=r=>{"items"in r&&t(10,f=r.items),"height"in r&&t(0,u=r.height),"itemHeight"in r&&t(11,_=r.itemHeight),"start"in r&&t(8,a=r.start),"end"in r&&t(9,i=r.end),"$$scope"in r&&t(13,o=r.$$scope)},s.$$.update=()=>{s.$$.dirty&1792&&t(4,M=f.slice(a,i).map((r,m)=>({index:m+a,data:r}))),s.$$.dirty&7170&&T&&x(f,w,_)},[u,w,n,h,M,v,k,J,a,i,f,_,T,o,l,K,S,Q]}class Be extends fe{constructor(e){super(),he(this,e,qe,We,me,{items:10,height:0,itemHeight:11,start:8,end:9})}}function _e(s){const e=s[9]===s[2][0];s[10]=e;const t=s[9]===s[2][s[2].length-1];s[11]=t}function je(s){let e,t;return e=new de({props:{title:U("namespaces","select-namespace-empty-state")}}),{c(){q(e.$$.fragment)},l(l){B(e.$$.fragment,l)},m(l,o){j(e,l,o),t=!0},p:ge,i(l){t||(V(e.$$.fragment,l),t=!0)},o(l){H(e.$$.fragment,l),t=!1},d(l){G(e,l)}}}function Ge(s){let e,t,l,o;const f=[Ke,Je],u=[];function _(a,i){return a[2].length?0:1}return e=_(s),t=u[e]=f[e](s),{c(){t.c(),l=re()},l(a){t.l(a),l=re()},m(a,i){u[e].m(a,i),C(a,l,i),o=!0},p(a,i){let p=e;e=_(a),e===p?u[e].p(a,i):(ae(),H(u[p],1,1,()=>{u[p]=null}),ne(),t=u[e],t?t.p(a,i):(t=u[e]=f[e](a),t.c()),V(t,1),t.m(l.parentNode,l))},i(a){o||(V(t),o=!0)},o(a){H(t),o=!1},d(a){u[e].d(a),a&&b(l)}}}function Je(s){let e,t;return e=new de({props:{title:U("no-results")}}),{c(){q(e.$$.fragment)},l(l){B(e.$$.fragment,l)},m(l,o){j(e,l,o),t=!0},p:ge,i(l){t||(V(e.$$.fragment,l),t=!0)},o(l){H(e.$$.fragment,l),t=!1},d(l){G(e,l)}}}function Ke(s){let e,t;return e=new Be({props:{items:s[2],itemHeight:50,$$slots:{default:[Qe,({item:l})=>({9:l}),({item:l})=>l?512:0]},$$scope:{ctx:s}}}),{c(){q(e.$$.fragment)},l(l){B(e.$$.fragment,l)},m(l,o){j(e,l,o),t=!0},p(l,o){const f={};o&4&&(f.items=l[2]),o&4612&&(f.$$scope={dirty:o,ctx:l}),e.$set(f)},i(l){t||(V(e.$$.fragment,l),t=!0)},o(l){H(e.$$.fragment,l),t=!1},d(l){G(e,l)}}}function Qe(s){_e(s);let e,t,l=s[9].namespace+"",o,f,u;function _(){return s[7](s[9])}return{c(){e=N("div"),t=N("button"),o=Z(l),this.h()},l(a){e=z(a,"DIV",{class:!0});var i=P(e);t=z(i,"BUTTON",{class:!0});var p=P(t);o=$(p,l),p.forEach(b),i.forEach(b),this.h()},h(){R(t,"class","w-full truncate p-3 text-left"),R(e,"class","link-item svelte-uk7srb"),Y(e,"first",s[10]),Y(e,"last",s[11])},m(a,i){C(a,e,i),E(e,t),E(t,o),f||(u=pe(t,"click",_),f=!0)},p(a,i){s=a,_e(s),i&512&&l!==(l=s[9].namespace+"")&&Ne(o,l),i&516&&Y(e,"first",s[10]),i&516&&Y(e,"last",s[11])},d(a){a&&b(e),f=!1,u()}}}function Xe(s){let e,t,l,o,f=U("namespaces","select-namespace-welcome")+"",u,_,a,i=U("namespaces","select-namespace")+"",p,c,n,h,w,M,T,v,k,I;e=new Re({props:{title:U("namespaces","namespace-select-header"),url:s[3].url.href}});function x(r){s[6](r)}let J={id:"search-namespaces",type:"search",label:U("search"),labelHidden:!0,placeholder:U("search"),icon:"search"};s[0]!==void 0&&(J.value=s[0]),h=new Ue({props:J}),se.push(()=>Ve(h,"value",x));const K=[Ge,je],S=[];function Q(r,m){return r[1].length?0:1}return v=Q(s),k=S[v]=K[v](s),{c(){q(e.$$.fragment),t=F(),l=N("div"),o=N("h1"),u=Z(f),_=F(),a=N("p"),p=Z(i),c=F(),n=N("form"),q(h.$$.fragment),M=F(),T=N("div"),k.c(),this.h()},l(r){B(e.$$.fragment,r),t=W(r),l=z(r,"DIV",{class:!0});var m=P(l);o=z(m,"H1",{class:!0});var d=P(o);u=$(d,f),d.forEach(b),_=W(m),a=z(m,"P",{class:!0});var y=P(a);p=$(y,i),y.forEach(b),c=W(m),n=z(m,"FORM",{class:!0,role:!0});var L=P(n);B(h.$$.fragment,L),L.forEach(b),M=W(m),T=z(m,"DIV",{class:!0,"aria-label":!0});var g=P(T);k.l(g),g.forEach(b),m.forEach(b),this.h()},h(){R(o,"class","my-4 text-3xl"),R(a,"class","mb-8"),R(n,"class","mb-5"),R(n,"role","search"),R(T,"class","h-screen w-full"),R(T,"aria-label",U("namespaces")),R(l,"class","w-full p-8 xl:w-1/2")},m(r,m){j(e,r,m),C(r,t,m),C(r,l,m),E(l,o),E(o,u),E(l,_),E(l,a),E(a,p),E(l,c),E(l,n),j(h,n,null),E(l,M),E(l,T),S[v].m(T,null),I=!0},p(r,[m]){const d={};m&8&&(d.url=r[3].url.href),e.$set(d);const y={};!w&&m&1&&(w=!0,y.value=r[0],He(()=>w=!1)),h.$set(y);let L=v;v=Q(r),v===L?S[v].p(r,m):(ae(),H(S[L],1,1,()=>{S[L]=null}),ne(),k=S[v],k?k.p(r,m):(k=S[v]=K[v](r),k.c()),V(k,1),k.m(T,null))},i(r){I||(V(e.$$.fragment,r),V(h.$$.fragment,r),V(k),I=!0)},o(r){H(e.$$.fragment,r),H(h.$$.fragment,r),H(k),I=!1},d(r){G(e,r),r&&b(t),r&&b(l),G(h),S[v].d()}}}function Ye(s,e,t){let l,o,f,u,_,a;te(s,ie,n=>t(8,u=n)),te(s,Ce,n=>t(5,_=n)),te(s,Pe,n=>t(3,a=n));let i="";function p(n){i=n,t(0,i)}const c=n=>n==null?void 0:n.onClick(n.namespace);return s.$$.update=()=>{s.$$.dirty&32&&t(4,l=_.map(n=>{var h;return(h=n==null?void 0:n.namespaceInfo)===null||h===void 0?void 0:h.name})),s.$$.dirty&16&&t(1,o=l.map(n=>({namespace:n,onClick:async h=>{const{authorized:w}=await Ae(h);w?(Se(ie,u=h,u),ze(Oe({namespace:h}))):Me.push({variant:"error",message:U("namespaces","unauthorized-namespace-error")})}}))),s.$$.dirty&3&&t(2,f=o.filter(({namespace:n})=>n.includes(i)))},[i,o,f,a,l,_,p,c]}class ot extends fe{constructor(e){super(),he(this,e,Ye,Xe,me,{})}}export{ot as default}; diff --git a/ui/assets/local/_app/immutable/entry/(login)-layout.ts.2e54d18d.js b/ui/assets/local/_app/immutable/entry/(login)-layout.ts.2e54d18d.js new file mode 100644 index 0000000000..c5efcbfa57 --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/(login)-layout.ts.2e54d18d.js @@ -0,0 +1 @@ +/* empty css */import"../chunks/index.b1f5b21f.js";import"../chunks/settings-service.8df029a6.js";import{l as t,s as a}from"../chunks/_layout.c9855fd0.js";export{t as load,a as ssr}; diff --git a/ui/assets/local/_app/immutable/entry/(login)-layout.ts.8c5b13c0.js b/ui/assets/local/_app/immutable/entry/(login)-layout.ts.8c5b13c0.js deleted file mode 100644 index dfbe37ddbb..0000000000 --- a/ui/assets/local/_app/immutable/entry/(login)-layout.ts.8c5b13c0.js +++ /dev/null @@ -1 +0,0 @@ -/* empty css */import"../chunks/index.b1f5b21f.js";import"../chunks/settings-service.1e982d61.js";import{l as t,s as a}from"../chunks/_layout.6c02717b.js";export{t as load,a as ssr}; diff --git a/ui/assets/local/_app/immutable/entry/(login)-login-page.svelte.5a3b5e94.js b/ui/assets/local/_app/immutable/entry/(login)-login-page.svelte.daba58a1.js similarity index 94% rename from ui/assets/local/_app/immutable/entry/(login)-login-page.svelte.5a3b5e94.js rename to ui/assets/local/_app/immutable/entry/(login)-login-page.svelte.daba58a1.js index 60e1b6f5b1..d1d99d8e63 100644 --- a/ui/assets/local/_app/immutable/entry/(login)-login-page.svelte.5a3b5e94.js +++ b/ui/assets/local/_app/immutable/entry/(login)-login-page.svelte.daba58a1.js @@ -1 +1 @@ -import{S as N,b as R,a as T,C as A,c as y,m as $,w as C,D as B,d as x,p as b,q as k,k as i,x as I,a8 as U,u as c,E as H,f as P,L as f,j as V,g as W,F as G,K as z,n as J}from"../chunks/index.09834243.js";import{p as Q}from"../chunks/stores.9d4a2bb0.js";import{F as X,L as Y}from"../chunks/logo.ba44ed17.js";import{P as Z}from"../chunks/page-title.34fd480b.js";import{B as tt}from"../chunks/button.ce5dce2f.js";import{w as et}from"../chunks/route-for.3b55a4c6.js";function at(o){let e;return{c(){e=C("Continue to SSO")},l(s){e=I(s,"Continue to SSO")},m(s,a){P(s,e,a)},d(s){s&&i(e)}}}function st(o){let e,s,a;return{c(){e=$("div"),s=$("p"),a=C(o[2]),this.h()},l(r){e=b(r,"DIV",{class:!0});var m=k(e);s=b(m,"P",{class:!0});var h=k(s);a=I(h,o[2]),h.forEach(i),m.forEach(i),this.h()},h(){c(s,"class","rounded-md border-2 border-orange-500 bg-orange-100 p-5 text-center"),c(e,"class","my-12 flex flex-col items-center justify-start gap-2")},m(r,m){P(r,e,m),f(e,s),f(s,a)},p:J,d(r){r&&i(e)}}}function rt(o){let e,s,a,r,m,h,d,p,l,v,j,D,E,F,q,w,g,O,L;e=new Z({props:{title:"Login",url:o[0].url.href}}),d=new X({}),g=new tt({props:{"data-testid":"login-button",leadingIcon:"lock",$$slots:{default:[at]},$$scope:{ctx:o}}}),g.$on("click",o[4]);let _=o[2]&&st(o);return{c(){A(e.$$.fragment),s=y(),a=$("header"),r=$("img"),h=y(),A(d.$$.fragment),p=y(),l=$("section"),v=$("h1"),j=C("Welcome back."),D=y(),E=$("p"),F=C("Let's get you signed in."),q=y(),w=$("div"),A(g.$$.fragment),O=y(),_&&_.c(),this.h()},l(t){B(e.$$.fragment,t),s=x(t),a=b(t,"HEADER",{class:!0});var n=k(a);r=b(n,"IMG",{src:!0,alt:!0,class:!0}),h=x(n),B(d.$$.fragment,n),n.forEach(i),p=x(t),l=b(t,"SECTION",{class:!0});var u=k(l);v=b(u,"H1",{class:!0,"data-testid":!0});var S=k(v);j=I(S,"Welcome back."),S.forEach(i),D=x(u),E=b(u,"P",{class:!0,"data-testid":!0});var K=k(E);F=I(K,"Let's get you signed in."),K.forEach(i),q=x(u),w=b(u,"DIV",{class:!0});var M=k(w);B(g.$$.fragment,M),M.forEach(i),O=x(u),_&&_.l(u),u.forEach(i),this.h()},h(){U(r.src,m=Y)||c(r,"src",m),c(r,"alt",""),c(r,"class","max-h-10"),c(a,"class","flex h-16 w-full items-center justify-between bg-primary px-10"),c(v,"class","text-8xl font-semibold"),c(v,"data-testid","login-title"),c(E,"class","my-7"),c(E,"data-testid","login-info"),c(w,"class","flex items-center justify-center"),c(l,"class","my-[20vh] text-center")},m(t,n){H(e,t,n),P(t,s,n),P(t,a,n),f(a,r),f(a,h),H(d,a,null),P(t,p,n),P(t,l,n),f(l,v),f(v,j),f(l,D),f(l,E),f(E,F),f(l,q),f(l,w),H(g,w,null),f(l,O),_&&_.m(l,null),L=!0},p(t,[n]){const u={};n&1&&(u.url=t[0].url.href),e.$set(u);const S={};n&32&&(S.$$scope={dirty:n,ctx:t}),g.$set(S),t[2]&&_.p(t,n)},i(t){L||(V(e.$$.fragment,t),V(d.$$.fragment,t),V(g.$$.fragment,t),L=!0)},o(t){W(e.$$.fragment,t),W(d.$$.fragment,t),W(g.$$.fragment,t),L=!1},d(t){G(e,t),t&&i(s),t&&i(a),G(d),t&&i(p),t&&i(l),G(g),_&&_.d()}}}function nt(o,e,s){let a;z(o,Q,p=>s(0,a=p));let{data:r}=e,{settings:m}=r;const h=a.url.searchParams.get("error"),d=()=>{window.location.assign(et({settings:m,searchParams:a.url.searchParams,originUrl:a.url.origin}))};return o.$$set=p=>{"data"in p&&s(3,r=p.data)},[a,m,h,r,d]}class mt extends N{constructor(e){super(),R(this,e,nt,rt,T,{data:3})}}export{mt as default}; +import{S as N,b as R,a as T,C as A,c as y,m as $,w as C,D as B,d as x,p as b,q as k,k as i,x as I,a8 as U,u as c,E as H,f as P,L as f,j as V,g as W,F as G,K as z,n as J}from"../chunks/index.09834243.js";import{p as Q}from"../chunks/stores.cd833532.js";import{F as X,L as Y}from"../chunks/logo.e000abd5.js";import{P as Z}from"../chunks/page-title.34fd480b.js";import{B as tt}from"../chunks/button.ce5dce2f.js";import{w as et}from"../chunks/route-for.d76d8056.js";function at(o){let e;return{c(){e=C("Continue to SSO")},l(s){e=I(s,"Continue to SSO")},m(s,a){P(s,e,a)},d(s){s&&i(e)}}}function st(o){let e,s,a;return{c(){e=$("div"),s=$("p"),a=C(o[2]),this.h()},l(r){e=b(r,"DIV",{class:!0});var m=k(e);s=b(m,"P",{class:!0});var h=k(s);a=I(h,o[2]),h.forEach(i),m.forEach(i),this.h()},h(){c(s,"class","rounded-md border-2 border-orange-500 bg-orange-100 p-5 text-center"),c(e,"class","my-12 flex flex-col items-center justify-start gap-2")},m(r,m){P(r,e,m),f(e,s),f(s,a)},p:J,d(r){r&&i(e)}}}function rt(o){let e,s,a,r,m,h,d,p,l,v,j,D,E,F,q,w,g,O,L;e=new Z({props:{title:"Login",url:o[0].url.href}}),d=new X({}),g=new tt({props:{"data-testid":"login-button",leadingIcon:"lock",$$slots:{default:[at]},$$scope:{ctx:o}}}),g.$on("click",o[4]);let _=o[2]&&st(o);return{c(){A(e.$$.fragment),s=y(),a=$("header"),r=$("img"),h=y(),A(d.$$.fragment),p=y(),l=$("section"),v=$("h1"),j=C("Welcome back."),D=y(),E=$("p"),F=C("Let's get you signed in."),q=y(),w=$("div"),A(g.$$.fragment),O=y(),_&&_.c(),this.h()},l(t){B(e.$$.fragment,t),s=x(t),a=b(t,"HEADER",{class:!0});var n=k(a);r=b(n,"IMG",{src:!0,alt:!0,class:!0}),h=x(n),B(d.$$.fragment,n),n.forEach(i),p=x(t),l=b(t,"SECTION",{class:!0});var u=k(l);v=b(u,"H1",{class:!0,"data-testid":!0});var S=k(v);j=I(S,"Welcome back."),S.forEach(i),D=x(u),E=b(u,"P",{class:!0,"data-testid":!0});var K=k(E);F=I(K,"Let's get you signed in."),K.forEach(i),q=x(u),w=b(u,"DIV",{class:!0});var M=k(w);B(g.$$.fragment,M),M.forEach(i),O=x(u),_&&_.l(u),u.forEach(i),this.h()},h(){U(r.src,m=Y)||c(r,"src",m),c(r,"alt",""),c(r,"class","max-h-10"),c(a,"class","flex h-16 w-full items-center justify-between bg-primary px-10"),c(v,"class","text-8xl font-semibold"),c(v,"data-testid","login-title"),c(E,"class","my-7"),c(E,"data-testid","login-info"),c(w,"class","flex items-center justify-center"),c(l,"class","my-[20vh] text-center")},m(t,n){H(e,t,n),P(t,s,n),P(t,a,n),f(a,r),f(a,h),H(d,a,null),P(t,p,n),P(t,l,n),f(l,v),f(v,j),f(l,D),f(l,E),f(E,F),f(l,q),f(l,w),H(g,w,null),f(l,O),_&&_.m(l,null),L=!0},p(t,[n]){const u={};n&1&&(u.url=t[0].url.href),e.$set(u);const S={};n&32&&(S.$$scope={dirty:n,ctx:t}),g.$set(S),t[2]&&_.p(t,n)},i(t){L||(V(e.$$.fragment,t),V(d.$$.fragment,t),V(g.$$.fragment,t),L=!0)},o(t){W(e.$$.fragment,t),W(d.$$.fragment,t),W(g.$$.fragment,t),L=!1},d(t){G(e,t),t&&i(s),t&&i(a),G(d),t&&i(p),t&&i(l),G(g),_&&_.d()}}}function nt(o,e,s){let a;z(o,Q,p=>s(0,a=p));let{data:r}=e,{settings:m}=r;const h=a.url.searchParams.get("error"),d=()=>{window.location.assign(et({settings:m,searchParams:a.url.searchParams,originUrl:a.url.origin}))};return o.$$set=p=>{"data"in p&&s(3,r=p.data)},[a,m,h,r,d]}class mt extends N{constructor(e){super(),R(this,e,nt,rt,T,{data:3})}}export{mt as default}; diff --git a/ui/assets/local/_app/immutable/entry/(login)-signin-page.svelte.5a3b5e94.js b/ui/assets/local/_app/immutable/entry/(login)-signin-page.svelte.daba58a1.js similarity index 94% rename from ui/assets/local/_app/immutable/entry/(login)-signin-page.svelte.5a3b5e94.js rename to ui/assets/local/_app/immutable/entry/(login)-signin-page.svelte.daba58a1.js index 60e1b6f5b1..d1d99d8e63 100644 --- a/ui/assets/local/_app/immutable/entry/(login)-signin-page.svelte.5a3b5e94.js +++ b/ui/assets/local/_app/immutable/entry/(login)-signin-page.svelte.daba58a1.js @@ -1 +1 @@ -import{S as N,b as R,a as T,C as A,c as y,m as $,w as C,D as B,d as x,p as b,q as k,k as i,x as I,a8 as U,u as c,E as H,f as P,L as f,j as V,g as W,F as G,K as z,n as J}from"../chunks/index.09834243.js";import{p as Q}from"../chunks/stores.9d4a2bb0.js";import{F as X,L as Y}from"../chunks/logo.ba44ed17.js";import{P as Z}from"../chunks/page-title.34fd480b.js";import{B as tt}from"../chunks/button.ce5dce2f.js";import{w as et}from"../chunks/route-for.3b55a4c6.js";function at(o){let e;return{c(){e=C("Continue to SSO")},l(s){e=I(s,"Continue to SSO")},m(s,a){P(s,e,a)},d(s){s&&i(e)}}}function st(o){let e,s,a;return{c(){e=$("div"),s=$("p"),a=C(o[2]),this.h()},l(r){e=b(r,"DIV",{class:!0});var m=k(e);s=b(m,"P",{class:!0});var h=k(s);a=I(h,o[2]),h.forEach(i),m.forEach(i),this.h()},h(){c(s,"class","rounded-md border-2 border-orange-500 bg-orange-100 p-5 text-center"),c(e,"class","my-12 flex flex-col items-center justify-start gap-2")},m(r,m){P(r,e,m),f(e,s),f(s,a)},p:J,d(r){r&&i(e)}}}function rt(o){let e,s,a,r,m,h,d,p,l,v,j,D,E,F,q,w,g,O,L;e=new Z({props:{title:"Login",url:o[0].url.href}}),d=new X({}),g=new tt({props:{"data-testid":"login-button",leadingIcon:"lock",$$slots:{default:[at]},$$scope:{ctx:o}}}),g.$on("click",o[4]);let _=o[2]&&st(o);return{c(){A(e.$$.fragment),s=y(),a=$("header"),r=$("img"),h=y(),A(d.$$.fragment),p=y(),l=$("section"),v=$("h1"),j=C("Welcome back."),D=y(),E=$("p"),F=C("Let's get you signed in."),q=y(),w=$("div"),A(g.$$.fragment),O=y(),_&&_.c(),this.h()},l(t){B(e.$$.fragment,t),s=x(t),a=b(t,"HEADER",{class:!0});var n=k(a);r=b(n,"IMG",{src:!0,alt:!0,class:!0}),h=x(n),B(d.$$.fragment,n),n.forEach(i),p=x(t),l=b(t,"SECTION",{class:!0});var u=k(l);v=b(u,"H1",{class:!0,"data-testid":!0});var S=k(v);j=I(S,"Welcome back."),S.forEach(i),D=x(u),E=b(u,"P",{class:!0,"data-testid":!0});var K=k(E);F=I(K,"Let's get you signed in."),K.forEach(i),q=x(u),w=b(u,"DIV",{class:!0});var M=k(w);B(g.$$.fragment,M),M.forEach(i),O=x(u),_&&_.l(u),u.forEach(i),this.h()},h(){U(r.src,m=Y)||c(r,"src",m),c(r,"alt",""),c(r,"class","max-h-10"),c(a,"class","flex h-16 w-full items-center justify-between bg-primary px-10"),c(v,"class","text-8xl font-semibold"),c(v,"data-testid","login-title"),c(E,"class","my-7"),c(E,"data-testid","login-info"),c(w,"class","flex items-center justify-center"),c(l,"class","my-[20vh] text-center")},m(t,n){H(e,t,n),P(t,s,n),P(t,a,n),f(a,r),f(a,h),H(d,a,null),P(t,p,n),P(t,l,n),f(l,v),f(v,j),f(l,D),f(l,E),f(E,F),f(l,q),f(l,w),H(g,w,null),f(l,O),_&&_.m(l,null),L=!0},p(t,[n]){const u={};n&1&&(u.url=t[0].url.href),e.$set(u);const S={};n&32&&(S.$$scope={dirty:n,ctx:t}),g.$set(S),t[2]&&_.p(t,n)},i(t){L||(V(e.$$.fragment,t),V(d.$$.fragment,t),V(g.$$.fragment,t),L=!0)},o(t){W(e.$$.fragment,t),W(d.$$.fragment,t),W(g.$$.fragment,t),L=!1},d(t){G(e,t),t&&i(s),t&&i(a),G(d),t&&i(p),t&&i(l),G(g),_&&_.d()}}}function nt(o,e,s){let a;z(o,Q,p=>s(0,a=p));let{data:r}=e,{settings:m}=r;const h=a.url.searchParams.get("error"),d=()=>{window.location.assign(et({settings:m,searchParams:a.url.searchParams,originUrl:a.url.origin}))};return o.$$set=p=>{"data"in p&&s(3,r=p.data)},[a,m,h,r,d]}class mt extends N{constructor(e){super(),R(this,e,nt,rt,T,{data:3})}}export{mt as default}; +import{S as N,b as R,a as T,C as A,c as y,m as $,w as C,D as B,d as x,p as b,q as k,k as i,x as I,a8 as U,u as c,E as H,f as P,L as f,j as V,g as W,F as G,K as z,n as J}from"../chunks/index.09834243.js";import{p as Q}from"../chunks/stores.cd833532.js";import{F as X,L as Y}from"../chunks/logo.e000abd5.js";import{P as Z}from"../chunks/page-title.34fd480b.js";import{B as tt}from"../chunks/button.ce5dce2f.js";import{w as et}from"../chunks/route-for.d76d8056.js";function at(o){let e;return{c(){e=C("Continue to SSO")},l(s){e=I(s,"Continue to SSO")},m(s,a){P(s,e,a)},d(s){s&&i(e)}}}function st(o){let e,s,a;return{c(){e=$("div"),s=$("p"),a=C(o[2]),this.h()},l(r){e=b(r,"DIV",{class:!0});var m=k(e);s=b(m,"P",{class:!0});var h=k(s);a=I(h,o[2]),h.forEach(i),m.forEach(i),this.h()},h(){c(s,"class","rounded-md border-2 border-orange-500 bg-orange-100 p-5 text-center"),c(e,"class","my-12 flex flex-col items-center justify-start gap-2")},m(r,m){P(r,e,m),f(e,s),f(s,a)},p:J,d(r){r&&i(e)}}}function rt(o){let e,s,a,r,m,h,d,p,l,v,j,D,E,F,q,w,g,O,L;e=new Z({props:{title:"Login",url:o[0].url.href}}),d=new X({}),g=new tt({props:{"data-testid":"login-button",leadingIcon:"lock",$$slots:{default:[at]},$$scope:{ctx:o}}}),g.$on("click",o[4]);let _=o[2]&&st(o);return{c(){A(e.$$.fragment),s=y(),a=$("header"),r=$("img"),h=y(),A(d.$$.fragment),p=y(),l=$("section"),v=$("h1"),j=C("Welcome back."),D=y(),E=$("p"),F=C("Let's get you signed in."),q=y(),w=$("div"),A(g.$$.fragment),O=y(),_&&_.c(),this.h()},l(t){B(e.$$.fragment,t),s=x(t),a=b(t,"HEADER",{class:!0});var n=k(a);r=b(n,"IMG",{src:!0,alt:!0,class:!0}),h=x(n),B(d.$$.fragment,n),n.forEach(i),p=x(t),l=b(t,"SECTION",{class:!0});var u=k(l);v=b(u,"H1",{class:!0,"data-testid":!0});var S=k(v);j=I(S,"Welcome back."),S.forEach(i),D=x(u),E=b(u,"P",{class:!0,"data-testid":!0});var K=k(E);F=I(K,"Let's get you signed in."),K.forEach(i),q=x(u),w=b(u,"DIV",{class:!0});var M=k(w);B(g.$$.fragment,M),M.forEach(i),O=x(u),_&&_.l(u),u.forEach(i),this.h()},h(){U(r.src,m=Y)||c(r,"src",m),c(r,"alt",""),c(r,"class","max-h-10"),c(a,"class","flex h-16 w-full items-center justify-between bg-primary px-10"),c(v,"class","text-8xl font-semibold"),c(v,"data-testid","login-title"),c(E,"class","my-7"),c(E,"data-testid","login-info"),c(w,"class","flex items-center justify-center"),c(l,"class","my-[20vh] text-center")},m(t,n){H(e,t,n),P(t,s,n),P(t,a,n),f(a,r),f(a,h),H(d,a,null),P(t,p,n),P(t,l,n),f(l,v),f(v,j),f(l,D),f(l,E),f(E,F),f(l,q),f(l,w),H(g,w,null),f(l,O),_&&_.m(l,null),L=!0},p(t,[n]){const u={};n&1&&(u.url=t[0].url.href),e.$set(u);const S={};n&32&&(S.$$scope={dirty:n,ctx:t}),g.$set(S),t[2]&&_.p(t,n)},i(t){L||(V(e.$$.fragment,t),V(d.$$.fragment,t),V(g.$$.fragment,t),L=!0)},o(t){W(e.$$.fragment,t),W(d.$$.fragment,t),W(g.$$.fragment,t),L=!1},d(t){G(e,t),t&&i(s),t&&i(a),G(d),t&&i(p),t&&i(l),G(g),_&&_.d()}}}function nt(o,e,s){let a;z(o,Q,p=>s(0,a=p));let{data:r}=e,{settings:m}=r;const h=a.url.searchParams.get("error"),d=()=>{window.location.assign(et({settings:m,searchParams:a.url.searchParams,originUrl:a.url.origin}))};return o.$$set=p=>{"data"in p&&s(3,r=p.data)},[a,m,h,r,d]}class mt extends N{constructor(e){super(),R(this,e,nt,rt,T,{data:3})}}export{mt as default}; diff --git a/ui/assets/local/_app/immutable/entry/_error.svelte.fd05a858.js b/ui/assets/local/_app/immutable/entry/_error.svelte.f19f2b3d.js similarity index 86% rename from ui/assets/local/_app/immutable/entry/_error.svelte.fd05a858.js rename to ui/assets/local/_app/immutable/entry/_error.svelte.f19f2b3d.js index 2955c2eff2..4330bacd3d 100644 --- a/ui/assets/local/_app/immutable/entry/_error.svelte.fd05a858.js +++ b/ui/assets/local/_app/immutable/entry/_error.svelte.f19f2b3d.js @@ -1 +1 @@ -import{S as m,b as p,a as u,C as c,D as f,E as _,j as g,g as l,F as $,K as E}from"../chunks/index.09834243.js";/* empty css */import{p as d}from"../chunks/stores.9d4a2bb0.js";import{E as h}from"../chunks/error.bc570d65.js";import{i as b}from"../chunks/is-network-error.e2b13739.js";import{p as y}from"../chunks/parse-with-big-int.b38462f3.js";function C(e){let t,o;return t=new h({props:{error:e[1],status:e[0]}}),{c(){c(t.$$.fragment)},l(r){f(t.$$.fragment,r)},m(r,s){_(t,r,s),o=!0},p(r,[s]){const a={};s&2&&(a.error=r[1]),s&1&&(a.status=r[0]),t.$set(a)},i(r){o||(g(t.$$.fragment,r),o=!0)},o(r){l(t.$$.fragment,r),o=!1},d(r){$(t,r)}}}function q(e,t,o){let r,s,a;E(e,d,i=>o(2,a=i));let n;try{n=y(r.message),b(n)&&(s=n.statusCode)}catch(i){console.error(i)}return e.$$.update=()=>{e.$$.dirty&4&&o(1,r=a.error),e.$$.dirty&4&&o(0,s=a.status)},[s,r,a]}class A extends m{constructor(t){super(),p(this,t,q,C,u,{})}}export{A as default}; +import{S as m,b as p,a as u,C as c,D as f,E as _,j as g,g as l,F as $,K as E}from"../chunks/index.09834243.js";/* empty css */import{p as d}from"../chunks/stores.cd833532.js";import{E as h}from"../chunks/error.fc570cb5.js";import{i as b}from"../chunks/is-network-error.e2b13739.js";import{p as y}from"../chunks/parse-with-big-int.b38462f3.js";function C(e){let t,o;return t=new h({props:{error:e[1],status:e[0]}}),{c(){c(t.$$.fragment)},l(r){f(t.$$.fragment,r)},m(r,s){_(t,r,s),o=!0},p(r,[s]){const a={};s&2&&(a.error=r[1]),s&1&&(a.status=r[0]),t.$set(a)},i(r){o||(g(t.$$.fragment,r),o=!0)},o(r){l(t.$$.fragment,r),o=!1},d(r){$(t,r)}}}function q(e,t,o){let r,s,a;E(e,d,i=>o(2,a=i));let n;try{n=y(r.message),b(n)&&(s=n.statusCode)}catch(i){console.error(i)}return e.$$.update=()=>{e.$$.dirty&4&&o(1,r=a.error),e.$$.dirty&4&&o(0,s=a.status)},[s,r,a]}class A extends m{constructor(t){super(),p(this,t,q,C,u,{})}}export{A as default}; diff --git a/ui/assets/local/_app/immutable/entry/app.ef30dc3d.js b/ui/assets/local/_app/immutable/entry/app.ef30dc3d.js new file mode 100644 index 0000000000..f916aaf344 --- /dev/null +++ b/ui/assets/local/_app/immutable/entry/app.ef30dc3d.js @@ -0,0 +1 @@ +import{S as H,b as J,a as K,c as M,e as m,d as Q,f as b,g as p,h as R,j as d,k as v,l as X,o as Y,m as Z,p as x,q as ee,u as O,v as L,w as te,x as ne,y as ie,z as $,A as P,B as w,C as h,D,E,F as k}from"../chunks/index.09834243.js";const re="modulepreload",se=function(_,e){return new URL(_,e).href},y={},u=function(e,n,r){if(!n||n.length===0)return e();const i=document.getElementsByTagName("link");return Promise.all(n.map(l=>{if(l=se(l,r),l in y)return;y[l]=!0;const t=l.endsWith(".css"),o=t?'[rel="stylesheet"]':"";if(!!r)for(let c=i.length-1;c>=0;c--){const g=i[c];if(g.href===l&&(!t||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${o}`))return;const a=document.createElement("link");if(a.rel=t?"stylesheet":re,t||(a.as="script",a.crossOrigin=""),a.href=l,document.head.appendChild(a),t)return new Promise((c,g)=>{a.addEventListener("load",c),a.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${l}`)))})})).then(()=>e())},ve={};function oe(_){let e,n,r;var i=_[1][0];function l(t){return{props:{data:t[3],form:t[2]}}}return i&&(e=w(i,l(_)),_[21](e)),{c(){e&&h(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&8&&(s.data=t[3]),o&4&&(s.form=t[2]),i!==(i=t[1][0])){if(e){$();const a=e;p(a.$$.fragment,1,0,()=>{k(a,1)}),R()}i?(e=w(i,l(t)),t[21](e),h(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){_[21](null),t&&v(n),e&&k(e,t)}}}function ae(_){let e,n,r;var i=_[1][0];function l(t){return{props:{data:t[3],$$slots:{default:[he]},$$scope:{ctx:t}}}}return i&&(e=w(i,l(_)),_[20](e)),{c(){e&&h(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&8&&(s.data=t[3]),o&4194551&&(s.$$scope={dirty:o,ctx:t}),i!==(i=t[1][0])){if(e){$();const a=e;p(a.$$.fragment,1,0,()=>{k(a,1)}),R()}i?(e=w(i,l(t)),t[20](e),h(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){_[20](null),t&&v(n),e&&k(e,t)}}}function _e(_){let e,n,r;var i=_[1][1];function l(t){return{props:{data:t[4],form:t[2]}}}return i&&(e=w(i,l(_)),_[19](e)),{c(){e&&h(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&16&&(s.data=t[4]),o&4&&(s.form=t[2]),i!==(i=t[1][1])){if(e){$();const a=e;p(a.$$.fragment,1,0,()=>{k(a,1)}),R()}i?(e=w(i,l(t)),t[19](e),h(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){_[19](null),t&&v(n),e&&k(e,t)}}}function le(_){let e,n,r;var i=_[1][1];function l(t){return{props:{data:t[4],$$slots:{default:[we]},$$scope:{ctx:t}}}}return i&&(e=w(i,l(_)),_[18](e)),{c(){e&&h(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&16&&(s.data=t[4]),o&4194535&&(s.$$scope={dirty:o,ctx:t}),i!==(i=t[1][1])){if(e){$();const a=e;p(a.$$.fragment,1,0,()=>{k(a,1)}),R()}i?(e=w(i,l(t)),t[18](e),h(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){_[18](null),t&&v(n),e&&k(e,t)}}}function fe(_){let e,n,r;var i=_[1][2];function l(t){return{props:{data:t[5],form:t[2]}}}return i&&(e=w(i,l(_)),_[17](e)),{c(){e&&h(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&32&&(s.data=t[5]),o&4&&(s.form=t[2]),i!==(i=t[1][2])){if(e){$();const a=e;p(a.$$.fragment,1,0,()=>{k(a,1)}),R()}i?(e=w(i,l(t)),t[17](e),h(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){_[17](null),t&&v(n),e&&k(e,t)}}}function ce(_){let e,n,r;var i=_[1][2];function l(t){return{props:{data:t[5],$$slots:{default:[de]},$$scope:{ctx:t}}}}return i&&(e=w(i,l(_)),_[16](e)),{c(){e&&h(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&32&&(s.data=t[5]),o&4194503&&(s.$$scope={dirty:o,ctx:t}),i!==(i=t[1][2])){if(e){$();const a=e;p(a.$$.fragment,1,0,()=>{k(a,1)}),R()}i?(e=w(i,l(t)),t[16](e),h(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){_[16](null),t&&v(n),e&&k(e,t)}}}function ue(_){let e,n,r;var i=_[1][3];function l(t){return{props:{data:t[6],form:t[2]}}}return i&&(e=w(i,l(_)),_[15](e)),{c(){e&&h(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&64&&(s.data=t[6]),o&4&&(s.form=t[2]),i!==(i=t[1][3])){if(e){$();const a=e;p(a.$$.fragment,1,0,()=>{k(a,1)}),R()}i?(e=w(i,l(t)),t[15](e),h(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){_[15](null),t&&v(n),e&&k(e,t)}}}function me(_){let e,n,r;var i=_[1][3];function l(t){return{props:{data:t[6],$$slots:{default:[pe]},$$scope:{ctx:t}}}}return i&&(e=w(i,l(_)),_[14](e)),{c(){e&&h(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&64&&(s.data=t[6]),o&4194439&&(s.$$scope={dirty:o,ctx:t}),i!==(i=t[1][3])){if(e){$();const a=e;p(a.$$.fragment,1,0,()=>{k(a,1)}),R()}i?(e=w(i,l(t)),t[14](e),h(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){_[14](null),t&&v(n),e&&k(e,t)}}}function pe(_){let e,n,r;var i=_[1][4];function l(t){return{props:{data:t[7],form:t[2]}}}return i&&(e=w(i,l(_)),_[13](e)),{c(){e&&h(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&128&&(s.data=t[7]),o&4&&(s.form=t[2]),i!==(i=t[1][4])){if(e){$();const a=e;p(a.$$.fragment,1,0,()=>{k(a,1)}),R()}i?(e=w(i,l(t)),t[13](e),h(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){_[13](null),t&&v(n),e&&k(e,t)}}}function de(_){let e,n,r,i;const l=[me,ue],t=[];function o(s,a){return s[1][4]?0:1}return e=o(_),n=t[e]=l[e](_),{c(){n.c(),r=m()},l(s){n.l(s),r=m()},m(s,a){t[e].m(s,a),b(s,r,a),i=!0},p(s,a){let c=e;e=o(s),e===c?t[e].p(s,a):($(),p(t[c],1,1,()=>{t[c]=null}),R(),n=t[e],n?n.p(s,a):(n=t[e]=l[e](s),n.c()),d(n,1),n.m(r.parentNode,r))},i(s){i||(d(n),i=!0)},o(s){p(n),i=!1},d(s){t[e].d(s),s&&v(r)}}}function we(_){let e,n,r,i;const l=[ce,fe],t=[];function o(s,a){return s[1][3]?0:1}return e=o(_),n=t[e]=l[e](_),{c(){n.c(),r=m()},l(s){n.l(s),r=m()},m(s,a){t[e].m(s,a),b(s,r,a),i=!0},p(s,a){let c=e;e=o(s),e===c?t[e].p(s,a):($(),p(t[c],1,1,()=>{t[c]=null}),R(),n=t[e],n?n.p(s,a):(n=t[e]=l[e](s),n.c()),d(n,1),n.m(r.parentNode,r))},i(s){i||(d(n),i=!0)},o(s){p(n),i=!1},d(s){t[e].d(s),s&&v(r)}}}function he(_){let e,n,r,i;const l=[le,_e],t=[];function o(s,a){return s[1][2]?0:1}return e=o(_),n=t[e]=l[e](_),{c(){n.c(),r=m()},l(s){n.l(s),r=m()},m(s,a){t[e].m(s,a),b(s,r,a),i=!0},p(s,a){let c=e;e=o(s),e===c?t[e].p(s,a):($(),p(t[c],1,1,()=>{t[c]=null}),R(),n=t[e],n?n.p(s,a):(n=t[e]=l[e](s),n.c()),d(n,1),n.m(r.parentNode,r))},i(s){i||(d(n),i=!0)},o(s){p(n),i=!1},d(s){t[e].d(s),s&&v(r)}}}function N(_){let e,n=_[9]&&q(_);return{c(){e=Z("div"),n&&n.c(),this.h()},l(r){e=x(r,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var i=ee(e);n&&n.l(i),i.forEach(v),this.h()},h(){O(e,"id","svelte-announcer"),O(e,"aria-live","assertive"),O(e,"aria-atomic","true"),L(e,"position","absolute"),L(e,"left","0"),L(e,"top","0"),L(e,"clip","rect(0 0 0 0)"),L(e,"clip-path","inset(50%)"),L(e,"overflow","hidden"),L(e,"white-space","nowrap"),L(e,"width","1px"),L(e,"height","1px")},m(r,i){b(r,e,i),n&&n.m(e,null)},p(r,i){r[9]?n?n.p(r,i):(n=q(r),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(r){r&&v(e),n&&n.d()}}}function q(_){let e;return{c(){e=te(_[10])},l(n){e=ne(n,_[10])},m(n,r){b(n,e,r)},p(n,r){r&1024&&ie(e,n[10])},d(n){n&&v(e)}}}function Ee(_){let e,n,r,i,l;const t=[ae,oe],o=[];function s(c,g){return c[1][1]?0:1}e=s(_),n=o[e]=t[e](_);let a=_[8]&&N(_);return{c(){n.c(),r=M(),a&&a.c(),i=m()},l(c){n.l(c),r=Q(c),a&&a.l(c),i=m()},m(c,g){o[e].m(c,g),b(c,r,g),a&&a.m(c,g),b(c,i,g),l=!0},p(c,[g]){let I=e;e=s(c),e===I?o[e].p(c,g):($(),p(o[I],1,1,()=>{o[I]=null}),R(),n=o[e],n?n.p(c,g):(n=o[e]=t[e](c),n.c()),d(n,1),n.m(r.parentNode,r)),c[8]?a?a.p(c,g):(a=N(c),a.c(),a.m(i.parentNode,i)):a&&(a.d(1),a=null)},i(c){l||(d(n),l=!0)},o(c){p(n),l=!1},d(c){o[e].d(c),c&&v(r),a&&a.d(c),c&&v(i)}}}function ke(_,e,n){let{stores:r}=e,{page:i}=e,{constructors:l}=e,{components:t=[]}=e,{form:o}=e,{data_0:s=null}=e,{data_1:a=null}=e,{data_2:c=null}=e,{data_3:g=null}=e,{data_4:I=null}=e;X(r.page.notify);let A=!1,T=!1,V=null;Y(()=>{const f=r.page.subscribe(()=>{A&&(n(9,T=!0),n(10,V=document.title||"untitled page"))});return n(8,A=!0),f});function S(f){P[f?"unshift":"push"](()=>{t[4]=f,n(0,t)})}function C(f){P[f?"unshift":"push"](()=>{t[3]=f,n(0,t)})}function j(f){P[f?"unshift":"push"](()=>{t[3]=f,n(0,t)})}function B(f){P[f?"unshift":"push"](()=>{t[2]=f,n(0,t)})}function U(f){P[f?"unshift":"push"](()=>{t[2]=f,n(0,t)})}function z(f){P[f?"unshift":"push"](()=>{t[1]=f,n(0,t)})}function F(f){P[f?"unshift":"push"](()=>{t[1]=f,n(0,t)})}function W(f){P[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}function G(f){P[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}return _.$$set=f=>{"stores"in f&&n(11,r=f.stores),"page"in f&&n(12,i=f.page),"constructors"in f&&n(1,l=f.constructors),"components"in f&&n(0,t=f.components),"form"in f&&n(2,o=f.form),"data_0"in f&&n(3,s=f.data_0),"data_1"in f&&n(4,a=f.data_1),"data_2"in f&&n(5,c=f.data_2),"data_3"in f&&n(6,g=f.data_3),"data_4"in f&&n(7,I=f.data_4)},_.$$.update=()=>{_.$$.dirty&6144&&r.page.set(i)},[t,l,o,s,a,c,g,I,A,T,V,r,i,S,C,j,B,U,z,F,W,G]}class be extends H{constructor(e){super(),J(this,e,ke,Ee,K,{stores:11,page:12,constructors:1,components:0,form:2,data_0:3,data_1:4,data_2:5,data_3:6,data_4:7})}}const Re=[()=>u(()=>import("../chunks/0.6860b28b.js"),["../chunks/0.6860b28b.js","../chunks/_layout.ec8fd122.js","../chunks/index.e31b9884.js","./layout.svelte.cb4cf182.js","../chunks/index.09834243.js"],import.meta.url),()=>u(()=>import("../chunks/1.87434678.js"),["../chunks/1.87434678.js","./_error.svelte.f19f2b3d.js","../chunks/index.09834243.js","../chunks/stores.cd833532.js","../chunks/singletons.741208bb.js","../chunks/paths.6ba25c42.js","../chunks/error.fc570cb5.js","../chunks/navigation.3b6dd1c7.js","../chunks/link.7cb1390a.js","../chunks/icon.3cd9fa27.js","../assets/link.e1fc8ece.css","../chunks/has.b142a10d.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/is-network-error.e2b13739.js","../assets/app.01329fc1.css"],import.meta.url),()=>u(()=>import("../chunks/2.aad9e569.js"),["../chunks/2.aad9e569.js","../chunks/_layout.97f21994.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for-api.a8b11085.js","../chunks/prod-browser.becde89a.js","../chunks/auth-user.051e0dee.js","../chunks/index.09834243.js","../chunks/persist-store.47877c2b.js","../chunks/singletons.741208bb.js","../chunks/paths.6ba25c42.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/toaster.a0b7d8ad.js","../chunks/has.b142a10d.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.d76d8056.js","../chunks/stores.cd833532.js","../chunks/namespaces-service.5add732a.js","../chunks/namespaces.5ad7f936.js","../chunks/paginated.a1dfd6c1.js","../chunks/settings-service.8df029a6.js","../chunks/atob.568d13ab.js","../assets/app.01329fc1.css","./(app)-layout.svelte.ef836b2b.js","../chunks/navigation.3b6dd1c7.js","../chunks/toggle-switch.3808d19f.js","../assets/toggle-switch.ff91b31f.css","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/is-http.486112c3.js","../chunks/workflow-run.1abbba7b.js","../chunks/data-encoder-config.79b97010.js","../chunks/menu.4ba49cb6.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/icon.3cd9fa27.js","../assets/menu.b7c0dde7.css","../chunks/link.7cb1390a.js","../assets/link.e1fc8ece.css","../chunks/button.ce5dce2f.js","../assets/button.386e08e4.css","../chunks/accordion.27d3ff9a.js","../chunks/radio-input.af69c0d3.js","../assets/radio-input.01c3758f.css","../chunks/tooltip.9802d6e3.js","../chunks/index.a9a075c8.js","../chunks/copy-to-clipboard.a6afb80a.js","../chunks/button.27a19883.js","../assets/button.8b8c0631.css","../assets/tooltip.78399487.css","../chunks/batch-operations.54e5cb65.js","../chunks/workflow-actions.6f88149c.js","../chunks/versions.a86975a1.js","../chunks/version-check.d006b302.js","../chunks/labs-mode.1f006a51.js","../chunks/icon-button.b5ab850e.js","../assets/icon-button.16bef21d.css","../chunks/input.d5248942.js","../assets/input.19df62ce.css","../chunks/menu-divider.6c0ebb73.js","../chunks/format-date.79f77cbf.js","../chunks/format-time.650b834b.js","../chunks/format-camel-case.887ffc78.js","../chunks/error.fc570cb5.js","../assets/_layout.b7b71fe6.css"],import.meta.url),()=>u(()=>import("../chunks/3.b5db6dc0.js"),["../chunks/3.b5db6dc0.js","./(app)-import-layout.svelte.a8105da0.js","../chunks/index.09834243.js","../chunks/stores.cd833532.js","../chunks/singletons.741208bb.js","../chunks/paths.6ba25c42.js","../chunks/page-title.34fd480b.js"],import.meta.url),()=>u(()=>import("../chunks/4.a04174cf.js"),["../chunks/4.a04174cf.js","./(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.28d38e72.js","../chunks/index.09834243.js","../chunks/event-history-file-import.d64caee8.js","../chunks/navigation.3b6dd1c7.js","../chunks/singletons.741208bb.js","../chunks/paths.6ba25c42.js","../chunks/button.ce5dce2f.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/icon.3cd9fa27.js","../assets/button.386e08e4.css","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/index.7999049a.js","../chunks/has.b142a10d.js","../chunks/is-event-type.4dbe973b.js","../chunks/format-time.650b834b.js","../chunks/index.38be7b17.js","../chunks/data-encoder-config.79b97010.js","../chunks/persist-store.47877c2b.js","../chunks/format-date.79f77cbf.js","../chunks/get-event-categorization.3ec93a88.js","../chunks/simplify-attributes.7c9bfcb7.js","../chunks/import-events.0a475568.js","../chunks/namespaces.5ad7f936.js","../chunks/toaster.a0b7d8ad.js","../chunks/route-for.d76d8056.js","../chunks/prod-browser.becde89a.js","../chunks/toggle-buttons.d3e32817.js","../chunks/stores.cd833532.js","../assets/toggle-buttons.1415ce75.css"],import.meta.url),()=>u(()=>import("../chunks/5.b658bf6e.js"),["../chunks/5.b658bf6e.js","../chunks/_layout.91beef47.js","../chunks/route-for-api.a8b11085.js","../chunks/prod-browser.becde89a.js","../chunks/auth-user.051e0dee.js","../chunks/index.09834243.js","../chunks/persist-store.47877c2b.js","../chunks/singletons.741208bb.js","../chunks/paths.6ba25c42.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/toaster.a0b7d8ad.js","../chunks/has.b142a10d.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.d76d8056.js","../chunks/stores.cd833532.js","../chunks/search-attributes.5b3e5149.js","./layout.svelte.cb4cf182.js"],import.meta.url),()=>u(()=>import("../chunks/6.26454f31.js"),["../chunks/6.26454f31.js","./(app)-namespaces-_namespace_-schedules-layout.svelte.cb4cf182.js","../chunks/index.09834243.js"],import.meta.url),()=>u(()=>import("../chunks/7.11344f24.js"),["../chunks/7.11344f24.js","./(app)-namespaces-_namespace_-task-queues-layout.svelte.c45159a6.js","../chunks/index.09834243.js"],import.meta.url),()=>u(()=>import("../chunks/8.0d93c2d4.js"),["../chunks/8.0d93c2d4.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.f677ae93.js","../chunks/index.09834243.js","../chunks/stores.cd833532.js","../chunks/singletons.741208bb.js","../chunks/paths.6ba25c42.js","../chunks/loading.3bde98aa.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/menu.4ba49cb6.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/icon.3cd9fa27.js","../assets/menu.b7c0dde7.css","../chunks/toggle-switch.3808d19f.js","../assets/toggle-switch.ff91b31f.css","../chunks/tooltip.9802d6e3.js","../chunks/index.a9a075c8.js","../chunks/copy-to-clipboard.a6afb80a.js","../chunks/button.27a19883.js","../assets/button.8b8c0631.css","../assets/tooltip.78399487.css","../chunks/event-view.f3ec8bd2.js","../chunks/persist-store.47877c2b.js","../chunks/workflow-terminate-enabled.e1ebd541.js","../chunks/omit.6cf41932.js","../chunks/workflow-actions.6f88149c.js","../assets/workflow-terminate-enabled.4b5966e2.css","../chunks/input.d5248942.js","../chunks/icon-button.b5ab850e.js","../assets/icon-button.16bef21d.css","../assets/input.19df62ce.css","../chunks/radio-input.af69c0d3.js","../assets/radio-input.01c3758f.css","../chunks/events-service.4ec8b4a3.js","../chunks/auth-user.051e0dee.js","../chunks/workflow-run.1abbba7b.js","../chunks/route-for.d76d8056.js","../chunks/prod-browser.becde89a.js","../chunks/is-event-type.4dbe973b.js","../chunks/index.38be7b17.js","../chunks/data-encoder-config.79b97010.js","../chunks/has.b142a10d.js","../chunks/format-date.79f77cbf.js","../chunks/format-time.650b834b.js","../chunks/get-event-categorization.3ec93a88.js","../chunks/simplify-attributes.7c9bfcb7.js","../chunks/paginated.a1dfd6c1.js","../chunks/route-for-api.a8b11085.js","../chunks/toaster.a0b7d8ad.js","../chunks/is-network-error.e2b13739.js","../chunks/button.ce5dce2f.js","../assets/button.386e08e4.css","../chunks/code-block.797d93a9.js","../chunks/menu-divider.6c0ebb73.js","../chunks/modal.25f32d75.js","../assets/modal.a1162225.css","../chunks/split-button.a43ca811.js","../assets/split-button.8566e410.css","../chunks/workflow-service.14ef2cb6.js","../chunks/decode-payload.e6040d83.js","../chunks/is-http.486112c3.js","../chunks/atob.568d13ab.js","../chunks/versions.a86975a1.js","../chunks/version-check.d006b302.js","../chunks/core-user.c59191b9.js","../chunks/workflow-status.cf27e560.js","../assets/workflow-status.66629984.css","../chunks/alert.67786ddb.js","../assets/alert.303275c8.css","../chunks/pollers-service.310d4298.js","../assets/pollers-service.3f93e67d.css","../chunks/link.7cb1390a.js","../assets/link.e1fc8ece.css","../chunks/tab.25c1b914.js","../assets/tab.8436f1bf.css","../chunks/workflows.915912aa.js","../chunks/task-queue-compatibility.cf5696f8.js","../chunks/get-codec.fde3aa26.js"],import.meta.url),()=>u(()=>import("../chunks/9.ca1e2aba.js"),["../chunks/9.ca1e2aba.js","../chunks/_layout.c9855fd0.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/settings-service.8df029a6.js","../chunks/route-for-api.a8b11085.js","../chunks/prod-browser.becde89a.js","../chunks/auth-user.051e0dee.js","../chunks/index.09834243.js","../chunks/persist-store.47877c2b.js","../chunks/singletons.741208bb.js","../chunks/paths.6ba25c42.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/toaster.a0b7d8ad.js","../chunks/has.b142a10d.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.d76d8056.js","../chunks/stores.cd833532.js","../assets/app.01329fc1.css","./(login)-layout.svelte.cb4cf182.js"],import.meta.url),()=>u(()=>import("../chunks/10.e2f39a14.js"),["../chunks/10.e2f39a14.js","../chunks/_page.04d6547f.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.d76d8056.js","../chunks/prod-browser.becde89a.js","../chunks/paths.6ba25c42.js","./(app)-page.svelte.01805950.js","../chunks/index.09834243.js","../chunks/navigation.3b6dd1c7.js","../chunks/singletons.741208bb.js","../chunks/loading.3bde98aa.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/workflow-service.14ef2cb6.js","../chunks/decode-payload.e6040d83.js","../chunks/data-encoder-config.79b97010.js","../chunks/persist-store.47877c2b.js","../chunks/has.b142a10d.js","../chunks/is-http.486112c3.js","../chunks/atob.568d13ab.js","../chunks/versions.a86975a1.js","../chunks/stores.cd833532.js","../chunks/simplify-attributes.7c9bfcb7.js","../chunks/format-date.79f77cbf.js","../chunks/format-time.650b834b.js","../chunks/route-for-api.a8b11085.js","../chunks/auth-user.051e0dee.js","../chunks/toaster.a0b7d8ad.js","../chunks/is-network-error.e2b13739.js","../chunks/version-check.d006b302.js","../chunks/namespaces.5ad7f936.js"],import.meta.url),()=>u(()=>import("../chunks/11.9bc2e49c.js"),["../chunks/11.9bc2e49c.js","../chunks/_page.d908487b.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.d76d8056.js","../chunks/prod-browser.becde89a.js","../chunks/paths.6ba25c42.js"],import.meta.url),()=>u(()=>import("../chunks/12.be94a1e9.js"),["../chunks/12.be94a1e9.js","./(app)-import-events-page.svelte.7623444e.js","../chunks/index.09834243.js","../chunks/event-history-file-import.d64caee8.js","../chunks/navigation.3b6dd1c7.js","../chunks/singletons.741208bb.js","../chunks/paths.6ba25c42.js","../chunks/button.ce5dce2f.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/icon.3cd9fa27.js","../assets/button.386e08e4.css","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/index.7999049a.js","../chunks/has.b142a10d.js","../chunks/is-event-type.4dbe973b.js","../chunks/format-time.650b834b.js","../chunks/index.38be7b17.js","../chunks/data-encoder-config.79b97010.js","../chunks/persist-store.47877c2b.js","../chunks/format-date.79f77cbf.js","../chunks/get-event-categorization.3ec93a88.js","../chunks/simplify-attributes.7c9bfcb7.js","../chunks/import-events.0a475568.js","../chunks/namespaces.5ad7f936.js","../chunks/toaster.a0b7d8ad.js","../chunks/route-for.d76d8056.js","../chunks/prod-browser.becde89a.js","../chunks/code-block.797d93a9.js","../chunks/button.27a19883.js","../assets/button.8b8c0631.css","../chunks/copy-to-clipboard.a6afb80a.js","../chunks/link.7cb1390a.js","../assets/link.e1fc8ece.css"],import.meta.url),()=>u(()=>import("../chunks/13.16ad8486.js"),["../chunks/13.16ad8486.js","../chunks/_page.a2e291f1.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.d76d8056.js","../chunks/prod-browser.becde89a.js","../chunks/paths.6ba25c42.js"],import.meta.url),()=>u(()=>import("../chunks/14.9447236b.js"),["../chunks/14.9447236b.js","./(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.ba93c4dd.js","../chunks/index.09834243.js","../chunks/event-summary-table.c8c908b8.js","../chunks/empty-state.aea525ff.js","../chunks/icon.3cd9fa27.js","../chunks/loading.3bde98aa.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/menu.4ba49cb6.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/singletons.741208bb.js","../chunks/paths.6ba25c42.js","../assets/menu.b7c0dde7.css","../chunks/navigation.3b6dd1c7.js","../chunks/stores.cd833532.js","../chunks/link.7cb1390a.js","../assets/link.e1fc8ece.css","../chunks/index.7999049a.js","../chunks/has.b142a10d.js","../chunks/is-event-type.4dbe973b.js","../chunks/format-time.650b834b.js","../chunks/event-view.f3ec8bd2.js","../chunks/persist-store.47877c2b.js","../chunks/format-date.79f77cbf.js","../chunks/format-event-attributes.8792031a.js","../chunks/format-camel-case.887ffc78.js","../chunks/route-for.d76d8056.js","../chunks/prod-browser.becde89a.js","../chunks/code-block.797d93a9.js","../chunks/button.27a19883.js","../assets/button.8b8c0631.css","../chunks/copy-to-clipboard.a6afb80a.js","../chunks/index.a9a075c8.js","../chunks/payload-decoder.53c14555.js","../chunks/auth-user.051e0dee.js","../chunks/decode-payload.e6040d83.js","../chunks/data-encoder-config.79b97010.js","../chunks/is-http.486112c3.js","../chunks/atob.568d13ab.js","../chunks/get-codec.fde3aa26.js","../chunks/table-header-row.843c5ee2.js","../assets/table-header-row.6ba6477c.css","../chunks/get-event-categorization.3ec93a88.js","../chunks/filters.d78bd1e9.js","../chunks/versions.a86975a1.js","../chunks/update-query-parameters.016c7f2f.js","../chunks/version-check.d006b302.js","../chunks/menu-divider.6c0ebb73.js","../chunks/button.ce5dce2f.js","../assets/button.386e08e4.css","../assets/event-summary-table.c983745f.css","../chunks/pagination.6f99836b.js","../chunks/simple-select.1c5b21bd.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/import-events.0a475568.js"],import.meta.url),()=>u(()=>import("../chunks/15.5b81d84a.js"),["../chunks/15.5b81d84a.js","./(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.4960b25c.js","../chunks/index.09834243.js","../chunks/event-summary-table.c8c908b8.js","../chunks/empty-state.aea525ff.js","../chunks/icon.3cd9fa27.js","../chunks/loading.3bde98aa.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/menu.4ba49cb6.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/singletons.741208bb.js","../chunks/paths.6ba25c42.js","../assets/menu.b7c0dde7.css","../chunks/navigation.3b6dd1c7.js","../chunks/stores.cd833532.js","../chunks/link.7cb1390a.js","../assets/link.e1fc8ece.css","../chunks/index.7999049a.js","../chunks/has.b142a10d.js","../chunks/is-event-type.4dbe973b.js","../chunks/format-time.650b834b.js","../chunks/event-view.f3ec8bd2.js","../chunks/persist-store.47877c2b.js","../chunks/format-date.79f77cbf.js","../chunks/format-event-attributes.8792031a.js","../chunks/format-camel-case.887ffc78.js","../chunks/route-for.d76d8056.js","../chunks/prod-browser.becde89a.js","../chunks/code-block.797d93a9.js","../chunks/button.27a19883.js","../assets/button.8b8c0631.css","../chunks/copy-to-clipboard.a6afb80a.js","../chunks/index.a9a075c8.js","../chunks/payload-decoder.53c14555.js","../chunks/auth-user.051e0dee.js","../chunks/decode-payload.e6040d83.js","../chunks/data-encoder-config.79b97010.js","../chunks/is-http.486112c3.js","../chunks/atob.568d13ab.js","../chunks/get-codec.fde3aa26.js","../chunks/table-header-row.843c5ee2.js","../assets/table-header-row.6ba6477c.css","../chunks/get-event-categorization.3ec93a88.js","../chunks/filters.d78bd1e9.js","../chunks/versions.a86975a1.js","../chunks/update-query-parameters.016c7f2f.js","../chunks/version-check.d006b302.js","../chunks/menu-divider.6c0ebb73.js","../chunks/button.ce5dce2f.js","../assets/button.386e08e4.css","../assets/event-summary-table.c983745f.css","../chunks/pagination.6f99836b.js","../chunks/simple-select.1c5b21bd.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/import-events.0a475568.js"],import.meta.url),()=>u(()=>import("../chunks/16.254af1f2.js"),["../chunks/16.254af1f2.js","./(app)-import-events-_namespace_-_workflow_-_run_-history-json-page.svelte.15e5dbe2.js","../chunks/index.09834243.js","../chunks/workflow-json-navigator.1792b935.js","../chunks/code-block.797d93a9.js","../chunks/button.27a19883.js","../chunks/icon.3cd9fa27.js","../assets/button.8b8c0631.css","../chunks/copy-to-clipboard.a6afb80a.js","../chunks/singletons.741208bb.js","../chunks/paths.6ba25c42.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/omit.6cf41932.js","../chunks/loading.3bde98aa.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/payload-decoder.53c14555.js","../chunks/stores.cd833532.js","../chunks/auth-user.051e0dee.js","../chunks/persist-store.47877c2b.js","../chunks/decode-payload.e6040d83.js","../chunks/data-encoder-config.79b97010.js","../chunks/has.b142a10d.js","../chunks/is-http.486112c3.js","../chunks/atob.568d13ab.js","../chunks/prod-browser.becde89a.js","../chunks/get-codec.fde3aa26.js","../assets/workflow-json-navigator.a85b4b27.css","../chunks/import-events.0a475568.js"],import.meta.url),()=>u(()=>import("../chunks/17.88c703c3.js"),["../chunks/17.88c703c3.js","./(app)-namespaces-page.svelte.eb0a6627.js","../chunks/index.09834243.js","../chunks/stores.cd833532.js","../chunks/singletons.741208bb.js","../chunks/paths.6ba25c42.js","../chunks/page-title.34fd480b.js","../chunks/empty-state.aea525ff.js","../chunks/icon.3cd9fa27.js","../chunks/link.7cb1390a.js","../assets/link.e1fc8ece.css","../chunks/pagination.6f99836b.js","../chunks/update-query-parameters.016c7f2f.js","../chunks/navigation.3b6dd1c7.js","../chunks/simple-select.1c5b21bd.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/table-header-row.843c5ee2.js","../assets/table-header-row.6ba6477c.css","../chunks/table-row.185c48e5.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/namespaces.5ad7f936.js","../chunks/persist-store.47877c2b.js","../chunks/route-for.d76d8056.js","../chunks/prod-browser.becde89a.js"],import.meta.url),()=>u(()=>import("../chunks/18.a7dec31d.js"),["../chunks/18.a7dec31d.js","../chunks/_page.f15985bd.js","../chunks/namespaces-service.5add732a.js","../chunks/namespaces.5ad7f936.js","../chunks/singletons.741208bb.js","../chunks/index.09834243.js","../chunks/paths.6ba25c42.js","../chunks/persist-store.47877c2b.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/toaster.a0b7d8ad.js","../chunks/paginated.a1dfd6c1.js","../chunks/route-for-api.a8b11085.js","../chunks/prod-browser.becde89a.js","../chunks/auth-user.051e0dee.js","../chunks/has.b142a10d.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.d76d8056.js","../chunks/stores.cd833532.js","./(app)-namespaces-_namespace_-page.svelte.7b6ebdeb.js","../chunks/page-title.34fd480b.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/card.133df274.js","../assets/card.c4e4432a.css","../chunks/table-header-row.843c5ee2.js","../assets/table-header-row.6ba6477c.css","../chunks/table-row.185c48e5.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/search-attributes.5b3e5149.js","../chunks/versions.a86975a1.js","../chunks/format-time.650b834b.js"],import.meta.url),()=>u(()=>import("../chunks/19.d706566e.js"),["../chunks/19.d706566e.js","../chunks/_page.229b03a2.js","../chunks/namespaces-service.5add732a.js","../chunks/namespaces.5ad7f936.js","../chunks/singletons.741208bb.js","../chunks/index.09834243.js","../chunks/paths.6ba25c42.js","../chunks/persist-store.47877c2b.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/toaster.a0b7d8ad.js","../chunks/paginated.a1dfd6c1.js","../chunks/route-for-api.a8b11085.js","../chunks/prod-browser.becde89a.js","../chunks/auth-user.051e0dee.js","../chunks/has.b142a10d.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.d76d8056.js","../chunks/stores.cd833532.js","../chunks/workflow-service.14ef2cb6.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/decode-payload.e6040d83.js","../chunks/data-encoder-config.79b97010.js","../chunks/is-http.486112c3.js","../chunks/atob.568d13ab.js","../chunks/versions.a86975a1.js","../chunks/simplify-attributes.7c9bfcb7.js","../chunks/format-date.79f77cbf.js","../chunks/format-time.650b834b.js","../chunks/version-check.d006b302.js","./(app)-namespaces-_namespace_-archival-page.svelte.53f62b49.js","../chunks/page-title.34fd480b.js","../chunks/index.44f123ef.js","../chunks/navigation.3b6dd1c7.js","../chunks/workflow-status.cf27e560.js","../chunks/button.ce5dce2f.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/icon.3cd9fa27.js","../assets/button.386e08e4.css","../assets/workflow-status.66629984.css","../chunks/copy-to-clipboard.a6afb80a.js","../chunks/link.7cb1390a.js","../assets/link.e1fc8ece.css","../chunks/table-row.185c48e5.js","../chunks/workflows.915912aa.js","../chunks/update-query-parameters.016c7f2f.js","../chunks/table-header-row.843c5ee2.js","../assets/table-header-row.6ba6477c.css","../chunks/input.d5248942.js","../chunks/icon-button.b5ab850e.js","../assets/icon-button.16bef21d.css","../assets/input.19df62ce.css","../assets/index.d6094a94.css","../chunks/code-block.797d93a9.js","../chunks/button.27a19883.js","../assets/button.8b8c0631.css","../chunks/empty-state.aea525ff.js","../chunks/pagination.6f99836b.js","../chunks/simple-select.1c5b21bd.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../assets/_page.c5268cbc.css"],import.meta.url),()=>u(()=>import("../chunks/20.7437b919.js"),["../chunks/20.7437b919.js","./(app)-namespaces-_namespace_-batch-operations-page.svelte.a9c8ef59.js","../chunks/index.09834243.js","../chunks/stores.cd833532.js","../chunks/singletons.741208bb.js","../chunks/paths.6ba25c42.js","../chunks/page-title.34fd480b.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/empty-state.aea525ff.js","../chunks/icon.3cd9fa27.js","../chunks/link.7cb1390a.js","../assets/link.e1fc8ece.css","../chunks/table-header-row.843c5ee2.js","../assets/table-header-row.6ba6477c.css","../chunks/table-row.185c48e5.js","../chunks/format-date.79f77cbf.js","../chunks/persist-store.47877c2b.js","../chunks/format-time.650b834b.js","../chunks/has.b142a10d.js","../chunks/route-for.d76d8056.js","../chunks/prod-browser.becde89a.js","../chunks/alert.67786ddb.js","../assets/alert.303275c8.css","../chunks/loading.3bde98aa.js","../chunks/batch-operations.54e5cb65.js","../chunks/workflow-actions.6f88149c.js","../chunks/auth-user.051e0dee.js","../chunks/versions.a86975a1.js","../chunks/route-for-api.a8b11085.js","../chunks/toaster.a0b7d8ad.js","../chunks/is-network-error.e2b13739.js","../chunks/version-check.d006b302.js"],import.meta.url),()=>u(()=>import("../chunks/21.f79d193a.js"),["../chunks/21.f79d193a.js","./(app)-namespaces-_namespace_-batch-operations-_jobId_-page.svelte.e6af209f.js","../chunks/index.09834243.js","../chunks/stores.cd833532.js","../chunks/singletons.741208bb.js","../chunks/paths.6ba25c42.js","../chunks/page-title.34fd480b.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/format-date.79f77cbf.js","../chunks/persist-store.47877c2b.js","../chunks/format-time.650b834b.js","../chunks/has.b142a10d.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/toggle-switch.3808d19f.js","../assets/toggle-switch.ff91b31f.css","../chunks/tooltip.9802d6e3.js","../chunks/index.a9a075c8.js","../chunks/copy-to-clipboard.a6afb80a.js","../chunks/button.27a19883.js","../chunks/icon.3cd9fa27.js","../assets/button.8b8c0631.css","../assets/tooltip.78399487.css","../chunks/batch-operations.54e5cb65.js","../chunks/workflow-actions.6f88149c.js","../chunks/auth-user.051e0dee.js","../chunks/versions.a86975a1.js","../chunks/route-for-api.a8b11085.js","../chunks/prod-browser.becde89a.js","../chunks/toaster.a0b7d8ad.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.d76d8056.js","../chunks/version-check.d006b302.js","../chunks/card.133df274.js","../assets/card.c4e4432a.css","../chunks/link.7cb1390a.js","../assets/link.e1fc8ece.css","../assets/_page.4cad707d.css"],import.meta.url),()=>u(()=>import("../chunks/22.36388f35.js"),["../chunks/22.36388f35.js","./(app)-namespaces-_namespace_-schedules-page.svelte.ed0c304a.js","../chunks/index.09834243.js","../chunks/stores.cd833532.js","../chunks/singletons.741208bb.js","../chunks/paths.6ba25c42.js","../chunks/page-title.34fd480b.js","../chunks/navigation.3b6dd1c7.js","../chunks/workflow-status.cf27e560.js","../chunks/button.ce5dce2f.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/icon.3cd9fa27.js","../assets/button.386e08e4.css","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../assets/workflow-status.66629984.css","../chunks/link.7cb1390a.js","../assets/link.e1fc8ece.css","../chunks/table-row.185c48e5.js","../chunks/format-date.79f77cbf.js","../chunks/persist-store.47877c2b.js","../chunks/format-time.650b834b.js","../chunks/has.b142a10d.js","../chunks/route-for.d76d8056.js","../chunks/prod-browser.becde89a.js","../chunks/schedule-service.4cfc145d.js","../chunks/code-block.797d93a9.js","../chunks/button.27a19883.js","../assets/button.8b8c0631.css","../chunks/copy-to-clipboard.a6afb80a.js","../chunks/route-for-api.a8b11085.js","../chunks/auth-user.051e0dee.js","../chunks/toaster.a0b7d8ad.js","../chunks/is-network-error.e2b13739.js","../chunks/table-header-row.843c5ee2.js","../assets/table-header-row.6ba6477c.css","../chunks/empty-state.aea525ff.js","../chunks/input.d5248942.js","../chunks/icon-button.b5ab850e.js","../assets/icon-button.16bef21d.css","../assets/input.19df62ce.css","../chunks/loading.3bde98aa.js","../chunks/pagination.6f99836b.js","../chunks/update-query-parameters.016c7f2f.js","../chunks/simple-select.1c5b21bd.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/core-user.c59191b9.js","../assets/_page.af190463.css"],import.meta.url),()=>u(()=>import("../chunks/23.94134f77.js"),["../chunks/23.94134f77.js","./(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.d01fb7cc.js","../chunks/index.09834243.js","../chunks/stores.cd833532.js","../chunks/singletons.741208bb.js","../chunks/paths.6ba25c42.js","../chunks/page-title.34fd480b.js","../chunks/navigation.3b6dd1c7.js","../chunks/accordion.27d3ff9a.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/icon.3cd9fa27.js","../chunks/toaster.a0b7d8ad.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/schedule-service.4cfc145d.js","../chunks/code-block.797d93a9.js","../chunks/button.27a19883.js","../assets/button.8b8c0631.css","../chunks/copy-to-clipboard.a6afb80a.js","../chunks/route-for-api.a8b11085.js","../chunks/prod-browser.becde89a.js","../chunks/auth-user.051e0dee.js","../chunks/persist-store.47877c2b.js","../chunks/has.b142a10d.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.d76d8056.js","../chunks/empty-state.aea525ff.js","../chunks/link.7cb1390a.js","../assets/link.e1fc8ece.css","../chunks/workflow-service.14ef2cb6.js","../chunks/decode-payload.e6040d83.js","../chunks/data-encoder-config.79b97010.js","../chunks/is-http.486112c3.js","../chunks/atob.568d13ab.js","../chunks/versions.a86975a1.js","../chunks/simplify-attributes.7c9bfcb7.js","../chunks/format-date.79f77cbf.js","../chunks/format-time.650b834b.js","../chunks/version-check.d006b302.js","../chunks/workflow-status.cf27e560.js","../chunks/button.ce5dce2f.js","../assets/button.386e08e4.css","../assets/workflow-status.66629984.css","../chunks/loading.3bde98aa.js","../chunks/menu.4ba49cb6.js","../assets/menu.b7c0dde7.css","../chunks/modal.25f32d75.js","../chunks/icon-button.b5ab850e.js","../assets/icon-button.16bef21d.css","../assets/modal.a1162225.css","../chunks/radio-input.af69c0d3.js","../assets/radio-input.01c3758f.css","../chunks/split-button.a43ca811.js","../assets/split-button.8566e410.css","../chunks/core-user.c59191b9.js","../chunks/schedules.8c7d6083.js","../assets/_page.8e3b0af3.css"],import.meta.url),()=>u(()=>import("../chunks/24.4ceddc95.js"),["../chunks/24.4ceddc95.js","./(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.6d0e271d.js","../chunks/index.09834243.js","../chunks/stores.cd833532.js","../chunks/singletons.741208bb.js","../chunks/paths.6ba25c42.js","../chunks/page-title.34fd480b.js","../chunks/schedule-form-view.31c423ef.js","../chunks/input.d5248942.js","../chunks/icon.3cd9fa27.js","../chunks/copy-to-clipboard.a6afb80a.js","../chunks/icon-button.b5ab850e.js","../assets/icon-button.16bef21d.css","../assets/input.19df62ce.css","../chunks/tab.25c1b914.js","../chunks/parse-with-big-int.b38462f3.js","../assets/tab.8436f1bf.css","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/option.1c804512.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/menu.4ba49cb6.js","../assets/menu.b7c0dde7.css","../assets/option.20882847.css","../chunks/toggle-buttons.d3e32817.js","../assets/toggle-buttons.1415ce75.css","../chunks/schedule-service.4cfc145d.js","../chunks/code-block.797d93a9.js","../chunks/button.27a19883.js","../assets/button.8b8c0631.css","../chunks/route-for-api.a8b11085.js","../chunks/prod-browser.becde89a.js","../chunks/auth-user.051e0dee.js","../chunks/persist-store.47877c2b.js","../chunks/toaster.a0b7d8ad.js","../chunks/has.b142a10d.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.d76d8056.js","../chunks/alert.67786ddb.js","../assets/alert.303275c8.css","../chunks/button.ce5dce2f.js","../assets/button.386e08e4.css","../chunks/link.7cb1390a.js","../assets/link.e1fc8ece.css","../chunks/loading.3bde98aa.js","../chunks/schedules.8c7d6083.js","../chunks/navigation.3b6dd1c7.js","../assets/schedule-form-view.6d80008f.css"],import.meta.url),()=>u(()=>import("../chunks/25.fac49063.js"),["../chunks/25.fac49063.js","./(app)-namespaces-_namespace_-schedules-create-page.svelte.d27cb023.js","../chunks/index.09834243.js","../chunks/stores.cd833532.js","../chunks/singletons.741208bb.js","../chunks/paths.6ba25c42.js","../chunks/page-title.34fd480b.js","../chunks/schedule-form-view.31c423ef.js","../chunks/input.d5248942.js","../chunks/icon.3cd9fa27.js","../chunks/copy-to-clipboard.a6afb80a.js","../chunks/icon-button.b5ab850e.js","../assets/icon-button.16bef21d.css","../assets/input.19df62ce.css","../chunks/tab.25c1b914.js","../chunks/parse-with-big-int.b38462f3.js","../assets/tab.8436f1bf.css","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/option.1c804512.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/menu.4ba49cb6.js","../assets/menu.b7c0dde7.css","../assets/option.20882847.css","../chunks/toggle-buttons.d3e32817.js","../assets/toggle-buttons.1415ce75.css","../chunks/schedule-service.4cfc145d.js","../chunks/code-block.797d93a9.js","../chunks/button.27a19883.js","../assets/button.8b8c0631.css","../chunks/route-for-api.a8b11085.js","../chunks/prod-browser.becde89a.js","../chunks/auth-user.051e0dee.js","../chunks/persist-store.47877c2b.js","../chunks/toaster.a0b7d8ad.js","../chunks/has.b142a10d.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.d76d8056.js","../chunks/alert.67786ddb.js","../assets/alert.303275c8.css","../chunks/button.ce5dce2f.js","../assets/button.386e08e4.css","../chunks/link.7cb1390a.js","../assets/link.e1fc8ece.css","../chunks/loading.3bde98aa.js","../chunks/schedules.8c7d6083.js","../chunks/navigation.3b6dd1c7.js","../assets/schedule-form-view.6d80008f.css"],import.meta.url),()=>u(()=>import("../chunks/26.1b66d325.js"),["../chunks/26.1b66d325.js","./(app)-namespaces-_namespace_-task-queues-page.svelte.169cd749.js","../chunks/index.09834243.js"],import.meta.url),()=>u(()=>import("../chunks/27.34a8be1c.js"),["../chunks/27.34a8be1c.js","./(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.de348286.js","../chunks/index.09834243.js","../chunks/stores.cd833532.js","../chunks/singletons.741208bb.js","../chunks/paths.6ba25c42.js","../chunks/page-title.34fd480b.js","../chunks/workers-list.291f60eb.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/pollers-service.310d4298.js","../chunks/icon.3cd9fa27.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/route-for-api.a8b11085.js","../chunks/prod-browser.becde89a.js","../chunks/auth-user.051e0dee.js","../chunks/persist-store.47877c2b.js","../chunks/toaster.a0b7d8ad.js","../chunks/has.b142a10d.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.d76d8056.js","../assets/pollers-service.3f93e67d.css","../chunks/empty-state.aea525ff.js","../chunks/table-header-row.843c5ee2.js","../assets/table-header-row.6ba6477c.css","../chunks/table-row.185c48e5.js","../chunks/format-date.79f77cbf.js","../chunks/format-time.650b834b.js","../chunks/task-queue-compatibility.cf5696f8.js","../assets/workers-list.7dbb8f48.css"],import.meta.url),()=>u(()=>import("../chunks/28.7cd5543e.js"),["../chunks/28.7cd5543e.js","../chunks/_page.b14944b6.js","./(app)-namespaces-_namespace_-workflows-page.svelte.44bb46c6.js","../chunks/index.09834243.js","../chunks/stores.cd833532.js","../chunks/singletons.741208bb.js","../chunks/paths.6ba25c42.js","../chunks/workflow-service.14ef2cb6.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/decode-payload.e6040d83.js","../chunks/data-encoder-config.79b97010.js","../chunks/persist-store.47877c2b.js","../chunks/has.b142a10d.js","../chunks/is-http.486112c3.js","../chunks/atob.568d13ab.js","../chunks/prod-browser.becde89a.js","../chunks/versions.a86975a1.js","../chunks/simplify-attributes.7c9bfcb7.js","../chunks/format-date.79f77cbf.js","../chunks/format-time.650b834b.js","../chunks/route-for-api.a8b11085.js","../chunks/auth-user.051e0dee.js","../chunks/toaster.a0b7d8ad.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.d76d8056.js","../chunks/version-check.d006b302.js","../chunks/page-title.34fd480b.js","../chunks/input.d5248942.js","../chunks/icon.3cd9fa27.js","../chunks/copy-to-clipboard.a6afb80a.js","../chunks/icon-button.b5ab850e.js","../assets/icon-button.16bef21d.css","../assets/input.19df62ce.css","../chunks/modal.25f32d75.js","../chunks/button.ce5dce2f.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../assets/button.386e08e4.css","../chunks/menu.4ba49cb6.js","../assets/menu.b7c0dde7.css","../assets/modal.a1162225.css","../chunks/workflow-actions.6f88149c.js","../chunks/workflow-terminate-enabled.e1ebd541.js","../chunks/omit.6cf41932.js","../assets/workflow-terminate-enabled.4b5966e2.css","../chunks/option.1c804512.js","../assets/option.20882847.css","../chunks/labs-mode.1f006a51.js","../chunks/menu-divider.6c0ebb73.js","../chunks/toggle-buttons.d3e32817.js","../assets/toggle-buttons.1415ce75.css","../chunks/filters.d78bd1e9.js","../chunks/index.44f123ef.js","../chunks/navigation.3b6dd1c7.js","../chunks/workflow-status.cf27e560.js","../assets/workflow-status.66629984.css","../chunks/link.7cb1390a.js","../assets/link.e1fc8ece.css","../chunks/table-row.185c48e5.js","../chunks/workflows.915912aa.js","../chunks/update-query-parameters.016c7f2f.js","../chunks/table-header-row.843c5ee2.js","../assets/table-header-row.6ba6477c.css","../assets/index.d6094a94.css","../chunks/toggle-switch.3808d19f.js","../assets/toggle-switch.ff91b31f.css","../chunks/search-attributes.5b3e5149.js","../chunks/radio-input.af69c0d3.js","../assets/radio-input.01c3758f.css","../chunks/drawer.5e79e00e.js","../assets/drawer.96194c4d.css","../chunks/alert.67786ddb.js","../assets/alert.303275c8.css","../chunks/loading.3bde98aa.js","../chunks/pagination.6f99836b.js","../chunks/simple-select.1c5b21bd.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/namespaces.5ad7f936.js","../chunks/core-user.c59191b9.js","../chunks/batch-operations.54e5cb65.js","../chunks/empty-state.aea525ff.js","../assets/_page.a26365d1.css"],import.meta.url),()=>u(()=>import("../chunks/29.b5304814.js"),["../chunks/29.b5304814.js","../chunks/_page.fd51d2ec.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/workflow-service.14ef2cb6.js","../chunks/index.09834243.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/decode-payload.e6040d83.js","../chunks/data-encoder-config.79b97010.js","../chunks/singletons.741208bb.js","../chunks/paths.6ba25c42.js","../chunks/persist-store.47877c2b.js","../chunks/has.b142a10d.js","../chunks/is-http.486112c3.js","../chunks/atob.568d13ab.js","../chunks/prod-browser.becde89a.js","../chunks/versions.a86975a1.js","../chunks/stores.cd833532.js","../chunks/simplify-attributes.7c9bfcb7.js","../chunks/format-date.79f77cbf.js","../chunks/format-time.650b834b.js","../chunks/route-for-api.a8b11085.js","../chunks/auth-user.051e0dee.js","../chunks/toaster.a0b7d8ad.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.d76d8056.js","../chunks/version-check.d006b302.js"],import.meta.url),()=>u(()=>import("../chunks/30.404c9a80.js"),["../chunks/30.404c9a80.js","../chunks/_page.2bedfed4.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-page.svelte.169cd749.js","../chunks/index.09834243.js"],import.meta.url),()=>u(()=>import("../chunks/31.8b00ccfc.js"),["../chunks/31.8b00ccfc.js","../chunks/_page.ed77219c.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.252ac404.js","../chunks/index.09834243.js","../chunks/stores.cd833532.js","../chunks/singletons.741208bb.js","../chunks/paths.6ba25c42.js","../chunks/page-title.34fd480b.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/accordion.27d3ff9a.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/icon.3cd9fa27.js","../chunks/toaster.a0b7d8ad.js","../chunks/loading.3bde98aa.js","../chunks/toggle-buttons.d3e32817.js","../assets/toggle-buttons.1415ce75.css","../chunks/index.7999049a.js","../chunks/has.b142a10d.js","../chunks/is-event-type.4dbe973b.js","../chunks/format-time.650b834b.js","../chunks/get-event-categorization.3ec93a88.js","../chunks/event-view.f3ec8bd2.js","../chunks/persist-store.47877c2b.js","../chunks/filters.d78bd1e9.js","../chunks/workflow-run.1abbba7b.js","../chunks/format-camel-case.887ffc78.js","../chunks/format-date.79f77cbf.js","../chunks/button.ce5dce2f.js","../assets/button.386e08e4.css","../chunks/drawer.5e79e00e.js","../chunks/menu.4ba49cb6.js","../assets/menu.b7c0dde7.css","../chunks/icon-button.b5ab850e.js","../assets/icon-button.16bef21d.css","../assets/drawer.96194c4d.css","../chunks/tooltip.9802d6e3.js","../chunks/index.a9a075c8.js","../chunks/copy-to-clipboard.a6afb80a.js","../chunks/button.27a19883.js","../assets/button.8b8c0631.css","../assets/tooltip.78399487.css","../chunks/code-block.797d93a9.js","../chunks/payload-decoder.53c14555.js","../chunks/auth-user.051e0dee.js","../chunks/decode-payload.e6040d83.js","../chunks/data-encoder-config.79b97010.js","../chunks/is-http.486112c3.js","../chunks/atob.568d13ab.js","../chunks/prod-browser.becde89a.js","../chunks/get-codec.fde3aa26.js","../chunks/link.7cb1390a.js","../assets/link.e1fc8ece.css","../chunks/format-event-attributes.8792031a.js","../chunks/route-for.d76d8056.js","../chunks/to-time-difference.be87d1bf.js","../chunks/pagination.6f99836b.js","../chunks/update-query-parameters.016c7f2f.js","../chunks/navigation.3b6dd1c7.js","../chunks/simple-select.1c5b21bd.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/table-header-row.843c5ee2.js","../assets/table-header-row.6ba6477c.css","../chunks/table-row.185c48e5.js","../chunks/workflow-status.cf27e560.js","../assets/workflow-status.66629984.css","../chunks/alert.67786ddb.js","../assets/alert.303275c8.css","../chunks/task-queue-compatibility.cf5696f8.js","../chunks/event-summary-table.c8c908b8.js","../chunks/empty-state.aea525ff.js","../chunks/versions.a86975a1.js","../chunks/version-check.d006b302.js","../chunks/menu-divider.6c0ebb73.js","../assets/event-summary-table.c983745f.css","../chunks/events-service.4ec8b4a3.js","../chunks/index.38be7b17.js","../chunks/simplify-attributes.7c9bfcb7.js","../chunks/paginated.a1dfd6c1.js","../chunks/route-for-api.a8b11085.js","../chunks/is-network-error.e2b13739.js","../chunks/namespaces.5ad7f936.js","../chunks/workflow-json-navigator.1792b935.js","../chunks/omit.6cf41932.js","../assets/workflow-json-navigator.a85b4b27.css","../chunks/toggle-switch.3808d19f.js","../assets/toggle-switch.ff91b31f.css","../assets/_page.c6b6bde8.css"],import.meta.url),()=>u(()=>import("../chunks/32.89b8bfa3.js"),["../chunks/32.89b8bfa3.js","../chunks/_page.0171ff9b.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.d76d8056.js","../chunks/prod-browser.becde89a.js","../chunks/paths.6ba25c42.js"],import.meta.url),()=>u(()=>import("../chunks/33.4af3b5fe.js"),["../chunks/33.4af3b5fe.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-events-_id_-page.svelte.8246f4eb.js","../chunks/index.09834243.js","../chunks/stores.cd833532.js","../chunks/singletons.741208bb.js","../chunks/paths.6ba25c42.js","../chunks/event-summary-table.c8c908b8.js","../chunks/empty-state.aea525ff.js","../chunks/icon.3cd9fa27.js","../chunks/loading.3bde98aa.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/menu.4ba49cb6.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../assets/menu.b7c0dde7.css","../chunks/navigation.3b6dd1c7.js","../chunks/link.7cb1390a.js","../assets/link.e1fc8ece.css","../chunks/index.7999049a.js","../chunks/has.b142a10d.js","../chunks/is-event-type.4dbe973b.js","../chunks/format-time.650b834b.js","../chunks/event-view.f3ec8bd2.js","../chunks/persist-store.47877c2b.js","../chunks/format-date.79f77cbf.js","../chunks/format-event-attributes.8792031a.js","../chunks/format-camel-case.887ffc78.js","../chunks/route-for.d76d8056.js","../chunks/prod-browser.becde89a.js","../chunks/code-block.797d93a9.js","../chunks/button.27a19883.js","../assets/button.8b8c0631.css","../chunks/copy-to-clipboard.a6afb80a.js","../chunks/index.a9a075c8.js","../chunks/payload-decoder.53c14555.js","../chunks/auth-user.051e0dee.js","../chunks/decode-payload.e6040d83.js","../chunks/data-encoder-config.79b97010.js","../chunks/is-http.486112c3.js","../chunks/atob.568d13ab.js","../chunks/get-codec.fde3aa26.js","../chunks/table-header-row.843c5ee2.js","../assets/table-header-row.6ba6477c.css","../chunks/get-event-categorization.3ec93a88.js","../chunks/filters.d78bd1e9.js","../chunks/versions.a86975a1.js","../chunks/update-query-parameters.016c7f2f.js","../chunks/version-check.d006b302.js","../chunks/menu-divider.6c0ebb73.js","../chunks/button.ce5dce2f.js","../assets/button.386e08e4.css","../assets/event-summary-table.c983745f.css","../chunks/events-service.4ec8b4a3.js","../chunks/workflow-run.1abbba7b.js","../chunks/index.38be7b17.js","../chunks/simplify-attributes.7c9bfcb7.js","../chunks/paginated.a1dfd6c1.js","../chunks/route-for-api.a8b11085.js","../chunks/toaster.a0b7d8ad.js","../chunks/is-network-error.e2b13739.js"],import.meta.url),()=>u(()=>import("../chunks/34.89b8bfa3.js"),["../chunks/34.89b8bfa3.js","../chunks/_page.9bc91c93.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.d76d8056.js","../chunks/prod-browser.becde89a.js","../chunks/paths.6ba25c42.js"],import.meta.url),()=>u(()=>import("../chunks/35.89b8bfa3.js"),["../chunks/35.89b8bfa3.js","../chunks/_page.b4978905.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.d76d8056.js","../chunks/prod-browser.becde89a.js","../chunks/paths.6ba25c42.js"],import.meta.url),()=>u(()=>import("../chunks/36.46cf0a36.js"),["../chunks/36.46cf0a36.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.00f941cc.js","../chunks/index.09834243.js","../chunks/stores.cd833532.js","../chunks/singletons.741208bb.js","../chunks/paths.6ba25c42.js","../chunks/page-title.34fd480b.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/code-block.797d93a9.js","../chunks/button.27a19883.js","../chunks/icon.3cd9fa27.js","../assets/button.8b8c0631.css","../chunks/copy-to-clipboard.a6afb80a.js","../chunks/empty-state.aea525ff.js","../chunks/link.7cb1390a.js","../assets/link.e1fc8ece.css","../chunks/table-header-row.843c5ee2.js","../assets/table-header-row.6ba6477c.css","../chunks/table-row.185c48e5.js","../chunks/format-date.79f77cbf.js","../chunks/persist-store.47877c2b.js","../chunks/format-time.650b834b.js","../chunks/has.b142a10d.js","../chunks/workflow-run.1abbba7b.js","../chunks/format-event-attributes.8792031a.js","../chunks/format-camel-case.887ffc78.js","../chunks/index.7999049a.js","../chunks/is-event-type.4dbe973b.js","../chunks/to-time-difference.be87d1bf.js","../assets/_page.682a0c0d.css"],import.meta.url),()=>u(()=>import("../chunks/37.6f27a3a2.js"),["../chunks/37.6f27a3a2.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.2ea40df1.js","../chunks/index.09834243.js","../chunks/stores.cd833532.js","../chunks/singletons.741208bb.js","../chunks/paths.6ba25c42.js","../chunks/page-title.34fd480b.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/button.ce5dce2f.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/icon.3cd9fa27.js","../assets/button.386e08e4.css","../chunks/code-block.797d93a9.js","../chunks/button.27a19883.js","../assets/button.8b8c0631.css","../chunks/copy-to-clipboard.a6afb80a.js","../chunks/empty-state.aea525ff.js","../chunks/loading.3bde98aa.js","../chunks/simple-select.1c5b21bd.js","../assets/simple-select.51b2afe1.css","../chunks/toggle-switch.3808d19f.js","../assets/toggle-switch.ff91b31f.css","../chunks/query-service.37bc9273.js","../chunks/data-encoder-config.79b97010.js","../chunks/persist-store.47877c2b.js","../chunks/has.b142a10d.js","../chunks/decode-payload.e6040d83.js","../chunks/is-http.486112c3.js","../chunks/atob.568d13ab.js","../chunks/prod-browser.becde89a.js","../chunks/get-codec.fde3aa26.js","../chunks/route-for-api.a8b11085.js","../chunks/auth-user.051e0dee.js","../chunks/toaster.a0b7d8ad.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.d76d8056.js"],import.meta.url),()=>u(()=>import("../chunks/38.64109277.js"),["../chunks/38.64109277.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.8223983b.js","../chunks/index.09834243.js","../chunks/stores.cd833532.js","../chunks/singletons.741208bb.js","../chunks/paths.6ba25c42.js","../chunks/page-title.34fd480b.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/button.ce5dce2f.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/icon.3cd9fa27.js","../assets/button.386e08e4.css","../chunks/code-block.797d93a9.js","../chunks/button.27a19883.js","../assets/button.8b8c0631.css","../chunks/copy-to-clipboard.a6afb80a.js","../chunks/empty-state.aea525ff.js","../chunks/link.7cb1390a.js","../assets/link.e1fc8ece.css","../chunks/loading.3bde98aa.js","../chunks/query-service.37bc9273.js","../chunks/data-encoder-config.79b97010.js","../chunks/persist-store.47877c2b.js","../chunks/has.b142a10d.js","../chunks/decode-payload.e6040d83.js","../chunks/is-http.486112c3.js","../chunks/atob.568d13ab.js","../chunks/prod-browser.becde89a.js","../chunks/get-codec.fde3aa26.js","../chunks/route-for-api.a8b11085.js","../chunks/auth-user.051e0dee.js","../chunks/toaster.a0b7d8ad.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.d76d8056.js","../chunks/workflow-run.1abbba7b.js"],import.meta.url),()=>u(()=>import("../chunks/39.38eaa73b.js"),["../chunks/39.38eaa73b.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.9246e0a1.js","../chunks/index.09834243.js","../chunks/stores.cd833532.js","../chunks/singletons.741208bb.js","../chunks/paths.6ba25c42.js","../chunks/page-title.34fd480b.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/workers-list.291f60eb.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/pollers-service.310d4298.js","../chunks/icon.3cd9fa27.js","../chunks/route-for-api.a8b11085.js","../chunks/prod-browser.becde89a.js","../chunks/auth-user.051e0dee.js","../chunks/persist-store.47877c2b.js","../chunks/toaster.a0b7d8ad.js","../chunks/has.b142a10d.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.d76d8056.js","../assets/pollers-service.3f93e67d.css","../chunks/empty-state.aea525ff.js","../chunks/table-header-row.843c5ee2.js","../assets/table-header-row.6ba6477c.css","../chunks/table-row.185c48e5.js","../chunks/format-date.79f77cbf.js","../chunks/format-time.650b834b.js","../chunks/task-queue-compatibility.cf5696f8.js","../assets/workers-list.7dbb8f48.css","../chunks/workflow-run.1abbba7b.js"],import.meta.url),()=>u(()=>import("../chunks/40.e8de9473.js"),["../chunks/40.e8de9473.js","./(app)-select-namespace-page.svelte.80a34f3c.js","../chunks/index.09834243.js","../chunks/navigation.3b6dd1c7.js","../chunks/singletons.741208bb.js","../chunks/paths.6ba25c42.js","../chunks/stores.cd833532.js","../chunks/page-title.34fd480b.js","../chunks/empty-state.aea525ff.js","../chunks/icon.3cd9fa27.js","../chunks/input.d5248942.js","../chunks/copy-to-clipboard.a6afb80a.js","../chunks/icon-button.b5ab850e.js","../assets/icon-button.16bef21d.css","../assets/input.19df62ce.css","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/workflow-service.14ef2cb6.js","../chunks/decode-payload.e6040d83.js","../chunks/data-encoder-config.79b97010.js","../chunks/persist-store.47877c2b.js","../chunks/has.b142a10d.js","../chunks/is-http.486112c3.js","../chunks/atob.568d13ab.js","../chunks/prod-browser.becde89a.js","../chunks/versions.a86975a1.js","../chunks/simplify-attributes.7c9bfcb7.js","../chunks/format-date.79f77cbf.js","../chunks/format-time.650b834b.js","../chunks/route-for-api.a8b11085.js","../chunks/auth-user.051e0dee.js","../chunks/toaster.a0b7d8ad.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.d76d8056.js","../chunks/version-check.d006b302.js","../chunks/namespaces.5ad7f936.js","../assets/_page.8ed620ce.css"],import.meta.url),()=>u(()=>import("../chunks/41.69ee4def.js"),["../chunks/41.69ee4def.js","./(login)-login-page.svelte.daba58a1.js","../chunks/index.09834243.js","../chunks/stores.cd833532.js","../chunks/singletons.741208bb.js","../chunks/paths.6ba25c42.js","../chunks/logo.e000abd5.js","../chunks/icon.3cd9fa27.js","../assets/logo.4e0dbf07.css","../chunks/page-title.34fd480b.js","../chunks/button.ce5dce2f.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../assets/button.386e08e4.css","../chunks/route-for.d76d8056.js","../chunks/prod-browser.becde89a.js"],import.meta.url),()=>u(()=>import("../chunks/42.0eb9f351.js"),["../chunks/42.0eb9f351.js","./(login)-signin-page.svelte.daba58a1.js","../chunks/index.09834243.js","../chunks/stores.cd833532.js","../chunks/singletons.741208bb.js","../chunks/paths.6ba25c42.js","../chunks/logo.e000abd5.js","../chunks/icon.3cd9fa27.js","../assets/logo.4e0dbf07.css","../chunks/page-title.34fd480b.js","../chunks/button.ce5dce2f.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../assets/button.386e08e4.css","../chunks/route-for.d76d8056.js","../chunks/prod-browser.becde89a.js"],import.meta.url)],$e=[],Le={"/(app)":[10,[2]],"/(app)/import":[11,[2,3]],"/(app)/import/events":[12,[2,3]],"/(app)/import/events/[namespace]/[workflow]/[run]/history":[13,[2,3,4]],"/(app)/import/events/[namespace]/[workflow]/[run]/history/compact":[14,[2,3,4]],"/(app)/import/events/[namespace]/[workflow]/[run]/history/feed":[15,[2,3,4]],"/(app)/import/events/[namespace]/[workflow]/[run]/history/json":[16,[2,3,4]],"/(login)/login":[41,[9]],"/(app)/namespaces":[17,[2]],"/(app)/namespaces/[namespace]":[18,[2,5]],"/(app)/namespaces/[namespace]/archival":[19,[2,5]],"/(app)/namespaces/[namespace]/batch-operations":[20,[2,5]],"/(app)/namespaces/[namespace]/batch-operations/[jobId]":[21,[2,5]],"/(app)/namespaces/[namespace]/schedules":[22,[2,5,6]],"/(app)/namespaces/[namespace]/schedules/create":[25,[2,5,6]],"/(app)/namespaces/[namespace]/schedules/[schedule]":[23,[2,5,6]],"/(app)/namespaces/[namespace]/schedules/[schedule]/edit":[24,[2,5,6]],"/(app)/namespaces/[namespace]/task-queues":[26,[2,5,7]],"/(app)/namespaces/[namespace]/task-queues/[queue]":[27,[2,5,7]],"/(app)/namespaces/[namespace]/workflows":[28,[2,5]],"/(app)/namespaces/[namespace]/workflows/[workflow]":[29,[2,5]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]":[30,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/history":[31,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/history/compact":[32,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/history/events/[id]":[33,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/history/feed":[34,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/history/json":[35,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/pending-activities":[36,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/query":[37,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/stack-trace":[38,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/workers":[39,[2,5,8]],"/(app)/select-namespace":[40,[2]],"/(login)/signin":[42,[9]]},Pe={handleError:({error:_})=>{console.error(_)}};export{Le as dictionary,Pe as hooks,ve as matchers,Re as nodes,be as root,$e as server_loads}; diff --git a/ui/assets/local/_app/immutable/entry/app.fe3f4d1c.js b/ui/assets/local/_app/immutable/entry/app.fe3f4d1c.js deleted file mode 100644 index 666cbbaa5e..0000000000 --- a/ui/assets/local/_app/immutable/entry/app.fe3f4d1c.js +++ /dev/null @@ -1 +0,0 @@ -import{S as H,b as J,a as K,c as M,e as m,d as Q,f as b,g as p,h as R,j as d,k as v,l as X,o as Y,m as Z,p as x,q as ee,u as O,v as L,w as te,x as ne,y as ie,z as $,A as P,B as w,C as h,D,E,F as k}from"../chunks/index.09834243.js";const re="modulepreload",se=function(_,e){return new URL(_,e).href},y={},u=function(e,n,r){if(!n||n.length===0)return e();const i=document.getElementsByTagName("link");return Promise.all(n.map(l=>{if(l=se(l,r),l in y)return;y[l]=!0;const t=l.endsWith(".css"),o=t?'[rel="stylesheet"]':"";if(!!r)for(let c=i.length-1;c>=0;c--){const g=i[c];if(g.href===l&&(!t||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${o}`))return;const a=document.createElement("link");if(a.rel=t?"stylesheet":re,t||(a.as="script",a.crossOrigin=""),a.href=l,document.head.appendChild(a),t)return new Promise((c,g)=>{a.addEventListener("load",c),a.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${l}`)))})})).then(()=>e())},ve={};function oe(_){let e,n,r;var i=_[1][0];function l(t){return{props:{data:t[3],form:t[2]}}}return i&&(e=w(i,l(_)),_[21](e)),{c(){e&&h(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&8&&(s.data=t[3]),o&4&&(s.form=t[2]),i!==(i=t[1][0])){if(e){$();const a=e;p(a.$$.fragment,1,0,()=>{k(a,1)}),R()}i?(e=w(i,l(t)),t[21](e),h(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){_[21](null),t&&v(n),e&&k(e,t)}}}function ae(_){let e,n,r;var i=_[1][0];function l(t){return{props:{data:t[3],$$slots:{default:[he]},$$scope:{ctx:t}}}}return i&&(e=w(i,l(_)),_[20](e)),{c(){e&&h(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&8&&(s.data=t[3]),o&4194551&&(s.$$scope={dirty:o,ctx:t}),i!==(i=t[1][0])){if(e){$();const a=e;p(a.$$.fragment,1,0,()=>{k(a,1)}),R()}i?(e=w(i,l(t)),t[20](e),h(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){_[20](null),t&&v(n),e&&k(e,t)}}}function _e(_){let e,n,r;var i=_[1][1];function l(t){return{props:{data:t[4],form:t[2]}}}return i&&(e=w(i,l(_)),_[19](e)),{c(){e&&h(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&16&&(s.data=t[4]),o&4&&(s.form=t[2]),i!==(i=t[1][1])){if(e){$();const a=e;p(a.$$.fragment,1,0,()=>{k(a,1)}),R()}i?(e=w(i,l(t)),t[19](e),h(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){_[19](null),t&&v(n),e&&k(e,t)}}}function le(_){let e,n,r;var i=_[1][1];function l(t){return{props:{data:t[4],$$slots:{default:[we]},$$scope:{ctx:t}}}}return i&&(e=w(i,l(_)),_[18](e)),{c(){e&&h(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&16&&(s.data=t[4]),o&4194535&&(s.$$scope={dirty:o,ctx:t}),i!==(i=t[1][1])){if(e){$();const a=e;p(a.$$.fragment,1,0,()=>{k(a,1)}),R()}i?(e=w(i,l(t)),t[18](e),h(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){_[18](null),t&&v(n),e&&k(e,t)}}}function fe(_){let e,n,r;var i=_[1][2];function l(t){return{props:{data:t[5],form:t[2]}}}return i&&(e=w(i,l(_)),_[17](e)),{c(){e&&h(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&32&&(s.data=t[5]),o&4&&(s.form=t[2]),i!==(i=t[1][2])){if(e){$();const a=e;p(a.$$.fragment,1,0,()=>{k(a,1)}),R()}i?(e=w(i,l(t)),t[17](e),h(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){_[17](null),t&&v(n),e&&k(e,t)}}}function ce(_){let e,n,r;var i=_[1][2];function l(t){return{props:{data:t[5],$$slots:{default:[de]},$$scope:{ctx:t}}}}return i&&(e=w(i,l(_)),_[16](e)),{c(){e&&h(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&32&&(s.data=t[5]),o&4194503&&(s.$$scope={dirty:o,ctx:t}),i!==(i=t[1][2])){if(e){$();const a=e;p(a.$$.fragment,1,0,()=>{k(a,1)}),R()}i?(e=w(i,l(t)),t[16](e),h(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){_[16](null),t&&v(n),e&&k(e,t)}}}function ue(_){let e,n,r;var i=_[1][3];function l(t){return{props:{data:t[6],form:t[2]}}}return i&&(e=w(i,l(_)),_[15](e)),{c(){e&&h(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&64&&(s.data=t[6]),o&4&&(s.form=t[2]),i!==(i=t[1][3])){if(e){$();const a=e;p(a.$$.fragment,1,0,()=>{k(a,1)}),R()}i?(e=w(i,l(t)),t[15](e),h(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){_[15](null),t&&v(n),e&&k(e,t)}}}function me(_){let e,n,r;var i=_[1][3];function l(t){return{props:{data:t[6],$$slots:{default:[pe]},$$scope:{ctx:t}}}}return i&&(e=w(i,l(_)),_[14](e)),{c(){e&&h(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&64&&(s.data=t[6]),o&4194439&&(s.$$scope={dirty:o,ctx:t}),i!==(i=t[1][3])){if(e){$();const a=e;p(a.$$.fragment,1,0,()=>{k(a,1)}),R()}i?(e=w(i,l(t)),t[14](e),h(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){_[14](null),t&&v(n),e&&k(e,t)}}}function pe(_){let e,n,r;var i=_[1][4];function l(t){return{props:{data:t[7],form:t[2]}}}return i&&(e=w(i,l(_)),_[13](e)),{c(){e&&h(e.$$.fragment),n=m()},l(t){e&&D(e.$$.fragment,t),n=m()},m(t,o){e&&E(e,t,o),b(t,n,o),r=!0},p(t,o){const s={};if(o&128&&(s.data=t[7]),o&4&&(s.form=t[2]),i!==(i=t[1][4])){if(e){$();const a=e;p(a.$$.fragment,1,0,()=>{k(a,1)}),R()}i?(e=w(i,l(t)),t[13](e),h(e.$$.fragment),d(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(s)},i(t){r||(e&&d(e.$$.fragment,t),r=!0)},o(t){e&&p(e.$$.fragment,t),r=!1},d(t){_[13](null),t&&v(n),e&&k(e,t)}}}function de(_){let e,n,r,i;const l=[me,ue],t=[];function o(s,a){return s[1][4]?0:1}return e=o(_),n=t[e]=l[e](_),{c(){n.c(),r=m()},l(s){n.l(s),r=m()},m(s,a){t[e].m(s,a),b(s,r,a),i=!0},p(s,a){let c=e;e=o(s),e===c?t[e].p(s,a):($(),p(t[c],1,1,()=>{t[c]=null}),R(),n=t[e],n?n.p(s,a):(n=t[e]=l[e](s),n.c()),d(n,1),n.m(r.parentNode,r))},i(s){i||(d(n),i=!0)},o(s){p(n),i=!1},d(s){t[e].d(s),s&&v(r)}}}function we(_){let e,n,r,i;const l=[ce,fe],t=[];function o(s,a){return s[1][3]?0:1}return e=o(_),n=t[e]=l[e](_),{c(){n.c(),r=m()},l(s){n.l(s),r=m()},m(s,a){t[e].m(s,a),b(s,r,a),i=!0},p(s,a){let c=e;e=o(s),e===c?t[e].p(s,a):($(),p(t[c],1,1,()=>{t[c]=null}),R(),n=t[e],n?n.p(s,a):(n=t[e]=l[e](s),n.c()),d(n,1),n.m(r.parentNode,r))},i(s){i||(d(n),i=!0)},o(s){p(n),i=!1},d(s){t[e].d(s),s&&v(r)}}}function he(_){let e,n,r,i;const l=[le,_e],t=[];function o(s,a){return s[1][2]?0:1}return e=o(_),n=t[e]=l[e](_),{c(){n.c(),r=m()},l(s){n.l(s),r=m()},m(s,a){t[e].m(s,a),b(s,r,a),i=!0},p(s,a){let c=e;e=o(s),e===c?t[e].p(s,a):($(),p(t[c],1,1,()=>{t[c]=null}),R(),n=t[e],n?n.p(s,a):(n=t[e]=l[e](s),n.c()),d(n,1),n.m(r.parentNode,r))},i(s){i||(d(n),i=!0)},o(s){p(n),i=!1},d(s){t[e].d(s),s&&v(r)}}}function N(_){let e,n=_[9]&&q(_);return{c(){e=Z("div"),n&&n.c(),this.h()},l(r){e=x(r,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var i=ee(e);n&&n.l(i),i.forEach(v),this.h()},h(){O(e,"id","svelte-announcer"),O(e,"aria-live","assertive"),O(e,"aria-atomic","true"),L(e,"position","absolute"),L(e,"left","0"),L(e,"top","0"),L(e,"clip","rect(0 0 0 0)"),L(e,"clip-path","inset(50%)"),L(e,"overflow","hidden"),L(e,"white-space","nowrap"),L(e,"width","1px"),L(e,"height","1px")},m(r,i){b(r,e,i),n&&n.m(e,null)},p(r,i){r[9]?n?n.p(r,i):(n=q(r),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(r){r&&v(e),n&&n.d()}}}function q(_){let e;return{c(){e=te(_[10])},l(n){e=ne(n,_[10])},m(n,r){b(n,e,r)},p(n,r){r&1024&&ie(e,n[10])},d(n){n&&v(e)}}}function Ee(_){let e,n,r,i,l;const t=[ae,oe],o=[];function s(c,g){return c[1][1]?0:1}e=s(_),n=o[e]=t[e](_);let a=_[8]&&N(_);return{c(){n.c(),r=M(),a&&a.c(),i=m()},l(c){n.l(c),r=Q(c),a&&a.l(c),i=m()},m(c,g){o[e].m(c,g),b(c,r,g),a&&a.m(c,g),b(c,i,g),l=!0},p(c,[g]){let I=e;e=s(c),e===I?o[e].p(c,g):($(),p(o[I],1,1,()=>{o[I]=null}),R(),n=o[e],n?n.p(c,g):(n=o[e]=t[e](c),n.c()),d(n,1),n.m(r.parentNode,r)),c[8]?a?a.p(c,g):(a=N(c),a.c(),a.m(i.parentNode,i)):a&&(a.d(1),a=null)},i(c){l||(d(n),l=!0)},o(c){p(n),l=!1},d(c){o[e].d(c),c&&v(r),a&&a.d(c),c&&v(i)}}}function ke(_,e,n){let{stores:r}=e,{page:i}=e,{constructors:l}=e,{components:t=[]}=e,{form:o}=e,{data_0:s=null}=e,{data_1:a=null}=e,{data_2:c=null}=e,{data_3:g=null}=e,{data_4:I=null}=e;X(r.page.notify);let A=!1,T=!1,V=null;Y(()=>{const f=r.page.subscribe(()=>{A&&(n(9,T=!0),n(10,V=document.title||"untitled page"))});return n(8,A=!0),f});function S(f){P[f?"unshift":"push"](()=>{t[4]=f,n(0,t)})}function C(f){P[f?"unshift":"push"](()=>{t[3]=f,n(0,t)})}function j(f){P[f?"unshift":"push"](()=>{t[3]=f,n(0,t)})}function B(f){P[f?"unshift":"push"](()=>{t[2]=f,n(0,t)})}function U(f){P[f?"unshift":"push"](()=>{t[2]=f,n(0,t)})}function z(f){P[f?"unshift":"push"](()=>{t[1]=f,n(0,t)})}function F(f){P[f?"unshift":"push"](()=>{t[1]=f,n(0,t)})}function W(f){P[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}function G(f){P[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}return _.$$set=f=>{"stores"in f&&n(11,r=f.stores),"page"in f&&n(12,i=f.page),"constructors"in f&&n(1,l=f.constructors),"components"in f&&n(0,t=f.components),"form"in f&&n(2,o=f.form),"data_0"in f&&n(3,s=f.data_0),"data_1"in f&&n(4,a=f.data_1),"data_2"in f&&n(5,c=f.data_2),"data_3"in f&&n(6,g=f.data_3),"data_4"in f&&n(7,I=f.data_4)},_.$$.update=()=>{_.$$.dirty&6144&&r.page.set(i)},[t,l,o,s,a,c,g,I,A,T,V,r,i,S,C,j,B,U,z,F,W,G]}class be extends H{constructor(e){super(),J(this,e,ke,Ee,K,{stores:11,page:12,constructors:1,components:0,form:2,data_0:3,data_1:4,data_2:5,data_3:6,data_4:7})}}const Re=[()=>u(()=>import("../chunks/0.6860b28b.js"),["../chunks/0.6860b28b.js","../chunks/_layout.ec8fd122.js","../chunks/index.e31b9884.js","./layout.svelte.cb4cf182.js","../chunks/index.09834243.js"],import.meta.url),()=>u(()=>import("../chunks/1.52cc10cd.js"),["../chunks/1.52cc10cd.js","./_error.svelte.fd05a858.js","../chunks/index.09834243.js","../chunks/stores.9d4a2bb0.js","../chunks/singletons.aae8f11e.js","../chunks/paths.e7bc2ad1.js","../chunks/error.bc570d65.js","../chunks/navigation.8b74a406.js","../chunks/link.4944a6a5.js","../chunks/icon.3cd9fa27.js","../assets/link.e1fc8ece.css","../chunks/has.b142a10d.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/is-network-error.e2b13739.js","../assets/app.01ff13c2.css"],import.meta.url),()=>u(()=>import("../chunks/2.a03e8a7a.js"),["../chunks/2.a03e8a7a.js","../chunks/_layout.5c7b43d0.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for-api.6f64f216.js","../chunks/prod-browser.becde89a.js","../chunks/auth-user.f0bc59ab.js","../chunks/index.09834243.js","../chunks/persist-store.ad106cab.js","../chunks/singletons.aae8f11e.js","../chunks/paths.e7bc2ad1.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/toaster.d089c03c.js","../chunks/has.b142a10d.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.3b55a4c6.js","../chunks/stores.9d4a2bb0.js","../chunks/namespaces-service.5f534be1.js","../chunks/namespaces.5721b9bd.js","../chunks/paginated.713346b6.js","../chunks/settings-service.1e982d61.js","../chunks/atob.568d13ab.js","../assets/app.01ff13c2.css","./(app)-layout.svelte.a804a943.js","../chunks/navigation.8b74a406.js","../chunks/toggle-switch.3808d19f.js","../assets/toggle-switch.ff91b31f.css","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/is-http.486112c3.js","../chunks/workflow-run.889d50fd.js","../chunks/data-encoder-config.b5b7b570.js","../chunks/menu.c7988d0b.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/icon.3cd9fa27.js","../assets/menu.0bf3fcbe.css","../chunks/link.4944a6a5.js","../assets/link.e1fc8ece.css","../chunks/button.ce5dce2f.js","../assets/button.386e08e4.css","../chunks/accordion.3c992162.js","../chunks/radio-input.c176e21a.js","../assets/radio-input.01c3758f.css","../chunks/tooltip.6cc63041.js","../chunks/index.fcfd418a.js","../chunks/copy-to-clipboard.3607fbc7.js","../chunks/button.27a19883.js","../assets/button.8b8c0631.css","../assets/tooltip.78399487.css","../chunks/batch-operations.2ef00b45.js","../chunks/workflow-actions.6f88149c.js","../chunks/versions.2bb4ba4c.js","../chunks/version-check.d006b302.js","../chunks/labs-mode.476dd7f5.js","../chunks/icon-button.b5ab850e.js","../assets/icon-button.16bef21d.css","../chunks/input.8b192295.js","../assets/input.19df62ce.css","../chunks/menu-divider.6c0ebb73.js","../chunks/format-date.71526e4c.js","../chunks/format-time.650b834b.js","../chunks/format-camel-case.887ffc78.js","../chunks/error.bc570d65.js","../assets/_layout.3841e971.css"],import.meta.url),()=>u(()=>import("../chunks/3.3393df3d.js"),["../chunks/3.3393df3d.js","./(app)-import-layout.svelte.1551be2e.js","../chunks/index.09834243.js","../chunks/stores.9d4a2bb0.js","../chunks/singletons.aae8f11e.js","../chunks/paths.e7bc2ad1.js","../chunks/page-title.34fd480b.js"],import.meta.url),()=>u(()=>import("../chunks/4.5efc79f1.js"),["../chunks/4.5efc79f1.js","./(app)-import-events-_namespace_-_workflow_-_run_-history-layout.svelte.5cfe4b92.js","../chunks/index.09834243.js","../chunks/event-history-file-import.338772bc.js","../chunks/navigation.8b74a406.js","../chunks/singletons.aae8f11e.js","../chunks/paths.e7bc2ad1.js","../chunks/button.ce5dce2f.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/icon.3cd9fa27.js","../assets/button.386e08e4.css","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/index.7999049a.js","../chunks/has.b142a10d.js","../chunks/is-event-type.4dbe973b.js","../chunks/format-time.650b834b.js","../chunks/index.70d7ea32.js","../chunks/data-encoder-config.b5b7b570.js","../chunks/persist-store.ad106cab.js","../chunks/format-date.71526e4c.js","../chunks/get-event-categorization.3ec93a88.js","../chunks/simplify-attributes.560f55a5.js","../chunks/import-events.1bc34d6c.js","../chunks/namespaces.5721b9bd.js","../chunks/toaster.d089c03c.js","../chunks/route-for.3b55a4c6.js","../chunks/prod-browser.becde89a.js","../chunks/toggle-buttons.c3213cc2.js","../chunks/stores.9d4a2bb0.js","../assets/toggle-buttons.1415ce75.css"],import.meta.url),()=>u(()=>import("../chunks/5.2ba1889e.js"),["../chunks/5.2ba1889e.js","../chunks/_layout.cebacaa4.js","../chunks/route-for-api.6f64f216.js","../chunks/prod-browser.becde89a.js","../chunks/auth-user.f0bc59ab.js","../chunks/index.09834243.js","../chunks/persist-store.ad106cab.js","../chunks/singletons.aae8f11e.js","../chunks/paths.e7bc2ad1.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/toaster.d089c03c.js","../chunks/has.b142a10d.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.3b55a4c6.js","../chunks/stores.9d4a2bb0.js","../chunks/search-attributes.03d6dc08.js","./layout.svelte.cb4cf182.js"],import.meta.url),()=>u(()=>import("../chunks/6.26454f31.js"),["../chunks/6.26454f31.js","./(app)-namespaces-_namespace_-schedules-layout.svelte.cb4cf182.js","../chunks/index.09834243.js"],import.meta.url),()=>u(()=>import("../chunks/7.11344f24.js"),["../chunks/7.11344f24.js","./(app)-namespaces-_namespace_-task-queues-layout.svelte.c45159a6.js","../chunks/index.09834243.js"],import.meta.url),()=>u(()=>import("../chunks/8.6638d6c2.js"),["../chunks/8.6638d6c2.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-layout.svelte.16345e4f.js","../chunks/index.09834243.js","../chunks/stores.9d4a2bb0.js","../chunks/singletons.aae8f11e.js","../chunks/paths.e7bc2ad1.js","../chunks/loading.3bde98aa.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/menu.c7988d0b.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/icon.3cd9fa27.js","../assets/menu.0bf3fcbe.css","../chunks/toggle-switch.3808d19f.js","../assets/toggle-switch.ff91b31f.css","../chunks/tooltip.6cc63041.js","../chunks/index.fcfd418a.js","../chunks/copy-to-clipboard.3607fbc7.js","../chunks/button.27a19883.js","../assets/button.8b8c0631.css","../assets/tooltip.78399487.css","../chunks/event-view.fe644395.js","../chunks/persist-store.ad106cab.js","../chunks/workflow-terminate-enabled.e1ebd541.js","../chunks/omit.6cf41932.js","../chunks/workflow-actions.6f88149c.js","../assets/workflow-terminate-enabled.4b5966e2.css","../chunks/input.8b192295.js","../chunks/icon-button.b5ab850e.js","../assets/icon-button.16bef21d.css","../assets/input.19df62ce.css","../chunks/radio-input.c176e21a.js","../assets/radio-input.01c3758f.css","../chunks/events-service.7b234537.js","../chunks/auth-user.f0bc59ab.js","../chunks/workflow-run.889d50fd.js","../chunks/route-for.3b55a4c6.js","../chunks/prod-browser.becde89a.js","../chunks/is-event-type.4dbe973b.js","../chunks/index.70d7ea32.js","../chunks/data-encoder-config.b5b7b570.js","../chunks/has.b142a10d.js","../chunks/format-date.71526e4c.js","../chunks/format-time.650b834b.js","../chunks/get-event-categorization.3ec93a88.js","../chunks/simplify-attributes.560f55a5.js","../chunks/paginated.713346b6.js","../chunks/route-for-api.6f64f216.js","../chunks/toaster.d089c03c.js","../chunks/is-network-error.e2b13739.js","../chunks/button.ce5dce2f.js","../assets/button.386e08e4.css","../chunks/code-block.5b4e5d21.js","../chunks/menu-divider.6c0ebb73.js","../chunks/modal.0783f753.js","../assets/modal.a1162225.css","../chunks/split-button.6be660d6.js","../assets/split-button.8566e410.css","../chunks/workflow-service.56e6b262.js","../chunks/decode-payload.1c6b12fc.js","../chunks/is-http.486112c3.js","../chunks/atob.568d13ab.js","../chunks/versions.2bb4ba4c.js","../chunks/version-check.d006b302.js","../chunks/core-user.3a655c21.js","../chunks/workflow-status.cf27e560.js","../assets/workflow-status.66629984.css","../chunks/alert.67786ddb.js","../assets/alert.303275c8.css","../chunks/pollers-service.d402da8b.js","../assets/pollers-service.3f93e67d.css","../chunks/link.4944a6a5.js","../assets/link.e1fc8ece.css","../chunks/tab.54c1ef65.js","../assets/tab.8436f1bf.css","../chunks/workflows.00769fe8.js","../chunks/task-queue-compatibility.cf5696f8.js","../chunks/get-codec.be95b1c3.js"],import.meta.url),()=>u(()=>import("../chunks/9.cc6c1ec6.js"),["../chunks/9.cc6c1ec6.js","../chunks/_layout.6c02717b.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/settings-service.1e982d61.js","../chunks/route-for-api.6f64f216.js","../chunks/prod-browser.becde89a.js","../chunks/auth-user.f0bc59ab.js","../chunks/index.09834243.js","../chunks/persist-store.ad106cab.js","../chunks/singletons.aae8f11e.js","../chunks/paths.e7bc2ad1.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/toaster.d089c03c.js","../chunks/has.b142a10d.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.3b55a4c6.js","../chunks/stores.9d4a2bb0.js","../assets/app.01ff13c2.css","./(login)-layout.svelte.cb4cf182.js"],import.meta.url),()=>u(()=>import("../chunks/10.adc0d7aa.js"),["../chunks/10.adc0d7aa.js","../chunks/_page.98cb61bc.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.3b55a4c6.js","../chunks/prod-browser.becde89a.js","../chunks/paths.e7bc2ad1.js","./(app)-page.svelte.0c6130fb.js","../chunks/index.09834243.js","../chunks/navigation.8b74a406.js","../chunks/singletons.aae8f11e.js","../chunks/loading.3bde98aa.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/workflow-service.56e6b262.js","../chunks/decode-payload.1c6b12fc.js","../chunks/data-encoder-config.b5b7b570.js","../chunks/persist-store.ad106cab.js","../chunks/has.b142a10d.js","../chunks/is-http.486112c3.js","../chunks/atob.568d13ab.js","../chunks/versions.2bb4ba4c.js","../chunks/stores.9d4a2bb0.js","../chunks/simplify-attributes.560f55a5.js","../chunks/format-date.71526e4c.js","../chunks/format-time.650b834b.js","../chunks/route-for-api.6f64f216.js","../chunks/auth-user.f0bc59ab.js","../chunks/toaster.d089c03c.js","../chunks/is-network-error.e2b13739.js","../chunks/version-check.d006b302.js","../chunks/namespaces.5721b9bd.js"],import.meta.url),()=>u(()=>import("../chunks/11.275ad04b.js"),["../chunks/11.275ad04b.js","../chunks/_page.cbe3b57f.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.3b55a4c6.js","../chunks/prod-browser.becde89a.js","../chunks/paths.e7bc2ad1.js"],import.meta.url),()=>u(()=>import("../chunks/12.6b44d648.js"),["../chunks/12.6b44d648.js","./(app)-import-events-page.svelte.0f107002.js","../chunks/index.09834243.js","../chunks/event-history-file-import.338772bc.js","../chunks/navigation.8b74a406.js","../chunks/singletons.aae8f11e.js","../chunks/paths.e7bc2ad1.js","../chunks/button.ce5dce2f.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/icon.3cd9fa27.js","../assets/button.386e08e4.css","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/index.7999049a.js","../chunks/has.b142a10d.js","../chunks/is-event-type.4dbe973b.js","../chunks/format-time.650b834b.js","../chunks/index.70d7ea32.js","../chunks/data-encoder-config.b5b7b570.js","../chunks/persist-store.ad106cab.js","../chunks/format-date.71526e4c.js","../chunks/get-event-categorization.3ec93a88.js","../chunks/simplify-attributes.560f55a5.js","../chunks/import-events.1bc34d6c.js","../chunks/namespaces.5721b9bd.js","../chunks/toaster.d089c03c.js","../chunks/route-for.3b55a4c6.js","../chunks/prod-browser.becde89a.js","../chunks/code-block.5b4e5d21.js","../chunks/button.27a19883.js","../assets/button.8b8c0631.css","../chunks/copy-to-clipboard.3607fbc7.js","../chunks/link.4944a6a5.js","../assets/link.e1fc8ece.css"],import.meta.url),()=>u(()=>import("../chunks/13.1f28b48b.js"),["../chunks/13.1f28b48b.js","../chunks/_page.000985df.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.3b55a4c6.js","../chunks/prod-browser.becde89a.js","../chunks/paths.e7bc2ad1.js"],import.meta.url),()=>u(()=>import("../chunks/14.b0ae0b6e.js"),["../chunks/14.b0ae0b6e.js","./(app)-import-events-_namespace_-_workflow_-_run_-history-compact-page.svelte.c734c1a7.js","../chunks/index.09834243.js","../chunks/event-summary-table.295df242.js","../chunks/empty-state.aea525ff.js","../chunks/icon.3cd9fa27.js","../chunks/loading.3bde98aa.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/menu.c7988d0b.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/singletons.aae8f11e.js","../chunks/paths.e7bc2ad1.js","../assets/menu.0bf3fcbe.css","../chunks/navigation.8b74a406.js","../chunks/stores.9d4a2bb0.js","../chunks/link.4944a6a5.js","../assets/link.e1fc8ece.css","../chunks/index.7999049a.js","../chunks/has.b142a10d.js","../chunks/is-event-type.4dbe973b.js","../chunks/format-time.650b834b.js","../chunks/event-view.fe644395.js","../chunks/persist-store.ad106cab.js","../chunks/format-date.71526e4c.js","../chunks/format-event-attributes.14b5bd74.js","../chunks/format-camel-case.887ffc78.js","../chunks/route-for.3b55a4c6.js","../chunks/prod-browser.becde89a.js","../chunks/code-block.5b4e5d21.js","../chunks/button.27a19883.js","../assets/button.8b8c0631.css","../chunks/copy-to-clipboard.3607fbc7.js","../chunks/index.fcfd418a.js","../chunks/payload-decoder.357d48e6.js","../chunks/auth-user.f0bc59ab.js","../chunks/decode-payload.1c6b12fc.js","../chunks/data-encoder-config.b5b7b570.js","../chunks/is-http.486112c3.js","../chunks/atob.568d13ab.js","../chunks/get-codec.be95b1c3.js","../chunks/table-header-row.843c5ee2.js","../assets/table-header-row.6ba6477c.css","../chunks/get-event-categorization.3ec93a88.js","../chunks/filters.2cde2000.js","../chunks/versions.2bb4ba4c.js","../chunks/update-query-parameters.b3356c21.js","../chunks/version-check.d006b302.js","../chunks/menu-divider.6c0ebb73.js","../chunks/button.ce5dce2f.js","../assets/button.386e08e4.css","../assets/event-summary-table.4456dbde.css","../chunks/pagination.3eb97d83.js","../chunks/simple-select.1c5b21bd.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/import-events.1bc34d6c.js"],import.meta.url),()=>u(()=>import("../chunks/15.e4b981ff.js"),["../chunks/15.e4b981ff.js","./(app)-import-events-_namespace_-_workflow_-_run_-history-feed-page.svelte.386959fd.js","../chunks/index.09834243.js","../chunks/event-summary-table.295df242.js","../chunks/empty-state.aea525ff.js","../chunks/icon.3cd9fa27.js","../chunks/loading.3bde98aa.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/menu.c7988d0b.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/singletons.aae8f11e.js","../chunks/paths.e7bc2ad1.js","../assets/menu.0bf3fcbe.css","../chunks/navigation.8b74a406.js","../chunks/stores.9d4a2bb0.js","../chunks/link.4944a6a5.js","../assets/link.e1fc8ece.css","../chunks/index.7999049a.js","../chunks/has.b142a10d.js","../chunks/is-event-type.4dbe973b.js","../chunks/format-time.650b834b.js","../chunks/event-view.fe644395.js","../chunks/persist-store.ad106cab.js","../chunks/format-date.71526e4c.js","../chunks/format-event-attributes.14b5bd74.js","../chunks/format-camel-case.887ffc78.js","../chunks/route-for.3b55a4c6.js","../chunks/prod-browser.becde89a.js","../chunks/code-block.5b4e5d21.js","../chunks/button.27a19883.js","../assets/button.8b8c0631.css","../chunks/copy-to-clipboard.3607fbc7.js","../chunks/index.fcfd418a.js","../chunks/payload-decoder.357d48e6.js","../chunks/auth-user.f0bc59ab.js","../chunks/decode-payload.1c6b12fc.js","../chunks/data-encoder-config.b5b7b570.js","../chunks/is-http.486112c3.js","../chunks/atob.568d13ab.js","../chunks/get-codec.be95b1c3.js","../chunks/table-header-row.843c5ee2.js","../assets/table-header-row.6ba6477c.css","../chunks/get-event-categorization.3ec93a88.js","../chunks/filters.2cde2000.js","../chunks/versions.2bb4ba4c.js","../chunks/update-query-parameters.b3356c21.js","../chunks/version-check.d006b302.js","../chunks/menu-divider.6c0ebb73.js","../chunks/button.ce5dce2f.js","../assets/button.386e08e4.css","../assets/event-summary-table.4456dbde.css","../chunks/pagination.3eb97d83.js","../chunks/simple-select.1c5b21bd.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/import-events.1bc34d6c.js"],import.meta.url),()=>u(()=>import("../chunks/16.94c99308.js"),["../chunks/16.94c99308.js","./(app)-import-events-_namespace_-_workflow_-_run_-history-json-page.svelte.9f4e903f.js","../chunks/index.09834243.js","../chunks/workflow-json-navigator.b7922362.js","../chunks/code-block.5b4e5d21.js","../chunks/button.27a19883.js","../chunks/icon.3cd9fa27.js","../assets/button.8b8c0631.css","../chunks/copy-to-clipboard.3607fbc7.js","../chunks/singletons.aae8f11e.js","../chunks/paths.e7bc2ad1.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/omit.6cf41932.js","../chunks/loading.3bde98aa.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/payload-decoder.357d48e6.js","../chunks/stores.9d4a2bb0.js","../chunks/auth-user.f0bc59ab.js","../chunks/persist-store.ad106cab.js","../chunks/decode-payload.1c6b12fc.js","../chunks/data-encoder-config.b5b7b570.js","../chunks/has.b142a10d.js","../chunks/is-http.486112c3.js","../chunks/atob.568d13ab.js","../chunks/prod-browser.becde89a.js","../chunks/get-codec.be95b1c3.js","../assets/workflow-json-navigator.a85b4b27.css","../chunks/import-events.1bc34d6c.js"],import.meta.url),()=>u(()=>import("../chunks/17.76f55a91.js"),["../chunks/17.76f55a91.js","./(app)-namespaces-page.svelte.ae96de4b.js","../chunks/index.09834243.js","../chunks/stores.9d4a2bb0.js","../chunks/singletons.aae8f11e.js","../chunks/paths.e7bc2ad1.js","../chunks/page-title.34fd480b.js","../chunks/empty-state.aea525ff.js","../chunks/icon.3cd9fa27.js","../chunks/link.4944a6a5.js","../assets/link.e1fc8ece.css","../chunks/pagination.3eb97d83.js","../chunks/update-query-parameters.b3356c21.js","../chunks/navigation.8b74a406.js","../chunks/simple-select.1c5b21bd.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/table-header-row.843c5ee2.js","../assets/table-header-row.6ba6477c.css","../chunks/table-row.185c48e5.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/namespaces.5721b9bd.js","../chunks/persist-store.ad106cab.js","../chunks/route-for.3b55a4c6.js","../chunks/prod-browser.becde89a.js"],import.meta.url),()=>u(()=>import("../chunks/18.7cd728b6.js"),["../chunks/18.7cd728b6.js","../chunks/_page.8d04c3f0.js","../chunks/namespaces-service.5f534be1.js","../chunks/namespaces.5721b9bd.js","../chunks/singletons.aae8f11e.js","../chunks/index.09834243.js","../chunks/paths.e7bc2ad1.js","../chunks/persist-store.ad106cab.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/toaster.d089c03c.js","../chunks/paginated.713346b6.js","../chunks/route-for-api.6f64f216.js","../chunks/prod-browser.becde89a.js","../chunks/auth-user.f0bc59ab.js","../chunks/has.b142a10d.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.3b55a4c6.js","../chunks/stores.9d4a2bb0.js","./(app)-namespaces-_namespace_-page.svelte.30371574.js","../chunks/page-title.34fd480b.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/card.133df274.js","../assets/card.c4e4432a.css","../chunks/table-header-row.843c5ee2.js","../assets/table-header-row.6ba6477c.css","../chunks/table-row.185c48e5.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/search-attributes.03d6dc08.js","../chunks/versions.2bb4ba4c.js","../chunks/format-time.650b834b.js"],import.meta.url),()=>u(()=>import("../chunks/19.59b1ae9a.js"),["../chunks/19.59b1ae9a.js","../chunks/_page.f6735002.js","../chunks/namespaces-service.5f534be1.js","../chunks/namespaces.5721b9bd.js","../chunks/singletons.aae8f11e.js","../chunks/index.09834243.js","../chunks/paths.e7bc2ad1.js","../chunks/persist-store.ad106cab.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/toaster.d089c03c.js","../chunks/paginated.713346b6.js","../chunks/route-for-api.6f64f216.js","../chunks/prod-browser.becde89a.js","../chunks/auth-user.f0bc59ab.js","../chunks/has.b142a10d.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.3b55a4c6.js","../chunks/stores.9d4a2bb0.js","../chunks/workflow-service.56e6b262.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/decode-payload.1c6b12fc.js","../chunks/data-encoder-config.b5b7b570.js","../chunks/is-http.486112c3.js","../chunks/atob.568d13ab.js","../chunks/versions.2bb4ba4c.js","../chunks/simplify-attributes.560f55a5.js","../chunks/format-date.71526e4c.js","../chunks/format-time.650b834b.js","../chunks/version-check.d006b302.js","./(app)-namespaces-_namespace_-archival-page.svelte.e4b2f32a.js","../chunks/page-title.34fd480b.js","../chunks/index.6463bb02.js","../chunks/navigation.8b74a406.js","../chunks/workflow-status.cf27e560.js","../chunks/button.ce5dce2f.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/icon.3cd9fa27.js","../assets/button.386e08e4.css","../assets/workflow-status.66629984.css","../chunks/copy-to-clipboard.3607fbc7.js","../chunks/link.4944a6a5.js","../assets/link.e1fc8ece.css","../chunks/table-row.185c48e5.js","../chunks/workflows.00769fe8.js","../chunks/update-query-parameters.b3356c21.js","../chunks/table-header-row.843c5ee2.js","../assets/table-header-row.6ba6477c.css","../chunks/input.8b192295.js","../chunks/icon-button.b5ab850e.js","../assets/icon-button.16bef21d.css","../assets/input.19df62ce.css","../assets/index.d6094a94.css","../chunks/code-block.5b4e5d21.js","../chunks/button.27a19883.js","../assets/button.8b8c0631.css","../chunks/empty-state.aea525ff.js","../chunks/pagination.3eb97d83.js","../chunks/simple-select.1c5b21bd.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../assets/_page.c5268cbc.css"],import.meta.url),()=>u(()=>import("../chunks/20.e6646284.js"),["../chunks/20.e6646284.js","./(app)-namespaces-_namespace_-batch-operations-page.svelte.a2bcfbcd.js","../chunks/index.09834243.js","../chunks/stores.9d4a2bb0.js","../chunks/singletons.aae8f11e.js","../chunks/paths.e7bc2ad1.js","../chunks/page-title.34fd480b.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/empty-state.aea525ff.js","../chunks/icon.3cd9fa27.js","../chunks/link.4944a6a5.js","../assets/link.e1fc8ece.css","../chunks/table-header-row.843c5ee2.js","../assets/table-header-row.6ba6477c.css","../chunks/table-row.185c48e5.js","../chunks/format-date.71526e4c.js","../chunks/persist-store.ad106cab.js","../chunks/format-time.650b834b.js","../chunks/has.b142a10d.js","../chunks/route-for.3b55a4c6.js","../chunks/prod-browser.becde89a.js","../chunks/alert.67786ddb.js","../assets/alert.303275c8.css","../chunks/loading.3bde98aa.js","../chunks/batch-operations.2ef00b45.js","../chunks/workflow-actions.6f88149c.js","../chunks/auth-user.f0bc59ab.js","../chunks/versions.2bb4ba4c.js","../chunks/route-for-api.6f64f216.js","../chunks/toaster.d089c03c.js","../chunks/is-network-error.e2b13739.js","../chunks/version-check.d006b302.js"],import.meta.url),()=>u(()=>import("../chunks/21.6d09b3a8.js"),["../chunks/21.6d09b3a8.js","./(app)-namespaces-_namespace_-batch-operations-_jobId_-page.svelte.4766eddc.js","../chunks/index.09834243.js","../chunks/stores.9d4a2bb0.js","../chunks/singletons.aae8f11e.js","../chunks/paths.e7bc2ad1.js","../chunks/page-title.34fd480b.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/format-date.71526e4c.js","../chunks/persist-store.ad106cab.js","../chunks/format-time.650b834b.js","../chunks/has.b142a10d.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/toggle-switch.3808d19f.js","../assets/toggle-switch.ff91b31f.css","../chunks/tooltip.6cc63041.js","../chunks/index.fcfd418a.js","../chunks/copy-to-clipboard.3607fbc7.js","../chunks/button.27a19883.js","../chunks/icon.3cd9fa27.js","../assets/button.8b8c0631.css","../assets/tooltip.78399487.css","../chunks/batch-operations.2ef00b45.js","../chunks/workflow-actions.6f88149c.js","../chunks/auth-user.f0bc59ab.js","../chunks/versions.2bb4ba4c.js","../chunks/route-for-api.6f64f216.js","../chunks/prod-browser.becde89a.js","../chunks/toaster.d089c03c.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.3b55a4c6.js","../chunks/version-check.d006b302.js","../chunks/card.133df274.js","../assets/card.c4e4432a.css","../chunks/link.4944a6a5.js","../assets/link.e1fc8ece.css","../assets/_page.4cad707d.css"],import.meta.url),()=>u(()=>import("../chunks/22.fc83beb3.js"),["../chunks/22.fc83beb3.js","./(app)-namespaces-_namespace_-schedules-page.svelte.68d32849.js","../chunks/index.09834243.js","../chunks/stores.9d4a2bb0.js","../chunks/singletons.aae8f11e.js","../chunks/paths.e7bc2ad1.js","../chunks/page-title.34fd480b.js","../chunks/navigation.8b74a406.js","../chunks/workflow-status.cf27e560.js","../chunks/button.ce5dce2f.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/icon.3cd9fa27.js","../assets/button.386e08e4.css","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../assets/workflow-status.66629984.css","../chunks/link.4944a6a5.js","../assets/link.e1fc8ece.css","../chunks/table-row.185c48e5.js","../chunks/format-date.71526e4c.js","../chunks/persist-store.ad106cab.js","../chunks/format-time.650b834b.js","../chunks/has.b142a10d.js","../chunks/route-for.3b55a4c6.js","../chunks/prod-browser.becde89a.js","../chunks/schedule-service.850db2fb.js","../chunks/code-block.5b4e5d21.js","../chunks/button.27a19883.js","../assets/button.8b8c0631.css","../chunks/copy-to-clipboard.3607fbc7.js","../chunks/route-for-api.6f64f216.js","../chunks/auth-user.f0bc59ab.js","../chunks/toaster.d089c03c.js","../chunks/is-network-error.e2b13739.js","../chunks/table-header-row.843c5ee2.js","../assets/table-header-row.6ba6477c.css","../chunks/empty-state.aea525ff.js","../chunks/input.8b192295.js","../chunks/icon-button.b5ab850e.js","../assets/icon-button.16bef21d.css","../assets/input.19df62ce.css","../chunks/loading.3bde98aa.js","../chunks/pagination.3eb97d83.js","../chunks/update-query-parameters.b3356c21.js","../chunks/simple-select.1c5b21bd.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/core-user.3a655c21.js","../assets/_page.af190463.css"],import.meta.url),()=>u(()=>import("../chunks/23.92ce6783.js"),["../chunks/23.92ce6783.js","./(app)-namespaces-_namespace_-schedules-_schedule_-page.svelte.18dd84a0.js","../chunks/index.09834243.js","../chunks/stores.9d4a2bb0.js","../chunks/singletons.aae8f11e.js","../chunks/paths.e7bc2ad1.js","../chunks/page-title.34fd480b.js","../chunks/navigation.8b74a406.js","../chunks/accordion.3c992162.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/icon.3cd9fa27.js","../chunks/toaster.d089c03c.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/schedule-service.850db2fb.js","../chunks/code-block.5b4e5d21.js","../chunks/button.27a19883.js","../assets/button.8b8c0631.css","../chunks/copy-to-clipboard.3607fbc7.js","../chunks/route-for-api.6f64f216.js","../chunks/prod-browser.becde89a.js","../chunks/auth-user.f0bc59ab.js","../chunks/persist-store.ad106cab.js","../chunks/has.b142a10d.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.3b55a4c6.js","../chunks/empty-state.aea525ff.js","../chunks/link.4944a6a5.js","../assets/link.e1fc8ece.css","../chunks/workflow-service.56e6b262.js","../chunks/decode-payload.1c6b12fc.js","../chunks/data-encoder-config.b5b7b570.js","../chunks/is-http.486112c3.js","../chunks/atob.568d13ab.js","../chunks/versions.2bb4ba4c.js","../chunks/simplify-attributes.560f55a5.js","../chunks/format-date.71526e4c.js","../chunks/format-time.650b834b.js","../chunks/version-check.d006b302.js","../chunks/workflow-status.cf27e560.js","../chunks/button.ce5dce2f.js","../assets/button.386e08e4.css","../assets/workflow-status.66629984.css","../chunks/loading.3bde98aa.js","../chunks/menu.c7988d0b.js","../assets/menu.0bf3fcbe.css","../chunks/modal.0783f753.js","../chunks/icon-button.b5ab850e.js","../assets/icon-button.16bef21d.css","../assets/modal.a1162225.css","../chunks/radio-input.c176e21a.js","../assets/radio-input.01c3758f.css","../chunks/split-button.6be660d6.js","../assets/split-button.8566e410.css","../chunks/core-user.3a655c21.js","../chunks/schedules.f146f38a.js","../assets/_page.8e3b0af3.css"],import.meta.url),()=>u(()=>import("../chunks/24.1072f0c1.js"),["../chunks/24.1072f0c1.js","./(app)-namespaces-_namespace_-schedules-_schedule_-edit-page.svelte.170b7e6d.js","../chunks/index.09834243.js","../chunks/stores.9d4a2bb0.js","../chunks/singletons.aae8f11e.js","../chunks/paths.e7bc2ad1.js","../chunks/page-title.34fd480b.js","../chunks/schedule-form-view.6e6169d6.js","../chunks/input.8b192295.js","../chunks/icon.3cd9fa27.js","../chunks/copy-to-clipboard.3607fbc7.js","../chunks/icon-button.b5ab850e.js","../assets/icon-button.16bef21d.css","../assets/input.19df62ce.css","../chunks/tab.54c1ef65.js","../chunks/parse-with-big-int.b38462f3.js","../assets/tab.8436f1bf.css","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/option.9ca3e3be.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/menu.c7988d0b.js","../assets/menu.0bf3fcbe.css","../assets/option.20882847.css","../chunks/toggle-buttons.c3213cc2.js","../assets/toggle-buttons.1415ce75.css","../chunks/schedule-service.850db2fb.js","../chunks/code-block.5b4e5d21.js","../chunks/button.27a19883.js","../assets/button.8b8c0631.css","../chunks/route-for-api.6f64f216.js","../chunks/prod-browser.becde89a.js","../chunks/auth-user.f0bc59ab.js","../chunks/persist-store.ad106cab.js","../chunks/toaster.d089c03c.js","../chunks/has.b142a10d.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.3b55a4c6.js","../chunks/alert.67786ddb.js","../assets/alert.303275c8.css","../chunks/button.ce5dce2f.js","../assets/button.386e08e4.css","../chunks/link.4944a6a5.js","../assets/link.e1fc8ece.css","../chunks/loading.3bde98aa.js","../chunks/schedules.f146f38a.js","../chunks/navigation.8b74a406.js","../assets/schedule-form-view.6d80008f.css"],import.meta.url),()=>u(()=>import("../chunks/25.86186090.js"),["../chunks/25.86186090.js","./(app)-namespaces-_namespace_-schedules-create-page.svelte.fe17a501.js","../chunks/index.09834243.js","../chunks/stores.9d4a2bb0.js","../chunks/singletons.aae8f11e.js","../chunks/paths.e7bc2ad1.js","../chunks/page-title.34fd480b.js","../chunks/schedule-form-view.6e6169d6.js","../chunks/input.8b192295.js","../chunks/icon.3cd9fa27.js","../chunks/copy-to-clipboard.3607fbc7.js","../chunks/icon-button.b5ab850e.js","../assets/icon-button.16bef21d.css","../assets/input.19df62ce.css","../chunks/tab.54c1ef65.js","../chunks/parse-with-big-int.b38462f3.js","../assets/tab.8436f1bf.css","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/option.9ca3e3be.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/menu.c7988d0b.js","../assets/menu.0bf3fcbe.css","../assets/option.20882847.css","../chunks/toggle-buttons.c3213cc2.js","../assets/toggle-buttons.1415ce75.css","../chunks/schedule-service.850db2fb.js","../chunks/code-block.5b4e5d21.js","../chunks/button.27a19883.js","../assets/button.8b8c0631.css","../chunks/route-for-api.6f64f216.js","../chunks/prod-browser.becde89a.js","../chunks/auth-user.f0bc59ab.js","../chunks/persist-store.ad106cab.js","../chunks/toaster.d089c03c.js","../chunks/has.b142a10d.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.3b55a4c6.js","../chunks/alert.67786ddb.js","../assets/alert.303275c8.css","../chunks/button.ce5dce2f.js","../assets/button.386e08e4.css","../chunks/link.4944a6a5.js","../assets/link.e1fc8ece.css","../chunks/loading.3bde98aa.js","../chunks/schedules.f146f38a.js","../chunks/navigation.8b74a406.js","../assets/schedule-form-view.6d80008f.css"],import.meta.url),()=>u(()=>import("../chunks/26.1b66d325.js"),["../chunks/26.1b66d325.js","./(app)-namespaces-_namespace_-task-queues-page.svelte.169cd749.js","../chunks/index.09834243.js"],import.meta.url),()=>u(()=>import("../chunks/27.587f623e.js"),["../chunks/27.587f623e.js","./(app)-namespaces-_namespace_-task-queues-_queue_-page.svelte.75adea3b.js","../chunks/index.09834243.js","../chunks/stores.9d4a2bb0.js","../chunks/singletons.aae8f11e.js","../chunks/paths.e7bc2ad1.js","../chunks/page-title.34fd480b.js","../chunks/workers-list.f1c48798.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/pollers-service.d402da8b.js","../chunks/icon.3cd9fa27.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/route-for-api.6f64f216.js","../chunks/prod-browser.becde89a.js","../chunks/auth-user.f0bc59ab.js","../chunks/persist-store.ad106cab.js","../chunks/toaster.d089c03c.js","../chunks/has.b142a10d.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.3b55a4c6.js","../assets/pollers-service.3f93e67d.css","../chunks/empty-state.aea525ff.js","../chunks/table-header-row.843c5ee2.js","../assets/table-header-row.6ba6477c.css","../chunks/table-row.185c48e5.js","../chunks/format-date.71526e4c.js","../chunks/format-time.650b834b.js","../chunks/task-queue-compatibility.cf5696f8.js","../assets/workers-list.7dbb8f48.css"],import.meta.url),()=>u(()=>import("../chunks/28.1c7e2fcf.js"),["../chunks/28.1c7e2fcf.js","../chunks/_page.b14944b6.js","./(app)-namespaces-_namespace_-workflows-page.svelte.c7e322ec.js","../chunks/index.09834243.js","../chunks/stores.9d4a2bb0.js","../chunks/singletons.aae8f11e.js","../chunks/paths.e7bc2ad1.js","../chunks/workflow-service.56e6b262.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/decode-payload.1c6b12fc.js","../chunks/data-encoder-config.b5b7b570.js","../chunks/persist-store.ad106cab.js","../chunks/has.b142a10d.js","../chunks/is-http.486112c3.js","../chunks/atob.568d13ab.js","../chunks/prod-browser.becde89a.js","../chunks/versions.2bb4ba4c.js","../chunks/simplify-attributes.560f55a5.js","../chunks/format-date.71526e4c.js","../chunks/format-time.650b834b.js","../chunks/route-for-api.6f64f216.js","../chunks/auth-user.f0bc59ab.js","../chunks/toaster.d089c03c.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.3b55a4c6.js","../chunks/version-check.d006b302.js","../chunks/page-title.34fd480b.js","../chunks/input.8b192295.js","../chunks/icon.3cd9fa27.js","../chunks/copy-to-clipboard.3607fbc7.js","../chunks/icon-button.b5ab850e.js","../assets/icon-button.16bef21d.css","../assets/input.19df62ce.css","../chunks/modal.0783f753.js","../chunks/button.ce5dce2f.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../assets/button.386e08e4.css","../assets/modal.a1162225.css","../chunks/workflow-actions.6f88149c.js","../chunks/workflow-terminate-enabled.e1ebd541.js","../chunks/omit.6cf41932.js","../assets/workflow-terminate-enabled.4b5966e2.css","../chunks/menu.c7988d0b.js","../assets/menu.0bf3fcbe.css","../chunks/option.9ca3e3be.js","../assets/option.20882847.css","../chunks/labs-mode.476dd7f5.js","../chunks/menu-divider.6c0ebb73.js","../chunks/toggle-buttons.c3213cc2.js","../assets/toggle-buttons.1415ce75.css","../chunks/filters.2cde2000.js","../chunks/index.6463bb02.js","../chunks/navigation.8b74a406.js","../chunks/workflow-status.cf27e560.js","../assets/workflow-status.66629984.css","../chunks/link.4944a6a5.js","../assets/link.e1fc8ece.css","../chunks/table-row.185c48e5.js","../chunks/workflows.00769fe8.js","../chunks/update-query-parameters.b3356c21.js","../chunks/table-header-row.843c5ee2.js","../assets/table-header-row.6ba6477c.css","../assets/index.d6094a94.css","../chunks/toggle-switch.3808d19f.js","../assets/toggle-switch.ff91b31f.css","../chunks/search-attributes.03d6dc08.js","../chunks/radio-input.c176e21a.js","../assets/radio-input.01c3758f.css","../chunks/drawer.14ba7d3c.js","../assets/drawer.96194c4d.css","../chunks/alert.67786ddb.js","../assets/alert.303275c8.css","../chunks/loading.3bde98aa.js","../chunks/pagination.3eb97d83.js","../chunks/simple-select.1c5b21bd.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/namespaces.5721b9bd.js","../chunks/core-user.3a655c21.js","../chunks/batch-operations.2ef00b45.js","../chunks/empty-state.aea525ff.js","../assets/_page.a26365d1.css"],import.meta.url),()=>u(()=>import("../chunks/29.0cd65b1e.js"),["../chunks/29.0cd65b1e.js","../chunks/_page.3ea24305.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/workflow-service.56e6b262.js","../chunks/index.09834243.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/decode-payload.1c6b12fc.js","../chunks/data-encoder-config.b5b7b570.js","../chunks/singletons.aae8f11e.js","../chunks/paths.e7bc2ad1.js","../chunks/persist-store.ad106cab.js","../chunks/has.b142a10d.js","../chunks/is-http.486112c3.js","../chunks/atob.568d13ab.js","../chunks/prod-browser.becde89a.js","../chunks/versions.2bb4ba4c.js","../chunks/stores.9d4a2bb0.js","../chunks/simplify-attributes.560f55a5.js","../chunks/format-date.71526e4c.js","../chunks/format-time.650b834b.js","../chunks/route-for-api.6f64f216.js","../chunks/auth-user.f0bc59ab.js","../chunks/toaster.d089c03c.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.3b55a4c6.js","../chunks/version-check.d006b302.js"],import.meta.url),()=>u(()=>import("../chunks/30.404c9a80.js"),["../chunks/30.404c9a80.js","../chunks/_page.2bedfed4.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-page.svelte.169cd749.js","../chunks/index.09834243.js"],import.meta.url),()=>u(()=>import("../chunks/31.5c0ae971.js"),["../chunks/31.5c0ae971.js","../chunks/_page.ed77219c.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-page.svelte.bf1b8d47.js","../chunks/index.09834243.js","../chunks/stores.9d4a2bb0.js","../chunks/singletons.aae8f11e.js","../chunks/paths.e7bc2ad1.js","../chunks/page-title.34fd480b.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/accordion.3c992162.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/icon.3cd9fa27.js","../chunks/toaster.d089c03c.js","../chunks/loading.3bde98aa.js","../chunks/toggle-buttons.c3213cc2.js","../assets/toggle-buttons.1415ce75.css","../chunks/index.7999049a.js","../chunks/has.b142a10d.js","../chunks/is-event-type.4dbe973b.js","../chunks/format-time.650b834b.js","../chunks/get-event-categorization.3ec93a88.js","../chunks/event-view.fe644395.js","../chunks/persist-store.ad106cab.js","../chunks/filters.2cde2000.js","../chunks/workflow-run.889d50fd.js","../chunks/format-camel-case.887ffc78.js","../chunks/format-date.71526e4c.js","../chunks/button.ce5dce2f.js","../assets/button.386e08e4.css","../chunks/drawer.14ba7d3c.js","../chunks/menu.c7988d0b.js","../assets/menu.0bf3fcbe.css","../chunks/icon-button.b5ab850e.js","../assets/icon-button.16bef21d.css","../assets/drawer.96194c4d.css","../chunks/tooltip.6cc63041.js","../chunks/index.fcfd418a.js","../chunks/copy-to-clipboard.3607fbc7.js","../chunks/button.27a19883.js","../assets/button.8b8c0631.css","../assets/tooltip.78399487.css","../chunks/code-block.5b4e5d21.js","../chunks/payload-decoder.357d48e6.js","../chunks/auth-user.f0bc59ab.js","../chunks/decode-payload.1c6b12fc.js","../chunks/data-encoder-config.b5b7b570.js","../chunks/is-http.486112c3.js","../chunks/atob.568d13ab.js","../chunks/prod-browser.becde89a.js","../chunks/get-codec.be95b1c3.js","../chunks/link.4944a6a5.js","../assets/link.e1fc8ece.css","../chunks/format-event-attributes.14b5bd74.js","../chunks/route-for.3b55a4c6.js","../chunks/to-time-difference.be87d1bf.js","../chunks/pagination.3eb97d83.js","../chunks/update-query-parameters.b3356c21.js","../chunks/navigation.8b74a406.js","../chunks/simple-select.1c5b21bd.js","../assets/simple-select.51b2afe1.css","../assets/pagination.07b49192.css","../chunks/table-header-row.843c5ee2.js","../assets/table-header-row.6ba6477c.css","../chunks/table-row.185c48e5.js","../chunks/workflow-status.cf27e560.js","../assets/workflow-status.66629984.css","../chunks/alert.67786ddb.js","../assets/alert.303275c8.css","../chunks/task-queue-compatibility.cf5696f8.js","../chunks/event-summary-table.295df242.js","../chunks/empty-state.aea525ff.js","../chunks/versions.2bb4ba4c.js","../chunks/version-check.d006b302.js","../chunks/menu-divider.6c0ebb73.js","../assets/event-summary-table.4456dbde.css","../chunks/events-service.7b234537.js","../chunks/index.70d7ea32.js","../chunks/simplify-attributes.560f55a5.js","../chunks/paginated.713346b6.js","../chunks/route-for-api.6f64f216.js","../chunks/is-network-error.e2b13739.js","../chunks/namespaces.5721b9bd.js","../chunks/workflow-json-navigator.b7922362.js","../chunks/omit.6cf41932.js","../assets/workflow-json-navigator.a85b4b27.css","../chunks/toggle-switch.3808d19f.js","../assets/toggle-switch.ff91b31f.css","../assets/_page.c6b6bde8.css"],import.meta.url),()=>u(()=>import("../chunks/32.e94a11ed.js"),["../chunks/32.e94a11ed.js","../chunks/_page.011b8ecc.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.3b55a4c6.js","../chunks/prod-browser.becde89a.js","../chunks/paths.e7bc2ad1.js"],import.meta.url),()=>u(()=>import("../chunks/33.30e97d03.js"),["../chunks/33.30e97d03.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-history-events-_id_-page.svelte.842640e1.js","../chunks/index.09834243.js","../chunks/stores.9d4a2bb0.js","../chunks/singletons.aae8f11e.js","../chunks/paths.e7bc2ad1.js","../chunks/event-summary-table.295df242.js","../chunks/empty-state.aea525ff.js","../chunks/icon.3cd9fa27.js","../chunks/loading.3bde98aa.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/menu.c7988d0b.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../assets/menu.0bf3fcbe.css","../chunks/navigation.8b74a406.js","../chunks/link.4944a6a5.js","../assets/link.e1fc8ece.css","../chunks/index.7999049a.js","../chunks/has.b142a10d.js","../chunks/is-event-type.4dbe973b.js","../chunks/format-time.650b834b.js","../chunks/event-view.fe644395.js","../chunks/persist-store.ad106cab.js","../chunks/format-date.71526e4c.js","../chunks/format-event-attributes.14b5bd74.js","../chunks/format-camel-case.887ffc78.js","../chunks/route-for.3b55a4c6.js","../chunks/prod-browser.becde89a.js","../chunks/code-block.5b4e5d21.js","../chunks/button.27a19883.js","../assets/button.8b8c0631.css","../chunks/copy-to-clipboard.3607fbc7.js","../chunks/index.fcfd418a.js","../chunks/payload-decoder.357d48e6.js","../chunks/auth-user.f0bc59ab.js","../chunks/decode-payload.1c6b12fc.js","../chunks/data-encoder-config.b5b7b570.js","../chunks/is-http.486112c3.js","../chunks/atob.568d13ab.js","../chunks/get-codec.be95b1c3.js","../chunks/table-header-row.843c5ee2.js","../assets/table-header-row.6ba6477c.css","../chunks/get-event-categorization.3ec93a88.js","../chunks/filters.2cde2000.js","../chunks/versions.2bb4ba4c.js","../chunks/update-query-parameters.b3356c21.js","../chunks/version-check.d006b302.js","../chunks/menu-divider.6c0ebb73.js","../chunks/button.ce5dce2f.js","../assets/button.386e08e4.css","../assets/event-summary-table.4456dbde.css","../chunks/events-service.7b234537.js","../chunks/workflow-run.889d50fd.js","../chunks/index.70d7ea32.js","../chunks/simplify-attributes.560f55a5.js","../chunks/paginated.713346b6.js","../chunks/route-for-api.6f64f216.js","../chunks/toaster.d089c03c.js","../chunks/is-network-error.e2b13739.js"],import.meta.url),()=>u(()=>import("../chunks/34.e94a11ed.js"),["../chunks/34.e94a11ed.js","../chunks/_page.8b656119.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.3b55a4c6.js","../chunks/prod-browser.becde89a.js","../chunks/paths.e7bc2ad1.js"],import.meta.url),()=>u(()=>import("../chunks/35.e94a11ed.js"),["../chunks/35.e94a11ed.js","../chunks/_page.c1dd67a1.js","../chunks/index.b1f5b21f.js","../chunks/control.e7f5239e.js","../chunks/route-for.3b55a4c6.js","../chunks/prod-browser.becde89a.js","../chunks/paths.e7bc2ad1.js"],import.meta.url),()=>u(()=>import("../chunks/36.b7a3df19.js"),["../chunks/36.b7a3df19.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-pending-activities-page.svelte.8cfe4ed9.js","../chunks/index.09834243.js","../chunks/stores.9d4a2bb0.js","../chunks/singletons.aae8f11e.js","../chunks/paths.e7bc2ad1.js","../chunks/page-title.34fd480b.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/code-block.5b4e5d21.js","../chunks/button.27a19883.js","../chunks/icon.3cd9fa27.js","../assets/button.8b8c0631.css","../chunks/copy-to-clipboard.3607fbc7.js","../chunks/empty-state.aea525ff.js","../chunks/link.4944a6a5.js","../assets/link.e1fc8ece.css","../chunks/table-header-row.843c5ee2.js","../assets/table-header-row.6ba6477c.css","../chunks/table-row.185c48e5.js","../chunks/format-date.71526e4c.js","../chunks/persist-store.ad106cab.js","../chunks/format-time.650b834b.js","../chunks/has.b142a10d.js","../chunks/workflow-run.889d50fd.js","../chunks/format-event-attributes.14b5bd74.js","../chunks/format-camel-case.887ffc78.js","../chunks/index.7999049a.js","../chunks/is-event-type.4dbe973b.js","../chunks/to-time-difference.be87d1bf.js","../assets/_page.682a0c0d.css"],import.meta.url),()=>u(()=>import("../chunks/37.8059eb75.js"),["../chunks/37.8059eb75.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-query-page.svelte.5e4b6829.js","../chunks/index.09834243.js","../chunks/stores.9d4a2bb0.js","../chunks/singletons.aae8f11e.js","../chunks/paths.e7bc2ad1.js","../chunks/page-title.34fd480b.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/button.ce5dce2f.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/icon.3cd9fa27.js","../assets/button.386e08e4.css","../chunks/code-block.5b4e5d21.js","../chunks/button.27a19883.js","../assets/button.8b8c0631.css","../chunks/copy-to-clipboard.3607fbc7.js","../chunks/empty-state.aea525ff.js","../chunks/loading.3bde98aa.js","../chunks/simple-select.1c5b21bd.js","../assets/simple-select.51b2afe1.css","../chunks/toggle-switch.3808d19f.js","../assets/toggle-switch.ff91b31f.css","../chunks/query-service.84b09f62.js","../chunks/data-encoder-config.b5b7b570.js","../chunks/persist-store.ad106cab.js","../chunks/has.b142a10d.js","../chunks/decode-payload.1c6b12fc.js","../chunks/is-http.486112c3.js","../chunks/atob.568d13ab.js","../chunks/prod-browser.becde89a.js","../chunks/get-codec.be95b1c3.js","../chunks/route-for-api.6f64f216.js","../chunks/auth-user.f0bc59ab.js","../chunks/toaster.d089c03c.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.3b55a4c6.js"],import.meta.url),()=>u(()=>import("../chunks/38.8948275f.js"),["../chunks/38.8948275f.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-stack-trace-page.svelte.ecfaedc9.js","../chunks/index.09834243.js","../chunks/stores.9d4a2bb0.js","../chunks/singletons.aae8f11e.js","../chunks/paths.e7bc2ad1.js","../chunks/page-title.34fd480b.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/button.ce5dce2f.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/icon.3cd9fa27.js","../assets/button.386e08e4.css","../chunks/code-block.5b4e5d21.js","../chunks/button.27a19883.js","../assets/button.8b8c0631.css","../chunks/copy-to-clipboard.3607fbc7.js","../chunks/empty-state.aea525ff.js","../chunks/link.4944a6a5.js","../assets/link.e1fc8ece.css","../chunks/loading.3bde98aa.js","../chunks/query-service.84b09f62.js","../chunks/data-encoder-config.b5b7b570.js","../chunks/persist-store.ad106cab.js","../chunks/has.b142a10d.js","../chunks/decode-payload.1c6b12fc.js","../chunks/is-http.486112c3.js","../chunks/atob.568d13ab.js","../chunks/prod-browser.becde89a.js","../chunks/get-codec.be95b1c3.js","../chunks/route-for-api.6f64f216.js","../chunks/auth-user.f0bc59ab.js","../chunks/toaster.d089c03c.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.3b55a4c6.js","../chunks/workflow-run.889d50fd.js"],import.meta.url),()=>u(()=>import("../chunks/39.d2fbdd91.js"),["../chunks/39.d2fbdd91.js","./(app)-namespaces-_namespace_-workflows-_workflow_-_run_-workers-page.svelte.82047835.js","../chunks/index.09834243.js","../chunks/stores.9d4a2bb0.js","../chunks/singletons.aae8f11e.js","../chunks/paths.e7bc2ad1.js","../chunks/page-title.34fd480b.js","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/workers-list.f1c48798.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../chunks/pollers-service.d402da8b.js","../chunks/icon.3cd9fa27.js","../chunks/route-for-api.6f64f216.js","../chunks/prod-browser.becde89a.js","../chunks/auth-user.f0bc59ab.js","../chunks/persist-store.ad106cab.js","../chunks/toaster.d089c03c.js","../chunks/has.b142a10d.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.3b55a4c6.js","../assets/pollers-service.3f93e67d.css","../chunks/empty-state.aea525ff.js","../chunks/table-header-row.843c5ee2.js","../assets/table-header-row.6ba6477c.css","../chunks/table-row.185c48e5.js","../chunks/format-date.71526e4c.js","../chunks/format-time.650b834b.js","../chunks/task-queue-compatibility.cf5696f8.js","../assets/workers-list.7dbb8f48.css","../chunks/workflow-run.889d50fd.js"],import.meta.url),()=>u(()=>import("../chunks/40.27e5751e.js"),["../chunks/40.27e5751e.js","./(app)-select-namespace-page.svelte.63f6c5dd.js","../chunks/index.09834243.js","../chunks/navigation.8b74a406.js","../chunks/singletons.aae8f11e.js","../chunks/paths.e7bc2ad1.js","../chunks/stores.9d4a2bb0.js","../chunks/page-title.34fd480b.js","../chunks/empty-state.aea525ff.js","../chunks/icon.3cd9fa27.js","../chunks/input.8b192295.js","../chunks/copy-to-clipboard.3607fbc7.js","../chunks/icon-button.b5ab850e.js","../assets/icon-button.16bef21d.css","../assets/input.19df62ce.css","../chunks/translate.0a219ae4.js","../chunks/index.e31b9884.js","../chunks/parse-with-big-int.b38462f3.js","../chunks/workflow-service.56e6b262.js","../chunks/decode-payload.1c6b12fc.js","../chunks/data-encoder-config.b5b7b570.js","../chunks/persist-store.ad106cab.js","../chunks/has.b142a10d.js","../chunks/is-http.486112c3.js","../chunks/atob.568d13ab.js","../chunks/prod-browser.becde89a.js","../chunks/versions.2bb4ba4c.js","../chunks/simplify-attributes.560f55a5.js","../chunks/format-date.71526e4c.js","../chunks/format-time.650b834b.js","../chunks/route-for-api.6f64f216.js","../chunks/auth-user.f0bc59ab.js","../chunks/toaster.d089c03c.js","../chunks/is-network-error.e2b13739.js","../chunks/route-for.3b55a4c6.js","../chunks/version-check.d006b302.js","../chunks/namespaces.5721b9bd.js","../assets/_page.8ed620ce.css"],import.meta.url),()=>u(()=>import("../chunks/41.5f9c82ba.js"),["../chunks/41.5f9c82ba.js","./(login)-login-page.svelte.5a3b5e94.js","../chunks/index.09834243.js","../chunks/stores.9d4a2bb0.js","../chunks/singletons.aae8f11e.js","../chunks/paths.e7bc2ad1.js","../chunks/logo.ba44ed17.js","../chunks/icon.3cd9fa27.js","../assets/logo.4e0dbf07.css","../chunks/page-title.34fd480b.js","../chunks/button.ce5dce2f.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../assets/button.386e08e4.css","../chunks/route-for.3b55a4c6.js","../chunks/prod-browser.becde89a.js"],import.meta.url),()=>u(()=>import("../chunks/42.e82dbe83.js"),["../chunks/42.e82dbe83.js","./(login)-signin-page.svelte.5a3b5e94.js","../chunks/index.09834243.js","../chunks/stores.9d4a2bb0.js","../chunks/singletons.aae8f11e.js","../chunks/paths.e7bc2ad1.js","../chunks/logo.ba44ed17.js","../chunks/icon.3cd9fa27.js","../assets/logo.4e0dbf07.css","../chunks/page-title.34fd480b.js","../chunks/button.ce5dce2f.js","../chunks/badge.f53d8aa8.js","../assets/badge.bfa9122b.css","../assets/button.386e08e4.css","../chunks/route-for.3b55a4c6.js","../chunks/prod-browser.becde89a.js"],import.meta.url)],$e=[],Le={"/(app)":[10,[2]],"/(app)/import":[11,[2,3]],"/(app)/import/events":[12,[2,3]],"/(app)/import/events/[namespace]/[workflow]/[run]/history":[13,[2,3,4]],"/(app)/import/events/[namespace]/[workflow]/[run]/history/compact":[14,[2,3,4]],"/(app)/import/events/[namespace]/[workflow]/[run]/history/feed":[15,[2,3,4]],"/(app)/import/events/[namespace]/[workflow]/[run]/history/json":[16,[2,3,4]],"/(login)/login":[41,[9]],"/(app)/namespaces":[17,[2]],"/(app)/namespaces/[namespace]":[18,[2,5]],"/(app)/namespaces/[namespace]/archival":[19,[2,5]],"/(app)/namespaces/[namespace]/batch-operations":[20,[2,5]],"/(app)/namespaces/[namespace]/batch-operations/[jobId]":[21,[2,5]],"/(app)/namespaces/[namespace]/schedules":[22,[2,5,6]],"/(app)/namespaces/[namespace]/schedules/create":[25,[2,5,6]],"/(app)/namespaces/[namespace]/schedules/[schedule]":[23,[2,5,6]],"/(app)/namespaces/[namespace]/schedules/[schedule]/edit":[24,[2,5,6]],"/(app)/namespaces/[namespace]/task-queues":[26,[2,5,7]],"/(app)/namespaces/[namespace]/task-queues/[queue]":[27,[2,5,7]],"/(app)/namespaces/[namespace]/workflows":[28,[2,5]],"/(app)/namespaces/[namespace]/workflows/[workflow]":[29,[2,5]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]":[30,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/history":[31,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/history/compact":[32,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/history/events/[id]":[33,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/history/feed":[34,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/history/json":[35,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/pending-activities":[36,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/query":[37,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/stack-trace":[38,[2,5,8]],"/(app)/namespaces/[namespace]/workflows/[workflow]/[run]/workers":[39,[2,5,8]],"/(app)/select-namespace":[40,[2]],"/(login)/signin":[42,[9]]},Pe={handleError:({error:_})=>{console.error(_)}};export{Le as dictionary,Pe as hooks,ve as matchers,Re as nodes,be as root,$e as server_loads}; diff --git a/ui/assets/local/_app/immutable/entry/start.e6fa7374.js b/ui/assets/local/_app/immutable/entry/start.703f1119.js similarity index 99% rename from ui/assets/local/_app/immutable/entry/start.e6fa7374.js rename to ui/assets/local/_app/immutable/entry/start.703f1119.js index 17f942631a..d7101c4b70 100644 --- a/ui/assets/local/_app/immutable/entry/start.e6fa7374.js +++ b/ui/assets/local/_app/immutable/entry/start.703f1119.js @@ -1,3 +1,3 @@ -import{o as Ce,t as se}from"../chunks/index.09834243.js";import{S as ze,a as Be,I as q,g as qe,f as Fe,b as ge,c as ce,s as M,i as ye,d as Q,P as Me,e as We}from"../chunks/singletons.aae8f11e.js";import{b as z}from"../chunks/paths.e7bc2ad1.js";import{R as He,H as ee}from"../chunks/control.e7f5239e.js";function Xe(n,i){return n==="/"||i==="ignore"?n:i==="never"?n.endsWith("/")?n.slice(0,-1):n:i==="always"&&!n.endsWith("/")?n+"/":n}function Ze(n){return n.split("%25").map(decodeURI).join("%25")}function Qe(n){for(const i in n)n[i]=decodeURIComponent(n[i]);return n}const et=["href","pathname","search","searchParams","toString","toJSON"];function tt(n,i){const p=new URL(n);for(const c of et){let u=p[c];Object.defineProperty(p,c,{get(){return i(),u},enumerable:!0,configurable:!0})}return nt(p),p}function nt(n){Object.defineProperty(n,"hash",{get(){throw new Error("Cannot access event.url.hash. Consider using `$page.url.hash` inside a component instead")}})}const at="/__data.json";function rt(n){return n.replace(/\/$/,"")+at}function Ge(n){try{return JSON.parse(sessionStorage[n])}catch{}}function Ve(n,i){const p=JSON.stringify(i);try{sessionStorage[n]=p}catch{}}function ot(...n){let i=5381;for(const p of n)if(typeof p=="string"){let c=p.length;for(;c;)i=i*33^p.charCodeAt(--c)}else if(ArrayBuffer.isView(p)){const c=new Uint8Array(p.buffer,p.byteOffset,p.byteLength);let u=c.length;for(;u;)i=i*33^c[--u]}else throw new TypeError("value must be a string or TypedArray");return(i>>>0).toString(36)}const le=window.fetch;window.fetch=(n,i)=>((n instanceof Request?n.method:(i==null?void 0:i.method)||"GET")!=="GET"&&te.delete(ve(n)),le(n,i));const te=new Map;function it(n,i){const p=ve(n,i),c=document.querySelector(p);if(c!=null&&c.textContent){const{body:u,...d}=JSON.parse(c.textContent),L=c.getAttribute("data-ttl");return L&&te.set(p,{body:u,init:d,ttl:1e3*Number(L)}),Promise.resolve(new Response(u,d))}return le(n,i)}function st(n,i,p){if(te.size>0){const c=ve(n,p),u=te.get(c);if(u){if(performance.now(){const u=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(c);if(u)return i.push({name:u[1],matcher:u[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const d=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(c);if(d)return i.push({name:d[1],matcher:d[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!c)return;const L=c.split(/\[(.+?)\](?!\])/);return"/"+L.map((_,g)=>{if(g%2){if(_.startsWith("x+"))return we(String.fromCharCode(parseInt(_.slice(2),16)));if(_.startsWith("u+"))return we(String.fromCharCode(..._.slice(2).split("-").map(A=>parseInt(A,16))));const m=ct.exec(_);if(!m)throw new Error(`Invalid param: ${_}. Params and matcher names can only have underscores and alphanumeric characters.`);const[,$,P,E,O]=m;return i.push({name:E,matcher:O,optional:!!$,rest:!!P,chained:P?g===1&&L[0]==="":!1}),P?"(.*?)":$?"([^/]*)?":"([^/]+?)"}return we(_)}).join("")}).join("")}/?$`),params:i}}function ft(n){return!/^\([^)]+\)$/.test(n)}function ut(n){return n.slice(1).split("/").filter(ft)}function dt(n,i,p){const c={},u=n.slice(1);let d=0;for(let L=0;Lg).join("/"),d=0;continue}if(_===void 0){l.rest&&(c[l.name]="");continue}if(!l.matcher||p[l.matcher](_)){c[l.name]=_;const g=i[L+1],m=u[L+1];g&&!g.rest&&g.optional&&m&&(d=0);continue}if(l.optional&&l.chained){d++;continue}return}if(!d)return c}function we(n){return n.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function pt({nodes:n,server_loads:i,dictionary:p,matchers:c}){const u=new Set(i);return Object.entries(p).map(([l,[_,g,m]])=>{const{pattern:$,params:P}=lt(l),E={id:l,exec:O=>{const A=$.exec(O);if(A)return dt(A,P,c)},errors:[1,...m||[]].map(O=>n[O]),layouts:[0,...g||[]].map(L),leaf:d(_)};return E.errors.length=E.layouts.length=Math.max(E.errors.length,E.layouts.length),E});function d(l){const _=l<0;return _&&(l=~l),[_,n[l]]}function L(l){return l===void 0?l:[u.has(l),n[l]]}}async function ht(n){var i;for(const p in n)if(typeof((i=n[p])==null?void 0:i.then)=="function")return Object.fromEntries(await Promise.all(Object.entries(n).map(async([c,u])=>[c,await u])));return n}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");const mt=-1,gt=-2,yt=-3,wt=-4,_t=-5,bt=-6;function vt(n,i){if(typeof n=="number")return u(n,!0);if(!Array.isArray(n)||n.length===0)throw new Error("Invalid input");const p=n,c=Array(p.length);function u(d,L=!1){if(d===mt)return;if(d===yt)return NaN;if(d===wt)return 1/0;if(d===_t)return-1/0;if(d===bt)return-0;if(L)throw new Error("Invalid input");if(d in c)return c[d];const l=p[d];if(!l||typeof l!="object")c[d]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const _=l[0],g=i==null?void 0:i[_];if(g)return c[d]=g(u(l[1]));switch(_){case"Date":c[d]=new Date(l[1]);break;case"Set":const m=new Set;c[d]=m;for(let E=1;Ei!=null)}const B=Ge(ze)??{},Z=Ge(Be)??{};function _e(n){B[n]=Q()}function kt(n,i){var $e;const p=pt(n),c=n.nodes[0],u=n.nodes[1];c(),u();const d=document.documentElement,L=[],l=[];let _=null;const g={before_navigate:[],after_navigate:[]};let m={branch:[],error:null,url:null},$=!1,P=!1,E=!0,O=!1,A=!1,J=!1,H=!1,F,N=($e=history.state)==null?void 0:$e[q];N||(N=Date.now(),history.replaceState({...history.state,[q]:N},"",location.href));const fe=B[N];fe&&(history.scrollRestoration="manual",scrollTo(fe.x,fe.y));let V,Ee,ne;async function ke(){ne=ne||Promise.resolve(),await ne,ne=null;const t=new URL(location.href),e=W(t,!0);_=null,await Ae(e,t,[])}function Se(t){l.some(e=>e==null?void 0:e.snapshot)&&(Z[t]=l.map(e=>{var r;return(r=e==null?void 0:e.snapshot)==null?void 0:r.capture()}))}function Re(t){var e;(e=Z[t])==null||e.forEach((r,a)=>{var s,o;(o=(s=l[a])==null?void 0:s.snapshot)==null||o.restore(r)})}function Le(){_e(N),Ve(ze,B),Se(N),Ve(Be,Z)}async function ue(t,{noScroll:e=!1,replaceState:r=!1,keepFocus:a=!1,state:s={},invalidateAll:o=!1},h,f){return typeof t=="string"&&(t=new URL(t,qe(document))),ie({url:t,scroll:e?Q():null,keepfocus:a,redirect_chain:h,details:{state:s,replaceState:r},nav_token:f,accepted:()=>{o&&(H=!0)},blocked:()=>{},type:"goto"})}async function Ie(t){return _={id:t.id,promise:Ue(t).then(e=>(e.type==="loaded"&&e.state.error&&(_=null),e))},_.promise}async function ae(...t){const r=p.filter(a=>t.some(s=>a.exec(s))).map(a=>Promise.all([...a.layouts,a.leaf].map(s=>s==null?void 0:s[1]())));await Promise.all(r)}async function Ae(t,e,r,a,s,o={},h){var y,w,R;Ee=o;let f=t&&await Ue(t);if(!f){if(ye(e,z))return await G(e);f=await xe(e,{id:null},await X(new Error(`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404)}if(e=(t==null?void 0:t.url)||e,Ee!==o)return!1;if(f.type==="redirect")if(r.length>10||r.includes(e.pathname))f=await re({status:500,error:await X(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}});else return ue(new URL(f.location,e).href,{},[...r,e.pathname],o),!1;else((y=f.props.page)==null?void 0:y.status)>=400&&await M.updated.check()&&await G(e);if(L.length=0,H=!1,O=!0,a&&(_e(a),Se(a)),(w=f.props.page)!=null&&w.url&&f.props.page.url.pathname!==e.pathname&&(e.pathname=(R=f.props.page)==null?void 0:R.url.pathname),s&&s.details){const{details:v}=s,I=v.replaceState?0:1;if(v.state[q]=N+=I,history[v.replaceState?"replaceState":"pushState"](v.state,"",e),!v.replaceState){let S=N+1;for(;Z[S]||B[S];)delete Z[S],delete B[S],S+=1}}if(_=null,P?(m=f.state,f.props.page&&(f.props.page.url=e),F.$set(f.props)):Pe(f),s){const{scroll:v,keepfocus:I}=s,{activeElement:S}=document;if(await se(),E){const U=e.hash&&document.getElementById(decodeURIComponent(e.hash.slice(1)));v?scrollTo(v.x,v.y):U?U.scrollIntoView():scrollTo(0,0)}const b=document.activeElement!==S&&document.activeElement!==document.body;!I&&!b&&await be()}else await se();E=!0,f.props.page&&(V=f.props.page),h&&h(),O=!1}function Pe(t){var a;m=t.state;const e=document.querySelector("style[data-sveltekit]");e&&e.remove(),V=t.props.page,F=new n.root({target:i,props:{...t.props,stores:M,components:l},hydrate:!0}),Re(N);const r={from:null,to:{params:m.params,route:{id:((a=m.route)==null?void 0:a.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter"};g.after_navigate.forEach(s=>s(r)),P=!0}async function Y({url:t,params:e,branch:r,status:a,error:s,route:o,form:h}){let f="never";for(const S of r)(S==null?void 0:S.slash)!==void 0&&(f=S.slash);t.pathname=Xe(t.pathname,f),t.search=t.search;const y={type:"loaded",state:{url:t,params:e,branch:r,error:s,route:o},props:{constructors:Et(r).map(S=>S.node.component)}};h!==void 0&&(y.props.form=h);let w={},R=!V,v=0;for(let S=0;S(f.params.add(U),b[U])}),data:(o==null?void 0:o.data)??null,url:tt(r,()=>{f.url=!0}),async fetch(b,U){let D;b instanceof Request?(D=b.url,U={body:b.method==="GET"||b.method==="HEAD"?void 0:await b.blob(),cache:b.cache,credentials:b.credentials,headers:b.headers,integrity:b.integrity,keepalive:b.keepalive,method:b.method,mode:b.mode,redirect:b.redirect,referrer:b.referrer,referrerPolicy:b.referrerPolicy,signal:b.signal,...U}):D=b;const C=new URL(D,r);return I(C.href),C.origin===r.origin&&(D=C.href.slice(r.origin.length)),P?st(D,C.href,U):it(D,U)},setHeaders:()=>{},depends:I,parent(){return f.parent=!0,e()}};h=await y.universal.load.call(null,S)??null,h=h?await ht(h):null}return{node:y,loader:t,server:o,universal:(R=y.universal)!=null&&R.load?{type:"data",data:h,uses:f}:null,data:h??(o==null?void 0:o.data)??null,slash:((v=y.universal)==null?void 0:v.trailingSlash)??(o==null?void 0:o.slash)}}function Oe(t,e,r,a,s){if(H)return!0;if(!a)return!1;if(a.parent&&t||a.route&&e||a.url&&r)return!0;for(const o of a.params)if(s[o]!==m.params[o])return!0;for(const o of a.dependencies)if(L.some(h=>h(new URL(o))))return!0;return!1}function pe(t,e){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?e??null:null}async function Ue({id:t,invalidating:e,url:r,params:a,route:s}){if((_==null?void 0:_.id)===t)return _.promise;const{errors:o,layouts:h,leaf:f}=s,y=[...h,f];o.forEach(k=>k==null?void 0:k().catch(()=>{})),y.forEach(k=>k==null?void 0:k[1]().catch(()=>{}));let w=null;const R=m.url?t!==m.url.pathname+m.url.search:!1,v=m.route?s.id!==m.route.id:!1;let I=!1;const S=y.map((k,T)=>{var K;const j=m.branch[T],x=!!(k!=null&&k[0])&&((j==null?void 0:j.loader)!==k[1]||Oe(I,v,R,(K=j.server)==null?void 0:K.uses,a));return x&&(I=!0),x});if(S.some(Boolean)){try{w=await Ke(r,S)}catch(k){return re({status:k instanceof ee?k.status:500,error:await X(k,{url:r,params:a,route:{id:s.id}}),url:r,route:s})}if(w.type==="redirect")return w}const b=w==null?void 0:w.nodes;let U=!1;const D=y.map(async(k,T)=>{var he;if(!k)return;const j=m.branch[T],x=b==null?void 0:b[T];if((!x||x.type==="skip")&&k[1]===(j==null?void 0:j.loader)&&!Oe(U,v,R,(he=j.universal)==null?void 0:he.uses,a))return j;if(U=!0,(x==null?void 0:x.type)==="error")throw x;return de({loader:k[1],url:r,params:a,route:s,parent:async()=>{var De;const Te={};for(let me=0;me{});const C=[];for(let k=0;kPromise.resolve({}),server_data_node:pe(o)}),y={node:await u(),loader:u,universal:null,server:null,data:null};return await Y({url:r,params:s,branch:[f,y],status:t,error:e,route:null})}function W(t,e){if(ye(t,z))return;const r=oe(t);for(const a of p){const s=a.exec(r);if(s)return{id:t.pathname+t.search,invalidating:e,route:a,params:Qe(s),url:t}}}function oe(t){return Ze(t.pathname.slice(z.length)||"/")}function Ne({url:t,type:e,intent:r,delta:a}){var f,y;let s=!1;const o={from:{params:m.params,route:{id:((f=m.route)==null?void 0:f.id)??null},url:m.url},to:{params:(r==null?void 0:r.params)??null,route:{id:((y=r==null?void 0:r.route)==null?void 0:y.id)??null},url:t},willUnload:!r,type:e};a!==void 0&&(o.delta=a);const h={...o,cancel:()=>{s=!0}};return A||g.before_navigate.forEach(w=>w(h)),s?null:o}async function ie({url:t,scroll:e,keepfocus:r,redirect_chain:a,details:s,type:o,delta:h,nav_token:f,accepted:y,blocked:w}){const R=W(t,!1),v=Ne({url:t,type:o,delta:h,intent:R});if(!v){w();return}const I=N;y(),A=!0,P&&M.navigating.set(v),await Ae(R,t,a,I,{scroll:e,keepfocus:r,details:s},f,()=>{A=!1,g.after_navigate.forEach(S=>S(v)),M.navigating.set(null)})}async function xe(t,e,r,a){return t.origin===location.origin&&t.pathname===location.pathname&&!$?await re({status:a,error:r,url:t,route:e}):await G(t)}function G(t){return location.href=t.href,new Promise(()=>{})}function Ye(){let t;d.addEventListener("mousemove",o=>{const h=o.target;clearTimeout(t),t=setTimeout(()=>{a(h,2)},20)});function e(o){a(o.composedPath()[0],1)}d.addEventListener("mousedown",e),d.addEventListener("touchstart",e,{passive:!0});const r=new IntersectionObserver(o=>{for(const h of o)h.isIntersecting&&(ae(oe(new URL(h.target.href))),r.unobserve(h.target))},{threshold:0});function a(o,h){const f=Fe(o,d);if(!f)return;const{url:y,external:w}=ge(f,z);if(w)return;const R=ce(f);if(!R.reload)if(h<=R.preload_data){const v=W(y,!1);v&&Ie(v)}else h<=R.preload_code&&ae(oe(y))}function s(){r.disconnect();for(const o of d.querySelectorAll("a")){const{url:h,external:f}=ge(o,z);if(f)continue;const y=ce(o);y.reload||(y.preload_code===Me.viewport&&r.observe(o),y.preload_code===Me.eager&&ae(oe(h)))}}g.after_navigate.push(s),s()}function X(t,e){return t instanceof ee?t.body:n.hooks.handleError({error:t,event:e})??{message:e.route.id!=null?"Internal Error":"Not Found"}}return{after_navigate:t=>{Ce(()=>(g.after_navigate.push(t),()=>{const e=g.after_navigate.indexOf(t);g.after_navigate.splice(e,1)}))},before_navigate:t=>{Ce(()=>(g.before_navigate.push(t),()=>{const e=g.before_navigate.indexOf(t);g.before_navigate.splice(e,1)}))},disable_scroll_handling:()=>{(O||!P)&&(E=!1)},goto:(t,e={})=>ue(t,e,[]),invalidate:t=>{if(typeof t=="function")L.push(t);else{const{href:e}=new URL(t,location.href);L.push(r=>r.href===e)}return ke()},invalidateAll:()=>(H=!0,ke()),preload_data:async t=>{const e=new URL(t,qe(document)),r=W(e,!1);if(!r)throw new Error(`Attempted to preload a URL that does not belong to this app: ${e}`);await Ie(r)},preload_code:ae,apply_action:async t=>{if(t.type==="error"){const e=new URL(location.href),{branch:r,route:a}=m;if(!a)return;const s=await je(m.branch.length,r,a.errors);if(s){const o=await Y({url:e,params:m.params,branch:r.slice(0,s.idx).concat(s.node),status:t.status??500,error:t.error,route:a});m=o.state,F.$set(o.props),se().then(be)}}else t.type==="redirect"?ue(t.location,{invalidateAll:!0},[]):(F.$set({form:null,page:{...V,form:t.data,status:t.status}}),await se(),F.$set({form:t.data}),t.type==="success"&&be())},_start_router:()=>{var t;history.scrollRestoration="manual",addEventListener("beforeunload",e=>{var a;let r=!1;if(Le(),!A){const s={from:{params:m.params,route:{id:((a=m.route)==null?void 0:a.id)??null},url:m.url},to:null,willUnload:!0,type:"leave",cancel:()=>r=!0};g.before_navigate.forEach(o=>o(s))}r?(e.preventDefault(),e.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Le()}),(t=navigator.connection)!=null&&t.saveData||Ye(),d.addEventListener("click",e=>{if(e.button||e.which!==1||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.defaultPrevented)return;const r=Fe(e.composedPath()[0],d);if(!r)return;const{url:a,external:s,target:o}=ge(r,z);if(!a)return;if(o==="_parent"||o==="_top"){if(window.parent!==window)return}else if(o&&o!=="_self")return;const h=ce(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:"))return;if(s||h.reload){Ne({url:a,type:"link"})?A=!0:e.preventDefault();return}const[y,w]=a.href.split("#");if(w!==void 0&&y===location.href.split("#")[0]){J=!0,_e(N),m.url=a,M.page.set({...V,url:a}),M.page.notify();return}ie({url:a,scroll:h.noscroll?Q():null,keepfocus:h.keep_focus??!1,redirect_chain:[],details:{state:{},replaceState:h.replace_state??a.href===location.href},accepted:()=>e.preventDefault(),blocked:()=>e.preventDefault(),type:"link"})}),d.addEventListener("submit",e=>{if(e.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(e.target),a=e.submitter;if(((a==null?void 0:a.formMethod)||r.method)!=="get")return;const o=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(ye(o,z))return;const h=e.target,{keep_focus:f,noscroll:y,reload:w,replace_state:R}=ce(h);if(w)return;e.preventDefault(),e.stopPropagation();const v=new FormData(h),I=a==null?void 0:a.getAttribute("name");I&&v.append(I,(a==null?void 0:a.getAttribute("value"))??""),o.search=new URLSearchParams(v).toString(),ie({url:o,scroll:y?Q():null,keepfocus:f??!1,redirect_chain:[],details:{state:{},replaceState:R??o.href===location.href},nav_token:{},accepted:()=>{},blocked:()=>{},type:"form"})}),addEventListener("popstate",async e=>{var r;if((r=e.state)!=null&&r[q]){if(e.state[q]===N)return;const a=B[e.state[q]];if(m.url.href.split("#")[0]===location.href.split("#")[0]){B[N]=Q(),N=e.state[q],scrollTo(a.x,a.y);return}const s=e.state[q]-N;let o=!1;await ie({url:new URL(location.href),scroll:a,keepfocus:!1,redirect_chain:[],details:null,accepted:()=>{N=e.state[q]},blocked:()=>{history.go(-s),o=!0},type:"popstate",delta:s}),o||Re(N)}}),addEventListener("hashchange",()=>{J&&(J=!1,history.replaceState({...history.state,[q]:++N},"",location.href))});for(const e of document.querySelectorAll("link"))e.rel==="icon"&&(e.href=e.href);addEventListener("pageshow",e=>{e.persisted&&M.navigating.set(null)})},_hydrate:async({status:t=200,error:e,node_ids:r,params:a,route:s,data:o,form:h})=>{$=!0;const f=new URL(location.href);({params:a={},route:s={id:null}}=W(f,!1)||{});let y;try{const w=r.map(async(R,v)=>{const I=o[v];return I!=null&&I.uses&&(I.uses=Je(I.uses)),de({loader:n.nodes[R],url:f,params:a,route:s,parent:async()=>{const S={};for(let b=0;bR===s.id)??null})}catch(w){if(w instanceof He){await G(new URL(w.location,location.href));return}y=await re({status:w instanceof ee?w.status:500,error:await X(w,{url:f,params:a,route:s}),url:f,route:s})}Pe(y)}}}async function Ke(n,i){const p=new URL(n);p.pathname=rt(n.pathname),p.searchParams.append("x-sveltekit-invalidated",i.map(u=>u?"1":"").join("_"));const c=await le(p.href);if(!c.ok)throw new ee(c.status,await c.json());return new Promise(async u=>{var m;const d=new Map,L=c.body.getReader(),l=new TextDecoder;function _($){return vt($,{Promise:P=>new Promise((E,O)=>{d.set(P,{fulfil:E,reject:O})})})}let g="";for(;;){const{done:$,value:P}=await L.read();if($&&!g)break;for(g+=!P&&g?` +import{o as Ce,t as se}from"../chunks/index.09834243.js";import{S as ze,a as Be,I as q,g as qe,f as Fe,b as ge,c as ce,s as M,i as ye,d as Q,P as Me,e as We}from"../chunks/singletons.741208bb.js";import{b as z}from"../chunks/paths.6ba25c42.js";import{R as He,H as ee}from"../chunks/control.e7f5239e.js";function Xe(n,i){return n==="/"||i==="ignore"?n:i==="never"?n.endsWith("/")?n.slice(0,-1):n:i==="always"&&!n.endsWith("/")?n+"/":n}function Ze(n){return n.split("%25").map(decodeURI).join("%25")}function Qe(n){for(const i in n)n[i]=decodeURIComponent(n[i]);return n}const et=["href","pathname","search","searchParams","toString","toJSON"];function tt(n,i){const p=new URL(n);for(const c of et){let u=p[c];Object.defineProperty(p,c,{get(){return i(),u},enumerable:!0,configurable:!0})}return nt(p),p}function nt(n){Object.defineProperty(n,"hash",{get(){throw new Error("Cannot access event.url.hash. Consider using `$page.url.hash` inside a component instead")}})}const at="/__data.json";function rt(n){return n.replace(/\/$/,"")+at}function Ge(n){try{return JSON.parse(sessionStorage[n])}catch{}}function Ve(n,i){const p=JSON.stringify(i);try{sessionStorage[n]=p}catch{}}function ot(...n){let i=5381;for(const p of n)if(typeof p=="string"){let c=p.length;for(;c;)i=i*33^p.charCodeAt(--c)}else if(ArrayBuffer.isView(p)){const c=new Uint8Array(p.buffer,p.byteOffset,p.byteLength);let u=c.length;for(;u;)i=i*33^c[--u]}else throw new TypeError("value must be a string or TypedArray");return(i>>>0).toString(36)}const le=window.fetch;window.fetch=(n,i)=>((n instanceof Request?n.method:(i==null?void 0:i.method)||"GET")!=="GET"&&te.delete(ve(n)),le(n,i));const te=new Map;function it(n,i){const p=ve(n,i),c=document.querySelector(p);if(c!=null&&c.textContent){const{body:u,...d}=JSON.parse(c.textContent),L=c.getAttribute("data-ttl");return L&&te.set(p,{body:u,init:d,ttl:1e3*Number(L)}),Promise.resolve(new Response(u,d))}return le(n,i)}function st(n,i,p){if(te.size>0){const c=ve(n,p),u=te.get(c);if(u){if(performance.now(){const u=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(c);if(u)return i.push({name:u[1],matcher:u[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const d=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(c);if(d)return i.push({name:d[1],matcher:d[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!c)return;const L=c.split(/\[(.+?)\](?!\])/);return"/"+L.map((_,g)=>{if(g%2){if(_.startsWith("x+"))return we(String.fromCharCode(parseInt(_.slice(2),16)));if(_.startsWith("u+"))return we(String.fromCharCode(..._.slice(2).split("-").map(A=>parseInt(A,16))));const m=ct.exec(_);if(!m)throw new Error(`Invalid param: ${_}. Params and matcher names can only have underscores and alphanumeric characters.`);const[,$,P,E,O]=m;return i.push({name:E,matcher:O,optional:!!$,rest:!!P,chained:P?g===1&&L[0]==="":!1}),P?"(.*?)":$?"([^/]*)?":"([^/]+?)"}return we(_)}).join("")}).join("")}/?$`),params:i}}function ft(n){return!/^\([^)]+\)$/.test(n)}function ut(n){return n.slice(1).split("/").filter(ft)}function dt(n,i,p){const c={},u=n.slice(1);let d=0;for(let L=0;Lg).join("/"),d=0;continue}if(_===void 0){l.rest&&(c[l.name]="");continue}if(!l.matcher||p[l.matcher](_)){c[l.name]=_;const g=i[L+1],m=u[L+1];g&&!g.rest&&g.optional&&m&&(d=0);continue}if(l.optional&&l.chained){d++;continue}return}if(!d)return c}function we(n){return n.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function pt({nodes:n,server_loads:i,dictionary:p,matchers:c}){const u=new Set(i);return Object.entries(p).map(([l,[_,g,m]])=>{const{pattern:$,params:P}=lt(l),E={id:l,exec:O=>{const A=$.exec(O);if(A)return dt(A,P,c)},errors:[1,...m||[]].map(O=>n[O]),layouts:[0,...g||[]].map(L),leaf:d(_)};return E.errors.length=E.layouts.length=Math.max(E.errors.length,E.layouts.length),E});function d(l){const _=l<0;return _&&(l=~l),[_,n[l]]}function L(l){return l===void 0?l:[u.has(l),n[l]]}}async function ht(n){var i;for(const p in n)if(typeof((i=n[p])==null?void 0:i.then)=="function")return Object.fromEntries(await Promise.all(Object.entries(n).map(async([c,u])=>[c,await u])));return n}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");const mt=-1,gt=-2,yt=-3,wt=-4,_t=-5,bt=-6;function vt(n,i){if(typeof n=="number")return u(n,!0);if(!Array.isArray(n)||n.length===0)throw new Error("Invalid input");const p=n,c=Array(p.length);function u(d,L=!1){if(d===mt)return;if(d===yt)return NaN;if(d===wt)return 1/0;if(d===_t)return-1/0;if(d===bt)return-0;if(L)throw new Error("Invalid input");if(d in c)return c[d];const l=p[d];if(!l||typeof l!="object")c[d]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const _=l[0],g=i==null?void 0:i[_];if(g)return c[d]=g(u(l[1]));switch(_){case"Date":c[d]=new Date(l[1]);break;case"Set":const m=new Set;c[d]=m;for(let E=1;Ei!=null)}const B=Ge(ze)??{},Z=Ge(Be)??{};function _e(n){B[n]=Q()}function kt(n,i){var $e;const p=pt(n),c=n.nodes[0],u=n.nodes[1];c(),u();const d=document.documentElement,L=[],l=[];let _=null;const g={before_navigate:[],after_navigate:[]};let m={branch:[],error:null,url:null},$=!1,P=!1,E=!0,O=!1,A=!1,J=!1,H=!1,F,N=($e=history.state)==null?void 0:$e[q];N||(N=Date.now(),history.replaceState({...history.state,[q]:N},"",location.href));const fe=B[N];fe&&(history.scrollRestoration="manual",scrollTo(fe.x,fe.y));let V,Ee,ne;async function ke(){ne=ne||Promise.resolve(),await ne,ne=null;const t=new URL(location.href),e=W(t,!0);_=null,await Ae(e,t,[])}function Se(t){l.some(e=>e==null?void 0:e.snapshot)&&(Z[t]=l.map(e=>{var r;return(r=e==null?void 0:e.snapshot)==null?void 0:r.capture()}))}function Re(t){var e;(e=Z[t])==null||e.forEach((r,a)=>{var s,o;(o=(s=l[a])==null?void 0:s.snapshot)==null||o.restore(r)})}function Le(){_e(N),Ve(ze,B),Se(N),Ve(Be,Z)}async function ue(t,{noScroll:e=!1,replaceState:r=!1,keepFocus:a=!1,state:s={},invalidateAll:o=!1},h,f){return typeof t=="string"&&(t=new URL(t,qe(document))),ie({url:t,scroll:e?Q():null,keepfocus:a,redirect_chain:h,details:{state:s,replaceState:r},nav_token:f,accepted:()=>{o&&(H=!0)},blocked:()=>{},type:"goto"})}async function Ie(t){return _={id:t.id,promise:Ue(t).then(e=>(e.type==="loaded"&&e.state.error&&(_=null),e))},_.promise}async function ae(...t){const r=p.filter(a=>t.some(s=>a.exec(s))).map(a=>Promise.all([...a.layouts,a.leaf].map(s=>s==null?void 0:s[1]())));await Promise.all(r)}async function Ae(t,e,r,a,s,o={},h){var y,w,R;Ee=o;let f=t&&await Ue(t);if(!f){if(ye(e,z))return await G(e);f=await xe(e,{id:null},await X(new Error(`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404)}if(e=(t==null?void 0:t.url)||e,Ee!==o)return!1;if(f.type==="redirect")if(r.length>10||r.includes(e.pathname))f=await re({status:500,error:await X(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}});else return ue(new URL(f.location,e).href,{},[...r,e.pathname],o),!1;else((y=f.props.page)==null?void 0:y.status)>=400&&await M.updated.check()&&await G(e);if(L.length=0,H=!1,O=!0,a&&(_e(a),Se(a)),(w=f.props.page)!=null&&w.url&&f.props.page.url.pathname!==e.pathname&&(e.pathname=(R=f.props.page)==null?void 0:R.url.pathname),s&&s.details){const{details:v}=s,I=v.replaceState?0:1;if(v.state[q]=N+=I,history[v.replaceState?"replaceState":"pushState"](v.state,"",e),!v.replaceState){let S=N+1;for(;Z[S]||B[S];)delete Z[S],delete B[S],S+=1}}if(_=null,P?(m=f.state,f.props.page&&(f.props.page.url=e),F.$set(f.props)):Pe(f),s){const{scroll:v,keepfocus:I}=s,{activeElement:S}=document;if(await se(),E){const U=e.hash&&document.getElementById(decodeURIComponent(e.hash.slice(1)));v?scrollTo(v.x,v.y):U?U.scrollIntoView():scrollTo(0,0)}const b=document.activeElement!==S&&document.activeElement!==document.body;!I&&!b&&await be()}else await se();E=!0,f.props.page&&(V=f.props.page),h&&h(),O=!1}function Pe(t){var a;m=t.state;const e=document.querySelector("style[data-sveltekit]");e&&e.remove(),V=t.props.page,F=new n.root({target:i,props:{...t.props,stores:M,components:l},hydrate:!0}),Re(N);const r={from:null,to:{params:m.params,route:{id:((a=m.route)==null?void 0:a.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter"};g.after_navigate.forEach(s=>s(r)),P=!0}async function Y({url:t,params:e,branch:r,status:a,error:s,route:o,form:h}){let f="never";for(const S of r)(S==null?void 0:S.slash)!==void 0&&(f=S.slash);t.pathname=Xe(t.pathname,f),t.search=t.search;const y={type:"loaded",state:{url:t,params:e,branch:r,error:s,route:o},props:{constructors:Et(r).map(S=>S.node.component)}};h!==void 0&&(y.props.form=h);let w={},R=!V,v=0;for(let S=0;S(f.params.add(U),b[U])}),data:(o==null?void 0:o.data)??null,url:tt(r,()=>{f.url=!0}),async fetch(b,U){let D;b instanceof Request?(D=b.url,U={body:b.method==="GET"||b.method==="HEAD"?void 0:await b.blob(),cache:b.cache,credentials:b.credentials,headers:b.headers,integrity:b.integrity,keepalive:b.keepalive,method:b.method,mode:b.mode,redirect:b.redirect,referrer:b.referrer,referrerPolicy:b.referrerPolicy,signal:b.signal,...U}):D=b;const C=new URL(D,r);return I(C.href),C.origin===r.origin&&(D=C.href.slice(r.origin.length)),P?st(D,C.href,U):it(D,U)},setHeaders:()=>{},depends:I,parent(){return f.parent=!0,e()}};h=await y.universal.load.call(null,S)??null,h=h?await ht(h):null}return{node:y,loader:t,server:o,universal:(R=y.universal)!=null&&R.load?{type:"data",data:h,uses:f}:null,data:h??(o==null?void 0:o.data)??null,slash:((v=y.universal)==null?void 0:v.trailingSlash)??(o==null?void 0:o.slash)}}function Oe(t,e,r,a,s){if(H)return!0;if(!a)return!1;if(a.parent&&t||a.route&&e||a.url&&r)return!0;for(const o of a.params)if(s[o]!==m.params[o])return!0;for(const o of a.dependencies)if(L.some(h=>h(new URL(o))))return!0;return!1}function pe(t,e){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?e??null:null}async function Ue({id:t,invalidating:e,url:r,params:a,route:s}){if((_==null?void 0:_.id)===t)return _.promise;const{errors:o,layouts:h,leaf:f}=s,y=[...h,f];o.forEach(k=>k==null?void 0:k().catch(()=>{})),y.forEach(k=>k==null?void 0:k[1]().catch(()=>{}));let w=null;const R=m.url?t!==m.url.pathname+m.url.search:!1,v=m.route?s.id!==m.route.id:!1;let I=!1;const S=y.map((k,T)=>{var K;const j=m.branch[T],x=!!(k!=null&&k[0])&&((j==null?void 0:j.loader)!==k[1]||Oe(I,v,R,(K=j.server)==null?void 0:K.uses,a));return x&&(I=!0),x});if(S.some(Boolean)){try{w=await Ke(r,S)}catch(k){return re({status:k instanceof ee?k.status:500,error:await X(k,{url:r,params:a,route:{id:s.id}}),url:r,route:s})}if(w.type==="redirect")return w}const b=w==null?void 0:w.nodes;let U=!1;const D=y.map(async(k,T)=>{var he;if(!k)return;const j=m.branch[T],x=b==null?void 0:b[T];if((!x||x.type==="skip")&&k[1]===(j==null?void 0:j.loader)&&!Oe(U,v,R,(he=j.universal)==null?void 0:he.uses,a))return j;if(U=!0,(x==null?void 0:x.type)==="error")throw x;return de({loader:k[1],url:r,params:a,route:s,parent:async()=>{var De;const Te={};for(let me=0;me{});const C=[];for(let k=0;kPromise.resolve({}),server_data_node:pe(o)}),y={node:await u(),loader:u,universal:null,server:null,data:null};return await Y({url:r,params:s,branch:[f,y],status:t,error:e,route:null})}function W(t,e){if(ye(t,z))return;const r=oe(t);for(const a of p){const s=a.exec(r);if(s)return{id:t.pathname+t.search,invalidating:e,route:a,params:Qe(s),url:t}}}function oe(t){return Ze(t.pathname.slice(z.length)||"/")}function Ne({url:t,type:e,intent:r,delta:a}){var f,y;let s=!1;const o={from:{params:m.params,route:{id:((f=m.route)==null?void 0:f.id)??null},url:m.url},to:{params:(r==null?void 0:r.params)??null,route:{id:((y=r==null?void 0:r.route)==null?void 0:y.id)??null},url:t},willUnload:!r,type:e};a!==void 0&&(o.delta=a);const h={...o,cancel:()=>{s=!0}};return A||g.before_navigate.forEach(w=>w(h)),s?null:o}async function ie({url:t,scroll:e,keepfocus:r,redirect_chain:a,details:s,type:o,delta:h,nav_token:f,accepted:y,blocked:w}){const R=W(t,!1),v=Ne({url:t,type:o,delta:h,intent:R});if(!v){w();return}const I=N;y(),A=!0,P&&M.navigating.set(v),await Ae(R,t,a,I,{scroll:e,keepfocus:r,details:s},f,()=>{A=!1,g.after_navigate.forEach(S=>S(v)),M.navigating.set(null)})}async function xe(t,e,r,a){return t.origin===location.origin&&t.pathname===location.pathname&&!$?await re({status:a,error:r,url:t,route:e}):await G(t)}function G(t){return location.href=t.href,new Promise(()=>{})}function Ye(){let t;d.addEventListener("mousemove",o=>{const h=o.target;clearTimeout(t),t=setTimeout(()=>{a(h,2)},20)});function e(o){a(o.composedPath()[0],1)}d.addEventListener("mousedown",e),d.addEventListener("touchstart",e,{passive:!0});const r=new IntersectionObserver(o=>{for(const h of o)h.isIntersecting&&(ae(oe(new URL(h.target.href))),r.unobserve(h.target))},{threshold:0});function a(o,h){const f=Fe(o,d);if(!f)return;const{url:y,external:w}=ge(f,z);if(w)return;const R=ce(f);if(!R.reload)if(h<=R.preload_data){const v=W(y,!1);v&&Ie(v)}else h<=R.preload_code&&ae(oe(y))}function s(){r.disconnect();for(const o of d.querySelectorAll("a")){const{url:h,external:f}=ge(o,z);if(f)continue;const y=ce(o);y.reload||(y.preload_code===Me.viewport&&r.observe(o),y.preload_code===Me.eager&&ae(oe(h)))}}g.after_navigate.push(s),s()}function X(t,e){return t instanceof ee?t.body:n.hooks.handleError({error:t,event:e})??{message:e.route.id!=null?"Internal Error":"Not Found"}}return{after_navigate:t=>{Ce(()=>(g.after_navigate.push(t),()=>{const e=g.after_navigate.indexOf(t);g.after_navigate.splice(e,1)}))},before_navigate:t=>{Ce(()=>(g.before_navigate.push(t),()=>{const e=g.before_navigate.indexOf(t);g.before_navigate.splice(e,1)}))},disable_scroll_handling:()=>{(O||!P)&&(E=!1)},goto:(t,e={})=>ue(t,e,[]),invalidate:t=>{if(typeof t=="function")L.push(t);else{const{href:e}=new URL(t,location.href);L.push(r=>r.href===e)}return ke()},invalidateAll:()=>(H=!0,ke()),preload_data:async t=>{const e=new URL(t,qe(document)),r=W(e,!1);if(!r)throw new Error(`Attempted to preload a URL that does not belong to this app: ${e}`);await Ie(r)},preload_code:ae,apply_action:async t=>{if(t.type==="error"){const e=new URL(location.href),{branch:r,route:a}=m;if(!a)return;const s=await je(m.branch.length,r,a.errors);if(s){const o=await Y({url:e,params:m.params,branch:r.slice(0,s.idx).concat(s.node),status:t.status??500,error:t.error,route:a});m=o.state,F.$set(o.props),se().then(be)}}else t.type==="redirect"?ue(t.location,{invalidateAll:!0},[]):(F.$set({form:null,page:{...V,form:t.data,status:t.status}}),await se(),F.$set({form:t.data}),t.type==="success"&&be())},_start_router:()=>{var t;history.scrollRestoration="manual",addEventListener("beforeunload",e=>{var a;let r=!1;if(Le(),!A){const s={from:{params:m.params,route:{id:((a=m.route)==null?void 0:a.id)??null},url:m.url},to:null,willUnload:!0,type:"leave",cancel:()=>r=!0};g.before_navigate.forEach(o=>o(s))}r?(e.preventDefault(),e.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Le()}),(t=navigator.connection)!=null&&t.saveData||Ye(),d.addEventListener("click",e=>{if(e.button||e.which!==1||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.defaultPrevented)return;const r=Fe(e.composedPath()[0],d);if(!r)return;const{url:a,external:s,target:o}=ge(r,z);if(!a)return;if(o==="_parent"||o==="_top"){if(window.parent!==window)return}else if(o&&o!=="_self")return;const h=ce(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:"))return;if(s||h.reload){Ne({url:a,type:"link"})?A=!0:e.preventDefault();return}const[y,w]=a.href.split("#");if(w!==void 0&&y===location.href.split("#")[0]){J=!0,_e(N),m.url=a,M.page.set({...V,url:a}),M.page.notify();return}ie({url:a,scroll:h.noscroll?Q():null,keepfocus:h.keep_focus??!1,redirect_chain:[],details:{state:{},replaceState:h.replace_state??a.href===location.href},accepted:()=>e.preventDefault(),blocked:()=>e.preventDefault(),type:"link"})}),d.addEventListener("submit",e=>{if(e.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(e.target),a=e.submitter;if(((a==null?void 0:a.formMethod)||r.method)!=="get")return;const o=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(ye(o,z))return;const h=e.target,{keep_focus:f,noscroll:y,reload:w,replace_state:R}=ce(h);if(w)return;e.preventDefault(),e.stopPropagation();const v=new FormData(h),I=a==null?void 0:a.getAttribute("name");I&&v.append(I,(a==null?void 0:a.getAttribute("value"))??""),o.search=new URLSearchParams(v).toString(),ie({url:o,scroll:y?Q():null,keepfocus:f??!1,redirect_chain:[],details:{state:{},replaceState:R??o.href===location.href},nav_token:{},accepted:()=>{},blocked:()=>{},type:"form"})}),addEventListener("popstate",async e=>{var r;if((r=e.state)!=null&&r[q]){if(e.state[q]===N)return;const a=B[e.state[q]];if(m.url.href.split("#")[0]===location.href.split("#")[0]){B[N]=Q(),N=e.state[q],scrollTo(a.x,a.y);return}const s=e.state[q]-N;let o=!1;await ie({url:new URL(location.href),scroll:a,keepfocus:!1,redirect_chain:[],details:null,accepted:()=>{N=e.state[q]},blocked:()=>{history.go(-s),o=!0},type:"popstate",delta:s}),o||Re(N)}}),addEventListener("hashchange",()=>{J&&(J=!1,history.replaceState({...history.state,[q]:++N},"",location.href))});for(const e of document.querySelectorAll("link"))e.rel==="icon"&&(e.href=e.href);addEventListener("pageshow",e=>{e.persisted&&M.navigating.set(null)})},_hydrate:async({status:t=200,error:e,node_ids:r,params:a,route:s,data:o,form:h})=>{$=!0;const f=new URL(location.href);({params:a={},route:s={id:null}}=W(f,!1)||{});let y;try{const w=r.map(async(R,v)=>{const I=o[v];return I!=null&&I.uses&&(I.uses=Je(I.uses)),de({loader:n.nodes[R],url:f,params:a,route:s,parent:async()=>{const S={};for(let b=0;bR===s.id)??null})}catch(w){if(w instanceof He){await G(new URL(w.location,location.href));return}y=await re({status:w instanceof ee?w.status:500,error:await X(w,{url:f,params:a,route:s}),url:f,route:s})}Pe(y)}}}async function Ke(n,i){const p=new URL(n);p.pathname=rt(n.pathname),p.searchParams.append("x-sveltekit-invalidated",i.map(u=>u?"1":"").join("_"));const c=await le(p.href);if(!c.ok)throw new ee(c.status,await c.json());return new Promise(async u=>{var m;const d=new Map,L=c.body.getReader(),l=new TextDecoder;function _($){return vt($,{Promise:P=>new Promise((E,O)=>{d.set(P,{fulfil:E,reject:O})})})}let g="";for(;;){const{done:$,value:P}=await L.read();if($&&!g)break;for(g+=!P&&g?` `:l.decode(P);;){const E=g.indexOf(` `);if(E===-1)break;const O=JSON.parse(g.slice(0,E));if(g=g.slice(E+1),O.type==="redirect")return u(O);if(O.type==="data")(m=O.nodes)==null||m.forEach(A=>{(A==null?void 0:A.type)==="data"&&(A.uses=Je(A.uses),A.data=_(A.data))}),u(O);else if(O.type==="chunk"){const{id:A,data:J,error:H}=O,F=d.get(A);d.delete(A),H?F.reject(_(H)):F.fulfil(_(J))}}}})}function Je(n){return{dependencies:new Set((n==null?void 0:n.dependencies)??[]),params:new Set((n==null?void 0:n.params)??[]),parent:!!(n!=null&&n.parent),route:!!(n!=null&&n.route),url:!!(n!=null&&n.url)}}function be(){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const i=document.body,p=i.getAttribute("tabindex");return i.tabIndex=-1,i.focus({preventScroll:!0}),p!==null?i.setAttribute("tabindex",p):i.removeAttribute("tabindex"),new Promise(c=>{setTimeout(()=>{var u;c((u=getSelection())==null?void 0:u.removeAllRanges())})})}}async function At(n,i,p){const c=kt(n,i);We({client:c}),p?await c._hydrate(p):c.goto(location.href,{replaceState:!0}),c._start_router()}export{At as start}; diff --git a/ui/assets/local/_app/version.json b/ui/assets/local/_app/version.json index 6b2d01fe67..0925a78424 100644 --- a/ui/assets/local/_app/version.json +++ b/ui/assets/local/_app/version.json @@ -1 +1 @@ -{"version":"1697730973056"} \ No newline at end of file +{"version":"1697734392056"} \ No newline at end of file diff --git a/ui/assets/local/index.html b/ui/assets/local/index.html index 96070928df..cd8dfbb8e0 100644 --- a/ui/assets/local/index.html +++ b/ui/assets/local/index.html @@ -4,29 +4,29 @@ - + - - + + - +