@appcues/web-sdk 7.8.0 → 7.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (18) hide show
  1. package/CHANGELOG.md +60 -0
  2. package/README.md +1 -1
  3. package/build/container.9b4caeae8c95b7e55917db3db9558a23e797772e.css +1 -0
  4. package/build/{index.CCkUXtsp.js → index.CjjO9fkV.js} +771 -784
  5. package/build/{index.CcKx_YAn.js → index.IZAOhXe4.js} +12 -12
  6. package/build/{index.npm.B2lQacr5.js → index.npm.C2mgLvsr.js} +1 -1
  7. package/build/index.npm.js +1 -1
  8. package/build/modal.9b4caeae8c95b7e55917db3db9558a23e797772e.css +1 -0
  9. package/build/{open-builder.C0B3IUtT.js → open-builder.BiBgluKT.js} +3634 -3482
  10. package/build/{satisfaction-survey.52175bcd669743890b973ef6e81a2996cf849c5e.css → satisfaction-survey.9b4caeae8c95b7e55917db3db9558a23e797772e.css} +1 -1
  11. package/package.json +26 -29
  12. package/build/container.52175bcd669743890b973ef6e81a2996cf849c5e.css +0 -1
  13. package/build/modal.52175bcd669743890b973ef6e81a2996cf849c5e.css +0 -1
  14. /package/build/{checklist.52175bcd669743890b973ef6e81a2996cf849c5e.css → checklist.9b4caeae8c95b7e55917db3db9558a23e797772e.css} +0 -0
  15. /package/build/{debugger.52175bcd669743890b973ef6e81a2996cf849c5e.css → debugger.9b4caeae8c95b7e55917db3db9558a23e797772e.css} +0 -0
  16. /package/build/{modal-step-legacy-render.52175bcd669743890b973ef6e81a2996cf849c5e.css → modal-step-legacy-render.9b4caeae8c95b7e55917db3db9558a23e797772e.css} +0 -0
  17. /package/build/{test-mode.52175bcd669743890b973ef6e81a2996cf849c5e.css → test-mode.9b4caeae8c95b7e55917db3db9558a23e797772e.css} +0 -0
  18. /package/build/{tooltip.52175bcd669743890b973ef6e81a2996cf849c5e.css → tooltip.9b4caeae8c95b7e55917db3db9558a23e797772e.css} +0 -0
