@epam/ai-dial-scheduled-tasks 1.4.0-dev.122 → 1.4.0-dev.126

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1,27 +1,27 @@
1
1
  import { a as e, c as t, d as n, f as r, g as i, h as a, i as o, l as s, m as c, n as l, o as u, p as d, r as f, s as p, t as m, u as h } from "./calendar-value-CXFwy6E8.js";
2
- import { COMPACT_MARKDOWN_CLASS_NAMES as g, ConfirmationDialog as _, ConfirmationIdentityRow as v, MARKDOWN_EDITOR_MAX_HEIGHT_CLASS_NAME as y, MARKDOWN_EDITOR_PREVIEW_LIST_CLASS_NAME as b, MDMessageViewer as x, PanelEmptyState as ee, ResourceSummary as S, TextRefinementField as C, buildCssVars as w, mergeClasses as T, useAvailableHeightCap as E, useControlErrorAssociation as D, useIsMobile as te, useIsPhone as ne, useTextRefinement as re, useUnsavedChangesGuard as ie } from "@epam/ai-dial-chat-shared";
3
- import { Accordion as ae, BottomSheet as oe, Button as se, ButtonAppearance as ce, ButtonDropdown as le, ButtonVariant as ue, Calendar as de, CalendarMode as fe, CardShell as pe, ConfirmationPopupVariant as me, DIAL_ICON_SIZE as O, DIAL_KIT_ICON_STROKE as k, Dropdown as he, DropdownOverlayRole as ge, ElementSize as _e, EllipsisTooltip as ve, ErrorMessageNotification as ye, ErrorText as A, FolderPath as be, GhostButton as j, GhostIconButton as xe, Highlight as M, Input as Se, Label as N, LinkButton as P, LiveRegion as F, LiveRegionElement as I, LiveRegionPoliteness as Ce, MenuItem as we, MenuItemMark as Te, NeutralButton as Ee, NoDataContent as L, Notification as De, NotificationSurface as Oe, NotificationType as ke, NotificationVariant as Ae, NumberInput as je, PrimaryButton as Me, Search as Ne, Select as Pe, Skeleton as Fe, SkeletonVariant as R, Spinner as Ie, Switch as Le, Tabs as Re, Textarea as ze, WarningMessageNotification as Be } from "@epam/ai-dial-ui-kit";
4
- import { IconAlertTriangle as Ve, IconArrowNarrowLeft as He, IconArrowRight as z, IconArrowsSort as Ue, IconCheck as We, IconChevronDown as Ge, IconChevronRight as Ke, IconCircleX as qe, IconPencilMinus as Je, IconPlayerPause as B, IconPlayerPlay as Ye, IconPlus as Xe, IconTrashX as Ze } from "@tabler/icons-react";
5
- import { Suspense as Qe, lazy as $e, memo as et, useCallback as tt, useEffect as nt, useId as V, useLayoutEffect as rt, useMemo as H, useRef as it, useState as U } from "react";
6
- import { Fragment as W, jsx as G, jsxs as K } from "react/jsx-runtime";
7
- import { BuilderFormContainer as at } from "@epam/ai-dial-builder-form";
8
- import { LazyMarkdownEditor as ot } from "@epam/ai-dial-ui-kit/editors";
2
+ import { COMPACT_MARKDOWN_CLASS_NAMES as g, ConfirmationDialog as _, ConfirmationIdentityRow as v, MARKDOWN_EDITOR_MAX_HEIGHT_CLASS_NAME as y, MARKDOWN_EDITOR_PREVIEW_LIST_CLASS_NAME as b, MDMessageViewer as x, PanelEmptyState as ee, ResourceSummary as S, TextRefinementField as C, buildCssVars as w, mergeClasses as T, useAvailableHeightCap as te, useControlErrorAssociation as E, useIsMobile as ne, useIsPhone as re, useTextRefinement as ie, useUnsavedChangesGuard as ae } from "@epam/ai-dial-chat-shared";
3
+ import { Accordion as oe, BottomSheet as se, Button as ce, ButtonAppearance as le, ButtonDropdown as ue, ButtonVariant as de, Calendar as fe, CalendarMode as pe, CardShell as me, ConfirmationPopupVariant as he, DIAL_ICON_SIZE as D, DIAL_KIT_ICON_STROKE as O, Dropdown as ge, DropdownOverlayRole as _e, ElementSize as ve, EllipsisTooltip as ye, ErrorMessageNotification as be, ErrorText as k, FolderPath as xe, GhostButton as A, GhostIconButton as Se, Highlight as j, Input as Ce, Label as M, LinkButton as N, LiveRegion as P, LiveRegionElement as F, LiveRegionPoliteness as we, MenuItem as I, MenuItemMark as Te, NeutralButton as Ee, NoDataContent as L, Notification as De, NotificationSurface as Oe, NotificationType as ke, NotificationVariant as R, NumberInput as Ae, PrimaryButton as je, Search as Me, Select as Ne, Skeleton as Pe, SkeletonVariant as z, Spinner as Fe, Switch as Ie, Tabs as Le, Textarea as Re, WarningMessageNotification as ze } from "@epam/ai-dial-ui-kit";
4
+ import { IconAlertTriangle as Be, IconArrowNarrowLeft as Ve, IconArrowRight as He, IconArrowsSort as B, IconCheck as Ue, IconChevronDown as We, IconChevronRight as Ge, IconCircleX as Ke, IconPencilMinus as qe, IconPlayerPause as Je, IconPlayerPlay as V, IconPlus as Ye, IconTrashX as Xe } from "@tabler/icons-react";
5
+ import { Suspense as Ze, lazy as Qe, memo as $e, useCallback as et, useEffect as tt, useId as H, useLayoutEffect as nt, useMemo as U, useRef as rt, useState as W } from "react";
6
+ import { Fragment as G, jsx as K, jsxs as q } from "react/jsx-runtime";
7
+ import { BuilderFormContainer as it } from "@epam/ai-dial-builder-form";
8
+ import { LazyMarkdownEditor as at } from "@epam/ai-dial-ui-kit/editors";
9
9
  //#region src/models/scheduled-task-card-grid-props.ts
