react-shepherd 6.0.3 → 6.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import Gr, { createContext as _s, useContext as Es } from "react";
2
- var zn = { exports: {} }, De = {};
1
+ import Xr, { createContext as xs, useContext as _s } from "react";
2
+ var Jn = { exports: {} }, De = {};
3
3
  /**
4
4
  * @license React
5
5
  * react-jsx-runtime.production.min.js
@@ -10,10 +10,10 @@ var zn = { exports: {} }, De = {};
10
10
  * LICENSE file in the root directory of this source tree.
11
11
  */
12
12
  var er;
13
- function Os() {
13
+ function Es() {
14
14
  if (er) return De;
15
15
  er = 1;
16
- var t = Gr, e = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, r = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
16
+ var t = Xr, e = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, r = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
17
17
  function s(l, c, a) {
18
18
  var f, h = {}, d = null, p = null;
19
19
  a !== void 0 && (d = "" + a), c.key !== void 0 && (d = "" + c.key), c.ref !== void 0 && (p = c.ref);
@@ -34,9 +34,9 @@ var Fe = {};
34
34
  * LICENSE file in the root directory of this source tree.
35
35
  */
36
36
  var nr;
37
- function Ss() {
37
+ function Os() {
38
38
  return nr || (nr = 1, process.env.NODE_ENV !== "production" && function() {
39
- var t = Gr, e = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), m = Symbol.iterator, y = "@@iterator";
39
+ var t = Xr, e = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), m = Symbol.iterator, y = "@@iterator";
40
40
  function _(u) {
41
41
  if (u === null || typeof u != "object")
42
42
  return null;
@@ -125,14 +125,14 @@ function Ss() {
125
125
  }
126
126
  return null;
127
127
  }
128
- var $ = Object.assign, q = 0, H, W, Q, gt, Qe, jo, Bo;
128
+ var $ = Object.assign, q = 0, H, W, Q, gt, tn, jo, Bo;
129
129
  function Wo() {
130
130
  }
131
131
  Wo.__reactDisabledLog = !0;
132
- function Ji() {
132
+ function zi() {
133
133
  {
134
134
  if (q === 0) {
135
- H = console.log, W = console.info, Q = console.warn, gt = console.error, Qe = console.group, jo = console.groupCollapsed, Bo = console.groupEnd;
135
+ H = console.log, W = console.info, Q = console.warn, gt = console.error, tn = console.group, jo = console.groupCollapsed, Bo = console.groupEnd;
136
136
  var u = {
137
137
  configurable: !0,
138
138
  enumerable: !0,
@@ -152,7 +152,7 @@ function Ss() {
152
152
  q++;
153
153
  }
154
154
  }
155
- function Xi() {
155
+ function Ji() {
156
156
  {
157
157
  if (q--, q === 0) {
158
158
  var u = {
@@ -174,7 +174,7 @@ function Ss() {
174
174
  value: gt
175
175
  }),
176
176
  group: $({}, u, {
177
- value: Qe
177
+ value: tn
178
178
  }),
179
179
  groupCollapsed: $({}, u, {
180
180
  value: jo
@@ -187,39 +187,39 @@ function Ss() {
187
187
  q < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
188
188
  }
189
189
  }
190
- var Rn = w.ReactCurrentDispatcher, In;
191
- function tn(u, v, E) {
190
+ var In = w.ReactCurrentDispatcher, An;
191
+ function en(u, v, E) {
192
192
  {
193
- if (In === void 0)
193
+ if (An === void 0)
194
194
  try {
195
195
  throw Error();
196
196
  } catch (k) {
197
197
  var T = k.stack.trim().match(/\n( *(at )?)/);
198
- In = T && T[1] || "";
198
+ An = T && T[1] || "";
199
199
  }
200
200
  return `
201
- ` + In + u;
201
+ ` + An + u;
202
202
  }
203
203
  }
204
- var An = !1, en;
204
+ var Pn = !1, nn;
205
205
  {
206
- var Gi = typeof WeakMap == "function" ? WeakMap : Map;
207
- en = new Gi();
206
+ var Xi = typeof WeakMap == "function" ? WeakMap : Map;
207
+ nn = new Xi();
208
208
  }
209
209
  function No(u, v) {
210
- if (!u || An)
210
+ if (!u || Pn)
211
211
  return "";
212
212
  {
213
- var E = en.get(u);
213
+ var E = nn.get(u);
214
214
  if (E !== void 0)
215
215
  return E;
216
216
  }
217
217
  var T;
218
- An = !0;
218
+ Pn = !0;
219
219
  var k = Error.prepareStackTrace;
220
220
  Error.prepareStackTrace = void 0;
221
221
  var D;
222
- D = Rn.current, Rn.current = null, Ji();
222
+ D = In.current, In.current = null, zi();
223
223
  try {
224
224
  if (v) {
225
225
  var R = function() {
@@ -265,48 +265,48 @@ function Ss() {
265
265
  if (Y--, X--, X < 0 || C[Y] !== tt[X]) {
266
266
  var ct = `
267
267
  ` + C[Y].replace(" at new ", " at ");
268
- return u.displayName && ct.includes("<anonymous>") && (ct = ct.replace("<anonymous>", u.displayName)), typeof u == "function" && en.set(u, ct), ct;
268
+ return u.displayName && ct.includes("<anonymous>") && (ct = ct.replace("<anonymous>", u.displayName)), typeof u == "function" && nn.set(u, ct), ct;
269
269
  }
270
270
  while (Y >= 1 && X >= 0);
271
271
  break;
272
272
  }
273
273
  }
274
274
  } finally {
275
- An = !1, Rn.current = D, Xi(), Error.prepareStackTrace = k;
275
+ Pn = !1, In.current = D, Ji(), Error.prepareStackTrace = k;
276
276
  }
277
- var ce = u ? u.displayName || u.name : "", Ut = ce ? tn(ce) : "";
278
- return typeof u == "function" && en.set(u, Ut), Ut;
277
+ var ce = u ? u.displayName || u.name : "", Ut = ce ? en(ce) : "";
278
+ return typeof u == "function" && nn.set(u, Ut), Ut;
279
279
  }
280
- function Zi(u, v, E) {
280
+ function Gi(u, v, E) {
281
281
  return No(u, !1);
282
282
  }
283
- function Qi(u) {
283
+ function Zi(u) {
284
284
  var v = u.prototype;
285
285
  return !!(v && v.isReactComponent);
286
286
  }
287
- function nn(u, v, E) {
287
+ function on(u, v, E) {
288
288
  if (u == null)
289
289
  return "";
290
290
  if (typeof u == "function")
291
- return No(u, Qi(u));
291
+ return No(u, Zi(u));
292
292
  if (typeof u == "string")
293
- return tn(u);
293
+ return en(u);
294
294
  switch (u) {
295
295
  case a:
296
- return tn("Suspense");
296
+ return en("Suspense");
297
297
  case f:
298
- return tn("SuspenseList");
298
+ return en("SuspenseList");
299
299
  }
300
300
  if (typeof u == "object")
301
301
  switch (u.$$typeof) {
302
302
  case c:
303
- return Zi(u.render);
303
+ return Gi(u.render);
304
304
  case h:
305
- return nn(u.type, v, E);
305
+ return on(u.type, v, E);
306
306
  case d: {
307
307
  var T = u, k = T._payload, D = T._init;
308
308
  try {
309
- return nn(D(k), v, E);
309
+ return on(D(k), v, E);
310
310
  } catch {
311
311
  }
312
312
  }
@@ -314,14 +314,14 @@ function Ss() {
314
314
  return "";
315
315
  }
316
316
  var Me = Object.prototype.hasOwnProperty, Ho = {}, Vo = w.ReactDebugCurrentFrame;
317
- function on(u) {
317
+ function rn(u) {
318
318
  if (u) {
319
- var v = u._owner, E = nn(u.type, u._source, v ? v.type : null);
319
+ var v = u._owner, E = on(u.type, u._source, v ? v.type : null);
320
320
  Vo.setExtraStackFrame(E);
321
321
  } else
322
322
  Vo.setExtraStackFrame(null);
323
323
  }
324
- function ts(u, v, E, T, k) {
324
+ function Qi(u, v, E, T, k) {
325
325
  {
326
326
  var D = Function.call.bind(Me);
327
327
  for (var R in u)
@@ -336,21 +336,21 @@ function Ss() {
336
336
  } catch (Y) {
337
337
  C = Y;
338
338
  }
339
- C && !(C instanceof Error) && (on(k), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", T || "React class", E, R, typeof C), on(null)), C instanceof Error && !(C.message in Ho) && (Ho[C.message] = !0, on(k), x("Failed %s type: %s", E, C.message), on(null));
339
+ C && !(C instanceof Error) && (rn(k), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", T || "React class", E, R, typeof C), rn(null)), C instanceof Error && !(C.message in Ho) && (Ho[C.message] = !0, rn(k), x("Failed %s type: %s", E, C.message), rn(null));
340
340
  }
341
341
  }
342
342
  }
343
- var es = Array.isArray;
344
- function Pn(u) {
345
- return es(u);
343
+ var ts = Array.isArray;
344
+ function kn(u) {
345
+ return ts(u);
346
346
  }
347
- function ns(u) {
347
+ function es(u) {
348
348
  {
349
349
  var v = typeof Symbol == "function" && Symbol.toStringTag, E = v && u[Symbol.toStringTag] || u.constructor.name || "Object";
350
350
  return E;
351
351
  }
352
352
  }
353
- function os(u) {
353
+ function ns(u) {
354
354
  try {
355
355
  return Uo(u), !1;
356
356
  } catch {
@@ -361,17 +361,17 @@ function Ss() {
361
361
  return "" + u;
362
362
  }
363
363
  function qo(u) {
364
- if (os(u))
365
- return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ns(u)), Uo(u);
364
+ if (ns(u))
365
+ return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", es(u)), Uo(u);
366
366
  }
367
- var Le = w.ReactCurrentOwner, rs = {
367
+ var Le = w.ReactCurrentOwner, os = {
368
368
  key: !0,
369
369
  ref: !0,
370
370
  __self: !0,
371
371
  __source: !0
372
- }, Yo, Ko, kn;
373
- kn = {};
374
- function is(u) {
372
+ }, Yo, Ko, Mn;
373
+ Mn = {};
374
+ function rs(u) {
375
375
  if (Me.call(u, "ref")) {
376
376
  var v = Object.getOwnPropertyDescriptor(u, "ref").get;
377
377
  if (v && v.isReactWarning)
@@ -379,7 +379,7 @@ function Ss() {
379
379
  }
380
380
  return u.ref !== void 0;
381
381
  }
382
- function ss(u) {
382
+ function is(u) {
383
383
  if (Me.call(u, "key")) {
384
384
  var v = Object.getOwnPropertyDescriptor(u, "key").get;
385
385
  if (v && v.isReactWarning)
@@ -387,13 +387,13 @@ function Ss() {
387
387
  }
388
388
  return u.key !== void 0;
389
389
  }
390
- function ls(u, v) {
390
+ function ss(u, v) {
391
391
  if (typeof u.ref == "string" && Le.current && v && Le.current.stateNode !== v) {
392
392
  var E = A(Le.current.type);
393
- kn[E] || (x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', A(Le.current.type), u.ref), kn[E] = !0);
393
+ Mn[E] || (x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', A(Le.current.type), u.ref), Mn[E] = !0);
394
394
  }
395
395
  }
396
- function cs(u, v) {
396
+ function ls(u, v) {
397
397
  {
398
398
  var E = function() {
399
399
  Yo || (Yo = !0, x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", v));
@@ -404,7 +404,7 @@ function Ss() {
404
404
  });
405
405
  }
406
406
  }
407
- function as(u, v) {
407
+ function cs(u, v) {
408
408
  {
409
409
  var E = function() {
410
410
  Ko || (Ko = !0, x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", v));
@@ -415,7 +415,7 @@ function Ss() {
415
415
  });
416
416
  }
417
417
  }
418
- var us = function(u, v, E, T, k, D, R) {
418
+ var as = function(u, v, E, T, k, D, R) {
419
419
  var C = {
420
420
  // This tag allows us to uniquely identify this as a React Element
421
421
  $$typeof: e,
@@ -444,12 +444,12 @@ function Ss() {
444
444
  value: k
445
445
  }), Object.freeze && (Object.freeze(C.props), Object.freeze(C)), C;
446
446
  };
447
- function fs(u, v, E, T, k) {
447
+ function us(u, v, E, T, k) {
448
448
  {
449
449
  var D, R = {}, C = null, tt = null;
450
- E !== void 0 && (qo(E), C = "" + E), ss(v) && (qo(v.key), C = "" + v.key), is(v) && (tt = v.ref, ls(v, k));
450
+ E !== void 0 && (qo(E), C = "" + E), is(v) && (qo(v.key), C = "" + v.key), rs(v) && (tt = v.ref, ss(v, k));
451
451
  for (D in v)
452
- Me.call(v, D) && !rs.hasOwnProperty(D) && (R[D] = v[D]);
452
+ Me.call(v, D) && !os.hasOwnProperty(D) && (R[D] = v[D]);
453
453
  if (u && u.defaultProps) {
454
454
  var Y = u.defaultProps;
455
455
  for (D in Y)
@@ -457,28 +457,28 @@ function Ss() {
457
457
  }
458
458
  if (C || tt) {
459
459
  var X = typeof u == "function" ? u.displayName || u.name || "Unknown" : u;
460
- C && cs(R, X), tt && as(R, X);
460
+ C && ls(R, X), tt && cs(R, X);
461
461
  }
462
- return us(u, C, tt, k, T, Le.current, R);
462
+ return as(u, C, tt, k, T, Le.current, R);
463
463
  }
464
464
  }
465
- var Mn = w.ReactCurrentOwner, zo = w.ReactDebugCurrentFrame;
465
+ var Ln = w.ReactCurrentOwner, zo = w.ReactDebugCurrentFrame;
466
466
  function le(u) {
467
467
  if (u) {
468
- var v = u._owner, E = nn(u.type, u._source, v ? v.type : null);
468
+ var v = u._owner, E = on(u.type, u._source, v ? v.type : null);
469
469
  zo.setExtraStackFrame(E);
470
470
  } else
471
471
  zo.setExtraStackFrame(null);
472
472
  }
473
- var Ln;
474
- Ln = !1;
475
- function Dn(u) {
473
+ var Dn;
474
+ Dn = !1;
475
+ function Fn(u) {
476
476
  return typeof u == "object" && u !== null && u.$$typeof === e;
477
477
  }
478
478
  function Jo() {
479
479
  {
480
- if (Mn.current) {
481
- var u = A(Mn.current.type);
480
+ if (Ln.current) {
481
+ var u = A(Ln.current.type);
482
482
  if (u)
483
483
  return `
484
484
 
@@ -487,11 +487,11 @@ Check the render method of \`` + u + "`.";
487
487
  return "";
488
488
  }
489
489
  }
490
- function ds(u) {
490
+ function fs(u) {
491
491
  return "";
492
492
  }
493
493
  var Xo = {};
494
- function hs(u) {
494
+ function ds(u) {
495
495
  {
496
496
  var v = Jo();
497
497
  if (!v) {
@@ -508,34 +508,34 @@ Check the top-level render call using <` + E + ">.");
508
508
  if (!u._store || u._store.validated || u.key != null)
509
509
  return;
510
510
  u._store.validated = !0;
511
- var E = hs(v);
511
+ var E = ds(v);
512
512
  if (Xo[E])
513
513
  return;
514
514
  Xo[E] = !0;
515
515
  var T = "";
516
- u && u._owner && u._owner !== Mn.current && (T = " It was passed a child from " + A(u._owner.type) + "."), le(u), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', E, T), le(null);
516
+ u && u._owner && u._owner !== Ln.current && (T = " It was passed a child from " + A(u._owner.type) + "."), le(u), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', E, T), le(null);
517
517
  }
518
518
  }
519
519
  function Zo(u, v) {
520
520
  {
521
521
  if (typeof u != "object")
522
522
  return;
523
- if (Pn(u))
523
+ if (kn(u))
524
524
  for (var E = 0; E < u.length; E++) {
525
525
  var T = u[E];
526
- Dn(T) && Go(T, v);
526
+ Fn(T) && Go(T, v);
527
527
  }
528
- else if (Dn(u))
528
+ else if (Fn(u))
529
529
  u._store && (u._store.validated = !0);
530
530
  else if (u) {
531
531
  var k = _(u);
532
532
  if (typeof k == "function" && k !== u.entries)
533
533
  for (var D = k.call(u), R; !(R = D.next()).done; )
534
- Dn(R.value) && Go(R.value, v);
534
+ Fn(R.value) && Go(R.value, v);
535
535
  }
536
536
  }
537
537
  }
538
- function ps(u) {
538
+ function hs(u) {
539
539
  {
540
540
  var v = u.type;
541
541
  if (v == null || typeof v == "string")
@@ -551,16 +551,16 @@ Check the top-level render call using <` + E + ">.");
551
551
  return;
552
552
  if (E) {
553
553
  var T = A(v);
554
- ts(E, u.props, "prop", T, u);
555
- } else if (v.PropTypes !== void 0 && !Ln) {
556
- Ln = !0;
554
+ Qi(E, u.props, "prop", T, u);
555
+ } else if (v.PropTypes !== void 0 && !Dn) {
556
+ Dn = !0;
557
557
  var k = A(v);
558
558
  x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", k || "Unknown");
559
559
  }
560
560
  typeof v.getDefaultProps == "function" && !v.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
561
561
  }
562
562
  }
563
- function gs(u) {
563
+ function ps(u) {
564
564
  {
565
565
  for (var v = Object.keys(u.props), E = 0; E < v.length; E++) {
566
566
  var T = v[E];
@@ -579,19 +579,19 @@ Check the top-level render call using <` + E + ">.");
579
579
  if (!R) {
580
580
  var C = "";
581
581
  (u === void 0 || typeof u == "object" && u !== null && Object.keys(u).length === 0) && (C += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
582
- var tt = ds();
582
+ var tt = fs();
583
583
  tt ? C += tt : C += Jo();
584
584
  var Y;
585
- u === null ? Y = "null" : Pn(u) ? Y = "array" : u !== void 0 && u.$$typeof === e ? (Y = "<" + (A(u.type) || "Unknown") + " />", C = " Did you accidentally export a JSX literal instead of a component?") : Y = typeof u, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Y, C);
585
+ u === null ? Y = "null" : kn(u) ? Y = "array" : u !== void 0 && u.$$typeof === e ? (Y = "<" + (A(u.type) || "Unknown") + " />", C = " Did you accidentally export a JSX literal instead of a component?") : Y = typeof u, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Y, C);
586
586
  }
587
- var X = fs(u, v, E, k, D);
587
+ var X = us(u, v, E, k, D);
588
588
  if (X == null)
589
589
  return X;
590
590
  if (R) {
591
591
  var ct = v.children;
592
592
  if (ct !== void 0)
593
593
  if (T)
594
- if (Pn(ct)) {
594
+ if (kn(ct)) {
595
595
  for (var ce = 0; ce < ct.length; ce++)
596
596
  Zo(ct[ce], u);
597
597
  Object.freeze && Object.freeze(ct);
@@ -601,45 +601,45 @@ Check the top-level render call using <` + E + ">.");
601
601
  Zo(ct, u);
602
602
  }
603
603
  if (Me.call(v, "key")) {
604
- var Ut = A(u), ot = Object.keys(v).filter(function(xs) {
605
- return xs !== "key";
606
- }), Fn = ot.length > 0 ? "{key: someKey, " + ot.join(": ..., ") + ": ...}" : "{key: someKey}";
607
- if (!Qo[Ut + Fn]) {
608
- var ws = ot.length > 0 ? "{" + ot.join(": ..., ") + ": ...}" : "{}";
604
+ var Ut = A(u), ot = Object.keys(v).filter(function(ws) {
605
+ return ws !== "key";
606
+ }), jn = ot.length > 0 ? "{key: someKey, " + ot.join(": ..., ") + ": ...}" : "{key: someKey}";
607
+ if (!Qo[Ut + jn]) {
608
+ var vs = ot.length > 0 ? "{" + ot.join(": ..., ") + ": ...}" : "{}";
609
609
  x(`A props object containing a "key" prop is being spread into JSX:
610
610
  let props = %s;
611
611
  <%s {...props} />
612
612
  React keys must be passed directly to JSX without using spread:
613
613
  let props = %s;
614
- <%s key={someKey} {...props} />`, Fn, Ut, ws, Ut), Qo[Ut + Fn] = !0;
614
+ <%s key={someKey} {...props} />`, jn, Ut, vs, Ut), Qo[Ut + jn] = !0;
615
615
  }
616
616
  }
617
- return u === o ? gs(X) : ps(X), X;
617
+ return u === o ? ps(X) : hs(X), X;
618
618
  }
619
619
  }
620
- function ms(u, v, E) {
620
+ function gs(u, v, E) {
621
621
  return tr(u, v, E, !0);
622
622
  }
623
- function bs(u, v, E) {
623
+ function ms(u, v, E) {
624
624
  return tr(u, v, E, !1);
625
625
  }
626
- var ys = bs, vs = ms;
627
- Fe.Fragment = o, Fe.jsx = ys, Fe.jsxs = vs;
626
+ var bs = ms, ys = gs;
627
+ Fe.Fragment = o, Fe.jsx = bs, Fe.jsxs = ys;
628
628
  }()), Fe;
629
629
  }
630
- process.env.NODE_ENV === "production" ? zn.exports = Os() : zn.exports = Ss();
631
- var Ts = zn.exports;
630
+ process.env.NODE_ENV === "production" ? Jn.exports = Es() : Jn.exports = Os();
631
+ var Ss = Jn.exports;
632
632
  /*! shepherd.js 13.0.0 */
633
- function $s(t) {
633
+ function Ts(t) {
634
634
  return t instanceof Element;
635
635
  }
636
- function Ke(t) {
636
+ function ze(t) {
637
637
  return t instanceof HTMLElement;
638
638
  }
639
639
  function Pt(t) {
640
640
  return typeof t == "function";
641
641
  }
642
- function Ne(t) {
642
+ function He(t) {
643
643
  return typeof t == "string";
644
644
  }
645
645
  function G(t) {
@@ -731,7 +731,7 @@ function et() {
731
731
  return t;
732
732
  }, et.apply(null, arguments);
733
733
  }
734
- function Zr(t, e) {
734
+ function Gr(t, e) {
735
735
  if (t == null) return {};
736
736
  var n = {};
737
737
  for (var o in t) if ({}.hasOwnProperty.call(t, o)) {
@@ -745,23 +745,23 @@ const jt = {
745
745
  skip: Symbol("deepmerge-ts: skip")
746
746
  };
747
747
  jt.defaultMerge;
748
- function Cs(t, e) {
748
+ function $s(t, e) {
749
749
  return e;
750
750
  }
751
751
  function or(t) {
752
- return typeof t != "object" || t === null ? 0 : Array.isArray(t) ? 2 : As(t) ? 1 : t instanceof Set ? 3 : t instanceof Map ? 4 : 5;
752
+ return typeof t != "object" || t === null ? 0 : Array.isArray(t) ? 2 : Is(t) ? 1 : t instanceof Set ? 3 : t instanceof Map ? 4 : 5;
753
753
  }
754
- function Rs(t) {
754
+ function Cs(t) {
755
755
  const e = /* @__PURE__ */ new Set();
756
756
  for (const n of t)
757
757
  for (const o of [...Object.keys(n), ...Object.getOwnPropertySymbols(n)])
758
758
  e.add(o);
759
759
  return e;
760
760
  }
761
- function Is(t, e) {
761
+ function Rs(t, e) {
762
762
  return typeof t == "object" && Object.prototype.propertyIsEnumerable.call(t, e);
763
763
  }
764
- function Qr(t) {
764
+ function Zr(t) {
765
765
  return {
766
766
  // eslint-disable-next-line functional/functional-parameters
767
767
  *[Symbol.iterator]() {
@@ -772,7 +772,7 @@ function Qr(t) {
772
772
  };
773
773
  }
774
774
  const rr = /* @__PURE__ */ new Set(["[object Object]", "[object Module]"]);
775
- function As(t) {
775
+ function Is(t) {
776
776
  if (!rr.has(Object.prototype.toString.call(t)))
777
777
  return !1;
778
778
  const {
@@ -783,18 +783,18 @@ function As(t) {
783
783
  const n = e.prototype;
784
784
  return !(n === null || typeof n != "object" || !rr.has(Object.prototype.toString.call(n)) || !n.hasOwnProperty("isPrototypeOf"));
785
785
  }
786
- function Ps(t, e, n) {
786
+ function As(t, e, n) {
787
787
  const o = {};
788
- for (const r of Rs(t)) {
788
+ for (const r of Cs(t)) {
789
789
  const i = [];
790
790
  for (const c of t)
791
- Is(c, r) && i.push(c[r]);
791
+ Rs(c, r) && i.push(c[r]);
792
792
  if (i.length === 0)
793
793
  continue;
794
794
  const s = e.metaDataUpdater(n, {
795
795
  key: r,
796
796
  parents: t
797
- }), l = ei(i, e, s);
797
+ }), l = ti(i, e, s);
798
798
  l !== jt.skip && (r === "__proto__" ? Object.defineProperty(o, r, {
799
799
  value: l,
800
800
  configurable: !0,
@@ -804,88 +804,88 @@ function Ps(t, e, n) {
804
804
  }
805
805
  return o;
806
806
  }
807
- function ks(t) {
807
+ function Ps(t) {
808
808
  return t.flat();
809
809
  }
810
- function Ms(t) {
811
- return new Set(Qr(t));
810
+ function ks(t) {
811
+ return new Set(Zr(t));
812
812
  }
813
- function Ls(t) {
814
- return new Map(Qr(t));
813
+ function Ms(t) {
814
+ return new Map(Zr(t));
815
815
  }
816
- function ti(t) {
816
+ function Qr(t) {
817
817
  return t.at(-1);
818
818
  }
819
- var jn = /* @__PURE__ */ Object.freeze({
819
+ var Bn = /* @__PURE__ */ Object.freeze({
820
820
  __proto__: null,
821
- mergeArrays: ks,
822
- mergeMaps: Ls,
823
- mergeOthers: ti,
824
- mergeRecords: Ps,
825
- mergeSets: Ms
821
+ mergeArrays: Ps,
822
+ mergeMaps: Ms,
823
+ mergeOthers: Qr,
824
+ mergeRecords: As,
825
+ mergeSets: ks
826
826
  });
827
827
  function po(...t) {
828
- return Ds({})(...t);
828
+ return Ls({})(...t);
829
829
  }
830
- function Ds(t, e) {
831
- const n = Fs(t, o);
830
+ function Ls(t, e) {
831
+ const n = Ds(t, o);
832
832
  function o(...r) {
833
- return ei(r, n, e);
833
+ return ti(r, n, e);
834
834
  }
835
835
  return o;
836
836
  }
837
- function Fs(t, e) {
837
+ function Ds(t, e) {
838
838
  var n, o;
839
839
  return {
840
- defaultMergeFunctions: jn,
841
- mergeFunctions: et({}, jn, Object.fromEntries(Object.entries(t).filter(([r, i]) => Object.hasOwn(jn, r)).map(([r, i]) => i === !1 ? [r, ti] : [r, i]))),
842
- metaDataUpdater: (n = t.metaDataUpdater) != null ? n : Cs,
840
+ defaultMergeFunctions: Bn,
841
+ mergeFunctions: et({}, Bn, Object.fromEntries(Object.entries(t).filter(([r, i]) => Object.hasOwn(Bn, r)).map(([r, i]) => i === !1 ? [r, Qr] : [r, i]))),
842
+ metaDataUpdater: (n = t.metaDataUpdater) != null ? n : $s,
843
843
  deepmerge: e,
844
844
  useImplicitDefaultMerging: (o = t.enableImplicitDefaultMerging) != null ? o : !1,
845
845
  actions: jt
846
846
  };
847
847
  }
848
- function ei(t, e, n) {
848
+ function ti(t, e, n) {
849
849
  if (t.length === 0)
850
850
  return;
851
851
  if (t.length === 1)
852
- return Bn(t, e, n);
852
+ return Wn(t, e, n);
853
853
  const o = or(t[0]);
854
854
  if (o !== 0 && o !== 5) {
855
855
  for (let r = 1; r < t.length; r++)
856
856
  if (or(t[r]) !== o)
857
- return Bn(t, e, n);
857
+ return Wn(t, e, n);
858
858
  }
859
859
  switch (o) {
860
860
  case 1:
861
- return js(t, e, n);
861
+ return Fs(t, e, n);
862
862
  case 2:
863
- return Bs(t, e, n);
863
+ return js(t, e, n);
864
864
  case 3:
865
- return Ws(t, e, n);
865
+ return Bs(t, e, n);
866
866
  case 4:
867
- return Ns(t, e, n);
867
+ return Ws(t, e, n);
868
868
  default:
869
- return Bn(t, e, n);
869
+ return Wn(t, e, n);
870
870
  }
871
871
  }
872
- function js(t, e, n) {
872
+ function Fs(t, e, n) {
873
873
  const o = e.mergeFunctions.mergeRecords(t, e, n);
874
874
  return o === jt.defaultMerge || e.useImplicitDefaultMerging && o === void 0 && e.mergeFunctions.mergeRecords !== e.defaultMergeFunctions.mergeRecords ? e.defaultMergeFunctions.mergeRecords(t, e, n) : o;
875
875
  }
876
- function Bs(t, e, n) {
876
+ function js(t, e, n) {
877
877
  const o = e.mergeFunctions.mergeArrays(t, e, n);
878
878
  return o === jt.defaultMerge || e.useImplicitDefaultMerging && o === void 0 && e.mergeFunctions.mergeArrays !== e.defaultMergeFunctions.mergeArrays ? e.defaultMergeFunctions.mergeArrays(t) : o;
879
879
  }
880
- function Ws(t, e, n) {
880
+ function Bs(t, e, n) {
881
881
  const o = e.mergeFunctions.mergeSets(t, e, n);
882
882
  return o === jt.defaultMerge || e.useImplicitDefaultMerging && o === void 0 && e.mergeFunctions.mergeSets !== e.defaultMergeFunctions.mergeSets ? e.defaultMergeFunctions.mergeSets(t) : o;
883
883
  }
884
- function Ns(t, e, n) {
884
+ function Ws(t, e, n) {
885
885
  const o = e.mergeFunctions.mergeMaps(t, e, n);
886
886
  return o === jt.defaultMerge || e.useImplicitDefaultMerging && o === void 0 && e.mergeFunctions.mergeMaps !== e.defaultMergeFunctions.mergeMaps ? e.defaultMergeFunctions.mergeMaps(t) : o;
887
887
  }
888
- function Bn(t, e, n) {
888
+ function Wn(t, e, n) {
889
889
  const o = e.mergeFunctions.mergeOthers(t, e, n);
890
890
  return o === jt.defaultMerge || e.useImplicitDefaultMerging && o === void 0 && e.mergeFunctions.mergeOthers !== e.defaultMergeFunctions.mergeOthers ? e.defaultMergeFunctions.mergeOthers(t) : o;
891
891
  }
@@ -897,7 +897,7 @@ function go(t) {
897
897
  }
898
898
  return t;
899
899
  }
900
- function Hs(t, e) {
900
+ function Ns(t, e) {
901
901
  return (n) => {
902
902
  if (t.isOpen()) {
903
903
  const o = t.el && n.currentTarget === t.el;
@@ -905,13 +905,13 @@ function Hs(t, e) {
905
905
  }
906
906
  };
907
907
  }
908
- function Vs(t) {
908
+ function Hs(t) {
909
909
  const {
910
910
  event: e,
911
911
  selector: n
912
912
  } = t.options.advanceOn || {};
913
913
  if (e) {
914
- const o = Hs(t, n);
914
+ const o = Ns(t, n);
915
915
  let r = null;
916
916
  if (!G(n) && (r = document.querySelector(n), !r))
917
917
  return console.error(`No element was found for the selector supplied to advanceOn: ${n}`);
@@ -919,20 +919,20 @@ function Vs(t) {
919
919
  } else
920
920
  return console.error("advanceOn was defined, but no event name was passed.");
921
921
  }
922
- class Us {
922
+ class Vs {
923
923
  constructor(e) {
924
924
  }
925
925
  }
926
- class qs {
926
+ class Us {
927
927
  constructor(e, n) {
928
928
  }
929
929
  }
930
- function ni(t) {
931
- return !Ne(t) || t === "" ? "" : t.charAt(t.length - 1) !== "-" ? `${t}-` : t;
930
+ function ei(t) {
931
+ return !He(t) || t === "" ? "" : t.charAt(t.length - 1) !== "-" ? `${t}-` : t;
932
932
  }
933
- function Ys(t) {
933
+ function qs(t) {
934
934
  const e = t.options.attachTo || {}, n = Object.assign({}, e);
935
- if (Pt(n.element) && (n.element = n.element.call(t)), Ne(n.element)) {
935
+ if (Pt(n.element) && (n.element = n.element.call(t)), He(n.element)) {
936
936
  try {
937
937
  n.element = document.querySelector(n.element);
938
938
  } catch {
@@ -941,29 +941,29 @@ function Ys(t) {
941
941
  }
942
942
  return n;
943
943
  }
944
- function oi(t) {
944
+ function ni(t) {
945
945
  return t == null ? !0 : !t.element || !t.on;
946
946
  }
947
- function ri() {
947
+ function oi() {
948
948
  let t = Date.now();
949
949
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (e) => {
950
950
  const n = (t + Math.random() * 16) % 16 | 0;
951
951
  return t = Math.floor(t / 16), (e == "x" ? n : n & 3 | 8).toString(16);
952
952
  });
953
953
  }
954
- const _e = Math.min, zt = Math.max, dn = Math.round, rn = Math.floor, kt = (t) => ({
954
+ const _e = Math.min, zt = Math.max, hn = Math.round, sn = Math.floor, kt = (t) => ({
955
955
  x: t,
956
956
  y: t
957
- }), Ks = {
957
+ }), Ys = {
958
958
  left: "right",
959
959
  right: "left",
960
960
  bottom: "top",
961
961
  top: "bottom"
962
- }, zs = {
962
+ }, Ks = {
963
963
  start: "end",
964
964
  end: "start"
965
965
  };
966
- function Jn(t, e, n) {
966
+ function Xn(t, e, n) {
967
967
  return zt(t, _e(e, n));
968
968
  }
969
969
  function Ee(t, e) {
@@ -972,7 +972,7 @@ function Ee(t, e) {
972
972
  function ee(t) {
973
973
  return t.split("-")[0];
974
974
  }
975
- function wn(t) {
975
+ function xn(t) {
976
976
  return t.split("-")[1];
977
977
  }
978
978
  function mo(t) {
@@ -981,26 +981,26 @@ function mo(t) {
981
981
  function bo(t) {
982
982
  return t === "y" ? "height" : "width";
983
983
  }
984
- function xn(t) {
984
+ function _n(t) {
985
985
  return ["top", "bottom"].includes(ee(t)) ? "y" : "x";
986
986
  }
987
987
  function yo(t) {
988
- return mo(xn(t));
988
+ return mo(_n(t));
989
989
  }
990
- function Js(t, e, n) {
990
+ function zs(t, e, n) {
991
991
  n === void 0 && (n = !1);
992
- const o = wn(t), r = yo(t), i = bo(r);
992
+ const o = xn(t), r = yo(t), i = bo(r);
993
993
  let s = r === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
994
- return e.reference[i] > e.floating[i] && (s = hn(s)), [s, hn(s)];
994
+ return e.reference[i] > e.floating[i] && (s = pn(s)), [s, pn(s)];
995
995
  }
996
- function Xs(t) {
997
- const e = hn(t);
998
- return [Xn(t), e, Xn(e)];
996
+ function Js(t) {
997
+ const e = pn(t);
998
+ return [Gn(t), e, Gn(e)];
999
999
  }
1000
- function Xn(t) {
1001
- return t.replace(/start|end/g, (e) => zs[e]);
1000
+ function Gn(t) {
1001
+ return t.replace(/start|end/g, (e) => Ks[e]);
1002
1002
  }
1003
- function Gs(t, e, n) {
1003
+ function Xs(t, e, n) {
1004
1004
  const o = ["left", "right"], r = ["right", "left"], i = ["top", "bottom"], s = ["bottom", "top"];
1005
1005
  switch (t) {
1006
1006
  case "top":
@@ -1013,15 +1013,15 @@ function Gs(t, e, n) {
1013
1013
  return [];
1014
1014
  }
1015
1015
  }
1016
- function Zs(t, e, n, o) {
1017
- const r = wn(t);
1018
- let i = Gs(ee(t), n === "start", o);
1019
- return r && (i = i.map((s) => s + "-" + r), e && (i = i.concat(i.map(Xn)))), i;
1016
+ function Gs(t, e, n, o) {
1017
+ const r = xn(t);
1018
+ let i = Xs(ee(t), n === "start", o);
1019
+ return r && (i = i.map((s) => s + "-" + r), e && (i = i.concat(i.map(Gn)))), i;
1020
1020
  }
1021
- function hn(t) {
1022
- return t.replace(/left|right|bottom|top/g, (e) => Ks[e]);
1021
+ function pn(t) {
1022
+ return t.replace(/left|right|bottom|top/g, (e) => Ys[e]);
1023
1023
  }
1024
- function Qs(t) {
1024
+ function Zs(t) {
1025
1025
  return et({
1026
1026
  top: 0,
1027
1027
  right: 0,
@@ -1029,15 +1029,15 @@ function Qs(t) {
1029
1029
  left: 0
1030
1030
  }, t);
1031
1031
  }
1032
- function ii(t) {
1033
- return typeof t != "number" ? Qs(t) : {
1032
+ function ri(t) {
1033
+ return typeof t != "number" ? Zs(t) : {
1034
1034
  top: t,
1035
1035
  right: t,
1036
1036
  bottom: t,
1037
1037
  left: t
1038
1038
  };
1039
1039
  }
1040
- function pn(t) {
1040
+ function gn(t) {
1041
1041
  const {
1042
1042
  x: e,
1043
1043
  y: n,
@@ -1055,13 +1055,13 @@ function pn(t) {
1055
1055
  y: n
1056
1056
  };
1057
1057
  }
1058
- const tl = ["mainAxis", "crossAxis", "fallbackPlacements", "fallbackStrategy", "fallbackAxisSideDirection", "flipAlignment"], el = ["mainAxis", "crossAxis", "limiter"];
1058
+ const Qs = ["mainAxis", "crossAxis", "fallbackPlacements", "fallbackStrategy", "fallbackAxisSideDirection", "flipAlignment"], tl = ["mainAxis", "crossAxis", "limiter"];
1059
1059
  function ir(t, e, n) {
1060
1060
  let {
1061
1061
  reference: o,
1062
1062
  floating: r
1063
1063
  } = t;
1064
- const i = xn(e), s = yo(e), l = bo(s), c = ee(e), a = i === "y", f = o.x + o.width / 2 - r.width / 2, h = o.y + o.height / 2 - r.height / 2, d = o[l] / 2 - r[l] / 2;
1064
+ const i = _n(e), s = yo(e), l = bo(s), c = ee(e), a = i === "y", f = o.x + o.width / 2 - r.width / 2, h = o.y + o.height / 2 - r.height / 2, d = o[l] / 2 - r[l] / 2;
1065
1065
  let p;
1066
1066
  switch (c) {
1067
1067
  case "top":
@@ -1094,7 +1094,7 @@ function ir(t, e, n) {
1094
1094
  y: o.y
1095
1095
  };
1096
1096
  }
1097
- switch (wn(e)) {
1097
+ switch (xn(e)) {
1098
1098
  case "start":
1099
1099
  p[s] -= d * (n && a ? -1 : 1);
1100
1100
  break;
@@ -1104,7 +1104,7 @@ function ir(t, e, n) {
1104
1104
  }
1105
1105
  return p;
1106
1106
  }
1107
- const nl = async (t, e, n) => {
1107
+ const el = async (t, e, n) => {
1108
1108
  const {
1109
1109
  placement: o = "bottom",
1110
1110
  strategy: r = "absolute",
@@ -1161,7 +1161,7 @@ const nl = async (t, e, n) => {
1161
1161
  middlewareData: p
1162
1162
  };
1163
1163
  };
1164
- async function si(t, e) {
1164
+ async function ii(t, e) {
1165
1165
  var n;
1166
1166
  e === void 0 && (e = {});
1167
1167
  const {
@@ -1177,7 +1177,7 @@ async function si(t, e) {
1177
1177
  elementContext: h = "floating",
1178
1178
  altBoundary: d = !1,
1179
1179
  padding: p = 0
1180
- } = Ee(e, t), m = ii(p), _ = l[d ? h === "floating" ? "reference" : "floating" : h], w = pn(await i.getClippingRect({
1180
+ } = Ee(e, t), m = ri(p), _ = l[d ? h === "floating" ? "reference" : "floating" : h], w = gn(await i.getClippingRect({
1181
1181
  element: (n = await (i.isElement == null ? void 0 : i.isElement(_))) == null || n ? _ : _.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(l.floating)),
1182
1182
  boundary: a,
1183
1183
  rootBoundary: f,
@@ -1193,7 +1193,7 @@ async function si(t, e) {
1193
1193
  } : {
1194
1194
  x: 1,
1195
1195
  y: 1
1196
- }, g = pn(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
1196
+ }, g = gn(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
1197
1197
  elements: l,
1198
1198
  rect: x,
1199
1199
  offsetParent: O,
@@ -1206,7 +1206,7 @@ async function si(t, e) {
1206
1206
  right: (g.right - w.right + m.right) / b.x
1207
1207
  };
1208
1208
  }
1209
- const ol = (t) => ({
1209
+ const nl = (t) => ({
1210
1210
  name: "arrow",
1211
1211
  options: t,
1212
1212
  async fn(e) {
@@ -1224,13 +1224,13 @@ const ol = (t) => ({
1224
1224
  } = Ee(t, e) || {};
1225
1225
  if (a == null)
1226
1226
  return {};
1227
- const h = ii(f), d = {
1227
+ const h = ri(f), d = {
1228
1228
  x: n,
1229
1229
  y: o
1230
1230
  }, p = yo(r), m = bo(p), y = await s.getDimensions(a), _ = p === "y", w = _ ? "top" : "left", x = _ ? "bottom" : "right", O = _ ? "clientHeight" : "clientWidth", b = i.reference[m] + i.reference[p] - d[p] - i.floating[m], g = d[p] - i.reference[p], S = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(a));
1231
1231
  let P = S ? S[O] : 0;
1232
1232
  (!P || !await (s.isElement == null ? void 0 : s.isElement(S))) && (P = l.floating[O] || i.floating[m]);
1233
- const V = b / 2 - g / 2, I = P / 2 - y[m] / 2 - 1, B = _e(h[w], I), N = _e(h[x], I), U = B, A = P - y[m] - N, $ = P / 2 - y[m] / 2 + V, q = Jn(U, $, A), H = !c.arrow && wn(r) != null && $ !== q && i.reference[m] / 2 - ($ < U ? B : N) - y[m] / 2 < 0, W = H ? $ < U ? $ - U : $ - A : 0;
1233
+ const V = b / 2 - g / 2, I = P / 2 - y[m] / 2 - 1, B = _e(h[w], I), N = _e(h[x], I), U = B, A = P - y[m] - N, $ = P / 2 - y[m] / 2 + V, q = Xn(U, $, A), H = !c.arrow && xn(r) != null && $ !== q && i.reference[m] / 2 - ($ < U ? B : N) - y[m] / 2 < 0, W = H ? $ < U ? $ - U : $ - A : 0;
1234
1234
  return {
1235
1235
  [p]: d[p] + W,
1236
1236
  data: et({
@@ -1242,7 +1242,7 @@ const ol = (t) => ({
1242
1242
  reset: H
1243
1243
  };
1244
1244
  }
1245
- }), rl = function(e) {
1245
+ }), ol = function(e) {
1246
1246
  return e === void 0 && (e = {}), {
1247
1247
  name: "flip",
1248
1248
  options: e,
@@ -1262,15 +1262,15 @@ const ol = (t) => ({
1262
1262
  fallbackStrategy: y = "bestFit",
1263
1263
  fallbackAxisSideDirection: _ = "none",
1264
1264
  flipAlignment: w = !0
1265
- } = h, x = Zr(h, tl);
1265
+ } = h, x = Gr(h, Qs);
1266
1266
  if ((o = s.arrow) != null && o.alignmentOffset)
1267
1267
  return {};
1268
- const O = ee(i), b = ee(c) === c, g = await (a.isRTL == null ? void 0 : a.isRTL(f.floating)), S = m || (b || !w ? [hn(c)] : Xs(c));
1269
- !m && _ !== "none" && S.push(...Zs(c, w, _, g));
1270
- const P = [c, ...S], V = await si(n, x), I = [];
1268
+ const O = ee(i), b = ee(c) === c, g = await (a.isRTL == null ? void 0 : a.isRTL(f.floating)), S = m || (b || !w ? [pn(c)] : Js(c));
1269
+ !m && _ !== "none" && S.push(...Gs(c, w, _, g));
1270
+ const P = [c, ...S], V = await ii(n, x), I = [];
1271
1271
  let B = ((r = s.flip) == null ? void 0 : r.overflows) || [];
1272
1272
  if (d && I.push(V[O]), p) {
1273
- const $ = Js(i, l, g);
1273
+ const $ = zs(i, l, g);
1274
1274
  I.push(V[$[0]], V[$[1]]);
1275
1275
  }
1276
1276
  if (B = [...B, {
@@ -1294,7 +1294,7 @@ const ol = (t) => ({
1294
1294
  switch (y) {
1295
1295
  case "bestFit": {
1296
1296
  var A;
1297
- const W = (A = B.map((Q) => [Q.placement, Q.overflows.filter((gt) => gt > 0).reduce((gt, Qe) => gt + Qe, 0)]).sort((Q, gt) => Q[1] - gt[1])[0]) == null ? void 0 : A[0];
1297
+ const W = (A = B.map((Q) => [Q.placement, Q.overflows.filter((gt) => gt > 0).reduce((gt, tn) => gt + tn, 0)]).sort((Q, gt) => Q[1] - gt[1])[0]) == null ? void 0 : A[0];
1298
1298
  W && (H = W);
1299
1299
  break;
1300
1300
  }
@@ -1312,7 +1312,7 @@ const ol = (t) => ({
1312
1312
  return {};
1313
1313
  }
1314
1314
  };
1315
- }, il = function(e) {
1315
+ }, rl = function(e) {
1316
1316
  return e === void 0 && (e = {}), {
1317
1317
  name: "shift",
1318
1318
  options: e,
@@ -1336,18 +1336,18 @@ const ol = (t) => ({
1336
1336
  };
1337
1337
  }
1338
1338
  }
1339
- } = s, f = Zr(s, el), h = {
1339
+ } = s, f = Gr(s, tl), h = {
1340
1340
  x: o,
1341
1341
  y: r
1342
- }, d = await si(n, f), p = xn(ee(i)), m = mo(p);
1342
+ }, d = await ii(n, f), p = _n(ee(i)), m = mo(p);
1343
1343
  let y = h[m], _ = h[p];
1344
1344
  if (l) {
1345
1345
  const x = m === "y" ? "top" : "left", O = m === "y" ? "bottom" : "right", b = y + d[x], g = y - d[O];
1346
- y = Jn(b, y, g);
1346
+ y = Xn(b, y, g);
1347
1347
  }
1348
1348
  if (c) {
1349
1349
  const x = p === "y" ? "top" : "left", O = p === "y" ? "bottom" : "right", b = _ + d[x], g = _ - d[O];
1350
- _ = Jn(b, _, g);
1350
+ _ = Xn(b, _, g);
1351
1351
  }
1352
1352
  const w = a.fn(et({}, n, {
1353
1353
  [m]: y,
@@ -1361,7 +1361,7 @@ const ol = (t) => ({
1361
1361
  });
1362
1362
  }
1363
1363
  };
1364
- }, sl = function(e) {
1364
+ }, il = function(e) {
1365
1365
  return e === void 0 && (e = {}), {
1366
1366
  options: e,
1367
1367
  fn(n) {
@@ -1378,7 +1378,7 @@ const ol = (t) => ({
1378
1378
  } = Ee(e, n), h = {
1379
1379
  x: o,
1380
1380
  y: r
1381
- }, d = xn(i), p = mo(d);
1381
+ }, d = _n(i), p = mo(d);
1382
1382
  let m = h[p], y = h[d];
1383
1383
  const _ = Ee(c, n), w = typeof _ == "number" ? {
1384
1384
  mainAxis: _,
@@ -1404,17 +1404,17 @@ const ol = (t) => ({
1404
1404
  };
1405
1405
  };
1406
1406
  function Pe(t) {
1407
- return li(t) ? (t.nodeName || "").toLowerCase() : "#document";
1407
+ return si(t) ? (t.nodeName || "").toLowerCase() : "#document";
1408
1408
  }
1409
1409
  function rt(t) {
1410
1410
  var e;
1411
1411
  return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
1412
1412
  }
1413
- function Et(t) {
1413
+ function Ot(t) {
1414
1414
  var e;
1415
- return (e = (li(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
1415
+ return (e = (si(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
1416
1416
  }
1417
- function li(t) {
1417
+ function si(t) {
1418
1418
  return t instanceof Node || t instanceof rt(t).Node;
1419
1419
  }
1420
1420
  function mt(t) {
@@ -1426,7 +1426,7 @@ function bt(t) {
1426
1426
  function sr(t) {
1427
1427
  return typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof rt(t).ShadowRoot;
1428
1428
  }
1429
- function ze(t) {
1429
+ function Je(t) {
1430
1430
  const {
1431
1431
  overflow: e,
1432
1432
  overflowX: n,
@@ -1435,14 +1435,14 @@ function ze(t) {
1435
1435
  } = ft(t);
1436
1436
  return /auto|scroll|overlay|hidden|clip/.test(e + o + n) && !["inline", "contents"].includes(r);
1437
1437
  }
1438
- function ll(t) {
1438
+ function sl(t) {
1439
1439
  return ["table", "td", "th"].includes(Pe(t));
1440
1440
  }
1441
1441
  function vo(t) {
1442
1442
  const e = wo(), n = ft(t);
1443
1443
  return n.transform !== "none" || n.perspective !== "none" || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((o) => (n.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (n.contain || "").includes(o));
1444
1444
  }
1445
- function cl(t) {
1445
+ function ll(t) {
1446
1446
  let e = Mt(t);
1447
1447
  for (; bt(e) && !Oe(e); ) {
1448
1448
  if (vo(e))
@@ -1460,7 +1460,7 @@ function Oe(t) {
1460
1460
  function ft(t) {
1461
1461
  return rt(t).getComputedStyle(t);
1462
1462
  }
1463
- function _n(t) {
1463
+ function En(t) {
1464
1464
  return mt(t) ? {
1465
1465
  scrollLeft: t.scrollLeft,
1466
1466
  scrollTop: t.scrollTop
@@ -1477,24 +1477,24 @@ function Mt(t) {
1477
1477
  t.assignedSlot || // DOM Element detected.
1478
1478
  t.parentNode || // ShadowRoot detected.
1479
1479
  sr(t) && t.host || // Fallback.
1480
- Et(t)
1480
+ Ot(t)
1481
1481
  );
1482
1482
  return sr(e) ? e.host : e;
1483
1483
  }
1484
- function ci(t) {
1484
+ function li(t) {
1485
1485
  const e = Mt(t);
1486
- return Oe(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : bt(e) && ze(e) ? e : ci(e);
1486
+ return Oe(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : bt(e) && Je(e) ? e : li(e);
1487
1487
  }
1488
- function He(t, e, n) {
1488
+ function Ve(t, e, n) {
1489
1489
  var o;
1490
1490
  e === void 0 && (e = []), n === void 0 && (n = !0);
1491
- const r = ci(t), i = r === ((o = t.ownerDocument) == null ? void 0 : o.body), s = rt(r);
1492
- return i ? e.concat(s, s.visualViewport || [], ze(r) ? r : [], s.frameElement && n ? He(s.frameElement) : []) : e.concat(r, He(r, [], n));
1491
+ const r = li(t), i = r === ((o = t.ownerDocument) == null ? void 0 : o.body), s = rt(r);
1492
+ return i ? e.concat(s, s.visualViewport || [], Je(r) ? r : [], s.frameElement && n ? Ve(s.frameElement) : []) : e.concat(r, Ve(r, [], n));
1493
1493
  }
1494
- function ai(t) {
1494
+ function ci(t) {
1495
1495
  const e = ft(t);
1496
1496
  let n = parseFloat(e.width) || 0, o = parseFloat(e.height) || 0;
1497
- const r = bt(t), i = r ? t.offsetWidth : n, s = r ? t.offsetHeight : o, l = dn(n) !== i || dn(o) !== s;
1497
+ const r = bt(t), i = r ? t.offsetWidth : n, s = r ? t.offsetHeight : o, l = hn(n) !== i || hn(o) !== s;
1498
1498
  return l && (n = i, o = s), {
1499
1499
  width: n,
1500
1500
  height: o,
@@ -1512,22 +1512,22 @@ function ye(t) {
1512
1512
  width: o,
1513
1513
  height: r,
1514
1514
  $: i
1515
- } = ai(e);
1516
- let s = (i ? dn(n.width) : n.width) / o, l = (i ? dn(n.height) : n.height) / r;
1515
+ } = ci(e);
1516
+ let s = (i ? hn(n.width) : n.width) / o, l = (i ? hn(n.height) : n.height) / r;
1517
1517
  return (!s || !Number.isFinite(s)) && (s = 1), (!l || !Number.isFinite(l)) && (l = 1), {
1518
1518
  x: s,
1519
1519
  y: l
1520
1520
  };
1521
1521
  }
1522
- const al = /* @__PURE__ */ kt(0);
1523
- function ui(t) {
1522
+ const cl = /* @__PURE__ */ kt(0);
1523
+ function ai(t) {
1524
1524
  const e = rt(t);
1525
- return !wo() || !e.visualViewport ? al : {
1525
+ return !wo() || !e.visualViewport ? cl : {
1526
1526
  x: e.visualViewport.offsetLeft,
1527
1527
  y: e.visualViewport.offsetTop
1528
1528
  };
1529
1529
  }
1530
- function ul(t, e, n) {
1530
+ function al(t, e, n) {
1531
1531
  return e === void 0 && (e = !1), !n || e && n !== rt(t) ? !1 : e;
1532
1532
  }
1533
1533
  function ne(t, e, n, o) {
@@ -1535,7 +1535,7 @@ function ne(t, e, n, o) {
1535
1535
  const r = t.getBoundingClientRect(), i = xo(t);
1536
1536
  let s = kt(1);
1537
1537
  e && (o ? mt(o) && (s = ye(o)) : s = ye(t));
1538
- const l = ul(i, n, o) ? ui(i) : kt(0);
1538
+ const l = al(i, n, o) ? ai(i) : kt(0);
1539
1539
  let c = (r.left + l.x) / s.x, a = (r.top + l.y) / s.y, f = r.width / s.x, h = r.height / s.y;
1540
1540
  if (i) {
1541
1541
  const d = rt(i), p = o && mt(o) ? rt(o) : o;
@@ -1545,16 +1545,16 @@ function ne(t, e, n, o) {
1545
1545
  c *= _.x, a *= _.y, f *= _.x, h *= _.y, c += O, a += b, m = rt(y), y = m.frameElement;
1546
1546
  }
1547
1547
  }
1548
- return pn({
1548
+ return gn({
1549
1549
  width: f,
1550
1550
  height: h,
1551
1551
  x: c,
1552
1552
  y: a
1553
1553
  });
1554
1554
  }
1555
- const fl = [":popover-open", ":modal"];
1555
+ const ul = [":popover-open", ":modal"];
1556
1556
  function _o(t) {
1557
- return fl.some((e) => {
1557
+ return ul.some((e) => {
1558
1558
  try {
1559
1559
  return t.matches(e);
1560
1560
  } catch {
@@ -1562,14 +1562,14 @@ function _o(t) {
1562
1562
  }
1563
1563
  });
1564
1564
  }
1565
- function dl(t) {
1565
+ function fl(t) {
1566
1566
  let {
1567
1567
  elements: e,
1568
1568
  rect: n,
1569
1569
  offsetParent: o,
1570
1570
  strategy: r
1571
1571
  } = t;
1572
- const i = r === "fixed", s = Et(o), l = e ? _o(e.floating) : !1;
1572
+ const i = r === "fixed", s = Ot(o), l = e ? _o(e.floating) : !1;
1573
1573
  if (o === s || l && i)
1574
1574
  return n;
1575
1575
  let c = {
@@ -1577,7 +1577,7 @@ function dl(t) {
1577
1577
  scrollTop: 0
1578
1578
  }, a = kt(1);
1579
1579
  const f = kt(0), h = bt(o);
1580
- if ((h || !h && !i) && ((Pe(o) !== "body" || ze(s)) && (c = _n(o)), bt(o))) {
1580
+ if ((h || !h && !i) && ((Pe(o) !== "body" || Je(s)) && (c = En(o)), bt(o))) {
1581
1581
  const d = ne(o);
1582
1582
  a = ye(o), f.x = d.x + o.clientLeft, f.y = d.y + o.clientTop;
1583
1583
  }
@@ -1588,15 +1588,15 @@ function dl(t) {
1588
1588
  y: n.y * a.y - c.scrollTop * a.y + f.y
1589
1589
  };
1590
1590
  }
1591
- function hl(t) {
1591
+ function dl(t) {
1592
1592
  return Array.from(t.getClientRects());
1593
1593
  }
1594
- function fi(t) {
1595
- return ne(Et(t)).left + _n(t).scrollLeft;
1594
+ function ui(t) {
1595
+ return ne(Ot(t)).left + En(t).scrollLeft;
1596
1596
  }
1597
- function pl(t) {
1598
- const e = Et(t), n = _n(t), o = t.ownerDocument.body, r = zt(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), i = zt(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
1599
- let s = -n.scrollLeft + fi(t);
1597
+ function hl(t) {
1598
+ const e = Ot(t), n = En(t), o = t.ownerDocument.body, r = zt(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), i = zt(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
1599
+ let s = -n.scrollLeft + ui(t);
1600
1600
  const l = -n.scrollTop;
1601
1601
  return ft(o).direction === "rtl" && (s += zt(e.clientWidth, o.clientWidth) - r), {
1602
1602
  width: r,
@@ -1605,8 +1605,8 @@ function pl(t) {
1605
1605
  y: l
1606
1606
  };
1607
1607
  }
1608
- function gl(t, e) {
1609
- const n = rt(t), o = Et(t), r = n.visualViewport;
1608
+ function pl(t, e) {
1609
+ const n = rt(t), o = Ot(t), r = n.visualViewport;
1610
1610
  let i = o.clientWidth, s = o.clientHeight, l = 0, c = 0;
1611
1611
  if (r) {
1612
1612
  i = r.width, s = r.height;
@@ -1620,7 +1620,7 @@ function gl(t, e) {
1620
1620
  y: c
1621
1621
  };
1622
1622
  }
1623
- function ml(t, e) {
1623
+ function gl(t, e) {
1624
1624
  const n = ne(t, !0, e === "fixed"), o = n.top + t.clientTop, r = n.left + t.clientLeft, i = bt(t) ? ye(t) : kt(1), s = t.clientWidth * i.x, l = t.clientHeight * i.y, c = r * i.x, a = o * i.y;
1625
1625
  return {
1626
1626
  width: s,
@@ -1632,45 +1632,45 @@ function ml(t, e) {
1632
1632
  function lr(t, e, n) {
1633
1633
  let o;
1634
1634
  if (e === "viewport")
1635
- o = gl(t, n);
1635
+ o = pl(t, n);
1636
1636
  else if (e === "document")
1637
- o = pl(Et(t));
1637
+ o = hl(Ot(t));
1638
1638
  else if (mt(e))
1639
- o = ml(e, n);
1639
+ o = gl(e, n);
1640
1640
  else {
1641
- const r = ui(t);
1641
+ const r = ai(t);
1642
1642
  o = et({}, e, {
1643
1643
  x: e.x - r.x,
1644
1644
  y: e.y - r.y
1645
1645
  });
1646
1646
  }
1647
- return pn(o);
1647
+ return gn(o);
1648
1648
  }
1649
- function di(t, e) {
1649
+ function fi(t, e) {
1650
1650
  const n = Mt(t);
1651
- return n === e || !mt(n) || Oe(n) ? !1 : ft(n).position === "fixed" || di(n, e);
1651
+ return n === e || !mt(n) || Oe(n) ? !1 : ft(n).position === "fixed" || fi(n, e);
1652
1652
  }
1653
- function bl(t, e) {
1653
+ function ml(t, e) {
1654
1654
  const n = e.get(t);
1655
1655
  if (n)
1656
1656
  return n;
1657
- let o = He(t, [], !1).filter((l) => mt(l) && Pe(l) !== "body"), r = null;
1657
+ let o = Ve(t, [], !1).filter((l) => mt(l) && Pe(l) !== "body"), r = null;
1658
1658
  const i = ft(t).position === "fixed";
1659
1659
  let s = i ? Mt(t) : t;
1660
1660
  for (; mt(s) && !Oe(s); ) {
1661
1661
  const l = ft(s), c = vo(s);
1662
- !c && l.position === "fixed" && (r = null), (i ? !c && !r : !c && l.position === "static" && !!r && ["absolute", "fixed"].includes(r.position) || ze(s) && !c && di(t, s)) ? o = o.filter((f) => f !== s) : r = l, s = Mt(s);
1662
+ !c && l.position === "fixed" && (r = null), (i ? !c && !r : !c && l.position === "static" && !!r && ["absolute", "fixed"].includes(r.position) || Je(s) && !c && fi(t, s)) ? o = o.filter((f) => f !== s) : r = l, s = Mt(s);
1663
1663
  }
1664
1664
  return e.set(t, o), o;
1665
1665
  }
1666
- function yl(t) {
1666
+ function bl(t) {
1667
1667
  let {
1668
1668
  element: e,
1669
1669
  boundary: n,
1670
1670
  rootBoundary: o,
1671
1671
  strategy: r
1672
1672
  } = t;
1673
- const s = [...n === "clippingAncestors" ? _o(e) ? [] : bl(e, this._c) : [].concat(n), o], l = s[0], c = s.reduce((a, f) => {
1673
+ const s = [...n === "clippingAncestors" ? _o(e) ? [] : ml(e, this._c) : [].concat(n), o], l = s[0], c = s.reduce((a, f) => {
1674
1674
  const h = lr(e, f, r);
1675
1675
  return a.top = zt(h.top, a.top), a.right = _e(h.right, a.right), a.bottom = _e(h.bottom, a.bottom), a.left = zt(h.left, a.left), a;
1676
1676
  }, lr(e, l, r));
@@ -1681,28 +1681,28 @@ function yl(t) {
1681
1681
  y: c.top
1682
1682
  };
1683
1683
  }
1684
- function vl(t) {
1684
+ function yl(t) {
1685
1685
  const {
1686
1686
  width: e,
1687
1687
  height: n
1688
- } = ai(t);
1688
+ } = ci(t);
1689
1689
  return {
1690
1690
  width: e,
1691
1691
  height: n
1692
1692
  };
1693
1693
  }
1694
- function wl(t, e, n) {
1695
- const o = bt(e), r = Et(e), i = n === "fixed", s = ne(t, !0, i, e);
1694
+ function vl(t, e, n) {
1695
+ const o = bt(e), r = Ot(e), i = n === "fixed", s = ne(t, !0, i, e);
1696
1696
  let l = {
1697
1697
  scrollLeft: 0,
1698
1698
  scrollTop: 0
1699
1699
  };
1700
1700
  const c = kt(0);
1701
1701
  if (o || !o && !i)
1702
- if ((Pe(e) !== "body" || ze(r)) && (l = _n(e)), o) {
1702
+ if ((Pe(e) !== "body" || Je(r)) && (l = En(e)), o) {
1703
1703
  const h = ne(e, !0, i, e);
1704
1704
  c.x = h.x + e.clientLeft, c.y = h.y + e.clientTop;
1705
- } else r && (c.x = fi(r));
1705
+ } else r && (c.x = ui(r));
1706
1706
  const a = s.left + l.scrollLeft - c.x, f = s.top + l.scrollTop - c.y;
1707
1707
  return {
1708
1708
  x: a,
@@ -1711,34 +1711,34 @@ function wl(t, e, n) {
1711
1711
  height: s.height
1712
1712
  };
1713
1713
  }
1714
- function Wn(t) {
1714
+ function Nn(t) {
1715
1715
  return ft(t).position === "static";
1716
1716
  }
1717
1717
  function cr(t, e) {
1718
1718
  return !bt(t) || ft(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
1719
1719
  }
1720
- function hi(t, e) {
1720
+ function di(t, e) {
1721
1721
  const n = rt(t);
1722
1722
  if (_o(t))
1723
1723
  return n;
1724
1724
  if (!bt(t)) {
1725
1725
  let r = Mt(t);
1726
1726
  for (; r && !Oe(r); ) {
1727
- if (mt(r) && !Wn(r))
1727
+ if (mt(r) && !Nn(r))
1728
1728
  return r;
1729
1729
  r = Mt(r);
1730
1730
  }
1731
1731
  return n;
1732
1732
  }
1733
1733
  let o = cr(t, e);
1734
- for (; o && ll(o) && Wn(o); )
1734
+ for (; o && sl(o) && Nn(o); )
1735
1735
  o = cr(o, e);
1736
- return o && Oe(o) && Wn(o) && !vo(o) ? n : o || cl(t) || n;
1736
+ return o && Oe(o) && Nn(o) && !vo(o) ? n : o || ll(t) || n;
1737
1737
  }
1738
- const xl = async function(e) {
1739
- const n = this.getOffsetParent || hi, o = this.getDimensions, r = await o(e.floating);
1738
+ const wl = async function(e) {
1739
+ const n = this.getOffsetParent || di, o = this.getDimensions, r = await o(e.floating);
1740
1740
  return {
1741
- reference: wl(e.reference, await n(e.floating), e.strategy),
1741
+ reference: vl(e.reference, await n(e.floating), e.strategy),
1742
1742
  floating: {
1743
1743
  x: 0,
1744
1744
  y: 0,
@@ -1747,24 +1747,24 @@ const xl = async function(e) {
1747
1747
  }
1748
1748
  };
1749
1749
  };
1750
- function _l(t) {
1750
+ function xl(t) {
1751
1751
  return ft(t).direction === "rtl";
1752
1752
  }
1753
- const El = {
1754
- convertOffsetParentRelativeRectToViewportRelativeRect: dl,
1755
- getDocumentElement: Et,
1756
- getClippingRect: yl,
1757
- getOffsetParent: hi,
1758
- getElementRects: xl,
1759
- getClientRects: hl,
1760
- getDimensions: vl,
1753
+ const _l = {
1754
+ convertOffsetParentRelativeRectToViewportRelativeRect: fl,
1755
+ getDocumentElement: Ot,
1756
+ getClippingRect: bl,
1757
+ getOffsetParent: di,
1758
+ getElementRects: wl,
1759
+ getClientRects: dl,
1760
+ getDimensions: yl,
1761
1761
  getScale: ye,
1762
1762
  isElement: mt,
1763
- isRTL: _l
1763
+ isRTL: xl
1764
1764
  };
1765
- function Ol(t, e) {
1765
+ function El(t, e) {
1766
1766
  let n = null, o;
1767
- const r = Et(t);
1767
+ const r = Ot(t);
1768
1768
  function i() {
1769
1769
  var l;
1770
1770
  clearTimeout(o), (l = n) == null || l.disconnect(), n = null;
@@ -1779,7 +1779,7 @@ function Ol(t, e) {
1779
1779
  } = t.getBoundingClientRect();
1780
1780
  if (l || e(), !h || !d)
1781
1781
  return;
1782
- const p = rn(f), m = rn(r.clientWidth - (a + h)), y = rn(r.clientHeight - (f + d)), _ = rn(a), x = {
1782
+ const p = sn(f), m = sn(r.clientWidth - (a + h)), y = sn(r.clientHeight - (f + d)), _ = sn(a), x = {
1783
1783
  rootMargin: -p + "px " + -m + "px " + -y + "px " + -_ + "px",
1784
1784
  threshold: zt(0, _e(1, c)) || 1
1785
1785
  };
@@ -1807,7 +1807,7 @@ function Ol(t, e) {
1807
1807
  }
1808
1808
  return s(!0), i;
1809
1809
  }
1810
- function Sl(t, e, n, o) {
1810
+ function Ol(t, e, n, o) {
1811
1811
  o === void 0 && (o = {});
1812
1812
  const {
1813
1813
  ancestorScroll: r = !0,
@@ -1815,13 +1815,13 @@ function Sl(t, e, n, o) {
1815
1815
  elementResize: s = typeof ResizeObserver == "function",
1816
1816
  layoutShift: l = typeof IntersectionObserver == "function",
1817
1817
  animationFrame: c = !1
1818
- } = o, a = xo(t), f = r || i ? [...a ? He(a) : [], ...He(e)] : [];
1818
+ } = o, a = xo(t), f = r || i ? [...a ? Ve(a) : [], ...Ve(e)] : [];
1819
1819
  f.forEach((w) => {
1820
1820
  r && w.addEventListener("scroll", n, {
1821
1821
  passive: !0
1822
1822
  }), i && w.addEventListener("resize", n);
1823
1823
  });
1824
- const h = a && l ? Ol(a, n) : null;
1824
+ const h = a && l ? El(a, n) : null;
1825
1825
  let d = -1, p = null;
1826
1826
  s && (p = new ResizeObserver((w) => {
1827
1827
  let [x] = w;
@@ -1843,39 +1843,39 @@ function Sl(t, e, n, o) {
1843
1843
  }), h == null || h(), (w = p) == null || w.disconnect(), p = null, c && cancelAnimationFrame(m);
1844
1844
  };
1845
1845
  }
1846
- const Tl = il, $l = rl, Cl = ol, Rl = sl, Il = (t, e, n) => {
1846
+ const Sl = rl, Tl = ol, $l = nl, Cl = il, Rl = (t, e, n) => {
1847
1847
  const o = /* @__PURE__ */ new Map(), r = et({
1848
- platform: El
1848
+ platform: _l
1849
1849
  }, n), i = et({}, r.platform, {
1850
1850
  _c: o
1851
1851
  });
1852
- return nl(t, e, et({}, r, {
1852
+ return el(t, e, et({}, r, {
1853
1853
  platform: i
1854
1854
  }));
1855
1855
  };
1856
- function Al(t) {
1856
+ function Il(t) {
1857
1857
  t.cleanup && t.cleanup();
1858
1858
  const e = t._getResolvedAttachToOptions();
1859
1859
  let n = e.element;
1860
- const o = Fl(e, t), r = oi(e);
1861
- return r && (n = document.body, t.shepherdElementComponent.getElement().classList.add("shepherd-centered")), t.cleanup = Sl(n, t.el, () => {
1860
+ const o = Dl(e, t), r = ni(e);
1861
+ return r && (n = document.body, t.shepherdElementComponent.getElement().classList.add("shepherd-centered")), t.cleanup = Ol(n, t.el, () => {
1862
1862
  if (!t.el) {
1863
1863
  t.cleanup == null || t.cleanup();
1864
1864
  return;
1865
1865
  }
1866
- Ml(n, t, o, r);
1866
+ kl(n, t, o, r);
1867
1867
  }), t.target = e.element, o;
1868
1868
  }
1869
- function Pl(t, e) {
1869
+ function Al(t, e) {
1870
1870
  return {
1871
1871
  floatingUIOptions: po(t.floatingUIOptions || {}, e.floatingUIOptions || {})
1872
1872
  };
1873
1873
  }
1874
- function kl(t) {
1874
+ function Pl(t) {
1875
1875
  t.cleanup && t.cleanup(), t.cleanup = null;
1876
1876
  }
1877
- function Ml(t, e, n, o) {
1878
- return Il(t, e.el, n).then(Ll(e, o)).then((r) => new Promise((i) => {
1877
+ function kl(t, e, n, o) {
1878
+ return Rl(t, e.el, n).then(Ml(e, o)).then((r) => new Promise((i) => {
1879
1879
  setTimeout(() => i(r), 300);
1880
1880
  })).then((r) => {
1881
1881
  r != null && r.el && r.el.focus({
@@ -1883,7 +1883,7 @@ function Ml(t, e, n, o) {
1883
1883
  });
1884
1884
  });
1885
1885
  }
1886
- function Ll(t, e) {
1886
+ function Ml(t, e) {
1887
1887
  return ({
1888
1888
  x: n,
1889
1889
  y: o,
@@ -1898,11 +1898,11 @@ function Ll(t, e) {
1898
1898
  position: "absolute",
1899
1899
  left: `${n}px`,
1900
1900
  top: `${o}px`
1901
- }), t.el.dataset.popperPlacement = r, Dl(t.el, i)), t);
1901
+ }), t.el.dataset.popperPlacement = r, Ll(t.el, i)), t);
1902
1902
  }
1903
- function Dl(t, e) {
1903
+ function Ll(t, e) {
1904
1904
  const n = t.querySelector(".shepherd-arrow");
1905
- if (Ke(n) && e.arrow) {
1905
+ if (ze(n) && e.arrow) {
1906
1906
  const {
1907
1907
  x: o,
1908
1908
  y: r
@@ -1913,51 +1913,51 @@ function Dl(t, e) {
1913
1913
  });
1914
1914
  }
1915
1915
  }
1916
- function Fl(t, e) {
1916
+ function Dl(t, e) {
1917
1917
  const n = {
1918
1918
  strategy: "absolute"
1919
1919
  };
1920
1920
  n.middleware = [];
1921
- const o = jl(e);
1922
- return oi(t) || (n.middleware.push(
1923
- $l(),
1921
+ const o = Fl(e);
1922
+ return ni(t) || (n.middleware.push(
1923
+ Tl(),
1924
1924
  // Replicate PopperJS default behavior.
1925
- Tl({
1926
- limiter: Rl(),
1925
+ Sl({
1926
+ limiter: Cl(),
1927
1927
  crossAxis: !0
1928
1928
  })
1929
- ), o && n.middleware.push(Cl({
1929
+ ), o && n.middleware.push($l({
1930
1930
  element: o
1931
1931
  })), n.placement = t.on), po(e.options.floatingUIOptions || {}, n);
1932
1932
  }
1933
- function jl(t) {
1933
+ function Fl(t) {
1934
1934
  return t.options.arrow && t.el ? t.el.querySelector(".shepherd-arrow") : !1;
1935
1935
  }
1936
1936
  function st() {
1937
1937
  }
1938
- function Bl(t, e) {
1938
+ function jl(t, e) {
1939
1939
  for (const n in e) t[n] = e[n];
1940
1940
  return (
1941
1941
  /** @type {T & S} */
1942
1942
  t
1943
1943
  );
1944
1944
  }
1945
- function pi(t) {
1945
+ function hi(t) {
1946
1946
  return t();
1947
1947
  }
1948
1948
  function ar() {
1949
1949
  return /* @__PURE__ */ Object.create(null);
1950
1950
  }
1951
- function Je(t) {
1952
- t.forEach(pi);
1951
+ function Xe(t) {
1952
+ t.forEach(hi);
1953
1953
  }
1954
1954
  function Eo(t) {
1955
1955
  return typeof t == "function";
1956
1956
  }
1957
- function Ot(t, e) {
1957
+ function St(t, e) {
1958
1958
  return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
1959
1959
  }
1960
- function Wl(t) {
1960
+ function Bl(t) {
1961
1961
  return Object.keys(t).length === 0;
1962
1962
  }
1963
1963
  function Se(t, e) {
@@ -1969,7 +1969,7 @@ function ht(t, e, n) {
1969
1969
  function at(t) {
1970
1970
  t.parentNode && t.parentNode.removeChild(t);
1971
1971
  }
1972
- function Nl(t, e) {
1972
+ function Wl(t, e) {
1973
1973
  for (let n = 0; n < t.length; n += 1)
1974
1974
  t[n] && t[n].d(e);
1975
1975
  }
@@ -1979,68 +1979,68 @@ function yt(t) {
1979
1979
  function ur(t) {
1980
1980
  return document.createElementNS("http://www.w3.org/2000/svg", t);
1981
1981
  }
1982
- function gi(t) {
1982
+ function pi(t) {
1983
1983
  return document.createTextNode(t);
1984
1984
  }
1985
- function gn() {
1986
- return gi(" ");
1985
+ function mn() {
1986
+ return pi(" ");
1987
1987
  }
1988
- function Hl() {
1989
- return gi("");
1988
+ function Nl() {
1989
+ return pi("");
1990
1990
  }
1991
- function En(t, e, n, o) {
1991
+ function On(t, e, n, o) {
1992
1992
  return t.addEventListener(e, n, o), () => t.removeEventListener(e, n, o);
1993
1993
  }
1994
1994
  function F(t, e, n) {
1995
1995
  n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
1996
1996
  }
1997
- const Vl = ["width", "height"];
1997
+ const Hl = ["width", "height"];
1998
1998
  function fr(t, e) {
1999
1999
  const n = Object.getOwnPropertyDescriptors(t.__proto__);
2000
2000
  for (const o in e)
2001
- e[o] == null ? t.removeAttribute(o) : o === "style" ? t.style.cssText = e[o] : o === "__value" ? t.value = t[o] = e[o] : n[o] && n[o].set && Vl.indexOf(o) === -1 ? t[o] = e[o] : F(t, o, e[o]);
2001
+ e[o] == null ? t.removeAttribute(o) : o === "style" ? t.style.cssText = e[o] : o === "__value" ? t.value = t[o] = e[o] : n[o] && n[o].set && Hl.indexOf(o) === -1 ? t[o] = e[o] : F(t, o, e[o]);
2002
2002
  }
2003
- function Ul(t) {
2003
+ function Vl(t) {
2004
2004
  return Array.from(t.childNodes);
2005
2005
  }
2006
2006
  function ae(t, e, n) {
2007
2007
  t.classList.toggle(e, !!n);
2008
2008
  }
2009
- let Ve;
2009
+ let Ue;
2010
2010
  function Be(t) {
2011
- Ve = t;
2011
+ Ue = t;
2012
2012
  }
2013
- function mi() {
2014
- if (!Ve) throw new Error("Function called outside component initialization");
2015
- return Ve;
2013
+ function gi() {
2014
+ if (!Ue) throw new Error("Function called outside component initialization");
2015
+ return Ue;
2016
2016
  }
2017
- function ql(t) {
2018
- mi().$$.on_mount.push(t);
2017
+ function Ul(t) {
2018
+ gi().$$.on_mount.push(t);
2019
2019
  }
2020
2020
  function Oo(t) {
2021
- mi().$$.after_update.push(t);
2021
+ gi().$$.after_update.push(t);
2022
2022
  }
2023
2023
  const he = [], Te = [];
2024
2024
  let ve = [];
2025
- const dr = [], Yl = /* @__PURE__ */ Promise.resolve();
2026
- let Gn = !1;
2027
- function Kl() {
2028
- Gn || (Gn = !0, Yl.then(bi));
2025
+ const dr = [], ql = /* @__PURE__ */ Promise.resolve();
2026
+ let Zn = !1;
2027
+ function Yl() {
2028
+ Zn || (Zn = !0, ql.then(mi));
2029
2029
  }
2030
- function Zn(t) {
2030
+ function Qn(t) {
2031
2031
  ve.push(t);
2032
2032
  }
2033
- const Nn = /* @__PURE__ */ new Set();
2033
+ const Hn = /* @__PURE__ */ new Set();
2034
2034
  let ue = 0;
2035
- function bi() {
2035
+ function mi() {
2036
2036
  if (ue !== 0)
2037
2037
  return;
2038
- const t = Ve;
2038
+ const t = Ue;
2039
2039
  do {
2040
2040
  try {
2041
2041
  for (; ue < he.length; ) {
2042
2042
  const e = he[ue];
2043
- ue++, Be(e), zl(e.$$);
2043
+ ue++, Be(e), Kl(e.$$);
2044
2044
  }
2045
2045
  } catch (e) {
2046
2046
  throw he.length = 0, ue = 0, e;
@@ -2048,26 +2048,26 @@ function bi() {
2048
2048
  for (Be(null), he.length = 0, ue = 0; Te.length; ) Te.pop()();
2049
2049
  for (let e = 0; e < ve.length; e += 1) {
2050
2050
  const n = ve[e];
2051
- Nn.has(n) || (Nn.add(n), n());
2051
+ Hn.has(n) || (Hn.add(n), n());
2052
2052
  }
2053
2053
  ve.length = 0;
2054
2054
  } while (he.length);
2055
2055
  for (; dr.length; )
2056
2056
  dr.pop()();
2057
- Gn = !1, Nn.clear(), Be(t);
2057
+ Zn = !1, Hn.clear(), Be(t);
2058
2058
  }
2059
- function zl(t) {
2059
+ function Kl(t) {
2060
2060
  if (t.fragment !== null) {
2061
- t.update(), Je(t.before_update);
2061
+ t.update(), Xe(t.before_update);
2062
2062
  const e = t.dirty;
2063
- t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(Zn);
2063
+ t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(Qn);
2064
2064
  }
2065
2065
  }
2066
- function Jl(t) {
2066
+ function zl(t) {
2067
2067
  const e = [], n = [];
2068
2068
  ve.forEach((o) => t.indexOf(o) === -1 ? e.push(o) : n.push(o)), n.forEach((o) => o()), ve = e;
2069
2069
  }
2070
- const ln = /* @__PURE__ */ new Set();
2070
+ const cn = /* @__PURE__ */ new Set();
2071
2071
  let qt;
2072
2072
  function Jt() {
2073
2073
  qt = {
@@ -2078,23 +2078,23 @@ function Jt() {
2078
2078
  };
2079
2079
  }
2080
2080
  function Xt() {
2081
- qt.r || Je(qt.c), qt = qt.p;
2081
+ qt.r || Xe(qt.c), qt = qt.p;
2082
2082
  }
2083
2083
  function M(t, e) {
2084
- t && t.i && (ln.delete(t), t.i(e));
2084
+ t && t.i && (cn.delete(t), t.i(e));
2085
2085
  }
2086
2086
  function z(t, e, n, o) {
2087
2087
  if (t && t.o) {
2088
- if (ln.has(t)) return;
2089
- ln.add(t), qt.c.push(() => {
2090
- ln.delete(t), o && (n && t.d(1), o());
2088
+ if (cn.has(t)) return;
2089
+ cn.add(t), qt.c.push(() => {
2090
+ cn.delete(t), o && (n && t.d(1), o());
2091
2091
  }), t.o(e);
2092
2092
  } else o && o();
2093
2093
  }
2094
2094
  function hr(t) {
2095
2095
  return (t == null ? void 0 : t.length) !== void 0 ? t : Array.from(t);
2096
2096
  }
2097
- function Xl(t, e) {
2097
+ function Jl(t, e) {
2098
2098
  const n = {}, o = {}, r = {
2099
2099
  $$scope: 1
2100
2100
  };
@@ -2123,20 +2123,20 @@ function Bt(t, e, n) {
2123
2123
  fragment: o,
2124
2124
  after_update: r
2125
2125
  } = t.$$;
2126
- o && o.m(e, n), Zn(() => {
2127
- const i = t.$$.on_mount.map(pi).filter(Eo);
2128
- t.$$.on_destroy ? t.$$.on_destroy.push(...i) : Je(i), t.$$.on_mount = [];
2129
- }), r.forEach(Zn);
2126
+ o && o.m(e, n), Qn(() => {
2127
+ const i = t.$$.on_mount.map(hi).filter(Eo);
2128
+ t.$$.on_destroy ? t.$$.on_destroy.push(...i) : Xe(i), t.$$.on_mount = [];
2129
+ }), r.forEach(Qn);
2130
2130
  }
2131
2131
  function Wt(t, e) {
2132
2132
  const n = t.$$;
2133
- n.fragment !== null && (Jl(n.after_update), Je(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
2133
+ n.fragment !== null && (zl(n.after_update), Xe(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
2134
2134
  }
2135
- function Gl(t, e) {
2136
- t.$$.dirty[0] === -1 && (he.push(t), Kl(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
2135
+ function Xl(t, e) {
2136
+ t.$$.dirty[0] === -1 && (he.push(t), Yl(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
2137
2137
  }
2138
- function St(t, e, n, o, r, i, s = null, l = [-1]) {
2139
- const c = Ve;
2138
+ function Tt(t, e, n, o, r, i, s = null, l = [-1]) {
2139
+ const c = Ue;
2140
2140
  Be(t);
2141
2141
  const a = t.$$ = {
2142
2142
  fragment: null,
@@ -2163,18 +2163,18 @@ function St(t, e, n, o, r, i, s = null, l = [-1]) {
2163
2163
  let f = !1;
2164
2164
  if (a.ctx = n ? n(t, e.props || {}, (h, d, ...p) => {
2165
2165
  const m = p.length ? p[0] : d;
2166
- return a.ctx && r(a.ctx[h], a.ctx[h] = m) && (!a.skip_bound && a.bound[h] && a.bound[h](m), f && Gl(t, h)), d;
2167
- }) : [], a.update(), f = !0, Je(a.before_update), a.fragment = o ? o(a.ctx) : !1, e.target) {
2166
+ return a.ctx && r(a.ctx[h], a.ctx[h] = m) && (!a.skip_bound && a.bound[h] && a.bound[h](m), f && Xl(t, h)), d;
2167
+ }) : [], a.update(), f = !0, Xe(a.before_update), a.fragment = o ? o(a.ctx) : !1, e.target) {
2168
2168
  if (e.hydrate) {
2169
- const h = Ul(e.target);
2169
+ const h = Vl(e.target);
2170
2170
  a.fragment && a.fragment.l(h), h.forEach(at);
2171
2171
  } else
2172
2172
  a.fragment && a.fragment.c();
2173
- e.intro && M(t.$$.fragment), Bt(t, e.target, e.anchor), bi();
2173
+ e.intro && M(t.$$.fragment), Bt(t, e.target, e.anchor), mi();
2174
2174
  }
2175
2175
  Be(c);
2176
2176
  }
2177
- class Tt {
2177
+ class $t {
2178
2178
  constructor() {
2179
2179
  this.$$ = void 0, this.$$set = void 0;
2180
2180
  }
@@ -2202,14 +2202,14 @@ class Tt {
2202
2202
  * @returns {void}
2203
2203
  */
2204
2204
  $set(e) {
2205
- this.$$set && !Wl(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
2205
+ this.$$set && !Bl(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
2206
2206
  }
2207
2207
  }
2208
- const Zl = "4";
2208
+ const Gl = "4";
2209
2209
  typeof window < "u" && (window.__svelte || (window.__svelte = {
2210
2210
  v: /* @__PURE__ */ new Set()
2211
- })).v.add(Zl);
2212
- function Ql(t) {
2211
+ })).v.add(Gl);
2212
+ function Zl(t) {
2213
2213
  let e, n, o, r, i;
2214
2214
  return {
2215
2215
  c() {
@@ -2224,7 +2224,7 @@ function Ql(t) {
2224
2224
  },
2225
2225
  m(s, l) {
2226
2226
  ht(s, e, l), e.innerHTML = /*text*/
2227
- t[5], r || (i = En(e, "click", function() {
2227
+ t[5], r || (i = On(e, "click", function() {
2228
2228
  Eo(
2229
2229
  /*action*/
2230
2230
  t[0]
@@ -2253,7 +2253,7 @@ function Ql(t) {
2253
2253
  }
2254
2254
  };
2255
2255
  }
2256
- function tc(t, e, n) {
2256
+ function Ql(t, e, n) {
2257
2257
  let {
2258
2258
  config: o,
2259
2259
  step: r
@@ -2268,9 +2268,9 @@ function tc(t, e, n) {
2268
2268
  192 && (n(0, i = o.action ? o.action.bind(r.tour) : null), n(1, s = o.classes), n(2, l = o.disabled ? h(o.disabled) : !1), n(3, c = o.label ? h(o.label) : null), n(4, a = o.secondary), n(5, f = o.text ? h(o.text) : null));
2269
2269
  }, [i, s, l, c, a, f, o, r];
2270
2270
  }
2271
- class ec extends Tt {
2271
+ class tc extends $t {
2272
2272
  constructor(e) {
2273
- super(), St(this, e, tc, Ql, Ot, {
2273
+ super(), Tt(this, e, Ql, Zl, St, {
2274
2274
  config: 6,
2275
2275
  step: 7
2276
2276
  });
@@ -2294,7 +2294,7 @@ function gr(t) {
2294
2294
  c() {
2295
2295
  for (let s = 0; s < r.length; s += 1)
2296
2296
  r[s].c();
2297
- e = Hl();
2297
+ e = Nl();
2298
2298
  },
2299
2299
  m(s, l) {
2300
2300
  for (let c = 0; c < r.length; c += 1)
@@ -2332,13 +2332,13 @@ function gr(t) {
2332
2332
  n = !1;
2333
2333
  },
2334
2334
  d(s) {
2335
- s && at(e), Nl(r, s);
2335
+ s && at(e), Wl(r, s);
2336
2336
  }
2337
2337
  };
2338
2338
  }
2339
2339
  function mr(t) {
2340
2340
  let e, n;
2341
- return e = new ec({
2341
+ return e = new tc({
2342
2342
  props: {
2343
2343
  config: (
2344
2344
  /*config*/
@@ -2375,7 +2375,7 @@ function mr(t) {
2375
2375
  }
2376
2376
  };
2377
2377
  }
2378
- function nc(t) {
2378
+ function ec(t) {
2379
2379
  let e, n, o = (
2380
2380
  /*buttons*/
2381
2381
  t[1] && gr(t)
@@ -2405,7 +2405,7 @@ function nc(t) {
2405
2405
  }
2406
2406
  };
2407
2407
  }
2408
- function oc(t, e, n) {
2408
+ function nc(t, e, n) {
2409
2409
  let o, {
2410
2410
  step: r
2411
2411
  } = e;
@@ -2416,14 +2416,14 @@ function oc(t, e, n) {
2416
2416
  1 && n(1, o = r.options.buttons);
2417
2417
  }, [r, o];
2418
2418
  }
2419
- class rc extends Tt {
2419
+ class oc extends $t {
2420
2420
  constructor(e) {
2421
- super(), St(this, e, oc, nc, Ot, {
2421
+ super(), Tt(this, e, nc, ec, St, {
2422
2422
  step: 0
2423
2423
  });
2424
2424
  }
2425
2425
  }
2426
- function ic(t) {
2426
+ function rc(t) {
2427
2427
  let e, n, o, r, i;
2428
2428
  return {
2429
2429
  c() {
@@ -2434,7 +2434,7 @@ function ic(t) {
2434
2434
  ) : "Close Tour"), F(e, "class", "shepherd-cancel-icon"), F(e, "type", "button");
2435
2435
  },
2436
2436
  m(s, l) {
2437
- ht(s, e, l), Se(e, n), r || (i = En(
2437
+ ht(s, e, l), Se(e, n), r || (i = On(
2438
2438
  e,
2439
2439
  "click",
2440
2440
  /*handleCancelClick*/
@@ -2456,7 +2456,7 @@ function ic(t) {
2456
2456
  }
2457
2457
  };
2458
2458
  }
2459
- function sc(t, e, n) {
2459
+ function ic(t, e, n) {
2460
2460
  let {
2461
2461
  cancelIcon: o,
2462
2462
  step: r
@@ -2468,15 +2468,15 @@ function sc(t, e, n) {
2468
2468
  "cancelIcon" in s && n(0, o = s.cancelIcon), "step" in s && n(2, r = s.step);
2469
2469
  }, [o, i, r];
2470
2470
  }
2471
- class lc extends Tt {
2471
+ class sc extends $t {
2472
2472
  constructor(e) {
2473
- super(), St(this, e, sc, ic, Ot, {
2473
+ super(), Tt(this, e, ic, rc, St, {
2474
2474
  cancelIcon: 0,
2475
2475
  step: 2
2476
2476
  });
2477
2477
  }
2478
2478
  }
2479
- function cc(t) {
2479
+ function lc(t) {
2480
2480
  let e;
2481
2481
  return {
2482
2482
  c() {
@@ -2506,7 +2506,7 @@ function cc(t) {
2506
2506
  }
2507
2507
  };
2508
2508
  }
2509
- function ac(t, e, n) {
2509
+ function cc(t, e, n) {
2510
2510
  let {
2511
2511
  labelId: o,
2512
2512
  element: r,
@@ -2524,9 +2524,9 @@ function ac(t, e, n) {
2524
2524
  "labelId" in l && n(1, o = l.labelId), "element" in l && n(0, r = l.element), "title" in l && n(2, i = l.title);
2525
2525
  }, [r, o, i, s];
2526
2526
  }
2527
- class uc extends Tt {
2527
+ class ac extends $t {
2528
2528
  constructor(e) {
2529
- super(), St(this, e, ac, cc, Ot, {
2529
+ super(), Tt(this, e, cc, lc, St, {
2530
2530
  labelId: 1,
2531
2531
  element: 0,
2532
2532
  title: 2
@@ -2535,7 +2535,7 @@ class uc extends Tt {
2535
2535
  }
2536
2536
  function br(t) {
2537
2537
  let e, n;
2538
- return e = new uc({
2538
+ return e = new ac({
2539
2539
  props: {
2540
2540
  labelId: (
2541
2541
  /*labelId*/
@@ -2574,7 +2574,7 @@ function br(t) {
2574
2574
  }
2575
2575
  function yr(t) {
2576
2576
  let e, n;
2577
- return e = new lc({
2577
+ return e = new sc({
2578
2578
  props: {
2579
2579
  cancelIcon: (
2580
2580
  /*cancelIcon*/
@@ -2611,7 +2611,7 @@ function yr(t) {
2611
2611
  }
2612
2612
  };
2613
2613
  }
2614
- function fc(t) {
2614
+ function uc(t) {
2615
2615
  let e, n, o, r = (
2616
2616
  /*title*/
2617
2617
  t[2] && br(t)
@@ -2622,7 +2622,7 @@ function fc(t) {
2622
2622
  );
2623
2623
  return {
2624
2624
  c() {
2625
- e = yt("header"), r && r.c(), n = gn(), i && i.c(), F(e, "class", "shepherd-header");
2625
+ e = yt("header"), r && r.c(), n = mn(), i && i.c(), F(e, "class", "shepherd-header");
2626
2626
  },
2627
2627
  m(s, l) {
2628
2628
  ht(s, e, l), r && r.m(e, null), Se(e, n), i && i.m(e, null), o = !0;
@@ -2650,7 +2650,7 @@ function fc(t) {
2650
2650
  }
2651
2651
  };
2652
2652
  }
2653
- function dc(t, e, n) {
2653
+ function fc(t, e, n) {
2654
2654
  let {
2655
2655
  labelId: o,
2656
2656
  step: r
@@ -2662,15 +2662,15 @@ function dc(t, e, n) {
2662
2662
  2 && (n(2, i = r.options.title), n(3, s = r.options.cancelIcon));
2663
2663
  }, [o, r, i, s];
2664
2664
  }
2665
- class hc extends Tt {
2665
+ class dc extends $t {
2666
2666
  constructor(e) {
2667
- super(), St(this, e, dc, fc, Ot, {
2667
+ super(), Tt(this, e, fc, uc, St, {
2668
2668
  labelId: 0,
2669
2669
  step: 1
2670
2670
  });
2671
2671
  }
2672
2672
  }
2673
- function pc(t) {
2673
+ function hc(t) {
2674
2674
  let e;
2675
2675
  return {
2676
2676
  c() {
@@ -2700,7 +2700,7 @@ function pc(t) {
2700
2700
  }
2701
2701
  };
2702
2702
  }
2703
- function gc(t, e, n) {
2703
+ function pc(t, e, n) {
2704
2704
  let {
2705
2705
  descriptionId: o,
2706
2706
  element: r,
@@ -2710,7 +2710,7 @@ function gc(t, e, n) {
2710
2710
  let {
2711
2711
  text: l
2712
2712
  } = i.options;
2713
- Pt(l) && (l = l.call(i)), Ke(l) ? r.appendChild(l) : n(0, r.innerHTML = l, r);
2713
+ Pt(l) && (l = l.call(i)), ze(l) ? r.appendChild(l) : n(0, r.innerHTML = l, r);
2714
2714
  });
2715
2715
  function s(l) {
2716
2716
  Te[l ? "unshift" : "push"](() => {
@@ -2721,9 +2721,9 @@ function gc(t, e, n) {
2721
2721
  "descriptionId" in l && n(1, o = l.descriptionId), "element" in l && n(0, r = l.element), "step" in l && n(2, i = l.step);
2722
2722
  }, [r, o, i, s];
2723
2723
  }
2724
- class mc extends Tt {
2724
+ class gc extends $t {
2725
2725
  constructor(e) {
2726
- super(), St(this, e, gc, pc, Ot, {
2726
+ super(), Tt(this, e, pc, hc, St, {
2727
2727
  descriptionId: 1,
2728
2728
  element: 0,
2729
2729
  step: 2
@@ -2732,7 +2732,7 @@ class mc extends Tt {
2732
2732
  }
2733
2733
  function vr(t) {
2734
2734
  let e, n;
2735
- return e = new hc({
2735
+ return e = new dc({
2736
2736
  props: {
2737
2737
  labelId: (
2738
2738
  /*labelId*/
@@ -2771,7 +2771,7 @@ function vr(t) {
2771
2771
  }
2772
2772
  function wr(t) {
2773
2773
  let e, n;
2774
- return e = new mc({
2774
+ return e = new gc({
2775
2775
  props: {
2776
2776
  descriptionId: (
2777
2777
  /*descriptionId*/
@@ -2810,7 +2810,7 @@ function wr(t) {
2810
2810
  }
2811
2811
  function xr(t) {
2812
2812
  let e, n;
2813
- return e = new rc({
2813
+ return e = new oc({
2814
2814
  props: {
2815
2815
  step: (
2816
2816
  /*step*/
@@ -2841,7 +2841,7 @@ function xr(t) {
2841
2841
  }
2842
2842
  };
2843
2843
  }
2844
- function bc(t) {
2844
+ function mc(t) {
2845
2845
  let e, n = !G(
2846
2846
  /*step*/
2847
2847
  t[2].options.title
@@ -2857,7 +2857,7 @@ function bc(t) {
2857
2857
  t[2].options.buttons.length, l, c = n && vr(t), a = r && wr(t), f = s && xr(t);
2858
2858
  return {
2859
2859
  c() {
2860
- e = yt("div"), c && c.c(), o = gn(), a && a.c(), i = gn(), f && f.c(), F(e, "class", "shepherd-content");
2860
+ e = yt("div"), c && c.c(), o = mn(), a && a.c(), i = mn(), f && f.c(), F(e, "class", "shepherd-content");
2861
2861
  },
2862
2862
  m(h, d) {
2863
2863
  ht(h, e, d), c && c.m(e, null), Se(e, o), a && a.m(e, null), Se(e, i), f && f.m(e, null), l = !0;
@@ -2900,7 +2900,7 @@ function bc(t) {
2900
2900
  }
2901
2901
  };
2902
2902
  }
2903
- function yc(t, e, n) {
2903
+ function bc(t, e, n) {
2904
2904
  let {
2905
2905
  descriptionId: o,
2906
2906
  labelId: r,
@@ -2910,9 +2910,9 @@ function yc(t, e, n) {
2910
2910
  "descriptionId" in s && n(0, o = s.descriptionId), "labelId" in s && n(1, r = s.labelId), "step" in s && n(2, i = s.step);
2911
2911
  }, [o, r, i];
2912
2912
  }
2913
- class vc extends Tt {
2913
+ class yc extends $t {
2914
2914
  constructor(e) {
2915
- super(), St(this, e, yc, bc, Ot, {
2915
+ super(), Tt(this, e, bc, mc, St, {
2916
2916
  descriptionId: 0,
2917
2917
  labelId: 1,
2918
2918
  step: 2
@@ -2933,7 +2933,7 @@ function _r(t) {
2933
2933
  }
2934
2934
  };
2935
2935
  }
2936
- function wc(t) {
2936
+ function vc(t) {
2937
2937
  let e, n, o, r, i, s, l, c, a = (
2938
2938
  /*step*/
2939
2939
  t[4].options.arrow && /*step*/
@@ -2941,7 +2941,7 @@ function wc(t) {
2941
2941
  t[4].options.attachTo.element && /*step*/
2942
2942
  t[4].options.attachTo.on && _r()
2943
2943
  );
2944
- o = new vc({
2944
+ o = new yc({
2945
2945
  props: {
2946
2946
  descriptionId: (
2947
2947
  /*descriptionId*/
@@ -2984,10 +2984,10 @@ function wc(t) {
2984
2984
  }
2985
2985
  ], h = {};
2986
2986
  for (let d = 0; d < f.length; d += 1)
2987
- h = Bl(h, f[d]);
2987
+ h = jl(h, f[d]);
2988
2988
  return {
2989
2989
  c() {
2990
- e = yt("div"), a && a.c(), n = gn(), ie(o.$$.fragment), fr(e, h), ae(
2990
+ e = yt("div"), a && a.c(), n = mn(), ie(o.$$.fragment), fr(e, h), ae(
2991
2991
  e,
2992
2992
  "shepherd-has-cancel-icon",
2993
2993
  /*hasCancelIcon*/
@@ -3000,7 +3000,7 @@ function wc(t) {
3000
3000
  ), ae(e, "shepherd-element", !0);
3001
3001
  },
3002
3002
  m(d, p) {
3003
- ht(d, e, p), a && a.m(e, null), Se(e, n), Bt(o, e, null), t[13](e), s = !0, l || (c = En(
3003
+ ht(d, e, p), a && a.m(e, null), Se(e, n), Bt(o, e, null), t[13](e), s = !0, l || (c = On(
3004
3004
  e,
3005
3005
  "keydown",
3006
3006
  /*handleKeyDown*/
@@ -3020,7 +3020,7 @@ function wc(t) {
3020
3020
  8 && (m.labelId = /*labelId*/
3021
3021
  d[3]), p & /*step*/
3022
3022
  16 && (m.step = /*step*/
3023
- d[4]), o.$set(m), fr(e, h = Xl(f, [(!s || p & /*step, descriptionId*/
3023
+ d[4]), o.$set(m), fr(e, h = Jl(f, [(!s || p & /*step, descriptionId*/
3024
3024
  20 && r !== (r = G(
3025
3025
  /*step*/
3026
3026
  d[4].options.text
@@ -3065,11 +3065,11 @@ function wc(t) {
3065
3065
  }
3066
3066
  };
3067
3067
  }
3068
- const xc = 9, _c = 27, Ec = 37, Oc = 39;
3068
+ const wc = 9, xc = 27, _c = 37, Ec = 39;
3069
3069
  function Er(t) {
3070
3070
  return t.split(" ").filter((e) => !!e.length);
3071
3071
  }
3072
- function Sc(t, e, n) {
3072
+ function Oc(t, e, n) {
3073
3073
  let {
3074
3074
  classPrefix: o,
3075
3075
  element: r,
@@ -3082,7 +3082,7 @@ function Sc(t, e, n) {
3082
3082
  dataStepId: h
3083
3083
  } = e, d, p, m;
3084
3084
  const y = () => r;
3085
- ql(() => {
3085
+ Ul(() => {
3086
3086
  n(1, h = {
3087
3087
  [`data-${o}shepherd-step-id`]: f.id
3088
3088
  }), n(9, l = r.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]')), n(8, s = l[0]), n(10, a = l[l.length - 1]);
@@ -3093,13 +3093,13 @@ function Sc(t, e, n) {
3093
3093
  w(m), m = f.options.classes, x(m);
3094
3094
  }
3095
3095
  function w(g) {
3096
- if (Ne(g)) {
3096
+ if (He(g)) {
3097
3097
  const S = Er(g);
3098
3098
  S.length && r.classList.remove(...S);
3099
3099
  }
3100
3100
  }
3101
3101
  function x(g) {
3102
- if (Ne(g)) {
3102
+ if (He(g)) {
3103
3103
  const S = Er(g);
3104
3104
  S.length && r.classList.add(...S);
3105
3105
  }
@@ -3109,20 +3109,20 @@ function Sc(t, e, n) {
3109
3109
  tour: S
3110
3110
  } = f;
3111
3111
  switch (g.keyCode) {
3112
- case xc:
3112
+ case wc:
3113
3113
  if (l.length === 0) {
3114
3114
  g.preventDefault();
3115
3115
  break;
3116
3116
  }
3117
3117
  g.shiftKey ? (document.activeElement === s || document.activeElement.classList.contains("shepherd-element")) && (g.preventDefault(), a.focus()) : document.activeElement === a && (g.preventDefault(), s.focus());
3118
3118
  break;
3119
- case _c:
3119
+ case xc:
3120
3120
  S.options.exitOnEsc && (g.preventDefault(), g.stopPropagation(), f.cancel());
3121
3121
  break;
3122
- case Ec:
3122
+ case _c:
3123
3123
  S.options.keyboardNavigation && (g.preventDefault(), g.stopPropagation(), S.back());
3124
3124
  break;
3125
- case Oc:
3125
+ case Ec:
3126
3126
  S.options.keyboardNavigation && (g.preventDefault(), g.stopPropagation(), S.next());
3127
3127
  break;
3128
3128
  }
@@ -3139,9 +3139,9 @@ function Sc(t, e, n) {
3139
3139
  16 && (n(5, d = f.options && f.options.cancelIcon && f.options.cancelIcon.enabled), n(6, p = f.options && f.options.title));
3140
3140
  }, [r, h, i, c, f, d, p, O, s, l, a, o, y, b];
3141
3141
  }
3142
- class Tc extends Tt {
3142
+ class Sc extends $t {
3143
3143
  constructor(e) {
3144
- super(), St(this, e, Sc, wc, Ot, {
3144
+ super(), Tt(this, e, Oc, vc, St, {
3145
3145
  classPrefix: 11,
3146
3146
  element: 0,
3147
3147
  descriptionId: 2,
@@ -3158,9 +3158,9 @@ class Tc extends Tt {
3158
3158
  return this.$$.ctx[12];
3159
3159
  }
3160
3160
  }
3161
- class Qn extends ho {
3161
+ class to extends ho {
3162
3162
  constructor(e, n = {}) {
3163
- return super(), this._resolvedAttachTo = void 0, this.classPrefix = void 0, this.el = void 0, this.target = void 0, this.tour = void 0, this.tour = e, this.classPrefix = this.tour.options ? ni(this.tour.options.classPrefix) : "", this.styles = e.styles, this._resolvedAttachTo = null, go(this), this._setOptions(n), this;
3163
+ return super(), this._resolvedAttachTo = void 0, this.classPrefix = void 0, this.el = void 0, this.target = void 0, this.tour = void 0, this.tour = e, this.classPrefix = this.tour.options ? ei(this.tour.options.classPrefix) : "", this.styles = e.styles, this._resolvedAttachTo = null, go(this), this._setOptions(n), this;
3164
3164
  }
3165
3165
  /**
3166
3166
  * Cancel the tour
@@ -3181,7 +3181,7 @@ class Qn extends ho {
3181
3181
  * Triggers `destroy` event
3182
3182
  */
3183
3183
  destroy() {
3184
- kl(this), Ke(this.el) && (this.el.remove(), this.el = null), this._updateStepTargetOnHide(), this.trigger("destroy");
3184
+ Pl(this), ze(this.el) && (this.el.remove(), this.el = null), this._updateStepTargetOnHide(), this.trigger("destroy");
3185
3185
  }
3186
3186
  /**
3187
3187
  * Returns the tour for the step
@@ -3202,7 +3202,7 @@ class Qn extends ho {
3202
3202
  * @returns {{}|{element, on}}
3203
3203
  */
3204
3204
  _resolveAttachToOptions() {
3205
- return this._resolvedAttachTo = Ys(this), this._resolvedAttachTo;
3205
+ return this._resolvedAttachTo = qs(this), this._resolvedAttachTo;
3206
3206
  }
3207
3207
  /**
3208
3208
  * A selector for resolved attachTo options.
@@ -3257,7 +3257,7 @@ class Qn extends ho {
3257
3257
  */
3258
3258
  _createTooltipContent() {
3259
3259
  const e = `${this.id}-description`, n = `${this.id}-label`;
3260
- return this.shepherdElementComponent = new Tc({
3260
+ return this.shepherdElementComponent = new Sc({
3261
3261
  target: this.tour.options.stepsContainer || document.body,
3262
3262
  props: {
3263
3263
  classPrefix: this.classPrefix,
@@ -3281,7 +3281,7 @@ class Qn extends ho {
3281
3281
  const {
3282
3282
  element: n
3283
3283
  } = this._getResolvedAttachToOptions();
3284
- Pt(this.options.scrollToHandler) ? this.options.scrollToHandler(n) : $s(n) && typeof n.scrollIntoView == "function" && n.scrollIntoView(e);
3284
+ Pt(this.options.scrollToHandler) ? this.options.scrollToHandler(n) : Ts(n) && typeof n.scrollIntoView == "function" && n.scrollIntoView(e);
3285
3285
  }
3286
3286
  /**
3287
3287
  * _getClassOptions gets all possible classes for the step
@@ -3300,11 +3300,11 @@ class Qn extends ho {
3300
3300
  let n = this.tour && this.tour.options && this.tour.options.defaultStepOptions;
3301
3301
  n = po({}, n || {}), this.options = Object.assign({
3302
3302
  arrow: !0
3303
- }, n, e, Pl(n, e));
3303
+ }, n, e, Al(n, e));
3304
3304
  const {
3305
3305
  when: o
3306
3306
  } = this.options;
3307
- this.options.classes = this._getClassOptions(e), this.destroy(), this.id = this.options.id || `step-${ri()}`, o && Object.keys(o).forEach((r) => {
3307
+ this.options.classes = this._getClassOptions(e), this.destroy(), this.id = this.options.id || `step-${oi()}`, o && Object.keys(o).forEach((r) => {
3308
3308
  this.on(r, o[r], this);
3309
3309
  });
3310
3310
  }
@@ -3313,7 +3313,7 @@ class Qn extends ho {
3313
3313
  * @private
3314
3314
  */
3315
3315
  _setupElements() {
3316
- G(this.el) || this.destroy(), this.el = this._createTooltipContent(), this.options.advanceOn && Vs(this), Al(this);
3316
+ G(this.el) || this.destroy(), this.el = this._createTooltipContent(), this.options.advanceOn && Hs(this), Il(this);
3317
3317
  }
3318
3318
  /**
3319
3319
  * Triggers `before-show`, generates the tooltip DOM content,
@@ -3349,17 +3349,17 @@ class Qn extends ho {
3349
3349
  this.options.highlightClass && e.classList.remove(this.options.highlightClass), e.classList.remove("shepherd-target-click-disabled", `${this.classPrefix}shepherd-enabled`, `${this.classPrefix}shepherd-target`);
3350
3350
  }
3351
3351
  }
3352
- function $c(t) {
3352
+ function Tc(t) {
3353
3353
  if (t) {
3354
3354
  const {
3355
3355
  steps: e
3356
3356
  } = t;
3357
3357
  e.forEach((n) => {
3358
- n.options && n.options.canClickTarget === !1 && n.options.attachTo && Ke(n.target) && n.target.classList.remove("shepherd-target-click-disabled");
3358
+ n.options && n.options.canClickTarget === !1 && n.options.attachTo && ze(n.target) && n.target.classList.remove("shepherd-target-click-disabled");
3359
3359
  });
3360
3360
  }
3361
3361
  }
3362
- function Cc({
3362
+ function $c({
3363
3363
  width: t,
3364
3364
  height: e,
3365
3365
  x: n = 0,
@@ -3382,7 +3382,7 @@ function Cc({
3382
3382
  } : r;
3383
3383
  return `M${i},${s}H0V0H${i}V${s}ZM${n + l},${o}a${l},${l},0,0,0-${l},${l}V${e + o - f}a${f},${f},0,0,0,${f},${f}H${t + n - a}a${a},${a},0,0,0,${a}-${a}V${o + c}a${c},${c},0,0,0-${c}-${c}Z`;
3384
3384
  }
3385
- function Rc(t) {
3385
+ function Cc(t) {
3386
3386
  let e, n, o, r, i;
3387
3387
  return {
3388
3388
  c() {
@@ -3395,7 +3395,7 @@ function Rc(t) {
3395
3395
  t[1] ? "shepherd-modal-is-visible" : ""} shepherd-modal-overlay-container`);
3396
3396
  },
3397
3397
  m(s, l) {
3398
- ht(s, e, l), Se(e, n), t[11](e), r || (i = En(
3398
+ ht(s, e, l), Se(e, n), t[11](e), r || (i = On(
3399
3399
  e,
3400
3400
  "touchmove",
3401
3401
  /*_preventModalOverlayTouch*/
@@ -3420,13 +3420,13 @@ function Rc(t) {
3420
3420
  }
3421
3421
  };
3422
3422
  }
3423
- function yi(t) {
3423
+ function bi(t) {
3424
3424
  if (!t)
3425
3425
  return null;
3426
3426
  const n = t instanceof HTMLElement && window.getComputedStyle(t).overflowY;
3427
- return n !== "hidden" && n !== "visible" && t.scrollHeight >= t.clientHeight ? t : yi(t.parentElement);
3427
+ return n !== "hidden" && n !== "visible" && t.scrollHeight >= t.clientHeight ? t : bi(t.parentElement);
3428
3428
  }
3429
- function Ic(t) {
3429
+ function Rc(t) {
3430
3430
  let e = {
3431
3431
  top: 0,
3432
3432
  left: 0
@@ -3446,7 +3446,7 @@ function Ic(t) {
3446
3446
  }
3447
3447
  return e;
3448
3448
  }
3449
- function Ac(t, e) {
3449
+ function Ic(t, e) {
3450
3450
  const n = t.getBoundingClientRect();
3451
3451
  let o = n.y || n.top, r = n.bottom || o + n.height;
3452
3452
  if (e) {
@@ -3459,7 +3459,7 @@ function Ac(t, e) {
3459
3459
  height: i
3460
3460
  };
3461
3461
  }
3462
- function Pc(t, e, n) {
3462
+ function Ac(t, e, n) {
3463
3463
  let {
3464
3464
  element: o,
3465
3465
  openingProperties: r
@@ -3483,7 +3483,7 @@ function Pc(t, e, n) {
3483
3483
  const {
3484
3484
  y: B,
3485
3485
  height: N
3486
- } = Ac(I, V), {
3486
+ } = Ic(I, V), {
3487
3487
  x: U,
3488
3488
  width: A,
3489
3489
  left: $
@@ -3525,7 +3525,7 @@ function Pc(t, e, n) {
3525
3525
  modalOverlayOpeningRadius: S,
3526
3526
  modalOverlayOpeningXOffset: P = 0,
3527
3527
  modalOverlayOpeningYOffset: V = 0
3528
- } = b.options, I = Ic(b.target), B = yi(b.target), N = () => {
3528
+ } = b.options, I = Rc(b.target), B = bi(b.target), N = () => {
3529
3529
  s = void 0, h(g, S, P + I.left, V + I.top, B, b.target), s = requestAnimationFrame(N);
3530
3530
  };
3531
3531
  N(), _();
@@ -3539,12 +3539,12 @@ function Pc(t, e, n) {
3539
3539
  "element" in b && n(0, o = b.element), "openingProperties" in b && n(4, r = b.openingProperties);
3540
3540
  }, t.$$.update = () => {
3541
3541
  t.$$.dirty & /*openingProperties*/
3542
- 16 && n(2, l = Cc(r));
3542
+ 16 && n(2, l = $c(r));
3543
3543
  }, [o, i, l, y, r, c, a, f, h, d, p, O];
3544
3544
  }
3545
- class kc extends Tt {
3545
+ class Pc extends $t {
3546
3546
  constructor(e) {
3547
- super(), St(this, e, Pc, Rc, Ot, {
3547
+ super(), Tt(this, e, Ac, Cc, St, {
3548
3548
  element: 0,
3549
3549
  openingProperties: 4,
3550
3550
  getElement: 5,
@@ -3574,19 +3574,19 @@ class kc extends Tt {
3574
3574
  return this.$$.ctx[10];
3575
3575
  }
3576
3576
  }
3577
- class Mc extends ho {
3577
+ class kc extends ho {
3578
3578
  constructor() {
3579
3579
  super(), this.activeTour = void 0, go(this);
3580
3580
  }
3581
3581
  }
3582
- class Lc extends ho {
3582
+ class Mc extends ho {
3583
3583
  constructor(e = {}) {
3584
3584
  super(), this.trackedEvents = ["active", "cancel", "complete", "show"], this.classPrefix = void 0, this.currentStep = void 0, this.focusedElBeforeOpen = void 0, this.id = void 0, this.modal = void 0, this.options = void 0, this.steps = void 0, go(this);
3585
3585
  const n = {
3586
3586
  exitOnEsc: !0,
3587
3587
  keyboardNavigation: !0
3588
3588
  };
3589
- return this.options = Object.assign({}, n, e), this.classPrefix = ni(this.options.classPrefix), this.steps = [], this.addSteps(this.options.steps), ["active", "cancel", "complete", "inactive", "show", "start"].map((r) => {
3589
+ return this.options = Object.assign({}, n, e), this.classPrefix = ei(this.options.classPrefix), this.steps = [], this.addSteps(this.options.steps), ["active", "cancel", "complete", "inactive", "show", "start"].map((r) => {
3590
3590
  ((i) => {
3591
3591
  this.on(i, (s) => {
3592
3592
  s = s || {}, s.tour = this, Yt.trigger(i, s);
@@ -3603,7 +3603,7 @@ class Lc extends ho {
3603
3603
  */
3604
3604
  addStep(e, n) {
3605
3605
  let o = e;
3606
- return o instanceof Qn ? o.tour = this : o = new Qn(this, o), G(n) ? this.steps.push(o) : this.steps.splice(n, 0, o), o;
3606
+ return o instanceof to ? o.tour = this : o = new to(this, o), G(n) ? this.steps.push(o) : this.steps.splice(n, 0, o), o;
3607
3607
  }
3608
3608
  /**
3609
3609
  * Add multiple steps to the tour
@@ -3694,7 +3694,7 @@ class Lc extends ho {
3694
3694
  * @param {boolean} forward - True if we are going forward, false if backward
3695
3695
  */
3696
3696
  show(e = 0, n = !0) {
3697
- const o = Ne(e) ? this.getById(e) : this.steps[e];
3697
+ const o = He(e) ? this.getById(e) : this.steps[e];
3698
3698
  o && (this._updateStateBeforeShow(), Pt(o.options.showOn) && !o.options.showOn() ? this._skipStep(o, n) : (this.trigger("show", {
3699
3699
  step: o,
3700
3700
  previous: this.currentStep
@@ -3713,7 +3713,7 @@ class Lc extends ho {
3713
3713
  */
3714
3714
  _done(e) {
3715
3715
  const n = this.steps.indexOf(this.currentStep);
3716
- if (Array.isArray(this.steps) && this.steps.forEach((o) => o.destroy()), $c(this), this.trigger(e, {
3716
+ if (Array.isArray(this.steps) && this.steps.forEach((o) => o.destroy()), Tc(this), this.trigger(e, {
3717
3717
  index: n
3718
3718
  }), Yt.activeTour = null, this.trigger("inactive", {
3719
3719
  tour: this
@@ -3721,7 +3721,7 @@ class Lc extends ho {
3721
3721
  const o = document.querySelector(".shepherd-modal-overlay-container");
3722
3722
  o && (o.remove(), this.modal = null);
3723
3723
  }
3724
- Ke(this.focusedElBeforeOpen) && this.focusedElBeforeOpen.focus();
3724
+ ze(this.focusedElBeforeOpen) && this.focusedElBeforeOpen.focus();
3725
3725
  }
3726
3726
  /**
3727
3727
  * Make this tour "active"
@@ -3735,7 +3735,7 @@ class Lc extends ho {
3735
3735
  * setupModal create the modal container and instance
3736
3736
  */
3737
3737
  setupModal() {
3738
- this.modal = new kc({
3738
+ this.modal = new Pc({
3739
3739
  target: this.options.modalContainer || document.body,
3740
3740
  props: {
3741
3741
  // @ts-expect-error TODO: investigate where styles comes from
@@ -3772,27 +3772,27 @@ class Lc extends ho {
3772
3772
  * @private
3773
3773
  */
3774
3774
  _setTourID(e) {
3775
- const n = this.options.tourName || "tour", o = e || ri();
3775
+ const n = this.options.tourName || "tour", o = e || oi();
3776
3776
  this.id = `${n}--${o}`;
3777
3777
  }
3778
3778
  }
3779
- const Yt = new Mc(), vi = typeof window > "u";
3780
- Yt.Step = vi ? Us : Qn;
3781
- Yt.Tour = vi ? qs : Lc;
3782
- var Dc = Object.defineProperty, wi = (t) => {
3779
+ const Yt = new kc(), yi = typeof window > "u";
3780
+ Yt.Step = yi ? Vs : to;
3781
+ Yt.Tour = yi ? Us : Mc;
3782
+ var Lc = Object.defineProperty, vi = (t) => {
3783
3783
  throw TypeError(t);
3784
- }, Fc = (t, e, n) => e in t ? Dc(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, be = (t, e, n) => Fc(t, typeof e != "symbol" ? e + "" : e, n), xi = (t, e, n) => e.has(t) || wi("Cannot " + n), _t = (t, e, n) => (xi(t, e, "read from private field"), n ? n.call(t) : e.get(t)), cn = (t, e, n) => e.has(t) ? wi("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), an = (t, e, n, o) => (xi(t, e, "write to private field"), e.set(t, n), n);
3784
+ }, Dc = (t, e, n) => e in t ? Lc(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, be = (t, e, n) => Dc(t, typeof e != "symbol" ? e + "" : e, n), wi = (t, e, n) => e.has(t) || vi("Cannot " + n), _t = (t, e, n) => (wi(t, e, "read from private field"), n ? n.call(t) : e.get(t)), an = (t, e, n) => e.has(t) ? vi("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), un = (t, e, n, o) => (wi(t, e, "write to private field"), e.set(t, n), n);
3785
3785
  /*! shepherd.js 13.0.0 */
3786
- function jc(t) {
3786
+ function Fc(t) {
3787
3787
  return t instanceof Element;
3788
3788
  }
3789
- function Xe(t) {
3789
+ function Ge(t) {
3790
3790
  return t instanceof HTMLElement;
3791
3791
  }
3792
3792
  function Lt(t) {
3793
3793
  return typeof t == "function";
3794
3794
  }
3795
- function Ue(t) {
3795
+ function qe(t) {
3796
3796
  return typeof t == "string";
3797
3797
  }
3798
3798
  function Z(t) {
@@ -3884,7 +3884,7 @@ function nt() {
3884
3884
  return t;
3885
3885
  }, nt.apply(null, arguments);
3886
3886
  }
3887
- function _i(t, e) {
3887
+ function xi(t, e) {
3888
3888
  if (t == null) return {};
3889
3889
  var n = {};
3890
3890
  for (var o in t) if ({}.hasOwnProperty.call(t, o)) {
@@ -3898,23 +3898,23 @@ const Nt = {
3898
3898
  skip: Symbol("deepmerge-ts: skip")
3899
3899
  };
3900
3900
  Nt.defaultMerge;
3901
- function Bc(t, e) {
3901
+ function jc(t, e) {
3902
3902
  return e;
3903
3903
  }
3904
3904
  function Or(t) {
3905
- return typeof t != "object" || t === null ? 0 : Array.isArray(t) ? 2 : Hc(t) ? 1 : t instanceof Set ? 3 : t instanceof Map ? 4 : 5;
3905
+ return typeof t != "object" || t === null ? 0 : Array.isArray(t) ? 2 : Nc(t) ? 1 : t instanceof Set ? 3 : t instanceof Map ? 4 : 5;
3906
3906
  }
3907
- function Wc(t) {
3907
+ function Bc(t) {
3908
3908
  const e = /* @__PURE__ */ new Set();
3909
3909
  for (const n of t)
3910
3910
  for (const o of [...Object.keys(n), ...Object.getOwnPropertySymbols(n)])
3911
3911
  e.add(o);
3912
3912
  return e;
3913
3913
  }
3914
- function Nc(t, e) {
3914
+ function Wc(t, e) {
3915
3915
  return typeof t == "object" && Object.prototype.propertyIsEnumerable.call(t, e);
3916
3916
  }
3917
- function Ei(t) {
3917
+ function _i(t) {
3918
3918
  return {
3919
3919
  // eslint-disable-next-line functional/functional-parameters
3920
3920
  *[Symbol.iterator]() {
@@ -3925,7 +3925,7 @@ function Ei(t) {
3925
3925
  };
3926
3926
  }
3927
3927
  const Sr = /* @__PURE__ */ new Set(["[object Object]", "[object Module]"]);
3928
- function Hc(t) {
3928
+ function Nc(t) {
3929
3929
  if (!Sr.has(Object.prototype.toString.call(t)))
3930
3930
  return !1;
3931
3931
  const {
@@ -3936,18 +3936,18 @@ function Hc(t) {
3936
3936
  const n = e.prototype;
3937
3937
  return !(n === null || typeof n != "object" || !Sr.has(Object.prototype.toString.call(n)) || !n.hasOwnProperty("isPrototypeOf"));
3938
3938
  }
3939
- function Vc(t, e, n) {
3939
+ function Hc(t, e, n) {
3940
3940
  const o = {};
3941
- for (const r of Wc(t)) {
3941
+ for (const r of Bc(t)) {
3942
3942
  const i = [];
3943
3943
  for (const c of t)
3944
- Nc(c, r) && i.push(c[r]);
3944
+ Wc(c, r) && i.push(c[r]);
3945
3945
  if (i.length === 0)
3946
3946
  continue;
3947
3947
  const s = e.metaDataUpdater(n, {
3948
3948
  key: r,
3949
3949
  parents: t
3950
- }), l = Si(i, e, s);
3950
+ }), l = Oi(i, e, s);
3951
3951
  l !== Nt.skip && (r === "__proto__" ? Object.defineProperty(o, r, {
3952
3952
  value: l,
3953
3953
  configurable: !0,
@@ -3957,88 +3957,88 @@ function Vc(t, e, n) {
3957
3957
  }
3958
3958
  return o;
3959
3959
  }
3960
- function Uc(t) {
3960
+ function Vc(t) {
3961
3961
  return t.flat();
3962
3962
  }
3963
- function qc(t) {
3964
- return new Set(Ei(t));
3963
+ function Uc(t) {
3964
+ return new Set(_i(t));
3965
3965
  }
3966
- function Yc(t) {
3967
- return new Map(Ei(t));
3966
+ function qc(t) {
3967
+ return new Map(_i(t));
3968
3968
  }
3969
- function Oi(t) {
3969
+ function Ei(t) {
3970
3970
  return t.at(-1);
3971
3971
  }
3972
- var Hn = /* @__PURE__ */ Object.freeze({
3972
+ var Vn = /* @__PURE__ */ Object.freeze({
3973
3973
  __proto__: null,
3974
- mergeArrays: Uc,
3975
- mergeMaps: Yc,
3976
- mergeOthers: Oi,
3977
- mergeRecords: Vc,
3978
- mergeSets: qc
3974
+ mergeArrays: Vc,
3975
+ mergeMaps: qc,
3976
+ mergeOthers: Ei,
3977
+ mergeRecords: Hc,
3978
+ mergeSets: Uc
3979
3979
  });
3980
3980
  function To(...t) {
3981
- return Kc({})(...t);
3981
+ return Yc({})(...t);
3982
3982
  }
3983
- function Kc(t, e) {
3984
- const n = zc(t, o);
3983
+ function Yc(t, e) {
3984
+ const n = Kc(t, o);
3985
3985
  function o(...r) {
3986
- return Si(r, n, e);
3986
+ return Oi(r, n, e);
3987
3987
  }
3988
3988
  return o;
3989
3989
  }
3990
- function zc(t, e) {
3990
+ function Kc(t, e) {
3991
3991
  var n, o;
3992
3992
  return {
3993
- defaultMergeFunctions: Hn,
3994
- mergeFunctions: nt({}, Hn, Object.fromEntries(Object.entries(t).filter(([r, i]) => Object.hasOwn(Hn, r)).map(([r, i]) => i === !1 ? [r, Oi] : [r, i]))),
3995
- metaDataUpdater: (n = t.metaDataUpdater) != null ? n : Bc,
3993
+ defaultMergeFunctions: Vn,
3994
+ mergeFunctions: nt({}, Vn, Object.fromEntries(Object.entries(t).filter(([r, i]) => Object.hasOwn(Vn, r)).map(([r, i]) => i === !1 ? [r, Ei] : [r, i]))),
3995
+ metaDataUpdater: (n = t.metaDataUpdater) != null ? n : jc,
3996
3996
  deepmerge: e,
3997
3997
  useImplicitDefaultMerging: (o = t.enableImplicitDefaultMerging) != null ? o : !1,
3998
3998
  actions: Nt
3999
3999
  };
4000
4000
  }
4001
- function Si(t, e, n) {
4001
+ function Oi(t, e, n) {
4002
4002
  if (t.length === 0)
4003
4003
  return;
4004
4004
  if (t.length === 1)
4005
- return Vn(t, e, n);
4005
+ return Un(t, e, n);
4006
4006
  const o = Or(t[0]);
4007
4007
  if (o !== 0 && o !== 5) {
4008
4008
  for (let r = 1; r < t.length; r++)
4009
4009
  if (Or(t[r]) !== o)
4010
- return Vn(t, e, n);
4010
+ return Un(t, e, n);
4011
4011
  }
4012
4012
  switch (o) {
4013
4013
  case 1:
4014
- return Jc(t, e, n);
4014
+ return zc(t, e, n);
4015
4015
  case 2:
4016
- return Xc(t, e, n);
4016
+ return Jc(t, e, n);
4017
4017
  case 3:
4018
- return Gc(t, e, n);
4018
+ return Xc(t, e, n);
4019
4019
  case 4:
4020
- return Zc(t, e, n);
4020
+ return Gc(t, e, n);
4021
4021
  default:
4022
- return Vn(t, e, n);
4022
+ return Un(t, e, n);
4023
4023
  }
4024
4024
  }
4025
- function Jc(t, e, n) {
4025
+ function zc(t, e, n) {
4026
4026
  const o = e.mergeFunctions.mergeRecords(t, e, n);
4027
4027
  return o === Nt.defaultMerge || e.useImplicitDefaultMerging && o === void 0 && e.mergeFunctions.mergeRecords !== e.defaultMergeFunctions.mergeRecords ? e.defaultMergeFunctions.mergeRecords(t, e, n) : o;
4028
4028
  }
4029
- function Xc(t, e, n) {
4029
+ function Jc(t, e, n) {
4030
4030
  const o = e.mergeFunctions.mergeArrays(t, e, n);
4031
4031
  return o === Nt.defaultMerge || e.useImplicitDefaultMerging && o === void 0 && e.mergeFunctions.mergeArrays !== e.defaultMergeFunctions.mergeArrays ? e.defaultMergeFunctions.mergeArrays(t) : o;
4032
4032
  }
4033
- function Gc(t, e, n) {
4033
+ function Xc(t, e, n) {
4034
4034
  const o = e.mergeFunctions.mergeSets(t, e, n);
4035
4035
  return o === Nt.defaultMerge || e.useImplicitDefaultMerging && o === void 0 && e.mergeFunctions.mergeSets !== e.defaultMergeFunctions.mergeSets ? e.defaultMergeFunctions.mergeSets(t) : o;
4036
4036
  }
4037
- function Zc(t, e, n) {
4037
+ function Gc(t, e, n) {
4038
4038
  const o = e.mergeFunctions.mergeMaps(t, e, n);
4039
4039
  return o === Nt.defaultMerge || e.useImplicitDefaultMerging && o === void 0 && e.mergeFunctions.mergeMaps !== e.defaultMergeFunctions.mergeMaps ? e.defaultMergeFunctions.mergeMaps(t) : o;
4040
4040
  }
4041
- function Vn(t, e, n) {
4041
+ function Un(t, e, n) {
4042
4042
  const o = e.mergeFunctions.mergeOthers(t, e, n);
4043
4043
  return o === Nt.defaultMerge || e.useImplicitDefaultMerging && o === void 0 && e.mergeFunctions.mergeOthers !== e.defaultMergeFunctions.mergeOthers ? e.defaultMergeFunctions.mergeOthers(t) : o;
4044
4044
  }
@@ -4050,7 +4050,7 @@ function $o(t) {
4050
4050
  }
4051
4051
  return t;
4052
4052
  }
4053
- function Qc(t, e) {
4053
+ function Zc(t, e) {
4054
4054
  return (n) => {
4055
4055
  if (t.isOpen()) {
4056
4056
  const o = t.el && n.currentTarget === t.el;
@@ -4058,13 +4058,13 @@ function Qc(t, e) {
4058
4058
  }
4059
4059
  };
4060
4060
  }
4061
- function ta(t) {
4061
+ function Qc(t) {
4062
4062
  const {
4063
4063
  event: e,
4064
4064
  selector: n
4065
4065
  } = t.options.advanceOn || {};
4066
4066
  if (e) {
4067
- const o = Qc(t, n);
4067
+ const o = Zc(t, n);
4068
4068
  let r = null;
4069
4069
  if (!Z(n) && (r = document.querySelector(n), !r))
4070
4070
  return console.error(`No element was found for the selector supplied to advanceOn: ${n}`);
@@ -4072,20 +4072,20 @@ function ta(t) {
4072
4072
  } else
4073
4073
  return console.error("advanceOn was defined, but no event name was passed.");
4074
4074
  }
4075
- class ea {
4075
+ class ta {
4076
4076
  constructor(e) {
4077
4077
  }
4078
4078
  }
4079
- class na {
4079
+ class ea {
4080
4080
  constructor(e, n) {
4081
4081
  }
4082
4082
  }
4083
- function Ti(t) {
4084
- return !Ue(t) || t === "" ? "" : t.charAt(t.length - 1) !== "-" ? `${t}-` : t;
4083
+ function Si(t) {
4084
+ return !qe(t) || t === "" ? "" : t.charAt(t.length - 1) !== "-" ? `${t}-` : t;
4085
4085
  }
4086
- function oa(t) {
4086
+ function na(t) {
4087
4087
  const e = t.options.attachTo || {}, n = Object.assign({}, e);
4088
- if (Lt(n.element) && (n.element = n.element.call(t)), Ue(n.element)) {
4088
+ if (Lt(n.element) && (n.element = n.element.call(t)), qe(n.element)) {
4089
4089
  try {
4090
4090
  n.element = document.querySelector(n.element);
4091
4091
  } catch {
@@ -4094,29 +4094,29 @@ function oa(t) {
4094
4094
  }
4095
4095
  return n;
4096
4096
  }
4097
- function $i(t) {
4097
+ function Ti(t) {
4098
4098
  return t == null ? !0 : !t.element || !t.on;
4099
4099
  }
4100
- function Ci() {
4100
+ function $i() {
4101
4101
  let t = Date.now();
4102
4102
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (e) => {
4103
4103
  const n = (t + Math.random() * 16) % 16 | 0;
4104
4104
  return t = Math.floor(t / 16), (e == "x" ? n : n & 3 | 8).toString(16);
4105
4105
  });
4106
4106
  }
4107
- const $e = Math.min, Gt = Math.max, mn = Math.round, sn = Math.floor, Dt = (t) => ({
4107
+ const $e = Math.min, Gt = Math.max, bn = Math.round, ln = Math.floor, Dt = (t) => ({
4108
4108
  x: t,
4109
4109
  y: t
4110
- }), ra = {
4110
+ }), oa = {
4111
4111
  left: "right",
4112
4112
  right: "left",
4113
4113
  bottom: "top",
4114
4114
  top: "bottom"
4115
- }, ia = {
4115
+ }, ra = {
4116
4116
  start: "end",
4117
4117
  end: "start"
4118
4118
  };
4119
- function to(t, e, n) {
4119
+ function eo(t, e, n) {
4120
4120
  return Gt(t, $e(e, n));
4121
4121
  }
4122
4122
  function Ce(t, e) {
@@ -4125,7 +4125,7 @@ function Ce(t, e) {
4125
4125
  function oe(t) {
4126
4126
  return t.split("-")[0];
4127
4127
  }
4128
- function On(t) {
4128
+ function Sn(t) {
4129
4129
  return t.split("-")[1];
4130
4130
  }
4131
4131
  function Co(t) {
@@ -4134,26 +4134,26 @@ function Co(t) {
4134
4134
  function Ro(t) {
4135
4135
  return t === "y" ? "height" : "width";
4136
4136
  }
4137
- function Sn(t) {
4137
+ function Tn(t) {
4138
4138
  return ["top", "bottom"].includes(oe(t)) ? "y" : "x";
4139
4139
  }
4140
4140
  function Io(t) {
4141
- return Co(Sn(t));
4141
+ return Co(Tn(t));
4142
4142
  }
4143
- function sa(t, e, n) {
4143
+ function ia(t, e, n) {
4144
4144
  n === void 0 && (n = !1);
4145
- const o = On(t), r = Io(t), i = Ro(r);
4145
+ const o = Sn(t), r = Io(t), i = Ro(r);
4146
4146
  let s = r === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
4147
- return e.reference[i] > e.floating[i] && (s = bn(s)), [s, bn(s)];
4147
+ return e.reference[i] > e.floating[i] && (s = yn(s)), [s, yn(s)];
4148
4148
  }
4149
- function la(t) {
4150
- const e = bn(t);
4151
- return [eo(t), e, eo(e)];
4149
+ function sa(t) {
4150
+ const e = yn(t);
4151
+ return [no(t), e, no(e)];
4152
4152
  }
4153
- function eo(t) {
4154
- return t.replace(/start|end/g, (e) => ia[e]);
4153
+ function no(t) {
4154
+ return t.replace(/start|end/g, (e) => ra[e]);
4155
4155
  }
4156
- function ca(t, e, n) {
4156
+ function la(t, e, n) {
4157
4157
  const o = ["left", "right"], r = ["right", "left"], i = ["top", "bottom"], s = ["bottom", "top"];
4158
4158
  switch (t) {
4159
4159
  case "top":
@@ -4166,15 +4166,15 @@ function ca(t, e, n) {
4166
4166
  return [];
4167
4167
  }
4168
4168
  }
4169
- function aa(t, e, n, o) {
4170
- const r = On(t);
4171
- let i = ca(oe(t), n === "start", o);
4172
- return r && (i = i.map((s) => s + "-" + r), e && (i = i.concat(i.map(eo)))), i;
4169
+ function ca(t, e, n, o) {
4170
+ const r = Sn(t);
4171
+ let i = la(oe(t), n === "start", o);
4172
+ return r && (i = i.map((s) => s + "-" + r), e && (i = i.concat(i.map(no)))), i;
4173
4173
  }
4174
- function bn(t) {
4175
- return t.replace(/left|right|bottom|top/g, (e) => ra[e]);
4174
+ function yn(t) {
4175
+ return t.replace(/left|right|bottom|top/g, (e) => oa[e]);
4176
4176
  }
4177
- function ua(t) {
4177
+ function aa(t) {
4178
4178
  return nt({
4179
4179
  top: 0,
4180
4180
  right: 0,
@@ -4182,15 +4182,15 @@ function ua(t) {
4182
4182
  left: 0
4183
4183
  }, t);
4184
4184
  }
4185
- function Ri(t) {
4186
- return typeof t != "number" ? ua(t) : {
4185
+ function Ci(t) {
4186
+ return typeof t != "number" ? aa(t) : {
4187
4187
  top: t,
4188
4188
  right: t,
4189
4189
  bottom: t,
4190
4190
  left: t
4191
4191
  };
4192
4192
  }
4193
- function yn(t) {
4193
+ function vn(t) {
4194
4194
  const {
4195
4195
  x: e,
4196
4196
  y: n,
@@ -4208,13 +4208,13 @@ function yn(t) {
4208
4208
  y: n
4209
4209
  };
4210
4210
  }
4211
- const fa = ["mainAxis", "crossAxis", "fallbackPlacements", "fallbackStrategy", "fallbackAxisSideDirection", "flipAlignment"], da = ["mainAxis", "crossAxis", "limiter"];
4211
+ const ua = ["mainAxis", "crossAxis", "fallbackPlacements", "fallbackStrategy", "fallbackAxisSideDirection", "flipAlignment"], fa = ["mainAxis", "crossAxis", "limiter"];
4212
4212
  function Tr(t, e, n) {
4213
4213
  let {
4214
4214
  reference: o,
4215
4215
  floating: r
4216
4216
  } = t;
4217
- const i = Sn(e), s = Io(e), l = Ro(s), c = oe(e), a = i === "y", f = o.x + o.width / 2 - r.width / 2, h = o.y + o.height / 2 - r.height / 2, d = o[l] / 2 - r[l] / 2;
4217
+ const i = Tn(e), s = Io(e), l = Ro(s), c = oe(e), a = i === "y", f = o.x + o.width / 2 - r.width / 2, h = o.y + o.height / 2 - r.height / 2, d = o[l] / 2 - r[l] / 2;
4218
4218
  let p;
4219
4219
  switch (c) {
4220
4220
  case "top":
@@ -4247,7 +4247,7 @@ function Tr(t, e, n) {
4247
4247
  y: o.y
4248
4248
  };
4249
4249
  }
4250
- switch (On(e)) {
4250
+ switch (Sn(e)) {
4251
4251
  case "start":
4252
4252
  p[s] -= d * (n && a ? -1 : 1);
4253
4253
  break;
@@ -4257,7 +4257,7 @@ function Tr(t, e, n) {
4257
4257
  }
4258
4258
  return p;
4259
4259
  }
4260
- const ha = async (t, e, n) => {
4260
+ const da = async (t, e, n) => {
4261
4261
  const {
4262
4262
  placement: o = "bottom",
4263
4263
  strategy: r = "absolute",
@@ -4314,7 +4314,7 @@ const ha = async (t, e, n) => {
4314
4314
  middlewareData: p
4315
4315
  };
4316
4316
  };
4317
- async function Ii(t, e) {
4317
+ async function Ri(t, e) {
4318
4318
  var n;
4319
4319
  e === void 0 && (e = {});
4320
4320
  const {
@@ -4330,7 +4330,7 @@ async function Ii(t, e) {
4330
4330
  elementContext: h = "floating",
4331
4331
  altBoundary: d = !1,
4332
4332
  padding: p = 0
4333
- } = Ce(e, t), m = Ri(p), y = l[d ? h === "floating" ? "reference" : "floating" : h], _ = yn(await i.getClippingRect({
4333
+ } = Ce(e, t), m = Ci(p), y = l[d ? h === "floating" ? "reference" : "floating" : h], _ = vn(await i.getClippingRect({
4334
4334
  element: (n = await (i.isElement == null ? void 0 : i.isElement(y))) == null || n ? y : y.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(l.floating)),
4335
4335
  boundary: a,
4336
4336
  rootBoundary: f,
@@ -4346,7 +4346,7 @@ async function Ii(t, e) {
4346
4346
  } : {
4347
4347
  x: 1,
4348
4348
  y: 1
4349
- }, b = yn(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
4349
+ }, b = vn(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
4350
4350
  elements: l,
4351
4351
  rect: w,
4352
4352
  offsetParent: x,
@@ -4359,7 +4359,7 @@ async function Ii(t, e) {
4359
4359
  right: (b.right - _.right + m.right) / O.x
4360
4360
  };
4361
4361
  }
4362
- const pa = (t) => ({
4362
+ const ha = (t) => ({
4363
4363
  name: "arrow",
4364
4364
  options: t,
4365
4365
  async fn(e) {
@@ -4377,13 +4377,13 @@ const pa = (t) => ({
4377
4377
  } = Ce(t, e) || {};
4378
4378
  if (a == null)
4379
4379
  return {};
4380
- const h = Ri(f), d = {
4380
+ const h = Ci(f), d = {
4381
4381
  x: n,
4382
4382
  y: o
4383
4383
  }, p = Io(r), m = Ro(p), y = await s.getDimensions(a), _ = p === "y", w = _ ? "top" : "left", x = _ ? "bottom" : "right", O = _ ? "clientHeight" : "clientWidth", b = i.reference[m] + i.reference[p] - d[p] - i.floating[m], g = d[p] - i.reference[p], S = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(a));
4384
4384
  let P = S ? S[O] : 0;
4385
4385
  (!P || !await (s.isElement == null ? void 0 : s.isElement(S))) && (P = l.floating[O] || i.floating[m]);
4386
- const V = b / 2 - g / 2, I = P / 2 - y[m] / 2 - 1, B = $e(h[w], I), N = $e(h[x], I), U = B, A = P - y[m] - N, $ = P / 2 - y[m] / 2 + V, q = to(U, $, A), H = !c.arrow && On(r) != null && $ !== q && i.reference[m] / 2 - ($ < U ? B : N) - y[m] / 2 < 0, W = H ? $ < U ? $ - U : $ - A : 0;
4386
+ const V = b / 2 - g / 2, I = P / 2 - y[m] / 2 - 1, B = $e(h[w], I), N = $e(h[x], I), U = B, A = P - y[m] - N, $ = P / 2 - y[m] / 2 + V, q = eo(U, $, A), H = !c.arrow && Sn(r) != null && $ !== q && i.reference[m] / 2 - ($ < U ? B : N) - y[m] / 2 < 0, W = H ? $ < U ? $ - U : $ - A : 0;
4387
4387
  return {
4388
4388
  [p]: d[p] + W,
4389
4389
  data: nt({
@@ -4395,7 +4395,7 @@ const pa = (t) => ({
4395
4395
  reset: H
4396
4396
  };
4397
4397
  }
4398
- }), ga = function(t) {
4398
+ }), pa = function(t) {
4399
4399
  return t === void 0 && (t = {}), {
4400
4400
  name: "flip",
4401
4401
  options: t,
@@ -4415,15 +4415,15 @@ const pa = (t) => ({
4415
4415
  fallbackStrategy: m = "bestFit",
4416
4416
  fallbackAxisSideDirection: y = "none",
4417
4417
  flipAlignment: _ = !0
4418
- } = f, w = _i(f, fa);
4418
+ } = f, w = xi(f, ua);
4419
4419
  if ((n = i.arrow) != null && n.alignmentOffset)
4420
4420
  return {};
4421
- const x = oe(r), O = oe(l) === l, b = await (c.isRTL == null ? void 0 : c.isRTL(a.floating)), g = p || (O || !_ ? [bn(l)] : la(l));
4422
- !p && y !== "none" && g.push(...aa(l, _, y, b));
4423
- const S = [l, ...g], P = await Ii(e, w), V = [];
4421
+ const x = oe(r), O = oe(l) === l, b = await (c.isRTL == null ? void 0 : c.isRTL(a.floating)), g = p || (O || !_ ? [yn(l)] : sa(l));
4422
+ !p && y !== "none" && g.push(...ca(l, _, y, b));
4423
+ const S = [l, ...g], P = await Ri(e, w), V = [];
4424
4424
  let I = ((o = i.flip) == null ? void 0 : o.overflows) || [];
4425
4425
  if (h && V.push(P[x]), d) {
4426
- const A = sa(r, s, b);
4426
+ const A = ia(r, s, b);
4427
4427
  V.push(P[A[0]], P[A[1]]);
4428
4428
  }
4429
4429
  if (I = [...I, {
@@ -4465,7 +4465,7 @@ const pa = (t) => ({
4465
4465
  return {};
4466
4466
  }
4467
4467
  };
4468
- }, ma = function(t) {
4468
+ }, ga = function(t) {
4469
4469
  return t === void 0 && (t = {}), {
4470
4470
  name: "shift",
4471
4471
  options: t,
@@ -4489,18 +4489,18 @@ const pa = (t) => ({
4489
4489
  };
4490
4490
  }
4491
4491
  }
4492
- } = i, a = _i(i, da), f = {
4492
+ } = i, a = xi(i, fa), f = {
4493
4493
  x: n,
4494
4494
  y: o
4495
- }, h = await Ii(e, a), d = Sn(oe(r)), p = Co(d);
4495
+ }, h = await Ri(e, a), d = Tn(oe(r)), p = Co(d);
4496
4496
  let m = f[p], y = f[d];
4497
4497
  if (s) {
4498
4498
  const w = p === "y" ? "top" : "left", x = p === "y" ? "bottom" : "right", O = m + h[w], b = m - h[x];
4499
- m = to(O, m, b);
4499
+ m = eo(O, m, b);
4500
4500
  }
4501
4501
  if (l) {
4502
4502
  const w = d === "y" ? "top" : "left", x = d === "y" ? "bottom" : "right", O = y + h[w], b = y - h[x];
4503
- y = to(O, y, b);
4503
+ y = eo(O, y, b);
4504
4504
  }
4505
4505
  const _ = c.fn(nt({}, e, {
4506
4506
  [p]: m,
@@ -4514,7 +4514,7 @@ const pa = (t) => ({
4514
4514
  });
4515
4515
  }
4516
4516
  };
4517
- }, ba = function(t) {
4517
+ }, ma = function(t) {
4518
4518
  return t === void 0 && (t = {}), {
4519
4519
  options: t,
4520
4520
  fn(e) {
@@ -4531,7 +4531,7 @@ const pa = (t) => ({
4531
4531
  } = Ce(t, e), f = {
4532
4532
  x: n,
4533
4533
  y: o
4534
- }, h = Sn(r), d = Co(h);
4534
+ }, h = Tn(r), d = Co(h);
4535
4535
  let p = f[d], m = f[h];
4536
4536
  const y = Ce(l, e), _ = typeof y == "number" ? {
4537
4537
  mainAxis: y,
@@ -4557,17 +4557,17 @@ const pa = (t) => ({
4557
4557
  };
4558
4558
  };
4559
4559
  function ke(t) {
4560
- return Ai(t) ? (t.nodeName || "").toLowerCase() : "#document";
4560
+ return Ii(t) ? (t.nodeName || "").toLowerCase() : "#document";
4561
4561
  }
4562
4562
  function it(t) {
4563
4563
  var e;
4564
4564
  return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
4565
4565
  }
4566
- function $t(t) {
4566
+ function Ct(t) {
4567
4567
  var e;
4568
- return (e = (Ai(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
4568
+ return (e = (Ii(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
4569
4569
  }
4570
- function Ai(t) {
4570
+ function Ii(t) {
4571
4571
  return t instanceof Node || t instanceof it(t).Node;
4572
4572
  }
4573
4573
  function vt(t) {
@@ -4579,7 +4579,7 @@ function wt(t) {
4579
4579
  function $r(t) {
4580
4580
  return typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof it(t).ShadowRoot;
4581
4581
  }
4582
- function Ge(t) {
4582
+ function Ze(t) {
4583
4583
  const {
4584
4584
  overflow: e,
4585
4585
  overflowX: n,
@@ -4588,14 +4588,14 @@ function Ge(t) {
4588
4588
  } = dt(t);
4589
4589
  return /auto|scroll|overlay|hidden|clip/.test(e + o + n) && !["inline", "contents"].includes(r);
4590
4590
  }
4591
- function ya(t) {
4591
+ function ba(t) {
4592
4592
  return ["table", "td", "th"].includes(ke(t));
4593
4593
  }
4594
4594
  function Ao(t) {
4595
4595
  const e = Po(), n = dt(t);
4596
4596
  return n.transform !== "none" || n.perspective !== "none" || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((o) => (n.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (n.contain || "").includes(o));
4597
4597
  }
4598
- function va(t) {
4598
+ function ya(t) {
4599
4599
  let e = Ft(t);
4600
4600
  for (; wt(e) && !Re(e); ) {
4601
4601
  if (Ao(e))
@@ -4613,7 +4613,7 @@ function Re(t) {
4613
4613
  function dt(t) {
4614
4614
  return it(t).getComputedStyle(t);
4615
4615
  }
4616
- function Tn(t) {
4616
+ function $n(t) {
4617
4617
  return vt(t) ? {
4618
4618
  scrollLeft: t.scrollLeft,
4619
4619
  scrollTop: t.scrollTop
@@ -4630,24 +4630,24 @@ function Ft(t) {
4630
4630
  t.assignedSlot || // DOM Element detected.
4631
4631
  t.parentNode || // ShadowRoot detected.
4632
4632
  $r(t) && t.host || // Fallback.
4633
- $t(t)
4633
+ Ct(t)
4634
4634
  );
4635
4635
  return $r(e) ? e.host : e;
4636
4636
  }
4637
- function Pi(t) {
4637
+ function Ai(t) {
4638
4638
  const e = Ft(t);
4639
- return Re(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : wt(e) && Ge(e) ? e : Pi(e);
4639
+ return Re(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : wt(e) && Ze(e) ? e : Ai(e);
4640
4640
  }
4641
- function qe(t, e, n) {
4641
+ function Ye(t, e, n) {
4642
4642
  var o;
4643
4643
  e === void 0 && (e = []), n === void 0 && (n = !0);
4644
- const r = Pi(t), i = r === ((o = t.ownerDocument) == null ? void 0 : o.body), s = it(r);
4645
- return i ? e.concat(s, s.visualViewport || [], Ge(r) ? r : [], s.frameElement && n ? qe(s.frameElement) : []) : e.concat(r, qe(r, [], n));
4644
+ const r = Ai(t), i = r === ((o = t.ownerDocument) == null ? void 0 : o.body), s = it(r);
4645
+ return i ? e.concat(s, s.visualViewport || [], Ze(r) ? r : [], s.frameElement && n ? Ye(s.frameElement) : []) : e.concat(r, Ye(r, [], n));
4646
4646
  }
4647
- function ki(t) {
4647
+ function Pi(t) {
4648
4648
  const e = dt(t);
4649
4649
  let n = parseFloat(e.width) || 0, o = parseFloat(e.height) || 0;
4650
- const r = wt(t), i = r ? t.offsetWidth : n, s = r ? t.offsetHeight : o, l = mn(n) !== i || mn(o) !== s;
4650
+ const r = wt(t), i = r ? t.offsetWidth : n, s = r ? t.offsetHeight : o, l = bn(n) !== i || bn(o) !== s;
4651
4651
  return l && (n = i, o = s), {
4652
4652
  width: n,
4653
4653
  height: o,
@@ -4665,22 +4665,22 @@ function we(t) {
4665
4665
  width: o,
4666
4666
  height: r,
4667
4667
  $: i
4668
- } = ki(e);
4669
- let s = (i ? mn(n.width) : n.width) / o, l = (i ? mn(n.height) : n.height) / r;
4668
+ } = Pi(e);
4669
+ let s = (i ? bn(n.width) : n.width) / o, l = (i ? bn(n.height) : n.height) / r;
4670
4670
  return (!s || !Number.isFinite(s)) && (s = 1), (!l || !Number.isFinite(l)) && (l = 1), {
4671
4671
  x: s,
4672
4672
  y: l
4673
4673
  };
4674
4674
  }
4675
- const wa = /* @__PURE__ */ Dt(0);
4676
- function Mi(t) {
4675
+ const va = /* @__PURE__ */ Dt(0);
4676
+ function ki(t) {
4677
4677
  const e = it(t);
4678
- return !Po() || !e.visualViewport ? wa : {
4678
+ return !Po() || !e.visualViewport ? va : {
4679
4679
  x: e.visualViewport.offsetLeft,
4680
4680
  y: e.visualViewport.offsetTop
4681
4681
  };
4682
4682
  }
4683
- function xa(t, e, n) {
4683
+ function wa(t, e, n) {
4684
4684
  return e === void 0 && (e = !1), !n || e && n !== it(t) ? !1 : e;
4685
4685
  }
4686
4686
  function re(t, e, n, o) {
@@ -4688,7 +4688,7 @@ function re(t, e, n, o) {
4688
4688
  const r = t.getBoundingClientRect(), i = ko(t);
4689
4689
  let s = Dt(1);
4690
4690
  e && (o ? vt(o) && (s = we(o)) : s = we(t));
4691
- const l = xa(i, n, o) ? Mi(i) : Dt(0);
4691
+ const l = wa(i, n, o) ? ki(i) : Dt(0);
4692
4692
  let c = (r.left + l.x) / s.x, a = (r.top + l.y) / s.y, f = r.width / s.x, h = r.height / s.y;
4693
4693
  if (i) {
4694
4694
  const d = it(i), p = o && vt(o) ? it(o) : o;
@@ -4698,16 +4698,16 @@ function re(t, e, n, o) {
4698
4698
  c *= _.x, a *= _.y, f *= _.x, h *= _.y, c += O, a += b, m = it(y), y = m.frameElement;
4699
4699
  }
4700
4700
  }
4701
- return yn({
4701
+ return vn({
4702
4702
  width: f,
4703
4703
  height: h,
4704
4704
  x: c,
4705
4705
  y: a
4706
4706
  });
4707
4707
  }
4708
- const _a = [":popover-open", ":modal"];
4708
+ const xa = [":popover-open", ":modal"];
4709
4709
  function Mo(t) {
4710
- return _a.some((e) => {
4710
+ return xa.some((e) => {
4711
4711
  try {
4712
4712
  return t.matches(e);
4713
4713
  } catch {
@@ -4715,14 +4715,14 @@ function Mo(t) {
4715
4715
  }
4716
4716
  });
4717
4717
  }
4718
- function Ea(t) {
4718
+ function _a(t) {
4719
4719
  let {
4720
4720
  elements: e,
4721
4721
  rect: n,
4722
4722
  offsetParent: o,
4723
4723
  strategy: r
4724
4724
  } = t;
4725
- const i = r === "fixed", s = $t(o), l = e ? Mo(e.floating) : !1;
4725
+ const i = r === "fixed", s = Ct(o), l = e ? Mo(e.floating) : !1;
4726
4726
  if (o === s || l && i)
4727
4727
  return n;
4728
4728
  let c = {
@@ -4730,7 +4730,7 @@ function Ea(t) {
4730
4730
  scrollTop: 0
4731
4731
  }, a = Dt(1);
4732
4732
  const f = Dt(0), h = wt(o);
4733
- if ((h || !h && !i) && ((ke(o) !== "body" || Ge(s)) && (c = Tn(o)), wt(o))) {
4733
+ if ((h || !h && !i) && ((ke(o) !== "body" || Ze(s)) && (c = $n(o)), wt(o))) {
4734
4734
  const d = re(o);
4735
4735
  a = we(o), f.x = d.x + o.clientLeft, f.y = d.y + o.clientTop;
4736
4736
  }
@@ -4741,15 +4741,15 @@ function Ea(t) {
4741
4741
  y: n.y * a.y - c.scrollTop * a.y + f.y
4742
4742
  };
4743
4743
  }
4744
- function Oa(t) {
4744
+ function Ea(t) {
4745
4745
  return Array.from(t.getClientRects());
4746
4746
  }
4747
- function Li(t) {
4748
- return re($t(t)).left + Tn(t).scrollLeft;
4747
+ function Mi(t) {
4748
+ return re(Ct(t)).left + $n(t).scrollLeft;
4749
4749
  }
4750
- function Sa(t) {
4751
- const e = $t(t), n = Tn(t), o = t.ownerDocument.body, r = Gt(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), i = Gt(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
4752
- let s = -n.scrollLeft + Li(t);
4750
+ function Oa(t) {
4751
+ const e = Ct(t), n = $n(t), o = t.ownerDocument.body, r = Gt(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), i = Gt(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
4752
+ let s = -n.scrollLeft + Mi(t);
4753
4753
  const l = -n.scrollTop;
4754
4754
  return dt(o).direction === "rtl" && (s += Gt(e.clientWidth, o.clientWidth) - r), {
4755
4755
  width: r,
@@ -4758,8 +4758,8 @@ function Sa(t) {
4758
4758
  y: l
4759
4759
  };
4760
4760
  }
4761
- function Ta(t, e) {
4762
- const n = it(t), o = $t(t), r = n.visualViewport;
4761
+ function Sa(t, e) {
4762
+ const n = it(t), o = Ct(t), r = n.visualViewport;
4763
4763
  let i = o.clientWidth, s = o.clientHeight, l = 0, c = 0;
4764
4764
  if (r) {
4765
4765
  i = r.width, s = r.height;
@@ -4773,7 +4773,7 @@ function Ta(t, e) {
4773
4773
  y: c
4774
4774
  };
4775
4775
  }
4776
- function $a(t, e) {
4776
+ function Ta(t, e) {
4777
4777
  const n = re(t, !0, e === "fixed"), o = n.top + t.clientTop, r = n.left + t.clientLeft, i = wt(t) ? we(t) : Dt(1), s = t.clientWidth * i.x, l = t.clientHeight * i.y, c = r * i.x, a = o * i.y;
4778
4778
  return {
4779
4779
  width: s,
@@ -4785,45 +4785,45 @@ function $a(t, e) {
4785
4785
  function Cr(t, e, n) {
4786
4786
  let o;
4787
4787
  if (e === "viewport")
4788
- o = Ta(t, n);
4788
+ o = Sa(t, n);
4789
4789
  else if (e === "document")
4790
- o = Sa($t(t));
4790
+ o = Oa(Ct(t));
4791
4791
  else if (vt(e))
4792
- o = $a(e, n);
4792
+ o = Ta(e, n);
4793
4793
  else {
4794
- const r = Mi(t);
4794
+ const r = ki(t);
4795
4795
  o = nt({}, e, {
4796
4796
  x: e.x - r.x,
4797
4797
  y: e.y - r.y
4798
4798
  });
4799
4799
  }
4800
- return yn(o);
4800
+ return vn(o);
4801
4801
  }
4802
- function Di(t, e) {
4802
+ function Li(t, e) {
4803
4803
  const n = Ft(t);
4804
- return n === e || !vt(n) || Re(n) ? !1 : dt(n).position === "fixed" || Di(n, e);
4804
+ return n === e || !vt(n) || Re(n) ? !1 : dt(n).position === "fixed" || Li(n, e);
4805
4805
  }
4806
- function Ca(t, e) {
4806
+ function $a(t, e) {
4807
4807
  const n = e.get(t);
4808
4808
  if (n)
4809
4809
  return n;
4810
- let o = qe(t, [], !1).filter((l) => vt(l) && ke(l) !== "body"), r = null;
4810
+ let o = Ye(t, [], !1).filter((l) => vt(l) && ke(l) !== "body"), r = null;
4811
4811
  const i = dt(t).position === "fixed";
4812
4812
  let s = i ? Ft(t) : t;
4813
4813
  for (; vt(s) && !Re(s); ) {
4814
4814
  const l = dt(s), c = Ao(s);
4815
- !c && l.position === "fixed" && (r = null), (i ? !c && !r : !c && l.position === "static" && r && ["absolute", "fixed"].includes(r.position) || Ge(s) && !c && Di(t, s)) ? o = o.filter((a) => a !== s) : r = l, s = Ft(s);
4815
+ !c && l.position === "fixed" && (r = null), (i ? !c && !r : !c && l.position === "static" && r && ["absolute", "fixed"].includes(r.position) || Ze(s) && !c && Li(t, s)) ? o = o.filter((a) => a !== s) : r = l, s = Ft(s);
4816
4816
  }
4817
4817
  return e.set(t, o), o;
4818
4818
  }
4819
- function Ra(t) {
4819
+ function Ca(t) {
4820
4820
  let {
4821
4821
  element: e,
4822
4822
  boundary: n,
4823
4823
  rootBoundary: o,
4824
4824
  strategy: r
4825
4825
  } = t;
4826
- const i = [...n === "clippingAncestors" ? Mo(e) ? [] : Ca(e, this._c) : [].concat(n), o], s = i[0], l = i.reduce((c, a) => {
4826
+ const i = [...n === "clippingAncestors" ? Mo(e) ? [] : $a(e, this._c) : [].concat(n), o], s = i[0], l = i.reduce((c, a) => {
4827
4827
  const f = Cr(e, a, r);
4828
4828
  return c.top = Gt(f.top, c.top), c.right = $e(f.right, c.right), c.bottom = $e(f.bottom, c.bottom), c.left = Gt(f.left, c.left), c;
4829
4829
  }, Cr(e, s, r));
@@ -4834,28 +4834,28 @@ function Ra(t) {
4834
4834
  y: l.top
4835
4835
  };
4836
4836
  }
4837
- function Ia(t) {
4837
+ function Ra(t) {
4838
4838
  const {
4839
4839
  width: e,
4840
4840
  height: n
4841
- } = ki(t);
4841
+ } = Pi(t);
4842
4842
  return {
4843
4843
  width: e,
4844
4844
  height: n
4845
4845
  };
4846
4846
  }
4847
- function Aa(t, e, n) {
4848
- const o = wt(e), r = $t(e), i = n === "fixed", s = re(t, !0, i, e);
4847
+ function Ia(t, e, n) {
4848
+ const o = wt(e), r = Ct(e), i = n === "fixed", s = re(t, !0, i, e);
4849
4849
  let l = {
4850
4850
  scrollLeft: 0,
4851
4851
  scrollTop: 0
4852
4852
  };
4853
4853
  const c = Dt(0);
4854
4854
  if (o || !o && !i)
4855
- if ((ke(e) !== "body" || Ge(r)) && (l = Tn(e)), o) {
4855
+ if ((ke(e) !== "body" || Ze(r)) && (l = $n(e)), o) {
4856
4856
  const h = re(e, !0, i, e);
4857
4857
  c.x = h.x + e.clientLeft, c.y = h.y + e.clientTop;
4858
- } else r && (c.x = Li(r));
4858
+ } else r && (c.x = Mi(r));
4859
4859
  const a = s.left + l.scrollLeft - c.x, f = s.top + l.scrollTop - c.y;
4860
4860
  return {
4861
4861
  x: a,
@@ -4864,34 +4864,34 @@ function Aa(t, e, n) {
4864
4864
  height: s.height
4865
4865
  };
4866
4866
  }
4867
- function Un(t) {
4867
+ function qn(t) {
4868
4868
  return dt(t).position === "static";
4869
4869
  }
4870
4870
  function Rr(t, e) {
4871
4871
  return !wt(t) || dt(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
4872
4872
  }
4873
- function Fi(t, e) {
4873
+ function Di(t, e) {
4874
4874
  const n = it(t);
4875
4875
  if (Mo(t))
4876
4876
  return n;
4877
4877
  if (!wt(t)) {
4878
4878
  let r = Ft(t);
4879
4879
  for (; r && !Re(r); ) {
4880
- if (vt(r) && !Un(r))
4880
+ if (vt(r) && !qn(r))
4881
4881
  return r;
4882
4882
  r = Ft(r);
4883
4883
  }
4884
4884
  return n;
4885
4885
  }
4886
4886
  let o = Rr(t, e);
4887
- for (; o && ya(o) && Un(o); )
4887
+ for (; o && ba(o) && qn(o); )
4888
4888
  o = Rr(o, e);
4889
- return o && Re(o) && Un(o) && !Ao(o) ? n : o || va(t) || n;
4889
+ return o && Re(o) && qn(o) && !Ao(o) ? n : o || ya(t) || n;
4890
4890
  }
4891
- const Pa = async function(t) {
4892
- const e = this.getOffsetParent || Fi, n = this.getDimensions, o = await n(t.floating);
4891
+ const Aa = async function(t) {
4892
+ const e = this.getOffsetParent || Di, n = this.getDimensions, o = await n(t.floating);
4893
4893
  return {
4894
- reference: Aa(t.reference, await e(t.floating), t.strategy),
4894
+ reference: Ia(t.reference, await e(t.floating), t.strategy),
4895
4895
  floating: {
4896
4896
  x: 0,
4897
4897
  y: 0,
@@ -4900,24 +4900,24 @@ const Pa = async function(t) {
4900
4900
  }
4901
4901
  };
4902
4902
  };
4903
- function ka(t) {
4903
+ function Pa(t) {
4904
4904
  return dt(t).direction === "rtl";
4905
4905
  }
4906
- const Ma = {
4907
- convertOffsetParentRelativeRectToViewportRelativeRect: Ea,
4908
- getDocumentElement: $t,
4909
- getClippingRect: Ra,
4910
- getOffsetParent: Fi,
4911
- getElementRects: Pa,
4912
- getClientRects: Oa,
4913
- getDimensions: Ia,
4906
+ const ka = {
4907
+ convertOffsetParentRelativeRectToViewportRelativeRect: _a,
4908
+ getDocumentElement: Ct,
4909
+ getClippingRect: Ca,
4910
+ getOffsetParent: Di,
4911
+ getElementRects: Aa,
4912
+ getClientRects: Ea,
4913
+ getDimensions: Ra,
4914
4914
  getScale: we,
4915
4915
  isElement: vt,
4916
- isRTL: ka
4916
+ isRTL: Pa
4917
4917
  };
4918
- function La(t, e) {
4918
+ function Ma(t, e) {
4919
4919
  let n = null, o;
4920
- const r = $t(t);
4920
+ const r = Ct(t);
4921
4921
  function i() {
4922
4922
  var l;
4923
4923
  clearTimeout(o), (l = n) == null || l.disconnect(), n = null;
@@ -4932,7 +4932,7 @@ function La(t, e) {
4932
4932
  } = t.getBoundingClientRect();
4933
4933
  if (l || e(), !h || !d)
4934
4934
  return;
4935
- const p = sn(f), m = sn(r.clientWidth - (a + h)), y = sn(r.clientHeight - (f + d)), _ = sn(a), w = {
4935
+ const p = ln(f), m = ln(r.clientWidth - (a + h)), y = ln(r.clientHeight - (f + d)), _ = ln(a), w = {
4936
4936
  rootMargin: -p + "px " + -m + "px " + -y + "px " + -_ + "px",
4937
4937
  threshold: Gt(0, $e(1, c)) || 1
4938
4938
  };
@@ -4960,7 +4960,7 @@ function La(t, e) {
4960
4960
  }
4961
4961
  return s(!0), i;
4962
4962
  }
4963
- function Da(t, e, n, o) {
4963
+ function La(t, e, n, o) {
4964
4964
  o === void 0 && (o = {});
4965
4965
  const {
4966
4966
  ancestorScroll: r = !0,
@@ -4968,13 +4968,13 @@ function Da(t, e, n, o) {
4968
4968
  elementResize: s = typeof ResizeObserver == "function",
4969
4969
  layoutShift: l = typeof IntersectionObserver == "function",
4970
4970
  animationFrame: c = !1
4971
- } = o, a = ko(t), f = r || i ? [...a ? qe(a) : [], ...qe(e)] : [];
4971
+ } = o, a = ko(t), f = r || i ? [...a ? Ye(a) : [], ...Ye(e)] : [];
4972
4972
  f.forEach((w) => {
4973
4973
  r && w.addEventListener("scroll", n, {
4974
4974
  passive: !0
4975
4975
  }), i && w.addEventListener("resize", n);
4976
4976
  });
4977
- const h = a && l ? La(a, n) : null;
4977
+ const h = a && l ? Ma(a, n) : null;
4978
4978
  let d = -1, p = null;
4979
4979
  s && (p = new ResizeObserver((w) => {
4980
4980
  let [x] = w;
@@ -4996,39 +4996,39 @@ function Da(t, e, n, o) {
4996
4996
  }), h == null || h(), (w = p) == null || w.disconnect(), p = null, c && cancelAnimationFrame(m);
4997
4997
  };
4998
4998
  }
4999
- const Fa = ma, ja = ga, Ba = pa, Wa = ba, Na = (t, e, n) => {
4999
+ const Da = ga, Fa = pa, ja = ha, Ba = ma, Wa = (t, e, n) => {
5000
5000
  const o = /* @__PURE__ */ new Map(), r = nt({
5001
- platform: Ma
5001
+ platform: ka
5002
5002
  }, n), i = nt({}, r.platform, {
5003
5003
  _c: o
5004
5004
  });
5005
- return ha(t, e, nt({}, r, {
5005
+ return da(t, e, nt({}, r, {
5006
5006
  platform: i
5007
5007
  }));
5008
5008
  };
5009
- function Ha(t) {
5009
+ function Na(t) {
5010
5010
  t.cleanup && t.cleanup();
5011
5011
  const e = t._getResolvedAttachToOptions();
5012
5012
  let n = e.element;
5013
- const o = za(e, t), r = $i(e);
5014
- return r && (n = document.body, t.shepherdElementComponent.getElement().classList.add("shepherd-centered")), t.cleanup = Da(n, t.el, () => {
5013
+ const o = Ka(e, t), r = Ti(e);
5014
+ return r && (n = document.body, t.shepherdElementComponent.getElement().classList.add("shepherd-centered")), t.cleanup = La(n, t.el, () => {
5015
5015
  if (!t.el) {
5016
5016
  t.cleanup == null || t.cleanup();
5017
5017
  return;
5018
5018
  }
5019
- qa(n, t, o, r);
5019
+ Ua(n, t, o, r);
5020
5020
  }), t.target = e.element, o;
5021
5021
  }
5022
- function Va(t, e) {
5022
+ function Ha(t, e) {
5023
5023
  return {
5024
5024
  floatingUIOptions: To(t.floatingUIOptions || {}, e.floatingUIOptions || {})
5025
5025
  };
5026
5026
  }
5027
- function Ua(t) {
5027
+ function Va(t) {
5028
5028
  t.cleanup && t.cleanup(), t.cleanup = null;
5029
5029
  }
5030
- function qa(t, e, n, o) {
5031
- return Na(t, e.el, n).then(Ya(e, o)).then((r) => new Promise((i) => {
5030
+ function Ua(t, e, n, o) {
5031
+ return Wa(t, e.el, n).then(qa(e, o)).then((r) => new Promise((i) => {
5032
5032
  setTimeout(() => i(r), 300);
5033
5033
  })).then((r) => {
5034
5034
  r != null && r.el && r.el.focus({
@@ -5036,7 +5036,7 @@ function qa(t, e, n, o) {
5036
5036
  });
5037
5037
  });
5038
5038
  }
5039
- function Ya(t, e) {
5039
+ function qa(t, e) {
5040
5040
  return ({
5041
5041
  x: n,
5042
5042
  y: o,
@@ -5051,11 +5051,11 @@ function Ya(t, e) {
5051
5051
  position: "absolute",
5052
5052
  left: `${n}px`,
5053
5053
  top: `${o}px`
5054
- }), t.el.dataset.popperPlacement = r, Ka(t.el, i)), t);
5054
+ }), t.el.dataset.popperPlacement = r, Ya(t.el, i)), t);
5055
5055
  }
5056
- function Ka(t, e) {
5056
+ function Ya(t, e) {
5057
5057
  const n = t.querySelector(".shepherd-arrow");
5058
- if (Xe(n) && e.arrow) {
5058
+ if (Ge(n) && e.arrow) {
5059
5059
  const {
5060
5060
  x: o,
5061
5061
  y: r
@@ -5066,51 +5066,51 @@ function Ka(t, e) {
5066
5066
  });
5067
5067
  }
5068
5068
  }
5069
- function za(t, e) {
5069
+ function Ka(t, e) {
5070
5070
  const n = {
5071
5071
  strategy: "absolute"
5072
5072
  };
5073
5073
  n.middleware = [];
5074
- const o = Ja(e);
5075
- return $i(t) || (n.middleware.push(
5076
- ja(),
5074
+ const o = za(e);
5075
+ return Ti(t) || (n.middleware.push(
5076
+ Fa(),
5077
5077
  // Replicate PopperJS default behavior.
5078
- Fa({
5079
- limiter: Wa(),
5078
+ Da({
5079
+ limiter: Ba(),
5080
5080
  crossAxis: !0
5081
5081
  })
5082
- ), o && n.middleware.push(Ba({
5082
+ ), o && n.middleware.push(ja({
5083
5083
  element: o
5084
5084
  })), n.placement = t.on), To(e.options.floatingUIOptions || {}, n);
5085
5085
  }
5086
- function Ja(t) {
5086
+ function za(t) {
5087
5087
  return t.options.arrow && t.el ? t.el.querySelector(".shepherd-arrow") : !1;
5088
5088
  }
5089
5089
  function lt() {
5090
5090
  }
5091
- function Xa(t, e) {
5091
+ function Ja(t, e) {
5092
5092
  for (const n in e) t[n] = e[n];
5093
5093
  return (
5094
5094
  /** @type {T & S} */
5095
5095
  t
5096
5096
  );
5097
5097
  }
5098
- function ji(t) {
5098
+ function Fi(t) {
5099
5099
  return t();
5100
5100
  }
5101
5101
  function Ir() {
5102
5102
  return /* @__PURE__ */ Object.create(null);
5103
5103
  }
5104
- function Ze(t) {
5105
- t.forEach(ji);
5104
+ function Qe(t) {
5105
+ t.forEach(Fi);
5106
5106
  }
5107
5107
  function Lo(t) {
5108
5108
  return typeof t == "function";
5109
5109
  }
5110
- function Ct(t, e) {
5110
+ function Rt(t, e) {
5111
5111
  return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
5112
5112
  }
5113
- function Ga(t) {
5113
+ function Xa(t) {
5114
5114
  return Object.keys(t).length === 0;
5115
5115
  }
5116
5116
  function Ie(t, e) {
@@ -5122,7 +5122,7 @@ function pt(t, e, n) {
5122
5122
  function ut(t) {
5123
5123
  t.parentNode && t.parentNode.removeChild(t);
5124
5124
  }
5125
- function Za(t, e) {
5125
+ function Ga(t, e) {
5126
5126
  for (let n = 0; n < t.length; n += 1)
5127
5127
  t[n] && t[n].d(e);
5128
5128
  }
@@ -5132,68 +5132,68 @@ function xt(t) {
5132
5132
  function Ar(t) {
5133
5133
  return document.createElementNS("http://www.w3.org/2000/svg", t);
5134
5134
  }
5135
- function Bi(t) {
5135
+ function ji(t) {
5136
5136
  return document.createTextNode(t);
5137
5137
  }
5138
- function vn() {
5139
- return Bi(" ");
5138
+ function wn() {
5139
+ return ji(" ");
5140
5140
  }
5141
- function Qa() {
5142
- return Bi("");
5141
+ function Za() {
5142
+ return ji("");
5143
5143
  }
5144
- function $n(t, e, n, o) {
5144
+ function Cn(t, e, n, o) {
5145
5145
  return t.addEventListener(e, n, o), () => t.removeEventListener(e, n, o);
5146
5146
  }
5147
5147
  function j(t, e, n) {
5148
5148
  n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
5149
5149
  }
5150
- const tu = ["width", "height"];
5150
+ const Qa = ["width", "height"];
5151
5151
  function Pr(t, e) {
5152
5152
  const n = Object.getOwnPropertyDescriptors(t.__proto__);
5153
5153
  for (const o in e)
5154
- e[o] == null ? t.removeAttribute(o) : o === "style" ? t.style.cssText = e[o] : o === "__value" ? t.value = t[o] = e[o] : n[o] && n[o].set && tu.indexOf(o) === -1 ? t[o] = e[o] : j(t, o, e[o]);
5154
+ e[o] == null ? t.removeAttribute(o) : o === "style" ? t.style.cssText = e[o] : o === "__value" ? t.value = t[o] = e[o] : n[o] && n[o].set && Qa.indexOf(o) === -1 ? t[o] = e[o] : j(t, o, e[o]);
5155
5155
  }
5156
- function eu(t) {
5156
+ function tu(t) {
5157
5157
  return Array.from(t.childNodes);
5158
5158
  }
5159
5159
  function fe(t, e, n) {
5160
5160
  t.classList.toggle(e, !!n);
5161
5161
  }
5162
- let Ye;
5162
+ let Ke;
5163
5163
  function We(t) {
5164
- Ye = t;
5164
+ Ke = t;
5165
5165
  }
5166
- function Wi() {
5167
- if (!Ye) throw new Error("Function called outside component initialization");
5168
- return Ye;
5166
+ function Bi() {
5167
+ if (!Ke) throw new Error("Function called outside component initialization");
5168
+ return Ke;
5169
5169
  }
5170
- function nu(t) {
5171
- Wi().$$.on_mount.push(t);
5170
+ function eu(t) {
5171
+ Bi().$$.on_mount.push(t);
5172
5172
  }
5173
5173
  function Do(t) {
5174
- Wi().$$.after_update.push(t);
5174
+ Bi().$$.after_update.push(t);
5175
5175
  }
5176
5176
  const pe = [], Ae = [];
5177
5177
  let xe = [];
5178
- const kr = [], ou = /* @__PURE__ */ Promise.resolve();
5179
- let no = !1;
5180
- function ru() {
5181
- no || (no = !0, ou.then(Ni));
5178
+ const kr = [], nu = /* @__PURE__ */ Promise.resolve();
5179
+ let oo = !1;
5180
+ function ou() {
5181
+ oo || (oo = !0, nu.then(Wi));
5182
5182
  }
5183
- function oo(t) {
5183
+ function ro(t) {
5184
5184
  xe.push(t);
5185
5185
  }
5186
- const qn = /* @__PURE__ */ new Set();
5186
+ const Yn = /* @__PURE__ */ new Set();
5187
5187
  let de = 0;
5188
- function Ni() {
5188
+ function Wi() {
5189
5189
  if (de !== 0)
5190
5190
  return;
5191
- const t = Ye;
5191
+ const t = Ke;
5192
5192
  do {
5193
5193
  try {
5194
5194
  for (; de < pe.length; ) {
5195
5195
  const e = pe[de];
5196
- de++, We(e), iu(e.$$);
5196
+ de++, We(e), ru(e.$$);
5197
5197
  }
5198
5198
  } catch (e) {
5199
5199
  throw pe.length = 0, de = 0, e;
@@ -5201,26 +5201,26 @@ function Ni() {
5201
5201
  for (We(null), pe.length = 0, de = 0; Ae.length; ) Ae.pop()();
5202
5202
  for (let e = 0; e < xe.length; e += 1) {
5203
5203
  const n = xe[e];
5204
- qn.has(n) || (qn.add(n), n());
5204
+ Yn.has(n) || (Yn.add(n), n());
5205
5205
  }
5206
5206
  xe.length = 0;
5207
5207
  } while (pe.length);
5208
5208
  for (; kr.length; )
5209
5209
  kr.pop()();
5210
- no = !1, qn.clear(), We(t);
5210
+ oo = !1, Yn.clear(), We(t);
5211
5211
  }
5212
- function iu(t) {
5212
+ function ru(t) {
5213
5213
  if (t.fragment !== null) {
5214
- t.update(), Ze(t.before_update);
5214
+ t.update(), Qe(t.before_update);
5215
5215
  const e = t.dirty;
5216
- t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(oo);
5216
+ t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(ro);
5217
5217
  }
5218
5218
  }
5219
- function su(t) {
5219
+ function iu(t) {
5220
5220
  const e = [], n = [];
5221
5221
  xe.forEach((o) => t.indexOf(o) === -1 ? e.push(o) : n.push(o)), n.forEach((o) => o()), xe = e;
5222
5222
  }
5223
- const un = /* @__PURE__ */ new Set();
5223
+ const fn = /* @__PURE__ */ new Set();
5224
5224
  let Kt;
5225
5225
  function Zt() {
5226
5226
  Kt = {
@@ -5231,23 +5231,23 @@ function Zt() {
5231
5231
  };
5232
5232
  }
5233
5233
  function Qt() {
5234
- Kt.r || Ze(Kt.c), Kt = Kt.p;
5234
+ Kt.r || Qe(Kt.c), Kt = Kt.p;
5235
5235
  }
5236
5236
  function L(t, e) {
5237
- t && t.i && (un.delete(t), t.i(e));
5237
+ t && t.i && (fn.delete(t), t.i(e));
5238
5238
  }
5239
5239
  function J(t, e, n, o) {
5240
5240
  if (t && t.o) {
5241
- if (un.has(t)) return;
5242
- un.add(t), Kt.c.push(() => {
5243
- un.delete(t), o && (n && t.d(1), o());
5241
+ if (fn.has(t)) return;
5242
+ fn.add(t), Kt.c.push(() => {
5243
+ fn.delete(t), o && (n && t.d(1), o());
5244
5244
  }), t.o(e);
5245
5245
  } else o && o();
5246
5246
  }
5247
5247
  function Mr(t) {
5248
5248
  return (t == null ? void 0 : t.length) !== void 0 ? t : Array.from(t);
5249
5249
  }
5250
- function lu(t, e) {
5250
+ function su(t, e) {
5251
5251
  const n = {}, o = {}, r = {
5252
5252
  $$scope: 1
5253
5253
  };
@@ -5276,20 +5276,20 @@ function Ht(t, e, n) {
5276
5276
  fragment: o,
5277
5277
  after_update: r
5278
5278
  } = t.$$;
5279
- o && o.m(e, n), oo(() => {
5280
- const i = t.$$.on_mount.map(ji).filter(Lo);
5281
- t.$$.on_destroy ? t.$$.on_destroy.push(...i) : Ze(i), t.$$.on_mount = [];
5282
- }), r.forEach(oo);
5279
+ o && o.m(e, n), ro(() => {
5280
+ const i = t.$$.on_mount.map(Fi).filter(Lo);
5281
+ t.$$.on_destroy ? t.$$.on_destroy.push(...i) : Qe(i), t.$$.on_mount = [];
5282
+ }), r.forEach(ro);
5283
5283
  }
5284
5284
  function Vt(t, e) {
5285
5285
  const n = t.$$;
5286
- n.fragment !== null && (su(n.after_update), Ze(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
5286
+ n.fragment !== null && (iu(n.after_update), Qe(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
5287
5287
  }
5288
- function cu(t, e) {
5289
- t.$$.dirty[0] === -1 && (pe.push(t), ru(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
5288
+ function lu(t, e) {
5289
+ t.$$.dirty[0] === -1 && (pe.push(t), ou(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
5290
5290
  }
5291
- function Rt(t, e, n, o, r, i, s = null, l = [-1]) {
5292
- const c = Ye;
5291
+ function It(t, e, n, o, r, i, s = null, l = [-1]) {
5292
+ const c = Ke;
5293
5293
  We(t);
5294
5294
  const a = t.$$ = {
5295
5295
  fragment: null,
@@ -5316,18 +5316,18 @@ function Rt(t, e, n, o, r, i, s = null, l = [-1]) {
5316
5316
  let f = !1;
5317
5317
  if (a.ctx = n ? n(t, e.props || {}, (h, d, ...p) => {
5318
5318
  const m = p.length ? p[0] : d;
5319
- return a.ctx && r(a.ctx[h], a.ctx[h] = m) && (!a.skip_bound && a.bound[h] && a.bound[h](m), f && cu(t, h)), d;
5320
- }) : [], a.update(), f = !0, Ze(a.before_update), a.fragment = o ? o(a.ctx) : !1, e.target) {
5319
+ return a.ctx && r(a.ctx[h], a.ctx[h] = m) && (!a.skip_bound && a.bound[h] && a.bound[h](m), f && lu(t, h)), d;
5320
+ }) : [], a.update(), f = !0, Qe(a.before_update), a.fragment = o ? o(a.ctx) : !1, e.target) {
5321
5321
  if (e.hydrate) {
5322
- const h = eu(e.target);
5322
+ const h = tu(e.target);
5323
5323
  a.fragment && a.fragment.l(h), h.forEach(ut);
5324
5324
  } else
5325
5325
  a.fragment && a.fragment.c();
5326
- e.intro && L(t.$$.fragment), Ht(t, e.target, e.anchor), Ni();
5326
+ e.intro && L(t.$$.fragment), Ht(t, e.target, e.anchor), Wi();
5327
5327
  }
5328
5328
  We(c);
5329
5329
  }
5330
- class It {
5330
+ class At {
5331
5331
  constructor() {
5332
5332
  this.$$ = void 0, this.$$set = void 0;
5333
5333
  }
@@ -5355,14 +5355,14 @@ class It {
5355
5355
  * @returns {void}
5356
5356
  */
5357
5357
  $set(e) {
5358
- this.$$set && !Ga(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
5358
+ this.$$set && !Xa(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
5359
5359
  }
5360
5360
  }
5361
- const au = "4";
5361
+ const cu = "4";
5362
5362
  typeof window < "u" && (window.__svelte || (window.__svelte = {
5363
5363
  v: /* @__PURE__ */ new Set()
5364
- })).v.add(au);
5365
- function uu(t) {
5364
+ })).v.add(cu);
5365
+ function au(t) {
5366
5366
  let e, n, o, r, i;
5367
5367
  return {
5368
5368
  c() {
@@ -5377,7 +5377,7 @@ function uu(t) {
5377
5377
  },
5378
5378
  m(s, l) {
5379
5379
  pt(s, e, l), e.innerHTML = /*text*/
5380
- t[5], r || (i = $n(e, "click", function() {
5380
+ t[5], r || (i = Cn(e, "click", function() {
5381
5381
  Lo(
5382
5382
  /*action*/
5383
5383
  t[0]
@@ -5406,7 +5406,7 @@ function uu(t) {
5406
5406
  }
5407
5407
  };
5408
5408
  }
5409
- function fu(t, e, n) {
5409
+ function uu(t, e, n) {
5410
5410
  let {
5411
5411
  config: o,
5412
5412
  step: r
@@ -5421,9 +5421,9 @@ function fu(t, e, n) {
5421
5421
  192 && (n(0, i = o.action ? o.action.bind(r.tour) : null), n(1, s = o.classes), n(2, l = o.disabled ? h(o.disabled) : !1), n(3, c = o.label ? h(o.label) : null), n(4, a = o.secondary), n(5, f = o.text ? h(o.text) : null));
5422
5422
  }, [i, s, l, c, a, f, o, r];
5423
5423
  }
5424
- class du extends It {
5424
+ class fu extends At {
5425
5425
  constructor(e) {
5426
- super(), Rt(this, e, fu, uu, Ct, {
5426
+ super(), It(this, e, uu, au, Rt, {
5427
5427
  config: 6,
5428
5428
  step: 7
5429
5429
  });
@@ -5447,7 +5447,7 @@ function Dr(t) {
5447
5447
  c() {
5448
5448
  for (let s = 0; s < r.length; s += 1)
5449
5449
  r[s].c();
5450
- e = Qa();
5450
+ e = Za();
5451
5451
  },
5452
5452
  m(s, l) {
5453
5453
  for (let c = 0; c < r.length; c += 1)
@@ -5485,13 +5485,13 @@ function Dr(t) {
5485
5485
  n = !1;
5486
5486
  },
5487
5487
  d(s) {
5488
- s && ut(e), Za(r, s);
5488
+ s && ut(e), Ga(r, s);
5489
5489
  }
5490
5490
  };
5491
5491
  }
5492
5492
  function Fr(t) {
5493
5493
  let e, n;
5494
- return e = new du({
5494
+ return e = new fu({
5495
5495
  props: {
5496
5496
  config: (
5497
5497
  /*config*/
@@ -5528,7 +5528,7 @@ function Fr(t) {
5528
5528
  }
5529
5529
  };
5530
5530
  }
5531
- function hu(t) {
5531
+ function du(t) {
5532
5532
  let e, n, o = (
5533
5533
  /*buttons*/
5534
5534
  t[1] && Dr(t)
@@ -5557,7 +5557,7 @@ function hu(t) {
5557
5557
  }
5558
5558
  };
5559
5559
  }
5560
- function pu(t, e, n) {
5560
+ function hu(t, e, n) {
5561
5561
  let o, {
5562
5562
  step: r
5563
5563
  } = e;
@@ -5568,14 +5568,14 @@ function pu(t, e, n) {
5568
5568
  1 && n(1, o = r.options.buttons);
5569
5569
  }, [r, o];
5570
5570
  }
5571
- class gu extends It {
5571
+ class pu extends At {
5572
5572
  constructor(e) {
5573
- super(), Rt(this, e, pu, hu, Ct, {
5573
+ super(), It(this, e, hu, du, Rt, {
5574
5574
  step: 0
5575
5575
  });
5576
5576
  }
5577
5577
  }
5578
- function mu(t) {
5578
+ function gu(t) {
5579
5579
  let e, n, o, r, i;
5580
5580
  return {
5581
5581
  c() {
@@ -5586,7 +5586,7 @@ function mu(t) {
5586
5586
  ) : "Close Tour"), j(e, "class", "shepherd-cancel-icon"), j(e, "type", "button");
5587
5587
  },
5588
5588
  m(s, l) {
5589
- pt(s, e, l), Ie(e, n), r || (i = $n(
5589
+ pt(s, e, l), Ie(e, n), r || (i = Cn(
5590
5590
  e,
5591
5591
  "click",
5592
5592
  /*handleCancelClick*/
@@ -5608,7 +5608,7 @@ function mu(t) {
5608
5608
  }
5609
5609
  };
5610
5610
  }
5611
- function bu(t, e, n) {
5611
+ function mu(t, e, n) {
5612
5612
  let {
5613
5613
  cancelIcon: o,
5614
5614
  step: r
@@ -5620,15 +5620,15 @@ function bu(t, e, n) {
5620
5620
  "cancelIcon" in s && n(0, o = s.cancelIcon), "step" in s && n(2, r = s.step);
5621
5621
  }, [o, i, r];
5622
5622
  }
5623
- class yu extends It {
5623
+ class bu extends At {
5624
5624
  constructor(e) {
5625
- super(), Rt(this, e, bu, mu, Ct, {
5625
+ super(), It(this, e, mu, gu, Rt, {
5626
5626
  cancelIcon: 0,
5627
5627
  step: 2
5628
5628
  });
5629
5629
  }
5630
5630
  }
5631
- function vu(t) {
5631
+ function yu(t) {
5632
5632
  let e;
5633
5633
  return {
5634
5634
  c() {
@@ -5658,7 +5658,7 @@ function vu(t) {
5658
5658
  }
5659
5659
  };
5660
5660
  }
5661
- function wu(t, e, n) {
5661
+ function vu(t, e, n) {
5662
5662
  let {
5663
5663
  labelId: o,
5664
5664
  element: r,
@@ -5676,9 +5676,9 @@ function wu(t, e, n) {
5676
5676
  "labelId" in l && n(1, o = l.labelId), "element" in l && n(0, r = l.element), "title" in l && n(2, i = l.title);
5677
5677
  }, [r, o, i, s];
5678
5678
  }
5679
- class xu extends It {
5679
+ class wu extends At {
5680
5680
  constructor(e) {
5681
- super(), Rt(this, e, wu, vu, Ct, {
5681
+ super(), It(this, e, vu, yu, Rt, {
5682
5682
  labelId: 1,
5683
5683
  element: 0,
5684
5684
  title: 2
@@ -5687,7 +5687,7 @@ class xu extends It {
5687
5687
  }
5688
5688
  function jr(t) {
5689
5689
  let e, n;
5690
- return e = new xu({
5690
+ return e = new wu({
5691
5691
  props: {
5692
5692
  labelId: (
5693
5693
  /*labelId*/
@@ -5726,7 +5726,7 @@ function jr(t) {
5726
5726
  }
5727
5727
  function Br(t) {
5728
5728
  let e, n;
5729
- return e = new yu({
5729
+ return e = new bu({
5730
5730
  props: {
5731
5731
  cancelIcon: (
5732
5732
  /*cancelIcon*/
@@ -5763,7 +5763,7 @@ function Br(t) {
5763
5763
  }
5764
5764
  };
5765
5765
  }
5766
- function _u(t) {
5766
+ function xu(t) {
5767
5767
  let e, n, o, r = (
5768
5768
  /*title*/
5769
5769
  t[2] && jr(t)
@@ -5774,7 +5774,7 @@ function _u(t) {
5774
5774
  );
5775
5775
  return {
5776
5776
  c() {
5777
- e = xt("header"), r && r.c(), n = vn(), i && i.c(), j(e, "class", "shepherd-header");
5777
+ e = xt("header"), r && r.c(), n = wn(), i && i.c(), j(e, "class", "shepherd-header");
5778
5778
  },
5779
5779
  m(s, l) {
5780
5780
  pt(s, e, l), r && r.m(e, null), Ie(e, n), i && i.m(e, null), o = !0;
@@ -5801,7 +5801,7 @@ function _u(t) {
5801
5801
  }
5802
5802
  };
5803
5803
  }
5804
- function Eu(t, e, n) {
5804
+ function _u(t, e, n) {
5805
5805
  let {
5806
5806
  labelId: o,
5807
5807
  step: r
@@ -5813,15 +5813,15 @@ function Eu(t, e, n) {
5813
5813
  2 && (n(2, i = r.options.title), n(3, s = r.options.cancelIcon));
5814
5814
  }, [o, r, i, s];
5815
5815
  }
5816
- class Ou extends It {
5816
+ class Eu extends At {
5817
5817
  constructor(e) {
5818
- super(), Rt(this, e, Eu, _u, Ct, {
5818
+ super(), It(this, e, _u, xu, Rt, {
5819
5819
  labelId: 0,
5820
5820
  step: 1
5821
5821
  });
5822
5822
  }
5823
5823
  }
5824
- function Su(t) {
5824
+ function Ou(t) {
5825
5825
  let e;
5826
5826
  return {
5827
5827
  c() {
@@ -5851,7 +5851,7 @@ function Su(t) {
5851
5851
  }
5852
5852
  };
5853
5853
  }
5854
- function Tu(t, e, n) {
5854
+ function Su(t, e, n) {
5855
5855
  let {
5856
5856
  descriptionId: o,
5857
5857
  element: r,
@@ -5861,7 +5861,7 @@ function Tu(t, e, n) {
5861
5861
  let {
5862
5862
  text: l
5863
5863
  } = i.options;
5864
- Lt(l) && (l = l.call(i)), Xe(l) ? r.appendChild(l) : n(0, r.innerHTML = l, r);
5864
+ Lt(l) && (l = l.call(i)), Ge(l) ? r.appendChild(l) : n(0, r.innerHTML = l, r);
5865
5865
  });
5866
5866
  function s(l) {
5867
5867
  Ae[l ? "unshift" : "push"](() => {
@@ -5872,9 +5872,9 @@ function Tu(t, e, n) {
5872
5872
  "descriptionId" in l && n(1, o = l.descriptionId), "element" in l && n(0, r = l.element), "step" in l && n(2, i = l.step);
5873
5873
  }, [r, o, i, s];
5874
5874
  }
5875
- class $u extends It {
5875
+ class Tu extends At {
5876
5876
  constructor(e) {
5877
- super(), Rt(this, e, Tu, Su, Ct, {
5877
+ super(), It(this, e, Su, Ou, Rt, {
5878
5878
  descriptionId: 1,
5879
5879
  element: 0,
5880
5880
  step: 2
@@ -5883,7 +5883,7 @@ class $u extends It {
5883
5883
  }
5884
5884
  function Wr(t) {
5885
5885
  let e, n;
5886
- return e = new Ou({
5886
+ return e = new Eu({
5887
5887
  props: {
5888
5888
  labelId: (
5889
5889
  /*labelId*/
@@ -5922,7 +5922,7 @@ function Wr(t) {
5922
5922
  }
5923
5923
  function Nr(t) {
5924
5924
  let e, n;
5925
- return e = new $u({
5925
+ return e = new Tu({
5926
5926
  props: {
5927
5927
  descriptionId: (
5928
5928
  /*descriptionId*/
@@ -5961,7 +5961,7 @@ function Nr(t) {
5961
5961
  }
5962
5962
  function Hr(t) {
5963
5963
  let e, n;
5964
- return e = new gu({
5964
+ return e = new pu({
5965
5965
  props: {
5966
5966
  step: (
5967
5967
  /*step*/
@@ -5992,7 +5992,7 @@ function Hr(t) {
5992
5992
  }
5993
5993
  };
5994
5994
  }
5995
- function Cu(t) {
5995
+ function $u(t) {
5996
5996
  let e, n = !Z(
5997
5997
  /*step*/
5998
5998
  t[2].options.title
@@ -6008,7 +6008,7 @@ function Cu(t) {
6008
6008
  t[2].options.buttons.length, l, c = n && Wr(t), a = r && Nr(t), f = s && Hr(t);
6009
6009
  return {
6010
6010
  c() {
6011
- e = xt("div"), c && c.c(), o = vn(), a && a.c(), i = vn(), f && f.c(), j(e, "class", "shepherd-content");
6011
+ e = xt("div"), c && c.c(), o = wn(), a && a.c(), i = wn(), f && f.c(), j(e, "class", "shepherd-content");
6012
6012
  },
6013
6013
  m(h, d) {
6014
6014
  pt(h, e, d), c && c.m(e, null), Ie(e, o), a && a.m(e, null), Ie(e, i), f && f.m(e, null), l = !0;
@@ -6051,7 +6051,7 @@ function Cu(t) {
6051
6051
  }
6052
6052
  };
6053
6053
  }
6054
- function Ru(t, e, n) {
6054
+ function Cu(t, e, n) {
6055
6055
  let {
6056
6056
  descriptionId: o,
6057
6057
  labelId: r,
@@ -6061,9 +6061,9 @@ function Ru(t, e, n) {
6061
6061
  "descriptionId" in s && n(0, o = s.descriptionId), "labelId" in s && n(1, r = s.labelId), "step" in s && n(2, i = s.step);
6062
6062
  }, [o, r, i];
6063
6063
  }
6064
- class Iu extends It {
6064
+ class Ru extends At {
6065
6065
  constructor(e) {
6066
- super(), Rt(this, e, Ru, Cu, Ct, {
6066
+ super(), It(this, e, Cu, $u, Rt, {
6067
6067
  descriptionId: 0,
6068
6068
  labelId: 1,
6069
6069
  step: 2
@@ -6084,7 +6084,7 @@ function Vr(t) {
6084
6084
  }
6085
6085
  };
6086
6086
  }
6087
- function Au(t) {
6087
+ function Iu(t) {
6088
6088
  let e, n, o, r, i, s, l, c, a = (
6089
6089
  /*step*/
6090
6090
  t[4].options.arrow && /*step*/
@@ -6092,7 +6092,7 @@ function Au(t) {
6092
6092
  t[4].options.attachTo.element && /*step*/
6093
6093
  t[4].options.attachTo.on && Vr()
6094
6094
  );
6095
- o = new Iu({
6095
+ o = new Ru({
6096
6096
  props: {
6097
6097
  descriptionId: (
6098
6098
  /*descriptionId*/
@@ -6135,10 +6135,10 @@ function Au(t) {
6135
6135
  }
6136
6136
  ], h = {};
6137
6137
  for (let d = 0; d < f.length; d += 1)
6138
- h = Xa(h, f[d]);
6138
+ h = Ja(h, f[d]);
6139
6139
  return {
6140
6140
  c() {
6141
- e = xt("div"), a && a.c(), n = vn(), se(o.$$.fragment), Pr(e, h), fe(
6141
+ e = xt("div"), a && a.c(), n = wn(), se(o.$$.fragment), Pr(e, h), fe(
6142
6142
  e,
6143
6143
  "shepherd-has-cancel-icon",
6144
6144
  /*hasCancelIcon*/
@@ -6151,7 +6151,7 @@ function Au(t) {
6151
6151
  ), fe(e, "shepherd-element", !0);
6152
6152
  },
6153
6153
  m(d, p) {
6154
- pt(d, e, p), a && a.m(e, null), Ie(e, n), Ht(o, e, null), t[13](e), s = !0, l || (c = $n(
6154
+ pt(d, e, p), a && a.m(e, null), Ie(e, n), Ht(o, e, null), t[13](e), s = !0, l || (c = Cn(
6155
6155
  e,
6156
6156
  "keydown",
6157
6157
  /*handleKeyDown*/
@@ -6170,7 +6170,7 @@ function Au(t) {
6170
6170
  8 && (m.labelId = /*labelId*/
6171
6171
  d[3]), p & /*step*/
6172
6172
  16 && (m.step = /*step*/
6173
- d[4]), o.$set(m), Pr(e, h = lu(f, [(!s || p & /*step, descriptionId*/
6173
+ d[4]), o.$set(m), Pr(e, h = su(f, [(!s || p & /*step, descriptionId*/
6174
6174
  20 && r !== (r = Z(
6175
6175
  /*step*/
6176
6176
  d[4].options.text
@@ -6215,11 +6215,11 @@ function Au(t) {
6215
6215
  }
6216
6216
  };
6217
6217
  }
6218
- const Pu = 9, ku = 27, Mu = 37, Lu = 39;
6218
+ const Au = 9, Pu = 27, ku = 37, Mu = 39;
6219
6219
  function Ur(t) {
6220
6220
  return t.split(" ").filter((e) => !!e.length);
6221
6221
  }
6222
- function Du(t, e, n) {
6222
+ function Lu(t, e, n) {
6223
6223
  let {
6224
6224
  classPrefix: o,
6225
6225
  element: r,
@@ -6232,7 +6232,7 @@ function Du(t, e, n) {
6232
6232
  dataStepId: h
6233
6233
  } = e, d, p, m;
6234
6234
  const y = () => r;
6235
- nu(() => {
6235
+ eu(() => {
6236
6236
  n(1, h = {
6237
6237
  [`data-${o}shepherd-step-id`]: f.id
6238
6238
  }), n(9, l = r.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]')), n(8, s = l[0]), n(10, a = l[l.length - 1]);
@@ -6243,13 +6243,13 @@ function Du(t, e, n) {
6243
6243
  w(m), m = f.options.classes, x(m);
6244
6244
  }
6245
6245
  function w(g) {
6246
- if (Ue(g)) {
6246
+ if (qe(g)) {
6247
6247
  const S = Ur(g);
6248
6248
  S.length && r.classList.remove(...S);
6249
6249
  }
6250
6250
  }
6251
6251
  function x(g) {
6252
- if (Ue(g)) {
6252
+ if (qe(g)) {
6253
6253
  const S = Ur(g);
6254
6254
  S.length && r.classList.add(...S);
6255
6255
  }
@@ -6259,20 +6259,20 @@ function Du(t, e, n) {
6259
6259
  tour: S
6260
6260
  } = f;
6261
6261
  switch (g.keyCode) {
6262
- case Pu:
6262
+ case Au:
6263
6263
  if (l.length === 0) {
6264
6264
  g.preventDefault();
6265
6265
  break;
6266
6266
  }
6267
6267
  g.shiftKey ? (document.activeElement === s || document.activeElement.classList.contains("shepherd-element")) && (g.preventDefault(), a.focus()) : document.activeElement === a && (g.preventDefault(), s.focus());
6268
6268
  break;
6269
- case ku:
6269
+ case Pu:
6270
6270
  S.options.exitOnEsc && (g.preventDefault(), g.stopPropagation(), f.cancel());
6271
6271
  break;
6272
- case Mu:
6272
+ case ku:
6273
6273
  S.options.keyboardNavigation && (g.preventDefault(), g.stopPropagation(), S.back());
6274
6274
  break;
6275
- case Lu:
6275
+ case Mu:
6276
6276
  S.options.keyboardNavigation && (g.preventDefault(), g.stopPropagation(), S.next());
6277
6277
  break;
6278
6278
  }
@@ -6289,9 +6289,9 @@ function Du(t, e, n) {
6289
6289
  16 && (n(5, d = f.options && f.options.cancelIcon && f.options.cancelIcon.enabled), n(6, p = f.options && f.options.title));
6290
6290
  }, [r, h, i, c, f, d, p, O, s, l, a, o, y, b];
6291
6291
  }
6292
- class Fu extends It {
6292
+ class Du extends At {
6293
6293
  constructor(e) {
6294
- super(), Rt(this, e, Du, Au, Ct, {
6294
+ super(), It(this, e, Lu, Iu, Rt, {
6295
6295
  classPrefix: 11,
6296
6296
  element: 0,
6297
6297
  descriptionId: 2,
@@ -6308,9 +6308,9 @@ class Fu extends It {
6308
6308
  return this.$$.ctx[12];
6309
6309
  }
6310
6310
  }
6311
- class ro extends So {
6311
+ class io extends So {
6312
6312
  constructor(e, n = {}) {
6313
- return super(), this._resolvedAttachTo = void 0, this.classPrefix = void 0, this.el = void 0, this.target = void 0, this.tour = void 0, this.tour = e, this.classPrefix = this.tour.options ? Ti(this.tour.options.classPrefix) : "", this.styles = e.styles, this._resolvedAttachTo = null, $o(this), this._setOptions(n), this;
6313
+ return super(), this._resolvedAttachTo = void 0, this.classPrefix = void 0, this.el = void 0, this.target = void 0, this.tour = void 0, this.tour = e, this.classPrefix = this.tour.options ? Si(this.tour.options.classPrefix) : "", this.styles = e.styles, this._resolvedAttachTo = null, $o(this), this._setOptions(n), this;
6314
6314
  }
6315
6315
  /**
6316
6316
  * Cancel the tour
@@ -6331,7 +6331,7 @@ class ro extends So {
6331
6331
  * Triggers `destroy` event
6332
6332
  */
6333
6333
  destroy() {
6334
- Ua(this), Xe(this.el) && (this.el.remove(), this.el = null), this._updateStepTargetOnHide(), this.trigger("destroy");
6334
+ Va(this), Ge(this.el) && (this.el.remove(), this.el = null), this._updateStepTargetOnHide(), this.trigger("destroy");
6335
6335
  }
6336
6336
  /**
6337
6337
  * Returns the tour for the step
@@ -6352,7 +6352,7 @@ class ro extends So {
6352
6352
  * @returns {{}|{element, on}}
6353
6353
  */
6354
6354
  _resolveAttachToOptions() {
6355
- return this._resolvedAttachTo = oa(this), this._resolvedAttachTo;
6355
+ return this._resolvedAttachTo = na(this), this._resolvedAttachTo;
6356
6356
  }
6357
6357
  /**
6358
6358
  * A selector for resolved attachTo options.
@@ -6407,7 +6407,7 @@ class ro extends So {
6407
6407
  */
6408
6408
  _createTooltipContent() {
6409
6409
  const e = `${this.id}-description`, n = `${this.id}-label`;
6410
- return this.shepherdElementComponent = new Fu({
6410
+ return this.shepherdElementComponent = new Du({
6411
6411
  target: this.tour.options.stepsContainer || document.body,
6412
6412
  props: {
6413
6413
  classPrefix: this.classPrefix,
@@ -6431,7 +6431,7 @@ class ro extends So {
6431
6431
  const {
6432
6432
  element: n
6433
6433
  } = this._getResolvedAttachToOptions();
6434
- Lt(this.options.scrollToHandler) ? this.options.scrollToHandler(n) : jc(n) && typeof n.scrollIntoView == "function" && n.scrollIntoView(e);
6434
+ Lt(this.options.scrollToHandler) ? this.options.scrollToHandler(n) : Fc(n) && typeof n.scrollIntoView == "function" && n.scrollIntoView(e);
6435
6435
  }
6436
6436
  /**
6437
6437
  * _getClassOptions gets all possible classes for the step
@@ -6450,11 +6450,11 @@ class ro extends So {
6450
6450
  let n = this.tour && this.tour.options && this.tour.options.defaultStepOptions;
6451
6451
  n = To({}, n || {}), this.options = Object.assign({
6452
6452
  arrow: !0
6453
- }, n, e, Va(n, e));
6453
+ }, n, e, Ha(n, e));
6454
6454
  const {
6455
6455
  when: o
6456
6456
  } = this.options;
6457
- this.options.classes = this._getClassOptions(e), this.destroy(), this.id = this.options.id || `step-${Ci()}`, o && Object.keys(o).forEach((r) => {
6457
+ this.options.classes = this._getClassOptions(e), this.destroy(), this.id = this.options.id || `step-${$i()}`, o && Object.keys(o).forEach((r) => {
6458
6458
  this.on(r, o[r], this);
6459
6459
  });
6460
6460
  }
@@ -6463,7 +6463,7 @@ class ro extends So {
6463
6463
  * @private
6464
6464
  */
6465
6465
  _setupElements() {
6466
- Z(this.el) || this.destroy(), this.el = this._createTooltipContent(), this.options.advanceOn && ta(this), Ha(this);
6466
+ Z(this.el) || this.destroy(), this.el = this._createTooltipContent(), this.options.advanceOn && Qc(this), Na(this);
6467
6467
  }
6468
6468
  /**
6469
6469
  * Triggers `before-show`, generates the tooltip DOM content,
@@ -6499,17 +6499,17 @@ class ro extends So {
6499
6499
  this.options.highlightClass && e.classList.remove(this.options.highlightClass), e.classList.remove("shepherd-target-click-disabled", `${this.classPrefix}shepherd-enabled`, `${this.classPrefix}shepherd-target`);
6500
6500
  }
6501
6501
  }
6502
- function ju(t) {
6502
+ function Fu(t) {
6503
6503
  if (t) {
6504
6504
  const {
6505
6505
  steps: e
6506
6506
  } = t;
6507
6507
  e.forEach((n) => {
6508
- n.options && n.options.canClickTarget === !1 && n.options.attachTo && Xe(n.target) && n.target.classList.remove("shepherd-target-click-disabled");
6508
+ n.options && n.options.canClickTarget === !1 && n.options.attachTo && Ge(n.target) && n.target.classList.remove("shepherd-target-click-disabled");
6509
6509
  });
6510
6510
  }
6511
6511
  }
6512
- function Bu({
6512
+ function ju({
6513
6513
  width: t,
6514
6514
  height: e,
6515
6515
  x: n = 0,
@@ -6532,7 +6532,7 @@ function Bu({
6532
6532
  } : r;
6533
6533
  return `M${i},${s}H0V0H${i}V${s}ZM${n + l},${o}a${l},${l},0,0,0-${l},${l}V${e + o - f}a${f},${f},0,0,0,${f},${f}H${t + n - a}a${a},${a},0,0,0,${a}-${a}V${o + c}a${c},${c},0,0,0-${c}-${c}Z`;
6534
6534
  }
6535
- function Wu(t) {
6535
+ function Bu(t) {
6536
6536
  let e, n, o, r, i;
6537
6537
  return {
6538
6538
  c() {
@@ -6545,7 +6545,7 @@ function Wu(t) {
6545
6545
  t[1] ? "shepherd-modal-is-visible" : ""} shepherd-modal-overlay-container`);
6546
6546
  },
6547
6547
  m(s, l) {
6548
- pt(s, e, l), Ie(e, n), t[11](e), r || (i = $n(
6548
+ pt(s, e, l), Ie(e, n), t[11](e), r || (i = Cn(
6549
6549
  e,
6550
6550
  "touchmove",
6551
6551
  /*_preventModalOverlayTouch*/
@@ -6570,13 +6570,13 @@ function Wu(t) {
6570
6570
  }
6571
6571
  };
6572
6572
  }
6573
- function Hi(t) {
6573
+ function Ni(t) {
6574
6574
  if (!t)
6575
6575
  return null;
6576
6576
  const e = t instanceof HTMLElement && window.getComputedStyle(t).overflowY;
6577
- return e !== "hidden" && e !== "visible" && t.scrollHeight >= t.clientHeight ? t : Hi(t.parentElement);
6577
+ return e !== "hidden" && e !== "visible" && t.scrollHeight >= t.clientHeight ? t : Ni(t.parentElement);
6578
6578
  }
6579
- function Nu(t) {
6579
+ function Wu(t) {
6580
6580
  let e = {
6581
6581
  top: 0,
6582
6582
  left: 0
@@ -6596,7 +6596,7 @@ function Nu(t) {
6596
6596
  }
6597
6597
  return e;
6598
6598
  }
6599
- function Hu(t, e) {
6599
+ function Nu(t, e) {
6600
6600
  const n = t.getBoundingClientRect();
6601
6601
  let o = n.y || n.top, r = n.bottom || o + n.height;
6602
6602
  if (e) {
@@ -6609,7 +6609,7 @@ function Hu(t, e) {
6609
6609
  height: i
6610
6610
  };
6611
6611
  }
6612
- function Vu(t, e, n) {
6612
+ function Hu(t, e, n) {
6613
6613
  let {
6614
6614
  element: o,
6615
6615
  openingProperties: r
@@ -6633,7 +6633,7 @@ function Vu(t, e, n) {
6633
6633
  const {
6634
6634
  y: B,
6635
6635
  height: N
6636
- } = Hu(I, V), {
6636
+ } = Nu(I, V), {
6637
6637
  x: U,
6638
6638
  width: A,
6639
6639
  left: $
@@ -6675,7 +6675,7 @@ function Vu(t, e, n) {
6675
6675
  modalOverlayOpeningRadius: S,
6676
6676
  modalOverlayOpeningXOffset: P = 0,
6677
6677
  modalOverlayOpeningYOffset: V = 0
6678
- } = b.options, I = Nu(b.target), B = Hi(b.target), N = () => {
6678
+ } = b.options, I = Wu(b.target), B = Ni(b.target), N = () => {
6679
6679
  s = void 0, h(g, S, P + I.left, V + I.top, B, b.target), s = requestAnimationFrame(N);
6680
6680
  };
6681
6681
  N(), _();
@@ -6689,12 +6689,12 @@ function Vu(t, e, n) {
6689
6689
  "element" in b && n(0, o = b.element), "openingProperties" in b && n(4, r = b.openingProperties);
6690
6690
  }, t.$$.update = () => {
6691
6691
  t.$$.dirty & /*openingProperties*/
6692
- 16 && n(2, l = Bu(r));
6692
+ 16 && n(2, l = ju(r));
6693
6693
  }, [o, i, l, y, r, c, a, f, h, d, p, O];
6694
6694
  }
6695
- class Uu extends It {
6695
+ class Vu extends At {
6696
6696
  constructor(e) {
6697
- super(), Rt(this, e, Vu, Wu, Ct, {
6697
+ super(), It(this, e, Hu, Bu, Rt, {
6698
6698
  element: 0,
6699
6699
  openingProperties: 4,
6700
6700
  getElement: 5,
@@ -6724,22 +6724,22 @@ class Uu extends It {
6724
6724
  return this.$$.ctx[10];
6725
6725
  }
6726
6726
  }
6727
- class Vi extends So {
6727
+ class Hi extends So {
6728
6728
  constructor() {
6729
6729
  super(), this.activeTour = void 0, $o(this);
6730
6730
  }
6731
6731
  }
6732
- class qu extends So {
6732
+ class Uu extends So {
6733
6733
  constructor(e = {}) {
6734
6734
  super(), this.trackedEvents = ["active", "cancel", "complete", "show"], this.classPrefix = void 0, this.currentStep = void 0, this.focusedElBeforeOpen = void 0, this.id = void 0, this.modal = void 0, this.options = void 0, this.steps = void 0, $o(this);
6735
6735
  const n = {
6736
6736
  exitOnEsc: !0,
6737
6737
  keyboardNavigation: !0
6738
6738
  };
6739
- return this.options = Object.assign({}, n, e), this.classPrefix = Ti(this.options.classPrefix), this.steps = [], this.addSteps(this.options.steps), ["active", "cancel", "complete", "inactive", "show", "start"].map((o) => {
6739
+ return this.options = Object.assign({}, n, e), this.classPrefix = Si(this.options.classPrefix), this.steps = [], this.addSteps(this.options.steps), ["active", "cancel", "complete", "inactive", "show", "start"].map((o) => {
6740
6740
  ((r) => {
6741
6741
  this.on(r, (i) => {
6742
- i = i || {}, i.tour = this, At.trigger(r, i);
6742
+ i = i || {}, i.tour = this, Et.trigger(r, i);
6743
6743
  });
6744
6744
  })(o);
6745
6745
  }), this._setTourID(e.id), this;
@@ -6753,7 +6753,7 @@ class qu extends So {
6753
6753
  */
6754
6754
  addStep(e, n) {
6755
6755
  let o = e;
6756
- return o instanceof ro ? o.tour = this : o = new ro(this, o), Z(n) ? this.steps.push(o) : this.steps.splice(n, 0, o), o;
6756
+ return o instanceof io ? o.tour = this : o = new io(this, o), Z(n) ? this.steps.push(o) : this.steps.splice(n, 0, o), o;
6757
6757
  }
6758
6758
  /**
6759
6759
  * Add multiple steps to the tour
@@ -6817,7 +6817,7 @@ class qu extends So {
6817
6817
  * Check if the tour is active
6818
6818
  */
6819
6819
  isActive() {
6820
- return At.activeTour === this;
6820
+ return Et.activeTour === this;
6821
6821
  }
6822
6822
  /**
6823
6823
  * Go to the next step in the tour
@@ -6844,7 +6844,7 @@ class qu extends So {
6844
6844
  * @param {boolean} forward - True if we are going forward, false if backward
6845
6845
  */
6846
6846
  show(e = 0, n = !0) {
6847
- const o = Ue(e) ? this.getById(e) : this.steps[e];
6847
+ const o = qe(e) ? this.getById(e) : this.steps[e];
6848
6848
  o && (this._updateStateBeforeShow(), Lt(o.options.showOn) && !o.options.showOn() ? this._skipStep(o, n) : (this.trigger("show", {
6849
6849
  step: o,
6850
6850
  previous: this.currentStep
@@ -6863,15 +6863,15 @@ class qu extends So {
6863
6863
  */
6864
6864
  _done(e) {
6865
6865
  const n = this.steps.indexOf(this.currentStep);
6866
- if (Array.isArray(this.steps) && this.steps.forEach((o) => o.destroy()), ju(this), this.trigger(e, {
6866
+ if (Array.isArray(this.steps) && this.steps.forEach((o) => o.destroy()), Fu(this), this.trigger(e, {
6867
6867
  index: n
6868
- }), At.activeTour = null, this.trigger("inactive", {
6868
+ }), Et.activeTour = null, this.trigger("inactive", {
6869
6869
  tour: this
6870
6870
  }), this.modal && this.modal.hide(), (e === "cancel" || e === "complete") && this.modal) {
6871
6871
  const o = document.querySelector(".shepherd-modal-overlay-container");
6872
6872
  o && (o.remove(), this.modal = null);
6873
6873
  }
6874
- Xe(this.focusedElBeforeOpen) && this.focusedElBeforeOpen.focus();
6874
+ Ge(this.focusedElBeforeOpen) && this.focusedElBeforeOpen.focus();
6875
6875
  }
6876
6876
  /**
6877
6877
  * Make this tour "active"
@@ -6879,13 +6879,13 @@ class qu extends So {
6879
6879
  _setupActiveTour() {
6880
6880
  this.trigger("active", {
6881
6881
  tour: this
6882
- }), At.activeTour = this;
6882
+ }), Et.activeTour = this;
6883
6883
  }
6884
6884
  /**
6885
6885
  * setupModal create the modal container and instance
6886
6886
  */
6887
6887
  setupModal() {
6888
- this.modal = new Uu({
6888
+ this.modal = new Vu({
6889
6889
  target: this.options.modalContainer || document.body,
6890
6890
  props: {
6891
6891
  // @ts-expect-error TODO: investigate where styles comes from
@@ -6922,16 +6922,16 @@ class qu extends So {
6922
6922
  * @private
6923
6923
  */
6924
6924
  _setTourID(e) {
6925
- const n = this.options.tourName || "tour", o = e || Ci();
6925
+ const n = this.options.tourName || "tour", o = e || $i();
6926
6926
  this.id = `${n}--${o}`;
6927
6927
  }
6928
6928
  }
6929
- const At = new Vi(), Ui = typeof window > "u";
6930
- At.Step = Ui ? ea : ro;
6931
- At.Tour = Ui ? na : qu;
6932
- const io = (t, e) => e.some((n) => t instanceof n);
6929
+ const Et = new Hi(), Vi = typeof window > "u";
6930
+ Et.Step = Vi ? ta : io;
6931
+ Et.Tour = Vi ? ea : Uu;
6932
+ const so = (t, e) => e.some((n) => t instanceof n);
6933
6933
  let qr, Yr;
6934
- function Yu() {
6934
+ function qu() {
6935
6935
  return qr || (qr = [
6936
6936
  IDBDatabase,
6937
6937
  IDBObjectStore,
@@ -6940,15 +6940,15 @@ function Yu() {
6940
6940
  IDBTransaction
6941
6941
  ]);
6942
6942
  }
6943
- function Ku() {
6943
+ function Yu() {
6944
6944
  return Yr || (Yr = [
6945
6945
  IDBCursor.prototype.advance,
6946
6946
  IDBCursor.prototype.continue,
6947
6947
  IDBCursor.prototype.continuePrimaryKey
6948
6948
  ]);
6949
6949
  }
6950
- const so = /* @__PURE__ */ new WeakMap(), Yn = /* @__PURE__ */ new WeakMap(), Cn = /* @__PURE__ */ new WeakMap();
6951
- function zu(t) {
6950
+ const lo = /* @__PURE__ */ new WeakMap(), Kn = /* @__PURE__ */ new WeakMap(), Rn = /* @__PURE__ */ new WeakMap();
6951
+ function Ku(t) {
6952
6952
  const e = new Promise((n, o) => {
6953
6953
  const r = () => {
6954
6954
  t.removeEventListener("success", i), t.removeEventListener("error", s);
@@ -6959,10 +6959,10 @@ function zu(t) {
6959
6959
  };
6960
6960
  t.addEventListener("success", i), t.addEventListener("error", s);
6961
6961
  });
6962
- return Cn.set(e, t), e;
6962
+ return Rn.set(e, t), e;
6963
6963
  }
6964
- function Ju(t) {
6965
- if (so.has(t))
6964
+ function zu(t) {
6965
+ if (lo.has(t))
6966
6966
  return;
6967
6967
  const e = new Promise((n, o) => {
6968
6968
  const r = () => {
@@ -6974,13 +6974,13 @@ function Ju(t) {
6974
6974
  };
6975
6975
  t.addEventListener("complete", i), t.addEventListener("error", s), t.addEventListener("abort", s);
6976
6976
  });
6977
- so.set(t, e);
6977
+ lo.set(t, e);
6978
6978
  }
6979
- let lo = {
6979
+ let co = {
6980
6980
  get(t, e, n) {
6981
6981
  if (t instanceof IDBTransaction) {
6982
6982
  if (e === "done")
6983
- return so.get(t);
6983
+ return lo.get(t);
6984
6984
  if (e === "store")
6985
6985
  return n.objectStoreNames[1] ? void 0 : n.objectStore(n.objectStoreNames[0]);
6986
6986
  }
@@ -6993,29 +6993,29 @@ let lo = {
6993
6993
  return t instanceof IDBTransaction && (e === "done" || e === "store") ? !0 : e in t;
6994
6994
  }
6995
6995
  };
6996
- function qi(t) {
6997
- lo = t(lo);
6996
+ function Ui(t) {
6997
+ co = t(co);
6998
6998
  }
6999
- function Xu(t) {
7000
- return Ku().includes(t) ? function(...e) {
7001
- return t.apply(co(this), e), te(this.request);
6999
+ function Ju(t) {
7000
+ return Yu().includes(t) ? function(...e) {
7001
+ return t.apply(ao(this), e), te(this.request);
7002
7002
  } : function(...e) {
7003
- return te(t.apply(co(this), e));
7003
+ return te(t.apply(ao(this), e));
7004
7004
  };
7005
7005
  }
7006
- function Gu(t) {
7007
- return typeof t == "function" ? Xu(t) : (t instanceof IDBTransaction && Ju(t), io(t, Yu()) ? new Proxy(t, lo) : t);
7006
+ function Xu(t) {
7007
+ return typeof t == "function" ? Ju(t) : (t instanceof IDBTransaction && zu(t), so(t, qu()) ? new Proxy(t, co) : t);
7008
7008
  }
7009
7009
  function te(t) {
7010
7010
  if (t instanceof IDBRequest)
7011
- return zu(t);
7012
- if (Yn.has(t))
7013
- return Yn.get(t);
7014
- const e = Gu(t);
7015
- return e !== t && (Yn.set(t, e), Cn.set(e, t)), e;
7016
- }
7017
- const co = (t) => Cn.get(t);
7018
- function Zu(t, e, { blocked: n, upgrade: o, blocking: r, terminated: i } = {}) {
7011
+ return Ku(t);
7012
+ if (Kn.has(t))
7013
+ return Kn.get(t);
7014
+ const e = Xu(t);
7015
+ return e !== t && (Kn.set(t, e), Rn.set(e, t)), e;
7016
+ }
7017
+ const ao = (t) => Rn.get(t);
7018
+ function Gu(t, e, { blocked: n, upgrade: o, blocking: r, terminated: i } = {}) {
7019
7019
  const s = indexedDB.open(t, e), l = te(s);
7020
7020
  return o && s.addEventListener("upgradeneeded", (c) => {
7021
7021
  o(te(s.result), c.oldVersion, c.newVersion, te(s.transaction), c);
@@ -7029,16 +7029,16 @@ function Zu(t, e, { blocked: n, upgrade: o, blocking: r, terminated: i } = {}) {
7029
7029
  }).catch(() => {
7030
7030
  }), l;
7031
7031
  }
7032
- const Qu = ["get", "getKey", "getAll", "getAllKeys", "count"], tf = ["put", "add", "delete", "clear"], Kn = /* @__PURE__ */ new Map();
7032
+ const Zu = ["get", "getKey", "getAll", "getAllKeys", "count"], Qu = ["put", "add", "delete", "clear"], zn = /* @__PURE__ */ new Map();
7033
7033
  function Kr(t, e) {
7034
7034
  if (!(t instanceof IDBDatabase && !(e in t) && typeof e == "string"))
7035
7035
  return;
7036
- if (Kn.get(e))
7037
- return Kn.get(e);
7038
- const n = e.replace(/FromIndex$/, ""), o = e !== n, r = tf.includes(n);
7036
+ if (zn.get(e))
7037
+ return zn.get(e);
7038
+ const n = e.replace(/FromIndex$/, ""), o = e !== n, r = Qu.includes(n);
7039
7039
  if (
7040
7040
  // Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
7041
- !(n in (o ? IDBIndex : IDBObjectStore).prototype) || !(r || Qu.includes(n))
7041
+ !(n in (o ? IDBIndex : IDBObjectStore).prototype) || !(r || Zu.includes(n))
7042
7042
  )
7043
7043
  return;
7044
7044
  const i = async function(s, ...l) {
@@ -7049,52 +7049,52 @@ function Kr(t, e) {
7049
7049
  r && c.done
7050
7050
  ]))[0];
7051
7051
  };
7052
- return Kn.set(e, i), i;
7052
+ return zn.set(e, i), i;
7053
7053
  }
7054
- qi((t) => ({
7054
+ Ui((t) => ({
7055
7055
  ...t,
7056
7056
  get: (e, n, o) => Kr(e, n) || t.get(e, n, o),
7057
7057
  has: (e, n) => !!Kr(e, n) || t.has(e, n)
7058
7058
  }));
7059
- const ef = ["continue", "continuePrimaryKey", "advance"], zr = {}, ao = /* @__PURE__ */ new WeakMap(), Yi = /* @__PURE__ */ new WeakMap(), nf = {
7059
+ const tf = ["continue", "continuePrimaryKey", "advance"], zr = {}, uo = /* @__PURE__ */ new WeakMap(), qi = /* @__PURE__ */ new WeakMap(), ef = {
7060
7060
  get(t, e) {
7061
- if (!ef.includes(e))
7061
+ if (!tf.includes(e))
7062
7062
  return t[e];
7063
7063
  let n = zr[e];
7064
7064
  return n || (n = zr[e] = function(...o) {
7065
- ao.set(this, Yi.get(this)[e](...o));
7065
+ uo.set(this, qi.get(this)[e](...o));
7066
7066
  }), n;
7067
7067
  }
7068
7068
  };
7069
- async function* of(...t) {
7069
+ async function* nf(...t) {
7070
7070
  let e = this;
7071
7071
  if (e instanceof IDBCursor || (e = await e.openCursor(...t)), !e)
7072
7072
  return;
7073
7073
  e = e;
7074
- const n = new Proxy(e, nf);
7075
- for (Yi.set(n, e), Cn.set(n, co(e)); e; )
7076
- yield n, e = await (ao.get(n) || e.continue()), ao.delete(n);
7074
+ const n = new Proxy(e, ef);
7075
+ for (qi.set(n, e), Rn.set(n, ao(e)); e; )
7076
+ yield n, e = await (uo.get(n) || e.continue()), uo.delete(n);
7077
7077
  }
7078
7078
  function Jr(t, e) {
7079
- return e === Symbol.asyncIterator && io(t, [IDBIndex, IDBObjectStore, IDBCursor]) || e === "iterate" && io(t, [IDBIndex, IDBObjectStore]);
7079
+ return e === Symbol.asyncIterator && so(t, [IDBIndex, IDBObjectStore, IDBCursor]) || e === "iterate" && so(t, [IDBIndex, IDBObjectStore]);
7080
7080
  }
7081
- qi((t) => ({
7081
+ Ui((t) => ({
7082
7082
  ...t,
7083
7083
  get(e, n, o) {
7084
- return Jr(e, n) ? of : t.get(e, n, o);
7084
+ return Jr(e, n) ? nf : t.get(e, n, o);
7085
7085
  },
7086
7086
  has(e, n) {
7087
7087
  return Jr(e, n) || t.has(e, n);
7088
7088
  }
7089
7089
  }));
7090
7090
  var ge, me, je;
7091
- class rf {
7091
+ class of {
7092
7092
  constructor(e, n, o) {
7093
- if (cn(this, ge), cn(this, me), cn(this, je), be(this, "tourStateDb"), !e)
7093
+ if (an(this, ge), an(this, me), an(this, je), be(this, "tourStateDb"), !e)
7094
7094
  throw new Error("Shepherd Pro: Missing required apiKey option.");
7095
7095
  if (!n)
7096
7096
  throw new Error("Shepherd Pro: Missing required apiPath option.");
7097
- an(this, ge, e), an(this, me, n), an(this, je, o);
7097
+ un(this, ge, e), un(this, me, n), un(this, je, o);
7098
7098
  }
7099
7099
  getConfig() {
7100
7100
  return {
@@ -7118,7 +7118,7 @@ class rf {
7118
7118
  if (!e.ok)
7119
7119
  throw new Error("Could not fetch state for tours 🐑");
7120
7120
  const { data: n } = await e.json();
7121
- if (this.tourStateDb = await Zu("TourState", 1, {
7121
+ if (this.tourStateDb = await Gu("TourState", 1, {
7122
7122
  upgrade(o) {
7123
7123
  o.createObjectStore("tours", {
7124
7124
  keyPath: "uniqueId"
@@ -7161,21 +7161,21 @@ class rf {
7161
7161
  }
7162
7162
  }
7163
7163
  ge = /* @__PURE__ */ new WeakMap(), me = /* @__PURE__ */ new WeakMap(), je = /* @__PURE__ */ new WeakMap();
7164
- function sf(t) {
7164
+ function rf(t) {
7165
7165
  let e = {};
7166
7166
  if (t.navigator) {
7167
7167
  const n = t.navigator.userAgent;
7168
7168
  e = {
7169
7169
  ...e,
7170
- $os: cf(t),
7171
- $browser: Ki(n, t.navigator.vendor, !!t.opera),
7170
+ $os: lf(t),
7171
+ $browser: Yi(n, t.navigator.vendor, !!t.opera),
7172
7172
  $referrer: t.document.referrer,
7173
- $referring_domain: uf(t.document.referrer),
7174
- $device: af(n),
7173
+ $referring_domain: af(t.document.referrer),
7174
+ $device: cf(n),
7175
7175
  $current_url: t.location.href,
7176
7176
  $host: t.location.host,
7177
7177
  $pathname: t.location.pathname,
7178
- $browser_version: lf(
7178
+ $browser_version: sf(
7179
7179
  n,
7180
7180
  t.navigator.vendor,
7181
7181
  !!t.opera
@@ -7197,10 +7197,10 @@ function sf(t) {
7197
7197
  function K(t, e) {
7198
7198
  return t.indexOf(e) >= 0;
7199
7199
  }
7200
- function Ki(t, e, n) {
7200
+ function Yi(t, e, n) {
7201
7201
  return e = e || "", n || K(t, " OPR/") ? K(t, "Mini") ? "Opera Mini" : "Opera" : /(BlackBerry|PlayBook|BB10)/i.test(t) ? "BlackBerry" : K(t, "IEMobile") || K(t, "WPDesktop") ? "Internet Explorer Mobile" : K(t, "SamsungBrowser/") ? "Samsung Internet" : K(t, "Edge") || K(t, "Edg/") ? "Microsoft Edge" : K(t, "FBIOS") ? "Facebook Mobile" : K(t, "Chrome") ? "Chrome" : K(t, "CriOS") ? "Chrome iOS" : K(t, "UCWEB") || K(t, "UCBrowser") ? "UC Browser" : K(t, "FxiOS") ? "Firefox iOS" : K(e, "Apple") ? K(t, "Mobile") ? "Mobile Safari" : "Safari" : K(t, "Android") ? "Android Mobile" : K(t, "Konqueror") ? "Konqueror" : K(t, "Firefox") ? "Firefox" : K(t, "MSIE") || K(t, "Trident/") ? "Internet Explorer" : K(t, "Gecko") ? "Mozilla" : "";
7202
7202
  }
7203
- function lf(t, e, n) {
7203
+ function sf(t, e, n) {
7204
7204
  const o = {
7205
7205
  "Internet Explorer Mobile": /rv:(\d+(\.\d+)?)/,
7206
7206
  "Microsoft Edge": /Edge?\/(\d+(\.\d+)?)/,
@@ -7218,7 +7218,7 @@ function lf(t, e, n) {
7218
7218
  "Samsung Internet": /SamsungBrowser\/(\d+(\.\d+)?)/,
7219
7219
  "Internet Explorer": /(rv:|MSIE )(\d+(\.\d+)?)/,
7220
7220
  Mozilla: /rv:(\d+(\.\d+)?)/
7221
- }, r = Ki(
7221
+ }, r = Yi(
7222
7222
  t,
7223
7223
  e,
7224
7224
  n
@@ -7228,23 +7228,23 @@ function lf(t, e, n) {
7228
7228
  const s = t.match(i);
7229
7229
  return s ? parseFloat(s[s.length - 2]) : null;
7230
7230
  }
7231
- function cf(t) {
7231
+ function lf(t) {
7232
7232
  const e = t.navigator.userAgent;
7233
7233
  return /Windows/i.test(e) ? /Phone/.test(e) || /WPDesktop/.test(e) ? "Windows Phone" : "Windows" : /(iPhone|iPad|iPod)/.test(e) ? "iOS" : /Android/.test(e) ? "Android" : /(BlackBerry|PlayBook|BB10)/i.test(e) ? "BlackBerry" : /Mac/i.test(e) ? "Mac OS X" : /Linux/.test(e) ? "Linux" : /CrOS/.test(e) ? "Chrome OS" : "";
7234
7234
  }
7235
- function af(t) {
7235
+ function cf(t) {
7236
7236
  return /Windows Phone/i.test(t) || /WPDesktop/.test(t) ? "Windows Phone" : /iPad/.test(t) ? "iPad" : /iPod/.test(t) ? "iPod Touch" : /iPhone/.test(t) ? "iPhone" : /(BlackBerry|PlayBook|BB10)/i.test(t) ? "BlackBerry" : /Android/.test(t) ? "Android" : "";
7237
7237
  }
7238
- function uf(t) {
7238
+ function af(t) {
7239
7239
  const e = t.split("/");
7240
7240
  return e.length >= 3 ? e[2] : "";
7241
7241
  }
7242
- const ff = "https://shepherdpro.com", uo = "shepherdPro:userId";
7243
- var fn;
7244
- class zi extends At.Tour {
7242
+ const uf = "https://shepherdpro.com", fo = "shepherdPro:userId";
7243
+ var dn;
7244
+ class Ki extends Et.Tour {
7245
7245
  constructor(e) {
7246
- super(e), cn(this, fn, null), an(this, fn, localStorage.getItem(uo));
7247
- const { dataRequester: n } = fo;
7246
+ super(e), an(this, dn, null), un(this, dn, localStorage.getItem(fo));
7247
+ const { dataRequester: n } = Ne;
7248
7248
  n && this.trackedEvents.forEach(
7249
7249
  (o) => this.on(o, (r) => {
7250
7250
  const { tour: i } = r, { id: s, steps: l } = i;
@@ -7254,7 +7254,7 @@ class zi extends At.Tour {
7254
7254
  f && (c = l.findIndex((h) => h.id === f.id) + 1);
7255
7255
  }
7256
7256
  const a = {
7257
- currentUserId: _t(this, fn),
7257
+ currentUserId: _t(this, dn),
7258
7258
  eventType: o,
7259
7259
  journeyData: {
7260
7260
  id: s,
@@ -7271,13 +7271,13 @@ class zi extends At.Tour {
7271
7271
  * Start the tour, if enabled
7272
7272
  */
7273
7273
  async start() {
7274
- await fo.isTourEnabled(this.options.id) && super.start();
7274
+ await Ne.isTourEnabled(this.options.id) && (super.start(), Ne.activeTour = Et.activeTour);
7275
7275
  }
7276
7276
  }
7277
- fn = /* @__PURE__ */ new WeakMap(), be(zi, "trackedEvents", ["active", "cancel", "complete", "show"]);
7278
- class df extends Vi {
7277
+ dn = /* @__PURE__ */ new WeakMap(), be(Ki, "trackedEvents", ["active", "cancel", "complete", "show"]);
7278
+ class ff extends Hi {
7279
7279
  constructor() {
7280
- super(), be(this, "apiKey"), be(this, "apiPath"), be(this, "dataRequester"), be(this, "properties"), this.Tour = zi;
7280
+ super(), be(this, "apiKey"), be(this, "apiPath"), be(this, "dataRequester"), be(this, "properties"), this.Tour = Ki, this.Step = Et.Step;
7281
7281
  }
7282
7282
  /**
7283
7283
  * Call init to take full advantage of ShepherdPro functionality
@@ -7288,13 +7288,13 @@ class df extends Vi {
7288
7288
  async init(e, n, o) {
7289
7289
  if (!e)
7290
7290
  throw new Error("Shepherd Pro: Missing required apiKey option.");
7291
- if (this.apiKey = e, this.apiPath = n ?? ff, this.properties = o ?? {}, this.properties.context = sf(window), this.apiKey) {
7292
- this.dataRequester = new rf(
7291
+ if (this.apiKey = e, this.apiPath = n ?? uf, this.properties = o ?? {}, this.properties.context = rf(window), this.apiKey) {
7292
+ this.dataRequester = new of(
7293
7293
  this.apiKey,
7294
7294
  this.apiPath,
7295
7295
  this.properties
7296
7296
  );
7297
- const r = localStorage.getItem(uo), i = [this.dataRequester.getTourState()];
7297
+ const r = localStorage.getItem(fo), i = [this.dataRequester.getTourState()];
7298
7298
  r || i.push(this.createNewActor()), await Promise.all(i);
7299
7299
  }
7300
7300
  }
@@ -7306,7 +7306,7 @@ class df extends Vi {
7306
7306
  eventType: "setup"
7307
7307
  }
7308
7308
  });
7309
- localStorage.setItem(uo, String(e.actorId));
7309
+ localStorage.setItem(fo, String(e.actorId));
7310
7310
  }
7311
7311
  /**
7312
7312
  * Checks if a given tour's id is enabled
@@ -7322,28 +7322,28 @@ class df extends Vi {
7322
7322
  return (o == null ? void 0 : o.isActive) ?? !0;
7323
7323
  }
7324
7324
  }
7325
- const fo = new df(), Xr = Object.assign(fo, At), Fo = _s(
7325
+ const Ne = new ff(), Fo = xs(
7326
7326
  void 0
7327
- ), pf = Fo.Consumer, gf = () => {
7328
- const t = Es(Fo);
7327
+ ), hf = Fo.Consumer, pf = () => {
7328
+ const t = _s(Fo);
7329
7329
  if (!t)
7330
7330
  throw new Error(
7331
7331
  "useShepherd must be used within a ShepherdJourneyProvider"
7332
7332
  );
7333
7333
  const { Shepherd: e } = t;
7334
7334
  return e;
7335
- }, mf = ({
7335
+ }, gf = ({
7336
7336
  apiKey: t,
7337
7337
  apiPath: e,
7338
7338
  properties: n,
7339
7339
  children: o
7340
7340
  }) => {
7341
7341
  let r = Yt;
7342
- return typeof window < "u" && t && (r = Xr, Xr.init(t, e, n)), /* @__PURE__ */ Ts.jsx(Fo.Provider, { value: { Shepherd: r }, children: o });
7342
+ return typeof window < "u" && t && (r = Ne, Ne.init(t, e, n)), /* @__PURE__ */ Ss.jsx(Fo.Provider, { value: { Shepherd: r }, children: o });
7343
7343
  };
7344
7344
  export {
7345
- pf as JourneyMethods,
7345
+ hf as JourneyMethods,
7346
7346
  Fo as ShepherdJourneyContext,
7347
- mf as ShepherdJourneyProvider,
7348
- gf as useShepherd
7347
+ gf as ShepherdJourneyProvider,
7348
+ pf as useShepherd
7349
7349
  };