@bluepic/embed 0.6.22 → 0.6.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bluepic-embed.iife.js +2 -2
- package/dist/bluepic-embed.umd.js +2 -2
- package/dist/main.cjs +2 -2
- package/dist/main.mjs +120 -112
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/main.mjs
CHANGED
|
@@ -53149,7 +53149,7 @@ var fA = class extends EventTarget {
|
|
|
53149
53149
|
return this.canvasBounds.width / this.canvasBounds.height;
|
|
53150
53150
|
}
|
|
53151
53151
|
get naturalScale() {
|
|
53152
|
-
return this.canvasNaturalRatio >= this.wrapperInnerRatio ? this.wrapperInnerWidth / this.canvasBounds.width : this.wrapperInnerHeight / this.canvasBounds.height;
|
|
53152
|
+
return !(this.canvasBounds.width > 0) || !(this.canvasBounds.height > 0) ? 1 : this.canvasNaturalRatio >= this.wrapperInnerRatio ? this.wrapperInnerWidth / this.canvasBounds.width : this.wrapperInnerHeight / this.canvasBounds.height;
|
|
53153
53153
|
}
|
|
53154
53154
|
setTranslateFromUserGesture(e, t) {
|
|
53155
53155
|
if (this.clampBounds) {
|
|
@@ -53380,12 +53380,12 @@ var fA = class extends EventTarget {
|
|
|
53380
53380
|
scale: o.value.scale,
|
|
53381
53381
|
rotate: o.value.rotate
|
|
53382
53382
|
};
|
|
53383
|
-
(e.translateX
|
|
53383
|
+
(!Object.is(e.translateX, r.transform.translateX) || !Object.is(e.translateY, r.transform.translateY) || !Object.is(e.scale, r.transform.scale) || !Object.is(e.rotate, r.transform.rotate)) && i("update:transform", e), c.value = (e, t) => o.value.composePoint(e, t), l.value = o.value.canvasBounds.width, u.value = o.value.canvasBounds.height;
|
|
53384
53384
|
}), o.value.addEventListener("init", () => {
|
|
53385
53385
|
s.value = !0;
|
|
53386
53386
|
}));
|
|
53387
53387
|
}), W(() => r.transform, () => {
|
|
53388
|
-
o.value && (o.value.translateX
|
|
53388
|
+
o.value && (!Object.is(o.value.translateX, r.transform.translateX) || !Object.is(o.value.translateY, r.transform.translateY) || !Object.is(o.value.scale, r.transform.scale) || !Object.is(o.value.rotate, r.transform.rotate)) && (o.value.translateX = r.transform.translateX, o.value.translateY = r.transform.translateY, o.value.scale = r.transform.scale, o.value.rotate = r.transform.rotate, o.value.update());
|
|
53389
53389
|
}, { deep: !0 }), W(() => r.offset, (e) => {
|
|
53390
53390
|
o.value && (o.value.offset = e, o.value.update());
|
|
53391
53391
|
}, { deep: !0 }), W(() => r.minScale, (e) => {
|
|
@@ -53454,14 +53454,13 @@ var fA = class extends EventTarget {
|
|
|
53454
53454
|
onMousedown: y,
|
|
53455
53455
|
onTouchstart: S
|
|
53456
53456
|
}, [m("div", pA, [V(e.$slots, "default", {}, void 0, !0)]), m("div", mA, [s.value && c.value ? V(e.$slots, "matrix", {
|
|
53457
|
-
key: 0,
|
|
53458
53457
|
composePoint: c.value,
|
|
53459
53458
|
normalizeClientCoords: T,
|
|
53460
53459
|
canvasWidth: l.value,
|
|
53461
53460
|
canvasHeight: u.value
|
|
53462
|
-
}, void 0, !0) : f("", !0)])], 544));
|
|
53461
|
+
}, void 0, !0, 0) : f("", !0)])], 544));
|
|
53463
53462
|
}
|
|
53464
|
-
}), [["__scopeId", "data-v-
|
|
53463
|
+
}), [["__scopeId", "data-v-5fc42614"]]), gA = /* @__PURE__ */ new Set();
|
|
53465
53464
|
requestAnimationFrame(function e() {
|
|
53466
53465
|
gA.forEach((e) => e()), requestAnimationFrame(e);
|
|
53467
53466
|
});
|
|
@@ -61025,112 +61024,121 @@ var JR = ["role", "aria-label"], YR = { class: "controls-layer" }, XR = {
|
|
|
61025
61024
|
],
|
|
61026
61025
|
setup(e, { expose: t, emit: n }) {
|
|
61027
61026
|
let r = e, i = n, o = l(() => r.fieldHitboxes ?? []), s = l(() => {
|
|
61028
|
-
if (
|
|
61027
|
+
if (y.value && O.value) return O.value.y * _.value.x + O.value.x + 1;
|
|
61029
61028
|
}), c = B({
|
|
61030
61029
|
translateX: 0,
|
|
61031
61030
|
translateY: 0,
|
|
61032
61031
|
scale: 1,
|
|
61033
61032
|
rotate: 0
|
|
61034
|
-
})
|
|
61033
|
+
});
|
|
61034
|
+
function u(e) {
|
|
61035
|
+
[
|
|
61036
|
+
e.translateX,
|
|
61037
|
+
e.translateY,
|
|
61038
|
+
e.scale,
|
|
61039
|
+
e.rotate
|
|
61040
|
+
].every(Number.isFinite) && (c.value = e);
|
|
61041
|
+
}
|
|
61042
|
+
let h = T("data"), g = B(), _ = l(() => r.serial?.frames ?? {
|
|
61035
61043
|
x: 1,
|
|
61036
61044
|
y: 1
|
|
61037
|
-
}),
|
|
61045
|
+
}), y = l(() => Object.values(_.value).reduce((e, t) => t * e, 1) > 1), b = B(), x = B(), { width: S, height: C } = io(x), { focusFrame: w, frameFocusScaleDiff: D, currentlyFocusedFrame: O, getFrameTransform: k, tiles: j } = qR(c, l(() => r.serial?.frames ?? {
|
|
61038
61046
|
x: 1,
|
|
61039
61047
|
y: 1
|
|
61040
|
-
}), l(() =>
|
|
61048
|
+
}), l(() => b.value?.canvasWidth ?? 0), l(() => b.value?.canvasHeight ?? 0), S, C), M = l(() => {
|
|
61041
61049
|
if (r.serial) return r.serial.width / r.serial.height;
|
|
61042
|
-
}), M = l(() => {
|
|
61043
|
-
if (y.value?.zoompinchEngine) return y.value.zoompinchEngine.wrapperBounds.width / y.value.zoompinchEngine.wrapperBounds.height;
|
|
61044
61050
|
}), N = l(() => {
|
|
61045
|
-
if (
|
|
61051
|
+
if (b.value?.zoompinchEngine) return b.value.zoompinchEngine.wrapperBounds.width / b.value.zoompinchEngine.wrapperBounds.height;
|
|
61052
|
+
}), P = l(() => {
|
|
61053
|
+
if (M.value && N.value) return M.value > N.value ? "width" : "height";
|
|
61046
61054
|
});
|
|
61047
61055
|
l(() => {
|
|
61048
|
-
if (
|
|
61056
|
+
if (b.value?.zoompinchEngine && M.value) return P.value === "height" ? 1 : b.value.zoompinchEngine.wrapperBounds.height / b.value.zoompinchEngine.wrapperBounds.width;
|
|
61049
61057
|
}), l(() => {
|
|
61050
|
-
if (
|
|
61058
|
+
if (b.value?.zoompinchEngine && M.value) return P.value === "width" ? 1 : b.value.zoompinchEngine.wrapperBounds.width / b.value.zoompinchEngine.wrapperBounds.height;
|
|
61051
61059
|
});
|
|
61052
|
-
let
|
|
61053
|
-
if (!
|
|
61054
|
-
let [e, t] =
|
|
61060
|
+
let F = l(() => {
|
|
61061
|
+
if (!b.value?.zoompinchEngine) return;
|
|
61062
|
+
let [e, t] = b.value.zoompinchEngine.calcProjectionTranslate(1, [.5, .5], [.5, .5]);
|
|
61055
61063
|
return c.value.scale !== 1 || c.value.translateX !== e || c.value.translateY !== t || c.value.rotate !== 0;
|
|
61056
|
-
}),
|
|
61057
|
-
|
|
61058
|
-
},
|
|
61059
|
-
function
|
|
61060
|
-
|
|
61064
|
+
}), I = () => {
|
|
61065
|
+
b.value?.applyTransform(1, [.5, .5], [.5, .5]);
|
|
61066
|
+
}, te;
|
|
61067
|
+
function R() {
|
|
61068
|
+
I(), requestAnimationFrame(I), clearTimeout(te), te = setTimeout(I, 160);
|
|
61061
61069
|
}
|
|
61062
|
-
ee(() => clearTimeout(
|
|
61063
|
-
!e &&
|
|
61070
|
+
ee(() => clearTimeout(te)), W(() => r.zoomAndPan, (e) => {
|
|
61071
|
+
!e && F.value && I();
|
|
61064
61072
|
});
|
|
61065
|
-
function R(e, t) {
|
|
61066
|
-
let n = D.value?.y ?? 0;
|
|
61067
|
-
C(e, n), t.stopPropagation();
|
|
61068
|
-
}
|
|
61069
61073
|
function ne(e, t) {
|
|
61070
|
-
let n =
|
|
61071
|
-
|
|
61074
|
+
let n = O.value?.y ?? 0;
|
|
61075
|
+
w(e, n), t.stopPropagation();
|
|
61076
|
+
}
|
|
61077
|
+
function V(e, t) {
|
|
61078
|
+
let n = O.value?.x ?? 0;
|
|
61079
|
+
w(n, e), t.stopPropagation();
|
|
61072
61080
|
}
|
|
61073
|
-
function
|
|
61081
|
+
function ie({ clientX: e, clientY: t }) {
|
|
61074
61082
|
if (r.editingElementId) return;
|
|
61075
|
-
let n =
|
|
61083
|
+
let n = b.value?.normalizeClientCoords(e, t);
|
|
61076
61084
|
if (!n) return console.error("no matrix coords. This should not happen");
|
|
61077
|
-
let i =
|
|
61078
|
-
if (
|
|
61079
|
-
let e =
|
|
61080
|
-
t && n && r ?
|
|
61081
|
-
} else
|
|
61082
|
-
}
|
|
61083
|
-
let
|
|
61084
|
-
|
|
61085
|
-
},
|
|
61085
|
+
let i = j.value.findIndex((e) => e.x <= n[0] && e.x + e.width >= n[0] && e.y <= n[1] && e.y + e.height >= n[1]), a = i % _.value.x, o = Math.floor(i / _.value.x);
|
|
61086
|
+
if (O.value) {
|
|
61087
|
+
let e = k(a, o), t = ja(e?.scale ?? 0, 6) === ja(c.value.scale, 6), n = ja(e?.x ?? 0, 6) === ja(c.value.translateX, 6), r = ja(e?.y ?? 0, 6) === ja(c.value.translateY, 6);
|
|
61088
|
+
t && n && r ? I() : (console.log(Math.min(Math.max(0, a), _.value.x - 1), Math.min(Math.max(0, o), _.value.y - 1)), w(Math.min(Math.max(0, a), _.value.x - 1), Math.min(Math.max(0, o), _.value.y - 1)));
|
|
61089
|
+
} else w(Math.min(Math.max(1, a), _.value.x), Math.min(Math.max(1, o), _.value.y));
|
|
61090
|
+
}
|
|
61091
|
+
let ae = B(), oe = B(0), se = (e) => {
|
|
61092
|
+
oe.value = Math.max(oe.value, e.touches.length);
|
|
61093
|
+
}, H = (e) => {
|
|
61086
61094
|
if (e.touches.length > 0) return;
|
|
61087
|
-
let t =
|
|
61088
|
-
if (
|
|
61089
|
-
|
|
61095
|
+
let t = oe.value > 1;
|
|
61096
|
+
if (oe.value = 0, t) {
|
|
61097
|
+
ae.value = void 0;
|
|
61090
61098
|
return;
|
|
61091
61099
|
}
|
|
61092
61100
|
let n = Date.now();
|
|
61093
|
-
if (
|
|
61094
|
-
|
|
61101
|
+
if (ae.value && n - ae.value < 300) {
|
|
61102
|
+
ie({
|
|
61095
61103
|
clientX: e.changedTouches[0].clientX,
|
|
61096
61104
|
clientY: e.changedTouches[0].clientY
|
|
61097
|
-
}),
|
|
61105
|
+
}), ae.value = void 0;
|
|
61098
61106
|
return;
|
|
61099
61107
|
}
|
|
61100
|
-
|
|
61101
|
-
},
|
|
61102
|
-
function
|
|
61103
|
-
|
|
61108
|
+
ae.value = n;
|
|
61109
|
+
}, ce, le;
|
|
61110
|
+
function ue() {
|
|
61111
|
+
ce = O.value?.x ?? 1, le = O.value?.y ?? 1;
|
|
61104
61112
|
}
|
|
61105
|
-
function
|
|
61106
|
-
if (
|
|
61107
|
-
let e =
|
|
61108
|
-
|
|
61113
|
+
function de(e) {
|
|
61114
|
+
if (y.value) {
|
|
61115
|
+
let e = O.value?.x, t = O.value?.y;
|
|
61116
|
+
w(e ?? ce, t ?? le);
|
|
61109
61117
|
}
|
|
61110
61118
|
}
|
|
61111
|
-
let
|
|
61112
|
-
console.log("INIT",
|
|
61119
|
+
let fe = () => {
|
|
61120
|
+
console.log("INIT", b.value?.zoompinchEngine?.canvasBounds), b.value?.applyTransform(1, [.5, .5], [.5, .5]);
|
|
61113
61121
|
};
|
|
61114
|
-
W([
|
|
61115
|
-
e && t && n && r &&
|
|
61122
|
+
W([S, C], ([e, t], [n, r]) => {
|
|
61123
|
+
e && t && n && r && R();
|
|
61116
61124
|
});
|
|
61117
|
-
let
|
|
61118
|
-
W(
|
|
61119
|
-
|
|
61120
|
-
|
|
61125
|
+
let pe = l(() => g.value?.ready ?? !1);
|
|
61126
|
+
W(pe, () => {
|
|
61127
|
+
pe.value && setTimeout(() => {
|
|
61128
|
+
b.value?.applyTransform(1, [.5, .5], [.5, .5]);
|
|
61121
61129
|
}, 50);
|
|
61122
61130
|
});
|
|
61123
|
-
function
|
|
61124
|
-
let t =
|
|
61131
|
+
function me(e) {
|
|
61132
|
+
let t = b.value?.normalizeClientCoords(e.clientX, e.clientY);
|
|
61125
61133
|
t && r.serial && (t[0] * r.serial.width, t[1] * r.serial.height);
|
|
61126
61134
|
}
|
|
61127
|
-
let
|
|
61128
|
-
...
|
|
61129
|
-
...
|
|
61130
|
-
})),
|
|
61135
|
+
let he = B({}), ge = l(() => ({
|
|
61136
|
+
...h?.value ?? {},
|
|
61137
|
+
...he.value
|
|
61138
|
+
})), _e = l(() => {
|
|
61131
61139
|
let e = r.accessibilityDescription;
|
|
61132
61140
|
if (!e) return;
|
|
61133
|
-
let t =
|
|
61141
|
+
let t = ge.value;
|
|
61134
61142
|
return e.replace(/\{\{([^}]+)\}\}/g, (e, n) => {
|
|
61135
61143
|
let r = String(n).trim();
|
|
61136
61144
|
if (Object.prototype.hasOwnProperty.call(t, r)) {
|
|
@@ -61146,33 +61154,33 @@ var JR = ["role", "aria-label"], YR = { class: "controls-layer" }, XR = {
|
|
|
61146
61154
|
}).replace(/\s+/g, " ").trim() || void 0;
|
|
61147
61155
|
});
|
|
61148
61156
|
return t({
|
|
61149
|
-
currentlyFocusedFrame:
|
|
61150
|
-
focusFrame:
|
|
61151
|
-
globalScope:
|
|
61152
|
-
bxLiveTemplateRef:
|
|
61153
|
-
ready:
|
|
61154
|
-
templateViewRootWidth:
|
|
61155
|
-
templateViewRootHeight:
|
|
61156
|
-
fit:
|
|
61157
|
-
needsToFit:
|
|
61157
|
+
currentlyFocusedFrame: O,
|
|
61158
|
+
focusFrame: w,
|
|
61159
|
+
globalScope: he,
|
|
61160
|
+
bxLiveTemplateRef: g,
|
|
61161
|
+
ready: pe,
|
|
61162
|
+
templateViewRootWidth: S,
|
|
61163
|
+
templateViewRootHeight: C,
|
|
61164
|
+
fit: I,
|
|
61165
|
+
needsToFit: F,
|
|
61158
61166
|
transform: c,
|
|
61159
|
-
zoompinchRef:
|
|
61160
|
-
isMultiFrame:
|
|
61167
|
+
zoompinchRef: b,
|
|
61168
|
+
isMultiFrame: y
|
|
61161
61169
|
}), (t, n) => (L(), p("div", {
|
|
61162
61170
|
ref_key: "templateViewRootRef",
|
|
61163
|
-
ref:
|
|
61171
|
+
ref: x,
|
|
61164
61172
|
class: "template-view",
|
|
61165
|
-
role:
|
|
61166
|
-
"aria-label":
|
|
61167
|
-
onClick:
|
|
61168
|
-
onDblclick:
|
|
61169
|
-
onTouchstart:
|
|
61170
|
-
onTouchend:
|
|
61173
|
+
role: _e.value ? "img" : void 0,
|
|
61174
|
+
"aria-label": _e.value || void 0,
|
|
61175
|
+
onClick: me,
|
|
61176
|
+
onDblclick: ie,
|
|
61177
|
+
onTouchstart: se,
|
|
61178
|
+
onTouchend: H
|
|
61171
61179
|
}, [v(U(hA), {
|
|
61172
61180
|
ref_key: "zoompinchRef",
|
|
61173
|
-
ref:
|
|
61181
|
+
ref: b,
|
|
61174
61182
|
transform: c.value,
|
|
61175
|
-
"onUpdate:transform":
|
|
61183
|
+
"onUpdate:transform": u,
|
|
61176
61184
|
offset: e.offset,
|
|
61177
61185
|
"min-scale": .1,
|
|
61178
61186
|
"max-scale": 10,
|
|
@@ -61182,9 +61190,9 @@ var JR = ["role", "aria-label"], YR = { class: "controls-layer" }, XR = {
|
|
|
61182
61190
|
touch: e.zoomAndPan,
|
|
61183
61191
|
wheel: e.zoomAndPan,
|
|
61184
61192
|
gesture: "",
|
|
61185
|
-
onDragGestureStart:
|
|
61186
|
-
onDragGestureEnd:
|
|
61187
|
-
onInit:
|
|
61193
|
+
onDragGestureStart: ue,
|
|
61194
|
+
onDragGestureEnd: de,
|
|
61195
|
+
onInit: fe
|
|
61188
61196
|
}, {
|
|
61189
61197
|
matrix: G(({ composePoint: t, canvasWidth: r, canvasHeight: l, normalizeClientCoords: u }) => [
|
|
61190
61198
|
e.imageOverlays?.length ? (L(), d(KR, {
|
|
@@ -61236,25 +61244,25 @@ var JR = ["role", "aria-label"], YR = { class: "controls-layer" }, XR = {
|
|
|
61236
61244
|
"normalize-client-coords"
|
|
61237
61245
|
])) : f("", !0),
|
|
61238
61246
|
m("div", YR, [
|
|
61239
|
-
|
|
61247
|
+
_.value.x > 1 ? (L(), p("div", XR, [m("div", ZR, [(L(!0), p(a, null, re(_.value.x, (e) => (L(), p("div", {
|
|
61240
61248
|
class: A(["frame-dot", {
|
|
61241
|
-
active: U(
|
|
61242
|
-
disabled: !U(
|
|
61249
|
+
active: U(O)?.x === e - 1,
|
|
61250
|
+
disabled: !U(O)
|
|
61243
61251
|
}]),
|
|
61244
|
-
onClick: (t) =>
|
|
61252
|
+
onClick: (t) => ne(e - 1, t)
|
|
61245
61253
|
}, null, 10, QR))), 256))])])) : f("", !0),
|
|
61246
|
-
|
|
61254
|
+
_.value.y > 1 ? (L(), p("div", $R, [m("div", ez, [(L(!0), p(a, null, re(_.value.y, (e) => (L(), p("div", {
|
|
61247
61255
|
class: A(["frame-dot", {
|
|
61248
|
-
active: U(
|
|
61249
|
-
disabled: !U(
|
|
61256
|
+
active: U(O)?.y === e - 1,
|
|
61257
|
+
disabled: !U(O)
|
|
61250
61258
|
}]),
|
|
61251
|
-
onClick: (t) =>
|
|
61259
|
+
onClick: (t) => V(e - 1, t)
|
|
61252
61260
|
}, null, 10, tz))), 256))])])) : f("", !0),
|
|
61253
61261
|
e.watermark ? (L(), p("svg", nz, [v(bR, {
|
|
61254
|
-
width: U(
|
|
61255
|
-
height: U(
|
|
61262
|
+
width: U(S),
|
|
61263
|
+
height: U(C)
|
|
61256
61264
|
}, null, 8, ["width", "height"])])) : f("", !0),
|
|
61257
|
-
|
|
61265
|
+
F.value ? (L(), p("div", {
|
|
61258
61266
|
key: 3,
|
|
61259
61267
|
class: "fit-btn-wrapper",
|
|
61260
61268
|
onTouchstart: n[10] ||= ye(() => {}, ["stop"]),
|
|
@@ -61264,7 +61272,7 @@ var JR = ["role", "aria-label"], YR = { class: "controls-layer" }, XR = {
|
|
|
61264
61272
|
}, [v(jx, {
|
|
61265
61273
|
circle: "",
|
|
61266
61274
|
tertiary: "",
|
|
61267
|
-
onClick:
|
|
61275
|
+
onClick: I
|
|
61268
61276
|
}, {
|
|
61269
61277
|
icon: G(() => [v(MC, null, {
|
|
61270
61278
|
default: G(() => [v(U(kS))]),
|
|
@@ -61276,7 +61284,7 @@ var JR = ["role", "aria-label"], YR = { class: "controls-layer" }, XR = {
|
|
|
61276
61284
|
]),
|
|
61277
61285
|
default: G(() => [v(wR, {
|
|
61278
61286
|
ref_key: "bxLiveTemplateRef",
|
|
61279
|
-
ref:
|
|
61287
|
+
ref: g,
|
|
61280
61288
|
"bx-core-version": e.bxCoreVersion,
|
|
61281
61289
|
"cloudflare-pages-hostname": e.cloudflarePagesHostname,
|
|
61282
61290
|
"asset-proxy": e.assetProxy,
|
|
@@ -61285,10 +61293,10 @@ var JR = ["role", "aria-label"], YR = { class: "controls-layer" }, XR = {
|
|
|
61285
61293
|
"serial-height": e.serialHeight,
|
|
61286
61294
|
preview: e.preview,
|
|
61287
61295
|
"personalized-preview-src": e.personalizedPreviewSrc,
|
|
61288
|
-
globalScope:
|
|
61289
|
-
"onUpdate:globalScope": n[0] ||= (e) =>
|
|
61290
|
-
data: U(
|
|
61291
|
-
"onUpdate:data": n[1] ||= (e) => E(
|
|
61296
|
+
globalScope: he.value,
|
|
61297
|
+
"onUpdate:globalScope": n[0] ||= (e) => he.value = e,
|
|
61298
|
+
data: U(h),
|
|
61299
|
+
"onUpdate:data": n[1] ||= (e) => E(h) ? h.value = e : null
|
|
61292
61300
|
}, null, 8, [
|
|
61293
61301
|
"bx-core-version",
|
|
61294
61302
|
"cloudflare-pages-hostname",
|
|
@@ -61310,7 +61318,7 @@ var JR = ["role", "aria-label"], YR = { class: "controls-layer" }, XR = {
|
|
|
61310
61318
|
"wheel"
|
|
61311
61319
|
])], 40, JR));
|
|
61312
61320
|
}
|
|
61313
|
-
}), [["__scopeId", "data-v-
|
|
61321
|
+
}), [["__scopeId", "data-v-897dcf0e"]]), iz = /*#__PURE__*/ q(/* @__PURE__ */ y({
|
|
61314
61322
|
__name: "SlidesNavigation",
|
|
61315
61323
|
props: /*@__PURE__*/ D({ length: {} }, {
|
|
61316
61324
|
index: { required: !0 },
|