@nylas/web-elements 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/nylas-availability-picker/nylas-availability-picker.es.js +202 -191
- package/dist/cdn/nylas-booking-calendar-picker/nylas-booking-calendar-picker.es.js +466 -455
- package/dist/cdn/nylas-booking-confirmation-redirect/nylas-booking-confirmation-redirect.es.js +299 -288
- package/dist/cdn/nylas-booking-confirmation-type/nylas-booking-confirmation-type.es.js +330 -319
- package/dist/cdn/nylas-booking-form/nylas-booking-form.es.js +440 -426
- package/dist/cdn/nylas-booking-form-config/nylas-booking-form-config.es.js +174 -163
- package/dist/cdn/nylas-buffer-time/nylas-buffer-time.es.js +469 -458
- package/dist/cdn/nylas-custom-event-slug/nylas-custom-event-slug.es.js +194 -194
- package/dist/cdn/nylas-editor-tabs/nylas-editor-tabs.es.js +20 -9
- package/dist/cdn/nylas-event-duration/nylas-event-duration.es.js +357 -346
- package/dist/cdn/nylas-event-location/nylas-event-location.es.js +502 -491
- package/dist/cdn/nylas-limit-future-bookings/nylas-limit-future-bookings.es.js +325 -314
- package/dist/cdn/nylas-list-configurations/nylas-list-configurations.es.js +239 -228
- package/dist/cdn/nylas-locale-switch/nylas-locale-switch.es.js +235 -224
- package/dist/cdn/nylas-min-booking-notice/nylas-min-booking-notice.es.js +325 -314
- package/dist/cdn/nylas-min-cancellation-notice/nylas-min-cancellation-notice.es.js +209 -198
- package/dist/cdn/nylas-participant-booking-calendars/nylas-participant-booking-calendars.es.js +249 -238
- package/dist/cdn/nylas-participants-custom-availability/nylas-participants-custom-availability.es.js +801 -790
- package/dist/cdn/nylas-reminder-emails/nylas-reminder-emails.es.js +287 -276
- package/dist/cdn/nylas-reminder-time/nylas-reminder-time.es.js +334 -323
- package/dist/cdn/nylas-scheduler-editor/nylas-scheduler-editor.es.js +23 -12
- package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +587 -559
- package/dist/cdn/nylas-scheduling-method/nylas-scheduling-method.es.js +275 -264
- package/dist/cdn/nylas-timeslot-interval/nylas-timeslot-interval.es.js +353 -342
- package/dist/cdn/select-dropdown/select-dropdown.es.js +108 -97
- package/dist/cdn/time-period-selector/time-period-selector.es.js +340 -329
- package/dist/cjs/calendar-agenda-fill-icon_48.cjs.entry.js +5 -4
- package/dist/cjs/calendar-agenda-fill-icon_48.cjs.entry.js.map +1 -1
- package/dist/cjs/chevron-icon_3.cjs.entry.js +14 -1
- package/dist/cjs/chevron-icon_3.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/nylas-booked-event-card_12.cjs.entry.js +11 -7
- package/dist/cjs/nylas-booked-event-card_12.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-booking-form.cjs.entry.js +11 -7
- package/dist/cjs/nylas-booking-form.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-custom-event-slug.cjs.entry.js +5 -4
- package/dist/cjs/nylas-custom-event-slug.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-scheduler-editor.cjs.entry.js +2 -1
- package/dist/cjs/nylas-scheduler-editor.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-scheduling.cjs.entry.js +25 -4
- package/dist/cjs/nylas-scheduling.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-web-elements.cjs.js +1 -1
- package/dist/cjs/select-dropdown.cjs.entry.js +14 -1
- package/dist/cjs/select-dropdown.cjs.entry.js.map +1 -1
- package/dist/collection/components/design-system/select-dropdown/select-dropdown.js +33 -1
- package/dist/collection/components/design-system/select-dropdown/select-dropdown.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.js +17 -7
- package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js +26 -5
- package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-custom-event-slug/nylas-custom-event-slug.css +6 -2
- package/dist/collection/components/scheduler-editor/nylas-custom-event-slug/nylas-custom-event-slug.js +4 -3
- package/dist/collection/components/scheduler-editor/nylas-custom-event-slug/nylas-custom-event-slug.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-scheduler-editor/ExpressFlow.js +2 -1
- package/dist/collection/components/scheduler-editor/nylas-scheduler-editor/ExpressFlow.js.map +1 -1
- package/dist/components/nylas-booking-form2.js +12 -8
- package/dist/components/nylas-booking-form2.js.map +1 -1
- package/dist/components/nylas-custom-event-slug2.js +5 -4
- package/dist/components/nylas-custom-event-slug2.js.map +1 -1
- package/dist/components/nylas-scheduler-editor.js +2 -1
- package/dist/components/nylas-scheduler-editor.js.map +1 -1
- package/dist/components/nylas-scheduling.js +25 -4
- package/dist/components/nylas-scheduling.js.map +1 -1
- package/dist/components/select-dropdown2.js +14 -1
- package/dist/components/select-dropdown2.js.map +1 -1
- package/dist/esm/calendar-agenda-fill-icon_48.entry.js +5 -4
- package/dist/esm/calendar-agenda-fill-icon_48.entry.js.map +1 -1
- package/dist/esm/chevron-icon_3.entry.js +14 -1
- package/dist/esm/chevron-icon_3.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/nylas-booked-event-card_12.entry.js +11 -7
- package/dist/esm/nylas-booked-event-card_12.entry.js.map +1 -1
- package/dist/esm/nylas-booking-form.entry.js +11 -7
- package/dist/esm/nylas-booking-form.entry.js.map +1 -1
- package/dist/esm/nylas-custom-event-slug.entry.js +5 -4
- package/dist/esm/nylas-custom-event-slug.entry.js.map +1 -1
- package/dist/esm/nylas-scheduler-editor.entry.js +2 -1
- package/dist/esm/nylas-scheduler-editor.entry.js.map +1 -1
- package/dist/esm/nylas-scheduling.entry.js +25 -4
- package/dist/esm/nylas-scheduling.entry.js.map +1 -1
- package/dist/esm/nylas-web-elements.js +1 -1
- package/dist/esm/select-dropdown.entry.js +14 -1
- package/dist/esm/select-dropdown.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-booking-form.entry.js +11 -7
- package/dist/nylas-web-elements/nylas-booking-form.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-custom-event-slug.entry.js +5 -4
- package/dist/nylas-web-elements/nylas-custom-event-slug.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-scheduler-editor.entry.js +2 -1
- package/dist/nylas-web-elements/nylas-scheduler-editor.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-scheduling.entry.js +25 -4
- package/dist/nylas-web-elements/nylas-scheduling.entry.js.map +1 -1
- package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
- package/dist/nylas-web-elements/{p-670e4bd1.entry.js → p-795ebe60.entry.js} +2 -2
- package/dist/nylas-web-elements/p-795ebe60.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-d32d9a1d.entry.js → p-8dee5c91.entry.js} +2 -2
- package/dist/nylas-web-elements/p-8dee5c91.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-8fdc5d3d.entry.js +2 -0
- package/dist/nylas-web-elements/p-8fdc5d3d.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-efa03f8c.entry.js +2 -0
- package/dist/nylas-web-elements/p-efa03f8c.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-fbec0698.entry.js +2 -0
- package/dist/nylas-web-elements/p-fbec0698.entry.js.map +1 -0
- package/dist/nylas-web-elements/select-dropdown.entry.js +14 -1
- package/dist/nylas-web-elements/select-dropdown.entry.js.map +1 -1
- package/dist/types/components/design-system/select-dropdown/select-dropdown.d.ts +6 -0
- package/dist/types/components/scheduler/nylas-booking-form/nylas-booking-form.d.ts +6 -0
- package/dist/types/components/scheduler/nylas-scheduling/nylas-scheduling.d.ts +1 -0
- package/dist/types/components/scheduler-editor/nylas-custom-event-slug/nylas-custom-event-slug.d.ts +0 -1
- package/dist/types/components.d.ts +15 -0
- package/package.json +1 -1
- package/dist/nylas-web-elements/p-14e194b2.entry.js +0 -2
- package/dist/nylas-web-elements/p-14e194b2.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-169a3f6d.entry.js +0 -2
- package/dist/nylas-web-elements/p-169a3f6d.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-670e4bd1.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-8ad09f72.entry.js +0 -2
- package/dist/nylas-web-elements/p-8ad09f72.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-d32d9a1d.entry.js.map +0 -1
|
@@ -87,9 +87,9 @@ const Ve = {
|
|
|
87
87
|
// TODO(STENCIL-914): remove this option when `experimentalSlotFixes` is the default behavior
|
|
88
88
|
experimentalSlotFixes: !1
|
|
89
89
|
};
|
|
90
|
-
let lt, er, Ct, As = !1, ln = !1,
|
|
90
|
+
let lt, er, Ct, As = !1, ln = !1, Dr = !1, xe = !1, ai = null, tr = !1;
|
|
91
91
|
const tt = (n, e = "") => () => {
|
|
92
|
-
}, v1 = "slot-fb{display:contents}slot-fb[hidden]{display:none}", li = "http://www.w3.org/1999/xlink", ci = {}, w1 = "http://www.w3.org/2000/svg", k1 = "http://www.w3.org/1999/xhtml", E1 = (n) => n != null,
|
|
92
|
+
}, v1 = "slot-fb{display:contents}slot-fb[hidden]{display:none}", li = "http://www.w3.org/1999/xlink", ci = {}, w1 = "http://www.w3.org/2000/svg", k1 = "http://www.w3.org/1999/xhtml", E1 = (n) => n != null, Or = (n) => (n = typeof n, n === "object" || n === "function");
|
|
93
93
|
function T1(n) {
|
|
94
94
|
var e, t, r;
|
|
95
95
|
return (r = (t = (e = n.head) === null || e === void 0 ? void 0 : e.querySelector('meta[name="csp-nonce"]')) === null || t === void 0 ? void 0 : t.getAttribute("content")) !== null && r !== void 0 ? r : void 0;
|
|
@@ -98,7 +98,7 @@ const E = (n, e, ...t) => {
|
|
|
98
98
|
let r = null, i = null, s = null, o = !1, u = !1;
|
|
99
99
|
const a = [], l = (d) => {
|
|
100
100
|
for (let f = 0; f < d.length; f++)
|
|
101
|
-
r = d[f], Array.isArray(r) ? l(r) : r != null && typeof r != "boolean" && ((o = typeof n != "function" && !
|
|
101
|
+
r = d[f], Array.isArray(r) ? l(r) : r != null && typeof r != "boolean" && ((o = typeof n != "function" && !Or(r)) && (r = String(r)), o && u ? a[a.length - 1].$text$ += r : a.push(o ? cn(null, r) : r), u = o);
|
|
102
102
|
};
|
|
103
103
|
if (l(t), e) {
|
|
104
104
|
e.key && (i = e.key), e.name && (s = e.name);
|
|
@@ -137,7 +137,7 @@ const E = (n, e, ...t) => {
|
|
|
137
137
|
}
|
|
138
138
|
const e = cn(n.vtag, n.vtext);
|
|
139
139
|
return e.$attrs$ = n.vattrs, e.$children$ = n.vchildren, e.$key$ = n.vkey, e.$name$ = n.vname, e;
|
|
140
|
-
}, B1 = (n) => tg.map((e) => e(n)).find((e) => !!e), A1 = (n, e) => n != null && !
|
|
140
|
+
}, B1 = (n) => tg.map((e) => e(n)).find((e) => !!e), A1 = (n, e) => n != null && !Or(n) ? e & 4 ? n === "false" ? !1 : n === "" || !!n : e & 2 ? parseFloat(n) : e & 1 ? String(n) : n : n, sn = (n) => n, pe = (n, e, t) => {
|
|
141
141
|
const r = sn(n);
|
|
142
142
|
return {
|
|
143
143
|
emit: (i) => I1(r, e, {
|
|
@@ -150,12 +150,12 @@ const E = (n, e, ...t) => {
|
|
|
150
150
|
}, I1 = (n, e, t) => {
|
|
151
151
|
const r = le.ce(e, t);
|
|
152
152
|
return n.dispatchEvent(r), r;
|
|
153
|
-
}, fi = /* @__PURE__ */ new WeakMap(),
|
|
153
|
+
}, fi = /* @__PURE__ */ new WeakMap(), D1 = (n, e, t) => {
|
|
154
154
|
let r = fn.get(n);
|
|
155
155
|
ig && t ? (r = r || new CSSStyleSheet(), typeof r == "string" ? r = e : r.replaceSync(e)) : r = e, fn.set(n, r);
|
|
156
|
-
},
|
|
156
|
+
}, O1 = (n, e, t) => {
|
|
157
157
|
var r;
|
|
158
|
-
const i =
|
|
158
|
+
const i = Ds(e, t), s = fn.get(i);
|
|
159
159
|
if (n = n.nodeType === 11 ? n : Be, s)
|
|
160
160
|
if (typeof s == "string") {
|
|
161
161
|
n = n.head || n;
|
|
@@ -171,9 +171,9 @@ const E = (n, e, ...t) => {
|
|
|
171
171
|
} else n.adoptedStyleSheets.includes(s) || (n.adoptedStyleSheets = [...n.adoptedStyleSheets, s]);
|
|
172
172
|
return i;
|
|
173
173
|
}, M1 = (n) => {
|
|
174
|
-
const e = n.$cmpMeta$, t = n.$hostElement$, r = e.$flags$, i = tt("attachStyles", e.$tagName$), s =
|
|
174
|
+
const e = n.$cmpMeta$, t = n.$hostElement$, r = e.$flags$, i = tt("attachStyles", e.$tagName$), s = O1(t.shadowRoot ? t.shadowRoot : t.getRootNode(), e, n.$modeName$);
|
|
175
175
|
r & 10 && (t["s-sc"] = s, t.classList.add(s + "-h"), r & 2 && t.classList.add(s + "-s")), i();
|
|
176
|
-
},
|
|
176
|
+
}, Ds = (n, e) => "sc-" + (e && n.$flags$ & 32 ? n.$tagName$ + "-" + e : n.$tagName$), hi = (n, e, t, r, i, s) => {
|
|
177
177
|
if (t !== r) {
|
|
178
178
|
let o = yi(n, e), u = e.toLowerCase();
|
|
179
179
|
if (e === "class") {
|
|
@@ -189,11 +189,11 @@ const E = (n, e, ...t) => {
|
|
|
189
189
|
r && r(n);
|
|
190
190
|
else if (!n.__lookupSetter__(e) && e[0] === "o" && e[1] === "n") {
|
|
191
191
|
if (e[2] === "-" ? e = e.slice(3) : yi(In, u) ? e = u.slice(2) : e = u[2] + e.slice(3), t || r) {
|
|
192
|
-
const a = e.endsWith(
|
|
192
|
+
const a = e.endsWith(Os);
|
|
193
193
|
e = e.replace(N1, ""), t && le.rel(n, e, t, a), r && le.ael(n, e, r, a);
|
|
194
194
|
}
|
|
195
195
|
} else {
|
|
196
|
-
const a =
|
|
196
|
+
const a = Or(r);
|
|
197
197
|
if ((o || a && r !== null) && !i)
|
|
198
198
|
try {
|
|
199
199
|
if (n.tagName.includes("-"))
|
|
@@ -208,7 +208,7 @@ const E = (n, e, ...t) => {
|
|
|
208
208
|
u !== (u = u.replace(/^xlink\:?/, "")) && (e = u, l = !0), r == null || r === !1 ? (r !== !1 || n.getAttribute(e) === "") && (l ? n.removeAttributeNS(li, e) : n.removeAttribute(e)) : (!o || s & 4 || i) && !a && (r = r === !0 ? "" : r, l ? n.setAttributeNS(li, e, r) : n.setAttribute(e, r));
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
|
-
}, R1 = /\s/, pi = (n) => n ? n.split(R1) : [],
|
|
211
|
+
}, R1 = /\s/, pi = (n) => n ? n.split(R1) : [], Os = "Capture", N1 = new RegExp(Os + "$"), Ms = (n, e, t, r) => {
|
|
212
212
|
const i = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$, s = n && n.$attrs$ || ci, o = e.$attrs$ || ci;
|
|
213
213
|
for (r in s)
|
|
214
214
|
r in o || hi(i, r, s[r], void 0, t, e.$flags$);
|
|
@@ -217,7 +217,7 @@ const E = (n, e, ...t) => {
|
|
|
217
217
|
}, dn = (n, e, t, r) => {
|
|
218
218
|
const i = e.$children$[t];
|
|
219
219
|
let s = 0, o, u, a;
|
|
220
|
-
if (As || (
|
|
220
|
+
if (As || (Dr = !0, i.$tag$ === "slot" && (lt && r.classList.add(lt + "-s"), i.$flags$ |= i.$children$ ? (
|
|
221
221
|
// slot element has fallback content
|
|
222
222
|
2
|
|
223
223
|
) : (
|
|
@@ -228,10 +228,10 @@ const E = (n, e, ...t) => {
|
|
|
228
228
|
else if (i.$flags$ & 1)
|
|
229
229
|
o = i.$elm$ = Be.createTextNode("");
|
|
230
230
|
else {
|
|
231
|
-
if (
|
|
231
|
+
if (xe || (xe = i.$tag$ === "svg"), o = i.$elm$ = Be.createElementNS(xe ? w1 : k1, i.$flags$ & 2 ? "slot-fb" : i.$tag$), xe && i.$tag$ === "foreignObject" && (xe = !1), Ms(null, i, xe), E1(lt) && o["s-si"] !== lt && o.classList.add(o["s-si"] = lt), i.$children$)
|
|
232
232
|
for (s = 0; s < i.$children$.length; ++s)
|
|
233
233
|
u = dn(n, i, s, o), u && o.appendChild(u);
|
|
234
|
-
i.$tag$ === "svg" ?
|
|
234
|
+
i.$tag$ === "svg" ? xe = !1 : o.tagName === "foreignObject" && (xe = !0);
|
|
235
235
|
}
|
|
236
236
|
return o["s-hn"] = Ct, i.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = er, o["s-sn"] = i.$name$ || "", a = n && n.$children$ && n.$children$[t], a && a.$tag$ === i.$tag$ && n.$elm$ && Bt(n.$elm$, !1)), o;
|
|
237
237
|
}, Bt = (n, e) => {
|
|
@@ -239,7 +239,7 @@ const E = (n, e, ...t) => {
|
|
|
239
239
|
const t = n.childNodes;
|
|
240
240
|
for (let r = t.length - 1; r >= 0; r--) {
|
|
241
241
|
const i = t[r];
|
|
242
|
-
i["s-hn"] !== Ct && i["s-ol"] && (Ps(i).insertBefore(i, Mr(i)), i["s-ol"].remove(), i["s-ol"] = void 0, i["s-sh"] = void 0,
|
|
242
|
+
i["s-hn"] !== Ct && i["s-ol"] && (Ps(i).insertBefore(i, Mr(i)), i["s-ol"].remove(), i["s-ol"] = void 0, i["s-sh"] = void 0, Dr = !0), e && Bt(i, e);
|
|
243
243
|
}
|
|
244
244
|
le.$flags$ &= -2;
|
|
245
245
|
}, Rs = (n, e, t, r, i, s) => {
|
|
@@ -285,7 +285,7 @@ const E = (n, e, ...t) => {
|
|
|
285
285
|
}, zt = (n, e, t = !1) => n.$tag$ === e.$tag$ ? n.$tag$ === "slot" ? n.$name$ === e.$name$ : t ? !0 : n.$key$ === e.$key$ : !1, Mr = (n) => n && n["s-ol"] || n, Ps = (n) => (n["s-ol"] ? n["s-ol"] : n).parentNode, ct = (n, e, t = !1) => {
|
|
286
286
|
const r = e.$elm$ = n.$elm$, i = n.$children$, s = e.$children$, o = e.$tag$, u = e.$text$;
|
|
287
287
|
let a;
|
|
288
|
-
u === null ? (
|
|
288
|
+
u === null ? (xe = o === "svg" ? !0 : o === "foreignObject" ? !1 : xe, o === "slot" || Ms(n, e, xe), i !== null && s !== null ? P1(r, i, e, s, t) : s !== null ? (n.$text$ !== null && (r.textContent = ""), Rs(r, null, e, s, 0, s.length - 1)) : i !== null && Ns(i, 0, i.length - 1), xe && o === "svg" && (xe = !1)) : (a = r["s-cr"]) ? a.parentNode.textContent = u : n.$text$ !== u && (r.data = u);
|
|
289
289
|
}, Ls = (n) => {
|
|
290
290
|
const e = n.childNodes;
|
|
291
291
|
for (const t of e)
|
|
@@ -340,7 +340,7 @@ const E = (n, e, ...t) => {
|
|
|
340
340
|
a.hasAttribute(f) && !["key", "ref", "style", "class"].includes(f) && (d.$attrs$[f] = a[f]);
|
|
341
341
|
d.$tag$ = null, d.$flags$ |= 4, n.$vnode$ = d, d.$elm$ = c.$elm$ = a.shadowRoot || a, lt = a["s-sc"], er = a["s-cr"], As = (l.$flags$ & 1) !== 0, ln = !1, ct(c, d, t);
|
|
342
342
|
{
|
|
343
|
-
if (le.$flags$ |= 1,
|
|
343
|
+
if (le.$flags$ |= 1, Dr) {
|
|
344
344
|
_s(d.$elm$);
|
|
345
345
|
for (const f of ze) {
|
|
346
346
|
const h = f.$nodeToRelocate$;
|
|
@@ -488,10 +488,10 @@ const E = (n, e, ...t) => {
|
|
|
488
488
|
if (!(e.$flags$ & 32) && (e.$flags$ |= 32, i = n.constructor, customElements.whenDefined(t.$tagName$).then(() => e.$flags$ |= 128), i.style)) {
|
|
489
489
|
let o = i.style;
|
|
490
490
|
typeof o != "string" && (o = o[e.$modeName$ = B1(n)]);
|
|
491
|
-
const u =
|
|
491
|
+
const u = Ds(t, e.$modeName$);
|
|
492
492
|
if (!fn.has(u)) {
|
|
493
493
|
const a = tt("registerStyles", t.$tagName$);
|
|
494
|
-
|
|
494
|
+
D1(u, o, !!(t.$flags$ & 1)), a();
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
497
|
e.$ancestorComponent$, Us(e, !0);
|
|
@@ -515,7 +515,7 @@ const E = (n, e, ...t) => {
|
|
|
515
515
|
const e = _t(n);
|
|
516
516
|
e.$rmListeners$ && (e.$rmListeners$.map((t) => t()), e.$rmListeners$ = void 0);
|
|
517
517
|
}
|
|
518
|
-
},
|
|
518
|
+
}, ge = (n, e) => {
|
|
519
519
|
const t = {
|
|
520
520
|
$flags$: e[0],
|
|
521
521
|
$tagName$: e[1]
|
|
@@ -561,7 +561,7 @@ const E = (n, e, ...t) => {
|
|
|
561
561
|
$instanceValues$: /* @__PURE__ */ new Map()
|
|
562
562
|
};
|
|
563
563
|
return qs(n, t, e.$listeners$), js.set(n, t);
|
|
564
|
-
}, yi = (n, e) => e in n, Ft = (n, e) => (0, console.error)(n, e), fn = /* @__PURE__ */ new Map(), tg = [], In = typeof window < "u" ? window : {}, Be = In.document || { head: {} },
|
|
564
|
+
}, yi = (n, e) => e in n, Ft = (n, e) => (0, console.error)(n, e), fn = /* @__PURE__ */ new Map(), tg = [], In = typeof window < "u" ? window : {}, Be = In.document || { head: {} }, me = In.HTMLElement || class {
|
|
565
565
|
}, le = {
|
|
566
566
|
$flags$: 0,
|
|
567
567
|
$resourcesUrl$: "",
|
|
@@ -632,7 +632,7 @@ function ki(n) {
|
|
|
632
632
|
s.push(dg(n, u, u + o > a ? a : u + o));
|
|
633
633
|
return r === 1 ? (e = n[t - 1], i += Pe[e >> 2], i += Pe[e << 4 & 63], i += "==") : r === 2 && (e = (n[t - 2] << 8) + n[t - 1], i += Pe[e >> 10], i += Pe[e >> 4 & 63], i += Pe[e << 2 & 63], i += "="), s.push(i), s.join("");
|
|
634
634
|
}
|
|
635
|
-
function
|
|
635
|
+
function Dn(n, e, t, r, i) {
|
|
636
636
|
var s, o, u = i * 8 - r - 1, a = (1 << u) - 1, l = a >> 1, c = -7, d = t ? i - 1 : 0, f = t ? -1 : 1, h = n[e + d];
|
|
637
637
|
for (d += f, s = h & (1 << -c) - 1, h >>= -c, c += u; c > 0; s = s * 256 + n[e + d], d += f, c -= 8)
|
|
638
638
|
;
|
|
@@ -1203,18 +1203,18 @@ S.prototype.readInt32BE = function(e, t) {
|
|
|
1203
1203
|
return t || se(e, 4, this.length), this[e] << 24 | this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3];
|
|
1204
1204
|
};
|
|
1205
1205
|
S.prototype.readFloatLE = function(e, t) {
|
|
1206
|
-
return t || se(e, 4, this.length),
|
|
1206
|
+
return t || se(e, 4, this.length), Dn(this, e, !0, 23, 4);
|
|
1207
1207
|
};
|
|
1208
1208
|
S.prototype.readFloatBE = function(e, t) {
|
|
1209
|
-
return t || se(e, 4, this.length),
|
|
1209
|
+
return t || se(e, 4, this.length), Dn(this, e, !1, 23, 4);
|
|
1210
1210
|
};
|
|
1211
1211
|
S.prototype.readDoubleLE = function(e, t) {
|
|
1212
|
-
return t || se(e, 8, this.length),
|
|
1212
|
+
return t || se(e, 8, this.length), Dn(this, e, !0, 52, 8);
|
|
1213
1213
|
};
|
|
1214
1214
|
S.prototype.readDoubleBE = function(e, t) {
|
|
1215
|
-
return t || se(e, 8, this.length),
|
|
1215
|
+
return t || se(e, 8, this.length), Dn(this, e, !1, 52, 8);
|
|
1216
1216
|
};
|
|
1217
|
-
function
|
|
1217
|
+
function be(n, e, t, r, i, s) {
|
|
1218
1218
|
if (!Fe(n)) throw new TypeError('"buffer" argument must be a Buffer instance');
|
|
1219
1219
|
if (e > i || e < s) throw new RangeError('"value" argument is out of bounds');
|
|
1220
1220
|
if (t + r > n.length) throw new RangeError("Index out of range");
|
|
@@ -1222,7 +1222,7 @@ function me(n, e, t, r, i, s) {
|
|
|
1222
1222
|
S.prototype.writeUIntLE = function(e, t, r, i) {
|
|
1223
1223
|
if (e = +e, t = t | 0, r = r | 0, !i) {
|
|
1224
1224
|
var s = Math.pow(2, 8 * r) - 1;
|
|
1225
|
-
|
|
1225
|
+
be(this, e, t, r, s, 0);
|
|
1226
1226
|
}
|
|
1227
1227
|
var o = 1, u = 0;
|
|
1228
1228
|
for (this[t] = e & 255; ++u < r && (o *= 256); )
|
|
@@ -1232,7 +1232,7 @@ S.prototype.writeUIntLE = function(e, t, r, i) {
|
|
|
1232
1232
|
S.prototype.writeUIntBE = function(e, t, r, i) {
|
|
1233
1233
|
if (e = +e, t = t | 0, r = r | 0, !i) {
|
|
1234
1234
|
var s = Math.pow(2, 8 * r) - 1;
|
|
1235
|
-
|
|
1235
|
+
be(this, e, t, r, s, 0);
|
|
1236
1236
|
}
|
|
1237
1237
|
var o = r - 1, u = 1;
|
|
1238
1238
|
for (this[t + o] = e & 255; --o >= 0 && (u *= 256); )
|
|
@@ -1240,18 +1240,18 @@ S.prototype.writeUIntBE = function(e, t, r, i) {
|
|
|
1240
1240
|
return t + r;
|
|
1241
1241
|
};
|
|
1242
1242
|
S.prototype.writeUInt8 = function(e, t, r) {
|
|
1243
|
-
return e = +e, t = t | 0, r ||
|
|
1243
|
+
return e = +e, t = t | 0, r || be(this, e, t, 1, 255, 0), S.TYPED_ARRAY_SUPPORT || (e = Math.floor(e)), this[t] = e & 255, t + 1;
|
|
1244
1244
|
};
|
|
1245
|
-
function
|
|
1245
|
+
function On(n, e, t, r) {
|
|
1246
1246
|
e < 0 && (e = 65535 + e + 1);
|
|
1247
1247
|
for (var i = 0, s = Math.min(n.length - t, 2); i < s; ++i)
|
|
1248
1248
|
n[t + i] = (e & 255 << 8 * (r ? i : 1 - i)) >>> (r ? i : 1 - i) * 8;
|
|
1249
1249
|
}
|
|
1250
1250
|
S.prototype.writeUInt16LE = function(e, t, r) {
|
|
1251
|
-
return e = +e, t = t | 0, r ||
|
|
1251
|
+
return e = +e, t = t | 0, r || be(this, e, t, 2, 65535, 0), S.TYPED_ARRAY_SUPPORT ? (this[t] = e & 255, this[t + 1] = e >>> 8) : On(this, e, t, !0), t + 2;
|
|
1252
1252
|
};
|
|
1253
1253
|
S.prototype.writeUInt16BE = function(e, t, r) {
|
|
1254
|
-
return e = +e, t = t | 0, r ||
|
|
1254
|
+
return e = +e, t = t | 0, r || be(this, e, t, 2, 65535, 0), S.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 8, this[t + 1] = e & 255) : On(this, e, t, !1), t + 2;
|
|
1255
1255
|
};
|
|
1256
1256
|
function Mn(n, e, t, r) {
|
|
1257
1257
|
e < 0 && (e = 4294967295 + e + 1);
|
|
@@ -1259,15 +1259,15 @@ function Mn(n, e, t, r) {
|
|
|
1259
1259
|
n[t + i] = e >>> (r ? i : 3 - i) * 8 & 255;
|
|
1260
1260
|
}
|
|
1261
1261
|
S.prototype.writeUInt32LE = function(e, t, r) {
|
|
1262
|
-
return e = +e, t = t | 0, r ||
|
|
1262
|
+
return e = +e, t = t | 0, r || be(this, e, t, 4, 4294967295, 0), S.TYPED_ARRAY_SUPPORT ? (this[t + 3] = e >>> 24, this[t + 2] = e >>> 16, this[t + 1] = e >>> 8, this[t] = e & 255) : Mn(this, e, t, !0), t + 4;
|
|
1263
1263
|
};
|
|
1264
1264
|
S.prototype.writeUInt32BE = function(e, t, r) {
|
|
1265
|
-
return e = +e, t = t | 0, r ||
|
|
1265
|
+
return e = +e, t = t | 0, r || be(this, e, t, 4, 4294967295, 0), S.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = e & 255) : Mn(this, e, t, !1), t + 4;
|
|
1266
1266
|
};
|
|
1267
1267
|
S.prototype.writeIntLE = function(e, t, r, i) {
|
|
1268
1268
|
if (e = +e, t = t | 0, !i) {
|
|
1269
1269
|
var s = Math.pow(2, 8 * r - 1);
|
|
1270
|
-
|
|
1270
|
+
be(this, e, t, r, s - 1, -s);
|
|
1271
1271
|
}
|
|
1272
1272
|
var o = 0, u = 1, a = 0;
|
|
1273
1273
|
for (this[t] = e & 255; ++o < r && (u *= 256); )
|
|
@@ -1277,7 +1277,7 @@ S.prototype.writeIntLE = function(e, t, r, i) {
|
|
|
1277
1277
|
S.prototype.writeIntBE = function(e, t, r, i) {
|
|
1278
1278
|
if (e = +e, t = t | 0, !i) {
|
|
1279
1279
|
var s = Math.pow(2, 8 * r - 1);
|
|
1280
|
-
|
|
1280
|
+
be(this, e, t, r, s - 1, -s);
|
|
1281
1281
|
}
|
|
1282
1282
|
var o = r - 1, u = 1, a = 0;
|
|
1283
1283
|
for (this[t + o] = e & 255; --o >= 0 && (u *= 256); )
|
|
@@ -1285,19 +1285,19 @@ S.prototype.writeIntBE = function(e, t, r, i) {
|
|
|
1285
1285
|
return t + r;
|
|
1286
1286
|
};
|
|
1287
1287
|
S.prototype.writeInt8 = function(e, t, r) {
|
|
1288
|
-
return e = +e, t = t | 0, r ||
|
|
1288
|
+
return e = +e, t = t | 0, r || be(this, e, t, 1, 127, -128), S.TYPED_ARRAY_SUPPORT || (e = Math.floor(e)), e < 0 && (e = 255 + e + 1), this[t] = e & 255, t + 1;
|
|
1289
1289
|
};
|
|
1290
1290
|
S.prototype.writeInt16LE = function(e, t, r) {
|
|
1291
|
-
return e = +e, t = t | 0, r ||
|
|
1291
|
+
return e = +e, t = t | 0, r || be(this, e, t, 2, 32767, -32768), S.TYPED_ARRAY_SUPPORT ? (this[t] = e & 255, this[t + 1] = e >>> 8) : On(this, e, t, !0), t + 2;
|
|
1292
1292
|
};
|
|
1293
1293
|
S.prototype.writeInt16BE = function(e, t, r) {
|
|
1294
|
-
return e = +e, t = t | 0, r ||
|
|
1294
|
+
return e = +e, t = t | 0, r || be(this, e, t, 2, 32767, -32768), S.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 8, this[t + 1] = e & 255) : On(this, e, t, !1), t + 2;
|
|
1295
1295
|
};
|
|
1296
1296
|
S.prototype.writeInt32LE = function(e, t, r) {
|
|
1297
|
-
return e = +e, t = t | 0, r ||
|
|
1297
|
+
return e = +e, t = t | 0, r || be(this, e, t, 4, 2147483647, -2147483648), S.TYPED_ARRAY_SUPPORT ? (this[t] = e & 255, this[t + 1] = e >>> 8, this[t + 2] = e >>> 16, this[t + 3] = e >>> 24) : Mn(this, e, t, !0), t + 4;
|
|
1298
1298
|
};
|
|
1299
1299
|
S.prototype.writeInt32BE = function(e, t, r) {
|
|
1300
|
-
return e = +e, t = t | 0, r ||
|
|
1300
|
+
return e = +e, t = t | 0, r || be(this, e, t, 4, 2147483647, -2147483648), e < 0 && (e = 4294967295 + e + 1), S.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = e & 255) : Mn(this, e, t, !1), t + 4;
|
|
1301
1301
|
};
|
|
1302
1302
|
function Xs(n, e, t, r, i, s) {
|
|
1303
1303
|
if (t + r > n.length) throw new RangeError("Index out of range");
|
|
@@ -1371,13 +1371,13 @@ S.prototype.fill = function(e, t, r, i) {
|
|
|
1371
1371
|
return this;
|
|
1372
1372
|
};
|
|
1373
1373
|
var Ig = /[^+\/0-9A-Za-z-_]/g;
|
|
1374
|
-
function
|
|
1375
|
-
if (n =
|
|
1374
|
+
function Dg(n) {
|
|
1375
|
+
if (n = Og(n).replace(Ig, ""), n.length < 2) return "";
|
|
1376
1376
|
for (; n.length % 4 !== 0; )
|
|
1377
1377
|
n = n + "=";
|
|
1378
1378
|
return n;
|
|
1379
1379
|
}
|
|
1380
|
-
function
|
|
1380
|
+
function Og(n) {
|
|
1381
1381
|
return n.trim ? n.trim() : n.replace(/^\s+|\s+$/g, "");
|
|
1382
1382
|
}
|
|
1383
1383
|
function Mg(n) {
|
|
@@ -1444,7 +1444,7 @@ function Ng(n, e) {
|
|
|
1444
1444
|
return s;
|
|
1445
1445
|
}
|
|
1446
1446
|
function no(n) {
|
|
1447
|
-
return lg(
|
|
1447
|
+
return lg(Dg(n));
|
|
1448
1448
|
}
|
|
1449
1449
|
function Rn(n, e, t, r) {
|
|
1450
1450
|
for (var i = 0; i < r && !(i + t >= e.length || i >= n.length); ++i)
|
|
@@ -1485,12 +1485,12 @@ var Fg = { exports: {} };
|
|
|
1485
1485
|
var t = 1e3, r = 6e4, i = 36e5, s = "millisecond", o = "second", u = "minute", a = "hour", l = "day", c = "week", d = "month", f = "quarter", h = "year", b = "date", w = "Invalid Date", g = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, B = /\[([^\]]+)]|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(k) {
|
|
1486
1486
|
var v = ["th", "st", "nd", "rd"], p = k % 100;
|
|
1487
1487
|
return "[" + k + (v[(p - 20) % 10] || v[p] || v[0]) + "]";
|
|
1488
|
-
} },
|
|
1488
|
+
} }, z = function(k, v, p) {
|
|
1489
1489
|
var x = String(k);
|
|
1490
1490
|
return !x || x.length >= v ? k : "" + Array(v + 1 - x.length).join(p) + k;
|
|
1491
|
-
},
|
|
1491
|
+
}, O = { s: z, z: function(k) {
|
|
1492
1492
|
var v = -k.utcOffset(), p = Math.abs(v), x = Math.floor(p / 60), m = p % 60;
|
|
1493
|
-
return (v <= 0 ? "+" : "-") +
|
|
1493
|
+
return (v <= 0 ? "+" : "-") + z(x, 2, "0") + ":" + z(m, 2, "0");
|
|
1494
1494
|
}, m: function k(v, p) {
|
|
1495
1495
|
if (v.date() < p.date()) return -k(p, v);
|
|
1496
1496
|
var x = 12 * (p.year() - v.year()) + (p.month() - v.month()), m = v.clone().add(x, d), $ = p - m < 0, I = v.clone().add(x + ($ ? -1 : 1), d);
|
|
@@ -1501,13 +1501,13 @@ var Fg = { exports: {} };
|
|
|
1501
1501
|
return { M: d, y: h, w: c, d: l, D: b, h: a, m: u, s: o, ms: s, Q: f }[k] || String(k || "").toLowerCase().replace(/s$/, "");
|
|
1502
1502
|
}, u: function(k) {
|
|
1503
1503
|
return k === void 0;
|
|
1504
|
-
} },
|
|
1505
|
-
U[
|
|
1504
|
+
} }, P = "en", U = {};
|
|
1505
|
+
U[P] = M;
|
|
1506
1506
|
var G = function(k) {
|
|
1507
1507
|
return k instanceof y;
|
|
1508
1508
|
}, Z = function k(v, p, x) {
|
|
1509
1509
|
var m;
|
|
1510
|
-
if (!v) return
|
|
1510
|
+
if (!v) return P;
|
|
1511
1511
|
if (typeof v == "string") {
|
|
1512
1512
|
var $ = v.toLowerCase();
|
|
1513
1513
|
U[$] && (m = $), p && (U[$] = p, m = $);
|
|
@@ -1517,14 +1517,14 @@ var Fg = { exports: {} };
|
|
|
1517
1517
|
var R = v.name;
|
|
1518
1518
|
U[R] = v, m = R;
|
|
1519
1519
|
}
|
|
1520
|
-
return !x && m && (
|
|
1521
|
-
},
|
|
1520
|
+
return !x && m && (P = m), m || !x && P;
|
|
1521
|
+
}, Y = function(k, v) {
|
|
1522
1522
|
if (G(k)) return k.clone();
|
|
1523
1523
|
var p = typeof v == "object" ? v : {};
|
|
1524
1524
|
return p.date = k, p.args = arguments, new y(p);
|
|
1525
|
-
},
|
|
1526
|
-
|
|
1527
|
-
return
|
|
1525
|
+
}, F = O;
|
|
1526
|
+
F.l = Z, F.i = G, F.w = function(k, v) {
|
|
1527
|
+
return Y(k, { locale: v.$L, utc: v.$u, x: v.$x, $offset: v.$offset });
|
|
1528
1528
|
};
|
|
1529
1529
|
var y = function() {
|
|
1530
1530
|
function k(p) {
|
|
@@ -1535,13 +1535,13 @@ var Fg = { exports: {} };
|
|
|
1535
1535
|
this.$d = function(x) {
|
|
1536
1536
|
var m = x.date, $ = x.utc;
|
|
1537
1537
|
if (m === null) return /* @__PURE__ */ new Date(NaN);
|
|
1538
|
-
if (
|
|
1538
|
+
if (F.u(m)) return /* @__PURE__ */ new Date();
|
|
1539
1539
|
if (m instanceof Date) return new Date(m);
|
|
1540
1540
|
if (typeof m == "string" && !/Z$/i.test(m)) {
|
|
1541
1541
|
var I = m.match(g);
|
|
1542
1542
|
if (I) {
|
|
1543
|
-
var R = I[2] - 1 || 0,
|
|
1544
|
-
return $ ? new Date(Date.UTC(I[1], R, I[3] || 1, I[4] || 0, I[5] || 0, I[6] || 0,
|
|
1543
|
+
var R = I[2] - 1 || 0, L = (I[7] || "0").substring(0, 3);
|
|
1544
|
+
return $ ? new Date(Date.UTC(I[1], R, I[3] || 1, I[4] || 0, I[5] || 0, I[6] || 0, L)) : new Date(I[1], R, I[3] || 1, I[4] || 0, I[5] || 0, I[6] || 0, L);
|
|
1545
1545
|
}
|
|
1546
1546
|
}
|
|
1547
1547
|
return new Date(m);
|
|
@@ -1550,28 +1550,28 @@ var Fg = { exports: {} };
|
|
|
1550
1550
|
var p = this.$d;
|
|
1551
1551
|
this.$y = p.getFullYear(), this.$M = p.getMonth(), this.$D = p.getDate(), this.$W = p.getDay(), this.$H = p.getHours(), this.$m = p.getMinutes(), this.$s = p.getSeconds(), this.$ms = p.getMilliseconds();
|
|
1552
1552
|
}, v.$utils = function() {
|
|
1553
|
-
return
|
|
1553
|
+
return F;
|
|
1554
1554
|
}, v.isValid = function() {
|
|
1555
1555
|
return this.$d.toString() !== w;
|
|
1556
1556
|
}, v.isSame = function(p, x) {
|
|
1557
|
-
var m =
|
|
1557
|
+
var m = Y(p);
|
|
1558
1558
|
return this.startOf(x) <= m && m <= this.endOf(x);
|
|
1559
1559
|
}, v.isAfter = function(p, x) {
|
|
1560
|
-
return
|
|
1560
|
+
return Y(p) < this.startOf(x);
|
|
1561
1561
|
}, v.isBefore = function(p, x) {
|
|
1562
|
-
return this.endOf(x) <
|
|
1562
|
+
return this.endOf(x) < Y(p);
|
|
1563
1563
|
}, v.$g = function(p, x, m) {
|
|
1564
|
-
return
|
|
1564
|
+
return F.u(p) ? this[x] : this.set(m, p);
|
|
1565
1565
|
}, v.unix = function() {
|
|
1566
1566
|
return Math.floor(this.valueOf() / 1e3);
|
|
1567
1567
|
}, v.valueOf = function() {
|
|
1568
1568
|
return this.$d.getTime();
|
|
1569
1569
|
}, v.startOf = function(p, x) {
|
|
1570
|
-
var m = this, $ = !!
|
|
1571
|
-
var
|
|
1572
|
-
return $ ?
|
|
1573
|
-
},
|
|
1574
|
-
return
|
|
1570
|
+
var m = this, $ = !!F.u(x) || x, I = F.p(p), R = function(re, oe) {
|
|
1571
|
+
var De = F.w(m.$u ? Date.UTC(m.$y, oe, re) : new Date(m.$y, oe, re), m);
|
|
1572
|
+
return $ ? De : De.endOf(l);
|
|
1573
|
+
}, L = function(re, oe) {
|
|
1574
|
+
return F.w(m.toDate()[re].apply(m.toDate("s"), ($ ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(oe)), m);
|
|
1575
1575
|
}, N = this.$W, te = this.$M, H = this.$D, q = "set" + (this.$u ? "UTC" : "");
|
|
1576
1576
|
switch (I) {
|
|
1577
1577
|
case h:
|
|
@@ -1579,67 +1579,67 @@ var Fg = { exports: {} };
|
|
|
1579
1579
|
case d:
|
|
1580
1580
|
return $ ? R(1, te) : R(0, te + 1);
|
|
1581
1581
|
case c:
|
|
1582
|
-
var
|
|
1582
|
+
var ye = this.$locale().weekStart || 0, ce = (N < ye ? N + 7 : N) - ye;
|
|
1583
1583
|
return R($ ? H - ce : H + (6 - ce), te);
|
|
1584
1584
|
case l:
|
|
1585
1585
|
case b:
|
|
1586
|
-
return
|
|
1586
|
+
return L(q + "Hours", 0);
|
|
1587
1587
|
case a:
|
|
1588
|
-
return
|
|
1588
|
+
return L(q + "Minutes", 1);
|
|
1589
1589
|
case u:
|
|
1590
|
-
return
|
|
1590
|
+
return L(q + "Seconds", 2);
|
|
1591
1591
|
case o:
|
|
1592
|
-
return
|
|
1592
|
+
return L(q + "Milliseconds", 3);
|
|
1593
1593
|
default:
|
|
1594
1594
|
return this.clone();
|
|
1595
1595
|
}
|
|
1596
1596
|
}, v.endOf = function(p) {
|
|
1597
1597
|
return this.startOf(p, !1);
|
|
1598
1598
|
}, v.$set = function(p, x) {
|
|
1599
|
-
var m, $ =
|
|
1599
|
+
var m, $ = F.p(p), I = "set" + (this.$u ? "UTC" : ""), R = (m = {}, m[l] = I + "Date", m[b] = I + "Date", m[d] = I + "Month", m[h] = I + "FullYear", m[a] = I + "Hours", m[u] = I + "Minutes", m[o] = I + "Seconds", m[s] = I + "Milliseconds", m)[$], L = $ === l ? this.$D + (x - this.$W) : x;
|
|
1600
1600
|
if ($ === d || $ === h) {
|
|
1601
1601
|
var N = this.clone().set(b, 1);
|
|
1602
|
-
N.$d[R](
|
|
1603
|
-
} else R && this.$d[R](
|
|
1602
|
+
N.$d[R](L), N.init(), this.$d = N.set(b, Math.min(this.$D, N.daysInMonth())).$d;
|
|
1603
|
+
} else R && this.$d[R](L);
|
|
1604
1604
|
return this.init(), this;
|
|
1605
1605
|
}, v.set = function(p, x) {
|
|
1606
1606
|
return this.clone().$set(p, x);
|
|
1607
1607
|
}, v.get = function(p) {
|
|
1608
|
-
return this[
|
|
1608
|
+
return this[F.p(p)]();
|
|
1609
1609
|
}, v.add = function(p, x) {
|
|
1610
1610
|
var m, $ = this;
|
|
1611
1611
|
p = Number(p);
|
|
1612
|
-
var I =
|
|
1613
|
-
var H =
|
|
1614
|
-
return
|
|
1612
|
+
var I = F.p(x), R = function(te) {
|
|
1613
|
+
var H = Y($);
|
|
1614
|
+
return F.w(H.date(H.date() + Math.round(te * p)), $);
|
|
1615
1615
|
};
|
|
1616
1616
|
if (I === d) return this.set(d, this.$M + p);
|
|
1617
1617
|
if (I === h) return this.set(h, this.$y + p);
|
|
1618
1618
|
if (I === l) return R(1);
|
|
1619
1619
|
if (I === c) return R(7);
|
|
1620
|
-
var
|
|
1621
|
-
return
|
|
1620
|
+
var L = (m = {}, m[u] = r, m[a] = i, m[o] = t, m)[I] || 1, N = this.$d.getTime() + p * L;
|
|
1621
|
+
return F.w(N, this);
|
|
1622
1622
|
}, v.subtract = function(p, x) {
|
|
1623
1623
|
return this.add(-1 * p, x);
|
|
1624
1624
|
}, v.format = function(p) {
|
|
1625
1625
|
var x = this, m = this.$locale();
|
|
1626
1626
|
if (!this.isValid()) return m.invalidDate || w;
|
|
1627
|
-
var $ = p || "YYYY-MM-DDTHH:mm:ssZ", I =
|
|
1628
|
-
return oe && (oe[
|
|
1629
|
-
},
|
|
1630
|
-
return
|
|
1631
|
-
}, ce = m.meridiem || function(oe,
|
|
1627
|
+
var $ = p || "YYYY-MM-DDTHH:mm:ssZ", I = F.z(this), R = this.$H, L = this.$m, N = this.$M, te = m.weekdays, H = m.months, q = function(oe, De, zn, Ht) {
|
|
1628
|
+
return oe && (oe[De] || oe(x, $)) || zn[De].slice(0, Ht);
|
|
1629
|
+
}, ye = function(oe) {
|
|
1630
|
+
return F.s(R % 12 || 12, oe, "0");
|
|
1631
|
+
}, ce = m.meridiem || function(oe, De, zn) {
|
|
1632
1632
|
var Ht = oe < 12 ? "AM" : "PM";
|
|
1633
1633
|
return zn ? Ht.toLowerCase() : Ht;
|
|
1634
|
-
}, re = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: N + 1, MM:
|
|
1635
|
-
return $.replace(B, function(oe,
|
|
1636
|
-
return
|
|
1634
|
+
}, re = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: N + 1, MM: F.s(N + 1, 2, "0"), MMM: q(m.monthsShort, N, H, 3), MMMM: q(H, N), D: this.$D, DD: F.s(this.$D, 2, "0"), d: String(this.$W), dd: q(m.weekdaysMin, this.$W, te, 2), ddd: q(m.weekdaysShort, this.$W, te, 3), dddd: te[this.$W], H: String(R), HH: F.s(R, 2, "0"), h: ye(1), hh: ye(2), a: ce(R, L, !0), A: ce(R, L, !1), m: String(L), mm: F.s(L, 2, "0"), s: String(this.$s), ss: F.s(this.$s, 2, "0"), SSS: F.s(this.$ms, 3, "0"), Z: I };
|
|
1635
|
+
return $.replace(B, function(oe, De) {
|
|
1636
|
+
return De || re[oe] || I.replace(":", "");
|
|
1637
1637
|
});
|
|
1638
1638
|
}, v.utcOffset = function() {
|
|
1639
1639
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
1640
1640
|
}, v.diff = function(p, x, m) {
|
|
1641
|
-
var $, I =
|
|
1642
|
-
return te = ($ = {}, $[h] = te / 12, $[d] = te, $[f] = te / 3, $[c] = (N -
|
|
1641
|
+
var $, I = F.p(x), R = Y(p), L = (R.utcOffset() - this.utcOffset()) * r, N = this - R, te = F.m(this, R);
|
|
1642
|
+
return te = ($ = {}, $[h] = te / 12, $[d] = te, $[f] = te / 3, $[c] = (N - L) / 6048e5, $[l] = (N - L) / 864e5, $[a] = N / i, $[u] = N / r, $[o] = N / t, $)[I] || N, m ? te : F.a(te);
|
|
1643
1643
|
}, v.daysInMonth = function() {
|
|
1644
1644
|
return this.endOf(d).$D;
|
|
1645
1645
|
}, v.$locale = function() {
|
|
@@ -1649,7 +1649,7 @@ var Fg = { exports: {} };
|
|
|
1649
1649
|
var m = this.clone(), $ = Z(p, x, !0);
|
|
1650
1650
|
return $ && (m.$L = $), m;
|
|
1651
1651
|
}, v.clone = function() {
|
|
1652
|
-
return
|
|
1652
|
+
return F.w(this.$d, this);
|
|
1653
1653
|
}, v.toDate = function() {
|
|
1654
1654
|
return new Date(this.valueOf());
|
|
1655
1655
|
}, v.toJSON = function() {
|
|
@@ -1660,15 +1660,15 @@ var Fg = { exports: {} };
|
|
|
1660
1660
|
return this.$d.toUTCString();
|
|
1661
1661
|
}, k;
|
|
1662
1662
|
}(), C = y.prototype;
|
|
1663
|
-
return
|
|
1663
|
+
return Y.prototype = C, [["$ms", s], ["$s", o], ["$m", u], ["$H", a], ["$W", l], ["$M", d], ["$y", h], ["$D", b]].forEach(function(k) {
|
|
1664
1664
|
C[k[1]] = function(v) {
|
|
1665
1665
|
return this.$g(v, k[0], k[1]);
|
|
1666
1666
|
};
|
|
1667
|
-
}),
|
|
1668
|
-
return k.$i || (k(v, y,
|
|
1669
|
-
},
|
|
1670
|
-
return
|
|
1671
|
-
},
|
|
1667
|
+
}), Y.extend = function(k, v) {
|
|
1668
|
+
return k.$i || (k(v, y, Y), k.$i = !0), Y;
|
|
1669
|
+
}, Y.locale = Z, Y.isDayjs = G, Y.unix = function(k) {
|
|
1670
|
+
return Y(1e3 * k);
|
|
1671
|
+
}, Y.en = U[P], Y.Ls = U, Y.p = {}, Y;
|
|
1672
1672
|
});
|
|
1673
1673
|
})(Fg);
|
|
1674
1674
|
var sr = [
|
|
@@ -1951,7 +1951,7 @@ var Ii = (
|
|
|
1951
1951
|
december: /^dec(ember)?/i,
|
|
1952
1952
|
comma: /^(,\s*|(and|or)\s*)+/i
|
|
1953
1953
|
}
|
|
1954
|
-
},
|
|
1954
|
+
}, Di = function(n, e) {
|
|
1955
1955
|
return n.indexOf(e) !== -1;
|
|
1956
1956
|
}, Wg = function(n) {
|
|
1957
1957
|
return n.toString();
|
|
@@ -1993,9 +1993,9 @@ var Ii = (
|
|
|
1993
1993
|
if (!(e.options.freq in n.IMPLEMENTED) || e.origOptions.until && e.origOptions.count)
|
|
1994
1994
|
return !1;
|
|
1995
1995
|
for (var r in e.origOptions) {
|
|
1996
|
-
if (
|
|
1996
|
+
if (Di(["dtstart", "wkst", "freq"], r))
|
|
1997
1997
|
return !0;
|
|
1998
|
-
if (!
|
|
1998
|
+
if (!Di(n.IMPLEMENTED[e.options.freq], r))
|
|
1999
1999
|
return !1;
|
|
2000
2000
|
}
|
|
2001
2001
|
return t;
|
|
@@ -2005,7 +2005,7 @@ var Ii = (
|
|
|
2005
2005
|
var e = this.gettext;
|
|
2006
2006
|
if (!(this.options.freq in n.IMPLEMENTED))
|
|
2007
2007
|
return e("RRule error: Unable to fully convert this rrule to text");
|
|
2008
|
-
if (this.text = [e("every")], this[
|
|
2008
|
+
if (this.text = [e("every")], this[_.FREQUENCIES[this.options.freq]](), this.options.until) {
|
|
2009
2009
|
this.add(e("until"));
|
|
2010
2010
|
var t = this.options.until;
|
|
2011
2011
|
this.add(this.dateFormatter(t.getUTCFullYear(), this.language.monthNames[t.getUTCMonth()], t.getUTCDate()));
|
|
@@ -2150,25 +2150,25 @@ function co(n, e) {
|
|
|
2150
2150
|
throw new Error("Unexpected end");
|
|
2151
2151
|
switch (r.symbol) {
|
|
2152
2152
|
case "day(s)":
|
|
2153
|
-
t.freq =
|
|
2153
|
+
t.freq = _.DAILY, r.nextSymbol() && (o(), d());
|
|
2154
2154
|
break;
|
|
2155
2155
|
case "weekday(s)":
|
|
2156
|
-
t.freq =
|
|
2156
|
+
t.freq = _.WEEKLY, t.byweekday = [_.MO, _.TU, _.WE, _.TH, _.FR], r.nextSymbol(), d();
|
|
2157
2157
|
break;
|
|
2158
2158
|
case "week(s)":
|
|
2159
|
-
t.freq =
|
|
2159
|
+
t.freq = _.WEEKLY, r.nextSymbol() && (s(), d());
|
|
2160
2160
|
break;
|
|
2161
2161
|
case "hour(s)":
|
|
2162
|
-
t.freq =
|
|
2162
|
+
t.freq = _.HOURLY, r.nextSymbol() && (s(), d());
|
|
2163
2163
|
break;
|
|
2164
2164
|
case "minute(s)":
|
|
2165
|
-
t.freq =
|
|
2165
|
+
t.freq = _.MINUTELY, r.nextSymbol() && (s(), d());
|
|
2166
2166
|
break;
|
|
2167
2167
|
case "month(s)":
|
|
2168
|
-
t.freq =
|
|
2168
|
+
t.freq = _.MONTHLY, r.nextSymbol() && (s(), d());
|
|
2169
2169
|
break;
|
|
2170
2170
|
case "year(s)":
|
|
2171
|
-
t.freq =
|
|
2171
|
+
t.freq = _.YEARLY, r.nextSymbol() && (s(), d());
|
|
2172
2172
|
break;
|
|
2173
2173
|
case "monday":
|
|
2174
2174
|
case "tuesday":
|
|
@@ -2177,9 +2177,9 @@ function co(n, e) {
|
|
|
2177
2177
|
case "friday":
|
|
2178
2178
|
case "saturday":
|
|
2179
2179
|
case "sunday":
|
|
2180
|
-
t.freq =
|
|
2180
|
+
t.freq = _.WEEKLY;
|
|
2181
2181
|
var h = r.symbol.substr(0, 2).toUpperCase();
|
|
2182
|
-
if (t.byweekday = [
|
|
2182
|
+
if (t.byweekday = [_[h]], !r.nextSymbol())
|
|
2183
2183
|
return;
|
|
2184
2184
|
for (; r.accept("comma"); ) {
|
|
2185
2185
|
if (r.isDone())
|
|
@@ -2187,7 +2187,7 @@ function co(n, e) {
|
|
|
2187
2187
|
var b = a();
|
|
2188
2188
|
if (!b)
|
|
2189
2189
|
throw new Error("Unexpected symbol " + r.symbol + ", expected weekday");
|
|
2190
|
-
t.byweekday.push(
|
|
2190
|
+
t.byweekday.push(_[b]), r.nextSymbol();
|
|
2191
2191
|
}
|
|
2192
2192
|
c(), d();
|
|
2193
2193
|
break;
|
|
@@ -2203,7 +2203,7 @@ function co(n, e) {
|
|
|
2203
2203
|
case "october":
|
|
2204
2204
|
case "november":
|
|
2205
2205
|
case "december":
|
|
2206
|
-
if (t.freq =
|
|
2206
|
+
if (t.freq = _.YEARLY, t.bymonth = [u()], !r.nextSymbol())
|
|
2207
2207
|
return;
|
|
2208
2208
|
for (; r.accept("comma"); ) {
|
|
2209
2209
|
if (r.isDone())
|
|
@@ -2225,11 +2225,11 @@ function co(n, e) {
|
|
|
2225
2225
|
do {
|
|
2226
2226
|
var b = l(), w = a(), g = u();
|
|
2227
2227
|
if (b)
|
|
2228
|
-
w ? (r.nextSymbol(), t.byweekday || (t.byweekday = []), t.byweekday.push(
|
|
2228
|
+
w ? (r.nextSymbol(), t.byweekday || (t.byweekday = []), t.byweekday.push(_[w].nth(b))) : (t.bymonthday || (t.bymonthday = []), t.bymonthday.push(b), r.accept("day(s)"));
|
|
2229
2229
|
else if (w)
|
|
2230
|
-
r.nextSymbol(), t.byweekday || (t.byweekday = []), t.byweekday.push(
|
|
2230
|
+
r.nextSymbol(), t.byweekday || (t.byweekday = []), t.byweekday.push(_[w]);
|
|
2231
2231
|
else if (r.symbol === "weekday(s)")
|
|
2232
|
-
r.nextSymbol(), t.byweekday || (t.byweekday = [
|
|
2232
|
+
r.nextSymbol(), t.byweekday || (t.byweekday = [_.MO, _.TU, _.WE, _.TH, _.FR]);
|
|
2233
2233
|
else if (r.symbol === "week(s)") {
|
|
2234
2234
|
r.nextSymbol();
|
|
2235
2235
|
var B = r.acceptNumber();
|
|
@@ -2350,7 +2350,7 @@ function Ur(n) {
|
|
|
2350
2350
|
return n < V.HOURLY;
|
|
2351
2351
|
}
|
|
2352
2352
|
var Zg = function(n, e) {
|
|
2353
|
-
return e === void 0 && (e = pn), new
|
|
2353
|
+
return e === void 0 && (e = pn), new _(co(n, e) || void 0);
|
|
2354
2354
|
}, yt = [
|
|
2355
2355
|
"count",
|
|
2356
2356
|
"until",
|
|
@@ -2480,9 +2480,9 @@ function fo(n) {
|
|
|
2480
2480
|
}
|
|
2481
2481
|
function em(n) {
|
|
2482
2482
|
var e = ke(ke({}, qr), fo(n));
|
|
2483
|
-
if (ne(e.byeaster) && (e.freq =
|
|
2483
|
+
if (ne(e.byeaster) && (e.freq = _.YEARLY), !(ne(e.freq) && _.FREQUENCIES[e.freq]))
|
|
2484
2484
|
throw new Error("Invalid frequency: ".concat(e.freq, " ").concat(n.freq));
|
|
2485
|
-
if (e.dtstart || (e.dtstart = new Date((/* @__PURE__ */ new Date()).setMilliseconds(0))), ne(e.wkst) ? Me(e.wkst) || (e.wkst = e.wkst.weekday) : e.wkst =
|
|
2485
|
+
if (e.dtstart || (e.dtstart = new Date((/* @__PURE__ */ new Date()).setMilliseconds(0))), ne(e.wkst) ? Me(e.wkst) || (e.wkst = e.wkst.weekday) : e.wkst = _.MO.weekday, ne(e.bysetpos)) {
|
|
2486
2486
|
Me(e.bysetpos) && (e.bysetpos = [e.bysetpos]);
|
|
2487
2487
|
for (var t = 0; t < e.bysetpos.length; t++) {
|
|
2488
2488
|
var r = e.bysetpos[t];
|
|
@@ -2492,13 +2492,13 @@ function em(n) {
|
|
|
2492
2492
|
}
|
|
2493
2493
|
if (!(e.byweekno || ie(e.byweekno) || ie(e.byyearday) || e.bymonthday || ie(e.bymonthday) || ne(e.byweekday) || ne(e.byeaster)))
|
|
2494
2494
|
switch (e.freq) {
|
|
2495
|
-
case
|
|
2495
|
+
case _.YEARLY:
|
|
2496
2496
|
e.bymonth || (e.bymonth = e.dtstart.getUTCMonth() + 1), e.bymonthday = e.dtstart.getUTCDate();
|
|
2497
2497
|
break;
|
|
2498
|
-
case
|
|
2498
|
+
case _.MONTHLY:
|
|
2499
2499
|
e.bymonthday = e.dtstart.getUTCDate();
|
|
2500
2500
|
break;
|
|
2501
|
-
case
|
|
2501
|
+
case _.WEEKLY:
|
|
2502
2502
|
e.byweekday = [pt(e.dtstart)];
|
|
2503
2503
|
break;
|
|
2504
2504
|
}
|
|
@@ -2518,7 +2518,7 @@ function em(n) {
|
|
|
2518
2518
|
else if ($i(e.byweekday))
|
|
2519
2519
|
e.byweekday = [de.fromStr(e.byweekday).weekday], e.bynweekday = null;
|
|
2520
2520
|
else if (e.byweekday instanceof de)
|
|
2521
|
-
!e.byweekday.n || e.freq >
|
|
2521
|
+
!e.byweekday.n || e.freq > _.MONTHLY ? (e.byweekday = [e.byweekday.weekday], e.bynweekday = null) : (e.bynweekday = [[e.byweekday.weekday, e.byweekday.n]], e.byweekday = null);
|
|
2522
2522
|
else {
|
|
2523
2523
|
for (var o = [], u = [], t = 0; t < e.byweekday.length; t++) {
|
|
2524
2524
|
var a = e.byweekday[t];
|
|
@@ -2529,11 +2529,11 @@ function em(n) {
|
|
|
2529
2529
|
o.push(de.fromStr(a).weekday);
|
|
2530
2530
|
continue;
|
|
2531
2531
|
}
|
|
2532
|
-
!a.n || e.freq >
|
|
2532
|
+
!a.n || e.freq > _.MONTHLY ? o.push(a.weekday) : u.push([a.weekday, a.n]);
|
|
2533
2533
|
}
|
|
2534
2534
|
e.byweekday = ie(o) ? o : null, e.bynweekday = ie(u) ? u : null;
|
|
2535
2535
|
}
|
|
2536
|
-
return ne(e.byhour) ? Me(e.byhour) && (e.byhour = [e.byhour]) : e.byhour = e.freq <
|
|
2536
|
+
return ne(e.byhour) ? Me(e.byhour) && (e.byhour = [e.byhour]) : e.byhour = e.freq < _.HOURLY ? [e.dtstart.getUTCHours()] : null, ne(e.byminute) ? Me(e.byminute) && (e.byminute = [e.byminute]) : e.byminute = e.freq < _.MINUTELY ? [e.dtstart.getUTCMinutes()] : null, ne(e.bysecond) ? Me(e.bysecond) && (e.bysecond = [e.bysecond]) : e.bysecond = e.freq < _.SECONDLY ? [e.dtstart.getUTCSeconds()] : null, { parsedOptions: e };
|
|
2537
2537
|
}
|
|
2538
2538
|
function tm(n) {
|
|
2539
2539
|
var e = n.dtstart.getTime() % 1e3;
|
|
@@ -2567,19 +2567,19 @@ function nm(n) {
|
|
|
2567
2567
|
return null;
|
|
2568
2568
|
var e = /^([A-Z]+?)[:;]/.exec(n.toUpperCase());
|
|
2569
2569
|
if (!e)
|
|
2570
|
-
return
|
|
2570
|
+
return Oi(n);
|
|
2571
2571
|
var t = e[1];
|
|
2572
2572
|
switch (t.toUpperCase()) {
|
|
2573
2573
|
case "RRULE":
|
|
2574
2574
|
case "EXRULE":
|
|
2575
|
-
return
|
|
2575
|
+
return Oi(n);
|
|
2576
2576
|
case "DTSTART":
|
|
2577
2577
|
return mn(n);
|
|
2578
2578
|
default:
|
|
2579
2579
|
throw new Error("Unsupported RFC prop ".concat(t, " in ").concat(n));
|
|
2580
2580
|
}
|
|
2581
2581
|
}
|
|
2582
|
-
function
|
|
2582
|
+
function Oi(n) {
|
|
2583
2583
|
var e = n.replace(/^RRULE:/i, ""), t = mn(e), r = n.replace(/^(?:RRULE|EXRULE):/i, "").split(";");
|
|
2584
2584
|
return r.forEach(function(i) {
|
|
2585
2585
|
var s = i.split("="), o = s[0], u = s[1];
|
|
@@ -2676,7 +2676,7 @@ function cr(n) {
|
|
|
2676
2676
|
if (!(!ne(u) || ve(u) && !u.length)) {
|
|
2677
2677
|
switch (o) {
|
|
2678
2678
|
case "FREQ":
|
|
2679
|
-
a =
|
|
2679
|
+
a = _.FREQUENCIES[n.freq];
|
|
2680
2680
|
break;
|
|
2681
2681
|
case "WKST":
|
|
2682
2682
|
Me(u) ? a = new de(u).toString() : a = u.toString();
|
|
@@ -2787,8 +2787,8 @@ function vm(n, e) {
|
|
|
2787
2787
|
if (X(e.byweekno, -1))
|
|
2788
2788
|
M = -1;
|
|
2789
2789
|
else {
|
|
2790
|
-
var
|
|
2791
|
-
|
|
2790
|
+
var z = pt(nt(n - 1, 1, 1)), O = $e(7 - z.valueOf() + e.wkst, 7), P = $t(n - 1) ? 366 : 365, U = void 0;
|
|
2791
|
+
O >= 4 ? (O = 0, U = P + $e(z - e.wkst, 7)) : U = r - c, M = Math.floor(52 + $e(U, 7) / 4);
|
|
2792
2792
|
}
|
|
2793
2793
|
if (X(e.byweekno, M))
|
|
2794
2794
|
for (var g = 0; g < c; g++)
|
|
@@ -2818,13 +2818,13 @@ function km(n, e, t, r, i, s) {
|
|
|
2818
2818
|
lastmonth: e,
|
|
2819
2819
|
nwdaymask: []
|
|
2820
2820
|
}, u = [];
|
|
2821
|
-
if (s.freq ===
|
|
2821
|
+
if (s.freq === _.YEARLY)
|
|
2822
2822
|
if (Ne(s.bymonth))
|
|
2823
2823
|
u = [[0, t]];
|
|
2824
2824
|
else
|
|
2825
2825
|
for (var a = 0; a < s.bymonth.length; a++)
|
|
2826
2826
|
e = s.bymonth[a], u.push(r.slice(e - 1, e + 1));
|
|
2827
|
-
else s.freq ===
|
|
2827
|
+
else s.freq === _.MONTHLY && (u = [r.slice(e - 1, e + 1)]);
|
|
2828
2828
|
if (Ne(u))
|
|
2829
2829
|
return o;
|
|
2830
2830
|
o.nwdaymask = W(0, t);
|
|
@@ -3004,22 +3004,22 @@ function ho(n, e) {
|
|
|
3004
3004
|
if (s && M > s)
|
|
3005
3005
|
return qe(n);
|
|
3006
3006
|
if (M >= t) {
|
|
3007
|
-
var
|
|
3008
|
-
if (!n.accept(
|
|
3007
|
+
var z = Ni(M, e);
|
|
3008
|
+
if (!n.accept(z) || u && (--u, !u))
|
|
3009
3009
|
return qe(n);
|
|
3010
3010
|
}
|
|
3011
3011
|
}
|
|
3012
3012
|
else
|
|
3013
3013
|
for (var B = h; B < b; B++) {
|
|
3014
|
-
var
|
|
3015
|
-
if (ne(
|
|
3016
|
-
for (var
|
|
3017
|
-
var G = c[U], M = lo(
|
|
3014
|
+
var O = f[B];
|
|
3015
|
+
if (ne(O))
|
|
3016
|
+
for (var P = ao(l.yearordinal + O), U = 0; U < c.length; U++) {
|
|
3017
|
+
var G = c[U], M = lo(P, G);
|
|
3018
3018
|
if (s && M > s)
|
|
3019
3019
|
return qe(n);
|
|
3020
3020
|
if (M >= t) {
|
|
3021
|
-
var
|
|
3022
|
-
if (!n.accept(
|
|
3021
|
+
var z = Ni(M, e);
|
|
3022
|
+
if (!n.accept(z) || u && (--u, !u))
|
|
3023
3023
|
return qe(n);
|
|
3024
3024
|
}
|
|
3025
3025
|
}
|
|
@@ -3048,7 +3048,7 @@ function Cm(n, e, t, r, i) {
|
|
|
3048
3048
|
}
|
|
3049
3049
|
function Bm(n, e, t) {
|
|
3050
3050
|
var r = t.freq, i = t.byhour, s = t.byminute, o = t.bysecond;
|
|
3051
|
-
return Ur(r) ? tm(t) : r >=
|
|
3051
|
+
return Ur(r) ? tm(t) : r >= _.HOURLY && ie(i) && !X(i, e.hour) || r >= _.MINUTELY && ie(s) && !X(s, e.minute) || r >= _.SECONDLY && ie(o) && !X(o, e.second) ? [] : n.gettimeset(r)(e.hour, e.minute, e.second, e.millisecond);
|
|
3052
3052
|
}
|
|
3053
3053
|
var Ce = {
|
|
3054
3054
|
MO: new de(0),
|
|
@@ -3078,7 +3078,7 @@ var Ce = {
|
|
|
3078
3078
|
byminute: null,
|
|
3079
3079
|
bysecond: null,
|
|
3080
3080
|
byeaster: null
|
|
3081
|
-
}, Am = Object.keys(qr),
|
|
3081
|
+
}, Am = Object.keys(qr), _ = (
|
|
3082
3082
|
/** @class */
|
|
3083
3083
|
function() {
|
|
3084
3084
|
function n(e, t) {
|
|
@@ -3194,7 +3194,7 @@ var Pi = {
|
|
|
3194
3194
|
compatible: !1,
|
|
3195
3195
|
tzid: null
|
|
3196
3196
|
};
|
|
3197
|
-
function
|
|
3197
|
+
function Dm(n, e) {
|
|
3198
3198
|
var t = [], r = [], i = [], s = [], o = mn(n), u = o.dtstart, a = o.tzid, l = Pm(n, e.unfold);
|
|
3199
3199
|
return l.forEach(function(c) {
|
|
3200
3200
|
var d;
|
|
@@ -3233,25 +3233,25 @@ function Om(n, e) {
|
|
|
3233
3233
|
exdatevals: s
|
|
3234
3234
|
};
|
|
3235
3235
|
}
|
|
3236
|
-
function
|
|
3237
|
-
var t =
|
|
3236
|
+
function Om(n, e) {
|
|
3237
|
+
var t = Dm(n, e), r = t.rrulevals, i = t.rdatevals, s = t.exrulevals, o = t.exdatevals, u = t.dtstart, a = t.tzid, l = e.cache === !1;
|
|
3238
3238
|
if (e.compatible && (e.forceset = !0, e.unfold = !0), e.forceset || r.length > 1 || i.length || s.length || o.length) {
|
|
3239
3239
|
var c = new _m(l);
|
|
3240
3240
|
return c.dtstart(u), c.tzid(a || void 0), r.forEach(function(f) {
|
|
3241
|
-
c.rrule(new
|
|
3241
|
+
c.rrule(new _(Gn(f, u, a), l));
|
|
3242
3242
|
}), i.forEach(function(f) {
|
|
3243
3243
|
c.rdate(f);
|
|
3244
3244
|
}), s.forEach(function(f) {
|
|
3245
|
-
c.exrule(new
|
|
3245
|
+
c.exrule(new _(Gn(f, u, a), l));
|
|
3246
3246
|
}), o.forEach(function(f) {
|
|
3247
3247
|
c.exdate(f);
|
|
3248
3248
|
}), e.compatible && e.dtstart && c.rdate(u), c;
|
|
3249
3249
|
}
|
|
3250
3250
|
var d = r[0] || {};
|
|
3251
|
-
return new
|
|
3251
|
+
return new _(Gn(d, d.dtstart || e.dtstart || u, d.tzid || e.tzid || a), l);
|
|
3252
3252
|
}
|
|
3253
3253
|
function Li(n, e) {
|
|
3254
|
-
return e === void 0 && (e = {}),
|
|
3254
|
+
return e === void 0 && (e = {}), Om(n, Mm(e));
|
|
3255
3255
|
}
|
|
3256
3256
|
function Gn(n, e, t) {
|
|
3257
3257
|
return ke(ke({}, n), { dtstart: e, tzid: t });
|
|
@@ -3384,10 +3384,10 @@ var _m = (
|
|
|
3384
3384
|
return t.exdate(new Date(r.getTime()));
|
|
3385
3385
|
}), t;
|
|
3386
3386
|
}, e;
|
|
3387
|
-
}(
|
|
3387
|
+
}(_)
|
|
3388
3388
|
);
|
|
3389
3389
|
function Ui(n, e) {
|
|
3390
|
-
if (!(n instanceof
|
|
3390
|
+
if (!(n instanceof _))
|
|
3391
3391
|
throw new TypeError(String(n) + " is not RRule instance");
|
|
3392
3392
|
X(e.map(String), String(n)) || e.push(n);
|
|
3393
3393
|
}
|
|
@@ -3766,15 +3766,15 @@ class wn extends Pn {
|
|
|
3766
3766
|
} = this.extractFromKey(e[e.length - 1], t), a = u[u.length - 1], l = t.lng || this.language, c = t.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
|
|
3767
3767
|
if (l && l.toLowerCase() === "cimode") {
|
|
3768
3768
|
if (c) {
|
|
3769
|
-
const
|
|
3769
|
+
const O = t.nsSeparator || this.options.nsSeparator;
|
|
3770
3770
|
return i ? {
|
|
3771
|
-
res: `${a}${
|
|
3771
|
+
res: `${a}${O}${o}`,
|
|
3772
3772
|
usedKey: o,
|
|
3773
3773
|
exactUsedKey: o,
|
|
3774
3774
|
usedLng: l,
|
|
3775
3775
|
usedNS: a,
|
|
3776
3776
|
usedParams: this.getUsedParamsDetails(t)
|
|
3777
|
-
} : `${a}${
|
|
3777
|
+
} : `${a}${O}${o}`;
|
|
3778
3778
|
}
|
|
3779
3779
|
return i ? {
|
|
3780
3780
|
res: o,
|
|
@@ -3791,35 +3791,35 @@ class wn extends Pn {
|
|
|
3791
3791
|
if (M && f && (typeof f != "string" && typeof f != "boolean" && typeof f != "number") && g.indexOf(w) < 0 && !(typeof B == "string" && Array.isArray(f))) {
|
|
3792
3792
|
if (!t.returnObjects && !this.options.returnObjects) {
|
|
3793
3793
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
3794
|
-
const
|
|
3794
|
+
const O = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(h, f, {
|
|
3795
3795
|
...t,
|
|
3796
3796
|
ns: u
|
|
3797
3797
|
}) : `key '${o} (${this.language})' returned an object instead of string.`;
|
|
3798
|
-
return i ? (d.res =
|
|
3798
|
+
return i ? (d.res = O, d.usedParams = this.getUsedParamsDetails(t), d) : O;
|
|
3799
3799
|
}
|
|
3800
3800
|
if (s) {
|
|
3801
|
-
const
|
|
3801
|
+
const O = Array.isArray(f), P = O ? [] : {}, U = O ? b : h;
|
|
3802
3802
|
for (const G in f)
|
|
3803
3803
|
if (Object.prototype.hasOwnProperty.call(f, G)) {
|
|
3804
3804
|
const Z = `${U}${s}${G}`;
|
|
3805
|
-
|
|
3805
|
+
P[G] = this.translate(Z, {
|
|
3806
3806
|
...t,
|
|
3807
3807
|
joinArrays: !1,
|
|
3808
3808
|
ns: u
|
|
3809
|
-
}),
|
|
3809
|
+
}), P[G] === Z && (P[G] = f[G]);
|
|
3810
3810
|
}
|
|
3811
|
-
f =
|
|
3811
|
+
f = P;
|
|
3812
3812
|
}
|
|
3813
3813
|
} else if (M && typeof B == "string" && Array.isArray(f))
|
|
3814
3814
|
f = f.join(B), f && (f = this.extendTranslation(f, e, t, r));
|
|
3815
3815
|
else {
|
|
3816
|
-
let
|
|
3817
|
-
const U = t.count !== void 0 && typeof t.count != "string", G = wn.hasDefaultValue(t), Z = U ? this.pluralResolver.getSuffix(l, t.count, t) : "",
|
|
3816
|
+
let O = !1, P = !1;
|
|
3817
|
+
const U = t.count !== void 0 && typeof t.count != "string", G = wn.hasDefaultValue(t), Z = U ? this.pluralResolver.getSuffix(l, t.count, t) : "", Y = t.ordinal && U ? this.pluralResolver.getSuffix(l, t.count, {
|
|
3818
3818
|
ordinal: !1
|
|
3819
|
-
}) : "",
|
|
3820
|
-
!this.isValidLookup(f) && G && (
|
|
3821
|
-
const k = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) &&
|
|
3822
|
-
if (
|
|
3819
|
+
}) : "", F = U && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), y = F && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${Z}`] || t[`defaultValue${Y}`] || t.defaultValue;
|
|
3820
|
+
!this.isValidLookup(f) && G && (O = !0, f = y), this.isValidLookup(f) || (P = !0, f = o);
|
|
3821
|
+
const k = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && P ? void 0 : f, v = G && y !== f && this.options.updateMissing;
|
|
3822
|
+
if (P || O || v) {
|
|
3823
3823
|
if (this.logger.log(v ? "updateKey" : "missingKey", l, a, o, v ? y : f), s) {
|
|
3824
3824
|
const $ = this.resolve(o, {
|
|
3825
3825
|
...t,
|
|
@@ -3834,17 +3834,17 @@ class wn extends Pn {
|
|
|
3834
3834
|
p.push(x[$]);
|
|
3835
3835
|
else this.options.saveMissingTo === "all" ? p = this.languageUtils.toResolveHierarchy(t.lng || this.language) : p.push(t.lng || this.language);
|
|
3836
3836
|
const m = ($, I, R) => {
|
|
3837
|
-
const
|
|
3838
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler($, a, I,
|
|
3837
|
+
const L = G && R !== f ? R : k;
|
|
3838
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler($, a, I, L, v, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing($, a, I, L, v, t), this.emit("missingKey", $, a, I, f);
|
|
3839
3839
|
};
|
|
3840
3840
|
this.options.saveMissing && (this.options.saveMissingPlurals && U ? p.forEach(($) => {
|
|
3841
3841
|
const I = this.pluralResolver.getSuffixes($, t);
|
|
3842
|
-
|
|
3842
|
+
F && t[`defaultValue${this.options.pluralSeparator}zero`] && I.indexOf(`${this.options.pluralSeparator}zero`) < 0 && I.push(`${this.options.pluralSeparator}zero`), I.forEach((R) => {
|
|
3843
3843
|
m([$], o + R, t[`defaultValue${R}`] || y);
|
|
3844
3844
|
});
|
|
3845
3845
|
}) : m(p, o, y));
|
|
3846
3846
|
}
|
|
3847
|
-
f = this.extendTranslation(f, e, t, d, r),
|
|
3847
|
+
f = this.extendTranslation(f, e, t, d, r), P && f === o && this.options.appendNamespaceToMissingKey && (f = `${a}:${o}`), (P || O) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? f = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${a}:${o}` : o, O ? f : void 0) : f = this.options.parseMissingKeyHandler(f));
|
|
3848
3848
|
}
|
|
3849
3849
|
return i ? (d.res = f, d.usedParams = this.getUsedParamsDetails(t), d) : f;
|
|
3850
3850
|
}
|
|
@@ -3911,17 +3911,17 @@ class wn extends Pn {
|
|
|
3911
3911
|
if (this.i18nFormat && this.i18nFormat.addLookupKeys)
|
|
3912
3912
|
this.i18nFormat.addLookupKeys(M, c, B, g, t);
|
|
3913
3913
|
else {
|
|
3914
|
-
let
|
|
3915
|
-
f && (
|
|
3916
|
-
const
|
|
3917
|
-
if (f && (M.push(c +
|
|
3914
|
+
let O;
|
|
3915
|
+
f && (O = this.pluralResolver.getSuffix(B, t.count, t));
|
|
3916
|
+
const P = `${this.options.pluralSeparator}zero`, U = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
|
3917
|
+
if (f && (M.push(c + O), t.ordinal && O.indexOf(U) === 0 && M.push(c + O.replace(U, this.options.pluralSeparator)), h && M.push(c + P)), b) {
|
|
3918
3918
|
const G = `${c}${this.options.contextSeparator}${t.context}`;
|
|
3919
|
-
M.push(G), f && (M.push(G +
|
|
3919
|
+
M.push(G), f && (M.push(G + O), t.ordinal && O.indexOf(U) === 0 && M.push(G + O.replace(U, this.options.pluralSeparator)), h && M.push(G + P));
|
|
3920
3920
|
}
|
|
3921
3921
|
}
|
|
3922
|
-
let
|
|
3923
|
-
for (;
|
|
3924
|
-
this.isValidLookup(r) || (s =
|
|
3922
|
+
let z;
|
|
3923
|
+
for (; z = M.pop(); )
|
|
3924
|
+
this.isValidLookup(r) || (s = z, r = this.getResource(B, g, z, t));
|
|
3925
3925
|
}));
|
|
3926
3926
|
});
|
|
3927
3927
|
}), {
|
|
@@ -4963,7 +4963,7 @@ const mo = "No date selected", bo = "Choose another time slot to reschedule your
|
|
|
4963
4963
|
october: "October",
|
|
4964
4964
|
november: "November",
|
|
4965
4965
|
december: "December"
|
|
4966
|
-
}, wo = "Next", ko = "{{date}}", Eo = "{{time}}", To = "Name", $o = "Enter your name", So = "Email", Co = "Enter your email", Bo = "Guest email", Ao = "Enter guest email", Io = "Add guest",
|
|
4966
|
+
}, wo = "Next", ko = "{{date}}", Eo = "{{time}}", To = "Name", $o = "Enter your name", So = "Email", Co = "Enter your email", Bo = "Guest email", Ao = "Enter guest email", Io = "Add guest", Do = "Add another guest", Oo = "Back", Mo = "Book now", Ro = "Booking confirmed", No = "You'll receive an email confirmation soon.", Po = "Booking sent", Lo = "You will receive an email once the booking is confirmed.", _o = "Booking rescheduled", Fo = "Booking date and time", Uo = "Cancel booking", qo = "Reschedule", jo = "Reject booking", Ho = "Confirm booking", zo = "Booking pending", Yo = "Manage your booking below. The invitee will receive an email informing them of the request status.", Go = "Your booking has been confirmed successfully", Wo = "A confirmation email has been sent to", Vo = "Cancel booking?", Ko = "Your current timeslot will become available to others.", Zo = "Reason for cancellation", Jo = "Go back", Qo = "Your booking has been cancelled successfully", Xo = "A cancellation email has been sent to", eu = "Close", tu = "Closing", nu = "{{field}} is required.", ru = "{{field}} has invalid format.", iu = "Create Booking", su = "Get Availability", ou = "Cancel Booking", uu = "Reschedule Booking", au = "Get UI Settings", lu = "Reject Booking", cu = "Confirm Booking", du = "Something went wrong...", fu = "Scheduling Component Error", hu = "'sessionId' is required for private configs.", pu = "If using public config either pass a configurationId or a combination of 'slug' and 'clientId'.", gu = "Invalid timeslot!", mu = "The selected timeslot is invalid", bu = "Cancellation Error", yu = "Please provide a reason for cancellation.", xu = "You cannot cancel the booking within {{minCancellationNotice}} minutes of the event", vu = "Cancel booking form error", ab = {
|
|
4967
4967
|
noDateSelected: mo,
|
|
4968
4968
|
rescheduleTitle: bo,
|
|
4969
4969
|
days: yo,
|
|
@@ -4979,8 +4979,8 @@ const mo = "No date selected", bo = "Choose another time slot to reschedule your
|
|
|
4979
4979
|
guestEmail: Bo,
|
|
4980
4980
|
guestEmailPlaceholder: Ao,
|
|
4981
4981
|
addGuest: Io,
|
|
4982
|
-
addAnotherGuest:
|
|
4983
|
-
backButton:
|
|
4982
|
+
addAnotherGuest: Do,
|
|
4983
|
+
backButton: Oo,
|
|
4984
4984
|
bookNowButton: Mo,
|
|
4985
4985
|
bookingConfirmed: Ro,
|
|
4986
4986
|
bookingConfirmedDescription: No,
|
|
@@ -5040,8 +5040,8 @@ const mo = "No date selected", bo = "Choose another time slot to reschedule your
|
|
|
5040
5040
|
guestEmail: Bo,
|
|
5041
5041
|
guestEmailPlaceholder: Ao,
|
|
5042
5042
|
addGuest: Io,
|
|
5043
|
-
addAnotherGuest:
|
|
5044
|
-
backButton:
|
|
5043
|
+
addAnotherGuest: Do,
|
|
5044
|
+
backButton: Oo,
|
|
5045
5045
|
bookNowButton: Mo,
|
|
5046
5046
|
bookingConfirmed: Ro,
|
|
5047
5047
|
bookingConfirmedDescription: No,
|
|
@@ -5111,7 +5111,7 @@ const mo = "No date selected", bo = "Choose another time slot to reschedule your
|
|
|
5111
5111
|
october: "Octobre",
|
|
5112
5112
|
november: "Novembre",
|
|
5113
5113
|
december: "Décembre"
|
|
5114
|
-
}, Su = "Procéder", Cu = "{{date}}", Bu = "{{time}}", Au = "Name", Iu = "Entrez votre nom",
|
|
5114
|
+
}, Su = "Procéder", Cu = "{{date}}", Bu = "{{time}}", Au = "Name", Iu = "Entrez votre nom", Du = "E-mail", Ou = "Entrer votre E-mail", Mu = "E-mail invité", Ru = "Entrez l'adresse e-mail de l'invité", Nu = "Ajouter un invité", Pu = "Ajouter un autre invité", Lu = "Retour", _u = "Réservez maintenant", Fu = "Réservation confirmée", Uu = "Vous recevrez bientôt un e-mail de confirmation.", qu = "Réservation envoyée", ju = "Vous recevrez un e-mail une fois la réservation confirmée.", Hu = "Réservation reprogrammée", zu = "Date et heure de la réservation", Yu = "Annuler la réservation", Gu = "Replanifier", Wu = "Refuser la réservation", Vu = "Confirmer la réservation", Ku = "Réservation en attente", Zu = "Gérez votre réservation ci-dessous. L'invité recevra un e-mail l'informant du statut de la demande.", Ju = "Votre réservation a été confirmée avec succès", Qu = "Un e-mail de confirmation a été envoyé à", Xu = "Annuler la réservation?", ea = "Votre créneau horaire actuel sera disponible pour les autres.", ta = "Raison de l'annulation", na = "Retourner", ra = "Votre réservation a été annulée avec succès", ia = "Un e-mail d'annulation a été envoyé à", sa = "Fermer", oa = "Fermeture", ua = "{{field}} est requis.", aa = "{{field}} a un format invalide.", la = "Créer une Réservation", ca = "Obtenir la Disponibilité", da = "Annuler la Réservation", fa = "Reprogrammer la Réservation", ha = "Obtenir les Paramètres UI", pa = "Refuser la Réservation", ga = "Confirmer la Réservation", ma = "Quelque chose a mal tourné...", ba = "Erreur du composant de planification", ya = "'sessionId' est requis pour les configurations privées.", xa = "Si vous utilisez une configuration publique, passez soit un configurationId, soit une combinaison de 'slug' et 'clientId'.", va = "Créneau horaire invalide !", wa = "Le créneau horaire sélectionné est invalide", ka = "Erreur d'annulation", Ea = "Veuillez fournir une raison pour l'annulation.", Ta = "Vous ne pouvez pas annuler la réservation dans les {{minCancellationNotice}} minutes avant l'événement", $a = "Erreur de formulaire d'annulation de réservation", cb = {
|
|
5115
5115
|
noDateSelected: wu,
|
|
5116
5116
|
rescheduleTitle: ku,
|
|
5117
5117
|
days: Eu,
|
|
@@ -5122,8 +5122,8 @@ const mo = "No date selected", bo = "Choose another time slot to reschedule your
|
|
|
5122
5122
|
selectedTime: Bu,
|
|
5123
5123
|
name: Au,
|
|
5124
5124
|
namePlaceholder: Iu,
|
|
5125
|
-
email:
|
|
5126
|
-
emailPlaceholder:
|
|
5125
|
+
email: Du,
|
|
5126
|
+
emailPlaceholder: Ou,
|
|
5127
5127
|
guestEmail: Mu,
|
|
5128
5128
|
guestEmailPlaceholder: Ru,
|
|
5129
5129
|
addGuest: Nu,
|
|
@@ -5183,8 +5183,8 @@ const mo = "No date selected", bo = "Choose another time slot to reschedule your
|
|
|
5183
5183
|
selectedTime: Bu,
|
|
5184
5184
|
name: Au,
|
|
5185
5185
|
namePlaceholder: Iu,
|
|
5186
|
-
email:
|
|
5187
|
-
emailPlaceholder:
|
|
5186
|
+
email: Du,
|
|
5187
|
+
emailPlaceholder: Ou,
|
|
5188
5188
|
guestEmail: Mu,
|
|
5189
5189
|
guestEmailPlaceholder: Ru,
|
|
5190
5190
|
addGuest: Nu,
|
|
@@ -5259,14 +5259,14 @@ const mo = "No date selected", bo = "Choose another time slot to reschedule your
|
|
|
5259
5259
|
october: "Octubre",
|
|
5260
5260
|
november: "Noviembre",
|
|
5261
5261
|
december: "Diciembre"
|
|
5262
|
-
},
|
|
5262
|
+
}, Da = "Siguiente", Oa = "{{date}}", Ma = "{{time}}", Ra = "Nombre", Na = "Introduce tu nombre", Pa = "Correo electrónico", La = "Introduce tu correo electrónico", _a = "Correo electrónico del invitado", Fa = "Introduce el correo electrónico del invitado", Ua = "Añadir invitado", qa = "Añadir otro invitado", ja = "Atrás", Ha = "Reservar ahora", za = "Reserva confirmada", Ya = "Recibirás una confirmación por correo electrónico pronto.", Ga = "Reserva enviada", Wa = "Recibirás un correo electrónico una vez que se confirme la reserva.", Va = "Reserva reprogramada", Ka = "Fecha y hora de la reserva", Za = "Cancelar reserva", Ja = "Reprogramar", Qa = "Rechazar reserva", Xa = "Confirmar reserva", el = "Reserva pendiente", tl = "Gestiona tu reserva a continuación. El invitado recibirá un correo electrónico informándole del estado de la solicitud.", nl = "Tu reserva ha sido confirmada con éxito", rl = "Se ha enviado un correo de confirmación a", il = "¿Cancelar reserva?", sl = "Su horario actual estará disponible para otros.", ol = "Motivo de la cancelación", ul = "Regresar", al = "Su reserva ha sido cancelada con éxito", ll = "Se ha enviado un correo electrónico de cancelación a", cl = "Cerrar", dl = "Cerrando", fl = "{{field}} es obligatorio.", hl = "{{field}} tiene un formato no válido.", pl = "Crear Reserva", gl = "Obtener Disponibilidad", ml = "Cancelar Reserva", bl = "Reprogramar Reserva", yl = "Obtener Configuraciones de UI", xl = "Rechazar Reserva", vl = "Confirmar Reserva", wl = "Algo salió mal...", kl = "Error en el componente de programación", El = "'sessionId' es necesario para configuraciones privadas.", Tl = "Si se usa una configuración pública, pase una configurationId o una combinación de 'slug' y 'clientId'.", $l = "¡Intervalo de tiempo no válido!", Sl = "El intervalo de tiempo seleccionado no es válido", Cl = "Error de Cancelación", Bl = "Por favor, indique el motivo de la cancelación.", Al = "No puede cancelar la reserva dentro de los {{minCancellationNotice}} minutos del evento", Il = "Error en el formulario de cancelación de la reserva", fb = {
|
|
5263
5263
|
noDateSelected: Sa,
|
|
5264
5264
|
rescheduleTitle: Ca,
|
|
5265
5265
|
days: Ba,
|
|
5266
5266
|
time: Aa,
|
|
5267
5267
|
months: Ia,
|
|
5268
|
-
nextButton:
|
|
5269
|
-
selectedDayAndYear:
|
|
5268
|
+
nextButton: Da,
|
|
5269
|
+
selectedDayAndYear: Oa,
|
|
5270
5270
|
selectedTime: Ma,
|
|
5271
5271
|
name: Ra,
|
|
5272
5272
|
namePlaceholder: Na,
|
|
@@ -5326,8 +5326,8 @@ const mo = "No date selected", bo = "Choose another time slot to reschedule your
|
|
|
5326
5326
|
days: Ba,
|
|
5327
5327
|
time: Aa,
|
|
5328
5328
|
months: Ia,
|
|
5329
|
-
nextButton:
|
|
5330
|
-
selectedDayAndYear:
|
|
5329
|
+
nextButton: Da,
|
|
5330
|
+
selectedDayAndYear: Oa,
|
|
5331
5331
|
selectedTime: Ma,
|
|
5332
5332
|
name: Ra,
|
|
5333
5333
|
namePlaceholder: Na,
|
|
@@ -5381,7 +5381,7 @@ const mo = "No date selected", bo = "Choose another time slot to reschedule your
|
|
|
5381
5381
|
minimumCancellationErrorMessage: Al,
|
|
5382
5382
|
cancelBokingFormError: Il,
|
|
5383
5383
|
default: fb
|
|
5384
|
-
}),
|
|
5384
|
+
}), Dl = "日付が選択されていません", Ol = "別の時間を選択してください", Ml = {
|
|
5385
5385
|
sunday: "日",
|
|
5386
5386
|
monday: "月",
|
|
5387
5387
|
tuesday: "火",
|
|
@@ -5407,9 +5407,9 @@ const mo = "No date selected", bo = "Choose another time slot to reschedule your
|
|
|
5407
5407
|
october: "10月",
|
|
5408
5408
|
november: "11月",
|
|
5409
5409
|
december: "12月"
|
|
5410
|
-
}, Pl = "次", Ll = "{{date}}", _l = "{{time}}", Fl = "名前", Ul = "名前を入力してください", ql = "メールアドレス", jl = "メールアドレスを入力してください", Hl = "ゲストのメールアドレス", zl = "ゲストのメールアドレスを入力してください", Yl = "ゲストを追加", Gl = "他のゲストを追加", Wl = "戻る", Vl = "今すぐ予約", Kl = "予約が確認されました", Zl = "間もなくメールで確認が届きます。", Jl = "予約が送信されました", Ql = "予約が確認され次第、メールをお送りします。", Xl = "予約が再予定されました", ec = "予約の日付と時間", tc = "予約をキャンセル", nc = "再調整", rc = "予約を拒否", ic = "予約を確認", sc = "予約保留中", oc = "以下で予約を管理します。招待者にはリクエストステータスを知らせるメールが届きます。", uc = "予約が正常に確認されました", ac = "確認メールが送信されました", lc = "予約をキャンセルしますか?", cc = "現在の時間枠は他の人に利用可能になります。", dc = "キャンセルの理由", fc = "戻る", hc = "予約が正常にキャンセルされました", pc = "キャンセルメールが送信されました", gc = "閉じる", mc = "閉じる", bc = "{{field}} は必須です.", yc = "{{field}} の形式が無効です.", xc = "予約作成", vc = "空き状況を取得", wc = "予約をキャンセル", kc = "予約の再スケジュール", Ec = "UI設定を取得", Tc = "予約を拒否", $c = "予約を確認", Sc = "何かがうまくいかなかった...", Cc = "スケジューリングコンポーネントエラー", Bc = "プライベート構成には 'sessionId' が必要です。", Ac = "公開設定を使用する場合は、configurationId または 'slug' と 'clientId' の組み合わせを渡します。", Ic = "無効な時間帯!",
|
|
5411
|
-
noDateSelected:
|
|
5412
|
-
rescheduleTitle:
|
|
5410
|
+
}, Pl = "次", Ll = "{{date}}", _l = "{{time}}", Fl = "名前", Ul = "名前を入力してください", ql = "メールアドレス", jl = "メールアドレスを入力してください", Hl = "ゲストのメールアドレス", zl = "ゲストのメールアドレスを入力してください", Yl = "ゲストを追加", Gl = "他のゲストを追加", Wl = "戻る", Vl = "今すぐ予約", Kl = "予約が確認されました", Zl = "間もなくメールで確認が届きます。", Jl = "予約が送信されました", Ql = "予約が確認され次第、メールをお送りします。", Xl = "予約が再予定されました", ec = "予約の日付と時間", tc = "予約をキャンセル", nc = "再調整", rc = "予約を拒否", ic = "予約を確認", sc = "予約保留中", oc = "以下で予約を管理します。招待者にはリクエストステータスを知らせるメールが届きます。", uc = "予約が正常に確認されました", ac = "確認メールが送信されました", lc = "予約をキャンセルしますか?", cc = "現在の時間枠は他の人に利用可能になります。", dc = "キャンセルの理由", fc = "戻る", hc = "予約が正常にキャンセルされました", pc = "キャンセルメールが送信されました", gc = "閉じる", mc = "閉じる", bc = "{{field}} は必須です.", yc = "{{field}} の形式が無効です.", xc = "予約作成", vc = "空き状況を取得", wc = "予約をキャンセル", kc = "予約の再スケジュール", Ec = "UI設定を取得", Tc = "予約を拒否", $c = "予約を確認", Sc = "何かがうまくいかなかった...", Cc = "スケジューリングコンポーネントエラー", Bc = "プライベート構成には 'sessionId' が必要です。", Ac = "公開設定を使用する場合は、configurationId または 'slug' と 'clientId' の組み合わせを渡します。", Ic = "無効な時間帯!", Dc = "選択された時間帯は無効です", Oc = "キャンセルエラー", Mc = "キャンセルの理由を入力してください。", Rc = "イベントの{{minCancellationNotice}}分前には予約をキャンセルできません", Nc = "予約キャンセルフォームエラー", pb = {
|
|
5411
|
+
noDateSelected: Dl,
|
|
5412
|
+
rescheduleTitle: Ol,
|
|
5413
5413
|
days: Ml,
|
|
5414
5414
|
time: Rl,
|
|
5415
5415
|
months: Nl,
|
|
@@ -5462,15 +5462,15 @@ const mo = "No date selected", bo = "Choose another time slot to reschedule your
|
|
|
5462
5462
|
sessionIdRequiredErrorMessage: Bc,
|
|
5463
5463
|
publicConfigErrorMessage: Ac,
|
|
5464
5464
|
invalidTimeslotErrorTitle: Ic,
|
|
5465
|
-
invalidTimeslotErrorMessage:
|
|
5466
|
-
cancellationErrorTitle:
|
|
5465
|
+
invalidTimeslotErrorMessage: Dc,
|
|
5466
|
+
cancellationErrorTitle: Oc,
|
|
5467
5467
|
cancellationErrorMessage: Mc,
|
|
5468
5468
|
minimumCancellationErrorMessage: Rc,
|
|
5469
5469
|
cancelBokingFormError: Nc
|
|
5470
5470
|
}, gb = /* @__PURE__ */ Object.freeze({
|
|
5471
5471
|
__proto__: null,
|
|
5472
|
-
noDateSelected:
|
|
5473
|
-
rescheduleTitle:
|
|
5472
|
+
noDateSelected: Dl,
|
|
5473
|
+
rescheduleTitle: Ol,
|
|
5474
5474
|
days: Ml,
|
|
5475
5475
|
time: Rl,
|
|
5476
5476
|
months: Nl,
|
|
@@ -5523,8 +5523,8 @@ const mo = "No date selected", bo = "Choose another time slot to reschedule your
|
|
|
5523
5523
|
sessionIdRequiredErrorMessage: Bc,
|
|
5524
5524
|
publicConfigErrorMessage: Ac,
|
|
5525
5525
|
invalidTimeslotErrorTitle: Ic,
|
|
5526
|
-
invalidTimeslotErrorMessage:
|
|
5527
|
-
cancellationErrorTitle:
|
|
5526
|
+
invalidTimeslotErrorMessage: Dc,
|
|
5527
|
+
cancellationErrorTitle: Oc,
|
|
5528
5528
|
cancellationErrorMessage: Mc,
|
|
5529
5529
|
minimumCancellationErrorMessage: Rc,
|
|
5530
5530
|
cancelBokingFormError: Nc,
|
|
@@ -5555,7 +5555,7 @@ const mo = "No date selected", bo = "Choose another time slot to reschedule your
|
|
|
5555
5555
|
october: "Oktober",
|
|
5556
5556
|
november: "November",
|
|
5557
5557
|
december: "Dezember"
|
|
5558
|
-
}, qc = "Weiter", jc = "{{date}}", Hc = "{{time}}", zc = "Name", Yc = "Geben Sie Ihren Namen ein", Gc = "E-Mail", Wc = "Geben Sie Ihre E-Mail-Adresse ein", Vc = "Gast E-Mail", Kc = "Geben Sie die E-Mail-Adresse des Gastes ein", Zc = "Gast hinzufügen", Jc = "Weiteren Gast hinzufügen", Qc = "Zurück", Xc = "Jetzt buchen", ed = "Buchung bestätigt", td = "Sie erhalten in Kürze eine E-Mail-Bestätigung.", nd = "Buchung gesendet", rd = "Sie erhalten eine E-Mail, sobald die Buchung bestätigt ist.", id = "Buchung umgebucht", sd = "Buchungsdatum und -zeit", od = "Buchung stornieren", ud = "Umplanen", ad = "Buchung ablehnen", ld = "Buchung bestätigen", cd = "Buchung ausstehend", dd = "Verwalten Sie Ihre Buchung unten. Der Eingeladene erhält eine E-Mail mit dem Status der Anfrage.", fd = "Ihre Buchung wurde erfolgreich bestätigt", hd = "Eine Bestätigungs-E-Mail wurde gesendet an", pd = "Buchung stornieren?", gd = "Ihr aktueller Zeitraum wird für andere verfügbar.", md = "Grund für die Stornierung", bd = "Zurück", yd = "Ihre Buchung wurde erfolgreich storniert", xd = "Eine Stornierungs-E-Mail wurde gesendet an", vd = "Schließen", wd = "Schließen", kd = "{{field}} ist erforderlich.", Ed = "{{field}} hat ein ungültiges Format.", Td = "Buchung Erstellen", $d = "Verfügbarkeit Ermitteln", Sd = "Buchung Stornieren", Cd = "Buchung Verschieben", Bd = "UI-Einstellungen Abrufen", Ad = "Buchung Ablehnen", Id = "Buchung Bestätigen",
|
|
5558
|
+
}, qc = "Weiter", jc = "{{date}}", Hc = "{{time}}", zc = "Name", Yc = "Geben Sie Ihren Namen ein", Gc = "E-Mail", Wc = "Geben Sie Ihre E-Mail-Adresse ein", Vc = "Gast E-Mail", Kc = "Geben Sie die E-Mail-Adresse des Gastes ein", Zc = "Gast hinzufügen", Jc = "Weiteren Gast hinzufügen", Qc = "Zurück", Xc = "Jetzt buchen", ed = "Buchung bestätigt", td = "Sie erhalten in Kürze eine E-Mail-Bestätigung.", nd = "Buchung gesendet", rd = "Sie erhalten eine E-Mail, sobald die Buchung bestätigt ist.", id = "Buchung umgebucht", sd = "Buchungsdatum und -zeit", od = "Buchung stornieren", ud = "Umplanen", ad = "Buchung ablehnen", ld = "Buchung bestätigen", cd = "Buchung ausstehend", dd = "Verwalten Sie Ihre Buchung unten. Der Eingeladene erhält eine E-Mail mit dem Status der Anfrage.", fd = "Ihre Buchung wurde erfolgreich bestätigt", hd = "Eine Bestätigungs-E-Mail wurde gesendet an", pd = "Buchung stornieren?", gd = "Ihr aktueller Zeitraum wird für andere verfügbar.", md = "Grund für die Stornierung", bd = "Zurück", yd = "Ihre Buchung wurde erfolgreich storniert", xd = "Eine Stornierungs-E-Mail wurde gesendet an", vd = "Schließen", wd = "Schließen", kd = "{{field}} ist erforderlich.", Ed = "{{field}} hat ein ungültiges Format.", Td = "Buchung Erstellen", $d = "Verfügbarkeit Ermitteln", Sd = "Buchung Stornieren", Cd = "Buchung Verschieben", Bd = "UI-Einstellungen Abrufen", Ad = "Buchung Ablehnen", Id = "Buchung Bestätigen", Dd = "Etwas ist schief gelaufen...", Od = "Fehler im Planungskomponent", Md = "'sessionId' ist für private Konfigurationen erforderlich.", Rd = "Bei Verwendung einer öffentlichen Konfiguration geben Sie entweder eine Konfigurations-ID oder eine Kombination aus 'slug' und 'clientId' an.", Nd = "Ungültiges Zeitfenster!", Pd = "Das ausgewählte Zeitfenster ist ungültig", Ld = "Stornierungsfehler", _d = "Bitte geben Sie einen Grund für die Stornierung an.", Fd = "Sie können die Buchung nicht innerhalb von {{minCancellationNotice}} Minuten vor der Veranstaltung stornieren", Ud = "Fehler im Stornierungsformular", mb = {
|
|
5559
5559
|
noDateSelected: Pc,
|
|
5560
5560
|
rescheduleTitle: Lc,
|
|
5561
5561
|
days: _c,
|
|
@@ -5605,8 +5605,8 @@ const mo = "No date selected", bo = "Choose another time slot to reschedule your
|
|
|
5605
5605
|
getUISettingErrorTitle: Bd,
|
|
5606
5606
|
rejectBookingErrorTitle: Ad,
|
|
5607
5607
|
confirmBookingErrorTitle: Id,
|
|
5608
|
-
genericErrorTitle:
|
|
5609
|
-
schedulingComponentErrorTitle:
|
|
5608
|
+
genericErrorTitle: Dd,
|
|
5609
|
+
schedulingComponentErrorTitle: Od,
|
|
5610
5610
|
sessionIdRequiredErrorMessage: Md,
|
|
5611
5611
|
publicConfigErrorMessage: Rd,
|
|
5612
5612
|
invalidTimeslotErrorTitle: Nd,
|
|
@@ -5666,8 +5666,8 @@ const mo = "No date selected", bo = "Choose another time slot to reschedule your
|
|
|
5666
5666
|
getUISettingErrorTitle: Bd,
|
|
5667
5667
|
rejectBookingErrorTitle: Ad,
|
|
5668
5668
|
confirmBookingErrorTitle: Id,
|
|
5669
|
-
genericErrorTitle:
|
|
5670
|
-
schedulingComponentErrorTitle:
|
|
5669
|
+
genericErrorTitle: Dd,
|
|
5670
|
+
schedulingComponentErrorTitle: Od,
|
|
5671
5671
|
sessionIdRequiredErrorMessage: Md,
|
|
5672
5672
|
publicConfigErrorMessage: Rd,
|
|
5673
5673
|
invalidTimeslotErrorTitle: Nd,
|
|
@@ -5703,7 +5703,7 @@ const mo = "No date selected", bo = "Choose another time slot to reschedule your
|
|
|
5703
5703
|
october: "Oktober",
|
|
5704
5704
|
november: "November",
|
|
5705
5705
|
december: "December"
|
|
5706
|
-
}, Gd = "Nästa", Wd = "{{date}}", Vd = "{{time}}", Kd = "Namn", Zd = "Ange ditt namn", Jd = "E-post", Qd = "Ange din e-postadress", Xd = "Gästens e-post", ef = "Ange gästens e-postadress", tf = "Lägg till gäst", nf = "Lägg till en gäst till", rf = "Tillbaka", sf = "Boka nu", of = "Bokning bekräftad", uf = "Du kommer snart att få en bekräftelse via e-post.", af = "Bokning skickad", lf = "Du kommer att få ett e-mail när bokningen är bekräftad.", cf = "Bokning ombokad", df = "Bokningsdatum och tid", ff = "Avboka bokning", hf = "Omboka", pf = "Avvisa bokning", gf = "Bekräfta bokning", mf = "Bokning pågår", bf = "Hantera din bokning nedan. Inbjudna kommer att få ett e-postmeddelande om begärans status.", yf = "Din bokning har bekräftats framgångsrikt", xf = "Ett bekräftelsemail har skickats till", vf = "Avboka bokning?", wf = "Din nuvarande tidslucka kommer att bli tillgänglig för andra.", kf = "Anledning till avbokning", Ef = "Gå tillbaka", Tf = "Din bokning har avbokats framgångsrikt", $f = "Ett avbokningsmejl har skickats till", Sf = "Stäng", Cf = "Stänger", Bf = "{{field}} är obligatoriskt.", Af = "{{field}} har ogiltigt format.", If = "Skapa Bokning",
|
|
5706
|
+
}, Gd = "Nästa", Wd = "{{date}}", Vd = "{{time}}", Kd = "Namn", Zd = "Ange ditt namn", Jd = "E-post", Qd = "Ange din e-postadress", Xd = "Gästens e-post", ef = "Ange gästens e-postadress", tf = "Lägg till gäst", nf = "Lägg till en gäst till", rf = "Tillbaka", sf = "Boka nu", of = "Bokning bekräftad", uf = "Du kommer snart att få en bekräftelse via e-post.", af = "Bokning skickad", lf = "Du kommer att få ett e-mail när bokningen är bekräftad.", cf = "Bokning ombokad", df = "Bokningsdatum och tid", ff = "Avboka bokning", hf = "Omboka", pf = "Avvisa bokning", gf = "Bekräfta bokning", mf = "Bokning pågår", bf = "Hantera din bokning nedan. Inbjudna kommer att få ett e-postmeddelande om begärans status.", yf = "Din bokning har bekräftats framgångsrikt", xf = "Ett bekräftelsemail har skickats till", vf = "Avboka bokning?", wf = "Din nuvarande tidslucka kommer att bli tillgänglig för andra.", kf = "Anledning till avbokning", Ef = "Gå tillbaka", Tf = "Din bokning har avbokats framgångsrikt", $f = "Ett avbokningsmejl har skickats till", Sf = "Stäng", Cf = "Stänger", Bf = "{{field}} är obligatoriskt.", Af = "{{field}} har ogiltigt format.", If = "Skapa Bokning", Df = "Hämta Tillgänglighet", Of = "Avboka Bokning", Mf = "Omboka Bokning", Rf = "Hämta UI-inställningar", Nf = "Avvisa Bokning", Pf = "Bekräfta Bokning", Lf = "Något gick fel...", _f = "Schemaläggningskomponentfel", Ff = "'sessionId' krävs för privata konfigurationer.", Uf = "Om du använder offentlig konfiguration anger du antingen en konfigurations-ID eller en kombination av 'slug' och 'clientId'.", qf = "Ogiltig tidslucka!", jf = "Den valda tidsluckan är ogiltig", Hf = "Avbokningsfel", zf = "Vänligen ange en anledning till avbokningen.", Yf = "Du kan inte avboka bokningen inom {{minCancellationNotice}} minuter före evenemanget", Gf = "Fel i avbokningsformuläret", yb = {
|
|
5707
5707
|
noDateSelected: qd,
|
|
5708
5708
|
rescheduleTitle: jd,
|
|
5709
5709
|
days: Hd,
|
|
@@ -5747,8 +5747,8 @@ const mo = "No date selected", bo = "Choose another time slot to reschedule your
|
|
|
5747
5747
|
fieldRequired: Bf,
|
|
5748
5748
|
invalidInputFormat: Af,
|
|
5749
5749
|
createBookingErrorTitle: If,
|
|
5750
|
-
getAvailabilityErrorTitle:
|
|
5751
|
-
cancelBookingErrorTitle:
|
|
5750
|
+
getAvailabilityErrorTitle: Df,
|
|
5751
|
+
cancelBookingErrorTitle: Of,
|
|
5752
5752
|
rescheduleBookingErrorTitle: Mf,
|
|
5753
5753
|
getUISettingErrorTitle: Rf,
|
|
5754
5754
|
rejectBookingErrorTitle: Nf,
|
|
@@ -5808,8 +5808,8 @@ const mo = "No date selected", bo = "Choose another time slot to reschedule your
|
|
|
5808
5808
|
fieldRequired: Bf,
|
|
5809
5809
|
invalidInputFormat: Af,
|
|
5810
5810
|
createBookingErrorTitle: If,
|
|
5811
|
-
getAvailabilityErrorTitle:
|
|
5812
|
-
cancelBookingErrorTitle:
|
|
5811
|
+
getAvailabilityErrorTitle: Df,
|
|
5812
|
+
cancelBookingErrorTitle: Of,
|
|
5813
5813
|
rescheduleBookingErrorTitle: Mf,
|
|
5814
5814
|
getUISettingErrorTitle: Rf,
|
|
5815
5815
|
rejectBookingErrorTitle: Nf,
|
|
@@ -5851,7 +5851,7 @@ const mo = "No date selected", bo = "Choose another time slot to reschedule your
|
|
|
5851
5851
|
october: "十月",
|
|
5852
5852
|
november: "十一月",
|
|
5853
5853
|
december: "十二月"
|
|
5854
|
-
}, Qf = "下一个", Xf = "{{date}}", e0 = "{{time}}", t0 = "姓名", n0 = "输入你的名字", r0 = "电子邮件", i0 = "输入你的电子邮件", s0 = "客人的电子邮件", o0 = "输入客人的电子邮件", u0 = "添加客人", a0 = "添加另一个客人", l0 = "返回", c0 = "立即预订", d0 = "预订已确认", f0 = "您将很快收到一封确认电子邮件。", h0 = "预订已发送", p0 = "预订确认后,您将收到一封电子邮件。", g0 = "预订已重新安排", m0 = "预订日期和时间", b0 = "取消预订", y0 = "重新安排", x0 = "拒绝预订", v0 = "确认预订", w0 = "预订待处理", k0 = "在下方管理您的预订。受邀者将收到一封电子邮件,通知他们请求状态。", E0 = "您的预订已成功确认", T0 = "确认邮件已发送至", $0 = "取消预订?", S0 = "您当前的时间段将对其他人开放。", C0 = "取消原因", B0 = "返回", A0 = "您的预订已成功取消", I0 = "取消邮件已发送至",
|
|
5854
|
+
}, Qf = "下一个", Xf = "{{date}}", e0 = "{{time}}", t0 = "姓名", n0 = "输入你的名字", r0 = "电子邮件", i0 = "输入你的电子邮件", s0 = "客人的电子邮件", o0 = "输入客人的电子邮件", u0 = "添加客人", a0 = "添加另一个客人", l0 = "返回", c0 = "立即预订", d0 = "预订已确认", f0 = "您将很快收到一封确认电子邮件。", h0 = "预订已发送", p0 = "预订确认后,您将收到一封电子邮件。", g0 = "预订已重新安排", m0 = "预订日期和时间", b0 = "取消预订", y0 = "重新安排", x0 = "拒绝预订", v0 = "确认预订", w0 = "预订待处理", k0 = "在下方管理您的预订。受邀者将收到一封电子邮件,通知他们请求状态。", E0 = "您的预订已成功确认", T0 = "确认邮件已发送至", $0 = "取消预订?", S0 = "您当前的时间段将对其他人开放。", C0 = "取消原因", B0 = "返回", A0 = "您的预订已成功取消", I0 = "取消邮件已发送至", D0 = "关闭", O0 = "关闭", M0 = "{{field}} 是必需的.", R0 = "{{field}} 格式无效.", N0 = "创建预订", P0 = "获取可用性", L0 = "取消预订", _0 = "重新安排预订", F0 = "获取UI设置", U0 = "拒绝预订", q0 = "确认预订", j0 = "出了点问题...", H0 = "调度组件错误", z0 = "私有配置需要 'sessionId'。", Y0 = "如果使用公共配置,请传递 configurationId 或 'slug' 和 'clientId' 的组合。", G0 = "无效的时间段!", W0 = "所选时间段无效", V0 = "取消错误", K0 = "请提供取消的原因。", Z0 = "您不能在活动开始前的{{minCancellationNotice}}分钟内取消预订", J0 = "取消预订表单错误", vb = {
|
|
5855
5855
|
noDateSelected: Wf,
|
|
5856
5856
|
rescheduleTitle: Vf,
|
|
5857
5857
|
days: Kf,
|
|
@@ -5890,8 +5890,8 @@ const mo = "No date selected", bo = "Choose another time slot to reschedule your
|
|
|
5890
5890
|
goBackButton: B0,
|
|
5891
5891
|
bookingCancelledTitle: A0,
|
|
5892
5892
|
bookingCancelledMessage: I0,
|
|
5893
|
-
closeButton:
|
|
5894
|
-
closingButton:
|
|
5893
|
+
closeButton: D0,
|
|
5894
|
+
closingButton: O0,
|
|
5895
5895
|
fieldRequired: M0,
|
|
5896
5896
|
invalidInputFormat: R0,
|
|
5897
5897
|
createBookingErrorTitle: N0,
|
|
@@ -5951,8 +5951,8 @@ const mo = "No date selected", bo = "Choose another time slot to reschedule your
|
|
|
5951
5951
|
goBackButton: B0,
|
|
5952
5952
|
bookingCancelledTitle: A0,
|
|
5953
5953
|
bookingCancelledMessage: I0,
|
|
5954
|
-
closeButton:
|
|
5955
|
-
closingButton:
|
|
5954
|
+
closeButton: D0,
|
|
5955
|
+
closingButton: O0,
|
|
5956
5956
|
fieldRequired: M0,
|
|
5957
5957
|
invalidInputFormat: R0,
|
|
5958
5958
|
createBookingErrorTitle: N0,
|
|
@@ -5999,7 +5999,7 @@ const mo = "No date selected", bo = "Choose another time slot to reschedule your
|
|
|
5999
5999
|
october: "Oktober",
|
|
6000
6000
|
november: "November",
|
|
6001
6001
|
december: "December"
|
|
6002
|
-
}, rh = "Volgende", ih = "{{date}}", sh = "{{time}}", oh = "Naam", uh = "Voer je naam in", ah = "E-mail", lh = "Voer je e-mail in", ch = "E-mail van gast", dh = "Voer het e-mailadres van de gast in", fh = "Gast toevoegen", hh = "Nog een gast toevoegen", ph = "Terug", gh = "Boek nu", mh = "Boeking bevestigd", bh = "U ontvangt binnenkort een e-mailbevestiging.", yh = "Boeking verzonden", xh = "U ontvangt een e-mail zodra de boeking is bevestigd.", vh = "Boeking verplaatst", wh = "Boekingsdatum en -tijd", kh = "Boeking annuleren", Eh = "Herplannen", Th = "Boeking afwijzen", $h = "Boeking bevestigen", Sh = "Boeking in afwachting", Ch = "Beheer uw boeking hieronder. De genodigde ontvangt een e-mail over de status van de aanvraag.", Bh = "Uw boeking is succesvol bevestigd", Ah = "Een bevestigingsmail is verzonden naar", Ih = "Boeking annuleren?",
|
|
6002
|
+
}, rh = "Volgende", ih = "{{date}}", sh = "{{time}}", oh = "Naam", uh = "Voer je naam in", ah = "E-mail", lh = "Voer je e-mail in", ch = "E-mail van gast", dh = "Voer het e-mailadres van de gast in", fh = "Gast toevoegen", hh = "Nog een gast toevoegen", ph = "Terug", gh = "Boek nu", mh = "Boeking bevestigd", bh = "U ontvangt binnenkort een e-mailbevestiging.", yh = "Boeking verzonden", xh = "U ontvangt een e-mail zodra de boeking is bevestigd.", vh = "Boeking verplaatst", wh = "Boekingsdatum en -tijd", kh = "Boeking annuleren", Eh = "Herplannen", Th = "Boeking afwijzen", $h = "Boeking bevestigen", Sh = "Boeking in afwachting", Ch = "Beheer uw boeking hieronder. De genodigde ontvangt een e-mail over de status van de aanvraag.", Bh = "Uw boeking is succesvol bevestigd", Ah = "Een bevestigingsmail is verzonden naar", Ih = "Boeking annuleren?", Dh = "Uw huidige tijdslot zal beschikbaar worden voor anderen.", Oh = "Reden voor annulering", Mh = "Ga terug", Rh = "Uw boeking is succesvol geannuleerd", Nh = "Er is een annuleringsmail verzonden naar", Ph = "Sluiten", Lh = "Sluiten", _h = "{{field}} is vereist.", Fh = "{{field}} heeft een ongeldig formaat.", Uh = "Boeking Maken", qh = "Beschikbaarheid Opvragen", jh = "Boeking Annuleren", Hh = "Boeking Wijzigen", zh = "UI-instellingen Ophalen", Yh = "Boeking Afwijzen", Gh = "Boeking Bevestigen", Wh = "Er is iets misgegaan...", Vh = "Geen sessie-ID!", Kh = "Fout in planningscomponent", Zh = "'sessionId' is vereist voor privéconfiguraties.", Jh = "Als u een openbare configuratie gebruikt, geeft u een configurationId of een combinatie van 'slug' en 'clientId' door.", Qh = "Het geselecteerde tijdslot is ongeldig", Xh = "Annuleringsfout", ep = "Geef een reden op voor de annulering.", tp = "U kunt de boeking niet annuleren binnen {{minCancellationNotice}} minuten voor het evenement", np = "Fout in het annuleringsformulier", kb = {
|
|
6003
6003
|
noDateSelected: Q0,
|
|
6004
6004
|
rescheduleTitle: X0,
|
|
6005
6005
|
days: eh,
|
|
@@ -6033,8 +6033,8 @@ const mo = "No date selected", bo = "Choose another time slot to reschedule your
|
|
|
6033
6033
|
confirmedEventCardTitle: Bh,
|
|
6034
6034
|
confirmedEventCardDescription: Ah,
|
|
6035
6035
|
cancelBookingTitle: Ih,
|
|
6036
|
-
cancelBookingMessage:
|
|
6037
|
-
reasonForCancellation:
|
|
6036
|
+
cancelBookingMessage: Dh,
|
|
6037
|
+
reasonForCancellation: Oh,
|
|
6038
6038
|
goBackButton: Mh,
|
|
6039
6039
|
bookingCancelledTitle: Rh,
|
|
6040
6040
|
bookingCancelledMessage: Nh,
|
|
@@ -6094,8 +6094,8 @@ const mo = "No date selected", bo = "Choose another time slot to reschedule your
|
|
|
6094
6094
|
confirmedEventCardTitle: Bh,
|
|
6095
6095
|
confirmedEventCardDescription: Ah,
|
|
6096
6096
|
cancelBookingTitle: Ih,
|
|
6097
|
-
cancelBookingMessage:
|
|
6098
|
-
reasonForCancellation:
|
|
6097
|
+
cancelBookingMessage: Dh,
|
|
6098
|
+
reasonForCancellation: Oh,
|
|
6099
6099
|
goBackButton: Mh,
|
|
6100
6100
|
bookingCancelledTitle: Rh,
|
|
6101
6101
|
bookingCancelledMessage: Nh,
|
|
@@ -6340,7 +6340,7 @@ var fr = {};
|
|
|
6340
6340
|
}, y.prototype.stateNamedEntity = function(C, k) {
|
|
6341
6341
|
for (var v = this.decodeTree, p = v[this.treeIndex], x = (p & d.VALUE_LENGTH) >> 14; k < C.length; k++, this.excess++) {
|
|
6342
6342
|
var m = C.charCodeAt(k);
|
|
6343
|
-
if (this.treeIndex =
|
|
6343
|
+
if (this.treeIndex = O(v, p, this.treeIndex + Math.max(1, x), m), this.treeIndex < 0)
|
|
6344
6344
|
return this.result === 0 || // If we are parsing an attribute
|
|
6345
6345
|
this.decodeMode === B.Attribute && // We shouldn't have consumed any characters after the entity,
|
|
6346
6346
|
(x === 0 || // And there should be no invalid characters.
|
|
@@ -6376,7 +6376,7 @@ var fr = {};
|
|
|
6376
6376
|
}()
|
|
6377
6377
|
);
|
|
6378
6378
|
n.EntityDecoder = M;
|
|
6379
|
-
function
|
|
6379
|
+
function z(y) {
|
|
6380
6380
|
var C = "", k = new M(y, function(v) {
|
|
6381
6381
|
return C += (0, u.fromCodePoint)(v);
|
|
6382
6382
|
});
|
|
@@ -6398,7 +6398,7 @@ var fr = {};
|
|
|
6398
6398
|
return C = "", R;
|
|
6399
6399
|
};
|
|
6400
6400
|
}
|
|
6401
|
-
function
|
|
6401
|
+
function O(y, C, k, v) {
|
|
6402
6402
|
var p = (C & d.BRANCH_LENGTH) >> 7, x = C & d.JUMP_TABLE;
|
|
6403
6403
|
if (p === 0)
|
|
6404
6404
|
return x !== 0 && v === x ? k : -1;
|
|
@@ -6407,57 +6407,57 @@ var fr = {};
|
|
|
6407
6407
|
return m < 0 || m >= p ? -1 : y[k + m] - 1;
|
|
6408
6408
|
}
|
|
6409
6409
|
for (var $ = k, I = $ + p - 1; $ <= I; ) {
|
|
6410
|
-
var R = $ + I >>> 1,
|
|
6411
|
-
if (
|
|
6410
|
+
var R = $ + I >>> 1, L = y[R];
|
|
6411
|
+
if (L < v)
|
|
6412
6412
|
$ = R + 1;
|
|
6413
|
-
else if (
|
|
6413
|
+
else if (L > v)
|
|
6414
6414
|
I = R - 1;
|
|
6415
6415
|
else
|
|
6416
6416
|
return y[R + p];
|
|
6417
6417
|
}
|
|
6418
6418
|
return -1;
|
|
6419
6419
|
}
|
|
6420
|
-
n.determineBranch =
|
|
6421
|
-
var
|
|
6420
|
+
n.determineBranch = O;
|
|
6421
|
+
var P = z(s.default), U = z(o.default);
|
|
6422
6422
|
function G(y, C) {
|
|
6423
|
-
return C === void 0 && (C = B.Legacy),
|
|
6423
|
+
return C === void 0 && (C = B.Legacy), P(y, C);
|
|
6424
6424
|
}
|
|
6425
6425
|
n.decodeHTML = G;
|
|
6426
6426
|
function Z(y) {
|
|
6427
|
-
return
|
|
6427
|
+
return P(y, B.Attribute);
|
|
6428
6428
|
}
|
|
6429
6429
|
n.decodeHTMLAttribute = Z;
|
|
6430
|
-
function
|
|
6431
|
-
return
|
|
6430
|
+
function Y(y) {
|
|
6431
|
+
return P(y, B.Strict);
|
|
6432
6432
|
}
|
|
6433
|
-
n.decodeHTMLStrict =
|
|
6434
|
-
function
|
|
6433
|
+
n.decodeHTMLStrict = Y;
|
|
6434
|
+
function F(y) {
|
|
6435
6435
|
return U(y, B.Strict);
|
|
6436
6436
|
}
|
|
6437
|
-
n.decodeXML =
|
|
6437
|
+
n.decodeXML = F;
|
|
6438
6438
|
})(Re);
|
|
6439
|
-
var
|
|
6439
|
+
var D;
|
|
6440
6440
|
(function(n) {
|
|
6441
6441
|
n[n.Tab = 9] = "Tab", n[n.NewLine = 10] = "NewLine", n[n.FormFeed = 12] = "FormFeed", n[n.CarriageReturn = 13] = "CarriageReturn", n[n.Space = 32] = "Space", n[n.ExclamationMark = 33] = "ExclamationMark", n[n.Number = 35] = "Number", n[n.Amp = 38] = "Amp", n[n.SingleQuote = 39] = "SingleQuote", n[n.DoubleQuote = 34] = "DoubleQuote", n[n.Dash = 45] = "Dash", n[n.Slash = 47] = "Slash", n[n.Zero = 48] = "Zero", n[n.Nine = 57] = "Nine", n[n.Semi = 59] = "Semi", n[n.Lt = 60] = "Lt", n[n.Eq = 61] = "Eq", n[n.Gt = 62] = "Gt", n[n.Questionmark = 63] = "Questionmark", n[n.UpperA = 65] = "UpperA", n[n.LowerA = 97] = "LowerA", n[n.UpperF = 70] = "UpperF", n[n.LowerF = 102] = "LowerF", n[n.UpperZ = 90] = "UpperZ", n[n.LowerZ = 122] = "LowerZ", n[n.LowerX = 120] = "LowerX", n[n.OpeningSquareBracket = 91] = "OpeningSquareBracket";
|
|
6442
|
-
})(
|
|
6442
|
+
})(D || (D = {}));
|
|
6443
6443
|
var T;
|
|
6444
6444
|
(function(n) {
|
|
6445
6445
|
n[n.Text = 1] = "Text", n[n.BeforeTagName = 2] = "BeforeTagName", n[n.InTagName = 3] = "InTagName", n[n.InSelfClosingTag = 4] = "InSelfClosingTag", n[n.BeforeClosingTagName = 5] = "BeforeClosingTagName", n[n.InClosingTagName = 6] = "InClosingTagName", n[n.AfterClosingTagName = 7] = "AfterClosingTagName", n[n.BeforeAttributeName = 8] = "BeforeAttributeName", n[n.InAttributeName = 9] = "InAttributeName", n[n.AfterAttributeName = 10] = "AfterAttributeName", n[n.BeforeAttributeValue = 11] = "BeforeAttributeValue", n[n.InAttributeValueDq = 12] = "InAttributeValueDq", n[n.InAttributeValueSq = 13] = "InAttributeValueSq", n[n.InAttributeValueNq = 14] = "InAttributeValueNq", n[n.BeforeDeclaration = 15] = "BeforeDeclaration", n[n.InDeclaration = 16] = "InDeclaration", n[n.InProcessingInstruction = 17] = "InProcessingInstruction", n[n.BeforeComment = 18] = "BeforeComment", n[n.CDATASequence = 19] = "CDATASequence", n[n.InSpecialComment = 20] = "InSpecialComment", n[n.InCommentLike = 21] = "InCommentLike", n[n.BeforeSpecialS = 22] = "BeforeSpecialS", n[n.SpecialStartSequence = 23] = "SpecialStartSequence", n[n.InSpecialTag = 24] = "InSpecialTag", n[n.BeforeEntity = 25] = "BeforeEntity", n[n.BeforeNumericEntity = 26] = "BeforeNumericEntity", n[n.InNamedEntity = 27] = "InNamedEntity", n[n.InNumericEntity = 28] = "InNumericEntity", n[n.InHexEntity = 29] = "InHexEntity";
|
|
6446
6446
|
})(T || (T = {}));
|
|
6447
6447
|
function je(n) {
|
|
6448
|
-
return n ===
|
|
6448
|
+
return n === D.Space || n === D.NewLine || n === D.Tab || n === D.FormFeed || n === D.CarriageReturn;
|
|
6449
6449
|
}
|
|
6450
6450
|
function Gt(n) {
|
|
6451
|
-
return n ===
|
|
6451
|
+
return n === D.Slash || n === D.Gt || je(n);
|
|
6452
6452
|
}
|
|
6453
6453
|
function Qi(n) {
|
|
6454
|
-
return n >=
|
|
6454
|
+
return n >= D.Zero && n <= D.Nine;
|
|
6455
6455
|
}
|
|
6456
6456
|
function Tb(n) {
|
|
6457
|
-
return n >=
|
|
6457
|
+
return n >= D.LowerA && n <= D.LowerZ || n >= D.UpperA && n <= D.UpperZ;
|
|
6458
6458
|
}
|
|
6459
6459
|
function $b(n) {
|
|
6460
|
-
return n >=
|
|
6460
|
+
return n >= D.UpperA && n <= D.UpperF || n >= D.LowerA && n <= D.LowerF;
|
|
6461
6461
|
}
|
|
6462
6462
|
var Le;
|
|
6463
6463
|
(function(n) {
|
|
@@ -6504,7 +6504,7 @@ class rp {
|
|
|
6504
6504
|
return this.sectionStart;
|
|
6505
6505
|
}
|
|
6506
6506
|
stateText(e) {
|
|
6507
|
-
e ===
|
|
6507
|
+
e === D.Lt || !this.decodeEntities && this.fastForwardTo(D.Lt) ? (this.index > this.sectionStart && this.cbs.ontext(this.sectionStart, this.index), this.state = T.BeforeTagName, this.sectionStart = this.index) : this.decodeEntities && e === D.Amp && (this.state = T.BeforeEntity);
|
|
6508
6508
|
}
|
|
6509
6509
|
stateSpecialStartSequence(e) {
|
|
6510
6510
|
const t = this.sequenceIndex === this.currentSequence.length;
|
|
@@ -6525,7 +6525,7 @@ class rp {
|
|
|
6525
6525
|
/** Look for an end tag. For <title> tags, also decode entities. */
|
|
6526
6526
|
stateInSpecialTag(e) {
|
|
6527
6527
|
if (this.sequenceIndex === this.currentSequence.length) {
|
|
6528
|
-
if (e ===
|
|
6528
|
+
if (e === D.Gt || je(e)) {
|
|
6529
6529
|
const t = this.index - this.currentSequence.length;
|
|
6530
6530
|
if (this.sectionStart < t) {
|
|
6531
6531
|
const r = this.index;
|
|
@@ -6536,7 +6536,7 @@ class rp {
|
|
|
6536
6536
|
}
|
|
6537
6537
|
this.sequenceIndex = 0;
|
|
6538
6538
|
}
|
|
6539
|
-
(e | 32) === this.currentSequence[this.sequenceIndex] ? this.sequenceIndex += 1 : this.sequenceIndex === 0 ? this.currentSequence === fe.TitleEnd ? this.decodeEntities && e ===
|
|
6539
|
+
(e | 32) === this.currentSequence[this.sequenceIndex] ? this.sequenceIndex += 1 : this.sequenceIndex === 0 ? this.currentSequence === fe.TitleEnd ? this.decodeEntities && e === D.Amp && (this.state = T.BeforeEntity) : this.fastForwardTo(D.Lt) && (this.sequenceIndex = 1) : this.sequenceIndex = +(e === D.Lt);
|
|
6540
6540
|
}
|
|
6541
6541
|
stateCDATASequence(e) {
|
|
6542
6542
|
e === fe.Cdata[this.sequenceIndex] ? ++this.sequenceIndex === fe.Cdata.length && (this.state = T.InCommentLike, this.currentSequence = fe.CdataEnd, this.sequenceIndex = 0, this.sectionStart = this.index + 1) : (this.sequenceIndex = 0, this.state = T.InDeclaration, this.stateInDeclaration(e));
|
|
@@ -6577,75 +6577,75 @@ class rp {
|
|
|
6577
6577
|
this.isSpecial = !0, this.currentSequence = e, this.sequenceIndex = t, this.state = T.SpecialStartSequence;
|
|
6578
6578
|
}
|
|
6579
6579
|
stateBeforeTagName(e) {
|
|
6580
|
-
if (e ===
|
|
6580
|
+
if (e === D.ExclamationMark)
|
|
6581
6581
|
this.state = T.BeforeDeclaration, this.sectionStart = this.index + 1;
|
|
6582
|
-
else if (e ===
|
|
6582
|
+
else if (e === D.Questionmark)
|
|
6583
6583
|
this.state = T.InProcessingInstruction, this.sectionStart = this.index + 1;
|
|
6584
6584
|
else if (this.isTagStartChar(e)) {
|
|
6585
6585
|
const t = e | 32;
|
|
6586
6586
|
this.sectionStart = this.index, !this.xmlMode && t === fe.TitleEnd[2] ? this.startSpecial(fe.TitleEnd, 3) : this.state = !this.xmlMode && t === fe.ScriptEnd[2] ? T.BeforeSpecialS : T.InTagName;
|
|
6587
|
-
} else e ===
|
|
6587
|
+
} else e === D.Slash ? this.state = T.BeforeClosingTagName : (this.state = T.Text, this.stateText(e));
|
|
6588
6588
|
}
|
|
6589
6589
|
stateInTagName(e) {
|
|
6590
6590
|
Gt(e) && (this.cbs.onopentagname(this.sectionStart, this.index), this.sectionStart = -1, this.state = T.BeforeAttributeName, this.stateBeforeAttributeName(e));
|
|
6591
6591
|
}
|
|
6592
6592
|
stateBeforeClosingTagName(e) {
|
|
6593
|
-
je(e) || (e ===
|
|
6593
|
+
je(e) || (e === D.Gt ? this.state = T.Text : (this.state = this.isTagStartChar(e) ? T.InClosingTagName : T.InSpecialComment, this.sectionStart = this.index));
|
|
6594
6594
|
}
|
|
6595
6595
|
stateInClosingTagName(e) {
|
|
6596
|
-
(e ===
|
|
6596
|
+
(e === D.Gt || je(e)) && (this.cbs.onclosetag(this.sectionStart, this.index), this.sectionStart = -1, this.state = T.AfterClosingTagName, this.stateAfterClosingTagName(e));
|
|
6597
6597
|
}
|
|
6598
6598
|
stateAfterClosingTagName(e) {
|
|
6599
|
-
(e ===
|
|
6599
|
+
(e === D.Gt || this.fastForwardTo(D.Gt)) && (this.state = T.Text, this.baseState = T.Text, this.sectionStart = this.index + 1);
|
|
6600
6600
|
}
|
|
6601
6601
|
stateBeforeAttributeName(e) {
|
|
6602
|
-
e ===
|
|
6602
|
+
e === D.Gt ? (this.cbs.onopentagend(this.index), this.isSpecial ? (this.state = T.InSpecialTag, this.sequenceIndex = 0) : this.state = T.Text, this.baseState = this.state, this.sectionStart = this.index + 1) : e === D.Slash ? this.state = T.InSelfClosingTag : je(e) || (this.state = T.InAttributeName, this.sectionStart = this.index);
|
|
6603
6603
|
}
|
|
6604
6604
|
stateInSelfClosingTag(e) {
|
|
6605
|
-
e ===
|
|
6605
|
+
e === D.Gt ? (this.cbs.onselfclosingtag(this.index), this.state = T.Text, this.baseState = T.Text, this.sectionStart = this.index + 1, this.isSpecial = !1) : je(e) || (this.state = T.BeforeAttributeName, this.stateBeforeAttributeName(e));
|
|
6606
6606
|
}
|
|
6607
6607
|
stateInAttributeName(e) {
|
|
6608
|
-
(e ===
|
|
6608
|
+
(e === D.Eq || Gt(e)) && (this.cbs.onattribname(this.sectionStart, this.index), this.sectionStart = -1, this.state = T.AfterAttributeName, this.stateAfterAttributeName(e));
|
|
6609
6609
|
}
|
|
6610
6610
|
stateAfterAttributeName(e) {
|
|
6611
|
-
e ===
|
|
6611
|
+
e === D.Eq ? this.state = T.BeforeAttributeValue : e === D.Slash || e === D.Gt ? (this.cbs.onattribend(Le.NoValue, this.index), this.state = T.BeforeAttributeName, this.stateBeforeAttributeName(e)) : je(e) || (this.cbs.onattribend(Le.NoValue, this.index), this.state = T.InAttributeName, this.sectionStart = this.index);
|
|
6612
6612
|
}
|
|
6613
6613
|
stateBeforeAttributeValue(e) {
|
|
6614
|
-
e ===
|
|
6614
|
+
e === D.DoubleQuote ? (this.state = T.InAttributeValueDq, this.sectionStart = this.index + 1) : e === D.SingleQuote ? (this.state = T.InAttributeValueSq, this.sectionStart = this.index + 1) : je(e) || (this.sectionStart = this.index, this.state = T.InAttributeValueNq, this.stateInAttributeValueNoQuotes(e));
|
|
6615
6615
|
}
|
|
6616
6616
|
handleInAttributeValue(e, t) {
|
|
6617
|
-
e === t || !this.decodeEntities && this.fastForwardTo(t) ? (this.cbs.onattribdata(this.sectionStart, this.index), this.sectionStart = -1, this.cbs.onattribend(t ===
|
|
6617
|
+
e === t || !this.decodeEntities && this.fastForwardTo(t) ? (this.cbs.onattribdata(this.sectionStart, this.index), this.sectionStart = -1, this.cbs.onattribend(t === D.DoubleQuote ? Le.Double : Le.Single, this.index), this.state = T.BeforeAttributeName) : this.decodeEntities && e === D.Amp && (this.baseState = this.state, this.state = T.BeforeEntity);
|
|
6618
6618
|
}
|
|
6619
6619
|
stateInAttributeValueDoubleQuotes(e) {
|
|
6620
|
-
this.handleInAttributeValue(e,
|
|
6620
|
+
this.handleInAttributeValue(e, D.DoubleQuote);
|
|
6621
6621
|
}
|
|
6622
6622
|
stateInAttributeValueSingleQuotes(e) {
|
|
6623
|
-
this.handleInAttributeValue(e,
|
|
6623
|
+
this.handleInAttributeValue(e, D.SingleQuote);
|
|
6624
6624
|
}
|
|
6625
6625
|
stateInAttributeValueNoQuotes(e) {
|
|
6626
|
-
je(e) || e ===
|
|
6626
|
+
je(e) || e === D.Gt ? (this.cbs.onattribdata(this.sectionStart, this.index), this.sectionStart = -1, this.cbs.onattribend(Le.Unquoted, this.index), this.state = T.BeforeAttributeName, this.stateBeforeAttributeName(e)) : this.decodeEntities && e === D.Amp && (this.baseState = this.state, this.state = T.BeforeEntity);
|
|
6627
6627
|
}
|
|
6628
6628
|
stateBeforeDeclaration(e) {
|
|
6629
|
-
e ===
|
|
6629
|
+
e === D.OpeningSquareBracket ? (this.state = T.CDATASequence, this.sequenceIndex = 0) : this.state = e === D.Dash ? T.BeforeComment : T.InDeclaration;
|
|
6630
6630
|
}
|
|
6631
6631
|
stateInDeclaration(e) {
|
|
6632
|
-
(e ===
|
|
6632
|
+
(e === D.Gt || this.fastForwardTo(D.Gt)) && (this.cbs.ondeclaration(this.sectionStart, this.index), this.state = T.Text, this.sectionStart = this.index + 1);
|
|
6633
6633
|
}
|
|
6634
6634
|
stateInProcessingInstruction(e) {
|
|
6635
|
-
(e ===
|
|
6635
|
+
(e === D.Gt || this.fastForwardTo(D.Gt)) && (this.cbs.onprocessinginstruction(this.sectionStart, this.index), this.state = T.Text, this.sectionStart = this.index + 1);
|
|
6636
6636
|
}
|
|
6637
6637
|
stateBeforeComment(e) {
|
|
6638
|
-
e ===
|
|
6638
|
+
e === D.Dash ? (this.state = T.InCommentLike, this.currentSequence = fe.CommentEnd, this.sequenceIndex = 2, this.sectionStart = this.index + 1) : this.state = T.InDeclaration;
|
|
6639
6639
|
}
|
|
6640
6640
|
stateInSpecialComment(e) {
|
|
6641
|
-
(e ===
|
|
6641
|
+
(e === D.Gt || this.fastForwardTo(D.Gt)) && (this.cbs.oncomment(this.sectionStart, this.index, 0), this.state = T.Text, this.sectionStart = this.index + 1);
|
|
6642
6642
|
}
|
|
6643
6643
|
stateBeforeSpecialS(e) {
|
|
6644
6644
|
const t = e | 32;
|
|
6645
6645
|
t === fe.ScriptEnd[3] ? this.startSpecial(fe.ScriptEnd, 4) : t === fe.StyleEnd[3] ? this.startSpecial(fe.StyleEnd, 4) : (this.state = T.InTagName, this.stateInTagName(e));
|
|
6646
6646
|
}
|
|
6647
6647
|
stateBeforeEntity(e) {
|
|
6648
|
-
this.entityExcess = 1, this.entityResult = 0, e ===
|
|
6648
|
+
this.entityExcess = 1, this.entityResult = 0, e === D.Number ? this.state = T.BeforeNumericEntity : e === D.Amp || (this.trieIndex = 0, this.trieCurrent = this.entityTrie[0], this.state = T.InNamedEntity, this.stateInNamedEntity(e));
|
|
6649
6649
|
}
|
|
6650
6650
|
stateInNamedEntity(e) {
|
|
6651
6651
|
if (this.entityExcess += 1, this.trieIndex = Re.determineBranch(this.entityTrie, this.trieCurrent, this.trieIndex + 1, e), this.trieIndex < 0) {
|
|
@@ -6656,7 +6656,7 @@ class rp {
|
|
|
6656
6656
|
const t = this.trieCurrent & Re.BinTrieFlags.VALUE_LENGTH;
|
|
6657
6657
|
if (t) {
|
|
6658
6658
|
const r = (t >> 14) - 1;
|
|
6659
|
-
if (!this.allowLegacyEntity() && e !==
|
|
6659
|
+
if (!this.allowLegacyEntity() && e !== D.Semi)
|
|
6660
6660
|
this.trieIndex += r;
|
|
6661
6661
|
else {
|
|
6662
6662
|
const i = this.index - this.entityExcess + 1;
|
|
@@ -6681,17 +6681,17 @@ class rp {
|
|
|
6681
6681
|
}
|
|
6682
6682
|
}
|
|
6683
6683
|
stateBeforeNumericEntity(e) {
|
|
6684
|
-
(e | 32) ===
|
|
6684
|
+
(e | 32) === D.LowerX ? (this.entityExcess++, this.state = T.InHexEntity) : (this.state = T.InNumericEntity, this.stateInNumericEntity(e));
|
|
6685
6685
|
}
|
|
6686
6686
|
emitNumericEntity(e) {
|
|
6687
6687
|
const t = this.index - this.entityExcess - 1;
|
|
6688
6688
|
t + 2 + +(this.state === T.InHexEntity) !== this.index && (t > this.sectionStart && this.emitPartial(this.sectionStart, t), this.sectionStart = this.index + Number(e), this.emitCodePoint(Re.replaceCodePoint(this.entityResult))), this.state = this.baseState;
|
|
6689
6689
|
}
|
|
6690
6690
|
stateInNumericEntity(e) {
|
|
6691
|
-
e ===
|
|
6691
|
+
e === D.Semi ? this.emitNumericEntity(!0) : Qi(e) ? (this.entityResult = this.entityResult * 10 + (e - D.Zero), this.entityExcess++) : (this.allowLegacyEntity() ? this.emitNumericEntity(!1) : this.state = this.baseState, this.index--);
|
|
6692
6692
|
}
|
|
6693
6693
|
stateInHexEntity(e) {
|
|
6694
|
-
e ===
|
|
6694
|
+
e === D.Semi ? this.emitNumericEntity(!0) : Qi(e) ? (this.entityResult = this.entityResult * 16 + (e - D.Zero), this.entityExcess++) : $b(e) ? (this.entityResult = this.entityResult * 16 + ((e | 32) - D.LowerA + 10), this.entityExcess++) : (this.allowLegacyEntity() ? this.emitNumericEntity(!1) : this.state = this.baseState, this.index--);
|
|
6695
6695
|
}
|
|
6696
6696
|
allowLegacyEntity() {
|
|
6697
6697
|
return !this.xmlMode && (this.baseState === T.Text || this.baseState === T.InSpecialTag);
|
|
@@ -7479,13 +7479,13 @@ class kn {
|
|
|
7479
7479
|
this.options.withStartIndices && (e.startIndex = this.parser.startIndex), this.options.withEndIndices && (e.endIndex = this.parser.endIndex), t.children.push(e), r && (e.prev = r, r.next = e), e.parent = t, this.lastNode = null;
|
|
7480
7480
|
}
|
|
7481
7481
|
}
|
|
7482
|
-
const ss = /["&'<>$\x80-\uFFFF]/g,
|
|
7482
|
+
const ss = /["&'<>$\x80-\uFFFF]/g, Db = /* @__PURE__ */ new Map([
|
|
7483
7483
|
[34, """],
|
|
7484
7484
|
[38, "&"],
|
|
7485
7485
|
[39, "'"],
|
|
7486
7486
|
[60, "<"],
|
|
7487
7487
|
[62, ">"]
|
|
7488
|
-
]),
|
|
7488
|
+
]), Ob = (
|
|
7489
7489
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
|
7490
7490
|
String.prototype.codePointAt != null ? (n, e) => n.codePointAt(e) : (
|
|
7491
7491
|
// http://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae
|
|
@@ -7495,8 +7495,8 @@ const ss = /["&'<>$\x80-\uFFFF]/g, Ob = /* @__PURE__ */ new Map([
|
|
|
7495
7495
|
function wp(n) {
|
|
7496
7496
|
let e = "", t = 0, r;
|
|
7497
7497
|
for (; (r = ss.exec(n)) !== null; ) {
|
|
7498
|
-
const i = r.index, s = n.charCodeAt(i), o =
|
|
7499
|
-
o !== void 0 ? (e += n.substring(t, i) + o, t = i + 1) : (e += `${n.substring(t, i)}&#x${
|
|
7498
|
+
const i = r.index, s = n.charCodeAt(i), o = Db.get(s);
|
|
7499
|
+
o !== void 0 ? (e += n.substring(t, i) + o, t = i + 1) : (e += `${n.substring(t, i)}&#x${Ob(n, i).toString(16)};`, t = ss.lastIndex += +((s & 64512) === 55296));
|
|
7500
7500
|
}
|
|
7501
7501
|
return e + n.substr(t);
|
|
7502
7502
|
}
|
|
@@ -7973,7 +7973,7 @@ function g2(n) {
|
|
|
7973
7973
|
type: "atom",
|
|
7974
7974
|
items: xt("entry", t).map((o) => {
|
|
7975
7975
|
var u;
|
|
7976
|
-
const { children: a } = o, l = { media:
|
|
7976
|
+
const { children: a } = o, l = { media: Dp(a) };
|
|
7977
7977
|
he(l, "id", "id", a), he(l, "title", "title", a);
|
|
7978
7978
|
const c = (u = $n("link", a)) === null || u === void 0 ? void 0 : u.attribs.href;
|
|
7979
7979
|
c && (l.link = c);
|
|
@@ -7995,7 +7995,7 @@ function m2(n) {
|
|
|
7995
7995
|
type: n.name.substr(0, 3),
|
|
7996
7996
|
id: "",
|
|
7997
7997
|
items: xt("item", n.children).map((o) => {
|
|
7998
|
-
const { children: u } = o, a = { media:
|
|
7998
|
+
const { children: u } = o, a = { media: Dp(u) };
|
|
7999
7999
|
he(a, "id", "guid", u), he(a, "title", "title", u), he(a, "link", "link", u), he(a, "description", "description", u);
|
|
8000
8000
|
const l = Je("pubDate", u) || Je("dc:date", u);
|
|
8001
8001
|
return l && (a.pubDate = new Date(l)), a;
|
|
@@ -8015,7 +8015,7 @@ const b2 = ["url", "type", "lang"], y2 = [
|
|
|
8015
8015
|
"height",
|
|
8016
8016
|
"width"
|
|
8017
8017
|
];
|
|
8018
|
-
function
|
|
8018
|
+
function Dp(n) {
|
|
8019
8019
|
return xt("media:content", n).map((e) => {
|
|
8020
8020
|
const { attribs: t } = e, r = {
|
|
8021
8021
|
medium: t.medium,
|
|
@@ -8087,12 +8087,12 @@ const v2 = /* @__PURE__ */ Object.freeze({
|
|
|
8087
8087
|
uniqueSort: p2,
|
|
8088
8088
|
getFeed: Zr
|
|
8089
8089
|
});
|
|
8090
|
-
function
|
|
8090
|
+
function Op(n, e) {
|
|
8091
8091
|
const t = new kn(void 0, e);
|
|
8092
8092
|
return new zr(t, e).end(n), t.root;
|
|
8093
8093
|
}
|
|
8094
8094
|
function Mp(n, e) {
|
|
8095
|
-
return
|
|
8095
|
+
return Op(n, e).children;
|
|
8096
8096
|
}
|
|
8097
8097
|
function w2(n, e, t) {
|
|
8098
8098
|
const r = new kn(n, e, t);
|
|
@@ -8104,7 +8104,7 @@ function E2(n, e = k2) {
|
|
|
8104
8104
|
}
|
|
8105
8105
|
const T2 = /* @__PURE__ */ Object.freeze({
|
|
8106
8106
|
__proto__: null,
|
|
8107
|
-
parseDocument:
|
|
8107
|
+
parseDocument: Op,
|
|
8108
8108
|
parseDOM: Mp,
|
|
8109
8109
|
createDomStream: w2,
|
|
8110
8110
|
parseFeed: E2,
|
|
@@ -8139,12 +8139,12 @@ const B2 = /* @__PURE__ */ Object.freeze({
|
|
|
8139
8139
|
isPlainObject: C2
|
|
8140
8140
|
}), A2 = /* @__PURE__ */ Nn(B2);
|
|
8141
8141
|
var I2 = function(e) {
|
|
8142
|
-
return
|
|
8142
|
+
return D2(e) && !O2(e);
|
|
8143
8143
|
};
|
|
8144
|
-
function
|
|
8144
|
+
function D2(n) {
|
|
8145
8145
|
return !!n && typeof n == "object";
|
|
8146
8146
|
}
|
|
8147
|
-
function
|
|
8147
|
+
function O2(n) {
|
|
8148
8148
|
var e = Object.prototype.toString.call(n);
|
|
8149
8149
|
return e === "[object RegExp]" || e === "[object Date]" || N2(n);
|
|
8150
8150
|
}
|
|
@@ -8155,12 +8155,12 @@ function N2(n) {
|
|
|
8155
8155
|
function P2(n) {
|
|
8156
8156
|
return Array.isArray(n) ? [] : {};
|
|
8157
8157
|
}
|
|
8158
|
-
function
|
|
8158
|
+
function Dt(n, e) {
|
|
8159
8159
|
return e.clone !== !1 && e.isMergeableObject(n) ? gt(P2(n), n, e) : n;
|
|
8160
8160
|
}
|
|
8161
8161
|
function L2(n, e, t) {
|
|
8162
8162
|
return n.concat(e).map(function(r) {
|
|
8163
|
-
return
|
|
8163
|
+
return Dt(r, t);
|
|
8164
8164
|
});
|
|
8165
8165
|
}
|
|
8166
8166
|
function _2(n, e) {
|
|
@@ -8190,15 +8190,15 @@ function U2(n, e) {
|
|
|
8190
8190
|
function q2(n, e, t) {
|
|
8191
8191
|
var r = {};
|
|
8192
8192
|
return t.isMergeableObject(n) && as(n).forEach(function(i) {
|
|
8193
|
-
r[i] =
|
|
8193
|
+
r[i] = Dt(n[i], t);
|
|
8194
8194
|
}), as(e).forEach(function(i) {
|
|
8195
|
-
U2(n, i) || (Rp(n, i) && t.isMergeableObject(e[i]) ? r[i] = _2(i, t)(n[i], e[i], t) : r[i] =
|
|
8195
|
+
U2(n, i) || (Rp(n, i) && t.isMergeableObject(e[i]) ? r[i] = _2(i, t)(n[i], e[i], t) : r[i] = Dt(e[i], t));
|
|
8196
8196
|
}), r;
|
|
8197
8197
|
}
|
|
8198
8198
|
function gt(n, e, t) {
|
|
8199
|
-
t = t || {}, t.arrayMerge = t.arrayMerge || L2, t.isMergeableObject = t.isMergeableObject || I2, t.cloneUnlessOtherwiseSpecified =
|
|
8199
|
+
t = t || {}, t.arrayMerge = t.arrayMerge || L2, t.isMergeableObject = t.isMergeableObject || I2, t.cloneUnlessOtherwiseSpecified = Dt;
|
|
8200
8200
|
var r = Array.isArray(e), i = Array.isArray(n), s = r === i;
|
|
8201
|
-
return s ? r ? t.arrayMerge(n, e, t) : q2(n, e, t) :
|
|
8201
|
+
return s ? r ? t.arrayMerge(n, e, t) : q2(n, e, t) : Dt(e, t);
|
|
8202
8202
|
}
|
|
8203
8203
|
gt.all = function(e, t) {
|
|
8204
8204
|
if (!Array.isArray(e))
|
|
@@ -8213,23 +8213,23 @@ var j2 = gt, H2 = j2, Np = { exports: {} };
|
|
|
8213
8213
|
n.exports ? n.exports = t() : e.parseSrcset = t();
|
|
8214
8214
|
})(Se, function() {
|
|
8215
8215
|
return function(e) {
|
|
8216
|
-
function t(
|
|
8217
|
-
return
|
|
8218
|
-
|
|
8219
|
-
|
|
8216
|
+
function t(O) {
|
|
8217
|
+
return O === " " || // space
|
|
8218
|
+
O === " " || // horizontal tab
|
|
8219
|
+
O === `
|
|
8220
8220
|
` || // new line
|
|
8221
|
-
|
|
8222
|
-
|
|
8221
|
+
O === "\f" || // form feed
|
|
8222
|
+
O === "\r";
|
|
8223
8223
|
}
|
|
8224
|
-
function r(
|
|
8225
|
-
var
|
|
8224
|
+
function r(O) {
|
|
8225
|
+
var P, U = O.exec(e.substring(g));
|
|
8226
8226
|
if (U)
|
|
8227
|
-
return
|
|
8227
|
+
return P = U[0], g += P.length, P;
|
|
8228
8228
|
}
|
|
8229
8229
|
for (var i = e.length, s = /^[ \t\n\r\u000c]+/, o = /^[, \t\n\r\u000c]+/, u = /^[^ \t\n\r\u000c]+/, a = /[,]+$/, l = /^\d+$/, c = /^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/, d, f, h, b, w, g = 0, B = []; ; ) {
|
|
8230
8230
|
if (r(o), g >= i)
|
|
8231
8231
|
return B;
|
|
8232
|
-
d = r(u), f = [], d.slice(-1) === "," ? (d = d.replace(a, ""),
|
|
8232
|
+
d = r(u), f = [], d.slice(-1) === "," ? (d = d.replace(a, ""), z()) : M();
|
|
8233
8233
|
}
|
|
8234
8234
|
function M() {
|
|
8235
8235
|
for (r(s), h = "", b = "in descriptor"; ; ) {
|
|
@@ -8237,12 +8237,12 @@ var j2 = gt, H2 = j2, Np = { exports: {} };
|
|
|
8237
8237
|
if (t(w))
|
|
8238
8238
|
h && (f.push(h), h = "", b = "after descriptor");
|
|
8239
8239
|
else if (w === ",") {
|
|
8240
|
-
g += 1, h && f.push(h),
|
|
8240
|
+
g += 1, h && f.push(h), z();
|
|
8241
8241
|
return;
|
|
8242
8242
|
} else if (w === "(")
|
|
8243
8243
|
h = h + w, b = "in parens";
|
|
8244
8244
|
else if (w === "") {
|
|
8245
|
-
h && f.push(h),
|
|
8245
|
+
h && f.push(h), z();
|
|
8246
8246
|
return;
|
|
8247
8247
|
} else
|
|
8248
8248
|
h = h + w;
|
|
@@ -8250,24 +8250,24 @@ var j2 = gt, H2 = j2, Np = { exports: {} };
|
|
|
8250
8250
|
if (w === ")")
|
|
8251
8251
|
h = h + w, b = "in descriptor";
|
|
8252
8252
|
else if (w === "") {
|
|
8253
|
-
f.push(h),
|
|
8253
|
+
f.push(h), z();
|
|
8254
8254
|
return;
|
|
8255
8255
|
} else
|
|
8256
8256
|
h = h + w;
|
|
8257
8257
|
else if (b === "after descriptor" && !t(w))
|
|
8258
8258
|
if (w === "") {
|
|
8259
|
-
|
|
8259
|
+
z();
|
|
8260
8260
|
return;
|
|
8261
8261
|
} else
|
|
8262
8262
|
b = "in descriptor", g -= 1;
|
|
8263
8263
|
g += 1;
|
|
8264
8264
|
}
|
|
8265
8265
|
}
|
|
8266
|
-
function
|
|
8267
|
-
var
|
|
8266
|
+
function z() {
|
|
8267
|
+
var O = !1, P, U, G, Z, Y = {}, F, y, C, k, v;
|
|
8268
8268
|
for (Z = 0; Z < f.length; Z++)
|
|
8269
|
-
|
|
8270
|
-
|
|
8269
|
+
F = f[Z], y = F[F.length - 1], C = F.substring(0, F.length - 1), k = parseInt(C, 10), v = parseFloat(C), l.test(C) && y === "w" ? ((P || U) && (O = !0), k === 0 ? O = !0 : P = k) : c.test(C) && y === "x" ? ((P || U || G) && (O = !0), v < 0 ? O = !0 : U = v) : l.test(C) && y === "h" ? ((G || U) && (O = !0), k === 0 ? O = !0 : G = k) : O = !0;
|
|
8270
|
+
O ? console && console.log && console.log("Invalid srcset descriptor found in '" + e + "' at '" + F + "'.") : (Y.url = d, P && (Y.w = P), U && (Y.d = U), G && (Y.h = G), B.push(Y));
|
|
8271
8271
|
}
|
|
8272
8272
|
};
|
|
8273
8273
|
});
|
|
@@ -8282,9 +8282,9 @@ const z2 = {}, Y2 = /* @__PURE__ */ Object.freeze({
|
|
|
8282
8282
|
default: z2
|
|
8283
8283
|
}), Ie = /* @__PURE__ */ Nn(Y2);
|
|
8284
8284
|
let cs = Jr.exports, ds = Ie;
|
|
8285
|
-
class
|
|
8285
|
+
class Ot extends Error {
|
|
8286
8286
|
constructor(e, t, r, i, s, o) {
|
|
8287
|
-
super(e), this.name = "CssSyntaxError", this.reason = e, s && (this.file = s), i && (this.source = i), o && (this.plugin = o), typeof t < "u" && typeof r < "u" && (typeof t == "number" ? (this.line = t, this.column = r) : (this.line = t.line, this.column = t.column, this.endLine = r.line, this.endColumn = r.column)), this.setMessage(), Error.captureStackTrace && Error.captureStackTrace(this,
|
|
8287
|
+
super(e), this.name = "CssSyntaxError", this.reason = e, s && (this.file = s), i && (this.source = i), o && (this.plugin = o), typeof t < "u" && typeof r < "u" && (typeof t == "number" ? (this.line = t, this.column = r) : (this.line = t.line, this.column = t.column, this.endLine = r.line, this.endColumn = r.column)), this.setMessage(), Error.captureStackTrace && Error.captureStackTrace(this, Ot);
|
|
8288
8288
|
}
|
|
8289
8289
|
setMessage() {
|
|
8290
8290
|
this.message = this.plugin ? this.plugin + ": " : "", this.message += this.file ? this.file : "<css input>", typeof this.line < "u" && (this.message += ":" + this.line + ":" + this.column), this.message += ": " + this.reason;
|
|
@@ -8318,8 +8318,8 @@ class Dt extends Error {
|
|
|
8318
8318
|
`), this.name + ": " + this.message + e;
|
|
8319
8319
|
}
|
|
8320
8320
|
}
|
|
8321
|
-
var Qr =
|
|
8322
|
-
|
|
8321
|
+
var Qr = Ot;
|
|
8322
|
+
Ot.default = Ot;
|
|
8323
8323
|
var qt = {};
|
|
8324
8324
|
qt.isClean = Symbol("isClean");
|
|
8325
8325
|
qt.my = Symbol("my");
|
|
@@ -9377,22 +9377,22 @@ class Sr {
|
|
|
9377
9377
|
}
|
|
9378
9378
|
var ni = Sr;
|
|
9379
9379
|
Sr.default = Sr;
|
|
9380
|
-
const Qn = 39, xs = 34, Kt = 92, vs = 47, Zt = 10, wt = 32, Jt = 12, Qt = 9, Xt = 13, wy = 91, ky = 93, Ey = 40, Ty = 41, $y = 123, Sy = 125, Cy = 59, By = 42, Ay = 58, Iy = 64, en = /[\t\n\f\r "#'()/;[\\\]{}]/g, tn = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,
|
|
9381
|
-
var
|
|
9380
|
+
const Qn = 39, xs = 34, Kt = 92, vs = 47, Zt = 10, wt = 32, Jt = 12, Qt = 9, Xt = 13, wy = 91, ky = 93, Ey = 40, Ty = 41, $y = 123, Sy = 125, Cy = 59, By = 42, Ay = 58, Iy = 64, en = /[\t\n\f\r "#'()/;[\\\]{}]/g, tn = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, Dy = /.[\n"'(/\\]/, ws = /[\da-f]/i;
|
|
9381
|
+
var Oy = function(e, t = {}) {
|
|
9382
9382
|
let r = e.css.valueOf(), i = t.ignoreErrors, s, o, u, a, l, c, d, f, h, b, w = r.length, g = 0, B = [], M = [];
|
|
9383
|
-
function
|
|
9383
|
+
function z() {
|
|
9384
9384
|
return g;
|
|
9385
9385
|
}
|
|
9386
|
-
function
|
|
9386
|
+
function O(Z) {
|
|
9387
9387
|
throw e.error("Unclosed " + Z, g);
|
|
9388
9388
|
}
|
|
9389
|
-
function
|
|
9389
|
+
function P() {
|
|
9390
9390
|
return M.length === 0 && g >= w;
|
|
9391
9391
|
}
|
|
9392
9392
|
function U(Z) {
|
|
9393
9393
|
if (M.length) return M.pop();
|
|
9394
9394
|
if (g >= w) return;
|
|
9395
|
-
let
|
|
9395
|
+
let Y = Z ? Z.ignoreUnclosed : !1;
|
|
9396
9396
|
switch (s = r.charCodeAt(g), s) {
|
|
9397
9397
|
case Zt:
|
|
9398
9398
|
case wt:
|
|
@@ -9413,8 +9413,8 @@ var Dy = function(e, t = {}) {
|
|
|
9413
9413
|
case Ay:
|
|
9414
9414
|
case Cy:
|
|
9415
9415
|
case Ty: {
|
|
9416
|
-
let
|
|
9417
|
-
b = [
|
|
9416
|
+
let F = String.fromCharCode(s);
|
|
9417
|
+
b = [F, F, g];
|
|
9418
9418
|
break;
|
|
9419
9419
|
}
|
|
9420
9420
|
case Ey: {
|
|
@@ -9422,17 +9422,17 @@ var Dy = function(e, t = {}) {
|
|
|
9422
9422
|
o = g;
|
|
9423
9423
|
do {
|
|
9424
9424
|
if (c = !1, o = r.indexOf(")", o + 1), o === -1)
|
|
9425
|
-
if (i ||
|
|
9425
|
+
if (i || Y) {
|
|
9426
9426
|
o = g;
|
|
9427
9427
|
break;
|
|
9428
9428
|
} else
|
|
9429
|
-
|
|
9429
|
+
O("bracket");
|
|
9430
9430
|
for (d = o; r.charCodeAt(d - 1) === Kt; )
|
|
9431
9431
|
d -= 1, c = !c;
|
|
9432
9432
|
} while (c);
|
|
9433
9433
|
b = ["brackets", r.slice(g, o + 1), g, o], g = o;
|
|
9434
9434
|
} else
|
|
9435
|
-
o = r.indexOf(")", g + 1), a = r.slice(g, o + 1), o === -1 ||
|
|
9435
|
+
o = r.indexOf(")", g + 1), a = r.slice(g, o + 1), o === -1 || Dy.test(a) ? b = ["(", "(", g] : (b = ["brackets", a, g, o], g = o);
|
|
9436
9436
|
break;
|
|
9437
9437
|
}
|
|
9438
9438
|
case Qn:
|
|
@@ -9440,11 +9440,11 @@ var Dy = function(e, t = {}) {
|
|
|
9440
9440
|
u = s === Qn ? "'" : '"', o = g;
|
|
9441
9441
|
do {
|
|
9442
9442
|
if (c = !1, o = r.indexOf(u, o + 1), o === -1)
|
|
9443
|
-
if (i ||
|
|
9443
|
+
if (i || Y) {
|
|
9444
9444
|
o = g + 1;
|
|
9445
9445
|
break;
|
|
9446
9446
|
} else
|
|
9447
|
-
|
|
9447
|
+
O("string");
|
|
9448
9448
|
for (d = o; r.charCodeAt(d - 1) === Kt; )
|
|
9449
9449
|
d -= 1, c = !c;
|
|
9450
9450
|
} while (c);
|
|
@@ -9467,7 +9467,7 @@ var Dy = function(e, t = {}) {
|
|
|
9467
9467
|
break;
|
|
9468
9468
|
}
|
|
9469
9469
|
default: {
|
|
9470
|
-
s === vs && r.charCodeAt(g + 1) === By ? (o = r.indexOf("*/", g + 2) + 1, o === 0 && (i ||
|
|
9470
|
+
s === vs && r.charCodeAt(g + 1) === By ? (o = r.indexOf("*/", g + 2) + 1, o === 0 && (i || Y ? o = r.length : O("comment")), b = ["comment", r.slice(g, o + 1), g, o], g = o) : (tn.lastIndex = g + 1, tn.test(r), tn.lastIndex === 0 ? o = r.length - 1 : o = tn.lastIndex - 2, b = ["word", r.slice(g, o + 1), g, o], B.push(b), g = o);
|
|
9471
9471
|
break;
|
|
9472
9472
|
}
|
|
9473
9473
|
}
|
|
@@ -9479,8 +9479,8 @@ var Dy = function(e, t = {}) {
|
|
|
9479
9479
|
return {
|
|
9480
9480
|
back: G,
|
|
9481
9481
|
nextToken: U,
|
|
9482
|
-
endOfFile:
|
|
9483
|
-
position:
|
|
9482
|
+
endOfFile: P,
|
|
9483
|
+
position: z
|
|
9484
9484
|
};
|
|
9485
9485
|
};
|
|
9486
9486
|
let t1 = it;
|
|
@@ -9565,7 +9565,7 @@ class Bn extends o1 {
|
|
|
9565
9565
|
var ii = Bn;
|
|
9566
9566
|
Bn.default = Bn;
|
|
9567
9567
|
o1.registerRule(Bn);
|
|
9568
|
-
let Ry = qn, Ny =
|
|
9568
|
+
let Ry = qn, Ny = Oy, Py = Hn, Ly = ri, _y = jt, ks = ii;
|
|
9569
9569
|
const Es = {
|
|
9570
9570
|
empty: !0,
|
|
9571
9571
|
space: !0
|
|
@@ -9886,7 +9886,7 @@ function An(n, e) {
|
|
|
9886
9886
|
var si = An;
|
|
9887
9887
|
An.default = An;
|
|
9888
9888
|
jy.registerParse(An);
|
|
9889
|
-
let { isClean:
|
|
9889
|
+
let { isClean: Oe, my: Yy } = qt, Gy = Hp, Wy = Fn, Vy = it, Ky = ti, Ts = ni, Zy = si, Jy = jt;
|
|
9890
9890
|
const Qy = {
|
|
9891
9891
|
document: "Document",
|
|
9892
9892
|
root: "Root",
|
|
@@ -9941,7 +9941,7 @@ function $s(n) {
|
|
|
9941
9941
|
};
|
|
9942
9942
|
}
|
|
9943
9943
|
function Cr(n) {
|
|
9944
|
-
return n[
|
|
9944
|
+
return n[Oe] = !1, n.nodes && n.nodes.forEach((e) => Cr(e)), n;
|
|
9945
9945
|
}
|
|
9946
9946
|
let Br = {};
|
|
9947
9947
|
class Xe {
|
|
@@ -10018,8 +10018,8 @@ class Xe {
|
|
|
10018
10018
|
}
|
|
10019
10019
|
if (this.prepareVisitors(), this.hasListener) {
|
|
10020
10020
|
let e = this.result.root;
|
|
10021
|
-
for (; !e[
|
|
10022
|
-
e[
|
|
10021
|
+
for (; !e[Oe]; )
|
|
10022
|
+
e[Oe] = !0, this.walkSync(e);
|
|
10023
10023
|
if (this.listeners.OnceExit)
|
|
10024
10024
|
if (e.type === "document")
|
|
10025
10025
|
for (let t of e.nodes)
|
|
@@ -10039,12 +10039,12 @@ class Xe {
|
|
|
10039
10039
|
return this.result.css = i[0], this.result.map = i[1], this.result;
|
|
10040
10040
|
}
|
|
10041
10041
|
walkSync(e) {
|
|
10042
|
-
e[
|
|
10042
|
+
e[Oe] = !0;
|
|
10043
10043
|
let t = u1(e);
|
|
10044
10044
|
for (let r of t)
|
|
10045
10045
|
if (r === bt)
|
|
10046
10046
|
e.nodes && e.each((i) => {
|
|
10047
|
-
i[
|
|
10047
|
+
i[Oe] || this.walkSync(i);
|
|
10048
10048
|
});
|
|
10049
10049
|
else {
|
|
10050
10050
|
let i = this.listeners[r];
|
|
@@ -10109,8 +10109,8 @@ class Xe {
|
|
|
10109
10109
|
}
|
|
10110
10110
|
if (this.prepareVisitors(), this.hasListener) {
|
|
10111
10111
|
let e = this.result.root;
|
|
10112
|
-
for (; !e[
|
|
10113
|
-
e[
|
|
10112
|
+
for (; !e[Oe]; ) {
|
|
10113
|
+
e[Oe] = !0;
|
|
10114
10114
|
let t = [$s(e)];
|
|
10115
10115
|
for (; t.length > 0; ) {
|
|
10116
10116
|
let r = this.visitTick(t);
|
|
@@ -10183,8 +10183,8 @@ class Xe {
|
|
|
10183
10183
|
if (t.iterator !== 0) {
|
|
10184
10184
|
let o = t.iterator, u;
|
|
10185
10185
|
for (; u = r.nodes[r.indexes[o]]; )
|
|
10186
|
-
if (r.indexes[o] += 1, !u[
|
|
10187
|
-
u[
|
|
10186
|
+
if (r.indexes[o] += 1, !u[Oe]) {
|
|
10187
|
+
u[Oe] = !0, e.push($s(u));
|
|
10188
10188
|
return;
|
|
10189
10189
|
}
|
|
10190
10190
|
t.iterator = 0, delete r.indexes[o];
|
|
@@ -10193,7 +10193,7 @@ class Xe {
|
|
|
10193
10193
|
for (; t.eventIndex < s.length; ) {
|
|
10194
10194
|
let o = s[t.eventIndex];
|
|
10195
10195
|
if (t.eventIndex += 1, o === bt) {
|
|
10196
|
-
r.nodes && r.nodes.length && (r[
|
|
10196
|
+
r.nodes && r.nodes.length && (r[Oe] = !0, t.iterator = r.getIterator());
|
|
10197
10197
|
return;
|
|
10198
10198
|
} else if (this.listeners[o]) {
|
|
10199
10199
|
t.visitors = this.listeners[o];
|
|
@@ -10400,7 +10400,7 @@ J.Node = A3;
|
|
|
10400
10400
|
v3.registerPostcss(J);
|
|
10401
10401
|
var I3 = J;
|
|
10402
10402
|
J.default = J;
|
|
10403
|
-
const
|
|
10403
|
+
const D3 = $2, Ss = S2, { isPlainObject: O3 } = A2, Cs = H2, M3 = Np.exports, { parse: R3 } = I3, N3 = [
|
|
10404
10404
|
"img",
|
|
10405
10405
|
"audio",
|
|
10406
10406
|
"video",
|
|
@@ -10499,12 +10499,12 @@ and ensure you are accounting for this risk.
|
|
|
10499
10499
|
let m;
|
|
10500
10500
|
typeof p == "function" ? m = p : typeof p == "string" && (m = Lt.simpleTransform(p)), x === "*" ? b = m : h[x] = m;
|
|
10501
10501
|
});
|
|
10502
|
-
let w, g, B, M,
|
|
10502
|
+
let w, g, B, M, z, O, P = !1;
|
|
10503
10503
|
G();
|
|
10504
|
-
const U = new
|
|
10504
|
+
const U = new D3.Parser({
|
|
10505
10505
|
onopentag: function(p, x) {
|
|
10506
|
-
if (e.enforceHtmlBoundary && p === "html" && G(),
|
|
10507
|
-
|
|
10506
|
+
if (e.enforceHtmlBoundary && p === "html" && G(), z) {
|
|
10507
|
+
O++;
|
|
10508
10508
|
return;
|
|
10509
10509
|
}
|
|
10510
10510
|
const m = new s(p, x);
|
|
@@ -10512,17 +10512,17 @@ and ensure you are accounting for this risk.
|
|
|
10512
10512
|
let $ = !1;
|
|
10513
10513
|
const I = !!m.text;
|
|
10514
10514
|
let R;
|
|
10515
|
-
if (He(h, p) && (R = h[p](p, x), m.attribs = x = R.attribs, R.text !== void 0 && (m.innerText = R.text), p !== R.tagName && (m.name = p = R.tagName, M[w] = R.tagName)), b && (R = b(p, x), m.attribs = x = R.attribs, p !== R.tagName && (m.name = p = R.tagName, M[w] = R.tagName)), (!o(p) || e.disallowedTagsMode === "recursiveEscape" && !L3(B) || e.nestingLimit != null && w >= e.nestingLimit) && ($ = !0, B[w] = !0, (e.disallowedTagsMode === "discard" || e.disallowedTagsMode === "completelyDiscard") && u.indexOf(p) !== -1 && (
|
|
10515
|
+
if (He(h, p) && (R = h[p](p, x), m.attribs = x = R.attribs, R.text !== void 0 && (m.innerText = R.text), p !== R.tagName && (m.name = p = R.tagName, M[w] = R.tagName)), b && (R = b(p, x), m.attribs = x = R.attribs, p !== R.tagName && (m.name = p = R.tagName, M[w] = R.tagName)), (!o(p) || e.disallowedTagsMode === "recursiveEscape" && !L3(B) || e.nestingLimit != null && w >= e.nestingLimit) && ($ = !0, B[w] = !0, (e.disallowedTagsMode === "discard" || e.disallowedTagsMode === "completelyDiscard") && u.indexOf(p) !== -1 && (z = !0, O = 1), B[w] = !0), w++, $) {
|
|
10516
10516
|
if (e.disallowedTagsMode === "discard" || e.disallowedTagsMode === "completelyDiscard")
|
|
10517
10517
|
return;
|
|
10518
10518
|
i = r, r = "";
|
|
10519
10519
|
}
|
|
10520
|
-
r += "<" + p, p === "script" && (e.allowedScriptHostnames || e.allowedScriptDomains) && (m.innerText = ""), (!a || He(a, p) || a["*"]) && Tt(x, function(
|
|
10520
|
+
r += "<" + p, p === "script" && (e.allowedScriptHostnames || e.allowedScriptDomains) && (m.innerText = ""), (!a || He(a, p) || a["*"]) && Tt(x, function(L, N) {
|
|
10521
10521
|
if (!U3.test(N)) {
|
|
10522
10522
|
delete m.attribs[N];
|
|
10523
10523
|
return;
|
|
10524
10524
|
}
|
|
10525
|
-
if (
|
|
10525
|
+
if (L === "" && !e.allowedEmptyAttributes.includes(N) && (e.nonBooleanAttributes.includes(N) || e.nonBooleanAttributes.includes("*"))) {
|
|
10526
10526
|
delete m.attribs[N];
|
|
10527
10527
|
return;
|
|
10528
10528
|
}
|
|
@@ -10531,33 +10531,33 @@ and ensure you are accounting for this risk.
|
|
|
10531
10531
|
te = !0;
|
|
10532
10532
|
else if (a && a[p]) {
|
|
10533
10533
|
for (const H of a[p])
|
|
10534
|
-
if (
|
|
10534
|
+
if (O3(H) && H.name && H.name === N) {
|
|
10535
10535
|
te = !0;
|
|
10536
10536
|
let q = "";
|
|
10537
10537
|
if (H.multiple === !0) {
|
|
10538
|
-
const
|
|
10539
|
-
for (const ce of
|
|
10538
|
+
const ye = L.split(" ");
|
|
10539
|
+
for (const ce of ye)
|
|
10540
10540
|
H.values.indexOf(ce) !== -1 && (q === "" ? q = ce : q += " " + ce);
|
|
10541
|
-
} else H.values.indexOf(
|
|
10542
|
-
|
|
10541
|
+
} else H.values.indexOf(L) >= 0 && (q = L);
|
|
10542
|
+
L = q;
|
|
10543
10543
|
}
|
|
10544
10544
|
}
|
|
10545
10545
|
if (te) {
|
|
10546
|
-
if (e.allowedSchemesAppliedToAttributes.indexOf(N) !== -1 &&
|
|
10546
|
+
if (e.allowedSchemesAppliedToAttributes.indexOf(N) !== -1 && Y(p, L)) {
|
|
10547
10547
|
delete m.attribs[N];
|
|
10548
10548
|
return;
|
|
10549
10549
|
}
|
|
10550
10550
|
if (p === "script" && N === "src") {
|
|
10551
10551
|
let H = !0;
|
|
10552
10552
|
try {
|
|
10553
|
-
const q =
|
|
10553
|
+
const q = F(L);
|
|
10554
10554
|
if (e.allowedScriptHostnames || e.allowedScriptDomains) {
|
|
10555
|
-
const
|
|
10555
|
+
const ye = (e.allowedScriptHostnames || []).find(function(re) {
|
|
10556
10556
|
return re === q.url.hostname;
|
|
10557
10557
|
}), ce = (e.allowedScriptDomains || []).find(function(re) {
|
|
10558
10558
|
return q.url.hostname === re || q.url.hostname.endsWith(`.${re}`);
|
|
10559
10559
|
});
|
|
10560
|
-
H =
|
|
10560
|
+
H = ye || ce;
|
|
10561
10561
|
}
|
|
10562
10562
|
} catch {
|
|
10563
10563
|
H = !1;
|
|
@@ -10570,16 +10570,16 @@ and ensure you are accounting for this risk.
|
|
|
10570
10570
|
if (p === "iframe" && N === "src") {
|
|
10571
10571
|
let H = !0;
|
|
10572
10572
|
try {
|
|
10573
|
-
const q =
|
|
10573
|
+
const q = F(L);
|
|
10574
10574
|
if (q.isRelativeUrl)
|
|
10575
10575
|
H = He(e, "allowIframeRelativeUrls") ? e.allowIframeRelativeUrls : !e.allowedIframeHostnames && !e.allowedIframeDomains;
|
|
10576
10576
|
else if (e.allowedIframeHostnames || e.allowedIframeDomains) {
|
|
10577
|
-
const
|
|
10577
|
+
const ye = (e.allowedIframeHostnames || []).find(function(re) {
|
|
10578
10578
|
return re === q.url.hostname;
|
|
10579
10579
|
}), ce = (e.allowedIframeDomains || []).find(function(re) {
|
|
10580
10580
|
return q.url.hostname === re || q.url.hostname.endsWith(`.${re}`);
|
|
10581
10581
|
});
|
|
10582
|
-
H =
|
|
10582
|
+
H = ye || ce;
|
|
10583
10583
|
}
|
|
10584
10584
|
} catch {
|
|
10585
10585
|
H = !1;
|
|
@@ -10591,15 +10591,15 @@ and ensure you are accounting for this risk.
|
|
|
10591
10591
|
}
|
|
10592
10592
|
if (N === "srcset")
|
|
10593
10593
|
try {
|
|
10594
|
-
let H = M3(
|
|
10594
|
+
let H = M3(L);
|
|
10595
10595
|
if (H.forEach(function(q) {
|
|
10596
|
-
|
|
10596
|
+
Y("srcset", q.url) && (q.evil = !0);
|
|
10597
10597
|
}), H = Bs(H, function(q) {
|
|
10598
10598
|
return !q.evil;
|
|
10599
10599
|
}), H.length)
|
|
10600
|
-
|
|
10600
|
+
L = _3(Bs(H, function(q) {
|
|
10601
10601
|
return !q.evil;
|
|
10602
|
-
})), m.attribs[N] =
|
|
10602
|
+
})), m.attribs[N] = L;
|
|
10603
10603
|
else {
|
|
10604
10604
|
delete m.attribs[N];
|
|
10605
10605
|
return;
|
|
@@ -10609,13 +10609,13 @@ and ensure you are accounting for this risk.
|
|
|
10609
10609
|
return;
|
|
10610
10610
|
}
|
|
10611
10611
|
if (N === "class") {
|
|
10612
|
-
const H = c[p], q = c["*"],
|
|
10613
|
-
|
|
10612
|
+
const H = c[p], q = c["*"], ye = d[p], ce = f[p], re = d["*"], oe = [
|
|
10613
|
+
ye,
|
|
10614
10614
|
re
|
|
10615
|
-
].concat(ce).filter(function(
|
|
10616
|
-
return
|
|
10615
|
+
].concat(ce).filter(function(De) {
|
|
10616
|
+
return De;
|
|
10617
10617
|
});
|
|
10618
|
-
if (H && q ?
|
|
10618
|
+
if (H && q ? L = v(L, Cs(H, q), oe) : L = v(L, H || q, oe), !L.length) {
|
|
10619
10619
|
delete m.attribs[N];
|
|
10620
10620
|
return;
|
|
10621
10621
|
}
|
|
@@ -10623,25 +10623,25 @@ and ensure you are accounting for this risk.
|
|
|
10623
10623
|
if (N === "style") {
|
|
10624
10624
|
if (e.parseStyleAttributes)
|
|
10625
10625
|
try {
|
|
10626
|
-
const H = R3(p + " {" +
|
|
10627
|
-
if (
|
|
10626
|
+
const H = R3(p + " {" + L + "}", { map: !1 }), q = y(H, e.allowedStyles);
|
|
10627
|
+
if (L = C(q), L.length === 0) {
|
|
10628
10628
|
delete m.attribs[N];
|
|
10629
10629
|
return;
|
|
10630
10630
|
}
|
|
10631
10631
|
} catch {
|
|
10632
|
-
typeof window < "u" && console.warn('Failed to parse "' + p + " {" +
|
|
10632
|
+
typeof window < "u" && console.warn('Failed to parse "' + p + " {" + L + `}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`), delete m.attribs[N];
|
|
10633
10633
|
return;
|
|
10634
10634
|
}
|
|
10635
10635
|
else if (e.allowedStyles)
|
|
10636
10636
|
throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.");
|
|
10637
10637
|
}
|
|
10638
|
-
r += " " + N,
|
|
10638
|
+
r += " " + N, L && L.length ? r += '="' + Z(L, !0) + '"' : e.allowedEmptyAttributes.includes(N) && (r += '=""');
|
|
10639
10639
|
} else
|
|
10640
10640
|
delete m.attribs[N];
|
|
10641
|
-
}), e.selfClosing.indexOf(p) !== -1 ? r += " />" : (r += ">", m.innerText && !I && !e.textFilter && (r += Z(m.innerText),
|
|
10641
|
+
}), e.selfClosing.indexOf(p) !== -1 ? r += " />" : (r += ">", m.innerText && !I && !e.textFilter && (r += Z(m.innerText), P = !0)), $ && (r = i + Z(r), i = "");
|
|
10642
10642
|
},
|
|
10643
10643
|
ontext: function(p) {
|
|
10644
|
-
if (
|
|
10644
|
+
if (z)
|
|
10645
10645
|
return;
|
|
10646
10646
|
const x = g[g.length - 1];
|
|
10647
10647
|
let m;
|
|
@@ -10651,7 +10651,7 @@ and ensure you are accounting for this risk.
|
|
|
10651
10651
|
r += p;
|
|
10652
10652
|
else {
|
|
10653
10653
|
const $ = Z(p, !1);
|
|
10654
|
-
e.textFilter && !
|
|
10654
|
+
e.textFilter && !P ? r += e.textFilter($, m) : P || (r += $);
|
|
10655
10655
|
}
|
|
10656
10656
|
if (g.length) {
|
|
10657
10657
|
const $ = g[g.length - 1];
|
|
@@ -10659,9 +10659,9 @@ and ensure you are accounting for this risk.
|
|
|
10659
10659
|
}
|
|
10660
10660
|
},
|
|
10661
10661
|
onclosetag: function(p, x) {
|
|
10662
|
-
if (
|
|
10663
|
-
if (
|
|
10664
|
-
|
|
10662
|
+
if (z)
|
|
10663
|
+
if (O--, !O)
|
|
10664
|
+
z = !1;
|
|
10665
10665
|
else
|
|
10666
10666
|
return;
|
|
10667
10667
|
const m = g.pop();
|
|
@@ -10671,7 +10671,7 @@ and ensure you are accounting for this risk.
|
|
|
10671
10671
|
g.push(m);
|
|
10672
10672
|
return;
|
|
10673
10673
|
}
|
|
10674
|
-
|
|
10674
|
+
z = e.enforceHtmlBoundary ? p === "html" : !1, w--;
|
|
10675
10675
|
const $ = B[w];
|
|
10676
10676
|
if ($) {
|
|
10677
10677
|
if (delete B[w], e.disallowedTagsMode === "discard" || e.disallowedTagsMode === "completelyDiscard") {
|
|
@@ -10690,17 +10690,17 @@ and ensure you are accounting for this risk.
|
|
|
10690
10690
|
$ && (r = i, i = "");
|
|
10691
10691
|
return;
|
|
10692
10692
|
}
|
|
10693
|
-
r += "</" + p + ">", $ && (r = i + Z(r), i = ""),
|
|
10693
|
+
r += "</" + p + ">", $ && (r = i + Z(r), i = ""), P = !1;
|
|
10694
10694
|
}
|
|
10695
10695
|
}, e.parser);
|
|
10696
10696
|
return U.write(n), U.end(), r;
|
|
10697
10697
|
function G() {
|
|
10698
|
-
r = "", w = 0, g = [], B = {}, M = {},
|
|
10698
|
+
r = "", w = 0, g = [], B = {}, M = {}, z = !1, O = 0;
|
|
10699
10699
|
}
|
|
10700
10700
|
function Z(p, x) {
|
|
10701
10701
|
return typeof p != "string" && (p = p + ""), e.parser.decodeEntities && (p = p.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">"), x && (p = p.replace(/"/g, """))), p = p.replace(/&(?![a-zA-Z0-9#]{1,20};)/g, "&").replace(/</g, "<").replace(/>/g, ">"), x && (p = p.replace(/"/g, """)), p;
|
|
10702
10702
|
}
|
|
10703
|
-
function
|
|
10703
|
+
function Y(p, x) {
|
|
10704
10704
|
for (x = x.replace(/[\x00-\x20]+/g, ""); ; ) {
|
|
10705
10705
|
const I = x.indexOf("<!--");
|
|
10706
10706
|
if (I === -1)
|
|
@@ -10716,7 +10716,7 @@ and ensure you are accounting for this risk.
|
|
|
10716
10716
|
const $ = m[1].toLowerCase();
|
|
10717
10717
|
return He(e.allowedSchemesByTag, p) ? e.allowedSchemesByTag[p].indexOf($) === -1 : !e.allowedSchemes || e.allowedSchemes.indexOf($) === -1;
|
|
10718
10718
|
}
|
|
10719
|
-
function
|
|
10719
|
+
function F(p) {
|
|
10720
10720
|
if (p = p.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/, "$1//"), p.startsWith("relative:"))
|
|
10721
10721
|
throw new Error("relative: exploit attempt");
|
|
10722
10722
|
let x = "relative://relative-site";
|
|
@@ -11190,7 +11190,7 @@ function Y3(n) {
|
|
|
11190
11190
|
});
|
|
11191
11191
|
};
|
|
11192
11192
|
}
|
|
11193
|
-
const G3 = ".sc-add-circle-icon-h{display:flex}", W3 = G3, V3 =
|
|
11193
|
+
const G3 = ".sc-add-circle-icon-h{display:flex}", W3 = G3, V3 = ge(class extends me {
|
|
11194
11194
|
constructor() {
|
|
11195
11195
|
super(), this.__registerHost(), this.width = "24", this.height = "25";
|
|
11196
11196
|
}
|
|
@@ -11215,7 +11215,7 @@ function K3() {
|
|
|
11215
11215
|
}
|
|
11216
11216
|
});
|
|
11217
11217
|
}
|
|
11218
|
-
const Z3 = ".wave{display:flex;align-items:center;justify-content:center}.dot{width:4px;height:4px;background-color:var(--dot-color, white);border-radius:50%;margin:0 2px;animation:wave 1.5s infinite ease-in-out}.dot:nth-child(2){animation-delay:0.2s}.dot:nth-child(3){animation-delay:0.4s}@keyframes wave{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(-4px)}}", J3 = Z3, Q3 =
|
|
11218
|
+
const Z3 = ".wave{display:flex;align-items:center;justify-content:center}.dot{width:4px;height:4px;background-color:var(--dot-color, white);border-radius:50%;margin:0 2px;animation:wave 1.5s infinite ease-in-out}.dot:nth-child(2){animation-delay:0.2s}.dot:nth-child(3){animation-delay:0.4s}@keyframes wave{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(-4px)}}", J3 = Z3, Q3 = ge(class extends me {
|
|
11219
11219
|
constructor() {
|
|
11220
11220
|
super(), this.__registerHost(), this.__attachShadow(), this.width = "15", this.height = "15";
|
|
11221
11221
|
}
|
|
@@ -11240,7 +11240,7 @@ function g1() {
|
|
|
11240
11240
|
}
|
|
11241
11241
|
});
|
|
11242
11242
|
}
|
|
11243
|
-
const X3 = "button.sc-button-component{display:flex;align-items:center;justify-content:center;gap:0.75rem;height:48px;border:none;border-radius:var(--nylas-border-radius-2x);font-size:1rem;line-height:24px;padding:0 1rem;cursor:pointer;font-family:var(--nylas-font-family);font-weight:600;width:100%}@media screen and (max-width: 768px){button.sc-button-component{width:100%}}button.button-primary.sc-button-component{background:var(--nylas-primary);color:var(--nylas-base-0);height:48px;border:none;border-radius:var(--nylas-border-radius-2x);font-size:1rem;line-height:24px;padding:0 1rem;cursor:pointer}button.button-primary.sc-button-component:hover{background:var(--nylas-base-600)}button.button-primary.sc-button-component:active{background:var(--nylas-base-800)}button.button-primary.sc-button-component:disabled{background:var(--nylas-base-300);cursor:not-allowed}button.button-basic.sc-button-component{border:1px solid var(--nylas-base-300);color:var(--nylas-base-700);background:transparent}button.button-basic.sc-button-component:hover{background:transparent;border-color:var(--nylas-primary)}button.button-basic.sc-button-component:active{background:transparent;border-color:var(--nylas-base-600);border-width:2px}button.button-basic.sc-button-component:disabled{background:transparent;border-color:var(--nylas-base-300);color:var(--nylas-base-300);cursor:not-allowed}button.button-destructive.sc-button-component{border:1px solid var(--nylas-base-300);color:var(--nylas-error);background:transparent}button.button-destructive.sc-button-component:hover{background:transparent;border-color:var(--nylas-error)}button.button-destructive.sc-button-component:active{background:transparent;border-color:var(--nylas-error-pressed);border-width:2px;color:var(--nylas-error-pressed)}button.button-destructive.sc-button-component:disabled{background:transparent;border-color:var(--nylas-base-300);color:var(--nylas-base-300);cursor:not-allowed}button.button-invisible.sc-button-component{background:transparent;color:var(--nylas-base-800);border:none}button.button-invisible.sc-button-component:hover{background:var(--nylas-base-50);color:var(--nylas-primary)}button.button-invisible.sc-button-component:active{background:var(--nylas-base-50);color:var(--nylas-base-850)}button.button-invisible.sc-button-component:disabled{background:transparent;color:var(--nylas-base-300);cursor:not-allowed}", e6 = X3, t6 =
|
|
11243
|
+
const X3 = "button.sc-button-component{display:flex;align-items:center;justify-content:center;gap:0.75rem;height:48px;border:none;border-radius:var(--nylas-border-radius-2x);font-size:1rem;line-height:24px;padding:0 1rem;cursor:pointer;font-family:var(--nylas-font-family);font-weight:600;width:100%}@media screen and (max-width: 768px){button.sc-button-component{width:100%}}button.button-primary.sc-button-component{background:var(--nylas-primary);color:var(--nylas-base-0);height:48px;border:none;border-radius:var(--nylas-border-radius-2x);font-size:1rem;line-height:24px;padding:0 1rem;cursor:pointer}button.button-primary.sc-button-component:hover{background:var(--nylas-base-600)}button.button-primary.sc-button-component:active{background:var(--nylas-base-800)}button.button-primary.sc-button-component:disabled{background:var(--nylas-base-300);cursor:not-allowed}button.button-basic.sc-button-component{border:1px solid var(--nylas-base-300);color:var(--nylas-base-700);background:transparent}button.button-basic.sc-button-component:hover{background:transparent;border-color:var(--nylas-primary)}button.button-basic.sc-button-component:active{background:transparent;border-color:var(--nylas-base-600);border-width:2px}button.button-basic.sc-button-component:disabled{background:transparent;border-color:var(--nylas-base-300);color:var(--nylas-base-300);cursor:not-allowed}button.button-destructive.sc-button-component{border:1px solid var(--nylas-base-300);color:var(--nylas-error);background:transparent}button.button-destructive.sc-button-component:hover{background:transparent;border-color:var(--nylas-error)}button.button-destructive.sc-button-component:active{background:transparent;border-color:var(--nylas-error-pressed);border-width:2px;color:var(--nylas-error-pressed)}button.button-destructive.sc-button-component:disabled{background:transparent;border-color:var(--nylas-base-300);color:var(--nylas-base-300);cursor:not-allowed}button.button-invisible.sc-button-component{background:transparent;color:var(--nylas-base-800);border:none}button.button-invisible.sc-button-component:hover{background:var(--nylas-base-50);color:var(--nylas-primary)}button.button-invisible.sc-button-component:active{background:var(--nylas-base-50);color:var(--nylas-base-850)}button.button-invisible.sc-button-component:disabled{background:transparent;color:var(--nylas-base-300);cursor:not-allowed}", e6 = X3, t6 = ge(class extends me {
|
|
11244
11244
|
constructor() {
|
|
11245
11245
|
super(), this.__registerHost(), this.variant = "primary", this.disabled = !1, this.type = "button", this.isLoading = !1, this.clickHandler = void 0, this.mouseOverHandler = void 0, this.mouseOutHandler = void 0, this.focusHandler = void 0, this.blurHandler = void 0;
|
|
11246
11246
|
}
|
|
@@ -11276,9 +11276,9 @@ function n6() {
|
|
|
11276
11276
|
}
|
|
11277
11277
|
});
|
|
11278
11278
|
}
|
|
11279
|
-
const r6 = '.checkbox-container{--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;display:flex;flex-direction:column;gap:0.5rem}.checkbox-container p.error{color:var(--nylas-error);font-size:14px;font-weight:400;line-height:20px;font-family:var(--nylas-font-family);margin:0}label{display:flex;align-items:center;font-family:var(--nylas-font-family);cursor:pointer;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}label input[type=checkbox]{position:absolute;opacity:0;cursor:pointer}label input[type=checkbox]:focus~.checkmark,label input[type=checkbox]:hover~.checkmark{border-color:var(--nylas-primary)}label input[type=checkbox]:checked~.checkmark{color:var(--nylas-base-0);background:var(--nylas-primary) url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+DQo8c3ZnIHdpZHRoPSIxMiIgaGVpZ2h0PSI5IiB2aWV3Qm94PSIwIDAgMTIgOSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCiAgPHBhdGggZD0iTTQuNTc1IDguOTc3cy0uNDA0LS4wMDctLjUzNi0uMTY1TC4wNTcgNS42NGwuODI5LTEuMjI3TDQuNDcgNy4yNjggMTAuOTIxLjA4NmwuOTIzIDEuMTAzLTYuODYzIDcuNjRjLS4xMzQtLjAwMy0uNDA2LjE0OC0uNDA2LjE0OHoiIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPg0KPC9zdmc+) 50% 40% no-repeat;border:2px solid var(--nylas-primary)}label .checkmark{border-radius:var(--nylas-border-radius);border:2px solid var(--nylas-base-800);position:absolute;left:0;top:2px;width:18px;height:18px;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}label .label{margin-left:32px;font-size:16px;font-weight:400;color:var(--nylas-base-800);line-height:24px}', i6 = r6, s6 =
|
|
11279
|
+
const r6 = '.checkbox-container{--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;display:flex;flex-direction:column;gap:0.5rem}.checkbox-container p.error{color:var(--nylas-error);font-size:14px;font-weight:400;line-height:20px;font-family:var(--nylas-font-family);margin:0}label{display:flex;align-items:center;font-family:var(--nylas-font-family);cursor:pointer;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}label input[type=checkbox]{position:absolute;opacity:0;cursor:pointer}label input[type=checkbox]:focus~.checkmark,label input[type=checkbox]:hover~.checkmark{border-color:var(--nylas-primary)}label input[type=checkbox]:checked~.checkmark{color:var(--nylas-base-0);background:var(--nylas-primary) url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+DQo8c3ZnIHdpZHRoPSIxMiIgaGVpZ2h0PSI5IiB2aWV3Qm94PSIwIDAgMTIgOSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCiAgPHBhdGggZD0iTTQuNTc1IDguOTc3cy0uNDA0LS4wMDctLjUzNi0uMTY1TC4wNTcgNS42NGwuODI5LTEuMjI3TDQuNDcgNy4yNjggMTAuOTIxLjA4NmwuOTIzIDEuMTAzLTYuODYzIDcuNjRjLS4xMzQtLjAwMy0uNDA2LjE0OC0uNDA2LjE0OHoiIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPg0KPC9zdmc+) 50% 40% no-repeat;border:2px solid var(--nylas-primary)}label .checkmark{border-radius:var(--nylas-border-radius);border:2px solid var(--nylas-base-800);position:absolute;left:0;top:2px;width:18px;height:18px;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}label .label{margin-left:32px;font-size:16px;font-weight:400;color:var(--nylas-base-800);line-height:24px}', i6 = r6, s6 = ge(class extends me {
|
|
11280
11280
|
constructor() {
|
|
11281
|
-
super(), this.__registerHost(), this.__attachShadow(), this.nylasFormCheckboxToggled =
|
|
11281
|
+
super(), this.__registerHost(), this.__attachShadow(), this.nylasFormCheckboxToggled = pe(this, "nylasFormCheckboxToggled", 7), this.componentType = "checkbox", this.name = "checkbox", this.checked = void 0, this.label = "", this.required = !1, this.isChecked = void 0, this.error = "";
|
|
11282
11282
|
}
|
|
11283
11283
|
componentWillLoad() {
|
|
11284
11284
|
this.el.setAttribute("component-type", this.componentType);
|
|
@@ -11328,7 +11328,7 @@ function o6() {
|
|
|
11328
11328
|
}
|
|
11329
11329
|
});
|
|
11330
11330
|
}
|
|
11331
|
-
const u6 = ".sc-chevron-icon-h{display:flex}", a6 = u6, l6 =
|
|
11331
|
+
const u6 = ".sc-chevron-icon-h{display:flex}", a6 = u6, l6 = ge(class extends me {
|
|
11332
11332
|
constructor() {
|
|
11333
11333
|
super(), this.__registerHost(), this.width = "24", this.height = "24";
|
|
11334
11334
|
}
|
|
@@ -11353,7 +11353,7 @@ function m1() {
|
|
|
11353
11353
|
}
|
|
11354
11354
|
});
|
|
11355
11355
|
}
|
|
11356
|
-
const c6 = ".sc-close-icon-h{display:flex}", d6 = c6, f6 =
|
|
11356
|
+
const c6 = ".sc-close-icon-h{display:flex}", d6 = c6, f6 = ge(class extends me {
|
|
11357
11357
|
constructor() {
|
|
11358
11358
|
super(), this.__registerHost(), this.width = "16", this.height = "16";
|
|
11359
11359
|
}
|
|
@@ -11378,7 +11378,7 @@ function h6() {
|
|
|
11378
11378
|
}
|
|
11379
11379
|
});
|
|
11380
11380
|
}
|
|
11381
|
-
const p6 = ".sc-info-icon-h{display:flex}", g6 = p6, m6 =
|
|
11381
|
+
const p6 = ".sc-info-icon-h{display:flex}", g6 = p6, m6 = ge(class extends me {
|
|
11382
11382
|
constructor() {
|
|
11383
11383
|
super(), this.__registerHost(), this.width = "14", this.height = "14";
|
|
11384
11384
|
}
|
|
@@ -11409,9 +11409,9 @@ const b6 = ':host{display:block;height:auto;--nylas-primary:#2563eb;--nylas-erro
|
|
|
11409
11409
|
}, v6 = {
|
|
11410
11410
|
email: "name@example.com",
|
|
11411
11411
|
phone_number: "1234567890"
|
|
11412
|
-
}, w6 =
|
|
11412
|
+
}, w6 = ge(class extends me {
|
|
11413
11413
|
constructor() {
|
|
11414
|
-
super(), this.__registerHost(), this.__attachShadow(), this.nylasFormInputChanged =
|
|
11414
|
+
super(), this.__registerHost(), this.__attachShadow(), this.nylasFormInputChanged = pe(this, "nylasFormInputChanged", 7), this.nylasFormInputFocused = pe(this, "nylasFormInputFocused", 7), this.nylasFormInputBlurred = pe(this, "nylasFormInputBlurred", 7), this.name = "input", this.defaultValue = void 0, this.label = "", this.type = "text", this.placeholder = v6[this.type], this.required = !1, this.readOnly = !1, this.autoFocus = !1, this.pattern = void 0, this.maxLength = 255, this.patternError = "", this.requiredError = "", this.value = void 0, this.error = "";
|
|
11415
11415
|
}
|
|
11416
11416
|
handleDefaultValueChange(e) {
|
|
11417
11417
|
this.value = ht(e), this.value && this.validatePattern(this.value);
|
|
@@ -11497,9 +11497,9 @@ function k6() {
|
|
|
11497
11497
|
}
|
|
11498
11498
|
});
|
|
11499
11499
|
}
|
|
11500
|
-
const E6 = '.radio-group{display:flex;flex-direction:column;gap:0.5rem;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif}.radio-group slot[name=label]{display:flex;color:var(--nylas-base-800, #293056);font-size:14px;font-style:normal;font-weight:400;line-height:150%;font-size:16px}.radio-group slot[name=label].error{color:var(--nylas-error)}.radio-group slot[name=label] span.required{color:var(--nylas-error);padding:0 0.25rem}.radio-group slot[name=label] p{margin:0}.radio-group slot[name=label] p.error{color:var(--nylas-error)}.radio-group slot[name=label] .error{color:var(--nylas-error)}.radio-group span.error{color:var(--nylas-error);font-size:14px;font-weight:400;line-height:20px;font-family:var(--nylas-font-family)}.radio-group label{display:flex;font-family:var(--nylas-font-family);cursor:pointer}.radio-group label .radio-option{display:flex;align-items:flex-start;gap:0.5rem}.radio-group label .radio-option input[type=radio]{cursor:pointer}.radio-group label .radio-option input[type=radio i]{width:20px;height:20px;color:var(--nylas-primary)}.radio-group label .radio-option p{display:flex;flex-direction:column;gap:0.5rem;margin:0}.radio-group label .radio-option p .title{font-size:16px;font-weight:500;line-height:20px;color:var(--nylas-base-800)}.radio-group label .radio-option p .description{font-size:14px;font-weight:400;line-height:20px;color:var(--nylas-base-600)}', T6 = E6, $6 =
|
|
11500
|
+
const E6 = '.radio-group{display:flex;flex-direction:column;gap:0.5rem;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif}.radio-group slot[name=label]{display:flex;color:var(--nylas-base-800, #293056);font-size:14px;font-style:normal;font-weight:400;line-height:150%;font-size:16px}.radio-group slot[name=label].error{color:var(--nylas-error)}.radio-group slot[name=label] span.required{color:var(--nylas-error);padding:0 0.25rem}.radio-group slot[name=label] p{margin:0}.radio-group slot[name=label] p.error{color:var(--nylas-error)}.radio-group slot[name=label] .error{color:var(--nylas-error)}.radio-group span.error{color:var(--nylas-error);font-size:14px;font-weight:400;line-height:20px;font-family:var(--nylas-font-family)}.radio-group label{display:flex;font-family:var(--nylas-font-family);cursor:pointer}.radio-group label .radio-option{display:flex;align-items:flex-start;gap:0.5rem}.radio-group label .radio-option input[type=radio]{cursor:pointer}.radio-group label .radio-option input[type=radio i]{width:20px;height:20px;color:var(--nylas-primary)}.radio-group label .radio-option p{display:flex;flex-direction:column;gap:0.5rem;margin:0}.radio-group label .radio-option p .title{font-size:16px;font-weight:500;line-height:20px;color:var(--nylas-base-800)}.radio-group label .radio-option p .description{font-size:14px;font-weight:400;line-height:20px;color:var(--nylas-base-600)}', T6 = E6, $6 = ge(class extends me {
|
|
11501
11501
|
constructor() {
|
|
11502
|
-
super(), this.__registerHost(), this.__attachShadow(), this.nylasFormRadioChanged =
|
|
11502
|
+
super(), this.__registerHost(), this.__attachShadow(), this.nylasFormRadioChanged = pe(this, "nylasFormRadioChanged", 7), this.componentType = "radio-group", this.name = "radio-group", this.options = [], this.defaultSelectedValue = "", this.label = void 0, this.required = !1, this.selectedValue = void 0, this.error = "";
|
|
11503
11503
|
}
|
|
11504
11504
|
handleDefaultSelectedValueChange(e) {
|
|
11505
11505
|
this.selectedValue = e;
|
|
@@ -11560,7 +11560,7 @@ function S6() {
|
|
|
11560
11560
|
}
|
|
11561
11561
|
});
|
|
11562
11562
|
}
|
|
11563
|
-
const C6 = ".sc-search-icon-h{display:flex}", B6 = C6, A6 =
|
|
11563
|
+
const C6 = ".sc-search-icon-h{display:flex}", B6 = C6, A6 = ge(class extends me {
|
|
11564
11564
|
constructor() {
|
|
11565
11565
|
super(), this.__registerHost(), this.width = "15", this.height = "15";
|
|
11566
11566
|
}
|
|
@@ -11585,21 +11585,32 @@ function y1() {
|
|
|
11585
11585
|
}
|
|
11586
11586
|
});
|
|
11587
11587
|
}
|
|
11588
|
-
const I6 = ':host{display:block;position:relative;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;width:100%}@media screen and (max-width: 768px){:host{position:unset}}label{display:flex;color:var(--nylas-base-800, #293056);font-size:14px;font-style:normal;font-weight:400;line-height:150%;flex-direction:column;gap:4px;font-family:var(--nylas-font-family);font-size:16px;color:var(--nylas-base-800)}label.error{color:var(--nylas-error)}label span.required{color:var(--nylas-error);padding:0 0.25rem}label p{margin:0}label .error{color:var(--nylas-error)}.dropdown{display:inline-block;width:inherit}.dropbtn{color:var(--nylas-base-800);padding:14px;font-size:1rem;font-family:var(--nylas-font-family);cursor:pointer;display:flex;justify-content:space-between;gap:0.5rem;background:transparent;border:1px solid var(--nylas-base-300);border-radius:var(--nylas-border-radius-2x)}.dropbtn.error{border:1px solid var(--nylas-error)}.dropbtn.focus{background:transparent}.dropbtn:hover,.dropbtn:active{outline:1px solid var(--nylas-primary)}.dropbtn:active{outline:2px solid var(--nylas-primary)}.dropbtn span.chevron{display:flex;align-self:center}.dropbtn span.open{transform:rotate(90deg)}.dropbtn span.closed{transform:rotate(270deg)}.dropbtn span.selected-option{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:144px;font-size:14px;line-height:20px}@media screen and (max-width: 768px){.dropbtn span.selected-option{max-width:124px;font-size:16px}}.dropdown-content{display:block;margin-top:0.5rem;background-color:var(--nylas-base-0);width:100%;max-height:336px;overflow:auto;z-index:1;border-radius:4px;position:absolute;box-shadow:0px 4px 6px -2px rgba(0, 0, 0, 0.05);box-shadow:0px 10px 15px -3px rgba(0, 0, 0, 0.1)}@media screen and (max-width: 768px){.dropdown-content{right:0;width:325px;max-width:unset}}.search-box{border-bottom:1px solid var(--nylas-base-200);padding:10px;position:sticky;top:0;background:var(--nylas-base-0)}.search-box .icon{position:absolute;top:1.25rem;left:1.25rem;color:var(--nylas-base-300)}.dropdown-content ul{padding:0;list-style-type:none;color:var(--nylas-base-900);max-height:336px}.dropdown-content ul li{padding:16px, 12px, 16px, 12px;color:black;padding:12px 16px;text-decoration:none;display:block;font-family:inherit;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left;cursor:pointer}.dropdown-content ul li:hover,.dropdown-content ul li:focus{background-color:var(--nylas-base-100)}.dropdown-content .selected{background-color:#e7e7e7}input[type=text]{width:-webkit-fill-available;padding:inherit;border:1px solid #ccc;border-radius:4px;position:sticky;background:no-repeat scroll 7px 7px;padding-left:30px;background-size:16px 16px}',
|
|
11588
|
+
const I6 = ':host{display:block;position:relative;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;width:100%}@media screen and (max-width: 768px){:host{position:unset}}label{display:flex;color:var(--nylas-base-800, #293056);font-size:14px;font-style:normal;font-weight:400;line-height:150%;flex-direction:column;gap:4px;font-family:var(--nylas-font-family);font-size:16px;color:var(--nylas-base-800)}label.error{color:var(--nylas-error)}label span.required{color:var(--nylas-error);padding:0 0.25rem}label p{margin:0}label .error{color:var(--nylas-error)}.dropdown{display:inline-block;width:inherit}.dropbtn{color:var(--nylas-base-800);padding:14px;font-size:1rem;font-family:var(--nylas-font-family);cursor:pointer;display:flex;justify-content:space-between;gap:0.5rem;background:transparent;border:1px solid var(--nylas-base-300);border-radius:var(--nylas-border-radius-2x)}.dropbtn.error{border:1px solid var(--nylas-error)}.dropbtn.focus{background:transparent}.dropbtn:hover,.dropbtn:active{outline:1px solid var(--nylas-primary)}.dropbtn:active{outline:2px solid var(--nylas-primary)}.dropbtn span.chevron{display:flex;align-self:center}.dropbtn span.open{transform:rotate(90deg)}.dropbtn span.closed{transform:rotate(270deg)}.dropbtn span.selected-option{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:144px;font-size:14px;line-height:20px}@media screen and (max-width: 768px){.dropbtn span.selected-option{max-width:124px;font-size:16px}}.dropdown-content{display:block;margin-top:0.5rem;background-color:var(--nylas-base-0);width:100%;max-height:336px;overflow:auto;z-index:1;border-radius:4px;position:absolute;box-shadow:0px 4px 6px -2px rgba(0, 0, 0, 0.05);box-shadow:0px 10px 15px -3px rgba(0, 0, 0, 0.1)}@media screen and (max-width: 768px){.dropdown-content{right:0;width:325px;max-width:unset}}.search-box{border-bottom:1px solid var(--nylas-base-200);padding:10px;position:sticky;top:0;background:var(--nylas-base-0)}.search-box .icon{position:absolute;top:1.25rem;left:1.25rem;color:var(--nylas-base-300)}.dropdown-content ul{padding:0;list-style-type:none;color:var(--nylas-base-900);max-height:336px}.dropdown-content ul li{padding:16px, 12px, 16px, 12px;color:black;padding:12px 16px;text-decoration:none;display:block;font-family:inherit;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left;cursor:pointer}.dropdown-content ul li:hover,.dropdown-content ul li:focus{background-color:var(--nylas-base-100)}.dropdown-content .selected{background-color:#e7e7e7}input[type=text]{width:-webkit-fill-available;padding:inherit;border:1px solid #ccc;border-radius:4px;position:sticky;background:no-repeat scroll 7px 7px;padding-left:30px;background-size:16px 16px}', D6 = I6, O6 = ge(class extends me {
|
|
11589
11589
|
constructor() {
|
|
11590
|
-
super(), this.__registerHost(), this.__attachShadow(), this.nylasFormDropdownChanged =
|
|
11590
|
+
super(), this.__registerHost(), this.__attachShadow(), this.nylasFormDropdownChanged = pe(this, "nylasFormDropdownChanged", 7), this.nylasFormDropdownDefaultSelected = pe(this, "nylasFormDropdownDefaultSelected", 7), this.componentType = "select-dropdown", this.name = void 0, this.options = [], this.defaultSelectedOption = null, this.withSearch = !0, this.label = void 0, this.required = !1, this.pluralizedLabel = "", this.dropdownButtonText = void 0, this.withChevron = !0, this.selectedOption = void 0, this.isOpen = !1, this.searchValue = "", this.filteredOptions = [...this.options], this.ariaActivedescendant = "", this.errorMessage = "";
|
|
11591
11591
|
}
|
|
11592
11592
|
optionsChangedHandler(e, t) {
|
|
11593
11593
|
e !== t && (this.filteredOptions = e);
|
|
11594
11594
|
}
|
|
11595
11595
|
defaultSelectedOptionChangedHandler(e, t) {
|
|
11596
|
-
typeof e > "u" || (e == null ? void 0 : e.label) === (t == null ? void 0 : t.label) || (this.selectedOption = e
|
|
11596
|
+
typeof e > "u" || (e == null ? void 0 : e.label) === (t == null ? void 0 : t.label) || (this.selectedOption = e, this.nylasFormDropdownDefaultSelected.emit({
|
|
11597
|
+
value: (e == null ? void 0 : e.value) || "",
|
|
11598
|
+
name: this.name,
|
|
11599
|
+
error: this.errorMessage,
|
|
11600
|
+
label: this.label
|
|
11601
|
+
}));
|
|
11597
11602
|
}
|
|
11598
11603
|
componentWillLoad() {
|
|
11599
11604
|
this.el.setAttribute("component-type", this.componentType);
|
|
11600
11605
|
}
|
|
11601
11606
|
componentDidLoad() {
|
|
11602
|
-
|
|
11607
|
+
var e;
|
|
11608
|
+
this.filteredOptions = this.options, this.selectedOption = this.defaultSelectedOption, !this.selectedOption && this.options.length > 0 && (this.selectedOption = this.options[0]), this.nylasFormDropdownDefaultSelected.emit({
|
|
11609
|
+
value: ((e = this.selectedOption) == null ? void 0 : e.value) || "",
|
|
11610
|
+
name: this.name,
|
|
11611
|
+
error: this.errorMessage,
|
|
11612
|
+
label: this.label
|
|
11613
|
+
});
|
|
11603
11614
|
}
|
|
11604
11615
|
handleBookingFormSubmitted(e) {
|
|
11605
11616
|
var t;
|
|
@@ -11673,7 +11684,7 @@ const I6 = ':host{display:block;position:relative;--nylas-primary:#2563eb;--nyla
|
|
|
11673
11684
|
}
|
|
11674
11685
|
render() {
|
|
11675
11686
|
const e = this.generateButtonText(this.selectedOption, this.dropdownButtonText);
|
|
11676
|
-
return E("div", { key: "
|
|
11687
|
+
return E("div", { key: "4b724d892194708b2dcd0ed74c8e23486ba2b4f7", class: "dropdown", part: "sd_dropdown" }, E("label", { key: "06d33f4f5daa7c09eed054505989210e35c2beb5", part: "sd_dropdown_label", class: { error: !!this.errorMessage } }, this.label && E("p", null, E("span", { class: "label" }, this.label), this.required && E("span", { class: "required" }, "*")), E("button", { key: "8e5952f7e2a1279670304e82f329da3e8e60522a", part: "sd_dropdown-button", class: { dropbtn: !0, open: this.isOpen, error: !!this.errorMessage }, onClick: () => this.toggleDropdown(), "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? "true" : "false", "aria-label": this.name, onKeyDown: (t) => this.handleSelectButtonKeyDown(t) }, E("slot", { key: "aece407da3b35858b9ec1248d09447706b3120cc", name: "select-icon", "aria-hidden": "true" }), E("span", { key: "55aae4a92f862c81533635999fb60693705cb12b", class: "selected-option", part: "sd_dropdown-button-selected-label" }, e), this.withChevron && E("span", { class: {
|
|
11677
11688
|
open: this.isOpen,
|
|
11678
11689
|
closed: !this.isOpen,
|
|
11679
11690
|
chevron: !0
|
|
@@ -11689,7 +11700,7 @@ const I6 = ':host{display:block;position:relative;--nylas-primary:#2563eb;--nyla
|
|
|
11689
11700
|
};
|
|
11690
11701
|
}
|
|
11691
11702
|
static get style() {
|
|
11692
|
-
return
|
|
11703
|
+
return D6;
|
|
11693
11704
|
}
|
|
11694
11705
|
}, [1, "select-dropdown", {
|
|
11695
11706
|
name: [1],
|
|
@@ -11717,7 +11728,7 @@ function M6() {
|
|
|
11717
11728
|
["select-dropdown", "chevron-icon", "search-icon"].forEach((e) => {
|
|
11718
11729
|
switch (e) {
|
|
11719
11730
|
case "select-dropdown":
|
|
11720
|
-
customElements.get(e) || customElements.define(e,
|
|
11731
|
+
customElements.get(e) || customElements.define(e, O6);
|
|
11721
11732
|
break;
|
|
11722
11733
|
case "chevron-icon":
|
|
11723
11734
|
customElements.get(e) || m1();
|
|
@@ -11728,7 +11739,7 @@ function M6() {
|
|
|
11728
11739
|
}
|
|
11729
11740
|
});
|
|
11730
11741
|
}
|
|
11731
|
-
const R6 = '.tooltip-container{position:relative;display:flex;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif}.tooltip-content{visibility:hidden;background-color:var(--nylas-base-800);color:var(--nylas-base-0);text-align:left;border-radius:6px;padding:5px 0;position:absolute;z-index:1;opacity:0;transition:opacity 0.3s;padding:0.5rem 1rem;max-width:200px;width:max-content}.tooltip-content.top{bottom:0;left:0;margin-bottom:1.25rem;transform:translateX(-50%)}.tooltip-content.right{top:50%;left:0%;margin-left:1.25rem;transform:translateY(-50%)}.tooltip-content.bottom{top:0;left:0;margin-top:1.25rem;transform:translateX(-50%)}.tooltip-content.left{top:50%;right:0%;margin-right:1.25rem;transform:translateY(-50%)}.tooltip-container:hover .tooltip-content,.tooltip-container:focus-within .tooltip-content{visibility:visible;opacity:1}.tooltip-content::after{content:"";position:absolute;top:-0.75rem;left:50%;transform:rotate(180deg);border-width:6px;border-style:solid;border-color:black transparent transparent transparent}.tooltip-content.top::after{top:100%;left:50%;transform:rotate(0deg)}.tooltip-content.bottom::after{top:-0.75rem;left:50%;transform:rotate(180deg)}.tooltip-content.left::after{top:47.5%;left:100%;transform:rotate(270deg)}.tooltip-content.right::after{top:47.5%;left:-0.75rem;transform:rotate(90deg)}', N6 = R6, P6 =
|
|
11742
|
+
const R6 = '.tooltip-container{position:relative;display:flex;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif}.tooltip-content{visibility:hidden;background-color:var(--nylas-base-800);color:var(--nylas-base-0);text-align:left;border-radius:6px;padding:5px 0;position:absolute;z-index:1;opacity:0;transition:opacity 0.3s;padding:0.5rem 1rem;max-width:200px;width:max-content}.tooltip-content.top{bottom:0;left:0;margin-bottom:1.25rem;transform:translateX(-50%)}.tooltip-content.right{top:50%;left:0%;margin-left:1.25rem;transform:translateY(-50%)}.tooltip-content.bottom{top:0;left:0;margin-top:1.25rem;transform:translateX(-50%)}.tooltip-content.left{top:50%;right:0%;margin-right:1.25rem;transform:translateY(-50%)}.tooltip-container:hover .tooltip-content,.tooltip-container:focus-within .tooltip-content{visibility:visible;opacity:1}.tooltip-content::after{content:"";position:absolute;top:-0.75rem;left:50%;transform:rotate(180deg);border-width:6px;border-style:solid;border-color:black transparent transparent transparent}.tooltip-content.top::after{top:100%;left:50%;transform:rotate(0deg)}.tooltip-content.bottom::after{top:-0.75rem;left:50%;transform:rotate(180deg)}.tooltip-content.left::after{top:47.5%;left:100%;transform:rotate(270deg)}.tooltip-content.right::after{top:47.5%;left:-0.75rem;transform:rotate(90deg)}', N6 = R6, P6 = ge(class extends me {
|
|
11732
11743
|
constructor() {
|
|
11733
11744
|
super(), this.__registerHost(), this.__attachShadow(), this.position = "bottom";
|
|
11734
11745
|
}
|
|
@@ -11761,9 +11772,9 @@ function x1() {
|
|
|
11761
11772
|
}
|
|
11762
11773
|
});
|
|
11763
11774
|
}
|
|
11764
|
-
const L6 = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;width:100%}label{display:flex;color:var(--nylas-base-800, #293056);font-size:14px;font-style:normal;font-weight:400;line-height:150%;flex-direction:column;gap:4px;font-family:var(--nylas-font-family);font-size:16px;color:var(--nylas-base-800)}label.error{color:var(--nylas-error)}label span.required{color:var(--nylas-error);padding:0 0.25rem}label p{margin:0;display:flex;gap:4px;align-items:center}label .error{color:var(--nylas-error)}textarea{display:flex;height:48px;padding-left:16px;align-items:center;gap:8px;align-self:stretch;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-300);background:var(--nylas-base-0);width:-webkit-fill-available;color:var(--nylas-base-900);font-size:16px;font-style:normal;font-weight:400;line-height:150%;padding:12px 16px;border-width:1;resize:vertical;border-radius:8px;font-family:var(--nylas-font-family);font-size:16px;line-height:24px}textarea:focus{outline-color:var(--nylas-primary)}textarea.error{border-radius:var(--nylas-border-radius-2x);font-weight:600;border-color:var(--nylas-error);border-width:2px}textarea.error::placeholder{font-weight:400}textarea::placeholder{color:var(--nylas-base-300)}textarea::-webkit-resizer{display:none}', _6 = L6, F6 =
|
|
11775
|
+
const L6 = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;width:100%}label{display:flex;color:var(--nylas-base-800, #293056);font-size:14px;font-style:normal;font-weight:400;line-height:150%;flex-direction:column;gap:4px;font-family:var(--nylas-font-family);font-size:16px;color:var(--nylas-base-800)}label.error{color:var(--nylas-error)}label span.required{color:var(--nylas-error);padding:0 0.25rem}label p{margin:0;display:flex;gap:4px;align-items:center}label .error{color:var(--nylas-error)}textarea{display:flex;height:48px;padding-left:16px;align-items:center;gap:8px;align-self:stretch;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-300);background:var(--nylas-base-0);width:-webkit-fill-available;color:var(--nylas-base-900);font-size:16px;font-style:normal;font-weight:400;line-height:150%;padding:12px 16px;border-width:1;resize:vertical;border-radius:8px;font-family:var(--nylas-font-family);font-size:16px;line-height:24px}textarea:focus{outline-color:var(--nylas-primary)}textarea.error{border-radius:var(--nylas-border-radius-2x);font-weight:600;border-color:var(--nylas-error);border-width:2px}textarea.error::placeholder{font-weight:400}textarea::placeholder{color:var(--nylas-base-300)}textarea::-webkit-resizer{display:none}', _6 = L6, F6 = ge(class extends me {
|
|
11765
11776
|
constructor() {
|
|
11766
|
-
super(), this.__registerHost(), this.__attachShadow(), this.nylasFormInputChanged =
|
|
11777
|
+
super(), this.__registerHost(), this.__attachShadow(), this.nylasFormInputChanged = pe(this, "nylasFormInputChanged", 7), this.name = "textarea", this.defaultValue = void 0, this.label = "", this.placeholder = "", this.required = !1, this.readOnly = !1, this.autoFocus = !1, this.maxLength = 255, this.type = "multi_line_text", this.tooltip = "", this.value = "", this.error = "";
|
|
11767
11778
|
}
|
|
11768
11779
|
componentDidLoad() {
|
|
11769
11780
|
this.value = ht(this.defaultValue || "");
|
|
@@ -11837,9 +11848,9 @@ var H6 = function(n, e, t, r) {
|
|
|
11837
11848
|
if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
|
|
11838
11849
|
return Reflect.metadata(n, e);
|
|
11839
11850
|
};
|
|
11840
|
-
const rn = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/, ui =
|
|
11851
|
+
const rn = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/, ui = ge(class extends me {
|
|
11841
11852
|
constructor() {
|
|
11842
|
-
super(), this.__registerHost(), this.__attachShadow(), this.nameChanged =
|
|
11853
|
+
super(), this.__registerHost(), this.__attachShadow(), this.nameChanged = pe(this, "nameChanged", 7), this.emailChanged = pe(this, "emailChanged", 7), this.backButtonClicked = pe(this, "backButtonClicked", 7), this.detailsConfirmed = pe(this, "detailsConfirmed", 7), this.bookingFormError = pe(this, "bookingFormError", 7), this.bookingFormSubmitted = pe(this, "bookingFormSubmitted", 7), this.handleGuestChange = (e, t) => {
|
|
11843
11854
|
this.resetGuestEmailError(e);
|
|
11844
11855
|
const r = [...this.guestEmails];
|
|
11845
11856
|
r[e] = Ir(t), this.guestEmails = [...r];
|
|
@@ -11975,9 +11986,12 @@ const rn = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a
|
|
|
11975
11986
|
radioChangedHandler(e) {
|
|
11976
11987
|
this.updateAdditionalFields(e.detail.name, e.detail.value);
|
|
11977
11988
|
}
|
|
11989
|
+
dropdownDefaultSelectedHandler(e) {
|
|
11990
|
+
this.updateAdditionalFields(e.detail.name, e.detail.value);
|
|
11991
|
+
}
|
|
11978
11992
|
render() {
|
|
11979
11993
|
var e, t, r, i, s, o, u, a, l;
|
|
11980
|
-
return E(Is, { key: "
|
|
11994
|
+
return E(Is, { key: "e6226715a8817b1ac42f46e3efd78cc2aa1d413c" }, E("form", { key: "d6e4aff3c6f9b978bef7cc7c1becdd8f84f2897d", onSubmit: (c) => this.bookButtonClickedHandler(c), noValidate: !0 }, E("div", { key: "c3561940f06b86fab4eb248626cb63a09cbf1353", class: "nylas-booking-form", part: "nbf" }, E("div", { key: "02072469ac898b656c9829c484a24415d9e8e597", class: "input-wrapper", part: "nbf__input-wrapper" }, E("input-component", { key: "301574dd5c31489404efc426bc41d413b659c0a4", label: j.t("name"), name: "name", id: "name", defaultValue: ((t = (e = this.bookingInfo) == null ? void 0 : e.primaryParticipant) == null ? void 0 : t.name) || this.name, placeholder: j.t("namePlaceholder"), type: "text", required: !0, requiredError: j.t("fieldRequired", { field: j.t("name") }), patternError: j.t("invalidInputFormat", { field: j.t("name") }), part: "nbf__input-textfield" })), E("div", { key: "af992058321d3efbc622e335400da283123fe54c", class: "input-wrapper", part: "nbf__input-wrapper" }, E("input-component", { key: "3815bf80434a7178dcdc75fde5ee80db5c651179", label: j.t("email"), name: "email", id: "email", pattern: rn, defaultValue: ((i = (r = this.bookingInfo) == null ? void 0 : r.primaryParticipant) == null ? void 0 : i.email) || this.email, placeholder: j.t("emailPlaceholder"), type: "email", required: !0, requiredError: j.t("fieldRequired", { field: j.t("email") }), patternError: j.t("invalidInputFormat", { field: j.t("email") }), part: "nbf__input-textfield" })), ((o = (s = this.configSettings) == null ? void 0 : s.scheduler) == null ? void 0 : o.hide_additional_guests) !== !0 && E("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, this.guestEmails.map((c, d) => E("div", { class: "input-wrapper button-wrapper" }, E("label", { class: {
|
|
11981
11995
|
error: !!this.guestEmailErrors[d]
|
|
11982
11996
|
} }, j.t("guestEmail")), E("div", { class: "guest-email-input" }, E("input", { type: "email", id: `guest-email-${d}`, maxLength: 100, class: {
|
|
11983
11997
|
"guest-email": !0,
|
|
@@ -11992,21 +12006,21 @@ const rn = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a
|
|
|
11992
12006
|
"remove-guest": !0,
|
|
11993
12007
|
error: !!this.guestEmailErrors[d]
|
|
11994
12008
|
} }, E("close-icon", null))), E("p", { class: "help-text" }, this.guestEmailErrors[d]))), E("button-component", { class: "add-guest", variant: "invisible", part: "nbf__button-ghost", onClick: (c) => this.addGuestButtonClickedHandler(c) }, E("div", { class: "button-content" }, E("add-circle-icon", { slot: "icon" }), this.guestEmails.length > 0 ? `${j.t("addAnotherGuest")}` : `${j.t("addGuest")}`))), (l = Object.entries(((a = (u = this.configSettings) == null ? void 0 : u.scheduler) == null ? void 0 : a.additional_fields) || {})) == null ? void 0 : l.sort((c, d) => c[1].order - d[1].order).map((c) => {
|
|
11995
|
-
var
|
|
11996
|
-
const d = c[1], f = d.label, h = c[0];
|
|
12009
|
+
var w, g, B, M, z, O;
|
|
12010
|
+
const d = c[1], f = d.label, h = c[0], b = ((B = (g = (w = this.bookingInfo) == null ? void 0 : w.additionalFields) == null ? void 0 : g[h]) == null ? void 0 : B.value) || "";
|
|
11997
12011
|
switch (d.type) {
|
|
11998
12012
|
case "dropdown":
|
|
11999
|
-
return E("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, E("select-dropdown", { label: f, name: h, id: h, withSearch: !1, options: (
|
|
12013
|
+
return E("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, E("select-dropdown", { label: f, name: h, id: h, withSearch: !1, defaultSelectedOption: b ? { value: b, label: b } : void 0, options: (M = d.options) == null ? void 0 : M.map((P) => ({ value: P, label: P })), required: d.required, exportparts: "sd_dropdown: nbf__dropdown, sd_dropdown-button: nbf__dropdown-button, sd_dropdown-content: nbf__dropdown-content" }));
|
|
12000
12014
|
case "checkbox":
|
|
12001
|
-
return E("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, E("checkbox-component", { label: f, name: h, id: h, required: d.required, part: "nbf__checkbox-component" }));
|
|
12015
|
+
return E("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, E("checkbox-component", { label: f, name: h, id: h, checked: b === "true", required: d.required, part: "nbf__checkbox-component" }));
|
|
12002
12016
|
case "radio_button":
|
|
12003
|
-
return E("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, E("radio-button-group", { label: f, name: h, id: h, defaultSelectedValue: ((
|
|
12017
|
+
return E("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, E("radio-button-group", { label: f, name: h, id: h, defaultSelectedValue: b || ((z = d.options) == null ? void 0 : z[0]) || "", options: (O = d.options) == null ? void 0 : O.map((P) => ({ value: P, label: P })), required: d.required, part: "nbf__radio-button-group" }));
|
|
12004
12018
|
case "multi_line_text":
|
|
12005
|
-
return E("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, E("textarea-component", { label: f, name: h, id: h, required: d.required, part: "nbf__textarea-component" }));
|
|
12019
|
+
return E("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, E("textarea-component", { label: f, defaultValue: b, name: h, id: h, required: d.required, part: "nbf__textarea-component" }));
|
|
12006
12020
|
default:
|
|
12007
|
-
return E("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, E("input-component", { label: f, name: h, id: h, type: d.type, requiredError: j.t("fieldRequired", { field: f }), required: d.required, part: "nbf__input-textfield" }));
|
|
12021
|
+
return E("div", { class: "input-wrapper", part: "nbf__input-wrapper" }, E("input-component", { label: f, name: h, id: h, type: d.type, defaultValue: b || "", requiredError: j.t("fieldRequired", { field: f }), required: d.required, part: "nbf__input-textfield" }));
|
|
12008
12022
|
}
|
|
12009
|
-
})), E("div", { key: "
|
|
12023
|
+
})), E("div", { key: "0f18461673aa4542e73b9316509aa7b5a2fba6f3", class: "cta" }, E("button-component", { key: "7041a279f4acc3fb2029321dec40b9fffd9d9a6d", variant: "basic", class: "back", part: "nbf__button-outline", isLoading: this.backButtonLoading && this.isLoading, onClick: this.handleBackButtonClicked }, E("slot", { key: "6bf9092b2143c0b48cf56f2159d91283f804c3a3", name: "booking-form-back-label" }, `${j.t("backButton")}`)), E("button-component", { key: "2e97b28476b04ede3687737c78bfa6a8814b42c9", variant: "primary", isLoading: !this.backButtonLoading && this.isLoading, disabled: this.isLoading, part: "nbf__button-primary", type: "submit" }, E("slot", { key: "e708cfa7c230cced4f75c814a660af51a1b8dfe4", name: "booking-form-book-label" }, `${j.t("bookNowButton")}`)))));
|
|
12010
12024
|
}
|
|
12011
12025
|
get host() {
|
|
12012
12026
|
return this;
|
|
@@ -12033,7 +12047,7 @@ const rn = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a
|
|
|
12033
12047
|
additionalFields: [32],
|
|
12034
12048
|
validationError: [32],
|
|
12035
12049
|
backButtonLoading: [32]
|
|
12036
|
-
}, [[0, "nylasFormInputChanged", "nylasFormInputChangedHandler"], [0, "nylasFormDropdownChanged", "selectOptionChangedHandler"], [0, "nylasFormSwitchToggled", "switchToggledHandler"], [0, "nylasFormCheckboxToggled", "checkboxToggledHandler"], [0, "nylasFormRadioChanged", "radioChangedHandler"]], {
|
|
12050
|
+
}, [[0, "nylasFormInputChanged", "nylasFormInputChangedHandler"], [0, "nylasFormDropdownChanged", "selectOptionChangedHandler"], [0, "nylasFormSwitchToggled", "switchToggledHandler"], [0, "nylasFormCheckboxToggled", "checkboxToggledHandler"], [0, "nylasFormRadioChanged", "radioChangedHandler"], [0, "nylasFormDropdownDefaultSelected", "dropdownDefaultSelectedHandler"]], {
|
|
12037
12051
|
bookingInfo: ["bookingInfoChangedHandler"]
|
|
12038
12052
|
}]);
|
|
12039
12053
|
H6([
|