@embedreach/components 0.1.33 → 0.1.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -20,6 +20,234 @@
20
20
  }
21
21
  const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
22
22
  const ReactDOM__namespace = /* @__PURE__ */ _interopNamespaceDefault(ReactDOM);
23
+ const base$5 = "reach-styles-module__base___1f29D";
24
+ const destructive$3 = "reach-styles-module__destructive___I1tif";
25
+ const title$1 = "reach-styles-module__title___gL-0t";
26
+ const description$1 = "reach-styles-module__description___TBeKF";
27
+ const styles_module$4 = {
28
+ base: base$5,
29
+ "default": "reach-styles-module__default___sG8Jl",
30
+ destructive: destructive$3,
31
+ title: title$1,
32
+ description: description$1
33
+ };
34
+ const __vite_glob_0_0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
35
+ __proto__: null,
36
+ base: base$5,
37
+ default: styles_module$4,
38
+ description: description$1,
39
+ destructive: destructive$3,
40
+ title: title$1
41
+ }, Symbol.toStringTag, { value: "Module" }));
42
+ const base$4 = "reach-styles-module__base___eJmcH";
43
+ const secondary$3 = "reach-styles-module__secondary___H-ae8";
44
+ const destructive$2 = "reach-styles-module__destructive___JsRNh";
45
+ const outline$2 = "reach-styles-module__outline___9FFlV";
46
+ const google = "reach-styles-module__google___7eHwU";
47
+ const dark = "reach-styles-module__dark___gu5hq";
48
+ const date$2 = "reach-styles-module__date___gU3Tt";
49
+ const sizeDefault$3 = "reach-styles-module__size-default___bnA-o";
50
+ const sizeSm$3 = "reach-styles-module__size-sm___-y5xc";
51
+ const iconOnly = "reach-styles-module__icon-only___ae2yu";
52
+ const iconOnlySm = "reach-styles-module__icon-only-sm___j9kLM";
53
+ const container = "reach-styles-module__container___5PrOx";
54
+ const styles$6 = {
55
+ base: base$4,
56
+ "default": "reach-styles-module__default___8NuEB",
57
+ secondary: secondary$3,
58
+ destructive: destructive$2,
59
+ outline: outline$2,
60
+ google,
61
+ dark,
62
+ date: date$2,
63
+ sizeDefault: sizeDefault$3,
64
+ sizeSm: sizeSm$3,
65
+ iconOnly,
66
+ iconOnlySm,
67
+ container
68
+ };
69
+ const __vite_glob_0_1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
70
+ __proto__: null,
71
+ base: base$4,
72
+ container,
73
+ dark,
74
+ date: date$2,
75
+ default: styles$6,
76
+ destructive: destructive$2,
77
+ google,
78
+ iconOnly,
79
+ iconOnlySm,
80
+ outline: outline$2,
81
+ secondary: secondary$3,
82
+ sizeDefault: sizeDefault$3,
83
+ sizeSm: sizeSm$3
84
+ }, Symbol.toStringTag, { value: "Module" }));
85
+ const base$3 = "reach-styles-module__base___jV5oA";
86
+ const primary = "reach-styles-module__primary___WEdH4";
87
+ const success = "reach-styles-module__success___-eJqU";
88
+ const warning$2 = "reach-styles-module__warning___KP0RW";
89
+ const error$2 = "reach-styles-module__error___klJoJ";
90
+ const sizeDefault$2 = "reach-styles-module__size-default___hgiNI";
91
+ const sizeSm$2 = "reach-styles-module__size-sm___tiHOk";
92
+ const sizeLg$2 = "reach-styles-module__size-lg___iGf5z";
93
+ const positionDefault = "reach-styles-module__position-default___FzGg5";
94
+ const positionTop = "reach-styles-module__position-top___NpFYx";
95
+ const positionBottom = "reach-styles-module__position-bottom___-DbqR";
96
+ const positionInline = "reach-styles-module__position-inline___I-BaY";
97
+ const styles_module$3 = {
98
+ base: base$3,
99
+ "default": "reach-styles-module__default___eFUo9",
100
+ primary,
101
+ success,
102
+ warning: warning$2,
103
+ error: error$2,
104
+ sizeDefault: sizeDefault$2,
105
+ sizeSm: sizeSm$2,
106
+ sizeLg: sizeLg$2,
107
+ positionDefault,
108
+ positionTop,
109
+ positionBottom,
110
+ positionInline
111
+ };
112
+ const __vite_glob_0_2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
113
+ __proto__: null,
114
+ base: base$3,
115
+ default: styles_module$3,
116
+ error: error$2,
117
+ positionBottom,
118
+ positionDefault,
119
+ positionInline,
120
+ positionTop,
121
+ primary,
122
+ sizeDefault: sizeDefault$2,
123
+ sizeLg: sizeLg$2,
124
+ sizeSm: sizeSm$2,
125
+ success,
126
+ warning: warning$2
127
+ }, Symbol.toStringTag, { value: "Module" }));
128
+ const base$2 = "reach-styles-module__base___RP4iu";
129
+ const destructive$1 = "reach-styles-module__destructive___BZSYi";
130
+ const outline$1 = "reach-styles-module__outline___bNcaI";
131
+ const secondary$2 = "reach-styles-module__secondary___osvqQ";
132
+ const ghost = "reach-styles-module__ghost___uU77B";
133
+ const link = "reach-styles-module__link___nSLOW";
134
+ const sizeDefault$1 = "reach-styles-module__size-default___kIvbz";
135
+ const sizeSm$1 = "reach-styles-module__size-sm___45mpF";
136
+ const sizeLg$1 = "reach-styles-module__size-lg___49p4A";
137
+ const sizeIcon = "reach-styles-module__size-icon___-6vvi";
138
+ const styles$5 = {
139
+ base: base$2,
140
+ "default": "reach-styles-module__default___pajjj",
141
+ destructive: destructive$1,
142
+ outline: outline$1,
143
+ secondary: secondary$2,
144
+ ghost,
145
+ link,
146
+ sizeDefault: sizeDefault$1,
147
+ sizeSm: sizeSm$1,
148
+ sizeLg: sizeLg$1,
149
+ sizeIcon
150
+ };
151
+ const __vite_glob_0_3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
152
+ __proto__: null,
153
+ base: base$2,
154
+ default: styles$5,
155
+ destructive: destructive$1,
156
+ ghost,
157
+ link,
158
+ outline: outline$1,
159
+ secondary: secondary$2,
160
+ sizeDefault: sizeDefault$1,
161
+ sizeIcon,
162
+ sizeLg: sizeLg$1,
163
+ sizeSm: sizeSm$1
164
+ }, Symbol.toStringTag, { value: "Module" }));
165
+ const base$1 = "reach-styles-module__base___ANlIr";
166
+ const destructive = "reach-styles-module__destructive___a6Swz";
167
+ const outline = "reach-styles-module__outline___INmdX";
168
+ const secondary$1 = "reach-styles-module__secondary___Ym15V";
169
+ const header = "reach-styles-module__header___CzneX";
170
+ const title = "reach-styles-module__title___8ostO";
171
+ const description = "reach-styles-module__description___xR5d4";
172
+ const content = "reach-styles-module__content___XXeK2";
173
+ const footer = "reach-styles-module__footer___35Xil";
174
+ const styles$4 = {
175
+ base: base$1,
176
+ "default": "reach-styles-module__default___S2tp4",
177
+ destructive,
178
+ outline,
179
+ secondary: secondary$1,
180
+ header,
181
+ title,
182
+ description,
183
+ content,
184
+ footer
185
+ };
186
+ const __vite_glob_0_4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
187
+ __proto__: null,
188
+ base: base$1,
189
+ content,
190
+ default: styles$4,
191
+ description,
192
+ destructive,
193
+ footer,
194
+ header,
195
+ outline,
196
+ secondary: secondary$1,
197
+ title
198
+ }, Symbol.toStringTag, { value: "Module" }));
199
+ const base = "reach-styles-module__base___ihq8K";
200
+ const secondary = "reach-styles-module__secondary___-4DAF";
201
+ const sizeDefault = "reach-styles-module__size-default___GR-0s";
202
+ const sizeSm = "reach-styles-module__size-sm___di6Rw";
203
+ const sizeLg = "reach-styles-module__size-lg___KGbCW";
204
+ const styles_module$2 = {
205
+ base,
206
+ "default": "reach-styles-module__default___xYprf",
207
+ secondary,
208
+ sizeDefault,
209
+ sizeSm,
210
+ sizeLg
211
+ };
212
+ const __vite_glob_0_5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
213
+ __proto__: null,
214
+ base,
215
+ default: styles_module$2,
216
+ secondary,
217
+ sizeDefault,
218
+ sizeLg,
219
+ sizeSm
220
+ }, Symbol.toStringTag, { value: "Module" }));
221
+ const skeleton = "reach-styles-module__skeleton___G4xtU";
222
+ const pulse = "reach-styles-module__pulse___6mIhJ";
223
+ const styles_module$1 = {
224
+ skeleton,
225
+ pulse
226
+ };
227
+ const __vite_glob_0_6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
228
+ __proto__: null,
229
+ default: styles_module$1,
230
+ pulse,
231
+ skeleton
232
+ }, Symbol.toStringTag, { value: "Module" }));
233
+ const root$1 = "reach-styles-module__root___eifex";
234
+ const track = "reach-styles-module__track___NJnT0";
235
+ const range = "reach-styles-module__range___mw-ny";
236
+ const thumb = "reach-styles-module__thumb___hzq0o";
237
+ const styles_module = {
238
+ root: root$1,
239
+ track,
240
+ range,
241
+ thumb
242
+ };
243
+ const __vite_glob_0_7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
244
+ __proto__: null,
245
+ default: styles_module,
246
+ range,
247
+ root: root$1,
248
+ thumb,
249
+ track
250
+ }, Symbol.toStringTag, { value: "Module" }));
23
251
  var Subscribable = class {
24
252
  constructor() {
25
253
  this.listeners = /* @__PURE__ */ new Set();
@@ -2628,7 +2856,7 @@
2628
2856
  options2 = {};
2629
2857
  }
2630
2858
  let pr = null, initP = NO_INIT, id2 = null, scheduled = false, resolved = "initialValue" in options2, dynamic = typeof source === "function" && createMemo(source);
2631
- const contexts = /* @__PURE__ */ new Set(), [value, setValue] = (options2.storage || createSignal)(options2.initialValue), [error2, setError2] = createSignal(void 0), [track, trigger] = createSignal(void 0, {
2859
+ const contexts = /* @__PURE__ */ new Set(), [value, setValue] = (options2.storage || createSignal)(options2.initialValue), [error2, setError2] = createSignal(void 0), [track2, trigger] = createSignal(void 0, {
2632
2860
  equals: false
2633
2861
  }), [state, setState] = createSignal(resolved ? "ready" : "unresolved");
2634
2862
  if (sharedConfig.context) {
@@ -11153,7 +11381,7 @@
11153
11381
  }
11154
11382
  Browser.type = "languageDetector";
11155
11383
  const ad_spend$1 = "Ad Spend";
11156
- const date$2 = "Date";
11384
+ const date$1 = "Date";
11157
11385
  const close$1 = "Close";
11158
11386
  const connected$1 = "Connected";
11159
11387
  const connecting$1 = "Connecting...";
@@ -11540,7 +11768,7 @@
11540
11768
  };
11541
11769
  const enCommon = {
11542
11770
  ad_spend: ad_spend$1,
11543
- date: date$2,
11771
+ date: date$1,
11544
11772
  close: close$1,
11545
11773
  "continue": "Continue",
11546
11774
  connected: connected$1,
@@ -11579,7 +11807,7 @@
11579
11807
  empty_state: empty_state$1
11580
11808
  };
11581
11809
  const ad_spend = "Gasto en anuncios";
11582
- const date$1 = "Fecha";
11810
+ const date = "Fecha";
11583
11811
  const close = "Cerrar";
11584
11812
  const connected = "Conectado";
11585
11813
  const connecting = "Conectando...";
@@ -11966,7 +12194,7 @@
11966
12194
  };
11967
12195
  const esCommon = {
11968
12196
  ad_spend,
11969
- date: date$1,
12197
+ date,
11970
12198
  close,
11971
12199
  "continue": "Continuar",
11972
12200
  connected,
@@ -12426,7 +12654,7 @@
12426
12654
  createCollectionScope2
12427
12655
  ];
12428
12656
  }
