@worktango/ai-assistant 0.0.29 → 0.0.31

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/express.js CHANGED
@@ -5,6 +5,12 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __getProtoOf = Object.getPrototypeOf;
7
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __esm = (fn, res) => function __init() {
9
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
10
+ };
11
+ var __commonJS = (cb, mod) => function __require() {
12
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
13
+ };
8
14
  var __export = (target, all) => {
9
15
  for (var name in all)
10
16
  __defProp(target, name, { get: all[name], enumerable: true });
@@ -27,6 +33,4368 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
27
33
  ));
28
34
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
35
 
36
+ // ../../node_modules/toggle-selection/index.js
37
+ var require_toggle_selection = __commonJS({
38
+ "../../node_modules/toggle-selection/index.js"(exports, module2) {
39
+ module2.exports = function() {
40
+ var selection = document.getSelection();
41
+ if (!selection.rangeCount) {
42
+ return function() {
43
+ };
44
+ }
45
+ var active = document.activeElement;
46
+ var ranges = [];
47
+ for (var i = 0; i < selection.rangeCount; i++) {
48
+ ranges.push(selection.getRangeAt(i));
49
+ }
50
+ switch (active.tagName.toUpperCase()) {
51
+ case "INPUT":
52
+ case "TEXTAREA":
53
+ active.blur();
54
+ break;
55
+ default:
56
+ active = null;
57
+ break;
58
+ }
59
+ selection.removeAllRanges();
60
+ return function() {
61
+ selection.type === "Caret" && selection.removeAllRanges();
62
+ if (!selection.rangeCount) {
63
+ ranges.forEach(function(range2) {
64
+ selection.addRange(range2);
65
+ });
66
+ }
67
+ active && active.focus();
68
+ };
69
+ };
70
+ }
71
+ });
72
+
73
+ // ../../node_modules/copy-to-clipboard/index.js
74
+ var require_copy_to_clipboard = __commonJS({
75
+ "../../node_modules/copy-to-clipboard/index.js"(exports, module2) {
76
+ "use strict";
77
+ var deselectCurrent = require_toggle_selection();
78
+ var clipboardToIE11Formatting = {
79
+ "text/plain": "Text",
80
+ "text/html": "Url",
81
+ "default": "Text"
82
+ };
83
+ var defaultMessage = "Copy to clipboard: #{key}, Enter";
84
+ function format(message) {
85
+ var copyKey = (/mac os x/i.test(navigator.userAgent) ? "\u2318" : "Ctrl") + "+C";
86
+ return message.replace(/#{\s*key\s*}/g, copyKey);
87
+ }
88
+ function copy2(text, options) {
89
+ var debug, message, reselectPrevious, range2, selection, mark, success = false;
90
+ if (!options) {
91
+ options = {};
92
+ }
93
+ debug = options.debug || false;
94
+ try {
95
+ reselectPrevious = deselectCurrent();
96
+ range2 = document.createRange();
97
+ selection = document.getSelection();
98
+ mark = document.createElement("span");
99
+ mark.textContent = text;
100
+ mark.style.all = "unset";
101
+ mark.style.position = "fixed";
102
+ mark.style.top = 0;
103
+ mark.style.clip = "rect(0, 0, 0, 0)";
104
+ mark.style.whiteSpace = "pre";
105
+ mark.style.webkitUserSelect = "text";
106
+ mark.style.MozUserSelect = "text";
107
+ mark.style.msUserSelect = "text";
108
+ mark.style.userSelect = "text";
109
+ mark.addEventListener("copy", function(e) {
110
+ e.stopPropagation();
111
+ if (options.format) {
112
+ e.preventDefault();
113
+ if (typeof e.clipboardData === "undefined") {
114
+ debug && console.warn("unable to use e.clipboardData");
115
+ debug && console.warn("trying IE specific stuff");
116
+ window.clipboardData.clearData();
117
+ var format2 = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting["default"];
118
+ window.clipboardData.setData(format2, text);
119
+ } else {
120
+ e.clipboardData.clearData();
121
+ e.clipboardData.setData(options.format, text);
122
+ }
123
+ }
124
+ if (options.onCopy) {
125
+ e.preventDefault();
126
+ options.onCopy(e.clipboardData);
127
+ }
128
+ });
129
+ document.body.appendChild(mark);
130
+ range2.selectNodeContents(mark);
131
+ selection.addRange(range2);
132
+ var successful = document.execCommand("copy");
133
+ if (!successful) {
134
+ throw new Error("copy command was unsuccessful");
135
+ }
136
+ success = true;
137
+ } catch (err) {
138
+ debug && console.error("unable to copy using execCommand: ", err);
139
+ debug && console.warn("trying IE specific stuff");
140
+ try {
141
+ window.clipboardData.setData(options.format || "text", text);
142
+ options.onCopy && options.onCopy(window.clipboardData);
143
+ success = true;
144
+ } catch (err2) {
145
+ debug && console.error("unable to copy using clipboardData: ", err2);
146
+ debug && console.error("falling back to prompt");
147
+ message = format("message" in options ? options.message : defaultMessage);
148
+ window.prompt(message, text);
149
+ }
150
+ } finally {
151
+ if (selection) {
152
+ if (typeof selection.removeRange == "function") {
153
+ selection.removeRange(range2);
154
+ } else {
155
+ selection.removeAllRanges();
156
+ }
157
+ }
158
+ if (mark) {
159
+ document.body.removeChild(mark);
160
+ }
161
+ reselectPrevious();
162
+ }
163
+ return success;
164
+ }
165
+ module2.exports = copy2;
166
+ }
167
+ });
168
+
169
+ // ../../node_modules/dayjs/dayjs.min.js
170
+ var require_dayjs_min = __commonJS({
171
+ "../../node_modules/dayjs/dayjs.min.js"(exports, module2) {
172
+ !function(t, e) {
173
+ "object" == typeof exports && "undefined" != typeof module2 ? module2.exports = e() : "function" == typeof define && define.amd ? define(e) : (t = "undefined" != typeof globalThis ? globalThis : t || self).dayjs = e();
174
+ }(exports, function() {
175
+ "use strict";
176
+ var t = 1e3, e = 6e4, n = 36e5, r = "millisecond", i = "second", s = "minute", u = "hour", a = "day", o = "week", c = "month", f = "quarter", h = "year", d = "date", l = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|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(t2) {
177
+ var e2 = ["th", "st", "nd", "rd"], n2 = t2 % 100;
178
+ return "[" + t2 + (e2[(n2 - 20) % 10] || e2[n2] || e2[0]) + "]";
179
+ } }, m = function(t2, e2, n2) {
180
+ var r2 = String(t2);
181
+ return !r2 || r2.length >= e2 ? t2 : "" + Array(e2 + 1 - r2.length).join(n2) + t2;
182
+ }, v = { s: m, z: function(t2) {
183
+ var e2 = -t2.utcOffset(), n2 = Math.abs(e2), r2 = Math.floor(n2 / 60), i2 = n2 % 60;
184
+ return (e2 <= 0 ? "+" : "-") + m(r2, 2, "0") + ":" + m(i2, 2, "0");
185
+ }, m: function t2(e2, n2) {
186
+ if (e2.date() < n2.date())
187
+ return -t2(n2, e2);
188
+ var r2 = 12 * (n2.year() - e2.year()) + (n2.month() - e2.month()), i2 = e2.clone().add(r2, c), s2 = n2 - i2 < 0, u2 = e2.clone().add(r2 + (s2 ? -1 : 1), c);
189
+ return +(-(r2 + (n2 - i2) / (s2 ? i2 - u2 : u2 - i2)) || 0);
190
+ }, a: function(t2) {
191
+ return t2 < 0 ? Math.ceil(t2) || 0 : Math.floor(t2);
192
+ }, p: function(t2) {
193
+ return { M: c, y: h, w: o, d: a, D: d, h: u, m: s, s: i, ms: r, Q: f }[t2] || String(t2 || "").toLowerCase().replace(/s$/, "");
194
+ }, u: function(t2) {
195
+ return void 0 === t2;
196
+ } }, g = "en", D = {};
197
+ D[g] = M;
198
+ var p = "$isDayjsObject", S = function(t2) {
199
+ return t2 instanceof _ || !(!t2 || !t2[p]);
200
+ }, w = function t2(e2, n2, r2) {
201
+ var i2;
202
+ if (!e2)
203
+ return g;
204
+ if ("string" == typeof e2) {
205
+ var s2 = e2.toLowerCase();
206
+ D[s2] && (i2 = s2), n2 && (D[s2] = n2, i2 = s2);
207
+ var u2 = e2.split("-");
208
+ if (!i2 && u2.length > 1)
209
+ return t2(u2[0]);
210
+ } else {
211
+ var a2 = e2.name;
212
+ D[a2] = e2, i2 = a2;
213
+ }
214
+ return !r2 && i2 && (g = i2), i2 || !r2 && g;
215
+ }, O = function(t2, e2) {
216
+ if (S(t2))
217
+ return t2.clone();
218
+ var n2 = "object" == typeof e2 ? e2 : {};
219
+ return n2.date = t2, n2.args = arguments, new _(n2);
220
+ }, b = v;
221
+ b.l = w, b.i = S, b.w = function(t2, e2) {
222
+ return O(t2, { locale: e2.$L, utc: e2.$u, x: e2.$x, $offset: e2.$offset });
223
+ };
224
+ var _ = function() {
225
+ function M2(t2) {
226
+ this.$L = w(t2.locale, null, true), this.parse(t2), this.$x = this.$x || t2.x || {}, this[p] = true;
227
+ }
228
+ var m2 = M2.prototype;
229
+ return m2.parse = function(t2) {
230
+ this.$d = function(t3) {
231
+ var e2 = t3.date, n2 = t3.utc;
232
+ if (null === e2)
233
+ return /* @__PURE__ */ new Date(NaN);
234
+ if (b.u(e2))
235
+ return /* @__PURE__ */ new Date();
236
+ if (e2 instanceof Date)
237
+ return new Date(e2);
238
+ if ("string" == typeof e2 && !/Z$/i.test(e2)) {
239
+ var r2 = e2.match($);
240
+ if (r2) {
241
+ var i2 = r2[2] - 1 || 0, s2 = (r2[7] || "0").substring(0, 3);
242
+ return n2 ? new Date(Date.UTC(r2[1], i2, r2[3] || 1, r2[4] || 0, r2[5] || 0, r2[6] || 0, s2)) : new Date(r2[1], i2, r2[3] || 1, r2[4] || 0, r2[5] || 0, r2[6] || 0, s2);
243
+ }
244
+ }
245
+ return new Date(e2);
246
+ }(t2), this.init();
247
+ }, m2.init = function() {
248
+ var t2 = this.$d;
249
+ this.$y = t2.getFullYear(), this.$M = t2.getMonth(), this.$D = t2.getDate(), this.$W = t2.getDay(), this.$H = t2.getHours(), this.$m = t2.getMinutes(), this.$s = t2.getSeconds(), this.$ms = t2.getMilliseconds();
250
+ }, m2.$utils = function() {
251
+ return b;
252
+ }, m2.isValid = function() {
253
+ return !(this.$d.toString() === l);
254
+ }, m2.isSame = function(t2, e2) {
255
+ var n2 = O(t2);
256
+ return this.startOf(e2) <= n2 && n2 <= this.endOf(e2);
257
+ }, m2.isAfter = function(t2, e2) {
258
+ return O(t2) < this.startOf(e2);
259
+ }, m2.isBefore = function(t2, e2) {
260
+ return this.endOf(e2) < O(t2);
261
+ }, m2.$g = function(t2, e2, n2) {
262
+ return b.u(t2) ? this[e2] : this.set(n2, t2);
263
+ }, m2.unix = function() {
264
+ return Math.floor(this.valueOf() / 1e3);
265
+ }, m2.valueOf = function() {
266
+ return this.$d.getTime();
267
+ }, m2.startOf = function(t2, e2) {
268
+ var n2 = this, r2 = !!b.u(e2) || e2, f2 = b.p(t2), l2 = function(t3, e3) {
269
+ var i2 = b.w(n2.$u ? Date.UTC(n2.$y, e3, t3) : new Date(n2.$y, e3, t3), n2);
270
+ return r2 ? i2 : i2.endOf(a);
271
+ }, $2 = function(t3, e3) {
272
+ return b.w(n2.toDate()[t3].apply(n2.toDate("s"), (r2 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e3)), n2);
273
+ }, y2 = this.$W, M3 = this.$M, m3 = this.$D, v2 = "set" + (this.$u ? "UTC" : "");
274
+ switch (f2) {
275
+ case h:
276
+ return r2 ? l2(1, 0) : l2(31, 11);
277
+ case c:
278
+ return r2 ? l2(1, M3) : l2(0, M3 + 1);
279
+ case o:
280
+ var g2 = this.$locale().weekStart || 0, D2 = (y2 < g2 ? y2 + 7 : y2) - g2;
281
+ return l2(r2 ? m3 - D2 : m3 + (6 - D2), M3);
282
+ case a:
283
+ case d:
284
+ return $2(v2 + "Hours", 0);
285
+ case u:
286
+ return $2(v2 + "Minutes", 1);
287
+ case s:
288
+ return $2(v2 + "Seconds", 2);
289
+ case i:
290
+ return $2(v2 + "Milliseconds", 3);
291
+ default:
292
+ return this.clone();
293
+ }
294
+ }, m2.endOf = function(t2) {
295
+ return this.startOf(t2, false);
296
+ }, m2.$set = function(t2, e2) {
297
+ var n2, o2 = b.p(t2), f2 = "set" + (this.$u ? "UTC" : ""), l2 = (n2 = {}, n2[a] = f2 + "Date", n2[d] = f2 + "Date", n2[c] = f2 + "Month", n2[h] = f2 + "FullYear", n2[u] = f2 + "Hours", n2[s] = f2 + "Minutes", n2[i] = f2 + "Seconds", n2[r] = f2 + "Milliseconds", n2)[o2], $2 = o2 === a ? this.$D + (e2 - this.$W) : e2;
298
+ if (o2 === c || o2 === h) {
299
+ var y2 = this.clone().set(d, 1);
300
+ y2.$d[l2]($2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
301
+ } else
302
+ l2 && this.$d[l2]($2);
303
+ return this.init(), this;
304
+ }, m2.set = function(t2, e2) {
305
+ return this.clone().$set(t2, e2);
306
+ }, m2.get = function(t2) {
307
+ return this[b.p(t2)]();
308
+ }, m2.add = function(r2, f2) {
309
+ var d2, l2 = this;
310
+ r2 = Number(r2);
311
+ var $2 = b.p(f2), y2 = function(t2) {
312
+ var e2 = O(l2);
313
+ return b.w(e2.date(e2.date() + Math.round(t2 * r2)), l2);
314
+ };
315
+ if ($2 === c)
316
+ return this.set(c, this.$M + r2);
317
+ if ($2 === h)
318
+ return this.set(h, this.$y + r2);
319
+ if ($2 === a)
320
+ return y2(1);
321
+ if ($2 === o)
322
+ return y2(7);
323
+ var M3 = (d2 = {}, d2[s] = e, d2[u] = n, d2[i] = t, d2)[$2] || 1, m3 = this.$d.getTime() + r2 * M3;
324
+ return b.w(m3, this);
325
+ }, m2.subtract = function(t2, e2) {
326
+ return this.add(-1 * t2, e2);
327
+ }, m2.format = function(t2) {
328
+ var e2 = this, n2 = this.$locale();
329
+ if (!this.isValid())
330
+ return n2.invalidDate || l;
331
+ var r2 = t2 || "YYYY-MM-DDTHH:mm:ssZ", i2 = b.z(this), s2 = this.$H, u2 = this.$m, a2 = this.$M, o2 = n2.weekdays, c2 = n2.months, f2 = n2.meridiem, h2 = function(t3, n3, i3, s3) {
332
+ return t3 && (t3[n3] || t3(e2, r2)) || i3[n3].slice(0, s3);
333
+ }, d2 = function(t3) {
334
+ return b.s(s2 % 12 || 12, t3, "0");
335
+ }, $2 = f2 || function(t3, e3, n3) {
336
+ var r3 = t3 < 12 ? "AM" : "PM";
337
+ return n3 ? r3.toLowerCase() : r3;
338
+ };
339
+ return r2.replace(y, function(t3, r3) {
340
+ return r3 || function(t4) {
341
+ switch (t4) {
342
+ case "YY":
343
+ return String(e2.$y).slice(-2);
344
+ case "YYYY":
345
+ return b.s(e2.$y, 4, "0");
346
+ case "M":
347
+ return a2 + 1;
348
+ case "MM":
349
+ return b.s(a2 + 1, 2, "0");
350
+ case "MMM":
351
+ return h2(n2.monthsShort, a2, c2, 3);
352
+ case "MMMM":
353
+ return h2(c2, a2);
354
+ case "D":
355
+ return e2.$D;
356
+ case "DD":
357
+ return b.s(e2.$D, 2, "0");
358
+ case "d":
359
+ return String(e2.$W);
360
+ case "dd":
361
+ return h2(n2.weekdaysMin, e2.$W, o2, 2);
362
+ case "ddd":
363
+ return h2(n2.weekdaysShort, e2.$W, o2, 3);
364
+ case "dddd":
365
+ return o2[e2.$W];
366
+ case "H":
367
+ return String(s2);
368
+ case "HH":
369
+ return b.s(s2, 2, "0");
370
+ case "h":
371
+ return d2(1);
372
+ case "hh":
373
+ return d2(2);
374
+ case "a":
375
+ return $2(s2, u2, true);
376
+ case "A":
377
+ return $2(s2, u2, false);
378
+ case "m":
379
+ return String(u2);
380
+ case "mm":
381
+ return b.s(u2, 2, "0");
382
+ case "s":
383
+ return String(e2.$s);
384
+ case "ss":
385
+ return b.s(e2.$s, 2, "0");
386
+ case "SSS":
387
+ return b.s(e2.$ms, 3, "0");
388
+ case "Z":
389
+ return i2;
390
+ }
391
+ return null;
392
+ }(t3) || i2.replace(":", "");
393
+ });
394
+ }, m2.utcOffset = function() {
395
+ return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
396
+ }, m2.diff = function(r2, d2, l2) {
397
+ var $2, y2 = this, M3 = b.p(d2), m3 = O(r2), v2 = (m3.utcOffset() - this.utcOffset()) * e, g2 = this - m3, D2 = function() {
398
+ return b.m(y2, m3);
399
+ };
400
+ switch (M3) {
401
+ case h:
402
+ $2 = D2() / 12;
403
+ break;
404
+ case c:
405
+ $2 = D2();
406
+ break;
407
+ case f:
408
+ $2 = D2() / 3;
409
+ break;
410
+ case o:
411
+ $2 = (g2 - v2) / 6048e5;
412
+ break;
413
+ case a:
414
+ $2 = (g2 - v2) / 864e5;
415
+ break;
416
+ case u:
417
+ $2 = g2 / n;
418
+ break;
419
+ case s:
420
+ $2 = g2 / e;
421
+ break;
422
+ case i:
423
+ $2 = g2 / t;
424
+ break;
425
+ default:
426
+ $2 = g2;
427
+ }
428
+ return l2 ? $2 : b.a($2);
429
+ }, m2.daysInMonth = function() {
430
+ return this.endOf(c).$D;
431
+ }, m2.$locale = function() {
432
+ return D[this.$L];
433
+ }, m2.locale = function(t2, e2) {
434
+ if (!t2)
435
+ return this.$L;
436
+ var n2 = this.clone(), r2 = w(t2, e2, true);
437
+ return r2 && (n2.$L = r2), n2;
438
+ }, m2.clone = function() {
439
+ return b.w(this.$d, this);
440
+ }, m2.toDate = function() {
441
+ return new Date(this.valueOf());
442
+ }, m2.toJSON = function() {
443
+ return this.isValid() ? this.toISOString() : null;
444
+ }, m2.toISOString = function() {
445
+ return this.$d.toISOString();
446
+ }, m2.toString = function() {
447
+ return this.$d.toUTCString();
448
+ }, M2;
449
+ }(), k = _.prototype;
450
+ return O.prototype = k, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", c], ["$y", h], ["$D", d]].forEach(function(t2) {
451
+ k[t2[1]] = function(e2) {
452
+ return this.$g(e2, t2[0], t2[1]);
453
+ };
454
+ }), O.extend = function(t2, e2) {
455
+ return t2.$i || (t2(e2, _, O), t2.$i = true), O;
456
+ }, O.locale = w, O.isDayjs = S, O.unix = function(t2) {
457
+ return O(1e3 * t2);
458
+ }, O.en = D[g], O.Ls = D, O.p = {}, O;
459
+ });
460
+ }
461
+ });
462
+
463
+ // ../../node_modules/dayjs/plugin/relativeTime.js
464
+ var require_relativeTime = __commonJS({
465
+ "../../node_modules/dayjs/plugin/relativeTime.js"(exports, module2) {
466
+ !function(r, e) {
467
+ "object" == typeof exports && "undefined" != typeof module2 ? module2.exports = e() : "function" == typeof define && define.amd ? define(e) : (r = "undefined" != typeof globalThis ? globalThis : r || self).dayjs_plugin_relativeTime = e();
468
+ }(exports, function() {
469
+ "use strict";
470
+ return function(r, e, t) {
471
+ r = r || {};
472
+ var n = e.prototype, o = { future: "in %s", past: "%s ago", s: "a few seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", M: "a month", MM: "%d months", y: "a year", yy: "%d years" };
473
+ function i(r2, e2, t2, o2) {
474
+ return n.fromToBase(r2, e2, t2, o2);
475
+ }
476
+ t.en.relativeTime = o, n.fromToBase = function(e2, n2, i2, d2, u) {
477
+ for (var f, a, s, l = i2.$locale().relativeTime || o, h = r.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], m = h.length, c = 0; c < m; c += 1) {
478
+ var y = h[c];
479
+ y.d && (f = d2 ? t(e2).diff(i2, y.d, true) : i2.diff(e2, y.d, true));
480
+ var p = (r.rounding || Math.round)(Math.abs(f));
481
+ if (s = f > 0, p <= y.r || !y.r) {
482
+ p <= 1 && c > 0 && (y = h[c - 1]);
483
+ var v = l[y.l];
484
+ u && (p = u("" + p)), a = "string" == typeof v ? v.replace("%d", p) : v(p, n2, y.l, s);
485
+ break;
486
+ }
487
+ }
488
+ if (n2)
489
+ return a;
490
+ var M = s ? l.future : l.past;
491
+ return "function" == typeof M ? M(a) : M.replace("%s", a);
492
+ }, n.to = function(r2, e2) {
493
+ return i(r2, e2, this, true);
494
+ }, n.from = function(r2, e2) {
495
+ return i(r2, e2, this);
496
+ };
497
+ var d = function(r2) {
498
+ return r2.$u ? t.utc() : t();
499
+ };
500
+ n.toNow = function(r2) {
501
+ return this.to(d(this), r2);
502
+ }, n.fromNow = function(r2) {
503
+ return this.from(d(this), r2);
504
+ };
505
+ };
506
+ });
507
+ }
508
+ });
509
+
510
+ // ../../node_modules/tslib/tslib.es6.mjs
511
+ var tslib_es6_exports = {};
512
+ __export(tslib_es6_exports, {
513
+ __addDisposableResource: () => __addDisposableResource,
514
+ __assign: () => __assign,
515
+ __asyncDelegator: () => __asyncDelegator,
516
+ __asyncGenerator: () => __asyncGenerator,
517
+ __asyncValues: () => __asyncValues,
518
+ __await: () => __await,
519
+ __awaiter: () => __awaiter,
520
+ __classPrivateFieldGet: () => __classPrivateFieldGet,
521
+ __classPrivateFieldIn: () => __classPrivateFieldIn,
522
+ __classPrivateFieldSet: () => __classPrivateFieldSet,
523
+ __createBinding: () => __createBinding,
524
+ __decorate: () => __decorate,
525
+ __disposeResources: () => __disposeResources,
526
+ __esDecorate: () => __esDecorate,
527
+ __exportStar: () => __exportStar,
528
+ __extends: () => __extends,
529
+ __generator: () => __generator,
530
+ __importDefault: () => __importDefault,
531
+ __importStar: () => __importStar,
532
+ __makeTemplateObject: () => __makeTemplateObject,
533
+ __metadata: () => __metadata,
534
+ __param: () => __param,
535
+ __propKey: () => __propKey,
536
+ __read: () => __read,
537
+ __rest: () => __rest,
538
+ __runInitializers: () => __runInitializers,
539
+ __setFunctionName: () => __setFunctionName,
540
+ __spread: () => __spread,
541
+ __spreadArray: () => __spreadArray,
542
+ __spreadArrays: () => __spreadArrays,
543
+ __values: () => __values,
544
+ default: () => tslib_es6_default
545
+ });
546
+ function __extends(d, b) {
547
+ if (typeof b !== "function" && b !== null)
548
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
549
+ extendStatics(d, b);
550
+ function __() {
551
+ this.constructor = d;
552
+ }
553
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
554
+ }
555
+ function __rest(s, e) {
556
+ var t = {};
557
+ for (var p in s)
558
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
559
+ t[p] = s[p];
560
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
561
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
562
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
563
+ t[p[i]] = s[p[i]];
564
+ }
565
+ return t;
566
+ }
567
+ function __decorate(decorators, target, key, desc) {
568
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
569
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
570
+ r = Reflect.decorate(decorators, target, key, desc);
571
+ else
572
+ for (var i = decorators.length - 1; i >= 0; i--)
573
+ if (d = decorators[i])
574
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
575
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
576
+ }
577
+ function __param(paramIndex, decorator) {
578
+ return function(target, key) {
579
+ decorator(target, key, paramIndex);
580
+ };
581
+ }
582
+ function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
583
+ function accept(f) {
584
+ if (f !== void 0 && typeof f !== "function")
585
+ throw new TypeError("Function expected");
586
+ return f;
587
+ }
588
+ var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
589
+ var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
590
+ var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
591
+ var _, done = false;
592
+ for (var i = decorators.length - 1; i >= 0; i--) {
593
+ var context = {};
594
+ for (var p in contextIn)
595
+ context[p] = p === "access" ? {} : contextIn[p];
596
+ for (var p in contextIn.access)
597
+ context.access[p] = contextIn.access[p];
598
+ context.addInitializer = function(f) {
599
+ if (done)
600
+ throw new TypeError("Cannot add initializers after decoration has completed");
601
+ extraInitializers.push(accept(f || null));
602
+ };
603
+ var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
604
+ if (kind === "accessor") {
605
+ if (result === void 0)
606
+ continue;
607
+ if (result === null || typeof result !== "object")
608
+ throw new TypeError("Object expected");
609
+ if (_ = accept(result.get))
610
+ descriptor.get = _;
611
+ if (_ = accept(result.set))
612
+ descriptor.set = _;
613
+ if (_ = accept(result.init))
614
+ initializers.unshift(_);
615
+ } else if (_ = accept(result)) {
616
+ if (kind === "field")
617
+ initializers.unshift(_);
618
+ else
619
+ descriptor[key] = _;
620
+ }
621
+ }
622
+ if (target)
623
+ Object.defineProperty(target, contextIn.name, descriptor);
624
+ done = true;
625
+ }
626
+ function __runInitializers(thisArg, initializers, value) {
627
+ var useValue = arguments.length > 2;
628
+ for (var i = 0; i < initializers.length; i++) {
629
+ value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
630
+ }
631
+ return useValue ? value : void 0;
632
+ }
633
+ function __propKey(x) {
634
+ return typeof x === "symbol" ? x : "".concat(x);
635
+ }
636
+ function __setFunctionName(f, name, prefix) {
637
+ if (typeof name === "symbol")
638
+ name = name.description ? "[".concat(name.description, "]") : "";
639
+ return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
640
+ }
641
+ function __metadata(metadataKey, metadataValue) {
642
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
643
+ return Reflect.metadata(metadataKey, metadataValue);
644
+ }
645
+ function __awaiter(thisArg, _arguments, P, generator) {
646
+ function adopt(value) {
647
+ return value instanceof P ? value : new P(function(resolve) {
648
+ resolve(value);
649
+ });
650
+ }
651
+ return new (P || (P = Promise))(function(resolve, reject) {
652
+ function fulfilled(value) {
653
+ try {
654
+ step(generator.next(value));
655
+ } catch (e) {
656
+ reject(e);
657
+ }
658
+ }
659
+ function rejected(value) {
660
+ try {
661
+ step(generator["throw"](value));
662
+ } catch (e) {
663
+ reject(e);
664
+ }
665
+ }
666
+ function step(result) {
667
+ result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
668
+ }
669
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
670
+ });
671
+ }
672
+ function __generator(thisArg, body) {
673
+ var _ = { label: 0, sent: function() {
674
+ if (t[0] & 1)
675
+ throw t[1];
676
+ return t[1];
677
+ }, trys: [], ops: [] }, f, y, t, g;
678
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
679
+ return this;
680
+ }), g;
681
+ function verb(n) {
682
+ return function(v) {
683
+ return step([n, v]);
684
+ };
685
+ }
686
+ function step(op) {
687
+ if (f)
688
+ throw new TypeError("Generator is already executing.");
689
+ while (g && (g = 0, op[0] && (_ = 0)), _)
690
+ try {
691
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
692
+ return t;
693
+ if (y = 0, t)
694
+ op = [op[0] & 2, t.value];
695
+ switch (op[0]) {
696
+ case 0:
697
+ case 1:
698
+ t = op;
699
+ break;
700
+ case 4:
701
+ _.label++;
702
+ return { value: op[1], done: false };
703
+ case 5:
704
+ _.label++;
705
+ y = op[1];
706
+ op = [0];
707
+ continue;
708
+ case 7:
709
+ op = _.ops.pop();
710
+ _.trys.pop();
711
+ continue;
712
+ default:
713
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
714
+ _ = 0;
715
+ continue;
716
+ }
717
+ if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
718
+ _.label = op[1];
719
+ break;
720
+ }
721
+ if (op[0] === 6 && _.label < t[1]) {
722
+ _.label = t[1];
723
+ t = op;
724
+ break;
725
+ }
726
+ if (t && _.label < t[2]) {
727
+ _.label = t[2];
728
+ _.ops.push(op);
729
+ break;
730
+ }
731
+ if (t[2])
732
+ _.ops.pop();
733
+ _.trys.pop();
734
+ continue;
735
+ }
736
+ op = body.call(thisArg, _);
737
+ } catch (e) {
738
+ op = [6, e];
739
+ y = 0;
740
+ } finally {
741
+ f = t = 0;
742
+ }
743
+ if (op[0] & 5)
744
+ throw op[1];
745
+ return { value: op[0] ? op[1] : void 0, done: true };
746
+ }
747
+ }
748
+ function __exportStar(m, o) {
749
+ for (var p in m)
750
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
751
+ __createBinding(o, m, p);
752
+ }
753
+ function __values(o) {
754
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
755
+ if (m)
756
+ return m.call(o);
757
+ if (o && typeof o.length === "number")
758
+ return {
759
+ next: function() {
760
+ if (o && i >= o.length)
761
+ o = void 0;
762
+ return { value: o && o[i++], done: !o };
763
+ }
764
+ };
765
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
766
+ }
767
+ function __read(o, n) {
768
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
769
+ if (!m)
770
+ return o;
771
+ var i = m.call(o), r, ar = [], e;
772
+ try {
773
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
774
+ ar.push(r.value);
775
+ } catch (error) {
776
+ e = { error };
777
+ } finally {
778
+ try {
779
+ if (r && !r.done && (m = i["return"]))
780
+ m.call(i);
781
+ } finally {
782
+ if (e)
783
+ throw e.error;
784
+ }
785
+ }
786
+ return ar;
787
+ }
788
+ function __spread() {
789
+ for (var ar = [], i = 0; i < arguments.length; i++)
790
+ ar = ar.concat(__read(arguments[i]));
791
+ return ar;
792
+ }
793
+ function __spreadArrays() {
794
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
795
+ s += arguments[i].length;
796
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
797
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
798
+ r[k] = a[j];
799
+ return r;
800
+ }
801
+ function __spreadArray(to, from, pack) {
802
+ if (pack || arguments.length === 2)
803
+ for (var i = 0, l = from.length, ar; i < l; i++) {
804
+ if (ar || !(i in from)) {
805
+ if (!ar)
806
+ ar = Array.prototype.slice.call(from, 0, i);
807
+ ar[i] = from[i];
808
+ }
809
+ }
810
+ return to.concat(ar || Array.prototype.slice.call(from));
811
+ }
812
+ function __await(v) {
813
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
814
+ }
815
+ function __asyncGenerator(thisArg, _arguments, generator) {
816
+ if (!Symbol.asyncIterator)
817
+ throw new TypeError("Symbol.asyncIterator is not defined.");
818
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
819
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
820
+ return this;
821
+ }, i;
822
+ function verb(n) {
823
+ if (g[n])
824
+ i[n] = function(v) {
825
+ return new Promise(function(a, b) {
826
+ q.push([n, v, a, b]) > 1 || resume(n, v);
827
+ });
828
+ };
829
+ }
830
+ function resume(n, v) {
831
+ try {
832
+ step(g[n](v));
833
+ } catch (e) {
834
+ settle(q[0][3], e);
835
+ }
836
+ }
837
+ function step(r) {
838
+ r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);
839
+ }
840
+ function fulfill(value) {
841
+ resume("next", value);
842
+ }
843
+ function reject(value) {
844
+ resume("throw", value);
845
+ }
846
+ function settle(f, v) {
847
+ if (f(v), q.shift(), q.length)
848
+ resume(q[0][0], q[0][1]);
849
+ }
850
+ }
851
+ function __asyncDelegator(o) {
852
+ var i, p;
853
+ return i = {}, verb("next"), verb("throw", function(e) {
854
+ throw e;
855
+ }), verb("return"), i[Symbol.iterator] = function() {
856
+ return this;
857
+ }, i;
858
+ function verb(n, f) {
859
+ i[n] = o[n] ? function(v) {
860
+ return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v;
861
+ } : f;
862
+ }
863
+ }
864
+ function __asyncValues(o) {
865
+ if (!Symbol.asyncIterator)
866
+ throw new TypeError("Symbol.asyncIterator is not defined.");
867
+ var m = o[Symbol.asyncIterator], i;
868
+ return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
869
+ return this;
870
+ }, i);
871
+ function verb(n) {
872
+ i[n] = o[n] && function(v) {
873
+ return new Promise(function(resolve, reject) {
874
+ v = o[n](v), settle(resolve, reject, v.done, v.value);
875
+ });
876
+ };
877
+ }
878
+ function settle(resolve, reject, d, v) {
879
+ Promise.resolve(v).then(function(v2) {
880
+ resolve({ value: v2, done: d });
881
+ }, reject);
882
+ }
883
+ }
884
+ function __makeTemplateObject(cooked, raw) {
885
+ if (Object.defineProperty) {
886
+ Object.defineProperty(cooked, "raw", { value: raw });
887
+ } else {
888
+ cooked.raw = raw;
889
+ }
890
+ return cooked;
891
+ }
892
+ function __importStar(mod) {
893
+ if (mod && mod.__esModule)
894
+ return mod;
895
+ var result = {};
896
+ if (mod != null) {
897
+ for (var k in mod)
898
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
899
+ __createBinding(result, mod, k);
900
+ }
901
+ __setModuleDefault(result, mod);
902
+ return result;
903
+ }
904
+ function __importDefault(mod) {
905
+ return mod && mod.__esModule ? mod : { default: mod };
906
+ }
907
+ function __classPrivateFieldGet(receiver, state, kind, f) {
908
+ if (kind === "a" && !f)
909
+ throw new TypeError("Private accessor was defined without a getter");
910
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
911
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
912
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
913
+ }
914
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
915
+ if (kind === "m")
916
+ throw new TypeError("Private method is not writable");
917
+ if (kind === "a" && !f)
918
+ throw new TypeError("Private accessor was defined without a setter");
919
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
920
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
921
+ return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;
922
+ }
923
+ function __classPrivateFieldIn(state, receiver) {
924
+ if (receiver === null || typeof receiver !== "object" && typeof receiver !== "function")
925
+ throw new TypeError("Cannot use 'in' operator on non-object");
926
+ return typeof state === "function" ? receiver === state : state.has(receiver);
927
+ }
928
+ function __addDisposableResource(env, value, async) {
929
+ if (value !== null && value !== void 0) {
930
+ if (typeof value !== "object" && typeof value !== "function")
931
+ throw new TypeError("Object expected.");
932
+ var dispose;
933
+ if (async) {
934
+ if (!Symbol.asyncDispose)
935
+ throw new TypeError("Symbol.asyncDispose is not defined.");
936
+ dispose = value[Symbol.asyncDispose];
937
+ }
938
+ if (dispose === void 0) {
939
+ if (!Symbol.dispose)
940
+ throw new TypeError("Symbol.dispose is not defined.");
941
+ dispose = value[Symbol.dispose];
942
+ }
943
+ if (typeof dispose !== "function")
944
+ throw new TypeError("Object not disposable.");
945
+ env.stack.push({ value, dispose, async });
946
+ } else if (async) {
947
+ env.stack.push({ async: true });
948
+ }
949
+ return value;
950
+ }
951
+ function __disposeResources(env) {
952
+ function fail(e) {
953
+ env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
954
+ env.hasError = true;
955
+ }
956
+ function next() {
957
+ while (env.stack.length) {
958
+ var rec = env.stack.pop();
959
+ try {
960
+ var result = rec.dispose && rec.dispose.call(rec.value);
961
+ if (rec.async)
962
+ return Promise.resolve(result).then(next, function(e) {
963
+ fail(e);
964
+ return next();
965
+ });
966
+ } catch (e) {
967
+ fail(e);
968
+ }
969
+ }
970
+ if (env.hasError)
971
+ throw env.error;
972
+ }
973
+ return next();
974
+ }
975
+ var extendStatics, __assign, __createBinding, __setModuleDefault, _SuppressedError, tslib_es6_default;
976
+ var init_tslib_es6 = __esm({
977
+ "../../node_modules/tslib/tslib.es6.mjs"() {
978
+ extendStatics = function(d, b) {
979
+ extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
980
+ d2.__proto__ = b2;
981
+ } || function(d2, b2) {
982
+ for (var p in b2)
983
+ if (Object.prototype.hasOwnProperty.call(b2, p))
984
+ d2[p] = b2[p];
985
+ };
986
+ return extendStatics(d, b);
987
+ };
988
+ __assign = function() {
989
+ __assign = Object.assign || function __assign2(t) {
990
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
991
+ s = arguments[i];
992
+ for (var p in s)
993
+ if (Object.prototype.hasOwnProperty.call(s, p))
994
+ t[p] = s[p];
995
+ }
996
+ return t;
997
+ };
998
+ return __assign.apply(this, arguments);
999
+ };
1000
+ __createBinding = Object.create ? function(o, m, k, k2) {
1001
+ if (k2 === void 0)
1002
+ k2 = k;
1003
+ var desc = Object.getOwnPropertyDescriptor(m, k);
1004
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
1005
+ desc = { enumerable: true, get: function() {
1006
+ return m[k];
1007
+ } };
1008
+ }
1009
+ Object.defineProperty(o, k2, desc);
1010
+ } : function(o, m, k, k2) {
1011
+ if (k2 === void 0)
1012
+ k2 = k;
1013
+ o[k2] = m[k];
1014
+ };
1015
+ __setModuleDefault = Object.create ? function(o, v) {
1016
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
1017
+ } : function(o, v) {
1018
+ o["default"] = v;
1019
+ };
1020
+ _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) {
1021
+ var e = new Error(message);
1022
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
1023
+ };
1024
+ tslib_es6_default = {
1025
+ __extends,
1026
+ __assign,
1027
+ __rest,
1028
+ __decorate,
1029
+ __param,
1030
+ __metadata,
1031
+ __awaiter,
1032
+ __generator,
1033
+ __createBinding,
1034
+ __exportStar,
1035
+ __values,
1036
+ __read,
1037
+ __spread,
1038
+ __spreadArrays,
1039
+ __spreadArray,
1040
+ __await,
1041
+ __asyncGenerator,
1042
+ __asyncDelegator,
1043
+ __asyncValues,
1044
+ __makeTemplateObject,
1045
+ __importStar,
1046
+ __importDefault,
1047
+ __classPrivateFieldGet,
1048
+ __classPrivateFieldSet,
1049
+ __classPrivateFieldIn,
1050
+ __addDisposableResource,
1051
+ __disposeResources
1052
+ };
1053
+ }
1054
+ });
1055
+
1056
+ // ../../node_modules/pascal-case/node_modules/lower-case/dist/index.js
1057
+ var require_dist = __commonJS({
1058
+ "../../node_modules/pascal-case/node_modules/lower-case/dist/index.js"(exports) {
1059
+ "use strict";
1060
+ Object.defineProperty(exports, "__esModule", { value: true });
1061
+ exports.lowerCase = exports.localeLowerCase = void 0;
1062
+ var SUPPORTED_LOCALE = {
1063
+ tr: {
1064
+ regexp: /\u0130|\u0049|\u0049\u0307/g,
1065
+ map: {
1066
+ \u0130: "i",
1067
+ I: "\u0131",
1068
+ I\u0307: "i"
1069
+ }
1070
+ },
1071
+ az: {
1072
+ regexp: /\u0130/g,
1073
+ map: {
1074
+ \u0130: "i",
1075
+ I: "\u0131",
1076
+ I\u0307: "i"
1077
+ }
1078
+ },
1079
+ lt: {
1080
+ regexp: /\u0049|\u004A|\u012E|\u00CC|\u00CD|\u0128/g,
1081
+ map: {
1082
+ I: "i\u0307",
1083
+ J: "j\u0307",
1084
+ \u012E: "\u012F\u0307",
1085
+ \u00CC: "i\u0307\u0300",
1086
+ \u00CD: "i\u0307\u0301",
1087
+ \u0128: "i\u0307\u0303"
1088
+ }
1089
+ }
1090
+ };
1091
+ function localeLowerCase(str, locale) {
1092
+ var lang = SUPPORTED_LOCALE[locale.toLowerCase()];
1093
+ if (lang)
1094
+ return lowerCase(str.replace(lang.regexp, function(m) {
1095
+ return lang.map[m];
1096
+ }));
1097
+ return lowerCase(str);
1098
+ }
1099
+ exports.localeLowerCase = localeLowerCase;
1100
+ function lowerCase(str) {
1101
+ return str.toLowerCase();
1102
+ }
1103
+ exports.lowerCase = lowerCase;
1104
+ }
1105
+ });
1106
+
1107
+ // ../../node_modules/pascal-case/node_modules/no-case/dist/index.js
1108
+ var require_dist2 = __commonJS({
1109
+ "../../node_modules/pascal-case/node_modules/no-case/dist/index.js"(exports) {
1110
+ "use strict";
1111
+ Object.defineProperty(exports, "__esModule", { value: true });
1112
+ exports.noCase = void 0;
1113
+ var lower_case_1 = require_dist();
1114
+ var DEFAULT_SPLIT_REGEXP = [/([a-z0-9])([A-Z])/g, /([A-Z])([A-Z][a-z])/g];
1115
+ var DEFAULT_STRIP_REGEXP = /[^A-Z0-9]+/gi;
1116
+ function noCase(input, options) {
1117
+ if (options === void 0) {
1118
+ options = {};
1119
+ }
1120
+ var _a = options.splitRegexp, splitRegexp = _a === void 0 ? DEFAULT_SPLIT_REGEXP : _a, _b = options.stripRegexp, stripRegexp = _b === void 0 ? DEFAULT_STRIP_REGEXP : _b, _c = options.transform, transform = _c === void 0 ? lower_case_1.lowerCase : _c, _d = options.delimiter, delimiter = _d === void 0 ? " " : _d;
1121
+ var result = replace(replace(input, splitRegexp, "$1\0$2"), stripRegexp, "\0");
1122
+ var start = 0;
1123
+ var end = result.length;
1124
+ while (result.charAt(start) === "\0")
1125
+ start++;
1126
+ while (result.charAt(end - 1) === "\0")
1127
+ end--;
1128
+ return result.slice(start, end).split("\0").map(transform).join(delimiter);
1129
+ }
1130
+ exports.noCase = noCase;
1131
+ function replace(input, re, value) {
1132
+ if (re instanceof RegExp)
1133
+ return input.replace(re, value);
1134
+ return re.reduce(function(input2, re2) {
1135
+ return input2.replace(re2, value);
1136
+ }, input);
1137
+ }
1138
+ }
1139
+ });
1140
+
1141
+ // ../../node_modules/pascal-case/dist/index.js
1142
+ var require_dist3 = __commonJS({
1143
+ "../../node_modules/pascal-case/dist/index.js"(exports) {
1144
+ "use strict";
1145
+ Object.defineProperty(exports, "__esModule", { value: true });
1146
+ exports.pascalCase = exports.pascalCaseTransformMerge = exports.pascalCaseTransform = void 0;
1147
+ var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
1148
+ var no_case_1 = require_dist2();
1149
+ function pascalCaseTransform(input, index) {
1150
+ var firstChar = input.charAt(0);
1151
+ var lowerChars = input.substr(1).toLowerCase();
1152
+ if (index > 0 && firstChar >= "0" && firstChar <= "9") {
1153
+ return "_" + firstChar + lowerChars;
1154
+ }
1155
+ return "" + firstChar.toUpperCase() + lowerChars;
1156
+ }
1157
+ exports.pascalCaseTransform = pascalCaseTransform;
1158
+ function pascalCaseTransformMerge(input) {
1159
+ return input.charAt(0).toUpperCase() + input.slice(1).toLowerCase();
1160
+ }
1161
+ exports.pascalCaseTransformMerge = pascalCaseTransformMerge;
1162
+ function pascalCase2(input, options) {
1163
+ if (options === void 0) {
1164
+ options = {};
1165
+ }
1166
+ return no_case_1.noCase(input, tslib_1.__assign({ delimiter: "", transform: pascalCaseTransform }, options));
1167
+ }
1168
+ exports.pascalCase = pascalCase2;
1169
+ }
1170
+ });
1171
+
1172
+ // ../../node_modules/camel-case/dist/index.js
1173
+ var require_dist4 = __commonJS({
1174
+ "../../node_modules/camel-case/dist/index.js"(exports) {
1175
+ "use strict";
1176
+ Object.defineProperty(exports, "__esModule", { value: true });
1177
+ exports.camelCase = exports.camelCaseTransformMerge = exports.camelCaseTransform = void 0;
1178
+ var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
1179
+ var pascal_case_1 = require_dist3();
1180
+ function camelCaseTransform(input, index) {
1181
+ if (index === 0)
1182
+ return input.toLowerCase();
1183
+ return pascal_case_1.pascalCaseTransform(input, index);
1184
+ }
1185
+ exports.camelCaseTransform = camelCaseTransform;
1186
+ function camelCaseTransformMerge(input, index) {
1187
+ if (index === 0)
1188
+ return input.toLowerCase();
1189
+ return pascal_case_1.pascalCaseTransformMerge(input);
1190
+ }
1191
+ exports.camelCaseTransformMerge = camelCaseTransformMerge;
1192
+ function camelCase(input, options) {
1193
+ if (options === void 0) {
1194
+ options = {};
1195
+ }
1196
+ return pascal_case_1.pascalCase(input, tslib_1.__assign({ transform: camelCaseTransform }, options));
1197
+ }
1198
+ exports.camelCase = camelCase;
1199
+ }
1200
+ });
1201
+
1202
+ // ../../node_modules/capital-case/node_modules/lower-case/dist/index.js
1203
+ var require_dist5 = __commonJS({
1204
+ "../../node_modules/capital-case/node_modules/lower-case/dist/index.js"(exports) {
1205
+ "use strict";
1206
+ Object.defineProperty(exports, "__esModule", { value: true });
1207
+ exports.lowerCase = exports.localeLowerCase = void 0;
1208
+ var SUPPORTED_LOCALE = {
1209
+ tr: {
1210
+ regexp: /\u0130|\u0049|\u0049\u0307/g,
1211
+ map: {
1212
+ \u0130: "i",
1213
+ I: "\u0131",
1214
+ I\u0307: "i"
1215
+ }
1216
+ },
1217
+ az: {
1218
+ regexp: /\u0130/g,
1219
+ map: {
1220
+ \u0130: "i",
1221
+ I: "\u0131",
1222
+ I\u0307: "i"
1223
+ }
1224
+ },
1225
+ lt: {
1226
+ regexp: /\u0049|\u004A|\u012E|\u00CC|\u00CD|\u0128/g,
1227
+ map: {
1228
+ I: "i\u0307",
1229
+ J: "j\u0307",
1230
+ \u012E: "\u012F\u0307",
1231
+ \u00CC: "i\u0307\u0300",
1232
+ \u00CD: "i\u0307\u0301",
1233
+ \u0128: "i\u0307\u0303"
1234
+ }
1235
+ }
1236
+ };
1237
+ function localeLowerCase(str, locale) {
1238
+ var lang = SUPPORTED_LOCALE[locale.toLowerCase()];
1239
+ if (lang)
1240
+ return lowerCase(str.replace(lang.regexp, function(m) {
1241
+ return lang.map[m];
1242
+ }));
1243
+ return lowerCase(str);
1244
+ }
1245
+ exports.localeLowerCase = localeLowerCase;
1246
+ function lowerCase(str) {
1247
+ return str.toLowerCase();
1248
+ }
1249
+ exports.lowerCase = lowerCase;
1250
+ }
1251
+ });
1252
+
1253
+ // ../../node_modules/capital-case/node_modules/no-case/dist/index.js
1254
+ var require_dist6 = __commonJS({
1255
+ "../../node_modules/capital-case/node_modules/no-case/dist/index.js"(exports) {
1256
+ "use strict";
1257
+ Object.defineProperty(exports, "__esModule", { value: true });
1258
+ exports.noCase = void 0;
1259
+ var lower_case_1 = require_dist5();
1260
+ var DEFAULT_SPLIT_REGEXP = [/([a-z0-9])([A-Z])/g, /([A-Z])([A-Z][a-z])/g];
1261
+ var DEFAULT_STRIP_REGEXP = /[^A-Z0-9]+/gi;
1262
+ function noCase(input, options) {
1263
+ if (options === void 0) {
1264
+ options = {};
1265
+ }
1266
+ var _a = options.splitRegexp, splitRegexp = _a === void 0 ? DEFAULT_SPLIT_REGEXP : _a, _b = options.stripRegexp, stripRegexp = _b === void 0 ? DEFAULT_STRIP_REGEXP : _b, _c = options.transform, transform = _c === void 0 ? lower_case_1.lowerCase : _c, _d = options.delimiter, delimiter = _d === void 0 ? " " : _d;
1267
+ var result = replace(replace(input, splitRegexp, "$1\0$2"), stripRegexp, "\0");
1268
+ var start = 0;
1269
+ var end = result.length;
1270
+ while (result.charAt(start) === "\0")
1271
+ start++;
1272
+ while (result.charAt(end - 1) === "\0")
1273
+ end--;
1274
+ return result.slice(start, end).split("\0").map(transform).join(delimiter);
1275
+ }
1276
+ exports.noCase = noCase;
1277
+ function replace(input, re, value) {
1278
+ if (re instanceof RegExp)
1279
+ return input.replace(re, value);
1280
+ return re.reduce(function(input2, re2) {
1281
+ return input2.replace(re2, value);
1282
+ }, input);
1283
+ }
1284
+ }
1285
+ });
1286
+
1287
+ // ../../node_modules/upper-case-first/dist/index.js
1288
+ var require_dist7 = __commonJS({
1289
+ "../../node_modules/upper-case-first/dist/index.js"(exports) {
1290
+ "use strict";
1291
+ Object.defineProperty(exports, "__esModule", { value: true });
1292
+ exports.upperCaseFirst = void 0;
1293
+ function upperCaseFirst(input) {
1294
+ return input.charAt(0).toUpperCase() + input.substr(1);
1295
+ }
1296
+ exports.upperCaseFirst = upperCaseFirst;
1297
+ }
1298
+ });
1299
+
1300
+ // ../../node_modules/capital-case/dist/index.js
1301
+ var require_dist8 = __commonJS({
1302
+ "../../node_modules/capital-case/dist/index.js"(exports) {
1303
+ "use strict";
1304
+ Object.defineProperty(exports, "__esModule", { value: true });
1305
+ exports.capitalCase = exports.capitalCaseTransform = void 0;
1306
+ var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
1307
+ var no_case_1 = require_dist6();
1308
+ var upper_case_first_1 = require_dist7();
1309
+ function capitalCaseTransform(input) {
1310
+ return upper_case_first_1.upperCaseFirst(input.toLowerCase());
1311
+ }
1312
+ exports.capitalCaseTransform = capitalCaseTransform;
1313
+ function capitalCase(input, options) {
1314
+ if (options === void 0) {
1315
+ options = {};
1316
+ }
1317
+ return no_case_1.noCase(input, tslib_1.__assign({ delimiter: " ", transform: capitalCaseTransform }, options));
1318
+ }
1319
+ exports.capitalCase = capitalCase;
1320
+ }
1321
+ });
1322
+
1323
+ // ../../node_modules/constant-case/node_modules/lower-case/dist/index.js
1324
+ var require_dist9 = __commonJS({
1325
+ "../../node_modules/constant-case/node_modules/lower-case/dist/index.js"(exports) {
1326
+ "use strict";
1327
+ Object.defineProperty(exports, "__esModule", { value: true });
1328
+ exports.lowerCase = exports.localeLowerCase = void 0;
1329
+ var SUPPORTED_LOCALE = {
1330
+ tr: {
1331
+ regexp: /\u0130|\u0049|\u0049\u0307/g,
1332
+ map: {
1333
+ \u0130: "i",
1334
+ I: "\u0131",
1335
+ I\u0307: "i"
1336
+ }
1337
+ },
1338
+ az: {
1339
+ regexp: /\u0130/g,
1340
+ map: {
1341
+ \u0130: "i",
1342
+ I: "\u0131",
1343
+ I\u0307: "i"
1344
+ }
1345
+ },
1346
+ lt: {
1347
+ regexp: /\u0049|\u004A|\u012E|\u00CC|\u00CD|\u0128/g,
1348
+ map: {
1349
+ I: "i\u0307",
1350
+ J: "j\u0307",
1351
+ \u012E: "\u012F\u0307",
1352
+ \u00CC: "i\u0307\u0300",
1353
+ \u00CD: "i\u0307\u0301",
1354
+ \u0128: "i\u0307\u0303"
1355
+ }
1356
+ }
1357
+ };
1358
+ function localeLowerCase(str, locale) {
1359
+ var lang = SUPPORTED_LOCALE[locale.toLowerCase()];
1360
+ if (lang)
1361
+ return lowerCase(str.replace(lang.regexp, function(m) {
1362
+ return lang.map[m];
1363
+ }));
1364
+ return lowerCase(str);
1365
+ }
1366
+ exports.localeLowerCase = localeLowerCase;
1367
+ function lowerCase(str) {
1368
+ return str.toLowerCase();
1369
+ }
1370
+ exports.lowerCase = lowerCase;
1371
+ }
1372
+ });
1373
+
1374
+ // ../../node_modules/constant-case/node_modules/no-case/dist/index.js
1375
+ var require_dist10 = __commonJS({
1376
+ "../../node_modules/constant-case/node_modules/no-case/dist/index.js"(exports) {
1377
+ "use strict";
1378
+ Object.defineProperty(exports, "__esModule", { value: true });
1379
+ exports.noCase = void 0;
1380
+ var lower_case_1 = require_dist9();
1381
+ var DEFAULT_SPLIT_REGEXP = [/([a-z0-9])([A-Z])/g, /([A-Z])([A-Z][a-z])/g];
1382
+ var DEFAULT_STRIP_REGEXP = /[^A-Z0-9]+/gi;
1383
+ function noCase(input, options) {
1384
+ if (options === void 0) {
1385
+ options = {};
1386
+ }
1387
+ var _a = options.splitRegexp, splitRegexp = _a === void 0 ? DEFAULT_SPLIT_REGEXP : _a, _b = options.stripRegexp, stripRegexp = _b === void 0 ? DEFAULT_STRIP_REGEXP : _b, _c = options.transform, transform = _c === void 0 ? lower_case_1.lowerCase : _c, _d = options.delimiter, delimiter = _d === void 0 ? " " : _d;
1388
+ var result = replace(replace(input, splitRegexp, "$1\0$2"), stripRegexp, "\0");
1389
+ var start = 0;
1390
+ var end = result.length;
1391
+ while (result.charAt(start) === "\0")
1392
+ start++;
1393
+ while (result.charAt(end - 1) === "\0")
1394
+ end--;
1395
+ return result.slice(start, end).split("\0").map(transform).join(delimiter);
1396
+ }
1397
+ exports.noCase = noCase;
1398
+ function replace(input, re, value) {
1399
+ if (re instanceof RegExp)
1400
+ return input.replace(re, value);
1401
+ return re.reduce(function(input2, re2) {
1402
+ return input2.replace(re2, value);
1403
+ }, input);
1404
+ }
1405
+ }
1406
+ });
1407
+
1408
+ // ../../node_modules/constant-case/node_modules/upper-case/dist/index.js
1409
+ var require_dist11 = __commonJS({
1410
+ "../../node_modules/constant-case/node_modules/upper-case/dist/index.js"(exports) {
1411
+ "use strict";
1412
+ Object.defineProperty(exports, "__esModule", { value: true });
1413
+ exports.upperCase = exports.localeUpperCase = void 0;
1414
+ var SUPPORTED_LOCALE = {
1415
+ tr: {
1416
+ regexp: /[\u0069]/g,
1417
+ map: {
1418
+ i: "\u0130"
1419
+ }
1420
+ },
1421
+ az: {
1422
+ regexp: /[\u0069]/g,
1423
+ map: {
1424
+ i: "\u0130"
1425
+ }
1426
+ },
1427
+ lt: {
1428
+ regexp: /[\u0069\u006A\u012F]\u0307|\u0069\u0307[\u0300\u0301\u0303]/g,
1429
+ map: {
1430
+ i\u0307: "I",
1431
+ j\u0307: "J",
1432
+ \u012F\u0307: "\u012E",
1433
+ i\u0307\u0300: "\xCC",
1434
+ i\u0307\u0301: "\xCD",
1435
+ i\u0307\u0303: "\u0128"
1436
+ }
1437
+ }
1438
+ };
1439
+ function localeUpperCase(str, locale) {
1440
+ var lang = SUPPORTED_LOCALE[locale.toLowerCase()];
1441
+ if (lang)
1442
+ return upperCase(str.replace(lang.regexp, function(m) {
1443
+ return lang.map[m];
1444
+ }));
1445
+ return upperCase(str);
1446
+ }
1447
+ exports.localeUpperCase = localeUpperCase;
1448
+ function upperCase(str) {
1449
+ return str.toUpperCase();
1450
+ }
1451
+ exports.upperCase = upperCase;
1452
+ }
1453
+ });
1454
+
1455
+ // ../../node_modules/constant-case/dist/index.js
1456
+ var require_dist12 = __commonJS({
1457
+ "../../node_modules/constant-case/dist/index.js"(exports) {
1458
+ "use strict";
1459
+ Object.defineProperty(exports, "__esModule", { value: true });
1460
+ exports.constantCase = void 0;
1461
+ var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
1462
+ var no_case_1 = require_dist10();
1463
+ var upper_case_1 = require_dist11();
1464
+ function constantCase(input, options) {
1465
+ if (options === void 0) {
1466
+ options = {};
1467
+ }
1468
+ return no_case_1.noCase(input, tslib_1.__assign({ delimiter: "_", transform: upper_case_1.upperCase }, options));
1469
+ }
1470
+ exports.constantCase = constantCase;
1471
+ }
1472
+ });
1473
+
1474
+ // ../../node_modules/dot-case/node_modules/lower-case/dist/index.js
1475
+ var require_dist13 = __commonJS({
1476
+ "../../node_modules/dot-case/node_modules/lower-case/dist/index.js"(exports) {
1477
+ "use strict";
1478
+ Object.defineProperty(exports, "__esModule", { value: true });
1479
+ exports.lowerCase = exports.localeLowerCase = void 0;
1480
+ var SUPPORTED_LOCALE = {
1481
+ tr: {
1482
+ regexp: /\u0130|\u0049|\u0049\u0307/g,
1483
+ map: {
1484
+ \u0130: "i",
1485
+ I: "\u0131",
1486
+ I\u0307: "i"
1487
+ }
1488
+ },
1489
+ az: {
1490
+ regexp: /\u0130/g,
1491
+ map: {
1492
+ \u0130: "i",
1493
+ I: "\u0131",
1494
+ I\u0307: "i"
1495
+ }
1496
+ },
1497
+ lt: {
1498
+ regexp: /\u0049|\u004A|\u012E|\u00CC|\u00CD|\u0128/g,
1499
+ map: {
1500
+ I: "i\u0307",
1501
+ J: "j\u0307",
1502
+ \u012E: "\u012F\u0307",
1503
+ \u00CC: "i\u0307\u0300",
1504
+ \u00CD: "i\u0307\u0301",
1505
+ \u0128: "i\u0307\u0303"
1506
+ }
1507
+ }
1508
+ };
1509
+ function localeLowerCase(str, locale) {
1510
+ var lang = SUPPORTED_LOCALE[locale.toLowerCase()];
1511
+ if (lang)
1512
+ return lowerCase(str.replace(lang.regexp, function(m) {
1513
+ return lang.map[m];
1514
+ }));
1515
+ return lowerCase(str);
1516
+ }
1517
+ exports.localeLowerCase = localeLowerCase;
1518
+ function lowerCase(str) {
1519
+ return str.toLowerCase();
1520
+ }
1521
+ exports.lowerCase = lowerCase;
1522
+ }
1523
+ });
1524
+
1525
+ // ../../node_modules/dot-case/node_modules/no-case/dist/index.js
1526
+ var require_dist14 = __commonJS({
1527
+ "../../node_modules/dot-case/node_modules/no-case/dist/index.js"(exports) {
1528
+ "use strict";
1529
+ Object.defineProperty(exports, "__esModule", { value: true });
1530
+ exports.noCase = void 0;
1531
+ var lower_case_1 = require_dist13();
1532
+ var DEFAULT_SPLIT_REGEXP = [/([a-z0-9])([A-Z])/g, /([A-Z])([A-Z][a-z])/g];
1533
+ var DEFAULT_STRIP_REGEXP = /[^A-Z0-9]+/gi;
1534
+ function noCase(input, options) {
1535
+ if (options === void 0) {
1536
+ options = {};
1537
+ }
1538
+ var _a = options.splitRegexp, splitRegexp = _a === void 0 ? DEFAULT_SPLIT_REGEXP : _a, _b = options.stripRegexp, stripRegexp = _b === void 0 ? DEFAULT_STRIP_REGEXP : _b, _c = options.transform, transform = _c === void 0 ? lower_case_1.lowerCase : _c, _d = options.delimiter, delimiter = _d === void 0 ? " " : _d;
1539
+ var result = replace(replace(input, splitRegexp, "$1\0$2"), stripRegexp, "\0");
1540
+ var start = 0;
1541
+ var end = result.length;
1542
+ while (result.charAt(start) === "\0")
1543
+ start++;
1544
+ while (result.charAt(end - 1) === "\0")
1545
+ end--;
1546
+ return result.slice(start, end).split("\0").map(transform).join(delimiter);
1547
+ }
1548
+ exports.noCase = noCase;
1549
+ function replace(input, re, value) {
1550
+ if (re instanceof RegExp)
1551
+ return input.replace(re, value);
1552
+ return re.reduce(function(input2, re2) {
1553
+ return input2.replace(re2, value);
1554
+ }, input);
1555
+ }
1556
+ }
1557
+ });
1558
+
1559
+ // ../../node_modules/dot-case/dist/index.js
1560
+ var require_dist15 = __commonJS({
1561
+ "../../node_modules/dot-case/dist/index.js"(exports) {
1562
+ "use strict";
1563
+ Object.defineProperty(exports, "__esModule", { value: true });
1564
+ exports.dotCase = void 0;
1565
+ var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
1566
+ var no_case_1 = require_dist14();
1567
+ function dotCase(input, options) {
1568
+ if (options === void 0) {
1569
+ options = {};
1570
+ }
1571
+ return no_case_1.noCase(input, tslib_1.__assign({ delimiter: "." }, options));
1572
+ }
1573
+ exports.dotCase = dotCase;
1574
+ }
1575
+ });
1576
+
1577
+ // ../../node_modules/header-case/dist/index.js
1578
+ var require_dist16 = __commonJS({
1579
+ "../../node_modules/header-case/dist/index.js"(exports) {
1580
+ "use strict";
1581
+ Object.defineProperty(exports, "__esModule", { value: true });
1582
+ exports.headerCase = void 0;
1583
+ var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
1584
+ var capital_case_1 = require_dist8();
1585
+ function headerCase(input, options) {
1586
+ if (options === void 0) {
1587
+ options = {};
1588
+ }
1589
+ return capital_case_1.capitalCase(input, tslib_1.__assign({ delimiter: "-" }, options));
1590
+ }
1591
+ exports.headerCase = headerCase;
1592
+ }
1593
+ });
1594
+
1595
+ // ../../node_modules/change-case-all/node_modules/lower-case/dist/index.js
1596
+ var require_dist17 = __commonJS({
1597
+ "../../node_modules/change-case-all/node_modules/lower-case/dist/index.js"(exports) {
1598
+ "use strict";
1599
+ Object.defineProperty(exports, "__esModule", { value: true });
1600
+ exports.lowerCase = exports.localeLowerCase = void 0;
1601
+ var SUPPORTED_LOCALE = {
1602
+ tr: {
1603
+ regexp: /\u0130|\u0049|\u0049\u0307/g,
1604
+ map: {
1605
+ \u0130: "i",
1606
+ I: "\u0131",
1607
+ I\u0307: "i"
1608
+ }
1609
+ },
1610
+ az: {
1611
+ regexp: /\u0130/g,
1612
+ map: {
1613
+ \u0130: "i",
1614
+ I: "\u0131",
1615
+ I\u0307: "i"
1616
+ }
1617
+ },
1618
+ lt: {
1619
+ regexp: /\u0049|\u004A|\u012E|\u00CC|\u00CD|\u0128/g,
1620
+ map: {
1621
+ I: "i\u0307",
1622
+ J: "j\u0307",
1623
+ \u012E: "\u012F\u0307",
1624
+ \u00CC: "i\u0307\u0300",
1625
+ \u00CD: "i\u0307\u0301",
1626
+ \u0128: "i\u0307\u0303"
1627
+ }
1628
+ }
1629
+ };
1630
+ function localeLowerCase(str, locale) {
1631
+ var lang = SUPPORTED_LOCALE[locale.toLowerCase()];
1632
+ if (lang)
1633
+ return lowerCase(str.replace(lang.regexp, function(m) {
1634
+ return lang.map[m];
1635
+ }));
1636
+ return lowerCase(str);
1637
+ }
1638
+ exports.localeLowerCase = localeLowerCase;
1639
+ function lowerCase(str) {
1640
+ return str.toLowerCase();
1641
+ }
1642
+ exports.lowerCase = lowerCase;
1643
+ }
1644
+ });
1645
+
1646
+ // ../../node_modules/change-case-all/node_modules/no-case/dist/index.js
1647
+ var require_dist18 = __commonJS({
1648
+ "../../node_modules/change-case-all/node_modules/no-case/dist/index.js"(exports) {
1649
+ "use strict";
1650
+ Object.defineProperty(exports, "__esModule", { value: true });
1651
+ exports.noCase = void 0;
1652
+ var lower_case_1 = require_dist17();
1653
+ var DEFAULT_SPLIT_REGEXP = [/([a-z0-9])([A-Z])/g, /([A-Z])([A-Z][a-z])/g];
1654
+ var DEFAULT_STRIP_REGEXP = /[^A-Z0-9]+/gi;
1655
+ function noCase(input, options) {
1656
+ if (options === void 0) {
1657
+ options = {};
1658
+ }
1659
+ var _a = options.splitRegexp, splitRegexp = _a === void 0 ? DEFAULT_SPLIT_REGEXP : _a, _b = options.stripRegexp, stripRegexp = _b === void 0 ? DEFAULT_STRIP_REGEXP : _b, _c = options.transform, transform = _c === void 0 ? lower_case_1.lowerCase : _c, _d = options.delimiter, delimiter = _d === void 0 ? " " : _d;
1660
+ var result = replace(replace(input, splitRegexp, "$1\0$2"), stripRegexp, "\0");
1661
+ var start = 0;
1662
+ var end = result.length;
1663
+ while (result.charAt(start) === "\0")
1664
+ start++;
1665
+ while (result.charAt(end - 1) === "\0")
1666
+ end--;
1667
+ return result.slice(start, end).split("\0").map(transform).join(delimiter);
1668
+ }
1669
+ exports.noCase = noCase;
1670
+ function replace(input, re, value) {
1671
+ if (re instanceof RegExp)
1672
+ return input.replace(re, value);
1673
+ return re.reduce(function(input2, re2) {
1674
+ return input2.replace(re2, value);
1675
+ }, input);
1676
+ }
1677
+ }
1678
+ });
1679
+
1680
+ // ../../node_modules/param-case/dist/index.js
1681
+ var require_dist19 = __commonJS({
1682
+ "../../node_modules/param-case/dist/index.js"(exports) {
1683
+ "use strict";
1684
+ Object.defineProperty(exports, "__esModule", { value: true });
1685
+ exports.paramCase = void 0;
1686
+ var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
1687
+ var dot_case_1 = require_dist15();
1688
+ function paramCase(input, options) {
1689
+ if (options === void 0) {
1690
+ options = {};
1691
+ }
1692
+ return dot_case_1.dotCase(input, tslib_1.__assign({ delimiter: "-" }, options));
1693
+ }
1694
+ exports.paramCase = paramCase;
1695
+ }
1696
+ });
1697
+
1698
+ // ../../node_modules/path-case/dist/index.js
1699
+ var require_dist20 = __commonJS({
1700
+ "../../node_modules/path-case/dist/index.js"(exports) {
1701
+ "use strict";
1702
+ Object.defineProperty(exports, "__esModule", { value: true });
1703
+ exports.pathCase = void 0;
1704
+ var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
1705
+ var dot_case_1 = require_dist15();
1706
+ function pathCase(input, options) {
1707
+ if (options === void 0) {
1708
+ options = {};
1709
+ }
1710
+ return dot_case_1.dotCase(input, tslib_1.__assign({ delimiter: "/" }, options));
1711
+ }
1712
+ exports.pathCase = pathCase;
1713
+ }
1714
+ });
1715
+
1716
+ // ../../node_modules/sentence-case/node_modules/lower-case/dist/index.js
1717
+ var require_dist21 = __commonJS({
1718
+ "../../node_modules/sentence-case/node_modules/lower-case/dist/index.js"(exports) {
1719
+ "use strict";
1720
+ Object.defineProperty(exports, "__esModule", { value: true });
1721
+ exports.lowerCase = exports.localeLowerCase = void 0;
1722
+ var SUPPORTED_LOCALE = {
1723
+ tr: {
1724
+ regexp: /\u0130|\u0049|\u0049\u0307/g,
1725
+ map: {
1726
+ \u0130: "i",
1727
+ I: "\u0131",
1728
+ I\u0307: "i"
1729
+ }
1730
+ },
1731
+ az: {
1732
+ regexp: /\u0130/g,
1733
+ map: {
1734
+ \u0130: "i",
1735
+ I: "\u0131",
1736
+ I\u0307: "i"
1737
+ }
1738
+ },
1739
+ lt: {
1740
+ regexp: /\u0049|\u004A|\u012E|\u00CC|\u00CD|\u0128/g,
1741
+ map: {
1742
+ I: "i\u0307",
1743
+ J: "j\u0307",
1744
+ \u012E: "\u012F\u0307",
1745
+ \u00CC: "i\u0307\u0300",
1746
+ \u00CD: "i\u0307\u0301",
1747
+ \u0128: "i\u0307\u0303"
1748
+ }
1749
+ }
1750
+ };
1751
+ function localeLowerCase(str, locale) {
1752
+ var lang = SUPPORTED_LOCALE[locale.toLowerCase()];
1753
+ if (lang)
1754
+ return lowerCase(str.replace(lang.regexp, function(m) {
1755
+ return lang.map[m];
1756
+ }));
1757
+ return lowerCase(str);
1758
+ }
1759
+ exports.localeLowerCase = localeLowerCase;
1760
+ function lowerCase(str) {
1761
+ return str.toLowerCase();
1762
+ }
1763
+ exports.lowerCase = lowerCase;
1764
+ }
1765
+ });
1766
+
1767
+ // ../../node_modules/sentence-case/node_modules/no-case/dist/index.js
1768
+ var require_dist22 = __commonJS({
1769
+ "../../node_modules/sentence-case/node_modules/no-case/dist/index.js"(exports) {
1770
+ "use strict";
1771
+ Object.defineProperty(exports, "__esModule", { value: true });
1772
+ exports.noCase = void 0;
1773
+ var lower_case_1 = require_dist21();
1774
+ var DEFAULT_SPLIT_REGEXP = [/([a-z0-9])([A-Z])/g, /([A-Z])([A-Z][a-z])/g];
1775
+ var DEFAULT_STRIP_REGEXP = /[^A-Z0-9]+/gi;
1776
+ function noCase(input, options) {
1777
+ if (options === void 0) {
1778
+ options = {};
1779
+ }
1780
+ var _a = options.splitRegexp, splitRegexp = _a === void 0 ? DEFAULT_SPLIT_REGEXP : _a, _b = options.stripRegexp, stripRegexp = _b === void 0 ? DEFAULT_STRIP_REGEXP : _b, _c = options.transform, transform = _c === void 0 ? lower_case_1.lowerCase : _c, _d = options.delimiter, delimiter = _d === void 0 ? " " : _d;
1781
+ var result = replace(replace(input, splitRegexp, "$1\0$2"), stripRegexp, "\0");
1782
+ var start = 0;
1783
+ var end = result.length;
1784
+ while (result.charAt(start) === "\0")
1785
+ start++;
1786
+ while (result.charAt(end - 1) === "\0")
1787
+ end--;
1788
+ return result.slice(start, end).split("\0").map(transform).join(delimiter);
1789
+ }
1790
+ exports.noCase = noCase;
1791
+ function replace(input, re, value) {
1792
+ if (re instanceof RegExp)
1793
+ return input.replace(re, value);
1794
+ return re.reduce(function(input2, re2) {
1795
+ return input2.replace(re2, value);
1796
+ }, input);
1797
+ }
1798
+ }
1799
+ });
1800
+
1801
+ // ../../node_modules/sentence-case/dist/index.js
1802
+ var require_dist23 = __commonJS({
1803
+ "../../node_modules/sentence-case/dist/index.js"(exports) {
1804
+ "use strict";
1805
+ Object.defineProperty(exports, "__esModule", { value: true });
1806
+ exports.sentenceCase = exports.sentenceCaseTransform = void 0;
1807
+ var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
1808
+ var no_case_1 = require_dist22();
1809
+ var upper_case_first_1 = require_dist7();
1810
+ function sentenceCaseTransform(input, index) {
1811
+ var result = input.toLowerCase();
1812
+ if (index === 0)
1813
+ return upper_case_first_1.upperCaseFirst(result);
1814
+ return result;
1815
+ }
1816
+ exports.sentenceCaseTransform = sentenceCaseTransform;
1817
+ function sentenceCase2(input, options) {
1818
+ if (options === void 0) {
1819
+ options = {};
1820
+ }
1821
+ return no_case_1.noCase(input, tslib_1.__assign({ delimiter: " ", transform: sentenceCaseTransform }, options));
1822
+ }
1823
+ exports.sentenceCase = sentenceCase2;
1824
+ }
1825
+ });
1826
+
1827
+ // ../../node_modules/snake-case/dist/index.js
1828
+ var require_dist24 = __commonJS({
1829
+ "../../node_modules/snake-case/dist/index.js"(exports) {
1830
+ "use strict";
1831
+ Object.defineProperty(exports, "__esModule", { value: true });
1832
+ exports.snakeCase = void 0;
1833
+ var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
1834
+ var dot_case_1 = require_dist15();
1835
+ function snakeCase(input, options) {
1836
+ if (options === void 0) {
1837
+ options = {};
1838
+ }
1839
+ return dot_case_1.dotCase(input, tslib_1.__assign({ delimiter: "_" }, options));
1840
+ }
1841
+ exports.snakeCase = snakeCase;
1842
+ }
1843
+ });
1844
+
1845
+ // ../../node_modules/change-case-all/node_modules/change-case/dist/index.js
1846
+ var require_dist25 = __commonJS({
1847
+ "../../node_modules/change-case-all/node_modules/change-case/dist/index.js"(exports) {
1848
+ "use strict";
1849
+ Object.defineProperty(exports, "__esModule", { value: true });
1850
+ var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
1851
+ tslib_1.__exportStar(require_dist4(), exports);
1852
+ tslib_1.__exportStar(require_dist8(), exports);
1853
+ tslib_1.__exportStar(require_dist12(), exports);
1854
+ tslib_1.__exportStar(require_dist15(), exports);
1855
+ tslib_1.__exportStar(require_dist16(), exports);
1856
+ tslib_1.__exportStar(require_dist18(), exports);
1857
+ tslib_1.__exportStar(require_dist19(), exports);
1858
+ tslib_1.__exportStar(require_dist3(), exports);
1859
+ tslib_1.__exportStar(require_dist20(), exports);
1860
+ tslib_1.__exportStar(require_dist23(), exports);
1861
+ tslib_1.__exportStar(require_dist24(), exports);
1862
+ }
1863
+ });
1864
+
1865
+ // ../../node_modules/lower-case-first/dist/index.js
1866
+ var require_dist26 = __commonJS({
1867
+ "../../node_modules/lower-case-first/dist/index.js"(exports) {
1868
+ "use strict";
1869
+ Object.defineProperty(exports, "__esModule", { value: true });
1870
+ exports.lowerCaseFirst = void 0;
1871
+ function lowerCaseFirst(input) {
1872
+ return input.charAt(0).toLowerCase() + input.substr(1);
1873
+ }
1874
+ exports.lowerCaseFirst = lowerCaseFirst;
1875
+ }
1876
+ });
1877
+
1878
+ // ../../node_modules/sponge-case/dist/index.js
1879
+ var require_dist27 = __commonJS({
1880
+ "../../node_modules/sponge-case/dist/index.js"(exports) {
1881
+ "use strict";
1882
+ Object.defineProperty(exports, "__esModule", { value: true });
1883
+ exports.spongeCase = void 0;
1884
+ function spongeCase(input) {
1885
+ var result = "";
1886
+ for (var i = 0; i < input.length; i++) {
1887
+ result += Math.random() > 0.5 ? input[i].toUpperCase() : input[i].toLowerCase();
1888
+ }
1889
+ return result;
1890
+ }
1891
+ exports.spongeCase = spongeCase;
1892
+ }
1893
+ });
1894
+
1895
+ // ../../node_modules/swap-case/dist/index.js
1896
+ var require_dist28 = __commonJS({
1897
+ "../../node_modules/swap-case/dist/index.js"(exports) {
1898
+ "use strict";
1899
+ Object.defineProperty(exports, "__esModule", { value: true });
1900
+ exports.swapCase = void 0;
1901
+ function swapCase(input) {
1902
+ var result = "";
1903
+ for (var i = 0; i < input.length; i++) {
1904
+ var lower = input[i].toLowerCase();
1905
+ result += input[i] === lower ? input[i].toUpperCase() : lower;
1906
+ }
1907
+ return result;
1908
+ }
1909
+ exports.swapCase = swapCase;
1910
+ }
1911
+ });
1912
+
1913
+ // ../../node_modules/title-case/dist/index.js
1914
+ var require_dist29 = __commonJS({
1915
+ "../../node_modules/title-case/dist/index.js"(exports) {
1916
+ "use strict";
1917
+ Object.defineProperty(exports, "__esModule", { value: true });
1918
+ exports.titleCase = void 0;
1919
+ var SMALL_WORDS = /\b(?:an?d?|a[st]|because|but|by|en|for|i[fn]|neither|nor|o[fnr]|only|over|per|so|some|tha[tn]|the|to|up|upon|vs?\.?|versus|via|when|with|without|yet)\b/i;
1920
+ var TOKENS = /[^\s:–—-]+|./g;
1921
+ var WHITESPACE = /\s/;
1922
+ var IS_MANUAL_CASE = /.(?=[A-Z]|\..)/;
1923
+ var ALPHANUMERIC_PATTERN = /[A-Za-z0-9\u00C0-\u00FF]/;
1924
+ function titleCase2(input) {
1925
+ var result = "";
1926
+ var m;
1927
+ while ((m = TOKENS.exec(input)) !== null) {
1928
+ var token = m[0], index = m.index;
1929
+ if (
1930
+ // Ignore already capitalized words.
1931
+ !IS_MANUAL_CASE.test(token) && // Ignore small words except at beginning or end.
1932
+ (!SMALL_WORDS.test(token) || index === 0 || index + token.length === input.length) && // Ignore URLs.
1933
+ (input.charAt(index + token.length) !== ":" || WHITESPACE.test(input.charAt(index + token.length + 1)))
1934
+ ) {
1935
+ result += token.replace(ALPHANUMERIC_PATTERN, function(m2) {
1936
+ return m2.toUpperCase();
1937
+ });
1938
+ continue;
1939
+ }
1940
+ result += token;
1941
+ }
1942
+ return result;
1943
+ }
1944
+ exports.titleCase = titleCase2;
1945
+ }
1946
+ });
1947
+
1948
+ // ../../node_modules/change-case-all/node_modules/upper-case/dist/index.js
1949
+ var require_dist30 = __commonJS({
1950
+ "../../node_modules/change-case-all/node_modules/upper-case/dist/index.js"(exports) {
1951
+ "use strict";
1952
+ Object.defineProperty(exports, "__esModule", { value: true });
1953
+ exports.upperCase = exports.localeUpperCase = void 0;
1954
+ var SUPPORTED_LOCALE = {
1955
+ tr: {
1956
+ regexp: /[\u0069]/g,
1957
+ map: {
1958
+ i: "\u0130"
1959
+ }
1960
+ },
1961
+ az: {
1962
+ regexp: /[\u0069]/g,
1963
+ map: {
1964
+ i: "\u0130"
1965
+ }
1966
+ },
1967
+ lt: {
1968
+ regexp: /[\u0069\u006A\u012F]\u0307|\u0069\u0307[\u0300\u0301\u0303]/g,
1969
+ map: {
1970
+ i\u0307: "I",
1971
+ j\u0307: "J",
1972
+ \u012F\u0307: "\u012E",
1973
+ i\u0307\u0300: "\xCC",
1974
+ i\u0307\u0301: "\xCD",
1975
+ i\u0307\u0303: "\u0128"
1976
+ }
1977
+ }
1978
+ };
1979
+ function localeUpperCase(str, locale) {
1980
+ var lang = SUPPORTED_LOCALE[locale.toLowerCase()];
1981
+ if (lang)
1982
+ return upperCase(str.replace(lang.regexp, function(m) {
1983
+ return lang.map[m];
1984
+ }));
1985
+ return upperCase(str);
1986
+ }
1987
+ exports.localeUpperCase = localeUpperCase;
1988
+ function upperCase(str) {
1989
+ return str.toUpperCase();
1990
+ }
1991
+ exports.upperCase = upperCase;
1992
+ }
1993
+ });
1994
+
1995
+ // ../../node_modules/is-upper-case/dist/index.js
1996
+ var require_dist31 = __commonJS({
1997
+ "../../node_modules/is-upper-case/dist/index.js"(exports) {
1998
+ "use strict";
1999
+ Object.defineProperty(exports, "__esModule", { value: true });
2000
+ exports.isUpperCase = void 0;
2001
+ function isUpperCase(input) {
2002
+ return input.toUpperCase() === input && input.toLowerCase() !== input;
2003
+ }
2004
+ exports.isUpperCase = isUpperCase;
2005
+ }
2006
+ });
2007
+
2008
+ // ../../node_modules/is-lower-case/dist/index.js
2009
+ var require_dist32 = __commonJS({
2010
+ "../../node_modules/is-lower-case/dist/index.js"(exports) {
2011
+ "use strict";
2012
+ Object.defineProperty(exports, "__esModule", { value: true });
2013
+ exports.isLowerCase = void 0;
2014
+ function isLowerCase(input) {
2015
+ return input.toLowerCase() === input && input.toUpperCase() !== input;
2016
+ }
2017
+ exports.isLowerCase = isLowerCase;
2018
+ }
2019
+ });
2020
+
2021
+ // ../../node_modules/change-case-all/dist/index.js
2022
+ var require_dist33 = __commonJS({
2023
+ "../../node_modules/change-case-all/dist/index.js"(exports) {
2024
+ "use strict";
2025
+ Object.defineProperty(exports, "__esModule", { value: true });
2026
+ exports.isLowerCase = exports.isUpperCase = exports.upperCaseFirst = exports.localeUpperCase = exports.upperCase = exports.titleCase = exports.swapCase = exports.spongeCase = exports.lowerCaseFirst = exports.localeLowerCase = exports.lowerCase = exports.snakeCase = exports.sentenceCase = exports.pathCase = exports.pascalCase = exports.paramCase = exports.noCase = exports.headerCase = exports.dotCase = exports.constantCase = exports.capitalCase = exports.camelCase = void 0;
2027
+ var changeCase = require_dist25();
2028
+ var lowerCase1 = require_dist17();
2029
+ var lowerCaseFirst1 = require_dist26();
2030
+ var spongeCase1 = require_dist27();
2031
+ var swapCase1 = require_dist28();
2032
+ var titleCase1 = require_dist29();
2033
+ var upperCase1 = require_dist30();
2034
+ var upperCaseFirst1 = require_dist7();
2035
+ var isUpperCase1 = require_dist31();
2036
+ var isLowerCase1 = require_dist32();
2037
+ exports.camelCase = changeCase.camelCase;
2038
+ exports.capitalCase = changeCase.capitalCase;
2039
+ exports.constantCase = changeCase.constantCase;
2040
+ exports.dotCase = changeCase.dotCase;
2041
+ exports.headerCase = changeCase.headerCase;
2042
+ exports.noCase = changeCase.noCase;
2043
+ exports.paramCase = changeCase.paramCase;
2044
+ exports.pascalCase = changeCase.pascalCase;
2045
+ exports.pathCase = changeCase.pathCase;
2046
+ exports.sentenceCase = changeCase.sentenceCase;
2047
+ exports.snakeCase = changeCase.snakeCase;
2048
+ exports.lowerCase = lowerCase1.lowerCase;
2049
+ exports.localeLowerCase = lowerCase1.localeLowerCase;
2050
+ exports.lowerCaseFirst = lowerCaseFirst1.lowerCaseFirst;
2051
+ exports.spongeCase = spongeCase1.spongeCase;
2052
+ exports.swapCase = swapCase1.swapCase;
2053
+ exports.titleCase = titleCase1.titleCase;
2054
+ exports.upperCase = upperCase1.upperCase;
2055
+ exports.localeUpperCase = upperCase1.localeUpperCase;
2056
+ exports.upperCaseFirst = upperCaseFirst1.upperCaseFirst;
2057
+ exports.isUpperCase = isUpperCase1.isUpperCase;
2058
+ exports.isLowerCase = isLowerCase1.isLowerCase;
2059
+ }
2060
+ });
2061
+
2062
+ // ../../node_modules/react/cjs/react.production.min.js
2063
+ var require_react_production_min = __commonJS({
2064
+ "../../node_modules/react/cjs/react.production.min.js"(exports) {
2065
+ "use strict";
2066
+ var l = Symbol.for("react.element");
2067
+ var n = Symbol.for("react.portal");
2068
+ var p = Symbol.for("react.fragment");
2069
+ var q = Symbol.for("react.strict_mode");
2070
+ var r = Symbol.for("react.profiler");
2071
+ var t = Symbol.for("react.provider");
2072
+ var u = Symbol.for("react.context");
2073
+ var v = Symbol.for("react.forward_ref");
2074
+ var w = Symbol.for("react.suspense");
2075
+ var x = Symbol.for("react.memo");
2076
+ var y = Symbol.for("react.lazy");
2077
+ var z = Symbol.iterator;
2078
+ function A(a) {
2079
+ if (null === a || "object" !== typeof a)
2080
+ return null;
2081
+ a = z && a[z] || a["@@iterator"];
2082
+ return "function" === typeof a ? a : null;
2083
+ }
2084
+ var B = { isMounted: function() {
2085
+ return false;
2086
+ }, enqueueForceUpdate: function() {
2087
+ }, enqueueReplaceState: function() {
2088
+ }, enqueueSetState: function() {
2089
+ } };
2090
+ var C = Object.assign;
2091
+ var D = {};
2092
+ function E(a, b, e) {
2093
+ this.props = a;
2094
+ this.context = b;
2095
+ this.refs = D;
2096
+ this.updater = e || B;
2097
+ }
2098
+ E.prototype.isReactComponent = {};
2099
+ E.prototype.setState = function(a, b) {
2100
+ if ("object" !== typeof a && "function" !== typeof a && null != a)
2101
+ throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
2102
+ this.updater.enqueueSetState(this, a, b, "setState");
2103
+ };
2104
+ E.prototype.forceUpdate = function(a) {
2105
+ this.updater.enqueueForceUpdate(this, a, "forceUpdate");
2106
+ };
2107
+ function F() {
2108
+ }
2109
+ F.prototype = E.prototype;
2110
+ function G(a, b, e) {
2111
+ this.props = a;
2112
+ this.context = b;
2113
+ this.refs = D;
2114
+ this.updater = e || B;
2115
+ }
2116
+ var H = G.prototype = new F();
2117
+ H.constructor = G;
2118
+ C(H, E.prototype);
2119
+ H.isPureReactComponent = true;
2120
+ var I = Array.isArray;
2121
+ var J = Object.prototype.hasOwnProperty;
2122
+ var K = { current: null };
2123
+ var L = { key: true, ref: true, __self: true, __source: true };
2124
+ function M(a, b, e) {
2125
+ var d, c = {}, k = null, h = null;
2126
+ if (null != b)
2127
+ for (d in void 0 !== b.ref && (h = b.ref), void 0 !== b.key && (k = "" + b.key), b)
2128
+ J.call(b, d) && !L.hasOwnProperty(d) && (c[d] = b[d]);
2129
+ var g = arguments.length - 2;
2130
+ if (1 === g)
2131
+ c.children = e;
2132
+ else if (1 < g) {
2133
+ for (var f = Array(g), m = 0; m < g; m++)
2134
+ f[m] = arguments[m + 2];
2135
+ c.children = f;
2136
+ }
2137
+ if (a && a.defaultProps)
2138
+ for (d in g = a.defaultProps, g)
2139
+ void 0 === c[d] && (c[d] = g[d]);
2140
+ return { $$typeof: l, type: a, key: k, ref: h, props: c, _owner: K.current };
2141
+ }
2142
+ function N(a, b) {
2143
+ return { $$typeof: l, type: a.type, key: b, ref: a.ref, props: a.props, _owner: a._owner };
2144
+ }
2145
+ function O(a) {
2146
+ return "object" === typeof a && null !== a && a.$$typeof === l;
2147
+ }
2148
+ function escape2(a) {
2149
+ var b = { "=": "=0", ":": "=2" };
2150
+ return "$" + a.replace(/[=:]/g, function(a2) {
2151
+ return b[a2];
2152
+ });
2153
+ }
2154
+ var P = /\/+/g;
2155
+ function Q(a, b) {
2156
+ return "object" === typeof a && null !== a && null != a.key ? escape2("" + a.key) : b.toString(36);
2157
+ }
2158
+ function R(a, b, e, d, c) {
2159
+ var k = typeof a;
2160
+ if ("undefined" === k || "boolean" === k)
2161
+ a = null;
2162
+ var h = false;
2163
+ if (null === a)
2164
+ h = true;
2165
+ else
2166
+ switch (k) {
2167
+ case "string":
2168
+ case "number":
2169
+ h = true;
2170
+ break;
2171
+ case "object":
2172
+ switch (a.$$typeof) {
2173
+ case l:
2174
+ case n:
2175
+ h = true;
2176
+ }
2177
+ }
2178
+ if (h)
2179
+ return h = a, c = c(h), a = "" === d ? "." + Q(h, 0) : d, I(c) ? (e = "", null != a && (e = a.replace(P, "$&/") + "/"), R(c, b, e, "", function(a2) {
2180
+ return a2;
2181
+ })) : null != c && (O(c) && (c = N(c, e + (!c.key || h && h.key === c.key ? "" : ("" + c.key).replace(P, "$&/") + "/") + a)), b.push(c)), 1;
2182
+ h = 0;
2183
+ d = "" === d ? "." : d + ":";
2184
+ if (I(a))
2185
+ for (var g = 0; g < a.length; g++) {
2186
+ k = a[g];
2187
+ var f = d + Q(k, g);
2188
+ h += R(k, b, e, f, c);
2189
+ }
2190
+ else if (f = A(a), "function" === typeof f)
2191
+ for (a = f.call(a), g = 0; !(k = a.next()).done; )
2192
+ k = k.value, f = d + Q(k, g++), h += R(k, b, e, f, c);
2193
+ else if ("object" === k)
2194
+ throw b = String(a), Error("Objects are not valid as a React child (found: " + ("[object Object]" === b ? "object with keys {" + Object.keys(a).join(", ") + "}" : b) + "). If you meant to render a collection of children, use an array instead.");
2195
+ return h;
2196
+ }
2197
+ function S(a, b, e) {
2198
+ if (null == a)
2199
+ return a;
2200
+ var d = [], c = 0;
2201
+ R(a, d, "", "", function(a2) {
2202
+ return b.call(e, a2, c++);
2203
+ });
2204
+ return d;
2205
+ }
2206
+ function T(a) {
2207
+ if (-1 === a._status) {
2208
+ var b = a._result;
2209
+ b = b();
2210
+ b.then(function(b2) {
2211
+ if (0 === a._status || -1 === a._status)
2212
+ a._status = 1, a._result = b2;
2213
+ }, function(b2) {
2214
+ if (0 === a._status || -1 === a._status)
2215
+ a._status = 2, a._result = b2;
2216
+ });
2217
+ -1 === a._status && (a._status = 0, a._result = b);
2218
+ }
2219
+ if (1 === a._status)
2220
+ return a._result.default;
2221
+ throw a._result;
2222
+ }
2223
+ var U = { current: null };
2224
+ var V = { transition: null };
2225
+ var W = { ReactCurrentDispatcher: U, ReactCurrentBatchConfig: V, ReactCurrentOwner: K };
2226
+ exports.Children = { map: S, forEach: function(a, b, e) {
2227
+ S(a, function() {
2228
+ b.apply(this, arguments);
2229
+ }, e);
2230
+ }, count: function(a) {
2231
+ var b = 0;
2232
+ S(a, function() {
2233
+ b++;
2234
+ });
2235
+ return b;
2236
+ }, toArray: function(a) {
2237
+ return S(a, function(a2) {
2238
+ return a2;
2239
+ }) || [];
2240
+ }, only: function(a) {
2241
+ if (!O(a))
2242
+ throw Error("React.Children.only expected to receive a single React element child.");
2243
+ return a;
2244
+ } };
2245
+ exports.Component = E;
2246
+ exports.Fragment = p;
2247
+ exports.Profiler = r;
2248
+ exports.PureComponent = G;
2249
+ exports.StrictMode = q;
2250
+ exports.Suspense = w;
2251
+ exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = W;
2252
+ exports.cloneElement = function(a, b, e) {
2253
+ if (null === a || void 0 === a)
2254
+ throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + a + ".");
2255
+ var d = C({}, a.props), c = a.key, k = a.ref, h = a._owner;
2256
+ if (null != b) {
2257
+ void 0 !== b.ref && (k = b.ref, h = K.current);
2258
+ void 0 !== b.key && (c = "" + b.key);
2259
+ if (a.type && a.type.defaultProps)
2260
+ var g = a.type.defaultProps;
2261
+ for (f in b)
2262
+ J.call(b, f) && !L.hasOwnProperty(f) && (d[f] = void 0 === b[f] && void 0 !== g ? g[f] : b[f]);
2263
+ }
2264
+ var f = arguments.length - 2;
2265
+ if (1 === f)
2266
+ d.children = e;
2267
+ else if (1 < f) {
2268
+ g = Array(f);
2269
+ for (var m = 0; m < f; m++)
2270
+ g[m] = arguments[m + 2];
2271
+ d.children = g;
2272
+ }
2273
+ return { $$typeof: l, type: a.type, key: c, ref: k, props: d, _owner: h };
2274
+ };
2275
+ exports.createContext = function(a) {
2276
+ a = { $$typeof: u, _currentValue: a, _currentValue2: a, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null };
2277
+ a.Provider = { $$typeof: t, _context: a };
2278
+ return a.Consumer = a;
2279
+ };
2280
+ exports.createElement = M;
2281
+ exports.createFactory = function(a) {
2282
+ var b = M.bind(null, a);
2283
+ b.type = a;
2284
+ return b;
2285
+ };
2286
+ exports.createRef = function() {
2287
+ return { current: null };
2288
+ };
2289
+ exports.forwardRef = function(a) {
2290
+ return { $$typeof: v, render: a };
2291
+ };
2292
+ exports.isValidElement = O;
2293
+ exports.lazy = function(a) {
2294
+ return { $$typeof: y, _payload: { _status: -1, _result: a }, _init: T };
2295
+ };
2296
+ exports.memo = function(a, b) {
2297
+ return { $$typeof: x, type: a, compare: void 0 === b ? null : b };
2298
+ };
2299
+ exports.startTransition = function(a) {
2300
+ var b = V.transition;
2301
+ V.transition = {};
2302
+ try {
2303
+ a();
2304
+ } finally {
2305
+ V.transition = b;
2306
+ }
2307
+ };
2308
+ exports.unstable_act = function() {
2309
+ throw Error("act(...) is not supported in production builds of React.");
2310
+ };
2311
+ exports.useCallback = function(a, b) {
2312
+ return U.current.useCallback(a, b);
2313
+ };
2314
+ exports.useContext = function(a) {
2315
+ return U.current.useContext(a);
2316
+ };
2317
+ exports.useDebugValue = function() {
2318
+ };
2319
+ exports.useDeferredValue = function(a) {
2320
+ return U.current.useDeferredValue(a);
2321
+ };
2322
+ exports.useEffect = function(a, b) {
2323
+ return U.current.useEffect(a, b);
2324
+ };
2325
+ exports.useId = function() {
2326
+ return U.current.useId();
2327
+ };
2328
+ exports.useImperativeHandle = function(a, b, e) {
2329
+ return U.current.useImperativeHandle(a, b, e);
2330
+ };
2331
+ exports.useInsertionEffect = function(a, b) {
2332
+ return U.current.useInsertionEffect(a, b);
2333
+ };
2334
+ exports.useLayoutEffect = function(a, b) {
2335
+ return U.current.useLayoutEffect(a, b);
2336
+ };
2337
+ exports.useMemo = function(a, b) {
2338
+ return U.current.useMemo(a, b);
2339
+ };
2340
+ exports.useReducer = function(a, b, e) {
2341
+ return U.current.useReducer(a, b, e);
2342
+ };
2343
+ exports.useRef = function(a) {
2344
+ return U.current.useRef(a);
2345
+ };
2346
+ exports.useState = function(a) {
2347
+ return U.current.useState(a);
2348
+ };
2349
+ exports.useSyncExternalStore = function(a, b, e) {
2350
+ return U.current.useSyncExternalStore(a, b, e);
2351
+ };
2352
+ exports.useTransition = function() {
2353
+ return U.current.useTransition();
2354
+ };
2355
+ exports.version = "18.2.0";
2356
+ }
2357
+ });
2358
+
2359
+ // ../../node_modules/react/cjs/react.development.js
2360
+ var require_react_development = __commonJS({
2361
+ "../../node_modules/react/cjs/react.development.js"(exports, module2) {
2362
+ "use strict";
2363
+ if (process.env.NODE_ENV !== "production") {
2364
+ (function() {
2365
+ "use strict";
2366
+ if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") {
2367
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
2368
+ }
2369
+ var ReactVersion = "18.2.0";
2370
+ var REACT_ELEMENT_TYPE = Symbol.for("react.element");
2371
+ var REACT_PORTAL_TYPE = Symbol.for("react.portal");
2372
+ var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
2373
+ var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
2374
+ var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
2375
+ var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
2376
+ var REACT_CONTEXT_TYPE = Symbol.for("react.context");
2377
+ var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
2378
+ var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
2379
+ var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
2380
+ var REACT_MEMO_TYPE = Symbol.for("react.memo");
2381
+ var REACT_LAZY_TYPE = Symbol.for("react.lazy");
2382
+ var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
2383
+ var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
2384
+ var FAUX_ITERATOR_SYMBOL = "@@iterator";
2385
+ function getIteratorFn(maybeIterable) {
2386
+ if (maybeIterable === null || typeof maybeIterable !== "object") {
2387
+ return null;
2388
+ }
2389
+ var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
2390
+ if (typeof maybeIterator === "function") {
2391
+ return maybeIterator;
2392
+ }
2393
+ return null;
2394
+ }
2395
+ var ReactCurrentDispatcher = {
2396
+ /**
2397
+ * @internal
2398
+ * @type {ReactComponent}
2399
+ */
2400
+ current: null
2401
+ };
2402
+ var ReactCurrentBatchConfig = {
2403
+ transition: null
2404
+ };
2405
+ var ReactCurrentActQueue = {
2406
+ current: null,
2407
+ // Used to reproduce behavior of `batchedUpdates` in legacy mode.
2408
+ isBatchingLegacy: false,
2409
+ didScheduleLegacyUpdate: false
2410
+ };
2411
+ var ReactCurrentOwner = {
2412
+ /**
2413
+ * @internal
2414
+ * @type {ReactComponent}
2415
+ */
2416
+ current: null
2417
+ };
2418
+ var ReactDebugCurrentFrame = {};
2419
+ var currentExtraStackFrame = null;
2420
+ function setExtraStackFrame(stack) {
2421
+ {
2422
+ currentExtraStackFrame = stack;
2423
+ }
2424
+ }
2425
+ {
2426
+ ReactDebugCurrentFrame.setExtraStackFrame = function(stack) {
2427
+ {
2428
+ currentExtraStackFrame = stack;
2429
+ }
2430
+ };
2431
+ ReactDebugCurrentFrame.getCurrentStack = null;
2432
+ ReactDebugCurrentFrame.getStackAddendum = function() {
2433
+ var stack = "";
2434
+ if (currentExtraStackFrame) {
2435
+ stack += currentExtraStackFrame;
2436
+ }
2437
+ var impl = ReactDebugCurrentFrame.getCurrentStack;
2438
+ if (impl) {
2439
+ stack += impl() || "";
2440
+ }
2441
+ return stack;
2442
+ };
2443
+ }
2444
+ var enableScopeAPI = false;
2445
+ var enableCacheElement = false;
2446
+ var enableTransitionTracing = false;
2447
+ var enableLegacyHidden = false;
2448
+ var enableDebugTracing = false;
2449
+ var ReactSharedInternals = {
2450
+ ReactCurrentDispatcher,
2451
+ ReactCurrentBatchConfig,
2452
+ ReactCurrentOwner
2453
+ };
2454
+ {
2455
+ ReactSharedInternals.ReactDebugCurrentFrame = ReactDebugCurrentFrame;
2456
+ ReactSharedInternals.ReactCurrentActQueue = ReactCurrentActQueue;
2457
+ }
2458
+ function warn(format) {
2459
+ {
2460
+ {
2461
+ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
2462
+ args[_key - 1] = arguments[_key];
2463
+ }
2464
+ printWarning("warn", format, args);
2465
+ }
2466
+ }
2467
+ }
2468
+ function error(format) {
2469
+ {
2470
+ {
2471
+ for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
2472
+ args[_key2 - 1] = arguments[_key2];
2473
+ }
2474
+ printWarning("error", format, args);
2475
+ }
2476
+ }
2477
+ }
2478
+ function printWarning(level, format, args) {
2479
+ {
2480
+ var ReactDebugCurrentFrame2 = ReactSharedInternals.ReactDebugCurrentFrame;
2481
+ var stack = ReactDebugCurrentFrame2.getStackAddendum();
2482
+ if (stack !== "") {
2483
+ format += "%s";
2484
+ args = args.concat([stack]);
2485
+ }
2486
+ var argsWithFormat = args.map(function(item) {
2487
+ return String(item);
2488
+ });
2489
+ argsWithFormat.unshift("Warning: " + format);
2490
+ Function.prototype.apply.call(console[level], console, argsWithFormat);
2491
+ }
2492
+ }
2493
+ var didWarnStateUpdateForUnmountedComponent = {};
2494
+ function warnNoop(publicInstance, callerName) {
2495
+ {
2496
+ var _constructor = publicInstance.constructor;
2497
+ var componentName = _constructor && (_constructor.displayName || _constructor.name) || "ReactClass";
2498
+ var warningKey = componentName + "." + callerName;
2499
+ if (didWarnStateUpdateForUnmountedComponent[warningKey]) {
2500
+ return;
2501
+ }
2502
+ error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", callerName, componentName);
2503
+ didWarnStateUpdateForUnmountedComponent[warningKey] = true;
2504
+ }
2505
+ }
2506
+ var ReactNoopUpdateQueue = {
2507
+ /**
2508
+ * Checks whether or not this composite component is mounted.
2509
+ * @param {ReactClass} publicInstance The instance we want to test.
2510
+ * @return {boolean} True if mounted, false otherwise.
2511
+ * @protected
2512
+ * @final
2513
+ */
2514
+ isMounted: function(publicInstance) {
2515
+ return false;
2516
+ },
2517
+ /**
2518
+ * Forces an update. This should only be invoked when it is known with
2519
+ * certainty that we are **not** in a DOM transaction.
2520
+ *
2521
+ * You may want to call this when you know that some deeper aspect of the
2522
+ * component's state has changed but `setState` was not called.
2523
+ *
2524
+ * This will not invoke `shouldComponentUpdate`, but it will invoke
2525
+ * `componentWillUpdate` and `componentDidUpdate`.
2526
+ *
2527
+ * @param {ReactClass} publicInstance The instance that should rerender.
2528
+ * @param {?function} callback Called after component is updated.
2529
+ * @param {?string} callerName name of the calling function in the public API.
2530
+ * @internal
2531
+ */
2532
+ enqueueForceUpdate: function(publicInstance, callback, callerName) {
2533
+ warnNoop(publicInstance, "forceUpdate");
2534
+ },
2535
+ /**
2536
+ * Replaces all of the state. Always use this or `setState` to mutate state.
2537
+ * You should treat `this.state` as immutable.
2538
+ *
2539
+ * There is no guarantee that `this.state` will be immediately updated, so
2540
+ * accessing `this.state` after calling this method may return the old value.
2541
+ *
2542
+ * @param {ReactClass} publicInstance The instance that should rerender.
2543
+ * @param {object} completeState Next state.
2544
+ * @param {?function} callback Called after component is updated.
2545
+ * @param {?string} callerName name of the calling function in the public API.
2546
+ * @internal
2547
+ */
2548
+ enqueueReplaceState: function(publicInstance, completeState, callback, callerName) {
2549
+ warnNoop(publicInstance, "replaceState");
2550
+ },
2551
+ /**
2552
+ * Sets a subset of the state. This only exists because _pendingState is
2553
+ * internal. This provides a merging strategy that is not available to deep
2554
+ * properties which is confusing. TODO: Expose pendingState or don't use it
2555
+ * during the merge.
2556
+ *
2557
+ * @param {ReactClass} publicInstance The instance that should rerender.
2558
+ * @param {object} partialState Next partial state to be merged with state.
2559
+ * @param {?function} callback Called after component is updated.
2560
+ * @param {?string} Name of the calling function in the public API.
2561
+ * @internal
2562
+ */
2563
+ enqueueSetState: function(publicInstance, partialState, callback, callerName) {
2564
+ warnNoop(publicInstance, "setState");
2565
+ }
2566
+ };
2567
+ var assign = Object.assign;
2568
+ var emptyObject = {};
2569
+ {
2570
+ Object.freeze(emptyObject);
2571
+ }
2572
+ function Component(props, context, updater) {
2573
+ this.props = props;
2574
+ this.context = context;
2575
+ this.refs = emptyObject;
2576
+ this.updater = updater || ReactNoopUpdateQueue;
2577
+ }
2578
+ Component.prototype.isReactComponent = {};
2579
+ Component.prototype.setState = function(partialState, callback) {
2580
+ if (typeof partialState !== "object" && typeof partialState !== "function" && partialState != null) {
2581
+ throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
2582
+ }
2583
+ this.updater.enqueueSetState(this, partialState, callback, "setState");
2584
+ };
2585
+ Component.prototype.forceUpdate = function(callback) {
2586
+ this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
2587
+ };
2588
+ {
2589
+ var deprecatedAPIs = {
2590
+ isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],
2591
+ replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
2592
+ };
2593
+ var defineDeprecationWarning = function(methodName, info) {
2594
+ Object.defineProperty(Component.prototype, methodName, {
2595
+ get: function() {
2596
+ warn("%s(...) is deprecated in plain JavaScript React classes. %s", info[0], info[1]);
2597
+ return void 0;
2598
+ }
2599
+ });
2600
+ };
2601
+ for (var fnName in deprecatedAPIs) {
2602
+ if (deprecatedAPIs.hasOwnProperty(fnName)) {
2603
+ defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
2604
+ }
2605
+ }
2606
+ }
2607
+ function ComponentDummy() {
2608
+ }
2609
+ ComponentDummy.prototype = Component.prototype;
2610
+ function PureComponent(props, context, updater) {
2611
+ this.props = props;
2612
+ this.context = context;
2613
+ this.refs = emptyObject;
2614
+ this.updater = updater || ReactNoopUpdateQueue;
2615
+ }
2616
+ var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
2617
+ pureComponentPrototype.constructor = PureComponent;
2618
+ assign(pureComponentPrototype, Component.prototype);
2619
+ pureComponentPrototype.isPureReactComponent = true;
2620
+ function createRef() {
2621
+ var refObject = {
2622
+ current: null
2623
+ };
2624
+ {
2625
+ Object.seal(refObject);
2626
+ }
2627
+ return refObject;
2628
+ }
2629
+ var isArrayImpl = Array.isArray;
2630
+ function isArray(a) {
2631
+ return isArrayImpl(a);
2632
+ }
2633
+ function typeName(value) {
2634
+ {
2635
+ var hasToStringTag = typeof Symbol === "function" && Symbol.toStringTag;
2636
+ var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
2637
+ return type;
2638
+ }
2639
+ }
2640
+ function willCoercionThrow(value) {
2641
+ {
2642
+ try {
2643
+ testStringCoercion(value);
2644
+ return false;
2645
+ } catch (e) {
2646
+ return true;
2647
+ }
2648
+ }
2649
+ }
2650
+ function testStringCoercion(value) {
2651
+ return "" + value;
2652
+ }
2653
+ function checkKeyStringCoercion(value) {
2654
+ {
2655
+ if (willCoercionThrow(value)) {
2656
+ error("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", typeName(value));
2657
+ return testStringCoercion(value);
2658
+ }
2659
+ }
2660
+ }
2661
+ function getWrappedName(outerType, innerType, wrapperName) {
2662
+ var displayName = outerType.displayName;
2663
+ if (displayName) {
2664
+ return displayName;
2665
+ }
2666
+ var functionName = innerType.displayName || innerType.name || "";
2667
+ return functionName !== "" ? wrapperName + "(" + functionName + ")" : wrapperName;
2668
+ }
2669
+ function getContextName(type) {
2670
+ return type.displayName || "Context";
2671
+ }
2672
+ function getComponentNameFromType(type) {
2673
+ if (type == null) {
2674
+ return null;
2675
+ }
2676
+ {
2677
+ if (typeof type.tag === "number") {
2678
+ error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.");
2679
+ }
2680
+ }
2681
+ if (typeof type === "function") {
2682
+ return type.displayName || type.name || null;
2683
+ }
2684
+ if (typeof type === "string") {
2685
+ return type;
2686
+ }
2687
+ switch (type) {
2688
+ case REACT_FRAGMENT_TYPE:
2689
+ return "Fragment";
2690
+ case REACT_PORTAL_TYPE:
2691
+ return "Portal";
2692
+ case REACT_PROFILER_TYPE:
2693
+ return "Profiler";
2694
+ case REACT_STRICT_MODE_TYPE:
2695
+ return "StrictMode";
2696
+ case REACT_SUSPENSE_TYPE:
2697
+ return "Suspense";
2698
+ case REACT_SUSPENSE_LIST_TYPE:
2699
+ return "SuspenseList";
2700
+ }
2701
+ if (typeof type === "object") {
2702
+ switch (type.$$typeof) {
2703
+ case REACT_CONTEXT_TYPE:
2704
+ var context = type;
2705
+ return getContextName(context) + ".Consumer";
2706
+ case REACT_PROVIDER_TYPE:
2707
+ var provider = type;
2708
+ return getContextName(provider._context) + ".Provider";
2709
+ case REACT_FORWARD_REF_TYPE:
2710
+ return getWrappedName(type, type.render, "ForwardRef");
2711
+ case REACT_MEMO_TYPE:
2712
+ var outerName = type.displayName || null;
2713
+ if (outerName !== null) {
2714
+ return outerName;
2715
+ }
2716
+ return getComponentNameFromType(type.type) || "Memo";
2717
+ case REACT_LAZY_TYPE: {
2718
+ var lazyComponent = type;
2719
+ var payload = lazyComponent._payload;
2720
+ var init = lazyComponent._init;
2721
+ try {
2722
+ return getComponentNameFromType(init(payload));
2723
+ } catch (x) {
2724
+ return null;
2725
+ }
2726
+ }
2727
+ }
2728
+ }
2729
+ return null;
2730
+ }
2731
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
2732
+ var RESERVED_PROPS = {
2733
+ key: true,
2734
+ ref: true,
2735
+ __self: true,
2736
+ __source: true
2737
+ };
2738
+ var specialPropKeyWarningShown, specialPropRefWarningShown, didWarnAboutStringRefs;
2739
+ {
2740
+ didWarnAboutStringRefs = {};
2741
+ }
2742
+ function hasValidRef(config) {
2743
+ {
2744
+ if (hasOwnProperty.call(config, "ref")) {
2745
+ var getter = Object.getOwnPropertyDescriptor(config, "ref").get;
2746
+ if (getter && getter.isReactWarning) {
2747
+ return false;
2748
+ }
2749
+ }
2750
+ }
2751
+ return config.ref !== void 0;
2752
+ }
2753
+ function hasValidKey(config) {
2754
+ {
2755
+ if (hasOwnProperty.call(config, "key")) {
2756
+ var getter = Object.getOwnPropertyDescriptor(config, "key").get;
2757
+ if (getter && getter.isReactWarning) {
2758
+ return false;
2759
+ }
2760
+ }
2761
+ }
2762
+ return config.key !== void 0;
2763
+ }
2764
+ function defineKeyPropWarningGetter(props, displayName) {
2765
+ var warnAboutAccessingKey = function() {
2766
+ {
2767
+ if (!specialPropKeyWarningShown) {
2768
+ specialPropKeyWarningShown = true;
2769
+ error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", displayName);
2770
+ }
2771
+ }
2772
+ };
2773
+ warnAboutAccessingKey.isReactWarning = true;
2774
+ Object.defineProperty(props, "key", {
2775
+ get: warnAboutAccessingKey,
2776
+ configurable: true
2777
+ });
2778
+ }
2779
+ function defineRefPropWarningGetter(props, displayName) {
2780
+ var warnAboutAccessingRef = function() {
2781
+ {
2782
+ if (!specialPropRefWarningShown) {
2783
+ specialPropRefWarningShown = true;
2784
+ error("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", displayName);
2785
+ }
2786
+ }
2787
+ };
2788
+ warnAboutAccessingRef.isReactWarning = true;
2789
+ Object.defineProperty(props, "ref", {
2790
+ get: warnAboutAccessingRef,
2791
+ configurable: true
2792
+ });
2793
+ }
2794
+ function warnIfStringRefCannotBeAutoConverted(config) {
2795
+ {
2796
+ if (typeof config.ref === "string" && ReactCurrentOwner.current && config.__self && ReactCurrentOwner.current.stateNode !== config.__self) {
2797
+ var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);
2798
+ if (!didWarnAboutStringRefs[componentName]) {
2799
+ error('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', componentName, config.ref);
2800
+ didWarnAboutStringRefs[componentName] = true;
2801
+ }
2802
+ }
2803
+ }
2804
+ }
2805
+ var ReactElement = function(type, key, ref, self2, source, owner, props) {
2806
+ var element = {
2807
+ // This tag allows us to uniquely identify this as a React Element
2808
+ $$typeof: REACT_ELEMENT_TYPE,
2809
+ // Built-in properties that belong on the element
2810
+ type,
2811
+ key,
2812
+ ref,
2813
+ props,
2814
+ // Record the component responsible for creating this element.
2815
+ _owner: owner
2816
+ };
2817
+ {
2818
+ element._store = {};
2819
+ Object.defineProperty(element._store, "validated", {
2820
+ configurable: false,
2821
+ enumerable: false,
2822
+ writable: true,
2823
+ value: false
2824
+ });
2825
+ Object.defineProperty(element, "_self", {
2826
+ configurable: false,
2827
+ enumerable: false,
2828
+ writable: false,
2829
+ value: self2
2830
+ });
2831
+ Object.defineProperty(element, "_source", {
2832
+ configurable: false,
2833
+ enumerable: false,
2834
+ writable: false,
2835
+ value: source
2836
+ });
2837
+ if (Object.freeze) {
2838
+ Object.freeze(element.props);
2839
+ Object.freeze(element);
2840
+ }
2841
+ }
2842
+ return element;
2843
+ };
2844
+ function createElement(type, config, children) {
2845
+ var propName;
2846
+ var props = {};
2847
+ var key = null;
2848
+ var ref = null;
2849
+ var self2 = null;
2850
+ var source = null;
2851
+ if (config != null) {
2852
+ if (hasValidRef(config)) {
2853
+ ref = config.ref;
2854
+ {
2855
+ warnIfStringRefCannotBeAutoConverted(config);
2856
+ }
2857
+ }
2858
+ if (hasValidKey(config)) {
2859
+ {
2860
+ checkKeyStringCoercion(config.key);
2861
+ }
2862
+ key = "" + config.key;
2863
+ }
2864
+ self2 = config.__self === void 0 ? null : config.__self;
2865
+ source = config.__source === void 0 ? null : config.__source;
2866
+ for (propName in config) {
2867
+ if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
2868
+ props[propName] = config[propName];
2869
+ }
2870
+ }
2871
+ }
2872
+ var childrenLength = arguments.length - 2;
2873
+ if (childrenLength === 1) {
2874
+ props.children = children;
2875
+ } else if (childrenLength > 1) {
2876
+ var childArray = Array(childrenLength);
2877
+ for (var i = 0; i < childrenLength; i++) {
2878
+ childArray[i] = arguments[i + 2];
2879
+ }
2880
+ {
2881
+ if (Object.freeze) {
2882
+ Object.freeze(childArray);
2883
+ }
2884
+ }
2885
+ props.children = childArray;
2886
+ }
2887
+ if (type && type.defaultProps) {
2888
+ var defaultProps = type.defaultProps;
2889
+ for (propName in defaultProps) {
2890
+ if (props[propName] === void 0) {
2891
+ props[propName] = defaultProps[propName];
2892
+ }
2893
+ }
2894
+ }
2895
+ {
2896
+ if (key || ref) {
2897
+ var displayName = typeof type === "function" ? type.displayName || type.name || "Unknown" : type;
2898
+ if (key) {
2899
+ defineKeyPropWarningGetter(props, displayName);
2900
+ }
2901
+ if (ref) {
2902
+ defineRefPropWarningGetter(props, displayName);
2903
+ }
2904
+ }
2905
+ }
2906
+ return ReactElement(type, key, ref, self2, source, ReactCurrentOwner.current, props);
2907
+ }
2908
+ function cloneAndReplaceKey(oldElement, newKey) {
2909
+ var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props);
2910
+ return newElement;
2911
+ }
2912
+ function cloneElement(element, config, children) {
2913
+ if (element === null || element === void 0) {
2914
+ throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + element + ".");
2915
+ }
2916
+ var propName;
2917
+ var props = assign({}, element.props);
2918
+ var key = element.key;
2919
+ var ref = element.ref;
2920
+ var self2 = element._self;
2921
+ var source = element._source;
2922
+ var owner = element._owner;
2923
+ if (config != null) {
2924
+ if (hasValidRef(config)) {
2925
+ ref = config.ref;
2926
+ owner = ReactCurrentOwner.current;
2927
+ }
2928
+ if (hasValidKey(config)) {
2929
+ {
2930
+ checkKeyStringCoercion(config.key);
2931
+ }
2932
+ key = "" + config.key;
2933
+ }
2934
+ var defaultProps;
2935
+ if (element.type && element.type.defaultProps) {
2936
+ defaultProps = element.type.defaultProps;
2937
+ }
2938
+ for (propName in config) {
2939
+ if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {
2940
+ if (config[propName] === void 0 && defaultProps !== void 0) {
2941
+ props[propName] = defaultProps[propName];
2942
+ } else {
2943
+ props[propName] = config[propName];
2944
+ }
2945
+ }
2946
+ }
2947
+ }
2948
+ var childrenLength = arguments.length - 2;
2949
+ if (childrenLength === 1) {
2950
+ props.children = children;
2951
+ } else if (childrenLength > 1) {
2952
+ var childArray = Array(childrenLength);
2953
+ for (var i = 0; i < childrenLength; i++) {
2954
+ childArray[i] = arguments[i + 2];
2955
+ }
2956
+ props.children = childArray;
2957
+ }
2958
+ return ReactElement(element.type, key, ref, self2, source, owner, props);
2959
+ }
2960
+ function isValidElement(object) {
2961
+ return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
2962
+ }
2963
+ var SEPARATOR = ".";
2964
+ var SUBSEPARATOR = ":";
2965
+ function escape2(key) {
2966
+ var escapeRegex = /[=:]/g;
2967
+ var escaperLookup = {
2968
+ "=": "=0",
2969
+ ":": "=2"
2970
+ };
2971
+ var escapedString = key.replace(escapeRegex, function(match) {
2972
+ return escaperLookup[match];
2973
+ });
2974
+ return "$" + escapedString;
2975
+ }
2976
+ var didWarnAboutMaps = false;
2977
+ var userProvidedKeyEscapeRegex = /\/+/g;
2978
+ function escapeUserProvidedKey(text) {
2979
+ return text.replace(userProvidedKeyEscapeRegex, "$&/");
2980
+ }
2981
+ function getElementKey(element, index) {
2982
+ if (typeof element === "object" && element !== null && element.key != null) {
2983
+ {
2984
+ checkKeyStringCoercion(element.key);
2985
+ }
2986
+ return escape2("" + element.key);
2987
+ }
2988
+ return index.toString(36);
2989
+ }
2990
+ function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
2991
+ var type = typeof children;
2992
+ if (type === "undefined" || type === "boolean") {
2993
+ children = null;
2994
+ }
2995
+ var invokeCallback = false;
2996
+ if (children === null) {
2997
+ invokeCallback = true;
2998
+ } else {
2999
+ switch (type) {
3000
+ case "string":
3001
+ case "number":
3002
+ invokeCallback = true;
3003
+ break;
3004
+ case "object":
3005
+ switch (children.$$typeof) {
3006
+ case REACT_ELEMENT_TYPE:
3007
+ case REACT_PORTAL_TYPE:
3008
+ invokeCallback = true;
3009
+ }
3010
+ }
3011
+ }
3012
+ if (invokeCallback) {
3013
+ var _child = children;
3014
+ var mappedChild = callback(_child);
3015
+ var childKey = nameSoFar === "" ? SEPARATOR + getElementKey(_child, 0) : nameSoFar;
3016
+ if (isArray(mappedChild)) {
3017
+ var escapedChildKey = "";
3018
+ if (childKey != null) {
3019
+ escapedChildKey = escapeUserProvidedKey(childKey) + "/";
3020
+ }
3021
+ mapIntoArray(mappedChild, array, escapedChildKey, "", function(c) {
3022
+ return c;
3023
+ });
3024
+ } else if (mappedChild != null) {
3025
+ if (isValidElement(mappedChild)) {
3026
+ {
3027
+ if (mappedChild.key && (!_child || _child.key !== mappedChild.key)) {
3028
+ checkKeyStringCoercion(mappedChild.key);
3029
+ }
3030
+ }
3031
+ mappedChild = cloneAndReplaceKey(
3032
+ mappedChild,
3033
+ // Keep both the (mapped) and old keys if they differ, just as
3034
+ // traverseAllChildren used to do for objects as children
3035
+ escapedPrefix + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
3036
+ (mappedChild.key && (!_child || _child.key !== mappedChild.key) ? (
3037
+ // $FlowFixMe Flow incorrectly thinks existing element's key can be a number
3038
+ // eslint-disable-next-line react-internal/safe-string-coercion
3039
+ escapeUserProvidedKey("" + mappedChild.key) + "/"
3040
+ ) : "") + childKey
3041
+ );
3042
+ }
3043
+ array.push(mappedChild);
3044
+ }
3045
+ return 1;
3046
+ }
3047
+ var child;
3048
+ var nextName;
3049
+ var subtreeCount = 0;
3050
+ var nextNamePrefix = nameSoFar === "" ? SEPARATOR : nameSoFar + SUBSEPARATOR;
3051
+ if (isArray(children)) {
3052
+ for (var i = 0; i < children.length; i++) {
3053
+ child = children[i];
3054
+ nextName = nextNamePrefix + getElementKey(child, i);
3055
+ subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback);
3056
+ }
3057
+ } else {
3058
+ var iteratorFn = getIteratorFn(children);
3059
+ if (typeof iteratorFn === "function") {
3060
+ var iterableChildren = children;
3061
+ {
3062
+ if (iteratorFn === iterableChildren.entries) {
3063
+ if (!didWarnAboutMaps) {
3064
+ warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead.");
3065
+ }
3066
+ didWarnAboutMaps = true;
3067
+ }
3068
+ }
3069
+ var iterator = iteratorFn.call(iterableChildren);
3070
+ var step;
3071
+ var ii = 0;
3072
+ while (!(step = iterator.next()).done) {
3073
+ child = step.value;
3074
+ nextName = nextNamePrefix + getElementKey(child, ii++);
3075
+ subtreeCount += mapIntoArray(child, array, escapedPrefix, nextName, callback);
3076
+ }
3077
+ } else if (type === "object") {
3078
+ var childrenString = String(children);
3079
+ throw new Error("Objects are not valid as a React child (found: " + (childrenString === "[object Object]" ? "object with keys {" + Object.keys(children).join(", ") + "}" : childrenString) + "). If you meant to render a collection of children, use an array instead.");
3080
+ }
3081
+ }
3082
+ return subtreeCount;
3083
+ }
3084
+ function mapChildren(children, func, context) {
3085
+ if (children == null) {
3086
+ return children;
3087
+ }
3088
+ var result = [];
3089
+ var count = 0;
3090
+ mapIntoArray(children, result, "", "", function(child) {
3091
+ return func.call(context, child, count++);
3092
+ });
3093
+ return result;
3094
+ }
3095
+ function countChildren(children) {
3096
+ var n = 0;
3097
+ mapChildren(children, function() {
3098
+ n++;
3099
+ });
3100
+ return n;
3101
+ }
3102
+ function forEachChildren(children, forEachFunc, forEachContext) {
3103
+ mapChildren(children, function() {
3104
+ forEachFunc.apply(this, arguments);
3105
+ }, forEachContext);
3106
+ }
3107
+ function toArray(children) {
3108
+ return mapChildren(children, function(child) {
3109
+ return child;
3110
+ }) || [];
3111
+ }
3112
+ function onlyChild(children) {
3113
+ if (!isValidElement(children)) {
3114
+ throw new Error("React.Children.only expected to receive a single React element child.");
3115
+ }
3116
+ return children;
3117
+ }
3118
+ function createContext(defaultValue) {
3119
+ var context = {
3120
+ $$typeof: REACT_CONTEXT_TYPE,
3121
+ // As a workaround to support multiple concurrent renderers, we categorize
3122
+ // some renderers as primary and others as secondary. We only expect
3123
+ // there to be two concurrent renderers at most: React Native (primary) and
3124
+ // Fabric (secondary); React DOM (primary) and React ART (secondary).
3125
+ // Secondary renderers store their context values on separate fields.
3126
+ _currentValue: defaultValue,
3127
+ _currentValue2: defaultValue,
3128
+ // Used to track how many concurrent renderers this context currently
3129
+ // supports within in a single renderer. Such as parallel server rendering.
3130
+ _threadCount: 0,
3131
+ // These are circular
3132
+ Provider: null,
3133
+ Consumer: null,
3134
+ // Add these to use same hidden class in VM as ServerContext
3135
+ _defaultValue: null,
3136
+ _globalName: null
3137
+ };
3138
+ context.Provider = {
3139
+ $$typeof: REACT_PROVIDER_TYPE,
3140
+ _context: context
3141
+ };
3142
+ var hasWarnedAboutUsingNestedContextConsumers = false;
3143
+ var hasWarnedAboutUsingConsumerProvider = false;
3144
+ var hasWarnedAboutDisplayNameOnConsumer = false;
3145
+ {
3146
+ var Consumer = {
3147
+ $$typeof: REACT_CONTEXT_TYPE,
3148
+ _context: context
3149
+ };
3150
+ Object.defineProperties(Consumer, {
3151
+ Provider: {
3152
+ get: function() {
3153
+ if (!hasWarnedAboutUsingConsumerProvider) {
3154
+ hasWarnedAboutUsingConsumerProvider = true;
3155
+ error("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?");
3156
+ }
3157
+ return context.Provider;
3158
+ },
3159
+ set: function(_Provider) {
3160
+ context.Provider = _Provider;
3161
+ }
3162
+ },
3163
+ _currentValue: {
3164
+ get: function() {
3165
+ return context._currentValue;
3166
+ },
3167
+ set: function(_currentValue) {
3168
+ context._currentValue = _currentValue;
3169
+ }
3170
+ },
3171
+ _currentValue2: {
3172
+ get: function() {
3173
+ return context._currentValue2;
3174
+ },
3175
+ set: function(_currentValue2) {
3176
+ context._currentValue2 = _currentValue2;
3177
+ }
3178
+ },
3179
+ _threadCount: {
3180
+ get: function() {
3181
+ return context._threadCount;
3182
+ },
3183
+ set: function(_threadCount) {
3184
+ context._threadCount = _threadCount;
3185
+ }
3186
+ },
3187
+ Consumer: {
3188
+ get: function() {
3189
+ if (!hasWarnedAboutUsingNestedContextConsumers) {
3190
+ hasWarnedAboutUsingNestedContextConsumers = true;
3191
+ error("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?");
3192
+ }
3193
+ return context.Consumer;
3194
+ }
3195
+ },
3196
+ displayName: {
3197
+ get: function() {
3198
+ return context.displayName;
3199
+ },
3200
+ set: function(displayName) {
3201
+ if (!hasWarnedAboutDisplayNameOnConsumer) {
3202
+ warn("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", displayName);
3203
+ hasWarnedAboutDisplayNameOnConsumer = true;
3204
+ }
3205
+ }
3206
+ }
3207
+ });
3208
+ context.Consumer = Consumer;
3209
+ }
3210
+ {
3211
+ context._currentRenderer = null;
3212
+ context._currentRenderer2 = null;
3213
+ }
3214
+ return context;
3215
+ }
3216
+ var Uninitialized = -1;
3217
+ var Pending = 0;
3218
+ var Resolved = 1;
3219
+ var Rejected = 2;
3220
+ function lazyInitializer(payload) {
3221
+ if (payload._status === Uninitialized) {
3222
+ var ctor = payload._result;
3223
+ var thenable = ctor();
3224
+ thenable.then(function(moduleObject2) {
3225
+ if (payload._status === Pending || payload._status === Uninitialized) {
3226
+ var resolved = payload;
3227
+ resolved._status = Resolved;
3228
+ resolved._result = moduleObject2;
3229
+ }
3230
+ }, function(error2) {
3231
+ if (payload._status === Pending || payload._status === Uninitialized) {
3232
+ var rejected = payload;
3233
+ rejected._status = Rejected;
3234
+ rejected._result = error2;
3235
+ }
3236
+ });
3237
+ if (payload._status === Uninitialized) {
3238
+ var pending = payload;
3239
+ pending._status = Pending;
3240
+ pending._result = thenable;
3241
+ }
3242
+ }
3243
+ if (payload._status === Resolved) {
3244
+ var moduleObject = payload._result;
3245
+ {
3246
+ if (moduleObject === void 0) {
3247
+ error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?", moduleObject);
3248
+ }
3249
+ }
3250
+ {
3251
+ if (!("default" in moduleObject)) {
3252
+ error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))", moduleObject);
3253
+ }
3254
+ }
3255
+ return moduleObject.default;
3256
+ } else {
3257
+ throw payload._result;
3258
+ }
3259
+ }
3260
+ function lazy(ctor) {
3261
+ var payload = {
3262
+ // We use these fields to store the result.
3263
+ _status: Uninitialized,
3264
+ _result: ctor
3265
+ };
3266
+ var lazyType = {
3267
+ $$typeof: REACT_LAZY_TYPE,
3268
+ _payload: payload,
3269
+ _init: lazyInitializer
3270
+ };
3271
+ {
3272
+ var defaultProps;
3273
+ var propTypes;
3274
+ Object.defineProperties(lazyType, {
3275
+ defaultProps: {
3276
+ configurable: true,
3277
+ get: function() {
3278
+ return defaultProps;
3279
+ },
3280
+ set: function(newDefaultProps) {
3281
+ error("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it.");
3282
+ defaultProps = newDefaultProps;
3283
+ Object.defineProperty(lazyType, "defaultProps", {
3284
+ enumerable: true
3285
+ });
3286
+ }
3287
+ },
3288
+ propTypes: {
3289
+ configurable: true,
3290
+ get: function() {
3291
+ return propTypes;
3292
+ },
3293
+ set: function(newPropTypes) {
3294
+ error("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it.");
3295
+ propTypes = newPropTypes;
3296
+ Object.defineProperty(lazyType, "propTypes", {
3297
+ enumerable: true
3298
+ });
3299
+ }
3300
+ }
3301
+ });
3302
+ }
3303
+ return lazyType;
3304
+ }
3305
+ function forwardRef(render) {
3306
+ {
3307
+ if (render != null && render.$$typeof === REACT_MEMO_TYPE) {
3308
+ error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).");
3309
+ } else if (typeof render !== "function") {
3310
+ error("forwardRef requires a render function but was given %s.", render === null ? "null" : typeof render);
3311
+ } else {
3312
+ if (render.length !== 0 && render.length !== 2) {
3313
+ error("forwardRef render functions accept exactly two parameters: props and ref. %s", render.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined.");
3314
+ }
3315
+ }
3316
+ if (render != null) {
3317
+ if (render.defaultProps != null || render.propTypes != null) {
3318
+ error("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");
3319
+ }
3320
+ }
3321
+ }
3322
+ var elementType = {
3323
+ $$typeof: REACT_FORWARD_REF_TYPE,
3324
+ render
3325
+ };
3326
+ {
3327
+ var ownName;
3328
+ Object.defineProperty(elementType, "displayName", {
3329
+ enumerable: false,
3330
+ configurable: true,
3331
+ get: function() {
3332
+ return ownName;
3333
+ },
3334
+ set: function(name) {
3335
+ ownName = name;
3336
+ if (!render.name && !render.displayName) {
3337
+ render.displayName = name;
3338
+ }
3339
+ }
3340
+ });
3341
+ }
3342
+ return elementType;
3343
+ }
3344
+ var REACT_MODULE_REFERENCE;
3345
+ {
3346
+ REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
3347
+ }
3348
+ function isValidElementType(type) {
3349
+ if (typeof type === "string" || typeof type === "function") {
3350
+ return true;
3351
+ }
3352
+ if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
3353
+ return true;
3354
+ }
3355
+ if (typeof type === "object" && type !== null) {
3356
+ if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
3357
+ // types supported by any Flight configuration anywhere since
3358
+ // we don't know which Flight build this will end up being used
3359
+ // with.
3360
+ type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0) {
3361
+ return true;
3362
+ }
3363
+ }
3364
+ return false;
3365
+ }
3366
+ function memo(type, compare) {
3367
+ {
3368
+ if (!isValidElementType(type)) {
3369
+ error("memo: The first argument must be a component. Instead received: %s", type === null ? "null" : typeof type);
3370
+ }
3371
+ }
3372
+ var elementType = {
3373
+ $$typeof: REACT_MEMO_TYPE,
3374
+ type,
3375
+ compare: compare === void 0 ? null : compare
3376
+ };
3377
+ {
3378
+ var ownName;
3379
+ Object.defineProperty(elementType, "displayName", {
3380
+ enumerable: false,
3381
+ configurable: true,
3382
+ get: function() {
3383
+ return ownName;
3384
+ },
3385
+ set: function(name) {
3386
+ ownName = name;
3387
+ if (!type.name && !type.displayName) {
3388
+ type.displayName = name;
3389
+ }
3390
+ }
3391
+ });
3392
+ }
3393
+ return elementType;
3394
+ }
3395
+ function resolveDispatcher() {
3396
+ var dispatcher = ReactCurrentDispatcher.current;
3397
+ {
3398
+ if (dispatcher === null) {
3399
+ error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.");
3400
+ }
3401
+ }
3402
+ return dispatcher;
3403
+ }
3404
+ function useContext(Context) {
3405
+ var dispatcher = resolveDispatcher();
3406
+ {
3407
+ if (Context._context !== void 0) {
3408
+ var realContext = Context._context;
3409
+ if (realContext.Consumer === Context) {
3410
+ error("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?");
3411
+ } else if (realContext.Provider === Context) {
3412
+ error("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?");
3413
+ }
3414
+ }
3415
+ }
3416
+ return dispatcher.useContext(Context);
3417
+ }
3418
+ function useState(initialState) {
3419
+ var dispatcher = resolveDispatcher();
3420
+ return dispatcher.useState(initialState);
3421
+ }
3422
+ function useReducer(reducer, initialArg, init) {
3423
+ var dispatcher = resolveDispatcher();
3424
+ return dispatcher.useReducer(reducer, initialArg, init);
3425
+ }
3426
+ function useRef(initialValue) {
3427
+ var dispatcher = resolveDispatcher();
3428
+ return dispatcher.useRef(initialValue);
3429
+ }
3430
+ function useEffect(create, deps) {
3431
+ var dispatcher = resolveDispatcher();
3432
+ return dispatcher.useEffect(create, deps);
3433
+ }
3434
+ function useInsertionEffect(create, deps) {
3435
+ var dispatcher = resolveDispatcher();
3436
+ return dispatcher.useInsertionEffect(create, deps);
3437
+ }
3438
+ function useLayoutEffect(create, deps) {
3439
+ var dispatcher = resolveDispatcher();
3440
+ return dispatcher.useLayoutEffect(create, deps);
3441
+ }
3442
+ function useCallback(callback, deps) {
3443
+ var dispatcher = resolveDispatcher();
3444
+ return dispatcher.useCallback(callback, deps);
3445
+ }
3446
+ function useMemo(create, deps) {
3447
+ var dispatcher = resolveDispatcher();
3448
+ return dispatcher.useMemo(create, deps);
3449
+ }
3450
+ function useImperativeHandle(ref, create, deps) {
3451
+ var dispatcher = resolveDispatcher();
3452
+ return dispatcher.useImperativeHandle(ref, create, deps);
3453
+ }
3454
+ function useDebugValue(value, formatterFn) {
3455
+ {
3456
+ var dispatcher = resolveDispatcher();
3457
+ return dispatcher.useDebugValue(value, formatterFn);
3458
+ }
3459
+ }
3460
+ function useTransition() {
3461
+ var dispatcher = resolveDispatcher();
3462
+ return dispatcher.useTransition();
3463
+ }
3464
+ function useDeferredValue(value) {
3465
+ var dispatcher = resolveDispatcher();
3466
+ return dispatcher.useDeferredValue(value);
3467
+ }
3468
+ function useId() {
3469
+ var dispatcher = resolveDispatcher();
3470
+ return dispatcher.useId();
3471
+ }
3472
+ function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
3473
+ var dispatcher = resolveDispatcher();
3474
+ return dispatcher.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
3475
+ }
3476
+ var disabledDepth = 0;
3477
+ var prevLog;
3478
+ var prevInfo;
3479
+ var prevWarn;
3480
+ var prevError;
3481
+ var prevGroup;
3482
+ var prevGroupCollapsed;
3483
+ var prevGroupEnd;
3484
+ function disabledLog() {
3485
+ }
3486
+ disabledLog.__reactDisabledLog = true;
3487
+ function disableLogs() {
3488
+ {
3489
+ if (disabledDepth === 0) {
3490
+ prevLog = console.log;
3491
+ prevInfo = console.info;
3492
+ prevWarn = console.warn;
3493
+ prevError = console.error;
3494
+ prevGroup = console.group;
3495
+ prevGroupCollapsed = console.groupCollapsed;
3496
+ prevGroupEnd = console.groupEnd;
3497
+ var props = {
3498
+ configurable: true,
3499
+ enumerable: true,
3500
+ value: disabledLog,
3501
+ writable: true
3502
+ };
3503
+ Object.defineProperties(console, {
3504
+ info: props,
3505
+ log: props,
3506
+ warn: props,
3507
+ error: props,
3508
+ group: props,
3509
+ groupCollapsed: props,
3510
+ groupEnd: props
3511
+ });
3512
+ }
3513
+ disabledDepth++;
3514
+ }
3515
+ }
3516
+ function reenableLogs() {
3517
+ {
3518
+ disabledDepth--;
3519
+ if (disabledDepth === 0) {
3520
+ var props = {
3521
+ configurable: true,
3522
+ enumerable: true,
3523
+ writable: true
3524
+ };
3525
+ Object.defineProperties(console, {
3526
+ log: assign({}, props, {
3527
+ value: prevLog
3528
+ }),
3529
+ info: assign({}, props, {
3530
+ value: prevInfo
3531
+ }),
3532
+ warn: assign({}, props, {
3533
+ value: prevWarn
3534
+ }),
3535
+ error: assign({}, props, {
3536
+ value: prevError
3537
+ }),
3538
+ group: assign({}, props, {
3539
+ value: prevGroup
3540
+ }),
3541
+ groupCollapsed: assign({}, props, {
3542
+ value: prevGroupCollapsed
3543
+ }),
3544
+ groupEnd: assign({}, props, {
3545
+ value: prevGroupEnd
3546
+ })
3547
+ });
3548
+ }
3549
+ if (disabledDepth < 0) {
3550
+ error("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
3551
+ }
3552
+ }
3553
+ }
3554
+ var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher;
3555
+ var prefix;
3556
+ function describeBuiltInComponentFrame(name, source, ownerFn) {
3557
+ {
3558
+ if (prefix === void 0) {
3559
+ try {
3560
+ throw Error();
3561
+ } catch (x) {
3562
+ var match = x.stack.trim().match(/\n( *(at )?)/);
3563
+ prefix = match && match[1] || "";
3564
+ }
3565
+ }
3566
+ return "\n" + prefix + name;
3567
+ }
3568
+ }
3569
+ var reentry = false;
3570
+ var componentFrameCache;
3571
+ {
3572
+ var PossiblyWeakMap = typeof WeakMap === "function" ? WeakMap : Map;
3573
+ componentFrameCache = new PossiblyWeakMap();
3574
+ }
3575
+ function describeNativeComponentFrame(fn, construct) {
3576
+ if (!fn || reentry) {
3577
+ return "";
3578
+ }
3579
+ {
3580
+ var frame = componentFrameCache.get(fn);
3581
+ if (frame !== void 0) {
3582
+ return frame;
3583
+ }
3584
+ }
3585
+ var control;
3586
+ reentry = true;
3587
+ var previousPrepareStackTrace = Error.prepareStackTrace;
3588
+ Error.prepareStackTrace = void 0;
3589
+ var previousDispatcher;
3590
+ {
3591
+ previousDispatcher = ReactCurrentDispatcher$1.current;
3592
+ ReactCurrentDispatcher$1.current = null;
3593
+ disableLogs();
3594
+ }
3595
+ try {
3596
+ if (construct) {
3597
+ var Fake = function() {
3598
+ throw Error();
3599
+ };
3600
+ Object.defineProperty(Fake.prototype, "props", {
3601
+ set: function() {
3602
+ throw Error();
3603
+ }
3604
+ });
3605
+ if (typeof Reflect === "object" && Reflect.construct) {
3606
+ try {
3607
+ Reflect.construct(Fake, []);
3608
+ } catch (x) {
3609
+ control = x;
3610
+ }
3611
+ Reflect.construct(fn, [], Fake);
3612
+ } else {
3613
+ try {
3614
+ Fake.call();
3615
+ } catch (x) {
3616
+ control = x;
3617
+ }
3618
+ fn.call(Fake.prototype);
3619
+ }
3620
+ } else {
3621
+ try {
3622
+ throw Error();
3623
+ } catch (x) {
3624
+ control = x;
3625
+ }
3626
+ fn();
3627
+ }
3628
+ } catch (sample) {
3629
+ if (sample && control && typeof sample.stack === "string") {
3630
+ var sampleLines = sample.stack.split("\n");
3631
+ var controlLines = control.stack.split("\n");
3632
+ var s = sampleLines.length - 1;
3633
+ var c = controlLines.length - 1;
3634
+ while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {
3635
+ c--;
3636
+ }
3637
+ for (; s >= 1 && c >= 0; s--, c--) {
3638
+ if (sampleLines[s] !== controlLines[c]) {
3639
+ if (s !== 1 || c !== 1) {
3640
+ do {
3641
+ s--;
3642
+ c--;
3643
+ if (c < 0 || sampleLines[s] !== controlLines[c]) {
3644
+ var _frame = "\n" + sampleLines[s].replace(" at new ", " at ");
3645
+ if (fn.displayName && _frame.includes("<anonymous>")) {
3646
+ _frame = _frame.replace("<anonymous>", fn.displayName);
3647
+ }
3648
+ {
3649
+ if (typeof fn === "function") {
3650
+ componentFrameCache.set(fn, _frame);
3651
+ }
3652
+ }
3653
+ return _frame;
3654
+ }
3655
+ } while (s >= 1 && c >= 0);
3656
+ }
3657
+ break;
3658
+ }
3659
+ }
3660
+ }
3661
+ } finally {
3662
+ reentry = false;
3663
+ {
3664
+ ReactCurrentDispatcher$1.current = previousDispatcher;
3665
+ reenableLogs();
3666
+ }
3667
+ Error.prepareStackTrace = previousPrepareStackTrace;
3668
+ }
3669
+ var name = fn ? fn.displayName || fn.name : "";
3670
+ var syntheticFrame = name ? describeBuiltInComponentFrame(name) : "";
3671
+ {
3672
+ if (typeof fn === "function") {
3673
+ componentFrameCache.set(fn, syntheticFrame);
3674
+ }
3675
+ }
3676
+ return syntheticFrame;
3677
+ }
3678
+ function describeFunctionComponentFrame(fn, source, ownerFn) {
3679
+ {
3680
+ return describeNativeComponentFrame(fn, false);
3681
+ }
3682
+ }
3683
+ function shouldConstruct(Component2) {
3684
+ var prototype = Component2.prototype;
3685
+ return !!(prototype && prototype.isReactComponent);
3686
+ }
3687
+ function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {
3688
+ if (type == null) {
3689
+ return "";
3690
+ }
3691
+ if (typeof type === "function") {
3692
+ {
3693
+ return describeNativeComponentFrame(type, shouldConstruct(type));
3694
+ }
3695
+ }
3696
+ if (typeof type === "string") {
3697
+ return describeBuiltInComponentFrame(type);
3698
+ }
3699
+ switch (type) {
3700
+ case REACT_SUSPENSE_TYPE:
3701
+ return describeBuiltInComponentFrame("Suspense");
3702
+ case REACT_SUSPENSE_LIST_TYPE:
3703
+ return describeBuiltInComponentFrame("SuspenseList");
3704
+ }
3705
+ if (typeof type === "object") {
3706
+ switch (type.$$typeof) {
3707
+ case REACT_FORWARD_REF_TYPE:
3708
+ return describeFunctionComponentFrame(type.render);
3709
+ case REACT_MEMO_TYPE:
3710
+ return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);
3711
+ case REACT_LAZY_TYPE: {
3712
+ var lazyComponent = type;
3713
+ var payload = lazyComponent._payload;
3714
+ var init = lazyComponent._init;
3715
+ try {
3716
+ return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);
3717
+ } catch (x) {
3718
+ }
3719
+ }
3720
+ }
3721
+ }
3722
+ return "";
3723
+ }
3724
+ var loggedTypeFailures = {};
3725
+ var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
3726
+ function setCurrentlyValidatingElement(element) {
3727
+ {
3728
+ if (element) {
3729
+ var owner = element._owner;
3730
+ var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
3731
+ ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
3732
+ } else {
3733
+ ReactDebugCurrentFrame$1.setExtraStackFrame(null);
3734
+ }
3735
+ }
3736
+ }
3737
+ function checkPropTypes(typeSpecs, values, location, componentName, element) {
3738
+ {
3739
+ var has = Function.call.bind(hasOwnProperty);
3740
+ for (var typeSpecName in typeSpecs) {
3741
+ if (has(typeSpecs, typeSpecName)) {
3742
+ var error$1 = void 0;
3743
+ try {
3744
+ if (typeof typeSpecs[typeSpecName] !== "function") {
3745
+ var err = Error((componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
3746
+ err.name = "Invariant Violation";
3747
+ throw err;
3748
+ }
3749
+ error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
3750
+ } catch (ex) {
3751
+ error$1 = ex;
3752
+ }
3753
+ if (error$1 && !(error$1 instanceof Error)) {
3754
+ setCurrentlyValidatingElement(element);
3755
+ error("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", componentName || "React class", location, typeSpecName, typeof error$1);
3756
+ setCurrentlyValidatingElement(null);
3757
+ }
3758
+ if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {
3759
+ loggedTypeFailures[error$1.message] = true;
3760
+ setCurrentlyValidatingElement(element);
3761
+ error("Failed %s type: %s", location, error$1.message);
3762
+ setCurrentlyValidatingElement(null);
3763
+ }
3764
+ }
3765
+ }
3766
+ }
3767
+ }
3768
+ function setCurrentlyValidatingElement$1(element) {
3769
+ {
3770
+ if (element) {
3771
+ var owner = element._owner;
3772
+ var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
3773
+ setExtraStackFrame(stack);
3774
+ } else {
3775
+ setExtraStackFrame(null);
3776
+ }
3777
+ }
3778
+ }
3779
+ var propTypesMisspellWarningShown;
3780
+ {
3781
+ propTypesMisspellWarningShown = false;
3782
+ }
3783
+ function getDeclarationErrorAddendum() {
3784
+ if (ReactCurrentOwner.current) {
3785
+ var name = getComponentNameFromType(ReactCurrentOwner.current.type);
3786
+ if (name) {
3787
+ return "\n\nCheck the render method of `" + name + "`.";
3788
+ }
3789
+ }
3790
+ return "";
3791
+ }
3792
+ function getSourceInfoErrorAddendum(source) {
3793
+ if (source !== void 0) {
3794
+ var fileName = source.fileName.replace(/^.*[\\\/]/, "");
3795
+ var lineNumber = source.lineNumber;
3796
+ return "\n\nCheck your code at " + fileName + ":" + lineNumber + ".";
3797
+ }
3798
+ return "";
3799
+ }
3800
+ function getSourceInfoErrorAddendumForProps(elementProps) {
3801
+ if (elementProps !== null && elementProps !== void 0) {
3802
+ return getSourceInfoErrorAddendum(elementProps.__source);
3803
+ }
3804
+ return "";
3805
+ }
3806
+ var ownerHasKeyUseWarning = {};
3807
+ function getCurrentComponentErrorInfo(parentType) {
3808
+ var info = getDeclarationErrorAddendum();
3809
+ if (!info) {
3810
+ var parentName = typeof parentType === "string" ? parentType : parentType.displayName || parentType.name;
3811
+ if (parentName) {
3812
+ info = "\n\nCheck the top-level render call using <" + parentName + ">.";
3813
+ }
3814
+ }
3815
+ return info;
3816
+ }
3817
+ function validateExplicitKey(element, parentType) {
3818
+ if (!element._store || element._store.validated || element.key != null) {
3819
+ return;
3820
+ }
3821
+ element._store.validated = true;
3822
+ var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);
3823
+ if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {
3824
+ return;
3825
+ }
3826
+ ownerHasKeyUseWarning[currentComponentErrorInfo] = true;
3827
+ var childOwner = "";
3828
+ if (element && element._owner && element._owner !== ReactCurrentOwner.current) {
3829
+ childOwner = " It was passed a child from " + getComponentNameFromType(element._owner.type) + ".";
3830
+ }
3831
+ {
3832
+ setCurrentlyValidatingElement$1(element);
3833
+ error('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);
3834
+ setCurrentlyValidatingElement$1(null);
3835
+ }
3836
+ }
3837
+ function validateChildKeys(node, parentType) {
3838
+ if (typeof node !== "object") {
3839
+ return;
3840
+ }
3841
+ if (isArray(node)) {
3842
+ for (var i = 0; i < node.length; i++) {
3843
+ var child = node[i];
3844
+ if (isValidElement(child)) {
3845
+ validateExplicitKey(child, parentType);
3846
+ }
3847
+ }
3848
+ } else if (isValidElement(node)) {
3849
+ if (node._store) {
3850
+ node._store.validated = true;
3851
+ }
3852
+ } else if (node) {
3853
+ var iteratorFn = getIteratorFn(node);
3854
+ if (typeof iteratorFn === "function") {
3855
+ if (iteratorFn !== node.entries) {
3856
+ var iterator = iteratorFn.call(node);
3857
+ var step;
3858
+ while (!(step = iterator.next()).done) {
3859
+ if (isValidElement(step.value)) {
3860
+ validateExplicitKey(step.value, parentType);
3861
+ }
3862
+ }
3863
+ }
3864
+ }
3865
+ }
3866
+ }
3867
+ function validatePropTypes(element) {
3868
+ {
3869
+ var type = element.type;
3870
+ if (type === null || type === void 0 || typeof type === "string") {
3871
+ return;
3872
+ }
3873
+ var propTypes;
3874
+ if (typeof type === "function") {
3875
+ propTypes = type.propTypes;
3876
+ } else if (typeof type === "object" && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
3877
+ // Inner props are checked in the reconciler.
3878
+ type.$$typeof === REACT_MEMO_TYPE)) {
3879
+ propTypes = type.propTypes;
3880
+ } else {
3881
+ return;
3882
+ }
3883
+ if (propTypes) {
3884
+ var name = getComponentNameFromType(type);
3885
+ checkPropTypes(propTypes, element.props, "prop", name, element);
3886
+ } else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) {
3887
+ propTypesMisspellWarningShown = true;
3888
+ var _name = getComponentNameFromType(type);
3889
+ error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown");
3890
+ }
3891
+ if (typeof type.getDefaultProps === "function" && !type.getDefaultProps.isReactClassApproved) {
3892
+ error("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
3893
+ }
3894
+ }
3895
+ }
3896
+ function validateFragmentProps(fragment) {
3897
+ {
3898
+ var keys = Object.keys(fragment.props);
3899
+ for (var i = 0; i < keys.length; i++) {
3900
+ var key = keys[i];
3901
+ if (key !== "children" && key !== "key") {
3902
+ setCurrentlyValidatingElement$1(fragment);
3903
+ error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", key);
3904
+ setCurrentlyValidatingElement$1(null);
3905
+ break;
3906
+ }
3907
+ }
3908
+ if (fragment.ref !== null) {
3909
+ setCurrentlyValidatingElement$1(fragment);
3910
+ error("Invalid attribute `ref` supplied to `React.Fragment`.");
3911
+ setCurrentlyValidatingElement$1(null);
3912
+ }
3913
+ }
3914
+ }
3915
+ function createElementWithValidation(type, props, children) {
3916
+ var validType = isValidElementType(type);
3917
+ if (!validType) {
3918
+ var info = "";
3919
+ if (type === void 0 || typeof type === "object" && type !== null && Object.keys(type).length === 0) {
3920
+ info += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
3921
+ }
3922
+ var sourceInfo = getSourceInfoErrorAddendumForProps(props);
3923
+ if (sourceInfo) {
3924
+ info += sourceInfo;
3925
+ } else {
3926
+ info += getDeclarationErrorAddendum();
3927
+ }
3928
+ var typeString;
3929
+ if (type === null) {
3930
+ typeString = "null";
3931
+ } else if (isArray(type)) {
3932
+ typeString = "array";
3933
+ } else if (type !== void 0 && type.$$typeof === REACT_ELEMENT_TYPE) {
3934
+ typeString = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />";
3935
+ info = " Did you accidentally export a JSX literal instead of a component?";
3936
+ } else {
3937
+ typeString = typeof type;
3938
+ }
3939
+ {
3940
+ error("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", typeString, info);
3941
+ }
3942
+ }
3943
+ var element = createElement.apply(this, arguments);
3944
+ if (element == null) {
3945
+ return element;
3946
+ }
3947
+ if (validType) {
3948
+ for (var i = 2; i < arguments.length; i++) {
3949
+ validateChildKeys(arguments[i], type);
3950
+ }
3951
+ }
3952
+ if (type === REACT_FRAGMENT_TYPE) {
3953
+ validateFragmentProps(element);
3954
+ } else {
3955
+ validatePropTypes(element);
3956
+ }
3957
+ return element;
3958
+ }
3959
+ var didWarnAboutDeprecatedCreateFactory = false;
3960
+ function createFactoryWithValidation(type) {
3961
+ var validatedFactory = createElementWithValidation.bind(null, type);
3962
+ validatedFactory.type = type;
3963
+ {
3964
+ if (!didWarnAboutDeprecatedCreateFactory) {
3965
+ didWarnAboutDeprecatedCreateFactory = true;
3966
+ warn("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.");
3967
+ }
3968
+ Object.defineProperty(validatedFactory, "type", {
3969
+ enumerable: false,
3970
+ get: function() {
3971
+ warn("Factory.type is deprecated. Access the class directly before passing it to createFactory.");
3972
+ Object.defineProperty(this, "type", {
3973
+ value: type
3974
+ });
3975
+ return type;
3976
+ }
3977
+ });
3978
+ }
3979
+ return validatedFactory;
3980
+ }
3981
+ function cloneElementWithValidation(element, props, children) {
3982
+ var newElement = cloneElement.apply(this, arguments);
3983
+ for (var i = 2; i < arguments.length; i++) {
3984
+ validateChildKeys(arguments[i], newElement.type);
3985
+ }
3986
+ validatePropTypes(newElement);
3987
+ return newElement;
3988
+ }
3989
+ function startTransition(scope, options) {
3990
+ var prevTransition = ReactCurrentBatchConfig.transition;
3991
+ ReactCurrentBatchConfig.transition = {};
3992
+ var currentTransition = ReactCurrentBatchConfig.transition;
3993
+ {
3994
+ ReactCurrentBatchConfig.transition._updatedFibers = /* @__PURE__ */ new Set();
3995
+ }
3996
+ try {
3997
+ scope();
3998
+ } finally {
3999
+ ReactCurrentBatchConfig.transition = prevTransition;
4000
+ {
4001
+ if (prevTransition === null && currentTransition._updatedFibers) {
4002
+ var updatedFibersCount = currentTransition._updatedFibers.size;
4003
+ if (updatedFibersCount > 10) {
4004
+ warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.");
4005
+ }
4006
+ currentTransition._updatedFibers.clear();
4007
+ }
4008
+ }
4009
+ }
4010
+ }
4011
+ var didWarnAboutMessageChannel = false;
4012
+ var enqueueTaskImpl = null;
4013
+ function enqueueTask(task) {
4014
+ if (enqueueTaskImpl === null) {
4015
+ try {
4016
+ var requireString = ("require" + Math.random()).slice(0, 7);
4017
+ var nodeRequire = module2 && module2[requireString];
4018
+ enqueueTaskImpl = nodeRequire.call(module2, "timers").setImmediate;
4019
+ } catch (_err) {
4020
+ enqueueTaskImpl = function(callback) {
4021
+ {
4022
+ if (didWarnAboutMessageChannel === false) {
4023
+ didWarnAboutMessageChannel = true;
4024
+ if (typeof MessageChannel === "undefined") {
4025
+ error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning.");
4026
+ }
4027
+ }
4028
+ }
4029
+ var channel = new MessageChannel();
4030
+ channel.port1.onmessage = callback;
4031
+ channel.port2.postMessage(void 0);
4032
+ };
4033
+ }
4034
+ }
4035
+ return enqueueTaskImpl(task);
4036
+ }
4037
+ var actScopeDepth = 0;
4038
+ var didWarnNoAwaitAct = false;
4039
+ function act(callback) {
4040
+ {
4041
+ var prevActScopeDepth = actScopeDepth;
4042
+ actScopeDepth++;
4043
+ if (ReactCurrentActQueue.current === null) {
4044
+ ReactCurrentActQueue.current = [];
4045
+ }
4046
+ var prevIsBatchingLegacy = ReactCurrentActQueue.isBatchingLegacy;
4047
+ var result;
4048
+ try {
4049
+ ReactCurrentActQueue.isBatchingLegacy = true;
4050
+ result = callback();
4051
+ if (!prevIsBatchingLegacy && ReactCurrentActQueue.didScheduleLegacyUpdate) {
4052
+ var queue = ReactCurrentActQueue.current;
4053
+ if (queue !== null) {
4054
+ ReactCurrentActQueue.didScheduleLegacyUpdate = false;
4055
+ flushActQueue(queue);
4056
+ }
4057
+ }
4058
+ } catch (error2) {
4059
+ popActScope(prevActScopeDepth);
4060
+ throw error2;
4061
+ } finally {
4062
+ ReactCurrentActQueue.isBatchingLegacy = prevIsBatchingLegacy;
4063
+ }
4064
+ if (result !== null && typeof result === "object" && typeof result.then === "function") {
4065
+ var thenableResult = result;
4066
+ var wasAwaited = false;
4067
+ var thenable = {
4068
+ then: function(resolve, reject) {
4069
+ wasAwaited = true;
4070
+ thenableResult.then(function(returnValue2) {
4071
+ popActScope(prevActScopeDepth);
4072
+ if (actScopeDepth === 0) {
4073
+ recursivelyFlushAsyncActWork(returnValue2, resolve, reject);
4074
+ } else {
4075
+ resolve(returnValue2);
4076
+ }
4077
+ }, function(error2) {
4078
+ popActScope(prevActScopeDepth);
4079
+ reject(error2);
4080
+ });
4081
+ }
4082
+ };
4083
+ {
4084
+ if (!didWarnNoAwaitAct && typeof Promise !== "undefined") {
4085
+ Promise.resolve().then(function() {
4086
+ }).then(function() {
4087
+ if (!wasAwaited) {
4088
+ didWarnNoAwaitAct = true;
4089
+ error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);");
4090
+ }
4091
+ });
4092
+ }
4093
+ }
4094
+ return thenable;
4095
+ } else {
4096
+ var returnValue = result;
4097
+ popActScope(prevActScopeDepth);
4098
+ if (actScopeDepth === 0) {
4099
+ var _queue = ReactCurrentActQueue.current;
4100
+ if (_queue !== null) {
4101
+ flushActQueue(_queue);
4102
+ ReactCurrentActQueue.current = null;
4103
+ }
4104
+ var _thenable = {
4105
+ then: function(resolve, reject) {
4106
+ if (ReactCurrentActQueue.current === null) {
4107
+ ReactCurrentActQueue.current = [];
4108
+ recursivelyFlushAsyncActWork(returnValue, resolve, reject);
4109
+ } else {
4110
+ resolve(returnValue);
4111
+ }
4112
+ }
4113
+ };
4114
+ return _thenable;
4115
+ } else {
4116
+ var _thenable2 = {
4117
+ then: function(resolve, reject) {
4118
+ resolve(returnValue);
4119
+ }
4120
+ };
4121
+ return _thenable2;
4122
+ }
4123
+ }
4124
+ }
4125
+ }
4126
+ function popActScope(prevActScopeDepth) {
4127
+ {
4128
+ if (prevActScopeDepth !== actScopeDepth - 1) {
4129
+ error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. ");
4130
+ }
4131
+ actScopeDepth = prevActScopeDepth;
4132
+ }
4133
+ }
4134
+ function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
4135
+ {
4136
+ var queue = ReactCurrentActQueue.current;
4137
+ if (queue !== null) {
4138
+ try {
4139
+ flushActQueue(queue);
4140
+ enqueueTask(function() {
4141
+ if (queue.length === 0) {
4142
+ ReactCurrentActQueue.current = null;
4143
+ resolve(returnValue);
4144
+ } else {
4145
+ recursivelyFlushAsyncActWork(returnValue, resolve, reject);
4146
+ }
4147
+ });
4148
+ } catch (error2) {
4149
+ reject(error2);
4150
+ }
4151
+ } else {
4152
+ resolve(returnValue);
4153
+ }
4154
+ }
4155
+ }
4156
+ var isFlushing = false;
4157
+ function flushActQueue(queue) {
4158
+ {
4159
+ if (!isFlushing) {
4160
+ isFlushing = true;
4161
+ var i = 0;
4162
+ try {
4163
+ for (; i < queue.length; i++) {
4164
+ var callback = queue[i];
4165
+ do {
4166
+ callback = callback(true);
4167
+ } while (callback !== null);
4168
+ }
4169
+ queue.length = 0;
4170
+ } catch (error2) {
4171
+ queue = queue.slice(i + 1);
4172
+ throw error2;
4173
+ } finally {
4174
+ isFlushing = false;
4175
+ }
4176
+ }
4177
+ }
4178
+ }
4179
+ var createElement$1 = createElementWithValidation;
4180
+ var cloneElement$1 = cloneElementWithValidation;
4181
+ var createFactory = createFactoryWithValidation;
4182
+ var Children = {
4183
+ map: mapChildren,
4184
+ forEach: forEachChildren,
4185
+ count: countChildren,
4186
+ toArray,
4187
+ only: onlyChild
4188
+ };
4189
+ exports.Children = Children;
4190
+ exports.Component = Component;
4191
+ exports.Fragment = REACT_FRAGMENT_TYPE;
4192
+ exports.Profiler = REACT_PROFILER_TYPE;
4193
+ exports.PureComponent = PureComponent;
4194
+ exports.StrictMode = REACT_STRICT_MODE_TYPE;
4195
+ exports.Suspense = REACT_SUSPENSE_TYPE;
4196
+ exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals;
4197
+ exports.cloneElement = cloneElement$1;
4198
+ exports.createContext = createContext;
4199
+ exports.createElement = createElement$1;
4200
+ exports.createFactory = createFactory;
4201
+ exports.createRef = createRef;
4202
+ exports.forwardRef = forwardRef;
4203
+ exports.isValidElement = isValidElement;
4204
+ exports.lazy = lazy;
4205
+ exports.memo = memo;
4206
+ exports.startTransition = startTransition;
4207
+ exports.unstable_act = act;
4208
+ exports.useCallback = useCallback;
4209
+ exports.useContext = useContext;
4210
+ exports.useDebugValue = useDebugValue;
4211
+ exports.useDeferredValue = useDeferredValue;
4212
+ exports.useEffect = useEffect;
4213
+ exports.useId = useId;
4214
+ exports.useImperativeHandle = useImperativeHandle;
4215
+ exports.useInsertionEffect = useInsertionEffect;
4216
+ exports.useLayoutEffect = useLayoutEffect;
4217
+ exports.useMemo = useMemo;
4218
+ exports.useReducer = useReducer;
4219
+ exports.useRef = useRef;
4220
+ exports.useState = useState;
4221
+ exports.useSyncExternalStore = useSyncExternalStore;
4222
+ exports.useTransition = useTransition;
4223
+ exports.version = ReactVersion;
4224
+ if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function") {
4225
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
4226
+ }
4227
+ })();
4228
+ }
4229
+ }
4230
+ });
4231
+
4232
+ // ../../node_modules/react/index.js
4233
+ var require_react = __commonJS({
4234
+ "../../node_modules/react/index.js"(exports, module2) {
4235
+ "use strict";
4236
+ if (process.env.NODE_ENV === "production") {
4237
+ module2.exports = require_react_production_min();
4238
+ } else {
4239
+ module2.exports = require_react_development();
4240
+ }
4241
+ }
4242
+ });
4243
+
4244
+ // ../../node_modules/dayjs/plugin/timezone.js
4245
+ var require_timezone = __commonJS({
4246
+ "../../node_modules/dayjs/plugin/timezone.js"(exports, module2) {
4247
+ !function(t, e) {
4248
+ "object" == typeof exports && "undefined" != typeof module2 ? module2.exports = e() : "function" == typeof define && define.amd ? define(e) : (t = "undefined" != typeof globalThis ? globalThis : t || self).dayjs_plugin_timezone = e();
4249
+ }(exports, function() {
4250
+ "use strict";
4251
+ var t = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, e = {};
4252
+ return function(n, i, o) {
4253
+ var r, a = function(t2, n2, i2) {
4254
+ void 0 === i2 && (i2 = {});
4255
+ var o2 = new Date(t2), r2 = function(t3, n3) {
4256
+ void 0 === n3 && (n3 = {});
4257
+ var i3 = n3.timeZoneName || "short", o3 = t3 + "|" + i3, r3 = e[o3];
4258
+ return r3 || (r3 = new Intl.DateTimeFormat("en-US", { hour12: false, timeZone: t3, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: i3 }), e[o3] = r3), r3;
4259
+ }(n2, i2);
4260
+ return r2.formatToParts(o2);
4261
+ }, u = function(e2, n2) {
4262
+ for (var i2 = a(e2, n2), r2 = [], u2 = 0; u2 < i2.length; u2 += 1) {
4263
+ var f2 = i2[u2], s2 = f2.type, m = f2.value, c = t[s2];
4264
+ c >= 0 && (r2[c] = parseInt(m, 10));
4265
+ }
4266
+ var d = r2[3], l = 24 === d ? 0 : d, h = r2[0] + "-" + r2[1] + "-" + r2[2] + " " + l + ":" + r2[4] + ":" + r2[5] + ":000", v = +e2;
4267
+ return (o.utc(h).valueOf() - (v -= v % 1e3)) / 6e4;
4268
+ }, f = i.prototype;
4269
+ f.tz = function(t2, e2) {
4270
+ void 0 === t2 && (t2 = r);
4271
+ var n2, i2 = this.utcOffset(), a2 = this.toDate(), u2 = a2.toLocaleString("en-US", { timeZone: t2 }), f2 = Math.round((a2 - new Date(u2)) / 1e3 / 60), s2 = 15 * -Math.round(a2.getTimezoneOffset() / 15) - f2;
4272
+ if (!Number(s2))
4273
+ n2 = this.utcOffset(0, e2);
4274
+ else if (n2 = o(u2, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(s2, true), e2) {
4275
+ var m = n2.utcOffset();
4276
+ n2 = n2.add(i2 - m, "minute");
4277
+ }
4278
+ return n2.$x.$timezone = t2, n2;
4279
+ }, f.offsetName = function(t2) {
4280
+ var e2 = this.$x.$timezone || o.tz.guess(), n2 = a(this.valueOf(), e2, { timeZoneName: t2 }).find(function(t3) {
4281
+ return "timezonename" === t3.type.toLowerCase();
4282
+ });
4283
+ return n2 && n2.value;
4284
+ };
4285
+ var s = f.startOf;
4286
+ f.startOf = function(t2, e2) {
4287
+ if (!this.$x || !this.$x.$timezone)
4288
+ return s.call(this, t2, e2);
4289
+ var n2 = o(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
4290
+ return s.call(n2, t2, e2).tz(this.$x.$timezone, true);
4291
+ }, o.tz = function(t2, e2, n2) {
4292
+ var i2 = n2 && e2, a2 = n2 || e2 || r, f2 = u(+o(), a2);
4293
+ if ("string" != typeof t2)
4294
+ return o(t2).tz(a2);
4295
+ var s2 = function(t3, e3, n3) {
4296
+ var i3 = t3 - 60 * e3 * 1e3, o2 = u(i3, n3);
4297
+ if (e3 === o2)
4298
+ return [i3, e3];
4299
+ var r2 = u(i3 -= 60 * (o2 - e3) * 1e3, n3);
4300
+ return o2 === r2 ? [i3, o2] : [t3 - 60 * Math.min(o2, r2) * 1e3, Math.max(o2, r2)];
4301
+ }(o.utc(t2, i2).valueOf(), f2, a2), m = s2[0], c = s2[1], d = o(m).utcOffset(c);
4302
+ return d.$x.$timezone = a2, d;
4303
+ }, o.tz.guess = function() {
4304
+ return Intl.DateTimeFormat().resolvedOptions().timeZone;
4305
+ }, o.tz.setDefault = function(t2) {
4306
+ r = t2;
4307
+ };
4308
+ };
4309
+ });
4310
+ }
4311
+ });
4312
+
4313
+ // ../../node_modules/dayjs/plugin/utc.js
4314
+ var require_utc = __commonJS({
4315
+ "../../node_modules/dayjs/plugin/utc.js"(exports, module2) {
4316
+ !function(t, i) {
4317
+ "object" == typeof exports && "undefined" != typeof module2 ? module2.exports = i() : "function" == typeof define && define.amd ? define(i) : (t = "undefined" != typeof globalThis ? globalThis : t || self).dayjs_plugin_utc = i();
4318
+ }(exports, function() {
4319
+ "use strict";
4320
+ var t = "minute", i = /[+-]\d\d(?::?\d\d)?/g, e = /([+-]|\d\d)/g;
4321
+ return function(s, f, n) {
4322
+ var u = f.prototype;
4323
+ n.utc = function(t2) {
4324
+ var i2 = { date: t2, utc: true, args: arguments };
4325
+ return new f(i2);
4326
+ }, u.utc = function(i2) {
4327
+ var e2 = n(this.toDate(), { locale: this.$L, utc: true });
4328
+ return i2 ? e2.add(this.utcOffset(), t) : e2;
4329
+ }, u.local = function() {
4330
+ return n(this.toDate(), { locale: this.$L, utc: false });
4331
+ };
4332
+ var o = u.parse;
4333
+ u.parse = function(t2) {
4334
+ t2.utc && (this.$u = true), this.$utils().u(t2.$offset) || (this.$offset = t2.$offset), o.call(this, t2);
4335
+ };
4336
+ var r = u.init;
4337
+ u.init = function() {
4338
+ if (this.$u) {
4339
+ var t2 = this.$d;
4340
+ this.$y = t2.getUTCFullYear(), this.$M = t2.getUTCMonth(), this.$D = t2.getUTCDate(), this.$W = t2.getUTCDay(), this.$H = t2.getUTCHours(), this.$m = t2.getUTCMinutes(), this.$s = t2.getUTCSeconds(), this.$ms = t2.getUTCMilliseconds();
4341
+ } else
4342
+ r.call(this);
4343
+ };
4344
+ var a = u.utcOffset;
4345
+ u.utcOffset = function(s2, f2) {
4346
+ var n2 = this.$utils().u;
4347
+ if (n2(s2))
4348
+ return this.$u ? 0 : n2(this.$offset) ? a.call(this) : this.$offset;
4349
+ if ("string" == typeof s2 && (s2 = function(t2) {
4350
+ void 0 === t2 && (t2 = "");
4351
+ var s3 = t2.match(i);
4352
+ if (!s3)
4353
+ return null;
4354
+ var f3 = ("" + s3[0]).match(e) || ["-", 0, 0], n3 = f3[0], u3 = 60 * +f3[1] + +f3[2];
4355
+ return 0 === u3 ? 0 : "+" === n3 ? u3 : -u3;
4356
+ }(s2), null === s2))
4357
+ return this;
4358
+ var u2 = Math.abs(s2) <= 16 ? 60 * s2 : s2, o2 = this;
4359
+ if (f2)
4360
+ return o2.$offset = u2, o2.$u = 0 === s2, o2;
4361
+ if (0 !== s2) {
4362
+ var r2 = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4363
+ (o2 = this.local().add(u2 + r2, t)).$offset = u2, o2.$x.$localOffset = r2;
4364
+ } else
4365
+ o2 = this.utc();
4366
+ return o2;
4367
+ };
4368
+ var h = u.format;
4369
+ u.format = function(t2) {
4370
+ var i2 = t2 || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4371
+ return h.call(this, i2);
4372
+ }, u.valueOf = function() {
4373
+ var t2 = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4374
+ return this.$d.valueOf() - 6e4 * t2;
4375
+ }, u.isUTC = function() {
4376
+ return !!this.$u;
4377
+ }, u.toISOString = function() {
4378
+ return this.toDate().toISOString();
4379
+ }, u.toString = function() {
4380
+ return this.toDate().toUTCString();
4381
+ };
4382
+ var l = u.toDate;
4383
+ u.toDate = function(t2) {
4384
+ return "s" === t2 && this.$offset ? n(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : l.call(this);
4385
+ };
4386
+ var c = u.diff;
4387
+ u.diff = function(t2, i2, e2) {
4388
+ if (t2 && this.$u === t2.$u)
4389
+ return c.call(this, t2, i2, e2);
4390
+ var s2 = this.local(), f2 = n(t2).local();
4391
+ return c.call(s2, f2, i2, e2);
4392
+ };
4393
+ };
4394
+ });
4395
+ }
4396
+ });
4397
+
30
4398
  // src/backend/express.ts
31
4399
  var express_exports = {};
32
4400
  __export(express_exports, {
@@ -34,13 +4402,72 @@ __export(express_exports, {
34
4402
  });
35
4403
  module.exports = __toCommonJS(express_exports);
36
4404
  var import_http = __toESM(require("http"));
37
- var import_helpers = require("@kazoohr/helpers");
4405
+
4406
+ // ../types/index.ts
4407
+ var DEFAULT_TIMEZONE = "America/Chicago";
4408
+
4409
+ // ../helpers/src/copyToClipboard.ts
4410
+ var import_copy_to_clipboard = __toESM(require_copy_to_clipboard());
4411
+
4412
+ // ../helpers/src/relativeTime.ts
4413
+ var import_dayjs = __toESM(require_dayjs_min());
4414
+ var import_relativeTime = __toESM(require_relativeTime());
4415
+ import_dayjs.default.extend(import_relativeTime.default);
4416
+
4417
+ // ../helpers/src/displayTime.ts
4418
+ var import_dayjs2 = __toESM(require_dayjs_min());
4419
+
4420
+ // ../helpers/src/caseHelpers.ts
4421
+ var import_change_case_all = __toESM(require_dist33());
4422
+
4423
+ // ../helpers/src/useDragAndDropList.tsx
4424
+ var import_react = __toESM(require_react());
4425
+
4426
+ // ../helpers/src/parseDateToDayJs.ts
4427
+ var import_dayjs3 = __toESM(require_dayjs_min());
4428
+
4429
+ // ../helpers/src/dates/dateParsers.ts
4430
+ var import_dayjs4 = __toESM(require_dayjs_min());
4431
+ var import_timezone = __toESM(require_timezone());
4432
+ var import_utc = __toESM(require_utc());
4433
+ import_dayjs4.default.extend(import_timezone.default);
4434
+ import_dayjs4.default.extend(import_utc.default);
4435
+ import_dayjs4.default.tz.setDefault(DEFAULT_TIMEZONE);
4436
+
4437
+ // ../helpers/src/dates/parseStrict8601Date.ts
4438
+ var import_dayjs5 = __toESM(require_dayjs_min());
4439
+
4440
+ // ../helpers/src/useLogChangedProps.ts
4441
+ var import_react2 = __toESM(require_react());
4442
+
4443
+ // ../helpers/src/useMaxRenders.ts
4444
+ var import_react3 = __toESM(require_react());
4445
+
4446
+ // ../helpers/src/useEffectAfterFirstRender.ts
4447
+ var import_react4 = __toESM(require_react());
4448
+
4449
+ // ../helpers/src/coalesce.ts
4450
+ function coalesce(...args) {
4451
+ for (let i = 0; i < args.length; i++) {
4452
+ if (args[i] != null && args[i] === args[i]) {
4453
+ return args[i];
4454
+ }
4455
+ }
4456
+ return args[args.length - 1];
4457
+ }
4458
+
4459
+ // ../helpers/src/DateTimeWrapper.ts
4460
+ var import_dayjs6 = __toESM(require_dayjs_min());
4461
+ var import_timezone2 = __toESM(require_timezone());
4462
+ import_dayjs6.default.extend(import_timezone2.default);
4463
+
4464
+ // src/backend/express.ts
38
4465
  function setupAiAssistantRoutes(args) {
39
- const logger = (0, import_helpers.coalesce)(args.logger, console);
4466
+ const logger = coalesce(args.logger, console);
40
4467
  const routePath = args.route ?? "/ai-assistant";
41
4468
  args.app.all(
42
4469
  routePath,
43
- ...(0, import_helpers.coalesce)(args.preflightMiddlewares, []),
4470
+ ...coalesce(args.preflightMiddlewares, []),
44
4471
  async (req, res) => {
45
4472
  const bearerToken = await args.getBearerToken().catch((error) => {
46
4473
  logger.error("Error getting bearer token:", error);
@@ -89,3 +4516,27 @@ function setupAiAssistantRoutes(args) {
89
4516
  0 && (module.exports = {
90
4517
  setupAiAssistantRoutes
91
4518
  });
4519
+ /*! Bundled license information:
4520
+
4521
+ react/cjs/react.production.min.js:
4522
+ (**
4523
+ * @license React
4524
+ * react.production.min.js
4525
+ *
4526
+ * Copyright (c) Facebook, Inc. and its affiliates.
4527
+ *
4528
+ * This source code is licensed under the MIT license found in the
4529
+ * LICENSE file in the root directory of this source tree.
4530
+ *)
4531
+
4532
+ react/cjs/react.development.js:
4533
+ (**
4534
+ * @license React
4535
+ * react.development.js
4536
+ *
4537
+ * Copyright (c) Facebook, Inc. and its affiliates.
4538
+ *
4539
+ * This source code is licensed under the MIT license found in the
4540
+ * LICENSE file in the root directory of this source tree.
4541
+ *)
4542
+ */