@nylas/react 1.3.1 → 1.3.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 (125) hide show
  1. package/dist/{add-circle-icon.entry-d8358e3f.js → add-circle-icon.entry-0ea05c5b.js} +1 -1
  2. package/dist/{add-circle-icon.entry-606d3096.cjs → add-circle-icon.entry-10f2c319.cjs} +1 -1
  3. package/dist/{archive-icon.entry-e8ce8c7d.cjs → archive-icon.entry-7eeea6f4.cjs} +1 -1
  4. package/dist/{archive-icon.entry-8c6d31f2.js → archive-icon.entry-a0af58f2.js} +1 -1
  5. package/dist/{arrow-icon.entry-d950ddce.js → arrow-icon.entry-7fd7c18e.js} +1 -1
  6. package/dist/{arrow-icon.entry-13d23d01.cjs → arrow-icon.entry-954f2ba8.cjs} +1 -1
  7. package/dist/{bold-icon.entry-5382fea2.js → bold-icon.entry-690ecac8.js} +1 -1
  8. package/dist/{bold-icon.entry-12072568.cjs → bold-icon.entry-e970c498.cjs} +1 -1
  9. package/dist/{button-component_2.entry-4aa63891.js → button-component_2.entry-b57d03fc.js} +1 -1
  10. package/dist/{button-component_2.entry-d34ed360.cjs → button-component_2.entry-b7d39903.cjs} +1 -1
  11. package/dist/{calendar-agenda-fill-icon_54.entry-50c9ed7b.js → calendar-agenda-fill-icon_53.entry-7792b45c.js} +432 -442
  12. package/dist/calendar-agenda-fill-icon_53.entry-89e5ac45.cjs +9 -0
  13. package/dist/{calendar-cancel-icon.entry-64ea7038.js → calendar-cancel-icon.entry-5757c056.js} +1 -1
  14. package/dist/{calendar-cancel-icon.entry-b13aa245.cjs → calendar-cancel-icon.entry-8cd02237.cjs} +1 -1
  15. package/dist/{calendar-check-icon_2.entry-9cbe60a8.cjs → calendar-check-icon_2.entry-4f59d206.cjs} +1 -1
  16. package/dist/{calendar-check-icon_2.entry-935310fc.js → calendar-check-icon_2.entry-6864b9d5.js} +1 -1
  17. package/dist/{calendar-icon.entry-0c560a35.cjs → calendar-icon.entry-0b1edb49.cjs} +1 -1
  18. package/dist/{calendar-icon.entry-2448eea2.js → calendar-icon.entry-3798880d.js} +1 -1
  19. package/dist/checkbox-component_3.entry-10293364.cjs +1 -0
  20. package/dist/checkbox-component_3.entry-3d9fa7b5.js +140 -0
  21. package/dist/{chevron-icon_3.entry-1f72ef71.js → chevron-icon_3.entry-43e83594.js} +11 -11
  22. package/dist/{chevron-icon_3.entry-da1751d2.cjs → chevron-icon_3.entry-a5175d87.cjs} +1 -1
  23. package/dist/{clock-icon_4.entry-4502c9f0.js → clock-icon_4.entry-219733d8.js} +1 -1
  24. package/dist/{clock-icon_4.entry-b87aaaa9.cjs → clock-icon_4.entry-76751b46.cjs} +1 -1
  25. package/dist/{close-icon.entry-e96749ed.js → close-icon.entry-286fc5ca.js} +1 -1
  26. package/dist/{close-icon.entry-92e93293.cjs → close-icon.entry-cecd3cdd.cjs} +1 -1
  27. package/dist/{constants-24eca8c9-922dc05c.js → constants-54af2051-767e8462.js} +12 -0
  28. package/dist/{constants-24eca8c9-d0d9f3ec.cjs → constants-54af2051-a3596673.cjs} +1 -1
  29. package/dist/{copy-icon.entry-7c958d7c.js → copy-icon.entry-121dd297.js} +1 -1
  30. package/dist/{copy-icon.entry-19bb7d2f.cjs → copy-icon.entry-d4835d9a.cjs} +1 -1
  31. package/dist/{delete-icon.entry-41c7d463.cjs → delete-icon.entry-14249f70.cjs} +1 -1
  32. package/dist/{delete-icon.entry-59c9ca04.js → delete-icon.entry-497ac8a2.js} +1 -1
  33. package/dist/{document-refresh-icon.entry-afc75ddb.cjs → document-refresh-icon.entry-c0eacb66.cjs} +1 -1
  34. package/dist/{document-refresh-icon.entry-c32cda4f.js → document-refresh-icon.entry-f265bb1b.js} +1 -1
  35. package/dist/elements/index.d.ts +1 -0
  36. package/dist/{feedbackSync-b4015b72-0785986b.js → feedbackSync-e5cb0245-d84015c5.js} +1 -1
  37. package/dist/{feedbackSync-b4015b72-d343d411.cjs → feedbackSync-e5cb0245-ea7ddac9.cjs} +1 -1
  38. package/dist/{folder-icon.entry-5dcf707b.js → folder-icon.entry-d22b3e80.js} +1 -1
  39. package/dist/{folder-icon.entry-61ccaddd.cjs → folder-icon.entry-e4806f0a.cjs} +1 -1
  40. package/dist/{forward-icon.entry-3d598cb4.cjs → forward-icon.entry-42b98c73.cjs} +1 -1
  41. package/dist/{forward-icon.entry-5a156d37.js → forward-icon.entry-b6711af7.js} +1 -1
  42. package/dist/{globe-icon.entry-a88502ce.cjs → globe-icon.entry-18605371.cjs} +1 -1
  43. package/dist/{globe-icon.entry-99e8bebf.js → globe-icon.entry-4c5d6be0.js} +1 -1
  44. package/dist/google-logo-icon_4.entry-007f2813.cjs +1 -0
  45. package/dist/{google-logo-icon_4.entry-531021bd.js → google-logo-icon_4.entry-c3bae7b7.js} +176 -168
  46. package/dist/{inbox-icon.entry-6eadce9b.cjs → inbox-icon.entry-02c59267.cjs} +1 -1
  47. package/dist/{inbox-icon.entry-b2a2f48e.js → inbox-icon.entry-ae4383af.js} +1 -1
  48. package/dist/{index-13a43508.js → index-ad112f6a.js} +166 -161
  49. package/dist/{index-7dbf0ae7.cjs → index-bbbc79ad.cjs} +17 -17
  50. package/dist/{index.es-aa323594-17c2a3f6.js → index.es-e9d66a9b-62be34ce.js} +214 -211
  51. package/dist/{index.es-aa323594-84331fa3.cjs → index.es-e9d66a9b-a29322e0.cjs} +5 -5
  52. package/dist/{info-icon_2.entry-c6e650c4.js → info-icon_2.entry-3f143408.js} +5 -5
  53. package/dist/{info-icon_2.entry-f53d81e5.cjs → info-icon_2.entry-d10f1df5.cjs} +1 -1
  54. package/dist/{input-color-picker.entry-16fa8456.cjs → input-color-picker.entry-45caaa1d.cjs} +1 -1
  55. package/dist/{input-color-picker.entry-cd398537.js → input-color-picker.entry-8ce41f49.js} +1 -1
  56. package/dist/{input-component.entry-74b63249.cjs → input-component.entry-37b106dc.cjs} +1 -1
  57. package/dist/{input-component.entry-b471f023.js → input-component.entry-6db98fb0.js} +1 -1
  58. package/dist/{input-dropdown.entry-32b4b8be.cjs → input-dropdown.entry-1a2cdf40.cjs} +1 -1
  59. package/dist/{input-dropdown.entry-14e1f6cb.js → input-dropdown.entry-ec3d04ad.js} +1 -1
  60. package/dist/{italic-icon.entry-8a1a7568.js → italic-icon.entry-36d1e644.js} +1 -1
  61. package/dist/{italic-icon.entry-c9ae0186.cjs → italic-icon.entry-b5e4eec9.cjs} +1 -1
  62. package/dist/{multi-select-dropdown.entry-58b860a0.cjs → multi-select-dropdown.entry-00e43a89.cjs} +1 -1
  63. package/dist/{multi-select-dropdown.entry-bc4901aa.js → multi-select-dropdown.entry-6f22740f.js} +1 -1
  64. package/dist/nylas-booked-event-card_12.entry-4f115674.cjs +1 -0
  65. package/dist/{nylas-booked-event-card_12.entry-fbdb2f3d.js → nylas-booked-event-card_12.entry-cb6b2ce6.js} +270 -265
  66. package/dist/{nylas-form-card.entry-aa1d5aca.js → nylas-form-card.entry-07e46491.js} +11 -11
  67. package/dist/{nylas-form-card.entry-7e9a0cf1.cjs → nylas-form-card.entry-e2749723.cjs} +1 -1
  68. package/dist/{nylas-if-state.entry-96914d61.cjs → nylas-if-state.entry-88e01248.cjs} +1 -1
  69. package/dist/{nylas-if-state.entry-5e30f6b3.js → nylas-if-state.entry-e34c5cbb.js} +2 -2
  70. package/dist/{nylas-login.entry-e52648da.js → nylas-login.entry-a30bbd87.js} +3 -3
  71. package/dist/{nylas-login.entry-e26689b0.cjs → nylas-login.entry-ab50ca6a.cjs} +1 -1
  72. package/dist/{nylas-provider.entry-ac669351.js → nylas-provider.entry-070f8090.js} +5 -5
  73. package/dist/{nylas-provider.entry-9d43f4f0.cjs → nylas-provider.entry-7f4a1520.cjs} +1 -1
  74. package/dist/{nylas-scheduler-editor.entry-9655ce2e.js → nylas-scheduler-editor.entry-23e68865.js} +3 -3
  75. package/dist/{nylas-scheduler-editor.entry-0f1370d9.cjs → nylas-scheduler-editor.entry-287ca230.cjs} +2 -2
  76. package/dist/{nylas-scheduling.entry-14d4cd69.js → nylas-scheduling.entry-19fca55a.js} +8 -8
  77. package/dist/{nylas-scheduling.entry-ab10f8a4.cjs → nylas-scheduling.entry-c882ee9a.cjs} +1 -1
  78. package/dist/nylas-time-window-picker_2.entry-3d24eec4.js +336 -0
  79. package/dist/nylas-time-window-picker_2.entry-9a216230.cjs +1 -0
  80. package/dist/{person-icon.entry-40b5a8c5.js → person-icon.entry-a6d86572.js} +1 -1
  81. package/dist/{person-icon.entry-a45918af.cjs → person-icon.entry-b26a199b.cjs} +1 -1
  82. package/dist/{play-icon.entry-c5757946.cjs → play-icon.entry-5fc66fe6.cjs} +1 -1
  83. package/dist/{play-icon.entry-b2315f8c.js → play-icon.entry-87939760.js} +1 -1
  84. package/dist/react.cjs +1 -1
  85. package/dist/react.js +73 -72
  86. package/dist/{refresh-icon.entry-b9afd192.cjs → refresh-icon.entry-3a8ae0f6.cjs} +1 -1
  87. package/dist/{refresh-icon.entry-37d038f8.js → refresh-icon.entry-820111be.js} +1 -1
  88. package/dist/{register-component-555477e7-42247763.js → register-component-5d7bcc15-35e4a5a0.js} +12 -12
  89. package/dist/{register-component-555477e7-ecafba1c.cjs → register-component-5d7bcc15-d9900fbc.cjs} +1 -1
  90. package/dist/{reply-all-icon.entry-89fd0e10.js → reply-all-icon.entry-5fbf1103.js} +1 -1
  91. package/dist/{reply-all-icon.entry-07a6783a.cjs → reply-all-icon.entry-864494e2.cjs} +1 -1
  92. package/dist/{reply-icon.entry-a53a6fc4.js → reply-icon.entry-7c136d06.js} +1 -1
  93. package/dist/{reply-icon.entry-8cddb112.cjs → reply-icon.entry-93084ffd.cjs} +1 -1
  94. package/dist/{scheduler-config-store-ed4a8dfd-733c6442.cjs → scheduler-config-store-ed4a8dfd-b2986359.cjs} +1 -1
  95. package/dist/{scheduler-config-store-ed4a8dfd-656579e3.js → scheduler-config-store-ed4a8dfd-f7f53255.js} +1 -1
  96. package/dist/{scheduler-store-c37aa5ca-0484b074.cjs → scheduler-store-20151a77-2dfd28c2.cjs} +1 -1
  97. package/dist/{scheduler-store-c37aa5ca-c9752707.js → scheduler-store-20151a77-4f7ffb6f.js} +2 -2
  98. package/dist/{sent-icon.entry-b740a32d.cjs → sent-icon.entry-18afc1f9.cjs} +1 -1
  99. package/dist/{sent-icon.entry-6ac749b3.js → sent-icon.entry-60f1b814.js} +1 -1
  100. package/dist/{spam-icon.entry-78cec025.cjs → spam-icon.entry-9d41427e.cjs} +1 -1
  101. package/dist/{spam-icon.entry-872ff1e4.js → spam-icon.entry-b580b108.js} +1 -1
  102. package/dist/{star-icon.entry-57246dc1.js → star-icon.entry-7cbe5a81.js} +1 -1
  103. package/dist/{star-icon.entry-ab9ad7df.cjs → star-icon.entry-8792026f.cjs} +1 -1
  104. package/dist/{stop-icon.entry-f79dce49.cjs → stop-icon.entry-5b605364.cjs} +1 -1
  105. package/dist/{stop-icon.entry-5054fa33.js → stop-icon.entry-ae629874.js} +1 -1
  106. package/dist/{textarea-component.entry-2967dd82.cjs → textarea-component.entry-2dae13db.cjs} +1 -1
  107. package/dist/{textarea-component.entry-15c9a676.js → textarea-component.entry-fa87a032.js} +2 -2
  108. package/dist/{time-period-selector.entry-9226fd08.js → time-period-selector.entry-0de79682.js} +2 -2
  109. package/dist/{time-period-selector.entry-a53c94c2.cjs → time-period-selector.entry-b1f5523b.cjs} +1 -1
  110. package/dist/{translate-icon.entry-52939fa4.js → translate-icon.entry-07e9c2cf.js} +1 -1
  111. package/dist/{translate-icon.entry-f4dcc479.cjs → translate-icon.entry-22ef3602.cjs} +1 -1
  112. package/dist/{trash-fill-icon.entry-b9ab3cfc.js → trash-fill-icon.entry-81ee0fdf.js} +1 -1
  113. package/dist/{trash-fill-icon.entry-7f4ddaf5.cjs → trash-fill-icon.entry-d332cf5d.cjs} +1 -1
  114. package/dist/{underline-icon.entry-c8142970.js → underline-icon.entry-dce1c48b.js} +1 -1
  115. package/dist/{underline-icon.entry-e9959c5c.cjs → underline-icon.entry-e381e3d2.cjs} +1 -1
  116. package/dist/{warning-icon.entry-00426457.js → warning-icon.entry-76d03910.js} +1 -1
  117. package/dist/{warning-icon.entry-98c0d003.cjs → warning-icon.entry-b55e52d0.cjs} +1 -1
  118. package/package.json +3 -3
  119. package/dist/calendar-agenda-fill-icon_54.entry-33d08f1a.cjs +0 -9
  120. package/dist/checkbox-component_2.entry-1e3afb3a.cjs +0 -1
  121. package/dist/checkbox-component_2.entry-ec5e75fb.js +0 -79
  122. package/dist/google-logo-icon_4.entry-9a7790d2.cjs +0 -1
  123. package/dist/nylas-booked-event-card_12.entry-f64eecaa.cjs +0 -1
  124. package/dist/nylas-time-window-picker.entry-a2f71121.js +0 -316
  125. package/dist/nylas-time-window-picker.entry-dfbd975e.cjs +0 -1
@@ -1,11 +1,11 @@
1
- import { r as b, h as s, c as x, d, D as ua, H as E, g as O, E as ue, G as se, I as it, J as st, t as Oe, K as Qn, L as ya, i as ye, M as be, O as ba } from "./index-13a43508.js";
2
- import { R as S } from "./register-component-555477e7-42247763.js";
3
- import { D as vt, T as ot, F as rt, c as ga, P as on, C as va, E as lt, R as dt, d as _a, e as Ca } from "./constants-24eca8c9-922dc05c.js";
1
+ import { r as g, h as s, c as x, d, D as ha, H as E, g as O, E as he, G as se, I as it, J as st, t as Oe, K as Qn, L as ya, i as ye, M as be, O as ba } from "./index-ad112f6a.js";
2
+ import { R as S } from "./register-component-5d7bcc15-35e4a5a0.js";
3
+ import { D as vt, T as ot, F as rt, c as ga, P as on, C as va, E as lt, R as dt, d as _a, e as Ca } from "./constants-54af2051-767e8462.js";
4
4
  import "react";
5
5
  import "react-dom";
