@embedreach/components 0.1.93 → 0.1.95

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.
@@ -2894,7 +2894,7 @@ function createResource$1(pSource, pFetcher, pOptions) {
2894
2894
  let source;
2895
2895
  let fetcher;
2896
2896
  let options;
2897
- if (arguments.length === 1) {
2897
+ if (arguments.length === 2 && typeof pFetcher === "object" || arguments.length === 1) {
2898
2898
  source = true;
2899
2899
  fetcher = pSource;
2900
2900
  options = {};
@@ -2944,7 +2944,19 @@ function createResource$1(pSource, pFetcher, pOptions) {
2944
2944
  const c2 = SuspenseContext, v2 = value(), err = error2();
2945
2945
  if (err !== void 0 && !pr)
2946
2946
  throw err;
2947
- if (Listener && !Listener.user && c2) ;
2947
+ if (Listener && !Listener.user && c2) {
2948
+ createComputed(() => {
2949
+ track();
2950
+ if (pr) {
2951
+ if (c2.resolved)
2952
+ ;
2953
+ else if (!contexts.has(c2)) {
2954
+ c2.increment();
2955
+ contexts.add(c2);
2956
+ }
2957
+ }
2958
+ });
2959
+ }
2948
2960
  return v2;
2949
2961
  }
2950
2962
  function load(refetching = true) {
@@ -6488,6 +6500,9 @@ const { commonBasicLogger: ye$1 } = ne;
6488
6500
  function we$1(e4) {
6489
6501
  return "string" == typeof e4 && "kind" !== e4 && e4.match(/^(\w|\.|-)+$/);
6490
6502
  }
6503
+ function be$1(e4) {
6504
+ return e4.includes("%") || e4.includes(":") ? e4.replace(/%/g, "%25").replace(/:/g, "%3A") : e4;
6505
+ }
6491
6506
  var ke$1 = { checkContext: function(e4, t3) {
6492
6507
  if (e4) {
6493
6508
  if (t3 && (void 0 === e4.kind || null === e4.kind)) return void 0 !== e4.key && null !== e4.key;
@@ -6526,6 +6541,12 @@ var ke$1 = { checkContext: function(e4, t3) {
6526
6541
  return n2;
6527
6542
  }, getContextKinds: function(e4) {
6528
6543
  return e4 ? null === e4.kind || void 0 === e4.kind ? ["user"] : "multi" !== e4.kind ? [e4.kind] : Object.keys(e4).filter((e5) => "kind" !== e5) : [];
6544
+ }, getCanonicalKey: function(e4) {
6545
+ if (e4) {
6546
+ if ((void 0 === e4.kind || null === e4.kind || "user" === e4.kind) && e4.key) return e4.key;
6547
+ if ("multi" !== e4.kind && e4.key) return `${e4.kind}:${be$1(e4.key)}`;
6548
+ if ("multi" === e4.kind) return Object.keys(e4).sort().filter((e5) => "kind" !== e5).map((t3) => `${t3}:${be$1(e4[t3].key)}`).join(":");
6549
+ }
6529
6550
  } };
6530
6551
  const { getContextKinds: Ee$1 } = ke$1;
6531
6552
  var De$1 = function() {
@@ -7001,7 +7022,7 @@ var dt = function(e4, t3) {
7001
7022
  }, 1e3 * e4);
7002
7023
  });
7003
7024
  };
7004
- const { commonBasicLogger: ft } = ne, { checkContext: gt } = ke$1, { InspectorTypes: pt, InspectorManager: mt } = ut, ht = "change", yt = "internal-change";
7025
+ const { commonBasicLogger: ft } = ne, { checkContext: gt, getContextKeys: vt } = ke$1, { InspectorTypes: pt, InspectorManager: mt } = ut, ht = "change", yt = "internal-change";
7005
7026
  var wt = { initialize: function(e4, t3, n2, r2, o2) {
7006
7027
  const i3 = function() {
7007
7028
  if (n2 && n2.logger) return n2.logger;
@@ -7213,14 +7234,14 @@ var wt = { initialize: function(e4, t3, n2, r2, o2) {
7213
7234
  }, enqueueEvent: F2, getFlagsInternal: function() {
7214
7235
  return P2;
7215
7236
  }, getEnvironmentId: () => f2, internalChangeEventName: yt };
7216
- }, errors: s3 }, bt = wt.initialize, kt = wt.errors;
7237
+ }, commonBasicLogger: ft, errors: s3, messages: ie, utils: S$1, getContextKeys: vt }, bt = wt.initialize, kt = wt.errors;
7217
7238
  function Dt(e4, t3, n2) {
7218
7239
  return (t3 = function(e5) {
7219
7240
  var t4 = function(e6, t5) {
7220
7241
  if ("object" != typeof e6 || !e6) return e6;
7221
7242
  var n3 = e6[Symbol.toPrimitive];
7222
7243
  if (void 0 !== n3) {
7223
- var r2 = n3.call(e6, t5);
7244
+ var r2 = n3.call(e6, t5 || "default");
7224
7245
  if ("object" != typeof r2) return r2;
7225
7246
  throw new TypeError("@@toPrimitive must return a primitive value.");
7226
7247
  }
@@ -7446,6 +7467,7 @@ function getAugmentedNamespace(n2) {
7446
7467
  });
7447
7468
  return a4;
7448
7469
  }
7470
+ var INFINITY = 1 / 0;
7449
7471
  var symbolTag = "[object Symbol]";
7450
7472
  var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
7451
7473
  var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
@@ -7725,12 +7747,12 @@ function baseToString(value) {
7725
7747
  return symbolToString ? symbolToString.call(value) : "";
7726
7748
  }
7727
7749
  var result = value + "";
7728
- return result == "0" && 1 / value == -Infinity ? "-0" : result;
7750
+ return result == "0" && 1 / value == -INFINITY ? "-0" : result;
7729
7751
  }
7730
7752
  function castSlice(array, start, end) {
7731
7753
  var length = array.length;
7732
7754
  end = end === void 0 ? length : end;
7733
- return false ? array : baseSlice(array, start, end);
7755
+ return !start && end >= length ? array : baseSlice(array, start, end);
7734
7756
  }
7735
7757
  function createCaseFirst(methodName) {
7736
7758
  return function(string) {
@@ -13049,7 +13071,7 @@ const authListeners = [
13049
13071
  }
13050
13072
  }
13051
13073
  ];
13052
- const { Provider: Provider$3 } = createDataContext(
13074
+ const { Context: Context$2, Provider: Provider$3 } = createDataContext(
13053
13075
  authReducer,
13054
13076
  {
13055
13077
  handleReauth
@@ -13208,6 +13230,308 @@ const toShadcnFormat = (color2) => {
13208
13230
  return color2;
13209
13231
  }
13210
13232
  };
13233
+ const tailwindToHsl = (tailwindClass) => {
13234
+ if (tailwindClass === "bg-black") return rgbToShadcnHsl(0, 0, 0);
13235
+ if (tailwindClass === "bg-white") return rgbToShadcnHsl(255, 255, 255);
13236
+ const match2 = tailwindClass.match(/^bg-([a-z]+)-(\d{2,3})$/);
13237
+ if (!match2) {
13238
+ throw new Error(`Invalid tailwind color class: ${tailwindClass}`);
13239
+ }
13240
+ const [, color2, shade] = match2;
13241
+ const colorMap = {
13242
+ red: {
13243
+ "50": [254, 242, 242],
13244
+ "100": [254, 226, 226],
13245
+ "200": [254, 202, 202],
13246
+ "300": [252, 165, 165],
13247
+ "400": [248, 113, 113],
13248
+ "500": [239, 68, 68],
13249
+ "600": [220, 38, 38],
13250
+ "700": [185, 28, 28],
13251
+ "800": [153, 27, 27],
13252
+ "900": [127, 29, 29],
13253
+ "950": [69, 10, 10]
13254
+ },
13255
+ orange: {
13256
+ "50": [255, 247, 237],
13257
+ "100": [255, 237, 213],
13258
+ "200": [254, 215, 170],
13259
+ "300": [253, 186, 116],
13260
+ "400": [251, 146, 60],
13261
+ "500": [249, 115, 22],
13262
+ "600": [234, 88, 12],
13263
+ "700": [194, 65, 12],
13264
+ "800": [154, 52, 18],
13265
+ "900": [124, 45, 18],
13266
+ "950": [67, 20, 7]
13267
+ },
13268
+ amber: {
13269
+ "50": [255, 251, 235],
13270
+ "100": [254, 243, 199],
13271
+ "200": [253, 230, 138],
13272
+ "300": [252, 211, 77],
13273
+ "400": [251, 191, 36],
13274
+ "500": [245, 158, 11],
13275
+ "600": [217, 119, 6],
13276
+ "700": [180, 83, 9],
13277
+ "800": [146, 64, 14],
13278
+ "900": [120, 53, 15],
13279
+ "950": [69, 26, 3]
13280
+ },
13281
+ yellow: {
13282
+ "50": [254, 252, 232],
13283
+ "100": [254, 249, 195],
13284
+ "200": [254, 240, 138],
13285
+ "300": [253, 224, 71],
13286
+ "400": [250, 204, 21],
13287
+ "500": [234, 179, 8],
13288
+ "600": [202, 138, 4],
13289
+ "700": [161, 98, 7],
13290
+ "800": [133, 77, 14],
13291
+ "900": [113, 63, 18],
13292
+ "950": [66, 32, 6]
13293
+ },
13294
+ lime: {
13295
+ "50": [247, 254, 231],
13296
+ "100": [236, 252, 203],
13297
+ "200": [217, 249, 157],
13298
+ "300": [190, 242, 100],
13299
+ "400": [163, 230, 53],
13300
+ "500": [132, 204, 22],
13301
+ "600": [101, 163, 13],
13302
+ "700": [77, 124, 15],
13303
+ "800": [63, 98, 18],
13304
+ "900": [54, 83, 20],
13305
+ "950": [26, 46, 5]
13306
+ },
13307
+ green: {
13308
+ "50": [240, 253, 244],
13309
+ "100": [220, 252, 231],
13310
+ "200": [187, 247, 208],
13311
+ "300": [134, 239, 172],
13312
+ "400": [74, 222, 128],
13313
+ "500": [34, 197, 94],
13314
+ "600": [22, 163, 74],
13315
+ "700": [21, 128, 61],
13316
+ "800": [22, 101, 52],
13317
+ "900": [20, 83, 45],
13318
+ "950": [5, 46, 22]
13319
+ },
13320
+ emerald: {
13321
+ "50": [236, 253, 245],
13322
+ "100": [209, 250, 229],
13323
+ "200": [167, 243, 208],
13324
+ "300": [110, 231, 183],
13325
+ "400": [52, 211, 153],
13326
+ "500": [16, 185, 129],
13327
+ "600": [5, 150, 105],
13328
+ "700": [4, 120, 87],
13329
+ "800": [6, 95, 70],
13330
+ "900": [6, 78, 59],
13331
+ "950": [2, 44, 34]
13332
+ },
13333
+ teal: {
13334
+ "50": [240, 253, 250],
13335
+ "100": [204, 251, 241],
13336
+ "200": [153, 246, 228],
13337
+ "300": [94, 234, 212],
13338
+ "400": [45, 212, 191],
13339
+ "500": [20, 184, 166],
13340
+ "600": [13, 148, 136],
13341
+ "700": [15, 118, 110],
13342
+ "800": [17, 94, 89],
13343
+ "900": [19, 78, 74],
13344
+ "950": [4, 47, 46]
13345
+ },
13346
+ cyan: {
13347
+ "50": [236, 254, 255],
13348
+ "100": [207, 250, 254],
13349
+ "200": [165, 243, 252],
13350
+ "300": [103, 232, 249],
13351
+ "400": [34, 211, 238],
13352
+ "500": [6, 182, 212],
13353
+ "600": [8, 145, 178],
13354
+ "700": [14, 116, 144],
13355
+ "800": [21, 94, 117],
13356
+ "900": [22, 78, 99],
13357
+ "950": [8, 51, 68]
13358
+ },
13359
+ sky: {
13360
+ "50": [240, 249, 255],
13361
+ "100": [224, 242, 254],
13362
+ "200": [186, 230, 253],
13363
+ "300": [125, 211, 252],
13364
+ "400": [56, 189, 248],
13365
+ "500": [14, 165, 233],
13366
+ "600": [2, 132, 199],
13367
+ "700": [3, 105, 161],
13368
+ "800": [7, 89, 133],
13369
+ "900": [12, 74, 110],
13370
+ "950": [8, 47, 73]
13371
+ },
13372
+ blue: {
13373
+ "50": [239, 246, 255],
13374
+ "100": [219, 234, 254],
13375
+ "200": [191, 219, 254],
13376
+ "300": [147, 197, 253],
13377
+ "400": [96, 165, 250],
13378
+ "500": [59, 130, 246],
13379
+ "600": [37, 99, 235],
13380
+ "700": [29, 78, 216],
13381
+ "800": [30, 64, 175],
13382
+ "900": [30, 58, 138],
13383
+ "950": [23, 37, 84]
13384
+ },
13385
+ indigo: {
13386
+ "50": [238, 242, 255],
13387
+ "100": [224, 231, 255],
13388
+ "200": [199, 210, 254],
13389
+ "300": [165, 180, 252],
13390
+ "400": [129, 140, 248],
13391
+ "500": [99, 102, 241],
13392
+ "600": [79, 70, 229],
13393
+ "700": [67, 56, 202],
13394
+ "800": [55, 48, 163],
13395
+ "900": [49, 46, 129],
13396
+ "950": [30, 27, 75]
13397
+ },
13398
+ violet: {
13399
+ "50": [245, 243, 255],
13400
+ "100": [237, 233, 254],
13401
+ "200": [221, 214, 254],
13402
+ "300": [196, 181, 253],
13403
+ "400": [167, 139, 250],
13404
+ "500": [139, 92, 246],
13405
+ "600": [124, 58, 237],
13406
+ "700": [109, 40, 217],
13407
+ "800": [91, 33, 182],
13408
+ "900": [76, 29, 149],
13409
+ "950": [46, 16, 101]
13410
+ },
13411
+ purple: {
13412
+ "50": [250, 245, 255],
13413
+ "100": [243, 232, 255],
13414
+ "200": [233, 213, 255],
13415
+ "300": [216, 180, 254],
13416
+ "400": [192, 132, 252],
13417
+ "500": [168, 85, 247],
13418
+ "600": [147, 51, 234],
13419
+ "700": [126, 34, 206],
13420
+ "800": [107, 33, 168],
13421
+ "900": [88, 28, 135],
13422
+ "950": [59, 7, 100]
13423
+ },
13424
+ fuchsia: {
13425
+ "50": [253, 244, 255],
13426
+ "100": [250, 232, 255],
13427
+ "200": [245, 208, 254],
13428
+ "300": [240, 171, 252],
13429
+ "400": [232, 121, 249],
13430
+ "500": [217, 70, 239],
13431
+ "600": [192, 38, 211],
13432
+ "700": [162, 28, 175],
13433
+ "800": [134, 25, 143],
13434
+ "900": [112, 26, 117],
13435
+ "950": [74, 4, 78]
13436
+ },
13437
+ pink: {
13438
+ "50": [253, 242, 248],
13439
+ "100": [252, 231, 243],
13440
+ "200": [251, 207, 232],
13441
+ "300": [249, 168, 212],
13442
+ "400": [244, 114, 182],
13443
+ "500": [236, 72, 153],
13444
+ "600": [219, 39, 119],
13445
+ "700": [190, 24, 93],
13446
+ "800": [157, 23, 77],
13447
+ "900": [131, 24, 67],
13448
+ "950": [80, 7, 36]
13449
+ },
13450
+ rose: {
13451
+ "50": [255, 241, 242],
13452
+ "100": [255, 228, 230],
13453
+ "200": [254, 205, 211],
13454
+ "300": [253, 164, 175],
13455
+ "400": [251, 113, 133],
13456
+ "500": [244, 63, 94],
13457
+ "600": [225, 29, 72],
13458
+ "700": [190, 18, 60],
13459
+ "800": [159, 18, 57],
13460
+ "900": [136, 19, 55],
13461
+ "950": [76, 5, 25]
13462
+ },
13463
+ slate: {
13464
+ "50": [248, 250, 252],
13465
+ "100": [241, 245, 249],
13466
+ "200": [226, 232, 240],
13467
+ "300": [203, 213, 225],
13468
+ "400": [148, 163, 184],
13469
+ "500": [100, 116, 139],
13470
+ "600": [71, 85, 105],
13471
+ "700": [51, 65, 85],
13472
+ "800": [30, 41, 59],
13473
+ "900": [15, 23, 42],
13474
+ "950": [2, 6, 23]
13475
+ },
13476
+ gray: {
13477
+ "50": [249, 250, 251],
13478
+ "100": [243, 244, 246],
13479
+ "200": [229, 231, 235],
13480
+ "300": [209, 213, 219],
13481
+ "400": [156, 163, 175],
13482
+ "500": [107, 114, 128],
13483
+ "600": [75, 85, 99],
13484
+ "700": [55, 65, 81],
13485
+ "800": [31, 41, 55],
13486
+ "900": [17, 24, 39],
13487
+ "950": [3, 7, 18]
13488
+ },
13489
+ zinc: {
13490
+ "50": [250, 250, 250],
13491
+ "100": [244, 244, 245],
13492
+ "200": [228, 228, 231],
13493
+ "300": [212, 212, 216],
13494
+ "400": [161, 161, 170],
13495
+ "500": [113, 113, 122],
13496
+ "600": [82, 82, 91],
13497
+ "700": [63, 63, 70],
13498
+ "800": [39, 39, 42],
13499
+ "900": [24, 24, 27],
13500
+ "950": [9, 9, 11]
13501
+ },
13502
+ neutral: {
13503
+ "50": [250, 250, 250],
13504
+ "100": [245, 245, 245],
13505
+ "200": [229, 229, 229],
13506
+ "300": [212, 212, 212],
13507
+ "400": [163, 163, 163],
13508
+ "500": [115, 115, 115],
13509
+ "600": [82, 82, 82],
13510
+ "700": [64, 64, 64],
13511
+ "800": [38, 38, 38],
13512
+ "900": [23, 23, 23],
13513
+ "950": [10, 10, 10]
13514
+ },
13515
+ stone: {
13516
+ "50": [250, 250, 249],
13517
+ "100": [245, 245, 244],
13518
+ "200": [231, 229, 228],
13519
+ "300": [214, 211, 209],
13520
+ "400": [168, 162, 158],
13521
+ "500": [120, 113, 108],
13522
+ "600": [87, 83, 78],
13523
+ "700": [68, 64, 60],
13524
+ "800": [41, 37, 36],
13525
+ "900": [28, 25, 23],
13526
+ "950": [12, 10, 9]
13527
+ }
13528
+ };
13529
+ if (!colorMap[color2] || !colorMap[color2][shade]) {
13530
+ throw new Error(`Unsupported color or shade: ${tailwindClass}`);
13531
+ }
13532
+ const [r2, g2, b3] = colorMap[color2][shade];
13533
+ return rgbToShadcnHsl(r2, g2, b3);
13534
+ };
13211
13535
  const applyThemeStyles = (styles2) => {
13212
13536
  const existingStyles = document.getElementById("reach-theme-styles");
13213
13537
  if (existingStyles) {
@@ -13224,13 +13548,10 @@ const applyThemeStyles = (styles2) => {
13224
13548
  if (key === "radius" || key === "font-body" || key === "font-heading") {
13225
13549
  finalValue = userValue;
13226
13550
  } else if (isValidColor(userValue)) {
13227
- const isTailwindClass = /^bg-/.test(userValue.trim());
13551
+ const isTailwindClass = /^bg-/.test(userValue.trim()) && userValue.trim() !== "bg-inherit" && userValue.trim() !== "bg-current" && userValue.trim() !== "bg-transparent";
13228
13552
  if (isTailwindClass) {
13229
- const rootElement = document.querySelector("[data-reach-root]");
13230
- if (rootElement) {
13231
- rootElement.classList.add(userValue.trim());
13232
- }
13233
- finalValue = defaultValue;
13553
+ const className2 = userValue.replace(/['"]/g, "").trim();
13554
+ finalValue = tailwindToHsl(className2);
13234
13555
  } else {
13235
13556
  try {
13236
13557
  finalValue = toShadcnFormat(userValue);
@@ -16921,6 +17242,16 @@ instance.use(Browser).use(initReactI18next).init({
16921
17242
  }
16922
17243
  });
16923
17244
  const defaultTranslations = {
17245
+ engage: {
17246
+ user: "User",
17247
+ user_other: "Users",
17248
+ automation: "Automation",
17249
+ automation_other: "Automations",
17250
+ segment: "Segment",
17251
+ segment_other: "Segments",
17252
+ one_time: "One Time",
17253
+ trigger_based: "Trigger Based"
17254
+ },
16924
17255
  common: {
16925
17256
  ad_spend: "Ad Spend",
16926
17257
  date: "Date",
@@ -32530,6 +32861,9 @@ function safeExecuteInTheMiddle$2(execute, onFinish, preventThrowingError) {
32530
32861
  error2 = e4;
32531
32862
  } finally {
32532
32863
  onFinish(error2, result);
32864
+ if (error2 && !preventThrowingError) {
32865
+ throw error2;
32866
+ }
32533
32867
  return result;
32534
32868
  }
32535
32869
  }
@@ -32743,7 +33077,7 @@ var DocumentLoadInstrumentation = (
32743
33077
  return;
32744
33078
  }
32745
33079
  _this._diag.error("addCustomAttributesOnSpan", error2);
32746
- });
33080
+ }, true);
32747
33081
  }
32748
33082
  };
32749
33083
  DocumentLoadInstrumentation2.prototype._addCustomAttributesOnResourceSpan = function(span, resource, applyCustomAttributesOnSpan) {
@@ -32756,7 +33090,7 @@ var DocumentLoadInstrumentation = (
32756
33090
  return;
32757
33091
  }
32758
33092
  _this._diag.error("addCustomAttributesOnResourceSpan", error2);
32759
- });
33093
+ }, true);
32760
33094
  }
32761
33095
  };
32762
33096
  DocumentLoadInstrumentation2.prototype.enable = function() {
@@ -33118,6 +33452,9 @@ function safeExecuteInTheMiddle$1(execute, onFinish, preventThrowingError) {
33118
33452
  error2 = e4;
33119
33453
  } finally {
33120
33454
  onFinish(error2, result);
33455
+ if (error2 && !preventThrowingError) {
33456
+ throw error2;
33457
+ }
33121
33458
  return result;
33122
33459
  }
33123
33460
  }
@@ -33841,7 +34178,7 @@ var FetchInstrumentation = (
33841
34178
  return;
33842
34179
  }
33843
34180
  _this._diag.error("applyCustomAttributesOnSpan", error2);
33844
- });
34181
+ }, true);
33845
34182
  }