10
- var st = "1180px", ct = {
10
+ var ot = "1180px", st = {
11
11
  card: "dial-scheduled-tasks-card",
12
12
  cardGrid: "dial-scheduled-tasks-card-grid",
13
13
  refineFeedback: "dial-scheduled-tasks-refine-feedback"
14
- }, q = /* @__PURE__ */ function(e) {
14
+ }, J = /* @__PURE__ */ function(e) {
15
15
  return e.Scheduled = "scheduled", e.Paused = "paused", e.Completed = "completed", e;
16
- }({}), J = /* @__PURE__ */ function(e) {
16
+ }({}), ct = /* @__PURE__ */ function(e) {
17
17
  return e.Active = "active", e.Paused = "paused", e.Completed = "completed", e;
18
18
  }({}), lt = (e) => {
19
19
  switch (e.presentationStatus) {
20
- case J.Active: return q.Scheduled;
21
- case J.Paused: return q.Paused;
22
- case J.Completed: return q.Completed;
20
+ case ct.Active: return J.Scheduled;
21
+ case ct.Paused: return J.Paused;
22
+ case ct.Completed: return J.Completed;
23
23
  }
24
- return e.isCompleted ? q.Completed : e.isActive === !1 ? q.Paused : q.Scheduled;
24
+ return e.isCompleted ? J.Completed : e.isActive === !1 ? J.Paused : J.Scheduled;
25
25
  }, ut = {
26
26
  schedulePill: "_schedulePill_1cwco_1",
27
27
  scheduleLabel: "_scheduleLabel_1cwco_6",
@@ -30,34 +30,34 @@ var st = "1180px", ct = {
30
30
  completedPill: "_completedPill_1cwco_19",
31
31
  completedLabel: "_completedLabel_1cwco_24"
32
32
  }, dt = {
33
- [q.Scheduled]: {
33
+ [J.Scheduled]: {
34
34
  pillClassName: "inline-block rounded-lg border px-2 py-1",
35
35
  wrapperClassName: ut.schedulePill,
36
36
  labelClassName: ut.scheduleLabel
37
37
  },
38
- [q.Paused]: {
38
+ [J.Paused]: {
39
39
  pillClassName: "inline-flex items-center gap-1.5 rounded-full border px-2 py-1",
40
40
  wrapperClassName: ut.pausedPill,
41
41
  labelClassName: ut.pausedLabel,
42
- renderIcon: () => /* @__PURE__ */ G(B, {
43
- size: O.SM,
42
+ renderIcon: () => /* @__PURE__ */ K(Je, {
43
+ size: D.SM,
44
44
  "aria-hidden": !0,
45
- stroke: k
45
+ stroke: O
46
46
  })
47
47
  },
48
- [q.Completed]: {
48
+ [J.Completed]: {
49
49
  pillClassName: "inline-flex items-center gap-1.5 rounded-full border px-2 py-1",
50
50
  wrapperClassName: ut.completedPill,
51
51
  labelClassName: ut.completedLabel,
52
- renderIcon: () => /* @__PURE__ */ G(We, {
53
- size: O.SM,
52
+ renderIcon: () => /* @__PURE__ */ K(Ue, {
53
+ size: D.SM,
54
54
  "aria-hidden": !0,
55
- stroke: k
55
+ stroke: O
56
56
  })
57
57
  }
58
58
  }, ft = ({ status: e, text: t, textClassName: n = "dial-tiny-text", className: r }) => {
59
59
  let { pillClassName: i, wrapperClassName: a, labelClassName: o, renderIcon: s } = dt[e];
60
- return /* @__PURE__ */ K("span", {
60
+ return /* @__PURE__ */ q("span", {
61
61
  className: T(i, n, a, o, r),
62
62
  children: [s && s(), t]
63
63
  });
@@ -73,16 +73,16 @@ var st = "1180px", ct = {
73
73
  aboveButton: "_aboveButton_p4ova_60",
74
74
  interactive: "_interactive_p4ova_65"
75
75
  }, pt = ({ item: e, searchQuery: t = "", onCardClick: n, labels: r, styles: i, className: a }) => {
76
- let o = te(), s = e.newBadgeLabel ?? r?.newBadgeLabel ?? "NEW", c = r?.pausedBadgeLabel ?? "Paused", l = r?.completedBadgeLabel ?? "Completed", { colors: u, typography: d } = i ?? {}, f = d?.titleClassName ?? "dial-body-semi-text", p = d?.descriptionClassName ?? "dial-small-paragraph-text", m = d?.scheduleLabelClassName ?? "dial-tiny-text", h = d?.pausedBadgeClassName ?? "dial-tiny-text", g = d?.completedBadgeClassName ?? "dial-tiny-text", _ = d?.locationLabelClassName ?? "dial-tiny-text", v = d?.locationLeafClassName ?? "dial-tiny-semi-text", y = d?.newBadgeClassName ?? "dial-tiny-semi-text", b = lt(e), { text: x, textClassName: ee } = {
77
- [q.Scheduled]: {
76
+ let o = ne(), s = e.newBadgeLabel ?? r?.newBadgeLabel ?? "NEW", c = r?.pausedBadgeLabel ?? "Paused", l = r?.completedBadgeLabel ?? "Completed", { colors: u, typography: d } = i ?? {}, f = d?.titleClassName ?? "dial-body-semi-text", p = d?.descriptionClassName ?? "dial-small-paragraph-text", m = d?.scheduleLabelClassName ?? "dial-tiny-text", h = d?.pausedBadgeClassName ?? "dial-tiny-text", g = d?.completedBadgeClassName ?? "dial-tiny-text", _ = d?.locationLabelClassName ?? "dial-tiny-text", v = d?.locationLeafClassName ?? "dial-tiny-semi-text", y = d?.newBadgeClassName ?? "dial-tiny-semi-text", b = lt(e), { text: x, textClassName: ee } = {
77
+ [J.Scheduled]: {
78
78
  text: e.scheduleLabel,
79
79
  textClassName: m
80
80
  },
81
- [q.Paused]: {
81
+ [J.Paused]: {
82
82
  text: c,
83
83
  textClassName: h
84
84
  },
85
- [q.Completed]: {
85
+ [J.Completed]: {
86
86
  text: l,
87
87
  textClassName: g
88
88
  }
@@ -104,43 +104,43 @@ var st = "1180px", ct = {
104
104
  "--stc-completed-border": u?.completedBadgeBorder,
105
105
  "--stc-completed-text": u?.completedBadgeText,
106
106
  "--stc-focus-outline": u?.focusOutline
107
- }), C = /* @__PURE__ */ G(M, {
107
+ }), C = /* @__PURE__ */ K(j, {
108
108
  text: e.displayName,
109
109
  query: t,
110
110
  maxLines: o ? 2 : 1,
111
111
  className: T(f, Y.title, n && Y.aboveButton)
112
112
  });
113
- return /* @__PURE__ */ K(pe, {
113
+ return /* @__PURE__ */ q(me, {
114
114
  "aria-label": e.displayName,
115
115
  style: S,
116
- className: T("h-(--st-card-height,232px) min-w-0", Y.card, n && "relative has-focus-visible:translate-y-[-3px] has-focus-visible:shadow-lg motion-reduce:has-focus-visible:translate-y-0", n && Y.interactive, a, ct.card),
116
+ className: T("h-(--st-card-height,232px) min-w-0", Y.card, n && "relative has-focus-visible:translate-y-[-3px] has-focus-visible:shadow-lg motion-reduce:has-focus-visible:translate-y-0", n && Y.interactive, a, st.card),
117
117
  children: [
118
- /* @__PURE__ */ K("div", {
118
+ /* @__PURE__ */ q("div", {
119
119
  className: "flex min-w-0 shrink-0 items-start gap-2 desktop:items-center",
120
- children: [n ? /* @__PURE__ */ G("button", {
120
+ children: [n ? /* @__PURE__ */ K("button", {
121
121
  type: "button",
122
122
  onClick: () => n(e.id),
123
123
  className: T("min-w-0 text-start", Y.cardButton),
124
124
  children: C
125
- }) : C, e.isNew && /* @__PURE__ */ G("span", {
125
+ }) : C, e.isNew && /* @__PURE__ */ K("span", {
126
126
  className: T("shrink-0 rounded-full px-2 py-0.5", y, Y.newBadge),
127
127
  children: s
128
128
  })]
129
129
  }),
130
- e.descriptionPreview && /* @__PURE__ */ G("p", {
130
+ e.descriptionPreview && /* @__PURE__ */ K("p", {
131
131
  className: T("line-clamp-3 min-h-0 min-w-0 overflow-hidden wrap-anywhere", p, Y.description),
132
132
  children: e.descriptionPreview
133
133
  }),
134
- /* @__PURE__ */ K("div", {
134
+ /* @__PURE__ */ q("div", {
135
135
  className: "mt-auto flex shrink-0 flex-col gap-3",
136
- children: [/* @__PURE__ */ G("div", {
136
+ children: [/* @__PURE__ */ K("div", {
137
137
  className: "flex min-h-[28px] items-center",
138
- children: /* @__PURE__ */ G(ft, {
138
+ children: /* @__PURE__ */ K(ft, {
139
139
  status: b,
140
140
  text: x,
141
141
  textClassName: ee
142
142
  })
143
- }), e.locationSegments && e.locationSegments.length > 0 && /* @__PURE__ */ G(be, {
143
+ }), e.locationSegments && e.locationSegments.length > 0 && /* @__PURE__ */ K(xe, {
144
144
  segments: e.locationSegments,
145
145
  labelClassName: T(_, Y.locationLabel),
146
146
  leafClassName: T(v, Y.locationLeaf),
@@ -155,29 +155,29 @@ var st = "1180px", ct = {
155
155
  "61%"
156
156
  ], gt = "var(--stcs-skeleton-bg)", _t = ({ styles: e }) => {
157
157
  let t = w({ "--stcs-skeleton-bg": e?.colors?.skeletonColor });
158
- return /* @__PURE__ */ K(pe, {
158
+ return /* @__PURE__ */ q(me, {
159
159
  "aria-hidden": !0,
160
160
  style: t,
161
161
  className: T("h-(--st-card-height,232px)", mt.card),
162
162
  children: [
163
- /* @__PURE__ */ G(Fe, {
164
- variant: R.Rectangular,
163
+ /* @__PURE__ */ K(Pe, {
164
+ variant: z.Rectangular,
165
165
  width: "60%",
166
166
  height: "20px",
167
167
  color: gt,
168
168
  className: "shrink-0"
169
169
  }),
170
- /* @__PURE__ */ G("div", {
170
+ /* @__PURE__ */ K("div", {
171
171
  className: "flex min-h-0 flex-1 flex-col gap-3 overflow-hidden",
172
- children: ht.map((e, t) => /* @__PURE__ */ G(Fe, {
173
- variant: R.Rectangular,
172
+ children: ht.map((e, t) => /* @__PURE__ */ K(Pe, {
173
+ variant: z.Rectangular,
174
174
  width: e,
175
175
  height: "16px",
176
176
  color: gt
177
177
  }, t))
178
178
  }),
179
- /* @__PURE__ */ G(Fe, {
180
- variant: R.Rectangular,
179
+ /* @__PURE__ */ K(Pe, {
180
+ variant: z.Rectangular,
181
181
  width: "110px",
182
182
  height: "28px",
183
183
  color: gt,
@@ -185,7 +185,7 @@ var st = "1180px", ct = {
185
185
  })
186
186
  ]
187
187
  });
188
- }, vt = ({ items: e, searchQuery: t, onCardClick: n, labels: r, cardStyles: i, trailingSkeletonCount: a = 0, skeletonStyles: o, layout: s }) => /* @__PURE__ */ K("div", {
188
+ }, vt = ({ items: e, searchQuery: t, onCardClick: n, labels: r, cardStyles: i, trailingSkeletonCount: a = 0, skeletonStyles: o, layout: s }) => /* @__PURE__ */ q("div", {
189
189
  style: {
190
190
  "--st-grid-min-card-width": s?.minCardWidth,
191
191
  "--st-grid-gap": s?.gap,
@@ -195,14 +195,14 @@ var st = "1180px", ct = {
195
195
  gap: "var(--st-grid-gap, 20px)",
196
196
  gridTemplateColumns: "repeat(auto-fill, minmax(min(100%, max(var(--st-grid-min-card-width, 320px), calc((100% - (var(--st-grid-columns) - 1) * var(--st-grid-gap, 20px)) / var(--st-grid-columns)))), 1fr))"
197
197
  },
198
- className: T("mx-auto grid w-full min-w-0", ct.cardGrid),
199
- children: [e.map((e) => /* @__PURE__ */ G(pt, {
198
+ className: T("mx-auto grid w-full min-w-0", st.cardGrid),
199
+ children: [e.map((e) => /* @__PURE__ */ K(pt, {
200
200
  item: e,
201
201
  searchQuery: t,
202
202
  onCardClick: n,
203
203
  labels: r,
204
204
  styles: i
205
- }, e.id)), Array.from({ length: a }, (e, t) => /* @__PURE__ */ G(_t, { styles: o }, `skeleton-${t}`))]
205
+ }, e.id)), Array.from({ length: a }, (e, t) => /* @__PURE__ */ K(_t, { styles: o }, `skeleton-${t}`))]
206
206
  }), yt = {
207
207
  container: "_container_3vz4t_2",
208
208
  subtitle: "_subtitle_3vz4t_6",
@@ -217,22 +217,22 @@ var st = "1180px", ct = {
217
217
  let { overflow: t, overflowY: n } = getComputedStyle(e);
218
218
  return t === "auto" || t === "scroll" || n === "auto" || n === "scroll" ? e : xt(e.parentElement);
219
219
  }, St = ({ labels: e, onCreateClick: t, searchQuery: n, onSearchQueryChange: r, sortKey: i, onSortChange: a, items: o, isLoading: s = !1, error: c, onRetry: l, hasMore: u = !1, isLoadingMore: d = !1, skeletonCount: f = 6, onLoadMore: p, onCardClick: m, banner: h, styles: g, sortIcon: _, className: v, gridLayout: y, cardStyles: b, loadMoreError: x, onRetryLoadMore: S }) => {
220
- let { colors: C, typography: E } = g ?? {}, D = E?.titleClassName ?? "dial-h1-text", te = E?.subtitleClassName ?? "dial-body-text", ne = w({
220
+ let { colors: C, typography: te } = g ?? {}, E = te?.titleClassName ?? "dial-h1-text", ne = te?.subtitleClassName ?? "dial-body-text", re = w({
221
221
  "--st-bg": C?.background,
222
222
  "--st-subtitle-text": C?.subtitleText,
223
223
  "--st-sort-text": C?.sortButtonText
224
- }), re = (e) => {
224
+ }), ie = (e) => {
225
225
  r(e ?? "");
226
- }, [ie, ae] = U(!1), [oe, se] = U(!1), de = it(null), fe = tt(() => {
227
- se(!0);
228
- }, []), pe = tt(() => {
229
- se(!1);
226
+ }, [ae, oe] = W(!1), [se, ce] = W(!1), fe = rt(null), pe = et(() => {
227
+ ce(!0);
228
+ }, []), me = et(() => {
229
+ ce(!1);
230
230
  }, []);
231
- rt(() => {
232
- let e = de.current;
233
- oe && ie && e != null && e.offsetParent == null && ae(!1);
234
- }, [oe, ie]);
235
- let me = e.sortOptions.find((e) => e.value === i)?.label ?? e.sortLabel, he = H(() => e.sortOptions.map((e) => ({
231
+ nt(() => {
232
+ let e = fe.current;
233
+ se && ae && e != null && e.offsetParent == null && oe(!1);
234
+ }, [se, ae]);
235
+ let he = e.sortOptions.find((e) => e.value === i)?.label ?? e.sortLabel, ge = U(() => e.sortOptions.map((e) => ({
236
236
  key: e.value,
237
237
  label: e.label,
238
238
  mark: Te.Check,
@@ -242,9 +242,9 @@ var st = "1180px", ct = {
242
242
  e.sortOptions,
243
243
  i,
244
244
  a
245
- ]), ge = bt(s, d, !!c, o.length, n.trim().length > 0, e), ve = it(null);
246
- nt(() => {
247
- let e = ve.current;
245
+ ]), _e = bt(s, d, !!c, o.length, n.trim().length > 0, e), ye = rt(null);
246
+ tt(() => {
247
+ let e = ye.current;
248
248
  if (!e || !p) return;
249
249
  let t = xt(e.parentElement);
250
250
  if (!t) return;
@@ -261,25 +261,25 @@ var st = "1180px", ct = {
261
261
  x,
262
262
  p
263
263
  ]);
264
- let A = () => s ? /* @__PURE__ */ G(Ie, { ariaLabel: e.loadingAriaLabel ?? "Loading scheduled tasks" }) : c ? /* @__PURE__ */ K("div", {
264
+ let k = () => s ? /* @__PURE__ */ K(Fe, { ariaLabel: e.loadingAriaLabel ?? "Loading scheduled tasks" }) : c ? /* @__PURE__ */ q("div", {
265
265
  className: "flex flex-col items-center gap-3",
266
- children: [/* @__PURE__ */ G("p", {
267
- className: T(te, yt.subtitle),
266
+ children: [/* @__PURE__ */ K("p", {
267
+ className: T(ne, yt.subtitle),
268
268
  children: e.errorLabel
269
- }), /* @__PURE__ */ G(j, {
269
+ }), /* @__PURE__ */ K(A, {
270
270
  label: e.retryLabel,
271
271
  onClick: l
272
272
  })]
273
- }) : o.length === 0 ? n.trim() ? /* @__PURE__ */ G(ee, {
273
+ }) : o.length === 0 ? n.trim() ? /* @__PURE__ */ K(ee, {
274
274
  label: e.noResultsLabel,
275
275
  description: e.noResultsDescription
276
- }) : /* @__PURE__ */ G(ee, {
276
+ }) : /* @__PURE__ */ K(ee, {
277
277
  label: e.emptyStateLabel,
278
278
  description: e.emptyStateDescription
279
- }) : /* @__PURE__ */ K("div", {
279
+ }) : /* @__PURE__ */ q("div", {
280
280
  className: "flex w-full flex-col gap-6",
281
281
  children: [
282
- /* @__PURE__ */ G(vt, {
282
+ /* @__PURE__ */ K(vt, {
283
283
  items: o,
284
284
  searchQuery: n,
285
285
  onCardClick: m,
@@ -289,95 +289,95 @@ var st = "1180px", ct = {
289
289
  cardStyles: b,
290
290
  layout: y
291
291
  }),
292
- x && /* @__PURE__ */ G(ye, {
292
+ x && /* @__PURE__ */ K(be, {
293
293
  message: e.loadMoreErrorLabel ?? e.errorLabel,
294
- textClassName: te,
295
- iconStroke: k,
296
- action: /* @__PURE__ */ G(j, {
294
+ textClassName: ne,
295
+ iconStroke: O,
296
+ action: /* @__PURE__ */ K(A, {
297
297
  label: e.retryLabel,
298
298
  onClick: S
299
299
  })
300
300
  }),
301
- /* @__PURE__ */ G("div", {
302
- ref: ve,
301
+ /* @__PURE__ */ K("div", {
302
+ ref: ye,
303
303
  "aria-hidden": !0,
304
304
  className: "h-px w-full"
305
305
  })
306
306
  ]
307
- }), be = s || !!c || o.length === 0;
308
- return /* @__PURE__ */ K("div", {
309
- style: ne,
307
+ }), xe = s || !!c || o.length === 0;
308
+ return /* @__PURE__ */ q("div", {
309
+ style: re,
310
310
  className: T("flex h-full w-full flex-col gap-4 overflow-y-auto px-4 py-4 desktop:gap-6 desktop:px-8", yt.container, v),
311
311
  children: [
312
- /* @__PURE__ */ K("div", {
312
+ /* @__PURE__ */ q("div", {
313
313
  className: "flex items-start justify-between gap-4",
314
- children: [/* @__PURE__ */ K("div", {
314
+ children: [/* @__PURE__ */ q("div", {
315
315
  className: "min-w-0 gap-2",
316
- children: [/* @__PURE__ */ G("h1", {
317
- className: T("truncate", D),
316
+ children: [/* @__PURE__ */ K("h1", {
317
+ className: T("truncate", E),
318
318
  children: e.title
319
- }), /* @__PURE__ */ G("p", {
320
- className: T("mt-1", te, yt.subtitle),
319
+ }), /* @__PURE__ */ K("p", {
320
+ className: T("mt-1", ne, yt.subtitle),
321
321
  children: e.subtitle
322
322
  })]
323
- }), t != null && /* @__PURE__ */ G(Me, {
323
+ }), t != null && /* @__PURE__ */ K(je, {
324
324
  label: e.createButtonLabel,
325
325
  textClassName: yt.createButtonLabel,
326
326
  "aria-label": e.createButtonLabel,
327
- iconBefore: /* @__PURE__ */ G(Xe, {
328
- size: O.SM,
327
+ iconBefore: /* @__PURE__ */ K(Ye, {
328
+ size: D.SM,
329
329
  "aria-hidden": !0,
330
- stroke: k
330
+ stroke: O
331
331
  }),
332
332
  onClick: t,
333
333
  className: T("shrink-0", yt.createButton)
334
334
  })]
335
335
  }),
336
- /* @__PURE__ */ K("div", {
336
+ /* @__PURE__ */ q("div", {
337
337
  className: "flex flex-wrap items-center gap-3",
338
- children: [/* @__PURE__ */ G("div", {
338
+ children: [/* @__PURE__ */ K("div", {
339
339
  role: "search",
340
340
  className: "flex-1",
341
- children: /* @__PURE__ */ G(Ne, {
341
+ children: /* @__PURE__ */ K(Me, {
342
342
  value: n,
343
- onChange: re,
343
+ onChange: ie,
344
344
  placeholder: e.searchPlaceholder,
345
345
  clearLabel: e.clearSearchLabel,
346
346
  "aria-label": e.searchAriaLabel,
347
- size: _e.Large,
348
- onFocus: fe,
349
- onBlur: pe
347
+ size: ve.Large,
348
+ onFocus: pe,
349
+ onBlur: me
350
350
  })
351
- }), e.sortOptions.length > 0 && /* @__PURE__ */ G("div", {
352
- ref: de,
353
- className: T(oe && yt.sortControlHidden),
354
- children: /* @__PURE__ */ G(le, {
355
- items: he,
356
- label: me,
357
- variant: ue.Primary,
358
- appearance: ce.Ghost,
359
- iconBefore: _ === void 0 ? /* @__PURE__ */ G(Ue, {
360
- size: O.SM,
351
+ }), e.sortOptions.length > 0 && /* @__PURE__ */ K("div", {
352
+ ref: fe,
353
+ className: T(se && yt.sortControlHidden),
354
+ children: /* @__PURE__ */ K(ue, {
355
+ items: ge,
356
+ label: he,
357
+ variant: de.Primary,
358
+ appearance: le.Ghost,
359
+ iconBefore: _ === void 0 ? /* @__PURE__ */ K(B, {
360
+ size: D.SM,
361
361
  "aria-hidden": !0,
362
- stroke: k
362
+ stroke: O
363
363
  }) : _,
364
364
  className: yt.sortButton
365
365
  })
366
366
  })]
367
367
  }),
368
- h != null && typeof h != "boolean" && /* @__PURE__ */ G("div", {
368
+ h != null && typeof h != "boolean" && /* @__PURE__ */ K("div", {
369
369
  className: "mx-auto w-full min-w-0",
370
370
  style: { maxWidth: y?.maxWidth ?? "1180px" },
371
371
  children: h
372
372
  }),
373
- /* @__PURE__ */ G(F, {
373
+ /* @__PURE__ */ K(P, {
374
374
  visuallyHidden: !0,
375
- as: I.Span,
376
- children: ge
375
+ as: F.Span,
376
+ children: _e
377
377
  }),
378
- /* @__PURE__ */ G("div", {
379
- className: T("mx-auto flex size-full w-full min-w-0 flex-col", be && "items-center justify-center"),
380
- children: A()
378
+ /* @__PURE__ */ K("div", {
379
+ className: T("mx-auto flex size-full w-full min-w-0 flex-col", xe && "items-center justify-center"),
380
+ children: k()
381
381
  })
382
382
  ]
383
383
  });
@@ -420,38 +420,38 @@ var st = "1180px", ct = {
420
420
  }, Et = (e) => e.trim().toLowerCase(), Dt = (e, t) => {
421
421
  let n = Et(t);
422
422
  return n ? e.filter((e) => e.searchTerms.some((e) => e.includes(n))) : [...e];
423
- }, Ot = "[role=\"option\"]", kt = et(({ option: e, isSelected: t, query: n, rowClassName: r, onSelect: i }) => /* @__PURE__ */ G(we, {
423
+ }, Ot = "[role=\"option\"]", kt = $e(({ option: e, isSelected: t, query: n, rowClassName: r, onSelect: i }) => /* @__PURE__ */ K(I, {
424
424
  role: "option",
425
425
  "aria-selected": t,
426
426
  selected: t,
427
427
  mark: Te.Tint,
428
428
  className: X.row,
429
429
  onClick: () => i(e.id),
430
- children: /* @__PURE__ */ K("span", {
430
+ children: /* @__PURE__ */ q("span", {
431
431
  className: T(X.rowContent, r),
432
432
  children: [
433
- /* @__PURE__ */ G("span", {
433
+ /* @__PURE__ */ K("span", {
434
434
  className: X.offset,
435
- children: /* @__PURE__ */ G(M, {
435
+ children: /* @__PURE__ */ K(j, {
436
436
  text: e.offsetLabel,
437
437
  query: n,
438
438
  maxLines: 1
439
439
  })
440
440
  }),
441
- /* @__PURE__ */ G("span", {
441
+ /* @__PURE__ */ K("span", {
442
442
  className: X.name,
443
- children: /* @__PURE__ */ G(M, {
443
+ children: /* @__PURE__ */ K(j, {
444
444
  text: e.id,
445
445
  query: n,
446
446
  maxLines: 1
447
447
  })
448
448
  }),
449
- e.abbreviation && /* @__PURE__ */ K("span", {
449
+ e.abbreviation && /* @__PURE__ */ q("span", {
450
450
  className: X.abbreviation,
451
- children: [/* @__PURE__ */ G("span", {
451
+ children: [/* @__PURE__ */ K("span", {
452
452
  "aria-hidden": "true",
453
453
  children: "•"
454
- }), /* @__PURE__ */ G(M, {
454
+ }), /* @__PURE__ */ K(j, {
455
455
  text: e.abbreviation,
456
456
  query: n,
457
457
  maxLines: 1
@@ -462,8 +462,8 @@ var st = "1180px", ct = {
462
462
  }));
463
463
  kt.displayName = "TimezoneRow";
464
464
  var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, classNames: a, cssVars: o }) => {
465
- let [s, c] = U(""), l = it(null), u = V(), d = V(), f = Et(s), p = f.length > 0, m = H(() => Dt(e, s), [e, s]);
466
- nt(() => {
465
+ let [s, c] = W(""), l = rt(null), u = H(), d = H(), f = Et(s), p = f.length > 0, m = U(() => Dt(e, s), [e, s]);
466
+ tt(() => {
467
467
  let e = l.current;
468
468
  e?.querySelector("input")?.focus(), e?.querySelector("[aria-selected=\"true\"]")?.scrollIntoView?.({ block: "nearest" });
469
469
  }, []);
@@ -473,45 +473,45 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
473
473
  }, g = () => l.current?.querySelector("input")?.focus(), _ = (e) => {
474
474
  let t = e.target, n = t.matches(Ot), r = Array.from(l.current?.querySelectorAll(Ot) ?? []), i = r.indexOf(t);
475
475
  e.key === "ArrowDown" && (n || t.tagName === "INPUT") ? (e.preventDefault(), h(n ? i + 1 : 0)) : e.key === "ArrowUp" && n ? (e.preventDefault(), i <= 0 ? g() : h(i - 1)) : e.key === "Home" && n ? (e.preventDefault(), h(0)) : e.key === "End" && n && (e.preventDefault(), h(r.length - 1));
476
- }, v = (e) => e.map((e) => /* @__PURE__ */ G(kt, {
476
+ }, v = (e) => e.map((e) => /* @__PURE__ */ K(kt, {
477
477
  option: e,
478
478
  isSelected: e.id === t,
479
479
  query: f,
480
480
  rowClassName: a.rowClassName,
481
481
  onSelect: r
482
- }, e.id)), y = (e, t, n) => /* @__PURE__ */ K("div", {
482
+ }, e.id)), y = (e, t, n) => /* @__PURE__ */ q("div", {
483
483
  role: "group",
484
484
  "aria-labelledby": e,
485
- children: [/* @__PURE__ */ G("div", {
485
+ children: [/* @__PURE__ */ K("div", {
486
486
  id: e,
487
487
  className: T(X.heading, a.headingClassName),
488
488
  children: t
489
489
  }), v(n)]
490
490
  });
491
- return /* @__PURE__ */ K("div", {
491
+ return /* @__PURE__ */ q("div", {
492
492
  ref: l,
493
493
  className: X.panel,
494
494
  style: o,
495
495
  onKeyDown: _,
496
496
  children: [
497
- /* @__PURE__ */ G(Ne, {
497
+ /* @__PURE__ */ K(Me, {
498
498
  value: s,
499
499
  onChange: (e) => c(e ?? ""),
500
500
  placeholder: i.searchPlaceholder,
501
501
  "aria-label": i.searchAriaLabel,
502
502
  clearLabel: i.clearSearchAriaLabel
503
503
  }),
504
- /* @__PURE__ */ G(F, {
504
+ /* @__PURE__ */ K(P, {
505
505
  visuallyHidden: !0,
506
506
  children: p && m.length > 0 ? i.resultsCountLabel(m.length) : ""
507
507
  }),
508
- /* @__PURE__ */ G("div", {
508
+ /* @__PURE__ */ K("div", {
509
509
  className: X.results,
510
- children: m.length === 0 ? /* @__PURE__ */ G(L, {
510
+ children: m.length === 0 ? /* @__PURE__ */ K(L, {
511
511
  title: i.noResultsTitle,
512
512
  description: i.noResultsDescription,
513
513
  live: !0
514
- }) : /* @__PURE__ */ K("div", {
514
+ }) : /* @__PURE__ */ q("div", {
515
515
  role: "listbox",
516
516
  "aria-label": i.listAriaLabel,
517
517
  children: [
@@ -541,7 +541,7 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
541
541
  let n = e.find((e) => e.id === t);
542
542
  return n ? `(${n.offsetLabel}) ${n.id}` : t;
543
543
  }, Ft = ({ id: e, options: t, value: n, onChange: r, browserTimezoneId: i, disabled: a, isSummaryShown: o = !0, ariaDescribedBy: s, labels: c, colors: l, classNames: u }) => {
544
- let d = ne(), [f, p] = U(!1), m = H(() => jt(c), [c]), h = H(() => Mt(u), [u]), g = H(() => Nt(l), [l]), _ = H(() => t.find((e) => e.id === i), [t, i]), v = Pt(t, n), y = /* @__PURE__ */ G(At, {
544
+ let d = re(), [f, p] = W(!1), m = U(() => jt(c), [c]), h = U(() => Mt(u), [u]), g = U(() => Nt(l), [l]), _ = U(() => t.find((e) => e.id === i), [t, i]), v = Pt(t, n), y = /* @__PURE__ */ K(At, {
545
545
  options: t,
546
546
  value: n,
547
547
  browserOption: _,
@@ -551,16 +551,16 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
551
551
  labels: m,
552
552
  classNames: h,
553
553
  cssVars: g
554
- }), b = /* @__PURE__ */ G(P, {
554
+ }), b = /* @__PURE__ */ K(N, {
555
555
  id: e,
556
556
  label: m.changeLabel,
557
557
  textClassName: h.linkClassName,
558
558
  className: X.link,
559
559
  disabled: a,
560
560
  "aria-describedby": s,
561
- iconAfter: /* @__PURE__ */ G(Ge, {
561
+ iconAfter: /* @__PURE__ */ K(We, {
562
562
  size: 16,
563
- stroke: k,
563
+ stroke: O,
564
564
  className: T(X.chevron, f && X.chevronOpen),
565
565
  "aria-hidden": "true"
566
566
  }),
@@ -569,31 +569,31 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
569
569
  "aria-expanded": f,
570
570
  onClick: () => p(!0)
571
571
  } : {}
572
- }), x = o && /* @__PURE__ */ G("span", {
572
+ }), x = o && /* @__PURE__ */ K("span", {
573
573
  className: T(X.summary, h.rowClassName),
574
574
  children: v
575
575
  });
576
- return d ? /* @__PURE__ */ K("div", {
576
+ return d ? /* @__PURE__ */ q("div", {
577
577
  style: g,
578
578
  className: X.field,
579
579
  children: [
580
580
  x,
581
581
  b,
582
- /* @__PURE__ */ G(oe, {
582
+ /* @__PURE__ */ K(se, {
583
583
  open: f,
584
584
  title: m.dialogAriaLabel,
585
585
  onClose: () => p(!1),
586
586
  children: y
587
587
  })
588
588
  ]
589
- }) : /* @__PURE__ */ K("div", {
589
+ }) : /* @__PURE__ */ q("div", {
590
590
  style: g,
591
591
  className: X.field,
592
- children: [x, /* @__PURE__ */ G(he, {
592
+ children: [x, /* @__PURE__ */ K(ge, {
593
593
  open: f,
594
594
  onOpenChange: p,
595
595
  disabled: a,
596
- overlayRole: ge.Dialog,
596
+ overlayRole: _e.Dialog,
597
597
  overlayAriaLabel: m.dialogAriaLabel,
598
598
  matchReferenceWidth: !1,
599
599
  placement: "bottom-start",
@@ -604,7 +604,7 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
604
604
  children: b
605
605
  })]
606
606
  });
607
- }, It = ({ text: e, colors: t, classNames: n }) => /* @__PURE__ */ G(F, {
607
+ }, It = ({ text: e, colors: t, classNames: n }) => /* @__PURE__ */ K(P, {
608
608
  className: T(X.hint, n?.hintClassName ?? Tt.hintClassName),
609
609
  style: w({ "--stz-hint": t?.hintColor }),
610
610
  children: e
@@ -613,12 +613,12 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
613
613
  for (let r of n) if (Rt(e[r]) !== Rt(t[r])) return !0;
614
614
  return !1;
615
615
  }, Bt = { error: "_error_v2pfn_4" }, Vt = ({ id: t, label: n, placeholder: r, value: i, onChange: a, minDate: o, error: s, errorClassName: c, disabled: u }) => {
616
- let d = (e) => a(l(e)), f = V();
617
- return D(() => document.getElementById(t), f, !!s), /* @__PURE__ */ K("div", {
616
+ let d = (e) => a(l(e)), f = H();
617
+ return E(() => document.getElementById(t), f, !!s), /* @__PURE__ */ q("div", {
618
618
  className: "flex flex-1 flex-col gap-1",
619
- children: [/* @__PURE__ */ G(de, {
619
+ children: [/* @__PURE__ */ K(fe, {
620
620
  id: t,
621
- mode: fe.Date,
621
+ mode: pe.Date,
622
622
  value: e(i),
623
623
  onChange: d,
624
624
  minDate: o,
@@ -626,15 +626,15 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
626
626
  placeholder: r,
627
627
  invalid: !!s,
628
628
  disabled: u
629
- }), /* @__PURE__ */ G(A, {
630
- announce: Ce.Assertive,
629
+ }), /* @__PURE__ */ K(k, {
630
+ announce: we.Assertive,
631
631
  id: f,
632
632
  className: T(c, Bt.error),
633
633
  text: s ?? ""
634
634
  })]
635
635
  });
636
- }, Ht = ({ value: e, onChange: t, onBlur: n, disabled: r, invalid: i, ariaLabel: a }) => /* @__PURE__ */ G(de, {
637
- mode: fe.Time,
636
+ }, Ht = ({ value: e, onChange: t, onBlur: n, disabled: r, invalid: i, ariaLabel: a }) => /* @__PURE__ */ K(fe, {
637
+ mode: pe.Time,
638
638
  value: e,
639
639
  onChange: (e) => {
640
640
  typeof e == "string" && t(e);
@@ -649,20 +649,20 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
649
649
  className: "w-[120px] gap-y-0",
650
650
  fieldClassName: "px-3 py-1.5 pe-9",
651
651
  pickerButtonClassName: "size-6 inset-e-1.5"
652
- }), Ut = { error: "_error_v2pfn_4" }, Wt = (e) => /* @__PURE__ */ G(Ht, { ...e }), Gt = ({ label: e, placeholder: t, value: r, onChange: a, disabled: s, error: c, errorClassName: l = "dial-tiny-text", timezone: u }) => {
653
- let d = it(/* @__PURE__ */ new Date()).current, f = H(() => {
652
+ }), Ut = { error: "_error_v2pfn_4" }, Wt = (e) => /* @__PURE__ */ K(Ht, { ...e }), Gt = ({ label: e, placeholder: t, value: r, onChange: a, disabled: s, error: c, errorClassName: l = "dial-tiny-text", timezone: u }) => {
653
+ let d = rt(/* @__PURE__ */ new Date()).current, f = U(() => {
654
654
  if (!u) return d;
655
655
  try {
656
656
  return i(n(d, u).dateTime);
657
657
  } catch {
658
658
  return d;
659
659
  }
660
- }, [d, u]), m = (e) => a(o(e)), h = V();
661
- return D(() => document.getElementById("scheduled-task-run-at"), h, !!c), /* @__PURE__ */ K("div", {
660
+ }, [d, u]), m = (e) => a(o(e)), h = H();
661
+ return E(() => document.getElementById("scheduled-task-run-at"), h, !!c), /* @__PURE__ */ q("div", {
662
662
  className: "flex flex-col gap-1",
663
- children: [/* @__PURE__ */ G(de, {
663
+ children: [/* @__PURE__ */ K(fe, {
664
664
  id: "scheduled-task-run-at",
665
- mode: fe.DateTime,
665
+ mode: pe.DateTime,
666
666
  value: p(r),
667
667
  onChange: m,
668
668
  minDate: f,
@@ -674,23 +674,24 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
674
674
  invalid: !!c,
675
675
  disabled: s,
676
676
  renderTimeField: Wt
677
- }), /* @__PURE__ */ G(A, {
678
- announce: Ce.Assertive,
677
+ }), /* @__PURE__ */ K(k, {
678
+ announce: we.Assertive,
679
679
  id: h,
680
680
  className: T(l, Ut.error),
681
681
  text: c ?? ""
682
682
  })]
683
683
  });
684
684
  }, Z = {
685
- formColumn: "_formColumn_1tbws_1",
686
- detailsColumn: "_detailsColumn_1tbws_10",
687
- sectionSubtitle: "_sectionSubtitle_1tbws_14",
688
- instructionsError: "_instructionsError_1tbws_18",
689
- refineFeedback: "_refineFeedback_1tbws_22",
690
- refineError: "_refineError_1tbws_26",
691
- timeFieldZone: "_timeFieldZone_1tbws_31"
692
- }, Kt = $e(async () => ({ default: (await ot()).MarkdownEditor })), qt = ({ labels: e, timezone: t, values: r, initialValues: o, errors: s, modelSelector: l, modelLabelId: d, skillSelector: p, onFieldChange: g, onBack: v, onCancel: x, onSubmit: ee, isSubmitting: S = !1, isSubmitDisabled: ne = !1, onRefineDescription: ae, onRefineInstructions: oe, markdownEditorTheme: le, backIcon: pe, className: he, styles: ge }) => {
693
- let _e = V(), ve = V(), ye = V(), be = V(), j = V(), xe = V(), M = V(), P = V(), F = V(), I = it(void 0), we = (e) => e ? async (t, n) => {
685
+ formColumn: "_formColumn_dskt8_1",
686
+ detailsColumn: "_detailsColumn_dskt8_10",
687
+ sectionSubtitle: "_sectionSubtitle_dskt8_14",
688
+ instructionsError: "_instructionsError_dskt8_18",
689
+ refineFeedback: "_refineFeedback_dskt8_22",
690
+ refineError: "_refineError_dskt8_26",
691
+ timeFieldZone: "_timeFieldZone_dskt8_31",
692
+ timeFieldZoneText: "_timeFieldZoneText_dskt8_45"
693
+ }, Kt = Qe(async () => ({ default: (await at()).MarkdownEditor })), qt = ({ labels: e, timezone: t, values: r, initialValues: o, errors: s, modelSelector: l, modelLabelId: d, skillSelector: p, onFieldChange: g, onBack: v, onCancel: x, onSubmit: ee, isSubmitting: S = !1, isSubmitDisabled: re = !1, onRefineDescription: oe, onRefineInstructions: se, markdownEditorTheme: ue, backIcon: me, className: ge, styles: _e }) => {
694
+ let ve = H(), be = H(), xe = H(), A = H(), Se = H(), j = H(), N = H(), P = H(), F = H(), I = rt(void 0), Te = (e) => e ? async (t, n) => {
694
695
  if (I.current && !I.current.aborted) throw new DOMException("Busy", "AbortError");
695
696
  I.current = n;
696
697
  try {
@@ -698,35 +699,35 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
698
699
  } finally {
699
700
  I.current === n && (I.current = void 0);
700
701
  }
701
- } : void 0, Te = re({
702
+ } : void 0, Ee = ie({
702
703
  value: r.description ?? "",
703
704
  onChange: (e) => g("description", e),
704
- onRefine: we(ae),
705
+ onRefine: Te(oe),
705
706
  disabled: S
706
- }), Ee = re({
707
+ }), L = ie({
707
708
  value: r.prompt,
708
709
  onChange: (e) => g("prompt", e),
709
- onRefine: we(oe),
710
+ onRefine: Te(se),
710
711
  disabled: S
711
- }), L = Te.isPending || Ee.isPending, De = () => {
712
- Te.reset(), Ee.reset();
713
- }, Oe = !!(o && zt(r, o)), ke = ie(Oe), Ae = te(), Me = () => ke.guard(() => {
714
- De(), v();
715
- }), Ne = () => ke.guard(() => {
716
- De(), x();
717
- }), Fe = E(), R = !r.skillUrls?.length, [Le, Re] = U(), Be = it(/* @__PURE__ */ new Date()).current, Ve = H(() => {
712
+ }), De = Ee.isPending || L.isPending, Oe = () => {
713
+ Ee.reset(), L.reset();
714
+ }, ke = !!(o && zt(r, o)), R = ae(ke), je = ne(), Me = () => R.guard(() => {
715
+ Oe(), v();
716
+ }), Pe = () => R.guard(() => {
717
+ Oe(), x();
718
+ }), z = te(), Ie = !r.skillUrls?.length, [Le, ze] = W(), Be = rt(/* @__PURE__ */ new Date()).current, He = U(() => {
718
719
  try {
719
720
  return i(n(Be, r.timezone).dateTime);
720
721
  } catch {
721
722
  return Be;
722
723
  }
723
- }, [Be, r.timezone]), { colors: z, typography: Ue, layout: We } = ge ?? {}, Ge = Ue?.titleClassName ?? "dial-h1-text", Ke = Ue?.sectionTitleClassName ?? "dial-body-semi-text", qe = Ue?.sectionSubtitleClassName ?? "dial-tiny-text", Je = Ue?.instructionsLabelClassName ?? "dial-body-semi-text mb-1", B = Ue?.instructionsErrorClassName ?? "dial-tiny-text", Ye = w({
724
- "--stcf-details-border": z?.detailsColumnBorder,
725
- "--stcf-subtitle-text": z?.sectionSubtitleText,
726
- "--stcf-error-text": z?.instructionsErrorText,
727
- "--stcf-refine-action-text": z?.refineActionText,
728
- "--stcf-refine-error-text": z?.refineErrorText
729
- }), Xe = H(() => {
724
+ }, [Be, r.timezone]), { colors: B, typography: Ue, layout: We } = _e ?? {}, Ge = Ue?.titleClassName ?? "dial-h1-text", Ke = Ue?.sectionTitleClassName ?? "dial-body-semi-text", qe = Ue?.sectionSubtitleClassName ?? "dial-tiny-text", Je = Ue?.instructionsLabelClassName ?? "dial-body-semi-text mb-1", V = Ue?.instructionsErrorClassName ?? "dial-tiny-text", Ye = w({
725
+ "--stcf-details-border": B?.detailsColumnBorder,
726
+ "--stcf-subtitle-text": B?.sectionSubtitleText,
727
+ "--stcf-error-text": B?.instructionsErrorText,
728
+ "--stcf-refine-action-text": B?.refineActionText,
729
+ "--stcf-refine-error-text": B?.refineErrorText
730
+ }), Xe = U(() => {
730
731
  if (!t || r.repeat !== h.OneTime || !r.runAt || !c(r.runAt, r.timezone)) return;
731
732
  let e = a(r.runAt, r.timezone);
732
733
  return jt(t.labels).gapHintLabel(e.slice(11, 16));
@@ -735,7 +736,7 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
735
736
  r.repeat,
736
737
  r.runAt,
737
738
  r.timezone
738
- ]), Ze = (e, n = !0) => t && /* @__PURE__ */ K(W, { children: [/* @__PURE__ */ G(Ft, {
739
+ ]), Qe = (e, n = !0) => t && /* @__PURE__ */ q(G, { children: [/* @__PURE__ */ K(Ft, {
739
740
  id: e,
740
741
  options: t.options,
741
742
  value: r.timezone,
@@ -743,35 +744,35 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
743
744
  onChange: (e) => g("timezone", e),
744
745
  disabled: S,
745
746
  isSummaryShown: n,
746
- ariaDescribedBy: s.timezone ? xe : void 0,
747
+ ariaDescribedBy: s.timezone ? j : void 0,
747
748
  labels: t.labels,
748
749
  colors: t.colors,
749
750
  classNames: t.classNames
750
- }), s.timezone && /* @__PURE__ */ G(A, {
751
- id: xe,
752
- className: T(B, Z.instructionsError),
751
+ }), s.timezone && /* @__PURE__ */ K(k, {
752
+ id: j,
753
+ className: T(V, Z.instructionsError),
753
754
  text: s.timezone
754
755
  })] }), $e = {
755
- feedbackClassName: T(z?.refineActionText && Z.refineFeedback, Ue?.refineFeedbackClassName, ct.refineFeedback),
756
+ feedbackClassName: T(B?.refineActionText && Z.refineFeedback, Ue?.refineFeedbackClassName, st.refineFeedback),
756
757
  errorClassName: Z.refineError
757
758
  }, et = (t) => {
758
759
  let n = m.test(t.target.value) ? void 0 : e.timeInvalidLabel;
759
- Re(n), g("time", t.target.value);
760
- }, tt = (e) => {
761
- Re(void 0), g("time", typeof e == "string" ? e : "");
762
- }, rt = (e) => {
760
+ ze(n), g("time", t.target.value);
761
+ }, nt = (e) => {
762
+ ze(void 0), g("time", typeof e == "string" ? e : "");
763
+ }, at = (e) => {
763
764
  g("repeat", e);
764
- }, ot = r.repeat !== h.OneTime && r.repeat !== h.Hourly, st = r.repeat === h.Custom, q = st && !r.daysOfWeek?.length;
765
- nt(() => {
766
- ot || Re(void 0);
765
+ }, ot = r.repeat !== h.OneTime && r.repeat !== h.Hourly, J = r.repeat === h.Custom, ct = J && !r.daysOfWeek?.length;
766
+ tt(() => {
767
+ ot || ze(void 0);
767
768
  }, [ot]);
768
- let J = ot ? Le ?? s.time : void 0;
769
- D(() => Lt(d), be, !!s.modelId), D(() => document.getElementById(ve), F, !!s.prompt);
770
- let lt = (e) => g("runAt", e), ut = (e) => {
769
+ let lt = ot ? Le ?? s.time : void 0;
770
+ E(() => Lt(d), A, !!s.modelId), E(() => document.getElementById(be), F, !!s.prompt);
771
+ let ut = (e) => g("runAt", e), dt = (e) => {
771
772
  let t = r.daysOfWeek ?? [];
772
773
  t.includes(e) ? t.length > 1 && g("daysOfWeek", t.filter((t) => t !== e)) : g("daysOfWeek", [...t, e].sort((e, t) => Number(e) - Number(t)));
773
- }, dt = ne || !!s.modelId || S || L || !r.displayName.trim() || !r.modelId || !r.prompt.trim() && !r.skillUrls?.length || !!s.skillUrls || r.repeat === h.OneTime && (!r.runAt || !!s.runAt) || ot && !r.time || q || !!J;
774
- return /* @__PURE__ */ K(W, { children: [/* @__PURE__ */ G(at, {
774
+ }, ft = re || !!s.modelId || S || De || !r.displayName.trim() || !r.modelId || !r.prompt.trim() && !r.skillUrls?.length || !!s.skillUrls || r.repeat === h.OneTime && (!r.runAt || !!s.runAt) || ot && !r.time || ct || !!lt;
775
+ return /* @__PURE__ */ q(G, { children: [/* @__PURE__ */ K(it, {
775
776
  labels: {
776
777
  title: e.pageTitle,
777
778
  backButtonLabel: e.backButtonLabel,
@@ -780,49 +781,49 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
780
781
  submittingLabel: e.submittingLabel ?? "Saving"
781
782
  },
782
783
  onBack: Me,
783
- onCancel: Ne,
784
+ onCancel: Pe,
784
785
  onSubmit: () => {
785
- !dt && (!I.current || I.current.aborted) && ee();
786
+ !ft && (!I.current || I.current.aborted) && ee();
786
787
  },
787
788
  isCancelDisabled: S,
788
- isSubmitDisabled: dt,
789
+ isSubmitDisabled: ft,
789
790
  isSubmitting: S,
790
- backIcon: pe === void 0 ? /* @__PURE__ */ G(He, {
791
- size: O.LG,
792
- stroke: k,
791
+ backIcon: me === void 0 ? /* @__PURE__ */ K(Ve, {
792
+ size: D.LG,
793
+ stroke: O,
793
794
  "aria-hidden": !0,
794
795
  className: "rtl:scale-x-[-1]"
795
- }) : pe,
796
+ }) : me,
796
797
  layout: {
797
798
  sideColumnWidth: We?.detailsWidth,
798
799
  columnGap: We?.columnGap,
799
800
  reserveEndColumn: !1
800
801
  },
801
- className: he,
802
+ className: ge,
802
803
  styles: {
803
- colors: { background: z?.background },
804
+ colors: { background: B?.background },
804
805
  header: {
805
- colors: { borderColor: z?.headerBorder },
806
+ colors: { borderColor: B?.headerBorder },
806
807
  typography: { fontClassName: Ge }
807
808
  },
808
809
  cssVars: Ye
809
810
  },
810
- left: /* @__PURE__ */ K("div", {
811
+ left: /* @__PURE__ */ q("div", {
811
812
  role: "group",
812
813
  "aria-label": e.detailsSectionTitle,
813
814
  className: T("flex flex-1 flex-col gap-5 py-6 desktop:border-e", Z.detailsColumn, Z.formColumn),
814
815
  children: [
815
- /* @__PURE__ */ K("div", {
816
+ /* @__PURE__ */ q("div", {
816
817
  className: "flex flex-col gap-1",
817
- children: [/* @__PURE__ */ G("h2", {
818
+ children: [/* @__PURE__ */ K("h2", {
818
819
  className: Ke,
819
820
  children: e.detailsSectionTitle
820
- }), /* @__PURE__ */ G("p", {
821
+ }), /* @__PURE__ */ K("p", {
821
822
  className: T(qe, Z.sectionSubtitle),
822
823
  children: e.detailsSectionSubtitle
823
824
  })]
824
825
  }),
825
- /* @__PURE__ */ G(Se, {
826
+ /* @__PURE__ */ K(Ce, {
826
827
  id: "scheduled-task-display-name",
827
828
  value: r.displayName,
828
829
  onChange: (e) => g("displayName", e ?? ""),
@@ -833,76 +834,76 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
833
834
  invalid: !!s.displayName,
834
835
  error: s.displayName
835
836
  }),
836
- /* @__PURE__ */ G(C, {
837
- isEnabled: !!ae,
838
- fieldId: _e,
837
+ /* @__PURE__ */ K(C, {
838
+ isEnabled: !!oe,
839
+ fieldId: ve,
839
840
  label: e.descriptionLabel,
840
841
  labels: e,
841
- refinement: Te,
842
- disabled: S || L,
842
+ refinement: Ee,
843
+ disabled: S || De,
843
844
  caption: `${(r.description ?? "").length}/500`,
844
845
  ...$e,
845
- children: /* @__PURE__ */ G(ze, {
846
- id: _e,
846
+ children: /* @__PURE__ */ K(Re, {
847
+ id: ve,
847
848
  value: r.description ?? "",
848
849
  onChange: (e) => {
849
- Te.reset(), g("description", e);
850
+ Ee.reset(), g("description", e);
850
851
  },
851
- labelProps: ae ? void 0 : { label: e.descriptionLabel },
852
+ labelProps: oe ? void 0 : { label: e.descriptionLabel },
852
853
  maxLength: 500,
853
854
  invalid: !!s.description,
854
855
  error: s.description
855
856
  })
856
857
  }),
857
- /* @__PURE__ */ K("div", {
858
+ /* @__PURE__ */ q("div", {
858
859
  className: "flex flex-col gap-1",
859
860
  children: [
860
- /* @__PURE__ */ G(N, {
861
+ /* @__PURE__ */ K(M, {
861
862
  id: d,
862
863
  label: e.modelOrAgentLabel,
863
864
  required: !0
864
865
  }),
865
866
  l,
866
- s.modelId && /* @__PURE__ */ G(A, {
867
- id: be,
868
- className: T(B, Z.instructionsError),
867
+ s.modelId && /* @__PURE__ */ K(k, {
868
+ id: A,
869
+ className: T(V, Z.instructionsError),
869
870
  text: s.modelId
870
871
  })
871
872
  ]
872
873
  }),
873
- /* @__PURE__ */ K("div", {
874
+ /* @__PURE__ */ q("div", {
874
875
  className: "flex flex-col gap-3",
875
876
  children: [
876
- /* @__PURE__ */ G(Pe, {
877
+ /* @__PURE__ */ K(Ne, {
877
878
  labelProps: { label: e.repeatLabel },
878
879
  value: r.repeat,
879
- onChange: rt,
880
+ onChange: at,
880
881
  options: e.repeatOptions.map((e) => ({
881
882
  value: e.key,
882
883
  label: e.label
883
884
  }))
884
885
  }),
885
- r.repeat === h.OneTime && /* @__PURE__ */ G(Gt, {
886
+ r.repeat === h.OneTime && /* @__PURE__ */ K(Gt, {
886
887
  label: e.runAtLabel,
887
888
  placeholder: e.runAtPlaceholder,
888
889
  value: r.runAt ?? "",
889
- onChange: lt,
890
+ onChange: ut,
890
891
  error: s.runAt,
891
- errorClassName: B,
892
+ errorClassName: V,
892
893
  disabled: S,
893
894
  timezone: t ? r.timezone : void 0
894
895
  }),
895
- r.repeat === h.OneTime && /* @__PURE__ */ K(W, { children: [Ze("scheduled-task-timezone"), t && /* @__PURE__ */ G(It, {
896
+ r.repeat === h.OneTime && /* @__PURE__ */ q(G, { children: [Qe("scheduled-task-timezone"), t && /* @__PURE__ */ K(It, {
896
897
  text: Xe,
897
898
  colors: t.colors,
898
899
  classNames: t.classNames
899
900
  })] }),
900
- r.repeat !== h.OneTime && /* @__PURE__ */ K(W, { children: [
901
- r.repeat === h.Weekly && /* @__PURE__ */ K("div", {
901
+ r.repeat !== h.OneTime && /* @__PURE__ */ q(G, { children: [
902
+ r.repeat === h.Weekly && /* @__PURE__ */ q("div", {
902
903
  className: "flex flex-col gap-1",
903
- children: [/* @__PURE__ */ G(de, {
904
+ children: [/* @__PURE__ */ K(fe, {
904
905
  id: "scheduled-task-day-of-week",
905
- mode: fe.Weekday,
906
+ mode: pe.Weekday,
906
907
  value: u(r.dayOfWeek),
907
908
  onChange: (e) => g("dayOfWeek", f(e)),
908
909
  labelProps: {
@@ -910,81 +911,84 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
910
911
  required: !0
911
912
  },
912
913
  invalid: !!s.dayOfWeek,
913
- ariaDescribedBy: s.dayOfWeek ? j : void 0
914
- }), s.dayOfWeek && /* @__PURE__ */ G(A, {
915
- id: j,
916
- className: T(B, Z.instructionsError),
914
+ ariaDescribedBy: s.dayOfWeek ? Se : void 0
915
+ }), s.dayOfWeek && /* @__PURE__ */ K(k, {
916
+ id: Se,
917
+ className: T(V, Z.instructionsError),
917
918
  text: s.dayOfWeek
918
919
  })]
919
920
  }),
920
- ot && /* @__PURE__ */ K("div", {
921
+ ot && /* @__PURE__ */ q("div", {
921
922
  className: "flex flex-col gap-1",
922
923
  children: [
923
- /* @__PURE__ */ K("div", {
924
+ /* @__PURE__ */ q("div", {
924
925
  className: "relative",
925
- children: [/* @__PURE__ */ G(de, {
926
+ children: [/* @__PURE__ */ K(fe, {
926
927
  id: "scheduled-task-time",
927
- mode: fe.Time,
928
+ mode: pe.Time,
928
929
  value: r.time,
929
- onChange: tt,
930
+ onChange: nt,
930
931
  onBlur: et,
931
932
  labelProps: {
932
933
  label: e.timeLabel,
933
934
  required: !0
934
935
  },
935
- invalid: !!J,
936
- ariaDescribedBy: J ? P : void 0,
936
+ invalid: !!lt,
937
+ ariaDescribedBy: lt ? P : void 0,
937
938
  disabled: S
938
- }), t && /* @__PURE__ */ G("span", {
939
+ }), t && /* @__PURE__ */ K("span", {
939
940
  className: T(Z.timeFieldZone, Mt(t.classNames).rowClassName),
940
941
  style: Nt(t.colors),
941
- title: Pt(t.options, r.timezone),
942
- children: Pt(t.options, r.timezone)
942
+ onClick: (e) => e.currentTarget.ownerDocument.getElementById("scheduled-task-time")?.focus(),
943
+ children: /* @__PURE__ */ K(ye, {
944
+ className: Z.timeFieldZoneText,
945
+ text: Pt(t.options, r.timezone)
946
+ })
943
947
  })]
944
948
  }),
945
- J && /* @__PURE__ */ G(A, {
949
+ lt && /* @__PURE__ */ K(k, {
946
950
  id: P,
947
- className: T(B, Z.instructionsError),
948
- text: J
951
+ className: T(V, Z.instructionsError),
952
+ text: lt
949
953
  }),
950
- Ze("scheduled-task-timezone", !1)
954
+ Qe("scheduled-task-timezone", !1)
951
955
  ]
952
956
  }),
953
- st && /* @__PURE__ */ K("div", {
957
+ J && /* @__PURE__ */ q("div", {
954
958
  className: "flex flex-col gap-1",
955
959
  children: [
956
- /* @__PURE__ */ G(N, {
957
- id: ye,
960
+ /* @__PURE__ */ K(M, {
961
+ id: xe,
958
962
  label: e.daysOfWeekLabel,
959
963
  required: !0
960
964
  }),
961
- /* @__PURE__ */ G("div", {
965
+ /* @__PURE__ */ K("div", {
962
966
  role: "group",
963
- "aria-labelledby": ye,
967
+ "aria-labelledby": xe,
964
968
  className: "flex gap-0.5",
965
969
  children: e.customDayOptions.map((e) => {
966
970
  let t = !!r.daysOfWeek?.includes(e.value);
967
- return /* @__PURE__ */ G(se, {
971
+ return /* @__PURE__ */ K(ce, {
968
972
  "aria-label": e.fullName,
969
973
  "aria-pressed": t,
970
- "aria-describedby": s.daysOfWeek ? M : void 0,
971
- variant: t ? ue.Primary : ue.Neutral,
972
- appearance: ce.Solid,
974
+ "aria-describedby": s.daysOfWeek ? N : void 0,
975
+ variant: t ? de.Primary : de.Neutral,
976
+ appearance: le.Solid,
973
977
  className: "w-10 rounded-full",
974
978
  label: e.shortLabel,
975
- onClick: () => ut(e.value),
979
+ onClick: () => dt(e.value),
976
980
  disabled: S
977
981
  }, e.value);
978
982
  })
979
983
  }),
980
- s.daysOfWeek && /* @__PURE__ */ G(A, {
981
- id: M,
982
- className: T(B, Z.instructionsError),
984
+ s.daysOfWeek && /* @__PURE__ */ K(k, {
985
+ id: N,
986
+ className: T(V, Z.instructionsError),
983
987
  text: s.daysOfWeek
984
988
  })
985
989
  ]
986
990
  }),
987
- r.repeat === h.Monthly && /* @__PURE__ */ G(je, {
991
+ r.repeat === h.Monthly && /* @__PURE__ */ K(Ae, {
988
992
  id: "scheduled-task-day-of-month",
989
993
  integer: !0,
990
994
  min: 1,
@@ -998,7 +1002,7 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
998
1002
  invalid: !!s.dayOfMonth,
999
1003
  error: s.dayOfMonth
1000
1004
  }),
1001
- r.repeat === h.Hourly && /* @__PURE__ */ G(je, {
1005
+ r.repeat === h.Hourly && /* @__PURE__ */ K(Ae, {
1002
1006
  id: "scheduled-task-minute",
1003
1007
  integer: !0,
1004
1008
  min: 0,
@@ -1013,28 +1017,28 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
1013
1017
  invalid: !!s.minute,
1014
1018
  error: s.minute
1015
1019
  }),
1016
- r.repeat === h.Hourly && Ze("scheduled-task-timezone"),
1017
- /* @__PURE__ */ K("div", {
1020
+ r.repeat === h.Hourly && Qe("scheduled-task-timezone"),
1021
+ /* @__PURE__ */ q("div", {
1018
1022
  className: "flex flex-row gap-3",
1019
- children: [/* @__PURE__ */ G(Vt, {
1023
+ children: [/* @__PURE__ */ K(Vt, {
1020
1024
  id: "scheduled-task-start-date",
1021
1025
  label: e.startDateLabel,
1022
1026
  placeholder: e.startDatePlaceholder,
1023
1027
  value: r.startDate,
1024
1028
  onChange: (e) => g("startDate", e),
1025
- minDate: Ve,
1029
+ minDate: He,
1026
1030
  error: s.startDate,
1027
- errorClassName: B,
1031
+ errorClassName: V,
1028
1032
  disabled: S
1029
- }), /* @__PURE__ */ G(Vt, {
1033
+ }), /* @__PURE__ */ K(Vt, {
1030
1034
  id: "scheduled-task-end-date",
1031
1035
  label: e.endDateLabel,
1032
1036
  placeholder: e.endDatePlaceholder,
1033
1037
  value: r.endDate,
1034
1038
  onChange: (e) => g("endDate", e),
1035
- minDate: Ve,
1039
+ minDate: He,
1036
1040
  error: s.endDate,
1037
- errorClassName: B,
1041
+ errorClassName: V,
1038
1042
  disabled: S
1039
1043
  })]
1040
1044
  })
@@ -1043,67 +1047,67 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
1043
1047
  })
1044
1048
  ]
1045
1049
  }),
1046
- children: /* @__PURE__ */ K("div", {
1050
+ children: /* @__PURE__ */ q("div", {
1047
1051
  role: "group",
1048
1052
  "aria-label": e.configurationSectionTitle,
1049
1053
  className: T("flex flex-1 flex-col gap-5 py-6", Z.formColumn),
1050
1054
  children: [
1051
- /* @__PURE__ */ G("div", {
1055
+ /* @__PURE__ */ K("div", {
1052
1056
  className: "flex flex-col gap-1",
1053
- children: /* @__PURE__ */ G("h2", {
1057
+ children: /* @__PURE__ */ K("h2", {
1054
1058
  className: Ke,
1055
1059
  children: e.configurationSectionTitle
1056
1060
  })
1057
1061
  }),
1058
- p == null ? /* @__PURE__ */ G(A, {
1059
- announce: Ce.Polite,
1060
- className: T(B, Z.instructionsError),
1062
+ p == null ? /* @__PURE__ */ K(k, {
1063
+ announce: we.Polite,
1064
+ className: T(V, Z.instructionsError),
1061
1065
  text: s.skillUrls ?? ""
1062
- }) : /* @__PURE__ */ G("div", {
1066
+ }) : /* @__PURE__ */ K("div", {
1063
1067
  className: "w-full max-w-[996px] min-w-0",
1064
1068
  children: p
1065
1069
  }),
1066
- /* @__PURE__ */ G("div", {
1070
+ /* @__PURE__ */ K("div", {
1067
1071
  className: "flex w-full max-w-[996px] min-w-0 flex-col",
1068
- children: /* @__PURE__ */ G(C, {
1069
- isEnabled: !!oe,
1070
- fieldId: ve,
1072
+ children: /* @__PURE__ */ K(C, {
1073
+ isEnabled: !!se,
1074
+ fieldId: be,
1071
1075
  labelClassName: Je,
1072
1076
  label: e.instructionsLabel,
1073
- required: R,
1077
+ required: Ie,
1074
1078
  labels: e,
1075
- refinement: Ee,
1076
- disabled: S || L,
1079
+ refinement: L,
1080
+ disabled: S || De,
1077
1081
  ...$e,
1078
- children: /* @__PURE__ */ K("div", {
1082
+ children: /* @__PURE__ */ q("div", {
1079
1083
  className: "flex flex-1 flex-col gap-1",
1080
1084
  children: [
1081
- !oe && /* @__PURE__ */ G(N, {
1082
- htmlFor: ve,
1085
+ !se && /* @__PURE__ */ K(M, {
1086
+ htmlFor: be,
1083
1087
  className: Je,
1084
1088
  label: e.instructionsLabel,
1085
- required: R
1089
+ required: Ie
1086
1090
  }),
1087
- /* @__PURE__ */ G("div", {
1088
- ref: Fe,
1091
+ /* @__PURE__ */ K("div", {
1092
+ ref: z,
1089
1093
  className: T("w-full", y, b),
1090
- children: /* @__PURE__ */ G(Qe, {
1091
- fallback: /* @__PURE__ */ G(Ie, { ariaLabel: e.editorLoadingAriaLabel ?? "Loading editor" }),
1092
- children: /* @__PURE__ */ G(Kt, {
1093
- id: ve,
1094
+ children: /* @__PURE__ */ K(Ze, {
1095
+ fallback: /* @__PURE__ */ K(Fe, { ariaLabel: e.editorLoadingAriaLabel ?? "Loading editor" }),
1096
+ children: /* @__PURE__ */ K(Kt, {
1097
+ id: be,
1094
1098
  value: r.prompt,
1095
1099
  onChange: (e) => {
1096
- Ee.reset(), g("prompt", e);
1100
+ L.reset(), g("prompt", e);
1097
1101
  },
1098
1102
  height: 480,
1099
- theme: le,
1103
+ theme: ue,
1100
1104
  placeholder: e.instructionsPlaceholder
1101
1105
  })
1102
1106
  })
1103
1107
  }),
1104
- s.prompt && /* @__PURE__ */ G(A, {
1108
+ s.prompt && /* @__PURE__ */ K(k, {
1105
1109
  id: F,
1106
- className: T(B, Z.instructionsError),
1110
+ className: T(V, Z.instructionsError),
1107
1111
  text: s.prompt
1108
1112
  })
1109
1113
  ]
@@ -1112,15 +1116,15 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
1112
1116
  })
1113
1117
  ]
1114
1118
  })
1115
- }), ke.isConfirmOpen && /* @__PURE__ */ G(_, {
1119
+ }), R.isConfirmOpen && /* @__PURE__ */ K(_, {
1116
1120
  open: !0,
1117
1121
  title: e.discardTitle ?? "Discard unsaved changes?",
1118
1122
  message: e.discardMessage ?? "You have unsaved changes. Leaving now will discard them.",
1119
- confirmLabel: Ae ? e.discardConfirmMobileLabel ?? "Discard" : e.discardConfirmLabel ?? "Discard changes",
1123
+ confirmLabel: je ? e.discardConfirmMobileLabel ?? "Discard" : e.discardConfirmLabel ?? "Discard changes",
1120
1124
  cancelLabel: e.discardCancelLabel ?? "Keep editing",
1121
- variant: me.Danger,
1122
- onConfirm: ke.confirm,
1123
- onClose: ke.dismiss
1125
+ variant: he.Danger,
1126
+ onConfirm: R.confirm,
1127
+ onClose: R.dismiss
1124
1128
  })] });
1125
1129
  }, Jt = /* @__PURE__ */ function(e) {
1126
1130
  return e.Details = "details", e.Configuration = "configuration", e.History = "history", e;
@@ -1130,30 +1134,30 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
1130
1134
  ...g,
1131
1135
  ul: "dial-small-paragraph-text mb-3 space-y-1",
1132
1136
  ol: "dial-small-paragraph-text mb-3 space-y-1"
1133
- }, Qt = ({ skillLabel: e, skillDisplayNames: t, renderSkillName: n, instructionsLabel: r, instructionsMarkdown: i, renderInstructions: a, markdownLabels: o, fieldLabelClassName: s = "dial-tiny-text" }) => /* @__PURE__ */ K("div", {
1137
+ }, Qt = ({ skillLabel: e, skillDisplayNames: t, renderSkillName: n, instructionsLabel: r, instructionsMarkdown: i, renderInstructions: a, markdownLabels: o, fieldLabelClassName: s = "dial-tiny-text" }) => /* @__PURE__ */ q("div", {
1134
1138
  className: "flex min-w-0 flex-col gap-5",
1135
- children: [!!t?.length && /* @__PURE__ */ K("div", {
1139
+ children: [!!t?.length && /* @__PURE__ */ q("div", {
1136
1140
  role: "group",
1137
1141
  "aria-label": e,
1138
1142
  className: "flex min-w-0 flex-col gap-1",
1139
- children: [/* @__PURE__ */ G("span", {
1143
+ children: [/* @__PURE__ */ K("span", {
1140
1144
  className: T(s, Xt.subtitleText),
1141
1145
  children: e
1142
- }), /* @__PURE__ */ G("p", {
1146
+ }), /* @__PURE__ */ K("p", {
1143
1147
  className: "wrap-anywhere whitespace-normal",
1144
- children: t?.map((e, t) => /* @__PURE__ */ G("span", {
1148
+ children: t?.map((e, t) => /* @__PURE__ */ K("span", {
1145
1149
  className: "block",
1146
1150
  children: n ? n(e, t) : e
1147
1151
  }, `${t}:${e}`))
1148
1152
  })]
1149
- }), i && /* @__PURE__ */ K("div", {
1153
+ }), i && /* @__PURE__ */ q("div", {
1150
1154
  role: "group",
1151
1155
  "aria-label": r,
1152
1156
  className: "flex min-w-0 flex-col gap-1",
1153
- children: [/* @__PURE__ */ G("span", {
1157
+ children: [/* @__PURE__ */ K("span", {
1154
1158
  className: T(s, Xt.subtitleText),
1155
1159
  children: r
1156
- }), a ? a(i) : /* @__PURE__ */ G(x, {
1160
+ }), a ? a(i) : /* @__PURE__ */ K(x, {
1157
1161
  content: i,
1158
1162
  classNames: Zt,
1159
1163
  ...o
@@ -1164,53 +1168,53 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
1164
1168
  description: "_description_1ncri_10"
1165
1169
  }, en = ({ labels: e, description: t, modelLabel: n, renderModelName: r, repeatsLabel: i, activeWindowLabel: a, completedLabel: o, fieldLabelClassName: s = "dial-tiny-text", fieldValueClassName: c = "dial-small-text" }) => {
1166
1170
  let l = t?.trim();
1167
- return /* @__PURE__ */ K(W, { children: [
1168
- l && /* @__PURE__ */ K("div", {
1171
+ return /* @__PURE__ */ q(G, { children: [
1172
+ l && /* @__PURE__ */ q("div", {
1169
1173
  className: "flex min-w-0 flex-col gap-1",
1170
- children: [/* @__PURE__ */ G("span", {
1174
+ children: [/* @__PURE__ */ K("span", {
1171
1175
  className: T(s, $t.subtitleText),
1172
1176
  children: e.descriptionLabel
1173
- }), /* @__PURE__ */ G("p", {
1177
+ }), /* @__PURE__ */ K("p", {
1174
1178
  className: T(c, "wrap-anywhere whitespace-pre-wrap", $t.description),
1175
1179
  children: l
1176
1180
  })]
1177
1181
  }),
1178
- o && /* @__PURE__ */ K("div", {
1182
+ o && /* @__PURE__ */ q("div", {
1179
1183
  className: "flex min-w-0 flex-col gap-1",
1180
- children: [/* @__PURE__ */ G("span", {
1184
+ children: [/* @__PURE__ */ K("span", {
1181
1185
  className: T(s, $t.subtitleText),
1182
1186
  children: e.completedFieldLabel
1183
- }), /* @__PURE__ */ G("p", {
1187
+ }), /* @__PURE__ */ K("p", {
1184
1188
  className: c,
1185
1189
  children: o
1186
1190
  })]
1187
1191
  }),
1188
- n && /* @__PURE__ */ K("div", {
1192
+ n && /* @__PURE__ */ q("div", {
1189
1193
  className: "flex min-w-0 flex-col gap-1",
1190
- children: [/* @__PURE__ */ G("span", {
1194
+ children: [/* @__PURE__ */ K("span", {
1191
1195
  className: T(s, $t.subtitleText),
1192
1196
  children: e.modelLabel
1193
- }), /* @__PURE__ */ G("p", {
1197
+ }), /* @__PURE__ */ K("p", {
1194
1198
  className: c,
1195
1199
  children: r ? r(n) : n
1196
1200
  })]
1197
1201
  }),
1198
- i && /* @__PURE__ */ K("div", {
1202
+ i && /* @__PURE__ */ q("div", {
1199
1203
  className: "flex min-w-0 flex-col gap-1",
1200
- children: [/* @__PURE__ */ G("span", {
1204
+ children: [/* @__PURE__ */ K("span", {
1201
1205
  className: T(s, $t.subtitleText),
1202
1206
  children: e.repeatsLabel
1203
- }), /* @__PURE__ */ G("p", {
1207
+ }), /* @__PURE__ */ K("p", {
1204
1208
  className: c,
1205
1209
  children: i
1206
1210
  })]
1207
1211
  }),
1208
- a && /* @__PURE__ */ K("div", {
1212
+ a && /* @__PURE__ */ q("div", {
1209
1213
  className: "flex min-w-0 flex-col gap-1",
1210
- children: [/* @__PURE__ */ G("span", {
1214
+ children: [/* @__PURE__ */ K("span", {
1211
1215
  className: T(s, $t.subtitleText),
1212
1216
  children: e.activeWindowLabel
1213
- }), /* @__PURE__ */ G("p", {
1217
+ }), /* @__PURE__ */ K("p", {
1214
1218
  className: c,
1215
1219
  children: a
1216
1220
  })]
@@ -1231,32 +1235,32 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
1231
1235
  errorDetailsText: "_errorDetailsText_1sc83_52"
1232
1236
  }, nn = ({ status: e }) => {
1233
1237
  switch (e) {
1234
- case tn.Success: return /* @__PURE__ */ G(We, {
1235
- size: O.SM,
1238
+ case tn.Success: return /* @__PURE__ */ K(Ue, {
1239
+ size: D.SM,
1236
1240
  className: Q.successIcon,
1237
1241
  "aria-hidden": !0,
1238
- stroke: k
1242
+ stroke: O
1239
1243
  });
1240
- case tn.Error: return /* @__PURE__ */ G(qe, {
1241
- size: O.SM,
1244
+ case tn.Error: return /* @__PURE__ */ K(Ke, {
1245
+ size: D.SM,
1242
1246
  className: Q.errorIcon,
1243
1247
  "aria-hidden": !0,
1244
- stroke: k
1248
+ stroke: O
1245
1249
  });
1246
- case tn.InProgress: return /* @__PURE__ */ G("span", {
1250
+ case tn.InProgress: return /* @__PURE__ */ K("span", {
1247
1251
  "aria-hidden": !0,
1248
- children: /* @__PURE__ */ G(Ie, { size: O.SM })
1252
+ children: /* @__PURE__ */ K(Fe, { size: D.SM })
1249
1253
  });
1250
- case tn.Missed: return /* @__PURE__ */ G(Ve, {
1251
- size: O.SM,
1254
+ case tn.Missed: return /* @__PURE__ */ K(Be, {
1255
+ size: D.SM,
1252
1256
  className: Q.missedIcon,
1253
1257
  "aria-hidden": !0,
1254
- stroke: k
1258
+ stroke: O
1255
1259
  });
1256
1260
  default: return null;
1257
1261
  }
1258
1262
  }, rn = ({ items: e, isLoading: t = !1, isLoadingMore: n = !1, skeletonCount: r = 6, error: i, onRetry: a, currentRunId: o, onRunClick: s, labels: c, footer: l, styles: u }) => {
1259
- let { colors: d, typography: f } = u ?? {}, p = f?.runTimestampClassName ?? "dial-small-paragraph-text", m = f?.runTimestampUnreadClassName ?? "dial-small-paragraph-semi-text", h = f?.subtitleClassName ?? "dial-body-text", g = f?.errorDetailsClassName ?? "dial-tiny-text", _ = c.unreadIndicatorLabel ?? "Unread", v = c.openConversationLabel ?? "Open conversation", y = V(), [b, x] = U(() => /* @__PURE__ */ new Set()), ee = (e) => {
1263
+ let { colors: d, typography: f } = u ?? {}, p = f?.runTimestampClassName ?? "dial-small-paragraph-text", m = f?.runTimestampUnreadClassName ?? "dial-small-paragraph-semi-text", h = f?.subtitleClassName ?? "dial-body-text", g = f?.errorDetailsClassName ?? "dial-tiny-text", _ = c.unreadIndicatorLabel ?? "Unread", v = c.openConversationLabel ?? "Open conversation", y = H(), [b, x] = W(() => /* @__PURE__ */ new Set()), ee = (e) => {
1260
1264
  x((t) => {
1261
1265
  let n = new Set(t);
1262
1266
  return n.has(e) ? n.delete(e) : n.add(e), n;
@@ -1280,35 +1284,35 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
1280
1284
  t,
1281
1285
  e.timestampLabel,
1282
1286
  e.durationLabel
1283
- ].filter(Boolean).join(" "), ...l].join(" — "), d = !!e.conversationId && !!s, f = !i && d, h = f || i, x = "-mx-(--strhl-row-bleed,0px)", S = T("flex min-h-(--strhl-row-min-height,32px) items-center justify-between gap-2 rounded-full px-3", n && Q.currentRun, a && Q.expandedRow, h && "w-full cursor-pointer text-start", h && Q.interactiveRow), C = /* @__PURE__ */ K(W, { children: [/* @__PURE__ */ K("span", {
1287
+ ].filter(Boolean).join(" "), ...l].join(" — "), d = !!e.conversationId && !!s, f = !i && d, h = f || i, x = "-mx-(--strhl-row-bleed,0px)", S = T("flex min-h-(--strhl-row-min-height,32px) items-center justify-between gap-2 rounded-full px-3", n && Q.currentRun, a && Q.expandedRow, h && "w-full cursor-pointer text-start", h && Q.interactiveRow), C = /* @__PURE__ */ q(G, { children: [/* @__PURE__ */ q("span", {
1284
1288
  className: "flex min-w-0 items-center gap-1",
1285
- children: [/* @__PURE__ */ G(nn, { status: e.status }), /* @__PURE__ */ K("span", {
1289
+ children: [/* @__PURE__ */ K(nn, { status: e.status }), /* @__PURE__ */ q("span", {
1286
1290
  className: "flex min-w-0 items-center gap-1",
1287
- children: [/* @__PURE__ */ G("span", {
1291
+ children: [/* @__PURE__ */ K("span", {
1288
1292
  className: T(e.isUnread ? m : p, "truncate"),
1289
1293
  children: e.timestampLabel
1290
- }), e.durationLabel && /* @__PURE__ */ G("span", {
1294
+ }), e.durationLabel && /* @__PURE__ */ K("span", {
1291
1295
  className: T(p, Q.subtitleText, "shrink-0"),
1292
1296
  children: e.durationLabel
1293
1297
  })]
1294
1298
  })]
1295
- }), /* @__PURE__ */ K("span", {
1299
+ }), /* @__PURE__ */ q("span", {
1296
1300
  className: "relative flex size-3 shrink-0 items-center justify-center",
1297
- children: [i && /* @__PURE__ */ G(Ge, {
1298
- size: O.SM,
1299
- stroke: k,
1301
+ children: [i && /* @__PURE__ */ K(We, {
1302
+ size: D.SM,
1303
+ stroke: O,
1300
1304
  "aria-hidden": !0,
1301
1305
  className: T("shrink-0 transition-transform duration-200 motion-reduce:transition-none", Q.chevronIcon, a && "rotate-180")
1302
- }), !i && e.isUnread && /* @__PURE__ */ G("span", {
1306
+ }), !i && e.isUnread && /* @__PURE__ */ K("span", {
1303
1307
  className: T("size-[5.33px] rounded-full", Q.unreadDot),
1304
1308
  "aria-hidden": !0
1305
1309
  })]
1306
1310
  })] });
1307
1311
  if (i) {
1308
1312
  let t = `${y}-${e.id}-header`, i = `${y}-${e.id}-details`;
1309
- return /* @__PURE__ */ K("li", {
1313
+ return /* @__PURE__ */ q("li", {
1310
1314
  className: T(x, "flex flex-col"),
1311
- children: [/* @__PURE__ */ G("button", {
1315
+ children: [/* @__PURE__ */ K("button", {
1312
1316
  type: "button",
1313
1317
  id: t,
1314
1318
  "aria-label": u,
@@ -1318,20 +1322,20 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
1318
1322
  className: S,
1319
1323
  onClick: () => ee(e.id),
1320
1324
  children: C
1321
- }), /* @__PURE__ */ G("div", {
1325
+ }), /* @__PURE__ */ K("div", {
1322
1326
  inert: !a,
1323
1327
  className: T("grid transition-[grid-template-rows] duration-200 ease-out motion-reduce:transition-none", a ? "grid-rows-[1fr]" : "grid-rows-[0fr]"),
1324
- children: /* @__PURE__ */ G("div", {
1328
+ children: /* @__PURE__ */ K("div", {
1325
1329
  className: "min-h-0 overflow-hidden",
1326
- children: /* @__PURE__ */ K("div", {
1330
+ children: /* @__PURE__ */ q("div", {
1327
1331
  id: i,
1328
1332
  role: "region",
1329
1333
  "aria-labelledby": t,
1330
1334
  className: "flex min-w-0 flex-col items-start gap-1 ps-8 pe-3 pt-1 pb-2",
1331
- children: [/* @__PURE__ */ G("p", {
1335
+ children: [/* @__PURE__ */ K("p", {
1332
1336
  className: T(g, Q.errorDetailsText, "max-w-full wrap-break-word whitespace-pre-wrap"),
1333
1337
  children: r
1334
- }), d && /* @__PURE__ */ G(P, {
1338
+ }), d && /* @__PURE__ */ K(N, {
1335
1339
  label: v,
1336
1340
  onClick: () => s?.(e)
1337
1341
  })]
@@ -1340,89 +1344,89 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
1340
1344
  })]
1341
1345
  }, e.id);
1342
1346
  }
1343
- return f ? /* @__PURE__ */ G("li", { children: /* @__PURE__ */ G("button", {
1347
+ return f ? /* @__PURE__ */ K("li", { children: /* @__PURE__ */ K("button", {
1344
1348
  type: "button",
1345
1349
  "aria-label": u,
1346
1350
  "aria-current": n ? "true" : void 0,
1347
1351
  className: T(x, S),
1348
1352
  onClick: () => s?.(e),
1349
1353
  children: C
1350
- }) }, e.id) : /* @__PURE__ */ G("li", {
1354
+ }) }, e.id) : /* @__PURE__ */ K("li", {
1351
1355
  "aria-label": u,
1352
1356
  "aria-current": n ? "true" : void 0,
1353
1357
  className: T(x, S),
1354
1358
  children: C
1355
1359
  }, e.id);
1356
- }, E = (e) => Array.from({ length: e }, (e, t) => /* @__PURE__ */ K("li", {
1360
+ }, te = (e) => Array.from({ length: e }, (e, t) => /* @__PURE__ */ q("li", {
1357
1361
  "aria-hidden": "true",
1358
1362
  className: "-mx-(--strhl-row-bleed,0px) flex min-h-(--strhl-row-min-height,32px) items-center justify-between gap-2 px-3",
1359
- children: [/* @__PURE__ */ G(Fe, {
1360
- variant: R.Rectangular,
1363
+ children: [/* @__PURE__ */ K(Pe, {
1364
+ variant: z.Rectangular,
1361
1365
  width: "160px",
1362
1366
  height: "16px"
1363
- }), /* @__PURE__ */ G(Fe, {
1364
- variant: R.Rectangular,
1367
+ }), /* @__PURE__ */ K(Pe, {
1368
+ variant: z.Rectangular,
1365
1369
  width: "16px",
1366
1370
  height: "16px",
1367
1371
  className: "shrink-0 rounded-full"
1368
1372
  })]
1369
- }, `history-skeleton-${t}`)), D = {
1373
+ }, `history-skeleton-${t}`)), E = {
1370
1374
  ...S,
1371
1375
  "--strhl-row-min-height": u?.rowMinHeight
1372
- }, te = !t && i != null && e.length === 0, ne;
1373
- return ne = t && e.length === 0 ? /* @__PURE__ */ G("ul", {
1374
- style: D,
1376
+ }, ne = !t && i != null && e.length === 0, re;
1377
+ return re = t && e.length === 0 ? /* @__PURE__ */ K("ul", {
1378
+ style: E,
1375
1379
  "aria-label": c.historyTitle,
1376
1380
  className: "flex flex-col gap-0.5",
1377
- children: E(r)
1378
- }) : te ? /* @__PURE__ */ K("div", {
1381
+ children: te(r)
1382
+ }) : ne ? /* @__PURE__ */ q("div", {
1379
1383
  style: S,
1380
1384
  className: "flex flex-col items-start gap-3",
1381
- children: [/* @__PURE__ */ G("p", {
1385
+ children: [/* @__PURE__ */ K("p", {
1382
1386
  "aria-hidden": !0,
1383
1387
  className: T(h, Q.subtitleText),
1384
1388
  children: c.errorLabel
1385
- }), /* @__PURE__ */ G(j, {
1389
+ }), /* @__PURE__ */ K(A, {
1386
1390
  label: c.retryLabel,
1387
1391
  onClick: a
1388
1392
  })]
1389
- }) : e.length === 0 ? /* @__PURE__ */ G("div", {
1393
+ }) : e.length === 0 ? /* @__PURE__ */ K("div", {
1390
1394
  style: S,
1391
1395
  className: "w-full py-4",
1392
- children: /* @__PURE__ */ G(L, {
1396
+ children: /* @__PURE__ */ K(L, {
1393
1397
  title: c.emptyLabel,
1394
1398
  description: c.emptyDescription,
1395
1399
  live: !0
1396
1400
  })
1397
- }) : /* @__PURE__ */ K("ul", {
1398
- style: D,
1401
+ }) : /* @__PURE__ */ q("ul", {
1402
+ style: E,
1399
1403
  "aria-label": c.historyTitle,
1400
1404
  className: "flex flex-col gap-0.5",
1401
1405
  children: [
1402
1406
  e.map(C),
1403
- n && E(r),
1404
- i ? /* @__PURE__ */ K("li", {
1407
+ n && te(r),
1408
+ i ? /* @__PURE__ */ q("li", {
1405
1409
  className: "flex flex-col items-start gap-3 px-5 py-2",
1406
- children: [/* @__PURE__ */ G("p", {
1410
+ children: [/* @__PURE__ */ K("p", {
1407
1411
  className: T(h, Q.subtitleText),
1408
1412
  children: c.errorLabel
1409
- }), /* @__PURE__ */ G(j, {
1413
+ }), /* @__PURE__ */ K(A, {
1410
1414
  label: c.retryLabel,
1411
1415
  onClick: a
1412
1416
  })]
1413
1417
  }) : l
1414
1418
  ]
1415
- }), /* @__PURE__ */ K(W, { children: [
1416
- ne,
1417
- /* @__PURE__ */ G(F, {
1419
+ }), /* @__PURE__ */ q(G, { children: [
1420
+ re,
1421
+ /* @__PURE__ */ K(P, {
1418
1422
  visuallyHidden: !0,
1419
- as: I.Span,
1420
- children: te ? c.errorLabel : ""
1423
+ as: F.Span,
1424
+ children: ne ? c.errorLabel : ""
1421
1425
  }),
1422
- /* @__PURE__ */ G(F, {
1423
- politeness: Ce.Assertive,
1426
+ /* @__PURE__ */ K(P, {
1427
+ politeness: we.Assertive,
1424
1428
  visuallyHidden: !0,
1425
- as: I.Span,
1429
+ as: F.Span,
1426
1430
  children: i && e.length > 0 ? c.errorLabel : ""
1427
1431
  })
1428
1432
  ] });
@@ -1431,33 +1435,33 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
1431
1435
  subtitleText: "_subtitleText_153p9_8",
1432
1436
  cardLayout: "_cardLayout_153p9_13"
1433
1437
  }, on = ({ variant: e, labels: t, nextRunLabel: n, items: r, isLoading: i = !1, isLoadingMore: a = !1, skeletonCount: o = 6, error: s, onRetry: c, loadMoreError: l, onRetryLoadMore: u, hasMore: d = !1, onLoadMore: f, onRunClick: p, runTimestampClassName: m = "dial-small-text", runTimestampUnreadClassName: h = "dial-small-semi-text", errorDetailsClassName: g = "dial-tiny-text", sectionTitleClassName: _ = "dial-body-semi-text", colors: v, styles: y }) => {
1434
- let b = e === Yt.Card, x = b ? T("sticky bottom-0 z-10 rounded-b-xl px-6 pb-5 pt-2", an.historyCard) : "pt-2", ee = t.historyLoadMoreErrorLabel ?? t.historyErrorLabel, S = l ? /* @__PURE__ */ K("li", {
1438
+ let b = e === Yt.Card, x = b ? T("sticky bottom-0 z-10 rounded-b-xl px-6 pb-5 pt-2", an.historyCard) : "pt-2", ee = t.historyLoadMoreErrorLabel ?? t.historyErrorLabel, S = l ? /* @__PURE__ */ q("li", {
1435
1439
  className: x,
1436
- children: [/* @__PURE__ */ G("p", { children: ee }), u && /* @__PURE__ */ G(j, {
1440
+ children: [/* @__PURE__ */ K("p", { children: ee }), u && /* @__PURE__ */ K(A, {
1437
1441
  label: t.historyRetryLabel,
1438
1442
  onClick: u,
1439
1443
  disabled: a
1440
1444
  })]
1441
- }) : f && d && t.historyShowMoreLabel ? /* @__PURE__ */ G("li", {
1445
+ }) : f && d && t.historyShowMoreLabel ? /* @__PURE__ */ K("li", {
1442
1446
  className: x,
1443
- children: /* @__PURE__ */ G(j, {
1447
+ children: /* @__PURE__ */ K(A, {
1444
1448
  label: t.historyShowMoreLabel,
1445
1449
  onClick: f,
1446
1450
  disabled: a
1447
1451
  })
1448
- }) : void 0, C = n ? /* @__PURE__ */ G("p", {
1452
+ }) : void 0, C = n ? /* @__PURE__ */ K("p", {
1449
1453
  className: T(m, an.subtitleText),
1450
1454
  children: n
1451
- }) : void 0, w = /* @__PURE__ */ G(F, {
1452
- politeness: Ce.Assertive,
1455
+ }) : void 0, w = /* @__PURE__ */ K(P, {
1456
+ politeness: we.Assertive,
1453
1457
  visuallyHidden: !0,
1454
- as: I.Span,
1458
+ as: F.Span,
1455
1459
  children: l ? ee : ""
1456
- }), E = t.historyLoadingMoreLabel ? /* @__PURE__ */ G(F, {
1460
+ }), te = t.historyLoadingMoreLabel ? /* @__PURE__ */ K(P, {
1457
1461
  visuallyHidden: !0,
1458
- as: I.Span,
1462
+ as: F.Span,
1459
1463
  children: a ? t.historyLoadingMoreLabel : ""
1460
- }) : void 0, D = /* @__PURE__ */ G(rn, {
1464
+ }) : void 0, E = /* @__PURE__ */ K(rn, {
1461
1465
  items: r,
1462
1466
  isLoading: i,
1463
1467
  isLoadingMore: a,
@@ -1490,32 +1494,32 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
1490
1494
  rowExpandedBackground: y?.rowExpandedBackground
1491
1495
  }
1492
1496
  });
1493
- return b ? /* @__PURE__ */ K("div", {
1497
+ return b ? /* @__PURE__ */ q("div", {
1494
1498
  className: T("flex max-h-(--st-history-max-height,70vh) w-full max-w-full flex-col overflow-y-auto rounded-xl shadow-md", an.historyCard, an.cardLayout),
1495
1499
  style: { "--st-history-max-height": y?.maxHeight },
1496
- children: [/* @__PURE__ */ K("div", {
1500
+ children: [/* @__PURE__ */ q("div", {
1497
1501
  className: T("sticky top-0 z-10 flex flex-col gap-4 rounded-t-xl px-6 pt-5 pb-2", an.historyCard),
1498
1502
  children: [
1499
- /* @__PURE__ */ G("h2", {
1503
+ /* @__PURE__ */ K("h2", {
1500
1504
  className: _,
1501
1505
  children: t.historyTitle
1502
1506
  }),
1503
1507
  C,
1504
- E,
1508
+ te,
1505
1509
  w
1506
1510
  ]
1507
- }), /* @__PURE__ */ G("div", {
1511
+ }), /* @__PURE__ */ K("div", {
1508
1512
  className: "flex flex-1 flex-col gap-4 px-6 pb-2",
1509
1513
  style: { "--strhl-row-bleed": "12px" },
1510
- children: D
1514
+ children: E
1511
1515
  })]
1512
- }) : /* @__PURE__ */ K("div", {
1516
+ }) : /* @__PURE__ */ q("div", {
1513
1517
  className: "flex flex-col gap-4",
1514
1518
  children: [
1515
1519
  C,
1516
- E,
1520
+ te,
1517
1521
  w,
1518
- D
1522
+ E
1519
1523
  ]
1520
1524
  });
1521
1525
  }, $ = {
@@ -1531,15 +1535,15 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
1531
1535
  actionButton: "_actionButton_hdn5b_75",
1532
1536
  roundActionButton: "_roundActionButton_hdn5b_82",
1533
1537
  stickyTabs: "_stickyTabs_hdn5b_88"
1534
- }, sn = "min-w-0 max-w-[600px]", cn = ({ labels: e, onBack: t, onEdit: n, onStartNow: r, isStarting: i = !1, isStartNowDisabled: a = !1, isStartNowBusy: o = !1, onDelete: s, isDeleting: c = !1, isDeleted: l = !1, isCompleted: u = !1, isActive: d, isActiveUpdating: f = !1, isActiveDisabled: p = !1, activeDisabledReason: m, onActiveChange: h, displayName: g, isLoading: _ = !1, error: v, onRetry: y, description: b, modelLabel: x, renderModelName: ee, repeatsLabel: S, activeWindowLabel: C, completedLabel: E, nextRunLabel: D, instructionsMarkdown: ne, skillDisplayNames: re, renderSkillName: ie, renderInstructions: ae, runs: oe, runsIsLoading: se = !1, runsIsLoadingMore: ce = !1, runsSkeletonCount: le = 6, runsError: de, onRunsRetry: fe, runsLoadMoreError: pe, onRunsRetryLoadMore: me, runsHasMore: he = !1, onRunsLoadMore: ge, onRunClick: _e, styles: ye, className: A, backIcon: be, layout: M, historyStyles: Se }) => {
1535
- let { colors: N, typography: P } = ye ?? {}, Ce = P?.titleClassName ?? "dial-h2-text", we = P?.sectionTitleClassName ?? "dial-body-semi-text", Te = P?.fieldLabelClassName ?? "dial-tiny-text", L = P?.fieldValueClassName ?? "dial-small-text", De = P?.runTimestampClassName ?? "dial-small-text", Oe = w({
1536
- "--stdv-bg": N?.background,
1537
- "--stdv-header-border": N?.headerBorder,
1538
- "--stdv-details-border": N?.detailsColumnBorder,
1539
- "--stdv-subtitle-text": N?.subtitleText,
1540
- "--stdv-description-text": N?.descriptionText,
1541
- "--stdv-history-bg": N?.historyCardBackground
1542
- }), ke = te(), [Ae, je] = U(Jt.Details), Me = V(), Ne = o && !i ? e.startNowBusyLabel : void 0, Pe = [
1538
+ }, sn = "min-w-0 max-w-[600px]", cn = ({ labels: e, onBack: t, onEdit: n, onStartNow: r, isStarting: i = !1, isStartNowDisabled: a = !1, isStartNowBusy: o = !1, onDelete: s, isDeleting: c = !1, isDeleted: l = !1, isCompleted: u = !1, isActive: d, isActiveUpdating: f = !1, isActiveDisabled: p = !1, activeDisabledReason: m, onActiveChange: h, displayName: g, isLoading: _ = !1, error: v, onRetry: y, description: b, modelLabel: x, renderModelName: ee, repeatsLabel: S, activeWindowLabel: C, completedLabel: te, nextRunLabel: E, instructionsMarkdown: re, skillDisplayNames: ie, renderSkillName: ae, renderInstructions: oe, runs: se, runsIsLoading: ce = !1, runsIsLoadingMore: le = !1, runsSkeletonCount: ue = 6, runsError: fe, onRunsRetry: pe, runsLoadMoreError: me, onRunsRetryLoadMore: he, runsHasMore: ge = !1, onRunsLoadMore: _e, onRunClick: ve, styles: be, className: k, backIcon: xe, layout: j, historyStyles: Ce }) => {
1539
+ let { colors: M, typography: N } = be ?? {}, we = N?.titleClassName ?? "dial-h2-text", I = N?.sectionTitleClassName ?? "dial-body-semi-text", Te = N?.fieldLabelClassName ?? "dial-tiny-text", L = N?.fieldValueClassName ?? "dial-small-text", De = N?.runTimestampClassName ?? "dial-small-text", Oe = w({
1540
+ "--stdv-bg": M?.background,
1541
+ "--stdv-header-border": M?.headerBorder,
1542
+ "--stdv-details-border": M?.detailsColumnBorder,
1543
+ "--stdv-subtitle-text": M?.subtitleText,
1544
+ "--stdv-description-text": M?.descriptionText,
1545
+ "--stdv-history-bg": M?.historyCardBackground
1546
+ }), ke = ne(), [R, Ae] = W(Jt.Details), je = H(), Me = o && !i ? e.startNowBusyLabel : void 0, Ne = [
1543
1547
  {
1544
1548
  id: Jt.Details,
1545
1549
  label: e.detailsTitle
@@ -1552,7 +1556,7 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
1552
1556
  id: Jt.History,
1553
1557
  label: e.historyTitle
1554
1558
  }
1555
- ], Fe = Pe.find((e) => e.id === Ae)?.label ?? e.detailsTitle, R = /* @__PURE__ */ G(en, {
1559
+ ], Pe = Ne.find((e) => e.id === R)?.label ?? e.detailsTitle, z = /* @__PURE__ */ K(en, {
1556
1560
  labels: {
1557
1561
  descriptionLabel: e.descriptionLabel,
1558
1562
  modelLabel: e.modelLabel,
@@ -1565,16 +1569,16 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
1565
1569
  renderModelName: ee,
1566
1570
  repeatsLabel: S,
1567
1571
  activeWindowLabel: C,
1568
- completedLabel: E,
1572
+ completedLabel: te,
1569
1573
  fieldLabelClassName: Te,
1570
1574
  fieldValueClassName: L
1571
- }), ze = /* @__PURE__ */ G(Qt, {
1575
+ }), Re = /* @__PURE__ */ K(Qt, {
1572
1576
  instructionsLabel: e.instructionsLabel,
1573
1577
  skillLabel: e.skillLabel,
1574
- skillDisplayNames: re,
1575
- renderSkillName: ie,
1576
- instructionsMarkdown: ne,
1577
- renderInstructions: ae,
1578
+ skillDisplayNames: ie,
1579
+ renderSkillName: ae,
1580
+ instructionsMarkdown: re,
1581
+ renderInstructions: oe,
1578
1582
  markdownLabels: {
1579
1583
  codeBlockCopyLabel: e.codeBlockCopyLabel,
1580
1584
  codeBlockCopiedLabel: e.codeBlockCopiedLabel,
@@ -1583,7 +1587,7 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
1583
1587
  mathScrollRegionAriaLabel: e.mathScrollRegionAriaLabel
1584
1588
  },
1585
1589
  fieldLabelClassName: Te
1586
- }), Be = (t) => /* @__PURE__ */ G(on, {
1590
+ }), ze = (t) => /* @__PURE__ */ K(on, {
1587
1591
  variant: t,
1588
1592
  labels: {
1589
1593
  historyTitle: e.historyTitle,
@@ -1598,109 +1602,109 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
1598
1602
  unreadIndicatorLabel: e.unreadIndicatorLabel,
1599
1603
  openConversationLabel: e.openConversationLabel
1600
1604
  },
1601
- nextRunLabel: D,
1602
- items: oe,
1603
- isLoading: se,
1604
- isLoadingMore: ce,
1605
- skeletonCount: le,
1606
- error: de,
1607
- onRetry: fe,
1608
- loadMoreError: pe,
1609
- onRetryLoadMore: me,
1610
- hasMore: he,
1611
- onLoadMore: ge,
1612
- onRunClick: _e,
1605
+ nextRunLabel: E,
1606
+ items: se,
1607
+ isLoading: ce,
1608
+ isLoadingMore: le,
1609
+ skeletonCount: ue,
1610
+ error: fe,
1611
+ onRetry: pe,
1612
+ loadMoreError: me,
1613
+ onRetryLoadMore: he,
1614
+ hasMore: ge,
1615
+ onLoadMore: _e,
1616
+ onRunClick: ve,
1613
1617
  runTimestampClassName: De,
1614
- sectionTitleClassName: we,
1615
- colors: N,
1616
- styles: Se
1618
+ sectionTitleClassName: I,
1619
+ colors: M,
1620
+ styles: Ce
1617
1621
  });
1618
- return /* @__PURE__ */ K("div", {
1622
+ return /* @__PURE__ */ q("div", {
1619
1623
  style: Oe,
1620
- className: T("flex h-full min-h-0 w-full flex-col overflow-hidden", $.container, A),
1624
+ className: T("flex h-full min-h-0 w-full flex-col overflow-hidden", $.container, k),
1621
1625
  children: [
1622
- /* @__PURE__ */ K("div", {
1626
+ /* @__PURE__ */ q("div", {
1623
1627
  className: T("flex min-h-16 shrink-0 items-start justify-between gap-2 px-4 py-2 desktop:h-16 desktop:flex-nowrap desktop:items-center desktop:px-8 desktop:py-0", $.header),
1624
- children: [/* @__PURE__ */ K("div", {
1628
+ children: [/* @__PURE__ */ q("div", {
1625
1629
  className: "flex min-w-0 items-center gap-2",
1626
1630
  children: [
1627
- /* @__PURE__ */ G(xe, {
1628
- icon: be === void 0 ? /* @__PURE__ */ G(He, {
1629
- size: O.LG,
1631
+ /* @__PURE__ */ K(Se, {
1632
+ icon: xe === void 0 ? /* @__PURE__ */ K(Ve, {
1633
+ size: D.LG,
1630
1634
  className: "rtl:scale-x-[-1]",
1631
1635
  "aria-hidden": !0,
1632
- stroke: k
1633
- }) : be,
1636
+ stroke: O
1637
+ }) : xe,
1634
1638
  "aria-label": e.backAriaLabel,
1635
1639
  onClick: t
1636
1640
  }),
1637
- /* @__PURE__ */ G("h1", {
1641
+ /* @__PURE__ */ K("h1", {
1638
1642
  className: T(sn, $.desktopTitle),
1639
- children: /* @__PURE__ */ G(ve, {
1643
+ children: /* @__PURE__ */ K(ye, {
1640
1644
  text: g,
1641
- className: Ce
1645
+ className: we
1642
1646
  })
1643
1647
  }),
1644
- l && /* @__PURE__ */ G("span", {
1648
+ l && /* @__PURE__ */ K("span", {
1645
1649
  className: T("shrink-0", $.desktopBadge, L, $.subtitleText),
1646
1650
  children: e.deletedStateLabel
1647
1651
  })
1648
1652
  ]
1649
- }), /* @__PURE__ */ K("div", {
1653
+ }), /* @__PURE__ */ q("div", {
1650
1654
  className: T("flex min-w-0 flex-1 flex-wrap items-center justify-end gap-2 desktop:flex-none desktop:flex-nowrap", $.headerActions),
1651
1655
  children: [
1652
- !l && !u && d !== void 0 && /* @__PURE__ */ K(W, { children: [/* @__PURE__ */ G(Le, {
1656
+ !l && !u && d !== void 0 && /* @__PURE__ */ q(G, { children: [/* @__PURE__ */ K(Ie, {
1653
1657
  id: "scheduled-task-active-switch",
1654
1658
  labelProps: { label: e.activeStatusLabel },
1655
1659
  isOn: d,
1656
1660
  disabled: f || p || c,
1657
1661
  onChange: (e) => h?.(e)
1658
- }), p && m && /* @__PURE__ */ G("span", {
1662
+ }), p && m && /* @__PURE__ */ K("span", {
1659
1663
  className: T(L, $.subtitleText),
1660
1664
  children: m
1661
1665
  })] }),
1662
- !l && s && /* @__PURE__ */ G(j, {
1663
- variant: ue.Danger,
1666
+ !l && s && /* @__PURE__ */ K(A, {
1667
+ variant: de.Danger,
1664
1668
  label: e.deleteButtonLabel,
1665
- iconBefore: /* @__PURE__ */ G(Ze, {
1666
- size: O.SM,
1669
+ iconBefore: /* @__PURE__ */ K(Xe, {
1670
+ size: D.SM,
1667
1671
  "aria-hidden": !0,
1668
- stroke: k
1672
+ stroke: O
1669
1673
  }),
1670
1674
  onClick: s,
1671
1675
  disabled: c,
1672
1676
  textClassName: $.actionLabel,
1673
1677
  className: T("min-h-11 shrink-0", $.actionButton)
1674
1678
  }),
1675
- !l && n && /* @__PURE__ */ G(Ee, {
1679
+ !l && n && /* @__PURE__ */ K(Ee, {
1676
1680
  label: e.editButtonLabel,
1677
- iconBefore: /* @__PURE__ */ G(Je, {
1678
- size: O.SM,
1681
+ iconBefore: /* @__PURE__ */ K(qe, {
1682
+ size: D.SM,
1679
1683
  "aria-hidden": !0,
1680
- stroke: k
1684
+ stroke: O
1681
1685
  }),
1682
1686
  onClick: n,
1683
1687
  disabled: c,
1684
1688
  textClassName: $.actionLabel,
1685
1689
  className: T("min-h-11 shrink-0", $.actionButton, $.roundActionButton)
1686
1690
  }),
1687
- !l && r && e.startNowButtonLabel && /* @__PURE__ */ K("div", {
1691
+ !l && r && e.startNowButtonLabel && /* @__PURE__ */ q("div", {
1688
1692
  "aria-busy": i,
1689
- children: [Ne && /* @__PURE__ */ G("span", {
1690
- id: Me,
1693
+ children: [Me && /* @__PURE__ */ K("span", {
1694
+ id: je,
1691
1695
  className: "sr-only",
1692
- children: Ne
1693
- }), /* @__PURE__ */ G(Ee, {
1696
+ children: Me
1697
+ }), /* @__PURE__ */ K(Ee, {
1694
1698
  label: i ? e.startingLabel ?? e.startNowButtonLabel : e.startNowButtonLabel,
1695
- iconBefore: /* @__PURE__ */ G(Ye, {
1696
- size: O.SM,
1699
+ iconBefore: /* @__PURE__ */ K(V, {
1700
+ size: D.SM,
1697
1701
  "aria-hidden": !0,
1698
- stroke: k
1702
+ stroke: O
1699
1703
  }),
1700
1704
  onClick: r,
1701
1705
  disabled: c || i || a || o,
1702
- "aria-describedby": Ne ? Me : void 0,
1703
- tooltipProps: Ne ? { tooltip: Ne } : void 0,
1706
+ "aria-describedby": Me ? je : void 0,
1707
+ tooltipProps: Me ? { tooltip: Me } : void 0,
1704
1708
  textClassName: $.actionLabel,
1705
1709
  className: T("min-h-11 shrink-0", $.actionButton, $.roundActionButton)
1706
1710
  })]
@@ -1708,101 +1712,101 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
1708
1712
  ]
1709
1713
  })]
1710
1714
  }),
1711
- /* @__PURE__ */ K("div", {
1715
+ /* @__PURE__ */ q("div", {
1712
1716
  className: T("min-w-0 items-center gap-2 px-4 py-3", $.mobileTitleRow),
1713
- children: [/* @__PURE__ */ G("h1", {
1717
+ children: [/* @__PURE__ */ K("h1", {
1714
1718
  className: sn,
1715
- children: /* @__PURE__ */ G(ve, {
1719
+ children: /* @__PURE__ */ K(ye, {
1716
1720
  text: g,
1717
- className: Ce
1721
+ className: we
1718
1722
  })
1719
- }), l && /* @__PURE__ */ G("span", {
1723
+ }), l && /* @__PURE__ */ K("span", {
1720
1724
  className: T("shrink-0", L, $.subtitleText),
1721
1725
  children: e.deletedStateLabel
1722
1726
  })]
1723
1727
  }),
1724
- e.activeStatusAnnouncement != null && /* @__PURE__ */ G(F, {
1728
+ e.activeStatusAnnouncement != null && /* @__PURE__ */ K(P, {
1725
1729
  visuallyHidden: !0,
1726
- as: I.Span,
1730
+ as: F.Span,
1727
1731
  children: e.activeStatusAnnouncement
1728
1732
  }),
1729
- e.startStatusAnnouncement != null && /* @__PURE__ */ G(F, {
1733
+ e.startStatusAnnouncement != null && /* @__PURE__ */ K(P, {
1730
1734
  visuallyHidden: !0,
1731
- as: I.Span,
1735
+ as: F.Span,
1732
1736
  children: e.startStatusAnnouncement
1733
1737
  }),
1734
- _ && /* @__PURE__ */ G("div", {
1738
+ _ && /* @__PURE__ */ K("div", {
1735
1739
  className: "flex flex-1 items-center justify-center",
1736
- children: /* @__PURE__ */ G(Ie, { ariaLabel: e.loadingAriaLabel ?? "Loading scheduled task" })
1740
+ children: /* @__PURE__ */ K(Fe, { ariaLabel: e.loadingAriaLabel ?? "Loading scheduled task" })
1737
1741
  }),
1738
- !_ && v && /* @__PURE__ */ K("div", {
1742
+ !_ && v && /* @__PURE__ */ q("div", {
1739
1743
  className: "flex flex-1 flex-col items-center justify-center gap-3",
1740
- children: [/* @__PURE__ */ G("p", {
1744
+ children: [/* @__PURE__ */ K("p", {
1741
1745
  className: T(L, $.subtitleText),
1742
1746
  children: e.errorLabel
1743
- }), /* @__PURE__ */ G(j, {
1747
+ }), /* @__PURE__ */ K(A, {
1744
1748
  label: e.retryLabel,
1745
1749
  onClick: y
1746
1750
  })]
1747
1751
  }),
1748
- !_ && !v && (ke ? /* @__PURE__ */ K("div", {
1752
+ !_ && !v && (ke ? /* @__PURE__ */ q("div", {
1749
1753
  className: "flex min-h-0 flex-1 flex-col overflow-y-auto",
1750
- children: [/* @__PURE__ */ G("div", {
1754
+ children: [/* @__PURE__ */ K("div", {
1751
1755
  className: T("sticky top-0 z-10", $.stickyTabs),
1752
- children: /* @__PURE__ */ G(Re, {
1756
+ children: /* @__PURE__ */ K(Le, {
1753
1757
  ariaLabel: e.tabsAriaLabel ?? "Scheduled task sections",
1754
1758
  className: "px-4",
1755
- tabs: Pe,
1756
- activeTabId: Ae,
1757
- onTabChange: je
1759
+ tabs: Ne,
1760
+ activeTabId: R,
1761
+ onTabChange: Ae
1758
1762
  })
1759
- }), /* @__PURE__ */ G("div", {
1763
+ }), /* @__PURE__ */ K("div", {
1760
1764
  role: "tabpanel",
1761
- "aria-label": Fe,
1765
+ "aria-label": Pe,
1762
1766
  className: "flex flex-1 flex-col gap-5 px-4 py-6",
1763
- children: Ae === Jt.Configuration ? ze : Ae === Jt.History ? Be(Yt.Flow) : R
1767
+ children: R === Jt.Configuration ? Re : R === Jt.History ? ze(Yt.Flow) : z
1764
1768
  })]
1765
- }) : /* @__PURE__ */ K("div", {
1769
+ }) : /* @__PURE__ */ q("div", {
1766
1770
  style: {
1767
1771
  flexDirection: "row",
1768
- "--st-details-width": M?.detailsWidth,
1769
- "--st-history-width": M?.historyWidth,
1770
- "--st-history-max-height": M?.historyMaxHeight,
1771
- "--st-configuration-min-width": M?.configurationMinWidth
1772
+ "--st-details-width": j?.detailsWidth,
1773
+ "--st-history-width": j?.historyWidth,
1774
+ "--st-history-max-height": j?.historyMaxHeight,
1775
+ "--st-configuration-min-width": j?.configurationMinWidth
1772
1776
  },
1773
1777
  className: "flex min-h-0 flex-1 overflow-y-auto desktop:overflow-hidden",
1774
1778
  children: [
1775
- /* @__PURE__ */ K("div", {
1779
+ /* @__PURE__ */ q("div", {
1776
1780
  role: "group",
1777
1781
  "aria-label": e.detailsTitle,
1778
1782
  style: {
1779
- flex: `0 1 ${M?.detailsWidth ?? "360px"}`,
1783
+ flex: `0 1 ${j?.detailsWidth ?? "360px"}`,
1780
1784
  maxWidth: "100%"
1781
1785
  },
1782
1786
  className: T("flex min-h-0 w-full min-w-0 flex-col gap-5 overflow-y-auto border-e px-8 py-6", $.detailsColumn),
1783
- children: [/* @__PURE__ */ G("h2", {
1784
- className: we,
1787
+ children: [/* @__PURE__ */ K("h2", {
1788
+ className: I,
1785
1789
  children: e.detailsTitle
1786
- }), R]
1790
+ }), z]
1787
1791
  }),
1788
- /* @__PURE__ */ K("div", {
1792
+ /* @__PURE__ */ q("div", {
1789
1793
  style: {
1790
- flex: `1 1 ${M?.configurationMinWidth ?? "320px"}`,
1794
+ flex: `1 1 ${j?.configurationMinWidth ?? "320px"}`,
1791
1795
  minWidth: 0
1792
1796
  },
1793
1797
  className: "flex min-h-0 w-full min-w-0 flex-col gap-5 overflow-y-auto px-8 py-6",
1794
- children: [/* @__PURE__ */ G("h2", {
1795
- className: we,
1798
+ children: [/* @__PURE__ */ K("h2", {
1799
+ className: I,
1796
1800
  children: e.configurationTitle
1797
- }), ze]
1801
+ }), Re]
1798
1802
  }),
1799
- /* @__PURE__ */ G("div", {
1803
+ /* @__PURE__ */ K("div", {
1800
1804
  style: {
1801
- flex: `0 1 calc(${M?.historyWidth ?? "360px"} + 48px)`,
1805
+ flex: `0 1 calc(${j?.historyWidth ?? "360px"} + 48px)`,
1802
1806
  minWidth: 0
1803
1807
  },
1804
1808
  className: "flex min-h-0 w-full items-start justify-center overflow-y-auto p-6",
1805
- children: Be(Yt.Card)
1809
+ children: ze(Yt.Card)
1806
1810
  })
1807
1811
  ]
1808
1812
  }))
@@ -1824,7 +1828,7 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
1824
1828
  tableWrapper: "my-4",
1825
1829
  mathBlock: "my-4"
1826
1830
  }, dn = ({ modelLabel: e, renderModelName: t, skillLabel: n, skillDisplayNames: r, renderSkillName: i, instructionsLabel: a, modelDisplayName: o, instructionsMarkdown: s, renderInstructions: c, instructionsClassNames: l, markdownLabels: u, styles: d }) => {
1827
- let f = T(d?.typography?.fieldLabelClassName ?? "dial-tiny-text", ln.fieldLabel), p = d?.typography?.fieldValueClassName ?? "dial-small-text", m = d?.typography?.instructionsHeadingClassName ?? "dial-small-semi-text", h = d?.typography?.instructionsTextClassName ?? "dial-small-text", g = H(() => {
1831
+ let f = T(d?.typography?.fieldLabelClassName ?? "dial-tiny-text", ln.fieldLabel), p = d?.typography?.fieldValueClassName ?? "dial-small-text", m = d?.typography?.instructionsHeadingClassName ?? "dial-small-semi-text", h = d?.typography?.instructionsTextClassName ?? "dial-small-text", g = U(() => {
1828
1832
  let e = un;
1829
1833
  return {
1830
1834
  ...e,
@@ -1844,39 +1848,39 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
1844
1848
  h,
1845
1849
  l
1846
1850
  ]), _ = w({ "--stds-field-label": d?.colors?.fieldLabel });
1847
- return /* @__PURE__ */ K("div", {
1851
+ return /* @__PURE__ */ q("div", {
1848
1852
  className: "flex flex-col gap-3",
1849
1853
  style: _,
1850
1854
  children: [
1851
- o && /* @__PURE__ */ K("div", {
1855
+ o && /* @__PURE__ */ q("div", {
1852
1856
  className: "flex flex-col gap-2",
1853
- children: [/* @__PURE__ */ G("span", {
1857
+ children: [/* @__PURE__ */ K("span", {
1854
1858
  className: f,
1855
1859
  children: e
1856
- }), /* @__PURE__ */ G("p", {
1860
+ }), /* @__PURE__ */ K("p", {
1857
1861
  className: p,
1858
1862
  children: t ? t(o) : o
1859
1863
  })]
1860
1864
  }),
1861
- !!r?.length && /* @__PURE__ */ K("div", {
1865
+ !!r?.length && /* @__PURE__ */ q("div", {
1862
1866
  className: "flex min-w-0 flex-col gap-2",
1863
- children: [/* @__PURE__ */ G("span", {
1867
+ children: [/* @__PURE__ */ K("span", {
1864
1868
  className: f,
1865
1869
  children: n
1866
- }), /* @__PURE__ */ G("p", {
1870
+ }), /* @__PURE__ */ K("p", {
1867
1871
  className: T(p, "wrap-anywhere whitespace-normal"),
1868
- children: r?.map((e, t) => /* @__PURE__ */ G("span", {
1872
+ children: r?.map((e, t) => /* @__PURE__ */ K("span", {
1869
1873
  className: "block",
1870
1874
  children: i ? i(e, t) : e
1871
1875
  }, `${t}:${e}`))
1872
1876
  })]
1873
1877
  }),
1874
- s && /* @__PURE__ */ K("div", {
1878
+ s && /* @__PURE__ */ q("div", {
1875
1879
  className: "flex flex-col gap-2",
1876
- children: [/* @__PURE__ */ G("span", {
1880
+ children: [/* @__PURE__ */ K("span", {
1877
1881
  className: f,
1878
1882
  children: a
1879
- }), ((e) => c ? c(e) : /* @__PURE__ */ G(x, {
1883
+ }), ((e) => c ? c(e) : /* @__PURE__ */ K(x, {
1880
1884
  content: e,
1881
1885
  classNames: g,
1882
1886
  ...u
@@ -1884,37 +1888,37 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
1884
1888
  })
1885
1889
  ]
1886
1890
  });
1887
- }, fn = ({ className: e, children: t }) => /* @__PURE__ */ G("span", {
1891
+ }, fn = ({ className: e, children: t }) => /* @__PURE__ */ K("span", {
1888
1892
  className: T(e, "block truncate py-1"),
1889
1893
  children: t
1890
1894
  }), pn = { unavailableText: "_unavailableText_1ifqz_1" }, mn = ({ scheduleId: e, items: t, isLoading: n = !1, isLoadingMore: r = !1, skeletonCount: i = 6, error: a, onRetry: o, isUnavailable: s = !1, hasMore: c = !1, onLoadMore: l, currentRunId: u, onRunClick: d, labels: f, titleClassName: p = "dial-tiny-semi-text", contentClassName: m = "ps-3", unavailableTextClassName: h = "dial-body-text", colors: g }) => {
1891
- let [_, v] = U(!0);
1892
- nt(() => {
1895
+ let [_, v] = W(!0);
1896
+ tt(() => {
1893
1897
  v(!0);
1894
1898
  }, [e]);
1895
- let y = c && !n && l && f.showMoreLabel ? /* @__PURE__ */ G("li", {
1899
+ let y = c && !n && l && f.showMoreLabel ? /* @__PURE__ */ K("li", {
1896
1900
  className: "pt-2",
1897
- children: /* @__PURE__ */ G(j, {
1898
- variant: ue.Primary,
1901
+ children: /* @__PURE__ */ K(A, {
1902
+ variant: de.Primary,
1899
1903
  label: f.showMoreLabel,
1900
1904
  onClick: l,
1901
1905
  disabled: r
1902
1906
  })
1903
1907
  }) : void 0;
1904
- return /* @__PURE__ */ K(ae, {
1905
- title: /* @__PURE__ */ G(fn, {
1908
+ return /* @__PURE__ */ q(oe, {
1909
+ title: /* @__PURE__ */ K(fn, {
1906
1910
  className: p,
1907
1911
  children: f.title
1908
1912
  }),
1909
1913
  expanded: _,
1910
1914
  onToggle: v,
1911
1915
  contentClassName: m,
1912
- children: [/* @__PURE__ */ G(F, {
1913
- as: I.P,
1916
+ children: [/* @__PURE__ */ K(P, {
1917
+ as: F.P,
1914
1918
  className: T(h, pn.unavailableText),
1915
1919
  style: w({ "--stch-unavailable-text": g?.unavailableText }),
1916
1920
  children: s && f.unavailableLabel
1917
- }), !s && /* @__PURE__ */ G(rn, {
1921
+ }), !s && /* @__PURE__ */ K(rn, {
1918
1922
  items: t,
1919
1923
  isLoading: n,
1920
1924
  isLoadingMore: r,
@@ -1939,25 +1943,25 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
1939
1943
  }, hn = { unavailableText: "_unavailableText_j7lij_1" }, gn = /* @__PURE__ */ function(e) {
1940
1944
  return e.Ready = "ready", e.Error = "error", e.Unavailable = "unavailable", e;
1941
1945
  }({}), _n = ({ scheduleId: e, state: t, onRetry: n, modelDisplayName: r, renderModelName: i, skillDisplayNames: a, renderSkillName: o, instructionsMarkdown: s, renderInstructions: c, instructionsClassNames: l, markdownLabels: u, summaryStyles: d, labels: f, titleClassName: p = "dial-tiny-semi-text", unavailableTextClassName: m = "dial-body-text", colors: h }) => {
1942
- let [g, _] = U(!1);
1943
- nt(() => {
1946
+ let [g, _] = W(!1);
1947
+ tt(() => {
1944
1948
  _(!1);
1945
1949
  }, [e]);
1946
- let v = t === "error" || t === "unavailable", y = t === "error" && n != null, b = /* @__PURE__ */ K(W, { children: [
1947
- /* @__PURE__ */ G(F, {
1948
- as: I.P,
1950
+ let v = t === "error" || t === "unavailable", y = t === "error" && n != null, b = /* @__PURE__ */ q(G, { children: [
1951
+ /* @__PURE__ */ K(P, {
1952
+ as: F.P,
1949
1953
  className: T(m, hn.unavailableText),
1950
1954
  style: w({ "--stcd-unavailable-text": h?.unavailableText }),
1951
1955
  children: v && f.unavailableLabel
1952
1956
  }),
1953
- y && /* @__PURE__ */ G("div", {
1957
+ y && /* @__PURE__ */ K("div", {
1954
1958
  className: "mt-2",
1955
- children: /* @__PURE__ */ G(j, {
1959
+ children: /* @__PURE__ */ K(A, {
1956
1960
  label: f.retryLabel,
1957
1961
  onClick: n
1958
1962
  })
1959
1963
  }),
1960
- !v && /* @__PURE__ */ G(dn, {
1964
+ !v && /* @__PURE__ */ K(dn, {
1961
1965
  modelLabel: f.modelLabel,
1962
1966
  instructionsLabel: f.instructionsLabel,
1963
1967
  skillLabel: f.skillLabel,
@@ -1972,8 +1976,8 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
1972
1976
  styles: d
1973
1977
  })
1974
1978
  ] });
1975
- return /* @__PURE__ */ G(ae, {
1976
- title: /* @__PURE__ */ G(fn, {
1979
+ return /* @__PURE__ */ K(oe, {
1980
+ title: /* @__PURE__ */ K(fn, {
1977
1981
  className: p,
1978
1982
  children: f.title
1979
1983
  }),
@@ -1986,7 +1990,7 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
1986
1990
  text: "_text_abja7_6",
1987
1991
  detailsLink: "_detailsLink_abja7_10",
1988
1992
  deleted: "_deleted_abja7_21"
1989
- }, yn = "flex items-center justify-between gap-2 rounded-xl border py-3 ps-4 pe-2 desktop:ps-6", bn = "flex h-6 shrink-0 items-center gap-1 rounded-full px-2", xn = (e) => `View task details for ${e}`, Sn = et(({ isLoading: e = !1, isUnavailable: t = !1, isTaskDeleted: n = !1, displayName: r, timestampLabel: i, renderDetailsLink: a, onRetry: o, labels: s, colors: c, nameClassName: l = "dial-small-semi-text", textClassName: u = "dial-small-text", actionClassName: d = "dial-tiny-semi-text", className: f }) => {
1993
+ }, yn = "flex items-center justify-between gap-2 rounded-xl border py-3 ps-4 pe-2 desktop:ps-6", bn = "flex h-6 shrink-0 items-center gap-1 rounded-full px-2", xn = (e) => `View task details for ${e}`, Sn = $e(({ isLoading: e = !1, isUnavailable: t = !1, isTaskDeleted: n = !1, displayName: r, timestampLabel: i, renderDetailsLink: a, onRetry: o, labels: s, colors: c, nameClassName: l = "dial-small-semi-text", textClassName: u = "dial-small-text", actionClassName: d = "dial-tiny-semi-text", className: f }) => {
1990
1994
  let { loadingLabel: p = "Loading task details…", unavailableLabel: m = "Task details are unavailable", retryLabel: h = "Retry", taskDetailsLabel: g = "Task details", taskDetailsAriaLabel: _ = xn, taskDeletedLabel: v = "Task was deleted" } = s ?? {}, y = w({
1991
1995
  "--stcb-surface": c?.surface,
1992
1996
  "--stcb-border": c?.border,
@@ -1996,87 +2000,87 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
1996
2000
  "--stcb-focus-outline": c?.focusOutline,
1997
2001
  "--stcb-deleted-text": c?.deletedText
1998
2002
  }), b = !e && t, x = null;
1999
- return x = e ? /* @__PURE__ */ G("div", {
2003
+ return x = e ? /* @__PURE__ */ K("div", {
2000
2004
  className: "flex h-5 items-center",
2001
2005
  "aria-hidden": !0,
2002
- children: /* @__PURE__ */ G(Fe, {
2003
- variant: R.Rectangular,
2006
+ children: /* @__PURE__ */ K(Pe, {
2007
+ variant: z.Rectangular,
2004
2008
  width: "220px",
2005
2009
  height: "16px"
2006
2010
  })
2007
- }) : t ? o && /* @__PURE__ */ G(j, {
2011
+ }) : t ? o && /* @__PURE__ */ K(A, {
2008
2012
  label: h,
2009
2013
  onClick: o
2010
- }) : /* @__PURE__ */ K(W, { children: [/* @__PURE__ */ K("p", {
2014
+ }) : /* @__PURE__ */ q(G, { children: [/* @__PURE__ */ q("p", {
2011
2015
  className: T(vn.text, l, "min-w-0 flex-1 wrap-break-word"),
2012
- children: [r, i && /* @__PURE__ */ K("span", {
2016
+ children: [r, i && /* @__PURE__ */ q("span", {
2013
2017
  className: T(u, "block desktop:inline"),
2014
2018
  children: [" ", i]
2015
2019
  })]
2016
- }), n ? /* @__PURE__ */ G("p", {
2020
+ }), n ? /* @__PURE__ */ K("p", {
2017
2021
  className: T(vn.deleted, d, "flex h-6 shrink-0 items-center px-2"),
2018
2022
  children: v
2019
2023
  }) : a({
2020
2024
  className: T(vn.detailsLink, d, bn),
2021
2025
  "aria-label": _(r),
2022
- children: /* @__PURE__ */ K(W, { children: [g, /* @__PURE__ */ G(Ke, {
2023
- size: O.SM,
2024
- stroke: k,
2026
+ children: /* @__PURE__ */ q(G, { children: [g, /* @__PURE__ */ K(Ge, {
2027
+ size: D.SM,
2028
+ stroke: O,
2025
2029
  className: "rtl:scale-x-[-1]",
2026
2030
  "aria-hidden": !0
2027
2031
  })] })
2028
- })] }), /* @__PURE__ */ K("div", {
2032
+ })] }), /* @__PURE__ */ q("div", {
2029
2033
  className: T(vn.card, yn, f),
2030
2034
  style: y,
2031
2035
  children: [
2032
- /* @__PURE__ */ G(F, {
2036
+ /* @__PURE__ */ K(P, {
2033
2037
  visuallyHidden: !0,
2034
2038
  children: e ? p : ""
2035
2039
  }),
2036
- /* @__PURE__ */ G(F, {
2037
- as: I.P,
2040
+ /* @__PURE__ */ K(P, {
2041
+ as: F.P,
2038
2042
  className: T(vn.text, u),
2039
2043
  children: b ? m : ""
2040
2044
  }),
2041
2045
  x
2042
2046
  ]
2043
2047
  });
2044
- }), Cn = (e, t, n) => e ? n?.loggingIn ?? "Logging in…" : t == null ? n?.logIn ?? "Log in" : n?.retry ?? "Retry", wn = et(({ isVisible: e, isLoggingIn: t = !1, retryMessage: n, liveAnnouncement: r = "", labels: i, onLogIn: a }) => /* @__PURE__ */ K(W, { children: [e && /* @__PURE__ */ G(Be, {
2048
+ }), Cn = (e, t, n) => e ? n?.loggingIn ?? "Logging in…" : t == null ? n?.logIn ?? "Log in" : n?.retry ?? "Retry", wn = $e(({ isVisible: e, isLoggingIn: t = !1, retryMessage: n, liveAnnouncement: r = "", labels: i, onLogIn: a }) => /* @__PURE__ */ q(G, { children: [e && /* @__PURE__ */ K(ze, {
2045
2049
  surface: Oe.Neutral,
2046
2050
  title: i?.title ?? "Log in required.",
2047
2051
  message: i?.body ?? "Scheduled tasks need authorization to run offline.",
2048
- action: a && /* @__PURE__ */ G(P, {
2052
+ action: a && /* @__PURE__ */ K(N, {
2049
2053
  label: Cn(t, n, i),
2050
2054
  disabled: t,
2051
- iconAfter: /* @__PURE__ */ G(z, {
2052
- size: O.SM,
2053
- stroke: k,
2055
+ iconAfter: /* @__PURE__ */ K(He, {
2056
+ size: D.SM,
2057
+ stroke: O,
2054
2058
  "aria-hidden": !0,
2055
2059
  className: "rtl:scale-x-[-1]"
2056
2060
  }),
2057
2061
  onClick: a,
2058
2062
  className: "min-h-11 min-w-11"
2059
2063
  })
2060
- }), /* @__PURE__ */ G(F, {
2064
+ }), /* @__PURE__ */ K(P, {
2061
2065
  visuallyHidden: !0,
2062
- as: I.Span,
2066
+ as: F.Span,
2063
2067
  children: n ?? r
2064
- })] })), Tn = et(({ labels: e, titleClassName: t = "dial-small-paragraph-semi-text", bodyClassName: n = "dial-small-paragraph-text" }) => /* @__PURE__ */ G(De, {
2065
- variant: Ae.Error,
2068
+ })] })), Tn = $e(({ labels: e, titleClassName: t = "dial-small-paragraph-semi-text", bodyClassName: n = "dial-small-paragraph-text" }) => /* @__PURE__ */ K(De, {
2069
+ variant: R.Error,
2066
2070
  type: ke.SectionMessage,
2067
- message: /* @__PURE__ */ K("span", {
2071
+ message: /* @__PURE__ */ q("span", {
2068
2072
  className: "flex min-w-0 flex-wrap items-baseline gap-x-1",
2069
- children: [/* @__PURE__ */ G("span", {
2073
+ children: [/* @__PURE__ */ K("span", {
2070
2074
  className: T("min-w-0 wrap-break-word", t),
2071
2075
  children: e?.title ?? "Limited access."
2072
- }), /* @__PURE__ */ G("span", {
2076
+ }), /* @__PURE__ */ K("span", {
2073
2077
  className: T("min-w-0 wrap-break-word", n),
2074
2078
  children: e?.body ?? "You can't create or edit tasks. Contact your administrator for more details."
2075
2079
  })]
2076
2080
  })
2077
- })), En = ({ taskName: e, icon: t, typeLabel: n, body: r, pendingLabel: i, isDeleting: a = !1, styles: o, ...s }) => /* @__PURE__ */ G(_, {
2081
+ })), En = ({ taskName: e, icon: t, typeLabel: n, body: r, pendingLabel: i, isDeleting: a = !1, styles: o, ...s }) => /* @__PURE__ */ K(_, {
2078
2082
  ...s,
2079
- variant: me.Danger,
2083
+ variant: he.Danger,
2080
2084
  popupClassName: o?.popupClassName,
2081
2085
  titleClassName: o?.titleClassName ?? "dial-body-semi-text",
2082
2086
  messageClassName: o?.messageClassName ?? "dial-body-paragraph-text",
@@ -2085,12 +2089,12 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
2085
2089
  message: r,
2086
2090
  isLoading: a,
2087
2091
  loadingStatusLabel: i,
2088
- identity: /* @__PURE__ */ G(S, {
2092
+ identity: /* @__PURE__ */ K(S, {
2089
2093
  styles: { colors: {
2090
2094
  background: o?.colors?.summaryBackground ?? "var(--bg-error, #f3d6d8)",
2091
2095
  border: o?.colors?.summaryBorder ?? "var(--stroke-error-alpha, #ae2f2f73)"
2092
2096
  } },
2093
- children: /* @__PURE__ */ G(v, {
2097
+ children: /* @__PURE__ */ K(v, {
2094
2098
  icon: t,
2095
2099
  typeLabel: n,
2096
2100
  name: e,
@@ -2099,4 +2103,4 @@ var At = ({ options: e, value: t, browserOption: n, onSelect: r, labels: i, clas
2099
2103
  })
2100
2104
  });
2101
2105
  //#endregion
2102
- export { t as DESCRIPTION_MAX_LENGTH, ct as SCHEDULED_TASKS_CLASS, st as SCHEDULED_TASKS_GRID_DEFAULT_MAX_WIDTH, s as SCHEDULED_TASK_CREATE_DEFAULT_VALUES, pt as ScheduledTaskCard, vt as ScheduledTaskCardGrid, _t as ScheduledTaskCardSkeleton, Sn as ScheduledTaskConversationBanner, _n as ScheduledTaskConversationDetailsSection, gn as ScheduledTaskConversationDetailsState, mn as ScheduledTaskConversationHistorySection, qt as ScheduledTaskCreateForm, En as ScheduledTaskDeleteConfirmation, cn as ScheduledTaskDetailView, dn as ScheduledTaskDetailsSummary, on as ScheduledTaskHistorySection, J as ScheduledTaskPresentationStatus, h as ScheduledTaskRepeat, rn as ScheduledTaskRunHistoryList, tn as ScheduledTaskRunStatus, q as ScheduledTaskStatus, Ft as ScheduledTaskTimezoneField, It as ScheduledTaskTimezoneGapHint, St as ScheduledTasks, Tn as ScheduledTasksLimitedAccessBanner, wn as ScheduledTasksLoginBanner, Ct as ScheduledTasksSortKey, m as TIME_OF_DAY_PATTERN, l as calendarValueToDateValue, o as calendarValueToRunAt, e as dateValueToCalendarValue, lt as getScheduledTaskStatus, Pt as getTimezoneSummary, n as getZonedNow, zt as hasScheduledTaskFormChanges, r as instantToZonedDateTime, d as isAbsoluteInstant, c as isNonexistentLocalTime, p as runAtToCalendarValue, a as shiftForwardOverGap, i as wallClockToLocalDate };
2106
+ export { t as DESCRIPTION_MAX_LENGTH, st as SCHEDULED_TASKS_CLASS, ot as SCHEDULED_TASKS_GRID_DEFAULT_MAX_WIDTH, s as SCHEDULED_TASK_CREATE_DEFAULT_VALUES, pt as ScheduledTaskCard, vt as ScheduledTaskCardGrid, _t as ScheduledTaskCardSkeleton, Sn as ScheduledTaskConversationBanner, _n as ScheduledTaskConversationDetailsSection, gn as ScheduledTaskConversationDetailsState, mn as ScheduledTaskConversationHistorySection, qt as ScheduledTaskCreateForm, En as ScheduledTaskDeleteConfirmation, cn as ScheduledTaskDetailView, dn as ScheduledTaskDetailsSummary, on as ScheduledTaskHistorySection, ct as ScheduledTaskPresentationStatus, h as ScheduledTaskRepeat, rn as ScheduledTaskRunHistoryList, tn as ScheduledTaskRunStatus, J as ScheduledTaskStatus, Ft as ScheduledTaskTimezoneField, It as ScheduledTaskTimezoneGapHint, St as ScheduledTasks, Tn as ScheduledTasksLimitedAccessBanner, wn as ScheduledTasksLoginBanner, Ct as ScheduledTasksSortKey, m as TIME_OF_DAY_PATTERN, l as calendarValueToDateValue, o as calendarValueToRunAt, e as dateValueToCalendarValue, lt as getScheduledTaskStatus, Pt as getTimezoneSummary, n as getZonedNow, zt as hasScheduledTaskFormChanges, r as instantToZonedDateTime, d as isAbsoluteInstant, c as isNonexistentLocalTime, p as runAtToCalendarValue, a as shiftForwardOverGap, i as wallClockToLocalDate };