@seekapi/icon-editor 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/README.md +7 -3
- package/dist/seek-icon-editor.css +1 -1
- package/dist/seek-icon-editor.js +445 -448
- package/dist/seek-icon-editor.umd.cjs +6 -6
- package/package.json +4 -3
package/dist/seek-icon-editor.js
CHANGED
|
@@ -950,9 +950,9 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
950
950
|
return "\nError generating stack: " + e.message + "\n" + e.stack;
|
|
951
951
|
}
|
|
952
952
|
}
|
|
953
|
-
var he = Object.prototype.hasOwnProperty,
|
|
953
|
+
var he = Object.prototype.hasOwnProperty, W = t.unstable_scheduleCallback, ge = t.unstable_cancelCallback, _e = t.unstable_shouldYield, ve = t.unstable_requestPaint, ye = t.unstable_now, be = t.unstable_getCurrentPriorityLevel, xe = t.unstable_ImmediatePriority, Se = t.unstable_UserBlockingPriority, Ce = t.unstable_NormalPriority, we = t.unstable_LowPriority, Te = t.unstable_IdlePriority, G = t.log, Ee = t.unstable_setDisableYieldValue, De = null, Oe = null;
|
|
954
954
|
function ke(e) {
|
|
955
|
-
if (typeof
|
|
955
|
+
if (typeof G == "function" && Ee(e), Oe && typeof Oe.setStrictMode == "function") try {
|
|
956
956
|
Oe.setStrictMode(De, e);
|
|
957
957
|
} catch {}
|
|
958
958
|
}
|
|
@@ -2404,7 +2404,7 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
2404
2404
|
}
|
|
2405
2405
|
var aa = I.S;
|
|
2406
2406
|
I.S = function(e, t) {
|
|
2407
|
-
$l =
|
|
2407
|
+
$l = ye(), typeof t == "object" && t && typeof t.then == "function" && na(e, t), aa !== null && aa(e, t);
|
|
2408
2408
|
};
|
|
2409
2409
|
var oa = B(null);
|
|
2410
2410
|
function sa() {
|
|
@@ -4474,15 +4474,15 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
4474
4474
|
}
|
|
4475
4475
|
e = e.sibling;
|
|
4476
4476
|
}
|
|
4477
|
-
r.tail !== null &&
|
|
4477
|
+
r.tail !== null && ye() > eu && (t.flags |= 128, i = !0, kc(r, !1), t.lanes = 4194304);
|
|
4478
4478
|
}
|
|
4479
4479
|
else {
|
|
4480
4480
|
if (!i) if (e = $a(o), e !== null) {
|
|
4481
4481
|
if (t.flags |= 128, i = !0, e = e.updateQueue, t.updateQueue = e, Oc(t, e), kc(r, !0), r.tail === null && r.tailMode === "hidden" && !o.alternate && !Ci) return Ac(t), null;
|
|
4482
|
-
} else 2 *
|
|
4482
|
+
} else 2 * ye() - r.renderingStartTime > eu && n !== 536870912 && (t.flags |= 128, i = !0, kc(r, !1), t.lanes = 4194304);
|
|
4483
4483
|
r.isBackwards ? (o.sibling = t.child, t.child = o) : (e = r.last, e === null ? t.child = o : e.sibling = o, r.last = o);
|
|
4484
4484
|
}
|
|
4485
|
-
return r.tail === null ? (Ac(t), null) : (e = r.tail, r.rendering = e, r.tail = e.sibling, r.renderingStartTime =
|
|
4485
|
+
return r.tail === null ? (Ac(t), null) : (e = r.tail, r.rendering = e, r.tail = e.sibling, r.renderingStartTime = ye(), e.sibling = null, n = Qa.current, V(Qa, i ? n & 1 | 2 : n & 1), Ci && gi(t, r.treeForkCount), e);
|
|
4486
4486
|
case 22:
|
|
4487
4487
|
case 23: return Za(t), Wa(), r = t.memoizedState !== null, e === null ? r && (t.flags |= 8192) : e.memoizedState !== null !== r && (t.flags |= 8192), r ? n & 536870912 && !(t.flags & 128) && (Ac(t), t.subtreeFlags & 6 && (t.flags |= 8192)) : Ac(t), n = t.updateQueue, n !== null && Oc(t, n.retryQueue), n = null, e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), r = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (r = t.memoizedState.cachePool.pool), r !== n && (t.flags |= 2048), e !== null && te(oa), null;
|
|
4488
4488
|
case 24: return n = null, e !== null && (n = e.memoizedState.cache), t.memoizedState.cache !== n && (t.flags |= 2048), Ri(Xi), Ac(t), null;
|
|
@@ -5088,7 +5088,7 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
5088
5088
|
ll(t, e), fl(e), r & 4 && (r = e.updateQueue, r !== null && (e.updateQueue = null, cl(e, r)));
|
|
5089
5089
|
break;
|
|
5090
5090
|
case 13:
|
|
5091
|
-
ll(t, e), fl(e), e.child.flags & 8192 && e.memoizedState !== null != (n !== null && n.memoizedState !== null) && (Ql =
|
|
5091
|
+
ll(t, e), fl(e), e.child.flags & 8192 && e.memoizedState !== null != (n !== null && n.memoizedState !== null) && (Ql = ye()), r & 4 && (r = e.updateQueue, r !== null && (e.updateQueue = null, cl(e, r)));
|
|
5092
5092
|
break;
|
|
5093
5093
|
case 22:
|
|
5094
5094
|
i = e.memoizedState !== null;
|
|
@@ -5555,7 +5555,7 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
5555
5555
|
case 5: break;
|
|
5556
5556
|
default: throw Error(a(329));
|
|
5557
5557
|
}
|
|
5558
|
-
if ((t & 62914560) === t && (i = Ql + 300 -
|
|
5558
|
+
if ((t & 62914560) === t && (i = Ql + 300 - ye(), 10 < i)) {
|
|
5559
5559
|
if (vu(r, t, ql, !zl), Re(r, 0, !0) !== 0) break a;
|
|
5560
5560
|
ou = t, r.timeoutHandle = Jd(gu.bind(null, r, n, Xl, tu, Zl, t, ql, Gl, Jl, zl, o, "Throttled", -0, 0), i);
|
|
5561
5561
|
break a;
|
|
@@ -5579,7 +5579,7 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
5579
5579
|
waitingForViewTransition: !1,
|
|
5580
5580
|
unsuspend: Ut
|
|
5581
5581
|
}, Tl(t, a, d);
|
|
5582
|
-
var m = (a & 62914560) === a ? Ql -
|
|
5582
|
+
var m = (a & 62914560) === a ? Ql - ye() : (a & 4194048) === a ? $l - ye() : 0;
|
|
5583
5583
|
if (m = Jf(d, m), m !== null) {
|
|
5584
5584
|
ou = a, e.cancelPendingCommit = m(Iu.bind(null, e, t, a, n, r, i, o, s, c, u, d, null, f, p)), vu(e, a, o, !l);
|
|
5585
5585
|
return;
|
|
@@ -5701,7 +5701,7 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
5701
5701
|
var n = Nl;
|
|
5702
5702
|
Nl |= 2;
|
|
5703
5703
|
var r = wu(), i = Tu();
|
|
5704
|
-
Pl !== e || Il !== t ? (tu = null, eu =
|
|
5704
|
+
Pl !== e || Il !== t ? (tu = null, eu = ye() + 500, xu(e, t)) : Bl = ze(e, t);
|
|
5705
5705
|
a: do
|
|
5706
5706
|
try {
|
|
5707
5707
|
if (Ll !== 0 && Fl !== null) {
|
|
@@ -5768,7 +5768,7 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
5768
5768
|
return Ii = Fi = null, I.H = r, I.A = i, Nl = n, Fl === null ? (Pl = null, Il = 0, Hr(), Ul) : 0;
|
|
5769
5769
|
}
|
|
5770
5770
|
function Au() {
|
|
5771
|
-
for (; Fl !== null && !
|
|
5771
|
+
for (; Fl !== null && !_e();) ju(Fl);
|
|
5772
5772
|
}
|
|
5773
5773
|
function ju(e) {
|
|
5774
5774
|
var t = wc(e.alternate, e, Hl);
|
|
@@ -5930,7 +5930,7 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
5930
5930
|
}
|
|
5931
5931
|
function zu() {
|
|
5932
5932
|
if (ru === 4 || ru === 3) {
|
|
5933
|
-
ru = 0,
|
|
5933
|
+
ru = 0, ve();
|
|
5934
5934
|
var e = iu, t = au, n = ou, r = lu;
|
|
5935
5935
|
t.subtreeFlags & 10256 || t.flags & 10256 ? ru = 5 : (ru = 0, au = iu = null, Bu(e, e.pendingLanes));
|
|
5936
5936
|
var i = e.pendingLanes;
|
|
@@ -6005,7 +6005,7 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
6005
6005
|
}
|
|
6006
6006
|
function Ku(e, t, n) {
|
|
6007
6007
|
var r = e.pingCache;
|
|
6008
|
-
r !== null && r.delete(t), e.pingedLanes |= e.suspendedLanes & n, e.warmLanes &= ~n, Pl === e && (Il & n) === n && (Ul === 4 || Ul === 3 && (Il & 62914560) === Il && 300 >
|
|
6008
|
+
r !== null && r.delete(t), e.pingedLanes |= e.suspendedLanes & n, e.warmLanes &= ~n, Pl === e && (Il & n) === n && (Ul === 4 || Ul === 3 && (Il & 62914560) === Il && 300 > ye() - Ql ? !(Nl & 2) && xu(e, 0) : Kl |= n, Jl === Il && (Jl = 0)), rd(e);
|
|
6009
6009
|
}
|
|
6010
6010
|
function qu(e, t) {
|
|
6011
6011
|
t === 0 && (t = Ve()), e = Gr(e, t), e !== null && (Ue(e, t), rd(e));
|
|
@@ -6033,7 +6033,7 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
6033
6033
|
r !== null && r.delete(t), qu(e, n);
|
|
6034
6034
|
}
|
|
6035
6035
|
function Xu(e, t) {
|
|
6036
|
-
return
|
|
6036
|
+
return W(e, t);
|
|
6037
6037
|
}
|
|
6038
6038
|
var Zu = null, Qu = null, $u = !1, ed = !1, td = !1, nd = 0;
|
|
6039
6039
|
function rd(e) {
|
|
@@ -6066,7 +6066,7 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
6066
6066
|
ed = $u = !1;
|
|
6067
6067
|
var e = 0;
|
|
6068
6068
|
nd !== 0 && qd() && (e = nd);
|
|
6069
|
-
for (var t =
|
|
6069
|
+
for (var t = ye(), n = null, r = Zu; r !== null;) {
|
|
6070
6070
|
var i = r.next, a = sd(r, t);
|
|
6071
6071
|
a === 0 ? (r.next = null, n === null ? Zu = i : n.next = i, i === null && (Qu = n)) : (n = r, (e !== 0 || a & 3) && (ed = !0)), r = i;
|
|
6072
6072
|
}
|
|
@@ -6077,10 +6077,10 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
6077
6077
|
var o = 31 - Ae(a), s = 1 << o, c = i[o];
|
|
6078
6078
|
c === -1 ? ((s & n) === 0 || (s & r) !== 0) && (i[o] = Be(s, t)) : c <= t && (e.expiredLanes |= s), a &= ~s;
|
|
6079
6079
|
}
|
|
6080
|
-
if (t = Pl, n = Il, n = Re(e, e === t ? n : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r = e.callbackNode, n === 0 || e === t && (Ll === 2 || Ll === 9) || e.cancelPendingCommit !== null) return r !== null && r !== null &&
|
|
6080
|
+
if (t = Pl, n = Il, n = Re(e, e === t ? n : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r = e.callbackNode, n === 0 || e === t && (Ll === 2 || Ll === 9) || e.cancelPendingCommit !== null) return r !== null && r !== null && ge(r), e.callbackNode = null, e.callbackPriority = 0;
|
|
6081
6081
|
if (!(n & 3) || ze(e, n)) {
|
|
6082
6082
|
if (t = n & -n, t === e.callbackPriority) return t;
|
|
6083
|
-
switch (r !== null &&
|
|
6083
|
+
switch (r !== null && ge(r), Ye(n)) {
|
|
6084
6084
|
case 2:
|
|
6085
6085
|
case 8:
|
|
6086
6086
|
n = Se;
|
|
@@ -6093,16 +6093,16 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
6093
6093
|
break;
|
|
6094
6094
|
default: n = Ce;
|
|
6095
6095
|
}
|
|
6096
|
-
return r = cd.bind(null, e), n =
|
|
6096
|
+
return r = cd.bind(null, e), n = W(n, r), e.callbackPriority = t, e.callbackNode = n, t;
|
|
6097
6097
|
}
|
|
6098
|
-
return r !== null && r !== null &&
|
|
6098
|
+
return r !== null && r !== null && ge(r), e.callbackPriority = 2, e.callbackNode = null, 2;
|
|
6099
6099
|
}
|
|
6100
6100
|
function cd(e, t) {
|
|
6101
6101
|
if (ru !== 0 && ru !== 5) return e.callbackNode = null, e.callbackPriority = 0, null;
|
|
6102
6102
|
var n = e.callbackNode;
|
|
6103
6103
|
if (Vu() && e.callbackNode !== n) return null;
|
|
6104
6104
|
var r = Il;
|
|
6105
|
-
return r = Re(e, e === Pl ? r : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r === 0 ? null : (hu(e, r, t), sd(e,
|
|
6105
|
+
return r = Re(e, e === Pl ? r : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r === 0 ? null : (hu(e, r, t), sd(e, ye()), e.callbackNode != null && e.callbackNode === n ? cd.bind(null, e) : null);
|
|
6106
6106
|
}
|
|
6107
6107
|
function ld(e, t) {
|
|
6108
6108
|
if (Vu()) return null;
|
|
@@ -6110,7 +6110,7 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
6110
6110
|
}
|
|
6111
6111
|
function ud() {
|
|
6112
6112
|
Zd(function() {
|
|
6113
|
-
Nl & 6 ?
|
|
6113
|
+
Nl & 6 ? W(xe, ad) : od();
|
|
6114
6114
|
});
|
|
6115
6115
|
}
|
|
6116
6116
|
function dd() {
|
|
@@ -7686,7 +7686,7 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
7686
7686
|
var c = 1 << 31 - Ae(o);
|
|
7687
7687
|
s.entanglements[1] |= c, o &= ~c;
|
|
7688
7688
|
}
|
|
7689
|
-
rd(a), !(Nl & 6) && (eu =
|
|
7689
|
+
rd(a), !(Nl & 6) && (eu = ye() + 500, id(0, !1));
|
|
7690
7690
|
}
|
|
7691
7691
|
}
|
|
7692
7692
|
break;
|
|
@@ -8596,17 +8596,17 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
8596
8596
|
}
|
|
8597
8597
|
return !!t.checkDCE;
|
|
8598
8598
|
}
|
|
8599
|
-
function
|
|
8599
|
+
function W(e) {
|
|
8600
8600
|
if (typeof vp == "function" && yp(e), xp && typeof xp.setStrictMode == "function") try {
|
|
8601
8601
|
xp.setStrictMode(bp, e);
|
|
8602
8602
|
} catch (e) {
|
|
8603
8603
|
Sp || (Sp = !0, console.error("React instrumentation encountered an error: %o", e));
|
|
8604
8604
|
}
|
|
8605
8605
|
}
|
|
8606
|
-
function
|
|
8606
|
+
function ge(e) {
|
|
8607
8607
|
return e >>>= 0, e === 0 ? 32 : 31 - (Tp(e) / Ep | 0) | 0;
|
|
8608
8608
|
}
|
|
8609
|
-
function
|
|
8609
|
+
function _e(e) {
|
|
8610
8610
|
var t = e & 42;
|
|
8611
8611
|
if (t !== 0) return t;
|
|
8612
8612
|
switch (e & -e) {
|
|
@@ -8644,15 +8644,15 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
8644
8644
|
default: return console.error("Should have found matching lanes. This is a bug in React."), e;
|
|
8645
8645
|
}
|
|
8646
8646
|
}
|
|
8647
|
-
function
|
|
8647
|
+
function ve(e, t, n) {
|
|
8648
8648
|
var r = e.pendingLanes;
|
|
8649
8649
|
if (r === 0) return 0;
|
|
8650
8650
|
var i = 0, a = e.suspendedLanes, o = e.pingedLanes;
|
|
8651
8651
|
e = e.warmLanes;
|
|
8652
8652
|
var s = r & 134217727;
|
|
8653
|
-
return s === 0 ? (s = r & ~a, s === 0 ? o === 0 ? n || (n = r & ~e, n !== 0 && (i =
|
|
8653
|
+
return s === 0 ? (s = r & ~a, s === 0 ? o === 0 ? n || (n = r & ~e, n !== 0 && (i = _e(n))) : i = _e(o) : i = _e(s)) : (r = s & ~a, r === 0 ? (o &= s, o === 0 ? n || (n = s & ~e, n !== 0 && (i = _e(n))) : i = _e(o)) : i = _e(r)), i === 0 ? 0 : t !== 0 && t !== i && (t & a) === 0 && (a = i & -i, n = t & -t, a >= n || a === 32 && n & 4194048) ? t : i;
|
|
8654
8654
|
}
|
|
8655
|
-
function
|
|
8655
|
+
function ye(e, t) {
|
|
8656
8656
|
return (e.pendingLanes & ~(e.suspendedLanes & ~e.pingedLanes) & t) === 0;
|
|
8657
8657
|
}
|
|
8658
8658
|
function be(e, t) {
|
|
@@ -8723,14 +8723,14 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
8723
8723
|
var r = 31 - wp(t);
|
|
8724
8724
|
e.entangledLanes |= t, e.entanglements[r] = e.entanglements[r] | 1073741824 | n & 261930;
|
|
8725
8725
|
}
|
|
8726
|
-
function
|
|
8726
|
+
function G(e, t) {
|
|
8727
8727
|
var n = e.entangledLanes |= t;
|
|
8728
8728
|
for (e = e.entanglements; n;) {
|
|
8729
8729
|
var r = 31 - wp(n), i = 1 << r;
|
|
8730
8730
|
i & t | e[r] & t && (e[r] |= t), n &= ~i;
|
|
8731
8731
|
}
|
|
8732
8732
|
}
|
|
8733
|
-
function
|
|
8733
|
+
function Ee(e, t) {
|
|
8734
8734
|
var n = t & -t;
|
|
8735
8735
|
return n = n & 42 ? 1 : De(n), (n & (e.suspendedLanes | t)) === 0 ? n : 0;
|
|
8736
8736
|
}
|
|
@@ -11082,7 +11082,7 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
11082
11082
|
function Ri(e, t, n) {
|
|
11083
11083
|
if (t = t.updateQueue, t !== null && (t = t.shared, n & 4194048)) {
|
|
11084
11084
|
var r = t.lanes;
|
|
11085
|
-
r &= e.pendingLanes, n |= r, t.lanes = n,
|
|
11085
|
+
r &= e.pendingLanes, n |= r, t.lanes = n, G(e, n);
|
|
11086
11086
|
}
|
|
11087
11087
|
}
|
|
11088
11088
|
function zi(e, t) {
|
|
@@ -11153,11 +11153,11 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
11153
11153
|
a_ = !0;
|
|
11154
11154
|
var _ = m.call(g, d, h);
|
|
11155
11155
|
if (f.mode & jg) {
|
|
11156
|
-
|
|
11156
|
+
W(!0);
|
|
11157
11157
|
try {
|
|
11158
11158
|
m.call(g, d, h);
|
|
11159
11159
|
} finally {
|
|
11160
|
-
|
|
11160
|
+
W(!1);
|
|
11161
11161
|
}
|
|
11162
11162
|
}
|
|
11163
11163
|
a_ = !1, d = _;
|
|
@@ -11169,11 +11169,11 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
11169
11169
|
case Xv:
|
|
11170
11170
|
if (_ = m.payload, typeof _ == "function") {
|
|
11171
11171
|
if (a_ = !0, m = _.call(g, d, h), f.mode & jg) {
|
|
11172
|
-
|
|
11172
|
+
W(!0);
|
|
11173
11173
|
try {
|
|
11174
11174
|
_.call(g, d, h);
|
|
11175
11175
|
} finally {
|
|
11176
|
-
|
|
11176
|
+
W(!1);
|
|
11177
11177
|
}
|
|
11178
11178
|
}
|
|
11179
11179
|
a_ = !1;
|
|
@@ -11298,11 +11298,11 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
11298
11298
|
xy = a, Sy = t, Ny = e === null ? null : e._debugHookTypes, Py = -1, Fy = e !== null && e.type !== t.type, (Object.prototype.toString.call(n) === "[object AsyncFunction]" || Object.prototype.toString.call(n) === "[object AsyncGeneratorFunction]") && (a = A(Sy), yy.has(a) || (yy.add(a), console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.", a === null ? "An unknown Component" : "<" + a + ">"))), t.memoizedState = null, t.updateQueue = null, t.lanes = 0, Q.H = e !== null && e.memoizedState !== null ? zy : Ny === null ? Ly : Ry, Dy = a = (t.mode & jg) !== Og;
|
|
11299
11299
|
var o = _v(n, r, i);
|
|
11300
11300
|
if (Dy = !1, Ey && (o = sa(t, n, r, i)), a) {
|
|
11301
|
-
|
|
11301
|
+
W(!0);
|
|
11302
11302
|
try {
|
|
11303
11303
|
o = sa(t, n, r, i);
|
|
11304
11304
|
} finally {
|
|
11305
|
-
|
|
11305
|
+
W(!1);
|
|
11306
11306
|
}
|
|
11307
11307
|
}
|
|
11308
11308
|
return oa(e, t), o;
|
|
@@ -11425,11 +11425,11 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
11425
11425
|
if (n !== void 0) {
|
|
11426
11426
|
var i = n(t);
|
|
11427
11427
|
if (Dy) {
|
|
11428
|
-
|
|
11428
|
+
W(!0);
|
|
11429
11429
|
try {
|
|
11430
11430
|
n(t);
|
|
11431
11431
|
} finally {
|
|
11432
|
-
|
|
11432
|
+
W(!1);
|
|
11433
11433
|
}
|
|
11434
11434
|
}
|
|
11435
11435
|
} else i = t;
|
|
@@ -11580,11 +11580,11 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
11580
11580
|
if (typeof e == "function") {
|
|
11581
11581
|
var n = e;
|
|
11582
11582
|
if (e = n(), Dy) {
|
|
11583
|
-
|
|
11583
|
+
W(!0);
|
|
11584
11584
|
try {
|
|
11585
11585
|
n();
|
|
11586
11586
|
} finally {
|
|
11587
|
-
|
|
11587
|
+
W(!1);
|
|
11588
11588
|
}
|
|
11589
11589
|
}
|
|
11590
11590
|
}
|
|
@@ -11860,11 +11860,11 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
11860
11860
|
t = t === void 0 ? null : t;
|
|
11861
11861
|
var r = e();
|
|
11862
11862
|
if (Dy) {
|
|
11863
|
-
|
|
11863
|
+
W(!0);
|
|
11864
11864
|
try {
|
|
11865
11865
|
e();
|
|
11866
11866
|
} finally {
|
|
11867
|
-
|
|
11867
|
+
W(!1);
|
|
11868
11868
|
}
|
|
11869
11869
|
}
|
|
11870
11870
|
return n.memoizedState = [r, t], r;
|
|
@@ -11875,11 +11875,11 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
11875
11875
|
var r = n.memoizedState;
|
|
11876
11876
|
if (t !== null && ia(t, r[1])) return r[0];
|
|
11877
11877
|
if (r = e(), Dy) {
|
|
11878
|
-
|
|
11878
|
+
W(!0);
|
|
11879
11879
|
try {
|
|
11880
11880
|
e();
|
|
11881
11881
|
} finally {
|
|
11882
|
-
|
|
11882
|
+
W(!1);
|
|
11883
11883
|
}
|
|
11884
11884
|
}
|
|
11885
11885
|
return n.memoizedState = [r, t], r;
|
|
@@ -12077,7 +12077,7 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
12077
12077
|
function Po(e, t, n) {
|
|
12078
12078
|
if (n & 4194048) {
|
|
12079
12079
|
var r = t.lanes;
|
|
12080
|
-
r &= e.pendingLanes, n |= r, t.lanes = n,
|
|
12080
|
+
r &= e.pendingLanes, n |= r, t.lanes = n, G(e, n);
|
|
12081
12081
|
}
|
|
12082
12082
|
}
|
|
12083
12083
|
function Fo(e) {
|
|
@@ -12089,11 +12089,11 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
12089
12089
|
function Io(e, t, n, r) {
|
|
12090
12090
|
var i = e.memoizedState, a = n(r, i);
|
|
12091
12091
|
if (e.mode & jg) {
|
|
12092
|
-
|
|
12092
|
+
W(!0);
|
|
12093
12093
|
try {
|
|
12094
12094
|
a = n(r, i);
|
|
12095
12095
|
} finally {
|
|
12096
|
-
|
|
12096
|
+
W(!1);
|
|
12097
12097
|
}
|
|
12098
12098
|
}
|
|
12099
12099
|
a === void 0 && (t = O(t) || "Component", Xy.has(t) || (Xy.add(t), console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.", t))), i = a == null ? i : vf({}, i, a), e.memoizedState = i, e.lanes === 0 && (e.updateQueue.baseState = i);
|
|
@@ -12102,11 +12102,11 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
12102
12102
|
var s = e.stateNode;
|
|
12103
12103
|
if (typeof s.shouldComponentUpdate == "function") {
|
|
12104
12104
|
if (n = s.shouldComponentUpdate(r, a, o), e.mode & jg) {
|
|
12105
|
-
|
|
12105
|
+
W(!0);
|
|
12106
12106
|
try {
|
|
12107
12107
|
n = s.shouldComponentUpdate(r, a, o);
|
|
12108
12108
|
} finally {
|
|
12109
|
-
|
|
12109
|
+
W(!1);
|
|
12110
12110
|
}
|
|
12111
12111
|
}
|
|
12112
12112
|
return n === void 0 && console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.", O(t) || "Component"), n;
|
|
@@ -12326,7 +12326,7 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
12326
12326
|
else if (t.memoizedState !== null) t.child = e.child, t.flags |= 128, t = null;
|
|
12327
12327
|
else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");
|
|
12328
12328
|
else if (br(), n & 536870912 && el(t), ab || Fr(e, t, n, !1), i = (n & e.childLanes) !== 0, ab || i) {
|
|
12329
|
-
if (r = Ub, r !== null && (o =
|
|
12329
|
+
if (r = Ub, r !== null && (o = Ee(r, n), o !== 0 && o !== a.retryLane)) throw a.retryLane = o, qn(e, o), Vc(r, e, o), ib;
|
|
12330
12330
|
tl(), t = rs(e, t, n);
|
|
12331
12331
|
} else e = a.treeContext, qg = ad(o.nextSibling), Kg = t, Jg = !0, Zg = null, Yg = !1, Xg = null, Qg = !1, e !== null && _r(t, e), t = ns(t, r), t.flags |= 4096;
|
|
12332
12332
|
return t;
|
|
@@ -12368,11 +12368,11 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
12368
12368
|
}
|
|
12369
12369
|
if (Lr(t), t.stateNode === null) {
|
|
12370
12370
|
if (o = Tg, a = n.contextType, "contextType" in n && a !== null && (a === void 0 || a.$$typeof !== Ef) && !$y.has(n) && ($y.add(n), s = a === void 0 ? " However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file." : typeof a == "object" ? a.$$typeof === Tf ? " Did you accidentally pass the Context.Consumer instead?" : " However, it is set to an object with keys {" + Object.keys(a).join(", ") + "}." : " However, it is set to a " + typeof a + ".", console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s", O(n) || "Component", s)), typeof a == "object" && a && (o = Rr(a)), a = new n(r, o), t.mode & jg) {
|
|
12371
|
-
|
|
12371
|
+
W(!0);
|
|
12372
12372
|
try {
|
|
12373
12373
|
a = new n(r, o);
|
|
12374
12374
|
} finally {
|
|
12375
|
-
|
|
12375
|
+
W(!1);
|
|
12376
12376
|
}
|
|
12377
12377
|
}
|
|
12378
12378
|
if (o = t.memoizedState = a.state !== null && a.state !== void 0 ? a.state : null, a.updater = tb, t.stateNode = a, a._reactInternals = t, a._reactInternalInstance = Wy, typeof n.getDerivedStateFromProps == "function" && o === null && (o = O(n) || "Component", Ky.has(o) || (Ky.add(o), console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.", o, a.state === null ? "null" : "undefined", o))), typeof n.getDerivedStateFromProps == "function" || typeof a.getSnapshotBeforeUpdate == "function") {
|
|
@@ -12400,11 +12400,11 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
12400
12400
|
if (s = a, as(e, t), o = (t.flags & 128) != 0, s || o) {
|
|
12401
12401
|
if (s = t.stateNode, ce(t), o && typeof n.getDerivedStateFromError != "function") n = null, v_ = -1;
|
|
12402
12402
|
else if (n = yv(s), t.mode & jg) {
|
|
12403
|
-
|
|
12403
|
+
W(!0);
|
|
12404
12404
|
try {
|
|
12405
12405
|
yv(s);
|
|
12406
12406
|
} finally {
|
|
12407
|
-
|
|
12407
|
+
W(!1);
|
|
12408
12408
|
}
|
|
12409
12409
|
}
|
|
12410
12410
|
t.flags |= 1, e !== null && o ? (t.child = Jv(t, e.child, null, i), t.child = Jv(t, null, n, i)) : Yo(e, t, n, i), t.memoizedState = s.state, e = t.child;
|
|
@@ -12472,7 +12472,7 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
12472
12472
|
stack: r
|
|
12473
12473
|
}, typeof r == "string" && Ig.set(s, i), Or(i), t = gs(e, t, n);
|
|
12474
12474
|
} else if (ab || Fr(e, t, n, !1), r = (n & e.childLanes) !== 0, ab || r) {
|
|
12475
|
-
if (r = Ub, r !== null && (i =
|
|
12475
|
+
if (r = Ub, r !== null && (i = Ee(r, n), i !== 0 && i !== u.retryLane)) throw u.retryLane = i, qn(e, i), Vc(r, e, i), ib;
|
|
12476
12476
|
nd(d) || tl(), t = gs(e, t, n);
|
|
12477
12477
|
} else nd(d) ? (t.flags |= 192, t.child = e.child, t = null) : (e = u.treeContext, qg = ad(d.nextSibling), Kg = t, Jg = !0, Zg = null, Yg = !1, Xg = null, Qg = !1, e !== null && _r(t, e), t = ms(t, i.children), t.flags |= 4096);
|
|
12478
12478
|
return t;
|
|
@@ -14046,7 +14046,7 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
14046
14046
|
default: ug && (r = i - Z_, 3 > r || console.timeStamp("Blocked", Z_, i, dg, void 0, 5 > r ? "primary-light" : 10 > r ? "primary" : 100 > r ? "primary-dark" : "error"));
|
|
14047
14047
|
}
|
|
14048
14048
|
}
|
|
14049
|
-
a = (n = !n && (t & 127) == 0 && (t & e.expiredLanes) === 0 ||
|
|
14049
|
+
a = (n = !n && (t & 127) == 0 && (t & e.expiredLanes) === 0 || ye(e, t)) ? il(e, t) : nl(e, t, !0);
|
|
14050
14050
|
var o = n;
|
|
14051
14051
|
do {
|
|
14052
14052
|
if (a === Fb) {
|
|
@@ -14100,7 +14100,7 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
14100
14100
|
if (Q.actQueue !== null) fl(n, i, t, hx, Sx, gx, fx, ux, px, a, null, null, m_, r);
|
|
14101
14101
|
else {
|
|
14102
14102
|
if ((t & 62914560) === t && (o = _x + yx - dp(), 10 < o)) {
|
|
14103
|
-
if (Gc(n, t, fx, !ix),
|
|
14103
|
+
if (Gc(n, t, fx, !ix), ve(n, 0, !0) !== 0) break a;
|
|
14104
14104
|
Rx = t, n.timeoutHandle = QS(Uc.bind(null, n, i, hx, Sx, gx, t, fx, ux, px, ix, a, "Throttled", m_, r), o);
|
|
14105
14105
|
break a;
|
|
14106
14106
|
}
|
|
@@ -14220,7 +14220,7 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
14220
14220
|
trackGroup: fg,
|
|
14221
14221
|
color: "primary-light"
|
|
14222
14222
|
} }
|
|
14223
|
-
}, r ? r.run(performance.measure.bind(performance, i, n)) : performance.measure(i, n))), L_ = I_ = -1.1, R_ = 0, G_ = -1.1, W_ = H_, H_ = -1.1, F_ = u_()), t & 62914560 && J_ & 62914560 && (An(4194304), Un(K_, m_, Y_)), t & 2080374784 && J_ & 2080374784 && (An(268435456), Un(q_, m_, Y_)), n = e.timeoutHandle, n !== eC && (e.timeoutHandle = eC, $S(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), Rx = 0, qc(), Ub = e, Wb = n = rr(e.current, null), Gb = t, nx = Kb, rx = null, ix = !1, ax =
|
|
14223
|
+
}, r ? r.run(performance.measure.bind(performance, i, n)) : performance.measure(i, n))), L_ = I_ = -1.1, R_ = 0, G_ = -1.1, W_ = H_, H_ = -1.1, F_ = u_()), t & 62914560 && J_ & 62914560 && (An(4194304), Un(K_, m_, Y_)), t & 2080374784 && J_ & 2080374784 && (An(268435456), Un(q_, m_, Y_)), n = e.timeoutHandle, n !== eC && (e.timeoutHandle = eC, $S(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), Rx = 0, qc(), Ub = e, Wb = n = rr(e.current, null), Gb = t, nx = Kb, rx = null, ix = !1, ax = ye(e, t), ox = !1, cx = Fb, px = fx = dx = ux = lx = 0, hx = mx = null, gx = !1, t & 8 && (t |= t & 32), r = e.entangledLanes, r !== 0) for (e = e.entanglements, r &= t; 0 < r;) i = 31 - wp(r), a = 1 << i, t |= e[i], r &= ~a;
|
|
14224
14224
|
return sx = t, Wn(), e = $h(), 1e3 < e - Zh && (Q.recentlyCreatedOwnerStacks = 0, Zh = e), ov.discardPendingWarnings(), n;
|
|
14225
14225
|
}
|
|
14226
14226
|
function Xc(e, t) {
|
|
@@ -14301,7 +14301,7 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
14301
14301
|
0 < a.size && (jl(e, Gb), a.clear()), ke(e, t);
|
|
14302
14302
|
}
|
|
14303
14303
|
Sx = null, bx = dp() + xx, Yc(e, t);
|
|
14304
|
-
} else ax =
|
|
14304
|
+
} else ax = ye(e, t);
|
|
14305
14305
|
a: do
|
|
14306
14306
|
try {
|
|
14307
14307
|
if (nx !== Kb && Wb !== null) b: switch (t = Wb, a = rx, nx) {
|
|
@@ -14707,11 +14707,11 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
14707
14707
|
}
|
|
14708
14708
|
}
|
|
14709
14709
|
function Ol(e, t) {
|
|
14710
|
-
|
|
14710
|
+
W(!0);
|
|
14711
14711
|
try {
|
|
14712
14712
|
vc(t), Fc(t), bc(e, t.alternate, t, !1), Dc(e, t, 0, null, !1, 0);
|
|
14713
14713
|
} finally {
|
|
14714
|
-
|
|
14714
|
+
W(!1);
|
|
14715
14715
|
}
|
|
14716
14716
|
}
|
|
14717
14717
|
function kl(e) {
|
|
@@ -14762,7 +14762,7 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
14762
14762
|
a = (1 << 31 - wp(42 | e) + 1) - 1, a &= i & ~(o & ~s), a = a & 201326741 ? a & 201326741 | 1 : a ? a | 2 : 0;
|
|
14763
14763
|
}
|
|
14764
14764
|
a !== 0 && (n = !0, Bl(r, a));
|
|
14765
|
-
} else a = Gb, a =
|
|
14765
|
+
} else a = Gb, a = ve(r, r === Ub ? a : 0, r.cancelPendingCommit !== null || r.timeoutHandle !== eC), !(a & 3) || ye(r, a) || (n = !0, Bl(r, a));
|
|
14766
14766
|
r = r.next;
|
|
14767
14767
|
}
|
|
14768
14768
|
while (n);
|
|
@@ -14787,8 +14787,8 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
14787
14787
|
var o = 31 - wp(a), s = 1 << o, c = i[o];
|
|
14788
14788
|
c === -1 ? ((s & n) === 0 || (s & r) !== 0) && (i[o] = be(s, t)) : c <= t && (e.expiredLanes |= s), a &= ~s;
|
|
14789
14789
|
}
|
|
14790
|
-
if (t = Ub, n = Gb, n =
|
|
14791
|
-
if (!(n & 3) ||
|
|
14790
|
+
if (t = Ub, n = Gb, n = ve(e, e === t ? n : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== eC), r = e.callbackNode, n === 0 || e === t && (nx === Jb || nx === tx) || e.cancelPendingCommit !== null) return r !== null && Vl(r), e.callbackNode = null, e.callbackPriority = 0;
|
|
14791
|
+
if (!(n & 3) || ye(e, n)) {
|
|
14792
14792
|
if (t = n & -n, t !== e.callbackPriority || Q.actQueue !== null && r !== fS) Vl(r);
|
|
14793
14793
|
else return t;
|
|
14794
14794
|
switch (Ae(n)) {
|
|
@@ -14813,7 +14813,7 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
14813
14813
|
var n = e.callbackNode;
|
|
14814
14814
|
if (Wx === Tx && (Wx = Dx), vl() && e.callbackNode !== n) return null;
|
|
14815
14815
|
var r = Gb;
|
|
14816
|
-
return r =
|
|
14816
|
+
return r = ve(e, e === Ub ? r : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== eC), r === 0 ? null : (Hc(e, r, t), Rl(e, dp()), e.callbackNode != null && e.callbackNode === n ? zl.bind(null, e) : null);
|
|
14817
14817
|
}
|
|
14818
14818
|
function Bl(e, t) {
|
|
14819
14819
|
if (vl()) return null;
|
|
@@ -16739,7 +16739,7 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
16739
16739
|
if (a !== null) switch (a.tag) {
|
|
16740
16740
|
case 3:
|
|
16741
16741
|
if (a = a.stateNode, a.current.memoizedState.isDehydrated) {
|
|
16742
|
-
var o =
|
|
16742
|
+
var o = _e(a.pendingLanes);
|
|
16743
16743
|
if (o !== 0) {
|
|
16744
16744
|
var s = a;
|
|
16745
16745
|
for (s.pendingLanes |= 2, s.entangledLanes |= 2; o;) {
|
|
@@ -17050,7 +17050,7 @@ var i = /* @__PURE__ */ e(((e) => {
|
|
|
17050
17050
|
action: null
|
|
17051
17051
|
}), zf = [], Bf = [], Vf = -1, Hf = j(null), Uf = j(null), Wf = j(null), Gf = j(null), Kf = 0, qf, Jf, Yf, Xf, Zf, Qf, $f;
|
|
17052
17052
|
z.__reactDisabledLog = !0;
|
|
17053
|
-
var ep, tp, np = !1, rp = new (typeof WeakMap == "function" ? WeakMap : Map)(), ip = null, ap = !1, op = Object.prototype.hasOwnProperty, sp = hf.unstable_scheduleCallback, cp = hf.unstable_cancelCallback, lp = hf.unstable_shouldYield, up = hf.unstable_requestPaint, dp = hf.unstable_now, fp = hf.unstable_getCurrentPriorityLevel, pp = hf.unstable_ImmediatePriority, mp = hf.unstable_UserBlockingPriority, hp = hf.unstable_NormalPriority, gp = hf.unstable_LowPriority, _p = hf.unstable_IdlePriority, vp = hf.log, yp = hf.unstable_setDisableYieldValue, bp = null, xp = null, Sp = !1, Cp = typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u", wp = Math.clz32 ? Math.clz32 :
|
|
17053
|
+
var ep, tp, np = !1, rp = new (typeof WeakMap == "function" ? WeakMap : Map)(), ip = null, ap = !1, op = Object.prototype.hasOwnProperty, sp = hf.unstable_scheduleCallback, cp = hf.unstable_cancelCallback, lp = hf.unstable_shouldYield, up = hf.unstable_requestPaint, dp = hf.unstable_now, fp = hf.unstable_getCurrentPriorityLevel, pp = hf.unstable_ImmediatePriority, mp = hf.unstable_UserBlockingPriority, hp = hf.unstable_NormalPriority, gp = hf.unstable_LowPriority, _p = hf.unstable_IdlePriority, vp = hf.log, yp = hf.unstable_setDisableYieldValue, bp = null, xp = null, Sp = !1, Cp = typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u", wp = Math.clz32 ? Math.clz32 : ge, Tp = Math.log, Ep = Math.LN2, Dp = 256, Op = 262144, kp = 4194304, Ap = 2, jp = 8, Mp = 32, Np = 268435456, Pp = Math.random().toString(36).slice(2), Fp = "__reactFiber$" + Pp, Ip = "__reactProps$" + Pp, Lp = "__reactContainer$" + Pp, Rp = "__reactEvents$" + Pp, zp = "__reactListeners$" + Pp, Bp = "__reactHandles$" + Pp, Vp = "__reactResources$" + Pp, Hp = "__reactMarker$" + Pp, Up = /* @__PURE__ */ new Set(), Wp = {}, Gp = {}, Kp = {
|
|
17054
17054
|
button: !0,
|
|
17055
17055
|
checkbox: !0,
|
|
17056
17056
|
image: !0,
|
|
@@ -21562,13 +21562,8 @@ function U(e) {
|
|
|
21562
21562
|
};
|
|
21563
21563
|
}
|
|
21564
21564
|
//#endregion
|
|
21565
|
-
//#region src/lib/theme.ts
|
|
21566
|
-
function ce(e) {
|
|
21567
|
-
document.documentElement.classList.toggle("dark", e === "dark");
|
|
21568
|
-
}
|
|
21569
|
-
//#endregion
|
|
21570
21565
|
//#region node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.js
|
|
21571
|
-
var
|
|
21566
|
+
var ce = /* @__PURE__ */ e(((e) => {
|
|
21572
21567
|
var t = n(), r = l();
|
|
21573
21568
|
function i(e) {
|
|
21574
21569
|
var t = "https://react.dev/errors/" + e;
|
|
@@ -21833,34 +21828,34 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
21833
21828
|
typeof n != "function" && typeof n != "symbol" && typeof n != "boolean" && e.push(" ", t, "=\"", I(n), "\"");
|
|
21834
21829
|
}
|
|
21835
21830
|
var he = I("javascript:throw new Error('React form unexpectedly submitted.')");
|
|
21836
|
-
function
|
|
21837
|
-
this.push("<input type=\"hidden\""),
|
|
21831
|
+
function W(e, t) {
|
|
21832
|
+
this.push("<input type=\"hidden\""), ge(e), me(this, "name", t), me(this, "value", e), this.push("/>");
|
|
21838
21833
|
}
|
|
21839
|
-
function
|
|
21834
|
+
function ge(e) {
|
|
21840
21835
|
if (typeof e != "string") throw Error(i(480));
|
|
21841
21836
|
}
|
|
21842
|
-
function
|
|
21837
|
+
function _e(e, t) {
|
|
21843
21838
|
if (typeof t.$$FORM_ACTION == "function") {
|
|
21844
21839
|
var n = e.nextFormID++;
|
|
21845
21840
|
e = e.idPrefix + n;
|
|
21846
21841
|
try {
|
|
21847
21842
|
var r = t.$$FORM_ACTION(e);
|
|
21848
|
-
return r && r.data?.forEach(
|
|
21843
|
+
return r && r.data?.forEach(ge), r;
|
|
21849
21844
|
} catch (e) {
|
|
21850
21845
|
if (typeof e == "object" && e && typeof e.then == "function") throw e;
|
|
21851
21846
|
}
|
|
21852
21847
|
}
|
|
21853
21848
|
return null;
|
|
21854
21849
|
}
|
|
21855
|
-
function
|
|
21850
|
+
function ve(e, t, n, r, i, a, o, s) {
|
|
21856
21851
|
var c = null;
|
|
21857
21852
|
if (typeof r == "function") {
|
|
21858
|
-
var l =
|
|
21853
|
+
var l = _e(t, r);
|
|
21859
21854
|
l === null ? (e.push(" ", "formAction", "=\"", he, "\""), o = a = i = r = s = null, Se(t, n)) : (s = l.name, r = l.action || "", i = l.encType, a = l.method, o = l.target, c = l.data);
|
|
21860
21855
|
}
|
|
21861
|
-
return s != null &&
|
|
21856
|
+
return s != null && ye(e, "name", s), r != null && ye(e, "formAction", r), i != null && ye(e, "formEncType", i), a != null && ye(e, "formMethod", a), o != null && ye(e, "formTarget", o), c;
|
|
21862
21857
|
}
|
|
21863
|
-
function
|
|
21858
|
+
function ye(e, t, n) {
|
|
21864
21859
|
switch (t) {
|
|
21865
21860
|
case "className":
|
|
21866
21861
|
me(e, "class", n);
|
|
@@ -22014,7 +22009,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
22014
22009
|
if (r != null) switch (n) {
|
|
22015
22010
|
case "children":
|
|
22016
22011
|
case "dangerouslySetInnerHTML": throw Error(i(399, "link"));
|
|
22017
|
-
default:
|
|
22012
|
+
default: ye(e, n, r);
|
|
22018
22013
|
}
|
|
22019
22014
|
}
|
|
22020
22015
|
return e.push("/>"), null;
|
|
@@ -22023,18 +22018,18 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
22023
22018
|
function Te(e, t, n, r) {
|
|
22024
22019
|
return "" + t + (n === "s" ? "\\73 " : "\\53 ") + r;
|
|
22025
22020
|
}
|
|
22026
|
-
function
|
|
22021
|
+
function G(e, t, n) {
|
|
22027
22022
|
for (var r in e.push(Me(n)), t) if (O.call(t, r)) {
|
|
22028
22023
|
var a = t[r];
|
|
22029
22024
|
if (a != null) switch (r) {
|
|
22030
22025
|
case "children":
|
|
22031
22026
|
case "dangerouslySetInnerHTML": throw Error(i(399, n));
|
|
22032
|
-
default:
|
|
22027
|
+
default: ye(e, r, a);
|
|
22033
22028
|
}
|
|
22034
22029
|
}
|
|
22035
22030
|
return e.push("/>"), null;
|
|
22036
22031
|
}
|
|
22037
|
-
function
|
|
22032
|
+
function Ee(e, t) {
|
|
22038
22033
|
e.push(Me("title"));
|
|
22039
22034
|
var n = null, r = null, i;
|
|
22040
22035
|
for (i in t) if (O.call(t, i)) {
|
|
@@ -22046,7 +22041,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
22046
22041
|
case "dangerouslySetInnerHTML":
|
|
22047
22042
|
r = a;
|
|
22048
22043
|
break;
|
|
22049
|
-
default:
|
|
22044
|
+
default: ye(e, i, a);
|
|
22050
22045
|
}
|
|
22051
22046
|
}
|
|
22052
22047
|
return e.push(">"), t = Array.isArray(n) ? 2 > n.length ? n[0] : null : n, typeof t != "function" && typeof t != "symbol" && t != null && e.push(I("" + t)), be(e, r, n), e.push(Fe("title")), null;
|
|
@@ -22063,7 +22058,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
22063
22058
|
case "dangerouslySetInnerHTML":
|
|
22064
22059
|
r = a;
|
|
22065
22060
|
break;
|
|
22066
|
-
default:
|
|
22061
|
+
default: ye(e, i, a);
|
|
22067
22062
|
}
|
|
22068
22063
|
}
|
|
22069
22064
|
return e.push(">"), be(e, r, n), typeof n == "string" && e.push(("" + n).replace(ie, ae)), e.push(Fe("script")), null;
|
|
@@ -22080,7 +22075,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
22080
22075
|
case "dangerouslySetInnerHTML":
|
|
22081
22076
|
r = a;
|
|
22082
22077
|
break;
|
|
22083
|
-
default:
|
|
22078
|
+
default: ye(e, i, a);
|
|
22084
22079
|
}
|
|
22085
22080
|
}
|
|
22086
22081
|
return e.push(">"), be(e, r, n), n;
|
|
@@ -22097,7 +22092,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
22097
22092
|
case "dangerouslySetInnerHTML":
|
|
22098
22093
|
r = a;
|
|
22099
22094
|
break;
|
|
22100
|
-
default:
|
|
22095
|
+
default: ye(e, i, a);
|
|
22101
22096
|
}
|
|
22102
22097
|
}
|
|
22103
22098
|
return e.push(">"), be(e, r, n), typeof n == "string" ? (e.push(I(n)), null) : n;
|
|
@@ -22130,9 +22125,9 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
22130
22125
|
d = p;
|
|
22131
22126
|
break;
|
|
22132
22127
|
case "href":
|
|
22133
|
-
p === "" ? me(e, "href", "") :
|
|
22128
|
+
p === "" ? me(e, "href", "") : ye(e, f, p);
|
|
22134
22129
|
break;
|
|
22135
|
-
default:
|
|
22130
|
+
default: ye(e, f, p);
|
|
22136
22131
|
}
|
|
22137
22132
|
}
|
|
22138
22133
|
if (e.push(">"), be(e, d, u), typeof u == "string") {
|
|
@@ -22157,7 +22152,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
22157
22152
|
break;
|
|
22158
22153
|
case "defaultValue":
|
|
22159
22154
|
case "value": break;
|
|
22160
|
-
default:
|
|
22155
|
+
default: ye(e, _, v);
|
|
22161
22156
|
}
|
|
22162
22157
|
}
|
|
22163
22158
|
return e.push(">"), be(e, g, h), h;
|
|
@@ -22178,7 +22173,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
22178
22173
|
C = E;
|
|
22179
22174
|
break;
|
|
22180
22175
|
case "value": x = E;
|
|
22181
|
-
default:
|
|
22176
|
+
default: ye(e, w, E);
|
|
22182
22177
|
}
|
|
22183
22178
|
}
|
|
22184
22179
|
if (y != null) {
|
|
@@ -22207,7 +22202,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
22207
22202
|
N = L;
|
|
22208
22203
|
break;
|
|
22209
22204
|
case "dangerouslySetInnerHTML": throw Error(i(91));
|
|
22210
|
-
default:
|
|
22205
|
+
default: ye(e, F, L);
|
|
22211
22206
|
}
|
|
22212
22207
|
}
|
|
22213
22208
|
if (j === null && N !== null && (j = N), e.push(">"), P != null) {
|
|
@@ -22254,14 +22249,14 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
22254
22249
|
case "value":
|
|
22255
22250
|
H = se;
|
|
22256
22251
|
break;
|
|
22257
|
-
default:
|
|
22252
|
+
default: ye(e, oe, se);
|
|
22258
22253
|
}
|
|
22259
22254
|
}
|
|
22260
|
-
var U =
|
|
22261
|
-
return ie === null ? ae !== null && pe(e, "checked", ae) : pe(e, "checked", ie), H === null ? re !== null &&
|
|
22255
|
+
var U = ve(e, r, a, R, B, te, V, ee);
|
|
22256
|
+
return ie === null ? ae !== null && pe(e, "checked", ae) : pe(e, "checked", ie), H === null ? re !== null && ye(e, "value", re) : ye(e, "value", H), e.push("/>"), U?.forEach(W, e), null;
|
|
22262
22257
|
case "button":
|
|
22263
22258
|
e.push(Me("button"));
|
|
22264
|
-
var ce = null, le = null, ue = null, de = null,
|
|
22259
|
+
var ce = null, le = null, ue = null, de = null, ge = null, Ae = null, je = null, Ne;
|
|
22265
22260
|
for (Ne in n) if (O.call(n, Ne)) {
|
|
22266
22261
|
var Pe = n[Ne];
|
|
22267
22262
|
if (Pe != null) switch (Ne) {
|
|
@@ -22278,7 +22273,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
22278
22273
|
de = Pe;
|
|
22279
22274
|
break;
|
|
22280
22275
|
case "formEncType":
|
|
22281
|
-
|
|
22276
|
+
ge = Pe;
|
|
22282
22277
|
break;
|
|
22283
22278
|
case "formMethod":
|
|
22284
22279
|
Ae = Pe;
|
|
@@ -22286,11 +22281,11 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
22286
22281
|
case "formTarget":
|
|
22287
22282
|
je = Pe;
|
|
22288
22283
|
break;
|
|
22289
|
-
default:
|
|
22284
|
+
default: ye(e, Ne, Pe);
|
|
22290
22285
|
}
|
|
22291
22286
|
}
|
|
22292
|
-
var Ie =
|
|
22293
|
-
if (e.push(">"), Ie?.forEach(
|
|
22287
|
+
var Ie = ve(e, r, a, de, ge, Ae, je, ue);
|
|
22288
|
+
if (e.push(">"), Ie?.forEach(W, e), be(e, le, ce), typeof ce == "string") {
|
|
22294
22289
|
e.push(I(ce));
|
|
22295
22290
|
var Le = null;
|
|
22296
22291
|
} else Le = ce;
|
|
@@ -22319,15 +22314,15 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
22319
22314
|
case "target":
|
|
22320
22315
|
Ue = Ge;
|
|
22321
22316
|
break;
|
|
22322
|
-
default:
|
|
22317
|
+
default: ye(e, We, Ge);
|
|
22323
22318
|
}
|
|
22324
22319
|
}
|
|
22325
22320
|
var Ke = null, qe = null;
|
|
22326
22321
|
if (typeof Be == "function") {
|
|
22327
|
-
var Je =
|
|
22322
|
+
var Je = _e(r, Be);
|
|
22328
22323
|
Je === null ? (e.push(" ", "action", "=\"", he, "\""), Ue = He = Ve = Be = null, Se(r, a)) : (Be = Je.action || "", Ve = Je.encType, He = Je.method, Ue = Je.target, Ke = Je.data, qe = Je.name);
|
|
22329
22324
|
}
|
|
22330
|
-
if (Be != null &&
|
|
22325
|
+
if (Be != null && ye(e, "action", Be), Ve != null && ye(e, "encType", Ve), He != null && ye(e, "method", He), Ue != null && ye(e, "target", Ue), e.push(">"), qe !== null && (e.push("<input type=\"hidden\""), me(e, "name", qe), e.push("/>"), Ke?.forEach(W, e)), be(e, ze, Re), typeof Re == "string") {
|
|
22331
22326
|
e.push(I(Re));
|
|
22332
22327
|
var Ye = null;
|
|
22333
22328
|
} else Ye = Re;
|
|
@@ -22338,7 +22333,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
22338
22333
|
if (q != null) switch (K) {
|
|
22339
22334
|
case "children":
|
|
22340
22335
|
case "dangerouslySetInnerHTML": throw Error(i(400));
|
|
22341
|
-
default:
|
|
22336
|
+
default: ye(e, K, q);
|
|
22342
22337
|
}
|
|
22343
22338
|
}
|
|
22344
22339
|
return e.push(">"), null;
|
|
@@ -22359,7 +22354,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
22359
22354
|
if ($e === "") break;
|
|
22360
22355
|
e.push(" ", "data", "=\"", I($e), "\"");
|
|
22361
22356
|
break;
|
|
22362
|
-
default:
|
|
22357
|
+
default: ye(e, Ze, Qe);
|
|
22363
22358
|
}
|
|
22364
22359
|
}
|
|
22365
22360
|
if (e.push(">"), be(e, J, Xe), typeof Xe == "string") {
|
|
@@ -22369,8 +22364,8 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
22369
22364
|
return et;
|
|
22370
22365
|
case "title":
|
|
22371
22366
|
var tt = c.tagScope & 1, nt = c.tagScope & 4;
|
|
22372
|
-
if (c.insertionMode === 4 || tt || n.itemProp != null) var rt =
|
|
22373
|
-
else nt ? rt = null : (
|
|
22367
|
+
if (c.insertionMode === 4 || tt || n.itemProp != null) var rt = Ee(e, n);
|
|
22368
|
+
else nt ? rt = null : (Ee(a.hoistableChunks, n), rt = void 0);
|
|
22374
22369
|
return rt;
|
|
22375
22370
|
case "link":
|
|
22376
22371
|
var it = c.tagScope & 1, at = c.tagScope & 4, ot = n.rel, st = n.href, ct = n.precedence;
|
|
@@ -22444,7 +22439,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
22444
22439
|
case "dangerouslySetInnerHTML":
|
|
22445
22440
|
Mt = Pt;
|
|
22446
22441
|
break;
|
|
22447
|
-
default:
|
|
22442
|
+
default: ye(e, Nt, Pt);
|
|
22448
22443
|
}
|
|
22449
22444
|
}
|
|
22450
22445
|
e.push(">");
|
|
@@ -22482,8 +22477,8 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
22482
22477
|
return It;
|
|
22483
22478
|
case "meta":
|
|
22484
22479
|
var Gt = c.tagScope & 1, Kt = c.tagScope & 4;
|
|
22485
|
-
if (c.insertionMode === 4 || Gt || n.itemProp != null) var qt =
|
|
22486
|
-
else l && e.push("<!-- -->"), qt = Kt ? null : typeof n.charSet == "string" ?
|
|
22480
|
+
if (c.insertionMode === 4 || Gt || n.itemProp != null) var qt = G(e, n, "meta");
|
|
22481
|
+
else l && e.push("<!-- -->"), qt = Kt ? null : typeof n.charSet == "string" ? G(a.charsetChunks, n, "meta") : n.name === "viewport" ? G(a.viewportChunks, n, "meta") : G(a.hoistableChunks, n, "meta");
|
|
22487
22482
|
return qt;
|
|
22488
22483
|
case "listing":
|
|
22489
22484
|
case "pre":
|
|
@@ -22498,7 +22493,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
22498
22493
|
case "dangerouslySetInnerHTML":
|
|
22499
22494
|
Yt = Zt;
|
|
22500
22495
|
break;
|
|
22501
|
-
default:
|
|
22496
|
+
default: ye(e, Xt, Zt);
|
|
22502
22497
|
}
|
|
22503
22498
|
}
|
|
22504
22499
|
if (e.push(">"), Yt != null) {
|
|
@@ -22540,7 +22535,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
22540
22535
|
}), n.fetchPriority === "high" || 10 > a.highImagePreloads.size ? a.highImagePreloads.add(an) : (a.bulkPreloads.add(an), rn.set(nn, an)));
|
|
22541
22536
|
}
|
|
22542
22537
|
}
|
|
22543
|
-
return
|
|
22538
|
+
return G(e, n, "img");
|
|
22544
22539
|
case "base":
|
|
22545
22540
|
case "area":
|
|
22546
22541
|
case "br":
|
|
@@ -22551,7 +22546,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
22551
22546
|
case "param":
|
|
22552
22547
|
case "source":
|
|
22553
22548
|
case "track":
|
|
22554
|
-
case "wbr": return
|
|
22549
|
+
case "wbr": return G(e, n, t);
|
|
22555
22550
|
case "annotation-xml":
|
|
22556
22551
|
case "color-profile":
|
|
22557
22552
|
case "font-face":
|
|
@@ -24669,7 +24664,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
24669
24664
|
}, e.renderToString = function(e, t) {
|
|
24670
24665
|
return Fr(e, t, !1, "The server used \"renderToString\" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to \"renderToReadableStream\" which supports Suspense on the server");
|
|
24671
24666
|
}, e.version = "19.2.4";
|
|
24672
|
-
})),
|
|
24667
|
+
})), le = /* @__PURE__ */ e(((e) => {
|
|
24673
24668
|
var t = n(), r = l();
|
|
24674
24669
|
function i(e) {
|
|
24675
24670
|
var t = "https://react.dev/errors/" + e;
|
|
@@ -24863,10 +24858,10 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
24863
24858
|
data: null,
|
|
24864
24859
|
method: null,
|
|
24865
24860
|
action: null
|
|
24866
|
-
},
|
|
24861
|
+
}, W = me.d;
|
|
24867
24862
|
me.d = {
|
|
24868
|
-
f:
|
|
24869
|
-
r:
|
|
24863
|
+
f: W.f,
|
|
24864
|
+
r: W.r,
|
|
24870
24865
|
D: fr,
|
|
24871
24866
|
C: pr,
|
|
24872
24867
|
L: mr,
|
|
@@ -24875,17 +24870,17 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
24875
24870
|
S: gr,
|
|
24876
24871
|
M: vr
|
|
24877
24872
|
};
|
|
24878
|
-
var
|
|
24873
|
+
var ge = [], _e = null;
|
|
24879
24874
|
z("\"></template>");
|
|
24880
|
-
var
|
|
24875
|
+
var ve = z("<script"), ye = z("<\/script>"), be = z("<script src=\""), xe = z("<script type=\"module\" src=\""), Se = z(" nonce=\""), Ce = z(" integrity=\""), we = z(" crossorigin=\""), Te = z(" async=\"\"><\/script>"), G = z("<style"), Ee = /(<\/|<)(s)(cript)/gi;
|
|
24881
24876
|
function De(e, t, n, r) {
|
|
24882
24877
|
return "" + t + (n === "s" ? "\\u0073" : "\\u0053") + r;
|
|
24883
24878
|
}
|
|
24884
24879
|
var Oe = z("<script type=\"importmap\">"), ke = z("<\/script>");
|
|
24885
24880
|
function Ae(e, t, n, r, i, a) {
|
|
24886
24881
|
n = typeof t == "string" ? t : t && t.script;
|
|
24887
|
-
var o = n === void 0 ?
|
|
24888
|
-
if (d !== void 0 && (u.push(o), ir(u, e), u.push(nt, R(("" + d).replace(
|
|
24882
|
+
var o = n === void 0 ? ve : z("<script nonce=\"" + ce(n) + "\""), s = typeof t == "string" ? void 0 : t && t.style, c = s === void 0 ? G : z("<style nonce=\"" + ce(s) + "\""), l = e.idPrefix, u = [], d = e.bootstrapScriptContent, f = e.bootstrapScripts, p = e.bootstrapModules;
|
|
24883
|
+
if (d !== void 0 && (u.push(o), ir(u, e), u.push(nt, R(("" + d).replace(Ee, De)), ye)), d = [], r !== void 0 && (d.push(Oe), d.push(R(("" + JSON.stringify(r)).replace(Ee, De))), d.push(ke)), r = i ? {
|
|
24889
24884
|
preconnects: "",
|
|
24890
24885
|
fontPreloads: "",
|
|
24891
24886
|
highImagePreloads: "",
|
|
@@ -25234,7 +25229,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
25234
25229
|
if (!(e.instructions & 16)) {
|
|
25235
25230
|
e.instructions |= 16;
|
|
25236
25231
|
var n = t.preamble, r = t.bootstrapChunks;
|
|
25237
|
-
(n.htmlChunks || n.headChunks) && r.length === 0 ? (r.push(t.startInlineScript), ir(r, e), r.push(nt, st,
|
|
25232
|
+
(n.htmlChunks || n.headChunks) && r.length === 0 ? (r.push(t.startInlineScript), ir(r, e), r.push(nt, st, ye)) : r.unshift(t.startInlineScript, nt, st, ye);
|
|
25238
25233
|
}
|
|
25239
25234
|
}
|
|
25240
25235
|
var lt = z("<!--F!-->"), ut = z("<!--F-->");
|
|
@@ -25297,7 +25292,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
25297
25292
|
default: tt(e, i, a);
|
|
25298
25293
|
}
|
|
25299
25294
|
}
|
|
25300
|
-
return e.push(nt), it(e, r, n), typeof n == "string" && e.push(R(("" + n).replace(
|
|
25295
|
+
return e.push(nt), it(e, r, n), typeof n == "string" && e.push(R(("" + n).replace(Ee, De))), e.push(kt("script")), null;
|
|
25301
25296
|
}
|
|
25302
25297
|
function bt(e, t, n) {
|
|
25303
25298
|
e.push(Tt(n));
|
|
@@ -25495,74 +25490,74 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
25495
25490
|
e.push(Tt("button"));
|
|
25496
25491
|
var se = null, U = null, le = null, ue = null, de = null, pe = null, me = null, he;
|
|
25497
25492
|
for (he in n) if (H.call(n, he)) {
|
|
25498
|
-
var
|
|
25499
|
-
if (
|
|
25493
|
+
var W = n[he];
|
|
25494
|
+
if (W != null) switch (he) {
|
|
25500
25495
|
case "children":
|
|
25501
|
-
se =
|
|
25496
|
+
se = W;
|
|
25502
25497
|
break;
|
|
25503
25498
|
case "dangerouslySetInnerHTML":
|
|
25504
|
-
U =
|
|
25499
|
+
U = W;
|
|
25505
25500
|
break;
|
|
25506
25501
|
case "name":
|
|
25507
|
-
le =
|
|
25502
|
+
le = W;
|
|
25508
25503
|
break;
|
|
25509
25504
|
case "formAction":
|
|
25510
|
-
ue =
|
|
25505
|
+
ue = W;
|
|
25511
25506
|
break;
|
|
25512
25507
|
case "formEncType":
|
|
25513
|
-
de =
|
|
25508
|
+
de = W;
|
|
25514
25509
|
break;
|
|
25515
25510
|
case "formMethod":
|
|
25516
|
-
pe =
|
|
25511
|
+
pe = W;
|
|
25517
25512
|
break;
|
|
25518
25513
|
case "formTarget":
|
|
25519
|
-
me =
|
|
25514
|
+
me = W;
|
|
25520
25515
|
break;
|
|
25521
|
-
default: tt(e, he,
|
|
25516
|
+
default: tt(e, he, W);
|
|
25522
25517
|
}
|
|
25523
25518
|
}
|
|
25524
|
-
var
|
|
25525
|
-
if (e.push(nt),
|
|
25519
|
+
var _e = et(e, r, a, ue, de, pe, me, le);
|
|
25520
|
+
if (e.push(nt), _e?.forEach(Ze, e), it(e, U, se), typeof se == "string") {
|
|
25526
25521
|
e.push(R(ce(se)));
|
|
25527
|
-
var
|
|
25528
|
-
} else
|
|
25529
|
-
return
|
|
25522
|
+
var ve = null;
|
|
25523
|
+
} else ve = se;
|
|
25524
|
+
return ve;
|
|
25530
25525
|
case "form":
|
|
25531
25526
|
e.push(Tt("form"));
|
|
25532
|
-
var
|
|
25527
|
+
var ye = null, be = null, xe = null, Se = null, Ce = null, we = null, Te;
|
|
25533
25528
|
for (Te in n) if (H.call(n, Te)) {
|
|
25534
|
-
var
|
|
25535
|
-
if (
|
|
25529
|
+
var G = n[Te];
|
|
25530
|
+
if (G != null) switch (Te) {
|
|
25536
25531
|
case "children":
|
|
25537
|
-
|
|
25532
|
+
ye = G;
|
|
25538
25533
|
break;
|
|
25539
25534
|
case "dangerouslySetInnerHTML":
|
|
25540
|
-
be =
|
|
25535
|
+
be = G;
|
|
25541
25536
|
break;
|
|
25542
25537
|
case "action":
|
|
25543
|
-
xe =
|
|
25538
|
+
xe = G;
|
|
25544
25539
|
break;
|
|
25545
25540
|
case "encType":
|
|
25546
|
-
Se =
|
|
25541
|
+
Se = G;
|
|
25547
25542
|
break;
|
|
25548
25543
|
case "method":
|
|
25549
|
-
Ce =
|
|
25544
|
+
Ce = G;
|
|
25550
25545
|
break;
|
|
25551
25546
|
case "target":
|
|
25552
|
-
we =
|
|
25547
|
+
we = G;
|
|
25553
25548
|
break;
|
|
25554
|
-
default: tt(e, Te,
|
|
25549
|
+
default: tt(e, Te, G);
|
|
25555
25550
|
}
|
|
25556
25551
|
}
|
|
25557
|
-
var
|
|
25552
|
+
var Ee = null, De = null;
|
|
25558
25553
|
if (typeof xe == "function") {
|
|
25559
25554
|
var Oe = $e(r, xe);
|
|
25560
|
-
Oe === null ? (e.push(Ke, R("action"), qe, Xe, Je), we = Ce = Se = xe = null, ct(r, a)) : (xe = Oe.action || "", Se = Oe.encType, Ce = Oe.method, we = Oe.target,
|
|
25555
|
+
Oe === null ? (e.push(Ke, R("action"), qe, Xe, Je), we = Ce = Se = xe = null, ct(r, a)) : (xe = Oe.action || "", Se = Oe.encType, Ce = Oe.method, we = Oe.target, Ee = Oe.data, De = Oe.name);
|
|
25561
25556
|
}
|
|
25562
|
-
if (xe != null && tt(e, "action", xe), Se != null && tt(e, "encType", Se), Ce != null && tt(e, "method", Ce), we != null && tt(e, "target", we), e.push(nt), De !== null && (e.push(J), q(e, "name", De), e.push(rt),
|
|
25563
|
-
e.push(R(ce(
|
|
25557
|
+
if (xe != null && tt(e, "action", xe), Se != null && tt(e, "encType", Se), Ce != null && tt(e, "method", Ce), we != null && tt(e, "target", we), e.push(nt), De !== null && (e.push(J), q(e, "name", De), e.push(rt), Ee?.forEach(Ze, e)), it(e, be, ye), typeof ye == "string") {
|
|
25558
|
+
e.push(R(ce(ye)));
|
|
25564
25559
|
var ke = null;
|
|
25565
|
-
} else ke =
|
|
25560
|
+
} else ke = ye;
|
|
25566
25561
|
return ke;
|
|
25567
25562
|
case "menuitem":
|
|
25568
25563
|
for (var Ae in e.push(Tt("menuitem")), n) if (H.call(n, Ae)) {
|
|
@@ -25747,7 +25742,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
25747
25742
|
var pn = typeof n.sizes == "string" ? n.sizes : void 0, mn = fn ? fn + "\n" + (pn || "") : dn, hn = a.preloads.images, gn = hn.get(mn);
|
|
25748
25743
|
if (gn) (n.fetchPriority === "high" || 10 > a.highImagePreloads.size) && (hn.delete(mn), a.highImagePreloads.add(gn));
|
|
25749
25744
|
else if (!r.imageResources.hasOwnProperty(mn)) {
|
|
25750
|
-
r.imageResources[mn] =
|
|
25745
|
+
r.imageResources[mn] = ge;
|
|
25751
25746
|
var _n = n.crossOrigin, vn = typeof _n == "string" ? _n === "use-credentials" ? _n : "" : void 0, yn = a.headers, bn;
|
|
25752
25747
|
yn && 0 < yn.remainingCapacity && typeof n.srcSet != "string" && (n.fetchPriority === "high" || 500 > yn.highImagePreloads.length) && (bn = br(dn, "image", {
|
|
25753
25748
|
imageSrcSet: n.srcSet,
|
|
@@ -25758,7 +25753,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
25758
25753
|
type: n.type,
|
|
25759
25754
|
fetchPriority: n.fetchPriority,
|
|
25760
25755
|
referrerPolicy: n.refererPolicy
|
|
25761
|
-
}), 0 <= (yn.remainingCapacity -= bn.length + 2)) ? (a.resets.image[mn] =
|
|
25756
|
+
}), 0 <= (yn.remainingCapacity -= bn.length + 2)) ? (a.resets.image[mn] = ge, yn.highImagePreloads && (yn.highImagePreloads += ", "), yn.highImagePreloads += bn) : (gn = [], dt(gn, {
|
|
25762
25757
|
rel: "preload",
|
|
25763
25758
|
as: "image",
|
|
25764
25759
|
href: fn ? void 0 : dn,
|
|
@@ -25937,7 +25932,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
25937
25932
|
function Un(e) {
|
|
25938
25933
|
var t = e.rules, n = e.hrefs, r = 0;
|
|
25939
25934
|
if (n.length) {
|
|
25940
|
-
for (F(this,
|
|
25935
|
+
for (F(this, _e.startInlineStyle), F(this, Ln), F(this, e.precedence), F(this, Rn); r < n.length - 1; r++) F(this, n[r]), F(this, Zn);
|
|
25941
25936
|
for (F(this, n[r]), F(this, zn), r = 0; r < t.length; r++) F(this, t[r]);
|
|
25942
25937
|
Hn = I(this, Bn), Vn = !0, t.length = 0, n.length = 0;
|
|
25943
25938
|
}
|
|
@@ -25946,7 +25941,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
25946
25941
|
return e.state === 2 ? !1 : Vn = !0;
|
|
25947
25942
|
}
|
|
25948
25943
|
function Gn(e, t, n) {
|
|
25949
|
-
return Vn = !1, Hn = !0,
|
|
25944
|
+
return Vn = !1, Hn = !0, _e = n, t.styles.forEach(Un, e), _e = null, t.stylesheets.forEach(Wn), Vn && (n.stylesToHoist = !0), Hn;
|
|
25950
25945
|
}
|
|
25951
25946
|
function Kn(e) {
|
|
25952
25947
|
for (var t = 0; t < e.length; t++) F(this, e[t]);
|
|
@@ -25964,7 +25959,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
25964
25959
|
e.sheets.forEach(Jn, this), e.sheets.clear();
|
|
25965
25960
|
var n = e.rules, r = e.hrefs;
|
|
25966
25961
|
if (!t || r.length) {
|
|
25967
|
-
if (F(this,
|
|
25962
|
+
if (F(this, _e.startInlineStyle), F(this, Yn), F(this, e.precedence), e = 0, r.length) {
|
|
25968
25963
|
for (F(this, Xn); e < r.length - 1; e++) F(this, r[e]), F(this, Zn);
|
|
25969
25964
|
F(this, r[e]);
|
|
25970
25965
|
}
|
|
@@ -26072,7 +26067,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
26072
26067
|
}
|
|
26073
26068
|
Ha(t);
|
|
26074
26069
|
}
|
|
26075
|
-
} else
|
|
26070
|
+
} else W.D(e);
|
|
26076
26071
|
}
|
|
26077
26072
|
function pr(e, t) {
|
|
26078
26073
|
var n = Ki || null;
|
|
@@ -26098,7 +26093,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
26098
26093
|
}
|
|
26099
26094
|
Ha(n);
|
|
26100
26095
|
}
|
|
26101
|
-
} else
|
|
26096
|
+
} else W.C(e, t);
|
|
26102
26097
|
}
|
|
26103
26098
|
function mr(e, t, n) {
|
|
26104
26099
|
var r = Ki || null;
|
|
@@ -26110,9 +26105,9 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
26110
26105
|
if (n) var o = n.imageSrcSet, s = n.imageSizes, c = n.fetchPriority;
|
|
26111
26106
|
var l = o ? o + "\n" + (s || "") : e;
|
|
26112
26107
|
if (i.imageResources.hasOwnProperty(l)) return;
|
|
26113
|
-
i.imageResources[l] =
|
|
26108
|
+
i.imageResources[l] = ge, i = a.headers;
|
|
26114
26109
|
var u;
|
|
26115
|
-
i && 0 < i.remainingCapacity && typeof o != "string" && c === "high" && (u = br(e, t, n), 0 <= (i.remainingCapacity -= u.length + 2)) ? (a.resets.image[l] =
|
|
26110
|
+
i && 0 < i.remainingCapacity && typeof o != "string" && c === "high" && (u = br(e, t, n), 0 <= (i.remainingCapacity -= u.length + 2)) ? (a.resets.image[l] = ge, i.highImagePreloads && (i.highImagePreloads += ", "), i.highImagePreloads += u) : (i = [], dt(i, V({
|
|
26116
26111
|
rel: "preload",
|
|
26117
26112
|
href: o ? void 0 : e,
|
|
26118
26113
|
as: t
|
|
@@ -26124,7 +26119,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
26124
26119
|
rel: "preload",
|
|
26125
26120
|
href: e,
|
|
26126
26121
|
as: t
|
|
26127
|
-
}, n)), i.styleResources[e] = !n || typeof n.crossOrigin != "string" && typeof n.integrity != "string" ?
|
|
26122
|
+
}, n)), i.styleResources[e] = !n || typeof n.crossOrigin != "string" && typeof n.integrity != "string" ? ge : [n.crossOrigin, n.integrity], a.preloads.stylesheets.set(e, o), a.bulkPreloads.add(o);
|
|
26128
26123
|
break;
|
|
26129
26124
|
case "script":
|
|
26130
26125
|
if (i.scriptResources.hasOwnProperty(e)) return;
|
|
@@ -26132,13 +26127,13 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
26132
26127
|
rel: "preload",
|
|
26133
26128
|
href: e,
|
|
26134
26129
|
as: t
|
|
26135
|
-
}, n)), i.scriptResources[e] = !n || typeof n.crossOrigin != "string" && typeof n.integrity != "string" ?
|
|
26130
|
+
}, n)), i.scriptResources[e] = !n || typeof n.crossOrigin != "string" && typeof n.integrity != "string" ? ge : [n.crossOrigin, n.integrity];
|
|
26136
26131
|
break;
|
|
26137
26132
|
default:
|
|
26138
26133
|
if (i.unknownResources.hasOwnProperty(t)) {
|
|
26139
26134
|
if (o = i.unknownResources[t], o.hasOwnProperty(e)) return;
|
|
26140
26135
|
} else o = {}, i.unknownResources[t] = o;
|
|
26141
|
-
if (o[e] =
|
|
26136
|
+
if (o[e] = ge, (i = a.headers) && 0 < i.remainingCapacity && t === "font" && (l = br(e, t, n), 0 <= (i.remainingCapacity -= l.length + 2))) a.resets.font[e] = ge, i.fontPreloads && (i.fontPreloads += ", "), i.fontPreloads += l;
|
|
26142
26137
|
else switch (i = [], e = V({
|
|
26143
26138
|
rel: "preload",
|
|
26144
26139
|
href: e,
|
|
@@ -26152,7 +26147,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
26152
26147
|
}
|
|
26153
26148
|
Ha(r);
|
|
26154
26149
|
}
|
|
26155
|
-
} else
|
|
26150
|
+
} else W.L(e, t, n);
|
|
26156
26151
|
}
|
|
26157
26152
|
function hr(e, t) {
|
|
26158
26153
|
var n = Ki || null;
|
|
@@ -26163,21 +26158,21 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
26163
26158
|
switch (a) {
|
|
26164
26159
|
case "script":
|
|
26165
26160
|
if (r.moduleScriptResources.hasOwnProperty(e)) return;
|
|
26166
|
-
a = [], r.moduleScriptResources[e] = !t || typeof t.crossOrigin != "string" && typeof t.integrity != "string" ?
|
|
26161
|
+
a = [], r.moduleScriptResources[e] = !t || typeof t.crossOrigin != "string" && typeof t.integrity != "string" ? ge : [t.crossOrigin, t.integrity], i.preloads.moduleScripts.set(e, a);
|
|
26167
26162
|
break;
|
|
26168
26163
|
default:
|
|
26169
26164
|
if (r.moduleUnknownResources.hasOwnProperty(a)) {
|
|
26170
26165
|
var o = r.unknownResources[a];
|
|
26171
26166
|
if (o.hasOwnProperty(e)) return;
|
|
26172
26167
|
} else o = {}, r.moduleUnknownResources[a] = o;
|
|
26173
|
-
a = [], o[e] =
|
|
26168
|
+
a = [], o[e] = ge;
|
|
26174
26169
|
}
|
|
26175
26170
|
dt(a, V({
|
|
26176
26171
|
rel: "modulepreload",
|
|
26177
26172
|
href: e
|
|
26178
26173
|
}, t)), i.bulkPreloads.add(a), Ha(n);
|
|
26179
26174
|
}
|
|
26180
|
-
} else
|
|
26175
|
+
} else W.m(e, t);
|
|
26181
26176
|
}
|
|
26182
26177
|
function gr(e, t, n) {
|
|
26183
26178
|
var r = Ki || null;
|
|
@@ -26200,7 +26195,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
26200
26195
|
}, n)
|
|
26201
26196
|
}, s && (s.length === 2 && yr(t.props, s), (a = a.preloads.stylesheets.get(e)) && 0 < a.length ? a.length = 0 : t.state = 1), o.sheets.set(e, t), Ha(r));
|
|
26202
26197
|
}
|
|
26203
|
-
} else
|
|
26198
|
+
} else W.S(e, t, n);
|
|
26204
26199
|
}
|
|
26205
26200
|
function _r(e, t) {
|
|
26206
26201
|
var n = Ki || null;
|
|
@@ -26213,7 +26208,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
26213
26208
|
async: !0
|
|
26214
26209
|
}, t), a && (a.length === 2 && yr(t, a), e = i.preloads.scripts.get(e)) && (e.length = 0), e = [], i.scripts.add(e), yt(e, t), Ha(n));
|
|
26215
26210
|
}
|
|
26216
|
-
} else
|
|
26211
|
+
} else W.X(e, t);
|
|
26217
26212
|
}
|
|
26218
26213
|
function vr(e, t) {
|
|
26219
26214
|
var n = Ki || null;
|
|
@@ -26227,7 +26222,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
26227
26222
|
async: !0
|
|
26228
26223
|
}, t), a && (a.length === 2 && yr(t, a), e = i.preloads.moduleScripts.get(e)) && (e.length = 0), e = [], i.scripts.add(e), yt(e, t), Ha(n));
|
|
26229
26224
|
}
|
|
26230
|
-
} else
|
|
26225
|
+
} else W.M(e, t);
|
|
26231
26226
|
}
|
|
26232
26227
|
function yr(e, t) {
|
|
26233
26228
|
e.crossOrigin ??= t[0], e.integrity ??= t[1];
|
|
@@ -27480,7 +27475,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
27480
27475
|
referrerPolicy: p.referrerPolicy,
|
|
27481
27476
|
media: p.media
|
|
27482
27477
|
});
|
|
27483
|
-
if (0 <= (i.remainingCapacity -= m.length + 2)) n.resets.style[f] =
|
|
27478
|
+
if (0 <= (i.remainingCapacity -= m.length + 2)) n.resets.style[f] = ge, a && (a += ", "), a += m, n.resets.style[f] = typeof d.crossOrigin == "string" || typeof d.integrity == "string" ? [d.crossOrigin, d.integrity] : ge;
|
|
27484
27479
|
else break b;
|
|
27485
27480
|
}
|
|
27486
27481
|
}
|
|
@@ -27706,7 +27701,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
27706
27701
|
d.length = 0, o.preconnects.forEach(Kn, t), o.preconnects.clear();
|
|
27707
27702
|
var f = o.viewportChunks;
|
|
27708
27703
|
for (u = 0; u < f.length; u++) F(t, f[u]);
|
|
27709
|
-
f.length = 0, o.fontPreloads.forEach(Kn, t), o.fontPreloads.clear(), o.highImagePreloads.forEach(Kn, t), o.highImagePreloads.clear(),
|
|
27704
|
+
f.length = 0, o.fontPreloads.forEach(Kn, t), o.fontPreloads.clear(), o.highImagePreloads.forEach(Kn, t), o.highImagePreloads.clear(), _e = o, o.styles.forEach(er, t), _e = null;
|
|
27710
27705
|
var p = o.importMapChunks;
|
|
27711
27706
|
for (u = 0; u < p.length; u++) F(t, p[u]);
|
|
27712
27707
|
p.length = 0, o.bootstrapScripts.forEach(Kn, t), o.scripts.forEach(Kn, t), o.scripts.clear(), o.bulkPreloads.forEach(Kn, t), o.bulkPreloads.clear(), c || l || (a.instructions |= 32);
|
|
@@ -27730,7 +27725,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
27730
27725
|
var x = "_" + b.idPrefix + "R_";
|
|
27731
27726
|
F(t, rr), F(t, R(ce(x))), F(t, Je);
|
|
27732
27727
|
}
|
|
27733
|
-
F(t, nt), F(t, Mt), I(t,
|
|
27728
|
+
F(t, nt), F(t, Mt), I(t, ye);
|
|
27734
27729
|
}
|
|
27735
27730
|
}
|
|
27736
27731
|
jt(t, y);
|
|
@@ -27996,7 +27991,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
27996
27991
|
Va(a);
|
|
27997
27992
|
});
|
|
27998
27993
|
}, e.version = "19.2.4";
|
|
27999
|
-
})),
|
|
27994
|
+
})), ue = /* @__PURE__ */ e(((e) => {
|
|
28000
27995
|
process.env.NODE_ENV !== "production" && (function() {
|
|
28001
27996
|
function t(e, t, n, r) {
|
|
28002
27997
|
return "" + t + (n === "s" ? "\\73 " : "\\53 ") + r;
|
|
@@ -28582,7 +28577,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
28582
28577
|
if ((e.instructions & 16) === Lr) {
|
|
28583
28578
|
e.instructions |= 16;
|
|
28584
28579
|
var n = t.preamble, r = t.bootstrapChunks;
|
|
28585
|
-
(n.htmlChunks || n.headChunks) && r.length === 0 ? (r.push(t.startInlineScript),
|
|
28580
|
+
(n.htmlChunks || n.headChunks) && r.length === 0 ? (r.push(t.startInlineScript), G(r, e), r.push(hi, Oi, qr)) : r.unshift(t.startInlineScript, hi, Oi, qr);
|
|
28586
28581
|
}
|
|
28587
28582
|
}
|
|
28588
28583
|
function re(e, t) {
|
|
@@ -28788,19 +28783,19 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
28788
28783
|
y("textarea", n), n.value === void 0 || n.defaultValue === void 0 || bi || (console.error("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components"), bi = !0), e.push(le("textarea"));
|
|
28789
28784
|
var fe = null, pe = null, me = null, he;
|
|
28790
28785
|
for (he in n) if (rr.call(n, he)) {
|
|
28791
|
-
var
|
|
28792
|
-
if (
|
|
28786
|
+
var W = n[he];
|
|
28787
|
+
if (W != null) switch (he) {
|
|
28793
28788
|
case "children":
|
|
28794
|
-
me =
|
|
28789
|
+
me = W;
|
|
28795
28790
|
break;
|
|
28796
28791
|
case "value":
|
|
28797
|
-
fe =
|
|
28792
|
+
fe = W;
|
|
28798
28793
|
break;
|
|
28799
28794
|
case "defaultValue":
|
|
28800
|
-
pe =
|
|
28795
|
+
pe = W;
|
|
28801
28796
|
break;
|
|
28802
28797
|
case "dangerouslySetInnerHTML": throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");
|
|
28803
|
-
default: B(e, he,
|
|
28798
|
+
default: B(e, he, W);
|
|
28804
28799
|
}
|
|
28805
28800
|
}
|
|
28806
28801
|
if (fe === null && pe !== null && (fe = pe), e.push(hi), me != null) {
|
|
@@ -28814,45 +28809,45 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
28814
28809
|
return typeof fe == "string" && fe[0] === "\n" && e.push(Ai), fe !== null && (h(fe, "value"), e.push(T("" + fe))), null;
|
|
28815
28810
|
case "input":
|
|
28816
28811
|
y("input", n), e.push(le("input"));
|
|
28817
|
-
var
|
|
28812
|
+
var ge = null, _e = null, ve = null, ye = null, be = null, xe = null, Se = null, Ce = null, we = null, Te;
|
|
28818
28813
|
for (Te in n) if (rr.call(n, Te)) {
|
|
28819
|
-
var
|
|
28820
|
-
if (
|
|
28814
|
+
var G = n[Te];
|
|
28815
|
+
if (G != null) switch (Te) {
|
|
28821
28816
|
case "children":
|
|
28822
28817
|
case "dangerouslySetInnerHTML": throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");
|
|
28823
28818
|
case "name":
|
|
28824
|
-
|
|
28819
|
+
ge = G;
|
|
28825
28820
|
break;
|
|
28826
28821
|
case "formAction":
|
|
28827
|
-
|
|
28822
|
+
_e = G;
|
|
28828
28823
|
break;
|
|
28829
28824
|
case "formEncType":
|
|
28830
|
-
|
|
28825
|
+
ve = G;
|
|
28831
28826
|
break;
|
|
28832
28827
|
case "formMethod":
|
|
28833
|
-
|
|
28828
|
+
ye = G;
|
|
28834
28829
|
break;
|
|
28835
28830
|
case "formTarget":
|
|
28836
|
-
be =
|
|
28831
|
+
be = G;
|
|
28837
28832
|
break;
|
|
28838
28833
|
case "defaultChecked":
|
|
28839
|
-
we =
|
|
28834
|
+
we = G;
|
|
28840
28835
|
break;
|
|
28841
28836
|
case "defaultValue":
|
|
28842
|
-
Se =
|
|
28837
|
+
Se = G;
|
|
28843
28838
|
break;
|
|
28844
28839
|
case "checked":
|
|
28845
|
-
Ce =
|
|
28840
|
+
Ce = G;
|
|
28846
28841
|
break;
|
|
28847
28842
|
case "value":
|
|
28848
|
-
xe =
|
|
28843
|
+
xe = G;
|
|
28849
28844
|
break;
|
|
28850
|
-
default: B(e, Te,
|
|
28845
|
+
default: B(e, Te, G);
|
|
28851
28846
|
}
|
|
28852
28847
|
}
|
|
28853
|
-
|
|
28854
|
-
var
|
|
28855
|
-
return Ce === null || we === null || vi || (console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components", "A component", n.type), vi = !0), xe === null || Se === null || _i || (console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components", "A component", n.type), _i = !0), Ce === null ? we !== null && F(e, "checked", we) : F(e, "checked", Ce), xe === null ? Se !== null && B(e, "value", Se) : B(e, "value", xe), e.push(gi),
|
|
28848
|
+
_e === null || n.type === "image" || n.type === "submit" || wi || (wi = !0, console.error("An input can only specify a formAction along with type=\"submit\" or type=\"image\"."));
|
|
28849
|
+
var Ee = z(e, r, i, _e, ve, ye, be, ge);
|
|
28850
|
+
return Ce === null || we === null || vi || (console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components", "A component", n.type), vi = !0), xe === null || Se === null || _i || (console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components", "A component", n.type), _i = !0), Ce === null ? we !== null && F(e, "checked", we) : F(e, "checked", Ce), xe === null ? Se !== null && B(e, "value", Se) : B(e, "value", xe), e.push(gi), Ee?.forEach(L, e), null;
|
|
28856
28851
|
case "button":
|
|
28857
28852
|
e.push(le("button"));
|
|
28858
28853
|
var De = null, Oe = null, ke = null, Me = null, Ne = null, Pe = null, Fe = null, Ie;
|
|
@@ -29268,7 +29263,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
29268
29263
|
default: throw Error("Unknown insertion mode. This is a bug in React.");
|
|
29269
29264
|
}
|
|
29270
29265
|
}
|
|
29271
|
-
function
|
|
29266
|
+
function W(e, t) {
|
|
29272
29267
|
switch (t.insertionMode) {
|
|
29273
29268
|
case Xr:
|
|
29274
29269
|
case Zr:
|
|
@@ -29283,7 +29278,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
29283
29278
|
default: throw Error("Unknown insertion mode. This is a bug in React.");
|
|
29284
29279
|
}
|
|
29285
29280
|
}
|
|
29286
|
-
function
|
|
29281
|
+
function ge(e) {
|
|
29287
29282
|
return JSON.stringify(e).replace(Na, function(e) {
|
|
29288
29283
|
switch (e) {
|
|
29289
29284
|
case "<": return "\\u003c";
|
|
@@ -29293,7 +29288,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
29293
29288
|
}
|
|
29294
29289
|
});
|
|
29295
29290
|
}
|
|
29296
|
-
function
|
|
29291
|
+
function _e(e) {
|
|
29297
29292
|
return JSON.stringify(e).replace(Pa, function(e) {
|
|
29298
29293
|
switch (e) {
|
|
29299
29294
|
case "&": return "\\u0026";
|
|
@@ -29305,7 +29300,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
29305
29300
|
}
|
|
29306
29301
|
});
|
|
29307
29302
|
}
|
|
29308
|
-
function
|
|
29303
|
+
function ve(e) {
|
|
29309
29304
|
var t = e.rules, n = e.hrefs;
|
|
29310
29305
|
0 < t.length && n.length === 0 && console.error("React expected to have at least one href for an a hoistable style but found none. This is a bug in React.");
|
|
29311
29306
|
var r = 0;
|
|
@@ -29315,11 +29310,11 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
29315
29310
|
Ba = this.push(Ra), za = !0, t.length = 0, n.length = 0;
|
|
29316
29311
|
}
|
|
29317
29312
|
}
|
|
29318
|
-
function
|
|
29313
|
+
function ye(e) {
|
|
29319
29314
|
return e.state === eo ? !1 : za = !0;
|
|
29320
29315
|
}
|
|
29321
29316
|
function be(e, t, n) {
|
|
29322
|
-
return za = !1, Ba = !0, Kr = n, t.styles.forEach(
|
|
29317
|
+
return za = !1, Ba = !0, Kr = n, t.styles.forEach(ve, e), Kr = null, t.stylesheets.forEach(ye), za && (n.stylesToHoist = !0), Ba;
|
|
29323
29318
|
}
|
|
29324
29319
|
function xe(e) {
|
|
29325
29320
|
for (var t = 0; t < e.length; t++) this.push(e[t]);
|
|
@@ -29364,18 +29359,18 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
29364
29359
|
function Te(e) {
|
|
29365
29360
|
e.sheets.forEach(we, this), e.sheets.clear();
|
|
29366
29361
|
}
|
|
29367
|
-
function
|
|
29362
|
+
function G(e, t) {
|
|
29368
29363
|
(t.instructions & Hr) === Lr && (t.instructions |= Hr, e.push(qa, T("_" + t.idPrefix + "R_"), fi));
|
|
29369
29364
|
}
|
|
29370
|
-
function
|
|
29365
|
+
function Ee(e, t) {
|
|
29371
29366
|
e.push(Ja);
|
|
29372
29367
|
var n = Ja;
|
|
29373
29368
|
t.stylesheets.forEach(function(t) {
|
|
29374
|
-
if (t.state !== eo) if (t.state === to) e.push(n), t = t.props.href, h(t, "href"), t =
|
|
29369
|
+
if (t.state !== eo) if (t.state === to) e.push(n), t = t.props.href, h(t, "href"), t = _e("" + t), e.push(t), e.push(Za), n = Ya;
|
|
29375
29370
|
else {
|
|
29376
29371
|
e.push(n);
|
|
29377
29372
|
var r = t.props["data-precedence"], i = t.props, a = E("" + t.props.href);
|
|
29378
|
-
for (var o in a =
|
|
29373
|
+
for (var o in a = _e(a), e.push(a), h(r, "precedence"), r = "" + r, e.push(Xa), r = _e(r), e.push(r), i) if (rr.call(i, o) && (r = i[o], r != null)) switch (o) {
|
|
29379
29374
|
case "href":
|
|
29380
29375
|
case "rel":
|
|
29381
29376
|
case "precedence":
|
|
@@ -29416,7 +29411,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
29416
29411
|
if (2 < t.length && (t[0] === "o" || t[0] === "O") && (t[1] === "n" || t[1] === "N") || !v(t)) return;
|
|
29417
29412
|
h(n, r), t = "" + n;
|
|
29418
29413
|
}
|
|
29419
|
-
e.push(Xa), r =
|
|
29414
|
+
e.push(Xa), r = _e(r), e.push(r), e.push(Xa), r = _e(t), e.push(r);
|
|
29420
29415
|
}
|
|
29421
29416
|
function Oe() {
|
|
29422
29417
|
return {
|
|
@@ -29472,7 +29467,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
29472
29467
|
}
|
|
29473
29468
|
function ze(e, t) {
|
|
29474
29469
|
var n = e.idPrefix, r = [], i = e.bootstrapScriptContent, a = e.bootstrapScripts, o = e.bootstrapModules;
|
|
29475
|
-
if (i !== void 0 && (r.push("<script"),
|
|
29470
|
+
if (i !== void 0 && (r.push("<script"), G(r, e), r.push(hi, D(i), qr)), n = {
|
|
29476
29471
|
placeholderPrefix: n + "P:",
|
|
29477
29472
|
segmentPrefix: n + "S:",
|
|
29478
29473
|
boundaryPrefix: n + "B:",
|
|
@@ -29528,13 +29523,13 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
29528
29523
|
fetchPriority: "low",
|
|
29529
29524
|
nonce: void 0
|
|
29530
29525
|
};
|
|
29531
|
-
typeof s == "string" ? d.href = c = s : (d.href = c = s.src, d.integrity = u = typeof s.integrity == "string" ? s.integrity : void 0, d.crossOrigin = l = typeof s == "string" || s.crossOrigin == null ? void 0 : s.crossOrigin === "use-credentials" ? "use-credentials" : ""), ke(e, n, c, d), r.push("<script src=\"", T(c), fi), typeof u == "string" && r.push(" integrity=\"", T(u), fi), typeof l == "string" && r.push(" crossorigin=\"", T(l), fi),
|
|
29526
|
+
typeof s == "string" ? d.href = c = s : (d.href = c = s.src, d.integrity = u = typeof s.integrity == "string" ? s.integrity : void 0, d.crossOrigin = l = typeof s == "string" || s.crossOrigin == null ? void 0 : s.crossOrigin === "use-credentials" ? "use-credentials" : ""), ke(e, n, c, d), r.push("<script src=\"", T(c), fi), typeof u == "string" && r.push(" integrity=\"", T(u), fi), typeof l == "string" && r.push(" crossorigin=\"", T(l), fi), G(r, e), r.push(" async=\"\"><\/script>");
|
|
29532
29527
|
}
|
|
29533
29528
|
if (o !== void 0) for (a = 0; a < o.length; a++) i = o[a], l = c = void 0, u = {
|
|
29534
29529
|
rel: "modulepreload",
|
|
29535
29530
|
fetchPriority: "low",
|
|
29536
29531
|
nonce: void 0
|
|
29537
|
-
}, typeof i == "string" ? u.href = s = i : (u.href = s = i.src, u.integrity = l = typeof i.integrity == "string" ? i.integrity : void 0, u.crossOrigin = c = typeof i == "string" || i.crossOrigin == null ? void 0 : i.crossOrigin === "use-credentials" ? "use-credentials" : ""), ke(e, n, s, u), r.push("<script type=\"module\" src=\"", T(s), fi), typeof l == "string" && r.push(" integrity=\"", T(l), fi), typeof c == "string" && r.push(" crossorigin=\"", T(c), fi),
|
|
29532
|
+
}, typeof i == "string" ? u.href = s = i : (u.href = s = i.src, u.integrity = l = typeof i.integrity == "string" ? i.integrity : void 0, u.crossOrigin = c = typeof i == "string" || i.crossOrigin == null ? void 0 : i.crossOrigin === "use-credentials" ? "use-credentials" : ""), ke(e, n, s, u), r.push("<script type=\"module\" src=\"", T(s), fi), typeof l == "string" && r.push(" integrity=\"", T(l), fi), typeof c == "string" && r.push(" crossorigin=\"", T(c), fi), G(r, e), r.push(" async=\"\"><\/script>");
|
|
29538
29533
|
return {
|
|
29539
29534
|
placeholderPrefix: n.placeholderPrefix,
|
|
29540
29535
|
segmentPrefix: n.segmentPrefix,
|
|
@@ -30395,21 +30390,21 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
30395
30390
|
var pe = a.children, me = t.formatContext, he = t.keyPath;
|
|
30396
30391
|
t.formatContext = A(me, r, a), t.keyPath = n, X(e, t, pe, -1), t.formatContext = me, t.keyPath = he;
|
|
30397
30392
|
} else {
|
|
30398
|
-
var
|
|
30393
|
+
var W = ue(fe.chunks, r, a, e.resumableState, e.renderState, t.blockedPreamble, t.hoistableState, t.formatContext, fe.lastPushedText);
|
|
30399
30394
|
fe.lastPushedText = !1;
|
|
30400
|
-
var
|
|
30401
|
-
if (t.keyPath = n, (t.formatContext = A(
|
|
30402
|
-
var
|
|
30403
|
-
fe.preambleChildren.push(
|
|
30395
|
+
var ge = t.formatContext, _e = t.keyPath;
|
|
30396
|
+
if (t.keyPath = n, (t.formatContext = A(ge, r, a)).insertionMode === $r) {
|
|
30397
|
+
var ve = jt(e, 0, null, t.formatContext, !1, !1);
|
|
30398
|
+
fe.preambleChildren.push(ve), t.blockedSegment = ve;
|
|
30404
30399
|
try {
|
|
30405
|
-
|
|
30400
|
+
ve.status = 6, X(e, t, W, -1), Ve(ve.chunks, e.renderState, ve.lastPushedText, ve.textEmbedded), ve.status = xs;
|
|
30406
30401
|
} finally {
|
|
30407
30402
|
t.blockedSegment = fe;
|
|
30408
30403
|
}
|
|
30409
|
-
} else X(e, t,
|
|
30410
|
-
t.formatContext =
|
|
30404
|
+
} else X(e, t, W, -1);
|
|
30405
|
+
t.formatContext = ge, t.keyPath = _e;
|
|
30411
30406
|
a: {
|
|
30412
|
-
var
|
|
30407
|
+
var ye = fe.chunks, be = e.resumableState;
|
|
30413
30408
|
switch (r) {
|
|
30414
30409
|
case "title":
|
|
30415
30410
|
case "style":
|
|
@@ -30430,20 +30425,20 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
30430
30425
|
case "track":
|
|
30431
30426
|
case "wbr": break a;
|
|
30432
30427
|
case "body":
|
|
30433
|
-
if (
|
|
30428
|
+
if (ge.insertionMode <= Zr) {
|
|
30434
30429
|
be.hasBody = !0;
|
|
30435
30430
|
break a;
|
|
30436
30431
|
}
|
|
30437
30432
|
break;
|
|
30438
30433
|
case "html":
|
|
30439
|
-
if (
|
|
30434
|
+
if (ge.insertionMode === Xr) {
|
|
30440
30435
|
be.hasHtml = !0;
|
|
30441
30436
|
break a;
|
|
30442
30437
|
}
|
|
30443
30438
|
break;
|
|
30444
|
-
case "head": if (
|
|
30439
|
+
case "head": if (ge.insertionMode <= Zr) break a;
|
|
30445
30440
|
}
|
|
30446
|
-
|
|
30441
|
+
ye.push(de(r));
|
|
30447
30442
|
}
|
|
30448
30443
|
fe.lastPushedText = !1;
|
|
30449
30444
|
}
|
|
@@ -30471,30 +30466,30 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
30471
30466
|
return;
|
|
30472
30467
|
case Un:
|
|
30473
30468
|
a: {
|
|
30474
|
-
var Te = a.children,
|
|
30475
|
-
if (
|
|
30469
|
+
var Te = a.children, G = a.revealOrder;
|
|
30470
|
+
if (G === "forwards" || G === "backwards" || G === "unstable_legacy-backwards") {
|
|
30476
30471
|
if (Qn(Te)) {
|
|
30477
|
-
Gt(e, t, n, Te,
|
|
30472
|
+
Gt(e, t, n, Te, G);
|
|
30478
30473
|
break a;
|
|
30479
30474
|
}
|
|
30480
|
-
var
|
|
30481
|
-
if (
|
|
30482
|
-
var De =
|
|
30475
|
+
var Ee = i(Te);
|
|
30476
|
+
if (Ee) {
|
|
30477
|
+
var De = Ee.call(Te);
|
|
30483
30478
|
if (De) {
|
|
30484
|
-
Zt(t, Te, -1, De,
|
|
30479
|
+
Zt(t, Te, -1, De, Ee);
|
|
30485
30480
|
var Oe = De.next();
|
|
30486
30481
|
if (!Oe.done) {
|
|
30487
30482
|
var ke = [];
|
|
30488
30483
|
do
|
|
30489
30484
|
ke.push(Oe.value), Oe = De.next();
|
|
30490
30485
|
while (!Oe.done);
|
|
30491
|
-
Gt(e, t, n, Te,
|
|
30486
|
+
Gt(e, t, n, Te, G);
|
|
30492
30487
|
}
|
|
30493
30488
|
break a;
|
|
30494
30489
|
}
|
|
30495
30490
|
}
|
|
30496
30491
|
}
|
|
30497
|
-
if (
|
|
30492
|
+
if (G === "together") {
|
|
30498
30493
|
var Ae = t.keyPath, je = t.row, Me = t.row = Wt(null);
|
|
30499
30494
|
Me.boundaries = [], Me.together = !0, t.keyPath = n, Y(e, t, Te, -1), --Me.pendingTasks === 0 && Vt(e, Me), t.keyPath = Ae, t.row = je, je !== null && 0 < Me.pendingTasks && (je.pendingTasks++, Me.next = je);
|
|
30500
30495
|
} else {
|
|
@@ -31141,14 +31136,14 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
31141
31136
|
return bn(e, t, n[0], r), e = e.renderState.generateStaticMarkup ? !0 : t.push(Vi), e;
|
|
31142
31137
|
}
|
|
31143
31138
|
function xn(e, t, n, r) {
|
|
31144
|
-
return he(t, e.renderState, n.parentFormatContext, n.id), bn(e, t, n, r),
|
|
31139
|
+
return he(t, e.renderState, n.parentFormatContext, n.id), bn(e, t, n, r), W(t, n.parentFormatContext);
|
|
31145
31140
|
}
|
|
31146
31141
|
function Sn(e, t, n) {
|
|
31147
31142
|
Fs = n.byteSize;
|
|
31148
31143
|
for (var r = n.completedSegments, i = 0; i < r.length; i++) Cn(e, t, n, r[i]);
|
|
31149
31144
|
r.length = 0, r = n.row, r !== null && Ct(e, n) && --r.pendingTasks === 0 && Vt(e, r), be(t, n.contentState, e.renderState), r = e.resumableState, e = e.renderState, i = n.rootSegmentID, n = n.contentState;
|
|
31150
31145
|
var a = e.stylesToHoist;
|
|
31151
|
-
return e.stylesToHoist = !1, t.push(e.startInlineScript), t.push(hi), a ? ((r.instructions & Br) === Lr && (r.instructions |= Br, t.push(Da)), (r.instructions & zr) === Lr && (r.instructions |= zr, t.push(ya)), (r.instructions & Vr) === Lr ? (r.instructions |= Vr, t.push(xa)) : t.push(Sa)) : ((r.instructions & zr) === Lr && (r.instructions |= zr, t.push(ya)), t.push(ba)), r = i.toString(16), t.push(e.boundaryPrefix), t.push(r), t.push(Ca), t.push(e.segmentPrefix), t.push(r), a ? (t.push(wa),
|
|
31146
|
+
return e.stylesToHoist = !1, t.push(e.startInlineScript), t.push(hi), a ? ((r.instructions & Br) === Lr && (r.instructions |= Br, t.push(Da)), (r.instructions & zr) === Lr && (r.instructions |= zr, t.push(ya)), (r.instructions & Vr) === Lr ? (r.instructions |= Vr, t.push(xa)) : t.push(Sa)) : ((r.instructions & zr) === Lr && (r.instructions |= zr, t.push(ya)), t.push(ba)), r = i.toString(16), t.push(e.boundaryPrefix), t.push(r), t.push(Ca), t.push(e.segmentPrefix), t.push(r), a ? (t.push(wa), Ee(t, n)) : t.push(Ta), n = t.push(Ea), pe(t, e) && n;
|
|
31152
31147
|
}
|
|
31153
31148
|
function Cn(e, t, n, r) {
|
|
31154
31149
|
if (r.status === Ss) return !0;
|
|
@@ -31233,22 +31228,22 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
31233
31228
|
var ee = N.toString(16);
|
|
31234
31229
|
if (E.push(ee), E.push(Aa), P || F || I || L) {
|
|
31235
31230
|
E.push(ja);
|
|
31236
|
-
var R =
|
|
31231
|
+
var R = ge(P || "");
|
|
31237
31232
|
E.push(R);
|
|
31238
31233
|
}
|
|
31239
31234
|
if (F || I || L) {
|
|
31240
31235
|
E.push(ja);
|
|
31241
|
-
var z =
|
|
31236
|
+
var z = ge(F || "");
|
|
31242
31237
|
E.push(z);
|
|
31243
31238
|
}
|
|
31244
31239
|
if (I || L) {
|
|
31245
31240
|
E.push(ja);
|
|
31246
|
-
var B =
|
|
31241
|
+
var B = ge(I || "");
|
|
31247
31242
|
E.push(B);
|
|
31248
31243
|
}
|
|
31249
31244
|
if (L) {
|
|
31250
31245
|
E.push(ja);
|
|
31251
|
-
var te =
|
|
31246
|
+
var te = ge(L);
|
|
31252
31247
|
E.push(te);
|
|
31253
31248
|
}
|
|
31254
31249
|
var V = E.push(Ma);
|
|
@@ -32304,7 +32299,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
32304
32299
|
return jn(e, t, !1, "The server used \"renderToString\" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to \"renderToReadableStream\" which supports Suspense on the server");
|
|
32305
32300
|
}, e.version = "19.2.4";
|
|
32306
32301
|
})();
|
|
32307
|
-
})),
|
|
32302
|
+
})), de = /* @__PURE__ */ e(((e) => {
|
|
32308
32303
|
process.env.NODE_ENV !== "production" && (function() {
|
|
32309
32304
|
function t(e, t, n, r) {
|
|
32310
32305
|
return "" + t + (n === "s" ? "\\73 " : "\\53 ") + r;
|
|
@@ -33016,10 +33011,10 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
33016
33011
|
}
|
|
33017
33012
|
return e.push(Zi), null;
|
|
33018
33013
|
}
|
|
33019
|
-
function
|
|
33014
|
+
function W(e) {
|
|
33020
33015
|
return E(e), ("" + e).replace(fa, t);
|
|
33021
33016
|
}
|
|
33022
|
-
function
|
|
33017
|
+
function ge(e, t, n) {
|
|
33023
33018
|
for (var r in e.push(xe(n)), t) if (Er.call(t, r)) {
|
|
33024
33019
|
var i = t[r];
|
|
33025
33020
|
if (i != null) switch (r) {
|
|
@@ -33030,7 +33025,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
33030
33025
|
}
|
|
33031
33026
|
return e.push(Zi), null;
|
|
33032
33027
|
}
|
|
33033
|
-
function
|
|
33028
|
+
function _e(e, t) {
|
|
33034
33029
|
e.push(xe("title"));
|
|
33035
33030
|
var n = null, r = null, i;
|
|
33036
33031
|
for (i in t) if (Er.call(t, i)) {
|
|
@@ -33047,7 +33042,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
33047
33042
|
}
|
|
33048
33043
|
return e.push(Xi), t = Array.isArray(n) ? 2 > n.length ? n[0] : null : n, typeof t != "function" && typeof t != "symbol" && t != null && e.push(_(P("" + t))), de(e, r, n), e.push(Ce("title")), null;
|
|
33049
33044
|
}
|
|
33050
|
-
function
|
|
33045
|
+
function ve(e, t) {
|
|
33051
33046
|
e.push(xe("script"));
|
|
33052
33047
|
var n = null, r = null, i;
|
|
33053
33048
|
for (i in t) if (Er.call(t, i)) {
|
|
@@ -33064,7 +33059,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
33064
33059
|
}
|
|
33065
33060
|
return e.push(Xi), n != null && typeof n != "string" && (t = typeof n == "number" ? "a number for children" : Array.isArray(n) ? "an array for children" : "something unexpected for children", console.error("A script element was rendered with %s. If script element has children it must be a single string. Consider using dangerouslySetInnerHTML or passing a plain string as children.", t)), de(e, r, n), typeof n == "string" && e.push(_(I(n))), e.push(Ce("script")), null;
|
|
33066
33061
|
}
|
|
33067
|
-
function
|
|
33062
|
+
function ye(e, t, n) {
|
|
33068
33063
|
e.push(xe(n));
|
|
33069
33064
|
var r = n = null, i;
|
|
33070
33065
|
for (i in t) if (Er.call(t, i)) {
|
|
@@ -33234,40 +33229,40 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
33234
33229
|
return typeof L == "string" && L[0] === "\n" && e.push(ga), L !== null && (w(L, "value"), e.push(_(P("" + L)))), null;
|
|
33235
33230
|
case "input":
|
|
33236
33231
|
O("input", n), e.push(xe("input"));
|
|
33237
|
-
var te = null, V = null, H = null, ne = null, re = null, U = null, Se = null, we = null, Te = null,
|
|
33238
|
-
for (
|
|
33239
|
-
var
|
|
33240
|
-
if (
|
|
33232
|
+
var te = null, V = null, H = null, ne = null, re = null, U = null, Se = null, we = null, Te = null, G;
|
|
33233
|
+
for (G in n) if (Er.call(n, G)) {
|
|
33234
|
+
var Ee = n[G];
|
|
33235
|
+
if (Ee != null) switch (G) {
|
|
33241
33236
|
case "children":
|
|
33242
33237
|
case "dangerouslySetInnerHTML": throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");
|
|
33243
33238
|
case "name":
|
|
33244
|
-
te =
|
|
33239
|
+
te = Ee;
|
|
33245
33240
|
break;
|
|
33246
33241
|
case "formAction":
|
|
33247
|
-
V =
|
|
33242
|
+
V = Ee;
|
|
33248
33243
|
break;
|
|
33249
33244
|
case "formEncType":
|
|
33250
|
-
H =
|
|
33245
|
+
H = Ee;
|
|
33251
33246
|
break;
|
|
33252
33247
|
case "formMethod":
|
|
33253
|
-
ne =
|
|
33248
|
+
ne = Ee;
|
|
33254
33249
|
break;
|
|
33255
33250
|
case "formTarget":
|
|
33256
|
-
re =
|
|
33251
|
+
re = Ee;
|
|
33257
33252
|
break;
|
|
33258
33253
|
case "defaultChecked":
|
|
33259
|
-
Te =
|
|
33254
|
+
Te = Ee;
|
|
33260
33255
|
break;
|
|
33261
33256
|
case "defaultValue":
|
|
33262
|
-
Se =
|
|
33257
|
+
Se = Ee;
|
|
33263
33258
|
break;
|
|
33264
33259
|
case "checked":
|
|
33265
|
-
we =
|
|
33260
|
+
we = Ee;
|
|
33266
33261
|
break;
|
|
33267
33262
|
case "value":
|
|
33268
|
-
U =
|
|
33263
|
+
U = Ee;
|
|
33269
33264
|
break;
|
|
33270
|
-
default: ue(e,
|
|
33265
|
+
default: ue(e, G, Ee);
|
|
33271
33266
|
}
|
|
33272
33267
|
}
|
|
33273
33268
|
V === null || n.type === "image" || n.type === "submit" || ia || (ia = !0, console.error("An input can only specify a formAction along with type=\"submit\" or type=\"image\"."));
|
|
@@ -33393,8 +33388,8 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
33393
33388
|
var ot = n.children, st = Array.isArray(ot) ? 2 > ot.length ? ot[0] : null : ot;
|
|
33394
33389
|
Array.isArray(ot) && 1 < ot.length ? console.error("React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an Array with length %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert `children` of <title> tags to a single string value which is why Arrays of length greater than 1 are not supported. When using JSX it can be common to combine text nodes and value nodes. For example: <title>hello {nameOfUser}</title>. While not immediately apparent, `children` in this case is an Array with length 2. If your `children` prop is using this form try rewriting it using a template string: <title>{`hello ${nameOfUser}`}</title>.", ot.length) : typeof st == "function" || typeof st == "symbol" ? console.error("React expect children of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value.", typeof st == "function" ? "a Function" : "a Sybmol") : st && st.toString === {}.toString && (st.$$typeof == null ? console.error("React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an object that does not implement a suitable `toString` method. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value. Using the default `toString` method available on every object is almost certainly an error. Consider whether the `children` of this <title> is an object in error and change it to a string or number value if so. Otherwise implement a `toString` method that React can use to produce a valid <title>.") : console.error("React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an object that appears to be a React element which never implements a suitable `toString` method. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value which is why rendering React elements is not supported. If the `children` of <title> is a React Component try moving the <title> tag into that component. If the `children` of <title> is some HTML markup change it to be Text only to be valid HTML."));
|
|
33395
33390
|
}
|
|
33396
|
-
if (s.insertionMode === Ni || it || n.itemProp != null) var ct =
|
|
33397
|
-
else at ? ct = null : (
|
|
33391
|
+
if (s.insertionMode === Ni || it || n.itemProp != null) var ct = _e(e, n);
|
|
33392
|
+
else at ? ct = null : (_e(i.hoistableChunks, n), ct = void 0);
|
|
33398
33393
|
return ct;
|
|
33399
33394
|
case "link":
|
|
33400
33395
|
var lt = s.tagScope & 1, ut = s.tagScope & 4, dt = n.rel, ft = n.href, pt = n.precedence;
|
|
@@ -33442,7 +33437,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
33442
33437
|
return mt;
|
|
33443
33438
|
case "script":
|
|
33444
33439
|
var xt = s.tagScope & 1, St = n.async;
|
|
33445
|
-
if (typeof n.src != "string" || !n.src || !St || typeof St == "function" || typeof St == "symbol" || n.onLoad || n.onError || s.insertionMode === Ni || xt || n.itemProp != null) var Ct =
|
|
33440
|
+
if (typeof n.src != "string" || !n.src || !St || typeof St == "function" || typeof St == "symbol" || n.onLoad || n.onError || s.insertionMode === Ni || xt || n.itemProp != null) var Ct = ve(e, n);
|
|
33446
33441
|
else {
|
|
33447
33442
|
var wt = n.src;
|
|
33448
33443
|
if (n.type === "module") var Tt = r.moduleScriptResources, Et = i.preloads.moduleScripts;
|
|
@@ -33457,7 +33452,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
33457
33452
|
kt && (kt.length = 0);
|
|
33458
33453
|
}
|
|
33459
33454
|
var At = [];
|
|
33460
|
-
i.scripts.add(At),
|
|
33455
|
+
i.scripts.add(At), ve(At, Ot);
|
|
33461
33456
|
}
|
|
33462
33457
|
c && e.push(zi), Ct = null;
|
|
33463
33458
|
}
|
|
@@ -33486,7 +33481,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
33486
33481
|
}
|
|
33487
33482
|
e.push(Xi);
|
|
33488
33483
|
var Vt = Array.isArray(Lt) ? 2 > Lt.length ? Lt[0] : null : Lt;
|
|
33489
|
-
typeof Vt != "function" && typeof Vt != "symbol" && Vt != null && e.push(_(
|
|
33484
|
+
typeof Vt != "function" && typeof Vt != "symbol" && Vt != null && e.push(_(W(Vt))), de(e, Rt, Lt), e.push(Ce("style"));
|
|
33490
33485
|
var Ht = null;
|
|
33491
33486
|
} else {
|
|
33492
33487
|
Ft.includes(" ") && console.error("React expected the `href` prop for a <style> tag opting into hoisting semantics using the `precedence` prop to not have any spaces but ecountered spaces instead. using spaces in this prop will cause hydration of this style to fail on the client. The href for the <style> where this ocurred is \"%s\".", Ft);
|
|
@@ -33513,7 +33508,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
33513
33508
|
}
|
|
33514
33509
|
}
|
|
33515
33510
|
var Zt = Array.isArray(qt) ? 2 > qt.length ? qt[0] : null : qt;
|
|
33516
|
-
typeof Zt != "function" && typeof Zt != "symbol" && Zt != null && Kt.push(_(
|
|
33511
|
+
typeof Zt != "function" && typeof Zt != "symbol" && Zt != null && Kt.push(_(W(Zt))), de(Kt, Jt, qt);
|
|
33517
33512
|
}
|
|
33518
33513
|
}
|
|
33519
33514
|
Ut && o && o.styles.add(Ut), c && e.push(zi), Ht = void 0;
|
|
@@ -33521,8 +33516,8 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
33521
33516
|
return Ht;
|
|
33522
33517
|
case "meta":
|
|
33523
33518
|
var Y = s.tagScope & 1, Qt = s.tagScope & 4;
|
|
33524
|
-
if (s.insertionMode === Ni || Y || n.itemProp != null) var $t =
|
|
33525
|
-
else c && e.push(zi), $t = Qt ? null : typeof n.charSet == "string" ?
|
|
33519
|
+
if (s.insertionMode === Ni || Y || n.itemProp != null) var $t = ge(e, n, "meta");
|
|
33520
|
+
else c && e.push(zi), $t = Qt ? null : typeof n.charSet == "string" ? ge(i.charsetChunks, n, "meta") : n.name === "viewport" ? ge(i.viewportChunks, n, "meta") : ge(i.hoistableChunks, n, "meta");
|
|
33526
33521
|
return $t;
|
|
33527
33522
|
case "listing":
|
|
33528
33523
|
case "pre":
|
|
@@ -33579,7 +33574,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
33579
33574
|
}), n.fetchPriority === "high" || 10 > i.highImagePreloads.size ? i.highImagePreloads.add(dn) : (i.bulkPreloads.add(dn), un.set(ln, dn)));
|
|
33580
33575
|
}
|
|
33581
33576
|
}
|
|
33582
|
-
return
|
|
33577
|
+
return ge(e, n, "img");
|
|
33583
33578
|
case "base":
|
|
33584
33579
|
case "area":
|
|
33585
33580
|
case "br":
|
|
@@ -33590,7 +33585,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
33590
33585
|
case "param":
|
|
33591
33586
|
case "source":
|
|
33592
33587
|
case "track":
|
|
33593
|
-
case "wbr": return
|
|
33588
|
+
case "wbr": return ge(e, n, t);
|
|
33594
33589
|
case "annotation-xml":
|
|
33595
33590
|
case "color-profile":
|
|
33596
33591
|
case "font-face":
|
|
@@ -33604,7 +33599,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
33604
33599
|
var gn = a || i.preamble;
|
|
33605
33600
|
if (gn.headChunks) throw Error("The `<head>` tag may only be rendered once.");
|
|
33606
33601
|
a !== null && e.push(pa), gn.headChunks = [];
|
|
33607
|
-
var _n =
|
|
33602
|
+
var _n = ye(gn.headChunks, n, "head");
|
|
33608
33603
|
} else _n = be(e, n, "head");
|
|
33609
33604
|
return _n;
|
|
33610
33605
|
case "body":
|
|
@@ -33612,7 +33607,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
33612
33607
|
var vn = a || i.preamble;
|
|
33613
33608
|
if (vn.bodyChunks) throw Error("The `<body>` tag may only be rendered once.");
|
|
33614
33609
|
a !== null && e.push(ma), vn.bodyChunks = [];
|
|
33615
|
-
var yn =
|
|
33610
|
+
var yn = ye(vn.bodyChunks, n, "body");
|
|
33616
33611
|
} else yn = be(e, n, "body");
|
|
33617
33612
|
return yn;
|
|
33618
33613
|
case "html":
|
|
@@ -33620,7 +33615,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
33620
33615
|
var bn = a || i.preamble;
|
|
33621
33616
|
if (bn.htmlChunks) throw Error("The `<html>` tag may only be rendered once.");
|
|
33622
33617
|
a !== null && e.push(ha), bn.htmlChunks = [ya];
|
|
33623
|
-
var xn =
|
|
33618
|
+
var xn = ye(bn.htmlChunks, n, "html");
|
|
33624
33619
|
} else xn = be(e, n, "html");
|
|
33625
33620
|
return xn;
|
|
33626
33621
|
default: if (t.indexOf("-") !== -1) {
|
|
@@ -33669,11 +33664,11 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
33669
33664
|
for (var n = 0; n < t.length - 1; n++) m(e, t[n]);
|
|
33670
33665
|
return n < t.length ? (n = t[n], t.length = 0, h(e, n)) : !0;
|
|
33671
33666
|
}
|
|
33672
|
-
function
|
|
33667
|
+
function G(e, t, n) {
|
|
33673
33668
|
if (m(e, Da), n === null) throw Error("An ID must have been assigned before we can complete the boundary.");
|
|
33674
33669
|
return m(e, t.boundaryPrefix), m(e, _(n.toString(16))), h(e, Oa);
|
|
33675
33670
|
}
|
|
33676
|
-
function
|
|
33671
|
+
function Ee(e, t, n, r) {
|
|
33677
33672
|
switch (n.insertionMode) {
|
|
33678
33673
|
case ki:
|
|
33679
33674
|
case Ai:
|
|
@@ -34748,19 +34743,19 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
34748
34743
|
} else {
|
|
34749
34744
|
var he = Se(de.chunks, r, a, e.resumableState, e.renderState, t.blockedPreamble, t.hoistableState, t.formatContext, de.lastPushedText);
|
|
34750
34745
|
de.lastPushedText = !1;
|
|
34751
|
-
var
|
|
34752
|
-
if (t.keyPath = n, (t.formatContext = te(
|
|
34753
|
-
var
|
|
34754
|
-
de.preambleChildren.push(
|
|
34746
|
+
var W = t.formatContext, ge = t.keyPath;
|
|
34747
|
+
if (t.keyPath = n, (t.formatContext = te(W, r, a)).insertionMode === Mi) {
|
|
34748
|
+
var _e = Kt(e, 0, null, t.formatContext, !1, !1);
|
|
34749
|
+
de.preambleChildren.push(_e), t.blockedSegment = _e;
|
|
34755
34750
|
try {
|
|
34756
|
-
|
|
34751
|
+
_e.status = 6, xn(e, t, he, -1), _e.lastPushedText && _e.textEmbedded && _e.chunks.push(zi), _e.status = uc, kn(e, t.blockedBoundary, _e);
|
|
34757
34752
|
} finally {
|
|
34758
34753
|
t.blockedSegment = de;
|
|
34759
34754
|
}
|
|
34760
34755
|
} else xn(e, t, he, -1);
|
|
34761
|
-
t.formatContext =
|
|
34756
|
+
t.formatContext = W, t.keyPath = ge;
|
|
34762
34757
|
a: {
|
|
34763
|
-
var
|
|
34758
|
+
var ve = de.chunks, ye = e.resumableState;
|
|
34764
34759
|
switch (r) {
|
|
34765
34760
|
case "title":
|
|
34766
34761
|
case "style":
|
|
@@ -34781,20 +34776,20 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
34781
34776
|
case "track":
|
|
34782
34777
|
case "wbr": break a;
|
|
34783
34778
|
case "body":
|
|
34784
|
-
if (
|
|
34785
|
-
|
|
34779
|
+
if (W.insertionMode <= Ai) {
|
|
34780
|
+
ye.hasBody = !0;
|
|
34786
34781
|
break a;
|
|
34787
34782
|
}
|
|
34788
34783
|
break;
|
|
34789
34784
|
case "html":
|
|
34790
|
-
if (
|
|
34791
|
-
|
|
34785
|
+
if (W.insertionMode === ki) {
|
|
34786
|
+
ye.hasHtml = !0;
|
|
34792
34787
|
break a;
|
|
34793
34788
|
}
|
|
34794
34789
|
break;
|
|
34795
|
-
case "head": if (
|
|
34790
|
+
case "head": if (W.insertionMode <= Ai) break a;
|
|
34796
34791
|
}
|
|
34797
|
-
|
|
34792
|
+
ve.push(Ce(r));
|
|
34798
34793
|
}
|
|
34799
34794
|
de.lastPushedText = !1;
|
|
34800
34795
|
}
|
|
@@ -34822,35 +34817,35 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
34822
34817
|
return;
|
|
34823
34818
|
case ar:
|
|
34824
34819
|
a: {
|
|
34825
|
-
var
|
|
34826
|
-
if (
|
|
34827
|
-
if (mr(
|
|
34828
|
-
on(e, t, n,
|
|
34820
|
+
var G = a.children, Ee = a.revealOrder;
|
|
34821
|
+
if (Ee === "forwards" || Ee === "backwards" || Ee === "unstable_legacy-backwards") {
|
|
34822
|
+
if (mr(G)) {
|
|
34823
|
+
on(e, t, n, G, Ee);
|
|
34829
34824
|
break a;
|
|
34830
34825
|
}
|
|
34831
|
-
var De = i(
|
|
34826
|
+
var De = i(G);
|
|
34832
34827
|
if (De) {
|
|
34833
|
-
var Oe = De.call(
|
|
34828
|
+
var Oe = De.call(G);
|
|
34834
34829
|
if (Oe) {
|
|
34835
|
-
dn(t,
|
|
34830
|
+
dn(t, G, -1, Oe, De);
|
|
34836
34831
|
var ke = Oe.next();
|
|
34837
34832
|
if (!ke.done) {
|
|
34838
34833
|
var Ae = [];
|
|
34839
34834
|
do
|
|
34840
34835
|
Ae.push(ke.value), ke = Oe.next();
|
|
34841
34836
|
while (!ke.done);
|
|
34842
|
-
on(e, t, n,
|
|
34837
|
+
on(e, t, n, G, Ee);
|
|
34843
34838
|
}
|
|
34844
34839
|
break a;
|
|
34845
34840
|
}
|
|
34846
34841
|
}
|
|
34847
34842
|
}
|
|
34848
|
-
if (
|
|
34843
|
+
if (Ee === "together") {
|
|
34849
34844
|
var je = t.keyPath, Me = t.row, Ne = t.row = an(null);
|
|
34850
|
-
Ne.boundaries = [], Ne.together = !0, t.keyPath = n, fn(e, t,
|
|
34845
|
+
Ne.boundaries = [], Ne.together = !0, t.keyPath = n, fn(e, t, G, -1), --Ne.pendingTasks === 0 && tn(e, Ne), t.keyPath = je, t.row = Me, Me !== null && 0 < Ne.pendingTasks && (Me.pendingTasks++, Ne.next = Me);
|
|
34851
34846
|
} else {
|
|
34852
34847
|
var Pe = t.keyPath;
|
|
34853
|
-
t.keyPath = n, fn(e, t,
|
|
34848
|
+
t.keyPath = n, fn(e, t, G, -1), t.keyPath = Pe;
|
|
34854
34849
|
}
|
|
34855
34850
|
}
|
|
34856
34851
|
return;
|
|
@@ -35490,8 +35485,8 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
35490
35485
|
a !== null && --a.pendingTasks === 0 && tn(e, a), a = i.errorDigest;
|
|
35491
35486
|
var o = i.errorMessage, s = i.errorStack;
|
|
35492
35487
|
i = i.errorComponentStack, h(t, ka), m(t, ja), a && (m(t, Na), m(t, _(P(a))), m(t, Ma)), o && (m(t, Pa), m(t, _(P(o))), m(t, Ma)), s && (m(t, Fa), m(t, _(P(s))), m(t, Ma)), i && (m(t, Ia), m(t, _(P(i))), m(t, Ma)), h(t, La), Fn(e, t, n, r);
|
|
35493
|
-
} else if (i.status !== uc) i.status === lc && (i.rootSegmentID = e.nextSegmentId++), 0 < i.completedSegments.length && e.partialBoundaries.push(i),
|
|
35494
|
-
else if (!Tc && Ft(e, i) && (wc + i.byteSize > e.progressiveChunkSize || Xe(i.contentState))) i.rootSegmentID = e.nextSegmentId++, e.completedBoundaries.push(i),
|
|
35488
|
+
} else if (i.status !== uc) i.status === lc && (i.rootSegmentID = e.nextSegmentId++), 0 < i.completedSegments.length && e.partialBoundaries.push(i), G(t, e.renderState, i.rootSegmentID), r && q(r, i.fallbackState), Fn(e, t, n, r);
|
|
35489
|
+
else if (!Tc && Ft(e, i) && (wc + i.byteSize > e.progressiveChunkSize || Xe(i.contentState))) i.rootSegmentID = e.nextSegmentId++, e.completedBoundaries.push(i), G(t, e.renderState, i.rootSegmentID), Fn(e, t, n, r);
|
|
35495
35490
|
else {
|
|
35496
35491
|
if (wc += i.byteSize, r && q(r, i.contentState), n = i.row, n !== null && Ft(e, i) && --n.pendingTasks === 0 && tn(e, n), h(t, Ea), n = i.completedSegments, n.length !== 1) throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");
|
|
35497
35492
|
In(e, t, n[0], r);
|
|
@@ -35499,7 +35494,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
35499
35494
|
return h(t, Aa);
|
|
35500
35495
|
}
|
|
35501
35496
|
function Ln(e, t, n, r) {
|
|
35502
|
-
return
|
|
35497
|
+
return Ee(t, e.renderState, n.parentFormatContext, n.id), In(e, t, n, r), De(t, n.parentFormatContext);
|
|
35503
35498
|
}
|
|
35504
35499
|
function Rn(e, t, n) {
|
|
35505
35500
|
wc = n.byteSize;
|
|
@@ -36489,7 +36484,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
36489
36484
|
a !== pi && (r.scriptResources[e] = pi, t = Tr({
|
|
36490
36485
|
src: e,
|
|
36491
36486
|
async: !0
|
|
36492
|
-
}, t), a && (a.length === 2 && Ue(t, a), e = i.preloads.scripts.get(e)) && (e.length = 0), e = [], i.scripts.add(e),
|
|
36487
|
+
}, t), a && (a.length === 2 && Ue(t, a), e = i.preloads.scripts.get(e)) && (e.length = 0), e = [], i.scripts.add(e), ve(e, t), Hn(n));
|
|
36493
36488
|
}
|
|
36494
36489
|
} else ai.X(e, t);
|
|
36495
36490
|
},
|
|
@@ -36526,7 +36521,7 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
36526
36521
|
src: e,
|
|
36527
36522
|
type: "module",
|
|
36528
36523
|
async: !0
|
|
36529
|
-
}, t), a && (a.length === 2 && Ue(t, a), e = i.preloads.moduleScripts.get(e)) && (e.length = 0), e = [], i.scripts.add(e),
|
|
36524
|
+
}, t), a && (a.length === 2 && Ue(t, a), e = i.preloads.moduleScripts.get(e)) && (e.length = 0), e = [], i.scripts.add(e), ve(e, t), Hn(n));
|
|
36530
36525
|
}
|
|
36531
36526
|
} else ai.M(e, t);
|
|
36532
36527
|
}
|
|
@@ -36786,11 +36781,11 @@ var le = /* @__PURE__ */ e(((e) => {
|
|
|
36786
36781
|
});
|
|
36787
36782
|
}, e.version = "19.2.4";
|
|
36788
36783
|
})();
|
|
36789
|
-
})),
|
|
36784
|
+
})), fe = (/* @__PURE__ */ e(((e) => {
|
|
36790
36785
|
var t, n;
|
|
36791
|
-
process.env.NODE_ENV === "production" ? (t =
|
|
36786
|
+
process.env.NODE_ENV === "production" ? (t = ce(), n = le()) : (t = ue(), n = de()), e.version = t.version, e.renderToString = t.renderToString, e.renderToStaticMarkup = t.renderToStaticMarkup, e.renderToReadableStream = n.renderToReadableStream, e.resume = n.resume;
|
|
36792
36787
|
})))();
|
|
36793
|
-
function
|
|
36788
|
+
function pe(e, t, n) {
|
|
36794
36789
|
return (0, p.createElement)("svg", {
|
|
36795
36790
|
xmlns: "http://www.w3.org/2000/svg",
|
|
36796
36791
|
width: 24,
|
|
@@ -36807,7 +36802,7 @@ function me(e, t, n) {
|
|
|
36807
36802
|
key: String(t.key ?? n)
|
|
36808
36803
|
})));
|
|
36809
36804
|
}
|
|
36810
|
-
function
|
|
36805
|
+
function me({ iconKey: e, color: t, strokeWidth: n = 2 }) {
|
|
36811
36806
|
let r = w(e), [i, a] = (0, p.useState)(() => E(r));
|
|
36812
36807
|
return (0, p.useEffect)(() => {
|
|
36813
36808
|
let t = w(e);
|
|
@@ -36818,46 +36813,46 @@ function he({ iconKey: e, color: t, strokeWidth: n = 2 }) {
|
|
|
36818
36813
|
}), () => {
|
|
36819
36814
|
n = !0;
|
|
36820
36815
|
};
|
|
36821
|
-
}, [e]), i ?
|
|
36816
|
+
}, [e]), i ? pe(i, t, n) : null;
|
|
36822
36817
|
}
|
|
36823
36818
|
//#endregion
|
|
36824
36819
|
//#region src/lib/transformGeometry.ts
|
|
36825
|
-
var
|
|
36826
|
-
function
|
|
36820
|
+
var he = 256;
|
|
36821
|
+
function W(e) {
|
|
36827
36822
|
let t = e.scaleX, n = e.scaleY;
|
|
36828
36823
|
return {
|
|
36829
36824
|
hw: e.size * t / 2,
|
|
36830
36825
|
hh: e.size * n / 2
|
|
36831
36826
|
};
|
|
36832
36827
|
}
|
|
36833
|
-
function
|
|
36828
|
+
function ge(e) {
|
|
36834
36829
|
return {
|
|
36835
|
-
cx:
|
|
36836
|
-
cy:
|
|
36830
|
+
cx: he + e.x,
|
|
36831
|
+
cy: he + e.y
|
|
36837
36832
|
};
|
|
36838
36833
|
}
|
|
36839
|
-
function
|
|
36834
|
+
function _e(e) {
|
|
36840
36835
|
return e * Math.PI / 180;
|
|
36841
36836
|
}
|
|
36842
|
-
function
|
|
36843
|
-
let a =
|
|
36837
|
+
function ve(e, t, n, r, i) {
|
|
36838
|
+
let a = _e(i), o = Math.cos(a), s = Math.sin(a);
|
|
36844
36839
|
return {
|
|
36845
36840
|
x: n + e * o - t * s,
|
|
36846
36841
|
y: r + e * s + t * o
|
|
36847
36842
|
};
|
|
36848
36843
|
}
|
|
36849
|
-
function
|
|
36850
|
-
let a = e - n, o = t - r, s =
|
|
36844
|
+
function ye(e, t, n, r, i) {
|
|
36845
|
+
let a = e - n, o = t - r, s = _e(i), c = Math.cos(s), l = Math.sin(s);
|
|
36851
36846
|
return {
|
|
36852
36847
|
lx: a * c + o * l,
|
|
36853
36848
|
ly: -a * l + o * c
|
|
36854
36849
|
};
|
|
36855
36850
|
}
|
|
36856
|
-
function
|
|
36857
|
-
let { cx: r, cy: i } =
|
|
36851
|
+
function be(e, t, n) {
|
|
36852
|
+
let { cx: r, cy: i } = ge(n), { hw: a, hh: o } = W(n), { lx: s, ly: c } = ye(e, t, r, i, n.rotation);
|
|
36858
36853
|
return Math.abs(s) <= a && Math.abs(c) <= o;
|
|
36859
36854
|
}
|
|
36860
|
-
function
|
|
36855
|
+
function xe(e, t, n = 28) {
|
|
36861
36856
|
return {
|
|
36862
36857
|
nw: {
|
|
36863
36858
|
lx: -e,
|
|
@@ -36897,8 +36892,8 @@ function Se(e, t, n = 28) {
|
|
|
36897
36892
|
}
|
|
36898
36893
|
};
|
|
36899
36894
|
}
|
|
36900
|
-
function
|
|
36901
|
-
let { cx: i, cy: a } =
|
|
36895
|
+
function Se(e, t, n, r = 11) {
|
|
36896
|
+
let { cx: i, cy: a } = ge(n), { hw: o, hh: s } = W(n), c = xe(o, s);
|
|
36902
36897
|
for (let o of [
|
|
36903
36898
|
"rotate",
|
|
36904
36899
|
"nw",
|
|
@@ -36910,13 +36905,13 @@ function Ce(e, t, n, r = 11) {
|
|
|
36910
36905
|
"sw",
|
|
36911
36906
|
"w"
|
|
36912
36907
|
]) {
|
|
36913
|
-
let { lx: s, ly: l } = c[o], { x: u, y: d } =
|
|
36908
|
+
let { lx: s, ly: l } = c[o], { x: u, y: d } = ve(s, l, i, a, n.rotation), f = e - u, p = t - d;
|
|
36914
36909
|
if (f * f + p * p <= r * r) return o;
|
|
36915
36910
|
}
|
|
36916
36911
|
return null;
|
|
36917
36912
|
}
|
|
36918
|
-
function
|
|
36919
|
-
let { cx: t, cy: n } =
|
|
36913
|
+
function Ce(e) {
|
|
36914
|
+
let { cx: t, cy: n } = ge(e), { hw: r, hh: i } = W(e);
|
|
36920
36915
|
return [
|
|
36921
36916
|
{
|
|
36922
36917
|
lx: -r,
|
|
@@ -36934,11 +36929,11 @@ function we(e) {
|
|
|
36934
36929
|
lx: -r,
|
|
36935
36930
|
ly: i
|
|
36936
36931
|
}
|
|
36937
|
-
].map(({ lx: r, ly: i }) =>
|
|
36932
|
+
].map(({ lx: r, ly: i }) => ve(r, i, t, n, e.rotation));
|
|
36938
36933
|
}
|
|
36939
36934
|
//#endregion
|
|
36940
36935
|
//#region node_modules/react/cjs/react-jsx-runtime.production.js
|
|
36941
|
-
var
|
|
36936
|
+
var we = /* @__PURE__ */ e(((e) => {
|
|
36942
36937
|
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");
|
|
36943
36938
|
function r(e, n, r) {
|
|
36944
36939
|
var i = null;
|
|
@@ -36953,7 +36948,7 @@ var Te = /* @__PURE__ */ e(((e) => {
|
|
|
36953
36948
|
};
|
|
36954
36949
|
}
|
|
36955
36950
|
e.Fragment = n, e.jsx = r, e.jsxs = r;
|
|
36956
|
-
})),
|
|
36951
|
+
})), Te = /* @__PURE__ */ e(((e) => {
|
|
36957
36952
|
process.env.NODE_ENV !== "production" && (function() {
|
|
36958
36953
|
function t(e) {
|
|
36959
36954
|
if (e == null) return null;
|
|
@@ -37112,14 +37107,14 @@ var Te = /* @__PURE__ */ e(((e) => {
|
|
|
37112
37107
|
};
|
|
37113
37108
|
})();
|
|
37114
37109
|
})), G = (/* @__PURE__ */ e(((e, t) => {
|
|
37115
|
-
process.env.NODE_ENV === "production" ? t.exports =
|
|
37116
|
-
})))(),
|
|
37117
|
-
function
|
|
37110
|
+
process.env.NODE_ENV === "production" ? t.exports = we() : t.exports = Te();
|
|
37111
|
+
})))(), Ee = 512, De = Ee / 2;
|
|
37112
|
+
function Oe({ shape: e, color: t }) {
|
|
37118
37113
|
if (e === "none") return null;
|
|
37119
37114
|
let n = { fill: t };
|
|
37120
37115
|
return e === "circle" ? /* @__PURE__ */ (0, G.jsx)("circle", {
|
|
37121
|
-
cx:
|
|
37122
|
-
cy:
|
|
37116
|
+
cx: De,
|
|
37117
|
+
cy: De,
|
|
37123
37118
|
r: 200,
|
|
37124
37119
|
...n
|
|
37125
37120
|
}) : e === "square" ? /* @__PURE__ */ (0, G.jsx)("rect", {
|
|
@@ -37141,7 +37136,7 @@ function ke({ shape: e, color: t }) {
|
|
|
37141
37136
|
...n
|
|
37142
37137
|
}) : null;
|
|
37143
37138
|
}
|
|
37144
|
-
function
|
|
37139
|
+
function ke({ shape: e, color: t }) {
|
|
37145
37140
|
let n = { fill: t };
|
|
37146
37141
|
switch (e) {
|
|
37147
37142
|
case "circle": return /* @__PURE__ */ (0, G.jsx)("circle", {
|
|
@@ -37208,8 +37203,8 @@ function Ae({ shape: e, color: t }) {
|
|
|
37208
37203
|
default: return null;
|
|
37209
37204
|
}
|
|
37210
37205
|
}
|
|
37211
|
-
function
|
|
37212
|
-
let { cx: n, cy: r } =
|
|
37206
|
+
function Ae({ el: e, hideHandles: t }) {
|
|
37207
|
+
let { cx: n, cy: r } = ge(e), { hw: i, hh: a } = W(e), o = Ce(e).map((e) => `${e.x},${e.y}`).join(" "), s = xe(i, a);
|
|
37213
37208
|
return /* @__PURE__ */ (0, G.jsxs)("g", {
|
|
37214
37209
|
className: "logo-transform-ui",
|
|
37215
37210
|
children: [/* @__PURE__ */ (0, G.jsx)("polygon", {
|
|
@@ -37229,7 +37224,7 @@ function je({ el: e, hideHandles: t }) {
|
|
|
37229
37224
|
"w",
|
|
37230
37225
|
"rotate"
|
|
37231
37226
|
].map((t) => {
|
|
37232
|
-
let { lx: i, ly: a } = s[t], { x: o, y: c } =
|
|
37227
|
+
let { lx: i, ly: a } = s[t], { x: o, y: c } = ve(i, a, n, r, e.rotation), l = t === "rotate";
|
|
37233
37228
|
return /* @__PURE__ */ (0, G.jsx)("circle", {
|
|
37234
37229
|
cx: o,
|
|
37235
37230
|
cy: c,
|
|
@@ -37244,18 +37239,18 @@ function je({ el: e, hideHandles: t }) {
|
|
|
37244
37239
|
})]
|
|
37245
37240
|
});
|
|
37246
37241
|
}
|
|
37247
|
-
var
|
|
37242
|
+
var je = (0, p.forwardRef)(function({ state: e, selectedIds: t = [], showTransformUi: n = !1, marquee: r, className: i, ...a }, o) {
|
|
37248
37243
|
let s = n ? e.elements.filter((e) => t.includes(e.id)) : [];
|
|
37249
37244
|
return /* @__PURE__ */ (0, G.jsxs)("svg", {
|
|
37250
37245
|
ref: o,
|
|
37251
37246
|
role: "img",
|
|
37252
37247
|
"aria-label": "Logo — canvas d’édition",
|
|
37253
|
-
viewBox: `0 0 ${
|
|
37248
|
+
viewBox: `0 0 ${Ee} ${Ee}`,
|
|
37254
37249
|
className: i,
|
|
37255
37250
|
xmlns: "http://www.w3.org/2000/svg",
|
|
37256
37251
|
...a,
|
|
37257
37252
|
children: [
|
|
37258
|
-
/* @__PURE__ */ (0, G.jsx)(
|
|
37253
|
+
/* @__PURE__ */ (0, G.jsx)(Oe, {
|
|
37259
37254
|
shape: e.background.shape,
|
|
37260
37255
|
color: e.background.color
|
|
37261
37256
|
}),
|
|
@@ -37263,10 +37258,10 @@ var Me = (0, p.forwardRef)(function({ state: e, selectedIds: t = [], showTransfo
|
|
|
37263
37258
|
if (e.type === "icon") {
|
|
37264
37259
|
let t = e.size / 24 * e.scaleX, n = e.size / 24 * e.scaleY;
|
|
37265
37260
|
return /* @__PURE__ */ (0, G.jsx)("g", { children: /* @__PURE__ */ (0, G.jsx)("g", {
|
|
37266
|
-
transform: `translate(${
|
|
37261
|
+
transform: `translate(${De + e.x} ${De + e.y}) rotate(${e.rotation})`,
|
|
37267
37262
|
children: /* @__PURE__ */ (0, G.jsx)("g", {
|
|
37268
37263
|
transform: `scale(${t}, ${n}) translate(-12 -12)`,
|
|
37269
|
-
children: /* @__PURE__ */ (0, G.jsx)(
|
|
37264
|
+
children: /* @__PURE__ */ (0, G.jsx)(me, {
|
|
37270
37265
|
iconKey: e.iconName,
|
|
37271
37266
|
color: e.color,
|
|
37272
37267
|
strokeWidth: 2
|
|
@@ -37276,17 +37271,17 @@ var Me = (0, p.forwardRef)(function({ state: e, selectedIds: t = [], showTransfo
|
|
|
37276
37271
|
}
|
|
37277
37272
|
let t = e.size / 100 * e.scaleX, n = e.size / 100 * e.scaleY;
|
|
37278
37273
|
return /* @__PURE__ */ (0, G.jsx)("g", { children: /* @__PURE__ */ (0, G.jsx)("g", {
|
|
37279
|
-
transform: `translate(${
|
|
37274
|
+
transform: `translate(${De + e.x} ${De + e.y}) rotate(${e.rotation})`,
|
|
37280
37275
|
children: /* @__PURE__ */ (0, G.jsx)("g", {
|
|
37281
37276
|
transform: `scale(${t}, ${n}) translate(-50 -50)`,
|
|
37282
|
-
children: /* @__PURE__ */ (0, G.jsx)(
|
|
37277
|
+
children: /* @__PURE__ */ (0, G.jsx)(ke, {
|
|
37283
37278
|
shape: e.shape,
|
|
37284
37279
|
color: e.color
|
|
37285
37280
|
})
|
|
37286
37281
|
})
|
|
37287
37282
|
}) }, e.id);
|
|
37288
37283
|
}),
|
|
37289
|
-
s.map((e) => /* @__PURE__ */ (0, G.jsx)(
|
|
37284
|
+
s.map((e) => /* @__PURE__ */ (0, G.jsx)(Ae, {
|
|
37290
37285
|
el: e,
|
|
37291
37286
|
hideHandles: s.length > 1
|
|
37292
37287
|
}, `tfm-${e.id}`)),
|
|
@@ -37303,10 +37298,10 @@ var Me = (0, p.forwardRef)(function({ state: e, selectedIds: t = [], showTransfo
|
|
|
37303
37298
|
]
|
|
37304
37299
|
});
|
|
37305
37300
|
});
|
|
37306
|
-
|
|
37301
|
+
je.displayName = "LogoCanvasSvg";
|
|
37307
37302
|
//#endregion
|
|
37308
37303
|
//#region src/lib/export.ts
|
|
37309
|
-
function
|
|
37304
|
+
function Me(e) {
|
|
37310
37305
|
return {
|
|
37311
37306
|
...e,
|
|
37312
37307
|
metadata: {
|
|
@@ -37315,17 +37310,17 @@ function Ne(e) {
|
|
|
37315
37310
|
}
|
|
37316
37311
|
};
|
|
37317
37312
|
}
|
|
37318
|
-
async function
|
|
37319
|
-
return await O(e), "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + (0,
|
|
37313
|
+
async function Ne(e) {
|
|
37314
|
+
return await O(e), "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + (0, fe.renderToStaticMarkup)((0, p.createElement)(je, {
|
|
37320
37315
|
state: e,
|
|
37321
37316
|
selectedIds: [],
|
|
37322
37317
|
showTransformUi: !1
|
|
37323
37318
|
}));
|
|
37324
37319
|
}
|
|
37325
|
-
function
|
|
37326
|
-
return JSON.stringify(
|
|
37320
|
+
function Pe(e, t = !1) {
|
|
37321
|
+
return JSON.stringify(Me(e), null, t ? 2 : void 0);
|
|
37327
37322
|
}
|
|
37328
|
-
async function
|
|
37323
|
+
async function Fe(e, t = 512, n = 2) {
|
|
37329
37324
|
let r = t * n, i = new Image(), a = new Blob([e], { type: "image/svg+xml;charset=utf-8" }), o = URL.createObjectURL(a);
|
|
37330
37325
|
try {
|
|
37331
37326
|
await new Promise((e, t) => {
|
|
@@ -37340,14 +37335,14 @@ async function Ie(e, t = 512, n = 2) {
|
|
|
37340
37335
|
URL.revokeObjectURL(o);
|
|
37341
37336
|
}
|
|
37342
37337
|
}
|
|
37343
|
-
async function
|
|
37344
|
-
return
|
|
37338
|
+
async function Ie(e, t = 512) {
|
|
37339
|
+
return Fe(await Ne(e), t, 2);
|
|
37345
37340
|
}
|
|
37346
37341
|
//#endregion
|
|
37347
37342
|
//#region src/components/layout/AppShell.tsx
|
|
37348
|
-
function
|
|
37343
|
+
function Le({ embedMode: e, title: t, toolbar: n, trailing: r, sidebar: i, preview: a }) {
|
|
37349
37344
|
return /* @__PURE__ */ (0, G.jsxs)("div", {
|
|
37350
|
-
className: (e ? "embed-mode " : "") + "flex h-
|
|
37345
|
+
className: (e ? "embed-mode " : "") + "flex h-full min-h-0 w-full max-w-full flex-col overflow-hidden bg-[var(--lc-bg)] text-[var(--lc-text)]",
|
|
37351
37346
|
children: [/* @__PURE__ */ (0, G.jsxs)("header", {
|
|
37352
37347
|
className: "flex h-9 max-h-9 shrink-0 items-stretch gap-1 border-b border-[var(--lc-border)] bg-[var(--lc-chrome)]",
|
|
37353
37348
|
children: [
|
|
@@ -37389,7 +37384,7 @@ function Re({ embedMode: e, title: t, toolbar: n, trailing: r, sidebar: i, previ
|
|
|
37389
37384
|
}
|
|
37390
37385
|
//#endregion
|
|
37391
37386
|
//#region src/components/layout/Section.tsx
|
|
37392
|
-
function
|
|
37387
|
+
function Re({ title: e, hint: t, children: n }) {
|
|
37393
37388
|
return /* @__PURE__ */ (0, G.jsxs)("section", {
|
|
37394
37389
|
className: "border-b border-[var(--lc-border)] px-2.5 py-2.5 last:border-b-0",
|
|
37395
37390
|
children: [
|
|
@@ -37410,7 +37405,7 @@ function ze({ title: e, hint: t, children: n }) {
|
|
|
37410
37405
|
}
|
|
37411
37406
|
//#endregion
|
|
37412
37407
|
//#region src/components/chrome/ToolbarButton.tsx
|
|
37413
|
-
function
|
|
37408
|
+
function ze({ children: e, title: t, primary: n, className: r = "", type: i = "button", ...a }) {
|
|
37414
37409
|
return /* @__PURE__ */ (0, G.jsx)("button", {
|
|
37415
37410
|
type: i,
|
|
37416
37411
|
title: t,
|
|
@@ -37421,30 +37416,30 @@ function Be({ children: e, title: t, primary: n, className: r = "", type: i = "b
|
|
|
37421
37416
|
}
|
|
37422
37417
|
//#endregion
|
|
37423
37418
|
//#region src/lib/canvasHitTest.ts
|
|
37424
|
-
function
|
|
37419
|
+
function Be(e, t, n) {
|
|
37425
37420
|
for (let r = n.length - 1; r >= 0; r--) {
|
|
37426
37421
|
let i = n[r];
|
|
37427
|
-
if (
|
|
37422
|
+
if (be(e, t, i)) return i.id;
|
|
37428
37423
|
}
|
|
37429
37424
|
return null;
|
|
37430
37425
|
}
|
|
37431
|
-
function
|
|
37426
|
+
function Ve(e, t, n, r, i) {
|
|
37432
37427
|
let a = [];
|
|
37433
37428
|
for (let o of i) {
|
|
37434
|
-
let { cx: i, cy: s } =
|
|
37429
|
+
let { cx: i, cy: s } = ge(o);
|
|
37435
37430
|
i >= e && i <= e + n && s >= t && s <= t + r && a.push(o.id);
|
|
37436
37431
|
}
|
|
37437
37432
|
return a;
|
|
37438
37433
|
}
|
|
37439
37434
|
//#endregion
|
|
37440
37435
|
//#region src/components/LogoCanvas.tsx
|
|
37441
|
-
function
|
|
37436
|
+
function He(e) {
|
|
37442
37437
|
return Math.min(300, Math.max(-300, e));
|
|
37443
37438
|
}
|
|
37444
|
-
function
|
|
37439
|
+
function Ue(e) {
|
|
37445
37440
|
return Math.min(10, Math.max(.12, e));
|
|
37446
37441
|
}
|
|
37447
|
-
function
|
|
37442
|
+
function We({ state: e, dispatch: t }) {
|
|
37448
37443
|
let n = (0, p.useRef)(null), r = (0, p.useRef)(null), [i, a] = (0, p.useState)(null);
|
|
37449
37444
|
(0, p.useEffect)(() => {
|
|
37450
37445
|
O(e);
|
|
@@ -37462,7 +37457,7 @@ function Ge({ state: e, dispatch: t }) {
|
|
|
37462
37457
|
y: o.y
|
|
37463
37458
|
};
|
|
37464
37459
|
}, s = (e, t, i, a) => {
|
|
37465
|
-
let { cx: o, cy: s } =
|
|
37460
|
+
let { cx: o, cy: s } = ge(t), c = t.rotation * Math.PI / 180, l = Math.cos(c), u = Math.sin(c), { hw: d, hh: f } = W(t);
|
|
37466
37461
|
switch (i) {
|
|
37467
37462
|
case "rotate":
|
|
37468
37463
|
r.current = {
|
|
@@ -37564,13 +37559,13 @@ function Ge({ state: e, dispatch: t }) {
|
|
|
37564
37559
|
return;
|
|
37565
37560
|
}
|
|
37566
37561
|
if (u) {
|
|
37567
|
-
let e =
|
|
37562
|
+
let e = Se(c.x, c.y, u);
|
|
37568
37563
|
if (e) {
|
|
37569
37564
|
s(i, u, e, c), i.preventDefault();
|
|
37570
37565
|
return;
|
|
37571
37566
|
}
|
|
37572
37567
|
}
|
|
37573
|
-
let d =
|
|
37568
|
+
let d = Be(c.x, c.y, e.elements);
|
|
37574
37569
|
if (d) {
|
|
37575
37570
|
let a = e.selectedIds.includes(d), o = e.selectedIds;
|
|
37576
37571
|
i.shiftKey ? (t({
|
|
@@ -37617,8 +37612,8 @@ function Ge({ state: e, dispatch: t }) {
|
|
|
37617
37612
|
payload: {
|
|
37618
37613
|
id: n,
|
|
37619
37614
|
patch: {
|
|
37620
|
-
x:
|
|
37621
|
-
y:
|
|
37615
|
+
x: He(i + e),
|
|
37616
|
+
y: He(a + r)
|
|
37622
37617
|
}
|
|
37623
37618
|
}
|
|
37624
37619
|
});
|
|
@@ -37652,15 +37647,15 @@ function Ge({ state: e, dispatch: t }) {
|
|
|
37652
37647
|
payload: {
|
|
37653
37648
|
id: n.id,
|
|
37654
37649
|
patch: {
|
|
37655
|
-
scaleX:
|
|
37656
|
-
scaleY:
|
|
37650
|
+
scaleX: Ue(n.initScaleX * r),
|
|
37651
|
+
scaleY: Ue(n.initScaleY * r)
|
|
37657
37652
|
}
|
|
37658
37653
|
}
|
|
37659
37654
|
});
|
|
37660
37655
|
return;
|
|
37661
37656
|
}
|
|
37662
37657
|
if (n.kind === "scale-axis") {
|
|
37663
|
-
let e = (i.x - n.pointerDown.x) * n.ux + (i.y - n.pointerDown.y) * n.uy, r =
|
|
37658
|
+
let e = (i.x - n.pointerDown.x) * n.ux + (i.y - n.pointerDown.y) * n.uy, r = Ue(2 * Math.max(4, n.initHalf + e) / n.size);
|
|
37664
37659
|
t({
|
|
37665
37660
|
type: "UPDATE_ELEMENT",
|
|
37666
37661
|
payload: {
|
|
@@ -37674,7 +37669,7 @@ function Ge({ state: e, dispatch: t }) {
|
|
|
37674
37669
|
let s = r.current;
|
|
37675
37670
|
if (!(!s || o.pointerId !== s.pointerId)) {
|
|
37676
37671
|
if (s.kind === "marquee" && i) {
|
|
37677
|
-
let n =
|
|
37672
|
+
let n = Ve(i.x, i.y, i.w, i.h, e.elements);
|
|
37678
37673
|
if (o.shiftKey) {
|
|
37679
37674
|
let r = new Set(e.selectedIds);
|
|
37680
37675
|
n.forEach((e) => {
|
|
@@ -37714,7 +37709,7 @@ function Ge({ state: e, dispatch: t }) {
|
|
|
37714
37709
|
className: "lc-checker relative flex min-h-0 flex-1 items-center justify-center overflow-hidden",
|
|
37715
37710
|
children: /* @__PURE__ */ (0, G.jsx)("div", {
|
|
37716
37711
|
className: "aspect-square h-full max-h-full w-full max-w-full touch-none select-none p-0",
|
|
37717
|
-
children: /* @__PURE__ */ (0, G.jsx)(
|
|
37712
|
+
children: /* @__PURE__ */ (0, G.jsx)(je, {
|
|
37718
37713
|
ref: n,
|
|
37719
37714
|
state: e,
|
|
37720
37715
|
selectedIds: e.selectedIds,
|
|
@@ -37732,8 +37727,8 @@ function Ge({ state: e, dispatch: t }) {
|
|
|
37732
37727
|
}
|
|
37733
37728
|
//#endregion
|
|
37734
37729
|
//#region src/components/IconGrid.tsx
|
|
37735
|
-
var
|
|
37736
|
-
function
|
|
37730
|
+
var Ge = 150;
|
|
37731
|
+
function Ke({ value: e, onChange: t }) {
|
|
37737
37732
|
let [n, i] = (0, p.useState)(""), { mode: a, keys: o, hint: s } = (0, p.useMemo)(() => {
|
|
37738
37733
|
let e = n.trim().toLowerCase();
|
|
37739
37734
|
if (e.length < 2) return {
|
|
@@ -37744,8 +37739,8 @@ function qe({ value: e, onChange: t }) {
|
|
|
37744
37739
|
let t = b.filter((t) => t.includes(e));
|
|
37745
37740
|
return {
|
|
37746
37741
|
mode: "search",
|
|
37747
|
-
keys: t.length >
|
|
37748
|
-
hint: t.length >
|
|
37742
|
+
keys: t.length > Ge ? t.slice(0, Ge) : t,
|
|
37743
|
+
hint: t.length > Ge ? `Affichage des ${Ge} premiers résultats sur ${t.length}. Affinez la recherche.` : `${t.length} résultat${t.length > 1 ? "s" : ""}`
|
|
37749
37744
|
};
|
|
37750
37745
|
}, [n]);
|
|
37751
37746
|
return /* @__PURE__ */ (0, G.jsxs)("div", {
|
|
@@ -37792,7 +37787,7 @@ function qe({ value: e, onChange: t }) {
|
|
|
37792
37787
|
}
|
|
37793
37788
|
//#endregion
|
|
37794
37789
|
//#region src/components/PrimitiveShapePicker.tsx
|
|
37795
|
-
var
|
|
37790
|
+
var qe = [
|
|
37796
37791
|
{
|
|
37797
37792
|
value: "circle",
|
|
37798
37793
|
label: "●"
|
|
@@ -37842,10 +37837,10 @@ var Je = [
|
|
|
37842
37837
|
label: "✚"
|
|
37843
37838
|
}
|
|
37844
37839
|
];
|
|
37845
|
-
function
|
|
37840
|
+
function Je({ onPick: e }) {
|
|
37846
37841
|
return /* @__PURE__ */ (0, G.jsx)("div", {
|
|
37847
37842
|
className: "grid grid-cols-6 gap-0.5",
|
|
37848
|
-
children:
|
|
37843
|
+
children: qe.map((t) => /* @__PURE__ */ (0, G.jsx)("button", {
|
|
37849
37844
|
type: "button",
|
|
37850
37845
|
title: t.value,
|
|
37851
37846
|
onClick: () => e(t.value),
|
|
@@ -37856,7 +37851,7 @@ function Ye({ onPick: e }) {
|
|
|
37856
37851
|
}
|
|
37857
37852
|
//#endregion
|
|
37858
37853
|
//#region src/components/controls/LabeledSlider.tsx
|
|
37859
|
-
function
|
|
37854
|
+
function Ye({ label: e, min: t, max: n, step: r = 1, value: i, onChange: a, suffix: o }) {
|
|
37860
37855
|
return /* @__PURE__ */ (0, G.jsxs)("div", { children: [/* @__PURE__ */ (0, G.jsxs)("div", {
|
|
37861
37856
|
className: "mb-0.5 flex items-center justify-between gap-2",
|
|
37862
37857
|
children: [/* @__PURE__ */ (0, G.jsx)("label", {
|
|
@@ -37878,7 +37873,7 @@ function K({ label: e, min: t, max: n, step: r = 1, value: i, onChange: a, suffi
|
|
|
37878
37873
|
}
|
|
37879
37874
|
//#endregion
|
|
37880
37875
|
//#region src/components/controls/ColorField.tsx
|
|
37881
|
-
function
|
|
37876
|
+
function K({ label: e, value: t, onChange: n }) {
|
|
37882
37877
|
return /* @__PURE__ */ (0, G.jsxs)("div", {
|
|
37883
37878
|
className: "flex items-center gap-2",
|
|
37884
37879
|
children: [
|
|
@@ -37888,7 +37883,7 @@ function q({ label: e, value: t, onChange: n }) {
|
|
|
37888
37883
|
}),
|
|
37889
37884
|
/* @__PURE__ */ (0, G.jsx)("input", {
|
|
37890
37885
|
type: "color",
|
|
37891
|
-
value:
|
|
37886
|
+
value: q(t),
|
|
37892
37887
|
onChange: (e) => n(e.target.value),
|
|
37893
37888
|
className: "size-7 shrink-0 cursor-pointer overflow-hidden rounded border border-[var(--lc-border)] bg-[var(--lc-input)] p-0",
|
|
37894
37889
|
"aria-label": e
|
|
@@ -37902,16 +37897,16 @@ function q({ label: e, value: t, onChange: n }) {
|
|
|
37902
37897
|
]
|
|
37903
37898
|
});
|
|
37904
37899
|
}
|
|
37905
|
-
function
|
|
37906
|
-
return /^#[0-9A-Fa-f]{6}$/.test(e) ? e : /^#[0-9A-Fa-f]{3}$/.test(e) ?
|
|
37900
|
+
function q(e) {
|
|
37901
|
+
return /^#[0-9A-Fa-f]{6}$/.test(e) ? e : /^#[0-9A-Fa-f]{3}$/.test(e) ? Xe(e) : "#6366f1";
|
|
37907
37902
|
}
|
|
37908
|
-
function
|
|
37903
|
+
function Xe(e) {
|
|
37909
37904
|
let t = e.slice(1);
|
|
37910
37905
|
return `#${t[0]}${t[0]}${t[1]}${t[1]}${t[2]}${t[2]}`;
|
|
37911
37906
|
}
|
|
37912
37907
|
//#endregion
|
|
37913
37908
|
//#region src/components/controls/ShapeSelect.tsx
|
|
37914
|
-
var
|
|
37909
|
+
var J = [
|
|
37915
37910
|
{
|
|
37916
37911
|
value: "none",
|
|
37917
37912
|
label: "Aucun"
|
|
@@ -37933,10 +37928,10 @@ var Ze = [
|
|
|
37933
37928
|
label: "Hexagone"
|
|
37934
37929
|
}
|
|
37935
37930
|
];
|
|
37936
|
-
function
|
|
37931
|
+
function Ze({ value: e, onChange: t }) {
|
|
37937
37932
|
return /* @__PURE__ */ (0, G.jsx)("div", {
|
|
37938
37933
|
className: "grid grid-cols-3 gap-0.5",
|
|
37939
|
-
children:
|
|
37934
|
+
children: J.map((n) => /* @__PURE__ */ (0, G.jsx)("button", {
|
|
37940
37935
|
type: "button",
|
|
37941
37936
|
onClick: () => t(n.value),
|
|
37942
37937
|
className: n.value === e ? "rounded-sm border border-[var(--lc-accent)] bg-[color-mix(in_srgb,var(--lc-accent)_22%,transparent)] px-1 py-1.5 text-[10px] font-medium text-[var(--lc-text)]" : "rounded-sm border border-transparent bg-[var(--lc-panel-2)] px-1 py-1.5 text-[10px] text-[var(--lc-text)] hover:border-[var(--lc-border)]",
|
|
@@ -37946,11 +37941,9 @@ function Qe({ value: e, onChange: t }) {
|
|
|
37946
37941
|
}
|
|
37947
37942
|
//#endregion
|
|
37948
37943
|
//#region src/app/LogoEditorApp.tsx
|
|
37949
|
-
function
|
|
37944
|
+
function Qe({ initialState: e, theme: t, host: n }) {
|
|
37950
37945
|
let { state: r, dispatch: i, reset: a, randomize: o } = U(e), s = (0, p.useRef)(null);
|
|
37951
37946
|
(0, p.useEffect)(() => {
|
|
37952
|
-
ce(t);
|
|
37953
|
-
}, [t]), (0, p.useEffect)(() => {
|
|
37954
37947
|
let e = (e) => {
|
|
37955
37948
|
if (e.key === "Escape") {
|
|
37956
37949
|
e.preventDefault(), n.onCancel();
|
|
@@ -37963,7 +37956,7 @@ function $e({ initialState: e, theme: t, host: n }) {
|
|
|
37963
37956
|
}, [i, n]);
|
|
37964
37957
|
let c = async () => {
|
|
37965
37958
|
try {
|
|
37966
|
-
let e =
|
|
37959
|
+
let e = Me(r), t = await Ie(r), i = Pe(e, !0);
|
|
37967
37960
|
n.onComplete({
|
|
37968
37961
|
state: e,
|
|
37969
37962
|
json: i,
|
|
@@ -37995,13 +37988,13 @@ function $e({ initialState: e, theme: t, host: n }) {
|
|
|
37995
37988
|
payload: e
|
|
37996
37989
|
});
|
|
37997
37990
|
}, [i]), h = /* @__PURE__ */ (0, G.jsxs)(G.Fragment, { children: [
|
|
37998
|
-
/* @__PURE__ */ (0, G.jsx)(
|
|
37991
|
+
/* @__PURE__ */ (0, G.jsx)(ze, {
|
|
37999
37992
|
primary: !0,
|
|
38000
37993
|
onClick: () => void c(),
|
|
38001
37994
|
title: "Valider et récupérer JSON + PNG",
|
|
38002
37995
|
children: "Terminer"
|
|
38003
37996
|
}),
|
|
38004
|
-
/* @__PURE__ */ (0, G.jsx)(
|
|
37997
|
+
/* @__PURE__ */ (0, G.jsx)(ze, {
|
|
38005
37998
|
onClick: l,
|
|
38006
37999
|
title: "Fermer sans valider (Échap)",
|
|
38007
38000
|
children: "Annuler"
|
|
@@ -38010,32 +38003,32 @@ function $e({ initialState: e, theme: t, host: n }) {
|
|
|
38010
38003
|
className: "mx-0.5 hidden h-4 w-px shrink-0 bg-[var(--lc-border)] sm:block",
|
|
38011
38004
|
"aria-hidden": !0
|
|
38012
38005
|
}),
|
|
38013
|
-
/* @__PURE__ */ (0, G.jsx)(
|
|
38006
|
+
/* @__PURE__ */ (0, G.jsx)(ze, {
|
|
38014
38007
|
onClick: () => s.current?.click(),
|
|
38015
38008
|
title: "Importer un JSON de design",
|
|
38016
38009
|
children: "Importer JSON"
|
|
38017
38010
|
}),
|
|
38018
|
-
/* @__PURE__ */ (0, G.jsx)(
|
|
38011
|
+
/* @__PURE__ */ (0, G.jsx)(ze, {
|
|
38019
38012
|
onClick: a,
|
|
38020
38013
|
title: "Tout réinitialiser",
|
|
38021
38014
|
children: "Reset"
|
|
38022
38015
|
}),
|
|
38023
|
-
/* @__PURE__ */ (0, G.jsx)(
|
|
38016
|
+
/* @__PURE__ */ (0, G.jsx)(ze, {
|
|
38024
38017
|
onClick: o,
|
|
38025
38018
|
title: "Composition aléatoire",
|
|
38026
38019
|
children: "Aléatoire"
|
|
38027
38020
|
})
|
|
38028
38021
|
] }), g = /* @__PURE__ */ (0, G.jsxs)(G.Fragment, { children: [
|
|
38029
|
-
/* @__PURE__ */ (0, G.jsxs)(
|
|
38022
|
+
/* @__PURE__ */ (0, G.jsxs)(Re, {
|
|
38030
38023
|
title: "Fond",
|
|
38031
38024
|
hint: "Cadre derrière la composition.",
|
|
38032
|
-
children: [/* @__PURE__ */ (0, G.jsx)(
|
|
38025
|
+
children: [/* @__PURE__ */ (0, G.jsx)(Ze, {
|
|
38033
38026
|
value: r.background.shape,
|
|
38034
38027
|
onChange: (e) => i({
|
|
38035
38028
|
type: "SET_BACKGROUND",
|
|
38036
38029
|
payload: { shape: e }
|
|
38037
38030
|
})
|
|
38038
|
-
}), /* @__PURE__ */ (0, G.jsx)(
|
|
38031
|
+
}), /* @__PURE__ */ (0, G.jsx)(K, {
|
|
38039
38032
|
label: "Couleur",
|
|
38040
38033
|
value: r.background.color,
|
|
38041
38034
|
onChange: (e) => i({
|
|
@@ -38044,18 +38037,18 @@ function $e({ initialState: e, theme: t, host: n }) {
|
|
|
38044
38037
|
})
|
|
38045
38038
|
})]
|
|
38046
38039
|
}),
|
|
38047
|
-
/* @__PURE__ */ (0, G.jsx)(
|
|
38040
|
+
/* @__PURE__ */ (0, G.jsx)(Re, {
|
|
38048
38041
|
title: "Formes",
|
|
38049
38042
|
hint: "Clic pour ajouter un calque.",
|
|
38050
|
-
children: /* @__PURE__ */ (0, G.jsx)(
|
|
38043
|
+
children: /* @__PURE__ */ (0, G.jsx)(Je, { onPick: (e) => i({
|
|
38051
38044
|
type: "ADD_ELEMENT",
|
|
38052
38045
|
payload: R(e)
|
|
38053
38046
|
}) })
|
|
38054
38047
|
}),
|
|
38055
|
-
/* @__PURE__ */ (0, G.jsx)(
|
|
38048
|
+
/* @__PURE__ */ (0, G.jsx)(Re, {
|
|
38056
38049
|
title: "Icônes",
|
|
38057
38050
|
hint: "Bibliothèque Lucide.",
|
|
38058
|
-
children: /* @__PURE__ */ (0, G.jsx)(
|
|
38051
|
+
children: /* @__PURE__ */ (0, G.jsx)(Ke, {
|
|
38059
38052
|
value: d?.type === "icon" ? d.iconName : null,
|
|
38060
38053
|
onChange: (e) => i({
|
|
38061
38054
|
type: "ADD_ELEMENT",
|
|
@@ -38063,7 +38056,7 @@ function $e({ initialState: e, theme: t, host: n }) {
|
|
|
38063
38056
|
})
|
|
38064
38057
|
})
|
|
38065
38058
|
}),
|
|
38066
|
-
/* @__PURE__ */ (0, G.jsx)(
|
|
38059
|
+
/* @__PURE__ */ (0, G.jsx)(Re, {
|
|
38067
38060
|
title: "Calques",
|
|
38068
38061
|
hint: "Le dernier est au-dessus.",
|
|
38069
38062
|
children: r.elements.length === 0 ? /* @__PURE__ */ (0, G.jsx)("p", {
|
|
@@ -38120,7 +38113,7 @@ function $e({ initialState: e, theme: t, host: n }) {
|
|
|
38120
38113
|
})
|
|
38121
38114
|
})
|
|
38122
38115
|
}),
|
|
38123
|
-
/* @__PURE__ */ (0, G.jsx)(
|
|
38116
|
+
/* @__PURE__ */ (0, G.jsx)(Re, {
|
|
38124
38117
|
title: "Sélection",
|
|
38125
38118
|
hint: f ? "Plusieurs éléments." : d ? "Poignées sur le document." : "Cliquez un calque ou sur le canvas.",
|
|
38126
38119
|
children: f ? /* @__PURE__ */ (0, G.jsxs)("div", {
|
|
@@ -38128,7 +38121,7 @@ function $e({ initialState: e, theme: t, host: n }) {
|
|
|
38128
38121
|
children: [/* @__PURE__ */ (0, G.jsxs)("p", {
|
|
38129
38122
|
className: "text-[10px] text-[var(--lc-muted)]",
|
|
38130
38123
|
children: [r.selectedIds.length, " éléments sélectionnés."]
|
|
38131
|
-
}), /* @__PURE__ */ (0, G.jsx)(
|
|
38124
|
+
}), /* @__PURE__ */ (0, G.jsx)(K, {
|
|
38132
38125
|
label: "Couleur",
|
|
38133
38126
|
value: "#ffffff",
|
|
38134
38127
|
onChange: (e) => m({ color: e })
|
|
@@ -38139,20 +38132,20 @@ function $e({ initialState: e, theme: t, host: n }) {
|
|
|
38139
38132
|
d.type === "shape" ? /* @__PURE__ */ (0, G.jsxs)("div", { children: [/* @__PURE__ */ (0, G.jsx)("p", {
|
|
38140
38133
|
className: "mb-1 text-[10px] font-medium text-[var(--lc-muted)]",
|
|
38141
38134
|
children: "Type"
|
|
38142
|
-
}), /* @__PURE__ */ (0, G.jsx)(
|
|
38143
|
-
/* @__PURE__ */ (0, G.jsx)(
|
|
38135
|
+
}), /* @__PURE__ */ (0, G.jsx)(Je, { onPick: (e) => m({ shape: e }) })] }) : null,
|
|
38136
|
+
/* @__PURE__ */ (0, G.jsx)(K, {
|
|
38144
38137
|
label: "Couleur",
|
|
38145
38138
|
value: d.color,
|
|
38146
38139
|
onChange: (e) => m({ color: e })
|
|
38147
38140
|
}),
|
|
38148
|
-
/* @__PURE__ */ (0, G.jsx)(
|
|
38141
|
+
/* @__PURE__ */ (0, G.jsx)(Ye, {
|
|
38149
38142
|
label: "Taille",
|
|
38150
38143
|
min: 24,
|
|
38151
38144
|
max: 280,
|
|
38152
38145
|
value: Math.round(d.size),
|
|
38153
38146
|
onChange: (e) => m({ size: e })
|
|
38154
38147
|
}),
|
|
38155
|
-
/* @__PURE__ */ (0, G.jsx)(
|
|
38148
|
+
/* @__PURE__ */ (0, G.jsx)(Ye, {
|
|
38156
38149
|
label: "Étirer X",
|
|
38157
38150
|
min: .15,
|
|
38158
38151
|
max: 4,
|
|
@@ -38160,7 +38153,7 @@ function $e({ initialState: e, theme: t, host: n }) {
|
|
|
38160
38153
|
value: Math.round(d.scaleX * 100) / 100,
|
|
38161
38154
|
onChange: (e) => m({ scaleX: Math.min(10, Math.max(.12, e)) })
|
|
38162
38155
|
}),
|
|
38163
|
-
/* @__PURE__ */ (0, G.jsx)(
|
|
38156
|
+
/* @__PURE__ */ (0, G.jsx)(Ye, {
|
|
38164
38157
|
label: "Étirer Y",
|
|
38165
38158
|
min: .15,
|
|
38166
38159
|
max: 4,
|
|
@@ -38168,7 +38161,7 @@ function $e({ initialState: e, theme: t, host: n }) {
|
|
|
38168
38161
|
value: Math.round(d.scaleY * 100) / 100,
|
|
38169
38162
|
onChange: (e) => m({ scaleY: Math.min(10, Math.max(.12, e)) })
|
|
38170
38163
|
}),
|
|
38171
|
-
/* @__PURE__ */ (0, G.jsx)(
|
|
38164
|
+
/* @__PURE__ */ (0, G.jsx)(Ye, {
|
|
38172
38165
|
label: "Rotation",
|
|
38173
38166
|
min: -180,
|
|
38174
38167
|
max: 180,
|
|
@@ -38176,14 +38169,14 @@ function $e({ initialState: e, theme: t, host: n }) {
|
|
|
38176
38169
|
onChange: (e) => m({ rotation: e }),
|
|
38177
38170
|
suffix: "°"
|
|
38178
38171
|
}),
|
|
38179
|
-
/* @__PURE__ */ (0, G.jsx)(
|
|
38172
|
+
/* @__PURE__ */ (0, G.jsx)(Ye, {
|
|
38180
38173
|
label: "X",
|
|
38181
38174
|
min: -200,
|
|
38182
38175
|
max: 200,
|
|
38183
38176
|
value: Math.round(d.x),
|
|
38184
38177
|
onChange: (e) => m({ x: e })
|
|
38185
38178
|
}),
|
|
38186
|
-
/* @__PURE__ */ (0, G.jsx)(
|
|
38179
|
+
/* @__PURE__ */ (0, G.jsx)(Ye, {
|
|
38187
38180
|
label: "Y",
|
|
38188
38181
|
min: -200,
|
|
38189
38182
|
max: 200,
|
|
@@ -38197,32 +38190,36 @@ function $e({ initialState: e, theme: t, host: n }) {
|
|
|
38197
38190
|
})
|
|
38198
38191
|
})
|
|
38199
38192
|
] });
|
|
38200
|
-
return /* @__PURE__ */ (0, G.jsxs)(
|
|
38201
|
-
|
|
38202
|
-
|
|
38203
|
-
|
|
38204
|
-
|
|
38205
|
-
|
|
38206
|
-
|
|
38207
|
-
|
|
38208
|
-
|
|
38209
|
-
|
|
38210
|
-
|
|
38211
|
-
|
|
38212
|
-
|
|
38213
|
-
|
|
38214
|
-
|
|
38215
|
-
|
|
38193
|
+
return /* @__PURE__ */ (0, G.jsxs)("div", {
|
|
38194
|
+
className: `seek-icon-editor-root flex h-full min-h-0 w-full flex-col ${t === "dark" ? "dark" : ""}`,
|
|
38195
|
+
"data-seek-icon-editor": "",
|
|
38196
|
+
children: [/* @__PURE__ */ (0, G.jsx)("input", {
|
|
38197
|
+
ref: s,
|
|
38198
|
+
type: "file",
|
|
38199
|
+
accept: "application/json,.json",
|
|
38200
|
+
className: "hidden",
|
|
38201
|
+
onChange: u
|
|
38202
|
+
}), /* @__PURE__ */ (0, G.jsx)(Le, {
|
|
38203
|
+
embedMode: !0,
|
|
38204
|
+
title: "Logo canvas",
|
|
38205
|
+
toolbar: h,
|
|
38206
|
+
sidebar: g,
|
|
38207
|
+
preview: /* @__PURE__ */ (0, G.jsx)(We, {
|
|
38208
|
+
state: r,
|
|
38209
|
+
dispatch: i
|
|
38210
|
+
})
|
|
38211
|
+
})]
|
|
38212
|
+
});
|
|
38216
38213
|
}
|
|
38217
38214
|
//#endregion
|
|
38218
38215
|
//#region src/lib/openLogoEditor.tsx
|
|
38219
|
-
var
|
|
38216
|
+
var $e = class extends Error {
|
|
38220
38217
|
name = "EditorCancelledError";
|
|
38221
38218
|
constructor(e = "Éditeur fermé sans validation") {
|
|
38222
38219
|
super(e);
|
|
38223
38220
|
}
|
|
38224
38221
|
};
|
|
38225
|
-
function
|
|
38222
|
+
function et(e) {
|
|
38226
38223
|
if (e == null) return h(m);
|
|
38227
38224
|
if (typeof e == "string") {
|
|
38228
38225
|
try {
|
|
@@ -38233,14 +38230,14 @@ function tt(e) {
|
|
|
38233
38230
|
}
|
|
38234
38231
|
return h(I(e) || m);
|
|
38235
38232
|
}
|
|
38236
|
-
function
|
|
38233
|
+
function tt(e) {
|
|
38237
38234
|
return new Promise((t, n) => {
|
|
38238
38235
|
let r = e?.theme ?? "dark", i = e?.zIndex ?? 2147483646, a = {
|
|
38239
38236
|
onComplete: (e) => {
|
|
38240
38237
|
l(), t(e);
|
|
38241
38238
|
},
|
|
38242
38239
|
onCancel: () => {
|
|
38243
|
-
l(), n(new
|
|
38240
|
+
l(), n(new $e());
|
|
38244
38241
|
},
|
|
38245
38242
|
onError: (e) => {
|
|
38246
38243
|
console.error("[seek-icon-editor]", e);
|
|
@@ -38251,12 +38248,12 @@ function nt(e) {
|
|
|
38251
38248
|
} catch {}
|
|
38252
38249
|
o = null, c?.parentNode && c.parentNode.removeChild(c), c = null, s = null;
|
|
38253
38250
|
}, u = e?.container;
|
|
38254
|
-
u ? (s = document.createElement("div"), s.style.cssText = "position:absolute;inset:0;overflow:hidden", u.appendChild(s), c = s) : (c = document.createElement("div"), c.setAttribute("data-seek-icon-editor-overlay", ""), c.style.cssText = `position:fixed;inset:0;z-index:${i};margin:0;padding:0`, document.body.appendChild(c), s = document.createElement("div"), s.style.cssText = "width:100%;height:100%", c.appendChild(s)),
|
|
38255
|
-
initialState:
|
|
38251
|
+
u ? (s = document.createElement("div"), s.style.cssText = "position:absolute;inset:0;overflow:hidden", u.appendChild(s), c = s) : (c = document.createElement("div"), c.setAttribute("data-seek-icon-editor-overlay", ""), c.style.cssText = `position:fixed;inset:0;z-index:${i};margin:0;padding:0`, document.body.appendChild(c), s = document.createElement("div"), s.style.cssText = "width:100%;height:100%", c.appendChild(s)), o = (0, f.createRoot)(s), o.render(/* @__PURE__ */ (0, G.jsx)(p.StrictMode, { children: /* @__PURE__ */ (0, G.jsx)(Qe, {
|
|
38252
|
+
initialState: et(e?.initialState),
|
|
38256
38253
|
theme: r,
|
|
38257
38254
|
host: a
|
|
38258
38255
|
}) }));
|
|
38259
38256
|
});
|
|
38260
38257
|
}
|
|
38261
38258
|
//#endregion
|
|
38262
|
-
export {
|
|
38259
|
+
export { $e as EditorCancelledError, tt as openLogoEditor };
|