@nylas/react 1.0.1-prealpha1 → 1.0.2-canary.0

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 (124) hide show
  1. package/dist/add-circle-icon_13.entry-6dccb5e5.cjs +1 -0
  2. package/dist/add-circle-icon_13.entry-ab84be80.js +1050 -0
  3. package/dist/{archive-icon_7.entry-baecb43c.cjs → archive-icon_7.entry-0deb31c2.cjs} +1 -1
  4. package/dist/{archive-icon_7.entry-9f3eca2c.js → archive-icon_7.entry-187a3484.js} +20 -20
  5. package/dist/arrow-icon.entry-b782e05a.js +15 -0
  6. package/dist/{arrow-icon.entry-9ab0c414.cjs → arrow-icon.entry-fb0ebc89.cjs} +1 -1
  7. package/dist/auth-store-764d3768-3e9c24a0.js +66 -0
  8. package/dist/auth-store-764d3768-ce84fc6a.cjs +1 -0
  9. package/dist/{bold-icon_3.entry-50406bc7.cjs → bold-icon_3.entry-49e5a1d0.cjs} +1 -1
  10. package/dist/{bold-icon_3.entry-b0d81839.js → bold-icon_3.entry-8aebbbdb.js} +4 -4
  11. package/dist/{calendar-cancel-icon.entry-0d07e33c.js → calendar-cancel-icon.entry-305c099c.js} +2 -2
  12. package/dist/{calendar-cancel-icon.entry-8f498984.cjs → calendar-cancel-icon.entry-3f4d6cf2.cjs} +1 -1
  13. package/dist/calendar-check-icon_2.entry-1bf4163c.js +25 -0
  14. package/dist/calendar-check-icon_2.entry-fa7c033a.cjs +1 -0
  15. package/dist/{calendar-icon.entry-219efd7a.cjs → calendar-icon.entry-78433555.cjs} +1 -1
  16. package/dist/{calendar-icon.entry-e5f20598.js → calendar-icon.entry-b5678535.js} +7 -7
  17. package/dist/chevron-icon.entry-49b0d3e7.cjs +1 -0
  18. package/dist/{chevron-icon.entry-f5d5d1b1.js → chevron-icon.entry-f484c9a3.js} +5 -5
  19. package/dist/close-icon.entry-24d5c268.js +15 -0
  20. package/dist/close-icon.entry-37965d55.cjs +1 -0
  21. package/dist/{nylas-booked-event-card_10.entry-f2481a57.js → constants-d93cf397-dd67263d.js} +1636 -2376
  22. package/dist/{nylas-booked-event-card_10.entry-27efa654.cjs → constants-d93cf397-e3587f5c.cjs} +6 -6
  23. package/dist/document-refresh-icon.entry-0e8935fa.cjs +1 -0
  24. package/dist/{document-refresh-icon.entry-89ad42fa.js → document-refresh-icon.entry-8791ab16.js} +5 -5
  25. package/dist/elements/index.d.ts +16 -0
  26. package/dist/{forward-icon_6.entry-ce725f05.cjs → forward-icon_6.entry-903ccd33.cjs} +3 -3
  27. package/dist/{forward-icon_6.entry-0a6dff18.js → forward-icon_6.entry-cb605bfc.js} +82 -82
  28. package/dist/globe-icon_3.entry-71d83904.js +109 -0
  29. package/dist/globe-icon_3.entry-c6aefc52.cjs +1 -0
  30. package/dist/{index-b30d446a-e0eaccad.js → index-10914bc1-1a809477.js} +2 -2
  31. package/dist/{index-b30d446a-3d69a3cc.cjs → index-10914bc1-93ff6f46.cjs} +1 -1
  32. package/dist/index-cee193d2.cjs +30 -0
  33. package/dist/index-e834697b.js +1562 -0
  34. package/dist/index.d.ts +1 -1
  35. package/dist/info-icon.entry-3774a4e3.js +15 -0
  36. package/dist/info-icon.entry-85bf3fbc.cjs +1 -0
  37. package/dist/loading-icon.entry-8941102c.js +15 -0
  38. package/dist/{loading-icon.entry-d2680046.cjs → loading-icon.entry-ae6c7b74.cjs} +1 -1
  39. package/dist/mailbox-store-6b9425dc-a0366cf2.cjs +1 -0
  40. package/dist/{mailbox-store-19f0c6c9-23a4e72f.js → mailbox-store-6b9425dc-c249fa99.js} +59 -121
  41. package/dist/nylas-booked-event-card_10.entry-a166d51d.js +739 -0
  42. package/dist/nylas-booked-event-card_10.entry-b181a874.cjs +1 -0
  43. package/dist/nylas-form-card.entry-7173dd4a.js +56 -0
  44. package/dist/nylas-form-card.entry-8fdbefa6.cjs +1 -0
  45. package/dist/nylas-if-state_3.entry-2093c593.cjs +1 -0
  46. package/dist/{nylas-if-state_3.entry-d805d4c6.js → nylas-if-state_3.entry-e7b615a1.js} +12 -10
  47. package/dist/{nylas-list-folders.entry-472bd255.js → nylas-list-folders.entry-744293ae.js} +9 -8
  48. package/dist/nylas-list-folders.entry-dff7a835.cjs +1 -0
  49. package/dist/{nylas-list-threads.entry-f3266bf7.js → nylas-list-threads.entry-85ad1b74.js} +5 -4
  50. package/dist/nylas-list-threads.entry-edb1d265.cjs +1 -0
  51. package/dist/{nylas-mailbox-pagination.entry-bd0d3bda.js → nylas-mailbox-pagination.entry-55ef4b8c.js} +4 -3
  52. package/dist/nylas-mailbox-pagination.entry-5b888a0e.cjs +1 -0
  53. package/dist/nylas-mailbox-toolbar-button.entry-bb42156a.cjs +1 -0
  54. package/dist/{nylas-mailbox-toolbar-button.entry-9641b5cd.js → nylas-mailbox-toolbar-button.entry-bdcf7d17.js} +9 -8
  55. package/dist/nylas-open-hours-picker.entry-0f4f34f6.cjs +1 -0
  56. package/dist/{nylas-open-hours-picker.entry-42942946.js → nylas-open-hours-picker.entry-7e7060fe.js} +59 -58
  57. package/dist/nylas-provider.entry-1dc58829.js +155 -0
  58. package/dist/nylas-provider.entry-cb1ef04e.cjs +1 -0
  59. package/dist/nylas-scheduler-config.entry-2382ac1b.js +114 -0
  60. package/dist/nylas-scheduler-config.entry-477d2171.cjs +1 -0
  61. package/dist/nylas-scheduler-editor.entry-1a95d313.cjs +1 -0
  62. package/dist/nylas-scheduler-editor.entry-c0479087.js +140 -0
  63. package/dist/nylas-scheduler.entry-69ecc3ae.cjs +1 -0
  64. package/dist/{nylas-scheduler.entry-3b7cb841.js → nylas-scheduler.entry-7084c148.js} +20 -19
  65. package/dist/nylas-threads-refresh.entry-b35f1b68.cjs +1 -0
  66. package/dist/{nylas-threads-refresh.entry-7d567ed1.js → nylas-threads-refresh.entry-ef5d6dfd.js} +13 -12
  67. package/dist/nylas-threads-search.entry-2dda7524.cjs +1 -0
  68. package/dist/{nylas-threads-search.entry-c881d54b.js → nylas-threads-search.entry-e570bf8e.js} +13 -12
  69. package/dist/nylas-view-thread.entry-1ee0680f.cjs +1 -0
  70. package/dist/{nylas-view-thread.entry-d8de6c83.js → nylas-view-thread.entry-3939c913.js} +5 -4
  71. package/dist/people-icon.entry-4a88822e.cjs +1 -0
  72. package/dist/people-icon.entry-69465395.js +15 -0
  73. package/dist/{play-icon_2.entry-cae94826.js → play-icon_2.entry-bc24fda7.js} +6 -6
  74. package/dist/play-icon_2.entry-bd9f650e.cjs +1 -0
  75. package/dist/react.cjs +1 -1
  76. package/dist/react.js +74 -58
  77. package/dist/{refresh-icon.entry-3e0aef26.cjs → refresh-icon.entry-678f92e7.cjs} +1 -1
  78. package/dist/{refresh-icon.entry-9563850b.js → refresh-icon.entry-bd2bf7ce.js} +4 -4
  79. package/dist/{register-component-152c6ad2-418db864.js → register-component-486ea571-1f151779.js} +2 -2
  80. package/dist/{register-component-152c6ad2-b0d34c36.cjs → register-component-486ea571-cdfe1ef9.cjs} +1 -1
  81. package/dist/scheduler-config-store-a059f30b-06c1aa21.cjs +1 -0
  82. package/dist/scheduler-config-store-a059f30b-ff3efc00.js +33 -0
  83. package/dist/{scheduler-store-7d48e682-39104219.js → scheduler-store-81058220-263a5f44.js} +53 -45
  84. package/dist/scheduler-store-81058220-a20698af.cjs +1 -0
  85. package/dist/translate-icon.entry-0c0dbba6.cjs +1 -0
  86. package/dist/translate-icon.entry-c1fcd2f8.js +15 -0
  87. package/dist/utils-df5c1963-1c47e21c.cjs +8 -0
  88. package/dist/utils-df5c1963-d9833bcb.js +2114 -0
  89. package/dist/warning-icon.entry-9631cd2e.js +15 -0
  90. package/dist/warning-icon.entry-dbd44cdb.cjs +1 -0
  91. package/package.json +6 -3
  92. package/dist/add-circle-icon.entry-4b8debfa.js +0 -15
  93. package/dist/add-circle-icon.entry-c5fdaa6f.cjs +0 -1
  94. package/dist/arrow-icon.entry-a3b36218.js +0 -15
  95. package/dist/calendar-check-icon_3.entry-5415e916.cjs +0 -1
  96. package/dist/calendar-check-icon_3.entry-cfb612c6.js +0 -35
  97. package/dist/chevron-icon.entry-3c709061.cjs +0 -1
  98. package/dist/close-icon_2.entry-eca351c4.js +0 -25
  99. package/dist/close-icon_2.entry-fa4f6d3e.cjs +0 -1
  100. package/dist/document-refresh-icon.entry-3a29a6e6.cjs +0 -1
  101. package/dist/globe-icon.entry-71414bc6.js +0 -15
  102. package/dist/globe-icon.entry-a0c9599a.cjs +0 -1
  103. package/dist/index-586a4206.cjs +0 -30
  104. package/dist/index-98d3a4da.js +0 -1498
  105. package/dist/loading-icon.entry-15debb7d.js +0 -15
  106. package/dist/mailbox-store-19f0c6c9-9a3ef58a.cjs +0 -1
  107. package/dist/nylas-if-state_3.entry-6c0bf8eb.cjs +0 -1
  108. package/dist/nylas-list-folders.entry-cc04a07e.cjs +0 -1
  109. package/dist/nylas-list-threads.entry-795c5a2b.cjs +0 -1
  110. package/dist/nylas-mailbox-pagination.entry-f701fd83.cjs +0 -1
  111. package/dist/nylas-mailbox-toolbar-button.entry-b9d6a3c8.cjs +0 -1
  112. package/dist/nylas-open-hours-picker.entry-aa103daf.cjs +0 -1
  113. package/dist/nylas-provider.entry-5bb55b2d.cjs +0 -1
  114. package/dist/nylas-provider.entry-b94198a1.js +0 -134
  115. package/dist/nylas-scheduler.entry-ea6fb146.cjs +0 -1
  116. package/dist/nylas-threads-refresh.entry-4002608b.cjs +0 -1
  117. package/dist/nylas-threads-search.entry-556f1219.cjs +0 -1
  118. package/dist/nylas-view-thread.entry-6faf1b51.cjs +0 -1
  119. package/dist/play-icon_2.entry-2e21b8b9.cjs +0 -1
  120. package/dist/scheduler-store-7d48e682-449277d4.cjs +0 -1
  121. package/dist/search-icon_3.entry-9b027cfc.cjs +0 -1
  122. package/dist/search-icon_3.entry-e36548ec.js +0 -101
  123. package/dist/utils-5074a070-ce33ee6b.js +0 -119
  124. package/dist/utils-5074a070-d5ba6add.cjs +0 -2
