@workflow/web 5.0.0-beta.27 → 5.0.0-beta.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/build/client/assets/{entry.client-DOJDY_4b.js → entry.client-DQZ2hM2V.js} +24 -24
  2. package/build/client/assets/{highlighted-body-B3W2YXNL-B-EF8R0t.js → highlighted-body-B3W2YXNL-CQ-a-eYE.js} +1 -1
  3. package/build/client/assets/{home-DQkixJk4.js → home-DuZRFOMe.js} +1697 -233
  4. package/build/client/assets/{index-C7C6cDW5.js → index-HqNj_XIX.js} +10 -10
  5. package/build/client/assets/{manifest-ce6dd06d.js → manifest-bb838d97.js} +1 -1
  6. package/build/client/assets/{mermaid-3ZIDBTTL-aixonSAh.js → mermaid-3ZIDBTTL-QcES6x1o.js} +374 -71
  7. package/build/client/assets/root-BT69a3LD.css +1 -0
  8. package/build/client/assets/{root-CsCdj08f.js → root-BiHTsCtP.js} +1 -1
  9. package/build/client/assets/{run-detail-CCsVqid_.js → run-detail-DSpZ5dnN.js} +50 -99
  10. package/build/client/assets/server-build-BkKXPNcO.css +1 -0
  11. package/build/client/assets/{workflow-graph-viewer-BlPvo_5I.js → workflow-graph-viewer-CyKfZJOQ.js} +222 -197
  12. package/build/client/assets/{zstd-browser-decoder-RyHgsNO3.js → zstd-browser-decoder-BigjGoI1.js} +2 -2
  13. package/build/server/assets/{app-kYNGZFkW.js → app-Cl6-bhGd.js} +43 -43
  14. package/build/server/assets/{highlighted-body-B3W2YXNL-D1QWoqJB.js → highlighted-body-B3W2YXNL-Daljn6fi.js} +4 -4
  15. package/build/server/assets/{index-fWQcXKhC.js → index-B_N7SdQh.js} +5 -5
  16. package/build/server/assets/{index-BafExO0s.js → index-BfLBLRRi.js} +10 -10
  17. package/build/server/assets/{mermaid-3ZIDBTTL-BOh-zwwU.js → mermaid-3ZIDBTTL-xnUhfFrD.js} +4 -4
  18. package/build/server/assets/{server-build-B21fZEey.js → server-build-D5Nuwxaw.js} +39144 -37202
  19. package/build/server/assets/{token-DmIqmbeU.js → token-DDgfwjzz.js} +2 -2
  20. package/build/server/assets/{token-util-D4JYdrFc.js → token-util-CthtfGuG.js} +2 -2
  21. package/build/server/assets/{zstd-browser-decoder-DgO7NCG6.js → zstd-browser-decoder-zp5ZpR7T.js} +5 -5
  22. package/build/server/index.js +1 -1
  23. package/package.json +10 -8
  24. package/build/client/assets/root-BlaSucTH.css +0 -1
  25. package/build/client/assets/server-build-DPrKlhgf.css +0 -1
@@ -1,7 +1,7 @@
1
1
  var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
3
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
- import { c as createLucideIcon, H as ChevronDown, W as cn, e as cn$1, M as cva, aZ as composeRefs, I as useComposedRefs, a_ as useFloating, a$ as offset, b0 as shift, b1 as limitShift, b2 as flip, b3 as size, b4 as arrow, b5 as hide, b6 as autoUpdate, C as ChevronRight, T as Tooltip, a as TooltipTrigger, b as TooltipContent, b7 as cancelRun$1, b8 as reenqueueRun$1, b9 as wakeUpRun$1, ba as resumeHook$1, bb as recreateRun$1, x as createContextScope$1, n as useComposedRefs$1, y as createSlot, aa as formatDuration, B as Button, t as toast, s as useId$1, P as Primitive$1, o as composeEventHandlers$1, E as useControllableState$1, m as useCallbackRef$2, N as Presence$1 } from "./mermaid-3ZIDBTTL-aixonSAh.js";
4
+ import { c as createLucideIcon, H as ChevronDown, W as cn, e as cn$1, M as cva, b2 as composeRefs, I as useComposedRefs, b3 as useFloating, b4 as offset, b5 as shift, b6 as limitShift, b7 as flip, b8 as size, b9 as arrow, ba as hide, bb as autoUpdate, C as ChevronRight, bc as cancelRun$1, bd as reenqueueRun$1, be as wakeUpRun$1, bf as resumeHook$1, bg as fetchHookToken$1, bh as recreateRun$1, T as Tooltip, a as TooltipTrigger, b as TooltipContent, x as createContextScope$1, n as useComposedRefs$1, y as createSlot, aa as formatDuration, B as Button, t as toast, s as useId$1, P as Primitive$1, o as composeEventHandlers$1, E as useControllableState$1, m as useCallbackRef$2, N as Presence$1 } from "./mermaid-3ZIDBTTL-QcES6x1o.js";
5
5
  import { r as reactExports, j as jsxRuntimeExports, f as reactDomExports, R as ReactExports, I as React, G as ReactDOM, a as requireReact, g as getDefaultExportFromCjs } from "./index-BXZSIDEp.js";