33846
34183
  };
33847
34184
  FetchInstrumentation2.prototype._prepareSpanData = function(spanUrl) {
@@ -34664,6 +35001,9 @@ function safeExecuteInTheMiddle(execute, onFinish, preventThrowingError) {
34664
35001
  error2 = e4;
34665
35002
  } finally {
34666
35003
  onFinish(error2, result);
35004
+ if (error2 && !preventThrowingError) {
35005
+ throw error2;
35006
+ }
34667
35007
  return result;
34668
35008
  }
34669
35009
  }
@@ -35039,7 +35379,7 @@ var XMLHttpRequestInstrumentation = (
35039
35379
  return;
35040
35380
  }
35041
35381
  _this._diag.error("applyCustomAttributesOnSpan", error2);
35042
- });
35382
+ }, true);
35043
35383
  }
35044
35384
  };
35045
35385
  XMLHttpRequestInstrumentation2.prototype._addResourceObserver = function(xhr, spanUrl) {
@@ -35726,7 +36066,7 @@ var count$5 = 0;
35726
36066
  function useId$3(deterministicId) {
35727
36067
  const [id2, setId] = React.useState(useReactId$2());
35728
36068
  useLayoutEffect2$2(() => {
35729
- setId((reactId) => reactId ?? String(count$5++));
36069
+ if (!deterministicId) setId((reactId) => reactId ?? String(count$5++));
35730
36070
  }, [deterministicId]);
35731
36071
  return deterministicId || (id2 ? `radix-${id2}` : "");
35732
36072
  }
@@ -36939,9 +37279,9 @@ var handleScroll = function(axis, endTarget, event, sourceDelta, noOverscroll) {
36939
37279
  !targetInLock && target !== document.body || // self content
36940
37280
  targetInLock && (endTarget.contains(target) || endTarget === target)
36941
37281
  );
36942
- if (isDeltaPositive && (Math.abs(availableScroll) < 1 || false)) {
37282
+ if (isDeltaPositive && (Math.abs(availableScroll) < 1 || !noOverscroll)) {
36943
37283
  shouldCancelScroll = true;
36944
- } else if (!isDeltaPositive && (Math.abs(availableScrollTop) < 1 || false)) {
37284
+ } else if (!isDeltaPositive && (Math.abs(availableScrollTop) < 1 || !noOverscroll)) {
36945
37285
  shouldCancelScroll = true;
36946
37286
  }
36947
37287
  return shouldCancelScroll;
@@ -37023,7 +37363,7 @@ function RemoveScrollSideCar(props) {
37023
37363
  return true;
37024
37364
  }
37025
37365
  var cancelingAxis = activeAxis.current || currentAxis;
37026
- return handleScroll(cancelingAxis, parent, event, cancelingAxis === "h" ? deltaX : deltaY);
37366
+ return handleScroll(cancelingAxis, parent, event, cancelingAxis === "h" ? deltaX : deltaY, true);
37027
37367
  }, []);
