@nylas/react 1.3.4 → 1.3.5

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 (117) hide show
  1. package/dist/{add-circle-icon.entry-321c1dd1.js → add-circle-icon.entry-00c87903.js} +1 -1
  2. package/dist/{add-circle-icon.entry-dcc45961.cjs → add-circle-icon.entry-640d2b46.cjs} +1 -1
  3. package/dist/{archive-icon.entry-c4da9f4f.cjs → archive-icon.entry-5b209336.cjs} +1 -1
  4. package/dist/{archive-icon.entry-715e139b.js → archive-icon.entry-e8a39eda.js} +1 -1
  5. package/dist/{arrow-icon.entry-bdccce8a.cjs → arrow-icon.entry-a25b7b7e.cjs} +1 -1
  6. package/dist/{arrow-icon.entry-9311463c.js → arrow-icon.entry-fa9584cf.js} +1 -1
  7. package/dist/{bold-icon.entry-c531dff1.js → bold-icon.entry-ac6a4956.js} +1 -1
  8. package/dist/{bold-icon.entry-06fa4738.cjs → bold-icon.entry-d837c73d.cjs} +1 -1
  9. package/dist/{button-component_2.entry-db911efe.cjs → button-component_2.entry-1471422a.cjs} +1 -1
  10. package/dist/{button-component_2.entry-5aad0ec4.js → button-component_2.entry-caf33abf.js} +1 -1
  11. package/dist/calendar-agenda-fill-icon_53.entry-094bd4b9.cjs +6 -0
  12. package/dist/{calendar-agenda-fill-icon_53.entry-6f1aa42c.js → calendar-agenda-fill-icon_53.entry-6d7f9c79.js} +99 -93
  13. package/dist/{calendar-cancel-icon.entry-59375bc4.js → calendar-cancel-icon.entry-02015d74.js} +1 -1
  14. package/dist/{calendar-cancel-icon.entry-3bd1c8e9.cjs → calendar-cancel-icon.entry-42d3d226.cjs} +1 -1
  15. package/dist/{calendar-check-icon_2.entry-1ca369b6.js → calendar-check-icon_2.entry-2f7dc236.js} +1 -1
  16. package/dist/{calendar-check-icon_2.entry-540dde9d.cjs → calendar-check-icon_2.entry-45aacd91.cjs} +1 -1
  17. package/dist/{calendar-icon.entry-66517be4.js → calendar-icon.entry-70ac9bd6.js} +1 -1
  18. package/dist/{calendar-icon.entry-1d9773d5.cjs → calendar-icon.entry-90d67b03.cjs} +1 -1
  19. package/dist/{checkbox-component_3.entry-3918885e.cjs → checkbox-component_3.entry-231b2254.cjs} +1 -1
  20. package/dist/{checkbox-component_3.entry-cf9507ac.js → checkbox-component_3.entry-7270533c.js} +1 -1
  21. package/dist/{chevron-icon_3.entry-afc62aa5.js → chevron-icon_3.entry-3c95cc88.js} +1 -1
  22. package/dist/{chevron-icon_3.entry-27b71bd6.cjs → chevron-icon_3.entry-ead3d4c8.cjs} +1 -1
  23. package/dist/{clock-icon_4.entry-ab2c2eaf.js → clock-icon_4.entry-af5301d7.js} +1 -1
  24. package/dist/{clock-icon_4.entry-f46a42fc.cjs → clock-icon_4.entry-b50cce70.cjs} +1 -1
  25. package/dist/{close-icon.entry-be2b5f87.cjs → close-icon.entry-04008446.cjs} +1 -1
  26. package/dist/{close-icon.entry-791cb99c.js → close-icon.entry-0a4105c9.js} +1 -1
  27. package/dist/constants-f6e79ab7-23d7236b.cjs +1 -0
  28. package/dist/{constants-91d76d21-1638ead6.js → constants-f6e79ab7-24392f9e.js} +5 -3
  29. package/dist/{copy-icon.entry-c009a659.js → copy-icon.entry-312ff230.js} +1 -1
  30. package/dist/{copy-icon.entry-16835c5d.cjs → copy-icon.entry-74f8ebcd.cjs} +1 -1
  31. package/dist/{delete-icon.entry-e8815e15.js → delete-icon.entry-00cb3ee8.js} +1 -1
  32. package/dist/{delete-icon.entry-3c295200.cjs → delete-icon.entry-b61a6706.cjs} +1 -1
  33. package/dist/{document-refresh-icon.entry-1628d0dd.js → document-refresh-icon.entry-1c985b1e.js} +1 -1
  34. package/dist/{document-refresh-icon.entry-7d84ace4.cjs → document-refresh-icon.entry-27ff5cb2.cjs} +1 -1
  35. package/dist/{feedbackSync-b5d35a5b-1343e33b.cjs → feedbackSync-547e51ee-9b572309.cjs} +1 -1
  36. package/dist/{feedbackSync-b5d35a5b-20032e5d.js → feedbackSync-547e51ee-bcaf691c.js} +1 -1
  37. package/dist/{folder-icon.entry-1a70f499.js → folder-icon.entry-60b3eda5.js} +1 -1
  38. package/dist/{folder-icon.entry-1837e7eb.cjs → folder-icon.entry-c32a6e15.cjs} +1 -1
  39. package/dist/{forward-icon.entry-92fa4f95.js → forward-icon.entry-5f9a7639.js} +1 -1
  40. package/dist/{forward-icon.entry-7a9952fe.cjs → forward-icon.entry-8cd805dc.cjs} +1 -1
  41. package/dist/{globe-icon.entry-5ea64e36.cjs → globe-icon.entry-21a80591.cjs} +1 -1
  42. package/dist/{globe-icon.entry-2886c103.js → globe-icon.entry-397727e1.js} +1 -1
  43. package/dist/{google-logo-icon_4.entry-ff5ebfd9.cjs → google-logo-icon_4.entry-42e87368.cjs} +1 -1
  44. package/dist/{google-logo-icon_4.entry-c0413818.js → google-logo-icon_4.entry-6ccf8379.js} +8 -8
  45. package/dist/{inbox-icon.entry-893a70b6.js → inbox-icon.entry-1e448b4b.js} +1 -1
  46. package/dist/{inbox-icon.entry-ad864253.cjs → inbox-icon.entry-50605b1d.cjs} +1 -1
  47. package/dist/{index-cd93b584.js → index-594c8e7b.js} +3307 -2746
  48. package/dist/{index-94416062.cjs → index-cfb93df6.cjs} +31 -31
  49. package/dist/{index.es-ef72cd61-0860521c.cjs → index.es-2d849a15-2d84f7a5.cjs} +1 -1
  50. package/dist/{index.es-ef72cd61-3075f564.js → index.es-2d849a15-4eb8e180.js} +1 -1
  51. package/dist/{info-icon_2.entry-891619f7.js → info-icon_2.entry-65e0023f.js} +1 -1
  52. package/dist/{info-icon_2.entry-cfa2954a.cjs → info-icon_2.entry-e7b86847.cjs} +1 -1
  53. package/dist/{input-color-picker.entry-58c5f4d3.js → input-color-picker.entry-37d2fb66.js} +1 -1
  54. package/dist/{input-color-picker.entry-5c3e8407.cjs → input-color-picker.entry-aabfe638.cjs} +1 -1
  55. package/dist/{input-component.entry-f6f257b9.cjs → input-component.entry-51f6da14.cjs} +1 -1
  56. package/dist/{input-component.entry-a45cff7f.js → input-component.entry-c07d92b1.js} +1 -1
  57. package/dist/{input-dropdown_2.entry-85077fff.cjs → input-dropdown_2.entry-20fb0552.cjs} +1 -1
  58. package/dist/{input-dropdown_2.entry-0518caac.js → input-dropdown_2.entry-90c08f10.js} +1 -1
  59. package/dist/{italic-icon.entry-a9a0be67.js → italic-icon.entry-8e5599ff.js} +1 -1
  60. package/dist/{italic-icon.entry-7f971c72.cjs → italic-icon.entry-ee10a040.cjs} +1 -1
  61. package/dist/{multi-select-dropdown.entry-2c5b3f8d.cjs → multi-select-dropdown.entry-656d2791.cjs} +1 -1
  62. package/dist/{multi-select-dropdown.entry-0b7e26c0.js → multi-select-dropdown.entry-c143becc.js} +1 -1
  63. package/dist/{nylas-booked-event-card_12.entry-8eed168c.js → nylas-booked-event-card_12.entry-4974ffe6.js} +3 -3
  64. package/dist/{nylas-booked-event-card_12.entry-d416f896.cjs → nylas-booked-event-card_12.entry-669bb872.cjs} +1 -1
  65. package/dist/{nylas-form-card.entry-8842785d.js → nylas-form-card.entry-42e718e2.js} +2 -2
  66. package/dist/{nylas-form-card.entry-2c336c14.cjs → nylas-form-card.entry-55d3909c.cjs} +1 -1
  67. package/dist/{nylas-if-state.entry-e6c90919.cjs → nylas-if-state.entry-4de782b7.cjs} +1 -1
  68. package/dist/{nylas-if-state.entry-fdc20d01.js → nylas-if-state.entry-beef8af6.js} +2 -2
  69. package/dist/{nylas-login.entry-16f39c90.js → nylas-login.entry-1661cbd4.js} +2 -2
  70. package/dist/{nylas-login.entry-dcdc4d06.cjs → nylas-login.entry-d6b80abe.cjs} +1 -1
  71. package/dist/{nylas-provider.entry-d51de210.js → nylas-provider.entry-1f140378.js} +4 -4
  72. package/dist/{nylas-provider.entry-0cc093e4.cjs → nylas-provider.entry-d5495e1a.cjs} +1 -1
  73. package/dist/{nylas-scheduler-editor.entry-af211f07.cjs → nylas-scheduler-editor.entry-bebe4e7d.cjs} +2 -2
  74. package/dist/{nylas-scheduler-editor.entry-d0214565.js → nylas-scheduler-editor.entry-f184f72e.js} +15 -9
  75. package/dist/{nylas-scheduling.entry-ce1ef505.cjs → nylas-scheduling.entry-21c04831.cjs} +1 -1
  76. package/dist/{nylas-scheduling.entry-3d3a4eb4.js → nylas-scheduling.entry-c335ad21.js} +7 -7
  77. package/dist/{nylas-time-window-picker_2.entry-24672606.js → nylas-time-window-picker_2.entry-9e0dd470.js} +1 -1
  78. package/dist/{nylas-time-window-picker_2.entry-52a54abb.cjs → nylas-time-window-picker_2.entry-a2651ee7.cjs} +1 -1
  79. package/dist/{person-icon.entry-954d4c10.cjs → person-icon.entry-21946944.cjs} +1 -1
  80. package/dist/{person-icon.entry-dcdc2118.js → person-icon.entry-f9ca9147.js} +1 -1
  81. package/dist/{play-icon.entry-7e17d583.cjs → play-icon.entry-b27fcb18.cjs} +1 -1
  82. package/dist/{play-icon.entry-e727a1d6.js → play-icon.entry-dbfed5e8.js} +1 -1
  83. package/dist/react.cjs +1 -1
  84. package/dist/react.js +1 -1
  85. package/dist/{refresh-icon.entry-d5e50180.js → refresh-icon.entry-7886041f.js} +1 -1
  86. package/dist/{refresh-icon.entry-f735be78.cjs → refresh-icon.entry-9d94a60b.cjs} +1 -1
  87. package/dist/{register-component-a169494c-62768a00.js → register-component-677d8d2b-0113766e.js} +1 -1
  88. package/dist/{register-component-a169494c-3d95c4fd.cjs → register-component-677d8d2b-4738af1d.cjs} +1 -1
  89. package/dist/{reply-all-icon.entry-c847636d.cjs → reply-all-icon.entry-f0e0a5c4.cjs} +1 -1
  90. package/dist/{reply-all-icon.entry-848cd16f.js → reply-all-icon.entry-fdd0058e.js} +1 -1
  91. package/dist/{reply-icon.entry-028435a1.cjs → reply-icon.entry-0a42fb2c.cjs} +1 -1
  92. package/dist/{reply-icon.entry-9e3e5122.js → reply-icon.entry-a8d2b0f8.js} +1 -1
  93. package/dist/{scheduler-config-store-ed4a8dfd-622802c7.js → scheduler-config-store-ed4a8dfd-012dcf85.js} +1 -1
  94. package/dist/{scheduler-config-store-ed4a8dfd-0e3f540f.cjs → scheduler-config-store-ed4a8dfd-a16d5c62.cjs} +1 -1
  95. package/dist/{scheduler-store-8e74959b-ffa0b3c6.js → scheduler-store-92eb8804-bc68a43a.js} +2 -2
  96. package/dist/{scheduler-store-8e74959b-c8514d9a.cjs → scheduler-store-92eb8804-c3deee73.cjs} +1 -1
  97. package/dist/{sent-icon.entry-eef67c1a.cjs → sent-icon.entry-c3f84a59.cjs} +1 -1
  98. package/dist/{sent-icon.entry-f8fda6ff.js → sent-icon.entry-e047f087.js} +1 -1
  99. package/dist/{spam-icon.entry-ec4f3144.js → spam-icon.entry-55d01416.js} +1 -1
  100. package/dist/{spam-icon.entry-22437325.cjs → spam-icon.entry-671eb165.cjs} +1 -1
  101. package/dist/{star-icon.entry-f275321a.cjs → star-icon.entry-4dcae472.cjs} +1 -1
  102. package/dist/{star-icon.entry-d7cd7608.js → star-icon.entry-501083c1.js} +1 -1
  103. package/dist/{stop-icon.entry-55779283.js → stop-icon.entry-130a28b2.js} +1 -1
  104. package/dist/{stop-icon.entry-89c2bae7.cjs → stop-icon.entry-ed949255.cjs} +1 -1
  105. package/dist/{textarea-component.entry-5e8cb080.cjs → textarea-component.entry-65dd740a.cjs} +1 -1
  106. package/dist/{textarea-component.entry-02360e34.js → textarea-component.entry-efae9031.js} +1 -1
  107. package/dist/{translate-icon.entry-a7915e82.cjs → translate-icon.entry-2591baf8.cjs} +1 -1
  108. package/dist/{translate-icon.entry-b0b36e4c.js → translate-icon.entry-676a4150.js} +1 -1
  109. package/dist/{trash-fill-icon.entry-1fd28f47.js → trash-fill-icon.entry-5b373be7.js} +1 -1
  110. package/dist/{trash-fill-icon.entry-e933f219.cjs → trash-fill-icon.entry-c411d0e0.cjs} +1 -1
  111. package/dist/{underline-icon.entry-1636f401.js → underline-icon.entry-3513c5ef.js} +1 -1
  112. package/dist/{underline-icon.entry-8bf17177.cjs → underline-icon.entry-6bf14476.cjs} +1 -1
  113. package/dist/{warning-icon.entry-cef2e7c1.js → warning-icon.entry-6e723597.js} +1 -1
  114. package/dist/{warning-icon.entry-27c0cdd6.cjs → warning-icon.entry-719a094d.cjs} +1 -1
  115. package/package.json +2 -2
  116. package/dist/calendar-agenda-fill-icon_53.entry-affead77.cjs +0 -6
  117. package/dist/constants-91d76d21-0f7c85cc.cjs +0 -1