12429
- var NODES$2 = [
12657
+ var NODES$3 = [
12430
12658
  "a",
12431
12659
  "button",
12432
12660
  "div",
@@ -12444,7 +12672,7 @@
12444
12672
  "svg",
12445
12673
  "ul"
12446
12674
  ];
12447
- var Primitive$2 = NODES$2.reduce((primitive, node) => {
12675
+ var Primitive$3 = NODES$3.reduce((primitive, node) => {
12448
12676
  const Node2 = React__namespace.forwardRef((props, forwardedRef) => {
12449
12677
  const { asChild, ...primitiveProps } = props;
12450
12678
  const Comp = asChild ? Slot$3 : node;
@@ -12566,7 +12794,7 @@
12566
12794
  return () => document.removeEventListener(CONTEXT_UPDATE$3, handleUpdate);
12567
12795
  }, []);
12568
12796
  return /* @__PURE__ */ jsxRuntime.jsx(
12569
- Primitive$2.div,
12797
+ Primitive$3.div,
12570
12798
  {
12571
12799
  ...layerProps,
12572
12800
  ref: composedRefs,
@@ -12599,7 +12827,7 @@
12599
12827
  };
12600
12828
  }
12601
12829
  }, [context.branches]);
12602
- return /* @__PURE__ */ jsxRuntime.jsx(Primitive$2.div, { ...props, ref: composedRefs });
12830
+ return /* @__PURE__ */ jsxRuntime.jsx(Primitive$3.div, { ...props, ref: composedRefs });
12603
12831
  });
12604
12832
  DismissableLayerBranch$3.displayName = BRANCH_NAME$3;
12605
12833
  function usePointerDownOutside$3(onPointerDownOutside, ownerDocument = globalThis?.document) {
@@ -12689,7 +12917,7 @@
12689
12917
  const [mounted, setMounted] = React__namespace.useState(false);
12690
12918
  useLayoutEffect2(() => setMounted(true), []);
12691
12919
  const container2 = containerProp || mounted && globalThis?.document?.body;
12692
- return container2 ? ReactDOM.createPortal(/* @__PURE__ */ jsxRuntime.jsx(Primitive$2.div, { ...portalProps, ref: forwardedRef }), container2) : null;
12920
+ return container2 ? ReactDOM.createPortal(/* @__PURE__ */ jsxRuntime.jsx(Primitive$3.div, { ...portalProps, ref: forwardedRef }), container2) : null;
12693
12921
  });
12694
12922
  Portal$6.displayName = PORTAL_NAME$7;
12695
12923
  function useStateMachine(initialState, machine) {
@@ -12854,11 +13082,11 @@
12854
13082
  }, [value, prevValueRef, handleChange]);
12855
13083
  return uncontrolledState;
12856
13084
  }
12857
- var NAME$3 = "VisuallyHidden";
12858
- var VisuallyHidden = React__namespace.forwardRef(
13085
+ var NAME$4 = "VisuallyHidden";
13086
+ var VisuallyHidden$1 = React__namespace.forwardRef(
12859
13087
  (props, forwardedRef) => {
12860
13088
  return /* @__PURE__ */ jsxRuntime.jsx(
12861
- Primitive$2.span,
13089
+ Primitive$3.span,
12862
13090
  {
12863
13091
  ...props,
12864
13092
  ref: forwardedRef,
@@ -12880,8 +13108,8 @@
12880
13108
  );
12881
13109
  }
12882
13110
  );
12883
- VisuallyHidden.displayName = NAME$3;
12884
- var Root$6 = VisuallyHidden;
13111
+ VisuallyHidden$1.displayName = NAME$4;
13112
+ var Root$6 = VisuallyHidden$1;
12885
13113
  var PROVIDER_NAME$1 = "ToastProvider";
12886
13114
  var [Collection$3, useCollection$3, createCollectionScope$3] = createCollection$1("Toast");
12887
13115
  var [createToastContext, createToastScope] = createContextScope("Toast", [createCollectionScope$3]);
@@ -13056,7 +13284,7 @@
13056
13284
  }
13057
13285
  }
13058
13286
  ),
