@embedreach/components 0.3.20 → 0.3.21

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.
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import React__default, { createContext, Component, useContext, useEffect, useReducer, useMemo, useRef, forwardRef, createElement, useCallback, useState, lazy, Suspense, useId as useId$5, useInsertionEffect as useInsertionEffect$2, Children, isValidElement, useLayoutEffect, Fragment as Fragment$2, useImperativeHandle, useDebugValue, createRef, memo as memo$2, version as version$1 } from "react";
2
+ import React__default, { createContext, Component, useContext, useEffect, useReducer, useMemo, useRef, forwardRef, createElement, useState, useCallback, lazy, Suspense, useId as useId$5, useInsertionEffect as useInsertionEffect$2, Children, isValidElement, useLayoutEffect, Fragment as Fragment$2, useImperativeHandle, useDebugValue, createRef, memo as memo$2, version as version$1 } from "react";
3
3
  import { jsx, jsxs, Fragment as Fragment$1 } from "react/jsx-runtime";
4
4
  import * as ReactDOM from "react-dom";
5
5
  import ReactDOM__default, { flushSync } from "react-dom";
@@ -19766,7 +19766,7 @@ var webVitals_attribution_umd = { exports: {} };
19766
19766
  document.addEventListener("visibilitychange", function() {
19767
19767
  "hidden" === document.visibilityState && t4();
19768
19768
  });
