@konnectio/core 4.0.38 → 4.0.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/dist/{ActionField-cd683106.js → ActionField-60b4ebb2.js} +2 -2
  2. package/dist/ActionField-60b4ebb2.js.br +0 -0
  3. package/dist/{ActionField-dc98863c.cjs → ActionField-b2dd3217.cjs} +1 -1
  4. package/dist/{AvailabilitySkeleton-64372a3d.js → AvailabilitySkeleton-8f2cb769.js} +5 -5
  5. package/dist/AvailabilitySkeleton-8f2cb769.js.br +0 -0
  6. package/dist/{AvailabilitySkeleton-2dd88f42.cjs → AvailabilitySkeleton-dca8b252.cjs} +1 -1
  7. package/dist/{DateField.vue_vue_type_style_index_0_lang-239ef816.js → DateField.vue_vue_type_style_index_0_lang-cabe193e.js} +1 -1
  8. package/dist/DateField.vue_vue_type_style_index_0_lang-cabe193e.js.br +0 -0
  9. package/dist/{DateField.vue_vue_type_style_index_0_lang-7267a5fa.cjs → DateField.vue_vue_type_style_index_0_lang-e4bf6579.cjs} +1 -1
  10. package/dist/{Field-825b33aa.cjs → Field-03c61aee.cjs} +1 -1
  11. package/dist/{Field-94ac0265.js → Field-19640674.js} +2 -2
  12. package/dist/Field-19640674.js.br +0 -0
  13. package/dist/{NumberField.vue_vue_type_script_setup_true_lang-ab43cf10.js → NumberField.vue_vue_type_script_setup_true_lang-ada222c7.js} +1 -1
  14. package/dist/NumberField.vue_vue_type_script_setup_true_lang-ada222c7.js.br +0 -0
  15. package/dist/{NumberField.vue_vue_type_script_setup_true_lang-4b483b4b.cjs → NumberField.vue_vue_type_script_setup_true_lang-b3e83a4d.cjs} +1 -1
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-a4d7be42.cjs → SelectField.vue_vue_type_style_index_0_lang-1dc998e0.cjs} +30 -30
  17. package/dist/{SelectField.vue_vue_type_style_index_0_lang-9187c95a.js → SelectField.vue_vue_type_style_index_0_lang-9b78302d.js} +1301 -1299
  18. package/dist/SelectField.vue_vue_type_style_index_0_lang-9b78302d.js.br +0 -0
  19. package/dist/{ThankYou-d505adc9.js → ThankYou-18bef897.js} +4 -4
  20. package/dist/ThankYou-18bef897.js.br +0 -0
  21. package/dist/{ThankYou-2219aecc.cjs → ThankYou-2313373f.cjs} +1 -1
  22. package/dist/{_-e90b6bab.js → _-6e1eca9d.js} +1 -1
  23. package/dist/{_-b9738f5d.cjs → _-e6cecc7f.cjs} +1 -1
  24. package/dist/availability.cjs +1 -1
  25. package/dist/availability.js +7 -7
  26. package/dist/availability.js.br +0 -0
  27. package/dist/{event-9b5b92a7.js → event-6e2cdb77.js} +7 -7
  28. package/dist/event-6e2cdb77.js.br +0 -0
  29. package/dist/{event-8dde494e.cjs → event-d848bde5.cjs} +1 -1
  30. package/dist/event.cjs +1 -1
  31. package/dist/event.js +8 -8
  32. package/dist/event.js.br +0 -0
  33. package/dist/gift-card-validation.cjs +1 -1
  34. package/dist/gift-card-validation.js +3 -3
  35. package/dist/gift-card-validation.js.br +0 -0
  36. package/dist/gift-card.cjs +1 -1
  37. package/dist/gift-card.js +5 -5
  38. package/dist/gift-card.js.br +0 -0
  39. package/dist/hotel.cjs +5 -5
  40. package/dist/hotel.js +546 -543
  41. package/dist/hotel.js.br +0 -0
  42. package/dist/{index-524d9d24.js → index-8abf7dfc.js} +1 -1
  43. package/dist/index-8abf7dfc.js.br +0 -0
  44. package/dist/{index-85e3a13d.cjs → index-9663f159.cjs} +1 -1
  45. package/dist/polyfill.cjs +1 -1
  46. package/dist/polyfill.js +1 -1
  47. package/dist/polyfill.js.br +0 -0
  48. package/dist/store/utilities.d.ts +4 -1
  49. package/dist/style.css +1 -1
  50. package/dist/style.css.br +0 -0
  51. package/package.json +1 -1
  52. package/dist/ActionField-cd683106.js.br +0 -0
  53. package/dist/AvailabilitySkeleton-64372a3d.js.br +0 -0
  54. package/dist/DateField.vue_vue_type_style_index_0_lang-239ef816.js.br +0 -0
  55. package/dist/Field-94ac0265.js.br +0 -0
  56. package/dist/NumberField.vue_vue_type_script_setup_true_lang-ab43cf10.js.br +0 -0
  57. package/dist/SelectField.vue_vue_type_style_index_0_lang-9187c95a.js.br +0 -0
  58. package/dist/ThankYou-d505adc9.js.br +0 -0
  59. package/dist/event-9b5b92a7.js.br +0 -0
  60. package/dist/index-524d9d24.js.br +0 -0