13059
- /* @__PURE__ */ jsxRuntime.jsx(Collection$3.Slot, { scope: __scopeToast, children: /* @__PURE__ */ jsxRuntime.jsx(Primitive$2.ol, { tabIndex: -1, ...viewportProps, ref: composedRefs }) }),
13287
+ /* @__PURE__ */ jsxRuntime.jsx(Collection$3.Slot, { scope: __scopeToast, children: /* @__PURE__ */ jsxRuntime.jsx(Primitive$3.ol, { tabIndex: -1, ...viewportProps, ref: composedRefs }) }),
13060
13288
  hasToasts && /* @__PURE__ */ jsxRuntime.jsx(
13061
13289
  FocusProxy,
13062
13290
  {
@@ -13081,7 +13309,7 @@
13081
13309
  const { __scopeToast, onFocusFromOutsideViewport, ...proxyProps } = props;
13082
13310
  const context = useToastProviderContext(FOCUS_PROXY_NAME, __scopeToast);
13083
13311
  return /* @__PURE__ */ jsxRuntime.jsx(
13084
- VisuallyHidden,
13312
+ VisuallyHidden$1,
13085
13313
  {
13086
13314
  "aria-hidden": true,
13087
13315
  tabIndex: 0,
@@ -13248,7 +13476,7 @@
13248
13476
  context.isFocusedToastEscapeKeyDownRef.current = false;
13249
13477
  }),
13250
13478
  children: /* @__PURE__ */ jsxRuntime.jsx(
13251
- Primitive$2.li,
13479
+ Primitive$3.li,
13252
13480
  {
13253
13481
  role: "status",
13254
13482
  "aria-live": "off",
@@ -13347,7 +13575,7 @@
13347
13575
  const timer = window.setTimeout(() => setIsAnnounced(true), 1e3);
13348
13576
  return () => window.clearTimeout(timer);
13349
13577
  }, []);
13350
- return isAnnounced ? null : /* @__PURE__ */ jsxRuntime.jsx(Portal$6, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(VisuallyHidden, { ...announceProps, children: renderAnnounceText && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
13578
+ return isAnnounced ? null : /* @__PURE__ */ jsxRuntime.jsx(Portal$6, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(VisuallyHidden$1, { ...announceProps, children: renderAnnounceText && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
13351
13579
  context.label,
13352
13580
  " ",
13353
13581
  children2
@@ -13357,7 +13585,7 @@
13357
13585
  var ToastTitle$1 = React__namespace.forwardRef(
13358
13586
  (props, forwardedRef) => {
13359
13587
  const { __scopeToast, ...titleProps } = props;
13360
- return /* @__PURE__ */ jsxRuntime.jsx(Primitive$2.div, { ...titleProps, ref: forwardedRef });
13588
+ return /* @__PURE__ */ jsxRuntime.jsx(Primitive$3.div, { ...titleProps, ref: forwardedRef });
13361
13589
  }
13362
13590
  );
13363
13591
  ToastTitle$1.displayName = TITLE_NAME$1;
@@ -13365,7 +13593,7 @@
13365
13593
  var ToastDescription$1 = React__namespace.forwardRef(
13366
13594
  (props, forwardedRef) => {
13367
13595
  const { __scopeToast, ...descriptionProps } = props;
13368
- return /* @__PURE__ */ jsxRuntime.jsx(Primitive$2.div, { ...descriptionProps, ref: forwardedRef });
13596
+ return /* @__PURE__ */ jsxRuntime.jsx(Primitive$3.div, { ...descriptionProps, ref: forwardedRef });
13369
13597
  }
13370
13598
  );
13371
13599
  ToastDescription$1.displayName = DESCRIPTION_NAME$1;
@@ -13389,7 +13617,7 @@
13389
13617
  const { __scopeToast, ...closeProps } = props;
13390
13618
  const interactiveContext = useToastInteractiveContext(CLOSE_NAME$2, __scopeToast);
13391
13619
  return /* @__PURE__ */ jsxRuntime.jsx(ToastAnnounceExclude, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
13392
- Primitive$2.button,
13620
+ Primitive$3.button,
13393
13621
  {
13394
13622
  type: "button",
13395
13623
  ...closeProps,
@@ -13403,7 +13631,7 @@
13403
13631
  var ToastAnnounceExclude = React__namespace.forwardRef((props, forwardedRef) => {
13404
13632
  const { __scopeToast, altText, ...announceExcludeProps } = props;
13405
13633
  return /* @__PURE__ */ jsxRuntime.jsx(
13406
- Primitive$2.div,
13634
+ Primitive$3.div,
13407
13635
  {
13408
13636
  "data-radix-toast-announce-exclude": "",
13409
13637
  "data-radix-toast-announce-alt": altText || void 0,
@@ -18268,7 +18496,7 @@
18268
18496
  return;
18269
18497
  isPressing.add(element);
18270
18498
  const onPressEnd = onPressStart(element, startEvent);
18271
- const onPointerEnd = (endEvent, success) => {
18499
+ const onPointerEnd = (endEvent, success2) => {
18272
18500
  window.removeEventListener("pointerup", onPointerUp);
18273
18501
  window.removeEventListener("pointercancel", onPointerCancel);
18274
18502
  if (!isValidPressEvent(endEvent) || !isPressing.has(element)) {
@@ -18276,7 +18504,7 @@
18276
18504
  }
18277
18505
  isPressing.delete(element);
18278
18506
  if (typeof onPressEnd === "function") {
18279
- onPressEnd(endEvent, { success });
18507
+ onPressEnd(endEvent, { success: success2 });
18280
18508
  }
18281
18509
  };
18282
18510
  const onPointerUp = (upEvent) => {
@@ -23338,7 +23566,7 @@
23338
23566
  return;
23339
23567
  this.unmount = press(current, (_element, startEvent) => {
23340
23568
  handlePressEvent(this.node, startEvent, "Start");
23341
- return (endEvent, { success }) => handlePressEvent(this.node, endEvent, success ? "End" : "Cancel");
23569
+ return (endEvent, { success: success2 }) => handlePressEvent(this.node, endEvent, success2 ? "End" : "Cancel");
23342
23570
  }, { useGlobalTarget: this.node.props.globalTapTarget });
23343
23571
  }
23344
23572
  unmount() {
@@ -24238,36 +24466,21 @@
24238
24466
  }
24239
24467
  return element.props.ref || element.ref;
24240
24468
  }
24241
- const base$2 = "reach-styles-module__base___RP4iu";
24242
- const destructive$2 = "reach-styles-module__destructive___BZSYi";
24243
- const outline$2 = "reach-styles-module__outline___bNcaI";
24244
- const secondary$2 = "reach-styles-module__secondary___osvqQ";
24245
- const ghost = "reach-styles-module__ghost___uU77B";
24246
- const link = "reach-styles-module__link___nSLOW";
24247
- const styles$6 = {
24248
- base: base$2,
24249
- "default": "reach-styles-module__default___pajjj",
24250
- destructive: destructive$2,
24251
- outline: outline$2,
24252
- secondary: secondary$2,
24253
- ghost,
24254
- link
24255
- };
24256
- const buttonVariants = cva([styles$6.base], {
24469
+ const buttonVariants = cva([styles$5.base], {
24257
24470
  variants: {
24258
24471
  variant: {
24259
- default: styles$6.default,
24260
- destructive: styles$6.destructive,
24261
- outline: styles$6.outline,
24262
- secondary: styles$6.secondary,
24263
- ghost: styles$6.ghost,
24264
- link: styles$6.link
24472
+ default: styles$5.default,
24473
+ destructive: styles$5.destructive,
24474
+ outline: styles$5.outline,
24475
+ secondary: styles$5.secondary,
24476
+ ghost: styles$5.ghost,
24477
+ link: styles$5.link
24265
24478
  },
24266
24479
  size: {
24267
- default: styles$6["size-default"],
24268
- sm: styles$6["size-sm"],
24269
- lg: styles$6["size-lg"],
24270
- icon: styles$6["size-icon"]
24480
+ default: styles$5["size-default"],
24481
+ sm: styles$5["size-sm"],
24482
+ lg: styles$5["size-lg"],
24483
+ icon: styles$5["size-icon"]
24271
24484
  }
24272
24485
  },
24273
24486
  defaultVariants: {
@@ -24349,7 +24562,7 @@
24349
24562
  }
24350
24563
  );
24351
24564
  };
24352
- const styles$5 = {
24565
+ const styles$3 = {
24353
24566
  title: "text-3xl mb-8",
24354
24567
  grid: "grid grid-cols-2 gap-6",
24355
24568
  container: "relative p-6 rounded-lg"
@@ -24358,9 +24571,9 @@
24358
24571
  const onClick = (type) => {
24359
24572
  onNext(type);
24360
24573
  };
24361
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles$5.container, children: [
24362
- /* @__PURE__ */ jsxRuntime.jsx("h1", { className: styles$5.title, children: "Choose Your Automation Type" }),
24363
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles$5.grid, children: [
24574
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles$3.container, children: [
24575
+ /* @__PURE__ */ jsxRuntime.jsx("h1", { className: styles$3.title, children: "Choose Your Automation Type" }),
24576
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles$3.grid, children: [
24364
24577
  /* @__PURE__ */ jsxRuntime.jsx(
24365
24578
  BigSelector,
24366
24579
  {
@@ -24415,16 +24628,16 @@
24415
24628
  `Unreachable case statement: ${JSON.stringify(x2)}. Valid values are: ${Object.values(enumObj).join(", ")}`
24416
24629
  );
24417
24630
  }
24418
- const styles$4 = {
24631
+ const styles$2 = {
24419
24632
  iconWrapper: "mb-4 flex items-center justify-center",
24420
24633
  cardTitle: "text-lg font-medium mb-2",
24421
24634
  cardDescription: "text-sm text-gray-600"
24422
24635
  };
24423
24636
  const OneTimeBroadcast = ({ iconDefinitions }) => {
24424
24637
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
24425
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$4.iconWrapper, children: /* @__PURE__ */ jsxRuntime.jsx(iconDefinitions.OneTimeBroadcast, {}) }),
24426
- /* @__PURE__ */ jsxRuntime.jsx("h3", { className: styles$4.cardTitle, children: "One-Time Broadcast" }),
24427
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: styles$4.cardDescription, children: "Send a single message to your current list, like announcing a sale or newsletter." })
24638
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$2.iconWrapper, children: /* @__PURE__ */ jsxRuntime.jsx(iconDefinitions.OneTimeBroadcast, {}) }),
24639
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: styles$2.cardTitle, children: "One-Time Broadcast" }),
24640
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: styles$2.cardDescription, children: "Send a single message to your current list, like announcing a sale or newsletter." })
24428
24641
  ] });
24429
24642
  };
24430
24643
  const SetAutomationName = ({ selectedType, setAutomationName, automationName, iconDefinitions }) => {
@@ -24532,7 +24745,7 @@
24532
24745
  });
24533
24746
  };
24534
24747
  if (isCreating || startedCreating) {
24535
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$5.container, children: /* @__PURE__ */ jsxRuntime.jsx(SpinLoader, { text: ["Creating Automation", "Finishing up"] }) });
24748
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$3.container, children: /* @__PURE__ */ jsxRuntime.jsx(SpinLoader, { text: ["Creating Automation", "Finishing up"] }) });
24536
24749
  }
24537
24750
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative overflow-hidden", children: [
24538
24751
  /* @__PURE__ */ jsxRuntime.jsxs(AnimatePresence, { mode: "wait", children: [
@@ -26878,7 +27091,7 @@ Please change the parent <Route path="${parentPath}"> to <Route path="${parentPa
26878
27091
  }
26879
27092
  return element.props.ref || element.ref;
26880
27093
  }
26881
- var NODES$1 = [
27094
+ var NODES$2 = [
26882
27095
  "a",
26883
27096
  "button",
26884
27097
  "div",
@@ -26896,7 +27109,7 @@ Please change the parent <Route path="${parentPath}"> to <Route path="${parentPa
26896
27109
  "svg",
26897
27110
  "ul"
26898
27111
  ];
26899
- var Primitive$1 = NODES$1.reduce((primitive, node) => {
27112
+ var Primitive$2 = NODES$2.reduce((primitive, node) => {
26900
27113
  const Node2 = React__namespace.forwardRef((props, forwardedRef) => {
26901
27114
  const { asChild, ...primitiveProps } = props;
26902
27115
  const Comp = asChild ? Slot$1 : node;
@@ -26999,7 +27212,7 @@ Please change the parent <Route path="${parentPath}"> to <Route path="${parentPa
26999
27212
  return () => document.removeEventListener(CONTEXT_UPDATE$2, handleUpdate);
27000
27213
  }, []);
27001
27214
  return /* @__PURE__ */ jsxRuntime.jsx(
27002
- Primitive$1.div,
27215
+ Primitive$2.div,
27003
27216
  {
27004
27217
  ...layerProps,
27005
27218
  ref: composedRefs,
@@ -27032,7 +27245,7 @@ Please change the parent <Route path="${parentPath}"> to <Route path="${parentPa
27032
27245
  };
27033
27246
  }
27034
27247
  }, [context.branches]);
27035
- return /* @__PURE__ */ jsxRuntime.jsx(Primitive$1.div, { ...props, ref: composedRefs });
27248
+ return /* @__PURE__ */ jsxRuntime.jsx(Primitive$2.div, { ...props, ref: composedRefs });
27036
27249
  });
27037
27250
  DismissableLayerBranch$2.displayName = BRANCH_NAME$2;
27038
27251
  function usePointerDownOutside$2(onPointerDownOutside, ownerDocument = globalThis?.document) {
@@ -27229,7 +27442,7 @@ Please change the parent <Route path="${parentPath}"> to <Route path="${parentPa
27229
27442
  },
27230
27443
  [loop, trapped, focusScope.paused]
27231
27444
  );
27232
- return /* @__PURE__ */ jsxRuntime.jsx(Primitive$1.div, { tabIndex: -1, ...scopeProps, ref: composedRefs, onKeyDown: handleKeyDown });
27445
+ return /* @__PURE__ */ jsxRuntime.jsx(Primitive$2.div, { tabIndex: -1, ...scopeProps, ref: composedRefs, onKeyDown: handleKeyDown });
27233
27446
  });
27234
27447
  FocusScope$1.displayName = FOCUS_SCOPE_NAME$1;
27235
27448
  function focusFirst$3(candidates, { select = false } = {}) {
@@ -27317,7 +27530,7 @@ Please change the parent <Route path="${parentPath}"> to <Route path="${parentPa
27317
27530
  const [mounted, setMounted] = React__namespace.useState(false);
27318
27531
  useLayoutEffect2(() => setMounted(true), []);
27319
27532
  const container2 = containerProp || mounted && globalThis?.document?.body;
27320
- return container2 ? ReactDOM.createPortal(/* @__PURE__ */ jsxRuntime.jsx(Primitive$1.div, { ...portalProps, ref: forwardedRef }), container2) : null;
27533
+ return container2 ? ReactDOM.createPortal(/* @__PURE__ */ jsxRuntime.jsx(Primitive$2.div, { ...portalProps, ref: forwardedRef }), container2) : null;
27321
27534
  });
27322
27535
  Portal$5.displayName = PORTAL_NAME$6;
27323
27536
  var count = 0;
@@ -28162,7 +28375,7 @@ Please change the parent <Route path="${parentPath}"> to <Route path="${parentPa
28162
28375
  const context = useDialogContext(TRIGGER_NAME$5, __scopeDialog);
28163
28376
  const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);
28164
28377
  return /* @__PURE__ */ jsxRuntime.jsx(
28165
- Primitive$1.button,
28378
+ Primitive$2.button,
28166
28379
  {
28167
28380
  type: "button",
28168
28381
  "aria-haspopup": "dialog",
@@ -28205,7 +28418,7 @@ Please change the parent <Route path="${parentPath}"> to <Route path="${parentPa
28205
28418
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
28206
28419
  // ie. when `Overlay` and `Content` are siblings
28207
28420
  /* @__PURE__ */ jsxRuntime.jsx(ReactRemoveScroll$1, { as: Slot$1, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ jsxRuntime.jsx(
28208
- Primitive$1.div,
28421
+ Primitive$2.div,
28209
28422
  {
28210
28423
  "data-state": getState$1(context.open),
28211
28424
  ...overlayProps,
@@ -28343,7 +28556,7 @@ Please change the parent <Route path="${parentPath}"> to <Route path="${parentPa
28343
28556
  (props, forwardedRef) => {
28344
28557
  const { __scopeDialog, ...titleProps } = props;
28345
28558
  const context = useDialogContext(TITLE_NAME, __scopeDialog);
28346
- return /* @__PURE__ */ jsxRuntime.jsx(Primitive$1.h2, { id: context.titleId, ...titleProps, ref: forwardedRef });
28559
+ return /* @__PURE__ */ jsxRuntime.jsx(Primitive$2.h2, { id: context.titleId, ...titleProps, ref: forwardedRef });
28347
28560
  }
28348
28561
  );
28349
28562
  DialogTitle$1.displayName = TITLE_NAME;
@@ -28352,7 +28565,7 @@ Please change the parent <Route path="${parentPath}"> to <Route path="${parentPa
28352
28565
  (props, forwardedRef) => {
28353
28566
  const { __scopeDialog, ...descriptionProps } = props;
28354
28567
  const context = useDialogContext(DESCRIPTION_NAME, __scopeDialog);
28355
- return /* @__PURE__ */ jsxRuntime.jsx(Primitive$1.p, { id: context.descriptionId, ...descriptionProps, ref: forwardedRef });
28568
+ return /* @__PURE__ */ jsxRuntime.jsx(Primitive$2.p, { id: context.descriptionId, ...descriptionProps, ref: forwardedRef });
28356
28569
  }
28357
28570
  );
28358
28571
  DialogDescription$1.displayName = DESCRIPTION_NAME;
@@ -28362,7 +28575,7 @@ Please change the parent <Route path="${parentPath}"> to <Route path="${parentPa
28362
28575
  const { __scopeDialog, ...closeProps } = props;
28363
28576
  const context = useDialogContext(CLOSE_NAME$1, __scopeDialog);
28364
28577
  return /* @__PURE__ */ jsxRuntime.jsx(
28365
- Primitive$1.button,
28578
+ Primitive$2.button,
28366
28579
  {
28367
28580
  type: "button",
28368
28581
  ...closeProps,
@@ -28417,6 +28630,63 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
28417
28630
  var Title = DialogTitle$1;
28418
28631
  var Description = DialogDescription$1;
28419
28632
  var Close = DialogClose;
28633
+ var NODES$1 = [
28634
+ "a",
28635
+ "button",
28636
+ "div",
28637
+ "form",
28638
+ "h2",
28639
+ "h3",
28640
+ "img",
28641
+ "input",
28642
+ "label",
28643
+ "li",
28644
+ "nav",
28645
+ "ol",
28646
+ "p",
28647
+ "span",
28648
+ "svg",
28649
+ "ul"
28650
+ ];
28651
+ var Primitive$1 = NODES$1.reduce((primitive, node) => {
28652
+ const Node2 = React__namespace.forwardRef((props, forwardedRef) => {
28653
+ const { asChild, ...primitiveProps } = props;
28654
+ const Comp = asChild ? Slot$2 : node;
28655
+ if (typeof window !== "undefined") {
28656
+ window[Symbol.for("radix-ui")] = true;
28657
+ }
28658
+ return /* @__PURE__ */ jsxRuntime.jsx(Comp, { ...primitiveProps, ref: forwardedRef });
28659
+ });
28660
+ Node2.displayName = `Primitive.${node}`;
28661
+ return { ...primitive, [node]: Node2 };
28662
+ }, {});
28663
+ var NAME$3 = "VisuallyHidden";
28664
+ var VisuallyHidden = React__namespace.forwardRef(
28665
+ (props, forwardedRef) => {
28666
+ return /* @__PURE__ */ jsxRuntime.jsx(
28667
+ Primitive$1.span,
28668
+ {
28669
+ ...props,
28670
+ ref: forwardedRef,
28671
+ style: {
28672
+ // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
28673
+ position: "absolute",
28674
+ border: 0,
28675
+ width: 1,
28676
+ height: 1,
28677
+ padding: 0,
28678
+ margin: -1,
28679
+ overflow: "hidden",
28680
+ clip: "rect(0, 0, 0, 0)",
28681
+ whiteSpace: "nowrap",
28682
+ wordWrap: "normal",
28683
+ ...props.style
28684
+ }
28685
+ }
28686
+ );
28687
+ }
28688
+ );
28689
+ VisuallyHidden.displayName = NAME$3;
28420
28690
  function cn(...inputs) {
28421
28691
  return twMerge(clsx$1(inputs));
28422
28692
  }
@@ -28488,6 +28758,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
28488
28758
  }
28489
28759
  ));
28490
28760
  DialogDescription.displayName = Description.displayName;
28761
+ const DialogVisuallyHidden = React__namespace.forwardRef(({ className: className2, children: children2, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(VisuallyHidden, { ref, className: cn(className2), ...props, children: children2 }));
28762
+ DialogVisuallyHidden.displayName = "DialogVisuallyHidden";
28491
28763
  var DISMISSABLE_LAYER_NAME$1 = "DismissableLayer";
28492
28764
  var CONTEXT_UPDATE$1 = "dismissableLayer.update";
28493
28765
  var POINTER_DOWN_OUTSIDE$1 = "dismissableLayer.pointerDownOutside";
@@ -28576,7 +28848,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
28576
28848
  return () => document.removeEventListener(CONTEXT_UPDATE$1, handleUpdate);
28577
28849
  }, []);
28578
28850
  return /* @__PURE__ */ jsxRuntime.jsx(
28579
- Primitive$2.div,
28851
+ Primitive$3.div,
28580
28852
  {
28581
28853
  ...layerProps,
28582
28854
  ref: composedRefs,
@@ -28609,7 +28881,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
28609
28881
  };
28610
28882
  }
28611
28883
  }, [context.branches]);
28612
- return /* @__PURE__ */ jsxRuntime.jsx(Primitive$2.div, { ...props, ref: composedRefs });
28884
+ return /* @__PURE__ */ jsxRuntime.jsx(Primitive$3.div, { ...props, ref: composedRefs });
28613
28885
  });