6
6
  const wa = ".sc-calendar-agenda-fill-icon-h{display:flex}", xa = wa, ka = class {
7
7
  constructor(e) {
8
- b(this, e), this.width = "20", this.height = "20";
8
+ g(this, e), this.width = "20", this.height = "20";
9
9
  }
10
10
  render() {
11
11
  return s("svg", { key: "a275ba280fae8412c15b1fd1034e488be4cb2d27", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, s("path", { key: "a3092e55e03efede059223a3a7278761a00c07a5", d: "M14 11.5C14 12.8807 12.8807 14 11.5 14H2.5C1.11929 14 0 12.8807 0 11.5V2.5C0 1.11929 1.11929 0 2.5 0H11.5C12.8807 0 14 1.11929 14 2.5V11.5ZM11 3.5C11 3.25454 10.8231 3.05039 10.5899 3.00806L10.5 3H3.5L3.41012 3.00806C3.17688 3.05039 3 3.25454 3 3.5C3 3.74546 3.17688 3.94961 3.41012 3.99194L3.5 4H10.5L10.5899 3.99194C10.8231 3.94961 11 3.74546 11 3.5ZM11 7C11 6.75454 10.8231 6.55039 10.5899 6.50806L10.5 6.5H3.5L3.41012 6.50806C3.17688 6.55039 3 6.75454 3 7C3 7.24546 3.17688 7.44961 3.41012 7.49194L3.5 7.5H10.5L10.5899 7.49194C10.8231 7.44961 11 7.24546 11 7ZM11 10.5C11 10.2545 10.8231 10.0504 10.5899 10.0081L10.5 10H3.5L3.41012 10.0081C3.17688 10.0504 3 10.2545 3 10.5C3 10.7455 3.17688 10.9496 3.41012 10.9919L3.5 11H10.5L10.5899 10.9919C10.8231 10.9496 11 10.7455 11 10.5Z", fill: "currentColor" }));
@@ -14,7 +14,7 @@ const wa = ".sc-calendar-agenda-fill-icon-h{display:flex}", xa = wa, ka = class
14
14
  ka.style = xa;
15
15
  const Ea = ".sc-calendar-agenda-icon-h{display:flex}", Oa = Ea, Sa = class {
16
16
  constructor(e) {
17
- b(this, e), this.width = "20", this.height = "20";
17
+ g(this, e), this.width = "20", this.height = "20";
18
18
  }
19
19
  render() {
20
20
  return s("svg", { key: "9e7bcafa585dc17975a1793711df835ca7d8d9c1", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, s("path", { key: "184e8215d1dc6a66b9041cacd4687a446b72a6ec", d: "M14 11.5C14 12.8807 12.8807 14 11.5 14H2.5C1.11929 14 0 12.8807 0 11.5V2.5C0 1.11929 1.11929 0 2.5 0H11.5C12.8807 0 14 1.11929 14 2.5V11.5ZM13 11.5V2.5C13 1.67157 12.3284 1 11.5 1H2.5C1.67157 1 1 1.67157 1 2.5V11.5C1 12.3284 1.67157 13 2.5 13H11.5C12.3284 13 13 12.3284 13 11.5ZM11 3.5C11 3.74546 10.8231 3.94961 10.5899 3.99194L10.5 4H3.5C3.22386 4 3 3.77614 3 3.5C3 3.25454 3.17688 3.05039 3.41012 3.00806L3.5 3H10.5C10.7761 3 11 3.22386 11 3.5ZM11 7C11 7.24546 10.8231 7.44961 10.5899 7.49194L10.5 7.5H3.5C3.22386 7.5 3 7.27614 3 7C3 6.75454 3.17688 6.55039 3.41012 6.50806L3.5 6.5H10.5C10.7761 6.5 11 6.72386 11 7ZM11 10.5C11 10.7455 10.8231 10.9496 10.5899 10.9919L10.5 11H3.5C3.22386 11 3 10.7761 3 10.5C3 10.2545 3.17688 10.0504 3.41012 10.0081L3.5 10H10.5C10.7761 10 11 10.2239 11 10.5Z", fill: "currentColor" }));
@@ -23,34 +23,34 @@ const Ea = ".sc-calendar-agenda-icon-h{display:flex}", Oa = Ea, Sa = class {
23
23
  Sa.style = Oa;
24
24
  const Da = ".sc-calendar-info-icon-h{display:flex}", Ha = Da, Ta = class {
25
25
  constructor(e) {
26
- b(this, e), this.width = "20", this.height = "20";
26
+ g(this, e), this.width = "20", this.height = "20";
27
27
  }
28
28
  render() {
29
29
  return s("svg", { key: "7ff2928e9a5dd1d9f96b869c4f8f45810117d55f", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, s("path", { key: "2c83ca56082a787a853d65c02ed6adf6c6d7a44c", d: "M12 0C13.3807 0 14.5 1.11929 14.5 2.5V6.59971C14.1832 6.43777 13.8486 6.30564 13.5 6.20703V4H1.5V11.5C1.5 12.3284 2.17157 13 3 13H6.70703C6.80564 13.3486 6.93777 13.6832 7.09971 14H3C1.61929 14 0.5 12.8807 0.5 11.5V2.5C0.5 1.11929 1.61929 0 3 0H12ZM12 1H3C2.17157 1 1.5 1.67157 1.5 2.5V3H13.5V2.5C13.5 1.67157 12.8284 1 12 1ZM11.375 9.5C11.375 9.15482 11.6548 8.875 12 8.875C12.3452 8.875 12.625 9.15482 12.625 9.5C12.625 9.84518 12.3452 10.125 12 10.125C11.6548 10.125 11.375 9.84518 11.375 9.5ZM12.5 13.5C12.5 13.7761 12.2761 14 12 14C11.7239 14 11.5 13.7761 11.5 13.5V11.5C11.5 11.2239 11.7239 11 12 11C12.2761 11 12.5 11.2239 12.5 11.5V13.5ZM7.5 11.5C7.5 9.01472 9.51472 7 12 7C14.4853 7 16.5 9.01472 16.5 11.5C16.5 13.9853 14.4853 16 12 16C9.51472 16 7.5 13.9853 7.5 11.5ZM8.5 11.5C8.5 13.433 10.067 15 12 15C13.933 15 15.5 13.433 15.5 11.5C15.5 9.567 13.933 8 12 8C10.067 8 8.5 9.567 8.5 11.5Z", fill: "currentColor" }));
30
30
  }
31
31
  };
32
32
  Ta.style = Ha;
33
- const Ia = ".sc-calendar-patterns-icon-h{display:flex}", $a = Ia, Pa = class {
33
+ const Ia = ".sc-calendar-patterns-icon-h{display:flex}", $a = Ia, Fa = class {
34
34
  constructor(e) {
35
- b(this, e), this.width = "20", this.height = "20";
35
+ g(this, e), this.width = "20", this.height = "20";
36
36
  }
37
37
  render() {
38
38
  return s("svg", { key: "8d830ffc53fbe073dddec56cf7819f1738539f22", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, s("path", { key: "3752fd1b7b498f1e2aee01aa5b3621a577f7a3b8", d: "M3.25 0H11.75C13.2688 0 14.5 1.23122 14.5 2.75V11.25C14.5 12.7688 13.2688 14 11.75 14H3.25C1.73122 14 0.5 12.7688 0.5 11.25V2.75C0.5 1.23122 1.73122 0 3.25 0ZM2 2.75V4H13V2.75C13 2.05964 12.4404 1.5 11.75 1.5H3.25C2.55964 1.5 2 2.05964 2 2.75ZM12.2071 5L8.20711 9H10.7929L13 6.79289V5H12.2071ZM10.7929 5H8.20711L4.20711 9H6.79289L10.7929 5ZM2.79289 9L6.79289 5H4.20711L2 7.20711V9H2.79289ZM2 5.79289L2.79289 5H2V5.79289ZM12.2071 9H13V8.20711L12.2071 9Z", fill: "currentColor" }));
39
39
  }
40
40
  };
41
- Pa.style = $a;
42
- const Fa = ".sc-checkmark-icon-h{display:flex}", Na = Fa, Ra = class {
41
+ Fa.style = $a;
42
+ const Na = ".sc-checkmark-icon-h{display:flex}", Pa = Na, La = class {
43
43
  constructor(e) {
44
- b(this, e), this.width = "18", this.height = "14";
44
+ g(this, e), this.width = "18", this.height = "14";
45
45
  }
46
46
  render() {
47
47
  return s("svg", { key: "49ad9466fa210919af89c80d546cf2a846b84d49", width: this.width, height: this.height, viewBox: "0 0 18 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, s("path", { key: "08d62d352782e9847494ebc8daad7e1300ebaad9", d: "M1.53033 7.46967C1.23744 7.17678 0.762563 7.17678 0.46967 7.46967C0.176777 7.76256 0.176777 8.23744 0.46967 8.53033L4.96967 13.0303C5.26256 13.3232 5.73744 13.3232 6.03033 13.0303L17.0303 2.03033C17.3232 1.73744 17.3232 1.26256 17.0303 0.96967C16.7374 0.676777 16.2626 0.676777 15.9697 0.96967L5.5 11.4393L1.53033 7.46967Z", fill: "#293056" }));
48
48
  }
49
49
  };
50
- Ra.style = Na;
51
- const La = ".sc-dragable-icon-h{display:flex}", Aa = La, Ma = class {
50
+ La.style = Pa;
51
+ const Ra = ".sc-dragable-icon-h{display:flex}", Aa = Ra, Ma = class {
52
52
  constructor(e) {
53
- b(this, e), this.width = "20", this.height = "20";
53
+ g(this, e), this.width = "20", this.height = "20";
54
54
  }
55
55
  render() {
56
56
  return s("svg", { key: "eafe936e1e9cc4c5b877fdf8329f0092055d3b12", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, s("path", { key: "23d5d793affa4fe72001dcbacf9adb624c8ebe87", d: "M15.5 18C16.3284 18 17 18.6716 17 19.5C17 20.3284 16.3284 21 15.5 21C14.6716 21 14 20.3284 14 19.5C14 18.6716 14.6716 18 15.5 18ZM8.5 18C9.32843 18 10 18.6716 10 19.5C10 20.3284 9.32843 21 8.5 21C7.67157 21 7 20.3284 7 19.5C7 18.6716 7.67157 18 8.5 18ZM15.5 11C16.3284 11 17 11.6716 17 12.5C17 13.3284 16.3284 14 15.5 14C14.6716 14 14 13.3284 14 12.5C14 11.6716 14.6716 11 15.5 11ZM8.5 11C9.32843 11 10 11.6716 10 12.5C10 13.3284 9.32843 14 8.5 14C7.67157 14 7 13.3284 7 12.5C7 11.6716 7.67157 11 8.5 11ZM15.5 4C16.3284 4 17 4.67157 17 5.5C17 6.32843 16.3284 7 15.5 7C14.6716 7 14 6.32843 14 5.5C14 4.67157 14.6716 4 15.5 4ZM8.5 4C9.32843 4 10 4.67157 10 5.5C10 6.32843 9.32843 7 8.5 7C7.67157 7 7 6.32843 7 5.5C7 4.67157 7.67157 4 8.5 4Z", fill: "currentColor" }));
@@ -59,25 +59,25 @@ const La = ".sc-dragable-icon-h{display:flex}", Aa = La, Ma = class {
59
59
  Ma.style = Aa;
60
60
  const za = ".sc-envelope-fill-icon-h{display:flex}", ja = za, Ua = class {
61
61
  constructor(e) {
62
- b(this, e), this.width = "16", this.height = "13";
62
+ g(this, e), this.width = "16", this.height = "13";
63
63
  }
64
64
  render() {
65
65
  return s("svg", { key: "deb9b906ee52d7698b1b2acd3edec06c8cb4a2e1", width: "16", height: "13", viewBox: "0 0 16 13", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, s("path", { key: "3bd3caa47b4ecb0c5347dc8c71ee33ff57653913", d: "M16.0001 3.373V10.5C16.0001 11.8807 14.8808 13 13.5001 13H2.50008C1.11937 13 0 11.8807 0 10.5V3.373L7.74657 7.93097C7.90304 8.02301 8.09711 8.02301 8.25359 7.93097L16.0001 3.373ZM13.5001 0C14.7871 0 15.847 0.972604 15.9849 2.22293L8.00008 6.91991L0.0152595 2.22293C0.153116 0.972604 1.21302 0 2.50008 0H13.5001Z", fill: "currentColor" }));
66
66
  }
67
67
  };
68
68
  Ua.style = ja;
69
- const Wa = ".sc-envelope-icon-h{display:flex}", Ba = Wa, Za = class {
69
+ const Ba = ".sc-envelope-icon-h{display:flex}", Wa = Ba, Za = class {
70
70
  constructor(e) {
71
- b(this, e), this.width = "16", this.height = "13";
71
+ g(this, e), this.width = "16", this.height = "13";
72
72
  }
73
73
  render() {
74
74
  return s("svg", { key: "73122f7a719952a557845096eaf5d47960f1f684", width: "16", height: "13", viewBox: "0 0 16 13", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, s("path", { key: "02a7f44ed198e422ccf2aff73400f8b6327f5cf7", d: "M13.5 0C14.8807 0 16 1.11929 16 2.5V10.5C16 11.8807 14.8807 13 13.5 13H2.5C1.11929 13 0 11.8807 0 10.5V2.5C0 1.11929 1.11929 0 2.5 0H13.5ZM15 3.961L8.25351 7.93097C8.12311 8.00767 7.96661 8.02045 7.82751 7.96932L7.74649 7.93097L1 3.963V10.5C1 11.3284 1.67157 12 2.5 12H13.5C14.3284 12 15 11.3284 15 10.5V3.961ZM13.5 1H2.5C1.67157 1 1 1.67157 1 2.5V2.802L8 6.91991L15 2.801V2.5C15 1.67157 14.3284 1 13.5 1Z", fill: "currentColor" }));
75
75
  }
76
76
  };
77
- Za.style = Ba;
77
+ Za.style = Wa;
78
78
  const qa = ".sc-eye-icon-h{display:flex}", Va = qa, Ja = class {
79
79
  constructor(e) {
80
- b(this, e), this.width = "17", this.height = "10";
80
+ g(this, e), this.width = "17", this.height = "10";
81
81
  }
82
82
  render() {
83
83
  return s("svg", { key: "b6e4ef2a9e507d094def976df8d6f61e419881d8", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, s("path", { key: "2c0fd33d221150b5da2405e40574abb4208999d1", d: "M1.75909 6.60214C2.44254 3.32689 5.29437 1 8.50002 1C11.7057 1 14.5574 3.32688 15.2409 6.60215C15.2974 6.87246 15.5622 7.04587 15.8325 6.98946C16.1029 6.93304 16.2763 6.66817 16.2199 6.39785C15.4425 2.67312 12.1934 0 8.50002 0C4.8066 0 1.55742 2.67311 0.780175 6.39786C0.723767 6.66818 0.897177 6.93305 1.1675 6.98946C1.43782 7.04587 1.70268 6.87246 1.75909 6.60214ZM8.5 3C6.567 3 5 4.567 5 6.5C5 8.433 6.567 10 8.5 10C10.433 10 12 8.433 12 6.5C12 4.567 10.433 3 8.5 3ZM6 6.5C6 5.11929 7.11929 4 8.5 4C9.88071 4 11 5.11929 11 6.5C11 7.88071 9.88071 9 8.5 9C7.11929 9 6 7.88071 6 6.5Z", fill: "currentColor" }));
@@ -86,7 +86,7 @@ const qa = ".sc-eye-icon-h{display:flex}", Va = qa, Ja = class {
86
86
  Ja.style = Va;
87
87
  const Ga = ".sc-feedback-icon-h{display:flex}", Ya = Ga, Xa = class {
88
88
  constructor(e) {
89
- b(this, e), this.width = "11", this.height = "14";
89
+ g(this, e), this.width = "11", this.height = "14";
90
90
  }
91
91
  render() {
92
92
  return s("svg", { key: "fc5d4aa6d299768c11f13c54218eaf28a45c97df", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, s("path", { key: "457d0f4155d6da655950e8fb1d3c74374b053782", d: "M0.5 8.875C0.5 8.875 1.125 8.25 3 8.25C4.875 8.25 6.125 9.5 8 9.5C9.875 9.5 10.5 8.875 10.5 8.875V1.375C10.5 1.375 9.875 2 8 2C6.125 2 4.875 0.75 3 0.75C1.125 0.75 0.5 1.375 0.5 1.375V8.875ZM0.5 8.875V13.25", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" }));
@@ -95,7 +95,7 @@ const Ga = ".sc-feedback-icon-h{display:flex}", Ya = Ga, Xa = class {
95
95
  Xa.style = Ya;
96
96
  const Ka = ".sc-flow-icon-h{display:flex}", Qa = Ka, ei = class {
97
97
  constructor(e) {
98
- b(this, e), this.width = "16", this.height = "12";
98
+ g(this, e), this.width = "16", this.height = "12";
99
99
  }
100
100
  render() {
101
101
  return s("svg", { key: "c6782480f25c3598e585303021c510ec90f8de26", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, s("path", { key: "76a3d0ff8fccddb49969623ab60b1ae2c9d2d0e2", d: "M13 1.66211C11.8954 1.66211 11 2.55754 11 3.66211C11 4.76668 11.8954 5.66211 13 5.66211C14.1046 5.66211 15 4.76668 15 3.66211C15 2.55754 14.1046 1.66211 13 1.66211ZM10.0407 3.16678C10.2768 1.74563 11.5119 0.662109 13 0.662109C14.6569 0.662109 16 2.00526 16 3.66211C16 5.31896 14.6569 6.66211 13 6.66211C11.5162 6.66211 10.2839 5.58482 10.0428 4.16971C9.37629 4.23688 8.82682 4.7426 8.71466 5.41551L8.27173 8.07311C8.07929 9.22776 7.11428 10.087 5.9593 10.1574C5.72319 11.5786 4.48813 12.6621 3 12.6621C1.34315 12.6621 0 11.319 0 9.66211C0 8.00526 1.34315 6.66211 3 6.66211C4.48384 6.66211 5.71607 7.73939 5.95724 9.15451C6.62371 9.08734 7.17318 8.58162 7.28534 7.90871L7.72827 5.25111C7.92071 4.09646 8.88571 3.23718 10.0407 3.16678ZM3 7.66211C1.89543 7.66211 1 8.55754 1 9.66211C1 10.7667 1.89543 11.6621 3 11.6621C4.10457 11.6621 5 10.7667 5 9.66211C5 8.55754 4.10457 7.66211 3 7.66211Z", fill: "currentColor" }));
@@ -104,7 +104,7 @@ const Ka = ".sc-flow-icon-h{display:flex}", Qa = Ka, ei = class {
104
104
  ei.style = Qa;
105
105
  const ni = ".sc-google-meet-icon-h{display:flex}", ti = ni, ai = class {
106
106
  constructor(e) {
107
- b(this, e), this.width = "20", this.height = "20";
107
+ g(this, e), this.width = "20", this.height = "20";
108
108
  }
109
109
  render() {
110
110
  return s("svg", { key: "b68e005c64b1deb85367e52afa53a3583420d6fc", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, s("g", { key: "c107fef0d62794b094d8096789b20ef66ad2f66d", "clip-path": "url(#clip0_22_6251)" }, s("path", { key: "f7ddbd7ef73ae7addaaa81a42d419c8e04e31341", d: "M11.3145 10.1036L13.2642 12.3321L15.8859 14.0076L16.343 10.1173L15.8859 6.31384L13.2139 7.78584L11.3145 10.1036Z", fill: "#00832D" }), s("path", { key: "678ee765afd11161ed9f7fe60015536077e708dc", d: "M0 13.6464V16.9607C0 17.7184 0.613714 18.3321 1.37143 18.3321H4.68571L5.37143 15.827L4.68571 13.6464L2.41143 12.9607L0 13.6464Z", fill: "#0066DA" }), s("path", { key: "5329acfae94e546cc21a4bc4803a584d41f4f644", d: "M4.68571 1.875L0 6.56071L2.41143 7.24643L4.68571 6.56071L5.36 4.40986L4.68571 1.875Z", fill: "#E94235" }), s("path", { key: "4441dc496cbe7317883740d0aa3469261bd7330f", d: "M4.68571 6.56067H0V13.6464H4.68571V6.56067Z", fill: "#2684FC" }), s("path", { key: "6cd237dedd6d0e9e98905a56d7cc437ec5994cae", d: "M18.8798 3.85895L15.8855 6.31381V14.0075L18.8935 16.4738C19.3438 16.8258 20.0021 16.5047 20.0021 15.9321V4.38923C20.0021 3.80981 19.329 3.49209 18.8798 3.85895ZM11.3141 10.1035V13.6464H4.68555V18.3321H14.5141C15.2718 18.3321 15.8855 17.7184 15.8855 16.9607V14.0075L11.3141 10.1035Z", fill: "#00AC47" }), s("path", { key: "7d00a0a63e9825231cececa544a516eb0a567609", d: "M14.5141 1.875H4.68555V6.56071H11.3141V10.1036L15.8855 6.31614V3.24643C15.8855 2.48871 15.2718 1.875 14.5141 1.875Z", fill: "#FFBA00" })), s("defs", { key: "6efd6aace86d9b576642ef44fbb27c73f7b14057" }, s("clipPath", { key: "79f87c29c41836a9ee2319f66c86ec19e6d1d329", id: "clip0_22_6251" }, s("rect", { key: "6d872b34ea312c8378c0762f342ea55d7d1b87ae", width: "20", height: "20", fill: "white" }))));
@@ -126,7 +126,7 @@ var oi = function(e, n, t, a) {
126
126
  };
127
127
  const _t = class {
128
128
  constructor(e) {
129
- b(this, e), this.nylasFormInputImageUrlInvalid = x(this, "nylasFormInputImageUrlInvalid", 7), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.componentType = "image-url", this.imageUrl = "", this.errorMessage = "", this.name = "input-image-url", this.currentImageUrl = this.imageUrl;
129
+ g(this, e), this.nylasFormInputImageUrlInvalid = x(this, "nylasFormInputImageUrlInvalid", 7), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.componentType = "image-url", this.imageUrl = "", this.errorMessage = "", this.name = "input-image-url", this.currentImageUrl = this.imageUrl;
130
130
  }
131
131
  connectedCallback() {
132
132
  d("nylas-image-input", "connectedCallback");
@@ -164,7 +164,7 @@ const _t = class {
164
164
  n === this.name && this.setImage(t);
165
165
  }
166
166
  setImage(e) {
167
- this.errorMessage = "", ua(e).then(() => {
167
+ this.errorMessage = "", ha(e).then(() => {
168
168
  this.currentImageUrl = e, this.internals.setValidity({}), this.internals.setFormValue(this.currentImageUrl, this.name), this.valueChanged.emit({ value: this.currentImageUrl, name: this.name });
169
169
  }).catch(() => {
170
170
  this.errorMessage = "Invalid image URL.", this.nylasFormInputImageUrlInvalid.emit({ value: "Invalid image URL.", name: this.name }), typeof this.internals.setValidity == "function" && this.internals.setValidity({ customError: !0 }, "Invalid image URL.");
@@ -202,7 +202,7 @@ oi([
202
202
  _t.style = si;
203
203
  const ri = ".sc-location-icon-h{display:flex}", li = ri, di = class {
204
204
  constructor(e) {
205
- b(this, e), this.width = "16", this.height = "18";
205
+ g(this, e), this.width = "16", this.height = "18";
206
206
  }
207
207
  render() {
208
208
  return s("svg", { key: "41c6752fb26ae7aa42d7bdfbadc16c2869e37d03", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, s("path", { key: "04912d24e06cbad0c6ece45f19827bbb62cfbcd0", d: "M10 7.66211C10 9.31896 8.65685 10.6621 7 10.6621C5.34315 10.6621 4 9.31896 4 7.66211C4 6.00526 5.34315 4.66211 7 4.66211C8.65685 4.66211 10 6.00526 10 7.66211ZM9 7.66211C9 6.55754 8.10457 5.66211 7 5.66211C5.89543 5.66211 5 6.55754 5 7.66211C5 8.76668 5.89543 9.66211 7 9.66211C8.10457 9.66211 9 8.76668 9 7.66211ZM11.9497 12.6171C14.6834 9.88221 14.6834 5.44812 11.9497 2.71326C9.21608 -0.0216067 4.78392 -0.0216067 2.05025 2.71326C-0.683418 5.44812 -0.683418 9.88221 2.05025 12.6171L3.57128 14.1159L5.61408 16.101L5.74691 16.2188C6.52168 16.8468 7.65623 16.8076 8.38611 16.1012L10.8223 13.7312L11.9497 12.6171ZM2.75499 3.4183C5.09944 1.07282 8.90055 1.07282 11.245 3.4183C13.5294 5.70364 13.5879 9.3725 11.4207 11.7288L11.245 11.912L9.92371 13.216L7.69315 15.3846L7.60016 15.4642C7.24594 15.732 6.7543 15.732 6.40012 15.4642L6.30713 15.3845L3.3263 12.4791L2.75499 11.912L2.57927 11.7288C0.412077 9.3725 0.47065 5.70364 2.75499 3.4183Z", fill: "currentColor" }));
@@ -211,22 +211,22 @@ const ri = ".sc-location-icon-h{display:flex}", li = ri, di = class {
211
211
  di.style = li;
212
212
  const ci = ".sc-location-off-icon-h{display:flex}", pi = ci, fi = class {
213
213
  constructor(e) {
214
- b(this, e), this.width = "16", this.height = "18";
214
+ g(this, e), this.width = "16", this.height = "18";
215
215
  }
216
216
  render() {
217
217
  return s("svg", { key: "63a6c285582208662ae8307e37621e96a22ce5f3", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, s("path", { key: "cf2dfb48d9a1e3b2d03aa86e37a79c702547bf8e", d: "M0.146447 0.808556C0.341709 0.613294 0.658291 0.613294 0.853553 0.808556L15.8536 15.8086C16.0488 16.0038 16.0488 16.3204 15.8536 16.5157C15.6583 16.7109 15.3417 16.7109 15.1464 16.5157L12.0938 13.463L11.8223 13.7312L9.38611 16.1012C8.65623 16.8076 7.52168 16.8468 6.74691 16.2188L6.61408 16.101L4.57128 14.1159L3.05025 12.6171C0.607421 10.1732 0.347525 6.37239 2.27056 3.63976L0.146447 1.51566C-0.0488155 1.3204 -0.0488155 1.00382 0.146447 0.808556ZM9.07768 10.4469C8.74346 10.576 8.38024 10.6468 8.0005 10.6468C6.34839 10.6468 5.00909 9.30689 5.00909 7.65406C5.00909 7.27461 5.07967 6.91166 5.20843 6.57763L2.98793 4.35713C1.49206 6.62038 1.68917 9.67377 3.57927 11.7288L3.75499 11.912L4.3263 12.4791L7.30713 15.3845L7.40012 15.4642C7.7543 15.732 8.24594 15.732 8.60016 15.4642L8.69315 15.3846L10.9237 13.216L11.3883 12.7575L9.07768 10.4469ZM9.85409 8.39486L10.5983 9.13904C10.8487 8.70143 10.9919 8.19447 10.9919 7.65406C10.9919 6.00122 9.65261 4.66134 8.0005 4.66134C7.45986 4.66134 6.95271 4.80482 6.51504 5.05581L7.25921 5.79998C7.48839 5.70819 7.73855 5.6577 8.0005 5.6577C9.10258 5.6577 9.99599 6.5515 9.99599 7.65406C9.99599 7.91581 9.94564 8.16581 9.85409 8.39486ZM4.35291 2.89368C6.70671 1.08827 10.0908 1.26314 12.245 3.4183C14.3986 5.57283 14.5739 8.95702 12.771 11.3118L13.4812 12.022C15.6702 9.27273 15.493 5.25762 12.9497 2.71326C10.4058 0.168159 6.39081 -0.00843871 3.64269 2.18347L4.35291 2.89368Z", fill: "currentColor" }));
218
218
  }
219
219
  };
220
220
  fi.style = pi;
221
- const mi = ".sc-microsoft-teams-icon-h{display:flex}", hi = mi, ui = class {
221
+ const mi = ".sc-microsoft-teams-icon-h{display:flex}", ui = mi, hi = class {
222
222
  constructor(e) {
223
- b(this, e), this.width = "20", this.height = "20";
223
+ g(this, e), this.width = "20", this.height = "20";
224
224
  }
225
225
  render() {
226
226
  return s("svg", { key: "43015b1429d29b0ce4d72d6efa983cf972200345", width: this.width, height: this.height, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, s("g", { key: "181d622e54dd6034328a3e2969d2c7435e0fe47c", "clip-path": "url(#clip0_22_6280)" }, s("path", { key: "a8371f19ba59bcb5299c27aee9bd9031100f113a", d: "M13.7109 7.60168H18.8769C19.365 7.60168 19.7607 7.99734 19.7607 8.4854V13.191C19.7607 14.9848 18.3065 16.4389 16.5127 16.4389H16.4974C14.7036 16.4391 13.2493 14.9852 13.249 13.1914C13.249 13.1913 13.249 13.1911 13.249 13.191V8.06355C13.249 7.80847 13.4558 7.60168 13.7109 7.60168Z", fill: "#5059C9" }), s("path", { key: "6938ccf952810d13a1f56a2cef920dc580204df1", d: "M17.2024 6.67152C18.3583 6.67152 19.2954 5.73444 19.2954 4.5785C19.2954 3.42255 18.3583 2.48547 17.2024 2.48547C16.0465 2.48547 15.1094 3.42255 15.1094 4.5785C15.1094 5.73444 16.0465 6.67152 17.2024 6.67152Z", fill: "#5059C9" }), s("path", { key: "6183cc2e18656369c6b6b13eba20256a91ca13be", d: "M10.6912 6.67152C12.3609 6.67152 13.7145 5.31796 13.7145 3.64826C13.7145 1.97856 12.3609 0.625 10.6912 0.625C9.02153 0.625 7.66797 1.97856 7.66797 3.64826C7.66797 5.31796 9.02153 6.67152 10.6912 6.67152Z", fill: "#7B83EB" }), s("path", { key: "0f555b8edfa78d27a064e2b8c355e652105dcef8", d: "M14.7223 7.60168H6.19482C5.71257 7.61362 5.33108 8.01384 5.34227 8.49611V13.8631C5.27492 16.7571 7.56457 19.1588 10.4586 19.2296C13.3525 19.1588 15.6422 16.7571 15.5748 13.8631V8.49611C15.586 8.01384 15.2045 7.61362 14.7223 7.60168Z", fill: "#7B83EB" }), s("path", { key: "f70b7f02b9afc002c0f54c5109aa37f9443b530b", opacity: "0.1", d: "M10.9234 7.60168V15.1226C10.9211 15.4675 10.7121 15.7773 10.3932 15.9087C10.2917 15.9516 10.1825 15.9738 10.0723 15.9738H5.75134C5.69088 15.8203 5.63507 15.6668 5.58855 15.5087C5.42574 14.975 5.34267 14.4201 5.34204 13.8622V8.49471C5.33086 8.01321 5.71172 7.61362 6.1932 7.60168H10.9234Z", fill: "black" }), s("path", { key: "099a90b1bcf8844977911db140a55b77e3d40dcb", opacity: "0.2", d: "M10.4583 7.60168V15.5877C10.4583 15.698 10.4362 15.8071 10.3932 15.9087C10.2619 16.2276 9.95205 16.4366 9.60717 16.4389H5.96995C5.89088 16.2854 5.81646 16.1319 5.75134 15.9738C5.68623 15.8156 5.63507 15.6668 5.58855 15.5087C5.42574 14.975 5.34267 14.4201 5.34204 13.8622V8.49471C5.33086 8.01321 5.71172 7.61362 6.1932 7.60168H10.4583Z", fill: "black" }), s("path", { key: "df916fd9bb304a77cc01949e5322d635aef30dd4", opacity: "0.2", d: "M10.4583 7.60168V14.6575C10.4548 15.1261 10.0758 15.5051 9.60716 15.5087H5.58855C5.42574 14.975 5.34267 14.4201 5.34204 13.8622V8.49471C5.33086 8.01321 5.71172 7.61362 6.1932 7.60168H10.4583Z", fill: "black" }), s("path", { key: "48cfb8d7f434c8899770155eef6a72184f698942", opacity: "0.2", d: "M9.9932 7.60168V14.6575C9.98965 15.1261 9.61065 15.5051 9.14203 15.5087H5.58855C5.42574 14.975 5.34267 14.4201 5.34204 13.8622V8.49471C5.33086 8.01321 5.71172 7.61362 6.1932 7.60168H9.9932Z", fill: "black" }), s("path", { key: "7418c396c4b00ef2c7de4d5035c46be0cf51224f", opacity: "0.1", d: "M10.9241 5.1971V6.66222C10.845 6.66687 10.7706 6.67152 10.6915 6.67152C10.6124 6.67152 10.538 6.66687 10.4589 6.66222C10.3019 6.6518 10.1462 6.62689 9.99382 6.5878C9.05195 6.36475 8.27382 5.70421 7.90079 4.81106C7.83661 4.66107 7.78678 4.50533 7.75195 4.34595H10.0729C10.5422 4.34772 10.9223 4.72775 10.9241 5.1971Z", fill: "black" }), s("path", { key: "4611d18789afc14764c6355c36ff4639c07ef3ea", opacity: "0.2", d: "M10.4585 5.66219V6.66219C10.3015 6.65177 10.1458 6.62686 9.99341 6.58778C9.05155 6.36473 8.27342 5.70418 7.90039 4.81104H9.60736C10.0767 4.81281 10.4567 5.19285 10.4585 5.66219Z", fill: "black" }), s("path", { key: "6a0b1761698c016c3ed6f15020e17c592ae8fd85", opacity: "0.2", d: "M10.4585 5.66219V6.66219C10.3015 6.65177 10.1458 6.62686 9.99341 6.58778C9.05155 6.36473 8.27342 5.70418 7.90039 4.81104H9.60736C10.0767 4.81281 10.4567 5.19285 10.4585 5.66219Z", fill: "black" }), s("path", { key: "9ac985a013b79dcc739fd48069d7a54956b48a07", opacity: "0.2", d: "M9.99341 5.6622V6.58778C9.05155 6.36473 8.27342 5.70418 7.90039 4.81104H9.14225C9.6116 4.81282 9.99163 5.19286 9.99341 5.6622Z", fill: "black" }), s("path", { key: "22aa61c2fbca8ea8599efa657405e3258f9a3e25", d: "M0.613296 4.81104H9.14074C9.61159 4.81104 9.99329 5.19274 9.99329 5.66359V14.191C9.99329 14.6619 9.61158 15.0436 9.14074 15.0436H0.613296C0.14244 15.0436 -0.239258 14.6619 -0.239258 14.191V5.66359C-0.239258 5.19274 0.142449 4.81104 0.613296 4.81104Z", fill: "url(#paint0_linear_22_6280)" }), s("path", { key: "cd2d8e75fa6bbb92b70006a507bd8447c5cbf7a7", d: "M7.12025 8.05659H5.4156V12.6985H4.32956V8.05659H2.63281V7.15613H7.12025V8.05659Z", fill: "white" })), s("defs", { key: "1b9552dc22885c57462fd2ae8b4c26dc2c79d92d" }, s("linearGradient", { key: "ea753705cbbdb91c51fc04a167b6afd3f41d41d9", id: "paint0_linear_22_6280", x1: "1.53835", y1: "4.14486", x2: "8.2157", y2: "15.7098", gradientUnits: "userSpaceOnUse" }, s("stop", { key: "8390ae19866ffe03bd03d5b9b0a3a33fb2277e62", "stop-color": "#5A62C3" }), s("stop", { key: "80dd7a6a24bf2e42aac98ce40442501ab4e2395c", offset: "0.5", "stop-color": "#4D55BD" }), s("stop", { key: "59b6e034bc93cabef37a02ae9f4f16dfa957f8a7", offset: "1", "stop-color": "#3940AB" })), s("clipPath", { key: "124d7ccc8361f874fa3042ad4657900b9a3b3a4c", id: "clip0_22_6280" }, s("rect", { key: "2d92a7a7313625c8a8684630a25bb506bfb17a54", width: "20", height: "20", fill: "white" }))));
227
227
  }
228
228
  };
229
- ui.style = hi;
229
+ hi.style = ui;
230
230
  const yi = ':host{display:block;margin:1rem;--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}.nylas-additional-participants__title{color:var(--nylas-base-nylas-base-900-aaa, #101323);font-size:16px;font-style:normal;font-weight:600;line-height:20px;margin:0;text-align:left}.nylas-additional-participants__subtitle{color:var(--nylas-base-600);font-size:14px;font-style:normal;font-weight:400;line-height:20px;margin:0.25rem 0px 0px;text-align:left}.nylas-additional-participants__content{padding:1rem;display:flex;flex-direction:column;gap:1rem}.nylas-additional-participants__input_group{padding-top:8px;display:flex;flex-direction:column;gap:4px}.nylas-additional-participants__input_group label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:14px;font-style:normal;font-weight:400;line-height:150%}.nylas-additional-participants__error{color:var(--nylas-error);font-size:14px;font-family:var(--nylas-font-family);font-weight:400;line-height:16px;margin:0;text-align:left}.nylas-additional-participants__input_wrapper{display:flex;border-width:1;border-radius:8px;border:1px solid var(--nylas-base-300)}.nylas-additional-participants__input_wrapper.error{border-color:var(--nylas-error)}.nylas-additional-participants__input_wrapper button{padding:12px;border:none;border-left:1px solid var(--nylas-base-300);background:none;cursor:pointer}.nylas-additional-participants__input_wrapper button:hover,.nylas-additional-participants__input_wrapper button:active{color:var(--nylas-primary)}.nylas-additional-participants__input_wrapper_organizer{border:none}.nylas-additional-participants__input{flex:1;display:flex;justify-content:space-between}.nylas-additional-participants__input input{border:none;outline:none;background:none;width:100%}.nylas-additional-participants__input input-dropdown{width:100%}.nylas-additional-participants__input input-dropdown::part(id_dropdown){width:100%;height:100%}.nylas-additional-participants__input input-dropdown::part(id_dropdown-input){height:100%;border-radius:var(--nylas-border-radius-2x);border:none;border-top-right-radius:initial;border-bottom-right-radius:initial;padding-left:16px}.nylas-additional-participants__input input-component::part(ic__input){background:var(--nylas-base-50)}.nylas-additional-participants__input input-component::part(ic__label){font-size:14px}.nylas-additional-participants__input input-component div.required-input{display:flex;gap:4px}.nylas-additional-participants__input input-component div.required-input label{display:flex;gap:4px;align-items:center}.nylas-additional-participants__input input-component div.required-input label tooltip-component#organizer_participant_tooltip::part(tc__content){left:-84px}.nylas-additional-participants__add{padding:12px;display:flex;align-items:center;border:none;background:none;cursor:pointer}.nylas-additional-participants__add span{padding:0 8px;font-size:16px;font-style:normal;font-weight:500}.nylas-additional-participants__add:hover,.nylas-additional-participants__add:active{color:var(--nylas-primary)}', bi = yi;
231
231
  var gi = function(e, n, t, a) {
232
232
  var o = arguments.length, i = o < 3 ? n : a === null ? a = Object.getOwnPropertyDescriptor(n, t) : a, r;
@@ -242,32 +242,30 @@ var gi = function(e, n, t, a) {
242
242
  };
243
243
  const Ct = class {
244
244
  constructor(e) {
245
- var n, t, a;
246
- b(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.name = "participants", this.selectedConfiguration = void 0, this.currentUser = void 0, this.currentUserCalendars = void 0, this.participantOptions = void 0, this.eventParticipants = void 0, this.participants = this.eventParticipants ?? [], this.participantErrors = {}, this.includeOrganizerAsParticipant = !0, this.isRoundRobinConfig = ((a = (t = (n = this.selectedConfiguration) == null ? void 0 : n.availability) == null ? void 0 : t.availability_rules) == null ? void 0 : a.availability_method) !== "collective", this.error = "";
245
+ g(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.name = "participants", this.selectedConfiguration = void 0, this.currentUser = void 0, this.currentUserCalendars = void 0, this.participantOptions = void 0, this.eventParticipants = void 0, this.participants = this.eventParticipants ?? [], this.participantErrors = {}, this.includeOrganizerAsParticipant = !0, this.isRoundRobinConfig = !1, this.error = "";
247
246
  }
248
247
  elementNameChangedHandler(e) {
249
248
  d("nylas-additional-participants", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
250
249
  }
251
- selectedConfigurationChangedHandler(e) {
252
- var n, t;
253
- d("nylas-additional-participants", "selectedConfigurationChangedHandler", e), this.isRoundRobinConfig = ((t = (n = e == null ? void 0 : e.availability) == null ? void 0 : n.availability_rules) == null ? void 0 : t.availability_method) !== "collective", this.participants = (e == null ? void 0 : e.participants) || [], this.updateOrganizerAsParticipant();
250
+ selectedConfigurationAndCurrentUserChangedHandler(e, n, t) {
251
+ d("nylas-additional-participants", "selectedConfigurationAndCurrentUserChangedHandler", e, this.currentUser), t === "selectedConfiguration" ? this.updateState(e, this.currentUser) : t === "currentUser" && this.updateState(this.selectedConfiguration, e);
254
252
  }
255
253
  connectedCallback() {
256
254
  d("nylas-additional-participants", "connectedCallback");
257
255
  }
258
256
  componentWillLoad() {
259
- d("nylas-additional-participants", "componentWillLoad"), this.host.setAttribute("name", this.name);
257
+ d("nylas-additional-participants", "componentWillLoad"), this.host.setAttribute("name", this.name), this.updateState(this.selectedConfiguration, this.currentUser);
260
258
  }
261
259
  componentDidLoad() {
262
- var e, n, t;
263
- d("nylas-additional-participants", "componentDidLoad"), this.isRoundRobinConfig = ((t = (n = (e = this.selectedConfiguration) == null ? void 0 : e.availability) == null ? void 0 : n.availability_rules) == null ? void 0 : t.availability_method) !== "collective", this.includeOrganizerAsParticipant = !!(this.isRoundRobinConfig && this.participants.find((a) => {
264
- var o;
265
- return a.email === ((o = this.currentUser) == null ? void 0 : o.email);
266
- })), this.selectedConfiguration ? this.selectedConfigurationChangedHandler(this.selectedConfiguration) : this.updateOrganizerAsParticipant();
260
+ d("nylas-additional-participants", "componentDidLoad");
267
261
  }
268
262
  disconnectedCallback() {
269
263
  d("nylas-additional-participants", "disconnectedCallback");
270
264
  }
265
+ updateState(e, n) {
266
+ var t, a, o, i;
267
+ this.isRoundRobinConfig = (a = (t = e == null ? void 0 : e.availability) == null ? void 0 : t.availability_rules) != null && a.availability_method ? ((i = (o = e == null ? void 0 : e.availability) == null ? void 0 : o.availability_rules) == null ? void 0 : i.availability_method) !== "collective" : !1, this.participants = (e == null ? void 0 : e.participants) || [], this.includeOrganizerAsParticipant = !!(this.isRoundRobinConfig && this.participants.find((r) => r.email === (n == null ? void 0 : n.email))), this.updateOrganizerAsParticipant();
268
+ }
271
269
  get isInternalsAvailable() {
272
270
  return this.internals !== void 0 && typeof this.internals.setFormValue == "function" && typeof this.internals.setValidity == "function";
273
271
  }
@@ -325,14 +323,14 @@ const Ct = class {
325
323
  return e.filter((a) => !n.some((o) => a.email === o.email)).map((a) => ({ value: a.email, label: a.email }));
326
324
  }
327
325
  render() {
328
- return s(E, { key: "d05a5e9f8eb7a85dc4c80ba003d95f05b455e6b6", part: "nap" }, s("nylas-form-card", { key: "84118936b5695f624940edfb9ec06388bd23d927" }, s("h3", { key: "87b8de2368e4c3d8a872fb25750af8b468fe3a70", slot: "header-title", class: "nylas-additional-participants__title", part: "nap__title" }, "Participants"), s("p", { key: "42e8210f534b21509e26a97043a44cc04f166d5e", slot: "header-subtitle", class: "nylas-additional-participants__subtitle", part: "nap__subtitle" }, "Add people in your team or organization to join the event."), s("div", { key: "4295253095c499f00553afa0a9e86fabc1d456b6", slot: "content", class: "nylas-additional-participants__content" }, s("div", { key: "9e171986169008b21c6148516b4099de5cc1fa92" }, this.participants.map((e, n) => s("div", { class: "nylas-additional-participants__input_group", part: "nap__input_group" }, !e.is_organizer && s("label", null, `Participant ${n}`), s("div", { part: "nap__input_wrapper", class: {
326
+ return s(E, { key: "521129d7a5ce85ca83edfefbb2bb7c3f32980ad1", part: "nap" }, s("nylas-form-card", { key: "58a24bd832400d34528a4e1b5de81f75fd174438" }, s("h3", { key: "366f396c3d67e05a05fbaea2953276464ab7b35a", slot: "header-title", class: "nylas-additional-participants__title", part: "nap__title" }, "Participants"), s("p", { key: "c5bfeda652335338cb4a77f94ebfc4511f2d00b7", slot: "header-subtitle", class: "nylas-additional-participants__subtitle", part: "nap__subtitle" }, "Add people in your team or organization to join the event."), s("div", { key: "f0178ca69d8a844c5997fab4892289b58d7aac41", slot: "content", class: "nylas-additional-participants__content" }, s("div", { key: "64fe39f5ab59f2061bdcf504664f6216dfad186b" }, this.participants.map((e, n) => s("div", { class: "nylas-additional-participants__input_group", part: "nap__input_group" }, !e.is_organizer && s("label", null, `Participant ${n}`), s("div", { part: "nap__input_wrapper", class: {
329
327
  "nylas-additional-participants__input_wrapper": !0,
330
328
  "nylas-additional-participants__input_wrapper_organizer": (e == null ? void 0 : e.is_organizer) === !0,
331
329
  "nylas-additional-participants__input_wrapper_invalid": e.is_valid === !1,
332
330
  error: e.is_valid === !1
333
331
  } }, s("div", { class: { "nylas-additional-participants__input": !0, organizer: (e == null ? void 0 : e.is_organizer) === !0 }, part: "nap__input" }, e.is_organizer ? s("input-component", { class: "label-input", name: `${n}`, key: n, label: "Organizer", required: !1, readOnly: e.is_organizer, defaultValue: e.email }, this.isRoundRobinConfig && s("div", { class: "required-input", slot: "additional-input" }, s("input", { type: "checkbox", name: "organizer_participant", id: "organizer_participant", onClick: () => {
334
332
  this.includeOrganizerAsParticipant = !this.includeOrganizerAsParticipant, this.updateFormValue();
335
- }, checked: this.includeOrganizerAsParticipant }), s("label", { htmlFor: "organizer_participant", "aria-label": "Include as participant" }, "Participant", s("tooltip-component", { id: "organizer_participant_tooltip" }, s("info-icon", { slot: "tooltip-icon" }), s("span", { slot: "tooltip-content" }, s("strong", null, "Include Organizer:"), " The organizer (you) will be included in the round-robin rotation. ", s("br", null), s("strong", null, "Exclude Organizer:"), " The organizer (you) will not be included in the round-robin rotation."))))) : s("input-dropdown", { id: `${n}`, name: `${n}`, filterable: !0, inputValue: e.email, options: this.getArrayDifference(this.participantOptions || [], this.participants) }), !e.is_organizer && s("button", { onClick: () => this.removeParticipant(n), part: "nap__remove-participant" }, s("close-icon", null)))), !e.is_valid && s("p", { class: "nylas-additional-participants__error", part: "nap__error" }, this.participantErrors[n]))), s("p", { key: "2577ee63678d02419bf97028bf469eb13e6a6440", class: "nylas-additional-participants__error", part: "nap__error" }, this.error)), s("button", { key: "0a31b1151fcbce60a71fa686585f5b41036526b6", class: "nylas-additional-participants__add", part: "nap__add-participant", onClick: () => this.addParticipant() }, s("add-circle-icon", { key: "da2cc04ea7861e7618174afbc4cc31df894b62aa" }), " ", s("span", { key: "325054ea5f7e61ea6694e6aad887b9240e6976c0" }, "Add ", this.participants.length > 1 ? "another" : "a", " participant")))));
333
+ }, checked: this.includeOrganizerAsParticipant }), s("label", { htmlFor: "organizer_participant", "aria-label": "Include as participant" }, "Participant", s("tooltip-component", { id: "organizer_participant_tooltip" }, s("info-icon", { slot: "tooltip-icon" }), s("span", { slot: "tooltip-content" }, s("strong", null, "Include Organizer:"), " The organizer (you) will be included in the round-robin rotation. ", s("br", null), s("strong", null, "Exclude Organizer:"), " The organizer (you) will not be included in the round-robin rotation."))))) : s("input-dropdown", { id: `${n}`, name: `${n}`, filterable: !0, inputValue: e.email, options: this.getArrayDifference(this.participantOptions || [], this.participants) }), !e.is_organizer && s("button", { onClick: () => this.removeParticipant(n), part: "nap__remove-participant" }, s("close-icon", null)))), !e.is_valid && s("p", { class: "nylas-additional-participants__error", part: "nap__error" }, this.participantErrors[n]))), s("p", { key: "18e429becec7ebe59db08e078249aaf2c8b0db30", class: "nylas-additional-participants__error", part: "nap__error" }, this.error)), s("button", { key: "1ee77fef22d67517e0ab39eeac0e7de7d9fa3c1e", class: "nylas-additional-participants__add", part: "nap__add-participant", onClick: () => this.addParticipant() }, s("add-circle-icon", { key: "f224802fc24cc9284210f526d3576d8638c4c977" }), " ", s("span", { key: "dab608525f4aed99d8d815764e17981de7d9fdd9" }, "Add ", this.participants.length > 1 ? "another" : "a", " participant")))));
336
334
  }
337
335
  static get formAssociated() {
338
336
  return !0;
@@ -343,7 +341,8 @@ const Ct = class {
343
341
  static get watchers() {
344
342
  return {
345
343
  name: ["elementNameChangedHandler"],
346
- selectedConfiguration: ["selectedConfigurationChangedHandler"]
344
+ currentUser: ["selectedConfigurationAndCurrentUserChangedHandler"],
345
+ selectedConfiguration: ["selectedConfigurationAndCurrentUserChangedHandler"]
347
346
  };
348
347
  }
349
348
  };
@@ -379,7 +378,7 @@ var Ci = function(e, n, t, a) {
379
378
  };
380
379
  const wt = class {
381
380
  constructor(e) {
382
- b(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.name = "availability", this.selectedConfiguration = void 0, this.openHours = void 0, this.defaultTimezone = Intl.DateTimeFormat().resolvedOptions().timeZone, this.hideHeader = !1, this.schedule = {
381
+ g(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.name = "availability", this.selectedConfiguration = void 0, this.openHours = void 0, this.defaultTimezone = Intl.DateTimeFormat().resolvedOptions().timeZone, this.hideHeader = !1, this.schedule = {
383
382
  SUN: [],
384
383
  MON: [{ start: "09:00am", end: "05:00pm" }],
385
384
  TUE: [{ start: "09:00am", end: "05:00pm" }],
@@ -464,8 +463,8 @@ const wt = class {
464
463
  }
465
464
  getOverlaps(e) {
466
465
  let n = e.map((a, o) => ({
467
- start: ue(a.start),
468
- end: ue(a.end),
466
+ start: he(a.start),
467
+ end: he(a.end),
469
468
  originalIndex: o
470
469
  }));
471
470
  n.sort((a, o) => a.start - o.start);
@@ -480,8 +479,8 @@ const wt = class {
480
479
  this.schedule[e] = [{ start: "09:00am", end: "05:00pm" }];
481
480
  else {
482
481
  const o = n.map((r) => ({
483
- start: ue(r.start),
484
- end: ue(r.end)
482
+ start: he(r.start),
483
+ end: he(r.end)
485
484
  })).sort((r, l) => r.start - l.start), i = o[o.length - 1].end;
486
485
  if (i + 60 <= a)
487
486
  this.schedule[e].push({
@@ -506,7 +505,7 @@ const wt = class {
506
505
  }
507
506
  }
508
507
  }
509
- this.schedule[e].sort((o, i) => ue(o.start) - ue(i.start)), this.schedule = { ...this.schedule };
508
+ this.schedule[e].sort((o, i) => he(o.start) - he(i.start)), this.schedule = { ...this.schedule };
510
509
  }
511
510
  removeTimeRange(e, n) {
512
511
  this.schedule[e].splice(n, 1), this.schedule = { ...this.schedule };
@@ -621,7 +620,7 @@ var ki = function(e, n, t, a) {
621
620
  };
622
621
  const xt = class {
623
622
  constructor(e) {
624
- b(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.calendars = void 0, this.currentUser = void 0, this.currentUserCalendars = void 0, this.name = "booking-calendar", this.defaultBookingCalendar = "", this.hideHeader = !1, this.expressFlow = !1, this.selectedCalendar = "";
623
+ g(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.calendars = void 0, this.currentUser = void 0, this.currentUserCalendars = void 0, this.name = "booking-calendar", this.defaultBookingCalendar = "", this.hideHeader = !1, this.expressFlow = !1, this.selectedCalendar = "";
625
624
  }
626
625
  connectedCallback() {
627
626
  d("nylas-booking-calendar-picker", "connectedCallback");
@@ -726,7 +725,7 @@ var Si = function(e, n, t, a) {
726
725
  };
727
726
  const kt = class {
728
727
  constructor(e) {
729
- b(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.name = "confirmation-redirect", this.redirectUrl = "", this.redirectUrlErrorMessage = "", this.currentRedirectUrl = "", this.acceptUrl = void 0, this.componentLoaded = !1;
728
+ g(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.name = "confirmation-redirect", this.redirectUrl = "", this.redirectUrlErrorMessage = "", this.currentRedirectUrl = "", this.acceptUrl = void 0, this.componentLoaded = !1;
730
729
  }
731
730
  elementNameChangedHandler(e) {
732
731
  d("nylas-booking-confirmation-redirect", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
@@ -841,7 +840,7 @@ var Ti = function(e, n, t, a) {
841
840
  const Et = class {
842
841
  constructor(e) {
843
842
  var n, t;
844
- b(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.name = "confirmation-type", this.bookingType = "booking", this.showComponent = ((t = (n = this.selectedConfiguration) == null ? void 0 : n.event_booking) == null ? void 0 : t.booking_type) !== "custom-confirmation", this.selectedBookingType = void 0, this.showDropdown = void 0;
843
+ g(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.name = "confirmation-type", this.bookingType = "booking", this.showComponent = ((t = (n = this.selectedConfiguration) == null ? void 0 : n.event_booking) == null ? void 0 : t.booking_type) !== "custom-confirmation", this.selectedBookingType = void 0, this.showDropdown = void 0;
845
844
  }
846
845
  elementNameChangedHandler(e) {
847
846
  d("nylas-booking-confirmation-type", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
@@ -986,7 +985,7 @@ function $i(e, n) {
986
985
  o = a[i], !(n.indexOf(o) >= 0) && (t[o] = e[o]);
987
986
  return t;
988
987
  }
989
- function Pi(e, n) {
988
+ function Fi(e, n) {
990
989
  if (e == null)
991
990
  return {};
992
991
  var t = $i(e, n), a, o;
@@ -997,12 +996,12 @@ function Pi(e, n) {
997
996
  }
998
997
  return t;
999
998
  }
1000
- var Fi = "1.15.2";
999
+ var Ni = "1.15.2";
1001
1000
  function ee(e) {
1002
1001
  if (typeof window < "u" && window.navigator)
1003
1002
  return !!/* @__PURE__ */ navigator.userAgent.match(e);
1004
1003
  }
1005
- var te = ee(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), ze = ee(/Edge/i), pt = ee(/firefox/i), Ne = ee(/safari/i) && !ee(/chrome/i) && !ee(/android/i), Ot = ee(/iP(ad|od|hone)/i), St = ee(/chrome/i) && ee(/android/i), Dt = {
1004
+ var te = ee(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), ze = ee(/Edge/i), pt = ee(/firefox/i), Pe = ee(/safari/i) && !ee(/chrome/i) && !ee(/android/i), Ot = ee(/iP(ad|od|hone)/i), St = ee(/chrome/i) && ee(/android/i), Dt = {
1006
1005
  capture: !1,
1007
1006
  passive: !1
1008
1007
  };
@@ -1028,7 +1027,7 @@ function Qe(e, n) {
1028
1027
  return !1;
1029
1028
  }
1030
1029
  }
1031
- function Ni(e) {
1030
+ function Pi(e) {
1032
1031
  return e.host && e !== document && e.host.nodeType ? e.host : e.parentNode;
1033
1032
  }
1034
1033
  function G(e, n, t, a) {
@@ -1039,12 +1038,12 @@ function G(e, n, t, a) {
1039
1038
  return e;
1040
1039
  if (e === t)
1041
1040
  break;
1042
- } while (e = Ni(e));
1041
+ } while (e = Pi(e));
1043
1042
  }
1044
1043
  return null;
1045
1044
  }
1046
1045
  var ft = /\s+/g;
1047
- function W(e, n, t) {
1046
+ function B(e, n, t) {
1048
1047
  if (e && n)
1049
1048
  if (e.classList)
1050
1049
  e.classList[t ? "add" : "remove"](n);
@@ -1087,20 +1086,20 @@ function X() {
1087
1086
  var e = document.scrollingElement;
1088
1087
  return e || document.documentElement;
1089
1088
  }
1090
- function F(e, n, t, a, o) {
1089
+ function P(e, n, t, a, o) {
1091
1090
  if (!(!e.getBoundingClientRect && e !== window)) {
1092
1091
  var i, r, l, c, p, m, f;
1093
1092
  if (e !== window && e.parentNode && e !== X() ? (i = e.getBoundingClientRect(), r = i.top, l = i.left, c = i.bottom, p = i.right, m = i.height, f = i.width) : (r = 0, l = 0, c = window.innerHeight, p = window.innerWidth, m = window.innerHeight, f = window.innerWidth), (n || t) && e !== window && (o = o || e.parentNode, !te))
1094
1093
  do
1095
1094
  if (o && o.getBoundingClientRect && (v(o, "transform") !== "none" || t && v(o, "position") !== "static")) {
1096
- var u = o.getBoundingClientRect();
1097
- r -= u.top + parseInt(v(o, "border-top-width")), l -= u.left + parseInt(v(o, "border-left-width")), c = r + i.height, p = l + i.width;
1095
+ var h = o.getBoundingClientRect();
1096
+ r -= h.top + parseInt(v(o, "border-top-width")), l -= h.left + parseInt(v(o, "border-left-width")), c = r + i.height, p = l + i.width;
1098
1097
  break;
1099
1098
  }
1100
1099
  while (o = o.parentNode);
1101
1100
  if (a && e !== window) {
1102
- var g = ke(o || e), y = g && g.a, w = g && g.d;
1103
- g && (r /= w, l /= y, f /= y, m /= w, c = r + m, p = l + f);
1101
+ var b = ke(o || e), y = b && b.a, C = b && b.d;
1102
+ b && (r /= C, l /= y, f /= y, m /= C, c = r + m, p = l + f);
1104
1103
  }
1105
1104
  return {
1106
1105
  top: r,
@@ -1113,8 +1112,8 @@ function F(e, n, t, a, o) {
1113
1112
  }
1114
1113
  }
1115
1114
  function mt(e, n, t) {
1116
- for (var a = le(e, !0), o = F(e)[n]; a; ) {
1117
- var i = F(a)[t], r = void 0;
1115
+ for (var a = le(e, !0), o = P(e)[n]; a; ) {
1116
+ var i = P(a)[t], r = void 0;
1118
1117
  if (t === "top" || t === "left" ? r = o >= i : r = o <= i, !r)
1119
1118
  return a;
1120
1119
  if (a === X())
@@ -1147,7 +1146,7 @@ function q(e, n) {
1147
1146
  e.nodeName.toUpperCase() !== "TEMPLATE" && e !== _.clone && (!n || Qe(e, n)) && t++;
1148
1147
  return t;
1149
1148
  }
1150
- function ht(e) {
1149
+ function ut(e) {
1151
1150
  var n = 0, t = 0, a = X();
1152
1151
  if (e)
1153
1152
  do {
@@ -1156,7 +1155,7 @@ function ht(e) {
1156
1155
  } while (e !== a && (e = e.parentNode));
1157
1156
  return [n, t];
1158
1157
  }
1159
- function Ri(e, n) {
1158
+ function Li(e, n) {
1160
1159
  for (var t in e)
1161
1160
  if (e.hasOwnProperty(t)) {
1162
1161
  for (var a in n)
@@ -1183,7 +1182,7 @@ function le(e, n) {
1183
1182
  while (t = t.parentNode);
1184
1183
  return X();
1185
1184
  }
1186
- function Li(e, n) {
1185
+ function Ri(e, n) {
1187
1186
  if (e && n)
1188
1187
  for (var t in n)
1189
1188
  n.hasOwnProperty(t) && (e[t] = n[t]);
@@ -1192,19 +1191,19 @@ function Li(e, n) {
1192
1191
  function mn(e, n) {
1193
1192
  return Math.round(e.top) === Math.round(n.top) && Math.round(e.left) === Math.round(n.left) && Math.round(e.height) === Math.round(n.height) && Math.round(e.width) === Math.round(n.width);
1194
1193
  }
1195
- var Re;
1194
+ var Le;
1196
1195
  function Tt(e, n) {
1197
1196
  return function() {
1198
- if (!Re) {
1197
+ if (!Le) {
1199
1198
  var t = arguments, a = this;
1200
- t.length === 1 ? e.call(a, t[0]) : e.apply(a, t), Re = setTimeout(function() {
1201
- Re = void 0;
1199
+ t.length === 1 ? e.call(a, t[0]) : e.apply(a, t), Le = setTimeout(function() {
1200
+ Le = void 0;
1202
1201
  }, n);
1203
1202
  }
1204
1203
  };
1205
1204
  }
1206
1205
  function Ai() {
1207
- clearTimeout(Re), Re = void 0;
1206
+ clearTimeout(Le), Le = void 0;
1208
1207
  }
1209
1208
  function It(e, n, t) {
1210
1209
  e.scrollLeft += n, e.scrollTop += t;
@@ -1213,12 +1212,12 @@ function $t(e) {
1213
1212
  var n = window.Polymer, t = window.jQuery || window.Zepto;
1214
1213
  return n && n.dom ? n.dom(e).cloneNode(!0) : t ? t(e).clone(!0)[0] : e.cloneNode(!0);
1215
1214
  }
1216
- function Pt(e, n, t) {
1215
+ function Ft(e, n, t) {
1217
1216
  var a = {};
1218
1217
  return Array.from(e.children).forEach(function(o) {
1219
1218
  var i, r, l, c;
1220
1219
  if (!(!G(o, n.draggable, e, !1) || o.animated || o === t)) {
1221
- var p = F(o);
1220
+ var p = P(o);
1222
1221
  a.left = Math.min((i = a.left) !== null && i !== void 0 ? i : 1 / 0, p.left), a.top = Math.min((r = a.top) !== null && r !== void 0 ? r : 1 / 0, p.top), a.right = Math.max((l = a.right) !== null && l !== void 0 ? l : -1 / 0, p.right), a.bottom = Math.max((c = a.bottom) !== null && c !== void 0 ? c : -1 / 0, p.bottom);
1223
1222
  }
1224
1223
  }), a.width = a.right - a.left, a.height = a.bottom - a.top, a.x = a.left, a.y = a.top, a;
@@ -1234,7 +1233,7 @@ function Mi() {
1234
1233
  if (!(v(o, "display") === "none" || o === _.ghost)) {
1235
1234
  e.push({
1236
1235
  target: o,
1237
- rect: F(o)
1236
+ rect: P(o)
1238
1237
  });
1239
1238
  var i = K({}, e[e.length - 1].rect);
1240
1239
  if (o.thisAnimationDuration) {
@@ -1250,7 +1249,7 @@ function Mi() {
1250
1249
  e.push(a);
1251
1250
  },
1252
1251
  removeAnimationState: function(a) {
1253
- e.splice(Ri(e, {
1252
+ e.splice(Li(e, {
1254
1253
  target: a
1255
1254
  }), 1);
1256
1255
  },
@@ -1262,9 +1261,9 @@ function Mi() {
1262
1261
  }
1263
1262
  var i = !1, r = 0;
1264
1263
  e.forEach(function(l) {
1265
- var c = 0, p = l.target, m = p.fromRect, f = F(p), u = p.prevFromRect, g = p.prevToRect, y = l.rect, w = ke(p, !0);
1266
- w && (f.top -= w.f, f.left -= w.e), p.toRect = f, p.thisAnimationDuration && mn(u, f) && !mn(m, f) && // Make sure animatingRect is on line between toRect & fromRect
1267
- (y.top - f.top) / (y.left - f.left) === (m.top - f.top) / (m.left - f.left) && (c = ji(y, u, g, o.options)), mn(f, m) || (p.prevFromRect = m, p.prevToRect = f, c || (c = o.options.animation), o.animate(p, y, f, c)), c && (i = !0, r = Math.max(r, c), clearTimeout(p.animationResetTimer), p.animationResetTimer = setTimeout(function() {
1264
+ var c = 0, p = l.target, m = p.fromRect, f = P(p), h = p.prevFromRect, b = p.prevToRect, y = l.rect, C = ke(p, !0);
1265
+ C && (f.top -= C.f, f.left -= C.e), p.toRect = f, p.thisAnimationDuration && mn(h, f) && !mn(m, f) && // Make sure animatingRect is on line between toRect & fromRect
1266
+ (y.top - f.top) / (y.left - f.left) === (m.top - f.top) / (m.left - f.left) && (c = ji(y, h, b, o.options)), mn(f, m) || (p.prevFromRect = m, p.prevToRect = f, c || (c = o.options.animation), o.animate(p, y, f, c)), c && (i = !0, r = Math.max(r, c), clearTimeout(p.animationResetTimer), p.animationResetTimer = setTimeout(function() {
1268
1267
  p.animationTime = 0, p.prevFromRect = null, p.fromRect = null, p.prevToRect = null, p.thisAnimationDuration = null;
1269
1268
  }, c), p.thisAnimationDuration = c);
1270
1269
  }), clearTimeout(n), i ? n = setTimeout(function() {
@@ -1288,12 +1287,12 @@ function zi(e) {
1288
1287
  function ji(e, n, t, a) {
1289
1288
  return Math.sqrt(Math.pow(n.top - e.top, 2) + Math.pow(n.left - e.left, 2)) / Math.sqrt(Math.pow(n.top - t.top, 2) + Math.pow(n.left - t.left, 2)) * a.animation;
1290
1289
  }
1291
- var ge = [], hn = {
1290
+ var ge = [], un = {
1292
1291
  initializeByDefault: !0
1293
1292
  }, je = {
1294
1293
  mount: function(n) {
1295
- for (var t in hn)
1296
- hn.hasOwnProperty(t) && !(t in n) && (n[t] = hn[t]);
1294
+ for (var t in un)
1295
+ un.hasOwnProperty(t) && !(t in n) && (n[t] = un[t]);
1297
1296
  ge.forEach(function(a) {
1298
1297
  if (a.pluginName === n.pluginName)
1299
1298
  throw "Sortable: Cannot mount plugin ".concat(n.pluginName, " more than once");
@@ -1341,39 +1340,39 @@ var ge = [], hn = {
1341
1340
  }
1342
1341
  };
1343
1342
  function Ui(e) {
1344
- var n = e.sortable, t = e.rootEl, a = e.name, o = e.targetEl, i = e.cloneEl, r = e.toEl, l = e.fromEl, c = e.oldIndex, p = e.newIndex, m = e.oldDraggableIndex, f = e.newDraggableIndex, u = e.originalEvent, g = e.putSortable, y = e.extraEventProperties;
1343
+ var n = e.sortable, t = e.rootEl, a = e.name, o = e.targetEl, i = e.cloneEl, r = e.toEl, l = e.fromEl, c = e.oldIndex, p = e.newIndex, m = e.oldDraggableIndex, f = e.newDraggableIndex, h = e.originalEvent, b = e.putSortable, y = e.extraEventProperties;
1345
1344
  if (n = n || t && t[Z], !!n) {
1346
- var w, $ = n.options, N = "on" + a.charAt(0).toUpperCase() + a.substr(1);
1347
- window.CustomEvent && !te && !ze ? w = new CustomEvent(a, {
1345
+ var C, H = n.options, F = "on" + a.charAt(0).toUpperCase() + a.substr(1);
1346
+ window.CustomEvent && !te && !ze ? C = new CustomEvent(a, {
1348
1347
  bubbles: !0,
1349
1348
  cancelable: !0
1350
- }) : (w = document.createEvent("Event"), w.initEvent(a, !0, !0)), w.to = r || t, w.from = l || t, w.item = o || t, w.clone = i, w.oldIndex = c, w.newIndex = p, w.oldDraggableIndex = m, w.newDraggableIndex = f, w.originalEvent = u, w.pullMode = g ? g.lastPutMode : void 0;
1351
- var R = K(K({}, y), je.getEventProperties(a, n));
1352
- for (var V in R)
1353
- w[V] = R[V];
1354
- t && t.dispatchEvent(w), $[N] && $[N].call(n, w);
1349
+ }) : (C = document.createEvent("Event"), C.initEvent(a, !0, !0)), C.to = r || t, C.from = l || t, C.item = o || t, C.clone = i, C.oldIndex = c, C.newIndex = p, C.oldDraggableIndex = m, C.newDraggableIndex = f, C.originalEvent = h, C.pullMode = b ? b.lastPutMode : void 0;
1350
+ var L = K(K({}, y), je.getEventProperties(a, n));
1351
+ for (var V in L)
1352
+ C[V] = L[V];
1353
+ t && t.dispatchEvent(C), H[F] && H[F].call(n, C);
1355
1354
  }
1356
1355
  }
1357
- var Wi = ["evt"], z = function(n, t) {
1358
- var a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, o = a.evt, i = Pi(a, Wi);
1356
+ var Bi = ["evt"], z = function(n, t) {
1357
+ var a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, o = a.evt, i = Fi(a, Bi);
1359
1358
  je.pluginEvent.bind(_)(n, t, K({
1360
- dragEl: h,
1361
- parentEl: I,
1362
- ghostEl: C,
1363
- rootEl: H,
1364
- nextEl: he,
1359
+ dragEl: u,
1360
+ parentEl: $,
1361
+ ghostEl: w,
1362
+ rootEl: T,
1363
+ nextEl: ue,
1365
1364
  lastDownEl: Ge,
1366
- cloneEl: T,
1365
+ cloneEl: I,
1367
1366
  cloneHidden: re,
1368
1367
  dragStarted: $e,
1369
- putSortable: L,
1368
+ putSortable: R,
1370
1369
  activeSortable: _.active,
1371
1370
  originalEvent: o,
1372
1371
  oldIndex: we,
1373
- oldDraggableIndex: Le,
1374
- newIndex: B,
1372
+ oldDraggableIndex: Re,
1373
+ newIndex: W,
1375
1374
  newDraggableIndex: oe,
1376
- hideGhostForTarget: Lt,
1375
+ hideGhostForTarget: Rt,
1377
1376
  unhideGhostForTarget: At,
1378
1377
  cloneNowHidden: function() {
1379
1378
  re = !0;
@@ -1392,25 +1391,25 @@ var Wi = ["evt"], z = function(n, t) {
1392
1391
  };
1393
1392
  function M(e) {
1394
1393
  Ui(K({
1395
- putSortable: L,
1396
- cloneEl: T,
1397
- targetEl: h,
1398
- rootEl: H,
1394
+ putSortable: R,
1395
+ cloneEl: I,
1396
+ targetEl: u,
1397
+ rootEl: T,
1399
1398
  oldIndex: we,
1400
- oldDraggableIndex: Le,
1401
- newIndex: B,
1399
+ oldDraggableIndex: Re,
1400
+ newIndex: W,
1402
1401
  newDraggableIndex: oe
1403
1402
  }, e));
1404
1403
  }
1405
- var h, I, C, H, he, Ge, T, re, we, B, Le, oe, We, L, Ce = !1, en = !1, nn = [], fe, J, un, yn, ut, yt, $e, ve, Ae, Me = !1, Be = !1, Ye, A, bn = [], Gn = !1, tn = [], sn = typeof document < "u", Ze = Ot, bt = ze || te ? "cssFloat" : "float", Bi = sn && !St && !Ot && "draggable" in document.createElement("div"), Ft = function() {
1404
+ var u, $, w, T, ue, Ge, I, re, we, W, Re, oe, Be, R, Ce = !1, en = !1, nn = [], fe, J, hn, yn, ht, yt, $e, ve, Ae, Me = !1, We = !1, Ye, A, bn = [], Gn = !1, tn = [], sn = typeof document < "u", Ze = Ot, bt = ze || te ? "cssFloat" : "float", Wi = sn && !St && !Ot && "draggable" in document.createElement("div"), Nt = function() {
1406
1405
  if (sn) {
1407
1406
  if (te)
1408
1407
  return !1;
1409
1408
  var e = document.createElement("x");
1410
1409
  return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
1411
1410
  }
1412
- }(), Nt = function(n, t) {
1413
- var a = v(n), o = parseInt(a.width) - parseInt(a.paddingLeft) - parseInt(a.paddingRight) - parseInt(a.borderLeftWidth) - parseInt(a.borderRightWidth), i = Ee(n, 0, t), r = Ee(n, 1, t), l = i && v(i), c = r && v(r), p = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + F(i).width, m = c && parseInt(c.marginLeft) + parseInt(c.marginRight) + F(r).width;
1411
+ }(), Pt = function(n, t) {
1412
+ var a = v(n), o = parseInt(a.width) - parseInt(a.paddingLeft) - parseInt(a.paddingRight) - parseInt(a.borderLeftWidth) - parseInt(a.borderRightWidth), i = Ee(n, 0, t), r = Ee(n, 1, t), l = i && v(i), c = r && v(r), p = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + P(i).width, m = c && parseInt(c.marginLeft) + parseInt(c.marginRight) + P(r).width;
1414
1413
  if (a.display === "flex")
1415
1414
  return a.flexDirection === "column" || a.flexDirection === "column-reverse" ? "vertical" : "horizontal";
1416
1415
  if (a.display === "grid")
@@ -1428,12 +1427,12 @@ var h, I, C, H, he, Ge, T, re, we, B, Le, oe, We, L, Ce = !1, en = !1, nn = [],
1428
1427
  return nn.some(function(o) {
1429
1428
  var i = o[Z].options.emptyInsertThreshold;
1430
1429
  if (!(!i || et(o))) {
1431
- var r = F(o), l = n >= r.left - i && n <= r.right + i, c = t >= r.top - i && t <= r.bottom + i;
1430
+ var r = P(o), l = n >= r.left - i && n <= r.right + i, c = t >= r.top - i && t <= r.bottom + i;
1432
1431
  if (l && c)
1433
1432
  return a = o;
1434
1433
  }
1435
1434
  }), a;
1436
- }, Rt = function(n) {
1435
+ }, Lt = function(n) {
1437
1436
  function t(i, r) {
1438
1437
  return function(l, c, p, m) {
1439
1438
  var f = l.options.group.name && c.options.group.name && l.options.group.name === c.options.group.name;
@@ -1445,25 +1444,25 @@ var h, I, C, H, he, Ge, T, re, we, B, Le, oe, We, L, Ce = !1, en = !1, nn = [],
1445
1444
  return i;
1446
1445
  if (typeof i == "function")
1447
1446
  return t(i(l, c, p, m), r)(l, c, p, m);
1448
- var u = (r ? l : c).options.group.name;
1449
- return i === !0 || typeof i == "string" && i === u || i.join && i.indexOf(u) > -1;
1447
+ var h = (r ? l : c).options.group.name;
1448
+ return i === !0 || typeof i == "string" && i === h || i.join && i.indexOf(h) > -1;
1450
1449
  };
1451
1450
  }
1452
1451
  var a = {}, o = n.group;
1453
1452
  (!o || Je(o) != "object") && (o = {
1454
1453
  name: o
1455
1454
  }), a.name = o.name, a.checkPull = t(o.pull, !0), a.checkPut = t(o.put), a.revertClone = o.revertClone, n.group = a;
1456
- }, Lt = function() {
1457
- !Ft && C && v(C, "display", "none");
1455
+ }, Rt = function() {
1456
+ !Nt && w && v(w, "display", "none");
1458
1457
  }, At = function() {
1459
- !Ft && C && v(C, "display", "");
1458
+ !Nt && w && v(w, "display", "");
1460
1459
  };
1461
1460
  sn && !St && document.addEventListener("click", function(e) {
1462
1461
  if (en)
1463
1462
  return e.preventDefault(), e.stopPropagation && e.stopPropagation(), e.stopImmediatePropagation && e.stopImmediatePropagation(), en = !1, !1;
1464
1463
  }, !0);
1465
1464
  var me = function(n) {
1466
- if (h) {
1465
+ if (u) {
1467
1466
  n = n.touches ? n.touches[0] : n;
1468
1467
  var t = qi(n.clientX, n.clientY);
1469
1468
  if (t) {
@@ -1474,7 +1473,7 @@ var me = function(n) {
1474
1473
  }
1475
1474
  }
1476
1475
  }, Vi = function(n) {
1477
- h && h.parentNode[Z]._isOutsideThisEl(n.target);
1476
+ u && u.parentNode[Z]._isOutsideThisEl(n.target);
1478
1477
  };
1479
1478
  function _(e, n) {
1480
1479
  if (!(e && e.nodeType && e.nodeType === 1))
@@ -1495,7 +1494,7 @@ function _(e, n) {
1495
1494
  // will be set to same as swapThreshold if default
1496
1495
  removeCloneOnHide: !0,
1497
1496
  direction: function() {
1498
- return Nt(e, this.options);
1497
+ return Pt(e, this.options);
1499
1498
  },
1500
1499
  ghostClass: "sortable-ghost",
1501
1500
  chosenClass: "sortable-chosen",
@@ -1522,16 +1521,16 @@ function _(e, n) {
1522
1521
  x: 0,
1523
1522
  y: 0
1524
1523
  },
1525
- supportPointer: _.supportPointer !== !1 && "PointerEvent" in window && !Ne,
1524
+ supportPointer: _.supportPointer !== !1 && "PointerEvent" in window && !Pe,
1526
1525
  emptyInsertThreshold: 5
1527
1526
  };
1528
1527
  je.initializePlugins(this, e, t);
1529
1528
  for (var a in t)
1530
1529
  !(a in n) && (n[a] = t[a]);
1531
- Rt(n);
1530
+ Lt(n);
1532
1531
  for (var o in this)
1533
1532
  o.charAt(0) === "_" && typeof this[o] == "function" && (this[o] = this[o].bind(this));
1534
- this.nativeDraggable = n.forceFallback ? !1 : Bi, this.nativeDraggable && (this.options.touchStartThreshold = 1), n.supportPointer ? D(e, "pointerdown", this._onTapStart) : (D(e, "mousedown", this._onTapStart), D(e, "touchstart", this._onTapStart)), this.nativeDraggable && (D(e, "dragover", this), D(e, "dragenter", this)), nn.push(this.el), n.store && n.store.get && this.sort(n.store.get(this) || []), ne(this, Mi());
1533
+ this.nativeDraggable = n.forceFallback ? !1 : Wi, this.nativeDraggable && (this.options.touchStartThreshold = 1), n.supportPointer ? D(e, "pointerdown", this._onTapStart) : (D(e, "mousedown", this._onTapStart), D(e, "touchstart", this._onTapStart)), this.nativeDraggable && (D(e, "dragover", this), D(e, "dragenter", this)), nn.push(this.el), n.store && n.store.get && this.sort(n.store.get(this) || []), ne(this, Mi());
1535
1534
  }
1536
1535
  _.prototype = /** @lends Sortable.prototype */
1537
1536
  {
@@ -1540,13 +1539,13 @@ _.prototype = /** @lends Sortable.prototype */
1540
1539
  !this.el.contains(n) && n !== this.el && (ve = null);
1541
1540
  },
1542
1541
  _getDirection: function(n, t) {
1543
- return typeof this.options.direction == "function" ? this.options.direction.call(this, n, t, h) : this.options.direction;
1542
+ return typeof this.options.direction == "function" ? this.options.direction.call(this, n, t, u) : this.options.direction;
1544
1543
  },
1545
1544
  _onTapStart: function(n) {
1546
1545
  if (n.cancelable) {
1547
1546
  var t = this, a = this.el, o = this.options, i = o.preventOnFilter, r = n.type, l = n.touches && n.touches[0] || n.pointerType && n.pointerType === "touch" && n, c = (l || n).target, p = n.target.shadowRoot && (n.path && n.path[0] || n.composedPath && n.composedPath()[0]) || c, m = o.filter;
1548
- if (ns(a), !h && !(/mousedown|pointerdown/.test(r) && n.button !== 0 || o.disabled) && !p.isContentEditable && !(!this.nativeDraggable && Ne && c && c.tagName.toUpperCase() === "SELECT") && (c = G(c, o.draggable, a, !1), !(c && c.animated) && Ge !== c)) {
1549
- if (we = q(c), Le = q(c, o.draggable), typeof m == "function") {
1547
+ if (ns(a), !u && !(/mousedown|pointerdown/.test(r) && n.button !== 0 || o.disabled) && !p.isContentEditable && !(!this.nativeDraggable && Pe && c && c.tagName.toUpperCase() === "SELECT") && (c = G(c, o.draggable, a, !1), !(c && c.animated) && Ge !== c)) {
1548
+ if (we = q(c), Re = q(c, o.draggable), typeof m == "function") {
1550
1549
  if (m.call(this, n, c, this)) {
1551
1550
  M({
1552
1551
  sortable: t,
@@ -1582,27 +1581,27 @@ _.prototype = /** @lends Sortable.prototype */
1582
1581
  },
1583
1582
  _prepareDragStart: function(n, t, a) {
1584
1583
  var o = this, i = o.el, r = o.options, l = i.ownerDocument, c;
1585
- if (a && !h && a.parentNode === i) {
1586
- var p = F(a);
1587
- if (H = i, h = a, I = h.parentNode, he = h.nextSibling, Ge = a, We = r.group, _.dragged = h, fe = {
1588
- target: h,
1584
+ if (a && !u && a.parentNode === i) {
1585
+ var p = P(a);
1586
+ if (T = i, u = a, $ = u.parentNode, ue = u.nextSibling, Ge = a, Be = r.group, _.dragged = u, fe = {
1587
+ target: u,
1589
1588
  clientX: (t || n).clientX,
1590
1589
  clientY: (t || n).clientY
1591
- }, ut = fe.clientX - p.left, yt = fe.clientY - p.top, this._lastX = (t || n).clientX, this._lastY = (t || n).clientY, h.style["will-change"] = "all", c = function() {
1590
+ }, ht = fe.clientX - p.left, yt = fe.clientY - p.top, this._lastX = (t || n).clientX, this._lastY = (t || n).clientY, u.style["will-change"] = "all", c = function() {
1592
1591
  if (z("delayEnded", o, {
1593
1592
  evt: n
1594
1593
  }), _.eventCanceled) {
1595
1594
  o._onDrop();
1596
1595
  return;
1597
1596
  }
1598
- o._disableDelayedDragEvents(), !pt && o.nativeDraggable && (h.draggable = !0), o._triggerDragStart(n, t), M({
1597
+ o._disableDelayedDragEvents(), !pt && o.nativeDraggable && (u.draggable = !0), o._triggerDragStart(n, t), M({
1599
1598
  sortable: o,
1600
1599
  name: "choose",
1601
1600
  originalEvent: n
1602
- }), W(h, r.chosenClass, !0);
1601
+ }), B(u, r.chosenClass, !0);
1603
1602
  }, r.ignore.split(",").forEach(function(m) {
1604
- Ht(h, m.trim(), gn);
1605
- }), D(l, "dragover", me), D(l, "mousemove", me), D(l, "touchmove", me), D(l, "mouseup", o._onDrop), D(l, "touchend", o._onDrop), D(l, "touchcancel", o._onDrop), pt && this.nativeDraggable && (this.options.touchStartThreshold = 4, h.draggable = !0), z("delayStart", this, {
1603
+ Ht(u, m.trim(), gn);
1604
+ }), D(l, "dragover", me), D(l, "mousemove", me), D(l, "touchmove", me), D(l, "mouseup", o._onDrop), D(l, "touchend", o._onDrop), D(l, "touchcancel", o._onDrop), pt && this.nativeDraggable && (this.options.touchStartThreshold = 4, u.draggable = !0), z("delayStart", this, {
1606
1605
  evt: n
1607
1606
  }), r.delay && (!r.delayOnTouchOnly || t) && (!this.nativeDraggable || !(ze || te))) {
1608
1607
  if (_.eventCanceled) {
@@ -1619,14 +1618,14 @@ _.prototype = /** @lends Sortable.prototype */
1619
1618
  Math.max(Math.abs(t.clientX - this._lastX), Math.abs(t.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1)) && this._disableDelayedDrag();
1620
1619
  },
1621
1620
  _disableDelayedDrag: function() {
1622
- h && gn(h), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
1621
+ u && gn(u), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
1623
1622
  },
1624
1623
  _disableDelayedDragEvents: function() {
1625
1624
  var n = this.el.ownerDocument;
1626
1625
  k(n, "mouseup", this._disableDelayedDrag), k(n, "touchend", this._disableDelayedDrag), k(n, "touchcancel", this._disableDelayedDrag), k(n, "mousemove", this._delayedDragTouchMoveHandler), k(n, "touchmove", this._delayedDragTouchMoveHandler), k(n, "pointermove", this._delayedDragTouchMoveHandler);
1627
1626
  },
1628
1627
  _triggerDragStart: function(n, t) {
1629
- t = t || n.pointerType == "touch" && n, !this.nativeDraggable || t ? this.options.supportPointer ? D(document, "pointermove", this._onTouchMove) : t ? D(document, "touchmove", this._onTouchMove) : D(document, "mousemove", this._onTouchMove) : (D(h, "dragend", this), D(H, "dragstart", this._onDragStart));
1628
+ t = t || n.pointerType == "touch" && n, !this.nativeDraggable || t ? this.options.supportPointer ? D(document, "pointermove", this._onTouchMove) : t ? D(document, "touchmove", this._onTouchMove) : D(document, "mousemove", this._onTouchMove) : (D(u, "dragend", this), D(T, "dragstart", this._onDragStart));
1630
1629
  try {
1631
1630
  document.selection ? Xe(function() {
1632
1631
  document.selection.empty();
@@ -1635,12 +1634,12 @@ _.prototype = /** @lends Sortable.prototype */
1635
1634
  }
1636
1635
  },
1637
1636
  _dragStarted: function(n, t) {
1638
- if (Ce = !1, H && h) {
1637
+ if (Ce = !1, T && u) {
1639
1638
  z("dragStarted", this, {
1640
1639
  evt: t
1641
1640
  }), this.nativeDraggable && D(document, "dragover", Vi);
1642
1641
  var a = this.options;
1643
- !n && W(h, a.dragClass, !1), W(h, a.ghostClass, !0), _.active = this, n && this._appendGhost(), M({
1642
+ !n && B(u, a.dragClass, !1), B(u, a.ghostClass, !0), _.active = this, n && this._appendGhost(), M({
1644
1643
  sortable: this,
1645
1644
  name: "start",
1646
1645
  originalEvent: t
@@ -1650,10 +1649,10 @@ _.prototype = /** @lends Sortable.prototype */
1650
1649
  },
1651
1650
  _emulateDragOver: function() {
1652
1651
  if (J) {
1653
- this._lastX = J.clientX, this._lastY = J.clientY, Lt();
1652
+ this._lastX = J.clientX, this._lastY = J.clientY, Rt();
1654
1653
  for (var n = document.elementFromPoint(J.clientX, J.clientY), t = n; n && n.shadowRoot && (n = n.shadowRoot.elementFromPoint(J.clientX, J.clientY), n !== t); )
1655
1654
  t = n;
1656
- if (h.parentNode[Z]._isOutsideThisEl(n), t)
1655
+ if (u.parentNode[Z]._isOutsideThisEl(n), t)
1657
1656
  do {
1658
1657
  if (t[Z]) {
1659
1658
  var a = void 0;
@@ -1672,14 +1671,14 @@ _.prototype = /** @lends Sortable.prototype */
1672
1671
  },
1673
1672
  _onTouchMove: function(n) {
1674
1673
  if (fe) {
1675
- var t = this.options, a = t.fallbackTolerance, o = t.fallbackOffset, i = n.touches ? n.touches[0] : n, r = C && ke(C, !0), l = C && r && r.a, c = C && r && r.d, p = Ze && A && ht(A), m = (i.clientX - fe.clientX + o.x) / (l || 1) + (p ? p[0] - bn[0] : 0) / (l || 1), f = (i.clientY - fe.clientY + o.y) / (c || 1) + (p ? p[1] - bn[1] : 0) / (c || 1);
1674
+ var t = this.options, a = t.fallbackTolerance, o = t.fallbackOffset, i = n.touches ? n.touches[0] : n, r = w && ke(w, !0), l = w && r && r.a, c = w && r && r.d, p = Ze && A && ut(A), m = (i.clientX - fe.clientX + o.x) / (l || 1) + (p ? p[0] - bn[0] : 0) / (l || 1), f = (i.clientY - fe.clientY + o.y) / (c || 1) + (p ? p[1] - bn[1] : 0) / (c || 1);
1676
1675
  if (!_.active && !Ce) {
1677
1676
  if (a && Math.max(Math.abs(i.clientX - this._lastX), Math.abs(i.clientY - this._lastY)) < a)
1678
1677
  return;
1679
1678
  this._onDragStart(n, !0);
1680
1679
  }
1681
- if (C) {
1682
- r ? (r.e += m - (un || 0), r.f += f - (yn || 0)) : r = {
1680
+ if (w) {
1681
+ r ? (r.e += m - (hn || 0), r.f += f - (yn || 0)) : r = {
1683
1682
  a: 1,
1684
1683
  b: 0,
1685
1684
  c: 0,
@@ -1687,21 +1686,21 @@ _.prototype = /** @lends Sortable.prototype */
1687
1686
  e: m,
1688
1687
  f
1689
1688
  };
1690
- var u = "matrix(".concat(r.a, ",").concat(r.b, ",").concat(r.c, ",").concat(r.d, ",").concat(r.e, ",").concat(r.f, ")");
1691
- v(C, "webkitTransform", u), v(C, "mozTransform", u), v(C, "msTransform", u), v(C, "transform", u), un = m, yn = f, J = i;
1689
+ var h = "matrix(".concat(r.a, ",").concat(r.b, ",").concat(r.c, ",").concat(r.d, ",").concat(r.e, ",").concat(r.f, ")");
1690
+ v(w, "webkitTransform", h), v(w, "mozTransform", h), v(w, "msTransform", h), v(w, "transform", h), hn = m, yn = f, J = i;
1692
1691
  }
1693
1692
  n.cancelable && n.preventDefault();
1694
1693
  }
1695
1694
  },
1696
1695
  _appendGhost: function() {
1697
- if (!C) {
1698
- var n = this.options.fallbackOnBody ? document.body : H, t = F(h, !0, Ze, !0, n), a = this.options;
1696
+ if (!w) {
1697
+ var n = this.options.fallbackOnBody ? document.body : T, t = P(u, !0, Ze, !0, n), a = this.options;
1699
1698
  if (Ze) {
1700
1699
  for (A = n; v(A, "position") === "static" && v(A, "transform") === "none" && A !== document; )
1701
1700
  A = A.parentNode;
1702
- A !== document.body && A !== document.documentElement ? (A === document && (A = X()), t.top += A.scrollTop, t.left += A.scrollLeft) : A = X(), bn = ht(A);
1701
+ A !== document.body && A !== document.documentElement ? (A === document && (A = X()), t.top += A.scrollTop, t.left += A.scrollLeft) : A = X(), bn = ut(A);
1703
1702
  }
1704
- C = h.cloneNode(!0), W(C, a.ghostClass, !1), W(C, a.fallbackClass, !0), W(C, a.dragClass, !0), v(C, "transition", ""), v(C, "transform", ""), v(C, "box-sizing", "border-box"), v(C, "margin", 0), v(C, "top", t.top), v(C, "left", t.left), v(C, "width", t.width), v(C, "height", t.height), v(C, "opacity", "0.8"), v(C, "position", Ze ? "absolute" : "fixed"), v(C, "zIndex", "100000"), v(C, "pointerEvents", "none"), _.ghost = C, n.appendChild(C), v(C, "transform-origin", ut / parseInt(C.style.width) * 100 + "% " + yt / parseInt(C.style.height) * 100 + "%");
1703
+ w = u.cloneNode(!0), B(w, a.ghostClass, !1), B(w, a.fallbackClass, !0), B(w, a.dragClass, !0), v(w, "transition", ""), v(w, "transform", ""), v(w, "box-sizing", "border-box"), v(w, "margin", 0), v(w, "top", t.top), v(w, "left", t.left), v(w, "width", t.width), v(w, "height", t.height), v(w, "opacity", "0.8"), v(w, "position", Ze ? "absolute" : "fixed"), v(w, "zIndex", "100000"), v(w, "pointerEvents", "none"), _.ghost = w, n.appendChild(w), v(w, "transform-origin", ht / parseInt(w.style.width) * 100 + "% " + yt / parseInt(w.style.height) * 100 + "%");
1705
1704
  }
1706
1705
  },
1707
1706
  _onDragStart: function(n, t) {
@@ -1712,99 +1711,99 @@ _.prototype = /** @lends Sortable.prototype */
1712
1711
  this._onDrop();
1713
1712
  return;
1714
1713
  }
1715
- z("setupClone", this), _.eventCanceled || (T = $t(h), T.removeAttribute("id"), T.draggable = !1, T.style["will-change"] = "", this._hideClone(), W(T, this.options.chosenClass, !1), _.clone = T), a.cloneId = Xe(function() {
1716
- z("clone", a), !_.eventCanceled && (a.options.removeCloneOnHide || H.insertBefore(T, h), a._hideClone(), M({
1714
+ z("setupClone", this), _.eventCanceled || (I = $t(u), I.removeAttribute("id"), I.draggable = !1, I.style["will-change"] = "", this._hideClone(), B(I, this.options.chosenClass, !1), _.clone = I), a.cloneId = Xe(function() {
1715
+ z("clone", a), !_.eventCanceled && (a.options.removeCloneOnHide || T.insertBefore(I, u), a._hideClone(), M({
1717
1716
  sortable: a,
1718
1717
  name: "clone"
1719
1718
  }));
1720
- }), !t && W(h, i.dragClass, !0), t ? (en = !0, a._loopId = setInterval(a._emulateDragOver, 50)) : (k(document, "mouseup", a._onDrop), k(document, "touchend", a._onDrop), k(document, "touchcancel", a._onDrop), o && (o.effectAllowed = "move", i.setData && i.setData.call(a, o, h)), D(document, "drop", a), v(h, "transform", "translateZ(0)")), Ce = !0, a._dragStartId = Xe(a._dragStarted.bind(a, t, n)), D(document, "selectstart", a), $e = !0, Ne && v(document.body, "user-select", "none");
1719
+ }), !t && B(u, i.dragClass, !0), t ? (en = !0, a._loopId = setInterval(a._emulateDragOver, 50)) : (k(document, "mouseup", a._onDrop), k(document, "touchend", a._onDrop), k(document, "touchcancel", a._onDrop), o && (o.effectAllowed = "move", i.setData && i.setData.call(a, o, u)), D(document, "drop", a), v(u, "transform", "translateZ(0)")), Ce = !0, a._dragStartId = Xe(a._dragStarted.bind(a, t, n)), D(document, "selectstart", a), $e = !0, Pe && v(document.body, "user-select", "none");
1721
1720
  },
1722
1721
  // Returns true - if no further action is needed (either inserted or another condition)
1723
1722
  _onDragOver: function(n) {
1724
- var t = this.el, a = n.target, o, i, r, l = this.options, c = l.group, p = _.active, m = We === c, f = l.sort, u = L || p, g, y = this, w = !1;
1723
+ var t = this.el, a = n.target, o, i, r, l = this.options, c = l.group, p = _.active, m = Be === c, f = l.sort, h = R || p, b, y = this, C = !1;
1725
1724
  if (Gn)
1726
1725
  return;
1727
- function $(Ie, ma) {
1726
+ function H(Ie, ma) {
1728
1727
  z(Ie, y, K({
1729
1728
  evt: n,
1730
1729
  isOwner: m,
1731
- axis: g ? "vertical" : "horizontal",
1730
+ axis: b ? "vertical" : "horizontal",
1732
1731
  revert: r,
1733
1732
  dragRect: o,
1734
1733
  targetRect: i,
1735
1734
  canSort: f,
1736
- fromSortable: u,
1735
+ fromSortable: h,
1737
1736
  target: a,
1738
- completed: R,
1739
- onMove: function(at, ha) {
1740
- return qe(H, t, h, o, at, F(at), n, ha);
1737
+ completed: L,
1738
+ onMove: function(at, ua) {
1739
+ return qe(T, t, u, o, at, P(at), n, ua);
1741
1740
  },
1742
1741
  changed: V
1743
1742
  }, ma));
1744
1743
  }
1745
- function N() {
1746
- $("dragOverAnimationCapture"), y.captureAnimationState(), y !== u && u.captureAnimationState();
1744
+ function F() {
1745
+ H("dragOverAnimationCapture"), y.captureAnimationState(), y !== h && h.captureAnimationState();
1747
1746
  }
1748
- function R(Ie) {
1749
- return $("dragOverCompleted", {
1747
+ function L(Ie) {
1748
+ return H("dragOverCompleted", {
1750
1749
  insertion: Ie
1751
- }), Ie && (m ? p._hideClone() : p._showClone(y), y !== u && (W(h, L ? L.options.ghostClass : p.options.ghostClass, !1), W(h, l.ghostClass, !0)), L !== y && y !== _.active ? L = y : y === _.active && L && (L = null), u === y && (y._ignoreWhileAnimating = a), y.animateAll(function() {
1752
- $("dragOverAnimationComplete"), y._ignoreWhileAnimating = null;
1753
- }), y !== u && (u.animateAll(), u._ignoreWhileAnimating = null)), (a === h && !h.animated || a === t && !a.animated) && (ve = null), !l.dragoverBubble && !n.rootEl && a !== document && (h.parentNode[Z]._isOutsideThisEl(n.target), !Ie && me(n)), !l.dragoverBubble && n.stopPropagation && n.stopPropagation(), w = !0;
1750
+ }), Ie && (m ? p._hideClone() : p._showClone(y), y !== h && (B(u, R ? R.options.ghostClass : p.options.ghostClass, !1), B(u, l.ghostClass, !0)), R !== y && y !== _.active ? R = y : y === _.active && R && (R = null), h === y && (y._ignoreWhileAnimating = a), y.animateAll(function() {
1751
+ H("dragOverAnimationComplete"), y._ignoreWhileAnimating = null;
1752
+ }), y !== h && (h.animateAll(), h._ignoreWhileAnimating = null)), (a === u && !u.animated || a === t && !a.animated) && (ve = null), !l.dragoverBubble && !n.rootEl && a !== document && (u.parentNode[Z]._isOutsideThisEl(n.target), !Ie && me(n)), !l.dragoverBubble && n.stopPropagation && n.stopPropagation(), C = !0;
1754
1753
  }
1755
1754
  function V() {
1756
- B = q(h), oe = q(h, l.draggable), M({
1755
+ W = q(u), oe = q(u, l.draggable), M({
1757
1756
  sortable: y,
1758
1757
  name: "change",
1759
1758
  toEl: t,
1760
- newIndex: B,
1759
+ newIndex: W,
1761
1760
  newDraggableIndex: oe,
1762
1761
  originalEvent: n
1763
1762
  });
1764
1763
  }
1765
- if (n.preventDefault !== void 0 && n.cancelable && n.preventDefault(), a = G(a, l.draggable, t, !0), $("dragOver"), _.eventCanceled)
1766
- return w;
1767
- if (h.contains(n.target) || a.animated && a.animatingX && a.animatingY || y._ignoreWhileAnimating === a)
1768
- return R(!1);
1769
- if (en = !1, p && !l.disabled && (m ? f || (r = I !== H) : L === this || (this.lastPutMode = We.checkPull(this, p, h, n)) && c.checkPut(this, p, h, n))) {
1770
- if (g = this._getDirection(n, a) === "vertical", o = F(h), $("dragOverValid"), _.eventCanceled)
1771
- return w;
1764
+ if (n.preventDefault !== void 0 && n.cancelable && n.preventDefault(), a = G(a, l.draggable, t, !0), H("dragOver"), _.eventCanceled)
1765
+ return C;
1766
+ if (u.contains(n.target) || a.animated && a.animatingX && a.animatingY || y._ignoreWhileAnimating === a)
1767
+ return L(!1);
1768
+ if (en = !1, p && !l.disabled && (m ? f || (r = $ !== T) : R === this || (this.lastPutMode = Be.checkPull(this, p, u, n)) && c.checkPut(this, p, u, n))) {
1769
+ if (b = this._getDirection(n, a) === "vertical", o = P(u), H("dragOverValid"), _.eventCanceled)
1770
+ return C;
1772
1771
  if (r)
1773
- return I = H, N(), this._hideClone(), $("revert"), _.eventCanceled || (he ? H.insertBefore(h, he) : H.appendChild(h)), R(!0);
1772
+ return $ = T, F(), this._hideClone(), H("revert"), _.eventCanceled || (ue ? T.insertBefore(u, ue) : T.appendChild(u)), L(!0);
1774
1773
  var j = et(t, l.draggable);
1775
- if (!j || Xi(n, g, this) && !j.animated) {
1776
- if (j === h)
1777
- return R(!1);
1778
- if (j && t === n.target && (a = j), a && (i = F(a)), qe(H, t, h, o, a, i, n, !!a) !== !1)
1779
- return N(), j && j.nextSibling ? t.insertBefore(h, j.nextSibling) : t.appendChild(h), I = t, V(), R(!0);
1780
- } else if (j && Yi(n, g, this)) {
1774
+ if (!j || Xi(n, b, this) && !j.animated) {
1775
+ if (j === u)
1776
+ return L(!1);
1777
+ if (j && t === n.target && (a = j), a && (i = P(a)), qe(T, t, u, o, a, i, n, !!a) !== !1)
1778
+ return F(), j && j.nextSibling ? t.insertBefore(u, j.nextSibling) : t.appendChild(u), $ = t, V(), L(!0);
1779
+ } else if (j && Yi(n, b, this)) {
1781
1780
  var de = Ee(t, 0, l, !0);
1782
- if (de === h)
1783
- return R(!1);
1784
- if (a = de, i = F(a), qe(H, t, h, o, a, i, n, !1) !== !1)
1785
- return N(), t.insertBefore(h, de), I = t, V(), R(!0);
1781
+ if (de === u)
1782
+ return L(!1);
1783
+ if (a = de, i = P(a), qe(T, t, u, o, a, i, n, !1) !== !1)
1784
+ return F(), t.insertBefore(u, de), $ = t, V(), L(!0);
1786
1785
  } else if (a.parentNode === t) {
1787
- i = F(a);
1788
- var Y = 0, ce, Se = h.parentNode !== t, U = !Zi(h.animated && h.toRect || o, a.animated && a.toRect || i, g), De = g ? "top" : "left", ae = mt(a, "top", "top") || mt(h, "top", "top"), He = ae ? ae.scrollTop : void 0;
1789
- ve !== a && (ce = i[De], Me = !1, Be = !U && l.invertSwap || Se), Y = Ki(n, a, i, g, U ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, Be, ve === a);
1786
+ i = P(a);
1787
+ var Y = 0, ce, Se = u.parentNode !== t, U = !Zi(u.animated && u.toRect || o, a.animated && a.toRect || i, b), De = b ? "top" : "left", ae = mt(a, "top", "top") || mt(u, "top", "top"), He = ae ? ae.scrollTop : void 0;
1788
+ ve !== a && (ce = i[De], Me = !1, We = !U && l.invertSwap || Se), Y = Ki(n, a, i, b, U ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, We, ve === a);
1790
1789
  var Q;
1791
1790
  if (Y !== 0) {
1792
- var pe = q(h);
1791
+ var pe = q(u);
1793
1792
  do
1794
- pe -= Y, Q = I.children[pe];
1795
- while (Q && (v(Q, "display") === "none" || Q === C));
1793
+ pe -= Y, Q = $.children[pe];
1794
+ while (Q && (v(Q, "display") === "none" || Q === w));
1796
1795
  }
1797
1796
  if (Y === 0 || Q === a)
1798
- return R(!1);
1797
+ return L(!1);
1799
1798
  ve = a, Ae = Y;
1800
1799
  var Te = a.nextElementSibling, ie = !1;
1801
1800
  ie = Y === 1;
1802
- var Ue = qe(H, t, h, o, a, i, n, ie);
1801
+ var Ue = qe(T, t, u, o, a, i, n, ie);
1803
1802
  if (Ue !== !1)
1804
- return (Ue === 1 || Ue === -1) && (ie = Ue === 1), Gn = !0, setTimeout(Gi, 30), N(), ie && !Te ? t.appendChild(h) : a.parentNode.insertBefore(h, ie ? Te : a), ae && It(ae, 0, He - ae.scrollTop), I = h.parentNode, ce !== void 0 && !Be && (Ye = Math.abs(ce - F(a)[De])), V(), R(!0);
1803
+ return (Ue === 1 || Ue === -1) && (ie = Ue === 1), Gn = !0, setTimeout(Gi, 30), F(), ie && !Te ? t.appendChild(u) : a.parentNode.insertBefore(u, ie ? Te : a), ae && It(ae, 0, He - ae.scrollTop), $ = u.parentNode, ce !== void 0 && !We && (Ye = Math.abs(ce - P(a)[De])), V(), L(!0);
1805
1804
  }
1806
- if (t.contains(h))
1807
- return R(!1);
1805
+ if (t.contains(u))
1806
+ return L(!1);
1808
1807
  }
1809
1808
  return !1;
1810
1809
  },
@@ -1818,62 +1817,62 @@ _.prototype = /** @lends Sortable.prototype */
1818
1817
  },
1819
1818
  _onDrop: function(n) {
1820
1819
  var t = this.el, a = this.options;
1821
- if (B = q(h), oe = q(h, a.draggable), z("drop", this, {
1820
+ if (W = q(u), oe = q(u, a.draggable), z("drop", this, {
1822
1821
  evt: n
1823
- }), I = h && h.parentNode, B = q(h), oe = q(h, a.draggable), _.eventCanceled) {
1822
+ }), $ = u && u.parentNode, W = q(u), oe = q(u, a.draggable), _.eventCanceled) {
1824
1823
  this._nulling();
1825
1824
  return;
1826
1825
  }
1827
- Ce = !1, Be = !1, Me = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Yn(this.cloneId), Yn(this._dragStartId), this.nativeDraggable && (k(document, "drop", this), k(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Ne && v(document.body, "user-select", ""), v(h, "transform", ""), n && ($e && (n.cancelable && n.preventDefault(), !a.dropBubble && n.stopPropagation()), C && C.parentNode && C.parentNode.removeChild(C), (H === I || L && L.lastPutMode !== "clone") && T && T.parentNode && T.parentNode.removeChild(T), h && (this.nativeDraggable && k(h, "dragend", this), gn(h), h.style["will-change"] = "", $e && !Ce && W(h, L ? L.options.ghostClass : this.options.ghostClass, !1), W(h, this.options.chosenClass, !1), M({
1826
+ Ce = !1, We = !1, Me = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Yn(this.cloneId), Yn(this._dragStartId), this.nativeDraggable && (k(document, "drop", this), k(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Pe && v(document.body, "user-select", ""), v(u, "transform", ""), n && ($e && (n.cancelable && n.preventDefault(), !a.dropBubble && n.stopPropagation()), w && w.parentNode && w.parentNode.removeChild(w), (T === $ || R && R.lastPutMode !== "clone") && I && I.parentNode && I.parentNode.removeChild(I), u && (this.nativeDraggable && k(u, "dragend", this), gn(u), u.style["will-change"] = "", $e && !Ce && B(u, R ? R.options.ghostClass : this.options.ghostClass, !1), B(u, this.options.chosenClass, !1), M({
1828
1827
  sortable: this,
1829
1828
  name: "unchoose",
1830
- toEl: I,
1829
+ toEl: $,
1831
1830
  newIndex: null,
1832
1831
  newDraggableIndex: null,
1833
1832
  originalEvent: n
1834
- }), H !== I ? (B >= 0 && (M({
1835
- rootEl: I,
1833
+ }), T !== $ ? (W >= 0 && (M({
1834
+ rootEl: $,
1836
1835
  name: "add",
1837
- toEl: I,
1838
- fromEl: H,
1836
+ toEl: $,
1837
+ fromEl: T,
1839
1838
  originalEvent: n
1840
1839
  }), M({
1841
1840
  sortable: this,
1842
1841
  name: "remove",
1843
- toEl: I,
1842
+ toEl: $,
1844
1843
  originalEvent: n
1845
1844
  }), M({
1846
- rootEl: I,
1845
+ rootEl: $,
1847
1846
  name: "sort",
1848
- toEl: I,
1849
- fromEl: H,
1847
+ toEl: $,
1848
+ fromEl: T,
1850
1849
  originalEvent: n
1851
1850
  }), M({
1852
1851
  sortable: this,
1853
1852
  name: "sort",
1854
- toEl: I,
1853
+ toEl: $,
1855
1854
  originalEvent: n
1856
- })), L && L.save()) : B !== we && B >= 0 && (M({
1855
+ })), R && R.save()) : W !== we && W >= 0 && (M({
1857
1856
  sortable: this,
1858
1857
  name: "update",
1859
- toEl: I,
1858
+ toEl: $,
1860
1859
  originalEvent: n
1861
1860
  }), M({
1862
1861
  sortable: this,
1863
1862
  name: "sort",
1864
- toEl: I,
1863
+ toEl: $,
1865
1864
  originalEvent: n
1866
- })), _.active && ((B == null || B === -1) && (B = we, oe = Le), M({
1865
+ })), _.active && ((W == null || W === -1) && (W = we, oe = Re), M({
1867
1866
  sortable: this,
1868
1867
  name: "end",
1869
- toEl: I,
1868
+ toEl: $,
1870
1869
  originalEvent: n
1871
1870
  }), this.save()))), this._nulling();
1872
1871
  },
1873
1872
  _nulling: function() {
1874
- z("nulling", this), H = h = I = C = he = T = Ge = re = fe = J = $e = B = oe = we = Le = ve = Ae = L = We = _.dragged = _.ghost = _.clone = _.active = null, tn.forEach(function(n) {
1873
+ z("nulling", this), T = u = $ = w = ue = I = Ge = re = fe = J = $e = W = oe = we = Re = ve = Ae = R = Be = _.dragged = _.ghost = _.clone = _.active = null, tn.forEach(function(n) {
1875
1874
  n.checked = !0;
1876
- }), tn.length = un = yn = 0;
1875
+ }), tn.length = hn = yn = 0;
1877
1876
  },
1878
1877
  handleEvent: function(n) {
1879
1878
  switch (n.type) {
@@ -1883,7 +1882,7 @@ _.prototype = /** @lends Sortable.prototype */
1883
1882
  break;
1884
1883
  case "dragenter":
1885
1884
  case "dragover":
1886
- h && (this._onDragOver(n), Ji(n));
1885
+ u && (this._onDragOver(n), Ji(n));
1887
1886
  break;
1888
1887
  case "selectstart":
1889
1888
  n.preventDefault();
@@ -1939,7 +1938,7 @@ _.prototype = /** @lends Sortable.prototype */
1939
1938
  if (t === void 0)
1940
1939
  return a[n];
1941
1940
  var o = je.modifyOption(this, n, t);
1942
- typeof o < "u" ? a[n] = o : a[n] = t, n === "group" && Rt(a);
1941
+ typeof o < "u" ? a[n] = o : a[n] = t, n === "group" && Lt(a);
1943
1942
  },
1944
1943
  /**
1945
1944
  * Destroy
@@ -1955,7 +1954,7 @@ _.prototype = /** @lends Sortable.prototype */
1955
1954
  if (!re) {
1956
1955
  if (z("hideClone", this), _.eventCanceled)
1957
1956
  return;
1958
- v(T, "display", "none"), this.options.removeCloneOnHide && T.parentNode && T.parentNode.removeChild(T), re = !0;
1957
+ v(I, "display", "none"), this.options.removeCloneOnHide && I.parentNode && I.parentNode.removeChild(I), re = !0;
1959
1958
  }
1960
1959
  },
1961
1960
  _showClone: function(n) {
@@ -1966,7 +1965,7 @@ _.prototype = /** @lends Sortable.prototype */
1966
1965
  if (re) {
1967
1966
  if (z("showClone", this), _.eventCanceled)
1968
1967
  return;
1969
- h.parentNode == H && !this.options.group.revertClone ? H.insertBefore(T, h) : he ? H.insertBefore(T, he) : H.appendChild(T), this.options.group.revertClone && this.animate(h, T), v(T, "display", ""), re = !1;
1968
+ u.parentNode == T && !this.options.group.revertClone ? T.insertBefore(I, u) : ue ? T.insertBefore(I, ue) : T.appendChild(I), this.options.group.revertClone && this.animate(u, I), v(I, "display", ""), re = !1;
1970
1969
  }
1971
1970
  }
1972
1971
  };
@@ -1978,7 +1977,7 @@ function qe(e, n, t, a, o, i, r, l) {
1978
1977
  return window.CustomEvent && !te && !ze ? c = new CustomEvent("move", {
1979
1978
  bubbles: !0,
1980
1979
  cancelable: !0
1981
- }) : (c = document.createEvent("Event"), c.initEvent("move", !0, !0)), c.to = n, c.from = e, c.dragged = t, c.draggedRect = a, c.related = o || n, c.relatedRect = i || F(n), c.willInsertAfter = l, c.originalEvent = r, e.dispatchEvent(c), m && (f = m.call(p, c, r)), f;
1980
+ }) : (c = document.createEvent("Event"), c.initEvent("move", !0, !0)), c.to = n, c.from = e, c.dragged = t, c.draggedRect = a, c.related = o || n, c.relatedRect = i || P(n), c.willInsertAfter = l, c.originalEvent = r, e.dispatchEvent(c), m && (f = m.call(p, c, r)), f;
1982
1981
  }
1983
1982
  function gn(e) {
1984
1983
  e.draggable = !1;
@@ -1987,28 +1986,28 @@ function Gi() {
1987
1986
  Gn = !1;
1988
1987
  }
1989
1988
  function Yi(e, n, t) {
1990
- var a = F(Ee(t.el, 0, t.options, !0)), o = Pt(t.el, t.options, C), i = 10;
1989
+ var a = P(Ee(t.el, 0, t.options, !0)), o = Ft(t.el, t.options, w), i = 10;
1991
1990
  return n ? e.clientX < o.left - i || e.clientY < a.top && e.clientX < a.right : e.clientY < o.top - i || e.clientY < a.bottom && e.clientX < a.left;
1992
1991
  }
1993
1992
  function Xi(e, n, t) {
1994
- var a = F(et(t.el, t.options.draggable)), o = Pt(t.el, t.options, C), i = 10;
1993
+ var a = P(et(t.el, t.options.draggable)), o = Ft(t.el, t.options, w), i = 10;
1995
1994
  return n ? e.clientX > o.right + i || e.clientY > a.bottom && e.clientX > a.left : e.clientY > o.bottom + i || e.clientX > a.right && e.clientY > a.top;
1996
1995
  }
1997
1996
  function Ki(e, n, t, a, o, i, r, l) {
1998
- var c = a ? e.clientY : e.clientX, p = a ? t.height : t.width, m = a ? t.top : t.left, f = a ? t.bottom : t.right, u = !1;
1997
+ var c = a ? e.clientY : e.clientX, p = a ? t.height : t.width, m = a ? t.top : t.left, f = a ? t.bottom : t.right, h = !1;
1999
1998
  if (!r) {
2000
1999
  if (l && Ye < p * o) {
2001
2000
  if (!Me && (Ae === 1 ? c > m + p * i / 2 : c < f - p * i / 2) && (Me = !0), Me)
2002
- u = !0;
2001
+ h = !0;
2003
2002
  else if (Ae === 1 ? c < m + Ye : c > f - Ye)
2004
2003
  return -Ae;
2005
2004
  } else if (c > m + p * (1 - o) / 2 && c < f - p * (1 - o) / 2)
2006
2005
  return Qi(n);
2007
2006
  }
2008
- return u = u || r, u && (c < m + p * i / 2 || c > f - p * i / 2) ? c > m + p / 2 ? 1 : -1 : 0;
2007
+ return h = h || r, h && (c < m + p * i / 2 || c > f - p * i / 2) ? c > m + p / 2 ? 1 : -1 : 0;
2009
2008
  }
2010
2009
  function Qi(e) {
2011
- return q(h) < q(e) ? 1 : -1;
2010
+ return q(u) < q(e) ? 1 : -1;
2012
2011
  }
2013
2012
  function es(e) {
2014
2013
  for (var n = e.tagName + e.className + e.src + e.href + e.textContent, t = n.length, a = 0; t--; )
@@ -2039,15 +2038,15 @@ _.utils = {
2039
2038
  is: function(n, t) {
2040
2039
  return !!G(n, t, n, !1);
2041
2040
  },
2042
- extend: Li,
2041
+ extend: Ri,
2043
2042
  throttle: Tt,
2044
2043
  closest: G,
2045
- toggleClass: W,
2044
+ toggleClass: B,
2046
2045
  clone: $t,
2047
2046
  index: q,
2048
2047
  nextTick: Xe,
2049
2048
  cancelNextTick: Yn,
2050
- detectDirection: Nt,
2049
+ detectDirection: Pt,
2051
2050
  getChild: Ee
2052
2051
  };
2053
2052
  _.get = function(e) {
@@ -2065,8 +2064,8 @@ _.mount = function() {
2065
2064
  _.create = function(e, n) {
2066
2065
  return new _(e, n);
2067
2066
  };
2068
- _.version = Fi;
2069
- var P = [], Pe, Xn, Kn = !1, vn, _n, an, Fe;
2067
+ _.version = Ni;
2068
+ var N = [], Fe, Xn, Kn = !1, vn, _n, an, Ne;
2070
2069
  function ts() {
2071
2070
  function e() {
2072
2071
  this.defaults = {
@@ -2092,17 +2091,17 @@ function ts() {
2092
2091
  this.sortable.nativeDraggable ? k(document, "dragover", this._handleAutoScroll) : (k(document, "pointermove", this._handleFallbackAutoScroll), k(document, "touchmove", this._handleFallbackAutoScroll), k(document, "mousemove", this._handleFallbackAutoScroll)), gt(), Ke(), Ai();
2093
2092
  },
2094
2093
  nulling: function() {
2095
- an = Xn = Pe = Kn = Fe = vn = _n = null, P.length = 0;
2094
+ an = Xn = Fe = Kn = Ne = vn = _n = null, N.length = 0;
2096
2095
  },
2097
2096
  _handleFallbackAutoScroll: function(t) {
2098
2097
  this._handleAutoScroll(t, !0);
2099
2098
  },
2100
2099
  _handleAutoScroll: function(t, a) {
2101
2100
  var o = this, i = (t.touches ? t.touches[0] : t).clientX, r = (t.touches ? t.touches[0] : t).clientY, l = document.elementFromPoint(i, r);
2102
- if (an = t, a || this.options.forceAutoScrollFallback || ze || te || Ne) {
2101
+ if (an = t, a || this.options.forceAutoScrollFallback || ze || te || Pe) {
2103
2102
  Cn(t, this.options, l, a);
2104
2103
  var c = le(l, !0);
2105
- Kn && (!Fe || i !== vn || r !== _n) && (Fe && gt(), Fe = setInterval(function() {
2104
+ Kn && (!Ne || i !== vn || r !== _n) && (Ne && gt(), Ne = setInterval(function() {
2106
2105
  var p = le(document.elementFromPoint(i, r), !0);
2107
2106
  p !== c && (c = p, Ke()), Cn(t, o.options, p, a);
2108
2107
  }, 10), vn = i, _n = r);
@@ -2120,33 +2119,33 @@ function ts() {
2120
2119
  });
2121
2120
  }
2122
2121
  function Ke() {
2123
- P.forEach(function(e) {
2122
+ N.forEach(function(e) {
2124
2123
  clearInterval(e.pid);
2125
- }), P = [];
2124
+ }), N = [];
2126
2125
  }
2127
2126
  function gt() {
2128
- clearInterval(Fe);
2127
+ clearInterval(Ne);
2129
2128
  }
2130
2129
  var Cn = Tt(function(e, n, t, a) {
2131
2130
  if (n.scroll) {
2132
2131
  var o = (e.touches ? e.touches[0] : e).clientX, i = (e.touches ? e.touches[0] : e).clientY, r = n.scrollSensitivity, l = n.scrollSpeed, c = X(), p = !1, m;
2133
- Xn !== t && (Xn = t, Ke(), Pe = n.scroll, m = n.scrollFn, Pe === !0 && (Pe = le(t, !0)));
2134
- var f = 0, u = Pe;
2132
+ Xn !== t && (Xn = t, Ke(), Fe = n.scroll, m = n.scrollFn, Fe === !0 && (Fe = le(t, !0)));
2133
+ var f = 0, h = Fe;
2135
2134
  do {
2136
- var g = u, y = F(g), w = y.top, $ = y.bottom, N = y.left, R = y.right, V = y.width, j = y.height, de = void 0, Y = void 0, ce = g.scrollWidth, Se = g.scrollHeight, U = v(g), De = g.scrollLeft, ae = g.scrollTop;
2137
- g === c ? (de = V < ce && (U.overflowX === "auto" || U.overflowX === "scroll" || U.overflowX === "visible"), Y = j < Se && (U.overflowY === "auto" || U.overflowY === "scroll" || U.overflowY === "visible")) : (de = V < ce && (U.overflowX === "auto" || U.overflowX === "scroll"), Y = j < Se && (U.overflowY === "auto" || U.overflowY === "scroll"));
2138
- var He = de && (Math.abs(R - o) <= r && De + V < ce) - (Math.abs(N - o) <= r && !!De), Q = Y && (Math.abs($ - i) <= r && ae + j < Se) - (Math.abs(w - i) <= r && !!ae);
2139
- if (!P[f])
2135
+ var b = h, y = P(b), C = y.top, H = y.bottom, F = y.left, L = y.right, V = y.width, j = y.height, de = void 0, Y = void 0, ce = b.scrollWidth, Se = b.scrollHeight, U = v(b), De = b.scrollLeft, ae = b.scrollTop;
2136
+ b === c ? (de = V < ce && (U.overflowX === "auto" || U.overflowX === "scroll" || U.overflowX === "visible"), Y = j < Se && (U.overflowY === "auto" || U.overflowY === "scroll" || U.overflowY === "visible")) : (de = V < ce && (U.overflowX === "auto" || U.overflowX === "scroll"), Y = j < Se && (U.overflowY === "auto" || U.overflowY === "scroll"));
2137
+ var He = de && (Math.abs(L - o) <= r && De + V < ce) - (Math.abs(F - o) <= r && !!De), Q = Y && (Math.abs(H - i) <= r && ae + j < Se) - (Math.abs(C - i) <= r && !!ae);
2138
+ if (!N[f])
2140
2139
  for (var pe = 0; pe <= f; pe++)
2141
- P[pe] || (P[pe] = {});
2142
- (P[f].vx != He || P[f].vy != Q || P[f].el !== g) && (P[f].el = g, P[f].vx = He, P[f].vy = Q, clearInterval(P[f].pid), (He != 0 || Q != 0) && (p = !0, P[f].pid = setInterval((function() {
2140
+ N[pe] || (N[pe] = {});
2141
+ (N[f].vx != He || N[f].vy != Q || N[f].el !== b) && (N[f].el = b, N[f].vx = He, N[f].vy = Q, clearInterval(N[f].pid), (He != 0 || Q != 0) && (p = !0, N[f].pid = setInterval((function() {
2143
2142
  a && this.layer === 0 && _.active._onTouchMove(an);
2144
- var Te = P[this.layer].vy ? P[this.layer].vy * l : 0, ie = P[this.layer].vx ? P[this.layer].vx * l : 0;
2145
- typeof m == "function" && m.call(_.dragged.parentNode[Z], ie, Te, e, an, P[this.layer].el) !== "continue" || It(P[this.layer].el, ie, Te);
2143
+ var Te = N[this.layer].vy ? N[this.layer].vy * l : 0, ie = N[this.layer].vx ? N[this.layer].vx * l : 0;
2144
+ typeof m == "function" && m.call(_.dragged.parentNode[Z], ie, Te, e, an, N[this.layer].el) !== "continue" || It(N[this.layer].el, ie, Te);
2146
2145
  }).bind({
2147
2146
  layer: f
2148
2147
  }), 24))), f++;
2149
- } while (n.bubbleScroll && u !== c && (u = le(u, !1)));
2148
+ } while (n.bubbleScroll && h !== c && (h = le(h, !1)));
2150
2149
  Kn = p;
2151
2150
  }
2152
2151
  }, 30), Mt = function(n) {
@@ -2209,7 +2208,7 @@ var ss = function(e, n, t, a) {
2209
2208
  };
2210
2209
  const zt = class {
2211
2210
  constructor(e) {
2212
- b(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.name = "booking-form-config", this.additonalFields = void 0, this.formFields = void 0;
2211
+ g(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.name = "booking-form-config", this.additionalFields = void 0, this.formFields = void 0;
2213
2212
  }
2214
2213
  elementNameChangedHandler(e) {
2215
2214
  d("nylas-calendar-picker", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
@@ -2249,12 +2248,15 @@ const zt = class {
2249
2248
  componentDidLoad() {
2250
2249
  var t, a, o;
2251
2250
  d("nylas-booking-form-config", "componentDidLoad");
2252
- const e = Object.entries(((a = (t = this.selectedConfiguration) == null ? void 0 : t.scheduler) == null ? void 0 : a.additional_fields) || {}).map(([i, r]) => ({ ...r, key: i })) || this.additonalFields || [];
2251
+ const e = Object.entries(((a = (t = this.selectedConfiguration) == null ? void 0 : t.scheduler) == null ? void 0 : a.additional_fields) || {}).map(([i, r]) => ({ ...r, key: i })) || this.additionalFields || [];
2253
2252
  this.formFields = [
2254
2253
  ...this.formFields,
2255
2254
  ...e.sort((i, r) => i.order - r.order).map((i, r) => {
2256
- const { typeLabel: l } = rt.find((c) => c.type === i.type);
2257
- return i.order = r + 2, { ...i, isOpen: !1, typeLabel: l };
2255
+ const l = rt.find((p) => p.type === i.type);
2256
+ if (!l)
2257
+ return { ...i, isOpen: !1, typeLabel: "Unknown" };
2258
+ const c = l.label;
2259
+ return i.order = r + 2, { ...i, isOpen: !1, typeLabel: c };
2258
2260
  })
2259
2261
  ];
2260
2262
  const n = (o = this.host.shadowRoot) == null ? void 0 : o.getElementById("fields");
@@ -2368,13 +2370,13 @@ const zt = class {
2368
2370
  this.formFields = this.formFields.map((t, a) => (a === e && (t.default = n.detail.value), t));
2369
2371
  }
2370
2372
  render() {
2371
- return s(E, { key: "c04d0559326b5a5f2b06a50ec75108aa9205f554" }, s("div", { key: "b28ce5476fc6d458e578bacc70f8515a41140bdb", class: "nylas-booking-form-config", part: "nbfc" }, s("div", { key: "8ae9f70bafd0c3389e2e8cfb1bc9167322c51d02", class: "header", part: "nbfc__header" }, s("div", { key: "00aca11123f8789fc33e19aa563ae989eabd732b", class: "header_text" }, s("h3", { key: "1236bc055f9da4d9edb6a46f123ac26f7e3bf3be" }, "Booking form"), s("p", { key: "10e937c33b0b2cc06cd2d55dd6dce17e53731885" }, "Add custom fields to the booking form.")), s("div", { key: "7aa116effb6fa846a50d214195bb0297d2370a7f", class: "header_action" }, s("select-dropdown", { key: "6f6e50d1349f633bb6fc3114f17f357ef273047b", name: "add-field", exportparts: "sd_dropdown: nbfc__add_field, sd_dropdown-button: nbfc__add_field-button, sd_dropdown-content: nbfc__add_field-dropdown-content", options: ga, withSearch: !1, withChevron: !1, dropdownButtonText: "Add new field" }, s("span", { key: "f7efbb6d8d43323944d73b50afe891e6037ef618", slot: "select-icon" }, s("plus-icon", { key: "6c201dcd7830277b33459886e2889b3daf69ce4f", width: "15", height: "15" }))))), s("div", { key: "0de903a139c7055abd25fcdfa887c26c375fc0c6", class: "content" }, s("div", { key: "bfad27230ada72d362e79add159fddf66ecc742f", id: "fields", class: "additional_fields", part: "nbfc__additional_fields" }, this.formFields.map((e, n) => s("div", { class: `form-field draggable ${e.readonly && "fixed"}`, part: "nbfc__form_field", key: n }, s("div", { class: "form-field_header", part: "nbfc__form_field-header" }, s("span", { class: "dragable" }, s("dragable-icon", { width: "24", height: "25" })), s("div", { class: "form-field_header_text" }, s("h4", null, e.label), s("p", null, e.typeLabel)), s("div", { class: "form-field_header_actions" }, s("span", { class: "is-required" }, e.required ? "Required" : "Optional"), !e.readonly && s("button", { onClick: () => {
2373
+ return s(E, { key: "632d9bd6cc0162efdb7e83b78b23935f04569fcb" }, s("div", { key: "dae8d7f52a658b121a992f9cd73cd766e2c16cec", class: "nylas-booking-form-config", part: "nbfc" }, s("div", { key: "4f02c7163dfecd29df48da9b163e12e9a6c9c357", class: "header", part: "nbfc__header" }, s("div", { key: "169cfa3f8d4dd519dd0621d032d3e7a13384b8c7", class: "header_text" }, s("h3", { key: "66e50347bae8fca4c3344030d4d3caf4158244e2" }, "Booking form"), s("p", { key: "883886b2c841acdbd44e6cb1c18a860a51c52412" }, "Add custom fields to the booking form.")), s("div", { key: "e307526fa6d75c4aaaa71c5658006d9e7417c0f0", class: "header_action" }, s("select-dropdown", { key: "4b16dd221f5740b21cde95488e2609730e08ea54", name: "add-field", exportparts: "sd_dropdown: nbfc__add_field, sd_dropdown-button: nbfc__add_field-button, sd_dropdown-content: nbfc__add_field-dropdown-content", options: ga, withSearch: !1, withChevron: !1, dropdownButtonText: "Add new field" }, s("span", { key: "5ccd949bb563f32f1682b9432759828f086b46e3", slot: "select-icon" }, s("plus-icon", { key: "b77ac5dd297071ec6e16c3728db1a7b096e83e74", width: "15", height: "15" }))))), s("div", { key: "a7499ce8959d027f0540b086c3393353c3993452", class: "content" }, s("div", { key: "ff24161e13beba123ca46c814515704bf06d4259", id: "fields", class: "additional_fields", part: "nbfc__additional_fields" }, this.formFields.map((e, n) => s("div", { class: `form-field draggable ${e.readonly && "fixed"}`, part: "nbfc__form_field", key: n }, s("div", { class: "form-field_header", part: "nbfc__form_field-header" }, s("span", { class: "dragable" }, s("dragable-icon", { width: "24", height: "25" })), s("div", { class: "form-field_header_text" }, s("h4", null, e.label), s("p", null, e.typeLabel)), s("div", { class: "form-field_header_actions" }, s("span", { class: "is-required" }, e.required ? "Required" : "Optional"), !e.readonly && s("button", { onClick: () => {
2372
2374
  this.fieldRemove(n);
2373
2375
  } }, s("close-icon", null)), s("span", { class: `chevron ${e.isOpen ? "open" : "closed"}`, onClick: () => {
2374
2376
  this.fieldToggle(n);
2375
2377
  } }, s("chevron-icon", { width: "24", height: "24" })))), s("div", { class: `form-field_content ${!e.isOpen && "hidden"}`, part: "nbfc__form_field-content" }, s("div", { class: "inputs" }, s("input-component", { class: "label-input", name: `${n}`, key: n, label: "Label", required: !1, readOnly: e.readonly, defaultValue: e.label }, s("div", { class: "required-input", slot: "additional-input" }, s("input", { type: "checkbox", name: `required_${e.order}`, id: `required_${e.order}`, onClick: () => {
2376
2378
  this.fieldRequired(n);
2377
- }, checked: e.required, disabled: e.readonly }), s("label", { htmlFor: `required_${e.order}`, "aria-label": "Required" }, "Required"))), !e.readonly && s("input-component", { class: "default-value", name: `default-value-${n}`, key: n, label: "Default value", required: !1, readOnly: e.readonly, defaultValue: e.default })), e.options != null && s("div", { class: "options-container" }, s("h4", null, "ALL OPTIONS"), s("div", { class: "options" }, e.options.map((t, a) => s("div", { class: "option" }, s("input-component", { key: a, name: `${n}_${a}`, label: e.typeLabel + " option " + (a + 1), required: !0, defaultValue: t }, a > 1 && s("div", { class: "required-input", slot: "additional-input" }, s("button", { onClick: () => {
2379
+ }, checked: e.required, disabled: e.readonly }), s("label", { htmlFor: `required_${e.order}`, "aria-label": "Required" }, "Required"))), !e.readonly && e.type !== "date" && s("input-component", { class: "default-value", name: `default-value-${n}`, key: n, label: "Default value", required: !1, readOnly: e.readonly, defaultValue: e.default }), !e.readonly && e.type === "date" && s("nylas-date-component", { class: "default-value", name: `default-value-${n}`, key: n, label: "Default value", required: !1, readOnly: e.readonly, defaultValue: e.default })), e.options != null && s("div", { class: "options-container" }, s("h4", null, "ALL OPTIONS"), s("div", { class: "options" }, e.options.map((t, a) => s("div", { class: "option" }, s("input-component", { key: a, name: `${n}_${a}`, label: e.typeLabel + " option " + (a + 1), required: !0, defaultValue: t }, a > 1 && s("div", { class: "required-input", slot: "additional-input" }, s("button", { onClick: () => {
2378
2380
  this.fieldOptionRemove(n, a);
2379
2381
  } }, s("close-icon", null))))))), s("button", { onClick: () => {
2380
2382
  this.fieldOptionAdd(n);
@@ -2420,7 +2422,7 @@ var ls = function(e, n, t, a) {
2420
2422
  const jt = class {
2421
2423
  constructor(e) {
2422
2424
  var n, t, a;
2423
- b(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.name = "buffer-time", this.buffer = ((a = (t = (n = this.selectedConfiguration) == null ? void 0 : n.availability) == null ? void 0 : t.availability_rules) == null ? void 0 : a.buffer) ?? { before: 0, after: 0 }, this.selectedBeforeBufferTime = this.buffer.before, this.selectedAfterBufferTime = this.buffer.after, this.componentLoaded = !1;
2425
+ g(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.name = "buffer-time", this.buffer = ((a = (t = (n = this.selectedConfiguration) == null ? void 0 : n.availability) == null ? void 0 : t.availability_rules) == null ? void 0 : a.buffer) ?? { before: 0, after: 0 }, this.selectedBeforeBufferTime = this.buffer.before, this.selectedAfterBufferTime = this.buffer.after, this.componentLoaded = !1;
2424
2426
  }
2425
2427
  connectedCallback() {
2426
2428
  d("nylas-buffer-time", "connectedCallback");
@@ -2485,20 +2487,20 @@ const jt = class {
2485
2487
  const { fullSlots: r, partialFillHeight: l } = a(this.selectedBeforeBufferTime);
2486
2488
  return Array.from({ length: 4 }, (c, p) => {
2487
2489
  const m = this.selectedBeforeBufferTime > 0 && p > 4 - r - 1, f = this.selectedBeforeBufferTime > 0 && p === 4 - r - 1 && l > 0;
2488
- let u = {};
2489
- return m && !f ? u.backgroundColor = "var(--nylas-base-100)" : f && (u.background = `linear-gradient(to top, var(--nylas-base-100) ${l}px, transparent 0)`), s("div", { key: p, class: `slot ${m ? "active" : ""}`, style: {
2490
+ let h = {};
2491
+ return m && !f ? h.backgroundColor = "var(--nylas-base-100)" : f && (h.background = `linear-gradient(to top, var(--nylas-base-100) ${l}px, transparent 0)`), s("div", { key: p, class: `slot ${m ? "active" : ""}`, style: {
2490
2492
  height: "10px",
2491
- ...u
2493
+ ...h
2492
2494
  } });
2493
2495
  });
2494
2496
  }, i = () => {
2495
2497
  const { fullSlots: r, partialFillHeight: l } = a(this.selectedAfterBufferTime);
2496
2498
  return Array.from({ length: 4 }, (c, p) => {
2497
2499
  const m = this.selectedAfterBufferTime > 0 && p < r, f = p === r && l > 0;
2498
- let u = {};
2499
- return m && !f ? u.backgroundColor = "var(--nylas-base-100)" : f && (u.background = `linear-gradient(to bottom, var(--nylas-base-100) ${l}px, transparent 0)`), s("div", { key: p, class: `slot ${m ? "active" : ""}`, style: {
2500
+ let h = {};
2501
+ return m && !f ? h.backgroundColor = "var(--nylas-base-100)" : f && (h.background = `linear-gradient(to bottom, var(--nylas-base-100) ${l}px, transparent 0)`), s("div", { key: p, class: `slot ${m ? "active" : ""}`, style: {
2500
2502
  height: "10px",
2501
- ...u
2503
+ ...h
2502
2504
  } });
2503
2505
  });
2504
2506
  };
@@ -2559,7 +2561,7 @@ var ps = function(e, n, t, a) {
2559
2561
  };
2560
2562
  const Ut = class {
2561
2563
  constructor(e) {
2562
- b(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.name = "calendar", this.currentUser = void 0, this.calendars = void 0, this.defaultSelectedCalendars = [], this.selectedCalendars = [], this.error = "";
2564
+ g(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.name = "calendar", this.currentUser = void 0, this.calendars = void 0, this.defaultSelectedCalendars = [], this.selectedCalendars = [], this.error = "";
2563
2565
  }
2564
2566
  elementNameChangedHandler(e) {
2565
2567
  d("nylas-calendar-picker", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
@@ -2638,7 +2640,7 @@ ps([
2638
2640
  ], Ut.prototype, "render", null);
2639
2641
  Ut.style = cs;
2640
2642
  const fs = ':host{--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}.nylas-cancellation-policy{display:flex;flex-direction:column;gap:4px}.nylas-cancellation-policy label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:16px;font-style:normal;font-weight:400;line-height:150%;}.nylas-cancellation-policy label span.label-icon{margin-left:4px}.nylas-cancellation-policy label span.label-icon tooltip-component{display:flex}.nylas-cancellation-policy textarea{padding:12px 16px;border-width:1;resize:vertical;border-radius:8px;font-family:var(--nylas-font-family);font-size:16px;line-height:24px;border:1px solid var(--nylas-base-200)}.nylas-cancellation-policy textarea::-webkit-resizer{display:none}', ms = fs;
2641
- var hs = function(e, n, t, a) {
2643
+ var us = function(e, n, t, a) {
2642
2644
  var o = arguments.length, i = o < 3 ? n : a === null ? a = Object.getOwnPropertyDescriptor(n, t) : a, r;
2643
2645
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
2644
2646
  i = Reflect.decorate(e, n, t, a);
@@ -2650,9 +2652,9 @@ var hs = function(e, n, t, a) {
2650
2652
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
2651
2653
  return Reflect.metadata(e, n);
2652
2654
  };
2653
- const Wt = class {
2655
+ const Bt = class {
2654
2656
  constructor(e) {
2655
- b(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.cancellationPolicy = void 0, this.name = "cancelation-policy", this.message = void 0;
2657
+ g(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.cancellationPolicy = void 0, this.name = "cancelation-policy", this.message = void 0;
2656
2658
  }
2657
2659
  elementNameChangedHandler(e) {
2658
2660
  d("nylas-cancellation-policy", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
@@ -2693,7 +2695,7 @@ const Wt = class {
2693
2695
  };
2694
2696
  }
2695
2697
  };
2696
- hs([
2698
+ us([
2697
2699
  S({
2698
2700
  name: "nylas-cancellation-policy",
2699
2701
  stateToProps: /* @__PURE__ */ new Map([["schedulerConfig.selectedConfiguration", "selectedConfiguration"]]),
@@ -2703,9 +2705,9 @@ hs([
2703
2705
  En("design:type", Function),
2704
2706
  En("design:paramtypes", []),
2705
2707
  En("design:returntype", void 0)
2706
- ], Wt.prototype, "render", null);
2707
- Wt.style = ms;
2708
- const us = ':host{display:block;--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:inherit}.nylas-confirmation-email{width:inherit;display:flex;flex-direction:column;margin:1rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200);text-align:left}.nylas-confirmation-email .header{padding:1rem;display:grid;grid-template-columns:1fr auto;border-bottom:1px solid var(--nylas-base-200)}.nylas-confirmation-email .header h3{border-radius:var(--nylas-border-radius-2x);margin:0;font-size:1rem;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-confirmation-email .header p{margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left}.nylas-confirmation-email .header .confirmation-email-toggle{display:flex;gap:24px;align-items:center}.nylas-confirmation-email .header .confirmation-email-toggle .chevron{display:flex;align-self:center;cursor:pointer}.nylas-confirmation-email .header .confirmation-email-toggle .chevron:hover,.nylas-confirmation-email .header .confirmation-email-toggle .chevron:active{color:var(--nylas-primary)}.nylas-confirmation-email .header .confirmation-email-toggle .chevron.open{transform:rotate(90deg)}.nylas-confirmation-email .header .confirmation-email-toggle .chevron.closed{transform:rotate(270deg)}.nylas-confirmation-email .header .confirmation-email-toggle .chevron.disabled{cursor:not-allowed;color:var(--nylas-base-300)}.nylas-confirmation-email .header .confirmation-email-toggle .chevron.disabled:hover{color:var(--nylas-base-300)}.nylas-confirmation-email .nylas-confirmation-email__body{display:grid;grid-template-columns:1fr auto;background-color:var(--nylas-base-25);border-radius:var(--nylas-border-radius-2x)}@media screen and (max-width: 768px){.nylas-confirmation-email .nylas-confirmation-email__body{grid-template-columns:1fr}}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section{padding:1rem;display:flex;flex-direction:column;gap:1rem;color:var(--nylas-base-800)}@media screen and (max-width: 768px){.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section{border:none}}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:1rem}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row.full-width-col{grid-template-columns:1fr;border-top:1px solid var(--nylas-base-200);padding-top:1.25rem;margin:0.25rem 0}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row label{display:flex;align-items:center}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row label span.required{color:var(--nylas-error, #cc4841)}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row label span.label-icon{margin-left:4px}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row label span.label-icon tooltip-component{display:flex}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row p{margin:0.25rem 0 0 0;font-size:1rem;font-weight:500;line-height:24px;color:var(--nylas-base-900)}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row .company-logo-container{display:flex;gap:32px;width:100%}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row .company-logo-container .input-container{display:flex;flex-direction:column;flex:1}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row .company-logo-container .company-logo{display:flex;justify-content:center;align-items:center;width:200px;height:100px;border:var(--nylas-base-200) solid 1px;border-radius:var(--nylas-border-radius-2x);overflow:hidden;padding:10px}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row .company-logo-container .company-logo img{max-height:100%;max-width:100%;object-fit:contain;object-position:center}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row span.selected-value{font-weight:500}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .subsection{display:flex;flex-direction:column;gap:1rem}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .subsection h3{margin:0;font-size:1rem;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .subsection .input-container{display:flex;flex-direction:column;gap:0.25rem}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .subsection .input-container textarea{padding:12px 16px;border-width:1;resize:vertical;border-radius:8px;font-family:var(--nylas-font-family);font-size:16px;line-height:24px;border:1px solid var(--nylas-base-200)}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__preview{width:208px;background:var(--nylas-base-25);border-bottom-right-radius:var(--nylas-border-radius-2x)}@media screen and (max-width: 768px){.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__preview{width:inherit;border-bottom-left-radius:var(--nylas-border-radius-2x)}}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__preview h4{font-size:14px;line-height:24px;color:var(--nylas-base-600);font-family:var(--nylas-font-family);font-weight:500;text-align:center;margin:0.75rem 0}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__preview .preview-container{padding:0 2rem 1rem}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__preview .preview-container .slot{background-color:transparent;border-top:1px solid var(--nylas-base-300)}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__preview .preview-container .slot.active{background-color:var(--nylas-base-100)}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__preview .preview-container .slot:last-of-type{border-bottom:1px solid var(--nylas-base-300)}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__preview .preview-container .event-slot{background-color:var(--nylas-base-600);border-top:1px solid var(--nylas-base-300)}.nylas-confirmation-email .nylas-confirmation-email__body span.error-message{color:var(--nylas-error)}.nylas-confirmation-email .nylas-confirmation-email__body span.help-text{margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left}.nylas-confirmation-email .nylas-confirmation-email__summary{padding:0.75rem 1rem;display:grid;grid-template-columns:auto 1fr;column-gap:1rem}.nylas-confirmation-email .nylas-confirmation-email__summary p{margin:0;display:flex;align-items:center;column-gap:4px;font-size:0.875rem;font-weight:400;line-height:21px;color:var(--nylas-base-600);text-align:left}.nylas-confirmation-email .nylas-confirmation-email__summary p span.summary-icon{display:flex;justify-content:center;min-width:20px}sp-divider{background-color:var(--nylas-base-200);height:1px;margin:0.25rem 0}', ys = us;
2708
+ ], Bt.prototype, "render", null);
2709
+ Bt.style = ms;
2710
+ const hs = ':host{display:block;--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:inherit}.nylas-confirmation-email{width:inherit;display:flex;flex-direction:column;margin:1rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200);text-align:left}.nylas-confirmation-email .header{padding:1rem;display:grid;grid-template-columns:1fr auto;border-bottom:1px solid var(--nylas-base-200)}.nylas-confirmation-email .header h3{border-radius:var(--nylas-border-radius-2x);margin:0;font-size:1rem;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-confirmation-email .header p{margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left}.nylas-confirmation-email .header .confirmation-email-toggle{display:flex;gap:24px;align-items:center}.nylas-confirmation-email .header .confirmation-email-toggle .chevron{display:flex;align-self:center;cursor:pointer}.nylas-confirmation-email .header .confirmation-email-toggle .chevron:hover,.nylas-confirmation-email .header .confirmation-email-toggle .chevron:active{color:var(--nylas-primary)}.nylas-confirmation-email .header .confirmation-email-toggle .chevron.open{transform:rotate(90deg)}.nylas-confirmation-email .header .confirmation-email-toggle .chevron.closed{transform:rotate(270deg)}.nylas-confirmation-email .header .confirmation-email-toggle .chevron.disabled{cursor:not-allowed;color:var(--nylas-base-300)}.nylas-confirmation-email .header .confirmation-email-toggle .chevron.disabled:hover{color:var(--nylas-base-300)}.nylas-confirmation-email .nylas-confirmation-email__body{display:grid;grid-template-columns:1fr auto;background-color:var(--nylas-base-25);border-radius:var(--nylas-border-radius-2x)}@media screen and (max-width: 768px){.nylas-confirmation-email .nylas-confirmation-email__body{grid-template-columns:1fr}}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section{padding:1rem;display:flex;flex-direction:column;gap:1rem;color:var(--nylas-base-800)}@media screen and (max-width: 768px){.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section{border:none}}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:1rem}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row.full-width-col{grid-template-columns:1fr;border-top:1px solid var(--nylas-base-200);padding-top:1.25rem;margin:0.25rem 0}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row label{display:flex;align-items:center}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row label span.required{color:var(--nylas-error, #cc4841)}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row label span.label-icon{margin-left:4px}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row label span.label-icon tooltip-component{display:flex}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row p{margin:0.25rem 0 0 0;font-size:1rem;font-weight:500;line-height:24px;color:var(--nylas-base-900)}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row .company-logo-container{display:flex;gap:32px;width:100%}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row .company-logo-container .input-container{display:flex;flex-direction:column;flex:1}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row .company-logo-container .company-logo{display:flex;justify-content:center;align-items:center;width:200px;height:100px;border:var(--nylas-base-200) solid 1px;border-radius:var(--nylas-border-radius-2x);overflow:hidden;padding:10px}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row .company-logo-container .company-logo img{max-height:100%;max-width:100%;object-fit:contain;object-position:center}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .nylas-confirmation-email__row span.selected-value{font-weight:500}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .subsection{display:flex;flex-direction:column;gap:1rem}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .subsection h3{margin:0;font-size:1rem;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .subsection .input-container{display:flex;flex-direction:column;gap:0.25rem}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__section .subsection .input-container textarea{padding:12px 16px;border-width:1;resize:vertical;border-radius:8px;font-family:var(--nylas-font-family);font-size:16px;line-height:24px;border:1px solid var(--nylas-base-200)}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__preview{width:208px;background:var(--nylas-base-25);border-bottom-right-radius:var(--nylas-border-radius-2x)}@media screen and (max-width: 768px){.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__preview{width:inherit;border-bottom-left-radius:var(--nylas-border-radius-2x)}}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__preview h4{font-size:14px;line-height:24px;color:var(--nylas-base-600);font-family:var(--nylas-font-family);font-weight:500;text-align:center;margin:0.75rem 0}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__preview .preview-container{padding:0 2rem 1rem}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__preview .preview-container .slot{background-color:transparent;border-top:1px solid var(--nylas-base-300)}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__preview .preview-container .slot.active{background-color:var(--nylas-base-100)}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__preview .preview-container .slot:last-of-type{border-bottom:1px solid var(--nylas-base-300)}.nylas-confirmation-email .nylas-confirmation-email__body .nylas-confirmation-email__preview .preview-container .event-slot{background-color:var(--nylas-base-600);border-top:1px solid var(--nylas-base-300)}.nylas-confirmation-email .nylas-confirmation-email__body span.error-message{color:var(--nylas-error)}.nylas-confirmation-email .nylas-confirmation-email__body span.help-text{margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left}.nylas-confirmation-email .nylas-confirmation-email__summary{padding:0.75rem 1rem;display:grid;grid-template-columns:auto 1fr;column-gap:1rem}.nylas-confirmation-email .nylas-confirmation-email__summary p{margin:0;display:flex;align-items:center;column-gap:4px;font-size:0.875rem;font-weight:400;line-height:21px;color:var(--nylas-base-600);text-align:left}.nylas-confirmation-email .nylas-confirmation-email__summary p span.summary-icon{display:flex;justify-content:center;min-width:20px}toggle-switch{padding-right:8px}', ys = hs;
2709
2711
  var bs = function(e, n, t, a) {
2710
2712
  var o = arguments.length, i = o < 3 ? n : a === null ? a = Object.getOwnPropertyDescriptor(n, t) : a, r;
2711
2713
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
@@ -2718,9 +2720,9 @@ var bs = function(e, n, t, a) {
2718
2720
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
2719
2721
  return Reflect.metadata(e, n);
2720
2722
  };
2721
- const Bt = class {
2723
+ const Wt = class {
2722
2724
  constructor(e) {
2723
- b(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.confirmationEmailTemplate = {}, this.participants = [], this.name = "confirmation-email-template", this.isOpen = !1, this.confirmationEmail = void 0, this.isConfirmationEmailOpen = this.isOpen, this.participantsState = this.participants;
2725
+ g(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.confirmationEmailTemplate = {}, this.participants = [], this.name = "confirmation-email-template", this.isOpen = !1, this.confirmationEmail = void 0, this.isConfirmationEmailOpen = this.isOpen, this.participantsState = this.participants;
2724
2726
  }
2725
2727
  connectedCallback() {
2726
2728
  d("nylas-confirmation-email", "connectedCallback");
@@ -2732,14 +2734,15 @@ const Bt = class {
2732
2734
  d("nylas-confirmation-email", "componentWillLoad"), this.host.setAttribute("name", this.name);
2733
2735
  }
2734
2736
  componentDidLoad() {
2735
- d("nylas-confirmation-email", "componentDidLoad"), this.selectedConfiguration ? this.selectedConfigurationChangedHandler(this.selectedConfiguration) : (this.confirmationEmail = this.confirmationEmailTemplate, this.isConfirmationEmailOpen = this.isOpen, this.participantsState = this.participants);
2737
+ var e;
2738
+ d("nylas-confirmation-email", "componentDidLoad"), this.selectedConfiguration ? this.selectedConfigurationChangedHandler(this.selectedConfiguration) : (this.confirmationEmail = this.confirmationEmailTemplate, (e = this.confirmationEmail) != null && e.show_nylas_branding || (this.confirmationEmail = { ...this.confirmationEmail, show_nylas_branding: !0 }), this.isConfirmationEmailOpen = this.isOpen, this.participantsState = this.participants);
2736
2739
  }
2737
2740
  elementNameChangedHandler(e) {
2738
2741
  d("nylas-confirmation-email", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
2739
2742
  }
2740
2743
  selectedConfigurationChangedHandler(e) {
2741
- var n, t, a;
2742
- d("nylas-confirmation-email", "selectedConfigurationChangedHandler", e), this.confirmationEmail = ((n = e == null ? void 0 : e.scheduler) == null ? void 0 : n.email_template) || this.confirmationEmailTemplate, this.isConfirmationEmailOpen = !((a = (t = e == null ? void 0 : e.event_booking) == null ? void 0 : t.reminders) != null && a.length), this.participantsState = (e == null ? void 0 : e.participants) || this.participants;
2744
+ var n, t, a, o;
2745
+ d("nylas-confirmation-email", "selectedConfigurationChangedHandler", e), this.confirmationEmail = ((n = e == null ? void 0 : e.scheduler) == null ? void 0 : n.email_template) || this.confirmationEmailTemplate, typeof ((t = this.confirmationEmail) == null ? void 0 : t.show_nylas_branding) > "u" && (this.confirmationEmail = { ...this.confirmationEmail, show_nylas_branding: !0 }), this.isConfirmationEmailOpen = !((o = (a = e == null ? void 0 : e.event_booking) == null ? void 0 : a.reminders) != null && o.length), this.participantsState = (e == null ? void 0 : e.participants) || this.participants;
2743
2746
  }
2744
2747
  async nylasFormInputChangeHandler(e) {
2745
2748
  var o, i;
@@ -2755,6 +2758,9 @@ const Bt = class {
2755
2758
  const { value: n, name: t } = e.detail;
2756
2759
  t === "confirmation-email-logo" && typeof this.internals.setValidity == "function" && this.internals.setValidity({ customError: !0 }, n || "Invalid image URL.");
2757
2760
  }
2761
+ nyalsFormSwitchToggledHandler(e) {
2762
+ d("nylas-confirmation-email", "nyalsFormSwitchToggledHandler", e.detail), e.detail.name === "confirmation-email-show-branding" && (this.confirmationEmail = { ...this.confirmationEmail, show_nylas_branding: e.detail.checked }, this.internals.setFormValue(JSON.stringify(this.confirmationEmail), this.name), this.valueChanged.emit({ value: JSON.stringify(this.confirmationEmail), name: this.name }));
2763
+ }
2758
2764
  updateConfirmationFormValue() {
2759
2765
  d("nylas-confirmation-email", "updateConfirmationFormValue"), this.internals.setFormValue(JSON.stringify(this.confirmationEmail), this.name), this.valueChanged.emit({ value: JSON.stringify(this.confirmationEmail), name: this.name });
2760
2766
  }
@@ -2767,11 +2773,11 @@ const Bt = class {
2767
2773
  this.confirmationEmail = { ...this.confirmationEmail, booking_confirmed: { ...((t = this.confirmationEmail) == null ? void 0 : t.booking_confirmed) || {}, body: n } }, this.internals.setFormValue(JSON.stringify(this.confirmationEmail), this.name), this.valueChanged.emit({ value: JSON.stringify(this.confirmationEmail), name: this.name });
2768
2774
  }
2769
2775
  render() {
2770
- var t, a, o, i, r, l, c;
2771
- const e = this.participantsState.find((p) => p.is_organizer), n = (e == null ? void 0 : e.name) || (e == null ? void 0 : e.email);
2772
- return s(E, { key: "bc4803b94f914d083bd33cf4cecd0cac70b0658c" }, s("div", { key: "6445d38b903bffd19b4db004e850f6488ed4c27f", class: "nylas-confirmation-email", part: "nce" }, s("div", { key: "7ce1ccd72ef83717aec42fe0b533902e3a254796", class: "header", part: "nce__header" }, s("div", { key: "cbceb816c30deebc4e053a7abd1da1c82c171ebe" }, s("h3", { key: "36f5b00d5a98d325341ff06b2bb3ba3cf951e94f" }, ((a = (t = this.confirmationEmail) == null ? void 0 : t.booking_confirmed) == null ? void 0 : a.title) ?? `Booking confirmed with ${n ? ` ${n}` : ""}`), s("p", { key: "6f72022d71e5f4e3c03d0f6d07d7f0f5bc0f9686" }, "Booking confirmation email")), this.isConfirmationEmailOpen ? s("div", { class: "confirmation-email-toggle", part: "nce__confirmation-email-toggle--container" }, s("span", { class: `chevron ${this.isConfirmationEmailOpen ? "open" : "closed"} `, onClick: () => this.toggleConfirmationEmail() }, s("chevron-icon", { width: "24", height: "24" }))) : s("button-component", { variant: "basic", clickHandler: (p) => {
2773
- p.preventDefault(), this.toggleConfirmationEmail();
2774
- } }, s("edit-icon", { width: "16", height: "16" }), "Edit")), this.isConfirmationEmailOpen ? s("div", { class: "nylas-confirmation-email__body", part: "nce__body" }, s("div", { class: "nylas-confirmation-email__section" }, s("div", { class: "nylas-confirmation-email__row" }, s("label", null, "Send confirmation email", s("span", { class: "label-icon" }, s("tooltip-component", null, s("info-icon", { slot: "tooltip-icon" }), s("span", { slot: "tooltip-content" }, "You and your guests will receive a confirmation email immediately upon booking.")))), s("span", { class: "selected-value" }, "Immediately upon booking")), s("div", { class: "nylas-confirmation-email__row" }, s("div", { class: "subsection" }, s("div", { class: "input-container" }, s("label", null, "Company logo URL", s("span", { class: "label-icon" }, s("tooltip-component", null, s("info-icon", { slot: "tooltip-icon" }), s("span", { slot: "tooltip-content" }, "This logo appears in the booking confirmation email. The URL must be publicly accessible. The image will be scaled down to a max size of 200px x 100px.")))), this.confirmationEmail && s("input-image-url", { name: "confirmation-email-logo", exportparts: "iiu__logo-input-textfield: nce__input-image-url", imageUrl: ((o = this.confirmationEmail) == null ? void 0 : o.logo) ?? "" })))), s("div", { class: "nylas-confirmation-email__row full-width-col" }, s("div", { class: "subsection" }, s("h3", null, "Email message"), s("div", { class: "input-container" }, s("label", { htmlFor: "title" }, "Custom email title", s("span", { class: "label-icon" }, s("tooltip-component", null, s("info-icon", { slot: "tooltip-icon" }), s("span", { slot: "tooltip-content" }, "An email title is a headline within the body of the email. This doesn't change the subject line.")))), s("input-component", { name: "confirmation-email-title", maxLength: 60, placeholder: `Booking confirmed ${n ? `with ${n}` : ""}`, defaultValue: ((r = (i = this.confirmationEmail) == null ? void 0 : i.booking_confirmed) == null ? void 0 : r.title) ?? "" })), s("div", { class: "input-container" }, s("textarea-component", { label: "Additional info", name: "confirmation-email-body", id: "confirmation-email-body", placeholder: "Default body", tooltip: "Scheduler adds the content of the box to the email body.", maxLength: 500, defaultValue: ((c = (l = this.confirmationEmail) == null ? void 0 : l.booking_confirmed) == null ? void 0 : c.body) ?? "" })))))) : s("div", { class: "nylas-confirmation-email__summary", part: "nce__summary" }, s("p", null, s("span", { class: "summary-icon" }, s("person-clipboard-icon", null)), "All host & guests"), s("p", null, s("span", { class: "summary-icon" }, s("clock-icon", null)), "Immediately on booking"))));
2776
+ var t, a, o, i, r, l, c, p;
2777
+ const e = this.participantsState.find((m) => m.is_organizer), n = (e == null ? void 0 : e.name) || (e == null ? void 0 : e.email);
2778
+ return s(E, { key: "759357259b7ec93874cc1f8cf7435190e518c07d" }, s("div", { key: "294719768ed0e18df0de33754780bb0161334a08", class: "nylas-confirmation-email", part: "nce" }, s("div", { key: "6d755d2ae63fc6235435ec65f861902831bf4832", class: "header", part: "nce__header" }, s("div", { key: "c691076d3f389463e18a7bcded96e12191286a39" }, s("h3", { key: "8c4a2a6499665034238ce149929421fb534a2a9b" }, ((a = (t = this.confirmationEmail) == null ? void 0 : t.booking_confirmed) == null ? void 0 : a.title) ?? `Booking confirmed with ${n ? ` ${n}` : ""}`), s("p", { key: "64d8cb9eb73d299029c227d3d68b45f5f6471712" }, "Booking confirmation email")), this.isConfirmationEmailOpen ? s("div", { class: "confirmation-email-toggle", part: "nce__confirmation-email-toggle--container" }, s("span", { class: `chevron ${this.isConfirmationEmailOpen ? "open" : "closed"} `, onClick: () => this.toggleConfirmationEmail() }, s("chevron-icon", { width: "24", height: "24" }))) : s("button-component", { variant: "basic", clickHandler: (m) => {
2779
+ m.preventDefault(), this.toggleConfirmationEmail();
2780
+ } }, s("edit-icon", { width: "16", height: "16" }), "Edit")), this.isConfirmationEmailOpen ? s("div", { class: "nylas-confirmation-email__body", part: "nce__body" }, s("div", { class: "nylas-confirmation-email__section" }, s("div", { class: "nylas-confirmation-email__row" }, s("label", null, "Send confirmation email", s("span", { class: "label-icon" }, s("tooltip-component", null, s("info-icon", { slot: "tooltip-icon" }), s("span", { slot: "tooltip-content" }, "You and your guests will receive a confirmation email immediately upon booking.")))), s("span", { class: "selected-value" }, "Immediately upon booking")), s("div", { class: "nylas-confirmation-email__row" }, s("label", null, "Show Nylas branding", s("span", { class: "label-icon" }, s("tooltip-component", null, s("info-icon", { slot: "tooltip-icon" }), s("span", { slot: "tooltip-content" }, "Uncheck this to hide the footer in the email communication.")))), s("toggle-switch", { exportparts: "ts_label: nce__toggle-label, ts_input: nce_toggle-input, ts_slider: nce_toggle-slider", name: "confirmation-email-show-branding", checked: (o = this.confirmationEmail) == null ? void 0 : o.show_nylas_branding })), s("div", { class: "nylas-confirmation-email__row" }, s("div", { class: "subsection" }, s("div", { class: "input-container" }, s("label", null, "Company logo URL", s("span", { class: "label-icon" }, s("tooltip-component", null, s("info-icon", { slot: "tooltip-icon" }), s("span", { slot: "tooltip-content" }, "This logo appears in the booking confirmation email. The URL must be publicly accessible. The image will be scaled down to a max size of 200px x 100px.")))), this.confirmationEmail && s("input-image-url", { name: "confirmation-email-logo", exportparts: "iiu__logo-input-textfield: nce__input-image-url", imageUrl: ((i = this.confirmationEmail) == null ? void 0 : i.logo) ?? "" })))), s("div", { class: "nylas-confirmation-email__row full-width-col" }, s("div", { class: "subsection" }, s("h3", null, "Email message"), s("div", { class: "input-container" }, s("label", { htmlFor: "title" }, "Custom email title", s("span", { class: "label-icon" }, s("tooltip-component", null, s("info-icon", { slot: "tooltip-icon" }), s("span", { slot: "tooltip-content" }, "An email title is a headline within the body of the email. This doesn't change the subject line.")))), s("input-component", { name: "confirmation-email-title", maxLength: 60, placeholder: `Booking confirmed ${n ? `with ${n}` : ""}`, defaultValue: ((l = (r = this.confirmationEmail) == null ? void 0 : r.booking_confirmed) == null ? void 0 : l.title) ?? "" })), s("div", { class: "input-container" }, s("textarea-component", { label: "Additional info", name: "confirmation-email-body", id: "confirmation-email-body", placeholder: "Default body", tooltip: "Scheduler adds the content of the box to the email body.", maxLength: 500, defaultValue: ((p = (c = this.confirmationEmail) == null ? void 0 : c.booking_confirmed) == null ? void 0 : p.body) ?? "" })))))) : s("div", { class: "nylas-confirmation-email__summary", part: "nce__summary" }, s("p", null, s("span", { class: "summary-icon" }, s("person-clipboard-icon", null)), "All host & guests"), s("p", null, s("span", { class: "summary-icon" }, s("clock-icon", null)), "Immediately on booking"))));
2775
2781
  }
2776
2782
  static get formAssociated() {
2777
2783
  return !0;
@@ -2801,8 +2807,8 @@ bs([
2801
2807
  On("design:type", Function),
2802
2808
  On("design:paramtypes", []),
2803
2809
  On("design:returntype", void 0)
2804
- ], Bt.prototype, "render", null);
2805
- Bt.style = ys;
2810
+ ], Wt.prototype, "render", null);
2811
+ Wt.style = ys;
2806
2812
  const gs = ':host{display:block;--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:inherit}.nylas-connected-calendars{width:inherit;display:flex;flex-direction:column;margin:1rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200)}.nylas-connected-calendars .header{padding:1rem}.nylas-connected-calendars .header h3{margin:0;font-size:16px;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-connected-calendars .header p{margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left;display:flex;align-items:center;gap:4px}.nylas-connected-calendars .content .participant-container{padding-top:12px;border-top:1px solid var(--nylas-base-200)}.nylas-connected-calendars .content .participant-container .participant-title{display:flex;justify-content:space-between;align-items:center;padding:4px 16px 16px}.nylas-connected-calendars .content .participant-container .participant-title p{margin:0}.nylas-connected-calendars .content .participant-container .participant-title .participant-toggle{display:flex;gap:24px;align-items:center}.nylas-connected-calendars .content .participant-container .participant-title .participant-toggle .chevron{display:flex;align-self:center;cursor:pointer}.nylas-connected-calendars .content .participant-container .participant-title .participant-toggle .chevron:hover,.nylas-connected-calendars .content .participant-container .participant-title .participant-toggle .chevron:active{color:var(--nylas-primary)}.nylas-connected-calendars .content .participant-container .participant-title .participant-toggle .chevron.open{transform:rotate(90deg)}.nylas-connected-calendars .content .participant-container .participant-title .participant-toggle .chevron.closed{transform:rotate(270deg)}.nylas-connected-calendars .content .participant-container .participant-title .participant-toggle .chevron.disabled{cursor:not-allowed;color:var(--nylas-base-300)}.nylas-connected-calendars .content .participant-container .participant-title .participant-toggle .chevron.disabled:hover{color:var(--nylas-base-300)}nylas-calendar-picker::part(ncp){margin:0;border:none;border-top:1px solid var(--nylas-base-200);border-top-right-radius:0;border-top-left-radius:0}', vs = gs;
2807
2813
  var _s = function(e, n, t, a) {
2808
2814
  var o = arguments.length, i = o < 3 ? n : a === null ? a = Object.getOwnPropertyDescriptor(n, t) : a, r;
@@ -2819,7 +2825,7 @@ var _s = function(e, n, t, a) {
2819
2825
  const Zt = class {
2820
2826
  constructor(e) {
2821
2827
  var n;
2822
- b(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.name = "connected-calendars", this.selectedConfiguration = void 0, this.participants = ((n = this.selectedConfiguration) == null ? void 0 : n.participants) || [], this.calendars = void 0, this.participantOptions = void 0, this.selectedCalendars = this.setParticipants(this.participants), this.participantCalendars = {}, this.participantDefaultSelectedCalendars = {};
2828
+ g(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.name = "connected-calendars", this.selectedConfiguration = void 0, this.participants = ((n = this.selectedConfiguration) == null ? void 0 : n.participants) || [], this.calendars = void 0, this.participantOptions = void 0, this.selectedCalendars = this.setParticipants(this.participants), this.participantCalendars = {}, this.participantDefaultSelectedCalendars = {};
2823
2829
  }
2824
2830
  elementNameChangedHandler(e) {
2825
2831
  d("nylas-connected-calendars", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
@@ -2842,20 +2848,20 @@ const Zt = class {
2842
2848
  var i, r, l, c;
2843
2849
  const t = e == null ? void 0 : e.find((p) => p.is_organizer), a = ((l = (r = (i = this.selectedConfiguration) == null ? void 0 : i.availability) == null ? void 0 : r.availability_rules) == null ? void 0 : l.availability_method) !== "collective", o = {};
2844
2850
  if (n) {
2845
- const p = e == null ? void 0 : e.filter((f) => n.some((u) => u.email === f.email)), m = e == null ? void 0 : e.filter((f) => !n.some((u) => u.email === f.email));
2851
+ const p = e == null ? void 0 : e.filter((f) => n.some((h) => h.email === f.email)), m = e == null ? void 0 : e.filter((f) => !n.some((h) => h.email === f.email));
2846
2852
  p == null || p.forEach((f) => {
2847
- var y, w, $;
2848
- const u = n == null ? void 0 : n.find((N) => N.email === f.email);
2849
- if (!u)
2853
+ var y, C, H;
2854
+ const h = n == null ? void 0 : n.find((F) => F.email === f.email);
2855
+ if (!h)
2850
2856
  return;
2851
2857
  this.participantDefaultSelectedCalendars[f.email] = ((y = f.availability) == null ? void 0 : y.calendar_ids) || [];
2852
- const g = u.calendars ?? [];
2853
- ($ = (w = f.availability) == null ? void 0 : w.calendar_ids) == null || $.forEach((N) => {
2854
- !(g != null && g.some((R) => R.id === N)) && N !== "primary" && g.push({ id: N, name: N });
2855
- }), o[f.email] = g;
2858
+ const b = h.calendars ?? [];
2859
+ (H = (C = f.availability) == null ? void 0 : C.calendar_ids) == null || H.forEach((F) => {
2860
+ !(b != null && b.some((L) => L.id === F)) && F !== "primary" && b.push({ id: F, name: F });
2861
+ }), o[f.email] = b;
2856
2862
  }), a && (m == null || m.forEach((f) => {
2857
- var u, g, y, w;
2858
- (u = f == null ? void 0 : f.availability) != null && u.calendar_ids && ((y = (g = f == null ? void 0 : f.availability) == null ? void 0 : g.calendar_ids) == null ? void 0 : y.length) > 0 && !f.is_organizer && (o[f.email] = this.calendars ?? [{ id: "primary", name: f.email }], this.participantDefaultSelectedCalendars[f.email] = ((w = f.availability) == null ? void 0 : w.calendar_ids) || []);
2863
+ var h, b, y, C;
2864
+ (h = f == null ? void 0 : f.availability) != null && h.calendar_ids && ((y = (b = f == null ? void 0 : f.availability) == null ? void 0 : b.calendar_ids) == null ? void 0 : y.length) > 0 && !f.is_organizer && (o[f.email] = this.calendars ?? [{ id: "primary", name: f.email }], this.participantDefaultSelectedCalendars[f.email] = ((C = f.availability) == null ? void 0 : C.calendar_ids) || []);
2859
2865
  }));
2860
2866
  }
2861
2867
  return t && (o[t.email] = this.calendars ?? [{ id: "primary", name: t.email }], this.participantDefaultSelectedCalendars[t.email] = ((c = t.availability) == null ? void 0 : c.calendar_ids) || []), o;
@@ -2963,7 +2969,7 @@ var xs = function(e, n, t, a) {
2963
2969
  };
2964
2970
  const qt = class {
2965
2971
  constructor(e) {
2966
- b(this, e), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals);
2972
+ g(this, e), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals);
2967
2973
  }
2968
2974
  connectedCallback() {
2969
2975
  d("nylas-custom-booking-flow", "connectedCallback");
@@ -3013,7 +3019,7 @@ var Os = function(e, n, t, a) {
3013
3019
  };
3014
3020
  const Vt = class {
3015
3021
  constructor(e) {
3016
- b(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.defaultUrlSlug = void 0, this.isOpen = !0, this.slugErrorMessage = "", this.name = "custom-event-slug", this.requiresSlug = !1, this.urlSlug = void 0, this.focus = !1, this.copied = !1;
3022
+ g(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.defaultUrlSlug = void 0, this.isOpen = !0, this.slugErrorMessage = "", this.name = "custom-event-slug", this.requiresSlug = !1, this.urlSlug = void 0, this.focus = !1, this.copied = !1;
3017
3023
  }
3018
3024
  connectedCallback() {
3019
3025
  d("nylas-custom-event-slug", "connectedCallback");
@@ -3129,7 +3135,7 @@ var Hs = function(e, n, t, a) {
3129
3135
  const Jt = class {
3130
3136
  constructor(e) {
3131
3137
  var n, t, a, o, i, r;
3132
- b(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.defaultHideAdditionalGuests = ((t = (n = this.selectedConfiguration) == null ? void 0 : n.scheduler) == null ? void 0 : t.hide_additional_guests) ?? !1, this.defaultHideCancellationOptions = ((o = (a = this.selectedConfiguration) == null ? void 0 : a.scheduler) == null ? void 0 : o.hide_cancellation_options) ?? !1, this.defaultHideReschedulingOptions = ((r = (i = this.selectedConfiguration) == null ? void 0 : i.scheduler) == null ? void 0 : r.hide_rescheduling_options) ?? !1, this.name = "customize-booking-settings", this.allowGuestsToInvite = void 0, this.hideCancellationOptions = void 0, this.hideReschedulingOptions = void 0;
3138
+ g(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.defaultHideAdditionalGuests = ((t = (n = this.selectedConfiguration) == null ? void 0 : n.scheduler) == null ? void 0 : t.hide_additional_guests) ?? !1, this.defaultHideCancellationOptions = ((o = (a = this.selectedConfiguration) == null ? void 0 : a.scheduler) == null ? void 0 : o.hide_cancellation_options) ?? !1, this.defaultHideReschedulingOptions = ((r = (i = this.selectedConfiguration) == null ? void 0 : i.scheduler) == null ? void 0 : r.hide_rescheduling_options) ?? !1, this.name = "customize-booking-settings", this.allowGuestsToInvite = void 0, this.hideCancellationOptions = void 0, this.hideReschedulingOptions = void 0;
3133
3139
  }
3134
3140
  elementNameChangedHandler(e) {
3135
3141
  d("nylas-customize-booking-settings", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
@@ -3232,7 +3238,7 @@ var $s = function(e, n, t, a) {
3232
3238
  const Gt = class {
3233
3239
  constructor(e) {
3234
3240
  var n, t;
3235
- b(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.eventDescription = void 0, this.name = "description", this.description = this.eventDescription || ((t = (n = this.selectedConfiguration) == null ? void 0 : n.event_booking) == null ? void 0 : t.description) || "";
3241
+ g(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.eventDescription = void 0, this.name = "description", this.description = this.eventDescription || ((t = (n = this.selectedConfiguration) == null ? void 0 : n.event_booking) == null ? void 0 : t.description) || "";
3236
3242
  }
3237
3243
  elementNameChangedHandler(e) {
3238
3244
  d("nylas-event-description", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
@@ -3285,8 +3291,8 @@ $s([
3285
3291
  In("design:returntype", void 0)
3286
3292
  ], Gt.prototype, "render", null);
3287
3293
  Gt.style = Is;
3288
- const Ps = ':host{display:block;--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}.nylas-event-duration{display:flex;flex-direction:column;gap:4px}.nylas-event-duration label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:16px;font-style:normal;font-weight:400;line-height:150%;}.nylas-event-duration label span.required{color:var(--nylas-error, #cc4841)}.nylas-event-duration label span.label-icon{margin-left:4px}.nylas-event-duration label span.label-icon tooltip-component{display:flex}.nylas-event-duration__wrapper{display:flex;align-items:center;gap:0.5rem}.nylas-event-duration__wrapper input{padding:12px 16px;border-width:1;border-radius:8px;border:1px solid var(--nylas-base-200);font-family:var(--nylas-font-family);font-size:16px;line-height:24px;width:48px}.nylas-event-duration__wrapper input-dropdown::part(id_dropdown-input){border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);padding:14px 16px;width:50px}.nylas-event-duration__wrapper input-dropdown::part(id_dropdown-content){width:100%;min-width:unset;height:200px}.nylas-event-duration__wrapper select-dropdown{width:120px}@media screen and (max-width: 768px){.nylas-event-duration__wrapper select-dropdown{width:100%}}.nylas-event-duration__wrapper select-dropdown::part(sd_dropdown-button){border:1px solid var(--nylas-base-200)}', Fs = Ps;
3289
- var Ns = function(e, n, t, a) {
3294
+ const Fs = ':host{display:block;--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}.nylas-event-duration{display:flex;flex-direction:column;gap:4px}.nylas-event-duration label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:16px;font-style:normal;font-weight:400;line-height:150%;}.nylas-event-duration label span.required{color:var(--nylas-error, #cc4841)}.nylas-event-duration label span.label-icon{margin-left:4px}.nylas-event-duration label span.label-icon tooltip-component{display:flex}.nylas-event-duration__wrapper{display:flex;align-items:center;gap:0.5rem}.nylas-event-duration__wrapper input{padding:12px 16px;border-width:1;border-radius:8px;border:1px solid var(--nylas-base-200);font-family:var(--nylas-font-family);font-size:16px;line-height:24px;width:48px}.nylas-event-duration__wrapper input-dropdown::part(id_dropdown-input){border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);padding:14px 16px;width:50px}.nylas-event-duration__wrapper input-dropdown::part(id_dropdown-content){width:100%;min-width:unset;height:200px}.nylas-event-duration__wrapper select-dropdown{width:120px}@media screen and (max-width: 768px){.nylas-event-duration__wrapper select-dropdown{width:100%}}.nylas-event-duration__wrapper select-dropdown::part(sd_dropdown-button){border:1px solid var(--nylas-base-200)}', Ns = Fs;
3295
+ var Ps = function(e, n, t, a) {
3290
3296
  var o = arguments.length, i = o < 3 ? n : a === null ? a = Object.getOwnPropertyDescriptor(n, t) : a, r;
3291
3297
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
3292
3298
  i = Reflect.decorate(e, n, t, a);
@@ -3300,7 +3306,7 @@ var Ns = function(e, n, t, a) {
3300
3306
  };
3301
3307
  const Yt = class {
3302
3308
  constructor(e) {
3303
- b(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.name = "duration", this.eventDurationMinutes = void 0, this.duration = this.eventDurationMinutes ? this.eventDurationMinutes >= 60 ? this.eventDurationMinutes / 60 : this.eventDurationMinutes : 30, this.durationMinutes = void 0, this.durationIncrement = void 0, this.durationMinutesOptions = [
3309
+ g(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.name = "duration", this.eventDurationMinutes = void 0, this.duration = this.eventDurationMinutes ? this.eventDurationMinutes >= 60 ? this.eventDurationMinutes / 60 : this.eventDurationMinutes : 30, this.durationMinutes = void 0, this.durationIncrement = void 0, this.durationMinutesOptions = [
3304
3310
  { value: 15, label: "15" },
3305
3311
  { value: 30, label: "30" },
3306
3312
  { value: 45, label: "45" },
@@ -3375,7 +3381,7 @@ const Yt = class {
3375
3381
  };
3376
3382
  }
3377
3383
  };
3378
- Ns([
3384
+ Ps([
3379
3385
  S({
3380
3386
  name: "nylas-event-duration",
3381
3387
  stateToProps: /* @__PURE__ */ new Map([["schedulerConfig.selectedConfiguration", "selectedConfiguration"]]),
@@ -3386,8 +3392,8 @@ Ns([
3386
3392
  $n("design:paramtypes", []),
3387
3393
  $n("design:returntype", void 0)
3388
3394
  ], Yt.prototype, "render", null);
3389
- Yt.style = Fs;
3390
- const Rs = ':host{display:block;margin:1rem;--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}.nylas-event-info__title{color:var(--nylas-base-900);font-size:16px;font-style:normal;font-weight:600;line-height:20px;margin:0;text-align:left}.nylas-event-info__subtitle{color:var(--nylas-base-600);font-size:14px;font-style:normal;font-weight:400;line-height:20px;margin:0.25rem 0px 0px;text-align:left}.nylas-event-info__content{padding:1rem;display:flex;flex-direction:column;gap:1rem}.nylas-event-info__block{display:flex;justify-content:space-between;gap:0.5rem}', Ls = Rs;
3395
+ Yt.style = Ns;
3396
+ const Ls = ':host{display:block;margin:1rem;--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}.nylas-event-info__title{color:var(--nylas-base-900);font-size:16px;font-style:normal;font-weight:600;line-height:20px;margin:0;text-align:left}.nylas-event-info__subtitle{color:var(--nylas-base-600);font-size:14px;font-style:normal;font-weight:400;line-height:20px;margin:0.25rem 0px 0px;text-align:left}.nylas-event-info__content{padding:1rem;display:flex;flex-direction:column;gap:1rem}.nylas-event-info__block{display:flex;justify-content:space-between;gap:0.5rem}', Rs = Ls;
3391
3397
  var As = function(e, n, t, a) {
3392
3398
  var o = arguments.length, i = o < 3 ? n : a === null ? a = Object.getOwnPropertyDescriptor(n, t) : a, r;
3393
3399
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
@@ -3396,13 +3402,13 @@ var As = function(e, n, t, a) {
3396
3402
  for (var l = e.length - 1; l >= 0; l--)
3397
3403
  (r = e[l]) && (i = (o < 3 ? r(i) : o > 3 ? r(n, t, i) : r(n, t)) || i);
3398
3404
  return o > 3 && i && Object.defineProperty(n, t, i), i;
3399
- }, Pn = function(e, n) {
3405
+ }, Fn = function(e, n) {
3400
3406
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
3401
3407
  return Reflect.metadata(e, n);
3402
3408
  };
3403
3409
  const Xt = class {
3404
3410
  constructor(e) {
3405
- b(this, e), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals);
3411
+ g(this, e), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals);
3406
3412
  }
3407
3413
  connectedCallback() {
3408
3414
  d("nylas-event-info", "connectedCallback");
@@ -3417,7 +3423,7 @@ const Xt = class {
3417
3423
  d("nylas-event-info", "disconnectedCallback");
3418
3424
  }
3419
3425
  render() {
3420
- return s(E, { key: "be80a4e687ce223a8e52bbabc2e8acadcb194b11" }, s("nylas-form-card", { key: "c96b77795ec2516889acf0f78c5eb723b26dd89c", exportparts: "nfc__header: nei__header" }, s("h1", { key: "890113187adcd6be1ab1d1beb489fe3a80124617", slot: "header-title", class: "nylas-event-info__title", part: "nei__title" }, "Event information"), s("div", { key: "44eaaae3833654530706dc93077b43a7597acc2c", slot: "content", class: "nylas-event-info__content" }, s("slot", { key: "7af737a67cb007c0ede7db5aa075828311d98da3", name: "inputs" }))));
3426
+ return s(E, { key: "2305758f0702be020d00fc241cf9517950e07ebb" }, s("nylas-form-card", { key: "c23b13bd162a79a23450f84948273c08970fed42", exportparts: "nfc__header: nei__header" }, s("h1", { key: "b14f5b69df2e5fc0d0b10c4d2710082cb0b340ac", slot: "header-title", class: "nylas-event-info__title", part: "nei__title" }, "Event information"), s("div", { key: "ac541433a019bdbd0b4f313686f3f159aae3c094", slot: "content", class: "nylas-event-info__content" }, s("slot", { key: "68bdf809b300bda9591a73b875c73bcf3e2be069", name: "inputs" }))));
3421
3427
  }
3422
3428
  static get formAssociated() {
3423
3429
  return !0;
@@ -3432,11 +3438,11 @@ As([
3432
3438
  eventToProps: {},
3433
3439
  fireRegisterEvent: !0
3434
3440
  }),
3435
- Pn("design:type", Function),
3436
- Pn("design:paramtypes", []),
3437
- Pn("design:returntype", void 0)
3441
+ Fn("design:type", Function),
3442
+ Fn("design:paramtypes", []),
3443
+ Fn("design:returntype", void 0)
3438
3444
  ], Xt.prototype, "render", null);
3439
- Xt.style = Ls;
3445
+ Xt.style = Rs;
3440
3446
  const Ms = ':host{display:block;margin:1rem;--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}.nylas-event-limits__title{color:var(--nylas-base-900);font-size:16px;font-style:normal;font-weight:600;line-height:20px;margin:0;text-align:left}.nylas-event-limits__subtitle{color:var(--nylas-base-600);font-size:14px;font-style:normal;font-weight:400;line-height:20px;margin:0.25rem 0px 0px;text-align:left}.nylas-event-limits__content{padding:1rem;display:flex;flex-direction:column;gap:1rem}.nylas-event-limits__block{display:flex;justify-content:space-between;gap:0.5rem}', zs = Ms;
3441
3447
  var js = function(e, n, t, a) {
3442
3448
  var o = arguments.length, i = o < 3 ? n : a === null ? a = Object.getOwnPropertyDescriptor(n, t) : a, r;
@@ -3446,13 +3452,13 @@ var js = function(e, n, t, a) {
3446
3452
  for (var l = e.length - 1; l >= 0; l--)
3447
3453
  (r = e[l]) && (i = (o < 3 ? r(i) : o > 3 ? r(n, t, i) : r(n, t)) || i);
3448
3454
  return o > 3 && i && Object.defineProperty(n, t, i), i;
3449
- }, Fn = function(e, n) {
3455
+ }, Nn = function(e, n) {
3450
3456
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
3451
3457
  return Reflect.metadata(e, n);
3452
3458
  };
3453
3459
  const Kt = class {
3454
3460
  constructor(e) {
3455
- b(this, e), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals);
3461
+ g(this, e), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals);
3456
3462
  }
3457
3463
  connectedCallback() {
3458
3464
  d("nylas-event-limits", "connectedCallback");
@@ -3467,7 +3473,7 @@ const Kt = class {
3467
3473
  d("nylas-event-limits", "disconnectedCallback");
3468
3474
  }
3469
3475
  render() {
3470
- return s(E, { key: "6a28113e3b403869e77cc3a2c9c3a1bea217dc52" }, s("nylas-form-card", { key: "cf9004d044222d796ae59df58737ad9719a20576", exportparts: "nfc__header: nel__header" }, s("h1", { key: "ffeeb7a5741c9f07fb4f9bd84016b1707e2b55b7", slot: "header-title", class: "nylas-event-limits__title" }, "Event limits"), s("div", { key: "7b51592d95736f860ec805950275a18e9d914c32", slot: "content", class: "nylas-event-limits__content" }, s("slot", { key: "53e9098d736eedf5b22e1b8ae712ec22c8ca865e", name: "inputs" }))));
3476
+ return s(E, { key: "efbcc4df573c34bdde02afceda5dc680eb07be76" }, s("nylas-form-card", { key: "050f44a6ce41100bda2c10318cd131b88580ff2c", exportparts: "nfc__header: nel__header" }, s("h1", { key: "1636d04db69170502bd11a4535d02919cfe6c560", slot: "header-title", class: "nylas-event-limits__title" }, "Event limits"), s("div", { key: "06accc70326650d5a8bfc58854bbf4ed910d9d7b", slot: "content", class: "nylas-event-limits__content" }, s("slot", { key: "280f15e8f6e6918d36179036009b285d2501246b", name: "inputs" }))));
3471
3477
  }
3472
3478
  static get formAssociated() {
3473
3479
  return !0;
@@ -3482,13 +3488,13 @@ js([
3482
3488
  eventToProps: {},
3483
3489
  fireRegisterEvent: !0
3484
3490
  }),
3485
- Fn("design:type", Function),
3486
- Fn("design:paramtypes", []),
3487
- Fn("design:returntype", void 0)
3491
+ Nn("design:type", Function),
3492
+ Nn("design:paramtypes", []),
3493
+ Nn("design:returntype", void 0)
3488
3494
  ], Kt.prototype, "render", null);
3489
3495
  Kt.style = zs;
3490
- const Us = ':host{--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}.nylas-event-location{display:flex;flex-direction:column;gap:4px;font-family:var(--nylas-font-family)}.nylas-event-location label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:16px;font-style:normal;font-weight:400;line-height:150%;}.nylas-event-location label span.label-icon{margin-left:4px}.nylas-event-location label span.label-icon tooltip-component{display:flex}.nylas-event-location span[slot=select-icon]{border-right:1px solid var(--nylas-base-200);padding:16px 0.75rem 16px 0.5rem;border-radius:var(--nylas-border-radius-2x);border-bottom-right-radius:0;border-top-right-radius:0;height:20px}.nylas-event-location div.location-input{display:grid;grid-template-columns:auto 1fr;width:100%;gap:0.5rem}@media screen and (max-width: 768px){.nylas-event-location div.location-input{grid-template-columns:1fr}}.nylas-event-location div.location-input input{border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);padding:12px 16px;font-family:var(--nylas-font-family);font-size:16px;line-height:24px}.nylas-event-location select-dropdown{width:208px}@media screen and (max-width: 768px){.nylas-event-location select-dropdown{width:100%}}.nylas-event-location select-dropdown::part(sd_dropdown){width:100%}.nylas-event-location select-dropdown::part(sd_dropdown-content){left:calc(35px + 0.5rem)}.nylas-event-location select-dropdown::part(sd_dropdown-button){display:flex;justify-content:space-between;width:100%;border:1px solid var(--nylas-base-200);padding:0 0.5rem}.nylas-event-location select-dropdown::part(sd_dropdown-button-selected-label){display:inline-flex;align-self:center;padding:14px 0;font-family:var(--nylas-font-family);font-size:16px;line-height:24px}', Ws = Us;
3491
- var Bs = function(e, n, t, a) {
3496
+ const Us = ':host{--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}.nylas-event-location{display:flex;flex-direction:column;gap:4px;font-family:var(--nylas-font-family)}.nylas-event-location label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:16px;font-style:normal;font-weight:400;line-height:150%;}.nylas-event-location label span.label-icon{margin-left:4px}.nylas-event-location label span.label-icon tooltip-component{display:flex}.nylas-event-location span[slot=select-icon]{border-right:1px solid var(--nylas-base-200);padding:16px 0.75rem 16px 0.5rem;border-radius:var(--nylas-border-radius-2x);border-bottom-right-radius:0;border-top-right-radius:0;height:20px}.nylas-event-location div.location-input{display:grid;grid-template-columns:auto 1fr;width:100%;gap:0.5rem}@media screen and (max-width: 768px){.nylas-event-location div.location-input{grid-template-columns:1fr}}.nylas-event-location div.location-input input{border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);padding:12px 16px;font-family:var(--nylas-font-family);font-size:16px;line-height:24px}.nylas-event-location select-dropdown{width:208px}@media screen and (max-width: 768px){.nylas-event-location select-dropdown{width:100%}}.nylas-event-location select-dropdown::part(sd_dropdown){width:100%}.nylas-event-location select-dropdown::part(sd_dropdown-content){left:calc(35px + 0.5rem)}.nylas-event-location select-dropdown::part(sd_dropdown-button){display:flex;justify-content:space-between;width:100%;border:1px solid var(--nylas-base-200);padding:0 0.5rem}.nylas-event-location select-dropdown::part(sd_dropdown-button-selected-label){display:inline-flex;align-self:center;padding:14px 0;font-family:var(--nylas-font-family);font-size:16px;line-height:24px}', Bs = Us;
3497
+ var Ws = function(e, n, t, a) {
3492
3498
  var o = arguments.length, i = o < 3 ? n : a === null ? a = Object.getOwnPropertyDescriptor(n, t) : a, r;
3493
3499
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
3494
3500
  i = Reflect.decorate(e, n, t, a);
@@ -3496,7 +3502,7 @@ var Bs = function(e, n, t, a) {
3496
3502
  for (var l = e.length - 1; l >= 0; l--)
3497
3503
  (r = e[l]) && (i = (o < 3 ? r(i) : o > 3 ? r(n, t, i) : r(n, t)) || i);
3498
3504
  return o > 3 && i && Object.defineProperty(n, t, i), i;
3499
- }, Nn = function(e, n) {
3505
+ }, Pn = function(e, n) {
3500
3506
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
3501
3507
  return Reflect.metadata(e, n);
3502
3508
  };
@@ -3509,7 +3515,7 @@ const _e = {
3509
3515
  }, Qt = class {
3510
3516
  constructor(e) {
3511
3517
  var n;
3512
- b(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.name = "location", this.currentUser = void 0, this.userProvider = void 0, this.eventConferencing = void 0, this.conferenceProviders = void 0, this.selectedConfiguration = void 0, this.eventLocation = void 0, this.location = this.eventLocation ?? "", this.grantId = this.eventConferencing ? this.setDefaultGrantID(this.eventConferencing) : "", this.selectedLocationOption = void 0, this.userProviderState = this.userProvider ?? ((n = this.currentUser) == null ? void 0 : n.provider) ?? "", this.locationOptions = [
3518
+ g(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.name = "location", this.currentUser = void 0, this.userProvider = void 0, this.eventConferencing = void 0, this.conferenceProviders = void 0, this.selectedConfiguration = void 0, this.eventLocation = void 0, this.location = this.eventLocation ?? "", this.grantId = this.eventConferencing ? this.setDefaultGrantID(this.eventConferencing) : "", this.selectedLocationOption = void 0, this.userProviderState = this.userProvider ?? ((n = this.currentUser) == null ? void 0 : n.provider) ?? "", this.locationOptions = [
3513
3519
  { value: "none", label: _e.none, labelHTML: this.getLabelHTML("none") },
3514
3520
  { value: "custom", label: _e.custom, labelHTML: this.getLabelHTML("custom") }
3515
3521
  ];
@@ -3643,7 +3649,7 @@ const _e = {
3643
3649
  };
3644
3650
  }
3645
3651
  };
3646
- Bs([
3652
+ Ws([
3647
3653
  S({
3648
3654
  name: "nylas-event-location",
3649
3655
  stateToProps: /* @__PURE__ */ new Map([
@@ -3654,11 +3660,11 @@ Bs([
3654
3660
  eventToProps: {},
3655
3661
  fireRegisterEvent: !0
3656
3662
  }),
3657
- Nn("design:type", Function),
3658
- Nn("design:paramtypes", []),
3659
- Nn("design:returntype", void 0)
3663
+ Pn("design:type", Function),
3664
+ Pn("design:paramtypes", []),
3665
+ Pn("design:returntype", void 0)
3660
3666
  ], Qt.prototype, "render", null);
3661
- Qt.style = Ws;
3667
+ Qt.style = Bs;
3662
3668
  const Zs = ':host{display:block;--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}.nylas-event-title{display:flex;flex-direction:column;gap:4px;position:relative;text-align:left}.nylas-event-title div.title{padding:12px 16px;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);overflow:scroll;white-space:nowrap;scrollbar-width:thin}.nylas-event-title div.title::-webkit-scrollbar{width:6px;height:6px}.nylas-event-title div.title.error{border-color:var(--nylas-error);border-width:2px;outline:none}.nylas-event-title input{padding:12px 16px;border-width:1;border-radius:8px;border:1px solid var(--nylas-base-200)}.nylas-event-title span.help-text{display:flex;gap:4px;align-items:center;color:var(--nylas-base-800);font-size:14px;font-style:normal;font-weight:400;line-height:21px}.nylas-event-title span.error-message{color:var(--nylas-error)}.nylas-event-title label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:16px;font-style:normal;font-weight:400;line-height:150%;}.nylas-event-title label span.required{color:var(--nylas-error, #cc4841)}.nylas-event-title label span.label-icon{margin-left:4px}.nylas-event-title label span.label-icon tooltip-component{display:flex}.highlighted-tag{background-color:var(--nylas-base-200);border-radius:var(--nylas-border-radius);padding:5px;margin-left:4px}.token-options{display:block;background-color:var(--nylas-base-0);width:100%;max-height:336px;overflow:auto;z-index:1;border-radius:4px;position:absolute;top:80px;box-shadow:0px 4px 6px -2px rgba(0, 0, 0, 0.0509803922);box-shadow:0px 10px 15px -3px rgba(0, 0, 0, 0.1019607843)}@media screen and (max-width: 768px){.token-options{right:0;width:325px;max-width:unset}}.token-options ul{padding:0;list-style-type:none;color:var(--nylas-base-900);max-height:336px;margin:0}.token-options 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}.token-options ul li .token-label{display:flex;flex-direction:column;font-weight:400}.token-options ul li .token-label .token{color:var(--nylas-abse-900);font-size:16px;line-height:24px}.token-options ul li .token-label .description{color:var(--nylas-base-600);font-size:14px;line-height:21px}.token-options ul li:hover,.token-options ul li:focus,.token-options ul li:active,.token-options ul li.active{background-color:var(--nylas-base-100)}.token-options ul li:hover .token-label .token,.token-options ul li:focus .token-label .token,.token-options ul li:active .token-label .token,.token-options ul li.active .token-label .token{color:var(--nylas-primary)}.token-options .selected{background-color:var(--nylas-base-100)}', qs = Zs;
3663
3669
  var Vs = function(e, n, t, a) {
3664
3670
  var o = arguments.length, i = o < 3 ? n : a === null ? a = Object.getOwnPropertyDescriptor(n, t) : a, r;
@@ -3668,14 +3674,14 @@ var Vs = function(e, n, t, a) {
3668
3674
  for (var l = e.length - 1; l >= 0; l--)
3669
3675
  (r = e[l]) && (i = (o < 3 ? r(i) : o > 3 ? r(n, t, i) : r(n, t)) || i);
3670
3676
  return o > 3 && i && Object.defineProperty(n, t, i), i;
3671
- }, Rn = function(e, n) {
3677
+ }, Ln = function(e, n) {
3672
3678
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
3673
3679
  return Reflect.metadata(e, n);
3674
3680
  };
3675
3681
  const ea = class {
3676
3682
  constructor(e) {
3677
3683
  var n, t;
3678
- b(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.eventTitle = (t = (n = this.selectedConfiguration) == null ? void 0 : n.event_booking) == null ? void 0 : t.title, this.name = "title", this.showTokens = !1, this.availableTokens = lt.map((a) => ({
3684
+ g(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.eventTitle = (t = (n = this.selectedConfiguration) == null ? void 0 : n.event_booking) == null ? void 0 : t.title, this.name = "title", this.showTokens = !1, this.availableTokens = lt.map((a) => ({
3679
3685
  label: a.token,
3680
3686
  value: a.value,
3681
3687
  labelHTML: a
@@ -3732,11 +3738,11 @@ const ea = class {
3732
3738
  getCurrentSelectionForBrowser() {
3733
3739
  var a, o, i;
3734
3740
  const e = (r, l, c, p) => {
3735
- const m = r.replace(/[\u200B-\u200D\uFEFF]/g, ""), f = m.lastIndexOf("$"), u = m.substring(f).split(" ")[0];
3741
+ const m = r.replace(/[\u200B-\u200D\uFEFF]/g, ""), f = m.lastIndexOf("$"), h = m.substring(f).split(" ")[0];
3736
3742
  return {
3737
3743
  focusOffset: l,
3738
3744
  dollarIndex: f,
3739
- lastWord: u,
3745
+ lastWord: h,
3740
3746
  currentText: m,
3741
3747
  node: c,
3742
3748
  allSelected: p
@@ -3750,11 +3756,11 @@ const ea = class {
3750
3756
  const r = (a = this.host.shadowRoot) == null ? void 0 : a.getSelection(), l = r == null ? void 0 : r.focusNode, c = (l == null ? void 0 : l.nodeValue) || "", p = r && n(r);
3751
3757
  return e(c, (r == null ? void 0 : r.focusOffset) || -1, l, p);
3752
3758
  case "Firefox":
3753
- const m = document.getSelection(), f = ((o = m == null ? void 0 : m.anchorNode) == null ? void 0 : o.nodeValue) || "", u = m && n(m);
3754
- return e(f, (m == null ? void 0 : m.focusOffset) || -1, m == null ? void 0 : m.anchorNode, u);
3759
+ const m = document.getSelection(), f = ((o = m == null ? void 0 : m.anchorNode) == null ? void 0 : o.nodeValue) || "", h = m && n(m);
3760
+ return e(f, (m == null ? void 0 : m.focusOffset) || -1, m == null ? void 0 : m.anchorNode, h);
3755
3761
  case "Safari":
3756
- const g = window.getSelection(), y = g == null ? void 0 : g.getComposedRanges(this.host.shadowRoot)[0], w = ((i = y == null ? void 0 : y.startContainer) == null ? void 0 : i.nodeValue) || "", $ = g && n(g);
3757
- return e(w, (y == null ? void 0 : y.endOffset) || -1, y == null ? void 0 : y.startContainer, $);
3762
+ const b = window.getSelection(), y = b == null ? void 0 : b.getComposedRanges(this.host.shadowRoot)[0], C = ((i = y == null ? void 0 : y.startContainer) == null ? void 0 : i.nodeValue) || "", H = b && n(b);
3763
+ return e(C, (y == null ? void 0 : y.endOffset) || -1, y == null ? void 0 : y.startContainer, H);
3758
3764
  default:
3759
3765
  return console.warn("Browser not supported"), null;
3760
3766
  }
@@ -3810,14 +3816,14 @@ const ea = class {
3810
3816
  }
3811
3817
  }
3812
3818
  selectOption(e, n) {
3813
- var w;
3819
+ var C;
3814
3820
  e.preventDefault();
3815
3821
  const t = this.currentWord.fullText, a = this.currentWord.$value;
3816
3822
  let o = this.titleRef.firstChild, i = null;
3817
3823
  for (; o; ) {
3818
3824
  if (o.nodeType === 3) {
3819
- const $ = ((w = o.textContent) == null ? void 0 : w.replace(/[\u200B-\u200D\uFEFF]/g, "")) || "", N = t.replace(/[\u200B-\u200D\uFEFF]/g, "");
3820
- if ($.includes(N)) {
3825
+ const H = ((C = o.textContent) == null ? void 0 : C.replace(/[\u200B-\u200D\uFEFF]/g, "")) || "", F = t.replace(/[\u200B-\u200D\uFEFF]/g, "");
3826
+ if (H.includes(F)) {
3821
3827
  i = o;
3822
3828
  break;
3823
3829
  }
@@ -3826,14 +3832,14 @@ const ea = class {
3826
3832
  }
3827
3833
  if (!i)
3828
3834
  return;
3829
- const r = i.textContent || "", l = r.indexOf(a), c = r.substring(0, l), p = r.substring(l + a.length), m = document.createTextNode(c), f = document.createRange(), u = document.createElement("span");
3830
- u.classList.add("highlighted-tag"), u.textContent = `${n.value}`;
3831
- const g = document.createTextNode(p);
3835
+ const r = i.textContent || "", l = r.indexOf(a), c = r.substring(0, l), p = r.substring(l + a.length), m = document.createTextNode(c), f = document.createRange(), h = document.createElement("span");
3836
+ h.classList.add("highlighted-tag"), h.textContent = `${n.value}`;
3837
+ const b = document.createTextNode(p);
3832
3838
  if (p !== "")
3833
- i.replaceWith(m, u, g), f.setStart(g, 1);
3839
+ i.replaceWith(m, h, b), f.setStart(b, 1);
3834
3840
  else {
3835
- const $ = document.createTextNode("​");
3836
- i.replaceWith(m, u, $), f.setStart($, 1);
3841
+ const H = document.createTextNode("​");
3842
+ i.replaceWith(m, h, H), f.setStart(H, 1);
3837
3843
  }
3838
3844
  this.resetDropdown(), this.titleRef.focus();
3839
3845
  const y = window.getSelection();
@@ -3884,9 +3890,9 @@ Vs([
3884
3890
  eventToProps: {},
3885
3891
  fireRegisterEvent: !0
3886
3892
  }),
3887
- Rn("design:type", Function),
3888
- Rn("design:paramtypes", []),
3889
- Rn("design:returntype", void 0)
3893
+ Ln("design:type", Function),
3894
+ Ln("design:paramtypes", []),
3895
+ Ln("design:returntype", void 0)
3890
3896
  ], ea.prototype, "render", null);
3891
3897
  ea.style = qs;
3892
3898
  const Js = ':host{display:block;--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}.card-wrapper{background:var(--nylas-base-0);display:flex;flex-direction:column;font-family:var(--nylas-font-family);background-color:var(--nylas-base-0);color:var(--nylas-base-900);border-radius:var(--nylas-border-radius-3x);position:relative;padding:32px;width:562px;box-shadow:0px 1px 4px rgba(0, 0, 0, 0.1), 0px 3px 6px rgba(0, 0, 0, 0.06)}@media screen and (max-width: 768px){.card-wrapper{width:100%;border-radius:0px}}.header{overflow-wrap:anywhere;display:flex;flex-direction:column;font-size:1rem;font-weight:400}.header h2{color:var(--nylas-base-900);font-size:24px;font-weight:600;text-align:left;margin:0}.description.title-desc{margin-bottom:2rem}.description.footer-desc{margin-top:2rem}.description.footer-desc a{color:var(--nylas-primary);text-decoration:none}.description p{margin:0;font-size:18px;color:var(--nylas-base-600)}.footer{margin-top:1rem;padding-top:1rem;display:flex;justify-content:flex-end;gap:0.5rem;box-sizing:border-box;background-color:var(--nylas-base-25);width:100%;border-radius:0 0 var(--nylas-border-radius-2x) var(--nylas-border-radius-2x)}.close-button{width:100%;display:flex;justify-content:flex-end}.close-button button-component button{padding:0;height:auto}.close-button button-component button:hover{background-color:transparent !important}button-component{--dot-color:var(--nylas-base-700)}', Gs = Js;
@@ -3898,13 +3904,13 @@ var Ys = function(e, n, t, a) {
3898
3904
  for (var l = e.length - 1; l >= 0; l--)
3899
3905
  (r = e[l]) && (i = (o < 3 ? r(i) : o > 3 ? r(n, t, i) : r(n, t)) || i);
3900
3906
  return o > 3 && i && Object.defineProperty(n, t, i), i;
3901
- }, Ln = function(e, n) {
3907
+ }, Rn = function(e, n) {
3902
3908
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
3903
3909
  return Reflect.metadata(e, n);
3904
3910
  };
3905
3911
  const na = class {
3906
3912
  constructor(e) {
3907
- b(this, e), this.feedbackModalClosed = x(this, "feedbackModalClosed", 7), this.feedbackSubmitted = x(this, "feedbackSubmitted", 7), this.triggerValidation = x(this, "triggerValidation", 7), this.handleConfirmBookingButtonClicked = () => {
3913
+ g(this, e), this.feedbackModalClosed = x(this, "feedbackModalClosed", 7), this.feedbackSubmitted = x(this, "feedbackSubmitted", 7), this.triggerValidation = x(this, "triggerValidation", 7), this.handleConfirmBookingButtonClicked = () => {
3908
3914
  this.triggerValidation.emit().defaultPrevented || this.feedbackSubmitted.emit({ feedback: this.feedbackMessage });
3909
3915
  }, this.themeConfig = void 0, this.feedbackMessage = "";
3910
3916
  }
@@ -3930,9 +3936,9 @@ const na = class {
3930
3936
  e.preventDefault(), e.stopImmediatePropagation(), this.feedbackModalClosed.emit();
3931
3937
  }
3932
3938
  render() {
3933
- return s(E, { key: "a2fdcdd71d0c4ff3902df64405da31a223eaf7d7", part: "nfbf" }, s("div", { key: "f9e8577b5357683928205b53ee81753a66a7e4ae", class: "card-wrapper", part: "nfbfc__card" }, s("div", { key: "d1bbb63d773ef30918549fe4a6737bf582ae0d06", class: "close-button" }, s("button-component", { key: "a418fa3fef1af84a1d504030e1bcafde4653e2ad", tooltip: "Close", id: "close", variant: "invisible", onClick: (e) => this.closeModal(e), part: "nfbf__close-button" }, s("close-icon", { key: "cc39f114e75f5554417718701175d44844ffc4a0" }))), s("div", { key: "d425f232a67162d7865986403819a9aa80641891", class: "header" }, s("h2", { key: "3ee4ce9fa02a86831ff4a292320fe890bfb728bf", slot: "card-title", part: "nfbf__title" }, ye.t("feedbackFormTitle"))), s("div", { key: "e190c2c7558cc3d292ecdd0efde36a5ba949406e", class: "description title-desc" }, s("p", { key: "bae5de83094598fa1794fac48f44d6385499183e" }, ye.t("feedbackFormDescription"))), s("textarea-component", { key: "2dbcd70b5d4c8035a2cc7e852fdd6dfe23650d92", label: ye.t("feedbackMessageLabel"), required: !0, maxLength: 500, part: "nfbf__description", name: "feedback", placeholder: ye.t("feedbackMessagePlaceholder") }), s("div", { key: "0970ad9b93148e325b85353e7ae79df9de057f10", class: "description footer-desc" }, s("p", { key: "3f20809d828a385b471916d5f53944d5438e0cff" }, "By sending this report, you agree to Nylas’ access to the data necessary to respond to this issue, subject to Nylas’", " ", s("a", { key: "bdb691d2575ba496607675f82bea362bfcb3dcdb", href: "https://www.nylas.com/privacy-policy/", target: "_blank", rel: "nofollow noreferrer noopener" }, "Privacy Policy"), ".")), s("div", { key: "7cfd02b5827dfbd325f49e8c0b055873ae9ab32a", class: {
3939
+ return s(E, { key: "a30860bd5c42332657c3084c2680b136ec1eaa67", part: "nfbf" }, s("div", { key: "37cd7481d3017e3c896a940a7ebc776f7c19c2f2", class: "card-wrapper", part: "nfbfc__card" }, s("div", { key: "80c1c7770c36c9e01c39b68ff6c204b1a0a2db74", class: "close-button" }, s("button-component", { key: "408e2c4a25009a0acd593439ab7978fc38b89096", tooltip: "Close", id: "close", variant: "invisible", onClick: (e) => this.closeModal(e), part: "nfbf__close-button" }, s("close-icon", { key: "e0afa64f4073eea9eaf4692026d23df6e5bb66af" }))), s("div", { key: "131e27ebc2d35bc489c9f10566ff6f0236e7828e", class: "header" }, s("h2", { key: "1a69a21f7882a4d098f651082fee8a95cfaf7030", slot: "card-title", part: "nfbf__title" }, ye.t("feedbackFormTitle"))), s("div", { key: "41da0f5a9c4d838904e2eea9a3354e7d24839e10", class: "description title-desc" }, s("p", { key: "4fbd2c5c0e49c2845f6595c108d68c1d2586dc9a" }, ye.t("feedbackFormDescription"))), s("textarea-component", { key: "899b0f78b1b411517eb275d69dbf94f78583b71d", label: ye.t("feedbackMessageLabel"), required: !0, maxLength: 500, part: "nfbf__description", name: "feedback", placeholder: ye.t("feedbackMessagePlaceholder") }), s("div", { key: "4774bf3601d35202ac17f4e2f34dd917201e6bba", class: "description footer-desc" }, s("p", { key: "5d24e812deb9d923e964db5e1707c26319c30aaf" }, "By sending this report, you agree to Nylas’ access to the data necessary to respond to this issue, subject to Nylas’", " ", s("a", { key: "5da0487543195028584d32f40190669df3955512", href: "https://www.nylas.com/privacy-policy/", target: "_blank", rel: "nofollow noreferrer noopener" }, "Privacy Policy"), ".")), s("div", { key: "495cff113e92f77fd4f86ae85fc5f37362aca230", class: {
3934
3940
  footer: !0
3935
- } }, s("button-component", { key: "8d31999de17098830414f2944f52d94b59b903dd", variant: "invisible", onClick: (e) => this.closeModal(e), part: "nfbf__button-outline nfbf__cancel-cta" }, `${ye.t("feedbackModalCloseButton")}`), s("button-component", { key: "b802e92f4dba1467a54d90b730fc94161b41030c", variant: "primary", onClick: this.handleConfirmBookingButtonClicked, part: "nfbf__button-outline nfbf__reschedule-cta" }, `${ye.t("feedbackModalSubmitButton")}`))));
3941
+ } }, s("button-component", { key: "048d5a6c8a483c8fb2b7c6fe4b45ca167cf87fbe", variant: "invisible", onClick: (e) => this.closeModal(e), part: "nfbf__button-outline nfbf__cancel-cta" }, `${ye.t("feedbackModalCloseButton")}`), s("button-component", { key: "4a414579c7e47bc728fee83ee46756a488f12086", variant: "primary", onClick: this.handleConfirmBookingButtonClicked, part: "nfbf__button-outline nfbf__reschedule-cta" }, `${ye.t("feedbackModalSubmitButton")}`))));
3936
3942
  }
3937
3943
  get host() {
3938
3944
  return O(this);
@@ -3949,9 +3955,9 @@ Ys([
3949
3955
  localPropsToProp: /* @__PURE__ */ new Map([["themeConfig", "themeConfig"]]),
3950
3956
  fireRegisterEvent: !0
3951
3957
  }),
3952
- Ln("design:type", Function),
3953
- Ln("design:paramtypes", []),
3954
- Ln("design:returntype", void 0)
3958
+ Rn("design:type", Function),
3959
+ Rn("design:paramtypes", []),
3960
+ Rn("design:returntype", void 0)
3955
3961
  ], na.prototype, "render", null);
3956
3962
  na.style = Gs;
3957
3963
  const Xs = ':host{--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}.nylas-limit-future-bookings{display:flex;justify-content:space-between;font-family:var(--nylas-font-family)}@media screen and (max-width: 768px){.nylas-limit-future-bookings{flex-direction:column;gap:0.5rem}}.nylas-limit-future-bookings label{display:flex;align-items:center;color:var(--nylas-base-800);font-size:16px;font-style:normal;font-weight:400;line-height:150%;}.nylas-limit-future-bookings label span.label-icon{margin-left:4px}.nylas-limit-future-bookings label span.label-icon tooltip-component{display:flex}select-dropdown::part(sd_dropdown-button){border:none}', Ks = Xs;
@@ -3969,7 +3975,7 @@ var Qs = function(e, n, t, a) {
3969
3975
  };
3970
3976
  const ta = class {
3971
3977
  constructor(e) {
3972
- b(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.availableDaysInFuture = void 0, this.name = "limit-future-bookings", this.selectedNumber = void 0, this.selectedPeriod = void 0;
3978
+ g(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.availableDaysInFuture = void 0, this.name = "limit-future-bookings", this.selectedNumber = void 0, this.selectedPeriod = void 0;
3973
3979
  }
3974
3980
  elementNameChangedHandler(e) {
3975
3981
  d("nylas-limit-future-bookings", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
@@ -4044,7 +4050,7 @@ var to = function(e, n, t, a) {
4044
4050
  };
4045
4051
  const aa = class {
4046
4052
  constructor(e) {
4047
- b(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.name = "min-booking-notice", this.minBookingNotice = void 0, this.selectedNumber = void 0, this.selectedPeriod = void 0;
4053
+ g(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.name = "min-booking-notice", this.minBookingNotice = void 0, this.selectedNumber = void 0, this.selectedPeriod = void 0;
4048
4054
  }
4049
4055
  elementNameChangedHandler(e) {
4050
4056
  d("nylas-min-booking-notice", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
@@ -4120,7 +4126,7 @@ var so = function(e, n, t, a) {
4120
4126
  };
4121
4127
  const ia = class {
4122
4128
  constructor(e) {
4123
- b(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.name = "min-cancellation-notice", this.minCancellationNotice = void 0, this.selectedNumber = void 0, this.selectedPeriod = void 0;
4129
+ g(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.name = "min-cancellation-notice", this.minCancellationNotice = void 0, this.selectedNumber = void 0, this.selectedPeriod = void 0;
4124
4130
  }
4125
4131
  elementNameChangedHandler(e) {
4126
4132
  d("nylas-min-cancellation-notice", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
@@ -4154,7 +4160,7 @@ const ia = class {
4154
4160
  }
4155
4161
  render() {
4156
4162
  const e = typeof this.selectedNumber == "number" && typeof this.selectedPeriod == "string";
4157
- return s(E, { key: "b3d5eab0c7f826b60f8d88dbcd2de20b8aa05953" }, s("div", { key: "df62baa3bd558066cea96bd86f2b4594b7eae613", class: "nylas-min-cancellation-notice", part: "nmcn" }, s("label", { key: "7bab73f950ee0529feef61c32750488ee8e3d816" }, "Minimum cancellation notice", s("span", { key: "71856612ca18403cc95642ad22f7fea40c93163e", class: "label-icon" }, s("tooltip-component", { key: "3961109385d524c08115a98bd8e303d573529884" }, s("info-icon", { key: "60053a1ff74768ab53e903b52c0028b5c04aa5c7", slot: "tooltip-icon" }), s("span", { key: "af42bbed9685aa44d11ad4dd3cd35a156ba245a4", slot: "tooltip-content" }, "The minimum amount of time required to cancel a booking.")))), e && s("time-period-selector", { id: "min-cancellation-notice", exportparts: "tps__number-dropdown: nmcn__number-dropdown, tps__number-dropdown-button: nmcn__number-dropdown-button, tps__number-dropdown-content: nmcn__number-dropdown-content, tps__period-dropdown: nmcn__period-dropdown, tps__period-dropdown-button: nmcn__period-dropdown-button, tps__period-dropdown-content: nmcn__period-dropdown-content", timePeriods: ["minute", "hour", "day", "week"], defaultSelectedNumber: this.selectedNumber, defaultSelectedPeriod: this.selectedPeriod })));
4163
+ return s(E, { key: "763f53683b51e3339d19b53e59582874300a885b" }, s("div", { key: "dde1c0eb7db774e8d7127b651ae2bfa500441abe", class: "nylas-min-cancellation-notice", part: "nmcn" }, s("label", { key: "316a311a44525fa054cf7c4b67fb4cc53dda7d9c" }, "Minimum cancellation notice", s("span", { key: "552a66e7ba544ee76f5ae12cb1e06aec64841e9b", class: "label-icon" }, s("tooltip-component", { key: "6a932766126bdb8bf9cd67d8d62af7bfbeb4b251" }, s("info-icon", { key: "2afdafbb09f069ddf2a224685f399d11c547a3be", slot: "tooltip-icon" }), s("span", { key: "cf536f1254f151846a58bdeb855251785e62e98f", slot: "tooltip-content" }, "The minimum amount of time required to cancel a booking.")))), e && s("time-period-selector", { id: "min-cancellation-notice", exportparts: "tps__number-dropdown: nmcn__number-dropdown, tps__number-dropdown-button: nmcn__number-dropdown-button, tps__number-dropdown-content: nmcn__number-dropdown-content, tps__period-dropdown: nmcn__period-dropdown, tps__period-dropdown-button: nmcn__period-dropdown-button, tps__period-dropdown-content: nmcn__period-dropdown-content", timePeriods: ["minute", "hour", "day", "week"], defaultSelectedNumber: this.selectedNumber, defaultSelectedPeriod: this.selectedPeriod })));
4158
4164
  }
4159
4165
  static get formAssociated() {
4160
4166
  return !0;
@@ -4196,7 +4202,7 @@ var lo = function(e, n, t, a) {
4196
4202
  };
4197
4203
  const sa = class {
4198
4204
  constructor(e) {
4199
- b(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.name = "page-name", this.pageName = void 0, this.showToggle = !0, this.isOpen = !0, this.currentPageName = void 0;
4205
+ g(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.name = "page-name", this.pageName = void 0, this.showToggle = !0, this.isOpen = !0, this.currentPageName = void 0;
4200
4206
  }
4201
4207
  connectedCallback() {
4202
4208
  d("nylas-page-name", "connectedCallback");
@@ -4237,7 +4243,7 @@ const sa = class {
4237
4243
  }
4238
4244
  render() {
4239
4245
  const e = typeof this.currentPageName < "u";
4240
- return s(E, { key: "f0b405f57e2cb8c65b59c07bdca8ec3885a98a7d" }, s("div", { key: "4873ef6137393c0bd31b90fca33eee42e2feb449", class: "nylas-page-name", part: "nces" }, s("div", { key: "bf9894bee632ed6debc5f401b1e3bb98d4561258", class: "header", part: "nces__header" }, s("div", { key: "631f080c4c2aba2597d6638ea4dfb20eedb0a1d6" }, s("h3", { key: "657b49c737bb46d96698cac0c39ba20f08dac34a" }, "Page name"), s("p", { key: "7a81b920c53b427529828476a2efed5c80c5ce56" }, "Set the Scheduling Page name.", s("tooltip-component", { key: "a16a8a9e03310794cf4de5b0ab863d730723bf16" }, s("info-icon", { key: "ffbfa4cfd591c4994a7ff51251ed92062e9cf42e", slot: "tooltip-icon" }), s("span", { key: "41a0ed919be3aa80fc5f1d03138157f46aaa8494", slot: "tooltip-content" }, "By default, Scheduling Pages use your user name as the Page name. The Page name is displayed in the top-left corner of the calendar view.")))), this.showToggle && s("div", { class: "drawer-toggle", part: "nces__drawer-toggle--container" }, s("span", { class: `chevron ${this.isOpen ? "open" : "closed"} `, onClick: () => this.toggleDrawer() }, s("chevron-icon", { width: "24", height: "24" })))), this.isOpen && s("div", { class: "nylas-page-name__body", part: "nces__body" }, s("div", { class: "nylas-page-name__section" }, s("div", { class: "nylas-page-name__row" }, s("div", { class: "input-container" }, s("div", { class: "nylas-page-name__input-wrapper" }, e && s("input-component", { name: "page-name", id: "page-name", type: "text", required: !1, exportparts: "ic_input: npn__input-textfield", defaultValue: this.currentPageName ?? "" }))))))));
4246
+ return s(E, { key: "ef02e8eca3480c5a15005e01a911d0c269e23d43" }, s("div", { key: "d3179f670d5f53f536a011891f2af42b976c55a9", class: "nylas-page-name", part: "nces" }, s("div", { key: "061be315e626958385e579dbbe7cd3dad8576628", class: "header", part: "nces__header" }, s("div", { key: "b3b3710a8e9e89e63041e546dfcb963e8ca655ab" }, s("h3", { key: "18b451df9b5da9a8abec6b34d4581453acd8e61f" }, "Page name"), s("p", { key: "2014f675c31a65797ef59f00e1db1edc8e5b43a5" }, "Set the Scheduling Page name.", s("tooltip-component", { key: "7e4a00f58470dfabbd5f39d60921effb99dc2b1b" }, s("info-icon", { key: "a71e8933a1dda9fe6614b88eecbb5b55145c987c", slot: "tooltip-icon" }), s("span", { key: "7b593e04a0585339b42f76f47901ba0ec80375d9", slot: "tooltip-content" }, "By default, Scheduling Pages use your user name as the Page name. The Page name is displayed in the top-left corner of the calendar view.")))), this.showToggle && s("div", { class: "drawer-toggle", part: "nces__drawer-toggle--container" }, s("span", { class: `chevron ${this.isOpen ? "open" : "closed"} `, onClick: () => this.toggleDrawer() }, s("chevron-icon", { width: "24", height: "24" })))), this.isOpen && s("div", { class: "nylas-page-name__body", part: "nces__body" }, s("div", { class: "nylas-page-name__section" }, s("div", { class: "nylas-page-name__row" }, s("div", { class: "input-container" }, s("div", { class: "nylas-page-name__input-wrapper" }, e && s("input-component", { name: "page-name", id: "page-name", type: "text", required: !1, exportparts: "ic_input: npn__input-textfield", defaultValue: this.currentPageName ?? "" }))))))));
4241
4247
  }
4242
4248
  static get formAssociated() {
4243
4249
  return !0;
@@ -4284,7 +4290,7 @@ var fo = function(e, n, t, a) {
4284
4290
  };
4285
4291
  const oa = class {
4286
4292
  constructor(e) {
4287
- b(this, e), this.valueChanged = x(this, "valueChanged", 7), this.bookingFormSubmitted = x(this, "bookingFormSubmitted", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.name = "page-styling", this.appearance = void 0, this.isOpen = !0, this.currentAppearance = void 0, this.customInputsSlot = null;
4293
+ g(this, e), this.valueChanged = x(this, "valueChanged", 7), this.bookingFormSubmitted = x(this, "bookingFormSubmitted", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.name = "page-styling", this.appearance = void 0, this.isOpen = !0, this.currentAppearance = void 0, this.customInputsSlot = null;
4288
4294
  }
4289
4295
  connectedCallback() {
4290
4296
  d("nylas-page-styling", "connectedCallback");
@@ -4430,7 +4436,7 @@ const oa = class {
4430
4436
  this.isOpen = !this.isOpen;
4431
4437
  }
4432
4438
  render() {
4433
- return s(E, { key: "be08b4dc45a6950b8bf9190fbb5bd450a63f24cb" }, s("div", { key: "37c4ef967ab1ccecc7752be8e13847c1ff67f2ad", part: "nps", class: { "nylas-page-styling": !0, "no-border": !this.customInputsSlot } }, this.customInputsSlot ? s("div", { class: "header", part: "nps__header" }, s("div", null, s("h3", null, "Page styling and customization")), s("div", { class: "drawer-toggle", part: "nps__drawer-toggle--container" }, s("span", { class: `chevron ${this.isOpen ? "open" : "closed"} `, onClick: () => this.toggleConfirmationEmail() }, s("chevron-icon", { width: "24", height: "24" })))) : null, s("div", { key: "304a8a53cff0c854ce244435ff51abb2dc51b105", id: "nylas-page-styling__body", class: "nylas-page-styling__body", part: "nps__body" }, s("div", { key: "9de4abc9b92aab8d976b0fd2a568a5c60d7f0f6e", class: { "nylas-page-styling__section": !0, "no-padding": !this.customInputsSlot } }, s("div", { key: "490d7515e07679200e6a42138867088c7b6c4634", class: "nylas-page-styling__row" }, s("div", { key: "dcf7dbe82d82b103f14e63dc519aab3245d869e8", class: { subsection: !0, hide: !this.isOpen } }))))));
4439
+ return s(E, { key: "1601b88e8e7e2c500cb105f237949faa4e9d8dbd" }, s("div", { key: "2a3072bc409f07961da51439a0f45f930d0725de", part: "nps", class: { "nylas-page-styling": !0, "no-border": !this.customInputsSlot } }, this.customInputsSlot ? s("div", { class: "header", part: "nps__header" }, s("div", null, s("h3", null, "Page styling and customization")), s("div", { class: "drawer-toggle", part: "nps__drawer-toggle--container" }, s("span", { class: `chevron ${this.isOpen ? "open" : "closed"} `, onClick: () => this.toggleConfirmationEmail() }, s("chevron-icon", { width: "24", height: "24" })))) : null, s("div", { key: "404727336fdf8d0de2d8e769df1dcc21ae69f34b", id: "nylas-page-styling__body", class: "nylas-page-styling__body", part: "nps__body" }, s("div", { key: "2e7da0539b197347719a1202e04c1f7b238cdc9d", class: { "nylas-page-styling__section": !0, "no-padding": !this.customInputsSlot } }, s("div", { key: "55ba3e932216f073238b8385071defa9139ca0f9", class: "nylas-page-styling__row" }, s("div", { key: "333576450039ea7f76bfb548c5947609bc813837", class: { subsection: !0, hide: !this.isOpen } }))))));
4434
4440
  }
4435
4441
  static get formAssociated() {
4436
4442
  return !0;
@@ -4461,8 +4467,8 @@ fo([
4461
4467
  Un("design:returntype", void 0)
4462
4468
  ], oa.prototype, "render", null);
4463
4469
  oa.style = po;
4464
- const mo = ':host{display:block;--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:inherit}.nylas-participant-booking-calendars{width:inherit;display:flex;flex-direction:column;margin:1rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200)}.nylas-participant-booking-calendars .header{padding:1rem}.nylas-participant-booking-calendars .header h3{margin:0;font-size:16px;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-participant-booking-calendars .header p{margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left;display:flex;align-items:center;gap:4px}.nylas-participant-booking-calendars .content .participant-container{padding-top:12px;border-top:1px solid var(--nylas-base-200)}.nylas-participant-booking-calendars .content .participant-container .participant-title{display:flex;justify-content:space-between;align-items:center;padding:4px 16px 16px}.nylas-participant-booking-calendars .content .participant-container .participant-title p{margin:0}.nylas-participant-booking-calendars .content .participant-container .participant-title .participant-toggle{display:flex;gap:24px;align-items:center}.nylas-participant-booking-calendars .content .participant-container .participant-title .participant-toggle .chevron{display:flex;align-self:center;cursor:pointer}.nylas-participant-booking-calendars .content .participant-container .participant-title .participant-toggle .chevron:hover,.nylas-participant-booking-calendars .content .participant-container .participant-title .participant-toggle .chevron:active{color:var(--nylas-primary)}.nylas-participant-booking-calendars .content .participant-container .participant-title .participant-toggle .chevron.open{transform:rotate(90deg)}.nylas-participant-booking-calendars .content .participant-container .participant-title .participant-toggle .chevron.closed{transform:rotate(270deg)}.nylas-participant-booking-calendars .content .participant-container .participant-title .participant-toggle .chevron.disabled{cursor:not-allowed;color:var(--nylas-base-300)}.nylas-participant-booking-calendars .content .participant-container .participant-title .participant-toggle .chevron.disabled:hover{color:var(--nylas-base-300)}nylas-booking-calendar-picker::part(nbcp){margin:0;border:none;border-top:1px solid var(--nylas-base-200);border-top-right-radius:0;border-top-left-radius:0}', ho = mo;
4465
- var uo = function(e, n, t, a) {
4470
+ const mo = ':host{display:block;--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:inherit}.nylas-participant-booking-calendars{width:inherit;display:flex;flex-direction:column;margin:1rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200)}.nylas-participant-booking-calendars .header{padding:1rem}.nylas-participant-booking-calendars .header h3{margin:0;font-size:16px;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-participant-booking-calendars .header p{margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left;display:flex;align-items:center;gap:4px}.nylas-participant-booking-calendars .content .participant-container{padding-top:12px;border-top:1px solid var(--nylas-base-200)}.nylas-participant-booking-calendars .content .participant-container .participant-title{display:flex;justify-content:space-between;align-items:center;padding:4px 16px 16px}.nylas-participant-booking-calendars .content .participant-container .participant-title p{margin:0}.nylas-participant-booking-calendars .content .participant-container .participant-title .participant-toggle{display:flex;gap:24px;align-items:center}.nylas-participant-booking-calendars .content .participant-container .participant-title .participant-toggle .chevron{display:flex;align-self:center;cursor:pointer}.nylas-participant-booking-calendars .content .participant-container .participant-title .participant-toggle .chevron:hover,.nylas-participant-booking-calendars .content .participant-container .participant-title .participant-toggle .chevron:active{color:var(--nylas-primary)}.nylas-participant-booking-calendars .content .participant-container .participant-title .participant-toggle .chevron.open{transform:rotate(90deg)}.nylas-participant-booking-calendars .content .participant-container .participant-title .participant-toggle .chevron.closed{transform:rotate(270deg)}.nylas-participant-booking-calendars .content .participant-container .participant-title .participant-toggle .chevron.disabled{cursor:not-allowed;color:var(--nylas-base-300)}.nylas-participant-booking-calendars .content .participant-container .participant-title .participant-toggle .chevron.disabled:hover{color:var(--nylas-base-300)}nylas-booking-calendar-picker::part(nbcp){margin:0;border:none;border-top:1px solid var(--nylas-base-200);border-top-right-radius:0;border-top-left-radius:0}', uo = mo;
4471
+ var ho = function(e, n, t, a) {
4466
4472
  var o = arguments.length, i = o < 3 ? n : a === null ? a = Object.getOwnPropertyDescriptor(n, t) : a, r;
4467
4473
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
4468
4474
  i = Reflect.decorate(e, n, t, a);
@@ -4470,14 +4476,14 @@ var uo = function(e, n, t, a) {
4470
4476
  for (var l = e.length - 1; l >= 0; l--)
4471
4477
  (r = e[l]) && (i = (o < 3 ? r(i) : o > 3 ? r(n, t, i) : r(n, t)) || i);
4472
4478
  return o > 3 && i && Object.defineProperty(n, t, i), i;
4473
- }, Wn = function(e, n) {
4479
+ }, Bn = function(e, n) {
4474
4480
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
4475
4481
  return Reflect.metadata(e, n);
4476
4482
  };
4477
4483
  const ra = class {
4478
4484
  constructor(e) {
4479
4485
  var n;
4480
- b(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.name = "participant-booking-calendars", this.participants = ((n = this.selectedConfiguration) == null ? void 0 : n.participants) || [], this.calendars = void 0, this.participantOptions = void 0, this.selectedCalendars = this.setParticipants(this.participants), this.participantCalendars = {}, this.participantDefaultSelectedCalendar = {};
4486
+ g(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.name = "participant-booking-calendars", this.participants = ((n = this.selectedConfiguration) == null ? void 0 : n.participants) || [], this.calendars = void 0, this.participantOptions = void 0, this.selectedCalendars = this.setParticipants(this.participants), this.participantCalendars = {}, this.participantDefaultSelectedCalendar = {};
4481
4487
  }
4482
4488
  elementNameChangedHandler(e) {
4483
4489
  d("nylas-participant-booking-calendars", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
@@ -4500,18 +4506,18 @@ const ra = class {
4500
4506
  var i, r, l, c;
4501
4507
  const t = e == null ? void 0 : e.find((p) => p.is_organizer), a = {}, o = ((l = (r = (i = this.selectedConfiguration) == null ? void 0 : i.availability) == null ? void 0 : r.availability_rules) == null ? void 0 : l.availability_method) !== "collective";
4502
4508
  if (n && o) {
4503
- const p = e == null ? void 0 : e.filter((f) => n.some((u) => u.email === f.email)), m = e == null ? void 0 : e.filter((f) => !n.some((u) => u.email === f.email));
4509
+ const p = e == null ? void 0 : e.filter((f) => n.some((h) => h.email === f.email)), m = e == null ? void 0 : e.filter((f) => !n.some((h) => h.email === f.email));
4504
4510
  p == null || p.forEach((f) => {
4505
4511
  var y;
4506
- const u = n == null ? void 0 : n.find((w) => w.email === f.email);
4507
- if (!u)
4512
+ const h = n == null ? void 0 : n.find((C) => C.email === f.email);
4513
+ if (!h)
4508
4514
  return;
4509
4515
  this.participantDefaultSelectedCalendar[f.email] = ((y = f.booking) == null ? void 0 : y.calendar_id) ?? "primary";
4510
- const g = u.calendars ?? [];
4511
- a[f.email] = g;
4516
+ const b = h.calendars ?? [];
4517
+ a[f.email] = b;
4512
4518
  }), m == null || m.forEach((f) => {
4513
- var u, g;
4514
- (u = f == null ? void 0 : f.booking) != null && u.calendar_id && (a[f.email] = this.calendars ?? [{ id: "primary", name: f.email }], this.participantDefaultSelectedCalendar[f.email] = ((g = f == null ? void 0 : f.booking) == null ? void 0 : g.calendar_id) ?? "primary");
4519
+ var h, b;
4520
+ (h = f == null ? void 0 : f.booking) != null && h.calendar_id && (a[f.email] = this.calendars ?? [{ id: "primary", name: f.email }], this.participantDefaultSelectedCalendar[f.email] = ((b = f == null ? void 0 : f.booking) == null ? void 0 : b.calendar_id) ?? "primary");
4515
4521
  });
4516
4522
  }
4517
4523
  return t && (a[t.email] = this.calendars ?? [{ id: "primary", name: t.email }], this.participantDefaultSelectedCalendar[t.email] = ((c = t == null ? void 0 : t.booking) == null ? void 0 : c.calendar_id) ?? "primary"), a;
@@ -4589,7 +4595,7 @@ const ra = class {
4589
4595
  };
4590
4596
  }
4591
4597
  };
4592
- uo([
4598
+ ho([
4593
4599
  S({
4594
4600
  name: "nylas-participant-booking-calendars",
4595
4601
  stateToProps: /* @__PURE__ */ new Map([
@@ -4600,11 +4606,11 @@ uo([
4600
4606
  eventToProps: {},
4601
4607
  fireRegisterEvent: !0
4602
4608
  }),
4603
- Wn("design:type", Function),
4604
- Wn("design:paramtypes", []),
4605
- Wn("design:returntype", void 0)
4609
+ Bn("design:type", Function),
4610
+ Bn("design:paramtypes", []),
4611
+ Bn("design:returntype", void 0)
4606
4612
  ], ra.prototype, "render", null);
4607
- ra.style = ho;
4613
+ ra.style = uo;
4608
4614
  const yo = ':host{display:block;--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:inherit}.nylas-participants-custom-availability{width:inherit;display:flex;flex-direction:column;margin:1rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200)}.nylas-participants-custom-availability .header{padding:1rem}.nylas-participants-custom-availability .header h3{margin:0;font-size:16px;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-participants-custom-availability .header p{margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left}.nylas-participants-custom-availability .content .participant-container{padding-top:8px;border-top:1px solid var(--nylas-base-200)}.nylas-participants-custom-availability .content .participant-container .participant-title{display:flex;justify-content:space-between;align-items:center;padding:4px 16px 12px}.nylas-participants-custom-availability .content .participant-container .participant-title p{margin:0}.nylas-participants-custom-availability .content .participant-container .participant-title .participant-toggle{display:flex;gap:24px;align-items:center}.nylas-participants-custom-availability .content .participant-container .participant-title .participant-toggle .chevron{display:flex;align-self:center;cursor:pointer}.nylas-participants-custom-availability .content .participant-container .participant-title .participant-toggle .chevron:hover,.nylas-participants-custom-availability .content .participant-container .participant-title .participant-toggle .chevron:active{color:var(--nylas-primary)}.nylas-participants-custom-availability .content .participant-container .participant-title .participant-toggle .chevron.open{transform:rotate(90deg)}.nylas-participants-custom-availability .content .participant-container .participant-title .participant-toggle .chevron.closed{transform:rotate(270deg)}.nylas-participants-custom-availability .content .participant-container .participant-title .participant-toggle .chevron.disabled{cursor:not-allowed;color:var(--nylas-base-300)}.nylas-participants-custom-availability .content .participant-container .participant-title .participant-toggle .chevron.disabled:hover{color:var(--nylas-base-300)}.nylas-participants-custom-availability .content .participant-container nylas-availability-picker::part(nap){margin:0;border:none}', bo = yo;
4609
4615
  var go = function(e, n, t, a) {
4610
4616
  var o = arguments.length, i = o < 3 ? n : a === null ? a = Object.getOwnPropertyDescriptor(n, t) : a, r;
@@ -4614,14 +4620,14 @@ var go = function(e, n, t, a) {
4614
4620
  for (var l = e.length - 1; l >= 0; l--)
4615
4621
  (r = e[l]) && (i = (o < 3 ? r(i) : o > 3 ? r(n, t, i) : r(n, t)) || i);
4616
4622
  return o > 3 && i && Object.defineProperty(n, t, i), i;
4617
- }, Bn = function(e, n) {
4623
+ }, Wn = function(e, n) {
4618
4624
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
4619
4625
  return Reflect.metadata(e, n);
4620
4626
  };
4621
4627
  const la = class {
4622
4628
  constructor(e) {
4623
4629
  var n;
4624
- b(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.name = "participant-custom-availability", this.participants = ((n = this.selectedConfiguration) == null ? void 0 : n.participants) || [], this.selectedParticipants = this.setParticipants(this.participants);
4630
+ g(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.name = "participant-custom-availability", this.participants = ((n = this.selectedConfiguration) == null ? void 0 : n.participants) || [], this.selectedParticipants = this.setParticipants(this.participants);
4625
4631
  }
4626
4632
  elementNameChangedHandler(e) {
4627
4633
  d("nylas-participants-custom-availability", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
@@ -4646,22 +4652,23 @@ const la = class {
4646
4652
  d("nylas-participants-custom-availability", "componentDidLoad"), this.selectedConfiguration ? this.selectedParticipants = this.setParticipants((e = this.selectedConfiguration) == null ? void 0 : e.participants) : this.selectedParticipants = this.setParticipants(this.participants);
4647
4653
  }
4648
4654
  nylasFormSwitchToggledHandler(e) {
4649
- var t, a, o;
4655
+ var i, r, l, c, p, m, f, h, b, y, C, H;
4650
4656
  d("nylas-participants-custom-availability", "nylasFormSwitchToggledHandler", e.detail);
4651
- const n = ((o = (a = (t = this.selectedConfiguration) == null ? void 0 : t.participants.find((i) => i.email === e.detail.name)) == null ? void 0 : a.availability) == null ? void 0 : o.open_hours) || [];
4652
- this.selectedParticipants[e.detail.name].isOpen = e.detail.checked, this.selectedParticipants[e.detail.name].setCustom = e.detail.checked, this.selectedParticipants[e.detail.name].openHours = e.detail.checked ? (n == null ? void 0 : n.length) > 0 ? n : vt : [], this.selectedParticipants = { ...this.selectedParticipants }, this.updateFormValue();
4657
+ const n = (i = this.selectedConfiguration) == null ? void 0 : i.participants.find((F) => F.email === e.detail.name), t = (r = n == null ? void 0 : n.availability) == null ? void 0 : r.open_hours, a = t || ((p = (c = (l = this.selectedConfiguration) == null ? void 0 : l.availability) == null ? void 0 : c.availability_rules) == null ? void 0 : p.default_open_hours) || [], o = t && t.length > 0 ? n == null ? void 0 : n.timezone : ((y = (b = (h = (f = (m = this.selectedConfiguration) == null ? void 0 : m.availability) == null ? void 0 : f.availability_rules) == null ? void 0 : h.default_open_hours) == null ? void 0 : b.at(0)) == null ? void 0 : y.timezone) || ((H = (C = this.selectedConfiguration) == null ? void 0 : C.event_booking) == null ? void 0 : H.timezone) || window.Intl.DateTimeFormat().resolvedOptions().timeZone;
4658
+ this.selectedParticipants[e.detail.name].isOpen = e.detail.checked, this.selectedParticipants[e.detail.name].setCustom = e.detail.checked, this.selectedParticipants[e.detail.name].openHours = e.detail.checked ? (a == null ? void 0 : a.length) > 0 ? a : vt : [], this.selectedParticipants[e.detail.name].timezone = e.detail.checked ? o : void 0, this.selectedParticipants = { ...this.selectedParticipants }, this.updateFormValue();
4653
4659
  }
4654
4660
  handleValueChanged(e) {
4655
4661
  d("[nylas-editor-tabs]", "handleValueChanged", e);
4656
4662
  const { name: n, value: t } = e.detail;
4657
4663
  if (!n.startsWith("participant-"))
4658
4664
  return;
4659
- if (this.participantFormRef.checkValidity())
4660
- this.internals.setValidity({});
4661
- else {
4662
- this.internals.setValidity({ customError: !0 }, "Please fix the overlapping time ranges.");
4663
- return;
4664
- }
4665
+ if (this.isInternalsAvailable)
4666
+ if (this.participantFormRef.checkValidity())
4667
+ this.internals.setValidity({});
4668
+ else {
4669
+ this.internals.setValidity({ customError: !0 }, "Please fix the overlapping time ranges.");
4670
+ return;
4671
+ }
4665
4672
  const a = JSON.parse(t), o = n.split("-")[2];
4666
4673
  this.selectedParticipants[o] && (this.selectedParticipants[o].openHours = a.openHours, this.selectedParticipants = { ...this.selectedParticipants }, this.updateFormValue());
4667
4674
  }
@@ -4670,7 +4677,7 @@ const la = class {
4670
4677
  const e = {};
4671
4678
  (((t = this.selectedConfiguration) == null ? void 0 : t.participants) || this.participants).forEach((a) => {
4672
4679
  e[a.email] = this.selectedParticipants[a.email].openHours;
4673
- }), this.internals.setFormValue(JSON.stringify(e), this.name), this.valueChanged.emit({ value: JSON.stringify(e), name: this.name });
4680
+ }), this.isInternalsAvailable && this.internals.setFormValue(JSON.stringify(e), this.name), this.valueChanged.emit({ value: JSON.stringify(e), name: this.name });
4674
4681
  }
4675
4682
  setParticipants(e) {
4676
4683
  const n = {};
@@ -4686,8 +4693,11 @@ const la = class {
4686
4693
  };
4687
4694
  }), n;
4688
4695
  }
4696
+ get isInternalsAvailable() {
4697
+ return this.internals !== void 0 && typeof this.internals.setFormValue == "function" && typeof this.internals.setValidity == "function";
4698
+ }
4689
4699
  render() {
4690
- return s(E, { key: "6f9b3c61650e7dd61b6e548fe008be57494b5e89" }, s("div", { key: "256e2e41f0849180ffdb5c67c66dffd9c1ce031a", class: "nylas-participants-custom-availability", part: "npca" }, s("div", { key: "c3e1aefbb7872b233938aefeb22a13169f194864", class: "header", part: "npca__header" }, s("h3", { key: "8f7af6fa1435b2530fb5d179db1357e765270865" }, "Participant open hours"), s("p", { key: "ff146ecd72673369a01773b2f00e81264654acf5" }, "If not set, the default open hours will be used to calculate availability for this participant.")), s("div", { key: "c6aa29f7b88ecb5082f86b7b63416b3537e89dfe", class: "content", part: "npca__content" }, s("form", { key: "f46b43df9ee6026aa74c08feab122b4fd4e8e2bd", ref: (e) => this.participantFormRef = e }, Object.keys(this.selectedParticipants).map((e, n) => {
4700
+ return s(E, { key: "5034211537411e732ffee5f7420884e5908cc4e5" }, s("div", { key: "6d016a9b8a3dd204521d9f63de90cd848e9c49e7", class: "nylas-participants-custom-availability", part: "npca" }, s("div", { key: "fff77ce67f19e5b0bdc7a8b491ff38b1b7d9af55", class: "header", part: "npca__header" }, s("h3", { key: "656016ac8ee26636fad2e725237b1bb538563864" }, "Participant open hours"), s("p", { key: "87ab243b9f3402150c6dae36fc702d7f675350c3" }, "If not set, the default open hours will be used to calculate availability for this participant.")), s("div", { key: "ba6c30fbb85fc26d6471494716b18f7f815900ec", class: "content", part: "npca__content" }, s("form", { key: "7cc553b6730ead929fc45efa67b29b56e41f022e", ref: (e) => this.participantFormRef = e }, Object.keys(this.selectedParticipants).map((e, n) => {
4691
4701
  const t = this.selectedParticipants[e];
4692
4702
  if (!(!t || !t.name || !t.availability))
4693
4703
  return s("div", { class: "participant-container", part: "npca__participant-container", key: `participant-conatiner-${n}` }, s("div", { class: "participant-title", part: "npca__participant-title" }, s("p", null, t.name, "'s open hours"), s("div", { class: "participant-toggle", part: "npca__participant-toggle--container" }, s("toggle-switch", { exportparts: "ts_label: npca__toggle-label, ts_input: npca_toggle-input, ts_slider: npca_toggle-slider", name: e, checked: !!(t != null && t.openHours) && (t == null ? void 0 : t.openHours.length) > 0 }), s("span", { class: `chevron ${t.isOpen ? "open" : "closed"} ${t.setCustom ? "" : "disabled"}`, onClick: () => {
@@ -4716,9 +4726,9 @@ go([
4716
4726
  eventToProps: {},
4717
4727
  fireRegisterEvent: !0
4718
4728
  }),
4719
- Bn("design:type", Function),
4720
- Bn("design:paramtypes", []),
4721
- Bn("design:returntype", void 0)
4729
+ Wn("design:type", Function),
4730
+ Wn("design:paramtypes", []),
4731
+ Wn("design:returntype", void 0)
4722
4732
  ], la.prototype, "render", null);
4723
4733
  la.style = bo;
4724
4734
  const vo = ':host{display:block;--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:inherit}.cards-container{margin-bottom:4rem}.cards-container .nylas-reminder-email{width:inherit;display:flex;flex-direction:column;margin:1rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200);text-align:left}.cards-container .nylas-reminder-email .reminder-open-close-toggle{display:flex;gap:16px}.cards-container .nylas-reminder-email .reminder-open-close-toggle .chevron{display:flex;align-self:center;cursor:pointer}.cards-container .nylas-reminder-email .reminder-open-close-toggle .chevron:hover,.cards-container .nylas-reminder-email .reminder-open-close-toggle .chevron:active{color:var(--nylas-primary)}.cards-container .nylas-reminder-email .reminder-open-close-toggle .chevron.open{transform:rotate(90deg)}.cards-container .nylas-reminder-email .reminder-open-close-toggle .chevron.closed{transform:rotate(270deg)}.cards-container .nylas-reminder-email .reminder-open-close-toggle .chevron.disabled{cursor:not-allowed;color:var(--nylas-base-300)}.cards-container .nylas-reminder-email .reminder-open-close-toggle .chevron.disabled:hover{color:var(--nylas-base-300)}.cards-container .nylas-reminder-email .header{padding:1rem;display:grid;grid-template-columns:1fr auto;border-bottom:1px solid var(--nylas-base-200)}.cards-container .nylas-reminder-email .header h3{border-radius:var(--nylas-border-radius-2x);margin:0;font-size:1rem;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.cards-container .nylas-reminder-email .header p{margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left}.cards-container .nylas-reminder-email .header .confirmation-email-toggle{display:flex;gap:24px;align-items:center}.cards-container .nylas-reminder-email .header .confirmation-email-toggle .chevron{display:flex;align-self:center;cursor:pointer}.cards-container .nylas-reminder-email .header .confirmation-email-toggle .chevron:hover,.cards-container .nylas-reminder-email .header .confirmation-email-toggle .chevron:active{color:var(--nylas-primary)}.cards-container .nylas-reminder-email .header .confirmation-email-toggle .chevron.open{transform:rotate(90deg)}.cards-container .nylas-reminder-email .header .confirmation-email-toggle .chevron.closed{transform:rotate(270deg)}.cards-container .nylas-reminder-email .header .confirmation-email-toggle .chevron.disabled{cursor:not-allowed;color:var(--nylas-base-300)}.cards-container .nylas-reminder-email .header .confirmation-email-toggle .chevron.disabled:hover{color:var(--nylas-base-300)}.cards-container .nylas-reminder-email .nylas-reminder-email__body{display:grid;grid-template-columns:1fr auto;background-color:var(--nylas-base-25);border-radius:var(--nylas-border-radius-2x)}@media screen and (max-width: 768px){.cards-container .nylas-reminder-email .nylas-reminder-email__body{grid-template-columns:1fr}}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section{padding:1rem;display:flex;flex-direction:column;gap:1rem;color:var(--nylas-base-800)}@media screen and (max-width: 768px){.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section{border:none}}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .nylas-reminder-email__block{display:flex;flex-direction:column;gap:0.5rem;border-top:1px solid var(--nylas-base-200);padding-top:1rem;margin-top:0.5rem}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .nylas-reminder-email__row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:1rem}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .nylas-reminder-email__row.full-width-col{grid-template-columns:1fr}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .nylas-reminder-email__row label{display:flex;align-items:center}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .nylas-reminder-email__row label span.required{color:var(--nylas-error, #cc4841)}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .nylas-reminder-email__row label span.label-icon{margin-left:4px}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .nylas-reminder-email__row label span.label-icon tooltip-component{display:flex}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .nylas-reminder-email__row p{margin:0.25rem 0 0 0;font-size:1rem;font-weight:500;line-height:24px;color:var(--nylas-base-900)}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .nylas-reminder-email__row .company-logo-container{display:flex;gap:32px;width:100%}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .nylas-reminder-email__row .company-logo-container .input-container{display:flex;flex-direction:column;flex:1}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .nylas-reminder-email__row .company-logo-container .company-logo{display:flex;justify-content:center;align-items:center;width:200px;height:100px;border:var(--nylas-base-200) solid 1px;border-radius:var(--nylas-border-radius-2x);overflow:hidden;padding:10px}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .nylas-reminder-email__row .company-logo-container .company-logo img{max-height:100%;max-width:100%;object-fit:contain;object-position:center}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .nylas-reminder-email__row span.selected-value{font-weight:500}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .subsection{display:flex;flex-direction:column;gap:1rem}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .subsection h3{margin:0;font-size:1rem;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .subsection .input-container{display:flex;flex-direction:column;gap:0.25rem}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__section .subsection .input-container textarea{padding:12px 16px;border-width:1;resize:vertical;border-radius:8px;font-family:var(--nylas-font-family);font-size:16px;line-height:24px;border:1px solid var(--nylas-base-200)}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__preview{width:208px;background:var(--nylas-base-25);border-bottom-right-radius:var(--nylas-border-radius-2x)}@media screen and (max-width: 768px){.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__preview{width:inherit;border-bottom-left-radius:var(--nylas-border-radius-2x)}}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__preview h4{font-size:14px;line-height:24px;color:var(--nylas-base-600);font-family:var(--nylas-font-family);font-weight:500;text-align:center;margin:0.75rem 0}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__preview .preview-container{padding:0 2rem 1rem}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__preview .preview-container .slot{background-color:transparent;border-top:1px solid var(--nylas-base-300)}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__preview .preview-container .slot.active{background-color:var(--nylas-base-100)}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__preview .preview-container .slot:last-of-type{border-bottom:1px solid var(--nylas-base-300)}.cards-container .nylas-reminder-email .nylas-reminder-email__body .nylas-reminder-email__preview .preview-container .event-slot{background-color:var(--nylas-base-600);border-top:1px solid var(--nylas-base-300)}.cards-container .nylas-reminder-email .nylas-reminder-email__body span.error-message{color:var(--nylas-error)}.cards-container .nylas-reminder-email .nylas-reminder-email__body span.help-text{margin:0.25rem 0 0 0;font-size:0.875rem;font-weight:400;line-height:20px;color:var(--nylas-base-600);text-align:left}.cards-container .nylas-reminder-email .nylas-reminder-email__summary{padding:0.75rem 1rem;display:grid;grid-template-columns:auto 1fr;column-gap:1rem}.cards-container .nylas-reminder-email .nylas-reminder-email__summary p{margin:0;display:flex;align-items:center;column-gap:4px;font-size:0.875rem;font-weight:400;line-height:21px;color:var(--nylas-base-600);text-align:left}.cards-container .nylas-reminder-email .nylas-reminder-email__summary p span.summary-icon{display:flex;justify-content:center;min-width:20px}sp-divider{background-color:var(--nylas-base-200);height:1px;margin:0.25rem 0}button-component.create-reminder button{margin:1rem;width:calc(100% - 2rem)}button-component.delete-btn button{color:var(--nylas-error) !important}', _o = vo;
@@ -4737,7 +4747,7 @@ var Co = function(e, n, t, a) {
4737
4747
  const da = class {
4738
4748
  constructor(e) {
4739
4749
  var n, t, a;
4740
- b(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.eventReminders = void 0, this.name = "reminder-overrides", this.reminders = ((t = (n = this.selectedConfiguration) == null ? void 0 : n.event_booking) == null ? void 0 : t.reminders) ?? this.eventReminders ?? [], this.reminderErrors = {}, this.participants = ((a = this.selectedConfiguration) == null ? void 0 : a.participants) ?? [];
4750
+ g(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.eventReminders = void 0, this.name = "reminder-overrides", this.reminders = ((t = (n = this.selectedConfiguration) == null ? void 0 : n.event_booking) == null ? void 0 : t.reminders) ?? this.eventReminders ?? [], this.reminderErrors = {}, this.participants = ((a = this.selectedConfiguration) == null ? void 0 : a.participants) ?? [];
4741
4751
  }
4742
4752
  connectedCallback() {
4743
4753
  d("nylas-reminder-emails", "connectedCallback");
@@ -4932,7 +4942,7 @@ function Oo(e) {
4932
4942
  }
4933
4943
  const ca = class {
4934
4944
  constructor(e) {
4935
- b(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.name = "reminder-time", this.eventReminderTimeMinutes = void 0, this.reminderTime = Eo(this.eventReminderTimeMinutes), this.reminderTimeMinutes = this.eventReminderTimeMinutes ?? 30, this.reminderTimeincrement = Oo(this.eventReminderTimeMinutes), this.reminderTimeMinutesOptions = dt;
4945
+ g(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.name = "reminder-time", this.eventReminderTimeMinutes = void 0, this.reminderTime = Eo(this.eventReminderTimeMinutes), this.reminderTimeMinutes = this.eventReminderTimeMinutes ?? 30, this.reminderTimeincrement = Oo(this.eventReminderTimeMinutes), this.reminderTimeMinutesOptions = dt;
4936
4946
  }
4937
4947
  elementNameChangedHandler(e) {
4938
4948
  d("nylas-reminder-time", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
@@ -5010,7 +5020,7 @@ var Ho = function(e, n, t, a) {
5010
5020
  };
5011
5021
  const pa = class {
5012
5022
  constructor(e) {
5013
- b(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.name = "availability-method", this.participantOptions = void 0, this.readOnly = !1, this.selectedBookingType = "";
5023
+ g(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.name = "availability-method", this.participantOptions = void 0, this.readOnly = !1, this.selectedBookingType = "";
5014
5024
  }
5015
5025
  connectedCallback() {
5016
5026
  d("nylas-scheduling-method", "connectedCallback");
@@ -5105,7 +5115,7 @@ var $o = function(e, n, t, a) {
5105
5115
  const Ve = 15, fa = class {
5106
5116
  constructor(e) {
5107
5117
  var n, t;
5108
- b(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.name = "timeslot-picker", this.eventDurationMinutes = (t = (n = this.selectedConfiguration) == null ? void 0 : n.availability) == null ? void 0 : t.duration_minutes, this.internalEventDurationMinutes = void 0, this.selectedInterval = void 0, this.selectedRoundTo = void 0, this.componentLoaded = !1;
5118
+ g(this, e), this.valueChanged = x(this, "valueChanged", 7), e.$hostElement$["s-ei"] ? this.internals = e.$hostElement$["s-ei"] : (this.internals = e.$hostElement$.attachInternals(), e.$hostElement$["s-ei"] = this.internals), this.selectedConfiguration = void 0, this.name = "timeslot-picker", this.eventDurationMinutes = (t = (n = this.selectedConfiguration) == null ? void 0 : n.availability) == null ? void 0 : t.duration_minutes, this.internalEventDurationMinutes = void 0, this.selectedInterval = void 0, this.selectedRoundTo = void 0, this.componentLoaded = !1;
5109
5119
  }
5110
5120
  elementNameChangedHandler(e) {
5111
5121
  d("nylas-timeslot-interval", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
@@ -5178,7 +5188,7 @@ const Ve = 15, fa = class {
5178
5188
  { value: "45", label: "45 mins" },
5179
5189
  { value: "60", label: "60 mins" }
5180
5190
  ], n = typeof this.selectedInterval < "u" ? this.selectedInterval == this.internalEventDurationMinutes ? e[0] : e.find((t) => t.value == this.selectedInterval.toString()) ?? e[0] : void 0;
5181
- return s(E, { key: "8f7dd99dfc3f41a0435f37c9a8e4052732a9868b" }, s("div", { key: "c2c462dd6409b08f0d641fc6c169793dc5a05150", class: "nylas-timeslot-interval", part: "nti" }, s("div", { key: "b6e29f56325f75b03ad4ba933fabea9825eb50cc", class: "header", part: "nti__header" }, s("h3", { key: "1c736752d9bd7e8e0a4b113eb858b8d9420fc72b" }, "Time slot settings")), s("div", { key: "3577261419231e74b71e890a2de0629ac0c02c89", class: "nylas-timeslot-interval__dropdown" }, s("span", { key: "68dc2a1f0709ca3b1a14d68001cde315b83509cc", class: "label", part: "nti__input-label" }, "Time slot interval."), (n == null ? void 0 : n.label) && s("select-dropdown", { name: "interval-minutes", options: e, withSearch: !1, exportparts: "sd_dropdown: nti__dropdown, sd_dropdown-button: nti__dropdown-button, sd_dropdown-content: nti__dropdown-content", defaultSelectedOption: n }), s("span", { key: "505093bca858fd24188db043fda5e3036a474d7d", slot: "label", class: "label", part: "nti__input-label" }, "Time slot rounding type", s("tooltip-component", { key: "9b63c319d79fb926da222939aea8c38600c5c70e" }, s("info-icon", { key: "a3f1ed080e6508c02cc150d9252d40eae1adb1ac", slot: "tooltip-icon" }), s("span", { key: "4690a7089fb68e0f119f3efc583a55a8dbff0b88", slot: "tooltip-content" }, "Select if you want to round the time slots to the nearest interval."))), this.componentLoaded && s("radio-button-group", { name: "interval-preference", defaultSelectedValue: this.selectedRoundTo ? "rounding" : "no-rounding", options: [
5191
+ return s(E, { key: "ab8e3b84ca1e7d005dfbb48f293b79e8207c23bf" }, s("div", { key: "1a86d259897b0747ae9f5ac9372397c6cde82988", class: "nylas-timeslot-interval", part: "nti" }, s("div", { key: "9286ae474f9ff0fa0969f29064506decfca7276e", class: "header", part: "nti__header" }, s("h3", { key: "a8229e779db361d0178883c57a61b49ff5dc0e76" }, "Time slot settings")), s("div", { key: "39ce5de27f8bd68a39f46cfa42a7f05d338b4dcc", class: "nylas-timeslot-interval__dropdown" }, s("span", { key: "94d9acdfa2d7f091c4a0b4351f0616cb654359b2", class: "label", part: "nti__input-label" }, "Time slot interval."), (n == null ? void 0 : n.label) && s("select-dropdown", { name: "interval-minutes", options: e, withSearch: !1, exportparts: "sd_dropdown: nti__dropdown, sd_dropdown-button: nti__dropdown-button, sd_dropdown-content: nti__dropdown-content", defaultSelectedOption: n }), s("span", { key: "0ffaa20e58b54ace7ce43dff78a6f3e61f3fd6eb", slot: "label", class: "label", part: "nti__input-label" }, "Time slot rounding type", s("tooltip-component", { key: "9344477a28ce7594a4aa2534947907a78b506a45" }, s("info-icon", { key: "7987999d4cd119bc530534fb321fec725b6a2ead", slot: "tooltip-icon" }), s("span", { key: "7d8b75bfe3928e49c42fedc23c42eaf83aaaceeb", slot: "tooltip-content" }, "Select if you want to round the time slots to the nearest interval."))), this.componentLoaded && s("radio-button-group", { name: "interval-preference", defaultSelectedValue: this.selectedRoundTo ? "rounding" : "no-rounding", options: [
5182
5192
  { value: "no-rounding", label: "Default", description: "Time slots will be rounded to the nearest quarter-hour." },
5183
5193
  {
5184
5194
  value: "rounding",
@@ -5211,76 +5221,57 @@ $o([
5211
5221
  Jn("design:returntype", void 0)
5212
5222
  ], fa.prototype, "render", null);
5213
5223
  fa.style = Io;
5214
- const Po = ".sc-paintbrush-fill-icon-h{display:flex}", Fo = Po, No = class {
5224
+ const Fo = ".sc-paintbrush-fill-icon-h{display:flex}", No = Fo, Po = class {
5215
5225
  constructor(e) {
5216
- b(this, e), this.width = "16", this.height = "13";
5226
+ g(this, e), this.width = "16", this.height = "13";
5217
5227
  }
5218
5228
  render() {
5219
5229
  return s("svg", { key: "e4684ac3235a59975a67508b6a5019e70b1a3a5a", width: "16", height: "17", viewBox: "-3 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, s("path", { key: "00dee1b55784f1191d56a8c1b420f0076575a197", d: "M5 2.875V0.375H0.5C0.223858 0.375 0 0.598858 0 0.875V7.37585H10V0.875C10 0.598858 9.77614 0.375 9.5 0.375H8V3.87722C8 4.15337 7.77614 4.37722 7.5 4.37722C7.22386 4.37722 7 4.15337 7 3.87722V0.375H6V2.875C6 3.15114 5.77614 3.375 5.5 3.375C5.22386 3.375 5 3.15114 5 2.875ZM10 8.37585H0V9.37938C0 10.4839 0.895431 11.3794 2 11.3794H3.5V14.8767C3.5 15.7051 4.17157 16.3767 5 16.3767C5.82843 16.3767 6.5 15.7051 6.5 14.8767V11.3794H8C9.10457 11.3794 10 10.4839 10 9.37938V8.37585Z", fill: "currentColor" }));
5220
5230
  }
5221
5231
  };
5222
- No.style = Fo;
5223
- const Ro = ".sc-paintbrush-icon-h{display:flex}", Lo = Ro, Ao = class {
5232
+ Po.style = No;
5233
+ const Lo = ".sc-paintbrush-icon-h{display:flex}", Ro = Lo, Ao = class {
5224
5234
  constructor(e) {
5225
- b(this, e), this.width = "16", this.height = "13";
5235
+ g(this, e), this.width = "16", this.height = "13";
5226
5236
  }
5227
5237
  render() {
5228
5238
  return s("svg", { key: "8ed14deda237ca56daa7b7cfd55788700ecf8614", width: "16", height: "16", viewBox: "-3 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, s("path", { key: "5100cb1d8fba90615962e57facfd3361cd31f4e5", d: "M0.5 -0.000976562C0.223858 -0.000976562 0 0.222881 0 0.499023L1.90735e-05 9.00337C1.90735e-05 10.1079 0.89545 11.0034 2.00002 11.0034H3.00411V14.0007C3.00411 15.1053 3.89954 16.0007 5.00411 16.0007C6.10868 16.0007 7.00411 15.1053 7.00411 14.0007V11.0034H8.00002C9.10459 11.0034 10 10.1079 10 9.00337V7.50339L10 7.49897V0.499023C10 0.222881 9.77614 -0.000976562 9.5 -0.000976562H0.5ZM1.00002 8.00342H9.00002V9.00337C9.00002 9.55566 8.5523 10.0034 8.00002 10.0034H6.50411C6.22797 10.0034 6.00411 10.2272 6.00411 10.5034V14.0007C6.00411 14.553 5.5564 15.0007 5.00411 15.0007C4.45183 15.0007 4.00411 14.553 4.00411 14.0007V10.5034C4.00411 10.2272 3.78026 10.0034 3.50411 10.0034H2.00002C1.44773 10.0034 1.00002 9.55566 1.00002 9.00337V8.00342ZM9 7.00339H1V0.999023H5V2.49902C5 2.77517 5.22386 2.99902 5.5 2.99902C5.77614 2.99902 6 2.77517 6 2.49902V0.999023H7V3.50122C7 3.77736 7.22386 4.00122 7.5 4.00122C7.77614 4.00122 8 3.77736 8 3.50122V0.999023H9V7.00339Z", fill: "currentColor" }));
5229
5239
  }
5230
5240
  };
5231
- Ao.style = Lo;
5241
+ Ao.style = Ro;
5232
5242
  const Mo = ".sc-people-icon-h{display:flex}", zo = Mo, jo = class {
5233
5243
  constructor(e) {
5234
- b(this, e), this.width = "20", this.height = "20";
5244
+ g(this, e), this.width = "20", this.height = "20";
5235
5245
  }
5236
5246
  render() {
5237
5247
  return s("svg", { key: "e7e23abad1ff011b5e2d8931755a605179586351", xmlns: "http://www.w3.org/2000/svg", width: this.width, height: this.height, fill: "none", viewBox: "0 0 20 20" }, s("path", { key: "3ddb5e0a172b339cd8d33c3ae95fda09c0edd3bb", fill: "currentColor", d: "M11 10a2 2 0 0 1 2 2v1.5c0 2.054-2.088 3.5-5.5 3.5S2 15.554 2 13.5V12a2 2 0 0 1 2-2h7Zm0 1H4a1 1 0 0 0-1 1v1.5C3 14.907 4.579 16 7.5 16c2.921 0 4.5-1.093 4.5-2.5V12a1 1 0 0 0-1-1Zm5-1a2 2 0 0 1 2 2v.5c0 2.089-1.568 3.5-4.5 3.5-.141 0-.28-.003-.414-.01.208-.242.382-.502.522-.781l.097-.213h.039C15.976 14.931 17 13.96 17 12.5V12a1 1 0 0 0-1-1h-2.171a3 3 0 0 0-.594-1H16ZM7.5 2a3.5 3.5 0 1 1 0 7 3.5 3.5 0 0 1 0-7Zm7 2a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Zm-7-1a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5Zm7 2a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z" }));
5238
5248
  }
5239
5249
  };
5240
5250
  jo.style = zo;
5241
- const Uo = '.switch{--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;display:inline-block;height:34px;position:relative;width:60px}.switch input{display:none}.slider{background-color:var(--nylas-base-300);bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:0.4s}.slider:before{background-color:var(--nylas-base-0);bottom:4px;content:"";height:32px;left:4px;position:absolute;transition:0.4s;width:32px}input:checked+.slider{background-color:var(--nylas-success)}input:checked+.slider:before{transform:translateX(32px)}.slider.round{border-radius:35px;width:72px;height:40px}.slider.round:before{border-radius:50%}', Wo = Uo, Bo = class {
5242
- constructor(e) {
5243
- b(this, e), this.nylasFormSwitchToggled = x(this, "nylasFormSwitchToggled", 7), this.name = "toggle-switch", this.checked = !1, this.label = "", this.isChecked = this.checked;
5244
- }
5245
- componentWillLoad() {
5246
- this.isChecked = this.checked;
5247
- }
5248
- toggleCheck() {
5249
- this.isChecked = !this.isChecked, this.nylasFormSwitchToggled.emit({
5250
- checked: this.isChecked,
5251
- name: this.name,
5252
- label: this.label
5253
- });
5254
- }
5255
- render() {
5256
- return s("label", { key: "7d74c0f5a452c3261e1cdd897a5092697a6782bb", class: "switch", part: "ts_label" }, s("input", { key: "80f5740b7e4a7af96b95648dd556b50c0537b505", type: "checkbox", part: "ts_input", name: this.name, checked: this.isChecked, onChange: () => this.toggleCheck() }), s("div", { key: "5176ee85b2fd72586ae6faf41e84c2ef60598f32", class: "slider round", part: "ts_slider" }));
5257
- }
5258
- };
5259
- Bo.style = Wo;
5260
- const Zo = ".sc-trash-icon-h{display:flex}", qo = Zo, Vo = class {
5251
+ const Uo = ".sc-trash-icon-h{display:flex}", Bo = Uo, Wo = class {
5261
5252
  constructor(e) {
5262
- b(this, e), this.width = "20", this.height = "21";
5253
+ g(this, e), this.width = "20", this.height = "21";
5263
5254
  }
5264
5255
  render() {
5265
5256
  return s("svg", { key: "996def7abb49e7006b1982be54b9a7a0da6fb27f", width: this.width, height: this.height, viewBox: "0 0 20 21", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, s("path", { key: "85f12d3be93cba4337ddf2fc99d89c80dbf6008c", d: "M10 0.25C11.733 0.25 13.1492 1.60645 13.2449 3.31558L13.25 3.5H18.5C18.9142 3.5 19.25 3.83579 19.25 4.25C19.25 4.6297 18.9678 4.94349 18.6018 4.99315L18.5 5H17.704L16.4239 18.0192C16.2912 19.3683 15.1984 20.41 13.8626 20.4945L13.6871 20.5H6.31293C4.95734 20.5 3.81365 19.5145 3.59883 18.1934L3.57614 18.0192L2.295 5H1.5C1.1203 5 0.806509 4.71785 0.756847 4.35177L0.75 4.25C0.75 3.8703 1.03215 3.55651 1.39823 3.50685L1.5 3.5H6.75C6.75 1.70507 8.20507 0.25 10 0.25ZM16.197 5H3.802L5.06893 17.8724C5.12768 18.4696 5.60033 18.9343 6.18585 18.9936L6.31293 19H13.6871C14.2872 19 14.7959 18.5751 14.9123 17.9982L14.9311 17.8724L16.197 5ZM11.75 7.75C12.1297 7.75 12.4435 8.03215 12.4932 8.39823L12.5 8.5V15.5C12.5 15.9142 12.1642 16.25 11.75 16.25C11.3703 16.25 11.0565 15.9678 11.0068 15.6018L11 15.5V8.5C11 8.08579 11.3358 7.75 11.75 7.75ZM8.25 7.75C8.6297 7.75 8.94349 8.03215 8.99315 8.39823L9 8.5V15.5C9 15.9142 8.66421 16.25 8.25 16.25C7.8703 16.25 7.55651 15.9678 7.50685 15.6018L7.5 15.5V8.5C7.5 8.08579 7.83579 7.75 8.25 7.75ZM10 1.75C9.08183 1.75 8.32881 2.45711 8.2558 3.35647L8.25 3.5H11.75C11.75 2.5335 10.9665 1.75 10 1.75Z", fill: "currentColor" }));
5266
5257
  }
5267
5258
  };
5268
- Vo.style = qo;
5269
- const Jo = ".sc-zoom-icon-h{display:flex}", Go = Jo, Yo = class {
5259
+ Wo.style = Bo;
5260
+ const Zo = ".sc-zoom-icon-h{display:flex}", qo = Zo, Vo = class {
5270
5261
  constructor(e) {
5271
- b(this, e), this.width = "20", this.height = "20";
5262
+ g(this, e), this.width = "20", this.height = "20";
5272
5263
  }
5273
5264
  render() {
5274
5265
  return s("svg", { key: "9789a9930b484f5094660e3b26ca8597a9b98079", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, s("path", { key: "a6c4d6c5d01a39cf9f302982b9d59e20ef8dd4fe", d: "M19.7495 6.85792C19.2077 3.4745 16.5255 0.792345 13.1421 0.250451C12.1175 0.0865155 11.0702 0 10 0C8.92992 0 7.88256 0.0865155 6.85797 0.250451C3.47453 0.792345 0.792373 3.4745 0.250478 6.85792C0.0865433 7.87796 0 8.92987 0 10C0 11.0701 0.0865433 12.1175 0.250478 13.1421C0.792373 16.5255 3.47453 19.2077 6.85797 19.7495C7.88256 19.9135 8.92992 20 10 20C11.0702 20 12.1175 19.9135 13.1421 19.7495C16.5255 19.2077 19.2077 16.5255 19.7495 13.1421C19.9135 12.122 20 11.0701 20 10C20 8.92987 19.9135 7.88251 19.7495 6.85792Z", fill: "url(#paint0_linear_22_6272)" }), s("path", { key: "8a1742b847a85d297382072fa1344e261236b2c7", d: "M12.154 12.1676C12.154 12.7596 11.6759 13.2377 11.0839 13.2377H6.42995C5.24598 13.2377 4.28516 12.2769 4.28516 11.0929V7.87794C4.28516 7.28596 4.76328 6.80786 5.35527 6.80786H10.0092C11.1932 6.80786 12.154 7.7687 12.154 8.95267V12.1676ZM14.8589 7.09475L13.2879 8.27412C13.0193 8.47448 12.8598 8.79324 12.8598 9.13022V10.9153C12.8598 11.2523 13.0193 11.5711 13.2879 11.7714L14.8589 12.9508C15.2141 13.2149 15.715 12.9645 15.715 12.5228V7.5228C15.715 7.08109 15.2096 6.83063 14.8589 7.09475Z", fill: "white" }), s("defs", { key: "be2e9962bb2dec55076c7b323ad5b1140ef9283b" }, s("linearGradient", { key: "7d273efb34a3a13abd745023ff924b1dbd87be37", id: "paint0_linear_22_6272", x1: "10", y1: "19.9954", x2: "10", y2: "-0.00455379", gradientUnits: "userSpaceOnUse" }, s("stop", { key: "841a9fc4ea78d5507cd19a581573c8cf86fb443a", "stop-color": "#003FAE" }), s("stop", { key: "84c1e64fa2dcdf8bc3c532db4d67bcda557c6a50", offset: "0.02", "stop-color": "#0142B7" }), s("stop", { key: "c5fccfcd3460597ba44aea510048970b5ea750bf", offset: "0.09", "stop-color": "#044BD1" }), s("stop", { key: "08b1ebe7800ae3e1da23755119f3411693ab22ab", offset: "0.16", "stop-color": "#0752E5" }), s("stop", { key: "16c3bc399028a8377c06c6e1b4cf1680717ef464", offset: "0.24", "stop-color": "#0958F4" }), s("stop", { key: "c5938a655523d730914af0f13eebd1d51527cab8", offset: "0.34", "stop-color": "#0A5BFC" }), s("stop", { key: "c3ec1966b6d7602465a59c2b5db40ad4738cfc0b", offset: "0.5", "stop-color": "#0B5CFF" }))));
5275
5266
  }
5276
5267
  };
5277
- Yo.style = Go;
5268
+ Vo.style = qo;
5278
5269
  export {
5279
5270
  ka as calendar_agenda_fill_icon,
5280
5271
  Sa as calendar_agenda_icon,
5281
5272
  Ta as calendar_info_icon,
5282
- Pa as calendar_patterns_icon,
5283
- Ra as checkmark_icon,
5273
+ Fa as calendar_patterns_icon,
5274
+ La as checkmark_icon,
5284
5275
  Ma as dragable_icon,
5285
5276
  Ua as envelope_fill_icon,
5286
5277
  Za as envelope_icon,
@@ -5291,7 +5282,7 @@ export {
5291
5282
  _t as input_image_url,
5292
5283
  di as location_icon,
5293
5284
  fi as location_off_icon,
5294
- ui as microsoft_teams_icon,
5285
+ hi as microsoft_teams_icon,
5295
5286
  Ct as nylas_additional_participants,
5296
5287
  wt as nylas_availability_picker,
5297
5288
  xt as nylas_booking_calendar_picker,
@@ -5300,8 +5291,8 @@ export {
5300
5291
  zt as nylas_booking_form_config,
5301
5292
  jt as nylas_buffer_time,
5302
5293
  Ut as nylas_calendar_picker,
5303
- Wt as nylas_cancellation_policy,
5304
- Bt as nylas_confirmation_email,
5294
+ Bt as nylas_cancellation_policy,
5295
+ Wt as nylas_confirmation_email,
5305
5296
  Zt as nylas_connected_calendars,
5306
5297
  qt as nylas_custom_booking_flow,
5307
5298
  Vt as nylas_custom_event_slug,
@@ -5324,10 +5315,9 @@ export {
5324
5315
  ca as nylas_reminder_time,
5325
5316
  pa as nylas_scheduling_method,
5326
5317
  fa as nylas_timeslot_interval,
5327
- No as paintbrush_fill_icon,
5318
+ Po as paintbrush_fill_icon,
5328
5319
  Ao as paintbrush_icon,
5329
5320
  jo as people_icon,
5330
- Bo as toggle_switch,
5331
- Vo as trash_icon,
5332
- Yo as zoom_icon
5321
+ Wo as trash_icon,
5322
+ Vo as zoom_icon
5333
5323
  };