37028
37368
  var shouldPrevent = React.useCallback(function(_event) {
37029
37369
  var event = _event;
@@ -37864,6 +38204,7 @@ const progress = /* @__NO_SIDE_EFFECTS__ */ (from, to, value) => {
37864
38204
  const secondsToMilliseconds = /* @__NO_SIDE_EFFECTS__ */ (seconds) => seconds * 1e3;
37865
38205
  const millisecondsToSeconds = /* @__NO_SIDE_EFFECTS__ */ (milliseconds) => milliseconds / 1e3;
37866
38206
  const MotionGlobalConfig = {
38207
+ skipAnimations: false,
37867
38208
  useManualTiming: false
37868
38209
  };
37869
38210
  const stepsOrder = [
@@ -37881,7 +38222,8 @@ const stepsOrder = [
37881
38222
  // Compute
37882
38223
  ];
37883
38224
  const statsBuffer = {
37884
- value: null
38225
+ value: null,
38226
+ addProjectionMetrics: null
37885
38227
  };
37886
38228
  function createRenderStep(runNextFrame, stepName) {
37887
38229
  let thisFrame = /* @__PURE__ */ new Set();
@@ -38210,7 +38552,7 @@ function useMotionRef(visualState, visualElement, externalRef) {
38210
38552
  const camelToDash = (str) => str.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase();
38211
38553
  const optimizedAppearDataId = "framerAppearId";
38212
38554
  const optimizedAppearDataAttribute = "data-" + camelToDash(optimizedAppearDataId);
38213
- const { schedule: microtask } = createRenderBatcher(queueMicrotask, false);
38555
+ const { schedule: microtask, cancel: cancelMicrotask } = createRenderBatcher(queueMicrotask, false);
38214
38556
  const SwitchLayoutGroupContext = createContext$1({});
38215
38557
  function useVisualElement(Component2, visualState, props, createVisualElement, ProjectionNodeConstructor) {
38216
38558
  var _a2, _b;
@@ -40605,7 +40947,7 @@ function findSpring({ duration = springDefaults.duration, bounce = springDefault
40605
40947
  envelope = (undampedFreq2) => {
40606
40948
  const a4 = Math.exp(-undampedFreq2 * duration);
40607
40949
  const b3 = (undampedFreq2 - velocity) * duration + 1;
40608
- return -1e-3 + a4 * b3;
40950
+ return -safeMin + a4 * b3;
40609
40951
  };
40610
40952
  derivative = (undampedFreq2) => {
40611
40953
  const a4 = Math.exp(-undampedFreq2 * duration);
@@ -45628,6 +45970,8 @@ const BigSelector = ({ onClick, title: title2, subtitle, icon, selected, disable
45628
45970
  const styles$3 = {
45629
45971
  title: "text-3xl mb-8",
45630
45972
  grid: "grid grid-cols-2 gap-6",
45973
+ card: "relative p-6 rounded-lg border border-gray-200 cursor-pointer flex flex-col items-center text-center hover:border-indigo-500 transition-colors",
45974
+ cardDisabled: "opacity-60 cursor-not-allowed hover:border-gray-200",
45631
45975
  container: "relative p-6 rounded-lg",
45632
45976
  iconWrapper: "mb-4 flex items-center justify-center",
45633
45977
  cardTitle: "text-lg font-medium mb-2",
@@ -47423,7 +47767,9 @@ async function loadRouteModule(route, routeModulesCache) {
47423
47767
  );
47424
47768
  console.error(error2);
47425
47769
  if (window.__reactRouterContext && window.__reactRouterContext.isSpaMode && // @ts-expect-error
47426
- void 0) ;
47770
+ void 0) {
47771
+ throw error2;
47772
+ }
47427
47773
  window.location.reload();
47428
47774
  return new Promise(() => {
47429
47775
  });
@@ -52931,8 +53277,7 @@ const BrandSettingsModal = () => {
52931
53277
  if (file) {
52932
53278
  const reader = new FileReader();
52933
53279
  reader.onloadend = async () => {
52934
- const base64String = reader.result;
52935
- setLogoUrl(base64String);
53280
+ const base64String = reader.result.split(",")[1];
52936
53281
  updateBrandSettings({
52937
53282
  logoBase64: base64String
52938
53283
  });
@@ -53933,6 +54278,8 @@ const lightFormatters = {
53933
54278
  }
53934
54279
  };
53935
54280
  const dayPeriodEnum$1 = {
54281
+ am: "am",
54282
+ pm: "pm",
53936
54283
  midnight: "midnight",
53937
54284
  noon: "noon",
53938
54285
  morning: "morning",
@@ -54902,6 +55249,7 @@ const secondary$1 = "reach-styles-module__secondary___VQ4iH";
54902
55249
  const destructive$1 = "reach-styles-module__destructive___RLaRD";
54903
55250
  const outline$1 = "reach-styles-module__outline___L2VtW";
54904
55251
  const google = "reach-styles-module__google___HcEij";
55252
+ const dark = "reach-styles-module__dark___729i-";
54905
55253
  const date = "reach-styles-module__date___-6BC4";
54906
55254
  const sizeDefault = "reach-styles-module__sizeDefault___iGTp4";
54907
55255
  const sizeSm = "reach-styles-module__sizeSm___6T2oK";
@@ -54915,6 +55263,7 @@ const styles$2 = {
54915
55263
  destructive: destructive$1,
54916
55264
  outline: outline$1,
54917
55265
  google,
55266
+ dark,
54918
55267
  date,
54919
55268
  sizeDefault,
54920
55269
  sizeSm,
@@ -57358,6 +57707,8 @@ var formatters$2 = {
57358
57707
  }
57359
57708
  };
57360
57709
  var dayPeriodEnum = {
57710
+ am: "am",
57711
+ pm: "pm",
57361
57712
  midnight: "midnight",
57362
57713
  noon: "noon",
57363
57714
  morning: "morning",
@@ -61452,7 +61803,7 @@ function useId(deterministicId) {
61452
61803
  useLayoutEffect2(() => {
61453
61804
  setId((reactId) => reactId ?? String(count++));
61454
61805
  }, [deterministicId]);
61455
- return deterministicId || (id2 ? `radix-${id2}` : "");
61806
+ return id2 ? `radix-${id2}` : "";
61456
61807
  }
61457
61808
  var NAME$1 = "Arrow";
61458
61809
  var Arrow$1 = React.forwardRef((props, forwardedRef) => {
@@ -64477,7 +64828,8 @@ const initialState = {
64477
64828
  isFetchingAutomation: false,
64478
64829
  isUpdatingAutomation: false,
64479
64830
  isFetchingCommunication: false,
64480
- isUpdatingCommunication: false
64831
+ isUpdatingCommunication: false,
64832
+ openEditPopup: false
64481
64833
  };
64482
64834
  const automationReducer = (state, action) => {
64483
64835
  switch (action.type) {
@@ -64536,6 +64888,11 @@ const automationReducer = (state, action) => {
64536
64888
  ...state,
64537
64889
  recipientStats: action.payload
64538
64890
  };
64891
+ case "SET_EDIT_POPUP":
64892
+ return {
64893
+ ...state,
64894
+ openEditPopup: action.payload
64895
+ };
64539
64896
  default:
64540
64897
  return state;
64541
64898
  }
@@ -64549,6 +64906,9 @@ const setCommunicationGroup = (dispatch2) => (group) => {
64549
64906
  const setRecipientStats = (dispatch2) => (stats) => {
64550
64907
  dispatch2({ type: "UPDATE_RECIPIENT_STATS", payload: stats });
64551
64908
  };
64909
+ const setEditPopup = (dispatch2) => (isOpen) => {
64910
+ dispatch2({ type: "SET_EDIT_POPUP", payload: isOpen });
64911
+ };
64552
64912
  const automationListeners = [
64553
64913
  {
64554
64914
  eventName: EVENT_AUTOMATION_UPDATE_START,
@@ -64580,7 +64940,8 @@ const { Context, Provider } = createDataContext(
64580
64940
  {
64581
64941
  setAutomation,
64582
64942
  setCommunicationGroup,
64583
- setRecipientStats
64943
+ setRecipientStats,
64944
+ setEditPopup
64584
64945
  },
64585
64946
  initialState,
64586
64947
  automationListeners
@@ -65096,6 +65457,7 @@ const AutomationContent = ({
65096
65457
  const [emailData, setEmailData] = useState(null);
65097
65458
  const [smsData, setSmsData] = useState(null);
65098
65459
  const [loading2, setLoading2] = useState(false);
65460
+ const { setEditPopup: setEditPopup2 } = useContext$1(Context);
65099
65461
  const communicationGroup = useCommunicationGroup();
65100
65462
  useEffect(() => {
65101
65463
  if (!communicationGroup || !channelSenders) {
@@ -65158,8 +65520,19 @@ const AutomationContent = ({
65158
65520
  )
65159
65521
  }
65160
65522
  ) }),
65161
- /* @__PURE__ */ jsx("h3", { className: "text-xl font-semibold text-gray-800 mb-2", children: "Automation Content Missing" }),
65162
- /* @__PURE__ */ jsx("p", { className: "text-gray-500 max-w-md", children: "Complete your automation setup to preview the content here. We'll guide you through each step. Start by clicking Actions in the top right, and then click Edit!" })
65523
+ /* @__PURE__ */ jsxs("h3", { className: "text-xl font-semibold text-gray-800 mb-2", children: [
65524
+ t("engage:automation"),
65525
+ " Content Missing"
65526
+ ] }),
65527
+ /* @__PURE__ */ jsxs("p", { className: "text-gray-500 max-w-md pb-4", children: [
65528
+ "Complete your ",
65529
+ t("engage:automation"),
65530
+ " setup to preview the content here!"
65531
+ ] }),
65532
+ /* @__PURE__ */ jsxs(Button$1, { onClick: () => setEditPopup2(true), children: [
65533
+ "Edit ",
65534
+ t("engage:automation")
65535
+ ] })
65163
65536
  ] }) : /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
65164
65537
  /* @__PURE__ */ jsx(
65165
65538
  PreviewPanel,
@@ -66867,6 +67240,17 @@ const minusIconInactive = "reach-styles-module__minusIconInactive___JtvVB";
66867
67240
  const label = "reach-styles-module__label___tiCMA";
66868
67241
  const labelActive = "reach-styles-module__labelActive___EXydD";
66869
67242
  const labelInactive = "reach-styles-module__labelInactive___g-J3r";
67243
+ const navigationContainer = "reach-styles-module__navigationContainer___1T1JL";
67244
+ const navigationButton = "reach-styles-module__navigationButton___9LW7I";
67245
+ const sidebarContainer = "reach-styles-module__sidebarContainer___Yqwnv";
67246
+ const sidebarNav = "reach-styles-module__sidebarNav___vGCaT";
67247
+ const stepItem = "reach-styles-module__stepItem___c497m";
67248
+ const stepItemActive = "reach-styles-module__stepItemActive___zQkts";
67249
+ const stepItemCompleted = "reach-styles-module__stepItemCompleted___TiD-u";
67250
+ const stepItemUpcoming = "reach-styles-module__stepItemUpcoming___Qu-vA";
67251
+ const contentContainer = "reach-styles-module__contentContainer___g6SCE";
67252
+ const contentArea = "reach-styles-module__contentArea___gczmB";
67253
+ const poweredByReachContainer = "reach-styles-module__poweredByReachContainer___GCwod";
66870
67254
  const styles$1 = {
66871
67255
  stepIndicatorContainer,
66872
67256
  iconContainer,
@@ -66876,7 +67260,18 @@ const styles$1 = {
66876
67260
  minusIconInactive,
66877
67261
  label,
66878
67262
  labelActive,
66879
- labelInactive
67263
+ labelInactive,
67264
+ navigationContainer,
67265
+ navigationButton,
67266
+ sidebarContainer,
67267
+ sidebarNav,
67268
+ stepItem,
67269
+ stepItemActive,
67270
+ stepItemCompleted,
67271
+ stepItemUpcoming,
67272
+ contentContainer,
67273
+ contentArea,
67274
+ poweredByReachContainer
66880
67275
  };
66881
67276
  const StepIndicator = ({
66882
67277
  label: label2,
@@ -68122,7 +68517,12 @@ const SMSPreview = ({ iconDefinitions, mergeFieldsResponse, smsChannelSenders })
68122
68517
  }
68123
68518
  if (!fromNumber) {
68124
68519
  const smsChannelSenders2 = channelSenders.results.filter(
68125
- (sender) => sender.channelSenderMetadata.from
68520
+ (sender) => (
68521
+ /**
68522
+ * Either a from number or a message service sid
68523
+ */
68524
+ sender.channelSenderMetadata.from || sender.channelSenderMetadata.messageServiceSid
68525
+ )
68126
68526
  );
68127
68527
  if (smsChannelSenders2?.[0]) {
68128
68528
  setFromNumber(smsChannelSenders2[0].id);
@@ -69792,7 +70192,6 @@ const BackNextButtonGroup = ({
69792
70192
  };
69793
70193
  const EditAutomation = ({
69794
70194
  iconDefinitions,
69795
- setOpenEditAutomationPopup,
69796
70195
  logoUrl,
69797
70196
  getExtraMergeFields,
69798
70197
  onBeforeSchedule
@@ -69802,6 +70201,7 @@ const EditAutomation = ({
69802
70201
  const communicationGroup = useCommunicationGroup();
69803
70202
  const estimatedMatchesStats = useValidationStats();
69804
70203
  const { validateStep } = useValidateStep();
70204
+ const { setEditPopup: setEditPopup2 } = useContext$1(Context);
69805
70205
  const [currentStep, setCurrentStep] = useState(
69806
70206
  void 0
69807
70207
  );
@@ -69828,7 +70228,7 @@ const EditAutomation = ({
69828
70228
  updateAutomation2({
69829
70229
  status: AutomationStatus.DRAFT
69830
70230
  });
69831
- setOpenEditAutomationPopup(false);
70231
+ setEditPopup2(false);
69832
70232
  toast2({
69833
70233
  title: "Automation saved as draft",
69834
70234
  description: "You can continue editing it later"
@@ -69852,7 +70252,7 @@ const EditAutomation = ({
69852
70252
  updateAutomation2({
69853
70253
  status: AutomationStatus.ACTIVE
69854
70254
  });
69855
- setOpenEditAutomationPopup(false);
70255
+ setEditPopup2(false);
69856
70256
  toast2({
69857
70257
  title: "Automation scheduled!"
69858
70258
  });
@@ -69872,7 +70272,7 @@ const EditAutomation = ({
69872
70272
  }
69873
70273
  } else {
69874
70274
  updateAutomation2({ status: AutomationStatus.ACTIVE });
69875
- setOpenEditAutomationPopup(false);
70275
+ setEditPopup2(false);
69876
70276
  toast2({
69877
70277
  title: "Automation scheduled!"
69878
70278
  });
@@ -69917,15 +70317,7 @@ const EditAutomation = ({
69917
70317
  }
69918
70318
  };
69919
70319
  const renderHeader = () => /* @__PURE__ */ jsxs("header", { className: "w-full flex items-center gap-4 h-16 px-6", children: [
69920
- /* @__PURE__ */ jsx(
69921
- Button$1,
69922
- {
69923
- onClick: () => setOpenEditAutomationPopup(false),
69924
- size: "icon",
69925
- variant: "ghost",
69926
- children: /* @__PURE__ */ jsx(ChevronLeft, { className: "w-4 h-4" })
69927
- }
69928
- ),
70320
+ /* @__PURE__ */ jsx(Button$1, { onClick: () => setEditPopup2(false), size: "icon", variant: "ghost", children: /* @__PURE__ */ jsx(ChevronLeft, { className: "w-4 h-4" }) }),
69929
70321
  logoUrl && /* @__PURE__ */ jsx("div", { className: "flex-shrink-0", children: /* @__PURE__ */ jsx("img", { src: logoUrl, alt: "Logo", className: "w-6 h-6" }) }),
69930
70322
  /* @__PURE__ */ jsx("h1", { className: "text-xl font-bold leading-none", children: automation2.name }),
69931
70323
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-4", children: [
@@ -70013,7 +70405,6 @@ const EditAutomationDialog = ({
70013
70405
  open,
70014
70406
  onOpenChange,
70015
70407
  iconDefinitions,
70016
- setOpenEditAutomationPopup,
70017
70408
  logoUrl,
70018
70409
  getExtraMergeFields,
70019
70410
  onBeforeSchedule
@@ -70032,7 +70423,6 @@ const EditAutomationDialog = ({
70032
70423
  EditAutomation,
70033
70424
  {
70034
70425
  iconDefinitions,
70035
- setOpenEditAutomationPopup,
70036
70426
  logoUrl,
70037
70427
  getExtraMergeFields,
70038
70428
  onBeforeSchedule
@@ -70254,7 +70644,8 @@ const ViewAutomationHeaderContainer = ({
70254
70644
  showBackButton = false
70255
70645
  }) => {
70256
70646
  const mergedIconDefinitions = mergeIconDefinitions(iconDefinitions);
70257
- const [openEditAutomationPopup, setOpenEditAutomationPopup] = useState(false);
70647
+ const { setEditPopup: setEditPopup2, state } = useContext$1(Context);
70648
+ const openEditPopup = state.openEditPopup;
70258
70649
  const [openSendPreviewSmsPopup, setOpenSendPreviewSmsPopup] = useState(false);
70259
70650
  const [openSendPreviewEmailPopup, setOpenSendPreviewEmailPopup] = useState(false);
70260
70651
  const [
@@ -70272,16 +70663,16 @@ const ViewAutomationHeaderContainer = ({
70272
70663
  const { toast: toast2 } = useToast();
70273
70664
  useEffect(() => {
70274
70665
  if (autoOpenEditPopup) {
70275
- setOpenEditAutomationPopup(true);
70666
+ setEditPopup2(true);
70276
70667
  }
70277
- }, [autoOpenEditPopup]);
70668
+ }, [autoOpenEditPopup, setEditPopup2]);
70278
70669
  const handleEditDialogChange = (newValue) => {
70279
- if (openEditAutomationPopup === true && newValue === false) {
70670
+ if (openEditPopup === true && newValue === false) {
70280
70671
  setTimeout(() => {
70281
70672
  invalidateAutomation();
70282
70673
  }, 0);
70283
70674
  }
70284
- setOpenEditAutomationPopup(newValue);
70675
+ setEditPopup2(newValue);
70285
70676
  };
70286
70677
  const handleCancelAutomation = () => {
70287
70678
  updateAutomation2({
@@ -70347,7 +70738,7 @@ const ViewAutomationHeaderContainer = ({
70347
70738
  /* @__PURE__ */ jsx(mergedIconDefinitions.DropdownMenuTrigger, { className: "ml-2 h-4 w-4" })
70348
70739
  ] }) }),
70349
70740
  /* @__PURE__ */ jsxs(DropdownMenuContent, { children: [
70350
- automation2.status === AutomationStatus.DRAFT && /* @__PURE__ */ jsx(DropdownMenuItem, { onClick: () => setOpenEditAutomationPopup(true), children: "Edit" }),
70741
+ automation2.status === AutomationStatus.DRAFT && /* @__PURE__ */ jsx(DropdownMenuItem, { onClick: () => setEditPopup2(true), children: "Edit" }),
70351
70742
  automation2.status === AutomationStatus.ACTIVE && /* @__PURE__ */ jsx(DropdownMenuItem, { onClick: convertToDraft, children: "Convert to Draft" }),
70352
70743
  automation2.status !== AutomationStatus.COMPLETED && automation2.status !== AutomationStatus.FAILED && automation2.status !== AutomationStatus.DEACTIVATED && // We can't cancel managed automations
70353
70744
  automation2.automationType !== BusinessAutomationTypeEnum.MANAGED && /* @__PURE__ */ jsx(
@@ -70400,10 +70791,9 @@ const ViewAutomationHeaderContainer = ({
70400
70791
  /* @__PURE__ */ jsx(
70401
70792
  EditAutomationDialog,
70402
70793
  {
70403
- open: openEditAutomationPopup,
70794
+ open: openEditPopup,
70404
70795
  onOpenChange: handleEditDialogChange,
70405
70796
  iconDefinitions: mergedIconDefinitions,
70406
- setOpenEditAutomationPopup,
70407
70797
  logoUrl,
70408
70798
  getExtraMergeFields,
70409
70799
  onBeforeSchedule
@@ -70532,28 +70922,28 @@ Object.values(
70532
70922
  );
70533
70923
  export {
70534
70924
  $TRACK as $,
70535
- getQueryStatusColorByLabel as A,
70536
- displayValue as B,
70537
- convertRemToPixels as C,
70538
- untrack as D,
70539
- useTransition as E,
70925
+ displayValue as A,
70926
+ batch as B,
70927
+ clearDelegatedEvents as C,
70928
+ Dynamic as D,
70929
+ untrack as E,
70540
70930
  For as F,
70541
- spread as G,
70542
- mergeProps$8 as H,
70543
- createRoot as I,
70544
- serialize$1 as J,
70545
- Index as K,
70546
- updateNestedDataByPath as L,
70547
- addEventListener$1 as M,
70548
- stringify as N,
70549
- Match as O,
70931
+ createComputed as G,
70932
+ serialize$1 as H,
70933
+ Index as I,
70934
+ updateNestedDataByPath as J,
70935
+ convertRemToPixels as K,
70936
+ getSidedProp as L,
70937
+ getQueryStatusLabel as M,
70938
+ createRoot as N,
70939
+ addEventListener$1 as O,
70550
70940
  Portal$9 as P,
70551
- Switch$2 as Q,
70552
- deleteNestedDataByPath as R,
70941
+ stringify as Q,
70942
+ Match as R,
70553
70943
  Show as S,
70554
- splitProps as T,
70555
- Dynamic as U,
70556
- createComputed as V,
70944
+ Switch$2 as T,
70945
+ deleteNestedDataByPath as U,
70946
+ useTransition as V,
70557
70947
  AutomationTriggerType as W,
70558
70948
  ReachProvider as X,
70559
70949
  CreateAutomationDialog as Y,
@@ -70562,29 +70952,29 @@ export {
70562
70952
  createComponent as a,
70563
70953
  SegmentBuilderDialog as a0,
70564
70954
  ViewAutomation as a1,
70565
- createContext as b,
70955
+ createSignal as b,
70566
70956
  createMemo as c,
70567
- createSignal as d,
70957
+ delegateEvents as d,
70568
70958
  createEffect as e,
70569
- createRenderEffect as f,
70959
+ mergeProps$8 as f,
70570
70960
  getPreferredColorScheme as g,
70571
- className as h,
70572
- insert as i,
70573
- clearDelegatedEvents as j,
70574
- delegateEvents as k,
70575
- onCleanup as l,
70961
+ splitProps as h,
70962
+ createContext as i,
70963
+ createRenderEffect as j,
70964
+ setAttribute as k,
70965
+ createUniqueId as l,
70576
70966
  mutationSortFns as m,
70577
- on as n,
70578
- onMount as o,
70579
- setAttribute as p,
70580
- getSidedProp as q,
70581
- use as r,
70967
+ onCleanup as n,
70968
+ on as o,
70969
+ onMount as p,
70970
+ use as q,
70971
+ insert as r,
70582
70972
  sortFns as s,
70583
70973
  template as t,
70584
70974
  useContext as u,
70585
- createUniqueId as v,
70586
- batch as w,
70587
- getQueryStatusLabel as x,
70588
- getMutationStatusColor as y,
70589
- getQueryStatusColor as z
70975
+ className as v,
70976
+ getQueryStatusColor as w,
70977
+ getMutationStatusColor as x,
70978
+ spread as y,
70979
+ getQueryStatusColorByLabel as z
70590
70980
  };