28614
28886
  DismissableLayerBranch$1.displayName = BRANCH_NAME$1;
28615
28887
  function usePointerDownOutside$1(onPointerDownOutside, ownerDocument = globalThis?.document) {
@@ -30531,7 +30803,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
30531
30803
  var Arrow$1 = React__namespace.forwardRef((props, forwardedRef) => {
30532
30804
  const { children: children2, width = 10, height = 5, ...arrowProps } = props;
30533
30805
  return /* @__PURE__ */ jsxRuntime.jsx(
30534
- Primitive$2.svg,
30806
+ Primitive$3.svg,
30535
30807
  {
30536
30808
  ...arrowProps,
30537
30809
  ref: forwardedRef,
@@ -30598,7 +30870,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
30598
30870
  React__namespace.useEffect(() => {
30599
30871
  context.onAnchorChange(virtualRef?.current || ref.current);
30600
30872
  });
30601
- return virtualRef ? null : /* @__PURE__ */ jsxRuntime.jsx(Primitive$2.div, { ...anchorProps, ref: composedRefs });
30873
+ return virtualRef ? null : /* @__PURE__ */ jsxRuntime.jsx(Primitive$3.div, { ...anchorProps, ref: composedRefs });
30602
30874
  }
30603
30875
  );
30604
30876
  PopperAnchor.displayName = ANCHOR_NAME$2;
@@ -30725,7 +30997,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
30725
30997
  arrowY,
30726
30998
  shouldHideArrow: cannotCenterArrow,
30727
30999
  children: /* @__PURE__ */ jsxRuntime.jsx(
30728
- Primitive$2.div,
31000
+ Primitive$3.div,
30729
31001
  {
30730
31002
  "data-side": placedSide,
30731
31003
  "data-align": placedAlign,
@@ -31001,7 +31273,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
31001
31273
  return () => document.removeEventListener("pointerup", handlePointerUp);
31002
31274
  }, [handlePointerUp]);
31003
31275
  return /* @__PURE__ */ jsxRuntime.jsx(Anchor, { asChild: true, ...popperScope, children: /* @__PURE__ */ jsxRuntime.jsx(
31004
- Primitive$2.button,
31276
+ Primitive$3.button,
31005
31277
  {
31006
31278
  "aria-describedby": context.open ? context.contentId : void 0,
31007
31279
  "data-state": context.stateAttribute,
@@ -31360,14 +31632,14 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
31360
31632
  ] }) })
31361
31633
  ] }) });
