@igamingcareer/igaming-components 1.1.7 → 1.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +11 -11
- package/dist/index.mjs +398 -397
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -31289,7 +31289,28 @@ const PP = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
31289
31289
|
]
|
|
31290
31290
|
}
|
|
31291
31291
|
);
|
|
31292
|
-
},
|
|
31292
|
+
}, RP = qN(
|
|
31293
|
+
"inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
|
|
31294
|
+
{
|
|
31295
|
+
variants: {
|
|
31296
|
+
variant: {
|
|
31297
|
+
default: "border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",
|
|
31298
|
+
secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-yellow-200/80",
|
|
31299
|
+
destructive: "border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",
|
|
31300
|
+
outline: "text-foreground",
|
|
31301
|
+
accent: "border-transparent bg-accent/20 text-accent hover:bg-accent/30 shadow-card",
|
|
31302
|
+
gaming: "border-transparent bg-gaming-gold/20 text-gaming-gold hover:bg-gaming-gold/30 shadow-card"
|
|
31303
|
+
}
|
|
31304
|
+
},
|
|
31305
|
+
defaultVariants: {
|
|
31306
|
+
variant: "default"
|
|
31307
|
+
}
|
|
31308
|
+
}
|
|
31309
|
+
);
|
|
31310
|
+
function H({ className: t, variant: a, ...n }) {
|
|
31311
|
+
return /* @__PURE__ */ e("div", { className: ye(RP({ variant: a }), t), ...n });
|
|
31312
|
+
}
|
|
31313
|
+
const cn = ml.Root, dn = ue.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e(
|
|
31293
31314
|
ml.List,
|
|
31294
31315
|
{
|
|
31295
31316
|
ref: n,
|
|
@@ -31538,7 +31559,7 @@ var Fa = {
|
|
|
31538
31559
|
duration: 0.5,
|
|
31539
31560
|
overwrite: !1,
|
|
31540
31561
|
delay: 0
|
|
31541
|
-
}, a9, Yt, ht, Ga = 1e8, nt = 1 / Ga, SC = Math.PI * 2,
|
|
31562
|
+
}, a9, Yt, ht, Ga = 1e8, nt = 1 / Ga, SC = Math.PI * 2, DP = SC / 4, _P = 0, fL = Math.sqrt, zP = Math.cos, qP = Math.sin, Et = function(a) {
|
|
31542
31563
|
return typeof a == "string";
|
|
31543
31564
|
}, wt = function(a) {
|
|
31544
31565
|
return typeof a == "function";
|
|
@@ -31555,7 +31576,7 @@ var Fa = {
|
|
|
31555
31576
|
}, Kc = function(a) {
|
|
31556
31577
|
return wt(a) || Et(a);
|
|
31557
31578
|
}, kL = typeof ArrayBuffer == "function" && ArrayBuffer.isView || function() {
|
|
31558
|
-
}, Jt = Array.isArray, LC = /(?:-?\.?\d|\.)+/gi, vL = /[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g, fl = /[-+=.]*\d+[.e-]*\d*[a-z%]*/g, $N = /[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi, xL = /[+-]=-?[.\d]+/, bL = /[^,'"\[\]\s]+/gi,
|
|
31579
|
+
}, Jt = Array.isArray, LC = /(?:-?\.?\d|\.)+/gi, vL = /[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g, fl = /[-+=.]*\d+[.e-]*\d*[a-z%]*/g, $N = /[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi, xL = /[+-]=-?[.\d]+/, bL = /[^,'"\[\]\s]+/gi, jP = /^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i, ft, gn, IC, i9, Oa = {}, SN = {}, wL, ML = function(a) {
|
|
31559
31580
|
return (SN = dl(a, Oa)) && fa;
|
|
31560
31581
|
}, s9 = function(a, n) {
|
|
31561
31582
|
return console.warn("Invalid property", a, "set to", n, "Missing plugin? gsap.registerPlugin()");
|
|
@@ -31565,14 +31586,14 @@ var Fa = {
|
|
|
31565
31586
|
return a && (Oa[a] = n) && SN && (SN[a] = n) || Oa;
|
|
31566
31587
|
}, Fc = function() {
|
|
31567
31588
|
return 0;
|
|
31568
|
-
},
|
|
31589
|
+
}, FP = {
|
|
31569
31590
|
suppressEvents: !0,
|
|
31570
31591
|
isStart: !0,
|
|
31571
31592
|
kill: !1
|
|
31572
31593
|
}, vN = {
|
|
31573
31594
|
suppressEvents: !0,
|
|
31574
31595
|
kill: !1
|
|
31575
|
-
},
|
|
31596
|
+
}, OP = {
|
|
31576
31597
|
suppressEvents: !0
|
|
31577
31598
|
}, o9 = {}, xr = [], AC = {}, CL, Ia = {}, WN = {}, O9 = 30, xN = [], l9 = "", c9 = function(a) {
|
|
31578
31599
|
var n = a[0], i, s;
|
|
@@ -31597,7 +31618,7 @@ var Fa = {
|
|
|
31597
31618
|
}, ql = function(a, n) {
|
|
31598
31619
|
var i = n.charAt(0), s = parseFloat(n.substr(2));
|
|
31599
31620
|
return a = parseFloat(a), i === "+" ? a + s : i === "-" ? a - s : i === "*" ? a * s : a / s;
|
|
31600
|
-
},
|
|
31621
|
+
}, BP = function(a, n) {
|
|
31601
31622
|
for (var i = n.length, s = 0; a.indexOf(n[s]) < 0 && ++s < i; )
|
|
31602
31623
|
;
|
|
31603
31624
|
return s < i;
|
|
@@ -31616,7 +31637,7 @@ var Fa = {
|
|
|
31616
31637
|
for (var i in n)
|
|
31617
31638
|
i in a || (a[i] = n[i]);
|
|
31618
31639
|
return a;
|
|
31619
|
-
},
|
|
31640
|
+
}, HP = function(a) {
|
|
31620
31641
|
return function(n, i) {
|
|
31621
31642
|
for (var s in i)
|
|
31622
31643
|
s in n || s === "duration" && a || s === "ease" || (n[s] = i[s]);
|
|
@@ -31635,12 +31656,12 @@ var Fa = {
|
|
|
31635
31656
|
s in n || (i[s] = a[s]);
|
|
31636
31657
|
return i;
|
|
31637
31658
|
}, Ac = function(a) {
|
|
31638
|
-
var n = a.parent || ft, i = a.keyframes ?
|
|
31659
|
+
var n = a.parent || ft, i = a.keyframes ? HP(Jt(a.keyframes)) : Xa;
|
|
31639
31660
|
if (ma(a.inherit))
|
|
31640
31661
|
for (; n; )
|
|
31641
31662
|
i(a, n.vars.defaults), n = n.parent || n._dp;
|
|
31642
31663
|
return a;
|
|
31643
|
-
},
|
|
31664
|
+
}, EP = function(a, n) {
|
|
31644
31665
|
for (var i = a.length, s = i === n.length; s && i-- && a[i] === n[i]; )
|
|
31645
31666
|
;
|
|
31646
31667
|
return i < 0;
|
|
@@ -31661,13 +31682,13 @@ var Fa = {
|
|
|
31661
31682
|
for (var i = a; i; )
|
|
31662
31683
|
i._dirty = 1, i = i.parent;
|
|
31663
31684
|
return a;
|
|
31664
|
-
},
|
|
31685
|
+
}, VP = function(a) {
|
|
31665
31686
|
for (var n = a.parent; n && n.parent; )
|
|
31666
31687
|
n._dirty = 1, n.totalDuration(), n = n.parent;
|
|
31667
31688
|
return a;
|
|
31668
31689
|
}, PC = function(a, n, i, s) {
|
|
31669
31690
|
return a._startAt && (Yt ? a._startAt.revert(vN) : a.vars.immediateRender && !a.vars.autoRevert || a._startAt.render(n, !0, s));
|
|
31670
|
-
},
|
|
31691
|
+
}, GP = function t(a) {
|
|
31671
31692
|
return !a || a._ts && t(a.parent);
|
|
31672
31693
|
}, H9 = function(a) {
|
|
31673
31694
|
return a._repeat ? Hl(a._tTime, a = a.duration() + a._rDelay) * a : 0;
|
|
@@ -31698,14 +31719,14 @@ var Fa = {
|
|
|
31698
31719
|
return 1;
|
|
31699
31720
|
if (!i && a._pt && !Yt && (a._dur && a.vars.lazy !== !1 || !a._dur && a.vars.lazy) && CL !== Pa.frame)
|
|
31700
31721
|
return xr.push(a), a._lazy = [o, s], 1;
|
|
31701
|
-
},
|
|
31722
|
+
}, UP = function t(a) {
|
|
31702
31723
|
var n = a.parent;
|
|
31703
31724
|
return n && n._ts && n._initted && !n._lock && (n.rawTime() < 0 || t(n));
|
|
31704
31725
|
}, TC = function(a) {
|
|
31705
31726
|
var n = a.data;
|
|
31706
31727
|
return n === "isFromStart" || n === "isStart";
|
|
31707
|
-
},
|
|
31708
|
-
var o = a.ratio, c = n < 0 || !n && (!a._start &&
|
|
31728
|
+
}, $P = function(a, n, i, s) {
|
|
31729
|
+
var o = a.ratio, c = n < 0 || !n && (!a._start && UP(a) && !(!a._initted && TC(a)) || (a._ts < 0 || a._dp._ts < 0) && !TC(a)) ? 0 : 1, d = a._rDelay, u = 0, h, m, y;
|
|
31709
31730
|
if (d && a._repeat && (u = Wc(0, a._tDur, n), m = Hl(u, d), a._yoyo && m & 1 && (c = 1 - c), m !== Hl(a._tTime, d) && (o = 1 - c, a.vars.repeatRefresh && a._initted && a.invalidate())), c !== o || Yt || s || a._zTime === nt || !n && a._zTime) {
|
|
31710
31731
|
if (!a._initted && DL(a, n, s, i, u))
|
|
31711
31732
|
return;
|
|
@@ -31713,7 +31734,7 @@ var Fa = {
|
|
|
31713
31734
|
h.r(c, h.d), h = h._next;
|
|
31714
31735
|
n < 0 && PC(a, n, i, !0), a._onUpdate && !i && Ta(a, "onUpdate"), u && a._repeat && !i && a.parent && Ta(a, "onRepeat"), (n >= a._tDur || n < 0) && a.ratio === c && (c && Nr(a, 1), !i && !Yt && (Ta(a, c ? "onComplete" : "onReverseComplete", !0), a._prom && a._prom()));
|
|
31715
31736
|
} else a._zTime || (a._zTime = n);
|
|
31716
|
-
},
|
|
31737
|
+
}, WP = function(a, n, i) {
|
|
31717
31738
|
var s;
|
|
31718
31739
|
if (i > n)
|
|
31719
31740
|
for (s = a._first; s && s._start <= i; ) {
|
|
@@ -31732,12 +31753,12 @@ var Fa = {
|
|
|
31732
31753
|
return d && !s && (a._time *= c / a._dur), a._dur = c, a._tDur = o ? o < 0 ? 1e10 : Bt(c * (o + 1) + a._rDelay * o) : c, d > 0 && !s && ON(a, a._tTime = a._tDur * d), a.parent && FN(a), i || sl(a.parent, a), a;
|
|
31733
31754
|
}, E9 = function(a) {
|
|
31734
31755
|
return a instanceof ra ? sl(a) : El(a, a._dur);
|
|
31735
|
-
},
|
|
31756
|
+
}, ZP = {
|
|
31736
31757
|
_start: 0,
|
|
31737
31758
|
endTime: Fc,
|
|
31738
31759
|
totalDuration: Fc
|
|
31739
31760
|
}, Ha = function t(a, n, i) {
|
|
31740
|
-
var s = a.labels, o = a._recent ||
|
|
31761
|
+
var s = a.labels, o = a._recent || ZP, c = a.duration() >= Ga ? o.endTime(!1) : a._dur, d, u, h;
|
|
31741
31762
|
return Et(n) && (isNaN(n) || n in s) ? (u = n.charAt(0), h = n.substr(-1) === "%", d = n.indexOf("="), u === "<" || u === ">" ? (d >= 0 && (n = n.replace(/=/, "")), (u === "<" ? o._start : o.endTime(o._repeat >= 0)) + (parseFloat(n.substr(1)) || 0) * (h ? (d < 0 ? o : i).totalDuration() / 100 : 1)) : d < 0 ? (n in s || (s[n] = c), s[n]) : (u = parseFloat(n.charAt(d - 1) + n.substr(d + 1)), h && i && (u = u / 100 * (Jt(i) ? i[0] : i).totalDuration()), d > 1 ? t(a, n.substr(0, d - 1), i) + u : c + u)) : n == null ? c : +n;
|
|
31742
31763
|
}, Pc = function(a, n, i) {
|
|
31743
31764
|
var s = Hn(n[1]), o = (s ? 2 : 1) + (a < 2 ? 0 : 1), c = n[o], d, u;
|
|
@@ -31752,20 +31773,20 @@ var Fa = {
|
|
|
31752
31773
|
}, Wc = function(a, n, i) {
|
|
31753
31774
|
return i < a ? a : i > n ? n : i;
|
|
31754
31775
|
}, Ut = function(a, n) {
|
|
31755
|
-
return !Et(a) || !(n =
|
|
31756
|
-
},
|
|
31776
|
+
return !Et(a) || !(n = jP.exec(a)) ? "" : n[1];
|
|
31777
|
+
}, YP = function(a, n, i) {
|
|
31757
31778
|
return Tr(i, function(s) {
|
|
31758
31779
|
return Wc(a, n, s);
|
|
31759
31780
|
});
|
|
31760
31781
|
}, RC = [].slice, _L = function(a, n) {
|
|
31761
31782
|
return a && Sn(a) && "length" in a && (!n && !a.length || a.length - 1 in a && Sn(a[0])) && !a.nodeType && a !== gn;
|
|
31762
|
-
},
|
|
31783
|
+
}, JP = function(a, n, i) {
|
|
31763
31784
|
return i === void 0 && (i = []), a.forEach(function(s) {
|
|
31764
31785
|
var o;
|
|
31765
31786
|
return Et(s) && !n || _L(s, 1) ? (o = i).push.apply(o, Ua(s)) : i.push(s);
|
|
31766
31787
|
}) || i;
|
|
31767
31788
|
}, Ua = function(a, n, i) {
|
|
31768
|
-
return ht && !n && ht.selector ? ht.selector(a) : Et(a) && !i && (IC || !Vl()) ? RC.call((n || i9).querySelectorAll(a), 0) : Jt(a) ?
|
|
31789
|
+
return ht && !n && ht.selector ? ht.selector(a) : Et(a) && !i && (IC || !Vl()) ? RC.call((n || i9).querySelectorAll(a), 0) : Jt(a) ? JP(a, i) : _L(a) ? RC.call(a, 0) : a ? [a] : [];
|
|
31769
31790
|
}, DC = function(a) {
|
|
31770
31791
|
return a = Ua(a)[0] || jc("Invalid scope") || {}, function(n) {
|
|
31771
31792
|
var i = a.current || a.nativeElement || a;
|
|
@@ -31818,7 +31839,7 @@ var Fa = {
|
|
|
31818
31839
|
return Tr(Jt(a) ? !n : i === !0 ? !!(i = 0) : !s, function() {
|
|
31819
31840
|
return Jt(a) ? a[~~(Math.random() * a.length)] : (i = i || 1e-5) && (s = i < 1 ? Math.pow(10, (i + "").length - 2) : 1) && Math.floor(Math.round((a - i / 2 + Math.random() * (n - a + i * 0.99)) / i) * i * s) / s;
|
|
31820
31841
|
});
|
|
31821
|
-
},
|
|
31842
|
+
}, XP = function() {
|
|
31822
31843
|
for (var a = arguments.length, n = new Array(a), i = 0; i < a; i++)
|
|
31823
31844
|
n[i] = arguments[i];
|
|
31824
31845
|
return function(s) {
|
|
@@ -31826,22 +31847,22 @@ var Fa = {
|
|
|
31826
31847
|
return c(o);
|
|
31827
31848
|
}, s);
|
|
31828
31849
|
};
|
|
31829
|
-
},
|
|
31850
|
+
}, KP = function(a, n) {
|
|
31830
31851
|
return function(i) {
|
|
31831
31852
|
return a(parseFloat(i)) + (n || Ut(i));
|
|
31832
31853
|
};
|
|
31833
|
-
},
|
|
31854
|
+
}, QP = function(a, n, i) {
|
|
31834
31855
|
return BL(a, n, 0, 1, i);
|
|
31835
31856
|
}, OL = function(a, n, i) {
|
|
31836
31857
|
return Tr(i, function(s) {
|
|
31837
31858
|
return a[~~n(s)];
|
|
31838
31859
|
});
|
|
31839
|
-
},
|
|
31860
|
+
}, eT = function t(a, n, i) {
|
|
31840
31861
|
var s = n - a;
|
|
31841
31862
|
return Jt(a) ? OL(a, t(0, a.length), n) : Tr(i, function(o) {
|
|
31842
31863
|
return (s + (o - a) % s) % s + a;
|
|
31843
31864
|
});
|
|
31844
|
-
},
|
|
31865
|
+
}, tT = function t(a, n, i) {
|
|
31845
31866
|
var s = n - a, o = s * 2;
|
|
31846
31867
|
return Jt(a) ? OL(a, t(0, a.length - 1), n) : Tr(i, function(c) {
|
|
31847
31868
|
return c = (o + (c - a) % o) % o || 0, a + (c > s ? o - c : c);
|
|
@@ -31855,7 +31876,7 @@ var Fa = {
|
|
|
31855
31876
|
return Tr(o, function(u) {
|
|
31856
31877
|
return i + ((u - a) / c * d || 0);
|
|
31857
31878
|
});
|
|
31858
|
-
},
|
|
31879
|
+
}, aT = function t(a, n, i, s) {
|
|
31859
31880
|
var o = isNaN(a + n) ? 0 : function(p) {
|
|
31860
31881
|
return (1 - p) * a + p * n;
|
|
31861
31882
|
};
|
|
@@ -31905,8 +31926,8 @@ var Fa = {
|
|
|
31905
31926
|
init: Fc,
|
|
31906
31927
|
render: p9,
|
|
31907
31928
|
add: d9,
|
|
31908
|
-
kill:
|
|
31909
|
-
modifier:
|
|
31929
|
+
kill: kT,
|
|
31930
|
+
modifier: fT,
|
|
31910
31931
|
rawVars: 0
|
|
31911
31932
|
}, c = {
|
|
31912
31933
|
targetTest: 0,
|
|
@@ -31988,10 +32009,10 @@ var Fa = {
|
|
|
31988
32009
|
for (a in ic)
|
|
31989
32010
|
t += "|" + a + "\\b";
|
|
31990
32011
|
return new RegExp(t + ")", "gi");
|
|
31991
|
-
}(),
|
|
32012
|
+
}(), nT = /hsl[a]?\(/, UL = function(a) {
|
|
31992
32013
|
var n = a.join(" "), i;
|
|
31993
32014
|
if (br.lastIndex = 0, br.test(n))
|
|
31994
|
-
return i =
|
|
32015
|
+
return i = nT.test(n), a[1] = G9(a[1], i), a[0] = G9(a[0], i, GL(a[1])), !0;
|
|
31995
32016
|
}, Bc, Pa = function() {
|
|
31996
32017
|
var t = Date.now, a = 500, n = 33, i = t(), s = i, o = 1e3 / 240, c = o, d = [], u, h, m, y, g, p, f = function k(v) {
|
|
31997
32018
|
var x = t() - s, N = v === !0, C, b, L, I;
|
|
@@ -32035,16 +32056,16 @@ var Fa = {
|
|
|
32035
32056
|
}, y;
|
|
32036
32057
|
}(), Vl = function() {
|
|
32037
32058
|
return !Bc && Pa.wake();
|
|
32038
|
-
}, qe = {},
|
|
32059
|
+
}, qe = {}, rT = /^[\d.\-M][\d.\-,\s]/, iT = /["']/g, sT = function(a) {
|
|
32039
32060
|
for (var n = {}, i = a.substr(1, a.length - 3).split(":"), s = i[0], o = 1, c = i.length, d, u, h; o < c; o++)
|
|
32040
|
-
u = i[o], d = o !== c - 1 ? u.lastIndexOf(",") : u.length, h = u.substr(0, d), n[s] = isNaN(h) ? h.replace(
|
|
32061
|
+
u = i[o], d = o !== c - 1 ? u.lastIndexOf(",") : u.length, h = u.substr(0, d), n[s] = isNaN(h) ? h.replace(iT, "").trim() : +h, s = u.substr(d + 1).trim();
|
|
32041
32062
|
return n;
|
|
32042
|
-
},
|
|
32063
|
+
}, oT = function(a) {
|
|
32043
32064
|
var n = a.indexOf("(") + 1, i = a.indexOf(")"), s = a.indexOf("(", n);
|
|
32044
32065
|
return a.substring(n, ~s && s < i ? a.indexOf(")", i + 1) : i);
|
|
32045
|
-
},
|
|
32066
|
+
}, lT = function(a) {
|
|
32046
32067
|
var n = (a + "").split("("), i = qe[n[0]];
|
|
32047
|
-
return i && n.length > 1 && i.config ? i.config.apply(null, ~a.indexOf("{") ? [
|
|
32068
|
+
return i && n.length > 1 && i.config ? i.config.apply(null, ~a.indexOf("{") ? [sT(n[1])] : oT(a).split(",").map(IL)) : qe._CE && rT.test(a) ? qe._CE("", a) : i;
|
|
32048
32069
|
}, $L = function(a) {
|
|
32049
32070
|
return function(n) {
|
|
32050
32071
|
return 1 - a(1 - n);
|
|
@@ -32053,7 +32074,7 @@ var Fa = {
|
|
|
32053
32074
|
for (var i = a._first, s; i; )
|
|
32054
32075
|
i instanceof ra ? t(i, n) : i.vars.yoyoEase && (!i._yoyo || !i._repeat) && i._yoyo !== n && (i.timeline ? t(i.timeline, n) : (s = i._ease, i._ease = i._yEase, i._yEase = s, i._yoyo = n)), i = i._next;
|
|
32055
32076
|
}, ol = function(a, n) {
|
|
32056
|
-
return a && (wt(a) ? a : qe[a] ||
|
|
32077
|
+
return a && (wt(a) ? a : qe[a] || lT(a)) || n;
|
|
32057
32078
|
}, pl = function(a, n, i, s) {
|
|
32058
32079
|
i === void 0 && (i = function(u) {
|
|
32059
32080
|
return 1 - n(1 - u);
|
|
@@ -32076,7 +32097,7 @@ var Fa = {
|
|
|
32076
32097
|
};
|
|
32077
32098
|
}, YN = function t(a, n, i) {
|
|
32078
32099
|
var s = n >= 1 ? n : 1, o = (i || (a ? 0.3 : 0.45)) / (n < 1 ? n : 1), c = o / SC * (Math.asin(1 / s) || 0), d = function(m) {
|
|
32079
|
-
return m === 1 ? 1 : s * Math.pow(2, -10 * m) *
|
|
32100
|
+
return m === 1 ? 1 : s * Math.pow(2, -10 * m) * qP((m - c) * o) + 1;
|
|
32080
32101
|
}, u = a === "out" ? d : a === "in" ? function(h) {
|
|
32081
32102
|
return 1 - d(1 - h);
|
|
32082
32103
|
} : ZL(d);
|
|
@@ -32123,7 +32144,7 @@ pl("Circ", function(t) {
|
|
|
32123
32144
|
return -(fL(1 - t * t) - 1);
|
|
32124
32145
|
});
|
|
32125
32146
|
pl("Sine", function(t) {
|
|
32126
|
-
return t === 1 ? 1 : -
|
|
32147
|
+
return t === 1 ? 1 : -zP(t * DP) + 1;
|
|
32127
32148
|
});
|
|
32128
32149
|
pl("Back", JN("in"), JN("out"), JN());
|
|
32129
32150
|
qe.SteppedEase = qe.steps = Oa.SteppedEase = {
|
|
@@ -32140,7 +32161,7 @@ pa("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt", functio
|
|
|
32140
32161
|
return l9 += t + "," + t + "Params,";
|
|
32141
32162
|
});
|
|
32142
32163
|
var YL = function(a, n) {
|
|
32143
|
-
this.id =
|
|
32164
|
+
this.id = _P++, a._gsap = this, this.target = a, this.harness = n, this.get = n ? n.get : SL, this.set = n ? n.getSetter : m9;
|
|
32144
32165
|
}, Hc = /* @__PURE__ */ function() {
|
|
32145
32166
|
function t(n) {
|
|
32146
32167
|
this.vars = n, this._delay = +n.delay || 0, (this._repeat = n.repeat === 1 / 0 ? -2 : n.repeat || 0) && (this._rDelay = n.repeatDelay || 0, this._yoyo = !!n.yoyo || !!n.yoyoEase), this._ts = 1, El(this, +n.duration, 1, 1), this.data = n.data, ht && (this._ctx = ht, ht.data.push(this)), Bc || Pa.wake();
|
|
@@ -32177,7 +32198,7 @@ var YL = function(a, n) {
|
|
|
32177
32198
|
if (this._rts === i)
|
|
32178
32199
|
return this;
|
|
32179
32200
|
var o = this.parent && this._ts ? AN(this.parent._time, this) : this._tTime;
|
|
32180
|
-
return this._rts = +i || 0, this._ts = this._ps || i === -nt ? 0 : this._rts, this.totalTime(Wc(-Math.abs(this._delay), this._tDur, o), s !== !1), FN(this),
|
|
32201
|
+
return this._rts = +i || 0, this._ts = this._ps || i === -nt ? 0 : this._rts, this.totalTime(Wc(-Math.abs(this._delay), this._tDur, o), s !== !1), FN(this), VP(this);
|
|
32181
32202
|
}, a.paused = function(i) {
|
|
32182
32203
|
return arguments.length ? (this._ps !== i && (this._ps = i, i ? (this._pTime = this._tTime || Math.max(-this._delay, this.rawTime()), this._ts = this._act = 0) : (Vl(), this._ts = this._rts, this.totalTime(this.parent && !this.parent.smoothChildTiming ? this.rawTime() : this._tTime || this._pTime, this.progress() === 1 && Math.abs(this._zTime) !== nt && (this._tTime -= nt)))), this) : this._ps;
|
|
32183
32204
|
}, a.startTime = function(i) {
|
|
@@ -32193,7 +32214,7 @@ var YL = function(a, n) {
|
|
|
32193
32214
|
var s = this.parent || this._dp;
|
|
32194
32215
|
return s ? i && (!this._ts || this._repeat && this._time && this.totalProgress() < 1) ? this._tTime % (this._dur + this._rDelay) : this._ts ? AN(s.rawTime(i), this) : this._tTime : this._tTime;
|
|
32195
32216
|
}, a.revert = function(i) {
|
|
32196
|
-
i === void 0 && (i =
|
|
32217
|
+
i === void 0 && (i = OP);
|
|
32197
32218
|
var s = Yt;
|
|
32198
32219
|
return Yt = i, (this._initted || this._startAt) && (this.timeline && this.timeline.revert(i), this.totalTime(-0.01, i.suppressEvents)), this.data !== "nested" && i.kill !== !1 && this.kill(), Yt = s, this;
|
|
32199
32220
|
}, a.globalTime = function(i) {
|
|
@@ -32303,7 +32324,7 @@ var ra = /* @__PURE__ */ function(t) {
|
|
|
32303
32324
|
WL(this, S);
|
|
32304
32325
|
}
|
|
32305
32326
|
}
|
|
32306
|
-
if (this._hasPause && !this._forcing && this._lock < 2 && (N =
|
|
32327
|
+
if (this._hasPause && !this._forcing && this._lock < 2 && (N = WP(this, Bt(d), Bt(g)), N && (m -= g - (g = N._start))), this._tTime = m, this._time = g, this._act = !C, this._initted || (this._onUpdate = this.vars.onUpdate, this._initted = 1, this._zTime = s, d = 0), !d && g && !o && !k && (Ta(this, "onStart"), this._tTime !== m))
|
|
32307
32328
|
return this;
|
|
32308
32329
|
if (g >= d && s >= 0)
|
|
32309
32330
|
for (p = this._first; p; ) {
|
|
@@ -32381,7 +32402,7 @@ var ra = /* @__PURE__ */ function(t) {
|
|
|
32381
32402
|
return this;
|
|
32382
32403
|
}, n.getTweensOf = function(s, o) {
|
|
32383
32404
|
for (var c = [], d = Ua(s), u = this._first, h = Hn(o), m; u; )
|
|
32384
|
-
u instanceof Pt ?
|
|
32405
|
+
u instanceof Pt ? BP(u._targets, d) && (h ? (!hr || u._initted && u._ts) && u.globalTime(0) <= o && u.globalTime(u.totalDuration()) > o : !o || u.isActive()) && c.push(u) : (m = u.getTweensOf(d, o)).length && c.push.apply(c, m), u = u._next;
|
|
32385
32406
|
return c;
|
|
32386
32407
|
}, n.tweenTo = function(s, o) {
|
|
32387
32408
|
o = o || {};
|
|
@@ -32460,7 +32481,7 @@ Xa(ra.prototype, {
|
|
|
32460
32481
|
_hasPause: 0,
|
|
32461
32482
|
_forcing: 0
|
|
32462
32483
|
});
|
|
32463
|
-
var
|
|
32484
|
+
var cT = function(a, n, i, s, o, c, d) {
|
|
32464
32485
|
var u = new ya(this._pt, a, n, 0, 1, tI, null, o), h = 0, m = 0, y, g, p, f, k, v, x, N;
|
|
32465
32486
|
for (u.b = i, u.e = s, i += "", s += "", (x = ~s.indexOf("random(")) && (s = Oc(s)), c && (N = [i, s], c(N, a, n), i = N[0], s = N[1]), g = i.match($N) || []; y = $N.exec(s); )
|
|
32466
32487
|
f = y[0], k = s.substring(h, y.index), p ? p = (p + 1) % 5 : k.substr(-5) === "rgba(" && (p = 1), f !== g[m++] && (v = parseFloat(g[m - 1]) || 0, u._pt = {
|
|
@@ -32474,10 +32495,10 @@ var lT = function(a, n, i, s, o, c, d) {
|
|
|
32474
32495
|
return u.c = h < s.length ? s.substring(h, s.length) : "", u.fp = d, (xL.test(s) || x) && (u.e = 0), this._pt = u, u;
|
|
32475
32496
|
}, d9 = function(a, n, i, s, o, c, d, u, h, m) {
|
|
32476
32497
|
wt(s) && (s = s(o || 0, a, c));
|
|
32477
|
-
var y = a[n], g = i !== "get" ? i : wt(y) ? h ? a[n.indexOf("set") || !wt(a["get" + n.substr(3)]) ? n : "get" + n.substr(3)](h) : a[n]() : y, p = wt(y) ? h ?
|
|
32498
|
+
var y = a[n], g = i !== "get" ? i : wt(y) ? h ? a[n.indexOf("set") || !wt(a["get" + n.substr(3)]) ? n : "get" + n.substr(3)](h) : a[n]() : y, p = wt(y) ? h ? pT : QL : u9, f;
|
|
32478
32499
|
if (Et(s) && (~s.indexOf("random(") && (s = Oc(s)), s.charAt(1) === "=" && (f = ql(g, s) + (Ut(g) || 0), (f || f === 0) && (s = f))), !m || g !== s || zC)
|
|
32479
|
-
return !isNaN(g * s) && s !== "" ? (f = new ya(this._pt, a, n, +g || 0, s - (g || 0), typeof y == "boolean" ?
|
|
32480
|
-
},
|
|
32500
|
+
return !isNaN(g * s) && s !== "" ? (f = new ya(this._pt, a, n, +g || 0, s - (g || 0), typeof y == "boolean" ? gT : eI, 0, p), h && (f.fp = h), d && f.modifier(d, this, a), this._pt = f) : (!y && !(n in a) && s9(n, s), cT.call(this, a, n, g, s, p, u || Fa.stringFilter, h));
|
|
32501
|
+
}, dT = function(a, n, i, s, o) {
|
|
32481
32502
|
if (wt(a) && (a = Tc(a, o, n, i, s)), !Sn(a) || a.style && a.nodeType || Jt(a) || kL(a))
|
|
32482
32503
|
return Et(a) ? Tc(a, o, n, i, s) : a;
|
|
32483
32504
|
var c = {}, d;
|
|
@@ -32486,14 +32507,14 @@ var lT = function(a, n, i, s, o, c, d) {
|
|
|
32486
32507
|
return c;
|
|
32487
32508
|
}, JL = function(a, n, i, s, o, c) {
|
|
32488
32509
|
var d, u, h, m;
|
|
32489
|
-
if (Ia[a] && (d = new Ia[a]()).init(o, d.rawVars ? n[a] :
|
|
32510
|
+
if (Ia[a] && (d = new Ia[a]()).init(o, d.rawVars ? n[a] : dT(n[a], s, o, c, i), i, s, c) !== !1 && (i._pt = u = new ya(i._pt, o, a, 0, 1, d.render, d, 0, d.priority), i !== kl))
|
|
32490
32511
|
for (h = i._ptLookup[i._targets.indexOf(o)], m = d._props.length; m--; )
|
|
32491
32512
|
h[d._props[m]] = u;
|
|
32492
32513
|
return d;
|
|
32493
32514
|
}, hr, zC, h9 = function t(a, n, i) {
|
|
32494
32515
|
var s = a.vars, o = s.ease, c = s.startAt, d = s.immediateRender, u = s.lazy, h = s.onUpdate, m = s.runBackwards, y = s.yoyoEase, g = s.keyframes, p = s.autoRevert, f = a._dur, k = a._startAt, v = a._targets, x = a.parent, N = x && x.data === "nested" ? x.vars.targets : v, C = a._overwrite === "auto" && !a9, b = a.timeline, L, I, S, w, M, P, D, T, _, z, j, O, F;
|
|
32495
32516
|
if (b && (!g || !o) && (o = "none"), a._ease = ol(o, Bl.ease), a._yEase = y ? $L(ol(y === !0 ? o : y, Bl.ease)) : 0, y && a._yoyo && !a._repeat && (y = a._yEase, a._yEase = a._ease, a._ease = y), a._from = !b && !!s.runBackwards, !b || g && !s.stagger) {
|
|
32496
|
-
if (T = v[0] ? il(v[0]).harness : 0, O = T && s[T.prop], L = IN(s, o9), k && (k._zTime < 0 && k.progress(1), n < 0 && m && d && !p ? k.render(-1, !0) : k.revert(m && f ? vN :
|
|
32517
|
+
if (T = v[0] ? il(v[0]).harness : 0, O = T && s[T.prop], L = IN(s, o9), k && (k._zTime < 0 && k.progress(1), n < 0 && m && d && !p ? k.render(-1, !0) : k.revert(m && f ? vN : FP), k._lazy = 0), c) {
|
|
32497
32518
|
if (Nr(a._startAt = Pt.set(v, Xa({
|
|
32498
32519
|
data: "isStart",
|
|
32499
32520
|
overwrite: !1,
|
|
@@ -32537,7 +32558,7 @@ var lT = function(a, n, i, s, o, c, d) {
|
|
|
32537
32558
|
P && aI(a), a._onInit && a._onInit(a);
|
|
32538
32559
|
}
|
|
32539
32560
|
a._onUpdate = h, a._initted = (!a._op || a._pt) && !F, g && n <= 0 && b.render(Ga, !0, !0);
|
|
32540
|
-
},
|
|
32561
|
+
}, hT = function(a, n, i, s, o, c, d, u) {
|
|
32541
32562
|
var h = (a._pt && a._ptCache || (a._ptCache = {}))[n], m, y, g, p;
|
|
32542
32563
|
if (!h)
|
|
32543
32564
|
for (h = a._ptCache[n] = [], g = a._ptLookup, p = a._targets.length; p--; ) {
|
|
@@ -32550,7 +32571,7 @@ var lT = function(a, n, i, s, o, c, d) {
|
|
|
32550
32571
|
}
|
|
32551
32572
|
for (p = h.length; p--; )
|
|
32552
32573
|
y = h[p], m = y._pt || y, m.s = (s || s === 0) && !o ? s : m.s + (s || 0) + c * m.c, m.c = i - m.s, y.e && (y.e = Mt(i) + Ut(y.e)), y.b && (y.b = m.s + Ut(y.b));
|
|
32553
|
-
},
|
|
32574
|
+
}, uT = function(a, n) {
|
|
32554
32575
|
var i = a[0] ? il(a[0]).harness : 0, s = i && i.aliases, o, c, d, u;
|
|
32555
32576
|
if (!s)
|
|
32556
32577
|
return n;
|
|
@@ -32560,7 +32581,7 @@ var lT = function(a, n, i, s, o, c, d) {
|
|
|
32560
32581
|
for (u = s[c].split(","), d = u.length; d--; )
|
|
32561
32582
|
o[u[d]] = o[c];
|
|
32562
32583
|
return o;
|
|
32563
|
-
},
|
|
32584
|
+
}, mT = function(a, n, i, s) {
|
|
32564
32585
|
var o = n.ease || s || "power1.inOut", c, d;
|
|
32565
32586
|
if (Jt(n))
|
|
32566
32587
|
d = i[a] || (i[a] = []), n.forEach(function(u, h) {
|
|
@@ -32613,7 +32634,7 @@ var Pt = /* @__PURE__ */ function(t) {
|
|
|
32613
32634
|
else {
|
|
32614
32635
|
I = {};
|
|
32615
32636
|
for (w in f)
|
|
32616
|
-
w === "ease" || w === "easeEach" ||
|
|
32637
|
+
w === "ease" || w === "easeEach" || mT(w, f[w], I, f.easeEach);
|
|
32617
32638
|
for (w in I)
|
|
32618
32639
|
for (_ = I[w].sort(function(O, F) {
|
|
32619
32640
|
return O.t - F.t;
|
|
@@ -32630,13 +32651,13 @@ var Pt = /* @__PURE__ */ function(t) {
|
|
|
32630
32651
|
h || d.duration(h = b.duration());
|
|
32631
32652
|
} else
|
|
32632
32653
|
d.timeline = 0;
|
|
32633
|
-
return p === !0 && !a9 && (hr = An(d), ft.killTweensOf(C), hr = 0), kn(N, An(d), o), s.reversed && d.reverse(), s.paused && d.paused(!0), (y || !h && !f && d._start === Bt(N._time) && ma(y) &&
|
|
32654
|
+
return p === !0 && !a9 && (hr = An(d), ft.killTweensOf(C), hr = 0), kn(N, An(d), o), s.reversed && d.reverse(), s.paused && d.paused(!0), (y || !h && !f && d._start === Bt(N._time) && ma(y) && GP(An(d)) && N.data !== "nested") && (d._tTime = -nt, d.render(Math.max(0, -m) || 0)), v && RL(An(d), v), d;
|
|
32634
32655
|
}
|
|
32635
32656
|
var n = a.prototype;
|
|
32636
32657
|
return n.render = function(s, o, c) {
|
|
32637
32658
|
var d = this._time, u = this._tDur, h = this._dur, m = s < 0, y = s > u - nt && !m ? u : s < nt ? 0 : s, g, p, f, k, v, x, N, C, b;
|
|
32638
32659
|
if (!h)
|
|
32639
|
-
|
|
32660
|
+
$P(this, s, o, c);
|
|
32640
32661
|
else if (y !== this._tTime || !s || c || !this._initted && this._tTime || this._startAt && this._zTime < 0 !== m) {
|
|
32641
32662
|
if (g = y, C = this.timeline, this._repeat) {
|
|
32642
32663
|
if (k = h + this._rDelay, this._repeat < -1 && m)
|
|
@@ -32667,7 +32688,7 @@ var Pt = /* @__PURE__ */ function(t) {
|
|
|
32667
32688
|
}, n.resetTo = function(s, o, c, d, u) {
|
|
32668
32689
|
Bc || Pa.wake(), this._ts || this.play();
|
|
32669
32690
|
var h = Math.min(this._dur, (this._dp._time - this._start) * this._ts), m;
|
|
32670
|
-
return this._initted || h9(this, h), m = this._ease(h / this._dur),
|
|
32691
|
+
return this._initted || h9(this, h), m = this._ease(h / this._dur), hT(this, s, o, c, d, m, h, u) ? this.resetTo(s, o, c, d, 1) : (ON(this, 0), this.parent || PL(this._dp, this, "_first", "_last", this._dp._sort ? "_start" : 0), this.render(0));
|
|
32671
32692
|
}, n.kill = function(s, o) {
|
|
32672
32693
|
if (o === void 0 && (o = "all"), !s && (!o || o === "all"))
|
|
32673
32694
|
return this._lazy = this._pt = 0, this.parent ? rc(this) : this;
|
|
@@ -32676,11 +32697,11 @@ var Pt = /* @__PURE__ */ function(t) {
|
|
|
32676
32697
|
return this.timeline.killTweensOf(s, o, hr && hr.vars.overwrite !== !0)._first || rc(this), this.parent && c !== this.timeline.totalDuration() && El(this, this._dur * this.timeline._tDur / c, 0, 1), this;
|
|
32677
32698
|
}
|
|
32678
32699
|
var d = this._targets, u = s ? Ua(s) : d, h = this._ptLookup, m = this._pt, y, g, p, f, k, v, x;
|
|
32679
|
-
if ((!o || o === "all") &&
|
|
32700
|
+
if ((!o || o === "all") && EP(d, u))
|
|
32680
32701
|
return o === "all" && (this._pt = 0), rc(this);
|
|
32681
32702
|
for (y = this._op = this._op || [], o !== "all" && (Et(o) && (k = {}, pa(o, function(N) {
|
|
32682
32703
|
return k[N] = 1;
|
|
32683
|
-
}), o = k), o =
|
|
32704
|
+
}), o = k), o = uT(d, o)), x = d.length; x--; )
|
|
32684
32705
|
if (~u.indexOf(d[x])) {
|
|
32685
32706
|
g = h[x], o === "all" ? (y[x] = o, f = g, p = {}) : (p = y[x] = y[x] || {}, f = o);
|
|
32686
32707
|
for (k in f)
|
|
@@ -32728,15 +32749,15 @@ var u9 = function(a, n, i) {
|
|
|
32728
32749
|
return a[n] = i;
|
|
32729
32750
|
}, QL = function(a, n, i) {
|
|
32730
32751
|
return a[n](i);
|
|
32731
|
-
},
|
|
32752
|
+
}, pT = function(a, n, i, s) {
|
|
32732
32753
|
return a[n](s.fp, i);
|
|
32733
|
-
},
|
|
32754
|
+
}, yT = function(a, n, i) {
|
|
32734
32755
|
return a.setAttribute(n, i);
|
|
32735
32756
|
}, m9 = function(a, n) {
|
|
32736
|
-
return wt(a[n]) ? QL : n9(a[n]) && a.setAttribute ?
|
|
32757
|
+
return wt(a[n]) ? QL : n9(a[n]) && a.setAttribute ? yT : u9;
|
|
32737
32758
|
}, eI = function(a, n) {
|
|
32738
32759
|
return n.set(n.t, n.p, Math.round((n.s + n.c * a) * 1e6) / 1e6, n);
|
|
32739
|
-
},
|
|
32760
|
+
}, gT = function(a, n) {
|
|
32740
32761
|
return n.set(n.t, n.p, !!(n.s + n.c * a), n);
|
|
32741
32762
|
}, tI = function(a, n) {
|
|
32742
32763
|
var i = n._pt, s = "";
|
|
@@ -32753,14 +32774,14 @@ var u9 = function(a, n, i) {
|
|
|
32753
32774
|
}, p9 = function(a, n) {
|
|
32754
32775
|
for (var i = n._pt; i; )
|
|
32755
32776
|
i.r(a, i.d), i = i._next;
|
|
32756
|
-
},
|
|
32777
|
+
}, fT = function(a, n, i, s) {
|
|
32757
32778
|
for (var o = this._pt, c; o; )
|
|
32758
32779
|
c = o._next, o.p === s && o.modifier(a, n, i), o = c;
|
|
32759
|
-
},
|
|
32780
|
+
}, kT = function(a) {
|
|
32760
32781
|
for (var n = this._pt, i, s; n; )
|
|
32761
32782
|
s = n._next, n.p === a && !n.op || n.op === a ? jN(this, n, "_pt") : n.dep || (i = 1), n = s;
|
|
32762
32783
|
return !i;
|
|
32763
|
-
},
|
|
32784
|
+
}, vT = function(a, n, i, s) {
|
|
32764
32785
|
s.mSet(a, n, s.m.call(s.tween, i, s.mt), s);
|
|
32765
32786
|
}, aI = function(a) {
|
|
32766
32787
|
for (var n = a._pt, i, s, o, c; n; ) {
|
|
@@ -32775,7 +32796,7 @@ var u9 = function(a, n, i) {
|
|
|
32775
32796
|
}
|
|
32776
32797
|
var a = t.prototype;
|
|
32777
32798
|
return a.modifier = function(i, s, o) {
|
|
32778
|
-
this.mSet = this.mSet || this.set, this.set =
|
|
32799
|
+
this.mSet = this.mSet || this.set, this.set = vT, this.m = i, this.mt = o, this.tween = s;
|
|
32779
32800
|
}, t;
|
|
32780
32801
|
}();
|
|
32781
32802
|
pa(l9 + "parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger", function(t) {
|
|
@@ -32791,8 +32812,8 @@ ft = new ra({
|
|
|
32791
32812
|
smoothChildTiming: !0
|
|
32792
32813
|
});
|
|
32793
32814
|
Fa.stringFilter = UL;
|
|
32794
|
-
var ll = [], bN = {},
|
|
32795
|
-
return (bN[a] ||
|
|
32815
|
+
var ll = [], bN = {}, xT = [], U9 = 0, bT = 0, XN = function(a) {
|
|
32816
|
+
return (bN[a] || xT).map(function(n) {
|
|
32796
32817
|
return n();
|
|
32797
32818
|
});
|
|
32798
32819
|
}, qC = function() {
|
|
@@ -32809,7 +32830,7 @@ var ll = [], bN = {}, vT = [], U9 = 0, xT = 0, XN = function(a) {
|
|
|
32809
32830
|
}), U9 = a, XN("matchMedia"));
|
|
32810
32831
|
}, nI = /* @__PURE__ */ function() {
|
|
32811
32832
|
function t(n, i) {
|
|
32812
|
-
this.selector = i && DC(i), this.data = [], this._r = [], this.isReverted = !1, this.id =
|
|
32833
|
+
this.selector = i && DC(i), this.data = [], this._r = [], this.isReverted = !1, this.id = bT++, n && this.add(n);
|
|
32813
32834
|
}
|
|
32814
32835
|
var a = t.prototype;
|
|
32815
32836
|
return a.add = function(i, s, o) {
|
|
@@ -32860,7 +32881,7 @@ var ll = [], bN = {}, vT = [], U9 = 0, xT = 0, XN = function(a) {
|
|
|
32860
32881
|
}, a.revert = function(i) {
|
|
32861
32882
|
this.kill(i || {});
|
|
32862
32883
|
}, t;
|
|
32863
|
-
}(),
|
|
32884
|
+
}(), wT = /* @__PURE__ */ function() {
|
|
32864
32885
|
function t(n) {
|
|
32865
32886
|
this.contexts = [], this.scope = n, ht && ht.data.push(this);
|
|
32866
32887
|
}
|
|
@@ -32968,7 +32989,7 @@ var ll = [], bN = {}, vT = [], U9 = 0, xT = 0, XN = function(a) {
|
|
|
32968
32989
|
return a ? new nI(a, n) : ht;
|
|
32969
32990
|
},
|
|
32970
32991
|
matchMedia: function(a) {
|
|
32971
|
-
return new
|
|
32992
|
+
return new wT(a);
|
|
32972
32993
|
},
|
|
32973
32994
|
matchMediaRefresh: function() {
|
|
32974
32995
|
return ll.forEach(function(a) {
|
|
@@ -32987,21 +33008,21 @@ var ll = [], bN = {}, vT = [], U9 = 0, xT = 0, XN = function(a) {
|
|
|
32987
33008
|
s >= 0 && i.splice(s, 1);
|
|
32988
33009
|
},
|
|
32989
33010
|
utils: {
|
|
32990
|
-
wrap:
|
|
32991
|
-
wrapYoyo:
|
|
33011
|
+
wrap: eT,
|
|
33012
|
+
wrapYoyo: tT,
|
|
32992
33013
|
distribute: qL,
|
|
32993
33014
|
random: FL,
|
|
32994
33015
|
snap: jL,
|
|
32995
|
-
normalize:
|
|
33016
|
+
normalize: QP,
|
|
32996
33017
|
getUnit: Ut,
|
|
32997
|
-
clamp:
|
|
33018
|
+
clamp: YP,
|
|
32998
33019
|
splitColor: VL,
|
|
32999
33020
|
toArray: Ua,
|
|
33000
33021
|
selector: DC,
|
|
33001
33022
|
mapRange: BL,
|
|
33002
|
-
pipe:
|
|
33003
|
-
unitize:
|
|
33004
|
-
interpolate:
|
|
33023
|
+
pipe: XP,
|
|
33024
|
+
unitize: KP,
|
|
33025
|
+
interpolate: aT,
|
|
33005
33026
|
shuffle: zL
|
|
33006
33027
|
},
|
|
33007
33028
|
install: ML,
|
|
@@ -33036,15 +33057,15 @@ Pa.add(ra.updateRoot);
|
|
|
33036
33057
|
kl = PN.to({}, {
|
|
33037
33058
|
duration: 0
|
|
33038
33059
|
});
|
|
33039
|
-
var
|
|
33060
|
+
var MT = function(a, n) {
|
|
33040
33061
|
for (var i = a._pt; i && i.p !== n && i.op !== n && i.fp !== n; )
|
|
33041
33062
|
i = i._next;
|
|
33042
33063
|
return i;
|
|
33043
|
-
},
|
|
33064
|
+
}, NT = function(a, n) {
|
|
33044
33065
|
var i = a._targets, s, o, c;
|
|
33045
33066
|
for (s in n)
|
|
33046
33067
|
for (o = i.length; o--; )
|
|
33047
|
-
c = a._ptLookup[o][s], c && (c = c.d) && (c._pt && (c =
|
|
33068
|
+
c = a._ptLookup[o][s], c && (c = c.d) && (c._pt && (c = MT(c, s)), c && c.modifier && c.modifier(n[s], a, i[o], s));
|
|
33048
33069
|
}, KN = function(a, n) {
|
|
33049
33070
|
return {
|
|
33050
33071
|
name: a,
|
|
@@ -33061,7 +33082,7 @@ var wT = function(a, n) {
|
|
|
33061
33082
|
u[h] = n(o[h]);
|
|
33062
33083
|
o = u;
|
|
33063
33084
|
}
|
|
33064
|
-
|
|
33085
|
+
NT(d, o);
|
|
33065
33086
|
};
|
|
33066
33087
|
}
|
|
33067
33088
|
};
|
|
@@ -33114,40 +33135,40 @@ qe.Circ;
|
|
|
33114
33135
|
* Club GSAP members, the agreement issued with that membership.
|
|
33115
33136
|
* @author: Jack Doyle, jack@greensock.com
|
|
33116
33137
|
*/
|
|
33117
|
-
var $9, ur, jl, y9, Qo, W9, g9,
|
|
33138
|
+
var $9, ur, jl, y9, Qo, W9, g9, CT = function() {
|
|
33118
33139
|
return typeof window < "u";
|
|
33119
|
-
}, En = {}, Jo = 180 / Math.PI, Fl = Math.PI / 180, yl = Math.atan2, Z9 = 1e8, f9 = /([A-Z])/g,
|
|
33140
|
+
}, En = {}, Jo = 180 / Math.PI, Fl = Math.PI / 180, yl = Math.atan2, Z9 = 1e8, f9 = /([A-Z])/g, ST = /(left|right|width|margin|padding|x)/i, LT = /[\s,\(]\S/, bn = {
|
|
33120
33141
|
autoAlpha: "opacity,visibility",
|
|
33121
33142
|
scale: "scaleX,scaleY",
|
|
33122
33143
|
alpha: "opacity"
|
|
33123
33144
|
}, jC = function(a, n) {
|
|
33124
33145
|
return n.set(n.t, n.p, Math.round((n.s + n.c * a) * 1e4) / 1e4 + n.u, n);
|
|
33125
|
-
}, LT = function(a, n) {
|
|
33126
|
-
return n.set(n.t, n.p, a === 1 ? n.e : Math.round((n.s + n.c * a) * 1e4) / 1e4 + n.u, n);
|
|
33127
33146
|
}, IT = function(a, n) {
|
|
33128
|
-
return n.set(n.t, n.p, a ? Math.round((n.s + n.c * a) * 1e4) / 1e4 + n.u
|
|
33147
|
+
return n.set(n.t, n.p, a === 1 ? n.e : Math.round((n.s + n.c * a) * 1e4) / 1e4 + n.u, n);
|
|
33129
33148
|
}, AT = function(a, n) {
|
|
33149
|
+
return n.set(n.t, n.p, a ? Math.round((n.s + n.c * a) * 1e4) / 1e4 + n.u : n.b, n);
|
|
33150
|
+
}, PT = function(a, n) {
|
|
33130
33151
|
var i = n.s + n.c * a;
|
|
33131
33152
|
n.set(n.t, n.p, ~~(i + (i < 0 ? -0.5 : 0.5)) + n.u, n);
|
|
33132
33153
|
}, rI = function(a, n) {
|
|
33133
33154
|
return n.set(n.t, n.p, a ? n.e : n.b, n);
|
|
33134
33155
|
}, iI = function(a, n) {
|
|
33135
33156
|
return n.set(n.t, n.p, a !== 1 ? n.b : n.e, n);
|
|
33136
|
-
}, PT = function(a, n, i) {
|
|
33137
|
-
return a.style[n] = i;
|
|
33138
33157
|
}, TT = function(a, n, i) {
|
|
33139
|
-
return a.style
|
|
33158
|
+
return a.style[n] = i;
|
|
33140
33159
|
}, RT = function(a, n, i) {
|
|
33141
|
-
return a.
|
|
33160
|
+
return a.style.setProperty(n, i);
|
|
33142
33161
|
}, DT = function(a, n, i) {
|
|
33162
|
+
return a._gsap[n] = i;
|
|
33163
|
+
}, _T = function(a, n, i) {
|
|
33143
33164
|
return a._gsap.scaleX = a._gsap.scaleY = i;
|
|
33144
|
-
},
|
|
33165
|
+
}, zT = function(a, n, i, s, o) {
|
|
33145
33166
|
var c = a._gsap;
|
|
33146
33167
|
c.scaleX = c.scaleY = i, c.renderTransform(o, c);
|
|
33147
|
-
},
|
|
33168
|
+
}, qT = function(a, n, i, s, o) {
|
|
33148
33169
|
var c = a._gsap;
|
|
33149
33170
|
c[n] = i, c.renderTransform(o, c);
|
|
33150
|
-
}, kt = "transform", ga = kt + "Origin",
|
|
33171
|
+
}, kt = "transform", ga = kt + "Origin", jT = function t(a, n) {
|
|
33151
33172
|
var i = this, s = this.target, o = s.style, c = s._gsap;
|
|
33152
33173
|
if (a in En && o) {
|
|
33153
33174
|
if (this.tfm = this.tfm || {}, a !== "transform")
|
|
@@ -33165,7 +33186,7 @@ var $9, ur, jl, y9, Qo, W9, g9, NT = function() {
|
|
|
33165
33186
|
(o || n) && this.props.push(a, n, o[a]);
|
|
33166
33187
|
}, sI = function(a) {
|
|
33167
33188
|
a.translate && (a.removeProperty("translate"), a.removeProperty("scale"), a.removeProperty("rotate"));
|
|
33168
|
-
},
|
|
33189
|
+
}, FT = function() {
|
|
33169
33190
|
var a = this.props, n = this.target, i = n.style, s = n._gsap, o, c;
|
|
33170
33191
|
for (o = 0; o < a.length; o += 3)
|
|
33171
33192
|
a[o + 1] ? n[a[o]] = a[o + 2] : a[o + 2] ? i[a[o]] = a[o + 2] : i.removeProperty(a[o].substr(0, 2) === "--" ? a[o] : a[o].replace(f9, "-$1").toLowerCase());
|
|
@@ -33178,8 +33199,8 @@ var $9, ur, jl, y9, Qo, W9, g9, NT = function() {
|
|
|
33178
33199
|
var i = {
|
|
33179
33200
|
target: a,
|
|
33180
33201
|
props: [],
|
|
33181
|
-
revert:
|
|
33182
|
-
save:
|
|
33202
|
+
revert: FT,
|
|
33203
|
+
save: jT
|
|
33183
33204
|
};
|
|
33184
33205
|
return a._gsap || fa.core.getCache(a), n && n.split(",").forEach(function(s) {
|
|
33185
33206
|
return i.save(s);
|
|
@@ -33198,7 +33219,7 @@ var $9, ur, jl, y9, Qo, W9, g9, NT = function() {
|
|
|
33198
33219
|
;
|
|
33199
33220
|
return c < 0 ? null : (c === 3 ? "ms" : c >= 0 ? Y9[c] : "") + a;
|
|
33200
33221
|
}, OC = function() {
|
|
33201
|
-
|
|
33222
|
+
CT() && window.document && ($9 = window, ur = $9.document, jl = ur.documentElement, Qo = FC("div") || {
|
|
33202
33223
|
style: {}
|
|
33203
33224
|
}, FC("div"), kt = Gl(kt), ga = kt + "Origin", Qo.style.cssText = "border-width:0;line-height:0;position:absolute;padding:0", lI = !!Gl("perspective"), g9 = fa.core.reverting, y9 = 1);
|
|
33204
33225
|
}, QN = function t(a) {
|
|
@@ -33241,11 +33262,11 @@ var $9, ur, jl, y9, Qo, W9, g9, NT = function() {
|
|
|
33241
33262
|
deg: 1,
|
|
33242
33263
|
rad: 1,
|
|
33243
33264
|
turn: 1
|
|
33244
|
-
},
|
|
33265
|
+
}, OT = {
|
|
33245
33266
|
grid: 1,
|
|
33246
33267
|
flex: 1
|
|
33247
33268
|
}, Cr = function t(a, n, i, s) {
|
|
33248
|
-
var o = parseFloat(i) || 0, c = (i + "").trim().substr((o + "").length) || "px", d = Qo.style, u =
|
|
33269
|
+
var o = parseFloat(i) || 0, c = (i + "").trim().substr((o + "").length) || "px", d = Qo.style, u = ST.test(n), h = a.tagName.toLowerCase() === "svg", m = (h ? "client" : "offset") + (u ? "Width" : "Height"), y = 100, g = s === "px", p = s === "%", f, k, v, x;
|
|
33249
33270
|
if (s === c || !o || X9[s] || X9[c])
|
|
33250
33271
|
return o;
|
|
33251
33272
|
if (c !== "px" && !g && (o = t(a, n, i, "px")), x = a.getCTM && dI(a), (p || c === "%") && (En[n] || ~n.indexOf("adius")))
|
|
@@ -33256,12 +33277,12 @@ var $9, ur, jl, y9, Qo, W9, g9, NT = function() {
|
|
|
33256
33277
|
var N = a.style[n];
|
|
33257
33278
|
a.style[n] = y + s, f = a[m], N ? a.style[n] = N : hl(a, n);
|
|
33258
33279
|
} else
|
|
33259
|
-
(p || c === "%") && !
|
|
33280
|
+
(p || c === "%") && !OT[Cn(k, "display")] && (d.position = Cn(a, "position")), k === a && (d.position = "static"), k.appendChild(Qo), f = Qo[m], k.removeChild(Qo), d.position = "absolute";
|
|
33260
33281
|
return u && p && (v = il(k), v.time = Pa.time, v.width = k[m]), Mt(g ? f * o / y : f && o ? y / f * o : 0);
|
|
33261
33282
|
}, _n = function(a, n, i, s) {
|
|
33262
33283
|
var o;
|
|
33263
33284
|
return y9 || OC(), n in bn && n !== "transform" && (n = bn[n], ~n.indexOf(",") && (n = n.split(",")[0])), En[n] && n !== "transform" ? (o = Vc(a, s), o = n !== "transformOrigin" ? o[n] : o.svg ? o.origin : RN(Cn(a, ga)) + " " + o.zOrigin + "px") : (o = a.style[n], (!o || o === "auto" || s || ~(o + "").indexOf("calc(")) && (o = TN[n] && TN[n](a, n, i) || Cn(a, n) || SL(a, n) || (n === "opacity" ? 1 : 0))), i && !~(o + "").trim().indexOf(" ") ? Cr(a, n, o, i) + i : o;
|
|
33264
|
-
},
|
|
33285
|
+
}, BT = function(a, n, i, s) {
|
|
33265
33286
|
if (!i || i === "none") {
|
|
33266
33287
|
var o = Gl(n, a, 1), c = o && Cn(a, o, 1);
|
|
33267
33288
|
c && c !== i ? (n = o, i = c) : n === "borderColor" && (i = Cn(a, "borderTopColor"));
|
|
@@ -33287,10 +33308,10 @@ var $9, ur, jl, y9, Qo, W9, g9, NT = function() {
|
|
|
33287
33308
|
left: "0%",
|
|
33288
33309
|
right: "100%",
|
|
33289
33310
|
center: "50%"
|
|
33290
|
-
},
|
|
33311
|
+
}, HT = function(a) {
|
|
33291
33312
|
var n = a.split(" "), i = n[0], s = n[1] || "50%";
|
|
33292
33313
|
return (i === "top" || i === "bottom" || s === "left" || s === "right") && (a = i, i = s, s = a), n[0] = K9[i] || i, n[1] = K9[s] || s, n.join(" ");
|
|
33293
|
-
},
|
|
33314
|
+
}, ET = function(a, n) {
|
|
33294
33315
|
if (n.tween && n.tween._time === n.tween._dur) {
|
|
33295
33316
|
var i = n.t, s = i.style, o = n.u, c = i._gsap, d, u, h;
|
|
33296
33317
|
if (o === "all" || o === !0)
|
|
@@ -33303,7 +33324,7 @@ var $9, ur, jl, y9, Qo, W9, g9, NT = function() {
|
|
|
33303
33324
|
}, TN = {
|
|
33304
33325
|
clearProps: function(a, n, i, s, o) {
|
|
33305
33326
|
if (o.data !== "isFromStart") {
|
|
33306
|
-
var c = a._pt = new ya(a._pt, n, i, 0, 0,
|
|
33327
|
+
var c = a._pt = new ya(a._pt, n, i, 0, 0, ET);
|
|
33307
33328
|
return c.u = s, c.pr = -10, c.tween = o, a._props.push(i), 1;
|
|
33308
33329
|
}
|
|
33309
33330
|
}
|
|
@@ -33386,13 +33407,13 @@ var $9, ur, jl, y9, Qo, W9, g9, NT = function() {
|
|
|
33386
33407
|
if ("x" in i && !n && !i.uncache)
|
|
33387
33408
|
return i;
|
|
33388
33409
|
var s = a.style, o = i.scaleX < 0, c = "px", d = "deg", u = getComputedStyle(a), h = Cn(a, ga) || "0", m, y, g, p, f, k, v, x, N, C, b, L, I, S, w, M, P, D, T, _, z, j, O, F, J, X, Y, ae, oe, ee, re, B;
|
|
33389
|
-
return m = y = g = k = v = x = N = C = b = 0, p = f = 1, i.svg = !!(a.getCTM && dI(a)), u.translate && ((u.translate !== "none" || u.scale !== "none" || u.rotate !== "none") && (s[kt] = (u.translate !== "none" ? "translate3d(" + (u.translate + " 0 0").split(" ").slice(0, 3).join(", ") + ") " : "") + (u.rotate !== "none" ? "rotate(" + u.rotate + ") " : "") + (u.scale !== "none" ? "scale(" + u.scale.split(" ").join(",") + ") " : "") + (u[kt] !== "none" ? u[kt] : "")), s.scale = s.rotate = s.translate = "none"), S = k9(a, i.svg), i.svg && (i.uncache ? (J = a.getBBox(), h = i.xOrigin - J.x + "px " + (i.yOrigin - J.y) + "px", F = "") : F = !n && a.getAttribute("data-svg-origin"), BC(a, F || h, !!F || i.originIsAbsolute, i.smooth !== !1, S)), L = i.xOrigin || 0, I = i.yOrigin || 0, S !== Ec && (D = S[0], T = S[1], _ = S[2], z = S[3], m = j = S[4], y = O = S[5], S.length === 6 ? (p = Math.sqrt(D * D + T * T), f = Math.sqrt(z * z + _ * _), k = D || T ? yl(T, D) * Jo : 0, N = _ || z ? yl(_, z) * Jo + k : 0, N && (f *= Math.abs(Math.cos(N * Fl))), i.svg && (m -= L - (L * D + I * _), y -= I - (L * T + I * z))) : (B = S[6], ee = S[7], Y = S[8], ae = S[9], oe = S[10], re = S[11], m = S[12], y = S[13], g = S[14], w = yl(B, oe), v = w * Jo, w && (M = Math.cos(-w), P = Math.sin(-w), F = j * M + Y * P, J = O * M + ae * P, X = B * M + oe * P, Y = j * -P + Y * M, ae = O * -P + ae * M, oe = B * -P + oe * M, re = ee * -P + re * M, j = F, O = J, B = X), w = yl(-_, oe), x = w * Jo, w && (M = Math.cos(-w), P = Math.sin(-w), F = D * M - Y * P, J = T * M - ae * P, X = _ * M - oe * P, re = z * P + re * M, D = F, T = J, _ = X), w = yl(T, D), k = w * Jo, w && (M = Math.cos(w), P = Math.sin(w), F = D * M + T * P, J = j * M + O * P, T = T * M - D * P, O = O * M - j * P, D = F, j = J), v && Math.abs(v) + Math.abs(k) > 359.9 && (v = k = 0, x = 180 - x), p = Mt(Math.sqrt(D * D + T * T + _ * _)), f = Mt(Math.sqrt(O * O + B * B)), w = yl(j, O), N = Math.abs(w) > 2e-4 ? w * Jo : 0, b = re ? 1 / (re < 0 ? -re : re) : 0), i.svg && (F = a.getAttribute("transform"), i.forceCSS = a.setAttribute("transform", "") || !uI(Cn(a, kt)), F && a.setAttribute("transform", F))), Math.abs(N) > 90 && Math.abs(N) < 270 && (o ? (p *= -1, N += k <= 0 ? 180 : -180, k += k <= 0 ? 180 : -180) : (f *= -1, N += N <= 0 ? 180 : -180)), n = n || i.uncache, i.x = m - ((i.xPercent = m && (!n && i.xPercent || (Math.round(a.offsetWidth / 2) === Math.round(-m) ? -50 : 0))) ? a.offsetWidth * i.xPercent / 100 : 0) + c, i.y = y - ((i.yPercent = y && (!n && i.yPercent || (Math.round(a.offsetHeight / 2) === Math.round(-y) ? -50 : 0))) ? a.offsetHeight * i.yPercent / 100 : 0) + c, i.z = g + c, i.scaleX = Mt(p), i.scaleY = Mt(f), i.rotation = Mt(k) + d, i.rotationX = Mt(v) + d, i.rotationY = Mt(x) + d, i.skewX = N + d, i.skewY = C + d, i.transformPerspective = b + c, (i.zOrigin = parseFloat(h.split(" ")[2]) || !n && i.zOrigin || 0) && (s[ga] = RN(h)), i.xOffset = i.yOffset = 0, i.force3D = Fa.force3D, i.renderTransform = i.svg ?
|
|
33410
|
+
return m = y = g = k = v = x = N = C = b = 0, p = f = 1, i.svg = !!(a.getCTM && dI(a)), u.translate && ((u.translate !== "none" || u.scale !== "none" || u.rotate !== "none") && (s[kt] = (u.translate !== "none" ? "translate3d(" + (u.translate + " 0 0").split(" ").slice(0, 3).join(", ") + ") " : "") + (u.rotate !== "none" ? "rotate(" + u.rotate + ") " : "") + (u.scale !== "none" ? "scale(" + u.scale.split(" ").join(",") + ") " : "") + (u[kt] !== "none" ? u[kt] : "")), s.scale = s.rotate = s.translate = "none"), S = k9(a, i.svg), i.svg && (i.uncache ? (J = a.getBBox(), h = i.xOrigin - J.x + "px " + (i.yOrigin - J.y) + "px", F = "") : F = !n && a.getAttribute("data-svg-origin"), BC(a, F || h, !!F || i.originIsAbsolute, i.smooth !== !1, S)), L = i.xOrigin || 0, I = i.yOrigin || 0, S !== Ec && (D = S[0], T = S[1], _ = S[2], z = S[3], m = j = S[4], y = O = S[5], S.length === 6 ? (p = Math.sqrt(D * D + T * T), f = Math.sqrt(z * z + _ * _), k = D || T ? yl(T, D) * Jo : 0, N = _ || z ? yl(_, z) * Jo + k : 0, N && (f *= Math.abs(Math.cos(N * Fl))), i.svg && (m -= L - (L * D + I * _), y -= I - (L * T + I * z))) : (B = S[6], ee = S[7], Y = S[8], ae = S[9], oe = S[10], re = S[11], m = S[12], y = S[13], g = S[14], w = yl(B, oe), v = w * Jo, w && (M = Math.cos(-w), P = Math.sin(-w), F = j * M + Y * P, J = O * M + ae * P, X = B * M + oe * P, Y = j * -P + Y * M, ae = O * -P + ae * M, oe = B * -P + oe * M, re = ee * -P + re * M, j = F, O = J, B = X), w = yl(-_, oe), x = w * Jo, w && (M = Math.cos(-w), P = Math.sin(-w), F = D * M - Y * P, J = T * M - ae * P, X = _ * M - oe * P, re = z * P + re * M, D = F, T = J, _ = X), w = yl(T, D), k = w * Jo, w && (M = Math.cos(w), P = Math.sin(w), F = D * M + T * P, J = j * M + O * P, T = T * M - D * P, O = O * M - j * P, D = F, j = J), v && Math.abs(v) + Math.abs(k) > 359.9 && (v = k = 0, x = 180 - x), p = Mt(Math.sqrt(D * D + T * T + _ * _)), f = Mt(Math.sqrt(O * O + B * B)), w = yl(j, O), N = Math.abs(w) > 2e-4 ? w * Jo : 0, b = re ? 1 / (re < 0 ? -re : re) : 0), i.svg && (F = a.getAttribute("transform"), i.forceCSS = a.setAttribute("transform", "") || !uI(Cn(a, kt)), F && a.setAttribute("transform", F))), Math.abs(N) > 90 && Math.abs(N) < 270 && (o ? (p *= -1, N += k <= 0 ? 180 : -180, k += k <= 0 ? 180 : -180) : (f *= -1, N += N <= 0 ? 180 : -180)), n = n || i.uncache, i.x = m - ((i.xPercent = m && (!n && i.xPercent || (Math.round(a.offsetWidth / 2) === Math.round(-m) ? -50 : 0))) ? a.offsetWidth * i.xPercent / 100 : 0) + c, i.y = y - ((i.yPercent = y && (!n && i.yPercent || (Math.round(a.offsetHeight / 2) === Math.round(-y) ? -50 : 0))) ? a.offsetHeight * i.yPercent / 100 : 0) + c, i.z = g + c, i.scaleX = Mt(p), i.scaleY = Mt(f), i.rotation = Mt(k) + d, i.rotationX = Mt(v) + d, i.rotationY = Mt(x) + d, i.skewX = N + d, i.skewY = C + d, i.transformPerspective = b + c, (i.zOrigin = parseFloat(h.split(" ")[2]) || !n && i.zOrigin || 0) && (s[ga] = RN(h)), i.xOffset = i.yOffset = 0, i.force3D = Fa.force3D, i.renderTransform = i.svg ? GT : lI ? mI : VT, i.uncache = 0, i;
|
|
33390
33411
|
}, RN = function(a) {
|
|
33391
33412
|
return (a = a.split(" "))[0] + " " + a[1];
|
|
33392
33413
|
}, eC = function(a, n, i) {
|
|
33393
33414
|
var s = Ut(n);
|
|
33394
33415
|
return Mt(parseFloat(n) + parseFloat(Cr(a, "x", i + "px", s))) + s;
|
|
33395
|
-
},
|
|
33416
|
+
}, VT = function(a, n) {
|
|
33396
33417
|
n.z = "0px", n.rotationY = n.rotationX = "0deg", n.force3D = 0, mI(a, n);
|
|
33397
33418
|
}, _r = "0deg", Kl = "0px", zr = ") ", mI = function(a, n) {
|
|
33398
33419
|
var i = n || this, s = i.xPercent, o = i.yPercent, c = i.x, d = i.y, u = i.z, h = i.rotation, m = i.rotationY, y = i.rotationX, g = i.skewX, p = i.skewY, f = i.scaleX, k = i.scaleY, v = i.transformPerspective, x = i.force3D, N = i.target, C = i.zOrigin, b = "", L = x === "auto" && a && a !== 1 || x === !0;
|
|
@@ -33401,17 +33422,17 @@ var $9, ur, jl, y9, Qo, W9, g9, NT = function() {
|
|
|
33401
33422
|
I = parseFloat(y) * Fl, M = Math.cos(I), c = eC(N, c, S * M * -C), d = eC(N, d, -Math.sin(I) * -C), u = eC(N, u, w * M * -C + C);
|
|
33402
33423
|
}
|
|
33403
33424
|
v !== Kl && (b += "perspective(" + v + zr), (s || o) && (b += "translate(" + s + "%, " + o + "%) "), (L || c !== Kl || d !== Kl || u !== Kl) && (b += u !== Kl || L ? "translate3d(" + c + ", " + d + ", " + u + ") " : "translate(" + c + ", " + d + zr), h !== _r && (b += "rotate(" + h + zr), m !== _r && (b += "rotateY(" + m + zr), y !== _r && (b += "rotateX(" + y + zr), (g !== _r || p !== _r) && (b += "skew(" + g + ", " + p + zr), (f !== 1 || k !== 1) && (b += "scale(" + f + ", " + k + zr), N.style[kt] = b || "translate(0, 0)";
|
|
33404
|
-
},
|
|
33425
|
+
}, GT = function(a, n) {
|
|
33405
33426
|
var i = n || this, s = i.xPercent, o = i.yPercent, c = i.x, d = i.y, u = i.rotation, h = i.skewX, m = i.skewY, y = i.scaleX, g = i.scaleY, p = i.target, f = i.xOrigin, k = i.yOrigin, v = i.xOffset, x = i.yOffset, N = i.forceCSS, C = parseFloat(c), b = parseFloat(d), L, I, S, w, M;
|
|
33406
33427
|
u = parseFloat(u), h = parseFloat(h), m = parseFloat(m), m && (m = parseFloat(m), h += m, u += m), u || h ? (u *= Fl, h *= Fl, L = Math.cos(u) * y, I = Math.sin(u) * y, S = Math.sin(u - h) * -g, w = Math.cos(u - h) * g, h && (m *= Fl, M = Math.tan(h - m), M = Math.sqrt(1 + M * M), S *= M, w *= M, m && (M = Math.tan(m), M = Math.sqrt(1 + M * M), L *= M, I *= M)), L = Mt(L), I = Mt(I), S = Mt(S), w = Mt(w)) : (L = y, w = g, I = S = 0), (C && !~(c + "").indexOf("px") || b && !~(d + "").indexOf("px")) && (C = Cr(p, "x", c, "px"), b = Cr(p, "y", d, "px")), (f || k || v || x) && (C = Mt(C + f - (f * L + k * S) + v), b = Mt(b + k - (f * I + k * w) + x)), (s || o) && (M = p.getBBox(), C = Mt(C + s / 100 * M.width), b = Mt(b + o / 100 * M.height)), M = "matrix(" + L + "," + I + "," + S + "," + w + "," + C + "," + b + ")", p.setAttribute("transform", M), N && (p.style[kt] = M);
|
|
33407
|
-
},
|
|
33428
|
+
}, UT = function(a, n, i, s, o) {
|
|
33408
33429
|
var c = 360, d = Et(o), u = parseFloat(o) * (d && ~o.indexOf("rad") ? Jo : 1), h = u - s, m = s + h + "deg", y, g;
|
|
33409
|
-
return d && (y = o.split("_")[1], y === "short" && (h %= c, h !== h % (c / 2) && (h += h < 0 ? c : -c)), y === "cw" && h < 0 ? h = (h + c * Z9) % c - ~~(h / c) * c : y === "ccw" && h > 0 && (h = (h - c * Z9) % c - ~~(h / c) * c)), a._pt = g = new ya(a._pt, n, i, s, h,
|
|
33430
|
+
return d && (y = o.split("_")[1], y === "short" && (h %= c, h !== h % (c / 2) && (h += h < 0 ? c : -c)), y === "cw" && h < 0 ? h = (h + c * Z9) % c - ~~(h / c) * c : y === "ccw" && h > 0 && (h = (h - c * Z9) % c - ~~(h / c) * c)), a._pt = g = new ya(a._pt, n, i, s, h, IT), g.e = m, g.u = "deg", a._props.push(i), g;
|
|
33410
33431
|
}, eS = function(a, n) {
|
|
33411
33432
|
for (var i in n)
|
|
33412
33433
|
a[i] = n[i];
|
|
33413
33434
|
return a;
|
|
33414
|
-
},
|
|
33435
|
+
}, $T = function(a, n, i) {
|
|
33415
33436
|
var s = eS({}, i._gsap), o = "perspective,force3D,transformOrigin,svgOrigin", c = i.style, d, u, h, m, y, g, p, f;
|
|
33416
33437
|
s.svg ? (h = i.getAttribute("transform"), i.setAttribute("transform", ""), c[kt] = n, d = Vc(i, 1), hl(i, kt), i.setAttribute("transform", h)) : (h = getComputedStyle(i)[kt], c[kt] = n, d = Vc(i, 1), c[kt] = h);
|
|
33417
33438
|
for (u in En)
|
|
@@ -33453,13 +33474,13 @@ var pI = {
|
|
|
33453
33474
|
if (this.styles.save(k), b || (L = a._gsap, L.renderTransform && !n.parseTransform || Vc(a, n.parseTransform), I = n.smoothOrigin !== !1 && L.smooth, b = this._pt = new ya(this._pt, d, kt, 0, 1, L.renderTransform, L, 0, -1), b.dep = 1), k === "scale")
|
|
33454
33475
|
this._pt = new ya(this._pt, L, "scaleY", L.scaleY, (N ? ql(L.scaleY, N + y) : y) - L.scaleY || 0, jC), this._pt.u = 0, c.push("scaleY", k), k += "X";
|
|
33455
33476
|
else if (k === "transformOrigin") {
|
|
33456
|
-
w.push(ga, 0, d[ga]), m =
|
|
33477
|
+
w.push(ga, 0, d[ga]), m = HT(m), L.svg ? BC(a, m, 0, I, 0, this) : (x = parseFloat(m.split(" ")[2]) || 0, x !== L.zOrigin && mr(this, L, "zOrigin", L.zOrigin, x), mr(this, d, k, RN(h), RN(m)));
|
|
33457
33478
|
continue;
|
|
33458
33479
|
} else if (k === "svgOrigin") {
|
|
33459
33480
|
BC(a, m, 1, I, 0, this);
|
|
33460
33481
|
continue;
|
|
33461
33482
|
} else if (k in hI) {
|
|
33462
|
-
|
|
33483
|
+
UT(this, L, k, g, N ? ql(g, N + m) : m);
|
|
33463
33484
|
continue;
|
|
33464
33485
|
} else if (k === "smoothOrigin") {
|
|
33465
33486
|
mr(this, L, "smooth", L.smooth, m);
|
|
@@ -33468,14 +33489,14 @@ var pI = {
|
|
|
33468
33489
|
L[k] = m;
|
|
33469
33490
|
continue;
|
|
33470
33491
|
} else if (k === "transform") {
|
|
33471
|
-
|
|
33492
|
+
$T(this, m, a);
|
|
33472
33493
|
continue;
|
|
33473
33494
|
}
|
|
33474
33495
|
} else k in d || (k = Gl(k) || k);
|
|
33475
|
-
if (C || (y || y === 0) && (g || g === 0) && !
|
|
33476
|
-
v = (h + "").substr((g + "").length), y || (y = 0), x = Ut(m) || (k in Fa.units ? Fa.units[k] : v), v !== x && (g = Cr(a, k, h, x)), this._pt = new ya(this._pt, C ? L : d, k, g, (N ? ql(g, N + y) : y) - g, !C && (x === "px" || k === "zIndex") && n.autoRound !== !1 ?
|
|
33496
|
+
if (C || (y || y === 0) && (g || g === 0) && !LT.test(m) && k in d)
|
|
33497
|
+
v = (h + "").substr((g + "").length), y || (y = 0), x = Ut(m) || (k in Fa.units ? Fa.units[k] : v), v !== x && (g = Cr(a, k, h, x)), this._pt = new ya(this._pt, C ? L : d, k, g, (N ? ql(g, N + y) : y) - g, !C && (x === "px" || k === "zIndex") && n.autoRound !== !1 ? PT : jC), this._pt.u = x || 0, v !== x && x !== "%" && (this._pt.b = h, this._pt.r = AT);
|
|
33477
33498
|
else if (k in d)
|
|
33478
|
-
|
|
33499
|
+
BT.call(this, a, k, h, N ? N + m : m);
|
|
33479
33500
|
else if (k in a)
|
|
33480
33501
|
this.add(a, k, h || a[k], N ? N + m : m, s, o);
|
|
33481
33502
|
else if (k !== "parseTransform") {
|
|
@@ -33498,7 +33519,7 @@ var pI = {
|
|
|
33498
33519
|
aliases: bn,
|
|
33499
33520
|
getSetter: function(a, n, i) {
|
|
33500
33521
|
var s = bn[n];
|
|
33501
|
-
return s && s.indexOf(",") < 0 && (n = s), n in En && n !== ga && (a._gsap.x || _n(a, "x")) ? i && W9 === i ? n === "scale" ?
|
|
33522
|
+
return s && s.indexOf(",") < 0 && (n = s), n in En && n !== ga && (a._gsap.x || _n(a, "x")) ? i && W9 === i ? n === "scale" ? _T : DT : (W9 = i || {}) && (n === "scale" ? zT : qT) : a.style && !n9(a.style[n]) ? TT : ~n.indexOf("-") ? RT : m9(a, n);
|
|
33502
33523
|
},
|
|
33503
33524
|
core: {
|
|
33504
33525
|
_removeProperty: hl,
|
|
@@ -33527,7 +33548,7 @@ yI.core.Tween;
|
|
|
33527
33548
|
function v9(t) {
|
|
33528
33549
|
return PP[t] || or;
|
|
33529
33550
|
}
|
|
33530
|
-
function
|
|
33551
|
+
function WT({ advantages: t, title: a, description: n }) {
|
|
33531
33552
|
return /* @__PURE__ */ e("section", { className: "py-20 bg-gradient-to-b from-white to-gray-50", children: /* @__PURE__ */ r("div", { className: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8", children: [
|
|
33532
33553
|
/* @__PURE__ */ r("div", { className: "text-center", children: [
|
|
33533
33554
|
/* @__PURE__ */ e("h2", { className: "text-3xl font-bold text-gray-900 sm:text-4xl", children: a }),
|
|
@@ -33564,7 +33585,7 @@ function $T({ advantages: t, title: a, description: n }) {
|
|
|
33564
33585
|
}) })
|
|
33565
33586
|
] }) });
|
|
33566
33587
|
}
|
|
33567
|
-
function
|
|
33588
|
+
function ZT({
|
|
33568
33589
|
title: t = "Get in Touch",
|
|
33569
33590
|
description: a = "Have questions? We're here to help you start your journey",
|
|
33570
33591
|
nameLabel: n = "Full Name",
|
|
@@ -33661,7 +33682,7 @@ function WT({
|
|
|
33661
33682
|
] }) });
|
|
33662
33683
|
}
|
|
33663
33684
|
const gI = XC(void 0);
|
|
33664
|
-
function
|
|
33685
|
+
function YT({ children: t }) {
|
|
33665
33686
|
const [a, n] = A([]), [i, s] = A(!1), o = Re((m) => {
|
|
33666
33687
|
n((y) => y.find((p) => p.id === m.id) ? y.map(
|
|
33667
33688
|
(p) => p.id === m.id ? { ...p, quantity: p.quantity + 1 } : p
|
|
@@ -33699,7 +33720,7 @@ function fI() {
|
|
|
33699
33720
|
throw new Error("useCart must be used within a CartProvider");
|
|
33700
33721
|
return t;
|
|
33701
33722
|
}
|
|
33702
|
-
function
|
|
33723
|
+
function JT({ courses: t, title: a, description: n }) {
|
|
33703
33724
|
const { addItem: i } = fI();
|
|
33704
33725
|
return /* @__PURE__ */ e("section", { id: "courses", className: "py-20 bg-white", children: /* @__PURE__ */ r("div", { className: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8", children: [
|
|
33705
33726
|
/* @__PURE__ */ r("div", { className: "text-center", children: [
|
|
@@ -33753,7 +33774,7 @@ function YT({ courses: t, title: a, description: n }) {
|
|
|
33753
33774
|
)) })
|
|
33754
33775
|
] }) });
|
|
33755
33776
|
}
|
|
33756
|
-
function
|
|
33777
|
+
function XT({ destinations: t, title: a, description: n }) {
|
|
33757
33778
|
const [i, s] = A(0), [o, c] = A(!0), d = () => typeof window < "u" ? window.innerWidth < 640 ? 1 : window.innerWidth < 1024 ? 2 : 4 : 4, [u, h] = A(d());
|
|
33758
33779
|
se(() => {
|
|
33759
33780
|
const p = () => {
|
|
@@ -33838,14 +33859,14 @@ function JT({ destinations: t, title: a, description: n }) {
|
|
|
33838
33859
|
)) })
|
|
33839
33860
|
] }) });
|
|
33840
33861
|
}
|
|
33841
|
-
const
|
|
33862
|
+
const KT = [
|
|
33842
33863
|
{ label: "Destinations", href: "#destinations" },
|
|
33843
33864
|
{ label: "Courses", href: "#courses" },
|
|
33844
33865
|
{ label: "Services", href: "#services" }
|
|
33845
33866
|
];
|
|
33846
|
-
function
|
|
33867
|
+
function QT({
|
|
33847
33868
|
title: t = "GlobalEnglish",
|
|
33848
|
-
navItems: a =
|
|
33869
|
+
navItems: a = KT,
|
|
33849
33870
|
ctaLabel: n = "Contact Us",
|
|
33850
33871
|
ctaHref: i = "#contact",
|
|
33851
33872
|
brandIcon: s = /* @__PURE__ */ e(Ot, { className: "h-8 w-8 text-yellow-600" }),
|
|
@@ -33905,7 +33926,7 @@ function KT({
|
|
|
33905
33926
|
] }) })
|
|
33906
33927
|
] });
|
|
33907
33928
|
}
|
|
33908
|
-
function
|
|
33929
|
+
function eR({
|
|
33909
33930
|
title: t,
|
|
33910
33931
|
subtitle: a,
|
|
33911
33932
|
bg_img: n,
|
|
@@ -33950,7 +33971,7 @@ function QT({
|
|
|
33950
33971
|
] })
|
|
33951
33972
|
] });
|
|
33952
33973
|
}
|
|
33953
|
-
function
|
|
33974
|
+
function tR({
|
|
33954
33975
|
title: t,
|
|
33955
33976
|
description: a,
|
|
33956
33977
|
services: n
|
|
@@ -33980,7 +34001,7 @@ function eR({
|
|
|
33980
34001
|
}) })
|
|
33981
34002
|
] }) });
|
|
33982
34003
|
}
|
|
33983
|
-
function
|
|
34004
|
+
function aR({ testimonials: t, title: a, description: n }) {
|
|
33984
34005
|
return /* @__PURE__ */ e("section", { className: "py-20 bg-white", children: /* @__PURE__ */ r("div", { className: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8", children: [
|
|
33985
34006
|
/* @__PURE__ */ r("div", { className: "text-center", children: [
|
|
33986
34007
|
/* @__PURE__ */ e("h2", { className: "text-3xl font-bold text-gray-900 sm:text-4xl", children: a }),
|
|
@@ -34014,7 +34035,7 @@ function tR({ testimonials: t, title: a, description: n }) {
|
|
|
34014
34035
|
)) })
|
|
34015
34036
|
] }) });
|
|
34016
34037
|
}
|
|
34017
|
-
function
|
|
34038
|
+
function nR({ videos: t, title: a, description: n }) {
|
|
34018
34039
|
return /* @__PURE__ */ e("section", { className: "py-20 bg-gray-50", children: /* @__PURE__ */ r("div", { className: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8", children: [
|
|
34019
34040
|
/* @__PURE__ */ r("div", { className: "text-center", children: [
|
|
34020
34041
|
/* @__PURE__ */ e("h2", { className: "text-3xl font-bold text-gray-900 sm:text-4xl", children: a }),
|
|
@@ -34038,7 +34059,7 @@ function aR({ videos: t, title: a, description: n }) {
|
|
|
34038
34059
|
] }, s)) })
|
|
34039
34060
|
] }) });
|
|
34040
34061
|
}
|
|
34041
|
-
function
|
|
34062
|
+
function rR({ features: t, title: a, description: n }) {
|
|
34042
34063
|
return /* @__PURE__ */ e("section", { className: "py-20 bg-white", children: /* @__PURE__ */ r("div", { className: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8", children: [
|
|
34043
34064
|
/* @__PURE__ */ r("div", { className: "text-center mb-16", children: [
|
|
34044
34065
|
/* @__PURE__ */ e("h2", { className: "text-3xl font-bold text-gray-900 sm:text-4xl", children: a }),
|
|
@@ -34068,7 +34089,7 @@ function nR({ features: t, title: a, description: n }) {
|
|
|
34068
34089
|
)) })
|
|
34069
34090
|
] }) });
|
|
34070
34091
|
}
|
|
34071
|
-
function
|
|
34092
|
+
function iR({ faqs: t, title: a, description: n }) {
|
|
34072
34093
|
const [i, s] = A(null), o = (c) => {
|
|
34073
34094
|
s((d) => d === c ? null : c);
|
|
34074
34095
|
};
|
|
@@ -34099,7 +34120,7 @@ function rR({ faqs: t, title: a, description: n }) {
|
|
|
34099
34120
|
] }, d)) })
|
|
34100
34121
|
] }) });
|
|
34101
34122
|
}
|
|
34102
|
-
function
|
|
34123
|
+
function sR({ images: t, autoPlayInterval: a = 5e3 }) {
|
|
34103
34124
|
const [n, i] = A(0);
|
|
34104
34125
|
se(() => {
|
|
34105
34126
|
const d = setInterval(() => {
|
|
@@ -34160,16 +34181,16 @@ function iR({ images: t, autoPlayInterval: a = 5e3 }) {
|
|
|
34160
34181
|
)) })
|
|
34161
34182
|
] });
|
|
34162
34183
|
}
|
|
34163
|
-
function
|
|
34184
|
+
function oR({ images: t, title: a, description: n, autoPlayInterval: i = 5e3 }) {
|
|
34164
34185
|
return /* @__PURE__ */ e("section", { className: "py-20 bg-gray-50", children: /* @__PURE__ */ r("div", { className: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8", children: [
|
|
34165
34186
|
/* @__PURE__ */ r("div", { className: "text-center mb-12", children: [
|
|
34166
34187
|
/* @__PURE__ */ e("h2", { className: "text-3xl font-bold text-gray-900 sm:text-4xl", children: a }),
|
|
34167
34188
|
/* @__PURE__ */ e("p", { className: "mt-4 text-xl text-gray-600", children: n })
|
|
34168
34189
|
] }),
|
|
34169
|
-
/* @__PURE__ */ e(
|
|
34190
|
+
/* @__PURE__ */ e(sR, { images: t, autoPlayInterval: i })
|
|
34170
34191
|
] }) });
|
|
34171
34192
|
}
|
|
34172
|
-
function
|
|
34193
|
+
function lR({ initialMessages: t }) {
|
|
34173
34194
|
const [a, n] = A(!1), [i, s] = A(t), [o, c] = A(""), d = (u) => {
|
|
34174
34195
|
if (u.preventDefault(), !o.trim()) return;
|
|
34175
34196
|
const h = {
|
|
@@ -34252,7 +34273,7 @@ function oR({ initialMessages: t }) {
|
|
|
34252
34273
|
}
|
|
34253
34274
|
) });
|
|
34254
34275
|
}
|
|
34255
|
-
function
|
|
34276
|
+
function cR({
|
|
34256
34277
|
title: t = "Your Cart",
|
|
34257
34278
|
emptyMessage: a = "Your cart is empty",
|
|
34258
34279
|
totalLabel: n = "Total:",
|
|
@@ -34360,7 +34381,7 @@ function lR({
|
|
|
34360
34381
|
}
|
|
34361
34382
|
);
|
|
34362
34383
|
}
|
|
34363
|
-
function
|
|
34384
|
+
function dR({ services: t, title: a, description: n, showBtn: i = "Show", hideBtn: s = "Hide", featuresBtn: o = "Features" }) {
|
|
34364
34385
|
const [c, d] = A(null), u = (h) => {
|
|
34365
34386
|
d(c === h ? null : h);
|
|
34366
34387
|
};
|
|
@@ -34406,7 +34427,7 @@ function cR({ services: t, title: a, description: n, showBtn: i = "Show", hideBt
|
|
|
34406
34427
|
)) })
|
|
34407
34428
|
] }) });
|
|
34408
34429
|
}
|
|
34409
|
-
function
|
|
34430
|
+
function hR({
|
|
34410
34431
|
courses: t = [],
|
|
34411
34432
|
title: a = "Available Courses",
|
|
34412
34433
|
description: n = "Choose the best course for you.",
|
|
@@ -34477,7 +34498,7 @@ function dR({
|
|
|
34477
34498
|
)) })
|
|
34478
34499
|
] }) });
|
|
34479
34500
|
}
|
|
34480
|
-
const
|
|
34501
|
+
const uR = [
|
|
34481
34502
|
{
|
|
34482
34503
|
title: "Asistencia con el Visado",
|
|
34483
34504
|
shortDescription: "Orientación experta durante todo el proceso de solicitud de visado para tu experiencia de estudio en el extranjero.",
|
|
@@ -34556,7 +34577,7 @@ const hR = [
|
|
|
34556
34577
|
"Colocación en prácticas profesionales"
|
|
34557
34578
|
]
|
|
34558
34579
|
}
|
|
34559
|
-
],
|
|
34580
|
+
], mR = [
|
|
34560
34581
|
{
|
|
34561
34582
|
icon: "Plane",
|
|
34562
34583
|
title: "Visa Assistance",
|
|
@@ -34587,7 +34608,7 @@ const hR = [
|
|
|
34587
34608
|
title: "Job Opportunities",
|
|
34588
34609
|
description: "Access to job markets and career guidance."
|
|
34589
34610
|
}
|
|
34590
|
-
],
|
|
34611
|
+
], pR = [
|
|
34591
34612
|
{
|
|
34592
34613
|
title: "Learn in World-Class Facilities",
|
|
34593
34614
|
description: "Our modern campuses are equipped with state-of-the-art technology and comfortable learning spaces. Each classroom is designed to facilitate interactive learning with smart boards, multimedia equipment, and flexible seating arrangements. Students also have access to self-study areas, a library with extensive English learning resources, and comfortable student lounges.",
|
|
@@ -34606,7 +34627,7 @@ const hR = [
|
|
|
34606
34627
|
image: "https://images.unsplash.com/photo-1552581234-26160f608093?auto=format&fit=crop&q=80",
|
|
34607
34628
|
imageAlt: "Career counseling session"
|
|
34608
34629
|
}
|
|
34609
|
-
],
|
|
34630
|
+
], yR = [
|
|
34610
34631
|
{
|
|
34611
34632
|
icon: "Users",
|
|
34612
34633
|
title: "Small Class Sizes",
|
|
@@ -34637,7 +34658,7 @@ const hR = [
|
|
|
34637
34658
|
title: "Job Support",
|
|
34638
34659
|
description: "CV workshops and job placement assistance"
|
|
34639
34660
|
}
|
|
34640
|
-
],
|
|
34661
|
+
], gR = [
|
|
34641
34662
|
{
|
|
34642
34663
|
url: "https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&q=80",
|
|
34643
34664
|
alt: "Students studying together",
|
|
@@ -34663,7 +34684,7 @@ const hR = [
|
|
|
34663
34684
|
alt: "Student life",
|
|
34664
34685
|
caption: "Vibrant campus community"
|
|
34665
34686
|
}
|
|
34666
|
-
],
|
|
34687
|
+
], fR = [
|
|
34667
34688
|
{
|
|
34668
34689
|
name: "London, UK",
|
|
34669
34690
|
image: "https://images.unsplash.com/photo-1513635269975-59663e0ac1ad?auto=format&fit=crop&q=80",
|
|
@@ -34764,7 +34785,7 @@ const hR = [
|
|
|
34764
34785
|
image: "https://images.unsplash.com/photo-1494522855154-9297ac14b55f?auto=format&fit=crop&q=80",
|
|
34765
34786
|
description: "Experience American culture in the heart of the Midwest."
|
|
34766
34787
|
}
|
|
34767
|
-
],
|
|
34788
|
+
], kR = [
|
|
34768
34789
|
{
|
|
34769
34790
|
id: "1",
|
|
34770
34791
|
title: "Intensive English",
|
|
@@ -34801,7 +34822,7 @@ const hR = [
|
|
|
34801
34822
|
description: "Comprehensive preparation for IELTS exam.",
|
|
34802
34823
|
price: 1499
|
|
34803
34824
|
}
|
|
34804
|
-
],
|
|
34825
|
+
], vR = [
|
|
34805
34826
|
{
|
|
34806
34827
|
thumbnail: "https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&q=80",
|
|
34807
34828
|
title: "Campus Life in London",
|
|
@@ -34820,7 +34841,7 @@ const hR = [
|
|
|
34820
34841
|
duration: "4:15",
|
|
34821
34842
|
description: "Take a tour of our modern facilities and classrooms"
|
|
34822
34843
|
}
|
|
34823
|
-
],
|
|
34844
|
+
], xR = [
|
|
34824
34845
|
{
|
|
34825
34846
|
name: "Sarah Chen",
|
|
34826
34847
|
from: "Singapore",
|
|
@@ -34842,13 +34863,13 @@ const hR = [
|
|
|
34842
34863
|
text: "Studying in London through GlobalEnglish was a life-changing experience. The cultural immersion and quality of education exceeded my expectations.",
|
|
34843
34864
|
rating: 5
|
|
34844
34865
|
}
|
|
34845
|
-
],
|
|
34866
|
+
], bR = [
|
|
34846
34867
|
{
|
|
34847
34868
|
text: "👋 Hi! I'm here to help you with any questions about our English courses. How can I assist you today?",
|
|
34848
34869
|
isBot: !0,
|
|
34849
34870
|
timestamp: /* @__PURE__ */ new Date()
|
|
34850
34871
|
}
|
|
34851
|
-
],
|
|
34872
|
+
], wR = [
|
|
34852
34873
|
{
|
|
34853
34874
|
question: "What visa requirements are needed to study English abroad?",
|
|
34854
34875
|
answer: "Requirements vary by destination. Generally, you'll need: a valid passport, proof of enrollment in an accredited language school, proof of sufficient funds (usually 3-6 months of living expenses), and health insurance. We provide comprehensive visa assistance to ensure a smooth application process."
|
|
@@ -34869,7 +34890,7 @@ const hR = [
|
|
|
34869
34890
|
question: "What level of English do I need to start?",
|
|
34870
34891
|
answer: "We accept students at all levels, from complete beginners to advanced speakers. Before starting, you'll take a placement test to ensure you're placed in the appropriate level. Our courses follow the Common European Framework of Reference (CEFR) from A1 to C2 levels."
|
|
34871
34892
|
}
|
|
34872
|
-
],
|
|
34893
|
+
], MR = [
|
|
34873
34894
|
{
|
|
34874
34895
|
title: "General English",
|
|
34875
34896
|
rating: 9.5,
|
|
@@ -34933,10 +34954,10 @@ const hR = [
|
|
|
34933
34954
|
{ opacity: 1, y: 0, duration: 1, stagger: 0.2 }
|
|
34934
34955
|
);
|
|
34935
34956
|
}, []), /* @__PURE__ */ r("div", { className: "relative min-h-screen flex flex-col bg-gray-50", children: [
|
|
34936
|
-
/* @__PURE__ */ e(
|
|
34937
|
-
/* @__PURE__ */ e(
|
|
34957
|
+
/* @__PURE__ */ e(YT, { children: /* @__PURE__ */ r("div", { className: "min-h-screen bg-white", children: [
|
|
34958
|
+
/* @__PURE__ */ e(QT, {}),
|
|
34938
34959
|
/* @__PURE__ */ e(
|
|
34939
|
-
|
|
34960
|
+
eR,
|
|
34940
34961
|
{
|
|
34941
34962
|
title: "Estudia inglés en Malta: Vive, Aprende trabaja y Crece",
|
|
34942
34963
|
subtitle: "Tu aventura comienza aquí: Te ayudamos con visado, viaje, estadía, trabajo y más para que aprendas inglés en Malta.",
|
|
@@ -34947,20 +34968,20 @@ const hR = [
|
|
|
34947
34968
|
secondary_btn_link: "#destinations"
|
|
34948
34969
|
}
|
|
34949
34970
|
),
|
|
34950
|
-
/* @__PURE__ */ e(
|
|
34951
|
-
/* @__PURE__ */ e(
|
|
34952
|
-
/* @__PURE__ */ e(
|
|
34953
|
-
/* @__PURE__ */ e(
|
|
34954
|
-
/* @__PURE__ */ e(
|
|
34955
|
-
/* @__PURE__ */ e(
|
|
34956
|
-
/* @__PURE__ */ e(
|
|
34957
|
-
/* @__PURE__ */ e(
|
|
34958
|
-
/* @__PURE__ */ e(
|
|
34959
|
-
/* @__PURE__ */ e(
|
|
34960
|
-
/* @__PURE__ */ e(
|
|
34961
|
-
/* @__PURE__ */ e(
|
|
34962
|
-
/* @__PURE__ */ e(
|
|
34963
|
-
/* @__PURE__ */ e(
|
|
34971
|
+
/* @__PURE__ */ e(tR, { services: mR, title: "Nuestro Servicios", description: "Todo lo que necesitas para aprender inglés en el menor tiempo y al mejor costo" }),
|
|
34972
|
+
/* @__PURE__ */ e(dR, { services: uR, title: "Why Choose GlobalEnglish?", description: "Discover what sets us apart from other language schools" }),
|
|
34973
|
+
/* @__PURE__ */ e(WT, { advantages: yR, title: "Why Choose GlobalEnglish?", description: "Discover what sets us apart from other language schools" }),
|
|
34974
|
+
/* @__PURE__ */ e(rR, { features: pR, title: "Titulo", description: "description" }),
|
|
34975
|
+
/* @__PURE__ */ e(hR, { courses: MR, title: "Test", description: "test" }),
|
|
34976
|
+
/* @__PURE__ */ e(oR, { images: gR, autoPlayInterval: 5e3, title: "Campus Life Gallery", description: "Take a visual tour of our facilities and student activities" }),
|
|
34977
|
+
/* @__PURE__ */ e(XT, { destinations: fR, title: "Popular Destinations", description: "Choose from our carefully selected locations worldwide" }),
|
|
34978
|
+
/* @__PURE__ */ e(JT, { courses: kR, title: "Our Courses", description: "Find the perfect course to match your goals" }),
|
|
34979
|
+
/* @__PURE__ */ e(nR, { videos: vR, title: "Our Courses", description: "Find the perfect course to match your goals" }),
|
|
34980
|
+
/* @__PURE__ */ e(aR, { testimonials: xR, title: "Our Courses", description: "Find the perfect course to match your goals" }),
|
|
34981
|
+
/* @__PURE__ */ e(iR, { faqs: wR, title: "Our Courses", description: "Find the perfect course to match your goals" }),
|
|
34982
|
+
/* @__PURE__ */ e(ZT, {}),
|
|
34983
|
+
/* @__PURE__ */ e(lR, { initialMessages: bR }),
|
|
34984
|
+
/* @__PURE__ */ e(cR, {})
|
|
34964
34985
|
] }) }),
|
|
34965
34986
|
/* @__PURE__ */ e("footer", { className: "bg-gray-800 text-white py-8", children: /* @__PURE__ */ r("div", { className: "max-w-7xl mx-auto text-center space-y-4", children: [
|
|
34966
34987
|
/* @__PURE__ */ e("p", { className: "text-sm", children: "© 2024 Learn English. All Rights Reserved." }),
|
|
@@ -35083,7 +35104,7 @@ function LH({
|
|
|
35083
35104
|
] }) : /* @__PURE__ */ e("div", { className: "text-center py-8", children: /* @__PURE__ */ e("p", { className: "text-gray-500", children: "No featured jobs available at the moment." }) })
|
|
35084
35105
|
] }) });
|
|
35085
35106
|
}
|
|
35086
|
-
function
|
|
35107
|
+
function NR({
|
|
35087
35108
|
title: t,
|
|
35088
35109
|
description: a,
|
|
35089
35110
|
primaryButtonText: n,
|
|
@@ -35115,7 +35136,7 @@ function MR({
|
|
|
35115
35136
|
] })
|
|
35116
35137
|
] }) }) });
|
|
35117
35138
|
}
|
|
35118
|
-
function
|
|
35139
|
+
function CR({
|
|
35119
35140
|
title: t,
|
|
35120
35141
|
subtitle: a,
|
|
35121
35142
|
backgroundImage: n = "/placeholder.svg?height=800&width=1600",
|
|
@@ -35175,7 +35196,7 @@ function NR({
|
|
|
35175
35196
|
] })
|
|
35176
35197
|
] }) }) }) });
|
|
35177
35198
|
}
|
|
35178
|
-
function
|
|
35199
|
+
function SR({ title: t, values: a }) {
|
|
35179
35200
|
return /* @__PURE__ */ e("section", { className: "py-16 bg-white", children: /* @__PURE__ */ r("div", { className: "container mx-auto px-4", children: [
|
|
35180
35201
|
/* @__PURE__ */ e("h2", { className: "text-3xl font-bold text-center mb-12", children: t }),
|
|
35181
35202
|
/* @__PURE__ */ e("div", { className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8", children: a.map((n, i) => {
|
|
@@ -35188,7 +35209,7 @@ function CR({ title: t, values: a }) {
|
|
|
35188
35209
|
}) })
|
|
35189
35210
|
] }) });
|
|
35190
35211
|
}
|
|
35191
|
-
function
|
|
35212
|
+
function LR({ title: t, testimonial: a, stats: n, partnerLogos: i }) {
|
|
35192
35213
|
const [s, o] = A(0), c = [
|
|
35193
35214
|
{
|
|
35194
35215
|
id: 1,
|
|
@@ -35321,8 +35342,8 @@ function SR({ title: t, testimonial: a, stats: n, partnerLogos: i }) {
|
|
|
35321
35342
|
] })
|
|
35322
35343
|
] }) });
|
|
35323
35344
|
}
|
|
35324
|
-
const
|
|
35325
|
-
function
|
|
35345
|
+
const IR = (t) => /.+@.+\..+/.test(t);
|
|
35346
|
+
function AR({
|
|
35326
35347
|
title: t,
|
|
35327
35348
|
description: a,
|
|
35328
35349
|
inputPlaceholder: n,
|
|
@@ -35384,7 +35405,7 @@ function IR({
|
|
|
35384
35405
|
} catch {
|
|
35385
35406
|
}
|
|
35386
35407
|
}, w = async () => {
|
|
35387
|
-
if (
|
|
35408
|
+
if (IR(f)) {
|
|
35388
35409
|
C(!0);
|
|
35389
35410
|
try {
|
|
35390
35411
|
if (d) {
|
|
@@ -35453,7 +35474,7 @@ function IR({
|
|
|
35453
35474
|
)
|
|
35454
35475
|
] }) }) });
|
|
35455
35476
|
}
|
|
35456
|
-
function
|
|
35477
|
+
function PR({
|
|
35457
35478
|
title: t,
|
|
35458
35479
|
locations: a,
|
|
35459
35480
|
trendingKeywords: n,
|
|
@@ -35612,7 +35633,7 @@ const Lr = ue.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e(
|
|
|
35612
35633
|
}
|
|
35613
35634
|
));
|
|
35614
35635
|
Lr.displayName = Ul.Fallback.displayName;
|
|
35615
|
-
function
|
|
35636
|
+
function TR(t) {
|
|
35616
35637
|
if (typeof document > "u") return;
|
|
35617
35638
|
let a = document.head || document.getElementsByTagName("head")[0], n = document.createElement("style");
|
|
35618
35639
|
n.type = "text/css", a.appendChild(n), n.styleSheet ? n.styleSheet.cssText = t : n.appendChild(document.createTextNode(t));
|
|
@@ -35667,31 +35688,31 @@ const kI = W.createContext({
|
|
|
35667
35688
|
throw new Error("useDrawerContext must be used within a Drawer.Root");
|
|
35668
35689
|
return t;
|
|
35669
35690
|
};
|
|
35670
|
-
|
|
35691
|
+
TR(`[data-vaul-drawer]{touch-action:none;will-change:transform;transition:transform .5s cubic-bezier(.32, .72, 0, 1);animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=open]{animation-name:slideFromBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=closed]{animation-name:slideToBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=open]{animation-name:slideFromTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=closed]{animation-name:slideToTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=open]{animation-name:slideFromLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=closed]{animation-name:slideToLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=open]{animation-name:slideFromRight}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=closed]{animation-name:slideToRight}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,100%,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,-100%,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(-100%,0,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(100%,0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-overlay][data-vaul-snap-points=false]{animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-overlay][data-vaul-snap-points=false][data-state=open]{animation-name:fadeIn}[data-vaul-overlay][data-state=closed]{animation-name:fadeOut}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:0;transition:opacity .5s cubic-bezier(.32, .72, 0, 1)}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:1}[data-vaul-drawer]:not([data-vaul-custom-container=true])::after{content:'';position:absolute;background:inherit;background-color:inherit}[data-vaul-drawer][data-vaul-drawer-direction=top]::after{top:initial;bottom:100%;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=bottom]::after{top:100%;bottom:initial;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=left]::after{left:initial;right:100%;top:0;bottom:0;width:200%}[data-vaul-drawer][data-vaul-drawer-direction=right]::after{left:100%;right:initial;top:0;bottom:0;width:200%}[data-vaul-overlay][data-vaul-snap-points=true]:not([data-vaul-snap-points-overlay=true]):not(
|
|
35671
35692
|
[data-state=closed]
|
|
35672
35693
|
){opacity:0}[data-vaul-overlay][data-vaul-snap-points-overlay=true]{opacity:1}[data-vaul-handle]{display:block;position:relative;opacity:.7;background:#e2e2e4;margin-left:auto;margin-right:auto;height:5px;width:32px;border-radius:1rem;touch-action:pan-y}[data-vaul-handle]:active,[data-vaul-handle]:hover{opacity:1}[data-vaul-handle-hitarea]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,2.75rem);height:max(100%,2.75rem);touch-action:inherit}@media (hover:hover) and (pointer:fine){[data-vaul-drawer]{user-select:none}}@media (pointer:fine){[data-vaul-handle-hitarea]:{width:100%;height:100%}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeOut{to{opacity:0}}@keyframes slideFromBottom{from{transform:translate3d(0,100%,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToBottom{to{transform:translate3d(0,100%,0)}}@keyframes slideFromTop{from{transform:translate3d(0,-100%,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToTop{to{transform:translate3d(0,-100%,0)}}@keyframes slideFromLeft{from{transform:translate3d(-100%,0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToLeft{to{transform:translate3d(-100%,0,0)}}@keyframes slideFromRight{from{transform:translate3d(100%,0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToRight{to{transform:translate3d(100%,0,0)}}`);
|
|
35673
|
-
const
|
|
35694
|
+
const RR = 24, DR = typeof window < "u" ? HA : se;
|
|
35674
35695
|
function tS(...t) {
|
|
35675
35696
|
return (...a) => {
|
|
35676
35697
|
for (let n of t)
|
|
35677
35698
|
typeof n == "function" && n(...a);
|
|
35678
35699
|
};
|
|
35679
35700
|
}
|
|
35680
|
-
function
|
|
35701
|
+
function _R() {
|
|
35681
35702
|
return x9(/^Mac/);
|
|
35682
35703
|
}
|
|
35683
|
-
function
|
|
35704
|
+
function zR() {
|
|
35684
35705
|
return x9(/^iPhone/);
|
|
35685
35706
|
}
|
|
35686
35707
|
function aS() {
|
|
35687
35708
|
return /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
|
|
35688
35709
|
}
|
|
35689
|
-
function
|
|
35710
|
+
function qR() {
|
|
35690
35711
|
return x9(/^iPad/) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
|
|
35691
|
-
|
|
35712
|
+
_R() && navigator.maxTouchPoints > 1;
|
|
35692
35713
|
}
|
|
35693
35714
|
function vI() {
|
|
35694
|
-
return
|
|
35715
|
+
return zR() || qR();
|
|
35695
35716
|
}
|
|
35696
35717
|
function x9(t) {
|
|
35697
35718
|
return typeof window < "u" && window.navigator != null ? t.test(window.navigator.platform) : void 0;
|
|
@@ -35706,7 +35727,7 @@ function xI(t) {
|
|
|
35706
35727
|
t = t.parentElement;
|
|
35707
35728
|
return t || document.scrollingElement || document.documentElement;
|
|
35708
35729
|
}
|
|
35709
|
-
const
|
|
35730
|
+
const jR = /* @__PURE__ */ new Set([
|
|
35710
35731
|
"checkbox",
|
|
35711
35732
|
"radio",
|
|
35712
35733
|
"range",
|
|
@@ -35718,18 +35739,18 @@ const qR = /* @__PURE__ */ new Set([
|
|
|
35718
35739
|
"reset"
|
|
35719
35740
|
]);
|
|
35720
35741
|
let Qc = 0, aC;
|
|
35721
|
-
function
|
|
35742
|
+
function FR(t = {}) {
|
|
35722
35743
|
let { isDisabled: a } = t;
|
|
35723
|
-
|
|
35744
|
+
DR(() => {
|
|
35724
35745
|
if (!a)
|
|
35725
|
-
return Qc++, Qc === 1 && vI() && (aC =
|
|
35746
|
+
return Qc++, Qc === 1 && vI() && (aC = OR()), () => {
|
|
35726
35747
|
Qc--, Qc === 0 && (aC == null || aC());
|
|
35727
35748
|
};
|
|
35728
35749
|
}, [
|
|
35729
35750
|
a
|
|
35730
35751
|
]);
|
|
35731
35752
|
}
|
|
35732
|
-
function
|
|
35753
|
+
function OR() {
|
|
35733
35754
|
let t, a = 0, n = (y) => {
|
|
35734
35755
|
t = xI(y.target), !(t === document.documentElement && t === document.body) && (a = y.changedTouches[0].pageY);
|
|
35735
35756
|
}, i = (y) => {
|
|
@@ -35755,7 +35776,7 @@ function FR() {
|
|
|
35755
35776
|
}));
|
|
35756
35777
|
}, c = () => {
|
|
35757
35778
|
window.scrollTo(0, 0);
|
|
35758
|
-
}, d = window.pageXOffset, u = window.pageYOffset, h = tS(
|
|
35779
|
+
}, d = window.pageXOffset, u = window.pageYOffset, h = tS(BR(document.documentElement, "paddingRight", `${window.innerWidth - document.documentElement.clientWidth}px`));
|
|
35759
35780
|
window.scrollTo(0, 0);
|
|
35760
35781
|
let m = tS(Ql(document, "touchstart", n, {
|
|
35761
35782
|
passive: !1,
|
|
@@ -35771,7 +35792,7 @@ function FR() {
|
|
|
35771
35792
|
h(), m(), window.scrollTo(d, u);
|
|
35772
35793
|
};
|
|
35773
35794
|
}
|
|
35774
|
-
function
|
|
35795
|
+
function BR(t, a, n) {
|
|
35775
35796
|
let i = t.style[a];
|
|
35776
35797
|
return t.style[a] = n, () => {
|
|
35777
35798
|
t.style[a] = i;
|
|
@@ -35788,23 +35809,23 @@ function rS(t) {
|
|
|
35788
35809
|
let n = xI(t);
|
|
35789
35810
|
if (n !== document.documentElement && n !== document.body && n !== t) {
|
|
35790
35811
|
let i = n.getBoundingClientRect().top, s = t.getBoundingClientRect().top, o = t.getBoundingClientRect().bottom;
|
|
35791
|
-
const c = n.getBoundingClientRect().bottom +
|
|
35812
|
+
const c = n.getBoundingClientRect().bottom + RR;
|
|
35792
35813
|
o > c && (n.scrollTop += s - i);
|
|
35793
35814
|
}
|
|
35794
35815
|
t = n.parentElement;
|
|
35795
35816
|
}
|
|
35796
35817
|
}
|
|
35797
35818
|
function HC(t) {
|
|
35798
|
-
return t instanceof HTMLInputElement && !
|
|
35819
|
+
return t instanceof HTMLInputElement && !jR.has(t.type) || t instanceof HTMLTextAreaElement || t instanceof HTMLElement && t.isContentEditable;
|
|
35799
35820
|
}
|
|
35800
|
-
function
|
|
35821
|
+
function HR(t, a) {
|
|
35801
35822
|
typeof t == "function" ? t(a) : t != null && (t.current = a);
|
|
35802
35823
|
}
|
|
35803
|
-
function
|
|
35804
|
-
return (a) => t.forEach((n) =>
|
|
35824
|
+
function ER(...t) {
|
|
35825
|
+
return (a) => t.forEach((n) => HR(n, a));
|
|
35805
35826
|
}
|
|
35806
35827
|
function bI(...t) {
|
|
35807
|
-
return ue.useCallback(
|
|
35828
|
+
return ue.useCallback(ER(...t), t);
|
|
35808
35829
|
}
|
|
35809
35830
|
const wI = /* @__PURE__ */ new WeakMap();
|
|
35810
35831
|
function zt(t, a, n = !1) {
|
|
@@ -35818,7 +35839,7 @@ function zt(t, a, n = !1) {
|
|
|
35818
35839
|
i[s] = t.style[s], t.style[s] = o;
|
|
35819
35840
|
}), !n && wI.set(t, i);
|
|
35820
35841
|
}
|
|
35821
|
-
function
|
|
35842
|
+
function VR(t, a) {
|
|
35822
35843
|
if (!t || !(t instanceof HTMLElement)) return;
|
|
35823
35844
|
let n = wI.get(t);
|
|
35824
35845
|
n && (t.style[a] = n[a]);
|
|
@@ -35845,7 +35866,7 @@ function ed(t, a) {
|
|
|
35845
35866
|
let s = i.match(/^matrix3d\((.+)\)$/);
|
|
35846
35867
|
return s ? parseFloat(s[1].split(", ")[qt(a) ? 13 : 12]) : (s = i.match(/^matrix\((.+)\)$/), s ? parseFloat(s[1].split(", ")[qt(a) ? 5 : 4]) : null);
|
|
35847
35868
|
}
|
|
35848
|
-
function
|
|
35869
|
+
function GR(t) {
|
|
35849
35870
|
return 8 * (Math.log(t + 1) - 2);
|
|
35850
35871
|
}
|
|
35851
35872
|
function nC(t, a) {
|
|
@@ -35856,7 +35877,7 @@ function nC(t, a) {
|
|
|
35856
35877
|
t.style.cssText = n;
|
|
35857
35878
|
};
|
|
35858
35879
|
}
|
|
35859
|
-
function
|
|
35880
|
+
function UR(...t) {
|
|
35860
35881
|
return (...a) => {
|
|
35861
35882
|
for (const n of t)
|
|
35862
35883
|
typeof n == "function" && n(...a);
|
|
@@ -35870,14 +35891,14 @@ const gt = {
|
|
|
35870
35891
|
0,
|
|
35871
35892
|
1
|
|
35872
35893
|
]
|
|
35873
|
-
}, MI = 0.4,
|
|
35894
|
+
}, MI = 0.4, $R = 0.25, WR = 100, NI = 8, qr = 16, EC = 26, rC = "vaul-dragging";
|
|
35874
35895
|
function CI(t) {
|
|
35875
35896
|
const a = W.useRef(t);
|
|
35876
35897
|
return W.useEffect(() => {
|
|
35877
35898
|
a.current = t;
|
|
35878
35899
|
}), W.useMemo(() => (...n) => a.current == null ? void 0 : a.current.call(a, ...n), []);
|
|
35879
35900
|
}
|
|
35880
|
-
function
|
|
35901
|
+
function ZR({ defaultProp: t, onChange: a }) {
|
|
35881
35902
|
const n = W.useState(t), [i] = n, s = W.useRef(i), o = CI(a);
|
|
35882
35903
|
return W.useEffect(() => {
|
|
35883
35904
|
s.current !== i && (o(i), s.current = i);
|
|
@@ -35889,7 +35910,7 @@ function WR({ defaultProp: t, onChange: a }) {
|
|
|
35889
35910
|
}
|
|
35890
35911
|
function SI({ prop: t, defaultProp: a, onChange: n = () => {
|
|
35891
35912
|
} }) {
|
|
35892
|
-
const [i, s] =
|
|
35913
|
+
const [i, s] = ZR({
|
|
35893
35914
|
defaultProp: a,
|
|
35894
35915
|
onChange: n
|
|
35895
35916
|
}), o = t !== void 0, c = o ? t : i, d = CI(n), u = W.useCallback((h) => {
|
|
@@ -35909,7 +35930,7 @@ function SI({ prop: t, defaultProp: a, onChange: n = () => {
|
|
|
35909
35930
|
u
|
|
35910
35931
|
];
|
|
35911
35932
|
}
|
|
35912
|
-
function
|
|
35933
|
+
function YR({ activeSnapPointProp: t, setActiveSnapPointProp: a, snapPoints: n, drawerRef: i, overlayRef: s, fadeFromIndex: o, onSnapPointChange: c, direction: d = "bottom", container: u, snapToSequentialPoint: h }) {
|
|
35913
35934
|
const [m, y] = SI({
|
|
35914
35935
|
prop: t,
|
|
35915
35936
|
defaultProp: n == null ? void 0 : n[0],
|
|
@@ -36051,9 +36072,9 @@ function ZR({ activeSnapPointProp: t, setActiveSnapPointProp: a, snapPoints: n,
|
|
|
36051
36072
|
snapPointsOffset: x
|
|
36052
36073
|
};
|
|
36053
36074
|
}
|
|
36054
|
-
const
|
|
36075
|
+
const JR = () => () => {
|
|
36055
36076
|
};
|
|
36056
|
-
function
|
|
36077
|
+
function XR() {
|
|
36057
36078
|
const { direction: t, isOpen: a, shouldScaleBackground: n, setBackgroundColorOnScale: i, noBodyStyles: s } = Wl(), o = W.useRef(null), c = le(() => document.body.style.backgroundColor, []);
|
|
36058
36079
|
function d() {
|
|
36059
36080
|
return (window.innerWidth - EC) / window.innerWidth;
|
|
@@ -36063,9 +36084,9 @@ function JR() {
|
|
|
36063
36084
|
o.current && clearTimeout(o.current);
|
|
36064
36085
|
const u = document.querySelector("[data-vaul-drawer-wrapper]") || document.querySelector("[vaul-drawer-wrapper]");
|
|
36065
36086
|
if (!u) return;
|
|
36066
|
-
|
|
36087
|
+
UR(i && !s ? nC(document.body, {
|
|
36067
36088
|
background: "black"
|
|
36068
|
-
}) :
|
|
36089
|
+
}) : JR, nC(u, {
|
|
36069
36090
|
transformOrigin: qt(t) ? "top" : "left",
|
|
36070
36091
|
transitionProperty: "transform, border-radius",
|
|
36071
36092
|
transitionDuration: `${gt.DURATION}s`,
|
|
@@ -36093,7 +36114,7 @@ function JR() {
|
|
|
36093
36114
|
]);
|
|
36094
36115
|
}
|
|
36095
36116
|
let ec = null;
|
|
36096
|
-
function
|
|
36117
|
+
function KR({ isOpen: t, modal: a, nested: n, hasBeenOpened: i, preventScrollRestoration: s, noBodyStyles: o }) {
|
|
36097
36118
|
const [c, d] = W.useState(() => typeof window < "u" ? window.location.href : ""), u = W.useRef(0), h = W.useCallback(() => {
|
|
36098
36119
|
if (aS() && ec === null && t && !o) {
|
|
36099
36120
|
ec = {
|
|
@@ -36153,7 +36174,7 @@ function XR({ isOpen: t, modal: a, nested: n, hasBeenOpened: i, preventScrollRes
|
|
|
36153
36174
|
restorePositionSetting: m
|
|
36154
36175
|
};
|
|
36155
36176
|
}
|
|
36156
|
-
function LI({ open: t, onOpenChange: a, children: n, onDrag: i, onRelease: s, snapPoints: o, shouldScaleBackground: c = !1, setBackgroundColorOnScale: d = !0, closeThreshold: u =
|
|
36177
|
+
function LI({ open: t, onOpenChange: a, children: n, onDrag: i, onRelease: s, snapPoints: o, shouldScaleBackground: c = !1, setBackgroundColorOnScale: d = !0, closeThreshold: u = $R, scrollLockTimeout: h = WR, dismissible: m = !0, handleOnly: y = !1, fadeFromIndex: g = o && o.length - 1, activeSnapPoint: p, setActiveSnapPoint: f, fixed: k, modal: v = !0, onClose: x, nested: N, noBodyStyles: C, direction: b = "bottom", defaultOpen: L = !1, disablePreventScroll: I = !0, snapToSequentialPoint: S = !1, preventScrollRestoration: w = !1, repositionInputs: M = !0, onAnimationEnd: P, container: D, autoFocus: T = !1 }) {
|
|
36157
36178
|
var _, z;
|
|
36158
36179
|
const [j = !1, O] = SI({
|
|
36159
36180
|
defaultProp: L,
|
|
@@ -36167,7 +36188,7 @@ function LI({ open: t, onOpenChange: a, children: n, onDrag: i, onRelease: s, sn
|
|
|
36167
36188
|
}
|
|
36168
36189
|
}), [F, J] = W.useState(!1), [X, Y] = W.useState(!1), [ae, oe] = W.useState(!1), ee = W.useRef(null), re = W.useRef(null), B = W.useRef(null), te = W.useRef(null), he = W.useRef(null), ne = W.useRef(!1), q = W.useRef(null), $ = W.useRef(0), V = W.useRef(!1), me = W.useRef(0), U = W.useRef(null), we = W.useRef(((_ = U.current) == null ? void 0 : _.getBoundingClientRect().height) || 0), Se = W.useRef(((z = U.current) == null ? void 0 : z.getBoundingClientRect().width) || 0), vt = W.useRef(0), Kn = W.useCallback((be) => {
|
|
36169
36190
|
o && be === At.length - 1 && (re.current = /* @__PURE__ */ new Date());
|
|
36170
|
-
}, []), { activeSnapPoint: ba, activeSnapPointIndex: ia, setActiveSnapPoint: pt, onRelease: Xt, snapPointsOffset: At, onDrag: sa, shouldFade: wa, getPercentageDragged: Dr } =
|
|
36191
|
+
}, []), { activeSnapPoint: ba, activeSnapPointIndex: ia, setActiveSnapPoint: pt, onRelease: Xt, snapPointsOffset: At, onDrag: sa, shouldFade: wa, getPercentageDragged: Dr } = YR({
|
|
36171
36192
|
snapPoints: o,
|
|
36172
36193
|
activeSnapPointProp: p,
|
|
36173
36194
|
setActiveSnapPointProp: f,
|
|
@@ -36179,10 +36200,10 @@ function LI({ open: t, onOpenChange: a, children: n, onDrag: i, onRelease: s, sn
|
|
|
36179
36200
|
container: D,
|
|
36180
36201
|
snapToSequentialPoint: S
|
|
36181
36202
|
});
|
|
36182
|
-
|
|
36203
|
+
FR({
|
|
36183
36204
|
isDisabled: !j || X || !v || ae || !F || !M || !I
|
|
36184
36205
|
});
|
|
36185
|
-
const { restorePositionSetting: Dt } =
|
|
36206
|
+
const { restorePositionSetting: Dt } = KR({
|
|
36186
36207
|
isOpen: j,
|
|
36187
36208
|
modal: v,
|
|
36188
36209
|
nested: N,
|
|
@@ -36241,7 +36262,7 @@ function LI({ open: t, onOpenChange: a, children: n, onDrag: i, onRelease: s, sn
|
|
|
36241
36262
|
}), o && sa({
|
|
36242
36263
|
draggedDistance: je
|
|
36243
36264
|
}), Be && !o) {
|
|
36244
|
-
const Me =
|
|
36265
|
+
const Me = GR(je), Fe = Math.min(Me * -1, 0) * _e;
|
|
36245
36266
|
zt(U.current, {
|
|
36246
36267
|
transform: qt(b) ? `translate3d(0, ${Fe}px, 0)` : `translate3d(${Fe}px, 0, 0)`
|
|
36247
36268
|
});
|
|
@@ -36371,7 +36392,7 @@ function LI({ open: t, onOpenChange: a, children: n, onDrag: i, onRelease: s, sn
|
|
|
36371
36392
|
W.useEffect(() => (j && (zt(document.documentElement, {
|
|
36372
36393
|
scrollBehavior: "auto"
|
|
36373
36394
|
}), re.current = /* @__PURE__ */ new Date()), () => {
|
|
36374
|
-
|
|
36395
|
+
VR(document.documentElement, "scrollBehavior");
|
|
36375
36396
|
}), [
|
|
36376
36397
|
j
|
|
36377
36398
|
]);
|
|
@@ -36457,7 +36478,7 @@ const II = /* @__PURE__ */ W.forwardRef(function({ ...t }, a) {
|
|
|
36457
36478
|
II.displayName = "Drawer.Overlay";
|
|
36458
36479
|
const AI = /* @__PURE__ */ W.forwardRef(function({ onPointerDownOutside: t, style: a, onOpenAutoFocus: n, ...i }, s) {
|
|
36459
36480
|
const { drawerRef: o, onPress: c, onRelease: d, onDrag: u, keyboardIsOpen: h, snapPointsOffset: m, modal: y, isOpen: g, direction: p, snapPoints: f, container: k, handleOnly: v, autoFocus: x } = Wl(), [N, C] = W.useState(!1), b = bI(s, o), L = W.useRef(null), I = W.useRef(null), S = W.useRef(!1), w = f && f.length > 0;
|
|
36460
|
-
|
|
36481
|
+
XR();
|
|
36461
36482
|
const M = (D, T, _ = 0) => {
|
|
36462
36483
|
if (S.current) return !0;
|
|
36463
36484
|
const z = Math.abs(D.y), j = Math.abs(D.x), O = j > z, F = [
|
|
@@ -36533,7 +36554,7 @@ const AI = /* @__PURE__ */ W.forwardRef(function({ onPointerDownOutside: t, styl
|
|
|
36533
36554
|
});
|
|
36534
36555
|
});
|
|
36535
36556
|
AI.displayName = "Drawer.Content";
|
|
36536
|
-
const
|
|
36557
|
+
const QR = 250, eD = 120, PI = /* @__PURE__ */ W.forwardRef(function({ preventCycle: t = !1, children: a, ...n }, i) {
|
|
36537
36558
|
const { closeDrawer: s, isDragging: o, snapPoints: c, activeSnapPoint: d, setActiveSnapPoint: u, dismissible: h, handleOnly: m, isOpen: y, onPress: g, onDrag: p } = Wl(), f = W.useRef(null), k = W.useRef(!1);
|
|
36538
36559
|
function v() {
|
|
36539
36560
|
if (k.current) {
|
|
@@ -36542,7 +36563,7 @@ const KR = 250, QR = 120, PI = /* @__PURE__ */ W.forwardRef(function({ preventCy
|
|
|
36542
36563
|
}
|
|
36543
36564
|
window.setTimeout(() => {
|
|
36544
36565
|
x();
|
|
36545
|
-
},
|
|
36566
|
+
}, eD);
|
|
36546
36567
|
}
|
|
36547
36568
|
function x() {
|
|
36548
36569
|
if (o || t || k.current) {
|
|
@@ -36565,7 +36586,7 @@ const KR = 250, QR = 120, PI = /* @__PURE__ */ W.forwardRef(function({ preventCy
|
|
|
36565
36586
|
function N() {
|
|
36566
36587
|
f.current = window.setTimeout(() => {
|
|
36567
36588
|
k.current = !0;
|
|
36568
|
-
},
|
|
36589
|
+
}, QR);
|
|
36569
36590
|
}
|
|
36570
36591
|
function C() {
|
|
36571
36592
|
window.clearTimeout(f.current), k.current = !1;
|
|
@@ -36591,7 +36612,7 @@ const KR = 250, QR = 120, PI = /* @__PURE__ */ W.forwardRef(function({ preventCy
|
|
|
36591
36612
|
}, a));
|
|
36592
36613
|
});
|
|
36593
36614
|
PI.displayName = "Drawer.Handle";
|
|
36594
|
-
function
|
|
36615
|
+
function tD({ onDrag: t, onOpenChange: a, ...n }) {
|
|
36595
36616
|
const { onNestedDrag: i, onNestedOpenChange: s, onNestedRelease: o } = Wl();
|
|
36596
36617
|
if (!i)
|
|
36597
36618
|
throw new Error("Drawer.NestedRoot must be placed in another drawer");
|
|
@@ -36610,7 +36631,7 @@ function eD({ onDrag: t, onOpenChange: a, ...n }) {
|
|
|
36610
36631
|
...n
|
|
36611
36632
|
});
|
|
36612
36633
|
}
|
|
36613
|
-
function
|
|
36634
|
+
function aD(t) {
|
|
36614
36635
|
const a = Wl(), { container: n = a.container, ...i } = t;
|
|
36615
36636
|
return /* @__PURE__ */ W.createElement(Tt.Portal, {
|
|
36616
36637
|
container: n,
|
|
@@ -36619,11 +36640,11 @@ function tD(t) {
|
|
|
36619
36640
|
}
|
|
36620
36641
|
const Xn = {
|
|
36621
36642
|
Root: LI,
|
|
36622
|
-
NestedRoot:
|
|
36643
|
+
NestedRoot: tD,
|
|
36623
36644
|
Content: AI,
|
|
36624
36645
|
Overlay: II,
|
|
36625
36646
|
Trigger: Tt.Trigger,
|
|
36626
|
-
Portal:
|
|
36647
|
+
Portal: aD,
|
|
36627
36648
|
Handle: PI,
|
|
36628
36649
|
Close: Tt.Close,
|
|
36629
36650
|
Title: Tt.Title,
|
|
@@ -36639,7 +36660,7 @@ const Xn = {
|
|
|
36639
36660
|
}
|
|
36640
36661
|
);
|
|
36641
36662
|
TI.displayName = "Drawer";
|
|
36642
|
-
const
|
|
36663
|
+
const nD = Xn.Portal, RI = ue.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e(
|
|
36643
36664
|
Xn.Overlay,
|
|
36644
36665
|
{
|
|
36645
36666
|
ref: n,
|
|
@@ -36648,7 +36669,7 @@ const aD = Xn.Portal, RI = ue.forwardRef(({ className: t, ...a }, n) => /* @__PU
|
|
|
36648
36669
|
}
|
|
36649
36670
|
));
|
|
36650
36671
|
RI.displayName = Xn.Overlay.displayName;
|
|
36651
|
-
const DI = ue.forwardRef(({ className: t, children: a, ...n }, i) => /* @__PURE__ */ r(
|
|
36672
|
+
const DI = ue.forwardRef(({ className: t, children: a, ...n }, i) => /* @__PURE__ */ r(nD, { children: [
|
|
36652
36673
|
/* @__PURE__ */ e(RI, {}),
|
|
36653
36674
|
/* @__PURE__ */ r(
|
|
36654
36675
|
Xn.Content,
|
|
@@ -36690,7 +36711,7 @@ const zI = ue.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e(
|
|
|
36690
36711
|
}
|
|
36691
36712
|
));
|
|
36692
36713
|
zI.displayName = Xn.Title.displayName;
|
|
36693
|
-
const
|
|
36714
|
+
const rD = ue.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e(
|
|
36694
36715
|
Xn.Description,
|
|
36695
36716
|
{
|
|
36696
36717
|
ref: n,
|
|
@@ -36698,8 +36719,8 @@ const nD = ue.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e(
|
|
|
36698
36719
|
...a
|
|
36699
36720
|
}
|
|
36700
36721
|
));
|
|
36701
|
-
|
|
36702
|
-
const
|
|
36722
|
+
rD.displayName = Xn.Description.displayName;
|
|
36723
|
+
const iD = [
|
|
36703
36724
|
{ id: "profile", label: "My Profile", icon: ln, path: "/profile" },
|
|
36704
36725
|
{ id: "saved-jobs", label: "Saved Jobs", icon: Pe, path: "/saved/jobs", countKey: "jobs" },
|
|
36705
36726
|
{ id: "saved-companies", label: "Saved Companies", icon: Te, path: "/saved/companies", countKey: "companies" },
|
|
@@ -36709,7 +36730,7 @@ const rD = [
|
|
|
36709
36730
|
], iS = ({
|
|
36710
36731
|
user: t,
|
|
36711
36732
|
savedCounts: a = {},
|
|
36712
|
-
menuItems: n =
|
|
36733
|
+
menuItems: n = iD,
|
|
36713
36734
|
onNavigate: i,
|
|
36714
36735
|
onLogout: s,
|
|
36715
36736
|
onSignIn: o,
|
|
@@ -36826,7 +36847,7 @@ const sS = {
|
|
|
36826
36847
|
], cS = (t) => {
|
|
36827
36848
|
window.location.href = t;
|
|
36828
36849
|
};
|
|
36829
|
-
function
|
|
36850
|
+
function sD({ logo: t, navItems: a }) {
|
|
36830
36851
|
const [n, i] = A(!1);
|
|
36831
36852
|
return /* @__PURE__ */ r("header", { className: "bg-[#0f1219] text-white py-4", children: [
|
|
36832
36853
|
/* @__PURE__ */ r("div", { className: "container mx-auto px-4 flex justify-between items-center", children: [
|
|
@@ -36886,7 +36907,7 @@ function iD({ logo: t, navItems: a }) {
|
|
|
36886
36907
|
)) }) })
|
|
36887
36908
|
] });
|
|
36888
36909
|
}
|
|
36889
|
-
function
|
|
36910
|
+
function oD({
|
|
36890
36911
|
logo: t,
|
|
36891
36912
|
tagline: a,
|
|
36892
36913
|
socialLinks: n,
|
|
@@ -36930,7 +36951,7 @@ function sD({
|
|
|
36930
36951
|
] })
|
|
36931
36952
|
] }) });
|
|
36932
36953
|
}
|
|
36933
|
-
const
|
|
36954
|
+
const lD = () => {
|
|
36934
36955
|
const [t, a] = A(null);
|
|
36935
36956
|
return /* @__PURE__ */ e("section", { className: "py-20 bg-gray-100", children: /* @__PURE__ */ r("div", { className: "container mx-auto px-4", children: [
|
|
36936
36957
|
/* @__PURE__ */ r("div", { className: "text-center mb-16 animate-fade-in", children: [
|
|
@@ -36993,7 +37014,7 @@ const oD = () => {
|
|
|
36993
37014
|
] })
|
|
36994
37015
|
] }) });
|
|
36995
37016
|
};
|
|
36996
|
-
function
|
|
37017
|
+
function cD() {
|
|
36997
37018
|
const [t, a] = A(null);
|
|
36998
37019
|
return se(() => {
|
|
36999
37020
|
try {
|
|
@@ -37010,7 +37031,7 @@ const FI = XC({
|
|
|
37010
37031
|
console.log("ConsentContext not initialized");
|
|
37011
37032
|
}
|
|
37012
37033
|
});
|
|
37013
|
-
function
|
|
37034
|
+
function dD({
|
|
37014
37035
|
notification_url: t = "http://localhost:5147",
|
|
37015
37036
|
children: a
|
|
37016
37037
|
}) {
|
|
@@ -37074,14 +37095,14 @@ function cD({
|
|
|
37074
37095
|
return /* @__PURE__ */ e(FI.Provider, { value: { consent: n, ready: s, update: m }, children: a });
|
|
37075
37096
|
}
|
|
37076
37097
|
const OI = () => KC(FI);
|
|
37077
|
-
function
|
|
37098
|
+
function hD({
|
|
37078
37099
|
allow: t,
|
|
37079
37100
|
children: a
|
|
37080
37101
|
}) {
|
|
37081
37102
|
const { consent: n, ready: i } = OI();
|
|
37082
37103
|
return !i || !n[t] ? null : /* @__PURE__ */ e(ve, { children: a });
|
|
37083
37104
|
}
|
|
37084
|
-
function
|
|
37105
|
+
function uD({
|
|
37085
37106
|
title: t = "Cookie consent",
|
|
37086
37107
|
description: a = "We use cookies to improve your experience. You can accept all or manage preferences. Non-essential cookies are off until you opt in.",
|
|
37087
37108
|
buttonAcceptLabel: n = "Accept all",
|
|
@@ -37118,7 +37139,7 @@ function hD({
|
|
|
37118
37139
|
}
|
|
37119
37140
|
) : null;
|
|
37120
37141
|
}
|
|
37121
|
-
const
|
|
37142
|
+
const mD = {
|
|
37122
37143
|
logo: {
|
|
37123
37144
|
text: "iGamingCareer.com",
|
|
37124
37145
|
initials: "iG"
|
|
@@ -37131,14 +37152,14 @@ const uD = {
|
|
|
37131
37152
|
{ label: "Blog", href: "/blog" },
|
|
37132
37153
|
{ label: "Contact", href: "/contact" }
|
|
37133
37154
|
]
|
|
37134
|
-
},
|
|
37155
|
+
}, pD = {
|
|
37135
37156
|
title: "Find Your Dream Job in",
|
|
37136
37157
|
subtitle: `The #1 platform for iGaming careers—connecting top talent with leading casinos,
|
|
37137
37158
|
sportsbooks, and tech providers worldwide.`,
|
|
37138
37159
|
backgroundImage: "/placeholder.svg?height=800&width=1600",
|
|
37139
37160
|
primaryButtonText: "Search Jobs",
|
|
37140
37161
|
secondaryButtonText: "Upload CV"
|
|
37141
|
-
},
|
|
37162
|
+
}, yD = {
|
|
37142
37163
|
title: "Why Choose Us?",
|
|
37143
37164
|
values: [
|
|
37144
37165
|
{
|
|
@@ -37162,7 +37183,7 @@ const uD = {
|
|
|
37162
37183
|
description: "Courses and certifications to level up your skills."
|
|
37163
37184
|
}
|
|
37164
37185
|
]
|
|
37165
|
-
},
|
|
37186
|
+
}, gD = {
|
|
37166
37187
|
title: "Browse 3,500+ iGaming Jobs",
|
|
37167
37188
|
locations: [
|
|
37168
37189
|
{ id: "malta", name: "Malta" },
|
|
@@ -37176,7 +37197,7 @@ const uD = {
|
|
|
37176
37197
|
{ label: "Compliance Specialist", href: "/jobs?q=compliance-specialist" }
|
|
37177
37198
|
],
|
|
37178
37199
|
searchButtonText: "Search"
|
|
37179
|
-
},
|
|
37200
|
+
}, fD = {
|
|
37180
37201
|
title: "Trusted by Professionals & Companies",
|
|
37181
37202
|
testimonial: {
|
|
37182
37203
|
quote: "Landed my dream job at DraftKings in 2 weeks! The platform was easy to use and the team provided great support throughout the process.",
|
|
@@ -37190,19 +37211,19 @@ const uD = {
|
|
|
37190
37211
|
{ value: "25+", label: "Countries with active job listings" }
|
|
37191
37212
|
],
|
|
37192
37213
|
partnerLogos: Array(5).fill("/placeholder.svg?height=60&width=120")
|
|
37193
|
-
},
|
|
37214
|
+
}, kD = {
|
|
37194
37215
|
title: "Get Exclusive iGaming Job Alerts",
|
|
37195
37216
|
description: "Weekly openings + salary reports. Unsubscribe anytime.",
|
|
37196
37217
|
inputPlaceholder: "Your email address",
|
|
37197
37218
|
buttonText: "Subscribe"
|
|
37198
|
-
},
|
|
37219
|
+
}, vD = {
|
|
37199
37220
|
title: "Hire Top iGaming Talent",
|
|
37200
37221
|
description: "Access 50,000+ skilled professionals. Post a job in 5 minutes.",
|
|
37201
37222
|
primaryButtonText: "Post a Job",
|
|
37202
37223
|
primaryButtonHref: "/employers/post-job",
|
|
37203
37224
|
secondaryButtonText: "Learn More",
|
|
37204
37225
|
secondaryButtonHref: "/employers"
|
|
37205
|
-
},
|
|
37226
|
+
}, xD = {
|
|
37206
37227
|
logo: {
|
|
37207
37228
|
text: "iGamingCareer.com",
|
|
37208
37229
|
initials: "iG"
|
|
@@ -37315,7 +37336,7 @@ function IH({
|
|
|
37315
37336
|
consentNotificationUrl: N = "http://localhost:5147",
|
|
37316
37337
|
consentBannerProps: C
|
|
37317
37338
|
}) {
|
|
37318
|
-
const { isSubscribed: b, email: L } =
|
|
37339
|
+
const { isSubscribed: b, email: L } = cD(), I = ar(mD, t), S = ar(pD, a), w = ar(yD, n), M = ar(gD, i), P = ar(fD, s), D = ar(kD, o), T = ar(vD, h), _ = ar(xD, m), z = {
|
|
37319
37340
|
...D,
|
|
37320
37341
|
isSubscribed: (o == null ? void 0 : o.isSubscribed) ?? b,
|
|
37321
37342
|
email: (o == null ? void 0 : o.email) ?? L,
|
|
@@ -37323,19 +37344,19 @@ function IH({
|
|
|
37323
37344
|
onManageAlerts: (o == null ? void 0 : o.onManageAlerts) ?? d,
|
|
37324
37345
|
onSignInRequired: (o == null ? void 0 : o.onSignInRequired) ?? u
|
|
37325
37346
|
};
|
|
37326
|
-
return /* @__PURE__ */ e(
|
|
37327
|
-
/* @__PURE__ */ e(
|
|
37347
|
+
return /* @__PURE__ */ e(dD, { notification_url: N, children: /* @__PURE__ */ r("div", { className: "flex flex-col min-h-screen", children: [
|
|
37348
|
+
/* @__PURE__ */ e(sD, { ...I }),
|
|
37328
37349
|
/* @__PURE__ */ r("main", { className: "flex-grow", children: [
|
|
37329
|
-
/* @__PURE__ */ e(
|
|
37330
|
-
y && /* @__PURE__ */ e(
|
|
37331
|
-
g && /* @__PURE__ */ e(
|
|
37332
|
-
p && /* @__PURE__ */ e(
|
|
37333
|
-
f && /* @__PURE__ */ e(
|
|
37334
|
-
k && /* @__PURE__ */ e(
|
|
37335
|
-
v && /* @__PURE__ */ e(
|
|
37350
|
+
/* @__PURE__ */ e(CR, { ...S }),
|
|
37351
|
+
y && /* @__PURE__ */ e(SR, { ...w }),
|
|
37352
|
+
g && /* @__PURE__ */ e(PR, { ...M }),
|
|
37353
|
+
p && /* @__PURE__ */ e(LR, { ...P }),
|
|
37354
|
+
f && /* @__PURE__ */ e(lD, {}),
|
|
37355
|
+
k && /* @__PURE__ */ e(AR, { ...z }),
|
|
37356
|
+
v && /* @__PURE__ */ e(NR, { ...T })
|
|
37336
37357
|
] }),
|
|
37337
|
-
/* @__PURE__ */ e(
|
|
37338
|
-
x && /* @__PURE__ */ e(
|
|
37358
|
+
/* @__PURE__ */ e(oD, { ..._ }),
|
|
37359
|
+
x && /* @__PURE__ */ e(uD, { ...C })
|
|
37339
37360
|
] }) });
|
|
37340
37361
|
}
|
|
37341
37362
|
function AH({
|
|
@@ -37492,7 +37513,7 @@ function PH({
|
|
|
37492
37513
|
] })
|
|
37493
37514
|
] });
|
|
37494
37515
|
}
|
|
37495
|
-
const
|
|
37516
|
+
const bD = (t) => /.+@.+\..+/.test(t);
|
|
37496
37517
|
function b9({
|
|
37497
37518
|
title: t = "Premium Job Alerts",
|
|
37498
37519
|
description: a = "Get notified about new jobs that match your skills and preferences.",
|
|
@@ -37535,7 +37556,7 @@ function b9({
|
|
|
37535
37556
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
37536
37557
|
});
|
|
37537
37558
|
}, [m]), I = Re(async () => {
|
|
37538
|
-
if (!
|
|
37559
|
+
if (!bD(f))
|
|
37539
37560
|
return;
|
|
37540
37561
|
const w = { email: f, source: g };
|
|
37541
37562
|
if (L("newsletter_subscribe_requested", w), !!d) {
|
|
@@ -37601,7 +37622,7 @@ function b9({
|
|
|
37601
37622
|
)
|
|
37602
37623
|
] });
|
|
37603
37624
|
}
|
|
37604
|
-
function
|
|
37625
|
+
function wD({
|
|
37605
37626
|
open: t,
|
|
37606
37627
|
type: a,
|
|
37607
37628
|
message: n,
|
|
@@ -37730,7 +37751,7 @@ const Gc = ({ position: t, url: a, alt: n, link: i }) => {
|
|
|
37730
37751
|
] })
|
|
37731
37752
|
] })
|
|
37732
37753
|
] });
|
|
37733
|
-
},
|
|
37754
|
+
}, MD = ({
|
|
37734
37755
|
filterKeys: t,
|
|
37735
37756
|
filtersData: a,
|
|
37736
37757
|
activeFilters: n,
|
|
@@ -37799,7 +37820,7 @@ const Gc = ({ position: t, url: a, alt: n, link: i }) => {
|
|
|
37799
37820
|
] }, u)),
|
|
37800
37821
|
(Object.keys(n).length > 0 || s.length > 0) && /* @__PURE__ */ e("button", { className: "clear-all-filters", onClick: c, children: "Clear All" })
|
|
37801
37822
|
] })
|
|
37802
|
-
] }),
|
|
37823
|
+
] }), ND = ({ searchTerm: t, handleSearchChange: a, handleSearchKeyDown: n, suggestions: i }) => /* @__PURE__ */ e("div", { className: "search-container", children: /* @__PURE__ */ r("div", { className: "search-input-wrapper", children: [
|
|
37803
37824
|
/* @__PURE__ */ r(
|
|
37804
37825
|
"svg",
|
|
37805
37826
|
{
|
|
@@ -37832,7 +37853,7 @@ const Gc = ({ position: t, url: a, alt: n, link: i }) => {
|
|
|
37832
37853
|
}
|
|
37833
37854
|
),
|
|
37834
37855
|
/* @__PURE__ */ e("datalist", { id: "job-suggestions", children: i.map((s, o) => /* @__PURE__ */ e("option", { value: s }, o)) })
|
|
37835
|
-
] }) }),
|
|
37856
|
+
] }) }), CD = {
|
|
37836
37857
|
not_registered: {
|
|
37837
37858
|
status: "not_registered",
|
|
37838
37859
|
registered: !1,
|
|
@@ -37858,7 +37879,7 @@ const Gc = ({ position: t, url: a, alt: n, link: i }) => {
|
|
|
37858
37879
|
notHrefJobsLink: !1
|
|
37859
37880
|
}
|
|
37860
37881
|
}, BN = (t) => {
|
|
37861
|
-
const a = (t == null ? void 0 : t.status) ?? (t != null && t.registered ? "freemium" : "not_registered"), n =
|
|
37882
|
+
const a = (t == null ? void 0 : t.status) ?? (t != null && t.registered ? "freemium" : "not_registered"), n = CD[a], i = (t == null ? void 0 : t.registered) ?? n.registered, s = !i;
|
|
37862
37883
|
return {
|
|
37863
37884
|
...n,
|
|
37864
37885
|
registered: i,
|
|
@@ -37988,7 +38009,7 @@ const Gc = ({ position: t, url: a, alt: n, link: i }) => {
|
|
|
37988
38009
|
]
|
|
37989
38010
|
}
|
|
37990
38011
|
);
|
|
37991
|
-
},
|
|
38012
|
+
}, SD = ({ jobs: t, onSaveJob: a, onViewJob: n, isJobSaved: i, userAccess: s }) => t.length === 0 ? /* @__PURE__ */ r("div", { className: "no-results", children: [
|
|
37992
38013
|
/* @__PURE__ */ e("h3", { children: "No jobs found matching your criteria" }),
|
|
37993
38014
|
/* @__PURE__ */ e("p", { children: "Try adjusting your filters or search term" })
|
|
37994
38015
|
] }) : /* @__PURE__ */ e("div", { className: "jobs-grid", children: t.map((o) => /* @__PURE__ */ e(
|
|
@@ -38001,7 +38022,7 @@ const Gc = ({ position: t, url: a, alt: n, link: i }) => {
|
|
|
38001
38022
|
userAccess: s
|
|
38002
38023
|
},
|
|
38003
38024
|
o.link
|
|
38004
|
-
)) }),
|
|
38025
|
+
)) }), LD = ({ currentPage: t, totalPages: a, setCurrentPage: n }) => {
|
|
38005
38026
|
if (a <= 1) return null;
|
|
38006
38027
|
const i = [];
|
|
38007
38028
|
if (a <= 5)
|
|
@@ -38045,7 +38066,7 @@ const Gc = ({ position: t, url: a, alt: n, link: i }) => {
|
|
|
38045
38066
|
}
|
|
38046
38067
|
)
|
|
38047
38068
|
] });
|
|
38048
|
-
},
|
|
38069
|
+
}, ID = ({
|
|
38049
38070
|
isOpen: t,
|
|
38050
38071
|
onClose: a,
|
|
38051
38072
|
filterKeys: n,
|
|
@@ -38238,7 +38259,7 @@ const Gc = ({ position: t, url: a, alt: n, link: i }) => {
|
|
|
38238
38259
|
),
|
|
38239
38260
|
/* @__PURE__ */ r("div", { className: "hidden md:block filters-container", children: [
|
|
38240
38261
|
/* @__PURE__ */ e(
|
|
38241
|
-
|
|
38262
|
+
ND,
|
|
38242
38263
|
{
|
|
38243
38264
|
searchTerm: N,
|
|
38244
38265
|
handleSearchChange: _,
|
|
@@ -38247,7 +38268,7 @@ const Gc = ({ position: t, url: a, alt: n, link: i }) => {
|
|
|
38247
38268
|
}
|
|
38248
38269
|
),
|
|
38249
38270
|
/* @__PURE__ */ e(
|
|
38250
|
-
|
|
38271
|
+
MD,
|
|
38251
38272
|
{
|
|
38252
38273
|
filterKeys: n,
|
|
38253
38274
|
filtersData: v,
|
|
@@ -38261,7 +38282,7 @@ const Gc = ({ position: t, url: a, alt: n, link: i }) => {
|
|
|
38261
38282
|
)
|
|
38262
38283
|
] }),
|
|
38263
38284
|
/* @__PURE__ */ e(
|
|
38264
|
-
|
|
38285
|
+
ID,
|
|
38265
38286
|
{
|
|
38266
38287
|
isOpen: I,
|
|
38267
38288
|
onClose: F,
|
|
@@ -38281,7 +38302,7 @@ const Gc = ({ position: t, url: a, alt: n, link: i }) => {
|
|
|
38281
38302
|
/* @__PURE__ */ r("div", { className: "w-full md:w-3/4 md:pr-4", children: [
|
|
38282
38303
|
/* @__PURE__ */ e("h2", { className: "section-title", children: "Open Positions" }),
|
|
38283
38304
|
/* @__PURE__ */ e(
|
|
38284
|
-
|
|
38305
|
+
SD,
|
|
38285
38306
|
{
|
|
38286
38307
|
jobs: oe,
|
|
38287
38308
|
onSaveJob: J,
|
|
@@ -38290,7 +38311,7 @@ const Gc = ({ position: t, url: a, alt: n, link: i }) => {
|
|
|
38290
38311
|
userAccess: w
|
|
38291
38312
|
}
|
|
38292
38313
|
),
|
|
38293
|
-
/* @__PURE__ */ e(
|
|
38314
|
+
/* @__PURE__ */ e(LD, { currentPage: m, totalPages: ae, setCurrentPage: y })
|
|
38294
38315
|
] }),
|
|
38295
38316
|
/* @__PURE__ */ e("div", { className: "w-full md:w-1/4 mt-4 md:mt-0", children: /* @__PURE__ */ e("div", { className: "sticky top-4", children: c.sidebar.enabled && c.sidebar.url && /* @__PURE__ */ e(Gc, { position: "sidebar", url: c.sidebar.url, link: c.sidebar.link, alt: c.sidebar.alt }) }) })
|
|
38296
38317
|
] })
|
|
@@ -38466,7 +38487,7 @@ const Gc = ({ position: t, url: a, alt: n, link: i }) => {
|
|
|
38466
38487
|
}
|
|
38467
38488
|
)
|
|
38468
38489
|
] }) });
|
|
38469
|
-
},
|
|
38490
|
+
}, AD = (t) => {
|
|
38470
38491
|
const a = ["Acme Inc", "TechCorp", "Global Solutions", "Innovate Labs", "Future Tech"], n = ["Engineering", "Marketing", "Sales", "Design", "Product", "HR"], i = ["New York, NY", "San Francisco, CA", "Austin, TX", "Seattle, WA", "Remote"], s = ["New York", "San Francisco", "Austin", "Seattle", "Chicago"], o = ["USA", "Canada", "UK", "Germany", "Australia"], c = ["Startup", "Enterprise", "Agency", "Nonprofit", "Government"], d = (u) => {
|
|
38471
38492
|
const h = /* @__PURE__ */ new Date();
|
|
38472
38493
|
return h.setDate(h.getDate() - Math.floor(Math.random() * u)), h.toISOString();
|
|
@@ -38761,9 +38782,9 @@ const Gc = ({ position: t, url: a, alt: n, link: i }) => {
|
|
|
38761
38782
|
))
|
|
38762
38783
|
] }) }) }) })
|
|
38763
38784
|
] });
|
|
38764
|
-
},
|
|
38785
|
+
}, PD = (t) => t.toLowerCase().replace(/anti[-\s]?money[-\s]?laundering/g, "aml").replace(/counter[-\s]?terrorist[-\s]?financing/g, "cft").replace(/personal management licence/g, "pml").replace(/general data protection regulation/g, "gdpr");
|
|
38765
38786
|
function GI(t) {
|
|
38766
|
-
const a =
|
|
38787
|
+
const a = PD(t), n = {
|
|
38767
38788
|
gambling: [
|
|
38768
38789
|
"igaming",
|
|
38769
38790
|
"casino",
|
|
@@ -38840,11 +38861,11 @@ function GI(t) {
|
|
|
38840
38861
|
return s;
|
|
38841
38862
|
return null;
|
|
38842
38863
|
}
|
|
38843
|
-
function
|
|
38864
|
+
function TD(t) {
|
|
38844
38865
|
const a = GI(t);
|
|
38845
|
-
return a ||
|
|
38866
|
+
return a || RD(t);
|
|
38846
38867
|
}
|
|
38847
|
-
function
|
|
38868
|
+
function RD(t) {
|
|
38848
38869
|
const a = /* @__PURE__ */ new Set([
|
|
38849
38870
|
"the",
|
|
38850
38871
|
"of",
|
|
@@ -39023,7 +39044,7 @@ const C9 = ({
|
|
|
39023
39044
|
}
|
|
39024
39045
|
)
|
|
39025
39046
|
] })
|
|
39026
|
-
] }) }),
|
|
39047
|
+
] }) }), DD = ({
|
|
39027
39048
|
title: t,
|
|
39028
39049
|
description: a,
|
|
39029
39050
|
ctaText: n,
|
|
@@ -39043,7 +39064,7 @@ const C9 = ({
|
|
|
39043
39064
|
children: n
|
|
39044
39065
|
}
|
|
39045
39066
|
)
|
|
39046
|
-
] }) }),
|
|
39067
|
+
] }) }), _D = ({ items: t, cardType: a, viewMode: n, savedJobs: i, onSaveJob: s, onViewJob: o, onApplyJob: c, firstItemRef: d = null, userAccess: u }) => {
|
|
39047
39068
|
const [h, m] = A([]), [y, g] = A(null);
|
|
39048
39069
|
se(() => {
|
|
39049
39070
|
try {
|
|
@@ -39066,7 +39087,7 @@ const C9 = ({
|
|
|
39066
39087
|
try {
|
|
39067
39088
|
if (f.isPromo)
|
|
39068
39089
|
return /* @__PURE__ */ e("div", { className: "col-span-full my-4", children: /* @__PURE__ */ e(
|
|
39069
|
-
|
|
39090
|
+
DD,
|
|
39070
39091
|
{
|
|
39071
39092
|
title: "Upgrade Your Job Search",
|
|
39072
39093
|
description: "Get personalized job recommendations and stand out to employers.",
|
|
@@ -39157,7 +39178,7 @@ const C9 = ({
|
|
|
39157
39178
|
}
|
|
39158
39179
|
)
|
|
39159
39180
|
] }) });
|
|
39160
|
-
},
|
|
39181
|
+
}, zD = ({ jobs: t, onViewJob: a }) => !t || t.length === 0 ? null : /* @__PURE__ */ r("div", { className: "last-visited-jobs mt-8 bg-white rounded-lg shadow p-4", children: [
|
|
39161
39182
|
/* @__PURE__ */ e("h2", { className: "text-lg font-semibold mb-4", children: "Recently Viewed Jobs" }),
|
|
39162
39183
|
/* @__PURE__ */ e("div", { className: "grid grid-cols-1 md:grid-cols-3 gap-4", children: t.map((n, i) => /* @__PURE__ */ r(
|
|
39163
39184
|
"div",
|
|
@@ -39182,7 +39203,7 @@ const C9 = ({
|
|
|
39182
39203
|
},
|
|
39183
39204
|
n._id || n.slug || n.link
|
|
39184
39205
|
)) })
|
|
39185
|
-
] }),
|
|
39206
|
+
] }), qD = (t, a, n = "date") => {
|
|
39186
39207
|
if (a === "all")
|
|
39187
39208
|
return t;
|
|
39188
39209
|
const i = /* @__PURE__ */ new Date(), s = new Date(i.getFullYear(), i.getMonth(), i.getDate());
|
|
@@ -39213,7 +39234,7 @@ const C9 = ({
|
|
|
39213
39234
|
return !0;
|
|
39214
39235
|
}
|
|
39215
39236
|
});
|
|
39216
|
-
},
|
|
39237
|
+
}, jD = (t, a) => t.filter((n) => {
|
|
39217
39238
|
var i, s, o, c, d;
|
|
39218
39239
|
if (a.jobTypes.length > 0) {
|
|
39219
39240
|
const u = ((i = n.department) == null ? void 0 : i.toLowerCase()) || "";
|
|
@@ -39258,7 +39279,7 @@ const C9 = ({
|
|
|
39258
39279
|
var u, h;
|
|
39259
39280
|
return ((u = c.title) == null ? void 0 : u.toLowerCase().includes(d.toLowerCase())) || ((h = c.overview) == null ? void 0 : h.toLowerCase().includes(d.toLowerCase()));
|
|
39260
39281
|
}
|
|
39261
|
-
))), o =
|
|
39282
|
+
))), o = qD(o, i, s), o;
|
|
39262
39283
|
}, td = (t, a, n = [], i = "date") => {
|
|
39263
39284
|
const s = (u) => {
|
|
39264
39285
|
const h = u[i] || u.created_at || u.published_at || u.scraped_at;
|
|
@@ -39367,7 +39388,7 @@ const C9 = ({
|
|
|
39367
39388
|
]
|
|
39368
39389
|
}
|
|
39369
39390
|
) })
|
|
39370
|
-
] }) }), st = Tt.Root, ZI = Tt.Trigger,
|
|
39391
|
+
] }) }), st = Tt.Root, ZI = Tt.Trigger, FD = Tt.Portal, YI = ue.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e(
|
|
39371
39392
|
Tt.Overlay,
|
|
39372
39393
|
{
|
|
39373
39394
|
ref: n,
|
|
@@ -39379,7 +39400,7 @@ const C9 = ({
|
|
|
39379
39400
|
}
|
|
39380
39401
|
));
|
|
39381
39402
|
YI.displayName = Tt.Overlay.displayName;
|
|
39382
|
-
const tt = ue.forwardRef(({ className: t, children: a, ...n }, i) => /* @__PURE__ */ r(
|
|
39403
|
+
const tt = ue.forwardRef(({ className: t, children: a, ...n }, i) => /* @__PURE__ */ r(FD, { children: [
|
|
39383
39404
|
/* @__PURE__ */ e(YI, {}),
|
|
39384
39405
|
/* @__PURE__ */ r(
|
|
39385
39406
|
Tt.Content,
|
|
@@ -39450,20 +39471,20 @@ const lt = ue.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e(
|
|
|
39450
39471
|
}
|
|
39451
39472
|
));
|
|
39452
39473
|
lt.displayName = Tt.Description.displayName;
|
|
39453
|
-
const
|
|
39474
|
+
const OD = qN(
|
|
39454
39475
|
"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
|
|
39455
39476
|
), E = ue.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e(
|
|
39456
39477
|
nL.Root,
|
|
39457
39478
|
{
|
|
39458
39479
|
ref: n,
|
|
39459
|
-
className: ye(
|
|
39480
|
+
className: ye(OD(), t),
|
|
39460
39481
|
...a
|
|
39461
39482
|
}
|
|
39462
39483
|
));
|
|
39463
39484
|
E.displayName = nL.Root.displayName;
|
|
39464
|
-
const
|
|
39485
|
+
const BD = 1, HD = 1e6;
|
|
39465
39486
|
let iC = 0;
|
|
39466
|
-
function
|
|
39487
|
+
function ED() {
|
|
39467
39488
|
return iC = (iC + 1) % Number.MAX_SAFE_INTEGER, iC.toString();
|
|
39468
39489
|
}
|
|
39469
39490
|
const sC = /* @__PURE__ */ new Map(), dS = (t) => {
|
|
@@ -39474,14 +39495,14 @@ const sC = /* @__PURE__ */ new Map(), dS = (t) => {
|
|
|
39474
39495
|
type: "REMOVE_TOAST",
|
|
39475
39496
|
toastId: t
|
|
39476
39497
|
});
|
|
39477
|
-
},
|
|
39498
|
+
}, HD);
|
|
39478
39499
|
sC.set(t, a);
|
|
39479
|
-
},
|
|
39500
|
+
}, VD = (t, a) => {
|
|
39480
39501
|
switch (a.type) {
|
|
39481
39502
|
case "ADD_TOAST":
|
|
39482
39503
|
return {
|
|
39483
39504
|
...t,
|
|
39484
|
-
toasts: [a.toast, ...t.toasts].slice(0,
|
|
39505
|
+
toasts: [a.toast, ...t.toasts].slice(0, BD)
|
|
39485
39506
|
};
|
|
39486
39507
|
case "UPDATE_TOAST":
|
|
39487
39508
|
return {
|
|
@@ -39513,15 +39534,15 @@ const sC = /* @__PURE__ */ new Map(), dS = (t) => {
|
|
|
39513
39534
|
toasts: t.toasts.filter((n) => n.id !== a.toastId)
|
|
39514
39535
|
};
|
|
39515
39536
|
}
|
|
39516
|
-
},
|
|
39537
|
+
}, GD = [];
|
|
39517
39538
|
let oC = { toasts: [] };
|
|
39518
39539
|
function wN(t) {
|
|
39519
|
-
oC =
|
|
39540
|
+
oC = VD(oC, t), GD.forEach((a) => {
|
|
39520
39541
|
a(oC);
|
|
39521
39542
|
});
|
|
39522
39543
|
}
|
|
39523
39544
|
function hS({ ...t }) {
|
|
39524
|
-
const a =
|
|
39545
|
+
const a = ED(), n = (s) => wN({
|
|
39525
39546
|
type: "UPDATE_TOAST",
|
|
39526
39547
|
toast: { ...s, id: a }
|
|
39527
39548
|
}), i = () => wN({ type: "DISMISS_TOAST", toastId: a });
|
|
@@ -39541,11 +39562,11 @@ function hS({ ...t }) {
|
|
|
39541
39562
|
update: n
|
|
39542
39563
|
};
|
|
39543
39564
|
}
|
|
39544
|
-
const
|
|
39545
|
-
function
|
|
39565
|
+
const UD = /* @__PURE__ */ new Set([200, 201, 202, 204]);
|
|
39566
|
+
function $D(t) {
|
|
39546
39567
|
return t === 400 ? "BAD_REQUEST" : t === 401 ? "UNAUTHORIZED" : t === 403 ? "FORBIDDEN" : t === 404 ? "NOT_FOUND" : t === 409 ? "CONFLICT" : t === 429 ? "RATE_LIMITED" : t >= 500 ? "SERVER" : "UNKNOWN";
|
|
39547
39568
|
}
|
|
39548
|
-
function
|
|
39569
|
+
function WD(t) {
|
|
39549
39570
|
if (t.friendly) return t.friendly;
|
|
39550
39571
|
switch (t.code) {
|
|
39551
39572
|
case "TIMEOUT":
|
|
@@ -39566,11 +39587,11 @@ function $D(t) {
|
|
|
39566
39587
|
return "Something went wrong. Please try again.";
|
|
39567
39588
|
}
|
|
39568
39589
|
}
|
|
39569
|
-
async function
|
|
39590
|
+
async function ZD(t, a) {
|
|
39570
39591
|
const { timeoutMs: n = 12e3, ...i } = a ?? {}, s = new AbortController(), o = setTimeout(() => s.abort(), n);
|
|
39571
39592
|
try {
|
|
39572
39593
|
const c = await fetch(t, { ...i, signal: s.signal });
|
|
39573
|
-
if (
|
|
39594
|
+
if (UD.has(c.status)) {
|
|
39574
39595
|
if (c.status === 204) return { ok: !0, data: void 0 };
|
|
39575
39596
|
const m = await c.text();
|
|
39576
39597
|
return { ok: !0, data: m ? JSON.parse(m) : void 0 };
|
|
@@ -39581,7 +39602,7 @@ async function WD(t, a) {
|
|
|
39581
39602
|
} catch {
|
|
39582
39603
|
}
|
|
39583
39604
|
return { ok: !1, error: {
|
|
39584
|
-
code:
|
|
39605
|
+
code: $D(c.status),
|
|
39585
39606
|
status: c.status,
|
|
39586
39607
|
message: (d == null ? void 0 : d.message) || `${c.status} ${c.statusText}`,
|
|
39587
39608
|
details: d
|
|
@@ -39596,7 +39617,7 @@ async function WD(t, a) {
|
|
|
39596
39617
|
clearTimeout(o);
|
|
39597
39618
|
}
|
|
39598
39619
|
}
|
|
39599
|
-
function
|
|
39620
|
+
function YD({
|
|
39600
39621
|
open: t,
|
|
39601
39622
|
onOpenChange: a,
|
|
39602
39623
|
onSubscriptionSuccess: n,
|
|
@@ -39620,7 +39641,7 @@ function ZD({
|
|
|
39620
39641
|
}
|
|
39621
39642
|
h(!0);
|
|
39622
39643
|
try {
|
|
39623
|
-
const f = await
|
|
39644
|
+
const f = await ZD(`${o}/api/leads`, {
|
|
39624
39645
|
method: "POST",
|
|
39625
39646
|
headers: { "Content-Type": "application/json" },
|
|
39626
39647
|
body: JSON.stringify({
|
|
@@ -39633,7 +39654,7 @@ function ZD({
|
|
|
39633
39654
|
timeoutMs: 1e4
|
|
39634
39655
|
});
|
|
39635
39656
|
if (!f.ok) {
|
|
39636
|
-
y(
|
|
39657
|
+
y(WD(f.error)), hS({
|
|
39637
39658
|
title: "Subscription failed",
|
|
39638
39659
|
description: f.error.message
|
|
39639
39660
|
});
|
|
@@ -39704,7 +39725,7 @@ function JI() {
|
|
|
39704
39725
|
});
|
|
39705
39726
|
}, isSaved: (o) => o ? a.includes(o) : !1 };
|
|
39706
39727
|
}
|
|
39707
|
-
const
|
|
39728
|
+
const JD = ({ value: t, options: a, onChange: n }) => /* @__PURE__ */ r("div", { className: "flex items-center space-x-2", children: [
|
|
39708
39729
|
/* @__PURE__ */ e("span", { className: "text-sm font-medium text-gray-700", children: "Order by" }),
|
|
39709
39730
|
/* @__PURE__ */ r("div", { className: "relative", children: [
|
|
39710
39731
|
/* @__PURE__ */ e(
|
|
@@ -39719,7 +39740,7 @@ const YD = ({ value: t, options: a, onChange: n }) => /* @__PURE__ */ r("div", {
|
|
|
39719
39740
|
),
|
|
39720
39741
|
/* @__PURE__ */ e("span", { className: "pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3 text-gray-400", children: "▼" })
|
|
39721
39742
|
] })
|
|
39722
|
-
] }),
|
|
39743
|
+
] }), XD = 6, lC = {
|
|
39723
39744
|
jobTypes: [],
|
|
39724
39745
|
experienceLevels: [],
|
|
39725
39746
|
country: "",
|
|
@@ -39852,7 +39873,7 @@ const YD = ({ value: t, options: a, onChange: n }) => /* @__PURE__ */ r("div", {
|
|
|
39852
39873
|
_(mn);
|
|
39853
39874
|
} catch (ge) {
|
|
39854
39875
|
console.error("Error fetching data:", ge), V(`Failed to load data: ${ge instanceof Error ? ge.message : String(ge)}`);
|
|
39855
|
-
const Ce =
|
|
39876
|
+
const Ce = AD(20), Oe = td(Ce, At, P, c);
|
|
39856
39877
|
x(Ce), C(Oe);
|
|
39857
39878
|
const bt = Rc(Ce, n);
|
|
39858
39879
|
_(bt);
|
|
@@ -39891,7 +39912,7 @@ const YD = ({ value: t, options: a, onChange: n }) => /* @__PURE__ */ r("div", {
|
|
|
39891
39912
|
}, [n]), la = Re((Q) => {
|
|
39892
39913
|
const ge = (Q == null ? void 0 : Q.baseItems) ?? v, Ce = (Q == null ? void 0 : Q.filters) ?? w, Oe = (Q == null ? void 0 : Q.search) ?? P, bt = (Q == null ? void 0 : Q.dateFilter) ?? me, Sa = (Q == null ? void 0 : Q.advanced) ?? ba;
|
|
39893
39914
|
let mn = Xo(ge, Ce, Oe, bt, c);
|
|
39894
|
-
mn =
|
|
39915
|
+
mn = jD(mn, Sa);
|
|
39895
39916
|
const Kt = td(mn, At, Oe, c);
|
|
39896
39917
|
return C(Kt), ((Q == null ? void 0 : Q.resetPage) ?? !0) && S(1), ((Q == null ? void 0 : Q.refreshFiltersData) ?? !0) && oa(Kt), Kt;
|
|
39897
39918
|
}, [me, w, ba, v, c, P, At, oa]);
|
|
@@ -40011,7 +40032,7 @@ const YD = ({ value: t, options: a, onChange: n }) => /* @__PURE__ */ r("div", {
|
|
|
40011
40032
|
}, _t = (Q, ge, Ce = "same_tab", Oe = "listing") => {
|
|
40012
40033
|
const bt = Q.id || Q.slug || Q.link;
|
|
40013
40034
|
bt && (he((Sa) => {
|
|
40014
|
-
const mn = Sa.filter((tn) => (tn.id || tn.slug || tn.link) !== bt), Kt = [Q, ...mn].slice(0,
|
|
40035
|
+
const mn = Sa.filter((tn) => (tn.id || tn.slug || tn.link) !== bt), Kt = [Q, ...mn].slice(0, XD);
|
|
40015
40036
|
try {
|
|
40016
40037
|
localStorage.setItem("lastVisitedJobs", JSON.stringify(Kt));
|
|
40017
40038
|
} catch (tn) {
|
|
@@ -40196,7 +40217,7 @@ const YD = ({ value: t, options: a, onChange: n }) => /* @__PURE__ */ r("div", {
|
|
|
40196
40217
|
] })
|
|
40197
40218
|
] }),
|
|
40198
40219
|
/* @__PURE__ */ e(
|
|
40199
|
-
|
|
40220
|
+
JD,
|
|
40200
40221
|
{
|
|
40201
40222
|
value: At,
|
|
40202
40223
|
options: Qn,
|
|
@@ -40205,7 +40226,7 @@ const YD = ({ value: t, options: a, onChange: n }) => /* @__PURE__ */ r("div", {
|
|
|
40205
40226
|
)
|
|
40206
40227
|
] }) }),
|
|
40207
40228
|
/* @__PURE__ */ e(
|
|
40208
|
-
|
|
40229
|
+
_D,
|
|
40209
40230
|
{
|
|
40210
40231
|
items: OA,
|
|
40211
40232
|
cardType: o,
|
|
@@ -40227,7 +40248,7 @@ const YD = ({ value: t, options: a, onChange: n }) => /* @__PURE__ */ r("div", {
|
|
|
40227
40248
|
}
|
|
40228
40249
|
) })
|
|
40229
40250
|
] }),
|
|
40230
|
-
te.length > 0 && /* @__PURE__ */ e("div", { className: "bg-white rounded-lg shadow-sm border border-gray-200 p-5", children: /* @__PURE__ */ e(
|
|
40251
|
+
te.length > 0 && /* @__PURE__ */ e("div", { className: "bg-white rounded-lg shadow-sm border border-gray-200 p-5", children: /* @__PURE__ */ e(zD, { jobs: te, onViewJob: _t }) })
|
|
40231
40252
|
] }),
|
|
40232
40253
|
/* @__PURE__ */ e("div", { className: "hidden lg:block lg:w-1/4 space-y-6", children: ((_9 = i == null ? void 0 : i.sidebar) == null ? void 0 : _9.enabled) && /* @__PURE__ */ r("div", { className: "sticky top-4", children: [
|
|
40233
40254
|
/* @__PURE__ */ e(
|
|
@@ -40282,7 +40303,7 @@ const YD = ({ value: t, options: a, onChange: n }) => /* @__PURE__ */ r("div", {
|
|
|
40282
40303
|
),
|
|
40283
40304
|
/* @__PURE__ */ e(Zl, {}),
|
|
40284
40305
|
/* @__PURE__ */ e(
|
|
40285
|
-
|
|
40306
|
+
wD,
|
|
40286
40307
|
{
|
|
40287
40308
|
open: pt.open,
|
|
40288
40309
|
type: pt.type,
|
|
@@ -40291,7 +40312,7 @@ const YD = ({ value: t, options: a, onChange: n }) => /* @__PURE__ */ r("div", {
|
|
|
40291
40312
|
}
|
|
40292
40313
|
),
|
|
40293
40314
|
/* @__PURE__ */ e(
|
|
40294
|
-
|
|
40315
|
+
YD,
|
|
40295
40316
|
{
|
|
40296
40317
|
open: we,
|
|
40297
40318
|
onOpenChange: Se,
|
|
@@ -40340,7 +40361,7 @@ const KI = ({
|
|
|
40340
40361
|
] }),
|
|
40341
40362
|
/* @__PURE__ */ r("div", { className: "p-4 space-y-4", children: [
|
|
40342
40363
|
a.map((g) => /* @__PURE__ */ e(
|
|
40343
|
-
|
|
40364
|
+
KD,
|
|
40344
40365
|
{
|
|
40345
40366
|
section: g,
|
|
40346
40367
|
onFilterChange: n,
|
|
@@ -40366,7 +40387,7 @@ const KI = ({
|
|
|
40366
40387
|
}
|
|
40367
40388
|
) })
|
|
40368
40389
|
] })
|
|
40369
|
-
] }),
|
|
40390
|
+
] }), KD = ({
|
|
40370
40391
|
section: t,
|
|
40371
40392
|
onFilterChange: a,
|
|
40372
40393
|
maxVisible: n,
|
|
@@ -40499,7 +40520,7 @@ const KI = ({
|
|
|
40499
40520
|
] }, S.value)))
|
|
40500
40521
|
] })
|
|
40501
40522
|
] });
|
|
40502
|
-
},
|
|
40523
|
+
}, QD = ({ isOpen: t, onClose: a, title: n = "Filters", children: i }) => t ? /* @__PURE__ */ r(ve, { children: [
|
|
40503
40524
|
/* @__PURE__ */ e("div", { className: "fixed inset-0 bg-gray-600 bg-opacity-75 z-40", onClick: a }),
|
|
40504
40525
|
/* @__PURE__ */ r("div", { className: "fixed inset-y-0 right-0 max-w-xs w-full bg-white shadow-xl z-50 overflow-y-auto", children: [
|
|
40505
40526
|
/* @__PURE__ */ r("div", { className: "px-4 py-2 border-b border-gray-200 flex items-center justify-between", children: [
|
|
@@ -40516,7 +40537,7 @@ const KI = ({
|
|
|
40516
40537
|
] }),
|
|
40517
40538
|
/* @__PURE__ */ e("div", { className: "p-4", children: i })
|
|
40518
40539
|
] })
|
|
40519
|
-
] }) : null,
|
|
40540
|
+
] }) : null, e_ = ({
|
|
40520
40541
|
sort: t,
|
|
40521
40542
|
viewMode: a,
|
|
40522
40543
|
onViewModeChange: n,
|
|
@@ -40792,7 +40813,7 @@ const KI = ({
|
|
|
40792
40813
|
}
|
|
40793
40814
|
) }),
|
|
40794
40815
|
x && /* @__PURE__ */ e(
|
|
40795
|
-
|
|
40816
|
+
e_,
|
|
40796
40817
|
{
|
|
40797
40818
|
sort: p,
|
|
40798
40819
|
viewMode: f,
|
|
@@ -40838,7 +40859,7 @@ const KI = ({
|
|
|
40838
40859
|
] })
|
|
40839
40860
|
] }),
|
|
40840
40861
|
Y && /* @__PURE__ */ e(
|
|
40841
|
-
|
|
40862
|
+
QD,
|
|
40842
40863
|
{
|
|
40843
40864
|
isOpen: w,
|
|
40844
40865
|
onClose: () => M(!1),
|
|
@@ -40857,33 +40878,33 @@ const KI = ({
|
|
|
40857
40878
|
"department",
|
|
40858
40879
|
"workplace",
|
|
40859
40880
|
"companySize"
|
|
40860
|
-
],
|
|
40881
|
+
], t_ = {
|
|
40861
40882
|
created_at: "created",
|
|
40862
40883
|
createdAt: "created",
|
|
40863
40884
|
published_at: "created",
|
|
40864
40885
|
publishedAt: "created",
|
|
40865
40886
|
job_type: "jobType",
|
|
40866
40887
|
company_size: "companySize"
|
|
40867
|
-
},
|
|
40888
|
+
}, a_ = (t) => {
|
|
40868
40889
|
const a = [];
|
|
40869
40890
|
return t.forEach((n) => {
|
|
40870
|
-
const i =
|
|
40891
|
+
const i = t_[n] ?? n;
|
|
40871
40892
|
Dc.includes(i) && !a.includes(i) && a.push(i);
|
|
40872
40893
|
}), a.length > 0 ? a : [...Dc];
|
|
40873
|
-
},
|
|
40894
|
+
}, n_ = [
|
|
40874
40895
|
{ value: "full-time", label: "Full-time" },
|
|
40875
40896
|
{ value: "part-time", label: "Part-time" },
|
|
40876
40897
|
{ value: "intern", label: "Intern" },
|
|
40877
40898
|
{ value: "seasonal", label: "Seasonal" },
|
|
40878
40899
|
{ value: "contract", label: "Contract" }
|
|
40879
|
-
],
|
|
40900
|
+
], r_ = [
|
|
40880
40901
|
{ value: "today", label: "Today" },
|
|
40881
40902
|
{ value: "this_week", label: "This week" },
|
|
40882
40903
|
{ value: "last_week", label: "Last week" },
|
|
40883
40904
|
{ value: "this_month", label: "This month" },
|
|
40884
40905
|
{ value: "last_3_months", label: "Last 3 months" },
|
|
40885
40906
|
{ value: "this_year", label: "This year" }
|
|
40886
|
-
],
|
|
40907
|
+
], i_ = [
|
|
40887
40908
|
{ value: "remote", label: "Remote" },
|
|
40888
40909
|
{ value: "hybrid", label: "Hybrid" },
|
|
40889
40910
|
{ value: "onsite", label: "On-site" }
|
|
@@ -40891,14 +40912,14 @@ const KI = ({
|
|
|
40891
40912
|
var i;
|
|
40892
40913
|
const n = t[a];
|
|
40893
40914
|
return typeof n == "string" ? n.trim() : Array.isArray(n) ? ((i = n.find((s) => typeof s == "string")) == null ? void 0 : i.trim()) ?? "" : "";
|
|
40894
|
-
},
|
|
40915
|
+
}, s_ = (t) => {
|
|
40895
40916
|
const a = Ol(t, "workplace") || Ol(t, "workplace_type");
|
|
40896
40917
|
if (a) return a.toLowerCase();
|
|
40897
40918
|
const n = (t.location ?? "").toLowerCase();
|
|
40898
40919
|
return n.includes("remote") ? "remote" : n.includes("hybrid") ? "hybrid" : "onsite";
|
|
40899
|
-
},
|
|
40920
|
+
}, o_ = (t) => Array.from(new Set(t.map((a) => a.trim()).filter(Boolean))).map((a) => ({ value: a, label: a })), l_ = (t, a) => a.map((n) => {
|
|
40900
40921
|
if (n === "jobType")
|
|
40901
|
-
return { key: n, label: "Job Type", type: "checkbox", options:
|
|
40922
|
+
return { key: n, label: "Job Type", type: "checkbox", options: n_ };
|
|
40902
40923
|
if (n === "salaryRange") {
|
|
40903
40924
|
const c = Math.max(
|
|
40904
40925
|
1e5,
|
|
@@ -40912,9 +40933,9 @@ const KI = ({
|
|
|
40912
40933
|
};
|
|
40913
40934
|
}
|
|
40914
40935
|
if (n === "created")
|
|
40915
|
-
return { key: n, label: "Created", type: "checkbox", options:
|
|
40936
|
+
return { key: n, label: "Created", type: "checkbox", options: r_ };
|
|
40916
40937
|
if (n === "workplace")
|
|
40917
|
-
return { key: n, label: "Remote / Hybrid / On-site", type: "checkbox", options:
|
|
40938
|
+
return { key: n, label: "Remote / Hybrid / On-site", type: "checkbox", options: i_ };
|
|
40918
40939
|
const i = {
|
|
40919
40940
|
categories: "Categories",
|
|
40920
40941
|
company: "Company",
|
|
@@ -40929,7 +40950,7 @@ const KI = ({
|
|
|
40929
40950
|
city: "city",
|
|
40930
40951
|
department: "department",
|
|
40931
40952
|
companySize: "company_size"
|
|
40932
|
-
}, o =
|
|
40953
|
+
}, o = o_(t.map((c) => Ol(c, s[n])));
|
|
40933
40954
|
return {
|
|
40934
40955
|
key: n,
|
|
40935
40956
|
label: i[n],
|
|
@@ -40937,8 +40958,8 @@ const KI = ({
|
|
|
40937
40958
|
searchable: n === "categories" || n === "department",
|
|
40938
40959
|
options: o
|
|
40939
40960
|
};
|
|
40940
|
-
}),
|
|
40941
|
-
const n = /* @__PURE__ */ new Date(), i =
|
|
40961
|
+
}), c_ = (t) => new Date(t.created_at ?? t.published_at ?? t.scraped_at ?? 0), d_ = (t, a) => {
|
|
40962
|
+
const n = /* @__PURE__ */ new Date(), i = c_(t);
|
|
40942
40963
|
if (Number.isNaN(i.getTime())) return !1;
|
|
40943
40964
|
const s = 24 * 60 * 60 * 1e3, o = n.getTime() - i.getTime();
|
|
40944
40965
|
switch (a) {
|
|
@@ -40957,7 +40978,7 @@ const KI = ({
|
|
|
40957
40978
|
default:
|
|
40958
40979
|
return !0;
|
|
40959
40980
|
}
|
|
40960
|
-
},
|
|
40981
|
+
}, h_ = (t, a, n) => {
|
|
40961
40982
|
if (n.length === 0) return !0;
|
|
40962
40983
|
if (a === "salaryRange") {
|
|
40963
40984
|
if (n.length < 2) return !0;
|
|
@@ -40965,13 +40986,13 @@ const KI = ({
|
|
|
40965
40986
|
return !Number.isNaN(s) && !Number.isNaN(o) && d >= s && c <= o;
|
|
40966
40987
|
}
|
|
40967
40988
|
if (a === "created")
|
|
40968
|
-
return n.some((s) =>
|
|
40989
|
+
return n.some((s) => d_(t, s));
|
|
40969
40990
|
if (a === "jobType") {
|
|
40970
40991
|
const s = Ol(t, "job_type") || Ol(t, "type");
|
|
40971
40992
|
return n.includes(s.toLowerCase());
|
|
40972
40993
|
}
|
|
40973
40994
|
if (a === "workplace")
|
|
40974
|
-
return n.includes(
|
|
40995
|
+
return n.includes(s_(t));
|
|
40975
40996
|
const i = {
|
|
40976
40997
|
categories: "category",
|
|
40977
40998
|
company: "company",
|
|
@@ -40981,12 +41002,12 @@ const KI = ({
|
|
|
40981
41002
|
companySize: "company_size"
|
|
40982
41003
|
};
|
|
40983
41004
|
return n.includes(Ol(t, i[a]));
|
|
40984
|
-
},
|
|
41005
|
+
}, u_ = [
|
|
40985
41006
|
{ value: "date_desc", label: "Newest" },
|
|
40986
41007
|
{ value: "date_asc", label: "Oldest" },
|
|
40987
41008
|
{ value: "title_asc", label: "Title (A-Z)" },
|
|
40988
41009
|
{ value: "company_asc", label: "Company (A-Z)" }
|
|
40989
|
-
], uS = "savedJobs",
|
|
41010
|
+
], uS = "savedJobs", m_ = [
|
|
40990
41011
|
"vip",
|
|
40991
41012
|
"casino",
|
|
40992
41013
|
"marketing",
|
|
@@ -41015,7 +41036,7 @@ const KI = ({
|
|
|
41015
41036
|
var ne;
|
|
41016
41037
|
const [p, f] = A(g ?? []), [k, v] = A(!g), [x, N] = A(""), [C, b] = A({}), [L, I] = A(1), [S, w] = A(a), [M, P] = A("date_desc"), [D, T] = A("grid"), [_, z] = A([]), j = BN(h), O = le(() => {
|
|
41017
41038
|
const q = i ?? n ?? [...Dc];
|
|
41018
|
-
return
|
|
41039
|
+
return a_(q);
|
|
41019
41040
|
}, [n, i]);
|
|
41020
41041
|
se(() => {
|
|
41021
41042
|
try {
|
|
@@ -41066,12 +41087,12 @@ const KI = ({
|
|
|
41066
41087
|
U.length && (V[me] = Array.from(new Set(U)));
|
|
41067
41088
|
}), Object.keys(V).length > 0 && b((me) => ({ ...me, ...V }));
|
|
41068
41089
|
}, [O]);
|
|
41069
|
-
const F = le(() =>
|
|
41090
|
+
const F = le(() => l_(p, O).map((q) => ({
|
|
41070
41091
|
...q,
|
|
41071
41092
|
searchable: q.searchable ?? c.includes(q.key)
|
|
41072
41093
|
})), [p, O, c]), J = le(() => {
|
|
41073
41094
|
const q = x.trim().toLowerCase();
|
|
41074
|
-
return p.filter(($) => !q || `${$.title} ${$.company} ${$.location ?? ""}`.toLowerCase().includes(q) ? Object.entries(C).every(([me, U]) => U.length === 0 || !Dc.includes(me) ? !0 :
|
|
41095
|
+
return p.filter(($) => !q || `${$.title} ${$.company} ${$.location ?? ""}`.toLowerCase().includes(q) ? Object.entries(C).every(([me, U]) => U.length === 0 || !Dc.includes(me) ? !0 : h_($, me, U)) : !1);
|
|
41075
41096
|
}, [p, x, C]), X = le(() => {
|
|
41076
41097
|
const q = [...J];
|
|
41077
41098
|
return q.sort(($, V) => {
|
|
@@ -41181,7 +41202,7 @@ const KI = ({
|
|
|
41181
41202
|
{
|
|
41182
41203
|
title: "Jobs",
|
|
41183
41204
|
description: "Discover fresh opportunities across iGaming teams.",
|
|
41184
|
-
headerPopularTags:
|
|
41205
|
+
headerPopularTags: m_,
|
|
41185
41206
|
search: {
|
|
41186
41207
|
value: x,
|
|
41187
41208
|
onChange: N,
|
|
@@ -41196,7 +41217,7 @@ const KI = ({
|
|
|
41196
41217
|
activeFilters: oe,
|
|
41197
41218
|
sort: {
|
|
41198
41219
|
value: M,
|
|
41199
|
-
options:
|
|
41220
|
+
options: u_,
|
|
41200
41221
|
onChange: P
|
|
41201
41222
|
},
|
|
41202
41223
|
viewMode: D,
|
|
@@ -41238,28 +41259,7 @@ const KI = ({
|
|
|
41238
41259
|
] })
|
|
41239
41260
|
}
|
|
41240
41261
|
) });
|
|
41241
|
-
},
|
|
41242
|
-
"inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
|
|
41243
|
-
{
|
|
41244
|
-
variants: {
|
|
41245
|
-
variant: {
|
|
41246
|
-
default: "border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",
|
|
41247
|
-
secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-yellow-200/80",
|
|
41248
|
-
destructive: "border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",
|
|
41249
|
-
outline: "text-foreground",
|
|
41250
|
-
accent: "border-transparent bg-accent/20 text-accent hover:bg-accent/30 shadow-card",
|
|
41251
|
-
gaming: "border-transparent bg-gaming-gold/20 text-gaming-gold hover:bg-gaming-gold/30 shadow-card"
|
|
41252
|
-
}
|
|
41253
|
-
},
|
|
41254
|
-
defaultVariants: {
|
|
41255
|
-
variant: "default"
|
|
41256
|
-
}
|
|
41257
|
-
}
|
|
41258
|
-
);
|
|
41259
|
-
function H({ className: t, variant: a, ...n }) {
|
|
41260
|
-
return /* @__PURE__ */ e("div", { className: ye(m_({ variant: a }), t), ...n });
|
|
41261
|
-
}
|
|
41262
|
-
const p_ = (t) => {
|
|
41262
|
+
}, p_ = (t) => {
|
|
41263
41263
|
const a = new Date(t);
|
|
41264
41264
|
return Number.isNaN(a.getTime()) ? t : a.toLocaleDateString(void 0, {
|
|
41265
41265
|
year: "numeric",
|
|
@@ -48017,7 +48017,7 @@ const lA = {
|
|
|
48017
48017
|
const Me = xe.map((_t) => ({
|
|
48018
48018
|
..._t,
|
|
48019
48019
|
categories: Array.isArray(_t.categories) ? _t.categories : [],
|
|
48020
|
-
topTag:
|
|
48020
|
+
topTag: TD(_t.title || "")
|
|
48021
48021
|
})), Fe = {};
|
|
48022
48022
|
for (const _t of Me) {
|
|
48023
48023
|
const Ca = _t.topTag;
|
|
@@ -56021,7 +56021,7 @@ function oE({
|
|
|
56021
56021
|
scriptStrategy: n = "afterInteractive",
|
|
56022
56022
|
scriptContent: i = DF
|
|
56023
56023
|
}) {
|
|
56024
|
-
return /* @__PURE__ */ e(
|
|
56024
|
+
return /* @__PURE__ */ e(hD, { allow: t, children: /* @__PURE__ */ e(RF, { id: a, strategy: n, children: i }) });
|
|
56025
56025
|
}
|
|
56026
56026
|
const _F = qN(
|
|
56027
56027
|
"relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-0 [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",
|
|
@@ -66595,14 +66595,15 @@ const rn = /* @__PURE__ */ new Map(), _c = /* @__PURE__ */ new Map(), tH = () =>
|
|
|
66595
66595
|
] });
|
|
66596
66596
|
};
|
|
66597
66597
|
export {
|
|
66598
|
-
|
|
66598
|
+
WT as Advantages,
|
|
66599
66599
|
oE as Analytics,
|
|
66600
|
+
H as Badge,
|
|
66600
66601
|
Gc as Banner,
|
|
66601
66602
|
R as Button,
|
|
66602
66603
|
Yj as CandidateCard,
|
|
66603
66604
|
XH as CandidateProfile,
|
|
66604
|
-
|
|
66605
|
-
|
|
66605
|
+
cR as Cart,
|
|
66606
|
+
lR as Chatbot,
|
|
66606
66607
|
Kq as CompaniesList,
|
|
66607
66608
|
Kj as CompanyAdminCandidates,
|
|
66608
66609
|
rE as CompanyAdminEditDialog,
|
|
@@ -66622,44 +66623,44 @@ export {
|
|
|
66622
66623
|
eE as CompanyGroupDetail,
|
|
66623
66624
|
SE as CompanyOnboardingModal,
|
|
66624
66625
|
EH as Complaints,
|
|
66625
|
-
|
|
66626
|
-
|
|
66627
|
-
|
|
66628
|
-
|
|
66626
|
+
uD as ConsentBanner,
|
|
66627
|
+
dD as ConsentProvider,
|
|
66628
|
+
hR as CourseTypes,
|
|
66629
|
+
JT as Courses,
|
|
66629
66630
|
Dq as CoursesList,
|
|
66630
66631
|
JH as CoursesPage,
|
|
66631
66632
|
fE as Dashboard,
|
|
66632
66633
|
PO as DashboardOnboardingSection,
|
|
66633
|
-
|
|
66634
|
+
XT as Destinations,
|
|
66634
66635
|
hn as DirectoryShell,
|
|
66635
|
-
|
|
66636
|
+
e_ as DirectoryToolbar,
|
|
66636
66637
|
S9 as DirectoryViewModeToggle,
|
|
66637
66638
|
qH as EventsList,
|
|
66638
66639
|
XB as ExamplesPanel,
|
|
66639
|
-
|
|
66640
|
+
iR as FAQ,
|
|
66640
66641
|
LH as FeatureJobs,
|
|
66641
|
-
|
|
66642
|
+
rR as Features,
|
|
66642
66643
|
RH as Footer,
|
|
66643
|
-
|
|
66644
|
-
|
|
66644
|
+
oD as FooterLib,
|
|
66645
|
+
NR as ForEmployers,
|
|
66645
66646
|
hE as ForgotPassword,
|
|
66646
66647
|
RB as FreelancerProfile,
|
|
66647
66648
|
wE as FreelancerProfileContainer,
|
|
66648
66649
|
VB as Freelancers,
|
|
66649
66650
|
bE as FreelancersContainer,
|
|
66650
66651
|
xE as FreelancersList,
|
|
66651
|
-
|
|
66652
|
+
oR as Gallery,
|
|
66652
66653
|
NH as GroupPrices,
|
|
66653
66654
|
WH as Header,
|
|
66654
|
-
|
|
66655
|
-
|
|
66656
|
-
|
|
66655
|
+
sD as HeaderAlternative,
|
|
66656
|
+
eR as Hero,
|
|
66657
|
+
CR as HeroAlternative,
|
|
66657
66658
|
SH as HomePage,
|
|
66658
66659
|
IH as IgamingCareerHome,
|
|
66659
66660
|
ie as Input,
|
|
66660
66661
|
$H as JobDetailPage,
|
|
66661
66662
|
TH as JobListings,
|
|
66662
|
-
|
|
66663
|
+
PR as JobSearchWidget,
|
|
66663
66664
|
zH as JobsList,
|
|
66664
66665
|
HH as JurisdictionsList,
|
|
66665
66666
|
_H as Listing,
|
|
@@ -66671,8 +66672,8 @@ export {
|
|
|
66671
66672
|
YH as NewsList,
|
|
66672
66673
|
ZH as NewsPage,
|
|
66673
66674
|
AH as Newsletter,
|
|
66674
|
-
|
|
66675
|
-
|
|
66675
|
+
AR as NewsletterV2,
|
|
66676
|
+
wD as NotificationModal,
|
|
66676
66677
|
LE as NotificationProvider,
|
|
66677
66678
|
IE as NotificationTester,
|
|
66678
66679
|
hH as NotificationViewport,
|
|
@@ -66681,7 +66682,7 @@ export {
|
|
|
66681
66682
|
KF as OnboardingModal,
|
|
66682
66683
|
gE as OnboardingPopup,
|
|
66683
66684
|
yE as OnboardingProvider,
|
|
66684
|
-
|
|
66685
|
+
lD as Partners,
|
|
66685
66686
|
jH as PlacesList,
|
|
66686
66687
|
FH as ProductCategoriesList,
|
|
66687
66688
|
cE as Register,
|
|
@@ -66690,8 +66691,8 @@ export {
|
|
|
66690
66691
|
BH as RegulatorsList,
|
|
66691
66692
|
VH as Reviews,
|
|
66692
66693
|
w9 as SearchableSelect,
|
|
66693
|
-
|
|
66694
|
-
|
|
66694
|
+
tR as Services,
|
|
66695
|
+
dR as ServicesNoIcons,
|
|
66695
66696
|
vE as ShieldedActionButton,
|
|
66696
66697
|
PH as SidebarNewsletter,
|
|
66697
66698
|
b9 as SidebarNewsletterV2,
|
|
@@ -66702,13 +66703,13 @@ export {
|
|
|
66702
66703
|
CE as TaxonomyApproveForm,
|
|
66703
66704
|
NE as TaxonomySuggestionDetail,
|
|
66704
66705
|
ME as TaxonomySuggestionTable,
|
|
66705
|
-
|
|
66706
|
+
aR as Testimonials,
|
|
66706
66707
|
ut as Textarea,
|
|
66707
|
-
|
|
66708
|
+
LR as TrustSignals,
|
|
66708
66709
|
iS as UserIdentityMenu,
|
|
66709
|
-
|
|
66710
|
+
SR as ValueProposition,
|
|
66710
66711
|
mE as VerificationBanner,
|
|
66711
|
-
|
|
66712
|
+
nR as Videos,
|
|
66712
66713
|
BS as calculateOnboardingProgress,
|
|
66713
66714
|
iE as canEditSection,
|
|
66714
66715
|
iH as clearNotifications,
|