@@ -1,4 +1,4 @@
1
- import { C as z, a as Un, A as Tt, M as Cd, b as _d, c as te, d as Wt, V as go, e as _r, f as Ke, g as Ut, B as mt, T as Wi, h as Id, i as Ad, j as vd, k as Vo, l as Pn, F as Y, G as Wo, m as Nl, E as on, n as bd, D as Go, o as wd, p as gi, L as De, S as Bs, q as jo, r as Ae, s as pn, t as qo, N as Dn, u as kl, v as Nd, w as yo, W as kd, x as si, y as Od, z as Cn, U as Ko, H as Rd, I as Ld, J as Yo, K as sn, O as So, P as yi, Q as ci, R as xd, X as Gi, Y as Ol, Z as Hn, _ as ji, $ as Rn, a0 as To, a1 as Vs, a2 as Mn, a3 as Pd, a4 as Dd } from "./index.npm.B2lQacr5.js";
1
+ import { C as z, a as Un, A as Tt, M as Cd, b as _d, c as te, d as Gt, V as go, e as _r, f as Ke, g as wt, B as mt, T as Wi, h as Id, i as Ad, j as vd, k as Vo, l as Pn, F as Y, G as Wo, m as Nl, E as cn, n as bd, D as Go, o as wd, p as yi, L as Fe, S as Bs, q as jo, r as Ie, s as jt, t as qo, N as Dn, u as kl, v as Nd, w as yo, W as kd, x as ci, y as Od, z as Cn, U as Ko, H as Rd, I as Ld, J as Yo, K as ln, O as So, P as Si, Q as li, R as xd, X as Gi, Y as Ol, Z as Hn, _ as ji, $ as Rn, a0 as To, a1 as Vs, a2 as Mn, a3 as Pd, a4 as Dd } from "./index.npm.C2mgLvsr.js";
2
2
  var Fd = Object.assign || function(e) {
3
3
  for (var t = 1; t < arguments.length; t++) {
4
4
  var n = arguments[t];
@@ -84,7 +84,7 @@ var M = {
84
84
  zo(n, r) && (t[r] = n[r]);
85
85
  }
86
86
  };
87
- function Si(e, t) {
87
+ function Ti(e, t) {
88
88
  var n = e.indexOf(t);
89
89
  n >= 0 && e.splice(n, 1);
90
90
  }
@@ -149,7 +149,7 @@ var Gs = function(t) {
149
149
  return function(n) {
150
150
  return t(Object.defineProperty(n, Pl, { value: !0 }));
151
151
  };
152
- }, Bl = /* @__PURE__ */ _n("IO"), li = "TAKE", Jo = "PUT", Vl = "ALL", Wl = "RACE", Gl = "CALL", jd = "CPS", Qo = "FORK", jl = "JOIN", ql = "CANCEL", Kl = "SELECT", Yl = "ACTION_CHANNEL", zl = "CANCELLED", Xl = "FLUSH", Jl = "GET_CONTEXT", qd = "SET_CONTEXT", Ql = `
152
+ }, Bl = /* @__PURE__ */ _n("IO"), ai = "TAKE", Jo = "PUT", Vl = "ALL", Wl = "RACE", Gl = "CALL", jd = "CPS", Qo = "FORK", jl = "JOIN", ql = "CANCEL", Kl = "SELECT", Yl = "ACTION_CHANNEL", zl = "CANCELLED", Xl = "FLUSH", Jl = "GET_CONTEXT", qd = "SET_CONTEXT", Ql = `
153
153
  (HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)`, et = function(t, n) {
154
154
  var r;
155
155
  return r = {}, r[Bl] = !0, r[t] = n, r;
@@ -159,14 +159,14 @@ var Gs = function(t) {
159
159
  function W() {
160
160
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "*";
161
161
  if (arguments.length && ge(arguments[0], M.notUndef, "take(patternOrChannel): patternOrChannel is undefined"), M.pattern(e))
162
- return et(li, { pattern: e });
162
+ return et(ai, { pattern: e });
163
163
  if (M.channel(e))
164
- return et(li, { channel: e });
164
+ return et(ai, { channel: e });
165
165
  throw new Error("take(patternOrChannel): argument " + String(e) + " is not valid channel or a valid pattern");
166
166
  }
167
167
  W.maybe = function() {
168
168
  var e = W.apply(void 0, arguments);
169
- return e[li].maybe = !0, e;
169
+ return e[ai].maybe = !0, e;
170
170
  };
171
171
  W.maybe;
172
172
  function g(e, t) {
@@ -205,7 +205,7 @@ function F(e) {
205
205
  n[r - 1] = arguments[r];
206
206
  return et(Qo, Zl("fork", e, n));
207
207
  }
208
- function wt(e) {
208
+ function Nt(e) {
209
209
  for (var t = arguments.length, n = Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++)
210
210
  n[r - 1] = arguments[r];
211
211
  return Kd(F.apply(void 0, [e].concat(n)));
@@ -238,7 +238,7 @@ function v(e) {
238
238
  function Yd(e, t) {
239
239
  return ge(e, M.notUndef, "actionChannel(pattern,...): argument pattern is undefined"), arguments.length > 1 && (ge(t, M.notUndef, "actionChannel(pattern, buffer): argument buffer is undefined"), ge(t, M.buffer, "actionChannel(pattern, buffer): argument " + t + " is not a valid buffer")), et(Yl, { pattern: e, buffer: t });
240
240
  }
241
- function Ti() {
241
+ function Ci() {
242
242
  return et(zl, {});
243
243
  }
244
244
  function zd(e) {
@@ -252,7 +252,7 @@ var We = function(t) {
252
252
  return n && n[Bl] && n[t];
253
253
  };
254
254
  }, Me = {
255
- take: /* @__PURE__ */ We(li),
255
+ take: /* @__PURE__ */ We(ai),
256
256
  put: /* @__PURE__ */ We(Jo),
257
257
  all: /* @__PURE__ */ We(Vl),
258
258
  race: /* @__PURE__ */ We(Wl),
@@ -267,7 +267,7 @@ var We = function(t) {
267
267
  flush: /* @__PURE__ */ We(Xl),
268
268
  getContext: /* @__PURE__ */ We(Jl),
269
269
  setContext: /* @__PURE__ */ We(qd)
270
- }, js = { done: !0, value: void 0 }, ti = {};
270
+ }, js = { done: !0, value: void 0 }, ni = {};
271
271
  function Jd(e) {
272
272
  return M.channel(e) ? "channel" : Array.isArray(e) ? String(e.map(function(t) {
273
273
  return String(t);
@@ -276,20 +276,20 @@ function Jd(e) {
276
276
  function Qd(e, t) {
277
277
  var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "iterator", r = void 0, i = t;
278
278
  function o(s, c) {
279
- if (i === ti)
279
+ if (i === ni)
280
280
  return js;
281
281
  if (c)
282
- throw i = ti, c;
282
+ throw i = ni, c;
283
283
  r && r(s);
284
284
  var l = e[i](), u = l[0], d = l[1], f = l[2];
285
- return i = u, r = f, i === ti ? js : d;
285
+ return i = u, r = f, i === ni ? js : d;
286
286
  }
287
287
  return Ao(o, function(s) {
288
288
  return o(null, s);
289
289
  }, n, !0);
290
290
  }
291
291
  var Zd = "Channel's Buffer overflow!", ea = 1, ef = 2, ta = 3, na = 4, tf = { isEmpty: Fl, put: Pe, take: Pe };
292
- function Wr() {
292
+ function Gr() {
293
293
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 10, t = arguments[1], n = new Array(e), r = 0, i = 0, o = 0, s = function(d) {
294
294
  n[i] = d, i = (i + 1) % e, r++;
295
295
  }, c = function() {
@@ -332,18 +332,18 @@ var Gn = {
332
332
  return tf;
333
333
  },
334
334
  fixed: function(t) {
335
- return Wr(t, ea);
335
+ return Gr(t, ea);
336
336
  },
337
337
  dropping: function(t) {
338
- return Wr(t, ef);
338
+ return Gr(t, ef);
339
339
  },
340
340
  sliding: function(t) {
341
- return Wr(t, ta);
341
+ return Gr(t, ta);
342
342
  },
343
343
  expanding: function(t) {
344
- return Wr(t, na);
344
+ return Gr(t, na);
345
345
  }
346
- }, ra = [], Ci = 0;
346
+ }, ra = [], _i = 0;
347
347
  function nf(e) {
348
348
  try {
349
349
  Zo(), e();
@@ -352,17 +352,17 @@ function nf(e) {
352
352
  }
353
353
  }
354
354
  function ia(e) {
355
- ra.push(e), Ci || (Zo(), sa());
355
+ ra.push(e), _i || (Zo(), sa());
356
356
  }
357
357
  function Zo() {
358
- Ci++;
358
+ _i++;
359
359
  }
360
360
  function oa() {
361
- Ci--;
361
+ _i--;
362
362
  }
363
363
  function sa() {
364
364
  oa();
365
- for (var e = void 0; !Ci && (e = ra.shift()) !== void 0; )
365
+ for (var e = void 0; !_i && (e = ra.shift()) !== void 0; )
366
366
  nf(e);
367
367
  }
368
368
  var rf = Object.assign || function(e) {
@@ -372,14 +372,14 @@ var rf = Object.assign || function(e) {
372
372
  Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
373
373
  }
374
374
  return e;
375
- }, ca = "@@redux-saga/CHANNEL_END", yr = { type: ca }, ni = function(t) {
375
+ }, ca = "@@redux-saga/CHANNEL_END", yr = { type: ca }, ri = function(t) {
376
376
  return t && t.type === ca;
377
377
  };
378
378
  function of() {
379
379
  var e = [];
380
380
  function t(r) {
381
381
  return e.push(r), function() {
382
- return Si(e, r);
382
+ return Ti(e, r);
383
383
  };
384
384
  }
385
385
  function n(r) {
@@ -414,7 +414,7 @@ function la() {
414
414
  }
415
415
  function o(l) {
416
416
  r(), ge(l, M.func, "channel.take's callback must be a function"), t && e.isEmpty() ? l(yr) : e.isEmpty() ? (n.push(l), l.cancel = function() {
417
- return Si(n, l);
417
+ return Ti(n, l);
418
418
  }) : l(e.take());
419
419
  }
420
420
  function s(l) {
@@ -445,13 +445,13 @@ function la() {
445
445
  }
446
446
  };
447
447
  }
448
- function Nr(e) {
448
+ function kr(e) {
449
449
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Gn.none(), n = arguments[2];
450
450
  arguments.length > 2 && ge(n, M.func, "Invalid match function passed to eventChannel");
451
451
  var r = la(t), i = function() {
452
452
  r.__closed__ || (o && o(), r.close());
453
453
  }, o = e(function(s) {
454
- if (ni(s)) {
454
+ if (ri(s)) {
455
455
  i();
456
456
  return;
457
457
  }
@@ -466,7 +466,7 @@ function Nr(e) {
466
466
  };
467
467
  }
468
468
  function lf(e) {
469
- var t = Nr(function(n) {
469
+ var t = kr(function(n) {
470
470
  return e(function(r) {
471
471
  if (r[Pl]) {
472
472
  n(r);
@@ -496,7 +496,7 @@ function af(e, t) {
496
496
  return ["q2", o, l];
497
497
  },
498
498
  q2: function() {
499
- return c === yr ? [ti] : ["q1", s(c)];
499
+ return c === yr ? [ni] : ["q1", s(c)];
500
500
  }
501
501
  }, "q1", "takeEvery(" + Jd(e) + ", " + t.name + ")");
502
502
  }
@@ -557,7 +557,7 @@ function lt(e, t) {
557
557
  const jn = (e) => e && e.type === z.JOURNEY, qn = P((e) => jn(e) ? e.attributes.steps : { [e.id]: e }, {}), ua = P((e) => jn(e) ? Object.keys(qn(e)).length : 1, 0), An = P((e) => {
558
558
  const t = e.attributes;
559
559
  return t.children || t.steps || t.hotspots || t.annotations;
560
- }, []), hn = P((e, t) => {
560
+ }, []), mn = P((e, t) => {
561
561
  let n = -1;
562
562
  return An(e).forEach((r, i) => {
563
563
  r.id === t && (n = i);
@@ -574,12 +574,12 @@ const jn = (e) => e && e.type === z.JOURNEY, qn = P((e) => jn(e) ? e.attributes.
574
574
  ), fa = P((e, t) => {
575
575
  const n = vo(e, t);
576
576
  return e.type === z.HOTSPOTS && Kn(e) && n.ui_conditions && n.ui_conditions.next && n.ui_conditions.next.type === Un.WAIT_FOR_MOUSE_EVENT;
577
- }, !1), kr = P((e) => e.type === z.ACTION && e.attributes.action_type === Tt.REDIRECT, !1), nn = P((e) => e.type === z.ACTION && e.attributes.action_type === Tt.WAIT_FOR_PAGE, !1), ff = P(
577
+ }, !1), Or = P((e) => e.type === z.ACTION && e.attributes.action_type === Tt.REDIRECT, !1), on = P((e) => e.type === z.ACTION && e.attributes.action_type === Tt.WAIT_FOR_PAGE, !1), ff = P(
578
578
  (e) => e.type === z.ACTION,
579
579
  !1
580
580
  ), Ln = P(
581
581
  (e) => e.type !== z.SATISFACTION_SURVEY
582
- ), Pt = P((e, t) => {
582
+ ), Dt = P((e, t) => {
583
583
  if (jn(e)) {
584
584
  let n;
585
585
  const r = qn(e);
@@ -609,14 +609,14 @@ function bo(e = {}) {
609
609
  } = e, i = Object.keys(n || {}).length > 0 ? n : t;
610
610
  return ne.array(r) ? [i, ...r] : [i];
611
611
  }
612
- const mn = P((e) => e.currentContent.flowId), nt = P(
612
+ const En = P((e) => e.currentContent.flowId), nt = P(
613
613
  (e) => e.content[e.currentContent.flowId]
614
614
  ), ce = P((e) => e.currentContent.stepId), ha = P(
615
615
  (e) => e.previousActiveElement
616
616
  ), hf = P((e) => e.forceFocus, !0), ye = P((e) => ct(
617
617
  nt(e),
618
618
  ce(e)
619
- )), mf = P((e) => e.settings.styling, {}), dt = P((e) => e), Ef = P((e) => e.settings.accountId), Ht = P((e) => e.reporter), gf = P((e, t) => e.eventListeners[t], []), be = P((e) => e.user, {}), ma = P((e) => e.userIdentified, !1), yf = P((e) => ({ groupId: e.groupId, groupProps: e.groupProps }), !1), Sf = P(
619
+ )), mf = P((e) => e.settings.styling, {}), dt = P((e) => e), Ef = P((e) => e.settings.accountId), Mt = P((e) => e.reporter), gf = P((e, t) => e.eventListeners[t], []), be = P((e) => e.user, {}), ma = P((e) => e.userIdentified, !1), yf = P((e) => ({ groupId: e.groupId, groupProps: e.groupProps }), !1), Sf = P(
620
620
  (e) => e.settings.account.skipAutoProperties,
621
621
  !1
622
622
  ), Tf = P(
@@ -625,43 +625,43 @@ const mn = P((e) => e.currentContent.flowId), nt = P(
625
625
  ), Cf = P(
626
626
  (e) => e.settings.account.gates.responseFormatV2Enabled,
627
627
  !1
628
- ), kt = P((e) => e.session.id), Yn = P((e) => e.session, {}), _f = P((e) => e.settings, {}), ri = P((e, t) => e.tasks[t]), If = P(
628
+ ), Ot = P((e) => e.session.id), Yn = P((e) => e.session, {}), _f = P((e) => e.settings, {}), ii = P((e, t) => e.tasks[t]), If = P(
629
629
  (e, t) => e.pendingEvents[t],
630
630
  []
631
- ), es = (e) => e.lastCheckedForInitialContent || {}, Or = P((e) => e.content), Af = P((e) => e.orderedContent), ts = P(
632
- (e, t) => Or(e)[t]
633
- ), vf = P((e) => e.styles, {}), zn = P((e) => ye(e).type), Ve = P((e) => e.currentContent.status), Rr = P((e) => e.currentContent.state), bf = P(
631
+ ), es = (e) => e.lastCheckedForInitialContent || {}, Rr = P((e) => e.content), Af = P((e) => e.orderedContent), ts = P(
632
+ (e, t) => Rr(e)[t]
633
+ ), vf = P((e) => e.styles, {}), zn = P((e) => ye(e).type), Ve = P((e) => e.currentContent.status), Lr = P((e) => e.currentContent.state), bf = P(
634
634
  (e) => e.currentContent.shownUrl
635
635
  ), ns = P((e) => ye(e).attributes.style), Ea = P((e) => e.styles[ye(e).attributes.style]), wf = P(
636
636
  (e) => e.currentContent.eventChannel
637
637
  ), st = P(
638
- (e) => Rr(e).currentStepChildId
639
- ), jt = P((e, t) => hn(ye(e), t), -1), tt = P((e) => An(ye(e)), []), Nt = P(
638
+ (e) => Lr(e).currentStepChildId
639
+ ), Kt = P((e, t) => mn(ye(e), t), -1), tt = P((e) => An(ye(e)), []), kt = P(
640
640
  (e) => e.currentContent.state.children,
641
641
  {}
642
642
  ), Nf = P(
643
643
  (e) => Object.keys(e.currentContent.state.children).length,
644
644
  0
645
- ), _i = P(
645
+ ), Ii = P(
646
646
  (e, t) => tt(e)[t].id
647
647
  ), kf = P(
648
- (e) => Rr(e).isScrollingToAnnotation
648
+ (e) => Lr(e).isScrollingToAnnotation
649
649
  ), ga = P((e, t) => {
650
- const n = jt(e, t);
651
- return ne.defined(n) ? _i(e, n + 1) : !1;
650
+ const n = Kt(e, t);
651
+ return ne.defined(n) ? Ii(e, n + 1) : !1;
652
652
  }), rs = P((e, t) => {
653
- const n = jt(e, t);
654
- return ne.defined(n) ? _i(e, n - 1) : !1;
653
+ const n = Kt(e, t);
654
+ return ne.defined(n) ? Ii(e, n - 1) : !1;
655
655
  }), Of = P((e, t, n) => {
656
- const r = jt(e, t), i = jt(e, n), o = Math.min(r, i), s = Math.max(r, i);
656
+ const r = Kt(e, t), i = Kt(e, n), o = Math.min(r, i), s = Math.max(r, i);
657
657
  if (ne.defined(r) && ne.defined(i)) {
658
658
  const [, ...c] = tt(e).slice(o, s).map(({ id: l }) => l);
659
659
  return c;
660
660
  }
661
661
  return !1;
662
662
  }), ya = P(
663
- (e, t) => Nt(e)[t].activatedAt
664
- ), is = P((e, t) => ne.defined(ya(e, t)), !1), Ii = P(
663
+ (e, t) => kt(e)[t].activatedAt
664
+ ), is = P((e, t) => ne.defined(ya(e, t)), !1), Ai = P(
665
665
  (e) => e.reportedErrors.child,
666
666
  {}
667
667
  ), Bn = P((e) => e.currentContent.state.activeAnnotations, []), Sa = P((e) => e.transport.initialized, !1), Rf = P((e) => e.transport.details.socket), Xn = (e) => e.debugger || null, Ta = P((e) => Xn(e).viewState), Lf = P(
@@ -676,14 +676,14 @@ const mn = P((e) => e.currentContent.flowId), nt = P(
676
676
  ), Pf = P(
677
677
  (e) => Xn(e).childErrors,
678
678
  {}
679
- ), En = P((e) => e.checklists, []), gn = P((e, t) => lt(
680
- En(e),
679
+ ), gn = P((e) => e.checklists, []), yn = P((e, t) => lt(
680
+ gn(e),
681
681
  (n) => n.id === t
682
- ), {}), os = P((e, t) => En(e).filter((n) => n.status === t)), Df = P((e, t, n) => {
683
- const r = gn(e, t);
682
+ ), {}), os = P((e, t) => gn(e).filter((n) => n.status === t)), Df = P((e, t, n) => {
683
+ const r = yn(e, t);
684
684
  return lt(r.attributes.items, (i) => i.id === n);
685
685
  }), Ff = P((e, t) => lt(
686
- En(e),
686
+ gn(e),
687
687
  (n) => n.id === t
688
688
  ).status), Uf = P((e) => e.widget.history, {}), Hf = P((e) => e.widget.flows, []), Ia = P((e) => e.widget.selector, null), Mf = P(
689
689
  (e) => e.widget.position,
@@ -708,7 +708,7 @@ function Yf(e, t, n) {
708
708
  return document.createElementNS(e, t, n);
709
709
  }
710
710
  function zf() {
711
- return cn(document.createDocumentFragment());
711
+ return an(document.createDocumentFragment());
712
712
  }
713
713
  function Xf(e) {
714
714
  return document.createTextNode(e);
@@ -717,32 +717,32 @@ function Jf(e) {
717
717
  return document.createComment(e);
718
718
  }
719
719
  function Qf(e, t, n) {
720
- if (Lt(e)) {
720
+ if (xt(e)) {
721
721
  let r = e;
722
- for (; r && Lt(r); )
723
- r = cn(r).parent;
722
+ for (; r && xt(r); )
723
+ r = an(r).parent;
724
724
  e = r ?? e;
725
725
  }
726
- Lt(t) && (t = cn(t, e)), n && Lt(n) && (n = cn(n).firstChildNode), e.insertBefore(t, n);
726
+ xt(t) && (t = an(t, e)), n && xt(n) && (n = an(n).firstChildNode), e.insertBefore(t, n);
727
727
  }
728
728
  function Zf(e, t) {
729
729
  e.removeChild(t);
730
730
  }
731
731
  function ep(e, t) {
732
- Lt(t) && (t = cn(t, e)), e.appendChild(t);
732
+ xt(t) && (t = an(t, e)), e.appendChild(t);
733
733
  }
734
734
  function va(e) {
735
- if (Lt(e)) {
736
- for (; e && Lt(e); )
737
- e = cn(e).parent;
735
+ if (xt(e)) {
736
+ for (; e && xt(e); )
737
+ e = an(e).parent;
738
738
  return e ?? null;
739
739
  }
740
740
  return e.parentNode;
741
741
  }
742
742
  function tp(e) {
743
743
  var t;
744
- if (Lt(e)) {
745
- const n = cn(e), r = va(n);
744
+ if (xt(e)) {
745
+ const n = an(e), r = va(n);
746
746
  if (r && n.lastChildNode) {
747
747
  const i = Array.from(r.childNodes), o = i.indexOf(n.lastChildNode);
748
748
  return (t = i[o + 1]) !== null && t !== void 0 ? t : null;
@@ -769,10 +769,10 @@ function sp(e) {
769
769
  function cp(e) {
770
770
  return e.nodeType === 8;
771
771
  }
772
- function Lt(e) {
772
+ function xt(e) {
773
773
  return e.nodeType === 11;
774
774
  }
775
- function cn(e, t) {
775
+ function an(e, t) {
776
776
  var n, r, i;
777
777
  const o = e;
778
778
  return (n = o.parent) !== null && n !== void 0 || (o.parent = t ?? null), (r = o.firstChildNode) !== null && r !== void 0 || (o.firstChildNode = e.firstChild), (i = o.lastChildNode) !== null && i !== void 0 || (o.lastChildNode = e.lastChild), o;
@@ -794,14 +794,14 @@ const ss = {
794
794
  isElement: op,
795
795
  isText: sp,
796
796
  isComment: cp,
797
- isDocumentFragment: Lt
797
+ isDocumentFragment: xt
798
798
  };
799
799
  function $e(e, t, n, r, i) {
800
800
  const o = t === void 0 ? void 0 : t.key;
801
801
  return { sel: e, data: t, children: n, text: r, elm: i, key: o };
802
802
  }
803
803
  const Vn = Array.isArray;
804
- function ln(e) {
804
+ function un(e) {
805
805
  return typeof e == "string" || typeof e == "number" || e instanceof String || e instanceof Number;
806
806
  }
807
807
  const qi = $e("", {}, [], void 0, void 0);
@@ -879,7 +879,7 @@ function Jn(e, t, n) {
879
879
  const q = R.indexOf("#"), G = R.indexOf(".", q), ue = q > 0 ? q : R.length, w = G > 0 ? G : R.length, J = q !== -1 || G !== -1 ? R.slice(0, Math.min(ue, w)) : R, de = O?.ns, pe = de === void 0 ? i.createElement(J, O) : i.createElementNS(de, J, O);
880
880
  for (h.elm = pe, ue < w && pe.setAttribute("id", R.slice(ue + 1, w)), G > 0 && pe.setAttribute("class", R.slice(w + 1).replace(/\./g, " ")), C = 0; C < r.create.length; ++C)
881
881
  r.create[C](qi, h);
882
- if (ln(h.text) && (!Vn(H) || H.length === 0) && i.appendChild(pe, i.createTextNode(h.text)), Vn(H))
882
+ if (un(h.text) && (!Vn(H) || H.length === 0) && i.appendChild(pe, i.createTextNode(h.text)), Vn(H))
883
883
  for (C = 0; C < H.length; ++C) {
884
884
  const Ce = H[C];
885
885
  Ce != null && i.appendChild(pe, l(Ce, m));
@@ -965,55 +965,55 @@ function Jn(e, t, n) {
965
965
  return T;
966
966
  };
967
967
  }
968
- function Ai(e, t, n) {
968
+ function vi(e, t, n) {
969
969
  if (e.ns = "http://www.w3.org/2000/svg", n !== "foreignObject" && t !== void 0)
970
970
  for (let r = 0; r < t.length; ++r) {
971
971
  const i = t[r];
972
972
  if (typeof i == "string")
973
973
  continue;
974
974
  const o = i.data;
975
- o !== void 0 && Ai(o, i.children, i.sel);
975
+ o !== void 0 && vi(o, i.children, i.sel);
976
976
  }
977
977
  }
978
- function ai(e, t, n) {
978
+ function ui(e, t, n) {
979
979
  let r = {}, i, o, s;
980
- if (n !== void 0 ? (t !== null && (r = t), Vn(n) ? i = n : ln(n) ? o = n.toString() : n && n.sel && (i = [n])) : t != null && (Vn(t) ? i = t : ln(t) ? o = t.toString() : t && t.sel ? i = [t] : r = t), i !== void 0)
980
+ if (n !== void 0 ? (t !== null && (r = t), Vn(n) ? i = n : un(n) ? o = n.toString() : n && n.sel && (i = [n])) : t != null && (Vn(t) ? i = t : un(t) ? o = t.toString() : t && t.sel ? i = [t] : r = t), i !== void 0)
981
981
  for (s = 0; s < i.length; ++s)
982
- ln(i[s]) && (i[s] = $e(void 0, void 0, void 0, i[s], void 0));
983
- return e.startsWith("svg") && (e.length === 3 || e[3] === "." || e[3] === "#") && Ai(r, i, e), $e(e, r, i, o, void 0);
982
+ un(i[s]) && (i[s] = $e(void 0, void 0, void 0, i[s], void 0));
983
+ return e.startsWith("svg") && (e.length === 3 || e[3] === "." || e[3] === "#") && vi(r, i, e), $e(e, r, i, o, void 0);
984
984
  }
985
985
  function pp(e) {
986
986
  let t, n;
987
- if (Vn(e) ? t = e : ln(t) ? n = e : t && t.sel && (t = [e]), t !== void 0)
987
+ if (Vn(e) ? t = e : un(t) ? n = e : t && t.sel && (t = [e]), t !== void 0)
988
988
  for (let r = 0; r < t.length; ++r)
989
- ln(t[r]) && (t[r] = $e(void 0, void 0, void 0, t[r], void 0));
989
+ un(t[r]) && (t[r] = $e(void 0, void 0, void 0, t[r], void 0));
990
990
  return $e(void 0, {}, t, n, void 0);
991
991
  }
992
- function ii(e, t) {
992
+ function oi(e, t) {
993
993
  var n;
994
994
  const r = (n = t.data) === null || n === void 0 ? void 0 : n.ns;
995
- e.data.fn = t.data.fn, e.data.args = t.data.args, t.data = e.data, t.children = e.children, t.text = e.text, t.elm = e.elm, r && Ai(t.data, t.children, t.sel);
995
+ e.data.fn = t.data.fn, e.data.args = t.data.args, t.data = e.data, t.children = e.children, t.text = e.text, t.elm = e.elm, r && vi(t.data, t.children, t.sel);
996
996
  }
997
997
  function hp(e) {
998
998
  const t = e.data, n = t.fn(...t.args);
999
- ii(n, e);
999
+ oi(n, e);
1000
1000
  }
1001
1001
  function mp(e, t) {
1002
1002
  let n;
1003
1003
  const r = e.data, i = t.data, o = r.args, s = i.args;
1004
1004
  if (r.fn !== i.fn || o.length !== s.length) {
1005
- ii(i.fn(...s), t);
1005
+ oi(i.fn(...s), t);
1006
1006
  return;
1007
1007
  }
1008
1008
  for (n = 0; n < s.length; ++n)
1009
1009
  if (o[n] !== s[n]) {
1010
- ii(i.fn(...s), t);
1010
+ oi(i.fn(...s), t);
1011
1011
  return;
1012
1012
  }
1013
- ii(e, t);
1013
+ oi(e, t);
1014
1014
  }
1015
1015
  const Ep = function(t, n, r, i) {
1016
- return i === void 0 && (i = r, r = n, n = void 0), ai(t, {
1016
+ return i === void 0 && (i = r, r = n, n = void 0), ui(t, {
1017
1017
  key: n,
1018
1018
  hook: { init: hp, prepatch: mp },
1019
1019
  fn: r,
@@ -1054,7 +1054,7 @@ function ba(e, t) {
1054
1054
  y = T[h].nodeName, y.startsWith("data-") ? d[_p(y)] = T[h].nodeValue || "" : y !== "id" && y !== "class" && (u[y] = T[h].nodeValue);
1055
1055
  for (h = 0, m = _.length; h < m; h++)
1056
1056
  p.push(ba(_[h], t));
1057
- return Object.keys(u).length > 0 && (f.attrs = u), Object.keys(d).length > 0 && (f.dataset = d), l.startsWith("svg") && (l.length === 3 || l[3] === "." || l[3] === "#") && Ai(f, p, l), $e(l, f, p, void 0, e);
1057
+ return Object.keys(u).length > 0 && (f.attrs = u), Object.keys(d).length > 0 && (f.dataset = d), l.startsWith("svg") && (l.length === 3 || l[3] === "." || l[3] === "#") && vi(f, p, l), $e(l, f, p, void 0, e);
1058
1058
  } else return r.isText(e) ? (i = r.getTextContent(e), $e(void 0, void 0, void 0, i, e)) : r.isComment(e) ? (i = r.getTextContent(e), $e("!", {}, [], i, e)) : $e("", {}, [], void 0, e);
1059
1059
  }
1060
1060
  const Ip = "http://www.w3.org/1999/xlink", Ap = "http://www.w3.org/2000/xmlns/", vp = "http://www.w3.org/XML/1998/namespace", qs = 58, bp = 120, wp = 109;
@@ -1235,7 +1235,7 @@ function cs(e, t) {
1235
1235
  }
1236
1236
  function Up(e, t, ...n) {
1237
1237
  const r = cs(n, []);
1238
- return typeof e == "function" ? e(t, r) : r.length === 1 && !r[0].sel && r[0].text ? ai(e, t, r[0].text) : ai(e, t, r);
1238
+ return typeof e == "function" ? e(t, r) : r.length === 1 && !r[0].sel && r[0].text ? ui(e, t, r[0].text) : ui(e, t, r);
1239
1239
  }
1240
1240
  const Hp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1241
1241
  __proto__: null,
@@ -1247,11 +1247,11 @@ const Hp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1247
1247
  datasetModule: Np,
1248
1248
  eventListenersModule: er,
1249
1249
  fragment: pp,
1250
- h: ai,
1250
+ h: ui,
1251
1251
  htmlDomApi: ss,
1252
1252
  init: Jn,
1253
1253
  jsx: Up,
1254
- primitive: ln,
1254
+ primitive: un,
1255
1255
  propsModule: tr,
1256
1256
  styleModule: nr,
1257
1257
  thunk: Ep,
@@ -1467,7 +1467,7 @@ function Bp() {
1467
1467
  }
1468
1468
  return ar;
1469
1469
  }
1470
- var vi = Bp(), zi = { exports: {} }, rc;
1470
+ var bi = Bp(), zi = { exports: {} }, rc;
1471
1471
  function Vp() {
1472
1472
  return rc || (rc = 1, (function(e) {
1473
1473
  function t(o) {
@@ -1488,8 +1488,8 @@ function Vp() {
1488
1488
  })(zi)), zi.exports;
1489
1489
  }
1490
1490
  var Wp = Vp();
1491
- const Gp = /* @__PURE__ */ ls(Wp), ic = "|shadow-root|", oc = "|iframe|", bi = (e, t = document) => e.includes(ic) || e.includes(oc) ? e.split(ic).flatMap((n) => n.split(oc)).reduce((n, r) => n === null ? [...t.querySelectorAll(r)] : n.flatMap((i) => i.shadowRoot ? [...i.shadowRoot.querySelectorAll(r)] : i.tagName === "IFRAME" ? [...i.contentDocument.querySelectorAll(r)] : []), null) ?? [] : [...t.querySelectorAll(e)];
1492
- function wi(e, t, n) {
1491
+ const Gp = /* @__PURE__ */ ls(Wp), ic = "|shadow-root|", oc = "|iframe|", wi = (e, t = document) => e.includes(ic) || e.includes(oc) ? e.split(ic).flatMap((n) => n.split(oc)).reduce((n, r) => n === null ? [...t.querySelectorAll(r)] : n.flatMap((i) => i.shadowRoot ? [...i.shadowRoot.querySelectorAll(r)] : i.tagName === "IFRAME" ? [...i.contentDocument.querySelectorAll(r)] : []), null) ?? [] : [...t.querySelectorAll(e)];
1492
+ function Ni(e, t, n) {
1493
1493
  const r = e.data || {};
1494
1494
  Object.assign(e, {
1495
1495
  data: Object.assign(r, {
@@ -1516,7 +1516,7 @@ function Ne(e, t) {
1516
1516
  }
1517
1517
  }
1518
1518
  function Ee(e, t, n) {
1519
- wi(e, "attrs", { [t]: n });
1519
+ Ni(e, "attrs", { [t]: n });
1520
1520
  }
1521
1521
  function Na(e, t) {
1522
1522
  if (!Object.prototype.hasOwnProperty.call(e.data, "attrs")) return;
@@ -1524,15 +1524,15 @@ function Na(e, t) {
1524
1524
  jp(e, "attrs", r);
1525
1525
  }
1526
1526
  function Et(e, t, n) {
1527
- wi(e, "on", { [t]: n });
1527
+ Ni(e, "on", { [t]: n });
1528
1528
  }
1529
1529
  function qp(e, t) {
1530
- wi(e, "class", { [t]: !0 });
1530
+ Ni(e, "class", { [t]: !0 });
1531
1531
  }
1532
1532
  function as(e, t, n) {
1533
- wi(e, "hook", { [t]: n });
1533
+ Ni(e, "hook", { [t]: n });
1534
1534
  }
1535
- function tn(e, t) {
1535
+ function rn(e, t) {
1536
1536
  try {
1537
1537
  return e.data.class[t] === !0;
1538
1538
  } catch {
@@ -1562,11 +1562,11 @@ function Ra(e, t) {
1562
1562
  window.Appcues?.show?.(o);
1563
1563
  })), !0;
1564
1564
  }
1565
- const La = (e) => e.tagName === "IFRAME", Ni = (e) => {
1565
+ const La = (e) => e.tagName === "IFRAME", ki = (e) => {
1566
1566
  const t = e.getRootNode(e), n = t.parentWindow || t.defaultView;
1567
1567
  return n && n !== window ? n.frameElement : null;
1568
1568
  };
1569
- function rn(e) {
1569
+ function sn(e) {
1570
1570
  return { error: !0, errorMessage: e };
1571
1571
  }
1572
1572
  function Xp() {
@@ -1605,7 +1605,7 @@ const Qp = (e) => {
1605
1605
  // would fail, because it is not a valid css selector.
1606
1606
  // * means the parentElement, which is the element
1607
1607
  // we are applying the querySelectorAll.
1608
- d ? bi(`* ${c}`, d) : []
1608
+ d ? wi(`* ${c}`, d) : []
1609
1609
  ) : [d];
1610
1610
  } catch {
1611
1611
  return [];
@@ -1614,23 +1614,23 @@ const Qp = (e) => {
1614
1614
  function Pa(e, t) {
1615
1615
  const n = typeof e == "string" && e || typeof e == "object" && e.selector;
1616
1616
  if (!n)
1617
- return rn("Missing selector.");
1617
+ return sn("Missing selector.");
1618
1618
  const r = Zp(n, t);
1619
- let i = r.length > 0 ? r : bi(n, t?.documentElement ?? t);
1619
+ let i = r.length > 0 ? r : wi(n, t?.documentElement ?? t);
1620
1620
  const o = e.text_filter || e.textFilter, s = !!o, c = typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "order_filter"), l = e.order_filter;
1621
1621
  if (s && o.length >= 0 && (i = Array.prototype.slice.call(i).filter((u) => u.innerText == null ? !1 : u.innerText.replace(/\r\n|\r|\n/g, " ").toLowerCase().trim() === o.toString().toLowerCase().trim())), c && l >= 0 && (i = i[l] ? [i[l]] : []), i.length === 0) {
1622
1622
  let u = "", d = "";
1623
- return s && (u = ` with text filter "${o}"`), c && (d = ` with order value ${l}`), rn(
1623
+ return s && (u = ` with text filter "${o}"`), c && (d = ` with order value ${l}`), sn(
1624
1624
  `Could not find element for selector "${n}"${s ? u : ""}${s && c ? " and" : ""}${c ? d : ""}.`
1625
1625
  );
1626
1626
  }
1627
- return i = [...i].filter((u) => !xa(u)), i.length > 1 ? rn(
1627
+ return i = [...i].filter((u) => !xa(u)), i.length > 1 ? sn(
1628
1628
  `Found ${i.length} elements for selector ${e.selector}.`
1629
- ) : i.length === 0 ? rn(`Could not find element for selector "${n}"`) : i[0];
1629
+ ) : i.length === 0 ? sn(`Could not find element for selector "${n}"`) : i[0];
1630
1630
  }
1631
1631
  function eh(e, t) {
1632
1632
  if (e.length === 0)
1633
- return rn("Missing selector.");
1633
+ return sn("Missing selector.");
1634
1634
  let n;
1635
1635
  for (const r in e)
1636
1636
  if (Object.prototype.hasOwnProperty.call(e, r)) {
@@ -1640,7 +1640,7 @@ function eh(e, t) {
1640
1640
  break;
1641
1641
  }
1642
1642
  }
1643
- return n || rn("Could not find an element for list of selectors.");
1643
+ return n || sn("Could not find an element for list of selectors.");
1644
1644
  }
1645
1645
  function us(e, t = window.document) {
1646
1646
  let n = e;
@@ -1670,7 +1670,7 @@ function sc(e) {
1670
1670
  function Da(e, t, n, r, i = {}) {
1671
1671
  const o = i;
1672
1672
  let s = t.zIndex;
1673
- const c = t.position, u = Ni(e) || e.parentElement, d = u ? r.getComputedStyle(u) : {};
1673
+ const c = t.position, u = ki(e) || e.parentElement, d = u ? r.getComputedStyle(u) : {};
1674
1674
  if (o.fixed || (o.fixed = c === "fixed" || c === "sticky"), o.absolute || (o.absolute = c === "absolute"), o.opacity = Number.parseFloat(ne.defined(o.opacity) ? o.opacity : 1) * Number.parseFloat(t.opacity), o.hiddenOverflow || (o.hiddenOverflow = !ds(e, t) && t.overflow === "hidden" && !o.fixed && !o.absolute), o.hasScrollableParent || (o.hasScrollableParent = fs(e, t.overflowY)), s !== "" && s !== "auto" && !Oo(c) && !sc(d) && (s = "auto"), (ne.undefined(o.zIndex) || s !== "" && s !== "auto" && (Oo(c) || sc(d))) && (o.zIndex = s), u && u !== n.body && u !== n.documentElement)
1675
1675
  return Da(u, d, n, r, o);
1676
1676
  if (/^\d+$/.test(o.zIndex)) {
@@ -1711,7 +1711,7 @@ function Fa(e, t, n = window.document) {
1711
1711
  if (i.error)
1712
1712
  return i;
1713
1713
  r = i;
1714
- const o = Ni(r), s = { element: r }, c = r.ownerDocument || document, l = c.defaultView || window, u = nh(r), { left: d, top: f, right: p, bottom: y } = r.getBoundingClientRect(), h = { left: d, top: f, right: p, bottom: y };
1714
+ const o = ki(r), s = { element: r }, c = r.ownerDocument || document, l = c.defaultView || window, u = nh(r), { left: d, top: f, right: p, bottom: y } = r.getBoundingClientRect(), h = { left: d, top: f, right: p, bottom: y };
1715
1715
  let m = { left: d, top: f, right: p, bottom: y };
1716
1716
  const T = l.getComputedStyle(r), { fixed: _, zIndex: S, opacity: A, hiddenOverflow: I, hasScrollableParent: C } = Da(r, T, c, l);
1717
1717
  if (!_ && !o) {
@@ -1730,7 +1730,7 @@ function Fa(e, t, n = window.document) {
1730
1730
  }
1731
1731
  }
1732
1732
  const O = (m.right < 0 || m.bottom < 0) && !C;
1733
- return !ds(r) || T.visibility === "hidden" || A === 0 || I || O ? rn("Targeted element is present but not visible.") : Object.assign(s, {
1733
+ return !ds(r) || T.visibility === "hidden" || A === 0 || I || O ? sn("Targeted element is present but not visible.") : Object.assign(s, {
1734
1734
  boundingRect: m,
1735
1735
  fixed: _,
1736
1736
  zIndex: S,
@@ -1779,7 +1779,7 @@ const cc = (e) => {
1779
1779
  const { host: r } = e.assignedSlot.parentNode;
1780
1780
  return r ?? e.assignedSlot.parentNode;
1781
1781
  }
1782
- const t = Ni(e);
1782
+ const t = ki(e);
1783
1783
  return t || (e.parentNode?.host?.tagName?.includes("-") ? e.parentNode?.host : e.parentElement);
1784
1784
  };
1785
1785
  function ch(e, t) {
@@ -1820,11 +1820,11 @@ function Ua(e, t, n, r) {
1820
1820
  return c += d - y, { el: l, scrollTop: y, visibleInContainer: h };
1821
1821
  });
1822
1822
  }
1823
- function Gr(e, t) {
1823
+ function jr(e, t) {
1824
1824
  return e && t ? Object.keys(e).every((n) => e[n] === t[n]) : !1;
1825
1825
  }
1826
1826
  function lh(e, t) {
1827
- return e.error || t.error ? e.error && t.error && e.errorMessage === t.errorMessage : e.fixed === t.fixed && e.zIndex === t.zIndex && e.element === t.element && Gr(e.boundingRect || {}, t.boundingRect || {}) && Gr(e.relativeBoundingRect || {}, t.relativeBoundingRect || {}) && Gr(e.viewport || {}, t.viewport || {}) && Gr(e.padding || {}, t.padding || {});
1827
+ return e.error || t.error ? e.error && t.error && e.errorMessage === t.errorMessage : e.fixed === t.fixed && e.zIndex === t.zIndex && e.element === t.element && jr(e.boundingRect || {}, t.boundingRect || {}) && jr(e.relativeBoundingRect || {}, t.relativeBoundingRect || {}) && jr(e.viewport || {}, t.viewport || {}) && jr(e.padding || {}, t.padding || {});
1828
1828
  }
1829
1829
  function Ro(e) {
1830
1830
  const t = e.ownerDocument;
@@ -1905,11 +1905,11 @@ function mh(e, t) {
1905
1905
  function Ar(e) {
1906
1906
  return (e.readyState === "interactive" || e.readyState === "complete") && e.body;
1907
1907
  }
1908
- function ki(e, t, n) {
1908
+ function Oi(e, t, n) {
1909
1909
  const r = t.lastIndexOf("/") + 1, i = t.slice(r);
1910
1910
  // we check if some of the loaded css files contains the name of the
1911
1911
  // file we are looking for
1912
- Array.prototype.some.call([...e.styleSheets], (o) => (o?.href ?? "").indexOf(i) !== -1) ? setTimeout(() => n(), 5) : setTimeout(() => ki(e, t, n), 5);
1912
+ Array.prototype.some.call([...e.styleSheets], (o) => (o?.href ?? "").indexOf(i) !== -1) ? setTimeout(() => n(), 5) : setTimeout(() => Oi(e, t, n), 5);
1913
1913
  }
1914
1914
  function Eh(e, t) {
1915
1915
  e.requestAnimationFrame(() => {
@@ -1940,7 +1940,7 @@ function Ha(e) {
1940
1940
  e.removeAttribute("tabindex");
1941
1941
  }, 500)) : e && e.focus({ preventScroll: !0 });
1942
1942
  }
1943
- function Oi(e) {
1943
+ function Ri(e) {
1944
1944
  return [
1945
1945
  ...e.querySelectorAll(
1946
1946
  'a, button, input, textarea, select, details,[tabindex]:not([tabindex="-1"])'
@@ -2146,14 +2146,14 @@ const Ah = (e) => {
2146
2146
  function ae() {
2147
2147
  return $e(void 0, {}, void 0, "");
2148
2148
  }
2149
- function Mt(e) {
2149
+ function $t(e) {
2150
2150
  if (window.AppcuesBundleSettings && window.AppcuesBundleSettings.GENERIC_BUNDLE_DOMAIN) {
2151
2151
  const { GENERIC_BUNDLE_DOMAIN: t } = window.AppcuesBundleSettings;
2152
2152
  return `${t}${e}`;
2153
2153
  }
2154
2154
  return `https://fast.appcues.com${e}`;
2155
2155
  }
2156
- const bh = "/generic/main/7.8.0/checklist.52175bcd669743890b973ef6e81a2996cf849c5e.css", wh = "CIdJsbqZD3OCb40Kncy+q/MzuR2VTtMLi6Unvcp2N9c=", Ji = Mt(bh), uc = 30, Nh = -300, kh = "//cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/";
2156
+ const bh = "/generic/main/7.12.0/checklist.9b4caeae8c95b7e55917db3db9558a23e797772e.css", wh = "sha256-+r+pTslgzdZXKHuCvF/3Xv/1BVTSc8g1KqjkV3G1icQ=", Ji = $t(bh), uc = 30, Nh = -300, kh = "//cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/";
2157
2157
  let ur = null, dr = null;
2158
2158
  const Oh = (e) => {
2159
2159
  const {
@@ -2264,18 +2264,18 @@ const Oh = (e) => {
2264
2264
  }, ke = 12, xe = 12, {
2265
2265
  beacon_vertical_offset: wn,
2266
2266
  beacon_horizontal_offset: Nn
2267
- } = r, _t = B ? "right" : "left", Br = c ? Nh : uc, pd = {
2267
+ } = r, _t = B ? "right" : "left", Vr = c ? Nh : uc, pd = {
2268
2268
  opacity: 0,
2269
2269
  delayed: { opacity: 100 },
2270
2270
  remove: { opacity: 0 },
2271
2271
  destroy: { opacity: 0 },
2272
2272
  bottom: q ? `${G.y}px` : `${uc + wn}px`,
2273
- [_t]: q ? `${G.x}px` : `${Br + Nn}px`
2273
+ [_t]: q ? `${G.x}px` : `${Vr + Nn}px`
2274
2274
  }, kn = (me) => {
2275
2275
  if (me) {
2276
- const Bt = me.getBoundingClientRect().height + de + ke + xe;
2277
- Math.ceil(Bt) !== l && window.requestAnimationFrame(
2278
- () => A(t, Bt)
2276
+ const Vt = me.getBoundingClientRect().height + de + ke + xe;
2277
+ Math.ceil(Vt) !== l && window.requestAnimationFrame(
2278
+ () => A(t, Vt)
2279
2279
  );
2280
2280
  } else
2281
2281
  window.requestAnimationFrame(
@@ -2283,25 +2283,25 @@ const Oh = (e) => {
2283
2283
  );
2284
2284
  }, hd = 18, md = (me) => {
2285
2285
  if (me) {
2286
- const Bt = me.getBoundingClientRect().width + hd;
2287
- Math.ceil(Bt) !== u && window.requestAnimationFrame(() => {
2288
- I(t, Bt);
2286
+ const Vt = me.getBoundingClientRect().width + hd;
2287
+ Math.ceil(Vt) !== u && window.requestAnimationFrame(() => {
2288
+ I(t, Vt);
2289
2289
  });
2290
2290
  }
2291
2291
  }, Us = (me) => {
2292
2292
  me.target.nodeName !== "APPCUES-EXPERIENCE-CONTAINER" && !q && p(t);
2293
- }, Vr = r.font, Hs = r.font_url, Ed = `
2293
+ }, Wr = r.font, Hs = r.font_url, Ed = `
2294
2294
  .checklist-main .title, .desc, .completed-caption, .sequential-label,
2295
2295
  .item a, .skip-link, .dismiss-text, .button-default {
2296
- font-family: ${Vr};
2296
+ font-family: ${Wr};
2297
2297
  }
2298
2298
 
2299
2299
  .checklist-main .checklist-congrats h3, p, .dismiss-link {
2300
- font-family: ${Vr};
2300
+ font-family: ${Wr};
2301
2301
  }
2302
2302
 
2303
2303
  .beacon .label, .badge {
2304
- font-family: ${Vr};
2304
+ font-family: ${Wr};
2305
2305
  }
2306
2306
  `, Ms = r.custom_background_color, gd = `
2307
2307
  .checklist-main,
@@ -2364,7 +2364,7 @@ const Oh = (e) => {
2364
2364
  T(t, Ji, !1);
2365
2365
  }
2366
2366
  }
2367
- ), Hs ? /* @__PURE__ */ a.html("link", { "attrs-href": Hs, "attrs-rel": "stylesheet" }) : /* @__PURE__ */ a.html(ae, null), /* @__PURE__ */ a.html("style", { "attrs-type": "text/css" }, X), /* @__PURE__ */ a.html("style", { "attrs-type": "text/css" }, Z), Vr ? /* @__PURE__ */ a.html("style", { "attrs-type": "text/css" }, Ed) : /* @__PURE__ */ a.html(ae, null), Ms ? /* @__PURE__ */ a.html("style", { "attrs-type": "text/css" }, gd) : /* @__PURE__ */ a.html(ae, null), cr ? /* @__PURE__ */ a.html("style", { "attrs-type": "text/css" }, yd) : /* @__PURE__ */ a.html(ae, null), $s ? /* @__PURE__ */ a.html("style", { "attrs-type": "text/css" }, Sd) : /* @__PURE__ */ a.html(ae, null), C === te.SHOWING ? /* @__PURE__ */ a.html("div", { "class-checklist": !0 }, r.type === "beacon" && !q ? /* @__PURE__ */ a.html(
2367
+ ), Hs ? /* @__PURE__ */ a.html("link", { "attrs-href": Hs, "attrs-rel": "stylesheet" }) : /* @__PURE__ */ a.html(ae, null), /* @__PURE__ */ a.html("style", { "attrs-type": "text/css" }, X), /* @__PURE__ */ a.html("style", { "attrs-type": "text/css" }, Z), Wr ? /* @__PURE__ */ a.html("style", { "attrs-type": "text/css" }, Ed) : /* @__PURE__ */ a.html(ae, null), Ms ? /* @__PURE__ */ a.html("style", { "attrs-type": "text/css" }, gd) : /* @__PURE__ */ a.html(ae, null), cr ? /* @__PURE__ */ a.html("style", { "attrs-type": "text/css" }, yd) : /* @__PURE__ */ a.html(ae, null), $s ? /* @__PURE__ */ a.html("style", { "attrs-type": "text/css" }, Sd) : /* @__PURE__ */ a.html(ae, null), C === te.SHOWING ? /* @__PURE__ */ a.html("div", { "class-checklist": !0 }, r.type === "beacon" && !q ? /* @__PURE__ */ a.html(
2368
2368
  Ah,
2369
2369
  {
2370
2370
  styles: r,
@@ -2452,7 +2452,7 @@ const Oh = (e) => {
2452
2452
  "class-checklist-body": !0,
2453
2453
  "class-show-confirm": S
2454
2454
  },
2455
- S ? /* @__PURE__ */ a.html(ae, null) : /* @__PURE__ */ a.html("ul", { "class-items": !0 }, o.map((me, Bt) => /* @__PURE__ */ a.html(
2455
+ S ? /* @__PURE__ */ a.html(ae, null) : /* @__PURE__ */ a.html("ul", { "class-items": !0 }, o.map((me, Vt) => /* @__PURE__ */ a.html(
2456
2456
  vh,
2457
2457
  {
2458
2458
  ...me,
@@ -2461,7 +2461,7 @@ const Oh = (e) => {
2461
2461
  onItemClicked: () => s && f(t, me.id),
2462
2462
  styles: r,
2463
2463
  isSequential: L,
2464
- itemNumberLabel: `${Bt + 1}`,
2464
+ itemNumberLabel: `${Vt + 1}`,
2465
2465
  isChecklistExpanded: s,
2466
2466
  setRef: (Td) => {
2467
2467
  ur = Td;
@@ -2587,8 +2587,8 @@ const Lh = (e) => {
2587
2587
  beaconWidth: r,
2588
2588
  frameHeight: o,
2589
2589
  items: n.items || [],
2590
- is_checklist_expanded: i === Wt.EXPANDED,
2591
- is_first_view: i === Wt.FIRSTVIEW,
2590
+ is_checklist_expanded: i === Gt.EXPANDED,
2591
+ is_first_view: i === Gt.FIRSTVIEW,
2592
2592
  text_tokens: n.text_tokens || {},
2593
2593
  name: n.name || "Untitled Checklist",
2594
2594
  shouldShowConfirmDismiss: s,
@@ -2603,7 +2603,7 @@ const Lh = (e) => {
2603
2603
  }
2604
2604
  );
2605
2605
  };
2606
- function Ri() {
2606
+ function Li() {
2607
2607
  return !1;
2608
2608
  }
2609
2609
  function xh(e) {
@@ -2626,7 +2626,7 @@ function Ph() {
2626
2626
  nr,
2627
2627
  Qn
2628
2628
  ],
2629
- vi.createApi({
2629
+ bi.createApi({
2630
2630
  clean: !0,
2631
2631
  trustedTypesPolicy: window.trustedTypes?.defaultPolicy
2632
2632
  })
@@ -2634,7 +2634,7 @@ function Ph() {
2634
2634
  let t = null;
2635
2635
  return function(r) {
2636
2636
  if (Ar(document)) {
2637
- const i = ye(r) || {}, { status: o } = r.currentContent || {}, s = Wf(r), c = i.type && ne.inArray(go, o), l = En(r), u = lt(l, (f) => go.includes(f.status)), d = Ri(r.settings);
2637
+ const i = ye(r) || {}, { status: o } = r.currentContent || {}, s = Wf(r), c = i.type && ne.inArray(go, o), l = gn(r), u = lt(l, (f) => go.includes(f.status)), d = Li(r.settings);
2638
2638
  if (c || u) {
2639
2639
  (!t || !Ro(t.elm)) && (t = xh(e));
2640
2640
  const f = r.views.callbacks[z.CHECKLIST];
@@ -2660,7 +2660,7 @@ function Ph() {
2660
2660
  }
2661
2661
  };
2662
2662
  }
2663
- var jr = {}, Qi, dc;
2663
+ var qr = {}, Qi, dc;
2664
2664
  function Dh() {
2665
2665
  return dc || (dc = 1, Qi = {
2666
2666
  area: !0,
@@ -2757,10 +2757,10 @@ function Hh() {
2757
2757
  }
2758
2758
  var mc;
2759
2759
  function Mh() {
2760
- if (mc) return jr;
2761
- mc = 1, Object.defineProperty(jr, "__esModule", {
2760
+ if (mc) return qr;
2761
+ mc = 1, Object.defineProperty(qr, "__esModule", {
2762
2762
  value: !0
2763
- }), jr.default = function(f) {
2763
+ }), qr.default = function(f) {
2764
2764
  var p = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, y = p.context || document;
2765
2765
  if (!f)
2766
2766
  return null;
@@ -2826,14 +2826,14 @@ function Mh() {
2826
2826
  return null;
2827
2827
  }
2828
2828
  }
2829
- return jr;
2829
+ return qr;
2830
2830
  }
2831
2831
  var to, Ec;
2832
2832
  function $h() {
2833
2833
  return Ec || (Ec = 1, to = Mh()), to;
2834
2834
  }
2835
2835
  var Bh = $h();
2836
- const Dt = /* @__PURE__ */ ls(Bh);
2836
+ const Ft = /* @__PURE__ */ ls(Bh);
2837
2837
  function Vh(e, t, n) {
2838
2838
  let r = 0, i = 0, o = e;
2839
2839
  if (o.offsetParent)
@@ -2974,7 +2974,7 @@ const zh = (e) => {
2974
2974
  left: `${d.left}px`
2975
2975
  } : {}
2976
2976
  },
2977
- i ? /* @__PURE__ */ a.html("div", { classNames: "appcues-widget-header" }, Dt(i)) : /* @__PURE__ */ a.html(ae, null),
2977
+ i ? /* @__PURE__ */ a.html("div", { classNames: "appcues-widget-header" }, Ft(i)) : /* @__PURE__ */ a.html(ae, null),
2978
2978
  /* @__PURE__ */ a.html(
2979
2979
  "div",
2980
2980
  {
@@ -3020,7 +3020,7 @@ const zh = (e) => {
3020
3020
  ))
3021
3021
  )
3022
3022
  ),
3023
- o ? /* @__PURE__ */ a.html("div", { classNames: "appcues-widget-footer" }, Dt(o)) : /* @__PURE__ */ a.html(ae, null)
3023
+ o ? /* @__PURE__ */ a.html("div", { classNames: "appcues-widget-footer" }, Ft(o)) : /* @__PURE__ */ a.html(ae, null)
3024
3024
  )
3025
3025
  );
3026
3026
  };
@@ -3077,7 +3077,7 @@ function Jh(e, t) {
3077
3077
  const n = document.createElement("div");
3078
3078
  t.classList.add("appcues-widget"), t.appendChild(n);
3079
3079
  const r = document.createElement("link");
3080
- return r.setAttribute("rel", "stylesheet"), r.setAttribute("type", "text/css"), r.setAttribute("href", Mt("/widget.css")), document.head.appendChild(r), e(n, /* @__PURE__ */ a.html("div", null));
3080
+ return r.setAttribute("rel", "stylesheet"), r.setAttribute("type", "text/css"), r.setAttribute("href", $t("/widget.css")), document.head.appendChild(r), e(n, /* @__PURE__ */ a.html("div", null));
3081
3081
  }
3082
3082
  function Qh(e) {
3083
3083
  const t = document.createElement("div");
@@ -3219,7 +3219,7 @@ const $ = Ke([
3219
3219
  "RUN_PREV_STEP_CHILD",
3220
3220
  "CLEAR_CONTENT_STATE_CHILD",
3221
3221
  "SET_FORCE_FOCUS"
3222
- ]), ui = Ke(["PREPARE_MODAL", "RESIZE_MODAL_CONTENT"]), Ie = Ke([
3222
+ ]), di = Ke(["PREPARE_MODAL", "RESIZE_MODAL_CONTENT"]), Ae = Ke([
3223
3223
  "PREPARE_SATISFACTION_SURVEY",
3224
3224
  "START_COLLAPSING_SATISFACTION_SURVEY",
3225
3225
  "COLLAPSE_SATISFACTION_SURVEY",
@@ -3248,7 +3248,7 @@ const $ = Ke([
3248
3248
  "GO_TO_STEP",
3249
3249
  "SET_IS_SCROLLING_TO_ANNOTATION",
3250
3250
  "CONFIRM_SCROLLING"
3251
- ]), Gt = Ke([
3251
+ ]), qt = Ke([
3252
3252
  "EXPAND_HOTSPOT",
3253
3253
  "PREPARE_HOTSPOTS",
3254
3254
  "SET_BEACON_SETTLED",
@@ -3303,7 +3303,7 @@ const $ = Ke([
3303
3303
  "SET_SESSION",
3304
3304
  "SESSION_STARTED",
3305
3305
  "START_SESSION"
3306
- ]), Li = Ke(["SET_COLLISION_MODE"]), di = Ke([
3306
+ ]), xi = Ke(["SET_COLLISION_MODE"]), fi = Ke([
3307
3307
  "LAUNCHPAD_SEARCH_RESPONSE",
3308
3308
  "LAUNCHPAD_SEARCH_ERROR"
3309
3309
  ]);
@@ -3352,7 +3352,7 @@ b(
3352
3352
  const cm = b($.PREPARE_CONTENT), lm = b($.CLEANUP_STEP), am = b($.START_CONTENT), um = b($.START_RESET), dm = b($.START_DEBUG), fm = b(
3353
3353
  $.START_FORM_SUBMISSION,
3354
3354
  (e, t, n, r) => ({ formId: e, fields: t, onSuccess: n, ignoreValidation: r })
3355
- ), Lr = b($.START_SHOW), pm = b($.STOP_TASKS), Ba = b(
3355
+ ), xr = b($.START_SHOW), pm = b($.STOP_TASKS), Ba = b(
3356
3356
  $.START_CHECK,
3357
3357
  (e, t, n) => ({ currentUrl: e, shouldOverrideCurrentFlow: t, requestId: n })
3358
3358
  ), ps = b(
@@ -3361,7 +3361,7 @@ const cm = b($.PREPARE_CONTENT), lm = b($.CLEANUP_STEP), am = b($.START_CONTENT)
3361
3361
  ), Va = b(
3362
3362
  $.START_STEP,
3363
3363
  (e, t, n = null) => ({ step: e, url: t, status: n })
3364
- ), xi = b($.CANCEL_ATTEMPTS), se = b(
3364
+ ), vr = b($.CANCEL_ATTEMPTS), se = b(
3365
3365
  $.SEND_LIFECYCLE_EVENT,
3366
3366
  (e, t = null) => ({ event: e, eventChannel: t })
3367
3367
  ), hm = b($.CLOSE_CHANNEL), mm = b(
@@ -3370,7 +3370,7 @@ const cm = b($.PREPARE_CONTENT), lm = b($.CLEANUP_STEP), am = b($.START_CONTENT)
3370
3370
  ), Em = b(U.INITIALIZE, (e) => ({ transport: e })), gm = b(U.IDENTIFY), Tc = b(
3371
3371
  U.SENT_REQUEST,
3372
3372
  (e, t) => ({ requestId: e, pageViewEvent: t })
3373
- ), Cc = b(U.CONFIGURE_TRANSPORT), xr = b(
3373
+ ), Cc = b(U.CONFIGURE_TRANSPORT), Pr = b(
3374
3374
  U.UPDATE_USER,
3375
3375
  (e, t) => ({ profile: e, merge: t })
3376
3376
  ), ym = b(U.RESET), hs = b(
@@ -3570,11 +3570,11 @@ function Gm(e, t) {
3570
3570
  }
3571
3571
  return e;
3572
3572
  }
3573
- var jm = "proc first argument (Saga function result) must be an iterator", qr = {
3573
+ var jm = "proc first argument (Saga function result) must be an iterator", Kr = {
3574
3574
  toString: function() {
3575
3575
  return "@@redux-saga/CHANNEL_END";
3576
3576
  }
3577
- }, Xt = {
3577
+ }, Qt = {
3578
3578
  toString: function() {
3579
3579
  return "@@redux-saga/TASK_CANCEL";
3580
3580
  }
@@ -3613,7 +3613,7 @@ function qm(e, t, n) {
3613
3613
  }
3614
3614
  function c(u) {
3615
3615
  r.push(u), u.cont = function(d, f) {
3616
- o || (Si(r, u), u.cont = Pe, f ? s(d) : (u === t && (i = d), r.length || (o = !0, n(i))));
3616
+ o || (Ti(r, u), u.cont = Pe, f ? s(d) : (u === t && (i = d), r.length || (o = !0, n(i))));
3617
3617
  };
3618
3618
  }
3619
3619
  function l() {
@@ -3673,10 +3673,10 @@ function xo(e) {
3673
3673
  O.cancel = Pe;
3674
3674
  var _ = fe(s, c, e, l), S = { name: c, cancel: I, isRunning: !0 }, A = qm(c, S, L);
3675
3675
  function I() {
3676
- S.isRunning && !S.isCancelled && (S.isCancelled = !0, O(Xt));
3676
+ S.isRunning && !S.isCancelled && (S.isCancelled = !0, O(Qt));
3677
3677
  }
3678
3678
  function C() {
3679
- e._isRunning && !e._isCancelled && (e._isCancelled = !0, A.cancelAll(), L(Xt));
3679
+ e._isRunning && !e._isCancelled && (e._isCancelled = !0, A.cancelAll(), L(Qt));
3680
3680
  }
3681
3681
  return l && (l.cancel = C), e._isRunning = !0, O(), _;
3682
3682
  function O(N, x) {
@@ -3684,7 +3684,7 @@ function xo(e) {
3684
3684
  throw new Error("Trying to resume an already finished generator");
3685
3685
  try {
3686
3686
  var k = void 0;
3687
- x ? k = e.throw(N) : N === Xt ? (S.isCancelled = !0, O.cancel(), k = M.func(e.return) ? e.return(Xt) : { done: !0, value: Xt }) : N === qr ? k = M.func(e.return) ? e.return() : { done: !0 } : k = e.next(N), k.done ? (S.isMainRunning = !1, S.cont && S.cont(k.value)) : H(k.value, s, "", O);
3687
+ x ? k = e.throw(N) : N === Qt ? (S.isCancelled = !0, O.cancel(), k = M.func(e.return) ? e.return(Qt) : { done: !0, value: Qt }) : N === Kr ? k = M.func(e.return) ? e.return() : { done: !0 } : k = e.next(N), k.done ? (S.isMainRunning = !1, S.cont && S.cont(k.value)) : H(k.value, s, "", O);
3688
3688
  } catch (X) {
3689
3689
  S.isCancelled && h(X), S.isMainRunning = !1, S.cont(X, !0);
3690
3690
  }
@@ -3740,7 +3740,7 @@ function xo(e) {
3740
3740
  var k = N.channel, X = N.pattern, Z = N.maybe;
3741
3741
  k = k || m;
3742
3742
  var Q = function(j) {
3743
- return j instanceof Error ? x(j, !0) : ni(j) && !Z ? x(qr) : x(j);
3743
+ return j instanceof Error ? x(j, !0) : ri(j) && !Z ? x(Kr) : x(j);
3744
3744
  };
3745
3745
  try {
3746
3746
  k.take(Q, Lo(X));
@@ -3801,7 +3801,7 @@ function xo(e) {
3801
3801
  if (N.isRunning()) {
3802
3802
  var k = { task: _, cb: x };
3803
3803
  x.cancel = function() {
3804
- return Si(N.joiners, k);
3804
+ return Ti(N.joiners, k);
3805
3805
  }, N.joiners.push(k);
3806
3806
  } else
3807
3807
  N.isAborted() ? x(N.error(), !0) : x(N.result());
@@ -3818,8 +3818,8 @@ function xo(e) {
3818
3818
  Z === X.length && (Q = !0, k(M.array(N) ? Md.from(Oc({}, B, { length: X.length })) : B));
3819
3819
  }
3820
3820
  X.forEach(function(xe) {
3821
- var wn = function(_t, Br) {
3822
- Q || (Br || ni(_t) || _t === qr || _t === Xt ? (k.cancel(), k(_t, Br)) : (B[xe] = _t, Z++, ke()));
3821
+ var wn = function(_t, Vr) {
3822
+ Q || (Vr || ri(_t) || _t === Kr || _t === Qt ? (k.cancel(), k(_t, Vr)) : (B[xe] = _t, Z++, ke()));
3823
3823
  };
3824
3824
  wn.cancel = Pe, j[xe] = wn;
3825
3825
  }), k.cancel = function() {
@@ -3837,7 +3837,7 @@ function xo(e) {
3837
3837
  if (!X) {
3838
3838
  if (wn)
3839
3839
  k.cancel(), k(xe, !0);
3840
- else if (!ni(xe) && xe !== qr && xe !== Xt) {
3840
+ else if (!ri(xe) && xe !== Kr && xe !== Qt) {
3841
3841
  var Nn;
3842
3842
  k.cancel(), X = !0;
3843
3843
  var _t = (Nn = {}, Nn[B] = xe, Nn);
@@ -3865,7 +3865,7 @@ function xo(e) {
3865
3865
  }
3866
3866
  function V(N, x) {
3867
3867
  var k = N.pattern, X = N.buffer, Z = Lo(k);
3868
- Z.pattern = k, x(Nr(t, X || Gn.fixed(), Z));
3868
+ Z.pattern = k, x(kr(t, X || Gn.fixed(), Z));
3869
3869
  }
3870
3870
  function K(N, x) {
3871
3871
  x(!!S.isCancelled);
@@ -3978,7 +3978,7 @@ const Zm = {
3978
3978
  function eE({ getState: e }) {
3979
3979
  return (t) => (n) => {
3980
3980
  try {
3981
- n.error && Ht(e())(n.payload, { extra: n.payload.extra || {} });
3981
+ n.error && Mt(e())(n.payload, { extra: n.payload.extra || {} });
3982
3982
  } catch {
3983
3983
  } finally {
3984
3984
  t(n);
@@ -3994,8 +3994,8 @@ function yt(e, t) {
3994
3994
  state: { ...e.currentContent.state, ...t }
3995
3995
  });
3996
3996
  }
3997
- function xt(e, t, n) {
3998
- const r = Nt(e);
3997
+ function Pt(e, t, n) {
3998
+ const r = kt(e);
3999
3999
  return yt(e, {
4000
4000
  children: {
4001
4001
  ...r,
@@ -4004,7 +4004,7 @@ function xt(e, t, n) {
4004
4004
  });
4005
4005
  }
4006
4006
  function nE(e, t) {
4007
- const n = Nt(e);
4007
+ const n = kt(e);
4008
4008
  return yt(e, {
4009
4009
  children: {
4010
4010
  ...n,
@@ -4073,7 +4073,7 @@ const rE = {
4073
4073
  });
4074
4074
  }
4075
4075
  ),
4076
- [Li.SET_COLLISION_MODE]: D(
4076
+ [xi.SET_COLLISION_MODE]: D(
4077
4077
  (e, t) => ({
4078
4078
  ...e,
4079
4079
  collisionMode: t.collisionMode,
@@ -4096,7 +4096,7 @@ function* iE(e) {
4096
4096
  try {
4097
4097
  yield In(e);
4098
4098
  } catch (t) {
4099
- const n = yield v(Ht);
4099
+ const n = yield v(Mt);
4100
4100
  try {
4101
4101
  n(t);
4102
4102
  } catch {
@@ -4104,8 +4104,8 @@ function* iE(e) {
4104
4104
  }
4105
4105
  }
4106
4106
  function* oE(e, ...t) {
4107
- const n = yield wt(e, ...t);
4108
- return yield wt(iE, n), n;
4107
+ const n = yield Nt(e, ...t);
4108
+ return yield Nt(iE, n), n;
4109
4109
  }
4110
4110
  function ut(e, ...t) {
4111
4111
  return E(oE, e, ...t);
@@ -4125,7 +4125,7 @@ function* Ka(e, t, n, ...r) {
4125
4125
  const i = yield W(e), o = yield ut(t, ...r, i);
4126
4126
  if (n) {
4127
4127
  const s = typeof n == "function" ? yield E(n) : n;
4128
- yield g(bm(s, o)), yield wt(sE, s, o);
4128
+ yield g(bm(s, o)), yield Nt(sE, s, o);
4129
4129
  }
4130
4130
  }
4131
4131
  }
@@ -4145,13 +4145,13 @@ function* Ze(e, t, ...n) {
4145
4145
  function* lE(e) {
4146
4146
  yield qe(e);
4147
4147
  }
4148
- function zt(e, t, n) {
4148
+ function Jt(e, t, n) {
4149
4149
  let r = n;
4150
4150
  return ne.defined(r) || (r = Date.now()), { name: e, attributes: t, timestamp: r };
4151
4151
  }
4152
4152
  function Be(e) {
4153
4153
  const t = { ...e }, { id: n, timestamp: r } = t;
4154
- return delete t.timestamp, delete t.id, delete t.actionId, delete t.name, zt(`appcues:${n}`, t, r);
4154
+ return delete t.timestamp, delete t.id, delete t.actionId, delete t.name, Jt(`appcues:${n}`, t, r);
4155
4155
  }
4156
4156
  const ht = (e, t, n) => {
4157
4157
  const r = e.context && Object.keys(e.context) && e.context.locale_name, i = e.context && Object.keys(e.context) && e.context.locale_id, { workflow_id: o, workflow_task_id: s } = e;
@@ -4172,7 +4172,7 @@ const ht = (e, t, n) => {
4172
4172
  timestamp: Date.now(),
4173
4173
  sessionId: e.id
4174
4174
  });
4175
- function Pr(e, t, n) {
4175
+ function Dr(e, t, n) {
4176
4176
  return {
4177
4177
  checklistId: e.id,
4178
4178
  checklistName: e.internal_name,
@@ -4206,8 +4206,8 @@ function vn(e, t, n, r) {
4206
4206
  r
4207
4207
  );
4208
4208
  }
4209
- function Dr(e, t, n, r, i) {
4210
- const o = hn(t, n);
4209
+ function Fr(e, t, n, r, i) {
4210
+ const o = mn(t, n);
4211
4211
  return vn(e, t, r, {
4212
4212
  stepChildId: n,
4213
4213
  stepChildNumber: o,
@@ -4215,7 +4215,7 @@ function Dr(e, t, n, r, i) {
4215
4215
  });
4216
4216
  }
4217
4217
  function ms(e, t, n, r, i, o) {
4218
- return Dr(e, t, n, o, {
4218
+ return Fr(e, t, n, o, {
4219
4219
  interactionType: r,
4220
4220
  interaction: i
4221
4221
  });
@@ -4272,7 +4272,7 @@ function SE(e, t, n, r) {
4272
4272
  "step_skipped",
4273
4273
  vn(e, t, r, {
4274
4274
  stepChildId: n,
4275
- stepChildNumber: hn(t, n)
4275
+ stepChildNumber: mn(t, n)
4276
4276
  })
4277
4277
  );
4278
4278
  }
@@ -4282,13 +4282,13 @@ function TE(e, t, n) {
4282
4282
  function CE(e, t, n, r) {
4283
4283
  return Te(
4284
4284
  "step_child_activated",
4285
- Dr(e, t, n, r)
4285
+ Fr(e, t, n, r)
4286
4286
  );
4287
4287
  }
4288
4288
  function _E(e, t, n, r, i) {
4289
4289
  return Te(
4290
4290
  "step_child_deactivated",
4291
- Dr(e, t, n, i, { timeSpent: r })
4291
+ Fr(e, t, n, i, { timeSpent: r })
4292
4292
  );
4293
4293
  }
4294
4294
  function Pc(e, t, n, r, i, o) {
@@ -4325,7 +4325,7 @@ function AE(e, t, n, r, i) {
4325
4325
  function vE(e, t, n, r, i) {
4326
4326
  return Te(
4327
4327
  "step_child_error",
4328
- Dr(e, t, n, i, {
4328
+ Fr(e, t, n, i, {
4329
4329
  error: r
4330
4330
  })
4331
4331
  );
@@ -4333,7 +4333,7 @@ function vE(e, t, n, r, i) {
4333
4333
  function bE(e, t, n, r) {
4334
4334
  return Te(
4335
4335
  "step_child_recovered",
4336
- Dr(e, t, n, r)
4336
+ Fr(e, t, n, r)
4337
4337
  );
4338
4338
  }
4339
4339
  function wE(e, t, n, r, i) {
@@ -4365,31 +4365,31 @@ function NE(e, t, n, r, i) {
4365
4365
  function kE(e, t) {
4366
4366
  return Te(
4367
4367
  "checklist_shown",
4368
- Pr(e, t)
4368
+ Dr(e, t)
4369
4369
  );
4370
4370
  }
4371
4371
  function OE(e, t) {
4372
4372
  return Te(
4373
4373
  "checklist_completed",
4374
- Pr(e, t)
4374
+ Dr(e, t)
4375
4375
  );
4376
4376
  }
4377
4377
  function RE(e, t) {
4378
4378
  return Te(
4379
4379
  "checklist_skipped",
4380
- Pr(e, t)
4380
+ Dr(e, t)
4381
4381
  );
4382
4382
  }
4383
4383
  function LE(e, t) {
4384
4384
  return Te(
4385
4385
  "checklist_dismissed",
4386
- Pr(e, t)
4386
+ Dr(e, t)
4387
4387
  );
4388
4388
  }
4389
4389
  function xE(e, t) {
4390
4390
  return Te(
4391
4391
  "checklist_shown_manually",
4392
- Pr(e, t)
4392
+ Dr(e, t)
4393
4393
  );
4394
4394
  }
4395
4395
  function PE(e, t, n) {
@@ -4525,10 +4525,10 @@ const VE = {
4525
4525
  let s = r[o];
4526
4526
  if (jn(s))
4527
4527
  for (let c = 0; c < ua(s); c++) {
4528
- const l = Pt(s, c), u = An(l);
4528
+ const l = Dt(s, c), u = An(l);
4529
4529
  if (fa(l, u.length - 1)) {
4530
- const d = Pt(s, c + 1);
4531
- if (kr(d) && !ne.defined(d.attributes.params.initiated_by_user)) {
4530
+ const d = Dt(s, c + 1);
4531
+ if (Or(d) && !ne.defined(d.attributes.params.initiated_by_user)) {
4532
4532
  const f = s.attributes.steps[d.id];
4533
4533
  s = {
4534
4534
  ...s,
@@ -4585,7 +4585,7 @@ const VE = {
4585
4585
  const n = ce(e);
4586
4586
  if (t.error) {
4587
4587
  let { orderedContent: r } = e;
4588
- r && (r = r.filter((o) => o !== mn(e)));
4588
+ r && (r = r.filter((o) => o !== En(e)));
4589
4589
  const i = {
4590
4590
  ...e,
4591
4591
  currentContent: {
@@ -4679,12 +4679,12 @@ const VE = {
4679
4679
  ...e,
4680
4680
  tasks: {
4681
4681
  ...e.tasks,
4682
- [t.key]: [...ri(e, t.key) || [], t.task]
4682
+ [t.key]: [...ii(e, t.key) || [], t.task]
4683
4683
  }
4684
4684
  })),
4685
- [U.CLEAR_TASKS]: D((e, t) => ri(e, t) ? { ...e, tasks: { ...e.tasks, [t]: null } } : e),
4685
+ [U.CLEAR_TASKS]: D((e, t) => ii(e, t) ? { ...e, tasks: { ...e.tasks, [t]: null } } : e),
4686
4686
  [U.CLEAR_TASK]: D((e, t) => {
4687
- const { key: n, id: r } = t, i = ri(e, n);
4687
+ const { key: n, id: r } = t, i = ii(e, n);
4688
4688
  return i ? {
4689
4689
  ...e,
4690
4690
  tasks: { ...e.tasks, [n]: i.filter((o) => o.id !== r) }
@@ -4742,8 +4742,8 @@ const VE = {
4742
4742
  break;
4743
4743
  }
4744
4744
  case z.HOTSPOTS: {
4745
- if (Nt(e)[t])
4746
- return xt(e, t, {
4745
+ if (kt(e)[t])
4746
+ return Pt(e, t, {
4747
4747
  cssLoaded: !0
4748
4748
  });
4749
4749
  break;
@@ -4756,7 +4756,7 @@ const VE = {
4756
4756
  const { currentContent: n } = e, r = n.state, i = Math.ceil(t.height) + 2, o = Math.ceil(t.width) + 2;
4757
4757
  let s = {};
4758
4758
  if (r && r.children && (s = r.children[t.id] || {}), s.height !== i || s.width !== o)
4759
- return xt(e, t.id, {
4759
+ return Pt(e, t.id, {
4760
4760
  height: i,
4761
4761
  width: o,
4762
4762
  lastResizeTs: t.ts
@@ -4764,11 +4764,11 @@ const VE = {
4764
4764
  }
4765
4765
  return e;
4766
4766
  }),
4767
- [le.ACTIVATED_STEP_CHILD]: D((e, t) => e.currentContent && st(e) === t.stepChildId ? xt(e, t.stepChildId, {
4767
+ [le.ACTIVATED_STEP_CHILD]: D((e, t) => e.currentContent && st(e) === t.stepChildId ? Pt(e, t.stepChildId, {
4768
4768
  activatedAt: t.timestamp
4769
4769
  }) : e),
4770
4770
  [le.DEACTIVATED_STEP_CHILD]: D(
4771
- (e, t) => is(e, t) ? xt(e, t, {
4771
+ (e, t) => is(e, t) ? Pt(e, t, {
4772
4772
  activatedAt: null
4773
4773
  }) : e
4774
4774
  ),
@@ -4783,7 +4783,7 @@ const VE = {
4783
4783
  stepId: t,
4784
4784
  status: te.PENDING
4785
4785
  })),
4786
- [le.CLOSE_STEP]: D((e, t) => mn(e) === t.flowId && ce(e) === t.stepId ? Qe(e, {
4786
+ [le.CLOSE_STEP]: D((e, t) => En(e) === t.flowId && ce(e) === t.stepId ? Qe(e, {
4787
4787
  stepId: null,
4788
4788
  status: null,
4789
4789
  state: {}
@@ -4792,7 +4792,7 @@ const VE = {
4792
4792
  * Reducer for the CLOSE_FLOW action. Updates the `orderedContent` and
4793
4793
  * `currentContent` values.
4794
4794
  */
4795
- [le.CLOSE_FLOW]: D((e, t) => t.flowId === mn(e) ? t.type === Ut.CLEAR ? { ...e, currentContent: null } : {
4795
+ [le.CLOSE_FLOW]: D((e, t) => t.flowId === En(e) ? t.type === wt.CLEAR ? { ...e, currentContent: null } : {
4796
4796
  ...e,
4797
4797
  orderedContent: e.orderedContent.slice(1),
4798
4798
  currentContent: null
@@ -4805,7 +4805,7 @@ const VE = {
4805
4805
  (e, t) => nE(e, t.stepChildId)
4806
4806
  )
4807
4807
  }, GE = {
4808
- [ui.PREPARE_MODAL]: D((e) => ye(e).type === z.MODAL ? {
4808
+ [di.PREPARE_MODAL]: D((e) => ye(e).type === z.MODAL ? {
4809
4809
  ...e,
4810
4810
  currentContent: {
4811
4811
  ...e.currentContent,
@@ -4815,8 +4815,8 @@ const VE = {
4815
4815
  status: te.READY
4816
4816
  }
4817
4817
  } : e),
4818
- [ui.RESIZE_MODAL_CONTENT]: D((e, t) => {
4819
- const n = Rr(e);
4818
+ [di.RESIZE_MODAL_CONTENT]: D((e, t) => {
4819
+ const n = Lr(e);
4820
4820
  return e.currentContent ? {
4821
4821
  ...e,
4822
4822
  currentContent: {
@@ -4830,7 +4830,7 @@ const VE = {
4830
4830
  } : e;
4831
4831
  })
4832
4832
  }, jE = {
4833
- [Ie.PREPARE_SATISFACTION_SURVEY]: D(
4833
+ [Ae.PREPARE_SATISFACTION_SURVEY]: D(
4834
4834
  (e) => ye(e).type === z.SATISFACTION_SURVEY ? {
4835
4835
  ...e,
4836
4836
  currentContent: {
@@ -4845,7 +4845,7 @@ const VE = {
4845
4845
  }
4846
4846
  } : e
4847
4847
  ),
4848
- [Ie.COLLAPSE_SATISFACTION_SURVEY]: D(
4848
+ [Ae.COLLAPSE_SATISFACTION_SURVEY]: D(
4849
4849
  (e) => ye(e).type === z.SATISFACTION_SURVEY ? {
4850
4850
  ...e,
4851
4851
  currentContent: {
@@ -4858,7 +4858,7 @@ const VE = {
4858
4858
  }
4859
4859
  } : e
4860
4860
  ),
4861
- [Ie.EXPAND_SATISFACTION_SURVEY]: D(
4861
+ [Ae.EXPAND_SATISFACTION_SURVEY]: D(
4862
4862
  (e) => ye(e).type === z.SATISFACTION_SURVEY ? {
4863
4863
  ...e,
4864
4864
  currentContent: {
@@ -4871,7 +4871,7 @@ const VE = {
4871
4871
  }
4872
4872
  } : e
4873
4873
  ),
4874
- [Ie.ASK_ME_LATER_SELECTED]: D((e) => ye(e).type === z.SATISFACTION_SURVEY ? {
4874
+ [Ae.ASK_ME_LATER_SELECTED]: D((e) => ye(e).type === z.SATISFACTION_SURVEY ? {
4875
4875
  ...e,
4876
4876
  currentContent: {
4877
4877
  ...e.currentContent,
@@ -4882,7 +4882,7 @@ const VE = {
4882
4882
  }
4883
4883
  }
4884
4884
  } : e),
4885
- [Ie.SHOW_SATISFACTION_SURVEY_TOAST]: D(
4885
+ [Ae.SHOW_SATISFACTION_SURVEY_TOAST]: D(
4886
4886
  (e) => ye(e).type === z.SATISFACTION_SURVEY ? {
4887
4887
  ...e,
4888
4888
  currentContent: {
@@ -4894,7 +4894,7 @@ const VE = {
4894
4894
  }
4895
4895
  } : e
4896
4896
  ),
4897
- [Ie.HIDE_SATISFACTION_SURVEY_TOAST]: D(
4897
+ [Ae.HIDE_SATISFACTION_SURVEY_TOAST]: D(
4898
4898
  (e) => ye(e).type === z.SATISFACTION_SURVEY ? {
4899
4899
  ...e,
4900
4900
  currentContent: {
@@ -4906,7 +4906,7 @@ const VE = {
4906
4906
  }
4907
4907
  } : e
4908
4908
  ),
4909
- [Ie.QUANTITATIVE_QUESTION_SUBMITTED]: D(
4909
+ [Ae.QUANTITATIVE_QUESTION_SUBMITTED]: D(
4910
4910
  (e) => ye(e).type === z.SATISFACTION_SURVEY ? {
4911
4911
  ...e,
4912
4912
  currentContent: {
@@ -4919,7 +4919,7 @@ const VE = {
4919
4919
  }
4920
4920
  } : e
4921
4921
  ),
4922
- [Ie.QUALITATIVE_QUESTION_SUBMITTED]: D(
4922
+ [Ae.QUALITATIVE_QUESTION_SUBMITTED]: D(
4923
4923
  (e) => ye(e).type === z.SATISFACTION_SURVEY ? {
4924
4924
  ...e,
4925
4925
  currentContent: {
@@ -4932,7 +4932,7 @@ const VE = {
4932
4932
  }
4933
4933
  } : e
4934
4934
  ),
4935
- [Ie.FEEDBACK_TEXT_CHANGED]: D(
4935
+ [Ae.FEEDBACK_TEXT_CHANGED]: D(
4936
4936
  (e, t) => ye(e).type === z.SATISFACTION_SURVEY ? {
4937
4937
  ...e,
4938
4938
  currentContent: {
@@ -4951,7 +4951,7 @@ function Sr() {
4951
4951
  }
4952
4952
  function no(e, t, n) {
4953
4953
  if (t.length > 0) {
4954
- let r = Ii(e);
4954
+ let r = Ai(e);
4955
4955
  return t.forEach((i) => {
4956
4956
  r = { ...r, [i]: { ...r[i], ...n(i) } };
4957
4957
  }), {
@@ -4980,7 +4980,7 @@ const qE = {
4980
4980
  (e, t) => {
4981
4981
  let n = e;
4982
4982
  return t.forEach((r) => {
4983
- n = xt(n, r, {
4983
+ n = Pt(n, r, {
4984
4984
  willClose: !0
4985
4985
  });
4986
4986
  }), n;
@@ -4999,7 +4999,7 @@ const qE = {
4999
4999
  ),
5000
5000
  [he.SET_ANNOTATIONS_POSITIONS]: D(
5001
5001
  (e, t) => {
5002
- const n = {}, r = Nt(e);
5002
+ const n = {}, r = kt(e);
5003
5003
  return Object.keys(t).forEach((i) => {
5004
5004
  const o = {
5005
5005
  ...r[i],
@@ -5019,7 +5019,7 @@ const qE = {
5019
5019
  (e, t) => {
5020
5020
  let n = e;
5021
5021
  return Object.keys(t).forEach((r) => {
5022
- n = xt(n, r, {
5022
+ n = Pt(n, r, {
5023
5023
  _prevPosition: t[r]
5024
5024
  });
5025
5025
  }), n;
@@ -5034,12 +5034,12 @@ const qE = {
5034
5034
  [he.SET_EXISTING_ANNOTATIONS_ERRORS]: D(
5035
5035
  (e, t) => no(e, Object.keys(t || {}), (n) => ({ existingError: t[n] }))
5036
5036
  ),
5037
- [he.SET_TOOLTIP_SETTLED]: D((e, t) => xt(e, t.id, {
5037
+ [he.SET_TOOLTIP_SETTLED]: D((e, t) => Pt(e, t.id, {
5038
5038
  isTooltipSettled: t.isTooltipSettled
5039
5039
  }))
5040
5040
  }, KE = {
5041
- [Gt.EXPAND_HOTSPOT]: D((e, t) => ce(e) ? xt(e, t, { expanded: !0 }) : e),
5042
- [Gt.PREPARE_HOTSPOTS]: D((e) => {
5041
+ [qt.EXPAND_HOTSPOT]: D((e, t) => ce(e) ? Pt(e, t, { expanded: !0 }) : e),
5042
+ [qt.PREPARE_HOTSPOTS]: D((e) => {
5043
5043
  const t = ye(e);
5044
5044
  if (t.type === z.HOTSPOTS) {
5045
5045
  const n = tt(e);
@@ -5055,7 +5055,7 @@ const qE = {
5055
5055
  }
5056
5056
  return e;
5057
5057
  }),
5058
- [Gt.SET_BEACON_SETTLED]: D((e, t) => xt(e, t.id, {
5058
+ [qt.SET_BEACON_SETTLED]: D((e, t) => Pt(e, t.id, {
5059
5059
  isBeaconSettled: t.isBeaconSettled
5060
5060
  }))
5061
5061
  };
@@ -5108,7 +5108,7 @@ const zE = {
5108
5108
  function Qa(e, t) {
5109
5109
  return lt(t, (n) => n.id === e);
5110
5110
  }
5111
- function Ot(e, t, n) {
5111
+ function Rt(e, t, n) {
5112
5112
  const i = { ...Qa(t, e.checklists), ...n };
5113
5113
  return {
5114
5114
  ...e,
@@ -5142,40 +5142,40 @@ const XE = {
5142
5142
  checklists: n.map((r) => r.id === t.id ? { ...r, status: t.status } : r)
5143
5143
  };
5144
5144
  }),
5145
- [re.ANIMATE_IN_CHECKLIST]: D((e, t) => Ot(e, t.id, {
5146
- viewState: Wt.FIRSTVIEW
5145
+ [re.ANIMATE_IN_CHECKLIST]: D((e, t) => Rt(e, t.id, {
5146
+ viewState: Gt.FIRSTVIEW
5147
5147
  })),
5148
- [re.EXPAND_CHECKLIST]: D((e, t) => Ot(e, t.checklistId, {
5149
- viewState: Wt.EXPANDED
5148
+ [re.EXPAND_CHECKLIST]: D((e, t) => Rt(e, t.checklistId, {
5149
+ viewState: Gt.EXPANDED
5150
5150
  })),
5151
5151
  [re.SET_EXPAND_CHECKLIST_LATER]: D(
5152
- (e, t) => Ot(e, t.checklistId, {
5152
+ (e, t) => Rt(e, t.checklistId, {
5153
5153
  shouldTryExpandChecklist: t.shouldTryExpandChecklist
5154
5154
  })
5155
5155
  ),
5156
- [re.COLLAPSE_CHECKLIST]: D((e, t) => Ot(e, t.checklistId, {
5157
- viewState: Wt.COLLAPSED
5156
+ [re.COLLAPSE_CHECKLIST]: D((e, t) => Rt(e, t.checklistId, {
5157
+ viewState: Gt.COLLAPSED
5158
5158
  })),
5159
5159
  [re.SHOW_DISMISS_CONFIRMATION]: D(
5160
- (e, t) => Ot(e, t.checklistId, {
5160
+ (e, t) => Rt(e, t.checklistId, {
5161
5161
  shouldShowConfirmDismiss: !0
5162
5162
  })
5163
5163
  ),
5164
5164
  [re.CANCEL_DISMISS_CONFIRMATION]: D(
5165
- (e, t) => Ot(e, t.checklistId, {
5165
+ (e, t) => Rt(e, t.checklistId, {
5166
5166
  shouldShowConfirmDismiss: !1
5167
5167
  })
5168
5168
  ),
5169
5169
  [re.CONFIRM_DISMISS_CHECKLIST]: D(
5170
- (e, t) => Ot(e, t.checklistId, {
5170
+ (e, t) => Rt(e, t.checklistId, {
5171
5171
  status: te.DISMISSED,
5172
5172
  shouldShowConfirmDismiss: !1
5173
5173
  })
5174
5174
  ),
5175
- [re.SET_CHECKLIST_HEIGHT]: D((e, t) => Ot(e, t.checklistId, {
5175
+ [re.SET_CHECKLIST_HEIGHT]: D((e, t) => Rt(e, t.checklistId, {
5176
5176
  frameHeight: Math.ceil(t.height)
5177
5177
  })),
5178
- [re.SET_CHECKLIST_WIDTH]: D((e, t) => Ot(e, t.checklistId, {
5178
+ [re.SET_CHECKLIST_WIDTH]: D((e, t) => Rt(e, t.checklistId, {
5179
5179
  beaconWidth: Math.ceil(t.width)
5180
5180
  }))
5181
5181
  }, JE = {
@@ -5295,9 +5295,9 @@ function ng() {
5295
5295
  return t !== 0;
5296
5296
  }), ro;
5297
5297
  }
5298
- var Kr = {}, Hc;
5298
+ var Yr = {}, Hc;
5299
5299
  function rg() {
5300
- if (Hc) return Kr;
5300
+ if (Hc) return Yr;
5301
5301
  Hc = 1;
5302
5302
  var e = Object.prototype.hasOwnProperty, t;
5303
5303
  function n(s) {
@@ -5332,7 +5332,7 @@ function rg() {
5332
5332
  }
5333
5333
  return l.length ? c + l.join("&") : "";
5334
5334
  }
5335
- return Kr.stringify = o, Kr.parse = i, Kr;
5335
+ return Yr.stringify = o, Yr.parse = i, Yr;
5336
5336
  }
5337
5337
  var io, Mc;
5338
5338
  function ig() {
@@ -5467,7 +5467,7 @@ function ve(e) {
5467
5467
  setTimeout(t, e);
5468
5468
  });
5469
5469
  }
5470
- function qt(e, t, n) {
5470
+ function Yt(e, t, n) {
5471
5471
  return ve(10).then(() => {
5472
5472
  n ? e.open(t) : e.location.href = t;
5473
5473
  });
@@ -5518,8 +5518,8 @@ function tu(e, t) {
5518
5518
  return window;
5519
5519
  }
5520
5520
  })(o);
5521
- qt(s, n);
5522
- }, 200)) : i.type === "keyup" && o === "_blank" && qt(window, n, !0);
5521
+ Yt(s, n);
5522
+ }, 200)) : i.type === "keyup" && o === "_blank" && Yt(window, n, !0);
5523
5523
  };
5524
5524
  Et(e, "click", r), Et(e, "keyup", r);
5525
5525
  } else
@@ -5545,7 +5545,7 @@ function Sg(e) {
5545
5545
  }
5546
5546
  const Tg = "pattern-title", Cg = (e) => {
5547
5547
  setTimeout(() => {
5548
- const [t] = Oi(e.elm);
5548
+ const [t] = Ri(e.elm);
5549
5549
  if (t) {
5550
5550
  it(t);
5551
5551
  return;
@@ -5594,12 +5594,12 @@ function _g(e) {
5594
5594
  let R = t.step_buttons;
5595
5595
  (R == null || R.length === 0) && (R = [
5596
5596
  {
5597
- text: Dt(t.next_text),
5597
+ text: Ft(t.next_text),
5598
5598
  type: O.NEXT,
5599
5599
  align: C.RIGHT
5600
5600
  },
5601
5601
  {
5602
- text: Dt(t.prev_text),
5602
+ text: Ft(t.prev_text),
5603
5603
  type: O.BACK,
5604
5604
  align: C.LEFT
5605
5605
  }
@@ -5657,7 +5657,7 @@ function _g(e) {
5657
5657
  -1
5658
5658
  ), Ye = (V) => {
5659
5659
  if (ka(V)) {
5660
- const K = Ne(V, "data-step"), ie = Ne(V, "href"), _e = Ne(V, "data-attrs-event"), oe = Ne(V, "data-attrs-profile-update"), fe = tn(V, "appcues-button"), N = Ne(V, "data-next-content-id"), x = [];
5660
+ const K = Ne(V, "data-step"), ie = Ne(V, "href"), _e = Ne(V, "data-attrs-event"), oe = Ne(V, "data-attrs-profile-update"), fe = rn(V, "appcues-button"), N = Ne(V, "data-next-content-id"), x = [];
5661
5661
  if (N && x.push(() => A(N)), ie ? (eu(V), x.push((k) => p(k, t.id, ie))) : (Ee(V, "role", "button"), Ee(V, "tabindex", "0")), oe)
5662
5662
  try {
5663
5663
  const k = JSON.parse(oe);
@@ -5753,18 +5753,18 @@ function _g(e) {
5753
5753
  const { currentTarget: ie } = K;
5754
5754
  G(ie, s ? () => c(K) : () => u(K, t.id)), K.preventDefault ? K.preventDefault() : K.returnValue = !1;
5755
5755
  }
5756
- }), tn(V, "form-field")) {
5756
+ }), rn(V, "form-field")) {
5757
5757
  const K = Ce();
5758
5758
  let ie;
5759
5759
  V.children.forEach((_e) => {
5760
5760
  _e.children && _e.children.forEach((oe) => {
5761
- tn(oe, "label-display") && (ie = Ne(oe, "for"), Ee(oe, "id", `label-${ie}`));
5761
+ rn(oe, "label-display") && (ie = Ne(oe, "for"), Ee(oe, "id", `label-${ie}`));
5762
5762
  const fe = K.find(
5763
5763
  (N) => N.fieldId === ie
5764
5764
  );
5765
- if (tn(oe, "form-control") && (Ee(oe, "aria-invalid", "false"), ie && Ee(oe, "id", ie), fe?.value && Ee(oe, "value", fe.value), ie === K[Oe]?.fieldId && oo(oe), q || as(oe, "insert", (N) => {
5765
+ if (rn(oe, "form-control") && (Ee(oe, "aria-invalid", "false"), ie && Ee(oe, "id", ie), fe?.value && Ee(oe, "value", fe.value), ie === K[Oe]?.fieldId && oo(oe), q || as(oe, "insert", (N) => {
5766
5766
  N.elm && N.elm.focus();
5767
- })), tn(oe, "field-options")) {
5767
+ })), rn(oe, "field-options")) {
5768
5768
  const N = Ne(oe, "data-type-role"), x = Ne(V, "data-max-selection");
5769
5769
  if (Ee(oe, "role", N ?? "radiogroup"), ie && (Ee(oe, "aria-labelledby", `label-${ie}`), Ee(oe, "tabindex", "0")), K) {
5770
5770
  const k = oe.children.filter(
@@ -5806,7 +5806,7 @@ function _g(e) {
5806
5806
  }
5807
5807
  ie === K[Oe]?.fieldId && oo(oe);
5808
5808
  }
5809
- tn(oe, "rating-options") && (Ee(oe, "role", "radiogroup"), ie && (Ee(oe, "aria-labelledby", `label-${ie}`), Ee(oe, "tabindex", "0")), oe.children.forEach((N) => {
5809
+ rn(oe, "rating-options") && (Ee(oe, "role", "radiogroup"), ie && (Ee(oe, "aria-labelledby", `label-${ie}`), Ee(oe, "tabindex", "0")), oe.children.forEach((N) => {
5810
5810
  Ee(N, "tabindex", "0"), Ee(N, "role", "radio"), Et(N, "keydown", (x) => {
5811
5811
  if ((x.key === " " || x.key === "Enter") && (x.stopPropagation(), N.children.forEach((k) => {
5812
5812
  Kp(k) && k && k.elm && k.elm.click();
@@ -5835,7 +5835,7 @@ function _g(e) {
5835
5835
  )
5836
5836
  ]), q = !0;
5837
5837
  }
5838
- }, Le = Dt(t.html, {
5838
+ }, Le = Ft(t.html, {
5839
5839
  hooks: {
5840
5840
  create: Ye
5841
5841
  }
@@ -5984,7 +5984,7 @@ function ys(e, t, n, r) {
5984
5984
  Eh(e.defaultView, i), window.setTimeout(i, 200);
5985
5985
  }
5986
5986
  }
5987
- const wg = "/generic/main/7.8.0/modal.52175bcd669743890b973ef6e81a2996cf849c5e.css", Ng = "/generic/main/7.8.0/modal-step-legacy-render.52175bcd669743890b973ef6e81a2996cf849c5e.css", kg = "1ap2xJXPA6+zfau+TTrgl+tyKnVZGWa7bl1nMr+fKvs=", Og = "f+k+n1UzKXzuja/FHkSACvNlJl9YXs1gpc/Z01OXj48=", Rg = Mt(Ng), Yr = Mt(wg), Gc = /* @__PURE__ */ new Set(["shorty", "slideout"]);
5987
+ const wg = "/generic/main/7.12.0/modal.9b4caeae8c95b7e55917db3db9558a23e797772e.css", Ng = "/generic/main/7.12.0/modal-step-legacy-render.9b4caeae8c95b7e55917db3db9558a23e797772e.css", kg = "sha256-gMdbP/xfvtptqP/0vvPGgdlUKg1OcJp09by8eMIzx4Q=", Og = "sha256-Ea5gC5g6QacVSWApI6ApmuZheqr4EDl50hD7GyRsaz0=", Rg = $t(Ng), zr = $t(wg), Gc = /* @__PURE__ */ new Set(["shorty", "slideout"]);
5988
5988
  function jc(e) {
5989
5989
  if (!e) return;
5990
5990
  const { style: t } = e, n = t.transform;
@@ -5999,7 +5999,7 @@ const so = (e) => {
5999
5999
  if (e.key === "Tab") {
6000
6000
  const t = document.documentElement.querySelector(
6001
6001
  "appcues-container iframe"
6002
- ).contentWindow.document, { activeElement: n } = t, r = Oi(
6002
+ ).contentWindow.document, { activeElement: n } = t, r = Ri(
6003
6003
  t.documentElement
6004
6004
  ), i = r.length, o = r.indexOf(n);
6005
6005
  if (n === t.body) {
@@ -6010,7 +6010,7 @@ const so = (e) => {
6010
6010
  }
6011
6011
  };
6012
6012
  function Lg(e) {
6013
- const t = ye(e), n = Rr(e), r = Ve(e), i = tt(e), o = st(e), s = jt(e, o), c = i[s], l = t.attributes.pattern_type, u = t.attributes.is_progress_bar_hidden, { position: d } = t.attributes, { backdrop: f } = t.attributes, { skippable: p } = t.attributes, y = e.views.callbacks[z.MODAL], h = n.cssLoaded, m = mf(e), T = Ea(e), _ = Aa(e), S = T || m, I = ["modal", "left", "fullscreen"].lastIndexOf(l) > -1, C = I || f, O = Ri(e.settings), L = _ === 1, H = h && ne.inArray(
6013
+ const t = ye(e), n = Lr(e), r = Ve(e), i = tt(e), o = st(e), s = Kt(e, o), c = i[s], l = t.attributes.pattern_type, u = t.attributes.is_progress_bar_hidden, { position: d } = t.attributes, { backdrop: f } = t.attributes, { skippable: p } = t.attributes, y = e.views.callbacks[z.MODAL], h = n.cssLoaded, m = mf(e), T = Ea(e), _ = Aa(e), S = T || m, I = ["modal", "left", "fullscreen"].lastIndexOf(l) > -1, C = I || f, O = Li(e.settings), L = _ === 1, H = h && ne.inArray(
6014
6014
  [
6015
6015
  /* ContentStatus.WILL_SHOW, */
6016
6016
  te.SHOWING,
@@ -6031,14 +6031,14 @@ function Lg(e) {
6031
6031
  fe.target.tagName === "APPCUES" && p && l !== "fullscreen" && y.onSkip();
6032
6032
  }, pe = (fe, N) => {
6033
6033
  const x = fe.target.ownerDocument;
6034
- N ? ki(x, Yr, () => {
6035
- y.onCSSLoaded(t.id, Yr, !0), I || ys(
6034
+ N ? Oi(x, zr, () => {
6035
+ y.onCSSLoaded(t.id, zr, !0), I || ys(
6036
6036
  x,
6037
6037
  t.id,
6038
6038
  "modal-container",
6039
6039
  y.onContentChange
6040
6040
  );
6041
- }) : y.onCSSLoaded(t.id, Yr, !1);
6041
+ }) : y.onCSSLoaded(t.id, zr, !1);
6042
6042
  }, Ce = (fe) => {
6043
6043
  Object.keys(n.formErrors || {}).length > 0 && Gc.has(l) || !I && fe && // @todo remove this function by adding a check in callback to not trigger redraw if AREA same
6044
6044
  Math.abs(
@@ -6129,7 +6129,7 @@ function Lg(e) {
6129
6129
  /* @__PURE__ */ a.html(
6130
6130
  "link",
6131
6131
  {
6132
- "attrs-href": Yr,
6132
+ "attrs-href": zr,
6133
6133
  "attrs-type": "text/css",
6134
6134
  "attrs-rel": "stylesheet",
6135
6135
  "attrs-integrity": kg,
@@ -6256,7 +6256,7 @@ function Dg({ patternType: e, hidden: t }) {
6256
6256
  }
6257
6257
  );
6258
6258
  }
6259
- const Fg = "/generic/main/7.8.0/tooltip.52175bcd669743890b973ef6e81a2996cf849c5e.css", Ug = "igg3p8Bk45sB0Q7EEhfzxPQN6dMtsQ/8P1+LBIDEddE=", zr = Mt(Fg), Kc = "//twemoji.maxcdn.com/2/svg/", Hg = "//cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/", Tr = "hs", Yc = "pattern-title", zc = "Hide these tips";
6259
+ const Fg = "/generic/main/7.12.0/tooltip.9b4caeae8c95b7e55917db3db9558a23e797772e.css", Ug = "sha256-9y1o/fRpWDU82ZWAjihfIJSZnx+knnDTkr5DYPSqYhg=", Xr = $t(Fg), Kc = "//twemoji.maxcdn.com/2/svg/", Hg = "//cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/", Tr = "hs", Yc = "pattern-title", zc = "Hide these tips";
6260
6260
  function Mg(e, t) {
6261
6261
  return {
6262
6262
  skippable: e.skippable,
@@ -6286,7 +6286,7 @@ function $g(e) {
6286
6286
  function Jc(e, t) {
6287
6287
  if (!t)
6288
6288
  return { focusableElements: [], isBoundaryElement: () => !1 };
6289
- const { activeElement: n, documentElement: r } = t, i = Oi(r), o = i.indexOf(n);
6289
+ const { activeElement: n, documentElement: r } = t, i = Ri(r), o = i.indexOf(n);
6290
6290
  return {
6291
6291
  focusableElements: i,
6292
6292
  isBoundaryElement: () => {
@@ -6314,17 +6314,17 @@ const su = (e) => {
6314
6314
  c.onCompleteFlow(w, e.id);
6315
6315
  }, h = (w, J) => {
6316
6316
  const de = w.target.ownerDocument;
6317
- J ? ki(de, zr, () => {
6318
- c.onCSSLoaded && c.onCSSLoaded(e.id, zr, !0), ys(
6317
+ J ? Oi(de, Xr, () => {
6318
+ c.onCSSLoaded && c.onCSSLoaded(e.id, Xr, !0), ys(
6319
6319
  de,
6320
6320
  e.id,
6321
6321
  ".tooltip",
6322
6322
  c.onContentChange
6323
6323
  );
6324
- }) : c.onCSSLoaded && c.onCSSLoaded(e.id, zr, !1);
6324
+ }) : c.onCSSLoaded && c.onCSSLoaded(e.id, Xr, !1);
6325
6325
  }, m = (w) => {
6326
6326
  if (t(w), ka(w)) {
6327
- const J = Ne(w, "data-step"), de = Ne(w, "href"), pe = tn(w, "appcues-button"), Ce = Ne(w, "data-attrs-event"), Oe = Ne(w, "data-attrs-profile-update"), Ye = Ne(w, "data-next-content-id"), Le = [];
6327
+ const J = Ne(w, "data-step"), de = Ne(w, "href"), pe = rn(w, "appcues-button"), Ce = Ne(w, "data-attrs-event"), Oe = Ne(w, "data-attrs-profile-update"), Ye = Ne(w, "data-next-content-id"), Le = [];
6328
6328
  if (Ye && Le.push(
6329
6329
  () => c.onSetNextContentIdCookie(Ye)
6330
6330
  ), de ? (eu(w), Le.push((K, ie) => {
@@ -6406,7 +6406,7 @@ const su = (e) => {
6406
6406
  }
6407
6407
  });
6408
6408
  }
6409
- }, T = Dt(e.html, {
6409
+ }, T = Ft(e.html, {
6410
6410
  hooks: {
6411
6411
  create: m
6412
6412
  }
@@ -6495,7 +6495,7 @@ const su = (e) => {
6495
6495
  /* @__PURE__ */ a.html(
6496
6496
  "link",
6497
6497
  {
6498
- "attrs-href": zr,
6498
+ "attrs-href": Xr,
6499
6499
  "attrs-type": "text/css",
6500
6500
  "attrs-rel": "stylesheet",
6501
6501
  "attrs-integrity": Ug,
@@ -6556,7 +6556,7 @@ function Bg({ skipOptions: e, buttonText: t, onButtonClick: n }) {
6556
6556
  )) : /* @__PURE__ */ a.html(ae, null), /* @__PURE__ */ a.html("div", { classNames: "appcues-actions-right" }, t ? /* @__PURE__ */ a.html(
6557
6557
  Po,
6558
6558
  {
6559
- text: Dt(t),
6559
+ text: Ft(t),
6560
6560
  success: !0,
6561
6561
  onClick: n,
6562
6562
  attrs: {
@@ -6583,7 +6583,7 @@ function Vg({ skipText: e, onClick: t }) {
6583
6583
  "attrs-aria-label": e || zc
6584
6584
  },
6585
6585
  /* @__PURE__ */ a.html("span", { "attrs-aria-hidden": "true" }, String.fromCodePoint(8856), " "),
6586
- e ? Dt(e) : zc
6586
+ e ? Ft(e) : zc
6587
6587
  );
6588
6588
  }
6589
6589
  function Wg({ onClick: e }) {
@@ -6710,7 +6710,7 @@ function Kg(e) {
6710
6710
  `#${Tr}-${e.id}`
6711
6711
  ).querySelector(
6712
6712
  ".appcues-tooltip-container"
6713
- ).contentDocument, { activeElement: S } = _, A = Oi(
6713
+ ).contentDocument, { activeElement: S } = _, A = Ri(
6714
6714
  _.documentElement
6715
6715
  );
6716
6716
  S === _.body && A.length === 0 && e.callbacks.onClickOut(e.isLast);
@@ -6967,46 +6967,36 @@ const pr = 1500, Yg = (e) => {
6967
6967
  function Xg(e) {
6968
6968
  return e.annotations.map((t) => {
6969
6969
  let n = t;
6970
- if (n = {
6970
+ return n = {
6971
6971
  ...n,
6972
6972
  ...e.annotationsState[n.id],
6973
6973
  html: n.html,
6974
- showPoweredBy: Ri(e.settings),
6974
+ showPoweredBy: Li(e.settings),
6975
6975
  accountId: e.settings.accountId,
6976
6976
  styling: n.style || e.settings.styling
6977
- }, e.activeAnnotations.includes(n.id) && !n.error)
6978
- switch (n.type) {
6979
- case "hotspot":
6980
- return /* @__PURE__ */ a.html("div", { classNames: "apc-sequential-hotspot" }, /* @__PURE__ */ a.html(
6981
- zg,
6982
- {
6983
- annotation: n,
6984
- isScrollingToAnnotation: e.isScrollingToAnnotation
6985
- }
6986
- ), /* @__PURE__ */ a.html(
6987
- Kg,
6988
- {
6989
- ...n,
6990
- key: n.id,
6991
- callbacks: e.callbacks,
6992
- previousActiveElement: e.previousActiveElement,
6993
- shouldForceFocus: e.shouldForceFocus
6994
- }
6995
- ));
6996
- // NOTE: It seems as if annotation.type = hotspot for both tooltips and hotspots
6997
- // so the tooltip case doesnt' seem to be used although Hotspot implements Tooltip...
6998
- case "tooltip":
6999
- default:
7000
- return /* @__PURE__ */ a.html(
7001
- su,
7002
- {
7003
- ...n,
7004
- key: n.id,
7005
- callbacks: e.callbacks
7006
- }
7007
- );
6977
+ }, e.activeAnnotations.includes(n.id) && !n.error ? n.type === "hotspot" ? /* @__PURE__ */ a.html("div", { classNames: "apc-sequential-hotspot" }, /* @__PURE__ */ a.html(
6978
+ zg,
6979
+ {
6980
+ annotation: n,
6981
+ isScrollingToAnnotation: e.isScrollingToAnnotation
7008
6982
  }
7009
- return null;
6983
+ ), /* @__PURE__ */ a.html(
6984
+ Kg,
6985
+ {
6986
+ ...n,
6987
+ key: n.id,
6988
+ callbacks: e.callbacks,
6989
+ previousActiveElement: e.previousActiveElement,
6990
+ shouldForceFocus: e.shouldForceFocus
6991
+ }
6992
+ )) : /* @__PURE__ */ a.html(
6993
+ su,
6994
+ {
6995
+ ...n,
6996
+ key: n.id,
6997
+ callbacks: e.callbacks
6998
+ }
6999
+ ) : null;
7010
7000
  }).filter((t) => t !== null);
7011
7001
  }
7012
7002
  const lu = ".appcues-beacon-outline-styling", Ts = ({ key: e }) => {
@@ -7038,7 +7028,7 @@ function au(e, t) {
7038
7028
  return n.length === 1 && n.indexOf(t) === 0;
7039
7029
  }
7040
7030
  function ty(e) {
7041
- const t = Bn(e), n = Nt(e);
7031
+ const t = Bn(e), n = kt(e);
7042
7032
  return t.filter(
7043
7033
  (r) => n[r] && !n[r].activatedAt
7044
7034
  );
@@ -7121,7 +7111,7 @@ function uu(e, t, n) {
7121
7111
  annotations: l,
7122
7112
  previousActiveElement: ha(e),
7123
7113
  shouldForceFocus: hf(e),
7124
- annotationsState: Nt(e),
7114
+ annotationsState: kt(e),
7125
7115
  activeAnnotations: Bn(e),
7126
7116
  callbacks: t,
7127
7117
  settings: o,
@@ -7146,7 +7136,7 @@ function ny(e) {
7146
7136
  );
7147
7137
  }
7148
7138
  function el(e, t) {
7149
- return jt(e, t) === tt(e).length - 1;
7139
+ return Kt(e, t) === tt(e).length - 1;
7150
7140
  }
7151
7141
  function ry(e) {
7152
7142
  return uu(
@@ -7158,7 +7148,7 @@ function ry(e) {
7158
7148
  stepsInGroup: Nf(e),
7159
7149
  buttonText: t.hide_next_button ? null : n,
7160
7150
  isLast: el(e, t.id),
7161
- isFirst: jt(e, t.id) === 0
7151
+ isFirst: Kt(e, t.id) === 0
7162
7152
  };
7163
7153
  }
7164
7154
  );
@@ -7561,10 +7551,10 @@ function uy(e) {
7561
7551
  )
7562
7552
  )));
7563
7553
  }
7564
- const dy = "/generic/main/7.8.0/satisfaction-survey.52175bcd669743890b973ef6e81a2996cf849c5e.css", fy = "LCTGoWhoNncfzk7b8jDhPPF8b0PTs04uNa7LjCILym4=", co = Mt(dy);
7565
- let nl, Xr;
7554
+ const dy = "/generic/main/7.12.0/satisfaction-survey.9b4caeae8c95b7e55917db3db9558a23e797772e.css", fy = "sha256-orClVQ0cwyOjh8QFSBbV42LCG1fNHRPUyzFj1HntWSY=", co = $t(dy);
7555
+ let nl, Jr;
7566
7556
  function py(e) {
7567
- const t = ye(e), n = Rr(e), r = Ve(e), i = tt(e), o = st(e), s = jt(e, o), c = i[s], l = t.attributes.pattern_type, { position: u } = t.attributes, d = e.views.callbacks[z.SATISFACTION_SURVEY], f = n.cssLoaded, p = Ri(e.settings), y = r !== te.SHOWING;
7557
+ const t = ye(e), n = Lr(e), r = Ve(e), i = tt(e), o = st(e), s = Kt(e, o), c = i[s], l = t.attributes.pattern_type, { position: u } = t.attributes, d = e.views.callbacks[z.SATISFACTION_SURVEY], f = n.cssLoaded, p = Li(e.settings), y = r !== te.SHOWING;
7568
7558
  let h = {};
7569
7559
  const m = f && ne.inArray(
7570
7560
  [
@@ -7600,15 +7590,15 @@ function py(e) {
7600
7590
  return;
7601
7591
  const de = J.elm.scrollHeight, pe = window.innerHeight;
7602
7592
  if (de) {
7603
- Xr = Xr || de + 15;
7604
- const Ce = de > pe ? pe : Xr;
7593
+ Jr = Jr || de + 15;
7594
+ const Ce = de > pe ? pe : Jr;
7605
7595
  nl.style.height = `${Ce}px`, J.elm.children[0].style.height = `${Ce}px`;
7606
7596
  }
7607
7597
  }, G = (J, de) => {
7608
- (J === "next" ? d.onNextStep : d.onPrevStep)(de), Xr = null;
7598
+ (J === "next" ? d.onNextStep : d.onPrevStep)(de), Jr = null;
7609
7599
  }, ue = (J, de) => {
7610
7600
  const pe = J.target.ownerDocument;
7611
- ki(pe, co, () => {
7601
+ Oi(pe, co, () => {
7612
7602
  d.onCSSLoaded(t.id, co, !0), ys(
7613
7603
  pe,
7614
7604
  t.id,
@@ -7721,7 +7711,7 @@ const hy = b(le.INVALIDATE_FORM), my = b(le.LOADED_CSS), Ey = b(
7721
7711
  (e, t) => ({ stepChildId: e, timestamp: t })
7722
7712
  ), yy = b(
7723
7713
  le.DEACTIVATED_STEP_CHILD
7724
- ), an = b(
7714
+ ), dn = b(
7725
7715
  le.SET_CURRENT_STEP_CHILD
7726
7716
  ), Sy = b(
7727
7717
  le.CLEAR_CURRENT_STEP_CHILD
@@ -7734,7 +7724,7 @@ const hy = b(le.INVALIDATE_FORM), my = b(le.LOADED_CSS), Ey = b(
7734
7724
  ), _y = b(
7735
7725
  le.CLOSE_STEP,
7736
7726
  (e, t) => ({ flowId: e, stepId: t })
7737
- ), yn = b(
7727
+ ), zt = b(
7738
7728
  le.CLOSE_FLOW,
7739
7729
  (e, t) => ({ flowId: e, type: t })
7740
7730
  ), Iy = b(
@@ -7751,8 +7741,8 @@ const hy = b(le.INVALIDATE_FORM), my = b(le.LOADED_CSS), Ey = b(
7751
7741
  (e) => ({ nextContentId: e })
7752
7742
  ), Fo = b(
7753
7743
  le.CLEAR_CONTENT_STATE_CHILD
7754
- ), vy = b(ui.PREPARE_MODAL), by = b(
7755
- ui.RESIZE_MODAL_CONTENT,
7744
+ ), vy = b(di.PREPARE_MODAL), by = b(
7745
+ di.RESIZE_MODAL_CONTENT,
7756
7746
  (e, t) => ({ id: e, height: t.height, width: t.width })
7757
7747
  );
7758
7748
  function Se(e, t, n) {
@@ -7761,7 +7751,7 @@ function Se(e, t, n) {
7761
7751
  function ft(e, t, n, r) {
7762
7752
  return Se(e, t, { stepChildId: n, ...r });
7763
7753
  }
7764
- function Vt(e, t, n, r, i = {}) {
7754
+ function Wt(e, t, n, r, i = {}) {
7765
7755
  return ft(
7766
7756
  Y.STEP_INTERACTED,
7767
7757
  e,
@@ -7787,7 +7777,7 @@ const wy = (e, t) => (n) => {
7787
7777
  );
7788
7778
  };
7789
7779
  function rl(e, t, n, r = {}) {
7790
- return Vt(
7780
+ return Wt(
7791
7781
  ce(e),
7792
7782
  t,
7793
7783
  "internal",
@@ -7931,7 +7921,7 @@ function Di(e, t) {
7931
7921
  onLinkClick(r, i, o) {
7932
7922
  e(
7933
7923
  se(
7934
- Vt(
7924
+ Wt(
7935
7925
  ce(t()),
7936
7926
  r,
7937
7927
  "link",
@@ -7948,7 +7938,7 @@ function Di(e, t) {
7948
7938
  * @param {object} properties An object describing properties associated with the event.
7949
7939
  */
7950
7940
  onHandleUserEvent(r, i = {}) {
7951
- e(we({}, [zt(r, i)], !0));
7941
+ e(we({}, [Jt(r, i)], !0));
7952
7942
  },
7953
7943
  /**
7954
7944
  * Callback for when the user clicks a button with a set of user profile
@@ -8012,7 +8002,7 @@ function hu(e) {
8012
8002
  }), t.length > 0 ? { result: !1, errors: t } : { result: !0 };
8013
8003
  }
8014
8004
  function lo(e, t, n, r = {}) {
8015
- return Vt(
8005
+ return Wt(
8016
8006
  ce(e),
8017
8007
  t,
8018
8008
  "internal",
@@ -8041,7 +8031,7 @@ function Ly(e, t) {
8041
8031
  s,
8042
8032
  o
8043
8033
  );
8044
- l && (e(an(l)), n.onStepChildActivated(l));
8034
+ l && (e(dn(l)), n.onStepChildActivated(l));
8045
8035
  }
8046
8036
  return {
8047
8037
  onSkip: n.onSkip,
@@ -8135,7 +8125,7 @@ function Ly(e, t) {
8135
8125
  s,
8136
8126
  o
8137
8127
  );
8138
- l && (e(an(l)), n.onStepChildActivated(l));
8128
+ l && (e(dn(l)), n.onStepChildActivated(l));
8139
8129
  },
8140
8130
  /**
8141
8131
  * Callback for the user click a button to go to some step in the modal.
@@ -8156,8 +8146,8 @@ function Ly(e, t) {
8156
8146
  )
8157
8147
  )
8158
8148
  ), n.onStepChildDeactivated(o);
8159
- const u = _i(c, s);
8160
- u && (e(an(u)), n.onStepChildActivated(u));
8149
+ const u = Ii(c, s);
8150
+ u && (e(dn(u)), n.onStepChildActivated(u));
8161
8151
  },
8162
8152
  /**
8163
8153
  * Callback for the user click a button to go to a URL.
@@ -8181,11 +8171,11 @@ function Ly(e, t) {
8181
8171
  }
8182
8172
  };
8183
8173
  }
8184
- const xy = b(Gt.EXPAND_HOTSPOT), Py = b(Gt.PREPARE_HOTSPOTS), Dy = b(
8185
- Gt.SET_BEACON_SETTLED,
8174
+ const xy = b(qt.EXPAND_HOTSPOT), Py = b(qt.PREPARE_HOTSPOTS), Dy = b(
8175
+ qt.SET_BEACON_SETTLED,
8186
8176
  (e, t) => ({ id: e, isBeaconSettled: t })
8187
- ), oi = b(
8188
- Gt.CLOSE_LAST_HOTSPOT,
8177
+ ), si = b(
8178
+ qt.CLOSE_LAST_HOTSPOT,
8189
8179
  (e, t, n = {}) => ({ stepId: e, childId: t, params: n })
8190
8180
  ), Fy = b(
8191
8181
  he.ADD_ACTIVE_ANNOTATIONS
@@ -8236,7 +8226,7 @@ function Eu(e, t) {
8236
8226
  se(
8237
8227
  Se(Y.STEP_COMPLETED, l, s)
8238
8228
  )
8239
- ), i(c), ne.defined(c) && e(oi(l, c, s));
8229
+ ), i(c), ne.defined(c) && e(si(l, c, s));
8240
8230
  };
8241
8231
  return {
8242
8232
  /**
@@ -8272,14 +8262,14 @@ function Eu(e, t) {
8272
8262
  const d = r(), f = d !== s, p = ce(t());
8273
8263
  f && e(
8274
8264
  se(
8275
- Vt(
8265
+ Wt(
8276
8266
  p,
8277
8267
  s,
8278
8268
  "beacon",
8279
8269
  s
8280
8270
  )
8281
8271
  )
8282
- ), i(d), f ? (e(an(s)), this.onActivate(s), setTimeout(() => {
8272
+ ), i(d), f ? (e(dn(s)), this.onActivate(s), setTimeout(() => {
8283
8273
  n.onContentChange(s, c);
8284
8274
  }, 50), u && e(
8285
8275
  se(
@@ -8288,7 +8278,7 @@ function Eu(e, t) {
8288
8278
  ce(t())
8289
8279
  )
8290
8280
  )
8291
- )) : l && e(oi(p, d));
8281
+ )) : l && e(si(p, d));
8292
8282
  },
8293
8283
  /**
8294
8284
  * Callback for when the user clicks outside of a hotspot.
@@ -8297,7 +8287,7 @@ function Eu(e, t) {
8297
8287
  */
8298
8288
  onClickOut(s) {
8299
8289
  const c = r();
8300
- i(c), s && ne.defined(c) && e(oi(ce(t()), c));
8290
+ i(c), s && ne.defined(c) && e(si(ce(t()), c));
8301
8291
  },
8302
8292
  onComplete: o({ shouldEndFlow: !1 }),
8303
8293
  onCompleteFlow: o({ shouldEndFlow: !0 })
@@ -8308,7 +8298,7 @@ function Yy(e, t) {
8308
8298
  const u = t(), d = ce(u), f = nt(u), p = d ? ct(f, d) : null, y = { text: At(c) };
8309
8299
  e(
8310
8300
  se(
8311
- Vt(
8301
+ Wt(
8312
8302
  d,
8313
8303
  l,
8314
8304
  "internal",
@@ -8345,7 +8335,7 @@ function Yy(e, t) {
8345
8335
  const l = t(), u = ce(l), d = { text: At(o) };
8346
8336
  e(
8347
8337
  se(
8348
- Vt(
8338
+ Wt(
8349
8339
  u,
8350
8340
  s,
8351
8341
  "internal",
@@ -8391,7 +8381,7 @@ function Yy(e, t) {
8391
8381
  const c = t(), l = ce(c), u = { text: At(o) };
8392
8382
  e(
8393
8383
  se(
8394
- Vt(
8384
+ Wt(
8395
8385
  l,
8396
8386
  s,
8397
8387
  "internal",
@@ -8405,7 +8395,7 @@ function Yy(e, t) {
8405
8395
  const l = t(), u = ce(l), d = { text: At(o) };
8406
8396
  e(
8407
8397
  se(
8408
- Vt(
8398
+ Wt(
8409
8399
  u,
8410
8400
  s,
8411
8401
  "internal",
@@ -8421,30 +8411,30 @@ function Yy(e, t) {
8421
8411
  };
8422
8412
  }
8423
8413
  const zy = b(
8424
- Ie.PREPARE_SATISFACTION_SURVEY
8414
+ Ae.PREPARE_SATISFACTION_SURVEY
8425
8415
  ), Xy = b(
8426
- Ie.START_COLLAPSING_SATISFACTION_SURVEY
8416
+ Ae.START_COLLAPSING_SATISFACTION_SURVEY
8427
8417
  ), gu = b(
8428
- Ie.COLLAPSE_SATISFACTION_SURVEY
8418
+ Ae.COLLAPSE_SATISFACTION_SURVEY
8429
8419
  ), Jy = b(
8430
- Ie.EXPAND_SATISFACTION_SURVEY
8420
+ Ae.EXPAND_SATISFACTION_SURVEY
8431
8421
  ), yu = b(
8432
- Ie.SHOW_SATISFACTION_SURVEY_TOAST
8422
+ Ae.SHOW_SATISFACTION_SURVEY_TOAST
8433
8423
  ), Su = b(
8434
- Ie.HIDE_SATISFACTION_SURVEY_TOAST
8424
+ Ae.HIDE_SATISFACTION_SURVEY_TOAST
8435
8425
  ), Qy = b(
8436
- Ie.QUANTITATIVE_QUESTION_SUBMITTED,
8426
+ Ae.QUANTITATIVE_QUESTION_SUBMITTED,
8437
8427
  (e) => ({ score: e })
8438
8428
  ), Zy = b(
8439
- Ie.CLICKED_UPDATE_NPS_SCORE
8429
+ Ae.CLICKED_UPDATE_NPS_SCORE
8440
8430
  ), eS = b(
8441
- Ie.QUALITATIVE_QUESTION_SUBMITTED,
8431
+ Ae.QUALITATIVE_QUESTION_SUBMITTED,
8442
8432
  (e) => ({ feedback: e })
8443
8433
  ), tS = b(
8444
- Ie.FEEDBACK_TEXT_CHANGED,
8434
+ Ae.FEEDBACK_TEXT_CHANGED,
8445
8435
  (e) => ({ feedback: e })
8446
8436
  ), nS = b(
8447
- Ie.ASK_ME_LATER_SELECTED
8437
+ Ae.ASK_ME_LATER_SELECTED
8448
8438
  );
8449
8439
  function rS(e, t) {
8450
8440
  const n = Di(e, t);
@@ -8453,7 +8443,7 @@ function rS(e, t) {
8453
8443
  T,
8454
8444
  m
8455
8445
  );
8456
- _ && e(an(_));
8446
+ _ && e(dn(_));
8457
8447
  }
8458
8448
  function i(m) {
8459
8449
  e(Qy(m));
@@ -8490,7 +8480,7 @@ function rS(e, t) {
8490
8480
  _ && (da(
8491
8481
  ye(T),
8492
8482
  _
8493
- ).step_type === "quantitative-question" && e(Zy()), e(an(_)));
8483
+ ).step_type === "quantitative-question" && e(Zy()), e(dn(_)));
8494
8484
  }
8495
8485
  function h() {
8496
8486
  n.onShow(), n.onStepChildActivated(
@@ -8524,14 +8514,14 @@ const ol = b(re.START_CHECKLIST), Sn = b(
8524
8514
  re.UPDATE_CHECKLISTS
8525
8515
  ), Fi = b(
8526
8516
  re.HIDE_CHECKLISTS
8527
- ), vr = b(
8517
+ ), br = b(
8528
8518
  re.UNHIDE_CHECKLISTS
8529
8519
  ), cl = b(
8530
8520
  re.ANIMATE_IN_CHECKLIST
8531
- ), Fr = b(
8521
+ ), Ur = b(
8532
8522
  re.EXPAND_CHECKLIST,
8533
8523
  (e) => ({ checklistId: e })
8534
- ), un = b(
8524
+ ), fn = b(
8535
8525
  re.COLLAPSE_CHECKLIST,
8536
8526
  (e) => ({ checklistId: e })
8537
8527
  ), Tu = b(
@@ -8576,12 +8566,12 @@ function fS(e, t) {
8576
8566
  let n = !1;
8577
8567
  return {
8578
8568
  onBeaconClicked(r) {
8579
- const i = t(), o = gn(i, r);
8580
- o.viewState === Wt.EXPANDED ? e(un(r)) : (e(Fr(r)), o.attributes.open_behavior === "closed" && !n && (n = !0, e(Iu(o))));
8569
+ const i = t(), o = yn(i, r);
8570
+ o.viewState === Gt.EXPANDED ? e(fn(r)) : (e(Ur(r)), o.attributes.open_behavior === "closed" && !n && (n = !0, e(Iu(o))));
8581
8571
  },
8582
8572
  onOutsideClicked(r) {
8583
8573
  const i = t();
8584
- gn(i, r).viewState === Wt.EXPANDED && e(un(r));
8574
+ yn(i, r).viewState === Gt.EXPANDED && e(fn(r));
8585
8575
  },
8586
8576
  onItemClicked(r, i) {
8587
8577
  e(_u(r, i));
@@ -8602,7 +8592,7 @@ function fS(e, t) {
8602
8592
  );
8603
8593
  },
8604
8594
  onMinimizedClicked(r) {
8605
- e(un(r));
8595
+ e(fn(r));
8606
8596
  },
8607
8597
  onCSSLoaded(r, i, o = !0) {
8608
8598
  if (o)
@@ -8693,7 +8683,7 @@ function gS(e, t) {
8693
8683
  };
8694
8684
  e(Ue("widget_item_clicked", c)), e(we({}, [Be(c)], !1));
8695
8685
  } catch (c) {
8696
- Ht(t())(c, { extra: c.extra });
8686
+ Mt(t())(c, { extra: c.extra });
8697
8687
  }
8698
8688
  }
8699
8689
  };
@@ -8776,13 +8766,13 @@ function yS({ settings: e, sagas: t, onStateChange: n }) {
8776
8766
  }
8777
8767
  var Cr = (e) => typeof e == "function" ? e : function() {
8778
8768
  return e;
8779
- }, SS = typeof self < "u" ? self : null, Er = typeof window < "u" ? window : null, dn = SS || Er || dn, TS = "2.0.0", It = { connecting: 0, open: 1, closing: 2, closed: 3 }, CS = 1e4, _S = 1e3, rt = {
8769
+ }, SS = typeof self < "u" ? self : null, Er = typeof window < "u" ? window : null, pn = SS || Er || pn, TS = "2.0.0", It = { connecting: 0, open: 1, closing: 2, closed: 3 }, CS = 1e4, _S = 1e3, rt = {
8780
8770
  closed: "closed",
8781
8771
  errored: "errored",
8782
8772
  joined: "joined",
8783
8773
  joining: "joining",
8784
8774
  leaving: "leaving"
8785
- }, Rt = {
8775
+ }, Lt = {
8786
8776
  close: "phx_close",
8787
8777
  error: "phx_error",
8788
8778
  join: "phx_join",
@@ -8793,7 +8783,7 @@ var Cr = (e) => typeof e == "function" ? e : function() {
8793
8783
  websocket: "websocket"
8794
8784
  }, IS = {
8795
8785
  complete: 4
8796
- }, Jr = class {
8786
+ }, Qr = class {
8797
8787
  constructor(e, t, n, r) {
8798
8788
  this.channel = e, this.event = t, this.payload = n || function() {
8799
8789
  return {};
@@ -8889,7 +8879,7 @@ var Cr = (e) => typeof e == "function" ? e : function() {
8889
8879
  }
8890
8880
  }, AS = class {
8891
8881
  constructor(e, t, n) {
8892
- this.state = rt.closed, this.topic = e, this.params = Cr(t || {}), this.socket = n, this.bindings = [], this.bindingRef = 0, this.timeout = this.socket.timeout, this.joinedOnce = !1, this.joinPush = new Jr(this, Rt.join, this.params, this.timeout), this.pushBuffer = [], this.stateChangeRefs = [], this.rejoinTimer = new Au(() => {
8882
+ this.state = rt.closed, this.topic = e, this.params = Cr(t || {}), this.socket = n, this.bindings = [], this.bindingRef = 0, this.timeout = this.socket.timeout, this.joinedOnce = !1, this.joinPush = new Qr(this, Lt.join, this.params, this.timeout), this.pushBuffer = [], this.stateChangeRefs = [], this.rejoinTimer = new Au(() => {
8893
8883
  this.socket.isConnected() && this.rejoin();
8894
8884
  }, this.socket.rejoinAfterMs), this.stateChangeRefs.push(this.socket.onError(() => this.rejoinTimer.reset())), this.stateChangeRefs.push(
8895
8885
  this.socket.onOpen(() => {
@@ -8904,8 +8894,8 @@ var Cr = (e) => typeof e == "function" ? e : function() {
8904
8894
  }), this.onError((r) => {
8905
8895
  this.socket.hasLogger() && this.socket.log("channel", `error ${this.topic}`, r), this.isJoining() && this.joinPush.reset(), this.state = rt.errored, this.socket.isConnected() && this.rejoinTimer.scheduleTimeout();
8906
8896
  }), this.joinPush.receive("timeout", () => {
8907
- this.socket.hasLogger() && this.socket.log("channel", `timeout ${this.topic} (${this.joinRef()})`, this.joinPush.timeout), new Jr(this, Rt.leave, Cr({}), this.timeout).send(), this.state = rt.errored, this.joinPush.reset(), this.socket.isConnected() && this.rejoinTimer.scheduleTimeout();
8908
- }), this.on(Rt.reply, (r, i) => {
8897
+ this.socket.hasLogger() && this.socket.log("channel", `timeout ${this.topic} (${this.joinRef()})`, this.joinPush.timeout), new Qr(this, Lt.leave, Cr({}), this.timeout).send(), this.state = rt.errored, this.joinPush.reset(), this.socket.isConnected() && this.rejoinTimer.scheduleTimeout();
8898
+ }), this.on(Lt.reply, (r, i) => {
8909
8899
  this.trigger(this.replyEventName(i), r);
8910
8900
  });
8911
8901
  }
@@ -8924,14 +8914,14 @@ var Cr = (e) => typeof e == "function" ? e : function() {
8924
8914
  * @param {Function} callback
8925
8915
  */
8926
8916
  onClose(e) {
8927
- this.on(Rt.close, e);
8917
+ this.on(Lt.close, e);
8928
8918
  }
8929
8919
  /**
8930
8920
  * Hook into channel errors
8931
8921
  * @param {Function} callback
8932
8922
  */
8933
8923
  onError(e) {
8934
- return this.on(Rt.error, (t) => e(t));
8924
+ return this.on(Lt.error, (t) => e(t));
8935
8925
  }
8936
8926
  /**
8937
8927
  * Subscribes on channel events
@@ -9000,7 +8990,7 @@ var Cr = (e) => typeof e == "function" ? e : function() {
9000
8990
  push(e, t, n = this.timeout) {
9001
8991
  if (t = t || {}, !this.joinedOnce)
9002
8992
  throw new Error(`tried to push '${e}' to '${this.topic}' before joining. Use channel.join() before pushing events`);
9003
- let r = new Jr(this, e, function() {
8993
+ let r = new Qr(this, e, function() {
9004
8994
  return t;
9005
8995
  }, n);
9006
8996
  return this.canPush() ? r.send() : (r.startTimeout(), this.pushBuffer.push(r)), r;
@@ -9024,8 +9014,8 @@ var Cr = (e) => typeof e == "function" ? e : function() {
9024
9014
  leave(e = this.timeout) {
9025
9015
  this.rejoinTimer.reset(), this.joinPush.cancelTimeout(), this.state = rt.leaving;
9026
9016
  let t = () => {
9027
- this.socket.hasLogger() && this.socket.log("channel", `leave ${this.topic}`), this.trigger(Rt.close, "leave");
9028
- }, n = new Jr(this, Rt.leave, Cr({}), e);
9017
+ this.socket.hasLogger() && this.socket.log("channel", `leave ${this.topic}`), this.trigger(Lt.close, "leave");
9018
+ }, n = new Qr(this, Lt.leave, Cr({}), e);
9029
9019
  return n.receive("ok", () => t()).receive("timeout", () => t()), n.send(), this.canPush() || n.trigger("ok", {}), n;
9030
9020
  }
9031
9021
  /**
@@ -9108,13 +9098,13 @@ var Cr = (e) => typeof e == "function" ? e : function() {
9108
9098
  isLeaving() {
9109
9099
  return this.state === rt.leaving;
9110
9100
  }
9111
- }, fi = class {
9101
+ }, pi = class {
9112
9102
  static request(e, t, n, r, i, o, s) {
9113
- if (dn.XDomainRequest) {
9114
- let c = new dn.XDomainRequest();
9103
+ if (pn.XDomainRequest) {
9104
+ let c = new pn.XDomainRequest();
9115
9105
  return this.xdomainRequest(c, e, t, r, i, o, s);
9116
9106
  } else {
9117
- let c = new dn.XMLHttpRequest();
9107
+ let c = new pn.XMLHttpRequest();
9118
9108
  return this.xhrRequest(c, e, t, n, r, i, o, s);
9119
9109
  }
9120
9110
  }
@@ -9175,7 +9165,7 @@ var Cr = (e) => typeof e == "function" ? e : function() {
9175
9165
  return e.replace("ws://", "http://").replace("wss://", "https://").replace(new RegExp("(.*)/" + Uo.websocket), "$1/" + Uo.longpoll);
9176
9166
  }
9177
9167
  endpointURL() {
9178
- return fi.appendParams(this.pollEndpoint, { token: this.token });
9168
+ return pi.appendParams(this.pollEndpoint, { token: this.token });
9179
9169
  }
9180
9170
  closeAndRetry(e, t, n) {
9181
9171
  this.close(e, t, n), this.readyState = It.connecting;
@@ -9242,11 +9232,11 @@ var Cr = (e) => typeof e == "function" ? e : function() {
9242
9232
  let o, s = () => {
9243
9233
  this.reqs.delete(o), r();
9244
9234
  };
9245
- o = fi.request(e, this.endpointURL(), t, n, this.timeout, s, (c) => {
9235
+ o = pi.request(e, this.endpointURL(), t, n, this.timeout, s, (c) => {
9246
9236
  this.reqs.delete(o), this.isActive() && i(c);
9247
9237
  }), this.reqs.add(o);
9248
9238
  }
9249
- }, Qr = {
9239
+ }, Zr = {
9250
9240
  HEADER_LENGTH: 1,
9251
9241
  META_LENGTH: 4,
9252
9242
  KINDS: { push: 0, reply: 1, broadcast: 2 },
@@ -9304,7 +9294,7 @@ var Cr = (e) => typeof e == "function" ? e : function() {
9304
9294
  let f = n.decode(e.slice(c, c + s));
9305
9295
  c = c + s;
9306
9296
  let p = e.slice(c, e.byteLength), y = { status: f, response: p };
9307
- return { join_ref: l, ref: u, topic: d, event: Rt.reply, payload: y };
9297
+ return { join_ref: l, ref: u, topic: d, event: Lt.reply, payload: y };
9308
9298
  },
9309
9299
  decodeBroadcast(e, t, n) {
9310
9300
  let r = t.getUint8(1), i = t.getUint8(2), o = this.HEADER_LENGTH + 2, s = n.decode(e.slice(o, o + r));
@@ -9316,7 +9306,7 @@ var Cr = (e) => typeof e == "function" ? e : function() {
9316
9306
  }
9317
9307
  }, bS = class {
9318
9308
  constructor(e, t = {}) {
9319
- this.stateChangeCallbacks = { open: [], close: [], error: [], message: [] }, this.channels = [], this.sendBuffer = [], this.ref = 0, this.timeout = t.timeout || CS, this.transport = t.transport || dn.WebSocket || hr, this.primaryPassedHealthCheck = !1, this.longPollFallbackMs = t.longPollFallbackMs, this.fallbackTimer = null, this.sessionStore = t.sessionStorage || dn && dn.sessionStorage, this.establishedConnections = 0, this.defaultEncoder = Qr.encode.bind(Qr), this.defaultDecoder = Qr.decode.bind(Qr), this.closeWasClean = !1, this.disconnecting = !1, this.binaryType = t.binaryType || "arraybuffer", this.connectClock = 1, this.transport !== hr ? (this.encode = t.encode || this.defaultEncoder, this.decode = t.decode || this.defaultDecoder) : (this.encode = this.defaultEncoder, this.decode = this.defaultDecoder);
9309
+ this.stateChangeCallbacks = { open: [], close: [], error: [], message: [] }, this.channels = [], this.sendBuffer = [], this.ref = 0, this.timeout = t.timeout || CS, this.transport = t.transport || pn.WebSocket || hr, this.primaryPassedHealthCheck = !1, this.longPollFallbackMs = t.longPollFallbackMs, this.fallbackTimer = null, this.sessionStore = t.sessionStorage || pn && pn.sessionStorage, this.establishedConnections = 0, this.defaultEncoder = Zr.encode.bind(Zr), this.defaultDecoder = Zr.decode.bind(Zr), this.closeWasClean = !1, this.disconnecting = !1, this.binaryType = t.binaryType || "arraybuffer", this.connectClock = 1, this.transport !== hr ? (this.encode = t.encode || this.defaultEncoder, this.decode = t.decode || this.defaultDecoder) : (this.encode = this.defaultEncoder, this.decode = this.defaultDecoder);
9320
9310
  let n = null;
9321
9311
  Er && Er.addEventListener && (Er.addEventListener("pagehide", (r) => {
9322
9312
  this.conn && (this.disconnect(), n = this.connectClock);
@@ -9356,8 +9346,8 @@ var Cr = (e) => typeof e == "function" ? e : function() {
9356
9346
  * @returns {string}
9357
9347
  */
9358
9348
  endPointURL() {
9359
- let e = fi.appendParams(
9360
- fi.appendParams(this.endPoint, this.params()),
9349
+ let e = pi.appendParams(
9350
+ pi.appendParams(this.endPoint, this.params()),
9361
9351
  { vsn: this.vsn }
9362
9352
  );
9363
9353
  return e.charAt(0) !== "/" ? e : e.charAt(1) === "/" ? `${this.protocol()}:${e}` : `${this.protocol()}://${location.host}${e}`;
@@ -9550,7 +9540,7 @@ var Cr = (e) => typeof e == "function" ? e : function() {
9550
9540
  */
9551
9541
  triggerChanError() {
9552
9542
  this.channels.forEach((e) => {
9553
- e.isErrored() || e.isLeaving() || e.isClosed() || e.trigger(Rt.error);
9543
+ e.isErrored() || e.isLeaving() || e.isClosed() || e.trigger(Lt.error);
9554
9544
  });
9555
9545
  }
9556
9546
  /**
@@ -9706,17 +9696,17 @@ const _s = (e) => (t) => {
9706
9696
  _currentPageUrl: xn
9707
9697
  },
9708
9698
  events: NS(OS)
9709
- }), LS = (e, t) => kS(!1, ["account", "stripQueryParams"], e) ? RS(t) : t, Ur = P(
9699
+ }), LS = (e, t) => kS(!1, ["account", "stripQueryParams"], e) ? RS(t) : t, Hr = P(
9710
9700
  () => window.AppcuesBundleSettings.API_HOSTNAME && `https://${window.AppcuesBundleSettings.API_HOSTNAME}/v1`,
9711
9701
  "https://api.appcues.net/v1"
9712
9702
  ), xS = P(
9713
9703
  () => window.AppcuesBundleSettings.GENERIC_BUNDLE_DOMAIN && `${window.AppcuesBundleSettings.GENERIC_BUNDLE_DOMAIN}/v1`,
9714
9704
  "https://fast.appcues.com/v1"
9715
- ), Hr = () => {
9705
+ ), Mr = () => {
9716
9706
  const e = window[Wo] || {};
9717
9707
  let t = {};
9718
9708
  return e.userIdSignature && (t = { Authorization: `Bearer ${e.userIdSignature}` }), t;
9719
- }, Mr = {
9709
+ }, $r = {
9720
9710
  UserActivity: "USER_ACTIVITY"
9721
9711
  };
9722
9712
  function PS(e, t, n, r) {
@@ -9757,12 +9747,12 @@ function bu(e, t, n, r = "event") {
9757
9747
  }
9758
9748
  });
9759
9749
  }
9760
- const FS = (e, t, n) => bu(e, Mr.UserActivity, n, t);
9750
+ const FS = (e, t, n) => bu(e, $r.UserActivity, n, t);
9761
9751
  function US(e, t, n, r, i = null, o = null, s = null, c = {}) {
9762
9752
  const l = r ? Ui() : null;
9763
9753
  return bu(
9764
9754
  e,
9765
- Mr.UserActivity,
9755
+ $r.UserActivity,
9766
9756
  LS(window.AppcuesBundleSettings, {
9767
9757
  source: "web",
9768
9758
  request_id: l,
@@ -9780,7 +9770,7 @@ function US(e, t, n, r, i = null, o = null, s = null, c = {}) {
9780
9770
  function wu(e, t) {
9781
9771
  return e.transport.module.sendMetrics(
9782
9772
  e,
9783
- Mr.UserActivity,
9773
+ $r.UserActivity,
9784
9774
  t
9785
9775
  );
9786
9776
  }
@@ -9790,12 +9780,12 @@ function Nu(e, t) {
9790
9780
  user: { userId: r, _localId: i }
9791
9781
  } = e;
9792
9782
  return or(
9793
- `${Ur()}/accounts/${encodeURIComponent(
9783
+ `${Hr()}/accounts/${encodeURIComponent(
9794
9784
  n
9795
9785
  )}/users/${encodeURIComponent(
9796
9786
  r || i
9797
9787
  )}/content/${encodeURIComponent(t)}`,
9798
- { headers: Hr() }
9788
+ { headers: Mr() }
9799
9789
  );
9800
9790
  }
9801
9791
  function HS(e, t) {
@@ -9804,12 +9794,12 @@ function HS(e, t) {
9804
9794
  user: { userId: r, _localId: i }
9805
9795
  } = e;
9806
9796
  return or(
9807
- `${Ur()}/accounts/${encodeURIComponent(
9797
+ `${Hr()}/accounts/${encodeURIComponent(
9808
9798
  n
9809
9799
  )}/users/${encodeURIComponent(
9810
9800
  r || i
9811
9801
  )}/experience_content/${encodeURIComponent(t)}`,
9812
- { headers: Hr() }
9802
+ { headers: Mr() }
9813
9803
  );
9814
9804
  }
9815
9805
  function MS(e, t) {
@@ -9818,12 +9808,12 @@ function MS(e, t) {
9818
9808
  user: { userId: r, _localId: i }
9819
9809
  } = e;
9820
9810
  return or(
9821
- `${Ur()}/accounts/${encodeURIComponent(
9811
+ `${Hr()}/accounts/${encodeURIComponent(
9822
9812
  n
9823
9813
  )}/users/${encodeURIComponent(
9824
9814
  r || i
9825
9815
  )}/checklist/${encodeURIComponent(t)}`,
9826
- { headers: Hr() }
9816
+ { headers: Mr() }
9827
9817
  );
9828
9818
  }
9829
9819
  function $S(e, t) {
@@ -9836,21 +9826,21 @@ function $S(e, t) {
9836
9826
  function BS(e) {
9837
9827
  const { userId: t, _localId: n } = be(e);
9838
9828
  return or(
9839
- `${Ur()}/accounts/${encodeURIComponent(
9829
+ `${Hr()}/accounts/${encodeURIComponent(
9840
9830
  e.settings.accountId
9841
9831
  )}/users/${encodeURIComponent(t || n)}/history`,
9842
- { headers: Hr() }
9832
+ { headers: Mr() }
9843
9833
  );
9844
9834
  }
9845
9835
  function VS(e) {
9846
9836
  const { userId: t, _localId: n } = be(e);
9847
9837
  return or(
9848
- `${Ur()}/accounts/${encodeURIComponent(
9838
+ `${Hr()}/accounts/${encodeURIComponent(
9849
9839
  e.settings.accountId
9850
9840
  )}/users/${encodeURIComponent(
9851
9841
  t || n
9852
9842
  )}/widget?url=${encodeURIComponent(window.location.href)}`,
9853
- { headers: Hr() }
9843
+ { headers: Mr() }
9854
9844
  );
9855
9845
  }
9856
9846
  const WS = "access forbidden", GS = "unauthorized", jS = P(
@@ -9858,11 +9848,11 @@ const WS = "access forbidden", GS = "unauthorized", jS = P(
9858
9848
  "wss://api.appcues.net/v1/socket"
9859
9849
  ), Ho = [
9860
9850
  {
9861
- endpoint: Mr.UserActivity,
9851
+ endpoint: $r.UserActivity,
9862
9852
  name: (e) => `sdk:${e.settings.accountId}:${e.user.userId}`
9863
9853
  }
9864
9854
  ];
9865
- function Zr(e, t) {
9855
+ function ei(e, t) {
9866
9856
  let n;
9867
9857
  for (const r of Ho)
9868
9858
  if (r.endpoint === t) {
@@ -9921,7 +9911,7 @@ const YS = {
9921
9911
  }), i.connect();
9922
9912
  },
9923
9913
  send: (e, t, n, r, i = "event") => {
9924
- const o = Zr(e, t);
9914
+ const o = ei(e, t);
9925
9915
  if (o && o.canPush())
9926
9916
  o.push(i, n).receive(
9927
9917
  "ok",
@@ -9951,14 +9941,14 @@ const YS = {
9951
9941
  }
9952
9942
  },
9953
9943
  subscribeToError: (e, t, n) => {
9954
- Zr(t, n).onError(e);
9944
+ ei(t, n).onError(e);
9955
9945
  },
9956
9946
  sendMetrics: (e, t, n) => {
9957
- const r = Zr(e, t);
9947
+ const r = ei(e, t);
9958
9948
  r && r.canPush() && r.push("sdk_metrics", n);
9959
9949
  },
9960
9950
  isConfigured: (e) => Ho.every((t) => {
9961
- const n = Zr(e, t.endpoint);
9951
+ const n = ei(e, t.endpoint);
9962
9952
  return n ? n.canPush() : !1;
9963
9953
  }),
9964
9954
  configure: (e, t) => {
@@ -10001,7 +9991,7 @@ function bn(e) {
10001
9991
  } catch {
10002
9992
  }
10003
9993
  }
10004
- function Jt(e, t) {
9994
+ function Zt(e, t) {
10005
9995
  try {
10006
9996
  return window.performance.measure(ku, {
10007
9997
  start: e,
@@ -10036,17 +10026,17 @@ function iT(e, t) {
10036
10026
  const n = je.request(e), r = je.response(e), i = je.attempt(e), o = je.render(e), s = je.css(e), c = je.shown(e);
10037
10027
  let l = Number.NaN;
10038
10028
  try {
10039
- l = Jt(0, je.init());
10029
+ l = Zt(0, je.init());
10040
10030
  } catch {
10041
10031
  }
10042
10032
  const u = {
10043
10033
  ...Number.isNaN(l) ? {} : { init_time: l },
10044
- api_response_duration: Jt(n, r),
10045
- time_to_attempt: Jt(r, i),
10046
- time_to_render: Jt(i, o),
10047
- css_load_time: Jt(o, s),
10048
- time_to_reveal: Jt(s, c),
10049
- time_to_show: Jt(n, c),
10034
+ api_response_duration: Zt(n, r),
10035
+ time_to_attempt: Zt(r, i),
10036
+ time_to_render: Zt(i, o),
10037
+ css_load_time: Zt(o, s),
10038
+ time_to_reveal: Zt(s, c),
10039
+ time_to_show: Zt(n, c),
10050
10040
  step_type: t,
10051
10041
  request_id: e
10052
10042
  };
@@ -10079,9 +10069,9 @@ const cT = b(
10079
10069
  (e, t, n) => ({ contentId: e, childId: t, errorMessage: n })
10080
10070
  ), Ru = b(Ge.CLOSE_DEBUGGER), fT = b(Je.PAUSE_EXPERIENCE), pT = b(
10081
10071
  Je.RESUME_EXPERIENCE
10082
- ), Is = b(Je.SHOW_EXPERIENCES), br = b(
10072
+ ), Is = b(Je.SHOW_EXPERIENCES), wr = b(
10083
10073
  Je.SAVE_ON_HOLD_LAUNCHPADS
10084
- ), wr = b(
10074
+ ), Nr = b(
10085
10075
  Je.UNHIDE_LAUNCHPADS
10086
10076
  ), Lu = b(Je.HIDE_LAUNCHPADS), xu = "EVENTS_TRIGGERED", hT = b(xu), As = b(Ct.SET_SESSION), vs = b(Ct.START_SESSION), mT = b(Ct.SESSION_STARTED);
10087
10077
  function* Pu() {
@@ -10090,7 +10080,7 @@ function* Pu() {
10090
10080
  const t = yield v(dt);
10091
10081
  e = yield E(BS, t);
10092
10082
  } catch (t) {
10093
- const n = yield v(Ht);
10083
+ const n = yield v(Mt);
10094
10084
  yield E(n, t, { extra: t.extra });
10095
10085
  }
10096
10086
  e && (yield g(mS(e.journeys)));
@@ -10101,7 +10091,7 @@ function* Du() {
10101
10091
  const t = yield v(dt);
10102
10092
  e = yield E(VS, t);
10103
10093
  } catch (t) {
10104
- const n = yield v(Ht);
10094
+ const n = yield v(Mt);
10105
10095
  yield E(n, t, { extra: t.extra });
10106
10096
  }
10107
10097
  e && (yield g(ES(e.contents)));
@@ -10122,7 +10112,7 @@ function Re(e, t) {
10122
10112
  return null;
10123
10113
  }
10124
10114
  }
10125
- function Fe(e, t) {
10115
+ function De(e, t) {
10126
10116
  try {
10127
10117
  window[e].removeItem(t);
10128
10118
  } catch {
@@ -10140,7 +10130,7 @@ function yT(e) {
10140
10130
  return z.ANNOTATION.includes(e);
10141
10131
  }
10142
10132
  function* Hi() {
10143
- const e = yield E(Re, De, gi);
10133
+ const e = yield E(Re, Fe, yi);
10144
10134
  try {
10145
10135
  return JSON.parse(e);
10146
10136
  } catch {
@@ -10216,14 +10206,14 @@ function* AT(e) {
10216
10206
  const t = yield* Hi();
10217
10207
  yield E(
10218
10208
  He,
10219
- De,
10220
- gi,
10209
+ Fe,
10210
+ yi,
10221
10211
  JSON.stringify({ ...t, ...e })
10222
10212
  );
10223
10213
  }
10224
10214
  function* Fu(e, t, n) {
10225
10215
  if (Object.keys(e).length > 0) {
10226
- const r = yield v(Ii), i = Object.keys(e).filter((o) => !r[o] || !r[o].errorReported);
10216
+ const r = yield v(Ai), i = Object.keys(e).filter((o) => !r[o] || !r[o].errorReported);
10227
10217
  if (i.length > 0) {
10228
10218
  const o = {};
10229
10219
  i.forEach((s) => {
@@ -10248,13 +10238,13 @@ function* vT(e) {
10248
10238
  delete t[n];
10249
10239
  }), yield E(
10250
10240
  He,
10251
- De,
10252
- gi,
10241
+ Fe,
10242
+ yi,
10253
10243
  JSON.stringify(t)
10254
10244
  ));
10255
10245
  }
10256
10246
  function* bT(e) {
10257
- const t = yield v(Ii), r = Object.keys(t).filter(
10247
+ const t = yield v(Ai), r = Object.keys(t).filter(
10258
10248
  (i) => t[i].errorReported || t[i].existingError
10259
10249
  ).filter(
10260
10250
  (i) => e[i] && !e[i].error && t[i] && !t[i].recoveryReported
@@ -10277,7 +10267,7 @@ function* wT() {
10277
10267
  // eslint-disable-next-line no-cond-assign
10278
10268
  (e = yield v(Ve)) && e !== te.ERROR;
10279
10269
  ) {
10280
- const n = yield v(tt), r = yield v(Nt), o = (yield n.map((c) => E(
10270
+ const n = yield v(tt), r = yield v(kt), o = (yield n.map((c) => E(
10281
10271
  Fa,
10282
10272
  (r[c.id] || {}).element || null,
10283
10273
  bo(c)
@@ -10299,13 +10289,13 @@ function* wT() {
10299
10289
  for (const l in r)
10300
10290
  if (Object.prototype.hasOwnProperty.call(r, l)) {
10301
10291
  const u = r[l];
10302
- if (u.isBeaconSettled || c - u.lastRepositionedTs > on && (yield g(Dy(l, !0))), u.expanded && !u.isTooltipSettled) {
10303
- const d = c - u.lastResizeTs > on, f = c - u.lastExpandedTs > bd;
10292
+ if (u.isBeaconSettled || c - u.lastRepositionedTs > cn && (yield g(Dy(l, !0))), u.expanded && !u.isTooltipSettled) {
10293
+ const d = c - u.lastResizeTs > cn, f = c - u.lastExpandedTs > bd;
10304
10294
  (d || f) && (yield g(qy(l, !0)));
10305
10295
  }
10306
10296
  }
10307
10297
  }
10308
- yield E(ve, on);
10298
+ yield E(ve, cn);
10309
10299
  }
10310
10300
  }
10311
10301
  function* NT() {
@@ -10326,14 +10316,14 @@ function* kT() {
10326
10316
  const t = Date.now(), n = Object.keys(e).reduce((r, i) => (e[i].ts + wd > t && (r[i] = e[i]), r), {});
10327
10317
  yield E(
10328
10318
  He,
10329
- De,
10330
- gi,
10319
+ Fe,
10320
+ yi,
10331
10321
  JSON.stringify(n)
10332
10322
  );
10333
10323
  }
10334
10324
  }
10335
10325
  function* OT(e) {
10336
- let t = yield v(Nt);
10326
+ let t = yield v(kt);
10337
10327
  const n = yield v(tt);
10338
10328
  let r = t[e] || {};
10339
10329
  const i = lt(
@@ -10343,9 +10333,9 @@ function* OT(e) {
10343
10333
  let { element: o, error: s } = r;
10344
10334
  const { offset_y_percentage: c } = i, l = 1 - Number.parseFloat(c);
10345
10335
  for (; !o || s; )
10346
- yield W(he.SET_ANNOTATIONS_POSITIONS), t = yield v(Nt), r = t[e] || {}, o = r.element, s = r.error;
10336
+ yield W(he.SET_ANNOTATIONS_POSITIONS), t = yield v(kt), r = t[e] || {}, o = r.element, s = r.error;
10347
10337
  const u = yield E(ch, o);
10348
- if (Ni(o)) {
10338
+ if (ki(o)) {
10349
10339
  if (window.document?.documentMode) return;
10350
10340
  setTimeout(() => {
10351
10341
  o.scrollIntoView({ behavior: "smooth", block: "center" });
@@ -10452,7 +10442,7 @@ function* Mu(e) {
10452
10442
  }
10453
10443
  function* FT(e) {
10454
10444
  for (; !(yield E(Mu, e)).result; )
10455
- yield E(ve, on);
10445
+ yield E(ve, cn);
10456
10446
  return { result: !0 };
10457
10447
  }
10458
10448
  function* UT(e, t, n = null) {
@@ -10466,18 +10456,18 @@ function* UT(e, t, n = null) {
10466
10456
  try {
10467
10457
  o = yield E(() => r), s = !0;
10468
10458
  } finally {
10469
- return !s && i && (yield Ti()) && (yield E([e, e.removeEventListener], t, i)), o;
10459
+ return !s && i && (yield Ci()) && (yield E([e, e.removeEventListener], t, i)), o;
10470
10460
  }
10471
10461
  }
10472
- function pi(e, t = null, n = null) {
10462
+ function hi(e, t = null, n = null) {
10473
10463
  return { result: e, task: t, failures: n };
10474
10464
  }
10475
10465
  function* HT(e) {
10476
10466
  const { result: t, failures: n } = yield E(Mu, e);
10477
10467
  if (t)
10478
- return pi(!0);
10479
- const r = yield wt(FT, e);
10480
- return pi(!1, r, n);
10468
+ return hi(!0);
10469
+ const r = yield Nt(FT, e);
10470
+ return hi(!1, r, n);
10481
10471
  }
10482
10472
  function* al(e, t, n) {
10483
10473
  let r, i;
@@ -10485,19 +10475,19 @@ function* al(e, t, n) {
10485
10475
  try {
10486
10476
  const o = yield E(us, t);
10487
10477
  if (o.error)
10488
- yield E(ve, on);
10478
+ yield E(ve, cn);
10489
10479
  else {
10490
10480
  if ((r !== o || !i) && (i && (yield ot(i)), r = o, i = yield F(UT, r, e, n)), i && i.result())
10491
10481
  return { result: !0 };
10492
10482
  const { eventOccurred: s } = yield qe({
10493
- timeout: E(ve, on),
10483
+ timeout: E(ve, cn),
10494
10484
  eventOccurred: In(i)
10495
10485
  });
10496
10486
  if (s)
10497
10487
  return { result: !0 };
10498
10488
  }
10499
10489
  } catch {
10500
- yield E(ve, on);
10490
+ yield E(ve, cn);
10501
10491
  }
10502
10492
  }
10503
10493
  function* MT(e) {
@@ -10516,11 +10506,11 @@ function* $u(e) {
10516
10506
  case Un.WAIT_FOR_ONE_ELEMENT:
10517
10507
  return yield E(HT, e.params.selectors);
10518
10508
  case Un.WAIT_FOR_MOUSE_EVENT: {
10519
- const n = yield wt(MT, e);
10520
- return pi(!1, n);
10509
+ const n = yield Nt(MT, e);
10510
+ return hi(!1, n);
10521
10511
  }
10522
10512
  default:
10523
- return pi(!0);
10513
+ return hi(!0);
10524
10514
  }
10525
10515
  }
10526
10516
  function* $T(e, t, ...n) {
@@ -10530,9 +10520,9 @@ function* $T(e, t, ...n) {
10530
10520
  try {
10531
10521
  o = (yield In(i)).result;
10532
10522
  } finally {
10533
- i.isRunning() && (yield Ti()) && (yield ot(i));
10523
+ i.isRunning() && (yield Ci()) && (yield ot(i));
10534
10524
  }
10535
- o && (yield wt(t, ...n));
10525
+ o && (yield Nt(t, ...n));
10536
10526
  }
10537
10527
  function BT(e, t, n) {
10538
10528
  return { type: e, params: t, context: n };
@@ -10569,8 +10559,8 @@ function* at(e, t) {
10569
10559
  );
10570
10560
  }
10571
10561
  function* ul(e, t, n) {
10572
- const r = yield* Kt();
10573
- yield* Ft({
10562
+ const r = yield* Xt();
10563
+ yield* Ut({
10574
10564
  ...r,
10575
10565
  flowId: e.id,
10576
10566
  stepId: t.id,
@@ -10610,20 +10600,20 @@ function dl(e, t) {
10610
10600
  return t ? { ...e, _sdkMetrics: t } : e;
10611
10601
  }
10612
10602
  function* jT(e, t, n) {
10613
- const r = yield v(kt);
10603
+ const r = yield v(Ot);
10614
10604
  for (; ; ) {
10615
10605
  const i = yield W(t), o = i.params || {}, s = o.stepId ? ct(e, o.stepId) : null;
10616
10606
  let c, l;
10617
- const u = s ? (c = Pt(e, 0)) && c.id === s.id : !1, f = (s ? (l = Pt(e, ua(e) - 1)) && l.id === s.id : !1) || o.shouldEndFlow;
10607
+ const u = s ? (c = Dt(e, 0)) && c.id === s.id : !1, f = (s ? (l = Dt(e, ua(e) - 1)) && l.id === s.id : !1) || o.shouldEndFlow;
10618
10608
  switch (i.type) {
10619
10609
  case Y.STEP_ATTEMPTED:
10620
10610
  if (s && // Don't send this event for satisfcation surveys (and possibly eventually other types), we want to keep the logging very focused.
10621
10611
  Ln(s)) {
10622
- if (nn(s)) {
10612
+ if (on(s)) {
10623
10613
  const y = [];
10624
10614
  u && y.push(Lc(e, r)), y.push(xc(e, s, r)), yield* at(e.id, y);
10625
- const { page_check_limit: h } = s.attributes.params, m = yield* Kt(), { remainingPagesToCheck: T } = m || {};
10626
- yield* Ft({
10615
+ const { page_check_limit: h } = s.attributes.params, m = yield* Xt(), { remainingPagesToCheck: T } = m || {};
10616
+ yield* Ut({
10627
10617
  ...m,
10628
10618
  remainingPagesToCheck: typeof T == "number" ? T : typeof h == "number" ? h : jo
10629
10619
  });
@@ -10639,8 +10629,8 @@ function* jT(e, t, n) {
10639
10629
  case Y.STEP_SHOWN:
10640
10630
  if (s) {
10641
10631
  if (Ln(s)) {
10642
- const p = yield* Kt(), y = u || !p ? Ui() : p.submissionId, h = u || !p ? yield E(gr, window, "appcue") : p.fromPermalink;
10643
- yield* Ft({
10632
+ const p = yield* Xt(), y = u || !p ? Ui() : p.submissionId, h = u || !p ? yield E(gr, window, "appcue") : p.fromPermalink;
10633
+ yield* Ut({
10644
10634
  ...p,
10645
10635
  submissionId: y,
10646
10636
  status: Y.STEP_SHOWN,
@@ -10664,19 +10654,19 @@ function* jT(e, t, n) {
10664
10654
  s && (yield* at(e.id, [
10665
10655
  SE(e, s, o.stepChildId, r),
10666
10656
  mE(e, o.stepId, r)
10667
- ]), yield* Yt(e, s), yield g(yn(e.id, Ut.SKIPPED)), yield g(vr()), yield g(wr()));
10657
+ ]), yield* Ht(e, s), yield g(zt(e.id, wt.SKIPPED)), yield g(br()), yield g(Nr()));
10668
10658
  break;
10669
10659
  case Y.STEP_END:
10670
10660
  if (s) {
10671
10661
  const p = yield v(ce);
10672
- if (p === s.id && (yield* Yt(e, s)), f)
10673
- yield g(yn(e.id, Ut.COMPLETED));
10662
+ if (p === s.id && (yield* Ht(e, s)), f)
10663
+ yield g(zt(e.id, wt.COMPLETED));
10674
10664
  else {
10675
- const y = Pt(
10665
+ const y = Dt(
10676
10666
  e,
10677
10667
  $n(e, s.id) + 1
10678
10668
  );
10679
- y.type === z.HOTSPOTS && (yield g(vr()), yield g(wr())), p === s.id && (yield g(
10669
+ y.type === z.HOTSPOTS && (yield g(br()), yield g(Nr())), p === s.id && (yield g(
10680
10670
  t,
10681
10671
  Se(
10682
10672
  Y.STEP_ATTEMPTED,
@@ -10804,7 +10794,7 @@ function* jT(e, t, n) {
10804
10794
  }
10805
10795
  case Y.CHILD_NEXT:
10806
10796
  if (s) {
10807
- const p = hn(s, o.stepChildId);
10797
+ const p = mn(s, o.stepChildId);
10808
10798
  let y = null;
10809
10799
  p > -1 && (y = (vo(s, p + 1) || {}).id || null);
10810
10800
  let h = s.type;
@@ -10816,9 +10806,9 @@ function* jT(e, t, n) {
10816
10806
  case Y.CHILD_RUN: {
10817
10807
  const p = vo(
10818
10808
  s,
10819
- hn(s, o.stepChildId)
10809
+ mn(s, o.stepChildId)
10820
10810
  );
10821
- yield g(an(o.stepChildId)), p && p.ui_conditions && p.ui_conditions.next && (yield wt(GT, e, s, p));
10811
+ yield g(dn(o.stepChildId)), p && p.ui_conditions && p.ui_conditions.next && (yield Nt(GT, e, s, p));
10822
10812
  break;
10823
10813
  }
10824
10814
  case Y.CSS_LOADED: {
@@ -10845,7 +10835,7 @@ function* jT(e, t, n) {
10845
10835
  }
10846
10836
  }
10847
10837
  function bs(e) {
10848
- Fe("localStorage", e), Fe("localStorage", `${e}_timeout`);
10838
+ De("localStorage", e), De("localStorage", `${e}_timeout`);
10849
10839
  }
10850
10840
  function Bu(e) {
10851
10841
  if (!e)
@@ -10865,13 +10855,13 @@ function* KT(e, t) {
10865
10855
  ), yield ot(t);
10866
10856
  }
10867
10857
  function* Wu(e, t) {
10868
- const n = yield E(Gn.expanding, 5), r = yield E(la, n), i = yield wt(
10858
+ const n = yield E(Gn.expanding, 5), r = yield E(la, n), i = yield Nt(
10869
10859
  jT,
10870
10860
  e,
10871
10861
  r,
10872
10862
  t
10873
10863
  );
10874
- return yield wt(KT, e.id, i), r;
10864
+ return yield Nt(KT, e.id, i), r;
10875
10865
  }
10876
10866
  function YT(e) {
10877
10867
  if (e.uiConditions && e.uiConditions.start)
@@ -10910,15 +10900,15 @@ function* zT(e, t, n, r, i) {
10910
10900
  try {
10911
10901
  o = (yield In(e)).result, o && (yield g(Pi(n, Xe.FLOWS)), yield g(ps(n, r, i, t)));
10912
10902
  } finally {
10913
- (yield Ti()) && (yield ot(e)), o || (yield g(t, yr));
10903
+ (yield Ci()) && (yield ot(e)), o || (yield g(t, yr));
10914
10904
  }
10915
10905
  }
10916
- function* hi(e) {
10906
+ function* mi(e) {
10917
10907
  for (; (yield v(If, e)).length > 0; )
10918
10908
  yield W($.FINISHED_EVENT);
10919
10909
  }
10920
10910
  function* Gu(e, t, n, r, i = !0) {
10921
- const o = yield E(Wu, e, r), s = t ? ct(e, t) : Pt(e, 0);
10911
+ const o = yield E(Wu, e, r), s = t ? ct(e, t) : Dt(e, 0);
10922
10912
  Ln(s) && s.attributes.action_type !== Tt.WAIT_FOR_PAGE && (yield g(
10923
10913
  o,
10924
10914
  Se(Y.STEP_ATTEMPTED, s.id)
@@ -10934,7 +10924,7 @@ function* Gu(e, t, n, r, i = !0) {
10934
10924
  yield E(Fu, h, s.id, o);
10935
10925
  }
10936
10926
  const y = [$.START_FLOW];
10937
- return i !== !1 && y.push($.CANCEL_ATTEMPTS), yield wt(lE, {
10927
+ return i !== !1 && y.push($.CANCEL_ATTEMPTS), yield Nt(lE, {
10938
10928
  wait: E(zT, d, o, e.id, s.id, n),
10939
10929
  cancel: W(y)
10940
10930
  }), !1;
@@ -10945,32 +10935,32 @@ function* fl(e, t, n, r) {
10945
10935
  }
10946
10936
  function* XT(e) {
10947
10937
  const { flowId: t, stepId: n, url: r, eventChannel: i, status: o } = e.payload, s = yield v(ts, t), c = ct(s, n);
10948
- c && (c.type === z.HOTSPOTS && (yield g(vr()), yield g(wr())), yield g(Va(c, r, o)));
10938
+ c && (c.type === z.HOTSPOTS && (yield g(br()), yield g(Nr())), yield g(Va(c, r, o)));
10949
10939
  const { payload: l } = yield W(
10950
10940
  (u) => u.type === le.CLOSE_FLOW && u.payload.flowId === t
10951
10941
  );
10952
- yield E(Fe, Ae, pn), yield g(hm(i)), yield qe({
10953
- wait: E(hi, t),
10942
+ yield E(De, Ie, jt), yield g(hm(i)), yield qe({
10943
+ wait: E(mi, t),
10954
10944
  cancel: E(ve, qo)
10955
- }), !s.redirect_url && !s.next_content_id && (yield g(vr()), yield g(wr())), l.type === Ut.COMPLETED && (s.redirect_url ? (s.next_content_id && (yield E(
10945
+ }), !s.redirect_url && !s.next_content_id && (yield g(br()), yield g(Nr())), l.type === wt.COMPLETED && (s.redirect_url ? (s.next_content_id && (yield E(
10956
10946
  Vu,
10957
10947
  Dn,
10958
10948
  s.next_content_id,
10959
10949
  kl
10960
- )), yield E(qt, window, s.redirect_url, s.redirect_new_tab)) : s.next_content_id && (yield g(Lr(s.next_content_id))));
10950
+ )), yield E(Yt, window, s.redirect_url, s.redirect_new_tab)) : s.next_content_id && (yield g(xr(s.next_content_id))));
10961
10951
  }
10962
- function* Kt() {
10952
+ function* Xt() {
10963
10953
  try {
10964
- return JSON.parse(yield E(Re, Ae, pn));
10954
+ return JSON.parse(yield E(Re, Ie, jt));
10965
10955
  } catch {
10966
10956
  return {};
10967
10957
  }
10968
10958
  }
10969
- function* Ft(e) {
10959
+ function* Ut(e) {
10970
10960
  yield E(
10971
10961
  He,
10972
- Ae,
10973
- pn,
10962
+ Ie,
10963
+ jt,
10974
10964
  JSON.stringify(e)
10975
10965
  );
10976
10966
  }
@@ -11001,7 +10991,7 @@ function* JT(e) {
11001
10991
  if (n)
11002
10992
  yield g(Ac(t, n));
11003
10993
  else if (t.attributes.action_type === Tt.WAIT_FOR_PAGE) {
11004
- const r = yield* Kt(), i = n || r && r.status || Y.STEP_ATTEMPTED;
10994
+ const r = yield* Xt(), i = n || r && r.status || Y.STEP_ATTEMPTED;
11005
10995
  yield g(Ac(t, i));
11006
10996
  } else
11007
10997
  yield g(km(t));
@@ -11014,7 +11004,7 @@ function* JT(e) {
11014
11004
  );
11015
11005
  }
11016
11006
  }
11017
- function* Yt(e, t) {
11007
+ function* Ht(e, t) {
11018
11008
  if (!t) return;
11019
11009
  (yield v(Ve)) === te.SHOWING && (yield g(Cm()), yield E(ve, Nd)), yield g(lm(t)), yield g(_y(e.id, t.id));
11020
11010
  }
@@ -11067,8 +11057,8 @@ function nC(e, t, n = {}) {
11067
11057
  _timezoneOffset: (/* @__PURE__ */ new Date()).getTimezoneOffset(),
11068
11058
  _appId: e.AppcuesBundleSettings?.defaultAppId || null
11069
11059
  };
11070
- return s ? (f._testContentId = s, f._testContentUrl = i, He(Ae, yo, !0)) : r._testContentId && r._testContentUrl && (f._testContentId = r._testContentId, f._testContentUrl = r._testContentUrl), Re(
11071
- Ae,
11060
+ return s ? (f._testContentId = s, f._testContentUrl = i, He(Ie, yo, !0)) : r._testContentId && r._testContentUrl && (f._testContentId = r._testContentId, f._testContentUrl = r._testContentUrl), Re(
11061
+ Ie,
11072
11062
  yo
11073
11063
  ) || (f._testContentId = null, f._testContentUrl = null), f;
11074
11064
  }
@@ -11156,7 +11146,7 @@ const sC = Jn(
11156
11146
  Zn,
11157
11147
  nr
11158
11148
  ],
11159
- vi.createApi({
11149
+ bi.createApi({
11160
11150
  clean: !0,
11161
11151
  trustedTypesPolicy: window.trustedTypes?.defaultPolicy
11162
11152
  })
@@ -11178,7 +11168,7 @@ function* qu(e) {
11178
11168
  try {
11179
11169
  sC(
11180
11170
  document.createElement("div"),
11181
- Dt(`<div>${r.html}</div>`, {
11171
+ Ft(`<div>${r.html}</div>`, {
11182
11172
  hooks: {
11183
11173
  create: cC
11184
11174
  }
@@ -11214,9 +11204,9 @@ const aC = () => {
11214
11204
  };
11215
11205
  function* uC() {
11216
11206
  try {
11217
- const e = yield E(Re, De, si), t = JSON.parse(e);
11207
+ const e = yield E(Re, Fe, ci), t = JSON.parse(e);
11218
11208
  if (!t.id || !t.timestamp)
11219
- throw yield E(Fe, De, si), new Error("Invalid session");
11209
+ throw yield E(De, Fe, ci), new Error("Invalid session");
11220
11210
  return t;
11221
11211
  } catch {
11222
11212
  return {};
@@ -11238,7 +11228,7 @@ function* fC() {
11238
11228
  }
11239
11229
  function* pC() {
11240
11230
  const e = yield v(Yn);
11241
- yield E(He, De, si, JSON.stringify(e));
11231
+ yield E(He, Fe, ci, JSON.stringify(e));
11242
11232
  }
11243
11233
  function* Ku() {
11244
11234
  const e = yield v(Yn);
@@ -11275,8 +11265,8 @@ function* ks(e = !1) {
11275
11265
  return null;
11276
11266
  let n = yield E(
11277
11267
  Re,
11278
- Ae,
11279
- sn
11268
+ Ie,
11269
+ ln
11280
11270
  );
11281
11271
  try {
11282
11272
  n = JSON.parse(n);
@@ -11291,8 +11281,8 @@ function* ks(e = !1) {
11291
11281
  );
11292
11282
  if (yield E(
11293
11283
  He,
11294
- Ae,
11295
- sn,
11284
+ Ie,
11285
+ ln,
11296
11286
  JSON.stringify(r)
11297
11287
  ), (yield E(Hu, window)) && window.history && window.location) {
11298
11288
  const l = yield E(
@@ -11307,22 +11297,22 @@ function* ks(e = !1) {
11307
11297
  l
11308
11298
  ), window.location.reload();
11309
11299
  }
11310
- let o = yield E(Re, De, So);
11311
- o || (o = yield E(Ui), yield E(He, De, So, o));
11300
+ let o = yield E(Re, Fe, So);
11301
+ o || (o = yield E(Ui), yield E(He, Fe, So, o));
11312
11302
  const s = yield v(Ef), c = rC({
11313
11303
  _localId: o,
11314
11304
  _appcuesId: s,
11315
11305
  ...r
11316
11306
  });
11317
- return yield g(xr(c, !0)), c;
11307
+ return yield g(Pr(c, !0)), c;
11318
11308
  }
11319
11309
  function* Yu() {
11320
- yield g(ym()), yield E(Fe, Ae, sn), yield E(Fe, De, So), yield E(Fe, De, Ko), yield E(Fe, De, yi), yield E(bs, Dn), yield E(Fe, Ae, pn), yield E(Fe, De, si), yield E(gT, Ae, Yo), yield E(ks, !0);
11310
+ yield g(ym()), yield E(De, Ie, ln), yield E(De, Fe, So), yield E(De, Fe, Ko), yield E(De, Fe, Si), yield E(bs, Dn), yield E(De, Ie, jt), yield E(De, Fe, ci), yield E(gT, Ie, Yo), yield E(ks, !0);
11321
11311
  }
11322
11312
  function* pl(e) {
11323
11313
  const { properties: t, events: n } = e.payload, { _isAnonymous: r } = t, { userId: i } = e.payload, o = yield v(be), s = o && o.userId && o.userId.toString(), c = s !== i.toString();
11324
- s && c && !r && (yield E(Yu)), yield g(gm(i)), ne.defined(i) && (yield E(He, De, Ko, i)), yield g(
11325
- xr(
11314
+ s && c && !r && (yield E(Yu)), yield g(gm(i)), ne.defined(i) && (yield E(He, Fe, Ko, i)), yield g(
11315
+ Pr(
11326
11316
  {
11327
11317
  _doNotTrack: `${window.navigator && window.navigator.doNotTrack}`[0] === "1",
11328
11318
  ...t
@@ -11421,27 +11411,27 @@ function Rs(e) {
11421
11411
  return null;
11422
11412
  }
11423
11413
  function Xu(e) {
11424
- return nn(e) && St(e.attributes.params.url, window.location.href);
11414
+ return on(e) && St(e.attributes.params.url, window.location.href);
11425
11415
  }
11426
11416
  function* Ju(e) {
11427
11417
  let t = e, n = null, r = null, i = null, o = null, s = null;
11428
11418
  const c = yield v(nt);
11429
11419
  if (t && (!c || c.id !== t && (!c.migrated_from_step_id || c.migrated_from_step_id !== t))) {
11430
- if (r = window.location.href, yield g(xi()), c && ne.defined(c.id)) {
11420
+ if (r = window.location.href, yield g(vr()), c && ne.defined(c.id)) {
11431
11421
  const u = yield v(ce), d = ct(c, u);
11432
- d && (yield* Yt(c, d)), yield g(
11433
- yn(
11422
+ d && (yield* Ht(c, d)), yield g(
11423
+ zt(
11434
11424
  c.id,
11435
- Ut.SHOWING_OTHER_CONTENT
11425
+ wt.SHOWING_OTHER_CONTENT
11436
11426
  )
11437
11427
  );
11438
11428
  }
11439
- const l = yield v(Or);
11429
+ const l = yield v(Rr);
11440
11430
  if (l && l[t])
11441
11431
  n = l[t];
11442
11432
  else {
11443
11433
  yield g(_m(t, r));
11444
- const u = yield v(dt), d = yield v(Ht);
11434
+ const u = yield v(dt), d = yield v(Mt);
11445
11435
  try {
11446
11436
  n = yield E(Nu, u, t);
11447
11437
  } catch (f) {
@@ -11469,82 +11459,87 @@ function* Ju(e) {
11469
11459
  return { shownUrl: r, content: n, checklistContent: o, experience: s };
11470
11460
  }
11471
11461
  function SC(e) {
11472
- return kr(e) && St(e.attributes.params.url, window.location.href);
11462
+ return Or(e) && St(e.attributes.params.url, window.location.href);
11473
11463
  }
11474
11464
  function TC(e, t) {
11475
- return !kr(e) && t === Y.STEP_COMPLETED;
11465
+ return !Or(e) && t === Y.STEP_COMPLETED;
11476
11466
  }
11477
11467
  function* CC() {
11478
11468
  const e = JSON.parse(
11479
- yield E(Re, Ae, pn)
11469
+ yield E(Re, Ie, jt)
11480
11470
  );
11481
11471
  if (e) {
11482
- const t = yield v(nt), n = t && t.id === e.flowId, r = ct(
11483
- t,
11472
+ let t = e;
11473
+ const n = yield v(nt), r = n && n.id === e.flowId, i = ct(
11474
+ n,
11484
11475
  e.stepId
11485
11476
  );
11486
- let i = window.location.href;
11487
- if (nn(r)) {
11477
+ let o = window.location.href;
11478
+ if (on(i)) {
11488
11479
  if (yield E(
11489
11480
  Xu,
11490
- r
11481
+ i
11491
11482
  ))
11492
11483
  return yield ut(
11493
11484
  fl,
11494
- t,
11495
- r.id,
11496
- i,
11485
+ n,
11486
+ i.id,
11487
+ o,
11497
11488
  null
11498
11489
  ), !0;
11499
- const l = e.remainingPagesToCheck;
11500
- return l === 1 ? (yield g(xi()), yield E(Yt, t, r), yield g(
11501
- yn(t.id, Ut.CLEAR)
11502
- ), !1) : (yield E(Ft, {
11490
+ const u = e.remainingPagesToCheck;
11491
+ return u === 1 ? (yield g(vr()), yield E(Ht, n, i), yield g(
11492
+ zt(n.id, wt.CLEAR)
11493
+ ), !1) : (yield E(Ut, {
11503
11494
  ...e,
11504
- remainingPagesToCheck: l - 1
11495
+ remainingPagesToCheck: u - 1
11505
11496
  }), !0);
11506
11497
  }
11507
- e.fromPermalink || (yield E(Fe, Ae, pn));
11508
- let s;
11509
- if (n)
11510
- s = t, i = window.location.href;
11498
+ e.fromPermalink || (yield E(De, Ie, jt));
11499
+ let c;
11500
+ if (r)
11501
+ c = n, o = window.location.href;
11511
11502
  else {
11512
- const c = yield E(Ju, e.flowId);
11513
- s = c.content, i = c.shownUrl, s && (yield g(Ga()));
11514
- }
11515
- if (s) {
11516
- const c = ct(s, e.stepId), l = e.status, u = SC(c), d = nn(c), f = e.navByADTT;
11517
- if (u || f || d) {
11518
- let p = c, y = l;
11519
- if (TC(c, l) && (p = Pt(
11520
- s,
11521
- $n(s, e.stepId) + 1
11522
- ), y = Y.STEP_ATTEMPTED), kr(p) || nn(p)) {
11523
- if (y === Y.STEP_COMPLETED && (p = Pt(
11524
- s,
11525
- $n(s, p.id) + 1
11526
- ), y = null), nn(p)) {
11527
- const { flowId: T, remainingPagesToCheck: _ } = e, { page_check_limit: S } = p.attributes.params, A = typeof _ == "number" ? _ : typeof S == "number" ? S : jo;
11528
- yield E(Ft, {
11529
- ...e,
11530
- flowId: T,
11531
- stepId: p.id,
11503
+ const l = yield E(Ju, e.flowId);
11504
+ c = l.content, o = l.shownUrl, c && (yield g(Ga()));
11505
+ }
11506
+ if (c) {
11507
+ const l = ct(c, e.stepId), u = e.status, d = SC(l), f = on(l), p = e.navByADTT;
11508
+ if (d || p || f) {
11509
+ let y = l, h = u;
11510
+ if (TC(l, u) && (y = Dt(
11511
+ c,
11512
+ $n(c, e.stepId) + 1
11513
+ ), h = Y.STEP_ATTEMPTED), Or(y) || on(y)) {
11514
+ if (h === Y.STEP_COMPLETED && (y = Dt(
11515
+ c,
11516
+ $n(c, y.id) + 1
11517
+ ), h = null), on(y)) {
11518
+ const { flowId: _, remainingPagesToCheck: S } = t, { page_check_limit: A } = y.attributes.params, I = typeof S == "number" ? S : typeof A == "number" ? A : jo;
11519
+ if (I <= 1)
11520
+ return yield g(vr()), yield E(Ht, c, y), yield g(
11521
+ zt(c.id, wt.CLEAR)
11522
+ ), t.fromPermalink || (yield E(De, Ie, jt)), !1;
11523
+ t = {
11524
+ ...t,
11525
+ flowId: _,
11526
+ stepId: y.id,
11532
11527
  status: Y.STEP_ATTEMPTED,
11533
- remainingPagesToCheck: A - 1
11534
- });
11528
+ remainingPagesToCheck: I - 1
11529
+ }, yield E(Ut, t);
11535
11530
  }
11536
- n && (yield g(Iy(s.id, c.id)), yield E(Yt, s, c));
11537
- const { flowId: h, submissionId: m } = e;
11538
- return yield E(Ft, {
11539
- ...e,
11540
- flowId: h,
11541
- submissionId: m
11531
+ r && (yield g(Iy(c.id, l.id)), yield E(Ht, c, l));
11532
+ const { flowId: m, submissionId: T } = t;
11533
+ return yield E(Ut, {
11534
+ ...t,
11535
+ flowId: m,
11536
+ submissionId: T
11542
11537
  }), yield ut(
11543
11538
  fl,
11544
- s,
11545
- p.id,
11546
- i,
11547
- y
11539
+ c,
11540
+ y.id,
11541
+ o,
11542
+ h
11548
11543
  ), !0;
11549
11544
  }
11550
11545
  }
@@ -11557,9 +11552,9 @@ function* Qu() {
11557
11552
  const e = yield v(nt);
11558
11553
  if (e) {
11559
11554
  const r = JSON.parse(
11560
- yield E(Re, Ae, pn)
11555
+ yield E(Re, Ie, jt)
11561
11556
  ), i = r ? ct(e, r.stepId) : null;
11562
- i && Xu(i) && (yield E(Ft, {
11557
+ i && Xu(i) && (yield E(Ut, {
11563
11558
  ...r,
11564
11559
  status: Y.STEP_SHOWN
11565
11560
  }));
@@ -11583,7 +11578,7 @@ function* Qu() {
11583
11578
  );
11584
11579
  }
11585
11580
  } else (yield E(gr, window, "appcue")) && (r = yield E(gr, window, "appcue"));
11586
- (yield E(Bu, Dn)) && (r || (r = yield E(qT, Dn)), yield E(bs, Dn)), r && (yield g(Lr(r)), n = !0);
11581
+ (yield E(Bu, Dn)) && (r || (r = yield E(qT, Dn)), yield E(bs, Dn)), r && (yield g(xr(r)), n = !0);
11587
11582
  }
11588
11583
  return yield g(vc(window.location.href, !0)), n;
11589
11584
  }
@@ -11591,7 +11586,7 @@ function* _C(e) {
11591
11586
  const t = yield v(nt), n = yield v(ce), r = ct(t, n), i = Rs(e);
11592
11587
  if (i && i.attributes.url && t !== null) {
11593
11588
  const o = yield v(bf);
11594
- Tn(i.attributes.url) !== Tn(o) && (r && (yield* Yt(t, r)), yield g(yn(t.id, Ut.CLEAR)));
11589
+ Tn(i.attributes.url) !== Tn(o) && (r && (yield* Ht(t, r)), yield g(zt(t.id, wt.CLEAR)));
11595
11590
  }
11596
11591
  }
11597
11592
  function* IC({
@@ -11608,7 +11603,7 @@ function* IC({
11608
11603
  if (!St(c.url, window.location.href)) {
11609
11604
  (yield v(
11610
11605
  Ve
11611
- )) === te.WILL_CLOSE && (yield W(le.CLOSE_STEP)), yield g(xi());
11606
+ )) === te.WILL_CLOSE && (yield W(le.CLOSE_STEP)), yield g(vr());
11612
11607
  const d = yield v(No);
11613
11608
  d && d.stopAll(), (yield E(Qu)) || (yield E(_C, t)), (yield v(Ia)) && (yield pt([E(Pu), E(Du)]));
11614
11609
  }
@@ -11623,7 +11618,7 @@ function* AC({
11623
11618
  groupProperties: i
11624
11619
  }) {
11625
11620
  (yield E(Mi)) || (yield W(U.INITIALIZE), yield W(Ct.SET_SESSION), yield W(U.CHECKED_FOR_INITIAL_CONTENT));
11626
- const s = yield E(Re, De, yi), [c, l] = yield* IC({
11621
+ const s = yield E(Re, Fe, Si), [c, l] = yield* IC({
11627
11622
  properties: e,
11628
11623
  events: t,
11629
11624
  groupProperties: i,
@@ -11655,8 +11650,8 @@ function* vC() {
11655
11650
  let r = [];
11656
11651
  yield F(function* () {
11657
11652
  for (; ; ) {
11658
- const { payload: o } = yield W($.START_IDENTIFY), s = yield v(be);
11659
- o.userId !== s?.userId && r.length > 0 && (yield ot(...r), r = []);
11653
+ const { payload: s } = yield W($.START_IDENTIFY), c = yield v(be);
11654
+ s.userId !== c?.userId && r.length > 0 && (yield ot(...r), r = []);
11660
11655
  }
11661
11656
  });
11662
11657
  let i;
@@ -11703,7 +11698,7 @@ function* wC({ payload: e }) {
11703
11698
  yield E(e.onSuccess);
11704
11699
  return;
11705
11700
  }
11706
- const r = yield v(ce), i = yield v(st), { submissionId: o } = yield* Kt();
11701
+ const r = yield v(ce), i = yield v(st), { submissionId: o } = yield* Xt();
11707
11702
  yield g(
11708
11703
  se(
11709
11704
  ft(
@@ -11753,8 +11748,8 @@ function* NC({ payload: e }) {
11753
11748
  )).map((c) => c.id).includes(r.id)) {
11754
11749
  const { userId: c } = yield v(be);
11755
11750
  yield E(
11756
- Fe,
11757
- Ae,
11751
+ De,
11752
+ Ie,
11758
11753
  `${Yo}${r.id}`
11759
11754
  ), yield g(ir(c, { _showChecklist: r.id }));
11760
11755
  }
@@ -11785,17 +11780,17 @@ function* OC() {
11785
11780
  const n = yield v(nt);
11786
11781
  if (n && ne.defined(n.id)) {
11787
11782
  const r = yield v(ce), i = ct(n, r);
11788
- i && (yield* Yt(n, i)), yield g(
11789
- yn(
11783
+ i && (yield* Ht(n, i)), yield g(
11784
+ zt(
11790
11785
  n.id,
11791
- Ut.SHOWING_OTHER_CONTENT
11786
+ wt.SHOWING_OTHER_CONTENT
11792
11787
  )
11793
11788
  );
11794
11789
  }
11795
11790
  }
11796
11791
  }
11797
11792
  function* RC() {
11798
- if (yield v(mn)) {
11793
+ if (yield v(En)) {
11799
11794
  (yield v(ye)).type === z.HOTSPOTS || (yield g(Fi()), yield g(Lu()));
11800
11795
  const r = yield v(ns), i = yield v(vf);
11801
11796
  if (r && !i[r]) {
@@ -11804,7 +11799,7 @@ function* RC() {
11804
11799
  const s = yield v(dt);
11805
11800
  o = yield E($S, s, r);
11806
11801
  } catch (s) {
11807
- const c = yield v(Ht);
11802
+ const c = yield v(Mt);
11808
11803
  yield E(c, s.message, { extra: s.extra });
11809
11804
  }
11810
11805
  o && (yield g(Sm({ [r]: o })));
@@ -11820,7 +11815,7 @@ function* LC() {
11820
11815
  const { _localId: n } = e;
11821
11816
  yield g(
11822
11817
  ir(`anon:${n}`, { _isAnonymous: !0 }, [
11823
- zt(Cn.PAGE_VIEW, { url: window.location.href })
11818
+ Jt(Cn.PAGE_VIEW, { url: window.location.href })
11824
11819
  ])
11825
11820
  );
11826
11821
  }
@@ -11836,7 +11831,7 @@ function* xC({ payload: e }) {
11836
11831
  yield E(e, n);
11837
11832
  }
11838
11833
  function* PC({ payload: e }) {
11839
- const t = yield v(ri, e);
11834
+ const t = yield v(ii, e);
11840
11835
  t && t.length > 0 && (yield g(wm(e)), yield t.map((n) => ot(n)));
11841
11836
  }
11842
11837
  function DC(e) {
@@ -11847,15 +11842,15 @@ function FC(e, t) {
11847
11842
  }
11848
11843
  function* UC() {
11849
11844
  const e = yield v(nt), t = yield v(ce), n = ct(e, t);
11850
- yield g(xi()), yield E(Yt, e, n), yield g(
11851
- yn(e.id, Ut.CLEAR)
11845
+ yield g(vr()), yield E(Ht, e, n), yield g(
11846
+ zt(e.id, wt.CLEAR)
11852
11847
  );
11853
11848
  }
11854
11849
  function* HC(e) {
11855
- const { currentUrl: t, shouldOverrideCurrentFlow: n, requestId: r } = e.payload, i = yield v(Af), o = yield v(Ve), s = yield v(mn);
11850
+ const { currentUrl: t, shouldOverrideCurrentFlow: n, requestId: r } = e.payload, i = yield v(Af), o = yield v(Ve), s = yield v(En);
11856
11851
  if (!(!i || i.length === 0) && (DC(o) || FC(o, n))) {
11857
11852
  let c = !0;
11858
- const l = yield v(Or);
11853
+ const l = yield v(Rr);
11859
11854
  for (const u of i) {
11860
11855
  const d = l[u];
11861
11856
  if (s === d.id)
@@ -11904,7 +11899,7 @@ function* MC() {
11904
11899
  ), o = e.now(), { payload: s } = yield W(
11905
11900
  (u) => u.type === $.START_HANDLE_MESSAGE && u.payload.request_id === i
11906
11901
  ), c = e.now();
11907
- (s.contents && s.contents.length > 0 || (s.content && s.content.length > 0 ? Ns(s.content).contents.length > 0 : !1)) && document.visibilityState === "visible" && (yield W($.START_CHECK), yield ut(function* () {
11902
+ (s.contents && s.contents.length > 0 || s.content && s.content.length > 0 && Ns(s.content).contents.length > 0) && document.visibilityState === "visible" && (yield W($.START_CHECK), yield ut(function* () {
11908
11903
  const d = yield qe({
11909
11904
  imm: W(U.STARTED_FLOW_IMM),
11910
11905
  show: W(U.SHOW_CONTENT),
@@ -11913,8 +11908,8 @@ function* MC() {
11913
11908
  });
11914
11909
  if (!d.imm)
11915
11910
  return;
11916
- const f = yield v(ts, d.imm.payload), p = Pt(f, 0);
11917
- if (nn(p) || kr(p) || (yield W(
11911
+ const f = yield v(ts, d.imm.payload), p = Dt(f, 0);
11912
+ if (on(p) || Or(p) || (yield W(
11918
11913
  U.WILL_SHOW_CONTENT
11919
11914
  )).error)
11920
11915
  return;
@@ -11937,11 +11932,11 @@ function* MC() {
11937
11932
  }
11938
11933
  function* $C() {
11939
11934
  const e = JSON.parse(
11940
- yield E(Re, Ae, ci)
11935
+ yield E(Re, Ie, li)
11941
11936
  );
11942
11937
  if (e) {
11943
11938
  const { checklistId: t, itemId: n, actionIndex: r, checklist: i } = e;
11944
- yield E(Fe, Ae, ci), yield g(
11939
+ yield E(De, Ie, li), yield g(
11945
11940
  _u(t, n, r + 1, i)
11946
11941
  );
11947
11942
  }
@@ -11950,10 +11945,10 @@ function* $C() {
11950
11945
  function* BC() {
11951
11946
  const e = yield W($.START_INITIALIZE);
11952
11947
  if (!(yield E(Mi))) {
11953
- const n = yield E(Re, De, Ko);
11948
+ const n = yield E(Re, Fe, Ko);
11954
11949
  n !== null && (yield g(
11955
11950
  ir(n, {}, [
11956
- zt(Cn.PAGE_VIEW, { url: window.location.href })
11951
+ Jt(Cn.PAGE_VIEW, { url: window.location.href })
11957
11952
  ])
11958
11953
  ));
11959
11954
  const r = yield E(
@@ -11976,10 +11971,10 @@ function* VC({ payload: { groupId: e, groupProperties: t } }) {
11976
11971
  ...t,
11977
11972
  ...ju()
11978
11973
  };
11979
- yield g(om(e, n)), yield E(He, De, yi, e), yield g(Fm({ groupId: e, groupProps: n }));
11974
+ yield g(om(e, n)), yield E(He, Fe, Si, e), yield g(Fm({ groupId: e, groupProps: n }));
11980
11975
  }
11981
11976
  function* WC({ payload: e }) {
11982
- const t = yield v(Or);
11977
+ const t = yield v(Rr);
11983
11978
  if (Object.prototype.hasOwnProperty.call(t, e)) return;
11984
11979
  const n = yield v(dt), r = yield E(Nu, n, e);
11985
11980
  yield g(
@@ -12054,7 +12049,7 @@ function ed(e, t) {
12054
12049
  function jC(e, t) {
12055
12050
  try {
12056
12051
  return !e.includes("|shadow-root|") && !e.includes("|iframe|") && (t.matches ? t.matches(e) : t.msMatchesSelector(e)) ? t : lt(
12057
- bi(e),
12052
+ wi(e),
12058
12053
  (n) => n.contains(t)
12059
12054
  );
12060
12055
  } catch {
@@ -12077,13 +12072,13 @@ function xs({ events: e, matchSelector: t }) {
12077
12072
  try {
12078
12073
  return e.flatMap((n) => n.targets).filter(({ selector: n }) => t(n.selector)).flatMap(({ selector: n }) => {
12079
12074
  const { selector: r, text_filter: i } = n;
12080
- return bi(r).filter((o) => Zu(o, i) && ed(o, n));
12075
+ return wi(r).filter((o) => Zu(o, i) && ed(o, n));
12081
12076
  });
12082
12077
  } catch {
12083
12078
  return [];
12084
12079
  }
12085
12080
  }
12086
- function mi(e) {
12081
+ function Ei(e) {
12087
12082
  return e.composedPath ? e.composedPath() : [e.target];
12088
12083
  }
12089
12084
  function qC({
@@ -12094,7 +12089,7 @@ function qC({
12094
12089
  const r = e.filter(
12095
12090
  ({ targets: s }) => s.some(({ event: c }) => c === "click")
12096
12091
  ), i = (s) => {
12097
- const [c] = mi(s), l = Ls({
12092
+ const [c] = Ei(s), l = Ls({
12098
12093
  events: r,
12099
12094
  $element: c,
12100
12095
  eventType: "click"
@@ -12126,7 +12121,7 @@ function YC({ events: e, onEventsTriggered: t }) {
12126
12121
  );
12127
12122
  let r = [];
12128
12123
  const i = (s) => {
12129
- const [c] = mi(s), u = Ls({
12124
+ const [c] = Ei(s), u = Ls({
12130
12125
  events: n,
12131
12126
  $element: c,
12132
12127
  eventType: "input"
@@ -12167,7 +12162,7 @@ function zC({ events: e, onEventsTriggered: t }) {
12167
12162
  const n = e.filter(
12168
12163
  ({ targets: o }) => o.some(({ event: s }) => s === "hover")
12169
12164
  ), r = /* @__PURE__ */ new Set(), i = (o) => {
12170
- const [s] = mi(o), c = Ls({
12165
+ const [s] = Ei(o), c = Ls({
12171
12166
  events: n,
12172
12167
  $element: s,
12173
12168
  eventType: "hover"
@@ -12179,7 +12174,7 @@ function zC({ events: e, onEventsTriggered: t }) {
12179
12174
  const f = window.setTimeout(() => {
12180
12175
  t(u);
12181
12176
  }, 500), p = (y) => {
12182
- const [h] = mi(y);
12177
+ const [h] = Ei(y);
12183
12178
  h === d && (window.clearTimeout(f), r.delete(d), d.removeEventListener("mouseleave", p));
12184
12179
  };
12185
12180
  d.addEventListener("mouseleave", p);
@@ -12236,7 +12231,7 @@ function* JC(e = [], t = !1) {
12236
12231
  ({ urls: o }) => o.some(
12237
12232
  (s) => s === "*" || St(s, n)
12238
12233
  )
12239
- ), i = Nr((o) => {
12234
+ ), i = kr((o) => {
12240
12235
  const s = qC({
12241
12236
  events: r,
12242
12237
  onEventsTriggered: o,
@@ -12258,7 +12253,7 @@ function* JC(e = [], t = !1) {
12258
12253
  o.length > 0 && (yield g(
12259
12254
  hT(
12260
12255
  o.map(
12261
- ({ name: s, targets: [{ event: c, selector: l }] }) => zt(s, {
12256
+ ({ name: s, targets: [{ event: c, selector: l }] }) => Jt(s, {
12262
12257
  url: n,
12263
12258
  interaction: c,
12264
12259
  selector: {
@@ -12272,7 +12267,7 @@ function* JC(e = [], t = !1) {
12272
12267
  ));
12273
12268
  }
12274
12269
  } finally {
12275
- (yield Ti()) && i.close();
12270
+ (yield Ci()) && i.close();
12276
12271
  }
12277
12272
  }
12278
12273
  function* QC(e = []) {
@@ -12300,8 +12295,8 @@ function* QC(e = []) {
12300
12295
  (yield E(Mi)) || (yield W(U.INITIALIZE));
12301
12296
  const s = yield E(
12302
12297
  Re,
12303
- De,
12304
- yi
12298
+ Fe,
12299
+ Si
12305
12300
  );
12306
12301
  yield E(Os, {
12307
12302
  properties: {},
@@ -12343,42 +12338,33 @@ function po(e, t, n, r, i) {
12343
12338
  });
12344
12339
  }
12345
12340
  function n_(e, t = {}) {
12346
- switch (e) {
12347
- case "Form Field Submitted (Appcues)": {
12348
- const {
12349
- // Ignored fields
12350
- user: n,
12351
- interaction: r,
12352
- // Hoisted fields
12353
- interaction: {
12354
- category: i,
12355
- destination: o,
12356
- formId: s,
12357
- fieldId: c,
12358
- label: l,
12359
- value: u
12360
- } = {},
12361
- ...d
12362
- } = t;
12363
- return {
12364
- ...d,
12341
+ if (e === "Form Field Submitted (Appcues)") {
12342
+ const {
12343
+ // Ignored fields
12344
+ user: n,
12345
+ interaction: r,
12346
+ // Hoisted fields
12347
+ interaction: {
12365
12348
  category: i,
12366
12349
  destination: o,
12367
12350
  formId: s,
12368
12351
  fieldId: c,
12369
12352
  label: l,
12370
12353
  value: u
12371
- };
12372
- }
12373
- /**
12374
- * TODO: Consider normalizing these events as well as they also contain
12375
- * nested data structures
12376
- */
12377
- case "Form Submitted (Appcues)":
12378
- case "Step Interacted (Appcues)":
12379
- default:
12380
- return t;
12381
- }
12354
+ } = {},
12355
+ ...d
12356
+ } = t;
12357
+ return {
12358
+ ...d,
12359
+ category: i,
12360
+ destination: o,
12361
+ formId: s,
12362
+ fieldId: c,
12363
+ label: l,
12364
+ value: u
12365
+ };
12366
+ } else
12367
+ return t;
12382
12368
  }
12383
12369
  function r_(e) {
12384
12370
  if (!e.user) return e;
@@ -12560,7 +12546,7 @@ function o_(e, t) {
12560
12546
  }
12561
12547
  function Tl(e, t) {
12562
12548
  const n = { ...t, url: e };
12563
- return zt(Cn.PAGE_VIEW, n);
12549
+ return Jt(Cn.PAGE_VIEW, n);
12564
12550
  }
12565
12551
  function s_({ dispatch: e, getState: t }) {
12566
12552
  const n = {
@@ -12569,7 +12555,7 @@ function s_({ dispatch: e, getState: t }) {
12569
12555
  if (!ne.object(c)) {
12570
12556
  c = {};
12571
12557
  try {
12572
- Ht(t())(
12558
+ Mt(t())(
12573
12559
  new Error("Appcues.identify() called with invalid user properties")
12574
12560
  );
12575
12561
  } catch {
@@ -12579,11 +12565,11 @@ function s_({ dispatch: e, getState: t }) {
12579
12565
  ir(s, c, [
12580
12566
  Tl(window.location.href)
12581
12567
  ])
12582
- ) : e(xr(c, !0));
12568
+ ) : e(Pr(c, !0));
12583
12569
  },
12584
12570
  track(i, o = {}) {
12585
12571
  i && e(
12586
- we({}, [zt(i, o)], !0)
12572
+ we({}, [Jt(i, o)], !0)
12587
12573
  );
12588
12574
  },
12589
12575
  page(i, o = {}) {
@@ -12596,7 +12582,7 @@ function s_({ dispatch: e, getState: t }) {
12596
12582
  e(sm());
12597
12583
  },
12598
12584
  show(i) {
12599
- e(Lr(i));
12585
+ e(xr(i));
12600
12586
  },
12601
12587
  clearShow() {
12602
12588
  e(dS());
@@ -12627,7 +12613,7 @@ function s_({ dispatch: e, getState: t }) {
12627
12613
  if (!ne.object(c)) {
12628
12614
  c = {};
12629
12615
  try {
12630
- Ht(t())(
12616
+ Mt(t())(
12631
12617
  new Error("Appcues.group() called with invalid group properties")
12632
12618
  );
12633
12619
  } catch {
@@ -12697,7 +12683,6 @@ const Cl = "https://studio.appcues.com", c_ = (e) => {
12697
12683
  return "Full Screen Modal Group";
12698
12684
  case "left":
12699
12685
  return "Sidebar Group";
12700
- case "flow":
12701
12686
  default:
12702
12687
  return "Modal Group";
12703
12688
  }
@@ -12716,7 +12701,7 @@ function a_(e) {
12716
12701
  return !!(e && e.type === z.ACTION && e.attributes.action_type === Tt.WAIT_FOR_PAGE);
12717
12702
  }
12718
12703
  const _l = (e, t, n) => {
12719
- const r = ct(e || {}, t), i = hn(r, n);
12704
+ const r = ct(e || {}, t), i = mn(r, n);
12720
12705
  return /* @__PURE__ */ a.html("div", null, /* @__PURE__ */ a.html("div", null, `${(e || {}).name}, Step ${$n(e, t) + 1} (${c_(r || {})})${i > -1 ? `, Part ${i + 1}` : ""}`), a_(r) && l_(r) ? /* @__PURE__ */ a.html("div", null, `Page to match: ${r.attributes.params.url}`) : "");
12721
12706
  };
12722
12707
  function u_(e) {
@@ -12753,20 +12738,20 @@ function u_(e) {
12753
12738
  },
12754
12739
  "×"
12755
12740
  ))), /* @__PURE__ */ a.html("div", { "class-panel": !0 }, /* @__PURE__ */ a.html(
12756
- Qt,
12741
+ en,
12757
12742
  {
12758
12743
  status: f && f.accountId ? "check" : "alert",
12759
12744
  category: "Installed",
12760
12745
  description: `Account ID: ${f && f.accountId ? f.accountId : "Unknown"}`
12761
12746
  }
12762
12747
  ), /* @__PURE__ */ a.html(
12763
- Qt,
12748
+ en,
12764
12749
  {
12765
12750
  status: p ? "check" : "alert",
12766
12751
  category: `${p ? "" : "Not "}Connected to Appcues`
12767
12752
  }
12768
12753
  ), /* @__PURE__ */ a.html(
12769
- Qt,
12754
+ en,
12770
12755
  {
12771
12756
  status: _ ? S ? "check" : "alert" : "pending",
12772
12757
  category: "Tracking Pages",
@@ -12776,7 +12761,7 @@ function u_(e) {
12776
12761
  details: /* @__PURE__ */ a.html("span", null, /* @__PURE__ */ a.html("b", null, "Last Tracked URL:"), /* @__PURE__ */ a.html("br", null), t, /* @__PURE__ */ a.html("br", null), /* @__PURE__ */ a.html("br", null), /* @__PURE__ */ a.html("b", null, "Current URL:"), /* @__PURE__ */ a.html("br", null), n)
12777
12762
  }
12778
12763
  ), /* @__PURE__ */ a.html(
12779
- Qt,
12764
+ en,
12780
12765
  {
12781
12766
  status: A ? "check" : "alert",
12782
12767
  category: `User ${A ? "" : "Not "}Identified`,
@@ -12789,7 +12774,7 @@ function u_(e) {
12789
12774
  details: A ? /* @__PURE__ */ a.html(Il, { user: u }) : /* @__PURE__ */ a.html("span", null, "Please identify the current user by providing a userId and tracked properties")
12790
12775
  }
12791
12776
  ), I ? /* @__PURE__ */ a.html(
12792
- Qt,
12777
+ en,
12793
12778
  {
12794
12779
  status: "check",
12795
12780
  category: "Group Identified",
@@ -12799,7 +12784,7 @@ function u_(e) {
12799
12784
  details: /* @__PURE__ */ a.html(Il, { user: d.groupProps })
12800
12785
  }
12801
12786
  ) : /* @__PURE__ */ a.html(ae, null), r ? /* @__PURE__ */ a.html(
12802
- Qt,
12787
+ en,
12803
12788
  {
12804
12789
  status: o === "SHOWING" ? "check" : "pending",
12805
12790
  category: "Showing Flow",
@@ -12813,7 +12798,7 @@ function u_(e) {
12813
12798
  )
12814
12799
  }
12815
12800
  ) : /* @__PURE__ */ a.html(ae, null), C.length > 0 ? /* @__PURE__ */ a.html(
12816
- Qt,
12801
+ en,
12817
12802
  {
12818
12803
  status: "warn",
12819
12804
  category: "Content Omitted",
@@ -12838,7 +12823,7 @@ function u_(e) {
12838
12823
  /* @__PURE__ */ a.html("div", { "class-launch-diagnostics": !0 }, O ? "View Flow Eligibility for User" : "Identify User to View Flow Eligibility")
12839
12824
  )));
12840
12825
  }
12841
- function Qt({
12826
+ function en({
12842
12827
  status: e,
12843
12828
  active: t,
12844
12829
  category: n,
@@ -12869,7 +12854,7 @@ function Il({ user: e }) {
12869
12854
  };
12870
12855
  return /* @__PURE__ */ a.html("table", null, /* @__PURE__ */ a.html("thead", null, /* @__PURE__ */ a.html("tr", null, /* @__PURE__ */ a.html("th", null, "Property"), /* @__PURE__ */ a.html("th", null, "Value"))), /* @__PURE__ */ a.html("tbody", null, n.sort(r).map((i) => /* @__PURE__ */ a.html("tr", null, /* @__PURE__ */ a.html("td", null, i.name), /* @__PURE__ */ a.html("td", null, JSON.stringify(i.value))))));
12871
12856
  }
12872
- const d_ = "/generic/main/7.8.0/debugger.52175bcd669743890b973ef6e81a2996cf849c5e.css", f_ = "ahFr2ozGgr3TQI5KHlN9wZPypwaSYoQUyVsCyMv8vgg=", p_ = Mt(d_), ho = Jn(
12857
+ const d_ = "/generic/main/7.12.0/debugger.9b4caeae8c95b7e55917db3db9558a23e797772e.css", f_ = "sha256-LMjol9lu4iFfr9P6lIri9GX+onG7x+pqiR+EzoaK2sU=", p_ = $t(d_), ho = Jn(
12873
12858
  [
12874
12859
  tr,
12875
12860
  er,
@@ -12877,14 +12862,14 @@ const d_ = "/generic/main/7.8.0/debugger.52175bcd669743890b973ef6e81a2996cf849c5
12877
12862
  Zn,
12878
12863
  nr
12879
12864
  ],
12880
- vi.createApi({
12865
+ bi.createApi({
12881
12866
  clean: !0,
12882
12867
  trustedTypesPolicy: window.trustedTypes?.defaultPolicy
12883
12868
  })
12884
12869
  );
12885
- let Zt = null;
12870
+ let tn = null;
12886
12871
  const h_ = (e) => {
12887
- const t = Or(e) || {}, n = Ii(e);
12872
+ const t = Rr(e) || {}, n = Ai(e);
12888
12873
  return Object.keys(n || {}).reduce(
12889
12874
  (r, i) => {
12890
12875
  const o = pf(t, i);
@@ -12922,12 +12907,12 @@ const h_ = (e) => {
12922
12907
  function E_(e) {
12923
12908
  if (Ar(document)) {
12924
12909
  const t = e.views.callbacks[z.DEBUGGER], n = Ta(e), r = n && n.isCollapsed;
12925
- if (!Zt) {
12910
+ if (!tn) {
12926
12911
  const i = document.createElement("appcues-debugger");
12927
- document.body.appendChild(i), Zt = ho(i, /* @__PURE__ */ a.html("appcues-debugger", null));
12912
+ document.body.appendChild(i), tn = ho(i, /* @__PURE__ */ a.html("appcues-debugger", null));
12928
12913
  }
12929
- Xn(e) && t ? Zt = ho(
12930
- Zt,
12914
+ Xn(e) && t ? tn = ho(
12915
+ tn,
12931
12916
  /* @__PURE__ */ a.html("appcues-debugger", { classNames: r ? "collapsed" : "expanded" }, /* @__PURE__ */ a.html(
12932
12917
  "iframe",
12933
12918
  {
@@ -12949,7 +12934,7 @@ function E_(e) {
12949
12934
  ),
12950
12935
  m_(e, t)
12951
12936
  ))
12952
- ) : Zt && (Zt = ho(Zt, /* @__PURE__ */ a.html("div", null)));
12937
+ ) : tn && (tn = ho(tn, /* @__PURE__ */ a.html("div", null)));
12953
12938
  }
12954
12939
  }
12955
12940
  const g_ = "https://docs.appcues.com/user-experiences-faq/faq-test-mode", y_ = (e) => {
@@ -12973,7 +12958,7 @@ const g_ = "https://docs.appcues.com/user-experiences-faq/faq-test-mode", y_ = (
12973
12958
  },
12974
12959
  "Restart"
12975
12960
  ), /* @__PURE__ */ a.html("div", { "class-clickable": !0, "on-click": t.onCancelClicked }, "End Test"))));
12976
- }, S_ = "/generic/main/7.8.0/test-mode.52175bcd669743890b973ef6e81a2996cf849c5e.css", T_ = "royxrv5ISPWNXk8sIb8ykOuJZkg3+vchIFFlvBuV/2Y=", C_ = Mt(S_), mo = Jn(
12961
+ }, S_ = "/generic/main/7.12.0/test-mode.9b4caeae8c95b7e55917db3db9558a23e797772e.css", T_ = "sha256-nd0yl8XfotWCT+9jaAUZdIayDPvnbBNhrvbhzXcWLNs=", C_ = $t(S_), mo = Jn(
12977
12962
  [
12978
12963
  tr,
12979
12964
  er,
@@ -12981,21 +12966,21 @@ const g_ = "https://docs.appcues.com/user-experiences-faq/faq-test-mode", y_ = (
12981
12966
  Zn,
12982
12967
  nr
12983
12968
  ],
12984
- vi.createApi({
12969
+ bi.createApi({
12985
12970
  clean: !0,
12986
12971
  trustedTypesPolicy: window.trustedTypes?.defaultPolicy
12987
12972
  })
12988
12973
  );
12989
- let en = null;
12974
+ let nn = null;
12990
12975
  function __(e) {
12991
12976
  if (Ar(document)) {
12992
12977
  const t = e.views && e.views.callbacks && e.views.callbacks[z.TEST_MODE], { _testContentId: n } = e.user || {}, r = n, i = e.test && e.test.cssLoaded;
12993
- if (!en) {
12978
+ if (!nn) {
12994
12979
  const o = document.createElement("appcues-test-banner");
12995
- document.body.appendChild(o), en = mo(o, /* @__PURE__ */ a.html("appcues-test-banner", null));
12980
+ document.body.appendChild(o), nn = mo(o, /* @__PURE__ */ a.html("appcues-test-banner", null));
12996
12981
  }
12997
- r && t ? en = mo(
12998
- en,
12982
+ r && t ? nn = mo(
12983
+ nn,
12999
12984
  /* @__PURE__ */ a.html("div", { "class-appcues": !0 }, /* @__PURE__ */ a.html(
13000
12985
  "appcues-test-banner",
13001
12986
  {
@@ -13026,7 +13011,7 @@ function __(e) {
13026
13011
  i ? /* @__PURE__ */ a.html(y_, { testModeCallbacks: t }) : /* @__PURE__ */ a.html(ae, null)
13027
13012
  )
13028
13013
  ))
13029
- ) : en && (en = mo(en, /* @__PURE__ */ a.html("div", null)));
13014
+ ) : nn && (nn = mo(nn, /* @__PURE__ */ a.html("div", null)));
13030
13015
  }
13031
13016
  }
13032
13017
  function I_(e) {
@@ -13110,8 +13095,8 @@ function* w_({ payload: e }) {
13110
13095
  }
13111
13096
  function* N_() {
13112
13097
  yield E(ve, 1e4);
13113
- const e = yield* Kt();
13114
- e && (delete e.navByADTT, yield* Ft(e));
13098
+ const e = yield* Xt();
13099
+ e && (delete e.navByADTT, yield* Ut(e));
13115
13100
  }
13116
13101
  function* rd({ payload: e }) {
13117
13102
  (yield v(Bn)).length > 0 && (yield qe({
@@ -13154,13 +13139,13 @@ function* k_(e) {
13154
13139
  shouldEndFlow: o
13155
13140
  })
13156
13141
  )
13157
- ), fa(n, hn(n, r))) {
13158
- const s = yield* Kt();
13159
- yield* Ft({ ...s, navByADTT: !0 }), yield F(N_);
13142
+ ), fa(n, mn(n, r))) {
13143
+ const s = yield* Xt();
13144
+ yield* Ut({ ...s, navByADTT: !0 }), yield F(N_);
13160
13145
  }
13161
13146
  yield E(
13162
13147
  rd,
13163
- oi(n.id, r, { shouldEndFlow: o })
13148
+ si(n.id, r, { shouldEndFlow: o })
13164
13149
  );
13165
13150
  }
13166
13151
  }
@@ -13206,7 +13191,7 @@ function* O_(e) {
13206
13191
  }
13207
13192
  function* R_(e) {
13208
13193
  const { stepId: t, currentStepChildId: n, nextStepChildIndex: r } = e.payload, i = yield v(
13209
- _i,
13194
+ Ii,
13210
13195
  r
13211
13196
  );
13212
13197
  if (!i || n === i)
@@ -13234,7 +13219,7 @@ function* L_() {
13234
13219
  le.ADVANCE_STEP_CHILD,
13235
13220
  k_
13236
13221
  ),
13237
- F(ee, Gt.CLOSE_LAST_HOTSPOT, rd),
13222
+ F(ee, qt.CLOSE_LAST_HOTSPOT, rd),
13238
13223
  F(
13239
13224
  ee,
13240
13225
  le.RUN_PREV_STEP_CHILD,
@@ -13294,7 +13279,7 @@ function* U_() {
13294
13279
  he.SET_ANNOTATIONS_POSITIONS,
13295
13280
  F_
13296
13281
  );
13297
- yield W(Ge.CLOSE_DEBUGGER), yield ot(n), yield ot(r), yield ot(i), yield ot(o), yield E(Fe, "localStorage", Gi);
13282
+ yield W(Ge.CLOSE_DEBUGGER), yield ot(n), yield ot(r), yield ot(i), yield ot(o), yield E(De, "localStorage", Gi);
13298
13283
  }
13299
13284
  }
13300
13285
  function* H_() {
@@ -13330,11 +13315,11 @@ function* M_({ payload: e }) {
13330
13315
  wait: W(U.SENT_ACTIVITY_UPDATE),
13331
13316
  cancel: E(ve, 1500)
13332
13317
  });
13333
- const o = yield v(mn);
13318
+ const o = yield v(En);
13334
13319
  yield qe({
13335
- wait: E(hi, o),
13320
+ wait: E(mi, o),
13336
13321
  cancel: E(ve, qo)
13337
- }), yield E(qt, window, n, r);
13322
+ }), yield E(Yt, window, n, r);
13338
13323
  }
13339
13324
  break;
13340
13325
  }
@@ -13345,7 +13330,7 @@ function* M_({ payload: e }) {
13345
13330
  function* $_({ payload: { action: e, status: t } }) {
13346
13331
  switch (e.attributes.action_type) {
13347
13332
  case Tt.WAIT_FOR_PAGE: {
13348
- const n = window.location.href, { url: r } = e.attributes.params, i = yield* Kt(), o = yield v(es), s = St(
13333
+ const n = window.location.href, { url: r } = e.attributes.params, i = yield* Xt(), o = yield v(es), s = St(
13349
13334
  r,
13350
13335
  o.url
13351
13336
  ), c = St(o.url, n), l = t === Y.STEP_SHOWN || s && c, u = t === Y.STEP_ATTEMPTED && i && i.remainingPagesToCheck !== jo;
@@ -13401,40 +13386,40 @@ function* B_({
13401
13386
  )
13402
13387
  );
13403
13388
  else {
13404
- const c = yield v(mn);
13389
+ const c = yield v(En);
13405
13390
  yield qe({
13406
13391
  wait: pt([
13407
- E(hi, c),
13408
- E(hi, t)
13392
+ E(mi, c),
13393
+ E(mi, t)
13409
13394
  ]),
13410
13395
  cancel: E(ve, qo)
13411
13396
  });
13412
- const l = yield v(gn, t);
13397
+ const l = yield v(yn, t);
13413
13398
  yield E(
13414
13399
  He,
13415
- Ae,
13416
- ci,
13400
+ Ie,
13401
+ li,
13417
13402
  JSON.stringify({
13418
13403
  checklistId: t,
13419
13404
  itemId: n,
13420
13405
  actionIndex: r,
13421
13406
  checklist: l
13422
13407
  })
13423
- ), yield E(qt, window, o, s), yield E(od, o, function* () {
13408
+ ), yield E(Yt, window, o, s), yield E(od, o, function* () {
13424
13409
  yield g(
13425
13410
  ao(
13426
13411
  t,
13427
13412
  n,
13428
13413
  r
13429
13414
  )
13430
- ), yield E(Fe, Ae, ci);
13415
+ ), yield E(De, Ie, li);
13431
13416
  });
13432
13417
  }
13433
13418
  break;
13434
13419
  }
13435
13420
  case Tt.SHOW_FLOW: {
13436
13421
  const { flowId: i } = e.attributes.params;
13437
- i && (yield g(Lr(i))), yield g(
13422
+ i && (yield g(xr(i))), yield g(
13438
13423
  ao(
13439
13424
  t,
13440
13425
  n,
@@ -13465,7 +13450,7 @@ function* j_() {
13465
13450
  (yield v(zn)) === z.SATISFACTION_SURVEY && (yield v(Ve)) === te.STARTED && (yield g(zy()));
13466
13451
  }
13467
13452
  function* q_(e) {
13468
- const { score: t } = e.payload, n = yield v(nt), r = yield v(kt), o = ht(n, r, {
13453
+ const { score: t } = e.payload, n = yield v(nt), r = yield v(Ot), o = ht(n, r, {
13469
13454
  score: t,
13470
13455
  name: "NPS Score",
13471
13456
  id: "nps_score"
@@ -13482,7 +13467,7 @@ function* q_(e) {
13482
13467
  );
13483
13468
  }
13484
13469
  function* K_(e) {
13485
- const { feedback: t } = e.payload, n = yield v(nt), r = yield v(kt), i = ht(n, r, {
13470
+ const { feedback: t } = e.payload, n = yield v(nt), r = yield v(Ot), i = ht(n, r, {
13486
13471
  feedback: t,
13487
13472
  name: "NPS Feedback",
13488
13473
  id: "nps_feedback"
@@ -13501,7 +13486,7 @@ function* K_(e) {
13501
13486
  function* Y_() {
13502
13487
  const e = {}, t = `${Hn}ClickedUpdateNPSScore`;
13503
13488
  e[t] = Date.now();
13504
- const n = yield v(nt), r = yield v(kt), i = ht(n, r, {
13489
+ const n = yield v(nt), r = yield v(Ot), i = ht(n, r, {
13505
13490
  clickedUpdateNPSScore: e[t],
13506
13491
  name: "NPS Clicked Update NPS Score",
13507
13492
  id: "nps_clicked_update_nps_score"
@@ -13511,7 +13496,7 @@ function* Y_() {
13511
13496
  function* z_() {
13512
13497
  const e = {}, t = `${Hn}AskMeLaterSelectedAt`;
13513
13498
  e[t] = Date.now();
13514
- const n = yield v(nt), r = yield v(kt), i = ht(n, r, {
13499
+ const n = yield v(nt), r = yield v(Ot), i = ht(n, r, {
13515
13500
  askMeLaterSelectedAt: e[t],
13516
13501
  name: "NPS Ask Me Later Selected At",
13517
13502
  id: "nps_ask_me_later_selected_at"
@@ -13525,27 +13510,27 @@ function* J_() {
13525
13510
  yield [
13526
13511
  F(
13527
13512
  ee,
13528
- Ie.QUANTITATIVE_QUESTION_SUBMITTED,
13513
+ Ae.QUANTITATIVE_QUESTION_SUBMITTED,
13529
13514
  q_
13530
13515
  ),
13531
13516
  F(
13532
13517
  ee,
13533
- Ie.QUALITATIVE_QUESTION_SUBMITTED,
13518
+ Ae.QUALITATIVE_QUESTION_SUBMITTED,
13534
13519
  K_
13535
13520
  ),
13536
13521
  F(
13537
13522
  ee,
13538
- Ie.ASK_ME_LATER_SELECTED,
13523
+ Ae.ASK_ME_LATER_SELECTED,
13539
13524
  z_
13540
13525
  ),
13541
13526
  F(
13542
13527
  ee,
13543
- Ie.CLICKED_UPDATE_NPS_SCORE,
13528
+ Ae.CLICKED_UPDATE_NPS_SCORE,
13544
13529
  Y_
13545
13530
  ),
13546
13531
  F(
13547
13532
  ee,
13548
- Ie.START_COLLAPSING_SATISFACTION_SURVEY,
13533
+ Ae.START_COLLAPSING_SATISFACTION_SURVEY,
13549
13534
  X_
13550
13535
  ),
13551
13536
  F(ee, $.START_CONTENT, j_)
@@ -13556,7 +13541,7 @@ function* Mo(e) {
13556
13541
  (r) => r.type === re.LOADED_CHECKLIST_CSS && e.id
13557
13542
  );
13558
13543
  const t = yield v(ye);
13559
- yield t && t.type !== z.HOTSPOTS ? g(Fi()) : g(Sn(e.id, te.SHOWING)), (e.attributes && e.attributes.progress_state) !== Rn.COMPLETED && (yield g(un(e.id)));
13544
+ yield t && t.type !== z.HOTSPOTS ? g(Fi()) : g(Sn(e.id, te.SHOWING)), (e.attributes && e.attributes.progress_state) !== Rn.COMPLETED && (yield g(fn(e.id)));
13560
13545
  }
13561
13546
  function* Q_({ payload: e }) {
13562
13547
  const { open_behavior: t } = e;
@@ -13572,20 +13557,20 @@ function* Q_({ payload: e }) {
13572
13557
  case ji.OPEN_ONCE:
13573
13558
  default: {
13574
13559
  const n = `${Yo}${e.id}`;
13575
- Re(Ae, n) ? yield E(Mo, e) : (He(Ae, n, "1"), yield g(cl(e)));
13560
+ Re(Ie, n) ? yield E(Mo, e) : (He(Ie, n, "1"), yield g(cl(e)));
13576
13561
  break;
13577
13562
  }
13578
13563
  }
13579
13564
  }
13580
13565
  function* Z_({ payload: e }) {
13581
- yield E(Mo, e), yield E(ve, 1e3), yield g(Fr(e.id)), yield g(Iu(e));
13566
+ yield E(Mo, e), yield E(ve, 1e3), yield g(Ur(e.id)), yield g(Iu(e));
13582
13567
  }
13583
13568
  function* eI(e) {
13584
- const { checklist: t } = e.payload, n = yield v(kt), r = kE(t, n);
13569
+ const { checklist: t } = e.payload, n = yield v(Ot), r = kE(t, n);
13585
13570
  yield g(Ue(t.id, r)), yield g(we(null, [Be(r)], !1));
13586
13571
  }
13587
13572
  function* tI(e) {
13588
- const { checklistId: t, didCompleteChecklist: n } = e.payload, r = yield v(kt), i = yield v(gn, t);
13573
+ const { checklistId: t, didCompleteChecklist: n } = e.payload, r = yield v(Ot), i = yield v(yn, t);
13589
13574
  yield g(Sn(i.id, te.DISMISSED));
13590
13575
  const o = n ? LE(i, r) : RE(i, r);
13591
13576
  yield g(Ue(o.checklistId, o)), yield g(we({}, [Be(o)], !1));
@@ -13596,10 +13581,10 @@ function* nI() {
13596
13581
  }
13597
13582
  function* rI(e) {
13598
13583
  const { checklistId: t, itemId: n, actionIndex: r } = e.payload;
13599
- yield g(un(t));
13600
- const i = yield v(kt);
13584
+ yield g(fn(t));
13585
+ const i = yield v(Ot);
13601
13586
  let o, s;
13602
- if (o = yield v(gn, t), s = yield v(Df, t, n), s || (o = e.payload.checklist, s = yield E(
13587
+ if (o = yield v(yn, t), s = yield v(Df, t, n), s || (o = e.payload.checklist, s = yield E(
13603
13588
  lt,
13604
13589
  o.attributes.items,
13605
13590
  ({ id: c }) => c === n
@@ -13624,7 +13609,7 @@ function* rI(e) {
13624
13609
  );
13625
13610
  }
13626
13611
  function* iI() {
13627
- const e = yield v(En);
13612
+ const e = yield v(gn);
13628
13613
  e.length > 0 && (yield pt(
13629
13614
  e.filter((t) => go.includes(t.status)).map((t) => g(Sn(t.id, te.HIDING)))
13630
13615
  ));
@@ -13640,7 +13625,7 @@ function* oI() {
13640
13625
  )
13641
13626
  ), yield g(
13642
13627
  Sn(e[0].id, te.SHOWING)
13643
- ), e[0].shouldTryExpandChecklist && (yield g(Fr(e[0].id)), yield g(Tu(e[0].id, !1))));
13628
+ ), e[0].shouldTryExpandChecklist && (yield g(Ur(e[0].id)), yield g(Tu(e[0].id, !1))));
13644
13629
  }
13645
13630
  function* sI() {
13646
13631
  yield [
@@ -13679,7 +13664,7 @@ function* sI() {
13679
13664
  ];
13680
13665
  }
13681
13666
  function* cI({ payload: e }) {
13682
- const { type: t, event: n } = e, r = yield v(kt), i = { ...n, sessionId: r };
13667
+ const { type: t, event: n } = e, r = yield v(Ot), i = { ...n, sessionId: r };
13683
13668
  yield g(Ue(t, i));
13684
13669
  }
13685
13670
  function* lI() {
@@ -13692,7 +13677,7 @@ function* lI() {
13692
13677
  ];
13693
13678
  }
13694
13679
  function aI() {
13695
- const e = Re(Ae, sn);
13680
+ const e = Re(Ie, ln);
13696
13681
  let t;
13697
13682
  if (e)
13698
13683
  try {
@@ -13706,12 +13691,12 @@ function aI() {
13706
13691
  _testContentUrl: r,
13707
13692
  ...i
13708
13693
  } = t;
13709
- return Fe(Ae, sn), Fe(Ae, yo), He(Ae, sn, JSON.stringify(i)), { _testContentId: null };
13694
+ return De(Ie, ln), De(Ie, yo), He(Ie, ln, JSON.stringify(i)), { _testContentId: null };
13710
13695
  }
13711
13696
  return {};
13712
13697
  }
13713
13698
  function uI() {
13714
- const e = Re(Ae, sn);
13699
+ const e = Re(Ie, ln);
13715
13700
  let t;
13716
13701
  if (e)
13717
13702
  try {
@@ -13727,16 +13712,16 @@ function uI() {
13727
13712
  }
13728
13713
  function* dI() {
13729
13714
  const e = aI();
13730
- yield g(xr(e, !0)), yield E(Os, e, [], !1);
13715
+ yield g(Pr(e, !0)), yield E(Os, e, [], !1);
13731
13716
  const t = Tn(
13732
13717
  window.location.href,
13733
13718
  "appcuesTestContentId"
13734
13719
  );
13735
- yield E(qt, window, t);
13720
+ yield E(Yt, window, t);
13736
13721
  }
13737
13722
  function* fI() {
13738
13723
  const e = uI();
13739
- yield E(qt, window, e);
13724
+ yield E(Yt, window, e);
13740
13725
  }
13741
13726
  function* pI() {
13742
13727
  yield [
@@ -13746,7 +13731,7 @@ function* pI() {
13746
13731
  }
13747
13732
  function* hI(e) {
13748
13733
  if (e.checklists && e.checklists.length > 0) {
13749
- const t = yield v(kt), n = [], i = ((yield v(En)) || []).reduce((d, f) => ({
13734
+ const t = yield v(Ot), n = [], i = ((yield v(gn)) || []).reduce((d, f) => ({
13750
13735
  ...d,
13751
13736
  [f.id]: f
13752
13737
  }), {}), o = e.checklists.map(({ checklist: d, state: f }) => {
@@ -13794,7 +13779,7 @@ function* hI(e) {
13794
13779
  yield (yield v(
13795
13780
  Ff,
13796
13781
  d.checklistId
13797
- )) === te.HIDING ? g(Tu(d.checklistId, !0)) : g(Fr(d.checklistId)), yield g(Ue(d.checklistId, d.event)), yield g(
13782
+ )) === te.HIDING ? g(Tu(d.checklistId, !0)) : g(Ur(d.checklistId)), yield g(Ue(d.checklistId, d.event)), yield g(
13798
13783
  we(
13799
13784
  {},
13800
13785
  [Be(d.event)],
@@ -13814,7 +13799,7 @@ function* hI(e) {
13814
13799
  );
13815
13800
  d && d[f] && d[f].step_type && d[f].step_type !== z.HOTSPOTS && (yield W(re.HIDE_CHECKLISTS));
13816
13801
  }
13817
- const c = yield v(En), l = yield v(
13802
+ const c = yield v(gn), l = yield v(
13818
13803
  os,
13819
13804
  te.SHOWING
13820
13805
  ), u = l[0] && l[0].attributes && l[0].attributes.id;
@@ -13848,9 +13833,9 @@ function* mI() {
13848
13833
  ...p
13849
13834
  } = s;
13850
13835
  yield g(f === "error" ? {
13851
- type: di.LAUNCHPAD_SEARCH_ERROR
13836
+ type: fi.LAUNCHPAD_SEARCH_ERROR
13852
13837
  } : {
13853
- type: di.LAUNCHPAD_SEARCH_RESPONSE,
13838
+ type: fi.LAUNCHPAD_SEARCH_RESPONSE,
13854
13839
  payload: p
13855
13840
  });
13856
13841
  } else i === $.START_HANDLE_MESSAGE && (yield F(hI, s));
@@ -13882,7 +13867,7 @@ function* mI() {
13882
13867
  // v2 format
13883
13868
  performed_qualification: A
13884
13869
  } = y;
13885
- yield g(Dm(m)), T && Object.keys(T).length > 0 && (yield g(xr(T, !0)));
13870
+ yield g(Dm(m)), T && Object.keys(T).length > 0 && (yield g(Pr(T, !0)));
13886
13871
  let I = _, C = h;
13887
13872
  if (S && S.length > 0) {
13888
13873
  const { contents: R, experiences: q } = Ns(S);
@@ -13890,11 +13875,13 @@ function* mI() {
13890
13875
  }
13891
13876
  C.some(
13892
13877
  (R) => R.type === Mn.NPS || R.type === Mn.FLOW
13893
- ) && (yield g(Fi()), yield g(Lu())), C.length > 0 && window.location.href === t[f] && // documentMode only exist in IE browser otherwise it will return undefined
13878
+ ) && (yield g(Fi()), yield g(Lu()));
13879
+ const L = y.qualification_reason === Vs.PAGE_VIEW;
13880
+ C.length > 0 && // documentMode only exist in IE browser otherwise it will return undefined
13894
13881
  // ref: https://www.geeksforgeeks.org/html-dom-documentmode-property/
13895
13882
  // ref: https://www.w3schools.com/jsref/prop_doc_documentmode.asp
13896
- !window.document?.documentMode && (yield g(Is(C)));
13897
- const L = y.qualification_reason === Vs.PAGE_VIEW, H = A && I && I.length > 0;
13883
+ !window.document?.documentMode && (!L || window.location.href === t[f]) && (yield g(Is(C)));
13884
+ const H = A && I && I.length > 0;
13898
13885
  if (L && H && window.location.href === t[f] || !L && H) {
13899
13886
  e = [], n.clear();
13900
13887
  const R = I.map((G) => G.id), q = I.reduce(
@@ -13934,7 +13921,7 @@ function gI(e) {
13934
13921
  }
13935
13922
  return e;
13936
13923
  }
13937
- var sd = "appcues:checklist_ready", cd = "appcues:checklist_close", $i = "appcues:toggle_checklist", Bi = "appcues:confirm_checklist_ready", yI = "appcues:launchpad_close", SI = "appcues:launchpad_search", TI = "appcues:launchpad_search_error", CI = "appcues:launchpad_search_response", $r = function(e, t) {
13924
+ var sd = "appcues:checklist_ready", cd = "appcues:checklist_close", $i = "appcues:toggle_checklist", Bi = "appcues:confirm_checklist_ready", yI = "appcues:launchpad_close", SI = "appcues:launchpad_search", TI = "appcues:launchpad_search_error", CI = "appcues:launchpad_search_response", Br = function(e, t) {
13938
13925
  return window.addEventListener(e, t), function() {
13939
13926
  return window.removeEventListener(e, t);
13940
13927
  };
@@ -13949,12 +13936,12 @@ var sd = "appcues:checklist_ready", cd = "appcues:checklist_close", $i = "appcue
13949
13936
  });
13950
13937
  window.dispatchEvent(o);
13951
13938
  }, oA = function(e) {
13952
- return $r(sd, e);
13939
+ return Br(sd, e);
13953
13940
  }, II = function() {
13954
13941
  var e = new CustomEvent(cd);
13955
13942
  window.dispatchEvent(e);
13956
13943
  }, sA = function(e) {
13957
- return $r(cd, e);
13944
+ return Br(cd, e);
13958
13945
  }, cA = function() {
13959
13946
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, n = new CustomEvent($i, {
13960
13947
  detail: {
@@ -13964,17 +13951,17 @@ var sd = "appcues:checklist_ready", cd = "appcues:checklist_close", $i = "appcue
13964
13951
  });
13965
13952
  window.dispatchEvent(n);
13966
13953
  }, AI = function(e) {
13967
- return $r($i, e);
13954
+ return Br($i, e);
13968
13955
  }, lA = function() {
13969
13956
  var e = new CustomEvent(Bi);
13970
13957
  window.dispatchEvent(e);
13971
13958
  }, vI = function(e) {
13972
- return $r(Bi, e);
13959
+ return Br(Bi, e);
13973
13960
  }, bI = function() {
13974
13961
  var e = new CustomEvent(yI);
13975
13962
  window.dispatchEvent(e);
13976
13963
  }, wI = function(e) {
13977
- return $r(SI, e);
13964
+ return Br(SI, e);
13978
13965
  }, NI = function(e, t) {
13979
13966
  var n = new CustomEvent("".concat(CI, ":").concat(e), {
13980
13967
  detail: gI({}, t)
@@ -13998,7 +13985,7 @@ function* kI() {
13998
13985
  const t = yield v(be);
13999
13986
  ne.defined(t.userId) || (yield W(U.COMPLETED_IDENTIFY));
14000
13987
  let n = yield E(Al);
14001
- const r = Nr((i) => (wI((o) => {
13988
+ const r = kr((i) => (wI((o) => {
14002
13989
  const { experienceId: s, integrationId: c, query: l } = o.detail;
14003
13990
  $o.push(s), i({
14004
13991
  type: To,
@@ -14016,7 +14003,7 @@ function* kI() {
14016
14003
  ld(i);
14017
14004
  },
14018
14005
  n,
14019
- Mr.UserActivity
14006
+ $r.UserActivity
14020
14007
  ); ; ) {
14021
14008
  const { data: i } = yield W(r);
14022
14009
  n = yield E(Al), yield E(FS, n, To, i);
@@ -14035,12 +14022,12 @@ function* LI() {
14035
14022
  ut(kI),
14036
14023
  F(
14037
14024
  Ze,
14038
- di.LAUNCHPAD_SEARCH_RESPONSE,
14025
+ fi.LAUNCHPAD_SEARCH_RESPONSE,
14039
14026
  OI
14040
14027
  ),
14041
14028
  F(
14042
14029
  Ze,
14043
- di.LAUNCHPAD_SEARCH_ERROR,
14030
+ fi.LAUNCHPAD_SEARCH_ERROR,
14044
14031
  RI
14045
14032
  )
14046
14033
  ];
@@ -14053,7 +14040,7 @@ const xI = "v2", PI = (e) => {
14053
14040
  },
14054
14041
  sendCustomEvent: (n, r) => {
14055
14042
  const i = { ...r, id: n };
14056
- e(we({}, [zt(n, i)], !0));
14043
+ e(we({}, [Jt(n, i)], !0));
14057
14044
  },
14058
14045
  updateUserProfile: (n = {}) => {
14059
14046
  Object.keys(n).length !== 0 && e(we(n, [], !0));
@@ -14064,16 +14051,16 @@ const xI = "v2", PI = (e) => {
14064
14051
  return;
14065
14052
  }
14066
14053
  if (!r || St(window.location.href, r)) {
14067
- e(Lr(n));
14054
+ e(xr(n));
14068
14055
  return;
14069
14056
  }
14070
- e(pu(n)), qt(window, r);
14057
+ e(pu(n)), Yt(window, r);
14071
14058
  }
14072
14059
  };
14073
14060
  return window.createAppcues(t);
14074
14061
  }, DI = async () => {
14075
14062
  {
14076
- const e = await import("./open-builder.C0B3IUtT.js");
14063
+ const e = await import("./open-builder.BiBgluKT.js");
14077
14064
  window.createAppcues = e.default;
14078
14065
  }
14079
14066
  return PI;
@@ -14082,16 +14069,16 @@ function* FI() {
14082
14069
  const e = yield Xd("dispatch"), n = (yield E(DI))(e);
14083
14070
  yield g(Lm(n)), yield g(Pm());
14084
14071
  }
14085
- function* $t() {
14072
+ function* Bt() {
14086
14073
  const e = yield v(No), t = yield v(Gf);
14087
14074
  return t && (yield W(({ type: n }) => n === U.OPEN_BUILDER_INITIALIZED)), !e && !t && (yield g(xm()), yield W(({ type: n }) => n === U.OPEN_BUILDER_INITIALIZED)), yield v(No);
14088
14075
  }
14089
14076
  function* Fs({ payload: e }) {
14090
- const t = yield E($t);
14077
+ const t = yield E(Bt);
14091
14078
  t && (yield E(t.pause, e));
14092
14079
  }
14093
14080
  function* ad({ payload: e }) {
14094
- const t = yield E($t);
14081
+ const t = yield E(Bt);
14095
14082
  t && (yield E(t.resume, e));
14096
14083
  }
14097
14084
  function* ud(e, t) {
@@ -14101,7 +14088,7 @@ function* ud(e, t) {
14101
14088
  Xe.EXPERIENCES
14102
14089
  )) && t.show(e);
14103
14090
  }
14104
- function Ei(e) {
14091
+ function gi(e) {
14105
14092
  const t = {
14106
14093
  experiences: [],
14107
14094
  launchpads: []
@@ -14112,7 +14099,7 @@ function Ei(e) {
14112
14099
  }), t;
14113
14100
  }
14114
14101
  function* UI({ payload: e }) {
14115
- const t = yield E($t);
14102
+ const t = yield E(Bt);
14116
14103
  let n = e;
14117
14104
  const r = n.some(
14118
14105
  (o) => o.type === Mn.NPS || o.type === Mn.FLOW
@@ -14120,23 +14107,23 @@ function* UI({ payload: e }) {
14120
14107
  (o) => o.type === "launchpad"
14121
14108
  );
14122
14109
  if (i) {
14123
- yield import("./index.CcKx_YAn.js");
14110
+ yield import("./index.IZAOhXe4.js");
14124
14111
  const o = yield v(ye);
14125
14112
  if (!(o?.type === z.HOTSPOTS) && o) {
14126
- const { experiences: c, launchpads: l } = Ei(n);
14127
- n = c, yield g(br(l));
14113
+ const { experiences: c, launchpads: l } = gi(n);
14114
+ n = c, yield g(wr(l));
14128
14115
  }
14129
14116
  }
14130
14117
  if (r && i) {
14131
- const { experiences: o, launchpads: s } = Ei(n);
14132
- yield g(br(s)), n = o;
14118
+ const { experiences: o, launchpads: s } = gi(n);
14119
+ yield g(wr(s)), n = o;
14133
14120
  }
14134
14121
  r && (yield g(Fi())), yield pt(
14135
14122
  n.map((o) => E(ud, o, t))
14136
14123
  );
14137
14124
  }
14138
14125
  function* HI() {
14139
- const e = yield E($t);
14126
+ const e = yield E(Bt);
14140
14127
  e && e.stopAll();
14141
14128
  }
14142
14129
  function* MI(e, t) {
@@ -14145,33 +14132,33 @@ function* MI(e, t) {
14145
14132
  function* $I() {
14146
14133
  const e = yield v(qf);
14147
14134
  if (e.length <= 0) return;
14148
- const t = yield E($t);
14135
+ const t = yield E(Bt);
14149
14136
  yield pt(
14150
14137
  e.map((n) => E(MI, n, t))
14151
- ), yield g(br([]));
14138
+ ), yield g(wr([]));
14152
14139
  }
14153
14140
  function* BI() {
14154
- const e = yield E($t), t = yield E(e.getRunningExperiences), { launchpads: n } = Ei(t);
14141
+ const e = yield E(Bt), t = yield E(e.getRunningExperiences), { launchpads: n } = gi(t);
14155
14142
  n.length <= 0 || (yield pt(
14156
14143
  n.map(
14157
14144
  (r) => E(Fs, { payload: r.id })
14158
14145
  )
14159
- ), yield g(br(n)));
14146
+ ), yield g(wr(n)));
14160
14147
  }
14161
14148
  function* VI() {
14162
14149
  if ((yield v(ye)).type === z.HOTSPOTS) return;
14163
- const n = yield E($t), r = yield E(n.getRunningExperiences), { launchpads: i } = Ei(r);
14150
+ const n = yield E(Bt), r = yield E(n.getRunningExperiences), { launchpads: i } = gi(r);
14164
14151
  i.length <= 0 || (yield pt(
14165
14152
  i.map(
14166
14153
  (o) => E(Fs, { payload: o.id })
14167
14154
  )
14168
- ), yield g(br(i)));
14155
+ ), yield g(wr(i)));
14169
14156
  }
14170
14157
  function* WI({ payload: e }) {
14171
14158
  const { type: t, event: n } = e, r = n.experienceType === Mn.NPS || n.experienceType === Mn.FLOW, i = Pd.includes(t);
14172
14159
  if (r && i) {
14173
- const o = yield E($t);
14174
- yield E(o.stop, n.experienceId), yield g(wr()), yield g(vr());
14160
+ const o = yield E(Bt);
14161
+ yield E(o.stop, n.experienceId), yield g(Nr()), yield g(br());
14175
14162
  }
14176
14163
  }
14177
14164
  function* GI() {
@@ -14223,7 +14210,7 @@ function* qI() {
14223
14210
  yield [F(jI)];
14224
14211
  }
14225
14212
  const vl = b(
14226
- Li.SET_COLLISION_MODE
14213
+ xi.SET_COLLISION_MODE
14227
14214
  ), KI = "launchpad-button-wrapper", YI = (e, t) => e.checklist ? e.checklist.payload[0] : t.payload[0], zI = (e, t) => (e.experiences ? e.experiences.payload : t.payload).find(
14228
14215
  (i) => i.type === "launchpad"
14229
14216
  ), XI = (e) => {
@@ -14263,13 +14250,13 @@ function* JI() {
14263
14250
  yield E(dd, n, r);
14264
14251
  }
14265
14252
  function* QI({ payload: { checklistId: e, forceClose: t } }) {
14266
- const n = yield v(gn, e);
14253
+ const n = yield v(yn, e);
14267
14254
  if (t) {
14268
- yield g(un(e));
14255
+ yield g(fn(e));
14269
14256
  return;
14270
14257
  }
14271
- const r = n.viewState === Wt.EXPANDED;
14272
- r || (yield E(bI)), yield g(r ? un(e) : Fr(e));
14258
+ const r = n.viewState === Gt.EXPANDED;
14259
+ r || (yield E(bI)), yield g(r ? fn(e) : Ur(e));
14273
14260
  }
14274
14261
  function* fd({ payload: { collisionMode: e, checklist: t } }) {
14275
14262
  if (!e) {
@@ -14295,7 +14282,7 @@ function* fd({ payload: { collisionMode: e, checklist: t } }) {
14295
14282
  }));
14296
14283
  }
14297
14284
  function* ZI() {
14298
- const e = Nr((t) => (AI((n) => {
14285
+ const e = kr((t) => (AI((n) => {
14299
14286
  t({
14300
14287
  type: $i,
14301
14288
  payload: {
@@ -14315,10 +14302,10 @@ function* ZI() {
14315
14302
  }
14316
14303
  }
14317
14304
  function* eA() {
14318
- for (yield W(Li.SET_COLLISION_MODE); ; ) {
14305
+ for (yield W(xi.SET_COLLISION_MODE); ; ) {
14319
14306
  const {
14320
14307
  payload: [e]
14321
- } = yield W(re.UPDATE_CHECKLISTS), t = yield E($t);
14308
+ } = yield W(re.UPDATE_CHECKLISTS), t = yield E(Bt);
14322
14309
  if (!t) return;
14323
14310
  let n = null, r = 0;
14324
14311
  const i = 10;
@@ -14337,12 +14324,12 @@ function* tA() {
14337
14324
  F(Ir, $i, QI),
14338
14325
  F(
14339
14326
  Ir,
14340
- Li.SET_COLLISION_MODE,
14327
+ xi.SET_COLLISION_MODE,
14341
14328
  fd
14342
14329
  )
14343
14330
  ];
14344
14331
  }
14345
- const nA = "/generic/main/7.8.0/container.52175bcd669743890b973ef6e81a2996cf849c5e.css", rA = "oAzWkIGu2eINiA7AHWZtghnvS5DuvILEICBpL1HdPkY=";
14332
+ const nA = "/generic/main/7.12.0/container.9b4caeae8c95b7e55917db3db9558a23e797772e.css", rA = "sha256-hDvMQUFhRDDvNjMfTY9We9v9kJw7VBaXX8yL5nYcIcA=";
14346
14333
  window.performance && window.performance.mark && window.performance.mark("apc-init");
14347
14334
  zS();
14348
14335
  const bt = window.AppcuesBundleSettings;
@@ -14354,7 +14341,7 @@ sr.setAttribute("rel", "stylesheet");
14354
14341
  sr.setAttribute("type", "text/css");
14355
14342
  sr.setAttribute("integrity", rA);
14356
14343
  sr.setAttribute("crossorigin", "anonymous");
14357
- sr.setAttribute("href", Mt(nA));
14344
+ sr.setAttribute("href", $t(nA));
14358
14345
  document.head.appendChild(sr);
14359
14346
  const Eo = window[Wo];
14360
14347
  ne.object(Eo) && ne.defined(Eo.gaTracker) && bt.integrations.ga && (bt.integrations.ga.trackerName = Eo.gaTracker);
@@ -14363,7 +14350,7 @@ const bl = document.documentElement.querySelector(
14363
14350
  'script[src*="fast.appcues"]'
14364
14351
  );
14365
14352
  bl && (Bo = bl.getAttribute("data-user-id"));
14366
- const fn = yS({
14353
+ const hn = yS({
14367
14354
  settings: bt,
14368
14355
  sagas: [
14369
14356
  GC,
@@ -14393,23 +14380,23 @@ const fn = yS({
14393
14380
  E_(e), __(e);
14394
14381
  }
14395
14382
  });
14396
- fn.dispatch(
14383
+ hn.dispatch(
14397
14384
  Wa({
14398
14385
  [z.DEBUGGER]: I_(
14399
- fn.dispatch,
14400
- fn.getState
14386
+ hn.dispatch,
14387
+ hn.getState
14401
14388
  )
14402
14389
  })
14403
14390
  );
14404
- fn.dispatch(
14391
+ hn.dispatch(
14405
14392
  em(
14406
14393
  bt,
14407
- oT(fn),
14394
+ oT(hn),
14408
14395
  YS,
14409
- sT(bt, fn.getState)
14396
+ sT(bt, hn.getState)
14410
14397
  )
14411
14398
  );
14412
- const Vi = s_(fn);
14399
+ const Vi = s_(hn);
14413
14400
  bt && bt.integrations && Object.keys(bt.integrations).forEach((e) => {
14414
14401
  if (bt.integrations[e].isEnabled) {
14415
14402
  const t = Vi[`init${{
@@ -14440,16 +14427,16 @@ bt && bt.integrations && Object.keys(bt.integrations).forEach((e) => {
14440
14427
  /hey_appcues/i.test(window.location.search) && Vi.debug();
14441
14428
  Bo !== null && Vi.identify(Bo);
14442
14429
  const wl = window.AppcuesBundleSettings;
14443
- let ei;
14430
+ let ti;
14444
14431
  if (window.Appcues && !window.Appcues.SNIPPET_VERSION)
14445
- ei = window.Appcues;
14432
+ ti = window.Appcues;
14446
14433
  else if (window.requestAnimationFrame && window.WebSocket && wl.accountId && /^\d+$/.test(wl.accountId))
14447
- window.Appcues = Vi, ei = window.Appcues;
14434
+ window.Appcues = Vi, ti = window.Appcues;
14448
14435
  else {
14449
14436
  const e = () => {
14450
14437
  };
14451
- ei = {}, Dd.forEach((t) => {
14452
- ei[t] = e;
14438
+ ti = {}, Dd.forEach((t) => {
14439
+ ti[t] = e;
14453
14440
  });
14454
14441
  }
14455
14442
  const aA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({