6
6
  import { V as VERCEL_403_ERROR_MESSAGE } from "./index-ConSkUmc.js";
7
7
  function parseName(tag, name) {
@@ -5511,6 +5511,175 @@ const DropdownMenuSeparator = reactExports.forwardRef(({ className, ...props },
5511
5511
  }
5512
5512
  ));
5513
5513
  DropdownMenuSeparator.displayName = Separator2.displayName;
5514
+ var shim = { exports: {} };
5515
+ var useSyncExternalStoreShim_production = {};
5516
+ /**
5517
+ * @license React
5518
+ * use-sync-external-store-shim.production.js
5519
+ *
5520
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
5521
+ *
5522
+ * This source code is licensed under the MIT license found in the
5523
+ * LICENSE file in the root directory of this source tree.
5524
+ */
5525
+ var hasRequiredUseSyncExternalStoreShim_production;
5526
+ function requireUseSyncExternalStoreShim_production() {
5527
+ if (hasRequiredUseSyncExternalStoreShim_production) return useSyncExternalStoreShim_production;
5528
+ hasRequiredUseSyncExternalStoreShim_production = 1;
5529
+ var React2 = requireReact();
5530
+ function is(x, y) {
5531
+ return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
5532
+ }
5533
+ var objectIs = "function" === typeof Object.is ? Object.is : is, useState = React2.useState, useEffect = React2.useEffect, useLayoutEffect = React2.useLayoutEffect, useDebugValue2 = React2.useDebugValue;
5534
+ function useSyncExternalStore$2(subscribe, getSnapshot) {
5535
+ var value = getSnapshot(), _useState = useState({ inst: { value, getSnapshot } }), inst = _useState[0].inst, forceUpdate = _useState[1];
5536
+ useLayoutEffect(
5537
+ function() {
5538
+ inst.value = value;
5539
+ inst.getSnapshot = getSnapshot;
5540
+ checkIfSnapshotChanged(inst) && forceUpdate({ inst });
5541
+ },
5542
+ [subscribe, value, getSnapshot]
5543
+ );
5544
+ useEffect(
5545
+ function() {
5546
+ checkIfSnapshotChanged(inst) && forceUpdate({ inst });
5547
+ return subscribe(function() {
5548
+ checkIfSnapshotChanged(inst) && forceUpdate({ inst });
5549
+ });
5550
+ },
5551
+ [subscribe]
5552
+ );
5553
+ useDebugValue2(value);
5554
+ return value;
5555
+ }
5556
+ function checkIfSnapshotChanged(inst) {
5557
+ var latestGetSnapshot = inst.getSnapshot;
5558
+ inst = inst.value;
5559
+ try {
5560
+ var nextValue = latestGetSnapshot();
5561
+ return !objectIs(inst, nextValue);
5562
+ } catch (error) {
5563
+ return true;
5564
+ }
5565
+ }
5566
+ function useSyncExternalStore$1(subscribe, getSnapshot) {
5567
+ return getSnapshot();
5568
+ }
5569
+ var shim2 = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
5570
+ useSyncExternalStoreShim_production.useSyncExternalStore = void 0 !== React2.useSyncExternalStore ? React2.useSyncExternalStore : shim2;
5571
+ return useSyncExternalStoreShim_production;
5572
+ }
5573
+ var hasRequiredShim;
5574
+ function requireShim() {
5575
+ if (hasRequiredShim) return shim.exports;
5576
+ hasRequiredShim = 1;
5577
+ {
5578
+ shim.exports = requireUseSyncExternalStoreShim_production();
5579
+ }
5580
+ return shim.exports;
5581
+ }
5582
+ const OBSERVABILITY_UPGRADE_REQUIRED_CODE = "observability-upgrade-required";
5583
+ const OBSERVABILITY_UPGRADE_REQUIRED_MESSAGE = "This workflow observability data is outside your current plan window. Upgrade Observability Plus to view up to 30 days of workflow data.";
5584
+ const OBSERVABILITY_UPGRADE_REQUIRED_TITLE = "Upgrade Observability Plus";
5585
+ class WorkflowWebAPIError extends Error {
5586
+ constructor(message2, options) {
5587
+ super(message2, { cause: options == null ? void 0 : options.cause });
5588
+ __publicField(this, "request");
5589
+ __publicField(this, "layer");
5590
+ this.name = "WorkflowWebAPIError";
5591
+ this.request = options == null ? void 0 : options.request;
5592
+ this.layer = options == null ? void 0 : options.layer;
5593
+ if ((options == null ? void 0 : options.cause) instanceof Error) {
5594
+ this.stack = `${this.stack}
5595
+ Caused by: ${options.cause.stack}`;
5596
+ }
5597
+ }
5598
+ }
5599
+ function createWorkflowAPIError(serverError) {
5600
+ return new WorkflowWebAPIError(serverError.message, {
5601
+ cause: serverError.cause,
5602
+ request: serverError.request,
5603
+ layer: serverError.layer
5604
+ });
5605
+ }
5606
+ function isObservabilityUpgradeRequired(error) {
5607
+ var _a, _b;
5608
+ return error instanceof WorkflowWebAPIError && ((_a = error.request) == null ? void 0 : _a.status) === 402 && ((_b = error.request) == null ? void 0 : _b.code) === OBSERVABILITY_UPGRADE_REQUIRED_CODE;
5609
+ }
5610
+ function getErrorTitle(error, fallback) {
5611
+ if (isObservabilityUpgradeRequired(error)) {
5612
+ return OBSERVABILITY_UPGRADE_REQUIRED_TITLE;
5613
+ }
5614
+ return fallback;
5615
+ }
5616
+ const getErrorMessage = (error) => {
5617
+ var _a;
5618
+ if (isObservabilityUpgradeRequired(error)) {
5619
+ return OBSERVABILITY_UPGRADE_REQUIRED_MESSAGE;
5620
+ }
5621
+ if ("layer" in error && error.layer) {
5622
+ if (error instanceof WorkflowWebAPIError) {
5623
+ if (((_a = error.request) == null ? void 0 : _a.status) === 403) {
5624
+ return VERCEL_403_ERROR_MESSAGE;
5625
+ }
5626
+ }
5627
+ return error.message;
5628
+ }
5629
+ return error instanceof Error ? error.message : "An error occurred";
5630
+ };
5631
+ async function unwrapServerActionResult(promise) {
5632
+ let result;
5633
+ try {
5634
+ result = await promise;
5635
+ } catch (error) {
5636
+ result = {
5637
+ success: false,
5638
+ error
5639
+ };
5640
+ }
5641
+ if (!result.success) {
5642
+ if (!result.error) {
5643
+ return {
5644
+ error: new WorkflowWebAPIError("Unknown error occurred", {
5645
+ layer: "client"
5646
+ }),
5647
+ result: null
5648
+ };
5649
+ }
5650
+ return {
5651
+ error: createWorkflowAPIError(result.error),
5652
+ result: null
5653
+ };
5654
+ }
5655
+ return { error: null, result: result.data };
5656
+ }
5657
+ async function unwrapOrThrow(promise) {
5658
+ const { error, result } = await unwrapServerActionResult(promise);
5659
+ if (error) throw error;
5660
+ return result;
5661
+ }
5662
+ async function cancelRun(env, runId) {
5663
+ await unwrapOrThrow(cancelRun$1(env, runId));
5664
+ }
5665
+ async function recreateRun(env, runId) {
5666
+ return unwrapOrThrow(recreateRun$1(env, runId));
5667
+ }
5668
+ async function reenqueueRun(env, runId) {
5669
+ await unwrapOrThrow(reenqueueRun$1(env, runId));
5670
+ }
5671
+ async function wakeUpRun(env, runId, options) {
5672
+ return unwrapOrThrow(wakeUpRun$1(env, runId, options));
5673
+ }
5674
+ async function resumeHook(env, token, payload) {
5675
+ return unwrapOrThrow(resumeHook$1(env, token, payload));
5676
+ }
5677
+ async function fetchHookToken(env, runId, hookId) {
5678
+ const { token } = await unwrapOrThrow(
5679
+ fetchHookToken$1(env, runId, hookId)
5680
+ );
5681
+ return token;
5682
+ }
5514
5683
  function CopyableText({
5515
5684
  text,
5516
5685
  children: children2,
@@ -5605,85 +5774,6 @@ function Skeleton({
5605
5774
  }
5606
5775
  );
5607
5776
  }
5608
- class WorkflowWebAPIError extends Error {
5609
- constructor(message2, options) {
5610
- super(message2, { cause: options == null ? void 0 : options.cause });
5611
- __publicField(this, "request");
5612
- __publicField(this, "layer");
5613
- this.name = "WorkflowWebAPIError";
5614
- this.request = options == null ? void 0 : options.request;
5615
- this.layer = options == null ? void 0 : options.layer;
5616
- if ((options == null ? void 0 : options.cause) instanceof Error) {
5617
- this.stack = `${this.stack}
5618
- Caused by: ${options.cause.stack}`;
5619
- }
5620
- }
5621
- }
5622
- function createWorkflowAPIError(serverError) {
5623
- return new WorkflowWebAPIError(serverError.message, {
5624
- cause: serverError.cause,
5625
- request: serverError.request,
5626
- layer: serverError.layer
5627
- });
5628
- }
5629
- const getErrorMessage = (error) => {
5630
- var _a;
5631
- if ("layer" in error && error.layer) {
5632
- if (error instanceof WorkflowWebAPIError) {
5633
- if (((_a = error.request) == null ? void 0 : _a.status) === 403) {
5634
- return VERCEL_403_ERROR_MESSAGE;
5635
- }
5636
- }
5637
- return error.message;
5638
- }
5639
- return error instanceof Error ? error.message : "An error occurred";
5640
- };
5641
- async function unwrapServerActionResult(promise) {
5642
- let result;
5643
- try {
5644
- result = await promise;
5645
- } catch (error) {
5646
- result = {
5647
- success: false,
5648
- error
5649
- };
5650
- }
5651
- if (!result.success) {
5652
- if (!result.error) {
5653
- return {
5654
- error: new WorkflowWebAPIError("Unknown error occurred", {
5655
- layer: "client"
5656
- }),
5657
- result: null
5658
- };
5659
- }
5660
- return {
5661
- error: createWorkflowAPIError(result.error),
5662
- result: null
5663
- };
5664
- }
5665
- return { error: null, result: result.data };
5666
- }
5667
- async function unwrapOrThrow(promise) {
5668
- const { error, result } = await unwrapServerActionResult(promise);
5669
- if (error) throw error;
5670
- return result;
5671
- }
5672
- async function cancelRun(env, runId) {
5673
- await unwrapOrThrow(cancelRun$1(env, runId));
5674
- }
5675
- async function recreateRun(env, runId) {
5676
- return unwrapOrThrow(recreateRun$1(env, runId));
5677
- }
5678
- async function reenqueueRun(env, runId) {
5679
- await unwrapOrThrow(reenqueueRun$1(env, runId));
5680
- }
5681
- async function wakeUpRun(env, runId, options) {
5682
- return unwrapOrThrow(wakeUpRun$1(env, runId, options));
5683
- }
5684
- async function resumeHook(env, token, payload) {
5685
- return unwrapOrThrow(resumeHook$1(env, token, payload));
5686
- }
5687
5777
  function createCollection(name) {
5688
5778
  const PROVIDER_NAME = name + "CollectionProvider";
5689
5779
  const [createCollectionContext, createCollectionScope2] = createContextScope$1(PROVIDER_NAME);
@@ -11910,74 +12000,6 @@ function XYResizer({ domNode, nodeId, getStoreItems, onChange, onEnd }) {
11910
12000
  }
11911
12001
  var withSelector = { exports: {} };
11912
12002
  var withSelector_production = {};
11913
- var shim = { exports: {} };
11914
- var useSyncExternalStoreShim_production = {};
11915
- /**
11916
- * @license React
11917
- * use-sync-external-store-shim.production.js
11918
- *
11919
- * Copyright (c) Meta Platforms, Inc. and affiliates.
11920
- *
11921
- * This source code is licensed under the MIT license found in the
11922
- * LICENSE file in the root directory of this source tree.
11923
- */
11924
- var hasRequiredUseSyncExternalStoreShim_production;
11925
- function requireUseSyncExternalStoreShim_production() {
11926
- if (hasRequiredUseSyncExternalStoreShim_production) return useSyncExternalStoreShim_production;
11927
- hasRequiredUseSyncExternalStoreShim_production = 1;
11928
- var React2 = requireReact();
11929
- function is(x, y) {
11930
- return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
11931
- }
11932
- var objectIs = "function" === typeof Object.is ? Object.is : is, useState = React2.useState, useEffect = React2.useEffect, useLayoutEffect = React2.useLayoutEffect, useDebugValue2 = React2.useDebugValue;
11933
- function useSyncExternalStore$2(subscribe, getSnapshot) {
11934
- var value = getSnapshot(), _useState = useState({ inst: { value, getSnapshot } }), inst = _useState[0].inst, forceUpdate = _useState[1];
11935
- useLayoutEffect(
11936
- function() {
11937
- inst.value = value;
11938
- inst.getSnapshot = getSnapshot;
11939
- checkIfSnapshotChanged(inst) && forceUpdate({ inst });
11940
- },
11941
- [subscribe, value, getSnapshot]
11942
- );
11943
- useEffect(
11944
- function() {
11945
- checkIfSnapshotChanged(inst) && forceUpdate({ inst });
11946
- return subscribe(function() {
11947
- checkIfSnapshotChanged(inst) && forceUpdate({ inst });
11948
- });
11949
- },
11950
- [subscribe]
11951
- );
11952
- useDebugValue2(value);
11953
- return value;
11954
- }
11955
- function checkIfSnapshotChanged(inst) {
11956
- var latestGetSnapshot = inst.getSnapshot;
11957
- inst = inst.value;
11958
- try {
11959
- var nextValue = latestGetSnapshot();
11960
- return !objectIs(inst, nextValue);
11961
- } catch (error) {
11962
- return true;
11963
- }
11964
- }
11965
- function useSyncExternalStore$1(subscribe, getSnapshot) {
11966
- return getSnapshot();
11967
- }
11968
- var shim2 = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
11969
- useSyncExternalStoreShim_production.useSyncExternalStore = void 0 !== React2.useSyncExternalStore ? React2.useSyncExternalStore : shim2;
11970
- return useSyncExternalStoreShim_production;
11971
- }
11972
- var hasRequiredShim;
11973
- function requireShim() {
11974
- if (hasRequiredShim) return shim.exports;
11975
- hasRequiredShim = 1;
11976
- {
11977
- shim.exports = requireUseSyncExternalStoreShim_production();
11978
- }
11979
- return shim.exports;
11980
- }
11981
12003
  /**
11982
12004
  * @license React
11983
12005
  * use-sync-external-store-shim/with-selector.production.js
@@ -16095,64 +16117,67 @@ function WorkflowGraphViewer({ workflow }) {
16095
16117
  ) });
16096
16118
  }
16097
16119
  export {
16098
- useId as $,
16120
+ useEscapeKeydown as $,
16099
16121
  Alert as A,
16100
- CircleX as B,
16101
- CircleAlert as C,
16122
+ cancelRun as B,
16123
+ Check as C,
16102
16124
  DropdownMenu as D,
16103
16125
  Ellipsis as E,
16104
- RunActionsDropdownItems as F,
16105
- unwrapServerActionResult as G,
16106
- WorkflowGraphViewer as H,
16107
- TabsList as I,
16108
- TabsTrigger as J,
16109
- TabsContent as K,
16110
- ErrorBoundary as L,
16111
- Copy as M,
16112
- parseStepName as N,
16113
- ErrorCard as O,
16126
+ reenqueueRun as F,
16127
+ parseWorkflowName as G,
16128
+ StatusBadge as H,
16129
+ CircleX as I,
16130
+ RunActionsDropdownItems as J,
16131
+ unwrapServerActionResult as K,
16132
+ WorkflowGraphViewer as L,
16133
+ TabsList as M,
16134
+ TabsTrigger as N,
16135
+ TabsContent as O,
16114
16136
  Primitive as P,
16115
- format as Q,
16137
+ ErrorBoundary as Q,
16116
16138
  ResolveHookModal as R,
16117
16139
  Send as S,
16118
16140
  Tabs as T,
16119
- Circle as U,
16120
- useEscapeKeydown as V,
16141
+ parseStepName as U,
16142
+ ErrorCard as V,
16121
16143
  WorkflowWebAPIError as W,
16122
16144
  X,
16123
- useCallbackRef$1 as Y,
16145
+ format as Y,
16124
16146
  Zap as Z,
16125
- useLayoutEffect2 as _,
16126
- Skeleton as a,
16127
- createContext2 as a0,
16128
- useFocusGuards as a1,
16129
- LAYOUT as a2,
16130
- wakeUpRun as a3,
16131
- RunActionsButtons as a4,
16132
- recreateRun as a5,
16133
- RelativeTime as b,
16134
- AlertTitle as c,
16135
- AlertDescription as d,
16136
- CopyableText as e,
16137
- DropdownMenuTrigger as f,
16138
- getErrorMessage as g,
16139
- DropdownMenuContent as h,
16140
- DropdownMenuItem as i,
16141
- createCollection as j,
16142
- hideOthers as k,
16143
- ReactRemoveScroll as l,
16144
- useDirection as m,
16145
- ChevronUp as n,
16146
- Check as o,
16147
- useControllableState as p,
16148
- composeEventHandlers as q,
16149
- resumeHook as r,
16150
- Presence as s,
16151
- useSize as t,
16147
+ Circle as _,
16148
+ Copy as a,
16149
+ useCallbackRef$1 as a0,
16150
+ useLayoutEffect2 as a1,
16151
+ useId as a2,
16152
+ createContext2 as a3,
16153
+ useFocusGuards as a4,
16154
+ LAYOUT as a5,
16155
+ wakeUpRun as a6,
16156
+ RunActionsButtons as a7,
16157
+ recreateRun as a8,
16158
+ Skeleton as b,
16159
+ RelativeTime as c,
16160
+ CircleAlert as d,
16161
+ AlertTitle as e,
16162
+ fetchHookToken as f,
16163
+ getErrorTitle as g,
16164
+ AlertDescription as h,
16165
+ getErrorMessage as i,
16166
+ CopyableText as j,
16167
+ DropdownMenuTrigger as k,
16168
+ DropdownMenuContent as l,
16169
+ DropdownMenuItem as m,
16170
+ resumeHook as n,
16171
+ createCollection as o,
16172
+ hideOthers as p,
16173
+ ReactRemoveScroll as q,
16174
+ requireShim as r,
16175
+ useDirection as s,
16176
+ ChevronUp as t,
16152
16177
  unwrapOrThrow as u,
16153
- createContextScope as v,
16154
- cancelRun as w,
16155
- reenqueueRun as x,
16156
- parseWorkflowName as y,
16157
- StatusBadge as z
16178
+ useControllableState as v,
16179
+ composeEventHandlers as w,
16180
+ Presence as x,
16181
+ useSize as y,
16182
+ createContextScope as z
16158
16183
  };
@@ -1,4 +1,4 @@
1
- import { r as registerZstdDecoder, _ as __vitePreload } from "./mermaid-3ZIDBTTL-aixonSAh.js";
1
+ import { r as registerZstdDecoder, _ as __vitePreload } from "./mermaid-3ZIDBTTL-QcES6x1o.js";
2
2
  import "./index-BXZSIDEp.js";
3
3
  let registered = false;
4
4
  let modulePromise;
@@ -15,7 +15,7 @@ function ensureZstdDecoderRegistered() {
15
15
  registered = true;
16
16
  registerZstdDecoder(async (payload) => {
17
17
  const { decompressBytes } = await __vitePreload(async () => {
18
- const { decompressBytes: decompressBytes2 } = await import("./index-C7C6cDW5.js");
18
+ const { decompressBytes: decompressBytes2 } = await import("./index-HqNj_XIX.js");
19
19
  return { decompressBytes: decompressBytes2 };
20
20
  }, true ? [] : void 0);
21
21
  const wasmModule = await loadWasmModule();