@secretstache/wordpress-gutenberg 0.6.3 → 0.6.5
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/build/index.js +191 -184
- package/build/index.js.map +1 -1
- package/package.json +1 -1
- package/src/utils/helpers.js +22 -12
- package/src/utils/rootBlock/setRootBlockFilter.js +2 -1
package/build/index.js
CHANGED
@@ -66,10 +66,10 @@ function Ta() {
|
|
66
66
|
le.unshift("Warning: " + S), Function.prototype.apply.call(console[f], console, le);
|
67
67
|
}
|
68
68
|
}
|
69
|
-
var C = !1, y = !1, T = !1, E = !1,
|
69
|
+
var C = !1, y = !1, T = !1, E = !1, O = !1, K;
|
70
70
|
K = Symbol.for("react.module.reference");
|
71
71
|
function X(f) {
|
72
|
-
return !!(typeof f == "string" || typeof f == "function" || f === i || f === a ||
|
72
|
+
return !!(typeof f == "string" || typeof f == "function" || f === i || f === a || O || f === n || f === c || f === l || E || f === g || C || y || T || typeof f == "object" && f !== null && (f.$$typeof === p || f.$$typeof === d || f.$$typeof === s || f.$$typeof === o || f.$$typeof === u || // This needs to include all possible module reference object
|
73
73
|
// types supported by any Flight configuration anywhere since
|
74
74
|
// we don't know which Flight build this will end up being used
|
75
75
|
// with.
|
@@ -131,9 +131,9 @@ function Ta() {
|
|
131
131
|
return null;
|
132
132
|
}
|
133
133
|
var z = Object.assign, te = 0, oe, de, fe, Ie, A, R, F;
|
134
|
-
function
|
134
|
+
function P() {
|
135
135
|
}
|
136
|
-
|
136
|
+
P.__reactDisabledLog = !0;
|
137
137
|
function W() {
|
138
138
|
{
|
139
139
|
if (te === 0) {
|
@@ -141,7 +141,7 @@ function Ta() {
|
|
141
141
|
var f = {
|
142
142
|
configurable: !0,
|
143
143
|
enumerable: !0,
|
144
|
-
value:
|
144
|
+
value: P,
|
145
145
|
writable: !0
|
146
146
|
};
|
147
147
|
Object.defineProperties(console, {
|
@@ -285,7 +285,7 @@ function Ta() {
|
|
285
285
|
function xe(f, S, G) {
|
286
286
|
return B(f, !1);
|
287
287
|
}
|
288
|
-
function
|
288
|
+
function Oe(f) {
|
289
289
|
var S = f.prototype;
|
290
290
|
return !!(S && S.isReactComponent);
|
291
291
|
}
|
@@ -293,7 +293,7 @@ function Ta() {
|
|
293
293
|
if (f == null)
|
294
294
|
return "";
|
295
295
|
if (typeof f == "function")
|
296
|
-
return B(f,
|
296
|
+
return B(f, Oe(f));
|
297
297
|
if (typeof f == "string")
|
298
298
|
return j(f);
|
299
299
|
switch (f) {
|
@@ -319,7 +319,7 @@ function Ta() {
|
|
319
319
|
return "";
|
320
320
|
}
|
321
321
|
var He = Object.prototype.hasOwnProperty, wt = {}, Le = v.ReactDebugCurrentFrame;
|
322
|
-
function
|
322
|
+
function Pe(f) {
|
323
323
|
if (f) {
|
324
324
|
var S = f._owner, G = Be(f.type, f._source, S ? S.type : null);
|
325
325
|
Le.setExtraStackFrame(G);
|
@@ -341,7 +341,7 @@ function Ta() {
|
|
341
341
|
} catch (be) {
|
342
342
|
ee = be;
|
343
343
|
}
|
344
|
-
ee && !(ee instanceof Error) && (
|
344
|
+
ee && !(ee instanceof Error) && (Pe(se), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Y || "React class", G, re, typeof ee), Pe(null)), ee instanceof Error && !(ee.message in wt) && (wt[ee.message] = !0, Pe(se), x("Failed %s type: %s", G, ee.message), Pe(null));
|
345
345
|
}
|
346
346
|
}
|
347
347
|
}
|
@@ -633,7 +633,7 @@ function Ra() {
|
|
633
633
|
return Rr || (Rr = 1, process.env.NODE_ENV === "production" ? At.exports = Sa() : At.exports = Ta()), At.exports;
|
634
634
|
}
|
635
635
|
var m = Ra();
|
636
|
-
const Ba = window.wp.components.ToggleControl, Ga = "Enable Preview", Fa = "Please check this option to see how the block will actually look and behave on the frontend.",
|
636
|
+
const Ba = window.wp.components.ToggleControl, Ga = "Enable Preview", Fa = "Please check this option to see how the block will actually look and behave on the frontend.", Oa = (e) => {
|
637
637
|
const {
|
638
638
|
checked: t,
|
639
639
|
onChange: r,
|
@@ -650,15 +650,15 @@ const Ba = window.wp.components.ToggleControl, Ga = "Enable Preview", Fa = "Plea
|
|
650
650
|
...e
|
651
651
|
}
|
652
652
|
);
|
653
|
-
},
|
654
|
-
const [e, t] = Va(!1), r =
|
653
|
+
}, Pa = window.wp.element.useCallback, Va = window.wp.element.useState, pp = () => {
|
654
|
+
const [e, t] = Va(!1), r = Pa(() => {
|
655
655
|
t((n) => !n);
|
656
656
|
}, []);
|
657
657
|
return {
|
658
658
|
isPreview: e,
|
659
659
|
setIsPreview: t,
|
660
660
|
PreviewControl: (n) => /* @__PURE__ */ m.jsx(
|
661
|
-
|
661
|
+
Oa,
|
662
662
|
{
|
663
663
|
checked: e,
|
664
664
|
onChange: r,
|
@@ -762,11 +762,11 @@ const Ba = window.wp.components.ToggleControl, Ga = "Enable Preview", Fa = "Plea
|
|
762
762
|
] }), za = () => /* @__PURE__ */ m.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: "24", height: "24", "aria-hidden": "true", focusable: "false", children: /* @__PURE__ */ m.jsx("path", { d: "M11 12.5V17.5H12.5V12.5H17.5V11H12.5V6H11V11H6V12.5H11Z" }) }), Fr = () => /* @__PURE__ */ m.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: "24", height: "24", "aria-hidden": "true", focusable: "false", children: [
|
763
763
|
/* @__PURE__ */ m.jsx("path", { d: "m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z", style: { opacity: 0.25 } }),
|
764
764
|
/* @__PURE__ */ m.jsx("path", { d: "m16.5 19.5h-9v-1.5h9z" })
|
765
|
-
] }),
|
765
|
+
] }), Or = () => /* @__PURE__ */ m.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: "24", height: "24", "aria-hidden": "true", focusable: "false", children: [
|
766
766
|
/* @__PURE__ */ m.jsx("path", { d: "m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z", style: { opacity: 0.25 } }),
|
767
767
|
/* @__PURE__ */ m.jsx("path", { d: "m16.5 6h-9v-1.5h9z" })
|
768
|
-
] }), Ja = window.wp.data.useSelect, _a = window.wp.data.useDispatch, Ua = window.wp.data.select,
|
769
|
-
const { insertBlock: r } = _a(
|
768
|
+
] }), Ja = window.wp.data.useSelect, _a = window.wp.data.useDispatch, Ua = window.wp.data.select, Pr = window.wp.blockEditor.store, fn = window.wp.element.useLayoutEffect, $a = window.wp.element.useState, Qa = window.wp.components.Button, Ka = window.wp.blocks.createBlock, mp = (e, t) => {
|
769
|
+
const { insertBlock: r } = _a(Pr), {
|
770
770
|
tabs: i,
|
771
771
|
tabsCount: n,
|
772
772
|
tabsOrder: a,
|
@@ -781,7 +781,7 @@ const Ba = window.wp.components.ToggleControl, Ga = "Enable Preview", Fa = "Plea
|
|
781
781
|
getSelectedBlockClientId: x,
|
782
782
|
getBlockOrder: w,
|
783
783
|
getBlockRootClientId: C
|
784
|
-
} = h(
|
784
|
+
} = h(Pr);
|
785
785
|
return {
|
786
786
|
tabs: b(e)?.innerBlocks || [],
|
787
787
|
tabsCount: I(e),
|
@@ -1038,8 +1038,8 @@ const Ba = window.wp.components.ToggleControl, Ga = "Enable Preview", Fa = "Plea
|
|
1038
1038
|
"blocks.registerBlockType",
|
1039
1039
|
"ssm/set-root-block",
|
1040
1040
|
(t, r) => {
|
1041
|
-
const i = r === e, n = r === "core/block", a = !!t?.ancestor;
|
1042
|
-
return !i && !n && !a && (t.ancestor = [e]), t;
|
1041
|
+
const i = r === e, n = r === "core/block", a = !!t?.ancestor, s = !!t?.parent;
|
1042
|
+
return !i && !n && !a && !s && (t.ancestor = [e]), t;
|
1043
1043
|
}
|
1044
1044
|
);
|
1045
1045
|
},
|
@@ -1158,7 +1158,7 @@ const Ba = window.wp.components.ToggleControl, Ga = "Enable Preview", Fa = "Plea
|
|
1158
1158
|
type: "boolean",
|
1159
1159
|
default: !0
|
1160
1160
|
}
|
1161
|
-
}),
|
1161
|
+
}), Os = {
|
1162
1162
|
curatedPosts: {
|
1163
1163
|
type: "array",
|
1164
1164
|
default: [],
|
@@ -1174,7 +1174,7 @@ const Ba = window.wp.components.ToggleControl, Ga = "Enable Preview", Fa = "Plea
|
|
1174
1174
|
}
|
1175
1175
|
}
|
1176
1176
|
}
|
1177
|
-
},
|
1177
|
+
}, Ps = {
|
1178
1178
|
curatedCategories: {
|
1179
1179
|
type: "array",
|
1180
1180
|
default: [],
|
@@ -1208,11 +1208,11 @@ const Ba = window.wp.components.ToggleControl, Ga = "Enable Preview", Fa = "Plea
|
|
1208
1208
|
], s.default = t[0].value), {
|
1209
1209
|
dataSource: a,
|
1210
1210
|
queryType: s,
|
1211
|
-
...r ?
|
1212
|
-
...i ?
|
1211
|
+
...r ? Os : {},
|
1212
|
+
...i ? Ps : {},
|
1213
1213
|
...n ? Vs : {}
|
1214
1214
|
};
|
1215
|
-
},
|
1215
|
+
}, Op = ({
|
1216
1216
|
hasBackgroundMedia: e = !1,
|
1217
1217
|
mediaAttributeName: t = "media",
|
1218
1218
|
hasOverlay: r = !1
|
@@ -1240,7 +1240,7 @@ const Ba = window.wp.components.ToggleControl, Ga = "Enable Preview", Fa = "Plea
|
|
1240
1240
|
}
|
1241
1241
|
} : {}
|
1242
1242
|
};
|
1243
|
-
},
|
1243
|
+
}, Pp = {
|
1244
1244
|
spacing: {
|
1245
1245
|
type: "object",
|
1246
1246
|
default: {
|
@@ -1426,16 +1426,23 @@ const qo = /* @__PURE__ */ Qt(Xs), Zs = window.wp.hooks.filters, Ls = window.wp.
|
|
1426
1426
|
}, Ys = (e) => {
|
1427
1427
|
const t = document.createElement("div");
|
1428
1428
|
return t.innerHTML = e, t.textContent || t.innerText || "";
|
1429
|
-
}, Xp = (e,
|
1430
|
-
|
1431
|
-
|
1432
|
-
|
1433
|
-
|
1434
|
-
|
1435
|
-
|
1436
|
-
|
1437
|
-
|
1438
|
-
|
1429
|
+
}, Xp = (e, {
|
1430
|
+
desktopPrefix: t = "md:",
|
1431
|
+
mobilePrefix: r = "",
|
1432
|
+
valuePrefix: i = ""
|
1433
|
+
} = {}) => {
|
1434
|
+
const a = (s, o, u, c) => c === -1 ? null : `${s}${o}-${u}${c}`;
|
1435
|
+
return qo(
|
1436
|
+
a(t, "mt", i, e?.desktop?.margin?.top),
|
1437
|
+
a(t, "mb", i, e?.desktop?.margin?.bottom),
|
1438
|
+
a(t, "pt", i, e?.desktop?.padding?.top),
|
1439
|
+
a(t, "pb", i, e?.desktop?.padding?.bottom),
|
1440
|
+
a(r, "mt", i, e?.mobile?.margin?.top),
|
1441
|
+
a(r, "mb", i, e?.mobile?.margin?.bottom),
|
1442
|
+
a(r, "pt", i, e?.mobile?.padding?.top),
|
1443
|
+
a(r, "pb", i, e?.mobile?.padding?.bottom)
|
1444
|
+
);
|
1445
|
+
}, Zp = (e) => {
|
1439
1446
|
const t = [];
|
1440
1447
|
return Object.entries(Zs).forEach(([r, i]) => {
|
1441
1448
|
(i.handlers || []).forEach((a) => {
|
@@ -2092,7 +2099,7 @@ function Mt(e, t, r, i, n, a, s, o, u) {
|
|
2092
2099
|
switch (De()) {
|
2093
2100
|
case 42:
|
2094
2101
|
case 47:
|
2095
|
-
St(
|
2102
|
+
St(Ou(Bu(Ge(), Nt()), t, r), u);
|
2096
2103
|
break;
|
2097
2104
|
default:
|
2098
2105
|
E += "/";
|
@@ -2173,7 +2180,7 @@ function Ur(e, t, r, i, n, a, s, o, u, c, l) {
|
|
2173
2180
|
(w = ui(b > 0 ? p[v] + " " + x : ae(x, /&\f/g, p[v]))) && (u[I++] = w);
|
2174
2181
|
return nn(e, t, r, n === 0 ? er : o, u, c, l);
|
2175
2182
|
}
|
2176
|
-
function
|
2183
|
+
function Ou(e, t, r) {
|
2177
2184
|
return nn(e, t, r, ai, en(Eu()), ht(e, 2, -2), 0);
|
2178
2185
|
}
|
2179
2186
|
function $r(e, t, r, i) {
|
@@ -2184,7 +2191,7 @@ function rt(e, t) {
|
|
2184
2191
|
r += t(e[n], n, e, t) || "";
|
2185
2192
|
return r;
|
2186
2193
|
}
|
2187
|
-
function
|
2194
|
+
function Pu(e, t, r, i) {
|
2188
2195
|
switch (e.type) {
|
2189
2196
|
case Iu:
|
2190
2197
|
if (e.children.length) break;
|
@@ -2462,7 +2469,7 @@ var Lu = function(t, r, i, n) {
|
|
2462
2469
|
);
|
2463
2470
|
var u, c = [Xu, Zu];
|
2464
2471
|
{
|
2465
|
-
var l, d = [
|
2472
|
+
var l, d = [Pu, ku(function(b) {
|
2466
2473
|
l.insert(b);
|
2467
2474
|
})], p = Vu(c.concat(n, d)), g = function(I) {
|
2468
2475
|
return rt(Fu(I), p);
|
@@ -2584,17 +2591,17 @@ function zu() {
|
|
2584
2591
|
var xe = B.$$typeof;
|
2585
2592
|
switch (xe) {
|
2586
2593
|
case t:
|
2587
|
-
var
|
2588
|
-
switch (
|
2594
|
+
var Oe = B.type;
|
2595
|
+
switch (Oe) {
|
2589
2596
|
case u:
|
2590
2597
|
case c:
|
2591
2598
|
case i:
|
2592
2599
|
case a:
|
2593
2600
|
case n:
|
2594
2601
|
case d:
|
2595
|
-
return
|
2602
|
+
return Oe;
|
2596
2603
|
default:
|
2597
|
-
var Be =
|
2604
|
+
var Be = Oe && Oe.$$typeof;
|
2598
2605
|
switch (Be) {
|
2599
2606
|
case o:
|
2600
2607
|
case l:
|
@@ -2611,7 +2618,7 @@ function zu() {
|
|
2611
2618
|
}
|
2612
2619
|
}
|
2613
2620
|
}
|
2614
|
-
var y = u, T = c, E = o,
|
2621
|
+
var y = u, T = c, E = o, O = s, K = t, X = l, H = i, q = h, $ = g, z = r, te = a, oe = n, de = d, fe = !1;
|
2615
2622
|
function Ie(B) {
|
2616
2623
|
return fe || (fe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), A(B) || C(B) === u;
|
2617
2624
|
}
|
@@ -2624,7 +2631,7 @@ function zu() {
|
|
2624
2631
|
function F(B) {
|
2625
2632
|
return C(B) === s;
|
2626
2633
|
}
|
2627
|
-
function
|
2634
|
+
function P(B) {
|
2628
2635
|
return typeof B == "object" && B !== null && B.$$typeof === t;
|
2629
2636
|
}
|
2630
2637
|
function W(B) {
|
@@ -2651,7 +2658,7 @@ function zu() {
|
|
2651
2658
|
function ge(B) {
|
2652
2659
|
return C(B) === d;
|
2653
2660
|
}
|
2654
|
-
ce.AsyncMode = y, ce.ConcurrentMode = T, ce.ContextConsumer = E, ce.ContextProvider =
|
2661
|
+
ce.AsyncMode = y, ce.ConcurrentMode = T, ce.ContextConsumer = E, ce.ContextProvider = O, ce.Element = K, ce.ForwardRef = X, ce.Fragment = H, ce.Lazy = q, ce.Memo = $, ce.Portal = z, ce.Profiler = te, ce.StrictMode = oe, ce.Suspense = de, ce.isAsyncMode = Ie, ce.isConcurrentMode = A, ce.isContextConsumer = R, ce.isContextProvider = F, ce.isElement = P, ce.isForwardRef = W, ce.isFragment = Z, ce.isLazy = k, ce.isMemo = D, ce.isPortal = j, ce.isProfiler = U, ce.isStrictMode = _, ce.isSuspense = ge, ce.isValidElementType = w, ce.typeOf = C;
|
2655
2662
|
}()), ce;
|
2656
2663
|
}
|
2657
2664
|
var eo;
|
@@ -3316,9 +3323,9 @@ function Fc(e, t, r, i) {
|
|
3316
3323
|
}), d?.(), (v = g) == null || v.disconnect(), g = null, u && cancelAnimationFrame(h);
|
3317
3324
|
};
|
3318
3325
|
}
|
3319
|
-
var jn = Aa,
|
3326
|
+
var jn = Aa, Oc = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"], Jt = function() {
|
3320
3327
|
};
|
3321
|
-
function
|
3328
|
+
function Pc(e, t) {
|
3322
3329
|
return t ? t[0] === "-" ? e + t : e + "__" + t : e;
|
3323
3330
|
}
|
3324
3331
|
function Vc(e, t) {
|
@@ -3327,7 +3334,7 @@ function Vc(e, t) {
|
|
3327
3334
|
var a = [].concat(i);
|
3328
3335
|
if (t && e)
|
3329
3336
|
for (var s in t)
|
3330
|
-
t.hasOwnProperty(s) && t[s] && a.push("".concat(
|
3337
|
+
t.hasOwnProperty(s) && t[s] && a.push("".concat(Pc(e, s)));
|
3331
3338
|
return a.filter(function(o) {
|
3332
3339
|
return o;
|
3333
3340
|
}).map(function(o) {
|
@@ -3338,7 +3345,7 @@ var uo = function(t) {
|
|
3338
3345
|
return jc(t) ? t.filter(Boolean) : _e(t) === "object" && t !== null ? [t] : [];
|
3339
3346
|
}, wi = function(t) {
|
3340
3347
|
t.className, t.clearValue, t.cx, t.getStyles, t.getClassNames, t.getValue, t.hasValue, t.isMulti, t.isRtl, t.options, t.selectOption, t.selectProps, t.setValue, t.theme;
|
3341
|
-
var r = Me(t,
|
3348
|
+
var r = Me(t, Oc);
|
3342
3349
|
return V({}, r);
|
3343
3350
|
}, pe = function(t, r, i) {
|
3344
3351
|
var n = t.cx, a = t.getStyles, s = t.getClassNames, o = t.className;
|
@@ -3453,7 +3460,7 @@ function _c(e) {
|
|
3453
3460
|
maxHeight: t
|
3454
3461
|
};
|
3455
3462
|
if (!r || !r.offsetParent) return c;
|
3456
|
-
var l = u.getBoundingClientRect(), d = l.height, p = r.getBoundingClientRect(), g = p.bottom, h = p.height, b = p.top, I = r.offsetParent.getBoundingClientRect(), v = I.top, x = s ? window.innerHeight : Wc(u), w = Ai(u), C = parseInt(getComputedStyle(r).marginBottom, 10), y = parseInt(getComputedStyle(r).marginTop, 10), T = v - y, E = x - b,
|
3463
|
+
var l = u.getBoundingClientRect(), d = l.height, p = r.getBoundingClientRect(), g = p.bottom, h = p.height, b = p.top, I = r.offsetParent.getBoundingClientRect(), v = I.top, x = s ? window.innerHeight : Wc(u), w = Ai(u), C = parseInt(getComputedStyle(r).marginBottom, 10), y = parseInt(getComputedStyle(r).marginTop, 10), T = v - y, E = x - b, O = T + w, K = d - w - b, X = g - x + w + C, H = w + b - y, q = 160;
|
3457
3464
|
switch (n) {
|
3458
3465
|
case "auto":
|
3459
3466
|
case "bottom":
|
@@ -3476,7 +3483,7 @@ function _c(e) {
|
|
3476
3483
|
};
|
3477
3484
|
}
|
3478
3485
|
if (n === "auto" || s) {
|
3479
|
-
var z = t, te = s ? T :
|
3486
|
+
var z = t, te = s ? T : O;
|
3480
3487
|
return te >= i && (z = Math.min(te - C - o, t)), {
|
3481
3488
|
placement: "top",
|
3482
3489
|
maxHeight: z
|
@@ -3494,14 +3501,14 @@ function _c(e) {
|
|
3494
3501
|
placement: "top",
|
3495
3502
|
maxHeight: t
|
3496
3503
|
};
|
3497
|
-
if (
|
3504
|
+
if (O >= h && !s)
|
3498
3505
|
return a && Bt(u, H, q), {
|
3499
3506
|
placement: "top",
|
3500
3507
|
maxHeight: t
|
3501
3508
|
};
|
3502
|
-
if (!s &&
|
3509
|
+
if (!s && O >= i || s && T >= i) {
|
3503
3510
|
var oe = t;
|
3504
|
-
return (!s &&
|
3511
|
+
return (!s && O >= i || s && T >= i) && (oe = s ? T - y : O - y), a && Bt(u, H, q), {
|
3505
3512
|
placement: "top",
|
3506
3513
|
maxHeight: oe
|
3507
3514
|
};
|
@@ -3540,7 +3547,7 @@ var Si = function(t) {
|
|
3540
3547
|
return jn(function() {
|
3541
3548
|
var y = d.current;
|
3542
3549
|
if (y) {
|
3543
|
-
var T = s === "fixed", E = o && !T,
|
3550
|
+
var T = s === "fixed", E = o && !T, O = _c({
|
3544
3551
|
maxHeight: n,
|
3545
3552
|
menuEl: y,
|
3546
3553
|
minHeight: i,
|
@@ -3549,7 +3556,7 @@ var Si = function(t) {
|
|
3549
3556
|
isFixedPosition: T,
|
3550
3557
|
controlHeight: C
|
3551
3558
|
});
|
3552
|
-
b(
|
3559
|
+
b(O.maxHeight), w(O.placement), l?.(O.placement);
|
3553
3560
|
}
|
3554
3561
|
}, [n, a, s, o, i, l, C]), r({
|
3555
3562
|
ref: d,
|
@@ -3627,7 +3634,7 @@ var Si = function(t) {
|
|
3627
3634
|
};
|
3628
3635
|
}, []), b = Ae(null), I = me(b, 2), v = I[0], x = I[1], w = Ce(function() {
|
3629
3636
|
if (n) {
|
3630
|
-
var E = Mc(n),
|
3637
|
+
var E = Mc(n), O = o === "fixed" ? 0 : window.pageYOffset, K = E[p] + O;
|
3631
3638
|
(K !== v?.offset || E.left !== v?.rect.left || E.width !== v?.rect.width) && x({
|
3632
3639
|
offset: K,
|
3633
3640
|
rect: E
|
@@ -3875,7 +3882,7 @@ var ml = process.env.NODE_ENV === "production" ? {
|
|
3875
3882
|
paddingBottom: i.baseUnit * 2,
|
3876
3883
|
paddingTop: i.baseUnit * 2
|
3877
3884
|
};
|
3878
|
-
},
|
3885
|
+
}, Ol = function(t) {
|
3879
3886
|
var r = t.children, i = t.cx, n = t.getStyles, a = t.getClassNames, s = t.Heading, o = t.headingProps, u = t.innerProps, c = t.label, l = t.theme, d = t.selectProps;
|
3880
3887
|
return M("div", N({}, pe(t, "group", {
|
3881
3888
|
group: !0
|
@@ -3886,7 +3893,7 @@ var ml = process.env.NODE_ENV === "production" ? {
|
|
3886
3893
|
getClassNames: a,
|
3887
3894
|
cx: i
|
3888
3895
|
}), c), M("div", null, r));
|
3889
|
-
},
|
3896
|
+
}, Pl = function(t, r) {
|
3890
3897
|
var i = t.theme, n = i.colors, a = i.spacing;
|
3891
3898
|
return V({
|
3892
3899
|
label: "group",
|
@@ -3908,7 +3915,7 @@ var ml = process.env.NODE_ENV === "production" ? {
|
|
3908
3915
|
return M("div", N({}, pe(t, "groupHeading", {
|
3909
3916
|
"group-heading": !0
|
3910
3917
|
}), i));
|
3911
|
-
}, kl =
|
3918
|
+
}, kl = Ol, Wl = ["innerRef", "isDisabled", "isHidden", "inputClassName"], Nl = function(t, r) {
|
3912
3919
|
var i = t.isDisabled, n = t.value, a = t.theme, s = a.spacing, o = a.colors;
|
3913
3920
|
return V(V({
|
3914
3921
|
visibility: i ? "hidden" : "visible",
|
@@ -3921,7 +3928,7 @@ var ml = process.env.NODE_ENV === "production" ? {
|
|
3921
3928
|
paddingTop: s.baseUnit / 2,
|
3922
3929
|
color: o.neutral80
|
3923
3930
|
});
|
3924
|
-
},
|
3931
|
+
}, Oi = {
|
3925
3932
|
gridArea: "1 / 2",
|
3926
3933
|
font: "inherit",
|
3927
3934
|
minWidth: "2px",
|
@@ -3938,7 +3945,7 @@ var ml = process.env.NODE_ENV === "production" ? {
|
|
3938
3945
|
content: 'attr(data-value) " "',
|
3939
3946
|
visibility: "hidden",
|
3940
3947
|
whiteSpace: "pre"
|
3941
|
-
},
|
3948
|
+
}, Oi)
|
3942
3949
|
}, Ml = function(t) {
|
3943
3950
|
return V({
|
3944
3951
|
label: "input",
|
@@ -3946,7 +3953,7 @@ var ml = process.env.NODE_ENV === "production" ? {
|
|
3946
3953
|
background: 0,
|
3947
3954
|
opacity: t ? 0 : 1,
|
3948
3955
|
width: "100%"
|
3949
|
-
},
|
3956
|
+
}, Oi);
|
3950
3957
|
}, Xl = function(t) {
|
3951
3958
|
var r = t.cx, i = t.value, n = wi(t), a = n.innerRef, s = n.isDisabled, o = n.isHidden, u = n.inputClassName, c = Me(n, Wl);
|
3952
3959
|
return M("div", N({}, pe(t, "input", {
|
@@ -4000,10 +4007,10 @@ var ml = process.env.NODE_ENV === "production" ? {
|
|
4000
4007
|
color: s.danger
|
4001
4008
|
}
|
4002
4009
|
});
|
4003
|
-
},
|
4010
|
+
}, Pi = function(t) {
|
4004
4011
|
var r = t.children, i = t.innerProps;
|
4005
4012
|
return M("div", i, r);
|
4006
|
-
}, Yl =
|
4013
|
+
}, Yl = Pi, zl = Pi;
|
4007
4014
|
function Jl(e) {
|
4008
4015
|
var t = e.children, r = e.innerProps;
|
4009
4016
|
return M("div", N({
|
@@ -4232,7 +4239,7 @@ var ld = process.env.NODE_ENV === "production" ? {
|
|
4232
4239
|
if (r && T.onChange) {
|
4233
4240
|
var te = r.option, oe = r.options, de = r.removedValue, fe = r.removedValues, Ie = r.value, A = function(D) {
|
4234
4241
|
return Array.isArray(D) ? null : D;
|
4235
|
-
}, R = de || te || A(Ie), F = R ? d(R) : "",
|
4242
|
+
}, R = de || te || A(Ie), F = R ? d(R) : "", P = oe || fe || void 0, W = P ? P.map(d) : [], Z = V({
|
4236
4243
|
// multiSelected items are usually items that have already been selected
|
4237
4244
|
// or set by the user as a default value so we assume they are not disabled
|
4238
4245
|
isDisabled: R && h(R, o),
|
@@ -4242,7 +4249,7 @@ var ld = process.env.NODE_ENV === "production" ? {
|
|
4242
4249
|
z = T.onChange(Z);
|
4243
4250
|
}
|
4244
4251
|
return z;
|
4245
|
-
}, [r, T, h, o, d]),
|
4252
|
+
}, [r, T, h, o, d]), O = tt(function() {
|
4246
4253
|
var z = "", te = i || n, oe = !!(i && o && o.includes(i));
|
4247
4254
|
if (te && T.onFocus) {
|
4248
4255
|
var de = {
|
@@ -4283,7 +4290,7 @@ var ld = process.env.NODE_ENV === "production" ? {
|
|
4283
4290
|
});
|
4284
4291
|
}
|
4285
4292
|
return z;
|
4286
|
-
}, [C, i, n, g, h, b, I, T, o, w]), H = "".concat(
|
4293
|
+
}, [C, i, n, g, h, b, I, T, o, w]), H = "".concat(O, " ").concat(K, " ").concat(X), q = M(Wn, null, M("span", {
|
4287
4294
|
id: "aria-selection"
|
4288
4295
|
}, E), M("span", {
|
4289
4296
|
id: "aria-context"
|
@@ -4608,8 +4615,8 @@ var Cd = function(t) {
|
|
4608
4615
|
function xd(e) {
|
4609
4616
|
var t = e.isEnabled, r = e.onBottomArrive, i = e.onBottomLeave, n = e.onTopArrive, a = e.onTopLeave, s = Ve(!1), o = Ve(!1), u = Ve(0), c = Ve(null), l = Ce(function(I, v) {
|
4610
4617
|
if (c.current !== null) {
|
4611
|
-
var x = c.current, w = x.scrollTop, C = x.scrollHeight, y = x.clientHeight, T = c.current, E = v > 0,
|
4612
|
-
|
4618
|
+
var x = c.current, w = x.scrollTop, C = x.scrollHeight, y = x.clientHeight, T = c.current, E = v > 0, O = C - y - w, K = !1;
|
4619
|
+
O > v && s.current && (i && i(I), s.current = !1), E && o.current && (a && a(I), o.current = !1), E && v > O ? (r && !s.current && r(I), T.scrollTop = C, K = !0, s.current = !0) : !E && -v > w && (n && !o.current && n(I), T.scrollTop = 0, K = !0, o.current = !0), K && Cd(I);
|
4613
4620
|
}
|
4614
4621
|
}, [r, i, n, a]), d = Ce(function(I) {
|
4615
4622
|
l(I, I.deltaY);
|
@@ -4755,9 +4762,9 @@ var Bd = process.env.NODE_ENV === "production" ? {
|
|
4755
4762
|
onChange: function() {
|
4756
4763
|
}
|
4757
4764
|
});
|
4758
|
-
}, Fd = Gd,
|
4765
|
+
}, Fd = Gd, Od = function(t) {
|
4759
4766
|
return t.label;
|
4760
|
-
},
|
4767
|
+
}, Pd = function(t) {
|
4761
4768
|
return t.label;
|
4762
4769
|
}, Vd = function(t) {
|
4763
4770
|
return t.value;
|
@@ -4769,7 +4776,7 @@ var Bd = process.env.NODE_ENV === "production" ? {
|
|
4769
4776
|
control: Tl,
|
4770
4777
|
dropdownIndicator: vl,
|
4771
4778
|
group: Fl,
|
4772
|
-
groupHeading:
|
4779
|
+
groupHeading: Pl,
|
4773
4780
|
indicatorsContainer: fl,
|
4774
4781
|
indicatorSeparator: xl,
|
4775
4782
|
input: Nl,
|
@@ -4824,8 +4831,8 @@ var Bd = process.env.NODE_ENV === "production" ? {
|
|
4824
4831
|
controlShouldRenderValue: !0,
|
4825
4832
|
escapeClearsValue: !1,
|
4826
4833
|
filterOption: vd(),
|
4827
|
-
formatGroupLabel:
|
4828
|
-
getOptionLabel:
|
4834
|
+
formatGroupLabel: Od,
|
4835
|
+
getOptionLabel: Pd,
|
4829
4836
|
getOptionValue: Vd,
|
4830
4837
|
isDisabled: !1,
|
4831
4838
|
isLoading: !1,
|
@@ -5523,8 +5530,8 @@ var Hi = function(t) {
|
|
5523
5530
|
}
|
5524
5531
|
}), x);
|
5525
5532
|
if (I)
|
5526
|
-
return C.map(function(
|
5527
|
-
var X =
|
5533
|
+
return C.map(function(O, K) {
|
5534
|
+
var X = O === y, H = "".concat(n.getOptionLabel(O), "-").concat(n.getOptionValue(O));
|
5528
5535
|
return /* @__PURE__ */ J.createElement(s, N({}, p, {
|
5529
5536
|
components: {
|
5530
5537
|
Container: o,
|
@@ -5537,17 +5544,17 @@ var Hi = function(t) {
|
|
5537
5544
|
index: K,
|
5538
5545
|
removeProps: {
|
5539
5546
|
onClick: function() {
|
5540
|
-
return n.removeValue(
|
5547
|
+
return n.removeValue(O);
|
5541
5548
|
},
|
5542
5549
|
onTouchEnd: function() {
|
5543
|
-
return n.removeValue(
|
5550
|
+
return n.removeValue(O);
|
5544
5551
|
},
|
5545
5552
|
onMouseDown: function($) {
|
5546
5553
|
$.preventDefault();
|
5547
5554
|
}
|
5548
5555
|
},
|
5549
|
-
data:
|
5550
|
-
}), n.formatOptionLabel(
|
5556
|
+
data: O
|
5557
|
+
}), n.formatOptionLabel(O, "value"));
|
5551
5558
|
});
|
5552
5559
|
if (v)
|
5553
5560
|
return null;
|
@@ -5617,15 +5624,15 @@ var Hi = function(t) {
|
|
5617
5624
|
}, {
|
5618
5625
|
key: "renderMenu",
|
5619
5626
|
value: function() {
|
5620
|
-
var n = this, a = this.getComponents(), s = a.Group, o = a.GroupHeading, u = a.Menu, c = a.MenuList, l = a.MenuPortal, d = a.LoadingMessage, p = a.NoOptionsMessage, g = a.Option, h = this.commonProps, b = this.state.focusedOption, I = this.props, v = I.captureMenuScroll, x = I.inputValue, w = I.isLoading, C = I.loadingMessage, y = I.minMenuHeight, T = I.maxMenuHeight, E = I.menuIsOpen,
|
5627
|
+
var n = this, a = this.getComponents(), s = a.Group, o = a.GroupHeading, u = a.Menu, c = a.MenuList, l = a.MenuPortal, d = a.LoadingMessage, p = a.NoOptionsMessage, g = a.Option, h = this.commonProps, b = this.state.focusedOption, I = this.props, v = I.captureMenuScroll, x = I.inputValue, w = I.isLoading, C = I.loadingMessage, y = I.minMenuHeight, T = I.maxMenuHeight, E = I.menuIsOpen, O = I.menuPlacement, K = I.menuPosition, X = I.menuPortalTarget, H = I.menuShouldBlockScroll, q = I.menuShouldScrollIntoView, $ = I.noOptionsMessage, z = I.onMenuScrollToTop, te = I.onMenuScrollToBottom;
|
5621
5628
|
if (!E) return null;
|
5622
|
-
var oe = function(
|
5623
|
-
var Z =
|
5629
|
+
var oe = function(P, W) {
|
5630
|
+
var Z = P.type, k = P.data, D = P.isDisabled, j = P.isSelected, U = P.label, _ = P.value, ge = b === k, B = D ? void 0 : function() {
|
5624
5631
|
return n.onOptionHover(k);
|
5625
5632
|
}, xe = D ? void 0 : function() {
|
5626
5633
|
return n.selectOption(k);
|
5627
|
-
},
|
5628
|
-
id:
|
5634
|
+
}, Oe = "".concat(n.getElementId("option"), "-").concat(W), Be = {
|
5635
|
+
id: Oe,
|
5629
5636
|
onClick: xe,
|
5630
5637
|
onMouseMove: B,
|
5631
5638
|
onMouseOver: B,
|
@@ -5636,21 +5643,21 @@ var Hi = function(t) {
|
|
5636
5643
|
data: k,
|
5637
5644
|
isDisabled: D,
|
5638
5645
|
isSelected: j,
|
5639
|
-
key:
|
5646
|
+
key: Oe,
|
5640
5647
|
label: U,
|
5641
5648
|
type: Z,
|
5642
5649
|
value: _,
|
5643
5650
|
isFocused: ge,
|
5644
5651
|
innerRef: ge ? n.getFocusedOptionRef : void 0
|
5645
|
-
}), n.formatOptionLabel(
|
5652
|
+
}), n.formatOptionLabel(P.data, "menu"));
|
5646
5653
|
}, de;
|
5647
5654
|
if (this.hasOptions())
|
5648
5655
|
de = this.getCategorizedOptions().map(function(F) {
|
5649
5656
|
if (F.type === "group") {
|
5650
|
-
var
|
5657
|
+
var P = F.data, W = F.options, Z = F.index, k = "".concat(n.getElementId("group"), "-").concat(Z), D = "".concat(k, "-heading");
|
5651
5658
|
return /* @__PURE__ */ J.createElement(s, N({}, h, {
|
5652
5659
|
key: k,
|
5653
|
-
data:
|
5660
|
+
data: P,
|
5654
5661
|
options: W,
|
5655
5662
|
Heading: o,
|
5656
5663
|
headingProps: {
|
@@ -5680,13 +5687,13 @@ var Hi = function(t) {
|
|
5680
5687
|
var A = {
|
5681
5688
|
minMenuHeight: y,
|
5682
5689
|
maxMenuHeight: T,
|
5683
|
-
menuPlacement:
|
5690
|
+
menuPlacement: O,
|
5684
5691
|
menuPosition: K,
|
5685
5692
|
menuShouldScrollIntoView: q
|
5686
5693
|
}, R = /* @__PURE__ */ J.createElement(Qc, N({}, h, A), function(F) {
|
5687
|
-
var
|
5694
|
+
var P = F.ref, W = F.placerProps, Z = W.placement, k = W.maxHeight;
|
5688
5695
|
return /* @__PURE__ */ J.createElement(u, N({}, h, A, {
|
5689
|
-
innerRef:
|
5696
|
+
innerRef: P,
|
5690
5697
|
innerProps: {
|
5691
5698
|
onMouseDown: n.onMenuMouseDown,
|
5692
5699
|
onMouseMove: n.onMenuMouseMove,
|
@@ -5713,7 +5720,7 @@ var Hi = function(t) {
|
|
5713
5720
|
return X || K === "fixed" ? /* @__PURE__ */ J.createElement(l, N({}, h, {
|
5714
5721
|
appendTo: X,
|
5715
5722
|
controlElement: this.controlRef,
|
5716
|
-
menuPlacement:
|
5723
|
+
menuPlacement: O,
|
5717
5724
|
menuPosition: K
|
5718
5725
|
}), R) : R;
|
5719
5726
|
}
|
@@ -5818,15 +5825,15 @@ var Hi = function(t) {
|
|
5818
5825
|
var T = u != null && n !== s ? {
|
5819
5826
|
inputIsHidden: u,
|
5820
5827
|
inputIsHiddenAfterUpdate: void 0
|
5821
|
-
} : {}, E = c,
|
5822
|
-
return l && !
|
5828
|
+
} : {}, E = c, O = l && d;
|
5829
|
+
return l && !O && (E = {
|
5823
5830
|
value: Ft(I, v, v[0] || null),
|
5824
5831
|
options: v,
|
5825
5832
|
action: "initial-input-focus"
|
5826
|
-
},
|
5833
|
+
}, O = !d), c?.action === "initial-input-focus" && (E = null), V(V(V({}, x), T), {}, {
|
5827
5834
|
prevProps: n,
|
5828
5835
|
ariaSelection: E,
|
5829
|
-
prevWasFocused:
|
5836
|
+
prevWasFocused: O
|
5830
5837
|
});
|
5831
5838
|
}
|
5832
5839
|
}]), r;
|
@@ -5834,7 +5841,7 @@ var Hi = function(t) {
|
|
5834
5841
|
dr.defaultProps = Ld;
|
5835
5842
|
var Jd = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
|
5836
5843
|
function ji(e) {
|
5837
|
-
var t = e.defaultInputValue, r = t === void 0 ? "" : t, i = e.defaultMenuIsOpen, n = i === void 0 ? !1 : i, a = e.defaultValue, s = a === void 0 ? null : a, o = e.inputValue, u = e.menuIsOpen, c = e.onChange, l = e.onInputChange, d = e.onMenuClose, p = e.onMenuOpen, g = e.value, h = Me(e, Jd), b = Ae(o !== void 0 ? o : r), I = me(b, 2), v = I[0], x = I[1], w = Ae(u !== void 0 ? u : n), C = me(w, 2), y = C[0], T = C[1], E = Ae(g !== void 0 ? g : s),
|
5844
|
+
var t = e.defaultInputValue, r = t === void 0 ? "" : t, i = e.defaultMenuIsOpen, n = i === void 0 ? !1 : i, a = e.defaultValue, s = a === void 0 ? null : a, o = e.inputValue, u = e.menuIsOpen, c = e.onChange, l = e.onInputChange, d = e.onMenuClose, p = e.onMenuOpen, g = e.value, h = Me(e, Jd), b = Ae(o !== void 0 ? o : r), I = me(b, 2), v = I[0], x = I[1], w = Ae(u !== void 0 ? u : n), C = me(w, 2), y = C[0], T = C[1], E = Ae(g !== void 0 ? g : s), O = me(E, 2), K = O[0], X = O[1], H = Ce(function(fe, Ie) {
|
5838
5845
|
typeof c == "function" && c(fe, Ie), X(fe);
|
5839
5846
|
}, [c]), q = Ce(function(fe, Ie) {
|
5840
5847
|
var A;
|
@@ -5858,17 +5865,17 @@ var _d = ["defaultOptions", "cacheOptions", "loadOptions", "options", "isLoading
|
|
5858
5865
|
function Ud(e) {
|
5859
5866
|
var t = e.defaultOptions, r = t === void 0 ? !1 : t, i = e.cacheOptions, n = i === void 0 ? !1 : i, a = e.loadOptions;
|
5860
5867
|
e.options;
|
5861
|
-
var s = e.isLoading, o = s === void 0 ? !1 : s, u = e.onInputChange, c = e.filterOption, l = c === void 0 ? null : c, d = Me(e, _d), p = d.inputValue, g = Ve(void 0), h = Ve(!1), b = Ae(Array.isArray(r) ? r : void 0), I = me(b, 2), v = I[0], x = I[1], w = Ae(typeof p < "u" ? p : ""), C = me(w, 2), y = C[0], T = C[1], E = Ae(r === !0),
|
5862
|
-
n !== xe && (k({}),
|
5868
|
+
var s = e.isLoading, o = s === void 0 ? !1 : s, u = e.onInputChange, c = e.filterOption, l = c === void 0 ? null : c, d = Me(e, _d), p = d.inputValue, g = Ve(void 0), h = Ve(!1), b = Ae(Array.isArray(r) ? r : void 0), I = me(b, 2), v = I[0], x = I[1], w = Ae(typeof p < "u" ? p : ""), C = me(w, 2), y = C[0], T = C[1], E = Ae(r === !0), O = me(E, 2), K = O[0], X = O[1], H = Ae(void 0), q = me(H, 2), $ = q[0], z = q[1], te = Ae([]), oe = me(te, 2), de = oe[0], fe = oe[1], Ie = Ae(!1), A = me(Ie, 2), R = A[0], F = A[1], P = Ae({}), W = me(P, 2), Z = W[0], k = W[1], D = Ae(void 0), j = me(D, 2), U = j[0], _ = j[1], ge = Ae(void 0), B = me(ge, 2), xe = B[0], Oe = B[1];
|
5869
|
+
n !== xe && (k({}), Oe(n)), r !== U && (x(Array.isArray(r) ? r : void 0), _(r)), Zt(function() {
|
5863
5870
|
return h.current = !0, function() {
|
5864
5871
|
h.current = !1;
|
5865
5872
|
};
|
5866
5873
|
}, []);
|
5867
|
-
var Be = Ce(function(Le,
|
5868
|
-
if (!a) return
|
5869
|
-
var Ee = a(Le,
|
5870
|
-
Ee && typeof Ee.then == "function" && Ee.then(
|
5871
|
-
return
|
5874
|
+
var Be = Ce(function(Le, Pe) {
|
5875
|
+
if (!a) return Pe();
|
5876
|
+
var Ee = a(Le, Pe);
|
5877
|
+
Ee && typeof Ee.then == "function" && Ee.then(Pe, function() {
|
5878
|
+
return Pe();
|
5872
5879
|
});
|
5873
5880
|
}, [a]);
|
5874
5881
|
Zt(function() {
|
@@ -5876,8 +5883,8 @@ function Ud(e) {
|
|
5876
5883
|
h.current && (x(Le || []), X(!!g.current));
|
5877
5884
|
});
|
5878
5885
|
}, []);
|
5879
|
-
var He = Ce(function(Le,
|
5880
|
-
var Ee = kc(Le,
|
5886
|
+
var He = Ce(function(Le, Pe) {
|
5887
|
+
var Ee = kc(Le, Pe, u);
|
5881
5888
|
if (!Ee) {
|
5882
5889
|
g.current = void 0, T(""), z(""), fe([]), X(!1), F(!1);
|
5883
5890
|
return;
|
@@ -5948,7 +5955,7 @@ function qd() {
|
|
5948
5955
|
}
|
5949
5956
|
var ef = qd();
|
5950
5957
|
const $e = /* @__PURE__ */ Qt(ef);
|
5951
|
-
var
|
5958
|
+
var Ot = { exports: {} };
|
5952
5959
|
/*
|
5953
5960
|
object-assign
|
5954
5961
|
(c) Sindre Sorhus
|
@@ -6099,7 +6106,7 @@ function rf() {
|
|
6099
6106
|
elementType: y(),
|
6100
6107
|
instanceOf: T,
|
6101
6108
|
node: X(),
|
6102
|
-
objectOf:
|
6109
|
+
objectOf: O,
|
6103
6110
|
oneOf: E,
|
6104
6111
|
oneOfType: K,
|
6105
6112
|
shape: q,
|
@@ -6115,7 +6122,7 @@ function rf() {
|
|
6115
6122
|
function I(A) {
|
6116
6123
|
if (process.env.NODE_ENV !== "production")
|
6117
6124
|
var R = {}, F = 0;
|
6118
|
-
function
|
6125
|
+
function P(Z, k, D, j, U, _, ge) {
|
6119
6126
|
if (j = j || p, _ = _ || D, ge !== r) {
|
6120
6127
|
if (u) {
|
6121
6128
|
var B = new Error(
|
@@ -6132,12 +6139,12 @@ function rf() {
|
|
6132
6139
|
}
|
6133
6140
|
return k[D] == null ? Z ? k[D] === null ? new b("The " + U + " `" + _ + "` is marked as required " + ("in `" + j + "`, but its value is `null`.")) : new b("The " + U + " `" + _ + "` is marked as required in " + ("`" + j + "`, but its value is `undefined`.")) : null : A(k, D, j, U, _);
|
6134
6141
|
}
|
6135
|
-
var W =
|
6136
|
-
return W.isRequired =
|
6142
|
+
var W = P.bind(null, !1);
|
6143
|
+
return W.isRequired = P.bind(null, !0), W;
|
6137
6144
|
}
|
6138
6145
|
function v(A) {
|
6139
|
-
function R(F,
|
6140
|
-
var j = F[
|
6146
|
+
function R(F, P, W, Z, k, D) {
|
6147
|
+
var j = F[P], U = oe(j);
|
6141
6148
|
if (U !== A) {
|
6142
6149
|
var _ = de(j);
|
6143
6150
|
return new b(
|
@@ -6153,10 +6160,10 @@ function rf() {
|
|
6153
6160
|
return I(s);
|
6154
6161
|
}
|
6155
6162
|
function w(A) {
|
6156
|
-
function R(F,
|
6163
|
+
function R(F, P, W, Z, k) {
|
6157
6164
|
if (typeof A != "function")
|
6158
6165
|
return new b("Property `" + k + "` of component `" + W + "` has invalid PropType notation inside arrayOf.");
|
6159
|
-
var D = F[
|
6166
|
+
var D = F[P];
|
6160
6167
|
if (!Array.isArray(D)) {
|
6161
6168
|
var j = oe(D);
|
6162
6169
|
return new b("Invalid " + Z + " `" + k + "` of type " + ("`" + j + "` supplied to `" + W + "`, expected an array."));
|
@@ -6171,31 +6178,31 @@ function rf() {
|
|
6171
6178
|
return I(R);
|
6172
6179
|
}
|
6173
6180
|
function C() {
|
6174
|
-
function A(R, F,
|
6181
|
+
function A(R, F, P, W, Z) {
|
6175
6182
|
var k = R[F];
|
6176
6183
|
if (!o(k)) {
|
6177
6184
|
var D = oe(k);
|
6178
|
-
return new b("Invalid " + W + " `" + Z + "` of type " + ("`" + D + "` supplied to `" +
|
6185
|
+
return new b("Invalid " + W + " `" + Z + "` of type " + ("`" + D + "` supplied to `" + P + "`, expected a single ReactElement."));
|
6179
6186
|
}
|
6180
6187
|
return null;
|
6181
6188
|
}
|
6182
6189
|
return I(A);
|
6183
6190
|
}
|
6184
6191
|
function y() {
|
6185
|
-
function A(R, F,
|
6192
|
+
function A(R, F, P, W, Z) {
|
6186
6193
|
var k = R[F];
|
6187
6194
|
if (!e.isValidElementType(k)) {
|
6188
6195
|
var D = oe(k);
|
6189
|
-
return new b("Invalid " + W + " `" + Z + "` of type " + ("`" + D + "` supplied to `" +
|
6196
|
+
return new b("Invalid " + W + " `" + Z + "` of type " + ("`" + D + "` supplied to `" + P + "`, expected a single ReactElement type."));
|
6190
6197
|
}
|
6191
6198
|
return null;
|
6192
6199
|
}
|
6193
6200
|
return I(A);
|
6194
6201
|
}
|
6195
6202
|
function T(A) {
|
6196
|
-
function R(F,
|
6197
|
-
if (!(F[
|
6198
|
-
var D = A.name || p, j = Ie(F[
|
6203
|
+
function R(F, P, W, Z, k) {
|
6204
|
+
if (!(F[P] instanceof A)) {
|
6205
|
+
var D = A.name || p, j = Ie(F[P]);
|
6199
6206
|
return new b("Invalid " + Z + " `" + k + "` of type " + ("`" + j + "` supplied to `" + W + "`, expected ") + ("instance of `" + D + "`."));
|
6200
6207
|
}
|
6201
6208
|
return null;
|
@@ -6207,8 +6214,8 @@ function rf() {
|
|
6207
6214
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
|
6208
6215
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
6209
6216
|
) : a("Invalid argument supplied to oneOf, expected an array.")), s;
|
6210
|
-
function R(F,
|
6211
|
-
for (var D = F[
|
6217
|
+
function R(F, P, W, Z, k) {
|
6218
|
+
for (var D = F[P], j = 0; j < A.length; j++)
|
6212
6219
|
if (h(D, A[j]))
|
6213
6220
|
return null;
|
6214
6221
|
var U = JSON.stringify(A, function(ge, B) {
|
@@ -6219,11 +6226,11 @@ function rf() {
|
|
6219
6226
|
}
|
6220
6227
|
return I(R);
|
6221
6228
|
}
|
6222
|
-
function
|
6223
|
-
function R(F,
|
6229
|
+
function O(A) {
|
6230
|
+
function R(F, P, W, Z, k) {
|
6224
6231
|
if (typeof A != "function")
|
6225
6232
|
return new b("Property `" + k + "` of component `" + W + "` has invalid PropType notation inside objectOf.");
|
6226
|
-
var D = F[
|
6233
|
+
var D = F[P], j = oe(D);
|
6227
6234
|
if (j !== "object")
|
6228
6235
|
return new b("Invalid " + Z + " `" + k + "` of type " + ("`" + j + "` supplied to `" + W + "`, expected an object."));
|
6229
6236
|
for (var U in D)
|
@@ -6246,7 +6253,7 @@ function rf() {
|
|
6246
6253
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + fe(F) + " at index " + R + "."
|
6247
6254
|
), s;
|
6248
6255
|
}
|
6249
|
-
function
|
6256
|
+
function P(W, Z, k, D, j) {
|
6250
6257
|
for (var U = [], _ = 0; _ < A.length; _++) {
|
6251
6258
|
var ge = A[_], B = ge(W, Z, k, D, j, r);
|
6252
6259
|
if (B == null)
|
@@ -6256,22 +6263,22 @@ function rf() {
|
|
6256
6263
|
var xe = U.length > 0 ? ", expected one of type [" + U.join(", ") + "]" : "";
|
6257
6264
|
return new b("Invalid " + D + " `" + j + "` supplied to " + ("`" + k + "`" + xe + "."));
|
6258
6265
|
}
|
6259
|
-
return I(
|
6266
|
+
return I(P);
|
6260
6267
|
}
|
6261
6268
|
function X() {
|
6262
|
-
function A(R, F,
|
6263
|
-
return z(R[F]) ? null : new b("Invalid " + W + " `" + Z + "` supplied to " + ("`" +
|
6269
|
+
function A(R, F, P, W, Z) {
|
6270
|
+
return z(R[F]) ? null : new b("Invalid " + W + " `" + Z + "` supplied to " + ("`" + P + "`, expected a ReactNode."));
|
6264
6271
|
}
|
6265
6272
|
return I(A);
|
6266
6273
|
}
|
6267
|
-
function H(A, R, F,
|
6274
|
+
function H(A, R, F, P, W) {
|
6268
6275
|
return new b(
|
6269
|
-
(A || "React class") + ": " + R + " type `" + F + "." +
|
6276
|
+
(A || "React class") + ": " + R + " type `" + F + "." + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + W + "`."
|
6270
6277
|
);
|
6271
6278
|
}
|
6272
6279
|
function q(A) {
|
6273
|
-
function R(F,
|
6274
|
-
var D = F[
|
6280
|
+
function R(F, P, W, Z, k) {
|
6281
|
+
var D = F[P], j = oe(D);
|
6275
6282
|
if (j !== "object")
|
6276
6283
|
return new b("Invalid " + Z + " `" + k + "` of type `" + j + "` " + ("supplied to `" + W + "`, expected `object`."));
|
6277
6284
|
for (var U in A) {
|
@@ -6287,18 +6294,18 @@ function rf() {
|
|
6287
6294
|
return I(R);
|
6288
6295
|
}
|
6289
6296
|
function $(A) {
|
6290
|
-
function R(F,
|
6291
|
-
var D = F[
|
6297
|
+
function R(F, P, W, Z, k) {
|
6298
|
+
var D = F[P], j = oe(D);
|
6292
6299
|
if (j !== "object")
|
6293
6300
|
return new b("Invalid " + Z + " `" + k + "` of type `" + j + "` " + ("supplied to `" + W + "`, expected `object`."));
|
6294
|
-
var U = t({}, F[
|
6301
|
+
var U = t({}, F[P], A);
|
6295
6302
|
for (var _ in U) {
|
6296
6303
|
var ge = A[_];
|
6297
6304
|
if (i(A, _) && typeof ge != "function")
|
6298
6305
|
return H(W, Z, k, _, de(ge));
|
6299
6306
|
if (!ge)
|
6300
6307
|
return new b(
|
6301
|
-
"Invalid " + Z + " `" + k + "` key `" + _ + "` supplied to `" + W + "`.\nBad object: " + JSON.stringify(F[
|
6308
|
+
"Invalid " + Z + " `" + k + "` key `" + _ + "` supplied to `" + W + "`.\nBad object: " + JSON.stringify(F[P], null, " ") + `
|
6302
6309
|
Valid keys: ` + JSON.stringify(Object.keys(A), null, " ")
|
6303
6310
|
);
|
6304
6311
|
var B = ge(D, _, W, Z, k + "." + _, r);
|
@@ -6324,14 +6331,14 @@ Valid keys: ` + JSON.stringify(Object.keys(A), null, " ")
|
|
6324
6331
|
return !0;
|
6325
6332
|
var R = d(A);
|
6326
6333
|
if (R) {
|
6327
|
-
var F = R.call(A),
|
6334
|
+
var F = R.call(A), P;
|
6328
6335
|
if (R !== A.entries) {
|
6329
|
-
for (; !(
|
6330
|
-
if (!z(
|
6336
|
+
for (; !(P = F.next()).done; )
|
6337
|
+
if (!z(P.value))
|
6331
6338
|
return !1;
|
6332
6339
|
} else
|
6333
|
-
for (; !(
|
6334
|
-
var W =
|
6340
|
+
for (; !(P = F.next()).done; ) {
|
6341
|
+
var W = P.value;
|
6335
6342
|
if (W && !z(W[1]))
|
6336
6343
|
return !1;
|
6337
6344
|
}
|
@@ -6429,15 +6436,15 @@ function of() {
|
|
6429
6436
|
return a.PropTypes = a, a;
|
6430
6437
|
}, Fn;
|
6431
6438
|
}
|
6432
|
-
var
|
6439
|
+
var Oo;
|
6433
6440
|
function af() {
|
6434
|
-
if (
|
6435
|
-
if (
|
6441
|
+
if (Oo) return Ot.exports;
|
6442
|
+
if (Oo = 1, process.env.NODE_ENV !== "production") {
|
6436
6443
|
var e = rr(), t = !0;
|
6437
|
-
|
6444
|
+
Ot.exports = /* @__PURE__ */ rf()(e.isElement, t);
|
6438
6445
|
} else
|
6439
|
-
|
6440
|
-
return
|
6446
|
+
Ot.exports = /* @__PURE__ */ of()();
|
6447
|
+
return Ot.exports;
|
6441
6448
|
}
|
6442
6449
|
var sf = /* @__PURE__ */ af();
|
6443
6450
|
const L = /* @__PURE__ */ Qt(sf);
|
@@ -6510,7 +6517,7 @@ var et = {
|
|
6510
6517
|
return t && t.length ? t[0].toUpperCase() + t.substr(1) : "";
|
6511
6518
|
}
|
6512
6519
|
}();
|
6513
|
-
function
|
6520
|
+
function Pt(e, t) {
|
6514
6521
|
Object.keys(t).forEach(function(r) {
|
6515
6522
|
e.style[r] = t[r];
|
6516
6523
|
});
|
@@ -6518,7 +6525,7 @@ function Ot(e, t) {
|
|
6518
6525
|
function Vt(e, t) {
|
6519
6526
|
e.style["".concat(_i, "Transform")] = t == null ? "" : "translate3d(".concat(t.x, "px,").concat(t.y, "px,0)");
|
6520
6527
|
}
|
6521
|
-
function
|
6528
|
+
function On(e, t) {
|
6522
6529
|
e.style["".concat(_i, "TransitionDuration")] = t == null ? "" : "".concat(t, "ms");
|
6523
6530
|
}
|
6524
6531
|
function bt(e, t) {
|
@@ -6529,7 +6536,7 @@ function bt(e, t) {
|
|
6529
6536
|
}
|
6530
6537
|
return null;
|
6531
6538
|
}
|
6532
|
-
function
|
6539
|
+
function Po(e, t, r) {
|
6533
6540
|
return Math.max(e, Math.min(r, t));
|
6534
6541
|
}
|
6535
6542
|
function nt(e) {
|
@@ -6548,7 +6555,7 @@ function pr(e, t) {
|
|
6548
6555
|
var r = t.displayName || t.name;
|
6549
6556
|
return r ? "".concat(e, "(").concat(r, ")") : e;
|
6550
6557
|
}
|
6551
|
-
function
|
6558
|
+
function Pn(e, t) {
|
6552
6559
|
var r = e.getBoundingClientRect();
|
6553
6560
|
return {
|
6554
6561
|
top: r.top + t.top,
|
@@ -6874,7 +6881,7 @@ function qi(e) {
|
|
6874
6881
|
}, o.initialWindowScroll = {
|
6875
6882
|
left: window.pageXOffset,
|
6876
6883
|
top: window.pageYOffset
|
6877
|
-
}, o.helper = o.helperContainer.appendChild(mf(y)),
|
6884
|
+
}, o.helper = o.helperContainer.appendChild(mf(y)), Pt(o.helper, {
|
6878
6885
|
boxSizing: "border-box",
|
6879
6886
|
height: "".concat(o.height, "px"),
|
6880
6887
|
left: "".concat(o.boundingClientRect.left - H.left, "px"),
|
@@ -6882,7 +6889,7 @@ function qi(e) {
|
|
6882
6889
|
position: "fixed",
|
6883
6890
|
top: "".concat(o.boundingClientRect.top - H.top, "px"),
|
6884
6891
|
width: "".concat(o.width, "px")
|
6885
|
-
}), E && o.helper.focus(), v && (o.sortableGhost = y,
|
6892
|
+
}), E && o.helper.focus(), v && (o.sortableGhost = y, Pt(y, {
|
6886
6893
|
opacity: 0,
|
6887
6894
|
visibility: "hidden"
|
6888
6895
|
})), o.minTranslate = {}, o.maxTranslate = {}, E) {
|
@@ -6912,7 +6919,7 @@ function qi(e) {
|
|
6912
6919
|
nodes: o.manager.getOrderedRefs(),
|
6913
6920
|
helper: o.helper
|
6914
6921
|
}, c), E && o.keyMove(0);
|
6915
|
-
}, g = o.props, h = g.axis, b = g.getHelperDimensions, I = g.helperClass, v = g.hideSortableGhost, x = g.updateBeforeSortStart, w = g.onSortStart, C = g.useWindowAsScrollContainer, y = l.node, T = l.collection, E = o.manager.isKeySorting,
|
6922
|
+
}, g = o.props, h = g.axis, b = g.getHelperDimensions, I = g.helperClass, v = g.hideSortableGhost, x = g.updateBeforeSortStart, w = g.onSortStart, C = g.useWindowAsScrollContainer, y = l.node, T = l.collection, E = o.manager.isKeySorting, O = function() {
|
6916
6923
|
if (typeof x == "function") {
|
6917
6924
|
o._awaitingUpdateBeforeSortStart = !0;
|
6918
6925
|
var K = Ef(function() {
|
@@ -6932,7 +6939,7 @@ function qi(e) {
|
|
6932
6939
|
});
|
6933
6940
|
}
|
6934
6941
|
}();
|
6935
|
-
return
|
6942
|
+
return O && O.then ? O.then(p) : p(O);
|
6936
6943
|
}
|
6937
6944
|
}();
|
6938
6945
|
return Promise.resolve(d && d.then ? d.then(function() {
|
@@ -6949,13 +6956,13 @@ function qi(e) {
|
|
6949
6956
|
return o.listenerNode.removeEventListener(y, o.handleSortMove);
|
6950
6957
|
}), et.end.forEach(function(y) {
|
6951
6958
|
return o.listenerNode.removeEventListener(y, o.handleSortEnd);
|
6952
|
-
}))), o.helper.parentNode.removeChild(o.helper), d && o.sortableGhost &&
|
6959
|
+
}))), o.helper.parentNode.removeChild(o.helper), d && o.sortableGhost && Pt(o.sortableGhost, {
|
6953
6960
|
opacity: "",
|
6954
6961
|
visibility: ""
|
6955
6962
|
});
|
6956
6963
|
for (var v = 0, x = I.length; v < x; v++) {
|
6957
6964
|
var w = I[v], C = w.node;
|
6958
|
-
w.edgeOffset = null, w.boundingClientRect = null, Vt(C, null),
|
6965
|
+
w.edgeOffset = null, w.boundingClientRect = null, Vt(C, null), On(C, null), w.translate = null;
|
6959
6966
|
}
|
6960
6967
|
o.autoScroller.clear(), o.manager.active = null, o.manager.isKeySorting = !1, o.setState({
|
6961
6968
|
sorting: !1,
|
@@ -7003,9 +7010,9 @@ function qi(e) {
|
|
7003
7010
|
if (!(p < 0 || p > d)) {
|
7004
7011
|
o.prevIndex = g, o.newIndex = p;
|
7005
7012
|
var h = pf(o.newIndex, o.prevIndex, o.index), b = l.find(function(E) {
|
7006
|
-
var
|
7007
|
-
return
|
7008
|
-
}), I = b.node, v = o.containerScrollDelta, x = b.boundingClientRect ||
|
7013
|
+
var O = E.node;
|
7014
|
+
return O.sortableInfo.index === h;
|
7015
|
+
}), I = b.node, v = o.containerScrollDelta, x = b.boundingClientRect || Pn(I, v), w = b.translate || {
|
7009
7016
|
x: 0,
|
7010
7017
|
y: 0
|
7011
7018
|
}, C = {
|
@@ -7079,13 +7086,13 @@ function qi(e) {
|
|
7079
7086
|
}), C = me(w, 2), y = C[0], T = C[1], E = {
|
7080
7087
|
x: this.width / 2 - y.x,
|
7081
7088
|
y: this.height / 2 - y.y
|
7082
|
-
},
|
7089
|
+
}, O = {
|
7083
7090
|
x: this.width / 2 - T.x,
|
7084
7091
|
y: this.height / 2 - T.y
|
7085
7092
|
};
|
7086
|
-
x.x =
|
7093
|
+
x.x = Po(this.minTranslate.x + E.x, this.maxTranslate.x - O.x, x.x), x.y = Po(this.minTranslate.y + E.y, this.maxTranslate.y - O.y, x.y);
|
7087
7094
|
}
|
7088
|
-
c === "x" ? x.y = 0 : c === "y" && (x.x = 0), b && h && !I &&
|
7095
|
+
c === "x" ? x.y = 0 : c === "y" && (x.x = 0), b && h && !I && On(this.helper, h), Vt(this.helper, x);
|
7089
7096
|
}
|
7090
7097
|
}, {
|
7091
7098
|
key: "animateNodes",
|
@@ -7099,20 +7106,20 @@ function qi(e) {
|
|
7099
7106
|
var w = g[v].node, C = w.sortableInfo.index, y = w.offsetWidth, T = w.offsetHeight, E = {
|
7100
7107
|
height: this.height > T ? T / 2 : this.height / 2,
|
7101
7108
|
width: this.width > y ? y / 2 : this.width / 2
|
7102
|
-
},
|
7109
|
+
}, O = b && C > this.index && C <= I, K = b && C < this.index && C >= I, X = {
|
7103
7110
|
x: 0,
|
7104
7111
|
y: 0
|
7105
7112
|
}, H = g[v].edgeOffset;
|
7106
|
-
H || (H = Xt(w, this.container), g[v].edgeOffset = H, b && (g[v].boundingClientRect =
|
7113
|
+
H || (H = Xt(w, this.container), g[v].edgeOffset = H, b && (g[v].boundingClientRect = Pn(w, d)));
|
7107
7114
|
var q = v < g.length - 1 && g[v + 1], $ = v > 0 && g[v - 1];
|
7108
|
-
if (q && !q.edgeOffset && (q.edgeOffset = Xt(q.node, this.container), b && (q.boundingClientRect =
|
7109
|
-
c && (this.sortableGhost = w,
|
7115
|
+
if (q && !q.edgeOffset && (q.edgeOffset = Xt(q.node, this.container), b && (q.boundingClientRect = Pn(q.node, d))), C === this.index) {
|
7116
|
+
c && (this.sortableGhost = w, Pt(w, {
|
7110
7117
|
opacity: 0,
|
7111
7118
|
visibility: "hidden"
|
7112
7119
|
}));
|
7113
7120
|
continue;
|
7114
7121
|
}
|
7115
|
-
u &&
|
7122
|
+
u && On(w, u), this.axis.x ? this.axis.y ? K || C < this.index && (h.left + p.left - E.width <= H.left && h.top + p.top <= H.top + E.height || h.top + p.top + E.height <= H.top) ? (X.x = this.width + this.marginOffset.x, H.left + X.x > this.containerBoundingRect.width - E.width && q && (X.x = q.edgeOffset.left - H.left, X.y = q.edgeOffset.top - H.top), this.newIndex === null && (this.newIndex = C)) : (O || C > this.index && (h.left + p.left + E.width >= H.left && h.top + p.top + E.height >= H.top || h.top + p.top + E.height >= H.top + T)) && (X.x = -(this.width + this.marginOffset.x), H.left + X.x < this.containerBoundingRect.left + E.width && $ && (X.x = $.edgeOffset.left - H.left, X.y = $.edgeOffset.top - H.top), this.newIndex = C) : O || C > this.index && h.left + p.left + E.width >= H.left ? (X.x = -(this.width + this.marginOffset.x), this.newIndex = C) : (K || C < this.index && h.left + p.left <= H.left + E.width) && (X.x = this.width + this.marginOffset.x, this.newIndex == null && (this.newIndex = C)) : this.axis.y && (O || C > this.index && h.top + p.top + E.height >= H.top ? (X.y = -(this.height + this.marginOffset.y), this.newIndex = C) : (K || C < this.index && h.top + p.top <= H.top + E.height) && (X.y = this.height + this.marginOffset.y, this.newIndex == null && (this.newIndex = C))), Vt(w, X), g[v].translate = X;
|
7116
7123
|
}
|
7117
7124
|
this.newIndex == null && (this.newIndex = this.index), b && (this.newIndex = I);
|
7118
7125
|
var z = b ? this.prevIndex : I;
|
@@ -7291,7 +7298,7 @@ const ta = Tf((e) => {
|
|
7291
7298
|
...e
|
7292
7299
|
}
|
7293
7300
|
);
|
7294
|
-
}, Bf = window.wp.element.createContext, Xe = window.wp.element.useCallback, Gf = window.wp.element.useContext, Ff = window.wp.element.useState,
|
7301
|
+
}, Bf = window.wp.element.createContext, Xe = window.wp.element.useCallback, Gf = window.wp.element.useContext, Ff = window.wp.element.useState, Of = window.wp.element.useEffect, zn = window.wp.element.useMemo, ct = window.wp.element.memo, yt = window.wp.components.__experimentalDivider, Pf = window.wp.components.RangeControl, Vf = window.wp.components.RadioControl, Wo = window.wp.components.SelectControl, kf = window.wp.data.useSelect, ra = Bf({}), Ct = ct(({
|
7295
7302
|
attributes: e,
|
7296
7303
|
setAttributes: t,
|
7297
7304
|
children: r
|
@@ -7389,7 +7396,7 @@ const ta = Tf((e) => {
|
|
7389
7396
|
render: a = null
|
7390
7397
|
}) => {
|
7391
7398
|
const { attributes: s, updateAttribute: o } = xt(), u = s[t] || [], c = Xe(async (h) => await Yr(h, r), []), [l, d] = Ff([]);
|
7392
|
-
|
7399
|
+
Of(() => {
|
7393
7400
|
Yr("", r).then(d);
|
7394
7401
|
}, []);
|
7395
7402
|
const p = Xe(({ oldIndex: h, newIndex: b }) => {
|
@@ -7445,7 +7452,7 @@ const ta = Tf((e) => {
|
|
7445
7452
|
attributeName: t
|
7446
7453
|
}) : /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
7447
7454
|
/* @__PURE__ */ m.jsx(
|
7448
|
-
|
7455
|
+
Pf,
|
7449
7456
|
{
|
7450
7457
|
label: r,
|
7451
7458
|
value: l,
|
@@ -7582,7 +7589,7 @@ const Zf = window.wp.components.RangeControl, Lf = window.wp.components.Tooltip,
|
|
7582
7589
|
onChange: l("margin", "top"),
|
7583
7590
|
disabled: r.top,
|
7584
7591
|
tooltip: n.top,
|
7585
|
-
afterIcon:
|
7592
|
+
afterIcon: Or,
|
7586
7593
|
withInputField: !1
|
7587
7594
|
}
|
7588
7595
|
),
|
@@ -7612,7 +7619,7 @@ const Zf = window.wp.components.RangeControl, Lf = window.wp.components.Tooltip,
|
|
7612
7619
|
onChange: l("padding", "top"),
|
7613
7620
|
disabled: i.top,
|
7614
7621
|
tooltip: a.top,
|
7615
|
-
afterIcon:
|
7622
|
+
afterIcon: Or,
|
7616
7623
|
withInputField: !1
|
7617
7624
|
}
|
7618
7625
|
),
|
@@ -7932,7 +7939,7 @@ export {
|
|
7932
7939
|
ni as MediaControl,
|
7933
7940
|
Qp as MediaTypeControl,
|
7934
7941
|
eg as MediaWithFocalPointControl,
|
7935
|
-
|
7942
|
+
Oa as PreviewControl,
|
7936
7943
|
Up as ResourcesWrapper,
|
7937
7944
|
_p as ResponsiveSpacingControl,
|
7938
7945
|
Jp as SortableSelect,
|
@@ -7942,11 +7949,11 @@ export {
|
|
7942
7949
|
zp as addInnerBlocksCleanupFilter,
|
7943
7950
|
js as cleanSvgString,
|
7944
7951
|
Bp as contentAttribute,
|
7945
|
-
|
7946
|
-
|
7952
|
+
Ps as curatedCategoriesAttribute,
|
7953
|
+
Os as curatedPostsAttribute,
|
7947
7954
|
Ys as decodeHtmlEntities,
|
7948
7955
|
Gp as getAnimationAttribute,
|
7949
|
-
|
7956
|
+
Op as getBaseBackgroundAttributes,
|
7950
7957
|
Fp as getDataQueryAttributes,
|
7951
7958
|
Zp as getFiltersByNamespace,
|
7952
7959
|
Yp as getFocalPointStyle,
|
@@ -7969,7 +7976,7 @@ export {
|
|
7969
7976
|
Dr as setRootBlockFilter,
|
7970
7977
|
Ep as setRootBlockForPostTypes,
|
7971
7978
|
Tp as showRootBlockForInlineInserter,
|
7972
|
-
|
7979
|
+
Pp as spacingAttribute,
|
7973
7980
|
Hp as unsetBlockForPostType,
|
7974
7981
|
Bs as unsetRootBlockAppender,
|
7975
7982
|
Mr as unsetRootBlockFilter,
|