@nylas/react 1.1.0-canary.16 → 1.1.0-canary.17
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.
- package/dist/add-circle-icon_2.entry-936fd73b.cjs +1 -0
- package/dist/add-circle-icon_2.entry-ce6aaa1d.js +25 -0
- package/dist/{archive-icon_7.entry-54dc5cc2.js → archive-icon_7.entry-60e900b6.js} +18 -18
- package/dist/{archive-icon_7.entry-073d9915.cjs → archive-icon_7.entry-8c8317e9.cjs} +1 -1
- package/dist/{arrow-icon.entry-869a1db9.js → arrow-icon.entry-057db95a.js} +2 -2
- package/dist/{arrow-icon.entry-bada78b8.cjs → arrow-icon.entry-2d4e9572.cjs} +1 -1
- package/dist/bold-icon_3.entry-557c6007.js +35 -0
- package/dist/{bold-icon_3.entry-cc6150c9.cjs → bold-icon_3.entry-ba732761.cjs} +1 -1
- package/dist/{button-component.entry-a0533c8b.js → button-component.entry-22d0ac2e.js} +2 -2
- package/dist/{button-component.entry-3703ecff.cjs → button-component.entry-385f9581.cjs} +1 -1
- package/dist/{calendar-cancel-icon.entry-a9ab0b09.js → calendar-cancel-icon.entry-820cf967.js} +5 -5
- package/dist/{calendar-cancel-icon.entry-0f1d98b3.cjs → calendar-cancel-icon.entry-b2657caf.cjs} +1 -1
- package/dist/{calendar-check-icon_2.entry-a62b5d2c.js → calendar-check-icon_2.entry-128a5d67.js} +9 -9
- package/dist/{calendar-check-icon_2.entry-6b83717e.cjs → calendar-check-icon_2.entry-b13e7cbb.cjs} +1 -1
- package/dist/{calendar-icon.entry-ddc22561.js → calendar-icon.entry-a43e6011.js} +5 -5
- package/dist/{calendar-icon.entry-08f83da9.cjs → calendar-icon.entry-d17d7cfb.cjs} +1 -1
- package/dist/calendar-info-icon_28.entry-b4f09bfe.cjs +1 -0
- package/dist/{calendar-info-icon_27.entry-f02f44b7.js → calendar-info-icon_28.entry-b71c23c5.js} +526 -700
- package/dist/{chevron-icon_3.entry-978b52d5.cjs → chevron-icon_3.entry-4807a0b1.cjs} +1 -1
- package/dist/{chevron-icon_3.entry-f27202a2.js → chevron-icon_3.entry-e0796c69.js} +5 -5
- package/dist/{clock-icon_2.entry-b7b8ef46.cjs → clock-icon_2.entry-267614c2.cjs} +1 -1
- package/dist/{clock-icon_2.entry-2277fd45.js → clock-icon_2.entry-e959ae50.js} +7 -7
- package/dist/{constants-f34b9c6e-ccdbc4ac.cjs → constants-f34b9c6e-ebc2e19c.cjs} +1 -1
- package/dist/{constants-f34b9c6e-bbca6b6e.js → constants-f34b9c6e-efe2836b.js} +1 -1
- package/dist/{document-refresh-icon.entry-656a5e02.js → document-refresh-icon.entry-b4c217df.js} +2 -2
- package/dist/{document-refresh-icon.entry-5795e2a9.cjs → document-refresh-icon.entry-b8850675.cjs} +1 -1
- package/dist/elements/index.d.ts +1 -0
- package/dist/{elements-dc5b338e-d48368b1.cjs → elements-dc5b338e-a33785e3.cjs} +1 -1
- package/dist/{elements-dc5b338e-c4a07acc.js → elements-dc5b338e-b0a290ae.js} +1 -1
- package/dist/{focus-visible-e8093c16-10c0fa06.js → focus-visible-e8093c16-5f1ae916.js} +1 -1
- package/dist/{focus-visible-e8093c16-c86f3687.cjs → focus-visible-e8093c16-d2afb13d.cjs} +1 -1
- package/dist/{forward-icon_6.entry-07cd4b52.cjs → forward-icon_6.entry-0009e4f0.cjs} +3 -3
- package/dist/{forward-icon_6.entry-39d788af.js → forward-icon_6.entry-53683e82.js} +9 -9
- package/dist/{globe-icon.entry-60a53e89.js → globe-icon.entry-dbb47687.js} +4 -4
- package/dist/{globe-icon.entry-76c90d97.cjs → globe-icon.entry-df67eab8.cjs} +1 -1
- package/dist/google-logo-icon_4.entry-77f3b86e.js +454 -0
- package/dist/google-logo-icon_4.entry-c5db1be3.cjs +1 -0
- package/dist/index-53420959-16700a42.cjs +1 -0
- package/dist/index-53420959-f0c4f9af.js +5 -0
- package/dist/{index-f383e3c4.js → index-5851f0a2.js} +902 -901
- package/dist/{index-6d9eeb53-38c9f47c.js → index-6d9eeb53-2f37342f.js} +2 -2
- package/dist/{index-6d9eeb53-66c114b2.cjs → index-6d9eeb53-ded66877.cjs} +1 -1
- package/dist/{index-f435e814.cjs → index-769f0fdd.cjs} +3 -3
- package/dist/{index.es-9cc0eb3c-510db795.js → index.es-9cc0eb3c-2cf4632f.js} +1 -1
- package/dist/{index.es-9cc0eb3c-09dc620b.cjs → index.es-9cc0eb3c-e8de46e6.cjs} +1 -1
- package/dist/{info-icon_2.entry-a61859ac.js → info-icon_2.entry-c27ac645.js} +3 -3
- package/dist/{info-icon_2.entry-7fe8bcd9.cjs → info-icon_2.entry-e355fb7d.cjs} +1 -1
- package/dist/{input-component.entry-12f60175.js → input-component.entry-a38a65da.js} +4 -4
- package/dist/{input-component.entry-04dcc655.cjs → input-component.entry-ef2b397d.cjs} +1 -1
- package/dist/input-dropdown_2.entry-9e50060e.cjs +1 -0
- package/dist/{input-dropdown_2.entry-0e5925a7.js → input-dropdown_2.entry-ce1da1b3.js} +35 -28
- package/dist/loading-icon.entry-175aca19.cjs +1 -0
- package/dist/loading-icon.entry-4ab88ed8.js +15 -0
- package/dist/{mailbox-store-64b4ef7c-017196a6.js → mailbox-store-64b4ef7c-47dac9aa.js} +2 -2
- package/dist/{mailbox-store-64b4ef7c-1e6c96cc.cjs → mailbox-store-64b4ef7c-ebe84c96.cjs} +1 -1
- package/dist/{nylas-booked-event-card_10.entry-5a9a4cc6.cjs → nylas-booked-event-card_10.entry-6de99d57.cjs} +1 -1
- package/dist/{nylas-booked-event-card_10.entry-2dff7f16.js → nylas-booked-event-card_10.entry-ef9c2d62.js} +9 -9
- package/dist/{nylas-custom-booking-flow.entry-36f7a943.cjs → nylas-custom-booking-flow.entry-c59c1306.cjs} +1 -1
- package/dist/{nylas-custom-booking-flow.entry-feed589b.js → nylas-custom-booking-flow.entry-f31400e2.js} +7 -7
- package/dist/{nylas-form-card.entry-49f519dd.js → nylas-form-card.entry-b189e066.js} +8 -8
- package/dist/{nylas-form-card.entry-e9f09602.cjs → nylas-form-card.entry-bc048703.cjs} +1 -1
- package/dist/{nylas-if-state.entry-127694a9.js → nylas-if-state.entry-5bdf8669.js} +3 -3
- package/dist/{nylas-if-state.entry-81916723.cjs → nylas-if-state.entry-933c79e0.cjs} +1 -1
- package/dist/{nylas-list-folders.entry-f4c68fb9.cjs → nylas-list-folders.entry-5d1bef7f.cjs} +1 -1
- package/dist/{nylas-list-folders.entry-e3e9ec1f.js → nylas-list-folders.entry-f0e7ae4e.js} +3 -3
- package/dist/{nylas-list-threads.entry-f0a1b9d1.cjs → nylas-list-threads.entry-3e300e7e.cjs} +1 -1
- package/dist/{nylas-list-threads.entry-fa4b5318.js → nylas-list-threads.entry-3f7451ad.js} +3 -3
- package/dist/{nylas-login.entry-aeac716e.cjs → nylas-login.entry-dbf9e11f.cjs} +1 -1
- package/dist/{nylas-login.entry-6d17e994.js → nylas-login.entry-e3b757a0.js} +7 -7
- package/dist/{nylas-mailbox-pagination.entry-50fba238.cjs → nylas-mailbox-pagination.entry-0db12a01.cjs} +1 -1
- package/dist/{nylas-mailbox-pagination.entry-c440f56a.js → nylas-mailbox-pagination.entry-6c845a2a.js} +2 -2
- package/dist/{nylas-mailbox-toolbar-button.entry-d3d0c870.cjs → nylas-mailbox-toolbar-button.entry-553f041a.cjs} +1 -1
- package/dist/{nylas-mailbox-toolbar-button.entry-14e30d36.js → nylas-mailbox-toolbar-button.entry-ec196947.js} +4 -4
- package/dist/{nylas-mailbox.entry-a59159c7.js → nylas-mailbox.entry-1552ad11.js} +7 -7
- package/dist/{nylas-mailbox.entry-2fdb3d4c.cjs → nylas-mailbox.entry-c0bbca56.cjs} +1 -1
- package/dist/{nylas-provider.entry-d7dbb5fc.js → nylas-provider.entry-6d286e92.js} +37 -37
- package/dist/{nylas-provider.entry-dfa8c7c1.cjs → nylas-provider.entry-d4bf23c2.cjs} +1 -1
- package/dist/{nylas-scheduler-editor.entry-67e71234.cjs → nylas-scheduler-editor.entry-00a71304.cjs} +1 -1
- package/dist/{nylas-scheduler-editor.entry-3b44b807.js → nylas-scheduler-editor.entry-caa1026b.js} +4 -4
- package/dist/{nylas-scheduling.entry-68f72bf7.js → nylas-scheduling.entry-19ff3d50.js} +3 -3
- package/dist/{nylas-scheduling.entry-0ce0dab9.cjs → nylas-scheduling.entry-f1fb67d2.cjs} +1 -1
- package/dist/{nylas-threads-refresh.entry-23a83bd4.js → nylas-threads-refresh.entry-6acf3c2b.js} +4 -4
- package/dist/{nylas-threads-refresh.entry-955e92c7.cjs → nylas-threads-refresh.entry-bc4c10ea.cjs} +1 -1
- package/dist/{nylas-threads-search.entry-8f01ee4a.js → nylas-threads-search.entry-82fa1504.js} +5 -5
- package/dist/{nylas-threads-search.entry-2fb6db63.cjs → nylas-threads-search.entry-ee28712c.cjs} +1 -1
- package/dist/nylas-time-window-picker.entry-131f84b4.cjs +1 -0
- package/dist/nylas-time-window-picker.entry-3c45d82e.js +316 -0
- package/dist/{nylas-view-thread.entry-3cf0c1ac.cjs → nylas-view-thread.entry-0d9a4aa9.cjs} +1 -1
- package/dist/{nylas-view-thread.entry-b957f88b.js → nylas-view-thread.entry-695a7b0b.js} +6 -6
- package/dist/{play-icon_2.entry-ecdf8ea4.js → play-icon_2.entry-ab47588e.js} +3 -3
- package/dist/{play-icon_2.entry-c92d5237.cjs → play-icon_2.entry-b1167d3a.cjs} +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.js +41 -40
- package/dist/{refresh-icon.entry-76e58ccb.cjs → refresh-icon.entry-28e3ade7.cjs} +1 -1
- package/dist/{refresh-icon.entry-480d28aa.js → refresh-icon.entry-43267155.js} +5 -5
- package/dist/{register-component-a5a9ca5d-438c8a96.js → register-component-a5a9ca5d-538c35c3.js} +1 -1
- package/dist/{register-component-a5a9ca5d-ebf633cf.cjs → register-component-a5a9ca5d-8b06415c.cjs} +1 -1
- package/dist/{scheduler-config-store-4a50a03d-d5a5899e.cjs → scheduler-config-store-4a50a03d-40e87f35.cjs} +1 -1
- package/dist/{scheduler-config-store-4a50a03d-defa6368.js → scheduler-config-store-4a50a03d-4a2e2abf.js} +1 -1
- package/dist/{scheduler-store-f02ce045-de4cb1f5.js → scheduler-store-f02ce045-121c1e09.js} +1 -1
- package/dist/{scheduler-store-f02ce045-00faab09.cjs → scheduler-store-f02ce045-f11cfad9.cjs} +1 -1
- package/dist/{textarea-component.entry-1c8d11af.js → textarea-component.entry-1ec19adb.js} +4 -4
- package/dist/{textarea-component.entry-5ff249a8.cjs → textarea-component.entry-402a369b.cjs} +1 -1
- package/dist/{translate-icon.entry-a55c013b.cjs → translate-icon.entry-59f4e190.cjs} +1 -1
- package/dist/{translate-icon.entry-3741cac0.js → translate-icon.entry-d412697e.js} +6 -6
- package/dist/{warning-icon.entry-445352b5.js → warning-icon.entry-3ee1f451.js} +5 -5
- package/dist/{warning-icon.entry-1a104c52.cjs → warning-icon.entry-aa6b2c2c.cjs} +1 -1
- package/package.json +2 -2
- package/dist/add-circle-icon_2.entry-035ffd48.cjs +0 -1
- package/dist/add-circle-icon_2.entry-5cadaf97.js +0 -25
- package/dist/bold-icon_3.entry-5695177e.js +0 -35
- package/dist/calendar-info-icon_27.entry-a8390790.cjs +0 -1
- package/dist/google-logo-icon_4.entry-5402eae2.cjs +0 -1
- package/dist/google-logo-icon_4.entry-d327d68f.js +0 -438
- package/dist/index-53420959-791b4e73.js +0 -5
- package/dist/index-53420959-9f979766.cjs +0 -1
- package/dist/input-dropdown_2.entry-d9bff099.cjs +0 -1
- package/dist/loading-icon.entry-51ddd748.js +0 -15
- package/dist/loading-icon.entry-f82786b4.cjs +0 -1
- package/dist/toggle-switch.entry-26d3d1c9.cjs +0 -1
- package/dist/toggle-switch.entry-339ab48b.js +0 -25
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
var
|
|
2
|
-
var Oi = (t, e, n) => e in t ?
|
|
1
|
+
var Ii = Object.defineProperty;
|
|
2
|
+
var Oi = (t, e, n) => e in t ? Ii(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var Mt = (t, e, n) => (Oi(t, typeof e != "symbol" ? e + "" : e, n), n);
|
|
4
|
-
import Et, { createElement as Mi, useReducer as Li, useRef as Lt, useEffect as
|
|
4
|
+
import Et, { createElement as Mi, useReducer as Li, useRef as Lt, useEffect as Fi } from "react";
|
|
5
5
|
import "react-dom";
|
|
6
|
-
const
|
|
6
|
+
const Ui = "nylas-web-elements", mr = (
|
|
7
7
|
/* nylas-web-elements */
|
|
8
8
|
{ allRenderFn: !0, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !0, cmpDidRender: !0, cmpDidUnload: !1, cmpDidUpdate: !0, cmpShouldUpdate: !1, cmpWillLoad: !0, cmpWillRender: !0, cmpWillUpdate: !0, connectedCallback: !0, constructableCSS: !0, cssAnnotations: !0, devTools: !1, disconnectedCallback: !0, element: !1, event: !0, experimentalScopedSlotChanges: !1, experimentalSlotFixes: !1, formAssociated: !0, hasRenderFn: !0, hostListener: !0, hostListenerTarget: !0, hostListenerTargetBody: !0, hostListenerTargetDocument: !0, hostListenerTargetParent: !1, hostListenerTargetWindow: !0, hotModuleReplacement: !1, hydrateClientSide: !1, hydrateServerSide: !1, hydratedAttribute: !1, hydratedClass: !0, initializeNextTick: !1, invisiblePrehydration: !0, isDebug: !1, isDev: !1, isTesting: !1, lazyLoad: !0, lifecycle: !0, lifecycleDOMEvents: !1, member: !0, method: !0, mode: !1, observeAttribute: !0, profile: !1, prop: !0, propBoolean: !0, propMutable: !0, propNumber: !0, propString: !0, reflect: !1, scoped: !0, scopedSlotTextContentFix: !1, scriptDataOpts: !1, shadowDelegatesFocus: !1, shadowDom: !0, slot: !0, slotChildNodesFix: !1, slotRelocation: !0, state: !0, style: !0, svg: !0, taskQueue: !0, transformTagName: !1, updatable: !0, vdomAttribute: !0, vdomClass: !0, vdomFunctional: !0, vdomKey: !0, vdomListener: !0, vdomPropOrAttr: !0, vdomRef: !0, vdomRender: !0, vdomStyle: !0, vdomText: !0, vdomXlink: !1, watchCallback: !0 }
|
|
9
9
|
);
|
|
@@ -21,13 +21,13 @@ function br(t) {
|
|
|
21
21
|
return (r = (n = (e = t.head) === null || e === void 0 ? void 0 : e.querySelector('meta[name="csp-nonce"]')) === null || n === void 0 ? void 0 : n.getAttribute("content")) !== null && r !== void 0 ? r : void 0;
|
|
22
22
|
}
|
|
23
23
|
const wr = (t, e, ...n) => {
|
|
24
|
-
let r = null, i = null,
|
|
24
|
+
let r = null, i = null, o = null, a = !1, s = !1;
|
|
25
25
|
const l = [], u = (d) => {
|
|
26
26
|
for (let h = 0; h < d.length; h++)
|
|
27
|
-
r = d[h], Array.isArray(r) ? u(r) : r != null && typeof r != "boolean" && ((
|
|
27
|
+
r = d[h], Array.isArray(r) ? u(r) : r != null && typeof r != "boolean" && ((a = typeof t != "function" && !rn(r)) && (r = String(r)), a && s ? l[l.length - 1].$text$ += r : l.push(a ? pt(null, r) : r), s = a);
|
|
28
28
|
};
|
|
29
29
|
if (u(n), e) {
|
|
30
|
-
e.key && (i = e.key), e.name && (
|
|
30
|
+
e.key && (i = e.key), e.name && (o = e.name);
|
|
31
31
|
{
|
|
32
32
|
const d = e.className || e.class;
|
|
33
33
|
d && (e.class = typeof d != "object" ? d : Object.keys(d).filter((h) => d[h]).join(" "));
|
|
@@ -36,7 +36,7 @@ const wr = (t, e, ...n) => {
|
|
|
36
36
|
if (typeof t == "function")
|
|
37
37
|
return t(e === null ? {} : e, l, qi);
|
|
38
38
|
const f = pt(t, null);
|
|
39
|
-
return f.$attrs$ = e, l.length > 0 && (f.$children$ = l), f.$key$ = i, f.$name$ =
|
|
39
|
+
return f.$attrs$ = e, l.length > 0 && (f.$children$ = l), f.$key$ = i, f.$name$ = o, f;
|
|
40
40
|
}, pt = (t, e) => {
|
|
41
41
|
const n = {
|
|
42
42
|
$flags$: 0,
|
|
@@ -76,33 +76,33 @@ const wr = (t, e, ...n) => {
|
|
|
76
76
|
}, $r = (t, e, n) => {
|
|
77
77
|
const r = q.ce(e, n);
|
|
78
78
|
return t.dispatchEvent(r), r;
|
|
79
|
-
},
|
|
79
|
+
}, An = /* @__PURE__ */ new WeakMap(), Ji = (t, e, n) => {
|
|
80
80
|
let r = mt.get(t);
|
|
81
|
-
|
|
81
|
+
Ea && n ? (r = r || new CSSStyleSheet(), typeof r == "string" ? r = e : r.replaceSync(e)) : r = e, mt.set(t, r);
|
|
82
82
|
}, Xi = (t, e, n) => {
|
|
83
83
|
var r;
|
|
84
|
-
const i = Er(e),
|
|
85
|
-
if (t = t.nodeType === 11 ? t :
|
|
86
|
-
if (typeof
|
|
84
|
+
const i = Er(e), o = mt.get(i);
|
|
85
|
+
if (t = t.nodeType === 11 ? t : ae, o)
|
|
86
|
+
if (typeof o == "string") {
|
|
87
87
|
t = t.head || t;
|
|
88
|
-
let
|
|
89
|
-
if (
|
|
88
|
+
let a = An.get(t), s;
|
|
89
|
+
if (a || An.set(t, a = /* @__PURE__ */ new Set()), !a.has(i)) {
|
|
90
90
|
{
|
|
91
|
-
s =
|
|
92
|
-
const l = (r = q.$nonce$) !== null && r !== void 0 ? r : br(
|
|
91
|
+
s = ae.createElement("style"), s.innerHTML = o;
|
|
92
|
+
const l = (r = q.$nonce$) !== null && r !== void 0 ? r : br(ae);
|
|
93
93
|
l != null && s.setAttribute("nonce", l), t.insertBefore(s, t.querySelector("link"));
|
|
94
94
|
}
|
|
95
|
-
e.$flags$ & 4 && (s.innerHTML += vr),
|
|
95
|
+
e.$flags$ & 4 && (s.innerHTML += vr), a && a.add(i);
|
|
96
96
|
}
|
|
97
97
|
} else
|
|
98
|
-
t.adoptedStyleSheets.includes(
|
|
98
|
+
t.adoptedStyleSheets.includes(o) || (t.adoptedStyleSheets = [...t.adoptedStyleSheets, o]);
|
|
99
99
|
return i;
|
|
100
100
|
}, Qi = (t) => {
|
|
101
|
-
const e = t.$cmpMeta$, n = t.$hostElement$, r = e.$flags$, i = Le("attachStyles", e.$tagName$),
|
|
102
|
-
r & 10 && (n["s-sc"] =
|
|
103
|
-
}, Er = (t, e) => "sc-" + t.$tagName$,
|
|
101
|
+
const e = t.$cmpMeta$, n = t.$hostElement$, r = e.$flags$, i = Le("attachStyles", e.$tagName$), o = Xi(n.shadowRoot ? n.shadowRoot : n.getRootNode(), e);
|
|
102
|
+
r & 10 && (n["s-sc"] = o, n.classList.add(o + "-h"), r & 2 && n.classList.add(o + "-s")), i();
|
|
103
|
+
}, Er = (t, e) => "sc-" + t.$tagName$, In = (t, e, n, r, i, o) => {
|
|
104
104
|
if (n !== r) {
|
|
105
|
-
let
|
|
105
|
+
let a = Pn(t, e), s = e.toLowerCase();
|
|
106
106
|
if (e === "class") {
|
|
107
107
|
const l = t.classList, u = On(n), f = On(r);
|
|
108
108
|
l.remove(...u.filter((d) => d && !f.includes(d))), l.add(...f.filter((d) => d && !u.includes(d)));
|
|
@@ -114,35 +114,35 @@ const wr = (t, e, ...n) => {
|
|
|
114
114
|
} else if (e !== "key")
|
|
115
115
|
if (e === "ref")
|
|
116
116
|
r && r(t);
|
|
117
|
-
else if (!
|
|
117
|
+
else if (!a && e[0] === "o" && e[1] === "n") {
|
|
118
118
|
if (e[2] === "-" ? e = e.slice(3) : Pn(lt, s) ? e = s.slice(2) : e = s[2] + e.slice(3), n || r) {
|
|
119
119
|
const l = e.endsWith(kr);
|
|
120
|
-
e = e.replace(
|
|
120
|
+
e = e.replace(ea, ""), n && q.rel(t, e, n, l), r && q.ael(t, e, r, l);
|
|
121
121
|
}
|
|
122
122
|
} else {
|
|
123
123
|
const l = rn(r);
|
|
124
|
-
if ((
|
|
124
|
+
if ((a || l && r !== null) && !i)
|
|
125
125
|
try {
|
|
126
126
|
if (t.tagName.includes("-"))
|
|
127
127
|
t[e] = r;
|
|
128
128
|
else {
|
|
129
129
|
const u = r ?? "";
|
|
130
|
-
e === "list" ?
|
|
130
|
+
e === "list" ? a = !1 : (n == null || t[e] != u) && (t[e] = u);
|
|
131
131
|
}
|
|
132
132
|
} catch {
|
|
133
133
|
}
|
|
134
|
-
r == null || r === !1 ? (r !== !1 || t.getAttribute(e) === "") && t.removeAttribute(e) : (!
|
|
134
|
+
r == null || r === !1 ? (r !== !1 || t.getAttribute(e) === "") && t.removeAttribute(e) : (!a || o & 4 || i) && !l && (r = r === !0 ? "" : r, t.setAttribute(e, r));
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
|
-
}, Vi = /\s/, On = (t) => t ? t.split(Vi) : [], kr = "Capture",
|
|
138
|
-
const i = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$,
|
|
139
|
-
for (r in a)
|
|
140
|
-
r in o || An(i, r, a[r], void 0, n, e.$flags$);
|
|
137
|
+
}, Vi = /\s/, On = (t) => t ? t.split(Vi) : [], kr = "Capture", ea = new RegExp(kr + "$"), xr = (t, e, n, r) => {
|
|
138
|
+
const i = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$, o = t && t.$attrs$ || Rn, a = e.$attrs$ || Rn;
|
|
141
139
|
for (r in o)
|
|
142
|
-
|
|
140
|
+
r in a || In(i, r, o[r], void 0, n, e.$flags$);
|
|
141
|
+
for (r in a)
|
|
142
|
+
In(i, r, o[r], a[r], n, e.$flags$);
|
|
143
143
|
}, yt = (t, e, n, r) => {
|
|
144
144
|
const i = e.$children$[n];
|
|
145
|
-
let
|
|
145
|
+
let o = 0, a, s, l;
|
|
146
146
|
if (gr || (nn = !0, i.$tag$ === "slot" && (Ge && r.classList.add(Ge + "-s"), i.$flags$ |= i.$children$ ? (
|
|
147
147
|
// slot element has fallback content
|
|
148
148
|
2
|
|
@@ -150,68 +150,68 @@ const wr = (t, e, ...n) => {
|
|
|
150
150
|
// slot element does not have fallback content
|
|
151
151
|
1
|
|
152
152
|
))), i.$text$ !== null)
|
|
153
|
-
|
|
153
|
+
a = i.$elm$ = ae.createTextNode(i.$text$);
|
|
154
154
|
else if (i.$flags$ & 1)
|
|
155
|
-
|
|
155
|
+
a = i.$elm$ = ae.createTextNode("");
|
|
156
156
|
else {
|
|
157
|
-
if (fe || (fe = i.$tag$ === "svg"),
|
|
158
|
-
for (
|
|
159
|
-
s = yt(t, i,
|
|
160
|
-
i.$tag$ === "svg" ? fe = !1 :
|
|
157
|
+
if (fe || (fe = i.$tag$ === "svg"), a = i.$elm$ = ae.createElementNS(fe ? Hi : Bi, i.$flags$ & 2 ? "slot-fb" : i.$tag$), fe && i.$tag$ === "foreignObject" && (fe = !1), xr(null, i, fe), Wi(Ge) && a["s-si"] !== Ge && a.classList.add(a["s-si"] = Ge), i.$children$)
|
|
158
|
+
for (o = 0; o < i.$children$.length; ++o)
|
|
159
|
+
s = yt(t, i, o, a), s && a.appendChild(s);
|
|
160
|
+
i.$tag$ === "svg" ? fe = !1 : a.tagName === "foreignObject" && (fe = !0);
|
|
161
161
|
}
|
|
162
|
-
return
|
|
163
|
-
},
|
|
162
|
+
return a["s-hn"] = kt, i.$flags$ & 3 && (a["s-sr"] = !0, a["s-cr"] = Bt, a["s-sn"] = i.$name$ || "", l = t && t.$children$ && t.$children$[n], l && l.$tag$ === i.$tag$ && t.$elm$ && ot(t.$elm$, !1)), a;
|
|
163
|
+
}, ot = (t, e) => {
|
|
164
164
|
q.$flags$ |= 1;
|
|
165
165
|
const n = t.childNodes;
|
|
166
166
|
for (let r = n.length - 1; r >= 0; r--) {
|
|
167
167
|
const i = n[r];
|
|
168
|
-
i["s-hn"] !== kt && i["s-ol"] && (Cr(i).insertBefore(i,
|
|
168
|
+
i["s-hn"] !== kt && i["s-ol"] && (Cr(i).insertBefore(i, an(i)), i["s-ol"].remove(), i["s-ol"] = void 0, i["s-sh"] = void 0, nn = !0), e && ot(i, e);
|
|
169
169
|
}
|
|
170
170
|
q.$flags$ &= -2;
|
|
171
|
-
}, Tr = (t, e, n, r, i,
|
|
172
|
-
let
|
|
173
|
-
for (
|
|
174
|
-
r[i] && (s = yt(null, n, i, t), s && (r[i].$elm$ = s,
|
|
171
|
+
}, Tr = (t, e, n, r, i, o) => {
|
|
172
|
+
let a = t["s-cr"] && t["s-cr"].parentNode || t, s;
|
|
173
|
+
for (a.shadowRoot && a.tagName === kt && (a = a.shadowRoot); i <= o; ++i)
|
|
174
|
+
r[i] && (s = yt(null, n, i, t), s && (r[i].$elm$ = s, a.insertBefore(s, an(e))));
|
|
175
175
|
}, Sr = (t, e, n) => {
|
|
176
176
|
for (let r = e; r <= n; ++r) {
|
|
177
177
|
const i = t[r];
|
|
178
178
|
if (i) {
|
|
179
|
-
const
|
|
180
|
-
Dr(i),
|
|
179
|
+
const o = i.$elm$;
|
|
180
|
+
Dr(i), o && (ht = !0, o["s-ol"] ? o["s-ol"].remove() : ot(o, !0), o.remove());
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
|
-
},
|
|
184
|
-
let
|
|
185
|
-
for (;
|
|
183
|
+
}, ta = (t, e, n, r, i = !1) => {
|
|
184
|
+
let o = 0, a = 0, s = 0, l = 0, u = e.length - 1, f = e[0], d = e[u], h = r.length - 1, p = r[0], y = r[h], b, w;
|
|
185
|
+
for (; o <= u && a <= h; )
|
|
186
186
|
if (f == null)
|
|
187
|
-
f = e[++
|
|
187
|
+
f = e[++o];
|
|
188
188
|
else if (d == null)
|
|
189
189
|
d = e[--u];
|
|
190
190
|
else if (p == null)
|
|
191
|
-
p = r[++
|
|
191
|
+
p = r[++a];
|
|
192
192
|
else if (y == null)
|
|
193
193
|
y = r[--h];
|
|
194
194
|
else if (dt(f, p, i))
|
|
195
|
-
Ze(f, p, i), f = e[++
|
|
195
|
+
Ze(f, p, i), f = e[++o], p = r[++a];
|
|
196
196
|
else if (dt(d, y, i))
|
|
197
197
|
Ze(d, y, i), d = e[--u], y = r[--h];
|
|
198
198
|
else if (dt(f, y, i))
|
|
199
|
-
(f.$tag$ === "slot" || y.$tag$ === "slot") &&
|
|
199
|
+
(f.$tag$ === "slot" || y.$tag$ === "slot") && ot(f.$elm$.parentNode, !1), Ze(f, y, i), t.insertBefore(f.$elm$, d.$elm$.nextSibling), f = e[++o], y = r[--h];
|
|
200
200
|
else if (dt(d, p, i))
|
|
201
|
-
(f.$tag$ === "slot" || y.$tag$ === "slot") &&
|
|
201
|
+
(f.$tag$ === "slot" || y.$tag$ === "slot") && ot(d.$elm$.parentNode, !1), Ze(d, p, i), t.insertBefore(d.$elm$, f.$elm$), d = e[--u], p = r[++a];
|
|
202
202
|
else {
|
|
203
|
-
for (s = -1, l =
|
|
203
|
+
for (s = -1, l = o; l <= u; ++l)
|
|
204
204
|
if (e[l] && e[l].$key$ !== null && e[l].$key$ === p.$key$) {
|
|
205
205
|
s = l;
|
|
206
206
|
break;
|
|
207
207
|
}
|
|
208
|
-
s >= 0 ? (w = e[s], w.$tag$ !== p.$tag$ ? b = yt(e && e[
|
|
208
|
+
s >= 0 ? (w = e[s], w.$tag$ !== p.$tag$ ? b = yt(e && e[a], n, s, t) : (Ze(w, p, i), e[s] = void 0, b = w.$elm$), p = r[++a]) : (b = yt(e && e[a], n, a, t), p = r[++a]), b && Cr(f.$elm$).insertBefore(b, an(f.$elm$));
|
|
209
209
|
}
|
|
210
|
-
|
|
211
|
-
}, dt = (t, e, n = !1) => t.$tag$ === e.$tag$ ? t.$tag$ === "slot" ? t.$name$ === e.$name$ : n ? !0 : t.$key$ === e.$key$ : !1,
|
|
212
|
-
const r = e.$elm$ = t.$elm$, i = t.$children$,
|
|
210
|
+
o > u ? Tr(t, r[h + 1] == null ? null : r[h + 1].$elm$, n, r, a, h) : a > h && Sr(e, o, u);
|
|
211
|
+
}, dt = (t, e, n = !1) => t.$tag$ === e.$tag$ ? t.$tag$ === "slot" ? t.$name$ === e.$name$ : n ? !0 : t.$key$ === e.$key$ : !1, an = (t) => t && t["s-ol"] || t, Cr = (t) => (t["s-ol"] ? t["s-ol"] : t).parentNode, Ze = (t, e, n = !1) => {
|
|
212
|
+
const r = e.$elm$ = t.$elm$, i = t.$children$, o = e.$children$, a = e.$tag$, s = e.$text$;
|
|
213
213
|
let l;
|
|
214
|
-
s === null ? (fe =
|
|
214
|
+
s === null ? (fe = a === "svg" ? !0 : a === "foreignObject" ? !1 : fe, a === "slot" || xr(t, e, fe), i !== null && o !== null ? ta(r, i, e, o, n) : o !== null ? (t.$text$ !== null && (r.textContent = ""), Tr(r, null, e, o, 0, o.length - 1)) : i !== null && Sr(i, 0, i.length - 1), fe && a === "svg" && (fe = !1)) : (l = r["s-cr"]) ? l.parentNode.textContent = s : t.$text$ !== s && (r.data = s);
|
|
215
215
|
}, _r = (t) => {
|
|
216
216
|
const e = t.childNodes;
|
|
217
217
|
for (const n of e)
|
|
@@ -234,24 +234,24 @@ const wr = (t, e, ...n) => {
|
|
|
234
234
|
}
|
|
235
235
|
_r(n);
|
|
236
236
|
}
|
|
237
|
-
},
|
|
237
|
+
}, Ie = [], Rr = (t) => {
|
|
238
238
|
let e, n, r;
|
|
239
239
|
for (const i of t.childNodes) {
|
|
240
240
|
if (i["s-sr"] && (e = i["s-cr"]) && e.parentNode) {
|
|
241
241
|
n = e.parentNode.childNodes;
|
|
242
|
-
const
|
|
242
|
+
const o = i["s-sn"];
|
|
243
243
|
for (r = n.length - 1; r >= 0; r--)
|
|
244
244
|
if (e = n[r], !e["s-cn"] && !e["s-nr"] && e["s-hn"] !== i["s-hn"] && !mr.experimentalSlotFixes)
|
|
245
|
-
if (Mn(e,
|
|
246
|
-
let
|
|
247
|
-
ht = !0, e["s-sn"] = e["s-sn"] ||
|
|
245
|
+
if (Mn(e, o)) {
|
|
246
|
+
let a = Ie.find((s) => s.$nodeToRelocate$ === e);
|
|
247
|
+
ht = !0, e["s-sn"] = e["s-sn"] || o, a ? (a.$nodeToRelocate$["s-sh"] = i["s-hn"], a.$slotRefNode$ = i) : (e["s-sh"] = i["s-hn"], Ie.push({
|
|
248
248
|
$slotRefNode$: i,
|
|
249
249
|
$nodeToRelocate$: e
|
|
250
|
-
})), e["s-sr"] &&
|
|
251
|
-
Mn(s.$nodeToRelocate$, e["s-sn"]) && (
|
|
250
|
+
})), e["s-sr"] && Ie.map((s) => {
|
|
251
|
+
Mn(s.$nodeToRelocate$, e["s-sn"]) && (a = Ie.find((l) => l.$nodeToRelocate$ === e), a && !s.$slotRefNode$ && (s.$slotRefNode$ = a.$slotRefNode$));
|
|
252
252
|
});
|
|
253
253
|
} else
|
|
254
|
-
|
|
254
|
+
Ie.some((a) => a.$nodeToRelocate$ === e) || Ie.push({
|
|
255
255
|
$nodeToRelocate$: e
|
|
256
256
|
});
|
|
257
257
|
}
|
|
@@ -259,8 +259,8 @@ const wr = (t, e, ...n) => {
|
|
|
259
259
|
}
|
|
260
260
|
}, Mn = (t, e) => t.nodeType === 1 ? t.getAttribute("slot") === null && e === "" || t.getAttribute("slot") === e : t["s-sn"] === e ? !0 : e === "", Dr = (t) => {
|
|
261
261
|
t.$attrs$ && t.$attrs$.ref && t.$attrs$.ref(null), t.$children$ && t.$children$.map(Dr);
|
|
262
|
-
},
|
|
263
|
-
var r, i,
|
|
262
|
+
}, na = (t, e, n = !1) => {
|
|
263
|
+
var r, i, o, a;
|
|
264
264
|
const s = t.$hostElement$, l = t.$cmpMeta$, u = t.$vnode$ || pt(null, null), f = zi(e) ? e : wr(null, null, e);
|
|
265
265
|
if (kt = s.tagName, n && f.$attrs$)
|
|
266
266
|
for (const d of Object.keys(f.$attrs$))
|
|
@@ -269,14 +269,14 @@ const wr = (t, e, ...n) => {
|
|
|
269
269
|
{
|
|
270
270
|
if (q.$flags$ |= 1, nn) {
|
|
271
271
|
Rr(f.$elm$);
|
|
272
|
-
for (const d of
|
|
272
|
+
for (const d of Ie) {
|
|
273
273
|
const h = d.$nodeToRelocate$;
|
|
274
274
|
if (!h["s-ol"]) {
|
|
275
|
-
const p =
|
|
275
|
+
const p = ae.createTextNode("");
|
|
276
276
|
p["s-nr"] = h, h.parentNode.insertBefore(h["s-ol"] = p, h);
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
|
-
for (const d of
|
|
279
|
+
for (const d of Ie) {
|
|
280
280
|
const h = d.$nodeToRelocate$, p = d.$slotRefNode$;
|
|
281
281
|
if (p) {
|
|
282
282
|
const y = p.parentNode;
|
|
@@ -292,53 +292,53 @@ const wr = (t, e, ...n) => {
|
|
|
292
292
|
w = w.previousSibling;
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
|
-
(!b && y !== h.parentNode || h.nextSibling !== b) && h !== b && (!h["s-hn"] && h["s-ol"] && (h["s-hn"] = h["s-ol"].parentNode.nodeName), y.insertBefore(h, b), h.nodeType === 1 && (h.hidden = (
|
|
295
|
+
(!b && y !== h.parentNode || h.nextSibling !== b) && h !== b && (!h["s-hn"] && h["s-ol"] && (h["s-hn"] = h["s-ol"].parentNode.nodeName), y.insertBefore(h, b), h.nodeType === 1 && (h.hidden = (o = h["s-ih"]) !== null && o !== void 0 ? o : !1));
|
|
296
296
|
} else
|
|
297
|
-
h.nodeType === 1 && (n && (h["s-ih"] = (
|
|
297
|
+
h.nodeType === 1 && (n && (h["s-ih"] = (a = h.hidden) !== null && a !== void 0 ? a : !1), h.hidden = !0);
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
|
-
ht && _r(f.$elm$), q.$flags$ &= -2,
|
|
300
|
+
ht && _r(f.$elm$), q.$flags$ &= -2, Ie.length = 0;
|
|
301
301
|
}
|
|
302
302
|
Bt = void 0;
|
|
303
|
-
},
|
|
303
|
+
}, Ar = (t, e) => {
|
|
304
304
|
e && !t.$onRenderResolve$ && e["s-p"] && e["s-p"].push(new Promise((n) => t.$onRenderResolve$ = n));
|
|
305
305
|
}, xt = (t, e) => {
|
|
306
306
|
if (t.$flags$ |= 16, t.$flags$ & 4) {
|
|
307
307
|
t.$flags$ |= 512;
|
|
308
308
|
return;
|
|
309
309
|
}
|
|
310
|
-
return
|
|
311
|
-
},
|
|
310
|
+
return Ar(t, t.$ancestorComponent$), xa(() => ra(t, e));
|
|
311
|
+
}, ra = (t, e) => {
|
|
312
312
|
const n = Le("scheduleUpdate", t.$cmpMeta$.$tagName$), r = t.$lazyInstance$;
|
|
313
313
|
let i;
|
|
314
|
-
return e ? (t.$flags$ |= 256, t.$queuedListeners$ && (t.$queuedListeners$.map(([
|
|
315
|
-
}, Ln = (t, e) =>
|
|
314
|
+
return e ? (t.$flags$ |= 256, t.$queuedListeners$ && (t.$queuedListeners$.map(([o, a]) => Oe(r, o, a)), t.$queuedListeners$ = void 0), i = Oe(r, "componentWillLoad")) : i = Oe(r, "componentWillUpdate"), i = Ln(i, () => Oe(r, "componentWillRender")), n(), Ln(i, () => aa(t, r, e));
|
|
315
|
+
}, Ln = (t, e) => ia(t) ? t.then(e) : e(), ia = (t) => t instanceof Promise || t && t.then && typeof t.then == "function", aa = async (t, e, n) => {
|
|
316
316
|
var r;
|
|
317
|
-
const i = t.$hostElement$,
|
|
317
|
+
const i = t.$hostElement$, o = Le("update", t.$cmpMeta$.$tagName$), a = i["s-rc"];
|
|
318
318
|
n && Qi(t);
|
|
319
319
|
const s = Le("render", t.$cmpMeta$.$tagName$);
|
|
320
|
-
|
|
320
|
+
oa(t, e, i, n), a && (a.map((l) => l()), i["s-rc"] = void 0), s(), o();
|
|
321
321
|
{
|
|
322
|
-
const l = (r = i["s-p"]) !== null && r !== void 0 ? r : [], u = () =>
|
|
322
|
+
const l = (r = i["s-p"]) !== null && r !== void 0 ? r : [], u = () => sa(t);
|
|
323
323
|
l.length === 0 ? u() : (Promise.all(l).then(u), t.$flags$ |= 4, l.length = 0);
|
|
324
324
|
}
|
|
325
|
-
},
|
|
325
|
+
}, oa = (t, e, n, r) => {
|
|
326
326
|
try {
|
|
327
|
-
Wt = e, e = e.render(), t.$flags$ &= -17, t.$flags$ |= 2,
|
|
327
|
+
Wt = e, e = e.render(), t.$flags$ &= -17, t.$flags$ |= 2, na(t, e, r);
|
|
328
328
|
} catch (i) {
|
|
329
329
|
_(i, t.$hostElement$);
|
|
330
330
|
}
|
|
331
331
|
return Wt = null, null;
|
|
332
|
-
},
|
|
333
|
-
const e = t.$cmpMeta$.$tagName$, n = t.$hostElement$, r = Le("postUpdate", e), i = t.$lazyInstance$,
|
|
334
|
-
Oe(i, "componentDidRender"), t.$flags$ & 64 ? (Oe(i, "componentDidUpdate"), r()) : (t.$flags$ |= 64, Or(n), Oe(i, "componentDidLoad"), r(), t.$onReadyResolve$(n),
|
|
335
|
-
},
|
|
332
|
+
}, Fn = () => Wt, sa = (t) => {
|
|
333
|
+
const e = t.$cmpMeta$.$tagName$, n = t.$hostElement$, r = Le("postUpdate", e), i = t.$lazyInstance$, o = t.$ancestorComponent$;
|
|
334
|
+
Oe(i, "componentDidRender"), t.$flags$ & 64 ? (Oe(i, "componentDidUpdate"), r()) : (t.$flags$ |= 64, Or(n), Oe(i, "componentDidLoad"), r(), t.$onReadyResolve$(n), o || Ir()), t.$onInstanceResolve$(n), t.$onRenderResolve$ && (t.$onRenderResolve$(), t.$onRenderResolve$ = void 0), t.$flags$ & 512 && sn(() => xt(t, !1)), t.$flags$ &= -517;
|
|
335
|
+
}, Un = (t) => {
|
|
336
336
|
{
|
|
337
337
|
const e = Te(t), n = e.$hostElement$.isConnected;
|
|
338
338
|
return n && (e.$flags$ & 18) === 2 && xt(e, !1), n;
|
|
339
339
|
}
|
|
340
|
-
},
|
|
341
|
-
Or(
|
|
340
|
+
}, Ir = (t) => {
|
|
341
|
+
Or(ae.documentElement), sn(() => $r(lt, "appload", { detail: { namespace: Ui } }));
|
|
342
342
|
}, Oe = (t, e, n) => {
|
|
343
343
|
if (t && t[e])
|
|
344
344
|
try {
|
|
@@ -346,18 +346,18 @@ const wr = (t, e, ...n) => {
|
|
|
346
346
|
} catch (r) {
|
|
347
347
|
_(r);
|
|
348
348
|
}
|
|
349
|
-
}, Or = (t) => t.classList.add("hydrated"),
|
|
350
|
-
const i = Te(t),
|
|
349
|
+
}, Or = (t) => t.classList.add("hydrated"), la = (t, e) => Te(t).$instanceValues$.get(e), ca = (t, e, n, r) => {
|
|
350
|
+
const i = Te(t), o = i.$hostElement$, a = i.$instanceValues$.get(e), s = i.$flags$, l = i.$lazyInstance$;
|
|
351
351
|
n = Gi(n, r.$members$[e][0]);
|
|
352
|
-
const u = Number.isNaN(
|
|
353
|
-
if ((!(s & 8) ||
|
|
352
|
+
const u = Number.isNaN(a) && Number.isNaN(n), f = n !== a && !u;
|
|
353
|
+
if ((!(s & 8) || a === void 0) && f && (i.$instanceValues$.set(e, n), l)) {
|
|
354
354
|
if (r.$watchers$ && s & 128) {
|
|
355
355
|
const d = r.$watchers$[e];
|
|
356
356
|
d && d.map((h) => {
|
|
357
357
|
try {
|
|
358
|
-
l[h](n,
|
|
358
|
+
l[h](n, a, e);
|
|
359
359
|
} catch (p) {
|
|
360
|
-
_(p,
|
|
360
|
+
_(p, o);
|
|
361
361
|
}
|
|
362
362
|
});
|
|
363
363
|
}
|
|
@@ -366,48 +366,48 @@ const wr = (t, e, ...n) => {
|
|
|
366
366
|
}, Mr = (t, e, n) => {
|
|
367
367
|
var r;
|
|
368
368
|
const i = t.prototype;
|
|
369
|
-
if (e.$flags$ & 64 && n & 1 && Yi.forEach((
|
|
370
|
-
value(...
|
|
369
|
+
if (e.$flags$ & 64 && n & 1 && Yi.forEach((o) => Object.defineProperty(i, o, {
|
|
370
|
+
value(...a) {
|
|
371
371
|
const s = Te(this), l = s.$lazyInstance$;
|
|
372
372
|
if (!l)
|
|
373
373
|
s.$onReadyPromise$.then((u) => {
|
|
374
|
-
const f = u[
|
|
375
|
-
typeof f == "function" && f.call(u, ...
|
|
374
|
+
const f = u[o];
|
|
375
|
+
typeof f == "function" && f.call(u, ...a);
|
|
376
376
|
});
|
|
377
377
|
else {
|
|
378
|
-
const u = l[
|
|
379
|
-
typeof u == "function" && u.call(l, ...
|
|
378
|
+
const u = l[o];
|
|
379
|
+
typeof u == "function" && u.call(l, ...a);
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
382
|
})), e.$members$) {
|
|
383
383
|
t.watchers && (e.$watchers$ = t.watchers);
|
|
384
|
-
const
|
|
385
|
-
if (
|
|
386
|
-
s & 31 || n & 2 && s & 32 ? Object.defineProperty(i,
|
|
384
|
+
const o = Object.entries(e.$members$);
|
|
385
|
+
if (o.map(([a, [s]]) => {
|
|
386
|
+
s & 31 || n & 2 && s & 32 ? Object.defineProperty(i, a, {
|
|
387
387
|
get() {
|
|
388
|
-
return
|
|
388
|
+
return la(this, a);
|
|
389
389
|
},
|
|
390
390
|
set(l) {
|
|
391
|
-
|
|
391
|
+
ca(this, a, l, e);
|
|
392
392
|
},
|
|
393
393
|
configurable: !0,
|
|
394
394
|
enumerable: !0
|
|
395
|
-
}) : n & 1 && s & 64 && Object.defineProperty(i,
|
|
395
|
+
}) : n & 1 && s & 64 && Object.defineProperty(i, a, {
|
|
396
396
|
value(...l) {
|
|
397
397
|
var u;
|
|
398
398
|
const f = Te(this);
|
|
399
399
|
return (u = f == null ? void 0 : f.$onInstancePromise$) === null || u === void 0 ? void 0 : u.then(() => {
|
|
400
400
|
var d;
|
|
401
|
-
return (d = f.$lazyInstance$) === null || d === void 0 ? void 0 : d[
|
|
401
|
+
return (d = f.$lazyInstance$) === null || d === void 0 ? void 0 : d[a](...l);
|
|
402
402
|
});
|
|
403
403
|
}
|
|
404
404
|
});
|
|
405
405
|
}), n & 1) {
|
|
406
|
-
const
|
|
406
|
+
const a = /* @__PURE__ */ new Map();
|
|
407
407
|
i.attributeChangedCallback = function(s, l, u) {
|
|
408
408
|
q.jmp(() => {
|
|
409
409
|
var f;
|
|
410
|
-
const d =
|
|
410
|
+
const d = a.get(s);
|
|
411
411
|
if (this.hasOwnProperty(d))
|
|
412
412
|
u = this[d], delete this[d];
|
|
413
413
|
else {
|
|
@@ -428,23 +428,23 @@ const wr = (t, e, ...n) => {
|
|
|
428
428
|
});
|
|
429
429
|
}, t.observedAttributes = Array.from(/* @__PURE__ */ new Set([
|
|
430
430
|
...Object.keys((r = e.$watchers$) !== null && r !== void 0 ? r : {}),
|
|
431
|
-
...
|
|
431
|
+
...o.filter(
|
|
432
432
|
([s, l]) => l[0] & 15
|
|
433
433
|
/* MEMBER_FLAGS.HasAttribute */
|
|
434
434
|
).map(([s, l]) => {
|
|
435
435
|
const u = l[1] || s;
|
|
436
|
-
return
|
|
436
|
+
return a.set(u, s), u;
|
|
437
437
|
})
|
|
438
438
|
]));
|
|
439
439
|
}
|
|
440
440
|
}
|
|
441
441
|
return t;
|
|
442
|
-
},
|
|
442
|
+
}, ua = async (t, e, n, r) => {
|
|
443
443
|
let i;
|
|
444
444
|
if (!(e.$flags$ & 32)) {
|
|
445
445
|
e.$flags$ |= 32;
|
|
446
446
|
{
|
|
447
|
-
if (i =
|
|
447
|
+
if (i = ba(n), i.then) {
|
|
448
448
|
const l = Ni();
|
|
449
449
|
i = await i, l();
|
|
450
450
|
}
|
|
@@ -472,50 +472,50 @@ const wr = (t, e, ...n) => {
|
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
|
-
const
|
|
476
|
-
|
|
475
|
+
const o = e.$ancestorComponent$, a = () => xt(e, !0);
|
|
476
|
+
o && o["s-rc"] ? o["s-rc"].push(a) : a();
|
|
477
477
|
}, zt = (t) => {
|
|
478
478
|
Oe(t, "connectedCallback");
|
|
479
|
-
},
|
|
479
|
+
}, fa = (t) => {
|
|
480
480
|
if (!(q.$flags$ & 1)) {
|
|
481
481
|
const e = Te(t), n = e.$cmpMeta$, r = Le("connectedCallback", n.$tagName$);
|
|
482
482
|
if (e.$flags$ & 1)
|
|
483
483
|
Lr(t, e, n.$listeners$), e != null && e.$lazyInstance$ ? zt(e.$lazyInstance$) : e != null && e.$onReadyPromise$ && e.$onReadyPromise$.then(() => zt(e.$lazyInstance$));
|
|
484
484
|
else {
|
|
485
485
|
e.$flags$ |= 1, // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
|
|
486
|
-
n.$flags$ & 12 &&
|
|
486
|
+
n.$flags$ & 12 && da(t);
|
|
487
487
|
{
|
|
488
488
|
let i = t;
|
|
489
489
|
for (; i = i.parentNode || i.host; )
|
|
490
490
|
if (i["s-p"]) {
|
|
491
|
-
|
|
491
|
+
Ar(e, e.$ancestorComponent$ = i);
|
|
492
492
|
break;
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
|
-
n.$members$ && Object.entries(n.$members$).map(([i, [
|
|
496
|
-
if (
|
|
497
|
-
const
|
|
498
|
-
delete t[i], t[i] =
|
|
495
|
+
n.$members$ && Object.entries(n.$members$).map(([i, [o]]) => {
|
|
496
|
+
if (o & 31 && t.hasOwnProperty(i)) {
|
|
497
|
+
const a = t[i];
|
|
498
|
+
delete t[i], t[i] = a;
|
|
499
499
|
}
|
|
500
|
-
}),
|
|
500
|
+
}), ua(t, e, n);
|
|
501
501
|
}
|
|
502
502
|
r();
|
|
503
503
|
}
|
|
504
|
-
},
|
|
505
|
-
const e = t["s-cr"] =
|
|
504
|
+
}, da = (t) => {
|
|
505
|
+
const e = t["s-cr"] = ae.createComment("");
|
|
506
506
|
e["s-cn"] = !0, t.insertBefore(e, t.firstChild);
|
|
507
507
|
}, Nn = (t) => {
|
|
508
508
|
Oe(t, "disconnectedCallback");
|
|
509
|
-
},
|
|
509
|
+
}, ha = async (t) => {
|
|
510
510
|
if (!(q.$flags$ & 1)) {
|
|
511
511
|
const e = Te(t);
|
|
512
512
|
e.$rmListeners$ && (e.$rmListeners$.map((n) => n()), e.$rmListeners$ = void 0), e != null && e.$lazyInstance$ ? Nn(e.$lazyInstance$) : e != null && e.$onReadyPromise$ && e.$onReadyPromise$.then(() => Nn(e.$lazyInstance$));
|
|
513
513
|
}
|
|
514
|
-
},
|
|
514
|
+
}, pa = (t, e = {}) => {
|
|
515
515
|
var n;
|
|
516
|
-
const r = Le(), i = [],
|
|
516
|
+
const r = Le(), i = [], o = e.exclude || [], a = lt.customElements, s = ae.head, l = /* @__PURE__ */ s.querySelector("meta[charset]"), u = /* @__PURE__ */ ae.createElement("style"), f = [];
|
|
517
517
|
let d, h = !0;
|
|
518
|
-
Object.assign(q, e), q.$resourcesUrl$ = new URL(e.resourcesUrl || "./",
|
|
518
|
+
Object.assign(q, e), q.$resourcesUrl$ = new URL(e.resourcesUrl || "./", ae.baseURI).href;
|
|
519
519
|
let p = !1;
|
|
520
520
|
if (t.map((y) => {
|
|
521
521
|
y[1].map((b) => {
|
|
@@ -530,19 +530,19 @@ const wr = (t, e, ...n) => {
|
|
|
530
530
|
const M = T.$tagName$, te = class extends HTMLElement {
|
|
531
531
|
// StencilLazyHost
|
|
532
532
|
constructor(le) {
|
|
533
|
-
super(le), le = this,
|
|
533
|
+
super(le), le = this, va(le, T), T.$flags$ & 1 && le.attachShadow({ mode: "open" });
|
|
534
534
|
}
|
|
535
535
|
connectedCallback() {
|
|
536
|
-
d && (clearTimeout(d), d = null), h ? f.push(this) : q.jmp(() =>
|
|
536
|
+
d && (clearTimeout(d), d = null), h ? f.push(this) : q.jmp(() => fa(this));
|
|
537
537
|
}
|
|
538
538
|
disconnectedCallback() {
|
|
539
|
-
q.jmp(() =>
|
|
539
|
+
q.jmp(() => ha(this));
|
|
540
540
|
}
|
|
541
541
|
componentOnReady() {
|
|
542
542
|
return Te(this).$onReadyPromise$;
|
|
543
543
|
}
|
|
544
544
|
};
|
|
545
|
-
T.$flags$ & 64 && (te.formAssociated = !0), T.$lazyBundleId$ = y[0], !
|
|
545
|
+
T.$flags$ & 64 && (te.formAssociated = !0), T.$lazyBundleId$ = y[0], !o.includes(M) && !a.get(M) && (i.push(M), a.define(M, Mr(
|
|
546
546
|
te,
|
|
547
547
|
T,
|
|
548
548
|
1
|
|
@@ -551,244 +551,244 @@ const wr = (t, e, ...n) => {
|
|
|
551
551
|
});
|
|
552
552
|
}), p && (u.innerHTML += vr), u.innerHTML += i + Pi, u.innerHTML.length) {
|
|
553
553
|
u.setAttribute("data-styles", "");
|
|
554
|
-
const y = (n = q.$nonce$) !== null && n !== void 0 ? n : br(
|
|
554
|
+
const y = (n = q.$nonce$) !== null && n !== void 0 ? n : br(ae);
|
|
555
555
|
y != null && u.setAttribute("nonce", y), s.insertBefore(u, l ? l.nextSibling : s.firstChild);
|
|
556
556
|
}
|
|
557
|
-
h = !1, f.length ? f.map((y) => y.connectedCallback()) : q.jmp(() => d = setTimeout(
|
|
557
|
+
h = !1, f.length ? f.map((y) => y.connectedCallback()) : q.jmp(() => d = setTimeout(Ir, 30)), r();
|
|
558
558
|
}, Rs = (t, e) => e, Lr = (t, e, n, r) => {
|
|
559
|
-
n && n.map(([i,
|
|
560
|
-
const s =
|
|
561
|
-
q.ael(s,
|
|
559
|
+
n && n.map(([i, o, a]) => {
|
|
560
|
+
const s = ma(t, i), l = ya(e, a), u = ga(i);
|
|
561
|
+
q.ael(s, o, l, u), (e.$rmListeners$ = e.$rmListeners$ || []).push(() => q.rel(s, o, l, u));
|
|
562
562
|
});
|
|
563
|
-
},
|
|
563
|
+
}, ya = (t, e) => (n) => {
|
|
564
564
|
try {
|
|
565
565
|
t.$flags$ & 256 ? t.$lazyInstance$[e](n) : (t.$queuedListeners$ = t.$queuedListeners$ || []).push([e, n]);
|
|
566
566
|
} catch (r) {
|
|
567
567
|
_(r);
|
|
568
568
|
}
|
|
569
|
-
},
|
|
569
|
+
}, ma = (t, e) => e & 4 ? ae : e & 8 ? lt : e & 16 ? ae.body : t, ga = (t) => wa ? {
|
|
570
570
|
passive: (t & 1) !== 0,
|
|
571
571
|
capture: (t & 2) !== 0
|
|
572
|
-
} : (t & 2) !== 0, Ds = (t) => q.$nonce$ = t,
|
|
572
|
+
} : (t & 2) !== 0, Ds = (t) => q.$nonce$ = t, on = /* @__PURE__ */ new WeakMap(), Te = (t) => on.get(t), As = (t, e) => on.set(e.$lazyInstance$ = t, e), va = (t, e) => {
|
|
573
573
|
const n = {
|
|
574
574
|
$flags$: 0,
|
|
575
575
|
$hostElement$: t,
|
|
576
576
|
$cmpMeta$: e,
|
|
577
577
|
$instanceValues$: /* @__PURE__ */ new Map()
|
|
578
578
|
};
|
|
579
|
-
return n.$onInstancePromise$ = new Promise((r) => n.$onInstanceResolve$ = r), n.$onReadyPromise$ = new Promise((r) => n.$onReadyResolve$ = r), t["s-p"] = [], t["s-rc"] = [], Lr(t, n, e.$listeners$),
|
|
580
|
-
}, Pn = (t, e) => e in t, _ = (t, e) => (0, console.error)(t, e),
|
|
581
|
-
const r = t.$tagName$.replace(/-/g, "_"), i = t.$lazyBundleId$,
|
|
582
|
-
if (
|
|
583
|
-
return
|
|
579
|
+
return n.$onInstancePromise$ = new Promise((r) => n.$onInstanceResolve$ = r), n.$onReadyPromise$ = new Promise((r) => n.$onReadyResolve$ = r), t["s-p"] = [], t["s-rc"] = [], Lr(t, n, e.$listeners$), on.set(t, n);
|
|
580
|
+
}, Pn = (t, e) => e in t, _ = (t, e) => (0, console.error)(t, e), Ft = /* @__PURE__ */ new Map(), ba = (t, e, n) => {
|
|
581
|
+
const r = t.$tagName$.replace(/-/g, "_"), i = t.$lazyBundleId$, o = Ft.get(i);
|
|
582
|
+
if (o)
|
|
583
|
+
return o[r];
|
|
584
584
|
if (!n || !mr.hotModuleReplacement) {
|
|
585
|
-
const
|
|
585
|
+
const a = (s) => (Ft.set(i, s), s[r]);
|
|
586
586
|
switch (i) {
|
|
587
587
|
case "document-refresh-icon":
|
|
588
588
|
return import(
|
|
589
589
|
/* webpackMode: "lazy" */
|
|
590
|
-
"./document-refresh-icon.entry-
|
|
591
|
-
).then(
|
|
590
|
+
"./document-refresh-icon.entry-b4c217df.js"
|
|
591
|
+
).then(a, _);
|
|
592
592
|
case "nylas-custom-booking-flow":
|
|
593
593
|
return import(
|
|
594
594
|
/* webpackMode: "lazy" */
|
|
595
|
-
"./nylas-custom-booking-flow.entry-
|
|
596
|
-
).then(
|
|
595
|
+
"./nylas-custom-booking-flow.entry-f31400e2.js"
|
|
596
|
+
).then(a, _);
|
|
597
597
|
case "nylas-if-state":
|
|
598
598
|
return import(
|
|
599
599
|
/* webpackMode: "lazy" */
|
|
600
|
-
"./nylas-if-state.entry-
|
|
601
|
-
).then(
|
|
600
|
+
"./nylas-if-state.entry-5bdf8669.js"
|
|
601
|
+
).then(a, _);
|
|
602
602
|
case "nylas-list-folders":
|
|
603
603
|
return import(
|
|
604
604
|
/* webpackMode: "lazy" */
|
|
605
|
-
"./nylas-list-folders.entry-
|
|
606
|
-
).then(
|
|
605
|
+
"./nylas-list-folders.entry-f0e7ae4e.js"
|
|
606
|
+
).then(a, _);
|
|
607
607
|
case "nylas-list-threads":
|
|
608
608
|
return import(
|
|
609
609
|
/* webpackMode: "lazy" */
|
|
610
|
-
"./nylas-list-threads.entry-
|
|
611
|
-
).then(
|
|
610
|
+
"./nylas-list-threads.entry-3f7451ad.js"
|
|
611
|
+
).then(a, _);
|
|
612
612
|
case "nylas-login":
|
|
613
613
|
return import(
|
|
614
614
|
/* webpackMode: "lazy" */
|
|
615
|
-
"./nylas-login.entry-
|
|
616
|
-
).then(
|
|
615
|
+
"./nylas-login.entry-e3b757a0.js"
|
|
616
|
+
).then(a, _);
|
|
617
617
|
case "nylas-mailbox":
|
|
618
618
|
return import(
|
|
619
619
|
/* webpackMode: "lazy" */
|
|
620
|
-
"./nylas-mailbox.entry-
|
|
621
|
-
).then(
|
|
620
|
+
"./nylas-mailbox.entry-1552ad11.js"
|
|
621
|
+
).then(a, _);
|
|
622
622
|
case "nylas-mailbox-pagination":
|
|
623
623
|
return import(
|
|
624
624
|
/* webpackMode: "lazy" */
|
|
625
|
-
"./nylas-mailbox-pagination.entry-
|
|
626
|
-
).then(
|
|
625
|
+
"./nylas-mailbox-pagination.entry-6c845a2a.js"
|
|
626
|
+
).then(a, _);
|
|
627
627
|
case "nylas-mailbox-toolbar-button":
|
|
628
628
|
return import(
|
|
629
629
|
/* webpackMode: "lazy" */
|
|
630
|
-
"./nylas-mailbox-toolbar-button.entry-
|
|
631
|
-
).then(
|
|
630
|
+
"./nylas-mailbox-toolbar-button.entry-ec196947.js"
|
|
631
|
+
).then(a, _);
|
|
632
632
|
case "nylas-provider":
|
|
633
633
|
return import(
|
|
634
634
|
/* webpackMode: "lazy" */
|
|
635
|
-
"./nylas-provider.entry-
|
|
636
|
-
).then(
|
|
635
|
+
"./nylas-provider.entry-6d286e92.js"
|
|
636
|
+
).then(a, _);
|
|
637
637
|
case "nylas-scheduler-editor":
|
|
638
638
|
return import(
|
|
639
639
|
/* webpackMode: "lazy" */
|
|
640
|
-
"./nylas-scheduler-editor.entry-
|
|
641
|
-
).then(
|
|
640
|
+
"./nylas-scheduler-editor.entry-caa1026b.js"
|
|
641
|
+
).then(a, _);
|
|
642
642
|
case "nylas-scheduling":
|
|
643
643
|
return import(
|
|
644
644
|
/* webpackMode: "lazy" */
|
|
645
|
-
"./nylas-scheduling.entry-
|
|
646
|
-
).then(
|
|
645
|
+
"./nylas-scheduling.entry-19ff3d50.js"
|
|
646
|
+
).then(a, _);
|
|
647
647
|
case "nylas-threads-refresh":
|
|
648
648
|
return import(
|
|
649
649
|
/* webpackMode: "lazy" */
|
|
650
|
-
"./nylas-threads-refresh.entry-
|
|
651
|
-
).then(
|
|
650
|
+
"./nylas-threads-refresh.entry-6acf3c2b.js"
|
|
651
|
+
).then(a, _);
|
|
652
652
|
case "nylas-threads-search":
|
|
653
653
|
return import(
|
|
654
654
|
/* webpackMode: "lazy" */
|
|
655
|
-
"./nylas-threads-search.entry-
|
|
656
|
-
).then(
|
|
655
|
+
"./nylas-threads-search.entry-82fa1504.js"
|
|
656
|
+
).then(a, _);
|
|
657
657
|
case "nylas-view-thread":
|
|
658
658
|
return import(
|
|
659
659
|
/* webpackMode: "lazy" */
|
|
660
|
-
"./nylas-view-thread.entry-
|
|
661
|
-
).then(
|
|
660
|
+
"./nylas-view-thread.entry-695a7b0b.js"
|
|
661
|
+
).then(a, _);
|
|
662
662
|
case "textarea-component":
|
|
663
663
|
return import(
|
|
664
664
|
/* webpackMode: "lazy" */
|
|
665
|
-
"./textarea-component.entry-
|
|
666
|
-
).then(
|
|
667
|
-
case "toggle-switch":
|
|
668
|
-
return import(
|
|
669
|
-
/* webpackMode: "lazy" */
|
|
670
|
-
"./toggle-switch.entry-339ab48b.js"
|
|
671
|
-
).then(o, _);
|
|
665
|
+
"./textarea-component.entry-1ec19adb.js"
|
|
666
|
+
).then(a, _);
|
|
672
667
|
case "archive-icon_7":
|
|
673
668
|
return import(
|
|
674
669
|
/* webpackMode: "lazy" */
|
|
675
|
-
"./archive-icon_7.entry-
|
|
676
|
-
).then(
|
|
670
|
+
"./archive-icon_7.entry-60e900b6.js"
|
|
671
|
+
).then(a, _);
|
|
677
672
|
case "arrow-icon":
|
|
678
673
|
return import(
|
|
679
674
|
/* webpackMode: "lazy" */
|
|
680
|
-
"./arrow-icon.entry-
|
|
681
|
-
).then(
|
|
675
|
+
"./arrow-icon.entry-057db95a.js"
|
|
676
|
+
).then(a, _);
|
|
682
677
|
case "forward-icon_6":
|
|
683
678
|
return import(
|
|
684
679
|
/* webpackMode: "lazy" */
|
|
685
|
-
"./forward-icon_6.entry-
|
|
686
|
-
).then(
|
|
680
|
+
"./forward-icon_6.entry-53683e82.js"
|
|
681
|
+
).then(a, _);
|
|
687
682
|
case "google-logo-icon_4":
|
|
688
683
|
return import(
|
|
689
684
|
/* webpackMode: "lazy" */
|
|
690
|
-
"./google-logo-icon_4.entry-
|
|
691
|
-
).then(
|
|
685
|
+
"./google-logo-icon_4.entry-77f3b86e.js"
|
|
686
|
+
).then(a, _);
|
|
692
687
|
case "nylas-booked-event-card_10":
|
|
693
688
|
return import(
|
|
694
689
|
/* webpackMode: "lazy" */
|
|
695
|
-
"./nylas-booked-event-card_10.entry-
|
|
696
|
-
).then(
|
|
690
|
+
"./nylas-booked-event-card_10.entry-ef9c2d62.js"
|
|
691
|
+
).then(a, _);
|
|
697
692
|
case "bold-icon_3":
|
|
698
693
|
return import(
|
|
699
694
|
/* webpackMode: "lazy" */
|
|
700
|
-
"./bold-icon_3.entry-
|
|
701
|
-
).then(
|
|
695
|
+
"./bold-icon_3.entry-557c6007.js"
|
|
696
|
+
).then(a, _);
|
|
702
697
|
case "calendar-check-icon_2":
|
|
703
698
|
return import(
|
|
704
699
|
/* webpackMode: "lazy" */
|
|
705
|
-
"./calendar-check-icon_2.entry-
|
|
706
|
-
).then(
|
|
707
|
-
case "calendar-info-
|
|
700
|
+
"./calendar-check-icon_2.entry-128a5d67.js"
|
|
701
|
+
).then(a, _);
|
|
702
|
+
case "calendar-info-icon_28":
|
|
708
703
|
return import(
|
|
709
704
|
/* webpackMode: "lazy" */
|
|
710
|
-
"./calendar-info-
|
|
711
|
-
).then(
|
|
705
|
+
"./calendar-info-icon_28.entry-b71c23c5.js"
|
|
706
|
+
).then(a, _);
|
|
712
707
|
case "clock-icon_2":
|
|
713
708
|
return import(
|
|
714
709
|
/* webpackMode: "lazy" */
|
|
715
|
-
"./clock-icon_2.entry-
|
|
716
|
-
).then(
|
|
710
|
+
"./clock-icon_2.entry-e959ae50.js"
|
|
711
|
+
).then(a, _);
|
|
717
712
|
case "input-component":
|
|
718
713
|
return import(
|
|
719
714
|
/* webpackMode: "lazy" */
|
|
720
|
-
"./input-component.entry-
|
|
721
|
-
).then(
|
|
715
|
+
"./input-component.entry-a38a65da.js"
|
|
716
|
+
).then(a, _);
|
|
722
717
|
case "play-icon_2":
|
|
723
718
|
return import(
|
|
724
719
|
/* webpackMode: "lazy" */
|
|
725
|
-
"./play-icon_2.entry-
|
|
726
|
-
).then(
|
|
720
|
+
"./play-icon_2.entry-ab47588e.js"
|
|
721
|
+
).then(a, _);
|
|
727
722
|
case "refresh-icon":
|
|
728
723
|
return import(
|
|
729
724
|
/* webpackMode: "lazy" */
|
|
730
|
-
"./refresh-icon.entry-
|
|
731
|
-
).then(
|
|
725
|
+
"./refresh-icon.entry-43267155.js"
|
|
726
|
+
).then(a, _);
|
|
732
727
|
case "translate-icon":
|
|
733
728
|
return import(
|
|
734
729
|
/* webpackMode: "lazy" */
|
|
735
|
-
"./translate-icon.entry-
|
|
736
|
-
).then(
|
|
730
|
+
"./translate-icon.entry-d412697e.js"
|
|
731
|
+
).then(a, _);
|
|
737
732
|
case "warning-icon":
|
|
738
733
|
return import(
|
|
739
734
|
/* webpackMode: "lazy" */
|
|
740
|
-
"./warning-icon.entry-
|
|
741
|
-
).then(
|
|
735
|
+
"./warning-icon.entry-3ee1f451.js"
|
|
736
|
+
).then(a, _);
|
|
742
737
|
case "calendar-cancel-icon":
|
|
743
738
|
return import(
|
|
744
739
|
/* webpackMode: "lazy" */
|
|
745
|
-
"./calendar-cancel-icon.entry-
|
|
746
|
-
).then(
|
|
740
|
+
"./calendar-cancel-icon.entry-820cf967.js"
|
|
741
|
+
).then(a, _);
|
|
747
742
|
case "calendar-icon":
|
|
748
743
|
return import(
|
|
749
744
|
/* webpackMode: "lazy" */
|
|
750
|
-
"./calendar-icon.entry-
|
|
751
|
-
).then(
|
|
745
|
+
"./calendar-icon.entry-a43e6011.js"
|
|
746
|
+
).then(a, _);
|
|
747
|
+
case "nylas-time-window-picker":
|
|
748
|
+
return import(
|
|
749
|
+
/* webpackMode: "lazy" */
|
|
750
|
+
"./nylas-time-window-picker.entry-3c45d82e.js"
|
|
751
|
+
).then(a, _);
|
|
752
752
|
case "button-component":
|
|
753
753
|
return import(
|
|
754
754
|
/* webpackMode: "lazy" */
|
|
755
|
-
"./button-component.entry-
|
|
756
|
-
).then(
|
|
755
|
+
"./button-component.entry-22d0ac2e.js"
|
|
756
|
+
).then(a, _);
|
|
757
757
|
case "nylas-form-card":
|
|
758
758
|
return import(
|
|
759
759
|
/* webpackMode: "lazy" */
|
|
760
|
-
"./nylas-form-card.entry-
|
|
761
|
-
).then(
|
|
760
|
+
"./nylas-form-card.entry-b189e066.js"
|
|
761
|
+
).then(a, _);
|
|
762
762
|
case "input-dropdown_2":
|
|
763
763
|
return import(
|
|
764
764
|
/* webpackMode: "lazy" */
|
|
765
|
-
"./input-dropdown_2.entry-
|
|
766
|
-
).then(
|
|
767
|
-
case "
|
|
765
|
+
"./input-dropdown_2.entry-ce1da1b3.js"
|
|
766
|
+
).then(a, _);
|
|
767
|
+
case "loading-icon":
|
|
768
768
|
return import(
|
|
769
769
|
/* webpackMode: "lazy" */
|
|
770
|
-
"./
|
|
771
|
-
).then(
|
|
772
|
-
case "
|
|
770
|
+
"./loading-icon.entry-4ab88ed8.js"
|
|
771
|
+
).then(a, _);
|
|
772
|
+
case "add-circle-icon_2":
|
|
773
773
|
return import(
|
|
774
774
|
/* webpackMode: "lazy" */
|
|
775
|
-
"./
|
|
776
|
-
).then(
|
|
775
|
+
"./add-circle-icon_2.entry-ce6aaa1d.js"
|
|
776
|
+
).then(a, _);
|
|
777
777
|
case "globe-icon":
|
|
778
778
|
return import(
|
|
779
779
|
/* webpackMode: "lazy" */
|
|
780
|
-
"./globe-icon.entry-
|
|
781
|
-
).then(
|
|
780
|
+
"./globe-icon.entry-dbb47687.js"
|
|
781
|
+
).then(a, _);
|
|
782
782
|
case "chevron-icon_3":
|
|
783
783
|
return import(
|
|
784
784
|
/* webpackMode: "lazy" */
|
|
785
|
-
"./chevron-icon_3.entry-
|
|
786
|
-
).then(
|
|
785
|
+
"./chevron-icon_3.entry-e0796c69.js"
|
|
786
|
+
).then(a, _);
|
|
787
787
|
case "info-icon_2":
|
|
788
788
|
return import(
|
|
789
789
|
/* webpackMode: "lazy" */
|
|
790
|
-
"./info-icon_2.entry-
|
|
791
|
-
).then(
|
|
790
|
+
"./info-icon_2.entry-c27ac645.js"
|
|
791
|
+
).then(a, _);
|
|
792
792
|
}
|
|
793
793
|
}
|
|
794
794
|
return import(
|
|
@@ -797,8 +797,8 @@ const wr = (t, e, ...n) => {
|
|
|
797
797
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
798
798
|
/* webpackMode: "lazy" */
|
|
799
799
|
`./${i}.entry.js`
|
|
800
|
-
).then((
|
|
801
|
-
}, mt = /* @__PURE__ */ new Map(), lt = typeof window < "u" ? window : {},
|
|
800
|
+
).then((a) => (Ft.set(i, a), a[r]), _);
|
|
801
|
+
}, mt = /* @__PURE__ */ new Map(), lt = typeof window < "u" ? window : {}, ae = lt.document || { head: {} }, q = {
|
|
802
802
|
$flags$: 0,
|
|
803
803
|
$resourcesUrl$: "",
|
|
804
804
|
jmp: (t) => t(),
|
|
@@ -806,10 +806,10 @@ const wr = (t, e, ...n) => {
|
|
|
806
806
|
ael: (t, e, n, r) => t.addEventListener(e, n, r),
|
|
807
807
|
rel: (t, e, n, r) => t.removeEventListener(e, n, r),
|
|
808
808
|
ce: (t, e) => new CustomEvent(t, e)
|
|
809
|
-
},
|
|
809
|
+
}, wa = /* @__PURE__ */ (() => {
|
|
810
810
|
let t = !1;
|
|
811
811
|
try {
|
|
812
|
-
|
|
812
|
+
ae.addEventListener("e", null, Object.defineProperty({}, "passive", {
|
|
813
813
|
get() {
|
|
814
814
|
t = !0;
|
|
815
815
|
}
|
|
@@ -817,13 +817,13 @@ const wr = (t, e, ...n) => {
|
|
|
817
817
|
} catch {
|
|
818
818
|
}
|
|
819
819
|
return t;
|
|
820
|
-
})(),
|
|
820
|
+
})(), $a = (t) => Promise.resolve(t), Ea = /* @__PURE__ */ (() => {
|
|
821
821
|
try {
|
|
822
822
|
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
|
823
823
|
} catch {
|
|
824
824
|
}
|
|
825
825
|
return !1;
|
|
826
|
-
})(), Yn = [],
|
|
826
|
+
})(), Yn = [], Fr = [], ka = (t, e) => (n) => {
|
|
827
827
|
t.push(n), jt || (jt = !0, e && q.$flags$ & 4 ? sn(qt) : q.raf(qt));
|
|
828
828
|
}, Hn = (t) => {
|
|
829
829
|
for (let e = 0; e < t.length; e++)
|
|
@@ -834,51 +834,51 @@ const wr = (t, e, ...n) => {
|
|
|
834
834
|
}
|
|
835
835
|
t.length = 0;
|
|
836
836
|
}, qt = () => {
|
|
837
|
-
Hn(Yn), Hn(
|
|
838
|
-
}, sn = (t) =>
|
|
837
|
+
Hn(Yn), Hn(Fr), (jt = Yn.length > 0) && q.raf(qt);
|
|
838
|
+
}, sn = (t) => $a().then(t), xa = /* @__PURE__ */ ka(Fr, !0), Ta = (t, e, n) => {
|
|
839
839
|
const r = t.get(e);
|
|
840
840
|
r ? r.includes(n) || r.push(n) : t.set(e, [n]);
|
|
841
|
-
},
|
|
841
|
+
}, Sa = (t, e) => {
|
|
842
842
|
let n;
|
|
843
843
|
return (...r) => {
|
|
844
844
|
n && clearTimeout(n), n = setTimeout(() => {
|
|
845
845
|
n = 0, t(...r);
|
|
846
846
|
}, e);
|
|
847
847
|
};
|
|
848
|
-
},
|
|
848
|
+
}, Ca = (t) => !("isConnected" in t) || t.isConnected, Bn = Sa((t) => {
|
|
849
849
|
for (let e of t.keys())
|
|
850
|
-
t.set(e, t.get(e).filter(
|
|
851
|
-
}, 2e3),
|
|
852
|
-
if (typeof
|
|
850
|
+
t.set(e, t.get(e).filter(Ca));
|
|
851
|
+
}, 2e3), _a = () => {
|
|
852
|
+
if (typeof Fn != "function")
|
|
853
853
|
return {};
|
|
854
854
|
const t = /* @__PURE__ */ new Map();
|
|
855
855
|
return {
|
|
856
856
|
dispose: () => t.clear(),
|
|
857
857
|
get: (e) => {
|
|
858
|
-
const n =
|
|
859
|
-
n &&
|
|
858
|
+
const n = Fn();
|
|
859
|
+
n && Ta(t, e, n);
|
|
860
860
|
},
|
|
861
861
|
set: (e) => {
|
|
862
862
|
const n = t.get(e);
|
|
863
|
-
n && t.set(e, n.filter(
|
|
863
|
+
n && t.set(e, n.filter(Un)), Bn(t);
|
|
864
864
|
},
|
|
865
865
|
reset: () => {
|
|
866
|
-
t.forEach((e) => e.forEach(
|
|
866
|
+
t.forEach((e) => e.forEach(Un)), Bn(t);
|
|
867
867
|
}
|
|
868
868
|
};
|
|
869
|
-
},
|
|
870
|
-
const n =
|
|
869
|
+
}, Ut = (t) => typeof t == "function" ? t() : t, Ra = (t, e = (n, r) => n !== r) => {
|
|
870
|
+
const n = Ut(t);
|
|
871
871
|
let r = new Map(Object.entries(n ?? {}));
|
|
872
872
|
const i = {
|
|
873
873
|
dispose: [],
|
|
874
874
|
get: [],
|
|
875
875
|
set: [],
|
|
876
876
|
reset: []
|
|
877
|
-
}, a = () => {
|
|
878
|
-
var y;
|
|
879
|
-
r = new Map(Object.entries((y = Ft(t)) !== null && y !== void 0 ? y : {})), i.reset.forEach((b) => b());
|
|
880
877
|
}, o = () => {
|
|
881
|
-
|
|
878
|
+
var y;
|
|
879
|
+
r = new Map(Object.entries((y = Ut(t)) !== null && y !== void 0 ? y : {})), i.reset.forEach((b) => b());
|
|
880
|
+
}, a = () => {
|
|
881
|
+
i.dispose.forEach((y) => y()), o();
|
|
882
882
|
}, s = (y) => (i.get.forEach((b) => b(y)), r.get(y)), l = (y, b) => {
|
|
883
883
|
const w = r.get(y);
|
|
884
884
|
e(b, w, y) && (r.set(y, b), i.set.forEach((T) => T(y, b, w)));
|
|
@@ -902,7 +902,7 @@ const wr = (t, e, ...n) => {
|
|
|
902
902
|
return l(b, w), !0;
|
|
903
903
|
}
|
|
904
904
|
}), f = (y, b) => (i[y].push(b), () => {
|
|
905
|
-
|
|
905
|
+
Da(i[y], b);
|
|
906
906
|
});
|
|
907
907
|
return {
|
|
908
908
|
state: u,
|
|
@@ -912,7 +912,7 @@ const wr = (t, e, ...n) => {
|
|
|
912
912
|
onChange: (y, b) => {
|
|
913
913
|
const w = f("set", (M, te) => {
|
|
914
914
|
M === y && b(te);
|
|
915
|
-
}), T = f("reset", () => b(
|
|
915
|
+
}), T = f("reset", () => b(Ut(t)[y]));
|
|
916
916
|
return () => {
|
|
917
917
|
w(), T();
|
|
918
918
|
};
|
|
@@ -921,77 +921,77 @@ const wr = (t, e, ...n) => {
|
|
|
921
921
|
const b = y.reduce((w, T) => (T.set && w.push(f("set", T.set)), T.get && w.push(f("get", T.get)), T.reset && w.push(f("reset", T.reset)), T.dispose && w.push(f("dispose", T.dispose)), w), []);
|
|
922
922
|
return () => b.forEach((w) => w());
|
|
923
923
|
},
|
|
924
|
-
dispose:
|
|
925
|
-
reset:
|
|
924
|
+
dispose: a,
|
|
925
|
+
reset: o,
|
|
926
926
|
forceUpdate: (y) => {
|
|
927
927
|
const b = r.get(y);
|
|
928
928
|
i.set.forEach((w) => w(y, b, b));
|
|
929
929
|
}
|
|
930
930
|
};
|
|
931
|
-
},
|
|
931
|
+
}, Da = (t, e) => {
|
|
932
932
|
const n = t.indexOf(e);
|
|
933
933
|
n >= 0 && (t[n] = t[t.length - 1], t.length--);
|
|
934
|
-
},
|
|
935
|
-
const n =
|
|
936
|
-
return n.use(
|
|
934
|
+
}, Aa = (t, e) => {
|
|
935
|
+
const n = Ra(t, e);
|
|
936
|
+
return n.use(_a()), n;
|
|
937
937
|
}, Wn = typeof global < "u" ? global : typeof self < "u" ? self : typeof window < "u" ? window : {};
|
|
938
|
-
var xe = [], ye = [],
|
|
939
|
-
function
|
|
938
|
+
var xe = [], ye = [], Ia = typeof Uint8Array < "u" ? Uint8Array : Array, ln = !1;
|
|
939
|
+
function Ur() {
|
|
940
940
|
ln = !0;
|
|
941
941
|
for (var t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", e = 0, n = t.length; e < n; ++e)
|
|
942
942
|
xe[e] = t[e], ye[t.charCodeAt(e)] = e;
|
|
943
943
|
ye["-".charCodeAt(0)] = 62, ye["_".charCodeAt(0)] = 63;
|
|
944
944
|
}
|
|
945
|
-
function
|
|
946
|
-
ln ||
|
|
947
|
-
var e, n, r, i,
|
|
945
|
+
function Oa(t) {
|
|
946
|
+
ln || Ur();
|
|
947
|
+
var e, n, r, i, o, a, s = t.length;
|
|
948
948
|
if (s % 4 > 0)
|
|
949
949
|
throw new Error("Invalid string. Length must be a multiple of 4");
|
|
950
|
-
|
|
950
|
+
o = t[s - 2] === "=" ? 2 : t[s - 1] === "=" ? 1 : 0, a = new Ia(s * 3 / 4 - o), r = o > 0 ? s - 4 : s;
|
|
951
951
|
var l = 0;
|
|
952
952
|
for (e = 0, n = 0; e < r; e += 4, n += 3)
|
|
953
|
-
i = ye[t.charCodeAt(e)] << 18 | ye[t.charCodeAt(e + 1)] << 12 | ye[t.charCodeAt(e + 2)] << 6 | ye[t.charCodeAt(e + 3)],
|
|
954
|
-
return
|
|
953
|
+
i = ye[t.charCodeAt(e)] << 18 | ye[t.charCodeAt(e + 1)] << 12 | ye[t.charCodeAt(e + 2)] << 6 | ye[t.charCodeAt(e + 3)], a[l++] = i >> 16 & 255, a[l++] = i >> 8 & 255, a[l++] = i & 255;
|
|
954
|
+
return o === 2 ? (i = ye[t.charCodeAt(e)] << 2 | ye[t.charCodeAt(e + 1)] >> 4, a[l++] = i & 255) : o === 1 && (i = ye[t.charCodeAt(e)] << 10 | ye[t.charCodeAt(e + 1)] << 4 | ye[t.charCodeAt(e + 2)] >> 2, a[l++] = i >> 8 & 255, a[l++] = i & 255), a;
|
|
955
955
|
}
|
|
956
|
-
function
|
|
956
|
+
function Ma(t) {
|
|
957
957
|
return xe[t >> 18 & 63] + xe[t >> 12 & 63] + xe[t >> 6 & 63] + xe[t & 63];
|
|
958
958
|
}
|
|
959
|
-
function
|
|
960
|
-
for (var r, i = [],
|
|
961
|
-
r = (t[
|
|
959
|
+
function La(t, e, n) {
|
|
960
|
+
for (var r, i = [], o = e; o < n; o += 3)
|
|
961
|
+
r = (t[o] << 16) + (t[o + 1] << 8) + t[o + 2], i.push(Ma(r));
|
|
962
962
|
return i.join("");
|
|
963
963
|
}
|
|
964
964
|
function jn(t) {
|
|
965
|
-
ln ||
|
|
966
|
-
for (var e, n = t.length, r = n % 3, i = "",
|
|
967
|
-
|
|
968
|
-
return r === 1 ? (e = t[n - 1], i += xe[e >> 2], i += xe[e << 4 & 63], i += "==") : r === 2 && (e = (t[n - 2] << 8) + t[n - 1], i += xe[e >> 10], i += xe[e >> 4 & 63], i += xe[e << 2 & 63], i += "="),
|
|
965
|
+
ln || Ur();
|
|
966
|
+
for (var e, n = t.length, r = n % 3, i = "", o = [], a = 16383, s = 0, l = n - r; s < l; s += a)
|
|
967
|
+
o.push(La(t, s, s + a > l ? l : s + a));
|
|
968
|
+
return r === 1 ? (e = t[n - 1], i += xe[e >> 2], i += xe[e << 4 & 63], i += "==") : r === 2 && (e = (t[n - 2] << 8) + t[n - 1], i += xe[e >> 10], i += xe[e >> 4 & 63], i += xe[e << 2 & 63], i += "="), o.push(i), o.join("");
|
|
969
969
|
}
|
|
970
970
|
function Tt(t, e, n, r, i) {
|
|
971
|
-
var
|
|
972
|
-
for (d += h,
|
|
971
|
+
var o, a, s = i * 8 - r - 1, l = (1 << s) - 1, u = l >> 1, f = -7, d = n ? i - 1 : 0, h = n ? -1 : 1, p = t[e + d];
|
|
972
|
+
for (d += h, o = p & (1 << -f) - 1, p >>= -f, f += s; f > 0; o = o * 256 + t[e + d], d += h, f -= 8)
|
|
973
973
|
;
|
|
974
|
-
for (
|
|
974
|
+
for (a = o & (1 << -f) - 1, o >>= -f, f += r; f > 0; a = a * 256 + t[e + d], d += h, f -= 8)
|
|
975
975
|
;
|
|
976
|
-
if (
|
|
977
|
-
|
|
976
|
+
if (o === 0)
|
|
977
|
+
o = 1 - u;
|
|
978
978
|
else {
|
|
979
|
-
if (
|
|
980
|
-
return
|
|
981
|
-
|
|
979
|
+
if (o === l)
|
|
980
|
+
return a ? NaN : (p ? -1 : 1) * (1 / 0);
|
|
981
|
+
a = a + Math.pow(2, r), o = o - u;
|
|
982
982
|
}
|
|
983
|
-
return (p ? -1 : 1) *
|
|
983
|
+
return (p ? -1 : 1) * a * Math.pow(2, o - r);
|
|
984
984
|
}
|
|
985
|
-
function Nr(t, e, n, r, i,
|
|
986
|
-
var
|
|
987
|
-
for (e = Math.abs(e), isNaN(e) || e === 1 / 0 ? (s = isNaN(e) ? 1 : 0,
|
|
985
|
+
function Nr(t, e, n, r, i, o) {
|
|
986
|
+
var a, s, l, u = o * 8 - i - 1, f = (1 << u) - 1, d = f >> 1, h = i === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, p = r ? 0 : o - 1, y = r ? 1 : -1, b = e < 0 || e === 0 && 1 / e < 0 ? 1 : 0;
|
|
987
|
+
for (e = Math.abs(e), isNaN(e) || e === 1 / 0 ? (s = isNaN(e) ? 1 : 0, a = f) : (a = Math.floor(Math.log(e) / Math.LN2), e * (l = Math.pow(2, -a)) < 1 && (a--, l *= 2), a + d >= 1 ? e += h / l : e += h * Math.pow(2, 1 - d), e * l >= 2 && (a++, l /= 2), a + d >= f ? (s = 0, a = f) : a + d >= 1 ? (s = (e * l - 1) * Math.pow(2, i), a = a + d) : (s = e * Math.pow(2, d - 1) * Math.pow(2, i), a = 0)); i >= 8; t[n + p] = s & 255, p += y, s /= 256, i -= 8)
|
|
988
988
|
;
|
|
989
|
-
for (
|
|
989
|
+
for (a = a << i | s, u += i; u > 0; t[n + p] = a & 255, p += y, a /= 256, u -= 8)
|
|
990
990
|
;
|
|
991
991
|
t[n + p - y] |= b * 128;
|
|
992
992
|
}
|
|
993
|
-
var
|
|
994
|
-
return
|
|
993
|
+
var Fa = {}.toString, Pr = Array.isArray || function(t) {
|
|
994
|
+
return Fa.call(t) == "[object Array]";
|
|
995
995
|
};
|
|
996
996
|
/*!
|
|
997
997
|
* The buffer module from node.js, for the browser.
|
|
@@ -999,7 +999,7 @@ var Fo = {}.toString, Pr = Array.isArray || function(t) {
|
|
|
999
999
|
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
|
1000
1000
|
* @license MIT
|
|
1001
1001
|
*/
|
|
1002
|
-
var
|
|
1002
|
+
var Ua = 50;
|
|
1003
1003
|
m.TYPED_ARRAY_SUPPORT = Wn.TYPED_ARRAY_SUPPORT !== void 0 ? Wn.TYPED_ARRAY_SUPPORT : !0;
|
|
1004
1004
|
function Kt() {
|
|
1005
1005
|
return m.TYPED_ARRAY_SUPPORT ? 2147483647 : 1073741823;
|
|
@@ -1028,7 +1028,7 @@ m._augment = function(t) {
|
|
|
1028
1028
|
function Yr(t, e, n, r) {
|
|
1029
1029
|
if (typeof e == "number")
|
|
1030
1030
|
throw new TypeError('"value" argument must not be a number');
|
|
1031
|
-
return typeof ArrayBuffer < "u" && e instanceof ArrayBuffer ?
|
|
1031
|
+
return typeof ArrayBuffer < "u" && e instanceof ArrayBuffer ? Ya(t, e, n, r) : typeof e == "string" ? Pa(t, e, n) : Ha(t, e);
|
|
1032
1032
|
}
|
|
1033
1033
|
m.from = function(t, e, n) {
|
|
1034
1034
|
return Yr(null, t, e, n);
|
|
@@ -1040,11 +1040,11 @@ function Hr(t) {
|
|
|
1040
1040
|
if (t < 0)
|
|
1041
1041
|
throw new RangeError('"size" argument must not be negative');
|
|
1042
1042
|
}
|
|
1043
|
-
function
|
|
1043
|
+
function Na(t, e, n, r) {
|
|
1044
1044
|
return Hr(e), e <= 0 ? Me(t, e) : n !== void 0 ? typeof r == "string" ? Me(t, e).fill(n, r) : Me(t, e).fill(n) : Me(t, e);
|
|
1045
1045
|
}
|
|
1046
1046
|
m.alloc = function(t, e, n) {
|
|
1047
|
-
return
|
|
1047
|
+
return Na(null, t, e, n);
|
|
1048
1048
|
};
|
|
1049
1049
|
function cn(t, e) {
|
|
1050
1050
|
if (Hr(e), t = Me(t, e < 0 ? 0 : un(e) | 0), !m.TYPED_ARRAY_SUPPORT)
|
|
@@ -1058,7 +1058,7 @@ m.allocUnsafe = function(t) {
|
|
|
1058
1058
|
m.allocUnsafeSlow = function(t) {
|
|
1059
1059
|
return cn(null, t);
|
|
1060
1060
|
};
|
|
1061
|
-
function
|
|
1061
|
+
function Pa(t, e, n) {
|
|
1062
1062
|
if ((typeof n != "string" || n === "") && (n = "utf8"), !m.isEncoding(n))
|
|
1063
1063
|
throw new TypeError('"encoding" must be a valid string encoding');
|
|
1064
1064
|
var r = Br(e, n) | 0;
|
|
@@ -1073,21 +1073,21 @@ function Gt(t, e) {
|
|
|
1073
1073
|
t[r] = e[r] & 255;
|
|
1074
1074
|
return t;
|
|
1075
1075
|
}
|
|
1076
|
-
function
|
|
1076
|
+
function Ya(t, e, n, r) {
|
|
1077
1077
|
if (n < 0 || e.byteLength < n)
|
|
1078
1078
|
throw new RangeError("'offset' is out of bounds");
|
|
1079
1079
|
if (e.byteLength < n + (r || 0))
|
|
1080
1080
|
throw new RangeError("'length' is out of bounds");
|
|
1081
1081
|
return n === void 0 && r === void 0 ? e = new Uint8Array(e) : r === void 0 ? e = new Uint8Array(e, n) : e = new Uint8Array(e, n, r), m.TYPED_ARRAY_SUPPORT ? (t = e, t.__proto__ = m.prototype) : t = Gt(t, e), t;
|
|
1082
1082
|
}
|
|
1083
|
-
function
|
|
1083
|
+
function Ha(t, e) {
|
|
1084
1084
|
if (Se(e)) {
|
|
1085
1085
|
var n = un(e.length) | 0;
|
|
1086
1086
|
return t = Me(t, n), t.length === 0 || e.copy(t, 0, 0, n), t;
|
|
1087
1087
|
}
|
|
1088
1088
|
if (e) {
|
|
1089
1089
|
if (typeof ArrayBuffer < "u" && e.buffer instanceof ArrayBuffer || "length" in e)
|
|
1090
|
-
return typeof e.length != "number" ||
|
|
1090
|
+
return typeof e.length != "number" || oo(e.length) ? Me(t, 0) : Gt(t, e);
|
|
1091
1091
|
if (e.type === "Buffer" && Pr(e.data))
|
|
1092
1092
|
return Gt(t, e.data);
|
|
1093
1093
|
}
|
|
@@ -1098,7 +1098,7 @@ function un(t) {
|
|
|
1098
1098
|
throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + Kt().toString(16) + " bytes");
|
|
1099
1099
|
return t | 0;
|
|
1100
1100
|
}
|
|
1101
|
-
m.isBuffer =
|
|
1101
|
+
m.isBuffer = so;
|
|
1102
1102
|
function Se(t) {
|
|
1103
1103
|
return !!(t != null && t._isBuffer);
|
|
1104
1104
|
}
|
|
@@ -1107,9 +1107,9 @@ m.compare = function(e, n) {
|
|
|
1107
1107
|
throw new TypeError("Arguments must be Buffers");
|
|
1108
1108
|
if (e === n)
|
|
1109
1109
|
return 0;
|
|
1110
|
-
for (var r = e.length, i = n.length,
|
|
1111
|
-
if (e[
|
|
1112
|
-
r = e[
|
|
1110
|
+
for (var r = e.length, i = n.length, o = 0, a = Math.min(r, i); o < a; ++o)
|
|
1111
|
+
if (e[o] !== n[o]) {
|
|
1112
|
+
r = e[o], i = n[o];
|
|
1113
1113
|
break;
|
|
1114
1114
|
}
|
|
1115
1115
|
return r < i ? -1 : i < r ? 1 : 0;
|
|
@@ -1141,12 +1141,12 @@ m.concat = function(e, n) {
|
|
|
1141
1141
|
if (n === void 0)
|
|
1142
1142
|
for (n = 0, r = 0; r < e.length; ++r)
|
|
1143
1143
|
n += e[r].length;
|
|
1144
|
-
var i = m.allocUnsafe(n),
|
|
1144
|
+
var i = m.allocUnsafe(n), o = 0;
|
|
1145
1145
|
for (r = 0; r < e.length; ++r) {
|
|
1146
|
-
var
|
|
1147
|
-
if (!Se(
|
|
1146
|
+
var a = e[r];
|
|
1147
|
+
if (!Se(a))
|
|
1148
1148
|
throw new TypeError('"list" argument must be an Array of Buffers');
|
|
1149
|
-
|
|
1149
|
+
a.copy(i, o), o += a.length;
|
|
1150
1150
|
}
|
|
1151
1151
|
return i;
|
|
1152
1152
|
};
|
|
@@ -1185,29 +1185,29 @@ function Br(t, e) {
|
|
|
1185
1185
|
}
|
|
1186
1186
|
}
|
|
1187
1187
|
m.byteLength = Br;
|
|
1188
|
-
function
|
|
1188
|
+
function Ba(t, e, n) {
|
|
1189
1189
|
var r = !1;
|
|
1190
1190
|
if ((e === void 0 || e < 0) && (e = 0), e > this.length || ((n === void 0 || n > this.length) && (n = this.length), n <= 0) || (n >>>= 0, e >>>= 0, n <= e))
|
|
1191
1191
|
return "";
|
|
1192
1192
|
for (t || (t = "utf8"); ; )
|
|
1193
1193
|
switch (t) {
|
|
1194
1194
|
case "hex":
|
|
1195
|
-
return
|
|
1195
|
+
return Qa(this, e, n);
|
|
1196
1196
|
case "utf8":
|
|
1197
1197
|
case "utf-8":
|
|
1198
1198
|
return zr(this, e, n);
|
|
1199
1199
|
case "ascii":
|
|
1200
|
-
return
|
|
1200
|
+
return Ja(this, e, n);
|
|
1201
1201
|
case "latin1":
|
|
1202
1202
|
case "binary":
|
|
1203
|
-
return
|
|
1203
|
+
return Xa(this, e, n);
|
|
1204
1204
|
case "base64":
|
|
1205
|
-
return
|
|
1205
|
+
return Ga(this, e, n);
|
|
1206
1206
|
case "ucs2":
|
|
1207
1207
|
case "ucs-2":
|
|
1208
1208
|
case "utf16le":
|
|
1209
1209
|
case "utf-16le":
|
|
1210
|
-
return
|
|
1210
|
+
return Va(this, e, n);
|
|
1211
1211
|
default:
|
|
1212
1212
|
if (r)
|
|
1213
1213
|
throw new TypeError("Unknown encoding: " + t);
|
|
@@ -1245,7 +1245,7 @@ m.prototype.swap64 = function() {
|
|
|
1245
1245
|
};
|
|
1246
1246
|
m.prototype.toString = function() {
|
|
1247
1247
|
var e = this.length | 0;
|
|
1248
|
-
return e === 0 ? "" : arguments.length === 0 ? zr(this, 0, e) :
|
|
1248
|
+
return e === 0 ? "" : arguments.length === 0 ? zr(this, 0, e) : Ba.apply(this, arguments);
|
|
1249
1249
|
};
|
|
1250
1250
|
m.prototype.equals = function(e) {
|
|
1251
1251
|
if (!Se(e))
|
|
@@ -1253,28 +1253,28 @@ m.prototype.equals = function(e) {
|
|
|
1253
1253
|
return this === e ? !0 : m.compare(this, e) === 0;
|
|
1254
1254
|
};
|
|
1255
1255
|
m.prototype.inspect = function() {
|
|
1256
|
-
var e = "", n =
|
|
1256
|
+
var e = "", n = Ua;
|
|
1257
1257
|
return this.length > 0 && (e = this.toString("hex", 0, n).match(/.{2}/g).join(" "), this.length > n && (e += " ... ")), "<Buffer " + e + ">";
|
|
1258
1258
|
};
|
|
1259
|
-
m.prototype.compare = function(e, n, r, i,
|
|
1259
|
+
m.prototype.compare = function(e, n, r, i, o) {
|
|
1260
1260
|
if (!Se(e))
|
|
1261
1261
|
throw new TypeError("Argument must be a Buffer");
|
|
1262
|
-
if (n === void 0 && (n = 0), r === void 0 && (r = e ? e.length : 0), i === void 0 && (i = 0),
|
|
1262
|
+
if (n === void 0 && (n = 0), r === void 0 && (r = e ? e.length : 0), i === void 0 && (i = 0), o === void 0 && (o = this.length), n < 0 || r > e.length || i < 0 || o > this.length)
|
|
1263
1263
|
throw new RangeError("out of range index");
|
|
1264
|
-
if (i >=
|
|
1264
|
+
if (i >= o && n >= r)
|
|
1265
1265
|
return 0;
|
|
1266
|
-
if (i >=
|
|
1266
|
+
if (i >= o)
|
|
1267
1267
|
return -1;
|
|
1268
1268
|
if (n >= r)
|
|
1269
1269
|
return 1;
|
|
1270
|
-
if (n >>>= 0, r >>>= 0, i >>>= 0,
|
|
1270
|
+
if (n >>>= 0, r >>>= 0, i >>>= 0, o >>>= 0, this === e)
|
|
1271
1271
|
return 0;
|
|
1272
|
-
for (var
|
|
1272
|
+
for (var a = o - i, s = r - n, l = Math.min(a, s), u = this.slice(i, o), f = e.slice(n, r), d = 0; d < l; ++d)
|
|
1273
1273
|
if (u[d] !== f[d]) {
|
|
1274
|
-
|
|
1274
|
+
a = u[d], s = f[d];
|
|
1275
1275
|
break;
|
|
1276
1276
|
}
|
|
1277
|
-
return
|
|
1277
|
+
return a < s ? -1 : s < a ? 1 : 0;
|
|
1278
1278
|
};
|
|
1279
1279
|
function Wr(t, e, n, r, i) {
|
|
1280
1280
|
if (t.length === 0)
|
|
@@ -1295,26 +1295,26 @@ function Wr(t, e, n, r, i) {
|
|
|
1295
1295
|
throw new TypeError("val must be string, number or Buffer");
|
|
1296
1296
|
}
|
|
1297
1297
|
function zn(t, e, n, r, i) {
|
|
1298
|
-
var
|
|
1298
|
+
var o = 1, a = t.length, s = e.length;
|
|
1299
1299
|
if (r !== void 0 && (r = String(r).toLowerCase(), r === "ucs2" || r === "ucs-2" || r === "utf16le" || r === "utf-16le")) {
|
|
1300
1300
|
if (t.length < 2 || e.length < 2)
|
|
1301
1301
|
return -1;
|
|
1302
|
-
|
|
1302
|
+
o = 2, a /= 2, s /= 2, n /= 2;
|
|
1303
1303
|
}
|
|
1304
1304
|
function l(p, y) {
|
|
1305
|
-
return
|
|
1305
|
+
return o === 1 ? p[y] : p.readUInt16BE(y * o);
|
|
1306
1306
|
}
|
|
1307
1307
|
var u;
|
|
1308
1308
|
if (i) {
|
|
1309
1309
|
var f = -1;
|
|
1310
|
-
for (u = n; u <
|
|
1310
|
+
for (u = n; u < a; u++)
|
|
1311
1311
|
if (l(t, u) === l(e, f === -1 ? 0 : u - f)) {
|
|
1312
1312
|
if (f === -1 && (f = u), u - f + 1 === s)
|
|
1313
|
-
return f *
|
|
1313
|
+
return f * o;
|
|
1314
1314
|
} else
|
|
1315
1315
|
f !== -1 && (u -= u - f), f = -1;
|
|
1316
1316
|
} else
|
|
1317
|
-
for (n + s >
|
|
1317
|
+
for (n + s > a && (n = a - s), u = n; u >= 0; u--) {
|
|
1318
1318
|
for (var d = !0, h = 0; h < s; h++)
|
|
1319
1319
|
if (l(t, u + h) !== l(e, h)) {
|
|
1320
1320
|
d = !1;
|
|
@@ -1334,36 +1334,36 @@ m.prototype.indexOf = function(e, n, r) {
|
|
|
1334
1334
|
m.prototype.lastIndexOf = function(e, n, r) {
|
|
1335
1335
|
return Wr(this, e, n, r, !1);
|
|
1336
1336
|
};
|
|
1337
|
-
function
|
|
1337
|
+
function Wa(t, e, n, r) {
|
|
1338
1338
|
n = Number(n) || 0;
|
|
1339
1339
|
var i = t.length - n;
|
|
1340
1340
|
r ? (r = Number(r), r > i && (r = i)) : r = i;
|
|
1341
|
-
var
|
|
1342
|
-
if (
|
|
1341
|
+
var o = e.length;
|
|
1342
|
+
if (o % 2 !== 0)
|
|
1343
1343
|
throw new TypeError("Invalid hex string");
|
|
1344
|
-
r >
|
|
1345
|
-
for (var
|
|
1346
|
-
var s = parseInt(e.substr(
|
|
1344
|
+
r > o / 2 && (r = o / 2);
|
|
1345
|
+
for (var a = 0; a < r; ++a) {
|
|
1346
|
+
var s = parseInt(e.substr(a * 2, 2), 16);
|
|
1347
1347
|
if (isNaN(s))
|
|
1348
|
-
return
|
|
1349
|
-
t[n +
|
|
1348
|
+
return a;
|
|
1349
|
+
t[n + a] = s;
|
|
1350
1350
|
}
|
|
1351
|
-
return
|
|
1351
|
+
return a;
|
|
1352
1352
|
}
|
|
1353
|
-
function
|
|
1353
|
+
function ja(t, e, n, r) {
|
|
1354
1354
|
return _t(gt(e, t.length - n), t, n, r);
|
|
1355
1355
|
}
|
|
1356
1356
|
function jr(t, e, n, r) {
|
|
1357
|
-
return _t(
|
|
1357
|
+
return _t(io(e), t, n, r);
|
|
1358
1358
|
}
|
|
1359
|
-
function
|
|
1359
|
+
function za(t, e, n, r) {
|
|
1360
1360
|
return jr(t, e, n, r);
|
|
1361
1361
|
}
|
|
1362
|
-
function
|
|
1362
|
+
function qa(t, e, n, r) {
|
|
1363
1363
|
return _t(Zr(e), t, n, r);
|
|
1364
1364
|
}
|
|
1365
|
-
function
|
|
1366
|
-
return _t(
|
|
1365
|
+
function Ka(t, e, n, r) {
|
|
1366
|
+
return _t(ao(e, t.length - n), t, n, r);
|
|
1367
1367
|
}
|
|
1368
1368
|
m.prototype.write = function(e, n, r, i) {
|
|
1369
1369
|
if (n === void 0)
|
|
@@ -1376,33 +1376,33 @@ m.prototype.write = function(e, n, r, i) {
|
|
|
1376
1376
|
throw new Error(
|
|
1377
1377
|
"Buffer.write(string, encoding, offset[, length]) is no longer supported"
|
|
1378
1378
|
);
|
|
1379
|
-
var
|
|
1380
|
-
if ((r === void 0 || r >
|
|
1379
|
+
var o = this.length - n;
|
|
1380
|
+
if ((r === void 0 || r > o) && (r = o), e.length > 0 && (r < 0 || n < 0) || n > this.length)
|
|
1381
1381
|
throw new RangeError("Attempt to write outside buffer bounds");
|
|
1382
1382
|
i || (i = "utf8");
|
|
1383
|
-
for (var
|
|
1383
|
+
for (var a = !1; ; )
|
|
1384
1384
|
switch (i) {
|
|
1385
1385
|
case "hex":
|
|
1386
|
-
return
|
|
1386
|
+
return Wa(this, e, n, r);
|
|
1387
1387
|
case "utf8":
|
|
1388
1388
|
case "utf-8":
|
|
1389
|
-
return
|
|
1389
|
+
return ja(this, e, n, r);
|
|
1390
1390
|
case "ascii":
|
|
1391
1391
|
return jr(this, e, n, r);
|
|
1392
1392
|
case "latin1":
|
|
1393
1393
|
case "binary":
|
|
1394
|
-
return
|
|
1394
|
+
return za(this, e, n, r);
|
|
1395
1395
|
case "base64":
|
|
1396
|
-
return
|
|
1396
|
+
return qa(this, e, n, r);
|
|
1397
1397
|
case "ucs2":
|
|
1398
1398
|
case "ucs-2":
|
|
1399
1399
|
case "utf16le":
|
|
1400
1400
|
case "utf-16le":
|
|
1401
|
-
return
|
|
1401
|
+
return Ka(this, e, n, r);
|
|
1402
1402
|
default:
|
|
1403
|
-
if (
|
|
1403
|
+
if (a)
|
|
1404
1404
|
throw new TypeError("Unknown encoding: " + i);
|
|
1405
|
-
i = ("" + i).toLowerCase(),
|
|
1405
|
+
i = ("" + i).toLowerCase(), a = !0;
|
|
1406
1406
|
}
|
|
1407
1407
|
};
|
|
1408
1408
|
m.prototype.toJSON = function() {
|
|
@@ -1411,35 +1411,35 @@ m.prototype.toJSON = function() {
|
|
|
1411
1411
|
data: Array.prototype.slice.call(this._arr || this, 0)
|
|
1412
1412
|
};
|
|
1413
1413
|
};
|
|
1414
|
-
function
|
|
1414
|
+
function Ga(t, e, n) {
|
|
1415
1415
|
return e === 0 && n === t.length ? jn(t) : jn(t.slice(e, n));
|
|
1416
1416
|
}
|
|
1417
1417
|
function zr(t, e, n) {
|
|
1418
1418
|
n = Math.min(t.length, n);
|
|
1419
1419
|
for (var r = [], i = e; i < n; ) {
|
|
1420
|
-
var
|
|
1420
|
+
var o = t[i], a = null, s = o > 239 ? 4 : o > 223 ? 3 : o > 191 ? 2 : 1;
|
|
1421
1421
|
if (i + s <= n) {
|
|
1422
1422
|
var l, u, f, d;
|
|
1423
1423
|
switch (s) {
|
|
1424
1424
|
case 1:
|
|
1425
|
-
|
|
1425
|
+
o < 128 && (a = o);
|
|
1426
1426
|
break;
|
|
1427
1427
|
case 2:
|
|
1428
|
-
l = t[i + 1], (l & 192) === 128 && (d = (
|
|
1428
|
+
l = t[i + 1], (l & 192) === 128 && (d = (o & 31) << 6 | l & 63, d > 127 && (a = d));
|
|
1429
1429
|
break;
|
|
1430
1430
|
case 3:
|
|
1431
|
-
l = t[i + 1], u = t[i + 2], (l & 192) === 128 && (u & 192) === 128 && (d = (
|
|
1431
|
+
l = t[i + 1], u = t[i + 2], (l & 192) === 128 && (u & 192) === 128 && (d = (o & 15) << 12 | (l & 63) << 6 | u & 63, d > 2047 && (d < 55296 || d > 57343) && (a = d));
|
|
1432
1432
|
break;
|
|
1433
1433
|
case 4:
|
|
1434
|
-
l = t[i + 1], u = t[i + 2], f = t[i + 3], (l & 192) === 128 && (u & 192) === 128 && (f & 192) === 128 && (d = (
|
|
1434
|
+
l = t[i + 1], u = t[i + 2], f = t[i + 3], (l & 192) === 128 && (u & 192) === 128 && (f & 192) === 128 && (d = (o & 15) << 18 | (l & 63) << 12 | (u & 63) << 6 | f & 63, d > 65535 && d < 1114112 && (a = d));
|
|
1435
1435
|
}
|
|
1436
1436
|
}
|
|
1437
|
-
|
|
1437
|
+
a === null ? (a = 65533, s = 1) : a > 65535 && (a -= 65536, r.push(a >>> 10 & 1023 | 55296), a = 56320 | a & 1023), r.push(a), i += s;
|
|
1438
1438
|
}
|
|
1439
|
-
return
|
|
1439
|
+
return Za(r);
|
|
1440
1440
|
}
|
|
1441
1441
|
var qn = 4096;
|
|
1442
|
-
function
|
|
1442
|
+
function Za(t) {
|
|
1443
1443
|
var e = t.length;
|
|
1444
1444
|
if (e <= qn)
|
|
1445
1445
|
return String.fromCharCode.apply(String, t);
|
|
@@ -1450,30 +1450,30 @@ function Jo(t) {
|
|
|
1450
1450
|
);
|
|
1451
1451
|
return n;
|
|
1452
1452
|
}
|
|
1453
|
-
function
|
|
1453
|
+
function Ja(t, e, n) {
|
|
1454
1454
|
var r = "";
|
|
1455
1455
|
n = Math.min(t.length, n);
|
|
1456
1456
|
for (var i = e; i < n; ++i)
|
|
1457
1457
|
r += String.fromCharCode(t[i] & 127);
|
|
1458
1458
|
return r;
|
|
1459
1459
|
}
|
|
1460
|
-
function
|
|
1460
|
+
function Xa(t, e, n) {
|
|
1461
1461
|
var r = "";
|
|
1462
1462
|
n = Math.min(t.length, n);
|
|
1463
1463
|
for (var i = e; i < n; ++i)
|
|
1464
1464
|
r += String.fromCharCode(t[i]);
|
|
1465
1465
|
return r;
|
|
1466
1466
|
}
|
|
1467
|
-
function
|
|
1467
|
+
function Qa(t, e, n) {
|
|
1468
1468
|
var r = t.length;
|
|
1469
1469
|
(!e || e < 0) && (e = 0), (!n || n < 0 || n > r) && (n = r);
|
|
1470
|
-
for (var i = "",
|
|
1471
|
-
i +=
|
|
1470
|
+
for (var i = "", o = e; o < n; ++o)
|
|
1471
|
+
i += ro(t[o]);
|
|
1472
1472
|
return i;
|
|
1473
1473
|
}
|
|
1474
|
-
function
|
|
1475
|
-
for (var r = t.slice(e, n), i = "",
|
|
1476
|
-
i += String.fromCharCode(r[
|
|
1474
|
+
function Va(t, e, n) {
|
|
1475
|
+
for (var r = t.slice(e, n), i = "", o = 0; o < r.length; o += 2)
|
|
1476
|
+
i += String.fromCharCode(r[o] + r[o + 1] * 256);
|
|
1477
1477
|
return i;
|
|
1478
1478
|
}
|
|
1479
1479
|
m.prototype.slice = function(e, n) {
|
|
@@ -1483,10 +1483,10 @@ m.prototype.slice = function(e, n) {
|
|
|
1483
1483
|
if (m.TYPED_ARRAY_SUPPORT)
|
|
1484
1484
|
i = this.subarray(e, n), i.__proto__ = m.prototype;
|
|
1485
1485
|
else {
|
|
1486
|
-
var
|
|
1487
|
-
i = new m(
|
|
1488
|
-
for (var
|
|
1489
|
-
i[
|
|
1486
|
+
var o = n - e;
|
|
1487
|
+
i = new m(o, void 0);
|
|
1488
|
+
for (var a = 0; a < o; ++a)
|
|
1489
|
+
i[a] = this[a + e];
|
|
1490
1490
|
}
|
|
1491
1491
|
return i;
|
|
1492
1492
|
};
|
|
@@ -1498,14 +1498,14 @@ function ee(t, e, n) {
|
|
|
1498
1498
|
}
|
|
1499
1499
|
m.prototype.readUIntLE = function(e, n, r) {
|
|
1500
1500
|
e = e | 0, n = n | 0, r || ee(e, n, this.length);
|
|
1501
|
-
for (var i = this[e],
|
|
1502
|
-
i += this[e +
|
|
1501
|
+
for (var i = this[e], o = 1, a = 0; ++a < n && (o *= 256); )
|
|
1502
|
+
i += this[e + a] * o;
|
|
1503
1503
|
return i;
|
|
1504
1504
|
};
|
|
1505
1505
|
m.prototype.readUIntBE = function(e, n, r) {
|
|
1506
1506
|
e = e | 0, n = n | 0, r || ee(e, n, this.length);
|
|
1507
|
-
for (var i = this[e + --n],
|
|
1508
|
-
i += this[e + --n] *
|
|
1507
|
+
for (var i = this[e + --n], o = 1; n > 0 && (o *= 256); )
|
|
1508
|
+
i += this[e + --n] * o;
|
|
1509
1509
|
return i;
|
|
1510
1510
|
};
|
|
1511
1511
|
m.prototype.readUInt8 = function(e, n) {
|
|
@@ -1525,15 +1525,15 @@ m.prototype.readUInt32BE = function(e, n) {
|
|
|
1525
1525
|
};
|
|
1526
1526
|
m.prototype.readIntLE = function(e, n, r) {
|
|
1527
1527
|
e = e | 0, n = n | 0, r || ee(e, n, this.length);
|
|
1528
|
-
for (var i = this[e],
|
|
1529
|
-
i += this[e +
|
|
1530
|
-
return
|
|
1528
|
+
for (var i = this[e], o = 1, a = 0; ++a < n && (o *= 256); )
|
|
1529
|
+
i += this[e + a] * o;
|
|
1530
|
+
return o *= 128, i >= o && (i -= Math.pow(2, 8 * n)), i;
|
|
1531
1531
|
};
|
|
1532
1532
|
m.prototype.readIntBE = function(e, n, r) {
|
|
1533
1533
|
e = e | 0, n = n | 0, r || ee(e, n, this.length);
|
|
1534
|
-
for (var i = n,
|
|
1535
|
-
|
|
1536
|
-
return
|
|
1534
|
+
for (var i = n, o = 1, a = this[e + --i]; i > 0 && (o *= 256); )
|
|
1535
|
+
a += this[e + --i] * o;
|
|
1536
|
+
return o *= 128, a >= o && (a -= Math.pow(2, 8 * n)), a;
|
|
1537
1537
|
};
|
|
1538
1538
|
m.prototype.readInt8 = function(e, n) {
|
|
1539
1539
|
return n || ee(e, 1, this.length), this[e] & 128 ? (255 - this[e] + 1) * -1 : this[e];
|
|
@@ -1566,32 +1566,32 @@ m.prototype.readDoubleLE = function(e, n) {
|
|
|
1566
1566
|
m.prototype.readDoubleBE = function(e, n) {
|
|
1567
1567
|
return n || ee(e, 8, this.length), Tt(this, e, !1, 52, 8);
|
|
1568
1568
|
};
|
|
1569
|
-
function ce(t, e, n, r, i,
|
|
1569
|
+
function ce(t, e, n, r, i, o) {
|
|
1570
1570
|
if (!Se(t))
|
|
1571
1571
|
throw new TypeError('"buffer" argument must be a Buffer instance');
|
|
1572
|
-
if (e > i || e <
|
|
1572
|
+
if (e > i || e < o)
|
|
1573
1573
|
throw new RangeError('"value" argument is out of bounds');
|
|
1574
1574
|
if (n + r > t.length)
|
|
1575
1575
|
throw new RangeError("Index out of range");
|
|
1576
1576
|
}
|
|
1577
1577
|
m.prototype.writeUIntLE = function(e, n, r, i) {
|
|
1578
1578
|
if (e = +e, n = n | 0, r = r | 0, !i) {
|
|
1579
|
-
var
|
|
1580
|
-
ce(this, e, n, r,
|
|
1579
|
+
var o = Math.pow(2, 8 * r) - 1;
|
|
1580
|
+
ce(this, e, n, r, o, 0);
|
|
1581
1581
|
}
|
|
1582
|
-
var
|
|
1583
|
-
for (this[n] = e & 255; ++s < r && (
|
|
1584
|
-
this[n + s] = e /
|
|
1582
|
+
var a = 1, s = 0;
|
|
1583
|
+
for (this[n] = e & 255; ++s < r && (a *= 256); )
|
|
1584
|
+
this[n + s] = e / a & 255;
|
|
1585
1585
|
return n + r;
|
|
1586
1586
|
};
|
|
1587
1587
|
m.prototype.writeUIntBE = function(e, n, r, i) {
|
|
1588
1588
|
if (e = +e, n = n | 0, r = r | 0, !i) {
|
|
1589
|
-
var
|
|
1590
|
-
ce(this, e, n, r,
|
|
1589
|
+
var o = Math.pow(2, 8 * r) - 1;
|
|
1590
|
+
ce(this, e, n, r, o, 0);
|
|
1591
1591
|
}
|
|
1592
|
-
var
|
|
1593
|
-
for (this[n +
|
|
1594
|
-
this[n +
|
|
1592
|
+
var a = r - 1, s = 1;
|
|
1593
|
+
for (this[n + a] = e & 255; --a >= 0 && (s *= 256); )
|
|
1594
|
+
this[n + a] = e / s & 255;
|
|
1595
1595
|
return n + r;
|
|
1596
1596
|
};
|
|
1597
1597
|
m.prototype.writeUInt8 = function(e, n, r) {
|
|
@@ -1599,7 +1599,7 @@ m.prototype.writeUInt8 = function(e, n, r) {
|
|
|
1599
1599
|
};
|
|
1600
1600
|
function St(t, e, n, r) {
|
|
1601
1601
|
e < 0 && (e = 65535 + e + 1);
|
|
1602
|
-
for (var i = 0,
|
|
1602
|
+
for (var i = 0, o = Math.min(t.length - n, 2); i < o; ++i)
|
|
1603
1603
|
t[n + i] = (e & 255 << 8 * (r ? i : 1 - i)) >>> (r ? i : 1 - i) * 8;
|
|
1604
1604
|
}
|
|
1605
1605
|
m.prototype.writeUInt16LE = function(e, n, r) {
|
|
@@ -1610,7 +1610,7 @@ m.prototype.writeUInt16BE = function(e, n, r) {
|
|
|
1610
1610
|
};
|
|
1611
1611
|
function Ct(t, e, n, r) {
|
|
1612
1612
|
e < 0 && (e = 4294967295 + e + 1);
|
|
1613
|
-
for (var i = 0,
|
|
1613
|
+
for (var i = 0, o = Math.min(t.length - n, 4); i < o; ++i)
|
|
1614
1614
|
t[n + i] = e >>> (r ? i : 3 - i) * 8 & 255;
|
|
1615
1615
|
}
|
|
1616
1616
|
m.prototype.writeUInt32LE = function(e, n, r) {
|
|
@@ -1621,22 +1621,22 @@ m.prototype.writeUInt32BE = function(e, n, r) {
|
|
|
1621
1621
|
};
|
|
1622
1622
|
m.prototype.writeIntLE = function(e, n, r, i) {
|
|
1623
1623
|
if (e = +e, n = n | 0, !i) {
|
|
1624
|
-
var
|
|
1625
|
-
ce(this, e, n, r,
|
|
1624
|
+
var o = Math.pow(2, 8 * r - 1);
|
|
1625
|
+
ce(this, e, n, r, o - 1, -o);
|
|
1626
1626
|
}
|
|
1627
|
-
var
|
|
1628
|
-
for (this[n] = e & 255; ++
|
|
1629
|
-
e < 0 && l === 0 && this[n +
|
|
1627
|
+
var a = 0, s = 1, l = 0;
|
|
1628
|
+
for (this[n] = e & 255; ++a < r && (s *= 256); )
|
|
1629
|
+
e < 0 && l === 0 && this[n + a - 1] !== 0 && (l = 1), this[n + a] = (e / s >> 0) - l & 255;
|
|
1630
1630
|
return n + r;
|
|
1631
1631
|
};
|
|
1632
1632
|
m.prototype.writeIntBE = function(e, n, r, i) {
|
|
1633
1633
|
if (e = +e, n = n | 0, !i) {
|
|
1634
|
-
var
|
|
1635
|
-
ce(this, e, n, r,
|
|
1634
|
+
var o = Math.pow(2, 8 * r - 1);
|
|
1635
|
+
ce(this, e, n, r, o - 1, -o);
|
|
1636
1636
|
}
|
|
1637
|
-
var
|
|
1638
|
-
for (this[n +
|
|
1639
|
-
e < 0 && l === 0 && this[n +
|
|
1637
|
+
var a = r - 1, s = 1, l = 0;
|
|
1638
|
+
for (this[n + a] = e & 255; --a >= 0 && (s *= 256); )
|
|
1639
|
+
e < 0 && l === 0 && this[n + a + 1] !== 0 && (l = 1), this[n + a] = (e / s >> 0) - l & 255;
|
|
1640
1640
|
return n + r;
|
|
1641
1641
|
};
|
|
1642
1642
|
m.prototype.writeInt8 = function(e, n, r) {
|
|
@@ -1654,7 +1654,7 @@ m.prototype.writeInt32LE = function(e, n, r) {
|
|
|
1654
1654
|
m.prototype.writeInt32BE = function(e, n, r) {
|
|
1655
1655
|
return e = +e, n = n | 0, r || ce(this, e, n, 4, 2147483647, -2147483648), e < 0 && (e = 4294967295 + e + 1), m.TYPED_ARRAY_SUPPORT ? (this[n] = e >>> 24, this[n + 1] = e >>> 16, this[n + 2] = e >>> 8, this[n + 3] = e & 255) : Ct(this, e, n, !1), n + 4;
|
|
1656
1656
|
};
|
|
1657
|
-
function qr(t, e, n, r, i,
|
|
1657
|
+
function qr(t, e, n, r, i, o) {
|
|
1658
1658
|
if (n + r > t.length)
|
|
1659
1659
|
throw new RangeError("Index out of range");
|
|
1660
1660
|
if (n < 0)
|
|
@@ -1688,26 +1688,26 @@ m.prototype.copy = function(e, n, r, i) {
|
|
|
1688
1688
|
if (i < 0)
|
|
1689
1689
|
throw new RangeError("sourceEnd out of bounds");
|
|
1690
1690
|
i > this.length && (i = this.length), e.length - n < i - r && (i = e.length - n + r);
|
|
1691
|
-
var
|
|
1691
|
+
var o = i - r, a;
|
|
1692
1692
|
if (this === e && r < n && n < i)
|
|
1693
|
-
for (
|
|
1694
|
-
e[
|
|
1695
|
-
else if (
|
|
1696
|
-
for (
|
|
1697
|
-
e[
|
|
1693
|
+
for (a = o - 1; a >= 0; --a)
|
|
1694
|
+
e[a + n] = this[a + r];
|
|
1695
|
+
else if (o < 1e3 || !m.TYPED_ARRAY_SUPPORT)
|
|
1696
|
+
for (a = 0; a < o; ++a)
|
|
1697
|
+
e[a + n] = this[a + r];
|
|
1698
1698
|
else
|
|
1699
1699
|
Uint8Array.prototype.set.call(
|
|
1700
1700
|
e,
|
|
1701
|
-
this.subarray(r, r +
|
|
1701
|
+
this.subarray(r, r + o),
|
|
1702
1702
|
n
|
|
1703
1703
|
);
|
|
1704
|
-
return
|
|
1704
|
+
return o;
|
|
1705
1705
|
};
|
|
1706
1706
|
m.prototype.fill = function(e, n, r, i) {
|
|
1707
1707
|
if (typeof e == "string") {
|
|
1708
1708
|
if (typeof n == "string" ? (i = n, n = 0, r = this.length) : typeof r == "string" && (i = r, r = this.length), e.length === 1) {
|
|
1709
|
-
var
|
|
1710
|
-
|
|
1709
|
+
var o = e.charCodeAt(0);
|
|
1710
|
+
o < 256 && (e = o);
|
|
1711
1711
|
}
|
|
1712
1712
|
if (i !== void 0 && typeof i != "string")
|
|
1713
1713
|
throw new TypeError("encoding must be a string");
|
|
@@ -1720,68 +1720,68 @@ m.prototype.fill = function(e, n, r, i) {
|
|
|
1720
1720
|
if (r <= n)
|
|
1721
1721
|
return this;
|
|
1722
1722
|
n = n >>> 0, r = r === void 0 ? this.length : r >>> 0, e || (e = 0);
|
|
1723
|
-
var
|
|
1723
|
+
var a;
|
|
1724
1724
|
if (typeof e == "number")
|
|
1725
|
-
for (
|
|
1726
|
-
this[
|
|
1725
|
+
for (a = n; a < r; ++a)
|
|
1726
|
+
this[a] = e;
|
|
1727
1727
|
else {
|
|
1728
1728
|
var s = Se(e) ? e : gt(new m(e, i).toString()), l = s.length;
|
|
1729
|
-
for (
|
|
1730
|
-
this[
|
|
1729
|
+
for (a = 0; a < r - n; ++a)
|
|
1730
|
+
this[a + n] = s[a % l];
|
|
1731
1731
|
}
|
|
1732
1732
|
return this;
|
|
1733
1733
|
};
|
|
1734
|
-
var
|
|
1735
|
-
function
|
|
1736
|
-
if (t =
|
|
1734
|
+
var eo = /[^+\/0-9A-Za-z-_]/g;
|
|
1735
|
+
function to(t) {
|
|
1736
|
+
if (t = no(t).replace(eo, ""), t.length < 2)
|
|
1737
1737
|
return "";
|
|
1738
1738
|
for (; t.length % 4 !== 0; )
|
|
1739
1739
|
t = t + "=";
|
|
1740
1740
|
return t;
|
|
1741
1741
|
}
|
|
1742
|
-
function
|
|
1742
|
+
function no(t) {
|
|
1743
1743
|
return t.trim ? t.trim() : t.replace(/^\s+|\s+$/g, "");
|
|
1744
1744
|
}
|
|
1745
|
-
function
|
|
1745
|
+
function ro(t) {
|
|
1746
1746
|
return t < 16 ? "0" + t.toString(16) : t.toString(16);
|
|
1747
1747
|
}
|
|
1748
1748
|
function gt(t, e) {
|
|
1749
1749
|
e = e || 1 / 0;
|
|
1750
|
-
for (var n, r = t.length, i = null,
|
|
1751
|
-
if (n = t.charCodeAt(
|
|
1750
|
+
for (var n, r = t.length, i = null, o = [], a = 0; a < r; ++a) {
|
|
1751
|
+
if (n = t.charCodeAt(a), n > 55295 && n < 57344) {
|
|
1752
1752
|
if (!i) {
|
|
1753
1753
|
if (n > 56319) {
|
|
1754
|
-
(e -= 3) > -1 &&
|
|
1754
|
+
(e -= 3) > -1 && o.push(239, 191, 189);
|
|
1755
1755
|
continue;
|
|
1756
|
-
} else if (
|
|
1757
|
-
(e -= 3) > -1 &&
|
|
1756
|
+
} else if (a + 1 === r) {
|
|
1757
|
+
(e -= 3) > -1 && o.push(239, 191, 189);
|
|
1758
1758
|
continue;
|
|
1759
1759
|
}
|
|
1760
1760
|
i = n;
|
|
1761
1761
|
continue;
|
|
1762
1762
|
}
|
|
1763
1763
|
if (n < 56320) {
|
|
1764
|
-
(e -= 3) > -1 &&
|
|
1764
|
+
(e -= 3) > -1 && o.push(239, 191, 189), i = n;
|
|
1765
1765
|
continue;
|
|
1766
1766
|
}
|
|
1767
1767
|
n = (i - 55296 << 10 | n - 56320) + 65536;
|
|
1768
1768
|
} else
|
|
1769
|
-
i && (e -= 3) > -1 &&
|
|
1769
|
+
i && (e -= 3) > -1 && o.push(239, 191, 189);
|
|
1770
1770
|
if (i = null, n < 128) {
|
|
1771
1771
|
if ((e -= 1) < 0)
|
|
1772
1772
|
break;
|
|
1773
|
-
|
|
1773
|
+
o.push(n);
|
|
1774
1774
|
} else if (n < 2048) {
|
|
1775
1775
|
if ((e -= 2) < 0)
|
|
1776
1776
|
break;
|
|
1777
|
-
|
|
1777
|
+
o.push(
|
|
1778
1778
|
n >> 6 | 192,
|
|
1779
1779
|
n & 63 | 128
|
|
1780
1780
|
);
|
|
1781
1781
|
} else if (n < 65536) {
|
|
1782
1782
|
if ((e -= 3) < 0)
|
|
1783
1783
|
break;
|
|
1784
|
-
|
|
1784
|
+
o.push(
|
|
1785
1785
|
n >> 12 | 224,
|
|
1786
1786
|
n >> 6 & 63 | 128,
|
|
1787
1787
|
n & 63 | 128
|
|
@@ -1789,7 +1789,7 @@ function gt(t, e) {
|
|
|
1789
1789
|
} else if (n < 1114112) {
|
|
1790
1790
|
if ((e -= 4) < 0)
|
|
1791
1791
|
break;
|
|
1792
|
-
|
|
1792
|
+
o.push(
|
|
1793
1793
|
n >> 18 | 240,
|
|
1794
1794
|
n >> 12 & 63 | 128,
|
|
1795
1795
|
n >> 6 & 63 | 128,
|
|
@@ -1798,40 +1798,40 @@ function gt(t, e) {
|
|
|
1798
1798
|
} else
|
|
1799
1799
|
throw new Error("Invalid code point");
|
|
1800
1800
|
}
|
|
1801
|
-
return
|
|
1801
|
+
return o;
|
|
1802
1802
|
}
|
|
1803
|
-
function
|
|
1803
|
+
function io(t) {
|
|
1804
1804
|
for (var e = [], n = 0; n < t.length; ++n)
|
|
1805
1805
|
e.push(t.charCodeAt(n) & 255);
|
|
1806
1806
|
return e;
|
|
1807
1807
|
}
|
|
1808
|
-
function
|
|
1809
|
-
for (var n, r, i,
|
|
1810
|
-
n = t.charCodeAt(
|
|
1811
|
-
return
|
|
1808
|
+
function ao(t, e) {
|
|
1809
|
+
for (var n, r, i, o = [], a = 0; a < t.length && !((e -= 2) < 0); ++a)
|
|
1810
|
+
n = t.charCodeAt(a), r = n >> 8, i = n % 256, o.push(i), o.push(r);
|
|
1811
|
+
return o;
|
|
1812
1812
|
}
|
|
1813
1813
|
function Zr(t) {
|
|
1814
|
-
return
|
|
1814
|
+
return Oa(to(t));
|
|
1815
1815
|
}
|
|
1816
1816
|
function _t(t, e, n, r) {
|
|
1817
1817
|
for (var i = 0; i < r && !(i + n >= e.length || i >= t.length); ++i)
|
|
1818
1818
|
e[i + n] = t[i];
|
|
1819
1819
|
return i;
|
|
1820
1820
|
}
|
|
1821
|
-
function
|
|
1821
|
+
function oo(t) {
|
|
1822
1822
|
return t !== t;
|
|
1823
1823
|
}
|
|
1824
|
-
function
|
|
1825
|
-
return t != null && (!!t._isBuffer || Jr(t) ||
|
|
1824
|
+
function so(t) {
|
|
1825
|
+
return t != null && (!!t._isBuffer || Jr(t) || lo(t));
|
|
1826
1826
|
}
|
|
1827
1827
|
function Jr(t) {
|
|
1828
1828
|
return !!t.constructor && typeof t.constructor.isBuffer == "function" && t.constructor.isBuffer(t);
|
|
1829
1829
|
}
|
|
1830
|
-
function
|
|
1830
|
+
function lo(t) {
|
|
1831
1831
|
return typeof t.readFloatLE == "function" && typeof t.slice == "function" && Jr(t.slice(0, 0));
|
|
1832
1832
|
}
|
|
1833
|
-
var
|
|
1834
|
-
function
|
|
1833
|
+
var co = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1834
|
+
function Is(t) {
|
|
1835
1835
|
if (t.__esModule)
|
|
1836
1836
|
return t;
|
|
1837
1837
|
var e = Object.defineProperty({}, "__esModule", { value: !0 });
|
|
@@ -1849,46 +1849,46 @@ var Xr = { exports: {} };
|
|
|
1849
1849
|
(function(t, e) {
|
|
1850
1850
|
(function(n, r) {
|
|
1851
1851
|
t.exports = r();
|
|
1852
|
-
})(
|
|
1853
|
-
var n = 1e3, r = 6e4, i = 36e5,
|
|
1852
|
+
})(co, function() {
|
|
1853
|
+
var n = 1e3, r = 6e4, i = 36e5, o = "millisecond", a = "second", s = "minute", l = "hour", u = "day", f = "week", d = "month", h = "quarter", p = "year", y = "date", b = "Invalid Date", w = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, T = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(C) {
|
|
1854
1854
|
var x = ["th", "st", "nd", "rd"], E = C % 100;
|
|
1855
1855
|
return "[" + C + (x[(E - 20) % 10] || x[E] || x[0]) + "]";
|
|
1856
1856
|
} }, te = function(C, x, E) {
|
|
1857
|
-
var
|
|
1858
|
-
return !
|
|
1857
|
+
var A = String(C);
|
|
1858
|
+
return !A || A.length >= x ? C : "" + Array(x + 1 - A.length).join(E) + C;
|
|
1859
1859
|
}, le = { s: te, z: function(C) {
|
|
1860
|
-
var x = -C.utcOffset(), E = Math.abs(x),
|
|
1861
|
-
return (x <= 0 ? "+" : "-") + te(
|
|
1860
|
+
var x = -C.utcOffset(), E = Math.abs(x), A = Math.floor(E / 60), S = E % 60;
|
|
1861
|
+
return (x <= 0 ? "+" : "-") + te(A, 2, "0") + ":" + te(S, 2, "0");
|
|
1862
1862
|
}, m: function C(x, E) {
|
|
1863
1863
|
if (x.date() < E.date())
|
|
1864
1864
|
return -C(E, x);
|
|
1865
|
-
var
|
|
1866
|
-
return +(-(
|
|
1865
|
+
var A = 12 * (E.year() - x.year()) + (E.month() - x.month()), S = x.clone().add(A, d), O = E - S < 0, I = x.clone().add(A + (O ? -1 : 1), d);
|
|
1866
|
+
return +(-(A + (E - S) / (O ? S - I : I - S)) || 0);
|
|
1867
1867
|
}, a: function(C) {
|
|
1868
1868
|
return C < 0 ? Math.ceil(C) || 0 : Math.floor(C);
|
|
1869
1869
|
}, p: function(C) {
|
|
1870
|
-
return { M: d, y: p, w: f, d: u, D: y, h: l, m: s, s:
|
|
1870
|
+
return { M: d, y: p, w: f, d: u, D: y, h: l, m: s, s: a, ms: o, Q: h }[C] || String(C || "").toLowerCase().replace(/s$/, "");
|
|
1871
1871
|
}, u: function(C) {
|
|
1872
1872
|
return C === void 0;
|
|
1873
1873
|
} }, ge = "en", ne = {};
|
|
1874
1874
|
ne[ge] = M;
|
|
1875
1875
|
var Pe = function(C) {
|
|
1876
1876
|
return C instanceof je;
|
|
1877
|
-
}, We = function C(x, E,
|
|
1877
|
+
}, We = function C(x, E, A) {
|
|
1878
1878
|
var S;
|
|
1879
1879
|
if (!x)
|
|
1880
1880
|
return ge;
|
|
1881
1881
|
if (typeof x == "string") {
|
|
1882
1882
|
var O = x.toLowerCase();
|
|
1883
1883
|
ne[O] && (S = O), E && (ne[O] = E, S = O);
|
|
1884
|
-
var
|
|
1885
|
-
if (!S &&
|
|
1886
|
-
return C(
|
|
1884
|
+
var I = x.split("-");
|
|
1885
|
+
if (!S && I.length > 1)
|
|
1886
|
+
return C(I[0]);
|
|
1887
1887
|
} else {
|
|
1888
1888
|
var P = x.name;
|
|
1889
1889
|
ne[P] = x, S = P;
|
|
1890
1890
|
}
|
|
1891
|
-
return !
|
|
1891
|
+
return !A && S && (ge = S), S || !A && ge;
|
|
1892
1892
|
}, K = function(C, x) {
|
|
1893
1893
|
if (Pe(C))
|
|
1894
1894
|
return C.clone();
|
|
@@ -1904,8 +1904,8 @@ var Xr = { exports: {} };
|
|
|
1904
1904
|
}
|
|
1905
1905
|
var x = C.prototype;
|
|
1906
1906
|
return x.parse = function(E) {
|
|
1907
|
-
this.$d = function(
|
|
1908
|
-
var S =
|
|
1907
|
+
this.$d = function(A) {
|
|
1908
|
+
var S = A.date, O = A.utc;
|
|
1909
1909
|
if (S === null)
|
|
1910
1910
|
return /* @__PURE__ */ new Date(NaN);
|
|
1911
1911
|
if (H.u(S))
|
|
@@ -1913,10 +1913,10 @@ var Xr = { exports: {} };
|
|
|
1913
1913
|
if (S instanceof Date)
|
|
1914
1914
|
return new Date(S);
|
|
1915
1915
|
if (typeof S == "string" && !/Z$/i.test(S)) {
|
|
1916
|
-
var
|
|
1917
|
-
if (
|
|
1918
|
-
var P =
|
|
1919
|
-
return O ? new Date(Date.UTC(
|
|
1916
|
+
var I = S.match(w);
|
|
1917
|
+
if (I) {
|
|
1918
|
+
var P = I[2] - 1 || 0, z = (I[7] || "0").substring(0, 3);
|
|
1919
|
+
return O ? new Date(Date.UTC(I[1], P, I[3] || 1, I[4] || 0, I[5] || 0, I[6] || 0, z)) : new Date(I[1], P, I[3] || 1, I[4] || 0, I[5] || 0, I[6] || 0, z);
|
|
1920
1920
|
}
|
|
1921
1921
|
}
|
|
1922
1922
|
return new Date(S);
|
|
@@ -1928,27 +1928,27 @@ var Xr = { exports: {} };
|
|
|
1928
1928
|
return H;
|
|
1929
1929
|
}, x.isValid = function() {
|
|
1930
1930
|
return this.$d.toString() !== b;
|
|
1931
|
-
}, x.isSame = function(E,
|
|
1931
|
+
}, x.isSame = function(E, A) {
|
|
1932
1932
|
var S = K(E);
|
|
1933
|
-
return this.startOf(
|
|
1934
|
-
}, x.isAfter = function(E,
|
|
1935
|
-
return K(E) < this.startOf(
|
|
1936
|
-
}, x.isBefore = function(E,
|
|
1937
|
-
return this.endOf(
|
|
1938
|
-
}, x.$g = function(E,
|
|
1939
|
-
return H.u(E) ? this[
|
|
1933
|
+
return this.startOf(A) <= S && S <= this.endOf(A);
|
|
1934
|
+
}, x.isAfter = function(E, A) {
|
|
1935
|
+
return K(E) < this.startOf(A);
|
|
1936
|
+
}, x.isBefore = function(E, A) {
|
|
1937
|
+
return this.endOf(A) < K(E);
|
|
1938
|
+
}, x.$g = function(E, A, S) {
|
|
1939
|
+
return H.u(E) ? this[A] : this.set(S, E);
|
|
1940
1940
|
}, x.unix = function() {
|
|
1941
1941
|
return Math.floor(this.valueOf() / 1e3);
|
|
1942
1942
|
}, x.valueOf = function() {
|
|
1943
1943
|
return this.$d.getTime();
|
|
1944
|
-
}, x.startOf = function(E,
|
|
1945
|
-
var S = this, O = !!H.u(
|
|
1944
|
+
}, x.startOf = function(E, A) {
|
|
1945
|
+
var S = this, O = !!H.u(A) || A, I = H.p(E), P = function(be, Q) {
|
|
1946
1946
|
var ue = H.w(S.$u ? Date.UTC(S.$y, Q, be) : new Date(S.$y, Q, be), S);
|
|
1947
1947
|
return O ? ue : ue.endOf(u);
|
|
1948
1948
|
}, z = function(be, Q) {
|
|
1949
1949
|
return H.w(S.toDate()[be].apply(S.toDate("s"), (O ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Q)), S);
|
|
1950
1950
|
}, j = this.$W, X = this.$M, $e = this.$D, ve = "set" + (this.$u ? "UTC" : "");
|
|
1951
|
-
switch (
|
|
1951
|
+
switch (I) {
|
|
1952
1952
|
case p:
|
|
1953
1953
|
return O ? P(1, 0) : P(31, 11);
|
|
1954
1954
|
case d:
|
|
@@ -1963,72 +1963,72 @@ var Xr = { exports: {} };
|
|
|
1963
1963
|
return z(ve + "Minutes", 1);
|
|
1964
1964
|
case s:
|
|
1965
1965
|
return z(ve + "Seconds", 2);
|
|
1966
|
-
case
|
|
1966
|
+
case a:
|
|
1967
1967
|
return z(ve + "Milliseconds", 3);
|
|
1968
1968
|
default:
|
|
1969
1969
|
return this.clone();
|
|
1970
1970
|
}
|
|
1971
1971
|
}, x.endOf = function(E) {
|
|
1972
1972
|
return this.startOf(E, !1);
|
|
1973
|
-
}, x.$set = function(E,
|
|
1974
|
-
var S, O = H.p(E),
|
|
1973
|
+
}, x.$set = function(E, A) {
|
|
1974
|
+
var S, O = H.p(E), I = "set" + (this.$u ? "UTC" : ""), P = (S = {}, S[u] = I + "Date", S[y] = I + "Date", S[d] = I + "Month", S[p] = I + "FullYear", S[l] = I + "Hours", S[s] = I + "Minutes", S[a] = I + "Seconds", S[o] = I + "Milliseconds", S)[O], z = O === u ? this.$D + (A - this.$W) : A;
|
|
1975
1975
|
if (O === d || O === p) {
|
|
1976
1976
|
var j = this.clone().set(y, 1);
|
|
1977
1977
|
j.$d[P](z), j.init(), this.$d = j.set(y, Math.min(this.$D, j.daysInMonth())).$d;
|
|
1978
1978
|
} else
|
|
1979
1979
|
P && this.$d[P](z);
|
|
1980
1980
|
return this.init(), this;
|
|
1981
|
-
}, x.set = function(E,
|
|
1982
|
-
return this.clone().$set(E,
|
|
1981
|
+
}, x.set = function(E, A) {
|
|
1982
|
+
return this.clone().$set(E, A);
|
|
1983
1983
|
}, x.get = function(E) {
|
|
1984
1984
|
return this[H.p(E)]();
|
|
1985
|
-
}, x.add = function(E,
|
|
1985
|
+
}, x.add = function(E, A) {
|
|
1986
1986
|
var S, O = this;
|
|
1987
1987
|
E = Number(E);
|
|
1988
|
-
var
|
|
1988
|
+
var I = H.p(A), P = function(X) {
|
|
1989
1989
|
var $e = K(O);
|
|
1990
1990
|
return H.w($e.date($e.date() + Math.round(X * E)), O);
|
|
1991
1991
|
};
|
|
1992
|
-
if (
|
|
1992
|
+
if (I === d)
|
|
1993
1993
|
return this.set(d, this.$M + E);
|
|
1994
|
-
if (
|
|
1994
|
+
if (I === p)
|
|
1995
1995
|
return this.set(p, this.$y + E);
|
|
1996
|
-
if (
|
|
1996
|
+
if (I === u)
|
|
1997
1997
|
return P(1);
|
|
1998
|
-
if (
|
|
1998
|
+
if (I === f)
|
|
1999
1999
|
return P(7);
|
|
2000
|
-
var z = (S = {}, S[s] = r, S[l] = i, S[
|
|
2000
|
+
var z = (S = {}, S[s] = r, S[l] = i, S[a] = n, S)[I] || 1, j = this.$d.getTime() + E * z;
|
|
2001
2001
|
return H.w(j, this);
|
|
2002
|
-
}, x.subtract = function(E,
|
|
2003
|
-
return this.add(-1 * E,
|
|
2002
|
+
}, x.subtract = function(E, A) {
|
|
2003
|
+
return this.add(-1 * E, A);
|
|
2004
2004
|
}, x.format = function(E) {
|
|
2005
|
-
var
|
|
2005
|
+
var A = this, S = this.$locale();
|
|
2006
2006
|
if (!this.isValid())
|
|
2007
2007
|
return S.invalidDate || b;
|
|
2008
|
-
var O = E || "YYYY-MM-DDTHH:mm:ssZ",
|
|
2009
|
-
return Q && (Q[ue] || Q(
|
|
2008
|
+
var O = E || "YYYY-MM-DDTHH:mm:ssZ", I = H.z(this), P = this.$H, z = this.$m, j = this.$M, X = S.weekdays, $e = S.months, ve = function(Q, ue, et, Ye) {
|
|
2009
|
+
return Q && (Q[ue] || Q(A, O)) || et[ue].slice(0, Ye);
|
|
2010
2010
|
}, _e = function(Q) {
|
|
2011
2011
|
return H.s(P % 12 || 12, Q, "0");
|
|
2012
2012
|
}, Re = S.meridiem || function(Q, ue, et) {
|
|
2013
2013
|
var Ye = Q < 12 ? "AM" : "PM";
|
|
2014
2014
|
return et ? Ye.toLowerCase() : Ye;
|
|
2015
|
-
}, be = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: j + 1, MM: H.s(j + 1, 2, "0"), MMM: ve(S.monthsShort, j, $e, 3), MMMM: ve($e, j), D: this.$D, DD: H.s(this.$D, 2, "0"), d: String(this.$W), dd: ve(S.weekdaysMin, this.$W, X, 2), ddd: ve(S.weekdaysShort, this.$W, X, 3), dddd: X[this.$W], H: String(P), HH: H.s(P, 2, "0"), h: _e(1), hh: _e(2), a: Re(P, z, !0), A: Re(P, z, !1), m: String(z), mm: H.s(z, 2, "0"), s: String(this.$s), ss: H.s(this.$s, 2, "0"), SSS: H.s(this.$ms, 3, "0"), Z:
|
|
2015
|
+
}, be = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: j + 1, MM: H.s(j + 1, 2, "0"), MMM: ve(S.monthsShort, j, $e, 3), MMMM: ve($e, j), D: this.$D, DD: H.s(this.$D, 2, "0"), d: String(this.$W), dd: ve(S.weekdaysMin, this.$W, X, 2), ddd: ve(S.weekdaysShort, this.$W, X, 3), dddd: X[this.$W], H: String(P), HH: H.s(P, 2, "0"), h: _e(1), hh: _e(2), a: Re(P, z, !0), A: Re(P, z, !1), m: String(z), mm: H.s(z, 2, "0"), s: String(this.$s), ss: H.s(this.$s, 2, "0"), SSS: H.s(this.$ms, 3, "0"), Z: I };
|
|
2016
2016
|
return O.replace(T, function(Q, ue) {
|
|
2017
|
-
return ue || be[Q] ||
|
|
2017
|
+
return ue || be[Q] || I.replace(":", "");
|
|
2018
2018
|
});
|
|
2019
2019
|
}, x.utcOffset = function() {
|
|
2020
2020
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
2021
|
-
}, x.diff = function(E,
|
|
2022
|
-
var O,
|
|
2023
|
-
return X = (O = {}, O[p] = X / 12, O[d] = X, O[h] = X / 3, O[f] = (j - z) / 6048e5, O[u] = (j - z) / 864e5, O[l] = j / i, O[s] = j / r, O[
|
|
2021
|
+
}, x.diff = function(E, A, S) {
|
|
2022
|
+
var O, I = H.p(A), P = K(E), z = (P.utcOffset() - this.utcOffset()) * r, j = this - P, X = H.m(this, P);
|
|
2023
|
+
return X = (O = {}, O[p] = X / 12, O[d] = X, O[h] = X / 3, O[f] = (j - z) / 6048e5, O[u] = (j - z) / 864e5, O[l] = j / i, O[s] = j / r, O[a] = j / n, O)[I] || j, S ? X : H.a(X);
|
|
2024
2024
|
}, x.daysInMonth = function() {
|
|
2025
2025
|
return this.endOf(d).$D;
|
|
2026
2026
|
}, x.$locale = function() {
|
|
2027
2027
|
return ne[this.$L];
|
|
2028
|
-
}, x.locale = function(E,
|
|
2028
|
+
}, x.locale = function(E, A) {
|
|
2029
2029
|
if (!E)
|
|
2030
2030
|
return this.$L;
|
|
2031
|
-
var S = this.clone(), O = We(E,
|
|
2031
|
+
var S = this.clone(), O = We(E, A, !0);
|
|
2032
2032
|
return O && (S.$L = O), S;
|
|
2033
2033
|
}, x.clone = function() {
|
|
2034
2034
|
return H.w(this.$d, this);
|
|
@@ -2042,7 +2042,7 @@ var Xr = { exports: {} };
|
|
|
2042
2042
|
return this.$d.toUTCString();
|
|
2043
2043
|
}, C;
|
|
2044
2044
|
}(), Ve = je.prototype;
|
|
2045
|
-
return K.prototype = Ve, [["$ms",
|
|
2045
|
+
return K.prototype = Ve, [["$ms", o], ["$s", a], ["$m", s], ["$H", l], ["$W", u], ["$M", d], ["$y", p], ["$D", y]].forEach(function(C) {
|
|
2046
2046
|
Ve[C[1]] = function(x) {
|
|
2047
2047
|
return this.$g(x, C[0], C[1]);
|
|
2048
2048
|
};
|
|
@@ -2094,7 +2094,7 @@ var Zt = [
|
|
|
2094
2094
|
for (var n = [], r = t; r < e; r++)
|
|
2095
2095
|
n.push(r);
|
|
2096
2096
|
return n;
|
|
2097
|
-
},
|
|
2097
|
+
}, U = function(t, e) {
|
|
2098
2098
|
var n = 0, r = [];
|
|
2099
2099
|
if (de(t))
|
|
2100
2100
|
for (; n < e; n++)
|
|
@@ -2103,15 +2103,15 @@ var Zt = [
|
|
|
2103
2103
|
for (; n < e; n++)
|
|
2104
2104
|
r[n] = t;
|
|
2105
2105
|
return r;
|
|
2106
|
-
},
|
|
2106
|
+
}, uo = function(t) {
|
|
2107
2107
|
return de(t) ? t : [t];
|
|
2108
2108
|
};
|
|
2109
2109
|
function Ke(t, e, n) {
|
|
2110
2110
|
n === void 0 && (n = " ");
|
|
2111
2111
|
var r = String(t);
|
|
2112
|
-
return e = e >> 0, r.length > e ? String(r) : (e = e - r.length, e > n.length && (n +=
|
|
2112
|
+
return e = e >> 0, r.length > e ? String(r) : (e = e - r.length, e > n.length && (n += U(n, e / n.length)), n.slice(0, e) + String(r));
|
|
2113
2113
|
}
|
|
2114
|
-
var
|
|
2114
|
+
var fo = function(t, e, n) {
|
|
2115
2115
|
var r = t.split(e);
|
|
2116
2116
|
return n ? r.slice(0, n).concat([r.slice(n).join(e)]) : r;
|
|
2117
2117
|
}, me = function(t, e) {
|
|
@@ -2125,9 +2125,9 @@ var da = function(t, e, n) {
|
|
|
2125
2125
|
return !ke(t);
|
|
2126
2126
|
}, W = function(t, e) {
|
|
2127
2127
|
return V(t) && t.indexOf(e) !== -1;
|
|
2128
|
-
}, Be = function(t, e, n, r, i,
|
|
2129
|
-
return r === void 0 && (r = 0), i === void 0 && (i = 0),
|
|
2130
|
-
},
|
|
2128
|
+
}, Be = function(t, e, n, r, i, o) {
|
|
2129
|
+
return r === void 0 && (r = 0), i === void 0 && (i = 0), o === void 0 && (o = 0), new Date(Date.UTC(t, e - 1, n, r, i, o));
|
|
2130
|
+
}, ho = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Vr = 1e3 * 60 * 60 * 24, ei = 9999, ti = Be(1970, 1, 1), po = [6, 0, 1, 2, 3, 4, 5], at = function(t) {
|
|
2131
2131
|
return t % 4 === 0 && t % 100 !== 0 || t % 400 === 0;
|
|
2132
2132
|
}, ni = function(t) {
|
|
2133
2133
|
return t instanceof Date;
|
|
@@ -2135,21 +2135,21 @@ var da = function(t, e, n) {
|
|
|
2135
2135
|
return ni(t) && !isNaN(t.getTime());
|
|
2136
2136
|
}, Gn = function(t) {
|
|
2137
2137
|
return t.getTimezoneOffset() * 60 * 1e3;
|
|
2138
|
-
},
|
|
2138
|
+
}, yo = function(t, e) {
|
|
2139
2139
|
var n = t.getTime() - Gn(t), r = e.getTime() - Gn(e), i = n - r;
|
|
2140
2140
|
return Math.round(i / Vr);
|
|
2141
2141
|
}, Jt = function(t) {
|
|
2142
|
-
return
|
|
2142
|
+
return yo(t, ti);
|
|
2143
2143
|
}, ri = function(t) {
|
|
2144
2144
|
return new Date(ti.getTime() + t * Vr);
|
|
2145
|
-
},
|
|
2145
|
+
}, mo = function(t) {
|
|
2146
2146
|
var e = t.getUTCMonth();
|
|
2147
|
-
return e === 1 &&
|
|
2147
|
+
return e === 1 && at(t.getUTCFullYear()) ? 29 : ho[e];
|
|
2148
2148
|
}, Xe = function(t) {
|
|
2149
|
-
return
|
|
2149
|
+
return po[t.getUTCDay()];
|
|
2150
2150
|
}, Zn = function(t, e) {
|
|
2151
2151
|
var n = Be(t, e + 1, 1);
|
|
2152
|
-
return [Xe(n),
|
|
2152
|
+
return [Xe(n), mo(n)];
|
|
2153
2153
|
}, ii = function(t, e) {
|
|
2154
2154
|
return e = e || t, new Date(Date.UTC(t.getUTCFullYear(), t.getUTCMonth(), t.getUTCDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()));
|
|
2155
2155
|
}, Xt = function(t) {
|
|
@@ -2184,9 +2184,9 @@ var da = function(t, e, n) {
|
|
|
2184
2184
|
}, Xn = function(t, e) {
|
|
2185
2185
|
var n = t.toLocaleString("sv-SE", { timeZone: e });
|
|
2186
2186
|
return n.replace(" ", "T") + "Z";
|
|
2187
|
-
},
|
|
2188
|
-
var n = Intl.DateTimeFormat().resolvedOptions().timeZone, r = new Date(Xn(t, n)), i = new Date(Xn(t, e ?? "UTC")),
|
|
2189
|
-
return new Date(t.getTime() -
|
|
2187
|
+
}, go = function(t, e) {
|
|
2188
|
+
var n = Intl.DateTimeFormat().resolvedOptions().timeZone, r = new Date(Xn(t, n)), i = new Date(Xn(t, e ?? "UTC")), o = i.getTime() - r.getTime();
|
|
2189
|
+
return new Date(t.getTime() - o);
|
|
2190
2190
|
}, Je = (
|
|
2191
2191
|
/** @class */
|
|
2192
2192
|
function() {
|
|
@@ -2245,25 +2245,25 @@ var he = function() {
|
|
|
2245
2245
|
return he = Object.assign || function(e) {
|
|
2246
2246
|
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
2247
2247
|
n = arguments[r];
|
|
2248
|
-
for (var
|
|
2249
|
-
Object.prototype.hasOwnProperty.call(n,
|
|
2248
|
+
for (var o in n)
|
|
2249
|
+
Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]);
|
|
2250
2250
|
}
|
|
2251
2251
|
return e;
|
|
2252
2252
|
}, he.apply(this, arguments);
|
|
2253
2253
|
};
|
|
2254
2254
|
function $(t, e, n) {
|
|
2255
2255
|
if (n || arguments.length === 2)
|
|
2256
|
-
for (var r = 0, i = e.length,
|
|
2257
|
-
(
|
|
2258
|
-
return t.concat(
|
|
2256
|
+
for (var r = 0, i = e.length, o; r < i; r++)
|
|
2257
|
+
(o || !(r in e)) && (o || (o = Array.prototype.slice.call(e, 0, r)), o[r] = e[r]);
|
|
2258
|
+
return t.concat(o || Array.prototype.slice.call(e));
|
|
2259
2259
|
}
|
|
2260
2260
|
var Qn = (
|
|
2261
2261
|
/** @class */
|
|
2262
2262
|
function(t) {
|
|
2263
2263
|
hn(e, t);
|
|
2264
2264
|
function e(n, r, i) {
|
|
2265
|
-
var
|
|
2266
|
-
return
|
|
2265
|
+
var o = t.call(this, n, r) || this;
|
|
2266
|
+
return o.iterator = i, o;
|
|
2267
2267
|
}
|
|
2268
2268
|
return e.prototype.add = function(n) {
|
|
2269
2269
|
return this.iterator(n, this._result.length) ? (this._result.push(n), !0) : !1;
|
|
@@ -2339,21 +2339,21 @@ var Qn = (
|
|
|
2339
2339
|
}
|
|
2340
2340
|
}, Vn = function(t, e) {
|
|
2341
2341
|
return t.indexOf(e) !== -1;
|
|
2342
|
-
},
|
|
2342
|
+
}, vo = function(t) {
|
|
2343
2343
|
return t.toString();
|
|
2344
|
-
},
|
|
2344
|
+
}, bo = function(t, e, n) {
|
|
2345
2345
|
return "".concat(e, " ").concat(n, ", ").concat(t);
|
|
2346
|
-
},
|
|
2346
|
+
}, Fe = (
|
|
2347
2347
|
/** @class */
|
|
2348
2348
|
function() {
|
|
2349
2349
|
function t(e, n, r, i) {
|
|
2350
|
-
if (n === void 0 && (n =
|
|
2351
|
-
var
|
|
2352
|
-
|
|
2350
|
+
if (n === void 0 && (n = vo), r === void 0 && (r = vt), i === void 0 && (i = bo), this.text = [], this.language = r || vt, this.gettext = n, this.dateFormatter = i, this.rrule = e, this.options = e.options, this.origOptions = e.origOptions, this.origOptions.bymonthday) {
|
|
2351
|
+
var o = [].concat(this.options.bymonthday), a = [].concat(this.options.bynmonthday);
|
|
2352
|
+
o.sort(function(f, d) {
|
|
2353
2353
|
return f - d;
|
|
2354
|
-
}),
|
|
2354
|
+
}), a.sort(function(f, d) {
|
|
2355
2355
|
return d - f;
|
|
2356
|
-
}), this.bymonthday =
|
|
2356
|
+
}), this.bymonthday = o.concat(a), this.bymonthday.length || (this.bymonthday = null);
|
|
2357
2357
|
}
|
|
2358
2358
|
if (J(this.origOptions.byweekday)) {
|
|
2359
2359
|
var s = de(this.origOptions.byweekday) ? this.origOptions.byweekday : [this.origOptions.byweekday], l = String(s);
|
|
@@ -2461,9 +2461,9 @@ var Qn = (
|
|
|
2461
2461
|
}, t.prototype.add = function(e) {
|
|
2462
2462
|
return this.text.push(" "), this.text.push(e), this;
|
|
2463
2463
|
}, t.prototype.list = function(e, n, r, i) {
|
|
2464
|
-
var
|
|
2464
|
+
var o = this;
|
|
2465
2465
|
i === void 0 && (i = ","), de(e) || (e = [e]);
|
|
2466
|
-
var
|
|
2466
|
+
var a = function(l, u, f) {
|
|
2467
2467
|
for (var d = "", h = 0; h < l.length; h++)
|
|
2468
2468
|
h !== 0 && (h === l.length - 1 ? d += " " + f + " " : d += u + " "), d += l[h];
|
|
2469
2469
|
return d;
|
|
@@ -2472,12 +2472,12 @@ var Qn = (
|
|
|
2472
2472
|
return l.toString();
|
|
2473
2473
|
};
|
|
2474
2474
|
var s = function(l) {
|
|
2475
|
-
return n && n.call(
|
|
2475
|
+
return n && n.call(o, l);
|
|
2476
2476
|
};
|
|
2477
|
-
return r ?
|
|
2477
|
+
return r ? a(e.map(s), i, r) : e.map(s).join(i + " ");
|
|
2478
2478
|
}, t;
|
|
2479
2479
|
}()
|
|
2480
|
-
),
|
|
2480
|
+
), wo = (
|
|
2481
2481
|
/** @class */
|
|
2482
2482
|
function() {
|
|
2483
2483
|
function t(e) {
|
|
@@ -2497,8 +2497,8 @@ var Qn = (
|
|
|
2497
2497
|
e = null;
|
|
2498
2498
|
for (var i in this.rules) {
|
|
2499
2499
|
r = this.rules[i];
|
|
2500
|
-
var
|
|
2501
|
-
|
|
2500
|
+
var o = r.exec(this.text);
|
|
2501
|
+
o && (e === null || o[0].length > e[0].length) && (e = o, n = i);
|
|
2502
2502
|
}
|
|
2503
2503
|
if (e != null && (this.text = this.text.substr(e[0].length), this.text === "" && (this.done = !0)), e == null) {
|
|
2504
2504
|
this.done = !0, this.symbol = null, this.value = null;
|
|
@@ -2524,9 +2524,9 @@ var Qn = (
|
|
|
2524
2524
|
}, t;
|
|
2525
2525
|
}()
|
|
2526
2526
|
);
|
|
2527
|
-
function
|
|
2527
|
+
function ai(t, e) {
|
|
2528
2528
|
e === void 0 && (e = vt);
|
|
2529
|
-
var n = {}, r = new
|
|
2529
|
+
var n = {}, r = new wo(e.tokens);
|
|
2530
2530
|
if (!r.start(t))
|
|
2531
2531
|
return null;
|
|
2532
2532
|
return i(), n;
|
|
@@ -2537,25 +2537,25 @@ function oi(t, e) {
|
|
|
2537
2537
|
throw new Error("Unexpected end");
|
|
2538
2538
|
switch (r.symbol) {
|
|
2539
2539
|
case "day(s)":
|
|
2540
|
-
n.freq = R.DAILY, r.nextSymbol() && (
|
|
2540
|
+
n.freq = R.DAILY, r.nextSymbol() && (a(), d());
|
|
2541
2541
|
break;
|
|
2542
2542
|
case "weekday(s)":
|
|
2543
2543
|
n.freq = R.WEEKLY, n.byweekday = [R.MO, R.TU, R.WE, R.TH, R.FR], r.nextSymbol(), d();
|
|
2544
2544
|
break;
|
|
2545
2545
|
case "week(s)":
|
|
2546
|
-
n.freq = R.WEEKLY, r.nextSymbol() && (
|
|
2546
|
+
n.freq = R.WEEKLY, r.nextSymbol() && (o(), d());
|
|
2547
2547
|
break;
|
|
2548
2548
|
case "hour(s)":
|
|
2549
|
-
n.freq = R.HOURLY, r.nextSymbol() && (
|
|
2549
|
+
n.freq = R.HOURLY, r.nextSymbol() && (o(), d());
|
|
2550
2550
|
break;
|
|
2551
2551
|
case "minute(s)":
|
|
2552
|
-
n.freq = R.MINUTELY, r.nextSymbol() && (
|
|
2552
|
+
n.freq = R.MINUTELY, r.nextSymbol() && (o(), d());
|
|
2553
2553
|
break;
|
|
2554
2554
|
case "month(s)":
|
|
2555
|
-
n.freq = R.MONTHLY, r.nextSymbol() && (
|
|
2555
|
+
n.freq = R.MONTHLY, r.nextSymbol() && (o(), d());
|
|
2556
2556
|
break;
|
|
2557
2557
|
case "year(s)":
|
|
2558
|
-
n.freq = R.YEARLY, r.nextSymbol() && (
|
|
2558
|
+
n.freq = R.YEARLY, r.nextSymbol() && (o(), d());
|
|
2559
2559
|
break;
|
|
2560
2560
|
case "monday":
|
|
2561
2561
|
case "tuesday":
|
|
@@ -2600,13 +2600,13 @@ function oi(t, e) {
|
|
|
2600
2600
|
throw new Error("Unexpected symbol " + r.symbol + ", expected month");
|
|
2601
2601
|
n.bymonth.push(b), r.nextSymbol();
|
|
2602
2602
|
}
|
|
2603
|
-
|
|
2603
|
+
o(), d();
|
|
2604
2604
|
break;
|
|
2605
2605
|
default:
|
|
2606
2606
|
throw new Error("Unknown symbol");
|
|
2607
2607
|
}
|
|
2608
2608
|
}
|
|
2609
|
-
function
|
|
2609
|
+
function o() {
|
|
2610
2610
|
var h = r.accept("on"), p = r.accept("the");
|
|
2611
2611
|
if (h || p)
|
|
2612
2612
|
do {
|
|
@@ -2633,7 +2633,7 @@ function oi(t, e) {
|
|
|
2633
2633
|
return;
|
|
2634
2634
|
} while (r.accept("comma") || r.accept("the") || r.accept("on"));
|
|
2635
2635
|
}
|
|
2636
|
-
function
|
|
2636
|
+
function a() {
|
|
2637
2637
|
var h = r.accept("at");
|
|
2638
2638
|
if (h)
|
|
2639
2639
|
do {
|
|
@@ -2737,8 +2737,8 @@ var N;
|
|
|
2737
2737
|
function pn(t) {
|
|
2738
2738
|
return t < N.HOURLY;
|
|
2739
2739
|
}
|
|
2740
|
-
var $
|
|
2741
|
-
return e === void 0 && (e = vt), new R(
|
|
2740
|
+
var $o = function(t, e) {
|
|
2741
|
+
return e === void 0 && (e = vt), new R(ai(t, e) || void 0);
|
|
2742
2742
|
}, Qe = [
|
|
2743
2743
|
"count",
|
|
2744
2744
|
"until",
|
|
@@ -2747,16 +2747,16 @@ var $a = function(t, e) {
|
|
|
2747
2747
|
"bymonthday",
|
|
2748
2748
|
"bymonth"
|
|
2749
2749
|
];
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
var
|
|
2758
|
-
return new
|
|
2759
|
-
},
|
|
2750
|
+
Fe.IMPLEMENTED = [];
|
|
2751
|
+
Fe.IMPLEMENTED[N.HOURLY] = Qe;
|
|
2752
|
+
Fe.IMPLEMENTED[N.MINUTELY] = Qe;
|
|
2753
|
+
Fe.IMPLEMENTED[N.DAILY] = ["byhour"].concat(Qe);
|
|
2754
|
+
Fe.IMPLEMENTED[N.WEEKLY] = Qe;
|
|
2755
|
+
Fe.IMPLEMENTED[N.MONTHLY] = Qe;
|
|
2756
|
+
Fe.IMPLEMENTED[N.YEARLY] = ["byweekno", "byyearday"].concat(Qe);
|
|
2757
|
+
var Eo = function(t, e, n, r) {
|
|
2758
|
+
return new Fe(t, e, n, r).toString();
|
|
2759
|
+
}, ko = Fe.isFullyConvertible, bt = (
|
|
2760
2760
|
/** @class */
|
|
2761
2761
|
function() {
|
|
2762
2762
|
function t(e, n, r, i) {
|
|
@@ -2774,12 +2774,12 @@ var Ea = function(t, e, n, r) {
|
|
|
2774
2774
|
return (this.hour * 60 * 60 + this.minute * 60 + this.second) * 1e3 + this.millisecond;
|
|
2775
2775
|
}, t;
|
|
2776
2776
|
}()
|
|
2777
|
-
),
|
|
2777
|
+
), xo = (
|
|
2778
2778
|
/** @class */
|
|
2779
2779
|
function(t) {
|
|
2780
2780
|
hn(e, t);
|
|
2781
|
-
function e(n, r, i,
|
|
2782
|
-
var u = t.call(this,
|
|
2781
|
+
function e(n, r, i, o, a, s, l) {
|
|
2782
|
+
var u = t.call(this, o, a, s, l) || this;
|
|
2783
2783
|
return u.year = n, u.month = r, u.day = i, u;
|
|
2784
2784
|
}
|
|
2785
2785
|
return e.fromDate = function(n) {
|
|
@@ -2808,22 +2808,22 @@ var Ea = function(t, e, n, r) {
|
|
|
2808
2808
|
}, e.prototype.addHours = function(n, r, i) {
|
|
2809
2809
|
for (r && (this.hour += Math.floor((23 - this.hour) / n) * n); ; ) {
|
|
2810
2810
|
this.hour += n;
|
|
2811
|
-
var
|
|
2812
|
-
if (
|
|
2811
|
+
var o = Nt(this.hour, 24), a = o.div, s = o.mod;
|
|
2812
|
+
if (a && (this.hour = s, this.addDaily(a)), ke(i) || W(i, this.hour))
|
|
2813
2813
|
break;
|
|
2814
2814
|
}
|
|
2815
|
-
}, e.prototype.addMinutes = function(n, r, i,
|
|
2815
|
+
}, e.prototype.addMinutes = function(n, r, i, o) {
|
|
2816
2816
|
for (r && (this.minute += Math.floor((1439 - (this.hour * 60 + this.minute)) / n) * n); ; ) {
|
|
2817
2817
|
this.minute += n;
|
|
2818
|
-
var
|
|
2819
|
-
if (s && (this.minute = l, this.addHours(s, !1, i)), (ke(i) || W(i, this.hour)) && (ke(
|
|
2818
|
+
var a = Nt(this.minute, 60), s = a.div, l = a.mod;
|
|
2819
|
+
if (s && (this.minute = l, this.addHours(s, !1, i)), (ke(i) || W(i, this.hour)) && (ke(o) || W(o, this.minute)))
|
|
2820
2820
|
break;
|
|
2821
2821
|
}
|
|
2822
|
-
}, e.prototype.addSeconds = function(n, r, i,
|
|
2822
|
+
}, e.prototype.addSeconds = function(n, r, i, o, a) {
|
|
2823
2823
|
for (r && (this.second += Math.floor((86399 - (this.hour * 3600 + this.minute * 60 + this.second)) / n) * n); ; ) {
|
|
2824
2824
|
this.second += n;
|
|
2825
2825
|
var s = Nt(this.second, 60), l = s.div, u = s.mod;
|
|
2826
|
-
if (l && (this.second = u, this.addMinutes(l, !1, i,
|
|
2826
|
+
if (l && (this.second = u, this.addMinutes(l, !1, i, o)), (ke(i) || W(i, this.hour)) && (ke(o) || W(o, this.minute)) && (ke(a) || W(a, this.second)))
|
|
2827
2827
|
break;
|
|
2828
2828
|
}
|
|
2829
2829
|
}, e.prototype.fixDay = function() {
|
|
@@ -2837,37 +2837,37 @@ var Ea = function(t, e, n, r) {
|
|
|
2837
2837
|
}
|
|
2838
2838
|
}
|
|
2839
2839
|
}, e.prototype.add = function(n, r) {
|
|
2840
|
-
var i = n.freq,
|
|
2840
|
+
var i = n.freq, o = n.interval, a = n.wkst, s = n.byhour, l = n.byminute, u = n.bysecond;
|
|
2841
2841
|
switch (i) {
|
|
2842
2842
|
case N.YEARLY:
|
|
2843
|
-
return this.addYears(
|
|
2843
|
+
return this.addYears(o);
|
|
2844
2844
|
case N.MONTHLY:
|
|
2845
|
-
return this.addMonths(
|
|
2845
|
+
return this.addMonths(o);
|
|
2846
2846
|
case N.WEEKLY:
|
|
2847
|
-
return this.addWeekly(
|
|
2847
|
+
return this.addWeekly(o, a);
|
|
2848
2848
|
case N.DAILY:
|
|
2849
|
-
return this.addDaily(
|
|
2849
|
+
return this.addDaily(o);
|
|
2850
2850
|
case N.HOURLY:
|
|
2851
|
-
return this.addHours(
|
|
2851
|
+
return this.addHours(o, r, s);
|
|
2852
2852
|
case N.MINUTELY:
|
|
2853
|
-
return this.addMinutes(
|
|
2853
|
+
return this.addMinutes(o, r, s, l);
|
|
2854
2854
|
case N.SECONDLY:
|
|
2855
|
-
return this.addSeconds(
|
|
2855
|
+
return this.addSeconds(o, r, s, l, u);
|
|
2856
2856
|
}
|
|
2857
2857
|
}, e;
|
|
2858
2858
|
}(bt)
|
|
2859
2859
|
);
|
|
2860
|
-
function
|
|
2860
|
+
function oi(t) {
|
|
2861
2861
|
for (var e = [], n = Object.keys(t), r = 0, i = n; r < i.length; r++) {
|
|
2862
|
-
var
|
|
2863
|
-
W(es,
|
|
2862
|
+
var o = i[r];
|
|
2863
|
+
W(es, o) || e.push(o), ni(t[o]) && !it(t[o]) && e.push(o);
|
|
2864
2864
|
}
|
|
2865
2865
|
if (e.length)
|
|
2866
2866
|
throw new Error("Invalid options: " + e.join(", "));
|
|
2867
2867
|
return he({}, t);
|
|
2868
2868
|
}
|
|
2869
|
-
function
|
|
2870
|
-
var e = he(he({}, yn),
|
|
2869
|
+
function To(t) {
|
|
2870
|
+
var e = he(he({}, yn), oi(t));
|
|
2871
2871
|
if (J(e.byeaster) && (e.freq = R.YEARLY), !(J(e.freq) && R.FREQUENCIES[e.freq]))
|
|
2872
2872
|
throw new Error("Invalid frequency: ".concat(e.freq, " ").concat(t.freq));
|
|
2873
2873
|
if (e.dtstart || (e.dtstart = new Date((/* @__PURE__ */ new Date()).setMilliseconds(0))), J(e.wkst) ? Ee(e.wkst) || (e.wkst = e.wkst.weekday) : e.wkst = R.MO.weekday, J(e.bysetpos)) {
|
|
@@ -2893,11 +2893,11 @@ function Ta(t) {
|
|
|
2893
2893
|
if (J(e.bymonth) && !de(e.bymonth) && (e.bymonth = [e.bymonth]), J(e.byyearday) && !de(e.byyearday) && Ee(e.byyearday) && (e.byyearday = [e.byyearday]), !J(e.bymonthday))
|
|
2894
2894
|
e.bymonthday = [], e.bynmonthday = [];
|
|
2895
2895
|
else if (de(e.bymonthday)) {
|
|
2896
|
-
for (var i = [],
|
|
2896
|
+
for (var i = [], o = [], n = 0; n < e.bymonthday.length; n++) {
|
|
2897
2897
|
var r = e.bymonthday[n];
|
|
2898
|
-
r > 0 ? i.push(r) : r < 0 &&
|
|
2898
|
+
r > 0 ? i.push(r) : r < 0 && o.push(r);
|
|
2899
2899
|
}
|
|
2900
|
-
e.bymonthday = i, e.bynmonthday =
|
|
2900
|
+
e.bymonthday = i, e.bynmonthday = o;
|
|
2901
2901
|
} else
|
|
2902
2902
|
e.bymonthday < 0 ? (e.bynmonthday = [e.bymonthday], e.bymonthday = []) : (e.bynmonthday = [], e.bymonthday = [e.bymonthday]);
|
|
2903
2903
|
if (J(e.byweekno) && !de(e.byweekno) && (e.byweekno = [e.byweekno]), !J(e.byweekday))
|
|
@@ -2909,37 +2909,37 @@ function Ta(t) {
|
|
|
2909
2909
|
else if (e.byweekday instanceof se)
|
|
2910
2910
|
!e.byweekday.n || e.freq > R.MONTHLY ? (e.byweekday = [e.byweekday.weekday], e.bynweekday = null) : (e.bynweekday = [[e.byweekday.weekday, e.byweekday.n]], e.byweekday = null);
|
|
2911
2911
|
else {
|
|
2912
|
-
for (var
|
|
2912
|
+
for (var a = [], s = [], n = 0; n < e.byweekday.length; n++) {
|
|
2913
2913
|
var l = e.byweekday[n];
|
|
2914
2914
|
if (Ee(l)) {
|
|
2915
|
-
|
|
2915
|
+
a.push(l);
|
|
2916
2916
|
continue;
|
|
2917
2917
|
} else if (Kn(l)) {
|
|
2918
|
-
|
|
2918
|
+
a.push(se.fromStr(l).weekday);
|
|
2919
2919
|
continue;
|
|
2920
2920
|
}
|
|
2921
|
-
!l.n || e.freq > R.MONTHLY ?
|
|
2921
|
+
!l.n || e.freq > R.MONTHLY ? a.push(l.weekday) : s.push([l.weekday, l.n]);
|
|
2922
2922
|
}
|
|
2923
|
-
e.byweekday = V(
|
|
2923
|
+
e.byweekday = V(a) ? a : null, e.bynweekday = V(s) ? s : null;
|
|
2924
2924
|
}
|
|
2925
2925
|
return J(e.byhour) ? Ee(e.byhour) && (e.byhour = [e.byhour]) : e.byhour = e.freq < R.HOURLY ? [e.dtstart.getUTCHours()] : null, J(e.byminute) ? Ee(e.byminute) && (e.byminute = [e.byminute]) : e.byminute = e.freq < R.MINUTELY ? [e.dtstart.getUTCMinutes()] : null, J(e.bysecond) ? Ee(e.bysecond) && (e.bysecond = [e.bysecond]) : e.bysecond = e.freq < R.SECONDLY ? [e.dtstart.getUTCSeconds()] : null, { parsedOptions: e };
|
|
2926
2926
|
}
|
|
2927
|
-
function
|
|
2927
|
+
function So(t) {
|
|
2928
2928
|
var e = t.dtstart.getTime() % 1e3;
|
|
2929
2929
|
if (!pn(t.freq))
|
|
2930
2930
|
return [];
|
|
2931
2931
|
var n = [];
|
|
2932
2932
|
return t.byhour.forEach(function(r) {
|
|
2933
2933
|
t.byminute.forEach(function(i) {
|
|
2934
|
-
t.bysecond.forEach(function(
|
|
2935
|
-
n.push(new bt(r, i,
|
|
2934
|
+
t.bysecond.forEach(function(o) {
|
|
2935
|
+
n.push(new bt(r, i, o, e));
|
|
2936
2936
|
});
|
|
2937
2937
|
});
|
|
2938
2938
|
}), n;
|
|
2939
2939
|
}
|
|
2940
2940
|
function Vt(t) {
|
|
2941
2941
|
var e = t.split(`
|
|
2942
|
-
`).map(
|
|
2942
|
+
`).map(Co).filter(function(n) {
|
|
2943
2943
|
return n !== null;
|
|
2944
2944
|
});
|
|
2945
2945
|
return he(he({}, e[0]), e[1]);
|
|
@@ -2951,7 +2951,7 @@ function wt(t) {
|
|
|
2951
2951
|
var r = n[1], i = n[2];
|
|
2952
2952
|
return r && (e.tzid = r), e.dtstart = dn(i), e;
|
|
2953
2953
|
}
|
|
2954
|
-
function
|
|
2954
|
+
function Co(t) {
|
|
2955
2955
|
if (t = t.replace(/^\s+|\s+$/, ""), !t.length)
|
|
2956
2956
|
return null;
|
|
2957
2957
|
var e = /^([A-Z]+?)[:;]/.exec(t.toUpperCase());
|
|
@@ -2971,8 +2971,8 @@ function Ca(t) {
|
|
|
2971
2971
|
function er(t) {
|
|
2972
2972
|
var e = t.replace(/^RRULE:/i, ""), n = wt(e), r = t.replace(/^(?:RRULE|EXRULE):/i, "").split(";");
|
|
2973
2973
|
return r.forEach(function(i) {
|
|
2974
|
-
var
|
|
2975
|
-
switch (
|
|
2974
|
+
var o = i.split("="), a = o[0], s = o[1];
|
|
2975
|
+
switch (a.toUpperCase()) {
|
|
2976
2976
|
case "FREQ":
|
|
2977
2977
|
n.freq = N[s.toUpperCase()];
|
|
2978
2978
|
break;
|
|
@@ -2989,12 +2989,12 @@ function er(t) {
|
|
|
2989
2989
|
case "BYHOUR":
|
|
2990
2990
|
case "BYMINUTE":
|
|
2991
2991
|
case "BYSECOND":
|
|
2992
|
-
var l =
|
|
2992
|
+
var l = _o(s), u = a.toLowerCase();
|
|
2993
2993
|
n[u] = l;
|
|
2994
2994
|
break;
|
|
2995
2995
|
case "BYWEEKDAY":
|
|
2996
2996
|
case "BYDAY":
|
|
2997
|
-
n.byweekday =
|
|
2997
|
+
n.byweekday = Ro(s);
|
|
2998
2998
|
break;
|
|
2999
2999
|
case "DTSTART":
|
|
3000
3000
|
case "TZID":
|
|
@@ -3008,11 +3008,11 @@ function er(t) {
|
|
|
3008
3008
|
n.byeaster = Number(s);
|
|
3009
3009
|
break;
|
|
3010
3010
|
default:
|
|
3011
|
-
throw new Error("Unknown RRULE property '" +
|
|
3011
|
+
throw new Error("Unknown RRULE property '" + a + "'");
|
|
3012
3012
|
}
|
|
3013
3013
|
}), n;
|
|
3014
3014
|
}
|
|
3015
|
-
function
|
|
3015
|
+
function _o(t) {
|
|
3016
3016
|
if (t.indexOf(",") !== -1) {
|
|
3017
3017
|
var e = t.split(",");
|
|
3018
3018
|
return e.map(tr);
|
|
@@ -3022,7 +3022,7 @@ function _a(t) {
|
|
|
3022
3022
|
function tr(t) {
|
|
3023
3023
|
return /^[+-]?\d+$/.test(t) ? Number(t) : t;
|
|
3024
3024
|
}
|
|
3025
|
-
function
|
|
3025
|
+
function Ro(t) {
|
|
3026
3026
|
var e = t.split(",");
|
|
3027
3027
|
return e.map(function(n) {
|
|
3028
3028
|
if (n.length === 2)
|
|
@@ -3030,8 +3030,8 @@ function Ra(t) {
|
|
|
3030
3030
|
var r = n.match(/^([+-]?\d{1,2})([A-Z]{2})$/);
|
|
3031
3031
|
if (!r || r.length < 3)
|
|
3032
3032
|
throw new SyntaxError("Invalid weekday string: ".concat(n));
|
|
3033
|
-
var i = Number(r[1]),
|
|
3034
|
-
return new se(
|
|
3033
|
+
var i = Number(r[1]), o = r[2], a = we[o].weekday;
|
|
3034
|
+
return new se(a, i);
|
|
3035
3035
|
});
|
|
3036
3036
|
}
|
|
3037
3037
|
var $t = (
|
|
@@ -3054,16 +3054,16 @@ var $t = (
|
|
|
3054
3054
|
}, t.prototype.getTime = function() {
|
|
3055
3055
|
return this.date.getTime();
|
|
3056
3056
|
}, t.prototype.rezonedDate = function() {
|
|
3057
|
-
return this.isUTC ? this.date :
|
|
3057
|
+
return this.isUTC ? this.date : go(this.date, this.tzid);
|
|
3058
3058
|
}, t;
|
|
3059
3059
|
}()
|
|
3060
3060
|
);
|
|
3061
3061
|
function en(t) {
|
|
3062
|
-
for (var e = [], n = "", r = Object.keys(t), i = Object.keys(yn),
|
|
3063
|
-
if (r[
|
|
3064
|
-
var
|
|
3062
|
+
for (var e = [], n = "", r = Object.keys(t), i = Object.keys(yn), o = 0; o < r.length; o++)
|
|
3063
|
+
if (r[o] !== "tzid" && W(i, r[o])) {
|
|
3064
|
+
var a = r[o].toUpperCase(), s = t[r[o]], l = "";
|
|
3065
3065
|
if (!(!J(s) || de(s) && !s.length)) {
|
|
3066
|
-
switch (
|
|
3066
|
+
switch (a) {
|
|
3067
3067
|
case "FREQ":
|
|
3068
3068
|
l = R.FREQUENCIES[t.freq];
|
|
3069
3069
|
break;
|
|
@@ -3071,12 +3071,12 @@ function en(t) {
|
|
|
3071
3071
|
Ee(s) ? l = new se(s).toString() : l = s.toString();
|
|
3072
3072
|
break;
|
|
3073
3073
|
case "BYWEEKDAY":
|
|
3074
|
-
|
|
3074
|
+
a = "BYDAY", l = uo(s).map(function(p) {
|
|
3075
3075
|
return p instanceof se ? p : de(p) ? new se(p[0], p[1]) : new se(p);
|
|
3076
3076
|
}).toString();
|
|
3077
3077
|
break;
|
|
3078
3078
|
case "DTSTART":
|
|
3079
|
-
n =
|
|
3079
|
+
n = Do(s, t.tzid);
|
|
3080
3080
|
break;
|
|
3081
3081
|
case "UNTIL":
|
|
3082
3082
|
l = fn(s, !t.tzid);
|
|
@@ -3089,7 +3089,7 @@ function en(t) {
|
|
|
3089
3089
|
} else
|
|
3090
3090
|
l = String(s);
|
|
3091
3091
|
}
|
|
3092
|
-
l && e.push([
|
|
3092
|
+
l && e.push([a, l]);
|
|
3093
3093
|
}
|
|
3094
3094
|
}
|
|
3095
3095
|
var d = e.map(function(p) {
|
|
@@ -3101,15 +3101,15 @@ function en(t) {
|
|
|
3101
3101
|
}).join(`
|
|
3102
3102
|
`);
|
|
3103
3103
|
}
|
|
3104
|
-
function
|
|
3104
|
+
function Do(t, e) {
|
|
3105
3105
|
return t ? "DTSTART" + new $t(new Date(t), e).toString() : "";
|
|
3106
3106
|
}
|
|
3107
|
-
function
|
|
3107
|
+
function Ao(t, e) {
|
|
3108
3108
|
return Array.isArray(t) ? !Array.isArray(e) || t.length !== e.length ? !1 : t.every(function(n, r) {
|
|
3109
3109
|
return n.getTime() === e[r].getTime();
|
|
3110
3110
|
}) : t instanceof Date ? e instanceof Date && t.getTime() === e.getTime() : t === e;
|
|
3111
3111
|
}
|
|
3112
|
-
var
|
|
3112
|
+
var Io = (
|
|
3113
3113
|
/** @class */
|
|
3114
3114
|
function() {
|
|
3115
3115
|
function t() {
|
|
@@ -3118,20 +3118,20 @@ var Aa = (
|
|
|
3118
3118
|
return t.prototype._cacheAdd = function(e, n, r) {
|
|
3119
3119
|
n && (n = n instanceof Date ? Xt(n) : Jn(n)), e === "all" ? this.all = n : (r._value = n, this[e].push(r));
|
|
3120
3120
|
}, t.prototype._cacheGet = function(e, n) {
|
|
3121
|
-
var r = !1, i = n ? Object.keys(n) : [],
|
|
3121
|
+
var r = !1, i = n ? Object.keys(n) : [], o = function(f) {
|
|
3122
3122
|
for (var d = 0; d < i.length; d++) {
|
|
3123
3123
|
var h = i[d];
|
|
3124
|
-
if (!
|
|
3124
|
+
if (!Ao(n[h], f[h]))
|
|
3125
3125
|
return !0;
|
|
3126
3126
|
}
|
|
3127
3127
|
return !1;
|
|
3128
|
-
},
|
|
3128
|
+
}, a = this[e];
|
|
3129
3129
|
if (e === "all")
|
|
3130
3130
|
r = this.all;
|
|
3131
|
-
else if (de(
|
|
3132
|
-
for (var s = 0; s <
|
|
3133
|
-
var l =
|
|
3134
|
-
if (!(i.length &&
|
|
3131
|
+
else if (de(a))
|
|
3132
|
+
for (var s = 0; s < a.length; s++) {
|
|
3133
|
+
var l = a[s];
|
|
3134
|
+
if (!(i.length && o(l))) {
|
|
3135
3135
|
r = l._value;
|
|
3136
3136
|
break;
|
|
3137
3137
|
}
|
|
@@ -3144,18 +3144,18 @@ var Aa = (
|
|
|
3144
3144
|
return de(r) ? Jn(r) : r instanceof Date ? Xt(r) : r;
|
|
3145
3145
|
}, t;
|
|
3146
3146
|
}()
|
|
3147
|
-
),
|
|
3147
|
+
), Oo = $($($($($($($($($($($($($([], U(1, 31), !0), U(2, 28), !0), U(3, 31), !0), U(4, 30), !0), U(5, 31), !0), U(6, 30), !0), U(7, 31), !0), U(8, 31), !0), U(9, 30), !0), U(10, 31), !0), U(11, 30), !0), U(12, 31), !0), U(1, 7), !0), Mo = $($($($($($($($($($($($($([], U(1, 31), !0), U(2, 29), !0), U(3, 31), !0), U(4, 30), !0), U(5, 31), !0), U(6, 30), !0), U(7, 31), !0), U(8, 31), !0), U(9, 30), !0), U(10, 31), !0), U(11, 30), !0), U(12, 31), !0), U(1, 7), !0), Lo = Ce(1, 29), Fo = Ce(1, 30), Ue = Ce(1, 31), re = Ce(1, 32), Uo = $($($($($($($($($($($($($([], re, !0), Fo, !0), re, !0), Ue, !0), re, !0), Ue, !0), re, !0), re, !0), Ue, !0), re, !0), Ue, !0), re, !0), re.slice(0, 7), !0), No = $($($($($($($($($($($($($([], re, !0), Lo, !0), re, !0), Ue, !0), re, !0), Ue, !0), re, !0), re, !0), Ue, !0), re, !0), Ue, !0), re, !0), re.slice(0, 7), !0), Po = Ce(-28, 0), Yo = Ce(-29, 0), Ne = Ce(-30, 0), ie = Ce(-31, 0), Ho = $($($($($($($($($($($($($([], ie, !0), Yo, !0), ie, !0), Ne, !0), ie, !0), Ne, !0), ie, !0), ie, !0), Ne, !0), ie, !0), Ne, !0), ie, !0), ie.slice(0, 7), !0), Bo = $($($($($($($($($($($($($([], ie, !0), Po, !0), ie, !0), Ne, !0), ie, !0), Ne, !0), ie, !0), ie, !0), Ne, !0), ie, !0), Ne, !0), ie, !0), ie.slice(0, 7), !0), Wo = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335, 366], jo = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365], nr = function() {
|
|
3148
3148
|
for (var t = [], e = 0; e < 55; e++)
|
|
3149
3149
|
t = t.concat(Ce(7));
|
|
3150
3150
|
return t;
|
|
3151
3151
|
}();
|
|
3152
|
-
function
|
|
3153
|
-
var n = Be(t, 1, 1), r =
|
|
3152
|
+
function zo(t, e) {
|
|
3153
|
+
var n = Be(t, 1, 1), r = at(t) ? 366 : 365, i = at(t + 1) ? 366 : 365, o = Jt(n), a = Xe(n), s = he(he({ yearlen: r, nextyearlen: i, yearordinal: o, yearweekday: a }, qo(t)), { wnomask: null });
|
|
3154
3154
|
if (ke(e.byweekno))
|
|
3155
3155
|
return s;
|
|
3156
|
-
s.wnomask =
|
|
3157
|
-
var l, u, f = l = me(7 -
|
|
3158
|
-
f >= 4 ? (f = 0, u = s.yearlen + me(
|
|
3156
|
+
s.wnomask = U(0, r + 7);
|
|
3157
|
+
var l, u, f = l = me(7 - a + e.wkst, 7);
|
|
3158
|
+
f >= 4 ? (f = 0, u = s.yearlen + me(a - e.wkst, 7)) : u = r - f;
|
|
3159
3159
|
for (var d = Math.floor(u / 7), h = me(u, 7), p = Math.floor(d + h / 4), y = 0; y < e.byweekno.length; y++) {
|
|
3160
3160
|
var b = e.byweekno[y];
|
|
3161
3161
|
if (b < 0 && (b += p + 1), b > 0 && b <= p) {
|
|
@@ -3176,7 +3176,7 @@ function za(t, e) {
|
|
|
3176
3176
|
if (W(e.byweekno, -1))
|
|
3177
3177
|
M = -1;
|
|
3178
3178
|
else {
|
|
3179
|
-
var te = Xe(Be(t - 1, 1, 1)), le = me(7 - te.valueOf() + e.wkst, 7), ge =
|
|
3179
|
+
var te = Xe(Be(t - 1, 1, 1)), le = me(7 - te.valueOf() + e.wkst, 7), ge = at(t - 1) ? 366 : 365, ne = void 0;
|
|
3180
3180
|
le >= 4 ? (le = 0, ne = ge + me(te - e.wkst, 7)) : ne = r - f, M = Math.floor(52 + me(ne, 7) / 4);
|
|
3181
3181
|
}
|
|
3182
3182
|
if (W(e.byweekno, M))
|
|
@@ -3185,52 +3185,52 @@ function za(t, e) {
|
|
|
3185
3185
|
}
|
|
3186
3186
|
return s;
|
|
3187
3187
|
}
|
|
3188
|
-
function
|
|
3189
|
-
var e =
|
|
3188
|
+
function qo(t) {
|
|
3189
|
+
var e = at(t) ? 366 : 365, n = Be(t, 1, 1), r = Xe(n);
|
|
3190
3190
|
return e === 365 ? {
|
|
3191
|
-
mmask:
|
|
3192
|
-
mdaymask:
|
|
3193
|
-
nmdaymask:
|
|
3191
|
+
mmask: Oo,
|
|
3192
|
+
mdaymask: No,
|
|
3193
|
+
nmdaymask: Bo,
|
|
3194
3194
|
wdaymask: nr.slice(r),
|
|
3195
|
-
mrange:
|
|
3195
|
+
mrange: jo
|
|
3196
3196
|
} : {
|
|
3197
|
-
mmask:
|
|
3198
|
-
mdaymask:
|
|
3199
|
-
nmdaymask:
|
|
3197
|
+
mmask: Mo,
|
|
3198
|
+
mdaymask: Uo,
|
|
3199
|
+
nmdaymask: Ho,
|
|
3200
3200
|
wdaymask: nr.slice(r),
|
|
3201
|
-
mrange:
|
|
3201
|
+
mrange: Wo
|
|
3202
3202
|
};
|
|
3203
3203
|
}
|
|
3204
|
-
function
|
|
3205
|
-
var
|
|
3204
|
+
function Ko(t, e, n, r, i, o) {
|
|
3205
|
+
var a = {
|
|
3206
3206
|
lastyear: t,
|
|
3207
3207
|
lastmonth: e,
|
|
3208
3208
|
nwdaymask: []
|
|
3209
3209
|
}, s = [];
|
|
3210
|
-
if (
|
|
3211
|
-
if (ke(
|
|
3210
|
+
if (o.freq === R.YEARLY)
|
|
3211
|
+
if (ke(o.bymonth))
|
|
3212
3212
|
s = [[0, n]];
|
|
3213
3213
|
else
|
|
3214
|
-
for (var l = 0; l <
|
|
3215
|
-
e =
|
|
3214
|
+
for (var l = 0; l < o.bymonth.length; l++)
|
|
3215
|
+
e = o.bymonth[l], s.push(r.slice(e - 1, e + 1));
|
|
3216
3216
|
else
|
|
3217
|
-
|
|
3217
|
+
o.freq === R.MONTHLY && (s = [r.slice(e - 1, e + 1)]);
|
|
3218
3218
|
if (ke(s))
|
|
3219
|
-
return
|
|
3220
|
-
|
|
3219
|
+
return a;
|
|
3220
|
+
a.nwdaymask = U(0, n);
|
|
3221
3221
|
for (var l = 0; l < s.length; l++)
|
|
3222
|
-
for (var u = s[l], f = u[0], d = u[1] - 1, h = 0; h <
|
|
3223
|
-
var p = void 0, y =
|
|
3224
|
-
w < 0 ? (p = d + (w + 1) * 7, p -= me(i[p] - b, 7)) : (p = f + (w - 1) * 7, p += me(7 - i[p] + b, 7)), f <= p && p <= d && (
|
|
3222
|
+
for (var u = s[l], f = u[0], d = u[1] - 1, h = 0; h < o.bynweekday.length; h++) {
|
|
3223
|
+
var p = void 0, y = o.bynweekday[h], b = y[0], w = y[1];
|
|
3224
|
+
w < 0 ? (p = d + (w + 1) * 7, p -= me(i[p] - b, 7)) : (p = f + (w - 1) * 7, p += me(7 - i[p] + b, 7)), f <= p && p <= d && (a.nwdaymask[p] = 1);
|
|
3225
3225
|
}
|
|
3226
|
-
return
|
|
3226
|
+
return a;
|
|
3227
3227
|
}
|
|
3228
|
-
function
|
|
3228
|
+
function Go(t, e) {
|
|
3229
3229
|
e === void 0 && (e = 0);
|
|
3230
|
-
var n = t % 19, r = Math.floor(t / 100), i = t % 100,
|
|
3230
|
+
var n = t % 19, r = Math.floor(t / 100), i = t % 100, o = Math.floor(r / 4), a = r % 4, s = Math.floor((r + 8) / 25), l = Math.floor((r - s + 1) / 3), u = Math.floor(19 * n + r - o - l + 15) % 30, f = Math.floor(i / 4), d = i % 4, h = Math.floor(32 + 2 * a + 2 * f - u - d) % 7, p = Math.floor((n + 11 * u + 22 * h) / 451), y = Math.floor((u + h - 7 * p + 114) / 31), b = (u + h - 7 * p + 114) % 31 + 1, w = Date.UTC(t, y - 1, b + e), T = Date.UTC(t, 0, 1);
|
|
3231
3231
|
return [Math.ceil((w - T) / (1e3 * 60 * 60 * 24))];
|
|
3232
3232
|
}
|
|
3233
|
-
var
|
|
3233
|
+
var Zo = (
|
|
3234
3234
|
/** @class */
|
|
3235
3235
|
function() {
|
|
3236
3236
|
function t(e) {
|
|
@@ -3238,11 +3238,11 @@ var Za = (
|
|
|
3238
3238
|
}
|
|
3239
3239
|
return t.prototype.rebuild = function(e, n) {
|
|
3240
3240
|
var r = this.options;
|
|
3241
|
-
if (e !== this.lastyear && (this.yearinfo =
|
|
3242
|
-
var i = this.yearinfo,
|
|
3243
|
-
this.monthinfo =
|
|
3241
|
+
if (e !== this.lastyear && (this.yearinfo = zo(e, r)), V(r.bynweekday) && (n !== this.lastmonth || e !== this.lastyear)) {
|
|
3242
|
+
var i = this.yearinfo, o = i.yearlen, a = i.mrange, s = i.wdaymask;
|
|
3243
|
+
this.monthinfo = Ko(e, n, o, a, s, r);
|
|
3244
3244
|
}
|
|
3245
|
-
J(r.byeaster) && (this.eastermask =
|
|
3245
|
+
J(r.byeaster) && (this.eastermask = Go(e, r.byeaster));
|
|
3246
3246
|
}, Object.defineProperty(t.prototype, "lastyear", {
|
|
3247
3247
|
get: function() {
|
|
3248
3248
|
return this.monthinfo ? this.monthinfo.lastyear : null;
|
|
@@ -3318,26 +3318,26 @@ var Za = (
|
|
|
3318
3318
|
}), t.prototype.ydayset = function() {
|
|
3319
3319
|
return [Ce(this.yearlen), 0, this.yearlen];
|
|
3320
3320
|
}, t.prototype.mdayset = function(e, n) {
|
|
3321
|
-
for (var r = this.mrange[n - 1], i = this.mrange[n],
|
|
3322
|
-
a
|
|
3323
|
-
return [
|
|
3321
|
+
for (var r = this.mrange[n - 1], i = this.mrange[n], o = U(null, this.yearlen), a = r; a < i; a++)
|
|
3322
|
+
o[a] = a;
|
|
3323
|
+
return [o, r, i];
|
|
3324
3324
|
}, t.prototype.wdayset = function(e, n, r) {
|
|
3325
|
-
for (var i =
|
|
3325
|
+
for (var i = U(null, this.yearlen + 7), o = Jt(Be(e, n, r)) - this.yearordinal, a = o, s = 0; s < 7 && (i[o] = o, ++o, this.wdaymask[o] !== this.options.wkst); s++)
|
|
3326
3326
|
;
|
|
3327
|
-
return [i,
|
|
3327
|
+
return [i, a, o];
|
|
3328
3328
|
}, t.prototype.ddayset = function(e, n, r) {
|
|
3329
|
-
var i =
|
|
3330
|
-
return i[
|
|
3329
|
+
var i = U(null, this.yearlen), o = Jt(Be(e, n, r)) - this.yearordinal;
|
|
3330
|
+
return i[o] = o, [i, o, o + 1];
|
|
3331
3331
|
}, t.prototype.htimeset = function(e, n, r, i) {
|
|
3332
|
-
var
|
|
3332
|
+
var o = this, a = [];
|
|
3333
3333
|
return this.options.byminute.forEach(function(s) {
|
|
3334
|
-
|
|
3335
|
-
}), st(
|
|
3334
|
+
a = a.concat(o.mtimeset(e, s, r, i));
|
|
3335
|
+
}), st(a), a;
|
|
3336
3336
|
}, t.prototype.mtimeset = function(e, n, r, i) {
|
|
3337
|
-
var
|
|
3338
|
-
return new bt(e, n,
|
|
3337
|
+
var o = this.options.bysecond.map(function(a) {
|
|
3338
|
+
return new bt(e, n, a, i);
|
|
3339
3339
|
});
|
|
3340
|
-
return st(
|
|
3340
|
+
return st(o), o;
|
|
3341
3341
|
}, t.prototype.stimeset = function(e, n, r, i) {
|
|
3342
3342
|
return [new bt(e, n, r, i)];
|
|
3343
3343
|
}, t.prototype.getdayset = function(e) {
|
|
@@ -3365,38 +3365,38 @@ var Za = (
|
|
|
3365
3365
|
}, t;
|
|
3366
3366
|
}()
|
|
3367
3367
|
);
|
|
3368
|
-
function
|
|
3369
|
-
for (var
|
|
3368
|
+
function Jo(t, e, n, r, i, o) {
|
|
3369
|
+
for (var a = [], s = 0; s < t.length; s++) {
|
|
3370
3370
|
var l = void 0, u = void 0, f = t[s];
|
|
3371
3371
|
f < 0 ? (l = Math.floor(f / e.length), u = me(f, e.length)) : (l = Math.floor((f - 1) / e.length), u = me(f - 1, e.length));
|
|
3372
3372
|
for (var d = [], h = n; h < r; h++) {
|
|
3373
|
-
var p =
|
|
3373
|
+
var p = o[h];
|
|
3374
3374
|
J(p) && d.push(p);
|
|
3375
3375
|
}
|
|
3376
3376
|
var y = void 0;
|
|
3377
3377
|
l < 0 ? y = d.slice(l)[0] : y = d[l];
|
|
3378
3378
|
var b = e[u], w = ri(i.yearordinal + y), T = ii(w, b);
|
|
3379
|
-
W(
|
|
3379
|
+
W(a, T) || a.push(T);
|
|
3380
3380
|
}
|
|
3381
|
-
return st(
|
|
3381
|
+
return st(a), a;
|
|
3382
3382
|
}
|
|
3383
3383
|
function si(t, e) {
|
|
3384
|
-
var n = e.dtstart, r = e.freq, i = e.interval,
|
|
3384
|
+
var n = e.dtstart, r = e.freq, i = e.interval, o = e.until, a = e.bysetpos, s = e.count;
|
|
3385
3385
|
if (s === 0 || i === 0)
|
|
3386
|
-
return
|
|
3387
|
-
var l =
|
|
3386
|
+
return Ae(t);
|
|
3387
|
+
var l = xo.fromDate(n), u = new Zo(e);
|
|
3388
3388
|
u.rebuild(l.year, l.month);
|
|
3389
|
-
for (var f =
|
|
3390
|
-
var d = u.getdayset(r)(l.year, l.month, l.day), h = d[0], p = d[1], y = d[2], b =
|
|
3391
|
-
if (V(
|
|
3392
|
-
for (var w =
|
|
3389
|
+
for (var f = Vo(u, l, e); ; ) {
|
|
3390
|
+
var d = u.getdayset(r)(l.year, l.month, l.day), h = d[0], p = d[1], y = d[2], b = Qo(h, p, y, u, e);
|
|
3391
|
+
if (V(a))
|
|
3392
|
+
for (var w = Jo(a, f, p, y, u, h), T = 0; T < w.length; T++) {
|
|
3393
3393
|
var M = w[T];
|
|
3394
|
-
if (
|
|
3395
|
-
return
|
|
3394
|
+
if (o && M > o)
|
|
3395
|
+
return Ae(t);
|
|
3396
3396
|
if (M >= n) {
|
|
3397
3397
|
var te = rr(M, e);
|
|
3398
3398
|
if (!t.accept(te) || s && (--s, !s))
|
|
3399
|
-
return
|
|
3399
|
+
return Ae(t);
|
|
3400
3400
|
}
|
|
3401
3401
|
}
|
|
3402
3402
|
else
|
|
@@ -3405,40 +3405,40 @@ function si(t, e) {
|
|
|
3405
3405
|
if (J(le))
|
|
3406
3406
|
for (var ge = ri(u.yearordinal + le), ne = 0; ne < f.length; ne++) {
|
|
3407
3407
|
var Pe = f[ne], M = ii(ge, Pe);
|
|
3408
|
-
if (
|
|
3409
|
-
return
|
|
3408
|
+
if (o && M > o)
|
|
3409
|
+
return Ae(t);
|
|
3410
3410
|
if (M >= n) {
|
|
3411
3411
|
var te = rr(M, e);
|
|
3412
3412
|
if (!t.accept(te) || s && (--s, !s))
|
|
3413
|
-
return
|
|
3413
|
+
return Ae(t);
|
|
3414
3414
|
}
|
|
3415
3415
|
}
|
|
3416
3416
|
}
|
|
3417
3417
|
if (e.interval === 0 || (l.add(e, b), l.year > ei))
|
|
3418
|
-
return
|
|
3418
|
+
return Ae(t);
|
|
3419
3419
|
pn(r) || (f = u.gettimeset(r)(l.hour, l.minute, l.second, 0)), u.rebuild(l.year, l.month);
|
|
3420
3420
|
}
|
|
3421
3421
|
}
|
|
3422
|
-
function
|
|
3423
|
-
var r = n.bymonth, i = n.byweekno,
|
|
3424
|
-
return V(r) && !W(r, t.mmask[e]) || V(i) && !t.wnomask[e] || V(
|
|
3422
|
+
function Xo(t, e, n) {
|
|
3423
|
+
var r = n.bymonth, i = n.byweekno, o = n.byweekday, a = n.byeaster, s = n.bymonthday, l = n.bynmonthday, u = n.byyearday;
|
|
3424
|
+
return V(r) && !W(r, t.mmask[e]) || V(i) && !t.wnomask[e] || V(o) && !W(o, t.wdaymask[e]) || V(t.nwdaymask) && !t.nwdaymask[e] || a !== null && !W(t.eastermask, e) || (V(s) || V(l)) && !W(s, t.mdaymask[e]) && !W(l, t.nmdaymask[e]) || V(u) && (e < t.yearlen && !W(u, e + 1) && !W(u, -t.yearlen + e) || e >= t.yearlen && !W(u, e + 1 - t.yearlen) && !W(u, -t.nextyearlen + e - t.yearlen));
|
|
3425
3425
|
}
|
|
3426
3426
|
function rr(t, e) {
|
|
3427
3427
|
return new $t(t, e.tzid).rezonedDate();
|
|
3428
3428
|
}
|
|
3429
|
-
function
|
|
3429
|
+
function Ae(t) {
|
|
3430
3430
|
return t.getValue();
|
|
3431
3431
|
}
|
|
3432
|
-
function
|
|
3433
|
-
for (var
|
|
3434
|
-
var s = t[
|
|
3435
|
-
|
|
3432
|
+
function Qo(t, e, n, r, i) {
|
|
3433
|
+
for (var o = !1, a = e; a < n; a++) {
|
|
3434
|
+
var s = t[a];
|
|
3435
|
+
o = Xo(r, s, i), o && (t[s] = null);
|
|
3436
3436
|
}
|
|
3437
|
-
return
|
|
3437
|
+
return o;
|
|
3438
3438
|
}
|
|
3439
|
-
function
|
|
3440
|
-
var r = n.freq, i = n.byhour,
|
|
3441
|
-
return pn(r) ?
|
|
3439
|
+
function Vo(t, e, n) {
|
|
3440
|
+
var r = n.freq, i = n.byhour, o = n.byminute, a = n.bysecond;
|
|
3441
|
+
return pn(r) ? So(n) : r >= R.HOURLY && V(i) && !W(i, e.hour) || r >= R.MINUTELY && V(o) && !W(o, e.minute) || r >= R.SECONDLY && V(a) && !W(a, e.second) ? [] : t.gettimeset(r)(e.hour, e.minute, e.second, e.millisecond);
|
|
3442
3442
|
}
|
|
3443
3443
|
var we = {
|
|
3444
3444
|
MO: new se(0),
|
|
@@ -3472,14 +3472,14 @@ var we = {
|
|
|
3472
3472
|
/** @class */
|
|
3473
3473
|
function() {
|
|
3474
3474
|
function t(e, n) {
|
|
3475
|
-
e === void 0 && (e = {}), n === void 0 && (n = !1), this._cache = n ? null : new
|
|
3476
|
-
var r =
|
|
3475
|
+
e === void 0 && (e = {}), n === void 0 && (n = !1), this._cache = n ? null : new Io(), this.origOptions = oi(e);
|
|
3476
|
+
var r = To(e).parsedOptions;
|
|
3477
3477
|
this.options = r;
|
|
3478
3478
|
}
|
|
3479
3479
|
return t.parseText = function(e, n) {
|
|
3480
|
-
return
|
|
3480
|
+
return ai(e, n);
|
|
3481
3481
|
}, t.fromText = function(e, n) {
|
|
3482
|
-
return $
|
|
3482
|
+
return $o(e, n);
|
|
3483
3483
|
}, t.fromString = function(e) {
|
|
3484
3484
|
return new t(t.parseString(e) || void 0);
|
|
3485
3485
|
}, t.prototype._iter = function(e) {
|
|
@@ -3497,15 +3497,15 @@ var we = {
|
|
|
3497
3497
|
}, t.prototype.between = function(e, n, r, i) {
|
|
3498
3498
|
if (r === void 0 && (r = !1), !it(e) || !it(n))
|
|
3499
3499
|
throw new Error("Invalid date passed in to RRule.between");
|
|
3500
|
-
var
|
|
3500
|
+
var o = {
|
|
3501
3501
|
before: n,
|
|
3502
3502
|
after: e,
|
|
3503
3503
|
inc: r
|
|
3504
3504
|
};
|
|
3505
3505
|
if (i)
|
|
3506
|
-
return this._iter(new Qn("between",
|
|
3507
|
-
var
|
|
3508
|
-
return
|
|
3506
|
+
return this._iter(new Qn("between", o, i));
|
|
3507
|
+
var a = this._cacheGet("between", o);
|
|
3508
|
+
return a === !1 && (a = this._iter(new Je("between", o)), this._cacheAdd("between", a, o)), a;
|
|
3509
3509
|
}, t.prototype.before = function(e, n) {
|
|
3510
3510
|
if (n === void 0 && (n = !1), !it(e))
|
|
3511
3511
|
throw new Error("Invalid date passed in to RRule.before");
|
|
@@ -3521,9 +3521,9 @@ var we = {
|
|
|
3521
3521
|
}, t.prototype.toString = function() {
|
|
3522
3522
|
return en(this.origOptions);
|
|
3523
3523
|
}, t.prototype.toText = function(e, n, r) {
|
|
3524
|
-
return
|
|
3524
|
+
return Eo(this, e, n, r);
|
|
3525
3525
|
}, t.prototype.isFullyConvertibleToText = function() {
|
|
3526
|
-
return
|
|
3526
|
+
return ko(this);
|
|
3527
3527
|
}, t.prototype.clone = function() {
|
|
3528
3528
|
return new t(this.origOptions);
|
|
3529
3529
|
}, t.FREQUENCIES = [
|
|
@@ -3537,27 +3537,27 @@ var we = {
|
|
|
3537
3537
|
], t.YEARLY = N.YEARLY, t.MONTHLY = N.MONTHLY, t.WEEKLY = N.WEEKLY, t.DAILY = N.DAILY, t.HOURLY = N.HOURLY, t.MINUTELY = N.MINUTELY, t.SECONDLY = N.SECONDLY, t.MO = we.MO, t.TU = we.TU, t.WE = we.WE, t.TH = we.TH, t.FR = we.FR, t.SA = we.SA, t.SU = we.SU, t.parseString = Vt, t.optionsToString = en, t;
|
|
3538
3538
|
}()
|
|
3539
3539
|
);
|
|
3540
|
-
function ts(t, e, n, r, i,
|
|
3541
|
-
var
|
|
3540
|
+
function ts(t, e, n, r, i, o) {
|
|
3541
|
+
var a = {}, s = t.accept;
|
|
3542
3542
|
function l(h, p) {
|
|
3543
3543
|
n.forEach(function(y) {
|
|
3544
3544
|
y.between(h, p, !0).forEach(function(b) {
|
|
3545
|
-
|
|
3545
|
+
a[Number(b)] = !0;
|
|
3546
3546
|
});
|
|
3547
3547
|
});
|
|
3548
3548
|
}
|
|
3549
3549
|
i.forEach(function(h) {
|
|
3550
|
-
var p = new $t(h,
|
|
3551
|
-
|
|
3550
|
+
var p = new $t(h, o).rezonedDate();
|
|
3551
|
+
a[Number(p)] = !0;
|
|
3552
3552
|
}), t.accept = function(h) {
|
|
3553
3553
|
var p = Number(h);
|
|
3554
|
-
return isNaN(p) ? s.call(this, h) : !
|
|
3554
|
+
return isNaN(p) ? s.call(this, h) : !a[p] && (l(new Date(p - 1), new Date(p + 1)), !a[p]) ? (a[p] = !0, s.call(this, h)) : !0;
|
|
3555
3555
|
}, t.method === "between" && (l(t.args.after, t.args.before), t.accept = function(h) {
|
|
3556
3556
|
var p = Number(h);
|
|
3557
|
-
return
|
|
3557
|
+
return a[p] ? !0 : (a[p] = !0, s.call(this, h));
|
|
3558
3558
|
});
|
|
3559
3559
|
for (var u = 0; u < r.length; u++) {
|
|
3560
|
-
var f = new $t(r[u],
|
|
3560
|
+
var f = new $t(r[u], o).rezonedDate();
|
|
3561
3561
|
if (!t.accept(new Date(f.getTime())))
|
|
3562
3562
|
break;
|
|
3563
3563
|
}
|
|
@@ -3585,11 +3585,11 @@ var ir = {
|
|
|
3585
3585
|
tzid: null
|
|
3586
3586
|
};
|
|
3587
3587
|
function ns(t, e) {
|
|
3588
|
-
var n = [], r = [], i = [],
|
|
3588
|
+
var n = [], r = [], i = [], o = [], a = wt(t), s = a.dtstart, l = a.tzid, u = ss(t, e.unfold);
|
|
3589
3589
|
return u.forEach(function(f) {
|
|
3590
3590
|
var d;
|
|
3591
3591
|
if (f) {
|
|
3592
|
-
var h =
|
|
3592
|
+
var h = os(f), p = h.name, y = h.parms, b = h.value;
|
|
3593
3593
|
switch (p.toUpperCase()) {
|
|
3594
3594
|
case "RRULE":
|
|
3595
3595
|
if (y.length)
|
|
@@ -3598,7 +3598,7 @@ function ns(t, e) {
|
|
|
3598
3598
|
break;
|
|
3599
3599
|
case "RDATE":
|
|
3600
3600
|
var w = (d = /RDATE(?:;TZID=([^:=]+))?/i.exec(f)) !== null && d !== void 0 ? d : [], T = w[1];
|
|
3601
|
-
T && !l && (l = T), r = r.concat(
|
|
3601
|
+
T && !l && (l = T), r = r.concat(or(b, y));
|
|
3602
3602
|
break;
|
|
3603
3603
|
case "EXRULE":
|
|
3604
3604
|
if (y.length)
|
|
@@ -3606,7 +3606,7 @@ function ns(t, e) {
|
|
|
3606
3606
|
i.push(Vt(b));
|
|
3607
3607
|
break;
|
|
3608
3608
|
case "EXDATE":
|
|
3609
|
-
|
|
3609
|
+
o = o.concat(or(b, y));
|
|
3610
3610
|
break;
|
|
3611
3611
|
case "DTSTART":
|
|
3612
3612
|
break;
|
|
@@ -3620,27 +3620,27 @@ function ns(t, e) {
|
|
|
3620
3620
|
rrulevals: n,
|
|
3621
3621
|
rdatevals: r,
|
|
3622
3622
|
exrulevals: i,
|
|
3623
|
-
exdatevals:
|
|
3623
|
+
exdatevals: o
|
|
3624
3624
|
};
|
|
3625
3625
|
}
|
|
3626
3626
|
function rs(t, e) {
|
|
3627
|
-
var n = ns(t, e), r = n.rrulevals, i = n.rdatevals,
|
|
3628
|
-
if (e.compatible && (e.forceset = !0, e.unfold = !0), e.forceset || r.length > 1 || i.length ||
|
|
3627
|
+
var n = ns(t, e), r = n.rrulevals, i = n.rdatevals, o = n.exrulevals, a = n.exdatevals, s = n.dtstart, l = n.tzid, u = e.cache === !1;
|
|
3628
|
+
if (e.compatible && (e.forceset = !0, e.unfold = !0), e.forceset || r.length > 1 || i.length || o.length || a.length) {
|
|
3629
3629
|
var f = new cs(u);
|
|
3630
3630
|
return f.dtstart(s), f.tzid(l || void 0), r.forEach(function(h) {
|
|
3631
3631
|
f.rrule(new R(Pt(h, s, l), u));
|
|
3632
3632
|
}), i.forEach(function(h) {
|
|
3633
3633
|
f.rdate(h);
|
|
3634
|
-
}), a.forEach(function(h) {
|
|
3635
|
-
f.exrule(new R(Pt(h, s, l), u));
|
|
3636
3634
|
}), o.forEach(function(h) {
|
|
3635
|
+
f.exrule(new R(Pt(h, s, l), u));
|
|
3636
|
+
}), a.forEach(function(h) {
|
|
3637
3637
|
f.exdate(h);
|
|
3638
3638
|
}), e.compatible && e.dtstart && f.rdate(s), f;
|
|
3639
3639
|
}
|
|
3640
3640
|
var d = r[0] || {};
|
|
3641
3641
|
return new R(Pt(d, d.dtstart || e.dtstart || s, d.tzid || e.tzid || l), u);
|
|
3642
3642
|
}
|
|
3643
|
-
function
|
|
3643
|
+
function ar(t, e) {
|
|
3644
3644
|
return e === void 0 && (e = {}), rs(t, is(e));
|
|
3645
3645
|
}
|
|
3646
3646
|
function Pt(t, e, n) {
|
|
@@ -3654,20 +3654,20 @@ function is(t) {
|
|
|
3654
3654
|
throw new Error("Invalid options: " + e.join(", "));
|
|
3655
3655
|
return he(he({}, ir), t);
|
|
3656
3656
|
}
|
|
3657
|
-
function
|
|
3657
|
+
function as(t) {
|
|
3658
3658
|
if (t.indexOf(":") === -1)
|
|
3659
3659
|
return {
|
|
3660
3660
|
name: "RRULE",
|
|
3661
3661
|
value: t
|
|
3662
3662
|
};
|
|
3663
|
-
var e =
|
|
3663
|
+
var e = fo(t, ":", 1), n = e[0], r = e[1];
|
|
3664
3664
|
return {
|
|
3665
3665
|
name: n,
|
|
3666
3666
|
value: r
|
|
3667
3667
|
};
|
|
3668
3668
|
}
|
|
3669
|
-
function
|
|
3670
|
-
var e =
|
|
3669
|
+
function os(t) {
|
|
3670
|
+
var e = as(t), n = e.name, r = e.value, i = n.split(";");
|
|
3671
3671
|
if (!i)
|
|
3672
3672
|
throw new Error("empty property name");
|
|
3673
3673
|
return {
|
|
@@ -3694,7 +3694,7 @@ function ls(t) {
|
|
|
3694
3694
|
throw new Error("unsupported RDATE/EXDATE parm: " + e);
|
|
3695
3695
|
});
|
|
3696
3696
|
}
|
|
3697
|
-
function
|
|
3697
|
+
function or(t, e) {
|
|
3698
3698
|
return ls(e), t.split(",").map(function(n) {
|
|
3699
3699
|
return dn(n);
|
|
3700
3700
|
});
|
|
@@ -3732,11 +3732,11 @@ var cs = (
|
|
|
3732
3732
|
cr(n, this._exdate);
|
|
3733
3733
|
}, e.prototype.rrules = function() {
|
|
3734
3734
|
return this._rrule.map(function(n) {
|
|
3735
|
-
return
|
|
3735
|
+
return ar(n.toString());
|
|
3736
3736
|
});
|
|
3737
3737
|
}, e.prototype.exrules = function() {
|
|
3738
3738
|
return this._exrule.map(function(n) {
|
|
3739
|
-
return
|
|
3739
|
+
return ar(n.toString());
|
|
3740
3740
|
});
|
|
3741
3741
|
}, e.prototype.rdates = function() {
|
|
3742
3742
|
return this._rdate.map(function(n) {
|
|
@@ -3787,10 +3787,10 @@ function cr(t, e) {
|
|
|
3787
3787
|
W(e.map(Number), Number(t)) || (e.push(t), st(e));
|
|
3788
3788
|
}
|
|
3789
3789
|
function ur(t, e, n) {
|
|
3790
|
-
var r = !n || n.toUpperCase() === "UTC", i = r ? "".concat(t, ":") : "".concat(t, ";TZID=").concat(n, ":"),
|
|
3791
|
-
return fn(
|
|
3790
|
+
var r = !n || n.toUpperCase() === "UTC", i = r ? "".concat(t, ":") : "".concat(t, ";TZID=").concat(n, ":"), o = e.map(function(a) {
|
|
3791
|
+
return fn(a.valueOf(), r);
|
|
3792
3792
|
}).join(",");
|
|
3793
|
-
return "".concat(i).concat(
|
|
3793
|
+
return "".concat(i).concat(o);
|
|
3794
3794
|
}
|
|
3795
3795
|
function Os(...t) {
|
|
3796
3796
|
window && window.localStorage && window.localStorage.getItem("debug") && (console.group(...t), console.trace(), console.groupEnd());
|
|
@@ -3801,10 +3801,10 @@ function Ms(...t) {
|
|
|
3801
3801
|
function Ls() {
|
|
3802
3802
|
return Math.random().toString(36).substr(2, 9);
|
|
3803
3803
|
}
|
|
3804
|
-
function
|
|
3804
|
+
function Fs(t) {
|
|
3805
3805
|
return t.toString().replace(/^on/, "");
|
|
3806
3806
|
}
|
|
3807
|
-
function
|
|
3807
|
+
function Us(t) {
|
|
3808
3808
|
const e = new Date(t * 1e3), n = /* @__PURE__ */ new Date(), r = new Date(n.getFullYear(), n.getMonth(), n.getDate());
|
|
3809
3809
|
return e >= r ? new Intl.DateTimeFormat("default", {
|
|
3810
3810
|
hour: "numeric",
|
|
@@ -3822,11 +3822,11 @@ function Ps(t, e = "", n = 1, r = 3) {
|
|
|
3822
3822
|
const i = t.find((l) => {
|
|
3823
3823
|
var u;
|
|
3824
3824
|
return ((u = l.email) == null ? void 0 : u.toLowerCase()) === e.toLowerCase();
|
|
3825
|
-
}),
|
|
3825
|
+
}), o = t.filter((l) => {
|
|
3826
3826
|
var u;
|
|
3827
3827
|
return ((u = l.email) == null ? void 0 : u.toLowerCase()) !== e.toLowerCase();
|
|
3828
|
-
}),
|
|
3829
|
-
return
|
|
3828
|
+
}), a = o.length, s = o.slice(0, r).map((l) => l.name || l.email).join(", ");
|
|
3829
|
+
return a === 0 ? i ? "me" : "" : a === 1 ? i && n > 1 ? `me, ${s}` : s : a === 2 ? i ? `me, ${s}` : `${s}` : i ? `me, ${s}, +${a - r}` : `${s}, +${a - r}`;
|
|
3830
3830
|
}
|
|
3831
3831
|
const fr = [
|
|
3832
3832
|
{ amount: 60, name: "seconds" },
|
|
@@ -3842,10 +3842,10 @@ const fr = [
|
|
|
3842
3842
|
}), n = /* @__PURE__ */ new Date();
|
|
3843
3843
|
let r = (t.getTime() - n.getTime()) / 1e3;
|
|
3844
3844
|
for (let i = 0; i <= fr.length; i++) {
|
|
3845
|
-
const
|
|
3846
|
-
if (Math.abs(r) <
|
|
3847
|
-
return e.format(Math.round(r),
|
|
3848
|
-
r /=
|
|
3845
|
+
const o = fr[i];
|
|
3846
|
+
if (Math.abs(r) < o.amount)
|
|
3847
|
+
return e.format(Math.round(r), o.name);
|
|
3848
|
+
r /= o.amount;
|
|
3849
3849
|
}
|
|
3850
3850
|
};
|
|
3851
3851
|
function Hs(t) {
|
|
@@ -3870,13 +3870,13 @@ function us(t) {
|
|
|
3870
3870
|
return /<[^>]*>/g.test(t) ? "html" : "plain";
|
|
3871
3871
|
}
|
|
3872
3872
|
function Ks(t) {
|
|
3873
|
-
var i,
|
|
3874
|
-
const e = t.headers, n = e && ((i = e.find((
|
|
3873
|
+
var i, o;
|
|
3874
|
+
const e = t.headers, n = e && ((i = e.find((a) => a.name === "Content-Type")) == null ? void 0 : i.value) || "", r = e && ((o = e.find((a) => a.name === "Content-Disposition")) == null ? void 0 : o.value) || "";
|
|
3875
3875
|
return !!(n.includes("text/html") || r.includes("inline") || t.body && us(t.body) === "html");
|
|
3876
3876
|
}
|
|
3877
3877
|
function Gs(t) {
|
|
3878
3878
|
let r = t.split(`
|
|
3879
|
-
`).filter((
|
|
3879
|
+
`).filter((o) => o.trim().length > 0).map((o) => `<p>${o}</p>`).join("");
|
|
3880
3880
|
const i = /((?:https?|ftp):\/\/[^\s]+)/g;
|
|
3881
3881
|
return r = r.replace(i, '<a href="$1">$1</a>'), r;
|
|
3882
3882
|
}
|
|
@@ -3896,21 +3896,21 @@ function Vs(t) {
|
|
|
3896
3896
|
let n = "";
|
|
3897
3897
|
const [r, i] = t.split(":");
|
|
3898
3898
|
r.length === 1 ? n += "0" + r : r.length === 2 && (n += r), n += ":", i === void 0 || i == "" ? n += "00" : i.length === 1 ? n += i + "0" : n += i;
|
|
3899
|
-
const
|
|
3900
|
-
return
|
|
3899
|
+
const o = n.slice(-1);
|
|
3900
|
+
return o === "a" && (n += "m"), o === "p" && (n += "m"), n.slice(-1) !== "m" && (n.split(":")[0] == "00" ? n += "am" : n += e.format("a")), n;
|
|
3901
3901
|
}
|
|
3902
3902
|
function el(t) {
|
|
3903
3903
|
const [e, n] = t.split(":").map((s) => parseInt(s, 10));
|
|
3904
3904
|
let r = e;
|
|
3905
3905
|
const i = r >= 12 ? "pm" : "am";
|
|
3906
3906
|
r = r % 12, r = r || 12;
|
|
3907
|
-
const
|
|
3908
|
-
return `${
|
|
3907
|
+
const o = r.toString().padStart(2, "0"), a = n.toString().padStart(2, "0");
|
|
3908
|
+
return `${o}:${a}${i}`;
|
|
3909
3909
|
}
|
|
3910
3910
|
function tl(t) {
|
|
3911
|
-
const [e, n] = t.split(/(am|pm)/i), [r, i] = e.split(":").map((
|
|
3912
|
-
let
|
|
3913
|
-
return n.toLowerCase() === "pm" &&
|
|
3911
|
+
const [e, n] = t.split(/(am|pm)/i), [r, i] = e.split(":").map((a) => parseInt(a, 10));
|
|
3912
|
+
let o = r;
|
|
3913
|
+
return n.toLowerCase() === "pm" && o < 12 ? o += 12 : n.toLowerCase() === "am" && o === 12 && (o = 0), `${o.toString().padStart(2, "0")}:${i.toString().padStart(2, "0")}`;
|
|
3914
3914
|
}
|
|
3915
3915
|
function nl(t) {
|
|
3916
3916
|
const [e, n] = t.match(/(\d+):(\d+)(am|pm)/).slice(1);
|
|
@@ -3922,13 +3922,13 @@ function rl(t) {
|
|
|
3922
3922
|
return `${e}:${n < 10 ? "0" : ""}${n}`;
|
|
3923
3923
|
}
|
|
3924
3924
|
function il() {
|
|
3925
|
-
const t = navigator.userAgent, e = /Chrome/.test(t) && /Google Inc/.test(navigator.vendor), n = /Safari/.test(t) && /Apple Computer/.test(navigator.vendor), r = /Firefox/.test(t), i = /Trident/.test(t),
|
|
3926
|
-
return e && /Edg/.test(t) ? "Edge (Chromium)" : e ? "Chrome" : n ? "Safari" : r ? "Firefox" : i ? "Internet Explorer" :
|
|
3925
|
+
const t = navigator.userAgent, e = /Chrome/.test(t) && /Google Inc/.test(navigator.vendor), n = /Safari/.test(t) && /Apple Computer/.test(navigator.vendor), r = /Firefox/.test(t), i = /Trident/.test(t), o = /Edge/.test(t);
|
|
3926
|
+
return e && /Edg/.test(t) ? "Edge (Chromium)" : e ? "Chrome" : n ? "Safari" : r ? "Firefox" : i ? "Internet Explorer" : o ? "Edge (Legacy)" : "Unknown";
|
|
3927
3927
|
}
|
|
3928
3928
|
function dr(t, e = null) {
|
|
3929
3929
|
return e ? [null, e] : [t, null];
|
|
3930
3930
|
}
|
|
3931
|
-
function
|
|
3931
|
+
function al(t, e) {
|
|
3932
3932
|
const n = {
|
|
3933
3933
|
"config.id": e == null ? void 0 : e.id,
|
|
3934
3934
|
id: e == null ? void 0 : e.id
|
|
@@ -3937,7 +3937,7 @@ function ol(t, e) {
|
|
|
3937
3937
|
t = t.replace(`{${r}}`, n[r]);
|
|
3938
3938
|
}), t;
|
|
3939
3939
|
}
|
|
3940
|
-
function
|
|
3940
|
+
function ol(t) {
|
|
3941
3941
|
if (t.keyCode < 48 || t.keyCode > 90 && t.keyCode < 96 || t.keyCode > 111 && t.keyCode < 186 || t.keyCode > 222 || t.keyCode === 32 || t.keyCode === 91 || t.keyCode === 92 || t.keyCode === 93 || t.keyCode >= 112 && t.keyCode <= 123 || t.keyCode >= 37 && t.keyCode <= 40 || t.ctrlKey || t.altKey || t.metaKey)
|
|
3942
3942
|
return !0;
|
|
3943
3943
|
const e = [
|
|
@@ -3997,8 +3997,8 @@ function ll(t) {
|
|
|
3997
3997
|
}
|
|
3998
3998
|
function cl(t, e) {
|
|
3999
3999
|
t.forEach((n) => {
|
|
4000
|
-
var
|
|
4001
|
-
const r = (
|
|
4000
|
+
var o;
|
|
4001
|
+
const r = (o = e.shadowRoot) == null ? void 0 : o.querySelector(`slot[name="${n}"]`), i = r == null ? void 0 : r.assignedNodes();
|
|
4002
4002
|
i && i.length === 0 && console.warn(`${e.nodeName} No content provided for slot="${n}".`);
|
|
4003
4003
|
});
|
|
4004
4004
|
}
|
|
@@ -4008,8 +4008,8 @@ function ul(t) {
|
|
|
4008
4008
|
const l = s.toString("hex");
|
|
4009
4009
|
return `${l.slice(0, 8)}-${l.slice(8, 12)}-${l.slice(12, 16)}-${l.slice(16, 20)}-${l.slice(20)}`;
|
|
4010
4010
|
}
|
|
4011
|
-
const
|
|
4012
|
-
return [
|
|
4011
|
+
const o = i(n), a = i(r);
|
|
4012
|
+
return [o, a];
|
|
4013
4013
|
}
|
|
4014
4014
|
class fl {
|
|
4015
4015
|
constructor(e) {
|
|
@@ -4020,21 +4020,21 @@ class fl {
|
|
|
4020
4020
|
}
|
|
4021
4021
|
async request({ method: e, path: n, body: r, headers: i }) {
|
|
4022
4022
|
try {
|
|
4023
|
-
const
|
|
4023
|
+
const o = await this.session.fetch(`grants/me/${n}`, {
|
|
4024
4024
|
method: e,
|
|
4025
4025
|
headers: i ? new Headers(i) : void 0,
|
|
4026
4026
|
body: r,
|
|
4027
4027
|
...this.session.isMultiAccount() && this.activeGrantId ? { grant_id: this.activeGrantId } : {}
|
|
4028
4028
|
});
|
|
4029
|
-
if (typeof
|
|
4029
|
+
if (typeof o > "u")
|
|
4030
4030
|
throw new Error("Response is undefined");
|
|
4031
|
-
return dr(
|
|
4032
|
-
} catch (
|
|
4033
|
-
let
|
|
4034
|
-
return String(
|
|
4031
|
+
return dr(o);
|
|
4032
|
+
} catch (o) {
|
|
4033
|
+
let a = String(o);
|
|
4034
|
+
return String(o).includes("Access token not found") && (a = "Session expired, please log in again. Redirecting...", setTimeout(() => {
|
|
4035
4035
|
localStorage.removeItem("grant"), localStorage.removeItem("user"), window.location.reload();
|
|
4036
4036
|
}, 1e3)), dr(null, {
|
|
4037
|
-
message:
|
|
4037
|
+
message: a
|
|
4038
4038
|
});
|
|
4039
4039
|
}
|
|
4040
4040
|
}
|
|
@@ -4048,14 +4048,14 @@ class fl {
|
|
|
4048
4048
|
}
|
|
4049
4049
|
async authenticationUrl(e) {
|
|
4050
4050
|
const n = (e == null ? void 0 : e.provider) || "google";
|
|
4051
|
-
let i = this.defaultAuthArgs.find((
|
|
4051
|
+
let i = this.defaultAuthArgs.find((o) => o.provider === n) || {};
|
|
4052
4052
|
return e && (i = { ...i, ...e }), this.session.auth(i);
|
|
4053
4053
|
}
|
|
4054
4054
|
setDefaultAuthArgs(e) {
|
|
4055
4055
|
this.defaultAuthArgs = e;
|
|
4056
4056
|
}
|
|
4057
4057
|
}
|
|
4058
|
-
|
|
4058
|
+
Aa({});
|
|
4059
4059
|
function dl() {
|
|
4060
4060
|
var t = [];
|
|
4061
4061
|
if (typeof window < "u") {
|
|
@@ -4080,11 +4080,11 @@ function dl() {
|
|
|
4080
4080
|
return Promise.all(t);
|
|
4081
4081
|
}
|
|
4082
4082
|
async function fs() {
|
|
4083
|
-
await import("./elements-dc5b338e-
|
|
4083
|
+
await import("./elements-dc5b338e-b0a290ae.js");
|
|
4084
4084
|
}
|
|
4085
4085
|
const ds = fs, hs = (t, e) => {
|
|
4086
4086
|
if (!(typeof window > "u"))
|
|
4087
|
-
return ds(), yo(JSON.parse('[["nylas-scheduler-editor",[[1,"nylas-scheduler-editor",{"configurationId":[1025,"configuration-id"],"nylasApiRequest":[1040],"nylasSessionsConfig":[16],"defaultAuthArgs":[16],"eventOverrides":[16],"schedulerPreviewLink":[1,"scheduler-preview-link"],"defaultSchedulerConfigState":[16],"mode":[1],"additionalParticipants":[16],"automaticComponentRegistration":[32],"store":[64],"schedulerConnector":[64]},[[0,"registerComponent","registerComponentHandler"],[0,"unregisterComponent","unregisterComponentHandler"]],{"configurationId":["configurationIdChanged"]}]]],["nylas-scheduling",[[1,"nylas-scheduling",{"mode":[1],"defaultSchedulerState":[16],"sessionId":[1,"session-id"],"schedulerApiUrl":[1,"scheduler-api-url"],"bookingInfo":[16],"rescheduleBookingRef":[1,"reschedule-booking-ref"],"cancelBookingRef":[1,"cancel-booking-ref"],"configurationId":[1,"configuration-id"],"nylasBranding":[4,"nylas-branding"],"eventOverrides":[16],"isLoading":[4,"is-loading"],"themeConfig":[16],"showNotification":[4,"show-notification"],"automaticComponentRegistration":[32],"selectedDateLabel":[32],"refConfigId":[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,"cancelBookedEventValidationError","cancelBookedEventValidationErrorHandler"],[0,"rescheduleBookedEventError","rescheduleBookedEventErrorHandler"]],{"bookingInfo":["bookingInfoChanged"],"rescheduleBookingRef":["rescheduleBookingRefChanged"],"cancelBookingRef":["cancelBookingRefChanged"]}]]],["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-custom-booking-flow",[[65,"nylas-custom-booking-flow",{"selectedConfiguration":[16],"name":[1],"bookingType":[1,"booking-type"],"selectedBookingType":[32]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"]}]]],["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]}]]],["document-refresh-icon",[[2,"document-refresh-icon",{"width":[1],"height":[1]}]]],["nylas-if-state",[[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"]}]]],["nylas-list-threads",[[1,"nylas-list-threads",{"threads":[16],"isAuthenticated":[4,"is-authenticated"],"tokenInfo":[16],"state":[1],"showCheckbox":[4,"show-checkbox"]}]]],["nylas-login",[[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]}]]],["nylas-mailbox",[[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"]]]]],["nylas-mailbox-toolbar-button",[[1,"nylas-mailbox-toolbar-button",{"method":[1],"dataState":[1,"data-state"],"iconOnly":[4,"icon-only"],"mailboxConnector":[16]}]]],["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"]}]]],["textarea-component",[[1,"textarea-component",{"name":[1],"defaultValue":[1,"default-value"],"label":[1],"placeholder":[1],"required":[4],"readOnly":[4,"read-only"],"autoFocus":[4,"auto-focus"],"maxLength":[2,"max-length"],"value":[32],"error":[32]},[[4,"bookingFormSubmitted","handleBookingFormSubmitted"]]]]],["toggle-switch",[[1,"toggle-switch",{"name":[1],"checked":[4],"label":[1],"isChecked":[32]}]]],["arrow-icon",[[2,"arrow-icon",{"width":[1],"height":[1]}]]],["input-component",[[1,"input-component",{"name":[1],"defaultValue":[1,"default-value"],"label":[1],"type":[1],"placeholder":[1],"required":[4],"readOnly":[4,"read-only"],"autoFocus":[4,"auto-focus"],"pattern":[16],"maxLength":[2,"max-length"],"patternError":[1,"pattern-error"],"value":[32],"error":[32]},[[4,"bookingFormSubmitted","handleBookingFormSubmitted"]]]]],["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]}]]],["button-component",[[6,"button-component",{"variant":[1],"disabled":[4],"type":[1],"clickHandler":[16],"mouseOverHandler":[16],"mouseOutHandler":[16],"focusHandler":[16],"blurHandler":[16]}]]],["nylas-form-card",[[65,"nylas-form-card"]]],["loading-icon",[[1,"loading-icon",{"width":[1],"height":[1]}]]],["globe-icon",[[2,"globe-icon",{"width":[1],"height":[1]}]]],["input-dropdown_2",[[2,"time-period-selector",{"timePeriods":[16],"defaultSelectedPeriod":[1,"default-selected-period"],"defaultSelectedNumber":[2,"default-selected-number"],"selectedPeriod":[32],"selectedNumber":[32],"numberOptions":[32],"timePeriodOptions":[32]},[[0,"inputOptionChanged","inputOptionChangedHandler"],[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"]],{"defaultSelectedPeriod":["defaultSelectedPeriodChangedHandler"],"defaultSelectedNumber":["defaultSelectedNumberChangedHandler"],"timePeriods":["timePeriodsChangedHandler"]}],[1,"input-dropdown",{"name":[1],"options":[16],"defaultInputOption":[16],"inputValue":[1,"input-value"],"pluralizedLabel":[1,"pluralized-label"],"selectedOption":[32],"isOpen":[32],"filteredOptions":[32],"ariaActivedescendant":[32],"shouldAutoScroll":[32]},[[6,"click","handleOutsideClick"]],{"options":["optionsChangedHandler"],"defaultInputOption":["defaultSelectedOptionChangedHandler"],"inputValue":["inputValueChangedHandler"]}]]],["add-circle-icon_2",[[2,"add-circle-icon",{"width":[1],"height":[1]}],[2,"close-icon",{"width":[1],"height":[1]}]]],["info-icon_2",[[2,"info-icon",{"width":[1],"height":[1]}],[1,"tooltip-component",{"position":[1]}]]],["calendar-info-icon_27",[[65,"nylas-availability-picker",{"selectedConfiguration":[16],"openHours":[16],"name":[1],"defaultTimezone":[1,"default-timezone"],"schedule":[32],"timezone":[32],"overlapDays":[32]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"],[0,"timeChange","setTime"],[0,"formError","setFormError"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["configChangedHandler"],"schedule":["scheduleChanged"]}],[65,"nylas-event-location",{"name":[1],"selectedConfiguration":[16],"eventLocation":[1,"event-location"],"location":[32],"selectedLocationOption":[32]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"],"eventLocation":["eventLocationChangedHandler"]}],[65,"nylas-limit-future-bookings",{"selectedConfiguration":[16],"availableDaysInFuture":[2,"available-days-in-future"],"name":[1],"selectedNumber":[32],"selectedPeriod":[32]},[[0,"timePeriodChanged","timePeriodChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"],"availableDaysInFuture":["availableDaysInFutureChanged"]}],[65,"nylas-min-booking-notice",{"selectedConfiguration":[16],"minBookingNotice":[2,"min-booking-notice"],"name":[1],"selectedNumber":[32],"selectedPeriod":[32]},[[0,"timePeriodChanged","timePeriodChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"],"availableDaysInFuture":["availableDaysInFutureChanged"]}],[65,"nylas-min-cancellation-notice",{"selectedConfiguration":[16],"minCancellationNotice":[2,"min-cancellation-notice"],"name":[1],"selectedNumber":[32],"selectedPeriod":[32]},[[0,"timePeriodChanged","timePeriodChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"],"availableDaysInFuture":["availableDaysInFutureChanged"]}],[65,"nylas-event-duration",{"selectedConfiguration":[16],"name":[1],"eventDurationMinutes":[2,"event-duration-minutes"],"duration":[32],"durationMinutes":[32],"durationIncrement":[32],"durationMinutesOptions":[32]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"],[0,"inputOptionChanged","inputOptionChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"],"durationMinutes":["durationMinutesChangedHandler"]}],[65,"nylas-timeslot-interval",{"selectedConfiguration":[16],"name":[1],"eventDurationMinutes":[2,"event-duration-minutes"],"defaultIntervalMinutes":[2,"default-interval-minutes"],"defaultRoundTo":[2,"default-round-to"],"selectedInterval":[32],"selectedRoundTo":[32]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"],[0,"radioSelectionChanged","radioSelectionChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"]}],[65,"nylas-booking-calendar-picker",{"calendars":[16],"currentUser":[16],"name":[1],"defaultBookingCalendar":[1,"default-booking-calendar"],"selectedCalendar":[32]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"]],{"name":["elementNameChangedHandler"]}],[65,"nylas-calendar-picker",{"calendars":[16],"currentUser":[16],"name":[1],"defaultSelectedCalendars":[16],"selectedCalendars":[32]},[[0,"selectedOptionsChanged","selectedOptionsChangedHandler"]],{"name":["elementNameChangedHandler"]}],[65,"nylas-additional-participants",{"name":[1],"eventParticipants":[16],"participantOptions":[16],"participants":[32],"participantsValid":[32]},[[0,"inputOptionChanged","onInputOptionChanged"]],{"name":["elementNameChangedHandler"]}],[65,"nylas-buffer-time",{"name":[1],"buffer":[16],"selectedBeforeBufferTime":[32],"selectedAfterBufferTime":[32]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"]],{"name":["elementNameChangedHandler"]}],[65,"nylas-customize-booking-settings",{"selectedConfiguration":[16],"defaultAdditionalGuestsHidden":[4,"default-additional-guests-hidden"],"defaultHideCancellationOptions":[4,"default-hide-cancellation-options"],"defaultHideReschedulingOptions":[4,"default-hide-rescheduling-options"],"name":[1],"allowGuestsToInvite":[32],"hideCancellationOptions":[32],"hideReschedulingOptions":[32]},[[0,"nylasFormCheckboxToggled","checkboxToggledHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"]}],[65,"nylas-cancellation-policy",{"selectedConfiguration":[16],"cancellationPolicy":[1,"cancellation-policy"],"name":[1],"message":[32]},null,{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"]}],[65,"nylas-event-description",{"selectedConfiguration":[16],"eventDescription":[1,"event-description"],"name":[1],"description":[32]},null,{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"]}],[65,"nylas-event-title",{"selectedConfiguration":[16],"eventTitle":[1,"event-title"],"name":[1],"showTokens":[32],"availableTokens":[32],"filteredTokens":[32],"ariaActivedescendant":[32],"currentWord":[32],"validationError":[32]},[[8,"formSubmitted","formSubmittedHandler"]],{"name":["elementNameChangedHandler"],"ariaActivedescendant":["ariaActivedescendantChangedHandler"],"selectedConfiguration":["configChangedHandler"]}],[65,"nylas-event-info"],[65,"nylas-event-limits"],[2,"calendar-info-icon",{"width":[1],"height":[1]}],[2,"calendar-patterns-icon",{"width":[1],"height":[1]}],[2,"flow-icon",{"width":[1],"height":[1]}],[2,"people-icon",{"width":[1],"height":[1]}],[1,"multi-select-dropdown",{"name":[1],"label":[1],"options":[16],"availableOptions":[32],"isOpen":[32],"ariaActivedescendant":[32],"shouldFocusFirstOption":[32]},[[6,"click","handleOutsideClick"]]],[1,"checkbox-component",{"name":[1],"checked":[4],"label":[1],"isChecked":[32]}],[2,"location-icon",{"width":[1],"height":[1]}],[2,"location-off-icon",{"width":[1],"height":[1]}],[1,"nylas-time-window-picker",{"time":[1],"minimumStartTime":[1,"minimum-start-time"],"placeholder":[1],"name":[1],"hasError":[4,"has-error"],"err":[32],"showTimes":[32],"ariaActivedescendant":[32],"times":[32],"shouldAutoScroll":[32]},[[6,"click","handleOutsideClick"]],{"minimumStartTime":["minimumStartTimeChangedHandler"]}],[1,"radio-button-group",{"name":[1],"options":[16],"defaultSelectedValue":[1,"default-selected-value"],"selectedValue":[32]}]]],["google-logo-icon_4",[[6,"nylas-editor-tabs",{"calendars":[16],"selectedConfiguration":[16],"currentUser":[16],"schedulerPreviewLink":[1,"scheduler-preview-link"],"mode":[1],"action":[32],"activeTab":[32],"isLoading":[32],"hasUnsavedChanges":[32],"changesSaved":[32],"formState":[32],"error":[32]},[[0,"valueChanged","handleValueChanged"]],{"selectedConfiguration":["configChangedHandler"]}],[1,"nylas-list-configurations",{"configurations":[16],"schedulerPreviewLink":[1,"scheduler-preview-link"],"state":[32],"error":[32],"copiedButtonIndex":[32],"getState":[64],"setState":[64],"setError":[64]}],[2,"google-logo-icon",{"width":[1],"height":[1]}],[2,"microsoft-logo-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]}]]],["clock-icon_2",[[2,"clock-icon",{"width":[1],"height":[1]}],[2,"person-icon",{"width":[1],"height":[1]}]]],["play-icon_2",[[2,"play-icon",{"width":[1],"height":[1]}],[2,"stop-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_3",[[1,"select-dropdown",{"name":[1],"options":[16],"defaultSelectedOption":[16],"withSearch":[4,"with-search"],"label":[1],"required":[4],"pluralizedLabel":[1,"pluralized-label"],"selectedOption":[32],"isOpen":[32],"searchValue":[32],"filteredOptions":[32],"ariaActivedescendant":[32],"errorMessage":[32]},[[4,"bookingFormSubmitted","handleBookingFormSubmitted"],[6,"click","handleOutsideClick"]],{"options":["optionsChangedHandler"],"defaultSelectedOption":["defaultSelectedOptionChangedHandler"]}],[2,"search-icon",{"width":[1],"height":[1]}],[2,"chevron-icon",{"width":[1],"height":[1]}]]],["nylas-booked-event-card_10",[[1,"nylas-booking-form",{"isLoading":[4,"is-loading"],"bookingInfo":[8,"booking-info"],"eventInfo":[16],"configSettings":[8,"config-settings"],"name":[32],"email":[32],"guestEmails":[32],"guestEmailErrors":[32],"isNameValid":[32],"isEmailValid":[32],"additionalFields":[32],"validationError":[32]},[[0,"nylasFormInputChanged","nylasFormInputChangedHandler"],[0,"nylasFormDropdownChanged","selectOptionChangedHandler"],[0,"nylasFormSwitchToggled","switchToggledHandler"],[0,"nylasFormCheckboxToggled","checkboxToggledHandler"]],{"bookingInfo":["bookingInfoChangedHandler"]}],[1,"nylas-locale-switch",{"selectedTimezone":[1025,"selected-timezone"],"selectedLanguage":[1025,"selected-language"]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"]]],[1,"nylas-booked-event-card",{"eventInfo":[16],"rescheduleBookingId":[1,"reschedule-booking-id"],"bookingInfo":[8,"booking-info"],"selectedTimezone":[1,"selected-timezone"],"selectedTimeslot":[16],"configSettings":[8,"config-settings"]}],[1,"nylas-date-picker",{"selectableDates":[16],"selectedDate":[16],"configSettings":[16],"isLoading":[4,"is-loading"],"eventDuration":[2,"event-duration"],"month":[32],"dates":[32],"disableNextMonthButton":[32]},null,{"configSettings":["configSettingsChanged"]}],[1,"nylas-notification",{"ttl":[8],"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-cancel-booking-form",{"cancelBookingId":[1,"cancel-booking-id"],"configSettings":[16],"cancellationReason":[32],"cancellationError":[32],"cancellationPolicy":[32]},null,{"configSettings":["configSettingsChangedHandler"]}],[1,"nylas-cancelled-event-card",{"cancelledEventInfo":[16],"configSettings":[16],"isClosing":[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"]}]]]]'), e);
|
|
4087
|
+
return ds(), pa(JSON.parse('[["nylas-scheduler-editor",[[1,"nylas-scheduler-editor",{"configurationId":[1025,"configuration-id"],"nylasApiRequest":[1040],"nylasSessionsConfig":[16],"defaultAuthArgs":[16],"eventOverrides":[16],"schedulerPreviewLink":[1,"scheduler-preview-link"],"defaultSchedulerConfigState":[16],"mode":[1],"additionalParticipants":[16],"automaticComponentRegistration":[32],"store":[64],"schedulerConnector":[64]},[[0,"registerComponent","registerComponentHandler"],[0,"unregisterComponent","unregisterComponentHandler"]],{"configurationId":["configurationIdChanged"]}]]],["nylas-scheduling",[[1,"nylas-scheduling",{"mode":[1],"defaultSchedulerState":[16],"sessionId":[1,"session-id"],"schedulerApiUrl":[1,"scheduler-api-url"],"bookingInfo":[16],"rescheduleBookingRef":[1,"reschedule-booking-ref"],"cancelBookingRef":[1,"cancel-booking-ref"],"configurationId":[1,"configuration-id"],"nylasBranding":[4,"nylas-branding"],"eventOverrides":[16],"isLoading":[4,"is-loading"],"themeConfig":[16],"showNotification":[4,"show-notification"],"automaticComponentRegistration":[32],"selectedDateLabel":[32],"refConfigId":[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,"cancelBookedEventValidationError","cancelBookedEventValidationErrorHandler"],[0,"rescheduleBookedEventError","rescheduleBookedEventErrorHandler"]],{"bookingInfo":["bookingInfoChanged"],"rescheduleBookingRef":["rescheduleBookingRefChanged"],"cancelBookingRef":["cancelBookingRefChanged"]}]]],["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-custom-booking-flow",[[65,"nylas-custom-booking-flow",{"selectedConfiguration":[16],"name":[1],"bookingType":[1,"booking-type"],"selectedBookingType":[32]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"]}]]],["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]}]]],["document-refresh-icon",[[2,"document-refresh-icon",{"width":[1],"height":[1]}]]],["nylas-if-state",[[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"]}]]],["nylas-list-threads",[[1,"nylas-list-threads",{"threads":[16],"isAuthenticated":[4,"is-authenticated"],"tokenInfo":[16],"state":[1],"showCheckbox":[4,"show-checkbox"]}]]],["nylas-login",[[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]}]]],["nylas-mailbox",[[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"]]]]],["nylas-mailbox-toolbar-button",[[1,"nylas-mailbox-toolbar-button",{"method":[1],"dataState":[1,"data-state"],"iconOnly":[4,"icon-only"],"mailboxConnector":[16]}]]],["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"]}]]],["textarea-component",[[1,"textarea-component",{"name":[1],"defaultValue":[1,"default-value"],"label":[1],"placeholder":[1],"required":[4],"readOnly":[4,"read-only"],"autoFocus":[4,"auto-focus"],"maxLength":[2,"max-length"],"value":[32],"error":[32]},[[4,"bookingFormSubmitted","handleBookingFormSubmitted"]]]]],["arrow-icon",[[2,"arrow-icon",{"width":[1],"height":[1]}]]],["input-component",[[1,"input-component",{"name":[1],"defaultValue":[1,"default-value"],"label":[1],"type":[1],"placeholder":[1],"required":[4],"readOnly":[4,"read-only"],"autoFocus":[4,"auto-focus"],"pattern":[16],"maxLength":[2,"max-length"],"patternError":[1,"pattern-error"],"value":[32],"error":[32]},[[4,"bookingFormSubmitted","handleBookingFormSubmitted"]]]]],["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]}]]],["nylas-time-window-picker",[[1,"nylas-time-window-picker",{"time":[1],"minimumStartTime":[1,"minimum-start-time"],"placeholder":[1],"name":[1],"hasError":[4,"has-error"],"err":[32],"showTimes":[32],"ariaActivedescendant":[32],"times":[32],"shouldAutoScroll":[32]},[[6,"click","handleOutsideClick"]],{"minimumStartTime":["minimumStartTimeChangedHandler"]}]]],["button-component",[[6,"button-component",{"variant":[1],"disabled":[4],"type":[1],"clickHandler":[16],"mouseOverHandler":[16],"mouseOutHandler":[16],"focusHandler":[16],"blurHandler":[16]}]]],["nylas-form-card",[[65,"nylas-form-card"]]],["loading-icon",[[1,"loading-icon",{"width":[1],"height":[1]}]]],["globe-icon",[[2,"globe-icon",{"width":[1],"height":[1]}]]],["input-dropdown_2",[[2,"time-period-selector",{"timePeriods":[16],"defaultSelectedPeriod":[1,"default-selected-period"],"defaultSelectedNumber":[2,"default-selected-number"],"selectedPeriod":[32],"selectedNumber":[32],"numberOptions":[32],"timePeriodOptions":[32]},[[0,"inputOptionChanged","inputOptionChangedHandler"],[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"]],{"defaultSelectedPeriod":["defaultSelectedPeriodChangedHandler"],"defaultSelectedNumber":["defaultSelectedNumberChangedHandler"],"timePeriods":["timePeriodsChangedHandler"]}],[1,"input-dropdown",{"name":[1],"options":[16],"defaultInputOption":[16],"inputValue":[1,"input-value"],"pluralizedLabel":[1,"pluralized-label"],"filterable":[4],"selectedOption":[32],"isOpen":[32],"filteredOptions":[32],"ariaActivedescendant":[32],"shouldAutoScroll":[32]},[[6,"click","handleOutsideClick"]],{"options":["optionsChangedHandler"],"defaultInputOption":["defaultSelectedOptionChangedHandler"],"inputValue":["inputValueChangedHandler"]}]]],["add-circle-icon_2",[[2,"add-circle-icon",{"width":[1],"height":[1]}],[2,"close-icon",{"width":[1],"height":[1]}]]],["info-icon_2",[[2,"info-icon",{"width":[1],"height":[1]}],[1,"tooltip-component",{"position":[1]}]]],["calendar-info-icon_28",[[65,"nylas-participants-custom-availability",{"name":[1],"participants":[16],"selectedParticipants":[32]},[[0,"nylasFormSwitchToggled","nylasFormSwitchToggledHandler"],[0,"valueChanged","handleValueChanged"]],{"name":["elementNameChangedHandler"],"participants":["participantsChangedHandler"]}],[65,"nylas-event-location",{"name":[1],"selectedConfiguration":[16],"eventLocation":[1,"event-location"],"location":[32],"selectedLocationOption":[32]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"],"eventLocation":["eventLocationChangedHandler"]}],[65,"nylas-limit-future-bookings",{"selectedConfiguration":[16],"availableDaysInFuture":[2,"available-days-in-future"],"name":[1],"selectedNumber":[32],"selectedPeriod":[32]},[[0,"timePeriodChanged","timePeriodChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"],"availableDaysInFuture":["availableDaysInFutureChanged"]}],[65,"nylas-min-booking-notice",{"selectedConfiguration":[16],"minBookingNotice":[2,"min-booking-notice"],"name":[1],"selectedNumber":[32],"selectedPeriod":[32]},[[0,"timePeriodChanged","timePeriodChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"],"availableDaysInFuture":["availableDaysInFutureChanged"]}],[65,"nylas-min-cancellation-notice",{"selectedConfiguration":[16],"minCancellationNotice":[2,"min-cancellation-notice"],"name":[1],"selectedNumber":[32],"selectedPeriod":[32]},[[0,"timePeriodChanged","timePeriodChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"],"availableDaysInFuture":["availableDaysInFutureChanged"]}],[65,"nylas-event-duration",{"selectedConfiguration":[16],"name":[1],"eventDurationMinutes":[2,"event-duration-minutes"],"duration":[32],"durationMinutes":[32],"durationIncrement":[32],"durationMinutesOptions":[32]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"],[0,"inputOptionChanged","inputOptionChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"],"durationMinutes":["durationMinutesChangedHandler"]}],[65,"nylas-timeslot-interval",{"selectedConfiguration":[16],"name":[1],"eventDurationMinutes":[2,"event-duration-minutes"],"defaultIntervalMinutes":[2,"default-interval-minutes"],"defaultRoundTo":[2,"default-round-to"],"selectedInterval":[32],"selectedRoundTo":[32]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"],[0,"radioSelectionChanged","radioSelectionChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"]}],[65,"nylas-booking-calendar-picker",{"calendars":[16],"currentUser":[16],"name":[1],"defaultBookingCalendar":[1,"default-booking-calendar"],"selectedCalendar":[32]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"]],{"name":["elementNameChangedHandler"]}],[65,"nylas-calendar-picker",{"calendars":[16],"currentUser":[16],"name":[1],"defaultSelectedCalendars":[16],"selectedCalendars":[32]},[[0,"selectedOptionsChanged","selectedOptionsChangedHandler"]],{"name":["elementNameChangedHandler"]}],[65,"nylas-additional-participants",{"name":[1],"eventParticipants":[16],"participantOptions":[16],"participants":[32],"participantsValid":[32]},[[0,"inputOptionChanged","onInputOptionChanged"]],{"name":["elementNameChangedHandler"]}],[65,"nylas-buffer-time",{"name":[1],"buffer":[16],"selectedBeforeBufferTime":[32],"selectedAfterBufferTime":[32]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"]],{"name":["elementNameChangedHandler"]}],[65,"nylas-customize-booking-settings",{"selectedConfiguration":[16],"defaultAdditionalGuestsHidden":[4,"default-additional-guests-hidden"],"defaultHideCancellationOptions":[4,"default-hide-cancellation-options"],"defaultHideReschedulingOptions":[4,"default-hide-rescheduling-options"],"name":[1],"allowGuestsToInvite":[32],"hideCancellationOptions":[32],"hideReschedulingOptions":[32]},[[0,"nylasFormCheckboxToggled","checkboxToggledHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"]}],[65,"nylas-cancellation-policy",{"selectedConfiguration":[16],"cancellationPolicy":[1,"cancellation-policy"],"name":[1],"message":[32]},null,{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"]}],[65,"nylas-event-description",{"selectedConfiguration":[16],"eventDescription":[1,"event-description"],"name":[1],"description":[32]},null,{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"]}],[65,"nylas-event-title",{"selectedConfiguration":[16],"eventTitle":[1,"event-title"],"name":[1],"showTokens":[32],"availableTokens":[32],"filteredTokens":[32],"ariaActivedescendant":[32],"currentWord":[32],"validationError":[32]},[[8,"formSubmitted","formSubmittedHandler"]],{"name":["elementNameChangedHandler"],"ariaActivedescendant":["ariaActivedescendantChangedHandler"],"selectedConfiguration":["configChangedHandler"]}],[65,"nylas-event-info"],[65,"nylas-event-limits"],[2,"calendar-info-icon",{"width":[1],"height":[1]}],[2,"calendar-patterns-icon",{"width":[1],"height":[1]}],[2,"flow-icon",{"width":[1],"height":[1]}],[2,"people-icon",{"width":[1],"height":[1]}],[65,"nylas-availability-picker",{"selectedConfiguration":[16],"openHours":[16],"name":[1],"defaultTimezone":[1,"default-timezone"],"hideHeader":[4,"hide-header"],"schedule":[32],"timezone":[32],"overlapDays":[32]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"],[0,"timeChange","setTime"],[0,"formError","setFormError"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["configChangedHandler"],"schedule":["scheduleChanged"]}],[1,"multi-select-dropdown",{"name":[1],"label":[1],"options":[16],"availableOptions":[32],"isOpen":[32],"ariaActivedescendant":[32],"shouldFocusFirstOption":[32]},[[6,"click","handleOutsideClick"]]],[1,"checkbox-component",{"name":[1],"checked":[4],"label":[1],"isChecked":[32]}],[2,"location-icon",{"width":[1],"height":[1]}],[2,"location-off-icon",{"width":[1],"height":[1]}],[1,"radio-button-group",{"name":[1],"options":[16],"defaultSelectedValue":[1,"default-selected-value"],"selectedValue":[32]}],[1,"toggle-switch",{"name":[1],"checked":[4],"label":[1],"isChecked":[32]}]]],["google-logo-icon_4",[[6,"nylas-editor-tabs",{"calendars":[16],"selectedConfiguration":[16],"currentUser":[16],"schedulerPreviewLink":[1,"scheduler-preview-link"],"mode":[1],"action":[32],"activeTab":[32],"isLoading":[32],"hasUnsavedChanges":[32],"changesSaved":[32],"formState":[32],"error":[32]},[[0,"valueChanged","handleValueChanged"]],{"selectedConfiguration":["configChangedHandler"]}],[1,"nylas-list-configurations",{"configurations":[16],"schedulerPreviewLink":[1,"scheduler-preview-link"],"state":[32],"error":[32],"copiedButtonIndex":[32],"getState":[64],"setState":[64],"setError":[64]}],[2,"google-logo-icon",{"width":[1],"height":[1]}],[2,"microsoft-logo-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]}]]],["clock-icon_2",[[2,"clock-icon",{"width":[1],"height":[1]}],[2,"person-icon",{"width":[1],"height":[1]}]]],["play-icon_2",[[2,"play-icon",{"width":[1],"height":[1]}],[2,"stop-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_3",[[1,"select-dropdown",{"name":[1],"options":[16],"defaultSelectedOption":[16],"withSearch":[4,"with-search"],"label":[1],"required":[4],"pluralizedLabel":[1,"pluralized-label"],"selectedOption":[32],"isOpen":[32],"searchValue":[32],"filteredOptions":[32],"ariaActivedescendant":[32],"errorMessage":[32]},[[4,"bookingFormSubmitted","handleBookingFormSubmitted"],[6,"click","handleOutsideClick"]],{"options":["optionsChangedHandler"],"defaultSelectedOption":["defaultSelectedOptionChangedHandler"]}],[2,"search-icon",{"width":[1],"height":[1]}],[2,"chevron-icon",{"width":[1],"height":[1]}]]],["nylas-booked-event-card_10",[[1,"nylas-booking-form",{"isLoading":[4,"is-loading"],"bookingInfo":[8,"booking-info"],"eventInfo":[16],"configSettings":[8,"config-settings"],"name":[32],"email":[32],"guestEmails":[32],"guestEmailErrors":[32],"isNameValid":[32],"isEmailValid":[32],"additionalFields":[32],"validationError":[32]},[[0,"nylasFormInputChanged","nylasFormInputChangedHandler"],[0,"nylasFormDropdownChanged","selectOptionChangedHandler"],[0,"nylasFormSwitchToggled","switchToggledHandler"],[0,"nylasFormCheckboxToggled","checkboxToggledHandler"]],{"bookingInfo":["bookingInfoChangedHandler"]}],[1,"nylas-locale-switch",{"selectedTimezone":[1025,"selected-timezone"],"selectedLanguage":[1025,"selected-language"]},[[0,"nylasFormDropdownChanged","nylasFormDropdownChangedHandler"]]],[1,"nylas-booked-event-card",{"eventInfo":[16],"rescheduleBookingId":[1,"reschedule-booking-id"],"bookingInfo":[8,"booking-info"],"selectedTimezone":[1,"selected-timezone"],"selectedTimeslot":[16],"configSettings":[8,"config-settings"]}],[1,"nylas-date-picker",{"selectableDates":[16],"selectedDate":[16],"configSettings":[16],"isLoading":[4,"is-loading"],"eventDuration":[2,"event-duration"],"month":[32],"dates":[32],"disableNextMonthButton":[32]},null,{"configSettings":["configSettingsChanged"]}],[1,"nylas-notification",{"ttl":[8],"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-cancel-booking-form",{"cancelBookingId":[1,"cancel-booking-id"],"configSettings":[16],"cancellationReason":[32],"cancellationError":[32],"cancellationPolicy":[32]},null,{"configSettings":["configSettingsChangedHandler"]}],[1,"nylas-cancelled-event-card",{"cancelledEventInfo":[16],"configSettings":[16],"isClosing":[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"]}]]]]'), e);
|
|
4088
4088
|
};
|
|
4089
4089
|
(function() {
|
|
4090
4090
|
if (typeof window < "u" && window.Reflect !== void 0 && window.customElements !== void 0) {
|
|
@@ -4109,18 +4109,18 @@ function ps() {
|
|
|
4109
4109
|
if (pr)
|
|
4110
4110
|
return nt;
|
|
4111
4111
|
pr = 1;
|
|
4112
|
-
var t = Et, e = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
|
|
4113
|
-
function
|
|
4112
|
+
var t = Et, e = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
4113
|
+
function a(s, l, u) {
|
|
4114
4114
|
var f, d = {}, h = null, p = null;
|
|
4115
4115
|
u !== void 0 && (h = "" + u), l.key !== void 0 && (h = "" + l.key), l.ref !== void 0 && (p = l.ref);
|
|
4116
4116
|
for (f in l)
|
|
4117
|
-
r.call(l, f) && !
|
|
4117
|
+
r.call(l, f) && !o.hasOwnProperty(f) && (d[f] = l[f]);
|
|
4118
4118
|
if (s && s.defaultProps)
|
|
4119
4119
|
for (f in l = s.defaultProps, l)
|
|
4120
4120
|
d[f] === void 0 && (d[f] = l[f]);
|
|
4121
4121
|
return { $$typeof: e, type: s, key: h, ref: p, props: d, _owner: i.current };
|
|
4122
4122
|
}
|
|
4123
|
-
return nt.Fragment = n, nt.jsx =
|
|
4123
|
+
return nt.Fragment = n, nt.jsx = a, nt.jsxs = a, nt;
|
|
4124
4124
|
}
|
|
4125
4125
|
var rt = {};
|
|
4126
4126
|
/**
|
|
@@ -4135,7 +4135,7 @@ var rt = {};
|
|
|
4135
4135
|
var yr;
|
|
4136
4136
|
function ys() {
|
|
4137
4137
|
return yr || (yr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
4138
|
-
var t = Et, e = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"),
|
|
4138
|
+
var t = Et, e = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), s = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), y = Symbol.iterator, b = "@@iterator";
|
|
4139
4139
|
function w(c) {
|
|
4140
4140
|
if (c === null || typeof c != "object")
|
|
4141
4141
|
return null;
|
|
@@ -4154,8 +4154,8 @@ function ys() {
|
|
|
4154
4154
|
{
|
|
4155
4155
|
var D = T.ReactDebugCurrentFrame, Y = D.getStackAddendum();
|
|
4156
4156
|
Y !== "" && (v += "%s", k = k.concat([Y]));
|
|
4157
|
-
var B = k.map(function(
|
|
4158
|
-
return String(
|
|
4157
|
+
var B = k.map(function(F) {
|
|
4158
|
+
return String(F);
|
|
4159
4159
|
});
|
|
4160
4160
|
B.unshift("Warning: " + v), Function.prototype.apply.call(console[c], console, B);
|
|
4161
4161
|
}
|
|
@@ -4163,7 +4163,7 @@ function ys() {
|
|
|
4163
4163
|
var le = !1, ge = !1, ne = !1, Pe = !1, We = !1, K;
|
|
4164
4164
|
K = Symbol.for("react.module.reference");
|
|
4165
4165
|
function H(c) {
|
|
4166
|
-
return !!(typeof c == "string" || typeof c == "function" || c === r || c ===
|
|
4166
|
+
return !!(typeof c == "string" || typeof c == "function" || c === r || c === o || We || c === i || c === u || c === f || Pe || c === p || le || ge || ne || typeof c == "object" && c !== null && (c.$$typeof === h || c.$$typeof === d || c.$$typeof === a || c.$$typeof === s || c.$$typeof === l || // This needs to include all possible module reference object
|
|
4167
4167
|
// types supported by any Flight configuration anywhere since
|
|
4168
4168
|
// we don't know which Flight build this will end up being used
|
|
4169
4169
|
// with.
|
|
@@ -4191,7 +4191,7 @@ function ys() {
|
|
|
4191
4191
|
return "Fragment";
|
|
4192
4192
|
case n:
|
|
4193
4193
|
return "Portal";
|
|
4194
|
-
case
|
|
4194
|
+
case o:
|
|
4195
4195
|
return "Profiler";
|
|
4196
4196
|
case i:
|
|
4197
4197
|
return "StrictMode";
|
|
@@ -4205,7 +4205,7 @@ function ys() {
|
|
|
4205
4205
|
case s:
|
|
4206
4206
|
var v = c;
|
|
4207
4207
|
return Ve(v) + ".Consumer";
|
|
4208
|
-
case
|
|
4208
|
+
case a:
|
|
4209
4209
|
var k = c;
|
|
4210
4210
|
return Ve(k._context) + ".Provider";
|
|
4211
4211
|
case l:
|
|
@@ -4214,9 +4214,9 @@ function ys() {
|
|
|
4214
4214
|
var D = c.displayName || null;
|
|
4215
4215
|
return D !== null ? D : C(c.type) || "Memo";
|
|
4216
4216
|
case h: {
|
|
4217
|
-
var Y = c, B = Y._payload,
|
|
4217
|
+
var Y = c, B = Y._payload, F = Y._init;
|
|
4218
4218
|
try {
|
|
4219
|
-
return C(
|
|
4219
|
+
return C(F(B));
|
|
4220
4220
|
} catch {
|
|
4221
4221
|
return null;
|
|
4222
4222
|
}
|
|
@@ -4224,14 +4224,14 @@ function ys() {
|
|
|
4224
4224
|
}
|
|
4225
4225
|
return null;
|
|
4226
4226
|
}
|
|
4227
|
-
var x = Object.assign, E = 0,
|
|
4227
|
+
var x = Object.assign, E = 0, A, S, O, I, P, z, j;
|
|
4228
4228
|
function X() {
|
|
4229
4229
|
}
|
|
4230
4230
|
X.__reactDisabledLog = !0;
|
|
4231
4231
|
function $e() {
|
|
4232
4232
|
{
|
|
4233
4233
|
if (E === 0) {
|
|
4234
|
-
|
|
4234
|
+
A = console.log, S = console.info, O = console.warn, I = console.error, P = console.group, z = console.groupCollapsed, j = console.groupEnd;
|
|
4235
4235
|
var c = {
|
|
4236
4236
|
configurable: !0,
|
|
4237
4237
|
enumerable: !0,
|
|
@@ -4261,7 +4261,7 @@ function ys() {
|
|
|
4261
4261
|
};
|
|
4262
4262
|
Object.defineProperties(console, {
|
|
4263
4263
|
log: x({}, c, {
|
|
4264
|
-
value:
|
|
4264
|
+
value: A
|
|
4265
4265
|
}),
|
|
4266
4266
|
info: x({}, c, {
|
|
4267
4267
|
value: S
|
|
@@ -4270,7 +4270,7 @@ function ys() {
|
|
|
4270
4270
|
value: O
|
|
4271
4271
|
}),
|
|
4272
4272
|
error: x({}, c, {
|
|
4273
|
-
value:
|
|
4273
|
+
value: I
|
|
4274
4274
|
}),
|
|
4275
4275
|
group: x({}, c, {
|
|
4276
4276
|
value: P
|
|
@@ -4321,27 +4321,27 @@ function ys() {
|
|
|
4321
4321
|
B = _e.current, _e.current = null, $e();
|
|
4322
4322
|
try {
|
|
4323
4323
|
if (v) {
|
|
4324
|
-
var
|
|
4324
|
+
var F = function() {
|
|
4325
4325
|
throw Error();
|
|
4326
4326
|
};
|
|
4327
|
-
if (Object.defineProperty(
|
|
4327
|
+
if (Object.defineProperty(F.prototype, "props", {
|
|
4328
4328
|
set: function() {
|
|
4329
4329
|
throw Error();
|
|
4330
4330
|
}
|
|
4331
4331
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
4332
4332
|
try {
|
|
4333
|
-
Reflect.construct(
|
|
4333
|
+
Reflect.construct(F, []);
|
|
4334
4334
|
} catch (De) {
|
|
4335
4335
|
D = De;
|
|
4336
4336
|
}
|
|
4337
|
-
Reflect.construct(c, [],
|
|
4337
|
+
Reflect.construct(c, [], F);
|
|
4338
4338
|
} else {
|
|
4339
4339
|
try {
|
|
4340
|
-
|
|
4340
|
+
F.call();
|
|
4341
4341
|
} catch (De) {
|
|
4342
4342
|
D = De;
|
|
4343
4343
|
}
|
|
4344
|
-
c.call(
|
|
4344
|
+
c.call(F.prototype);
|
|
4345
4345
|
}
|
|
4346
4346
|
} else {
|
|
4347
4347
|
try {
|
|
@@ -4354,14 +4354,14 @@ function ys() {
|
|
|
4354
4354
|
} catch (De) {
|
|
4355
4355
|
if (De && D && typeof De.stack == "string") {
|
|
4356
4356
|
for (var L = De.stack.split(`
|
|
4357
|
-
`),
|
|
4358
|
-
`), G = L.length - 1, Z =
|
|
4357
|
+
`), oe = D.stack.split(`
|
|
4358
|
+
`), G = L.length - 1, Z = oe.length - 1; G >= 1 && Z >= 0 && L[G] !== oe[Z]; )
|
|
4359
4359
|
Z--;
|
|
4360
4360
|
for (; G >= 1 && Z >= 0; G--, Z--)
|
|
4361
|
-
if (L[G] !==
|
|
4361
|
+
if (L[G] !== oe[Z]) {
|
|
4362
4362
|
if (G !== 1 || Z !== 1)
|
|
4363
4363
|
do
|
|
4364
|
-
if (G--, Z--, Z < 0 || L[G] !==
|
|
4364
|
+
if (G--, Z--, Z < 0 || L[G] !== oe[Z]) {
|
|
4365
4365
|
var pe = `
|
|
4366
4366
|
` + L[G].replace(" at new ", " at ");
|
|
4367
4367
|
return c.displayName && pe.includes("<anonymous>") && (pe = pe.replace("<anonymous>", c.displayName)), typeof c == "function" && ue.set(c, pe), pe;
|
|
@@ -4423,19 +4423,19 @@ function ys() {
|
|
|
4423
4423
|
function di(c, v, k, D, Y) {
|
|
4424
4424
|
{
|
|
4425
4425
|
var B = Function.call.bind(ut);
|
|
4426
|
-
for (var
|
|
4427
|
-
if (B(c,
|
|
4426
|
+
for (var F in c)
|
|
4427
|
+
if (B(c, F)) {
|
|
4428
4428
|
var L = void 0;
|
|
4429
4429
|
try {
|
|
4430
|
-
if (typeof c[
|
|
4431
|
-
var
|
|
4432
|
-
throw
|
|
4430
|
+
if (typeof c[F] != "function") {
|
|
4431
|
+
var oe = Error((D || "React class") + ": " + k + " type `" + F + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof c[F] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
4432
|
+
throw oe.name = "Invariant Violation", oe;
|
|
4433
4433
|
}
|
|
4434
|
-
L = c[
|
|
4434
|
+
L = c[F](v, F, D, k, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
4435
4435
|
} catch (G) {
|
|
4436
4436
|
L = G;
|
|
4437
4437
|
}
|
|
4438
|
-
L && !(L instanceof Error) && (ft(Y), M("%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).", D || "React class", k,
|
|
4438
|
+
L && !(L instanceof Error) && (ft(Y), M("%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).", D || "React class", k, F, typeof L), ft(null)), L instanceof Error && !(L.message in mn) && (mn[L.message] = !0, ft(Y), M("Failed %s type: %s", k, L.message), ft(null));
|
|
4439
4439
|
}
|
|
4440
4440
|
}
|
|
4441
4441
|
}
|
|
@@ -4514,7 +4514,7 @@ function ys() {
|
|
|
4514
4514
|
});
|
|
4515
4515
|
}
|
|
4516
4516
|
}
|
|
4517
|
-
var Ei = function(c, v, k, D, Y, B,
|
|
4517
|
+
var Ei = function(c, v, k, D, Y, B, F) {
|
|
4518
4518
|
var L = {
|
|
4519
4519
|
// This tag allows us to uniquely identify this as a React Element
|
|
4520
4520
|
$$typeof: e,
|
|
@@ -4522,7 +4522,7 @@ function ys() {
|
|
|
4522
4522
|
type: c,
|
|
4523
4523
|
key: v,
|
|
4524
4524
|
ref: k,
|
|
4525
|
-
props:
|
|
4525
|
+
props: F,
|
|
4526
4526
|
// Record the component responsible for creating this element.
|
|
4527
4527
|
_owner: B
|
|
4528
4528
|
};
|
|
@@ -4545,23 +4545,23 @@ function ys() {
|
|
|
4545
4545
|
};
|
|
4546
4546
|
function ki(c, v, k, D, Y) {
|
|
4547
4547
|
{
|
|
4548
|
-
var B,
|
|
4549
|
-
k !== void 0 && (bn(k), L = "" + k), vi(v) && (bn(v.key), L = "" + v.key), gi(v) && (
|
|
4548
|
+
var B, F = {}, L = null, oe = null;
|
|
4549
|
+
k !== void 0 && (bn(k), L = "" + k), vi(v) && (bn(v.key), L = "" + v.key), gi(v) && (oe = v.ref, bi(v, Y));
|
|
4550
4550
|
for (B in v)
|
|
4551
|
-
ut.call(v, B) && !mi.hasOwnProperty(B) && (
|
|
4551
|
+
ut.call(v, B) && !mi.hasOwnProperty(B) && (F[B] = v[B]);
|
|
4552
4552
|
if (c && c.defaultProps) {
|
|
4553
4553
|
var G = c.defaultProps;
|
|
4554
4554
|
for (B in G)
|
|
4555
|
-
|
|
4555
|
+
F[B] === void 0 && (F[B] = G[B]);
|
|
4556
4556
|
}
|
|
4557
|
-
if (L ||
|
|
4557
|
+
if (L || oe) {
|
|
4558
4558
|
var Z = typeof c == "function" ? c.displayName || c.name || "Unknown" : c;
|
|
4559
|
-
L && wi(
|
|
4559
|
+
L && wi(F, Z), oe && $i(F, Z);
|
|
4560
4560
|
}
|
|
4561
|
-
return Ei(c, L,
|
|
4561
|
+
return Ei(c, L, oe, Y, D, tt.current, F);
|
|
4562
4562
|
}
|
|
4563
4563
|
}
|
|
4564
|
-
var
|
|
4564
|
+
var At = T.ReactCurrentOwner, En = T.ReactDebugCurrentFrame;
|
|
4565
4565
|
function ze(c) {
|
|
4566
4566
|
if (c) {
|
|
4567
4567
|
var v = c._owner, k = ct(c.type, c._source, v ? v.type : null);
|
|
@@ -4569,15 +4569,15 @@ function ys() {
|
|
|
4569
4569
|
} else
|
|
4570
4570
|
En.setExtraStackFrame(null);
|
|
4571
4571
|
}
|
|
4572
|
-
var
|
|
4573
|
-
|
|
4572
|
+
var It;
|
|
4573
|
+
It = !1;
|
|
4574
4574
|
function Ot(c) {
|
|
4575
4575
|
return typeof c == "object" && c !== null && c.$$typeof === e;
|
|
4576
4576
|
}
|
|
4577
4577
|
function kn() {
|
|
4578
4578
|
{
|
|
4579
|
-
if (
|
|
4580
|
-
var c = C(
|
|
4579
|
+
if (At.current) {
|
|
4580
|
+
var c = C(At.current.type);
|
|
4581
4581
|
if (c)
|
|
4582
4582
|
return `
|
|
4583
4583
|
|
|
@@ -4620,7 +4620,7 @@ Check the top-level render call using <` + k + ">.");
|
|
|
4620
4620
|
return;
|
|
4621
4621
|
xn[k] = !0;
|
|
4622
4622
|
var D = "";
|
|
4623
|
-
c && c._owner && c._owner !==
|
|
4623
|
+
c && c._owner && c._owner !== At.current && (D = " It was passed a child from " + C(c._owner.type) + "."), ze(c), M('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', k, D), ze(null);
|
|
4624
4624
|
}
|
|
4625
4625
|
}
|
|
4626
4626
|
function Sn(c, v) {
|
|
@@ -4637,8 +4637,8 @@ Check the top-level render call using <` + k + ">.");
|
|
|
4637
4637
|
else if (c) {
|
|
4638
4638
|
var Y = w(c);
|
|
4639
4639
|
if (typeof Y == "function" && Y !== c.entries)
|
|
4640
|
-
for (var B = Y.call(c),
|
|
4641
|
-
Ot(
|
|
4640
|
+
for (var B = Y.call(c), F; !(F = B.next()).done; )
|
|
4641
|
+
Ot(F.value) && Tn(F.value, v);
|
|
4642
4642
|
}
|
|
4643
4643
|
}
|
|
4644
4644
|
}
|
|
@@ -4659,8 +4659,8 @@ Check the top-level render call using <` + k + ">.");
|
|
|
4659
4659
|
if (k) {
|
|
4660
4660
|
var D = C(v);
|
|
4661
4661
|
di(k, c.props, "prop", D, c);
|
|
4662
|
-
} else if (v.PropTypes !== void 0 && !
|
|
4663
|
-
|
|
4662
|
+
} else if (v.PropTypes !== void 0 && !It) {
|
|
4663
|
+
It = !0;
|
|
4664
4664
|
var Y = C(v);
|
|
4665
4665
|
M("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Y || "Unknown");
|
|
4666
4666
|
}
|
|
@@ -4681,19 +4681,19 @@ Check the top-level render call using <` + k + ">.");
|
|
|
4681
4681
|
}
|
|
4682
4682
|
function Cn(c, v, k, D, Y, B) {
|
|
4683
4683
|
{
|
|
4684
|
-
var
|
|
4685
|
-
if (!
|
|
4684
|
+
var F = H(c);
|
|
4685
|
+
if (!F) {
|
|
4686
4686
|
var L = "";
|
|
4687
4687
|
(c === void 0 || typeof c == "object" && c !== null && Object.keys(c).length === 0) && (L += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
4688
|
-
var
|
|
4689
|
-
|
|
4688
|
+
var oe = xi(Y);
|
|
4689
|
+
oe ? L += oe : L += kn();
|
|
4690
4690
|
var G;
|
|
4691
4691
|
c === null ? G = "null" : Rt(c) ? G = "array" : c !== void 0 && c.$$typeof === e ? (G = "<" + (C(c.type) || "Unknown") + " />", L = " Did you accidentally export a JSX literal instead of a component?") : G = typeof c, M("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", G, L);
|
|
4692
4692
|
}
|
|
4693
4693
|
var Z = ki(c, v, k, Y, B);
|
|
4694
4694
|
if (Z == null)
|
|
4695
4695
|
return Z;
|
|
4696
|
-
if (
|
|
4696
|
+
if (F) {
|
|
4697
4697
|
var pe = v.children;
|
|
4698
4698
|
if (pe !== void 0)
|
|
4699
4699
|
if (D)
|
|
@@ -4715,8 +4715,8 @@ Check the top-level render call using <` + k + ">.");
|
|
|
4715
4715
|
function Ri(c, v, k) {
|
|
4716
4716
|
return Cn(c, v, k, !1);
|
|
4717
4717
|
}
|
|
4718
|
-
var Di = Ri,
|
|
4719
|
-
rt.Fragment = r, rt.jsx = Di, rt.jsxs =
|
|
4718
|
+
var Di = Ri, Ai = _i;
|
|
4719
|
+
rt.Fragment = r, rt.jsx = Di, rt.jsxs = Ai;
|
|
4720
4720
|
}()), rt;
|
|
4721
4721
|
}
|
|
4722
4722
|
process.env.NODE_ENV === "production" ? tn.exports = ps() : tn.exports = ys();
|
|
@@ -4727,17 +4727,17 @@ const gs = (t) => t.toLowerCase().split("-").map((e) => e.charAt(0).toUpperCase(
|
|
|
4727
4727
|
r !== "" && (t.className = r), Object.keys(e).forEach((i) => {
|
|
4728
4728
|
if (!(i === "children" || i === "style" || i === "ref" || i === "class" || i === "className" || i === "forwardedRef"))
|
|
4729
4729
|
if (i.indexOf("on") === 0 && i[2] === i[2].toUpperCase()) {
|
|
4730
|
-
const
|
|
4731
|
-
ci(
|
|
4730
|
+
const o = i.substring(2), a = o[0].toLowerCase() + o.substring(1);
|
|
4731
|
+
ci(a) || $s(t, a, e[i]);
|
|
4732
4732
|
} else
|
|
4733
4733
|
t[i] = e[i], typeof e[i] === "string" && t.setAttribute(li(i), e[i]);
|
|
4734
4734
|
});
|
|
4735
4735
|
}
|
|
4736
4736
|
}, bs = (t, e, n) => {
|
|
4737
|
-
const r = e.className || e.class, i = n.className || n.class,
|
|
4738
|
-
return
|
|
4739
|
-
|
|
4740
|
-
}),
|
|
4737
|
+
const r = e.className || e.class, i = n.className || n.class, o = Ht(t), a = Ht(r ? r.split(" ") : []), s = Ht(i ? i.split(" ") : []), l = [];
|
|
4738
|
+
return o.forEach((u) => {
|
|
4739
|
+
a.has(u) ? (l.push(u), a.delete(u)) : s.has(u) || l.push(u);
|
|
4740
|
+
}), a.forEach((u) => l.push(u)), l.join(" ");
|
|
4741
4741
|
}, ws = (t) => {
|
|
4742
4742
|
switch (t) {
|
|
4743
4743
|
case "doubleclick":
|
|
@@ -4765,8 +4765,8 @@ const ci = (t) => {
|
|
|
4765
4765
|
const r = t.__events || (t.__events = {}), i = r[e];
|
|
4766
4766
|
i && t.removeEventListener(e, i), t.addEventListener(
|
|
4767
4767
|
e,
|
|
4768
|
-
r[e] = function(
|
|
4769
|
-
n && n.call(this,
|
|
4768
|
+
r[e] = function(a) {
|
|
4769
|
+
n && n.call(this, a);
|
|
4770
4770
|
}
|
|
4771
4771
|
);
|
|
4772
4772
|
}, Ht = (t) => {
|
|
@@ -4783,7 +4783,7 @@ const ci = (t) => {
|
|
|
4783
4783
|
return n.displayName = e, Et.forwardRef(n);
|
|
4784
4784
|
}, g = (t, e, n, r) => {
|
|
4785
4785
|
r !== void 0 && r();
|
|
4786
|
-
const i = gs(t),
|
|
4786
|
+
const i = gs(t), o = class extends Et.Component {
|
|
4787
4787
|
constructor(s) {
|
|
4788
4788
|
super(s);
|
|
4789
4789
|
Mt(this, "componentEl");
|
|
@@ -4822,13 +4822,13 @@ const ci = (t) => {
|
|
|
4822
4822
|
return i;
|
|
4823
4823
|
}
|
|
4824
4824
|
};
|
|
4825
|
-
return e && (
|
|
4825
|
+
return e && (o.contextType = e), xs(o, i);
|
|
4826
4826
|
};
|
|
4827
4827
|
hs();
|
|
4828
|
-
const hl = /* @__PURE__ */ g("add-circle-icon"), pl = /* @__PURE__ */ g("archive-icon"), yl = /* @__PURE__ */ g("arrow-icon"), ml = /* @__PURE__ */ g("bold-icon"), gl = /* @__PURE__ */ g("button-component"), vl = /* @__PURE__ */ g("calendar-cancel-icon"), bl = /* @__PURE__ */ g("calendar-check-icon"), wl = /* @__PURE__ */ g("calendar-icon"), $l = /* @__PURE__ */ g("calendar-info-icon"), El = /* @__PURE__ */ g("calendar-patterns-icon"), kl = /* @__PURE__ */ g("checkbox-component"), xl = /* @__PURE__ */ g("checkmark-circle-icon"), Tl = /* @__PURE__ */ g("chevron-icon"), Sl = /* @__PURE__ */ g("clock-icon"), Cl = /* @__PURE__ */ g("close-icon"), _l = /* @__PURE__ */ g("document-refresh-icon"), Rl = /* @__PURE__ */ g("flow-icon"), Dl = /* @__PURE__ */ g("folder-icon"),
|
|
4828
|
+
const hl = /* @__PURE__ */ g("add-circle-icon"), pl = /* @__PURE__ */ g("archive-icon"), yl = /* @__PURE__ */ g("arrow-icon"), ml = /* @__PURE__ */ g("bold-icon"), gl = /* @__PURE__ */ g("button-component"), vl = /* @__PURE__ */ g("calendar-cancel-icon"), bl = /* @__PURE__ */ g("calendar-check-icon"), wl = /* @__PURE__ */ g("calendar-icon"), $l = /* @__PURE__ */ g("calendar-info-icon"), El = /* @__PURE__ */ g("calendar-patterns-icon"), kl = /* @__PURE__ */ g("checkbox-component"), xl = /* @__PURE__ */ g("checkmark-circle-icon"), Tl = /* @__PURE__ */ g("chevron-icon"), Sl = /* @__PURE__ */ g("clock-icon"), Cl = /* @__PURE__ */ g("close-icon"), _l = /* @__PURE__ */ g("document-refresh-icon"), Rl = /* @__PURE__ */ g("flow-icon"), Dl = /* @__PURE__ */ g("folder-icon"), Al = /* @__PURE__ */ g("forward-icon"), Il = /* @__PURE__ */ g("globe-icon"), Ol = /* @__PURE__ */ g("google-logo-icon"), Ml = /* @__PURE__ */ g("inbox-icon"), Ll = /* @__PURE__ */ g("info-icon"), Fl = /* @__PURE__ */ g("input-component"), Ul = /* @__PURE__ */ g("input-dropdown"), Nl = /* @__PURE__ */ g("italic-icon"), Pl = /* @__PURE__ */ g("loading-icon"), Yl = /* @__PURE__ */ g("location-icon"), Hl = /* @__PURE__ */ g("location-off-icon"), Bl = /* @__PURE__ */ g("microsoft-logo-icon"), Wl = /* @__PURE__ */ g("multi-select-dropdown"), jl = /* @__PURE__ */ g("nylas-additional-participants"), zl = /* @__PURE__ */ g("nylas-availability-picker"), ql = /* @__PURE__ */ g("nylas-booked-event-card"), Kl = /* @__PURE__ */ g("nylas-booking-calendar-picker"), Gl = /* @__PURE__ */ g("nylas-booking-form"), Zl = /* @__PURE__ */ g("nylas-buffer-time"), Jl = /* @__PURE__ */ g("nylas-calendar-picker"), Xl = /* @__PURE__ */ g("nylas-cancel-booking-form"), Ql = /* @__PURE__ */ g("nylas-cancellation-policy"), Vl = /* @__PURE__ */ g("nylas-cancelled-event-card"), ec = /* @__PURE__ */ g("nylas-composer"), tc = /* @__PURE__ */ g("nylas-custom-booking-flow"), nc = /* @__PURE__ */ g("nylas-customize-booking-settings"), rc = /* @__PURE__ */ g("nylas-date-picker"), ic = /* @__PURE__ */ g("nylas-editor-tabs"), ac = /* @__PURE__ */ g("nylas-event-description"), oc = /* @__PURE__ */ g("nylas-event-duration"), sc = /* @__PURE__ */ g("nylas-event-info"), lc = /* @__PURE__ */ g("nylas-event-limits"), cc = /* @__PURE__ */ g("nylas-event-location"), uc = /* @__PURE__ */ g("nylas-event-title"), fc = /* @__PURE__ */ g("nylas-form-card"), dc = /* @__PURE__ */ g("nylas-if-state"), hc = /* @__PURE__ */ g("nylas-limit-future-bookings"), pc = /* @__PURE__ */ g("nylas-list-configurations"), yc = /* @__PURE__ */ g("nylas-list-folders"), mc = /* @__PURE__ */ g("nylas-list-threads"), gc = /* @__PURE__ */ g("nylas-locale-switch"), vc = /* @__PURE__ */ g("nylas-login"), bc = /* @__PURE__ */ g("nylas-logo"), wc = /* @__PURE__ */ g("nylas-mailbox"), $c = /* @__PURE__ */ g("nylas-mailbox-pagination"), Ec = /* @__PURE__ */ g("nylas-mailbox-toolbar-button"), kc = /* @__PURE__ */ g("nylas-min-booking-notice"), xc = /* @__PURE__ */ g("nylas-min-cancellation-notice"), Tc = /* @__PURE__ */ g("nylas-notification"), Sc = /* @__PURE__ */ g("nylas-participants-custom-availability"), Cc = /* @__PURE__ */ g("nylas-provider"), _c = /* @__PURE__ */ g("nylas-scheduler-editor"), Rc = /* @__PURE__ */ g("nylas-scheduling"), Dc = /* @__PURE__ */ g("nylas-selected-event-card"), Ac = /* @__PURE__ */ g("nylas-summarize-message-button"), Ic = /* @__PURE__ */ g("nylas-threads-refresh"), Oc = /* @__PURE__ */ g("nylas-threads-search"), Mc = /* @__PURE__ */ g("nylas-time-window-picker"), Lc = /* @__PURE__ */ g("nylas-timeslot-interval"), Fc = /* @__PURE__ */ g("nylas-timeslot-picker"), Uc = /* @__PURE__ */ g("nylas-view-email"), Nc = /* @__PURE__ */ g("nylas-view-thread"), Pc = /* @__PURE__ */ g("people-icon"), Yc = /* @__PURE__ */ g("person-icon"), Hc = /* @__PURE__ */ g("play-icon"), Bc = /* @__PURE__ */ g("radio-button-group"), Wc = /* @__PURE__ */ g("refresh-icon"), jc = /* @__PURE__ */ g("reply-all-icon"), zc = /* @__PURE__ */ g("reply-icon"), qc = /* @__PURE__ */ g("search-icon"), Kc = /* @__PURE__ */ g("select-dropdown"), Gc = /* @__PURE__ */ g("sent-icon"), Zc = /* @__PURE__ */ g("spam-icon"), Jc = /* @__PURE__ */ g("star-icon"), Xc = /* @__PURE__ */ g("stop-icon"), Qc = /* @__PURE__ */ g("textarea-component"), Vc = /* @__PURE__ */ g("time-period-selector"), eu = /* @__PURE__ */ g("toggle-switch"), tu = /* @__PURE__ */ g("tooltip-component"), nu = /* @__PURE__ */ g("translate-icon"), ru = /* @__PURE__ */ g("trash-icon"), iu = /* @__PURE__ */ g("underline-icon"), au = /* @__PURE__ */ g("warning-icon");
|
|
4829
4829
|
function ou() {
|
|
4830
4830
|
const [, t] = Li((i) => i + 1, 0), e = Lt(), n = Lt(null), r = Lt(null);
|
|
4831
|
-
return
|
|
4831
|
+
return Fi(() => {
|
|
4832
4832
|
e.current && (n.current || e.current.getNylasMailboxConnector().then((i) => {
|
|
4833
4833
|
i && (n.current = i, r.current = n.current.nylasAuthStore, i.nylasAuthStore.on("set", t), t());
|
|
4834
4834
|
}));
|
|
@@ -4847,17 +4847,17 @@ export {
|
|
|
4847
4847
|
el as I,
|
|
4848
4848
|
tl as J,
|
|
4849
4849
|
cl as K,
|
|
4850
|
-
|
|
4851
|
-
|
|
4850
|
+
ol as L,
|
|
4851
|
+
rl as M,
|
|
4852
4852
|
fl as N,
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4853
|
+
il as O,
|
|
4854
|
+
Is as P,
|
|
4855
|
+
Ms as Q,
|
|
4856
|
+
Qr as R,
|
|
4857
|
+
Vs as S,
|
|
4858
|
+
Js as T,
|
|
4859
|
+
Qs as U,
|
|
4860
|
+
Xs as V,
|
|
4861
4861
|
ou as W,
|
|
4862
4862
|
dl as X,
|
|
4863
4863
|
hs as Y,
|
|
@@ -4883,8 +4883,8 @@ export {
|
|
|
4883
4883
|
nc as aF,
|
|
4884
4884
|
rc as aG,
|
|
4885
4885
|
ic as aH,
|
|
4886
|
-
|
|
4887
|
-
|
|
4886
|
+
ac as aI,
|
|
4887
|
+
oc as aJ,
|
|
4888
4888
|
sc as aK,
|
|
4889
4889
|
lc as aL,
|
|
4890
4890
|
cc as aM,
|
|
@@ -4908,13 +4908,13 @@ export {
|
|
|
4908
4908
|
_l as ad,
|
|
4909
4909
|
Rl as ae,
|
|
4910
4910
|
Dl as af,
|
|
4911
|
-
|
|
4912
|
-
|
|
4911
|
+
Al as ag,
|
|
4912
|
+
Il as ah,
|
|
4913
4913
|
Ol as ai,
|
|
4914
4914
|
Ml as aj,
|
|
4915
4915
|
Ll as ak,
|
|
4916
|
-
|
|
4917
|
-
|
|
4916
|
+
Fl as al,
|
|
4917
|
+
Ul as am,
|
|
4918
4918
|
Nl as an,
|
|
4919
4919
|
Pl as ao,
|
|
4920
4920
|
Yl as ap,
|
|
@@ -4928,20 +4928,20 @@ export {
|
|
|
4928
4928
|
Gl as ax,
|
|
4929
4929
|
Zl as ay,
|
|
4930
4930
|
Jl as az,
|
|
4931
|
-
|
|
4931
|
+
Us as b,
|
|
4932
4932
|
Tc as b0,
|
|
4933
4933
|
Sc as b1,
|
|
4934
4934
|
Cc as b2,
|
|
4935
4935
|
_c as b3,
|
|
4936
4936
|
Rc as b4,
|
|
4937
4937
|
Dc as b5,
|
|
4938
|
-
|
|
4939
|
-
|
|
4938
|
+
Ac as b6,
|
|
4939
|
+
Ic as b7,
|
|
4940
4940
|
Oc as b8,
|
|
4941
4941
|
Mc as b9,
|
|
4942
4942
|
Lc as ba,
|
|
4943
|
-
|
|
4944
|
-
|
|
4943
|
+
Fc as bb,
|
|
4944
|
+
Uc as bc,
|
|
4945
4945
|
Nc as bd,
|
|
4946
4946
|
Pc as be,
|
|
4947
4947
|
Yc as bf,
|
|
@@ -4963,28 +4963,29 @@ export {
|
|
|
4963
4963
|
nu as bv,
|
|
4964
4964
|
ru as bw,
|
|
4965
4965
|
iu as bx,
|
|
4966
|
+
au as by,
|
|
4966
4967
|
_s as c,
|
|
4967
4968
|
Os as d,
|
|
4968
|
-
|
|
4969
|
+
Aa as e,
|
|
4969
4970
|
qs as f,
|
|
4970
4971
|
Zi as g,
|
|
4971
4972
|
wr as h,
|
|
4972
|
-
|
|
4973
|
+
co as i,
|
|
4973
4974
|
dr as j,
|
|
4974
4975
|
ul as k,
|
|
4975
4976
|
sl as l,
|
|
4976
4977
|
Wn as m,
|
|
4977
|
-
|
|
4978
|
+
Fs as n,
|
|
4978
4979
|
Ys as o,
|
|
4979
4980
|
Ns as p,
|
|
4980
4981
|
Ks as q,
|
|
4981
|
-
|
|
4982
|
+
As as r,
|
|
4982
4983
|
us as s,
|
|
4983
4984
|
zs as t,
|
|
4984
4985
|
Ls as u,
|
|
4985
4986
|
Gs as v,
|
|
4986
4987
|
Zs as w,
|
|
4987
4988
|
hr as x,
|
|
4988
|
-
|
|
4989
|
+
al as y,
|
|
4989
4990
|
Hs as z
|
|
4990
4991
|
};
|