@nylas/web-elements 1.1.1 → 1.1.2

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 (118) hide show
  1. package/dist/cdn/nylas-availability-picker/nylas-availability-picker.es.js +202 -191
  2. package/dist/cdn/nylas-booking-calendar-picker/nylas-booking-calendar-picker.es.js +466 -455
  3. package/dist/cdn/nylas-booking-confirmation-redirect/nylas-booking-confirmation-redirect.es.js +299 -288
  4. package/dist/cdn/nylas-booking-confirmation-type/nylas-booking-confirmation-type.es.js +330 -319
  5. package/dist/cdn/nylas-booking-form/nylas-booking-form.es.js +440 -426
  6. package/dist/cdn/nylas-booking-form-config/nylas-booking-form-config.es.js +174 -163
  7. package/dist/cdn/nylas-buffer-time/nylas-buffer-time.es.js +469 -458
  8. package/dist/cdn/nylas-custom-event-slug/nylas-custom-event-slug.es.js +194 -194
  9. package/dist/cdn/nylas-editor-tabs/nylas-editor-tabs.es.js +20 -9
  10. package/dist/cdn/nylas-event-duration/nylas-event-duration.es.js +357 -346
  11. package/dist/cdn/nylas-event-location/nylas-event-location.es.js +502 -491
  12. package/dist/cdn/nylas-limit-future-bookings/nylas-limit-future-bookings.es.js +325 -314
  13. package/dist/cdn/nylas-list-configurations/nylas-list-configurations.es.js +239 -228
  14. package/dist/cdn/nylas-locale-switch/nylas-locale-switch.es.js +235 -224
  15. package/dist/cdn/nylas-min-booking-notice/nylas-min-booking-notice.es.js +325 -314
  16. package/dist/cdn/nylas-min-cancellation-notice/nylas-min-cancellation-notice.es.js +209 -198
  17. package/dist/cdn/nylas-participant-booking-calendars/nylas-participant-booking-calendars.es.js +249 -238
  18. package/dist/cdn/nylas-participants-custom-availability/nylas-participants-custom-availability.es.js +801 -790
  19. package/dist/cdn/nylas-reminder-emails/nylas-reminder-emails.es.js +287 -276
  20. package/dist/cdn/nylas-reminder-time/nylas-reminder-time.es.js +334 -323
  21. package/dist/cdn/nylas-scheduler-editor/nylas-scheduler-editor.es.js +23 -12
  22. package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +587 -559
  23. package/dist/cdn/nylas-scheduling-method/nylas-scheduling-method.es.js +275 -264
  24. package/dist/cdn/nylas-timeslot-interval/nylas-timeslot-interval.es.js +353 -342
  25. package/dist/cdn/select-dropdown/select-dropdown.es.js +108 -97
  26. package/dist/cdn/time-period-selector/time-period-selector.es.js +340 -329
  27. package/dist/cjs/calendar-agenda-fill-icon_48.cjs.entry.js +5 -4
  28. package/dist/cjs/calendar-agenda-fill-icon_48.cjs.entry.js.map +1 -1
  29. package/dist/cjs/chevron-icon_3.cjs.entry.js +14 -1
  30. package/dist/cjs/chevron-icon_3.cjs.entry.js.map +1 -1
  31. package/dist/cjs/loader.cjs.js +1 -1
  32. package/dist/cjs/nylas-booked-event-card_12.cjs.entry.js +11 -7
  33. package/dist/cjs/nylas-booked-event-card_12.cjs.entry.js.map +1 -1
  34. package/dist/cjs/nylas-booking-form.cjs.entry.js +11 -7
  35. package/dist/cjs/nylas-booking-form.cjs.entry.js.map +1 -1
  36. package/dist/cjs/nylas-custom-event-slug.cjs.entry.js +5 -4
  37. package/dist/cjs/nylas-custom-event-slug.cjs.entry.js.map +1 -1
  38. package/dist/cjs/nylas-scheduler-editor.cjs.entry.js +2 -1
  39. package/dist/cjs/nylas-scheduler-editor.cjs.entry.js.map +1 -1
  40. package/dist/cjs/nylas-scheduling.cjs.entry.js +25 -4
  41. package/dist/cjs/nylas-scheduling.cjs.entry.js.map +1 -1
  42. package/dist/cjs/nylas-web-elements.cjs.js +1 -1
  43. package/dist/cjs/select-dropdown.cjs.entry.js +14 -1
  44. package/dist/cjs/select-dropdown.cjs.entry.js.map +1 -1
  45. package/dist/collection/components/design-system/select-dropdown/select-dropdown.js +33 -1
  46. package/dist/collection/components/design-system/select-dropdown/select-dropdown.js.map +1 -1
  47. package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.js +17 -7
  48. package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.js.map +1 -1
  49. package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js +26 -5
  50. package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js.map +1 -1
  51. package/dist/collection/components/scheduler-editor/nylas-custom-event-slug/nylas-custom-event-slug.css +6 -2
  52. package/dist/collection/components/scheduler-editor/nylas-custom-event-slug/nylas-custom-event-slug.js +4 -3
  53. package/dist/collection/components/scheduler-editor/nylas-custom-event-slug/nylas-custom-event-slug.js.map +1 -1
  54. package/dist/collection/components/scheduler-editor/nylas-scheduler-editor/ExpressFlow.js +2 -1
  55. package/dist/collection/components/scheduler-editor/nylas-scheduler-editor/ExpressFlow.js.map +1 -1
  56. package/dist/components/nylas-booking-form2.js +12 -8
  57. package/dist/components/nylas-booking-form2.js.map +1 -1
  58. package/dist/components/nylas-custom-event-slug2.js +5 -4
  59. package/dist/components/nylas-custom-event-slug2.js.map +1 -1
  60. package/dist/components/nylas-scheduler-editor.js +2 -1
  61. package/dist/components/nylas-scheduler-editor.js.map +1 -1
  62. package/dist/components/nylas-scheduling.js +25 -4
  63. package/dist/components/nylas-scheduling.js.map +1 -1
  64. package/dist/components/select-dropdown2.js +14 -1
  65. package/dist/components/select-dropdown2.js.map +1 -1
  66. package/dist/esm/calendar-agenda-fill-icon_48.entry.js +5 -4
  67. package/dist/esm/calendar-agenda-fill-icon_48.entry.js.map +1 -1
  68. package/dist/esm/chevron-icon_3.entry.js +14 -1
  69. package/dist/esm/chevron-icon_3.entry.js.map +1 -1
  70. package/dist/esm/loader.js +1 -1
  71. package/dist/esm/nylas-booked-event-card_12.entry.js +11 -7
  72. package/dist/esm/nylas-booked-event-card_12.entry.js.map +1 -1
  73. package/dist/esm/nylas-booking-form.entry.js +11 -7
  74. package/dist/esm/nylas-booking-form.entry.js.map +1 -1
  75. package/dist/esm/nylas-custom-event-slug.entry.js +5 -4
  76. package/dist/esm/nylas-custom-event-slug.entry.js.map +1 -1
  77. package/dist/esm/nylas-scheduler-editor.entry.js +2 -1
  78. package/dist/esm/nylas-scheduler-editor.entry.js.map +1 -1
  79. package/dist/esm/nylas-scheduling.entry.js +25 -4
  80. package/dist/esm/nylas-scheduling.entry.js.map +1 -1
  81. package/dist/esm/nylas-web-elements.js +1 -1
  82. package/dist/esm/select-dropdown.entry.js +14 -1
  83. package/dist/esm/select-dropdown.entry.js.map +1 -1
  84. package/dist/nylas-web-elements/nylas-booking-form.entry.js +11 -7
  85. package/dist/nylas-web-elements/nylas-booking-form.entry.js.map +1 -1
  86. package/dist/nylas-web-elements/nylas-custom-event-slug.entry.js +5 -4
  87. package/dist/nylas-web-elements/nylas-custom-event-slug.entry.js.map +1 -1
  88. package/dist/nylas-web-elements/nylas-scheduler-editor.entry.js +2 -1
  89. package/dist/nylas-web-elements/nylas-scheduler-editor.entry.js.map +1 -1
  90. package/dist/nylas-web-elements/nylas-scheduling.entry.js +25 -4
  91. package/dist/nylas-web-elements/nylas-scheduling.entry.js.map +1 -1
  92. package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
  93. package/dist/nylas-web-elements/{p-670e4bd1.entry.js → p-795ebe60.entry.js} +2 -2
  94. package/dist/nylas-web-elements/p-795ebe60.entry.js.map +1 -0
  95. package/dist/nylas-web-elements/{p-d32d9a1d.entry.js → p-8dee5c91.entry.js} +2 -2
  96. package/dist/nylas-web-elements/p-8dee5c91.entry.js.map +1 -0
  97. package/dist/nylas-web-elements/p-8fdc5d3d.entry.js +2 -0
  98. package/dist/nylas-web-elements/p-8fdc5d3d.entry.js.map +1 -0
  99. package/dist/nylas-web-elements/p-efa03f8c.entry.js +2 -0
  100. package/dist/nylas-web-elements/p-efa03f8c.entry.js.map +1 -0
  101. package/dist/nylas-web-elements/p-fbec0698.entry.js +2 -0
  102. package/dist/nylas-web-elements/p-fbec0698.entry.js.map +1 -0
  103. package/dist/nylas-web-elements/select-dropdown.entry.js +14 -1
  104. package/dist/nylas-web-elements/select-dropdown.entry.js.map +1 -1
  105. package/dist/types/components/design-system/select-dropdown/select-dropdown.d.ts +6 -0
  106. package/dist/types/components/scheduler/nylas-booking-form/nylas-booking-form.d.ts +6 -0
  107. package/dist/types/components/scheduler/nylas-scheduling/nylas-scheduling.d.ts +1 -0
  108. package/dist/types/components/scheduler-editor/nylas-custom-event-slug/nylas-custom-event-slug.d.ts +0 -1
  109. package/dist/types/components.d.ts +15 -0
  110. package/package.json +1 -1
  111. package/dist/nylas-web-elements/p-14e194b2.entry.js +0 -2
  112. package/dist/nylas-web-elements/p-14e194b2.entry.js.map +0 -1
  113. package/dist/nylas-web-elements/p-169a3f6d.entry.js +0 -2
  114. package/dist/nylas-web-elements/p-169a3f6d.entry.js.map +0 -1
  115. package/dist/nylas-web-elements/p-670e4bd1.entry.js.map +0 -1
  116. package/dist/nylas-web-elements/p-8ad09f72.entry.js +0 -2
  117. package/dist/nylas-web-elements/p-8ad09f72.entry.js.map +0 -1
  118. package/dist/nylas-web-elements/p-d32d9a1d.entry.js.map +0 -1
@@ -137,7 +137,7 @@ const E = (b, e, ...M) => {
137
137
  }
138
138
  const e = Vb(b.vtag, b.vtext);
139
139
  return e.$attrs$ = b.vattrs, e.$children$ = b.vchildren, e.$key$ = b.vkey, e.$name$ = b.vname, e;
