@neshan-maps-platform/mapbox-gl-react 1.0.5 → 1.0.6-alpha.1

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.
@@ -1,6 +1,5 @@
1
- import ee, { useRef as I, useEffect as re } from "react";
2
- import te from "@neshan-maps-platform/mapbox-gl";
3
- var b = { exports: {} }, p = {};
1
+ import Fe from "@neshan-maps-platform/mapbox-gl";
2
+ var me = { exports: {} }, ie = {};
4
3
  /**
5
4
  * @license React
6
5
  * react-jsx-runtime.production.js
@@ -10,29 +9,1262 @@ var b = { exports: {} }, p = {};
10
9
  * This source code is licensed under the MIT license found in the
11
10
  * LICENSE file in the root directory of this source tree.
12
11
  */
13
- var F;
14
- function ne() {
15
- if (F) return p;
16
- F = 1;
17
- var a = Symbol.for("react.transitional.element"), l = Symbol.for("react.fragment");
18
- function i(c, s, u) {
19
- var f = null;
20
- if (u !== void 0 && (f = "" + u), s.key !== void 0 && (f = "" + s.key), "key" in s) {
21
- u = {};
22
- for (var m in s)
23
- m !== "key" && (u[m] = s[m]);
24
- } else u = s;
25
- return s = u.ref, {
26
- $$typeof: a,
27
- type: c,
28
- key: f,
29
- ref: s !== void 0 ? s : null,
30
- props: u
12
+ var Ye;
13
+ function Qe() {
14
+ if (Ye) return ie;
15
+ Ye = 1;
16
+ var T = Symbol.for("react.transitional.element"), i = Symbol.for("react.fragment");
17
+ function P(k, b, R) {
18
+ var j = null;
19
+ if (R !== void 0 && (j = "" + R), b.key !== void 0 && (j = "" + b.key), "key" in b) {
20
+ R = {};
21
+ for (var C in b)
22
+ C !== "key" && (R[C] = b[C]);
23
+ } else R = b;
24
+ return b = R.ref, {
25
+ $$typeof: T,
26
+ type: k,
27
+ key: j,
28
+ ref: b !== void 0 ? b : null,
29
+ props: R
31
30
  };
32
31
  }
33
- return p.Fragment = l, p.jsx = i, p.jsxs = i, p;
32
+ return ie.Fragment = i, ie.jsx = P, ie.jsxs = P, ie;
33
+ }
34
+ var ce = {}, Ee = { exports: {} }, l = {};
35
+ /**
36
+ * @license React
37
+ * react.production.js
38
+ *
39
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
40
+ *
41
+ * This source code is licensed under the MIT license found in the
42
+ * LICENSE file in the root directory of this source tree.
43
+ */
44
+ var Le;
45
+ function Ke() {
46
+ if (Le) return l;
47
+ Le = 1;
48
+ var T = Symbol.for("react.transitional.element"), i = Symbol.for("react.portal"), P = Symbol.for("react.fragment"), k = Symbol.for("react.strict_mode"), b = Symbol.for("react.profiler"), R = Symbol.for("react.consumer"), j = Symbol.for("react.context"), C = Symbol.for("react.forward_ref"), N = Symbol.for("react.suspense"), oe = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), H = Symbol.for("react.activity"), z = Symbol.iterator;
49
+ function q(t) {
50
+ return t === null || typeof t != "object" ? null : (t = z && t[z] || t["@@iterator"], typeof t == "function" ? t : null);
51
+ }
52
+ var G = {
53
+ isMounted: function() {
54
+ return !1;
55
+ },
56
+ enqueueForceUpdate: function() {
57
+ },
58
+ enqueueReplaceState: function() {
59
+ },
60
+ enqueueSetState: function() {
61
+ }
62
+ }, J = Object.assign, B = {};
63
+ function I(t, n, s) {
64
+ this.props = t, this.context = n, this.refs = B, this.updater = s || G;
65
+ }
66
+ I.prototype.isReactComponent = {}, I.prototype.setState = function(t, n) {
67
+ if (typeof t != "object" && typeof t != "function" && t != null)
68
+ throw Error(
69
+ "takes an object of state variables to update or a function which returns an object of state variables."
70
+ );
71
+ this.updater.enqueueSetState(this, t, n, "setState");
72
+ }, I.prototype.forceUpdate = function(t) {
73
+ this.updater.enqueueForceUpdate(this, t, "forceUpdate");
74
+ };
75
+ function F() {
76
+ }
77
+ F.prototype = I.prototype;
78
+ function ee(t, n, s) {
79
+ this.props = t, this.context = n, this.refs = B, this.updater = s || G;
80
+ }
81
+ var Q = ee.prototype = new F();
82
+ Q.constructor = ee, J(Q, I.prototype), Q.isPureReactComponent = !0;
83
+ var M = Array.isArray;
84
+ function te() {
85
+ }
86
+ var y = { H: null, A: null, T: null, S: null }, ue = Object.prototype.hasOwnProperty;
87
+ function S(t, n, s) {
88
+ var a = s.ref;
89
+ return {
90
+ $$typeof: T,
91
+ type: t,
92
+ key: n,
93
+ ref: a !== void 0 ? a : null,
94
+ props: s
95
+ };
96
+ }
97
+ function K(t, n) {
98
+ return S(t.type, n, t.props);
99
+ }
100
+ function re(t) {
101
+ return typeof t == "object" && t !== null && t.$$typeof === T;
102
+ }
103
+ function h(t) {
104
+ var n = { "=": "=0", ":": "=2" };
105
+ return "$" + t.replace(/[=:]/g, function(s) {
106
+ return n[s];
107
+ });
108
+ }
109
+ var V = /\/+/g;
110
+ function U(t, n) {
111
+ return typeof t == "object" && t !== null && t.key != null ? h("" + t.key) : n.toString(36);
112
+ }
113
+ function Y(t) {
114
+ switch (t.status) {
115
+ case "fulfilled":
116
+ return t.value;
117
+ case "rejected":
118
+ throw t.reason;
119
+ default:
120
+ switch (typeof t.status == "string" ? t.then(te, te) : (t.status = "pending", t.then(
121
+ function(n) {
122
+ t.status === "pending" && (t.status = "fulfilled", t.value = n);
123
+ },
124
+ function(n) {
125
+ t.status === "pending" && (t.status = "rejected", t.reason = n);
126
+ }
127
+ )), t.status) {
128
+ case "fulfilled":
129
+ return t.value;
130
+ case "rejected":
131
+ throw t.reason;
132
+ }
133
+ }
134
+ throw t;
135
+ }
136
+ function A(t, n, s, a, d) {
137
+ var v = typeof t;
138
+ (v === "undefined" || v === "boolean") && (t = null);
139
+ var f = !1;
140
+ if (t === null) f = !0;
141
+ else
142
+ switch (v) {
143
+ case "bigint":
144
+ case "string":
145
+ case "number":
146
+ f = !0;
147
+ break;
148
+ case "object":
149
+ switch (t.$$typeof) {
150
+ case T:
151
+ case i:
152
+ f = !0;
153
+ break;
154
+ case D:
155
+ return f = t._init, A(
156
+ f(t._payload),
157
+ n,
158
+ s,
159
+ a,
160
+ d
161
+ );
162
+ }
163
+ }
164
+ if (f)
165
+ return d = d(t), f = a === "" ? "." + U(t, 0) : a, M(d) ? (s = "", f != null && (s = f.replace(V, "$&/") + "/"), A(d, n, s, "", function(W) {
166
+ return W;
167
+ })) : d != null && (re(d) && (d = K(
168
+ d,
169
+ s + (d.key == null || t && t.key === d.key ? "" : ("" + d.key).replace(
170
+ V,
171
+ "$&/"
172
+ ) + "/") + f
173
+ )), n.push(d)), 1;
174
+ f = 0;
175
+ var O = a === "" ? "." : a + ":";
176
+ if (M(t))
177
+ for (var w = 0; w < t.length; w++)
178
+ a = t[w], v = O + U(a, w), f += A(
179
+ a,
180
+ n,
181
+ s,
182
+ v,
183
+ d
184
+ );
185
+ else if (w = q(t), typeof w == "function")
186
+ for (t = w.call(t), w = 0; !(a = t.next()).done; )
187
+ a = a.value, v = O + U(a, w++), f += A(
188
+ a,
189
+ n,
190
+ s,
191
+ v,
192
+ d
193
+ );
194
+ else if (v === "object") {
195
+ if (typeof t.then == "function")
196
+ return A(
197
+ Y(t),
198
+ n,
199
+ s,
200
+ a,
201
+ d
202
+ );
203
+ throw n = String(t), Error(
204
+ "Objects are not valid as a React child (found: " + (n === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : n) + "). If you meant to render a collection of children, use an array instead."
205
+ );
206
+ }
207
+ return f;
208
+ }
209
+ function L(t, n, s) {
210
+ if (t == null) return t;
211
+ var a = [], d = 0;
212
+ return A(t, a, "", "", function(v) {
213
+ return n.call(s, v, d++);
214
+ }), a;
215
+ }
216
+ function X(t) {
217
+ if (t._status === -1) {
218
+ var n = t._result;
219
+ n = n(), n.then(
220
+ function(s) {
221
+ (t._status === 0 || t._status === -1) && (t._status = 1, t._result = s);
222
+ },
223
+ function(s) {
224
+ (t._status === 0 || t._status === -1) && (t._status = 2, t._result = s);
225
+ }
226
+ ), t._status === -1 && (t._status = 0, t._result = n);
227
+ }
228
+ if (t._status === 1) return t._result.default;
229
+ throw t._result;
230
+ }
231
+ var x = typeof reportError == "function" ? reportError : function(t) {
232
+ if (typeof window == "object" && typeof window.ErrorEvent == "function") {
233
+ var n = new window.ErrorEvent("error", {
234
+ bubbles: !0,
235
+ cancelable: !0,
236
+ message: typeof t == "object" && t !== null && typeof t.message == "string" ? String(t.message) : String(t),
237
+ error: t
238
+ });
239
+ if (!window.dispatchEvent(n)) return;
240
+ } else if (typeof process == "object" && typeof process.emit == "function") {
241
+ process.emit("uncaughtException", t);
242
+ return;
243
+ }
244
+ console.error(t);
245
+ }, ne = {
246
+ map: L,
247
+ forEach: function(t, n, s) {
248
+ L(
249
+ t,
250
+ function() {
251
+ n.apply(this, arguments);
252
+ },
253
+ s
254
+ );
255
+ },
256
+ count: function(t) {
257
+ var n = 0;
258
+ return L(t, function() {
259
+ n++;
260
+ }), n;
261
+ },
262
+ toArray: function(t) {
263
+ return L(t, function(n) {
264
+ return n;
265
+ }) || [];
266
+ },
267
+ only: function(t) {
268
+ if (!re(t))
269
+ throw Error(
270
+ "React.Children.only expected to receive a single React element child."
271
+ );
272
+ return t;
273
+ }
274
+ };
275
+ return l.Activity = H, l.Children = ne, l.Component = I, l.Fragment = P, l.Profiler = b, l.PureComponent = ee, l.StrictMode = k, l.Suspense = N, l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = y, l.__COMPILER_RUNTIME = {
276
+ __proto__: null,
277
+ c: function(t) {
278
+ return y.H.useMemoCache(t);
279
+ }
280
+ }, l.cache = function(t) {
281
+ return function() {
282
+ return t.apply(null, arguments);
283
+ };
284
+ }, l.cacheSignal = function() {
285
+ return null;
286
+ }, l.cloneElement = function(t, n, s) {
287
+ if (t == null)
288
+ throw Error(
289
+ "The argument must be a React element, but you passed " + t + "."
290
+ );
291
+ var a = J({}, t.props), d = t.key;
292
+ if (n != null)
293
+ for (v in n.key !== void 0 && (d = "" + n.key), n)
294
+ !ue.call(n, v) || v === "key" || v === "__self" || v === "__source" || v === "ref" && n.ref === void 0 || (a[v] = n[v]);
295
+ var v = arguments.length - 2;
296
+ if (v === 1) a.children = s;
297
+ else if (1 < v) {
298
+ for (var f = Array(v), O = 0; O < v; O++)
299
+ f[O] = arguments[O + 2];
300
+ a.children = f;
301
+ }
302
+ return S(t.type, d, a);
303
+ }, l.createContext = function(t) {
304
+ return t = {
305
+ $$typeof: j,
306
+ _currentValue: t,
307
+ _currentValue2: t,
308
+ _threadCount: 0,
309
+ Provider: null,
310
+ Consumer: null
311
+ }, t.Provider = t, t.Consumer = {
312
+ $$typeof: R,
313
+ _context: t
314
+ }, t;
315
+ }, l.createElement = function(t, n, s) {
316
+ var a, d = {}, v = null;
317
+ if (n != null)
318
+ for (a in n.key !== void 0 && (v = "" + n.key), n)
319
+ ue.call(n, a) && a !== "key" && a !== "__self" && a !== "__source" && (d[a] = n[a]);
320
+ var f = arguments.length - 2;
321
+ if (f === 1) d.children = s;
322
+ else if (1 < f) {
323
+ for (var O = Array(f), w = 0; w < f; w++)
324
+ O[w] = arguments[w + 2];
325
+ d.children = O;
326
+ }
327
+ if (t && t.defaultProps)
328
+ for (a in f = t.defaultProps, f)
329
+ d[a] === void 0 && (d[a] = f[a]);
330
+ return S(t, v, d);
331
+ }, l.createRef = function() {
332
+ return { current: null };
333
+ }, l.forwardRef = function(t) {
334
+ return { $$typeof: C, render: t };
335
+ }, l.isValidElement = re, l.lazy = function(t) {
336
+ return {
337
+ $$typeof: D,
338
+ _payload: { _status: -1, _result: t },
339
+ _init: X
340
+ };
341
+ }, l.memo = function(t, n) {
342
+ return {
343
+ $$typeof: oe,
344
+ type: t,
345
+ compare: n === void 0 ? null : n
346
+ };
347
+ }, l.startTransition = function(t) {
348
+ var n = y.T, s = {};
349
+ y.T = s;
350
+ try {
351
+ var a = t(), d = y.S;
352
+ d !== null && d(s, a), typeof a == "object" && a !== null && typeof a.then == "function" && a.then(te, x);
353
+ } catch (v) {
354
+ x(v);
355
+ } finally {
356
+ n !== null && s.types !== null && (n.types = s.types), y.T = n;
357
+ }
358
+ }, l.unstable_useCacheRefresh = function() {
359
+ return y.H.useCacheRefresh();
360
+ }, l.use = function(t) {
361
+ return y.H.use(t);
362
+ }, l.useActionState = function(t, n, s) {
363
+ return y.H.useActionState(t, n, s);
364
+ }, l.useCallback = function(t, n) {
365
+ return y.H.useCallback(t, n);
366
+ }, l.useContext = function(t) {
367
+ return y.H.useContext(t);
368
+ }, l.useDebugValue = function() {
369
+ }, l.useDeferredValue = function(t, n) {
370
+ return y.H.useDeferredValue(t, n);
371
+ }, l.useEffect = function(t, n) {
372
+ return y.H.useEffect(t, n);
373
+ }, l.useEffectEvent = function(t) {
374
+ return y.H.useEffectEvent(t);
375
+ }, l.useId = function() {
376
+ return y.H.useId();
377
+ }, l.useImperativeHandle = function(t, n, s) {
378
+ return y.H.useImperativeHandle(t, n, s);
379
+ }, l.useInsertionEffect = function(t, n) {
380
+ return y.H.useInsertionEffect(t, n);
381
+ }, l.useLayoutEffect = function(t, n) {
382
+ return y.H.useLayoutEffect(t, n);
383
+ }, l.useMemo = function(t, n) {
384
+ return y.H.useMemo(t, n);
385
+ }, l.useOptimistic = function(t, n) {
386
+ return y.H.useOptimistic(t, n);
387
+ }, l.useReducer = function(t, n, s) {
388
+ return y.H.useReducer(t, n, s);
389
+ }, l.useRef = function(t) {
390
+ return y.H.useRef(t);
391
+ }, l.useState = function(t) {
392
+ return y.H.useState(t);
393
+ }, l.useSyncExternalStore = function(t, n, s) {
394
+ return y.H.useSyncExternalStore(
395
+ t,
396
+ n,
397
+ s
398
+ );
399
+ }, l.useTransition = function() {
400
+ return y.H.useTransition();
401
+ }, l.version = "19.2.3", l;
402
+ }
403
+ var fe = { exports: {} };
404
+ /**
405
+ * @license React
406
+ * react.development.js
407
+ *
408
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
409
+ *
410
+ * This source code is licensed under the MIT license found in the
411
+ * LICENSE file in the root directory of this source tree.
412
+ */
413
+ fe.exports;
414
+ var De;
415
+ function Ve() {
416
+ return De || (De = 1, function(T, i) {
417
+ process.env.NODE_ENV !== "production" && function() {
418
+ function P(e, r) {
419
+ Object.defineProperty(R.prototype, e, {
420
+ get: function() {
421
+ console.warn(
422
+ "%s(...) is deprecated in plain JavaScript React classes. %s",
423
+ r[0],
424
+ r[1]
425
+ );
426
+ }
427
+ });
428
+ }
429
+ function k(e) {
430
+ return e === null || typeof e != "object" ? null : (e = Re && e[Re] || e["@@iterator"], typeof e == "function" ? e : null);
431
+ }
432
+ function b(e, r) {
433
+ e = (e = e.constructor) && (e.displayName || e.name) || "ReactClass";
434
+ var o = e + "." + r;
435
+ Te[o] || (console.error(
436
+ "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.",
437
+ r,
438
+ e
439
+ ), Te[o] = !0);
440
+ }
441
+ function R(e, r, o) {
442
+ this.props = e, this.context = r, this.refs = ve, this.updater = o || we;
443
+ }
444
+ function j() {
445
+ }
446
+ function C(e, r, o) {
447
+ this.props = e, this.context = r, this.refs = ve, this.updater = o || we;
448
+ }
449
+ function N() {
450
+ }
451
+ function oe(e) {
452
+ return "" + e;
453
+ }
454
+ function D(e) {
455
+ try {
456
+ oe(e);
457
+ var r = !1;
458
+ } catch {
459
+ r = !0;
460
+ }
461
+ if (r) {
462
+ r = console;
463
+ var o = r.error, u = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
464
+ return o.call(
465
+ r,
466
+ "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
467
+ u
468
+ ), oe(e);
469
+ }
470
+ }
471
+ function H(e) {
472
+ if (e == null) return null;
473
+ if (typeof e == "function")
474
+ return e.$$typeof === xe ? null : e.displayName || e.name || null;
475
+ if (typeof e == "string") return e;
476
+ switch (e) {
477
+ case t:
478
+ return "Fragment";
479
+ case s:
480
+ return "Profiler";
481
+ case n:
482
+ return "StrictMode";
483
+ case f:
484
+ return "Suspense";
485
+ case O:
486
+ return "SuspenseList";
487
+ case ge:
488
+ return "Activity";
489
+ }
490
+ if (typeof e == "object")
491
+ switch (typeof e.tag == "number" && console.error(
492
+ "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
493
+ ), e.$$typeof) {
494
+ case ne:
495
+ return "Portal";
496
+ case d:
497
+ return e.displayName || "Context";
498
+ case a:
499
+ return (e._context.displayName || "Context") + ".Consumer";
500
+ case v:
501
+ var r = e.render;
502
+ return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
503
+ case w:
504
+ return r = e.displayName || null, r !== null ? r : H(e.type) || "Memo";
505
+ case W:
506
+ r = e._payload, e = e._init;
507
+ try {
508
+ return H(e(r));
509
+ } catch {
510
+ }
511
+ }
512
+ return null;
513
+ }
514
+ function z(e) {
515
+ if (e === t) return "<>";
516
+ if (typeof e == "object" && e !== null && e.$$typeof === W)
517
+ return "<...>";
518
+ try {
519
+ var r = H(e);
520
+ return r ? "<" + r + ">" : "<...>";
521
+ } catch {
522
+ return "<...>";
523
+ }
524
+ }
525
+ function q() {
526
+ var e = _.A;
527
+ return e === null ? null : e.getOwner();
528
+ }
529
+ function G() {
530
+ return Error("react-stack-top-frame");
531
+ }
532
+ function J(e) {
533
+ if (le.call(e, "key")) {
534
+ var r = Object.getOwnPropertyDescriptor(e, "key").get;
535
+ if (r && r.isReactWarning) return !1;
536
+ }
537
+ return e.key !== void 0;
538
+ }
539
+ function B(e, r) {
540
+ function o() {
541
+ Se || (Se = !0, console.error(
542
+ "%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://react.dev/link/special-props)",
543
+ r
544
+ ));
545
+ }
546
+ o.isReactWarning = !0, Object.defineProperty(e, "key", {
547
+ get: o,
548
+ configurable: !0
549
+ });
550
+ }
551
+ function I() {
552
+ var e = H(this.type);
553
+ return Ce[e] || (Ce[e] = !0, console.error(
554
+ "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
555
+ )), e = this.props.ref, e !== void 0 ? e : null;
556
+ }
557
+ function F(e, r, o, u, c, m) {
558
+ var p = o.ref;
559
+ return e = {
560
+ $$typeof: x,
561
+ type: e,
562
+ key: r,
563
+ props: o,
564
+ _owner: u
565
+ }, (p !== void 0 ? p : null) !== null ? Object.defineProperty(e, "ref", {
566
+ enumerable: !1,
567
+ get: I
568
+ }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
569
+ configurable: !1,
570
+ enumerable: !1,
571
+ writable: !0,
572
+ value: 0
573
+ }), Object.defineProperty(e, "_debugInfo", {
574
+ configurable: !1,
575
+ enumerable: !1,
576
+ writable: !0,
577
+ value: null
578
+ }), Object.defineProperty(e, "_debugStack", {
579
+ configurable: !1,
580
+ enumerable: !1,
581
+ writable: !0,
582
+ value: c
583
+ }), Object.defineProperty(e, "_debugTask", {
584
+ configurable: !1,
585
+ enumerable: !1,
586
+ writable: !0,
587
+ value: m
588
+ }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
589
+ }
590
+ function ee(e, r) {
591
+ return r = F(
592
+ e.type,
593
+ r,
594
+ e.props,
595
+ e._owner,
596
+ e._debugStack,
597
+ e._debugTask
598
+ ), e._store && (r._store.validated = e._store.validated), r;
599
+ }
600
+ function Q(e) {
601
+ M(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === W && (e._payload.status === "fulfilled" ? M(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
602
+ }
603
+ function M(e) {
604
+ return typeof e == "object" && e !== null && e.$$typeof === x;
605
+ }
606
+ function te(e) {
607
+ var r = { "=": "=0", ":": "=2" };
608
+ return "$" + e.replace(/[=:]/g, function(o) {
609
+ return r[o];
610
+ });
611
+ }
612
+ function y(e, r) {
613
+ return typeof e == "object" && e !== null && e.key != null ? (D(e.key), te("" + e.key)) : r.toString(36);
614
+ }
615
+ function ue(e) {
616
+ switch (e.status) {
617
+ case "fulfilled":
618
+ return e.value;
619
+ case "rejected":
620
+ throw e.reason;
621
+ default:
622
+ switch (typeof e.status == "string" ? e.then(N, N) : (e.status = "pending", e.then(
623
+ function(r) {
624
+ e.status === "pending" && (e.status = "fulfilled", e.value = r);
625
+ },
626
+ function(r) {
627
+ e.status === "pending" && (e.status = "rejected", e.reason = r);
628
+ }
629
+ )), e.status) {
630
+ case "fulfilled":
631
+ return e.value;
632
+ case "rejected":
633
+ throw e.reason;
634
+ }
635
+ }
636
+ throw e;
637
+ }
638
+ function S(e, r, o, u, c) {
639
+ var m = typeof e;
640
+ (m === "undefined" || m === "boolean") && (e = null);
641
+ var p = !1;
642
+ if (e === null) p = !0;
643
+ else
644
+ switch (m) {
645
+ case "bigint":
646
+ case "string":
647
+ case "number":
648
+ p = !0;
649
+ break;
650
+ case "object":
651
+ switch (e.$$typeof) {
652
+ case x:
653
+ case ne:
654
+ p = !0;
655
+ break;
656
+ case W:
657
+ return p = e._init, S(
658
+ p(e._payload),
659
+ r,
660
+ o,
661
+ u,
662
+ c
663
+ );
664
+ }
665
+ }
666
+ if (p) {
667
+ p = e, c = c(p);
668
+ var g = u === "" ? "." + y(p, 0) : u;
669
+ return Oe(c) ? (o = "", g != null && (o = g.replace(je, "$&/") + "/"), S(c, r, o, "", function(Z) {
670
+ return Z;
671
+ })) : c != null && (M(c) && (c.key != null && (p && p.key === c.key || D(c.key)), o = ee(
672
+ c,
673
+ o + (c.key == null || p && p.key === c.key ? "" : ("" + c.key).replace(
674
+ je,
675
+ "$&/"
676
+ ) + "/") + g
677
+ ), u !== "" && p != null && M(p) && p.key == null && p._store && !p._store.validated && (o._store.validated = 2), c = o), r.push(c)), 1;
678
+ }
679
+ if (p = 0, g = u === "" ? "." : u + ":", Oe(e))
680
+ for (var E = 0; E < e.length; E++)
681
+ u = e[E], m = g + y(u, E), p += S(
682
+ u,
683
+ r,
684
+ o,
685
+ m,
686
+ c
687
+ );
688
+ else if (E = k(e), typeof E == "function")
689
+ for (E === e.entries && (Pe || console.warn(
690
+ "Using Maps as children is not supported. Use an array of keyed ReactElements instead."
691
+ ), Pe = !0), e = E.call(e), E = 0; !(u = e.next()).done; )
692
+ u = u.value, m = g + y(u, E++), p += S(
693
+ u,
694
+ r,
695
+ o,
696
+ m,
697
+ c
698
+ );
699
+ else if (m === "object") {
700
+ if (typeof e.then == "function")
701
+ return S(
702
+ ue(e),
703
+ r,
704
+ o,
705
+ u,
706
+ c
707
+ );
708
+ throw r = String(e), Error(
709
+ "Objects are not valid as a React child (found: " + (r === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : r) + "). If you meant to render a collection of children, use an array instead."
710
+ );
711
+ }
712
+ return p;
713
+ }
714
+ function K(e, r, o) {
715
+ if (e == null) return e;
716
+ var u = [], c = 0;
717
+ return S(e, u, "", "", function(m) {
718
+ return r.call(o, m, c++);
719
+ }), u;
720
+ }
721
+ function re(e) {
722
+ if (e._status === -1) {
723
+ var r = e._ioInfo;
724
+ r != null && (r.start = r.end = performance.now()), r = e._result;
725
+ var o = r();
726
+ if (o.then(
727
+ function(c) {
728
+ if (e._status === 0 || e._status === -1) {
729
+ e._status = 1, e._result = c;
730
+ var m = e._ioInfo;
731
+ m != null && (m.end = performance.now()), o.status === void 0 && (o.status = "fulfilled", o.value = c);
732
+ }
733
+ },
734
+ function(c) {
735
+ if (e._status === 0 || e._status === -1) {
736
+ e._status = 2, e._result = c;
737
+ var m = e._ioInfo;
738
+ m != null && (m.end = performance.now()), o.status === void 0 && (o.status = "rejected", o.reason = c);
739
+ }
740
+ }
741
+ ), r = e._ioInfo, r != null) {
742
+ r.value = o;
743
+ var u = o.displayName;
744
+ typeof u == "string" && (r.name = u);
745
+ }
746
+ e._status === -1 && (e._status = 0, e._result = o);
747
+ }
748
+ if (e._status === 1)
749
+ return r = e._result, r === void 0 && console.error(
750
+ `lazy: Expected the result of a dynamic import() call. Instead received: %s
751
+
752
+ Your code should look like:
753
+ const MyComponent = lazy(() => import('./MyComponent'))
754
+
755
+ Did you accidentally put curly braces around the import?`,
756
+ r
757
+ ), "default" in r || console.error(
758
+ `lazy: Expected the result of a dynamic import() call. Instead received: %s
759
+
760
+ Your code should look like:
761
+ const MyComponent = lazy(() => import('./MyComponent'))`,
762
+ r
763
+ ), r.default;
764
+ throw e._result;
765
+ }
766
+ function h() {
767
+ var e = _.H;
768
+ return e === null && console.error(
769
+ `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:
770
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
771
+ 2. You might be breaking the Rules of Hooks
772
+ 3. You might have more than one copy of React in the same app
773
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`
774
+ ), e;
775
+ }
776
+ function V() {
777
+ _.asyncTransitions--;
778
+ }
779
+ function U(e) {
780
+ if (pe === null)
781
+ try {
782
+ var r = ("require" + Math.random()).slice(0, 7);
783
+ pe = (T && T[r]).call(
784
+ T,
785
+ "timers"
786
+ ).setImmediate;
787
+ } catch {
788
+ pe = function(u) {
789
+ $e === !1 && ($e = !0, typeof MessageChannel > "u" && console.error(
790
+ "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."
791
+ ));
792
+ var c = new MessageChannel();
793
+ c.port1.onmessage = u, c.port2.postMessage(void 0);
794
+ };
795
+ }
796
+ return pe(e);
797
+ }
798
+ function Y(e) {
799
+ return 1 < e.length && typeof AggregateError == "function" ? new AggregateError(e) : e[0];
800
+ }
801
+ function A(e, r) {
802
+ r !== de - 1 && console.error(
803
+ "You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "
804
+ ), de = r;
805
+ }
806
+ function L(e, r, o) {
807
+ var u = _.actQueue;
808
+ if (u !== null)
809
+ if (u.length !== 0)
810
+ try {
811
+ X(u), U(function() {
812
+ return L(e, r, o);
813
+ });
814
+ return;
815
+ } catch (c) {
816
+ _.thrownErrors.push(c);
817
+ }
818
+ else _.actQueue = null;
819
+ 0 < _.thrownErrors.length ? (u = Y(_.thrownErrors), _.thrownErrors.length = 0, o(u)) : r(e);
820
+ }
821
+ function X(e) {
822
+ if (!ye) {
823
+ ye = !0;
824
+ var r = 0;
825
+ try {
826
+ for (; r < e.length; r++) {
827
+ var o = e[r];
828
+ do {
829
+ _.didUsePromise = !1;
830
+ var u = o(!1);
831
+ if (u !== null) {
832
+ if (_.didUsePromise) {
833
+ e[r] = o, e.splice(0, r);
834
+ return;
835
+ }
836
+ o = u;
837
+ } else break;
838
+ } while (!0);
839
+ }
840
+ e.length = 0;
841
+ } catch (c) {
842
+ e.splice(0, r + 1), _.thrownErrors.push(c);
843
+ } finally {
844
+ ye = !1;
845
+ }
846
+ }
847
+ }
848
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
849
+ var x = Symbol.for("react.transitional.element"), ne = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), d = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), O = Symbol.for("react.suspense_list"), w = Symbol.for("react.memo"), W = Symbol.for("react.lazy"), ge = Symbol.for("react.activity"), Re = Symbol.iterator, Te = {}, we = {
850
+ isMounted: function() {
851
+ return !1;
852
+ },
853
+ enqueueForceUpdate: function(e) {
854
+ b(e, "forceUpdate");
855
+ },
856
+ enqueueReplaceState: function(e) {
857
+ b(e, "replaceState");
858
+ },
859
+ enqueueSetState: function(e) {
860
+ b(e, "setState");
861
+ }
862
+ }, be = Object.assign, ve = {};
863
+ Object.freeze(ve), R.prototype.isReactComponent = {}, R.prototype.setState = function(e, r) {
864
+ if (typeof e != "object" && typeof e != "function" && e != null)
865
+ throw Error(
866
+ "takes an object of state variables to update or a function which returns an object of state variables."
867
+ );
868
+ this.updater.enqueueSetState(this, e, r, "setState");
869
+ }, R.prototype.forceUpdate = function(e) {
870
+ this.updater.enqueueForceUpdate(this, e, "forceUpdate");
871
+ };
872
+ var $ = {
873
+ isMounted: [
874
+ "isMounted",
875
+ "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."
876
+ ],
877
+ replaceState: [
878
+ "replaceState",
879
+ "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
880
+ ]
881
+ };
882
+ for (ae in $)
883
+ $.hasOwnProperty(ae) && P(ae, $[ae]);
884
+ j.prototype = R.prototype, $ = C.prototype = new j(), $.constructor = C, be($, R.prototype), $.isPureReactComponent = !0;
885
+ var Oe = Array.isArray, xe = Symbol.for("react.client.reference"), _ = {
886
+ H: null,
887
+ A: null,
888
+ T: null,
889
+ S: null,
890
+ actQueue: null,
891
+ asyncTransitions: 0,
892
+ isBatchingLegacy: !1,
893
+ didScheduleLegacyUpdate: !1,
894
+ didUsePromise: !1,
895
+ thrownErrors: [],
896
+ getCurrentStack: null,
897
+ recentlyCreatedOwnerStacks: 0
898
+ }, le = Object.prototype.hasOwnProperty, ke = console.createTask ? console.createTask : function() {
899
+ return null;
900
+ };
901
+ $ = {
902
+ react_stack_bottom_frame: function(e) {
903
+ return e();
904
+ }
905
+ };
906
+ var Se, Ae, Ce = {}, We = $.react_stack_bottom_frame.bind(
907
+ $,
908
+ G
909
+ )(), ze = ke(z(G)), Pe = !1, je = /\/+/g, Ne = typeof reportError == "function" ? reportError : function(e) {
910
+ if (typeof window == "object" && typeof window.ErrorEvent == "function") {
911
+ var r = new window.ErrorEvent("error", {
912
+ bubbles: !0,
913
+ cancelable: !0,
914
+ message: typeof e == "object" && e !== null && typeof e.message == "string" ? String(e.message) : String(e),
915
+ error: e
916
+ });
917
+ if (!window.dispatchEvent(r)) return;
918
+ } else if (typeof process == "object" && typeof process.emit == "function") {
919
+ process.emit("uncaughtException", e);
920
+ return;
921
+ }
922
+ console.error(e);
923
+ }, $e = !1, pe = null, de = 0, _e = !1, ye = !1, Me = typeof queueMicrotask == "function" ? function(e) {
924
+ queueMicrotask(function() {
925
+ return queueMicrotask(e);
926
+ });
927
+ } : U;
928
+ $ = Object.freeze({
929
+ __proto__: null,
930
+ c: function(e) {
931
+ return h().useMemoCache(e);
932
+ }
933
+ });
934
+ var ae = {
935
+ map: K,
936
+ forEach: function(e, r, o) {
937
+ K(
938
+ e,
939
+ function() {
940
+ r.apply(this, arguments);
941
+ },
942
+ o
943
+ );
944
+ },
945
+ count: function(e) {
946
+ var r = 0;
947
+ return K(e, function() {
948
+ r++;
949
+ }), r;
950
+ },
951
+ toArray: function(e) {
952
+ return K(e, function(r) {
953
+ return r;
954
+ }) || [];
955
+ },
956
+ only: function(e) {
957
+ if (!M(e))
958
+ throw Error(
959
+ "React.Children.only expected to receive a single React element child."
960
+ );
961
+ return e;
962
+ }
963
+ };
964
+ i.Activity = ge, i.Children = ae, i.Component = R, i.Fragment = t, i.Profiler = s, i.PureComponent = C, i.StrictMode = n, i.Suspense = f, i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = _, i.__COMPILER_RUNTIME = $, i.act = function(e) {
965
+ var r = _.actQueue, o = de;
966
+ de++;
967
+ var u = _.actQueue = r !== null ? r : [], c = !1;
968
+ try {
969
+ var m = e();
970
+ } catch (E) {
971
+ _.thrownErrors.push(E);
972
+ }
973
+ if (0 < _.thrownErrors.length)
974
+ throw A(r, o), e = Y(_.thrownErrors), _.thrownErrors.length = 0, e;
975
+ if (m !== null && typeof m == "object" && typeof m.then == "function") {
976
+ var p = m;
977
+ return Me(function() {
978
+ c || _e || (_e = !0, console.error(
979
+ "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 () => ...);"
980
+ ));
981
+ }), {
982
+ then: function(E, Z) {
983
+ c = !0, p.then(
984
+ function(se) {
985
+ if (A(r, o), o === 0) {
986
+ try {
987
+ X(u), U(function() {
988
+ return L(
989
+ se,
990
+ E,
991
+ Z
992
+ );
993
+ });
994
+ } catch (Be) {
995
+ _.thrownErrors.push(Be);
996
+ }
997
+ if (0 < _.thrownErrors.length) {
998
+ var Ge = Y(
999
+ _.thrownErrors
1000
+ );
1001
+ _.thrownErrors.length = 0, Z(Ge);
1002
+ }
1003
+ } else E(se);
1004
+ },
1005
+ function(se) {
1006
+ A(r, o), 0 < _.thrownErrors.length && (se = Y(
1007
+ _.thrownErrors
1008
+ ), _.thrownErrors.length = 0), Z(se);
1009
+ }
1010
+ );
1011
+ }
1012
+ };
1013
+ }
1014
+ var g = m;
1015
+ if (A(r, o), o === 0 && (X(u), u.length !== 0 && Me(function() {
1016
+ c || _e || (_e = !0, console.error(
1017
+ "A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"
1018
+ ));
1019
+ }), _.actQueue = null), 0 < _.thrownErrors.length)
1020
+ throw e = Y(_.thrownErrors), _.thrownErrors.length = 0, e;
1021
+ return {
1022
+ then: function(E, Z) {
1023
+ c = !0, o === 0 ? (_.actQueue = u, U(function() {
1024
+ return L(
1025
+ g,
1026
+ E,
1027
+ Z
1028
+ );
1029
+ })) : E(g);
1030
+ }
1031
+ };
1032
+ }, i.cache = function(e) {
1033
+ return function() {
1034
+ return e.apply(null, arguments);
1035
+ };
1036
+ }, i.cacheSignal = function() {
1037
+ return null;
1038
+ }, i.captureOwnerStack = function() {
1039
+ var e = _.getCurrentStack;
1040
+ return e === null ? null : e();
1041
+ }, i.cloneElement = function(e, r, o) {
1042
+ if (e == null)
1043
+ throw Error(
1044
+ "The argument must be a React element, but you passed " + e + "."
1045
+ );
1046
+ var u = be({}, e.props), c = e.key, m = e._owner;
1047
+ if (r != null) {
1048
+ var p;
1049
+ e: {
1050
+ if (le.call(r, "ref") && (p = Object.getOwnPropertyDescriptor(
1051
+ r,
1052
+ "ref"
1053
+ ).get) && p.isReactWarning) {
1054
+ p = !1;
1055
+ break e;
1056
+ }
1057
+ p = r.ref !== void 0;
1058
+ }
1059
+ p && (m = q()), J(r) && (D(r.key), c = "" + r.key);
1060
+ for (g in r)
1061
+ !le.call(r, g) || g === "key" || g === "__self" || g === "__source" || g === "ref" && r.ref === void 0 || (u[g] = r[g]);
1062
+ }
1063
+ var g = arguments.length - 2;
1064
+ if (g === 1) u.children = o;
1065
+ else if (1 < g) {
1066
+ p = Array(g);
1067
+ for (var E = 0; E < g; E++)
1068
+ p[E] = arguments[E + 2];
1069
+ u.children = p;
1070
+ }
1071
+ for (u = F(
1072
+ e.type,
1073
+ c,
1074
+ u,
1075
+ m,
1076
+ e._debugStack,
1077
+ e._debugTask
1078
+ ), c = 2; c < arguments.length; c++)
1079
+ Q(arguments[c]);
1080
+ return u;
1081
+ }, i.createContext = function(e) {
1082
+ return e = {
1083
+ $$typeof: d,
1084
+ _currentValue: e,
1085
+ _currentValue2: e,
1086
+ _threadCount: 0,
1087
+ Provider: null,
1088
+ Consumer: null
1089
+ }, e.Provider = e, e.Consumer = {
1090
+ $$typeof: a,
1091
+ _context: e
1092
+ }, e._currentRenderer = null, e._currentRenderer2 = null, e;
1093
+ }, i.createElement = function(e, r, o) {
1094
+ for (var u = 2; u < arguments.length; u++)
1095
+ Q(arguments[u]);
1096
+ u = {};
1097
+ var c = null;
1098
+ if (r != null)
1099
+ for (E in Ae || !("__self" in r) || "key" in r || (Ae = !0, console.warn(
1100
+ "Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform"
1101
+ )), J(r) && (D(r.key), c = "" + r.key), r)
1102
+ le.call(r, E) && E !== "key" && E !== "__self" && E !== "__source" && (u[E] = r[E]);
1103
+ var m = arguments.length - 2;
1104
+ if (m === 1) u.children = o;
1105
+ else if (1 < m) {
1106
+ for (var p = Array(m), g = 0; g < m; g++)
1107
+ p[g] = arguments[g + 2];
1108
+ Object.freeze && Object.freeze(p), u.children = p;
1109
+ }
1110
+ if (e && e.defaultProps)
1111
+ for (E in m = e.defaultProps, m)
1112
+ u[E] === void 0 && (u[E] = m[E]);
1113
+ c && B(
1114
+ u,
1115
+ typeof e == "function" ? e.displayName || e.name || "Unknown" : e
1116
+ );
1117
+ var E = 1e4 > _.recentlyCreatedOwnerStacks++;
1118
+ return F(
1119
+ e,
1120
+ c,
1121
+ u,
1122
+ q(),
1123
+ E ? Error("react-stack-top-frame") : We,
1124
+ E ? ke(z(e)) : ze
1125
+ );
1126
+ }, i.createRef = function() {
1127
+ var e = { current: null };
1128
+ return Object.seal(e), e;
1129
+ }, i.forwardRef = function(e) {
1130
+ e != null && e.$$typeof === w ? console.error(
1131
+ "forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
1132
+ ) : typeof e != "function" ? console.error(
1133
+ "forwardRef requires a render function but was given %s.",
1134
+ e === null ? "null" : typeof e
1135
+ ) : e.length !== 0 && e.length !== 2 && console.error(
1136
+ "forwardRef render functions accept exactly two parameters: props and ref. %s",
1137
+ e.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."
1138
+ ), e != null && e.defaultProps != null && console.error(
1139
+ "forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?"
1140
+ );
1141
+ var r = { $$typeof: v, render: e }, o;
1142
+ return Object.defineProperty(r, "displayName", {
1143
+ enumerable: !1,
1144
+ configurable: !0,
1145
+ get: function() {
1146
+ return o;
1147
+ },
1148
+ set: function(u) {
1149
+ o = u, e.name || e.displayName || (Object.defineProperty(e, "name", { value: u }), e.displayName = u);
1150
+ }
1151
+ }), r;
1152
+ }, i.isValidElement = M, i.lazy = function(e) {
1153
+ e = { _status: -1, _result: e };
1154
+ var r = {
1155
+ $$typeof: W,
1156
+ _payload: e,
1157
+ _init: re
1158
+ }, o = {
1159
+ name: "lazy",
1160
+ start: -1,
1161
+ end: -1,
1162
+ value: null,
1163
+ owner: null,
1164
+ debugStack: Error("react-stack-top-frame"),
1165
+ debugTask: console.createTask ? console.createTask("lazy()") : null
1166
+ };
1167
+ return e._ioInfo = o, r._debugInfo = [{ awaited: o }], r;
1168
+ }, i.memo = function(e, r) {
1169
+ e == null && console.error(
1170
+ "memo: The first argument must be a component. Instead received: %s",
1171
+ e === null ? "null" : typeof e
1172
+ ), r = {
1173
+ $$typeof: w,
1174
+ type: e,
1175
+ compare: r === void 0 ? null : r
1176
+ };
1177
+ var o;
1178
+ return Object.defineProperty(r, "displayName", {
1179
+ enumerable: !1,
1180
+ configurable: !0,
1181
+ get: function() {
1182
+ return o;
1183
+ },
1184
+ set: function(u) {
1185
+ o = u, e.name || e.displayName || (Object.defineProperty(e, "name", { value: u }), e.displayName = u);
1186
+ }
1187
+ }), r;
1188
+ }, i.startTransition = function(e) {
1189
+ var r = _.T, o = {};
1190
+ o._updatedFibers = /* @__PURE__ */ new Set(), _.T = o;
1191
+ try {
1192
+ var u = e(), c = _.S;
1193
+ c !== null && c(o, u), typeof u == "object" && u !== null && typeof u.then == "function" && (_.asyncTransitions++, u.then(V, V), u.then(N, Ne));
1194
+ } catch (m) {
1195
+ Ne(m);
1196
+ } finally {
1197
+ r === null && o._updatedFibers && (e = o._updatedFibers.size, o._updatedFibers.clear(), 10 < e && console.warn(
1198
+ "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."
1199
+ )), r !== null && o.types !== null && (r.types !== null && r.types !== o.types && console.error(
1200
+ "We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."
1201
+ ), r.types = o.types), _.T = r;
1202
+ }
1203
+ }, i.unstable_useCacheRefresh = function() {
1204
+ return h().useCacheRefresh();
1205
+ }, i.use = function(e) {
1206
+ return h().use(e);
1207
+ }, i.useActionState = function(e, r, o) {
1208
+ return h().useActionState(
1209
+ e,
1210
+ r,
1211
+ o
1212
+ );
1213
+ }, i.useCallback = function(e, r) {
1214
+ return h().useCallback(e, r);
1215
+ }, i.useContext = function(e) {
1216
+ var r = h();
1217
+ return e.$$typeof === a && console.error(
1218
+ "Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"
1219
+ ), r.useContext(e);
1220
+ }, i.useDebugValue = function(e, r) {
1221
+ return h().useDebugValue(e, r);
1222
+ }, i.useDeferredValue = function(e, r) {
1223
+ return h().useDeferredValue(e, r);
1224
+ }, i.useEffect = function(e, r) {
1225
+ return e == null && console.warn(
1226
+ "React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
1227
+ ), h().useEffect(e, r);
1228
+ }, i.useEffectEvent = function(e) {
1229
+ return h().useEffectEvent(e);
1230
+ }, i.useId = function() {
1231
+ return h().useId();
1232
+ }, i.useImperativeHandle = function(e, r, o) {
1233
+ return h().useImperativeHandle(e, r, o);
1234
+ }, i.useInsertionEffect = function(e, r) {
1235
+ return e == null && console.warn(
1236
+ "React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"
1237
+ ), h().useInsertionEffect(e, r);
1238
+ }, i.useLayoutEffect = function(e, r) {
1239
+ return e == null && console.warn(
1240
+ "React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"
1241
+ ), h().useLayoutEffect(e, r);
1242
+ }, i.useMemo = function(e, r) {
1243
+ return h().useMemo(e, r);
1244
+ }, i.useOptimistic = function(e, r) {
1245
+ return h().useOptimistic(e, r);
1246
+ }, i.useReducer = function(e, r, o) {
1247
+ return h().useReducer(e, r, o);
1248
+ }, i.useRef = function(e) {
1249
+ return h().useRef(e);
1250
+ }, i.useState = function(e) {
1251
+ return h().useState(e);
1252
+ }, i.useSyncExternalStore = function(e, r, o) {
1253
+ return h().useSyncExternalStore(
1254
+ e,
1255
+ r,
1256
+ o
1257
+ );
1258
+ }, i.useTransition = function() {
1259
+ return h().useTransition();
1260
+ }, i.version = "19.2.3", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1261
+ }();
1262
+ }(fe, fe.exports)), fe.exports;
1263
+ }
1264
+ var Ie;
1265
+ function qe() {
1266
+ return Ie || (Ie = 1, process.env.NODE_ENV === "production" ? Ee.exports = Ke() : Ee.exports = Ve()), Ee.exports;
34
1267
  }
35
- var E = {};
36
1268
  /**
37
1269
  * @license React
38
1270
  * react-jsx-runtime.development.js
@@ -42,276 +1274,276 @@ var E = {};
42
1274
  * This source code is licensed under the MIT license found in the
43
1275
  * LICENSE file in the root directory of this source tree.
44
1276
  */
45
- var D;
46
- function oe() {
47
- return D || (D = 1, process.env.NODE_ENV !== "production" && function() {
48
- function a(e) {
49
- if (e == null) return null;
50
- if (typeof e == "function")
51
- return e.$$typeof === Z ? null : e.displayName || e.name || null;
52
- if (typeof e == "string") return e;
53
- switch (e) {
54
- case T:
1277
+ var Ue;
1278
+ function Xe() {
1279
+ return Ue || (Ue = 1, process.env.NODE_ENV !== "production" && function() {
1280
+ function T(t) {
1281
+ if (t == null) return null;
1282
+ if (typeof t == "function")
1283
+ return t.$$typeof === re ? null : t.displayName || t.name || null;
1284
+ if (typeof t == "string") return t;
1285
+ switch (t) {
1286
+ case B:
55
1287
  return "Fragment";
56
- case U:
1288
+ case F:
57
1289
  return "Profiler";
58
- case M:
1290
+ case I:
59
1291
  return "StrictMode";
60
- case G:
1292
+ case te:
61
1293
  return "Suspense";
62
- case X:
1294
+ case y:
63
1295
  return "SuspenseList";
64
- case H:
1296
+ case K:
65
1297
  return "Activity";
66
1298
  }
67
- if (typeof e == "object")
68
- switch (typeof e.tag == "number" && console.error(
1299
+ if (typeof t == "object")
1300
+ switch (typeof t.tag == "number" && console.error(
69
1301
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
70
- ), e.$$typeof) {
71
- case W:
72
- return "Portal";
73
- case z:
74
- return e.displayName || "Context";
75
- case q:
76
- return (e._context.displayName || "Context") + ".Consumer";
1302
+ ), t.$$typeof) {
77
1303
  case J:
78
- var r = e.render;
79
- return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
80
- case B:
81
- return r = e.displayName || null, r !== null ? r : a(e.type) || "Memo";
82
- case h:
83
- r = e._payload, e = e._init;
1304
+ return "Portal";
1305
+ case Q:
1306
+ return t.displayName || "Context";
1307
+ case ee:
1308
+ return (t._context.displayName || "Context") + ".Consumer";
1309
+ case M:
1310
+ var n = t.render;
1311
+ return t = t.displayName, t || (t = n.displayName || n.name || "", t = t !== "" ? "ForwardRef(" + t + ")" : "ForwardRef"), t;
1312
+ case ue:
1313
+ return n = t.displayName || null, n !== null ? n : T(t.type) || "Memo";
1314
+ case S:
1315
+ n = t._payload, t = t._init;
84
1316
  try {
85
- return a(e(r));
1317
+ return T(t(n));
86
1318
  } catch {
87
1319
  }
88
1320
  }
89
1321
  return null;
90
1322
  }
91
- function l(e) {
92
- return "" + e;
1323
+ function i(t) {
1324
+ return "" + t;
93
1325
  }
94
- function i(e) {
1326
+ function P(t) {
95
1327
  try {
96
- l(e);
97
- var r = !1;
1328
+ i(t);
1329
+ var n = !1;
98
1330
  } catch {
99
- r = !0;
1331
+ n = !0;
100
1332
  }
101
- if (r) {
102
- r = console;
103
- var t = r.error, n = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
104
- return t.call(
105
- r,
1333
+ if (n) {
1334
+ n = console;
1335
+ var s = n.error, a = typeof Symbol == "function" && Symbol.toStringTag && t[Symbol.toStringTag] || t.constructor.name || "Object";
1336
+ return s.call(
1337
+ n,
106
1338
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
107
- n
108
- ), l(e);
1339
+ a
1340
+ ), i(t);
109
1341
  }
110
1342
  }
111
- function c(e) {
112
- if (e === T) return "<>";
113
- if (typeof e == "object" && e !== null && e.$$typeof === h)
1343
+ function k(t) {
1344
+ if (t === B) return "<>";
1345
+ if (typeof t == "object" && t !== null && t.$$typeof === S)
114
1346
  return "<...>";
115
1347
  try {
116
- var r = a(e);
117
- return r ? "<" + r + ">" : "<...>";
1348
+ var n = T(t);
1349
+ return n ? "<" + n + ">" : "<...>";
118
1350
  } catch {
119
1351
  return "<...>";
120
1352
  }
121
1353
  }
122
- function s() {
123
- var e = k.A;
124
- return e === null ? null : e.getOwner();
1354
+ function b() {
1355
+ var t = h.A;
1356
+ return t === null ? null : t.getOwner();
125
1357
  }
126
- function u() {
1358
+ function R() {
127
1359
  return Error("react-stack-top-frame");
128
1360
  }
129
- function f(e) {
130
- if (x.call(e, "key")) {
131
- var r = Object.getOwnPropertyDescriptor(e, "key").get;
132
- if (r && r.isReactWarning) return !1;
1361
+ function j(t) {
1362
+ if (V.call(t, "key")) {
1363
+ var n = Object.getOwnPropertyDescriptor(t, "key").get;
1364
+ if (n && n.isReactWarning) return !1;
133
1365
  }
134
- return e.key !== void 0;
1366
+ return t.key !== void 0;
135
1367
  }
136
- function m(e, r) {
137
- function t() {
138
- j || (j = !0, console.error(
1368
+ function C(t, n) {
1369
+ function s() {
1370
+ A || (A = !0, console.error(
139
1371
  "%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://react.dev/link/special-props)",
140
- r
1372
+ n
141
1373
  ));
142
1374
  }
143
- t.isReactWarning = !0, Object.defineProperty(e, "key", {
144
- get: t,
1375
+ s.isReactWarning = !0, Object.defineProperty(t, "key", {
1376
+ get: s,
145
1377
  configurable: !0
146
1378
  });
147
1379
  }
148
- function d() {
149
- var e = a(this.type);
150
- return N[e] || (N[e] = !0, console.error(
1380
+ function N() {
1381
+ var t = T(this.type);
1382
+ return L[t] || (L[t] = !0, console.error(
151
1383
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
152
- )), e = this.props.ref, e !== void 0 ? e : null;
1384
+ )), t = this.props.ref, t !== void 0 ? t : null;
153
1385
  }
154
- function L(e, r, t, n, v, S) {
155
- var o = t.ref;
156
- return e = {
157
- $$typeof: w,
158
- type: e,
159
- key: r,
160
- props: t,
161
- _owner: n
162
- }, (o !== void 0 ? o : null) !== null ? Object.defineProperty(e, "ref", {
1386
+ function oe(t, n, s, a, d, v) {
1387
+ var f = s.ref;
1388
+ return t = {
1389
+ $$typeof: G,
1390
+ type: t,
1391
+ key: n,
1392
+ props: s,
1393
+ _owner: a
1394
+ }, (f !== void 0 ? f : null) !== null ? Object.defineProperty(t, "ref", {
163
1395
  enumerable: !1,
164
- get: d
165
- }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
1396
+ get: N
1397
+ }) : Object.defineProperty(t, "ref", { enumerable: !1, value: null }), t._store = {}, Object.defineProperty(t._store, "validated", {
166
1398
  configurable: !1,
167
1399
  enumerable: !1,
168
1400
  writable: !0,
169
1401
  value: 0
170
- }), Object.defineProperty(e, "_debugInfo", {
1402
+ }), Object.defineProperty(t, "_debugInfo", {
171
1403
  configurable: !1,
172
1404
  enumerable: !1,
173
1405
  writable: !0,
174
1406
  value: null
175
- }), Object.defineProperty(e, "_debugStack", {
1407
+ }), Object.defineProperty(t, "_debugStack", {
176
1408
  configurable: !1,
177
1409
  enumerable: !1,
178
1410
  writable: !0,
179
- value: v
180
- }), Object.defineProperty(e, "_debugTask", {
1411
+ value: d
1412
+ }), Object.defineProperty(t, "_debugTask", {
181
1413
  configurable: !1,
182
1414
  enumerable: !1,
183
1415
  writable: !0,
184
- value: S
185
- }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
1416
+ value: v
1417
+ }), Object.freeze && (Object.freeze(t.props), Object.freeze(t)), t;
186
1418
  }
187
- function A(e, r, t, n, v, S) {
188
- var o = r.children;
189
- if (o !== void 0)
190
- if (n)
191
- if (K(o)) {
192
- for (n = 0; n < o.length; n++)
193
- P(o[n]);
194
- Object.freeze && Object.freeze(o);
1419
+ function D(t, n, s, a, d, v) {
1420
+ var f = n.children;
1421
+ if (f !== void 0)
1422
+ if (a)
1423
+ if (U(f)) {
1424
+ for (a = 0; a < f.length; a++)
1425
+ H(f[a]);
1426
+ Object.freeze && Object.freeze(f);
195
1427
  } else
196
1428
  console.error(
197
1429
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
198
1430
  );
199
- else P(o);
200
- if (x.call(r, "key")) {
201
- o = a(e);
202
- var _ = Object.keys(r).filter(function(Q) {
203
- return Q !== "key";
1431
+ else H(f);
1432
+ if (V.call(n, "key")) {
1433
+ f = T(t);
1434
+ var O = Object.keys(n).filter(function(W) {
1435
+ return W !== "key";
204
1436
  });
205
- n = 0 < _.length ? "{key: someKey, " + _.join(": ..., ") + ": ...}" : "{key: someKey}", $[o + n] || (_ = 0 < _.length ? "{" + _.join(": ..., ") + ": ...}" : "{}", console.error(
1437
+ a = 0 < O.length ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}", ne[f + a] || (O = 0 < O.length ? "{" + O.join(": ..., ") + ": ...}" : "{}", console.error(
206
1438
  `A props object containing a "key" prop is being spread into JSX:
207
1439
  let props = %s;
208
1440
  <%s {...props} />
209
1441
  React keys must be passed directly to JSX without using spread:
210
1442
  let props = %s;
211
1443
  <%s key={someKey} {...props} />`,
212
- n,
213
- o,
214
- _,
215
- o
216
- ), $[o + n] = !0);
217
- }
218
- if (o = null, t !== void 0 && (i(t), o = "" + t), f(r) && (i(r.key), o = "" + r.key), "key" in r) {
219
- t = {};
220
- for (var g in r)
221
- g !== "key" && (t[g] = r[g]);
222
- } else t = r;
223
- return o && m(
224
- t,
225
- typeof e == "function" ? e.displayName || e.name || "Unknown" : e
226
- ), L(
227
- e,
228
- o,
1444
+ a,
1445
+ f,
1446
+ O,
1447
+ f
1448
+ ), ne[f + a] = !0);
1449
+ }
1450
+ if (f = null, s !== void 0 && (P(s), f = "" + s), j(n) && (P(n.key), f = "" + n.key), "key" in n) {
1451
+ s = {};
1452
+ for (var w in n)
1453
+ w !== "key" && (s[w] = n[w]);
1454
+ } else s = n;
1455
+ return f && C(
1456
+ s,
1457
+ typeof t == "function" ? t.displayName || t.name || "Unknown" : t
1458
+ ), oe(
229
1459
  t,
230
- s(),
231
- v,
232
- S
1460
+ f,
1461
+ s,
1462
+ b(),
1463
+ d,
1464
+ v
233
1465
  );
234
1466
  }
235
- function P(e) {
236
- y(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === h && (e._payload.status === "fulfilled" ? y(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
1467
+ function H(t) {
1468
+ z(t) ? t._store && (t._store.validated = 1) : typeof t == "object" && t !== null && t.$$typeof === S && (t._payload.status === "fulfilled" ? z(t._payload.value) && t._payload.value._store && (t._payload.value._store.validated = 1) : t._store && (t._store.validated = 1));
237
1469
  }
238
- function y(e) {
239
- return typeof e == "object" && e !== null && e.$$typeof === w;
1470
+ function z(t) {
1471
+ return typeof t == "object" && t !== null && t.$$typeof === G;
240
1472
  }
241
- var R = ee, w = Symbol.for("react.transitional.element"), W = Symbol.for("react.portal"), T = Symbol.for("react.fragment"), M = Symbol.for("react.strict_mode"), U = Symbol.for("react.profiler"), q = Symbol.for("react.consumer"), z = Symbol.for("react.context"), J = Symbol.for("react.forward_ref"), G = Symbol.for("react.suspense"), X = Symbol.for("react.suspense_list"), B = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), H = Symbol.for("react.activity"), Z = Symbol.for("react.client.reference"), k = R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, x = Object.prototype.hasOwnProperty, K = Array.isArray, O = console.createTask ? console.createTask : function() {
1473
+ var q = qe(), G = Symbol.for("react.transitional.element"), J = Symbol.for("react.portal"), B = Symbol.for("react.fragment"), I = Symbol.for("react.strict_mode"), F = Symbol.for("react.profiler"), ee = Symbol.for("react.consumer"), Q = Symbol.for("react.context"), M = Symbol.for("react.forward_ref"), te = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), ue = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), K = Symbol.for("react.activity"), re = Symbol.for("react.client.reference"), h = q.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, V = Object.prototype.hasOwnProperty, U = Array.isArray, Y = console.createTask ? console.createTask : function() {
242
1474
  return null;
243
1475
  };
244
- R = {
245
- react_stack_bottom_frame: function(e) {
246
- return e();
1476
+ q = {
1477
+ react_stack_bottom_frame: function(t) {
1478
+ return t();
247
1479
  }
248
1480
  };
249
- var j, N = {}, C = R.react_stack_bottom_frame.bind(
250
- R,
251
- u
252
- )(), Y = O(c(u)), $ = {};
253
- E.Fragment = T, E.jsx = function(e, r, t) {
254
- var n = 1e4 > k.recentlyCreatedOwnerStacks++;
255
- return A(
256
- e,
257
- r,
1481
+ var A, L = {}, X = q.react_stack_bottom_frame.bind(
1482
+ q,
1483
+ R
1484
+ )(), x = Y(k(R)), ne = {};
1485
+ ce.Fragment = B, ce.jsx = function(t, n, s) {
1486
+ var a = 1e4 > h.recentlyCreatedOwnerStacks++;
1487
+ return D(
258
1488
  t,
1489
+ n,
1490
+ s,
259
1491
  !1,
260
- n ? Error("react-stack-top-frame") : C,
261
- n ? O(c(e)) : Y
1492
+ a ? Error("react-stack-top-frame") : X,
1493
+ a ? Y(k(t)) : x
262
1494
  );
263
- }, E.jsxs = function(e, r, t) {
264
- var n = 1e4 > k.recentlyCreatedOwnerStacks++;
265
- return A(
266
- e,
267
- r,
1495
+ }, ce.jsxs = function(t, n, s) {
1496
+ var a = 1e4 > h.recentlyCreatedOwnerStacks++;
1497
+ return D(
268
1498
  t,
1499
+ n,
1500
+ s,
269
1501
  !0,
270
- n ? Error("react-stack-top-frame") : C,
271
- n ? O(c(e)) : Y
1502
+ a ? Error("react-stack-top-frame") : X,
1503
+ a ? Y(k(t)) : x
272
1504
  );
273
1505
  };
274
- }()), E;
1506
+ }()), ce;
275
1507
  }
276
- var V;
277
- function ae() {
278
- return V || (V = 1, process.env.NODE_ENV === "production" ? b.exports = ne() : b.exports = oe()), b.exports;
1508
+ var He;
1509
+ function Ze() {
1510
+ return He || (He = 1, process.env.NODE_ENV === "production" ? me.exports = Qe() : me.exports = Xe()), me.exports;
279
1511
  }
280
- var se = ae();
281
- const ue = {
1512
+ var Je = Ze(), he = qe();
1513
+ const et = {
282
1514
  center: [54.145464, 32.527699],
283
1515
  zoom: 5,
284
1516
  poi: !1,
285
1517
  traffic: !1
286
1518
  };
287
- function fe(a) {
288
- const l = I(null), i = I(null), {
289
- options: c,
290
- mapSetter: s,
291
- containerElementSetter: u,
292
- className: f,
293
- ...m
294
- } = a;
295
- return re(() => {
296
- if (!c.mapKey) {
1519
+ function nt(T) {
1520
+ const i = he.useRef(null), P = he.useRef(null), {
1521
+ options: k,
1522
+ mapSetter: b,
1523
+ containerElementSetter: R,
1524
+ className: j,
1525
+ ...C
1526
+ } = T;
1527
+ return he.useEffect(() => {
1528
+ if (!k.mapKey) {
297
1529
  console.error("Please provide a mapKey in options!");
298
1530
  return;
299
1531
  }
300
- if (l.current && !i.current)
1532
+ if (i.current && !P.current)
301
1533
  try {
302
- const d = new te.Map({
303
- ...ue,
304
- ...c,
305
- container: l.current
1534
+ const N = new Fe.Map({
1535
+ ...et,
1536
+ ...k,
1537
+ container: i.current
306
1538
  });
307
- i.current = d, typeof s == "function" && s(d), typeof u == "function" && u(l.current);
308
- } catch (d) {
309
- console.group("Error in constructing map:"), console.error(d), console.groupEnd();
1539
+ P.current = N, typeof b == "function" && b(N), typeof R == "function" && R(i.current);
1540
+ } catch (N) {
1541
+ console.group("Error in constructing map:"), console.error(N), console.groupEnd();
310
1542
  }
311
- }, [u, s, c]), c.mapKey ? /* @__PURE__ */ se.jsx("div", { className: `map-container ${f || ""}`, ref: l, ...m }) : null;
1543
+ }, [R, b, k]), k.mapKey ? /* @__PURE__ */ Je.jsx("div", { className: `map-container ${j || ""}`, ref: i, ...C }) : null;
312
1544
  }
313
- var ce = /* @__PURE__ */ ((a) => (a.neshanVector = "neshanVector", a.neshanVectorNight = "neshanVectorNight", a.neshanRaster = "neshanRaster", a.neshanRasterNight = "neshanRasterNight", a))(ce || {});
1545
+ var tt = /* @__PURE__ */ ((T) => (T.neshanVector = "neshanVector", T.neshanVectorNight = "neshanVectorNight", T.neshanRaster = "neshanRaster", T.neshanRasterNight = "neshanRasterNight", T))(tt || {});
314
1546
  export {
315
- fe as MapComponent,
316
- ce as MapTypes
1547
+ nt as MapComponent,
1548
+ tt as MapTypes
317
1549
  };