@@ -0,0 +1,1562 @@
1
+ var cn = Object.defineProperty;
2
+ var dn = (e, t, s) => t in e ? cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;
3
+ var me = (e, t, s) => (dn(e, typeof t != "symbol" ? t + "" : t, s), s);
4
+ import le, { createElement as un, useReducer as fn, useRef as ve, useEffect as hn } from "react";
5
+ import "react-dom";
6
+ function $r() {
7
+ var e = [];
8
+ if (typeof window < "u") {
9
+ var t = window;
10
+ (!t.customElements || t.Element && (!t.Element.prototype.closest || !t.Element.prototype.matches || !t.Element.prototype.remove || !t.Element.prototype.getRootNode)) && e.push(import(
11
+ /* webpackChunkName: "polyfills-dom" */
12
+ "./dom-86e17616.js"
13
+ ));
14
+ var s = function() {
15
+ try {
16
+ var r = new URL("b", "http://a");
17
+ return r.pathname = "c%20d", r.href === "http://a/c%20d" && r.searchParams;
18
+ } catch {
19
+ return !1;
20
+ }
21
+ };
22
+ (typeof Object.assign != "function" || !Object.entries || !Array.prototype.find || !Array.prototype.includes || !String.prototype.startsWith || !String.prototype.endsWith || t.NodeList && !t.NodeList.prototype.forEach || !t.fetch || !s() || typeof WeakMap > "u") && e.push(import(
23
+ /* webpackChunkName: "polyfills-core-js" */
24
+ "./core-js-a9d3b6e1.js"
25
+ ));
26
+ }
27
+ return Promise.all(e);
28
+ }
29
+ const pn = "nylas-web-elements";
30
+ let se, _e, L = !1, Se = null, Ce = !1;
31
+ const M = (e, t = "") => () => {
32
+ }, gn = (e, t) => () => {
33
+ }, yn = "{visibility:hidden}.hydrated{visibility:inherit}", ht = "slot-fb{display:contents}slot-fb[hidden]{display:none}", $n = [
34
+ "formAssociatedCallback",
35
+ "formResetCallback",
36
+ "formDisabledCallback",
37
+ "formStateRestoreCallback"
38
+ ], tt = {}, mn = "http://www.w3.org/2000/svg", vn = "http://www.w3.org/1999/xhtml", bn = (e) => e != null, Re = (e) => (e = typeof e, e === "object" || e === "function");
39
+ function pt(e) {
40
+ var t, s, r;
41
+ return (r = (s = (t = e.head) === null || t === void 0 ? void 0 : t.querySelector('meta[name="csp-nonce"]')) === null || s === void 0 ? void 0 : s.getAttribute("content")) !== null && r !== void 0 ? r : void 0;
42
+ }
43
+ const gt = (e, t, ...s) => {
44
+ let r = null, o = null, i = !1, a = !1;
45
+ const d = [], c = (p) => {
46
+ for (let g = 0; g < p.length; g++)
47
+ r = p[g], Array.isArray(r) ? c(r) : r != null && typeof r != "boolean" && ((i = typeof e != "function" && !Re(r)) && (r = String(r)), i && a ? d[d.length - 1].$text$ += r : d.push(i ? oe(null, r) : r), a = i);
48
+ };
49
+ if (c(s), t) {
50
+ t.key && (o = t.key);
51
+ {
52
+ const p = t.className || t.class;
53
+ p && (t.class = typeof p != "object" ? p : Object.keys(p).filter((g) => p[g]).join(" "));
54
+ }
55
+ }
56
+ if (typeof e == "function")
57
+ return e(t === null ? {} : t, d, Cn);
58
+ const u = oe(e, null);
59
+ return u.$attrs$ = t, d.length > 0 && (u.$children$ = d), u.$key$ = o, u;
60
+ }, oe = (e, t) => {
61
+ const s = {
62
+ $flags$: 0,
63
+ $tag$: e,
64
+ $text$: t,
65
+ $elm$: null,
66
+ $children$: null
67
+ };
68
+ return s.$attrs$ = null, s.$key$ = null, s;
69
+ }, En = {}, Sn = (e) => e && e.$tag$ === En, Cn = {
70
+ forEach: (e, t) => e.map(nt).forEach(t),
71
+ map: (e, t) => e.map(nt).map(t).map(wn)
72
+ }, nt = (e) => ({
73
+ vattrs: e.$attrs$,
74
+ vchildren: e.$children$,
75
+ vkey: e.$key$,
76
+ vname: e.$name$,
77
+ vtag: e.$tag$,
78
+ vtext: e.$text$
79
+ }), wn = (e) => {
80
+ if (typeof e.vtag == "function") {
81
+ const s = Object.assign({}, e.vattrs);
82
+ return e.vkey && (s.key = e.vkey), e.vname && (s.name = e.vname), gt(e.vtag, s, ...e.vchildren || []);
83
+ }
84
+ const t = oe(e.vtag, e.vtext);
85
+ return t.$attrs$ = e.vattrs, t.$children$ = e.vchildren, t.$key$ = e.vkey, t.$name$ = e.vname, t;
86
+ }, kn = (e, t) => e != null && !Re(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, Tn = (e) => D(e).$hostElement$, mr = (e, t, s) => {
87
+ const r = Tn(e);
88
+ return {
89
+ emit: (o) => yt(r, t, {
90
+ bubbles: !!(s & 4),
91
+ composed: !!(s & 2),
92
+ cancelable: !!(s & 1),
93
+ detail: o
94
+ })
95
+ };
96
+ }, yt = (e, t, s) => {
97
+ const r = x.ce(t, s);
98
+ return e.dispatchEvent(r), r;
99
+ }, rt = /* @__PURE__ */ new WeakMap(), _n = (e, t, s) => {
100
+ let r = ie.get(e);
101
+ Zn && s ? (r = r || new CSSStyleSheet(), typeof r == "string" ? r = t : r.replaceSync(t)) : r = t, ie.set(e, r);
102
+ }, Rn = (e, t, s) => {
103
+ var r;
104
+ const o = $t(t), i = ie.get(o);
105
+ if (e = e.nodeType === 11 ? e : A, i)
106
+ if (typeof i == "string") {
107
+ e = e.head || e;
108
+ let a = rt.get(e), d;
109
+ if (a || rt.set(e, a = /* @__PURE__ */ new Set()), !a.has(o)) {
110
+ {
111
+ d = A.createElement("style"), d.innerHTML = i;
112
+ const c = (r = x.$nonce$) !== null && r !== void 0 ? r : pt(A);
113
+ c != null && d.setAttribute("nonce", c), e.insertBefore(d, e.querySelector("link"));
114
+ }
115
+ t.$flags$ & 4 && (d.innerHTML += ht), a && a.add(o);
116
+ }
117
+ } else
118
+ e.adoptedStyleSheets.includes(i) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, i]);
119
+ return o;
120
+ }, On = (e) => {
121
+ const t = e.$cmpMeta$, s = e.$hostElement$, r = t.$flags$, o = M("attachStyles", t.$tagName$), i = Rn(s.shadowRoot ? s.shadowRoot : s.getRootNode(), t);
122
+ r & 10 && (s["s-sc"] = i, s.classList.add(i + "-h"), r & 2 && s.classList.add(i + "-s")), o();
123
+ }, $t = (e, t) => "sc-" + e.$tagName$, st = (e, t, s, r, o, i) => {
124
+ if (s !== r) {
125
+ let a = lt(e, t), d = t.toLowerCase();
126
+ if (t === "class") {
127
+ const c = e.classList, u = ot(s), p = ot(r);
128
+ c.remove(...u.filter((g) => g && !p.includes(g))), c.add(...p.filter((g) => g && !u.includes(g)));
129
+ } else if (t === "style") {
130
+ for (const c in s)
131
+ (!r || r[c] == null) && (c.includes("-") ? e.style.removeProperty(c) : e.style[c] = "");
132
+ for (const c in r)
133
+ (!s || r[c] !== s[c]) && (c.includes("-") ? e.style.setProperty(c, r[c]) : e.style[c] = r[c]);
134
+ } else if (t !== "key")
135
+ if (t === "ref")
136
+ r && r(e);
137
+ else if (!a && t[0] === "o" && t[1] === "n") {
138
+ if (t[2] === "-" ? t = t.slice(3) : lt(X, d) ? t = d.slice(2) : t = d[2] + t.slice(3), s || r) {
139
+ const c = t.endsWith(mt);
140
+ t = t.replace(xn, ""), s && x.rel(e, t, s, c), r && x.ael(e, t, r, c);
141
+ }
142
+ } else {
143
+ const c = Re(r);
144
+ if ((a || c && r !== null) && !o)
145
+ try {
146
+ if (e.tagName.includes("-"))
147
+ e[t] = r;
148
+ else {
149
+ const u = r ?? "";
150
+ t === "list" ? a = !1 : (s == null || e[t] != u) && (e[t] = u);
151
+ }
152
+ } catch {
153
+ }
154
+ r == null || r === !1 ? (r !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!a || i & 4 || o) && !c && (r = r === !0 ? "" : r, e.setAttribute(t, r));
155
+ }
156
+ }
157
+ }, Pn = /\s/, ot = (e) => e ? e.split(Pn) : [], mt = "Capture", xn = new RegExp(mt + "$"), vt = (e, t, s, r) => {
158
+ const o = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, i = e && e.$attrs$ || tt, a = t.$attrs$ || tt;
159
+ for (r in i)
160
+ r in a || st(o, r, i[r], void 0, s, t.$flags$);
161
+ for (r in a)
162
+ st(o, r, i[r], a[r], s, t.$flags$);
163
+ }, ae = (e, t, s, r) => {
164
+ const o = t.$children$[s];
165
+ let i = 0, a, d;
166
+ if (o.$text$ !== null)
167
+ a = o.$elm$ = A.createTextNode(o.$text$);
168
+ else {
169
+ if (L || (L = o.$tag$ === "svg"), a = o.$elm$ = A.createElementNS(L ? mn : vn, o.$tag$), L && o.$tag$ === "foreignObject" && (L = !1), vt(null, o, L), bn(se) && a["s-si"] !== se && a.classList.add(a["s-si"] = se), o.$children$)
170
+ for (i = 0; i < o.$children$.length; ++i)
171
+ d = ae(e, o, i), d && a.appendChild(d);
172
+ o.$tag$ === "svg" ? L = !1 : a.tagName === "foreignObject" && (L = !0);
173
+ }
174
+ return a["s-hn"] = _e, a;
175
+ }, bt = (e, t, s, r, o, i) => {
176
+ let a = e, d;
177
+ for (a.shadowRoot && a.tagName === _e && (a = a.shadowRoot); o <= i; ++o)
178
+ r[o] && (d = ae(null, s, o), d && (r[o].$elm$ = d, a.insertBefore(d, t)));
179
+ }, Et = (e, t, s) => {
180
+ for (let r = t; r <= s; ++r) {
181
+ const o = e[r];
182
+ if (o) {
183
+ const i = o.$elm$;
184
+ St(o), i && i.remove();
185
+ }
186
+ }
187
+ }, In = (e, t, s, r, o = !1) => {
188
+ let i = 0, a = 0, d = 0, c = 0, u = t.length - 1, p = t[0], g = t[u], S = r.length - 1, b = r[0], k = r[S], T, _;
189
+ for (; i <= u && a <= S; )
190
+ if (p == null)
191
+ p = t[++i];
192
+ else if (g == null)
193
+ g = t[--u];
194
+ else if (b == null)
195
+ b = r[++a];
196
+ else if (k == null)
197
+ k = r[--S];
198
+ else if (re(p, b, o))
199
+ Y(p, b, o), p = t[++i], b = r[++a];
200
+ else if (re(g, k, o))
201
+ Y(g, k, o), g = t[--u], k = r[--S];
202
+ else if (re(p, k, o))
203
+ Y(p, k, o), e.insertBefore(p.$elm$, g.$elm$.nextSibling), p = t[++i], k = r[--S];
204
+ else if (re(g, b, o))
205
+ Y(g, b, o), e.insertBefore(g.$elm$, p.$elm$), g = t[--u], b = r[++a];
206
+ else {
207
+ for (d = -1, c = i; c <= u; ++c)
208
+ if (t[c] && t[c].$key$ !== null && t[c].$key$ === b.$key$) {
209
+ d = c;
210
+ break;
211
+ }
212
+ d >= 0 ? (_ = t[d], _.$tag$ !== b.$tag$ ? T = ae(t && t[a], s, d) : (Y(_, b, o), t[d] = void 0, T = _.$elm$), b = r[++a]) : (T = ae(t && t[a], s, a), b = r[++a]), T && p.$elm$.parentNode.insertBefore(T, p.$elm$);
213
+ }
214
+ i > u ? bt(e, r[S + 1] == null ? null : r[S + 1].$elm$, s, r, a, S) : a > S && Et(t, i, u);
215
+ }, re = (e, t, s = !1) => e.$tag$ === t.$tag$ ? s ? !0 : e.$key$ === t.$key$ : !1, Y = (e, t, s = !1) => {
216
+ const r = t.$elm$ = e.$elm$, o = e.$children$, i = t.$children$, a = t.$tag$, d = t.$text$;
217
+ d === null ? (L = a === "svg" ? !0 : a === "foreignObject" ? !1 : L, a === "slot" || vt(e, t, L), o !== null && i !== null ? In(r, o, t, i, s) : i !== null ? (e.$text$ !== null && (r.textContent = ""), bt(r, null, t, i, 0, i.length - 1)) : o !== null && Et(o, 0, o.length - 1), L && a === "svg" && (L = !1)) : e.$text$ !== d && (r.data = d);
218
+ }, St = (e) => {
219
+ e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(St);
220
+ }, Ln = (e, t, s = !1) => {
221
+ const r = e.$hostElement$, o = e.$vnode$ || oe(null, null), i = Sn(t) ? t : gt(null, null, t);
222
+ if (_e = r.tagName, s && i.$attrs$)
223
+ for (const a of Object.keys(i.$attrs$))
224
+ r.hasAttribute(a) && !["key", "ref", "style", "class"].includes(a) && (i.$attrs$[a] = r[a]);
225
+ i.$tag$ = null, i.$flags$ |= 4, e.$vnode$ = i, i.$elm$ = o.$elm$ = r.shadowRoot || r, se = r["s-sc"], Y(o, i, s);
226
+ }, Ct = (e, t) => {
227
+ t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((s) => e.$onRenderResolve$ = s));
228
+ }, ce = (e, t) => {
229
+ if (e.$flags$ |= 16, e.$flags$ & 4) {
230
+ e.$flags$ |= 512;
231
+ return;
232
+ }
233
+ return Ct(e, e.$ancestorComponent$), er(() => An(e, t));
234
+ }, An = (e, t) => {
235
+ const s = M("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
236
+ let o;
237
+ return t ? (e.$flags$ |= 256, e.$queuedListeners$ && (e.$queuedListeners$.map(([i, a]) => F(r, i, a)), e.$queuedListeners$ = void 0), o = F(r, "componentWillLoad")) : o = F(r, "componentWillUpdate"), o = at(o, () => F(r, "componentWillRender")), s(), at(o, () => Dn(e, r, t));
238
+ }, at = (e, t) => jn(e) ? e.then(t) : t(), jn = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Dn = async (e, t, s) => {
239
+ var r;
240
+ const o = e.$hostElement$, i = M("update", e.$cmpMeta$.$tagName$), a = o["s-rc"];
241
+ s && On(e);
242
+ const d = M("render", e.$cmpMeta$.$tagName$);
243
+ Nn(e, t, o, s), a && (a.map((c) => c()), o["s-rc"] = void 0), d(), i();
244
+ {
245
+ const c = (r = o["s-p"]) !== null && r !== void 0 ? r : [], u = () => Hn(e);
246
+ c.length === 0 ? u() : (Promise.all(c).then(u), e.$flags$ |= 4, c.length = 0);
247
+ }
248
+ }, Nn = (e, t, s, r) => {
249
+ try {
250
+ Se = t, t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Ln(e, t, r);
251
+ } catch (o) {
252
+ $(o, e.$hostElement$);
253
+ }
254
+ return Se = null, null;
255
+ }, vr = () => Se, Hn = (e) => {
256
+ const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, r = M("postUpdate", t), o = e.$lazyInstance$, i = e.$ancestorComponent$;
257
+ F(o, "componentDidRender"), e.$flags$ & 64 ? (F(o, "componentDidUpdate"), r()) : (e.$flags$ |= 64, kt(s), F(o, "componentDidLoad"), r(), e.$onReadyResolve$(s), i || wt()), e.$onInstanceResolve$(s), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && Pe(() => ce(e, !1)), e.$flags$ &= -517;
258
+ }, br = (e) => {
259
+ {
260
+ const t = D(e), s = t.$hostElement$.isConnected;
261
+ return s && (t.$flags$ & 18) === 2 && ce(t, !1), s;
262
+ }
263
+ }, wt = (e) => {
264
+ kt(A.documentElement), Pe(() => yt(X, "appload", { detail: { namespace: pn } }));
265
+ }, F = (e, t, s) => {
266
+ if (e && e[t])
267
+ try {
268
+ return e[t](s);
269
+ } catch (r) {
270
+ $(r);
271
+ }
272
+ }, kt = (e) => e.classList.add("hydrated"), Fn = (e, t) => D(e).$instanceValues$.get(t), Mn = (e, t, s, r) => {
273
+ const o = D(e), i = o.$hostElement$, a = o.$instanceValues$.get(t), d = o.$flags$, c = o.$lazyInstance$;
274
+ s = kn(s, r.$members$[t][0]);
275
+ const u = Number.isNaN(a) && Number.isNaN(s), p = s !== a && !u;
276
+ if ((!(d & 8) || a === void 0) && p && (o.$instanceValues$.set(t, s), c)) {
277
+ if (r.$watchers$ && d & 128) {
278
+ const g = r.$watchers$[t];
279
+ g && g.map((S) => {
280
+ try {
281
+ c[S](s, a, t);
282
+ } catch (b) {
283
+ $(b, i);
284
+ }
285
+ });
286
+ }
287
+ (d & 18) === 2 && ce(o, !1);
288
+ }
289
+ }, Tt = (e, t, s) => {
290
+ var r;
291
+ const o = e.prototype;
292
+ if (t.$flags$ & 64 && s & 1 && $n.forEach((i) => Object.defineProperty(o, i, {
293
+ value(...a) {
294
+ const d = D(this), c = d.$lazyInstance$;
295
+ if (!c)
296
+ d.$onReadyPromise$.then((u) => {
297
+ const p = u[i];
298
+ typeof p == "function" && p.call(u, ...a);
299
+ });
300
+ else {
301
+ const u = c[i];
302
+ typeof u == "function" && u.call(c, ...a);
303
+ }
304
+ }
305
+ })), t.$members$) {
306
+ e.watchers && (t.$watchers$ = e.watchers);
307
+ const i = Object.entries(t.$members$);
308
+ if (i.map(([a, [d]]) => {
309
+ d & 31 || s & 2 && d & 32 ? Object.defineProperty(o, a, {
310
+ get() {
311
+ return Fn(this, a);
312
+ },
313
+ set(c) {
314
+ Mn(this, a, c, t);
315
+ },
316
+ configurable: !0,
317
+ enumerable: !0
318
+ }) : s & 1 && d & 64 && Object.defineProperty(o, a, {
319
+ value(...c) {
320
+ var u;
321
+ const p = D(this);
322
+ return (u = p == null ? void 0 : p.$onInstancePromise$) === null || u === void 0 ? void 0 : u.then(() => {
323
+ var g;
324
+ return (g = p.$lazyInstance$) === null || g === void 0 ? void 0 : g[a](...c);
325
+ });
326
+ }
327
+ });
328
+ }), s & 1) {
329
+ const a = /* @__PURE__ */ new Map();
330
+ o.attributeChangedCallback = function(d, c, u) {
331
+ x.jmp(() => {
332
+ var p;
333
+ const g = a.get(d);
334
+ if (this.hasOwnProperty(g))
335
+ u = this[g], delete this[g];
336
+ else {
337
+ if (o.hasOwnProperty(g) && typeof this[g] == "number" && this[g] == u)
338
+ return;
339
+ if (g == null) {
340
+ const S = D(this), b = S == null ? void 0 : S.$flags$;
341
+ if (b && !(b & 8) && b & 128 && u !== c) {
342
+ const k = S.$lazyInstance$, T = (p = t.$watchers$) === null || p === void 0 ? void 0 : p[d];
343
+ T == null || T.forEach((_) => {
344
+ k[_] != null && k[_].call(k, u, c, d);
345
+ });
346
+ }
347
+ return;
348
+ }
349
+ }
350
+ this[g] = u === null && typeof this[g] == "boolean" ? !1 : u;
351
+ });
352
+ }, e.observedAttributes = Array.from(/* @__PURE__ */ new Set([
353
+ ...Object.keys((r = t.$watchers$) !== null && r !== void 0 ? r : {}),
354
+ ...i.filter(
355
+ ([d, c]) => c[0] & 15
356
+ /* MEMBER_FLAGS.HasAttribute */
357
+ ).map(([d, c]) => {
358
+ const u = c[1] || d;
359
+ return a.set(u, d), u;
360
+ })
361
+ ]));
362
+ }
363
+ }
364
+ return e;
365
+ }, Un = async (e, t, s, r) => {
366
+ let o;
367
+ if (!(t.$flags$ & 32)) {
368
+ t.$flags$ |= 32;
369
+ {
370
+ if (o = Kn(s), o.then) {
371
+ const c = gn();
372
+ o = await o, c();
373
+ }
374
+ o.isProxied || (s.$watchers$ = o.watchers, Tt(
375
+ o,
376
+ s,
377
+ 2
378
+ /* PROXY_FLAGS.proxyState */
379
+ ), o.isProxied = !0);
380
+ const d = M("createInstance", s.$tagName$);
381
+ t.$flags$ |= 8;
382
+ try {
383
+ new o(t);
384
+ } catch (c) {
385
+ $(c);
386
+ }
387
+ t.$flags$ &= -9, t.$flags$ |= 128, d(), we(t.$lazyInstance$);
388
+ }
389
+ if (o.style) {
390
+ let d = o.style;
391
+ const c = $t(s);
392
+ if (!ie.has(c)) {
393
+ const u = M("registerStyles", s.$tagName$);
394
+ _n(c, d, !!(s.$flags$ & 1)), u();
395
+ }
396
+ }
397
+ }
398
+ const i = t.$ancestorComponent$, a = () => ce(t, !0);
399
+ i && i["s-rc"] ? i["s-rc"].push(a) : a();
400
+ }, we = (e) => {
401
+ F(e, "connectedCallback");
402
+ }, zn = (e) => {
403
+ if (!(x.$flags$ & 1)) {
404
+ const t = D(e), s = t.$cmpMeta$, r = M("connectedCallback", s.$tagName$);
405
+ if (t.$flags$ & 1)
406
+ _t(e, t, s.$listeners$), t != null && t.$lazyInstance$ ? we(t.$lazyInstance$) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => we(t.$lazyInstance$));
407
+ else {
408
+ t.$flags$ |= 1;
409
+ {
410
+ let o = e;
411
+ for (; o = o.parentNode || o.host; )
412
+ if (o["s-p"]) {
413
+ Ct(t, t.$ancestorComponent$ = o);
414
+ break;
415
+ }
416
+ }
417
+ s.$members$ && Object.entries(s.$members$).map(([o, [i]]) => {
418
+ if (i & 31 && e.hasOwnProperty(o)) {
419
+ const a = e[o];
420
+ delete e[o], e[o] = a;
421
+ }
422
+ }), Un(e, t, s);
423
+ }
424
+ r();
425
+ }
426
+ }, it = (e) => {
427
+ F(e, "disconnectedCallback");
428
+ }, Bn = async (e) => {
429
+ if (!(x.$flags$ & 1)) {
430
+ const t = D(e);
431
+ t.$rmListeners$ && (t.$rmListeners$.map((s) => s()), t.$rmListeners$ = void 0), t != null && t.$lazyInstance$ ? it(t.$lazyInstance$) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => it(t.$lazyInstance$));
432
+ }
433
+ }, Wn = (e, t = {}) => {
434
+ var s;
435
+ const r = M(), o = [], i = t.exclude || [], a = X.customElements, d = A.head, c = /* @__PURE__ */ d.querySelector("meta[charset]"), u = /* @__PURE__ */ A.createElement("style"), p = [];
436
+ let g, S = !0;
437
+ Object.assign(x, t), x.$resourcesUrl$ = new URL(t.resourcesUrl || "./", A.baseURI).href;
438
+ let b = !1;
439
+ if (e.map((k) => {
440
+ k[1].map((T) => {
441
+ var _;
442
+ const R = {
443
+ $flags$: T[0],
444
+ $tagName$: T[1],
445
+ $members$: T[2],
446
+ $listeners$: T[3]
447
+ };
448
+ R.$flags$ & 4 && (b = !0), R.$members$ = T[2], R.$listeners$ = T[3], R.$watchers$ = (_ = T[4]) !== null && _ !== void 0 ? _ : {};
449
+ const w = R.$tagName$, Q = class extends HTMLElement {
450
+ // StencilLazyHost
451
+ constructor(z) {
452
+ super(z), z = this, Jn(z, R), R.$flags$ & 1 && z.attachShadow({ mode: "open" });
453
+ }
454
+ connectedCallback() {
455
+ g && (clearTimeout(g), g = null), S ? p.push(this) : x.jmp(() => zn(this));
456
+ }
457
+ disconnectedCallback() {
458
+ x.jmp(() => Bn(this));
459
+ }
460
+ componentOnReady() {
461
+ return D(this).$onReadyPromise$;
462
+ }
463
+ };
464
+ R.$flags$ & 64 && (Q.formAssociated = !0), R.$lazyBundleId$ = k[0], !i.includes(w) && !a.get(w) && (o.push(w), a.define(w, Tt(
465
+ Q,
466
+ R,
467
+ 1
468
+ /* PROXY_FLAGS.isElementConstructor */
469
+ )));
470
+ });
471
+ }), b && (u.innerHTML += ht), u.innerHTML += o + yn, u.innerHTML.length) {
472
+ u.setAttribute("data-styles", "");
473
+ const k = (s = x.$nonce$) !== null && s !== void 0 ? s : pt(A);
474
+ k != null && u.setAttribute("nonce", k), d.insertBefore(u, c ? c.nextSibling : d.firstChild);
475
+ }
476
+ S = !1, p.length ? p.map((k) => k.connectedCallback()) : x.jmp(() => g = setTimeout(wt, 30)), r();
477
+ }, Er = (e, t) => t, _t = (e, t, s, r) => {
478
+ s && s.map(([o, i, a]) => {
479
+ const d = qn(e, o), c = Yn(t, a), u = Gn(o);
480
+ x.ael(d, i, c, u), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => x.rel(d, i, c, u));
481
+ });
482
+ }, Yn = (e, t) => (s) => {
483
+ try {
484
+ e.$flags$ & 256 ? e.$lazyInstance$[t](s) : (e.$queuedListeners$ = e.$queuedListeners$ || []).push([t, s]);
485
+ } catch (r) {
486
+ $(r);
487
+ }
488
+ }, qn = (e, t) => t & 4 ? A : t & 8 ? X : t & 16 ? A.body : e, Gn = (e) => Xn ? {
489
+ passive: (e & 1) !== 0,
490
+ capture: (e & 2) !== 0
491
+ } : (e & 2) !== 0, Oe = /* @__PURE__ */ new WeakMap(), D = (e) => Oe.get(e), Sr = (e, t) => Oe.set(t.$lazyInstance$ = e, t), Jn = (e, t) => {
492
+ const s = {
493
+ $flags$: 0,
494
+ $hostElement$: e,
495
+ $cmpMeta$: t,
496
+ $instanceValues$: /* @__PURE__ */ new Map()
497
+ };
498
+ return s.$onInstancePromise$ = new Promise((r) => s.$onInstanceResolve$ = r), s.$onReadyPromise$ = new Promise((r) => s.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], _t(e, s, t.$listeners$), Oe.set(e, s);
499
+ }, lt = (e, t) => t in e, $ = (e, t) => (0, console.error)(e, t), be = /* @__PURE__ */ new Map(), Kn = (e, t, s) => {
500
+ const r = e.$tagName$.replace(/-/g, "_"), o = e.$lazyBundleId$, i = be.get(o);
501
+ if (i)
502
+ return i[r];
503
+ if (!s || !BUILD.hotModuleReplacement) {
504
+ const a = (d) => (be.set(o, d), d[r]);
505
+ switch (o) {
506
+ case "nylas-if-state_3":
507
+ return import(
508
+ /* webpackMode: "lazy" */
509
+ "./nylas-if-state_3.entry-e7b615a1.js"
510
+ ).then(a, $);
511
+ case "document-refresh-icon":
512
+ return import(
513
+ /* webpackMode: "lazy" */
514
+ "./document-refresh-icon.entry-8791ab16.js"
515
+ ).then(a, $);
516
+ case "nylas-list-folders":
517
+ return import(
518
+ /* webpackMode: "lazy" */
519
+ "./nylas-list-folders.entry-744293ae.js"
520
+ ).then(a, $);
521
+ case "nylas-list-threads":
522
+ return import(
523
+ /* webpackMode: "lazy" */
524
+ "./nylas-list-threads.entry-85ad1b74.js"
525
+ ).then(a, $);
526
+ case "nylas-mailbox-pagination":
527
+ return import(
528
+ /* webpackMode: "lazy" */
529
+ "./nylas-mailbox-pagination.entry-55ef4b8c.js"
530
+ ).then(a, $);
531
+ case "nylas-mailbox-toolbar-button":
532
+ return import(
533
+ /* webpackMode: "lazy" */
534
+ "./nylas-mailbox-toolbar-button.entry-bdcf7d17.js"
535
+ ).then(a, $);
536
+ case "nylas-open-hours-picker":
537
+ return import(
538
+ /* webpackMode: "lazy" */
539
+ "./nylas-open-hours-picker.entry-7e7060fe.js"
540
+ ).then(a, $);
541
+ case "nylas-provider":
542
+ return import(
543
+ /* webpackMode: "lazy" */
544
+ "./nylas-provider.entry-1dc58829.js"
545
+ ).then(a, $);
546
+ case "nylas-scheduler":
547
+ return import(
548
+ /* webpackMode: "lazy" */
549
+ "./nylas-scheduler.entry-7084c148.js"
550
+ ).then(a, $);
551
+ case "nylas-scheduler-config":
552
+ return import(
553
+ /* webpackMode: "lazy" */
554
+ "./nylas-scheduler-config.entry-2382ac1b.js"
555
+ ).then(a, $);
556
+ case "nylas-threads-refresh":
557
+ return import(
558
+ /* webpackMode: "lazy" */
559
+ "./nylas-threads-refresh.entry-ef5d6dfd.js"
560
+ ).then(a, $);
561
+ case "nylas-threads-search":
562
+ return import(
563
+ /* webpackMode: "lazy" */
564
+ "./nylas-threads-search.entry-e570bf8e.js"
565
+ ).then(a, $);
566
+ case "nylas-view-thread":
567
+ return import(
568
+ /* webpackMode: "lazy" */
569
+ "./nylas-view-thread.entry-3939c913.js"
570
+ ).then(a, $);
571
+ case "people-icon":
572
+ return import(
573
+ /* webpackMode: "lazy" */
574
+ "./people-icon.entry-69465395.js"
575
+ ).then(a, $);
576
+ case "archive-icon_7":
577
+ return import(
578
+ /* webpackMode: "lazy" */
579
+ "./archive-icon_7.entry-187a3484.js"
580
+ ).then(a, $);
581
+ case "arrow-icon":
582
+ return import(
583
+ /* webpackMode: "lazy" */
584
+ "./arrow-icon.entry-b782e05a.js"
585
+ ).then(a, $);
586
+ case "forward-icon_6":
587
+ return import(
588
+ /* webpackMode: "lazy" */
589
+ "./forward-icon_6.entry-cb605bfc.js"
590
+ ).then(a, $);
591
+ case "nylas-booked-event-card_10":
592
+ return import(
593
+ /* webpackMode: "lazy" */
594
+ "./nylas-booked-event-card_10.entry-a166d51d.js"
595
+ ).then(a, $);
596
+ case "nylas-scheduler-editor":
597
+ return import(
598
+ /* webpackMode: "lazy" */
599
+ "./nylas-scheduler-editor.entry-c0479087.js"
600
+ ).then(a, $);
601
+ case "bold-icon_3":
602
+ return import(
603
+ /* webpackMode: "lazy" */
604
+ "./bold-icon_3.entry-8aebbbdb.js"
605
+ ).then(a, $);
606
+ case "calendar-check-icon_2":
607
+ return import(
608
+ /* webpackMode: "lazy" */
609
+ "./calendar-check-icon_2.entry-1bf4163c.js"
610
+ ).then(a, $);
611
+ case "add-circle-icon_13":
612
+ return import(
613
+ /* webpackMode: "lazy" */
614
+ "./add-circle-icon_13.entry-ab84be80.js"
615
+ ).then(a, $);
616
+ case "play-icon_2":
617
+ return import(
618
+ /* webpackMode: "lazy" */
619
+ "./play-icon_2.entry-bc24fda7.js"
620
+ ).then(a, $);
621
+ case "refresh-icon":
622
+ return import(
623
+ /* webpackMode: "lazy" */
624
+ "./refresh-icon.entry-bd2bf7ce.js"
625
+ ).then(a, $);
626
+ case "translate-icon":
627
+ return import(
628
+ /* webpackMode: "lazy" */
629
+ "./translate-icon.entry-c1fcd2f8.js"
630
+ ).then(a, $);
631
+ case "warning-icon":
632
+ return import(
633
+ /* webpackMode: "lazy" */
634
+ "./warning-icon.entry-9631cd2e.js"
635
+ ).then(a, $);
636
+ case "calendar-cancel-icon":
637
+ return import(
638
+ /* webpackMode: "lazy" */
639
+ "./calendar-cancel-icon.entry-305c099c.js"
640
+ ).then(a, $);
641
+ case "calendar-icon":
642
+ return import(
643
+ /* webpackMode: "lazy" */
644
+ "./calendar-icon.entry-b5678535.js"
645
+ ).then(a, $);
646
+ case "info-icon":
647
+ return import(
648
+ /* webpackMode: "lazy" */
649
+ "./info-icon.entry-3774a4e3.js"
650
+ ).then(a, $);
651
+ case "loading-icon":
652
+ return import(
653
+ /* webpackMode: "lazy" */
654
+ "./loading-icon.entry-8941102c.js"
655
+ ).then(a, $);
656
+ case "nylas-form-card":
657
+ return import(
658
+ /* webpackMode: "lazy" */
659
+ "./nylas-form-card.entry-7173dd4a.js"
660
+ ).then(a, $);
661
+ case "globe-icon_3":
662
+ return import(
663
+ /* webpackMode: "lazy" */
664
+ "./globe-icon_3.entry-71d83904.js"
665
+ ).then(a, $);
666
+ case "close-icon":
667
+ return import(
668
+ /* webpackMode: "lazy" */
669
+ "./close-icon.entry-24d5c268.js"
670
+ ).then(a, $);
671
+ case "chevron-icon":
672
+ return import(
673
+ /* webpackMode: "lazy" */
674
+ "./chevron-icon.entry-f484c9a3.js"
675
+ ).then(a, $);
676
+ }
677
+ }
678
+ return import(
679
+ /* @vite-ignore */
680
+ /* webpackInclude: /\.entry\.js$/ */
681
+ /* webpackExclude: /\.system\.entry\.js$/ */
682
+ /* webpackMode: "lazy" */
683
+ `./${o}.entry.js`
684
+ ).then((a) => (be.set(o, a), a[r]), $);
685
+ }, ie = /* @__PURE__ */ new Map(), X = typeof window < "u" ? window : {}, A = X.document || { head: {} }, x = {
686
+ $flags$: 0,
687
+ $resourcesUrl$: "",
688
+ jmp: (e) => e(),
689
+ raf: (e) => requestAnimationFrame(e),
690
+ ael: (e, t, s, r) => e.addEventListener(t, s, r),
691
+ rel: (e, t, s, r) => e.removeEventListener(t, s, r),
692
+ ce: (e, t) => new CustomEvent(e, t)
693
+ }, Xn = /* @__PURE__ */ (() => {
694
+ let e = !1;
695
+ try {
696
+ A.addEventListener("e", null, Object.defineProperty({}, "passive", {
697
+ get() {
698
+ e = !0;
699
+ }
700
+ }));
701
+ } catch {
702
+ }
703
+ return e;
704
+ })(), Qn = (e) => Promise.resolve(e), Zn = /* @__PURE__ */ (() => {
705
+ try {
706
+ return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
707
+ } catch {
708
+ }
709
+ return !1;
710
+ })(), ct = [], Rt = [], Vn = (e, t) => (s) => {
711
+ e.push(s), Ce || (Ce = !0, t && x.$flags$ & 4 ? Pe(ke) : x.raf(ke));
712
+ }, dt = (e) => {
713
+ for (let t = 0; t < e.length; t++)
714
+ try {
715
+ e[t](performance.now());
716
+ } catch (s) {
717
+ $(s);
718
+ }
719
+ e.length = 0;
720
+ }, ke = () => {
721
+ dt(ct), dt(Rt), (Ce = ct.length > 0) && x.raf(ke);
722
+ }, Pe = (e) => Qn().then(e), er = /* @__PURE__ */ Vn(Rt, !0);
723
+ async function tr() {
724
+ await import("./elements-dc5b338e-fb5dbfb5.js");
725
+ }
726
+ const nr = tr, Cr = (e, t) => {
727
+ if (!(typeof window > "u"))
728
+ return nr(), Wn(JSON.parse('[["nylas-scheduler",[[1,"nylas-scheduler",{"mode":[1],"defaultSchedulerStoreState":[16],"sessionId":[1,"session-id"],"schedulerApiUrl":[1,"scheduler-api-url"],"bookingInfo":[16],"rescheduleBookingId":[1,"reschedule-booking-id"],"cancelBookingId":[1,"cancel-booking-id"],"eventOverrides":[16],"isLoading":[4,"is-loading"],"themeConfig":[16],"showNotification":[4,"show-notification"],"automaticComponentRegistration":[32],"selectedDateLabel":[32],"getNylasSchedulerStore":[64],"getNylasSchedulerConnector":[64],"getRef":[64]},[[0,"registerComponent","registerComponentHandler"],[0,"unregisterComponent","unregisterComponentHandler"],[0,"monthChanged","monthChangedHandler"],[0,"detailsConfirmed","bookButtonClickedHandler"],[0,"dateSelected","dateSelectedHandler"],[0,"cancelBookedEventError","cancelBookedEventErrorHandler"],[0,"rescheduleBookedEventError","rescheduleBookedEventErrorHandler"]],{"bookingInfo":["bookingInfoChanged"]}]]],["nylas-scheduler-config",[[1,"nylas-scheduler-config",{"authConfig":[16],"eventOverrides":[16],"defaultAuthStoreState":[16],"defaultSchedulerConfigStoreState":[16],"mode":[1],"automaticComponentRegistration":[32],"loggedInUser":[32]},[[0,"registerComponent","registerComponentHandler"],[0,"unregisterComponent","unregisterComponentHandler"],[0,"schedulerConfigChanged","schedulerConfigChangedHandler"]]]]],["nylas-view-thread",[[1,"nylas-view-thread",{"draft":[16],"thread":[16],"messages":[16],"attachments":[16],"state":[32],"internalMessages":[32],"showAllEmails":[32],"showComposer":[32]},null,{"thread":["threadChanged"],"messages":["updateInternalMessages"]}]]],["nylas-list-folders",[[1,"nylas-list-folders",{"folders":[16],"selectedFolder":[1,"selected-folder"],"defaultFolders":[32],"otherFolders":[32]},null,{"folders":["watchFolders"]}]]],["nylas-mailbox-pagination",[[1,"nylas-mailbox-pagination",{"state":[1],"hasNextPage":[4,"has-next-page"],"hasPreviousPage":[4,"has-previous-page"],"scrollTarget":[1,"scroll-target"],"mobileOnlyInfiniteScroll":[4,"mobile-only-infinite-scroll"],"mobileViewPortWidth":[2,"mobile-view-port-width"],"nextPage":[64],"previousPage":[64]},[[9,"scroll","handlePageScroll"]]]]],["nylas-threads-refresh",[[1,"nylas-threads-refresh",{"start":[32],"state":[32],"pulling":[32],"updateState":[64]}]]],["nylas-if-state_3",[[1,"nylas-if-state",{"state":[1],"isStateSet":[4,"is-state-set"],"isBoolean":[4,"is-boolean"],"getStore":[16],"transition":[1],"show":[32],"classes":[32]},null,{"getStore":["onGetStoreChange"]}],[1,"nylas-login",{"isAuthenticated":[4,"is-authenticated"],"nylasConnector":[16],"scopes":[16],"loginMethod":[1,"login-method"],"companyName":[1,"company-name"],"logoUrl":[1,"logo-url"],"logoWidth":[1,"logo-width"],"providers":[1],"buttonText":[1,"button-text"],"email":[32]}],[1,"nylas-mailbox",{"automaticComponentRegistration":[4,"automatic-component-registration"],"eventOverrides":[16],"authConfig":[16],"defaultAuthStoreState":[16],"defaultMailboxStoreState":[16],"getMailboxStore":[64],"getAuthStore":[64],"getNylasAuth":[64],"getNylasMailboxConnector":[64]},[[0,"registerComponent","registerComponentHandler"],[0,"unregisterComponent","unregisterComponentHandler"]]]]],["document-refresh-icon",[[2,"document-refresh-icon",{"width":[1],"height":[1]}]]],["nylas-list-threads",[[1,"nylas-list-threads",{"threads":[16],"isAuthenticated":[4,"is-authenticated"],"tokenInfo":[16],"state":[1],"showCheckbox":[4,"show-checkbox"]}]]],["nylas-mailbox-toolbar-button",[[1,"nylas-mailbox-toolbar-button",{"method":[1],"dataState":[1,"data-state"],"iconOnly":[4,"icon-only"],"mailboxConnector":[16]}]]],["nylas-open-hours-picker",[[1,"nylas-open-hours-picker",{"openHours":[16],"startTime":[1040],"endTime":[1040],"stepMinutes":[2,"step-minutes"],"dragThreshold":[2,"drag-threshold"],"mobileViewPortWidth":[2,"mobile-view-port-width"],"intervalMinutes":[32],"times":[32],"availableTimes":[32],"draggingStartDate":[32],"draggingEndDate":[32],"inverse":[32],"isMobile":[32]},[[9,"resize","onResize"]],{"openHours":["whenOpenHoursChanged"],"availableTimes":["availableTimesChanged"],"inverse":["inverseChanged"]}]]],["nylas-provider",[[1,"nylas-provider",{"authConfig":[16],"eventOverrides":[16],"automaticComponentRegistration":[4,"automatic-component-registration"],"getNylasAuth":[64],"getNylasConnector":[64],"getMailboxStore":[64],"getAuthStore":[64],"getNylasSchedulerStore":[64],"getNylasSchedulerConfigStore":[64]},[[0,"registerComponent","registerComponentHandler"],[0,"unregisterComponent","unregisterComponentHandler"]]]]],["nylas-threads-search",[[1,"nylas-threads-search",{"query":[1],"internalQuery":[32]},null,{"query":["onQueryChange"]}]]],["people-icon",[[2,"people-icon",{"width":[1],"height":[1]}]]],["info-icon",[[2,"info-icon",{"width":[1],"height":[1]}]]],["nylas-form-card",[[65,"nylas-form-card"]]],["close-icon",[[2,"close-icon",{"width":[1],"height":[1]}]]],["nylas-scheduler-editor",[[1,"nylas-scheduler-editor",{"calendars":[16],"config":[16],"activeTab":[32],"formState":[32]},null,{"config":["configChangedHandler"]}]]],["arrow-icon",[[2,"arrow-icon",{"width":[1],"height":[1]}]]],["refresh-icon",[[2,"refresh-icon",{"width":[1],"height":[1]}]]],["translate-icon",[[2,"translate-icon",{"width":[1],"height":[1]}]]],["warning-icon",[[2,"warning-icon",{"width":[1],"height":[1]}]]],["calendar-cancel-icon",[[2,"calendar-cancel-icon",{"width":[1],"height":[1]}]]],["calendar-icon",[[2,"calendar-icon",{"width":[1],"height":[1]}]]],["calendar-check-icon_2",[[2,"calendar-check-icon",{"width":[1],"height":[1]}],[2,"checkmark-circle-icon",{"width":[1],"height":[1]}]]],["play-icon_2",[[2,"play-icon",{"width":[1],"height":[1]}],[2,"stop-icon",{"width":[1],"height":[1]}]]],["loading-icon",[[1,"loading-icon",{"width":[1],"height":[1]}]]],["bold-icon_3",[[2,"bold-icon",{"width":[1],"height":[1]}],[2,"italic-icon",{"width":[1],"height":[1]}],[2,"underline-icon",{"width":[1],"height":[1]}]]],["forward-icon_6",[[1,"nylas-composer",{"message":[16],"viewEmailElement":[16]},null,{"message":["watchBody"]}],[1,"nylas-summarize-message-button",{"message":[16],"state":[32],"updateState":[64],"playAudio":[64]}],[2,"forward-icon",{"width":[1],"height":[1]}],[1,"nylas-view-email",{"message":[16],"parent":[16],"attachments":[16],"detectDarkMode":[4,"detect-dark-mode"],"state":[32],"sanitizedBody":[32],"styles":[32],"viewEmailElement":[32],"hoistedFontURLs":[32]},[[9,"resize","handleScroll"]],{"message":["messageChanged"],"viewEmailElement":["viewEmailElementChanged"]}],[2,"reply-all-icon",{"width":[1],"height":[1]}],[2,"reply-icon",{"width":[1],"height":[1]}]]],["archive-icon_7",[[2,"archive-icon",{"width":[1],"height":[1]}],[2,"folder-icon",{"width":[1],"height":[1]}],[2,"inbox-icon",{"width":[1],"height":[1]}],[2,"sent-icon",{"width":[1],"height":[1]}],[2,"spam-icon",{"width":[1],"height":[1]}],[2,"star-icon",{"width":[1],"height":[1]}],[2,"trash-icon",{"width":[1],"height":[1]}]]],["chevron-icon",[[2,"chevron-icon",{"width":[1],"height":[1]}]]],["globe-icon_3",[[1,"select-dropdown",{"name":[1],"options":[16],"defaultSelectedOption":[16],"withSearch":[4,"with-search"],"selectedOption":[32],"isOpen":[32],"searchValue":[32],"filteredOptions":[32],"ariaActivedescendant":[32]},[[4,"click","handleOutsideClick"]],{"defaultSelectedOption":["defaultSelectedOptionChangedHandler"]}],[2,"globe-icon",{"width":[1],"height":[1]}],[2,"search-icon",{"width":[1],"height":[1]}]]],["nylas-booked-event-card_10",[[1,"nylas-locale-switch",{"selectedTimezone":[1025,"selected-timezone"],"selectedLanguage":[1025,"selected-language"]},[[0,"selectedOptionChanged","selectedOptionChangedHandler"]]],[1,"nylas-booked-event-card",{"eventInfo":[16],"bookingFlow":[1,"booking-flow"],"bookingInfo":[8,"booking-info"],"selectedTimezone":[1,"selected-timezone"],"selectedTimeslot":[16]}],[1,"nylas-notification",{"ttl":[2],"allowedCategories":[16],"notifications":[32]},[[16,"nylasSchedulerError","onError"],[16,"nylasSchedulerWarning","onWarning"],[16,"nylasSchedulerInfo","onInfo"],[16,"nylasSchedulerSuccess","onSuccess"]]],[1,"nylas-selected-event-card",{"selectedDate":[16],"selectedTimeslot":[16],"selectedTimezone":[1,"selected-timezone"],"startTime":[32],"endTime":[32]},null,{"selectedTimeslot":["handleSelectedTimeslotChange"]}],[1,"nylas-booking-form",{"isLoading":[4,"is-loading"],"bookingInfo":[8,"booking-info"],"eventInfo":[16],"name":[32],"email":[32],"guestEmails":[32],"guestEmailErrors":[32],"isNameValid":[32],"isEmailValid":[32],"validationError":[32]},null,{"bookingInfo":["bookingInfoChangedHandler"]}],[1,"nylas-cancel-booking-form",{"cancelBookingId":[1,"cancel-booking-id"],"cancellationReason":[32],"cancellationError":[32]}],[1,"nylas-cancelled-event-card",{"cancelledEvent":[16]}],[1,"nylas-date-picker",{"selectableDates":[16],"selectedDate":[16],"isLoading":[4,"is-loading"],"month":[32],"dates":[32]}],[2,"nylas-logo",{"width":[1],"height":[1]}],[1,"nylas-timeslot-picker",{"selectedDate":[16],"availability":[16],"selectedTimeslot":[16],"isLoading":[4,"loading-state"],"selectedTimezone":[1,"selected-timezone"],"times":[32],"hoveredTimeslotIndex":[32],"selectedTimeslotIndex":[32]},null,{"selectedDate":["selectedDateChanged"],"availability":["availabilityChanged"]}]]],["add-circle-icon_13",[[65,"nylas-availability-picker",{"openHours":[16],"name":[1],"schedule":[32],"timezone":[32],"defaultTimezone":[32],"overlapDays":[32]},[[0,"selectedOptionChanged","selectedOptionChangedHandler"]],{"name":["elementNameChangedHandler"],"schedule":["scheduleChanged"]}],[65,"nylas-calendar-picker",{"calendars":[16],"organizerEmail":[1,"organizer-email"],"name":[1],"defaultSelectedCalendars":[16],"selectedCalendars":[32]},[[0,"selectedOptionsChanged","selectedOptionsChangedHandler"]],{"name":["elementNameChangedHandler"]}],[65,"nylas-event-duration",{"name":[1],"eventDurationMinutes":[2,"event-duration-minutes"],"duration":[32],"durationMinutes":[32],"durationIncrement":[32]},[[0,"selectedOptionChanged","selectedOptionChangedHandler"]],{"name":["elementNameChangedHandler"]}],[65,"nylas-additional-participants",{"name":[1],"eventParticipants":[16],"participants":[32],"participantsValid":[32]},null,{"name":["elementNameChangedHandler"]}],[65,"nylas-event-info"],[2,"calendar-info-icon",{"width":[1],"height":[1]}],[2,"calendar-patterns-icon",{"width":[1],"height":[1]}],[65,"nylas-event-description",{"eventDescription":[1,"event-description"],"name":[1],"description":[32]},null,{"name":["elementNameChangedHandler"]}],[65,"nylas-event-title",{"eventTitle":[1,"event-title"],"name":[1],"title":[32]},null,{"name":["elementNameChangedHandler"]}],[1,"multi-select-dropdown",{"name":[1],"label":[1],"options":[16],"defaultSelectedOptions":[16],"availableOptions":[32],"isOpen":[32],"ariaActivedescendant":[32],"shouldFocusFirstOption":[32]},[[4,"click","handleOutsideClick"]]],[2,"add-circle-icon",{"width":[1],"height":[1]}],[1,"nylas-time-window-picker",{"time":[1],"minimumStartTime":[1,"minimum-start-time"],"placeholder":[1],"setTime":[16],"name":[1],"hasError":[4,"has-error"],"setFormError":[16],"err":[32],"showTimes":[32],"ariaActivedescendant":[32],"times":[32],"shouldAutoScroll":[32]},[[4,"click","handleOutsideClick"]],{"minimumStartTime":["minimumStartTimeChangedHandler"]}],[1,"tooltip-component",{"position":[1]}]]]]'), t);
729
+ };
730
+ (function() {
731
+ if (typeof window < "u" && window.Reflect !== void 0 && window.customElements !== void 0) {
732
+ var e = HTMLElement;
733
+ window.HTMLElement = function() {
734
+ return Reflect.construct(e, [], this.constructor);
735
+ }, HTMLElement.prototype = e.prototype, HTMLElement.prototype.constructor = HTMLElement, Object.setPrototypeOf(HTMLElement, e);
736
+ }
737
+ })();
738
+ var Te = { exports: {} }, J = {};
739
+ /**
740
+ * @license React
741
+ * react-jsx-runtime.production.min.js
742
+ *
743
+ * Copyright (c) Facebook, Inc. and its affiliates.
744
+ *
745
+ * This source code is licensed under the MIT license found in the
746
+ * LICENSE file in the root directory of this source tree.
747
+ */
748
+ var ut;
749
+ function rr() {
750
+ if (ut)
751
+ return J;
752
+ ut = 1;
753
+ var e = le, t = Symbol.for("react.element"), s = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
754
+ function a(d, c, u) {
755
+ var p, g = {}, S = null, b = null;
756
+ u !== void 0 && (S = "" + u), c.key !== void 0 && (S = "" + c.key), c.ref !== void 0 && (b = c.ref);
757
+ for (p in c)
758
+ r.call(c, p) && !i.hasOwnProperty(p) && (g[p] = c[p]);
759
+ if (d && d.defaultProps)
760
+ for (p in c = d.defaultProps, c)
761
+ g[p] === void 0 && (g[p] = c[p]);
762
+ return { $$typeof: t, type: d, key: S, ref: b, props: g, _owner: o.current };
763
+ }
764
+ return J.Fragment = s, J.jsx = a, J.jsxs = a, J;
765
+ }
766
+ var K = {};
767
+ /**
768
+ * @license React
769
+ * react-jsx-runtime.development.js
770
+ *
771
+ * Copyright (c) Facebook, Inc. and its affiliates.
772
+ *
773
+ * This source code is licensed under the MIT license found in the
774
+ * LICENSE file in the root directory of this source tree.
775
+ */
776
+ var ft;
777
+ function sr() {
778
+ return ft || (ft = 1, process.env.NODE_ENV !== "production" && function() {
779
+ var e = le, t = Symbol.for("react.element"), s = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), d = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), k = Symbol.iterator, T = "@@iterator";
780
+ function _(n) {
781
+ if (n === null || typeof n != "object")
782
+ return null;
783
+ var l = k && n[k] || n[T];
784
+ return typeof l == "function" ? l : null;
785
+ }
786
+ var R = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
787
+ function w(n) {
788
+ {
789
+ for (var l = arguments.length, h = new Array(l > 1 ? l - 1 : 0), y = 1; y < l; y++)
790
+ h[y - 1] = arguments[y];
791
+ Q("error", n, h);
792
+ }
793
+ }
794
+ function Q(n, l, h) {
795
+ {
796
+ var y = R.ReactDebugCurrentFrame, E = y.getStackAddendum();
797
+ E !== "" && (l += "%s", h = h.concat([E]));
798
+ var C = h.map(function(v) {
799
+ return String(v);
800
+ });
801
+ C.unshift("Warning: " + l), Function.prototype.apply.call(console[n], console, C);
802
+ }
803
+ }
804
+ var z = !1, xt = !1, It = !1, Lt = !1, At = !1, xe;
805
+ xe = Symbol.for("react.module.reference");
806
+ function jt(n) {
807
+ return !!(typeof n == "string" || typeof n == "function" || n === r || n === i || At || n === o || n === u || n === p || Lt || n === b || z || xt || It || typeof n == "object" && n !== null && (n.$$typeof === S || n.$$typeof === g || n.$$typeof === a || n.$$typeof === d || n.$$typeof === c || // This needs to include all possible module reference object
808
+ // types supported by any Flight configuration anywhere since
809
+ // we don't know which Flight build this will end up being used
810
+ // with.
811
+ n.$$typeof === xe || n.getModuleId !== void 0));
812
+ }
813
+ function Dt(n, l, h) {
814
+ var y = n.displayName;
815
+ if (y)
816
+ return y;
817
+ var E = l.displayName || l.name || "";
818
+ return E !== "" ? h + "(" + E + ")" : h;
819
+ }
820
+ function Ie(n) {
821
+ return n.displayName || "Context";
822
+ }
823
+ function N(n) {
824
+ if (n == null)
825
+ return null;
826
+ if (typeof n.tag == "number" && w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof n == "function")
827
+ return n.displayName || n.name || null;
828
+ if (typeof n == "string")
829
+ return n;
830
+ switch (n) {
831
+ case r:
832
+ return "Fragment";
833
+ case s:
834
+ return "Portal";
835
+ case i:
836
+ return "Profiler";
837
+ case o:
838
+ return "StrictMode";
839
+ case u:
840
+ return "Suspense";
841
+ case p:
842
+ return "SuspenseList";
843
+ }
844
+ if (typeof n == "object")
845
+ switch (n.$$typeof) {
846
+ case d:
847
+ var l = n;
848
+ return Ie(l) + ".Consumer";
849
+ case a:
850
+ var h = n;
851
+ return Ie(h._context) + ".Provider";
852
+ case c:
853
+ return Dt(n, n.render, "ForwardRef");
854
+ case g:
855
+ var y = n.displayName || null;
856
+ return y !== null ? y : N(n.type) || "Memo";
857
+ case S: {
858
+ var E = n, C = E._payload, v = E._init;
859
+ try {
860
+ return N(v(C));
861
+ } catch {
862
+ return null;
863
+ }
864
+ }
865
+ }
866
+ return null;
867
+ }
868
+ var U = Object.assign, q = 0, Le, Ae, je, De, Ne, He, Fe;
869
+ function Me() {
870
+ }
871
+ Me.__reactDisabledLog = !0;
872
+ function Nt() {
873
+ {
874
+ if (q === 0) {
875
+ Le = console.log, Ae = console.info, je = console.warn, De = console.error, Ne = console.group, He = console.groupCollapsed, Fe = console.groupEnd;
876
+ var n = {
877
+ configurable: !0,
878
+ enumerable: !0,
879
+ value: Me,
880
+ writable: !0
881
+ };
882
+ Object.defineProperties(console, {
883
+ info: n,
884
+ log: n,
885
+ warn: n,
886
+ error: n,
887
+ group: n,
888
+ groupCollapsed: n,
889
+ groupEnd: n
890
+ });
891
+ }
892
+ q++;
893
+ }
894
+ }
895
+ function Ht() {
896
+ {
897
+ if (q--, q === 0) {
898
+ var n = {
899
+ configurable: !0,
900
+ enumerable: !0,
901
+ writable: !0
902
+ };
903
+ Object.defineProperties(console, {
904
+ log: U({}, n, {
905
+ value: Le
906
+ }),
907
+ info: U({}, n, {
908
+ value: Ae
909
+ }),
910
+ warn: U({}, n, {
911
+ value: je
912
+ }),
913
+ error: U({}, n, {
914
+ value: De
915
+ }),
916
+ group: U({}, n, {
917
+ value: Ne
918
+ }),
919
+ groupCollapsed: U({}, n, {
920
+ value: He
921
+ }),
922
+ groupEnd: U({}, n, {
923
+ value: Fe
924
+ })
925
+ });
926
+ }
927
+ q < 0 && w("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
928
+ }
929
+ }
930
+ var de = R.ReactCurrentDispatcher, ue;
931
+ function Z(n, l, h) {
932
+ {
933
+ if (ue === void 0)
934
+ try {
935
+ throw Error();
936
+ } catch (E) {
937
+ var y = E.stack.trim().match(/\n( *(at )?)/);
938
+ ue = y && y[1] || "";
939
+ }
940
+ return `
941
+ ` + ue + n;
942
+ }
943
+ }
944
+ var fe = !1, V;
945
+ {
946
+ var Ft = typeof WeakMap == "function" ? WeakMap : Map;
947
+ V = new Ft();
948
+ }
949
+ function Ue(n, l) {
950
+ if (!n || fe)
951
+ return "";
952
+ {
953
+ var h = V.get(n);
954
+ if (h !== void 0)
955
+ return h;
956
+ }
957
+ var y;
958
+ fe = !0;
959
+ var E = Error.prepareStackTrace;
960
+ Error.prepareStackTrace = void 0;
961
+ var C;
962
+ C = de.current, de.current = null, Nt();
963
+ try {
964
+ if (l) {
965
+ var v = function() {
966
+ throw Error();
967
+ };
968
+ if (Object.defineProperty(v.prototype, "props", {
969
+ set: function() {
970
+ throw Error();
971
+ }
972
+ }), typeof Reflect == "object" && Reflect.construct) {
973
+ try {
974
+ Reflect.construct(v, []);
975
+ } catch (H) {
976
+ y = H;
977
+ }
978
+ Reflect.construct(n, [], v);
979
+ } else {
980
+ try {
981
+ v.call();
982
+ } catch (H) {
983
+ y = H;
984
+ }
985
+ n.call(v.prototype);
986
+ }
987
+ } else {
988
+ try {
989
+ throw Error();
990
+ } catch (H) {
991
+ y = H;
992
+ }
993
+ n();
994
+ }
995
+ } catch (H) {
996
+ if (H && y && typeof H.stack == "string") {
997
+ for (var m = H.stack.split(`
998
+ `), I = y.stack.split(`
999
+ `), O = m.length - 1, P = I.length - 1; O >= 1 && P >= 0 && m[O] !== I[P]; )
1000
+ P--;
1001
+ for (; O >= 1 && P >= 0; O--, P--)
1002
+ if (m[O] !== I[P]) {
1003
+ if (O !== 1 || P !== 1)
1004
+ do
1005
+ if (O--, P--, P < 0 || m[O] !== I[P]) {
1006
+ var j = `
1007
+ ` + m[O].replace(" at new ", " at ");
1008
+ return n.displayName && j.includes("<anonymous>") && (j = j.replace("<anonymous>", n.displayName)), typeof n == "function" && V.set(n, j), j;
1009
+ }
1010
+ while (O >= 1 && P >= 0);
1011
+ break;
1012
+ }
1013
+ }
1014
+ } finally {
1015
+ fe = !1, de.current = C, Ht(), Error.prepareStackTrace = E;
1016
+ }
1017
+ var W = n ? n.displayName || n.name : "", et = W ? Z(W) : "";
1018
+ return typeof n == "function" && V.set(n, et), et;
1019
+ }
1020
+ function Mt(n, l, h) {
1021
+ return Ue(n, !1);
1022
+ }
1023
+ function Ut(n) {
1024
+ var l = n.prototype;
1025
+ return !!(l && l.isReactComponent);
1026
+ }
1027
+ function ee(n, l, h) {
1028
+ if (n == null)
1029
+ return "";
1030
+ if (typeof n == "function")
1031
+ return Ue(n, Ut(n));
1032
+ if (typeof n == "string")
1033
+ return Z(n);
1034
+ switch (n) {
1035
+ case u:
1036
+ return Z("Suspense");
1037
+ case p:
1038
+ return Z("SuspenseList");
1039
+ }
1040
+ if (typeof n == "object")
1041
+ switch (n.$$typeof) {
1042
+ case c:
1043
+ return Mt(n.render);
1044
+ case g:
1045
+ return ee(n.type, l, h);
1046
+ case S: {
1047
+ var y = n, E = y._payload, C = y._init;
1048
+ try {
1049
+ return ee(C(E), l, h);
1050
+ } catch {
1051
+ }
1052
+ }
1053
+ }
1054
+ return "";
1055
+ }
1056
+ var te = Object.prototype.hasOwnProperty, ze = {}, Be = R.ReactDebugCurrentFrame;
1057
+ function ne(n) {
1058
+ if (n) {
1059
+ var l = n._owner, h = ee(n.type, n._source, l ? l.type : null);
1060
+ Be.setExtraStackFrame(h);
1061
+ } else
1062
+ Be.setExtraStackFrame(null);
1063
+ }
1064
+ function zt(n, l, h, y, E) {
1065
+ {
1066
+ var C = Function.call.bind(te);
1067
+ for (var v in n)
1068
+ if (C(n, v)) {
1069
+ var m = void 0;
1070
+ try {
1071
+ if (typeof n[v] != "function") {
1072
+ var I = Error((y || "React class") + ": " + h + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1073
+ throw I.name = "Invariant Violation", I;
1074
+ }
1075
+ m = n[v](l, v, y, h, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1076
+ } catch (O) {
1077
+ m = O;
1078
+ }
1079
+ m && !(m instanceof Error) && (ne(E), w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", y || "React class", h, v, typeof m), ne(null)), m instanceof Error && !(m.message in ze) && (ze[m.message] = !0, ne(E), w("Failed %s type: %s", h, m.message), ne(null));
1080
+ }
1081
+ }
1082
+ }
1083
+ var Bt = Array.isArray;
1084
+ function he(n) {
1085
+ return Bt(n);
1086
+ }
1087
+ function Wt(n) {
1088
+ {
1089
+ var l = typeof Symbol == "function" && Symbol.toStringTag, h = l && n[Symbol.toStringTag] || n.constructor.name || "Object";
1090
+ return h;
1091
+ }
1092
+ }
1093
+ function Yt(n) {
1094
+ try {
1095
+ return We(n), !1;
1096
+ } catch {
1097
+ return !0;
1098
+ }
1099
+ }
1100
+ function We(n) {
1101
+ return "" + n;
1102
+ }
1103
+ function Ye(n) {
1104
+ if (Yt(n))
1105
+ return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Wt(n)), We(n);
1106
+ }
1107
+ var G = R.ReactCurrentOwner, qt = {
1108
+ key: !0,
1109
+ ref: !0,
1110
+ __self: !0,
1111
+ __source: !0
1112
+ }, qe, Ge, pe;
1113
+ pe = {};
1114
+ function Gt(n) {
1115
+ if (te.call(n, "ref")) {
1116
+ var l = Object.getOwnPropertyDescriptor(n, "ref").get;
1117
+ if (l && l.isReactWarning)
1118
+ return !1;
1119
+ }
1120
+ return n.ref !== void 0;
1121
+ }
1122
+ function Jt(n) {
1123
+ if (te.call(n, "key")) {
1124
+ var l = Object.getOwnPropertyDescriptor(n, "key").get;
1125
+ if (l && l.isReactWarning)
1126
+ return !1;
1127
+ }
1128
+ return n.key !== void 0;
1129
+ }
1130
+ function Kt(n, l) {
1131
+ if (typeof n.ref == "string" && G.current && l && G.current.stateNode !== l) {
1132
+ var h = N(G.current.type);
1133
+ pe[h] || (w('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', N(G.current.type), n.ref), pe[h] = !0);
1134
+ }
1135
+ }
1136
+ function Xt(n, l) {
1137
+ {
1138
+ var h = function() {
1139
+ qe || (qe = !0, w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
1140
+ };
1141
+ h.isReactWarning = !0, Object.defineProperty(n, "key", {
1142
+ get: h,
1143
+ configurable: !0
1144
+ });
1145
+ }
1146
+ }
1147
+ function Qt(n, l) {
1148
+ {
1149
+ var h = function() {
1150
+ Ge || (Ge = !0, w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
1151
+ };
1152
+ h.isReactWarning = !0, Object.defineProperty(n, "ref", {
1153
+ get: h,
1154
+ configurable: !0
1155
+ });
1156
+ }
1157
+ }
1158
+ var Zt = function(n, l, h, y, E, C, v) {
1159
+ var m = {
1160
+ // This tag allows us to uniquely identify this as a React Element
1161
+ $$typeof: t,
1162
+ // Built-in properties that belong on the element
1163
+ type: n,
1164
+ key: l,
1165
+ ref: h,
1166
+ props: v,
1167
+ // Record the component responsible for creating this element.
1168
+ _owner: C
1169
+ };
1170
+ return m._store = {}, Object.defineProperty(m._store, "validated", {
1171
+ configurable: !1,
1172
+ enumerable: !1,
1173
+ writable: !0,
1174
+ value: !1
1175
+ }), Object.defineProperty(m, "_self", {
1176
+ configurable: !1,
1177
+ enumerable: !1,
1178
+ writable: !1,
1179
+ value: y
1180
+ }), Object.defineProperty(m, "_source", {
1181
+ configurable: !1,
1182
+ enumerable: !1,
1183
+ writable: !1,
1184
+ value: E
1185
+ }), Object.freeze && (Object.freeze(m.props), Object.freeze(m)), m;
1186
+ };
1187
+ function Vt(n, l, h, y, E) {
1188
+ {
1189
+ var C, v = {}, m = null, I = null;
1190
+ h !== void 0 && (Ye(h), m = "" + h), Jt(l) && (Ye(l.key), m = "" + l.key), Gt(l) && (I = l.ref, Kt(l, E));
1191
+ for (C in l)
1192
+ te.call(l, C) && !qt.hasOwnProperty(C) && (v[C] = l[C]);
1193
+ if (n && n.defaultProps) {
1194
+ var O = n.defaultProps;
1195
+ for (C in O)
1196
+ v[C] === void 0 && (v[C] = O[C]);
1197
+ }
1198
+ if (m || I) {
1199
+ var P = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
1200
+ m && Xt(v, P), I && Qt(v, P);
1201
+ }
1202
+ return Zt(n, m, I, E, y, G.current, v);
1203
+ }
1204
+ }
1205
+ var ge = R.ReactCurrentOwner, Je = R.ReactDebugCurrentFrame;
1206
+ function B(n) {
1207
+ if (n) {
1208
+ var l = n._owner, h = ee(n.type, n._source, l ? l.type : null);
1209
+ Je.setExtraStackFrame(h);
1210
+ } else
1211
+ Je.setExtraStackFrame(null);
1212
+ }
1213
+ var ye;
1214
+ ye = !1;
1215
+ function $e(n) {
1216
+ return typeof n == "object" && n !== null && n.$$typeof === t;
1217
+ }
1218
+ function Ke() {
1219
+ {
1220
+ if (ge.current) {
1221
+ var n = N(ge.current.type);
1222
+ if (n)
1223
+ return `
1224
+
1225
+ Check the render method of \`` + n + "`.";
1226
+ }
1227
+ return "";
1228
+ }
1229
+ }
1230
+ function en(n) {
1231
+ {
1232
+ if (n !== void 0) {
1233
+ var l = n.fileName.replace(/^.*[\\\/]/, ""), h = n.lineNumber;
1234
+ return `
1235
+
1236
+ Check your code at ` + l + ":" + h + ".";
1237
+ }
1238
+ return "";
1239
+ }
1240
+ }
1241
+ var Xe = {};
1242
+ function tn(n) {
1243
+ {
1244
+ var l = Ke();
1245
+ if (!l) {
1246
+ var h = typeof n == "string" ? n : n.displayName || n.name;
1247
+ h && (l = `
1248
+
1249
+ Check the top-level render call using <` + h + ">.");
1250
+ }
1251
+ return l;
1252
+ }
1253
+ }
1254
+ function Qe(n, l) {
1255
+ {
1256
+ if (!n._store || n._store.validated || n.key != null)
1257
+ return;
1258
+ n._store.validated = !0;
1259
+ var h = tn(l);
1260
+ if (Xe[h])
1261
+ return;
1262
+ Xe[h] = !0;
1263
+ var y = "";
1264
+ n && n._owner && n._owner !== ge.current && (y = " It was passed a child from " + N(n._owner.type) + "."), B(n), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', h, y), B(null);
1265
+ }
1266
+ }
1267
+ function Ze(n, l) {
1268
+ {
1269
+ if (typeof n != "object")
1270
+ return;
1271
+ if (he(n))
1272
+ for (var h = 0; h < n.length; h++) {
1273
+ var y = n[h];
1274
+ $e(y) && Qe(y, l);
1275
+ }
1276
+ else if ($e(n))
1277
+ n._store && (n._store.validated = !0);
1278
+ else if (n) {
1279
+ var E = _(n);
1280
+ if (typeof E == "function" && E !== n.entries)
1281
+ for (var C = E.call(n), v; !(v = C.next()).done; )
1282
+ $e(v.value) && Qe(v.value, l);
1283
+ }
1284
+ }
1285
+ }
1286
+ function nn(n) {
1287
+ {
1288
+ var l = n.type;
1289
+ if (l == null || typeof l == "string")
1290
+ return;
1291
+ var h;
1292
+ if (typeof l == "function")
1293
+ h = l.propTypes;
1294
+ else if (typeof l == "object" && (l.$$typeof === c || // Note: Memo only checks outer props here.
1295
+ // Inner props are checked in the reconciler.
1296
+ l.$$typeof === g))
1297
+ h = l.propTypes;
1298
+ else
1299
+ return;
1300
+ if (h) {
1301
+ var y = N(l);
1302
+ zt(h, n.props, "prop", y, n);
1303
+ } else if (l.PropTypes !== void 0 && !ye) {
1304
+ ye = !0;
1305
+ var E = N(l);
1306
+ w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", E || "Unknown");
1307
+ }
1308
+ typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1309
+ }
1310
+ }
1311
+ function rn(n) {
1312
+ {
1313
+ for (var l = Object.keys(n.props), h = 0; h < l.length; h++) {
1314
+ var y = l[h];
1315
+ if (y !== "children" && y !== "key") {
1316
+ B(n), w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", y), B(null);
1317
+ break;
1318
+ }
1319
+ }
1320
+ n.ref !== null && (B(n), w("Invalid attribute `ref` supplied to `React.Fragment`."), B(null));
1321
+ }
1322
+ }
1323
+ function Ve(n, l, h, y, E, C) {
1324
+ {
1325
+ var v = jt(n);
1326
+ if (!v) {
1327
+ var m = "";
1328
+ (n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (m += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1329
+ var I = en(E);
1330
+ I ? m += I : m += Ke();
1331
+ var O;
1332
+ n === null ? O = "null" : he(n) ? O = "array" : n !== void 0 && n.$$typeof === t ? (O = "<" + (N(n.type) || "Unknown") + " />", m = " Did you accidentally export a JSX literal instead of a component?") : O = typeof n, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", O, m);
1333
+ }
1334
+ var P = Vt(n, l, h, E, C);
1335
+ if (P == null)
1336
+ return P;
1337
+ if (v) {
1338
+ var j = l.children;
1339
+ if (j !== void 0)
1340
+ if (y)
1341
+ if (he(j)) {
1342
+ for (var W = 0; W < j.length; W++)
1343
+ Ze(j[W], n);
1344
+ Object.freeze && Object.freeze(j);
1345
+ } else
1346
+ w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
1347
+ else
1348
+ Ze(j, n);
1349
+ }
1350
+ return n === r ? rn(P) : nn(P), P;
1351
+ }
1352
+ }
1353
+ function sn(n, l, h) {
1354
+ return Ve(n, l, h, !0);
1355
+ }
1356
+ function on(n, l, h) {
1357
+ return Ve(n, l, h, !1);
1358
+ }
1359
+ var an = on, ln = sn;
1360
+ K.Fragment = r, K.jsx = an, K.jsxs = ln;
1361
+ }()), K;
1362
+ }
1363
+ process.env.NODE_ENV === "production" ? Te.exports = rr() : Te.exports = sr();
1364
+ var or = Te.exports;
1365
+ const ar = (e) => e.toLowerCase().split("-").map((t) => t.charAt(0).toUpperCase() + t.slice(1)).join(""), Ot = (e) => e.replace(/([A-Z])/g, (t) => `-${t[0].toLowerCase()}`), ir = (e, t, s = {}) => {
1366
+ if (e instanceof Element) {
1367
+ const r = lr(e.classList, t, s);
1368
+ r !== "" && (e.className = r), Object.keys(t).forEach((o) => {
1369
+ if (!(o === "children" || o === "style" || o === "ref" || o === "class" || o === "className" || o === "forwardedRef"))
1370
+ if (o.indexOf("on") === 0 && o[2] === o[2].toUpperCase()) {
1371
+ const i = o.substring(2), a = i[0].toLowerCase() + i.substring(1);
1372
+ Pt(a) || dr(e, a, t[o]);
1373
+ } else
1374
+ e[o] = t[o], typeof t[o] === "string" && e.setAttribute(Ot(o), t[o]);
1375
+ });
1376
+ }
1377
+ }, lr = (e, t, s) => {
1378
+ const r = t.className || t.class, o = s.className || s.class, i = Ee(e), a = Ee(r ? r.split(" ") : []), d = Ee(o ? o.split(" ") : []), c = [];
1379
+ return i.forEach((u) => {
1380
+ a.has(u) ? (c.push(u), a.delete(u)) : d.has(u) || c.push(u);
1381
+ }), a.forEach((u) => c.push(u)), c.join(" ");
1382
+ }, cr = (e) => {
1383
+ switch (e) {
1384
+ case "doubleclick":
1385
+ return "dblclick";
1386
+ }
1387
+ return e;
1388
+ };
1389
+ /**
1390
+ * Checks if an event is supported in the current execution environment.
1391
+ * @license Modernizr 3.0.0pre (Custom Build) | MIT
1392
+ */
1393
+ const Pt = (e) => {
1394
+ if (typeof document > "u")
1395
+ return !0;
1396
+ {
1397
+ const t = "on" + cr(e);
1398
+ let s = t in document;
1399
+ if (!s) {
1400
+ const r = document.createElement("div");
1401
+ r.setAttribute(t, "return;"), s = typeof r[t] == "function";
1402
+ }
1403
+ return s;
1404
+ }
1405
+ }, dr = (e, t, s) => {
1406
+ const r = e.__events || (e.__events = {}), o = r[t];
1407
+ o && e.removeEventListener(t, o), e.addEventListener(
1408
+ t,
1409
+ r[t] = function(a) {
1410
+ s && s.call(this, a);
1411
+ }
1412
+ );
1413
+ }, Ee = (e) => {
1414
+ const t = /* @__PURE__ */ new Map();
1415
+ return e.forEach((s) => t.set(s, s)), t;
1416
+ }, ur = (e, t) => {
1417
+ typeof e == "function" ? e(t) : e != null && (e.current = t);
1418
+ }, fr = (...e) => (t) => {
1419
+ e.forEach((s) => {
1420
+ ur(s, t);
1421
+ });
1422
+ }, hr = (e, t) => {
1423
+ const s = (r, o) => /* @__PURE__ */ or.jsx(e, { ...r, forwardedRef: o });
1424
+ return s.displayName = t, le.forwardRef(s);
1425
+ }, f = (e, t, s, r) => {
1426
+ r !== void 0 && r();
1427
+ const o = ar(e), i = class extends le.Component {
1428
+ constructor(d) {
1429
+ super(d);
1430
+ me(this, "componentEl");
1431
+ me(this, "setComponentElRef", (d) => {
1432
+ this.componentEl = d;
1433
+ });
1434
+ }
1435
+ componentDidMount() {
1436
+ this.componentDidUpdate(this.props);
1437
+ }
1438
+ componentDidUpdate(d) {
1439
+ ir(this.componentEl, this.props, d);
1440
+ }
1441
+ render() {
1442
+ const { children: d, forwardedRef: c, style: u, className: p, ref: g, ...S } = this.props;
1443
+ let b = Object.keys(S).reduce((T, _) => {
1444
+ const R = S[_];
1445
+ if (_.indexOf("on") === 0 && _[2] === _[2].toUpperCase()) {
1446
+ const w = _.substring(2).toLowerCase();
1447
+ typeof document < "u" && Pt(w) && (T[_] = R);
1448
+ } else {
1449
+ const w = typeof R;
1450
+ (w === "string" || w === "boolean" || w === "number") && (T[Ot(_)] = R);
1451
+ }
1452
+ return T;
1453
+ }, {});
1454
+ s && (b = s(this.props, b));
1455
+ const k = {
1456
+ ...b,
1457
+ ref: fr(c, this.setComponentElRef),
1458
+ style: u
1459
+ };
1460
+ return un(e, k, d);
1461
+ }
1462
+ static get displayName() {
1463
+ return o;
1464
+ }
1465
+ };
1466
+ return t && (i.contextType = t), hr(i, o);
1467
+ }, wr = /* @__PURE__ */ f("add-circle-icon"), kr = /* @__PURE__ */ f("archive-icon"), Tr = /* @__PURE__ */ f("arrow-icon"), _r = /* @__PURE__ */ f("bold-icon"), Rr = /* @__PURE__ */ f("calendar-cancel-icon"), Or = /* @__PURE__ */ f("calendar-check-icon"), Pr = /* @__PURE__ */ f("calendar-icon"), xr = /* @__PURE__ */ f("calendar-info-icon"), Ir = /* @__PURE__ */ f("calendar-patterns-icon"), Lr = /* @__PURE__ */ f("checkmark-circle-icon"), Ar = /* @__PURE__ */ f("chevron-icon"), jr = /* @__PURE__ */ f("close-icon"), Dr = /* @__PURE__ */ f("document-refresh-icon"), Nr = /* @__PURE__ */ f("folder-icon"), Hr = /* @__PURE__ */ f("forward-icon"), Fr = /* @__PURE__ */ f("globe-icon"), Mr = /* @__PURE__ */ f("inbox-icon"), Ur = /* @__PURE__ */ f("info-icon"), zr = /* @__PURE__ */ f("italic-icon"), Br = /* @__PURE__ */ f("loading-icon"), Wr = /* @__PURE__ */ f("multi-select-dropdown"), Yr = /* @__PURE__ */ f("nylas-additional-participants"), qr = /* @__PURE__ */ f("nylas-availability-picker"), Gr = /* @__PURE__ */ f("nylas-booked-event-card"), Jr = /* @__PURE__ */ f("nylas-booking-form"), Kr = /* @__PURE__ */ f("nylas-calendar-picker"), Xr = /* @__PURE__ */ f("nylas-cancel-booking-form"), Qr = /* @__PURE__ */ f("nylas-cancelled-event-card"), Zr = /* @__PURE__ */ f("nylas-composer"), Vr = /* @__PURE__ */ f("nylas-date-picker"), es = /* @__PURE__ */ f("nylas-event-description"), ts = /* @__PURE__ */ f("nylas-event-duration"), ns = /* @__PURE__ */ f("nylas-event-info"), rs = /* @__PURE__ */ f("nylas-event-title"), ss = /* @__PURE__ */ f("nylas-form-card"), os = /* @__PURE__ */ f("nylas-if-state"), as = /* @__PURE__ */ f("nylas-list-folders"), is = /* @__PURE__ */ f("nylas-list-threads"), ls = /* @__PURE__ */ f("nylas-locale-switch"), cs = /* @__PURE__ */ f("nylas-login"), ds = /* @__PURE__ */ f("nylas-logo"), us = /* @__PURE__ */ f("nylas-mailbox"), fs = /* @__PURE__ */ f("nylas-mailbox-pagination"), hs = /* @__PURE__ */ f("nylas-mailbox-toolbar-button"), ps = /* @__PURE__ */ f("nylas-notification"), gs = /* @__PURE__ */ f("nylas-open-hours-picker"), ys = /* @__PURE__ */ f("nylas-provider"), $s = /* @__PURE__ */ f("nylas-scheduler"), ms = /* @__PURE__ */ f("nylas-scheduler-config"), vs = /* @__PURE__ */ f("nylas-scheduler-editor"), bs = /* @__PURE__ */ f("nylas-selected-event-card"), Es = /* @__PURE__ */ f("nylas-summarize-message-button"), Ss = /* @__PURE__ */ f("nylas-threads-refresh"), Cs = /* @__PURE__ */ f("nylas-threads-search"), ws = /* @__PURE__ */ f("nylas-time-window-picker"), ks = /* @__PURE__ */ f("nylas-timeslot-picker"), Ts = /* @__PURE__ */ f("nylas-view-email"), _s = /* @__PURE__ */ f("nylas-view-thread"), Rs = /* @__PURE__ */ f("people-icon"), Os = /* @__PURE__ */ f("play-icon"), Ps = /* @__PURE__ */ f("refresh-icon"), xs = /* @__PURE__ */ f("reply-all-icon"), Is = /* @__PURE__ */ f("reply-icon"), Ls = /* @__PURE__ */ f("search-icon"), As = /* @__PURE__ */ f("select-dropdown"), js = /* @__PURE__ */ f("sent-icon"), Ds = /* @__PURE__ */ f("spam-icon"), Ns = /* @__PURE__ */ f("star-icon"), Hs = /* @__PURE__ */ f("stop-icon"), Fs = /* @__PURE__ */ f("tooltip-component"), Ms = /* @__PURE__ */ f("translate-icon"), Us = /* @__PURE__ */ f("trash-icon"), zs = /* @__PURE__ */ f("underline-icon"), Bs = /* @__PURE__ */ f("warning-icon");
1468
+ function Ws() {
1469
+ const [, e] = fn((o) => o + 1, 0), t = ve(), s = ve(null), r = ve(null);
1470
+ return hn(() => {
1471
+ t.current && (s.current || t.current.getNylasMailboxConnector().then((o) => {
1472
+ o && (s.current = o, r.current = s.current.nylasAuthStore, o.nylasAuthStore.on("set", e), e());
1473
+ }));
1474
+ }, []), [t, r.current];
1475
+ }
1476
+ export {
1477
+ fs as $,
1478
+ wr as A,
1479
+ _r as B,
1480
+ Rr as C,
1481
+ Dr as D,
1482
+ Xr as E,
1483
+ Er as F,
1484
+ Fr as G,
1485
+ En as H,
1486
+ Mr as I,
1487
+ Qr as J,
1488
+ Zr as K,
1489
+ Br as L,
1490
+ Wr as M,
1491
+ Yr as N,
1492
+ Vr as O,
1493
+ es as P,
1494
+ ts as Q,
1495
+ ns as R,
1496
+ rs as S,
1497
+ ss as T,
1498
+ os as U,
1499
+ as as V,
1500
+ is as W,
1501
+ ls as X,
1502
+ cs as Y,
1503
+ ds as Z,
1504
+ us as _,
1505
+ vr as a,
1506
+ hs as a0,
1507
+ ps as a1,
1508
+ gs as a2,
1509
+ ys as a3,
1510
+ $s as a4,
1511
+ ms as a5,
1512
+ vs as a6,
1513
+ bs as a7,
1514
+ Es as a8,
1515
+ Ss as a9,
1516
+ Cs as aa,
1517
+ ws as ab,
1518
+ ks as ac,
1519
+ Ts as ad,
1520
+ _s as ae,
1521
+ Rs as af,
1522
+ Os as ag,
1523
+ Ps as ah,
1524
+ xs as ai,
1525
+ Is as aj,
1526
+ Ls as ak,
1527
+ As as al,
1528
+ js as am,
1529
+ Ds as an,
1530
+ Ns as ao,
1531
+ Hs as ap,
1532
+ Fs as aq,
1533
+ Ms as ar,
1534
+ Us as as,
1535
+ zs as at,
1536
+ Bs as au,
1537
+ $r as b,
1538
+ mr as c,
1539
+ Cr as d,
1540
+ kr as e,
1541
+ br as f,
1542
+ Tn as g,
1543
+ gt as h,
1544
+ Tr as i,
1545
+ Or as j,
1546
+ Pr as k,
1547
+ xr as l,
1548
+ Ir as m,
1549
+ Lr as n,
1550
+ Ar as o,
1551
+ jr as p,
1552
+ Nr as q,
1553
+ Sr as r,
1554
+ Hr as s,
1555
+ Ur as t,
1556
+ Ws as u,
1557
+ zr as v,
1558
+ qr as w,
1559
+ Gr as x,
1560
+ Jr as y,
1561
+ Kr as z
1562
+ };