@theroutingcompany/components 0.0.51-alpha.6 → 0.0.54
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.
|
@@ -5433,12 +5433,12 @@ var XT = function() {
|
|
|
5433
5433
|
return r && e(t.prototype, r), n && e(t, n), t;
|
|
5434
5434
|
};
|
|
5435
5435
|
}();
|
|
5436
|
-
cu.default =
|
|
5436
|
+
cu.default = rk;
|
|
5437
5437
|
var vg = F, JT = QT(vg), wo = ze;
|
|
5438
5438
|
function QT(e) {
|
|
5439
5439
|
return e && e.__esModule ? e : { default: e };
|
|
5440
5440
|
}
|
|
5441
|
-
function
|
|
5441
|
+
function ek(e, t) {
|
|
5442
5442
|
if (!(e instanceof t))
|
|
5443
5443
|
throw new TypeError("Cannot call a class as a function");
|
|
5444
5444
|
}
|
|
@@ -5447,17 +5447,17 @@ function yp(e, t) {
|
|
|
5447
5447
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5448
5448
|
return t && (typeof t == "object" || typeof t == "function") ? t : e;
|
|
5449
5449
|
}
|
|
5450
|
-
function
|
|
5450
|
+
function tk(e, t) {
|
|
5451
5451
|
if (typeof t != "function" && t !== null)
|
|
5452
5452
|
throw new TypeError("Super expression must either be null or a function, not " + typeof t);
|
|
5453
5453
|
e.prototype = Object.create(t && t.prototype, { constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
|
|
5454
5454
|
}
|
|
5455
|
-
function
|
|
5455
|
+
function rk(e) {
|
|
5456
5456
|
return function(t) {
|
|
5457
|
-
|
|
5457
|
+
tk(r, t);
|
|
5458
5458
|
function r() {
|
|
5459
5459
|
var n, o, a, i;
|
|
5460
|
-
|
|
5460
|
+
ek(this, r);
|
|
5461
5461
|
for (var s = arguments.length, l = Array(s), c = 0; c < s; c++)
|
|
5462
5462
|
l[c] = arguments[c];
|
|
5463
5463
|
return i = (o = (a = yp(this, (n = r.__proto__ || Object.getPrototypeOf(r)).call.apply(n, [this].concat(l))), a), a.addSheet = function() {
|
|
@@ -5501,7 +5501,7 @@ var du = {};
|
|
|
5501
5501
|
Object.defineProperty(du, "__esModule", {
|
|
5502
5502
|
value: !0
|
|
5503
5503
|
});
|
|
5504
|
-
var
|
|
5504
|
+
var nk = function() {
|
|
5505
5505
|
function e(t, r) {
|
|
5506
5506
|
for (var n = 0; n < r.length; n++) {
|
|
5507
5507
|
var o = r[n];
|
|
@@ -5512,32 +5512,32 @@ var n6 = function() {
|
|
|
5512
5512
|
return r && e(t.prototype, r), n && e(t, n), t;
|
|
5513
5513
|
};
|
|
5514
5514
|
}();
|
|
5515
|
-
du.default =
|
|
5516
|
-
var $g = F,
|
|
5517
|
-
function
|
|
5515
|
+
du.default = ck;
|
|
5516
|
+
var $g = F, ok = ak($g), _p = ps, kn = ze;
|
|
5517
|
+
function ak(e) {
|
|
5518
5518
|
return e && e.__esModule ? e : { default: e };
|
|
5519
5519
|
}
|
|
5520
|
-
function
|
|
5520
|
+
function ik(e, t) {
|
|
5521
5521
|
if (!(e instanceof t))
|
|
5522
5522
|
throw new TypeError("Cannot call a class as a function");
|
|
5523
5523
|
}
|
|
5524
|
-
function
|
|
5524
|
+
function sk(e, t) {
|
|
5525
5525
|
if (!e)
|
|
5526
5526
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5527
5527
|
return t && (typeof t == "object" || typeof t == "function") ? t : e;
|
|
5528
5528
|
}
|
|
5529
|
-
function
|
|
5529
|
+
function lk(e, t) {
|
|
5530
5530
|
if (typeof t != "function" && t !== null)
|
|
5531
5531
|
throw new TypeError("Super expression must either be null or a function, not " + typeof t);
|
|
5532
5532
|
e.prototype = Object.create(t && t.prototype, { constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
|
|
5533
5533
|
}
|
|
5534
|
-
function
|
|
5534
|
+
function ck(e) {
|
|
5535
5535
|
return function(t) {
|
|
5536
|
-
|
|
5536
|
+
lk(r, t);
|
|
5537
5537
|
function r() {
|
|
5538
|
-
return
|
|
5538
|
+
return ik(this, r), sk(this, (r.__proto__ || Object.getPrototypeOf(r)).apply(this, arguments));
|
|
5539
5539
|
}
|
|
5540
|
-
return
|
|
5540
|
+
return nk(r, [{
|
|
5541
5541
|
key: "componentDidMount",
|
|
5542
5542
|
value: function() {
|
|
5543
5543
|
!_p.canUseDOM || !(0, kn.isTouchDevice)() || document.addEventListener("touchmove", kn.preventTouchMove, kn.listenerOptions);
|
|
@@ -5550,7 +5550,7 @@ function c6(e) {
|
|
|
5550
5550
|
}, {
|
|
5551
5551
|
key: "render",
|
|
5552
5552
|
value: function() {
|
|
5553
|
-
return
|
|
5553
|
+
return ok.default.createElement(e, this.props);
|
|
5554
5554
|
}
|
|
5555
5555
|
}]), r;
|
|
5556
5556
|
}($g.PureComponent);
|
|
@@ -5558,7 +5558,7 @@ function c6(e) {
|
|
|
5558
5558
|
Object.defineProperty(lu, "__esModule", {
|
|
5559
5559
|
value: !0
|
|
5560
5560
|
});
|
|
5561
|
-
var
|
|
5561
|
+
var dk = function() {
|
|
5562
5562
|
function e(t, r) {
|
|
5563
5563
|
for (var n = 0; n < r.length; n++) {
|
|
5564
5564
|
var o = r[n];
|
|
@@ -5568,33 +5568,33 @@ var d6 = function() {
|
|
|
5568
5568
|
return function(t, r, n) {
|
|
5569
5569
|
return r && e(t.prototype, r), n && e(t, n), t;
|
|
5570
5570
|
};
|
|
5571
|
-
}(), yg = F, _g = uu(yg),
|
|
5571
|
+
}(), yg = F, _g = uu(yg), uk = ps, fk = ua, pk = cu, mk = uu(pk), hk = du, bk = uu(hk), gk = ze;
|
|
5572
5572
|
function uu(e) {
|
|
5573
5573
|
return e && e.__esModule ? e : { default: e };
|
|
5574
5574
|
}
|
|
5575
|
-
function
|
|
5575
|
+
function vk(e, t) {
|
|
5576
5576
|
if (!(e instanceof t))
|
|
5577
5577
|
throw new TypeError("Cannot call a class as a function");
|
|
5578
5578
|
}
|
|
5579
|
-
function $
|
|
5579
|
+
function $k(e, t) {
|
|
5580
5580
|
if (!e)
|
|
5581
5581
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5582
5582
|
return t && (typeof t == "object" || typeof t == "function") ? t : e;
|
|
5583
5583
|
}
|
|
5584
|
-
function
|
|
5584
|
+
function yk(e, t) {
|
|
5585
5585
|
if (typeof t != "function" && t !== null)
|
|
5586
5586
|
throw new TypeError("Super expression must either be null or a function, not " + typeof t);
|
|
5587
5587
|
e.prototype = Object.create(t && t.prototype, { constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
|
|
5588
5588
|
}
|
|
5589
|
-
var
|
|
5590
|
-
|
|
5589
|
+
var _k = function(e) {
|
|
5590
|
+
yk(t, e);
|
|
5591
5591
|
function t() {
|
|
5592
|
-
return
|
|
5592
|
+
return vk(this, t), $k(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments));
|
|
5593
5593
|
}
|
|
5594
|
-
return
|
|
5594
|
+
return dk(t, [{
|
|
5595
5595
|
key: "componentDidMount",
|
|
5596
5596
|
value: function() {
|
|
5597
|
-
|
|
5597
|
+
uk.canUseDOM && (this.initialHeight = window.innerHeight);
|
|
5598
5598
|
}
|
|
5599
5599
|
}, {
|
|
5600
5600
|
key: "componentWillUnmount",
|
|
@@ -5607,14 +5607,14 @@ var _6 = function(e) {
|
|
|
5607
5607
|
value: function() {
|
|
5608
5608
|
var n = this.props.children;
|
|
5609
5609
|
return n ? _g.default.createElement(
|
|
5610
|
-
|
|
5610
|
+
fk.TouchScrollable,
|
|
5611
5611
|
null,
|
|
5612
5612
|
n
|
|
5613
5613
|
) : null;
|
|
5614
5614
|
}
|
|
5615
5615
|
}]), t;
|
|
5616
|
-
}(yg.PureComponent),
|
|
5617
|
-
return t.isActive ? _g.default.createElement(
|
|
5616
|
+
}(yg.PureComponent), xk = (0, gk.pipe)(bk.default, mk.default), wk = xk(_k), xg = function(t) {
|
|
5617
|
+
return t.isActive ? _g.default.createElement(wk, t) : t.children;
|
|
5618
5618
|
};
|
|
5619
5619
|
xg.defaultProps = {
|
|
5620
5620
|
accountForScrollbars: !0,
|
|
@@ -5647,7 +5647,7 @@ lu.default = xg;
|
|
|
5647
5647
|
const wg = /* @__PURE__ */ Zi(fs), xp = {
|
|
5648
5648
|
disabled: !1
|
|
5649
5649
|
};
|
|
5650
|
-
var
|
|
5650
|
+
var Dk = process.env.NODE_ENV !== "production" ? ue.oneOfType([ue.number, ue.shape({
|
|
5651
5651
|
enter: ue.number,
|
|
5652
5652
|
exit: ue.number,
|
|
5653
5653
|
appear: ue.number
|
|
@@ -5665,7 +5665,7 @@ process.env.NODE_ENV !== "production" && ue.oneOfType([ue.string, ue.shape({
|
|
|
5665
5665
|
exitActive: ue.string
|
|
5666
5666
|
})]);
|
|
5667
5667
|
const Dg = F.createContext(null);
|
|
5668
|
-
var
|
|
5668
|
+
var Sk = function(t) {
|
|
5669
5669
|
return t.scrollTop;
|
|
5670
5670
|
}, ko = "unmounted", zr = "exited", Lr = "entering", Nn = "entered", Ic = "exiting", dr = /* @__PURE__ */ function(e) {
|
|
5671
5671
|
ds(t, e);
|
|
@@ -5707,7 +5707,7 @@ var S6 = function(t) {
|
|
|
5707
5707
|
if (this.cancelNextCallback(), a === Lr) {
|
|
5708
5708
|
if (this.props.unmountOnExit || this.props.mountOnEnter) {
|
|
5709
5709
|
var i = this.props.nodeRef ? this.props.nodeRef.current : jr.findDOMNode(this);
|
|
5710
|
-
i &&
|
|
5710
|
+
i && Sk(i);
|
|
5711
5711
|
}
|
|
5712
5712
|
this.performEnter(o);
|
|
5713
5713
|
} else
|
|
@@ -5893,7 +5893,7 @@ dr.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
5893
5893
|
* @type {number | { enter?: number, exit?: number, appear?: number }}
|
|
5894
5894
|
*/
|
|
5895
5895
|
timeout: function(t) {
|
|
5896
|
-
var r =
|
|
5896
|
+
var r = Dk;
|
|
5897
5897
|
t.addEndListener || (r = r.isRequired);
|
|
5898
5898
|
for (var n = arguments.length, o = new Array(n > 1 ? n - 1 : 0), a = 1; a < n; a++)
|
|
5899
5899
|
o[a - 1] = arguments[a];
|
|
@@ -6012,7 +6012,7 @@ function fu(e) {
|
|
|
6012
6012
|
return null;
|
|
6013
6013
|
}
|
|
6014
6014
|
fu.displayName = "Portal";
|
|
6015
|
-
const
|
|
6015
|
+
const Pk = (e) => {
|
|
6016
6016
|
const t = `${f.color_gray_10}70`;
|
|
6017
6017
|
return `
|
|
6018
6018
|
position: fixed;
|
|
@@ -6029,23 +6029,23 @@ const P6 = (e) => {
|
|
|
6029
6029
|
background-color: ${e.$open ? t : "transparent"};
|
|
6030
6030
|
transition: background-color ${f.motion_duration_fast} ${f.motion_ease_in};
|
|
6031
6031
|
`;
|
|
6032
|
-
},
|
|
6032
|
+
}, Tk = () => `
|
|
6033
6033
|
width: 100%;
|
|
6034
6034
|
min-height: 100%;
|
|
6035
6035
|
display: flex;
|
|
6036
6036
|
justify-content: center;
|
|
6037
6037
|
align-items: center;
|
|
6038
|
-
`,
|
|
6038
|
+
`, kk = (e) => `
|
|
6039
6039
|
width: 100%;
|
|
6040
6040
|
max-width: ${e.maxWidth};
|
|
6041
|
-
`,
|
|
6041
|
+
`, Ek = () => `
|
|
6042
6042
|
position: relative;
|
|
6043
6043
|
width: 100%;
|
|
6044
6044
|
outline: none;
|
|
6045
6045
|
transition: transform ${f.motion_duration_medium} ${f.motion_ease_out},
|
|
6046
6046
|
visibility ${f.motion_duration_medium} ${f.motion_ease_out},
|
|
6047
6047
|
opacity ${f.motion_duration_medium} ${f.motion_ease_out};
|
|
6048
|
-
`,
|
|
6048
|
+
`, Ck = (e) => {
|
|
6049
6049
|
const t = `
|
|
6050
6050
|
transform: translateY(${f.spacing_200});
|
|
6051
6051
|
opacity: 0;
|
|
@@ -6089,7 +6089,7 @@ const P6 = (e) => {
|
|
|
6089
6089
|
}
|
|
6090
6090
|
);
|
|
6091
6091
|
Pg.displayName = "Modal.Content";
|
|
6092
|
-
const
|
|
6092
|
+
const Rk = Pg, Tg = F.forwardRef(function({ children: t }, r) {
|
|
6093
6093
|
return /* @__PURE__ */ x(
|
|
6094
6094
|
Ae,
|
|
6095
6095
|
{
|
|
@@ -6104,7 +6104,7 @@ const R6 = Pg, Tg = F.forwardRef(function({ children: t }, r) {
|
|
|
6104
6104
|
);
|
|
6105
6105
|
});
|
|
6106
6106
|
Tg.displayName = "Modal.Footer";
|
|
6107
|
-
const
|
|
6107
|
+
const Ik = Tg, dn = I(Ae)`
|
|
6108
6108
|
font-family: ${f.font_family_pingo};
|
|
6109
6109
|
font-style: normal;
|
|
6110
6110
|
font-weight: ${({ $normal: e }) => e ? f.font_weight_300 : f.font_weight_500};
|
|
@@ -6113,35 +6113,35 @@ const I6 = Tg, dn = I(Ae)`
|
|
|
6113
6113
|
|
|
6114
6114
|
${({ color: e }) => e && `color: ${e};`}
|
|
6115
6115
|
height: fit-content;
|
|
6116
|
-
`,
|
|
6116
|
+
`, Ak = I(dn)`
|
|
6117
6117
|
line-height: ${f.font_size_950};
|
|
6118
6118
|
font-size: ${f.font_size_900};
|
|
6119
|
-
`,
|
|
6119
|
+
`, Ok = I(dn)`
|
|
6120
6120
|
line-height: ${f.font_size_725};
|
|
6121
6121
|
font-size: ${f.font_size_700};
|
|
6122
|
-
`,
|
|
6122
|
+
`, Mk = I(dn)`
|
|
6123
6123
|
line-height: ${f.font_size_625};
|
|
6124
6124
|
font-size: ${f.font_size_600};
|
|
6125
|
-
`,
|
|
6125
|
+
`, Nk = I(dn)`
|
|
6126
6126
|
font-size: ${f.font_size_400};
|
|
6127
6127
|
line-height: ${f.font_size_425};
|
|
6128
|
-
`,
|
|
6128
|
+
`, Fk = I(dn)`
|
|
6129
6129
|
font-size: ${f.font_size_300};
|
|
6130
6130
|
line-height: ${f.font_size_325};
|
|
6131
|
-
`,
|
|
6131
|
+
`, zk = I(dn)`
|
|
6132
6132
|
font-size: ${f.font_size_250};
|
|
6133
6133
|
line-height: ${f.font_size_275};
|
|
6134
|
-
`,
|
|
6134
|
+
`, Lk = I(dn)`
|
|
6135
6135
|
font-size: ${f.font_size_225};
|
|
6136
6136
|
line-height: ${f.font_size_250};
|
|
6137
|
-
`,
|
|
6138
|
-
h1:
|
|
6139
|
-
h2:
|
|
6140
|
-
h3:
|
|
6141
|
-
h4:
|
|
6142
|
-
h5:
|
|
6143
|
-
h6:
|
|
6144
|
-
body:
|
|
6137
|
+
`, Kk = {
|
|
6138
|
+
h1: Ak,
|
|
6139
|
+
h2: Ok,
|
|
6140
|
+
h3: Mk,
|
|
6141
|
+
h4: Nk,
|
|
6142
|
+
h5: Fk,
|
|
6143
|
+
h6: zk,
|
|
6144
|
+
body: Lk
|
|
6145
6145
|
}, eo = j((e, t) => {
|
|
6146
6146
|
const {
|
|
6147
6147
|
children: r,
|
|
@@ -6152,7 +6152,7 @@ const I6 = Tg, dn = I(Ae)`
|
|
|
6152
6152
|
className: s,
|
|
6153
6153
|
normal: l = !1,
|
|
6154
6154
|
...c
|
|
6155
|
-
} = e, d =
|
|
6155
|
+
} = e, d = Kk[i], p = {
|
|
6156
6156
|
...Mt(c, Ir.propNames ?? [])
|
|
6157
6157
|
};
|
|
6158
6158
|
return n ? p.color = f.color_gray_52 : o ? p.color = o : p.color = f.color_black, /* @__PURE__ */ x(d, { as: a, ...p, ref: t, className: s, $normal: l, children: r });
|
|
@@ -6167,19 +6167,19 @@ const kg = F.createContext({}), Eg = F.forwardRef(
|
|
|
6167
6167
|
}
|
|
6168
6168
|
);
|
|
6169
6169
|
Eg.displayName = "Modal.Header";
|
|
6170
|
-
const
|
|
6170
|
+
const Vk = Eg, pu = {
|
|
6171
6171
|
small: "360px",
|
|
6172
6172
|
medium: "540px",
|
|
6173
6173
|
large: "960px"
|
|
6174
|
-
},
|
|
6175
|
-
${
|
|
6176
|
-
`,
|
|
6177
|
-
${
|
|
6178
|
-
`,
|
|
6179
|
-
${
|
|
6180
|
-
`,
|
|
6181
|
-
${
|
|
6182
|
-
${
|
|
6174
|
+
}, Bk = I("div")`
|
|
6175
|
+
${Pk}
|
|
6176
|
+
`, jk = I("div")`
|
|
6177
|
+
${Tk}
|
|
6178
|
+
`, Uk = I(bg)`
|
|
6179
|
+
${kk}
|
|
6180
|
+
`, Wk = I(Ae)`
|
|
6181
|
+
${Ek}
|
|
6182
|
+
${Ck}
|
|
6183
6183
|
`, fa = F.forwardRef(function(t, r) {
|
|
6184
6184
|
const {
|
|
6185
6185
|
children: n,
|
|
@@ -6207,7 +6207,7 @@ const V6 = Eg, pu = {
|
|
|
6207
6207
|
}, [l]), /* @__PURE__ */ oe(Gr, { children: [
|
|
6208
6208
|
/* @__PURE__ */ x(wg, { isActive: l }),
|
|
6209
6209
|
/* @__PURE__ */ x(fu, { containerId: c, children: /* @__PURE__ */ x(fs.TouchScrollable, { children: /* @__PURE__ */ x(
|
|
6210
|
-
|
|
6210
|
+
Bk,
|
|
6211
6211
|
{
|
|
6212
6212
|
$open: l,
|
|
6213
6213
|
className: o,
|
|
@@ -6216,7 +6216,7 @@ const V6 = Eg, pu = {
|
|
|
6216
6216
|
title: p,
|
|
6217
6217
|
"aria-label": p,
|
|
6218
6218
|
"aria-labelledby": p,
|
|
6219
|
-
children: /* @__PURE__ */ x(Ae, { size: "100%", ref: h, "data-id": "modal-overlay", children: /* @__PURE__ */ x(
|
|
6219
|
+
children: /* @__PURE__ */ x(Ae, { size: "100%", ref: h, "data-id": "modal-overlay", children: /* @__PURE__ */ x(jk, { children: /* @__PURE__ */ x(Uk, { disabled: !l || ib(), returnFocus: !0, children: /* @__PURE__ */ x(
|
|
6220
6220
|
Sg,
|
|
6221
6221
|
{
|
|
6222
6222
|
mountOnEnter: !0,
|
|
@@ -6230,7 +6230,7 @@ const V6 = Eg, pu = {
|
|
|
6230
6230
|
children: (y) => (
|
|
6231
6231
|
// @ts-expect-error - TODO FIX
|
|
6232
6232
|
/* @__PURE__ */ x("div", { ref: g, children: /* @__PURE__ */ x(
|
|
6233
|
-
|
|
6233
|
+
Wk,
|
|
6234
6234
|
{
|
|
6235
6235
|
$state: y,
|
|
6236
6236
|
tabIndex: -1,
|
|
@@ -6263,10 +6263,10 @@ const V6 = Eg, pu = {
|
|
|
6263
6263
|
] });
|
|
6264
6264
|
});
|
|
6265
6265
|
fa.displayName = "Modal";
|
|
6266
|
-
fa.Header =
|
|
6267
|
-
fa.Content =
|
|
6268
|
-
fa.Footer =
|
|
6269
|
-
const CB = fa,
|
|
6266
|
+
fa.Header = Vk;
|
|
6267
|
+
fa.Content = Rk;
|
|
6268
|
+
fa.Footer = Ik;
|
|
6269
|
+
const CB = fa, Hk = Ue`
|
|
6270
6270
|
0% {
|
|
6271
6271
|
opacity: 0;
|
|
6272
6272
|
}
|
|
@@ -6274,7 +6274,7 @@ const CB = fa, H6 = Ue`
|
|
|
6274
6274
|
100% {
|
|
6275
6275
|
opacity: var(--overlay-opacity, 0.6);
|
|
6276
6276
|
}
|
|
6277
|
-
`,
|
|
6277
|
+
`, Gk = Ue`
|
|
6278
6278
|
0% {
|
|
6279
6279
|
opacity: 0;
|
|
6280
6280
|
transform: translate(-50%, -48%) scale(.96);
|
|
@@ -6290,8 +6290,8 @@ const CB = fa, H6 = Ue`
|
|
|
6290
6290
|
position: fixed;
|
|
6291
6291
|
inset: 0;
|
|
6292
6292
|
z-index: 4;
|
|
6293
|
-
animation: ${
|
|
6294
|
-
`,
|
|
6293
|
+
animation: ${Hk} 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
6294
|
+
`, Yk = I(Lb)`
|
|
6295
6295
|
${Cg}
|
|
6296
6296
|
`, Rg = De`
|
|
6297
6297
|
box-sizing: border-box;
|
|
@@ -6313,9 +6313,9 @@ const CB = fa, H6 = Ue`
|
|
|
6313
6313
|
border-radius: ${f.border_radius_400};
|
|
6314
6314
|
|
|
6315
6315
|
@media (prefers-reduced-motion: no-preference) {
|
|
6316
|
-
animation: ${
|
|
6316
|
+
animation: ${Gk} 150ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
6317
6317
|
}
|
|
6318
|
-
`,
|
|
6318
|
+
`, qk = I(Kb)`
|
|
6319
6319
|
${({ size: e }) => e && `width: ${pu[e]} !important;`}
|
|
6320
6320
|
|
|
6321
6321
|
${Rg}
|
|
@@ -6326,8 +6326,8 @@ function RB({
|
|
|
6326
6326
|
...r
|
|
6327
6327
|
}) {
|
|
6328
6328
|
return /* @__PURE__ */ oe(zb, { children: [
|
|
6329
|
-
/* @__PURE__ */ x(
|
|
6330
|
-
/* @__PURE__ */ x(
|
|
6329
|
+
/* @__PURE__ */ x(Yk, {}),
|
|
6330
|
+
/* @__PURE__ */ x(qk, { size: t, ...r, children: e })
|
|
6331
6331
|
] });
|
|
6332
6332
|
}
|
|
6333
6333
|
const Ig = `
|
|
@@ -6353,7 +6353,7 @@ const Ig = `
|
|
|
6353
6353
|
margin-bottom: ${f.sizing_400};
|
|
6354
6354
|
`, AB = I(Bb)`
|
|
6355
6355
|
${Ag}
|
|
6356
|
-
`,
|
|
6356
|
+
`, Zk = I.footer`
|
|
6357
6357
|
margin-top: ${f.spacing_400};
|
|
6358
6358
|
display: flex;
|
|
6359
6359
|
justify-content: end;
|
|
@@ -6384,14 +6384,14 @@ const Ig = `
|
|
|
6384
6384
|
&:active {
|
|
6385
6385
|
background-color: ${f.color_deprecated_overlay_secondary_pressed};
|
|
6386
6386
|
}
|
|
6387
|
-
`,
|
|
6387
|
+
`, Xk = I(ls)`
|
|
6388
6388
|
${Og}
|
|
6389
6389
|
`, OB = ({
|
|
6390
6390
|
children: e = "×",
|
|
6391
6391
|
...t
|
|
6392
|
-
}) => /* @__PURE__ */ x(
|
|
6392
|
+
}) => /* @__PURE__ */ x(Xk, { ...t, children: e }), MB = Nb, NB = Fb, FB = ls, Jk = I(w3)`
|
|
6393
6393
|
${Cg}
|
|
6394
|
-
`,
|
|
6394
|
+
`, Qk = I(D3)`
|
|
6395
6395
|
${Rg}
|
|
6396
6396
|
width: ${(e) => pu[e.size ?? "medium"]};
|
|
6397
6397
|
`;
|
|
@@ -6401,20 +6401,20 @@ function zB({
|
|
|
6401
6401
|
...r
|
|
6402
6402
|
}) {
|
|
6403
6403
|
return /* @__PURE__ */ oe(x3, { children: [
|
|
6404
|
-
/* @__PURE__ */ x(
|
|
6405
|
-
/* @__PURE__ */ x(
|
|
6404
|
+
/* @__PURE__ */ x(Jk, {}),
|
|
6405
|
+
/* @__PURE__ */ x(Qk, { size: t, ...r, children: e })
|
|
6406
6406
|
] });
|
|
6407
6407
|
}
|
|
6408
6408
|
const LB = I(P3)`
|
|
6409
6409
|
${Ig}
|
|
6410
6410
|
`, KB = I(T3)`
|
|
6411
6411
|
${Ag}
|
|
6412
|
-
`, VB =
|
|
6412
|
+
`, VB = Zk, BB = y3, jB = _3, UB = S3, WB = Ub, e6 = I(Ub)`
|
|
6413
6413
|
${Og}
|
|
6414
6414
|
`, HB = ({
|
|
6415
6415
|
children: e = "×",
|
|
6416
6416
|
...t
|
|
6417
|
-
}) => /* @__PURE__ */ x(
|
|
6417
|
+
}) => /* @__PURE__ */ x(e6, { ...t, children: e }), t6 = I(Ae)`
|
|
6418
6418
|
display: block;
|
|
6419
6419
|
font-family: ${f.font_family_pingo};
|
|
6420
6420
|
font-style: normal;
|
|
@@ -6456,7 +6456,7 @@ const LB = I(P3)`
|
|
|
6456
6456
|
`;
|
|
6457
6457
|
}
|
|
6458
6458
|
}}
|
|
6459
|
-
`,
|
|
6459
|
+
`, r6 = {
|
|
6460
6460
|
positive: {
|
|
6461
6461
|
background: "hsl(143.1, 48%, 94.7%)",
|
|
6462
6462
|
color: "hsl(155.68deg 88.1% 16.5%)"
|
|
@@ -6492,9 +6492,9 @@ function yl({
|
|
|
6492
6492
|
}) {
|
|
6493
6493
|
const i = {
|
|
6494
6494
|
...Mt(o, Ir.propNames ?? [])
|
|
6495
|
-
}, s =
|
|
6495
|
+
}, s = r6[r];
|
|
6496
6496
|
return /* @__PURE__ */ x(
|
|
6497
|
-
|
|
6497
|
+
t6,
|
|
6498
6498
|
{
|
|
6499
6499
|
...i,
|
|
6500
6500
|
$size: t,
|
|
@@ -6552,8 +6552,8 @@ const mu = {
|
|
|
6552
6552
|
current: 0,
|
|
6553
6553
|
isSSR: !1
|
|
6554
6554
|
}, hu = /* @__PURE__ */ F.createContext(mu);
|
|
6555
|
-
let
|
|
6556
|
-
function
|
|
6555
|
+
let n6 = !!(typeof window < "u" && window.document && window.document.createElement), _l = /* @__PURE__ */ new WeakMap();
|
|
6556
|
+
function o6(e = !1) {
|
|
6557
6557
|
let t = Be(hu), r = K(null);
|
|
6558
6558
|
if (r.current === null && !e) {
|
|
6559
6559
|
var n, o;
|
|
@@ -6569,29 +6569,29 @@ function ok(e = !1) {
|
|
|
6569
6569
|
}
|
|
6570
6570
|
return r.current;
|
|
6571
6571
|
}
|
|
6572
|
-
function
|
|
6572
|
+
function a6(e) {
|
|
6573
6573
|
let t = Be(hu);
|
|
6574
|
-
t === mu && !
|
|
6575
|
-
let r =
|
|
6574
|
+
t === mu && !n6 && console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");
|
|
6575
|
+
let r = o6(!!e);
|
|
6576
6576
|
return e || `react-aria${t.prefix}-${r}`;
|
|
6577
6577
|
}
|
|
6578
|
-
function
|
|
6578
|
+
function i6(e) {
|
|
6579
6579
|
let t = F.useId(), [r] = X(ms()), n = r ? "react-aria" : `react-aria${mu.prefix}`;
|
|
6580
6580
|
return e || `${n}-${t}`;
|
|
6581
6581
|
}
|
|
6582
|
-
const
|
|
6583
|
-
function
|
|
6582
|
+
const s6 = typeof F.useId == "function" ? i6 : a6;
|
|
6583
|
+
function l6() {
|
|
6584
6584
|
return !1;
|
|
6585
6585
|
}
|
|
6586
|
-
function
|
|
6586
|
+
function c6() {
|
|
6587
6587
|
return !0;
|
|
6588
6588
|
}
|
|
6589
|
-
function
|
|
6589
|
+
function d6(e) {
|
|
6590
6590
|
return () => {
|
|
6591
6591
|
};
|
|
6592
6592
|
}
|
|
6593
6593
|
function ms() {
|
|
6594
|
-
return typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore(
|
|
6594
|
+
return typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore(d6, l6, c6) : Be(hu).isSSR;
|
|
6595
6595
|
}
|
|
6596
6596
|
function Mg(e) {
|
|
6597
6597
|
var t, r, n = "";
|
|
@@ -6613,7 +6613,7 @@ function hs() {
|
|
|
6613
6613
|
}
|
|
6614
6614
|
const Oe = typeof window < "u" ? F.useLayoutEffect : () => {
|
|
6615
6615
|
};
|
|
6616
|
-
function
|
|
6616
|
+
function u6(e) {
|
|
6617
6617
|
let [t, r] = X(e), n = K(t), o = K(null), a = ae(() => {
|
|
6618
6618
|
let s = o.current.next();
|
|
6619
6619
|
for (; !s.done && n.current === s.value; )
|
|
@@ -6645,7 +6645,7 @@ function uk(e) {
|
|
|
6645
6645
|
}
|
|
6646
6646
|
let vi = /* @__PURE__ */ new Map();
|
|
6647
6647
|
function ut(e) {
|
|
6648
|
-
let [t, r] = X(e), n = K(null), o =
|
|
6648
|
+
let [t, r] = X(e), n = K(null), o = s6(t), a = ae((i) => {
|
|
6649
6649
|
n.current = i;
|
|
6650
6650
|
}, []);
|
|
6651
6651
|
return vi.set(o, a), Oe(() => {
|
|
@@ -6660,7 +6660,7 @@ function ut(e) {
|
|
|
6660
6660
|
i && (n.current = null, r(i));
|
|
6661
6661
|
}), o;
|
|
6662
6662
|
}
|
|
6663
|
-
function
|
|
6663
|
+
function f6(e, t) {
|
|
6664
6664
|
if (e === t)
|
|
6665
6665
|
return e;
|
|
6666
6666
|
let r = vi.get(e);
|
|
@@ -6670,7 +6670,7 @@ function fk(e, t) {
|
|
|
6670
6670
|
return n ? (n(e), e) : t;
|
|
6671
6671
|
}
|
|
6672
6672
|
function Uo(e = []) {
|
|
6673
|
-
let t = ut(), [r, n] =
|
|
6673
|
+
let t = ut(), [r, n] = u6(t), o = ae(() => {
|
|
6674
6674
|
n(function* () {
|
|
6675
6675
|
yield t, yield document.getElementById(t) ? t : void 0;
|
|
6676
6676
|
});
|
|
@@ -6701,37 +6701,37 @@ function $e(...e) {
|
|
|
6701
6701
|
typeof a == "function" && typeof i == "function" && // This is a lot faster than a regex.
|
|
6702
6702
|
o[0] === "o" && o[1] === "n" && o.charCodeAt(2) >= /* 'A' */
|
|
6703
6703
|
65 && o.charCodeAt(2) <= /* 'Z' */
|
|
6704
|
-
90 ? t[o] = Sr(a, i) : (o === "className" || o === "UNSAFE_className") && typeof a == "string" && typeof i == "string" ? t[o] = hs(a, i) : o === "id" && a && i ? t.id =
|
|
6704
|
+
90 ? t[o] = Sr(a, i) : (o === "className" || o === "UNSAFE_className") && typeof a == "string" && typeof i == "string" ? t[o] = hs(a, i) : o === "id" && a && i ? t.id = f6(a, i) : t[o] = i !== void 0 ? i : a;
|
|
6705
6705
|
}
|
|
6706
6706
|
}
|
|
6707
6707
|
return t;
|
|
6708
6708
|
}
|
|
6709
|
-
const
|
|
6709
|
+
const p6 = /* @__PURE__ */ new Set([
|
|
6710
6710
|
"id"
|
|
6711
|
-
]),
|
|
6711
|
+
]), m6 = /* @__PURE__ */ new Set([
|
|
6712
6712
|
"aria-label",
|
|
6713
6713
|
"aria-labelledby",
|
|
6714
6714
|
"aria-describedby",
|
|
6715
6715
|
"aria-details"
|
|
6716
|
-
]),
|
|
6716
|
+
]), h6 = /^(data-.*)$/;
|
|
6717
6717
|
function Vt(e, t = {}) {
|
|
6718
6718
|
let { labelable: r, propNames: n } = t, o = {};
|
|
6719
6719
|
for (const a in e)
|
|
6720
|
-
Object.prototype.hasOwnProperty.call(e, a) && (
|
|
6720
|
+
Object.prototype.hasOwnProperty.call(e, a) && (p6.has(a) || r && m6.has(a) || n != null && n.has(a) || h6.test(a)) && (o[a] = e[a]);
|
|
6721
6721
|
return o;
|
|
6722
6722
|
}
|
|
6723
6723
|
function Zt(e) {
|
|
6724
|
-
if (
|
|
6724
|
+
if (b6())
|
|
6725
6725
|
e.focus({
|
|
6726
6726
|
preventScroll: !0
|
|
6727
6727
|
});
|
|
6728
6728
|
else {
|
|
6729
|
-
let t =
|
|
6730
|
-
e.focus(),
|
|
6729
|
+
let t = g6(e);
|
|
6730
|
+
e.focus(), v6(t);
|
|
6731
6731
|
}
|
|
6732
6732
|
}
|
|
6733
6733
|
let za = null;
|
|
6734
|
-
function
|
|
6734
|
+
function b6() {
|
|
6735
6735
|
if (za == null) {
|
|
6736
6736
|
za = !1;
|
|
6737
6737
|
try {
|
|
@@ -6746,7 +6746,7 @@ function bk() {
|
|
|
6746
6746
|
}
|
|
6747
6747
|
return za;
|
|
6748
6748
|
}
|
|
6749
|
-
function
|
|
6749
|
+
function g6(e) {
|
|
6750
6750
|
for (var t = e.parentNode, r = [], n = document.scrollingElement || document.documentElement; t instanceof HTMLElement && t !== n; )
|
|
6751
6751
|
(t.offsetHeight < t.scrollHeight || t.offsetWidth < t.scrollWidth) && r.push({
|
|
6752
6752
|
element: t,
|
|
@@ -6759,7 +6759,7 @@ function gk(e) {
|
|
|
6759
6759
|
scrollLeft: n.scrollLeft
|
|
6760
6760
|
}), r;
|
|
6761
6761
|
}
|
|
6762
|
-
function
|
|
6762
|
+
function v6(e) {
|
|
6763
6763
|
for (let { element: t, scrollTop: r, scrollLeft: n } of e)
|
|
6764
6764
|
t.scrollTop = r, t.scrollLeft = n;
|
|
6765
6765
|
}
|
|
@@ -6850,15 +6850,15 @@ function Sp(e, t) {
|
|
|
6850
6850
|
r.current ? r.current = !1 : (!n.current || t.some((o, a) => !Object.is(o, n[a]))) && e(), n.current = t;
|
|
6851
6851
|
}, t);
|
|
6852
6852
|
}
|
|
6853
|
-
function $
|
|
6853
|
+
function $6() {
|
|
6854
6854
|
return typeof window.ResizeObserver < "u";
|
|
6855
6855
|
}
|
|
6856
|
-
function
|
|
6856
|
+
function y6(e) {
|
|
6857
6857
|
const { ref: t, onResize: r } = e;
|
|
6858
6858
|
J(() => {
|
|
6859
6859
|
let n = t == null ? void 0 : t.current;
|
|
6860
6860
|
if (n)
|
|
6861
|
-
if ($
|
|
6861
|
+
if ($6()) {
|
|
6862
6862
|
const o = new window.ResizeObserver((a) => {
|
|
6863
6863
|
a.length && r();
|
|
6864
6864
|
});
|
|
@@ -6894,7 +6894,7 @@ function $i(e) {
|
|
|
6894
6894
|
let t = window.getComputedStyle(e);
|
|
6895
6895
|
return /(auto|scroll)/.test(t.overflow + t.overflowX + t.overflowY);
|
|
6896
6896
|
}
|
|
6897
|
-
let
|
|
6897
|
+
let _6 = 0;
|
|
6898
6898
|
const xl = /* @__PURE__ */ new Map();
|
|
6899
6899
|
function bs(e) {
|
|
6900
6900
|
let [t, r] = X(void 0);
|
|
@@ -6905,7 +6905,7 @@ function bs(e) {
|
|
|
6905
6905
|
if (n)
|
|
6906
6906
|
r(n.element.id);
|
|
6907
6907
|
else {
|
|
6908
|
-
let o = `react-aria-description-${
|
|
6908
|
+
let o = `react-aria-description-${_6++}`;
|
|
6909
6909
|
r(o);
|
|
6910
6910
|
let a = document.createElement("div");
|
|
6911
6911
|
a.id = o, a.style.display = "none", a.textContent = e, document.body.appendChild(a), n = {
|
|
@@ -6946,10 +6946,10 @@ function co() {
|
|
|
6946
6946
|
function ii() {
|
|
6947
6947
|
return un() || co();
|
|
6948
6948
|
}
|
|
6949
|
-
function
|
|
6950
|
-
return gu(/AppleWebKit/i) && !
|
|
6949
|
+
function x6() {
|
|
6950
|
+
return gu(/AppleWebKit/i) && !w6();
|
|
6951
6951
|
}
|
|
6952
|
-
function
|
|
6952
|
+
function w6() {
|
|
6953
6953
|
return gu(/Chrome/i);
|
|
6954
6954
|
}
|
|
6955
6955
|
function Kg() {
|
|
@@ -7028,7 +7028,7 @@ function yi(e, t) {
|
|
|
7028
7028
|
function Oc(e) {
|
|
7029
7029
|
return e.mozInputSource === 0 && e.isTrusted ? !0 : Kg() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
|
|
7030
7030
|
}
|
|
7031
|
-
function
|
|
7031
|
+
function D6(e) {
|
|
7032
7032
|
return e.width === 0 && e.height === 0 || e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";
|
|
7033
7033
|
}
|
|
7034
7034
|
function Bg(e, t) {
|
|
@@ -7055,7 +7055,7 @@ function La(e) {
|
|
|
7055
7055
|
}
|
|
7056
7056
|
const jg = F.createContext(null);
|
|
7057
7057
|
jg.displayName = "PressResponderContext";
|
|
7058
|
-
function
|
|
7058
|
+
function S6(e) {
|
|
7059
7059
|
let t = Be(jg);
|
|
7060
7060
|
if (t) {
|
|
7061
7061
|
let { register: r, ...n } = t;
|
|
@@ -7078,7 +7078,7 @@ function fn(e) {
|
|
|
7078
7078
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
7079
7079
|
ref: u,
|
|
7080
7080
|
...p
|
|
7081
|
-
} =
|
|
7081
|
+
} = S6(e), [m, h] = X(!1), b = K({
|
|
7082
7082
|
isPressed: !1,
|
|
7083
7083
|
ignoreEmulatedMouseEvents: !1,
|
|
7084
7084
|
ignoreClickAfterPress: !1,
|
|
@@ -7153,7 +7153,7 @@ function fn(e) {
|
|
|
7153
7153
|
if (typeof PointerEvent < "u") {
|
|
7154
7154
|
C.onPointerDown = (R) => {
|
|
7155
7155
|
if (!(R.button !== 0 || !R.currentTarget.contains(R.target))) {
|
|
7156
|
-
if (
|
|
7156
|
+
if (D6(R.nativeEvent)) {
|
|
7157
7157
|
_.pointerType = "virtual";
|
|
7158
7158
|
return;
|
|
7159
7159
|
}
|
|
@@ -7197,7 +7197,7 @@ function fn(e) {
|
|
|
7197
7197
|
if (!A.currentTarget.contains(A.target))
|
|
7198
7198
|
return;
|
|
7199
7199
|
A.stopPropagation();
|
|
7200
|
-
let R =
|
|
7200
|
+
let R = P6(A.nativeEvent);
|
|
7201
7201
|
R && (_.activePointerId = R.identifier, _.ignoreEmulatedMouseEvents = !0, _.isOverTarget = !0, _.isPressed = !0, _.target = A.currentTarget, _.pointerType = "touch", !i && !l && Zt(A.currentTarget), d || Tp(_.target), v(A, _.pointerType), g(window, "scroll", V, !0));
|
|
7202
7202
|
}, C.onTouchMove = (A) => {
|
|
7203
7203
|
if (!A.currentTarget.contains(A.target) || (A.stopPropagation(), !_.isPressed))
|
|
@@ -7257,7 +7257,7 @@ function wl(e, t) {
|
|
|
7257
7257
|
(!Nc(o) || a === "button" && r !== "Enter") && // An element with role='link' should only trigger with Enter key
|
|
7258
7258
|
!(a === "link" && r !== "Enter");
|
|
7259
7259
|
}
|
|
7260
|
-
function
|
|
7260
|
+
function P6(e) {
|
|
7261
7261
|
const { targetTouches: t } = e;
|
|
7262
7262
|
return t.length > 0 ? t[0] : null;
|
|
7263
7263
|
}
|
|
@@ -7279,7 +7279,7 @@ function Ht(e, t) {
|
|
|
7279
7279
|
altKey: t.altKey
|
|
7280
7280
|
};
|
|
7281
7281
|
}
|
|
7282
|
-
function
|
|
7282
|
+
function T6(e) {
|
|
7283
7283
|
let t = e.width / 2 || e.radiusX || 0, r = e.height / 2 || e.radiusY || 0;
|
|
7284
7284
|
return {
|
|
7285
7285
|
top: e.clientY - r,
|
|
@@ -7288,12 +7288,12 @@ function Tk(e) {
|
|
|
7288
7288
|
left: e.clientX - t
|
|
7289
7289
|
};
|
|
7290
7290
|
}
|
|
7291
|
-
function
|
|
7291
|
+
function k6(e, t) {
|
|
7292
7292
|
return !(e.left > t.right || t.left > e.right || e.top > t.bottom || t.top > e.bottom);
|
|
7293
7293
|
}
|
|
7294
7294
|
function Cn(e, t) {
|
|
7295
|
-
let r = t.getBoundingClientRect(), n =
|
|
7296
|
-
return
|
|
7295
|
+
let r = t.getBoundingClientRect(), n = T6(e);
|
|
7296
|
+
return k6(r, n);
|
|
7297
7297
|
}
|
|
7298
7298
|
function Dl(e) {
|
|
7299
7299
|
return !(e instanceof HTMLElement) || !e.draggable;
|
|
@@ -7301,7 +7301,7 @@ function Dl(e) {
|
|
|
7301
7301
|
function Ep(e, t) {
|
|
7302
7302
|
return e instanceof HTMLInputElement ? !Ug(e, t) : e instanceof HTMLButtonElement ? e.type !== "submit" : !0;
|
|
7303
7303
|
}
|
|
7304
|
-
const
|
|
7304
|
+
const E6 = /* @__PURE__ */ new Set([
|
|
7305
7305
|
"checkbox",
|
|
7306
7306
|
"radio",
|
|
7307
7307
|
"range",
|
|
@@ -7313,9 +7313,9 @@ const Ek = /* @__PURE__ */ new Set([
|
|
|
7313
7313
|
"reset"
|
|
7314
7314
|
]);
|
|
7315
7315
|
function Ug(e, t) {
|
|
7316
|
-
return e.type === "checkbox" || e.type === "radio" ? t === " " :
|
|
7316
|
+
return e.type === "checkbox" || e.type === "radio" ? t === " " : E6.has(e.type);
|
|
7317
7317
|
}
|
|
7318
|
-
class
|
|
7318
|
+
class C6 {
|
|
7319
7319
|
isDefaultPrevented() {
|
|
7320
7320
|
return this.nativeEvent.defaultPrevented;
|
|
7321
7321
|
}
|
|
@@ -7352,7 +7352,7 @@ function Wg(e) {
|
|
|
7352
7352
|
if (n.target instanceof HTMLButtonElement || n.target instanceof HTMLInputElement || n.target instanceof HTMLTextAreaElement || n.target instanceof HTMLSelectElement) {
|
|
7353
7353
|
t.current.isFocused = !0;
|
|
7354
7354
|
let o = n.target, a = (i) => {
|
|
7355
|
-
t.current.isFocused = !1, o.disabled && r(new
|
|
7355
|
+
t.current.isFocused = !1, o.disabled && r(new C6("blur", i)), t.current.observer && (t.current.observer.disconnect(), t.current.observer = null);
|
|
7356
7356
|
};
|
|
7357
7357
|
o.addEventListener("focusout", a, {
|
|
7358
7358
|
once: !0
|
|
@@ -7401,7 +7401,7 @@ function $u(e) {
|
|
|
7401
7401
|
};
|
|
7402
7402
|
}
|
|
7403
7403
|
let ir = null, Wo = /* @__PURE__ */ new Set(), Cp = !1, Qr = !1, Fc = !1;
|
|
7404
|
-
const
|
|
7404
|
+
const R6 = {
|
|
7405
7405
|
Tab: !0,
|
|
7406
7406
|
Escape: !0
|
|
7407
7407
|
};
|
|
@@ -7409,22 +7409,22 @@ function gs(e, t) {
|
|
|
7409
7409
|
for (let r of Wo)
|
|
7410
7410
|
r(e, t);
|
|
7411
7411
|
}
|
|
7412
|
-
function
|
|
7412
|
+
function I6(e) {
|
|
7413
7413
|
return !(e.metaKey || !un() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
|
|
7414
7414
|
}
|
|
7415
7415
|
function Rp(e) {
|
|
7416
|
-
Qr = !0,
|
|
7416
|
+
Qr = !0, I6(e) && (ir = "keyboard", gs("keyboard", e));
|
|
7417
7417
|
}
|
|
7418
7418
|
function Rn(e) {
|
|
7419
7419
|
ir = "pointer", (e.type === "mousedown" || e.type === "pointerdown") && (Qr = !0, gs("pointer", e));
|
|
7420
7420
|
}
|
|
7421
|
-
function
|
|
7421
|
+
function A6(e) {
|
|
7422
7422
|
Oc(e) && (Qr = !0, ir = "virtual");
|
|
7423
7423
|
}
|
|
7424
|
-
function
|
|
7424
|
+
function O6(e) {
|
|
7425
7425
|
e.target === window || e.target === document || (!Qr && !Fc && (ir = "virtual", gs("virtual", e)), Qr = !1, Fc = !1);
|
|
7426
7426
|
}
|
|
7427
|
-
function
|
|
7427
|
+
function M6() {
|
|
7428
7428
|
Qr = !1, Fc = !0;
|
|
7429
7429
|
}
|
|
7430
7430
|
function _i() {
|
|
@@ -7433,7 +7433,7 @@ function _i() {
|
|
|
7433
7433
|
let e = HTMLElement.prototype.focus;
|
|
7434
7434
|
HTMLElement.prototype.focus = function() {
|
|
7435
7435
|
Qr = !0, e.apply(this, arguments);
|
|
7436
|
-
}, document.addEventListener("keydown", Rp, !0), document.addEventListener("keyup", Rp, !0), document.addEventListener("click",
|
|
7436
|
+
}, document.addEventListener("keydown", Rp, !0), document.addEventListener("keyup", Rp, !0), document.addEventListener("click", A6, !0), window.addEventListener("focus", O6, !0), window.addEventListener("blur", M6, !1), typeof PointerEvent < "u" ? (document.addEventListener("pointerdown", Rn, !0), document.addEventListener("pointermove", Rn, !0), document.addEventListener("pointerup", Rn, !0)) : (document.addEventListener("mousedown", Rn, !0), document.addEventListener("mousemove", Rn, !0), document.addEventListener("mouseup", Rn, !0)), Cp = !0;
|
|
7437
7437
|
}
|
|
7438
7438
|
typeof document < "u" && (document.readyState !== "loading" ? _i() : document.addEventListener("DOMContentLoaded", _i));
|
|
7439
7439
|
function xi() {
|
|
@@ -7457,13 +7457,13 @@ function Gg() {
|
|
|
7457
7457
|
};
|
|
7458
7458
|
}, []), ms() ? null : e;
|
|
7459
7459
|
}
|
|
7460
|
-
function
|
|
7461
|
-
return !(e && t === "keyboard" && r instanceof KeyboardEvent && !
|
|
7460
|
+
function N6(e, t, r) {
|
|
7461
|
+
return !(e && t === "keyboard" && r instanceof KeyboardEvent && !R6[r.key]);
|
|
7462
7462
|
}
|
|
7463
|
-
function
|
|
7463
|
+
function F6(e, t, r) {
|
|
7464
7464
|
_i(), J(() => {
|
|
7465
7465
|
let n = (o, a) => {
|
|
7466
|
-
|
|
7466
|
+
N6(r == null ? void 0 : r.isTextInput, o, a) && e(xi());
|
|
7467
7467
|
};
|
|
7468
7468
|
return Wo.add(n), () => {
|
|
7469
7469
|
Wo.delete(n);
|
|
@@ -7507,20 +7507,20 @@ function zc() {
|
|
|
7507
7507
|
function Ip(e) {
|
|
7508
7508
|
e.pointerType === "touch" && zc();
|
|
7509
7509
|
}
|
|
7510
|
-
function
|
|
7510
|
+
function z6() {
|
|
7511
7511
|
if (!(typeof document > "u"))
|
|
7512
7512
|
return typeof PointerEvent < "u" ? document.addEventListener("pointerup", Ip) : document.addEventListener("touchend", zc), Sl++, () => {
|
|
7513
7513
|
Sl--, !(Sl > 0) && (typeof PointerEvent < "u" ? document.removeEventListener("pointerup", Ip) : document.removeEventListener("touchend", zc));
|
|
7514
7514
|
};
|
|
7515
7515
|
}
|
|
7516
|
-
function
|
|
7516
|
+
function L6(e) {
|
|
7517
7517
|
let { onHoverStart: t, onHoverChange: r, onHoverEnd: n, isDisabled: o } = e, [a, i] = X(!1), s = K({
|
|
7518
7518
|
isHovered: !1,
|
|
7519
7519
|
ignoreEmulatedMouseEvents: !1,
|
|
7520
7520
|
pointerType: "",
|
|
7521
7521
|
target: null
|
|
7522
7522
|
}).current;
|
|
7523
|
-
J(
|
|
7523
|
+
J(z6, []);
|
|
7524
7524
|
let { hoverProps: l, triggerHoverEnd: c } = re(() => {
|
|
7525
7525
|
let d = (m, h) => {
|
|
7526
7526
|
if (s.pointerType = h, o || h === "touch" || s.isHovered || !m.currentTarget.contains(m.target))
|
|
@@ -7575,7 +7575,7 @@ function Lk(e) {
|
|
|
7575
7575
|
isHovered: a
|
|
7576
7576
|
};
|
|
7577
7577
|
}
|
|
7578
|
-
function
|
|
7578
|
+
function K6(e) {
|
|
7579
7579
|
let { ref: t, onInteractOutside: r, isDisabled: n, onInteractOutsideStart: o } = e, a = K({
|
|
7580
7580
|
isPointerDown: !1,
|
|
7581
7581
|
ignoreEmulatedMouseEvents: !1
|
|
@@ -7644,7 +7644,7 @@ function Ap(e) {
|
|
|
7644
7644
|
e(n), t && r.stopPropagation();
|
|
7645
7645
|
};
|
|
7646
7646
|
}
|
|
7647
|
-
function
|
|
7647
|
+
function V6(e) {
|
|
7648
7648
|
return {
|
|
7649
7649
|
keyboardProps: e.isDisabled ? {} : {
|
|
7650
7650
|
onKeyDown: Ap(e.onKeyDown),
|
|
@@ -7652,7 +7652,7 @@ function Vk(e) {
|
|
|
7652
7652
|
}
|
|
7653
7653
|
};
|
|
7654
7654
|
}
|
|
7655
|
-
function
|
|
7655
|
+
function B6(e, t) {
|
|
7656
7656
|
let { onScroll: r, isDisabled: n } = e, o = ae((a) => {
|
|
7657
7657
|
a.ctrlKey || (a.preventDefault(), a.stopPropagation(), r && r({
|
|
7658
7658
|
deltaX: a.deltaX,
|
|
@@ -7663,9 +7663,9 @@ function Bk(e, t) {
|
|
|
7663
7663
|
]);
|
|
7664
7664
|
$r(t, "wheel", n ? null : o);
|
|
7665
7665
|
}
|
|
7666
|
-
const
|
|
7666
|
+
const j6 = 500;
|
|
7667
7667
|
function Yg(e) {
|
|
7668
|
-
let { isDisabled: t, onLongPressStart: r, onLongPressEnd: n, onLongPress: o, threshold: a =
|
|
7668
|
+
let { isDisabled: t, onLongPressStart: r, onLongPressEnd: n, onLongPress: o, threshold: a = j6, accessibilityDescription: i } = e;
|
|
7669
7669
|
const s = K(null);
|
|
7670
7670
|
let { addGlobalListener: l, removeGlobalListener: c } = bu(), { pressProps: d } = fn({
|
|
7671
7671
|
isDisabled: t,
|
|
@@ -7739,7 +7739,7 @@ function vs(e) {
|
|
|
7739
7739
|
let { children: t, elementType: r = "div", isFocusable: n, style: o, ...a } = e, { visuallyHiddenProps: i } = qg(e);
|
|
7740
7740
|
return /* @__PURE__ */ F.createElement(r, $e(a, i), t);
|
|
7741
7741
|
}
|
|
7742
|
-
const
|
|
7742
|
+
const U6 = I(Xe)`
|
|
7743
7743
|
display: flex;
|
|
7744
7744
|
flex-direction: column;
|
|
7745
7745
|
|
|
@@ -7769,7 +7769,7 @@ function yu(e) {
|
|
|
7769
7769
|
...i
|
|
7770
7770
|
};
|
|
7771
7771
|
return /* @__PURE__ */ x(Xe, { "data-id": e["data-id"], ...s, children: a.map((l, c) => /* @__PURE__ */ x(
|
|
7772
|
-
|
|
7772
|
+
U6,
|
|
7773
7773
|
{
|
|
7774
7774
|
"data-id": "stack-item",
|
|
7775
7775
|
$alignment: r,
|
|
@@ -7800,7 +7800,7 @@ const Zg = `
|
|
|
7800
7800
|
}
|
|
7801
7801
|
`, Xg = () => `
|
|
7802
7802
|
${Zg}
|
|
7803
|
-
`, ur = "2px",
|
|
7803
|
+
`, ur = "2px", W6 = () => `
|
|
7804
7804
|
appearance: none;
|
|
7805
7805
|
display: inline-flex;
|
|
7806
7806
|
align-items: center;
|
|
@@ -7840,11 +7840,11 @@ const Zg = `
|
|
|
7840
7840
|
&:disabled {
|
|
7841
7841
|
cursor: not-allowed;
|
|
7842
7842
|
}
|
|
7843
|
-
`,
|
|
7843
|
+
`, H6 = (e) => `
|
|
7844
7844
|
transition: ${f.motion_duration_fast} ${f.motion_ease_in_out};
|
|
7845
7845
|
transform: translateY(${e.$loading ? "-50%" : "0%"});
|
|
7846
7846
|
opacity: ${e.$loading ? "0" : "1"};
|
|
7847
|
-
`,
|
|
7847
|
+
`, G6 = (e) => {
|
|
7848
7848
|
if (e.disabled)
|
|
7849
7849
|
return `
|
|
7850
7850
|
opacity: 0.8;
|
|
@@ -7854,7 +7854,7 @@ const Zg = `
|
|
|
7854
7854
|
}
|
|
7855
7855
|
`;
|
|
7856
7856
|
}, Jg = De`
|
|
7857
|
-
`,
|
|
7857
|
+
`, Y6 = De`
|
|
7858
7858
|
${Jg};
|
|
7859
7859
|
background: ${f.color_gray_6};
|
|
7860
7860
|
color: ${f.color_white};
|
|
@@ -7880,7 +7880,7 @@ const Zg = `
|
|
|
7880
7880
|
}
|
|
7881
7881
|
|
|
7882
7882
|
&:disabled {}
|
|
7883
|
-
`,
|
|
7883
|
+
`, q6 = De`
|
|
7884
7884
|
${Jg};
|
|
7885
7885
|
background: ${f.color_white};
|
|
7886
7886
|
color: ${f.color_gray_6};
|
|
@@ -7905,7 +7905,7 @@ const Zg = `
|
|
|
7905
7905
|
&:disabled {}
|
|
7906
7906
|
`, Qg = De`
|
|
7907
7907
|
background: transparent;
|
|
7908
|
-
`,
|
|
7908
|
+
`, Z6 = De`
|
|
7909
7909
|
${Qg}
|
|
7910
7910
|
color: ${f.color_gray_6};
|
|
7911
7911
|
border: 1px solid rgba(0, 0, 0, 0.16); // TODO: token
|
|
@@ -7932,7 +7932,7 @@ const Zg = `
|
|
|
7932
7932
|
}
|
|
7933
7933
|
|
|
7934
7934
|
&:disabled {}
|
|
7935
|
-
`,
|
|
7935
|
+
`, X6 = De`
|
|
7936
7936
|
${Qg}
|
|
7937
7937
|
color: ${f.color_white};
|
|
7938
7938
|
border: 1px solid rgba(255, 255, 255, 0.2); // TODO: token
|
|
@@ -7958,7 +7958,7 @@ const Zg = `
|
|
|
7958
7958
|
&:disabled {}
|
|
7959
7959
|
`, e0 = De`
|
|
7960
7960
|
background: transparent;
|
|
7961
|
-
`,
|
|
7961
|
+
`, J6 = De`
|
|
7962
7962
|
${e0}
|
|
7963
7963
|
color: ${f.color_gray_6};
|
|
7964
7964
|
|
|
@@ -7983,7 +7983,7 @@ const Zg = `
|
|
|
7983
7983
|
}
|
|
7984
7984
|
|
|
7985
7985
|
&:disabled {}
|
|
7986
|
-
`,
|
|
7986
|
+
`, Q6 = De`
|
|
7987
7987
|
${e0}
|
|
7988
7988
|
color: ${f.color_white};
|
|
7989
7989
|
|
|
@@ -8056,11 +8056,11 @@ const Zg = `
|
|
|
8056
8056
|
`, rE = (e, t) => {
|
|
8057
8057
|
switch (e) {
|
|
8058
8058
|
case "primary":
|
|
8059
|
-
return t ?
|
|
8059
|
+
return t ? q6 : Y6;
|
|
8060
8060
|
case "secondary":
|
|
8061
|
-
return t ?
|
|
8061
|
+
return t ? X6 : Z6;
|
|
8062
8062
|
case "tertiary":
|
|
8063
|
-
return t ?
|
|
8063
|
+
return t ? Q6 : J6;
|
|
8064
8064
|
case "danger":
|
|
8065
8065
|
return t ? tE : eE;
|
|
8066
8066
|
}
|
|
@@ -8077,13 +8077,13 @@ const Zg = `
|
|
|
8077
8077
|
}
|
|
8078
8078
|
}, _u = rs(Gd, RP, IP, Yd), Mp = I(Xe)`
|
|
8079
8079
|
${Xg} // order here matters! ... sets css precedence
|
|
8080
|
-
${
|
|
8081
|
-
${
|
|
8080
|
+
${W6}
|
|
8081
|
+
${G6}
|
|
8082
8082
|
${_u}
|
|
8083
8083
|
${({ variant: e, inverse: t }) => rE(e, t)}
|
|
8084
8084
|
${({ size: e }) => aE(e)}
|
|
8085
8085
|
`, iE = I.span`
|
|
8086
|
-
${(e) =>
|
|
8086
|
+
${(e) => H6(e)}
|
|
8087
8087
|
`;
|
|
8088
8088
|
function sE(e, t) {
|
|
8089
8089
|
const {
|
|
@@ -9822,7 +9822,7 @@ function hn(e = {}) {
|
|
|
9822
9822
|
}, [
|
|
9823
9823
|
c
|
|
9824
9824
|
]);
|
|
9825
|
-
|
|
9825
|
+
F6((m) => {
|
|
9826
9826
|
o.current.isFocusVisible = m, c();
|
|
9827
9827
|
}, [], {
|
|
9828
9828
|
isTextInput: r
|
|
@@ -9858,7 +9858,7 @@ function D4(e) {
|
|
|
9858
9858
|
return n;
|
|
9859
9859
|
}
|
|
9860
9860
|
function ku(e, t) {
|
|
9861
|
-
let { focusProps: r } = $u(e), { keyboardProps: n } =
|
|
9861
|
+
let { focusProps: r } = $u(e), { keyboardProps: n } = V6(e), o = $e(r, n), a = D4(t), i = e.isDisabled ? {} : a, s = K(e.autoFocus);
|
|
9862
9862
|
return J(() => {
|
|
9863
9863
|
s.current && t.current && Zo(t.current), s.current = !1;
|
|
9864
9864
|
}, [
|
|
@@ -18932,7 +18932,7 @@ function sI(e, t, r) {
|
|
|
18932
18932
|
C,
|
|
18933
18933
|
k
|
|
18934
18934
|
]);
|
|
18935
|
-
|
|
18935
|
+
B6({
|
|
18936
18936
|
onScroll: Q,
|
|
18937
18937
|
isDisabled: i || s || !q
|
|
18938
18938
|
}, r);
|
|
@@ -19890,7 +19890,7 @@ const MI = bI, NI = vI, FI = $I, zI = xI, LI = wI, KI = kI, VI = Ue`
|
|
|
19890
19890
|
animation-name: ${VI};
|
|
19891
19891
|
}
|
|
19892
19892
|
`, HI = I(KI)`
|
|
19893
|
-
fill: ${f.
|
|
19893
|
+
fill: ${f.color_deprecated_background_black_standard};
|
|
19894
19894
|
`;
|
|
19895
19895
|
function GI({ children: e, ...t }) {
|
|
19896
19896
|
return /* @__PURE__ */ x(zI, { children: /* @__PURE__ */ oe(WI, { ...t, children: [
|
|
@@ -20388,7 +20388,7 @@ function gA(e) {
|
|
|
20388
20388
|
});
|
|
20389
20389
|
Object.keys(k.position).forEach((_) => o.current.style[_] = k.position[_] + "px"), o.current.style.maxHeight = k.maxHeight != null ? k.maxHeight + "px" : void 0, v(k);
|
|
20390
20390
|
}, y);
|
|
20391
|
-
Oe(w, y), vA(w),
|
|
20391
|
+
Oe(w, y), vA(w), y6({
|
|
20392
20392
|
ref: o,
|
|
20393
20393
|
onResize: w
|
|
20394
20394
|
});
|
|
@@ -20463,7 +20463,7 @@ function yA(e, t) {
|
|
|
20463
20463
|
}, u = (h) => {
|
|
20464
20464
|
h.key === "Escape" && !i && (h.stopPropagation(), h.preventDefault(), l());
|
|
20465
20465
|
};
|
|
20466
|
-
|
|
20466
|
+
K6({
|
|
20467
20467
|
ref: t,
|
|
20468
20468
|
onInteractOutside: a ? d : null,
|
|
20469
20469
|
onInteractOutsideStart: c
|
|
@@ -21673,7 +21673,7 @@ function Q1(e, t, r) {
|
|
|
21673
21673
|
"aria-disabled": i || void 0,
|
|
21674
21674
|
"aria-selected": t.selectionManager.selectionMode !== "none" ? l : void 0
|
|
21675
21675
|
};
|
|
21676
|
-
if (un() &&
|
|
21676
|
+
if (un() && x6() || (y["aria-label"] = e["aria-label"], y["aria-labelledby"] = $, y["aria-describedby"] = v), g) {
|
|
21677
21677
|
var w;
|
|
21678
21678
|
let D = Number((w = t.collection.getItem(n)) === null || w === void 0 ? void 0 : w.index);
|
|
21679
21679
|
y["aria-posinset"] = Number.isNaN(D) ? void 0 : D + 1, y["aria-setsize"] = Z1(t.collection);
|
|
@@ -21691,7 +21691,7 @@ function Q1(e, t, r) {
|
|
|
21691
21691
|
var D;
|
|
21692
21692
|
return o == null || (D = o.onAction) === null || D === void 0 ? void 0 : D.call(o, n);
|
|
21693
21693
|
} : void 0
|
|
21694
|
-
}), { hoverProps: z } =
|
|
21694
|
+
}), { hoverProps: z } = L6({
|
|
21695
21695
|
isDisabled: i || !p,
|
|
21696
21696
|
onHoverStart() {
|
|
21697
21697
|
xi() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(n));
|
|
@@ -27573,12 +27573,13 @@ const xj = Object.assign(go, {
|
|
|
27573
27573
|
`, BN = De`
|
|
27574
27574
|
width: clamp(
|
|
27575
27575
|
var(--page-min-width, 750px),
|
|
27576
|
-
var(--page-ideal-width,
|
|
27576
|
+
var(--page-ideal-width, 98%),
|
|
27577
27577
|
var(--page-max-width, 1600px)
|
|
27578
27578
|
);
|
|
27579
27579
|
max-width: 100%;
|
|
27580
27580
|
`, jN = I.div`
|
|
27581
27581
|
${BN}
|
|
27582
|
+
height: 100%;
|
|
27582
27583
|
min-height: 100%;
|
|
27583
27584
|
margin: 0 auto;
|
|
27584
27585
|
padding: 0 ${f.sizing_100};
|
|
@@ -27607,7 +27608,6 @@ const xj = Object.assign(go, {
|
|
|
27607
27608
|
}) => /* @__PURE__ */ x(WN, { className: t, children: /* @__PURE__ */ x(jN, { children: /* @__PURE__ */ x(UN, { as: "div", children: e }) }) }), Tj = I(Ae)`
|
|
27608
27609
|
display: flex;
|
|
27609
27610
|
align-items: center;
|
|
27610
|
-
gap: ${f.sizing_200};
|
|
27611
27611
|
|
|
27612
27612
|
& > :first-child {
|
|
27613
27613
|
margin-right: auto;
|
|
@@ -32671,7 +32671,7 @@ export {
|
|
|
32671
32671
|
OB as DialogCloseButton,
|
|
32672
32672
|
RB as DialogContent,
|
|
32673
32673
|
AB as DialogDescription,
|
|
32674
|
-
|
|
32674
|
+
Zk as DialogFooter,
|
|
32675
32675
|
IB as DialogTitle,
|
|
32676
32676
|
NB as DialogTrigger,
|
|
32677
32677
|
FN as Direction,
|