31362
31634
  };
31363
- const styles$3 = {
31635
+ const styles$1 = {
31364
31636
  container: "flex flex-col items-center justify-center h-full"
31365
31637
  };
31366
31638
  const AutomationStatistics = ({ automationId, iconDefinitions }) => {
31367
31639
  const [activeTab, setActiveTab] = React.useState("email");
31368
31640
  const { statistics, isLoading: isStatisticsLoading } = useGetBusinessAutomationStatistics(automationId);
31369
31641
  if (isStatisticsLoading || !statistics) {
31370
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$3.container, children: /* @__PURE__ */ jsxRuntime.jsx(SpinLoader, { text: ["Fetching Statistics", "Finishing up"] }) });
31642
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$1.container, children: /* @__PURE__ */ jsxRuntime.jsx(SpinLoader, { text: ["Fetching Statistics", "Finishing up"] }) });
31371
31643
  }
31372
31644
  const StatsGrid = () => {
31373
31645
  const statGridMainDiv = "flex items-center bg-white rounded-lg p-4 shadow-sm border border-gray-200 transform transition-all duration-300 hover:shadow-md";
@@ -33069,39 +33341,22 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
33069
33341
  function formatDistanceToNow(date2, options2) {
33070
33342
  return formatDistance$1(date2, constructNow(date2), options2);
33071
33343
  }
33072
- const base$1 = "reach-styles-module__base___eJmcH";
33073
- const secondary$1 = "reach-styles-module__secondary___H-ae8";
33074
- const destructive$1 = "reach-styles-module__destructive___JsRNh";
33075
- const outline$1 = "reach-styles-module__outline___9FFlV";
33076
- const google = "reach-styles-module__google___7eHwU";
33077
- const date = "reach-styles-module__date___gU3Tt";
33078
- const container = "reach-styles-module__container___5PrOx";
33079
- const styles$2 = {
33080
- base: base$1,
33081
- "default": "reach-styles-module__default___8NuEB",
33082
- secondary: secondary$1,
33083
- destructive: destructive$1,
33084
- outline: outline$1,
33085
- google,
33086
- date,
33087
- container
33088
- };
33089
- const badgeVariants = cva([styles$2.base], {
33344
+ const badgeVariants = cva([styles$6.base], {
33090
33345
  variants: {
33091
33346
  variant: {
33092
- default: styles$2.default,
33093
- secondary: styles$2.secondary,
33094
- destructive: styles$2.destructive,
33095
- outline: styles$2.outline,
33096
- google: styles$2.google,
33097
- date: styles$2.date
33347
+ default: styles$6.default,
33348
+ secondary: styles$6.secondary,
33349
+ destructive: styles$6.destructive,
33350
+ outline: styles$6.outline,
33351
+ google: styles$6.google,
33352
+ date: styles$6.date
33098
33353
  },
33099
33354
  size: {
33100
- default: styles$2["size-default"],
33101
- sm: styles$2["size-sm"]
33355
+ default: styles$6["size-default"],
33356
+ sm: styles$6["size-sm"]
33102
33357
  },
33103
33358
  iconOnly: {
33104
- true: styles$2["icon-only"],
33359
+ true: styles$6["icon-only"],
33105
33360
  false: ""
33106
33361
  }
33107
33362
  },
@@ -33109,7 +33364,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
33109
33364
  {
33110
33365
  iconOnly: true,
33111
33366
  size: "sm",
33112
- class: styles$2["icon-only-sm"]
33367
+ class: styles$6["icon-only-sm"]
33113
33368
  }
33114
33369
  ],
33115
33370
  defaultVariants: {
@@ -33119,13 +33374,13 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
33119
33374
  }
33120
33375
  });
33121
33376
  const Badge = React__namespace.forwardRef(
33122
- ({ className: className2, variant, size: size3, iconOnly, truncate, ...props }, ref) => {
33377
+ ({ className: className2, variant, size: size3, iconOnly: iconOnly2, truncate, ...props }, ref) => {
33123
33378
  return /* @__PURE__ */ jsxRuntime.jsx(
33124
33379
  "div",
33125
33380
  {
33126
33381
  ref,
33127
33382
  className: cn$1(
33128
- badgeVariants({ variant, size: size3, iconOnly }),
33383
+ badgeVariants({ variant, size: size3, iconOnly: iconOnly2 }),
33129
33384
  truncate && "max-w-[90px]",
33130
33385
  className2
33131
33386
  ),
@@ -33136,7 +33391,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
33136
33391
  );
33137
33392
  Badge.displayName = "Badge";
33138
33393
  const BadgeContainer = React__namespace.forwardRef(({ className: className2, ...props }, ref) => {
33139
- return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn$1(styles$2.container, className2), ...props });
33394
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn$1(styles$6.container, className2), ...props });
33140
33395
  });
33141
33396
  BadgeContainer.displayName = "BadgeContainer";
33142
33397
  const Input = React__namespace.forwardRef(
@@ -35816,7 +36071,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
35816
36071
  },
35817
36072
  [loop, trapped, focusScope.paused]
35818
36073
  );
35819
- return /* @__PURE__ */ jsxRuntime.jsx(Primitive$2.div, { tabIndex: -1, ...scopeProps, ref: composedRefs, onKeyDown: handleKeyDown });
36074
+ return /* @__PURE__ */ jsxRuntime.jsx(Primitive$3.div, { tabIndex: -1, ...scopeProps, ref: composedRefs, onKeyDown: handleKeyDown });
35820
36075
  });
35821
36076
  FocusScope.displayName = FOCUS_SCOPE_NAME;
35822
36077
  function focusFirst$2(candidates, { select = false } = {}) {
@@ -35962,7 +36217,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
35962
36217
  const popperScope = usePopperScope$2(__scopePopover);
35963
36218
  const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);
