diff --git a/docs/assets/css/main.css b/docs/assets/css/main.css index 0e9e788..91a3c6e 100644 --- a/docs/assets/css/main.css +++ b/docs/assets/css/main.css @@ -849,6 +849,14 @@ br + .t-grad .word { .button--primary { background: var(--primary-gradient); } +.button--primary.button--outline { + border-width: 1px; + border-color: rgb(255 255 252 / var(--tw-border-opacity)); + --tw-border-opacity: 0.3; + --tw-text-opacity: 1; + color: rgb(255 255 252 / var(--tw-text-opacity)); + background: none; +} .button--secondary { border-width: 1px; border-color: rgb(255 255 252 / var(--tw-border-opacity)); @@ -1065,14 +1073,31 @@ br + .t-grad .word { position: relative; z-index: 2; } -.nav__cta { +.nav__ctas { display: none; + align-items: center; + -moz-column-gap: 1.25rem; + column-gap: 1.25rem; } @media (min-width: 1024px) { - .nav__cta { - display: block; + .nav__ctas { + display: flex; } } +.nav__side-link { + position: relative; + display: flex; + align-items: center; + -moz-column-gap: 0.5rem; + column-gap: 0.5rem; +} +.nav__side-text { + font-size: 16px; +} +.nav__side-icon { + height: 1rem; + width: 1rem; +} .nav__toggle { position: relative; display: flex; @@ -1188,6 +1213,9 @@ br + .t-grad .word { } .nav-mobile__end { position: relative; + display: flex; + flex-direction: column; + row-gap: 0.75rem; overflow: hidden; } .nav-mobile__end .button { @@ -1553,7 +1581,7 @@ br + .t-grad .word { left: 50%; max-height: 60%; width: auto; - max-width: 95%; + max-width: 85%; --tw-translate-x: -50%; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) @@ -5284,4 +5312,5 @@ br + .t-grad .word { --z-nav: 400; --z-default: 1; --z-behind: -1; + color-scheme: dark; } diff --git a/docs/assets/images/compute-ill.png b/docs/assets/images/compute-ill.png new file mode 100644 index 0000000..615f737 Binary files /dev/null and b/docs/assets/images/compute-ill.png differ diff --git a/docs/assets/images/compute-ill.svg b/docs/assets/images/compute-ill.svg deleted file mode 100644 index 1149277..0000000 --- a/docs/assets/images/compute-ill.svg +++ /dev/null @@ -1,175 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/assets/images/models-ill.png b/docs/assets/images/models-ill.png new file mode 100644 index 0000000..63acda7 Binary files /dev/null and b/docs/assets/images/models-ill.png differ diff --git a/docs/assets/images/models-ill.svg b/docs/assets/images/models-ill.svg deleted file mode 100644 index e6ef4b3..0000000 --- a/docs/assets/images/models-ill.svg +++ /dev/null @@ -1,322 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/assets/images/platform-ill.png b/docs/assets/images/platform-ill.png new file mode 100644 index 0000000..3d8760a Binary files /dev/null and b/docs/assets/images/platform-ill.png differ diff --git a/docs/assets/images/platform-ill.svg b/docs/assets/images/platform-ill.svg deleted file mode 100644 index df9455f..0000000 --- a/docs/assets/images/platform-ill.svg +++ /dev/null @@ -1,198 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/assets/images/solution-ill.png b/docs/assets/images/solution-ill.png new file mode 100644 index 0000000..7fe3d0c Binary files /dev/null and b/docs/assets/images/solution-ill.png differ diff --git a/docs/assets/images/solution-ill.svg b/docs/assets/images/solution-ill.svg deleted file mode 100644 index 368e7ae..0000000 --- a/docs/assets/images/solution-ill.svg +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/assets/scripts/main.js b/docs/assets/scripts/main.js index 9f2977c..809b0ed 100644 --- a/docs/assets/scripts/main.js +++ b/docs/assets/scripts/main.js @@ -3,7 +3,7 @@ var Au = (a, t, e) => t in a ? ku(a, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : (a[t] = e); -var Nt = (a, t, e) => (Au(a, typeof t != "symbol" ? t + "" : t, e), e); +var kt = (a, t, e) => (Au(a, typeof t != "symbol" ? t + "" : t, e), e); (function () { const t = document.createElement("link").relList; if (t && t.supports && t.supports("modulepreload")) return; @@ -473,7 +473,7 @@ function $l(a, t) { ); }, Wa = function (t) { - return t instanceof Re ? Tn(t) : or(t, t._dur); + return t instanceof Fe ? Tn(t) : or(t, t._dur); }, Gu = { _start: 0, endTime: Gr, totalDuration: Gr }, ci = function a(t, e, i) { @@ -896,27 +896,27 @@ function $l(a, t) { Zl(e, n), t.register && t.register(We, n, je); } else gc.push(t); }, - Lt = 255, + It = 255, wr = { - aqua: [0, Lt, Lt], - lime: [0, Lt, 0], + aqua: [0, It, It], + lime: [0, It, 0], silver: [192, 192, 192], black: [0, 0, 0], maroon: [128, 0, 0], teal: [0, 128, 128], - blue: [0, 0, Lt], + blue: [0, 0, It], navy: [0, 0, 128], - white: [Lt, Lt, Lt], + white: [It, It, It], olive: [128, 128, 0], - yellow: [Lt, Lt, 0], - orange: [Lt, 165, 0], + yellow: [It, It, 0], + orange: [It, 165, 0], gray: [128, 128, 128], purple: [128, 0, 128], green: [0, 128, 0], - red: [Lt, 0, 0], - pink: [Lt, 192, 203], - cyan: [0, Lt, Lt], - transparent: [Lt, Lt, Lt, 0], + red: [It, 0, 0], + pink: [It, 192, 203], + cyan: [0, It, It], + transparent: [It, It, It, 0], }, co = function (t, e, i) { return ( @@ -928,13 +928,13 @@ function $l(a, t) { : t * 3 < 2 ? e + (i - e) * (2 / 3 - t) * 6 : e) * - Lt + + It + 0.5) | 0 ); }, mc = function (t, e, i) { - var n = t ? (ji(t) ? [t >> 16, (t >> 8) & Lt, t & Lt] : 0) : wr.black, + var n = t ? (ji(t) ? [t >> 16, (t >> 8) & It, t & It] : 0) : wr.black, r, s, o, @@ -967,9 +967,9 @@ function $l(a, t) { ) return ( (n = parseInt(t.substr(1, 6), 16)), - [n >> 16, (n >> 8) & Lt, n & Lt, parseInt(t.substr(7), 16) / 255] + [n >> 16, (n >> 8) & It, n & It, parseInt(t.substr(7), 16) / 255] ); - (t = parseInt(t.substr(1), 16)), (n = [t >> 16, (t >> 8) & Lt, t & Lt]); + (t = parseInt(t.substr(1), 16)), (n = [t >> 16, (t >> 8) & It, t & It]); } else if (t.substr(0, 3) === "hsl") { if (((n = g = t.match(Lo)), !e)) (c = (+n[0] % 360) / 360), @@ -989,9 +989,9 @@ function $l(a, t) { return ( e && !g && - ((r = n[0] / Lt), - (s = n[1] / Lt), - (o = n[2] / Lt), + ((r = n[0] / It), + (s = n[1] / It), + (o = n[2] / It), (d = Math.max(r, s, o)), (p = Math.min(r, s, o)), (f = (d + p) / 2), @@ -1221,7 +1221,7 @@ function $l(a, t) { }, wc = function a(t, e) { for (var i = t._first, n; i; ) - i instanceof Re + i instanceof Fe ? a(i, e) : i.vars.yoyoEase && (!i._yoyo || !i._repeat) && @@ -1697,7 +1697,7 @@ gi(Qr.prototype, { _ps: !1, _rts: 1, }); -var Re = (function (a) { +var Fe = (function (a) { $l(t, a); function t(i, n) { var r; @@ -2162,7 +2162,7 @@ var Re = (function (a) { t ); })(Qr); -gi(Re.prototype, { _lock: 0, _hasPause: 0, _forcing: 0 }); +gi(Fe.prototype, { _lock: 0, _hasPause: 0, _forcing: 0 }); var uf = function (t, e, i, n, r, s, o) { var c = new je(this._pt, t, e, 0, 1, Cc, null, r), u = 0, @@ -2307,9 +2307,9 @@ var uf = function (t, e, i, n, r, s, o) { D, R, Y, - X, + H, V, - H; + $; if ( (x && (!p || !r) && (r = "none"), (t._ease = Sn(r, rr.ease)), @@ -2398,9 +2398,9 @@ var uf = function (t, e, i, n, r, s, o) { (N = E._gsap || ma(m)[C]._gsap), (t._ptLookup[C] = Y = {}), Ro[N.id] && rn.length && qs(), - (X = y === m ? C : y.indexOf(E)), + (H = y === m ? C : y.indexOf(E)), D && - (R = new D()).init(E, V || b, t, X, y) !== !1 && + (R = new D()).init(E, V || b, t, H, y) !== !1 && ((t._pt = O = new je(t._pt, E, R.name, 0, 1, R.render, R, 0, R.priority)), R._props.forEach(function (tt) { @@ -2410,23 +2410,23 @@ var uf = function (t, e, i, n, r, s, o) { !D || V) ) for (M in b) - ti[M] && (R = Sc(M, b, t, X, E, y)) + ti[M] && (R = Sc(M, b, t, H, E, y)) ? R.priority && (L = 1) : (Y[M] = O = - ya.call(t, E, M, "get", b[M], X, y, 0, n.stringFilter)); + ya.call(t, E, M, "get", b[M], H, y, 0, n.stringFilter)); t._op && t._op[C] && t.kill(E, t._op[C]), S && t._pt && ((Qi = t), jt.killTweensOf(E, Y, t.globalTime(e)), - (H = !t.parent), + ($ = !t.parent), (Qi = 0)), t._pt && c && (Ro[N.id] = 1); } L && Ec(t), t._onInit && t._onInit(t); } (t._onUpdate = u), - (t._initted = (!t._op || t._pt) && !H), + (t._initted = (!t._op || t._pt) && !$), p && e <= 0 && x.render(di, !0, !0); }, df = function (t, e, i, n, r, s, o, c) { @@ -2540,7 +2540,7 @@ var re = (function (a) { if ( ((n = o.vars), (x = o.timeline = - new Re({ + new Fe({ data: "nested", defaults: h || {}, targets: y && y.data === "nested" ? y.vars.targets : S, @@ -2573,7 +2573,7 @@ var re = (function (a) { var D = 0, R, Y, - X; + H; if (Pe(g)) g.forEach(function (V) { return x.to(S, V, ">"); @@ -2585,8 +2585,8 @@ var re = (function (a) { O === "ease" || O === "easeEach" || pf(O, g[O], C, g.easeEach); for (O in C) for ( - R = C[O].sort(function (V, H) { - return V.t - H.t; + R = C[O].sort(function (V, $) { + return V.t - $.t; }), D = 0, b = 0; @@ -2594,13 +2594,13 @@ var re = (function (a) { b++ ) (Y = R[b]), - (X = { + (H = { ease: Y.e, duration: ((Y.t - (b ? R[b - 1].t : 0)) / 100) * u, }), - (X[O] = Y.v), - x.to(S, X, D), - (D += X.duration); + (H[O] = Y.v), + x.to(S, H, D), + (D += H.duration); x.duration() < u && x.to({}, { duration: u - x.duration() }); } } @@ -2837,7 +2837,7 @@ var re = (function (a) { gi(re.prototype, { _targets: [], _lazy: 0, _startAt: 0, _op: 0, _onInit: 0 }); $e("staggerTo,staggerFrom,staggerFromTo", function (a) { re[a] = function () { - var t = new Re(), + var t = new Fe(), e = Bo.call(arguments, 0); return e.splice(a === "staggerFromTo" ? 5 : 4, 0, 0), t[a].apply(t, e); }; @@ -2940,8 +2940,8 @@ $e( }, ); oi.TweenMax = oi.TweenLite = re; -oi.TimelineLite = oi.TimelineMax = Re; -jt = new Re({ +oi.TimelineLite = oi.TimelineMax = Fe; +jt = new Fe({ sortChildren: !1, defaults: rr, autoRemoveChildren: !0, @@ -3083,7 +3083,7 @@ var Mn = [], ) (u = r.data[c]), - u instanceof Re + u instanceof Fe ? u.data !== "nested" && (u.scrollTrigger && u.scrollTrigger.revert(), u.kill()) : !(u instanceof re) && u.revert && u.revert(i); @@ -3162,7 +3162,7 @@ var Mn = [], }); }, timeline: function (t) { - return new Re(t); + return new Fe(t); }, getTweensOf: function (t, e) { return jt.getTweensOf(t, e); @@ -3245,7 +3245,7 @@ var Mn = [], return i(hi(o), gi(c || {}, r), u); }), s && - (Re.prototype[e] = function (o, c, u) { + (Fe.prototype[e] = function (o, c, u) { return this.add(lo[e](o, Ri(c) ? c : (u = c) && {}, this), u); }); }, @@ -3260,7 +3260,7 @@ var Mn = [], }, exportRoot: function (t, e) { t === void 0 && (t = {}); - var i = new Re(t), + var i = new Fe(t), n, r; for ( @@ -3330,14 +3330,14 @@ var Mn = [], install: Ql, effects: lo, ticker: ei, - updateRoot: Re.updateRoot, + updateRoot: Fe.updateRoot, plugins: ti, globalTimeline: jt, core: { PropTween: je, globals: Zl, Tween: re, - Timeline: Re, + Timeline: Fe, Animation: Qr, getCache: bn, _removeLinkedListItem: eo, @@ -3355,7 +3355,7 @@ var Mn = [], $e("to,from,fromTo,delayedCall,set,killTweensOf", function (a) { return (Hs[a] = re[a]); }); -ei.add(Re.updateRoot); +ei.add(Fe.updateRoot); Wn = Hs.to({}, { duration: 0 }); var Sf = function (t, e) { for (var i = t._pt; i && i.p !== e && i.op !== e && i.fp !== e; ) @@ -3440,7 +3440,7 @@ var Sf = function (t, e) { po("modifiers"), po("snap", fc), ) || Hs; -re.version = Re.version = We.version = "3.12.5"; +re.version = Fe.version = We.version = "3.12.5"; Kl = 1; da() && ar(); St.Power0; @@ -4055,9 +4055,9 @@ St.Circ; D, R, Y, - X, - V, H, + V, + $, tt, gt, T, @@ -4091,9 +4091,9 @@ St.Circ; (i.uncache ? ((tt = t.getBBox()), (u = i.xOrigin - tt.x + "px " + (i.yOrigin - tt.y) + "px"), - (H = "")) - : (H = !e && t.getAttribute("data-svg-origin")), - Vo(t, H || u, !!H || i.originIsAbsolute, i.smooth !== !1, M)), + ($ = "")) + : ($ = !e && t.getAttribute("data-svg-origin")), + Vo(t, $ || u, !!$ || i.originIsAbsolute, i.smooth !== !1, M)), (b = i.xOrigin || 0), (C = i.yOrigin || 0), M !== Zr && @@ -4101,7 +4101,7 @@ St.Circ; (D = M[1]), (R = M[2]), (Y = M[3]), - (f = X = M[4]), + (f = H = M[4]), (d = V = M[5]), M.length === 6 ? ((l = Math.sqrt(N * N + D * D)), @@ -4124,14 +4124,14 @@ St.Circ; O && ((E = Math.cos(-O)), (L = Math.sin(-O)), - (H = X * E + T * L), + ($ = H * E + T * L), (tt = V * E + nt * L), (gt = G * E + ut * L), - (T = X * -L + T * E), + (T = H * -L + T * E), (nt = V * -L + nt * E), (ut = G * -L + ut * E), (F = I * -L + F * E), - (X = H), + (H = $), (V = tt), (G = gt)), (O = zn(-R, ut)), @@ -4139,11 +4139,11 @@ St.Circ; O && ((E = Math.cos(-O)), (L = Math.sin(-O)), - (H = N * E - T * L), + ($ = N * E - T * L), (tt = D * E - nt * L), (gt = R * E - ut * L), (F = Y * L + F * E), - (N = H), + (N = $), (D = tt), (R = gt)), (O = zn(D, N)), @@ -4151,24 +4151,24 @@ St.Circ; O && ((E = Math.cos(O)), (L = Math.sin(O)), - (H = N * E + D * L), - (tt = X * E + V * L), + ($ = N * E + D * L), + (tt = H * E + V * L), (D = D * E - N * L), - (V = V * E - X * L), - (N = H), - (X = tt)), + (V = V * E - H * L), + (N = $), + (H = tt)), m && Math.abs(m) + Math.abs(h) > 359.9 && ((m = h = 0), (_ = 180 - _)), (l = Jt(Math.sqrt(N * N + D * D + R * R))), (g = Jt(Math.sqrt(V * V + G * G))), - (O = zn(X, V)), + (O = zn(H, V)), (y = Math.abs(O) > 2e-4 ? O * _n : 0), (x = F ? 1 / (F < 0 ? -F : F) : 0)), i.svg && - ((H = t.getAttribute("transform")), + (($ = t.getAttribute("transform")), (i.forceCSS = t.setAttribute("transform", "") || !qc(Li(t, Vt))), - H && t.setAttribute("transform", H))), + $ && t.setAttribute("transform", $))), Math.abs(y) > 90 && Math.abs(y) < 270 && (r @@ -4638,8 +4638,8 @@ $e( }, ); We.registerPlugin(Xc); -var $ = We.registerPlugin(Xc) || We; -$.core.Tween; +var X = We.registerPlugin(Xc) || We; +X.core.Tween; function ol(a, t) { for (var e = 0; e < t.length; e++) { var i = t[e]; @@ -4733,7 +4733,7 @@ function Gf(a, t, e) { }; return (i.offset = 0), t && i; }, - Fe = { + Ne = { s: ds, p: "left", p2: "Left", @@ -4757,14 +4757,14 @@ function Gf(a, t, e) { d: "height", d2: "Height", a: "y", - op: Fe, + op: Ne, sc: Vs(function (a) { return arguments.length - ? ii.scrollTo(Fe.sc(), a) + ? ii.scrollTo(Ne.sc(), a) : ii.pageYOffset || tn[hs] || en[hs] || Zn[hs] || 0; }), }, - Ye = function (t, e) { + Xe = function (t, e) { return ( ((e && e._ctx && e._ctx.selector) || ve.utils.toArray)(t)[0] || (typeof t == "string" && ve.config().nullTargetWarn !== !1 @@ -4880,7 +4880,7 @@ function Gf(a, t, e) { Cs ); }; -Fe.op = ce; +Ne.op = ce; xt.cache = 0; var te = (function () { function a(e) { @@ -4918,9 +4918,9 @@ var te = (function () { D = i.onToggleX, R = i.onToggleY, Y = i.onHover, - X = i.onHoverEnd, + H = i.onHoverEnd, V = i.onMove, - H = i.ignoreCheck, + $ = i.ignoreCheck, tt = i.isNormalizer, gt = i.onGestureStart, T = i.onGestureEnd, @@ -4933,7 +4933,7 @@ var te = (function () { U = i.allowClicks, K = i.lockAxis, lt = i.onLockAxis; - (this.target = o = Ye(o) || en), + (this.target = o = Xe(o) || en), (this.vars = i), l && (l = ve.utils.toArray(l)), (n = n || 1e-9), @@ -4954,10 +4954,10 @@ var te = (function () { Mt = 0, Xt = 0, ue = i.passive || !f, - kt = cn(o, Fe), - Rt = cn(o, ce), - Ge = kt(), - Be = Rt(), + At = cn(o, Ne), + Ft = cn(o, ce), + Ge = At(), + ze = Ft(), Ht = ~s.indexOf("touch") && !~s.indexOf("pointer") && @@ -4970,11 +4970,11 @@ var te = (function () { _i = function () { return (ge = Rr()); }, - At = function (k, z) { + Lt = function (k, z) { return ( ((P.event = k) && l && ~l.indexOf(k.target)) || (z && Ht && k.pointerType !== "touch") || - (H && H(k, z)) + ($ && $(k, z)) ); }, Si = function () { @@ -5012,7 +5012,7 @@ var te = (function () { P._vy.update(z), u ? ft || (ft = requestAnimationFrame(Ue)) : Ue(); }, - ze = function (k, z) { + qe = function (k, z) { K && !Et && ((P.axis = Et = Math.abs(k) > Math.abs(z) ? "x" : "y"), (st = !0)), @@ -5021,7 +5021,7 @@ var te = (function () { u ? ft || (ft = requestAnimationFrame(Ue)) : Ue(); }, Qe = function (k) { - if (!At(k, 1)) { + if (!Lt(k, 1)) { k = _r(k, f); var z = k.clientX, A = k.clientY, @@ -5035,12 +5035,12 @@ var te = (function () { Math.abs(P.startY - A) >= r) && (y && (W = !0), Q || (P.isDragging = !0), - ze(j, B), + qe(j, B), Q || (m && m(P))); } }, Ce = (P.onPress = function (w) { - At(w, 1) || + Lt(w, 1) || (w && w.button) || ((P.axis = Et = null), et.pause(), @@ -5056,7 +5056,7 @@ var te = (function () { S && S(P)); }), dt = (P.onRelease = function (w) { - if (!At(w, 1)) { + if (!Lt(w, 1)) { Ee(tt ? o : Pt, mi[1], Qe, !0); var k = !isNaN(P.y - P.startY), z = P.isDragging, @@ -5110,21 +5110,21 @@ var te = (function () { gt(k, P.isDragging) ); }, - Ft = function () { + Nt = function () { return (P.isGesturing = !1) || T(P); }, we = function (k) { - if (!At(k)) { - var z = kt(), - A = Rt(); - Ke((z - Ge) * G, (A - Be) * G, 1), + if (!Lt(k)) { + var z = At(), + A = Ft(); + Ke((z - Ge) * G, (A - ze) * G, 1), (Ge = z), - (Be = A), + (ze = A), d && et.restart(!0); } }, - qe = function (k) { - if (!At(k)) { + Ye = function (k) { + if (!Lt(k)) { (k = _r(k, f)), nt && (ot = !0); var z = (k.deltaMode === 1 ? c : k.deltaMode === 2 ? ii.innerHeight : 1) * @@ -5133,7 +5133,7 @@ var te = (function () { } }, Mi = function (k) { - if (!At(k)) { + if (!Lt(k)) { var z = k.clientX, A = k.clientY, j = z - P.x, @@ -5142,24 +5142,24 @@ var te = (function () { (P.y = A), (Z = !0), d && et.restart(!0), - (j || B) && ze(j, B); + (j || B) && qe(j, B); } }, at = function (k) { (P.event = k), Y(P); }, v = function (k) { - (P.event = k), X(P); + (P.event = k), H(P); }, q = function (k) { - return At(k) || (_r(k, f) && F(P)); + return Lt(k) || (_r(k, f) && F(P)); }; (et = P._dc = ve.delayedCall(p || 0.25, Si).pause()), (P.deltaX = P.deltaY = 0), (P._vx = Uo(0, 50, !0)), (P._vy = Uo(0, 50, !0)), - (P.scrollX = kt), - (P.scrollY = Rt), + (P.scrollX = At), + (P.scrollY = Ft), (P.isDragging = P.isGesturing = P.isPressed = !1), jc(this), (P.enable = function (w) { @@ -5167,7 +5167,7 @@ var te = (function () { P.isEnabled || (ke(Wt ? Pt : o, "scroll", Go), s.indexOf("scroll") >= 0 && ke(Wt ? Pt : o, "scroll", we, ue, J), - s.indexOf("wheel") >= 0 && ke(o, "wheel", qe, ue, J), + s.indexOf("wheel") >= 0 && ke(o, "wheel", Ye, ue, J), ((s.indexOf("touch") >= 0 && Hc) || s.indexOf("pointer") >= 0) && (ke(o, mi[0], Ce, ue, J), ke(Pt, mi[2], dt), @@ -5175,9 +5175,9 @@ var te = (function () { U && ke(o, "click", _i, !0, !0), F && ke(o, "click", q), gt && ke(Pt, "gesturestart", xe), - T && ke(Pt, "gestureend", Ft), + T && ke(Pt, "gestureend", Nt), Y && ke(o, mn + "enter", at), - X && ke(o, mn + "leave", v), + H && ke(o, mn + "leave", v), V && ke(o, mn + "move", Mi)), (P.isEnabled = !0), w && w.type && Ce(w), @@ -5193,14 +5193,14 @@ var te = (function () { P.isPressed && (P._vx.reset(), P._vy.reset(), Ee(tt ? o : Pt, mi[1], Qe, !0)), Ee(Wt ? Pt : o, "scroll", we, J), - Ee(o, "wheel", qe, J), + Ee(o, "wheel", Ye, J), Ee(o, mi[0], Ce, J), Ee(Pt, mi[2], dt), Ee(Pt, mi[3], dt), Ee(o, "click", _i, !0), Ee(o, "click", q), Ee(Pt, "gesturestart", xe), - Ee(Pt, "gestureend", Ft), + Ee(Pt, "gestureend", Nt), Ee(o, mn + "enter", at), Ee(o, mn + "leave", v), Ee(o, mn + "move", Mi), @@ -5387,7 +5387,7 @@ Vc() && ve.registerPlugin(te); Je = function (t) { return typeof t == "string"; }, - Ne = function (t) { + Be = function (t) { return typeof t == "function"; }, Mr = function (t) { @@ -5656,7 +5656,7 @@ Vc() && ve.registerPlugin(te); xt.cache++, (e || !Ie) && xt.forEach(function (i) { - return Ne(i) && i.cacheID++ && (i.rec = 0); + return Be(i) && i.cacheID++ && (i.rec = 0); }), Je(t) && (bt.history.scrollRestoration = Oa = t); }, @@ -5691,13 +5691,13 @@ Vc() && ve.registerPlugin(te); fu(), (Ie = mt.isRefreshing = !0), xt.forEach(function (n) { - return Ne(n) && ++n.cacheID && (n.rec = n()); + return Be(n) && ++n.cacheID && (n.rec = n()); }); var i = Rn("refreshInit"); Qc && mt.sort(), e || La(), xt.forEach(function (n) { - Ne(n) && (n.smooth && (n.target.style.scrollBehavior = "auto"), n(0)); + Be(n) && (n.smooth && (n.target.style.scrollBehavior = "auto"), n(0)); }), yt.slice(0).forEach(function (n) { return n.refresh(); @@ -5729,7 +5729,7 @@ Vc() && ve.registerPlugin(te); return n && n.render && n.render(-1); }), xt.forEach(function (n) { - Ne(n) && + Be(n) && (n.smooth && requestAnimationFrame(function () { return (n.target.style.scrollBehavior = "smooth"); @@ -5742,7 +5742,7 @@ Vc() && ve.registerPlugin(te); (Ie = 2), $i(2), yt.forEach(function (n) { - return Ne(n.vars.onRefresh) && n.vars.onRefresh(n); + return Be(n.vars.onRefresh) && n.vars.onRefresh(n); }), (Ie = mt.isRefreshing = !1), Rn("refresh"); @@ -5830,7 +5830,7 @@ Vc() && ve.registerPlugin(te); (s.flexBasis = i.flexBasis || "auto"), (s.overflow = "visible"), (s.boxSizing = "border-box"), - (s[Dn] = Us(t, Fe) + ae), + (s[Dn] = Us(t, Ne) + ae), (s[On] = Us(t, ce) + ae), (s[ie] = o[ui] = o[ou] = o[su] = "0"), tr(n), @@ -5870,7 +5870,7 @@ Vc() && ve.registerPlugin(te); }, Is = { left: 0, top: 0 }, vl = function (t, e, i, n, r, s, o, c, u, f, d, p, l, g) { - Ne(t) && (t = t(c)), + Be(t) && (t = t(c)), Je(t) && t.substr(0, 3) === "max" && (t = p + (t.charAt(4) === "=" ? Es("0" + t.substr(3), i) : 0)); @@ -5889,13 +5889,13 @@ Vc() && ve.registerPlugin(te); )), o && ks(o, i, n, !0); else { - Ne(e) && (e = e(c)); + Be(e) && (e = e(c)); var S = (t || "0").split(" "), x, b, C, M; - (y = Ye(e, c) || zt), + (y = Xe(e, c) || zt), (x = qi(y) || {}), (!x || (!x.left && !x.top)) && fi(y).display === "none" && @@ -6061,18 +6061,18 @@ Vc() && ve.registerPlugin(te); E = r.preventOverlaps, L = i.horizontal || (i.containerAnimation && i.horizontal !== !1) - ? Fe + ? Ne : ce, N = !d && d !== 0, - D = Ye(i.scroller || bt), + D = Xe(i.scroller || bt), R = it.core.getCache(D), Y = Ln(D), - X = + H = ("pinType" in i ? i.pinType : on(D, "pinType") || (Y && "fixed")) === "fixed", V = [i.onEnter, i.onLeave, i.onEnterBack, i.onLeaveBack], - H = N && i.toggleActions.split(" "), + $ = N && i.toggleActions.split(" "), tt = "markers" in i ? i.markers : vs.markers, gt = Y ? 0 : parseFloat(fi(D)["border" + L.p2 + cr]) || 0, T = this, @@ -6100,10 +6100,10 @@ Vc() && ve.registerPlugin(te); Mt, Xt, ue, - kt, - Rt, + At, + Ft, Ge, - Be, + ze, Ht, Wt, Pt, @@ -6111,18 +6111,18 @@ Vc() && ve.registerPlugin(te); Gt, ge, _i, - At, + Lt, Si, Ue, Ke, - ze, + qe, Qe, Ce, dt, xe, - Ft, + Nt, we, - qe, + Ye, Mi, at, v; @@ -6139,7 +6139,7 @@ Vc() && ve.registerPlugin(te); ((Qc = 1), i.refreshPriority === -9999 && (Xr = T)), (R.tweenScroll = R.tweenScroll || { top: wl(D, ce), - left: wl(D, Fe), + left: wl(D, Ne), }), (T.tweenTo = K = R.tweenScroll[L.p]), (T.scrubDuration = function (A) { @@ -6177,12 +6177,12 @@ Vc() && ve.registerPlugin(te); it.set(Y ? [zt, vi] : D, { scrollBehavior: "auto" }), xt.forEach(function (A) { return ( - Ne(A) && + Be(A) && A.target === (Y ? $t.scrollingElement || vi : D) && (A.smooth = !1) ); }), - (ft = Ne(x.snapTo) + (ft = Be(x.snapTo) ? x.snapTo : x.snapTo === "labels" ? td(n) @@ -6196,8 +6196,8 @@ Vc() && ve.registerPlugin(te); ); } : it.utils.snap(x.snapTo)), - (Ft = x.duration || { min: 0.1, max: 2 }), - (Ft = yn(Ft) ? Nr(Ft.min, Ft.max) : Nr(Ft, Ft)), + (Nt = x.duration || { min: 0.1, max: 2 }), + (Nt = yn(Nt) ? Nr(Nt.min, Nt.max) : Nr(Nt, Nt)), (we = it .delayedCall(x.delay || xe / 2 || 0.1, function () { var A = U(), @@ -6209,7 +6209,7 @@ Vc() && ve.registerPlugin(te); !ro && F !== A ) { - var Q = (A - Z) / kt, + var Q = (A - Z) / At, ct = n && !N ? n.totalProgress() : Q, rt = j ? 0 : ((ct - Ce) / (Me() - br)) * 1e3 || 0, _t = it.utils.clamp(-Q, 1 - Q, (qn(rt / 2) * rt) / 0.185), @@ -6223,7 +6223,7 @@ Vc() && ve.registerPlugin(te); if ( ((Ot = ft(Dt, T)), Mr(Ot) || (Ot = Dt), - (vt = Math.round(Z + Ot * kt)), + (vt = Math.round(Z + Ot * At)), A <= ot && A >= Z && vt !== A) ) { if (B && !B._initted && B.data <= qn(vt - A)) return; @@ -6231,7 +6231,7 @@ Vc() && ve.registerPlugin(te); K( vt, { - duration: Ft( + duration: Nt( qn( (Math.max(qn(Dt - ct), qn(Ot - ct)) * 0.185) / rt / @@ -6261,8 +6261,8 @@ Vc() && ve.registerPlugin(te); }, }, A, - _t * kt, - vt - A - _t * kt, + _t * At, + vt - A - _t * At, ), Ct && Ct(T, K.tween); } @@ -6270,10 +6270,10 @@ Vc() && ve.registerPlugin(te); }) .pause())), c && (ta[c] = T), - (p = T.trigger = Ye(p || (l !== !0 && l))), + (p = T.trigger = Xe(p || (l !== !0 && l))), (v = p && p._gsap && p._gsap.stRevert), v && (v = v(T)), - (l = l === !0 ? p : Ye(l)), + (l = l === !0 ? p : Xe(l)), Je(o) && (o = { targets: p, className: o }), l && (g === !1 || @@ -6288,35 +6288,35 @@ Vc() && ve.registerPlugin(te); (T.pin = l), (lt = it.core.getCache(l)), lt.spacer - ? (Rt = lt.pinState) + ? (Ft = lt.pinState) : (C && - ((C = Ye(C)), + ((C = Xe(C)), C && !C.nodeType && (C = C.current || C.nativeElement), (lt.spacerIsNative = !!C), C && (lt.spacerState = ws(C))), (lt.spacer = Ht = C || $t.createElement("div")), Ht.classList.add("pin-spacer"), c && Ht.classList.add("pin-spacer-" + c), - (lt.pinState = Rt = ws(l))), + (lt.pinState = Ft = ws(l))), i.force3D !== !1 && it.set(l, { force3D: !0 }), (T.spacer = Ht = lt.spacer), - (ze = fi(l)), - (_i = ze[g + L.os2]), + (qe = fi(l)), + (_i = qe[g + L.os2]), (Pt = it.getProperty(l)), (se = it.quickSetter(l, L.a, ae)), - bo(l, Ht, ze), - (Be = ws(l))), + bo(l, Ht, qe), + (ze = ws(l))), tt) ) { (Xt = yn(tt) ? pl(tt, gl) : gl), (P = xs("scroller-start", c, D, L, Xt, 0)), (Mt = xs("scroller-end", c, D, L, Xt, 0, P)), (Wt = P["offset" + L.op.d2]); - var q = Ye(on(D, "content") || D); + var q = Xe(on(D, "content") || D); (st = this.markerStart = xs("start", c, q, L, Xt, Wt, 0, M)), (Et = this.markerEnd = xs("end", c, q, L, Xt, Wt, 0, M)), M && (at = it.quickSetter([st, Et], L.a, ae)), - !X && + !H && !(Ii.length && on(D, "fixedMarkers") === !0) && (Jf(Y ? zt : D), it.set([P, Mt], { force3D: !0 }), @@ -6343,7 +6343,7 @@ Vc() && ve.registerPlugin(te); Q = Se; B !== T.isReverted && (B && - ((qe = Math.max(U(), T.scroll.rec || 0)), + ((Ye = Math.max(U(), T.scroll.rec || 0)), (J = T.progress), (Mi = n && n.progress())), st && @@ -6353,7 +6353,7 @@ Vc() && ve.registerPlugin(te); B && ((Se = T), T.update(B)), l && (!b || !T.isActive) && - (B ? rd(l, Ht, Rt) : bo(l, Ht, fi(l), At)), + (B ? rd(l, Ht, Ft) : bo(l, Ht, fi(l), Lt)), B || T.update(B), (Se = Q), (T.isReverted = B)); @@ -6374,7 +6374,7 @@ Vc() && ve.registerPlugin(te); var ct = ut(), rt = I(), _t = M ? M.duration() : Ai(D, L), - Dt = kt <= 0.01, + Dt = At <= 0.01, Ot = 0, vt = Q || 0, wt = yn(B) ? B.end : i.end, @@ -6383,7 +6383,7 @@ Vc() && ve.registerPlugin(te); ? B.start : i.start || (i.start === 0 || !p ? 0 : l ? "0 0" : "0 100%"), _e = (T.pinnedContainer = - i.pinnedContainer && Ye(i.pinnedContainer, T)), + i.pinnedContainer && Xe(i.pinnedContainer, T)), Ut = (p && Math.max(0, yt.indexOf(T))) || 0, me = Ut, ye, @@ -6415,7 +6415,7 @@ Vc() && ve.registerPlugin(te); (dr || (dr = []), dr.unshift(oe), oe.revert(!0, !0)), oe !== yt[me] && (Ut--, me--); for ( - Ne(pt) && (pt = pt(T)), + Be(pt) && (pt = pt(T)), pt = ul(pt, "start", T), Z = vl( @@ -6429,12 +6429,12 @@ Vc() && ve.registerPlugin(te); T, rt, gt, - X, + H, _t, M, T._startClamp && "_startClamp", ) || (l ? -0.001 : 0), - Ne(wt) && (wt = wt(T)), + Be(wt) && (wt = wt(T)), Je(wt) && !wt.indexOf("+=") && (~wt.indexOf(" ") @@ -6467,7 +6467,7 @@ Vc() && ve.registerPlugin(te); T, rt, gt, - X, + H, _t, M, T._endClamp && "_endClamp", @@ -6498,8 +6498,8 @@ Vc() && ve.registerPlugin(te); T._endClamp && !Ie && ((T._endClamp = ot || -0.001), (ot = Math.min(ot, Ai(D, L)))), - (kt = ot - Z || ((Z -= 0.01) && 0.001)), - Dt && (J = it.utils.clamp(0, 1, it.utils.normalize(Z, ot, qe))), + (At = ot - Z || ((Z -= 0.01) && 0.001)), + Dt && (J = it.utils.clamp(0, 1, it.utils.normalize(Z, ot, Ye))), (T._pinPush = vt), st && Ot && @@ -6524,30 +6524,30 @@ Vc() && ve.registerPlugin(te); fi(zt)["overflow" + L.a.toUpperCase()] !== "scroll" && (Oi.style["overflow" + L.a.toUpperCase()] = "scroll")), bo(l, Ht, ye), - (Be = ws(l)), + (ze = ws(l)), (be = qi(l, !0)), - (oo = X && cn(D, cs ? Fe : ce)()), + (oo = H && cn(D, cs ? Ne : ce)()), g - ? ((At = [g + L.os2, kt + vt + ae]), - (At.t = Ht), - (me = g === ie ? Us(l, L) + kt + vt : 0), + ? ((Lt = [g + L.os2, At + vt + ae]), + (Lt.t = Ht), + (me = g === ie ? Us(l, L) + At + vt : 0), me && - (At.push(L.d, me + ae), + (Lt.push(L.d, me + ae), Ht.style.flexBasis !== "auto" && (Ht.style.flexBasis = me + ae)), - tr(At), + tr(Lt), _e && yt.forEach(function (pr) { pr.pin === _e && pr.vars.pinSpacing !== !1 && (pr._subPinOffset = !0); }), - X && U(qe)) + H && U(Ye)) : ((me = Us(l, L)), me && Ht.style.flexBasis !== "auto" && (Ht.style.flexBasis = me + ae)), - X && + H && ((Te = { top: be.top + (cs ? fn - Z : oo) + ae, left: be.left + (cs ? oo : fn - Z) + ae, @@ -6567,20 +6567,20 @@ Vc() && ve.registerPlugin(te); (Te[ie + Br] = ye[ie + Br]), (Te[ie + Yr] = ye[ie + Yr]), (Te[ie + zr] = ye[ie + zr]), - (Ge = od(Rt, Te, b)), + (Ge = od(Ft, Te, b)), Ie && U(0)), n ? ((Ha = n._initted), mo(1), n.render(n.duration(), !0, !0), - (ge = Pt(L.a) - Gt + kt + vt), - (Ue = Math.abs(kt - ge) > 1), - X && Ue && Ge.splice(Ge.length - 2, 2), + (ge = Pt(L.a) - Gt + At + vt), + (Ue = Math.abs(At - ge) > 1), + H && Ue && Ge.splice(Ge.length - 2, 2), n.render(0, !0, !0), Ha || n.invalidate(!0), n.parent || n.totalTime(n.totalTime()), mo(0)) - : (ge = kt), + : (ge = At), Oi && (Oi.value ? (Oi.style["overflow" + L.a.toUpperCase()] = Oi.value) @@ -6596,8 +6596,8 @@ Vc() && ve.registerPlugin(te); }), (T.start = Z), (T.end = ot), - (et = W = Ie ? qe : U()), - !M && !Ie && (et < qe && U(qe), (T.scroll.rec = 0)), + (et = W = Ie ? Ye : U()), + !M && !Ie && (et < Ye && U(Ye), (T.scroll.rec = 0)), T.revert(!1, !0), (G = Me()), we && ((F = -1), we.restart(!0)), @@ -6614,7 +6614,7 @@ Vc() && ve.registerPlugin(te); M && Z < -0.001 && !J ? it.utils.normalize(Z, ot, 0) : J, !0, ), - (T.progress = Dt || (et - Z) / kt === J ? 0 : J)), + (T.progress = Dt || (et - Z) / At === J ? 0 : J)), l && g && (Ht._pinOffset = Math.round(T.progress * ge)), dt && dt.invalidate(), isNaN(hr) || @@ -6644,7 +6644,7 @@ Vc() && ve.registerPlugin(te); return ( (n && n.labels && - (Z || T.refresh() || Z) + (n.labels[A] / n.duration()) * kt) || + (Z || T.refresh() || Z) + (n.labels[A] / n.duration()) * At) || 0 ); }), @@ -6663,8 +6663,8 @@ Vc() && ve.registerPlugin(te); }), (T.update = function (A, j, B) { if (!(M && !B && !A)) { - var Q = Ie === !0 ? qe : T.scroll(), - ct = A ? 0 : (Q - Z) / kt, + var Q = Ie === !0 ? Ye : T.scroll(), + ct = A ? 0 : (Q - Z) / At, rt = ct < 0 ? 0 : ct > 1 ? 1 : ct || 0, _t = T.progress, Dt, @@ -6704,14 +6704,14 @@ Vc() && ve.registerPlugin(te); ((vt = rt && !_t ? 0 : rt === 1 ? 1 : _t === 1 ? 2 : 3), N && ((wt = - (!pt && H[vt + 1] !== "none" && H[vt + 1]) || H[vt]), + (!pt && $[vt + 1] !== "none" && $[vt + 1]) || $[vt]), (Ut = n && (wt === "complete" || wt === "reset" || wt in n)))), E && (pt || Ut) && (Ut || d || !n) && - (Ne(E) + (Be(E) ? E(T) : T.getTrailing(E).forEach(function (fn) { return fn.endAnimation(); @@ -6727,7 +6727,7 @@ Vc() && ve.registerPlugin(te); : n && n.totalProgress(rt, !!(Se && (G || A)))), l) ) { - if ((A && g && (Ht.style[g + L.os2] = _i), !X)) + if ((A && g && (Ht.style[g + L.os2] = _i), !H)) se(Sr(Gt + ge * rt)); else if (Ct) { if ( @@ -6744,7 +6744,7 @@ Vc() && ve.registerPlugin(te); me.left + (L === ce ? 0 : ye) + ae, ); } else xl(l, Ht); - tr(Dt || _e ? Ge : Be), + tr(Dt || _e ? Ge : ze), (Ue && rt < 1 && Dt) || se(Gt + (rt === 1 && !_e ? ge : 0)); } @@ -6821,11 +6821,11 @@ Vc() && ve.registerPlugin(te); T.update(); }), (T.adjustPinSpacing = function (A) { - if (At && A) { - var j = At.indexOf(L.d) + 1; - (At[j] = parseFloat(At[j]) + A + ae), - (At[1] = parseFloat(At[1]) + A + ae), - tr(At); + if (Lt && A) { + var j = Lt.indexOf(L.d) + 1; + (Lt[j] = parseFloat(Lt[j]) + A + ae), + (Lt[1] = parseFloat(Lt[1]) + A + ae), + tr(Lt); } }), (T.disable = function (A, j) { @@ -6834,7 +6834,7 @@ Vc() && ve.registerPlugin(te); (A !== !1 && T.revert(!0, !0), (T.enabled = T.isActive = !1), j || (dt && dt.pause()), - (qe = 0), + (Ye = 0), lt && (lt.uncache = 1), nt && fe(a, "refreshInit", nt), we && (we.pause(), K.tween && K.tween.kill() && (K.tween = 0)), @@ -6876,14 +6876,14 @@ Vc() && ve.registerPlugin(te); yt.push(T), T.enable(!1, !1), v && v(T), - n && n.add && !kt) + n && n.add && !At) ) { var z = T.update; (T.update = function () { (T.update = z), Z || ot || T.refresh(); }), it.delayedCall(0.01, T.update), - (kt = 0.01), + (At = 0.01), (Z = ot = 0); } else T.refresh(); l && nd(); @@ -6985,7 +6985,7 @@ Vc() && ve.registerPlugin(te); i.borderTopStyle = "solid", s = qi(zt), ce.m = Math.round(s.top + ce.sc()) || 0, - Fe.m = Math.round(s.left + Fe.sc()) || 0, + Ne.m = Math.round(s.left + Ne.sc()) || 0, n ? (i.borderTopStyle = n) : i.removeProperty("border-top-style"), ps = setInterval(_l, 250), it.delayedCall(0.5, function () { @@ -7041,7 +7041,7 @@ Vc() && ve.registerPlugin(te); (Zc = (i.autoRefreshEvents + "").indexOf("resize") === -1)); }), (a.scrollerProxy = function (i, n) { - var r = Ye(i), + var r = Xe(i), s = xt.indexOf(r), o = Ln(r); ~s && xt.splice(s, o ? 6 : 2), @@ -7053,14 +7053,14 @@ Vc() && ve.registerPlugin(te); }); }), (a.isInViewport = function (i, n, r) { - var s = (Je(i) ? Ye(i) : i).getBoundingClientRect(), + var s = (Je(i) ? Xe(i) : i).getBoundingClientRect(), o = s[r ? Dn : On] * n || 0; return r ? s.right - o > 0 && s.left + o < bt.innerWidth : s.bottom - o > 0 && s.top + o < bt.innerHeight; }), (a.positionInViewport = function (i, n, r) { - Je(i) && (i = Ye(i)); + Je(i) && (i = Xe(i)); var s = i.getBoundingClientRect(), o = s[r ? Dn : On], c = @@ -7122,10 +7122,10 @@ mt.update = function (a) { }; mt.clearScrollMemory = uu; mt.maxScroll = function (a, t) { - return Ai(a, t ? Fe : ce); + return Ai(a, t ? Ne : ce); }; mt.getScrollFunc = function (a, t) { - return cn(Ye(a), t ? Fe : ce); + return cn(Xe(a), t ? Ne : ce); }; mt.getById = function (a) { return ta[a]; @@ -7171,11 +7171,11 @@ mt.batch = function (a, t) { o; for (o in t) i[o] = - o.substr(0, 2) === "on" && Ne(t[o]) && o !== "onRefreshInit" + o.substr(0, 2) === "on" && Be(t[o]) && o !== "onRefreshInit" ? s(o, t[o]) : t[o]; return ( - Ne(r) && + Be(r) && ((r = r()), de(mt, "refresh", function () { return (r = t.batchMax()); @@ -7271,22 +7271,22 @@ var bl = function (t, e, i, n) { s = e.onRelease, o, c, - u = Ye(t.target) || vi, + u = Xe(t.target) || vi, f = it.core.globals().ScrollSmoother, d = f && f.get(), p = Ui && - ((t.content && Ye(t.content)) || + ((t.content && Xe(t.content)) || (d && t.content !== !1 && !d.smooth() && d.content())), l = cn(u, ce), - g = cn(u, Fe), + g = cn(u, Ne), h = 1, m = (te.isTouch && bt.visualViewport ? bt.visualViewport.scale * bt.visualViewport.width : bt.outerWidth) / bt.innerWidth, _ = 0, - y = Ne(n) + y = Be(n) ? function () { return n(o); } @@ -7304,7 +7304,7 @@ var bl = function (t, e, i, n) { E = function () { (c = Ai(u, ce)), (O = Nr(Ui ? 1 : 0, c)), - i && (M = Nr(0, Ai(u, Fe))), + i && (M = Nr(0, Ai(u, Ne))), (S = Pn); }, L = function () { @@ -7338,7 +7338,7 @@ var bl = function (t, e, i, n) { D, R, Y, - X, + H, V = function () { E(), D.isActive() && @@ -7347,28 +7347,28 @@ var bl = function (t, e, i, n) { }; return ( p && it.set(p, { y: "+=0" }), - (t.ignoreCheck = function (H) { + (t.ignoreCheck = function ($) { return ( - (Ui && H.type === "touchmove" && N()) || - (h > 1.05 && H.type !== "touchstart") || + (Ui && $.type === "touchmove" && N()) || + (h > 1.05 && $.type !== "touchstart") || o.isGesturing || - (H.touches && H.touches.length > 1) + ($.touches && $.touches.length > 1) ); }), (t.onPress = function () { x = !1; - var H = h; + var $ = h; (h = Sr(((bt.visualViewport && bt.visualViewport.scale) || 1) / m)), D.pause(), - H !== h && To(u, h > 1.01 ? !0 : i ? !1 : "x"), + $ !== h && To(u, h > 1.01 ? !0 : i ? !1 : "x"), (R = g()), (Y = l()), E(), (S = Pn); }), (t.onRelease = t.onGestureStart = - function (H, tt) { - if ((l.offset && L(), !tt)) X.restart(!0); + function ($, tt) { + if ((l.offset && L(), !tt)) H.restart(!0); else { xt.cache++; var gt = y(), @@ -7376,31 +7376,31 @@ var bl = function (t, e, i, n) { nt; i && ((T = g()), - (nt = T + (gt * 0.05 * -H.velocityX) / 0.227), - (gt *= bl(g, T, nt, Ai(u, Fe))), + (nt = T + (gt * 0.05 * -$.velocityX) / 0.227), + (gt *= bl(g, T, nt, Ai(u, Ne))), (D.vars.scrollX = M(nt))), (T = l()), - (nt = T + (gt * 0.05 * -H.velocityY) / 0.227), + (nt = T + (gt * 0.05 * -$.velocityY) / 0.227), (gt *= bl(l, T, nt, Ai(u, ce))), (D.vars.scrollY = O(nt)), D.invalidate().duration(gt).play(0.01), ((Ui && D.vars.scrollY >= c) || T >= c - 1) && it.to({}, { onUpdate: V, duration: gt }); } - s && s(H); + s && s($); }), (t.onWheel = function () { D._ts && D.pause(), Me() - _ > 1e3 && ((S = 0), (_ = Me())); }), - (t.onChange = function (H, tt, gt, T, nt) { + (t.onChange = function ($, tt, gt, T, nt) { if ( (Pn !== S && E(), - tt && i && g(M(T[2] === tt ? R + (H.startX - H.x) : g() + tt - T[1])), + tt && i && g(M(T[2] === tt ? R + ($.startX - $.x) : g() + tt - T[1])), gt) ) { l.offset && L(); var ut = nt[2] === gt, - I = ut ? Y + H.startY - H.y : l() + gt - nt[1], + I = ut ? Y + $.startY - $.y : l() + gt - nt[1], F = O(I); ut && I !== F && (Y += F - I), l(F); } @@ -7426,7 +7426,7 @@ var bl = function (t, e, i, n) { (o.iOS = Ui), Ui && !l() && l(1), Ui && it.ticker.add(Ci), - (X = o._dc), + (H = o._dc), (D = it.to(o, { ease: "power4", paused: !0, @@ -7439,7 +7439,7 @@ var bl = function (t, e, i, n) { }), }, onUpdate: $i, - onComplete: X.vars.onComplete, + onComplete: H.vars.onComplete, })), o ); @@ -7484,13 +7484,13 @@ mt.core = { }, }; iu() && it.registerPlugin(mt); -$.registerPlugin(mt); +X.registerPlugin(mt); class fd { constructor() { this.init(); } setup() { - this.visibilityTl = $.timeline({ + this.visibilityTl = X.timeline({ scrollTrigger: { trigger: this.DOM.section, start: "top bottom", @@ -7739,9 +7739,9 @@ function md(a, t, e, i, n, r, s, o, c, u, f, d, p, l, g, h, m, _, y, S) { D = h ? 43 : 25; let R = !1, Y = 0, - X = 0, + H = 0, V = !1, - H = !1, + $ = !1, tt = !1, gt = !1; function T(W) { @@ -7798,15 +7798,15 @@ function md(a, t, e, i, n, r, s, o, c, u, f, d, p, l, g, h, m, _, y, S) { r.set(o), ut(), (Y = s.readPoint(W)), - (X = s.readPoint(W, x)), + (H = s.readPoint(W, x)), l.emit("pointerDown"))); } function U(W) { const Z = s.readPoint(W), ot = s.readPoint(W, x), st = Hr(Z, Y), - Et = Hr(ot, X); - if (!H && !gt && (!W.cancelable || ((H = st > Et), !H))) return K(W); + Et = Hr(ot, H); + if (!$ && !gt && (!W.cancelable || (($ = st > Et), !$))) return K(W); const P = s.pointerMove(W); st > m && (tt = !0), f.useFriction(0.3).useDuration(1), @@ -7821,7 +7821,7 @@ function md(a, t, e, i, n, r, s, o, c, u, f, d, p, l, g, h, m, _, y, S) { P = dd(st, Et), Mt = D - 10 * P, Xt = y + P / 50; - (H = !1), + ($ = !1), (V = !1), O.clear(), f.useDuration(Mt).useFriction(Xt), @@ -8250,8 +8250,8 @@ function Ld(a, t, e, i, n, r, s, o, c, u) { return O.map((D) => { const R = L ? 0 : -i, Y = L ? i : 0, - X = L ? "end" : "start", - V = N[D][X]; + H = L ? "end" : "start", + V = N[D][H]; return { index: D, loopPoint: V, @@ -8440,10 +8440,10 @@ function Bd(a, t, e, i, n, r, s) { D = N.measureSize(O), R = xd(D), Y = hd(o, D), - X = !d && !!y, + H = !d && !!y, V = d || !!y, { - slideSizes: H, + slideSizes: $, slideSizesWithGaps: tt, startGap: gt, endGap: T, @@ -8452,7 +8452,7 @@ function Bd(a, t, e, i, n, r, s) { { snaps: ut, snapsAligned: I } = Pd(N, Y, O, E, nt), F = -bi(ut) + bi(tt), { snapsContained: G, scrollContainLimit: J } = Sd(D, F, I, y, C), - U = X ? G : I, + U = H ? G : I, { limit: K } = Md(F, U, d), lt = _u(ls(U), f, d), ft = lt.clone(), @@ -8461,32 +8461,32 @@ function Bd(a, t, e, i, n, r, s) { dragHandler: Gt, scrollBody: ge, scrollBounds: _i, - options: { loop: At }, + options: { loop: Lt }, }) => { - At || _i.constrain(Gt.pointerDown()), ge.seek(); + Lt || _i.constrain(Gt.pointerDown()), ge.seek(); }, Z = ( { scrollBody: Gt, translate: ge, location: _i, - offsetLocation: At, + offsetLocation: Lt, scrollLooper: Si, slideLooper: Ue, dragHandler: Ke, - animation: ze, + animation: qe, eventHandler: Qe, options: { loop: Ce }, }, dt, ) => { const xe = Gt.velocity(), - Ft = Gt.settled(); - Ft && !Ke.pointerDown() && (ze.stop(), Qe.emit("settle")), - Ft || Qe.emit("scroll"), - At.set(_i.get() - xe + xe * dt), + Nt = Gt.settled(); + Nt && !Ke.pointerDown() && (qe.stop(), Qe.emit("settle")), + Nt || Qe.emit("scroll"), + Lt.set(_i.get() - xe + xe * dt), Ce && (Si.loop(Gt.direction()), Ue.loop()), - ge.to(At.get()); + ge.to(Lt.get()); }, ot = pd( i, @@ -8500,13 +8500,13 @@ function Bd(a, t, e, i, n, r, s) { Mt = Rs(Et), Xt = Rs(Et), ue = bd(P, Mt, Xt, p, st), - kt = Ed(d, U, F, K, Xt), - Rt = kd(ot, lt, ft, ue, kt, Xt, s), + At = Ed(d, U, F, K, Xt), + Ft = kd(ot, lt, ft, ue, At, Xt, s), Ge = Od(K), - Be = rs(), + ze = rs(), Ht = Rd(t, e, s, h), - { slideRegistry: Wt } = Cd(X, y, U, J, nt, et), - Pt = Ad(a, e, Wt, Rt, ue, Be), + { slideRegistry: Wt } = Cd(H, y, U, J, nt, et), + Pt = Ad(a, e, Wt, Ft, ue, ze), se = { ownerDocument: i, ownerWindow: n, @@ -8526,9 +8526,9 @@ function Bd(a, t, e, i, n, r, s) { yd(N, n), P, ot, - Rt, + Ft, ue, - kt, + At, lt, s, R, @@ -8538,7 +8538,7 @@ function Bd(a, t, e, i, n, r, s) { st, b, ), - eventStore: Be, + eventStore: ze, percentOfView: R, index: lt, indexPrevious: ft, @@ -8553,9 +8553,9 @@ function Bd(a, t, e, i, n, r, s) { scrollProgress: Ge, scrollSnapList: U.map(Ge.get), scrollSnaps: U, - scrollTarget: kt, - scrollTo: Rt, - slideLooper: Ld(N, L, D, F, H, tt, ut, U, Mt, e), + scrollTarget: At, + scrollTo: Ft, + slideLooper: Ld(N, L, D, F, $, tt, ut, U, Mt, e), slideFocus: Pt, slidesHandler: Id(t, s, x), slidesInView: Ht, @@ -8722,7 +8722,7 @@ function Ba(a, t, e) { (_.scrollBody.useBaseFriction().useDuration(W === !0 ? 0 : S.duration), _.scrollTo.index(et, Z || 0)); } - function X(et) { + function H(et) { const W = _.index.add(1).get(); Y(W, et, -1); } @@ -8730,7 +8730,7 @@ function Ba(a, t, e) { const W = _.index.add(-1).get(); Y(W, et, 1); } - function H() { + function $() { return _.index.add(1).get() !== nt(); } function tt() { @@ -8770,7 +8770,7 @@ function Ba(a, t, e) { return M; } const ft = { - canScrollNext: H, + canScrollNext: $, canScrollPrev: tt, containerNode: K, internalEngine: J, @@ -8782,7 +8782,7 @@ function Ba(a, t, e) { previousScrollSnap: ut, reInit: h, rootNode: U, - scrollNext: X, + scrollNext: H, scrollPrev: V, scrollProgress: T, scrollSnapList: gt, @@ -9305,7 +9305,7 @@ function Jd(a, t) { (a.__proto__ = t); } var Tt, - It, + Rt, ni, Ti, Hi, @@ -9446,7 +9446,7 @@ var Tt, }, ir = function (t) { return ( - It.pageYOffset || + Rt.pageYOffset || t.scrollTop || t.documentElement.scrollTop || t.body.scrollTop || @@ -9455,7 +9455,7 @@ var Tt, }, nr = function (t) { return ( - It.pageXOffset || + Rt.pageXOffset || t.scrollLeft || t.documentElement.scrollLeft || t.body.scrollLeft || @@ -9474,7 +9474,7 @@ var Tt, t === Ti || t.nodeType === 9 || t === ni.body || - t === It || + t === Rt || !t.nodeType || !t.parentNode ); @@ -9486,7 +9486,7 @@ var Tt, return Math.max( 0, ur(t) - ? Math.max(Ti[n], Hi[n]) - (It["inner" + i] || Ti[r] || Hi[r]) + ? Math.max(Ti[n], Hi[n]) - (Rt["inner" + i] || Ti[r] || Hi[r]) : t[n] - t[r], ); }, @@ -9509,13 +9509,13 @@ var Tt, : (n[e] = i)); }, os = function (t) { - return It.getComputedStyle( + return Rt.getComputedStyle( t instanceof Element ? t : t.host || (t.parentNode || {}).host || t, ); }, gn = {}, Hn = function (t) { - if (t === It) + if (t === Rt) return ( (gn.left = gn.top = 0), (gn.width = gn.right = @@ -9572,7 +9572,7 @@ var Tt, n, r, s; - return !i.nodeType && i !== It + return !i.nodeType && i !== Rt ? xi(t.left) ? ((r = t.min || t.minX || t.minRotation || 0), (n = t.min || t.minY || 0), @@ -9609,7 +9609,7 @@ var Tt, h, m, _; - if (t === It) + if (t === Rt) (o = ir(n)), (r = nr(n)), (s = @@ -9624,7 +9624,7 @@ var Tt, ? n.documentElement.clientHeight : t.innerHeight || n.body.clientHeight || 0)); else { - if (e === It || xi(e)) return t.getBoundingClientRect(); + if (e === Rt || xi(e)) return t.getBoundingClientRect(); (r = o = 0), i ? ((g = t.getBBox()), (h = g.width), (m = g.height)) @@ -9869,7 +9869,7 @@ var Tt, Eo = function (t) { if (Mu() && document.body) { var e = window && window.navigator; - (It = window), + (Rt = window), (ni = document), (Ti = ni.documentElement), (Hi = ni.body), @@ -9881,7 +9881,7 @@ var Tt, (Er = zi.style.cursor === "grab" ? "grab" : "move"), (Cr = e && e.userAgent.toLowerCase().indexOf("android") !== -1), (oa = - ("ontouchstart" in Ti && "orientation" in It) || + ("ontouchstart" in Ti && "orientation" in Rt) || (e && (e.MaxTouchPoints > 0 || e.msMaxTouchPoints > 0))), (ca = (function () { var i = Ss("div"), @@ -9931,7 +9931,7 @@ var Tt, return s; })("touchstart,touchmove,touchend,touchcancel")), le(ni, "touchcancel", Bs), - le(It, "touchmove", Bs), + le(Rt, "touchmove", Bs), Hi && Hi.addEventListener("touchstart", Bs), le(ni, "contextmenu", function () { for (var i in er) er[i].isPressed && er[i].endDrag(); @@ -10026,9 +10026,9 @@ var Tt, D, R, Y, - X, - V, H, + V, + $, tt, gt, T, @@ -10052,10 +10052,10 @@ var Tt, Mt, Xt, ue, - kt, - Rt, + At, + Ft, Ge, - Be, + ze, Ht = function (v) { return ( ai(v), @@ -10078,14 +10078,14 @@ var Tt, for ( _ = !1, Fi.scrollTop = - It.pageYOffset != null - ? It.pageYOffset + Rt.pageYOffset != null + ? Rt.pageYOffset : N.documentElement.scrollTop != null ? N.documentElement.scrollTop : N.body.scrollTop, Fi.scrollLeft = - It.pageXOffset != null - ? It.pageXOffset + Rt.pageXOffset != null + ? Rt.pageXOffset : N.documentElement.scrollLeft != null ? N.documentElement.scrollLeft : N.body.scrollLeft, @@ -10098,8 +10098,8 @@ var Tt, (k = z ? Fi : q.parentNode), (A = z ? { - bottom: Math.max(Ti.clientHeight, It.innerHeight || 0), - right: Math.max(Ti.clientWidth, It.innerWidth || 0), + bottom: Math.max(Ti.clientHeight, Rt.innerHeight || 0), + right: Math.max(Ti.clientWidth, Rt.innerWidth || 0), left: 0, top: 0, } @@ -10143,7 +10143,7 @@ var Tt, Q && (k.scrollLeft += Q)), z && (Q || ct) && - (It.scrollTo(k.scrollLeft, k.scrollTop), + (Rt.scrollTo(k.scrollLeft, k.scrollTop), xe(l.pointerX + Q, l.pointerY + ct)), (q = k); } @@ -10363,7 +10363,7 @@ var Tt, _i = function () { (l.isThrowing = !1), Zt(l, "throwcomplete", "onThrowComplete"); }, - At = function () { + Lt = function () { l.isThrowing = !1; }, Si = function (v, q) { @@ -10423,7 +10423,7 @@ var Tt, data: "_draggable", inherit: !1, onComplete: _i, - onInterrupt: At, + onInterrupt: Lt, onUpdate: i.fastMode ? Zt : Pt, onUpdateParams: i.fastMode ? [l, "onthrowupdate", "onThrowUpdate"] @@ -10450,10 +10450,10 @@ var Tt, v && l.isPressed && !st.equals(q || new Nn()) && - ((w = q.inverse().apply({ x: Y, y: X })), + ((w = q.inverse().apply({ x: Y, y: H })), st.apply(w, w), (Y = w.x), - (X = w.y)), + (H = w.y)), st.equals(th) && (st = null); }, Ke = function () { @@ -10472,12 +10472,12 @@ var Tt, (li.y = l.pointerY - w), st && st.apply(li, li), (Y = li.x), - (X = li.y), + (H = li.y), K && (xe(l.pointerX, l.pointerY), Wt(!0)), (Ge = vn(e)), R - ? (ge(), (H = R.top()), (V = R.left())) - : (ze() ? (Pt(!0, !0), ge()) : l.applyBounds(), + ? (ge(), ($ = R.top()), (V = R.left())) + : (qe() ? (Pt(!0, !0), ge()) : l.applyBounds(), o ? ((k = e.ownerSVGElement ? [O.xOrigin - e.getBBox().x, O.yOrigin - e.getBBox().y] @@ -10491,26 +10491,26 @@ var Tt, (z = l.pointerX - U.x - q), (A = U.y - l.pointerY + w), (V = l.x), - (H = l.y = Math.atan2(A, z) * Pl)) - : ((H = L(u, "px")), (V = L(c, "px")))), + ($ = l.y = Math.atan2(A, z) * Pl)) + : (($ = L(u, "px")), (V = L(c, "px")))), tt && v && (V > nt ? (V = nt + (V - nt) / v) : V < ut && (V = ut - (ut - V) / v), o || - (H > I - ? (H = I + (H - I) / v) - : H < F && (H = F - (F - H) / v))), + ($ > I + ? ($ = I + ($ - I) / v) + : $ < F && ($ = F - (F - $) / v))), (l.startX = V = Wi(V)), - (l.startY = H = Wi(H)); + (l.startY = $ = Wi($)); }, - ze = function () { + qe = function () { return l.tween && l.tween.isActive(); }, Qe = function () { zi.parentNode && - !ze() && + !qe() && !l.isDragging && zi.parentNode.removeChild(zi); }, @@ -10525,34 +10525,34 @@ var Tt, Gi() - M < 30 && ss[l.pointerEvent.type]) ) { - Rt && v && D && ai(v); + Ft && v && D && ai(v); return; } if ( - ((Et = ze()), - (Be = !1), + ((Et = qe()), + (ze = !1), (l.pointerEvent = v), ss[v.type] ? ((ot = ~v.type.indexOf("touch") ? v.currentTarget || v.target : N), - le(ot, "touchend", Ft), + le(ot, "touchend", Nt), le(ot, "touchmove", dt), - le(ot, "touchcancel", Ft), + le(ot, "touchcancel", Nt), le(N, "touchstart", Ll)) : ((ot = null), le(N, "mousemove", dt)), (Mt = null), (!Ns || !ot) && - (le(N, "mouseup", Ft), - v && v.target && le(v.target, "mouseup", Ft)), + (le(N, "mouseup", Nt), + v && v.target && le(v.target, "mouseup", Nt)), (Z = C.call(l, v.target) && i.dragClickables === !1 && !q), Z) ) { - le(v.target, "change", Ft), + le(v.target, "change", Nt), Zt(l, "pressInit", "onPressInit"), Zt(l, "press", "onPress"), Ms(g, !0), - (Rt = !1); + (Ft = !1); return; } if ( @@ -10565,8 +10565,8 @@ var Tt, : f ? "y" : "x"), - (Rt = !P && !l.allowEventDefault), - Rt && (ai(v), le(It, "touchforcechange", ai)), + (Ft = !P && !l.allowEventDefault), + Ft && (ai(v), le(Rt, "touchforcechange", ai)), v.changedTouches ? ((v = G = v.changedTouches[0]), (J = v.identifier)) : v.pointerId @@ -10574,7 +10574,7 @@ var Tt, : (G = J = null), Zs++, rh(Wt), - (X = l.pointerY = v.pageY), + (H = l.pointerY = v.pageY), (Y = l.pointerX = v.pageX), Zt(l, "pressInit", "onPressInit"), (P || l.autoScroll) && Oo(e.parentNode), @@ -10618,7 +10618,7 @@ var Tt, j, B; if (!D || Xa || !l.isPressed || !v) { - Rt && v && D && ai(v); + Ft && v && D && ai(v); return; } if (((l.pointerEvent = v), (w = v.changedTouches), w)) { @@ -10641,10 +10641,10 @@ var Tt, (k = li.x), (z = li.y), (j = Math.abs(k - Y)), - (B = Math.abs(z - X)), + (B = Math.abs(z - H)), ((j !== B && (j > p || B > p)) || (Cr && P === Mt)) && ((Mt = j > B && f ? "x" : "y"), - P && Mt !== P && le(It, "touchforcechange", ai), + P && Mt !== P && le(Rt, "touchforcechange", ai), l.vars.lockAxisOnTouchScroll !== !1 && f && d && @@ -10652,14 +10652,14 @@ var Tt, Ki(l.vars.onLockAxis) && l.vars.onLockAxis.call(l, q)), Cr && P === Mt)) ) { - Ft(q); + Nt(q); return; } !l.allowEventDefault && (!P || (Mt && P !== Mt)) && q.cancelable !== !1 - ? (ai(q), (Rt = !0)) - : Rt && (Rt = !1), + ? (ai(q), (Ft = !0)) + : Ft && (Ft = !1), l.autoScroll && (_ = !0), xe(v.pageX, v.pageY, T); }, @@ -10668,7 +10668,7 @@ var Tt, z = 1 - l.edgeResistance, A = l.pointerX, j = l.pointerY, - B = H, + B = $, Q = l.x, ct = l.y, rt = l.endX, @@ -10688,16 +10688,16 @@ var Tt, ? ((pt = Math.atan2(U.y - q, v - U.x) * Pl), (_e = l.y - pt), _e > 180 - ? ((H -= 360), (l.y = pt)) - : _e < -180 && ((H += 360), (l.y = pt)), - l.x !== V || Math.abs(H - pt) > p - ? ((l.y = pt), (Ct = V + (H - pt) * k)) + ? (($ -= 360), (l.y = pt)) + : _e < -180 && (($ += 360), (l.y = pt)), + l.x !== V || Math.abs($ - pt) > p + ? ((l.y = pt), (Ct = V + ($ - pt) * k)) : (Ct = V)) : (st && ((Ut = v * st.a + q * st.c + st.e), (q = v * st.b + q * st.d + st.f), (v = Ut)), - (wt = q - X), + (wt = q - H), (vt = v - Y), wt < p && wt > -p && (wt = 0), vt < p && vt > -p && (vt = 0), @@ -10712,7 +10712,7 @@ var Tt, l.vars.onLockAxis.call(l, l.pointerEvent)), Ut === "y" ? (wt = 0) : Ut === "x" && (vt = 0)), (Ct = Wi(V + vt * k)), - (pt = Wi(H + wt * k))), + (pt = Wi($ + wt * k))), (ft || et || W) && (l.x !== Ct || (l.y !== pt && !o)) && (W && @@ -10739,10 +10739,10 @@ var Tt, !w || Zt(l, "move", "onMove") !== !1 ? !l.isDragging && l.isPressed && - ((l.isDragging = Be = !0), Zt(l, "dragstart", "onDragStart")) + ((l.isDragging = ze = !0), Zt(l, "dragstart", "onDragStart")) : ((l.pointerX = A), (l.pointerY = j), - (H = B), + ($ = B), (l.x = Q), (l.y = ct), (l.endX = rt), @@ -10750,7 +10750,7 @@ var Tt, (l.endRotation = Dt), (K = Ot))); }, - Ft = function at(v, q) { + Nt = function at(v, q) { if ( !D || !l.isPressed || @@ -10760,7 +10760,7 @@ var Tt, ((v.pointerId && v.pointerId !== J && v.target !== e) || (v.changedTouches && !oh(v.changedTouches, J)))) ) { - Rt && v && D && ai(v); + Ft && v && D && ai(v); return; } l.isPressed = !1; @@ -10780,7 +10780,7 @@ var Tt, ee(ot, "touchcancel", at), ee(N, "touchstart", Ll)) : ee(N, "mousemove", dt), - ee(It, "touchforcechange", ai), + ee(Rt, "touchforcechange", ai), (!Ns || !ot) && (ee(N, "mouseup", at), v && v.target && ee(v.target, "mouseup", at)), @@ -10816,9 +10816,9 @@ var Tt, } return ( z && w - ? (ai(w), (Rt = !0), Zt(l, "release", "onRelease")) + ? (ai(w), (Ft = !0), Zt(l, "release", "onRelease")) : w && !k - ? ((Rt = !1), + ? ((Ft = !1), Et && (i.snap || i.bounds) && Si(i.inertia || i.throwProps), Zt(l, "release", "onRelease"), (!Cr || w.type !== "touchmove") && @@ -10840,7 +10840,7 @@ var Tt, "click", !0, !0, - It, + Rt, 1, l.pointerEvent.screenX, l.pointerEvent.screenY, @@ -10863,10 +10863,10 @@ var Tt, k && (!P || (Mt && P === Mt)) && w.cancelable !== !1 - ? ((Rt = !0), ai(w)) - : (Rt = !1), + ? ((Ft = !0), ai(w)) + : (Ft = !1), Zt(l, "release", "onRelease")), - ze() && A.duration(l.tween.duration()), + qe() && A.duration(l.tween.duration()), k && Zt(l, "dragend", "onDragEnd"), !0 ); @@ -10878,20 +10878,20 @@ var Tt, k = q.scrollTop - q._gsScrollY; (w || k) && (st - ? ((Y -= w * st.a + k * st.c), (X -= k * st.d + w * st.b)) - : ((Y -= w), (X -= k)), + ? ((Y -= w * st.a + k * st.c), (H -= k * st.d + w * st.b)) + : ((Y -= w), (H -= k)), (q._gsScrollX += w), (q._gsScrollY += k), xe(l.pointerX, l.pointerY)); } }, - qe = function (v) { + Ye = function (v) { var q = Gi(), w = q - M < 100, k = q - m < 50, z = w && ue === M, A = l.pointerEvent && l.pointerEvent.defaultPrevented, - j = w && kt === M, + j = w && At === M, B = v.isTrusted || (v.isTrusted == null && w && z); if ( ((z || (k && l.vars.suppressClickOnDrag !== !1)) && @@ -10901,13 +10901,13 @@ var Tt, !(l.pointerEvent && l.pointerEvent.defaultPrevented) && (!z || (B && !j))) ) { - B && z && (kt = M), (ue = M); + B && z && (At = M), (ue = M); return; } (l.isPressed || k || w) && (!B || !v.detail || !w || A) && ai(v), !w && !k && - !Be && + !ze && (v && v.target && (l.pointerEvent = v), Zt(l, "click", "onClick")); }, @@ -10932,13 +10932,13 @@ var Tt, (k = Mi({ x: q.left + q.width / 2, y: q.top + q.height / 2 })), (z = Mi({ x: w.left + w.width / 2, y: w.top + w.height / 2 })), (Y -= k.x - z.x), - (X -= k.y - z.y)), + (H -= k.y - z.y)), l.isDragging || - ((l.isDragging = Be = !0), Zt(l, "dragstart", "onDragStart")); + ((l.isDragging = ze = !0), Zt(l, "dragstart", "onDragStart")); }), (n.drag = dt), (n.endDrag = function (at) { - return Ft(at || l.pointerEvent, !0); + return Nt(at || l.pointerEvent, !0); }), (n.timeSinceDrag = function () { return l.isDragging ? 0 : (Gi() - m) / 1e3; @@ -10973,7 +10973,7 @@ var Tt, : ((v = v || 2), (k = q === "start" - ? l.y - H + ? l.y - $ : q === "velocity" ? yi.getVelocity(e, u) : j.top + j.height / 2 - (B.top + B.height / 2)), @@ -10986,7 +10986,7 @@ var Tt, (n.applyBounds = function (at, v) { var q, w, k, z, A, j; if (at && i.bounds !== at) return (i.bounds = at), l.update(!0, v); - if ((Pt(!0), ge(), tt && !ze())) { + if ((Pt(!0), ge(), tt && !qe())) { if ( ((q = l.x), (w = l.y), @@ -11004,14 +11004,14 @@ var Tt, Oo(e.parentNode), z = e, Fi.scrollTop = - It.pageYOffset != null - ? It.pageYOffset + Rt.pageYOffset != null + ? Rt.pageYOffset : N.documentElement.scrollTop != null ? N.documentElement.scrollTop : N.body.scrollTop, Fi.scrollLeft = - It.pageXOffset != null - ? It.pageXOffset + Rt.pageXOffset != null + ? Rt.pageXOffset : N.documentElement.scrollLeft != null ? N.documentElement.scrollLeft : N.body.scrollLeft; @@ -11036,7 +11036,7 @@ var Tt, (n.update = function (at, v, q) { if (v && l.isPressed) { var w = vn(e), - k = Ge.apply({ x: l.x - V, y: l.y - H }), + k = Ge.apply({ x: l.x - V, y: l.y - $ }), z = vn(e.parentNode, !0); z.apply({ x: w.e - k.x, y: w.f - k.y }, k), (l.x -= k.x - z.e), @@ -11095,7 +11095,7 @@ var Tt, (k = g[w]), Ns || le(k, "mousedown", Ce), le(k, "touchstart", Ce), - le(k, "click", qe, !0), + le(k, "click", Ye, !0), Tt.set(k, v), k.getBBox && k.ownerSVGElement && @@ -11134,14 +11134,14 @@ var Tt, Po(w, "touchCallout", null), ee(w, "mousedown", Ce), ee(w, "touchstart", Ce), - ee(w, "click", qe, !0), + ee(w, "click", Ye, !0), ee(w, "contextmenu", Ht); Ms(g, !0), ot && - (ee(ot, "touchcancel", Ft), - ee(ot, "touchend", Ft), + (ee(ot, "touchcancel", Nt), + ee(ot, "touchend", Nt), ee(ot, "touchmove", dt)), - ee(N, "mouseup", Ft), + ee(N, "mouseup", Nt), ee(N, "mousemove", dt); } return ( @@ -11181,7 +11181,7 @@ var Tt, nh( { onKill: function () { - l.isPressed && Ft(null); + l.isPressed && Nt(null); }, }, i, @@ -11262,12 +11262,12 @@ fr.version = "3.12.5"; Du() && Tt.registerPlugin(fr); const ht = "power4.inOut", Bl = "expo.inOut", - Xe = (a, t = !0, e = 0) => (t ? e : a); + Re = (a, t = !0, e = 0) => (t ? e : a); function hh(a, t) { - (a = $.utils.toArray(a)), (t = t || {}); + (a = X.utils.toArray(a)), (t = t || {}); let e = t.onChange, i = 0, - n = $.timeline({ + n = X.timeline({ repeat: t.repeat, onUpdate: e && @@ -11289,31 +11289,31 @@ function hh(a, t) { p = !1, l = t.center, g = (t.speed || 1) * 100, - h = t.snap === !1 ? (D) => D : $.utils.snap(t.snap || 1), + h = t.snap === !1 ? (D) => D : X.utils.snap(t.snap || 1), m = 0, - _ = l === !0 ? a[0].parentNode : $.utils.toArray(l)[0] || a[0].parentNode, + _ = l === !0 ? a[0].parentNode : X.utils.toArray(l)[0] || a[0].parentNode, y, S = () => a[r - 1].offsetLeft + (f[r - 1] / 100) * c[r - 1] - s + u[0] + - a[r - 1].offsetWidth * $.getProperty(a[r - 1], "scaleX") + + a[r - 1].offsetWidth * X.getProperty(a[r - 1], "scaleX") + (parseFloat(t.paddingRight) || 0), x = () => { let D = _.getBoundingClientRect(), R; - a.forEach((Y, X) => { - (c[X] = parseFloat($.getProperty(Y, "width", "px"))), - (f[X] = h( - (parseFloat($.getProperty(Y, "x", "px")) / c[X]) * 100 + - $.getProperty(Y, "xPercent"), + a.forEach((Y, H) => { + (c[H] = parseFloat(X.getProperty(Y, "width", "px"))), + (f[H] = h( + (parseFloat(X.getProperty(Y, "x", "px")) / c[H]) * 100 + + X.getProperty(Y, "xPercent"), )), (R = Y.getBoundingClientRect()), - (u[X] = R.left - (X ? D.right : D.left)), + (u[H] = R.left - (H ? D.right : D.left)), (D = R); }), - $.set(a, { xPercent: (Y) => f[Y] }), + X.set(a, { xPercent: (Y) => f[Y] }), (y = S()); }, b, @@ -11325,23 +11325,23 @@ function hh(a, t) { }); }, M = (D, R, Y) => { - let X = D.length, + let H = D.length, V = 1e10, - H = 0, + $ = 0, tt; - for (; X--; ) - (tt = Math.abs(D[X] - R)), + for (; H--; ) + (tt = Math.abs(D[H] - R)), tt > Y / 2 && (tt = Y - tt), - tt < V && ((V = tt), (H = X)); - return H; + tt < V && ((V = tt), ($ = H)); + return $; }, O = () => { - let D, R, Y, X, V; + let D, R, Y, H, V; for (n.clear(), D = 0; D < r; D++) (R = a[D]), (Y = (f[D] / 100) * c[D]), - (X = R.offsetLeft + Y - s + u[0]), - (V = X + c[D] * $.getProperty(R, "scaleX")), + (H = R.offsetLeft + Y - s + u[0]), + (V = H + c[D] * X.getProperty(R, "scaleX")), n .to(R, { xPercent: h(((Y - V) / c[D]) * 100), duration: V / g }, 0) .fromTo( @@ -11354,9 +11354,9 @@ function hh(a, t) { }, V / g, ) - .add("label" + D, X / g), - (o[D] = X / g); - b = $.utils.wrap(0, n.duration()); + .add("label" + D, H / g), + (o[D] = H / g); + b = X.utils.wrap(0, n.duration()); }, E = (D) => { let R = n.progress(); @@ -11367,24 +11367,24 @@ function hh(a, t) { D && n.draggable ? n.time(o[d], !0) : n.progress(R, !0); }, L; - $.set(a, { x: 0 }), + X.set(a, { x: 0 }), x(), O(), C(), window.addEventListener("resize", () => E(!0)); function N(D, R) { (R = R || {}), Math.abs(D - d) > r / 2 && (D += D > d ? -r : r); - let Y = $.utils.wrap(0, r, D), - X = o[Y]; + let Y = X.utils.wrap(0, r, D), + H = o[Y]; return ( - X > n.time() != D > d && + H > n.time() != D > d && D !== d && - (X += n.duration() * (D > d ? 1 : -1)), - (X < 0 || X > n.duration()) && (R.modifiers = { time: b }), + (H += n.duration() * (D > d ? 1 : -1)), + (H < 0 || H > n.duration()) && (R.modifiers = { time: b }), (d = Y), (R.overwrite = !0), - $.killTweensOf(L), - R.duration === 0 ? n.time(b(X)) : n.tweenTo(X, R) + X.killTweensOf(L), + R.duration === 0 ? n.time(b(H)) : n.tweenTo(H, R) ); } if ( @@ -11402,36 +11402,36 @@ function hh(a, t) { t.draggable && typeof fr == "function") ) { L = document.createElement("div"); - let D = $.utils.wrap(0, 1), + let D = X.utils.wrap(0, 1), R, Y, - X, - V, H, - tt = () => n.progress(D(Y + (X.startX - X.x) * R)), + V, + $, + tt = () => n.progress(D(Y + (H.startX - H.x) * R)), gt = () => n.closestIndex(!0); typeof InertiaPlugin > "u" && console.warn( "InertiaPlugin required for momentum-based scrolling and snapping. https://greensock.com/club", ), - (X = fr.create(L, { + (H = fr.create(L, { trigger: a[0].parentNode, type: "x", onPressInit() { let T = this.x; - $.killTweensOf(n), + X.killTweensOf(n), (Y = n.progress()), E(), (R = 1 / y), - (H = Y / -R - T), - $.set(L, { x: Y / -R }); + ($ = Y / -R - T), + X.set(L, { x: Y / -R }); }, onDrag: tt, onThrowUpdate: tt, overshootTolerance: 0, inertia: !0, snap(T) { - if (Math.abs(Y / -R - this.x) < 10) return V + H; + if (Math.abs(Y / -R - this.x) < 10) return V + $; let nt = -(T * R) * n.duration(), ut = b(nt), I = o[M(o, ut, n.duration())], @@ -11444,11 +11444,11 @@ function hh(a, t) { ); }, onRelease() { - gt(), X.isThrowing && (p = !0); + gt(), H.isThrowing && (p = !0); }, onThrowComplete: gt, })[0]), - (n.draggable = X); + (n.draggable = H); } return n.closestIndex(!0), (i = d), e && e(a[d], d), n; } @@ -11456,7 +11456,7 @@ const ko = 66, zl = 5e3; class ph { constructor() { - Nt(this, "onVisibilityChange", () => { + kt(this, "onVisibilityChange", () => { var e, i; const t = (i = (e = this.instance) == null ? void 0 : e.plugins()) == null @@ -11469,7 +11469,7 @@ class ph { t.play()) : (this.progressTl.pause(), t.stop()); }); - Nt(this, "onSlideCtaClick", (t) => { + kt(this, "onSlideCtaClick", (t) => { const e = t.currentTarget, i = e.closest(".js-features-carousel-item"); if ((t.preventDefault(), i.classList.contains("is-active"))) { @@ -11478,7 +11478,7 @@ class ph { r && yu(r, 150); } else this.instance.scrollTo(parseInt(i.dataset.index, 10)); }); - Nt(this, "onSlideChange", () => { + kt(this, "onSlideChange", () => { var s, o; const t = (o = (s = this.instance) == null ? void 0 : s.plugins()) == null @@ -11488,7 +11488,7 @@ class ph { this.activeIndex = this.instance.selectedScrollSnap(); const i = this.DOM.slides[e], n = this.DOM.slides[this.activeIndex]; - $.timeline({ + X.timeline({ onStart: () => { this.DOM.wrap.classList.add("is-animate"), t.stop(), @@ -11503,10 +11503,10 @@ class ph { .add(this.outSlide(i)) .add(this.inSlide(n), "<"); }); - Nt(this, "outSlide", (t) => { + kt(this, "outSlide", (t) => { const e = t.querySelector(".js-features-carousel-item-text"), i = t.querySelector(".js-features-carousel-ill"), - n = $.timeline({ + n = X.timeline({ onStart: () => { t.classList.remove("is-active"); }, @@ -11521,7 +11521,7 @@ class ph { duration: 0.8, ease: ht, onComplete: () => { - $.set(t, { xPercent: 0, rotate: 5 }); + X.set(t, { xPercent: 0, rotate: 5 }); }, }) .to(i, { opacity: 0, duration: 0.8, ease: ht }, "-=0.67") @@ -11536,10 +11536,10 @@ class ph { n ); }); - Nt(this, "inSlide", (t, e = !1) => { + kt(this, "inSlide", (t, e = !1) => { const i = t.querySelector(".js-features-carousel-item-text"), n = t.querySelector(".js-features-carousel-ill"), - r = $.timeline({ + r = X.timeline({ onStart: () => { t.classList.add("is-active"); }, @@ -11551,34 +11551,34 @@ class ph { opacity: 1, xPercent: -100, rotate: 0, - duration: Xe(0.8, e), + duration: Re(0.8, e), ease: ht, }) .to( n, - { opacity: 1, duration: Xe(0.8, e), ease: ht }, - Xe("-=0.67", e), + { opacity: 1, duration: Re(0.8, e), ease: ht }, + Re("-=0.67", e), ) : r .to(t, { height: () => t.offsetWidth * this.hRatio, - duration: Xe(0.8, e), + duration: Re(0.8, e), ease: ht, }) .to( i, - { opacity: 1, height: "auto", duration: Xe(0.8, e), ease: ht }, - Xe("-=0.67", e), + { opacity: 1, height: "auto", duration: Re(0.8, e), ease: ht }, + Re("-=0.67", e), ) .to( n, - { opacity: 1, duration: Xe(0.8, e), ease: ht }, - Xe("-=0.67", e), + { opacity: 1, duration: Re(0.8, e), ease: ht }, + Re("-=0.67", e), ), r ); }); - Nt(this, "start", () => { + kt(this, "start", () => { var t, e, i; this.progressTl.play(), (i = @@ -11587,8 +11587,8 @@ class ph { : e.autoplay) == null || i.play(), document.addEventListener("visibilitychange", this.onVisibilityChange); }); - Nt(this, "hide", () => { - const t = $.timeline(); + kt(this, "hide", () => { + const t = X.timeline(); if (Kt.device < 1) { const e = this.DOM.slides[this.activeIndex], i = e.querySelectorAll(".js-features-carousel-content"); @@ -11605,8 +11605,8 @@ class ph { } return t; }); - Nt(this, "reveal", () => { - const t = $.timeline(); + kt(this, "reveal", () => { + const t = X.timeline(); if (Kt.device < 1) { const e = this.DOM.slides[this.activeIndex], i = e.querySelectorAll(".js-features-carousel-content"); @@ -11618,9 +11618,9 @@ class ph { "-=0.8", ); } else { - const e = $.utils.toArray(this.DOM.slides).reverse(); + const e = X.utils.toArray(this.DOM.slides).reverse(); for (let i = 0; i < e.length; i++) { - const n = $.timeline(), + const n = X.timeline(), r = e[i], s = r.querySelectorAll(".js-features-carousel-content"); n @@ -11645,14 +11645,14 @@ class ph { za({ delay: zl, playOnInit: !1 }), ])), Kt.device < 1 && - ($.set(this.DOM.slides, { opacity: 0, xPercent: 0, rotate: 5 }), - $.set(this.DOM.slidesTexts, { height: "auto", opacity: 1 })), + (X.set(this.DOM.slides, { opacity: 0, xPercent: 0, rotate: 5 }), + X.set(this.DOM.slidesTexts, { height: "auto", opacity: 1 })), this.inSlide(this.DOM.slides[this.activeIndex], !0), this.DOM.slides[this.activeIndex].classList.add("is-active"), this.instance.on("select", this.onSlideChange); for (let t = 0; t < this.DOM.ctas.length; t++) this.DOM.ctas[t].addEventListener("click", this.onSlideCtaClick); - this.progressTl = $.timeline({ paused: !0 }).to(this.DOM.progressbar, { + this.progressTl = X.timeline({ paused: !0 }).to(this.DOM.progressbar, { scaleX: 1, duration: zl / 1e3, ease: "linear", @@ -11680,33 +11680,33 @@ class ph { if ( ((this.hRatio = Kt.device < 1 ? 1 : 0.72331), Kt.device < 1 && this.layoutMode !== "mobile" - ? ($.set(this.DOM.slides, { + ? (X.set(this.DOM.slides, { opacity: 0, xPercent: 0, rotate: 5, height: "auto", }), - $.set(this.DOM.slides[this.activeIndex], { + X.set(this.DOM.slides[this.activeIndex], { opacity: 1, xPercent: -100, rotate: 0, }), - $.set(this.DOM.slidesTexts, { height: "auto", opacity: 1 })) + X.set(this.DOM.slidesTexts, { height: "auto", opacity: 1 })) : Kt.device >= 1 && this.layoutMode !== "desktop" - ? ($.set(this.DOM.slides, { + ? (X.set(this.DOM.slides, { opacity: 1, xPercent: "none", rotate: 0, height: ko, }), - $.set(this.DOM.slidesTexts, { height: 0, opacity: 0 }), - $.set(this.DOM.slides[this.activeIndex], { + X.set(this.DOM.slidesTexts, { height: 0, opacity: 0 }), + X.set(this.DOM.slides[this.activeIndex], { height: (i, n) => n.offsetWidth * this.hRatio, }), - $.set(this.DOM.slidesTexts[this.activeIndex], { height: "auto" })) + X.set(this.DOM.slidesTexts[this.activeIndex], { height: "auto" })) : Kt.device >= 1 && this.layoutMode === "desktop" && - $.set(this.DOM.slides, { + X.set(this.DOM.slides, { height: (i) => i === this.activeIndex ? this.DOM.slides[i].offsetWidth * this.hRatio @@ -11802,7 +11802,7 @@ class gh { const ne = new gh(); class _h { constructor() { - Nt(this, "onMouseMove", (t) => { + kt(this, "onMouseMove", (t) => { const i = t.currentTarget.querySelectorAll(".js-glow-card"); for (let n = 0; n < i.length; n++) { const r = i[n].getBoundingClientRect(), @@ -11831,7 +11831,7 @@ class _h { } class mh { constructor() { - Nt(this, "scrollLinkTo", (t) => { + kt(this, "scrollLinkTo", (t) => { t.preventDefault(); const i = t.currentTarget.getAttribute("href"), n = document.querySelector(`${i}`); @@ -11862,16 +11862,27 @@ class mh { } class yh { constructor(t) { + kt(this, "onMouseEnter", () => { + X.to(this.loop, { timeScale: 0, overwrite: !0 }); + }); + kt(this, "onMouseLeave", () => { + X.to(this.loop, { + timeScale: this.config.reversed ? -1 : 1, + overwrite: !0, + }); + }); this.init(t); } start() { - this.loop = hh(this.DOM.items, { + (this.loop = hh(this.DOM.items, { paused: !1, repeat: this.config.repeat, speed: this.config.speed, reversed: this.config.reversed, paddingRight: 40, - }); + })), + this.DOM.container.addEventListener("mouseenter", this.onMouseEnter), + this.DOM.container.addEventListener("mouseleave", this.onMouseLeave); } init(t) { (this.DOM = {}), @@ -11936,13 +11947,13 @@ class xh { } } const Js = new xh(); -$.registerPlugin(mt); +X.registerPlugin(mt); class wh { constructor() { - Nt(this, "toggleMenu", () => { + kt(this, "toggleMenu", () => { this.isOpenMenu ? this.hideNav() : this.revealNav(); }); - Nt(this, "onScroll", () => { + kt(this, "onScroll", () => { const t = window.scrollY || document.documentElement.scrollTop; t > this.lastScrollTop ? (document.body.classList.add("is-scrolling-down"), @@ -11951,11 +11962,11 @@ class wh { document.body.classList.remove("is-scrolling-down")), (this.lastScrollTop = t <= 0 ? 0 : t); }); - Nt(this, "hideNav", (t = !1, e = !1) => { + kt(this, "hideNav", (t = !1, e = !1) => { if (!this.isAnimatingMenu) { (this.isAnimatingMenu = !0), document.body.classList.remove("is-nav-open"); - const i = $.timeline({ + const i = X.timeline({ onComplete: () => { (this.isAnimatingMenu = !1), (this.isOpenMenu = !1), e && e(); }, @@ -11964,31 +11975,33 @@ class wh { i .to(this.DOM.navMobileLinks, { yPercent: -100, - duration: Xe(0.8, t), - stagger: Xe(0.1, t), + duration: Re(0.8, t), + stagger: Re(0.1, t), onComplete: () => { - $.set(this.DOM.navMobileLinks, { yPercent: 100 }); + X.set(this.DOM.navMobileLinks, { yPercent: 100 }); }, ease: ht, }) .to( - this.DOM.navMobileCta, + this.DOM.navMobileCtas, { + opacity: 0, yPercent: -100, - duration: Xe(0.8, t), + stagger: Re(0.1, t), + duration: Re(0.8, t), onComplete: () => { - $.set(this.DOM.navMobileCta, { yPercent: 100 }); + X.set(this.DOM.navMobileCtas, { yPercent: 100 }); }, ease: ht, }, - Xe(0.1, t), + Re(0.1, t), ) .set(this.DOM.navMobileBg, { transformOrigin: "50% 0%" }) .to(this.DOM.navMobileBg, { yPercent: -100, - duration: Xe(0.8, t), + duration: Re(0.8, t), onComplete: () => { - $.set(this.DOM.navMobileBg, { yPercent: 100 }); + X.set(this.DOM.navMobileBg, { yPercent: 100 }); }, ease: ht, }) @@ -12001,10 +12014,10 @@ class wh { ); } }); - Nt(this, "revealNav", () => { + kt(this, "revealNav", () => { if (!this.isAnimatingMenu) { (this.isAnimatingMenu = !0), document.body.classList.add("is-nav-open"); - const t = $.timeline({ + const t = X.timeline({ onComplete: () => { (this.isAnimatingMenu = !1), (this.isOpenMenu = !0); }, @@ -12019,8 +12032,14 @@ class wh { .set(this.DOM.navMobileBg, { transformOrigin: "50% 100%" }) .to(this.DOM.navMobileBg, { yPercent: 0, duration: 0.8, ease: ht }) .to( - this.DOM.navMobileCta, - { yPercent: 0, duration: 0.8, ease: ht }, + this.DOM.navMobileCtas, + { + opacity: 1, + yPercent: 0, + stagger: 0.1, + duration: 0.8, + ease: ht, + }, "-=0.34", ) .to( @@ -12032,9 +12051,9 @@ class wh { ); } }); - Nt(this, "hide", () => $.set(this.DOM.nav, { opacity: 0 })); - Nt(this, "reveal", () => - $.timeline().to(this.DOM.nav, { + kt(this, "hide", () => X.set(this.DOM.nav, { opacity: 0 })); + kt(this, "reveal", () => + X.timeline().to(this.DOM.nav, { opacity: 1, duration: 0.8, ease: ht, @@ -12090,8 +12109,8 @@ class wh { )), (this.DOM.navMobileBg = this.DOM.navMobile.querySelector(".js-nav-mobile-bg")), - (this.DOM.navMobileCta = - this.DOM.navMobile.querySelector(".js-nav-mobile-cta")), + (this.DOM.navMobileCtas = + this.DOM.navMobile.querySelectorAll(".js-nav-mobile-cta")), (this.isOpenMenu = !1), (this.isAnimatingMenu = !1), this.setup()); @@ -12100,7 +12119,7 @@ class wh { const bh = (a) => { const t = a.querySelectorAll(".js-divider-label-ill"), e = a.querySelector(".js-divider-label-text"); - return $.timeline() + return X.timeline() .set(t, { clipPath: (i) => i === 0 @@ -12112,7 +12131,7 @@ const bh = (a) => { Th = (a) => { const t = a.querySelectorAll(".js-divider-label-ill"), e = a.querySelector(".js-divider-label-text"); - return $.timeline() + return X.timeline() .to(t, { duration: 1, clipPath: "polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%)", @@ -12126,14 +12145,14 @@ const bh = (a) => { const e = ne .get("splitText", a) .getSubInstanceFrom(a, "wordsLinesInstance"); - e && $.set(e.lines, { yPercent: 10, opacity: 0 }); + e && X.set(e.lines, { yPercent: 10, opacity: 0 }); }, Mh = (a) => { const e = ne .get("splitText", a) .getSubInstanceFrom(a, "wordsLinesInstance"); if (e) - return $.to(e.lines, { + return X.to(e.lines, { duration: 1, yPercent: 0, opacity: 1, @@ -12153,7 +12172,7 @@ const bh = (a) => { const n = e.querySelector(".js-anim-title"), r = e.querySelectorAll(".js-anim-row"), s = e.querySelector(".js-anim-divider"); - Sh(n), $.set([s, r], { yPercent: 20, opacity: 0 }); + Sh(n), X.set([s, r], { yPercent: 20, opacity: 0 }); break; } case "collaborate": { @@ -12161,23 +12180,23 @@ const bh = (a) => { r = e.querySelector(".js-anim-title"), s = e.querySelectorAll(".js-anim-item"), o = e.querySelector(".js-anim-divider"); - bh(n), $.set([r, s, o], { yPercent: 20, opacity: 0 }); + bh(n), X.set([r, s, o], { yPercent: 20, opacity: 0 }); break; } case "anim-group": { const n = e.querySelectorAll(".js-anim-item"); - $.set(n, { y: 50, opacity: 0 }); + X.set(n, { y: 50, opacity: 0 }); break; } case "item": { - $.set(e, { y: 50, opacity: 0 }); + X.set(e, { y: 50, opacity: 0 }); break; } } } }, activate: (a) => { - $.registerPlugin(mt); + X.registerPlugin(mt); for (let t = 0; t < a.length; t++) { const e = a[t], i = e.dataset.scrollTrigger, @@ -12188,7 +12207,7 @@ const bh = (a) => { const r = e.querySelector(".js-anim-title"), s = e.querySelectorAll(".js-anim-row"), o = e.querySelector(".js-anim-divider"); - $.timeline({ scrollTrigger: n }) + X.timeline({ scrollTrigger: n }) .add(Mh(r)) .to( s, @@ -12220,7 +12239,7 @@ const bh = (a) => { s = e.querySelector(".js-anim-title"), o = e.querySelectorAll(".js-anim-item"), c = e.querySelector(".js-anim-divider"); - $.timeline({ scrollTrigger: n }) + X.timeline({ scrollTrigger: n }) .add(Th(r)) .to( s, @@ -12243,7 +12262,7 @@ const bh = (a) => { } case "anim-group": { const r = e.querySelectorAll(".js-anim-group"), - s = $.timeline({ scrollTrigger: n }); + s = X.timeline({ scrollTrigger: n }); for (let o = 0; o < r.length; o++) { const u = r[o].querySelectorAll(".js-anim-item"); s.to( @@ -12262,7 +12281,7 @@ const bh = (a) => { break; } case "item": { - $.timeline({ scrollTrigger: n }).to(e, { + X.timeline({ scrollTrigger: n }).to(e, { y: 0, opacity: 1, duration: 1, @@ -12276,12 +12295,12 @@ const bh = (a) => { }; class Dh { constructor() { - Nt(this, "start", () => { + kt(this, "start", () => { this.DOM && this.DOM.scrollTriggerElements.length && ql.activate(this.DOM.scrollTriggerElements); }); - Nt(this, "hide", () => { + kt(this, "hide", () => { this.DOM && this.DOM.scrollTriggerElements.length && ql.hideAll(this.DOM.scrollTriggerElements); @@ -12492,13 +12511,13 @@ var Eu = { exports: {} }; Y = h("items", S, "item", function (I, F) { return c(F.matching || I.children, I); }), - X = h("rows", S, "row", function (I, F) { + H = h("rows", S, "row", function (I, F) { return N(I, F, "offsetTop"); }), V = h("cols", S, "col", function (I, F) { return N(I, F, "offsetLeft"); }), - H = h("grid", ["rows", "cols"]), + $ = h("grid", ["rows", "cols"]), tt = "layout", gt = h(tt, S, S, function (I, F) { var G = (F.rows = +(F.rows || o(I, "rows") || 1)), @@ -12541,7 +12560,7 @@ var Eu = { exports: {} }; return G[tt]; }); return ( - _(C), _(O), _(R), _(Y), _(X), _(V), _(H), _(gt), _(T), _(nt), _(ut), E + _(C), _(O), _(R), _(Y), _(H), _(V), _($), _(gt), _(T), _(nt), _(ut), E ); }); })(Eu); @@ -12549,7 +12568,7 @@ var Ch = Eu.exports; const vr = Ph(Ch); class Eh { constructor() { - Nt(this, "getSubInstanceFrom", (t, e) => { + kt(this, "getSubInstanceFrom", (t, e) => { const i = this[e]; let n; for (let r = 0; r < i.length; r++) i[r].el === t && (n = i[r]); @@ -12614,13 +12633,13 @@ class Eh { } } const Yl = new Eh(); -$.registerPlugin(mt); +X.registerPlugin(mt); class kh { constructor() { this.init(); } setup() { - $.matchMedia().add( + X.matchMedia().add( { isMobile: "(max-width: 1023px)", isDesk: "(min-width: 1024px)" }, (e) => { const { isMobile: i, isDesk: n } = e.conditions; @@ -12629,7 +12648,7 @@ class kh { ); } setTrigger() { - $.timeline({ + X.timeline({ scrollTrigger: { trigger: this.DOM.section, start: "top bottom", @@ -12644,7 +12663,7 @@ class kh { ); } setMobileTrigger() { - $.timeline({ + X.timeline({ scrollTrigger: { trigger: this.DOM.section, start: "top top+=75%", @@ -12672,10 +12691,10 @@ class kh { this.setup()); } } -$.registerPlugin(mt); +X.registerPlugin(mt); class Ah { constructor() { - Nt(this, "onCarouselPrev", () => { + kt(this, "onCarouselPrev", () => { if (!this.isAnimating) { this.isAnimating = !0; const t = this.activeIndex; @@ -12685,7 +12704,7 @@ class Ah { : this.activeIndex - 1; const e = this.DOM.cards[t], i = this.DOM.cards[this.activeIndex]; - $.timeline({ + X.timeline({ onComplete: () => { this.isAnimating = !1; }, @@ -12694,7 +12713,7 @@ class Ah { .add(this.enterSlide(i), 0); } }); - Nt(this, "onCarouselNext", () => { + kt(this, "onCarouselNext", () => { if (!this.isAnimating) { this.isAnimating = !0; const t = this.activeIndex; @@ -12704,7 +12723,7 @@ class Ah { : this.activeIndex + 1; const e = this.DOM.cards[t], i = this.DOM.cards[this.activeIndex]; - $.timeline({ + X.timeline({ onComplete: () => { this.isAnimating = !1; }, @@ -12713,30 +12732,30 @@ class Ah { .add(this.enterSlide(i), 0); } }); - Nt(this, "exitSlide", (t) => { - const e = $.timeline(); + kt(this, "exitSlide", (t) => { + const e = X.timeline(); return ( e.to(t, { opacity: 0, xPercent: -100, duration: 0.8, onComplete: () => { - $.set(t, { opacity: 0, xPercent: 100 }); + X.set(t, { opacity: 0, xPercent: 100 }); }, ease: ht, }), e ); }); - Nt(this, "enterSlide", (t) => { - const e = $.timeline(); + kt(this, "enterSlide", (t) => { + const e = X.timeline(); return e.to(t, { opacity: 1, xPercent: 0, duration: 0.8, ease: ht }), e; }); - Nt(this, "buildCardsTl", () => { - const t = $.timeline(); + kt(this, "buildCardsTl", () => { + const t = X.timeline(); for (let e = 0; e < this.DOM.cards.length; e++) { const i = this.DOM.cards[e], - n = $.timeline(); + n = X.timeline(); n .from(i, { y: Kt.window.height * 0.7, duration: 1.4 }) .to( @@ -12755,7 +12774,7 @@ class Ah { this.init(); } setup() { - $.matchMedia().add( + X.matchMedia().add( { isMobile: "(max-width: 1023px)", isDesk: "(min-width: 1024px)" }, (e) => { const { isDesk: i, isMobile: n } = e.conditions; @@ -12766,18 +12785,19 @@ class Ah { this.DOM.carouselNext.addEventListener("click", this.onCarouselNext); } setMobileCarousel() { - $.set(this.DOM.cards, { opacity: 0, xPercent: 100 }), - $.set(this.DOM.cards[this.activeIndex], { opacity: 1, xPercent: 0 }); + X.set(this.DOM.cards, { opacity: 0, xPercent: 100 }), + X.set(this.DOM.cards[this.activeIndex], { opacity: 1, xPercent: 0 }); } setTrigger() { - $.set(this.DOM.cards, { opacity: 1, xPercent: 0, rotate: 0 }); - const t = $.timeline({ + X.set(this.DOM.cards, { opacity: 1, xPercent: 0, rotate: 0 }); + const t = X.timeline({ scrollTrigger: { trigger: this.DOM.section, start: "top -=30%", end: `+=${Kt.window.height * 5}`, pin: !0, scrub: !0, + anticipatePin: 1, preventOverlaps: !0, fastScrollEnd: 3e3, }, @@ -12831,7 +12851,7 @@ class Lh { } } const Ih = ({ pageName: a, container: t = document }) => { - const e = $.timeline(), + const e = X.timeline(), i = ne.get("nav"); switch ((i && e.add(i.hide(!0)), a)) { case "homepage": { @@ -12877,7 +12897,7 @@ const Ih = ({ pageName: a, container: t = document }) => { return e; }, Rh = ({ pageName: a, container: t = document, cb: e = !1 }) => { - const i = $.timeline({ + const i = X.timeline({ onComplete: () => { if (a === "homepage") { const r = ne.get("featuresCarousel"); @@ -12970,18 +12990,18 @@ const Ih = ({ pageName: a, container: t = document }) => { }, to = { pageTransition: document.querySelector(".js-page-loader") }, Fh = (a = !1) => { - const t = $.timeline(); + const t = X.timeline(); return ( t .set(to.pageTransition, { display: "block", zIndex: 421 }) - .to(to.pageTransition, { duration: Xe(1, a), opacity: 1, ease: ht }), + .to(to.pageTransition, { duration: Re(1, a), opacity: 1, ease: ht }), t ); }, Nh = () => { - const a = $.timeline({ + const a = X.timeline({ onComplete: () => { - $.set(to.pageTransition, { display: "none", zIndex: -1 }); + X.set(to.pageTransition, { display: "none", zIndex: -1 }); }, }); return a.to(to.pageTransition, { duration: 1, opacity: 0, ease: ht }), a; @@ -12989,7 +13009,7 @@ const Ih = ({ pageName: a, container: t = document }) => { Bh = () => { const a = ne.get("scrollAnimator"); a && a.hide(), Fh(!0), Ih({ pageName: Js.activeView }); - const t = $.timeline({ + const t = X.timeline({ onStart: () => { a && a.start(); }, @@ -13023,7 +13043,7 @@ function Hl() { } class zh { constructor() { - Nt(this, "onResize", () => { + kt(this, "onResize", () => { Kt.resize(), document.body.classList.toggle("is-touch", Hl()), ne.map("resize"); diff --git a/docs/company.html b/docs/company.html index f0167a5..aeaa2a1 100644 --- a/docs/company.html +++ b/docs/company.html @@ -1063,17 +1063,43 @@ -