@famibee/skynovel 1.40.0 → 1.40.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.js +166 -169
- package/dist/app.js.map +1 -1
- package/dist/sn/TxtStage.d.ts.map +1 -1
- package/dist/web.js +10 -13
- package/dist/web.js.map +1 -1
- package/package.json +1 -1
package/dist/app.js
CHANGED
|
@@ -87,7 +87,7 @@ var mp = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
87
87
|
O && (C = M, M = null);
|
|
88
88
|
var D = C.navigator || {}, k = D.userAgent || "";
|
|
89
89
|
M || (M = k);
|
|
90
|
-
var F = O ? !!D.likeChrome : /\bChrome\b/.test(M) && !/internal|\n/i.test(d.toString()), U = "Object", L = O ? U : "ScriptBridgingProxyObject", B = O ? U : "Environment", j = O && C.java ? "JavaPackage" : y(C.java), K = O ? U : "RuntimeObject", H = /\bJava/.test(j) && C.java, $ = H && y(C.environment) == B, X = H ? "a" : "α", pt = H ? "b" : "β", ht = C.document || {}, nt = C.operamini || C.opera, Q = u.test(Q = O && nt ? nt["[[Class]]"] : y(nt)) ? Q : nt = null, N, ct = M, et = [],
|
|
90
|
+
var F = O ? !!D.likeChrome : /\bChrome\b/.test(M) && !/internal|\n/i.test(d.toString()), U = "Object", L = O ? U : "ScriptBridgingProxyObject", B = O ? U : "Environment", j = O && C.java ? "JavaPackage" : y(C.java), K = O ? U : "RuntimeObject", H = /\bJava/.test(j) && C.java, $ = H && y(C.environment) == B, X = H ? "a" : "α", pt = H ? "b" : "β", ht = C.document || {}, nt = C.operamini || C.opera, Q = u.test(Q = O && nt ? nt["[[Class]]"] : y(nt)) ? Q : nt = null, N, ct = M, et = [], Et = null, st = M == k, q = st && nt && typeof nt.version == "function" && nt.version(), _t, at = St([
|
|
91
91
|
{ label: "EdgeHTML", pattern: "Edge" },
|
|
92
92
|
"Trident",
|
|
93
93
|
{ label: "WebKit", pattern: "AppleWebKit" },
|
|
@@ -290,7 +290,7 @@ var mp = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
290
290
|
y(N = C.runtime) == L ? (V = "Adobe AIR", W = N.flash.system.Capabilities.os) : y(N = C.phantom) == K ? (V = "PhantomJS", q = (N = N.version || null) && N.major + "." + N.minor + "." + N.patch) : typeof ht.documentMode == "number" && (N = /\bTrident\/(\d+)/i.exec(M)) ? (q = [q, ht.documentMode], (N = +N[1] + 4) != q[1] && (et.push("IE " + q[1] + " mode"), at && (at[1] = ""), q[1] = N), q = V == "IE" ? String(q[1].toFixed(1)) : q[0]) : typeof ht.documentMode == "number" && /^(?:Chrome|Firefox)\b/.test(V) && (et.push("masking as " + V + " " + q), V = "IE", q = "11.0", at = ["Trident"], W = "Windows");
|
|
291
291
|
W = W && v(W);
|
|
292
292
|
}
|
|
293
|
-
if (q && (N = /(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(q) || /(?:alpha|beta)(?: ?\d)?/i.exec(M + ";" + (st && D.appMinorVersion)) || /\bMinefield\b/i.test(M) && "a") && (
|
|
293
|
+
if (q && (N = /(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(q) || /(?:alpha|beta)(?: ?\d)?/i.exec(M + ";" + (st && D.appMinorVersion)) || /\bMinefield\b/i.test(M) && "a") && (Et = /b/i.test(N) ? "beta" : "alpha", q = q.replace(RegExp(N + "\\+?$"), "") + (Et == "beta" ? pt : X) + (/\d+\+?/.exec(N) || "")), V == "Fennec" || V == "Firefox" && /\b(?:Android|Firefox OS|KaiOS)\b/.test(W))
|
|
294
294
|
V = "Firefox Mobile";
|
|
295
295
|
else if (V == "Maxthon" && q)
|
|
296
296
|
q = q.replace(/\.[\d.]+/, ".x");
|
|
@@ -306,17 +306,17 @@ var mp = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
306
306
|
}
|
|
307
307
|
else
|
|
308
308
|
(/\bBlackBerry\b/.test(it) || /\bBB10\b/.test(M)) && (N = (RegExp(it.replace(/ +/g, " *") + "/([.\\d]+)", "i").exec(M) || 0)[1] || q) ? (N = [N, /BB10/.test(M)], W = (N[1] ? (it = null, yt = "BlackBerry") : "Device Software") + " " + N[0], q = null) : this != m && it != "Wii" && (st && nt || /Opera/.test(V) && /\b(?:MSIE|Firefox)\b/i.test(M) || V == "Firefox" && /\bOS X (?:\d+\.){2,}/.test(W) || V == "IE" && (W && !/^Win/.test(W) && q > 5.5 || /\bWindows XP\b/.test(W) && q > 8 || q == 8 && !/\bTrident\b/.test(M))) && !u.test(N = E.call(m, M.replace(u, "") + ";")) && N.name && (N = "ing as " + N.name + ((N = N.version) ? " " + N : ""), u.test(V) ? (/\bIE\b/.test(N) && W == "Mac OS" && (W = null), N = "identify" + N) : (N = "mask" + N, Q ? V = v(Q.replace(/([a-z])([A-Z])/g, "$1 $2")) : V = "Opera", /\bIE\b/.test(N) && (W = null), st || (q = null)), at = ["Presto"], et.push(N));
|
|
309
|
-
(N = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(M) || 0)[1]) && (N = [parseFloat(N.replace(/\.(\d)$/, ".0$1")), N], V == "Safari" && N[1].slice(-1) == "+" ? (V = "WebKit Nightly",
|
|
309
|
+
(N = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(M) || 0)[1]) && (N = [parseFloat(N.replace(/\.(\d)$/, ".0$1")), N], V == "Safari" && N[1].slice(-1) == "+" ? (V = "WebKit Nightly", Et = "alpha", q = N[1].slice(0, -1)) : (q == N[1] || q == (N[2] = (/\bSafari\/([\d.]+\+?)/i.exec(M) || 0)[1])) && (q = null), N[1] = (/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(M) || 0)[1], N[0] == 537.36 && N[2] == 537.36 && parseFloat(N[1]) >= 28 && at == "WebKit" && (at = ["Blink"]), !st || !F && !N[1] ? (at && (at[1] = "like Safari"), N = (N = N[0], N < 400 ? 1 : N < 500 ? 2 : N < 526 ? 3 : N < 533 ? 4 : N < 534 ? "4+" : N < 535 ? 5 : N < 537 ? 6 : N < 538 ? 7 : N < 601 ? 8 : N < 602 ? 9 : N < 604 ? 10 : N < 606 ? 11 : N < 608 ? 12 : "12")) : (at && (at[1] = "like Chrome"), N = N[1] || (N = N[0], N < 530 ? 1 : N < 532 ? 2 : N < 532.05 ? 3 : N < 533 ? 4 : N < 534.03 ? 5 : N < 534.07 ? 6 : N < 534.1 ? 7 : N < 534.13 ? 8 : N < 534.16 ? 9 : N < 534.24 ? 10 : N < 534.3 ? 11 : N < 535.01 ? 12 : N < 535.02 ? "13+" : N < 535.07 ? 15 : N < 535.11 ? 16 : N < 535.19 ? 17 : N < 536.05 ? 18 : N < 536.1 ? 19 : N < 537.01 ? 20 : N < 537.11 ? "21+" : N < 537.13 ? 23 : N < 537.18 ? 24 : N < 537.24 ? 25 : N < 537.36 ? 26 : at != "Blink" ? "27" : "28")), at && (at[1] += " " + (N += typeof N == "number" ? ".x" : /[.+]/.test(N) ? "" : "+")), V == "Safari" && (!q || parseInt(q) > 45) ? q = N : V == "Chrome" && /\bHeadlessChrome/i.test(M) && et.unshift("headless")), V == "Opera" && (N = /\bzbov|zvav$/.exec(W)) ? (V += " ", et.unshift("desktop mode"), N == "zvav" ? (V += "Mini", q = null) : V += "Mobile", W = W.replace(RegExp(" *" + N + "$"), "")) : V == "Safari" && /\bChrome\b/.exec(at && at[1]) ? (et.unshift("desktop mode"), V = "Chrome Mobile", q = null, /\bOS X\b/.test(W) ? (yt = "Apple", W = "iOS 4.3+") : W = null) : /\bSRWare Iron\b/.test(V) && !q && (q = ee("Chrome")), q && q.indexOf(N = /[\d.]+$/.exec(W)) == 0 && M.indexOf("/" + N + "-") > -1 && (W = S(W.replace(N, ""))), W && W.indexOf(V) != -1 && !RegExp(V + " OS").test(W) && (W = W.replace(RegExp(" *" + b(V) + " *"), "")), at && !/\b(?:Avant|Nook)\b/.test(V) && (/Browser|Lunascape|Maxthon/.test(V) || V != "Safari" && /^iOS/.test(W) && /\bSafari\b/.test(at[1]) || /^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(V) && at[1]) && (N = at[at.length - 1]) && et.push(N), et.length && (et = ["(" + et.join("; ") + ")"]), yt && it && it.indexOf(yt) < 0 && et.push("on " + yt), it && et.push((/^on /.test(et[et.length - 1]) ? "" : "on ") + it), W && (N = / ([\d.+]+)$/.exec(W), _t = N && W.charAt(W.length - N[0].length - 1) == "/", W = {
|
|
310
310
|
architecture: 32,
|
|
311
|
-
family: N && !
|
|
311
|
+
family: N && !_t ? W.replace(N[0], "") : W,
|
|
312
312
|
version: N ? N[1] : null,
|
|
313
313
|
toString: function() {
|
|
314
314
|
var se = this.version;
|
|
315
|
-
return this.family + (se && !
|
|
315
|
+
return this.family + (se && !_t ? " " + se : "") + (this.architecture == 64 ? " 64-bit" : "");
|
|
316
316
|
}
|
|
317
317
|
}), (N = /\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(ct)) && !/\bi686\b/i.test(ct) ? (W && (W.architecture = 64, W.family = W.family.replace(RegExp(" *" + N), "")), V && (/\bWOW64\b/i.test(M) || st && /\w(?:86|32)$/.test(D.cpuClass || D.platform) && !/\bWin64; x64\b/i.test(M)) && et.unshift("32-bit")) : W && /^OS X/.test(W.family) && V == "Chrome" && parseFloat(q) >= 39 && (W.architecture = 64), M || (M = null);
|
|
318
318
|
var ue = {};
|
|
319
|
-
return ue.description = M, ue.layout = at && at[0], ue.manufacturer = yt, ue.name = V, ue.prerelease =
|
|
319
|
+
return ue.description = M, ue.layout = at && at[0], ue.manufacturer = yt, ue.name = V, ue.prerelease = Et, ue.product = it, ue.ua = M, ue.version = V && q, ue.os = W || {
|
|
320
320
|
architecture: null,
|
|
321
321
|
family: null,
|
|
322
322
|
version: null,
|
|
@@ -744,10 +744,10 @@ var ev;
|
|
|
744
744
|
(function(i) {
|
|
745
745
|
i[i.COLOR = 16384] = "COLOR", i[i.DEPTH = 256] = "DEPTH", i[i.STENCIL = 1024] = "STENCIL";
|
|
746
746
|
})(ev || (ev = {}));
|
|
747
|
-
var
|
|
747
|
+
var wt;
|
|
748
748
|
(function(i) {
|
|
749
749
|
i[i.NORMAL = 0] = "NORMAL", i[i.ADD = 1] = "ADD", i[i.MULTIPLY = 2] = "MULTIPLY", i[i.SCREEN = 3] = "SCREEN", i[i.OVERLAY = 4] = "OVERLAY", i[i.DARKEN = 5] = "DARKEN", i[i.LIGHTEN = 6] = "LIGHTEN", i[i.COLOR_DODGE = 7] = "COLOR_DODGE", i[i.COLOR_BURN = 8] = "COLOR_BURN", i[i.HARD_LIGHT = 9] = "HARD_LIGHT", i[i.SOFT_LIGHT = 10] = "SOFT_LIGHT", i[i.DIFFERENCE = 11] = "DIFFERENCE", i[i.EXCLUSION = 12] = "EXCLUSION", i[i.HUE = 13] = "HUE", i[i.SATURATION = 14] = "SATURATION", i[i.COLOR = 15] = "COLOR", i[i.LUMINOSITY = 16] = "LUMINOSITY", i[i.NORMAL_NPM = 17] = "NORMAL_NPM", i[i.ADD_NPM = 18] = "ADD_NPM", i[i.SCREEN_NPM = 19] = "SCREEN_NPM", i[i.NONE = 20] = "NONE", i[i.SRC_OVER = 0] = "SRC_OVER", i[i.SRC_IN = 21] = "SRC_IN", i[i.SRC_OUT = 22] = "SRC_OUT", i[i.SRC_ATOP = 23] = "SRC_ATOP", i[i.DST_OVER = 24] = "DST_OVER", i[i.DST_IN = 25] = "DST_IN", i[i.DST_OUT = 26] = "DST_OUT", i[i.DST_ATOP = 27] = "DST_ATOP", i[i.ERASE = 26] = "ERASE", i[i.SUBTRACT = 28] = "SUBTRACT", i[i.XOR = 29] = "XOR";
|
|
750
|
-
})(
|
|
750
|
+
})(wt || (wt = {}));
|
|
751
751
|
var Wi;
|
|
752
752
|
(function(i) {
|
|
753
753
|
i[i.POINTS = 0] = "POINTS", i[i.LINES = 1] = "LINES", i[i.LINE_LOOP = 2] = "LINE_LOOP", i[i.LINE_STRIP = 3] = "LINE_STRIP", i[i.TRIANGLES = 4] = "TRIANGLES", i[i.TRIANGLE_STRIP = 5] = "TRIANGLE_STRIP", i[i.TRIANGLE_FAN = 6] = "TRIANGLE_FAN";
|
|
@@ -1547,7 +1547,7 @@ function bE(i) {
|
|
|
1547
1547
|
function tD() {
|
|
1548
1548
|
for (var i = [], t = [], e = 0; e < 32; e++)
|
|
1549
1549
|
i[e] = e, t[e] = e;
|
|
1550
|
-
i[
|
|
1550
|
+
i[wt.NORMAL_NPM] = wt.NORMAL, i[wt.ADD_NPM] = wt.ADD, i[wt.SCREEN_NPM] = wt.SCREEN, t[wt.NORMAL] = wt.NORMAL_NPM, t[wt.ADD] = wt.ADD_NPM, t[wt.SCREEN] = wt.SCREEN_NPM;
|
|
1551
1551
|
var r = [];
|
|
1552
1552
|
return r.push(t), r.push(i), r;
|
|
1553
1553
|
}
|
|
@@ -5113,7 +5113,7 @@ void main(void){
|
|
|
5113
5113
|
}, i;
|
|
5114
5114
|
}(), C0 = 0, P0 = 1, M0 = 2, O0 = 3, R0 = 4, I0 = 5, pa = function() {
|
|
5115
5115
|
function i() {
|
|
5116
|
-
this.data = 0, this.blendMode =
|
|
5116
|
+
this.data = 0, this.blendMode = wt.NORMAL, this.polygonOffset = 0, this.blend = !0, this.depthMask = !0;
|
|
5117
5117
|
}
|
|
5118
5118
|
return Object.defineProperty(i.prototype, "blend", {
|
|
5119
5119
|
get: function() {
|
|
@@ -5174,7 +5174,7 @@ void main(void){
|
|
|
5174
5174
|
return this._blendMode;
|
|
5175
5175
|
},
|
|
5176
5176
|
set: function(t) {
|
|
5177
|
-
this.blend = t !==
|
|
5177
|
+
this.blend = t !== wt.NONE, this._blendMode = t;
|
|
5178
5178
|
},
|
|
5179
5179
|
enumerable: !1,
|
|
5180
5180
|
configurable: !0
|
|
@@ -5839,11 +5839,11 @@ var XD = 0, Ud = { textureCount: 0, uboCount: 0 }, Lb = function() {
|
|
|
5839
5839
|
}, i;
|
|
5840
5840
|
}();
|
|
5841
5841
|
function WD(i, t) {
|
|
5842
|
-
return t === void 0 && (t = []), t[
|
|
5842
|
+
return t === void 0 && (t = []), t[wt.NORMAL] = [i.ONE, i.ONE_MINUS_SRC_ALPHA], t[wt.ADD] = [i.ONE, i.ONE], t[wt.MULTIPLY] = [i.DST_COLOR, i.ONE_MINUS_SRC_ALPHA, i.ONE, i.ONE_MINUS_SRC_ALPHA], t[wt.SCREEN] = [i.ONE, i.ONE_MINUS_SRC_COLOR, i.ONE, i.ONE_MINUS_SRC_ALPHA], t[wt.OVERLAY] = [i.ONE, i.ONE_MINUS_SRC_ALPHA], t[wt.DARKEN] = [i.ONE, i.ONE_MINUS_SRC_ALPHA], t[wt.LIGHTEN] = [i.ONE, i.ONE_MINUS_SRC_ALPHA], t[wt.COLOR_DODGE] = [i.ONE, i.ONE_MINUS_SRC_ALPHA], t[wt.COLOR_BURN] = [i.ONE, i.ONE_MINUS_SRC_ALPHA], t[wt.HARD_LIGHT] = [i.ONE, i.ONE_MINUS_SRC_ALPHA], t[wt.SOFT_LIGHT] = [i.ONE, i.ONE_MINUS_SRC_ALPHA], t[wt.DIFFERENCE] = [i.ONE, i.ONE_MINUS_SRC_ALPHA], t[wt.EXCLUSION] = [i.ONE, i.ONE_MINUS_SRC_ALPHA], t[wt.HUE] = [i.ONE, i.ONE_MINUS_SRC_ALPHA], t[wt.SATURATION] = [i.ONE, i.ONE_MINUS_SRC_ALPHA], t[wt.COLOR] = [i.ONE, i.ONE_MINUS_SRC_ALPHA], t[wt.LUMINOSITY] = [i.ONE, i.ONE_MINUS_SRC_ALPHA], t[wt.NONE] = [0, 0], t[wt.NORMAL_NPM] = [i.SRC_ALPHA, i.ONE_MINUS_SRC_ALPHA, i.ONE, i.ONE_MINUS_SRC_ALPHA], t[wt.ADD_NPM] = [i.SRC_ALPHA, i.ONE, i.ONE, i.ONE], t[wt.SCREEN_NPM] = [i.SRC_ALPHA, i.ONE_MINUS_SRC_COLOR, i.ONE, i.ONE_MINUS_SRC_ALPHA], t[wt.SRC_IN] = [i.DST_ALPHA, i.ZERO], t[wt.SRC_OUT] = [i.ONE_MINUS_DST_ALPHA, i.ZERO], t[wt.SRC_ATOP] = [i.DST_ALPHA, i.ONE_MINUS_SRC_ALPHA], t[wt.DST_OVER] = [i.ONE_MINUS_DST_ALPHA, i.ONE], t[wt.DST_IN] = [i.ZERO, i.SRC_ALPHA], t[wt.DST_OUT] = [i.ZERO, i.ONE_MINUS_SRC_ALPHA], t[wt.DST_ATOP] = [i.ONE_MINUS_DST_ALPHA, i.SRC_ALPHA], t[wt.XOR] = [i.ONE_MINUS_DST_ALPHA, i.ONE_MINUS_SRC_ALPHA], t[wt.SUBTRACT] = [i.ONE, i.ONE, i.ONE, i.ONE, i.FUNC_REVERSE_SUBTRACT, i.FUNC_ADD], t;
|
|
5843
5843
|
}
|
|
5844
5844
|
var YD = 0, qD = 1, ZD = 2, KD = 3, JD = 4, QD = 5, Bb = function() {
|
|
5845
5845
|
function i() {
|
|
5846
|
-
this.gl = null, this.stateId = 0, this.polygonOffset = 0, this.blendMode =
|
|
5846
|
+
this.gl = null, this.stateId = 0, this.polygonOffset = 0, this.blendMode = wt.NONE, this._blendEq = !1, this.map = [], this.map[YD] = this.setBlend, this.map[qD] = this.setOffset, this.map[ZD] = this.setCullFace, this.map[KD] = this.setDepthTest, this.map[JD] = this.setFrontFace, this.map[QD] = this.setDepthMask, this.checks = [], this.defaultState = new pa(), this.defaultState.blend = !0;
|
|
5847
5847
|
}
|
|
5848
5848
|
return i.prototype.contextChange = function(t) {
|
|
5849
5849
|
this.gl = t, this.blendModes = WD(t), this.set(this.defaultState), this.reset();
|
|
@@ -8307,7 +8307,7 @@ function sS(i, t) {
|
|
|
8307
8307
|
function t(e, r, n, s) {
|
|
8308
8308
|
e === void 0 && (e = 1500), n === void 0 && (n = 16384), s === void 0 && (s = !1);
|
|
8309
8309
|
var a = i.call(this) || this, o = 16384;
|
|
8310
|
-
return n > o && (n = o), a._properties = [!1, !0, !1, !1, !1], a._maxSize = e, a._batchSize = n, a._buffers = null, a._bufferUpdateIDs = [], a._updateID = 0, a.interactiveChildren = !1, a.blendMode =
|
|
8310
|
+
return n > o && (n = o), a._properties = [!1, !0, !1, !1, !1], a._maxSize = e, a._batchSize = n, a._buffers = null, a._bufferUpdateIDs = [], a._updateID = 0, a.interactiveChildren = !1, a.blendMode = wt.NORMAL, a.autoResize = s, a.roundPixels = !0, a.baseTexture = null, a.setProperties(r), a._tint = 0, a.tintRgb = new Float32Array(4), a.tint = 16777215, a;
|
|
8311
8311
|
}
|
|
8312
8312
|
return t.prototype.setProperties = function(e) {
|
|
8313
8313
|
e && (this._properties[0] = "vertices" in e || "scale" in e ? !!e.vertices || !!e.scale : this._properties[0], this._properties[1] = "position" in e ? !!e.position : this._properties[1], this._properties[2] = "rotation" in e ? !!e.rotation : this._properties[2], this._properties[3] = "uvs" in e ? !!e.uvs : this._properties[3], this._properties[4] = "tint" in e || "alpha" in e ? !!e.tint || !!e.alpha : this._properties[4]);
|
|
@@ -8752,8 +8752,8 @@ function yk(i, t) {
|
|
|
8752
8752
|
f.push(S - C * L, E - O * L), f.push(S + C * B, E + O * B), pt >= 0 && (s.join === gs.ROUND ? g += _a(S, E, S - C * L, E - O * L, S - D * L, E - k * L, f, !1) + 4 : g += 2, f.push(S - D * B, E - k * B), f.push(S + D * L, E + k * L));
|
|
8753
8753
|
continue;
|
|
8754
8754
|
}
|
|
8755
|
-
var Q = (-C + b) * (-O + E) - (-C + S) * (-O + w), N = (-D + T) * (-k + E) - (-D + S) * (-k + M), ct = (K * N - $ * Q) / ht, et = (X * Q - H * N) / ht,
|
|
8756
|
-
W ? s.join === gs.BEVEL ||
|
|
8755
|
+
var Q = (-C + b) * (-O + E) - (-C + S) * (-O + w), N = (-D + T) * (-k + E) - (-D + S) * (-k + M), ct = (K * N - $ * Q) / ht, et = (X * Q - H * N) / ht, Et = (ct - S) * (ct - S) + (et - E) * (et - E), st = S + (ct - S) * L, q = E + (et - E) * L, _t = S - (ct - S) * B, at = E - (et - E) * B, V = Math.min(K * K + H * H, $ * $ + X * X), it = nt ? L : B, yt = V + it * it * y, W = Et <= yt;
|
|
8756
|
+
W ? s.join === gs.BEVEL || Et / y > _ ? (nt ? (f.push(st, q), f.push(S + C * B, E + O * B), f.push(st, q), f.push(S + D * B, E + k * B)) : (f.push(S - C * L, E - O * L), f.push(_t, at), f.push(S - D * L, E - k * L), f.push(_t, at)), g += 2) : s.join === gs.ROUND ? nt ? (f.push(st, q), f.push(S + C * B, E + O * B), g += _a(S, E, S + C * B, E + O * B, S + D * B, E + k * B, f, !0) + 4, f.push(st, q), f.push(S + D * B, E + k * B)) : (f.push(S - C * L, E - O * L), f.push(_t, at), g += _a(S, E, S - C * L, E - O * L, S - D * L, E - k * L, f, !1) + 4, f.push(S - D * L, E - k * L), f.push(_t, at)) : (f.push(st, q), f.push(_t, at)) : (f.push(S - C * L, E - O * L), f.push(S + C * B, E + O * B), s.join === gs.ROUND ? nt ? g += _a(S, E, S + C * B, E + O * B, S + D * B, E + k * B, f, !0) + 2 : g += _a(S, E, S - C * L, E - O * L, S - D * L, E - k * L, f, !1) + 2 : s.join === gs.MITER && Et / y <= _ && (nt ? (f.push(_t, at), f.push(_t, at)) : (f.push(st, q), f.push(st, q)), g += 2), f.push(S - D * L, E - k * L), f.push(S + D * B, E + k * B), g += 2);
|
|
8757
8757
|
}
|
|
8758
8758
|
b = r[(p - 2) * 2], w = r[(p - 2) * 2 + 1], S = r[(p - 1) * 2], E = r[(p - 1) * 2 + 1], C = -(w - E), O = b - S, F = Math.sqrt(C * C + O * O), C /= F, O /= F, C *= m, O *= m, f.push(S - C * L, E - O * L), f.push(S + C * B, E + O * B), u || (s.cap === ia.ROUND ? g += _a(S - C * (L - B) * 0.5, E - O * (L - B) * 0.5, S - C * L, E - O * L, S + C * B, E + O * B, f, !1) + 2 : s.cap === ia.SQUARE && (g += L1(S, E, C, O, L, B, !1, f)));
|
|
8759
8759
|
for (var St = t.indices, Bt = sc.epsilon * sc.epsilon, j = v; j < g + v - 2; ++j)
|
|
@@ -9040,7 +9040,7 @@ var F1 = function() {
|
|
|
9040
9040
|
function t(e) {
|
|
9041
9041
|
e === void 0 && (e = null);
|
|
9042
9042
|
var r = i.call(this) || this;
|
|
9043
|
-
return r.shader = null, r.pluginName = "batch", r.currentPath = null, r.batches = [], r.batchTint = -1, r.batchDirty = -1, r.vertexData = null, r._fillStyle = new aS(), r._lineStyle = new Sk(), r._matrix = null, r._holeMode = !1, r.state = pa.for2d(), r._geometry = e || new Ek(), r._geometry.refCount++, r._transformID = -1, r.tint = 16777215, r.blendMode =
|
|
9043
|
+
return r.shader = null, r.pluginName = "batch", r.currentPath = null, r.batches = [], r.batchTint = -1, r.batchDirty = -1, r.vertexData = null, r._fillStyle = new aS(), r._lineStyle = new Sk(), r._matrix = null, r._holeMode = !1, r.state = pa.for2d(), r._geometry = e || new Ek(), r._geometry.refCount++, r._transformID = -1, r.tint = 16777215, r.blendMode = wt.NORMAL, r;
|
|
9044
9044
|
}
|
|
9045
9045
|
return Object.defineProperty(t.prototype, "geometry", {
|
|
9046
9046
|
get: function() {
|
|
@@ -9288,7 +9288,7 @@ var bh = new xe(), Pk = new Uint16Array([0, 1, 2, 0, 2, 3]), ze = function(i) {
|
|
|
9288
9288
|
Ck(t, i);
|
|
9289
9289
|
function t(e) {
|
|
9290
9290
|
var r = i.call(this) || this;
|
|
9291
|
-
return r._anchor = new Mu(r._onAnchorUpdate, r, e ? e.defaultAnchor.x : 0, e ? e.defaultAnchor.y : 0), r._texture = null, r._width = 0, r._height = 0, r._tint = null, r._tintRGB = null, r.tint = 16777215, r.blendMode =
|
|
9291
|
+
return r._anchor = new Mu(r._onAnchorUpdate, r, e ? e.defaultAnchor.x : 0, e ? e.defaultAnchor.y : 0), r._texture = null, r._width = 0, r._height = 0, r._tint = null, r._tintRGB = null, r.tint = 16777215, r.blendMode = wt.NORMAL, r._cachedTint = 16777215, r.uvs = null, r.texture = e || Pt.EMPTY, r.vertexData = new Float32Array(8), r.vertexTrimmedData = null, r._transformID = -1, r._textureID = -1, r._transformTrimmedID = -1, r._textureTrimmedID = -1, r.indices = Pk, r.pluginName = "batch", r.isSprite = !0, r._roundPixels = vt.ROUND_PIXELS, r;
|
|
9292
9292
|
}
|
|
9293
9293
|
return t.prototype._onTextureUpdate = function() {
|
|
9294
9294
|
this._textureID = -1, this._textureTrimmedID = -1, this._cachedTint = 16777215, this._width && (this.scale.x = Pu(this.scale.x) * this._width / this._texture.orig.width), this._height && (this.scale.y = Pu(this.scale.y) * this._height / this._texture.orig.height);
|
|
@@ -11248,7 +11248,7 @@ void main(void)\r
|
|
|
11248
11248
|
var X = p.pop();
|
|
11249
11249
|
if (!X) {
|
|
11250
11250
|
var pt = new Jm(), ht = void 0, nt = void 0;
|
|
11251
|
-
r.distanceFieldType === "none" ? (ht = new uc(Pt.EMPTY), nt =
|
|
11251
|
+
r.distanceFieldType === "none" ? (ht = new uc(Pt.EMPTY), nt = wt.NORMAL) : (ht = new uc(Pt.EMPTY, { program: oh.from(uN, oN), uniforms: { uFWidth: 0 } }), nt = wt.NORMAL_NPM);
|
|
11252
11252
|
var Q = new oc(pt, ht);
|
|
11253
11253
|
Q.blendMode = nt, X = {
|
|
11254
11254
|
index: 0,
|
|
@@ -11278,15 +11278,15 @@ void main(void)\r
|
|
|
11278
11278
|
if (!(((e = X.indices) === null || e === void 0 ? void 0 : e.length) > 6 * ct) || X.vertices.length < oc.BATCHABLE_SIZE * 2)
|
|
11279
11279
|
X.vertices = new Float32Array(4 * 2 * ct), X.uvs = new Float32Array(4 * 2 * ct), X.indices = new Uint16Array(6 * ct);
|
|
11280
11280
|
else
|
|
11281
|
-
for (var et = X.total,
|
|
11282
|
-
|
|
11281
|
+
for (var et = X.total, Et = X.vertices, st = et * 4 * 2; st < Et.length; st++)
|
|
11282
|
+
Et[st] = 0;
|
|
11283
11283
|
X.mesh.size = 6 * ct;
|
|
11284
11284
|
}
|
|
11285
11285
|
for (var T = 0; T < L; T++) {
|
|
11286
11286
|
var M = o[T], q = M.position.x + F[M.line] * (this._align === "justify" ? M.prevSpaces : 1);
|
|
11287
11287
|
this._roundPixels && (q = Math.round(q));
|
|
11288
|
-
var
|
|
11289
|
-
V.indices[W * 6 + 0] = 0 + W * 4, V.indices[W * 6 + 1] = 1 + W * 4, V.indices[W * 6 + 2] = 2 + W * 4, V.indices[W * 6 + 3] = 0 + W * 4, V.indices[W * 6 + 4] = 2 + W * 4, V.indices[W * 6 + 5] = 3 + W * 4, V.vertices[W * 8 + 0] =
|
|
11288
|
+
var _t = q * s, at = M.position.y * s, H = M.texture, V = B[H.baseTexture.uid], it = H.frame, yt = H._uvs, W = V.index++;
|
|
11289
|
+
V.indices[W * 6 + 0] = 0 + W * 4, V.indices[W * 6 + 1] = 1 + W * 4, V.indices[W * 6 + 2] = 2 + W * 4, V.indices[W * 6 + 3] = 0 + W * 4, V.indices[W * 6 + 4] = 2 + W * 4, V.indices[W * 6 + 5] = 3 + W * 4, V.vertices[W * 8 + 0] = _t, V.vertices[W * 8 + 1] = at, V.vertices[W * 8 + 2] = _t + it.width * s, V.vertices[W * 8 + 3] = at, V.vertices[W * 8 + 4] = _t + it.width * s, V.vertices[W * 8 + 5] = at + it.height * s, V.vertices[W * 8 + 6] = _t, V.vertices[W * 8 + 7] = at + it.height * s, V.uvs[W * 8 + 0] = yt.x0, V.uvs[W * 8 + 1] = yt.y0, V.uvs[W * 8 + 2] = yt.x1, V.uvs[W * 8 + 3] = yt.y1, V.uvs[W * 8 + 4] = yt.x2, V.uvs[W * 8 + 5] = yt.y2, V.uvs[W * 8 + 6] = yt.x3, V.uvs[W * 8 + 7] = yt.y3;
|
|
11290
11290
|
}
|
|
11291
11291
|
this._textWidth = m * s, this._textHeight = (a.y + r.lineHeight) * s;
|
|
11292
11292
|
for (var T in B) {
|
|
@@ -13902,7 +13902,7 @@ var be = { exports: {} };
|
|
|
13902
13902
|
function et(I) {
|
|
13903
13903
|
return I.flags !== void 0 ? I.flags : [I.global ? "g" : "", I.ignoreCase ? "i" : "", I.multiline ? "m" : "", I.unicode ? "u" : "", I.sticky ? "y" : ""].join("");
|
|
13904
13904
|
}
|
|
13905
|
-
function
|
|
13905
|
+
function Et() {
|
|
13906
13906
|
for (var I = [].slice.call(arguments), A = I.length, z = 0; z < A; z += 1)
|
|
13907
13907
|
k(I[z]);
|
|
13908
13908
|
return s(function(J, rt) {
|
|
@@ -13919,7 +13919,7 @@ var be = { exports: {} };
|
|
|
13919
13919
|
if (I.length === 0)
|
|
13920
13920
|
throw new Error("seqMap needs at least one argument");
|
|
13921
13921
|
var A = I.pop();
|
|
13922
|
-
return L(A),
|
|
13922
|
+
return L(A), Et.apply(null, I).map(function(z) {
|
|
13923
13923
|
return A.apply(null, z);
|
|
13924
13924
|
});
|
|
13925
13925
|
}
|
|
@@ -13936,7 +13936,7 @@ var be = { exports: {} };
|
|
|
13936
13936
|
return ot;
|
|
13937
13937
|
});
|
|
13938
13938
|
}
|
|
13939
|
-
function
|
|
13939
|
+
function _t(I, A) {
|
|
13940
13940
|
return at(I, A).or(yt([]));
|
|
13941
13941
|
}
|
|
13942
13942
|
function at(I, A) {
|
|
@@ -14047,7 +14047,7 @@ var be = { exports: {} };
|
|
|
14047
14047
|
}, a.thru = function(I) {
|
|
14048
14048
|
return I(this);
|
|
14049
14049
|
}, a.then = function(I) {
|
|
14050
|
-
return k(I),
|
|
14050
|
+
return k(I), Et(this, I).map(function(A) {
|
|
14051
14051
|
return A[1];
|
|
14052
14052
|
});
|
|
14053
14053
|
}, a.many = function() {
|
|
@@ -14115,7 +14115,7 @@ var be = { exports: {} };
|
|
|
14115
14115
|
}, a.promap = function(I, A) {
|
|
14116
14116
|
return L(I), L(A), this.contramap(I).map(A);
|
|
14117
14117
|
}, a.skip = function(I) {
|
|
14118
|
-
return
|
|
14118
|
+
return Et(this, I).map(function(A) {
|
|
14119
14119
|
return A[0];
|
|
14120
14120
|
});
|
|
14121
14121
|
}, a.mark = function() {
|
|
@@ -14127,7 +14127,7 @@ var be = { exports: {} };
|
|
|
14127
14127
|
return { name: I, value: z, start: A, end: J };
|
|
14128
14128
|
});
|
|
14129
14129
|
}, a.sepBy = function(I) {
|
|
14130
|
-
return
|
|
14130
|
+
return _t(this, I);
|
|
14131
14131
|
}, a.sepBy1 = function(I) {
|
|
14132
14132
|
return at(this, I);
|
|
14133
14133
|
}, a.lookahead = function(I) {
|
|
@@ -14190,7 +14190,7 @@ var be = { exports: {} };
|
|
|
14190
14190
|
return Nt(function(z) {
|
|
14191
14191
|
return I <= z && z <= A;
|
|
14192
14192
|
}).desc(I + "-" + A);
|
|
14193
|
-
}, s.regex = it, s.regexp = it, s.sepBy =
|
|
14193
|
+
}, s.regex = it, s.regexp = it, s.sepBy = _t, s.sepBy1 = at, s.seq = Et, s.seqMap = st, s.seqObj = function() {
|
|
14194
14194
|
for (var I, A = {}, z = 0, J = (I = arguments, Array.prototype.slice.call(I)), rt = J.length, ot = 0; ot < rt; ot += 1) {
|
|
14195
14195
|
var ut = J[ot];
|
|
14196
14196
|
if (!w(ut)) {
|
|
@@ -16749,7 +16749,7 @@ const Ds = class {
|
|
|
16749
16749
|
}
|
|
16750
16750
|
static getBlendmodeNum(t) {
|
|
16751
16751
|
if (!t)
|
|
16752
|
-
return
|
|
16752
|
+
return wt.NORMAL;
|
|
16753
16753
|
const e = c(Ds, ag)[t];
|
|
16754
16754
|
if (e !== void 0)
|
|
16755
16755
|
return e;
|
|
@@ -16766,7 +16766,7 @@ const Ds = class {
|
|
|
16766
16766
|
renderEnd() {
|
|
16767
16767
|
}
|
|
16768
16768
|
clearLay(t) {
|
|
16769
|
-
this.spLay.alpha = 1, this.spLay.blendMode =
|
|
16769
|
+
this.spLay.alpha = 1, this.spLay.blendMode = wt.NORMAL, this.spLay.pivot.set(0, 0), this.spLay.angle = 0, this.spLay.scale.set(1, 1), dt(t, "filter", !1) && (this.spLay.filters = []);
|
|
16770
16770
|
}
|
|
16771
16771
|
copy(t, e) {
|
|
16772
16772
|
const r = this.name_;
|
|
@@ -16840,10 +16840,10 @@ const Ds = class {
|
|
|
16840
16840
|
};
|
|
16841
16841
|
let yr = Ds;
|
|
16842
16842
|
ag = new WeakMap(), og = new WeakMap(), x(yr, ag, {
|
|
16843
|
-
normal:
|
|
16844
|
-
add:
|
|
16845
|
-
multiply:
|
|
16846
|
-
screen:
|
|
16843
|
+
normal: wt.NORMAL,
|
|
16844
|
+
add: wt.ADD,
|
|
16845
|
+
multiply: wt.MULTIPLY,
|
|
16846
|
+
screen: wt.SCREEN
|
|
16847
16847
|
}), x(yr, og, {
|
|
16848
16848
|
0: "normal",
|
|
16849
16849
|
1: "add",
|
|
@@ -22328,12 +22328,12 @@ var Sr = {
|
|
|
22328
22328
|
var H = Tt(j, p), $ = Tt(K, p), X = Tt($, d), pt = Tt(H, f);
|
|
22329
22329
|
e.prevDist = $, e.prevBeforeDist = H, e.passDelta = X, e.passDist = $;
|
|
22330
22330
|
var ht = e.left + H[0], nt = e.top + H[1], Q = e.right - H[0], N = e.bottom - H[1], ct = r0(e, "translate(".concat(K[0], "px, ").concat(K[1], "px)"), "translate(".concat($[0], "px, ").concat($[1], "px)"));
|
|
22331
|
-
if (dx(t, ct), i.state.dragInfo.dist = r ? [0, 0] : $, !(!r && !v && X.every(function(
|
|
22332
|
-
return !
|
|
22333
|
-
}) && pt.some(function(
|
|
22334
|
-
return !
|
|
22331
|
+
if (dx(t, ct), i.state.dragInfo.dist = r ? [0, 0] : $, !(!r && !v && X.every(function(_t) {
|
|
22332
|
+
return !_t;
|
|
22333
|
+
}) && pt.some(function(_t) {
|
|
22334
|
+
return !_t;
|
|
22335
22335
|
}))) {
|
|
22336
|
-
var et = i.state,
|
|
22336
|
+
var et = i.state, Et = et.width, st = et.height, q = Ut(i, t, G({
|
|
22337
22337
|
transform: ct,
|
|
22338
22338
|
dist: $,
|
|
22339
22339
|
delta: X,
|
|
@@ -22345,7 +22345,7 @@ var Sr = {
|
|
|
22345
22345
|
top: nt,
|
|
22346
22346
|
right: Q,
|
|
22347
22347
|
bottom: N,
|
|
22348
|
-
width:
|
|
22348
|
+
width: Et,
|
|
22349
22349
|
height: st,
|
|
22350
22350
|
isPinch: s
|
|
22351
22351
|
}, Tr({
|
|
@@ -22525,7 +22525,7 @@ var Sr = {
|
|
|
22525
22525
|
var ue = nt[0] - ee[0] || ct ? Math.max(E + Q, Cr) : E, se = nt[1] - ee[1] || ct ? Math.max(T + N, Cr) : T;
|
|
22526
22526
|
return ct && E && T && (M ? se = ue / S : ue = se * S), [ue, se];
|
|
22527
22527
|
}
|
|
22528
|
-
var
|
|
22528
|
+
var Et = et(), st = Et[0], q = Et[1];
|
|
22529
22529
|
d || (r.setFixedDirection(r.fixedDirection), gt(i, "onBeforeResize", Ut(i, t, {
|
|
22530
22530
|
startFixedDirection: r.startFixedDirection,
|
|
22531
22531
|
startFixedPosition: r.startFixedPosition,
|
|
@@ -22543,10 +22543,10 @@ var Sr = {
|
|
|
22543
22543
|
st = ee[0], q = ee[1];
|
|
22544
22544
|
}
|
|
22545
22545
|
}, !0)));
|
|
22546
|
-
var
|
|
22547
|
-
o || (!n && s ?
|
|
22546
|
+
var _t = o;
|
|
22547
|
+
o || (!n && s ? _t = FT(i, [0, 0]) : _t = r.fixedPosition);
|
|
22548
22548
|
var at = [0, 0];
|
|
22549
|
-
s || (at = iF(i, st, q, ht,
|
|
22549
|
+
s || (at = iF(i, st, q, ht, _t, l, r)), u && (!u[0] && (at[0] = 0), !u[1] && (at[1] = 0));
|
|
22550
22550
|
function V() {
|
|
22551
22551
|
var ee;
|
|
22552
22552
|
K && (ee = K([st, q]), st = ee[0], q = ee[1]), st = Gt(st, $), q = Gt(q, $);
|
|
@@ -22560,7 +22560,7 @@ var Sr = {
|
|
|
22560
22560
|
e = yA([st, q], b, w, ct ? S : !1), st = e[0], q = e[1], V(), ct && (h || pt) && (M ? q = st / S : st = q * S), Q = st - E, N = q - T;
|
|
22561
22561
|
var yt = [Q - y, N - _];
|
|
22562
22562
|
r.prevWidth = Q, r.prevHeight = N;
|
|
22563
|
-
var W = QL(i, st, q,
|
|
22563
|
+
var W = QL(i, st, q, _t, g, r);
|
|
22564
22564
|
if (!(!X && yt.every(function(ee) {
|
|
22565
22565
|
return !ee;
|
|
22566
22566
|
}) && W.every(function(ee) {
|
|
@@ -22920,7 +22920,7 @@ var hF = cx.map(function(i) {
|
|
|
22920
22920
|
var M = i.getRect();
|
|
22921
22921
|
n.rect = M, n.transform = y, n.left = p, n.top = g;
|
|
22922
22922
|
var C = function(Q) {
|
|
22923
|
-
var N = i.state, ct = N.allMatrix, et = N.is3d,
|
|
22923
|
+
var N = i.state, ct = N.allMatrix, et = N.is3d, Et = N.width, st = N.height, q = LT(Q, Et, st);
|
|
22924
22924
|
n.fixedDirection = q, n.fixedPosition = rr(ct, Q, et ? 4 : 3), X && X.setFixedPosition(Q);
|
|
22925
22925
|
}, O = function(Q) {
|
|
22926
22926
|
n.fixedDirection = Q, n.fixedPosition = BT(i, Q), X && X.setFixedDirection(Q);
|
|
@@ -22961,10 +22961,10 @@ var hF = cx.map(function(i) {
|
|
|
22961
22961
|
};
|
|
22962
22962
|
var H = C;
|
|
22963
22963
|
C = function(Q) {
|
|
22964
|
-
var N = d.is3d ? 4 : 3, ct = Kt(gT(w, N), Q), et = ct[0],
|
|
22964
|
+
var N = d.is3d ? 4 : 3, ct = Kt(gT(w, N), Q), et = ct[0], Et = ct[1], st = vr(b, tu([et, Et], N)), q = vr(S, tu([Q[0], Q[1]], N));
|
|
22965
22965
|
H(Q);
|
|
22966
|
-
var
|
|
22967
|
-
n.beforeInfo.origin = Tt(st,
|
|
22966
|
+
var _t = d.posDelta;
|
|
22967
|
+
n.beforeInfo.origin = Tt(st, _t), n.afterInfo.origin = Tt(q, _t), n.absoluteInfo.origin = Tt(q, _t), ty(i, n.beforeInfo, D, k, _), ty(i, n.afterInfo, D, k, _), ty(i, n.absoluteInfo, D, k, _);
|
|
22968
22968
|
}, O = function(Q) {
|
|
22969
22969
|
var N = Ge([[0, 0], [E, 0], [0, T], [E, T]], Q);
|
|
22970
22970
|
C(N);
|
|
@@ -23008,19 +23008,19 @@ var hF = cx.map(function(i) {
|
|
|
23008
23008
|
beforeRotation: O,
|
|
23009
23009
|
rotation: F,
|
|
23010
23010
|
absoluteRotation: B,
|
|
23011
|
-
setRotation: function(
|
|
23012
|
-
k =
|
|
23011
|
+
setRotation: function(_t) {
|
|
23012
|
+
k = _t - j, C = k, L = k;
|
|
23013
23013
|
}
|
|
23014
23014
|
}, !0)), e = ry(i, _, p, C, j, H), M = e[0], C = e[1], O = e[2], r = ry(i, _, g, k, j, H), D = r[0], k = r[1], F = r[2], n = ry(i, _, v, L, K, H), U = n[0], L = n[1], B = n[2], !(!U && !D && !M && !T)) {
|
|
23015
23015
|
var ht = r0(s, "rotate(".concat(F, "deg)"), "rotate(".concat(k, "deg)")), nt = JL(i, k, s), Q = Tt(Kt(d || [0, 0], nt), s.prevInverseDist || [0, 0]);
|
|
23016
23016
|
s.prevInverseDist = nt, s.requestValue = null;
|
|
23017
|
-
var N = NT(i, ht, Q, h, t), ct = N, et = Yi([$, X], v.startAbsoluteOrigin) - v.startDist,
|
|
23017
|
+
var N = NT(i, ht, Q, h, t), ct = N, et = Yi([$, X], v.startAbsoluteOrigin) - v.startDist, Et = void 0;
|
|
23018
23018
|
if (s.resolveAble === "resizable") {
|
|
23019
23019
|
var st = S_.dragControl(i, G(G({}, Ed(t, i.state, [t.deltaX, t.deltaY], !!h, !1, "resizable")), {
|
|
23020
23020
|
resolveMatrix: !0,
|
|
23021
23021
|
parentDistance: et
|
|
23022
23022
|
}));
|
|
23023
|
-
st && (
|
|
23023
|
+
st && (Et = st, ct = YT(ct, st, t));
|
|
23024
23024
|
}
|
|
23025
23025
|
var q = Ut(i, t, G(G({
|
|
23026
23026
|
delta: D,
|
|
@@ -23036,7 +23036,7 @@ var hF = cx.map(function(i) {
|
|
|
23036
23036
|
absoluteRotate: B,
|
|
23037
23037
|
absoluteRotation: B,
|
|
23038
23038
|
isPinch: !!h,
|
|
23039
|
-
resize:
|
|
23039
|
+
resize: Et
|
|
23040
23040
|
}, N), ct));
|
|
23041
23041
|
return gt(i, "onRotate", q), q;
|
|
23042
23042
|
}
|
|
@@ -24019,15 +24019,15 @@ function Iw(i, t, e, r, n) {
|
|
|
24019
24019
|
} else if (y === "inset") {
|
|
24020
24020
|
var E = la(b || "0 0 0 0"), j = E.indexOf("round"), K = (j > -1 ? E.slice(0, j) : E).length, H = E.slice(K + 1), $ = E.slice(0, K), X = $[0], pt = $[1], ht = pt === void 0 ? X : pt, nt = $[2], Q = nt === void 0 ? X : nt, N = $[3], ct = N === void 0 ? ht : N, et = [X, Q].map(function(Nt) {
|
|
24021
24021
|
return Me(Nt, e);
|
|
24022
|
-
}),
|
|
24022
|
+
}), Et = et[0], st = et[1], q = [ct, ht].map(function(Nt) {
|
|
24023
24023
|
return Me(Nt, t);
|
|
24024
|
-
}),
|
|
24024
|
+
}), _t = q[0], at = q[1], V = t - at, it = e - st, yt = _C(H, V - _t, it - Et, _t, Et), T = Ot(Ot([], Sv(Et, V, it, _t), !0), yt, !0);
|
|
24025
24025
|
return {
|
|
24026
24026
|
type: "inset",
|
|
24027
24027
|
clipText: f,
|
|
24028
24028
|
poses: T,
|
|
24029
|
-
top:
|
|
24030
|
-
left:
|
|
24029
|
+
top: Et,
|
|
24030
|
+
left: _t,
|
|
24031
24031
|
right: V,
|
|
24032
24032
|
bottom: it,
|
|
24033
24033
|
radius: H,
|
|
@@ -24039,15 +24039,15 @@ function Iw(i, t, e, r, n) {
|
|
|
24039
24039
|
var W = E.map(function(de) {
|
|
24040
24040
|
var ue = md(de).value;
|
|
24041
24041
|
return ue;
|
|
24042
|
-
}),
|
|
24042
|
+
}), Et = W[0], at = W[1], st = W[2], _t = W[3], T = Sv(Et, at, st, _t);
|
|
24043
24043
|
return {
|
|
24044
24044
|
type: "rect",
|
|
24045
24045
|
clipText: f,
|
|
24046
24046
|
poses: T,
|
|
24047
|
-
top:
|
|
24047
|
+
top: Et,
|
|
24048
24048
|
right: at,
|
|
24049
24049
|
bottom: st,
|
|
24050
|
-
left:
|
|
24050
|
+
left: _t,
|
|
24051
24051
|
values: E,
|
|
24052
24052
|
splitter: S
|
|
24053
24053
|
};
|
|
@@ -24260,7 +24260,7 @@ var DF = {
|
|
|
24260
24260
|
}));
|
|
24261
24261
|
}
|
|
24262
24262
|
if (s) {
|
|
24263
|
-
var
|
|
24263
|
+
var Et = xi(Ot([v, m, y, _], O, !0)), st = Et.width, q = Et.height, _t = Et.left, at = Et.top;
|
|
24264
24264
|
if (L || F || U) {
|
|
24265
24265
|
var N = U ? O.slice(0, 8) : O;
|
|
24266
24266
|
D.push(t.createElement("div", {
|
|
@@ -24269,9 +24269,9 @@ var DF = {
|
|
|
24269
24269
|
style: {
|
|
24270
24270
|
width: "".concat(st, "px"),
|
|
24271
24271
|
height: "".concat(q, "px"),
|
|
24272
|
-
transform: "translate(".concat(
|
|
24272
|
+
transform: "translate(".concat(_t, "px, ").concat(at, "px)"),
|
|
24273
24273
|
clipPath: "polygon(".concat(N.map(function(it) {
|
|
24274
|
-
return "".concat(it[0] -
|
|
24274
|
+
return "".concat(it[0] - _t, "px ").concat(it[1] - at, "px");
|
|
24275
24275
|
}).join(", "), ")")
|
|
24276
24276
|
}
|
|
24277
24277
|
}));
|
|
@@ -24348,7 +24348,7 @@ var DF = {
|
|
|
24348
24348
|
var ht = xi(H), nt = Math.abs(ht.bottom - ht.top), Q = Math.abs(pt ? ht.right - ht.left : nt), N = H[0][1] + nt, ct = H[0][0] - Q, et = H[0][0] + Q;
|
|
24349
24349
|
X && ($.push([et, ht.bottom]), U.push([1, 0])), $.push([ht.left, N]), U.push([0, 1]), $.push([ct, ht.bottom]), U.push([1, 0]);
|
|
24350
24350
|
}
|
|
24351
|
-
var
|
|
24351
|
+
var Et = aC((p.clipHorizontalGuidelines || []).map(function(A) {
|
|
24352
24352
|
return Me("".concat(A), E);
|
|
24353
24353
|
}), (p.clipVerticalGuidelines || []).map(function(A) {
|
|
24354
24354
|
return Me("".concat(A), S);
|
|
@@ -24356,12 +24356,12 @@ var DF = {
|
|
|
24356
24356
|
if (X || pt)
|
|
24357
24357
|
st = [$[4][0], $[2][0]], q = [$[1][1], $[3][1]];
|
|
24358
24358
|
else if (F) {
|
|
24359
|
-
var
|
|
24360
|
-
st =
|
|
24359
|
+
var _t = [$[0], $[2], $[4], $[6]], at = [U[0], U[2], U[4], U[6]];
|
|
24360
|
+
st = _t.filter(function(A, z) {
|
|
24361
24361
|
return at[z][0];
|
|
24362
24362
|
}).map(function(A) {
|
|
24363
24363
|
return A[0];
|
|
24364
|
-
}), q =
|
|
24364
|
+
}), q = _t.filter(function(A, z) {
|
|
24365
24365
|
return at[z][1];
|
|
24366
24366
|
}).map(function(A) {
|
|
24367
24367
|
return A[1];
|
|
@@ -24376,7 +24376,7 @@ var DF = {
|
|
|
24376
24376
|
}).map(function(A) {
|
|
24377
24377
|
return A[1];
|
|
24378
24378
|
});
|
|
24379
|
-
var V = [0, 0], it = ww(
|
|
24379
|
+
var V = [0, 0], it = ww(Et, p.clipTargetBounds && {
|
|
24380
24380
|
left: 0,
|
|
24381
24381
|
top: 0,
|
|
24382
24382
|
right: S,
|
|
@@ -24404,10 +24404,10 @@ var DF = {
|
|
|
24404
24404
|
if (w.clipPathState = uu, X || pt)
|
|
24405
24405
|
st = [$[4][0], $[2][0]], q = [$[1][1], $[3][1]];
|
|
24406
24406
|
else if (F) {
|
|
24407
|
-
var
|
|
24408
|
-
st =
|
|
24407
|
+
var _t = [$[0], $[2], $[4], $[6]];
|
|
24408
|
+
st = _t.map(function(z) {
|
|
24409
24409
|
return z[0];
|
|
24410
|
-
}), q =
|
|
24410
|
+
}), q = _t.map(function(z) {
|
|
24411
24411
|
return z[1];
|
|
24412
24412
|
});
|
|
24413
24413
|
} else
|
|
@@ -24416,7 +24416,7 @@ var DF = {
|
|
|
24416
24416
|
}), q = $.map(function(A) {
|
|
24417
24417
|
return A[1];
|
|
24418
24418
|
});
|
|
24419
|
-
if (w.snapBoundInfos = ww(
|
|
24419
|
+
if (w.snapBoundInfos = ww(Et, p.clipTargetBounds && {
|
|
24420
24420
|
left: 0,
|
|
24421
24421
|
top: 0,
|
|
24422
24422
|
right: S,
|
|
@@ -25178,9 +25178,9 @@ function Aw(i, t, e) {
|
|
|
25178
25178
|
}
|
|
25179
25179
|
}
|
|
25180
25180
|
TT && !FL && C && !O && K && (y === "relative" || y === "static") && (U -= B.offsetLeft, L -= B.offsetTop, a = a || j);
|
|
25181
|
-
var N = 0, ct = 0, et = 0,
|
|
25181
|
+
var N = 0, ct = 0, et = 0, Et = 0;
|
|
25182
25182
|
if (w)
|
|
25183
|
-
C && S.hasTransform && (et = B.clientLeft,
|
|
25183
|
+
C && S.hasTransform && (et = B.clientLeft, Et = B.clientTop);
|
|
25184
25184
|
else if (C && g !== B && (N = B.clientLeft, ct = B.clientTop), C && B === s) {
|
|
25185
25185
|
var st = jT(r, !1, m);
|
|
25186
25186
|
U += st[0], L += st[1];
|
|
@@ -25190,11 +25190,11 @@ function Aw(i, t, e) {
|
|
|
25190
25190
|
target: r,
|
|
25191
25191
|
matrix: _v(b, l, D)
|
|
25192
25192
|
}), C) {
|
|
25193
|
-
var q = r === i,
|
|
25193
|
+
var q = r === i, _t = q ? 0 : r.scrollLeft, at = q ? 0 : r.scrollTop;
|
|
25194
25194
|
n.push({
|
|
25195
25195
|
type: "offset",
|
|
25196
25196
|
target: r,
|
|
25197
|
-
matrix: hc([U -
|
|
25197
|
+
matrix: hc([U - _t + N - et, L - at + ct - Et], l)
|
|
25198
25198
|
});
|
|
25199
25199
|
} else
|
|
25200
25200
|
n.push({
|
|
@@ -26048,7 +26048,7 @@ var KF = /* @__PURE__ */ function(i) {
|
|
|
26048
26048
|
var m = (a = this.props.persistData) === null || a === void 0 ? void 0 : a.rotation;
|
|
26049
26049
|
m != null && (v = m);
|
|
26050
26050
|
}
|
|
26051
|
-
function y(ct, et,
|
|
26051
|
+
function y(ct, et, Et) {
|
|
26052
26052
|
var st = ct.map(function(W) {
|
|
26053
26053
|
if (or(W)) {
|
|
26054
26054
|
var St = y(W, et), Bt = [St.pos1, St.pos2, St.pos3, St.pos4];
|
|
@@ -26064,14 +26064,14 @@ var KF = /* @__PURE__ */ function(i) {
|
|
|
26064
26064
|
}), q = st.map(function(W) {
|
|
26065
26065
|
var St = W.rotation;
|
|
26066
26066
|
return St;
|
|
26067
|
-
}),
|
|
26067
|
+
}), _t = 0, at = q[0], V = q.every(function(W) {
|
|
26068
26068
|
return Math.abs(at - W) < 0.1;
|
|
26069
26069
|
});
|
|
26070
|
-
g ?
|
|
26070
|
+
g ? _t = V ? at : v : _t = !Et && V ? at : et;
|
|
26071
26071
|
var it = st.map(function(W) {
|
|
26072
26072
|
var St = W.poses;
|
|
26073
26073
|
return St;
|
|
26074
|
-
}), yt = ZF(it,
|
|
26074
|
+
}), yt = ZF(it, _t);
|
|
26075
26075
|
return yt;
|
|
26076
26076
|
}
|
|
26077
26077
|
var _ = y(f, this.rotation, !0);
|
|
@@ -26964,7 +26964,7 @@ class d3 extends OC {
|
|
|
26964
26964
|
}
|
|
26965
26965
|
$n = new WeakMap();
|
|
26966
26966
|
var ug, Us, Vn, qa, Za, un, tl, Ka, Vc, el, ln, Xn, Wn, js, Xc, Wc, Yc, lg, RC, hg, IC, qc, I_, cg, DC, rl, Fp, il, Di, nl, Ja, Zc;
|
|
26967
|
-
const
|
|
26967
|
+
const bt = class extends yr {
|
|
26968
26968
|
constructor() {
|
|
26969
26969
|
super();
|
|
26970
26970
|
x(this, ln, new l3(this.spLay, this));
|
|
@@ -26972,7 +26972,7 @@ const xt = class extends yr {
|
|
|
26972
26972
|
x(this, Wn, "");
|
|
26973
26973
|
x(this, js, "");
|
|
26974
26974
|
Z(this, "lay", (e) => this.laySub(e, (r) => {
|
|
26975
|
-
r && c(
|
|
26975
|
+
r && c(bt, Vn).resume();
|
|
26976
26976
|
}));
|
|
26977
26977
|
x(this, Xc, 0);
|
|
26978
26978
|
x(this, Wc, 0);
|
|
@@ -26992,37 +26992,37 @@ const xt = class extends yr {
|
|
|
26992
26992
|
});
|
|
26993
26993
|
}
|
|
26994
26994
|
static init(e, r, n, s, a, o) {
|
|
26995
|
-
P(
|
|
26995
|
+
P(bt, Vn, e), P(bt, qa, r), P(bt, Za, n), P(bt, un, s), P(bt, tl, o);
|
|
26996
26996
|
const u = () => {
|
|
26997
|
-
const l = c(
|
|
26998
|
-
for (const h of Object.values(
|
|
26997
|
+
const l = c(bt, Ka) * c(bt, Vc);
|
|
26998
|
+
for (const h of Object.values(bt.hFn2VElm))
|
|
26999
26999
|
h.volume = l;
|
|
27000
27000
|
};
|
|
27001
27001
|
a.setNoticeChgVolume(
|
|
27002
27002
|
(l) => {
|
|
27003
|
-
P(
|
|
27003
|
+
P(bt, Ka, l), u();
|
|
27004
27004
|
},
|
|
27005
27005
|
(l) => {
|
|
27006
|
-
P(
|
|
27006
|
+
P(bt, Vc, l), u();
|
|
27007
27007
|
}
|
|
27008
|
-
), c(
|
|
27008
|
+
), c(bt, un).crypto && P(bt, Yc, R(bt, hg, IC));
|
|
27009
27009
|
}
|
|
27010
27010
|
static setEvtMng(e) {
|
|
27011
|
-
P(
|
|
27011
|
+
P(bt, el, e);
|
|
27012
27012
|
}
|
|
27013
27013
|
static destroy() {
|
|
27014
|
-
c(
|
|
27014
|
+
c(bt, ug).clear(), P(bt, Us, {}), bt.hFn2ResAniSpr = {}, bt.hFn2VElm = {};
|
|
27015
27015
|
}
|
|
27016
27016
|
setSp(e) {
|
|
27017
27017
|
}
|
|
27018
27018
|
laySub(e, r) {
|
|
27019
27019
|
var u;
|
|
27020
|
-
R(u =
|
|
27020
|
+
R(u = bt, rl, Fp).call(u, c(this, Wn));
|
|
27021
27021
|
const { fn: n, face: s = "" } = e;
|
|
27022
27022
|
if (c(this, ln).sethArg(e), !n)
|
|
27023
27023
|
return super.lay(e), this.spLay.children.length > 0 && this.setPos(e), P(this, Wn, ""), P(this, Xn, P(this, js, s)), r(!1), !1;
|
|
27024
27024
|
const a = "fn" in e, o = "face" in e;
|
|
27025
|
-
return this.clearLay({ filter: "true" }), a && P(this, Wn, n), o && P(this, js, s), super.lay(e), e.dx = 0, e.dy = 0,
|
|
27025
|
+
return this.clearLay({ filter: "true" }), a && P(this, Wn, n), o && P(this, js, s), super.lay(e), e.dx = 0, e.dy = 0, bt.csv2Sprites(
|
|
27026
27026
|
P(this, Xn, n + (s ? "," + s : "")),
|
|
27027
27027
|
this.spLay,
|
|
27028
27028
|
(l) => {
|
|
@@ -27053,24 +27053,24 @@ const xt = class extends yr {
|
|
|
27053
27053
|
e.split(",").forEach((h, d) => {
|
|
27054
27054
|
if (!h)
|
|
27055
27055
|
throw "face属性に空要素が含まれます";
|
|
27056
|
-
const { dx: f, dy: p, blendmode: g, fn: v } = c(
|
|
27056
|
+
const { dx: f, dy: p, blendmode: g, fn: v } = c(bt, Us)[h] || {
|
|
27057
27057
|
fn: h,
|
|
27058
27058
|
dx: 0,
|
|
27059
27059
|
dy: 0,
|
|
27060
|
-
blendmode:
|
|
27060
|
+
blendmode: wt.NORMAL
|
|
27061
27061
|
}, m = d === 0 ? n : (b) => {
|
|
27062
27062
|
b.x = f, b.y = p, b.blendMode = g;
|
|
27063
27063
|
};
|
|
27064
|
-
if (o.push({ fn: v, fnc: m }), v in
|
|
27064
|
+
if (o.push({ fn: v, fnc: m }), v in bt.hFn2ResAniSpr || v in Lr || v in ri.shared.resources)
|
|
27065
27065
|
return;
|
|
27066
27066
|
a = !0;
|
|
27067
|
-
const y = c(
|
|
27067
|
+
const y = c(bt, qa).searchPath(v, pr.SP_GSM), _ = c(this, un).crypto ? { xhrType: y.slice(-5) === ".json" ? Ft.XHR_RESPONSE_TYPE.TEXT : Ft.XHR_RESPONSE_TYPE.BUFFER } : {};
|
|
27068
27068
|
u.add({ ..._, name: v, url: y });
|
|
27069
27069
|
});
|
|
27070
27070
|
const l = (h) => {
|
|
27071
27071
|
var d;
|
|
27072
27072
|
for (const { fn: f, fnc: p } of o) {
|
|
27073
|
-
const g = R(d =
|
|
27073
|
+
const g = R(d = bt, cg, DC).call(d, f, h);
|
|
27074
27074
|
g.name = f, r == null || r.addChild(g), p(g);
|
|
27075
27075
|
}
|
|
27076
27076
|
s(a);
|
|
@@ -27078,7 +27078,7 @@ const xt = class extends yr {
|
|
|
27078
27078
|
return a ? u.use((h, d) => {
|
|
27079
27079
|
c(this, un).dec(h.extension, h.data).then((f) => {
|
|
27080
27080
|
var p;
|
|
27081
|
-
return c(p =
|
|
27081
|
+
return c(p = bt, Yc).call(p, f, h, () => d == null ? void 0 : d());
|
|
27082
27082
|
}).catch((f) => c(this, Vn).errScript(`Graphic ロード失敗です fn:${h.name} ${f}`, !1));
|
|
27083
27083
|
}).load((h, d) => l(d)) : l({}), a;
|
|
27084
27084
|
}
|
|
@@ -27087,16 +27087,16 @@ const xt = class extends yr {
|
|
|
27087
27087
|
const { fn: r } = e;
|
|
27088
27088
|
if (!r)
|
|
27089
27089
|
throw "fnは必須です";
|
|
27090
|
-
const n =
|
|
27090
|
+
const n = bt.hFn2VElm[r];
|
|
27091
27091
|
if (!n || n.loop)
|
|
27092
27092
|
return !1;
|
|
27093
27093
|
if (c(this, tl).getVal("tmp:sn.skip.enabled") || c(this, el).isSkippingByKeyDown() || n.ended)
|
|
27094
|
-
return R(a =
|
|
27094
|
+
return R(a = bt, rl, Fp).call(a, r), !1;
|
|
27095
27095
|
const s = () => {
|
|
27096
27096
|
var o;
|
|
27097
|
-
R(o =
|
|
27097
|
+
R(o = bt, rl, Fp).call(o, r), c(this, Vn).resume();
|
|
27098
27098
|
};
|
|
27099
|
-
return n.addEventListener("ended", s, { once: !0, passive: !0 }), c(
|
|
27099
|
+
return n.addEventListener("ended", s, { once: !0, passive: !0 }), c(bt, el).waitEvent(
|
|
27100
27100
|
() => {
|
|
27101
27101
|
n.removeEventListener("ended", s), s();
|
|
27102
27102
|
},
|
|
@@ -27114,7 +27114,7 @@ const xt = class extends yr {
|
|
|
27114
27114
|
this.spLay.alpha = 1;
|
|
27115
27115
|
for (const n of this.spLay.children)
|
|
27116
27116
|
n.visible = !0;
|
|
27117
|
-
c(this, Di).visible = !1, c(
|
|
27117
|
+
c(this, Di).visible = !1, c(bt, Za).renderer.render(this.spLay, { renderTexture: c(this, il) }), this.spLay.alpha = r;
|
|
27118
27118
|
for (const n of this.spLay.children)
|
|
27119
27119
|
n.visible = !1;
|
|
27120
27120
|
};
|
|
@@ -27127,10 +27127,10 @@ const xt = class extends yr {
|
|
|
27127
27127
|
}
|
|
27128
27128
|
P(this, nl, () => {
|
|
27129
27129
|
e(), c(this, Di).visible = !0;
|
|
27130
|
-
}), c(
|
|
27130
|
+
}), c(bt, Za).ticker.add(c(this, nl));
|
|
27131
27131
|
}
|
|
27132
27132
|
renderEnd() {
|
|
27133
|
-
c(
|
|
27133
|
+
c(bt, Za).ticker.remove(c(this, nl)), this.spLay.removeChild(c(this, Di));
|
|
27134
27134
|
for (const e of this.spLay.children)
|
|
27135
27135
|
e.visible = !0;
|
|
27136
27136
|
c(this, Di).destroy(!0);
|
|
@@ -27147,15 +27147,15 @@ const xt = class extends yr {
|
|
|
27147
27147
|
return;
|
|
27148
27148
|
}
|
|
27149
27149
|
c(this, Ja)[e] = [r];
|
|
27150
|
-
const o = c(
|
|
27151
|
-
c(
|
|
27152
|
-
c(
|
|
27150
|
+
const o = c(bt, qa).searchPath(e, pr.SP_GSM), u = new ri().add({ name: e, url: o, xhrType: Ft.XHR_RESPONSE_TYPE.BUFFER });
|
|
27151
|
+
c(bt, un).crypto && tv(o) === "bin" && u.use((l, h) => {
|
|
27152
|
+
c(bt, un).dec(l.extension, l.data).then((d) => {
|
|
27153
27153
|
if (l.extension !== "bin") {
|
|
27154
27154
|
h == null || h();
|
|
27155
27155
|
return;
|
|
27156
27156
|
}
|
|
27157
27157
|
l.data = d, d instanceof HTMLImageElement && (l.type = Ft.TYPE.IMAGE), h == null || h();
|
|
27158
|
-
}).catch((d) => c(
|
|
27158
|
+
}).catch((d) => c(bt, Vn).errScript(`GrpLayer loadPic ロード失敗です fn:${l.name} ${d}`, !1));
|
|
27159
27159
|
}), u.load((l, h) => {
|
|
27160
27160
|
for (const [d, { data: { src: f } }] of Object.entries(h)) {
|
|
27161
27161
|
const p = c(this, Zc)[d] = f;
|
|
@@ -27177,10 +27177,10 @@ const xt = class extends yr {
|
|
|
27177
27177
|
const { name: r } = e;
|
|
27178
27178
|
if (!r)
|
|
27179
27179
|
throw "nameは必須です";
|
|
27180
|
-
if (r in c(
|
|
27180
|
+
if (r in c(bt, Us))
|
|
27181
27181
|
throw "一つのname(" + r + ")に対して同じ画像を複数割り当てられません";
|
|
27182
27182
|
const { fn: n = r } = e;
|
|
27183
|
-
return c(
|
|
27183
|
+
return c(bt, Us)[r] = {
|
|
27184
27184
|
fn: n,
|
|
27185
27185
|
dx: tt(e, "dx", 0),
|
|
27186
27186
|
dy: tt(e, "dy", 0),
|
|
@@ -27188,14 +27188,14 @@ const xt = class extends yr {
|
|
|
27188
27188
|
}, !1;
|
|
27189
27189
|
}
|
|
27190
27190
|
static clearFace2Name() {
|
|
27191
|
-
P(
|
|
27191
|
+
P(bt, Us, {});
|
|
27192
27192
|
}
|
|
27193
27193
|
get containMovement() {
|
|
27194
27194
|
if (c(this, Xn) === "")
|
|
27195
27195
|
return !1;
|
|
27196
27196
|
const e = this.spLay.children;
|
|
27197
27197
|
return c(this, Xn).split(",").some(
|
|
27198
|
-
(r, n) => e[n] instanceof q1 ||
|
|
27198
|
+
(r, n) => e[n] instanceof q1 || bt.hFn2VElm[r]
|
|
27199
27199
|
);
|
|
27200
27200
|
}
|
|
27201
27201
|
clearLay(e) {
|
|
@@ -27226,7 +27226,7 @@ const xt = class extends yr {
|
|
|
27226
27226
|
c(this, ln).visible = !0;
|
|
27227
27227
|
}
|
|
27228
27228
|
};
|
|
27229
|
-
let qt =
|
|
27229
|
+
let qt = bt;
|
|
27230
27230
|
ug = new WeakMap(), Us = new WeakMap(), Vn = new WeakMap(), qa = new WeakMap(), Za = new WeakMap(), un = new WeakMap(), tl = new WeakMap(), Ka = new WeakMap(), Vc = new WeakMap(), el = new WeakMap(), ln = new WeakMap(), Xn = new WeakMap(), Wn = new WeakMap(), js = new WeakMap(), Xc = new WeakMap(), Wc = new WeakMap(), Yc = new WeakMap(), lg = new WeakSet(), RC = function(e) {
|
|
27231
27231
|
const r = /([^\d]+)\d+\.(\w+)/.exec(e[0]);
|
|
27232
27232
|
if (!r)
|
|
@@ -27237,7 +27237,7 @@ ug = new WeakMap(), Us = new WeakMap(), Vn = new WeakMap(), qa = new WeakMap(),
|
|
|
27237
27237
|
);
|
|
27238
27238
|
}, hg = new WeakSet(), IC = function(e, r, n) {
|
|
27239
27239
|
var l;
|
|
27240
|
-
if (r.data = e, r.extension === "bin" && (e instanceof HTMLImageElement ? (r.texture = Pt.fromLoader(e, r.url, r.name), r.type = Ft.TYPE.IMAGE) : e instanceof HTMLVideoElement && (e.volume = c(
|
|
27240
|
+
if (r.data = e, r.extension === "bin" && (e instanceof HTMLImageElement ? (r.texture = Pt.fromLoader(e, r.url, r.name), r.type = Ft.TYPE.IMAGE) : e instanceof HTMLVideoElement && (e.volume = c(bt, Ka), bt.hFn2VElm[r.name] = R(l = bt, qc, I_).call(l, e), r.type = Ft.TYPE.VIDEO)), r.extension !== "json") {
|
|
27241
27241
|
n();
|
|
27242
27242
|
return;
|
|
27243
27243
|
}
|
|
@@ -27250,7 +27250,7 @@ ug = new WeakMap(), Us = new WeakMap(), Vn = new WeakMap(), qa = new WeakMap(),
|
|
|
27250
27250
|
n();
|
|
27251
27251
|
return;
|
|
27252
27252
|
}
|
|
27253
|
-
const o = $h(s.image), u = c(
|
|
27253
|
+
const o = $h(s.image), u = c(bt, qa).searchPath(o, pr.SP_GSM);
|
|
27254
27254
|
new ri().use((h, d) => {
|
|
27255
27255
|
c(this, un).dec(h.extension, h.data).then((f) => {
|
|
27256
27256
|
h.data = f, f instanceof HTMLImageElement && (h.type = Ft.TYPE.IMAGE, URL.revokeObjectURL(f.src)), d == null || d();
|
|
@@ -27258,7 +27258,7 @@ ug = new WeakMap(), Us = new WeakMap(), Vn = new WeakMap(), qa = new WeakMap(),
|
|
|
27258
27258
|
}).add({ name: o, url: u, xhrType: Ft.XHR_RESPONSE_TYPE.BUFFER }).load((h, d) => {
|
|
27259
27259
|
for (const { data: f } of Object.values(h.resources)) {
|
|
27260
27260
|
const { baseTexture: p } = Pt.from(f), g = Object.values(a);
|
|
27261
|
-
|
|
27261
|
+
bt.hFn2ResAniSpr[r.name] = {
|
|
27262
27262
|
aTex: g.map(({ frame: { x: v, y: m, w: y, h: _ } }) => new Pt(
|
|
27263
27263
|
p,
|
|
27264
27264
|
new Dt(v, m, y, _)
|
|
@@ -27269,34 +27269,34 @@ ug = new WeakMap(), Us = new WeakMap(), Vn = new WeakMap(), qa = new WeakMap(),
|
|
|
27269
27269
|
n();
|
|
27270
27270
|
});
|
|
27271
27271
|
}, qc = new WeakSet(), I_ = function(e) {
|
|
27272
|
-
return c(
|
|
27272
|
+
return c(bt, tl).getVal("const.sn.needClick2Play") && (zt.trace_beforeNew(`[lay系] ${zt.strPos()}未クリック状態で動画を自動再生します。音声はミュートされます`, "W"), e.muted = !0), e.setAttribute("playsinline", ""), e;
|
|
27273
27273
|
}, cg = new WeakSet(), DC = function(e, r) {
|
|
27274
|
-
const n =
|
|
27274
|
+
const n = bt.hFn2ResAniSpr[e];
|
|
27275
27275
|
if (n) {
|
|
27276
27276
|
const s = new q1(n.aTex);
|
|
27277
27277
|
return s.animationSpeed = n.meta.animationSpeed ?? 1, s.play(), s;
|
|
27278
27278
|
}
|
|
27279
|
-
return e in Lr ? ze.from(e) : e in
|
|
27279
|
+
return e in Lr ? ze.from(e) : e in bt.hFn2VElm ? ze.from(bt.hFn2VElm[e]) : e in r ? new ze(r[e].texture) : new ze();
|
|
27280
27280
|
}, rl = new WeakSet(), Fp = function(e) {
|
|
27281
|
-
const r =
|
|
27282
|
-
!r || (delete
|
|
27281
|
+
const r = bt.hFn2VElm[e];
|
|
27282
|
+
!r || (delete bt.hFn2VElm[e], r.pause(), r.currentTime = r.duration);
|
|
27283
27283
|
}, il = new WeakMap(), Di = new WeakMap(), nl = new WeakMap(), Ja = new WeakMap(), Zc = new WeakMap(), x(qt, lg), x(qt, hg), x(qt, qc), x(qt, cg), x(qt, rl), x(qt, ug, new Kl()), x(qt, Us, {}), x(qt, Vn, void 0), x(qt, qa, void 0), x(qt, Za, void 0), x(qt, un, void 0), x(qt, tl, void 0), x(qt, Ka, 1), x(qt, Vc, 1), x(qt, el, void 0), Z(qt, "hFn2ResAniSpr", {}), x(qt, Yc, (e, r, n) => {
|
|
27284
27284
|
var s, a;
|
|
27285
27285
|
switch (r.type) {
|
|
27286
27286
|
case Ft.TYPE.JSON:
|
|
27287
27287
|
const o = r.spritesheet._frameKeys;
|
|
27288
|
-
R(s =
|
|
27288
|
+
R(s = bt, lg, RC).call(s, o), bt.hFn2ResAniSpr[r.name] = {
|
|
27289
27289
|
aTex: o.map((l) => Pt.from(l)),
|
|
27290
27290
|
meta: r.data.meta
|
|
27291
27291
|
};
|
|
27292
27292
|
break;
|
|
27293
27293
|
case Ft.TYPE.VIDEO:
|
|
27294
27294
|
const u = r.data;
|
|
27295
|
-
u.volume = c(
|
|
27295
|
+
u.volume = c(bt, Ka), bt.hFn2VElm[r.name] = R(a = bt, qc, I_).call(a, u);
|
|
27296
27296
|
}
|
|
27297
27297
|
n();
|
|
27298
27298
|
}), Z(qt, "hFn2VElm", {}), x(qt, Ja, {}), x(qt, Zc, {});
|
|
27299
|
-
var sl, Kc, Qa, Xt, hn, Yn, fg, Wr, zs,
|
|
27299
|
+
var sl, Kc, Qa, Xt, hn, Yn, fg, Wr, zs, xt, qn, Yr, qr, al, Gp, ki, Hs, Jc, ol, dg, kC, to, ul, Zn, eo, ro, io, ll, Qc, Kn, tf, D_, Jn, ef, Qn, cn, hl, rf, k_, $s, no, nf, N_, Mr;
|
|
27300
27300
|
const kt = class extends me {
|
|
27301
27301
|
constructor(e, r, n) {
|
|
27302
27302
|
super();
|
|
@@ -27310,7 +27310,7 @@ const kt = class extends me {
|
|
|
27310
27310
|
x(this, Yn, new si());
|
|
27311
27311
|
x(this, Wr, new h3(this.spLay, this));
|
|
27312
27312
|
x(this, zs, new c3(this));
|
|
27313
|
-
x(this,
|
|
27313
|
+
x(this, xt, {
|
|
27314
27314
|
fontsize: 24,
|
|
27315
27315
|
$width: 0,
|
|
27316
27316
|
$height: 0,
|
|
@@ -27382,31 +27382,31 @@ const kt = class extends me {
|
|
|
27382
27382
|
return c(this, Hs);
|
|
27383
27383
|
}
|
|
27384
27384
|
get infTL() {
|
|
27385
|
-
return c(this,
|
|
27385
|
+
return c(this, xt);
|
|
27386
27386
|
}
|
|
27387
27387
|
get getWidth() {
|
|
27388
|
-
return c(this,
|
|
27388
|
+
return c(this, xt).$width;
|
|
27389
27389
|
}
|
|
27390
27390
|
get getHeight() {
|
|
27391
|
-
return c(this,
|
|
27391
|
+
return c(this, xt).$height;
|
|
27392
27392
|
}
|
|
27393
27393
|
setSize(e, r) {
|
|
27394
|
-
c(this,
|
|
27394
|
+
c(this, xt).$width = e, c(this, xt).$height = r, c(this, Xt).style.width = c(this, xt).$width + "px", c(this, Xt).style.height = c(this, xt).$height + "px";
|
|
27395
27395
|
}
|
|
27396
27396
|
goTxt(e, r) {
|
|
27397
27397
|
var E, T, M;
|
|
27398
27398
|
c(kt, cn).visible = !1;
|
|
27399
27399
|
let n = c(this, Zn).length, s = "";
|
|
27400
|
-
n === 0 ? (c(kt, sl).oCfg.debug.masume && (Y.debugLog && console.log(`🍌 masume ${this.name} v:${this.visible} l:${this.x} t:${this.y} a:${this.alpha} pl:${c(this,
|
|
27400
|
+
n === 0 ? (c(kt, sl).oCfg.debug.masume && (Y.debugLog && console.log(`🍌 masume ${this.name} v:${this.visible} l:${this.x} t:${this.y} a:${this.alpha} pl:${c(this, xt).pad_left} pr:${c(this, xt).pad_right} pt:${c(this, xt).pad_top} pb:${c(this, xt).pad_bottom} w:${c(this, xt).$width} h:${c(this, xt).$height}`), c(this, Yn).clear().beginFill(3407616, 0.2).lineStyle(1, 3407616, 1).drawRect(-c(this, xt).pad_left, -c(this, xt).pad_top, c(this, xt).$width, c(this, xt).$height).endFill().beginFill(13311, 0.2).lineStyle(2, 13311, 1).drawRect(
|
|
27401
27401
|
0,
|
|
27402
27402
|
0,
|
|
27403
|
-
c(this,
|
|
27404
|
-
c(this,
|
|
27403
|
+
c(this, xt).$width - c(this, xt).pad_left - c(this, xt).pad_right,
|
|
27404
|
+
c(this, xt).$height - c(this, xt).pad_top - c(this, xt).pad_bottom
|
|
27405
27405
|
).endFill()), c(this, Xt).innerHTML = [...e].join("").replaceAll(/[\n\t]/g, "") + c(kt, Qc)) : (s = c(this, Xt).innerHTML, c(this, Xt).querySelectorAll(":scope > br").forEach((C) => c(this, Xt).removeChild(C)), c(this, Xt).insertAdjacentHTML(
|
|
27406
27406
|
"beforeend",
|
|
27407
27407
|
e.slice(c(this, eo)).join("").replaceAll(/[\n\t]/g, "") + c(kt, Qc)
|
|
27408
27408
|
), --n, (E = c(this, Xt).querySelector(".sn_ch_last")) == null || E.remove()), P(this, eo, e.length);
|
|
27409
|
-
const a = this.sys.cvsScale, o = c(this, Xt).getBoundingClientRect(), u = o.left + c(this,
|
|
27409
|
+
const a = this.sys.cvsScale, o = c(this, Xt).getBoundingClientRect(), u = o.left + c(this, xt).pad_left, l = o.top + c(this, xt).pad_top;
|
|
27410
27410
|
let h;
|
|
27411
27411
|
if (a === 1)
|
|
27412
27412
|
h = (C, O) => new Dt(
|
|
@@ -27494,22 +27494,19 @@ const kt = class extends me {
|
|
|
27494
27494
|
R(this, tf, D_).call(this, j, B, F, D, m, U ?? {});
|
|
27495
27495
|
const K = B.style ?? "", H = K + (B.style_hover ?? ""), $ = K + (B.style_clicked ?? ""), X = B.r_style ?? "", pt = X + (B.r_style_hover ?? ""), ht = X + (B.r_style_clicked ?? ""), nt = L.querySelectorAll("rt");
|
|
27496
27496
|
nt.forEach((et) => et.dataset.st_r_bk = et.style.cssText);
|
|
27497
|
-
const Q = L.style.cssText, N = (et,
|
|
27498
|
-
L.style.cssText = Q + et, nt.forEach((st) => st.style.cssText = st.dataset.st_r_bk +
|
|
27497
|
+
const Q = L.style.cssText, N = (et, Et) => {
|
|
27498
|
+
L.style.cssText = Q + et, nt.forEach((st) => st.style.cssText = st.dataset.st_r_bk + Et);
|
|
27499
27499
|
};
|
|
27500
|
-
|
|
27501
|
-
|
|
27502
|
-
|
|
27503
|
-
|
|
27504
|
-
|
|
27505
|
-
|
|
27506
|
-
|
|
27507
|
-
)
|
|
27508
|
-
|
|
27509
|
-
|
|
27510
|
-
N(et, _t);
|
|
27511
|
-
}
|
|
27512
|
-
c(this, hn).addChild(j);
|
|
27500
|
+
dt(B, "enabled", !0) ? c(kt, Qa).button(
|
|
27501
|
+
B,
|
|
27502
|
+
j,
|
|
27503
|
+
() => N(K, X),
|
|
27504
|
+
() => this.canFocus() ? (N(H, pt), !0) : !1,
|
|
27505
|
+
() => N($, ht)
|
|
27506
|
+
) : N(
|
|
27507
|
+
K + (B.style_disable ?? "color: gray;"),
|
|
27508
|
+
X + (B.r_style_disable ?? "color: gray;")
|
|
27509
|
+
), c(this, hn).addChild(j);
|
|
27513
27510
|
}
|
|
27514
27511
|
}
|
|
27515
27512
|
const y = c(this, Xt).querySelectorAll("span.sn_ch");
|
|
@@ -27518,7 +27515,7 @@ const kt = class extends me {
|
|
|
27518
27515
|
c(this, qr)
|
|
27519
27516
|
), c(kt, cn).visible = !0, c(kt, Qa).noticeCompTxt(), !0)), y.length === 0) {
|
|
27520
27517
|
const C = globalThis.getComputedStyle(c(this, Xt)), O = parseFloat(C.fontSize);
|
|
27521
|
-
c(this, Hs) ? (P(this, Yr, (c(this,
|
|
27518
|
+
c(this, Hs) ? (P(this, Yr, (c(this, xt).$width - c(this, xt).pad_left - c(this, xt).pad_right - O * 1.5) * this.sys.cvsScale), P(this, qr, 0)) : (P(this, Yr, 0), P(this, qr, O / 2 * this.sys.cvsScale)), c(this, Kn).call(this);
|
|
27522
27519
|
return;
|
|
27523
27520
|
}
|
|
27524
27521
|
y.forEach((C) => C.className = C.className.replaceAll(/sn_ch_in_([^\s"]+)/g, "go_ch_in_$1"));
|
|
@@ -27613,11 +27610,11 @@ const kt = class extends me {
|
|
|
27613
27610
|
var r;
|
|
27614
27611
|
R(this, nf, N_).call(this);
|
|
27615
27612
|
const e = new kt(this.spLay, () => this.canFocus(), this.sys);
|
|
27616
|
-
return P(e,
|
|
27613
|
+
return P(e, xt, c(this, xt)), c(e, Xt).style.cssText = c(this, Xt).style.cssText, P(e, ki, c(this, ki)), e.name = this.name, R(r = e, al, Gp).call(r), c(e, Wr).sethArg(c(this, Wr).gethArg()), P(e, to, c(this, to)), P(e, $s, c(this, $s)), P(e, no, c(this, no)), P(e, qn, c(this, qn)), P(e, Yr, c(this, Yr)), P(e, qr, c(this, qr)), this.destroy(), e;
|
|
27617
27614
|
}
|
|
27618
27615
|
record() {
|
|
27619
27616
|
return {
|
|
27620
|
-
infTL: c(this,
|
|
27617
|
+
infTL: c(this, xt),
|
|
27621
27618
|
cssText: c(this, Xt).style.cssText,
|
|
27622
27619
|
left: c(this, ki),
|
|
27623
27620
|
idc_hArg: c(this, Wr).gethArg(),
|
|
@@ -27630,15 +27627,15 @@ const kt = class extends me {
|
|
|
27630
27627
|
};
|
|
27631
27628
|
}
|
|
27632
27629
|
playback(e) {
|
|
27633
|
-
P(this,
|
|
27630
|
+
P(this, xt, e.infTL), this.position.set(c(this, xt).pad_left, c(this, xt).pad_top), c(this, Xt).style.cssText = e.cssText, P(this, ki, e.left), R(this, al, Gp).call(this), c(this, Wr).sethArg(e.idc_hArg), P(this, to, e.ch_filter), P(this, $s, e.fi_easing), P(this, no, e.fo_easing), P(this, qn, e.break_fixed ?? !1), P(this, Yr, e.break_fixed_left ?? 0), P(this, qr, e.break_fixed_top ?? 0);
|
|
27634
27631
|
}
|
|
27635
27632
|
snapshot(e, r) {
|
|
27636
27633
|
R(this, dg, kC).call(this, (n) => {
|
|
27637
|
-
P(this, Mr, new ze(n)), c(this, Hs) && (c(this, Mr).x += Y.stageW - (c(this, ki) + c(this,
|
|
27634
|
+
P(this, Mr, new ze(n)), c(this, Hs) && (c(this, Mr).x += Y.stageW - (c(this, ki) + c(this, xt).$width)), c(this, Mr).y -= c(this, ol), c(this, Mr).texture.frame = new Dt(
|
|
27638
27635
|
0,
|
|
27639
27636
|
0,
|
|
27640
|
-
Math.min(c(this, Mr).width, c(this,
|
|
27641
|
-
Math.min(c(this, Mr).height, c(this,
|
|
27637
|
+
Math.min(c(this, Mr).width, c(this, xt).$width - c(this, ki)),
|
|
27638
|
+
Math.min(c(this, Mr).height, c(this, xt).$height)
|
|
27642
27639
|
), c(this, hn).addChild(c(this, Mr)), e.render(c(this, Mr), { clear: !1 }), r();
|
|
27643
27640
|
}, !1);
|
|
27644
27641
|
}
|
|
@@ -27666,9 +27663,9 @@ const kt = class extends me {
|
|
|
27666
27663
|
}
|
|
27667
27664
|
};
|
|
27668
27665
|
let Ie = kt;
|
|
27669
|
-
sl = new WeakMap(), Kc = new WeakMap(), Qa = new WeakMap(), Xt = new WeakMap(), hn = new WeakMap(), Yn = new WeakMap(), fg = new WeakMap(), Wr = new WeakMap(), zs = new WeakMap(),
|
|
27666
|
+
sl = new WeakMap(), Kc = new WeakMap(), Qa = new WeakMap(), Xt = new WeakMap(), hn = new WeakMap(), Yn = new WeakMap(), fg = new WeakMap(), Wr = new WeakMap(), zs = new WeakMap(), xt = new WeakMap(), qn = new WeakMap(), Yr = new WeakMap(), qr = new WeakMap(), al = new WeakSet(), Gp = function() {
|
|
27670
27667
|
const e = c(this, Xt).style, r = parseFloat(e.fontSize || "0");
|
|
27671
|
-
c(this,
|
|
27668
|
+
c(this, xt).fontsize = r, c(this, xt).pad_left = parseFloat(e.paddingLeft || "0"), c(this, xt).pad_right = parseFloat(e.paddingRight || "0"), c(this, xt).pad_top = parseFloat(e.paddingTop || "0"), c(this, xt).pad_bottom = parseFloat(e.paddingBottom || "0"), c(this, xt).$width = parseFloat(e.width || "0"), c(this, xt).$height = parseFloat(e.height || "0"), this.position.set(c(this, xt).pad_left, c(this, xt).pad_top), P(this, Hs, e.writingMode === "vertical-rl"), P(this, Jc, 0), P(this, ol, 0);
|
|
27672
27669
|
const n = e.lineHeight ?? "0";
|
|
27673
27670
|
P(this, hl, c(this, Hs) ? 0 : (n.slice(-2) === "px" ? parseFloat(n) : r * parseFloat(n) - r) / 2);
|
|
27674
27671
|
}, ki = new WeakMap(), Hs = new WeakMap(), Jc = new WeakMap(), ol = new WeakMap(), dg = new WeakSet(), kC = function(e, r = !0) {
|
|
@@ -27834,15 +27831,15 @@ sl = new WeakMap(), Kc = new WeakMap(), Qa = new WeakMap(), Xt = new WeakMap(),
|
|
|
27834
27831
|
}
|
|
27835
27832
|
Promise.resolve(c(this, Xt)).then((m) => {
|
|
27836
27833
|
const y = m.cloneNode(!0);
|
|
27837
|
-
return y.style.padding = "0px", y.style.paddingRight = c(this, Jc) + "px", y.style.paddingTop = c(this, ol) + "px", y.style.left = "0px", y.style.top = "0px", y.style.width = c(this,
|
|
27834
|
+
return y.style.padding = "0px", y.style.paddingRight = c(this, Jc) + "px", y.style.paddingTop = c(this, ol) + "px", y.style.left = "0px", y.style.top = "0px", y.style.width = c(this, xt).$width - c(this, xt).pad_left - c(this, xt).pad_right + "px", y.style.height = c(this, xt).$height - c(this, xt).pad_top - c(this, xt).pad_bottom + "px", c(this, Xt).hidden = r, y;
|
|
27838
27835
|
}).then(u).then((m) => {
|
|
27839
27836
|
m.setAttribute("xmlns", "http://www.w3.org/1999/xhtml");
|
|
27840
27837
|
const y = new Image();
|
|
27841
|
-
return y.src = `data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="${c(this,
|
|
27838
|
+
return y.src = `data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="${c(this, xt).$width}px" height="${c(this, xt).$height}px"><foreignObject x="0" y="0" width="100%" height="100%">${new XMLSerializer().serializeToString(m).replaceAll("#", "%23").replaceAll(`
|
|
27842
27839
|
`, "%0A")}</foreignObject></svg>`, new Promise((_) => y.onload = () => _(y));
|
|
27843
27840
|
}).then((m) => new Promise((y) => setTimeout(() => y(m), 100))).then((m) => {
|
|
27844
27841
|
const y = document.createElement("canvas");
|
|
27845
|
-
y.width = c(this,
|
|
27842
|
+
y.width = c(this, xt).$width, y.height = c(this, xt).$height, y.getContext("2d").drawImage(m, 0, 0), y.toBlob((_) => {
|
|
27846
27843
|
if (!_)
|
|
27847
27844
|
return;
|
|
27848
27845
|
const b = URL.createObjectURL(_);
|
|
@@ -28868,8 +28865,8 @@ ${e}`, C = () => {
|
|
|
28868
28865
|
if (Q)
|
|
28869
28866
|
try {
|
|
28870
28867
|
N = JSON.parse(Q);
|
|
28871
|
-
} catch (
|
|
28872
|
-
console.error(`🍝 json=${Q} ` +
|
|
28868
|
+
} catch (Et) {
|
|
28869
|
+
console.error(`🍝 json=${Q} ` + Et);
|
|
28873
28870
|
continue;
|
|
28874
28871
|
}
|
|
28875
28872
|
else
|
|
@@ -30283,8 +30280,8 @@ function J3(i) {
|
|
|
30283
30280
|
var N = w.find(function(ct) {
|
|
30284
30281
|
var et = T.get(ct);
|
|
30285
30282
|
if (et)
|
|
30286
|
-
return et.slice(0, Q).every(function(
|
|
30287
|
-
return
|
|
30283
|
+
return et.slice(0, Q).every(function(Et) {
|
|
30284
|
+
return Et;
|
|
30288
30285
|
});
|
|
30289
30286
|
});
|
|
30290
30287
|
if (N)
|
|
@@ -30413,7 +30410,7 @@ function uG(i) {
|
|
|
30413
30410
|
var F, U = w === "y" ? Gr : Ur, L = w === "y" ? Ei : Si, B = w === "y" ? "height" : "width", j = E[w], K = j + m[U], H = j - m[L], $ = p ? -M[B] / 2 : 0, X = _ === rh ? T[B] : M[B], pt = _ === rh ? -M[B] : -T[B], ht = t.elements.arrow, nt = p && ht ? kx(ht) : {
|
|
30414
30411
|
width: 0,
|
|
30415
30412
|
height: 0
|
|
30416
|
-
}, Q = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : SP(), N = Q[U], ct = Q[L], et = qh(0, T[B], nt[B]),
|
|
30413
|
+
}, Q = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : SP(), N = Q[U], ct = Q[L], et = qh(0, T[B], nt[B]), Et = b ? T[B] / 2 - $ - et - N - O.mainAxis : X - et - N - O.mainAxis, st = b ? -T[B] / 2 + $ + et + ct + O.mainAxis : pt + et + ct + O.mainAxis, q = t.elements.arrow && Cd(t.elements.arrow), _t = q ? w === "y" ? q.clientTop || 0 : q.clientLeft || 0 : 0, at = (F = D == null ? void 0 : D[w]) != null ? F : 0, V = j + Et - at - _t, it = j + st - at, yt = qh(p ? Tv(K, V) : K, j, p ? Yo(H, it) : H);
|
|
30417
30414
|
E[w] = yt, k[w] = yt - j;
|
|
30418
30415
|
}
|
|
30419
30416
|
if (o) {
|