35964
36219
  const trigger = /* @__PURE__ */ jsxRuntime.jsx(
35965
- Primitive$2.button,
36220
+ Primitive$3.button,
35966
36221
  {
35967
36222
  type: "button",
35968
36223
  "aria-haspopup": "dialog",
@@ -36147,7 +36402,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
36147
36402
  const { __scopePopover, ...closeProps } = props;
36148
36403
  const context = usePopoverContext(CLOSE_NAME, __scopePopover);
36149
36404
  return /* @__PURE__ */ jsxRuntime.jsx(
36150
- Primitive$2.button,
36405
+ Primitive$3.button,
36151
36406
  {
36152
36407
  type: "button",
36153
36408
  ...closeProps,
@@ -36783,7 +37038,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
36783
37038
  }
36784
37039
  };
36785
37040
  return /* @__PURE__ */ jsxRuntime.jsx(Anchor, { asChild: true, ...popperScope, children: /* @__PURE__ */ jsxRuntime.jsx(
36786
- Primitive$2.button,
37041
+ Primitive$3.button,
36787
37042
  {
36788
37043
  type: "button",
36789
37044
  role: "combobox",
@@ -36842,7 +37097,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
36842
37097
  onValueNodeHasChildrenChange(hasChildren);
36843
37098
  }, [onValueNodeHasChildrenChange, hasChildren]);
36844
37099
  return /* @__PURE__ */ jsxRuntime.jsx(
36845
- Primitive$2.span,
37100
+ Primitive$3.span,
36846
37101
  {
36847
37102
  ...valueProps,
36848
37103
  ref: composedRefs,
@@ -36857,7 +37112,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
36857
37112
  var SelectIcon = React__namespace.forwardRef(
36858
37113
  (props, forwardedRef) => {
36859
37114
  const { __scopeSelect, children: children2, ...iconProps } = props;
36860
- return /* @__PURE__ */ jsxRuntime.jsx(Primitive$2.span, { "aria-hidden": true, ...iconProps, ref: forwardedRef, children: children2 || "▼" });
37115
+ return /* @__PURE__ */ jsxRuntime.jsx(Primitive$3.span, { "aria-hidden": true, ...iconProps, ref: forwardedRef, children: children2 || "▼" });
36861
37116
  }
36862
37117
  );
36863
37118
  SelectIcon.displayName = ICON_NAME;
@@ -37265,7 +37520,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
37265
37520
  zIndex: contentZIndex
37266
37521
  },
37267
37522
  children: /* @__PURE__ */ jsxRuntime.jsx(
37268
- Primitive$2.div,
37523
+ Primitive$3.div,
37269
37524
  {
37270
37525
  ...popperProps,
37271
37526
  ref: composedRefs,
@@ -37339,7 +37594,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
37339
37594
  }
37340
37595
  ),
37341
37596
  /* @__PURE__ */ jsxRuntime.jsx(Collection$2.Slot, { scope: __scopeSelect, children: /* @__PURE__ */ jsxRuntime.jsx(
37342
- Primitive$2.div,
37597
+ Primitive$3.div,
37343
37598
  {
37344
37599
  "data-radix-select-viewport": "",
37345
37600
  role: "presentation",
@@ -37394,7 +37649,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
37394
37649
  (props, forwardedRef) => {
37395
37650
  const { __scopeSelect, ...groupProps } = props;
37396
37651
  const groupId = useId$1();
37397
- return /* @__PURE__ */ jsxRuntime.jsx(SelectGroupContextProvider, { scope: __scopeSelect, id: groupId, children: /* @__PURE__ */ jsxRuntime.jsx(Primitive$2.div, { role: "group", "aria-labelledby": groupId, ...groupProps, ref: forwardedRef }) });
37652
+ return /* @__PURE__ */ jsxRuntime.jsx(SelectGroupContextProvider, { scope: __scopeSelect, id: groupId, children: /* @__PURE__ */ jsxRuntime.jsx(Primitive$3.div, { role: "group", "aria-labelledby": groupId, ...groupProps, ref: forwardedRef }) });
37398
37653
  }
37399
37654
  );
37400
37655
  SelectGroup.displayName = GROUP_NAME$3;
@@ -37403,7 +37658,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
37403
37658
  (props, forwardedRef) => {
37404
37659
  const { __scopeSelect, ...labelProps } = props;
37405
37660
  const groupContext = useSelectGroupContext(LABEL_NAME$2, __scopeSelect);
37406
- return /* @__PURE__ */ jsxRuntime.jsx(Primitive$2.div, { id: groupContext.id, ...labelProps, ref: forwardedRef });
37661
+ return /* @__PURE__ */ jsxRuntime.jsx(Primitive$3.div, { id: groupContext.id, ...labelProps, ref: forwardedRef });
37407
37662
  }
37408
37663
  );
37409
37664
  SelectLabel$1.displayName = LABEL_NAME$2;
@@ -37459,7 +37714,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
37459
37714
  disabled,
37460
37715
  textValue,
37461
37716
  children: /* @__PURE__ */ jsxRuntime.jsx(
37462
- Primitive$2.div,
37717
+ Primitive$3.div,
37463
37718
  {
37464
37719
  role: "option",
37465
37720
  "aria-labelledby": textId,
@@ -37536,7 +37791,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
37536
37791
  return () => onNativeOptionRemove(nativeOption);
37537
37792
  }, [onNativeOptionAdd, onNativeOptionRemove, nativeOption]);
37538
37793
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
37539
- /* @__PURE__ */ jsxRuntime.jsx(Primitive$2.span, { id: itemContext.textId, ...itemTextProps, ref: composedRefs }),
37794
+ /* @__PURE__ */ jsxRuntime.jsx(Primitive$3.span, { id: itemContext.textId, ...itemTextProps, ref: composedRefs }),
37540
37795
  itemContext.isSelected && context.valueNode && !context.valueNodeHasChildren ? ReactDOM__namespace.createPortal(itemTextProps.children, context.valueNode) : null
37541
37796
  ] });
37542
37797
  }
@@ -37547,7 +37802,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
37547
37802
  (props, forwardedRef) => {
37548
37803
  const { __scopeSelect, ...itemIndicatorProps } = props;
37549
37804
  const itemContext = useSelectItemContext(ITEM_INDICATOR_NAME$1, __scopeSelect);
37550
- return itemContext.isSelected ? /* @__PURE__ */ jsxRuntime.jsx(Primitive$2.span, { "aria-hidden": true, ...itemIndicatorProps, ref: forwardedRef }) : null;
37805
+ return itemContext.isSelected ? /* @__PURE__ */ jsxRuntime.jsx(Primitive$3.span, { "aria-hidden": true, ...itemIndicatorProps, ref: forwardedRef }) : null;
37551
37806
  }
37552
37807
  );
37553
37808
  SelectItemIndicator.displayName = ITEM_INDICATOR_NAME$1;
@@ -37637,7 +37892,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
37637
37892
  activeItem?.ref.current?.scrollIntoView({ block: "nearest" });
37638
37893
  }, [getItems]);
37639
37894
  return /* @__PURE__ */ jsxRuntime.jsx(
37640
- Primitive$2.div,
37895
+ Primitive$3.div,
37641
37896
  {
37642
37897
  "aria-hidden": true,
37643
37898
  ...scrollIndicatorProps,
@@ -37664,7 +37919,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
37664
37919
  var SelectSeparator$1 = React__namespace.forwardRef(
37665
37920
  (props, forwardedRef) => {
37666
37921
  const { __scopeSelect, ...separatorProps } = props;
37667
- return /* @__PURE__ */ jsxRuntime.jsx(Primitive$2.div, { "aria-hidden": true, ...separatorProps, ref: forwardedRef });
37922
+ return /* @__PURE__ */ jsxRuntime.jsx(Primitive$3.div, { "aria-hidden": true, ...separatorProps, ref: forwardedRef });
37668
37923
  }
37669
37924
  );
37670
37925
  SelectSeparator$1.displayName = SEPARATOR_NAME$2;
@@ -37702,7 +37957,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
37702
37957
  select.dispatchEvent(event);
37703
37958
  }
37704
37959
  }, [prevValue, value]);
37705
- return /* @__PURE__ */ jsxRuntime.jsx(VisuallyHidden, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx("select", { ...selectProps, ref: composedRefs, defaultValue: value }) });
37960
+ return /* @__PURE__ */ jsxRuntime.jsx(VisuallyHidden$1, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx("select", { ...selectProps, ref: composedRefs, defaultValue: value }) });
37706
37961
  }
37707
37962
  );
37708
37963
  BubbleSelect.displayName = "BubbleSelect";
@@ -38144,7 +38399,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
38144
38399
  ] })
38145
38400
  ] }) });
38146
38401
  };
38147
- const styles$1 = {
38402
+ const styles = {
38148
38403
  container: "relative rounded-lg"
38149
38404
  };
38150
38405
  const SegmentBuilder = ({
@@ -38298,17 +38553,17 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
38298
38553
  }
38299
38554
  };
38300
38555
  if (isLoading) {
38301
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$1.container, children: /* @__PURE__ */ jsxRuntime.jsx(SpinLoader, { text: ["Fetching Segment data", "Finishing up"] }) });
38556
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles.container, children: /* @__PURE__ */ jsxRuntime.jsx(SpinLoader, { text: ["Fetching Segment data", "Finishing up"] }) });
38302
38557
  }
38303
38558
  if (isCreating || startedCreating) {
38304
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$1.container, children: /* @__PURE__ */ jsxRuntime.jsx(
38559
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles.container, children: /* @__PURE__ */ jsxRuntime.jsx(
38305
38560
  SpinLoader,
38306
38561
  {
38307
38562
  text: SEGMENT_ID && existingSegment ? ["Updating Segment", "Finishing up"] : ["Creating Segment", "Finishing up"]
38308
38563
  }
38309
38564
  ) });
38310
38565
  }
