chbim-plugins 0.0.13 → 0.0.14
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/chbim-plugins.js +181 -188
- package/chbim-plugins.umd.cjs +8 -8
- package/package.json +1 -1
package/chbim-plugins.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { openBlock as $o, createElementBlock as Ko, normalizeClass as Ia, renderSlot as Da, defineComponent as Hs, ref as Gs, onMounted as ks, createElementVNode as Oi, toDisplayString as th, createApp as Oa } from "vue";
|
|
2
|
-
const eh = (p,
|
|
2
|
+
const eh = (p, bt) => {
|
|
3
3
|
const $ = p.__vccOpts || p;
|
|
4
|
-
for (const [mt, ht] of
|
|
4
|
+
for (const [mt, ht] of bt)
|
|
5
5
|
$[mt] = ht;
|
|
6
6
|
return $;
|
|
7
7
|
}, ih = {
|
|
@@ -18,10 +18,10 @@ const eh = (p, Ot) => {
|
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
setup(p) {
|
|
21
|
-
return (
|
|
21
|
+
return (bt, $) => ($o(), Ko("button", {
|
|
22
22
|
class: Ia(["muk-btn", [p.size, p.type]])
|
|
23
23
|
}, [
|
|
24
|
-
Da(
|
|
24
|
+
Da(bt.$slots, "default", {}, void 0, !0)
|
|
25
25
|
], 2));
|
|
26
26
|
}
|
|
27
27
|
}), nh = /* @__PURE__ */ eh(rh, [["__scopeId", "data-v-0e6d93cd"]]);
|
|
@@ -165,7 +165,7 @@ const sh = { class: "mask js-mask" }, ah = /* @__PURE__ */ Oi("div", { class: "m
|
|
|
165
165
|
default: "CHBIM云平台"
|
|
166
166
|
}
|
|
167
167
|
},
|
|
168
|
-
setup(p, { expose:
|
|
168
|
+
setup(p, { expose: bt }) {
|
|
169
169
|
const $ = Gs(null), mt = () => {
|
|
170
170
|
$.value === null && ($.value = new oh());
|
|
171
171
|
}, ht = () => {
|
|
@@ -173,7 +173,7 @@ const sh = { class: "mask js-mask" }, ah = /* @__PURE__ */ Oi("div", { class: "m
|
|
|
173
173
|
};
|
|
174
174
|
return ks(() => {
|
|
175
175
|
mt();
|
|
176
|
-
}),
|
|
176
|
+
}), bt({
|
|
177
177
|
continuation: ht
|
|
178
178
|
}), (M, yt) => ($o(), Ko("div", sh, [
|
|
179
179
|
ah,
|
|
@@ -206,7 +206,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
206
206
|
Ke._gsDefine(
|
|
207
207
|
"TweenMax",
|
|
208
208
|
["core.Animation", "core.SimpleTimeline", "TweenLite"],
|
|
209
|
-
function(p,
|
|
209
|
+
function(p, bt, $) {
|
|
210
210
|
var mt = function(K) {
|
|
211
211
|
var H, m = [], f = K.length;
|
|
212
212
|
for (H = 0; H !== f; m.push(K[H++]))
|
|
@@ -219,7 +219,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
219
219
|
delete K.cycle;
|
|
220
220
|
}, M = function(K, H, m) {
|
|
221
221
|
$.call(this, K, H, m), this._cycle = 0, this._yoyo = this.vars.yoyo === !0 || !!this.vars.yoyoEase, this._repeat = this.vars.repeat || 0, this._repeatDelay = this.vars.repeatDelay || 0, this._repeat && this._uncache(!0), this.render = M.prototype.render;
|
|
222
|
-
}, yt = 1e-10,
|
|
222
|
+
}, yt = 1e-10, Ot = $._internals, Y = Ot.isSelector, lt = Ot.isArray, St = M.prototype = $.to({}, 0.1, {}), ut = [];
|
|
223
223
|
M.version = "2.0.2", St.constructor = M, St.kill()._gc = !1, M.killTweensOf = M.killDelayedCallsTo = $.killTweensOf, M.getTweensOf = $.getTweensOf, M.lagSmoothing = $.lagSmoothing, M.ticker = $.ticker, M.render = $.render, St.invalidate = function() {
|
|
224
224
|
return this._yoyo = this.vars.yoyo === !0 || !!this.vars.yoyoEase, this._repeat = this.vars.repeat || 0, this._repeatDelay = this.vars.repeatDelay || 0, this._yoyoEase = null, this._uncache(!0), $.prototype.invalidate.call(this);
|
|
225
225
|
}, St.updateTo = function(K, H) {
|
|
@@ -247,7 +247,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
247
247
|
if (this._init(), !this._initted || this._gc)
|
|
248
248
|
return;
|
|
249
249
|
if (!m && this._firstPT && (this.vars.lazy !== !1 && this._duration || this.vars.lazy && !this._duration))
|
|
250
|
-
return this._time = Lt, this._totalTime = Gt, this._rawPrevTime = ct, this._cycle = Vt,
|
|
250
|
+
return this._time = Lt, this._totalTime = Gt, this._rawPrevTime = ct, this._cycle = Vt, Ot.lazyTweens.push(this), void (this._lazy = [K, H]);
|
|
251
251
|
!this._time || f || it ? f && this._ease._calcEnd && !it && (this.ratio = this._ease.getRatio(this._time === 0 ? 0 : 1)) : this.ratio = this._ease.getRatio(this._time / ie);
|
|
252
252
|
}
|
|
253
253
|
for (this._lazy !== !1 && (this._lazy = !1), this._active || !this._paused && this._time !== Lt && K >= 0 && (this._active = !0), Gt === 0 && (this._initted === 2 && K > 0 && this._init(), this._startAt && (K >= 0 ? this._startAt.render(K, !0, m) : O || (O = "_dummyGS")), this.vars.onStart && (this._totalTime !== 0 || ie === 0) && (H || this._callback("onStart"))), w = this._firstPT; w; )
|
|
@@ -309,10 +309,10 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
309
309
|
H == null && (H = !0), m == null && (m = !0);
|
|
310
310
|
var O, w, X, b = Dt(f != 0), F = b.length, Z = H && m && f;
|
|
311
311
|
for (X = 0; F > X; X++)
|
|
312
|
-
w = b[X], (Z || w instanceof
|
|
312
|
+
w = b[X], (Z || w instanceof bt || (O = w.target === w.vars.onComplete) && m || H && !O) && (K ? w.totalTime(w._reversed ? 0 : w.totalDuration()) : w._enabled(!1, !1));
|
|
313
313
|
}, M.killChildTweensOf = function(K, H) {
|
|
314
314
|
if (K != null) {
|
|
315
|
-
var m, f, O, w, X, b =
|
|
315
|
+
var m, f, O, w, X, b = Ot.tweenLookup;
|
|
316
316
|
if (typeof K == "string" && (K = $.selector(K) || K), Y(K) && (K = mt(K)), lt(K))
|
|
317
317
|
for (w = K.length; --w > -1; )
|
|
318
318
|
M.killChildTweensOf(K[w], H);
|
|
@@ -329,7 +329,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
329
329
|
var _t = function(K, H, m, f) {
|
|
330
330
|
H = H !== !1, m = m !== !1, f = f !== !1;
|
|
331
331
|
for (var O, w, X = Dt(f), b = H && m && f, F = X.length; --F > -1; )
|
|
332
|
-
w = X[F], (b || w instanceof
|
|
332
|
+
w = X[F], (b || w instanceof bt || (O = w.target === w.vars.onComplete) && m || H && !O) && w.paused(K);
|
|
333
333
|
};
|
|
334
334
|
return M.pauseAll = function(K, H, m) {
|
|
335
335
|
_t(!0, K, H, m);
|
|
@@ -365,14 +365,14 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
365
365
|
), Ke._gsDefine(
|
|
366
366
|
"TimelineLite",
|
|
367
367
|
["core.Animation", "core.SimpleTimeline", "TweenLite"],
|
|
368
|
-
function(p,
|
|
368
|
+
function(p, bt, $) {
|
|
369
369
|
var mt = function(m) {
|
|
370
|
-
|
|
370
|
+
bt.call(this, m), this._labels = {}, this.autoRemoveChildren = this.vars.autoRemoveChildren === !0, this.smoothChildTiming = this.vars.smoothChildTiming === !0, this._sortChildren = !0, this._onUpdate = this.vars.onUpdate;
|
|
371
371
|
var f, O, w = this.vars;
|
|
372
372
|
for (O in w)
|
|
373
373
|
f = w[O], Y(f) && f.join("").indexOf("{self}") !== -1 && (w[O] = this._swapSelfInParams(f));
|
|
374
374
|
Y(w.tweens) && this.add(w.tweens, 0, w.align, w.stagger);
|
|
375
|
-
}, ht = 1e-10, M = $._internals, yt = mt._internals = {},
|
|
375
|
+
}, ht = 1e-10, M = $._internals, yt = mt._internals = {}, Ot = M.isSelector, Y = M.isArray, lt = M.lazyTweens, St = M.lazyRender, ut = Ke._gsDefine.globals, At = function(m) {
|
|
376
376
|
var f, O = {};
|
|
377
377
|
for (f in m)
|
|
378
378
|
O[f] = m[f];
|
|
@@ -388,7 +388,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
388
388
|
for (f = 0; f !== w; O.push(m[f++]))
|
|
389
389
|
;
|
|
390
390
|
return O;
|
|
391
|
-
}, H = mt.prototype = new
|
|
391
|
+
}, H = mt.prototype = new bt();
|
|
392
392
|
return mt.version = "2.0.2", H.constructor = mt, H.kill()._gc = H._forcingPlayhead = H._hasPause = !1, H.to = function(m, f, O, w) {
|
|
393
393
|
var X = O.repeat && ut.TweenMax || $;
|
|
394
394
|
return f ? this.add(new X(m, f, O), w) : this.set(m, O, w);
|
|
@@ -404,7 +404,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
404
404
|
callbackScope: Z,
|
|
405
405
|
smoothChildTiming: this.smoothChildTiming
|
|
406
406
|
}), Lt = O.cycle;
|
|
407
|
-
for (typeof m == "string" && (m = $.selector(m) || m), m = m || [],
|
|
407
|
+
for (typeof m == "string" && (m = $.selector(m) || m), m = m || [], Ot(m) && (m = K(m)), w = w || 0, 0 > w && (m = K(m), m.reverse(), w *= -1), it = 0; it < m.length; it++)
|
|
408
408
|
st = At(O), st.startAt && (st.startAt = At(st.startAt), st.startAt.cycle && Dt(st.startAt, m, it)), Lt && (Dt(st, m, it), st.duration != null && (f = st.duration, delete st.duration)), Pt.to(m[it], f, st, it * w);
|
|
409
409
|
return this.add(Pt, X);
|
|
410
410
|
}, H.staggerFrom = function(m, f, O, w, X, b, F, Z) {
|
|
@@ -435,7 +435,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
435
435
|
throw "Cannot add " + m + " into the timeline; it is not a tween, timeline, function, or string.";
|
|
436
436
|
m = $.delayedCall(0, m);
|
|
437
437
|
}
|
|
438
|
-
if (
|
|
438
|
+
if (bt.prototype.add.call(this, m, f), m._time && (X = Math.max(
|
|
439
439
|
0,
|
|
440
440
|
Math.min(
|
|
441
441
|
m.totalDuration(),
|
|
@@ -458,7 +458,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
458
458
|
}
|
|
459
459
|
return typeof m == "string" ? this.removeLabel(m) : this.kill(null, m);
|
|
460
460
|
}, H._remove = function(m, f) {
|
|
461
|
-
|
|
461
|
+
bt.prototype._remove.call(this, m, f);
|
|
462
462
|
var O = this._last;
|
|
463
463
|
return O ? this._time > this.duration() && (this._time = this._duration, this._totalTime = this._totalDuration) : this._time = this._totalTime = this._duration = this._totalDuration = 0, this;
|
|
464
464
|
}, H.append = function(m, f) {
|
|
@@ -617,7 +617,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
617
617
|
if (m === this._gc)
|
|
618
618
|
for (var O = this._first; O; )
|
|
619
619
|
O._enabled(m, !0), O = O._next;
|
|
620
|
-
return
|
|
620
|
+
return bt.prototype._enabled.call(this, m, f);
|
|
621
621
|
}, H.totalTime = function(m, f, O) {
|
|
622
622
|
this._forcingPlayhead = !0;
|
|
623
623
|
var w = p.prototype.totalTime.apply(this, arguments);
|
|
@@ -651,14 +651,14 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
651
651
|
), Ke._gsDefine(
|
|
652
652
|
"TimelineMax",
|
|
653
653
|
["TimelineLite", "TweenLite", "easing.Ease"],
|
|
654
|
-
function(p,
|
|
654
|
+
function(p, bt, $) {
|
|
655
655
|
var mt = function(ut) {
|
|
656
656
|
p.call(this, ut), this._repeat = this.vars.repeat || 0, this._repeatDelay = this.vars.repeatDelay || 0, this._cycle = 0, this._yoyo = this.vars.yoyo === !0, this._dirty = !0;
|
|
657
|
-
}, ht = 1e-10, M =
|
|
657
|
+
}, ht = 1e-10, M = bt._internals, yt = M.lazyTweens, Ot = M.lazyRender, Y = Ke._gsDefine.globals, lt = new $(null, null, 1, 0), St = mt.prototype = new p();
|
|
658
658
|
return St.constructor = mt, St.kill()._gc = !1, mt.version = "2.0.2", St.invalidate = function() {
|
|
659
659
|
return this._yoyo = this.vars.yoyo === !0, this._repeat = this.vars.repeat || 0, this._repeatDelay = this.vars.repeatDelay || 0, this._uncache(!0), p.prototype.invalidate.call(this);
|
|
660
660
|
}, St.addCallback = function(ut, At, Dt, _t) {
|
|
661
|
-
return this.add(
|
|
661
|
+
return this.add(bt.delayedCall(0, ut, Dt, _t), At);
|
|
662
662
|
}, St.removeCallback = function(ut, At) {
|
|
663
663
|
if (ut)
|
|
664
664
|
if (At == null)
|
|
@@ -676,7 +676,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
676
676
|
useFrames: this.usesFrames(),
|
|
677
677
|
immediateRender: !1,
|
|
678
678
|
lazy: !1
|
|
679
|
-
}, m = At.repeat && Y.TweenMax ||
|
|
679
|
+
}, m = At.repeat && Y.TweenMax || bt;
|
|
680
680
|
for (_t in At)
|
|
681
681
|
H[_t] = At[_t];
|
|
682
682
|
return H.time = this._parseTimeOrLabel(ut), Dt = Math.abs(Number(H.time) - this._time) / this._timeScale || 1e-3, K = new m(this, Dt, H), H.onStart = function() {
|
|
@@ -753,7 +753,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
753
753
|
}
|
|
754
754
|
_t = H;
|
|
755
755
|
}
|
|
756
|
-
this._onUpdate && (At || (yt.length &&
|
|
756
|
+
this._onUpdate && (At || (yt.length && Ot(), this._callback("onUpdate"))), m && (this._locked || this._gc || (it === this._startTime || Pt !== this._timeScale) && (this._time === 0 || F >= this.totalDuration()) && (K && (yt.length && Ot(), this._timeline.autoRemoveChildren && this._enabled(!1, !1), this._active = !1), !At && this.vars[m] && this._callback(m)));
|
|
757
757
|
}, St.getActive = function(ut, At, Dt) {
|
|
758
758
|
ut == null && (ut = !0), At == null && (At = !0), Dt == null && (Dt = !1);
|
|
759
759
|
var _t, K, H = [], m = this.getChildren(ut, At, Dt), f = 0, O = m.length;
|
|
@@ -805,15 +805,15 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
805
805
|
},
|
|
806
806
|
!0
|
|
807
807
|
), function() {
|
|
808
|
-
var p = 180 / Math.PI,
|
|
808
|
+
var p = 180 / Math.PI, bt = [], $ = [], mt = [], ht = {}, M = Ke._gsDefine.globals, yt = function(m, f, O, w) {
|
|
809
809
|
O === w && (O = w - (w - f) / 1e6), m === f && (f = m + (O - m) / 1e6), this.a = m, this.b = f, this.c = O, this.d = w, this.da = w - m, this.ca = O - m, this.ba = f - m;
|
|
810
|
-
},
|
|
810
|
+
}, Ot = ",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,", Y = function(m, f, O, w) {
|
|
811
811
|
var X = { a: m }, b = {}, F = {}, Z = { c: w }, st = (m + f) / 2, it = (f + O) / 2, Pt = (O + w) / 2, Lt = (st + it) / 2, Gt = (it + Pt) / 2, Vt = (Gt - Lt) / 8;
|
|
812
812
|
return X.b = st + (m - st) / 4, b.b = Lt + Vt, X.c = b.a = (X.b + b.b) / 2, b.c = F.a = (Lt + Gt) / 2, F.b = Gt - Vt, Z.b = Pt + (w - Pt) / 4, F.c = Z.a = (F.b + Z.b) / 2, [X, b, F, Z];
|
|
813
813
|
}, lt = function(m, f, O, w, X) {
|
|
814
814
|
var b, F, Z, st, it, Pt, Lt, Gt, Vt, ie, ct, kt, Me, mi = m.length - 1, Rt = 0, Ue = m[0].a;
|
|
815
815
|
for (b = 0; mi > b; b++)
|
|
816
|
-
it = m[Rt], F = it.a, Z = it.d, st = m[Rt + 1].d, X ? (ct =
|
|
816
|
+
it = m[Rt], F = it.a, Z = it.d, st = m[Rt + 1].d, X ? (ct = bt[b], kt = $[b], Me = (kt + ct) * f * 0.25 / (w ? 0.5 : mt[b] || 0.5), Pt = Z - (Z - F) * (w ? 0.5 * f : ct !== 0 ? Me / ct : 0), Lt = Z + (st - Z) * (w ? 0.5 * f : kt !== 0 ? Me / kt : 0), Gt = Z - (Pt + ((Lt - Pt) * (3 * ct / (ct + kt) + 0.5) / 4 || 0))) : (Pt = Z - (Z - F) * f * 0.5, Lt = Z + (st - Z) * f * 0.5, Gt = Z - (Pt + Lt) / 2), Pt += Gt, Lt += Gt, it.c = Vt = Pt, b !== 0 ? it.b = Ue : it.b = Ue = it.a + 0.6 * (it.c - it.a), it.da = Z - F, it.ca = Vt - F, it.ba = Ue - F, O ? (ie = Y(F, Ue, Vt, Z), m.splice(Rt, 1, ie[0], ie[1], ie[2], ie[3]), Rt += 4) : Rt++, Ue = Lt;
|
|
817
817
|
it = m[Rt], it.b = Ue, it.c = Ue + 0.4 * (it.d - Ue), it.da = it.d - it.a, it.ca = it.c - it.a, it.ba = Ue - it.a, O && (ie = Y(it.a, Ue, it.c, it.d), m.splice(Rt, 1, ie[0], ie[1], ie[2], ie[3]));
|
|
818
818
|
}, St = function(m, f, O, w) {
|
|
819
819
|
var X, b, F, Z, st, it, Pt = [];
|
|
@@ -823,11 +823,11 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
823
823
|
if (X = m.length - 2, 0 > X)
|
|
824
824
|
return Pt[0] = new yt(m[0][f], 0, 0, m[0][f]), Pt;
|
|
825
825
|
for (b = 0; X > b; b++)
|
|
826
|
-
F = m[b][f], Z = m[b + 1][f], Pt[b] = new yt(F, 0, 0, Z), O && (st = m[b + 2][f],
|
|
826
|
+
F = m[b][f], Z = m[b + 1][f], Pt[b] = new yt(F, 0, 0, Z), O && (st = m[b + 2][f], bt[b] = (bt[b] || 0) + (Z - F) * (Z - F), $[b] = ($[b] || 0) + (st - Z) * (st - Z));
|
|
827
827
|
return Pt[b] = new yt(m[b][f], 0, 0, m[b + 1][f]), Pt;
|
|
828
828
|
}, ut = function(m, f, O, w, X, b) {
|
|
829
829
|
var F, Z, st, it, Pt, Lt, Gt, Vt, ie = {}, ct = [], kt = b || m[0];
|
|
830
|
-
X = typeof X == "string" ? "," + X + "," :
|
|
830
|
+
X = typeof X == "string" ? "," + X + "," : Ot, f == null && (f = 1);
|
|
831
831
|
for (Z in m[0])
|
|
832
832
|
ct.push(Z);
|
|
833
833
|
if (m.length > 1) {
|
|
@@ -838,15 +838,15 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
838
838
|
}
|
|
839
839
|
Gt && (m = m.concat(), b && m.unshift(b), m.push(m[1]), b = m[m.length - 3]);
|
|
840
840
|
}
|
|
841
|
-
for (
|
|
841
|
+
for (bt.length = $.length = mt.length = 0, F = ct.length; --F > -1; )
|
|
842
842
|
Z = ct[F], ht[Z] = X.indexOf("," + Z + ",") !== -1, ie[Z] = St(m, Z, ht[Z], b);
|
|
843
|
-
for (F =
|
|
844
|
-
|
|
843
|
+
for (F = bt.length; --F > -1; )
|
|
844
|
+
bt[F] = Math.sqrt(bt[F]), $[F] = Math.sqrt($[F]);
|
|
845
845
|
if (!w) {
|
|
846
846
|
for (F = ct.length; --F > -1; )
|
|
847
847
|
if (ht[Z])
|
|
848
848
|
for (st = ie[ct[F]], Lt = st.length - 1, it = 0; Lt > it; it++)
|
|
849
|
-
Pt = st[it + 1].da / $[it] + st[it].da /
|
|
849
|
+
Pt = st[it + 1].da / $[it] + st[it].da / bt[it] || 0, mt[it] = (mt[it] || 0) + Pt * Pt;
|
|
850
850
|
for (F = mt.length; --F > -1; )
|
|
851
851
|
mt[F] = Math.sqrt(mt[F]);
|
|
852
852
|
}
|
|
@@ -983,10 +983,10 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
983
983
|
}(), Ke._gsDefine(
|
|
984
984
|
"plugins.CSSPlugin",
|
|
985
985
|
["plugins.TweenPlugin", "TweenLite"],
|
|
986
|
-
function(p,
|
|
986
|
+
function(p, bt) {
|
|
987
987
|
var $, mt, ht, M, yt = function() {
|
|
988
988
|
p.call(this, "css"), this._overwriteProps.length = 0, this.setRatio = yt.prototype.setRatio;
|
|
989
|
-
},
|
|
989
|
+
}, Ot = Ke._gsDefine.globals, Y = {}, lt = yt.prototype = new p("css");
|
|
990
990
|
lt.constructor = yt, yt.version = "2.0.2", yt.API = 2, yt.defaultTransformPerspective = 0, yt.defaultSkewType = "compensated", yt.defaultSmoothOrigin = !0, lt = "px", yt.suffixMap = {
|
|
991
991
|
top: lt,
|
|
992
992
|
right: lt,
|
|
@@ -1042,7 +1042,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1042
1042
|
if (V.cssText = "border:0 solid red;position:" + be(v, "position") + ";line-height:0;", L !== "%" && et.appendChild && L.charAt(0) !== "v" && L !== "rem")
|
|
1043
1043
|
V[nt ? "borderLeftWidth" : "borderTopWidth"] = R + L;
|
|
1044
1044
|
else {
|
|
1045
|
-
if (et = v.parentNode || ni.body, be(et, "display").indexOf("flex") !== -1 && (V.position = "absolute"), C = et._gsCache, Q =
|
|
1045
|
+
if (et = v.parentNode || ni.body, be(et, "display").indexOf("flex") !== -1 && (V.position = "absolute"), C = et._gsCache, Q = bt.ticker.frame, C && nt && C.time === Q)
|
|
1046
1046
|
return C.width * R / 100;
|
|
1047
1047
|
V[nt ? "width" : "height"] = R + L;
|
|
1048
1048
|
}
|
|
@@ -1165,7 +1165,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1165
1165
|
he = new RegExp(he + ")", "gi"), yt.colorStringFilter = function(v) {
|
|
1166
1166
|
var E, R = v[0] + " " + v[1];
|
|
1167
1167
|
he.test(R) && (E = R.indexOf("hsl(") !== -1 || R.indexOf("hsla(") !== -1, v[0] = Ut(v[0], E), v[1] = Ut(v[1], E)), he.lastIndex = 0;
|
|
1168
|
-
},
|
|
1168
|
+
}, bt.defaultStringFilter || (bt.defaultStringFilter = yt.colorStringFilter);
|
|
1169
1169
|
var De = function(v, E, R, L) {
|
|
1170
1170
|
if (v == null)
|
|
1171
1171
|
return function(Tt) {
|
|
@@ -1242,7 +1242,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1242
1242
|
return C.b = R, C.e = C.xs0 = L, C;
|
|
1243
1243
|
}, Vi = yt.parseComplex = function(v, E, R, L, y, W, C, Q, nt, et) {
|
|
1244
1244
|
R = R || W || "", typeof L == "function" && (L = L(m, H)), C = new je(v, E, 0, 0, C, et ? 2 : 1, null, !1, Q, R, L), L += "", y && he.test(L + R) && (L = [R, L], yt.colorStringFilter(L), R = L[0], L = L[1]);
|
|
1245
|
-
var V, Mt, Tt, gt, Nt, Et, oe, re, Ee, Kt, Bt, te,
|
|
1245
|
+
var V, Mt, Tt, gt, Nt, Et, oe, re, Ee, Kt, Bt, te, Ct, Ae = R.split(", ").join(",").split(" "), Zt = L.split(", ").join(",").split(" "), Ft = Ae.length, Jt = St !== !1;
|
|
1246
1246
|
for ((L.indexOf(",") !== -1 || R.indexOf(",") !== -1) && ((L + R).indexOf("rgb") !== -1 || (L + R).indexOf("hsl") !== -1 ? (Ae = Ae.join(" ").replace(Me, ", ").split(" "), Zt = Zt.join(" ").replace(Me, ", ").split(" ")) : (Ae = Ae.join(" ").split(",").join(", ").split(" "), Zt = Zt.join(" ").split(",").join(", ").split(" ")), Ft = Ae.length), Ft !== Zt.length && (Ae = (W || "").split(" "), Ft = Ae.length), C.plugin = nt, C.setRatio = et, he.lastIndex = 0, V = 0; Ft > V; V++)
|
|
1247
1247
|
if (gt = Ae[V], Nt = Zt[V] + "", re = parseFloat(gt), re || re === 0)
|
|
1248
1248
|
C.appendXtra(
|
|
@@ -1254,7 +1254,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1254
1254
|
!0
|
|
1255
1255
|
);
|
|
1256
1256
|
else if (y && he.test(gt))
|
|
1257
|
-
te = Nt.indexOf(")") + 1, te = ")" + (te ? Nt.substr(te) : ""),
|
|
1257
|
+
te = Nt.indexOf(")") + 1, te = ")" + (te ? Nt.substr(te) : ""), Ct = Nt.indexOf("hsl") !== -1 && Qe, Kt = Nt, gt = se(gt, Ct), Nt = se(Nt, Ct), Ee = gt.length + Nt.length > 6, Ee && !Qe && Nt[3] === 0 ? (C["xs" + C.l] += C.l ? " transparent" : "transparent", C.e = C.e.split(Zt[V]).join("transparent")) : (Qe || (Ee = !1), Ct ? C.appendXtra(
|
|
1258
1258
|
Kt.substr(0, Kt.indexOf("hsl")) + (Ee ? "hsla(" : "hsl("),
|
|
1259
1259
|
gt[0],
|
|
1260
1260
|
J(Nt[0], gt[0]),
|
|
@@ -1337,7 +1337,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1337
1337
|
var E = v.charAt(0).toUpperCase() + v.substr(1) + "Plugin";
|
|
1338
1338
|
Je(v, {
|
|
1339
1339
|
parser: function(R, L, y, W, C, Q, nt) {
|
|
1340
|
-
var et =
|
|
1340
|
+
var et = Ot.com.greensock.plugins[E];
|
|
1341
1341
|
return et ? (et._cssRegister(), Y[y].parse(R, L, y, W, C, Q, nt)) : (Lr("Error: " + E + " js file not loaded."), C);
|
|
1342
1342
|
}
|
|
1343
1343
|
});
|
|
@@ -1441,8 +1441,8 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1441
1441
|
v.getAttribute("data-svg-origin")
|
|
1442
1442
|
), ir = yt.useSVGTransformAttr || is), y = tn(v), y !== Kr) {
|
|
1443
1443
|
if (y.length === 16) {
|
|
1444
|
-
var oe, re, Ee, Kt, Bt, te = y[0],
|
|
1445
|
-
V.zOrigin && (si = -V.zOrigin, ti = Fe * si - y[12], ei = Ge * si - y[13], si = Ve * si + V.zOrigin - y[14]), V.rotationX = He * Ue, He && (Kt = Math.cos(-He), Bt = Math.sin(-He), oe = Ft * Kt + Fe * Bt, re = Jt * Kt + Ge * Bt, Ee = vi * Kt + Ve * Bt, Fe = Ft * -Bt + Fe * Kt, Ge = Jt * -Bt + Ge * Kt, Ve = vi * -Bt + Ve * Kt, ai = Xi * -Bt + ai * Kt, Ft = oe, Jt = re, vi = Ee), He = Math.atan2(-Ae, Ve), V.rotationY = He * Ue, He && (Kt = Math.cos(-He), Bt = Math.sin(-He), oe = te * Kt - Fe * Bt, re =
|
|
1444
|
+
var oe, re, Ee, Kt, Bt, te = y[0], Ct = y[1], Ae = y[2], Zt = y[3], Ft = y[4], Jt = y[5], vi = y[6], Xi = y[7], Fe = y[8], Ge = y[9], Ve = y[10], ti = y[12], ei = y[13], si = y[14], ai = y[11], He = Math.atan2(vi, Ve);
|
|
1445
|
+
V.zOrigin && (si = -V.zOrigin, ti = Fe * si - y[12], ei = Ge * si - y[13], si = Ve * si + V.zOrigin - y[14]), V.rotationX = He * Ue, He && (Kt = Math.cos(-He), Bt = Math.sin(-He), oe = Ft * Kt + Fe * Bt, re = Jt * Kt + Ge * Bt, Ee = vi * Kt + Ve * Bt, Fe = Ft * -Bt + Fe * Kt, Ge = Jt * -Bt + Ge * Kt, Ve = vi * -Bt + Ve * Kt, ai = Xi * -Bt + ai * Kt, Ft = oe, Jt = re, vi = Ee), He = Math.atan2(-Ae, Ve), V.rotationY = He * Ue, He && (Kt = Math.cos(-He), Bt = Math.sin(-He), oe = te * Kt - Fe * Bt, re = Ct * Kt - Ge * Bt, Ee = Ae * Kt - Ve * Bt, Ge = Ct * Bt + Ge * Kt, Ve = Ae * Bt + Ve * Kt, ai = Zt * Bt + ai * Kt, te = oe, Ct = re, Ae = Ee), He = Math.atan2(Ct, te), V.rotation = He * Ue, He && (Kt = Math.cos(He), Bt = Math.sin(He), oe = te * Kt + Ct * Bt, re = Ft * Kt + Jt * Bt, Ee = Fe * Kt + Ge * Bt, Ct = Ct * Kt - te * Bt, Jt = Jt * Kt - Ft * Bt, Ge = Ge * Kt - Fe * Bt, te = oe, Ft = re, Fe = Ee), V.rotationX && Math.abs(V.rotationX) + Math.abs(V.rotation) > 359.9 && (V.rotationX = V.rotation = 0, V.rotationY = 180 - V.rotationY), He = Math.atan2(Ft, Jt), V.scaleX = (Math.sqrt(te * te + Ct * Ct + Ae * Ae) * gt + 0.5 | 0) / gt, V.scaleY = (Math.sqrt(Jt * Jt + vi * vi) * gt + 0.5 | 0) / gt, V.scaleZ = (Math.sqrt(Fe * Fe + Ge * Ge + Ve * Ve) * gt + 0.5 | 0) / gt, te /= V.scaleX, Ft /= V.scaleY, Ct /= V.scaleX, Jt /= V.scaleY, Math.abs(He) > Tt ? (V.skewX = He * Ue, Ft = 0, V.skewType !== "simple" && (V.scaleY *= 1 / Math.cos(He))) : V.skewX = 0, V.perspective = ai ? 1 / (0 > ai ? -ai : ai) : 0, V.x = ti, V.y = ei, V.z = si, V.svg && (V.x -= V.xOrigin - (V.xOrigin * te - V.yOrigin * Ft), V.y -= V.yOrigin - (V.yOrigin * Ct - V.xOrigin * Jt));
|
|
1446
1446
|
} else if (!Fi || L || !y.length || V.x !== y[4] || V.y !== y[5] || !V.rotationX && !V.rotationY) {
|
|
1447
1447
|
var ze = y.length >= 6, Xe = ze ? y[0] : 1, Le = y[1] || 0, or = y[2] || 0, _i = ze ? y[3] : 1;
|
|
1448
1448
|
V.x = y[4] || 0, V.y = y[5] || 0, C = Math.sqrt(Xe * Xe + Le * Le), Q = Math.sqrt(_i * _i + or * or), nt = Xe || Le ? Math.atan2(Le, Xe) * Ue : V.rotation || 0, et = or || _i ? Math.atan2(or, _i) * Ue + nt : V.skewX || 0, V.scaleX = C, V.scaleY = Q, V.rotation = nt, V.skewX = et, Fi && (V.rotationX = V.rotationY = V.z = 0, V.perspective = Et, V.scaleZ = 1), V.svg && (V.x -= V.xOrigin - (V.xOrigin * Xe + V.yOrigin * or), V.y -= V.yOrigin - (V.xOrigin * Le + V.yOrigin * _i));
|
|
@@ -1451,9 +1451,9 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1451
1451
|
for (W in V)
|
|
1452
1452
|
V[W] < Tt && V[W] > -Tt && (V[W] = 0);
|
|
1453
1453
|
}
|
|
1454
|
-
return R && (v._gsTransform = V, V.svg && (ir && v.style[ci] ?
|
|
1454
|
+
return R && (v._gsTransform = V, V.svg && (ir && v.style[ci] ? bt.delayedCall(1e-3, function() {
|
|
1455
1455
|
Cr(v.style, ci);
|
|
1456
|
-
}) : !ir && v.getAttribute("transform") &&
|
|
1456
|
+
}) : !ir && v.getAttribute("transform") && bt.delayedCall(1e-3, function() {
|
|
1457
1457
|
v.removeAttribute("transform");
|
|
1458
1458
|
}))), V;
|
|
1459
1459
|
}, rs = function(v) {
|
|
@@ -1462,21 +1462,21 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1462
1462
|
R = nt, nt = -et, et = -R, E = Tt.filter, Mt.filter = "";
|
|
1463
1463
|
var gt, Nt, Et = this.t.offsetWidth, oe = this.t.offsetHeight, re = Tt.position !== "absolute", Ee = "progid:DXImageTransform.Microsoft.Matrix(M11=" + Q + ", M12=" + nt + ", M21=" + et + ", M22=" + V, Kt = L.x + Et * L.xPercent / 100, Bt = L.y + oe * L.yPercent / 100;
|
|
1464
1464
|
if (L.ox != null && (gt = (L.oxp ? Et * L.ox * 0.01 : L.ox) - Et / 2, Nt = (L.oyp ? oe * L.oy * 0.01 : L.oy) - oe / 2, Kt += gt - (gt * Q + Nt * nt), Bt += Nt - (gt * et + Nt * V)), re ? (gt = Et / 2, Nt = oe / 2, Ee += ", Dx=" + (gt - (gt * Q + Nt * nt) + Kt) + ", Dy=" + (Nt - (gt * et + Nt * V) + Bt) + ")") : Ee += ", sizingMethod='auto expand')", E.indexOf("DXImageTransform.Microsoft.Matrix(") !== -1 ? Mt.filter = E.replace(kt, Ee) : Mt.filter = Ee + " " + E, (v === 0 || v === 1) && Q === 1 && nt === 0 && et === 0 && V === 1 && (re && Ee.indexOf("Dx=0, Dy=0") === -1 || F.test(E) && parseFloat(RegExp.$1) !== 100 || E.indexOf(E.indexOf("Alpha")) === -1 && Mt.removeAttribute("filter")), !re) {
|
|
1465
|
-
var te,
|
|
1465
|
+
var te, Ct, Ae, Zt = 8 > K ? 1 : -1;
|
|
1466
1466
|
for (gt = L.ieOffsetX || 0, Nt = L.ieOffsetY || 0, L.ieOffsetX = Math.round(
|
|
1467
1467
|
(Et - ((0 > Q ? -Q : Q) * Et + (0 > nt ? -nt : nt) * oe)) / 2 + Kt
|
|
1468
1468
|
), L.ieOffsetY = Math.round(
|
|
1469
1469
|
(oe - ((0 > V ? -V : V) * oe + (0 > et ? -et : et) * Et)) / 2 + Bt
|
|
1470
1470
|
), oi = 0; 4 > oi; oi++)
|
|
1471
|
-
|
|
1471
|
+
Ct = D[oi], te = Tt[Ct], R = te.indexOf("px") !== -1 ? parseFloat(te) : Ti(this.t, Ct, parseFloat(te), te.replace(b, "")) || 0, Ae = R !== L[Ct] ? 2 > oi ? -L.ieOffsetX : -L.ieOffsetY : 2 > oi ? gt - L.ieOffsetX : Nt - L.ieOffsetY, Mt[Ct] = (L[Ct] = Math.round(
|
|
1472
1472
|
R - Ae * (oi === 0 || oi === 2 ? 1 : Zt)
|
|
1473
1473
|
)) + "px";
|
|
1474
1474
|
}
|
|
1475
1475
|
}
|
|
1476
1476
|
}, ns = Ce.set3DTransformRatio = Ce.setTransformRatio = function(v) {
|
|
1477
|
-
var E, R, L, y, W, C, Q, nt, et, V, Mt, Tt, gt, Nt, Et, oe, re, Ee, Kt, Bt, te,
|
|
1477
|
+
var E, R, L, y, W, C, Q, nt, et, V, Mt, Tt, gt, Nt, Et, oe, re, Ee, Kt, Bt, te, Ct, Ae, Zt = this.data, Ft = this.t.style, Jt = Zt.rotation, vi = Zt.rotationX, Xi = Zt.rotationY, Fe = Zt.scaleX, Ge = Zt.scaleY, Ve = Zt.scaleZ, ti = Zt.x, ei = Zt.y, si = Zt.z, ai = Zt.svg, He = Zt.perspective, ze = Zt.force3D, Xe = Zt.skewY, Le = Zt.skewX;
|
|
1478
1478
|
if (Xe && (Le += Xe, Jt += Xe), ((v === 1 || v === 0) && ze === "auto" && (this.tween._totalTime === this.tween._totalDuration || !this.tween._totalTime) || !ze) && !si && !He && !Xi && !vi && Ve === 1 || ir && ai || !Fi)
|
|
1479
|
-
return void (Jt || Le || ai ? (Jt *= Rt,
|
|
1479
|
+
return void (Jt || Le || ai ? (Jt *= Rt, Ct = Le * Rt, Ae = 1e5, R = Math.cos(Jt) * Fe, W = Math.sin(Jt) * Fe, L = Math.sin(Jt - Ct) * -Ge, C = Math.cos(Jt - Ct) * Ge, Ct && Zt.skewType === "simple" && (E = Math.tan(Ct - Xe * Rt), E = Math.sqrt(1 + E * E), L *= E, C *= E, Xe && (E = Math.tan(Xe * Rt), E = Math.sqrt(1 + E * E), R *= E, W *= E)), ai && (ti += Zt.xOrigin - (Zt.xOrigin * R + Zt.yOrigin * L) + Zt.xOffset, ei += Zt.yOrigin - (Zt.xOrigin * W + Zt.yOrigin * C) + Zt.yOffset, ir && (Zt.xPercent || Zt.yPercent) && (Et = this.t.getBBox(), ti += 0.01 * Zt.xPercent * Et.width, ei += 0.01 * Zt.yPercent * Et.height), Et = 1e-6, Et > ti && ti > -Et && (ti = 0), Et > ei && ei > -Et && (ei = 0)), Kt = (R * Ae | 0) / Ae + "," + (W * Ae | 0) / Ae + "," + (L * Ae | 0) / Ae + "," + (C * Ae | 0) / Ae + "," + ti + "," + ei + ")", ai && ir ? this.t.setAttribute("transform", "matrix(" + Kt) : Ft[ci] = (Zt.xPercent || Zt.yPercent ? "translate(" + Zt.xPercent + "%," + Zt.yPercent + "%) matrix(" : "matrix(") + Kt) : Ft[ci] = (Zt.xPercent || Zt.yPercent ? "translate(" + Zt.xPercent + "%," + Zt.yPercent + "%) matrix(" : "matrix(") + Fe + ",0,0," + Ge + "," + ti + "," + ei + ")");
|
|
1480
1480
|
if (Dt && (Et = 1e-4, Et > Fe && Fe > -Et && (Fe = Ve = 2e-5), Et > Ge && Ge > -Et && (Ge = Ve = 2e-5), !He || Zt.z || Zt.rotationX || Zt.rotationY || (He = 0)), Jt || Le)
|
|
1481
1481
|
Jt *= Rt, oe = R = Math.cos(Jt), re = W = Math.sin(Jt), Le && (Jt -= Le * Rt, oe = Math.cos(Jt), re = Math.sin(Jt), Zt.skewType === "simple" && (E = Math.tan((Le - Xe) * Rt), E = Math.sqrt(1 + E * E), oe *= E, re *= E, Zt.skewY && (E = Math.tan(Xe * Rt), E = Math.sqrt(1 + E * E), R *= E, W *= E))), L = -re, C = oe;
|
|
1482
1482
|
else {
|
|
@@ -1495,59 +1495,59 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1495
1495
|
L._lastParsedTransform = C;
|
|
1496
1496
|
var Q, nt = C.scale && typeof C.scale == "function" ? C.scale : 0;
|
|
1497
1497
|
typeof C[R] == "function" && (Q = C[R], C[R] = E), nt && (C.scale = nt(m, v));
|
|
1498
|
-
var et, V, Mt, Tt, gt, Nt, Et, oe, re, Ee = v._gsTransform, Kt = v.style, Bt = 1e-6, te = wo.length,
|
|
1499
|
-
if (Ft.skewType =
|
|
1500
|
-
V = Ze.style, V[ci] = Jt, V.display = "block", V.position = "absolute", Jt.indexOf("%") !== -1 && (V.width = be(v, "width"), V.height = be(v, "height")), ni.body.appendChild(Ze), et = nr(Ze, null, !1), Ft.skewType === "simple" && (et.scaleY *= Math.cos(et.skewX * Rt)), Ft.svg && (Nt = Ft.xOrigin, Et = Ft.yOrigin, et.x -= Ft.xOffset, et.y -= Ft.yOffset, (
|
|
1498
|
+
var et, V, Mt, Tt, gt, Nt, Et, oe, re, Ee = v._gsTransform, Kt = v.style, Bt = 1e-6, te = wo.length, Ct = C, Ae = {}, Zt = "transformOrigin", Ft = nr(v, ht, !0, Ct.parseTransform), Jt = Ct.transform && (typeof Ct.transform == "function" ? Ct.transform(m, H) : Ct.transform);
|
|
1499
|
+
if (Ft.skewType = Ct.skewType || Ft.skewType || yt.defaultSkewType, L._transform = Ft, "rotationZ" in Ct && (Ct.rotation = Ct.rotationZ), Jt && typeof Jt == "string" && ci)
|
|
1500
|
+
V = Ze.style, V[ci] = Jt, V.display = "block", V.position = "absolute", Jt.indexOf("%") !== -1 && (V.width = be(v, "width"), V.height = be(v, "height")), ni.body.appendChild(Ze), et = nr(Ze, null, !1), Ft.skewType === "simple" && (et.scaleY *= Math.cos(et.skewX * Rt)), Ft.svg && (Nt = Ft.xOrigin, Et = Ft.yOrigin, et.x -= Ft.xOffset, et.y -= Ft.yOffset, (Ct.transformOrigin || Ct.svgOrigin) && (Jt = {}, $r(
|
|
1501
1501
|
v,
|
|
1502
|
-
U(
|
|
1502
|
+
U(Ct.transformOrigin),
|
|
1503
1503
|
Jt,
|
|
1504
|
-
|
|
1505
|
-
|
|
1504
|
+
Ct.svgOrigin,
|
|
1505
|
+
Ct.smoothOrigin,
|
|
1506
1506
|
!0
|
|
1507
|
-
), Nt = Jt.xOrigin, Et = Jt.yOrigin, et.x -= Jt.xOffset - Ft.xOffset, et.y -= Jt.yOffset - Ft.yOffset), (Nt || Et) && (oe = tn(Ze, !0), et.x -= Nt - (Nt * oe[0] + Et * oe[2]), et.y -= Et - (Nt * oe[1] + Et * oe[3]))), ni.body.removeChild(Ze), et.perspective || (et.perspective = Ft.perspective),
|
|
1508
|
-
else if (typeof
|
|
1507
|
+
), Nt = Jt.xOrigin, Et = Jt.yOrigin, et.x -= Jt.xOffset - Ft.xOffset, et.y -= Jt.yOffset - Ft.yOffset), (Nt || Et) && (oe = tn(Ze, !0), et.x -= Nt - (Nt * oe[0] + Et * oe[2]), et.y -= Et - (Nt * oe[1] + Et * oe[3]))), ni.body.removeChild(Ze), et.perspective || (et.perspective = Ft.perspective), Ct.xPercent != null && (et.xPercent = dt(Ct.xPercent, Ft.xPercent)), Ct.yPercent != null && (et.yPercent = dt(Ct.yPercent, Ft.yPercent));
|
|
1508
|
+
else if (typeof Ct == "object") {
|
|
1509
1509
|
if (et = {
|
|
1510
1510
|
scaleX: dt(
|
|
1511
|
-
|
|
1511
|
+
Ct.scaleX != null ? Ct.scaleX : Ct.scale,
|
|
1512
1512
|
Ft.scaleX
|
|
1513
1513
|
),
|
|
1514
1514
|
scaleY: dt(
|
|
1515
|
-
|
|
1515
|
+
Ct.scaleY != null ? Ct.scaleY : Ct.scale,
|
|
1516
1516
|
Ft.scaleY
|
|
1517
1517
|
),
|
|
1518
|
-
scaleZ: dt(
|
|
1519
|
-
x: dt(
|
|
1520
|
-
y: dt(
|
|
1521
|
-
z: dt(
|
|
1522
|
-
xPercent: dt(
|
|
1523
|
-
yPercent: dt(
|
|
1524
|
-
perspective: dt(
|
|
1525
|
-
}, gt =
|
|
1518
|
+
scaleZ: dt(Ct.scaleZ, Ft.scaleZ),
|
|
1519
|
+
x: dt(Ct.x, Ft.x),
|
|
1520
|
+
y: dt(Ct.y, Ft.y),
|
|
1521
|
+
z: dt(Ct.z, Ft.z),
|
|
1522
|
+
xPercent: dt(Ct.xPercent, Ft.xPercent),
|
|
1523
|
+
yPercent: dt(Ct.yPercent, Ft.yPercent),
|
|
1524
|
+
perspective: dt(Ct.transformPerspective, Ft.perspective)
|
|
1525
|
+
}, gt = Ct.directionalRotation, gt != null)
|
|
1526
1526
|
if (typeof gt == "object")
|
|
1527
1527
|
for (V in gt)
|
|
1528
|
-
|
|
1528
|
+
Ct[V] = gt[V];
|
|
1529
1529
|
else
|
|
1530
|
-
|
|
1531
|
-
typeof
|
|
1532
|
-
"rotation" in
|
|
1530
|
+
Ct.rotation = gt;
|
|
1531
|
+
typeof Ct.x == "string" && Ct.x.indexOf("%") !== -1 && (et.x = 0, et.xPercent = dt(Ct.x, Ft.xPercent)), typeof Ct.y == "string" && Ct.y.indexOf("%") !== -1 && (et.y = 0, et.yPercent = dt(Ct.y, Ft.yPercent)), et.rotation = wt(
|
|
1532
|
+
"rotation" in Ct ? Ct.rotation : "shortRotation" in Ct ? Ct.shortRotation + "_short" : Ft.rotation,
|
|
1533
1533
|
Ft.rotation,
|
|
1534
1534
|
"rotation",
|
|
1535
1535
|
Ae
|
|
1536
1536
|
), Fi && (et.rotationX = wt(
|
|
1537
|
-
"rotationX" in
|
|
1537
|
+
"rotationX" in Ct ? Ct.rotationX : "shortRotationX" in Ct ? Ct.shortRotationX + "_short" : Ft.rotationX || 0,
|
|
1538
1538
|
Ft.rotationX,
|
|
1539
1539
|
"rotationX",
|
|
1540
1540
|
Ae
|
|
1541
1541
|
), et.rotationY = wt(
|
|
1542
|
-
"rotationY" in
|
|
1542
|
+
"rotationY" in Ct ? Ct.rotationY : "shortRotationY" in Ct ? Ct.shortRotationY + "_short" : Ft.rotationY || 0,
|
|
1543
1543
|
Ft.rotationY,
|
|
1544
1544
|
"rotationY",
|
|
1545
1545
|
Ae
|
|
1546
|
-
)), et.skewX = wt(
|
|
1546
|
+
)), et.skewX = wt(Ct.skewX, Ft.skewX), et.skewY = wt(Ct.skewY, Ft.skewY);
|
|
1547
1547
|
}
|
|
1548
|
-
for (Fi &&
|
|
1549
|
-
re = wo[te], Jt = et[re] - Ft[re], (Jt > Bt || -Bt > Jt ||
|
|
1550
|
-
return Jt =
|
|
1548
|
+
for (Fi && Ct.force3D != null && (Ft.force3D = Ct.force3D, Tt = !0), Mt = Ft.force3D || Ft.z || Ft.rotationX || Ft.rotationY || et.z || et.rotationX || et.rotationY || et.perspective, Mt || Ct.scale == null || (et.scaleZ = 1); --te > -1; )
|
|
1549
|
+
re = wo[te], Jt = et[re] - Ft[re], (Jt > Bt || -Bt > Jt || Ct[re] != null || gi[re] != null) && (Tt = !0, y = new je(Ft, re, Ft[re], Jt, y), re in Ae && (y.e = Ae[re]), y.xs0 = 0, y.plugin = W, L._overwriteProps.push(y.n));
|
|
1550
|
+
return Jt = Ct.transformOrigin, Ft.svg && (Jt || Ct.svgOrigin) && (Nt = Ft.xOffset, Et = Ft.yOffset, $r(v, U(Jt), et, Ct.svgOrigin, Ct.smoothOrigin), y = fr(
|
|
1551
1551
|
Ft,
|
|
1552
1552
|
"xOrigin",
|
|
1553
1553
|
(Ee ? Ft : et).xOrigin,
|
|
@@ -1589,14 +1589,14 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1589
1589
|
defaultValue: "0px",
|
|
1590
1590
|
parser: function(v, E, R, L, y, W) {
|
|
1591
1591
|
E = this.format(E);
|
|
1592
|
-
var C, Q, nt, et, V, Mt, Tt, gt, Nt, Et, oe, re, Ee, Kt, Bt, te,
|
|
1592
|
+
var C, Q, nt, et, V, Mt, Tt, gt, Nt, Et, oe, re, Ee, Kt, Bt, te, Ct = [
|
|
1593
1593
|
"borderTopLeftRadius",
|
|
1594
1594
|
"borderTopRightRadius",
|
|
1595
1595
|
"borderBottomRightRadius",
|
|
1596
1596
|
"borderBottomLeftRadius"
|
|
1597
1597
|
], Ae = v.style;
|
|
1598
|
-
for (Nt = parseFloat(v.offsetWidth), Et = parseFloat(v.offsetHeight), C = E.split(" "), Q = 0; Q <
|
|
1599
|
-
this.p.indexOf("border") && (
|
|
1598
|
+
for (Nt = parseFloat(v.offsetWidth), Et = parseFloat(v.offsetHeight), C = E.split(" "), Q = 0; Q < Ct.length; Q++)
|
|
1599
|
+
this.p.indexOf("border") && (Ct[Q] = tr(Ct[Q])), V = et = be(v, Ct[Q], ht, !1, "0px"), V.indexOf(" ") !== -1 && (et = V.split(" "), V = et[0], et = et[1]), Mt = nt = C[Q], Tt = parseFloat(V), re = V.substr((Tt + "").length), Ee = Mt.charAt(1) === "=", Ee ? (gt = parseInt(Mt.charAt(0) + "1", 10), Mt = Mt.substr(2), gt *= parseFloat(Mt), oe = Mt.substr((gt + "").length - (0 > gt ? 1 : 0)) || "") : (gt = parseFloat(Mt), oe = Mt.substr((gt + "").length)), oe === "" && (oe = mt[R] || re), oe !== re && (Kt = Ti(v, "borderLeft", Tt, re), Bt = Ti(v, "borderTop", Tt, re), oe === "%" ? (V = Kt / Nt * 100 + "%", et = Bt / Et * 100 + "%") : oe === "em" ? (te = Ti(v, "borderLeft", 1, "em"), V = Kt / te + "em", et = Bt / te + "em") : (V = Kt + "px", et = Bt + "px"), Ee && (Mt = parseFloat(V) + gt + oe, nt = parseFloat(et) + gt + oe)), y = Vi(Ae, Ct[Q], V + " " + et, Mt + " " + nt, !1, "0px", y);
|
|
1600
1600
|
return y;
|
|
1601
1601
|
},
|
|
1602
1602
|
prefix: !0,
|
|
@@ -1912,7 +1912,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1912
1912
|
W = L[y], C = W.type, W.style && (E.push(er(W)), R && R.push(W)), C !== 1 && C !== 9 && C !== 11 || !W.childNodes.length || Tr(W, E, R);
|
|
1913
1913
|
};
|
|
1914
1914
|
return yt.cascadeTo = function(v, E, R) {
|
|
1915
|
-
var L, y, W, C, Q =
|
|
1915
|
+
var L, y, W, C, Q = bt.to(v, E, R), nt = [Q], et = [], V = [], Mt = [], Tt = bt._internals.reservedProps;
|
|
1916
1916
|
for (v = Q._targets || Q.target, Tr(v, et, Mt), Q.render(E, !0, !0), Tr(v, V), Q.render(0, !0, !0), Q._enabled(!0), L = Mt.length; --L > -1; )
|
|
1917
1917
|
if (y = Ri(Mt[L], et[L], V[L]), y.firstMPT) {
|
|
1918
1918
|
y = y.difs;
|
|
@@ -1921,7 +1921,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1921
1921
|
C = {};
|
|
1922
1922
|
for (W in y)
|
|
1923
1923
|
C[W] = et[L][W];
|
|
1924
|
-
nt.push(
|
|
1924
|
+
nt.push(bt.fromTo(Mt[L], E, C, y));
|
|
1925
1925
|
}
|
|
1926
1926
|
return nt;
|
|
1927
1927
|
}, p.activate([yt]), yt;
|
|
@@ -1936,7 +1936,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1936
1936
|
init: function(ht, M, yt) {
|
|
1937
1937
|
return this._tween = yt, !0;
|
|
1938
1938
|
}
|
|
1939
|
-
}),
|
|
1939
|
+
}), bt = function(ht) {
|
|
1940
1940
|
var M = 1 > ht ? Math.pow(10, (ht + "").length - 2) : 1;
|
|
1941
1941
|
return function(yt) {
|
|
1942
1942
|
return (Math.round(yt / ht) * ht * M | 0) / M;
|
|
@@ -1946,31 +1946,31 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1946
1946
|
ht.f || ht.blob || (ht.m = M || Math.round), ht = ht._next;
|
|
1947
1947
|
}, mt = p.prototype;
|
|
1948
1948
|
mt._onInitAllProps = function() {
|
|
1949
|
-
var ht, M, yt,
|
|
1949
|
+
var ht, M, yt, Ot, Y = this._tween, lt = Y.vars.roundProps, St = {}, ut = Y._propLookup.roundProps;
|
|
1950
1950
|
if (typeof lt != "object" || lt.push)
|
|
1951
1951
|
for (typeof lt == "string" && (lt = lt.split(",")), yt = lt.length; --yt > -1; )
|
|
1952
1952
|
St[lt[yt]] = Math.round;
|
|
1953
1953
|
else
|
|
1954
|
-
for (
|
|
1955
|
-
St[
|
|
1956
|
-
for (
|
|
1954
|
+
for (Ot in lt)
|
|
1955
|
+
St[Ot] = bt(lt[Ot]);
|
|
1956
|
+
for (Ot in St)
|
|
1957
1957
|
for (ht = Y._firstPT; ht; )
|
|
1958
|
-
M = ht._next, ht.pg ? ht.t._mod(St) : ht.n ===
|
|
1958
|
+
M = ht._next, ht.pg ? ht.t._mod(St) : ht.n === Ot && (ht.f === 2 && ht.t ? $(ht.t._firstPT, St[Ot]) : (this._add(ht.t, Ot, ht.s, ht.c, St[Ot]), M && (M._prev = ht._prev), ht._prev ? ht._prev._next = M : Y._firstPT === ht && (Y._firstPT = M), ht._next = ht._prev = null, Y._propLookup[Ot] = ut)), ht = M;
|
|
1959
1959
|
return !1;
|
|
1960
|
-
}, mt._add = function(ht, M, yt,
|
|
1961
|
-
this._addTween(ht, M, yt, yt +
|
|
1960
|
+
}, mt._add = function(ht, M, yt, Ot, Y) {
|
|
1961
|
+
this._addTween(ht, M, yt, yt + Ot, M, Y || Math.round), this._overwriteProps.push(M);
|
|
1962
1962
|
};
|
|
1963
1963
|
}(), function() {
|
|
1964
1964
|
Ke._gsDefine.plugin({
|
|
1965
1965
|
propName: "attr",
|
|
1966
1966
|
API: 2,
|
|
1967
1967
|
version: "0.6.1",
|
|
1968
|
-
init: function(p,
|
|
1968
|
+
init: function(p, bt, $, mt) {
|
|
1969
1969
|
var ht, M;
|
|
1970
1970
|
if (typeof p.setAttribute != "function")
|
|
1971
1971
|
return !1;
|
|
1972
|
-
for (ht in
|
|
1973
|
-
M =
|
|
1972
|
+
for (ht in bt)
|
|
1973
|
+
M = bt[ht], typeof M == "function" && (M = M(mt, p)), this._addTween(
|
|
1974
1974
|
p,
|
|
1975
1975
|
"setAttribute",
|
|
1976
1976
|
p.getAttribute(ht) + "",
|
|
@@ -1986,28 +1986,28 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1986
1986
|
propName: "directionalRotation",
|
|
1987
1987
|
version: "0.3.1",
|
|
1988
1988
|
API: 2,
|
|
1989
|
-
init: function(p,
|
|
1990
|
-
typeof
|
|
1991
|
-
var ht, M, yt,
|
|
1992
|
-
for (ht in
|
|
1993
|
-
ht !== "useRadians" && (
|
|
1989
|
+
init: function(p, bt, $, mt) {
|
|
1990
|
+
typeof bt != "object" && (bt = { rotation: bt }), this.finals = {};
|
|
1991
|
+
var ht, M, yt, Ot, Y, lt, St = bt.useRadians === !0 ? 2 * Math.PI : 360, ut = 1e-6;
|
|
1992
|
+
for (ht in bt)
|
|
1993
|
+
ht !== "useRadians" && (Ot = bt[ht], typeof Ot == "function" && (Ot = Ot(mt, p)), lt = (Ot + "").split("_"), M = lt[0], yt = parseFloat(
|
|
1994
1994
|
typeof p[ht] != "function" ? p[ht] : p[ht.indexOf("set") || typeof p["get" + ht.substr(3)] != "function" ? ht : "get" + ht.substr(3)]()
|
|
1995
|
-
),
|
|
1995
|
+
), Ot = this.finals[ht] = typeof M == "string" && M.charAt(1) === "=" ? yt + parseInt(M.charAt(0) + "1", 10) * Number(M.substr(2)) : Number(M) || 0, Y = Ot - yt, lt.length && (M = lt.join("_"), M.indexOf("short") !== -1 && (Y %= St, Y !== Y % (St / 2) && (Y = 0 > Y ? Y + St : Y - St)), M.indexOf("_cw") !== -1 && 0 > Y ? Y = (Y + 9999999999 * St) % St - (Y / St | 0) * St : M.indexOf("ccw") !== -1 && Y > 0 && (Y = (Y - 9999999999 * St) % St - (Y / St | 0) * St)), (Y > ut || -ut > Y) && (this._addTween(p, ht, yt, yt + Y, ht), this._overwriteProps.push(ht)));
|
|
1996
1996
|
return !0;
|
|
1997
1997
|
},
|
|
1998
1998
|
set: function(p) {
|
|
1999
|
-
var
|
|
1999
|
+
var bt;
|
|
2000
2000
|
if (p !== 1)
|
|
2001
2001
|
this._super.setRatio.call(this, p);
|
|
2002
2002
|
else
|
|
2003
|
-
for (
|
|
2004
|
-
|
|
2003
|
+
for (bt = this._firstPT; bt; )
|
|
2004
|
+
bt.f ? bt.t[bt.p](this.finals[bt.p]) : bt.t[bt.p] = this.finals[bt.p], bt = bt._next;
|
|
2005
2005
|
}
|
|
2006
2006
|
})._autoCSS = !0, Ke._gsDefine(
|
|
2007
2007
|
"easing.Back",
|
|
2008
2008
|
["easing.Ease"],
|
|
2009
2009
|
function(p) {
|
|
2010
|
-
var
|
|
2010
|
+
var bt, $, mt, ht, M = Ke.GreenSockGlobals || Ke, yt = M.com.greensock, Ot = 2 * Math.PI, Y = Math.PI / 2, lt = yt._class, St = function(f, O) {
|
|
2011
2011
|
var w = lt("easing." + f, function() {
|
|
2012
2012
|
}, !0), X = w.prototype = new p();
|
|
2013
2013
|
return X.constructor = w, X.getRatio = O, w;
|
|
@@ -2055,16 +2055,16 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2055
2055
|
return f < this._p1 ? this._calcEnd ? 1 - (f = 1 - f / this._p1) * f : O - (f = 1 - f / this._p1) * f * f * f * O : f > this._p3 ? this._calcEnd ? f === 1 ? 0 : 1 - (f = (f - this._p3) / this._p1) * f : O + (f - O) * (f = (f - this._p3) / this._p1) * f * f * f : this._calcEnd ? 1 : O;
|
|
2056
2056
|
}, H.ease = new H(0.7, 0.7), m.config = H.config = function(f, O, w) {
|
|
2057
2057
|
return new H(f, O, w);
|
|
2058
|
-
},
|
|
2058
|
+
}, bt = lt(
|
|
2059
2059
|
"easing.SteppedEase",
|
|
2060
2060
|
function(f, O) {
|
|
2061
2061
|
f = f || 1, this._p1 = 1 / f, this._p2 = f + (O ? 0 : 1), this._p3 = O ? 1 : 0;
|
|
2062
2062
|
},
|
|
2063
2063
|
!0
|
|
2064
|
-
), m =
|
|
2064
|
+
), m = bt.prototype = new p(), m.constructor = bt, m.getRatio = function(f) {
|
|
2065
2065
|
return 0 > f ? f = 0 : f >= 1 && (f = 0.999999999), ((this._p2 * f | 0) + this._p3) * this._p1;
|
|
2066
|
-
}, m.config =
|
|
2067
|
-
return new
|
|
2066
|
+
}, m.config = bt.config = function(f, O) {
|
|
2067
|
+
return new bt(f, O);
|
|
2068
2068
|
}, $ = lt(
|
|
2069
2069
|
"easing.ExpoScaleEase",
|
|
2070
2070
|
function(f, O, w) {
|
|
@@ -2127,7 +2127,7 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2127
2127
|
var X = lt(
|
|
2128
2128
|
"easing." + f,
|
|
2129
2129
|
function(F, Z) {
|
|
2130
|
-
this._p1 = F >= 1 ? F : 1, this._p2 = (Z || w) / (1 > F ? F : 1), this._p3 = this._p2 /
|
|
2130
|
+
this._p1 = F >= 1 ? F : 1, this._p2 = (Z || w) / (1 > F ? F : 1), this._p3 = this._p2 / Ot * (Math.asin(1 / this._p1) || 0), this._p2 = Ot / this._p2;
|
|
2131
2131
|
},
|
|
2132
2132
|
!0
|
|
2133
2133
|
), b = X.prototype = new p();
|
|
@@ -2187,15 +2187,15 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2187
2187
|
}
|
|
2188
2188
|
},
|
|
2189
2189
|
!0
|
|
2190
|
-
), ut(M.SlowMo, "SlowMo", "ease,"), ut(mt, "RoughEase", "ease,"), ut(
|
|
2190
|
+
), ut(M.SlowMo, "SlowMo", "ease,"), ut(mt, "RoughEase", "ease,"), ut(bt, "SteppedEase", "ease,"), K;
|
|
2191
2191
|
},
|
|
2192
2192
|
!0
|
|
2193
2193
|
);
|
|
2194
|
-
}), Ke._gsDefine && Ke._gsQueue.pop()(), function(p,
|
|
2195
|
-
var $ = {}, mt = p.document, ht = p.GreenSockGlobals = p.GreenSockGlobals || p, M = ht[
|
|
2194
|
+
}), Ke._gsDefine && Ke._gsQueue.pop()(), function(p, bt) {
|
|
2195
|
+
var $ = {}, mt = p.document, ht = p.GreenSockGlobals = p.GreenSockGlobals || p, M = ht[bt];
|
|
2196
2196
|
if (M)
|
|
2197
2197
|
return typeof module < "u" && module.exports && (module.exports = M), M;
|
|
2198
|
-
var yt,
|
|
2198
|
+
var yt, Ot, Y, lt, St, ut = function(_) {
|
|
2199
2199
|
var D, B = _.split("."), U = ht;
|
|
2200
2200
|
for (D = 0; D < B.length; D++)
|
|
2201
2201
|
U[B[D]] = U = U[B[D]] || {};
|
|
@@ -2220,12 +2220,12 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2220
2220
|
if (he === 0 && B) {
|
|
2221
2221
|
if (pt = ("com.greensock." + _).split("."), ae = pt.pop(), se = ut(pt.join("."))[ae] = this.gsClass = B.apply(B, J), U)
|
|
2222
2222
|
if (ht[ae] = $[ae] = se, typeof module < "u" && module.exports)
|
|
2223
|
-
if (_ ===
|
|
2224
|
-
module.exports = $[
|
|
2223
|
+
if (_ === bt) {
|
|
2224
|
+
module.exports = $[bt] = se;
|
|
2225
2225
|
for (Ut in $)
|
|
2226
2226
|
se[Ut] = $[Ut];
|
|
2227
2227
|
} else
|
|
2228
|
-
$[
|
|
2228
|
+
$[bt] && ($[bt][ae] = se);
|
|
2229
2229
|
else
|
|
2230
2230
|
typeof define == "function" && define.amd && define(
|
|
2231
2231
|
(p.GreenSockAMDPath ? p.GreenSockAMDPath + "/" : "") + _.split(".").pop(),
|
|
@@ -2268,8 +2268,8 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2268
2268
|
return this._params[0] = _, this._func.apply(null, this._params);
|
|
2269
2269
|
var D = this._type, B = this._power, U = D === 1 ? 1 - _ : D === 2 ? _ : 0.5 > _ ? 2 * _ : 2 * (1 - _);
|
|
2270
2270
|
return B === 1 ? U *= U : B === 2 ? U *= U * U : B === 3 ? U *= U * U * U : B === 4 && (U *= U * U * U * U), D === 1 ? 1 - U : D === 2 ? U : 0.5 > _ ? U / 2 : 1 - U / 2;
|
|
2271
|
-
}, yt = ["Linear", "Quad", "Cubic", "Quart", "Quint,Strong"],
|
|
2272
|
-
Y = yt[
|
|
2271
|
+
}, yt = ["Linear", "Quad", "Cubic", "Quart", "Quint,Strong"], Ot = yt.length; --Ot > -1; )
|
|
2272
|
+
Y = yt[Ot] + ",Power" + Ot, Z(new b(null, null, 1, Ot), Y, "easeOut", !0), Z(new b(null, null, 2, Ot), Y, "easeIn" + (Ot === 0 ? ",easeNone" : "")), Z(new b(null, null, 3, Ot), Y, "easeInOut");
|
|
2273
2273
|
F.linear = At.easing.Linear.easeIn, F.swing = At.easing.Quad.easeInOut;
|
|
2274
2274
|
var st = w("events.EventDispatcher", function(_) {
|
|
2275
2275
|
this._listeners = {}, this._eventTarget = _ || this;
|
|
@@ -2296,8 +2296,8 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2296
2296
|
var it = p.requestAnimationFrame, Pt = p.cancelAnimationFrame, Lt = Date.now || function() {
|
|
2297
2297
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
2298
2298
|
}, Gt = Lt();
|
|
2299
|
-
for (yt = ["ms", "moz", "webkit", "o"],
|
|
2300
|
-
it = p[yt[
|
|
2299
|
+
for (yt = ["ms", "moz", "webkit", "o"], Ot = yt.length; --Ot > -1 && !it; )
|
|
2300
|
+
it = p[yt[Ot] + "RequestAnimationFrame"], Pt = p[yt[Ot] + "CancelAnimationFrame"] || p[yt[Ot] + "CancelRequestAnimationFrame"];
|
|
2301
2301
|
w("Ticker", function(_, D) {
|
|
2302
2302
|
var B, U, J, dt, wt, pt = this, ae = Lt(), se = D !== !1 && it ? "auto" : !1, Ut = 500, he = 33, De = "tick", We = function(Re) {
|
|
2303
2303
|
var je, fr, Vi = Lt() - Gt;
|
|
@@ -2893,8 +2893,8 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2893
2893
|
typeof _[D] == "function" && (pt[dt[D]] = _[D]);
|
|
2894
2894
|
return wt.version = _.version, Ri.activate([wt]), wt;
|
|
2895
2895
|
}, yt = p._gsQueue) {
|
|
2896
|
-
for (
|
|
2897
|
-
yt[
|
|
2896
|
+
for (Ot = 0; Ot < yt.length; Ot++)
|
|
2897
|
+
yt[Ot]();
|
|
2898
2898
|
for (Y in m)
|
|
2899
2899
|
m[Y].func || p.console.log("GSAP encountered missing dependency: " + Y);
|
|
2900
2900
|
}
|
|
@@ -2913,18 +2913,18 @@ const gh = { class: "modal-background" }, vh = ["innerHTML"], yh = {
|
|
|
2913
2913
|
// default: "CHBIM云平台",
|
|
2914
2914
|
// },
|
|
2915
2915
|
},
|
|
2916
|
-
setup(p, { expose:
|
|
2916
|
+
setup(p, { expose: bt }) {
|
|
2917
2917
|
const $ = Gs(""), mt = Gs(""), ht = (yt) => {
|
|
2918
2918
|
mt.value = yt, $.value = "five";
|
|
2919
2919
|
}, M = () => {
|
|
2920
2920
|
$.value = $.value + " out";
|
|
2921
2921
|
};
|
|
2922
2922
|
return ks(() => {
|
|
2923
|
-
}),
|
|
2923
|
+
}), bt({
|
|
2924
2924
|
text: mt,
|
|
2925
2925
|
show: ht,
|
|
2926
2926
|
hide: M
|
|
2927
|
-
}), (yt,
|
|
2927
|
+
}), (yt, Ot) => ($o(), Ko("div", {
|
|
2928
2928
|
id: "modal-container",
|
|
2929
2929
|
class: Ia($.value),
|
|
2930
2930
|
onClick: M
|
|
@@ -2932,7 +2932,7 @@ const gh = { class: "modal-background" }, vh = ["innerHTML"], yh = {
|
|
|
2932
2932
|
Oi("div", gh, [
|
|
2933
2933
|
Oi("div", {
|
|
2934
2934
|
class: "modal",
|
|
2935
|
-
onClick:
|
|
2935
|
+
onClick: Ot[0] || (Ot[0] = (Y) => {
|
|
2936
2936
|
Y.stopPropagation();
|
|
2937
2937
|
})
|
|
2938
2938
|
}, [
|
|
@@ -2950,7 +2950,7 @@ const xh = { class: "bim_background_plate" }, wh = { class: "content" }, Mh = /*
|
|
|
2950
2950
|
}, Ph = /* @__PURE__ */ Hs({
|
|
2951
2951
|
...Eh,
|
|
2952
2952
|
setup(p) {
|
|
2953
|
-
const
|
|
2953
|
+
const bt = () => {
|
|
2954
2954
|
let ht = `
|
|
2955
2955
|
vec3 mod289(vec3 x)
|
|
2956
2956
|
{
|
|
@@ -3190,7 +3190,7 @@ const xh = { class: "bim_background_plate" }, wh = { class: "content" }, Mh = /*
|
|
|
3190
3190
|
gl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor );
|
|
3191
3191
|
#endif
|
|
3192
3192
|
}`;
|
|
3193
|
-
var yt = document.querySelector(".landscape"),
|
|
3193
|
+
var yt = document.querySelector(".landscape"), Ot = window.innerWidth, Y = window.innerHeight, lt, St, ut, At, Dt = { x: 0, y: 0, xDamped: 0, yDamped: 0 }, _t = typeof window.orientation < "u";
|
|
3194
3194
|
K();
|
|
3195
3195
|
function K() {
|
|
3196
3196
|
H(), m(), f(), b(), _t ? window.addEventListener("touchmove", X, { passive: !1 }) : window.addEventListener("mousemove", X), window.addEventListener("resize", w), w();
|
|
@@ -3198,12 +3198,12 @@ const xh = { class: "bim_background_plate" }, wh = { class: "content" }, Mh = /*
|
|
|
3198
3198
|
function H() {
|
|
3199
3199
|
lt = new THREE.Scene();
|
|
3200
3200
|
var st = new THREE.Color(3355443);
|
|
3201
|
-
lt.background = st, lt.fog = new THREE.Fog(st, 0, 400), O(), ut = new THREE.PerspectiveCamera(60,
|
|
3201
|
+
lt.background = st, lt.fog = new THREE.Fog(st, 0, 400), O(), ut = new THREE.PerspectiveCamera(60, Ot / Y, 0.1, 1e4), ut.position.y = 8, ut.position.z = 4;
|
|
3202
3202
|
let it = new THREE.AmbientLight(16777215, 1);
|
|
3203
3203
|
lt.add(it), St = new THREE.WebGLRenderer({
|
|
3204
3204
|
canvas: yt,
|
|
3205
3205
|
antialias: !0
|
|
3206
|
-
}), St.setPixelRatio = devicePixelRatio, St.setSize(
|
|
3206
|
+
}), St.setPixelRatio = devicePixelRatio, St.setSize(Ot, Y);
|
|
3207
3207
|
}
|
|
3208
3208
|
function m() {
|
|
3209
3209
|
var st = new THREE.PlaneBufferGeometry(100, 400, 400, 400), it = {
|
|
@@ -3243,7 +3243,7 @@ const xh = { class: "bim_background_plate" }, wh = { class: "content" }, Mh = /*
|
|
|
3243
3243
|
st.position.x = 4e5 * Math.cos(Pt), st.position.y = 4e5 * Math.sin(Pt) * Math.sin(it), st.position.z = 4e5 * Math.sin(Pt) * Math.cos(it), O.material.uniforms.sunPosition.value.copy(st.position);
|
|
3244
3244
|
}
|
|
3245
3245
|
function w() {
|
|
3246
|
-
|
|
3246
|
+
Ot = window.innerWidth, Y = window.innerHeight, ut.aspect = Ot / Y, ut.updateProjectionMatrix(), St.setSize(Ot, Y);
|
|
3247
3247
|
}
|
|
3248
3248
|
function X(st) {
|
|
3249
3249
|
st.preventDefault();
|
|
@@ -3256,7 +3256,7 @@ const xh = { class: "bim_background_plate" }, wh = { class: "content" }, Mh = /*
|
|
|
3256
3256
|
At.material.uniforms.time.value = st, At.material.uniforms.scroll.value = st + F(Dt.yDamped, 0, Y, 0, 4), At.material.uniforms.distortCenter.value = Math.sin(st) * 0.1, At.material.uniforms.roadWidth.value = F(
|
|
3257
3257
|
Dt.xDamped,
|
|
3258
3258
|
0,
|
|
3259
|
-
|
|
3259
|
+
Ot,
|
|
3260
3260
|
1,
|
|
3261
3261
|
4.5
|
|
3262
3262
|
), ut.position.y = F(Dt.yDamped, 0, Y, 4, 11), St.render(lt, ut);
|
|
@@ -3286,15 +3286,8 @@ const xh = { class: "bim_background_plate" }, wh = { class: "content" }, Mh = /*
|
|
|
3286
3286
|
},
|
|
3287
3287
|
0.1
|
|
3288
3288
|
);
|
|
3289
|
-
const Ct = document.querySelector(".content__subtitle");
|
|
3290
|
-
TweenMax.set(Ct, { opacity: 0 }), TweenMax.to(Ct, 1.5, {
|
|
3291
|
-
ease: Expo.easeOut,
|
|
3292
|
-
startAt: { y: 30 },
|
|
3293
|
-
opacity: 1,
|
|
3294
|
-
y: 0
|
|
3295
|
-
});
|
|
3296
3289
|
}, mt = () => {
|
|
3297
|
-
|
|
3290
|
+
bt(), $();
|
|
3298
3291
|
};
|
|
3299
3292
|
return ks(() => {
|
|
3300
3293
|
mt();
|
|
@@ -3309,10 +3302,10 @@ const xh = { class: "bim_background_plate" }, wh = { class: "content" }, Mh = /*
|
|
|
3309
3302
|
]));
|
|
3310
3303
|
}
|
|
3311
3304
|
});
|
|
3312
|
-
(function(p,
|
|
3313
|
-
typeof exports == "object" && typeof module < "u" ?
|
|
3305
|
+
(function(p, bt) {
|
|
3306
|
+
typeof exports == "object" && typeof module < "u" ? bt(exports) : typeof define == "function" && define.amd ? define(["exports"], bt) : bt(p.THREE = {});
|
|
3314
3307
|
})(window, function(p) {
|
|
3315
|
-
function
|
|
3308
|
+
function bt() {
|
|
3316
3309
|
}
|
|
3317
3310
|
function $(t, e) {
|
|
3318
3311
|
this.x = t || 0, this.y = e || 0;
|
|
@@ -3333,14 +3326,14 @@ const xh = { class: "bim_background_plate" }, wh = { class: "content" }, Mh = /*
|
|
|
3333
3326
|
"THREE.Matrix3: the constructor no longer reads arguments. use .set() instead."
|
|
3334
3327
|
);
|
|
3335
3328
|
}
|
|
3336
|
-
function
|
|
3337
|
-
Object.defineProperty(this, "id", { value: Ga++ }), this.uuid = Se.generateUUID(), this.name = "", this.image = t !== void 0 ? t :
|
|
3329
|
+
function Ot(t, e, i, r, n, o, s, a, h, l) {
|
|
3330
|
+
Object.defineProperty(this, "id", { value: Ga++ }), this.uuid = Se.generateUUID(), this.name = "", this.image = t !== void 0 ? t : Ot.DEFAULT_IMAGE, this.mipmaps = [], this.mapping = e !== void 0 ? e : Ot.DEFAULT_MAPPING, this.wrapS = i !== void 0 ? i : 1001, this.wrapT = r !== void 0 ? r : 1001, this.magFilter = n !== void 0 ? n : 1006, this.minFilter = o !== void 0 ? o : 1008, this.anisotropy = h !== void 0 ? h : 1, this.format = s !== void 0 ? s : 1023, this.type = a !== void 0 ? a : 1009, this.offset = new $(0, 0), this.repeat = new $(1, 1), this.center = new $(0, 0), this.rotation = 0, this.matrixAutoUpdate = !0, this.matrix = new yt(), this.generateMipmaps = !0, this.premultiplyAlpha = !1, this.flipY = !0, this.unpackAlignment = 4, this.encoding = l !== void 0 ? l : 3e3, this.version = 0, this.onUpdate = null;
|
|
3338
3331
|
}
|
|
3339
3332
|
function Y(t, e, i, r) {
|
|
3340
3333
|
this.x = t || 0, this.y = e || 0, this.z = i || 0, this.w = r !== void 0 ? r : 1;
|
|
3341
3334
|
}
|
|
3342
3335
|
function lt(t, e, i) {
|
|
3343
|
-
this.width = t, this.height = e, this.scissor = new Y(0, 0, t, e), this.scissorTest = !1, this.viewport = new Y(0, 0, t, e), i = i || {}, i.minFilter === void 0 && (i.minFilter = 1006), this.texture = new
|
|
3336
|
+
this.width = t, this.height = e, this.scissor = new Y(0, 0, t, e), this.scissorTest = !1, this.viewport = new Y(0, 0, t, e), i = i || {}, i.minFilter === void 0 && (i.minFilter = 1006), this.texture = new Ot(
|
|
3344
3337
|
void 0,
|
|
3345
3338
|
void 0,
|
|
3346
3339
|
i.wrapS,
|
|
@@ -3357,7 +3350,7 @@ const xh = { class: "bim_background_plate" }, wh = { class: "content" }, Mh = /*
|
|
|
3357
3350
|
lt.call(this, t, e, i), this.activeMipMapLevel = this.activeCubeFace = 0;
|
|
3358
3351
|
}
|
|
3359
3352
|
function ut(t, e, i, r, n, o, s, a, h, l, c, u) {
|
|
3360
|
-
|
|
3353
|
+
Ot.call(this, null, o, s, a, h, l, r, n, c, u), this.image = { data: t, width: e, height: i }, this.magFilter = h !== void 0 ? h : 1003, this.minFilter = l !== void 0 ? l : 1003, this.flipY = this.generateMipmaps = !1, this.unpackAlignment = 1;
|
|
3361
3354
|
}
|
|
3362
3355
|
function At(t, e) {
|
|
3363
3356
|
this.min = t !== void 0 ? t : new M(1 / 0, 1 / 0, 1 / 0), this.max = e !== void 0 ? e : new M(-1 / 0, -1 / 0, -1 / 0);
|
|
@@ -3940,10 +3933,10 @@ const xh = { class: "bim_background_plate" }, wh = { class: "content" }, Mh = /*
|
|
|
3940
3933
|
};
|
|
3941
3934
|
}
|
|
3942
3935
|
function _(t, e, i, r, n, o, s, a, h, l) {
|
|
3943
|
-
t = t !== void 0 ? t : [],
|
|
3936
|
+
t = t !== void 0 ? t : [], Ot.call(this, t, e !== void 0 ? e : 301, i, r, n, o, s, a, h, l), this.flipY = !1;
|
|
3944
3937
|
}
|
|
3945
3938
|
function D(t, e, i, r) {
|
|
3946
|
-
|
|
3939
|
+
Ot.call(this, null), this.image = { data: t, width: e, height: i, depth: r }, this.minFilter = this.magFilter = 1003, this.flipY = this.generateMipmaps = !1;
|
|
3947
3940
|
}
|
|
3948
3941
|
function B(t, e, i) {
|
|
3949
3942
|
var r = t[0];
|
|
@@ -5665,7 +5658,7 @@ const xh = { class: "bim_background_plate" }, wh = { class: "content" }, Mh = /*
|
|
|
5665
5658
|
function te(t) {
|
|
5666
5659
|
Bt.call(this), this.cameras = t || [];
|
|
5667
5660
|
}
|
|
5668
|
-
function
|
|
5661
|
+
function Ct(t, e, i) {
|
|
5669
5662
|
_a.setFromMatrixPosition(e.matrixWorld), xa.setFromMatrixPosition(i.matrixWorld);
|
|
5670
5663
|
var r = _a.distanceTo(xa), n = e.projectionMatrix.elements, o = i.projectionMatrix.elements, s = n[14] / (n[10] - 1);
|
|
5671
5664
|
i = n[14] / (n[10] + 1);
|
|
@@ -5722,7 +5715,7 @@ const xh = { class: "bim_background_plate" }, wh = { class: "content" }, Mh = /*
|
|
|
5722
5715
|
}
|
|
5723
5716
|
if (A = o.pose, tt = s !== null ? s : T, tt.matrix.copy(h), tt.matrix.decompose(tt.position, tt.quaternion, tt.scale), A.orientation !== null && (g.fromArray(A.orientation), tt.quaternion.multiply(g)), A.position !== null && (g.setFromRotationMatrix(h), x.fromArray(A.position), x.applyQuaternion(g), tt.position.add(x)), tt.updateMatrixWorld(), n.isPresenting === !1)
|
|
5724
5717
|
return T;
|
|
5725
|
-
S.near = T.near, P.near = T.near, S.far = T.far, P.far = T.far, S.matrixWorldInverse.fromArray(o.leftViewMatrix), P.matrixWorldInverse.fromArray(o.rightViewMatrix), l.getInverse(h), u === "stage" && (S.matrixWorldInverse.multiply(l), P.matrixWorldInverse.multiply(l)), T = tt.parent, T !== null && (d.getInverse(T.matrixWorld), S.matrixWorldInverse.multiply(d), P.matrixWorldInverse.multiply(d)), S.matrixWorld.getInverse(S.matrixWorldInverse), P.matrixWorld.getInverse(P.matrixWorldInverse), S.projectionMatrix.fromArray(o.leftProjectionMatrix), P.projectionMatrix.fromArray(o.rightProjectionMatrix),
|
|
5718
|
+
S.near = T.near, P.near = T.near, S.far = T.far, P.far = T.far, S.matrixWorldInverse.fromArray(o.leftViewMatrix), P.matrixWorldInverse.fromArray(o.rightViewMatrix), l.getInverse(h), u === "stage" && (S.matrixWorldInverse.multiply(l), P.matrixWorldInverse.multiply(l)), T = tt.parent, T !== null && (d.getInverse(T.matrixWorld), S.matrixWorldInverse.multiply(d), P.matrixWorldInverse.multiply(d)), S.matrixWorld.getInverse(S.matrixWorldInverse), P.matrixWorld.getInverse(P.matrixWorldInverse), S.projectionMatrix.fromArray(o.leftProjectionMatrix), P.projectionMatrix.fromArray(o.rightProjectionMatrix), Ct(G, S, P), T = n.getLayers(), T.length && (T = T[0], T.leftBounds !== null && T.leftBounds.length === 4 && S.bounds.fromArray(T.leftBounds), T.rightBounds !== null && T.rightBounds.length === 4 && P.bounds.fromArray(T.rightBounds));
|
|
5726
5719
|
t:
|
|
5727
5720
|
for (T = 0; T < a.length; T++) {
|
|
5728
5721
|
A = a[T];
|
|
@@ -5806,7 +5799,7 @@ const xh = { class: "bim_background_plate" }, wh = { class: "content" }, Mh = /*
|
|
|
5806
5799
|
n(ot[T], j);
|
|
5807
5800
|
for (q.matrixWorld.copy(P.matrixWorld), q = q.children, T = 0, j = q.length; T < j; T++)
|
|
5808
5801
|
q[T].updateMatrixWorld(!0);
|
|
5809
|
-
return
|
|
5802
|
+
return Ct(P, x, S), P;
|
|
5810
5803
|
}
|
|
5811
5804
|
return q;
|
|
5812
5805
|
}, this.isPresenting = e;
|
|
@@ -6356,20 +6349,20 @@ const xh = { class: "bim_background_plate" }, wh = { class: "content" }, Mh = /*
|
|
|
6356
6349
|
b.call(this), this.type = "Points", this.geometry = t !== void 0 ? t : new Rt(), this.material = e !== void 0 ? e : new _i({ color: 16777215 * Math.random() });
|
|
6357
6350
|
}
|
|
6358
6351
|
function ss(t, e, i, r, n, o, s, a, h) {
|
|
6359
|
-
|
|
6352
|
+
Ot.call(this, t, e, i, r, n, o, s, a, h), this.generateMipmaps = !1;
|
|
6360
6353
|
}
|
|
6361
6354
|
function rn(t, e, i, r, n, o, s, a, h, l, c, u) {
|
|
6362
|
-
|
|
6355
|
+
Ot.call(this, null, o, s, a, h, l, r, n, c, u), this.image = { width: e, height: i }, this.mipmaps = t, this.generateMipmaps = this.flipY = !1;
|
|
6363
6356
|
}
|
|
6364
6357
|
function Bn(t, e, i, r, n, o, s, a, h) {
|
|
6365
|
-
|
|
6358
|
+
Ot.call(this, t, e, i, r, n, o, s, a, h), this.needsUpdate = !0;
|
|
6366
6359
|
}
|
|
6367
6360
|
function Un(t, e, i, r, n, o, s, a, h, l) {
|
|
6368
6361
|
if (l = l !== void 0 ? l : 1026, l !== 1026 && l !== 1027)
|
|
6369
6362
|
throw Error(
|
|
6370
6363
|
"DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat"
|
|
6371
6364
|
);
|
|
6372
|
-
i === void 0 && l === 1026 && (i = 1012), i === void 0 && l === 1027 && (i = 1020),
|
|
6365
|
+
i === void 0 && l === 1026 && (i = 1012), i === void 0 && l === 1027 && (i = 1020), Ot.call(this, null, r, n, o, s, a, l, i, h), this.image = { width: t, height: e }, this.magFilter = s !== void 0 ? s : 1003, this.minFilter = a !== void 0 ? a : 1003, this.generateMipmaps = this.flipY = !1;
|
|
6373
6366
|
}
|
|
6374
6367
|
function nn(t) {
|
|
6375
6368
|
Rt.call(this), this.type = "WireframeGeometry";
|
|
@@ -8265,7 +8258,7 @@ const xh = { class: "bim_background_plate" }, wh = { class: "content" }, Mh = /*
|
|
|
8265
8258
|
}
|
|
8266
8259
|
return e;
|
|
8267
8260
|
};
|
|
8268
|
-
}(), Object.assign(
|
|
8261
|
+
}(), Object.assign(bt.prototype, {
|
|
8269
8262
|
addEventListener: function(t, e) {
|
|
8270
8263
|
this._listeners === void 0 && (this._listeners = {});
|
|
8271
8264
|
var i = this._listeners;
|
|
@@ -9369,8 +9362,8 @@ const xh = { class: "bim_background_plate" }, wh = { class: "content" }, Mh = /*
|
|
|
9369
9362
|
return 2048 < e.width || 2048 < e.height ? e.toDataURL("image/jpeg", 0.6) : e.toDataURL("image/png");
|
|
9370
9363
|
}
|
|
9371
9364
|
}, Ga = 0;
|
|
9372
|
-
|
|
9373
|
-
constructor:
|
|
9365
|
+
Ot.DEFAULT_IMAGE = void 0, Ot.DEFAULT_MAPPING = 300, Ot.prototype = Object.assign(Object.create(bt.prototype), {
|
|
9366
|
+
constructor: Ot,
|
|
9374
9367
|
isTexture: !0,
|
|
9375
9368
|
updateMatrix: function() {
|
|
9376
9369
|
this.matrix.setUvTransform(
|
|
@@ -9457,7 +9450,7 @@ const xh = { class: "bim_background_plate" }, wh = { class: "content" }, Mh = /*
|
|
|
9457
9450
|
}
|
|
9458
9451
|
return this.flipY && (t.y = 1 - t.y), t;
|
|
9459
9452
|
}
|
|
9460
|
-
}), Object.defineProperty(
|
|
9453
|
+
}), Object.defineProperty(Ot.prototype, "needsUpdate", {
|
|
9461
9454
|
set: function(t) {
|
|
9462
9455
|
t === !0 && this.version++;
|
|
9463
9456
|
}
|
|
@@ -9641,7 +9634,7 @@ const xh = { class: "bim_background_plate" }, wh = { class: "content" }, Mh = /*
|
|
|
9641
9634
|
"THREE.Vector4: offset has been removed from .fromBufferAttribute()."
|
|
9642
9635
|
), this.x = t.getX(e), this.y = t.getY(e), this.z = t.getZ(e), this.w = t.getW(e), this;
|
|
9643
9636
|
}
|
|
9644
|
-
}), lt.prototype = Object.assign(Object.create(
|
|
9637
|
+
}), lt.prototype = Object.assign(Object.create(bt.prototype), {
|
|
9645
9638
|
constructor: lt,
|
|
9646
9639
|
isWebGLRenderTarget: !0,
|
|
9647
9640
|
setSize: function(t, e) {
|
|
@@ -9656,7 +9649,7 @@ const xh = { class: "bim_background_plate" }, wh = { class: "content" }, Mh = /*
|
|
|
9656
9649
|
dispose: function() {
|
|
9657
9650
|
this.dispatchEvent({ type: "dispose" });
|
|
9658
9651
|
}
|
|
9659
|
-
}), St.prototype = Object.create(lt.prototype), St.prototype.constructor = St, St.prototype.isWebGLRenderTargetCube = !0, ut.prototype = Object.create(
|
|
9652
|
+
}), St.prototype = Object.create(lt.prototype), St.prototype.constructor = St, St.prototype.isWebGLRenderTargetCube = !0, ut.prototype = Object.create(Ot.prototype), ut.prototype.constructor = ut, ut.prototype.isDataTexture = !0, Object.assign(At.prototype, {
|
|
9660
9653
|
isBox3: !0,
|
|
9661
9654
|
set: function(t, e) {
|
|
9662
9655
|
return this.min.copy(t), this.max.copy(e), this;
|
|
@@ -13198,7 +13191,7 @@ void main() {
|
|
|
13198
13191
|
}
|
|
13199
13192
|
});
|
|
13200
13193
|
var ka = 0;
|
|
13201
|
-
b.DefaultUp = new M(0, 1, 0), b.DefaultMatrixAutoUpdate = !0, b.prototype = Object.assign(Object.create(
|
|
13194
|
+
b.DefaultUp = new M(0, 1, 0), b.DefaultMatrixAutoUpdate = !0, b.prototype = Object.assign(Object.create(bt.prototype), {
|
|
13202
13195
|
constructor: b,
|
|
13203
13196
|
isObject3D: !0,
|
|
13204
13197
|
onBeforeRender: function() {
|
|
@@ -13458,7 +13451,7 @@ void main() {
|
|
|
13458
13451
|
}
|
|
13459
13452
|
});
|
|
13460
13453
|
var ja = 0;
|
|
13461
|
-
F.prototype = Object.assign(Object.create(
|
|
13454
|
+
F.prototype = Object.assign(Object.create(bt.prototype), {
|
|
13462
13455
|
constructor: F,
|
|
13463
13456
|
isGeometry: !0,
|
|
13464
13457
|
applyMatrix: function(t) {
|
|
@@ -13973,7 +13966,7 @@ void main() {
|
|
|
13973
13966
|
}
|
|
13974
13967
|
});
|
|
13975
13968
|
var Va = 1;
|
|
13976
|
-
Rt.prototype = Object.assign(Object.create(
|
|
13969
|
+
Rt.prototype = Object.assign(Object.create(bt.prototype), {
|
|
13977
13970
|
constructor: Rt,
|
|
13978
13971
|
isBufferGeometry: !0,
|
|
13979
13972
|
getIndex: function() {
|
|
@@ -14251,7 +14244,7 @@ void main() {
|
|
|
14251
14244
|
}
|
|
14252
14245
|
}), Ue.prototype = Object.create(F.prototype), Ue.prototype.constructor = Ue, gi.prototype = Object.create(Rt.prototype), gi.prototype.constructor = gi, Mi.prototype = Object.create(F.prototype), Mi.prototype.constructor = Mi, ni.prototype = Object.create(Rt.prototype), ni.prototype.constructor = ni;
|
|
14253
14246
|
var Wa = 0;
|
|
14254
|
-
fe.prototype = Object.assign(Object.create(
|
|
14247
|
+
fe.prototype = Object.assign(Object.create(bt.prototype), {
|
|
14255
14248
|
constructor: fe,
|
|
14256
14249
|
isMaterial: !0,
|
|
14257
14250
|
onBeforeCompile: function() {
|
|
@@ -14626,15 +14619,15 @@ void main() {
|
|
|
14626
14619
|
clone: function() {
|
|
14627
14620
|
return new this.constructor(this.geometry, this.material).copy(this);
|
|
14628
14621
|
}
|
|
14629
|
-
}), _.prototype = Object.create(
|
|
14622
|
+
}), _.prototype = Object.create(Ot.prototype), _.prototype.constructor = _, _.prototype.isCubeTexture = !0, Object.defineProperty(_.prototype, "images", {
|
|
14630
14623
|
get: function() {
|
|
14631
14624
|
return this.image;
|
|
14632
14625
|
},
|
|
14633
14626
|
set: function(t) {
|
|
14634
14627
|
this.image = t;
|
|
14635
14628
|
}
|
|
14636
|
-
}), D.prototype = Object.create(
|
|
14637
|
-
var pa = new
|
|
14629
|
+
}), D.prototype = Object.create(Ot.prototype), D.prototype.constructor = D, D.prototype.isDataTexture3D = !0;
|
|
14630
|
+
var pa = new Ot(), Xa = new D(), da = new _(), fa = [], ma = [], ga = new Float32Array(16), va = new Float32Array(9), ya = new Float32Array(4);
|
|
14638
14631
|
$r.prototype.updateCache = function(t) {
|
|
14639
14632
|
var e = this.cache;
|
|
14640
14633
|
t instanceof Float32Array && e.length !== t.length && (this.cache = new Float32Array(t.length)), J(e, t);
|
|
@@ -15160,14 +15153,14 @@ void main() {
|
|
|
15160
15153
|
clone: function() {
|
|
15161
15154
|
return new this.constructor(this.geometry, this.material).copy(this);
|
|
15162
15155
|
}
|
|
15163
|
-
}), ss.prototype = Object.assign(Object.create(
|
|
15156
|
+
}), ss.prototype = Object.assign(Object.create(Ot.prototype), {
|
|
15164
15157
|
constructor: ss,
|
|
15165
15158
|
isVideoTexture: !0,
|
|
15166
15159
|
update: function() {
|
|
15167
15160
|
var t = this.image;
|
|
15168
15161
|
t.readyState >= t.HAVE_CURRENT_DATA && (this.needsUpdate = !0);
|
|
15169
15162
|
}
|
|
15170
|
-
}), rn.prototype = Object.create(
|
|
15163
|
+
}), rn.prototype = Object.create(Ot.prototype), rn.prototype.constructor = rn, rn.prototype.isCompressedTexture = !0, Bn.prototype = Object.create(Ot.prototype), Bn.prototype.constructor = Bn, Bn.prototype.isCanvasTexture = !0, Un.prototype = Object.create(Ot.prototype), Un.prototype.constructor = Un, Un.prototype.isDepthTexture = !0, nn.prototype = Object.create(Rt.prototype), nn.prototype.constructor = nn, Fn.prototype = Object.create(F.prototype), Fn.prototype.constructor = Fn, on.prototype = Object.create(Rt.prototype), on.prototype.constructor = on, Gn.prototype = Object.create(F.prototype), Gn.prototype.constructor = Gn, Di.prototype = Object.create(Rt.prototype), Di.prototype.constructor = Di, Hn.prototype = Object.create(F.prototype), Hn.prototype.constructor = Hn, sn.prototype = Object.create(Di.prototype), sn.prototype.constructor = sn, kn.prototype = Object.create(F.prototype), kn.prototype.constructor = kn, Or.prototype = Object.create(Di.prototype), Or.prototype.constructor = Or, jn.prototype = Object.create(F.prototype), jn.prototype.constructor = jn, an.prototype = Object.create(Di.prototype), an.prototype.constructor = an, Vn.prototype = Object.create(F.prototype), Vn.prototype.constructor = Vn, hn.prototype = Object.create(Di.prototype), hn.prototype.constructor = hn, Wn.prototype = Object.create(F.prototype), Wn.prototype.constructor = Wn, ln.prototype = Object.create(Rt.prototype), ln.prototype.constructor = ln, Xn.prototype = Object.create(F.prototype), Xn.prototype.constructor = Xn, cn.prototype = Object.create(Rt.prototype), cn.prototype.constructor = cn, qn.prototype = Object.create(F.prototype), qn.prototype.constructor = qn, un.prototype = Object.create(Rt.prototype), un.prototype.constructor = un;
|
|
15171
15164
|
var Za = {
|
|
15172
15165
|
triangulate: function(t, e, i) {
|
|
15173
15166
|
i = i || 2;
|
|
@@ -16067,7 +16060,7 @@ void main() {
|
|
|
16067
16060
|
}), Object.assign(Oo.prototype, {
|
|
16068
16061
|
crossOrigin: "anonymous",
|
|
16069
16062
|
load: function(t, e, i, r) {
|
|
16070
|
-
var n = new
|
|
16063
|
+
var n = new Ot(), o = new ao(this.manager);
|
|
16071
16064
|
return o.setCrossOrigin(this.crossOrigin), o.setPath(this.path), o.load(
|
|
16072
16065
|
t,
|
|
16073
16066
|
function(s) {
|
|
@@ -17355,7 +17348,7 @@ void main() {
|
|
|
17355
17348
|
'THREE.ObjectLoader: No "image" specified for',
|
|
17356
17349
|
s.uuid
|
|
17357
17350
|
), e[s.image] === void 0 && console.warn("THREE.ObjectLoader: Undefined image", s.image);
|
|
17358
|
-
var a = Array.isArray(e[s.image]) ? new _(e[s.image]) : new
|
|
17351
|
+
var a = Array.isArray(e[s.image]) ? new _(e[s.image]) : new Ot(e[s.image]);
|
|
17359
17352
|
a.needsUpdate = !0, a.uuid = s.uuid, s.name !== void 0 && (a.name = s.name), s.mapping !== void 0 && (a.mapping = i(s.mapping, $a)), s.offset !== void 0 && a.offset.fromArray(s.offset), s.repeat !== void 0 && a.repeat.fromArray(s.repeat), s.center !== void 0 && a.center.fromArray(s.center), s.rotation !== void 0 && (a.rotation = s.rotation), s.wrap !== void 0 && (a.wrapS = i(s.wrap[0], Ta), a.wrapT = i(s.wrap[1], Ta)), s.format !== void 0 && (a.format = s.format), s.minFilter !== void 0 && (a.minFilter = i(s.minFilter, Sa)), s.magFilter !== void 0 && (a.magFilter = i(s.magFilter, Sa)), s.anisotropy !== void 0 && (a.anisotropy = s.anisotropy), s.flipY !== void 0 && (a.flipY = s.flipY), r[s.uuid] = a;
|
|
17360
17353
|
}
|
|
17361
17354
|
return r;
|
|
@@ -18468,7 +18461,7 @@ void main() {
|
|
|
18468
18461
|
var r = this._mixer, n = r.time, o = this._weightInterpolant;
|
|
18469
18462
|
return o === null && (this._weightInterpolant = o = r._lendControlInterpolant()), r = o.parameterPositions, o = o.sampleValues, r[0] = n, o[0] = e, r[1] = n + t, o[1] = i, this;
|
|
18470
18463
|
}
|
|
18471
|
-
}), Ss.prototype = Object.assign(Object.create(
|
|
18464
|
+
}), Ss.prototype = Object.assign(Object.create(bt.prototype), {
|
|
18472
18465
|
constructor: Ss,
|
|
18473
18466
|
_bindAction: function(t, e) {
|
|
18474
18467
|
var i = t._localRoot || this._root, r = t._clip.tracks, n = r.length, o = t._propertyBindings;
|
|
@@ -19988,7 +19981,7 @@ void main() {
|
|
|
19988
19981
|
console.error(
|
|
19989
19982
|
"THREE.ImageUtils.loadCompressedTextureCube has been removed. Use THREE.DDSLoader instead."
|
|
19990
19983
|
);
|
|
19991
|
-
}, p.WebGLRenderTargetCube = St, p.WebGLRenderTarget = lt, p.WebGLRenderer = Ft, p.ShaderLib = cr, p.UniformsLib = le, p.UniformsUtils = yi, p.ShaderChunk = Oe, p.FogExp2 = Jt, p.Fog = vi, p.Scene = Xi, p.Sprite = ti, p.LOD = ei, p.SkinnedMesh = He, p.Skeleton = si, p.Bone = ai, p.Mesh = Qe, p.LineSegments = Le, p.LineLoop = or, p.Line = Xe, p.Points = en, p.Group = Ee, p.VideoTexture = ss, p.DataTexture = ut, p.DataTexture3D = D, p.CompressedTexture = rn, p.CubeTexture = _, p.CanvasTexture = Bn, p.DepthTexture = Un, p.Texture =
|
|
19984
|
+
}, p.WebGLRenderTargetCube = St, p.WebGLRenderTarget = lt, p.WebGLRenderer = Ft, p.ShaderLib = cr, p.UniformsLib = le, p.UniformsUtils = yi, p.ShaderChunk = Oe, p.FogExp2 = Jt, p.Fog = vi, p.Scene = Xi, p.Sprite = ti, p.LOD = ei, p.SkinnedMesh = He, p.Skeleton = si, p.Bone = ai, p.Mesh = Qe, p.LineSegments = Le, p.LineLoop = or, p.Line = Xe, p.Points = en, p.Group = Ee, p.VideoTexture = ss, p.DataTexture = ut, p.DataTexture3D = D, p.CompressedTexture = rn, p.CubeTexture = _, p.CanvasTexture = Bn, p.DepthTexture = Un, p.Texture = Ot, p.AnimationLoader = Qs, p.CompressedTextureLoader = $s, p.DataTextureLoader = cs, p.CubeTextureLoader = us, p.TextureLoader = Oo, p.ObjectLoader = fs, p.MaterialLoader = Ho, p.BufferGeometryLoader = ds, p.DefaultLoadingManager = bi, p.LoadingManager = ls, p.JSONLoader = ko, p.ImageLoader = ao, p.ImageBitmapLoader = ms, p.FontLoader = ta, p.FileLoader = Wi, p.Loader = wn, p.LoaderUtils = Xo, p.Cache = qr, p.AudioLoader = ys, p.SpotLightShadow = Do, p.SpotLight = zo, p.PointLight = No, p.RectAreaLight = Go, p.HemisphereLight = Io, p.DirectionalLightShadow = Bo, p.DirectionalLight = Uo, p.AmbientLight = Fo, p.LightShadow = Xr, p.Light = ri, p.StereoCamera = ea, p.PerspectiveCamera = Bt, p.OrthographicCamera = co, p.CubeCamera = uo, p.ArrayCamera = te, p.Camera = Kt, p.AudioListener = xs, p.PositionalAudio = ws, p.AudioContext = Ns, p.AudioAnalyser = Ms, p.Audio = Mn, p.VectorKeyframeTrack = _n, p.StringKeyframeTrack = bo, p.QuaternionKeyframeTrack = so, p.NumberKeyframeTrack = yn, p.ColorKeyframeTrack = Ro, p.BooleanKeyframeTrack = Lo, p.PropertyMixer = Ts, p.PropertyBinding = Ei, p.KeyframeTrack = xi, p.AnimationUtils = Pi, p.AnimationObjectGroup = ra, p.AnimationMixer = Ss, p.AnimationClip = Hi, p.Uniform = jo, p.InstancedBufferGeometry = Es, p.BufferGeometry = Rt, p.Geometry = F, p.InterleavedBufferAttribute = Ge, p.InstancedInterleavedBuffer = Ps, p.InterleavedBuffer = Fe, p.InstancedBufferAttribute = As, p.Face3 = O, p.Object3D = b, p.Raycaster = oa, p.Layers = X, p.EventDispatcher = bt, p.Clock = _s, p.QuaternionLinearInterpolant = Co, p.LinearInterpolant = oo, p.DiscreteInterpolant = Ao, p.CubicInterpolant = Po, p.Interpolant = Gi, p.Triangle = Ce, p.Math = Se, p.Spherical = aa, p.Cylindrical = ha, p.Plane = _t, p.Frustum = K, p.Sphere = Dt, p.Ray = Li, p.Matrix4 = mt, p.Matrix3 = yt, p.Box3 = At, p.Box2 = Rs, p.Line3 = Cs, p.Euler = w, p.Vector4 = Y, p.Vector3 = M, p.Vector2 = $, p.Quaternion = ht, p.Color = H, p.ImmediateRenderObject = po, p.VertexNormalsHelper = fo, p.SpotLightHelper = Tn, p.SkeletonHelper = Sn, p.PointLightHelper = En, p.RectAreaLightHelper = Pn, p.HemisphereLightHelper = An, p.GridHelper = mo, p.PolarGridHelper = Vo, p.FaceNormalsHelper = go, p.DirectionalLightHelper = Ln, p.CameraHelper = vo, p.BoxHelper = vr, p.Box3Helper = yo, p.PlaneHelper = _o, p.ArrowHelper = yr, p.AxesHelper = xo, p.Shape = Sr, p.Path = $i, p.ShapePath = gs, p.Font = vs, p.CurvePath = gr, p.Curve = pe, p.ImageUtils = Er, p.ShapeUtils = _r, p.WebGLUtils = re, p.WireframeGeometry = nn, p.ParametricGeometry = Fn, p.ParametricBufferGeometry = on, p.TetrahedronGeometry = Hn, p.TetrahedronBufferGeometry = sn, p.OctahedronGeometry = kn, p.OctahedronBufferGeometry = Or, p.IcosahedronGeometry = jn, p.IcosahedronBufferGeometry = an, p.DodecahedronGeometry = Vn, p.DodecahedronBufferGeometry = hn, p.PolyhedronGeometry = Gn, p.PolyhedronBufferGeometry = Di, p.TubeGeometry = Wn, p.TubeBufferGeometry = ln, p.TorusKnotGeometry = Xn, p.TorusKnotBufferGeometry = cn, p.TorusGeometry = qn, p.TorusBufferGeometry = un, p.TextGeometry = $n, p.TextBufferGeometry = pn, p.SphereGeometry = Kn, p.SphereBufferGeometry = zr, p.RingGeometry = to, p.RingBufferGeometry = dn, p.PlaneGeometry = Mi, p.PlaneBufferGeometry = ni, p.LatheGeometry = eo, p.LatheBufferGeometry = fn, p.ShapeGeometry = Nr, p.ShapeBufferGeometry = Br, p.ExtrudeGeometry = Dr, p.ExtrudeBufferGeometry = sr, p.EdgesGeometry = mn, p.ConeGeometry = io, p.ConeBufferGeometry = ro, p.CylinderGeometry = Ur, p.CylinderBufferGeometry = mr, p.CircleGeometry = no, p.CircleBufferGeometry = gn, p.BoxGeometry = Ue, p.BoxBufferGeometry = gi, p.ShadowMaterial = Fr, p.SpriteMaterial = Ve, p.RawShaderMaterial = vn, p.ShaderMaterial = Ze, p.PointsMaterial = _i, p.MeshPhysicalMaterial = Gr, p.MeshStandardMaterial = ar, p.MeshPhongMaterial = qi, p.MeshToonMaterial = Hr, p.MeshNormalMaterial = kr, p.MeshLambertMaterial = jr, p.MeshDepthMaterial = Tt, p.MeshDistanceMaterial = gt, p.MeshBasicMaterial = ke, p.MeshMatcapMaterial = Vr, p.LineDashedMaterial = Wr, p.LineBasicMaterial = ze, p.Material = fe, p.Float64BufferAttribute = kt, p.Float32BufferAttribute = ct, p.Uint32BufferAttribute = ie, p.Int32BufferAttribute = Vt, p.Uint16BufferAttribute = Gt, p.Int16BufferAttribute = Lt, p.Uint8ClampedBufferAttribute = Pt, p.Uint8BufferAttribute = it, p.Int8BufferAttribute = st, p.BufferAttribute = Z, p.ArcCurve = xn, p.CatmullRomCurve3 = Si, p.CubicBezierCurve = Yi, p.CubicBezierCurve3 = hr, p.EllipseCurve = ki, p.LineCurve = zi, p.LineCurve3 = Zi, p.QuadraticBezierCurve = Ji, p.QuadraticBezierCurve3 = lr, p.SplineCurve = Qi, p.REVISION = "98", p.MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2 }, p.CullFaceNone = 0, p.CullFaceBack = 1, p.CullFaceFront = 2, p.CullFaceFrontBack = 3, p.FrontFaceDirectionCW = 0, p.FrontFaceDirectionCCW = 1, p.BasicShadowMap = 0, p.PCFShadowMap = 1, p.PCFSoftShadowMap = 2, p.FrontSide = 0, p.BackSide = 1, p.DoubleSide = 2, p.FlatShading = 1, p.SmoothShading = 2, p.NoColors = 0, p.FaceColors = 1, p.VertexColors = 2, p.NoBlending = 0, p.NormalBlending = 1, p.AdditiveBlending = 2, p.SubtractiveBlending = 3, p.MultiplyBlending = 4, p.CustomBlending = 5, p.AddEquation = 100, p.SubtractEquation = 101, p.ReverseSubtractEquation = 102, p.MinEquation = 103, p.MaxEquation = 104, p.ZeroFactor = 200, p.OneFactor = 201, p.SrcColorFactor = 202, p.OneMinusSrcColorFactor = 203, p.SrcAlphaFactor = 204, p.OneMinusSrcAlphaFactor = 205, p.DstAlphaFactor = 206, p.OneMinusDstAlphaFactor = 207, p.DstColorFactor = 208, p.OneMinusDstColorFactor = 209, p.SrcAlphaSaturateFactor = 210, p.NeverDepth = 0, p.AlwaysDepth = 1, p.LessDepth = 2, p.LessEqualDepth = 3, p.EqualDepth = 4, p.GreaterEqualDepth = 5, p.GreaterDepth = 6, p.NotEqualDepth = 7, p.MultiplyOperation = 0, p.MixOperation = 1, p.AddOperation = 2, p.NoToneMapping = 0, p.LinearToneMapping = 1, p.ReinhardToneMapping = 2, p.Uncharted2ToneMapping = 3, p.CineonToneMapping = 4, p.UVMapping = 300, p.CubeReflectionMapping = 301, p.CubeRefractionMapping = 302, p.EquirectangularReflectionMapping = 303, p.EquirectangularRefractionMapping = 304, p.SphericalReflectionMapping = 305, p.CubeUVReflectionMapping = 306, p.CubeUVRefractionMapping = 307, p.RepeatWrapping = 1e3, p.ClampToEdgeWrapping = 1001, p.MirroredRepeatWrapping = 1002, p.NearestFilter = 1003, p.NearestMipMapNearestFilter = 1004, p.NearestMipMapLinearFilter = 1005, p.LinearFilter = 1006, p.LinearMipMapNearestFilter = 1007, p.LinearMipMapLinearFilter = 1008, p.UnsignedByteType = 1009, p.ByteType = 1010, p.ShortType = 1011, p.UnsignedShortType = 1012, p.IntType = 1013, p.UnsignedIntType = 1014, p.FloatType = 1015, p.HalfFloatType = 1016, p.UnsignedShort4444Type = 1017, p.UnsignedShort5551Type = 1018, p.UnsignedShort565Type = 1019, p.UnsignedInt248Type = 1020, p.AlphaFormat = 1021, p.RGBFormat = 1022, p.RGBAFormat = 1023, p.LuminanceFormat = 1024, p.LuminanceAlphaFormat = 1025, p.RGBEFormat = 1023, p.DepthFormat = 1026, p.DepthStencilFormat = 1027, p.RedFormat = 1028, p.RGB_S3TC_DXT1_Format = 33776, p.RGBA_S3TC_DXT1_Format = 33777, p.RGBA_S3TC_DXT3_Format = 33778, p.RGBA_S3TC_DXT5_Format = 33779, p.RGB_PVRTC_4BPPV1_Format = 35840, p.RGB_PVRTC_2BPPV1_Format = 35841, p.RGBA_PVRTC_4BPPV1_Format = 35842, p.RGBA_PVRTC_2BPPV1_Format = 35843, p.RGB_ETC1_Format = 36196, p.RGBA_ASTC_4x4_Format = 37808, p.RGBA_ASTC_5x4_Format = 37809, p.RGBA_ASTC_5x5_Format = 37810, p.RGBA_ASTC_6x5_Format = 37811, p.RGBA_ASTC_6x6_Format = 37812, p.RGBA_ASTC_8x5_Format = 37813, p.RGBA_ASTC_8x6_Format = 37814, p.RGBA_ASTC_8x8_Format = 37815, p.RGBA_ASTC_10x5_Format = 37816, p.RGBA_ASTC_10x6_Format = 37817, p.RGBA_ASTC_10x8_Format = 37818, p.RGBA_ASTC_10x10_Format = 37819, p.RGBA_ASTC_12x10_Format = 37820, p.RGBA_ASTC_12x12_Format = 37821, p.LoopOnce = 2200, p.LoopRepeat = 2201, p.LoopPingPong = 2202, p.InterpolateDiscrete = 2300, p.InterpolateLinear = 2301, p.InterpolateSmooth = 2302, p.ZeroCurvatureEnding = 2400, p.ZeroSlopeEnding = 2401, p.WrapAroundEnding = 2402, p.TrianglesDrawMode = 0, p.TriangleStripDrawMode = 1, p.TriangleFanDrawMode = 2, p.LinearEncoding = 3e3, p.sRGBEncoding = 3001, p.GammaEncoding = 3007, p.RGBEEncoding = 3002, p.LogLuvEncoding = 3003, p.RGBM7Encoding = 3004, p.RGBM16Encoding = 3005, p.RGBDEncoding = 3006, p.BasicDepthPacking = 3200, p.RGBADepthPacking = 3201, p.TangentSpaceNormalMap = 0, p.ObjectSpaceNormalMap = 1, p.CubeGeometry = Ue, p.Face4 = function(t, e, i, r, n, o, s) {
|
|
19992
19985
|
return console.warn(
|
|
19993
19986
|
"THREE.Face4 has been removed. A THREE.Face3 will be created instead."
|
|
19994
19987
|
), new O(t, e, i, n, o, s);
|
|
@@ -20143,13 +20136,13 @@ void main() {
|
|
|
20143
20136
|
}, Object.defineProperty(p, "__esModule", { value: !0 });
|
|
20144
20137
|
});
|
|
20145
20138
|
THREE.Sky = function() {
|
|
20146
|
-
var p = THREE.Sky.SkyShader,
|
|
20139
|
+
var p = THREE.Sky.SkyShader, bt = new THREE.ShaderMaterial({
|
|
20147
20140
|
fragmentShader: p.fragmentShader,
|
|
20148
20141
|
vertexShader: p.vertexShader,
|
|
20149
20142
|
uniforms: THREE.UniformsUtils.clone(p.uniforms),
|
|
20150
20143
|
side: THREE.BackSide
|
|
20151
20144
|
});
|
|
20152
|
-
THREE.Mesh.call(this, new THREE.BoxBufferGeometry(1, 1, 1),
|
|
20145
|
+
THREE.Mesh.call(this, new THREE.BoxBufferGeometry(1, 1, 1), bt);
|
|
20153
20146
|
};
|
|
20154
20147
|
THREE.Sky.prototype = Object.create(THREE.Mesh.prototype);
|
|
20155
20148
|
THREE.Sky.SkyShader = {
|
|
@@ -20302,33 +20295,33 @@ THREE.Sky.SkyShader = {
|
|
|
20302
20295
|
};
|
|
20303
20296
|
(function(p) {
|
|
20304
20297
|
typeof module > "u" ? window.charming = p : module.exports = p;
|
|
20305
|
-
})(function(p,
|
|
20306
|
-
|
|
20307
|
-
var $ =
|
|
20308
|
-
for (var
|
|
20298
|
+
})(function(p, bt) {
|
|
20299
|
+
bt = bt || {};
|
|
20300
|
+
var $ = bt.tagName || "span", mt = bt.classPrefix != null ? bt.classPrefix : "char", ht = 1, M = function(yt) {
|
|
20301
|
+
for (var Ot = yt.parentNode, Y = yt.nodeValue, lt = Y.length, St = -1; ++St < lt; ) {
|
|
20309
20302
|
var ut = document.createElement($);
|
|
20310
|
-
mt && (ut.className = mt + ht, ht++), ut.appendChild(document.createTextNode(Y[St])),
|
|
20303
|
+
mt && (ut.className = mt + ht, ht++), ut.appendChild(document.createTextNode(Y[St])), Ot.insertBefore(ut, yt);
|
|
20311
20304
|
}
|
|
20312
|
-
|
|
20305
|
+
Ot.removeChild(yt);
|
|
20313
20306
|
};
|
|
20314
|
-
return function yt(
|
|
20315
|
-
for (var Y = [].slice.call(
|
|
20307
|
+
return function yt(Ot) {
|
|
20308
|
+
for (var Y = [].slice.call(Ot.childNodes), lt = Y.length, St = -1; ++St < lt; )
|
|
20316
20309
|
yt(Y[St]);
|
|
20317
|
-
|
|
20310
|
+
Ot.nodeType === Node.TEXT_NODE && M(Ot);
|
|
20318
20311
|
}(p), p;
|
|
20319
20312
|
});
|
|
20320
20313
|
const Ah = [nh, Ph], Rh = {
|
|
20321
20314
|
continuation: null,
|
|
20322
20315
|
mapModali: null,
|
|
20323
20316
|
install(p) {
|
|
20324
|
-
if (Ah.forEach((yt,
|
|
20317
|
+
if (Ah.forEach((yt, Ot) => {
|
|
20325
20318
|
p.component(yt.name, yt);
|
|
20326
20319
|
}), this.continuation) {
|
|
20327
20320
|
p.config.globalProperties.$continuation = this.continuation;
|
|
20328
20321
|
return;
|
|
20329
20322
|
}
|
|
20330
|
-
let
|
|
20331
|
-
if (mt.appendChild($), this.loading =
|
|
20323
|
+
let bt = Oa(mh), $ = document.createElement("div"), mt = document.body;
|
|
20324
|
+
if (mt.appendChild($), this.loading = bt.mount($), p.config.globalProperties.$loading = this.loading, window.$continuation = this.loading, this.mapModali) {
|
|
20332
20325
|
p.config.globalProperties.$mapModali = this.mapModali;
|
|
20333
20326
|
return;
|
|
20334
20327
|
}
|