@@ -1,6 +1,6 @@
1
- import { r as v, h as s, c as w, d, D as ya, H as L, g as T, i as c, E as be, G as oe, I as it, J as st, t as Le, K as Qn, L as bt, M as ve, O as vt } from "./index-cd93b584.js";
2
- import { R as H } from "./register-component-a169494c-62768a00.js";
3
- import { D as _t, T as ot, F as lt, c as ga, E as de, P as on, C as ba } from "./constants-91d76d21-1638ead6.js";
1
+ import { r as v, h as s, c as k, d, D as ya, H as L, g as T, i as c, E as be, G as oe, I as it, J as st, t as Le, K as Qn, L as bt, M as ve, O as vt } from "./index-594c8e7b.js";
2
+ import { R as H } from "./register-component-677d8d2b-0113766e.js";
3
+ import { D as _t, T as ot, F as lt, c as ga, E as de, P as on, C as ba } from "./constants-f6e79ab7-24392f9e.js";
4
4
  import "react";
5
5
  import "react-dom";
6
6
  const va = ".sc-calendar-agenda-fill-icon-h{display:flex}", _a = va, Ca = class {
@@ -12,7 +12,7 @@ const va = ".sc-calendar-agenda-fill-icon-h{display:flex}", _a = va, Ca = class
12
12
  }
13
13
  };
14
14
  Ca.style = _a;