19769
- }, h4 = function(t4) {
19769
+ }, h5 = function(t4) {
19770
19770
  var e5 = false;
19771
19771
  return function() {
19772
19772
  e5 || (t4(), e5 = true);
@@ -19835,7 +19835,7 @@ var webVitals_attribution_umd = { exports: {} };
19835
19835
  }
19836
19836
  }, N2 = function(t4) {
19837
19837
  var e5 = self.requestIdleCallback || self.setTimeout, n3 = -1;
19838
- return t4 = h4(t4), "hidden" === document.visibilityState ? t4() : (n3 = e5(t4), v2(t4)), n3;
19838
+ return t4 = h5(t4), "hidden" === document.visibilityState ? t4() : (n3 = e5(t4), v2(t4)), n3;
19839
19839
  }, H5 = [200, 500], V2 = function(t4, e5) {
19840
19840
  "PerformanceEventTiming" in self && "interactionId" in PerformanceEventTiming.prototype && (e5 = e5 || {}, C2(function() {
19841
19841
  var n3;
@@ -19947,7 +19947,7 @@ var webVitals_attribution_umd = { exports: {} };
19947
19947
  }, o3 = function(t5) {
19948
19948
  t5.forEach(a5);
19949
19949
  }, c4 = l2("first-input", o3);
19950
- n3 = m4(t4, i4, mt2, e5.reportAllChanges), c4 && (v2(h4(function() {
19950
+ n3 = m4(t4, i4, mt2, e5.reportAllChanges), c4 && (v2(h5(function() {
19951
19951
  o3(c4.takeRecords()), c4.disconnect();
19952
19952
  })), u3(function() {
19953
19953
  var r4;
@@ -19957,7 +19957,7 @@ var webVitals_attribution_umd = { exports: {} };
19957
19957
  };
19958
19958
  t3.CLSThresholds = D4, t3.FCPThresholds = L3, t3.FIDThresholds = mt2, t3.INPThresholds = H5, t3.LCPThresholds = nt2, t3.TTFBThresholds = it2, t3.onCLS = function(t4, e5) {
19959
19959
  !function(t5, e6) {
19960
- e6 = e6 || {}, M4(h4(function() {
19960
+ e6 = e6 || {}, M4(h5(function() {
19961
19961
  var n3, r3 = d4("CLS", 0), i4 = 0, a5 = [], o3 = function(t6) {
19962
19962
  t6.forEach(function(t7) {
19963
19963
  if (!t7.hadRecentInput) {
@@ -20039,7 +20039,7 @@ var webVitals_attribution_umd = { exports: {} };
20039
20039
  }, o3 = l2("largest-contentful-paint", a5);
20040
20040
  if (o3) {
20041
20041
  n3 = m4(t5, i4, nt2, e6.reportAllChanges);
20042
- var c4 = h4(function() {
20042
+ var c4 = h5(function() {
20043
20043
  rt2[i4.id] || (a5(o3.takeRecords()), o3.disconnect(), rt2[i4.id] = true, n3(true));
20044
20044
  });
20045
20045
  ["keydown", "click"].forEach(function(t6) {
@@ -21050,6 +21050,9 @@ function safeExecuteInTheMiddle$2(execute, onFinish, preventThrowingError) {
21050
21050
  error2 = e4;
21051
21051
  } finally {
21052
21052
  onFinish(error2, result);
21053
+ if (error2 && !preventThrowingError) {
21054
+ throw error2;
21055
+ }
21053
21056
  return result;
21054
21057
  }
21055
21058
  }
@@ -21263,7 +21266,7 @@ var DocumentLoadInstrumentation = (
21263
21266
  return;
21264
21267
  }
21265
21268
  _this._diag.error("addCustomAttributesOnSpan", error2);
21266
- });
21269
+ }, true);
21267
21270
  }
21268
21271
  };
21269
21272
  DocumentLoadInstrumentation2.prototype._addCustomAttributesOnResourceSpan = function(span, resource, applyCustomAttributesOnSpan) {
@@ -21276,7 +21279,7 @@ var DocumentLoadInstrumentation = (
21276
21279
  return;
21277
21280
  }
21278
21281
  _this._diag.error("addCustomAttributesOnResourceSpan", error2);
21279
- });
21282
+ }, true);
21280
21283
  }
21281
21284
  };
21282
21285
  DocumentLoadInstrumentation2.prototype.enable = function() {
@@ -21638,6 +21641,9 @@ function safeExecuteInTheMiddle$1(execute, onFinish, preventThrowingError) {
21638
21641
  error2 = e4;
21639
21642
  } finally {
21640
21643
  onFinish(error2, result);
21644
+ if (error2 && !preventThrowingError) {
21645
+ throw error2;
21646
+ }
21641
21647
  return result;
21642
21648
  }
21643
21649
  }
@@ -22179,20 +22185,20 @@ var FetchInstrumentation = (
22179
22185
  }
22180
22186
  if (options instanceof Request) {
22181
22187
  propagation.inject(context.active(), options.headers, {
22182
- set: function(h4, k3, v2) {
22183
- return h4.set(k3, typeof v2 === "string" ? v2 : String(v2));
22188
+ set: function(h5, k3, v2) {
22189
+ return h5.set(k3, typeof v2 === "string" ? v2 : String(v2));
22184
22190
  }
22185
22191
  });
22186
22192
  } else if (options.headers instanceof Headers) {
22187
22193
  propagation.inject(context.active(), options.headers, {
22188
- set: function(h4, k3, v2) {
22189
- return h4.set(k3, typeof v2 === "string" ? v2 : String(v2));
22194
+ set: function(h5, k3, v2) {
22195
+ return h5.set(k3, typeof v2 === "string" ? v2 : String(v2));
22190
22196
  }
22191
22197
  });
22192
22198
  } else if (options.headers instanceof Map) {
22193
22199
  propagation.inject(context.active(), options.headers, {
22194
- set: function(h4, k3, v2) {
22195
- return h4.set(k3, typeof v2 === "string" ? v2 : String(v2));
22200
+ set: function(h5, k3, v2) {
22201
+ return h5.set(k3, typeof v2 === "string" ? v2 : String(v2));
22196
22202
  }
22197
22203
  });
22198
22204
  } else {
@@ -22361,7 +22367,7 @@ var FetchInstrumentation = (
22361
22367
  return;
22362
22368
  }
22363
22369
  _this._diag.error("applyCustomAttributesOnSpan", error2);
22364
- });
22370
+ }, true);
22365
22371
  }
22366
22372
  };
22367
22373
  FetchInstrumentation2.prototype._prepareSpanData = function(spanUrl) {
@@ -23184,6 +23190,9 @@ function safeExecuteInTheMiddle(execute, onFinish, preventThrowingError) {
23184
23190
  error2 = e4;
23185
23191
  } finally {
23186
23192
  onFinish(error2, result);
23193
+ if (error2 && !preventThrowingError) {
23194
+ throw error2;
23195
+ }
23187
23196
  return result;
23188
23197
  }
23189
23198
  }
@@ -23559,7 +23568,7 @@ var XMLHttpRequestInstrumentation = (
23559
23568
  return;
23560
23569
  }
23561
23570
  _this._diag.error("applyCustomAttributesOnSpan", error2);
23562
- });
23571
+ }, true);
23563
23572
  }
23564
23573
  };
23565
23574
  XMLHttpRequestInstrumentation2.prototype._addResourceObserver = function(xhr, spanUrl) {
@@ -24055,11 +24064,11 @@ var Y$3 = M$2("v5", 80, function(e4) {
24055
24064
  for (var d4 = 0; d4 < a4; ++d4) {
24056
24065
  for (var f2 = new Uint32Array(80), g2 = 0; g2 < 16; ++g2) f2[g2] = s4[d4][g2];
24057
24066
  for (var v2 = 16; v2 < 80; ++v2) f2[v2] = Q$2(f2[v2 - 3] ^ f2[v2 - 8] ^ f2[v2 - 14] ^ f2[v2 - 16], 1);
24058
- for (var p2 = n2[0], m4 = n2[1], h4 = n2[2], y4 = n2[3], w3 = n2[4], b3 = 0; b3 < 80; ++b3) {
24059
- var k3 = Math.floor(b3 / 20), E3 = Q$2(p2, 5) + X$3(k3, m4, h4, y4) + w3 + t3[k3] + f2[b3] >>> 0;
24060
- w3 = y4, y4 = h4, h4 = Q$2(m4, 30) >>> 0, m4 = p2, p2 = E3;
24067
+ for (var p2 = n2[0], m4 = n2[1], h5 = n2[2], y4 = n2[3], w3 = n2[4], b3 = 0; b3 < 80; ++b3) {
24068
+ var k3 = Math.floor(b3 / 20), E3 = Q$2(p2, 5) + X$3(k3, m4, h5, y4) + w3 + t3[k3] + f2[b3] >>> 0;
24069
+ w3 = y4, y4 = h5, h5 = Q$2(m4, 30) >>> 0, m4 = p2, p2 = E3;
24061
24070
  }
24062
- n2[0] = n2[0] + p2 >>> 0, n2[1] = n2[1] + m4 >>> 0, n2[2] = n2[2] + h4 >>> 0, n2[3] = n2[3] + y4 >>> 0, n2[4] = n2[4] + w3 >>> 0;
24071
+ n2[0] = n2[0] + p2 >>> 0, n2[1] = n2[1] + m4 >>> 0, n2[2] = n2[2] + h5 >>> 0, n2[3] = n2[3] + y4 >>> 0, n2[4] = n2[4] + w3 >>> 0;
24063
24072
  }
24064
24073
  return [n2[0] >> 24 & 255, n2[0] >> 16 & 255, n2[0] >> 8 & 255, 255 & n2[0], n2[1] >> 24 & 255, n2[1] >> 16 & 255, n2[1] >> 8 & 255, 255 & n2[1], n2[2] >> 24 & 255, n2[2] >> 16 & 255, n2[2] >> 8 & 255, 255 & n2[2], n2[3] >> 24 & 255, n2[3] >> 16 & 255, n2[3] >> 8 & 255, 255 & n2[3], n2[4] >> 24 & 255, n2[4] >> 16 & 255, n2[4] >> 8 & 255, 255 & n2[4]];
24065
24074
  }), Z$2 = Y$3;
@@ -24306,6 +24315,9 @@ const { commonBasicLogger: ye$2 } = ne$2;
24306
24315
  function we$2(e4) {
24307
24316
  return "string" == typeof e4 && "kind" !== e4 && e4.match(/^(\w|\.|-)+$/);
24308
24317
  }
24318
+ function be$2(e4) {
24319
+ return e4.includes("%") || e4.includes(":") ? e4.replace(/%/g, "%25").replace(/:/g, "%3A") : e4;
24320
+ }
24309
24321
  var ke$2 = { checkContext: function(e4, t3) {
24310
24322
  if (e4) {
24311
24323
  if (t3 && (void 0 === e4.kind || null === e4.kind)) return void 0 !== e4.key && null !== e4.key;
@@ -24344,6 +24356,12 @@ var ke$2 = { checkContext: function(e4, t3) {
24344
24356
  return n2;
24345
24357
  }, getContextKinds: function(e4) {
24346
24358
  return e4 ? null === e4.kind || void 0 === e4.kind ? ["user"] : "multi" !== e4.kind ? [e4.kind] : Object.keys(e4).filter((e5) => "kind" !== e5) : [];
24359
+ }, getCanonicalKey: function(e4) {
24360
+ if (e4) {
24361
+ if ((void 0 === e4.kind || null === e4.kind || "user" === e4.kind) && e4.key) return e4.key;
24362
+ if ("multi" !== e4.kind && e4.key) return `${e4.kind}:${be$2(e4.key)}`;
24363
+ if ("multi" === e4.kind) return Object.keys(e4).sort().filter((e5) => "kind" !== e5).map((t3) => `${t3}:${be$2(e4[t3].key)}`).join(":");
24364
+ }
24347
24365
  } };
24348
24366
  const { getContextKinds: Ee$2 } = ke$2;
24349
24367
  var De$2 = function() {
@@ -24439,7 +24457,7 @@ var Te$2 = function(e4) {
24439
24457
  const { getContextKeys: Le$2 } = ke$2;
24440
24458
  var Ue$1 = function(e4, t3, n2, r2 = null, o2 = null, i3 = null) {
24441
24459
  const a4 = {}, c3 = i3 || he$2(e4, n2, t3), u3 = S$2.appendUrlPath(t3.eventsUrl, "/events/bulk/" + n2), l2 = De$2(), d4 = Te$2(t3), f2 = t3.samplingInterval, g2 = t3.eventCapacity, v2 = t3.flushInterval, p2 = t3.logger;
24442
- let m4, h4 = [], y4 = 0, w3 = false, b3 = false;
24460
+ let m4, h5 = [], y4 = 0, w3 = false, b3 = false;
24443
24461
  function k3() {
24444
24462
  return 0 === f2 || 0 === Math.floor(Math.random() * f2);
24445
24463
  }
@@ -24448,7 +24466,7 @@ var Ue$1 = function(e4, t3, n2, r2 = null, o2 = null, i3 = null) {
24448
24466
  return "identify" === e5.kind ? t4.context = d4.filter(e5.context) : "feature" === e5.kind ? t4.context = d4.filter(e5.context, true) : (t4.contextKeys = Le$2(e5.context, p2), delete t4.context), "feature" === e5.kind && (delete t4.trackEvents, delete t4.debugEventsUntilDate), t4;
24449
24467
  }
24450
24468
  function D4(e5) {
24451
- h4.length < g2 ? (h4.push(e5), b3 = false) : (b3 || (b3 = true, p2.warn(ie$3.eventCapacityExceeded())), r2 && r2.incrementDroppedEvents());
24469
+ h5.length < g2 ? (h5.push(e5), b3 = false) : (b3 || (b3 = true, p2.warn(ie$3.eventCapacityExceeded())), r2 && r2.incrementDroppedEvents());
24452
24470
  }
24453
24471
  return a4.enqueue = function(e5) {
24454
24472
  if (w3) return;
@@ -24460,8 +24478,8 @@ var Ue$1 = function(e4, t3, n2, r2 = null, o2 = null, i3 = null) {
24460
24478
  }
24461
24479
  }, a4.flush = function() {
24462
24480
  if (w3) return Promise.resolve();
24463
- const e5 = h4, t4 = l2.getSummary();
24464
- return l2.clearSummary(), t4 && (t4.kind = "summary", e5.push(t4)), r2 && r2.setEventsInLastBatch(e5.length), 0 === e5.length ? Promise.resolve() : (h4 = [], p2.debug(ie$3.debugPostingEvents(e5.length)), c3.sendEvents(e5, u3).then((e6) => {
24481
+ const e5 = h5, t4 = l2.getSummary();
24482
+ return l2.clearSummary(), t4 && (t4.kind = "summary", e5.push(t4)), r2 && r2.setEventsInLastBatch(e5.length), 0 === e5.length ? Promise.resolve() : (h5 = [], p2.debug(ie$3.debugPostingEvents(e5.length)), c3.sendEvents(e5, u3).then((e6) => {
24465
24483
  e6 && (e6.serverTime && (y4 = e6.serverTime), s$2.isHttpErrorRecoverable(e6.status) || (w3 = true), e6.status >= 400 && S$2.onNextTick(() => {
24466
24484
  o2.maybeReportError(new s$2.LDUnexpectedResponseError(ie$3.httpErrorMessage(e6.status, "event posting", "some events were dropped")));
24467
24485
  }));
@@ -24563,7 +24581,7 @@ var Ve$2 = function(e4, t3) {
24563
24581
  const { appendUrlPath: Me$2, base64URLEncode: qe$1, objectHasOwnProperty: He$1 } = S$2, { getLDHeaders: ze$1, transformHeaders: Ke$1 } = ge$1, { isHttpErrorRecoverable: _e$1 } = s$2;
24564
24582
  var Je$1 = function(e4, t3, n2, r2) {
24565
24583
  const o2 = t3.streamUrl, i3 = t3.logger, a4 = {}, s4 = Me$2(o2, "/eval/" + n2), c3 = t3.useReport, u3 = t3.evaluationReasons, l2 = t3.streamReconnectDelay, d4 = ze$1(e4, t3);
24566
- let f2, g2 = false, v2 = null, p2 = null, m4 = null, h4 = null, y4 = null, w3 = 0;
24584
+ let f2, g2 = false, v2 = null, p2 = null, m4 = null, h5 = null, y4 = null, w3 = 0;
24567
24585
  function b3() {
24568
24586
  const e5 = (t4 = function() {
24569
24587
  const e6 = l2 * Math.pow(2, w3);
@@ -24586,7 +24604,7 @@ var Je$1 = function(e4, t3, n2, r2) {
24586
24604
  let a5 = "";
24587
24605
  const l3 = { headers: d4, readTimeoutMillis: 3e5 };
24588
24606
  if (e4.eventSourceFactory) {
24589
- null != h4 && (a5 = "h=" + h4), c3 ? e4.eventSourceAllowsReport ? (r3 = s4, l3.method = "REPORT", l3.headers["Content-Type"] = "application/json", l3.body = JSON.stringify(m4)) : (r3 = Me$2(o2, "/ping/" + n2), a5 = "") : r3 = s4 + "/" + qe$1(JSON.stringify(m4)), l3.headers = Ke$1(l3.headers, t3), u3 && (a5 = a5 + (a5 ? "&" : "") + "withReasons=true"), r3 = r3 + (a5 ? "?" : "") + a5, x3(), i3.info(ie$3.streamConnecting(r3)), f2 = (/* @__PURE__ */ new Date()).getTime(), v2 = e4.eventSourceFactory(r3, l3);
24607
+ null != h5 && (a5 = "h=" + h5), c3 ? e4.eventSourceAllowsReport ? (r3 = s4, l3.method = "REPORT", l3.headers["Content-Type"] = "application/json", l3.body = JSON.stringify(m4)) : (r3 = Me$2(o2, "/ping/" + n2), a5 = "") : r3 = s4 + "/" + qe$1(JSON.stringify(m4)), l3.headers = Ke$1(l3.headers, t3), u3 && (a5 = a5 + (a5 ? "&" : "") + "withReasons=true"), r3 = r3 + (a5 ? "?" : "") + a5, x3(), i3.info(ie$3.streamConnecting(r3)), f2 = (/* @__PURE__ */ new Date()).getTime(), v2 = e4.eventSourceFactory(r3, l3);
24590
24608
  for (const e5 in y4) He$1(y4, e5) && v2.addEventListener(e5, y4[e5]);
24591
24609
  v2.onerror = k3, v2.onopen = () => {
24592
24610
  w3 = 0;
@@ -24600,7 +24618,7 @@ var Je$1 = function(e4, t3, n2, r2) {
24600
24618
  f2 && r2 && r2.recordStreamInit(f2, !e5, (/* @__PURE__ */ new Date()).getTime() - f2), f2 = null;
24601
24619
  }
24602
24620
  return a4.connect = function(e5, t4, n3) {
24603
- m4 = e5, h4 = t4, y4 = {};
24621
+ m4 = e5, h5 = t4, y4 = {};
24604
24622
  for (const e6 in n3 || {}) y4[e6] = function(t5) {
24605
24623
  g2 = false, C2(true), n3[e6] && n3[e6](t5);
24606
24624
  };
@@ -24723,13 +24741,13 @@ var it$1 = { DiagnosticId: function(e4) {
24723
24741
  function m4() {
24724
24742
  return { sdk: w3(), configuration: b3(), platform: e4.diagnosticPlatformData };
24725
24743
  }
24726
- function h4(e5) {
24744
+ function h5(e5) {
24727
24745
  i3.logger && i3.logger.debug(ie$3.debugPostingDiagnosticEvent(e5)), r2.sendEvents(e5, u3, true).then(() => {
24728
24746
  }).catch(() => {
24729
24747
  });
24730
24748
  }
24731
24749
  function y4() {
24732
- h4(function() {
24750
+ h5(function() {
24733
24751
  const e5 = (/* @__PURE__ */ new Date()).getTime();
24734
24752
  let t4 = { kind: s4 ? "diagnostic-combined" : "diagnostic", id: a4, creationDate: e5, ...d4.getProps() };
24735
24753
  return s4 && (t4 = { ...t4, ...m4() }), d4.reset(e5), t4;
@@ -24765,7 +24783,7 @@ var it$1 = { DiagnosticId: function(e4) {
24765
24783
  const e6 = (f2 || 0) + l2, t4 = (/* @__PURE__ */ new Date()).getTime();
24766
24784
  t4 >= e6 ? y4() : g2 = setTimeout(y4, e6 - t4);
24767
24785
  } else 0 === Math.floor(4 * Math.random()) ? y4() : g2 = setTimeout(y4, l2);
24768
- }) : (h4({ kind: "diagnostic-init", id: a4, creationDate: d4.getProps().dataSinceDate, ...m4() }), g2 = setTimeout(y4, l2));
24786
+ }) : (h5({ kind: "diagnostic-init", id: a4, creationDate: d4.getProps().dataSinceDate, ...m4() }), g2 = setTimeout(y4, l2));
24769
24787
  }, p2.stop = () => {
24770
24788
  g2 && clearTimeout(g2);
24771
24789
  }, p2.setStreaming = (e5) => {
@@ -24819,14 +24837,14 @@ var dt$1 = function(e4, t3) {
24819
24837
  }, 1e3 * e4);
24820
24838
  });
24821
24839
  };
24822
- const { commonBasicLogger: ft$1 } = ne$2, { checkContext: gt$1 } = ke$2, { InspectorTypes: pt$1, InspectorManager: mt$1 } = ut$1, ht$1 = "change", yt$1 = "internal-change";
24840
+ const { commonBasicLogger: ft$1 } = ne$2, { checkContext: gt$1, getContextKeys: vt$1 } = ke$2, { InspectorTypes: pt$1, InspectorManager: mt$1 } = ut$1, ht$1 = "change", yt$1 = "internal-change";
24823
24841
  var wt$1 = { initialize: function(e4, t3, n2, r2, o2) {
24824
24842
  const i3 = function() {
24825
24843
  if (n2 && n2.logger) return n2.logger;
24826
24844
  return o2 && o2.logger && o2.logger.default || ft$1("warn");
24827
24845
  }(), a4 = Re$1(i3), c3 = Ne$1(a4), u3 = de$2.validate(n2, a4, o2, i3), l2 = mt$1(u3.inspectors, i3), d4 = u3.sendEvents;
24828
24846
  let f2 = e4, g2 = u3.hash;
24829
- const v2 = Ve$2(r2.localStorage, i3), p2 = he$2(r2, f2, u3), m4 = u3.sendEvents && !u3.diagnosticOptOut, h4 = m4 ? it$1.DiagnosticId(f2) : null, y4 = m4 ? it$1.DiagnosticsAccumulator((/* @__PURE__ */ new Date()).getTime()) : null, w3 = m4 ? it$1.DiagnosticsManager(r2, v2, y4, p2, f2, u3, h4) : null, b3 = Je$1(r2, u3, f2, y4), k3 = u3.eventProcessor || Ue$1(r2, u3, f2, y4, a4, p2), E3 = Qe$1(r2, u3, f2);
24847
+ const v2 = Ve$2(r2.localStorage, i3), p2 = he$2(r2, f2, u3), m4 = u3.sendEvents && !u3.diagnosticOptOut, h5 = m4 ? it$1.DiagnosticId(f2) : null, y4 = m4 ? it$1.DiagnosticsAccumulator((/* @__PURE__ */ new Date()).getTime()) : null, w3 = m4 ? it$1.DiagnosticsManager(r2, v2, y4, p2, f2, u3, h5) : null, b3 = Je$1(r2, u3, f2, y4), k3 = u3.eventProcessor || Ue$1(r2, u3, f2, y4, a4, p2), E3 = Qe$1(r2, u3, f2);
24830
24848
  let D4, x3, C2, P2 = {}, I3 = u3.streaming, O3 = false, T3 = false, L3 = true;
24831
24849
  const U2 = u3.stateProvider, R3 = Ye$1(null, function(e5) {
24832
24850
  (function(e6) {
@@ -25031,14 +25049,14 @@ var wt$1 = { initialize: function(e4, t3, n2, r2, o2) {
25031
25049
  }, enqueueEvent: F2, getFlagsInternal: function() {
25032
25050
  return P2;
25033
25051
  }, getEnvironmentId: () => f2, internalChangeEventName: yt$1 };
25034
- }, errors: s$2 }, bt$1 = wt$1.initialize, kt$1 = wt$1.errors;
25052
+ }, commonBasicLogger: ft$1, errors: s$2, messages: ie$3, utils: S$2, getContextKeys: vt$1 }, bt$1 = wt$1.initialize, kt$1 = wt$1.errors;
25035
25053
  function Dt$1(e4, t3, n2) {
25036
25054
  return (t3 = function(e5) {
25037
25055
  var t4 = function(e6, t5) {
25038
25056
  if ("object" != typeof e6 || !e6) return e6;
25039
25057
  var n3 = e6[Symbol.toPrimitive];
25040
25058
  if (void 0 !== n3) {
25041
- var r2 = n3.call(e6, t5);
25059
+ var r2 = n3.call(e6, t5 || "default");
25042
25060
  if ("object" != typeof r2) return r2;
25043
25061
  throw new TypeError("@@toPrimitive must return a primitive value.");
25044
25062
  }
@@ -25236,6 +25254,7 @@ function Ft$1(e4, t3) {
25236
25254
  "hidden" === document.visibilityState && u3();
25237
25255
  }), window.addEventListener("pagehide", u3), i3;
25238
25256
  }
25257
+ var INFINITY = 1 / 0;
25239
25258
  var symbolTag = "[object Symbol]";
25240
25259
  var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
25241
25260
  var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
@@ -25515,12 +25534,12 @@ function baseToString(value) {
25515
25534
  return symbolToString ? symbolToString.call(value) : "";
25516
25535
  }
25517
25536
  var result = value + "";
25518
- return result == "0" && 1 / value == -Infinity ? "-0" : result;
25537
+ return result == "0" && 1 / value == -INFINITY ? "-0" : result;
25519
25538
  }
25520
25539
  function castSlice(array, start, end) {
25521
25540
  var length = array.length;
25522
25541
  end = end === void 0 ? length : end;
25523
- return false ? array : baseSlice(array, start, end);
25542
+ return !start && end >= length ? array : baseSlice(array, start, end);
25524
25543
  }
25525
25544
  function createCaseFirst(methodName) {
25526
25545
  return function(string) {
@@ -25581,7 +25600,7 @@ var hasRequiredReactIs_production_min;
25581
25600
  function requireReactIs_production_min() {
25582
25601
  if (hasRequiredReactIs_production_min) return reactIs_production_min;
25583
25602
  hasRequiredReactIs_production_min = 1;
25584
- var b3 = "function" === typeof Symbol && Symbol.for, c3 = b3 ? Symbol.for("react.element") : 60103, d4 = b3 ? Symbol.for("react.portal") : 60106, e4 = b3 ? Symbol.for("react.fragment") : 60107, f2 = b3 ? Symbol.for("react.strict_mode") : 60108, g2 = b3 ? Symbol.for("react.profiler") : 60114, h4 = b3 ? Symbol.for("react.provider") : 60109, k3 = b3 ? Symbol.for("react.context") : 60110, l2 = b3 ? Symbol.for("react.async_mode") : 60111, m4 = b3 ? Symbol.for("react.concurrent_mode") : 60111, n2 = b3 ? Symbol.for("react.forward_ref") : 60112, p2 = b3 ? Symbol.for("react.suspense") : 60113, q3 = b3 ? Symbol.for("react.suspense_list") : 60120, r2 = b3 ? Symbol.for("react.memo") : 60115, t3 = b3 ? Symbol.for("react.lazy") : 60116, v2 = b3 ? Symbol.for("react.block") : 60121, w3 = b3 ? Symbol.for("react.fundamental") : 60117, x3 = b3 ? Symbol.for("react.responder") : 60118, y4 = b3 ? Symbol.for("react.scope") : 60119;
25603
+ var b3 = "function" === typeof Symbol && Symbol.for, c3 = b3 ? Symbol.for("react.element") : 60103, d4 = b3 ? Symbol.for("react.portal") : 60106, e4 = b3 ? Symbol.for("react.fragment") : 60107, f2 = b3 ? Symbol.for("react.strict_mode") : 60108, g2 = b3 ? Symbol.for("react.profiler") : 60114, h5 = b3 ? Symbol.for("react.provider") : 60109, k3 = b3 ? Symbol.for("react.context") : 60110, l2 = b3 ? Symbol.for("react.async_mode") : 60111, m4 = b3 ? Symbol.for("react.concurrent_mode") : 60111, n2 = b3 ? Symbol.for("react.forward_ref") : 60112, p2 = b3 ? Symbol.for("react.suspense") : 60113, q3 = b3 ? Symbol.for("react.suspense_list") : 60120, r2 = b3 ? Symbol.for("react.memo") : 60115, t3 = b3 ? Symbol.for("react.lazy") : 60116, v2 = b3 ? Symbol.for("react.block") : 60121, w3 = b3 ? Symbol.for("react.fundamental") : 60117, x3 = b3 ? Symbol.for("react.responder") : 60118, y4 = b3 ? Symbol.for("react.scope") : 60119;
25585
25604
  function z3(a4) {
25586
25605
  if ("object" === typeof a4 && null !== a4) {
25587
25606
  var u3 = a4.$$typeof;
@@ -25601,7 +25620,7 @@ function requireReactIs_production_min() {
25601
25620
  case n2:
25602
25621
  case t3:
25603
25622
  case r2:
25604
- case h4:
25623
+ case h5:
25605
25624
  return a4;
25606
25625
  default:
25607
25626
  return u3;
@@ -25618,7 +25637,7 @@ function requireReactIs_production_min() {
25618
25637
  reactIs_production_min.AsyncMode = l2;
25619
25638
  reactIs_production_min.ConcurrentMode = m4;
25620
25639
  reactIs_production_min.ContextConsumer = k3;
25621
- reactIs_production_min.ContextProvider = h4;
25640
+ reactIs_production_min.ContextProvider = h5;
25622
25641
  reactIs_production_min.Element = c3;
25623
25642
  reactIs_production_min.ForwardRef = n2;
25624
25643
  reactIs_production_min.Fragment = e4;
@@ -25636,7 +25655,7 @@ function requireReactIs_production_min() {
25636
25655
  return z3(a4) === k3;
25637
25656
  };
25638
25657
  reactIs_production_min.isContextProvider = function(a4) {
25639
- return z3(a4) === h4;
25658
+ return z3(a4) === h5;
25640
25659
  };
25641
25660
  reactIs_production_min.isElement = function(a4) {
25642
25661
  return "object" === typeof a4 && null !== a4 && a4.$$typeof === c3;
@@ -25666,7 +25685,7 @@ function requireReactIs_production_min() {
25666
25685
  return z3(a4) === p2;
25667
25686
  };
25668
25687
  reactIs_production_min.isValidElementType = function(a4) {
25669
- return "string" === typeof a4 || "function" === typeof a4 || a4 === e4 || a4 === m4 || a4 === g2 || a4 === f2 || a4 === p2 || a4 === q3 || "object" === typeof a4 && null !== a4 && (a4.$$typeof === t3 || a4.$$typeof === r2 || a4.$$typeof === h4 || a4.$$typeof === k3 || a4.$$typeof === n2 || a4.$$typeof === w3 || a4.$$typeof === x3 || a4.$$typeof === y4 || a4.$$typeof === v2);
25688
+ return "string" === typeof a4 || "function" === typeof a4 || a4 === e4 || a4 === m4 || a4 === g2 || a4 === f2 || a4 === p2 || a4 === q3 || "object" === typeof a4 && null !== a4 && (a4.$$typeof === t3 || a4.$$typeof === r2 || a4.$$typeof === h5 || a4.$$typeof === k3 || a4.$$typeof === n2 || a4.$$typeof === w3 || a4.$$typeof === x3 || a4.$$typeof === y4 || a4.$$typeof === v2);
25670
25689
  };
25671
25690
  reactIs_production_min.typeOf = z3;
25672
25691
  return reactIs_production_min;
@@ -26560,13 +26579,13 @@ function si(i3, e4, r2, s4, n2) {
26560
26579
  var u3 = r2.dom_event_allowlist;
26561
26580
  if (u3 && !u3.some((t3) => e4.type === t3)) return false;
26562
26581
  }
26563
- for (var h4 = false, d4 = [i3], v2 = true, c3 = i3; c3.parentNode && !Jt(c3, "body"); ) if (Kt(c3.parentNode)) d4.push(c3.parentNode.host), c3 = c3.parentNode.host;
26582
+ for (var h5 = false, d4 = [i3], v2 = true, c3 = i3; c3.parentNode && !Jt(c3, "body"); ) if (Kt(c3.parentNode)) d4.push(c3.parentNode.host), c3 = c3.parentNode.host;
26564
26583
  else {
26565
26584
  if (!(v2 = ri(c3))) break;
26566
- if (s4 || ei.indexOf(v2.tagName.toLowerCase()) > -1) h4 = true;
26585
+ if (s4 || ei.indexOf(v2.tagName.toLowerCase()) > -1) h5 = true;
26567
26586
  else {
26568
26587
  var f2 = t$1.getComputedStyle(v2);
26569
- f2 && "pointer" === f2.getPropertyValue("cursor") && (h4 = true);
26588
+ f2 && "pointer" === f2.getPropertyValue("cursor") && (h5 = true);
26570
26589
  }
26571
26590
  d4.push(v2), c3 = v2;
26572
26591
  }
@@ -26601,7 +26620,7 @@ function si(i3, e4, r2, s4, n2) {
26601
26620
  case "textarea":
26602
26621
  return (n2 || ["change", "click"]).indexOf(e4.type) >= 0;
26603
26622
  default:
26604
- return h4 ? (n2 || ["click"]).indexOf(e4.type) >= 0 : (n2 || ["click"]).indexOf(e4.type) >= 0 && (ei.indexOf(_2) > -1 || "true" === i3.getAttribute("contenteditable"));
26623
+ return h5 ? (n2 || ["click"]).indexOf(e4.type) >= 0 : (n2 || ["click"]).indexOf(e4.type) >= 0 && (ei.indexOf(_2) > -1 || "true" === i3.getAttribute("contenteditable"));
26605
26624
  }
26606
26625
  }
26607
26626
  function ni(t3) {
@@ -26728,12 +26747,12 @@ var yi = ["localhost", "127.0.0.1"], wi = (t3) => {
26728
26747
  return o2.replace(/\+/g, " ");
26729
26748
  }, ki = function(t3, i3, e4) {
26730
26749
  if (!t3 || !i3 || !i3.length) return t3;
26731
- for (var r2 = t3.split("#"), s4 = r2[0] || "", n2 = r2[1], o2 = s4.split("?"), a4 = o2[1], l2 = o2[0], u3 = (a4 || "").split("&"), h4 = [], d4 = 0; d4 < u3.length; d4++) {
26750
+ for (var r2 = t3.split("#"), s4 = r2[0] || "", n2 = r2[1], o2 = s4.split("?"), a4 = o2[1], l2 = o2[0], u3 = (a4 || "").split("&"), h5 = [], d4 = 0; d4 < u3.length; d4++) {
26732
26751
  var v2 = u3[d4].split("=");
26733
- x(v2) && (i3.includes(v2[0]) ? h4.push(v2[0] + "=" + e4) : h4.push(u3[d4]));
26752
+ x(v2) && (i3.includes(v2[0]) ? h5.push(v2[0] + "=" + e4) : h5.push(u3[d4]));
26734
26753
  }
26735
26754
  var c3 = l2;
26736
- return null != a4 && (c3 += "?" + h4.join("&")), null != n2 && (c3 += "#" + n2), c3;
26755
+ return null != a4 && (c3 += "?" + h5.join("&")), null != n2 && (c3 += "#" + n2), c3;
26737
26756
  }, xi = function(t3, i3) {
26738
26757
  var e4 = t3.match(new RegExp(i3 + "=([^&]*)"));
26739
26758
  return e4 ? e4[1] : null;
@@ -26766,9 +26785,9 @@ function Ri(t3, i3, e4, r2) {
26766
26785
  return n2.nth_child = a4, n2.nth_of_type = l2, n2;
26767
26786
  }
26768
26787
  function Ti(i3, e4) {
26769
- for (var r2, s4, { e: n2, maskAllElementAttributes: o2, maskAllText: a4, elementAttributeIgnoreList: l2, elementsChainAsString: u3 } = e4, h4 = [i3], d4 = i3; d4.parentNode && !Jt(d4, "body"); ) Kt(d4.parentNode) ? (h4.push(d4.parentNode.host), d4 = d4.parentNode.host) : (h4.push(d4.parentNode), d4 = d4.parentNode);
26788
+ for (var r2, s4, { e: n2, maskAllElementAttributes: o2, maskAllText: a4, elementAttributeIgnoreList: l2, elementsChainAsString: u3 } = e4, h5 = [i3], d4 = i3; d4.parentNode && !Jt(d4, "body"); ) Kt(d4.parentNode) ? (h5.push(d4.parentNode.host), d4 = d4.parentNode.host) : (h5.push(d4.parentNode), d4 = d4.parentNode);
26770
26789
  var v2, c3 = [], f2 = {}, p2 = false, _2 = false;
26771
- if (J$1(h4, (t3) => {
26790
+ if (J$1(h5, (t3) => {
26772
26791
  var i4 = ni(t3);
26773
26792
  "a" === t3.tagName.toLowerCase() && (p2 = t3.getAttribute("href"), p2 = i4 && p2 && ci(p2) && p2), m$1(Qt(t3), "ph-no-capture") && (_2 = true), c3.push(Ri(t3, o2, a4, l2));
26774
26793
  var e5 = function(t4) {
@@ -26853,9 +26872,9 @@ class Mi {
26853
26872
  if (a4) return false;
26854
26873
  var l2 = this.getElementSelectors(s4);
26855
26874
  if (l2 && l2.length > 0 && (o2.$element_selectors = l2), e4 === f) {
26856
- var u3, h4 = Zt(null == t$1 || null == (u3 = t$1.getSelection()) ? void 0 : u3.toString()), d4 = i3.type || "clipboard";
26857
- if (!h4) return false;
26858
- o2.$selected_content = h4, o2.$copy_type = d4;
26875
+ var u3, h5 = Zt(null == t$1 || null == (u3 = t$1.getSelection()) ? void 0 : u3.toString()), d4 = i3.type || "clipboard";
26876
+ if (!h5) return false;
26877
+ o2.$selected_content = h5, o2.$copy_type = d4;
26859
26878
  }
26860
26879
  return this.instance.capture(e4, o2), true;
26861
26880
  }
@@ -26993,8 +27012,8 @@ var Bi = { O: () => !!o$1, F: function(t3) {
26993
27012
  u3.setTime(u3.getTime() + 24 * e4 * 60 * 60 * 1e3), n2 = "; expires=" + u3.toUTCString();
26994
27013
  }
26995
27014
  s4 && (a4 = "; secure");
26996
- var h4 = t3 + "=" + encodeURIComponent(JSON.stringify(i3)) + n2 + "; SameSite=Lax; path=/" + l2 + a4;
26997
- return h4.length > 3686.4 && j$1.warn("cookieStore warning: large cookie, len=" + h4.length), o$1.cookie = h4, h4;
27015
+ var h5 = t3 + "=" + encodeURIComponent(JSON.stringify(i3)) + n2 + "; SameSite=Lax; path=/" + l2 + a4;
27016
+ return h5.length > 3686.4 && j$1.warn("cookieStore warning: large cookie, len=" + h5.length), o$1.cookie = h5, h5;
26998
27017
  } catch (t4) {
26999
27018
  return;
27000
27019
  }
@@ -27470,8 +27489,8 @@ function Le$1(t3, i3) {
27470
27489
  return de$1(t4, "Object");
27471
27490
  }(n2) || le$1(n2)) return De$1(n2, i3);
27472
27491
  if (R(e4) && T$1(r2)) {
27473
- var u3 = "Error", h4 = r2, d4 = r2.match(Pe$1);
27474
- return d4 && (u3 = d4[1], h4 = d4[2]), Fe(h4, B$1({}, i3, { overrideExceptionType: u3, defaultExceptionMessage: h4 }));
27492
+ var u3 = "Error", h5 = r2, d4 = r2.match(Pe$1);
27493
+ return d4 && (u3 = d4[1], h5 = d4[2]), Fe(h5, B$1({}, i3, { overrideExceptionType: u3, defaultExceptionMessage: h5 }));
27475
27494
  }
27476
27495
  return Fe(n2, i3);
27477
27496
  }
@@ -27567,7 +27586,7 @@ function Xe(t3, i3) {
27567
27586
  }), e4;
27568
27587
  }
27569
27588
  var Qe = (t3, i3) => {
27570
- var e4, r2, s4, n2 = { payloadSizeLimitBytes: Ge.payloadSizeLimitBytes, performanceEntryTypeToObserve: [...Ge.performanceEntryTypeToObserve], payloadHostDenyList: [...i3.payloadHostDenyList || [], ...Ge.payloadHostDenyList] }, o2 = false !== t3.session_recording.recordHeaders && i3.recordHeaders, a4 = false !== t3.session_recording.recordBody && i3.recordBody, l2 = false !== t3.capture_performance && i3.recordPerformance, u3 = (e4 = n2, s4 = Math.min(1e6, null !== (r2 = e4.payloadSizeLimitBytes) && void 0 !== r2 ? r2 : 1e6), (t4) => (null != t4 && t4.requestBody && (t4.requestBody = Ye(t4.requestBody, t4.requestHeaders, s4, "Request")), null != t4 && t4.responseBody && (t4.responseBody = Ye(t4.responseBody, t4.responseHeaders, s4, "Response")), t4)), h4 = (i4) => {
27589
+ var e4, r2, s4, n2 = { payloadSizeLimitBytes: Ge.payloadSizeLimitBytes, performanceEntryTypeToObserve: [...Ge.performanceEntryTypeToObserve], payloadHostDenyList: [...i3.payloadHostDenyList || [], ...Ge.payloadHostDenyList] }, o2 = false !== t3.session_recording.recordHeaders && i3.recordHeaders, a4 = false !== t3.session_recording.recordBody && i3.recordBody, l2 = false !== t3.capture_performance && i3.recordPerformance, u3 = (e4 = n2, s4 = Math.min(1e6, null !== (r2 = e4.payloadSizeLimitBytes) && void 0 !== r2 ? r2 : 1e6), (t4) => (null != t4 && t4.requestBody && (t4.requestBody = Ye(t4.requestBody, t4.requestHeaders, s4, "Request")), null != t4 && t4.responseBody && (t4.responseBody = Ye(t4.responseBody, t4.responseHeaders, s4, "Response")), t4)), h5 = (i4) => {
27571
27590
  return u3(((t4, i5) => {
27572
27591
  var e6, r4 = wi(t4.name), s5 = 0 === i5.indexOf("http") ? null == (e6 = wi(i5)) ? void 0 : e6.pathname : i5;
27573
27592
  "/" === s5 && (s5 = "");
@@ -27582,11 +27601,11 @@ var Qe = (t3, i3) => {
27582
27601
  var e5 = t3.session_recording.maskNetworkRequestFn({ url: i4.name });
27583
27602
  return B$1({}, i4, { name: null == e5 ? void 0 : e5.url });
27584
27603
  }), n2.maskRequestFn = E(t3.session_recording.maskCapturedNetworkRequestFn) ? (i4) => {
27585
- var e5, r3 = h4(i4);
27604
+ var e5, r3 = h5(i4);
27586
27605
  return r3 && null !== (e5 = null == t3.session_recording.maskCapturedNetworkRequestFn ? void 0 : t3.session_recording.maskCapturedNetworkRequestFn(r3)) && void 0 !== e5 ? e5 : void 0;
27587
27606
  } : (t4) => function(t5) {
27588
27607
  if (!R(t5)) return t5.requestBody = Xe(t5.requestBody, "Request"), t5.responseBody = Xe(t5.responseBody, "Response"), t5;
27589
- }(h4(t4)), B$1({}, Ge, n2, { recordHeaders: o2, recordBody: a4, recordPerformance: l2, recordInitialRequests: l2 });
27608
+ }(h5(t4)), B$1({}, Ge, n2, { recordHeaders: o2, recordBody: a4, recordPerformance: l2, recordInitialRequests: l2 });
27590
27609
  };
27591
27610
  class Ze {
27592
27611
  constructor(t3, i3) {
@@ -27669,11 +27688,11 @@ var gr = fr(pr, 9), mr = fr(_r, 5), br = function(t3) {
27669
27688
  e4.sort(function(t4, i4) {
27670
27689
  return t4.f - i4.f;
27671
27690
  }), e4.push({ s: -1, f: 25001 });
27672
- var a4 = e4[0], l2 = e4[1], u3 = 0, h4 = 1, d4 = 2;
27673
- for (e4[0] = { s: -1, f: a4.f + l2.f, l: a4, r: l2 }; h4 != s4 - 1; ) a4 = e4[e4[u3].f < e4[d4].f ? u3++ : d4++], l2 = e4[u3 != h4 && e4[u3].f < e4[d4].f ? u3++ : d4++], e4[h4++] = { s: -1, f: a4.f + l2.f, l: a4, r: l2 };
27691
+ var a4 = e4[0], l2 = e4[1], u3 = 0, h5 = 1, d4 = 2;
27692
+ for (e4[0] = { s: -1, f: a4.f + l2.f, l: a4, r: l2 }; h5 != s4 - 1; ) a4 = e4[e4[u3].f < e4[d4].f ? u3++ : d4++], l2 = e4[u3 != h5 && e4[u3].f < e4[d4].f ? u3++ : d4++], e4[h5++] = { s: -1, f: a4.f + l2.f, l: a4, r: l2 };
27674
27693
  var v2 = n2[0].s;
27675
27694
  for (r2 = 1; r2 < s4; ++r2) n2[r2].s > v2 && (v2 = n2[r2].s);
27676
- var c3 = new ir(v2 + 1), f2 = kr(e4[h4 - 1], c3, 0);
27695
+ var c3 = new ir(v2 + 1), f2 = kr(e4[h5 - 1], c3, 0);
27677
27696
  if (f2 > i3) {
27678
27697
  r2 = 0;
27679
27698
  var p2 = 0, _2 = f2 - i3, g2 = 1 << _2;
@@ -27722,34 +27741,34 @@ var gr = fr(pr, 9), mr = fr(_r, 5), br = function(t3) {
27722
27741
  t3[s4] = 255 & r2, t3[s4 + 1] = r2 >>> 8, t3[s4 + 2] = 255 ^ t3[s4], t3[s4 + 3] = 255 ^ t3[s4 + 1];
27723
27742
  for (var n2 = 0; n2 < r2; ++n2) t3[s4 + n2 + 4] = e4[n2];
27724
27743
  return 8 * (s4 + 4 + r2);
27725
- }, Pr = function(t3, i3, e4, r2, s4, n2, o2, a4, l2, u3, h4) {
27726
- wr(i3, h4++, e4), ++s4[256];
27744
+ }, Pr = function(t3, i3, e4, r2, s4, n2, o2, a4, l2, u3, h5) {
27745
+ wr(i3, h5++, e4), ++s4[256];
27727
27746
  for (var d4 = $r(s4, 15), v2 = d4[0], c3 = d4[1], f2 = $r(n2, 15), p2 = f2[0], _2 = f2[1], g2 = xr(v2), m4 = g2[0], b3 = g2[1], y4 = xr(p2), w3 = y4[0], S4 = y4[1], $2 = new ir(19), k3 = 0; k3 < m4.length; ++k3) $2[31 & m4[k3]]++;
27728
27747
  for (k3 = 0; k3 < w3.length; ++k3) $2[31 & w3[k3]]++;
27729
27748
  for (var x3 = $r($2, 7), E3 = x3[0], I3 = x3[1], P2 = 19; P2 > 4 && !E3[nr[P2 - 1]]; --P2) ;
27730
27749
  var R3, T3, M4, C2, O3 = u3 + 5 << 3, F2 = Er(s4, pr) + Er(n2, _r) + o2, A2 = Er(s4, v2) + Er(n2, p2) + o2 + 14 + 3 * P2 + Er($2, E3) + (2 * $2[16] + 3 * $2[17] + 7 * $2[18]);
27731
- if (O3 <= F2 && O3 <= A2) return Ir(i3, h4, t3.subarray(l2, l2 + u3));
27732
- if (wr(i3, h4, 1 + (A2 < F2)), h4 += 2, A2 < F2) {
27750
+ if (O3 <= F2 && O3 <= A2) return Ir(i3, h5, t3.subarray(l2, l2 + u3));
27751
+ if (wr(i3, h5, 1 + (A2 < F2)), h5 += 2, A2 < F2) {
27733
27752
  R3 = fr(v2, c3), T3 = v2, M4 = fr(p2, _2), C2 = p2;
27734
27753
  var D4 = fr(E3, I3);
27735
- wr(i3, h4, b3 - 257), wr(i3, h4 + 5, S4 - 1), wr(i3, h4 + 10, P2 - 4), h4 += 14;
27736
- for (k3 = 0; k3 < P2; ++k3) wr(i3, h4 + 3 * k3, E3[nr[k3]]);
27737
- h4 += 3 * P2;
27754
+ wr(i3, h5, b3 - 257), wr(i3, h5 + 5, S4 - 1), wr(i3, h5 + 10, P2 - 4), h5 += 14;
27755
+ for (k3 = 0; k3 < P2; ++k3) wr(i3, h5 + 3 * k3, E3[nr[k3]]);
27756
+ h5 += 3 * P2;
27738
27757
  for (var L3 = [m4, w3], N2 = 0; N2 < 2; ++N2) {
27739
27758
  var j2 = L3[N2];
27740
27759
  for (k3 = 0; k3 < j2.length; ++k3) {
27741
27760
  var z3 = 31 & j2[k3];
27742
- wr(i3, h4, D4[z3]), h4 += E3[z3], z3 > 15 && (wr(i3, h4, j2[k3] >>> 5 & 127), h4 += j2[k3] >>> 12);
27761
+ wr(i3, h5, D4[z3]), h5 += E3[z3], z3 > 15 && (wr(i3, h5, j2[k3] >>> 5 & 127), h5 += j2[k3] >>> 12);
27743
27762
  }
27744
27763
  }
27745
27764
  } else R3 = gr, T3 = pr, M4 = mr, C2 = _r;
27746
27765
  for (k3 = 0; k3 < a4; ++k3) if (r2[k3] > 255) {
27747
27766
  z3 = r2[k3] >>> 18 & 31;
27748
- Sr(i3, h4, R3[z3 + 257]), h4 += T3[z3 + 257], z3 > 7 && (wr(i3, h4, r2[k3] >>> 23 & 31), h4 += rr[z3]);
27767
+ Sr(i3, h5, R3[z3 + 257]), h5 += T3[z3 + 257], z3 > 7 && (wr(i3, h5, r2[k3] >>> 23 & 31), h5 += rr[z3]);
27749
27768
  var U2 = 31 & r2[k3];
27750
- Sr(i3, h4, M4[U2]), h4 += C2[U2], U2 > 3 && (Sr(i3, h4, r2[k3] >>> 5 & 8191), h4 += sr[U2]);
27751
- } else Sr(i3, h4, R3[r2[k3]]), h4 += T3[r2[k3]];
27752
- return Sr(i3, h4, R3[256]), h4 + T3[256];
27769
+ Sr(i3, h5, M4[U2]), h5 += C2[U2], U2 > 3 && (Sr(i3, h5, r2[k3] >>> 5 & 8191), h5 += sr[U2]);
27770
+ } else Sr(i3, h5, R3[r2[k3]]), h5 += T3[r2[k3]];
27771
+ return Sr(i3, h5, R3[256]), h5 + T3[256];
27753
27772
  }, Rr = new er([65540, 131080, 131088, 131104, 262176, 1048704, 1048832, 2114560, 2117632]), Tr = function() {
27754
27773
  for (var t3 = new er(256), i3 = 0; i3 < 256; ++i3) {
27755
27774
  for (var e4 = i3, r2 = 9; --r2; ) e4 = (1 & e4 && 3988292384) ^ e4 >>> 1;
@@ -27767,31 +27786,31 @@ var gr = fr(pr, 9), mr = fr(_r, 5), br = function(t3) {
27767
27786
  }, Cr = function(t3, i3, e4, r2, s4) {
27768
27787
  return function(t4, i4, e5, r3, s5, n2) {
27769
27788
  var o2 = t4.length, a4 = new tr(r3 + o2 + 5 * (1 + Math.floor(o2 / 7e3)) + s5), l2 = a4.subarray(r3, a4.length - s5), u3 = 0;
27770
- if (!i4 || o2 < 8) for (var h4 = 0; h4 <= o2; h4 += 65535) {
27771
- var d4 = h4 + 65535;
27772
- d4 < o2 ? u3 = Ir(l2, u3, t4.subarray(h4, d4)) : (l2[h4] = n2, u3 = Ir(l2, u3, t4.subarray(h4, o2)));
27789
+ if (!i4 || o2 < 8) for (var h5 = 0; h5 <= o2; h5 += 65535) {
27790
+ var d4 = h5 + 65535;
27791
+ d4 < o2 ? u3 = Ir(l2, u3, t4.subarray(h5, d4)) : (l2[h5] = n2, u3 = Ir(l2, u3, t4.subarray(h5, o2)));
27773
27792
  }
27774
27793
  else {
27775
27794
  for (var v2 = Rr[i4 - 1], c3 = v2 >>> 13, f2 = 8191 & v2, p2 = (1 << e5) - 1, _2 = new ir(32768), g2 = new ir(p2 + 1), m4 = Math.ceil(e5 / 3), b3 = 2 * m4, y4 = function(i5) {
27776
27795
  return (t4[i5] ^ t4[i5 + 1] << m4 ^ t4[i5 + 2] << b3) & p2;
27777
- }, w3 = new er(25e3), S4 = new ir(288), $2 = new ir(32), k3 = 0, x3 = 0, E3 = (h4 = 0, 0), I3 = 0, P2 = 0; h4 < o2; ++h4) {
27778
- var R3 = y4(h4), T3 = 32767 & h4, M4 = g2[R3];
27779
- if (_2[T3] = M4, g2[R3] = T3, I3 <= h4) {
27780
- var C2 = o2 - h4;
27796
+ }, w3 = new er(25e3), S4 = new ir(288), $2 = new ir(32), k3 = 0, x3 = 0, E3 = (h5 = 0, 0), I3 = 0, P2 = 0; h5 < o2; ++h5) {
27797
+ var R3 = y4(h5), T3 = 32767 & h5, M4 = g2[R3];
27798
+ if (_2[T3] = M4, g2[R3] = T3, I3 <= h5) {
27799
+ var C2 = o2 - h5;
27781
27800
  if ((k3 > 7e3 || E3 > 24576) && C2 > 423) {
27782
- u3 = Pr(t4, l2, 0, w3, S4, $2, x3, E3, P2, h4 - P2, u3), E3 = k3 = x3 = 0, P2 = h4;
27801
+ u3 = Pr(t4, l2, 0, w3, S4, $2, x3, E3, P2, h5 - P2, u3), E3 = k3 = x3 = 0, P2 = h5;
27783
27802
  for (var O3 = 0; O3 < 286; ++O3) S4[O3] = 0;
27784
27803
  for (O3 = 0; O3 < 30; ++O3) $2[O3] = 0;
27785
27804
  }
27786
27805
  var F2 = 2, A2 = 0, D4 = f2, L3 = T3 - M4 & 32767;
27787
- if (C2 > 2 && R3 == y4(h4 - L3)) for (var N2 = Math.min(c3, C2) - 1, j2 = Math.min(32767, h4), z3 = Math.min(258, C2); L3 <= j2 && --D4 && T3 != M4; ) {
27788
- if (t4[h4 + F2] == t4[h4 + F2 - L3]) {
27789
- for (var U2 = 0; U2 < z3 && t4[h4 + U2] == t4[h4 + U2 - L3]; ++U2) ;
27806
+ if (C2 > 2 && R3 == y4(h5 - L3)) for (var N2 = Math.min(c3, C2) - 1, j2 = Math.min(32767, h5), z3 = Math.min(258, C2); L3 <= j2 && --D4 && T3 != M4; ) {
27807
+ if (t4[h5 + F2] == t4[h5 + F2 - L3]) {
27808
+ for (var U2 = 0; U2 < z3 && t4[h5 + U2] == t4[h5 + U2 - L3]; ++U2) ;
27790
27809
  if (U2 > F2) {
27791
27810
  if (F2 = U2, A2 = L3, U2 > N2) break;
27792
27811
  var q3 = Math.min(L3, U2 - 2), B3 = 0;
27793
27812
  for (O3 = 0; O3 < q3; ++O3) {
27794
- var H5 = h4 - L3 + O3 + 32768 & 32767, W2 = H5 - _2[H5] + 32768 & 32767;
27813
+ var H5 = h5 - L3 + O3 + 32768 & 32767, W2 = H5 - _2[H5] + 32768 & 32767;
27795
27814
  W2 > B3 && (B3 = W2, M4 = H5);
27796
27815
  }
27797
27816
  }
@@ -27801,14 +27820,14 @@ var gr = fr(pr, 9), mr = fr(_r, 5), br = function(t3) {
27801
27820
  if (A2) {
27802
27821
  w3[E3++] = 268435456 | ur[F2] << 18 | hr[A2];
27803
27822
  var G3 = 31 & ur[F2], J2 = 31 & hr[A2];
27804
- x3 += rr[G3] + sr[J2], ++S4[257 + G3], ++$2[J2], I3 = h4 + F2, ++k3;
27805
- } else w3[E3++] = t4[h4], ++S4[t4[h4]];
27823
+ x3 += rr[G3] + sr[J2], ++S4[257 + G3], ++$2[J2], I3 = h5 + F2, ++k3;
27824
+ } else w3[E3++] = t4[h5], ++S4[t4[h5]];
27806
27825
  }
27807
27826
  }
27808
- u3 = Pr(t4, l2, n2, w3, S4, $2, x3, E3, P2, h4 - P2, u3);
27827
+ u3 = Pr(t4, l2, n2, w3, S4, $2, x3, E3, P2, h5 - P2, u3);
27809
27828
  }
27810
27829
  return yr(a4, 0, r3 + br(u3) + s5);
27811
- }(t3, null == i3.level ? 6 : i3.level, null == i3.mem ? Math.ceil(1.5 * Math.max(8, Math.min(13, Math.log(t3.length)))) : 12 + i3.mem, e4, r2, true);
27830
+ }(t3, null == i3.level ? 6 : i3.level, null == i3.mem ? Math.ceil(1.5 * Math.max(8, Math.min(13, Math.log(t3.length)))) : 12 + i3.mem, e4, r2, !s4);
27812
27831
  }, Or = function(t3, i3, e4) {
27813
27832
  for (; e4; ++i3) t3[i3] = e4, e4 >>>= 8;
27814
27833
  }, Fr = function(t3, i3) {
@@ -27989,10 +28008,10 @@ function hs(t3) {
27989
28008
  return function(t4, i3) {
27990
28009
  for (var e4 = "", r2 = 0; r2 < t4.length; ) {
27991
28010
  var s4 = t4[r2++];
27992
- e4 += String.fromCharCode(s4);
28011
+ s4 < 128 || i3 ? e4 += String.fromCharCode(s4) : s4 < 224 ? e4 += String.fromCharCode((31 & s4) << 6 | 63 & t4[r2++]) : s4 < 240 ? e4 += String.fromCharCode((15 & s4) << 12 | (63 & t4[r2++]) << 6 | 63 & t4[r2++]) : (s4 = ((15 & s4) << 18 | (63 & t4[r2++]) << 12 | (63 & t4[r2++]) << 6 | 63 & t4[r2++]) - 65536, e4 += String.fromCharCode(55296 | s4 >> 10, 56320 | 1023 & s4));
27993
28012
  }
27994
28013
  return e4;
27995
- }(Dr(Lr(JSON.stringify(t3))));
28014
+ }(Dr(Lr(JSON.stringify(t3))), true);
27996
28015
  }
27997
28016
  function ds(t3) {
27998
28017
  return t3.type === qe.Custom && "sessionIdle" === t3.data.tag;
@@ -28032,20 +28051,20 @@ class vs {
28032
28051
  return null != i3 ? i3 : t3;
28033
28052
  }
28034
28053
  get Ut() {
28035
- var t3, i3, e4, r2, s4, n2, o2 = this._instance.config.session_recording.captureCanvas, a4 = this._instance.get_property(bt), l2 = null !== (t3 = null !== (i3 = null == o2 ? void 0 : o2.recordCanvas) && void 0 !== i3 ? i3 : null == a4 ? void 0 : a4.enabled) && void 0 !== t3 && t3, u3 = null !== (e4 = null !== (r2 = null == o2 ? void 0 : o2.canvasFps) && void 0 !== r2 ? r2 : null == a4 ? void 0 : a4.fps) && void 0 !== e4 ? e4 : 4, h4 = null !== (s4 = null !== (n2 = null == o2 ? void 0 : o2.canvasQuality) && void 0 !== n2 ? n2 : null == a4 ? void 0 : a4.quality) && void 0 !== s4 ? s4 : 0.4;
28036
- if ("string" == typeof h4) {
28037
- var d4 = parseFloat(h4);
28038
- h4 = isNaN(d4) ? 0.4 : d4;
28054
+ var t3, i3, e4, r2, s4, n2, o2 = this._instance.config.session_recording.captureCanvas, a4 = this._instance.get_property(bt), l2 = null !== (t3 = null !== (i3 = null == o2 ? void 0 : o2.recordCanvas) && void 0 !== i3 ? i3 : null == a4 ? void 0 : a4.enabled) && void 0 !== t3 && t3, u3 = null !== (e4 = null !== (r2 = null == o2 ? void 0 : o2.canvasFps) && void 0 !== r2 ? r2 : null == a4 ? void 0 : a4.fps) && void 0 !== e4 ? e4 : 4, h5 = null !== (s4 = null !== (n2 = null == o2 ? void 0 : o2.canvasQuality) && void 0 !== n2 ? n2 : null == a4 ? void 0 : a4.quality) && void 0 !== s4 ? s4 : 0.4;
28055
+ if ("string" == typeof h5) {
28056
+ var d4 = parseFloat(h5);
28057
+ h5 = isNaN(d4) ? 0.4 : d4;
28039
28058
  }
28040
- return { enabled: l2, fps: se(u3, 0, 12, "canvas recording fps", 4), quality: se(h4, 0, 1, "canvas recording quality", 0.4) };
28059
+ return { enabled: l2, fps: se(u3, 0, 12, "canvas recording fps", 4), quality: se(h5, 0, 1, "canvas recording quality", 0.4) };
28041
28060
  }
28042
28061
  get qt() {
28043
28062
  var t3, i3, e4 = this._instance.get_property(gt), r2 = { recordHeaders: null == (t3 = this._instance.config.session_recording) ? void 0 : t3.recordHeaders, recordBody: null == (i3 = this._instance.config.session_recording) ? void 0 : i3.recordBody }, s4 = (null == r2 ? void 0 : r2.recordHeaders) || (null == e4 ? void 0 : e4.recordHeaders), n2 = (null == r2 ? void 0 : r2.recordBody) || (null == e4 ? void 0 : e4.recordBody), o2 = I$1(this._instance.config.capture_performance) ? this._instance.config.capture_performance.network_timing : this._instance.config.capture_performance, a4 = !!(A(o2) ? o2 : null == e4 ? void 0 : e4.capturePerformance);
28044
28063
  return s4 || n2 || a4 ? { recordHeaders: s4, recordBody: n2, recordPerformance: a4 } : void 0;
28045
28064
  }
28046
28065
  get Bt() {
28047
- var t3, i3, e4, r2, s4, n2, o2 = this._instance.get_property(mt), a4 = { maskAllInputs: null == (t3 = this._instance.config.session_recording) ? void 0 : t3.maskAllInputs, maskTextSelector: null == (i3 = this._instance.config.session_recording) ? void 0 : i3.maskTextSelector, blockSelector: null == (e4 = this._instance.config.session_recording) ? void 0 : e4.blockSelector }, l2 = null !== (r2 = null == a4 ? void 0 : a4.maskAllInputs) && void 0 !== r2 ? r2 : null == o2 ? void 0 : o2.maskAllInputs, u3 = null !== (s4 = null == a4 ? void 0 : a4.maskTextSelector) && void 0 !== s4 ? s4 : null == o2 ? void 0 : o2.maskTextSelector, h4 = null !== (n2 = null == a4 ? void 0 : a4.blockSelector) && void 0 !== n2 ? n2 : null == o2 ? void 0 : o2.blockSelector;
28048
- return R(l2) && R(u3) && R(h4) ? void 0 : { maskAllInputs: null == l2 || l2, maskTextSelector: u3, blockSelector: h4 };
28066
+ var t3, i3, e4, r2, s4, n2, o2 = this._instance.get_property(mt), a4 = { maskAllInputs: null == (t3 = this._instance.config.session_recording) ? void 0 : t3.maskAllInputs, maskTextSelector: null == (i3 = this._instance.config.session_recording) ? void 0 : i3.maskTextSelector, blockSelector: null == (e4 = this._instance.config.session_recording) ? void 0 : e4.blockSelector }, l2 = null !== (r2 = null == a4 ? void 0 : a4.maskAllInputs) && void 0 !== r2 ? r2 : null == o2 ? void 0 : o2.maskAllInputs, u3 = null !== (s4 = null == a4 ? void 0 : a4.maskTextSelector) && void 0 !== s4 ? s4 : null == o2 ? void 0 : o2.maskTextSelector, h5 = null !== (n2 = null == a4 ? void 0 : a4.blockSelector) && void 0 !== n2 ? n2 : null == o2 ? void 0 : o2.blockSelector;
28067
+ return R(l2) && R(u3) && R(h5) ? void 0 : { maskAllInputs: null == l2 || l2, maskTextSelector: u3, blockSelector: h5 };
28049
28068
  }
28050
28069
  get Ht() {
28051
28070
  var t3 = this._instance.get_property(yt);
@@ -28122,10 +28141,10 @@ class vs {
28122
28141
  ki(t3) {
28123
28142
  if (this._instance.persistence) {
28124
28143
  var i3, e4 = this._instance.persistence, r2 = () => {
28125
- var i4, r3, s4, n2, o2, a4, l2, u3, h4, d4 = null == (i4 = t3.sessionRecording) ? void 0 : i4.sampleRate, v2 = O(d4) ? null : parseFloat(d4);
28144
+ var i4, r3, s4, n2, o2, a4, l2, u3, h5, d4 = null == (i4 = t3.sessionRecording) ? void 0 : i4.sampleRate, v2 = O(d4) ? null : parseFloat(d4);
28126
28145
  O(v2) && this.wi();
28127
28146
  var c3 = null == (r3 = t3.sessionRecording) ? void 0 : r3.minimumDurationMilliseconds;
28128
- e4.register({ [pt]: !!t3.sessionRecording, [_t]: null == (s4 = t3.sessionRecording) ? void 0 : s4.consoleLogRecordingEnabled, [gt]: B$1({ capturePerformance: t3.capturePerformance }, null == (n2 = t3.sessionRecording) ? void 0 : n2.networkPayloadCapture), [mt]: null == (o2 = t3.sessionRecording) ? void 0 : o2.masking, [bt]: { enabled: null == (a4 = t3.sessionRecording) ? void 0 : a4.recordCanvas, fps: null == (l2 = t3.sessionRecording) ? void 0 : l2.canvasFps, quality: null == (u3 = t3.sessionRecording) ? void 0 : u3.canvasQuality }, [yt]: v2, [wt]: R(c3) ? null : c3, [St]: null == (h4 = t3.sessionRecording) ? void 0 : h4.scriptConfig });
28147
+ e4.register({ [pt]: !!t3.sessionRecording, [_t]: null == (s4 = t3.sessionRecording) ? void 0 : s4.consoleLogRecordingEnabled, [gt]: B$1({ capturePerformance: t3.capturePerformance }, null == (n2 = t3.sessionRecording) ? void 0 : n2.networkPayloadCapture), [mt]: null == (o2 = t3.sessionRecording) ? void 0 : o2.masking, [bt]: { enabled: null == (a4 = t3.sessionRecording) ? void 0 : a4.recordCanvas, fps: null == (l2 = t3.sessionRecording) ? void 0 : l2.canvasFps, quality: null == (u3 = t3.sessionRecording) ? void 0 : u3.canvasQuality }, [yt]: v2, [wt]: R(c3) ? null : c3, [St]: null == (h5 = t3.sessionRecording) ? void 0 : h5.scriptConfig });
28129
28148
  };
28130
28149
  r2(), null == (i3 = this.ei) || i3.call(this), this.ei = this.Ft.onSessionId(r2);
28131
28150
  }
@@ -28250,8 +28269,8 @@ class vs {
28250
28269
  ns.error("could not compress event - will use uncompressed event", t5);
28251
28270
  }
28252
28271
  return t4;
28253
- }(n2) : n2, h4 = { $snapshot_bytes: ze(u3), $snapshot_data: u3, $session_id: this.Mt, $window_id: this.ci };
28254
- this.status !== jr ? this.zi(h4) : this.fi();
28272
+ }(n2) : n2, h5 = { $snapshot_bytes: ze(u3), $snapshot_data: u3, $session_id: this.Mt, $window_id: this.ci };
28273
+ this.status !== jr ? this.zi(h5) : this.fi();
28255
28274
  }
28256
28275
  }
28257
28276
  }
@@ -28370,12 +28389,12 @@ var ps = "posthog-js";
28370
28389
  function _s(t3, i3) {
28371
28390
  var { organization: e4, projectId: r2, prefix: s4, severityAllowList: n2 = ["error"] } = void 0 === i3 ? {} : i3;
28372
28391
  return (i4) => {
28373
- var o2, a4, l2, u3, h4;
28392
+ var o2, a4, l2, u3, h5;
28374
28393
  if (!("*" === n2 || n2.includes(i4.level)) || !t3.__loaded) return i4;
28375
28394
  i4.tags || (i4.tags = {});
28376
28395
  var d4 = t3.requestRouter.endpointFor("ui", "/project/" + t3.config.token + "/person/" + t3.get_distinct_id());
28377
28396
  i4.tags["PostHog Person URL"] = d4, t3.sessionRecordingStarted() && (i4.tags["PostHog Recording URL"] = t3.get_session_replay_url({ withTimestamp: true }));
28378
- var v2 = (null == (o2 = i4.exception) ? void 0 : o2.values) || [], c3 = v2.map((t4) => B$1({}, t4, { stacktrace: t4.stacktrace ? B$1({}, t4.stacktrace, { type: "raw", frames: (t4.stacktrace.frames || []).map((t5) => B$1({}, t5, { platform: "web:javascript" })) }) : void 0 })), f2 = { $exception_message: (null == (a4 = v2[0]) ? void 0 : a4.value) || i4.message, $exception_type: null == (l2 = v2[0]) ? void 0 : l2.type, $exception_personURL: d4, $exception_level: i4.level, $exception_list: c3, $sentry_event_id: i4.event_id, $sentry_exception: i4.exception, $sentry_exception_message: (null == (u3 = v2[0]) ? void 0 : u3.value) || i4.message, $sentry_exception_type: null == (h4 = v2[0]) ? void 0 : h4.type, $sentry_tags: i4.tags };
28397
+ var v2 = (null == (o2 = i4.exception) ? void 0 : o2.values) || [], c3 = v2.map((t4) => B$1({}, t4, { stacktrace: t4.stacktrace ? B$1({}, t4.stacktrace, { type: "raw", frames: (t4.stacktrace.frames || []).map((t5) => B$1({}, t5, { platform: "web:javascript" })) }) : void 0 })), f2 = { $exception_message: (null == (a4 = v2[0]) ? void 0 : a4.value) || i4.message, $exception_type: null == (l2 = v2[0]) ? void 0 : l2.type, $exception_personURL: d4, $exception_level: i4.level, $exception_list: c3, $sentry_event_id: i4.event_id, $sentry_exception: i4.exception, $sentry_exception_message: (null == (u3 = v2[0]) ? void 0 : u3.value) || i4.message, $sentry_exception_type: null == (h5 = v2[0]) ? void 0 : h5.type, $sentry_tags: i4.tags };
28379
28398
  return e4 && r2 && (f2.$sentry_url = (s4 || "https://sentry.io/organizations/") + e4 + "/issues/?project=" + r2 + "&query=" + i4.event_id), t3.exceptions.sendExceptionEvent(f2), i4;
28380
28399
  };
28381
28400
  }
@@ -28615,11 +28634,11 @@ class Ms {
28615
28634
  if (!e4) return { $pageview_id: i3 };
28616
28635
  var r2 = { $pageview_id: i3, $prev_pageview_id: e4.pageViewId }, s4 = this._instance.scrollManager.getContext();
28617
28636
  if (s4 && !this._instance.config.disable_scroll_properties) {
28618
- var { maxScrollHeight: n2, lastScrollY: o2, maxScrollY: a4, maxContentHeight: l2, lastContentY: u3, maxContentY: h4 } = s4;
28619
- if (!(R(n2) || R(o2) || R(a4) || R(l2) || R(u3) || R(h4))) {
28620
- n2 = Math.ceil(n2), o2 = Math.ceil(o2), a4 = Math.ceil(a4), l2 = Math.ceil(l2), u3 = Math.ceil(u3), h4 = Math.ceil(h4);
28621
- var d4 = n2 <= 1 ? 1 : se(o2 / n2, 0, 1), v2 = n2 <= 1 ? 1 : se(a4 / n2, 0, 1), c3 = l2 <= 1 ? 1 : se(u3 / l2, 0, 1), f2 = l2 <= 1 ? 1 : se(h4 / l2, 0, 1);
28622
- r2 = V(r2, { $prev_pageview_last_scroll: o2, $prev_pageview_last_scroll_percentage: d4, $prev_pageview_max_scroll: a4, $prev_pageview_max_scroll_percentage: v2, $prev_pageview_last_content: u3, $prev_pageview_last_content_percentage: c3, $prev_pageview_max_content: h4, $prev_pageview_max_content_percentage: f2 });
28637
+ var { maxScrollHeight: n2, lastScrollY: o2, maxScrollY: a4, maxContentHeight: l2, lastContentY: u3, maxContentY: h5 } = s4;
28638
+ if (!(R(n2) || R(o2) || R(a4) || R(l2) || R(u3) || R(h5))) {
28639
+ n2 = Math.ceil(n2), o2 = Math.ceil(o2), a4 = Math.ceil(a4), l2 = Math.ceil(l2), u3 = Math.ceil(u3), h5 = Math.ceil(h5);
28640
+ var d4 = n2 <= 1 ? 1 : se(o2 / n2, 0, 1), v2 = n2 <= 1 ? 1 : se(a4 / n2, 0, 1), c3 = l2 <= 1 ? 1 : se(u3 / l2, 0, 1), f2 = l2 <= 1 ? 1 : se(h5 / l2, 0, 1);
28641
+ r2 = V(r2, { $prev_pageview_last_scroll: o2, $prev_pageview_last_scroll_percentage: d4, $prev_pageview_max_scroll: a4, $prev_pageview_max_scroll_percentage: v2, $prev_pageview_last_content: u3, $prev_pageview_last_content_percentage: c3, $prev_pageview_max_content: h5, $prev_pageview_max_content_percentage: f2 });
28623
28642
  }
28624
28643
  }
28625
28644
  return e4.pathname && (r2.$prev_pageview_pathname = e4.pathname), e4.timestamp && (r2.$prev_pageview_duration = (t3.getTime() - e4.timestamp.getTime()) / 1e3), r2;
@@ -28649,13 +28668,13 @@ var Cs = function(t3) {
28649
28668
  }
28650
28669
  if (e4 === _.Base64) {
28651
28670
  var n2 = function(t4) {
28652
- var i4, e5, r3, s5, n3, o3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", a5 = 0, l2 = 0, u3 = "", h4 = [];
28671
+ var i4, e5, r3, s5, n3, o3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", a5 = 0, l2 = 0, u3 = "", h5 = [];
28653
28672
  if (!t4) return t4;
28654
28673
  t4 = Cs(t4);
28655
28674
  do {
28656
- i4 = (n3 = t4.charCodeAt(a5++) << 16 | t4.charCodeAt(a5++) << 8 | t4.charCodeAt(a5++)) >> 18 & 63, e5 = n3 >> 12 & 63, r3 = n3 >> 6 & 63, s5 = 63 & n3, h4[l2++] = o3.charAt(i4) + o3.charAt(e5) + o3.charAt(r3) + o3.charAt(s5);
28675
+ i4 = (n3 = t4.charCodeAt(a5++) << 16 | t4.charCodeAt(a5++) << 8 | t4.charCodeAt(a5++)) >> 18 & 63, e5 = n3 >> 12 & 63, r3 = n3 >> 6 & 63, s5 = 63 & n3, h5[l2++] = o3.charAt(i4) + o3.charAt(e5) + o3.charAt(r3) + o3.charAt(s5);
28657
28676
  } while (a5 < t4.length);
28658
- switch (u3 = h4.join(""), t4.length % 3) {
28677
+ switch (u3 = h5.join(""), t4.length % 3) {
28659
28678
  case 1:
28660
28679
  u3 = u3.slice(0, -2) + "==";
28661
28680
  break;
@@ -28923,8 +28942,8 @@ class vo {
28923
28942
  if (!e4 && !i3) return t3 || {};
28924
28943
  var r2 = V({}, t3 || {}), s4 = [.../* @__PURE__ */ new Set([...Object.keys(e4 || {}), ...Object.keys(i3 || {})])];
28925
28944
  for (var n2 of s4) {
28926
- var o2, a4, l2 = r2[n2], u3 = null == i3 ? void 0 : i3[n2], h4 = R(u3) ? null !== (o2 = null == l2 ? void 0 : l2.enabled) && void 0 !== o2 && o2 : !!u3, d4 = R(u3) ? l2.variant : "string" == typeof u3 ? u3 : void 0, v2 = null == e4 ? void 0 : e4[n2], c3 = B$1({}, l2, { enabled: h4, variant: h4 ? null != d4 ? d4 : null == l2 ? void 0 : l2.variant : void 0 });
28927
- if (h4 !== (null == l2 ? void 0 : l2.enabled) && (c3.original_enabled = null == l2 ? void 0 : l2.enabled), d4 !== (null == l2 ? void 0 : l2.variant) && (c3.original_variant = null == l2 ? void 0 : l2.variant), v2) c3.metadata = B$1({}, null == l2 ? void 0 : l2.metadata, { payload: v2, original_payload: null == l2 || null == (a4 = l2.metadata) ? void 0 : a4.payload });
28945
+ var o2, a4, l2 = r2[n2], u3 = null == i3 ? void 0 : i3[n2], h5 = R(u3) ? null !== (o2 = null == l2 ? void 0 : l2.enabled) && void 0 !== o2 && o2 : !!u3, d4 = R(u3) ? l2.variant : "string" == typeof u3 ? u3 : void 0, v2 = null == e4 ? void 0 : e4[n2], c3 = B$1({}, l2, { enabled: h5, variant: h5 ? null != d4 ? d4 : null == l2 ? void 0 : l2.variant : void 0 });
28946
+ if (h5 !== (null == l2 ? void 0 : l2.enabled) && (c3.original_enabled = null == l2 ? void 0 : l2.enabled), d4 !== (null == l2 ? void 0 : l2.variant) && (c3.original_variant = null == l2 ? void 0 : l2.variant), v2) c3.metadata = B$1({}, null == l2 ? void 0 : l2.metadata, { payload: v2, original_payload: null == l2 || null == (a4 = l2.metadata) ? void 0 : a4.payload });
28928
28947
  r2[n2] = c3;
28929
28948
  }
28930
28949
  return this.pe || (eo.warn(" Overriding feature flag details!", { flagDetails: t3, overriddenPayloads: e4, finalDetails: r2 }), this.pe = true), r2;
@@ -28981,11 +29000,11 @@ class vo {
28981
29000
  if (void 0 === i3 && (i3 = {}), this._e || this.getFlags() && this.getFlags().length > 0) {
28982
29001
  var e4 = this.getFlagVariants()[t3], r2 = "" + e4, s4 = this._instance.get_property(ao) || void 0, n2 = this._instance.get_property(Ft) || {};
28983
29002
  if ((i3.send_event || !("send_event" in i3)) && (!(t3 in n2) || !n2[t3].includes(r2))) {
28984
- var o2, a4, l2, u3, h4, d4, v2, c3, f2;
29003
+ var o2, a4, l2, u3, h5, d4, v2, c3, f2;
28985
29004
  x(n2[t3]) ? n2[t3].push(r2) : n2[t3] = [r2], null == (o2 = this._instance.persistence) || o2.register({ [Ft]: n2 });
28986
29005
  var p2 = this.getFeatureFlagDetails(t3), _2 = { $feature_flag: t3, $feature_flag_response: e4, $feature_flag_payload: this.getFeatureFlagPayload(t3) || null, $feature_flag_request_id: s4, $feature_flag_bootstrapped_response: (null == (a4 = this._instance.config.bootstrap) || null == (a4 = a4.featureFlags) ? void 0 : a4[t3]) || null, $feature_flag_bootstrapped_payload: (null == (l2 = this._instance.config.bootstrap) || null == (l2 = l2.featureFlagPayloads) ? void 0 : l2[t3]) || null, $used_bootstrap_value: !this.we };
28987
29006
  R(null == p2 || null == (u3 = p2.metadata) ? void 0 : u3.version) || (_2.$feature_flag_version = p2.metadata.version);
28988
- var g2, m4 = null !== (h4 = null == p2 || null == (d4 = p2.reason) ? void 0 : d4.description) && void 0 !== h4 ? h4 : null == p2 || null == (v2 = p2.reason) ? void 0 : v2.code;
29007
+ var g2, m4 = null !== (h5 = null == p2 || null == (d4 = p2.reason) ? void 0 : d4.description) && void 0 !== h5 ? h5 : null == p2 || null == (v2 = p2.reason) ? void 0 : v2.code;
28989
29008
  if (m4 && (_2.$feature_flag_reason = m4), null != p2 && null != (c3 = p2.metadata) && c3.id && (_2.$feature_flag_id = p2.metadata.id), R(null == p2 ? void 0 : p2.original_variant) && R(null == p2 ? void 0 : p2.original_enabled) || (_2.$feature_flag_original_response = R(p2.original_variant) ? p2.original_enabled : p2.original_variant), null != p2 && null != (f2 = p2.metadata) && f2.original_payload) _2.$feature_flag_original_payload = null == p2 || null == (g2 = p2.metadata) ? void 0 : g2.original_payload;
28990
29009
  this._instance.capture("$feature_flag_called", _2);
28991
29010
  }
@@ -29027,9 +29046,9 @@ class vo {
29027
29046
  var u3 = t4.requestId;
29028
29047
  if (x(a4)) {
29029
29048
  eo.warn("v1 of the feature flags endpoint is deprecated. Please use the latest version.");
29030
- var h4 = {};
29031
- if (a4) for (var d4 = 0; d4 < a4.length; d4++) h4[a4[d4]] = true;
29032
- i4 && i4.register({ [ro]: a4, [It]: h4 });
29049
+ var h5 = {};
29050
+ if (a4) for (var d4 = 0; d4 < a4.length; d4++) h5[a4[d4]] = true;
29051
+ i4 && i4.register({ [ro]: a4, [It]: h5 });
29033
29052
  } else {
29034
29053
  var v2 = a4, c3 = l2, f2 = o2;
29035
29054
  t4.errorsWhileComputingFlags && (v2 = B$1({}, e5, v2), c3 = B$1({}, r3, c3), f2 = B$1({}, s5, f2)), i4 && i4.register(B$1({ [ro]: Object.keys(lo(v2)), [It]: v2 || {}, [no]: c3 || {}, [Rt]: f2 || {} }, u3 ? { [ao]: u3 } : {}));
@@ -29859,10 +29878,10 @@ class qo {
29859
29878
  }
29860
29879
  checkAndGetSessionAndWindowId(t3, i3) {
29861
29880
  if (void 0 === t3 && (t3 = false), void 0 === i3 && (i3 = null), this.S.__preview_experimental_cookieless_mode) throw new Error("checkAndGetSessionAndWindowId should not be called in __preview_experimental_cookieless_mode");
29862
- var e4 = i3 || (/* @__PURE__ */ new Date()).getTime(), [r2, s4, n2] = this.Xr(), o2 = this.Yr(), a4 = F(n2) && n2 > 0 && Math.abs(e4 - n2) > 864e5, l2 = false, u3 = !s4, h4 = !t3 && Math.abs(e4 - r2) > this.sessionTimeoutMs;
29863
- u3 || h4 || a4 ? (s4 = this.Ur(), o2 = this.qr(), Uo.info("new session ID generated", { sessionId: s4, windowId: o2, changeReason: { noSessionId: u3, activityTimeout: h4, sessionPastMaximumLength: a4 } }), n2 = e4, l2 = true) : o2 || (o2 = this.qr(), l2 = true);
29881
+ var e4 = i3 || (/* @__PURE__ */ new Date()).getTime(), [r2, s4, n2] = this.Xr(), o2 = this.Yr(), a4 = F(n2) && n2 > 0 && Math.abs(e4 - n2) > 864e5, l2 = false, u3 = !s4, h5 = !t3 && Math.abs(e4 - r2) > this.sessionTimeoutMs;
29882
+ u3 || h5 || a4 ? (s4 = this.Ur(), o2 = this.qr(), Uo.info("new session ID generated", { sessionId: s4, windowId: o2, changeReason: { noSessionId: u3, activityTimeout: h5, sessionPastMaximumLength: a4 } }), n2 = e4, l2 = true) : o2 || (o2 = this.qr(), l2 = true);
29864
29883
  var d4 = 0 === r2 || !t3 || a4 ? e4 : r2, v2 = 0 === n2 ? (/* @__PURE__ */ new Date()).getTime() : n2;
29865
- return this.Kr(o2), this.Jr(s4, d4, v2), t3 || this.Br(), l2 && this.zr.forEach((t4) => t4(s4, o2, l2 ? { noSessionId: u3, activityTimeout: h4, sessionPastMaximumLength: a4 } : void 0)), { sessionId: s4, windowId: o2, sessionStartTimestamp: v2, changeReason: l2 ? { noSessionId: u3, activityTimeout: h4, sessionPastMaximumLength: a4 } : void 0, lastActivityTimestamp: r2 };
29884
+ return this.Kr(o2), this.Jr(s4, d4, v2), t3 || this.Br(), l2 && this.zr.forEach((t4) => t4(s4, o2, l2 ? { noSessionId: u3, activityTimeout: h5, sessionPastMaximumLength: a4 } : void 0)), { sessionId: s4, windowId: o2, sessionStartTimestamp: v2, changeReason: l2 ? { noSessionId: u3, activityTimeout: h5, sessionPastMaximumLength: a4 } : void 0, lastActivityTimestamp: r2 };
29866
29885
  }
29867
29886
  Br() {
29868
29887
  clearTimeout(this.Qr), this.Qr = setTimeout(() => {
@@ -29899,8 +29918,8 @@ class Wo {
29899
29918
  globalsForEvent(t3) {
29900
29919
  var i3, e4, r2, s4, n2, o2, a4;
29901
29920
  if (!t3) throw new Error("Event payload is required");
29902
- var l2 = {}, u3 = this._instance.get_property("$groups") || [], h4 = this._instance.get_property("$stored_group_properties") || {};
29903
- for (var [d4, v2] of Object.entries(h4)) l2[d4] = { id: u3[d4], type: d4, properties: v2 };
29921
+ var l2 = {}, u3 = this._instance.get_property("$groups") || [], h5 = this._instance.get_property("$stored_group_properties") || {};
29922
+ for (var [d4, v2] of Object.entries(h5)) l2[d4] = { id: u3[d4], type: d4, properties: v2 };
29904
29923
  var { $set_once: c3, $set: f2 } = t3;
29905
29924
  return { event: B$1({}, H$1(t3, Bo), { properties: B$1({}, t3.properties, f2 ? { $set: B$1({}, null !== (i3 = null == (e4 = t3.properties) ? void 0 : e4.$set) && void 0 !== i3 ? i3 : {}, f2) } : {}, c3 ? { $set_once: B$1({}, null !== (r2 = null == (s4 = t3.properties) ? void 0 : s4.$set_once) && void 0 !== r2 ? r2 : {}, c3) } : {}), elements_chain: null !== (n2 = null == (o2 = t3.properties) ? void 0 : o2.$elements_chain) && void 0 !== n2 ? n2 : "", distinct_id: null == (a4 = t3.properties) ? void 0 : a4.distinct_id }), person: { properties: this._instance.get_property("$stored_person_properties") }, groups: l2 };
29906
29925
  }
@@ -30079,7 +30098,7 @@ class Zo {
30079
30098
  if (O(t3.conditions) || O(null == (i3 = t3.conditions) ? void 0 : i3.utm)) return true;
30080
30099
  var e4 = Gn();
30081
30100
  if (e4.utm_source) {
30082
- var r2, s4, n2, o2, a4, l2, u3, h4, d4 = null == (r2 = t3.conditions) || null == (r2 = r2.utm) || !r2.utm_campaign || (null == (s4 = t3.conditions) || null == (s4 = s4.utm) ? void 0 : s4.utm_campaign) == e4.utm_campaign, v2 = null == (n2 = t3.conditions) || null == (n2 = n2.utm) || !n2.utm_source || (null == (o2 = t3.conditions) || null == (o2 = o2.utm) ? void 0 : o2.utm_source) == e4.utm_source, c3 = null == (a4 = t3.conditions) || null == (a4 = a4.utm) || !a4.utm_medium || (null == (l2 = t3.conditions) || null == (l2 = l2.utm) ? void 0 : l2.utm_medium) == e4.utm_medium, f2 = null == (u3 = t3.conditions) || null == (u3 = u3.utm) || !u3.utm_term || (null == (h4 = t3.conditions) || null == (h4 = h4.utm) ? void 0 : h4.utm_term) == e4.utm_term;
30101
+ var r2, s4, n2, o2, a4, l2, u3, h5, d4 = null == (r2 = t3.conditions) || null == (r2 = r2.utm) || !r2.utm_campaign || (null == (s4 = t3.conditions) || null == (s4 = s4.utm) ? void 0 : s4.utm_campaign) == e4.utm_campaign, v2 = null == (n2 = t3.conditions) || null == (n2 = n2.utm) || !n2.utm_source || (null == (o2 = t3.conditions) || null == (o2 = o2.utm) ? void 0 : o2.utm_source) == e4.utm_source, c3 = null == (a4 = t3.conditions) || null == (a4 = a4.utm) || !a4.utm_medium || (null == (l2 = t3.conditions) || null == (l2 = l2.utm) ? void 0 : l2.utm_medium) == e4.utm_medium, f2 = null == (u3 = t3.conditions) || null == (u3 = u3.utm) || !u3.utm_term || (null == (h5 = t3.conditions) || null == (h5 = h5.utm) ? void 0 : h5.utm_term) == e4.utm_term;
30083
30102
  return d4 && c3 && f2 && v2;
30084
30103
  }
30085
30104
  return false;
@@ -30160,7 +30179,7 @@ class aa {
30160
30179
  this.__loaded = true, this.config = {}, this.Ss = [], e4.person_profiles && (this.ys = e4.person_profiles), this.set_config(V({}, sa(e4.defaults), na(e4), { name: r2, token: i3 })), this.config.on_xhr_error && j$1.error("on_xhr_error is deprecated. Use on_request_error instead"), this.compression = e4.disable_compression ? void 0 : _.GZipJS, this.persistence = new fo(this.config), this.sessionPersistence = "sessionStorage" === this.config.persistence || "memory" === this.config.persistence ? this.persistence : new fo(B$1({}, this.config, { persistence: "sessionStorage" }));
30161
30180
  var o2 = B$1({}, this.persistence.props), a4 = B$1({}, this.sessionPersistence.props);
30162
30181
  if (this.register({ $initialization_time: (/* @__PURE__ */ new Date()).toISOString() }), this.$s = new Ao((t3) => this.ks(t3), this.config.request_queue_config), this.xs = new Lo(this), this.__request_queue = [], this.config.__preview_experimental_cookieless_mode || (this.sessionManager = new qo(this), this.sessionPropsManager = new zo(this, this.sessionManager, this.persistence)), new ks(this).startIfEnabledOrStop(), this.siteApps = new Wo(this), null == (s4 = this.siteApps) || s4.init(), this.config.__preview_experimental_cookieless_mode || (this.sessionRecording = new vs(this), this.sessionRecording.startIfEnabledOrStop()), this.config.disable_scroll_properties || this.scrollManager.startMeasuringScrollPosition(), this.autocapture = new Mi(this), this.autocapture.startIfEnabled(), this.surveys.loadIfEnabled(), this.heatmaps = new Ts(this), this.heatmaps.startIfEnabled(), this.webVitalsAutocapture = new Is(this), this.exceptionObserver = new ae(this), this.exceptionObserver.startIfEnabled(), this.deadClicksAutocapture = new re(this, ee$1), this.deadClicksAutocapture.startIfEnabled(), this.historyAutocapture = new je(this), this.historyAutocapture.startIfEnabled(), c.DEBUG = c.DEBUG || this.config.debug, c.DEBUG && j$1.info("Starting in debug mode", { this: this, config: e4, thisC: B$1({}, this.config), p: o2, s: a4 }), this.Es(), void 0 !== (null == (n2 = e4.bootstrap) ? void 0 : n2.distinctID)) {
30163
- var l2, u3, h4 = this.config.get_device_id(Ni()), d4 = null != (l2 = e4.bootstrap) && l2.isIdentifiedID ? h4 : e4.bootstrap.distinctID;
30182
+ var l2, u3, h5 = this.config.get_device_id(Ni()), d4 = null != (l2 = e4.bootstrap) && l2.isIdentifiedID ? h5 : e4.bootstrap.distinctID;
30164
30183
  this.persistence.set_property(At, null != (u3 = e4.bootstrap) && u3.isIdentifiedID ? "identified" : "anonymous"), this.register({ distinct_id: e4.bootstrap.distinctID, $device_id: d4 });
30165
30184
  }
30166
30185
  if (this.Is()) {
@@ -30262,10 +30281,10 @@ class aa {
30262
30281
  null != i3 && i3.$current_url && !T$1(null == i3 ? void 0 : i3.$current_url) && (j$1.error("Invalid `$current_url` property provided to `posthog.capture`. Input must be a string. Ignoring provided value."), null == i3 || delete i3.$current_url), this.sessionPersistence.update_search_keyword(), this.config.save_campaign_params && this.sessionPersistence.update_campaign_params(), this.config.save_referrer && this.sessionPersistence.update_referrer_info(), (this.config.save_campaign_params || this.config.save_referrer) && this.persistence.set_initial_person_info();
30263
30282
  var n2 = /* @__PURE__ */ new Date(), o2 = (null == e4 ? void 0 : e4.timestamp) || n2, a4 = Ni(), l2 = { uuid: a4, event: t3, properties: this.calculateEventProperties(t3, i3 || {}, o2, a4) };
30264
30283
  s4 && (l2.properties.$lib_rate_limit_remaining_tokens = s4.remainingTokens), (null == e4 ? void 0 : e4.$set) && (l2.$set = null == e4 ? void 0 : e4.$set);
30265
- var u3, h4, d4 = this.Cs(null == e4 ? void 0 : e4.$set_once);
30284
+ var u3, h5, d4 = this.Cs(null == e4 ? void 0 : e4.$set_once);
30266
30285
  if (d4 && (l2.$set_once = d4), (l2 = tt(l2, null != e4 && e4._noTruncate ? null : this.config.properties_string_max_length)).timestamp = o2, R(null == e4 ? void 0 : e4.timestamp) || (l2.properties.$event_time_override_provided = true, l2.properties.$event_time_override_system_time = n2), t3 === Po.DISMISSED || t3 === Po.SENT) {
30267
30286
  var v2 = null == i3 ? void 0 : i3[Ro.SURVEY_ID], c3 = null == i3 ? void 0 : i3[Ro.SURVEY_ITERATION];
30268
- localStorage.setItem((h4 = "" + mo + (u3 = { id: v2, current_iteration: c3 }).id, u3.current_iteration && u3.current_iteration > 0 && (h4 = "" + mo + u3.id + "_" + u3.current_iteration), h4), "true"), l2.$set = B$1({}, l2.$set, { [bo({ id: v2, current_iteration: c3 }, t3 === Po.SENT ? "responded" : "dismissed")]: true });
30287
+ localStorage.setItem((h5 = "" + mo + (u3 = { id: v2, current_iteration: c3 }).id, u3.current_iteration && u3.current_iteration > 0 && (h5 = "" + mo + u3.id + "_" + u3.current_iteration), h5), "true"), l2.$set = B$1({}, l2.$set, { [bo({ id: v2, current_iteration: c3 }, t3 === Po.SENT ? "responded" : "dismissed")]: true });
30269
30288
  }
30270
30289
  var f2 = B$1({}, l2.properties.$set, l2.$set);
30271
30290
  if (P(f2) || this.setPersonPropertiesForFlags(f2), !O(this.config.before_send)) {
@@ -30292,7 +30311,7 @@ class aa {
30292
30311
  var l2 = B$1({}, this.persistence.properties(), this.sessionPersistence.properties());
30293
30312
  return a4.distinct_id = l2.distinct_id, (!T$1(a4.distinct_id) && !F(a4.distinct_id) || M$1(a4.distinct_id)) && j$1.error("Invalid distinct_id for replay event. This indicates a bug in your implementation"), a4;
30294
30313
  }
30295
- var u3, h4 = io(this.config.mask_personal_data_properties, this.config.custom_personal_data_properties);
30314
+ var u3, h5 = io(this.config.mask_personal_data_properties, this.config.custom_personal_data_properties);
30296
30315
  if (this.sessionManager) {
30297
30316
  var { sessionId: v2, windowId: c3 } = this.sessionManager.checkAndGetSessionAndWindowId(s4, e4.getTime());
30298
30317
  a4.$session_id = v2, a4.$window_id = c3;
@@ -30308,7 +30327,7 @@ class aa {
30308
30327
  var p2 = e4.getTime() - n2;
30309
30328
  a4.$duration = parseFloat((p2 / 1e3).toFixed(3));
30310
30329
  }
30311
- d && this.config.opt_out_useragent_filter && (a4.$browser_type = this._is_bot() ? "bot" : "browser"), (a4 = V({}, h4, this.persistence.properties(), this.sessionPersistence.properties(), a4)).$is_identified = this._isIdentified(), x(this.config.property_denylist) ? J$1(this.config.property_denylist, function(t4) {
30330
+ d && this.config.opt_out_useragent_filter && (a4.$browser_type = this._is_bot() ? "bot" : "browser"), (a4 = V({}, h5, this.persistence.properties(), this.sessionPersistence.properties(), a4)).$is_identified = this._isIdentified(), x(this.config.property_denylist) ? J$1(this.config.property_denylist, function(t4) {
30312
30331
  delete a4[t4];
30313
30332
  }) : j$1.error("Invalid value for property_denylist config: " + this.config.property_denylist + " or property_blacklist config: " + this.config.property_blacklist);
30314
30333
  var _2 = this.config.sanitize_properties;
@@ -35712,25 +35731,25 @@ const rgbToShadcnHsl = (r2, g2, b3) => {
35712
35731
  b3 /= 255;
35713
35732
  const max2 = Math.max(r2, g2, b3);
35714
35733
  const min2 = Math.min(r2, g2, b3);
35715
- let h4 = 0, s4 = 0;
35734
+ let h5 = 0, s4 = 0;
35716
35735
  const l2 = (max2 + min2) / 2;
35717
35736
  if (max2 !== min2) {
35718
35737
  const d4 = max2 - min2;
35719
35738
  s4 = l2 > 0.5 ? d4 / (2 - max2 - min2) : d4 / (max2 + min2);
35720
35739
  switch (max2) {
35721
35740
  case r2:
35722
- h4 = (g2 - b3) / d4 + (g2 < b3 ? 6 : 0);
35741
+ h5 = (g2 - b3) / d4 + (g2 < b3 ? 6 : 0);
35723
35742
  break;
35724
35743
  case g2:
35725
- h4 = (b3 - r2) / d4 + 2;
35744
+ h5 = (b3 - r2) / d4 + 2;
35726
35745
  break;
35727
35746
  case b3:
35728
- h4 = (r2 - g2) / d4 + 4;
35747
+ h5 = (r2 - g2) / d4 + 4;
35729
35748
  break;
35730
35749
  }
35731
- h4 *= 60;
35750
+ h5 *= 60;
35732
35751
  }
35733
- return `${Math.round(h4)} ${Math.round(s4 * 100)}% ${Math.round(l2 * 100)}%`;
35752
+ return `${Math.round(h5)} ${Math.round(s4 * 100)}% ${Math.round(l2 * 100)}%`;
35734
35753
  };
35735
35754
  const extractRgb = (rgbColor) => {
35736
35755
  const matches2 = rgbColor.match(/\d+/g);
@@ -38239,6 +38258,29 @@ instance.use(Browser).use(initReactI18next).init({
38239
38258
  }
38240
38259
  });
38241
38260
  const defaultTranslations = {
38261
+ engage: {
38262
+ user: "User",
38263
+ user_other: "Users",
38264
+ automation: "Automation",
38265
+ automation_other: "Automations",
38266
+ segment: "Segment",
38267
+ segment_other: "Segments",
38268
+ broadcast: "Broadcast",
38269
+ broadcast_other: "Broadcasts",
38270
+ trigger_based: "Trigger Based",
38271
+ insight: "Insight",
38272
+ insight_other: "Insights",
38273
+ merge_field: "Merge Field",
38274
+ merge_field_other: "Merge Fields",
38275
+ extra_merge_field_name: "Custom Fields",
38276
+ extra_merge_field_name_other: "Custom Fields",
38277
+ advanced_merge_field_name: "Advanced Fields",
38278
+ advanced_merge_field_name_other: "Advanced Fields"
38279
+ },
38280
+ measure: {
38281
+ transaction_table_id_header: "Transaction ID",
38282
+ transaction_table_created_header: "Transaction Created"
38283
+ },
38242
38284
  common: {
38243
38285
  day: "Day",
38244
38286
  day_other: "Days",
@@ -39419,7 +39461,7 @@ var count$6 = 0;
39419
39461
  function useId$4(deterministicId) {
39420
39462
  const [id2, setId] = React.useState(useReactId$2());
39421
39463
  useLayoutEffect2$3(() => {
39422
- setId((reactId) => reactId ?? String(count$6++));
39464
+ if (!deterministicId) setId((reactId) => reactId ?? String(count$6++));
39423
39465
  }, [deterministicId]);
39424
39466
  return deterministicId || (id2 ? `radix-${id2}` : "");
39425
39467
  }
@@ -40632,9 +40674,9 @@ var handleScroll = function(axis, endTarget, event, sourceDelta, noOverscroll) {
40632
40674
  !targetInLock && target !== document.body || // self content
40633
40675
  targetInLock && (endTarget.contains(target) || endTarget === target)
40634
40676
  );
40635
- if (isDeltaPositive && (Math.abs(availableScroll) < 1 || false)) {
40677
+ if (isDeltaPositive && (Math.abs(availableScroll) < 1 || !noOverscroll)) {
40636
40678
  shouldCancelScroll = true;
40637
- } else if (!isDeltaPositive && (Math.abs(availableScrollTop) < 1 || false)) {
40679
+ } else if (!isDeltaPositive && (Math.abs(availableScrollTop) < 1 || !noOverscroll)) {
40638
40680
  shouldCancelScroll = true;
40639
40681
  }
40640
40682
  return shouldCancelScroll;
@@ -40716,7 +40758,7 @@ function RemoveScrollSideCar(props2) {
40716
40758
  return true;
40717
40759
  }
40718
40760
  var cancelingAxis = activeAxis.current || currentAxis;
40719
- return handleScroll(cancelingAxis, parent, event, cancelingAxis === "h" ? deltaX : deltaY);
40761
+ return handleScroll(cancelingAxis, parent, event, cancelingAxis === "h" ? deltaX : deltaY, true);
40720
40762
  }, []);
40721
40763
  var shouldPrevent = React.useCallback(function(_event) {
40722
40764
  var event = _event;
@@ -41867,6 +41909,7 @@ const progress = /* @__NO_SIDE_EFFECTS__ */ (from2, to2, value) => {
41867
41909
  const secondsToMilliseconds = /* @__NO_SIDE_EFFECTS__ */ (seconds) => seconds * 1e3;
41868
41910
  const millisecondsToSeconds = /* @__NO_SIDE_EFFECTS__ */ (milliseconds) => milliseconds / 1e3;
41869
41911
  const MotionGlobalConfig = {
41912
+ skipAnimations: false,
41870
41913
  useManualTiming: false
41871
41914
  };
41872
41915
  const stepsOrder = [
@@ -41884,7 +41927,8 @@ const stepsOrder = [
41884
41927
  // Compute
41885
41928
  ];
41886
41929
  const statsBuffer = {
41887
- value: null
41930
+ value: null,
41931
+ addProjectionMetrics: null
41888
41932
  };
41889
41933
  function createRenderStep(runNextFrame, stepName) {
41890
41934
  let thisFrame = /* @__PURE__ */ new Set();
@@ -42213,7 +42257,7 @@ function useMotionRef(visualState, visualElement, externalRef) {
42213
42257
  const camelToDash = (str) => str.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase();
42214
42258
  const optimizedAppearDataId = "framerAppearId";
42215
42259
  const optimizedAppearDataAttribute = "data-" + camelToDash(optimizedAppearDataId);
42216
- const { schedule: microtask } = createRenderBatcher(queueMicrotask, false);
42260
+ const { schedule: microtask, cancel: cancelMicrotask } = createRenderBatcher(queueMicrotask, false);
42217
42261
  const SwitchLayoutGroupContext = createContext({});
42218
42262
  function useVisualElement(Component2, visualState, props2, createVisualElement, ProjectionNodeConstructor) {
42219
42263
  var _a2, _b;
@@ -44608,7 +44652,7 @@ function findSpring({ duration = springDefaults.duration, bounce = springDefault
44608
44652
  envelope = (undampedFreq2) => {
44609
44653
  const a4 = Math.exp(-undampedFreq2 * duration);
44610
44654
  const b3 = (undampedFreq2 - velocity) * duration + 1;
44611
- return -1e-3 + a4 * b3;
44655
+ return -safeMin + a4 * b3;
44612
44656
  };
44613
44657
  derivative = (undampedFreq2) => {
44614
44658
  const a4 = Math.exp(-undampedFreq2 * duration);
@@ -46957,22 +47001,22 @@ const borders = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"];
46957
47001
  const numBorders = borders.length;
46958
47002
  const asNumber = (value) => typeof value === "string" ? parseFloat(value) : value;
46959
47003
  const isPx = (value) => typeof value === "number" || px.test(value);
46960
- function mixValues(target, follow, lead, progress2, shouldCrossfadeOpacity, isOnlyMember) {
47004
+ function mixValues(target, follow, lead2, progress2, shouldCrossfadeOpacity, isOnlyMember) {
46961
47005
  if (shouldCrossfadeOpacity) {
46962
47006
  target.opacity = mixNumber$1(
46963
47007
  0,
46964
47008
  // TODO Reinstate this if only child
46965
- lead.opacity !== void 0 ? lead.opacity : 1,
47009
+ lead2.opacity !== void 0 ? lead2.opacity : 1,
46966
47010
  easeCrossfadeIn(progress2)
46967
47011
  );
46968
47012
  target.opacityExit = mixNumber$1(follow.opacity !== void 0 ? follow.opacity : 1, 0, easeCrossfadeOut(progress2));
46969
47013
  } else if (isOnlyMember) {
46970
- target.opacity = mixNumber$1(follow.opacity !== void 0 ? follow.opacity : 1, lead.opacity !== void 0 ? lead.opacity : 1, progress2);
47014
+ target.opacity = mixNumber$1(follow.opacity !== void 0 ? follow.opacity : 1, lead2.opacity !== void 0 ? lead2.opacity : 1, progress2);
46971
47015
  }
46972
47016
  for (let i3 = 0; i3 < numBorders; i3++) {
46973
47017
  const borderLabel = `border${borders[i3]}Radius`;
46974
47018
  let followRadius = getRadius(follow, borderLabel);
46975
- let leadRadius = getRadius(lead, borderLabel);
47019
+ let leadRadius = getRadius(lead2, borderLabel);
46976
47020
  if (followRadius === void 0 && leadRadius === void 0)
46977
47021
  continue;
46978
47022
  followRadius || (followRadius = 0);
@@ -46987,8 +47031,8 @@ function mixValues(target, follow, lead, progress2, shouldCrossfadeOpacity, isOn
46987
47031
  target[borderLabel] = leadRadius;
46988
47032
  }
46989
47033
  }
46990
- if (follow.rotate || lead.rotate) {
46991
- target.rotate = mixNumber$1(follow.rotate || 0, lead.rotate || 0, progress2);
47034
+ if (follow.rotate || lead2.rotate) {
47035
+ target.rotate = mixNumber$1(follow.rotate || 0, lead2.rotate || 0, progress2);
46992
47036
  }
46993
47037
  }
46994
47038
  function getRadius(values, radiusName) {
@@ -47666,11 +47710,11 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
47666
47710
  }
47667
47711
  resolveTargetDelta(forceRecalculation = false) {
47668
47712
  var _a2;
47669
- const lead = this.getLead();
47670
- this.isProjectionDirty || (this.isProjectionDirty = lead.isProjectionDirty);
47671
- this.isTransformDirty || (this.isTransformDirty = lead.isTransformDirty);
47672
- this.isSharedProjectionDirty || (this.isSharedProjectionDirty = lead.isSharedProjectionDirty);
47673
- const isShared = Boolean(this.resumingFrom) || this !== lead;
47713
+ const lead2 = this.getLead();
47714
+ this.isProjectionDirty || (this.isProjectionDirty = lead2.isProjectionDirty);
47715
+ this.isTransformDirty || (this.isTransformDirty = lead2.isTransformDirty);
47716
+ this.isSharedProjectionDirty || (this.isSharedProjectionDirty = lead2.isSharedProjectionDirty);
47717
+ const isShared = Boolean(this.resumingFrom) || this !== lead2;
47674
47718
  const canSkip = !(forceRecalculation || isShared && this.isSharedProjectionDirty || this.isProjectionDirty || ((_a2 = this.parent) === null || _a2 === void 0 ? void 0 : _a2.isProjectionDirty) || this.attemptToResolveRelativeTarget || this.root.updateBlockedByResize);
47675
47719
  if (canSkip)
47676
47720
  return;
@@ -47740,8 +47784,8 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
47740
47784
  }
47741
47785
  calcProjection() {
47742
47786
  var _a2;
47743
- const lead = this.getLead();
47744
- const isShared = Boolean(this.resumingFrom) || this !== lead;
47787
+ const lead2 = this.getLead();
47788
+ const isShared = Boolean(this.resumingFrom) || this !== lead2;
47745
47789
  let canSkip = true;
47746
47790
  if (this.isProjectionDirty || ((_a2 = this.parent) === null || _a2 === void 0 ? void 0 : _a2.isProjectionDirty)) {
47747
47791
  canSkip = false;
@@ -47765,11 +47809,11 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
47765
47809
  const prevTreeScaleX = this.treeScale.x;
47766
47810
  const prevTreeScaleY = this.treeScale.y;
47767
47811
  applyTreeDeltas(this.layoutCorrected, this.treeScale, this.path, isShared);
47768
- if (lead.layout && !lead.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1)) {
47769
- lead.target = lead.layout.layoutBox;
47770
- lead.targetWithTransforms = createBox();
47812
+ if (lead2.layout && !lead2.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1)) {
47813
+ lead2.target = lead2.layout.layoutBox;
47814
+ lead2.targetWithTransforms = createBox();
47771
47815
  }
47772
- const { target } = lead;
47816
+ const { target } = lead2;
47773
47817
  if (!target) {
47774
47818
  if (this.prevProjectionDelta) {
47775
47819
  this.createProjectionDeltas();
@@ -47904,17 +47948,17 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
47904
47948
  this.completeAnimation();
47905
47949
  }
47906
47950
  applyTransformsToTarget() {
47907
- const lead = this.getLead();
47908
- let { targetWithTransforms, target, layout: layout2, latestValues } = lead;
47951
+ const lead2 = this.getLead();
47952
+ let { targetWithTransforms, target, layout: layout2, latestValues } = lead2;
47909
47953
  if (!targetWithTransforms || !target || !layout2)
47910
47954
  return;
47911
- if (this !== lead && this.layout && layout2 && shouldAnimatePositionOnly(this.options.animationType, this.layout.layoutBox, layout2.layoutBox)) {
47955
+ if (this !== lead2 && this.layout && layout2 && shouldAnimatePositionOnly(this.options.animationType, this.layout.layoutBox, layout2.layoutBox)) {
47912
47956
  target = this.target || createBox();
47913
47957
  const xLength = calcLength(this.layout.layoutBox.x);
47914
- target.x.min = lead.target.x.min;
47958
+ target.x.min = lead2.target.x.min;
47915
47959
  target.x.max = target.x.min + xLength;
47916
47960
  const yLength = calcLength(this.layout.layoutBox.y);
47917
- target.y.min = lead.target.y.min;
47961
+ target.y.min = lead2.target.y.min;
47918
47962
  target.y.max = target.y.min + yLength;
47919
47963
  }
47920
47964
  copyBoxInto(targetWithTransforms, target);
@@ -48017,8 +48061,8 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
48017
48061
  styles2.transform = transformTemplate ? transformTemplate(this.latestValues, "") : "none";
48018
48062
  return styles2;
48019
48063
  }
48020
- const lead = this.getLead();
48021
- if (!this.projectionDelta || !this.layout || !lead.target) {
48064
+ const lead2 = this.getLead();
48065
+ if (!this.projectionDelta || !this.layout || !lead2.target) {
48022
48066
  const emptyStyles = {};
48023
48067
  if (this.options.layoutId) {
48024
48068
  emptyStyles.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1;
@@ -48030,7 +48074,7 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
48030
48074
  }
48031
48075
  return emptyStyles;
48032
48076
  }
48033
- const valuesToRender = lead.animationValues || lead.latestValues;
48077
+ const valuesToRender = lead2.animationValues || lead2.latestValues;
48034
48078
  this.applyTransformsToTarget();
48035
48079
  styles2.transform = buildProjectionTransform(this.projectionDeltaWithTransform, this.treeScale, valuesToRender);
48036
48080
  if (transformTemplate) {
@@ -48038,16 +48082,16 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
48038
48082
  }
48039
48083
  const { x: x3, y: y4 } = this.projectionDelta;
48040
48084
  styles2.transformOrigin = `${x3.origin * 100}% ${y4.origin * 100}% 0`;
48041
- if (lead.animationValues) {
48042
- styles2.opacity = lead === this ? (_b = (_a2 = valuesToRender.opacity) !== null && _a2 !== void 0 ? _a2 : this.latestValues.opacity) !== null && _b !== void 0 ? _b : 1 : this.preserveOpacity ? this.latestValues.opacity : valuesToRender.opacityExit;
48085
+ if (lead2.animationValues) {
48086
+ styles2.opacity = lead2 === this ? (_b = (_a2 = valuesToRender.opacity) !== null && _a2 !== void 0 ? _a2 : this.latestValues.opacity) !== null && _b !== void 0 ? _b : 1 : this.preserveOpacity ? this.latestValues.opacity : valuesToRender.opacityExit;
48043
48087
  } else {
48044
- styles2.opacity = lead === this ? valuesToRender.opacity !== void 0 ? valuesToRender.opacity : "" : valuesToRender.opacityExit !== void 0 ? valuesToRender.opacityExit : 0;
48088
+ styles2.opacity = lead2 === this ? valuesToRender.opacity !== void 0 ? valuesToRender.opacity : "" : valuesToRender.opacityExit !== void 0 ? valuesToRender.opacityExit : 0;
48045
48089
  }
48046
48090
  for (const key in scaleCorrectors) {
48047
48091
  if (valuesToRender[key] === void 0)
48048
48092
  continue;
48049
48093
  const { correct, applyTo, isCSSVariable } = scaleCorrectors[key];
48050
- const corrected = styles2.transform === "none" ? valuesToRender[key] : correct(valuesToRender[key], lead);
48094
+ const corrected = styles2.transform === "none" ? valuesToRender[key] : correct(valuesToRender[key], lead2);
48051
48095
  if (applyTo) {
48052
48096
  const num = applyTo.length;
48053
48097
  for (let i3 = 0; i3 < num; i3++) {
@@ -48062,7 +48106,7 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
48062
48106
  }
48063
48107
  }
48064
48108
  if (this.options.layoutId) {
48065
- styles2.pointerEvents = lead === this ? resolveMotionValue(styleProp === null || styleProp === void 0 ? void 0 : styleProp.pointerEvents) || "" : "none";
48109
+ styles2.pointerEvents = lead2 === this ? resolveMotionValue(styleProp === null || styleProp === void 0 ? void 0 : styleProp.pointerEvents) || "" : "none";
48066
48110
  }
48067
48111
  return styles2;
48068
48112
  }
@@ -50149,6 +50193,8 @@ const IconDefinitions = {
50149
50193
  const styles$7 = {
50150
50194
  title: "text-3xl mb-8",
50151
50195
  grid: "grid grid-cols-2 gap-6",
50196
+ 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",
50197
+ cardDisabled: "opacity-60 cursor-not-allowed hover:border-gray-200",
50152
50198
  container: "relative p-6 rounded-lg",
50153
50199
  iconWrapper: "mb-4 flex items-center justify-center text-primary",
50154
50200
  cardTitle: "text-lg font-medium mb-2 text-primary",
@@ -50232,6 +50278,7 @@ const secondary$1 = "reach-styles-module__secondary___VQ4iH";
50232
50278
  const destructive$1 = "reach-styles-module__destructive___RLaRD";
50233
50279
  const outline$1 = "reach-styles-module__outline___L2VtW";
50234
50280
  const google = "reach-styles-module__google___HcEij";
50281
+ const dark = "reach-styles-module__dark___729i-";
50235
50282
  const date = "reach-styles-module__date___-6BC4";
50236
50283
  const sizeDefault$1 = "reach-styles-module__sizeDefault___iGTp4";
50237
50284
  const sizeSm$1 = "reach-styles-module__sizeSm___6T2oK";
@@ -50253,6 +50300,7 @@ const segmentAllUsers = "reach-styles-module__segmentAllUsers___1aXpc";
50253
50300
  const segmentManaged = "reach-styles-module__segmentManaged___o0gOu";
50254
50301
  const segmentCustom = "reach-styles-module__segmentCustom___xc3lG";
50255
50302
  const beta = "reach-styles-module__beta___n9qPf";
50303
+ const pulse = "reach-styles-module__pulse___0hJq4";
50256
50304
  const styles$6 = {
50257
50305
  base: base$4,
50258
50306
  "default": "reach-styles-module__default___zeGU1",
@@ -50260,6 +50308,7 @@ const styles$6 = {
50260
50308
  destructive: destructive$1,
50261
50309
  outline: outline$1,
50262
50310
  google,
50311
+ dark,
50263
50312
  date,
50264
50313
  sizeDefault: sizeDefault$1,
50265
50314
  sizeSm: sizeSm$1,
@@ -50280,7 +50329,8 @@ const styles$6 = {
50280
50329
  segmentAllUsers,
50281
50330
  segmentManaged,
50282
50331
  segmentCustom,
50283
- beta
50332
+ beta,
50333
+ pulse
50284
50334
  };
50285
50335
  const badgeVariants = cva([styles$6.base], {
50286
50336
  variants: {
@@ -50430,6 +50480,17 @@ const minusIconInactive = "reach-styles-module__minusIconInactive___JtvVB";
50430
50480
  const label = "reach-styles-module__label___tiCMA";
50431
50481
  const labelActive = "reach-styles-module__labelActive___EXydD";
50432
50482
  const labelInactive = "reach-styles-module__labelInactive___g-J3r";
50483
+ const navigationContainer = "reach-styles-module__navigationContainer___1T1JL";
50484
+ const navigationButton = "reach-styles-module__navigationButton___9LW7I";
50485
+ const sidebarContainer = "reach-styles-module__sidebarContainer___Yqwnv";
50486
+ const sidebarNav = "reach-styles-module__sidebarNav___vGCaT";
50487
+ const stepItem = "reach-styles-module__stepItem___c497m";
50488
+ const stepItemActive = "reach-styles-module__stepItemActive___zQkts";
50489
+ const stepItemCompleted = "reach-styles-module__stepItemCompleted___TiD-u";
50490
+ const stepItemUpcoming = "reach-styles-module__stepItemUpcoming___Qu-vA";
50491
+ const contentContainer = "reach-styles-module__contentContainer___g6SCE";
50492
+ const contentArea = "reach-styles-module__contentArea___gczmB";
50493
+ const poweredByReachContainer = "reach-styles-module__poweredByReachContainer___GCwod";
50433
50494
  const styles$5 = {
50434
50495
  stepIndicatorContainer,
50435
50496
  iconContainer,
@@ -50439,7 +50500,18 @@ const styles$5 = {
50439
50500
  minusIconInactive,
50440
50501
  label,
50441
50502
  labelActive,
50442
- labelInactive
50503
+ labelInactive,
50504
+ navigationContainer,
50505
+ navigationButton,
50506
+ sidebarContainer,
50507
+ sidebarNav,
50508
+ stepItem,
50509
+ stepItemActive,
50510
+ stepItemCompleted,
50511
+ stepItemUpcoming,
50512
+ contentContainer,
50513
+ contentArea,
50514
+ poweredByReachContainer
50443
50515
  };
50444
50516
  const StepIndicator = ({
50445
50517
  label: label2,
@@ -50745,11 +50817,11 @@ function createHeader(table, column, options) {
50745
50817
  headerGroup: null,
50746
50818
  getLeafHeaders: () => {
50747
50819
  const leafHeaders = [];
50748
- const recurseHeader = (h4) => {
50749
- if (h4.subHeaders && h4.subHeaders.length) {
50750
- h4.subHeaders.map(recurseHeader);
50820
+ const recurseHeader = (h5) => {
50821
+ if (h5.subHeaders && h5.subHeaders.length) {
50822
+ h5.subHeaders.map(recurseHeader);
50751
50823
  }
50752
- leafHeaders.push(h4);
50824
+ leafHeaders.push(h5);
50753
50825
  };
50754
50826
  recurseHeader(header2);
50755
50827
  return leafHeaders;
@@ -55049,6 +55121,8 @@ const lightFormatters = {
55049
55121
  }
55050
55122
  };
55051
55123
  const dayPeriodEnum$1 = {
55124
+ am: "am",
55125
+ pm: "pm",
55052
55126
  midnight: "midnight",
55053
55127
  noon: "noon",
55054
55128
  morning: "morning",
@@ -55901,8 +55975,8 @@ function createDateColumn({
55901
55975
  header: () => /* @__PURE__ */ jsx(
55902
55976
  "div",
55903
55977
  {
55904
- className: `float-right h-8 flex items-center justify-end px-3 font-medium whitespace-nowrap text-muted-foreground ${headerClassName}`.trim(),
55905
- children: /* @__PURE__ */ jsx("span", { children: header2 })
55978
+ className: `float-right h-8 flex items-center justify-end px-3 font-medium whitespace-nowrap text-muted-foreground ${headerClassName || ""}`.trim(),
55979
+ children: typeof header2 === "function" ? header2() : /* @__PURE__ */ jsx("span", { children: header2 })
55906
55980
  }
55907
55981
  ),
55908
55982
  cell: (info) => {
@@ -55955,7 +56029,7 @@ function createNumericColumn({
55955
56029
  header: () => /* @__PURE__ */ jsx(
55956
56030
  "div",
55957
56031
  {
55958
- className: `float-right h-8 flex items-center justify-end px-3 font-medium whitespace-nowrap text-muted-foreground ${headerClassName}`.trim(),
56032
+ className: `float-right h-8 flex items-center justify-end px-3 font-medium whitespace-nowrap text-muted-foreground ${headerClassName || ""}`.trim(),
55959
56033
  children: typeof header2 === "function" ? header2() : /* @__PURE__ */ jsx("span", { children: header2 })
55960
56034
  }
55961
56035
  ),
@@ -56002,7 +56076,7 @@ function createIconActionColumn({
56002
56076
  header: () => /* @__PURE__ */ jsx(
56003
56077
  "div",
56004
56078
  {
56005
- className: `float-right h-8 flex items-center justify-end px-3 font-medium whitespace-nowrap text-muted-foreground ${headerClassName}`.trim(),
56079
+ className: `float-right h-8 flex items-center justify-end px-3 font-medium whitespace-nowrap text-muted-foreground ${headerClassName || ""}`.trim(),
56006
56080
  children: typeof header2 === "function" ? header2() : /* @__PURE__ */ jsx("span", { children: header2 })
56007
56081
  }
56008
56082
  ),
@@ -56023,7 +56097,7 @@ function createIconActionColumn({
56023
56097
  onClick: () => onAction(rowOriginal),
56024
56098
  children: [
56025
56099
  /* @__PURE__ */ jsx(IconComponent, { className: "h-4 w-4" }),
56026
- /* @__PURE__ */ jsx("span", { children: text2 })
56100
+ text2 && /* @__PURE__ */ jsx("span", { children: text2 })
56027
56101
  ]
56028
56102
  }
56029
56103
  )
@@ -57449,7 +57523,9 @@ async function loadRouteModule(route, routeModulesCache) {
57449
57523
  );
57450
57524
  console.error(error2);
57451
57525
  if (window.__reactRouterContext && window.__reactRouterContext.isSpaMode && // @ts-expect-error
57452
- void 0) ;
57526
+ void 0) {
57527
+ throw error2;
57528
+ }
57453
57529
  window.location.reload();
57454
57530
  return new Promise(() => {
57455
57531
  });
@@ -62890,6 +62966,8 @@ var formatters$2 = {
62890
62966
  }
62891
62967
  };
62892
62968
  var dayPeriodEnum = {
62969
+ am: "am",
62970
+ pm: "pm",
62893
62971
  midnight: "midnight",
62894
62972
  noon: "noon",
62895
62973
  morning: "morning",
@@ -66495,7 +66573,7 @@ function useId$1(deterministicId) {
66495
66573
  useLayoutEffect2$1(() => {
66496
66574
  setId((reactId) => reactId ?? String(count++));
66497
66575
  }, [deterministicId]);
66498
- return deterministicId || (id2 ? `radix-${id2}` : "");
66576
+ return id2 ? `radix-${id2}` : "";
66499
66577
  }
66500
66578
  var NAME$3 = "Arrow";
66501
66579
  var Arrow$1 = React.forwardRef((props2, forwardedRef) => {
@@ -68886,11 +68964,11 @@ const isDirty = (x3) => x3.status === "dirty";
68886
68964
  const isValid = (x3) => x3.status === "valid";
68887
68965
  const isAsync = (x3) => typeof Promise !== "undefined" && x3 instanceof Promise;
68888
68966
  function __classPrivateFieldGet(receiver, state, kind, f2) {
68889
- if (typeof state === "function" ? receiver !== state || true : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
68967
+ if (typeof state === "function" ? receiver !== state || !f2 : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
68890
68968
  return state.get(receiver);
68891
68969
  }
68892
68970
  function __classPrivateFieldSet(receiver, state, value, kind, f2) {
68893
- if (typeof state === "function" ? receiver !== state || true : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
68971
+ if (typeof state === "function" ? receiver !== state || !f2 : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
68894
68972
  return state.set(receiver, value), value;
68895
68973
  }
68896
68974
  typeof SuppressedError === "function" ? SuppressedError : function(error2, suppressed, message2) {
@@ -73085,6 +73163,7 @@ function createStatusColumn(args) {
73085
73163
  const { onToggle, vsaasManaged, pillForStatus } = args;
73086
73164
  return createTextColumn({
73087
73165
  accessorKey: "status",
73166
+ id: "status",
73088
73167
  header: `Status`,
73089
73168
  enableSorting: false,
73090
73169
  enableHiding: false,
@@ -73130,6 +73209,7 @@ function createBroadcastActionColumn(args) {
73130
73209
  } = args;
73131
73210
  return createTextColumn({
73132
73211
  accessorKey: "status",
73212
+ id: "status",
73133
73213
  header: `Status`,
73134
73214
  enableSorting: false,
73135
73215
  enableHiding: false,
@@ -73216,6 +73296,9 @@ function createColumns(args) {
73216
73296
  createCountColumn("smsSent", "SMS Sent"),
73217
73297
  createModifiedColumn(),
73218
73298
  isBroadcast ? createBroadcastActionColumn({
73299
+ setUrl,
73300
+ onToggle,
73301
+ automationName,
73219
73302
  vsaasManaged,
73220
73303
  pillForStatus,
73221
73304
  onDuplicate,
@@ -73223,7 +73306,9 @@ function createColumns(args) {
73223
73306
  onEdit,
73224
73307
  onCancel
73225
73308
  }) : createStatusColumn({
73309
+ setUrl,
73226
73310
  onToggle,
73311
+ automationName,
73227
73312
  vsaasManaged,
73228
73313
  pillForStatus
73229
73314
  })
@@ -74176,12 +74261,28 @@ const AIContentPrompt = forwardRef(({ onGenerateContent, prompt, onPromptChange
74176
74261
  "prompt"
74177
74262
  ) }) });
74178
74263
  });
74264
+ const h1 = "reach-styles-module__h1___upBY0";
74179
74265
  const h22 = "reach-styles-module__h2___J-48W";
74180
74266
  const h32 = "reach-styles-module__h3___QiFj-";
74267
+ const h4 = "reach-styles-module__h4___LLom4";
74268
+ const paragraph = "reach-styles-module__paragraph___duktL";
74269
+ const blockquote = "reach-styles-module__blockquote___xPu0i";
74270
+ const inlineCode = "reach-styles-module__inlineCode___giBjH";
74271
+ const lead = "reach-styles-module__lead___PfoUz";
74272
+ const large = "reach-styles-module__large___SO9ZD";
74273
+ const muted = "reach-styles-module__muted___x0iIr";
74181
74274
  const minorText = "reach-styles-module__minorText___1TEN6";
74182
74275
  const styles$3 = {
74276
+ h1,
74183
74277
  h2: h22,
74184
74278
  h3: h32,
74279
+ h4,
74280
+ paragraph,
74281
+ blockquote,
74282
+ inlineCode,
74283
+ lead,
74284
+ large,
74285
+ muted,
74185
74286
  minorText
74186
74287
  };
74187
74288
  const H22 = ({ children, className }) => {
@@ -74301,7 +74402,9 @@ const CHECK_DELAYS = [0, 100, 500, 1e3, 2e3];
74301
74402
  const DEFAULT_EMAIL_PREVIEW_HEIGHT = 400;
74302
74403
  const EMAIL_PREVIEW_HEIGHT_CALCULATION_TIMEOUT = 5e3;
74303
74404
  const SMS_LIMITS = {
74304
- RECOMMENDED_LIMIT: 320
74405
+ ABSOLUTE_LIMIT: 1500,
74406
+ RECOMMENDED_LIMIT: 320,
74407
+ COMPANY_NAME_LIMIT: 100
74305
74408
  };
74306
74409
  const TitleAndResetButton = ({ title: title2, type }) => {
74307
74410
  const communicationGroup = useCurrentCommunicationGroup();
@@ -77589,7 +77692,7 @@ const OPT_PRESERVE_WS = 1, OPT_PRESERVE_WS_FULL = 2, OPT_OPEN_LEFT = 4;
77589
77692
  function wsOptionsFor(type, preserveWhitespace, base2) {
77590
77693
  if (preserveWhitespace != null)
77591
77694
  return (preserveWhitespace ? OPT_PRESERVE_WS : 0) | (preserveWhitespace === "full" ? OPT_PRESERVE_WS_FULL : 0);
77592
- return type && type.whitespace == "pre" ? OPT_PRESERVE_WS | OPT_PRESERVE_WS_FULL : base2 & -5;
77695
+ return type && type.whitespace == "pre" ? OPT_PRESERVE_WS | OPT_PRESERVE_WS_FULL : base2 & ~OPT_OPEN_LEFT;
77593
77696
  }
77594
77697
  class NodeContext {
77595
77698
  constructor(type, attrs, marks, solid, match2, options) {
@@ -80560,7 +80663,7 @@ class Transaction extends Transform {
80560
80663
  throw new RangeError("Selection passed to setSelection must point at the current document");
80561
80664
  this.curSelection = selection;
80562
80665
  this.curSelectionFor = this.steps.length;
80563
- this.updated = (this.updated | UPDATED_SEL) & -3;
80666
+ this.updated = (this.updated | UPDATED_SEL) & ~UPDATED_MARKS;
80564
80667
  this.storedMarks = null;
80565
80668
  return this;
80566
80669
  }
@@ -80611,7 +80714,7 @@ class Transaction extends Transform {
80611
80714
  */
80612
80715
  addStep(step, doc2) {
80613
80716
  super.addStep(step, doc2);
80614
- this.updated = this.updated & -3;
80717
+ this.updated = this.updated & ~UPDATED_MARKS;
80615
80718
  this.storedMarks = null;
80616
80719
  }
80617
80720
  /**
@@ -86634,58 +86737,6 @@ const liftEmptyBlock$1 = (state, dispatch2) => {
86634
86737
  dispatch2(state.tr.lift(range, target).scrollIntoView());
86635
86738
  return true;
86636
86739
  };
86637
- function splitBlockAs(splitNode) {
86638
- return (state, dispatch2) => {
86639
- let { $from, $to } = state.selection;
86640
- if (state.selection instanceof NodeSelection && state.selection.node.isBlock) {
86641
- if (!$from.parentOffset || !canSplit(state.doc, $from.pos))
86642
- return false;
86643
- if (dispatch2)
86644
- dispatch2(state.tr.split($from.pos).scrollIntoView());
86645
- return true;
86646
- }
86647
- if (!$from.depth)
86648
- return false;
86649
- let types = [];
86650
- let splitDepth, deflt, atEnd = false, atStart = false;
86651
- for (let d4 = $from.depth; ; d4--) {
86652
- let node = $from.node(d4);
86653
- if (node.isBlock) {
86654
- atEnd = $from.end(d4) == $from.pos + ($from.depth - d4);
86655
- atStart = $from.start(d4) == $from.pos - ($from.depth - d4);
86656
- deflt = defaultBlockAt$1($from.node(d4 - 1).contentMatchAt($from.indexAfter(d4 - 1)));
86657
- types.unshift(atEnd && deflt ? { type: deflt } : null);
86658
- splitDepth = d4;
86659
- break;
86660
- } else {
86661
- if (d4 == 1)
86662
- return false;
86663
- types.unshift(null);
86664
- }
86665
- }
86666
- let tr2 = state.tr;
86667
- if (state.selection instanceof TextSelection || state.selection instanceof AllSelection)
86668
- tr2.deleteSelection();
86669
- let splitPos = tr2.mapping.map($from.pos);
86670
- let can = canSplit(tr2.doc, splitPos, types.length, types);
86671
- if (!can) {
86672
- types[0] = deflt ? { type: deflt } : null;
86673
- can = canSplit(tr2.doc, splitPos, types.length, types);
86674
- }
86675
- if (!can)
86676
- return false;
86677
- tr2.split(splitPos, types.length, types);
86678
- if (!atEnd && atStart && $from.node(splitDepth).type != deflt) {
86679
- let first2 = tr2.mapping.map($from.before(splitDepth)), $first = tr2.doc.resolve(first2);
86680
- if (deflt && $from.node(splitDepth - 1).canReplaceWith($first.index(), $first.index() + 1, deflt))
86681
- tr2.setNodeMarkup(tr2.mapping.map($from.before(splitDepth)), deflt);
86682
- }
86683
- if (dispatch2)
86684
- dispatch2(tr2.scrollIntoView());
86685
- return true;
86686
- };
86687
- }
86688
- const splitBlock$1 = splitBlockAs();
86689
86740
  const selectParentNode$1 = (state, dispatch2) => {
86690
86741
  let { $from, to: to2 } = state.selection, pos;
86691
86742
  let same = $from.sharedDepth(to2);
@@ -86822,19 +86873,6 @@ function setBlockType(nodeType, attrs = null) {
86822
86873
  return true;
86823
86874
  };
86824
86875
  }
86825
- function chainCommands(...commands2) {
86826
- return function(state, dispatch2, view) {
86827
- for (let i3 = 0; i3 < commands2.length; i3++)
86828
- if (commands2[i3](state, dispatch2, view))
86829
- return true;
86830
- return false;
86831
- };
86832
- }
86833
- chainCommands(deleteSelection$1, joinBackward$1, selectNodeBackward$1);
86834
- chainCommands(deleteSelection$1, joinForward$1, selectNodeForward$1);
86835
- ({
86836
- "Enter": chainCommands(newlineInCode$1, createParagraphNear$1, liftEmptyBlock$1, splitBlock$1)
86837
- });
86838
86876
  typeof navigator != "undefined" ? /Mac|iP(hone|[oa]d)/.test(navigator.platform) : typeof os != "undefined" && os.platform ? os.platform() == "darwin" : false;
86839
86877
  function wrapInList$1(listType, attrs = null) {
86840
86878
  return function(state, dispatch2) {
@@ -91217,10 +91255,10 @@ function requireUseSyncExternalStoreShim_production_min() {
91217
91255
  if (hasRequiredUseSyncExternalStoreShim_production_min) return useSyncExternalStoreShim_production_min;
91218
91256
  hasRequiredUseSyncExternalStoreShim_production_min = 1;
91219
91257
  var e4 = React__default;
91220
- function h4(a4, b3) {
91258
+ function h5(a4, b3) {
91221
91259
  return a4 === b3 && (0 !== a4 || 1 / a4 === 1 / b3) || a4 !== a4 && b3 !== b3;
91222
91260
  }
91223
- var k3 = "function" === typeof Object.is ? Object.is : h4, l2 = e4.useState, m4 = e4.useEffect, n2 = e4.useLayoutEffect, p2 = e4.useDebugValue;
91261
+ var k3 = "function" === typeof Object.is ? Object.is : h5, l2 = e4.useState, m4 = e4.useEffect, n2 = e4.useLayoutEffect, p2 = e4.useDebugValue;
91224
91262
  function q3(a4, b3) {
91225
91263
  var d4 = b3(), f2 = l2({ inst: { value: d4, getSnapshot: b3 } }), c3 = f2[0].inst, g2 = f2[1];
91226
91264
  n2(function() {
@@ -91605,11 +91643,11 @@ var hasRequiredWithSelector_production_min;
91605
91643
  function requireWithSelector_production_min() {
91606
91644
  if (hasRequiredWithSelector_production_min) return withSelector_production_min;
91607
91645
  hasRequiredWithSelector_production_min = 1;
91608
- var h4 = React__default, n2 = shimExports$1;
91646
+ var h5 = React__default, n2 = shimExports$1;
91609
91647
  function p2(a4, b3) {
91610
91648
  return a4 === b3 && (0 !== a4 || 1 / a4 === 1 / b3) || a4 !== a4 && b3 !== b3;
91611
91649
  }
91612
- var q3 = "function" === typeof Object.is ? Object.is : p2, r2 = n2.useSyncExternalStore, t3 = h4.useRef, u3 = h4.useEffect, v2 = h4.useMemo, w3 = h4.useDebugValue;
91650
+ var q3 = "function" === typeof Object.is ? Object.is : p2, r2 = n2.useSyncExternalStore, t3 = h5.useRef, u3 = h5.useEffect, v2 = h5.useMemo, w3 = h5.useDebugValue;
91613
91651
  withSelector_production_min.useSyncExternalStoreWithSelector = function(a4, b3, e4, l2, g2) {
91614
91652
  var c3 = t3(null);
91615
91653
  if (null === c3.current) {
@@ -98373,8 +98411,15 @@ const ENGAGE_STRINGS = {
98373
98411
  BUSINESS_ONBOARDING_TITLE: "Business Settings",
98374
98412
  EMAIL_ONBOARDING_TITLE: "Email Channel Settings",
98375
98413
  SMS_ONBOARDING_TITLE: "Connect Your SMS",
98414
+ MERGE_FIELDS_ONBOARDING_TITLE: "Merge Fields Setup",
98415
+ // Form sections
98416
+ COMPANY_INFORMATION: "Company Information",
98417
+ CONTACT_INFORMATION: "Contact Information",
98376
98418
  // Form fields
98377
98419
  BUSINESS_NAME: "DBA legal name",
98420
+ BUSINESS_WEBSITE: "Business Website",
98421
+ STREET_ADDRESS: "Street Address",
98422
+ STREET_ADDRESS_PLACEHOLDER: "Street address",
98378
98423
  ZIP_CODE: "ZIP Code",
98379
98424
  ZIP_CODE_PLACEHOLDER: "ZIP code",
98380
98425
  SELECT_COUNTRY_PLACEHOLDER: "Select country",
@@ -98384,6 +98429,20 @@ const ENGAGE_STRINGS = {
98384
98429
  LAST_NAME_PLACEHOLDER: "Last name",
98385
98430
  EMAIL_ADDRESS_PLACEHOLDER: "Email address",
98386
98431
  CONTACT_PHONE: "Contact Phone",
98432
+ BRAND_TAGLINE_PLACEHOLDER: "Your brand's tagline",
98433
+ BRAND_LOGO_ALT: "Brand logo preview",
98434
+ // Brand form fields
98435
+ BRAND_NAME_PLACEHOLDER: "Enter your brand name",
98436
+ BRAND_TONE_PLACEHOLDER: "Friendly, professional, casual...",
98437
+ BRAND_PERSONALITY_PLACEHOLDER: "Warm, caring, confident...",
98438
+ BRAND_VALUE_PLACEHOLDER: "Add a brand value",
98439
+ PRIMARY_COLOR_PLACEHOLDER: "hsl(var(--primary))",
98440
+ FOREGROUND_COLOR_PLACEHOLDER: "hsl(var(--foreground))",
98441
+ // Merge Fields form fields
98442
+ MERGE_FIELD_NAME_PLACEHOLDER: "Enter merge field name",
98443
+ MERGE_FIELD_DESCRIPTION_PLACEHOLDER: "Enter merge field description",
98444
+ MERGE_FIELD_TYPE_PLACEHOLDER: "Select field type",
98445
+ MERGE_FIELD_DEFAULT_VALUE_PLACEHOLDER: "Enter default value",
98387
98446
  // Actions
98388
98447
  AUTO_PARSE: "Auto Parse",
98389
98448
  COMPLETION_TITLE: "Completion"
@@ -99332,18 +99391,18 @@ const Checkbox = React.forwardRef(({ className, ...props2 }, ref) => /* @__PURE_
99332
99391
  Checkbox.displayName = Root$3.displayName;
99333
99392
  var U = 1, Y$1 = 0.9, H4 = 0.8, J = 0.17, p = 0.1, u2 = 0.999, $ = 0.9999;
99334
99393
  var k$1 = 0.99, m3 = /[\\\/_+.#"@\[\(\{&]/, B2 = /[\\\/_+.#"@\[\(\{&]/g, K$1 = /[\s-]/, X2 = /[\s-]/g;
99335
- function G$1(_2, C2, h4, P2, A2, f2, O3) {
99394
+ function G$1(_2, C2, h5, P2, A2, f2, O3) {
99336
99395
  if (f2 === C2.length) return A2 === _2.length ? U : k$1;
99337
99396
  var T3 = `${A2},${f2}`;
99338
99397
  if (O3[T3] !== void 0) return O3[T3];
99339
- for (var L3 = P2.charAt(f2), c3 = h4.indexOf(L3, A2), S4 = 0, E3, N2, R3, M4; c3 >= 0; ) E3 = G$1(_2, C2, h4, P2, c3 + 1, f2 + 1, O3), E3 > S4 && (c3 === A2 ? E3 *= U : m3.test(_2.charAt(c3 - 1)) ? (E3 *= H4, R3 = _2.slice(A2, c3 - 1).match(B2), R3 && A2 > 0 && (E3 *= Math.pow(u2, R3.length))) : K$1.test(_2.charAt(c3 - 1)) ? (E3 *= Y$1, M4 = _2.slice(A2, c3 - 1).match(X2), M4 && A2 > 0 && (E3 *= Math.pow(u2, M4.length))) : (E3 *= J, A2 > 0 && (E3 *= Math.pow(u2, c3 - A2))), _2.charAt(c3) !== C2.charAt(f2) && (E3 *= $)), (E3 < p && h4.charAt(c3 - 1) === P2.charAt(f2 + 1) || P2.charAt(f2 + 1) === P2.charAt(f2) && h4.charAt(c3 - 1) !== P2.charAt(f2)) && (N2 = G$1(_2, C2, h4, P2, c3 + 1, f2 + 2, O3), N2 * p > E3 && (E3 = N2 * p)), E3 > S4 && (S4 = E3), c3 = h4.indexOf(L3, c3 + 1);
99398
+ for (var L3 = P2.charAt(f2), c3 = h5.indexOf(L3, A2), S4 = 0, E3, N2, R3, M4; c3 >= 0; ) E3 = G$1(_2, C2, h5, P2, c3 + 1, f2 + 1, O3), E3 > S4 && (c3 === A2 ? E3 *= U : m3.test(_2.charAt(c3 - 1)) ? (E3 *= H4, R3 = _2.slice(A2, c3 - 1).match(B2), R3 && A2 > 0 && (E3 *= Math.pow(u2, R3.length))) : K$1.test(_2.charAt(c3 - 1)) ? (E3 *= Y$1, M4 = _2.slice(A2, c3 - 1).match(X2), M4 && A2 > 0 && (E3 *= Math.pow(u2, M4.length))) : (E3 *= J, A2 > 0 && (E3 *= Math.pow(u2, c3 - A2))), _2.charAt(c3) !== C2.charAt(f2) && (E3 *= $)), (E3 < p && h5.charAt(c3 - 1) === P2.charAt(f2 + 1) || P2.charAt(f2 + 1) === P2.charAt(f2) && h5.charAt(c3 - 1) !== P2.charAt(f2)) && (N2 = G$1(_2, C2, h5, P2, c3 + 1, f2 + 2, O3), N2 * p > E3 && (E3 = N2 * p)), E3 > S4 && (S4 = E3), c3 = h5.indexOf(L3, c3 + 1);
99340
99399
  return O3[T3] = S4, S4;
99341
99400
  }
99342
99401
  function D3(_2) {
99343
99402
  return _2.toLowerCase().replace(X2, " ");
99344
99403
  }
99345
- function W(_2, C2, h4) {
99346
- return _2 = h4 && h4.length > 0 ? `${_2 + " " + h4.join(" ")}` : _2, G$1(_2, C2, D3(_2), D3(C2), 0, 0, {});
99404
+ function W(_2, C2, h5) {
99405
+ return _2 = h5 && h5.length > 0 ? `${_2 + " " + h5.join(" ")}` : _2, G$1(_2, C2, D3(_2), D3(C2), 0, 0, {});
99347
99406
  }
99348
99407
  var shim = { exports: {} };
99349
99408
  var useSyncExternalStoreShim_production = {};
@@ -99492,12 +99551,12 @@ var me = React.forwardRef((r2, o2) => {
99492
99551
  M3(() => {
99493
99552
  if (l2 !== void 0) {
99494
99553
  let e4 = l2.trim();
99495
- t3.current.value = e4, h4.emit();
99554
+ t3.current.value = e4, h5.emit();
99496
99555
  }
99497
99556
  }, [l2]), M3(() => {
99498
99557
  R3(6, re2);
99499
99558
  }, []);
99500
- let h4 = React.useMemo(() => ({ subscribe: (e4) => (f2.current.add(e4), () => f2.current.delete(e4)), snapshot: () => t3.current, setState: (e4, s4, i3) => {
99559
+ let h5 = React.useMemo(() => ({ subscribe: (e4) => (f2.current.add(e4), () => f2.current.delete(e4)), snapshot: () => t3.current, setState: (e4, s4, i3) => {
99501
99560
  var a4, m4, g2;
99502
99561
  if (!Object.is(t3.current[e4], s4)) {
99503
99562
  if (t3.current[e4] = s4, e4 === "search") W2(), U2(), R3(1, z3);
@@ -99506,22 +99565,22 @@ var me = React.forwardRef((r2, o2) => {
99506
99565
  (g2 = (m4 = p2.current).onValueChange) == null || g2.call(m4, S4);
99507
99566
  return;
99508
99567
  }
99509
- h4.emit();
99568
+ h5.emit();
99510
99569
  }
99511
99570
  }, emit: () => {
99512
99571
  f2.current.forEach((e4) => e4());
99513
99572
  } }), []), q3 = React.useMemo(() => ({ value: (e4, s4, i3) => {
99514
99573
  var a4;
99515
99574
  s4 !== ((a4 = d4.current.get(e4)) == null ? void 0 : a4.value) && (d4.current.set(e4, { value: s4, keywords: i3 }), t3.current.filtered.items.set(e4, ne2(s4, i3)), R3(2, () => {
99516
- U2(), h4.emit();
99575
+ U2(), h5.emit();
99517
99576
  }));
99518
99577
  }, item: (e4, s4) => (u3.current.add(e4), s4 && (c3.current.has(s4) ? c3.current.get(s4).add(e4) : c3.current.set(s4, /* @__PURE__ */ new Set([e4]))), R3(3, () => {
99519
- W2(), U2(), t3.current.value || z3(), h4.emit();
99578
+ W2(), U2(), t3.current.value || z3(), h5.emit();
99520
99579
  }), () => {
99521
99580
  d4.current.delete(e4), u3.current.delete(e4), t3.current.filtered.items.delete(e4);
99522
99581
  let i3 = A2();
99523
99582
  R3(4, () => {
99524
- W2(), (i3 == null ? void 0 : i3.getAttribute("id")) === e4 && z3(), h4.emit();
99583
+ W2(), (i3 == null ? void 0 : i3.getAttribute("id")) === e4 && z3(), h5.emit();
99525
99584
  });
99526
99585
  }), group: (e4) => (c3.current.has(e4) || c3.current.set(e4, /* @__PURE__ */ new Set()), () => {
99527
99586
  d4.current.delete(e4), c3.current.delete(e4);
@@ -99557,7 +99616,7 @@ var me = React.forwardRef((r2, o2) => {
99557
99616
  }
99558
99617
  function z3() {
99559
99618
  let e4 = _2().find((i3) => i3.getAttribute("aria-disabled") !== "true"), s4 = e4 == null ? void 0 : e4.getAttribute(I2);
99560
- h4.setState("value", s4 || void 0);
99619
+ h5.setState("value", s4 || void 0);
99561
99620
  }
99562
99621
  function W2() {
99563
99622
  var s4, i3, a4, m4;
@@ -99592,17 +99651,17 @@ var me = React.forwardRef((r2, o2) => {
99592
99651
  }
99593
99652
  function J2(e4) {
99594
99653
  let i3 = _2()[e4];
99595
- i3 && h4.setState("value", i3.getAttribute(I2));
99654
+ i3 && h5.setState("value", i3.getAttribute(I2));
99596
99655
  }
99597
99656
  function X3(e4) {
99598
99657
  var g2;
99599
99658
  let s4 = A2(), i3 = _2(), a4 = i3.findIndex((S4) => S4 === s4), m4 = i3[a4 + e4];
99600
- (g2 = p2.current) != null && g2.loop && (m4 = a4 + e4 < 0 ? i3[i3.length - 1] : a4 + e4 === i3.length ? i3[0] : i3[a4 + e4]), m4 && h4.setState("value", m4.getAttribute(I2));
99659
+ (g2 = p2.current) != null && g2.loop && (m4 = a4 + e4 < 0 ? i3[i3.length - 1] : a4 + e4 === i3.length ? i3[0] : i3[a4 + e4]), m4 && h5.setState("value", m4.getAttribute(I2));
99601
99660
  }
99602
99661
  function oe2(e4) {
99603
99662
  let s4 = A2(), i3 = s4 == null ? void 0 : s4.closest(N), a4;
99604
99663
  for (; i3 && !a4; ) i3 = e4 > 0 ? Ie(i3, N) : Me(i3, N), a4 = i3 == null ? void 0 : i3.querySelector(le);
99605
- a4 ? h4.setState("value", a4.getAttribute(I2)) : X3(e4);
99664
+ a4 ? h5.setState("value", a4.getAttribute(I2)) : X3(e4);
99606
99665
  }
99607
99666
  let ie2 = () => J2(_2().length - 1), ae2 = (e4) => {
99608
99667
  e4.preventDefault(), e4.metaKey ? ie2() : e4.altKey ? oe2(1) : X3(1);
@@ -99648,7 +99707,7 @@ var me = React.forwardRef((r2, o2) => {
99648
99707
  }
99649
99708
  }
99650
99709
  }
99651
- } }, React.createElement("label", { "cmdk-label": "", htmlFor: q3.inputId, id: q3.labelId, style: Le }, v2), j(r2, (e4) => React.createElement(de.Provider, { value: h4 }, React.createElement(ue.Provider, { value: q3 }, e4))));
99710
+ } }, React.createElement("label", { "cmdk-label": "", htmlFor: q3.inputId, id: q3.labelId, style: Le }, v2), j(r2, (e4) => React.createElement(de.Provider, { value: h5 }, React.createElement(ue.Provider, { value: q3 }, e4))));
99652
99711
  }), ye = React.forwardRef((r2, o2) => {
99653
99712
  var F2, x3;
99654
99713
  let t3 = useId$3(), u3 = React.useRef(null), c3 = React.useContext(fe), d4 = K2(), f2 = pe(r2), p2 = (x3 = (F2 = f2.current) == null ? void 0 : F2.forceMount) != null ? x3 : c3 == null ? void 0 : c3.forceMount;
@@ -99661,8 +99720,8 @@ var me = React.forwardRef((r2, o2) => {
99661
99720
  if (!(!R3 || r2.disabled)) return R3.addEventListener(Y2, E3), () => R3.removeEventListener(Y2, E3);
99662
99721
  }, [y4, r2.onSelect, r2.disabled]);
99663
99722
  function E3() {
99664
- var R3, h4;
99665
- C2(), (h4 = (R3 = f2.current).onSelect) == null || h4.call(R3, v2.current);
99723
+ var R3, h5;
99724
+ C2(), (h5 = (R3 = f2.current).onSelect) == null || h5.call(R3, v2.current);
99666
99725
  }
99667
99726
  function C2() {
99668
99727
  b3.setState("value", v2.current, true);
@@ -102992,7 +103051,7 @@ var dayjs_min = { exports: {} };
102992
103051
  !function(t3, e4) {
102993
103052
  module.exports = e4();
102994
103053
  }(commonjsGlobal, function() {
102995
- var t3 = 1e3, e4 = 6e4, n2 = 36e5, r2 = "millisecond", i3 = "second", s4 = "minute", u3 = "hour", a4 = "day", o2 = "week", c3 = "month", f2 = "quarter", h4 = "year", d4 = "date", l2 = "Invalid Date", $2 = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y4 = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M4 = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t4) {
103054
+ var t3 = 1e3, e4 = 6e4, n2 = 36e5, r2 = "millisecond", i3 = "second", s4 = "minute", u3 = "hour", a4 = "day", o2 = "week", c3 = "month", f2 = "quarter", h5 = "year", d4 = "date", l2 = "Invalid Date", $2 = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y4 = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M4 = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t4) {
102996
103055
  var e5 = ["th", "st", "nd", "rd"], n3 = t4 % 100;
102997
103056
  return "[" + t4 + (e5[(n3 - 20) % 10] || e5[n3] || e5[0]) + "]";
102998
103057
  } }, m4 = function(t4, e5, n3) {
@@ -103008,7 +103067,7 @@ var dayjs_min = { exports: {} };
103008
103067
  }, a: function(t4) {
103009
103068
  return t4 < 0 ? Math.ceil(t4) || 0 : Math.floor(t4);
103010
103069
  }, p: function(t4) {
103011
- return { M: c3, y: h4, w: o2, d: a4, D: d4, h: u3, m: s4, s: i3, ms: r2, Q: f2 }[t4] || String(t4 || "").toLowerCase().replace(/s$/, "");
103070
+ return { M: c3, y: h5, w: o2, d: a4, D: d4, h: u3, m: s4, s: i3, ms: r2, Q: f2 }[t4] || String(t4 || "").toLowerCase().replace(/s$/, "");
103012
103071
  }, u: function(t4) {
103013
103072
  return void 0 === t4;
103014
103073
  } }, g2 = "en", D4 = {};
@@ -103084,7 +103143,7 @@ var dayjs_min = { exports: {} };
103084
103143
  return b3.w(n3.toDate()[t5].apply(n3.toDate("s"), (r3 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e6)), n3);
103085
103144
  }, y5 = this.$W, M6 = this.$M, m6 = this.$D, v3 = "set" + (this.$u ? "UTC" : "");
103086
103145
  switch (f3) {
103087
- case h4:
103146
+ case h5:
103088
103147
  return r3 ? l3(1, 0) : l3(31, 11);
103089
103148
  case c3:
103090
103149
  return r3 ? l3(1, M6) : l3(0, M6 + 1);
@@ -103106,8 +103165,8 @@ var dayjs_min = { exports: {} };
103106
103165
  }, m5.endOf = function(t4) {
103107
103166
  return this.startOf(t4, false);
103108
103167
  }, m5.$set = function(t4, e5) {
103109
- var n3, o3 = b3.p(t4), f3 = "set" + (this.$u ? "UTC" : ""), l3 = (n3 = {}, n3[a4] = f3 + "Date", n3[d4] = f3 + "Date", n3[c3] = f3 + "Month", n3[h4] = f3 + "FullYear", n3[u3] = f3 + "Hours", n3[s4] = f3 + "Minutes", n3[i3] = f3 + "Seconds", n3[r2] = f3 + "Milliseconds", n3)[o3], $3 = o3 === a4 ? this.$D + (e5 - this.$W) : e5;
103110
- if (o3 === c3 || o3 === h4) {
103168
+ var n3, o3 = b3.p(t4), f3 = "set" + (this.$u ? "UTC" : ""), l3 = (n3 = {}, n3[a4] = f3 + "Date", n3[d4] = f3 + "Date", n3[c3] = f3 + "Month", n3[h5] = f3 + "FullYear", n3[u3] = f3 + "Hours", n3[s4] = f3 + "Minutes", n3[i3] = f3 + "Seconds", n3[r2] = f3 + "Milliseconds", n3)[o3], $3 = o3 === a4 ? this.$D + (e5 - this.$W) : e5;
103169
+ if (o3 === c3 || o3 === h5) {
103111
103170
  var y5 = this.clone().set(d4, 1);
103112
103171
  y5.$d[l3]($3), y5.init(), this.$d = y5.set(d4, Math.min(this.$D, y5.daysInMonth())).$d;
103113
103172
  } else l3 && this.$d[l3]($3);
@@ -103124,7 +103183,7 @@ var dayjs_min = { exports: {} };
103124
103183
  return b3.w(e5.date(e5.date() + Math.round(t4 * r3)), l3);
103125
103184
  };
103126
103185
  if ($3 === c3) return this.set(c3, this.$M + r3);
103127
- if ($3 === h4) return this.set(h4, this.$y + r3);
103186
+ if ($3 === h5) return this.set(h5, this.$y + r3);
103128
103187
  if ($3 === a4) return y5(1);
103129
103188
  if ($3 === o2) return y5(7);
103130
103189
  var M6 = (d5 = {}, d5[s4] = e4, d5[u3] = n2, d5[i3] = t3, d5)[$3] || 1, m6 = this.$d.getTime() + r3 * M6;
@@ -103134,7 +103193,7 @@ var dayjs_min = { exports: {} };
103134
103193
  }, m5.format = function(t4) {
103135
103194
  var e5 = this, n3 = this.$locale();
103136
103195
  if (!this.isValid()) return n3.invalidDate || l2;
103137
- var r3 = t4 || "YYYY-MM-DDTHH:mm:ssZ", i4 = b3.z(this), s5 = this.$H, u4 = this.$m, a5 = this.$M, o3 = n3.weekdays, c4 = n3.months, f3 = n3.meridiem, h5 = function(t5, n4, i5, s6) {
103196
+ var r3 = t4 || "YYYY-MM-DDTHH:mm:ssZ", i4 = b3.z(this), s5 = this.$H, u4 = this.$m, a5 = this.$M, o3 = n3.weekdays, c4 = n3.months, f3 = n3.meridiem, h6 = function(t5, n4, i5, s6) {
103138
103197
  return t5 && (t5[n4] || t5(e5, r3)) || i5[n4].slice(0, s6);
103139
103198
  }, d5 = function(t5) {
103140
103199
  return b3.s(s5 % 12 || 12, t5, "0");
@@ -103154,9 +103213,9 @@ var dayjs_min = { exports: {} };
103154
103213
  case "MM":
103155
103214
  return b3.s(a5 + 1, 2, "0");
103156
103215
  case "MMM":
103157
- return h5(n3.monthsShort, a5, c4, 3);
103216
+ return h6(n3.monthsShort, a5, c4, 3);
103158
103217
  case "MMMM":
103159
- return h5(c4, a5);
103218
+ return h6(c4, a5);
103160
103219
  case "D":
103161
103220
  return e5.$D;
103162
103221
  case "DD":
@@ -103164,9 +103223,9 @@ var dayjs_min = { exports: {} };
103164
103223
  case "d":
103165
103224
  return String(e5.$W);
103166
103225
  case "dd":
103167
- return h5(n3.weekdaysMin, e5.$W, o3, 2);
103226
+ return h6(n3.weekdaysMin, e5.$W, o3, 2);
103168
103227
  case "ddd":
103169
- return h5(n3.weekdaysShort, e5.$W, o3, 3);
103228
+ return h6(n3.weekdaysShort, e5.$W, o3, 3);
103170
103229
  case "dddd":
103171
103230
  return o3[e5.$W];
103172
103231
  case "H":
@@ -103204,7 +103263,7 @@ var dayjs_min = { exports: {} };
103204
103263
  return b3.m(y5, m6);
103205
103264
  };
103206
103265
  switch (M6) {
103207
- case h4:
103266
+ case h5:
103208
103267
  $3 = D5() / 12;
103209
103268
  break;
103210
103269
  case c3:
@@ -103252,7 +103311,7 @@ var dayjs_min = { exports: {} };
103252
103311
  return this.$d.toUTCString();
103253
103312
  }, M5;
103254
103313
  }(), k3 = _2.prototype;
103255
- return O3.prototype = k3, [["$ms", r2], ["$s", i3], ["$m", s4], ["$H", u3], ["$W", a4], ["$M", c3], ["$y", h4], ["$D", d4]].forEach(function(t4) {
103314
+ return O3.prototype = k3, [["$ms", r2], ["$s", i3], ["$m", s4], ["$H", u3], ["$W", a4], ["$M", c3], ["$y", h5], ["$D", d4]].forEach(function(t4) {
103256
103315
  k3[t4[1]] = function(e5) {
103257
103316
  return this.$g(e5, t4[0], t4[1]);
103258
103317
  };
@@ -104959,7 +105018,8 @@ const ConditionRow = ({
104959
105018
  const metadata = getMetadataForField(condition.field) || {
104960
105019
  operators: [],
104961
105020
  type: JSONSchemaType.String,
104962
- options: void 0
105021
+ options: void 0,
105022
+ itemType: void 0
104963
105023
  };
104964
105024
  const operators = metadata.operators;
104965
105025
  const fieldType = metadata.type;
@@ -105949,15 +106009,27 @@ function SegmentBuilderDialog({
105949
106009
  }
105950
106010
  ) });
105951
106011
  }
106012
+ const reassuranceBanner = "reach-EstimatedMatchesView-module__reassuranceBanner___lsZbs";
106013
+ const reassuranceBannerText = "reach-EstimatedMatchesView-module__reassuranceBannerText___lzrQX";
106014
+ const reassuranceBannerTitle = "reach-EstimatedMatchesView-module__reassuranceBannerTitle___vJNIc";
105952
106015
  const learnMoreLink = "reach-EstimatedMatchesView-module__learnMoreLink___M-mr-";
105953
106016
  const reassuranceBannerAlternative = "reach-EstimatedMatchesView-module__reassuranceBannerAlternative___kBAuQ";
105954
106017
  const reassuranceBannerAlternativeText = "reach-EstimatedMatchesView-module__reassuranceBannerAlternativeText___Sifb-";
105955
106018
  const reassuranceBannerAlternativeTitle = "reach-EstimatedMatchesView-module__reassuranceBannerAlternativeTitle___rIfFG";
106019
+ const reassuranceBannerEnhanced = "reach-EstimatedMatchesView-module__reassuranceBannerEnhanced___3eY2G";
106020
+ const reassuranceBannerEnhancedText = "reach-EstimatedMatchesView-module__reassuranceBannerEnhancedText___IsBSu";
106021
+ const reassuranceBannerEnhancedTitle = "reach-EstimatedMatchesView-module__reassuranceBannerEnhancedTitle___ffoOU";
105956
106022
  const styles$1 = {
106023
+ reassuranceBanner,
106024
+ reassuranceBannerText,
106025
+ reassuranceBannerTitle,
105957
106026
  learnMoreLink,
105958
106027
  reassuranceBannerAlternative,
105959
106028
  reassuranceBannerAlternativeText,
105960
- reassuranceBannerAlternativeTitle
106029
+ reassuranceBannerAlternativeTitle,
106030
+ reassuranceBannerEnhanced,
106031
+ reassuranceBannerEnhancedText,
106032
+ reassuranceBannerEnhancedTitle
105961
106033
  };
105962
106034
  const TotalExplanationTooltip = () => {
105963
106035
  return /* @__PURE__ */ jsx(
@@ -106766,8 +106838,8 @@ const AutomationAudienceSelectorMain = ({ title: title2 = "Preview Audience" })
106766
106838
  };
106767
106839
  const canEditAudience = automation2?.status === AutomationStatus.DRAFT;
106768
106840
  return /* @__PURE__ */ jsxs(MainPageWrapper, { title: title2, children: [
106769
- isLoading || !segments || !initialStateSet ? /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(BasicLoader, { text: ["Fetching segments", "Finishing up"] }) }) : /* @__PURE__ */ jsxs("div", { className: "flex flex-col xl:flex-row gap-6 xl:gap-8 w-full pb-4 px-4 min-h-0", children: [
106770
- /* @__PURE__ */ jsxs("div", { className: "w-full xl:flex-1 xl:max-w-2xl min-h-0", children: [
106841
+ isLoading || !segments || !initialStateSet ? /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(BasicLoader, { text: ["Fetching segments", "Finishing up"] }) }) : /* @__PURE__ */ jsxs("div", { className: "flex gap-6 w-full pb-4 px-4 min-h-0", children: [
106842
+ /* @__PURE__ */ jsxs("div", { className: "w-1/2 min-h-0 flex flex-col gap-6", children: [
106771
106843
  /* @__PURE__ */ jsx(
106772
106844
  EstimatedMatchesView,
106773
106845
  {
@@ -106791,7 +106863,7 @@ const AutomationAudienceSelectorMain = ({ title: title2 = "Preview Audience" })
106791
106863
  animate: { opacity: 1, height: "auto" },
106792
106864
  exit: { opacity: 0, height: 0 },
106793
106865
  transition: { duration: 0.3, ease: "easeInOut" },
106794
- className: "w-full pt-4",
106866
+ className: "w-full",
106795
106867
  children: /* @__PURE__ */ jsx(
106796
106868
  SelectSegmentsContent,
106797
106869
  {
@@ -106814,7 +106886,7 @@ const AutomationAudienceSelectorMain = ({ title: title2 = "Preview Audience" })
106814
106886
  animate: { opacity: 1, height: "auto" },
106815
106887
  exit: { opacity: 0, height: 0 },
106816
106888
  transition: { duration: 0.3, ease: "easeInOut" },
106817
- className: "w-full pt-4",
106889
+ className: "w-full",
106818
106890
  children: /* @__PURE__ */ jsx(
106819
106891
  SelectIndividualUsersContent,
106820
106892
  {
@@ -106827,7 +106899,7 @@ const AutomationAudienceSelectorMain = ({ title: title2 = "Preview Audience" })
106827
106899
  }
106828
106900
  ) })
106829
106901
  ] }),
106830
- /* @__PURE__ */ jsx("div", { className: "w-full xl:flex-1 xl:min-w-0 min-h-0 flex flex-col max-h-full", children: /* @__PURE__ */ jsx(
106902
+ /* @__PURE__ */ jsx("div", { className: "w-1/2 min-h-0 flex flex-col", children: /* @__PURE__ */ jsx(
106831
106903
  RecipientsTable,
106832
106904
  {
106833
106905
  recipients: countResponse?.recipients || [],
@@ -110589,7 +110661,8 @@ const EngageSettingsProvider = ({
110589
110661
  const { navigation } = useWizardCore({
110590
110662
  config: {
110591
110663
  steps: SETTINGS_STEP_CONFIGS,
110592
- initialStep: ENGAGE_STEPS.BRAND
110664
+ initialStep: ENGAGE_STEPS.BRAND,
110665
+ mode: WIZARD_MODES.SETTINGS
110593
110666
  },
110594
110667
  onClose: () => setOpen(false)
110595
110668
  });
@@ -115972,9 +116045,9 @@ const AutomationAudienceSelector = () => {
115972
116045
  Icon: IconDefinitions.AudienceIcon,
115973
116046
  children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-0.5 flex-1", children: [
115974
116047
  /* @__PURE__ */ jsx(MinorText, { children: "Audience" }),
115975
- /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 flex-wrap", children: [
116048
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
115976
116049
  /* @__PURE__ */ jsx(AutomationFlowLabel, { copyText }),
115977
- showSegmentPills && /* @__PURE__ */ jsx("div", { className: "flex gap-1 flex-wrap", children: includeSegmentIds.map((id2) => {
116050
+ showSegmentPills && /* @__PURE__ */ jsx("div", { className: "flex gap-1", children: includeSegmentIds.map((id2) => {
115978
116051
  const segment2 = segments?.find((segment22) => segment22.id === id2);
115979
116052
  if (!segment2) return null;
115980
116053
  return /* @__PURE__ */ jsx(SegmentPill, { segmentName: segment2.name }, id2);