38311
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles$1.container, children: [
38566
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles.container, children: [
38312
38567
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative w-full flex justify-end mb-4", children: /* @__PURE__ */ jsxRuntime.jsx(
38313
38568
  Button$2,
38314
38569
  {
@@ -38418,7 +38673,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
38418
38673
  []
38419
38674
  ),
38420
38675
  children: /* @__PURE__ */ jsxRuntime.jsx(
38421
- Primitive$2.div,
38676
+ Primitive$3.div,
38422
38677
  {
38423
38678
  tabIndex: isTabbingBackOut || focusableItemsCount === 0 ? -1 : 0,
38424
38679
  "data-orientation": orientation,
@@ -38482,7 +38737,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
38482
38737
  focusable,
38483
38738
  active,
38484
38739
  children: /* @__PURE__ */ jsxRuntime.jsx(
38485
- Primitive$2.span,
38740
+ Primitive$3.span,
38486
38741
  {
38487
38742
  tabIndex: isCurrentTabStop ? 0 : -1,
38488
38743
  "data-orientation": context.orientation,
@@ -38589,7 +38844,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
38589
38844
  dir: direction,
38590
38845
  activationMode,
38591
38846
  children: /* @__PURE__ */ jsxRuntime.jsx(
38592
- Primitive$2.div,
38847
+ Primitive$3.div,
38593
38848
  {
38594
38849
  dir: direction,
38595
38850
  "data-orientation": orientation,
@@ -38617,7 +38872,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
38617
38872
  dir: context.dir,
38618
38873
  loop,
38619
38874
  children: /* @__PURE__ */ jsxRuntime.jsx(
38620
- Primitive$2.div,
38875
+ Primitive$3.div,
38621
38876
  {
38622
38877
  role: "tablist",
38623
38878
  "aria-orientation": context.orientation,
@@ -38647,7 +38902,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
38647
38902
  focusable: !disabled,
38648
38903
  active: isSelected,
38649
38904
  children: /* @__PURE__ */ jsxRuntime.jsx(
38650
- Primitive$2.button,
38905
+ Primitive$3.button,
38651
38906
  {
38652
38907
  type: "button",
38653
38908
  role: "tab",
@@ -38696,7 +38951,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
38696
38951
  return () => cancelAnimationFrame(rAF);
38697
38952
  }, []);
38698
38953
  return /* @__PURE__ */ jsxRuntime.jsx(Presence, { present: forceMount || isSelected, children: ({ present }) => /* @__PURE__ */ jsxRuntime.jsx(
38699
- Primitive$2.div,
38954
+ Primitive$3.div,
38700
38955
  {
38701
38956
  "data-state": isSelected ? "active" : "inactive",
38702
38957
  "data-orientation": context.orientation,
@@ -39249,7 +39504,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
39249
39504
  const { recipients, isLoading, fetchError } = useGetBusinessAutomationRecipients(automationId);
39250
39505
  const { isLoading: isStatisticsLoading } = useGetBusinessAutomationStatistics(automationId);
39251
39506
  if (isLoading || isStatisticsLoading) {
39252
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$3.container, children: /* @__PURE__ */ jsxRuntime.jsx(SpinLoader, { text: ["Fetching Recipients", "Finishing up"] }) });
39507
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$1.container, children: /* @__PURE__ */ jsxRuntime.jsx(SpinLoader, { text: ["Fetching Recipients", "Finishing up"] }) });
39253
39508
  }
39254
39509
  if (fetchError) {
39255
39510
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
@@ -39387,7 +39642,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
39387
39642
  return () => document.removeEventListener(CONTEXT_UPDATE, handleUpdate);
39388
39643
  }, []);
39389
39644
  return /* @__PURE__ */ jsxRuntime.jsx(
39390
- Primitive$2.div,
39645
+ Primitive$3.div,
39391
39646
  {
39392
39647
  ...layerProps,
39393
39648
  ref: composedRefs,
@@ -39420,7 +39675,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
39420
39675
  };
39421
39676
  }
39422
39677
  }, [context.branches]);
39423
- return /* @__PURE__ */ jsxRuntime.jsx(Primitive$2.div, { ...props, ref: composedRefs });
39678
+ return /* @__PURE__ */ jsxRuntime.jsx(Primitive$3.div, { ...props, ref: composedRefs });
39424
39679
  });
39425
39680
  DismissableLayerBranch.displayName = BRANCH_NAME;
39426
39681
  function usePointerDownOutside(onPointerDownOutside, ownerDocument = globalThis?.document) {
@@ -39825,7 +40080,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
39825
40080
  var MenuGroup$1 = React__namespace.forwardRef(
39826
40081
  (props, forwardedRef) => {
39827
40082
  const { __scopeMenu, ...groupProps } = props;
39828
- return /* @__PURE__ */ jsxRuntime.jsx(Primitive$2.div, { role: "group", ...groupProps, ref: forwardedRef });
40083
+ return /* @__PURE__ */ jsxRuntime.jsx(Primitive$3.div, { role: "group", ...groupProps, ref: forwardedRef });
39829
40084
  }
39830
40085
  );
39831
40086
  MenuGroup$1.displayName = GROUP_NAME$1;
@@ -39833,7 +40088,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
39833
40088
  var MenuLabel = React__namespace.forwardRef(
39834
40089
  (props, forwardedRef) => {
39835
40090
  const { __scopeMenu, ...labelProps } = props;
39836
- return /* @__PURE__ */ jsxRuntime.jsx(Primitive$2.div, { ...labelProps, ref: forwardedRef });
40091
+ return /* @__PURE__ */ jsxRuntime.jsx(Primitive$3.div, { ...labelProps, ref: forwardedRef });
39837
40092
  }
39838
40093
  );
39839
40094
  MenuLabel.displayName = LABEL_NAME$1;
@@ -39909,7 +40164,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
39909
40164
  disabled,
39910
40165
  textValue: textValue ?? textContent,
39911
40166
  children: /* @__PURE__ */ jsxRuntime.jsx(Item, { asChild: true, ...rovingFocusGroupScope, focusable: !disabled, children: /* @__PURE__ */ jsxRuntime.jsx(
39912
- Primitive$2.div,
40167
+ Primitive$3.div,
39913
40168
  {
39914
40169
  role: "menuitem",
39915
40170
  "data-highlighted": isFocused ? "" : void 0,
@@ -40017,7 +40272,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
40017
40272
  {
40018
40273
  present: forceMount || isIndeterminate(indicatorContext.checked) || indicatorContext.checked === true,
40019
40274
  children: /* @__PURE__ */ jsxRuntime.jsx(
40020
- Primitive$2.span,
40275
+ Primitive$3.span,
40021
40276
  {
40022
40277
  ...itemIndicatorProps,
40023
40278
  ref: forwardedRef,
@@ -40034,7 +40289,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
40034
40289
  (props, forwardedRef) => {
40035
40290
  const { __scopeMenu, ...separatorProps } = props;
40036
40291
  return /* @__PURE__ */ jsxRuntime.jsx(
40037
- Primitive$2.div,
40292
+ Primitive$3.div,
40038
40293
  {
40039
40294
  role: "separator",
40040
40295
  "aria-orientation": "horizontal",
@@ -40320,7 +40575,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
40320
40575
  const context = useDropdownMenuContext(TRIGGER_NAME, __scopeDropdownMenu);
40321
40576
  const menuScope = useMenuScope(__scopeDropdownMenu);
40322
40577
  return /* @__PURE__ */ jsxRuntime.jsx(Anchor2, { asChild: true, ...menuScope, children: /* @__PURE__ */ jsxRuntime.jsx(
40323
- Primitive$2.button,
40578
+ Primitive$3.button,
40324
40579
  {
40325
40580
  type: "button",
40326
40581
  id: context.triggerId,
@@ -40708,34 +40963,13 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
40708
40963
  )
40709
40964
  ] });
40710
40965
  };
40711
- const base = "reach-styles-module__base___ANlIr";
40712
- const destructive = "reach-styles-module__destructive___a6Swz";
40713
- const outline = "reach-styles-module__outline___INmdX";
40714
- const secondary = "reach-styles-module__secondary___Ym15V";
40715
- const header = "reach-styles-module__header___CzneX";
40716
- const title = "reach-styles-module__title___8ostO";
40717
- const description = "reach-styles-module__description___xR5d4";
40718
- const content = "reach-styles-module__content___XXeK2";
40719
- const footer = "reach-styles-module__footer___35Xil";
40720
- const styles = {
40721
- base,
40722
- "default": "reach-styles-module__default___S2tp4",
40723
- destructive,
40724
- outline,
40725
- secondary,
40726
- header,
40727
- title,
40728
- description,
40729
- content,
40730
- footer
40731
- };
40732
- const cardVariants = cva(styles.base, {
40966
+ const cardVariants = cva(styles$4.base, {
40733
40967
  variants: {
40734
40968
  variant: {
40735
- default: styles.default,
40736
- destructive: styles.destructive,
40737
- outline: styles.outline,
40738
- secondary: styles.secondary
40969
+ default: styles$4.default,
40970
+ destructive: styles$4.destructive,
40971
+ outline: styles$4.outline,
40972
+ secondary: styles$4.secondary
40739
40973
  }
40740
40974
  },
40741
40975
  defaultVariants: {
@@ -40755,15 +40989,15 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
40755
40989
  }
40756
40990
  );
40757
40991
  Card.displayName = "Card";
40758
- const CardHeader = React__namespace.forwardRef(({ className: className2, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn$1(styles.header, className2), ...props }));
40992
+ const CardHeader = React__namespace.forwardRef(({ className: className2, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn$1(styles$4.header, className2), ...props }));
40759
40993
  CardHeader.displayName = "CardHeader";
40760
- const CardTitle = React__namespace.forwardRef(({ className: className2, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn$1(styles.title, className2), ...props }));
40994
+ const CardTitle = React__namespace.forwardRef(({ className: className2, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn$1(styles$4.title, className2), ...props }));
40761
40995
  CardTitle.displayName = "CardTitle";
40762
- const CardDescription = React__namespace.forwardRef(({ className: className2, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn$1(styles.description, className2), ...props }));
40996
+ const CardDescription = React__namespace.forwardRef(({ className: className2, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn$1(styles$4.description, className2), ...props }));
40763
40997
  CardDescription.displayName = "CardDescription";
40764
- const CardContent = React__namespace.forwardRef(({ className: className2, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn$1(styles.content, className2), ...props }));
40998
+ const CardContent = React__namespace.forwardRef(({ className: className2, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn$1(styles$4.content, className2), ...props }));
40765
40999
  CardContent.displayName = "CardContent";
40766
- const CardFooter = React__namespace.forwardRef(({ className: className2, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn$1(styles.footer, className2), ...props }));
41000
+ const CardFooter = React__namespace.forwardRef(({ className: className2, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn$1(styles$4.footer, className2), ...props }));
40767
41001
  CardFooter.displayName = "CardFooter";
40768
41002
  const getChannelAccounts = async () => {
40769
41003
  const response = await baseRequest(
@@ -40796,7 +41030,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
40796
41030
  var NAME = "Label";
40797
41031
  var Label$1 = React__namespace.forwardRef((props, forwardedRef) => {
40798
41032
  return /* @__PURE__ */ jsxRuntime.jsx(
40799
- Primitive$2.label,
41033
+ Primitive$3.label,
40800
41034
  {
40801
41035
  ...props,
40802
41036
  ref: forwardedRef,
@@ -44634,8 +44868,8 @@ ${message2 ?? ""}`);
44634
44868
  }
44635
44869
  return context;
44636
44870
  }
44637
- function addToRange(day, range) {
44638
- var _a = range || {}, from = _a.from, to = _a.to;
44871
+ function addToRange(day, range2) {
44872
+ var _a = range2 || {}, from = _a.from, to = _a.to;
44639
44873
  if (from && to) {
44640
44874
  if (isSameDay(to, day) && isSameDay(from, day)) {
44641
44875
  return void 0;
@@ -44855,9 +45089,9 @@ ${message2 ?? ""}`);
44855
45089
  function isDayOfWeekType(value) {
44856
45090
  return Boolean(value && typeof value === "object" && "dayOfWeek" in value);
44857
45091
  }
44858
- function isDateInRange(date2, range) {
45092
+ function isDateInRange(date2, range2) {
44859
45093
  var _a;
44860
- var from = range.from, to = range.to;
45094
+ var from = range2.from, to = range2.to;
44861
45095
  if (from && to) {
44862
45096
  var isRangeInverted = differenceInCalendarDays(to, from) < 0;
44863
45097
  if (isRangeInverted) {
@@ -45128,7 +45362,7 @@ ${message2 ?? ""}`);
45128
45362
  var dayPicker = useDayPicker();
45129
45363
  var single = useSelectSingle();
45130
45364
  var multiple = useSelectMultiple();
45131
- var range = useSelectRange();
45365
+ var range2 = useSelectRange();
45132
45366
  var _a = useFocusContext(), focusDayAfter = _a.focusDayAfter, focusDayBefore = _a.focusDayBefore, focusWeekAfter = _a.focusWeekAfter, focusWeekBefore = _a.focusWeekBefore, blur = _a.blur, focus2 = _a.focus, focusMonthBefore = _a.focusMonthBefore, focusMonthAfter = _a.focusMonthAfter, focusYearBefore = _a.focusYearBefore, focusYearAfter = _a.focusYearAfter, focusStartOfWeek = _a.focusStartOfWeek, focusEndOfWeek = _a.focusEndOfWeek;
45133
45367
  var onClick = function(e2) {
45134
45368
  var _a2, _b, _c, _d;
@@ -45137,7 +45371,7 @@ ${message2 ?? ""}`);
45137
45371
  } else if (isDayPickerMultiple(dayPicker)) {
45138
45372
  (_b = multiple.onDayClick) === null || _b === void 0 ? void 0 : _b.call(multiple, date2, activeModifiers, e2);
45139
45373
  } else if (isDayPickerRange(dayPicker)) {
45140
- (_c = range.onDayClick) === null || _c === void 0 ? void 0 : _c.call(range, date2, activeModifiers, e2);
45374
+ (_c = range2.onDayClick) === null || _c === void 0 ? void 0 : _c.call(range2, date2, activeModifiers, e2);
45141
45375
  } else {
45142
45376
  (_d = dayPicker.onDayClick) === null || _d === void 0 ? void 0 : _d.call(dayPicker, date2, activeModifiers, e2);
45143
45377
  }
@@ -45255,8 +45489,8 @@ ${message2 ?? ""}`);
45255
45489
  var dayPicker = useDayPicker();
45256
45490
  var single = useSelectSingle();
45257
45491
  var multiple = useSelectMultiple();
45258
- var range = useSelectRange();
45259
- var selectedDays = isDayPickerSingle(dayPicker) ? single.selected : isDayPickerMultiple(dayPicker) ? multiple.selected : isDayPickerRange(dayPicker) ? range.selected : void 0;
45492
+ var range2 = useSelectRange();
45493
+ var selectedDays = isDayPickerSingle(dayPicker) ? single.selected : isDayPickerMultiple(dayPicker) ? multiple.selected : isDayPickerRange(dayPicker) ? range2.selected : void 0;
45260
45494
  return selectedDays;
45261
45495
  }
45262
45496
  function isInternalModifier(modifier) {
@@ -46967,7 +47201,7 @@ ${message2 ?? ""}`);
46967
47201
  return /* @__PURE__ */ jsxRuntime.jsx("div", { children: "Invalid automation ID" });
46968
47202
  }
46969
47203
  if (!automation && (isFetching || isLoading)) {
46970
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$5.container, children: /* @__PURE__ */ jsxRuntime.jsx(SpinLoader, { text: ["Fetching Automation data", "Finishing up"] }) });
47204
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$3.container, children: /* @__PURE__ */ jsxRuntime.jsx(SpinLoader, { text: ["Fetching Automation data", "Finishing up"] }) });
46971
47205
  }
46972
47206
  if (fetchError) {
46973
47207
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
@@ -46978,7 +47212,7 @@ ${message2 ?? ""}`);
46978
47212
  if (!automation) {
46979
47213
  return /* @__PURE__ */ jsxRuntime.jsx("div", { children: "No automation found" });
46980
47214
  }
46981
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles$5.container, children: [
47215
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles$3.container, children: [
46982
47216
  /* @__PURE__ */ jsxRuntime.jsx(
46983
47217
  ViewAutomationHeader,
46984
47218
  {
@@ -47017,6 +47251,9 @@ ${message2 ?? ""}`);
47017
47251
  }
47018
47252
  return /* @__PURE__ */ jsxRuntime.jsx(MemoryRouter, { children: /* @__PURE__ */ jsxRuntime.jsx(ViewAutomationModalContent, { ...props }) });
47019
47253
  };
47254
+ Object.values(
47255
+ /* @__PURE__ */ Object.assign({ "../common/components/ui/alert/styles.module.css": __vite_glob_0_0, "../common/components/ui/badge/styles.module.css": __vite_glob_0_1, "../common/components/ui/banner/styles.module.css": __vite_glob_0_2, "../common/components/ui/button/styles.module.css": __vite_glob_0_3, "../common/components/ui/card/styles.module.css": __vite_glob_0_4, "../common/components/ui/interactive-button/styles.module.css": __vite_glob_0_5, "../common/components/ui/skeleton/styles.module.css": __vite_glob_0_6, "../common/components/ui/slider/styles.module.css": __vite_glob_0_7 })
47256
+ );
47020
47257
  var isNonNullable = (i2) => i2 != null;
47021
47258
  var filterNonNullable = (arr) => arr.filter(isNonNullable);
47022
47259
  function chain(callbacks) {
@@ -56104,7 +56341,7 @@ ${message2 ?? ""}`);
56104
56341
  size: size3,
56105
56342
  border
56106
56343
  } = tokens;
56107
- const t2 = (light, dark) => theme2 === "light" ? light : dark;
56344
+ const t2 = (light, dark2) => theme2 === "light" ? light : dark2;
56108
56345
  return {
56109
56346
  entry: css`
56110
56347
  & * {
@@ -56415,7 +56652,7 @@ ${message2 ?? ""}`);
56415
56652
  const {
56416
56653
  colors
56417
56654
  } = tokens;
56418
- const t2 = (light, dark) => theme2() === "dark" ? dark : light;
56655
+ const t2 = (light, dark2) => theme2() === "dark" ? dark2 : light;
56419
56656
  if (panelWidth() < secondBreakpoint) {
56420
56657
  return css`
56421
56658
  flex-direction: column;
@@ -56481,7 +56718,7 @@ ${message2 ?? ""}`);
56481
56718
  const {
56482
56719
  colors
56483
56720
  } = tokens;
56484
- const t2 = (light, dark) => theme2() === "dark" ? dark : light;
56721
+ const t2 = (light, dark2) => theme2() === "dark" ? dark2 : light;
56485
56722
  if (panelWidth() < secondBreakpoint) {
56486
56723
  return css`
56487
56724
  flex-direction: column;
@@ -56605,7 +56842,7 @@ ${message2 ?? ""}`);
56605
56842
  const {
56606
56843
  colors
56607
56844
  } = tokens;
56608
- const t2 = (light, dark) => theme2() === "dark" ? dark : light;
56845
+ const t2 = (light, dark2) => theme2() === "dark" ? dark2 : light;
56609
56846
  if (panelWidth() < secondBreakpoint) {
56610
56847
  return css`
56611
56848
  flex-direction: column;
@@ -57179,7 +57416,7 @@ ${message2 ?? ""}`);
57179
57416
  colors,
57180
57417
  alpha: alpha2
57181
57418
  } = tokens;
57182
- const t2 = (light, dark) => theme2() === "dark" ? dark : light;
57419
+ const t2 = (light, dark2) => theme2() === "dark" ? dark2 : light;
57183
57420
  const queryState = createSubscribeToQueryCacheBatcher((queryCache) => queryCache().find({
57184
57421
  queryKey: props.query.queryKey
57185
57422
  })?.state, true, (e2) => e2.query.queryHash === props.query.queryHash);
@@ -57253,7 +57490,7 @@ ${message2 ?? ""}`);
57253
57490
  colors,
57254
57491
  alpha: alpha2
57255
57492
  } = tokens;
57256
- const t2 = (light, dark) => theme2() === "dark" ? dark : light;
57493
+ const t2 = (light, dark2) => theme2() === "dark" ? dark2 : light;
57257
57494
  const mutationState = createSubscribeToMutationCacheBatcher((mutationCache) => {
57258
57495
  const mutations = mutationCache().getAll();
57259
57496
  const mutation = mutations.find((m2) => m2.mutationId === props.mutation.mutationId);
@@ -57409,7 +57646,7 @@ ${message2 ?? ""}`);
57409
57646
  })();
57410
57647
  };
57411
57648
  var MutationStatusCount = () => {
57412
- const success = createSubscribeToMutationCacheBatcher((mutationCache) => mutationCache().getAll().filter((m2) => getMutationStatusColor({
57649
+ const success2 = createSubscribeToMutationCacheBatcher((mutationCache) => mutationCache().getAll().filter((m2) => getMutationStatusColor({
57413
57650
  isPaused: m2.state.isPaused,
57414
57651
  status: m2.state.status
57415
57652
  }) === "green").length);
@@ -57452,7 +57689,7 @@ ${message2 ?? ""}`);
57452
57689
  label: "Success",
57453
57690
  color: "green",
57454
57691
  get count() {
57455
- return success();
57692
+ return success2();
57456
57693
  }
57457
57694
  }), null);
57458
57695
  insert(_el$57, createComponent(QueryStatus, {
@@ -57478,7 +57715,7 @@ ${message2 ?? ""}`);
57478
57715
  colors,
57479
57716
  alpha: alpha2
57480
57717
  } = tokens;
57481
- const t2 = (light, dark) => theme2() === "dark" ? dark : light;
57718
+ const t2 = (light, dark2) => theme2() === "dark" ? dark2 : light;
57482
57719
  let tagRef;
57483
57720
  const [mouseOver, setMouseOver] = createSignal(false);
57484
57721
  const [focused, setFocused] = createSignal(false);
@@ -57573,7 +57810,7 @@ ${message2 ?? ""}`);
57573
57810
  const {
57574
57811
  colors
57575
57812
  } = tokens;
57576
- const t2 = (light, dark) => theme2() === "dark" ? dark : light;
57813
+ const t2 = (light, dark2) => theme2() === "dark" ? dark2 : light;
57577
57814
  const queryClient = useQueryDevtoolsContext().client;
57578
57815
  const [restoringLoading, setRestoringLoading] = createSignal(false);
57579
57816
  const [dataMode, setDataMode] = createSignal("view");
@@ -57944,7 +58181,7 @@ ${message2 ?? ""}`);
57944
58181
  const {
57945
58182
  colors
57946
58183
  } = tokens;
57947
- const t2 = (light, dark) => theme2() === "dark" ? dark : light;
58184
+ const t2 = (light, dark2) => theme2() === "dark" ? dark2 : light;
57948
58185
  const isPaused = createSubscribeToMutationCacheBatcher((mutationCache) => {
57949
58186
  const mutations = mutationCache().getAll();
57950
58187
  const mutation = mutations.find((m2) => m2.mutationId === selectedMutationId());
@@ -58155,7 +58392,7 @@ ${message2 ?? ""}`);
58155
58392
  shadow,
58156
58393
  border
58157
58394
  } = tokens;
58158
- const t2 = (light, dark) => theme2 === "light" ? light : dark;
58395
+ const t2 = (light, dark2) => theme2 === "light" ? light : dark2;
58159
58396
  return {
58160
58397
  devtoolsBtn: css`
58161
58398
  z-index: 100000;