15
- const xa = ".sc-calendar-agenda-icon-h{display:flex}", ka = xa, wa = class {
15
+ const xa = ".sc-calendar-agenda-icon-h{display:flex}", wa = xa, ka = class {
16
16
  constructor(e) {
17
17
  v(this, e), this.width = "20", this.height = "20";
18
18
  }
@@ -20,7 +20,7 @@ const xa = ".sc-calendar-agenda-icon-h{display:flex}", ka = xa, wa = class {
20
20
  return s("svg", { key: "dcac7276b7c9e4b7a5108a67285490b47c6a59fc", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, s("path", { key: "c56290ee37ededb1135f507bd4c53b703592dcac", 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" }));
21
21
  }
22
22
  };
23
- wa.style = ka;
23
+ ka.style = wa;
24
24
  const Ea = ".sc-calendar-info-icon-h{display:flex}", La = Ea, Ta = class {
25
25
  constructor(e) {
26
26
  v(this, e), this.width = "20", this.height = "20";
@@ -126,7 +126,7 @@ var ai = function(e, n, t, a) {
126
126
  };
127
127
  const Ct = class {
128
128
  constructor(e) {
129
- v(this, e), this.nylasFormInputImageUrlInvalid = w(this, "nylasFormInputImageUrlInvalid", 7), this.valueChanged = w(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
+ v(this, e), this.nylasFormInputImageUrlInvalid = k(this, "nylasFormInputImageUrlInvalid", 7), this.valueChanged = k(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");
@@ -242,7 +242,7 @@ var hi = function(e, n, t, a) {
242
242
  };
243
243
  const xt = class {
244
244
  constructor(e) {
245
- v(this, e), this.valueChanged = w(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.selectedLanguage = void 0, this.participants = this.eventParticipants ?? [], this.participantErrors = {}, this.includeOrganizerAsParticipant = !0, this.isRoundRobinConfig = !1, this.error = "";
245
+ v(this, e), this.valueChanged = k(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.selectedLanguage = void 0, this.participants = this.eventParticipants ?? [], this.participantErrors = {}, this.includeOrganizerAsParticipant = !0, this.isRoundRobinConfig = !1, this.error = "";
246
246
  }
247
247
  elementNameChangedHandler(e) {
248
248
  d("nylas-additional-participants", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
@@ -381,9 +381,9 @@ var bi = function(e, n, t, a) {
381
381
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
382
382
  return Reflect.metadata(e, n);
383
383
  };
384
- const kt = class {
384
+ const wt = class {
385
385
  constructor(e) {
386
- v(this, e), this.valueChanged = w(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.selectedLanguage = void 0, this.schedule = {
386
+ v(this, e), this.valueChanged = k(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.selectedLanguage = void 0, this.schedule = {
387
387
  SUN: [],
388
388
  MON: [{ start: "09:00am", end: "05:00pm" }],
389
389
  TUE: [{ start: "09:00am", end: "05:00pm" }],
@@ -615,8 +615,8 @@ bi([
615
615
  dn("design:type", Function),
616
616
  dn("design:paramtypes", []),
617
617
  dn("design:returntype", void 0)
618
- ], kt.prototype, "render", null);
619
- kt.style = gi;
618
+ ], wt.prototype, "render", null);
619
+ wt.style = gi;
620
620
  const vi = ':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-booking-calendar-picker{width:inherit;display:flex;flex-direction:column;margin:1rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200)}.nylas-booking-calendar-picker .header{padding:1rem;border-bottom:1px solid var(--nylas-base-200)}.nylas-booking-calendar-picker .header h3{margin:0;font-size:16px;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-booking-calendar-picker .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-booking-calendar-picker .nylas-booking-calendar-picker__loading{padding-bottom:1rem;display:flex;flex-direction:column;gap:4px}.nylas-booking-calendar-picker .nylas-booking-calendar-picker__loading .label{display:flex;align-items:center;gap:0.5rem;margin:1rem 1rem 0;color:var(--nylas-base-800)}.nylas-booking-calendar-picker .nylas-booking-calendar-picker__loading .loading-button{margin:0 1rem;padding:0;width:inherit;height:48px;color:black;font-size:16px;cursor:not-allowed;display:flex;gap:0.5rem;justify-content:space-between;align-items:center;background:transparent;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x)}.nylas-booking-calendar-picker .nylas-booking-calendar-picker__loading .loading-button span{padding:0 1rem}.nylas-booking-calendar-picker .nylas-booking-calendar-picker__dropdown{padding:1rem;display:flex;flex-direction:column;gap:4px}.nylas-booking-calendar-picker .nylas-booking-calendar-picker__dropdown span.label{display:flex;align-items:center;gap:4px;color:var(--nylas-base-800)}.nylas-booking-calendar-picker .nylas-booking-calendar-picker__dropdown span.label tooltip-component{display:flex}.nylas-booking-calendar-picker .nylas-booking-calendar-picker__dropdown select-dropdown::part(sd_dropdown){width:100%}.nylas-booking-calendar-picker .nylas-booking-calendar-picker__dropdown select-dropdown::part(sd_dropdown-content){width:100%;max-width:unset}.nylas-booking-calendar-picker .nylas-booking-calendar-picker__dropdown select-dropdown::part(sd_dropdown-button){width:100%;display:flex;justify-content:space-between;align-items:center;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x)}.nylas-booking-calendar-picker .nylas-booking-calendar-picker__dropdown select-dropdown::part(sd_dropdown-button-selected-label){max-width:calc(100% - 2rem);font-family:var(--nylas-font-family);font-size:16px;line-height:24px}', _i = vi;
621
621
  var Ci = function(e, n, t, a) {
622
622
  var o = arguments.length, i = o < 3 ? n : a === null ? a = Object.getOwnPropertyDescriptor(n, t) : a, l;
@@ -630,9 +630,9 @@ var Ci = function(e, n, t, a) {
630
630
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
631
631
  return Reflect.metadata(e, n);
632
632
  };
633
- const wt = class {
633
+ const kt = class {
634
634
  constructor(e) {
635
- v(this, e), this.valueChanged = w(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.selectedLanguage = void 0, this.selectedCalendar = "";
635
+ v(this, e), this.valueChanged = k(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.selectedLanguage = void 0, this.selectedCalendar = "";
636
636
  }
637
637
  connectedCallback() {
638
638
  d("nylas-booking-calendar-picker", "connectedCallback");
@@ -725,10 +725,10 @@ Ci([
725
725
  cn("design:type", Function),
726
726
  cn("design:paramtypes", []),
727
727
  cn("design:returntype", void 0)
728
- ], wt.prototype, "render", null);
729
- wt.style = _i;
730
- const xi = ':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-booking-confirmation-redirect{width:inherit;display:flex;flex-direction:column}.nylas-booking-confirmation-redirect .nylas-booking-confirmation-redirect__dropdown span.label{display:flex;align-items:center;gap:4px;margin-bottom:4px;color:var(--nylas-base-800)}.nylas-booking-confirmation-redirect .nylas-booking-confirmation-redirect__dropdown span.label tooltip-component{display:flex}.nylas-booking-confirmation-redirect .nylas-booking-confirmation-redirect__dropdown select-dropdown::part(sd_dropdown){width:100%}.nylas-booking-confirmation-redirect .nylas-booking-confirmation-redirect__dropdown select-dropdown::part(sd_dropdown-button){width:100%;display:flex;justify-content:space-between;align-items:center;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);padding:1rem}.nylas-booking-confirmation-redirect .nylas-booking-confirmation-redirect__dropdown select-dropdown::part(sd_dropdown-content){width:100%;max-width:unset}.nylas-booking-confirmation-redirect .nylas-booking-confirmation-redirect__dropdown select-dropdown::part(sd_dropdown-button-selected-label){max-width:calc(100% - 2rem);font-family:var(--nylas-font-family);font-size:16px;line-height:24px}.nylas-booking-confirmation-redirect .nylas-booking-confirmation-redirect__dropdown input-component::part(ic__input_wrapper){margin-top:1rem}.nylas-booking-confirmation-redirect .nylas-booking-confirmation-redirect__dropdown span.error-message{color:var(--nylas-error)}', ki = xi;
731
- var wi = function(e, n, t, a) {
728
+ ], kt.prototype, "render", null);
729
+ kt.style = _i;
730
+ const xi = ':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-booking-confirmation-redirect{width:inherit;display:flex;flex-direction:column}.nylas-booking-confirmation-redirect .nylas-booking-confirmation-redirect__dropdown span.label{display:flex;align-items:center;gap:4px;margin-bottom:4px;color:var(--nylas-base-800)}.nylas-booking-confirmation-redirect .nylas-booking-confirmation-redirect__dropdown span.label tooltip-component{display:flex}.nylas-booking-confirmation-redirect .nylas-booking-confirmation-redirect__dropdown select-dropdown::part(sd_dropdown){width:100%}.nylas-booking-confirmation-redirect .nylas-booking-confirmation-redirect__dropdown select-dropdown::part(sd_dropdown-button){width:100%;display:flex;justify-content:space-between;align-items:center;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);padding:1rem}.nylas-booking-confirmation-redirect .nylas-booking-confirmation-redirect__dropdown select-dropdown::part(sd_dropdown-content){width:100%;max-width:unset}.nylas-booking-confirmation-redirect .nylas-booking-confirmation-redirect__dropdown select-dropdown::part(sd_dropdown-button-selected-label){max-width:calc(100% - 2rem);font-family:var(--nylas-font-family);font-size:16px;line-height:24px}.nylas-booking-confirmation-redirect .nylas-booking-confirmation-redirect__dropdown input-component::part(ic__input_wrapper){margin-top:1rem}.nylas-booking-confirmation-redirect .nylas-booking-confirmation-redirect__dropdown span.error-message{color:var(--nylas-error)}', wi = xi;
731
+ var ki = function(e, n, t, a) {
732
732
  var o = arguments.length, i = o < 3 ? n : a === null ? a = Object.getOwnPropertyDescriptor(n, t) : a, l;
733
733
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
734
734
  i = Reflect.decorate(e, n, t, a);
@@ -742,7 +742,7 @@ var wi = function(e, n, t, a) {
742
742
  };
743
743
  const Et = class {
744
744
  constructor(e) {
745
- v(this, e), this.valueChanged = w(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.selectedLanguage = void 0, this.currentRedirectUrl = "", this.acceptUrl = void 0, this.componentLoaded = !1;
745
+ v(this, e), this.valueChanged = k(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.selectedLanguage = void 0, this.currentRedirectUrl = "", this.acceptUrl = void 0, this.componentLoaded = !1;
746
746
  }
747
747
  elementNameChangedHandler(e) {
748
748
  d("nylas-booking-confirmation-redirect", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
@@ -828,7 +828,7 @@ const Et = class {
828
828
  };
829
829
  }
830
830
  };
831
- wi([
831
+ ki([
832
832
  H({
833
833
  name: "nylas-booking-confirmation-redirect",
834
834
  stateToProps: /* @__PURE__ */ new Map([
@@ -847,7 +847,7 @@ wi([
847
847
  pn("design:paramtypes", []),
848
848
  pn("design:returntype", void 0)
849
849
  ], Et.prototype, "render", null);
850
- Et.style = ki;
850
+ Et.style = wi;
851
851
  const Ei = ':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-booking-confirmation-type{width:inherit;display:flex;flex-direction:column;margin-bottom:1rem}.nylas-booking-confirmation-type .nylas-booking-confirmation-type__dropdown span.label{display:flex;align-items:center;gap:4px;color:var(--nylas-base-800)}.nylas-booking-confirmation-type .nylas-booking-confirmation-type__dropdown span.label tooltip-component{display:flex}.nylas-booking-confirmation-type .nylas-booking-confirmation-type__dropdown select-dropdown::part(sd_dropdown){width:100%}.nylas-booking-confirmation-type .nylas-booking-confirmation-type__dropdown select-dropdown::part(sd_dropdown-button){width:100%;display:flex;justify-content:space-between;align-items:center;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);padding:1rem}.nylas-booking-confirmation-type .nylas-booking-confirmation-type__dropdown select-dropdown::part(sd_dropdown-content){width:100%;max-width:unset}.nylas-booking-confirmation-type .nylas-booking-confirmation-type__dropdown select-dropdown::part(sd_dropdown-button-selected-label){max-width:calc(100% - 2rem);font-family:var(--nylas-font-family);font-size:16px;line-height:24px}', Li = Ei;
852
852
  var Ti = function(e, n, t, a) {
853
853
  var o = arguments.length, i = o < 3 ? n : a === null ? a = Object.getOwnPropertyDescriptor(n, t) : a, l;
@@ -864,7 +864,7 @@ var Ti = function(e, n, t, a) {
864
864
  const Lt = class {
865
865
  constructor(e) {
866
866
  var n, t;
867
- v(this, e), this.valueChanged = w(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.selectedLanguage = void 0, this.selectedBookingType = void 0, this.showDropdown = void 0;
867
+ v(this, e), this.valueChanged = k(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.selectedLanguage = void 0, this.selectedBookingType = void 0, this.showDropdown = void 0;
868
868
  }
869
869
  elementNameChangedHandler(e) {
870
870
  d("nylas-booking-confirmation-type", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
@@ -1091,7 +1091,7 @@ function C(e, n, t) {
1091
1091
  !(n in a) && n.indexOf("webkit") === -1 && (n = "-webkit-" + n), a[n] = t + (typeof t == "string" ? "" : "px");
1092
1092
  }
1093
1093
  }
1094
- function we(e, n) {
1094
+ function ke(e, n) {
1095
1095
  var t = "";
1096
1096
  if (typeof e == "string")
1097
1097
  t = e;
@@ -1129,7 +1129,7 @@ function N(e, n, t, a, o) {
1129
1129
  }
1130
1130
  while (o = o.parentNode);
1131
1131
  if (a && e !== window) {
1132
- var b = we(o || e), g = b && b.a, _ = b && b.d;
1132
+ var b = ke(o || e), g = b && b.a, _ = b && b.d;
1133
1133
  b && (l /= _, r /= g, u /= g, m /= _, p = l + m, f = r + u);
1134
1134
  }
1135
1135
  return {
@@ -1181,7 +1181,7 @@ function ft(e) {
1181
1181
  var n = 0, t = 0, a = V();
1182
1182
  if (e)
1183
1183
  do {
1184
- var o = we(e), i = o.a, l = o.d;
1184
+ var o = ke(e), i = o.a, l = o.d;
1185
1185
  n += e.scrollLeft * i, t += e.scrollTop * l;
1186
1186
  } while (e !== a && (e = e.parentNode));
1187
1187
  return [n, t];
@@ -1268,7 +1268,7 @@ function Ni() {
1268
1268
  });
1269
1269
  var i = Q({}, e[e.length - 1].rect);
1270
1270
  if (o.thisAnimationDuration) {
1271
- var l = we(o, !0);
1271
+ var l = ke(o, !0);
1272
1272
  l && (i.top -= l.f, i.left -= l.e);
1273
1273
  }
1274
1274
  o.fromRect = i;
@@ -1292,7 +1292,7 @@ function Ni() {
1292
1292
  }
1293
1293
  var i = !1, l = 0;
1294
1294
  e.forEach(function(r) {
1295
- var p = 0, f = r.target, m = f.fromRect, u = N(f), h = f.prevFromRect, b = f.prevToRect, g = r.rect, _ = we(f, !0);
1295
+ var p = 0, f = r.target, m = f.fromRect, u = N(f), h = f.prevFromRect, b = f.prevToRect, g = r.rect, _ = ke(f, !0);
1296
1296
  _ && (u.top -= _.f, u.left -= _.e), f.toRect = u, f.thisAnimationDuration && un(h, u) && !un(m, u) && // Make sure animatingRect is on line between toRect & fromRect
1297
1297
  (g.top - u.top) / (g.left - u.left) === (m.top - u.top) / (m.left - u.left) && (p = Ai(g, h, b, o.options)), un(u, m) || (f.prevFromRect = m, f.prevToRect = u, p || (p = o.options.animation), o.animate(f, g, u, p)), p && (i = !0, l = Math.max(l, p), clearTimeout(f.animationResetTimer), f.animationResetTimer = setTimeout(function() {
1298
1298
  f.animationTime = 0, f.prevFromRect = null, f.fromRect = null, f.prevToRect = null, f.thisAnimationDuration = null;
@@ -1304,7 +1304,7 @@ function Ni() {
1304
1304
  animate: function(a, o, i, l) {
1305
1305
  if (l) {
1306
1306
  C(a, "transition", ""), C(a, "transform", "");
1307
- var r = we(this.el), p = r && r.a, f = r && r.d, m = (o.left - i.left) / (p || 1), u = (o.top - i.top) / (f || 1);
1307
+ var r = ke(this.el), p = r && r.a, f = r && r.d, m = (o.left - i.left) / (p || 1), u = (o.top - i.top) / (f || 1);
1308
1308
  a.animatingX = !!m, a.animatingY = !!u, C(a, "transform", "translate3d(" + m + "px," + u + "px,0)"), this.forRepaintDummy = Ri(a), C(a, "transition", "transform " + l + "ms" + (this.options.easing ? " " + this.options.easing : "")), C(a, "transform", "translate3d(0,0,0)"), typeof a.animated == "number" && clearTimeout(a.animated), a.animated = setTimeout(function() {
1309
1309
  C(a, "transition", ""), C(a, "transform", ""), a.animated = !1, a.animatingX = !1, a.animatingY = !1;
1310
1310
  }, l);
@@ -1389,7 +1389,7 @@ var zi = ["evt"], B = function(n, t) {
1389
1389
  Be.pluginEvent.bind(x)(n, t, Q({
1390
1390
  dragEl: y,
1391
1391
  parentEl: F,
1392
- ghostEl: k,
1392
+ ghostEl: w,
1393
1393
  rootEl: D,
1394
1394
  nextEl: ge,
1395
1395
  lastDownEl: Xe,
@@ -1399,7 +1399,7 @@ var zi = ["evt"], B = function(n, t) {
1399
1399
  putSortable: A,
1400
1400
  activeSortable: x.active,
1401
1401
  originalEvent: o,
1402
- oldIndex: ke,
1402
+ oldIndex: we,
1403
1403
  oldDraggableIndex: Re,
1404
1404
  newIndex: Z,
1405
1405
  newDraggableIndex: le,
@@ -1426,13 +1426,13 @@ function z(e) {
1426
1426
  cloneEl: I,
1427
1427
  targetEl: y,
1428
1428
  rootEl: D,
1429
- oldIndex: ke,
1429
+ oldIndex: we,
1430
1430
  oldDraggableIndex: Re,
1431
1431
  newIndex: Z,
1432
1432
  newDraggableIndex: le
1433
1433
  }, e));
1434
1434
  }
1435
- var y, F, k, D, ge, Xe, I, re, ke, Z, Re, le, We, A, xe = !1, en = !1, nn = [], me, X, hn, yn, ut, mt, Ie, Ce, Ae, Me = !1, Ue = !1, Ye, M, gn = [], Xn = !1, tn = [], sn = typeof document < "u", Ze = Tt, ht = ze || ae ? "cssFloat" : "float", Bi = sn && !Ht && !Tt && "draggable" in document.createElement("div"), Pt = function() {
1435
+ var y, F, w, D, ge, Xe, I, re, we, Z, Re, le, We, A, xe = !1, en = !1, nn = [], me, X, hn, yn, ut, mt, Ie, Ce, Ae, Me = !1, Ue = !1, Ye, M, gn = [], Xn = !1, tn = [], sn = typeof document < "u", Ze = Tt, ht = ze || ae ? "cssFloat" : "float", Bi = sn && !Ht && !Tt && "draggable" in document.createElement("div"), Pt = function() {
1436
1436
  if (sn) {
1437
1437
  if (ae)
1438
1438
  return !1;
@@ -1484,9 +1484,9 @@ var y, F, k, D, ge, Xe, I, re, ke, Z, Re, le, We, A, xe = !1, en = !1, nn = [],
1484
1484
  name: o
1485
1485
  }), a.name = o.name, a.checkPull = t(o.pull, !0), a.checkPut = t(o.put), a.revertClone = o.revertClone, n.group = a;
1486
1486
  }, At = function() {
1487
- !Pt && k && C(k, "display", "none");
1487
+ !Pt && w && C(w, "display", "none");
1488
1488
  }, Mt = function() {
1489
- !Pt && k && C(k, "display", "");
1489
+ !Pt && w && C(w, "display", "");
1490
1490
  };
1491
1491
  sn && !Ht && document.addEventListener("click", function(e) {
1492
1492
  if (en)
@@ -1576,7 +1576,7 @@ x.prototype = /** @lends Sortable.prototype */
1576
1576
  if (n.cancelable) {
1577
1577
  var t = this, a = this.el, o = this.options, i = o.preventOnFilter, l = n.type, r = n.touches && n.touches[0] || n.pointerType && n.pointerType === "touch" && n, p = (r || n).target, f = n.target.shadowRoot && (n.path && n.path[0] || n.composedPath && n.composedPath()[0]) || p, m = o.filter;
1578
1578
  if (Vi(a), !y && !(/mousedown|pointerdown/.test(l) && n.button !== 0 || o.disabled) && !f.isContentEditable && !(!this.nativeDraggable && Pe && p && p.tagName.toUpperCase() === "SELECT") && (p = Y(p, o.draggable, a, !1), !(p && p.animated) && Xe !== p)) {
1579
- if (ke = J(p), Re = J(p, o.draggable), typeof m == "function") {
1579
+ if (we = J(p), Re = J(p, o.draggable), typeof m == "function") {
1580
1580
  if (m.call(this, n, p, this)) {
1581
1581
  z({
1582
1582
  sortable: t,
@@ -1702,13 +1702,13 @@ x.prototype = /** @lends Sortable.prototype */
1702
1702
  },
1703
1703
  _onTouchMove: function(n) {
1704
1704
  if (me) {
1705
- var t = this.options, a = t.fallbackTolerance, o = t.fallbackOffset, i = n.touches ? n.touches[0] : n, l = k && we(k, !0), r = k && l && l.a, p = k && l && l.d, f = Ze && M && ft(M), m = (i.clientX - me.clientX + o.x) / (r || 1) + (f ? f[0] - gn[0] : 0) / (r || 1), u = (i.clientY - me.clientY + o.y) / (p || 1) + (f ? f[1] - gn[1] : 0) / (p || 1);
1705
+ var t = this.options, a = t.fallbackTolerance, o = t.fallbackOffset, i = n.touches ? n.touches[0] : n, l = w && ke(w, !0), r = w && l && l.a, p = w && l && l.d, f = Ze && M && ft(M), m = (i.clientX - me.clientX + o.x) / (r || 1) + (f ? f[0] - gn[0] : 0) / (r || 1), u = (i.clientY - me.clientY + o.y) / (p || 1) + (f ? f[1] - gn[1] : 0) / (p || 1);
1706
1706
  if (!x.active && !xe) {
1707
1707
  if (a && Math.max(Math.abs(i.clientX - this._lastX), Math.abs(i.clientY - this._lastY)) < a)
1708
1708
  return;
1709
1709
  this._onDragStart(n, !0);
1710
1710
  }
1711
- if (k) {
1711
+ if (w) {
1712
1712
  l ? (l.e += m - (hn || 0), l.f += u - (yn || 0)) : l = {
1713
1713
  a: 1,
1714
1714
  b: 0,
@@ -1718,20 +1718,20 @@ x.prototype = /** @lends Sortable.prototype */
1718
1718
  f: u
1719
1719
  };
1720
1720
  var h = "matrix(".concat(l.a, ",").concat(l.b, ",").concat(l.c, ",").concat(l.d, ",").concat(l.e, ",").concat(l.f, ")");
1721
- C(k, "webkitTransform", h), C(k, "mozTransform", h), C(k, "msTransform", h), C(k, "transform", h), hn = m, yn = u, X = i;
1721
+ C(w, "webkitTransform", h), C(w, "mozTransform", h), C(w, "msTransform", h), C(w, "transform", h), hn = m, yn = u, X = i;
1722
1722
  }
1723
1723
  n.cancelable && n.preventDefault();
1724
1724
  }
1725
1725
  },
1726
1726
  _appendGhost: function() {
1727
- if (!k) {
1727
+ if (!w) {
1728
1728
  var n = this.options.fallbackOnBody ? document.body : D, t = N(y, !0, Ze, !0, n), a = this.options;
1729
1729
  if (Ze) {
1730
1730
  for (M = n; C(M, "position") === "static" && C(M, "transform") === "none" && M !== document; )
1731
1731
  M = M.parentNode;
1732
1732
  M !== document.body && M !== document.documentElement ? (M === document && (M = V()), t.top += M.scrollTop, t.left += M.scrollLeft) : M = V(), gn = ft(M);
1733
1733
  }
1734
- k = y.cloneNode(!0), U(k, a.ghostClass, !1), U(k, a.fallbackClass, !0), U(k, a.dragClass, !0), C(k, "transition", ""), C(k, "transform", ""), C(k, "box-sizing", "border-box"), C(k, "margin", 0), C(k, "top", t.top), C(k, "left", t.left), C(k, "width", t.width), C(k, "height", t.height), C(k, "opacity", "0.8"), C(k, "position", Ze ? "absolute" : "fixed"), C(k, "zIndex", "100000"), C(k, "pointerEvents", "none"), x.ghost = k, n.appendChild(k), C(k, "transform-origin", ut / parseInt(k.style.width) * 100 + "% " + mt / parseInt(k.style.height) * 100 + "%");
1734
+ w = y.cloneNode(!0), U(w, a.ghostClass, !1), U(w, a.fallbackClass, !0), U(w, a.dragClass, !0), C(w, "transition", ""), C(w, "transform", ""), C(w, "box-sizing", "border-box"), C(w, "margin", 0), C(w, "top", t.top), C(w, "left", t.left), C(w, "width", t.width), C(w, "height", t.height), C(w, "opacity", "0.8"), C(w, "position", Ze ? "absolute" : "fixed"), C(w, "zIndex", "100000"), C(w, "pointerEvents", "none"), x.ghost = w, n.appendChild(w), C(w, "transform-origin", ut / parseInt(w.style.width) * 100 + "% " + mt / parseInt(w.style.height) * 100 + "%");
1735
1735
  }
1736
1736
  },
1737
1737
  _onDragStart: function(n, t) {
@@ -1822,7 +1822,7 @@ x.prototype = /** @lends Sortable.prototype */
1822
1822
  var ue = J(y);
1823
1823
  do
1824
1824
  ue -= K, ee = F.children[ue];
1825
- while (ee && (C(ee, "display") === "none" || ee === k));
1825
+ while (ee && (C(ee, "display") === "none" || ee === w));
1826
1826
  }
1827
1827
  if (K === 0 || ee === a)
1828
1828
  return R(!1);
@@ -1854,7 +1854,7 @@ x.prototype = /** @lends Sortable.prototype */
1854
1854
  this._nulling();
1855
1855
  return;
1856
1856
  }
1857
- xe = !1, Ue = !1, Me = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Yn(this.cloneId), Yn(this._dragStartId), this.nativeDraggable && (E(document, "drop", this), E(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Pe && C(document.body, "user-select", ""), C(y, "transform", ""), n && (Ie && (n.cancelable && n.preventDefault(), !a.dropBubble && n.stopPropagation()), k && k.parentNode && k.parentNode.removeChild(k), (D === F || A && A.lastPutMode !== "clone") && I && I.parentNode && I.parentNode.removeChild(I), y && (this.nativeDraggable && E(y, "dragend", this), bn(y), y.style["will-change"] = "", Ie && !xe && U(y, A ? A.options.ghostClass : this.options.ghostClass, !1), U(y, this.options.chosenClass, !1), z({
1857
+ xe = !1, Ue = !1, Me = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Yn(this.cloneId), Yn(this._dragStartId), this.nativeDraggable && (E(document, "drop", this), E(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Pe && C(document.body, "user-select", ""), C(y, "transform", ""), n && (Ie && (n.cancelable && n.preventDefault(), !a.dropBubble && n.stopPropagation()), w && w.parentNode && w.parentNode.removeChild(w), (D === F || A && A.lastPutMode !== "clone") && I && I.parentNode && I.parentNode.removeChild(I), y && (this.nativeDraggable && E(y, "dragend", this), bn(y), y.style["will-change"] = "", Ie && !xe && U(y, A ? A.options.ghostClass : this.options.ghostClass, !1), U(y, this.options.chosenClass, !1), z({
1858
1858
  sortable: this,
1859
1859
  name: "unchoose",
1860
1860
  toEl: F,
@@ -1883,7 +1883,7 @@ x.prototype = /** @lends Sortable.prototype */
1883
1883
  name: "sort",
1884
1884
  toEl: F,
1885
1885
  originalEvent: n
1886
- })), A && A.save()) : Z !== ke && Z >= 0 && (z({
1886
+ })), A && A.save()) : Z !== we && Z >= 0 && (z({
1887
1887
  sortable: this,
1888
1888
  name: "update",
1889
1889
  toEl: F,
@@ -1893,7 +1893,7 @@ x.prototype = /** @lends Sortable.prototype */
1893
1893
  name: "sort",
1894
1894
  toEl: F,
1895
1895
  originalEvent: n
1896
- })), x.active && ((Z == null || Z === -1) && (Z = ke, le = Re), z({
1896
+ })), x.active && ((Z == null || Z === -1) && (Z = we, le = Re), z({
1897
1897
  sortable: this,
1898
1898
  name: "end",
1899
1899
  toEl: F,
@@ -1901,7 +1901,7 @@ x.prototype = /** @lends Sortable.prototype */
1901
1901
  }), this.save()))), this._nulling();
1902
1902
  },
1903
1903
  _nulling: function() {
1904
- B("nulling", this), D = y = F = k = ge = I = Xe = re = me = X = Ie = Z = le = ke = Re = Ce = Ae = A = We = x.dragged = x.ghost = x.clone = x.active = null, tn.forEach(function(n) {
1904
+ B("nulling", this), D = y = F = w = ge = I = Xe = re = me = X = Ie = Z = le = we = Re = Ce = Ae = A = We = x.dragged = x.ghost = x.clone = x.active = null, tn.forEach(function(n) {
1905
1905
  n.checked = !0;
1906
1906
  }), tn.length = hn = yn = 0;
1907
1907
  },
@@ -2017,11 +2017,11 @@ function qi() {
2017
2017
  Xn = !1;
2018
2018
  }
2019
2019
  function Ji(e, n, t) {
2020
- var a = N(Ee(t.el, 0, t.options, !0)), o = Ft(t.el, t.options, k), i = 10;
2020
+ var a = N(Ee(t.el, 0, t.options, !0)), o = Ft(t.el, t.options, w), i = 10;
2021
2021
  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;
2022
2022
  }
2023
2023
  function Gi(e, n, t) {
2024
- var a = N(et(t.el, t.options.draggable)), o = Ft(t.el, t.options, k), i = 10;
2024
+ var a = N(et(t.el, t.options.draggable)), o = Ft(t.el, t.options, w), i = 10;
2025
2025
  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;
2026
2026
  }
2027
2027
  function Xi(e, n, t, a, o, i, l, r) {
@@ -2260,7 +2260,7 @@ const gt = [
2260
2260
  }
2261
2261
  ], Bt = class {
2262
2262
  constructor(e) {
2263
- v(this, e), this.valueChanged = w(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 = "additional-fields", this.additionalFields = void 0, this.selectedLanguage = void 0, this.formFields = void 0, this.watchFields = void 0;
2263
+ v(this, e), this.valueChanged = k(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 = "additional-fields", this.additionalFields = void 0, this.selectedLanguage = void 0, this.formFields = void 0, this.watchFields = void 0;
2264
2264
  }
2265
2265
  elementNameChangedHandler(e) {
2266
2266
  d("nylas-calendar-picker", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
@@ -2485,14 +2485,14 @@ var ss = function(e, n, t, a) {
2485
2485
  for (var r = e.length - 1; r >= 0; r--)
2486
2486
  (l = e[r]) && (i = (o < 3 ? l(i) : o > 3 ? l(n, t, i) : l(n, t)) || i);
2487
2487
  return o > 3 && i && Object.defineProperty(n, t, i), i;
2488
- }, kn = function(e, n) {
2488
+ }, wn = function(e, n) {
2489
2489
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
2490
2490
  return Reflect.metadata(e, n);
2491
2491
  };
2492
2492
  const jt = class {
2493
2493
  constructor(e) {
2494
2494
  var n, t, a;
2495
- v(this, e), this.valueChanged = w(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.selectedLanguage = void 0, this.selectedBeforeBufferTime = this.buffer.before, this.selectedAfterBufferTime = this.buffer.after, this.componentLoaded = !1;
2495
+ v(this, e), this.valueChanged = k(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.selectedLanguage = void 0, this.selectedBeforeBufferTime = this.buffer.before, this.selectedAfterBufferTime = this.buffer.after, this.componentLoaded = !1;
2496
2496
  }
2497
2497
  connectedCallback() {
2498
2498
  d("nylas-buffer-time", "connectedCallback");
@@ -2617,9 +2617,9 @@ ss([
2617
2617
  },
2618
2618
  fireRegisterEvent: !0
2619
2619
  }),
2620
- kn("design:type", Function),
2621
- kn("design:paramtypes", []),
2622
- kn("design:returntype", void 0)
2620
+ wn("design:type", Function),
2621
+ wn("design:paramtypes", []),
2622
+ wn("design:returntype", void 0)
2623
2623
  ], jt.prototype, "render", null);
2624
2624
  jt.style = is;
2625
2625
  const os = ':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-calendar-picker{width:inherit;display:flex;flex-direction:column;margin:1rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200)}.nylas-calendar-picker .nylas-calendar-picker__loading{padding-bottom:1rem;display:flex;flex-direction:column;gap:4px}.nylas-calendar-picker .nylas-calendar-picker__loading .label{display:flex;align-items:center;gap:0.5rem;margin:1rem 1rem 0;color:var(--nylas-base-800)}.nylas-calendar-picker .nylas-calendar-picker__loading .label tooltip-component{display:flex}.nylas-calendar-picker .nylas-calendar-picker__loading .loading-button{margin:0 1rem;padding:0;width:inherit;height:48px;color:black;font-size:16px;cursor:not-allowed;display:flex;gap:0.5rem;justify-content:space-between;align-items:center;background:transparent;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x)}.nylas-calendar-picker .nylas-calendar-picker__loading .loading-button span{padding:0 1rem}.nylas-calendar-picker .nylas-calendar-picker__dropdown{padding:1rem}.nylas-calendar-picker .nylas-calendar-picker__dropdown multi-select-dropdown::part(msd_dropdown){width:100%;display:flex;flex-direction:column;gap:4px}.nylas-calendar-picker .nylas-calendar-picker__dropdown multi-select-dropdown::part(msd_dropdown-button){width:100%;display:flex;justify-content:space-between;align-items:center;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);padding:1rem}.nylas-calendar-picker .nylas-calendar-picker__dropdown multi-select-dropdown::part(msd_dropdown-button--error){border:1px solid var(--nylas-error)}.nylas-calendar-picker .nylas-calendar-picker__dropdown multi-select-dropdown::part(msd_dropdown-content){width:100%;max-width:unset}.nylas-calendar-picker .nylas-calendar-picker__dropdown multi-select-dropdown::part(msd_dropdown-button-selected-label){max-width:calc(100% - 2rem);font-family:var(--nylas-font-family);font-size:16px;line-height:24px}', ls = os;
@@ -2631,13 +2631,13 @@ var rs = function(e, n, t, a) {
2631
2631
  for (var r = e.length - 1; r >= 0; r--)
2632
2632
  (l = e[r]) && (i = (o < 3 ? l(i) : o > 3 ? l(n, t, i) : l(n, t)) || i);
2633
2633
  return o > 3 && i && Object.defineProperty(n, t, i), i;
2634
- }, wn = function(e, n) {
2634
+ }, kn = function(e, n) {
2635
2635
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
2636
2636
  return Reflect.metadata(e, n);
2637
2637
  };
2638
2638
  const Wt = class {
2639
2639
  constructor(e) {
2640
- v(this, e), this.valueChanged = w(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.selectedLanguage = void 0, this.selectedCalendars = [], this.error = "";
2640
+ v(this, e), this.valueChanged = k(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.selectedLanguage = void 0, this.selectedCalendars = [], this.error = "";
2641
2641
  }
2642
2642
  elementNameChangedHandler(e) {
2643
2643
  d("nylas-calendar-picker", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
@@ -2717,9 +2717,9 @@ rs([
2717
2717
  },
2718
2718
  fireRegisterEvent: !0
2719
2719
  }),
2720
- wn("design:type", Function),
2721
- wn("design:paramtypes", []),
2722
- wn("design:returntype", void 0)
2720
+ kn("design:type", Function),
2721
+ kn("design:paramtypes", []),
2722
+ kn("design:returntype", void 0)
2723
2723
  ], Wt.prototype, "render", null);
2724
2724
  Wt.style = ls;
2725
2725
  const ds = ':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}', cs = ds;
@@ -2737,7 +2737,7 @@ var ps = function(e, n, t, a) {
2737
2737
  };
2738
2738
  const Ut = class {
2739
2739
  constructor(e) {
2740
- v(this, e), this.valueChanged = w(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.selectedLanguage = void 0, this.message = void 0;
2740
+ v(this, e), this.valueChanged = k(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.selectedLanguage = void 0, this.message = void 0;
2741
2741
  }
2742
2742
  elementNameChangedHandler(e) {
2743
2743
  d("nylas-cancellation-policy", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
@@ -2812,7 +2812,7 @@ var ms = function(e, n, t, a) {
2812
2812
  };
2813
2813
  const Zt = class {
2814
2814
  constructor(e) {
2815
- v(this, e), this.valueChanged = w(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.selectedLanguage = void 0, this.confirmationEmail = void 0, this.isConfirmationEmailOpen = this.isOpen, this.participantsState = this.participants;
2815
+ v(this, e), this.valueChanged = k(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.nylasBranding = !0, this.isOpen = !1, this.selectedLanguage = void 0, this.confirmationEmail = void 0, this.isConfirmationEmailOpen = this.isOpen, this.participantsState = this.participants;
2816
2816
  }
2817
2817
  connectedCallback() {
2818
2818
  d("nylas-confirmation-email", "connectedCallback");
@@ -2825,14 +2825,18 @@ const Zt = class {
2825
2825
  }
2826
2826
  componentDidLoad() {
2827
2827
  var e;
2828
- 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);
2828
+ d("nylas-confirmation-email", "componentDidLoad"), this.selectedConfiguration ? this.selectedConfigurationChangedHandler(this.selectedConfiguration) : (this.confirmationEmail = { ...this.confirmationEmailTemplate }, typeof ((e = this.confirmationEmail) == null ? void 0 : e.show_nylas_branding) > "u" && this.nylasBranding ? this.confirmationEmail = { ...this.confirmationEmail, show_nylas_branding: !0 } : this.nylasBranding || (this.confirmationEmail = { ...this.confirmationEmail, show_nylas_branding: !1 }), this.isConfirmationEmailOpen = this.isOpen, this.participantsState = this.participants);
2829
2829
  }
2830
2830
  elementNameChangedHandler(e) {
2831
2831
  d("nylas-confirmation-email", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
2832
2832
  }
2833
2833
  selectedConfigurationChangedHandler(e) {
2834
2834
  var n, t, a, o;
2835
- 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;
2835
+ 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.nylasBranding ? this.confirmationEmail = { ...this.confirmationEmail, show_nylas_branding: !0 } : this.nylasBranding || (this.confirmationEmail = { ...this.confirmationEmail, show_nylas_branding: !1 }), 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;
2836
+ }
2837
+ nylasBrandingChangedHandler(e) {
2838
+ var n;
2839
+ d("nylas-confirmation-email", "nylasBrandingChangedHandler", e), typeof ((n = this.confirmationEmail) == null ? void 0 : n.show_nylas_branding) > "u" && e ? this.confirmationEmail = { ...this.confirmationEmail, show_nylas_branding: !0 } : e || (this.confirmationEmail = { ...this.confirmationEmail, show_nylas_branding: !1 });
2836
2840
  }
2837
2841
  selectedLanguageChangedHandler(e, n) {
2838
2842
  e !== n && c.changeLanguage(e);
@@ -2868,9 +2872,9 @@ const Zt = class {
2868
2872
  render() {
2869
2873
  var t, a, o, i, l, r, p, f;
2870
2874
  const e = this.participantsState.find((m) => m.is_organizer), n = (e == null ? void 0 : e.name) || (e == null ? void 0 : e.email);
2871
- return s(L, { key: "f3d6c5e775d26df9e6693f6e2ebb66cbf50afb50" }, s("div", { key: "eeb7e06b2fc8a43b137eb8ad0aa23aea7c057050", class: "nylas-confirmation-email", part: "nce" }, s("div", { key: "4d318a3ee7bfe014c4fe28f4295e706ccdb55c54", class: "header", part: "nce__header" }, s("div", { key: "3f727906b1c0146922464e8e34c7ef7c87de5def" }, s("h3", { key: "e003e19ba7713de2bc4dbd549786d8223d62d25b" }, ((a = (t = this.confirmationEmail) == null ? void 0 : t.booking_confirmed) == null ? void 0 : a.title) || c.t("nylasConfirmationEmail.headerTitle", { organizerName: `${n ? ` with ${n}` : ""}` })), s("p", { key: "f6fd1e8a4b80ae811b2b1ea1e265337dfed5c0f1" }, c.t("nylasConfirmationEmail.headerSubTitle"))), 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) => {
2875
+ return s(L, { key: "5bc0669fbc5bcd72eb70d7539e8acb5a9da91368" }, s("div", { key: "a470ca643d6995c3d7aaf1ad9a535111f5d008d4", class: "nylas-confirmation-email", part: "nce" }, s("div", { key: "32cbc56338a77f6b7fd133564d18d060d37da3f9", class: "header", part: "nce__header" }, s("div", { key: "1d3b7e061e07bb1d79a71440dea76c18e0915b44" }, s("h3", { key: "fe31b6d7504ca9b36d26fa07a86c5566387eaaa2" }, ((a = (t = this.confirmationEmail) == null ? void 0 : t.booking_confirmed) == null ? void 0 : a.title) || c.t("nylasConfirmationEmail.headerTitle", { organizerName: `${n ? ` with ${n}` : ""}` })), s("p", { key: "f4e1cd5f07c45195b5e7cea60ee3cfe5a99a89b5" }, c.t("nylasConfirmationEmail.headerSubTitle"))), 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) => {
2872
2876
  m.preventDefault(), this.toggleConfirmationEmail();
2873
- } }, s("edit-icon", { width: "16", height: "16" }), c.t("nylasConfirmationEmail.editButtonText"))), 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, c.t("nylasConfirmationEmail.confirmationEmail.label"), s("span", { class: "label-icon" }, s("tooltip-component", null, s("info-icon", { slot: "tooltip-icon" }), s("span", { slot: "tooltip-content" }, " ", c.t("nylasConfirmationEmail.confirmationEmail.tooltip.desc"))))), s("span", { class: "selected-value" }, c.t("nylasConfirmationEmail.immediatelyUponBooking"))), s("div", { class: "nylas-confirmation-email__row" }, s("label", null, c.t("nylasConfirmationEmail.nylasBranding.label"), s("span", { class: "label-icon" }, s("tooltip-component", null, s("info-icon", { slot: "tooltip-icon" }), s("span", { slot: "tooltip-content" }, c.t("nylasConfirmationEmail.nylasBranding.tooltip.desc"))))), 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, c.t("nylasConfirmationEmail.companyLogoUrl.label"), s("span", { class: "label-icon" }, s("tooltip-component", null, s("info-icon", { slot: "tooltip-icon" }), s("span", { slot: "tooltip-content" }, c.t("nylasConfirmationEmail.companyLogoUrl.tooltip.desc"))))), 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, c.t("nylasConfirmationEmail.emailMessage.header")), s("div", { class: "input-container" }, s("label", { htmlFor: "title" }, c.t("nylasConfirmationEmail.emailMessage.label"), s("span", { class: "label-icon" }, s("tooltip-component", null, s("info-icon", { slot: "tooltip-icon" }), s("span", { slot: "tooltip-content" }, c.t("nylasConfirmationEmail.emailMessage.tooltip.desc"))))), s("input-component", { name: "confirmation-email-title", maxLength: 60, placeholder: c.t("nylasConfirmationEmail.headerTitle", { organizerName: `${n ? ` with ${n}` : ""}` }), defaultValue: ((r = (l = this.confirmationEmail) == null ? void 0 : l.booking_confirmed) == null ? void 0 : r.title) ?? "" })), s("div", { class: "input-container" }, s("textarea-component", { label: c.t("nylasConfirmationEmail.emailMessage.additionalInfoLabel"), name: "confirmation-email-body", id: "confirmation-email-body", placeholder: c.t("nylasConfirmationEmail.emailMessage.additionalInfoPlaceholder"), tooltip: c.t("nylasConfirmationEmail.emailMessage.additionalInfoTooltip"), maxLength: 500, defaultValue: ((f = (p = this.confirmationEmail) == null ? void 0 : p.booking_confirmed) == null ? void 0 : f.body) ?? "" })))))) : s("div", { class: "nylas-confirmation-email__summary", part: "nce__summary" }, s("p", null, s("span", { class: "summary-icon" }, s("person-clipboard-icon", null)), c.t("nylasConfirmationEmail.allHosts")), s("p", null, s("span", { class: "summary-icon" }, s("clock-icon", null)), c.t("nylasConfirmationEmail.immediatelyUponBooking")))));
2877
+ } }, s("edit-icon", { width: "16", height: "16" }), c.t("nylasConfirmationEmail.editButtonText"))), 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, c.t("nylasConfirmationEmail.confirmationEmail.label"), s("span", { class: "label-icon" }, s("tooltip-component", null, s("info-icon", { slot: "tooltip-icon" }), s("span", { slot: "tooltip-content" }, " ", c.t("nylasConfirmationEmail.confirmationEmail.tooltip.desc"))))), s("span", { class: "selected-value" }, c.t("nylasConfirmationEmail.immediatelyUponBooking"))), this.nylasBranding && s("div", { class: "nylas-confirmation-email__row" }, s("label", null, c.t("nylasConfirmationEmail.nylasBranding.label"), s("span", { class: "label-icon" }, s("tooltip-component", null, s("info-icon", { slot: "tooltip-icon" }), s("span", { slot: "tooltip-content" }, c.t("nylasConfirmationEmail.nylasBranding.tooltip.desc"))))), 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, c.t("nylasConfirmationEmail.companyLogoUrl.label"), s("span", { class: "label-icon" }, s("tooltip-component", null, s("info-icon", { slot: "tooltip-icon" }), s("span", { slot: "tooltip-content" }, c.t("nylasConfirmationEmail.companyLogoUrl.tooltip.desc"))))), 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, c.t("nylasConfirmationEmail.emailMessage.header")), s("div", { class: "input-container" }, s("label", { htmlFor: "title" }, c.t("nylasConfirmationEmail.emailMessage.label"), s("span", { class: "label-icon" }, s("tooltip-component", null, s("info-icon", { slot: "tooltip-icon" }), s("span", { slot: "tooltip-content" }, c.t("nylasConfirmationEmail.emailMessage.tooltip.desc"))))), s("input-component", { name: "confirmation-email-title", maxLength: 60, placeholder: c.t("nylasConfirmationEmail.headerTitle", { organizerName: `${n ? ` with ${n}` : ""}` }), defaultValue: ((r = (l = this.confirmationEmail) == null ? void 0 : l.booking_confirmed) == null ? void 0 : r.title) ?? "" })), s("div", { class: "input-container" }, s("textarea-component", { label: c.t("nylasConfirmationEmail.emailMessage.additionalInfoLabel"), name: "confirmation-email-body", id: "confirmation-email-body", placeholder: c.t("nylasConfirmationEmail.emailMessage.additionalInfoPlaceholder"), tooltip: c.t("nylasConfirmationEmail.emailMessage.additionalInfoTooltip"), maxLength: 500, defaultValue: ((f = (p = this.confirmationEmail) == null ? void 0 : p.booking_confirmed) == null ? void 0 : f.body) ?? "" })))))) : s("div", { class: "nylas-confirmation-email__summary", part: "nce__summary" }, s("p", null, s("span", { class: "summary-icon" }, s("person-clipboard-icon", null)), c.t("nylasConfirmationEmail.allHosts")), s("p", null, s("span", { class: "summary-icon" }, s("clock-icon", null)), c.t("nylasConfirmationEmail.immediatelyUponBooking")))));
2874
2878
  }
2875
2879
  static get formAssociated() {
2876
2880
  return !0;
@@ -2882,6 +2886,7 @@ const Zt = class {
2882
2886
  return {
2883
2887
  name: ["elementNameChangedHandler"],
2884
2888
  selectedConfiguration: ["selectedConfigurationChangedHandler"],
2889
+ nylasBranding: ["nylasBrandingChangedHandler"],
2885
2890
  selectedLanguage: ["selectedLanguageChangedHandler"]
2886
2891
  };
2887
2892
  }
@@ -2891,7 +2896,8 @@ ms([
2891
2896
  name: "nylas-confirmation-email",
2892
2897
  stateToProps: /* @__PURE__ */ new Map([
2893
2898
  ["schedulerConfig.selectedConfiguration", "selectedConfiguration"],
2894
- ["schedulerConfig.selectedLanguage", "selectedLanguage"]
2899
+ ["schedulerConfig.selectedLanguage", "selectedLanguage"],
2900
+ ["schedulerConfig.nylasBranding", "nylasBranding"]
2895
2901
  ]),
2896
2902
  eventToProps: {
2897
2903
  valueChanged: async (e, n) => {
@@ -2922,7 +2928,7 @@ var gs = function(e, n, t, a) {
2922
2928
  const qt = class {
2923
2929
  constructor(e) {
2924
2930
  var n;
2925
- v(this, e), this.valueChanged = w(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.selectedLanguage = void 0, this.selectedCalendars = this.setParticipants(this.participants), this.participantCalendars = {}, this.participantDefaultSelectedCalendars = {};
2931
+ v(this, e), this.valueChanged = k(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.selectedLanguage = void 0, this.selectedCalendars = this.setParticipants(this.participants), this.participantCalendars = {}, this.participantDefaultSelectedCalendars = {};
2926
2932
  }
2927
2933
  elementNameChangedHandler(e) {
2928
2934
  d("nylas-connected-calendars", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
@@ -3116,7 +3122,7 @@ _s([
3116
3122
  ], Jt.prototype, "render", null);
3117
3123
  Jt.style = vs;
3118
3124
  const Cs = ':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-custom-event-slug{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-custom-event-slug .header{padding:1rem;display:grid;grid-template-columns:1fr auto}.nylas-custom-event-slug .header h3{border-radius:var(--nylas-border-radius-2x);margin:0;font-size:16px;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-custom-event-slug .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-custom-event-slug .header .drawer-toggle{display:flex;gap:24px;align-items:center}.nylas-custom-event-slug .header .drawer-toggle .chevron{display:flex;align-self:center;cursor:pointer}.nylas-custom-event-slug .header .drawer-toggle .chevron:hover,.nylas-custom-event-slug .header .drawer-toggle .chevron:active{color:var(--nylas-primary)}.nylas-custom-event-slug .header .drawer-toggle .chevron.open{transform:rotate(90deg)}.nylas-custom-event-slug .header .drawer-toggle .chevron.closed{transform:rotate(270deg)}.nylas-custom-event-slug .header .drawer-toggle .chevron.disabled{cursor:not-allowed;color:var(--nylas-base-300)}.nylas-custom-event-slug .header .drawer-toggle .chevron.disabled:hover{color:var(--nylas-base-300)}.nylas-custom-event-slug .nylas-custom-event-slug__body{display:grid;grid-template-columns:1fr;background-color:var(--nylas-base-25);border-radius:0 0 var(--nylas-border-radius-2x) var(--nylas-border-radius-2x);border-top:1px solid var(--nylas-base-200)}@media screen and (max-width: 768px){.nylas-custom-event-slug .nylas-custom-event-slug__body{grid-template-columns:1fr}}.nylas-custom-event-slug .nylas-custom-event-slug__body .nylas-custom-event-slug__section{padding:1rem;display:flex;flex-direction:column;gap:1rem;color:var(--nylas-base-800)}@media screen and (max-width: 768px){.nylas-custom-event-slug .nylas-custom-event-slug__body .nylas-custom-event-slug__section{border:none}}.nylas-custom-event-slug .nylas-custom-event-slug__body .nylas-custom-event-slug__section .nylas-custom-event-slug__row{display:flex;align-items:center;gap:1rem}.nylas-custom-event-slug .nylas-custom-event-slug__body .nylas-custom-event-slug__section .nylas-custom-event-slug__row label{display:flex;align-items:center}.nylas-custom-event-slug .nylas-custom-event-slug__body .nylas-custom-event-slug__section .nylas-custom-event-slug__row label span.required{color:var(--nylas-error, #cc4841)}.nylas-custom-event-slug .nylas-custom-event-slug__body .nylas-custom-event-slug__section .nylas-custom-event-slug__row label span.label-icon{margin-left:4px}.nylas-custom-event-slug .nylas-custom-event-slug__body .nylas-custom-event-slug__section .nylas-custom-event-slug__row label span.label-icon tooltip-component{display:flex}.nylas-custom-event-slug .nylas-custom-event-slug__body .nylas-custom-event-slug__section .nylas-custom-event-slug__row p{margin:0.25rem 0 0 0;font-size:16px;font-weight:500;line-height:24px;color:var(--nylas-base-900)}.nylas-custom-event-slug .nylas-custom-event-slug__body .nylas-custom-event-slug__section .nylas-custom-event-slug__row .input-container{width:100%}.nylas-custom-event-slug .nylas-custom-event-slug__body span.error-message{color:var(--nylas-error)}.nylas-custom-event-slug .nylas-custom-event-slug__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-custom-event-slug .nylas-custom-event-slug__input-wrapper{display:flex;height:48px;padding-left:16px;align-items:center;gap:8px;align-self:stretch;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-300);background:var(--nylas-base-0);width:-webkit-fill-available;color:var(--nylas-base-900);font-size:16px;font-style:normal;font-weight:400;line-height:150%;width:-moz-available;width:-webkit-fill-available;display:flex;flex-direction:row;gap:0.125rem;border-radius:var(--nylas-border-radius-2x);z-index:1}.nylas-custom-event-slug .nylas-custom-event-slug__input-wrapper:focus{outline-color:var(--nylas-primary)}.nylas-custom-event-slug .nylas-custom-event-slug__input-wrapper.error{border-radius:var(--nylas-border-radius-2x);font-weight:600;border-color:var(--nylas-error);border-width:2px}.nylas-custom-event-slug .nylas-custom-event-slug__input-wrapper.error::placeholder{font-weight:400}.nylas-custom-event-slug .nylas-custom-event-slug__input-wrapper::placeholder{color:var(--nylas-base-300)}.nylas-custom-event-slug .nylas-custom-event-slug__input-wrapper.focus{outline:2px solid var(--nylas-primary)}.nylas-custom-event-slug .nylas-custom-event-slug__input-wrapper.error{border-color:var(--nylas-error);outline:none}.nylas-custom-event-slug .nylas-custom-event-slug__input-wrapper input-component::part(ic__input){outline:none;border:none;width:100%;font-size:16px;height:auto;padding-left:0px}.nylas-custom-event-slug .nylas-custom-event-slug__input-wrapper .prefix{z-index:0;margin-top:1px;color:var(--nylas-base-400);font-weight:500;font-size:24px}.nylas-custom-event-slug .nylas-custom-event-slug__input-wrapper .icon{margin-right:0.25rem;padding:0 0.75rem;height:100%;display:flex;align-items:center;right:0;cursor:pointer;user-select:none}.nylas-custom-event-slug .nylas-custom-event-slug__input-wrapper .icon.disabled{cursor:not-allowed}.nylas-custom-event-slug .nylas-custom-event-slug__input-wrapper .icon:hover svg path{fill:var(--nylas-primary)}.nylas-custom-event-slug .nylas-custom-event-slug__input-wrapper .icon:active svg path{fill:var(--nylas-base-500)}.nylas-custom-event-slug .nylas-custom-event-slug__input-wrapper .icon .copied{display:flex;align-items:center;font-size:0.875rem;gap:0.125rem}', xs = Cs;
3119
- var ks = function(e, n, t, a) {
3125
+ var ws = function(e, n, t, a) {
3120
3126
  var o = arguments.length, i = o < 3 ? n : a === null ? a = Object.getOwnPropertyDescriptor(n, t) : a, l;
3121
3127
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
3122
3128
  i = Reflect.decorate(e, n, t, a);
@@ -3130,7 +3136,7 @@ var ks = function(e, n, t, a) {
3130
3136
  };
3131
3137
  const Gt = class {
3132
3138
  constructor(e) {
3133
- v(this, e), this.valueChanged = w(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.selectedLanguage = void 0, this.urlSlug = void 0, this.focus = !1, this.copied = !1;
3139
+ v(this, e), this.valueChanged = k(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.selectedLanguage = void 0, this.urlSlug = void 0, this.focus = !1, this.copied = !1;
3134
3140
  }
3135
3141
  connectedCallback() {
3136
3142
  d("nylas-custom-event-slug", "connectedCallback");
@@ -3214,7 +3220,7 @@ const Gt = class {
3214
3220
  };
3215
3221
  }
3216
3222
  };
3217
- ks([
3223
+ ws([
3218
3224
  H({
3219
3225
  name: "nylas-custom-event-slug",
3220
3226
  stateToProps: /* @__PURE__ */ new Map([
@@ -3235,7 +3241,7 @@ ks([
3235
3241
  Sn("design:returntype", void 0)
3236
3242
  ], Gt.prototype, "render", null);
3237
3243
  Gt.style = xs;
3238
- const ws = ':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-customize-booking-settings{width:inherit;display:flex;flex-direction:column;margin:1rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200)}.nylas-customize-booking-settings .header{padding:1rem;border-bottom:1px solid var(--nylas-base-200)}.nylas-customize-booking-settings .header h3{margin:0;font-size:16px;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-customize-booking-settings .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-customize-booking-settings .nylas-customize-booking-settings__settings{display:flex;flex-direction:column;gap:1.5rem;padding:1rem;margin:1rem 0}.nylas-customize-booking-settings .nylas-customize-booking-settings__settings .nylas-customize-booking-settings__settings-div{display:flex;align-items:center;gap:4px}.label{margin-left:32px;font-size:16px;font-weight:400;color:var(--nylas-base-800);line-height:24px}.label .label-contents{margin:0;display:inline-block}@media screen and (max-width: 768px){.label .label-contents{display:block}}.label tooltip-component{display:inline-block}@media screen and (max-width: 768px){tooltip-component#guests::part(tc__content){left:58px}}tooltip-component#reschedule::part(tc__content){left:58px}@media screen and (max-width: 768px){tooltip-component#reschedule::part(tc__content){left:58px}}tooltip-component#cancel::part(tc__content){left:-58px}@media screen and (max-width: 768px){tooltip-component#cancel::part(tc__content){left:58px}}', Es = ws;
3244
+ const ks = ':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-customize-booking-settings{width:inherit;display:flex;flex-direction:column;margin:1rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200)}.nylas-customize-booking-settings .header{padding:1rem;border-bottom:1px solid var(--nylas-base-200)}.nylas-customize-booking-settings .header h3{margin:0;font-size:16px;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-customize-booking-settings .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-customize-booking-settings .nylas-customize-booking-settings__settings{display:flex;flex-direction:column;gap:1.5rem;padding:1rem;margin:1rem 0}.nylas-customize-booking-settings .nylas-customize-booking-settings__settings .nylas-customize-booking-settings__settings-div{display:flex;align-items:center;gap:4px}.label{margin-left:32px;font-size:16px;font-weight:400;color:var(--nylas-base-800);line-height:24px}.label .label-contents{margin:0;display:inline-block}@media screen and (max-width: 768px){.label .label-contents{display:block}}.label tooltip-component{display:inline-block}@media screen and (max-width: 768px){tooltip-component#guests::part(tc__content){left:58px}}tooltip-component#reschedule::part(tc__content){left:58px}@media screen and (max-width: 768px){tooltip-component#reschedule::part(tc__content){left:58px}}tooltip-component#cancel::part(tc__content){left:-58px}@media screen and (max-width: 768px){tooltip-component#cancel::part(tc__content){left:58px}}', Es = ks;
3239
3245
  var Ls = function(e, n, t, a) {
3240
3246
  var o = arguments.length, i = o < 3 ? n : a === null ? a = Object.getOwnPropertyDescriptor(n, t) : a, l;
3241
3247
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
@@ -3251,7 +3257,7 @@ var Ls = function(e, n, t, a) {
3251
3257
  const Xt = class {
3252
3258
  constructor(e) {
3253
3259
  var n, t, a, o, i, l;
3254
- v(this, e), this.valueChanged = w(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 = ((l = (i = this.selectedConfiguration) == null ? void 0 : i.scheduler) == null ? void 0 : l.hide_rescheduling_options) ?? !1, this.name = "customize-booking-settings", this.selectedLanguage = void 0, this.allowGuestsToInvite = void 0, this.hideCancellationOptions = void 0, this.hideReschedulingOptions = void 0;
3260
+ v(this, e), this.valueChanged = k(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 = ((l = (i = this.selectedConfiguration) == null ? void 0 : i.scheduler) == null ? void 0 : l.hide_rescheduling_options) ?? !1, this.name = "customize-booking-settings", this.selectedLanguage = void 0, this.allowGuestsToInvite = void 0, this.hideCancellationOptions = void 0, this.hideReschedulingOptions = void 0;
3255
3261
  }
3256
3262
  elementNameChangedHandler(e) {
3257
3263
  d("nylas-customize-booking-settings", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
@@ -3361,7 +3367,7 @@ var Ss = function(e, n, t, a) {
3361
3367
  const Yt = class {
3362
3368
  constructor(e) {
3363
3369
  var n, t, a, o;
3364
- v(this, e), this.valueChanged = w(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 = (t = (n = this.selectedConfiguration) == null ? void 0 : n.event_booking) == null ? void 0 : t.description, this.name = "description", this.selectedLanguage = void 0, this.description = this.eventDescription || ((o = (a = this.selectedConfiguration) == null ? void 0 : a.event_booking) == null ? void 0 : o.description) || "", this.showTokens = !1, this.availableTokens = de.map((i) => ({
3370
+ v(this, e), this.valueChanged = k(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 = (t = (n = this.selectedConfiguration) == null ? void 0 : n.event_booking) == null ? void 0 : t.description, this.name = "description", this.selectedLanguage = void 0, this.description = this.eventDescription || ((o = (a = this.selectedConfiguration) == null ? void 0 : a.event_booking) == null ? void 0 : o.description) || "", this.showTokens = !1, this.availableTokens = de.map((i) => ({
3365
3371
  label: i.token,
3366
3372
  value: i.value,
3367
3373
  labelHTML: i
@@ -3601,7 +3607,7 @@ var Is = function(e, n, t, a) {
3601
3607
  };
3602
3608
  const Kt = class {
3603
3609
  constructor(e) {
3604
- v(this, e), this.valueChanged = w(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.selectedLanguage = 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 = [
3610
+ v(this, e), this.valueChanged = k(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.selectedLanguage = 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 = [
3605
3611
  { value: 15, label: "15" },
3606
3612
  { value: 30, label: "30" },
3607
3613
  { value: 45, label: "45" },
@@ -3835,7 +3841,7 @@ const ye = {
3835
3841
  }, ea = class {
3836
3842
  constructor(e) {
3837
3843
  var n;
3838
- v(this, e), this.valueChanged = w(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.selectedLanguage = 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 = [
3844
+ v(this, e), this.valueChanged = k(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.selectedLanguage = 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 = [
3839
3845
  { value: "none", label: ye.none, labelHTML: this.getLabelHTML("none") },
3840
3846
  { value: "custom", label: ye.custom, labelHTML: this.getLabelHTML("custom") }
3841
3847
  ];
@@ -4016,7 +4022,7 @@ var Us = function(e, n, t, a) {
4016
4022
  const na = class {
4017
4023
  constructor(e) {
4018
4024
  var n, t;
4019
- v(this, e), this.valueChanged = w(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.selectedLanguage = void 0, this.showTokens = !1, this.availableTokens = de.map((a) => ({
4025
+ v(this, e), this.valueChanged = k(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.selectedLanguage = void 0, this.showTokens = !1, this.availableTokens = de.map((a) => ({
4020
4026
  label: a.token,
4021
4027
  value: a.value,
4022
4028
  labelHTML: a
@@ -4275,7 +4281,7 @@ var Js = function(e, n, t, a) {
4275
4281
  };
4276
4282
  const ta = class {
4277
4283
  constructor(e) {
4278
- v(this, e), this.feedbackModalClosed = w(this, "feedbackModalClosed", 7), this.feedbackSubmitted = w(this, "feedbackSubmitted", 7), this.triggerValidation = w(this, "triggerValidation", 7), this.handleConfirmBookingButtonClicked = () => {
4284
+ v(this, e), this.feedbackModalClosed = k(this, "feedbackModalClosed", 7), this.feedbackSubmitted = k(this, "feedbackSubmitted", 7), this.triggerValidation = k(this, "triggerValidation", 7), this.handleConfirmBookingButtonClicked = () => {
4279
4285
  this.triggerValidation.emit().defaultPrevented || this.feedbackSubmitted.emit({ feedback: this.feedbackMessage });
4280
4286
  }, this.themeConfig = void 0, this.feedbackMessage = "";
4281
4287
  }
@@ -4340,7 +4346,7 @@ var Ys = function(e, n, t, a) {
4340
4346
  };
4341
4347
  const aa = class {
4342
4348
  constructor(e) {
4343
- v(this, e), this.valueChanged = w(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.selectedLanguage = void 0, this.selectedNumber = void 0, this.selectedPeriod = void 0;
4349
+ v(this, e), this.valueChanged = k(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.selectedLanguage = void 0, this.selectedNumber = void 0, this.selectedPeriod = void 0;
4344
4350
  }
4345
4351
  elementNameChangedHandler(e) {
4346
4352
  d("nylas-limit-future-bookings", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
@@ -4422,7 +4428,7 @@ var Qs = function(e, n, t, a) {
4422
4428
  };
4423
4429
  const ia = class {
4424
4430
  constructor(e) {
4425
- v(this, e), this.valueChanged = w(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.selectedLanguage = void 0, this.selectedNumber = void 0, this.selectedPeriod = void 0;
4431
+ v(this, e), this.valueChanged = k(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.selectedLanguage = void 0, this.selectedNumber = void 0, this.selectedPeriod = void 0;
4426
4432
  }
4427
4433
  elementNameChangedHandler(e) {
4428
4434
  d("nylas-min-booking-notice", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
@@ -4510,7 +4516,7 @@ var to = function(e, n, t, a) {
4510
4516
  };
4511
4517
  const sa = class {
4512
4518
  constructor(e) {
4513
- v(this, e), this.valueChanged = w(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.selectedLanguage = void 0, this.selectedNumber = void 0, this.selectedPeriod = void 0;
4519
+ v(this, e), this.valueChanged = k(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.selectedLanguage = void 0, this.selectedNumber = void 0, this.selectedPeriod = void 0;
4514
4520
  }
4515
4521
  elementNameChangedHandler(e) {
4516
4522
  d("nylas-min-cancellation-notice", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
@@ -4598,7 +4604,7 @@ var so = function(e, n, t, a) {
4598
4604
  };
4599
4605
  const oa = class {
4600
4606
  constructor(e) {
4601
- v(this, e), this.valueChanged = w(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.selectedLanguage = void 0, this.currentPageName = void 0;
4607
+ v(this, e), this.valueChanged = k(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.selectedLanguage = void 0, this.currentPageName = void 0;
4602
4608
  }
4603
4609
  connectedCallback() {
4604
4610
  d("nylas-page-name", "connectedCallback");
@@ -4693,7 +4699,7 @@ var ro = function(e, n, t, a) {
4693
4699
  };
4694
4700
  const la = class {
4695
4701
  constructor(e) {
4696
- v(this, e), this.valueChanged = w(this, "valueChanged", 7), this.bookingFormSubmitted = w(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.selectedLanguage = void 0, this.currentAppearance = void 0, this.customInputsSlot = null;
4702
+ v(this, e), this.valueChanged = k(this, "valueChanged", 7), this.bookingFormSubmitted = k(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.selectedLanguage = void 0, this.currentAppearance = void 0, this.customInputsSlot = null;
4697
4703
  }
4698
4704
  connectedCallback() {
4699
4705
  d("nylas-page-styling", "connectedCallback");
@@ -4894,7 +4900,7 @@ var fo = function(e, n, t, a) {
4894
4900
  const ra = class {
4895
4901
  constructor(e) {
4896
4902
  var n;
4897
- v(this, e), this.valueChanged = w(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.selectedLanguage = void 0, this.selectedCalendars = this.setParticipants(this.participants), this.participantCalendars = {}, this.participantDefaultSelectedCalendar = {};
4903
+ v(this, e), this.valueChanged = k(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.selectedLanguage = void 0, this.selectedCalendars = this.setParticipants(this.participants), this.participantCalendars = {}, this.participantDefaultSelectedCalendar = {};
4898
4904
  }
4899
4905
  elementNameChangedHandler(e) {
4900
4906
  d("nylas-participant-booking-calendars", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
@@ -5043,7 +5049,7 @@ var ho = function(e, n, t, a) {
5043
5049
  const da = class {
5044
5050
  constructor(e) {
5045
5051
  var n;
5046
- v(this, e), this.valueChanged = w(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.selectedLanguage = void 0, this.selectedParticipants = this.setParticipants(this.participants);
5052
+ v(this, e), this.valueChanged = k(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.selectedLanguage = void 0, this.selectedParticipants = this.setParticipants(this.participants);
5047
5053
  }
5048
5054
  elementNameChangedHandler(e) {
5049
5055
  d("nylas-participants-custom-availability", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
@@ -5171,7 +5177,7 @@ var bo = function(e, n, t, a) {
5171
5177
  const ca = class {
5172
5178
  constructor(e) {
5173
5179
  var n, t, a;
5174
- v(this, e), this.valueChanged = w(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.selectedLanguage = void 0, 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) ?? [];
5180
+ v(this, e), this.valueChanged = k(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.selectedLanguage = void 0, 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) ?? [];
5175
5181
  }
5176
5182
  connectedCallback() {
5177
5183
  d("nylas-reminder-emails", "connectedCallback");
@@ -5349,7 +5355,7 @@ var Co = function(e, n, t, a) {
5349
5355
  };
5350
5356
  const pa = class {
5351
5357
  constructor(e) {
5352
- v(this, e), this.valueChanged = w(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.selectedLanguage = void 0, this.selectedNumber = void 0, this.selectedPeriod = void 0;
5358
+ v(this, e), this.valueChanged = k(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.selectedLanguage = void 0, this.selectedNumber = void 0, this.selectedPeriod = void 0;
5353
5359
  }
5354
5360
  elementNameChangedHandler(e) {
5355
5361
  d("nylas-reminder-time", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
@@ -5415,8 +5421,8 @@ Co([
5415
5421
  qn("design:returntype", void 0)
5416
5422
  ], pa.prototype, "render", null);
5417
5423
  pa.style = _o;
5418
- const xo = ':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-scheduling-method{width:inherit;display:flex;flex-direction:column;margin:1rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200)}.nylas-scheduling-method .header{padding:1rem;border-bottom:1px solid var(--nylas-base-200)}.nylas-scheduling-method .header h3{margin:0;font-size:16px;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-scheduling-method .nylas-scheduling-method__dropdown{padding:1rem;display:flex;flex-direction:column;gap:4px}.nylas-scheduling-method .nylas-scheduling-method__dropdown span.nylas-scheduling-method__dropdown-label{display:flex;align-items:center;gap:4px;color:var(--nylas-base-800);margin:0.25rem 0 0 0;font-size:14px;font-weight:400;line-height:20px;text-align:left}.nylas-scheduling-method .nylas-scheduling-method__dropdown span.nylas-scheduling-method__dropdown-label tooltip-component{display:flex}.nylas-scheduling-method .nylas-scheduling-method__dropdown select-dropdown::part(sd_dropdown){width:100%}.nylas-scheduling-method .nylas-scheduling-method__dropdown select-dropdown::part(sd_dropdown-content){width:100%;max-width:unset}.nylas-scheduling-method .nylas-scheduling-method__dropdown select-dropdown::part(sd_dropdown-button){width:100%;display:flex;justify-content:space-between;align-items:center;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x)}.nylas-scheduling-method .nylas-scheduling-method__dropdown select-dropdown::part(sd_dropdown-button-selected-label){max-width:calc(100% - 2rem);font-family:var(--nylas-font-family);font-size:16px;line-height:24px}.nylas-scheduling-method .nylas-scheduling-method__dropdown input-component::part(ic__input){background:var(--nylas-base-50);outline:none;cursor:not-allowed}', ko = xo;
5419
- var wo = function(e, n, t, a) {
5424
+ const xo = ':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-scheduling-method{width:inherit;display:flex;flex-direction:column;margin:1rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200)}.nylas-scheduling-method .header{padding:1rem;border-bottom:1px solid var(--nylas-base-200)}.nylas-scheduling-method .header h3{margin:0;font-size:16px;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-scheduling-method .nylas-scheduling-method__dropdown{padding:1rem;display:flex;flex-direction:column;gap:4px}.nylas-scheduling-method .nylas-scheduling-method__dropdown span.nylas-scheduling-method__dropdown-label{display:flex;align-items:center;gap:4px;color:var(--nylas-base-800);margin:0.25rem 0 0 0;font-size:14px;font-weight:400;line-height:20px;text-align:left}.nylas-scheduling-method .nylas-scheduling-method__dropdown span.nylas-scheduling-method__dropdown-label tooltip-component{display:flex}.nylas-scheduling-method .nylas-scheduling-method__dropdown select-dropdown::part(sd_dropdown){width:100%}.nylas-scheduling-method .nylas-scheduling-method__dropdown select-dropdown::part(sd_dropdown-content){width:100%;max-width:unset}.nylas-scheduling-method .nylas-scheduling-method__dropdown select-dropdown::part(sd_dropdown-button){width:100%;display:flex;justify-content:space-between;align-items:center;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x)}.nylas-scheduling-method .nylas-scheduling-method__dropdown select-dropdown::part(sd_dropdown-button-selected-label){max-width:calc(100% - 2rem);font-family:var(--nylas-font-family);font-size:16px;line-height:24px}.nylas-scheduling-method .nylas-scheduling-method__dropdown input-component::part(ic__input){background:var(--nylas-base-50);outline:none;cursor:not-allowed}', wo = xo;
5425
+ var ko = function(e, n, t, a) {
5420
5426
  var o = arguments.length, i = o < 3 ? n : a === null ? a = Object.getOwnPropertyDescriptor(n, t) : a, l;
5421
5427
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
5422
5428
  i = Reflect.decorate(e, n, t, a);
@@ -5430,7 +5436,7 @@ var wo = function(e, n, t, a) {
5430
5436
  };
5431
5437
  const fa = class {
5432
5438
  constructor(e) {
5433
- v(this, e), this.valueChanged = w(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.selectedLanguage = void 0, this.selectedBookingType = "";
5439
+ v(this, e), this.valueChanged = k(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.selectedLanguage = void 0, this.selectedBookingType = "";
5434
5440
  }
5435
5441
  connectedCallback() {
5436
5442
  d("nylas-scheduling-method", "connectedCallback");
@@ -5495,7 +5501,7 @@ const fa = class {
5495
5501
  };
5496
5502
  }
5497
5503
  };
5498
- wo([
5504
+ ko([
5499
5505
  H({
5500
5506
  name: "nylas-scheduling-method",
5501
5507
  stateToProps: /* @__PURE__ */ new Map([
@@ -5515,7 +5521,7 @@ wo([
5515
5521
  Jn("design:paramtypes", []),
5516
5522
  Jn("design:returntype", void 0)
5517
5523
  ], fa.prototype, "render", null);
5518
- fa.style = ko;
5524
+ fa.style = wo;
5519
5525
  const Eo = ':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-timeslot-interval{width:inherit;display:flex;flex-direction:column;margin:1rem;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-200)}.nylas-timeslot-interval .header{padding:1rem;border-bottom:1px solid var(--nylas-base-200)}.nylas-timeslot-interval .header h3{margin:0;font-size:16px;font-weight:600;line-height:20px;color:var(--nylas-base-900);text-align:left}.nylas-timeslot-interval .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-timeslot-interval .nylas-timeslot-interval__dropdown{padding:1rem;display:flex;flex-direction:column;gap:4px}.nylas-timeslot-interval .nylas-timeslot-interval__dropdown span.label{display:flex;align-items:center;gap:4px;color:var(--nylas-base-800)}.nylas-timeslot-interval .nylas-timeslot-interval__dropdown span.label tooltip-component{display:flex}.nylas-timeslot-interval .nylas-timeslot-interval__dropdown select-dropdown{margin-bottom:1.5rem}.nylas-timeslot-interval .nylas-timeslot-interval__dropdown select-dropdown::part(sd_dropdown){width:100%}.nylas-timeslot-interval .nylas-timeslot-interval__dropdown select-dropdown::part(sd_dropdown-content){width:100%;max-width:unset}.nylas-timeslot-interval .nylas-timeslot-interval__dropdown select-dropdown::part(sd_dropdown-button){width:100%;display:flex;justify-content:space-between;align-items:center;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x);padding:1rem}.nylas-timeslot-interval .nylas-timeslot-interval__dropdown select-dropdown::part(sd_dropdown-button-selected-label){max-width:calc(100% - 2rem);font-family:var(--nylas-font-family);font-size:16px;line-height:24px}', Lo = Eo;
5520
5526
  var To = function(e, n, t, a) {
5521
5527
  var o = arguments.length, i = o < 3 ? n : a === null ? a = Object.getOwnPropertyDescriptor(n, t) : a, l;
@@ -5532,7 +5538,7 @@ var To = function(e, n, t, a) {
5532
5538
  const Je = 15, ua = class {
5533
5539
  constructor(e) {
5534
5540
  var n, t;
5535
- v(this, e), this.valueChanged = w(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.selectedLanguage = void 0, this.internalEventDurationMinutes = void 0, this.selectedInterval = void 0, this.selectedRoundTo = void 0, this.componentLoaded = !1;
5541
+ v(this, e), this.valueChanged = k(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.selectedLanguage = void 0, this.internalEventDurationMinutes = void 0, this.selectedInterval = void 0, this.selectedRoundTo = void 0, this.componentLoaded = !1;
5536
5542
  }
5537
5543
  elementNameChangedHandler(e) {
5538
5544
  d("nylas-timeslot-interval", "elementNameChangedHandler", e), this.host.setAttribute("name", e);
@@ -5696,7 +5702,7 @@ const zo = ".sc-zoom-icon-h{display:flex}", Bo = zo, jo = class {
5696
5702
  jo.style = Bo;
5697
5703
  export {
5698
5704
  Ca as calendar_agenda_fill_icon,
5699
- wa as calendar_agenda_icon,
5705
+ ka as calendar_agenda_icon,
5700
5706
  Ta as calendar_info_icon,
5701
5707
  Oa as calendar_patterns_icon,
5702
5708
  $a as checkmark_icon,
@@ -5712,8 +5718,8 @@ export {
5712
5718
  di as location_off_icon,
5713
5719
  fi as microsoft_teams_icon,
5714
5720
  xt as nylas_additional_participants,
5715
- kt as nylas_availability_picker,
5716
- wt as nylas_booking_calendar_picker,
5721
+ wt as nylas_availability_picker,
5722
+ kt as nylas_booking_calendar_picker,
5717
5723
  Et as nylas_booking_confirmation_redirect,
5718
5724
  Lt as nylas_booking_confirmation_type,
5719
5725
  Bt as nylas_booking_form_config,