@@ -3264,12 +3264,12 @@ function k0(e, t) {
3264
3264
  nextSibling: d,
3265
3265
  setScopeId: h = Zt,
3266
3266
  insertStaticContent: y
3267
- } = e, g = (B, L, x, $ = null, ee = null, le = null, q = !1, W = null, ne = !!L.dynamicChildren) => {
3267
+ } = e, g = (B, L, x, $ = null, Z = null, le = null, q = !1, X = null, re = !!L.dynamicChildren) => {
3268
3268
  if (B === L)
3269
3269
  return;
3270
- B && !Vn(B, L) && ($ = J(B), V(B, ee, le, !0), B = null), L.patchFlag === -2 && (ne = !1, L.dynamicChildren = null);
3271
- const { type: ie, ref: oe, shapeFlag: ce } = L;
3272
- switch (ie) {
3270
+ B && !Vn(B, L) && ($ = Y(B), V(B, Z, le, !0), B = null), L.patchFlag === -2 && (re = !1, L.dynamicChildren = null);
3271
+ const { type: ne, ref: oe, shapeFlag: ce } = L;
3272
+ switch (ne) {
3273
3273
  case Ar:
3274
3274
  _(B, L, x, $);
3275
3275
  break;
@@ -3285,11 +3285,11 @@ function k0(e, t) {
3285
3285
  L,
3286
3286
  x,
3287
3287
  $,
3288
- ee,
3288
+ Z,
3289
3289
  le,
3290
3290
  q,
3291
- W,
3292
- ne
3291
+ X,
3292
+ re
3293
3293
  );
3294
3294
  break;
3295
3295
  default:
@@ -3298,35 +3298,35 @@ function k0(e, t) {
3298
3298
  L,
3299
3299
  x,
3300
3300
  $,
3301
- ee,
3301
+ Z,
3302
3302
  le,
3303
3303
  q,
3304
- W,
3305
- ne
3304
+ X,
3305
+ re
3306
3306
  ) : ce & 6 ? C(
3307
3307
  B,
3308
3308
  L,
3309
3309
  x,
3310
3310
  $,
3311
- ee,
3311
+ Z,
3312
3312
  le,
3313
3313
  q,
3314
- W,
3315
- ne
3316
- ) : (ce & 64 || ce & 128) && ie.process(
3314
+ X,
3315
+ re
3316
+ ) : (ce & 64 || ce & 128) && ne.process(
3317
3317
  B,
3318
3318
  L,
3319
3319
  x,
3320
3320
  $,
3321
- ee,
3321
+ Z,
3322
3322
  le,
3323
3323
  q,
3324
- W,
3325
- ne,
3326
- Q
3324
+ X,
3325
+ re,
3326
+ ee
3327
3327
  );
3328
3328
  }
3329
- oe != null && ee && $s(oe, B && B.ref, le, L || B, !L);
3329
+ oe != null && Z && $s(oe, B && B.ref, le, L || B, !L);
3330
3330
  }, _ = (B, L, x, $) => {
3331
3331
  if (B == null)
3332
3332
  r(
@@ -3335,8 +3335,8 @@ function k0(e, t) {
3335
3335
  $
3336
3336
  );
3337
3337
  else {
3338
- const ee = L.el = B.el;
3339
- L.children !== B.children && u(ee, L.children);
3338
+ const Z = L.el = B.el;
3339
+ L.children !== B.children && u(Z, L.children);
3340
3340
  }
3341
3341
  }, m = (B, L, x, $) => {
3342
3342
  B == null ? r(
@@ -3354,115 +3354,115 @@ function k0(e, t) {
3354
3354
  B.anchor
3355
3355
  );
3356
3356
  }, b = ({ el: B, anchor: L }, x, $) => {
3357
- let ee;
3357
+ let Z;
3358
3358
  for (; B && B !== L; )
3359
- ee = d(B), r(B, x, $), B = ee;
3359
+ Z = d(B), r(B, x, $), B = Z;
3360
3360
  r(L, x, $);
3361
3361
  }, p = ({ el: B, anchor: L }) => {
3362
3362
  let x;
3363
3363
  for (; B && B !== L; )
3364
3364
  x = d(B), i(B), B = x;
3365
3365
  i(L);
3366
- }, E = (B, L, x, $, ee, le, q, W, ne) => {
3366
+ }, E = (B, L, x, $, Z, le, q, X, re) => {
3367
3367
  q = q || L.type === "svg", B == null ? k(
3368
3368
  L,
3369
3369
  x,
3370
3370
  $,
3371
- ee,
3371
+ Z,
3372
3372
  le,
3373
3373
  q,
3374
- W,
3375
- ne
3374
+ X,
3375
+ re
3376
3376
  ) : P(
3377
3377
  B,
3378
3378
  L,
3379
- ee,
3379
+ Z,
3380
3380
  le,
3381
3381
  q,
3382
- W,
3383
- ne
3382
+ X,
3383
+ re
3384
3384
  );
3385
- }, k = (B, L, x, $, ee, le, q, W) => {
3386
- let ne, ie;
3387
- const { type: oe, props: ce, shapeFlag: G, transition: re, dirs: pe } = B;
3388
- if (ne = B.el = o(
3385
+ }, k = (B, L, x, $, Z, le, q, X) => {
3386
+ let re, ne;
3387
+ const { type: oe, props: ce, shapeFlag: W, transition: ie, dirs: pe } = B;
3388
+ if (re = B.el = o(
3389
3389
  B.type,
3390
3390
  le,
3391
3391
  ce && ce.is,
3392
3392
  ce
3393
- ), G & 8 ? f(ne, B.children) : G & 16 && S(
3393
+ ), W & 8 ? f(re, B.children) : W & 16 && S(
3394
3394
  B.children,
3395
- ne,
3395
+ re,
3396
3396
  null,
3397
3397
  $,
3398
- ee,
3398
+ Z,
3399
3399
  le && oe !== "foreignObject",
3400
3400
  q,
3401
- W
3402
- ), pe && nr(B, null, $, "created"), T(ne, B, B.scopeId, q, $), ce) {
3401
+ X
3402
+ ), pe && nr(B, null, $, "created"), T(re, B, B.scopeId, q, $), ce) {
3403
3403
  for (const ve in ce)
3404
3404
  ve !== "value" && !Vi(ve) && a(
3405
- ne,
3405
+ re,
3406
3406
  ve,
3407
3407
  null,
3408
3408
  ce[ve],
3409
3409
  le,
3410
3410
  B.children,
3411
3411
  $,
3412
- ee,
3412
+ Z,
3413
3413
  F
3414
3414
  );
3415
- "value" in ce && a(ne, "value", null, ce.value), (ie = ce.onVnodeBeforeMount) && on(ie, $, B);
3415
+ "value" in ce && a(re, "value", null, ce.value), (ne = ce.onVnodeBeforeMount) && on(ne, $, B);
3416
3416
  }
3417
3417
  pe && nr(B, null, $, "beforeMount");
3418
- const ge = C0(ee, re);
3419
- ge && re.beforeEnter(ne), r(ne, L, x), ((ie = ce && ce.onVnodeMounted) || ge || pe) && Rt(() => {
3420
- ie && on(ie, $, B), ge && re.enter(ne), pe && nr(B, null, $, "mounted");
3421
- }, ee);
3422
- }, T = (B, L, x, $, ee) => {
3418
+ const ge = C0(Z, ie);
3419
+ ge && ie.beforeEnter(re), r(re, L, x), ((ne = ce && ce.onVnodeMounted) || ge || pe) && Rt(() => {
3420
+ ne && on(ne, $, B), ge && ie.enter(re), pe && nr(B, null, $, "mounted");
3421
+ }, Z);
3422
+ }, T = (B, L, x, $, Z) => {
3423
3423
  if (x && h(B, x), $)
3424
3424
  for (let le = 0; le < $.length; le++)
3425
3425
  h(B, $[le]);
3426
- if (ee) {
3427
- let le = ee.subTree;
3426
+ if (Z) {
3427
+ let le = Z.subTree;
3428
3428
  if (L === le) {
3429
- const q = ee.vnode;
3429
+ const q = Z.vnode;
3430
3430
  T(
3431
3431
  B,
3432
3432
  q,
3433
3433
  q.scopeId,
3434
3434
  q.slotScopeIds,
3435
- ee.parent
3435
+ Z.parent
3436
3436
  );
3437
3437
  }
3438
3438
  }
3439
- }, S = (B, L, x, $, ee, le, q, W, ne = 0) => {
3440
- for (let ie = ne; ie < B.length; ie++) {
3441
- const oe = B[ie] = W ? Wr(B[ie]) : pn(B[ie]);
3439
+ }, S = (B, L, x, $, Z, le, q, X, re = 0) => {
3440
+ for (let ne = re; ne < B.length; ne++) {
3441
+ const oe = B[ne] = X ? Wr(B[ne]) : pn(B[ne]);
3442
3442
  g(
3443
3443
  null,
3444
3444
  oe,
3445
3445
  L,
3446
3446
  x,
3447
3447
  $,
3448
- ee,
3448
+ Z,
3449
3449
  le,
3450
3450
  q,
3451
- W
3451
+ X
3452
3452
  );
3453
3453
  }
3454
- }, P = (B, L, x, $, ee, le, q) => {
3455
- const W = L.el = B.el;
3456
- let { patchFlag: ne, dynamicChildren: ie, dirs: oe } = L;
3457
- ne |= B.patchFlag & 16;
3458
- const ce = B.props || Ye, G = L.props || Ye;
3459
- let re;
3460
- x && Si(x, !1), (re = G.onVnodeBeforeUpdate) && on(re, x, L, B), oe && nr(L, B, x, "beforeUpdate"), x && Si(x, !0);
3461
- const pe = ee && L.type !== "foreignObject";
3462
- if (ie ? N(
3454
+ }, P = (B, L, x, $, Z, le, q) => {
3455
+ const X = L.el = B.el;
3456
+ let { patchFlag: re, dynamicChildren: ne, dirs: oe } = L;
3457
+ re |= B.patchFlag & 16;
3458
+ const ce = B.props || Ye, W = L.props || Ye;
3459
+ let ie;
3460
+ x && Si(x, !1), (ie = W.onVnodeBeforeUpdate) && on(ie, x, L, B), oe && nr(L, B, x, "beforeUpdate"), x && Si(x, !0);
3461
+ const pe = Z && L.type !== "foreignObject";
3462
+ if (ne ? N(
3463
3463
  B.dynamicChildren,
3464
- ie,
3465
- W,
3464
+ ne,
3465
+ X,
3466
3466
  x,
3467
3467
  $,
3468
3468
  pe,
@@ -3470,34 +3470,34 @@ function k0(e, t) {
3470
3470
  ) : q || te(
3471
3471
  B,
3472
3472
  L,
3473
- W,
3473
+ X,
3474
3474
  null,
3475
3475
  x,
3476
3476
  $,
3477
3477
  pe,
3478
3478
  le,
3479
3479
  !1
3480
- ), ne > 0) {
3481
- if (ne & 16)
3480
+ ), re > 0) {
3481
+ if (re & 16)
3482
3482
  w(
3483
- W,
3483
+ X,
3484
3484
  L,
3485
3485
  ce,
3486
- G,
3486
+ W,
3487
3487
  x,
3488
3488
  $,
3489
- ee
3489
+ Z
3490
3490
  );
3491
- else if (ne & 2 && ce.class !== G.class && a(W, "class", null, G.class, ee), ne & 4 && a(W, "style", ce.style, G.style, ee), ne & 8) {
3491
+ else if (re & 2 && ce.class !== W.class && a(X, "class", null, W.class, Z), re & 4 && a(X, "style", ce.style, W.style, Z), re & 8) {
3492
3492
  const ge = L.dynamicProps;
3493
3493
  for (let ve = 0; ve < ge.length; ve++) {
3494
- const Re = ge[ve], Te = ce[Re], nt = G[Re];
3494
+ const Re = ge[ve], Te = ce[Re], nt = W[Re];
3495
3495
  (nt !== Te || Re === "value") && a(
3496
- W,
3496
+ X,
3497
3497
  Re,
3498
3498
  Te,
3499
3499
  nt,
3500
- ee,
3500
+ Z,
3501
3501
  B.children,
3502
3502
  x,
3503
3503
  $,
@@ -3505,108 +3505,108 @@ function k0(e, t) {
3505
3505
  );
3506
3506
  }
3507
3507
  }
3508
- ne & 1 && B.children !== L.children && f(W, L.children);
3508
+ re & 1 && B.children !== L.children && f(X, L.children);
3509
3509
  } else
3510
- !q && ie == null && w(
3511
- W,
3510
+ !q && ne == null && w(
3511
+ X,
3512
3512
  L,
3513
3513
  ce,
3514
- G,
3514
+ W,
3515
3515
  x,
3516
3516
  $,
3517
- ee
3517
+ Z
3518
3518
  );
3519
- ((re = G.onVnodeUpdated) || oe) && Rt(() => {
3520
- re && on(re, x, L, B), oe && nr(L, B, x, "updated");
3519
+ ((ie = W.onVnodeUpdated) || oe) && Rt(() => {
3520
+ ie && on(ie, x, L, B), oe && nr(L, B, x, "updated");
3521
3521
  }, $);
3522
- }, N = (B, L, x, $, ee, le, q) => {
3523
- for (let W = 0; W < L.length; W++) {
3524
- const ne = B[W], ie = L[W], oe = (
3522
+ }, N = (B, L, x, $, Z, le, q) => {
3523
+ for (let X = 0; X < L.length; X++) {
3524
+ const re = B[X], ne = L[X], oe = (
3525
3525
  // oldVNode may be an errored async setup() component inside Suspense
3526
3526
  // which will not have a mounted element
3527
- ne.el && // - In the case of a Fragment, we need to provide the actual parent
3527
+ re.el && // - In the case of a Fragment, we need to provide the actual parent
3528
3528
  // of the Fragment itself so it can move its children.
3529
- (ne.type === rt || // - In the case of different nodes, there is going to be a replacement
3529
+ (re.type === rt || // - In the case of different nodes, there is going to be a replacement
3530
3530
  // which also requires the correct parent container
3531
- !Vn(ne, ie) || // - In the case of a component, it could contain anything.
3532
- ne.shapeFlag & 70) ? c(ne.el) : (
3531
+ !Vn(re, ne) || // - In the case of a component, it could contain anything.
3532
+ re.shapeFlag & 70) ? c(re.el) : (
3533
3533
  // In other cases, the parent container is not actually used so we
3534
3534
  // just pass the block element here to avoid a DOM parentNode call.
3535
3535
  x
3536
3536
  )
3537
3537
  );
3538
3538
  g(
3539
+ re,
3539
3540
  ne,
3540
- ie,
3541
3541
  oe,
3542
3542
  null,
3543
3543
  $,
3544
- ee,
3544
+ Z,
3545
3545
  le,
3546
3546
  q,
3547
3547
  !0
3548
3548
  );
3549
3549
  }
3550
- }, w = (B, L, x, $, ee, le, q) => {
3550
+ }, w = (B, L, x, $, Z, le, q) => {
3551
3551
  if (x !== $) {
3552
3552
  if (x !== Ye)
3553
- for (const W in x)
3554
- !Vi(W) && !(W in $) && a(
3553
+ for (const X in x)
3554
+ !Vi(X) && !(X in $) && a(
3555
3555
  B,
3556
- W,
3557
- x[W],
3556
+ X,
3557
+ x[X],
3558
3558
  null,
3559
3559
  q,
3560
3560
  L.children,
3561
- ee,
3561
+ Z,
3562
3562
  le,
3563
3563
  F
3564
3564
  );
3565
- for (const W in $) {
3566
- if (Vi(W))
3565
+ for (const X in $) {
3566
+ if (Vi(X))
3567
3567
  continue;
3568
- const ne = $[W], ie = x[W];
3569
- ne !== ie && W !== "value" && a(
3568
+ const re = $[X], ne = x[X];
3569
+ re !== ne && X !== "value" && a(
3570
3570
  B,
3571
- W,
3572
- ie,
3571
+ X,
3573
3572
  ne,
3573
+ re,
3574
3574
  q,
3575
3575
  L.children,
3576
- ee,
3576
+ Z,
3577
3577
  le,
3578
3578
  F
3579
3579
  );
3580
3580
  }
3581
3581
  "value" in $ && a(B, "value", x.value, $.value);
3582
3582
  }
3583
- }, O = (B, L, x, $, ee, le, q, W, ne) => {
3584
- const ie = L.el = B ? B.el : l(""), oe = L.anchor = B ? B.anchor : l("");
3585
- let { patchFlag: ce, dynamicChildren: G, slotScopeIds: re } = L;
3586
- re && (W = W ? W.concat(re) : re), B == null ? (r(ie, x, $), r(oe, x, $), S(
3583
+ }, O = (B, L, x, $, Z, le, q, X, re) => {
3584
+ const ne = L.el = B ? B.el : l(""), oe = L.anchor = B ? B.anchor : l("");
3585
+ let { patchFlag: ce, dynamicChildren: W, slotScopeIds: ie } = L;
3586
+ ie && (X = X ? X.concat(ie) : ie), B == null ? (r(ne, x, $), r(oe, x, $), S(
3587
3587
  L.children,
3588
3588
  x,
3589
3589
  oe,
3590
- ee,
3590
+ Z,
3591
3591
  le,
3592
3592
  q,
3593
- W,
3594
- ne
3595
- )) : ce > 0 && ce & 64 && G && // #2715 the previous fragment could've been a BAILed one as a result
3593
+ X,
3594
+ re
3595
+ )) : ce > 0 && ce & 64 && W && // #2715 the previous fragment could've been a BAILed one as a result
3596
3596
  // of renderSlot() with no valid children
3597
3597
  B.dynamicChildren ? (N(
3598
3598
  B.dynamicChildren,
3599
- G,
3599
+ W,
3600
3600
  x,
3601
- ee,
3601
+ Z,
3602
3602
  le,
3603
3603
  q,
3604
- W
3604
+ X
3605
3605
  ), // #2080 if the stable fragment has a key, it's a <template v-for> that may
3606
3606
  // get moved around. Make sure all root level vnodes inherit el.
3607
3607
  // #2134 or if it's a component root, it may also get moved around
3608
3608
  // as the component is being moved.
3609
- (L.key != null || ee && L === ee.subTree) && Gd(
3609
+ (L.key != null || Z && L === Z.subTree) && Gd(
3610
3610
  B,
3611
3611
  L,
3612
3612
  !0
@@ -3616,47 +3616,47 @@ function k0(e, t) {
3616
3616
  L,
3617
3617
  x,
3618
3618
  oe,
3619
- ee,
3619
+ Z,
3620
3620
  le,
3621
3621
  q,
3622
- W,
3623
- ne
3622
+ X,
3623
+ re
3624
3624
  );
3625
- }, C = (B, L, x, $, ee, le, q, W, ne) => {
3626
- L.slotScopeIds = W, B == null ? L.shapeFlag & 512 ? ee.ctx.activate(
3625
+ }, C = (B, L, x, $, Z, le, q, X, re) => {
3626
+ L.slotScopeIds = X, B == null ? L.shapeFlag & 512 ? Z.ctx.activate(
3627
3627
  L,
3628
3628
  x,
3629
3629
  $,
3630
3630
  q,
3631
- ne
3631
+ re
3632
3632
  ) : I(
3633
3633
  L,
3634
3634
  x,
3635
3635
  $,
3636
- ee,
3636
+ Z,
3637
3637
  le,
3638
3638
  q,
3639
- ne
3640
- ) : D(B, L, ne);
3641
- }, I = (B, L, x, $, ee, le, q) => {
3642
- const W = B.component = D0(
3639
+ re
3640
+ ) : D(B, L, re);
3641
+ }, I = (B, L, x, $, Z, le, q) => {
3642
+ const X = B.component = D0(
3643
3643
  B,
3644
3644
  $,
3645
- ee
3645
+ Z
3646
3646
  );
3647
- if (yl(B) && (W.ctx.renderer = Q), H0(W), W.asyncDep) {
3648
- if (ee && ee.registerDep(W, j), !B.el) {
3649
- const ne = W.subTree = xe(Ft);
3650
- m(null, ne, L, x);
3647
+ if (yl(B) && (X.ctx.renderer = ee), H0(X), X.asyncDep) {
3648
+ if (Z && Z.registerDep(X, j), !B.el) {
3649
+ const re = X.subTree = xe(Ft);
3650
+ m(null, re, L, x);
3651
3651
  }
3652
3652
  return;
3653
3653
  }
3654
3654
  j(
3655
- W,
3655
+ X,
3656
3656
  B,
3657
3657
  L,
3658
3658
  x,
3659
- ee,
3659
+ Z,
3660
3660
  le,
3661
3661
  q
3662
3662
  );
@@ -3670,11 +3670,11 @@ function k0(e, t) {
3670
3670
  $.next = L, r4($.update), $.update();
3671
3671
  else
3672
3672
  L.el = B.el, $.vnode = L;
3673
- }, j = (B, L, x, $, ee, le, q) => {
3674
- const W = () => {
3673
+ }, j = (B, L, x, $, Z, le, q) => {
3674
+ const X = () => {
3675
3675
  if (B.isMounted) {
3676
- let { next: oe, bu: ce, u: G, parent: re, vnode: pe } = B, ge = oe, ve;
3677
- Si(B, !1), oe ? (oe.el = pe.el, U(B, oe, q)) : oe = pe, ce && Pa(ce), (ve = oe.props && oe.props.onVnodeBeforeUpdate) && on(ve, re, oe, pe), Si(B, !0);
3676
+ let { next: oe, bu: ce, u: W, parent: ie, vnode: pe } = B, ge = oe, ve;
3677
+ Si(B, !1), oe ? (oe.el = pe.el, U(B, oe, q)) : oe = pe, ce && Pa(ce), (ve = oe.props && oe.props.onVnodeBeforeUpdate) && on(ve, ie, oe, pe), Si(B, !0);
3678
3678
  const Re = As(B), Te = B.subTree;
3679
3679
  B.subTree = Re, g(
3680
3680
  Te,
@@ -3682,24 +3682,24 @@ function k0(e, t) {
3682
3682
  // parent may have changed if it's in a teleport
3683
3683
  c(Te.el),
3684
3684
  // anchor may have changed if it's in a fragment
3685
- J(Te),
3685
+ Y(Te),
3686
3686
  B,
3687
- ee,
3687
+ Z,
3688
3688
  le
3689
- ), oe.el = Re.el, ge === null && Td(B, Re.el), G && Rt(G, ee), (ve = oe.props && oe.props.onVnodeUpdated) && Rt(
3690
- () => on(ve, re, oe, pe),
3691
- ee
3689
+ ), oe.el = Re.el, ge === null && Td(B, Re.el), W && Rt(W, Z), (ve = oe.props && oe.props.onVnodeUpdated) && Rt(
3690
+ () => on(ve, ie, oe, pe),
3691
+ Z
3692
3692
  );
3693
3693
  } else {
3694
3694
  let oe;
3695
- const { el: ce, props: G } = L, { bm: re, m: pe, parent: ge } = B, ve = zi(L);
3696
- if (Si(B, !1), re && Pa(re), !ve && (oe = G && G.onVnodeBeforeMount) && on(oe, ge, L), Si(B, !0), ce && he) {
3695
+ const { el: ce, props: W } = L, { bm: ie, m: pe, parent: ge } = B, ve = zi(L);
3696
+ if (Si(B, !1), ie && Pa(ie), !ve && (oe = W && W.onVnodeBeforeMount) && on(oe, ge, L), Si(B, !0), ce && he) {
3697
3697
  const Re = () => {
3698
3698
  B.subTree = As(B), he(
3699
3699
  ce,
3700
3700
  B.subTree,
3701
3701
  B,
3702
- ee,
3702
+ Z,
3703
3703
  null
3704
3704
  );
3705
3705
  };
@@ -3718,102 +3718,102 @@ function k0(e, t) {
3718
3718
  x,
3719
3719
  $,
3720
3720
  B,
3721
- ee,
3721
+ Z,
3722
3722
  le
3723
3723
  ), L.el = Re.el;
3724
3724
  }
3725
- if (pe && Rt(pe, ee), !ve && (oe = G && G.onVnodeMounted)) {
3725
+ if (pe && Rt(pe, Z), !ve && (oe = W && W.onVnodeMounted)) {
3726
3726
  const Re = L;
3727
3727
  Rt(
3728
3728
  () => on(oe, ge, Re),
3729
- ee
3729
+ Z
3730
3730
  );
3731
3731
  }
3732
- (L.shapeFlag & 256 || ge && zi(ge.vnode) && ge.vnode.shapeFlag & 256) && B.a && Rt(B.a, ee), B.isMounted = !0, L = x = $ = null;
3732
+ (L.shapeFlag & 256 || ge && zi(ge.vnode) && ge.vnode.shapeFlag & 256) && B.a && Rt(B.a, Z), B.isMounted = !0, L = x = $ = null;
3733
3733
  }
3734
- }, ne = B.effect = new Ki(
3735
- W,
3736
- () => Cu(ie),
3734
+ }, re = B.effect = new Ki(
3735
+ X,
3736
+ () => Cu(ne),
3737
3737
  B.scope
3738
3738
  // track it in component's effect scope
3739
- ), ie = B.update = () => ne.run();
3740
- ie.id = B.uid, Si(B, !0), ie();
3739
+ ), ne = B.update = () => re.run();
3740
+ ne.id = B.uid, Si(B, !0), ne();
3741
3741
  }, U = (B, L, x) => {
3742
3742
  L.component = B;
3743
3743
  const $ = B.vnode.props;
3744
3744
  B.vnode = L, B.next = null, P4(B, L.props, $, x), M4(B, L.children, x), Za(), w1(), Qa();
3745
- }, te = (B, L, x, $, ee, le, q, W, ne = !1) => {
3746
- const ie = B && B.children, oe = B ? B.shapeFlag : 0, ce = L.children, { patchFlag: G, shapeFlag: re } = L;
3747
- if (G > 0) {
3748
- if (G & 128) {
3745
+ }, te = (B, L, x, $, Z, le, q, X, re = !1) => {
3746
+ const ne = B && B.children, oe = B ? B.shapeFlag : 0, ce = L.children, { patchFlag: W, shapeFlag: ie } = L;
3747
+ if (W > 0) {
3748
+ if (W & 128) {
3749
3749
  H(
3750
- ie,
3750
+ ne,
3751
3751
  ce,
3752
3752
  x,
3753
3753
  $,
3754
- ee,
3754
+ Z,
3755
3755
  le,
3756
3756
  q,
3757
- W,
3758
- ne
3757
+ X,
3758
+ re
3759
3759
  );
3760
3760
  return;
3761
- } else if (G & 256) {
3761
+ } else if (W & 256) {
3762
3762
  K(
3763
- ie,
3763
+ ne,
3764
3764
  ce,
3765
3765
  x,
3766
3766
  $,
3767
- ee,
3767
+ Z,
3768
3768
  le,
3769
3769
  q,
3770
- W,
3771
- ne
3770
+ X,
3771
+ re
3772
3772
  );
3773
3773
  return;
3774
3774
  }
3775
3775
  }
3776
- re & 8 ? (oe & 16 && F(ie, ee, le), ce !== ie && f(x, ce)) : oe & 16 ? re & 16 ? H(
3777
- ie,
3776
+ ie & 8 ? (oe & 16 && F(ne, Z, le), ce !== ne && f(x, ce)) : oe & 16 ? ie & 16 ? H(
3777
+ ne,
3778
3778
  ce,
3779
3779
  x,
3780
3780
  $,
3781
- ee,
3781
+ Z,
3782
3782
  le,
3783
3783
  q,
3784
- W,
3785
- ne
3786
- ) : F(ie, ee, le, !0) : (oe & 8 && f(x, ""), re & 16 && S(
3784
+ X,
3785
+ re
3786
+ ) : F(ne, Z, le, !0) : (oe & 8 && f(x, ""), ie & 16 && S(
3787
3787
  ce,
3788
3788
  x,
3789
3789
  $,
3790
- ee,
3790
+ Z,
3791
3791
  le,
3792
3792
  q,
3793
- W,
3794
- ne
3793
+ X,
3794
+ re
3795
3795
  ));
3796
- }, K = (B, L, x, $, ee, le, q, W, ne) => {
3796
+ }, K = (B, L, x, $, Z, le, q, X, re) => {
3797
3797
  B = B || ka, L = L || ka;
3798
- const ie = B.length, oe = L.length, ce = Math.min(ie, oe);
3799
- let G;
3800
- for (G = 0; G < ce; G++) {
3801
- const re = L[G] = ne ? Wr(L[G]) : pn(L[G]);
3798
+ const ne = B.length, oe = L.length, ce = Math.min(ne, oe);
3799
+ let W;
3800
+ for (W = 0; W < ce; W++) {
3801
+ const ie = L[W] = re ? Wr(L[W]) : pn(L[W]);
3802
3802
  g(
3803
- B[G],
3804
- re,
3803
+ B[W],
3804
+ ie,
3805
3805
  x,
3806
3806
  null,
3807
- ee,
3807
+ Z,
3808
3808
  le,
3809
3809
  q,
3810
- W,
3811
- ne
3810
+ X,
3811
+ re
3812
3812
  );
3813
3813
  }
3814
- ie > oe ? F(
3814
+ ne > oe ? F(
3815
3815
  B,
3816
- ee,
3816
+ Z,
3817
3817
  le,
3818
3818
  !0,
3819
3819
  !1,
@@ -3822,145 +3822,145 @@ function k0(e, t) {
3822
3822
  L,
3823
3823
  x,
3824
3824
  $,
3825
- ee,
3825
+ Z,
3826
3826
  le,
3827
3827
  q,
3828
- W,
3829
- ne,
3828
+ X,
3829
+ re,
3830
3830
  ce
3831
3831
  );
3832
- }, H = (B, L, x, $, ee, le, q, W, ne) => {
3833
- let ie = 0;
3832
+ }, H = (B, L, x, $, Z, le, q, X, re) => {
3833
+ let ne = 0;
3834
3834
  const oe = L.length;
3835
- let ce = B.length - 1, G = oe - 1;
3836
- for (; ie <= ce && ie <= G; ) {
3837
- const re = B[ie], pe = L[ie] = ne ? Wr(L[ie]) : pn(L[ie]);
3838
- if (Vn(re, pe))
3835
+ let ce = B.length - 1, W = oe - 1;
3836
+ for (; ne <= ce && ne <= W; ) {
3837
+ const ie = B[ne], pe = L[ne] = re ? Wr(L[ne]) : pn(L[ne]);
3838
+ if (Vn(ie, pe))
3839
3839
  g(
3840
- re,
3840
+ ie,
3841
3841
  pe,
3842
3842
  x,
3843
3843
  null,
3844
- ee,
3844
+ Z,
3845
3845
  le,
3846
3846
  q,
3847
- W,
3848
- ne
3847
+ X,
3848
+ re
3849
3849
  );
3850
3850
  else
3851
3851
  break;
3852
- ie++;
3852
+ ne++;
3853
3853
  }
3854
- for (; ie <= ce && ie <= G; ) {
3855
- const re = B[ce], pe = L[G] = ne ? Wr(L[G]) : pn(L[G]);
3856
- if (Vn(re, pe))
3854
+ for (; ne <= ce && ne <= W; ) {
3855
+ const ie = B[ce], pe = L[W] = re ? Wr(L[W]) : pn(L[W]);
3856
+ if (Vn(ie, pe))
3857
3857
  g(
3858
- re,
3858
+ ie,
3859
3859
  pe,
3860
3860
  x,
3861
3861
  null,
3862
- ee,
3862
+ Z,
3863
3863
  le,
3864
3864
  q,
3865
- W,
3866
- ne
3865
+ X,
3866
+ re
3867
3867
  );
3868
3868
  else
3869
3869
  break;
3870
- ce--, G--;
3870
+ ce--, W--;
3871
3871
  }
3872
- if (ie > ce) {
3873
- if (ie <= G) {
3874
- const re = G + 1, pe = re < oe ? L[re].el : $;
3875
- for (; ie <= G; )
3872
+ if (ne > ce) {
3873
+ if (ne <= W) {
3874
+ const ie = W + 1, pe = ie < oe ? L[ie].el : $;
3875
+ for (; ne <= W; )
3876
3876
  g(
3877
3877
  null,
3878
- L[ie] = ne ? Wr(L[ie]) : pn(L[ie]),
3878
+ L[ne] = re ? Wr(L[ne]) : pn(L[ne]),
3879
3879
  x,
3880
3880
  pe,
3881
- ee,
3881
+ Z,
3882
3882
  le,
3883
3883
  q,
3884
- W,
3885
- ne
3886
- ), ie++;
3884
+ X,
3885
+ re
3886
+ ), ne++;
3887
3887
  }
3888
- } else if (ie > G)
3889
- for (; ie <= ce; )
3890
- V(B[ie], ee, le, !0), ie++;
3888
+ } else if (ne > W)
3889
+ for (; ne <= ce; )
3890
+ V(B[ne], Z, le, !0), ne++;
3891
3891
  else {
3892
- const re = ie, pe = ie, ge = /* @__PURE__ */ new Map();
3893
- for (ie = pe; ie <= G; ie++) {
3894
- const st = L[ie] = ne ? Wr(L[ie]) : pn(L[ie]);
3895
- st.key != null && ge.set(st.key, ie);
3892
+ const ie = ne, pe = ne, ge = /* @__PURE__ */ new Map();
3893
+ for (ne = pe; ne <= W; ne++) {
3894
+ const st = L[ne] = re ? Wr(L[ne]) : pn(L[ne]);
3895
+ st.key != null && ge.set(st.key, ne);
3896
3896
  }
3897
3897
  let ve, Re = 0;
3898
- const Te = G - pe + 1;
3898
+ const Te = W - pe + 1;
3899
3899
  let nt = !1, Gn = 0;
3900
3900
  const wn = new Array(Te);
3901
- for (ie = 0; ie < Te; ie++)
3902
- wn[ie] = 0;
3903
- for (ie = re; ie <= ce; ie++) {
3904
- const st = B[ie];
3901
+ for (ne = 0; ne < Te; ne++)
3902
+ wn[ne] = 0;
3903
+ for (ne = ie; ne <= ce; ne++) {
3904
+ const st = B[ne];
3905
3905
  if (Re >= Te) {
3906
- V(st, ee, le, !0);
3906
+ V(st, Z, le, !0);
3907
3907
  continue;
3908
3908
  }
3909
3909
  let It;
3910
3910
  if (st.key != null)
3911
3911
  It = ge.get(st.key);
3912
3912
  else
3913
- for (ve = pe; ve <= G; ve++)
3913
+ for (ve = pe; ve <= W; ve++)
3914
3914
  if (wn[ve - pe] === 0 && Vn(st, L[ve])) {
3915
3915
  It = ve;
3916
3916
  break;
3917
3917
  }
3918
- It === void 0 ? V(st, ee, le, !0) : (wn[It - pe] = ie + 1, It >= Gn ? Gn = It : nt = !0, g(
3918
+ It === void 0 ? V(st, Z, le, !0) : (wn[It - pe] = ne + 1, It >= Gn ? Gn = It : nt = !0, g(
3919
3919
  st,
3920
3920
  L[It],
3921
3921
  x,
3922
3922
  null,
3923
- ee,
3923
+ Z,
3924
3924
  le,
3925
3925
  q,
3926
- W,
3927
- ne
3926
+ X,
3927
+ re
3928
3928
  ), Re++);
3929
3929
  }
3930
3930
  const Yn = nt ? R4(wn) : ka;
3931
- for (ve = Yn.length - 1, ie = Te - 1; ie >= 0; ie--) {
3932
- const st = pe + ie, It = L[st], ke = st + 1 < oe ? L[st + 1].el : $;
3933
- wn[ie] === 0 ? g(
3931
+ for (ve = Yn.length - 1, ne = Te - 1; ne >= 0; ne--) {
3932
+ const st = pe + ne, It = L[st], ke = st + 1 < oe ? L[st + 1].el : $;
3933
+ wn[ne] === 0 ? g(
3934
3934
  null,
3935
3935
  It,
3936
3936
  x,
3937
3937
  ke,
3938
- ee,
3938
+ Z,
3939
3939
  le,
3940
3940
  q,
3941
- W,
3942
- ne
3943
- ) : nt && (ve < 0 || ie !== Yn[ve] ? M(It, x, ke, 2) : ve--);
3941
+ X,
3942
+ re
3943
+ ) : nt && (ve < 0 || ne !== Yn[ve] ? M(It, x, ke, 2) : ve--);
3944
3944
  }
3945
3945
  }
3946
- }, M = (B, L, x, $, ee = null) => {
3947
- const { el: le, type: q, transition: W, children: ne, shapeFlag: ie } = B;
3948
- if (ie & 6) {
3946
+ }, M = (B, L, x, $, Z = null) => {
3947
+ const { el: le, type: q, transition: X, children: re, shapeFlag: ne } = B;
3948
+ if (ne & 6) {
3949
3949
  M(B.component.subTree, L, x, $);
3950
3950
  return;
3951
3951
  }
3952
- if (ie & 128) {
3952
+ if (ne & 128) {
3953
3953
  B.suspense.move(L, x, $);
3954
3954
  return;
3955
3955
  }
3956
- if (ie & 64) {
3957
- q.move(B, L, x, Q);
3956
+ if (ne & 64) {
3957
+ q.move(B, L, x, ee);
3958
3958
  return;
3959
3959
  }
3960
3960
  if (q === rt) {
3961
3961
  r(le, L, x);
3962
- for (let ce = 0; ce < ne.length; ce++)
3963
- M(ne[ce], L, x, $);
3962
+ for (let ce = 0; ce < re.length; ce++)
3963
+ M(re[ce], L, x, $);
3964
3964
  r(B.anchor, L, x);
3965
3965
  return;
3966
3966
  }
@@ -3968,66 +3968,66 @@ function k0(e, t) {
3968
3968
  b(B, L, x);
3969
3969
  return;
3970
3970
  }
3971
- if ($ !== 2 && ie & 1 && W)
3971
+ if ($ !== 2 && ne & 1 && X)
3972
3972
  if ($ === 0)
3973
- W.beforeEnter(le), r(le, L, x), Rt(() => W.enter(le), ee);
3973
+ X.beforeEnter(le), r(le, L, x), Rt(() => X.enter(le), Z);
3974
3974
  else {
3975
- const { leave: ce, delayLeave: G, afterLeave: re } = W, pe = () => r(le, L, x), ge = () => {
3975
+ const { leave: ce, delayLeave: W, afterLeave: ie } = X, pe = () => r(le, L, x), ge = () => {
3976
3976
  ce(le, () => {
3977
- pe(), re && re();
3977
+ pe(), ie && ie();
3978
3978
  });
3979
3979
  };
3980
- G ? G(le, pe, ge) : ge();
3980
+ W ? W(le, pe, ge) : ge();
3981
3981
  }
3982
3982
  else
3983
3983
  r(le, L, x);
3984
- }, V = (B, L, x, $ = !1, ee = !1) => {
3984
+ }, V = (B, L, x, $ = !1, Z = !1) => {
3985
3985
  const {
3986
3986
  type: le,
3987
3987
  props: q,
3988
- ref: W,
3989
- children: ne,
3990
- dynamicChildren: ie,
3988
+ ref: X,
3989
+ children: re,
3990
+ dynamicChildren: ne,
3991
3991
  shapeFlag: oe,
3992
3992
  patchFlag: ce,
3993
- dirs: G
3993
+ dirs: W
3994
3994
  } = B;
3995
- if (W != null && $s(W, null, x, B, !0), oe & 256) {
3995
+ if (X != null && $s(X, null, x, B, !0), oe & 256) {
3996
3996
  L.ctx.deactivate(B);
3997
3997
  return;
3998
3998
  }
3999
- const re = oe & 1 && G, pe = !zi(B);
3999
+ const ie = oe & 1 && W, pe = !zi(B);
4000
4000
  let ge;
4001
4001
  if (pe && (ge = q && q.onVnodeBeforeUnmount) && on(ge, L, B), oe & 6)
4002
- X(B.component, x, $);
4002
+ J(B.component, x, $);
4003
4003
  else {
4004
4004
  if (oe & 128) {
4005
4005
  B.suspense.unmount(x, $);
4006
4006
  return;
4007
4007
  }
4008
- re && nr(B, null, L, "beforeUnmount"), oe & 64 ? B.type.remove(
4008
+ ie && nr(B, null, L, "beforeUnmount"), oe & 64 ? B.type.remove(
4009
4009
  B,
4010
4010
  L,
4011
4011
  x,
4012
+ Z,
4012
4013
  ee,
4013
- Q,
4014
4014
  $
4015
- ) : ie && // #1153: fast path should not be taken for non-stable (v-for) fragments
4015
+ ) : ne && // #1153: fast path should not be taken for non-stable (v-for) fragments
4016
4016
  (le !== rt || ce > 0 && ce & 64) ? F(
4017
- ie,
4017
+ ne,
4018
4018
  L,
4019
4019
  x,
4020
4020
  !1,
4021
4021
  !0
4022
- ) : (le === rt && ce & 384 || !ee && oe & 16) && F(ne, L, x), $ && z(B);
4022
+ ) : (le === rt && ce & 384 || !Z && oe & 16) && F(re, L, x), $ && z(B);
4023
4023
  }
4024
- (pe && (ge = q && q.onVnodeUnmounted) || re) && Rt(() => {
4025
- ge && on(ge, L, B), re && nr(B, null, L, "unmounted");
4024
+ (pe && (ge = q && q.onVnodeUnmounted) || ie) && Rt(() => {
4025
+ ge && on(ge, L, B), ie && nr(B, null, L, "unmounted");
4026
4026
  }, x);
4027
4027
  }, z = (B) => {
4028
- const { type: L, el: x, anchor: $, transition: ee } = B;
4028
+ const { type: L, el: x, anchor: $, transition: Z } = B;
4029
4029
  if (L === rt) {
4030
- Z(x, $);
4030
+ Q(x, $);
4031
4031
  return;
4032
4032
  }
4033
4033
  if (L === Zr) {
@@ -4035,29 +4035,29 @@ function k0(e, t) {
4035
4035
  return;
4036
4036
  }
4037
4037
  const le = () => {
4038
- i(x), ee && !ee.persisted && ee.afterLeave && ee.afterLeave();
4038
+ i(x), Z && !Z.persisted && Z.afterLeave && Z.afterLeave();
4039
4039
  };
4040
- if (B.shapeFlag & 1 && ee && !ee.persisted) {
4041
- const { leave: q, delayLeave: W } = ee, ne = () => q(x, le);
4042
- W ? W(B.el, le, ne) : ne();
4040
+ if (B.shapeFlag & 1 && Z && !Z.persisted) {
4041
+ const { leave: q, delayLeave: X } = Z, re = () => q(x, le);
4042
+ X ? X(B.el, le, re) : re();
4043
4043
  } else
4044
4044
  le();
4045
- }, Z = (B, L) => {
4045
+ }, Q = (B, L) => {
4046
4046
  let x;
4047
4047
  for (; B !== L; )
4048
4048
  x = d(B), i(B), B = x;
4049
4049
  i(L);
4050
- }, X = (B, L, x) => {
4051
- const { bum: $, scope: ee, update: le, subTree: q, um: W } = B;
4052
- $ && Pa($), ee.stop(), le && (le.active = !1, V(q, B, L, x)), W && Rt(W, L), Rt(() => {
4050
+ }, J = (B, L, x) => {
4051
+ const { bum: $, scope: Z, update: le, subTree: q, um: X } = B;
4052
+ $ && Pa($), Z.stop(), le && (le.active = !1, V(q, B, L, x)), X && Rt(X, L), Rt(() => {
4053
4053
  B.isUnmounted = !0;
4054
4054
  }, L), L && L.pendingBranch && !L.isUnmounted && B.asyncDep && !B.asyncResolved && B.suspenseId === L.pendingId && (L.deps--, L.deps === 0 && L.resolve());
4055
- }, F = (B, L, x, $ = !1, ee = !1, le = 0) => {
4055
+ }, F = (B, L, x, $ = !1, Z = !1, le = 0) => {
4056
4056
  for (let q = le; q < B.length; q++)
4057
- V(B[q], L, x, $, ee);
4058
- }, J = (B) => B.shapeFlag & 6 ? J(B.component.subTree) : B.shapeFlag & 128 ? B.suspense.next() : d(B.anchor || B.el), ae = (B, L, x) => {
4057
+ V(B[q], L, x, $, Z);
4058
+ }, Y = (B) => B.shapeFlag & 6 ? Y(B.component.subTree) : B.shapeFlag & 128 ? B.suspense.next() : d(B.anchor || B.el), ae = (B, L, x) => {
4059
4059
  B == null ? L._vnode && V(L._vnode, null, null, !0) : g(L._vnode || null, B, L, null, null, null, x), w1(), Bs(), L._vnode = B;
4060
- }, Q = {
4060
+ }, ee = {
4061
4061
  p: g,
4062
4062
  um: V,
4063
4063
  m: M,
@@ -4066,12 +4066,12 @@ function k0(e, t) {
4066
4066
  mc: S,
4067
4067
  pc: te,
4068
4068
  pbc: N,
4069
- n: J,
4069
+ n: Y,
4070
4070
  o: e
4071
4071
  };
4072
4072
  let se, he;
4073
4073
  return t && ([se, he] = t(
4074
- Q
4074
+ ee
4075
4075
  )), {
4076
4076
  render: ae,
4077
4077
  hydrate: se,
@@ -9787,10 +9787,10 @@ var Sp = {
9787
9787
  */
9788
9788
  nextTabbableNode: function(M) {
9789
9789
  var V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, z = C.indexOf(M);
9790
- return z < 0 ? V ? I.slice(I.indexOf(M) + 1).find(function(Z) {
9791
- return Ea(Z);
9792
- }) : I.slice(0, I.indexOf(M)).reverse().find(function(Z) {
9793
- return Ea(Z);
9790
+ return z < 0 ? V ? I.slice(I.indexOf(M) + 1).find(function(Q) {
9791
+ return Ea(Q);
9792
+ }) : I.slice(0, I.indexOf(M)).reverse().find(function(Q) {
9793
+ return Ea(Q);
9794
9794
  }) : C[z + (V ? 1 : -1)];
9795
9795
  }
9796
9796
  };
@@ -9829,8 +9829,8 @@ var Sp = {
9829
9829
  j ? U = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : U = o.tabbableGroups[0].firstTabbableNode;
9830
9830
  else if (j) {
9831
9831
  var H = Np(o.tabbableGroups, function(F) {
9832
- var J = F.firstTabbableNode;
9833
- return C === J;
9832
+ var Y = F.firstTabbableNode;
9833
+ return C === Y;
9834
9834
  });
9835
9835
  if (H < 0 && (K.container === C || Hc(C, a.tabbableOptions) && !Ea(C, a.tabbableOptions) && !K.nextTabbableNode(C, !1)) && (H = te), H >= 0) {
9836
9836
  var M = H === 0 ? o.tabbableGroups.length - 1 : H - 1, V = o.tabbableGroups[M];
@@ -9839,12 +9839,12 @@ var Sp = {
9839
9839
  xo(I) || (U = K.nextTabbableNode(C, !1));
9840
9840
  } else {
9841
9841
  var z = Np(o.tabbableGroups, function(F) {
9842
- var J = F.lastTabbableNode;
9843
- return C === J;
9842
+ var Y = F.lastTabbableNode;
9843
+ return C === Y;
9844
9844
  });
9845
9845
  if (z < 0 && (K.container === C || Hc(C, a.tabbableOptions) && !Ea(C, a.tabbableOptions) && !K.nextTabbableNode(C)) && (z = te), z >= 0) {
9846
- var Z = z === o.tabbableGroups.length - 1 ? 0 : z + 1, X = o.tabbableGroups[Z];
9847
- U = Li(C) >= 0 ? X.firstTabbableNode : X.firstDomTabbableNode;
9846
+ var Q = z === o.tabbableGroups.length - 1 ? 0 : z + 1, J = o.tabbableGroups[Q];
9847
+ U = Li(C) >= 0 ? J.firstTabbableNode : J.firstDomTabbableNode;
9848
9848
  } else
9849
9849
  xo(I) || (U = K.nextTabbableNode(C));
9850
9850
  }
@@ -10772,49 +10772,49 @@ const Mh = Symbol("vfm"), xh = Symbol("internalVfm"), C_ = /* @__PURE__ */ ft({
10772
10772
  k("opened"), T("opened");
10773
10773
  },
10774
10774
  onLeave() {
10775
- s(X()), v(), p(), k("closed"), T("closed");
10775
+ s(J()), v(), p(), k("closed"), T("closed");
10776
10776
  }
10777
10777
  }), { onEsc: U, onMouseupRoot: te, onMousedown: K } = c_(n, r, { vfmRootEl: d, vfmContentEl: h, visible: S, modelValueLocal: b }), {
10778
10778
  swipeBannerEl: H,
10779
10779
  bindSwipe: M,
10780
10780
  onTouchStartSwipeBanner: V
10781
- } = k_(n, { vfmContentEl: h, modelValueLocal: b }), z = ku(n, "hideOverlay"), Z = fe(() => ({
10781
+ } = k_(n, { vfmContentEl: h, modelValueLocal: b }), z = ku(n, "hideOverlay"), Q = fe(() => ({
10782
10782
  modalId: n.modalId,
10783
10783
  hideOverlay: z,
10784
10784
  overlayVisible: O,
10785
10785
  focus: y,
10786
- toggle(Q) {
10786
+ toggle(ee) {
10787
10787
  return new Promise((se) => {
10788
10788
  T = s_((B) => se(B));
10789
- const he = typeof Q == "boolean" ? Q : !b.value;
10789
+ const he = typeof ee == "boolean" ? ee : !b.value;
10790
10790
  b.value = he, r("update:modelValue", he);
10791
10791
  });
10792
10792
  }
10793
10793
  }));
10794
- function X() {
10795
- return Z;
10794
+ function J() {
10795
+ return Q;
10796
10796
  }
10797
- const F = fe(() => a.indexOf(Z));
10797
+ const F = fe(() => a.indexOf(Q));
10798
10798
  Ke(() => [n.zIndexFn, F.value], () => {
10799
10799
  S.value && m(F.value);
10800
10800
  }), bn(() => {
10801
- i.push(Z);
10802
- }), b.value && J(), Ke(b, (Q) => {
10803
- Q ? J() : ae();
10801
+ i.push(Q);
10802
+ }), b.value && Y(), Ke(b, (ee) => {
10803
+ ee ? Y() : ae();
10804
10804
  });
10805
- async function J() {
10806
- k("beforeOpen"), l(Z), u(Z), m(F.value), o(), D();
10805
+ async function Y() {
10806
+ k("beforeOpen"), l(Q), u(Q), m(F.value), o(), D();
10807
10807
  }
10808
10808
  function ae() {
10809
- k("beforeClose"), f(Z), o(), g(), j();
10809
+ k("beforeClose"), f(Q), o(), g(), j();
10810
10810
  }
10811
10811
  return Mr(() => {
10812
- p(), c(Z), s(Z), f(Z), g(), o();
10813
- }), (Q, se) => Q.displayDirective !== "if" || Se(S) ? fr((Ee(), Le("div", {
10812
+ p(), c(Q), s(Q), f(Q), g(), o();
10813
+ }), (ee, se) => ee.displayDirective !== "if" || Se(S) ? fr((Ee(), Le("div", {
10814
10814
  key: 0,
10815
10815
  ref_key: "vfmRootEl",
10816
10816
  ref: d,
10817
- class: Tt(["vfm vfm--fixed vfm--inset", { "vfm--prevent-none": Q.background === "interactive" }]),
10817
+ class: Tt(["vfm vfm--fixed vfm--inset", { "vfm--prevent-none": ee.background === "interactive" }]),
10818
10818
  style: Jt({ zIndex: Se(_) }),
10819
10819
  role: "dialog",
10820
10820
  "aria-modal": "true",
@@ -10824,72 +10824,72 @@ const Mh = Symbol("vfm"), xh = Symbol("internalVfm"), C_ = /* @__PURE__ */ ft({
10824
10824
  }, [
10825
10825
  z.value ? it("", !0) : (Ee(), bt(Yi, gn({ key: 0 }, Se(I), { appear: !0 }, Ko(Se(C))), {
10826
10826
  default: vn(() => [
10827
- Q.displayDirective !== "if" || Se(O) ? fr((Ee(), Le("div", {
10827
+ ee.displayDirective !== "if" || Se(O) ? fr((Ee(), Le("div", {
10828
10828
  key: 0,
10829
- class: Tt(["vfm__overlay vfm--overlay vfm--absolute vfm--inset vfm--prevent-none", Q.overlayClass]),
10830
- style: Jt(Q.overlayStyle),
10829
+ class: Tt(["vfm__overlay vfm--overlay vfm--absolute vfm--inset vfm--prevent-none", ee.overlayClass]),
10830
+ style: Jt(ee.overlayStyle),
10831
10831
  "aria-hidden": "true"
10832
10832
  }, null, 6)), [
10833
- [ei, Q.displayDirective !== "show" || Se(O)],
10834
- [Se(Vc), Q.displayDirective !== "visible" || Se(O)]
10833
+ [ei, ee.displayDirective !== "show" || Se(O)],
10834
+ [Se(Vc), ee.displayDirective !== "visible" || Se(O)]
10835
10835
  ]) : it("", !0)
10836
10836
  ]),
10837
10837
  _: 1
10838
10838
  }, 16)),
10839
10839
  xe(Yi, gn(Se(w), { appear: !0 }, Ko(Se(N))), {
10840
10840
  default: vn(() => [
10841
- Q.displayDirective !== "if" || Se(P) ? fr((Ee(), Le("div", gn({
10841
+ ee.displayDirective !== "if" || Se(P) ? fr((Ee(), Le("div", gn({
10842
10842
  key: 0,
10843
10843
  ref_key: "vfmContentEl",
10844
10844
  ref: h,
10845
- class: ["vfm__content vfm--outline-none", [Q.contentClass, { "vfm--prevent-auto": Q.background === "interactive" }]],
10846
- style: Q.contentStyle,
10845
+ class: ["vfm__content vfm--outline-none", [ee.contentClass, { "vfm--prevent-auto": ee.background === "interactive" }]],
10846
+ style: ee.contentStyle,
10847
10847
  tabindex: "0"
10848
10848
  }, Se(M), {
10849
10849
  onMousedown: se[6] || (se[6] = () => Se(K)())
10850
10850
  }), [
10851
- vt(Q.$slots, "default"),
10852
- Q.showSwipeBanner ? (Ee(), Le("div", {
10851
+ vt(ee.$slots, "default"),
10852
+ ee.showSwipeBanner ? (Ee(), Le("div", {
10853
10853
  key: 0,
10854
10854
  ref_key: "swipeBannerEl",
10855
10855
  ref: H,
10856
10856
  class: "vfm-swipe-banner-container",
10857
10857
  onTouchstart: se[2] || (se[2] = (he) => Se(V)(he))
10858
10858
  }, [
10859
- vt(Q.$slots, "swipe-banner", {}, () => [
10859
+ vt(ee.$slots, "swipe-banner", {}, () => [
10860
10860
  He("div", {
10861
10861
  class: "vfm-swipe-banner-back",
10862
- onTouchstart: se[0] || (se[0] = (he) => Q.swipeToClose === "left" && he.preventDefault())
10862
+ onTouchstart: se[0] || (se[0] = (he) => ee.swipeToClose === "left" && he.preventDefault())
10863
10863
  }, null, 32),
10864
10864
  He("div", {
10865
10865
  class: "vfm-swipe-banner-forward",
10866
- onTouchstart: se[1] || (se[1] = (he) => Q.swipeToClose === "right" && he.preventDefault())
10866
+ onTouchstart: se[1] || (se[1] = (he) => ee.swipeToClose === "right" && he.preventDefault())
10867
10867
  }, null, 32)
10868
10868
  ])
10869
- ], 544)) : !Q.showSwipeBanner && Q.preventNavigationGestures ? (Ee(), Le("div", {
10869
+ ], 544)) : !ee.showSwipeBanner && ee.preventNavigationGestures ? (Ee(), Le("div", {
10870
10870
  key: 1,
10871
10871
  class: "vfm-swipe-banner-container",
10872
10872
  onTouchstart: se[5] || (se[5] = (he) => Se(V)(he))
10873
10873
  }, [
10874
10874
  He("div", {
10875
10875
  class: "vfm-swipe-banner-back",
10876
- onTouchstart: se[3] || (se[3] = (he) => Q.swipeToClose === "left" && he.preventDefault())
10876
+ onTouchstart: se[3] || (se[3] = (he) => ee.swipeToClose === "left" && he.preventDefault())
10877
10877
  }, null, 32),
10878
10878
  He("div", {
10879
10879
  class: "vfm-swipe-banner-forward",
10880
- onTouchstart: se[4] || (se[4] = (he) => Q.swipeToClose === "right" && he.preventDefault())
10880
+ onTouchstart: se[4] || (se[4] = (he) => ee.swipeToClose === "right" && he.preventDefault())
10881
10881
  }, null, 32)
10882
10882
  ], 32)) : it("", !0)
10883
10883
  ], 16)), [
10884
- [ei, Q.displayDirective !== "show" || Se(P)],
10885
- [Se(Vc), Q.displayDirective !== "visible" || Se(P)]
10884
+ [ei, ee.displayDirective !== "show" || Se(P)],
10885
+ [Se(Vc), ee.displayDirective !== "visible" || Se(P)]
10886
10886
  ]) : it("", !0)
10887
10887
  ]),
10888
10888
  _: 3
10889
10889
  }, 16)
10890
10890
  ], 38)), [
10891
- [ei, Q.displayDirective !== "show" || Se(S)],
10892
- [Se(Vc), Q.displayDirective !== "visible" || Se(S)]
10891
+ [ei, ee.displayDirective !== "show" || Se(S)],
10892
+ [Se(Vc), ee.displayDirective !== "visible" || Se(S)]
10893
10893
  ]) : it("", !0);
10894
10894
  }
10895
10895
  }), P_ = {
@@ -11312,20 +11312,20 @@ function s5(e, t = {}) {
11312
11312
  inLinked: !1,
11313
11313
  text: ""
11314
11314
  }, u = () => s, { onError: f } = t;
11315
- function c(L, x, $, ...ee) {
11315
+ function c(L, x, $, ...Z) {
11316
11316
  const le = u();
11317
11317
  if (x.column += $, x.offset += $, f) {
11318
- const q = n ? Mf(le.startLoc, x) : null, W = eo(L, q, {
11318
+ const q = n ? Mf(le.startLoc, x) : null, X = eo(L, q, {
11319
11319
  domain: l5,
11320
- args: ee
11320
+ args: Z
11321
11321
  });
11322
- f(W);
11322
+ f(X);
11323
11323
  }
11324
11324
  }
11325
11325
  function d(L, x, $) {
11326
11326
  L.endLoc = a(), L.currentType = x;
11327
- const ee = { type: x };
11328
- return n && (ee.loc = Mf(L.startLoc, L.endLoc)), $ != null && (ee.value = $), ee;
11327
+ const Z = { type: x };
11328
+ return n && (Z.loc = Mf(L.startLoc, L.endLoc)), $ != null && (Z.value = $), Z;
11329
11329
  }
11330
11330
  const h = (L) => d(
11331
11331
  L,
@@ -11364,15 +11364,15 @@ function s5(e, t = {}) {
11364
11364
  if ($ !== 2)
11365
11365
  return !1;
11366
11366
  g(L);
11367
- const ee = m(L.currentPeek());
11368
- return L.resetPeek(), ee;
11367
+ const Z = m(L.currentPeek());
11368
+ return L.resetPeek(), Z;
11369
11369
  }
11370
11370
  function p(L, x) {
11371
11371
  const { currentType: $ } = x;
11372
11372
  if ($ !== 2)
11373
11373
  return !1;
11374
11374
  g(L);
11375
- const ee = L.currentPeek() === "-" ? L.peek() : L.currentPeek(), le = v(ee);
11375
+ const Z = L.currentPeek() === "-" ? L.peek() : L.currentPeek(), le = v(Z);
11376
11376
  return L.resetPeek(), le;
11377
11377
  }
11378
11378
  function E(L, x) {
@@ -11380,41 +11380,41 @@ function s5(e, t = {}) {
11380
11380
  if ($ !== 2)
11381
11381
  return !1;
11382
11382
  g(L);
11383
- const ee = L.currentPeek() === Rp;
11384
- return L.resetPeek(), ee;
11383
+ const Z = L.currentPeek() === Rp;
11384
+ return L.resetPeek(), Z;
11385
11385
  }
11386
11386
  function k(L, x) {
11387
11387
  const { currentType: $ } = x;
11388
11388
  if ($ !== 8)
11389
11389
  return !1;
11390
11390
  g(L);
11391
- const ee = L.currentPeek() === ".";
11392
- return L.resetPeek(), ee;
11391
+ const Z = L.currentPeek() === ".";
11392
+ return L.resetPeek(), Z;
11393
11393
  }
11394
11394
  function T(L, x) {
11395
11395
  const { currentType: $ } = x;
11396
11396
  if ($ !== 9)
11397
11397
  return !1;
11398
11398
  g(L);
11399
- const ee = m(L.currentPeek());
11400
- return L.resetPeek(), ee;
11399
+ const Z = m(L.currentPeek());
11400
+ return L.resetPeek(), Z;
11401
11401
  }
11402
11402
  function S(L, x) {
11403
11403
  const { currentType: $ } = x;
11404
11404
  if (!($ === 8 || $ === 12))
11405
11405
  return !1;
11406
11406
  g(L);
11407
- const ee = L.currentPeek() === ":";
11408
- return L.resetPeek(), ee;
11407
+ const Z = L.currentPeek() === ":";
11408
+ return L.resetPeek(), Z;
11409
11409
  }
11410
11410
  function P(L, x) {
11411
11411
  const { currentType: $ } = x;
11412
11412
  if ($ !== 10)
11413
11413
  return !1;
11414
- const ee = () => {
11414
+ const Z = () => {
11415
11415
  const q = L.currentPeek();
11416
- return q === "{" ? m(L.peek()) : q === "@" || q === "%" || q === "|" || q === ":" || q === "." || q === gr || !q ? !1 : q === Yt ? (L.peek(), ee()) : m(q);
11417
- }, le = ee();
11416
+ return q === "{" ? m(L.peek()) : q === "@" || q === "%" || q === "|" || q === ":" || q === "." || q === gr || !q ? !1 : q === Yt ? (L.peek(), Z()) : m(q);
11417
+ }, le = Z();
11418
11418
  return L.resetPeek(), le;
11419
11419
  }
11420
11420
  function N(L) {
@@ -11430,11 +11430,11 @@ function s5(e, t = {}) {
11430
11430
  };
11431
11431
  }
11432
11432
  function O(L, x = !0) {
11433
- const $ = (le = !1, q = "", W = !1) => {
11434
- const ne = L.currentPeek();
11435
- return ne === "{" ? q === "%" ? !1 : le : ne === "@" || !ne ? q === "%" ? !0 : le : ne === "%" ? (L.peek(), $(le, "%", !0)) : ne === "|" ? q === "%" || W ? !0 : !(q === gr || q === Yt) : ne === gr ? (L.peek(), $(!0, gr, W)) : ne === Yt ? (L.peek(), $(!0, Yt, W)) : !0;
11436
- }, ee = $();
11437
- return x && L.resetPeek(), ee;
11433
+ const $ = (le = !1, q = "", X = !1) => {
11434
+ const re = L.currentPeek();
11435
+ return re === "{" ? q === "%" ? !1 : le : re === "@" || !re ? q === "%" ? !0 : le : re === "%" ? (L.peek(), $(le, "%", !0)) : re === "|" ? q === "%" || X ? !0 : !(q === gr || q === Yt) : re === gr ? (L.peek(), $(!0, gr, X)) : re === Yt ? (L.peek(), $(!0, Yt, X)) : !0;
11436
+ }, Z = $();
11437
+ return x && L.resetPeek(), Z;
11438
11438
  }
11439
11439
  function C(L, x) {
11440
11440
  const $ = L.currentChar();
@@ -11442,26 +11442,26 @@ function s5(e, t = {}) {
11442
11442
  }
11443
11443
  function I(L) {
11444
11444
  return C(L, ($) => {
11445
- const ee = $.charCodeAt(0);
11446
- return ee >= 97 && ee <= 122 || // a-z
11447
- ee >= 65 && ee <= 90 || // A-Z
11448
- ee >= 48 && ee <= 57 || // 0-9
11449
- ee === 95 || // _
11450
- ee === 36;
11445
+ const Z = $.charCodeAt(0);
11446
+ return Z >= 97 && Z <= 122 || // a-z
11447
+ Z >= 65 && Z <= 90 || // A-Z
11448
+ Z >= 48 && Z <= 57 || // 0-9
11449
+ Z === 95 || // _
11450
+ Z === 36;
11451
11451
  });
11452
11452
  }
11453
11453
  function D(L) {
11454
11454
  return C(L, ($) => {
11455
- const ee = $.charCodeAt(0);
11456
- return ee >= 48 && ee <= 57;
11455
+ const Z = $.charCodeAt(0);
11456
+ return Z >= 48 && Z <= 57;
11457
11457
  });
11458
11458
  }
11459
11459
  function j(L) {
11460
11460
  return C(L, ($) => {
11461
- const ee = $.charCodeAt(0);
11462
- return ee >= 48 && ee <= 57 || // 0-9
11463
- ee >= 65 && ee <= 70 || // A-F
11464
- ee >= 97 && ee <= 102;
11461
+ const Z = $.charCodeAt(0);
11462
+ return Z >= 48 && Z <= 57 || // 0-9
11463
+ Z >= 65 && Z <= 70 || // A-F
11464
+ Z >= 97 && Z <= 102;
11465
11465
  });
11466
11466
  }
11467
11467
  function U(L) {
@@ -11514,8 +11514,8 @@ function s5(e, t = {}) {
11514
11514
  function V(L) {
11515
11515
  _(L), y(L, "'");
11516
11516
  let x = "", $ = "";
11517
- const ee = (q) => q !== Rp && q !== Yt;
11518
- for (; x = C(L, ee); )
11517
+ const Z = (q) => q !== Rp && q !== Yt;
11518
+ for (; x = C(L, Z); )
11519
11519
  x === "\\" ? $ += z(L) : $ += x;
11520
11520
  const le = L.currentChar();
11521
11521
  return le === Yt || le === jr ? (c(Ne.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), le === Yt && (L.next(), y(L, "'")), $) : (y(L, "'"), $);
@@ -11527,31 +11527,31 @@ function s5(e, t = {}) {
11527
11527
  case "'":
11528
11528
  return L.next(), `\\${x}`;
11529
11529
  case "u":
11530
- return Z(L, x, 4);
11530
+ return Q(L, x, 4);
11531
11531
  case "U":
11532
- return Z(L, x, 6);
11532
+ return Q(L, x, 6);
11533
11533
  default:
11534
11534
  return c(Ne.UNKNOWN_ESCAPE_SEQUENCE, a(), 0, x), "";
11535
11535
  }
11536
11536
  }
11537
- function Z(L, x, $) {
11537
+ function Q(L, x, $) {
11538
11538
  y(L, x);
11539
- let ee = "";
11539
+ let Z = "";
11540
11540
  for (let le = 0; le < $; le++) {
11541
11541
  const q = j(L);
11542
11542
  if (!q) {
11543
- c(Ne.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${x}${ee}${L.currentChar()}`);
11543
+ c(Ne.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${x}${Z}${L.currentChar()}`);
11544
11544
  break;
11545
11545
  }
11546
- ee += q;
11546
+ Z += q;
11547
11547
  }
11548
- return `\\${x}${ee}`;
11548
+ return `\\${x}${Z}`;
11549
11549
  }
11550
- function X(L) {
11550
+ function J(L) {
11551
11551
  _(L);
11552
11552
  let x = "", $ = "";
11553
- const ee = (le) => le !== "{" && le !== "}" && le !== gr && le !== Yt;
11554
- for (; x = C(L, ee); )
11553
+ const Z = (le) => le !== "{" && le !== "}" && le !== gr && le !== Yt;
11554
+ for (; x = C(L, Z); )
11555
11555
  $ += x;
11556
11556
  return $;
11557
11557
  }
@@ -11561,10 +11561,10 @@ function s5(e, t = {}) {
11561
11561
  $ += x;
11562
11562
  return $;
11563
11563
  }
11564
- function J(L) {
11565
- const x = ($ = !1, ee) => {
11564
+ function Y(L) {
11565
+ const x = ($ = !1, Z) => {
11566
11566
  const le = L.currentChar();
11567
- return le === "{" || le === "%" || le === "@" || le === "|" || le === "(" || le === ")" || !le || le === gr ? ee : le === Yt || le === o5 ? (ee += le, L.next(), x($, ee)) : (ee += le, L.next(), x(!0, ee));
11567
+ return le === "{" || le === "%" || le === "@" || le === "|" || le === "(" || le === ")" || !le || le === gr ? Z : le === Yt || le === o5 ? (Z += le, L.next(), x($, Z)) : (Z += le, L.next(), x(!0, Z));
11568
11568
  };
11569
11569
  return x(!1, "");
11570
11570
  }
@@ -11577,7 +11577,7 @@ function s5(e, t = {}) {
11577
11577
  );
11578
11578
  return _(L), x;
11579
11579
  }
11580
- function Q(L, x) {
11580
+ function ee(L, x) {
11581
11581
  let $ = null;
11582
11582
  switch (L.currentChar()) {
11583
11583
  case "{":
@@ -11597,7 +11597,7 @@ function s5(e, t = {}) {
11597
11597
  case "@":
11598
11598
  return x.braceNest > 0 && c(Ne.UNTERMINATED_CLOSING_BRACE, a(), 0), $ = se(L, x) || h(x), x.braceNest = 0, $;
11599
11599
  default:
11600
- let le = !0, q = !0, W = !0;
11600
+ let le = !0, q = !0, X = !0;
11601
11601
  if (N(L))
11602
11602
  return x.braceNest > 0 && c(Ne.UNTERMINATED_CLOSING_BRACE, a(), 0), $ = d(x, 1, ae(L)), x.braceNest = 0, x.inLinked = !1, $;
11603
11603
  if (x.braceNest > 0 && (x.currentType === 5 || x.currentType === 6 || x.currentType === 7))
@@ -11606,26 +11606,26 @@ function s5(e, t = {}) {
11606
11606
  return $ = d(x, 5, H(L)), _(L), $;
11607
11607
  if (q = p(L, x))
11608
11608
  return $ = d(x, 6, M(L)), _(L), $;
11609
- if (W = E(L, x))
11609
+ if (X = E(L, x))
11610
11610
  return $ = d(x, 7, V(L)), _(L), $;
11611
- if (!le && !q && !W)
11612
- return $ = d(x, 13, X(L)), c(Ne.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, $.value), _(L), $;
11611
+ if (!le && !q && !X)
11612
+ return $ = d(x, 13, J(L)), c(Ne.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, $.value), _(L), $;
11613
11613
  break;
11614
11614
  }
11615
11615
  return $;
11616
11616
  }
11617
11617
  function se(L, x) {
11618
11618
  const { currentType: $ } = x;
11619
- let ee = null;
11619
+ let Z = null;
11620
11620
  const le = L.currentChar();
11621
11621
  switch (($ === 8 || $ === 9 || $ === 12 || $ === 10) && (le === Yt || le === gr) && c(Ne.INVALID_LINKED_FORMAT, a(), 0), le) {
11622
11622
  case "@":
11623
- return L.next(), ee = d(
11623
+ return L.next(), Z = d(
11624
11624
  x,
11625
11625
  8,
11626
11626
  "@"
11627
11627
  /* TokenChars.LinkedAlias */
11628
- ), x.inLinked = !0, ee;
11628
+ ), x.inLinked = !0, Z;
11629
11629
  case ".":
11630
11630
  return _(L), L.next(), d(
11631
11631
  x,
@@ -11641,7 +11641,7 @@ function s5(e, t = {}) {
11641
11641
  /* TokenChars.LinkedDelimiter */
11642
11642
  );
11643
11643
  default:
11644
- return N(L) ? (ee = d(x, 1, ae(L)), x.braceNest = 0, x.inLinked = !1, ee) : k(L, x) || S(L, x) ? (_(L), se(L, x)) : T(L, x) ? (_(L), d(x, 12, F(L))) : P(L, x) ? (_(L), le === "{" ? Q(L, x) || ee : d(x, 11, J(L))) : ($ === 8 && c(Ne.INVALID_LINKED_FORMAT, a(), 0), x.braceNest = 0, x.inLinked = !1, he(L, x));
11644
+ return N(L) ? (Z = d(x, 1, ae(L)), x.braceNest = 0, x.inLinked = !1, Z) : k(L, x) || S(L, x) ? (_(L), se(L, x)) : T(L, x) ? (_(L), d(x, 12, F(L))) : P(L, x) ? (_(L), le === "{" ? ee(L, x) || Z : d(x, 11, Y(L))) : ($ === 8 && c(Ne.INVALID_LINKED_FORMAT, a(), 0), x.braceNest = 0, x.inLinked = !1, he(L, x));
11645
11645
  }
11646
11646
  }
11647
11647
  function he(L, x) {
@@ -11650,12 +11650,12 @@ function s5(e, t = {}) {
11650
11650
  /* TokenTypes.EOF */
11651
11651
  };
11652
11652
  if (x.braceNest > 0)
11653
- return Q(L, x) || h(x);
11653
+ return ee(L, x) || h(x);
11654
11654
  if (x.inLinked)
11655
11655
  return se(L, x) || h(x);
11656
11656
  switch (L.currentChar()) {
11657
11657
  case "{":
11658
- return Q(L, x) || h(x);
11658
+ return ee(L, x) || h(x);
11659
11659
  case "}":
11660
11660
  return c(Ne.UNBALANCED_CLOSING_BRACE, a(), 0), L.next(), d(
11661
11661
  x,
@@ -11678,8 +11678,8 @@ function s5(e, t = {}) {
11678
11678
  return $;
11679
11679
  }
11680
11680
  function B() {
11681
- const { currentType: L, offset: x, startLoc: $, endLoc: ee } = s;
11682
- return s.lastType = L, s.lastOffset = x, s.lastStartLoc = $, s.lastEndLoc = ee, s.offset = i(), s.startLoc = a(), r.currentChar() === jr ? d(
11681
+ const { currentType: L, offset: x, startLoc: $, endLoc: Z } = s;
11682
+ return s.lastType = L, s.lastOffset = x, s.lastStartLoc = $, s.lastEndLoc = Z, s.offset = i(), s.startLoc = a(), r.currentChar() === jr ? d(
11683
11683
  s,
11684
11684
  14
11685
11685
  /* TokenTypes.EOF */
@@ -13064,7 +13064,7 @@ function Ig(e = {}, t) {
13064
13064
  let k = e.pluralRules || n && n.pluralRules, T;
13065
13065
  T = (() => {
13066
13066
  i && Up(null);
13067
- const G = {
13067
+ const W = {
13068
13068
  version: d7,
13069
13069
  locale: l.value,
13070
13070
  fallbackLocale: s.value,
@@ -13083,9 +13083,9 @@ function Ig(e = {}, t) {
13083
13083
  messageCompiler: e.messageCompiler,
13084
13084
  __meta: { framework: "vue" }
13085
13085
  };
13086
- G.datetimeFormats = f.value, G.numberFormats = c.value, G.__datetimeFormatters = je(T) ? T.__datetimeFormatters : void 0, G.__numberFormatters = je(T) ? T.__numberFormatters : void 0;
13087
- const re = r7(G);
13088
- return i && Up(re), re;
13086
+ W.datetimeFormats = f.value, W.numberFormats = c.value, W.__datetimeFormatters = je(T) ? T.__datetimeFormatters : void 0, W.__numberFormatters = je(T) ? T.__numberFormatters : void 0;
13087
+ const ie = r7(W);
13088
+ return i && Up(ie), ie;
13089
13089
  })(), bo(T, l.value, s.value);
13090
13090
  function P() {
13091
13091
  return [
@@ -13098,38 +13098,38 @@ function Ig(e = {}, t) {
13098
13098
  }
13099
13099
  const N = fe({
13100
13100
  get: () => l.value,
13101
- set: (G) => {
13102
- l.value = G, T.locale = l.value;
13101
+ set: (W) => {
13102
+ l.value = W, T.locale = l.value;
13103
13103
  }
13104
13104
  }), w = fe({
13105
13105
  get: () => s.value,
13106
- set: (G) => {
13107
- s.value = G, T.fallbackLocale = s.value, bo(T, l.value, G);
13106
+ set: (W) => {
13107
+ s.value = W, T.fallbackLocale = s.value, bo(T, l.value, W);
13108
13108
  }
13109
13109
  }), O = fe(() => u.value), C = /* @__PURE__ */ fe(() => f.value), I = /* @__PURE__ */ fe(() => c.value);
13110
13110
  function D() {
13111
13111
  return Ot(v) ? v : null;
13112
13112
  }
13113
- function j(G) {
13114
- v = G, T.postTranslation = G;
13113
+ function j(W) {
13114
+ v = W, T.postTranslation = W;
13115
13115
  }
13116
13116
  function U() {
13117
13117
  return _;
13118
13118
  }
13119
- function te(G) {
13120
- G !== null && (m = rm(G)), _ = G, T.missing = m;
13119
+ function te(W) {
13120
+ W !== null && (m = rm(W)), _ = W, T.missing = m;
13121
13121
  }
13122
- const K = (G, re, pe, ge, ve, Re) => {
13122
+ const K = (W, ie, pe, ge, ve, Re) => {
13123
13123
  P();
13124
13124
  let Te;
13125
13125
  try {
13126
- i || (T.fallbackContext = n ? n7() : void 0), Te = G(T);
13126
+ i || (T.fallbackContext = n ? n7() : void 0), Te = W(T);
13127
13127
  } finally {
13128
13128
  i || (T.fallbackContext = void 0);
13129
13129
  }
13130
13130
  if (pe !== "translate exists" && // for not `te` (e.g `t`)
13131
13131
  Pt(Te) && Te === Wu || pe === "translate exists" && !Te) {
13132
- const [nt, Gn] = re();
13132
+ const [nt, Gn] = ie();
13133
13133
  return n && y ? ge(n) : ve(nt);
13134
13134
  } else {
13135
13135
  if (Re(Te))
@@ -13137,139 +13137,139 @@ function Ig(e = {}, t) {
13137
13137
  throw Wn(Rn.UNEXPECTED_RETURN_TYPE);
13138
13138
  }
13139
13139
  };
13140
- function H(...G) {
13141
- return K((re) => Reflect.apply(Gp, null, [re, ...G]), () => Rf(...G), "translate", (re) => Reflect.apply(re.t, re, [...G]), (re) => re, (re) => _e(re));
13140
+ function H(...W) {
13141
+ return K((ie) => Reflect.apply(Gp, null, [ie, ...W]), () => Rf(...W), "translate", (ie) => Reflect.apply(ie.t, ie, [...W]), (ie) => ie, (ie) => _e(ie));
13142
13142
  }
13143
- function M(...G) {
13144
- const [re, pe, ge] = G;
13143
+ function M(...W) {
13144
+ const [ie, pe, ge] = W;
13145
13145
  if (ge && !Xe(ge))
13146
13146
  throw Wn(Rn.INVALID_ARGUMENT);
13147
- return H(re, pe, Ut({ resolvedMessage: !0 }, ge || {}));
13147
+ return H(ie, pe, Ut({ resolvedMessage: !0 }, ge || {}));
13148
13148
  }
13149
- function V(...G) {
13150
- return K((re) => Reflect.apply(Yp, null, [re, ...G]), () => Df(...G), "datetime format", (re) => Reflect.apply(re.d, re, [...G]), () => zp, (re) => _e(re));
13149
+ function V(...W) {
13150
+ return K((ie) => Reflect.apply(Yp, null, [ie, ...W]), () => Df(...W), "datetime format", (ie) => Reflect.apply(ie.d, ie, [...W]), () => zp, (ie) => _e(ie));
13151
13151
  }
13152
- function z(...G) {
13153
- return K((re) => Reflect.apply(Jp, null, [re, ...G]), () => Ff(...G), "number format", (re) => Reflect.apply(re.n, re, [...G]), () => zp, (re) => _e(re));
13152
+ function z(...W) {
13153
+ return K((ie) => Reflect.apply(Jp, null, [ie, ...W]), () => Ff(...W), "number format", (ie) => Reflect.apply(ie.n, ie, [...W]), () => zp, (ie) => _e(ie));
13154
13154
  }
13155
- function Z(G) {
13156
- return G.map((re) => _e(re) || Pt(re) || lt(re) ? Qp(String(re)) : re);
13155
+ function Q(W) {
13156
+ return W.map((ie) => _e(ie) || Pt(ie) || lt(ie) ? Qp(String(ie)) : ie);
13157
13157
  }
13158
13158
  const F = {
13159
- normalize: Z,
13160
- interpolate: (G) => G,
13159
+ normalize: Q,
13160
+ interpolate: (W) => W,
13161
13161
  type: "vnode"
13162
13162
  };
13163
- function J(...G) {
13163
+ function Y(...W) {
13164
13164
  return K(
13165
- (re) => {
13165
+ (ie) => {
13166
13166
  let pe;
13167
- const ge = re;
13167
+ const ge = ie;
13168
13168
  try {
13169
- ge.processor = F, pe = Reflect.apply(Gp, null, [ge, ...G]);
13169
+ ge.processor = F, pe = Reflect.apply(Gp, null, [ge, ...W]);
13170
13170
  } finally {
13171
13171
  ge.processor = null;
13172
13172
  }
13173
13173
  return pe;
13174
13174
  },
13175
- () => Rf(...G),
13175
+ () => Rf(...W),
13176
13176
  "translate",
13177
13177
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
13178
- (re) => re[Hf](...G),
13179
- (re) => [Qp(re)],
13180
- (re) => wt(re)
13178
+ (ie) => ie[Hf](...W),
13179
+ (ie) => [Qp(ie)],
13180
+ (ie) => wt(ie)
13181
13181
  );
13182
13182
  }
13183
- function ae(...G) {
13183
+ function ae(...W) {
13184
13184
  return K(
13185
- (re) => Reflect.apply(Jp, null, [re, ...G]),
13186
- () => Ff(...G),
13185
+ (ie) => Reflect.apply(Jp, null, [ie, ...W]),
13186
+ () => Ff(...W),
13187
13187
  "number format",
13188
13188
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
13189
- (re) => re[jf](...G),
13189
+ (ie) => ie[jf](...W),
13190
13190
  tm,
13191
- (re) => _e(re) || wt(re)
13191
+ (ie) => _e(ie) || wt(ie)
13192
13192
  );
13193
13193
  }
13194
- function Q(...G) {
13194
+ function ee(...W) {
13195
13195
  return K(
13196
- (re) => Reflect.apply(Yp, null, [re, ...G]),
13197
- () => Df(...G),
13196
+ (ie) => Reflect.apply(Yp, null, [ie, ...W]),
13197
+ () => Df(...W),
13198
13198
  "datetime format",
13199
13199
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
13200
- (re) => re[Vf](...G),
13200
+ (ie) => ie[Vf](...W),
13201
13201
  tm,
13202
- (re) => _e(re) || wt(re)
13202
+ (ie) => _e(ie) || wt(ie)
13203
13203
  );
13204
13204
  }
13205
- function se(G) {
13206
- k = G, T.pluralRules = k;
13205
+ function se(W) {
13206
+ k = W, T.pluralRules = k;
13207
13207
  }
13208
- function he(G, re) {
13208
+ function he(W, ie) {
13209
13209
  return K(() => {
13210
- if (!G)
13210
+ if (!W)
13211
13211
  return !1;
13212
- const pe = _e(re) ? re : l.value, ge = x(pe), ve = T.messageResolver(ge, G);
13212
+ const pe = _e(ie) ? ie : l.value, ge = x(pe), ve = T.messageResolver(ge, W);
13213
13213
  return Ka(ve) || kn(ve) || _e(ve);
13214
- }, () => [G], "translate exists", (pe) => Reflect.apply(pe.te, pe, [G, re]), v7, (pe) => lt(pe));
13214
+ }, () => [W], "translate exists", (pe) => Reflect.apply(pe.te, pe, [W, ie]), v7, (pe) => lt(pe));
13215
13215
  }
13216
- function B(G) {
13217
- let re = null;
13216
+ function B(W) {
13217
+ let ie = null;
13218
13218
  const pe = gg(T, s.value, l.value);
13219
13219
  for (let ge = 0; ge < pe.length; ge++) {
13220
- const ve = u.value[pe[ge]] || {}, Re = T.messageResolver(ve, G);
13220
+ const ve = u.value[pe[ge]] || {}, Re = T.messageResolver(ve, W);
13221
13221
  if (Re != null) {
13222
- re = Re;
13222
+ ie = Re;
13223
13223
  break;
13224
13224
  }
13225
13225
  }
13226
- return re;
13226
+ return ie;
13227
13227
  }
13228
- function L(G) {
13229
- const re = B(G);
13230
- return re ?? (n ? n.tm(G) || {} : {});
13228
+ function L(W) {
13229
+ const ie = B(W);
13230
+ return ie ?? (n ? n.tm(W) || {} : {});
13231
13231
  }
13232
- function x(G) {
13233
- return u.value[G] || {};
13232
+ function x(W) {
13233
+ return u.value[W] || {};
13234
13234
  }
13235
- function $(G, re) {
13235
+ function $(W, ie) {
13236
13236
  if (a) {
13237
- const pe = { [G]: re };
13237
+ const pe = { [W]: ie };
13238
13238
  for (const ge in pe)
13239
13239
  tl(pe, ge) && rl(pe[ge]);
13240
- re = pe[G];
13240
+ ie = pe[W];
13241
13241
  }
13242
- u.value[G] = re, T.messages = u.value;
13242
+ u.value[W] = ie, T.messages = u.value;
13243
13243
  }
13244
- function ee(G, re) {
13245
- u.value[G] = u.value[G] || {};
13246
- const pe = { [G]: re };
13244
+ function Z(W, ie) {
13245
+ u.value[W] = u.value[W] || {};
13246
+ const pe = { [W]: ie };
13247
13247
  for (const ge in pe)
13248
13248
  tl(pe, ge) && rl(pe[ge]);
13249
- re = pe[G], Fo(re, u.value[G]), T.messages = u.value;
13249
+ ie = pe[W], Fo(ie, u.value[W]), T.messages = u.value;
13250
13250
  }
13251
- function le(G) {
13252
- return f.value[G] || {};
13251
+ function le(W) {
13252
+ return f.value[W] || {};
13253
13253
  }
13254
- function q(G, re) {
13255
- f.value[G] = re, T.datetimeFormats = f.value, Xp(T, G, re);
13254
+ function q(W, ie) {
13255
+ f.value[W] = ie, T.datetimeFormats = f.value, Xp(T, W, ie);
13256
13256
  }
13257
- function W(G, re) {
13258
- f.value[G] = Ut(f.value[G] || {}, re), T.datetimeFormats = f.value, Xp(T, G, re);
13257
+ function X(W, ie) {
13258
+ f.value[W] = Ut(f.value[W] || {}, ie), T.datetimeFormats = f.value, Xp(T, W, ie);
13259
13259
  }
13260
- function ne(G) {
13261
- return c.value[G] || {};
13260
+ function re(W) {
13261
+ return c.value[W] || {};
13262
13262
  }
13263
- function ie(G, re) {
13264
- c.value[G] = re, T.numberFormats = c.value, Zp(T, G, re);
13263
+ function ne(W, ie) {
13264
+ c.value[W] = ie, T.numberFormats = c.value, Zp(T, W, ie);
13265
13265
  }
13266
- function oe(G, re) {
13267
- c.value[G] = Ut(c.value[G] || {}, re), T.numberFormats = c.value, Zp(T, G, re);
13266
+ function oe(W, ie) {
13267
+ c.value[W] = Ut(c.value[W] || {}, ie), T.numberFormats = c.value, Zp(T, W, ie);
13268
13268
  }
13269
- nm++, n && If && (Ke(n.locale, (G) => {
13270
- o && (l.value = G, T.locale = G, bo(T, l.value, s.value));
13271
- }), Ke(n.fallbackLocale, (G) => {
13272
- o && (s.value = G, T.fallbackLocale = G, bo(T, l.value, s.value));
13269
+ nm++, n && If && (Ke(n.locale, (W) => {
13270
+ o && (l.value = W, T.locale = W, bo(T, l.value, s.value));
13271
+ }), Ke(n.fallbackLocale, (W) => {
13272
+ o && (s.value = W, T.fallbackLocale = W, bo(T, l.value, s.value));
13273
13273
  }));
13274
13274
  const ce = {
13275
13275
  id: nm,
@@ -13278,8 +13278,8 @@ function Ig(e = {}, t) {
13278
13278
  get inheritLocale() {
13279
13279
  return o;
13280
13280
  },
13281
- set inheritLocale(G) {
13282
- o = G, G && n && (l.value = n.locale.value, s.value = n.fallbackLocale.value, bo(T, l.value, s.value));
13281
+ set inheritLocale(W) {
13282
+ o = W, W && n && (l.value = n.locale.value, s.value = n.fallbackLocale.value, bo(T, l.value, s.value));
13283
13283
  },
13284
13284
  get availableLocales() {
13285
13285
  return Object.keys(u.value).sort();
@@ -13297,50 +13297,50 @@ function Ig(e = {}, t) {
13297
13297
  get missingWarn() {
13298
13298
  return d;
13299
13299
  },
13300
- set missingWarn(G) {
13301
- d = G, T.missingWarn = d;
13300
+ set missingWarn(W) {
13301
+ d = W, T.missingWarn = d;
13302
13302
  },
13303
13303
  get fallbackWarn() {
13304
13304
  return h;
13305
13305
  },
13306
- set fallbackWarn(G) {
13307
- h = G, T.fallbackWarn = h;
13306
+ set fallbackWarn(W) {
13307
+ h = W, T.fallbackWarn = h;
13308
13308
  },
13309
13309
  get fallbackRoot() {
13310
13310
  return y;
13311
13311
  },
13312
- set fallbackRoot(G) {
13313
- y = G;
13312
+ set fallbackRoot(W) {
13313
+ y = W;
13314
13314
  },
13315
13315
  get fallbackFormat() {
13316
13316
  return g;
13317
13317
  },
13318
- set fallbackFormat(G) {
13319
- g = G, T.fallbackFormat = g;
13318
+ set fallbackFormat(W) {
13319
+ g = W, T.fallbackFormat = g;
13320
13320
  },
13321
13321
  get warnHtmlMessage() {
13322
13322
  return b;
13323
13323
  },
13324
- set warnHtmlMessage(G) {
13325
- b = G, T.warnHtmlMessage = G;
13324
+ set warnHtmlMessage(W) {
13325
+ b = W, T.warnHtmlMessage = W;
13326
13326
  },
13327
13327
  get escapeParameter() {
13328
13328
  return p;
13329
13329
  },
13330
- set escapeParameter(G) {
13331
- p = G, T.escapeParameter = G;
13330
+ set escapeParameter(W) {
13331
+ p = W, T.escapeParameter = W;
13332
13332
  },
13333
13333
  t: H,
13334
13334
  getLocaleMessage: x,
13335
13335
  setLocaleMessage: $,
13336
- mergeLocaleMessage: ee,
13336
+ mergeLocaleMessage: Z,
13337
13337
  getPostTranslationHandler: D,
13338
13338
  setPostTranslationHandler: j,
13339
13339
  getMissingHandler: U,
13340
13340
  setMissingHandler: te,
13341
13341
  [h7]: se
13342
13342
  };
13343
- return ce.datetimeFormats = C, ce.numberFormats = I, ce.rt = M, ce.te = he, ce.tm = L, ce.d = V, ce.n = z, ce.getDateTimeFormat = le, ce.setDateTimeFormat = q, ce.mergeDateTimeFormat = W, ce.getNumberFormat = ne, ce.setNumberFormat = ie, ce.mergeNumberFormat = oe, ce[p7] = r, ce[Hf] = J, ce[Vf] = Q, ce[jf] = ae, ce;
13343
+ return ce.datetimeFormats = C, ce.numberFormats = I, ce.rt = M, ce.te = he, ce.tm = L, ce.d = V, ce.n = z, ce.getDateTimeFormat = le, ce.setDateTimeFormat = q, ce.mergeDateTimeFormat = X, ce.getNumberFormat = re, ce.setNumberFormat = ne, ce.mergeNumberFormat = oe, ce[p7] = r, ce[Hf] = Y, ce[Vf] = ee, ce[jf] = ae, ce;
13344
13344
  }
13345
13345
  const Vh = {
13346
13346
  tag: {
@@ -15638,7 +15638,7 @@ const kO = aa("applyGiftCard", () => {
15638
15638
  headers: {
15639
15639
  Authorization: t.value,
15640
15640
  Accept: "application/json",
15641
- "Fresh-Booking-Ver": "4.0.38"
15641
+ "Fresh-Booking-Ver": "4.0.39"
15642
15642
  }
15643
15643
  }).then((f) => {
15644
15644
  const {
@@ -15840,24 +15840,24 @@ const kO = aa("applyGiftCard", () => {
15840
15840
  }), N = be({}), w = be(!0), O = be(
15841
15841
  0
15842
15842
  /* InitialState */
15843
- ), C = be(NaN), I = be(NaN), D = be(""), j = be(""), U = be(""), te = Dt("konnectio_name", "", void 0, { serializer: kt.string }), K = Dt("konnectio_nameTitle", 2, void 0, { serializer: kt.number }), H = Dt("konnectio_email", "", void 0, { serializer: kt.string }), M = Dt("konnectio_phone", "", void 0, { serializer: kt.string }), V = Dt("konnectio_company", "", void 0, { serializer: kt.string }), z = Dt("konnectio_postal", "", void 0, { serializer: kt.string }), Z = Dt("konnectio_city", "", void 0, { serializer: kt.string }), X = Dt("konnectio_country", 57, void 0, { serializer: kt.number }), F = Dt("konnectio_address", "", void 0, { serializer: kt.string }), J = be(""), ae = be(""), Q = be(!1), se = be(!1), he = () => b.metaData.hotels.findIndex((ke) => ke.id === d.value), B = fe(() => b.metaData.hotels[he()]), L = fe(() => b.metaData.hotels && b.metaData.hotels.length > 1), x = fe(() => b.metaData.hotels ? b.metaData.hotels.flatMap((ke) => ({
15843
+ ), C = be(NaN), I = be(NaN), D = be(""), j = be(""), U = be(""), te = Dt("konnectio_name", "", void 0, { serializer: kt.string }), K = Dt("konnectio_nameTitle", 2, void 0, { serializer: kt.number }), H = Dt("konnectio_email", "", void 0, { serializer: kt.string }), M = Dt("konnectio_phone", "", void 0, { serializer: kt.string }), V = Dt("konnectio_company", "", void 0, { serializer: kt.string }), z = Dt("konnectio_postal", "", void 0, { serializer: kt.string }), Q = Dt("konnectio_city", "", void 0, { serializer: kt.string }), J = Dt("konnectio_country", 57, void 0, { serializer: kt.number }), F = Dt("konnectio_address", "", void 0, { serializer: kt.string }), Y = be(""), ae = be(""), ee = be(!1), se = be(!1), he = () => b.metaData.hotels.findIndex((ke) => ke.id === d.value), B = fe(() => b.metaData.hotels[he()]), L = fe(() => b.metaData.hotels && b.metaData.hotels.length > 1), x = fe(() => b.metaData.hotels ? b.metaData.hotels.flatMap((ke) => ({
15844
15844
  value: ke.id,
15845
15845
  label: ke.name
15846
- })) : []), $ = fe(() => B.value.termsOfService), ee = fe(() => B.value.country ? B.value.country.name : ""), le = fe(() => b.metaData.countries ? b.metaData.countries : []), q = fe(() => B.value.name ? B.value.name : ""), W = fe(() => b.metaData && Object.keys(b.metaData).length !== 0), ne = fe(() => Object.keys(N.value).length !== 0), ie = fe(() => !(!te.value[1] || !H.value || !(M.value.length >= 5) || !z.value || !Z.value || !F.value)), oe = fe(() => O.value === 1 && w.value), ce = fe(() => O.value === 3 && w.value), G = fe(() => {
15846
+ })) : []), $ = fe(() => B.value.termsOfService), Z = fe(() => B.value.country ? B.value.country.name : ""), le = fe(() => b.metaData.countries ? b.metaData.countries : []), q = fe(() => B.value.name ? B.value.name : ""), X = fe(() => b.metaData && Object.keys(b.metaData).length !== 0), re = fe(() => Object.keys(N.value).length !== 0), ne = fe(() => !(!te.value[1] || !H.value || !(M.value.length >= 5) || !z.value || !Q.value || !F.value)), oe = fe(() => O.value === 1 && w.value), ce = fe(() => O.value === 3 && w.value), W = fe(() => {
15847
15847
  if (N.value.templates)
15848
15848
  return N.value.templates.find(
15849
15849
  (ke) => ke.id === C.value
15850
15850
  );
15851
15851
  });
15852
- function re(ke) {
15853
- if (G.value)
15854
- return G.value.roomGroups.find(
15852
+ function ie(ke) {
15853
+ if (W.value)
15854
+ return W.value.roomGroups.find(
15855
15855
  (Be) => Be.roomGroupID === ke
15856
15856
  );
15857
15857
  }
15858
15858
  const pe = fe(() => {
15859
- if (G.value)
15860
- return G.value.roomGroups.find(
15859
+ if (W.value)
15860
+ return W.value.roomGroups.find(
15861
15861
  (ke) => ke.roomGroupID === I.value
15862
15862
  );
15863
15863
  });
@@ -15872,7 +15872,7 @@ const kO = aa("applyGiftCard", () => {
15872
15872
  return Ze && Ze.name && (Be = Ze.name), Be;
15873
15873
  }
15874
15874
  function Re(ke, Be) {
15875
- return `[REMARKS]: ${J.value} \r
15875
+ return `[REMARKS]: ${Y.value} \r
15876
15876
  [ALLERGIES]: ${ae.value} \r
15877
15877
  [REQUESTED ARRIVAL]: ${ke} \r
15878
15878
  [REQUESTED DEPARTURE]: ${Be}`;
@@ -15898,7 +15898,7 @@ const kO = aa("applyGiftCard", () => {
15898
15898
  headers: {
15899
15899
  Authorization: y.value,
15900
15900
  Accept: "application/json",
15901
- "Fresh-Booking-Ver": "4.0.38"
15901
+ "Fresh-Booking-Ver": "4.0.39"
15902
15902
  }
15903
15903
  })).data;
15904
15904
  h.value = ke;
@@ -15926,7 +15926,7 @@ const kO = aa("applyGiftCard", () => {
15926
15926
  headers: {
15927
15927
  Authorization: y.value,
15928
15928
  Accept: "application/json",
15929
- "Fresh-Booking-Ver": "4.0.38"
15929
+ "Konnectio-Ver": "4.0.39"
15930
15930
  }
15931
15931
  });
15932
15932
  Be.status !== 200 ? i({
@@ -15973,7 +15973,7 @@ const kO = aa("applyGiftCard", () => {
15973
15973
  name: te.value,
15974
15974
  email: H.value,
15975
15975
  phone: M.value,
15976
- newsmails: Q.value
15976
+ newsmails: ee.value
15977
15977
  }
15978
15978
  });
15979
15979
  let Ze = d.value;
@@ -15989,11 +15989,11 @@ const kO = aa("applyGiftCard", () => {
15989
15989
  email: H.value,
15990
15990
  firmName: V.value,
15991
15991
  phone: M.value,
15992
- country: X.value,
15992
+ country: J.value,
15993
15993
  address1: F.value,
15994
15994
  postal: String(z.value),
15995
- city: Z.value,
15996
- newsmails: Q.value
15995
+ city: Q.value,
15996
+ newsmails: ee.value
15997
15997
  },
15998
15998
  giftCardCode: n.value,
15999
15999
  selectedRooms: Be,
@@ -16008,7 +16008,7 @@ const kO = aa("applyGiftCard", () => {
16008
16008
  headers: {
16009
16009
  Authorization: y.value,
16010
16010
  Accept: "application/json",
16011
- "Fresh-Booking-Ver": "4.0.38"
16011
+ "Konnectio-Ver": "4.0.39"
16012
16012
  }
16013
16013
  }).then((De) => {
16014
16014
  se.value = !1, w.value = !1, t.pay({
@@ -16061,30 +16061,30 @@ const kO = aa("applyGiftCard", () => {
16061
16061
  phone: M,
16062
16062
  firmName: V,
16063
16063
  postal: z,
16064
- city: Z,
16065
- country: X,
16064
+ city: Q,
16065
+ country: J,
16066
16066
  address: F,
16067
- remark: J,
16067
+ remark: Y,
16068
16068
  allergies: ae,
16069
- newsMails: Q,
16069
+ newsMails: ee,
16070
16070
  roomDisplay: E,
16071
16071
  isPaymentInitialized: se,
16072
16072
  nights: c,
16073
- hotelCountry: ee,
16073
+ hotelCountry: Z,
16074
16074
  countries: le,
16075
16075
  title: q,
16076
16076
  // slideshow,
16077
- isMetaDataAvailable: W,
16078
- isAvailabilityDataAvailable: ne,
16077
+ isMetaDataAvailable: X,
16078
+ isAvailabilityDataAvailable: re,
16079
16079
  totalPrice: P,
16080
- selectedPackage: G,
16080
+ selectedPackage: W,
16081
16081
  isPaymentLoading: ce,
16082
16082
  getSingleListing: ge,
16083
- getSpecifiedPackageRoom: re,
16083
+ getSpecifiedPackageRoom: ie,
16084
16084
  getRoomName: ve,
16085
16085
  getBasePrice: nt,
16086
16086
  getSelectedPackageRoom: pe,
16087
- isReservationFormFilled: ie,
16087
+ isReservationFormFilled: ne,
16088
16088
  hasValidRoomSelection: T,
16089
16089
  fetchMetaData: Gn,
16090
16090
  fetchAvailabilityData: wn,
@@ -16403,24 +16403,24 @@ Ga.getInstance = vy.getInstance;
16403
16403
  } });
16404
16404
  })(my);
16405
16405
  const Ya = aa("utilities", () => {
16406
- const e = py(), { display: t } = Nl(), { location: n } = Ui(Gf()), { reset: r } = Gf(), i = Dt("konnectio_settings", {}, void 0, { serializer: kt.object }), a = Dt("konnectio_cLocation", NaN, void 0, { serializer: kt.number }), o = be({}), l = fe(() => i.value.maximumNightsAvailable), s = fe(() => i.value.enableTracking), u = fe(() => i.value.googleApiKey), f = fe(() => i.value.recaptchaSiteKey), c = fe(() => i.value.recaptchaSecretKey), d = fe(() => i.value.maxAdultAmount), h = fe(() => i.value.maxChildAmount), y = fe(() => i.value.firstSelectableDateOffset), g = fe(() => i.value.lastSelectableDateOffset), _ = fe(() => i.value.disableAdultSelection), m = fe(() => i.value.disableArrivalUserSelection), v = fe(() => i.value.disableChildSelection), b = fe(() => i.value.disableDepartureUserSelection), p = fe(() => i.value.bookingUri), E = fe(() => i.value.hideTitle), k = fe(() => i.value.headerHeight), T = fe(() => i.value.arrivalDefault), S = fe(() => i.value.arrivalEarliest), P = fe(() => i.value.arrivalLatest), N = fe(() => i.value.departureDefault), w = fe(() => i.value.departureEarliest), O = fe(() => i.value.departureLatest), C = fe(() => i.value.hideArrivalDepartureInputs), I = fe(() => i.value.disableNamePrefix), D = fe(() => i.value.disableGiftCardVoucher), j = fe(() => i.value.enablePackages), U = fe(() => i.value.disablePricesFrom), te = fe(() => i.value.hideAvailableRoomAmount), K = fe(() => i.value.hideEvents), H = fe(() => i.value.hideEventTemplates), M = fe(() => i.value.disableNewsletterSignup), V = fe(() => i.value.disableTravelingFor), z = fe(() => i.value.disableCompanyField), Z = be(""), X = fe(() => `Bearer ${Z.value}`), F = fe(() => Object.keys(o.value).length > 0), J = fe(() => F.value ? o.value.hotels[0].currency.currencyCode : ""), ae = fe(() => F.value ? o.value.hotels[0].currency.id : NaN), Q = fe(() => F.value ? o.value.hotels[0].name : ""), se = fe(() => o.value.hotels[0].paymentGatewayId), he = fe(() => {
16407
- let W = !0;
16408
- return (se.value === al.None || se.value === al.AskForCreditCard) && (W = !1), W;
16406
+ const e = py(), { display: t } = Nl(), { location: n } = Ui(Gf()), { reset: r } = Gf(), i = Dt("konnectio_settings", {}, void 0, { serializer: kt.object }), a = Dt("konnectio_cLocation", NaN, void 0, { serializer: kt.number }), o = be({}), l = fe(() => i.value.maximumNightsAvailable), s = fe(() => i.value.enableTracking), u = fe(() => i.value.googleApiKey), f = fe(() => i.value.recaptchaSiteKey), c = fe(() => i.value.recaptchaSecretKey), d = fe(() => i.value.maxAdultAmount), h = fe(() => i.value.maxChildAmount), y = fe(() => i.value.firstSelectableDateOffset), g = fe(() => i.value.lastSelectableDateOffset), _ = fe(() => i.value.disableAdultSelection), m = fe(() => i.value.disableArrivalUserSelection), v = fe(() => i.value.disableChildSelection), b = fe(() => i.value.disableDepartureUserSelection), p = fe(() => i.value.bookingUri), E = fe(() => i.value.hideTitle), k = fe(() => i.value.headerHeight), T = fe(() => i.value.arrivalDefault), S = fe(() => i.value.arrivalEarliest), P = fe(() => i.value.arrivalLatest), N = fe(() => i.value.departureDefault), w = fe(() => i.value.departureEarliest), O = fe(() => i.value.departureLatest), C = fe(() => i.value.hideArrivalDepartureInputs), I = fe(() => i.value.disableNamePrefix), D = fe(() => i.value.disableGiftCardVoucher), j = fe(() => i.value.enablePackages), U = fe(() => i.value.disablePricesFrom), te = fe(() => i.value.hideAvailableRoomAmount), K = fe(() => i.value.hideEvents), H = fe(() => i.value.hideEventTemplates), M = fe(() => i.value.disableNewsletterSignup), V = fe(() => i.value.disableTravelingFor), z = fe(() => i.value.disableTravelingForBleasure), Q = fe(() => i.value.disableCompanyField), J = be(""), F = fe(() => `Bearer ${J.value}`), Y = fe(() => Object.keys(o.value).length > 0), ae = fe(() => Y.value ? o.value.hotels[0].currency.currencyCode : ""), ee = fe(() => Y.value ? o.value.hotels[0].currency.id : NaN), se = fe(() => Y.value ? o.value.hotels[0].name : ""), he = fe(() => o.value.hotels[0].paymentGatewayId), B = fe(() => {
16407
+ let re = !0;
16408
+ return (he.value === al.None || he.value === al.AskForCreditCard) && (re = !1), re;
16409
16409
  });
16410
- function B(W) {
16411
- Z.value = W;
16410
+ function L(re) {
16411
+ J.value = re;
16412
16412
  }
16413
- async function L(W = "none") {
16413
+ async function x(re = "none") {
16414
16414
  try {
16415
- if (W !== "none") {
16416
- const ne = (await qi.get(`https://production.hotel-service.konnectio.dk/api/${W}/metadata`, {
16415
+ if (re !== "none") {
16416
+ const ne = (await qi.get(`https://production.hotel-service.konnectio.dk/api/${re}/metadata`, {
16417
16417
  params: {
16418
16418
  language: kr()
16419
16419
  },
16420
16420
  headers: {
16421
- Authorization: X.value,
16421
+ Authorization: F.value,
16422
16422
  Accept: "application/json",
16423
- "Fresh-Booking-Ver": "4.0.38"
16423
+ "Fresh-Booking-Ver": "4.0.39"
16424
16424
  }
16425
16425
  })).data;
16426
16426
  o.value = ne, ne.hotelId && (isNaN(a.value) ? a.value = ne.hotelId : a.value !== ne.hotelId && (r(), a.value = ne.hotelId), isNaN(n.value) && ne.hotelId && (n.value = ne.hotelId));
@@ -16432,34 +16432,34 @@ const Ya = aa("utilities", () => {
16432
16432
  });
16433
16433
  }
16434
16434
  }
16435
- async function x() {
16435
+ async function $() {
16436
16436
  await qi.get("https://production.hotel-service.konnectio.dk/api/utility/get-settings-and-translations", {
16437
16437
  headers: {
16438
- Authorization: X.value,
16438
+ Authorization: F.value,
16439
16439
  Accept: "application/json",
16440
- "Fresh-Booking-Ver": "4.0.38"
16440
+ "Fresh-Booking-Ver": "4.0.39"
16441
16441
  }
16442
- }).then((W) => {
16443
- const { settings: ne, translations: ie } = W.data;
16444
- i.value = ne, nO(ie), le(), e.setup();
16442
+ }).then((re) => {
16443
+ const { settings: ne, translations: oe } = re.data;
16444
+ i.value = ne, nO(oe), q(), e.setup();
16445
16445
  });
16446
16446
  }
16447
- const $ = be(), ee = fe(() => $.value !== void 0);
16448
- async function le() {
16449
- f.value && ($.value || (console.log(f.value), $.value = await my.load(f.value)));
16447
+ const Z = be(), le = fe(() => Z.value !== void 0);
16448
+ async function q() {
16449
+ f.value && (Z.value || (console.log(f.value), Z.value = await my.load(f.value)));
16450
16450
  }
16451
- async function q({ type: W = "submit", callback: ne }) {
16452
- if ($.value !== void 0) {
16453
- console.log(W);
16454
- const ie = await $.value.execute(W);
16451
+ async function X({ type: re = "submit", callback: ne }) {
16452
+ if (Z.value !== void 0) {
16453
+ console.log(re);
16454
+ const oe = await Z.value.execute(re);
16455
16455
  (await qi.get("https://production.hotel-service.konnectio.dk/api/utility/verify-recaptcha", {
16456
16456
  params: {
16457
16457
  language: kr(),
16458
- token: ie
16458
+ token: oe
16459
16459
  },
16460
16460
  headers: {
16461
- Authorization: X.value,
16462
- "Konnectio-Core-Ver": "4.0.38"
16461
+ Authorization: F.value,
16462
+ "Konnectio-Core-Ver": "4.0.39"
16463
16463
  }
16464
16464
  })).data.success === !0 ? ne() : t({
16465
16465
  message: qe.t("Robot guy"),
@@ -16469,18 +16469,19 @@ const Ya = aa("utilities", () => {
16469
16469
  ne();
16470
16470
  }
16471
16471
  return {
16472
- setAccessToken: B,
16473
- fetchUtilities: x,
16474
- fetchMetadata: L,
16475
- verifyRecaptcha: q,
16476
- hasPaymentGateway: he,
16477
- recaptcha: $,
16478
- name: Q,
16479
- paymentGatewayId: se,
16472
+ setAccessToken: L,
16473
+ fetchUtilities: $,
16474
+ fetchMetadata: x,
16475
+ verifyRecaptcha: X,
16476
+ disableTravelingForBleasure: z,
16477
+ hasPaymentGateway: B,
16478
+ recaptcha: Z,
16479
+ name: se,
16480
+ paymentGatewayId: he,
16480
16481
  metaData: o,
16481
- currency: J,
16482
- currencyId: ae,
16483
- bearerToken: X,
16482
+ currency: ae,
16483
+ currencyId: ee,
16484
+ bearerToken: F,
16484
16485
  maximumNightsAvailable: l,
16485
16486
  enableTracking: s,
16486
16487
  googleApiKey: u,
@@ -16513,8 +16514,8 @@ const Ya = aa("utilities", () => {
16513
16514
  hideEventTemplates: H,
16514
16515
  disableNewsletterSignup: M,
16515
16516
  disableTravelingFor: V,
16516
- disableCompanyField: z,
16517
- isRecaptchaEnabled: ee
16517
+ disableCompanyField: Q,
16518
+ isRecaptchaEnabled: le
16518
16519
  };
16519
16520
  });
16520
16521
  function xm(e, t) {
@@ -19910,40 +19911,41 @@ const NA = /* @__PURE__ */ oa(AA, [["__scopeId", "data-v-96175ee8"]]), kA = {
19910
19911
  async setup(e) {
19911
19912
  let t, n;
19912
19913
  ah((s) => ({
19913
- "1662f052": i.value.accentColor,
19914
- "5827dd42": i.value.accentColorSecondary,
19915
- "64713bf2": i.value.buttonBackground,
19916
- "476dd585": i.value.buttonBorder,
19917
- "43eb9312": i.value.buttonBorderRadius,
19918
- "1c50822c": i.value.buttonColor,
19919
- "57a0ad28": i.value.buttonFontFamily,
19920
- "864ddfee": i.value.buttonFontSize,
19921
- "1d2edf00": i.value.buttonFontWeight,
19922
- "7568e146": i.value.buttonTextTransform,
19923
- "3baf7e99": i.value.dangerColor,
19924
- "6e48962d": i.value.fontColor,
19925
- "5f23cdda": i.value.fontFamily,
19926
- "6c711012": i.value.fontSize,
19927
- d9f076ce: i.value.grayColor,
19928
- bd6a3722: i.value.headerColor,
19929
- "713557b1": i.value.inputBackground,
19930
- "2cbd302f": i.value.inputBorder,
19931
- "5dd169a1": i.value.inputBorderRadius,
19932
- "7f2fd2d7": i.value.inputBorderWidth,
19933
- "2a1ca51e": i.value.inputFontColor,
19934
- "06897e58": i.value.labelFontWeight,
19935
- "2ff87546": i.value.labelFontSize,
19936
- "420b53f8": i.value.labelPadding,
19937
- 69408562: i.value.linkColor,
19938
- "7cb32630": i.value.linkHoverColor,
19939
- "7eb6bf0e": i.value.loadingColor,
19940
- "6eac096b": i.value.panelBackground,
19941
- ed14622e: i.value.panelBorder,
19942
- "4f3ad64a": i.value.panelBorderRadius,
19943
- d3d31c50: i.value.panelInnerPadding,
19944
- "713238f4": i.value.panelPadding,
19945
- b3e45846: i.value.panelShadow,
19946
- "03b184a7": i.value.successColor
19914
+ "1235852a": i.value.accentColor,
19915
+ "47cf876e": i.value.accentColorSecondary,
19916
+ "7e565c8e": i.value.buttonBackground,
19917
+ "77352b8c": i.value.buttonBorder,
19918
+ b276a984: i.value.buttonBorderRadius,
19919
+ "5b4be7fa": i.value.buttonColor,
19920
+ f682b81a: i.value.buttonFontFamily,
19921
+ 18230050: i.value.buttonFontSize,
19922
+ bc10e9f2: i.value.buttonFontWeight,
19923
+ "7805f542": i.value.buttonTextTransform,
19924
+ "1c31cbb2": i.value.dangerColor,
19925
+ "28fd5586": i.value.fontColor,
19926
+ "09f20cbe": i.value.fontFamily,
19927
+ c37e2d04: i.value.fontSize,
19928
+ "4dbc83f2": i.value.grayColor,
19929
+ fc659cf0: i.value.headerColor,
19930
+ "7f29704a": i.value.inputBackground,
19931
+ "0d3f7d48": i.value.inputBorder,
19932
+ "81bc800c": i.value.inputBorderRadius,
19933
+ "2fbecd5e": i.value.inputBorderWidth,
19934
+ "463b9db8": i.value.inputFontColor,
19935
+ "72dfe5ce": i.value.labelFontColor,
19936
+ "0aaf596d": i.value.labelFontWeight,
19937
+ "9db19f94": i.value.labelFontSize,
19938
+ "0ec1ac0b": i.value.labelPadding,
19939
+ "23f544bb": i.value.linkColor,
19940
+ "1cf05d2f": i.value.linkHoverColor,
19941
+ a303d5d6: i.value.loadingColor,
19942
+ "7ca02204": i.value.panelBackground,
19943
+ "69f81c02": i.value.panelBorder,
19944
+ "39b2eb34": i.value.panelBorderRadius,
19945
+ "11326f9e": i.value.panelInnerPadding,
19946
+ be0ce20a: i.value.panelPadding,
19947
+ f2dfbe14: i.value.panelShadow,
19948
+ "3378daae": i.value.successColor
19947
19949
  }));
19948
19950
  const r = e, i = fe(() => ({
19949
19951
  accentColor: "#6ab1e6",
@@ -20949,18 +20951,18 @@ var Xy = { exports: {} };
20949
20951
  return K && typeof Symbol == "function" && K.constructor === Symbol && K !== Symbol.prototype ? "symbol" : typeof K;
20950
20952
  }, o = function() {
20951
20953
  function K(H, M) {
20952
- var V = [], z = !0, Z = !1, X = void 0;
20954
+ var V = [], z = !0, Q = !1, J = void 0;
20953
20955
  try {
20954
- for (var F = H[Symbol.iterator](), J; !(z = (J = F.next()).done) && (V.push(J.value), !(M && V.length === M)); z = !0)
20956
+ for (var F = H[Symbol.iterator](), Y; !(z = (Y = F.next()).done) && (V.push(Y.value), !(M && V.length === M)); z = !0)
20955
20957
  ;
20956
20958
  } catch (ae) {
20957
- Z = !0, X = ae;
20959
+ Q = !0, J = ae;
20958
20960
  } finally {
20959
20961
  try {
20960
20962
  !z && F.return && F.return();
20961
20963
  } finally {
20962
- if (Z)
20963
- throw X;
20964
+ if (Q)
20965
+ throw J;
20964
20966
  }
20965
20967
  }
20966
20968
  return V;
@@ -21014,14 +21016,14 @@ var Xy = { exports: {} };
21014
21016
  }, {
21015
21017
  key: "register",
21016
21018
  value: function(M, V) {
21017
- var z = this, Z = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
21019
+ var z = this, Q = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
21018
21020
  if (typeof M != "string") {
21019
- var X = M.attrName || M.blotName;
21020
- typeof X == "string" ? this.register("formats/" + X, M, V) : Object.keys(M).forEach(function(F) {
21021
+ var J = M.attrName || M.blotName;
21022
+ typeof J == "string" ? this.register("formats/" + J, M, V) : Object.keys(M).forEach(function(F) {
21021
21023
  z.register(F, M[F], V);
21022
21024
  });
21023
21025
  } else
21024
- this.imports[M] != null && !Z && C.warn("Overwriting " + M + " with", V), this.imports[M] = V, (M.startsWith("blots/") || M.startsWith("formats/")) && V.blotName !== "abstract" ? m.default.register(V) : M.startsWith("modules") && typeof V.register == "function" && V.register();
21026
+ this.imports[M] != null && !Q && C.warn("Overwriting " + M + " with", V), this.imports[M] = V, (M.startsWith("blots/") || M.startsWith("formats/")) && V.blotName !== "abstract" ? m.default.register(V) : M.startsWith("modules") && typeof V.register == "function" && V.register();
21025
21027
  }
21026
21028
  }]);
21027
21029
  function K(H) {
@@ -21033,16 +21035,16 @@ var Xy = { exports: {} };
21033
21035
  this.container.classList.add("ql-container"), this.container.innerHTML = "", this.container.__quill = this, this.root = this.addContainer("ql-editor"), this.root.classList.add("ql-blank"), this.root.setAttribute("data-gramm", !1), this.scrollingContainer = this.options.scrollingContainer || this.root, this.emitter = new h.default(), this.scroll = m.default.create(this.root, {
21034
21036
  emitter: this.emitter,
21035
21037
  whitelist: this.options.formats
21036
- }), this.editor = new c.default(this.scroll), this.selection = new b.default(this.scroll, this.emitter), this.theme = new this.options.theme(this, this.options), this.keyboard = this.theme.addModule("keyboard"), this.clipboard = this.theme.addModule("clipboard"), this.history = this.theme.addModule("history"), this.theme.init(), this.emitter.on(h.default.events.EDITOR_CHANGE, function(X) {
21037
- X === h.default.events.TEXT_CHANGE && M.root.classList.toggle("ql-blank", M.editor.isBlank());
21038
- }), this.emitter.on(h.default.events.SCROLL_UPDATE, function(X, F) {
21039
- var J = M.selection.lastRange, ae = J && J.length === 0 ? J.index : void 0;
21038
+ }), this.editor = new c.default(this.scroll), this.selection = new b.default(this.scroll, this.emitter), this.theme = new this.options.theme(this, this.options), this.keyboard = this.theme.addModule("keyboard"), this.clipboard = this.theme.addModule("clipboard"), this.history = this.theme.addModule("history"), this.theme.init(), this.emitter.on(h.default.events.EDITOR_CHANGE, function(J) {
21039
+ J === h.default.events.TEXT_CHANGE && M.root.classList.toggle("ql-blank", M.editor.isBlank());
21040
+ }), this.emitter.on(h.default.events.SCROLL_UPDATE, function(J, F) {
21041
+ var Y = M.selection.lastRange, ae = Y && Y.length === 0 ? Y.index : void 0;
21040
21042
  j.call(M, function() {
21041
21043
  return M.editor.update(null, F, ae);
21042
- }, X);
21044
+ }, J);
21043
21045
  });
21044
- var Z = this.clipboard.convert(`<div class='ql-editor' style="white-space: normal;">` + z + "<p><br></p></div>");
21045
- this.setContents(Z), this.history.clear(), this.options.placeholder && this.root.setAttribute("data-placeholder", this.options.placeholder), this.options.readOnly && this.disable();
21046
+ var Q = this.clipboard.convert(`<div class='ql-editor' style="white-space: normal;">` + z + "<p><br></p></div>");
21047
+ this.setContents(Q), this.history.clear(), this.options.placeholder && this.root.setAttribute("data-placeholder", this.options.placeholder), this.options.readOnly && this.disable();
21046
21048
  }
21047
21049
  return l(K, [{
21048
21050
  key: "addContainer",
@@ -21062,9 +21064,9 @@ var Xy = { exports: {} };
21062
21064
  }, {
21063
21065
  key: "deleteText",
21064
21066
  value: function(M, V, z) {
21065
- var Z = this, X = U(M, V, z), F = o(X, 4);
21067
+ var Q = this, J = U(M, V, z), F = o(J, 4);
21066
21068
  return M = F[0], V = F[1], z = F[3], j.call(this, function() {
21067
- return Z.editor.deleteText(M, V);
21069
+ return Q.editor.deleteText(M, V);
21068
21070
  }, z, M, -1 * V);
21069
21071
  }
21070
21072
  }, {
@@ -21087,57 +21089,57 @@ var Xy = { exports: {} };
21087
21089
  }, {
21088
21090
  key: "format",
21089
21091
  value: function(M, V) {
21090
- var z = this, Z = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : h.default.sources.API;
21092
+ var z = this, Q = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : h.default.sources.API;
21091
21093
  return j.call(this, function() {
21092
- var X = z.getSelection(!0), F = new u.default();
21093
- if (X == null)
21094
+ var J = z.getSelection(!0), F = new u.default();
21095
+ if (J == null)
21094
21096
  return F;
21095
21097
  if (m.default.query(M, m.default.Scope.BLOCK))
21096
- F = z.editor.formatLine(X.index, X.length, w({}, M, V));
21098
+ F = z.editor.formatLine(J.index, J.length, w({}, M, V));
21097
21099
  else {
21098
- if (X.length === 0)
21100
+ if (J.length === 0)
21099
21101
  return z.selection.format(M, V), F;
21100
- F = z.editor.formatText(X.index, X.length, w({}, M, V));
21102
+ F = z.editor.formatText(J.index, J.length, w({}, M, V));
21101
21103
  }
21102
- return z.setSelection(X, h.default.sources.SILENT), F;
21103
- }, Z);
21104
+ return z.setSelection(J, h.default.sources.SILENT), F;
21105
+ }, Q);
21104
21106
  }
21105
21107
  }, {
21106
21108
  key: "formatLine",
21107
- value: function(M, V, z, Z, X) {
21108
- var F = this, J = void 0, ae = U(M, V, z, Z, X), Q = o(ae, 4);
21109
- return M = Q[0], V = Q[1], J = Q[2], X = Q[3], j.call(this, function() {
21110
- return F.editor.formatLine(M, V, J);
21111
- }, X, M, 0);
21109
+ value: function(M, V, z, Q, J) {
21110
+ var F = this, Y = void 0, ae = U(M, V, z, Q, J), ee = o(ae, 4);
21111
+ return M = ee[0], V = ee[1], Y = ee[2], J = ee[3], j.call(this, function() {
21112
+ return F.editor.formatLine(M, V, Y);
21113
+ }, J, M, 0);
21112
21114
  }
21113
21115
  }, {
21114
21116
  key: "formatText",
21115
- value: function(M, V, z, Z, X) {
21116
- var F = this, J = void 0, ae = U(M, V, z, Z, X), Q = o(ae, 4);
21117
- return M = Q[0], V = Q[1], J = Q[2], X = Q[3], j.call(this, function() {
21118
- return F.editor.formatText(M, V, J);
21119
- }, X, M, 0);
21117
+ value: function(M, V, z, Q, J) {
21118
+ var F = this, Y = void 0, ae = U(M, V, z, Q, J), ee = o(ae, 4);
21119
+ return M = ee[0], V = ee[1], Y = ee[2], J = ee[3], j.call(this, function() {
21120
+ return F.editor.formatText(M, V, Y);
21121
+ }, J, M, 0);
21120
21122
  }
21121
21123
  }, {
21122
21124
  key: "getBounds",
21123
21125
  value: function(M) {
21124
21126
  var V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, z = void 0;
21125
21127
  typeof M == "number" ? z = this.selection.getBounds(M, V) : z = this.selection.getBounds(M.index, M.length);
21126
- var Z = this.container.getBoundingClientRect();
21128
+ var Q = this.container.getBoundingClientRect();
21127
21129
  return {
21128
- bottom: z.bottom - Z.top,
21130
+ bottom: z.bottom - Q.top,
21129
21131
  height: z.height,
21130
- left: z.left - Z.left,
21131
- right: z.right - Z.left,
21132
- top: z.top - Z.top,
21132
+ left: z.left - Q.left,
21133
+ right: z.right - Q.left,
21134
+ top: z.top - Q.top,
21133
21135
  width: z.width
21134
21136
  };
21135
21137
  }
21136
21138
  }, {
21137
21139
  key: "getContents",
21138
21140
  value: function() {
21139
- var M = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.getLength() - M, z = U(M, V), Z = o(z, 2);
21140
- return M = Z[0], V = Z[1], this.editor.getContents(M, V);
21141
+ var M = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.getLength() - M, z = U(M, V), Q = o(z, 2);
21142
+ return M = Q[0], V = Q[1], this.editor.getContents(M, V);
21141
21143
  }
21142
21144
  }, {
21143
21145
  key: "getFormat",
@@ -21185,8 +21187,8 @@ var Xy = { exports: {} };
21185
21187
  }, {
21186
21188
  key: "getText",
21187
21189
  value: function() {
21188
- var M = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.getLength() - M, z = U(M, V), Z = o(z, 2);
21189
- return M = Z[0], V = Z[1], this.editor.getText(M, V);
21190
+ var M = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.getLength() - M, z = U(M, V), Q = o(z, 2);
21191
+ return M = Q[0], V = Q[1], this.editor.getText(M, V);
21190
21192
  }
21191
21193
  }, {
21192
21194
  key: "hasFocus",
@@ -21196,18 +21198,18 @@ var Xy = { exports: {} };
21196
21198
  }, {
21197
21199
  key: "insertEmbed",
21198
21200
  value: function(M, V, z) {
21199
- var Z = this, X = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : K.sources.API;
21201
+ var Q = this, J = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : K.sources.API;
21200
21202
  return j.call(this, function() {
21201
- return Z.editor.insertEmbed(M, V, z);
21202
- }, X, M);
21203
+ return Q.editor.insertEmbed(M, V, z);
21204
+ }, J, M);
21203
21205
  }
21204
21206
  }, {
21205
21207
  key: "insertText",
21206
- value: function(M, V, z, Z, X) {
21207
- var F = this, J = void 0, ae = U(M, 0, z, Z, X), Q = o(ae, 4);
21208
- return M = Q[0], J = Q[2], X = Q[3], j.call(this, function() {
21209
- return F.editor.insertText(M, V, J);
21210
- }, X, M, V.length);
21208
+ value: function(M, V, z, Q, J) {
21209
+ var F = this, Y = void 0, ae = U(M, 0, z, Q, J), ee = o(ae, 4);
21210
+ return M = ee[0], Y = ee[2], J = ee[3], j.call(this, function() {
21211
+ return F.editor.insertText(M, V, Y);
21212
+ }, J, M, V.length);
21211
21213
  }
21212
21214
  }, {
21213
21215
  key: "isEnabled",
@@ -21237,9 +21239,9 @@ var Xy = { exports: {} };
21237
21239
  }, {
21238
21240
  key: "removeFormat",
21239
21241
  value: function(M, V, z) {
21240
- var Z = this, X = U(M, V, z), F = o(X, 4);
21242
+ var Q = this, J = U(M, V, z), F = o(J, 4);
21241
21243
  return M = F[0], V = F[1], z = F[3], j.call(this, function() {
21242
- return Z.editor.removeFormat(M, V);
21244
+ return Q.editor.removeFormat(M, V);
21243
21245
  }, z, M);
21244
21246
  }
21245
21247
  }, {
@@ -21253,10 +21255,10 @@ var Xy = { exports: {} };
21253
21255
  var V = this, z = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : h.default.sources.API;
21254
21256
  return j.call(this, function() {
21255
21257
  M = new u.default(M);
21256
- var Z = V.getLength(), X = V.editor.deleteText(0, Z), F = V.editor.applyDelta(M), J = F.ops[F.ops.length - 1];
21257
- J != null && typeof J.insert == "string" && J.insert[J.insert.length - 1] === `
21258
+ var Q = V.getLength(), J = V.editor.deleteText(0, Q), F = V.editor.applyDelta(M), Y = F.ops[F.ops.length - 1];
21259
+ Y != null && typeof Y.insert == "string" && Y.insert[Y.insert.length - 1] === `
21258
21260
  ` && (V.editor.deleteText(V.getLength() - 1, 1), F.delete(1));
21259
- var ae = X.compose(F);
21261
+ var ae = J.compose(F);
21260
21262
  return ae;
21261
21263
  }, z);
21262
21264
  }
@@ -21266,8 +21268,8 @@ var Xy = { exports: {} };
21266
21268
  if (M == null)
21267
21269
  this.selection.setRange(null, V || K.sources.API);
21268
21270
  else {
21269
- var Z = U(M, V, z), X = o(Z, 4);
21270
- M = X[0], V = X[1], z = X[3], this.selection.setRange(new v.Range(M, V), z), z !== h.default.sources.SILENT && this.selection.scrollIntoView(this.scrollingContainer);
21271
+ var Q = U(M, V, z), J = o(Q, 4);
21272
+ M = J[0], V = J[1], z = J[3], this.selection.setRange(new v.Range(M, V), z), z !== h.default.sources.SILENT && this.selection.scrollIntoView(this.scrollingContainer);
21271
21273
  }
21272
21274
  }
21273
21275
  }, {
@@ -21320,56 +21322,56 @@ var Xy = { exports: {} };
21320
21322
  else if (H.theme = I.import("themes/" + H.theme), H.theme == null)
21321
21323
  throw new Error("Invalid theme " + H.theme + ". Did you register it?");
21322
21324
  var M = (0, E.default)(!0, {}, H.theme.DEFAULTS);
21323
- [M, H].forEach(function(Z) {
21324
- Z.modules = Z.modules || {}, Object.keys(Z.modules).forEach(function(X) {
21325
- Z.modules[X] === !0 && (Z.modules[X] = {});
21325
+ [M, H].forEach(function(Q) {
21326
+ Q.modules = Q.modules || {}, Object.keys(Q.modules).forEach(function(J) {
21327
+ Q.modules[J] === !0 && (Q.modules[J] = {});
21326
21328
  });
21327
21329
  });
21328
- var V = Object.keys(M.modules).concat(Object.keys(H.modules)), z = V.reduce(function(Z, X) {
21329
- var F = I.import("modules/" + X);
21330
- return F == null ? C.error("Cannot load " + X + " module. Are you sure you registered it?") : Z[X] = F.DEFAULTS || {}, Z;
21330
+ var V = Object.keys(M.modules).concat(Object.keys(H.modules)), z = V.reduce(function(Q, J) {
21331
+ var F = I.import("modules/" + J);
21332
+ return F == null ? C.error("Cannot load " + J + " module. Are you sure you registered it?") : Q[J] = F.DEFAULTS || {}, Q;
21331
21333
  }, {});
21332
21334
  return H.modules != null && H.modules.toolbar && H.modules.toolbar.constructor !== Object && (H.modules.toolbar = {
21333
21335
  container: H.modules.toolbar
21334
- }), H = (0, E.default)(!0, {}, I.DEFAULTS, { modules: z }, M, H), ["bounds", "container", "scrollingContainer"].forEach(function(Z) {
21335
- typeof H[Z] == "string" && (H[Z] = document.querySelector(H[Z]));
21336
- }), H.modules = Object.keys(H.modules).reduce(function(Z, X) {
21337
- return H.modules[X] && (Z[X] = H.modules[X]), Z;
21336
+ }), H = (0, E.default)(!0, {}, I.DEFAULTS, { modules: z }, M, H), ["bounds", "container", "scrollingContainer"].forEach(function(Q) {
21337
+ typeof H[Q] == "string" && (H[Q] = document.querySelector(H[Q]));
21338
+ }), H.modules = Object.keys(H.modules).reduce(function(Q, J) {
21339
+ return H.modules[J] && (Q[J] = H.modules[J]), Q;
21338
21340
  }, {}), H;
21339
21341
  }
21340
21342
  function j(K, H, M, V) {
21341
21343
  if (this.options.strict && !this.isEnabled() && H === h.default.sources.USER)
21342
21344
  return new u.default();
21343
- var z = M == null ? null : this.getSelection(), Z = this.editor.delta, X = K();
21344
- if (z != null && (M === !0 && (M = z.index), V == null ? z = te(z, X, H) : V !== 0 && (z = te(z, M, V, H)), this.setSelection(z, h.default.sources.SILENT)), X.length() > 0) {
21345
- var F, J = [h.default.events.TEXT_CHANGE, X, Z, H];
21346
- if ((F = this.emitter).emit.apply(F, [h.default.events.EDITOR_CHANGE].concat(J)), H !== h.default.sources.SILENT) {
21345
+ var z = M == null ? null : this.getSelection(), Q = this.editor.delta, J = K();
21346
+ if (z != null && (M === !0 && (M = z.index), V == null ? z = te(z, J, H) : V !== 0 && (z = te(z, M, V, H)), this.setSelection(z, h.default.sources.SILENT)), J.length() > 0) {
21347
+ var F, Y = [h.default.events.TEXT_CHANGE, J, Q, H];
21348
+ if ((F = this.emitter).emit.apply(F, [h.default.events.EDITOR_CHANGE].concat(Y)), H !== h.default.sources.SILENT) {
21347
21349
  var ae;
21348
- (ae = this.emitter).emit.apply(ae, J);
21350
+ (ae = this.emitter).emit.apply(ae, Y);
21349
21351
  }
21350
21352
  }
21351
- return X;
21353
+ return J;
21352
21354
  }
21353
21355
  function U(K, H, M, V, z) {
21354
- var Z = {};
21355
- return typeof K.index == "number" && typeof K.length == "number" ? typeof H != "number" ? (z = V, V = M, M = H, H = K.length, K = K.index) : (H = K.length, K = K.index) : typeof H != "number" && (z = V, V = M, M = H, H = 0), (typeof M > "u" ? "undefined" : a(M)) === "object" ? (Z = M, z = V) : typeof M == "string" && (V != null ? Z[M] = V : z = M), z = z || h.default.sources.API, [K, H, Z, z];
21356
+ var Q = {};
21357
+ return typeof K.index == "number" && typeof K.length == "number" ? typeof H != "number" ? (z = V, V = M, M = H, H = K.length, K = K.index) : (H = K.length, K = K.index) : typeof H != "number" && (z = V, V = M, M = H, H = 0), (typeof M > "u" ? "undefined" : a(M)) === "object" ? (Q = M, z = V) : typeof M == "string" && (V != null ? Q[M] = V : z = M), z = z || h.default.sources.API, [K, H, Q, z];
21356
21358
  }
21357
21359
  function te(K, H, M, V) {
21358
21360
  if (K == null)
21359
21361
  return null;
21360
- var z = void 0, Z = void 0;
21362
+ var z = void 0, Q = void 0;
21361
21363
  if (H instanceof u.default) {
21362
- var X = [K.index, K.index + K.length].map(function(Q) {
21363
- return H.transformPosition(Q, V !== h.default.sources.USER);
21364
- }), F = o(X, 2);
21365
- z = F[0], Z = F[1];
21364
+ var J = [K.index, K.index + K.length].map(function(ee) {
21365
+ return H.transformPosition(ee, V !== h.default.sources.USER);
21366
+ }), F = o(J, 2);
21367
+ z = F[0], Q = F[1];
21366
21368
  } else {
21367
- var J = [K.index, K.index + K.length].map(function(Q) {
21368
- return Q < H || Q === H && V === h.default.sources.USER ? Q : M >= 0 ? Q + M : Math.max(H, Q + M);
21369
- }), ae = o(J, 2);
21370
- z = ae[0], Z = ae[1];
21369
+ var Y = [K.index, K.index + K.length].map(function(ee) {
21370
+ return ee < H || ee === H && V === h.default.sources.USER ? ee : M >= 0 ? ee + M : Math.max(H, ee + M);
21371
+ }), ae = o(Y, 2);
21372
+ z = ae[0], Q = ae[1];
21371
21373
  }
21372
- return new v.Range(z, Z - z);
21374
+ return new v.Range(z, Q - z);
21373
21375
  }
21374
21376
  r.expandConfig = D, r.overload = U, r.default = I;
21375
21377
  },
@@ -21893,18 +21895,18 @@ var Xy = { exports: {} };
21893
21895
  return K && typeof Symbol == "function" && K.constructor === Symbol && K !== Symbol.prototype ? "symbol" : typeof K;
21894
21896
  }, o = function() {
21895
21897
  function K(H, M) {
21896
- var V = [], z = !0, Z = !1, X = void 0;
21898
+ var V = [], z = !0, Q = !1, J = void 0;
21897
21899
  try {
21898
- for (var F = H[Symbol.iterator](), J; !(z = (J = F.next()).done) && (V.push(J.value), !(M && V.length === M)); z = !0)
21900
+ for (var F = H[Symbol.iterator](), Y; !(z = (Y = F.next()).done) && (V.push(Y.value), !(M && V.length === M)); z = !0)
21899
21901
  ;
21900
21902
  } catch (ae) {
21901
- Z = !0, X = ae;
21903
+ Q = !0, J = ae;
21902
21904
  } finally {
21903
21905
  try {
21904
21906
  !z && F.return && F.return();
21905
21907
  } finally {
21906
- if (Z)
21907
- throw X;
21908
+ if (Q)
21909
+ throw J;
21908
21910
  }
21909
21911
  }
21910
21912
  return V;
@@ -21946,34 +21948,34 @@ var Xy = { exports: {} };
21946
21948
  value: function(M) {
21947
21949
  var V = this, z = !1;
21948
21950
  this.scroll.update();
21949
- var Z = this.scroll.length();
21950
- return this.scroll.batchStart(), M = te(M), M.reduce(function(X, F) {
21951
- var J = F.retain || F.delete || F.insert.length || 1, ae = F.attributes || {};
21951
+ var Q = this.scroll.length();
21952
+ return this.scroll.batchStart(), M = te(M), M.reduce(function(J, F) {
21953
+ var Y = F.retain || F.delete || F.insert.length || 1, ae = F.attributes || {};
21952
21954
  if (F.insert != null) {
21953
21955
  if (typeof F.insert == "string") {
21954
- var Q = F.insert;
21955
- Q.endsWith(`
21956
- `) && z && (z = !1, Q = Q.slice(0, -1)), X >= Z && !Q.endsWith(`
21957
- `) && (z = !0), V.scroll.insertAt(X, Q);
21958
- var se = V.scroll.line(X), he = o(se, 2), B = he[0], L = he[1], x = (0, w.default)({}, (0, v.bubbleFormats)(B));
21956
+ var ee = F.insert;
21957
+ ee.endsWith(`
21958
+ `) && z && (z = !1, ee = ee.slice(0, -1)), J >= Q && !ee.endsWith(`
21959
+ `) && (z = !0), V.scroll.insertAt(J, ee);
21960
+ var se = V.scroll.line(J), he = o(se, 2), B = he[0], L = he[1], x = (0, w.default)({}, (0, v.bubbleFormats)(B));
21959
21961
  if (B instanceof b.default) {
21960
- var $ = B.descendant(h.default.Leaf, L), ee = o($, 1), le = ee[0];
21962
+ var $ = B.descendant(h.default.Leaf, L), Z = o($, 1), le = Z[0];
21961
21963
  x = (0, w.default)(x, (0, v.bubbleFormats)(le));
21962
21964
  }
21963
21965
  ae = c.default.attributes.diff(x, ae) || {};
21964
21966
  } else if (a(F.insert) === "object") {
21965
21967
  var q = Object.keys(F.insert)[0];
21966
21968
  if (q == null)
21967
- return X;
21968
- V.scroll.insertAt(X, q, F.insert[q]);
21969
+ return J;
21970
+ V.scroll.insertAt(J, q, F.insert[q]);
21969
21971
  }
21970
- Z += J;
21972
+ Q += Y;
21971
21973
  }
21972
- return Object.keys(ae).forEach(function(W) {
21973
- V.scroll.formatAt(X, J, W, ae[W]);
21974
- }), X + J;
21975
- }, 0), M.reduce(function(X, F) {
21976
- return typeof F.delete == "number" ? (V.scroll.deleteAt(X, F.delete), X) : X + (F.retain || F.insert.length || 1);
21974
+ return Object.keys(ae).forEach(function(X) {
21975
+ V.scroll.formatAt(J, Y, X, ae[X]);
21976
+ }), J + Y;
21977
+ }, 0), M.reduce(function(J, F) {
21978
+ return typeof F.delete == "number" ? (V.scroll.deleteAt(J, F.delete), J) : J + (F.retain || F.insert.length || 1);
21977
21979
  }, 0), this.scroll.batchEnd(), this.update(M);
21978
21980
  }
21979
21981
  }, {
@@ -21984,30 +21986,30 @@ var Xy = { exports: {} };
21984
21986
  }, {
21985
21987
  key: "formatLine",
21986
21988
  value: function(M, V) {
21987
- var z = this, Z = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
21988
- return this.scroll.update(), Object.keys(Z).forEach(function(X) {
21989
- if (!(z.scroll.whitelist != null && !z.scroll.whitelist[X])) {
21990
- var F = z.scroll.lines(M, Math.max(V, 1)), J = V;
21989
+ var z = this, Q = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
21990
+ return this.scroll.update(), Object.keys(Q).forEach(function(J) {
21991
+ if (!(z.scroll.whitelist != null && !z.scroll.whitelist[J])) {
21992
+ var F = z.scroll.lines(M, Math.max(V, 1)), Y = V;
21991
21993
  F.forEach(function(ae) {
21992
- var Q = ae.length();
21994
+ var ee = ae.length();
21993
21995
  if (!(ae instanceof g.default))
21994
- ae.format(X, Z[X]);
21996
+ ae.format(J, Q[J]);
21995
21997
  else {
21996
- var se = M - ae.offset(z.scroll), he = ae.newlineIndex(se + J) - se + 1;
21997
- ae.formatAt(se, he, X, Z[X]);
21998
+ var se = M - ae.offset(z.scroll), he = ae.newlineIndex(se + Y) - se + 1;
21999
+ ae.formatAt(se, he, J, Q[J]);
21998
22000
  }
21999
- J -= Q;
22001
+ Y -= ee;
22000
22002
  });
22001
22003
  }
22002
- }), this.scroll.optimize(), this.update(new u.default().retain(M).retain(V, (0, T.default)(Z)));
22004
+ }), this.scroll.optimize(), this.update(new u.default().retain(M).retain(V, (0, T.default)(Q)));
22003
22005
  }
22004
22006
  }, {
22005
22007
  key: "formatText",
22006
22008
  value: function(M, V) {
22007
- var z = this, Z = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
22008
- return Object.keys(Z).forEach(function(X) {
22009
- z.scroll.formatAt(M, V, X, Z[X]);
22010
- }), this.update(new u.default().retain(M).retain(V, (0, T.default)(Z)));
22009
+ var z = this, Q = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
22010
+ return Object.keys(Q).forEach(function(J) {
22011
+ z.scroll.formatAt(M, V, J, Q[J]);
22012
+ }), this.update(new u.default().retain(M).retain(V, (0, T.default)(Q)));
22011
22013
  }
22012
22014
  }, {
22013
22015
  key: "getContents",
@@ -22024,23 +22026,23 @@ var Xy = { exports: {} };
22024
22026
  }, {
22025
22027
  key: "getFormat",
22026
22028
  value: function(M) {
22027
- var V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, z = [], Z = [];
22029
+ var V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, z = [], Q = [];
22028
22030
  V === 0 ? this.scroll.path(M).forEach(function(F) {
22029
- var J = o(F, 1), ae = J[0];
22030
- ae instanceof b.default ? z.push(ae) : ae instanceof h.default.Leaf && Z.push(ae);
22031
- }) : (z = this.scroll.lines(M, V), Z = this.scroll.descendants(h.default.Leaf, M, V));
22032
- var X = [z, Z].map(function(F) {
22031
+ var Y = o(F, 1), ae = Y[0];
22032
+ ae instanceof b.default ? z.push(ae) : ae instanceof h.default.Leaf && Q.push(ae);
22033
+ }) : (z = this.scroll.lines(M, V), Q = this.scroll.descendants(h.default.Leaf, M, V));
22034
+ var J = [z, Q].map(function(F) {
22033
22035
  if (F.length === 0)
22034
22036
  return {};
22035
- for (var J = (0, v.bubbleFormats)(F.shift()); Object.keys(J).length > 0; ) {
22037
+ for (var Y = (0, v.bubbleFormats)(F.shift()); Object.keys(Y).length > 0; ) {
22036
22038
  var ae = F.shift();
22037
22039
  if (ae == null)
22038
- return J;
22039
- J = U((0, v.bubbleFormats)(ae), J);
22040
+ return Y;
22041
+ Y = U((0, v.bubbleFormats)(ae), Y);
22040
22042
  }
22041
- return J;
22043
+ return Y;
22042
22044
  });
22043
- return w.default.apply(w.default, X);
22045
+ return w.default.apply(w.default, J);
22044
22046
  }
22045
22047
  }, {
22046
22048
  key: "getText",
@@ -22059,12 +22061,12 @@ var Xy = { exports: {} };
22059
22061
  }, {
22060
22062
  key: "insertText",
22061
22063
  value: function(M, V) {
22062
- var z = this, Z = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
22064
+ var z = this, Q = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
22063
22065
  return V = V.replace(/\r\n/g, `
22064
22066
  `).replace(/\r/g, `
22065
- `), this.scroll.insertAt(M, V), Object.keys(Z).forEach(function(X) {
22066
- z.scroll.formatAt(M, V.length, X, Z[X]);
22067
- }), this.update(new u.default().retain(M).insert(V, (0, T.default)(Z)));
22067
+ `), this.scroll.insertAt(M, V), Object.keys(Q).forEach(function(J) {
22068
+ z.scroll.formatAt(M, V.length, J, Q[J]);
22069
+ }), this.update(new u.default().retain(M).insert(V, (0, T.default)(Q)));
22068
22070
  }
22069
22071
  }, {
22070
22072
  key: "isBlank",
@@ -22079,23 +22081,23 @@ var Xy = { exports: {} };
22079
22081
  }, {
22080
22082
  key: "removeFormat",
22081
22083
  value: function(M, V) {
22082
- var z = this.getText(M, V), Z = this.scroll.line(M + V), X = o(Z, 2), F = X[0], J = X[1], ae = 0, Q = new u.default();
22083
- F != null && (F instanceof g.default ? ae = F.newlineIndex(J) - J + 1 : ae = F.length() - J, Q = F.delta().slice(J, J + ae - 1).insert(`
22084
+ var z = this.getText(M, V), Q = this.scroll.line(M + V), J = o(Q, 2), F = J[0], Y = J[1], ae = 0, ee = new u.default();
22085
+ F != null && (F instanceof g.default ? ae = F.newlineIndex(Y) - Y + 1 : ae = F.length() - Y, ee = F.delta().slice(Y, Y + ae - 1).insert(`
22084
22086
  `));
22085
- var se = this.getContents(M, V + ae), he = se.diff(new u.default().insert(z).concat(Q)), B = new u.default().retain(M).concat(he);
22087
+ var se = this.getContents(M, V + ae), he = se.diff(new u.default().insert(z).concat(ee)), B = new u.default().retain(M).concat(he);
22086
22088
  return this.applyDelta(B);
22087
22089
  }
22088
22090
  }, {
22089
22091
  key: "update",
22090
22092
  value: function(M) {
22091
- var V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], z = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : void 0, Z = this.delta;
22093
+ var V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], z = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : void 0, Q = this.delta;
22092
22094
  if (V.length === 1 && V[0].type === "characterData" && V[0].target.data.match(D) && h.default.find(V[0].target)) {
22093
- var X = h.default.find(V[0].target), F = (0, v.bubbleFormats)(X), J = X.offset(this.scroll), ae = V[0].oldValue.replace(m.default.CONTENTS, ""), Q = new u.default().insert(ae), se = new u.default().insert(X.value()), he = new u.default().retain(J).concat(Q.diff(se, z));
22095
+ var J = h.default.find(V[0].target), F = (0, v.bubbleFormats)(J), Y = J.offset(this.scroll), ae = V[0].oldValue.replace(m.default.CONTENTS, ""), ee = new u.default().insert(ae), se = new u.default().insert(J.value()), he = new u.default().retain(Y).concat(ee.diff(se, z));
22094
22096
  M = he.reduce(function(B, L) {
22095
22097
  return L.insert ? B.insert(L.insert, F) : B.push(L);
22096
- }, new u.default()), this.delta = Z.compose(M);
22098
+ }, new u.default()), this.delta = Q.compose(M);
22097
22099
  } else
22098
- this.delta = this.getDelta(), (!M || !(0, P.default)(Z.compose(M), this.delta)) && (M = Z.diff(this.delta, z));
22100
+ this.delta = this.getDelta(), (!M || !(0, P.default)(Q.compose(M), this.delta)) && (M = Q.diff(this.delta, z));
22099
22101
  return M;
22100
22102
  }
22101
22103
  }]), K;
@@ -22276,15 +22278,15 @@ var Xy = { exports: {} };
22276
22278
  var M = this.scroll.leaf(N + w), V = a(M, 2);
22277
22279
  if (j = V[0], U = V[1], j == null)
22278
22280
  return null;
22279
- var z = j.position(U, !0), Z = a(z, 2);
22280
- return C = Z[0], U = Z[1], H.setEnd(C, U), H.getBoundingClientRect();
22281
+ var z = j.position(U, !0), Q = a(z, 2);
22282
+ return C = Q[0], U = Q[1], H.setEnd(C, U), H.getBoundingClientRect();
22281
22283
  } else {
22282
- var X = "left", F = void 0;
22283
- return C instanceof Text ? (U < C.data.length ? (H.setStart(C, U), H.setEnd(C, U + 1)) : (H.setStart(C, U - 1), H.setEnd(C, U), X = "right"), F = H.getBoundingClientRect()) : (F = j.domNode.getBoundingClientRect(), U > 0 && (X = "right")), {
22284
+ var J = "left", F = void 0;
22285
+ return C instanceof Text ? (U < C.data.length ? (H.setStart(C, U), H.setEnd(C, U + 1)) : (H.setStart(C, U - 1), H.setEnd(C, U), J = "right"), F = H.getBoundingClientRect()) : (F = j.domNode.getBoundingClientRect(), U > 0 && (J = "right")), {
22284
22286
  bottom: F.top + F.height,
22285
22287
  height: F.height,
22286
- left: F[X],
22287
- right: F[X],
22288
+ left: F[J],
22289
+ right: F[J],
22288
22290
  top: F.top,
22289
22291
  width: 0
22290
22292
  };
@@ -23073,8 +23075,8 @@ var Xy = { exports: {} };
23073
23075
  var z = M.newlineIndex(0);
23074
23076
  z > -1 && M.split(z + 1);
23075
23077
  }
23076
- var Z = M.children.head instanceof g.default ? null : M.children.head;
23077
- U.moveChildren(M, Z), U.remove();
23078
+ var Q = M.children.head instanceof g.default ? null : M.children.head;
23079
+ U.moveChildren(M, Q), U.remove();
23078
23080
  }
23079
23081
  this.optimize();
23080
23082
  }
@@ -23131,8 +23133,8 @@ var Xy = { exports: {} };
23131
23133
  value: function() {
23132
23134
  var C = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, I = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Number.MAX_VALUE, D = function j(U, te, K) {
23133
23135
  var H = [], M = K;
23134
- return U.children.forEachAt(te, K, function(V, z, Z) {
23135
- S(V) ? H.push(V) : V instanceof u.default.Container && (H = H.concat(j(V, z, M))), M -= Z;
23136
+ return U.children.forEachAt(te, K, function(V, z, Q) {
23137
+ S(V) ? H.push(V) : V instanceof u.default.Container && (H = H.concat(j(V, z, M))), M -= Q;
23136
23138
  }), H;
23137
23139
  };
23138
23140
  return D(this, C, I);
@@ -23171,10 +23173,10 @@ var Xy = { exports: {} };
23171
23173
  } : function(F) {
23172
23174
  return F && typeof Symbol == "function" && F.constructor === Symbol && F !== Symbol.prototype ? "symbol" : typeof F;
23173
23175
  }, o = function() {
23174
- function F(J, ae) {
23175
- var Q = [], se = !0, he = !1, B = void 0;
23176
+ function F(Y, ae) {
23177
+ var ee = [], se = !0, he = !1, B = void 0;
23176
23178
  try {
23177
- for (var L = J[Symbol.iterator](), x; !(se = (x = L.next()).done) && (Q.push(x.value), !(ae && Q.length === ae)); se = !0)
23179
+ for (var L = Y[Symbol.iterator](), x; !(se = (x = L.next()).done) && (ee.push(x.value), !(ae && ee.length === ae)); se = !0)
23178
23180
  ;
23179
23181
  } catch ($) {
23180
23182
  he = !0, B = $;
@@ -23186,67 +23188,67 @@ var Xy = { exports: {} };
23186
23188
  throw B;
23187
23189
  }
23188
23190
  }
23189
- return Q;
23191
+ return ee;
23190
23192
  }
23191
- return function(J, ae) {
23192
- if (Array.isArray(J))
23193
- return J;
23194
- if (Symbol.iterator in Object(J))
23195
- return F(J, ae);
23193
+ return function(Y, ae) {
23194
+ if (Array.isArray(Y))
23195
+ return Y;
23196
+ if (Symbol.iterator in Object(Y))
23197
+ return F(Y, ae);
23196
23198
  throw new TypeError("Invalid attempt to destructure non-iterable instance");
23197
23199
  };
23198
23200
  }(), l = function() {
23199
- function F(J, ae) {
23200
- for (var Q = 0; Q < ae.length; Q++) {
23201
- var se = ae[Q];
23202
- se.enumerable = se.enumerable || !1, se.configurable = !0, "value" in se && (se.writable = !0), Object.defineProperty(J, se.key, se);
23201
+ function F(Y, ae) {
23202
+ for (var ee = 0; ee < ae.length; ee++) {
23203
+ var se = ae[ee];
23204
+ se.enumerable = se.enumerable || !1, se.configurable = !0, "value" in se && (se.writable = !0), Object.defineProperty(Y, se.key, se);
23203
23205
  }
23204
23206
  }
23205
- return function(J, ae, Q) {
23206
- return ae && F(J.prototype, ae), Q && F(J, Q), J;
23207
+ return function(Y, ae, ee) {
23208
+ return ae && F(Y.prototype, ae), ee && F(Y, ee), Y;
23207
23209
  };
23208
23210
  }(), s = i(21), u = N(s), f = i(11), c = N(f), d = i(3), h = N(d), y = i(2), g = N(y), _ = i(20), m = N(_), v = i(0), b = N(v), p = i(5), E = N(p), k = i(10), T = N(k), S = i(9), P = N(S);
23209
23211
  function N(F) {
23210
23212
  return F && F.__esModule ? F : { default: F };
23211
23213
  }
23212
- function w(F, J, ae) {
23213
- return J in F ? Object.defineProperty(F, J, { value: ae, enumerable: !0, configurable: !0, writable: !0 }) : F[J] = ae, F;
23214
+ function w(F, Y, ae) {
23215
+ return Y in F ? Object.defineProperty(F, Y, { value: ae, enumerable: !0, configurable: !0, writable: !0 }) : F[Y] = ae, F;
23214
23216
  }
23215
- function O(F, J) {
23216
- if (!(F instanceof J))
23217
+ function O(F, Y) {
23218
+ if (!(F instanceof Y))
23217
23219
  throw new TypeError("Cannot call a class as a function");
23218
23220
  }
23219
- function C(F, J) {
23221
+ function C(F, Y) {
23220
23222
  if (!F)
23221
23223
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
23222
- return J && (typeof J == "object" || typeof J == "function") ? J : F;
23224
+ return Y && (typeof Y == "object" || typeof Y == "function") ? Y : F;
23223
23225
  }
23224
- function I(F, J) {
23225
- if (typeof J != "function" && J !== null)
23226
- throw new TypeError("Super expression must either be null or a function, not " + typeof J);
23227
- F.prototype = Object.create(J && J.prototype, { constructor: { value: F, enumerable: !1, writable: !0, configurable: !0 } }), J && (Object.setPrototypeOf ? Object.setPrototypeOf(F, J) : F.__proto__ = J);
23226
+ function I(F, Y) {
23227
+ if (typeof Y != "function" && Y !== null)
23228
+ throw new TypeError("Super expression must either be null or a function, not " + typeof Y);
23229
+ F.prototype = Object.create(Y && Y.prototype, { constructor: { value: F, enumerable: !1, writable: !0, configurable: !0 } }), Y && (Object.setPrototypeOf ? Object.setPrototypeOf(F, Y) : F.__proto__ = Y);
23228
23230
  }
23229
23231
  var D = (0, T.default)("quill:keyboard"), j = /Mac/i.test(navigator.platform) ? "metaKey" : "ctrlKey", U = function(F) {
23230
- I(J, F), l(J, null, [{
23232
+ I(Y, F), l(Y, null, [{
23231
23233
  key: "match",
23232
- value: function(Q, se) {
23233
- return se = X(se), ["altKey", "ctrlKey", "metaKey", "shiftKey"].some(function(he) {
23234
- return !!se[he] !== Q[he] && se[he] !== null;
23235
- }) ? !1 : se.key === (Q.which || Q.keyCode);
23234
+ value: function(ee, se) {
23235
+ return se = J(se), ["altKey", "ctrlKey", "metaKey", "shiftKey"].some(function(he) {
23236
+ return !!se[he] !== ee[he] && se[he] !== null;
23237
+ }) ? !1 : se.key === (ee.which || ee.keyCode);
23236
23238
  }
23237
23239
  }]);
23238
- function J(ae, Q) {
23239
- O(this, J);
23240
- var se = C(this, (J.__proto__ || Object.getPrototypeOf(J)).call(this, ae, Q));
23240
+ function Y(ae, ee) {
23241
+ O(this, Y);
23242
+ var se = C(this, (Y.__proto__ || Object.getPrototypeOf(Y)).call(this, ae, ee));
23241
23243
  return se.bindings = {}, Object.keys(se.options.bindings).forEach(function(he) {
23242
23244
  he === "list autofill" && ae.scroll.whitelist != null && !ae.scroll.whitelist.list || se.options.bindings[he] && se.addBinding(se.options.bindings[he]);
23243
- }), se.addBinding({ key: J.keys.ENTER, shiftKey: null }, V), se.addBinding({ key: J.keys.ENTER, metaKey: null, ctrlKey: null, altKey: null }, function() {
23244
- }), /Firefox/i.test(navigator.userAgent) ? (se.addBinding({ key: J.keys.BACKSPACE }, { collapsed: !0 }, K), se.addBinding({ key: J.keys.DELETE }, { collapsed: !0 }, H)) : (se.addBinding({ key: J.keys.BACKSPACE }, { collapsed: !0, prefix: /^.?$/ }, K), se.addBinding({ key: J.keys.DELETE }, { collapsed: !0, suffix: /^.?$/ }, H)), se.addBinding({ key: J.keys.BACKSPACE }, { collapsed: !1 }, M), se.addBinding({ key: J.keys.DELETE }, { collapsed: !1 }, M), se.addBinding({ key: J.keys.BACKSPACE, altKey: null, ctrlKey: null, metaKey: null, shiftKey: null }, { collapsed: !0, offset: 0 }, K), se.listen(), se;
23245
+ }), se.addBinding({ key: Y.keys.ENTER, shiftKey: null }, V), se.addBinding({ key: Y.keys.ENTER, metaKey: null, ctrlKey: null, altKey: null }, function() {
23246
+ }), /Firefox/i.test(navigator.userAgent) ? (se.addBinding({ key: Y.keys.BACKSPACE }, { collapsed: !0 }, K), se.addBinding({ key: Y.keys.DELETE }, { collapsed: !0 }, H)) : (se.addBinding({ key: Y.keys.BACKSPACE }, { collapsed: !0, prefix: /^.?$/ }, K), se.addBinding({ key: Y.keys.DELETE }, { collapsed: !0, suffix: /^.?$/ }, H)), se.addBinding({ key: Y.keys.BACKSPACE }, { collapsed: !1 }, M), se.addBinding({ key: Y.keys.DELETE }, { collapsed: !1 }, M), se.addBinding({ key: Y.keys.BACKSPACE, altKey: null, ctrlKey: null, metaKey: null, shiftKey: null }, { collapsed: !0, offset: 0 }, K), se.listen(), se;
23245
23247
  }
23246
- return l(J, [{
23248
+ return l(Y, [{
23247
23249
  key: "addBinding",
23248
- value: function(Q) {
23249
- var se = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, he = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, B = X(Q);
23250
+ value: function(ee) {
23251
+ var se = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, he = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, B = J(ee);
23250
23252
  if (B == null || B.key == null)
23251
23253
  return D.warn("Attempted to add invalid keyboard binding", B);
23252
23254
  typeof se == "function" && (se = { handler: se }), typeof he == "function" && (he = { handler: he }), B = (0, h.default)(B, se, he), this.bindings[B.key] = this.bindings[B.key] || [], this.bindings[B.key].push(B);
@@ -23254,19 +23256,19 @@ var Xy = { exports: {} };
23254
23256
  }, {
23255
23257
  key: "listen",
23256
23258
  value: function() {
23257
- var Q = this;
23259
+ var ee = this;
23258
23260
  this.quill.root.addEventListener("keydown", function(se) {
23259
23261
  if (!se.defaultPrevented) {
23260
- var he = se.which || se.keyCode, B = (Q.bindings[he] || []).filter(function(Te) {
23261
- return J.match(se, Te);
23262
+ var he = se.which || se.keyCode, B = (ee.bindings[he] || []).filter(function(Te) {
23263
+ return Y.match(se, Te);
23262
23264
  });
23263
23265
  if (B.length !== 0) {
23264
- var L = Q.quill.getSelection();
23265
- if (!(L == null || !Q.quill.hasFocus())) {
23266
- var x = Q.quill.getLine(L.index), $ = o(x, 2), ee = $[0], le = $[1], q = Q.quill.getLeaf(L.index), W = o(q, 2), ne = W[0], ie = W[1], oe = L.length === 0 ? [ne, ie] : Q.quill.getLeaf(L.index + L.length), ce = o(oe, 2), G = ce[0], re = ce[1], pe = ne instanceof b.default.Text ? ne.value().slice(0, ie) : "", ge = G instanceof b.default.Text ? G.value().slice(re) : "", ve = {
23266
+ var L = ee.quill.getSelection();
23267
+ if (!(L == null || !ee.quill.hasFocus())) {
23268
+ var x = ee.quill.getLine(L.index), $ = o(x, 2), Z = $[0], le = $[1], q = ee.quill.getLeaf(L.index), X = o(q, 2), re = X[0], ne = X[1], oe = L.length === 0 ? [re, ne] : ee.quill.getLeaf(L.index + L.length), ce = o(oe, 2), W = ce[0], ie = ce[1], pe = re instanceof b.default.Text ? re.value().slice(0, ne) : "", ge = W instanceof b.default.Text ? W.value().slice(ie) : "", ve = {
23267
23269
  collapsed: L.length === 0,
23268
- empty: L.length === 0 && ee.length() <= 1,
23269
- format: Q.quill.getFormat(L),
23270
+ empty: L.length === 0 && Z.length() <= 1,
23271
+ format: ee.quill.getFormat(L),
23270
23272
  offset: le,
23271
23273
  prefix: pe,
23272
23274
  suffix: ge
@@ -23282,7 +23284,7 @@ var Xy = { exports: {} };
23282
23284
  return Te.format[nt] === !0 ? ve.format[nt] != null : Te.format[nt] === !1 ? ve.format[nt] == null : (0, c.default)(Te.format[nt], ve.format[nt]);
23283
23285
  }))
23284
23286
  return !1;
23285
- return Te.prefix != null && !Te.prefix.test(ve.prefix) || Te.suffix != null && !Te.suffix.test(ve.suffix) ? !1 : Te.handler.call(Q, L, ve) !== !0;
23287
+ return Te.prefix != null && !Te.prefix.test(ve.prefix) || Te.suffix != null && !Te.suffix.test(ve.suffix) ? !1 : Te.handler.call(ee, L, ve) !== !0;
23286
23288
  });
23287
23289
  Re && se.preventDefault();
23288
23290
  }
@@ -23290,7 +23292,7 @@ var Xy = { exports: {} };
23290
23292
  }
23291
23293
  });
23292
23294
  }
23293
- }]), J;
23295
+ }]), Y;
23294
23296
  }(P.default);
23295
23297
  U.keys = {
23296
23298
  BACKSPACE: 8,
@@ -23304,14 +23306,14 @@ var Xy = { exports: {} };
23304
23306
  DELETE: 46
23305
23307
  }, U.DEFAULTS = {
23306
23308
  bindings: {
23307
- bold: Z("bold"),
23308
- italic: Z("italic"),
23309
- underline: Z("underline"),
23309
+ bold: Q("bold"),
23310
+ italic: Q("italic"),
23311
+ underline: Q("underline"),
23310
23312
  indent: {
23311
23313
  // highlight tab or tab at beginning of list, indent or blockquote
23312
23314
  key: U.keys.TAB,
23313
23315
  format: ["blockquote", "indent", "list"],
23314
- handler: function(J, ae) {
23316
+ handler: function(Y, ae) {
23315
23317
  if (ae.collapsed && ae.offset !== 0)
23316
23318
  return !0;
23317
23319
  this.quill.format("indent", "+1", E.default.sources.USER);
@@ -23322,7 +23324,7 @@ var Xy = { exports: {} };
23322
23324
  shiftKey: !0,
23323
23325
  format: ["blockquote", "indent", "list"],
23324
23326
  // highlight tab or tab at beginning of list, indent or blockquote
23325
- handler: function(J, ae) {
23327
+ handler: function(Y, ae) {
23326
23328
  if (ae.collapsed && ae.offset !== 0)
23327
23329
  return !0;
23328
23330
  this.quill.format("indent", "-1", E.default.sources.USER);
@@ -23337,7 +23339,7 @@ var Xy = { exports: {} };
23337
23339
  altKey: null,
23338
23340
  format: ["indent", "list"],
23339
23341
  offset: 0,
23340
- handler: function(J, ae) {
23342
+ handler: function(Y, ae) {
23341
23343
  ae.format.indent != null ? this.quill.format("indent", "-1", E.default.sources.USER) : ae.format.list != null && this.quill.format("list", !1, E.default.sources.USER);
23342
23344
  }
23343
23345
  },
@@ -23348,16 +23350,16 @@ var Xy = { exports: {} };
23348
23350
  shiftKey: !0,
23349
23351
  collapsed: !0,
23350
23352
  prefix: /\t$/,
23351
- handler: function(J) {
23352
- this.quill.deleteText(J.index - 1, 1, E.default.sources.USER);
23353
+ handler: function(Y) {
23354
+ this.quill.deleteText(Y.index - 1, 1, E.default.sources.USER);
23353
23355
  }
23354
23356
  },
23355
23357
  tab: {
23356
23358
  key: U.keys.TAB,
23357
- handler: function(J) {
23359
+ handler: function(Y) {
23358
23360
  this.quill.history.cutoff();
23359
- var ae = new g.default().retain(J.index).delete(J.length).insert(" ");
23360
- this.quill.updateContents(ae, E.default.sources.USER), this.quill.history.cutoff(), this.quill.setSelection(J.index + 1, E.default.sources.SILENT);
23361
+ var ae = new g.default().retain(Y.index).delete(Y.length).insert(" ");
23362
+ this.quill.updateContents(ae, E.default.sources.USER), this.quill.history.cutoff(), this.quill.setSelection(Y.index + 1, E.default.sources.SILENT);
23361
23363
  }
23362
23364
  },
23363
23365
  "list empty enter": {
@@ -23365,7 +23367,7 @@ var Xy = { exports: {} };
23365
23367
  collapsed: !0,
23366
23368
  format: ["list"],
23367
23369
  empty: !0,
23368
- handler: function(J, ae) {
23370
+ handler: function(Y, ae) {
23369
23371
  this.quill.format("list", !1, E.default.sources.USER), ae.format.indent && this.quill.format("indent", !1, E.default.sources.USER);
23370
23372
  }
23371
23373
  },
@@ -23373,10 +23375,10 @@ var Xy = { exports: {} };
23373
23375
  key: U.keys.ENTER,
23374
23376
  collapsed: !0,
23375
23377
  format: { list: "checked" },
23376
- handler: function(J) {
23377
- var ae = this.quill.getLine(J.index), Q = o(ae, 2), se = Q[0], he = Q[1], B = (0, h.default)({}, se.formats(), { list: "checked" }), L = new g.default().retain(J.index).insert(`
23378
+ handler: function(Y) {
23379
+ var ae = this.quill.getLine(Y.index), ee = o(ae, 2), se = ee[0], he = ee[1], B = (0, h.default)({}, se.formats(), { list: "checked" }), L = new g.default().retain(Y.index).insert(`
23378
23380
  `, B).retain(se.length() - he - 1).retain(1, { list: "unchecked" });
23379
- this.quill.updateContents(L, E.default.sources.USER), this.quill.setSelection(J.index + 1, E.default.sources.SILENT), this.quill.scrollIntoView();
23381
+ this.quill.updateContents(L, E.default.sources.USER), this.quill.setSelection(Y.index + 1, E.default.sources.SILENT), this.quill.scrollIntoView();
23380
23382
  }
23381
23383
  },
23382
23384
  "header enter": {
@@ -23384,10 +23386,10 @@ var Xy = { exports: {} };
23384
23386
  collapsed: !0,
23385
23387
  format: ["header"],
23386
23388
  suffix: /^$/,
23387
- handler: function(J, ae) {
23388
- var Q = this.quill.getLine(J.index), se = o(Q, 2), he = se[0], B = se[1], L = new g.default().retain(J.index).insert(`
23389
+ handler: function(Y, ae) {
23390
+ var ee = this.quill.getLine(Y.index), se = o(ee, 2), he = se[0], B = se[1], L = new g.default().retain(Y.index).insert(`
23389
23391
  `, ae.format).retain(he.length() - B - 1).retain(1, { header: null });
23390
- this.quill.updateContents(L, E.default.sources.USER), this.quill.setSelection(J.index + 1, E.default.sources.SILENT), this.quill.scrollIntoView();
23392
+ this.quill.updateContents(L, E.default.sources.USER), this.quill.setSelection(Y.index + 1, E.default.sources.SILENT), this.quill.scrollIntoView();
23391
23393
  }
23392
23394
  },
23393
23395
  "list autofill": {
@@ -23395,9 +23397,9 @@ var Xy = { exports: {} };
23395
23397
  collapsed: !0,
23396
23398
  format: { list: !1 },
23397
23399
  prefix: /^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,
23398
- handler: function(J, ae) {
23399
- var Q = ae.prefix.length, se = this.quill.getLine(J.index), he = o(se, 2), B = he[0], L = he[1];
23400
- if (L > Q)
23400
+ handler: function(Y, ae) {
23401
+ var ee = ae.prefix.length, se = this.quill.getLine(Y.index), he = o(se, 2), B = he[0], L = he[1];
23402
+ if (L > ee)
23401
23403
  return !0;
23402
23404
  var x = void 0;
23403
23405
  switch (ae.prefix.trim()) {
@@ -23415,9 +23417,9 @@ var Xy = { exports: {} };
23415
23417
  default:
23416
23418
  x = "ordered";
23417
23419
  }
23418
- this.quill.insertText(J.index, " ", E.default.sources.USER), this.quill.history.cutoff();
23419
- var $ = new g.default().retain(J.index - L).delete(Q + 1).retain(B.length() - 2 - L).retain(1, { list: x });
23420
- this.quill.updateContents($, E.default.sources.USER), this.quill.history.cutoff(), this.quill.setSelection(J.index - Q, E.default.sources.SILENT);
23420
+ this.quill.insertText(Y.index, " ", E.default.sources.USER), this.quill.history.cutoff();
23421
+ var $ = new g.default().retain(Y.index - L).delete(ee + 1).retain(B.length() - 2 - L).retain(1, { list: x });
23422
+ this.quill.updateContents($, E.default.sources.USER), this.quill.history.cutoff(), this.quill.setSelection(Y.index - ee, E.default.sources.SILENT);
23421
23423
  }
23422
23424
  },
23423
23425
  "code exit": {
@@ -23426,8 +23428,8 @@ var Xy = { exports: {} };
23426
23428
  format: ["code-block"],
23427
23429
  prefix: /\n\n$/,
23428
23430
  suffix: /^\s+$/,
23429
- handler: function(J) {
23430
- var ae = this.quill.getLine(J.index), Q = o(ae, 2), se = Q[0], he = Q[1], B = new g.default().retain(J.index + se.length() - he - 2).retain(1, { "code-block": null }).delete(1);
23431
+ handler: function(Y) {
23432
+ var ae = this.quill.getLine(Y.index), ee = o(ae, 2), se = ee[0], he = ee[1], B = new g.default().retain(Y.index + se.length() - he - 2).retain(1, { "code-block": null }).delete(1);
23431
23433
  this.quill.updateContents(B, E.default.sources.USER);
23432
23434
  }
23433
23435
  },
@@ -23437,64 +23439,64 @@ var Xy = { exports: {} };
23437
23439
  "embed right shift": te(U.keys.RIGHT, !0)
23438
23440
  }
23439
23441
  };
23440
- function te(F, J) {
23441
- var ae, Q = F === U.keys.LEFT ? "prefix" : "suffix";
23442
+ function te(F, Y) {
23443
+ var ae, ee = F === U.keys.LEFT ? "prefix" : "suffix";
23442
23444
  return ae = {
23443
23445
  key: F,
23444
- shiftKey: J,
23446
+ shiftKey: Y,
23445
23447
  altKey: null
23446
- }, w(ae, Q, /^$/), w(ae, "handler", function(he) {
23448
+ }, w(ae, ee, /^$/), w(ae, "handler", function(he) {
23447
23449
  var B = he.index;
23448
23450
  F === U.keys.RIGHT && (B += he.length + 1);
23449
23451
  var L = this.quill.getLeaf(B), x = o(L, 1), $ = x[0];
23450
- return $ instanceof b.default.Embed ? (F === U.keys.LEFT ? J ? this.quill.setSelection(he.index - 1, he.length + 1, E.default.sources.USER) : this.quill.setSelection(he.index - 1, E.default.sources.USER) : J ? this.quill.setSelection(he.index, he.length + 1, E.default.sources.USER) : this.quill.setSelection(he.index + he.length + 1, E.default.sources.USER), !1) : !0;
23452
+ return $ instanceof b.default.Embed ? (F === U.keys.LEFT ? Y ? this.quill.setSelection(he.index - 1, he.length + 1, E.default.sources.USER) : this.quill.setSelection(he.index - 1, E.default.sources.USER) : Y ? this.quill.setSelection(he.index, he.length + 1, E.default.sources.USER) : this.quill.setSelection(he.index + he.length + 1, E.default.sources.USER), !1) : !0;
23451
23453
  }), ae;
23452
23454
  }
23453
- function K(F, J) {
23455
+ function K(F, Y) {
23454
23456
  if (!(F.index === 0 || this.quill.getLength() <= 1)) {
23455
- var ae = this.quill.getLine(F.index), Q = o(ae, 1), se = Q[0], he = {};
23456
- if (J.offset === 0) {
23457
+ var ae = this.quill.getLine(F.index), ee = o(ae, 1), se = ee[0], he = {};
23458
+ if (Y.offset === 0) {
23457
23459
  var B = this.quill.getLine(F.index - 1), L = o(B, 1), x = L[0];
23458
23460
  if (x != null && x.length() > 1) {
23459
- var $ = se.formats(), ee = this.quill.getFormat(F.index - 1, 1);
23460
- he = m.default.attributes.diff($, ee) || {};
23461
+ var $ = se.formats(), Z = this.quill.getFormat(F.index - 1, 1);
23462
+ he = m.default.attributes.diff($, Z) || {};
23461
23463
  }
23462
23464
  }
23463
- var le = /[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(J.prefix) ? 2 : 1;
23465
+ var le = /[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(Y.prefix) ? 2 : 1;
23464
23466
  this.quill.deleteText(F.index - le, le, E.default.sources.USER), Object.keys(he).length > 0 && this.quill.formatLine(F.index - le, le, he, E.default.sources.USER), this.quill.focus();
23465
23467
  }
23466
23468
  }
23467
- function H(F, J) {
23468
- var ae = /^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(J.suffix) ? 2 : 1;
23469
+ function H(F, Y) {
23470
+ var ae = /^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(Y.suffix) ? 2 : 1;
23469
23471
  if (!(F.index >= this.quill.getLength() - ae)) {
23470
- var Q = {}, se = 0, he = this.quill.getLine(F.index), B = o(he, 1), L = B[0];
23471
- if (J.offset >= L.length() - 1) {
23472
- var x = this.quill.getLine(F.index + 1), $ = o(x, 1), ee = $[0];
23473
- if (ee) {
23472
+ var ee = {}, se = 0, he = this.quill.getLine(F.index), B = o(he, 1), L = B[0];
23473
+ if (Y.offset >= L.length() - 1) {
23474
+ var x = this.quill.getLine(F.index + 1), $ = o(x, 1), Z = $[0];
23475
+ if (Z) {
23474
23476
  var le = L.formats(), q = this.quill.getFormat(F.index, 1);
23475
- Q = m.default.attributes.diff(le, q) || {}, se = ee.length();
23477
+ ee = m.default.attributes.diff(le, q) || {}, se = Z.length();
23476
23478
  }
23477
23479
  }
23478
- this.quill.deleteText(F.index, ae, E.default.sources.USER), Object.keys(Q).length > 0 && this.quill.formatLine(F.index + se - 1, ae, Q, E.default.sources.USER);
23480
+ this.quill.deleteText(F.index, ae, E.default.sources.USER), Object.keys(ee).length > 0 && this.quill.formatLine(F.index + se - 1, ae, ee, E.default.sources.USER);
23479
23481
  }
23480
23482
  }
23481
23483
  function M(F) {
23482
- var J = this.quill.getLines(F), ae = {};
23483
- if (J.length > 1) {
23484
- var Q = J[0].formats(), se = J[J.length - 1].formats();
23485
- ae = m.default.attributes.diff(se, Q) || {};
23484
+ var Y = this.quill.getLines(F), ae = {};
23485
+ if (Y.length > 1) {
23486
+ var ee = Y[0].formats(), se = Y[Y.length - 1].formats();
23487
+ ae = m.default.attributes.diff(se, ee) || {};
23486
23488
  }
23487
23489
  this.quill.deleteText(F, E.default.sources.USER), Object.keys(ae).length > 0 && this.quill.formatLine(F.index, 1, ae, E.default.sources.USER), this.quill.setSelection(F.index, E.default.sources.SILENT), this.quill.focus();
23488
23490
  }
23489
- function V(F, J) {
23491
+ function V(F, Y) {
23490
23492
  var ae = this;
23491
23493
  F.length > 0 && this.quill.scroll.deleteAt(F.index, F.length);
23492
- var Q = Object.keys(J.format).reduce(function(se, he) {
23493
- return b.default.query(he, b.default.Scope.BLOCK) && !Array.isArray(J.format[he]) && (se[he] = J.format[he]), se;
23494
+ var ee = Object.keys(Y.format).reduce(function(se, he) {
23495
+ return b.default.query(he, b.default.Scope.BLOCK) && !Array.isArray(Y.format[he]) && (se[he] = Y.format[he]), se;
23494
23496
  }, {});
23495
23497
  this.quill.insertText(F.index, `
23496
- `, Q, E.default.sources.USER), this.quill.setSelection(F.index + 1, E.default.sources.SILENT), this.quill.focus(), Object.keys(J.format).forEach(function(se) {
23497
- Q[se] == null && (Array.isArray(J.format[se]) || se !== "link" && ae.quill.format(se, J.format[se], E.default.sources.USER));
23498
+ `, ee, E.default.sources.USER), this.quill.setSelection(F.index + 1, E.default.sources.SILENT), this.quill.focus(), Object.keys(Y.format).forEach(function(se) {
23499
+ ee[se] == null && (Array.isArray(Y.format[se]) || se !== "link" && ae.quill.format(se, Y.format[se], E.default.sources.USER));
23498
23500
  });
23499
23501
  }
23500
23502
  function z(F) {
@@ -23503,29 +23505,29 @@ var Xy = { exports: {} };
23503
23505
  shiftKey: !F,
23504
23506
  format: { "code-block": !0 },
23505
23507
  handler: function(ae) {
23506
- var Q = b.default.query("code-block"), se = ae.index, he = ae.length, B = this.quill.scroll.descendant(Q, se), L = o(B, 2), x = L[0], $ = L[1];
23508
+ var ee = b.default.query("code-block"), se = ae.index, he = ae.length, B = this.quill.scroll.descendant(ee, se), L = o(B, 2), x = L[0], $ = L[1];
23507
23509
  if (x != null) {
23508
- var ee = this.quill.getIndex(x), le = x.newlineIndex($, !0) + 1, q = x.newlineIndex(ee + $ + he), W = x.domNode.textContent.slice(le, q).split(`
23510
+ var Z = this.quill.getIndex(x), le = x.newlineIndex($, !0) + 1, q = x.newlineIndex(Z + $ + he), X = x.domNode.textContent.slice(le, q).split(`
23509
23511
  `);
23510
- $ = 0, W.forEach(function(ne, ie) {
23511
- F ? (x.insertAt(le + $, Q.TAB), $ += Q.TAB.length, ie === 0 ? se += Q.TAB.length : he += Q.TAB.length) : ne.startsWith(Q.TAB) && (x.deleteAt(le + $, Q.TAB.length), $ -= Q.TAB.length, ie === 0 ? se -= Q.TAB.length : he -= Q.TAB.length), $ += ne.length + 1;
23512
+ $ = 0, X.forEach(function(re, ne) {
23513
+ F ? (x.insertAt(le + $, ee.TAB), $ += ee.TAB.length, ne === 0 ? se += ee.TAB.length : he += ee.TAB.length) : re.startsWith(ee.TAB) && (x.deleteAt(le + $, ee.TAB.length), $ -= ee.TAB.length, ne === 0 ? se -= ee.TAB.length : he -= ee.TAB.length), $ += re.length + 1;
23512
23514
  }), this.quill.update(E.default.sources.USER), this.quill.setSelection(se, he, E.default.sources.SILENT);
23513
23515
  }
23514
23516
  }
23515
23517
  };
23516
23518
  }
23517
- function Z(F) {
23519
+ function Q(F) {
23518
23520
  return {
23519
23521
  key: F[0].toUpperCase(),
23520
23522
  shortKey: !0,
23521
- handler: function(ae, Q) {
23522
- this.quill.format(F, !Q.format[F], E.default.sources.USER);
23523
+ handler: function(ae, ee) {
23524
+ this.quill.format(F, !ee.format[F], E.default.sources.USER);
23523
23525
  }
23524
23526
  };
23525
23527
  }
23526
- function X(F) {
23528
+ function J(F) {
23527
23529
  if (typeof F == "string" || typeof F == "number")
23528
- return X({ key: F });
23530
+ return J({ key: F });
23529
23531
  if ((typeof F > "u" ? "undefined" : a(F)) === "object" && (F = (0, u.default)(F, !1)), typeof F.key == "string")
23530
23532
  if (U.keys[F.key.toUpperCase()] != null)
23531
23533
  F.key = U.keys[F.key.toUpperCase()];
@@ -24724,26 +24726,26 @@ var Xy = { exports: {} };
24724
24726
  value: !0
24725
24727
  }), r.default = r.BaseTooltip = void 0;
24726
24728
  var a = function() {
24727
- function V(z, Z) {
24728
- for (var X = 0; X < Z.length; X++) {
24729
- var F = Z[X];
24729
+ function V(z, Q) {
24730
+ for (var J = 0; J < Q.length; J++) {
24731
+ var F = Q[J];
24730
24732
  F.enumerable = F.enumerable || !1, F.configurable = !0, "value" in F && (F.writable = !0), Object.defineProperty(z, F.key, F);
24731
24733
  }
24732
24734
  }
24733
- return function(z, Z, X) {
24734
- return Z && V(z.prototype, Z), X && V(z, X), z;
24735
+ return function(z, Q, J) {
24736
+ return Q && V(z.prototype, Q), J && V(z, J), z;
24735
24737
  };
24736
- }(), o = function V(z, Z, X) {
24738
+ }(), o = function V(z, Q, J) {
24737
24739
  z === null && (z = Function.prototype);
24738
- var F = Object.getOwnPropertyDescriptor(z, Z);
24740
+ var F = Object.getOwnPropertyDescriptor(z, Q);
24739
24741
  if (F === void 0) {
24740
- var J = Object.getPrototypeOf(z);
24741
- return J === null ? void 0 : V(J, Z, X);
24742
+ var Y = Object.getPrototypeOf(z);
24743
+ return Y === null ? void 0 : V(Y, Q, J);
24742
24744
  } else {
24743
24745
  if ("value" in F)
24744
24746
  return F.value;
24745
24747
  var ae = F.get;
24746
- return ae === void 0 ? void 0 : ae.call(X);
24748
+ return ae === void 0 ? void 0 : ae.call(J);
24747
24749
  }
24748
24750
  }, l = i(3), s = P(l), u = i(2), f = P(u), c = i(8), d = P(c), h = i(23), y = P(h), g = i(34), _ = P(g), m = i(59), v = P(m), b = i(60), p = P(b), E = i(28), k = P(E), T = i(61), S = P(T);
24749
24751
  function P(V) {
@@ -24765,56 +24767,56 @@ var Xy = { exports: {} };
24765
24767
  }
24766
24768
  var C = [!1, "center", "right", "justify"], I = ["#000000", "#e60000", "#ff9900", "#ffff00", "#008a00", "#0066cc", "#9933ff", "#ffffff", "#facccc", "#ffebcc", "#ffffcc", "#cce8cc", "#cce0f5", "#ebd6ff", "#bbbbbb", "#f06666", "#ffc266", "#ffff66", "#66b966", "#66a3e0", "#c285ff", "#888888", "#a10000", "#b26b00", "#b2b200", "#006100", "#0047b2", "#6b24b2", "#444444", "#5c0000", "#663d00", "#666600", "#003700", "#002966", "#3d1466"], D = [!1, "serif", "monospace"], j = ["1", "2", "3", !1], U = ["small", !1, "large", "huge"], te = function(V) {
24767
24769
  O(z, V);
24768
- function z(Z, X) {
24770
+ function z(Q, J) {
24769
24771
  N(this, z);
24770
- var F = w(this, (z.__proto__ || Object.getPrototypeOf(z)).call(this, Z, X)), J = function ae(Q) {
24771
- if (!document.body.contains(Z.root))
24772
+ var F = w(this, (z.__proto__ || Object.getPrototypeOf(z)).call(this, Q, J)), Y = function ae(ee) {
24773
+ if (!document.body.contains(Q.root))
24772
24774
  return document.body.removeEventListener("click", ae);
24773
- F.tooltip != null && !F.tooltip.root.contains(Q.target) && document.activeElement !== F.tooltip.textbox && !F.quill.hasFocus() && F.tooltip.hide(), F.pickers != null && F.pickers.forEach(function(se) {
24774
- se.container.contains(Q.target) || se.close();
24775
+ F.tooltip != null && !F.tooltip.root.contains(ee.target) && document.activeElement !== F.tooltip.textbox && !F.quill.hasFocus() && F.tooltip.hide(), F.pickers != null && F.pickers.forEach(function(se) {
24776
+ se.container.contains(ee.target) || se.close();
24775
24777
  });
24776
24778
  };
24777
- return Z.emitter.listenDOM("click", document.body, J), F;
24779
+ return Q.emitter.listenDOM("click", document.body, Y), F;
24778
24780
  }
24779
24781
  return a(z, [{
24780
24782
  key: "addModule",
24781
- value: function(X) {
24782
- var F = o(z.prototype.__proto__ || Object.getPrototypeOf(z.prototype), "addModule", this).call(this, X);
24783
- return X === "toolbar" && this.extendToolbar(F), F;
24783
+ value: function(J) {
24784
+ var F = o(z.prototype.__proto__ || Object.getPrototypeOf(z.prototype), "addModule", this).call(this, J);
24785
+ return J === "toolbar" && this.extendToolbar(F), F;
24784
24786
  }
24785
24787
  }, {
24786
24788
  key: "buildButtons",
24787
- value: function(X, F) {
24788
- X.forEach(function(J) {
24789
- var ae = J.getAttribute("class") || "";
24790
- ae.split(/\s+/).forEach(function(Q) {
24791
- if (Q.startsWith("ql-") && (Q = Q.slice(3), F[Q] != null))
24792
- if (Q === "direction")
24793
- J.innerHTML = F[Q][""] + F[Q].rtl;
24794
- else if (typeof F[Q] == "string")
24795
- J.innerHTML = F[Q];
24789
+ value: function(J, F) {
24790
+ J.forEach(function(Y) {
24791
+ var ae = Y.getAttribute("class") || "";
24792
+ ae.split(/\s+/).forEach(function(ee) {
24793
+ if (ee.startsWith("ql-") && (ee = ee.slice(3), F[ee] != null))
24794
+ if (ee === "direction")
24795
+ Y.innerHTML = F[ee][""] + F[ee].rtl;
24796
+ else if (typeof F[ee] == "string")
24797
+ Y.innerHTML = F[ee];
24796
24798
  else {
24797
- var se = J.value || "";
24798
- se != null && F[Q][se] && (J.innerHTML = F[Q][se]);
24799
+ var se = Y.value || "";
24800
+ se != null && F[ee][se] && (Y.innerHTML = F[ee][se]);
24799
24801
  }
24800
24802
  });
24801
24803
  });
24802
24804
  }
24803
24805
  }, {
24804
24806
  key: "buildPickers",
24805
- value: function(X, F) {
24806
- var J = this;
24807
- this.pickers = X.map(function(Q) {
24808
- if (Q.classList.contains("ql-align"))
24809
- return Q.querySelector("option") == null && M(Q, C), new p.default(Q, F.align);
24810
- if (Q.classList.contains("ql-background") || Q.classList.contains("ql-color")) {
24811
- var se = Q.classList.contains("ql-background") ? "background" : "color";
24812
- return Q.querySelector("option") == null && M(Q, I, se === "background" ? "#ffffff" : "#000000"), new v.default(Q, F[se]);
24807
+ value: function(J, F) {
24808
+ var Y = this;
24809
+ this.pickers = J.map(function(ee) {
24810
+ if (ee.classList.contains("ql-align"))
24811
+ return ee.querySelector("option") == null && M(ee, C), new p.default(ee, F.align);
24812
+ if (ee.classList.contains("ql-background") || ee.classList.contains("ql-color")) {
24813
+ var se = ee.classList.contains("ql-background") ? "background" : "color";
24814
+ return ee.querySelector("option") == null && M(ee, I, se === "background" ? "#ffffff" : "#000000"), new v.default(ee, F[se]);
24813
24815
  } else
24814
- return Q.querySelector("option") == null && (Q.classList.contains("ql-font") ? M(Q, D) : Q.classList.contains("ql-header") ? M(Q, j) : Q.classList.contains("ql-size") && M(Q, U)), new k.default(Q);
24816
+ return ee.querySelector("option") == null && (ee.classList.contains("ql-font") ? M(ee, D) : ee.classList.contains("ql-header") ? M(ee, j) : ee.classList.contains("ql-size") && M(ee, U)), new k.default(ee);
24815
24817
  });
24816
24818
  var ae = function() {
24817
- J.pickers.forEach(function(se) {
24819
+ Y.pickers.forEach(function(se) {
24818
24820
  se.update();
24819
24821
  });
24820
24822
  };
@@ -24830,16 +24832,16 @@ var Xy = { exports: {} };
24830
24832
  this.quill.theme.tooltip.edit("formula");
24831
24833
  },
24832
24834
  image: function() {
24833
- var z = this, Z = this.container.querySelector("input.ql-image[type=file]");
24834
- Z == null && (Z = document.createElement("input"), Z.setAttribute("type", "file"), Z.setAttribute("accept", "image/png, image/gif, image/jpeg, image/bmp, image/x-icon"), Z.classList.add("ql-image"), Z.addEventListener("change", function() {
24835
- if (Z.files != null && Z.files[0] != null) {
24836
- var X = new FileReader();
24837
- X.onload = function(F) {
24838
- var J = z.quill.getSelection(!0);
24839
- z.quill.updateContents(new f.default().retain(J.index).delete(J.length).insert({ image: F.target.result }), d.default.sources.USER), z.quill.setSelection(J.index + 1, d.default.sources.SILENT), Z.value = "";
24840
- }, X.readAsDataURL(Z.files[0]);
24835
+ var z = this, Q = this.container.querySelector("input.ql-image[type=file]");
24836
+ Q == null && (Q = document.createElement("input"), Q.setAttribute("type", "file"), Q.setAttribute("accept", "image/png, image/gif, image/jpeg, image/bmp, image/x-icon"), Q.classList.add("ql-image"), Q.addEventListener("change", function() {
24837
+ if (Q.files != null && Q.files[0] != null) {
24838
+ var J = new FileReader();
24839
+ J.onload = function(F) {
24840
+ var Y = z.quill.getSelection(!0);
24841
+ z.quill.updateContents(new f.default().retain(Y.index).delete(Y.length).insert({ image: F.target.result }), d.default.sources.USER), z.quill.setSelection(Y.index + 1, d.default.sources.SILENT), Q.value = "";
24842
+ }, J.readAsDataURL(Q.files[0]);
24841
24843
  }
24842
- }), this.container.appendChild(Z)), Z.click();
24844
+ }), this.container.appendChild(Q)), Q.click();
24843
24845
  },
24844
24846
  video: function() {
24845
24847
  this.quill.theme.tooltip.edit("video");
@@ -24850,17 +24852,17 @@ var Xy = { exports: {} };
24850
24852
  });
24851
24853
  var K = function(V) {
24852
24854
  O(z, V);
24853
- function z(Z, X) {
24855
+ function z(Q, J) {
24854
24856
  N(this, z);
24855
- var F = w(this, (z.__proto__ || Object.getPrototypeOf(z)).call(this, Z, X));
24857
+ var F = w(this, (z.__proto__ || Object.getPrototypeOf(z)).call(this, Q, J));
24856
24858
  return F.textbox = F.root.querySelector('input[type="text"]'), F.listen(), F;
24857
24859
  }
24858
24860
  return a(z, [{
24859
24861
  key: "listen",
24860
24862
  value: function() {
24861
- var X = this;
24863
+ var J = this;
24862
24864
  this.textbox.addEventListener("keydown", function(F) {
24863
- y.default.match(F, "enter") ? (X.save(), F.preventDefault()) : y.default.match(F, "escape") && (X.cancel(), F.preventDefault());
24865
+ y.default.match(F, "enter") ? (J.save(), F.preventDefault()) : y.default.match(F, "escape") && (J.cancel(), F.preventDefault());
24864
24866
  });
24865
24867
  }
24866
24868
  }, {
@@ -24871,34 +24873,34 @@ var Xy = { exports: {} };
24871
24873
  }, {
24872
24874
  key: "edit",
24873
24875
  value: function() {
24874
- var X = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "link", F = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
24875
- this.root.classList.remove("ql-hidden"), this.root.classList.add("ql-editing"), F != null ? this.textbox.value = F : X !== this.root.getAttribute("data-mode") && (this.textbox.value = ""), this.position(this.quill.getBounds(this.quill.selection.savedRange)), this.textbox.select(), this.textbox.setAttribute("placeholder", this.textbox.getAttribute("data-" + X) || ""), this.root.setAttribute("data-mode", X);
24876
+ var J = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "link", F = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
24877
+ this.root.classList.remove("ql-hidden"), this.root.classList.add("ql-editing"), F != null ? this.textbox.value = F : J !== this.root.getAttribute("data-mode") && (this.textbox.value = ""), this.position(this.quill.getBounds(this.quill.selection.savedRange)), this.textbox.select(), this.textbox.setAttribute("placeholder", this.textbox.getAttribute("data-" + J) || ""), this.root.setAttribute("data-mode", J);
24876
24878
  }
24877
24879
  }, {
24878
24880
  key: "restoreFocus",
24879
24881
  value: function() {
24880
- var X = this.quill.scrollingContainer.scrollTop;
24881
- this.quill.focus(), this.quill.scrollingContainer.scrollTop = X;
24882
+ var J = this.quill.scrollingContainer.scrollTop;
24883
+ this.quill.focus(), this.quill.scrollingContainer.scrollTop = J;
24882
24884
  }
24883
24885
  }, {
24884
24886
  key: "save",
24885
24887
  value: function() {
24886
- var X = this.textbox.value;
24888
+ var J = this.textbox.value;
24887
24889
  switch (this.root.getAttribute("data-mode")) {
24888
24890
  case "link": {
24889
24891
  var F = this.quill.root.scrollTop;
24890
- this.linkRange ? (this.quill.formatText(this.linkRange, "link", X, d.default.sources.USER), delete this.linkRange) : (this.restoreFocus(), this.quill.format("link", X, d.default.sources.USER)), this.quill.root.scrollTop = F;
24892
+ this.linkRange ? (this.quill.formatText(this.linkRange, "link", J, d.default.sources.USER), delete this.linkRange) : (this.restoreFocus(), this.quill.format("link", J, d.default.sources.USER)), this.quill.root.scrollTop = F;
24891
24893
  break;
24892
24894
  }
24893
24895
  case "video":
24894
- X = H(X);
24896
+ J = H(J);
24895
24897
  case "formula": {
24896
- if (!X)
24898
+ if (!J)
24897
24899
  break;
24898
- var J = this.quill.getSelection(!0);
24899
- if (J != null) {
24900
- var ae = J.index + J.length;
24901
- this.quill.insertEmbed(ae, this.root.getAttribute("data-mode"), X, d.default.sources.USER), this.root.getAttribute("data-mode") === "formula" && this.quill.insertText(ae + 1, " ", d.default.sources.USER), this.quill.setSelection(ae + 2, d.default.sources.USER);
24900
+ var Y = this.quill.getSelection(!0);
24901
+ if (Y != null) {
24902
+ var ae = Y.index + Y.length;
24903
+ this.quill.insertEmbed(ae, this.root.getAttribute("data-mode"), J, d.default.sources.USER), this.root.getAttribute("data-mode") === "formula" && this.quill.insertText(ae + 1, " ", d.default.sources.USER), this.quill.setSelection(ae + 2, d.default.sources.USER);
24902
24904
  }
24903
24905
  break;
24904
24906
  }
@@ -24912,10 +24914,10 @@ var Xy = { exports: {} };
24912
24914
  return z ? (z[1] || "https") + "://www.youtube.com/embed/" + z[2] + "?showinfo=0" : (z = V.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/)) ? (z[1] || "https") + "://player.vimeo.com/video/" + z[2] + "/" : V;
24913
24915
  }
24914
24916
  function M(V, z) {
24915
- var Z = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
24916
- z.forEach(function(X) {
24917
+ var Q = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
24918
+ z.forEach(function(J) {
24917
24919
  var F = document.createElement("option");
24918
- X === Z ? F.setAttribute("selected", "selected") : F.setAttribute("value", X), V.appendChild(F);
24920
+ J === Q ? F.setAttribute("selected", "selected") : F.setAttribute("value", J), V.appendChild(F);
24919
24921
  });
24920
24922
  }
24921
24923
  r.BaseTooltip = K, r.default = te;
@@ -25358,36 +25360,36 @@ var Xy = { exports: {} };
25358
25360
  for (var M = -H + j; M <= H - U; M += 2) {
25359
25361
  var V = P + M, z;
25360
25362
  M == -H || M != H && w[V - 1] < w[V + 1] ? z = w[V + 1] : z = w[V - 1] + 1;
25361
- for (var Z = z - M; z < k && Z < T && p.charAt(z) == E.charAt(Z); )
25362
- z++, Z++;
25363
+ for (var Q = z - M; z < k && Q < T && p.charAt(z) == E.charAt(Q); )
25364
+ z++, Q++;
25363
25365
  if (w[V] = z, z > k)
25364
25366
  U += 2;
25365
- else if (Z > T)
25367
+ else if (Q > T)
25366
25368
  j += 2;
25367
25369
  else if (D) {
25368
- var X = P + I - M;
25369
- if (X >= 0 && X < N && O[X] != -1) {
25370
- var F = k - O[X];
25370
+ var J = P + I - M;
25371
+ if (J >= 0 && J < N && O[J] != -1) {
25372
+ var F = k - O[J];
25371
25373
  if (z >= F)
25372
- return f(p, E, z, Z);
25374
+ return f(p, E, z, Q);
25373
25375
  }
25374
25376
  }
25375
25377
  }
25376
- for (var J = -H + te; J <= H - K; J += 2) {
25377
- var X = P + J, F;
25378
- J == -H || J != H && O[X - 1] < O[X + 1] ? F = O[X + 1] : F = O[X - 1] + 1;
25379
- for (var ae = F - J; F < k && ae < T && p.charAt(k - F - 1) == E.charAt(T - ae - 1); )
25378
+ for (var Y = -H + te; Y <= H - K; Y += 2) {
25379
+ var J = P + Y, F;
25380
+ Y == -H || Y != H && O[J - 1] < O[J + 1] ? F = O[J + 1] : F = O[J - 1] + 1;
25381
+ for (var ae = F - Y; F < k && ae < T && p.charAt(k - F - 1) == E.charAt(T - ae - 1); )
25380
25382
  F++, ae++;
25381
- if (O[X] = F, F > k)
25383
+ if (O[J] = F, F > k)
25382
25384
  K += 2;
25383
25385
  else if (ae > T)
25384
25386
  te += 2;
25385
25387
  else if (!D) {
25386
- var V = P + I - J;
25388
+ var V = P + I - Y;
25387
25389
  if (V >= 0 && V < N && w[V] != -1) {
25388
- var z = w[V], Z = P + z - V;
25390
+ var z = w[V], Q = P + z - V;
25389
25391
  if (F = k - F, z >= F)
25390
- return f(p, E, z, Z);
25392
+ return f(p, E, z, Q);
25391
25393
  }
25392
25394
  }
25393
25395
  }
@@ -25417,20 +25419,20 @@ var Xy = { exports: {} };
25417
25419
  if (k.length < 4 || T.length * 2 < k.length)
25418
25420
  return null;
25419
25421
  function S(U, te, K) {
25420
- for (var H = U.substring(K, K + Math.floor(U.length / 4)), M = -1, V = "", z, Z, X, F; (M = te.indexOf(H, M + 1)) != -1; ) {
25421
- var J = c(
25422
+ for (var H = U.substring(K, K + Math.floor(U.length / 4)), M = -1, V = "", z, Q, J, F; (M = te.indexOf(H, M + 1)) != -1; ) {
25423
+ var Y = c(
25422
25424
  U.substring(K),
25423
25425
  te.substring(M)
25424
25426
  ), ae = d(
25425
25427
  U.substring(0, K),
25426
25428
  te.substring(0, M)
25427
25429
  );
25428
- V.length < ae + J && (V = te.substring(M - ae, M) + te.substring(M, M + J), z = U.substring(0, K - ae), Z = U.substring(K + J), X = te.substring(0, M - ae), F = te.substring(M + J));
25430
+ V.length < ae + Y && (V = te.substring(M - ae, M) + te.substring(M, M + Y), z = U.substring(0, K - ae), Q = U.substring(K + Y), J = te.substring(0, M - ae), F = te.substring(M + Y));
25429
25431
  }
25430
25432
  return V.length * 2 >= U.length ? [
25431
25433
  z,
25432
- Z,
25433
- X,
25434
+ Q,
25435
+ J,
25434
25436
  F,
25435
25437
  V
25436
25438
  ] : null;
@@ -25689,122 +25691,122 @@ var Xy = { exports: {} };
25689
25691
  } : function(q) {
25690
25692
  return q && typeof Symbol == "function" && q.constructor === Symbol && q !== Symbol.prototype ? "symbol" : typeof q;
25691
25693
  }, o = function() {
25692
- function q(W, ne) {
25693
- var ie = [], oe = !0, ce = !1, G = void 0;
25694
+ function q(X, re) {
25695
+ var ne = [], oe = !0, ce = !1, W = void 0;
25694
25696
  try {
25695
- for (var re = W[Symbol.iterator](), pe; !(oe = (pe = re.next()).done) && (ie.push(pe.value), !(ne && ie.length === ne)); oe = !0)
25697
+ for (var ie = X[Symbol.iterator](), pe; !(oe = (pe = ie.next()).done) && (ne.push(pe.value), !(re && ne.length === re)); oe = !0)
25696
25698
  ;
25697
25699
  } catch (ge) {
25698
- ce = !0, G = ge;
25700
+ ce = !0, W = ge;
25699
25701
  } finally {
25700
25702
  try {
25701
- !oe && re.return && re.return();
25703
+ !oe && ie.return && ie.return();
25702
25704
  } finally {
25703
25705
  if (ce)
25704
- throw G;
25706
+ throw W;
25705
25707
  }
25706
25708
  }
25707
- return ie;
25709
+ return ne;
25708
25710
  }
25709
- return function(W, ne) {
25710
- if (Array.isArray(W))
25711
- return W;
25712
- if (Symbol.iterator in Object(W))
25713
- return q(W, ne);
25711
+ return function(X, re) {
25712
+ if (Array.isArray(X))
25713
+ return X;
25714
+ if (Symbol.iterator in Object(X))
25715
+ return q(X, re);
25714
25716
  throw new TypeError("Invalid attempt to destructure non-iterable instance");
25715
25717
  };
25716
25718
  }(), l = function() {
25717
- function q(W, ne) {
25718
- for (var ie = 0; ie < ne.length; ie++) {
25719
- var oe = ne[ie];
25720
- oe.enumerable = oe.enumerable || !1, oe.configurable = !0, "value" in oe && (oe.writable = !0), Object.defineProperty(W, oe.key, oe);
25719
+ function q(X, re) {
25720
+ for (var ne = 0; ne < re.length; ne++) {
25721
+ var oe = re[ne];
25722
+ oe.enumerable = oe.enumerable || !1, oe.configurable = !0, "value" in oe && (oe.writable = !0), Object.defineProperty(X, oe.key, oe);
25721
25723
  }
25722
25724
  }
25723
- return function(W, ne, ie) {
25724
- return ne && q(W.prototype, ne), ie && q(W, ie), W;
25725
+ return function(X, re, ne) {
25726
+ return re && q(X.prototype, re), ne && q(X, ne), X;
25725
25727
  };
25726
25728
  }(), s = i(3), u = O(s), f = i(2), c = O(f), d = i(0), h = O(d), y = i(5), g = O(y), _ = i(10), m = O(_), v = i(9), b = O(v), p = i(36), E = i(37), k = i(13), T = O(k), S = i(26), P = i(38), N = i(39), w = i(40);
25727
25729
  function O(q) {
25728
25730
  return q && q.__esModule ? q : { default: q };
25729
25731
  }
25730
- function C(q, W, ne) {
25731
- return W in q ? Object.defineProperty(q, W, { value: ne, enumerable: !0, configurable: !0, writable: !0 }) : q[W] = ne, q;
25732
+ function C(q, X, re) {
25733
+ return X in q ? Object.defineProperty(q, X, { value: re, enumerable: !0, configurable: !0, writable: !0 }) : q[X] = re, q;
25732
25734
  }
25733
- function I(q, W) {
25734
- if (!(q instanceof W))
25735
+ function I(q, X) {
25736
+ if (!(q instanceof X))
25735
25737
  throw new TypeError("Cannot call a class as a function");
25736
25738
  }
25737
- function D(q, W) {
25739
+ function D(q, X) {
25738
25740
  if (!q)
25739
25741
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
25740
- return W && (typeof W == "object" || typeof W == "function") ? W : q;
25742
+ return X && (typeof X == "object" || typeof X == "function") ? X : q;
25741
25743
  }
25742
- function j(q, W) {
25743
- if (typeof W != "function" && W !== null)
25744
- throw new TypeError("Super expression must either be null or a function, not " + typeof W);
25745
- q.prototype = Object.create(W && W.prototype, { constructor: { value: q, enumerable: !1, writable: !0, configurable: !0 } }), W && (Object.setPrototypeOf ? Object.setPrototypeOf(q, W) : q.__proto__ = W);
25744
+ function j(q, X) {
25745
+ if (typeof X != "function" && X !== null)
25746
+ throw new TypeError("Super expression must either be null or a function, not " + typeof X);
25747
+ q.prototype = Object.create(X && X.prototype, { constructor: { value: q, enumerable: !1, writable: !0, configurable: !0 } }), X && (Object.setPrototypeOf ? Object.setPrototypeOf(q, X) : q.__proto__ = X);
25746
25748
  }
25747
- var U = (0, m.default)("quill:clipboard"), te = "__ql-matcher", K = [[Node.TEXT_NODE, le], [Node.TEXT_NODE, x], ["br", he], [Node.ELEMENT_NODE, x], [Node.ELEMENT_NODE, se], [Node.ELEMENT_NODE, $], [Node.ELEMENT_NODE, Q], [Node.ELEMENT_NODE, ee], ["li", L], ["b", ae.bind(ae, "bold")], ["i", ae.bind(ae, "italic")], ["style", B]], H = [p.AlignAttribute, P.DirectionAttribute].reduce(function(q, W) {
25748
- return q[W.keyName] = W, q;
25749
- }, {}), M = [p.AlignStyle, E.BackgroundStyle, S.ColorStyle, P.DirectionStyle, N.FontStyle, w.SizeStyle].reduce(function(q, W) {
25750
- return q[W.keyName] = W, q;
25749
+ var U = (0, m.default)("quill:clipboard"), te = "__ql-matcher", K = [[Node.TEXT_NODE, le], [Node.TEXT_NODE, x], ["br", he], [Node.ELEMENT_NODE, x], [Node.ELEMENT_NODE, se], [Node.ELEMENT_NODE, $], [Node.ELEMENT_NODE, ee], [Node.ELEMENT_NODE, Z], ["li", L], ["b", ae.bind(ae, "bold")], ["i", ae.bind(ae, "italic")], ["style", B]], H = [p.AlignAttribute, P.DirectionAttribute].reduce(function(q, X) {
25750
+ return q[X.keyName] = X, q;
25751
+ }, {}), M = [p.AlignStyle, E.BackgroundStyle, S.ColorStyle, P.DirectionStyle, N.FontStyle, w.SizeStyle].reduce(function(q, X) {
25752
+ return q[X.keyName] = X, q;
25751
25753
  }, {}), V = function(q) {
25752
- j(W, q);
25753
- function W(ne, ie) {
25754
- I(this, W);
25755
- var oe = D(this, (W.__proto__ || Object.getPrototypeOf(W)).call(this, ne, ie));
25754
+ j(X, q);
25755
+ function X(re, ne) {
25756
+ I(this, X);
25757
+ var oe = D(this, (X.__proto__ || Object.getPrototypeOf(X)).call(this, re, ne));
25756
25758
  return oe.quill.root.addEventListener("paste", oe.onPaste.bind(oe)), oe.container = oe.quill.addContainer("ql-clipboard"), oe.container.setAttribute("contenteditable", !0), oe.container.setAttribute("tabindex", -1), oe.matchers = [], K.concat(oe.options.matchers).forEach(function(ce) {
25757
- var G = o(ce, 2), re = G[0], pe = G[1];
25758
- !ie.matchVisual && pe === $ || oe.addMatcher(re, pe);
25759
+ var W = o(ce, 2), ie = W[0], pe = W[1];
25760
+ !ne.matchVisual && pe === $ || oe.addMatcher(ie, pe);
25759
25761
  }), oe;
25760
25762
  }
25761
- return l(W, [{
25763
+ return l(X, [{
25762
25764
  key: "addMatcher",
25763
- value: function(ie, oe) {
25764
- this.matchers.push([ie, oe]);
25765
+ value: function(ne, oe) {
25766
+ this.matchers.push([ne, oe]);
25765
25767
  }
25766
25768
  }, {
25767
25769
  key: "convert",
25768
- value: function(ie) {
25769
- if (typeof ie == "string")
25770
- return this.container.innerHTML = ie.replace(/\>\r?\n +\</g, "><"), this.convert();
25770
+ value: function(ne) {
25771
+ if (typeof ne == "string")
25772
+ return this.container.innerHTML = ne.replace(/\>\r?\n +\</g, "><"), this.convert();
25771
25773
  var oe = this.quill.getFormat(this.quill.selection.savedRange.index);
25772
25774
  if (oe[T.default.blotName]) {
25773
25775
  var ce = this.container.innerText;
25774
25776
  return this.container.innerHTML = "", new c.default().insert(ce, C({}, T.default.blotName, oe[T.default.blotName]));
25775
25777
  }
25776
- var G = this.prepareMatching(), re = o(G, 2), pe = re[0], ge = re[1], ve = J(this.container, pe, ge);
25777
- return X(ve, `
25778
+ var W = this.prepareMatching(), ie = o(W, 2), pe = ie[0], ge = ie[1], ve = Y(this.container, pe, ge);
25779
+ return J(ve, `
25778
25780
  `) && ve.ops[ve.ops.length - 1].attributes == null && (ve = ve.compose(new c.default().retain(ve.length() - 1).delete(1))), U.log("convert", this.container.innerHTML, ve), this.container.innerHTML = "", ve;
25779
25781
  }
25780
25782
  }, {
25781
25783
  key: "dangerouslyPasteHTML",
25782
- value: function(ie, oe) {
25784
+ value: function(ne, oe) {
25783
25785
  var ce = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : g.default.sources.API;
25784
- if (typeof ie == "string")
25785
- this.quill.setContents(this.convert(ie), oe), this.quill.setSelection(0, g.default.sources.SILENT);
25786
+ if (typeof ne == "string")
25787
+ this.quill.setContents(this.convert(ne), oe), this.quill.setSelection(0, g.default.sources.SILENT);
25786
25788
  else {
25787
- var G = this.convert(oe);
25788
- this.quill.updateContents(new c.default().retain(ie).concat(G), ce), this.quill.setSelection(ie + G.length(), g.default.sources.SILENT);
25789
+ var W = this.convert(oe);
25790
+ this.quill.updateContents(new c.default().retain(ne).concat(W), ce), this.quill.setSelection(ne + W.length(), g.default.sources.SILENT);
25789
25791
  }
25790
25792
  }
25791
25793
  }, {
25792
25794
  key: "onPaste",
25793
- value: function(ie) {
25795
+ value: function(ne) {
25794
25796
  var oe = this;
25795
- if (!(ie.defaultPrevented || !this.quill.isEnabled())) {
25796
- var ce = this.quill.getSelection(), G = new c.default().retain(ce.index), re = this.quill.scrollingContainer.scrollTop;
25797
+ if (!(ne.defaultPrevented || !this.quill.isEnabled())) {
25798
+ var ce = this.quill.getSelection(), W = new c.default().retain(ce.index), ie = this.quill.scrollingContainer.scrollTop;
25797
25799
  this.container.focus(), this.quill.selection.update(g.default.sources.SILENT), setTimeout(function() {
25798
- G = G.concat(oe.convert()).delete(ce.length), oe.quill.updateContents(G, g.default.sources.USER), oe.quill.setSelection(G.length() - ce.length, g.default.sources.SILENT), oe.quill.scrollingContainer.scrollTop = re, oe.quill.focus();
25800
+ W = W.concat(oe.convert()).delete(ce.length), oe.quill.updateContents(W, g.default.sources.USER), oe.quill.setSelection(W.length() - ce.length, g.default.sources.SILENT), oe.quill.scrollingContainer.scrollTop = ie, oe.quill.focus();
25799
25801
  }, 1);
25800
25802
  }
25801
25803
  }
25802
25804
  }, {
25803
25805
  key: "prepareMatching",
25804
25806
  value: function() {
25805
- var ie = this, oe = [], ce = [];
25806
- return this.matchers.forEach(function(G) {
25807
- var re = o(G, 2), pe = re[0], ge = re[1];
25807
+ var ne = this, oe = [], ce = [];
25808
+ return this.matchers.forEach(function(W) {
25809
+ var ie = o(W, 2), pe = ie[0], ge = ie[1];
25808
25810
  switch (pe) {
25809
25811
  case Node.TEXT_NODE:
25810
25812
  ce.push(ge);
@@ -25813,131 +25815,131 @@ var Xy = { exports: {} };
25813
25815
  oe.push(ge);
25814
25816
  break;
25815
25817
  default:
25816
- [].forEach.call(ie.container.querySelectorAll(pe), function(ve) {
25818
+ [].forEach.call(ne.container.querySelectorAll(pe), function(ve) {
25817
25819
  ve[te] = ve[te] || [], ve[te].push(ge);
25818
25820
  });
25819
25821
  break;
25820
25822
  }
25821
25823
  }), [oe, ce];
25822
25824
  }
25823
- }]), W;
25825
+ }]), X;
25824
25826
  }(b.default);
25825
25827
  V.DEFAULTS = {
25826
25828
  matchers: [],
25827
25829
  matchVisual: !0
25828
25830
  };
25829
- function z(q, W, ne) {
25830
- return (typeof W > "u" ? "undefined" : a(W)) === "object" ? Object.keys(W).reduce(function(ie, oe) {
25831
- return z(ie, oe, W[oe]);
25832
- }, q) : q.reduce(function(ie, oe) {
25833
- return oe.attributes && oe.attributes[W] ? ie.push(oe) : ie.insert(oe.insert, (0, u.default)({}, C({}, W, ne), oe.attributes));
25831
+ function z(q, X, re) {
25832
+ return (typeof X > "u" ? "undefined" : a(X)) === "object" ? Object.keys(X).reduce(function(ne, oe) {
25833
+ return z(ne, oe, X[oe]);
25834
+ }, q) : q.reduce(function(ne, oe) {
25835
+ return oe.attributes && oe.attributes[X] ? ne.push(oe) : ne.insert(oe.insert, (0, u.default)({}, C({}, X, re), oe.attributes));
25834
25836
  }, new c.default());
25835
25837
  }
25836
- function Z(q) {
25838
+ function Q(q) {
25837
25839
  if (q.nodeType !== Node.ELEMENT_NODE)
25838
25840
  return {};
25839
- var W = "__ql-computed-style";
25840
- return q[W] || (q[W] = window.getComputedStyle(q));
25841
+ var X = "__ql-computed-style";
25842
+ return q[X] || (q[X] = window.getComputedStyle(q));
25841
25843
  }
25842
- function X(q, W) {
25843
- for (var ne = "", ie = q.ops.length - 1; ie >= 0 && ne.length < W.length; --ie) {
25844
- var oe = q.ops[ie];
25844
+ function J(q, X) {
25845
+ for (var re = "", ne = q.ops.length - 1; ne >= 0 && re.length < X.length; --ne) {
25846
+ var oe = q.ops[ne];
25845
25847
  if (typeof oe.insert != "string")
25846
25848
  break;
25847
- ne = oe.insert + ne;
25849
+ re = oe.insert + re;
25848
25850
  }
25849
- return ne.slice(-1 * W.length) === W;
25851
+ return re.slice(-1 * X.length) === X;
25850
25852
  }
25851
25853
  function F(q) {
25852
25854
  if (q.childNodes.length === 0)
25853
25855
  return !1;
25854
- var W = Z(q);
25855
- return ["block", "list-item"].indexOf(W.display) > -1;
25856
- }
25857
- function J(q, W, ne) {
25858
- return q.nodeType === q.TEXT_NODE ? ne.reduce(function(ie, oe) {
25859
- return oe(q, ie);
25860
- }, new c.default()) : q.nodeType === q.ELEMENT_NODE ? [].reduce.call(q.childNodes || [], function(ie, oe) {
25861
- var ce = J(oe, W, ne);
25862
- return oe.nodeType === q.ELEMENT_NODE && (ce = W.reduce(function(G, re) {
25863
- return re(oe, G);
25864
- }, ce), ce = (oe[te] || []).reduce(function(G, re) {
25865
- return re(oe, G);
25866
- }, ce)), ie.concat(ce);
25856
+ var X = Q(q);
25857
+ return ["block", "list-item"].indexOf(X.display) > -1;
25858
+ }
25859
+ function Y(q, X, re) {
25860
+ return q.nodeType === q.TEXT_NODE ? re.reduce(function(ne, oe) {
25861
+ return oe(q, ne);
25862
+ }, new c.default()) : q.nodeType === q.ELEMENT_NODE ? [].reduce.call(q.childNodes || [], function(ne, oe) {
25863
+ var ce = Y(oe, X, re);
25864
+ return oe.nodeType === q.ELEMENT_NODE && (ce = X.reduce(function(W, ie) {
25865
+ return ie(oe, W);
25866
+ }, ce), ce = (oe[te] || []).reduce(function(W, ie) {
25867
+ return ie(oe, W);
25868
+ }, ce)), ne.concat(ce);
25867
25869
  }, new c.default()) : new c.default();
25868
25870
  }
25869
- function ae(q, W, ne) {
25870
- return z(ne, q, !0);
25871
- }
25872
- function Q(q, W) {
25873
- var ne = h.default.Attributor.Attribute.keys(q), ie = h.default.Attributor.Class.keys(q), oe = h.default.Attributor.Style.keys(q), ce = {};
25874
- return ne.concat(ie).concat(oe).forEach(function(G) {
25875
- var re = h.default.query(G, h.default.Scope.ATTRIBUTE);
25876
- re != null && (ce[re.attrName] = re.value(q), ce[re.attrName]) || (re = H[G], re != null && (re.attrName === G || re.keyName === G) && (ce[re.attrName] = re.value(q) || void 0), re = M[G], re != null && (re.attrName === G || re.keyName === G) && (re = M[G], ce[re.attrName] = re.value(q) || void 0));
25877
- }), Object.keys(ce).length > 0 && (W = z(W, ce)), W;
25878
- }
25879
- function se(q, W) {
25880
- var ne = h.default.query(q);
25881
- if (ne == null)
25882
- return W;
25883
- if (ne.prototype instanceof h.default.Embed) {
25884
- var ie = {}, oe = ne.value(q);
25885
- oe != null && (ie[ne.blotName] = oe, W = new c.default().insert(ie, ne.formats(q)));
25871
+ function ae(q, X, re) {
25872
+ return z(re, q, !0);
25873
+ }
25874
+ function ee(q, X) {
25875
+ var re = h.default.Attributor.Attribute.keys(q), ne = h.default.Attributor.Class.keys(q), oe = h.default.Attributor.Style.keys(q), ce = {};
25876
+ return re.concat(ne).concat(oe).forEach(function(W) {
25877
+ var ie = h.default.query(W, h.default.Scope.ATTRIBUTE);
25878
+ ie != null && (ce[ie.attrName] = ie.value(q), ce[ie.attrName]) || (ie = H[W], ie != null && (ie.attrName === W || ie.keyName === W) && (ce[ie.attrName] = ie.value(q) || void 0), ie = M[W], ie != null && (ie.attrName === W || ie.keyName === W) && (ie = M[W], ce[ie.attrName] = ie.value(q) || void 0));
25879
+ }), Object.keys(ce).length > 0 && (X = z(X, ce)), X;
25880
+ }
25881
+ function se(q, X) {
25882
+ var re = h.default.query(q);
25883
+ if (re == null)
25884
+ return X;
25885
+ if (re.prototype instanceof h.default.Embed) {
25886
+ var ne = {}, oe = re.value(q);
25887
+ oe != null && (ne[re.blotName] = oe, X = new c.default().insert(ne, re.formats(q)));
25886
25888
  } else
25887
- typeof ne.formats == "function" && (W = z(W, ne.blotName, ne.formats(q)));
25888
- return W;
25889
+ typeof re.formats == "function" && (X = z(X, re.blotName, re.formats(q)));
25890
+ return X;
25889
25891
  }
25890
- function he(q, W) {
25891
- return X(W, `
25892
- `) || W.insert(`
25893
- `), W;
25892
+ function he(q, X) {
25893
+ return J(X, `
25894
+ `) || X.insert(`
25895
+ `), X;
25894
25896
  }
25895
25897
  function B() {
25896
25898
  return new c.default();
25897
25899
  }
25898
- function L(q, W) {
25899
- var ne = h.default.query(q);
25900
- if (ne == null || ne.blotName !== "list-item" || !X(W, `
25900
+ function L(q, X) {
25901
+ var re = h.default.query(q);
25902
+ if (re == null || re.blotName !== "list-item" || !J(X, `
25901
25903
  `))
25902
- return W;
25903
- for (var ie = -1, oe = q.parentNode; !oe.classList.contains("ql-clipboard"); )
25904
- (h.default.query(oe) || {}).blotName === "list" && (ie += 1), oe = oe.parentNode;
25905
- return ie <= 0 ? W : W.compose(new c.default().retain(W.length() - 1).retain(1, { indent: ie }));
25906
- }
25907
- function x(q, W) {
25908
- return X(W, `
25909
- `) || (F(q) || W.length() > 0 && q.nextSibling && F(q.nextSibling)) && W.insert(`
25910
- `), W;
25911
- }
25912
- function $(q, W) {
25913
- if (F(q) && q.nextElementSibling != null && !X(W, `
25904
+ return X;
25905
+ for (var ne = -1, oe = q.parentNode; !oe.classList.contains("ql-clipboard"); )
25906
+ (h.default.query(oe) || {}).blotName === "list" && (ne += 1), oe = oe.parentNode;
25907
+ return ne <= 0 ? X : X.compose(new c.default().retain(X.length() - 1).retain(1, { indent: ne }));
25908
+ }
25909
+ function x(q, X) {
25910
+ return J(X, `
25911
+ `) || (F(q) || X.length() > 0 && q.nextSibling && F(q.nextSibling)) && X.insert(`
25912
+ `), X;
25913
+ }
25914
+ function $(q, X) {
25915
+ if (F(q) && q.nextElementSibling != null && !J(X, `
25914
25916
 
25915
25917
  `)) {
25916
- var ne = q.offsetHeight + parseFloat(Z(q).marginTop) + parseFloat(Z(q).marginBottom);
25917
- q.nextElementSibling.offsetTop > q.offsetTop + ne * 1.5 && W.insert(`
25918
+ var re = q.offsetHeight + parseFloat(Q(q).marginTop) + parseFloat(Q(q).marginBottom);
25919
+ q.nextElementSibling.offsetTop > q.offsetTop + re * 1.5 && X.insert(`
25918
25920
  `);
25919
25921
  }
25920
- return W;
25922
+ return X;
25921
25923
  }
25922
- function ee(q, W) {
25923
- var ne = {}, ie = q.style || {};
25924
- return ie.fontStyle && Z(q).fontStyle === "italic" && (ne.italic = !0), ie.fontWeight && (Z(q).fontWeight.startsWith("bold") || parseInt(Z(q).fontWeight) >= 700) && (ne.bold = !0), Object.keys(ne).length > 0 && (W = z(W, ne)), parseFloat(ie.textIndent || 0) > 0 && (W = new c.default().insert(" ").concat(W)), W;
25924
+ function Z(q, X) {
25925
+ var re = {}, ne = q.style || {};
25926
+ return ne.fontStyle && Q(q).fontStyle === "italic" && (re.italic = !0), ne.fontWeight && (Q(q).fontWeight.startsWith("bold") || parseInt(Q(q).fontWeight) >= 700) && (re.bold = !0), Object.keys(re).length > 0 && (X = z(X, re)), parseFloat(ne.textIndent || 0) > 0 && (X = new c.default().insert(" ").concat(X)), X;
25925
25927
  }
25926
- function le(q, W) {
25927
- var ne = q.data;
25928
+ function le(q, X) {
25929
+ var re = q.data;
25928
25930
  if (q.parentNode.tagName === "O:P")
25929
- return W.insert(ne.trim());
25930
- if (ne.trim().length === 0 && q.parentNode.classList.contains("ql-clipboard"))
25931
- return W;
25932
- if (!Z(q.parentNode).whiteSpace.startsWith("pre")) {
25933
- var ie = function(ce, G) {
25934
- return G = G.replace(/[^\u00a0]/g, ""), G.length < 1 && ce ? " " : G;
25931
+ return X.insert(re.trim());
25932
+ if (re.trim().length === 0 && q.parentNode.classList.contains("ql-clipboard"))
25933
+ return X;
25934
+ if (!Q(q.parentNode).whiteSpace.startsWith("pre")) {
25935
+ var ne = function(ce, W) {
25936
+ return W = W.replace(/[^\u00a0]/g, ""), W.length < 1 && ce ? " " : W;
25935
25937
  };
25936
- ne = ne.replace(/\r\n/g, " ").replace(/\n/g, " "), ne = ne.replace(/\s\s+/g, ie.bind(ie, !0)), (q.previousSibling == null && F(q.parentNode) || q.previousSibling != null && F(q.previousSibling)) && (ne = ne.replace(/^\s+/, ie.bind(ie, !1))), (q.nextSibling == null && F(q.parentNode) || q.nextSibling != null && F(q.nextSibling)) && (ne = ne.replace(/\s+$/, ie.bind(ie, !1)));
25938
+ re = re.replace(/\r\n/g, " ").replace(/\n/g, " "), re = re.replace(/\s\s+/g, ne.bind(ne, !0)), (q.previousSibling == null && F(q.parentNode) || q.previousSibling != null && F(q.previousSibling)) && (re = re.replace(/^\s+/, ne.bind(ne, !1))), (q.nextSibling == null && F(q.parentNode) || q.nextSibling != null && F(q.nextSibling)) && (re = re.replace(/\s+$/, ne.bind(ne, !1)));
25937
25939
  }
25938
- return W.insert(ne);
25940
+ return X.insert(re);
25939
25941
  }
25940
- r.default = V, r.matchAttributor = Q, r.matchBlot = se, r.matchNewline = x, r.matchSpacing = $, r.matchText = le;
25942
+ r.default = V, r.matchAttributor = ee, r.matchBlot = se, r.matchNewline = x, r.matchSpacing = $, r.matchText = le;
25941
25943
  },
25942
25944
  /* 56 */
25943
25945
  /***/
@@ -26582,7 +26584,7 @@ var Xy = { exports: {} };
26582
26584
  Object.defineProperty(r, "__esModule", {
26583
26585
  value: !0
26584
26586
  });
26585
- var a = i(29), o = oe(a), l = i(36), s = i(38), u = i(64), f = i(65), c = oe(f), d = i(66), h = oe(d), y = i(67), g = oe(y), _ = i(37), m = i(26), v = i(39), b = i(40), p = i(56), E = oe(p), k = i(68), T = oe(k), S = i(27), P = oe(S), N = i(69), w = oe(N), O = i(70), C = oe(O), I = i(71), D = oe(I), j = i(72), U = oe(j), te = i(73), K = oe(te), H = i(13), M = oe(H), V = i(74), z = oe(V), Z = i(75), X = oe(Z), F = i(57), J = oe(F), ae = i(41), Q = oe(ae), se = i(28), he = oe(se), B = i(59), L = oe(B), x = i(60), $ = oe(x), ee = i(61), le = oe(ee), q = i(108), W = oe(q), ne = i(62), ie = oe(ne);
26587
+ var a = i(29), o = oe(a), l = i(36), s = i(38), u = i(64), f = i(65), c = oe(f), d = i(66), h = oe(d), y = i(67), g = oe(y), _ = i(37), m = i(26), v = i(39), b = i(40), p = i(56), E = oe(p), k = i(68), T = oe(k), S = i(27), P = oe(S), N = i(69), w = oe(N), O = i(70), C = oe(O), I = i(71), D = oe(I), j = i(72), U = oe(j), te = i(73), K = oe(te), H = i(13), M = oe(H), V = i(74), z = oe(V), Q = i(75), J = oe(Q), F = i(57), Y = oe(F), ae = i(41), ee = oe(ae), se = i(28), he = oe(se), B = i(59), L = oe(B), x = i(60), $ = oe(x), Z = i(61), le = oe(Z), q = i(108), X = oe(q), re = i(62), ne = oe(re);
26586
26588
  function oe(ce) {
26587
26589
  return ce && ce.__esModule ? ce : { default: ce };
26588
26590
  }
@@ -26623,11 +26625,11 @@ var Xy = { exports: {} };
26623
26625
  "formats/video": K.default,
26624
26626
  "formats/list/item": y.ListItem,
26625
26627
  "modules/formula": z.default,
26626
- "modules/syntax": X.default,
26627
- "modules/toolbar": J.default,
26628
- "themes/bubble": W.default,
26629
- "themes/snow": ie.default,
26630
- "ui/icons": Q.default,
26628
+ "modules/syntax": J.default,
26629
+ "modules/toolbar": Y.default,
26630
+ "themes/bubble": X.default,
26631
+ "themes/snow": ne.default,
26632
+ "ui/icons": ee.default,
26631
26633
  "ui/picker": he.default,
26632
26634
  "ui/icon-picker": $.default,
26633
26635
  "ui/color-picker": L.default,
@@ -28027,32 +28029,32 @@ vu.exports;
28027
28029
  (function(e, t) {
28028
28030
  var n = 200, r = "__lodash_hash_undefined__", i = 9007199254740991, a = "[object Arguments]", o = "[object Array]", l = "[object Boolean]", s = "[object Date]", u = "[object Error]", f = "[object Function]", c = "[object GeneratorFunction]", d = "[object Map]", h = "[object Number]", y = "[object Object]", g = "[object Promise]", _ = "[object RegExp]", m = "[object Set]", v = "[object String]", b = "[object Symbol]", p = "[object WeakMap]", E = "[object ArrayBuffer]", k = "[object DataView]", T = "[object Float32Array]", S = "[object Float64Array]", P = "[object Int8Array]", N = "[object Int16Array]", w = "[object Int32Array]", O = "[object Uint8Array]", C = "[object Uint8ClampedArray]", I = "[object Uint16Array]", D = "[object Uint32Array]", j = /[\\^$.*+?()[\]{}|]/g, U = /\w*$/, te = /^\[object .+?Constructor\]$/, K = /^(?:0|[1-9]\d*)$/, H = {};
28029
28031
  H[a] = H[o] = H[E] = H[k] = H[l] = H[s] = H[T] = H[S] = H[P] = H[N] = H[w] = H[d] = H[h] = H[y] = H[_] = H[m] = H[v] = H[b] = H[O] = H[C] = H[I] = H[D] = !0, H[u] = H[f] = H[p] = !1;
28030
- var M = typeof dt == "object" && dt && dt.Object === Object && dt, V = typeof self == "object" && self && self.Object === Object && self, z = M || V || Function("return this")(), Z = t && !t.nodeType && t, X = Z && !0 && e && !e.nodeType && e, F = X && X.exports === Z;
28031
- function J(A, R) {
28032
+ var M = typeof dt == "object" && dt && dt.Object === Object && dt, V = typeof self == "object" && self && self.Object === Object && self, z = M || V || Function("return this")(), Q = t && !t.nodeType && t, J = Q && !0 && e && !e.nodeType && e, F = J && J.exports === Q;
28033
+ function Y(A, R) {
28032
28034
  return A.set(R[0], R[1]), A;
28033
28035
  }
28034
28036
  function ae(A, R) {
28035
28037
  return A.add(R), A;
28036
28038
  }
28037
- function Q(A, R) {
28038
- for (var Y = -1, ue = A ? A.length : 0; ++Y < ue && R(A[Y], Y, A) !== !1; )
28039
+ function ee(A, R) {
28040
+ for (var G = -1, ue = A ? A.length : 0; ++G < ue && R(A[G], G, A) !== !1; )
28039
28041
  ;
28040
28042
  return A;
28041
28043
  }
28042
28044
  function se(A, R) {
28043
- for (var Y = -1, ue = R.length, Ce = A.length; ++Y < ue; )
28044
- A[Ce + Y] = R[Y];
28045
+ for (var G = -1, ue = R.length, Ce = A.length; ++G < ue; )
28046
+ A[Ce + G] = R[G];
28045
28047
  return A;
28046
28048
  }
28047
- function he(A, R, Y, ue) {
28049
+ function he(A, R, G, ue) {
28048
28050
  var Ce = -1, we = A ? A.length : 0;
28049
- for (ue && we && (Y = A[++Ce]); ++Ce < we; )
28050
- Y = R(Y, A[Ce], Ce, A);
28051
- return Y;
28051
+ for (ue && we && (G = A[++Ce]); ++Ce < we; )
28052
+ G = R(G, A[Ce], Ce, A);
28053
+ return G;
28052
28054
  }
28053
28055
  function B(A, R) {
28054
- for (var Y = -1, ue = Array(A); ++Y < A; )
28055
- ue[Y] = R(Y);
28056
+ for (var G = -1, ue = Array(A); ++G < A; )
28057
+ ue[G] = R(G);
28056
28058
  return ue;
28057
28059
  }
28058
28060
  function L(A, R) {
@@ -28068,31 +28070,31 @@ vu.exports;
28068
28070
  return R;
28069
28071
  }
28070
28072
  function $(A) {
28071
- var R = -1, Y = Array(A.size);
28073
+ var R = -1, G = Array(A.size);
28072
28074
  return A.forEach(function(ue, Ce) {
28073
- Y[++R] = [Ce, ue];
28074
- }), Y;
28075
+ G[++R] = [Ce, ue];
28076
+ }), G;
28075
28077
  }
28076
- function ee(A, R) {
28077
- return function(Y) {
28078
- return A(R(Y));
28078
+ function Z(A, R) {
28079
+ return function(G) {
28080
+ return A(R(G));
28079
28081
  };
28080
28082
  }
28081
28083
  function le(A) {
28082
- var R = -1, Y = Array(A.size);
28084
+ var R = -1, G = Array(A.size);
28083
28085
  return A.forEach(function(ue) {
28084
- Y[++R] = ue;
28085
- }), Y;
28086
+ G[++R] = ue;
28087
+ }), G;
28086
28088
  }
28087
- var q = Array.prototype, W = Function.prototype, ne = Object.prototype, ie = z["__core-js_shared__"], oe = function() {
28088
- var A = /[^.]+$/.exec(ie && ie.keys && ie.keys.IE_PROTO || "");
28089
+ var q = Array.prototype, X = Function.prototype, re = Object.prototype, ne = z["__core-js_shared__"], oe = function() {
28090
+ var A = /[^.]+$/.exec(ne && ne.keys && ne.keys.IE_PROTO || "");
28089
28091
  return A ? "Symbol(src)_1." + A : "";
28090
- }(), ce = W.toString, G = ne.hasOwnProperty, re = ne.toString, pe = RegExp(
28091
- "^" + ce.call(G).replace(j, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
28092
- ), ge = F ? z.Buffer : void 0, ve = z.Symbol, Re = z.Uint8Array, Te = ee(Object.getPrototypeOf, Object), nt = Object.create, Gn = ne.propertyIsEnumerable, wn = q.splice, Yn = Object.getOwnPropertySymbols, st = ge ? ge.isBuffer : void 0, It = ee(Object.keys, Object), ke = Fn(z, "DataView"), Be = Fn(z, "Map"), Ze = Fn(z, "Promise"), De = Fn(z, "Set"), Nt = Fn(z, "WeakMap"), Qt = Fn(Object, "create"), Dn = Wt(ke), en = Wt(Be), Xn = Wt(Ze), Jn = Wt(De), hr = Wt(Nt), Tn = ve ? ve.prototype : void 0, la = Tn ? Tn.valueOf : void 0;
28092
+ }(), ce = X.toString, W = re.hasOwnProperty, ie = re.toString, pe = RegExp(
28093
+ "^" + ce.call(W).replace(j, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
28094
+ ), ge = F ? z.Buffer : void 0, ve = z.Symbol, Re = z.Uint8Array, Te = Z(Object.getPrototypeOf, Object), nt = Object.create, Gn = re.propertyIsEnumerable, wn = q.splice, Yn = Object.getOwnPropertySymbols, st = ge ? ge.isBuffer : void 0, It = Z(Object.keys, Object), ke = Fn(z, "DataView"), Be = Fn(z, "Map"), Ze = Fn(z, "Promise"), De = Fn(z, "Set"), Nt = Fn(z, "WeakMap"), Qt = Fn(Object, "create"), Dn = Wt(ke), en = Wt(Be), Xn = Wt(Ze), Jn = Wt(De), hr = Wt(Nt), Tn = ve ? ve.prototype : void 0, la = Tn ? Tn.valueOf : void 0;
28093
28095
  function Sn(A) {
28094
- var R = -1, Y = A ? A.length : 0;
28095
- for (this.clear(); ++R < Y; ) {
28096
+ var R = -1, G = A ? A.length : 0;
28097
+ for (this.clear(); ++R < G; ) {
28096
28098
  var ue = A[R];
28097
28099
  this.set(ue[0], ue[1]);
28098
28100
  }
@@ -28106,23 +28108,23 @@ vu.exports;
28106
28108
  function ro(A) {
28107
28109
  var R = this.__data__;
28108
28110
  if (Qt) {
28109
- var Y = R[A];
28110
- return Y === r ? void 0 : Y;
28111
+ var G = R[A];
28112
+ return G === r ? void 0 : G;
28111
28113
  }
28112
- return G.call(R, A) ? R[A] : void 0;
28114
+ return W.call(R, A) ? R[A] : void 0;
28113
28115
  }
28114
28116
  function bi(A) {
28115
28117
  var R = this.__data__;
28116
- return Qt ? R[A] !== void 0 : G.call(R, A);
28118
+ return Qt ? R[A] !== void 0 : W.call(R, A);
28117
28119
  }
28118
28120
  function Rr(A, R) {
28119
- var Y = this.__data__;
28120
- return Y[A] = Qt && R === void 0 ? r : R, this;
28121
+ var G = this.__data__;
28122
+ return G[A] = Qt && R === void 0 ? r : R, this;
28121
28123
  }
28122
28124
  Sn.prototype.clear = gi, Sn.prototype.delete = yi, Sn.prototype.get = ro, Sn.prototype.has = bi, Sn.prototype.set = Rr;
28123
28125
  function ot(A) {
28124
- var R = -1, Y = A ? A.length : 0;
28125
- for (this.clear(); ++R < Y; ) {
28126
+ var R = -1, G = A ? A.length : 0;
28127
+ for (this.clear(); ++R < G; ) {
28126
28128
  var ue = A[R];
28127
28129
  this.set(ue[0], ue[1]);
28128
28130
  }
@@ -28131,27 +28133,27 @@ vu.exports;
28131
28133
  this.__data__ = [];
28132
28134
  }
28133
28135
  function ua(A) {
28134
- var R = this.__data__, Y = pa(R, A);
28135
- if (Y < 0)
28136
+ var R = this.__data__, G = pa(R, A);
28137
+ if (G < 0)
28136
28138
  return !1;
28137
28139
  var ue = R.length - 1;
28138
- return Y == ue ? R.pop() : wn.call(R, Y, 1), !0;
28140
+ return G == ue ? R.pop() : wn.call(R, G, 1), !0;
28139
28141
  }
28140
28142
  function ca(A) {
28141
- var R = this.__data__, Y = pa(R, A);
28142
- return Y < 0 ? void 0 : R[Y][1];
28143
+ var R = this.__data__, G = pa(R, A);
28144
+ return G < 0 ? void 0 : R[G][1];
28143
28145
  }
28144
28146
  function io(A) {
28145
28147
  return pa(this.__data__, A) > -1;
28146
28148
  }
28147
28149
  function fa(A, R) {
28148
- var Y = this.__data__, ue = pa(Y, A);
28149
- return ue < 0 ? Y.push([A, R]) : Y[ue][1] = R, this;
28150
+ var G = this.__data__, ue = pa(G, A);
28151
+ return ue < 0 ? G.push([A, R]) : G[ue][1] = R, this;
28150
28152
  }
28151
28153
  ot.prototype.clear = sa, ot.prototype.delete = ua, ot.prototype.get = ca, ot.prototype.has = io, ot.prototype.set = fa;
28152
28154
  function pt(A) {
28153
- var R = -1, Y = A ? A.length : 0;
28154
- for (this.clear(); ++R < Y; ) {
28155
+ var R = -1, G = A ? A.length : 0;
28156
+ for (this.clear(); ++R < G; ) {
28155
28157
  var ue = A[R];
28156
28158
  this.set(ue[0], ue[1]);
28157
28159
  }
@@ -28192,36 +28194,36 @@ vu.exports;
28192
28194
  return this.__data__.has(A);
28193
28195
  }
28194
28196
  function sc(A, R) {
28195
- var Y = this.__data__;
28196
- if (Y instanceof ot) {
28197
- var ue = Y.__data__;
28197
+ var G = this.__data__;
28198
+ if (G instanceof ot) {
28199
+ var ue = G.__data__;
28198
28200
  if (!Be || ue.length < n - 1)
28199
28201
  return ue.push([A, R]), this;
28200
- Y = this.__data__ = new pt(ue);
28202
+ G = this.__data__ = new pt(ue);
28201
28203
  }
28202
- return Y.set(A, R), this;
28204
+ return G.set(A, R), this;
28203
28205
  }
28204
28206
  Ht.prototype.clear = ic, Ht.prototype.delete = ac, Ht.prototype.get = oc, Ht.prototype.has = lc, Ht.prototype.set = sc;
28205
28207
  function ha(A, R) {
28206
- var Y = co(A) || va(A) ? B(A.length, String) : [], ue = Y.length, Ce = !!ue;
28208
+ var G = co(A) || va(A) ? B(A.length, String) : [], ue = G.length, Ce = !!ue;
28207
28209
  for (var we in A)
28208
- (R || G.call(A, we)) && !(Ce && (we == "length" || Oc(we, ue))) && Y.push(we);
28209
- return Y;
28210
+ (R || W.call(A, we)) && !(Ce && (we == "length" || Oc(we, ue))) && G.push(we);
28211
+ return G;
28210
28212
  }
28211
- function xl(A, R, Y) {
28213
+ function xl(A, R, G) {
28212
28214
  var ue = A[R];
28213
- (!(G.call(A, R) && Vl(ue, Y)) || Y === void 0 && !(R in A)) && (A[R] = Y);
28215
+ (!(W.call(A, R) && Vl(ue, G)) || G === void 0 && !(R in A)) && (A[R] = G);
28214
28216
  }
28215
28217
  function pa(A, R) {
28216
- for (var Y = A.length; Y--; )
28217
- if (Vl(A[Y][0], R))
28218
- return Y;
28218
+ for (var G = A.length; G--; )
28219
+ if (Vl(A[G][0], R))
28220
+ return G;
28219
28221
  return -1;
28220
28222
  }
28221
28223
  function Zn(A, R) {
28222
28224
  return A && uo(R, ho(R), A);
28223
28225
  }
28224
- function lo(A, R, Y, ue, Ce, we, Fe) {
28226
+ function lo(A, R, G, ue, Ce, we, Fe) {
28225
28227
  var ze;
28226
28228
  if (ue && (ze = we ? ue(A, Ce, we, Fe) : ue(A)), ze !== void 0)
28227
28229
  return ze;
@@ -28251,20 +28253,20 @@ vu.exports;
28251
28253
  if (tn)
28252
28254
  return tn;
28253
28255
  if (Fe.set(A, ze), !mt)
28254
- var Et = Y ? bc(A) : ho(A);
28255
- return Q(Et || A, function(jt, Mt) {
28256
- Et && (Mt = jt, jt = A[Mt]), xl(ze, Mt, lo(jt, R, Y, ue, Mt, A, Fe));
28256
+ var Et = G ? bc(A) : ho(A);
28257
+ return ee(Et || A, function(jt, Mt) {
28258
+ Et && (Mt = jt, jt = A[Mt]), xl(ze, Mt, lo(jt, R, G, ue, Mt, A, Fe));
28257
28259
  }), ze;
28258
28260
  }
28259
28261
  function uc(A) {
28260
28262
  return er(A) ? nt(A) : {};
28261
28263
  }
28262
- function cc(A, R, Y) {
28264
+ function cc(A, R, G) {
28263
28265
  var ue = R(A);
28264
- return co(A) ? ue : se(ue, Y(A));
28266
+ return co(A) ? ue : se(ue, G(A));
28265
28267
  }
28266
28268
  function fc(A) {
28267
- return re.call(A);
28269
+ return ie.call(A);
28268
28270
  }
28269
28271
  function dc(A) {
28270
28272
  if (!er(A) || Tc(A))
@@ -28276,56 +28278,56 @@ vu.exports;
28276
28278
  if (!Fl(A))
28277
28279
  return It(A);
28278
28280
  var R = [];
28279
- for (var Y in Object(A))
28280
- G.call(A, Y) && Y != "constructor" && R.push(Y);
28281
+ for (var G in Object(A))
28282
+ W.call(A, G) && G != "constructor" && R.push(G);
28281
28283
  return R;
28282
28284
  }
28283
28285
  function ma(A, R) {
28284
28286
  if (R)
28285
28287
  return A.slice();
28286
- var Y = new A.constructor(A.length);
28287
- return A.copy(Y), Y;
28288
+ var G = new A.constructor(A.length);
28289
+ return A.copy(G), G;
28288
28290
  }
28289
28291
  function so(A) {
28290
28292
  var R = new A.constructor(A.byteLength);
28291
28293
  return new Re(R).set(new Re(A)), R;
28292
28294
  }
28293
28295
  function Oi(A, R) {
28294
- var Y = R ? so(A.buffer) : A.buffer;
28295
- return new A.constructor(Y, A.byteOffset, A.byteLength);
28296
+ var G = R ? so(A.buffer) : A.buffer;
28297
+ return new A.constructor(G, A.byteOffset, A.byteLength);
28296
28298
  }
28297
- function Rl(A, R, Y) {
28298
- var ue = R ? Y($(A), !0) : $(A);
28299
- return he(ue, J, new A.constructor());
28299
+ function Rl(A, R, G) {
28300
+ var ue = R ? G($(A), !0) : $(A);
28301
+ return he(ue, Y, new A.constructor());
28300
28302
  }
28301
28303
  function Dl(A) {
28302
28304
  var R = new A.constructor(A.source, U.exec(A));
28303
28305
  return R.lastIndex = A.lastIndex, R;
28304
28306
  }
28305
- function pc(A, R, Y) {
28306
- var ue = R ? Y(le(A), !0) : le(A);
28307
+ function pc(A, R, G) {
28308
+ var ue = R ? G(le(A), !0) : le(A);
28307
28309
  return he(ue, ae, new A.constructor());
28308
28310
  }
28309
28311
  function mc(A) {
28310
28312
  return la ? Object(la.call(A)) : {};
28311
28313
  }
28312
28314
  function vc(A, R) {
28313
- var Y = R ? so(A.buffer) : A.buffer;
28314
- return new A.constructor(Y, A.byteOffset, A.length);
28315
+ var G = R ? so(A.buffer) : A.buffer;
28316
+ return new A.constructor(G, A.byteOffset, A.length);
28315
28317
  }
28316
28318
  function gc(A, R) {
28317
- var Y = -1, ue = A.length;
28318
- for (R || (R = Array(ue)); ++Y < ue; )
28319
- R[Y] = A[Y];
28319
+ var G = -1, ue = A.length;
28320
+ for (R || (R = Array(ue)); ++G < ue; )
28321
+ R[G] = A[G];
28320
28322
  return R;
28321
28323
  }
28322
- function uo(A, R, Y, ue) {
28323
- Y || (Y = {});
28324
+ function uo(A, R, G, ue) {
28325
+ G || (G = {});
28324
28326
  for (var Ce = -1, we = R.length; ++Ce < we; ) {
28325
- var Fe = R[Ce], ze = ue ? ue(Y[Fe], A[Fe], Fe, Y, A) : void 0;
28326
- xl(Y, Fe, ze === void 0 ? A[Fe] : ze);
28327
+ var Fe = R[Ce], ze = ue ? ue(G[Fe], A[Fe], Fe, G, A) : void 0;
28328
+ xl(G, Fe, ze === void 0 ? A[Fe] : ze);
28327
28329
  }
28328
- return Y;
28330
+ return G;
28329
28331
  }
28330
28332
  function yc(A, R) {
28331
28333
  return uo(A, pr(A), R);
@@ -28334,16 +28336,16 @@ vu.exports;
28334
28336
  return cc(A, ho, pr);
28335
28337
  }
28336
28338
  function wi(A, R) {
28337
- var Y = A.__data__;
28338
- return wc(R) ? Y[typeof R == "string" ? "string" : "hash"] : Y.map;
28339
+ var G = A.__data__;
28340
+ return wc(R) ? G[typeof R == "string" ? "string" : "hash"] : G.map;
28339
28341
  }
28340
28342
  function Fn(A, R) {
28341
- var Y = L(A, R);
28342
- return dc(Y) ? Y : void 0;
28343
+ var G = L(A, R);
28344
+ return dc(G) ? G : void 0;
28343
28345
  }
28344
- var pr = Yn ? ee(Yn, Object) : Ac, mr = fc;
28346
+ var pr = Yn ? Z(Yn, Object) : Ac, mr = fc;
28345
28347
  (ke && mr(new ke(new ArrayBuffer(1))) != k || Be && mr(new Be()) != d || Ze && mr(Ze.resolve()) != g || De && mr(new De()) != m || Nt && mr(new Nt()) != p) && (mr = function(A) {
28346
- var R = re.call(A), Y = R == y ? A.constructor : void 0, ue = Y ? Wt(Y) : void 0;
28348
+ var R = ie.call(A), G = R == y ? A.constructor : void 0, ue = G ? Wt(G) : void 0;
28347
28349
  if (ue)
28348
28350
  switch (ue) {
28349
28351
  case Dn:
@@ -28360,13 +28362,13 @@ vu.exports;
28360
28362
  return R;
28361
28363
  });
28362
28364
  function _c(A) {
28363
- var R = A.length, Y = A.constructor(R);
28364
- return R && typeof A[0] == "string" && G.call(A, "index") && (Y.index = A.index, Y.input = A.input), Y;
28365
+ var R = A.length, G = A.constructor(R);
28366
+ return R && typeof A[0] == "string" && W.call(A, "index") && (G.index = A.index, G.input = A.input), G;
28365
28367
  }
28366
28368
  function Qn(A) {
28367
28369
  return typeof A.constructor == "function" && !Fl(A) ? uc(Te(A)) : {};
28368
28370
  }
28369
- function Ec(A, R, Y, ue) {
28371
+ function Ec(A, R, G, ue) {
28370
28372
  var Ce = A.constructor;
28371
28373
  switch (R) {
28372
28374
  case E:
@@ -28387,14 +28389,14 @@ vu.exports;
28387
28389
  case D:
28388
28390
  return vc(A, ue);
28389
28391
  case d:
28390
- return Rl(A, ue, Y);
28392
+ return Rl(A, ue, G);
28391
28393
  case h:
28392
28394
  case v:
28393
28395
  return new Ce(A);
28394
28396
  case _:
28395
28397
  return Dl(A);
28396
28398
  case m:
28397
- return pc(A, ue, Y);
28399
+ return pc(A, ue, G);
28398
28400
  case b:
28399
28401
  return mc(A);
28400
28402
  }
@@ -28410,8 +28412,8 @@ vu.exports;
28410
28412
  return !!oe && oe in A;
28411
28413
  }
28412
28414
  function Fl(A) {
28413
- var R = A && A.constructor, Y = typeof R == "function" && R.prototype || ne;
28414
- return A === Y;
28415
+ var R = A && A.constructor, G = typeof R == "function" && R.prototype || re;
28416
+ return A === G;
28415
28417
  }
28416
28418
  function Wt(A) {
28417
28419
  if (A != null) {
@@ -28433,7 +28435,7 @@ vu.exports;
28433
28435
  return A === R || A !== A && R !== R;
28434
28436
  }
28435
28437
  function va(A) {
28436
- return Sc(A) && G.call(A, "callee") && (!Gn.call(A, "callee") || re.call(A) == a);
28438
+ return Sc(A) && W.call(A, "callee") && (!Gn.call(A, "callee") || ie.call(A) == a);
28437
28439
  }
28438
28440
  var co = Array.isArray;
28439
28441
  function ga(A) {
@@ -28444,7 +28446,7 @@ vu.exports;
28444
28446
  }
28445
28447
  var jl = st || Nc;
28446
28448
  function fo(A) {
28447
- var R = er(A) ? re.call(A) : "";
28449
+ var R = er(A) ? ie.call(A) : "";
28448
28450
  return R == f || R == c;
28449
28451
  }
28450
28452
  function Bl(A) {
@@ -28471,74 +28473,74 @@ vu.exports;
28471
28473
  var nb = vu.exports, gu = { exports: {} };
28472
28474
  gu.exports;
28473
28475
  (function(e, t) {
28474
- var n = 200, r = "__lodash_hash_undefined__", i = 1, a = 2, o = 9007199254740991, l = "[object Arguments]", s = "[object Array]", u = "[object AsyncFunction]", f = "[object Boolean]", c = "[object Date]", d = "[object Error]", h = "[object Function]", y = "[object GeneratorFunction]", g = "[object Map]", _ = "[object Number]", m = "[object Null]", v = "[object Object]", b = "[object Promise]", p = "[object Proxy]", E = "[object RegExp]", k = "[object Set]", T = "[object String]", S = "[object Symbol]", P = "[object Undefined]", N = "[object WeakMap]", w = "[object ArrayBuffer]", O = "[object DataView]", C = "[object Float32Array]", I = "[object Float64Array]", D = "[object Int8Array]", j = "[object Int16Array]", U = "[object Int32Array]", te = "[object Uint8Array]", K = "[object Uint8ClampedArray]", H = "[object Uint16Array]", M = "[object Uint32Array]", V = /[\\^$.*+?()[\]{}|]/g, z = /^\[object .+?Constructor\]$/, Z = /^(?:0|[1-9]\d*)$/, X = {};
28475
- X[C] = X[I] = X[D] = X[j] = X[U] = X[te] = X[K] = X[H] = X[M] = !0, X[l] = X[s] = X[w] = X[f] = X[O] = X[c] = X[d] = X[h] = X[g] = X[_] = X[v] = X[E] = X[k] = X[T] = X[N] = !1;
28476
- var F = typeof dt == "object" && dt && dt.Object === Object && dt, J = typeof self == "object" && self && self.Object === Object && self, ae = F || J || Function("return this")(), Q = t && !t.nodeType && t, se = Q && !0 && e && !e.nodeType && e, he = se && se.exports === Q, B = he && F.process, L = function() {
28476
+ var n = 200, r = "__lodash_hash_undefined__", i = 1, a = 2, o = 9007199254740991, l = "[object Arguments]", s = "[object Array]", u = "[object AsyncFunction]", f = "[object Boolean]", c = "[object Date]", d = "[object Error]", h = "[object Function]", y = "[object GeneratorFunction]", g = "[object Map]", _ = "[object Number]", m = "[object Null]", v = "[object Object]", b = "[object Promise]", p = "[object Proxy]", E = "[object RegExp]", k = "[object Set]", T = "[object String]", S = "[object Symbol]", P = "[object Undefined]", N = "[object WeakMap]", w = "[object ArrayBuffer]", O = "[object DataView]", C = "[object Float32Array]", I = "[object Float64Array]", D = "[object Int8Array]", j = "[object Int16Array]", U = "[object Int32Array]", te = "[object Uint8Array]", K = "[object Uint8ClampedArray]", H = "[object Uint16Array]", M = "[object Uint32Array]", V = /[\\^$.*+?()[\]{}|]/g, z = /^\[object .+?Constructor\]$/, Q = /^(?:0|[1-9]\d*)$/, J = {};
28477
+ J[C] = J[I] = J[D] = J[j] = J[U] = J[te] = J[K] = J[H] = J[M] = !0, J[l] = J[s] = J[w] = J[f] = J[O] = J[c] = J[d] = J[h] = J[g] = J[_] = J[v] = J[E] = J[k] = J[T] = J[N] = !1;
28478
+ var F = typeof dt == "object" && dt && dt.Object === Object && dt, Y = typeof self == "object" && self && self.Object === Object && self, ae = F || Y || Function("return this")(), ee = t && !t.nodeType && t, se = ee && !0 && e && !e.nodeType && e, he = se && se.exports === ee, B = he && F.process, L = function() {
28477
28479
  try {
28478
28480
  return B && B.binding && B.binding("util");
28479
28481
  } catch {
28480
28482
  }
28481
28483
  }(), x = L && L.isTypedArray;
28482
28484
  function $(A, R) {
28483
- for (var Y = -1, ue = A == null ? 0 : A.length, Ce = 0, we = []; ++Y < ue; ) {
28484
- var Fe = A[Y];
28485
- R(Fe, Y, A) && (we[Ce++] = Fe);
28485
+ for (var G = -1, ue = A == null ? 0 : A.length, Ce = 0, we = []; ++G < ue; ) {
28486
+ var Fe = A[G];
28487
+ R(Fe, G, A) && (we[Ce++] = Fe);
28486
28488
  }
28487
28489
  return we;
28488
28490
  }
28489
- function ee(A, R) {
28490
- for (var Y = -1, ue = R.length, Ce = A.length; ++Y < ue; )
28491
- A[Ce + Y] = R[Y];
28491
+ function Z(A, R) {
28492
+ for (var G = -1, ue = R.length, Ce = A.length; ++G < ue; )
28493
+ A[Ce + G] = R[G];
28492
28494
  return A;
28493
28495
  }
28494
28496
  function le(A, R) {
28495
- for (var Y = -1, ue = A == null ? 0 : A.length; ++Y < ue; )
28496
- if (R(A[Y], Y, A))
28497
+ for (var G = -1, ue = A == null ? 0 : A.length; ++G < ue; )
28498
+ if (R(A[G], G, A))
28497
28499
  return !0;
28498
28500
  return !1;
28499
28501
  }
28500
28502
  function q(A, R) {
28501
- for (var Y = -1, ue = Array(A); ++Y < A; )
28502
- ue[Y] = R(Y);
28503
+ for (var G = -1, ue = Array(A); ++G < A; )
28504
+ ue[G] = R(G);
28503
28505
  return ue;
28504
28506
  }
28505
- function W(A) {
28507
+ function X(A) {
28506
28508
  return function(R) {
28507
28509
  return A(R);
28508
28510
  };
28509
28511
  }
28510
- function ne(A, R) {
28512
+ function re(A, R) {
28511
28513
  return A.has(R);
28512
28514
  }
28513
- function ie(A, R) {
28515
+ function ne(A, R) {
28514
28516
  return A?.[R];
28515
28517
  }
28516
28518
  function oe(A) {
28517
- var R = -1, Y = Array(A.size);
28519
+ var R = -1, G = Array(A.size);
28518
28520
  return A.forEach(function(ue, Ce) {
28519
- Y[++R] = [Ce, ue];
28520
- }), Y;
28521
+ G[++R] = [Ce, ue];
28522
+ }), G;
28521
28523
  }
28522
28524
  function ce(A, R) {
28523
- return function(Y) {
28524
- return A(R(Y));
28525
+ return function(G) {
28526
+ return A(R(G));
28525
28527
  };
28526
28528
  }
28527
- function G(A) {
28528
- var R = -1, Y = Array(A.size);
28529
+ function W(A) {
28530
+ var R = -1, G = Array(A.size);
28529
28531
  return A.forEach(function(ue) {
28530
- Y[++R] = ue;
28531
- }), Y;
28532
+ G[++R] = ue;
28533
+ }), G;
28532
28534
  }
28533
- var re = Array.prototype, pe = Function.prototype, ge = Object.prototype, ve = ae["__core-js_shared__"], Re = pe.toString, Te = ge.hasOwnProperty, nt = function() {
28535
+ var ie = Array.prototype, pe = Function.prototype, ge = Object.prototype, ve = ae["__core-js_shared__"], Re = pe.toString, Te = ge.hasOwnProperty, nt = function() {
28534
28536
  var A = /[^.]+$/.exec(ve && ve.keys && ve.keys.IE_PROTO || "");
28535
28537
  return A ? "Symbol(src)_1." + A : "";
28536
28538
  }(), Gn = ge.toString, wn = RegExp(
28537
28539
  "^" + Re.call(Te).replace(V, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
28538
- ), Yn = he ? ae.Buffer : void 0, st = ae.Symbol, It = ae.Uint8Array, ke = ge.propertyIsEnumerable, Be = re.splice, Ze = st ? st.toStringTag : void 0, De = Object.getOwnPropertySymbols, Nt = Yn ? Yn.isBuffer : void 0, Qt = ce(Object.keys, Object), Dn = pr(ae, "DataView"), en = pr(ae, "Map"), Xn = pr(ae, "Promise"), Jn = pr(ae, "Set"), hr = pr(ae, "WeakMap"), Tn = pr(Object, "create"), la = Wt(Dn), Sn = Wt(en), gi = Wt(Xn), yi = Wt(Jn), ro = Wt(hr), bi = st ? st.prototype : void 0, Rr = bi ? bi.valueOf : void 0;
28540
+ ), Yn = he ? ae.Buffer : void 0, st = ae.Symbol, It = ae.Uint8Array, ke = ge.propertyIsEnumerable, Be = ie.splice, Ze = st ? st.toStringTag : void 0, De = Object.getOwnPropertySymbols, Nt = Yn ? Yn.isBuffer : void 0, Qt = ce(Object.keys, Object), Dn = pr(ae, "DataView"), en = pr(ae, "Map"), Xn = pr(ae, "Promise"), Jn = pr(ae, "Set"), hr = pr(ae, "WeakMap"), Tn = pr(Object, "create"), la = Wt(Dn), Sn = Wt(en), gi = Wt(Xn), yi = Wt(Jn), ro = Wt(hr), bi = st ? st.prototype : void 0, Rr = bi ? bi.valueOf : void 0;
28539
28541
  function ot(A) {
28540
- var R = -1, Y = A == null ? 0 : A.length;
28541
- for (this.clear(); ++R < Y; ) {
28542
+ var R = -1, G = A == null ? 0 : A.length;
28543
+ for (this.clear(); ++R < G; ) {
28542
28544
  var ue = A[R];
28543
28545
  this.set(ue[0], ue[1]);
28544
28546
  }
@@ -28553,8 +28555,8 @@ gu.exports;
28553
28555
  function ca(A) {
28554
28556
  var R = this.__data__;
28555
28557
  if (Tn) {
28556
- var Y = R[A];
28557
- return Y === r ? void 0 : Y;
28558
+ var G = R[A];
28559
+ return G === r ? void 0 : G;
28558
28560
  }
28559
28561
  return Te.call(R, A) ? R[A] : void 0;
28560
28562
  }
@@ -28563,13 +28565,13 @@ gu.exports;
28563
28565
  return Tn ? R[A] !== void 0 : Te.call(R, A);
28564
28566
  }
28565
28567
  function fa(A, R) {
28566
- var Y = this.__data__;
28567
- return this.size += this.has(A) ? 0 : 1, Y[A] = Tn && R === void 0 ? r : R, this;
28568
+ var G = this.__data__;
28569
+ return this.size += this.has(A) ? 0 : 1, G[A] = Tn && R === void 0 ? r : R, this;
28568
28570
  }
28569
28571
  ot.prototype.clear = sa, ot.prototype.delete = ua, ot.prototype.get = ca, ot.prototype.has = io, ot.prototype.set = fa;
28570
28572
  function pt(A) {
28571
- var R = -1, Y = A == null ? 0 : A.length;
28572
- for (this.clear(); ++R < Y; ) {
28573
+ var R = -1, G = A == null ? 0 : A.length;
28574
+ for (this.clear(); ++R < G; ) {
28573
28575
  var ue = A[R];
28574
28576
  this.set(ue[0], ue[1]);
28575
28577
  }
@@ -28578,27 +28580,27 @@ gu.exports;
28578
28580
  this.__data__ = [], this.size = 0;
28579
28581
  }
28580
28582
  function Ei(A) {
28581
- var R = this.__data__, Y = ma(R, A);
28582
- if (Y < 0)
28583
+ var R = this.__data__, G = ma(R, A);
28584
+ if (G < 0)
28583
28585
  return !1;
28584
28586
  var ue = R.length - 1;
28585
- return Y == ue ? R.pop() : Be.call(R, Y, 1), --this.size, !0;
28587
+ return G == ue ? R.pop() : Be.call(R, G, 1), --this.size, !0;
28586
28588
  }
28587
28589
  function ao(A) {
28588
- var R = this.__data__, Y = ma(R, A);
28589
- return Y < 0 ? void 0 : R[Y][1];
28590
+ var R = this.__data__, G = ma(R, A);
28591
+ return G < 0 ? void 0 : R[G][1];
28590
28592
  }
28591
28593
  function da(A) {
28592
28594
  return ma(this.__data__, A) > -1;
28593
28595
  }
28594
28596
  function oo(A, R) {
28595
- var Y = this.__data__, ue = ma(Y, A);
28596
- return ue < 0 ? (++this.size, Y.push([A, R])) : Y[ue][1] = R, this;
28597
+ var G = this.__data__, ue = ma(G, A);
28598
+ return ue < 0 ? (++this.size, G.push([A, R])) : G[ue][1] = R, this;
28597
28599
  }
28598
28600
  pt.prototype.clear = _i, pt.prototype.delete = Ei, pt.prototype.get = ao, pt.prototype.has = da, pt.prototype.set = oo;
28599
28601
  function Ht(A) {
28600
- var R = -1, Y = A == null ? 0 : A.length;
28601
- for (this.clear(); ++R < Y; ) {
28602
+ var R = -1, G = A == null ? 0 : A.length;
28603
+ for (this.clear(); ++R < G; ) {
28602
28604
  var ue = A[R];
28603
28605
  this.set(ue[0], ue[1]);
28604
28606
  }
@@ -28621,13 +28623,13 @@ gu.exports;
28621
28623
  return Fn(this, A).has(A);
28622
28624
  }
28623
28625
  function sc(A, R) {
28624
- var Y = Fn(this, A), ue = Y.size;
28625
- return Y.set(A, R), this.size += Y.size == ue ? 0 : 1, this;
28626
+ var G = Fn(this, A), ue = G.size;
28627
+ return G.set(A, R), this.size += G.size == ue ? 0 : 1, this;
28626
28628
  }
28627
28629
  Ht.prototype.clear = ic, Ht.prototype.delete = ac, Ht.prototype.get = oc, Ht.prototype.has = lc, Ht.prototype.set = sc;
28628
28630
  function ha(A) {
28629
- var R = -1, Y = A == null ? 0 : A.length;
28630
- for (this.__data__ = new Ht(); ++R < Y; )
28631
+ var R = -1, G = A == null ? 0 : A.length;
28632
+ for (this.__data__ = new Ht(); ++R < G; )
28631
28633
  this.add(A[R]);
28632
28634
  }
28633
28635
  function xl(A) {
@@ -28645,8 +28647,8 @@ gu.exports;
28645
28647
  this.__data__ = new pt(), this.size = 0;
28646
28648
  }
28647
28649
  function uc(A) {
28648
- var R = this.__data__, Y = R.delete(A);
28649
- return this.size = R.size, Y;
28650
+ var R = this.__data__, G = R.delete(A);
28651
+ return this.size = R.size, G;
28650
28652
  }
28651
28653
  function cc(A) {
28652
28654
  return this.__data__.get(A);
@@ -28655,18 +28657,18 @@ gu.exports;
28655
28657
  return this.__data__.has(A);
28656
28658
  }
28657
28659
  function dc(A, R) {
28658
- var Y = this.__data__;
28659
- if (Y instanceof pt) {
28660
- var ue = Y.__data__;
28660
+ var G = this.__data__;
28661
+ if (G instanceof pt) {
28662
+ var ue = G.__data__;
28661
28663
  if (!en || ue.length < n - 1)
28662
- return ue.push([A, R]), this.size = ++Y.size, this;
28663
- Y = this.__data__ = new Ht(ue);
28664
+ return ue.push([A, R]), this.size = ++G.size, this;
28665
+ G = this.__data__ = new Ht(ue);
28664
28666
  }
28665
- return Y.set(A, R), this.size = Y.size, this;
28667
+ return G.set(A, R), this.size = G.size, this;
28666
28668
  }
28667
28669
  Zn.prototype.clear = lo, Zn.prototype.delete = uc, Zn.prototype.get = cc, Zn.prototype.has = fc, Zn.prototype.set = dc;
28668
28670
  function hc(A, R) {
28669
- var Y = va(A), ue = !Y && Vl(A), Ce = !Y && !ue && ga(A), we = !Y && !ue && !Ce && zl(A), Fe = Y || ue || Ce || we, ze = Fe ? q(A.length, String) : [], mt = ze.length;
28671
+ var G = va(A), ue = !G && Vl(A), Ce = !G && !ue && ga(A), we = !G && !ue && !Ce && zl(A), Fe = G || ue || Ce || we, ze = Fe ? q(A.length, String) : [], mt = ze.length;
28670
28672
  for (var We in A)
28671
28673
  (R || Te.call(A, We)) && !(Fe && // Safari 9 has enumerable `arguments.length` in strict mode.
28672
28674
  (We == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
@@ -28676,14 +28678,14 @@ gu.exports;
28676
28678
  return ze;
28677
28679
  }
28678
28680
  function ma(A, R) {
28679
- for (var Y = A.length; Y--; )
28680
- if (Hl(A[Y][0], R))
28681
- return Y;
28681
+ for (var G = A.length; G--; )
28682
+ if (Hl(A[G][0], R))
28683
+ return G;
28682
28684
  return -1;
28683
28685
  }
28684
- function so(A, R, Y) {
28686
+ function so(A, R, G) {
28685
28687
  var ue = R(A);
28686
- return va(A) ? ue : ee(ue, Y(A));
28688
+ return va(A) ? ue : Z(ue, G(A));
28687
28689
  }
28688
28690
  function Oi(A) {
28689
28691
  return A == null ? A === void 0 ? P : m : Ze && Ze in Object(A) ? mr(A) : Fl(A);
@@ -28691,10 +28693,10 @@ gu.exports;
28691
28693
  function Rl(A) {
28692
28694
  return er(A) && Oi(A) == l;
28693
28695
  }
28694
- function Dl(A, R, Y, ue, Ce) {
28695
- return A === R ? !0 : A == null || R == null || !er(A) && !er(R) ? A !== A && R !== R : pc(A, R, Y, ue, Dl, Ce);
28696
+ function Dl(A, R, G, ue, Ce) {
28697
+ return A === R ? !0 : A == null || R == null || !er(A) && !er(R) ? A !== A && R !== R : pc(A, R, G, ue, Dl, Ce);
28696
28698
  }
28697
- function pc(A, R, Y, ue, Ce, we) {
28699
+ function pc(A, R, G, ue, Ce, we) {
28698
28700
  var Fe = va(A), ze = va(R), mt = Fe ? s : Qn(A), We = ze ? s : Qn(R);
28699
28701
  mt = mt == l ? v : mt, We = We == l ? v : We;
28700
28702
  var Vt = mt == v, tn = We == v, Et = mt == We;
@@ -28704,15 +28706,15 @@ gu.exports;
28704
28706
  Fe = !0, Vt = !1;
28705
28707
  }
28706
28708
  if (Et && !Vt)
28707
- return we || (we = new Zn()), Fe || zl(A) ? uo(A, R, Y, ue, Ce, we) : yc(A, R, mt, Y, ue, Ce, we);
28708
- if (!(Y & i)) {
28709
+ return we || (we = new Zn()), Fe || zl(A) ? uo(A, R, G, ue, Ce, we) : yc(A, R, mt, G, ue, Ce, we);
28710
+ if (!(G & i)) {
28709
28711
  var jt = Vt && Te.call(A, "__wrapped__"), Mt = tn && Te.call(R, "__wrapped__");
28710
28712
  if (jt || Mt) {
28711
28713
  var Dr = jt ? A.value() : A, vr = Mt ? R.value() : R;
28712
- return we || (we = new Zn()), Ce(Dr, vr, Y, ue, we);
28714
+ return we || (we = new Zn()), Ce(Dr, vr, G, ue, we);
28713
28715
  }
28714
28716
  }
28715
- return Et ? (we || (we = new Zn()), bc(A, R, Y, ue, Ce, we)) : !1;
28717
+ return Et ? (we || (we = new Zn()), bc(A, R, G, ue, Ce, we)) : !1;
28716
28718
  }
28717
28719
  function mc(A) {
28718
28720
  if (!Bl(A) || wc(A))
@@ -28721,24 +28723,24 @@ gu.exports;
28721
28723
  return R.test(Wt(A));
28722
28724
  }
28723
28725
  function vc(A) {
28724
- return er(A) && fo(A.length) && !!X[Oi(A)];
28726
+ return er(A) && fo(A.length) && !!J[Oi(A)];
28725
28727
  }
28726
28728
  function gc(A) {
28727
28729
  if (!Tc(A))
28728
28730
  return Qt(A);
28729
28731
  var R = [];
28730
- for (var Y in Object(A))
28731
- Te.call(A, Y) && Y != "constructor" && R.push(Y);
28732
+ for (var G in Object(A))
28733
+ Te.call(A, G) && G != "constructor" && R.push(G);
28732
28734
  return R;
28733
28735
  }
28734
- function uo(A, R, Y, ue, Ce, we) {
28735
- var Fe = Y & i, ze = A.length, mt = R.length;
28736
+ function uo(A, R, G, ue, Ce, we) {
28737
+ var Fe = G & i, ze = A.length, mt = R.length;
28736
28738
  if (ze != mt && !(Fe && mt > ze))
28737
28739
  return !1;
28738
28740
  var We = we.get(A);
28739
28741
  if (We && we.get(R))
28740
28742
  return We == R;
28741
- var Vt = -1, tn = !0, Et = Y & a ? new ha() : void 0;
28743
+ var Vt = -1, tn = !0, Et = G & a ? new ha() : void 0;
28742
28744
  for (we.set(A, R), we.set(R, A); ++Vt < ze; ) {
28743
28745
  var jt = A[Vt], Mt = R[Vt];
28744
28746
  if (ue)
@@ -28751,21 +28753,21 @@ gu.exports;
28751
28753
  }
28752
28754
  if (Et) {
28753
28755
  if (!le(R, function(vr, Ti) {
28754
- if (!ne(Et, Ti) && (jt === vr || Ce(jt, vr, Y, ue, we)))
28756
+ if (!re(Et, Ti) && (jt === vr || Ce(jt, vr, G, ue, we)))
28755
28757
  return Et.push(Ti);
28756
28758
  })) {
28757
28759
  tn = !1;
28758
28760
  break;
28759
28761
  }
28760
- } else if (!(jt === Mt || Ce(jt, Mt, Y, ue, we))) {
28762
+ } else if (!(jt === Mt || Ce(jt, Mt, G, ue, we))) {
28761
28763
  tn = !1;
28762
28764
  break;
28763
28765
  }
28764
28766
  }
28765
28767
  return we.delete(A), we.delete(R), tn;
28766
28768
  }
28767
- function yc(A, R, Y, ue, Ce, we, Fe) {
28768
- switch (Y) {
28769
+ function yc(A, R, G, ue, Ce, we, Fe) {
28770
+ switch (G) {
28769
28771
  case O:
28770
28772
  if (A.byteLength != R.byteLength || A.byteOffset != R.byteOffset)
28771
28773
  return !1;
@@ -28785,7 +28787,7 @@ gu.exports;
28785
28787
  var ze = oe;
28786
28788
  case k:
28787
28789
  var mt = ue & i;
28788
- if (ze || (ze = G), A.size != R.size && !mt)
28790
+ if (ze || (ze = W), A.size != R.size && !mt)
28789
28791
  return !1;
28790
28792
  var We = Fe.get(A);
28791
28793
  if (We)
@@ -28799,8 +28801,8 @@ gu.exports;
28799
28801
  }
28800
28802
  return !1;
28801
28803
  }
28802
- function bc(A, R, Y, ue, Ce, we) {
28803
- var Fe = Y & i, ze = wi(A), mt = ze.length, We = wi(R), Vt = We.length;
28804
+ function bc(A, R, G, ue, Ce, we) {
28805
+ var Fe = G & i, ze = wi(A), mt = ze.length, We = wi(R), Vt = We.length;
28804
28806
  if (mt != Vt && !Fe)
28805
28807
  return !1;
28806
28808
  for (var tn = mt; tn--; ) {
@@ -28818,7 +28820,7 @@ gu.exports;
28818
28820
  var vr = A[Et], Ti = R[Et];
28819
28821
  if (ue)
28820
28822
  var h1 = Fe ? ue(Ti, vr, Et, R, A, we) : ue(vr, Ti, Et, A, R, we);
28821
- if (!(h1 === void 0 ? vr === Ti || Ce(vr, Ti, Y, ue, we) : h1)) {
28823
+ if (!(h1 === void 0 ? vr === Ti || Ce(vr, Ti, G, ue, we) : h1)) {
28822
28824
  Mt = !1;
28823
28825
  break;
28824
28826
  }
@@ -28834,22 +28836,22 @@ gu.exports;
28834
28836
  return so(A, ho, _c);
28835
28837
  }
28836
28838
  function Fn(A, R) {
28837
- var Y = A.__data__;
28838
- return Oc(R) ? Y[typeof R == "string" ? "string" : "hash"] : Y.map;
28839
+ var G = A.__data__;
28840
+ return Oc(R) ? G[typeof R == "string" ? "string" : "hash"] : G.map;
28839
28841
  }
28840
28842
  function pr(A, R) {
28841
- var Y = ie(A, R);
28842
- return mc(Y) ? Y : void 0;
28843
+ var G = ne(A, R);
28844
+ return mc(G) ? G : void 0;
28843
28845
  }
28844
28846
  function mr(A) {
28845
- var R = Te.call(A, Ze), Y = A[Ze];
28847
+ var R = Te.call(A, Ze), G = A[Ze];
28846
28848
  try {
28847
28849
  A[Ze] = void 0;
28848
28850
  var ue = !0;
28849
28851
  } catch {
28850
28852
  }
28851
28853
  var Ce = Gn.call(A);
28852
- return ue && (R ? A[Ze] = Y : delete A[Ze]), Ce;
28854
+ return ue && (R ? A[Ze] = G : delete A[Ze]), Ce;
28853
28855
  }
28854
28856
  var _c = De ? function(A) {
28855
28857
  return A == null ? [] : (A = Object(A), $(De(A), function(R) {
@@ -28857,7 +28859,7 @@ gu.exports;
28857
28859
  }));
28858
28860
  } : Ac, Qn = Oi;
28859
28861
  (Dn && Qn(new Dn(new ArrayBuffer(1))) != O || en && Qn(new en()) != g || Xn && Qn(Xn.resolve()) != b || Jn && Qn(new Jn()) != k || hr && Qn(new hr()) != N) && (Qn = function(A) {
28860
- var R = Oi(A), Y = R == v ? A.constructor : void 0, ue = Y ? Wt(Y) : "";
28862
+ var R = Oi(A), G = R == v ? A.constructor : void 0, ue = G ? Wt(G) : "";
28861
28863
  if (ue)
28862
28864
  switch (ue) {
28863
28865
  case la:
@@ -28874,7 +28876,7 @@ gu.exports;
28874
28876
  return R;
28875
28877
  });
28876
28878
  function Ec(A, R) {
28877
- return R = R ?? o, !!R && (typeof A == "number" || Z.test(A)) && A > -1 && A % 1 == 0 && A < R;
28879
+ return R = R ?? o, !!R && (typeof A == "number" || Q.test(A)) && A > -1 && A % 1 == 0 && A < R;
28878
28880
  }
28879
28881
  function Oc(A) {
28880
28882
  var R = typeof A;
@@ -28884,8 +28886,8 @@ gu.exports;
28884
28886
  return !!nt && nt in A;
28885
28887
  }
28886
28888
  function Tc(A) {
28887
- var R = A && A.constructor, Y = typeof R == "function" && R.prototype || ge;
28888
- return A === Y;
28889
+ var R = A && A.constructor, G = typeof R == "function" && R.prototype || ge;
28890
+ return A === G;
28889
28891
  }
28890
28892
  function Fl(A) {
28891
28893
  return Gn.call(A);
@@ -28934,7 +28936,7 @@ gu.exports;
28934
28936
  function er(A) {
28935
28937
  return A != null && typeof A == "object";
28936
28938
  }
28937
- var zl = x ? W(x) : vc;
28939
+ var zl = x ? X(x) : vc;
28938
28940
  function ho(A) {
28939
28941
  return co(A) ? hc(A) : gc(A);
28940
28942
  }