140
- }, el = (b) => Nl.map((e) => e(b)).find((e) => !!e), bl = (b, e) => b != null && !rt(b) ? e & 4 ? b === "false" ? !1 : b === "" || !!b : e & 2 ? parseFloat(b) : e & 1 ? String(b) : b : b, kb = (b) => b, Ee = (b, e, M) => {
140
+ }, el = (b) => Nl.map((e) => e(b)).find((e) => !!e), bl = (b, e) => b != null && !rt(b) ? e & 4 ? b === "false" ? !1 : b === "" || !!b : e & 2 ? parseFloat(b) : e & 1 ? String(b) : b : b, kb = (b) => b, te = (b, e, M) => {
141
141
  const o = kb(b);
142
142
  return {
143
143
  emit: (t) => Ml(o, e, {
@@ -380,7 +380,7 @@ const E = (b, e, ...M) => {
380
380
  }, Oc = (b, e) => (b.$flags$ |= 16, rl(b, b.$ancestorComponent$), El(() => il(b, e))), il = (b, e) => {
381
381
  const M = b.$hostElement$, o = D2("scheduleUpdate", b.$cmpMeta$.$tagName$), t = M;
382
382
  let z;
383
- return e ? z = te(t, "componentWillLoad") : z = te(t, "componentWillUpdate"), z = Wz(z, () => te(t, "componentWillRender")), o(), Wz(z, () => sl(b, t, e));
383
+ return e ? z = ze(t, "componentWillLoad") : z = ze(t, "componentWillUpdate"), z = Wz(z, () => ze(t, "componentWillRender")), o(), Wz(z, () => sl(b, t, e));
384
384
  }, Wz = (b, e) => al(b) ? b.then(e) : e(), al = (b) => b instanceof Promise || b && b.then && typeof b.then == "function", sl = async (b, e, M) => {
385
385
  const o = b.$hostElement$, t = D2("update", b.$cmpMeta$.$tagName$);
386
386
  o["s-rc"], M && zl(b);
@@ -395,8 +395,8 @@ const E = (b, e, ...M) => {
395
395
  return az = null, null;
396
396
  }, Al = (b) => {
397
397
  const e = b.$cmpMeta$.$tagName$, M = b.$hostElement$, o = D2("postUpdate", e), t = M;
398
- b.$ancestorComponent$, te(t, "componentDidRender"), b.$flags$ & 64 ? (te(t, "componentDidUpdate"), o()) : (b.$flags$ |= 64, te(t, "componentDidLoad"), o());
399
- }, te = (b, e, M) => {
398
+ b.$ancestorComponent$, ze(t, "componentDidRender"), b.$flags$ & 64 ? (ze(t, "componentDidUpdate"), o()) : (b.$flags$ |= 64, ze(t, "componentDidLoad"), o());
399
+ }, ze = (b, e, M) => {
400
400
  if (b && b[e])
401
401
  try {
402
402
  return b[e](M);
@@ -1624,13 +1624,13 @@ var iq = { exports: {} };
1624
1624
  }, R.format = function(u) {
1625
1625
  var f = this, q = this.$locale();
1626
1626
  if (!this.isValid()) return q.invalidDate || h;
1627
- var m = u || "YYYY-MM-DDTHH:mm:ssZ", C = V.z(this), U = this.$H, j = this.$m, Y = this.$M, x0 = q.weekdays, z0 = q.months, t0 = function($0, n1, qe, k1) {
1628
- return $0 && ($0[n1] || $0(f, m)) || qe[n1].slice(0, k1);
1627
+ var m = u || "YYYY-MM-DDTHH:mm:ssZ", C = V.z(this), U = this.$H, j = this.$m, Y = this.$M, x0 = q.weekdays, z0 = q.months, t0 = function($0, n1, fe, k1) {
1628
+ return $0 && ($0[n1] || $0(f, m)) || fe[n1].slice(0, k1);
1629
1629
  }, D0 = function($0) {
1630
1630
  return V.s(U % 12 || 12, $0, "0");
1631
- }, p0 = q.meridiem || function($0, n1, qe) {
1631
+ }, p0 = q.meridiem || function($0, n1, fe) {
1632
1632
  var k1 = $0 < 12 ? "AM" : "PM";
1633
- return qe ? k1.toLowerCase() : k1;
1633
+ return fe ? k1.toLowerCase() : k1;
1634
1634
  }, f0 = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: Y + 1, MM: V.s(Y + 1, 2, "0"), MMM: t0(q.monthsShort, Y, z0, 3), MMMM: t0(z0, Y), D: this.$D, DD: V.s(this.$D, 2, "0"), d: String(this.$W), dd: t0(q.weekdaysMin, this.$W, x0, 2), ddd: t0(q.weekdaysShort, this.$W, x0, 3), dddd: x0[this.$W], H: String(U), HH: V.s(U, 2, "0"), h: D0(1), hh: D0(2), a: p0(U, j, !0), A: p0(U, j, !1), m: String(j), mm: V.s(j, 2, "0"), s: String(this.$s), ss: V.s(this.$s, 2, "0"), SSS: V.s(this.$ms, 3, "0"), Z: C };
1635
1635
  return m.replace(w, function($0, n1) {
1636
1636
  return n1 || f0[$0] || C.replace(":", "");
@@ -1748,7 +1748,7 @@ var sq = function(b, e, M) {
1748
1748
  return b % 4 === 0 && b % 100 !== 0 || b % 400 === 0;
1749
1749
  }, vc = function(b) {
1750
1750
  return b instanceof Date;
1751
- }, Ne = function(b) {
1751
+ }, ye = function(b) {
1752
1752
  return vc(b) && !isNaN(b.getTime());
1753
1753
  }, vz = function(b) {
1754
1754
  return b.getTimezoneOffset() * 60 * 1e3;
@@ -1762,11 +1762,11 @@ var sq = function(b, e, M) {
1762
1762
  }, lq = function(b) {
1763
1763
  var e = b.getUTCMonth();
1764
1764
  return e === 1 && xe(b.getUTCFullYear()) ? 29 : uq[e];
1765
- }, ne = function(b) {
1765
+ }, Oe = function(b) {
1766
1766
  return Aq[b.getUTCDay()];
1767
1767
  }, Xz = function(b, e) {
1768
1768
  var M = _2(b, e + 1, 1);
1769
- return [ne(M), lq(M)];
1769
+ return [Oe(M), lq(M)];
1770
1770
  }, wc = function(b, e) {
1771
1771
  return e = e || b, new Date(Date.UTC(b.getUTCFullYear(), b.getUTCMonth(), b.getUTCDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()));
1772
1772
  }, yo = function(b) {
@@ -2351,7 +2351,7 @@ function qt(b) {
2351
2351
  }
2352
2352
  var Rq = function(b, e) {
2353
2353
  return e === void 0 && (e = Zb), new Z(Ec(b, e) || void 0);
2354
- }, se = [
2354
+ }, ue = [
2355
2355
  "count",
2356
2356
  "until",
2357
2357
  "interval",
@@ -2360,12 +2360,12 @@ var Rq = function(b, e) {
2360
2360
  "bymonth"
2361
2361
  ];
2362
2362
  u2.IMPLEMENTED = [];
2363
- u2.IMPLEMENTED[A0.HOURLY] = se;
2364
- u2.IMPLEMENTED[A0.MINUTELY] = se;
2365
- u2.IMPLEMENTED[A0.DAILY] = ["byhour"].concat(se);
2366
- u2.IMPLEMENTED[A0.WEEKLY] = se;
2367
- u2.IMPLEMENTED[A0.MONTHLY] = se;
2368
- u2.IMPLEMENTED[A0.YEARLY] = ["byweekno", "byyearday"].concat(se);
2363
+ u2.IMPLEMENTED[A0.HOURLY] = ue;
2364
+ u2.IMPLEMENTED[A0.MINUTELY] = ue;
2365
+ u2.IMPLEMENTED[A0.DAILY] = ["byhour"].concat(ue);
2366
+ u2.IMPLEMENTED[A0.WEEKLY] = ue;
2367
+ u2.IMPLEMENTED[A0.MONTHLY] = ue;
2368
+ u2.IMPLEMENTED[A0.YEARLY] = ["byweekno", "byyearday"].concat(ue);
2369
2369
  var gq = function(b, e, M, o) {
2370
2370
  return new u2(b, e, M, o).toString();
2371
2371
  }, mq = u2.isFullyConvertible, eM = (
@@ -2397,7 +2397,7 @@ var gq = function(b, e, M, o) {
2397
2397
  return e.fromDate = function(M) {
2398
2398
  return new this(M.getUTCFullYear(), M.getUTCMonth() + 1, M.getUTCDate(), M.getUTCHours(), M.getUTCMinutes(), M.getUTCSeconds(), M.valueOf() % 1e3);
2399
2399
  }, e.prototype.getWeekday = function() {
2400
- return ne(new Date(this.getTime()));
2400
+ return Oe(new Date(this.getTime()));
2401
2401
  }, e.prototype.getTime = function() {
2402
2402
  return new Date(Date.UTC(this.year, this.month - 1, this.day, this.hour, this.minute, this.second, this.millisecond)).getTime();
2403
2403
  }, e.prototype.getDay = function() {
@@ -2472,7 +2472,7 @@ var gq = function(b, e, M, o) {
2472
2472
  function xc(b) {
2473
2473
  for (var e = [], M = Object.keys(b), o = 0, t = M; o < t.length; o++) {
2474
2474
  var z = t[o];
2475
- m0(bf, z) || e.push(z), vc(b[z]) && !Ne(b[z]) && e.push(z);
2475
+ m0(bf, z) || e.push(z), vc(b[z]) && !ye(b[z]) && e.push(z);
2476
2476
  }
2477
2477
  if (e.length)
2478
2478
  throw new Error("Invalid options: " + e.join(", "));
@@ -2499,7 +2499,7 @@ function Bq(b) {
2499
2499
  e.bymonthday = e.dtstart.getUTCDate();
2500
2500
  break;
2501
2501
  case Z.WEEKLY:
2502
- e.byweekday = [ne(e.dtstart)];
2502
+ e.byweekday = [Oe(e.dtstart)];
2503
2503
  break;
2504
2504
  }
2505
2505
  if (F0(e.bymonth) && !a1(e.bymonth) && (e.bymonth = [e.bymonth]), F0(e.byyearday) && !a1(e.byyearday) && D1(e.byyearday) && (e.byyearday = [e.byyearday]), !F0(e.bymonthday))
@@ -2761,7 +2761,7 @@ var Eq = (
2761
2761
  return b;
2762
2762
  }();
2763
2763
  function jq(b, e) {
2764
- var M = _2(b, 1, 1), o = xe(b) ? 366 : 365, t = xe(b + 1) ? 366 : 365, z = No(M), p = ne(M), c = u1(u1({ yearlen: o, nextyearlen: t, yearordinal: z, yearweekday: p }, Yq(b)), { wnomask: null });
2764
+ var M = _2(b, 1, 1), o = xe(b) ? 366 : 365, t = xe(b + 1) ? 366 : 365, z = No(M), p = Oe(M), c = u1(u1({ yearlen: o, nextyearlen: t, yearordinal: z, yearweekday: p }, Yq(b)), { wnomask: null });
2765
2765
  if ($1(e.byweekno))
2766
2766
  return c;
2767
2767
  c.wnomask = u0(0, o + 7);
@@ -2787,7 +2787,7 @@ function jq(b, e) {
2787
2787
  if (m0(e.byweekno, -1))
2788
2788
  x = -1;
2789
2789
  else {
2790
- var K = ne(_2(b - 1, 1, 1)), T = h1(7 - K.valueOf() + e.wkst, 7), I = xe(b - 1) ? 366 : 365, H = void 0;
2790
+ var K = Oe(_2(b - 1, 1, 1)), T = h1(7 - K.valueOf() + e.wkst, 7), I = xe(b - 1) ? 366 : 365, H = void 0;
2791
2791
  T >= 4 ? (T = 0, H = I + h1(K - e.wkst, 7)) : H = o - r, x = Math.floor(52 + h1(H, 7) / 4);
2792
2792
  }
2793
2793
  if (m0(e.byweekno, x))
@@ -2797,7 +2797,7 @@ function jq(b, e) {
2797
2797
  return c;
2798
2798
  }
2799
2799
  function Yq(b) {
2800
- var e = xe(b) ? 366 : 365, M = _2(b, 1, 1), o = ne(M);
2800
+ var e = xe(b) ? 366 : 365, M = _2(b, 1, 1), o = Oe(M);
2801
2801
  return e === 365 ? {
2802
2802
  mmask: xq,
2803
2803
  mdaymask: _q,
@@ -3105,7 +3105,7 @@ var y1 = {
3105
3105
  var M = this._cacheGet("all");
3106
3106
  return M === !1 && (M = this._iter(new be("all", {})), this._cacheAdd("all", M)), M;
3107
3107
  }, b.prototype.between = function(e, M, o, t) {
3108
- if (o === void 0 && (o = !1), !Ne(e) || !Ne(M))
3108
+ if (o === void 0 && (o = !1), !ye(e) || !ye(M))
3109
3109
  throw new Error("Invalid date passed in to RRule.between");
3110
3110
  var z = {
3111
3111
  before: M,
@@ -3117,12 +3117,12 @@ var y1 = {
3117
3117
  var p = this._cacheGet("between", z);
3118
3118
  return p === !1 && (p = this._iter(new be("between", z)), this._cacheAdd("between", p, z)), p;
3119
3119
  }, b.prototype.before = function(e, M) {
3120
- if (M === void 0 && (M = !1), !Ne(e))
3120
+ if (M === void 0 && (M = !1), !ye(e))
3121
3121
  throw new Error("Invalid date passed in to RRule.before");
3122
3122
  var o = { dt: e, inc: M }, t = this._cacheGet("before", o);
3123
3123
  return t === !1 && (t = this._iter(new be("before", o)), this._cacheAdd("before", t, o)), t;
3124
3124
  }, b.prototype.after = function(e, M) {
3125
- if (M === void 0 && (M = !1), !Ne(e))
3125
+ if (M === void 0 && (M = !1), !ye(e))
3126
3126
  throw new Error("Invalid date passed in to RRule.after");
3127
3127
  var o = { dt: e, inc: M }, t = this._cacheGet("after", o);
3128
3128
  return t === !1 && (t = this._iter(new be("after", o)), this._cacheAdd("after", t, o)), t;
@@ -3494,7 +3494,7 @@ class vM {
3494
3494
  });
3495
3495
  }
3496
3496
  }
3497
- function fe() {
3497
+ function We() {
3498
3498
  let b, e;
3499
3499
  const M = new Promise((o, t) => {
3500
3500
  b = o, e = t;
@@ -4762,7 +4762,7 @@ class He extends vM {
4762
4762
  return e.store[r](...arguments), e;
4763
4763
  };
4764
4764
  });
4765
- const n = fe(), O = () => {
4765
+ const n = We(), O = () => {
4766
4766
  const r = (i, a) => {
4767
4767
  this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), n.resolve(a), o(i, a);
4768
4768
  };
@@ -4789,7 +4789,7 @@ class He extends vM {
4789
4789
  o(null);
4790
4790
  }
4791
4791
  reloadResources(e, M, o) {
4792
- const t = fe();
4792
+ const t = We();
4793
4793
  return e || (e = this.languages), M || (M = this.options.ns), o || (o = db), this.services.backendConnector.reload(e, M, (z) => {
4794
4794
  t.resolve(), o(z);
4795
4795
  }), t;
@@ -4812,7 +4812,7 @@ class He extends vM {
4812
4812
  changeLanguage(e, M) {
4813
4813
  var o = this;
4814
4814
  this.isLanguageChangingTo = e;
4815
- const t = fe();
4815
+ const t = We();
4816
4816
  this.emit("languageChanging", e);
4817
4817
  const z = (n) => {
4818
4818
  this.language = n, this.languages = this.services.languageUtils.toResolveHierarchy(n), this.resolvedLanguage = void 0, this.setResolvedLanguage(n);
@@ -4878,7 +4878,7 @@ class He extends vM {
4878
4878
  return !!(this.hasResourceBundle(o, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || p(o, e) && (!t || p(z, e)));
4879
4879
  }
4880
4880
  loadNamespaces(e, M) {
4881
- const o = fe();
4881
+ const o = We();
4882
4882
  return this.options.ns ? (typeof e == "string" && (e = [e]), e.forEach((t) => {
4883
4883
  this.options.ns.indexOf(t) < 0 && this.options.ns.push(t);
4884
4884
  }), this.loadResources((t) => {
@@ -4886,7 +4886,7 @@ class He extends vM {
4886
4886
  }), o) : (M && M(), Promise.resolve());
4887
4887
  }
4888
4888
  loadLanguages(e, M) {
4889
- const o = fe();
4889
+ const o = We();
4890
4890
  typeof e == "string" && (e = [e]);
4891
4891
  const t = this.options.preload || [], z = e.filter((p) => t.indexOf(p) < 0 && this.services.languageUtils.isSupportedCode(p));
4892
4892
  return z.length ? (this.options.preload = t.concat(z), this.loadResources((p) => {
@@ -7913,7 +7913,7 @@ function C5(b, e, M, o = 1 / 0) {
7913
7913
  function D5(b, e, M = !0) {
7914
7914
  return Array.isArray(e) || (e = [e]), Nt(JA("id", b), e, M);
7915
7915
  }
7916
- function ue(b, e, M = !0, o = 1 / 0) {
7916
+ function Ae(b, e, M = !0, o = 1 / 0) {
7917
7917
  return wM(OM.tag_name(b), e, M, o);
7918
7918
  }
7919
7919
  function _5(b, e, M = !0, o = 1 / 0) {
@@ -7971,7 +7971,7 @@ function I5(b) {
7971
7971
  var e;
7972
7972
  const M = b.children, o = {
7973
7973
  type: "atom",
7974
- items: ue("entry", M).map((p) => {
7974
+ items: Ae("entry", M).map((p) => {
7975
7975
  var c;
7976
7976
  const { children: n } = p, O = { media: ed(n) };
7977
7977
  p1(O, "id", "id", n), p1(O, "title", "title", n);
@@ -7994,7 +7994,7 @@ function F5(b) {
7994
7994
  const o = (M = (e = rM("channel", b.children)) === null || e === void 0 ? void 0 : e.children) !== null && M !== void 0 ? M : [], t = {
7995
7995
  type: b.name.substr(0, 3),
7996
7996
  id: "",
7997
- items: ue("item", b.children).map((p) => {
7997
+ items: Ae("item", b.children).map((p) => {
7998
7998
  const { children: c } = p, n = { media: ed(c) };
7999
7999
  p1(n, "id", "guid", c), p1(n, "title", "title", c), p1(n, "link", "link", c), p1(n, "description", "description", c);
8000
8000
  const O = g2("pubDate", c) || g2("dc:date", c);
@@ -8016,7 +8016,7 @@ const U5 = ["url", "type", "lang"], H5 = [
8016
8016
  "width"
8017
8017
  ];
8018
8018
  function ed(b) {
8019
- return ue("media:content", b).map((e) => {
8019
+ return Ae("media:content", b).map((e) => {
8020
8020
  const { attribs: M } = e, o = {
8021
8021
  medium: M.medium,
8022
8022
  isDefault: !!M.isDefault
@@ -8029,10 +8029,10 @@ function ed(b) {
8029
8029
  });
8030
8030
  }
8031
8031
  function rM(b, e) {
8032
- return ue(b, e, !0, 1)[0];
8032
+ return Ae(b, e, !0, 1)[0];
8033
8033
  }
8034
8034
  function g2(b, e, M = !1) {
8035
- return nM(ue(b, e, M, 1)).trim();
8035
+ return nM(Ae(b, e, M, 1)).trim();
8036
8036
  }
8037
8037
  function p1(b, e, M, o, t = !1) {
8038
8038
  const z = g2(M, o, t);
@@ -8077,7 +8077,7 @@ const Y5 = /* @__PURE__ */ Object.freeze({
8077
8077
  testElement: k5,
8078
8078
  getElements: C5,
8079
8079
  getElementById: D5,
8080
- getElementsByTagName: ue,
8080
+ getElementsByTagName: Ae,
8081
8081
  getElementsByTagType: _5,
8082
8082
  removeSubsets: $5,
8083
8083
  get DocumentPosition() {
@@ -8156,7 +8156,7 @@ function O6(b) {
8156
8156
  return Array.isArray(b) ? [] : {};
8157
8157
  }
8158
8158
  function je(b, e) {
8159
- return e.clone !== !1 && e.isMergeableObject(b) ? Oe(O6(b), b, e) : b;
8159
+ return e.clone !== !1 && e.isMergeableObject(b) ? re(O6(b), b, e) : b;
8160
8160
  }
8161
8161
  function r6(b, e, M) {
8162
8162
  return b.concat(e).map(function(o) {
@@ -8165,9 +8165,9 @@ function r6(b, e, M) {
8165
8165
  }
8166
8166
  function i6(b, e) {
8167
8167
  if (!e.customMerge)
8168
- return Oe;
8168
+ return re;
8169
8169
  var M = e.customMerge(b);
8170
- return typeof M == "function" ? M : Oe;
8170
+ return typeof M == "function" ? M : re;
8171
8171
  }
8172
8172
  function a6(b) {
8173
8173
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(b).filter(function(e) {
@@ -8195,19 +8195,19 @@ function u6(b, e, M) {
8195
8195
  s6(b, t) || (od(b, t) && M.isMergeableObject(e[t]) ? o[t] = i6(t, M)(b[t], e[t], M) : o[t] = je(e[t], M));
8196
8196
  }), o;
8197
8197
  }
8198
- function Oe(b, e, M) {
8198
+ function re(b, e, M) {
8199
8199
  M = M || {}, M.arrayMerge = M.arrayMerge || r6, M.isMergeableObject = M.isMergeableObject || o6, M.cloneUnlessOtherwiseSpecified = je;
8200
8200
  var o = Array.isArray(e), t = Array.isArray(b), z = o === t;
8201
8201
  return z ? o ? M.arrayMerge(b, e, M) : u6(b, e, M) : je(e, M);
8202
8202
  }
8203
- Oe.all = function(e, M) {
8203
+ re.all = function(e, M) {
8204
8204
  if (!Array.isArray(e))
8205
8205
  throw new Error("first argument should be an array");
8206
8206
  return e.reduce(function(o, t) {
8207
- return Oe(o, t, M);
8207
+ return re(o, t, M);
8208
8208
  }, {});
8209
8209
  };
8210
- var A6 = Oe, d6 = A6, td = { exports: {} };
8210
+ var A6 = re, d6 = A6, td = { exports: {} };
8211
8211
  (function(b) {
8212
8212
  (function(e, M) {
8213
8213
  b.exports ? b.exports = M() : e.parseSrcset = M();
@@ -9377,7 +9377,7 @@ class Yo {
9377
9377
  }
9378
9378
  var xt = Yo;
9379
9379
  Yo.default = Yo;
9380
- const oo = 39, gp = 34, Wb = 92, mp = 47, hb = 10, We = 32, Rb = 12, gb = 9, mb = 13, G6 = 91, V6 = 93, K6 = 40, J6 = 41, Q6 = 123, Z6 = 125, eW = 59, bW = 42, MW = 58, oW = 64, Lb = /[\t\n\f\r "#'()/;[\\\]{}]/g, Bb = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, tW = /.[\n"'(/\\]/, Lp = /[\da-f]/i;
9380
+ const oo = 39, gp = 34, Wb = 92, mp = 47, hb = 10, he = 32, Rb = 12, gb = 9, mb = 13, G6 = 91, V6 = 93, K6 = 40, J6 = 41, Q6 = 123, Z6 = 125, eW = 59, bW = 42, MW = 58, oW = 64, Lb = /[\t\n\f\r "#'()/;[\\\]{}]/g, Bb = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, tW = /.[\n"'(/\\]/, Lp = /[\da-f]/i;
9381
9381
  var zW = function(e, M = {}) {
9382
9382
  let o = e.css.valueOf(), t = M.ignoreErrors, z, p, c, n, O, r, i, a, s, A, h = o.length, l = 0, w = [], x = [];
9383
9383
  function K() {
@@ -9395,14 +9395,14 @@ var zW = function(e, M = {}) {
9395
9395
  let J = O0 ? O0.ignoreUnclosed : !1;
9396
9396
  switch (z = o.charCodeAt(l), z) {
9397
9397
  case hb:
9398
- case We:
9398
+ case he:
9399
9399
  case gb:
9400
9400
  case mb:
9401
9401
  case Rb: {
9402
9402
  p = l;
9403
9403
  do
9404
9404
  p += 1, z = o.charCodeAt(p);
9405
- while (z === We || z === hb || z === gb || z === mb || z === Rb);
9405
+ while (z === he || z === hb || z === gb || z === mb || z === Rb);
9406
9406
  A = ["space", o.slice(l, p)], l = p - 1;
9407
9407
  break;
9408
9408
  }
@@ -9418,7 +9418,7 @@ var zW = function(e, M = {}) {
9418
9418
  break;
9419
9419
  }
9420
9420
  case K6: {
9421
- if (a = w.length ? w.pop()[1] : "", s = o.charCodeAt(l + 1), a === "url" && s !== oo && s !== gp && s !== We && s !== hb && s !== gb && s !== Rb && s !== mb) {
9421
+ if (a = w.length ? w.pop()[1] : "", s = o.charCodeAt(l + 1), a === "url" && s !== oo && s !== gp && s !== he && s !== hb && s !== gb && s !== Rb && s !== mb) {
9422
9422
  p = l;
9423
9423
  do {
9424
9424
  if (r = !1, p = o.indexOf(")", p + 1), p === -1)
@@ -9458,10 +9458,10 @@ var zW = function(e, M = {}) {
9458
9458
  case Wb: {
9459
9459
  for (p = l, O = !0; o.charCodeAt(p + 1) === Wb; )
9460
9460
  p += 1, O = !O;
9461
- if (z = o.charCodeAt(p + 1), O && z !== mp && z !== We && z !== hb && z !== gb && z !== mb && z !== Rb && (p += 1, Lp.test(o.charAt(p)))) {
9461
+ if (z = o.charCodeAt(p + 1), O && z !== mp && z !== he && z !== hb && z !== gb && z !== mb && z !== Rb && (p += 1, Lp.test(o.charAt(p)))) {
9462
9462
  for (; Lp.test(o.charAt(p + 1)); )
9463
9463
  p += 1;
9464
- o.charCodeAt(p + 1) === We && (p += 1);
9464
+ o.charCodeAt(p + 1) === he && (p += 1);
9465
9465
  }
9466
9466
  A = ["word", o.slice(l, p + 1), l, p], l = p;
9467
9467
  break;
@@ -9499,7 +9499,7 @@ var St = aM;
9499
9499
  aM.default = aM;
9500
9500
  md.registerAtRule(aM);
9501
9501
  let Ld = P2, Bd, Nd;
9502
- class re extends Ld {
9502
+ class ie extends Ld {
9503
9503
  constructor(e) {
9504
9504
  super(e), this.type = "root", this.nodes || (this.nodes = []);
9505
9505
  }
@@ -9522,15 +9522,15 @@ class re extends Ld {
9522
9522
  return new Bd(new Nd(), this, e).stringify();
9523
9523
  }
9524
9524
  }
9525
- re.registerLazyResult = (b) => {
9525
+ ie.registerLazyResult = (b) => {
9526
9526
  Bd = b;
9527
9527
  };
9528
- re.registerProcessor = (b) => {
9528
+ ie.registerProcessor = (b) => {
9529
9529
  Nd = b;
9530
9530
  };
9531
- var nb = re;
9532
- re.default = re;
9533
- Ld.registerRoot(re);
9531
+ var nb = ie;
9532
+ ie.default = ie;
9533
+ Ld.registerRoot(ie);
9534
9534
  let Ve = {
9535
9535
  split(b, e, M) {
9536
9536
  let o = [], t = "", z = !1, p = 0, c = !1, n = "", O = !1;
@@ -9915,8 +9915,8 @@ const LW = {
9915
9915
  postcssPlugin: !0,
9916
9916
  prepare: !0,
9917
9917
  Once: !0
9918
- }, ie = 0;
9919
- function he(b) {
9918
+ }, ae = 0;
9919
+ function Re(b) {
9920
9920
  return typeof b == "object" && typeof b.then == "function";
9921
9921
  }
9922
9922
  function vd(b) {
@@ -9924,14 +9924,14 @@ function vd(b) {
9924
9924
  return b.type === "decl" ? e = b.prop.toLowerCase() : b.type === "atrule" && (e = b.name.toLowerCase()), e && b.append ? [
9925
9925
  M,
9926
9926
  M + "-" + e,
9927
- ie,
9927
+ ae,
9928
9928
  M + "Exit",
9929
9929
  M + "Exit-" + e
9930
- ] : e ? [M, M + "-" + e, M + "Exit", M + "Exit-" + e] : b.append ? [M, ie, M + "Exit"] : [M, M + "Exit"];
9930
+ ] : e ? [M, M + "-" + e, M + "Exit", M + "Exit-" + e] : b.append ? [M, ae, M + "Exit"] : [M, M + "Exit"];
9931
9931
  }
9932
9932
  function Tp(b) {
9933
9933
  let e;
9934
- return b.type === "document" ? e = ["Document", ie, "DocumentExit"] : b.type === "root" ? e = ["Root", ie, "RootExit"] : e = vd(b), {
9934
+ return b.type === "document" ? e = ["Document", ae, "DocumentExit"] : b.type === "root" ? e = ["Root", ae, "RootExit"] : e = vd(b), {
9935
9935
  node: b,
9936
9936
  events: e,
9937
9937
  eventIndex: 0,
@@ -10013,7 +10013,7 @@ class T2 {
10013
10013
  throw this.getAsyncError();
10014
10014
  for (let e of this.plugins) {
10015
10015
  let M = this.runOnRoot(e);
10016
- if (he(M))
10016
+ if (Re(M))
10017
10017
  throw this.getAsyncError();
10018
10018
  }
10019
10019
  if (this.prepareVisitors(), this.hasListener) {
@@ -10042,7 +10042,7 @@ class T2 {
10042
10042
  e[C1] = !0;
10043
10043
  let M = vd(e);
10044
10044
  for (let o of M)
10045
- if (o === ie)
10045
+ if (o === ae)
10046
10046
  e.nodes && e.each((t) => {
10047
10047
  t[C1] || this.walkSync(t);
10048
10048
  });
@@ -10063,7 +10063,7 @@ class T2 {
10063
10063
  }
10064
10064
  if (M.type !== "root" && M.type !== "document" && !M.parent)
10065
10065
  return !0;
10066
- if (he(z))
10066
+ if (Re(z))
10067
10067
  throw this.getAsyncError();
10068
10068
  }
10069
10069
  }
@@ -10075,7 +10075,7 @@ class T2 {
10075
10075
  let M = this.result.root.nodes.map(
10076
10076
  (o) => e.Once(o, this.helpers)
10077
10077
  );
10078
- return he(M[0]) ? Promise.all(M) : M;
10078
+ return Re(M[0]) ? Promise.all(M) : M;
10079
10079
  }
10080
10080
  return e.Once(this.result.root, this.helpers);
10081
10081
  } else if (typeof e == "function")
@@ -10100,7 +10100,7 @@ class T2 {
10100
10100
  this.plugin = 0;
10101
10101
  for (let e = 0; e < this.plugins.length; e++) {
10102
10102
  let M = this.plugins[e], o = this.runOnRoot(M);
10103
- if (he(o))
10103
+ if (Re(o))
10104
10104
  try {
10105
10105
  await o;
10106
10106
  } catch (t) {
@@ -10114,7 +10114,7 @@ class T2 {
10114
10114
  let M = [Tp(e)];
10115
10115
  for (; M.length > 0; ) {
10116
10116
  let o = this.visitTick(M);
10117
- if (he(o))
10117
+ if (Re(o))
10118
10118
  try {
10119
10119
  await o;
10120
10120
  } catch (t) {
@@ -10192,7 +10192,7 @@ class T2 {
10192
10192
  let z = M.events;
10193
10193
  for (; M.eventIndex < z.length; ) {
10194
10194
  let p = z[M.eventIndex];
10195
- if (M.eventIndex += 1, p === ie) {
10195
+ if (M.eventIndex += 1, p === ae) {
10196
10196
  o.nodes && o.nodes.length && (o[C1] = !0, M.iterator = o.getIterator());
10197
10197
  return;
10198
10198
  } else if (this.listeners[p]) {
@@ -10411,7 +10411,7 @@ const th = Q5, vp = Z5, { isPlainObject: zh } = M6, Xp = d6, ph = td.exports, {
10411
10411
  "iframe",
10412
10412
  "embed"
10413
10413
  ], Oh = ["script", "style"];
10414
- function ye(b, e) {
10414
+ function Te(b, e) {
10415
10415
  b && Object.keys(b).forEach(function(M) {
10416
10416
  e(b[M], M);
10417
10417
  });
@@ -10421,7 +10421,7 @@ function b2(b, e) {
10421
10421
  }
10422
10422
  function wp(b, e) {
10423
10423
  const M = [];
10424
- return ye(b, function(o) {
10424
+ return Te(b, function(o) {
10425
10425
  e(o) && M.push(o);
10426
10426
  }), M;
10427
10427
  }
@@ -10477,7 +10477,7 @@ and ensure you are accounting for this risk.
10477
10477
  "option"
10478
10478
  ];
10479
10479
  let n, O;
10480
- e.allowedAttributes && (n = {}, O = {}, ye(e.allowedAttributes, function(u, f) {
10480
+ e.allowedAttributes && (n = {}, O = {}, Te(e.allowedAttributes, function(u, f) {
10481
10481
  n[f] = [];
10482
10482
  const q = [];
10483
10483
  u.forEach(function(m) {
@@ -10485,7 +10485,7 @@ and ensure you are accounting for this risk.
10485
10485
  }), q.length && (O[f] = new RegExp("^(" + q.join("|") + ")$"));
10486
10486
  }));
10487
10487
  const r = {}, i = {}, a = {};
10488
- ye(e.allowedClasses, function(u, f) {
10488
+ Te(e.allowedClasses, function(u, f) {
10489
10489
  if (n && (b2(n, f) || (n[f] = []), n[f].push("class")), r[f] = u, Array.isArray(u)) {
10490
10490
  const q = [];
10491
10491
  r[f] = [], a[f] = [], u.forEach(function(m) {
@@ -10495,7 +10495,7 @@ and ensure you are accounting for this risk.
10495
10495
  });
10496
10496
  const s = {};
10497
10497
  let A;
10498
- ye(e.transformTags, function(u, f) {
10498
+ Te(e.transformTags, function(u, f) {
10499
10499
  let q;
10500
10500
  typeof u == "function" ? q = u : typeof u == "string" && (q = Qe.simpleTransform(u)), f === "*" ? A = q : s[f] = q;
10501
10501
  });
@@ -10517,7 +10517,7 @@ and ensure you are accounting for this risk.
10517
10517
  return;
10518
10518
  t = o, o = "";
10519
10519
  }
10520
- o += "<" + u, u === "script" && (e.allowedScriptHostnames || e.allowedScriptDomains) && (q.innerText = ""), (!n || b2(n, u) || n["*"]) && ye(f, function(j, Y) {
10520
+ o += "<" + u, u === "script" && (e.allowedScriptHostnames || e.allowedScriptDomains) && (q.innerText = ""), (!n || b2(n, u) || n["*"]) && Te(f, function(j, Y) {
10521
10521
  if (!sh.test(Y)) {
10522
10522
  delete q.attribs[Y];
10523
10523
  return;
@@ -11382,14 +11382,14 @@ function Y1(b, e, M) {
11382
11382
  var o = "" + Math.abs(b), t = e - o.length, z = b >= 0;
11383
11383
  return (z ? M ? "+" : "" : "-") + Math.pow(10, Math.max(0, t)).toString().substr(1) + o;
11384
11384
  }
11385
- var Ft = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, yb = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, po = {}, ze = {};
11385
+ var Ft = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, yb = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, po = {}, pe = {};
11386
11386
  function G(b, e, M, o) {
11387
11387
  var t = o;
11388
11388
  typeof o == "string" && (t = function() {
11389
11389
  return this[o]();
11390
- }), b && (ze[b] = t), e && (ze[e[0]] = function() {
11390
+ }), b && (pe[b] = t), e && (pe[e[0]] = function() {
11391
11391
  return Y1(t.apply(this, arguments), e[1], e[2]);
11392
- }), M && (ze[M] = function() {
11392
+ }), M && (pe[M] = function() {
11393
11393
  return this.localeData().ordinal(
11394
11394
  t.apply(this, arguments),
11395
11395
  b
@@ -11402,7 +11402,7 @@ function Lh(b) {
11402
11402
  function Bh(b) {
11403
11403
  var e = b.match(Ft), M, o;
11404
11404
  for (M = 0, o = e.length; M < o; M++)
11405
- ze[e[M]] ? e[M] = ze[e[M]] : e[M] = Lh(e[M]);
11405
+ pe[e[M]] ? e[M] = pe[e[M]] : e[M] = Lh(e[M]);
11406
11406
  return function(t) {
11407
11407
  var z = "", p;
11408
11408
  for (p = 0; p < o; p++)
@@ -11558,7 +11558,7 @@ function Dh(b) {
11558
11558
  return o.priority - t.priority;
11559
11559
  }), e;
11560
11560
  }
11561
- var Hd = /\d/, A1 = /\d\d/, jd = /\d{3}/, Ht = /\d{4}/, _M = /[+-]?\d{6}/, T0 = /\d\d?/, Yd = /\d\d\d\d?/, Gd = /\d\d\d\d\d\d?/, $M = /\d{1,3}/, jt = /\d{1,4}/, PM = /[+-]?\d{1,6}/, Ae = /\d+/, IM = /[+-]?\d+/, _h = /Z|[+-]\d\d:?\d\d/gi, FM = /Z|[+-]\d\d(?::?\d\d)?/gi, $h = /[+-]?\d+(\.\d{1,3})?/, ib = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, de = /^[1-9]\d?/, Yt = /^([1-9]\d|\d)/, AM;
11561
+ var Hd = /\d/, A1 = /\d\d/, jd = /\d{3}/, Ht = /\d{4}/, _M = /[+-]?\d{6}/, T0 = /\d\d?/, Yd = /\d\d\d\d?/, Gd = /\d\d\d\d\d\d?/, $M = /\d{1,3}/, jt = /\d{1,4}/, PM = /[+-]?\d{1,6}/, de = /\d+/, IM = /[+-]?\d+/, _h = /Z|[+-]\d\d:?\d\d/gi, FM = /Z|[+-]\d\d(?::?\d\d)?/gi, $h = /[+-]?\d+(\.\d{1,3})?/, ib = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, le = /^[1-9]\d?/, Yt = /^([1-9]\d|\d)/, AM;
11562
11562
  AM = {};
11563
11563
  function $(b, e, M) {
11564
11564
  AM[b] = J1(e) ? e : function(o, t) {
@@ -11639,11 +11639,11 @@ function ke(b) {
11639
11639
  _.parseTwoDigitYear = function(b) {
11640
11640
  return i0(b) + (i0(b) > 68 ? 1900 : 2e3);
11641
11641
  };
11642
- var Vd = le("FullYear", !0);
11642
+ var Vd = qe("FullYear", !0);
11643
11643
  function jh() {
11644
11644
  return UM(this.year());
11645
11645
  }
11646
- function le(b, e) {
11646
+ function qe(b, e) {
11647
11647
  return function(M) {
11648
11648
  return M != null ? (Kd(this, b, M), _.updateOffset(this, e), this) : Ze(this, b);
11649
11649
  };
@@ -11734,7 +11734,7 @@ G("MMM", 0, 0, function(b) {
11734
11734
  G("MMMM", 0, 0, function(b) {
11735
11735
  return this.localeData().months(this, b);
11736
11736
  });
11737
- $("M", T0, de);
11737
+ $("M", T0, le);
11738
11738
  $("MM", T0, A1);
11739
11739
  $("MMM", function(b, e) {
11740
11740
  return e.monthsShortRegex(b);
@@ -11858,9 +11858,9 @@ function O2(b, e, M) {
11858
11858
  }
11859
11859
  G("w", ["ww", 2], "wo", "week");
11860
11860
  G("W", ["WW", 2], "Wo", "isoWeek");
11861
- $("w", T0, de);
11861
+ $("w", T0, le);
11862
11862
  $("ww", T0, A1);
11863
- $("W", T0, de);
11863
+ $("W", T0, le);
11864
11864
  $("WW", T0, A1);
11865
11865
  ab(
11866
11866
  ["w", "ww", "W", "WW"],
@@ -12065,8 +12065,8 @@ function z4(b, e) {
12065
12065
  $("a", z4);
12066
12066
  $("A", z4);
12067
12067
  $("H", T0, Yt);
12068
- $("h", T0, de);
12069
- $("k", T0, de);
12068
+ $("h", T0, le);
12069
+ $("k", T0, le);
12070
12070
  $("HH", T0, A1);
12071
12071
  $("hh", T0, A1);
12072
12072
  $("kk", T0, A1);
@@ -12104,7 +12104,7 @@ g0("Hmmss", function(b, e, M) {
12104
12104
  function w8(b) {
12105
12105
  return (b + "").toLowerCase().charAt(0) === "p";
12106
12106
  }
12107
- var E8 = /[ap]\.?m?\.?/i, x8 = le("Hours", !0);
12107
+ var E8 = /[ap]\.?m?\.?/i, x8 = qe("Hours", !0);
12108
12108
  function S8(b, e, M) {
12109
12109
  return b > 11 ? M ? "pm" : "PM" : M ? "am" : "AM";
12110
12110
  }
@@ -12122,7 +12122,7 @@ var p4 = {
12122
12122
  weekdaysMin: d8,
12123
12123
  weekdaysShort: o4,
12124
12124
  meridiemParse: E8
12125
- }, X0 = {}, Re = {}, Mb;
12125
+ }, X0 = {}, ge = {}, Mb;
12126
12126
  function k8(b, e) {
12127
12127
  var M, o = Math.min(b.length, e.length);
12128
12128
  for (M = 0; M < o; M += 1)
@@ -12179,11 +12179,11 @@ function Qt(b, e) {
12179
12179
  else if (M = HM(e.parentLocale), M != null)
12180
12180
  o = M._config;
12181
12181
  else
12182
- return Re[e.parentLocale] || (Re[e.parentLocale] = []), Re[e.parentLocale].push({
12182
+ return ge[e.parentLocale] || (ge[e.parentLocale] = []), ge[e.parentLocale].push({
12183
12183
  name: b,
12184
12184
  config: e
12185
12185
  }), null;
12186
- return X0[b] = new It(Qo(o, e)), Re[b] && Re[b].forEach(function(t) {
12186
+ return X0[b] = new It(Qo(o, e)), ge[b] && ge[b].forEach(function(t) {
12187
12187
  Qt(t.name, t.config);
12188
12188
  }), N2(b), X0[b];
12189
12189
  } else
@@ -12414,7 +12414,7 @@ function bz(b) {
12414
12414
  for (t = Ud(b._f, b._locale).match(Ft) || [], r = t.length, M = 0; M < r; M++)
12415
12415
  z = t[M], o = (e.match(Ph(z, b)) || [])[0], o && (p = e.substr(0, e.indexOf(o)), p.length > 0 && c0(b).unusedInput.push(p), e = e.slice(
12416
12416
  e.indexOf(o) + o.length
12417
- ), n += o.length), ze[z] ? (o ? c0(b).empty = !1 : c0(b).unusedTokens.push(z), Fh(z, o, b)) : b._strict && !o && c0(b).unusedTokens.push(z);
12417
+ ), n += o.length), pe[z] ? (o ? c0(b).empty = !1 : c0(b).unusedTokens.push(z), Fh(z, o, b)) : b._strict && !o && c0(b).unusedTokens.push(z);
12418
12418
  c0(b).charsLeftOver = c - n, e.length > 0 && c0(b).unusedInput.push(e), b._a[U0] <= 12 && c0(b).bigHour === !0 && b._a[U0] > 0 && (c0(b).bigHour = void 0), c0(b).parsedDateParts = b._a.slice(0), c0(b).meridiem = b._meridiem, b._a[U0] = bR(
12419
12419
  b._locale,
12420
12420
  b._a[U0],
@@ -12498,7 +12498,7 @@ function OR() {
12498
12498
  }
12499
12499
  var rR = function() {
12500
12500
  return Date.now ? Date.now() : +/* @__PURE__ */ new Date();
12501
- }, ge = [
12501
+ }, me = [
12502
12502
  "year",
12503
12503
  "quarter",
12504
12504
  "month",
@@ -12510,15 +12510,15 @@ var rR = function() {
12510
12510
  "millisecond"
12511
12511
  ];
12512
12512
  function iR(b) {
12513
- var e, M = !1, o, t = ge.length;
12513
+ var e, M = !1, o, t = me.length;
12514
12514
  for (e in b)
12515
- if (l0(b, e) && !(_0.call(ge, e) !== -1 && (b[e] == null || !isNaN(b[e]))))
12515
+ if (l0(b, e) && !(_0.call(me, e) !== -1 && (b[e] == null || !isNaN(b[e]))))
12516
12516
  return !1;
12517
12517
  for (o = 0; o < t; ++o)
12518
- if (b[ge[o]]) {
12518
+ if (b[me[o]]) {
12519
12519
  if (M)
12520
12520
  return !1;
12521
- parseFloat(b[ge[o]]) !== i0(b[ge[o]]) && (M = !0);
12521
+ parseFloat(b[me[o]]) !== i0(b[me[o]]) && (M = !0);
12522
12522
  }
12523
12523
  return !0;
12524
12524
  }
@@ -12873,8 +12873,8 @@ var q4 = m1(
12873
12873
  function f4() {
12874
12874
  return this._locale;
12875
12875
  }
12876
- var lM = 1e3, pe = 60 * lM, qM = 60 * pe, W4 = (365 * 400 + 97) * 24 * qM;
12877
- function ce(b, e) {
12876
+ var lM = 1e3, ce = 60 * lM, qM = 60 * ce, W4 = (365 * 400 + 97) * 24 * qM;
12877
+ function ne(b, e) {
12878
12878
  return (b % e + e) % e;
12879
12879
  }
12880
12880
  function h4(b, e, M) {
@@ -12920,16 +12920,16 @@ function ZR(b) {
12920
12920
  e = M(this.year(), this.month(), this.date());
12921
12921
  break;
12922
12922
  case "hour":
12923
- e = this._d.valueOf(), e -= ce(
12924
- e + (this._isUTC ? 0 : this.utcOffset() * pe),
12923
+ e = this._d.valueOf(), e -= ne(
12924
+ e + (this._isUTC ? 0 : this.utcOffset() * ce),
12925
12925
  qM
12926
12926
  );
12927
12927
  break;
12928
12928
  case "minute":
12929
- e = this._d.valueOf(), e -= ce(e, pe);
12929
+ e = this._d.valueOf(), e -= ne(e, ce);
12930
12930
  break;
12931
12931
  case "second":
12932
- e = this._d.valueOf(), e -= ce(e, lM);
12932
+ e = this._d.valueOf(), e -= ne(e, lM);
12933
12933
  break;
12934
12934
  }
12935
12935
  return this._d.setTime(e), _.updateOffset(this, !0), this;
@@ -12971,16 +12971,16 @@ function eg(b) {
12971
12971
  e = M(this.year(), this.month(), this.date() + 1) - 1;
12972
12972
  break;
12973
12973
  case "hour":
12974
- e = this._d.valueOf(), e += qM - ce(
12975
- e + (this._isUTC ? 0 : this.utcOffset() * pe),
12974
+ e = this._d.valueOf(), e += qM - ne(
12975
+ e + (this._isUTC ? 0 : this.utcOffset() * ce),
12976
12976
  qM
12977
12977
  ) - 1;
12978
12978
  break;
12979
12979
  case "minute":
12980
- e = this._d.valueOf(), e += pe - ce(e, pe) - 1;
12980
+ e = this._d.valueOf(), e += ce - ne(e, ce) - 1;
12981
12981
  break;
12982
12982
  case "second":
12983
- e = this._d.valueOf(), e += lM - ce(e, lM) - 1;
12983
+ e = this._d.valueOf(), e += lM - ne(e, lM) - 1;
12984
12984
  break;
12985
12985
  }
12986
12986
  return this._d.setTime(e), _.updateOffset(this, !0), this;
@@ -13060,10 +13060,10 @@ g0(
13060
13060
  t ? c0(M).era = t : c0(M).invalidEra = b;
13061
13061
  }
13062
13062
  );
13063
- $("y", Ae);
13064
- $("yy", Ae);
13065
- $("yyy", Ae);
13066
- $("yyyy", Ae);
13063
+ $("y", de);
13064
+ $("yy", de);
13065
+ $("yyy", de);
13066
+ $("yyyy", de);
13067
13067
  $("yo", gg);
13068
13068
  g0(["y", "yy", "yyy", "yyyy"], Q0);
13069
13069
  g0(["yo"], function(b, e, M, o) {
@@ -13163,7 +13163,7 @@ function Rg(b, e) {
13163
13163
  return e.erasNarrowRegex(b);
13164
13164
  }
13165
13165
  function gg(b, e) {
13166
- return e._eraYearOrdinalRegex || Ae;
13166
+ return e._eraYearOrdinalRegex || de;
13167
13167
  }
13168
13168
  function zz() {
13169
13169
  var b = [], e = [], M = [], o = [], t, z, p, c, n, O = this.eras();
@@ -13255,7 +13255,7 @@ function Xg(b) {
13255
13255
  return b == null ? Math.ceil((this.month() + 1) / 3) : this.month((b - 1) * 3 + this.month() % 3);
13256
13256
  }
13257
13257
  G("D", ["DD", 2], "Do", "date");
13258
- $("D", T0, de);
13258
+ $("D", T0, le);
13259
13259
  $("DD", T0, A1);
13260
13260
  $("Do", function(b, e) {
13261
13261
  return b ? e._dayOfMonthOrdinalParse || e._ordinalParse : e._dayOfMonthOrdinalParseLenient;
@@ -13264,7 +13264,7 @@ g0(["D", "DD"], F1);
13264
13264
  g0("Do", function(b, e) {
13265
13265
  e[F1] = i0(b.match(T0)[0]);
13266
13266
  });
13267
- var m4 = le("Date", !0);
13267
+ var m4 = qe("Date", !0);
13268
13268
  G("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
13269
13269
  $("DDD", $M);
13270
13270
  $("DDDD", jd);
@@ -13281,12 +13281,12 @@ G("m", ["mm", 2], 0, "minute");
13281
13281
  $("m", T0, Yt);
13282
13282
  $("mm", T0, A1);
13283
13283
  g0(["m", "mm"], T1);
13284
- var Eg = le("Minutes", !1);
13284
+ var Eg = qe("Minutes", !1);
13285
13285
  G("s", ["ss", 2], 0, "second");
13286
13286
  $("s", T0, Yt);
13287
13287
  $("ss", T0, A1);
13288
13288
  g0(["s", "ss"], c2);
13289
- var xg = le("Seconds", !1);
13289
+ var xg = qe("Seconds", !1);
13290
13290
  G("S", 0, 0, function() {
13291
13291
  return ~~(this.millisecond() / 100);
13292
13292
  });
@@ -13317,13 +13317,13 @@ $("SS", $M, A1);
13317
13317
  $("SSS", $M, jd);
13318
13318
  var L2, L4;
13319
13319
  for (L2 = "SSSS"; L2.length <= 9; L2 += "S")
13320
- $(L2, Ae);
13320
+ $(L2, de);
13321
13321
  function Sg(b, e) {
13322
13322
  e[S2] = i0(("0." + b) * 1e3);
13323
13323
  }
13324
13324
  for (L2 = "S"; L2.length <= 9; L2 += "S")
13325
13325
  g0(L2, Sg);
13326
- L4 = le("Milliseconds", !1);
13326
+ L4 = qe("Milliseconds", !1);
13327
13327
  G("z", 0, 0, "zoneAbbr");
13328
13328
  G("zz", 0, 0, "zoneName");
13329
13329
  function kg() {
@@ -14032,12 +14032,12 @@ const Wm = /* @__PURE__ */ Object.freeze({
14032
14032
  return this._z = null, d.apply(this, arguments);
14033
14033
  };
14034
14034
  }
14035
- function qe(d) {
14035
+ function fe(d) {
14036
14036
  return function() {
14037
14037
  return arguments.length > 0 && (this._z = null), d.apply(this, arguments);
14038
14038
  };
14039
14039
  }
14040
- f0.zoneName = $0(f0.zoneName), f0.zoneAbbr = $0(f0.zoneAbbr), f0.utc = n1(f0.utc), f0.local = n1(f0.local), f0.utcOffset = qe(f0.utcOffset), e.tz.setDefault = function(d) {
14040
+ f0.zoneName = $0(f0.zoneName), f0.zoneAbbr = $0(f0.zoneAbbr), f0.utc = n1(f0.utc), f0.local = n1(f0.local), f0.utcOffset = fe(f0.utcOffset), e.tz.setDefault = function(d) {
14041
14041
  return (r < 2 || r === 2 && i < 9) && D0("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js " + e.version + "."), e.defaultZone = d ? f(d) : null, e;
14042
14042
  };
14043
14043
  var k1 = e.momentProperties;
@@ -15115,7 +15115,7 @@ const jm = ':host{display:block;height:auto;--nylas-primary:#2563eb;--nylas-erro
15115
15115
  phone_number: "1234567890"
15116
15116
  }, Km = a2(class extends s2 {
15117
15117
  constructor() {
15118
- super(), this.__registerHost(), this.__attachShadow(), this.nylasFormInputChanged = Ee(this, "nylasFormInputChanged", 7), this.nylasFormInputFocused = Ee(this, "nylasFormInputFocused", 7), this.nylasFormInputBlurred = Ee(this, "nylasFormInputBlurred", 7), this.name = "input", this.defaultValue = void 0, this.label = "", this.type = "text", this.placeholder = Vm[this.type], this.required = !1, this.readOnly = !1, this.autoFocus = !1, this.pattern = void 0, this.maxLength = 255, this.patternError = "", this.requiredError = "", this.value = void 0, this.error = "";
15118
+ super(), this.__registerHost(), this.__attachShadow(), this.nylasFormInputChanged = te(this, "nylasFormInputChanged", 7), this.nylasFormInputFocused = te(this, "nylasFormInputFocused", 7), this.nylasFormInputBlurred = te(this, "nylasFormInputBlurred", 7), this.name = "input", this.defaultValue = void 0, this.label = "", this.type = "text", this.placeholder = Vm[this.type], this.required = !1, this.readOnly = !1, this.autoFocus = !1, this.pattern = void 0, this.maxLength = 255, this.patternError = "", this.requiredError = "", this.value = void 0, this.error = "";
15119
15119
  }
15120
15120
  handleDefaultValueChange(e) {
15121
15121
  this.value = to(e), this.value && this.validatePattern(this.value);
@@ -15253,19 +15253,30 @@ function w4() {
15253
15253
  }
15254
15254
  const z7 = ':host{display:block;position:relative;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;width:100%}@media screen and (max-width: 768px){:host{position:unset}}label{display:flex;color:var(--nylas-base-800, #293056);font-size:14px;font-style:normal;font-weight:400;line-height:150%;flex-direction:column;gap:4px;font-family:var(--nylas-font-family);font-size:16px;color:var(--nylas-base-800)}label.error{color:var(--nylas-error)}label span.required{color:var(--nylas-error);padding:0 0.25rem}label p{margin:0}label .error{color:var(--nylas-error)}.dropdown{display:inline-block;width:inherit}.dropbtn{color:var(--nylas-base-800);padding:14px;font-size:1rem;font-family:var(--nylas-font-family);cursor:pointer;display:flex;justify-content:space-between;gap:0.5rem;background:transparent;border:1px solid var(--nylas-base-300);border-radius:var(--nylas-border-radius-2x)}.dropbtn.error{border:1px solid var(--nylas-error)}.dropbtn.focus{background:transparent}.dropbtn:hover,.dropbtn:active{outline:1px solid var(--nylas-primary)}.dropbtn:active{outline:2px solid var(--nylas-primary)}.dropbtn span.chevron{display:flex;align-self:center}.dropbtn span.open{transform:rotate(90deg)}.dropbtn span.closed{transform:rotate(270deg)}.dropbtn span.selected-option{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:144px;font-size:14px;line-height:20px}@media screen and (max-width: 768px){.dropbtn span.selected-option{max-width:124px;font-size:16px}}.dropdown-content{display:block;margin-top:0.5rem;background-color:var(--nylas-base-0);width:100%;max-height:336px;overflow:auto;z-index:1;border-radius:4px;position:absolute;box-shadow:0px 4px 6px -2px rgba(0, 0, 0, 0.05);box-shadow:0px 10px 15px -3px rgba(0, 0, 0, 0.1)}@media screen and (max-width: 768px){.dropdown-content{right:0;width:325px;max-width:unset}}.search-box{border-bottom:1px solid var(--nylas-base-200);padding:10px;position:sticky;top:0;background:var(--nylas-base-0)}.search-box .icon{position:absolute;top:1.25rem;left:1.25rem;color:var(--nylas-base-300)}.dropdown-content ul{padding:0;list-style-type:none;color:var(--nylas-base-900);max-height:336px}.dropdown-content ul li{padding:16px, 12px, 16px, 12px;color:black;padding:12px 16px;text-decoration:none;display:block;font-family:inherit;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left;cursor:pointer}.dropdown-content ul li:hover,.dropdown-content ul li:focus{background-color:var(--nylas-base-100)}.dropdown-content .selected{background-color:#e7e7e7}input[type=text]{width:-webkit-fill-available;padding:inherit;border:1px solid #ccc;border-radius:4px;position:sticky;background:no-repeat scroll 7px 7px;padding-left:30px;background-size:16px 16px}', p7 = z7, c7 = a2(class extends s2 {
15255
15255
  constructor() {
15256
- super(), this.__registerHost(), this.__attachShadow(), this.nylasFormDropdownChanged = Ee(this, "nylasFormDropdownChanged", 7), this.componentType = "select-dropdown", this.name = void 0, this.options = [], this.defaultSelectedOption = null, this.withSearch = !0, this.label = void 0, this.required = !1, this.pluralizedLabel = "", this.dropdownButtonText = void 0, this.withChevron = !0, this.selectedOption = void 0, this.isOpen = !1, this.searchValue = "", this.filteredOptions = [...this.options], this.ariaActivedescendant = "", this.errorMessage = "";
15256
+ super(), this.__registerHost(), this.__attachShadow(), this.nylasFormDropdownChanged = te(this, "nylasFormDropdownChanged", 7), this.nylasFormDropdownDefaultSelected = te(this, "nylasFormDropdownDefaultSelected", 7), this.componentType = "select-dropdown", this.name = void 0, this.options = [], this.defaultSelectedOption = null, this.withSearch = !0, this.label = void 0, this.required = !1, this.pluralizedLabel = "", this.dropdownButtonText = void 0, this.withChevron = !0, this.selectedOption = void 0, this.isOpen = !1, this.searchValue = "", this.filteredOptions = [...this.options], this.ariaActivedescendant = "", this.errorMessage = "";
15257
15257
  }
15258
15258
  optionsChangedHandler(e, M) {
15259
15259
  e !== M && (this.filteredOptions = e);
15260
15260
  }
15261
15261
  defaultSelectedOptionChangedHandler(e, M) {
15262
- typeof e > "u" || (e == null ? void 0 : e.label) === (M == null ? void 0 : M.label) || (this.selectedOption = e);
15262
+ typeof e > "u" || (e == null ? void 0 : e.label) === (M == null ? void 0 : M.label) || (this.selectedOption = e, this.nylasFormDropdownDefaultSelected.emit({
15263
+ value: (e == null ? void 0 : e.value) || "",
15264
+ name: this.name,
15265
+ error: this.errorMessage,
15266
+ label: this.label
15267
+ }));
15263
15268
  }
15264
15269
  componentWillLoad() {
15265
15270
  this.el.setAttribute("component-type", this.componentType);
15266
15271
  }
15267
15272
  componentDidLoad() {
15268
- this.filteredOptions = this.options, this.selectedOption = this.defaultSelectedOption, !this.selectedOption && this.options.length > 0 && (this.selectedOption = this.options[0]);
15273
+ var e;
15274
+ this.filteredOptions = this.options, this.selectedOption = this.defaultSelectedOption, !this.selectedOption && this.options.length > 0 && (this.selectedOption = this.options[0]), this.nylasFormDropdownDefaultSelected.emit({
15275
+ value: ((e = this.selectedOption) == null ? void 0 : e.value) || "",
15276
+ name: this.name,
15277
+ error: this.errorMessage,
15278
+ label: this.label
15279
+ });
15269
15280
  }
15270
15281
  handleBookingFormSubmitted(e) {
15271
15282
  var M;
@@ -15339,7 +15350,7 @@ const z7 = ':host{display:block;position:relative;--nylas-primary:#2563eb;--nyla
15339
15350
  }
15340
15351
  render() {
15341
15352
  const e = this.generateButtonText(this.selectedOption, this.dropdownButtonText);
15342
- return E("div", { key: "45abbbfaacb891e1d331e42f822a5a2b4e12289c", class: "dropdown", part: "sd_dropdown" }, E("label", { key: "aad1cd53c176003fe04ae372aebc4743cb4830a0", part: "sd_dropdown_label", class: { error: !!this.errorMessage } }, this.label && E("p", null, E("span", { class: "label" }, this.label), this.required && E("span", { class: "required" }, "*")), E("button", { key: "5feca05e8b0ef951b8043a4bfeaa25f0de6d4789", part: "sd_dropdown-button", class: { dropbtn: !0, open: this.isOpen, error: !!this.errorMessage }, onClick: () => this.toggleDropdown(), "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? "true" : "false", "aria-label": this.name, onKeyDown: (M) => this.handleSelectButtonKeyDown(M) }, E("slot", { key: "410360c7661bfde11430153da1ff97b011c46626", name: "select-icon", "aria-hidden": "true" }), E("span", { key: "c87c03c32ef91c57ed054a35931c49df7c796e49", class: "selected-option", part: "sd_dropdown-button-selected-label" }, e), this.withChevron && E("span", { class: {
15353
+ return E("div", { key: "4b724d892194708b2dcd0ed74c8e23486ba2b4f7", class: "dropdown", part: "sd_dropdown" }, E("label", { key: "06d33f4f5daa7c09eed054505989210e35c2beb5", part: "sd_dropdown_label", class: { error: !!this.errorMessage } }, this.label && E("p", null, E("span", { class: "label" }, this.label), this.required && E("span", { class: "required" }, "*")), E("button", { key: "8e5952f7e2a1279670304e82f329da3e8e60522a", part: "sd_dropdown-button", class: { dropbtn: !0, open: this.isOpen, error: !!this.errorMessage }, onClick: () => this.toggleDropdown(), "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? "true" : "false", "aria-label": this.name, onKeyDown: (M) => this.handleSelectButtonKeyDown(M) }, E("slot", { key: "aece407da3b35858b9ec1248d09447706b3120cc", name: "select-icon", "aria-hidden": "true" }), E("span", { key: "55aae4a92f862c81533635999fb60693705cb12b", class: "selected-option", part: "sd_dropdown-button-selected-label" }, e), this.withChevron && E("span", { class: {
15343
15354
  open: this.isOpen,
15344
15355
  closed: !this.isOpen,
15345
15356
  chevron: !0
@@ -15613,7 +15624,7 @@ function Up(b, e, M) {
15613
15624
  }
15614
15625
  return !1;
15615
15626
  }
15616
- function ae(b, e, M, o) {
15627
+ function se(b, e, M, o) {
15617
15628
  for (var t = 0, z = 0, p = b.children; z < p.length; ) {
15618
15629
  if (p[z].style.display !== "none" && p[z] !== Q.ghost && (o || p[z] !== Q.dragged) && W1(p[z], M.draggable, b, !1)) {
15619
15630
  if (t === e)
@@ -15832,7 +15843,7 @@ var G2 = [], io = {
15832
15843
  }), t;
15833
15844
  }
15834
15845
  };
15835
- function Te(b) {
15846
+ function ve(b) {
15836
15847
  var e = b.sortable, M = b.rootEl, o = b.name, t = b.targetEl, z = b.cloneEl, p = b.toEl, c = b.fromEl, n = b.oldIndex, O = b.newIndex, r = b.oldDraggableIndex, i = b.newDraggableIndex, a = b.originalEvent, s = b.putSortable, A = b.extraEventProperties;
15837
15848
  if (e = e || M && M[J0], !!e) {
15838
15849
  var h, l = e.options, w = "on" + o.charAt(0).toUpperCase() + o.substr(1);
@@ -15857,7 +15868,7 @@ var L7 = ["evt"], o1 = function(e, M) {
15857
15868
  lastDownEl: Ub,
15858
15869
  cloneEl: w0,
15859
15870
  cloneHidden: W2,
15860
- dragStarted: ve,
15871
+ dragStarted: Xe,
15861
15872
  putSortable: Y0,
15862
15873
  activeSortable: Q.active,
15863
15874
  originalEvent: t,
@@ -15883,7 +15894,7 @@ var L7 = ["evt"], o1 = function(e, M) {
15883
15894
  }, z));
15884
15895
  };
15885
15896
  function e1(b) {
15886
- Te(G1({
15897
+ ve(G1({
15887
15898
  putSortable: Y0,
15888
15899
  cloneEl: w0,
15889
15900
  targetEl: S,
@@ -15894,7 +15905,7 @@ function e1(b) {
15894
15905
  newDraggableIndex: q2
15895
15906
  }, b));
15896
15907
  }
15897
- var S, k0, o0, v0, E2, Ub, w0, W2, oe, r1, _e, q2, vb, Y0, ee = !1, hM = !1, RM = [], X2, B1, ao, so, Yp, Gp, ve, V2, $e, Pe = !1, Xb = !1, Hb, G0, uo = [], zt = !1, gM = [], VM = typeof document < "u", wb = E4, Vp = sb || l2 ? "cssFloat" : "float", B7 = VM && !x4 && !E4 && "draggable" in document.createElement("div"), $4 = function() {
15908
+ var S, k0, o0, v0, E2, Ub, w0, W2, oe, r1, _e, q2, vb, Y0, ee = !1, hM = !1, RM = [], X2, B1, ao, so, Yp, Gp, Xe, V2, $e, Pe = !1, Xb = !1, Hb, G0, uo = [], zt = !1, gM = [], VM = typeof document < "u", wb = E4, Vp = sb || l2 ? "cssFloat" : "float", B7 = VM && !x4 && !E4 && "draggable" in document.createElement("div"), $4 = function() {
15898
15909
  if (VM) {
15899
15910
  if (l2)
15900
15911
  return !1;
@@ -15902,7 +15913,7 @@ var S, k0, o0, v0, E2, Ub, w0, W2, oe, r1, _e, q2, vb, Y0, ee = !1, hM = !1, RM
15902
15913
  return b.style.cssText = "pointer-events:auto", b.style.pointerEvents === "auto";
15903
15914
  }
15904
15915
  }(), P4 = function(e, M) {
15905
- var o = F(e), t = parseInt(o.width) - parseInt(o.paddingLeft) - parseInt(o.paddingRight) - parseInt(o.borderLeftWidth) - parseInt(o.borderRightWidth), z = ae(e, 0, M), p = ae(e, 1, M), c = z && F(z), n = p && F(p), O = c && parseInt(c.marginLeft) + parseInt(c.marginRight) + N0(z).width, r = n && parseInt(n.marginLeft) + parseInt(n.marginRight) + N0(p).width;
15916
+ var o = F(e), t = parseInt(o.width) - parseInt(o.paddingLeft) - parseInt(o.paddingRight) - parseInt(o.borderLeftWidth) - parseInt(o.borderRightWidth), z = se(e, 0, M), p = se(e, 1, M), c = z && F(z), n = p && F(p), O = c && parseInt(c.marginLeft) + parseInt(c.marginRight) + N0(z).width, r = n && parseInt(n.marginLeft) + parseInt(n.marginRight) + N0(p).width;
15906
15917
  if (o.display === "flex")
15907
15918
  return o.flexDirection === "column" || o.flexDirection === "column-reverse" ? "vertical" : "horizontal";
15908
15919
  if (o.display === "grid")
@@ -16209,7 +16220,7 @@ Q.prototype = /** @lends Sortable.prototype */
16209
16220
  sortable: o,
16210
16221
  name: "clone"
16211
16222
  }));
16212
- }), !M && E0(S, z.dragClass, !0), M ? (hM = !0, o._loopId = setInterval(o._emulateDragOver, 50)) : (n0(document, "mouseup", o._onDrop), n0(document, "touchend", o._onDrop), n0(document, "touchcancel", o._onDrop), t && (t.effectAllowed = "move", z.setData && z.setData.call(o, t, S)), r0(document, "drop", o), F(S, "transform", "translateZ(0)")), ee = !0, o._dragStartId = jb(o._dragStarted.bind(o, M, e)), r0(document, "selectstart", o), ve = !0, Ce && F(document.body, "user-select", "none");
16223
+ }), !M && E0(S, z.dragClass, !0), M ? (hM = !0, o._loopId = setInterval(o._emulateDragOver, 50)) : (n0(document, "mouseup", o._onDrop), n0(document, "touchend", o._onDrop), n0(document, "touchcancel", o._onDrop), t && (t.effectAllowed = "move", z.setData && z.setData.call(o, t, S)), r0(document, "drop", o), F(S, "transform", "translateZ(0)")), ee = !0, o._dragStartId = jb(o._dragStarted.bind(o, M, e)), r0(document, "selectstart", o), Xe = !0, Ce && F(document.body, "user-select", "none");
16213
16224
  },
16214
16225
  // Returns true - if no further action is needed (either inserted or another condition)
16215
16226
  _onDragOver: function(e) {
@@ -16267,7 +16278,7 @@ Q.prototype = /** @lends Sortable.prototype */
16267
16278
  if (T && M === e.target && (o = T), o && (z = N0(o)), Eb(v0, M, S, t, o, z, e, !!o) !== !1)
16268
16279
  return w(), T && T.nextSibling ? M.insertBefore(S, T.nextSibling) : M.appendChild(S), k0 = M, K(), x(!0);
16269
16280
  } else if (T && w7(e, s, this)) {
16270
- var I = ae(M, 0, c, !0);
16281
+ var I = se(M, 0, c, !0);
16271
16282
  if (I === S)
16272
16283
  return x(!1);
16273
16284
  if (o = I, z = N0(o), Eb(v0, M, S, t, o, z, e, !1) !== !1)
@@ -16313,7 +16324,7 @@ Q.prototype = /** @lends Sortable.prototype */
16313
16324
  this._nulling();
16314
16325
  return;
16315
16326
  }
16316
- ee = !1, Xb = !1, Pe = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), pt(this.cloneId), pt(this._dragStartId), this.nativeDraggable && (n0(document, "drop", this), n0(M, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Ce && F(document.body, "user-select", ""), F(S, "transform", ""), e && (ve && (e.cancelable && e.preventDefault(), !o.dropBubble && e.stopPropagation()), o0 && o0.parentNode && o0.parentNode.removeChild(o0), (v0 === k0 || Y0 && Y0.lastPutMode !== "clone") && w0 && w0.parentNode && w0.parentNode.removeChild(w0), S && (this.nativeDraggable && n0(S, "dragend", this), Ao(S), S.style["will-change"] = "", ve && !ee && E0(S, Y0 ? Y0.options.ghostClass : this.options.ghostClass, !1), E0(S, this.options.chosenClass, !1), e1({
16327
+ ee = !1, Xb = !1, Pe = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), pt(this.cloneId), pt(this._dragStartId), this.nativeDraggable && (n0(document, "drop", this), n0(M, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Ce && F(document.body, "user-select", ""), F(S, "transform", ""), e && (Xe && (e.cancelable && e.preventDefault(), !o.dropBubble && e.stopPropagation()), o0 && o0.parentNode && o0.parentNode.removeChild(o0), (v0 === k0 || Y0 && Y0.lastPutMode !== "clone") && w0 && w0.parentNode && w0.parentNode.removeChild(w0), S && (this.nativeDraggable && n0(S, "dragend", this), Ao(S), S.style["will-change"] = "", Xe && !ee && E0(S, Y0 ? Y0.options.ghostClass : this.options.ghostClass, !1), E0(S, this.options.chosenClass, !1), e1({
16317
16328
  sortable: this,
16318
16329
  name: "unchoose",
16319
16330
  toEl: k0,
@@ -16360,7 +16371,7 @@ Q.prototype = /** @lends Sortable.prototype */
16360
16371
  }), this.save()))), this._nulling();
16361
16372
  },
16362
16373
  _nulling: function() {
16363
- o1("nulling", this), v0 = S = k0 = o0 = E2 = w0 = Ub = W2 = X2 = B1 = ve = r1 = q2 = oe = _e = V2 = $e = Y0 = vb = Q.dragged = Q.ghost = Q.clone = Q.active = null, gM.forEach(function(e) {
16374
+ o1("nulling", this), v0 = S = k0 = o0 = E2 = w0 = Ub = W2 = X2 = B1 = Xe = r1 = q2 = oe = _e = V2 = $e = Y0 = vb = Q.dragged = Q.ghost = Q.clone = Q.active = null, gM.forEach(function(e) {
16364
16375
  e.checked = !0;
16365
16376
  }), gM.length = ao = so = 0;
16366
16377
  },
@@ -16474,7 +16485,7 @@ function X7() {
16474
16485
  zt = !1;
16475
16486
  }
16476
16487
  function w7(b, e, M) {
16477
- var o = N0(ae(M.el, 0, M.options, !0)), t = _4(M.el, M.options, o0), z = 10;
16488
+ var o = N0(se(M.el, 0, M.options, !0)), t = _4(M.el, M.options, o0), z = 10;
16478
16489
  return e ? b.clientX < t.left - z || b.clientY < o.top && b.clientX < o.right : b.clientY < t.top - z || b.clientY < o.bottom && b.clientX < o.left;
16479
16490
  }
16480
16491
  function E7(b, e, M) {
@@ -16535,7 +16546,7 @@ Q.utils = {
16535
16546
  nextTick: jb,
16536
16547
  cancelNextTick: pt,
16537
16548
  detectDirection: P4,
16538
- getChild: ae
16549
+ getChild: se
16539
16550
  };
16540
16551
  Q.get = function(b) {
16541
16552
  return b[J0];
@@ -16553,7 +16564,7 @@ Q.create = function(b, e) {
16553
16564
  return new Q(b, e);
16554
16565
  };
16555
16566
  Q.version = l7;
16556
- var I0 = [], Xe, ct, nt = !1, lo, qo, mM, we;
16567
+ var I0 = [], we, ct, nt = !1, lo, qo, mM, Ee;
16557
16568
  function D7() {
16558
16569
  function b() {
16559
16570
  this.defaults = {
@@ -16579,7 +16590,7 @@ function D7() {
16579
16590
  this.sortable.nativeDraggable ? n0(document, "dragover", this._handleAutoScroll) : (n0(document, "pointermove", this._handleFallbackAutoScroll), n0(document, "touchmove", this._handleFallbackAutoScroll), n0(document, "mousemove", this._handleFallbackAutoScroll)), Kp(), Yb(), h7();
16580
16591
  },
16581
16592
  nulling: function() {
16582
- mM = ct = Xe = nt = we = lo = qo = null, I0.length = 0;
16593
+ mM = ct = we = nt = Ee = lo = qo = null, I0.length = 0;
16583
16594
  },
16584
16595
  _handleFallbackAutoScroll: function(M) {
16585
16596
  this._handleAutoScroll(M, !0);
@@ -16589,7 +16600,7 @@ function D7() {
16589
16600
  if (mM = M, o || this.options.forceAutoScrollFallback || sb || l2 || Ce) {
16590
16601
  fo(M, this.options, c, o);
16591
16602
  var n = B2(c, !0);
16592
- nt && (!we || z !== lo || p !== qo) && (we && Kp(), we = setInterval(function() {
16603
+ nt && (!Ee || z !== lo || p !== qo) && (Ee && Kp(), Ee = setInterval(function() {
16593
16604
  var O = B2(document.elementFromPoint(z, p), !0);
16594
16605
  O !== n && (n = O, Yb()), fo(M, t.options, O, o);
16595
16606
  }, 10), lo = z, qo = p);
@@ -16612,13 +16623,13 @@ function Yb() {
16612
16623
  }), I0 = [];
16613
16624
  }
16614
16625
  function Kp() {
16615
- clearInterval(we);
16626
+ clearInterval(Ee);
16616
16627
  }
16617
16628
  var fo = C4(function(b, e, M, o) {
16618
16629
  if (e.scroll) {
16619
16630
  var t = (b.touches ? b.touches[0] : b).clientX, z = (b.touches ? b.touches[0] : b).clientY, p = e.scrollSensitivity, c = e.scrollSpeed, n = H1(), O = !1, r;
16620
- ct !== M && (ct = M, Yb(), Xe = e.scroll, r = e.scrollFn, Xe === !0 && (Xe = B2(M, !0)));
16621
- var i = 0, a = Xe;
16631
+ ct !== M && (ct = M, Yb(), we = e.scroll, r = e.scrollFn, we === !0 && (we = B2(M, !0)));
16632
+ var i = 0, a = we;
16622
16633
  do {
16623
16634
  var s = a, A = N0(s), h = A.top, l = A.bottom, w = A.left, x = A.right, K = A.width, T = A.height, I = void 0, H = void 0, e0 = s.scrollWidth, O0 = s.scrollHeight, J = F(s), V = s.scrollLeft, W = s.scrollTop;
16624
16635
  s === n ? (I = K < e0 && (J.overflowX === "auto" || J.overflowX === "scroll" || J.overflowX === "visible"), H = T < O0 && (J.overflowY === "auto" || J.overflowY === "scroll" || J.overflowY === "visible")) : (I = K < e0 && (J.overflowX === "auto" || J.overflowX === "scroll"), H = T < O0 && (J.overflowY === "auto" || J.overflowY === "scroll"));
@@ -16659,7 +16670,7 @@ Oz.prototype = {
16659
16670
  onSpill: function(e) {
16660
16671
  var M = e.dragEl, o = e.putSortable;
16661
16672
  this.sortable.captureAnimationState(), o && o.captureAnimationState();
16662
- var t = ae(this.sortable.el, this.startIndex, this.options);
16673
+ var t = se(this.sortable.el, this.startIndex, this.options);
16663
16674
  t ? this.sortable.el.insertBefore(M, t) : this.sortable.el.appendChild(M), this.sortable.animateAll(), o && o.animateAll();
16664
16675
  },
16665
16676
  drop: H4
@@ -16722,7 +16733,7 @@ function $7(b, e) {
16722
16733
  var M = b.parentNode, o = e.parentNode, t, z;
16723
16734
  !M || !o || M.isEqualNode(e) || o.isEqualNode(b) || (t = C0(b), z = C0(e), M.isEqualNode(o) && t < z && z++, M.insertBefore(e, M.children[t]), o.insertBefore(b, o.children[z]));
16724
16735
  }
16725
- var M0 = [], O1 = [], me, N1, Le = !1, t1 = !1, K2 = !1, L0, Be, xb;
16736
+ var M0 = [], O1 = [], Le, N1, Be = !1, t1 = !1, K2 = !1, L0, Ne, xb;
16726
16737
  function P7() {
16727
16738
  function b(e) {
16728
16739
  for (var M in this)
@@ -16790,10 +16801,10 @@ function P7() {
16790
16801
  var z = N0(L0, !1, !0, !0);
16791
16802
  M0.forEach(function(p) {
16792
16803
  p !== L0 && jp(p, z);
16793
- }), t1 = !0, Le = !0;
16804
+ }), t1 = !0, Be = !0;
16794
16805
  }
16795
16806
  t.animateAll(function() {
16796
- t1 = !1, Le = !1, o.options.animation && M0.forEach(function(p) {
16807
+ t1 = !1, Be = !1, o.options.animation && M0.forEach(function(p) {
16797
16808
  ro(p);
16798
16809
  }), o.options.sort && Sb();
16799
16810
  });
@@ -16815,7 +16826,7 @@ function P7() {
16815
16826
  dragOverCompleted: function(M) {
16816
16827
  var o = M.sortable, t = M.isOwner, z = M.insertion, p = M.activeSortable, c = M.parentEl, n = M.putSortable, O = this.options;
16817
16828
  if (z) {
16818
- if (t && p._hideClone(), Le = !1, O.animation && M0.length > 1 && (t1 || !t && !p.options.sort && !n)) {
16829
+ if (t && p._hideClone(), Be = !1, O.animation && M0.length > 1 && (t1 || !t && !p.options.sort && !n)) {
16819
16830
  var r = N0(L0, !1, !0, !0);
16820
16831
  M0.forEach(function(a) {
16821
16832
  a !== L0 && (jp(a, r), c.appendChild(a));
@@ -16827,8 +16838,8 @@ function P7() {
16827
16838
  p._showClone(o), p.options.animation && !xb && i && O1.forEach(function(a) {
16828
16839
  p.addAnimationState({
16829
16840
  target: a,
16830
- rect: Be
16831
- }), a.fromRect = Be, a.thisAnimationDuration = null;
16841
+ rect: Ne
16842
+ }), a.fromRect = Ne, a.thisAnimationDuration = null;
16832
16843
  });
16833
16844
  } else
16834
16845
  p._showClone(o);
@@ -16839,9 +16850,9 @@ function P7() {
16839
16850
  if (M0.forEach(function(c) {
16840
16851
  c.thisAnimationDuration = null;
16841
16852
  }), z.options.animation && !t && z.multiDrag.isMultiDrag) {
16842
- Be = g1({}, o);
16853
+ Ne = g1({}, o);
16843
16854
  var p = C2(L0, !0);
16844
- Be.top -= p.f, Be.left -= p.e;
16855
+ Ne.top -= p.f, Ne.left -= p.e;
16845
16856
  }
16846
16857
  },
16847
16858
  dragOverAnimationComplete: function() {
@@ -16853,7 +16864,7 @@ function P7() {
16853
16864
  var i = this.options, a = z.children;
16854
16865
  if (!K2)
16855
16866
  if (i.multiDragKey && !this.multiDragKeyDown && this._deselectMultiDrag(), E0(L0, i.selectedClass, !~M0.indexOf(L0)), ~M0.indexOf(L0))
16856
- M0.splice(M0.indexOf(L0), 1), me = null, Te({
16867
+ M0.splice(M0.indexOf(L0), 1), Le = null, ve({
16857
16868
  sortable: p,
16858
16869
  rootEl: t,
16859
16870
  name: "deselect",
@@ -16861,18 +16872,18 @@ function P7() {
16861
16872
  originalEvent: o
16862
16873
  });
16863
16874
  else {
16864
- if (M0.push(L0), Te({
16875
+ if (M0.push(L0), ve({
16865
16876
  sortable: p,
16866
16877
  rootEl: t,
16867
16878
  name: "select",
16868
16879
  targetEl: L0,
16869
16880
  originalEvent: o
16870
- }), o.shiftKey && me && p.el.contains(me)) {
16871
- var s = C0(me), A = C0(L0);
16881
+ }), o.shiftKey && Le && p.el.contains(Le)) {
16882
+ var s = C0(Le), A = C0(L0);
16872
16883
  if (~s && ~A && s !== A) {
16873
16884
  var h, l;
16874
16885
  for (A > s ? (l = s, h = A) : (l = A, h = s + 1); l < h; l++)
16875
- ~M0.indexOf(a[l]) || (E0(a[l], i.selectedClass, !0), M0.push(a[l]), Te({
16886
+ ~M0.indexOf(a[l]) || (E0(a[l], i.selectedClass, !0), M0.push(a[l]), ve({
16876
16887
  sortable: p,
16877
16888
  rootEl: t,
16878
16889
  name: "select",
@@ -16881,13 +16892,13 @@ function P7() {
16881
16892
  }));
16882
16893
  }
16883
16894
  } else
16884
- me = L0;
16895
+ Le = L0;
16885
16896
  N1 = r;
16886
16897
  }
16887
16898
  if (K2 && this.isMultiDrag) {
16888
16899
  if (t1 = !1, (z[J0].options.sort || z !== t) && M0.length > 1) {
16889
16900
  var w = N0(L0), x = C0(L0, ":not(." + this.options.selectedClass + ")");
16890
- if (!Le && i.animation && (L0.thisAnimationDuration = null), r.captureAnimationState(), !Le && (i.animation && (L0.fromRect = w, M0.forEach(function(T) {
16901
+ if (!Be && i.animation && (L0.thisAnimationDuration = null), r.captureAnimationState(), !Be && (i.animation && (L0.fromRect = w, M0.forEach(function(T) {
16891
16902
  if (T.thisAnimationDuration = null, T !== L0) {
16892
16903
  var I = t1 ? N0(T) : w;
16893
16904
  T.fromRect = I, r.addAnimationState({
@@ -16927,7 +16938,7 @@ function P7() {
16927
16938
  if (!(typeof K2 < "u" && K2) && N1 === this.sortable && !(M && W1(M.target, this.options.draggable, this.sortable.el, !1)) && !(M && M.button !== 0))
16928
16939
  for (; M0.length; ) {
16929
16940
  var o = M0[0];
16930
- E0(o, this.options.selectedClass, !1), M0.shift(), Te({
16941
+ E0(o, this.options.selectedClass, !1), M0.shift(), ve({
16931
16942
  sortable: this.sortable,
16932
16943
  rootEl: this.sortable.el,
16933
16944
  name: "deselect",
@@ -17025,7 +17036,7 @@ var H7 = function(b, e, M, o) {
17025
17036
  };
17026
17037
  const iz = a2(class extends s2 {
17027
17038
  constructor() {
17028
- super(), this.__registerHost(), this.__attachShadow(), this.valueChanged = Ee(this, "valueChanged", 7), this.internals = this.attachInternals(), this.selectedConfiguration = void 0, this.name = "booking-form-config", this.additonalFields = void 0, this.formFields = void 0;
17039
+ super(), this.__registerHost(), this.__attachShadow(), this.valueChanged = te(this, "valueChanged", 7), this.internals = this.attachInternals(), this.selectedConfiguration = void 0, this.name = "booking-form-config", this.additonalFields = void 0, this.formFields = void 0;
17029
17040
  }
17030
17041
  elementNameChangedHandler(e) {
17031
17042
  t2("nylas-calendar-picker", "elementNameChangedHandler", e), this.host.setAttribute("name", e);