@igamingcareer/igaming-components 1.0.89 → 1.0.90

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.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as g from "react";
2
- import Ke, { forwardRef as Nc, createElement as Ma, useState as A, useMemo as Fe, useEffect as ne, createContext as VL, useContext as BL, useCallback as Ct, useRef as Hn, useLayoutEffect as mT } from "react";
2
+ import Ke, { forwardRef as Nc, createElement as Ma, useState as A, useMemo as Fe, useEffect as re, createContext as VL, useContext as BL, useCallback as Ct, useRef as Hn, useLayoutEffect as mT } from "react";
3
3
  import * as Yj from "react-dom";
4
4
  import $L from "react-dom";
5
5
  function yT(t) {
@@ -61,10 +61,10 @@ function xT() {
61
61
  {
62
62
  var z = k.ReactDebugCurrentFrame, Y = z.getStackAddendum();
63
63
  Y !== "" && (B += "%s", R = R.concat([Y]));
64
- var ce = R.map(function(me) {
64
+ var le = R.map(function(me) {
65
65
  return String(me);
66
66
  });
67
- ce.unshift("Warning: " + B), Function.prototype.apply.call(console[P], console, ce);
67
+ le.unshift("Warning: " + B), Function.prototype.apply.call(console[P], console, le);
68
68
  }
69
69
  }
70
70
  var j = !1, M = !1, L = !1, N = !1, C = !1, S;
@@ -121,9 +121,9 @@ function xT() {
121
121
  var z = P.displayName || null;
122
122
  return z !== null ? z : D(P.type) || "Memo";
123
123
  case y: {
124
- var Y = P, ce = Y._payload, me = Y._init;
124
+ var Y = P, le = Y._payload, me = Y._init;
125
125
  try {
126
- return D(me(ce));
126
+ return D(me(le));
127
127
  } catch {
128
128
  return null;
129
129
  }
@@ -131,18 +131,18 @@ function xT() {
131
131
  }
132
132
  return null;
133
133
  }
134
- var H = Object.assign, G = 0, V, $, O, se, K, X, Z;
135
- function de() {
134
+ var H = Object.assign, G = 0, V, U, O, ie, K, X, J;
135
+ function se() {
136
136
  }
137
- de.__reactDisabledLog = !0;
138
- function ae() {
137
+ se.__reactDisabledLog = !0;
138
+ function te() {
139
139
  {
140
140
  if (G === 0) {
141
- V = console.log, $ = console.info, O = console.warn, se = console.error, K = console.group, X = console.groupCollapsed, Z = console.groupEnd;
141
+ V = console.log, U = console.info, O = console.warn, ie = console.error, K = console.group, X = console.groupCollapsed, J = console.groupEnd;
142
142
  var P = {
143
143
  configurable: !0,
144
144
  enumerable: !0,
145
- value: de,
145
+ value: se,
146
146
  writable: !0
147
147
  };
148
148
  Object.defineProperties(console, {
@@ -158,7 +158,7 @@ function xT() {
158
158
  G++;
159
159
  }
160
160
  }
161
- function xe() {
161
+ function fe() {
162
162
  {
163
163
  if (G--, G === 0) {
164
164
  var P = {
@@ -171,13 +171,13 @@ function xT() {
171
171
  value: V
172
172
  }),
173
173
  info: H({}, P, {
174
- value: $
174
+ value: U
175
175
  }),
176
176
  warn: H({}, P, {
177
177
  value: O
178
178
  }),
179
179
  error: H({}, P, {
180
- value: se
180
+ value: ie
181
181
  }),
182
182
  group: H({}, P, {
183
183
  value: K
@@ -186,46 +186,46 @@ function xT() {
186
186
  value: X
187
187
  }),
188
188
  groupEnd: H({}, P, {
189
- value: Z
189
+ value: J
190
190
  })
191
191
  });
192
192
  }
193
193
  G < 0 && w("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
194
194
  }
195
195
  }
196
- var be = k.ReactCurrentDispatcher, J;
197
- function re(P, B, R) {
196
+ var we = k.ReactCurrentDispatcher, Z;
197
+ function ae(P, B, R) {
198
198
  {
199
- if (J === void 0)
199
+ if (Z === void 0)
200
200
  try {
201
201
  throw Error();
202
202
  } catch (Y) {
203
203
  var z = Y.stack.trim().match(/\n( *(at )?)/);
204
- J = z && z[1] || "";
204
+ Z = z && z[1] || "";
205
205
  }
206
206
  return `
207
- ` + J + P;
207
+ ` + Z + P;
208
208
  }
209
209
  }
210
- var ve = !1, ke;
210
+ var ke = !1, ve;
211
211
  {
212
- var ie = typeof WeakMap == "function" ? WeakMap : Map;
213
- ke = new ie();
212
+ var oe = typeof WeakMap == "function" ? WeakMap : Map;
213
+ ve = new oe();
214
214
  }
215
215
  function ye(P, B) {
216
- if (!P || ve)
216
+ if (!P || ke)
217
217
  return "";
218
218
  {
219
- var R = ke.get(P);
219
+ var R = ve.get(P);
220
220
  if (R !== void 0)
221
221
  return R;
222
222
  }
223
223
  var z;
224
- ve = !0;
224
+ ke = !0;
225
225
  var Y = Error.prepareStackTrace;
226
226
  Error.prepareStackTrace = void 0;
227
- var ce;
228
- ce = be.current, be.current = null, ae();
227
+ var le;
228
+ le = we.current, we.current = null, te();
229
229
  try {
230
230
  if (B) {
231
231
  var me = function() {
@@ -271,17 +271,17 @@ function xT() {
271
271
  if (je--, Ie--, Ie < 0 || ge[je] !== De[Ie]) {
272
272
  var qe = `
273
273
  ` + ge[je].replace(" at new ", " at ");
274
- return P.displayName && qe.includes("<anonymous>") && (qe = qe.replace("<anonymous>", P.displayName)), typeof P == "function" && ke.set(P, qe), qe;
274
+ return P.displayName && qe.includes("<anonymous>") && (qe = qe.replace("<anonymous>", P.displayName)), typeof P == "function" && ve.set(P, qe), qe;
275
275
  }
276
276
  while (je >= 1 && Ie >= 0);
277
277
  break;
278
278
  }
279
279
  }
280
280
  } finally {
281
- ve = !1, be.current = ce, xe(), Error.prepareStackTrace = Y;
281
+ ke = !1, we.current = le, fe(), Error.prepareStackTrace = Y;
282
282
  }
283
- var pt = P ? P.displayName || P.name : "", sa = pt ? re(pt) : "";
284
- return typeof P == "function" && ke.set(P, sa), sa;
283
+ var pt = P ? P.displayName || P.name : "", sa = pt ? ae(pt) : "";
284
+ return typeof P == "function" && ve.set(P, sa), sa;
285
285
  }
286
286
  function Ae(P, B, R) {
287
287
  return ye(P, !1);
@@ -296,12 +296,12 @@ function xT() {
296
296
  if (typeof P == "function")
297
297
  return ye(P, Pe(P));
298
298
  if (typeof P == "string")
299
- return re(P);
299
+ return ae(P);
300
300
  switch (P) {
301
301
  case h:
302
- return re("Suspense");
302
+ return ae("Suspense");
303
303
  case u:
304
- return re("SuspenseList");
304
+ return ae("SuspenseList");
305
305
  }
306
306
  if (typeof P == "object")
307
307
  switch (P.$$typeof) {
@@ -310,9 +310,9 @@ function xT() {
310
310
  case p:
311
311
  return He(P.type, B, R);
312
312
  case y: {
313
- var z = P, Y = z._payload, ce = z._init;
313
+ var z = P, Y = z._payload, le = z._init;
314
314
  try {
315
- return He(ce(Y), B, R);
315
+ return He(le(Y), B, R);
316
316
  } catch {
317
317
  }
318
318
  }
@@ -329,9 +329,9 @@ function xT() {
329
329
  }
330
330
  function Ge(P, B, R, z, Y) {
331
331
  {
332
- var ce = Function.call.bind(dt);
332
+ var le = Function.call.bind(dt);
333
333
  for (var me in P)
334
- if (ce(P, me)) {
334
+ if (le(P, me)) {
335
335
  var ge = void 0;
336
336
  try {
337
337
  if (typeof P[me] != "function") {
@@ -370,12 +370,12 @@ function xT() {
370
370
  if (aa(P))
371
371
  return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", un(P)), Rt(P);
372
372
  }
373
- var F = k.ReactCurrentOwner, U = {
373
+ var F = k.ReactCurrentOwner, $ = {
374
374
  key: !0,
375
375
  ref: !0,
376
376
  __self: !0,
377
377
  __source: !0
378
- }, te, Le, Oe;
378
+ }, ne, Le, Oe;
379
379
  Oe = {};
380
380
  function tt(P) {
381
381
  if (dt.call(P, "ref")) {
@@ -402,7 +402,7 @@ function xT() {
402
402
  function ra(P, B) {
403
403
  {
404
404
  var R = function() {
405
- te || (te = !0, w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", B));
405
+ ne || (ne = !0, w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", B));
406
406
  };
407
407
  R.isReactWarning = !0, Object.defineProperty(P, "key", {
408
408
  get: R,
@@ -421,7 +421,7 @@ function xT() {
421
421
  });
422
422
  }
423
423
  }
424
- var _c = function(P, B, R, z, Y, ce, me) {
424
+ var _c = function(P, B, R, z, Y, le, me) {
425
425
  var ge = {
426
426
  // This tag allows us to uniquely identify this as a React Element
427
427
  $$typeof: a,
@@ -431,7 +431,7 @@ function xT() {
431
431
  ref: R,
432
432
  props: me,
433
433
  // Record the component responsible for creating this element.
434
- _owner: ce
434
+ _owner: le
435
435
  };
436
436
  return ge._store = {}, Object.defineProperty(ge._store, "validated", {
437
437
  configurable: !1,
@@ -452,14 +452,14 @@ function xT() {
452
452
  };
453
453
  function Yn(P, B, R, z, Y) {
454
454
  {
455
- var ce, me = {}, ge = null, De = null;
455
+ var le, me = {}, ge = null, De = null;
456
456
  R !== void 0 && (Ua(R), ge = "" + R), Be(B) && (Ua(B.key), ge = "" + B.key), tt(B) && (De = B.ref, na(B, Y));
457
- for (ce in B)
458
- dt.call(B, ce) && !U.hasOwnProperty(ce) && (me[ce] = B[ce]);
457
+ for (le in B)
458
+ dt.call(B, le) && !$.hasOwnProperty(le) && (me[le] = B[le]);
459
459
  if (P && P.defaultProps) {
460
460
  var je = P.defaultProps;
461
- for (ce in je)
462
- me[ce] === void 0 && (me[ce] = je[ce]);
461
+ for (le in je)
462
+ me[le] === void 0 && (me[le] = je[le]);
463
463
  }
464
464
  if (ge || De) {
465
465
  var Ie = typeof P == "function" ? P.displayName || P.name || "Unknown" : P;
@@ -493,7 +493,7 @@ Check the render method of \`` + P + "`.";
493
493
  return "";
494
494
  }
495
495
  }
496
- function oe(P) {
496
+ function ce(P) {
497
497
  return "";
498
498
  }
499
499
  var Me = {};
@@ -536,7 +536,7 @@ Check the top-level render call using <` + R + ">.");
536
536
  else if (P) {
537
537
  var Y = v(P);
538
538
  if (typeof Y == "function" && Y !== P.entries)
539
- for (var ce = Y.call(P), me; !(me = ce.next()).done; )
539
+ for (var le = Y.call(P), me; !(me = le.next()).done; )
540
540
  Kn(me.value) && We(me.value, B);
541
541
  }
542
542
  }
@@ -579,18 +579,18 @@ Check the top-level render call using <` + R + ">.");
579
579
  }
580
580
  }
581
581
  var yn = {};
582
- function Ze(P, B, R, z, Y, ce) {
582
+ function Ze(P, B, R, z, Y, le) {
583
583
  {
584
584
  var me = q(P);
585
585
  if (!me) {
586
586
  var ge = "";
587
587
  (P === void 0 || typeof P == "object" && P !== null && Object.keys(P).length === 0) && (ge += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
588
- var De = oe();
588
+ var De = ce();
589
589
  De ? ge += De : ge += W();
590
590
  var je;
591
591
  P === null ? je = "null" : nt(P) ? je = "array" : P !== void 0 && P.$$typeof === a ? (je = "<" + (D(P.type) || "Unknown") + " />", ge = " Did you accidentally export a JSX literal instead of a component?") : je = typeof P, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", je, ge);
592
592
  }
593
- var Ie = Yn(P, B, R, Y, ce);
593
+ var Ie = Yn(P, B, R, Y, le);
594
594
  if (Ie == null)
595
595
  return Ie;
596
596
  if (me) {
@@ -980,7 +980,7 @@ function OT(t, ...a) {
980
980
  const Ee = (t) => {
981
981
  const a = (n) => n[t] || [];
982
982
  return a.isThemeGetter = !0, a;
983
- }, YL = /^\[(?:([a-z-]+):)?(.+)\]$/i, ET = /^\d+\/\d+$/, HT = /* @__PURE__ */ new Set(["px", "full", "screen"]), VT = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, BT = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, $T = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, UT = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, GT = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Za = (t) => ac(t) || HT.has(t) || ET.test(t), fn = (t) => Sc(t, "length", eD), ac = (t) => !!t && !Number.isNaN(Number(t)), L9 = (t) => Sc(t, "number", ac), qc = (t) => !!t && Number.isInteger(Number(t)), WT = (t) => t.endsWith("%") && ac(t.slice(0, -1)), we = (t) => YL.test(t), xn = (t) => VT.test(t), ZT = /* @__PURE__ */ new Set(["length", "size", "percentage"]), JT = (t) => Sc(t, ZT, KL), XT = (t) => Sc(t, "position", KL), YT = /* @__PURE__ */ new Set(["image", "url"]), KT = (t) => Sc(t, YT, aD), QT = (t) => Sc(t, "", tD), zc = () => !0, Sc = (t, a, n) => {
983
+ }, YL = /^\[(?:([a-z-]+):)?(.+)\]$/i, ET = /^\d+\/\d+$/, HT = /* @__PURE__ */ new Set(["px", "full", "screen"]), VT = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, BT = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, $T = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, UT = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, GT = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Za = (t) => ac(t) || HT.has(t) || ET.test(t), fn = (t) => Sc(t, "length", eD), ac = (t) => !!t && !Number.isNaN(Number(t)), L9 = (t) => Sc(t, "number", ac), qc = (t) => !!t && Number.isInteger(Number(t)), WT = (t) => t.endsWith("%") && ac(t.slice(0, -1)), be = (t) => YL.test(t), xn = (t) => VT.test(t), ZT = /* @__PURE__ */ new Set(["length", "size", "percentage"]), JT = (t) => Sc(t, ZT, KL), XT = (t) => Sc(t, "position", KL), YT = /* @__PURE__ */ new Set(["image", "url"]), KT = (t) => Sc(t, YT, aD), QT = (t) => Sc(t, "", tD), zc = () => !0, Sc = (t, a, n) => {
984
984
  const r = YL.exec(t);
985
985
  return r ? r[1] ? typeof a == "string" ? r[1] === a : a.has(r[1]) : n(r[2]) : !1;
986
986
  }, eD = (t) => (
@@ -989,23 +989,23 @@ const Ee = (t) => {
989
989
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
990
990
  BT.test(t) && !$T.test(t)
991
991
  ), KL = () => !1, tD = (t) => UT.test(t), aD = (t) => GT.test(t), nD = () => {
992
- const t = Ee("colors"), a = Ee("spacing"), n = Ee("blur"), r = Ee("brightness"), s = Ee("borderColor"), i = Ee("borderRadius"), o = Ee("borderSpacing"), l = Ee("borderWidth"), d = Ee("contrast"), h = Ee("grayscale"), u = Ee("hueRotate"), p = Ee("invert"), y = Ee("gap"), m = Ee("gradientColorStops"), x = Ee("gradientColorStopPositions"), f = Ee("inset"), v = Ee("margin"), k = Ee("opacity"), w = Ee("padding"), b = Ee("saturate"), j = Ee("scale"), M = Ee("sepia"), L = Ee("skew"), N = Ee("space"), C = Ee("translate"), S = () => ["auto", "contain", "none"], q = () => ["auto", "hidden", "clip", "visible", "scroll"], _ = () => ["auto", we, a], I = () => [we, a], D = () => ["", Za, fn], H = () => ["auto", ac, we], G = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], V = () => ["solid", "dashed", "dotted", "double", "none"], $ = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], O = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], se = () => ["", "0", we], K = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], X = () => [ac, we];
992
+ const t = Ee("colors"), a = Ee("spacing"), n = Ee("blur"), r = Ee("brightness"), s = Ee("borderColor"), i = Ee("borderRadius"), o = Ee("borderSpacing"), l = Ee("borderWidth"), d = Ee("contrast"), h = Ee("grayscale"), u = Ee("hueRotate"), p = Ee("invert"), y = Ee("gap"), m = Ee("gradientColorStops"), x = Ee("gradientColorStopPositions"), f = Ee("inset"), v = Ee("margin"), k = Ee("opacity"), w = Ee("padding"), b = Ee("saturate"), j = Ee("scale"), M = Ee("sepia"), L = Ee("skew"), N = Ee("space"), C = Ee("translate"), S = () => ["auto", "contain", "none"], q = () => ["auto", "hidden", "clip", "visible", "scroll"], _ = () => ["auto", be, a], I = () => [be, a], D = () => ["", Za, fn], H = () => ["auto", ac, be], G = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], V = () => ["solid", "dashed", "dotted", "double", "none"], U = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], O = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], ie = () => ["", "0", be], K = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], X = () => [ac, be];
993
993
  return {
994
994
  cacheSize: 500,
995
995
  separator: ":",
996
996
  theme: {
997
997
  colors: [zc],
998
998
  spacing: [Za, fn],
999
- blur: ["none", "", xn, we],
999
+ blur: ["none", "", xn, be],
1000
1000
  brightness: X(),
1001
1001
  borderColor: [t],
1002
- borderRadius: ["none", "", "full", xn, we],
1002
+ borderRadius: ["none", "", "full", xn, be],
1003
1003
  borderSpacing: I(),
1004
1004
  borderWidth: D(),
1005
1005
  contrast: X(),
1006
- grayscale: se(),
1006
+ grayscale: ie(),
1007
1007
  hueRotate: X(),
1008
- invert: se(),
1008
+ invert: ie(),
1009
1009
  gap: I(),
1010
1010
  gradientColorStops: [t],
1011
1011
  gradientColorStopPositions: [WT, fn],
@@ -1015,7 +1015,7 @@ const Ee = (t) => {
1015
1015
  padding: I(),
1016
1016
  saturate: X(),
1017
1017
  scale: X(),
1018
- sepia: se(),
1018
+ sepia: ie(),
1019
1019
  skew: X(),
1020
1020
  space: I(),
1021
1021
  translate: I()
@@ -1027,7 +1027,7 @@ const Ee = (t) => {
1027
1027
  * @see https://tailwindcss.com/docs/aspect-ratio
1028
1028
  */
1029
1029
  aspect: [{
1030
- aspect: ["auto", "square", "video", we]
1030
+ aspect: ["auto", "square", "video", be]
1031
1031
  }],
1032
1032
  /**
1033
1033
  * Container
@@ -1112,7 +1112,7 @@ const Ee = (t) => {
1112
1112
  * @see https://tailwindcss.com/docs/object-position
1113
1113
  */
1114
1114
  "object-position": [{
1115
- object: [...G(), we]
1115
+ object: [...G(), be]
1116
1116
  }],
1117
1117
  /**
1118
1118
  * Overflow
@@ -1234,7 +1234,7 @@ const Ee = (t) => {
1234
1234
  * @see https://tailwindcss.com/docs/z-index
1235
1235
  */
1236
1236
  z: [{
1237
- z: ["auto", qc, we]
1237
+ z: ["auto", qc, be]
1238
1238
  }],
1239
1239
  // Flexbox and Grid
1240
1240
  /**
@@ -1263,28 +1263,28 @@ const Ee = (t) => {
1263
1263
  * @see https://tailwindcss.com/docs/flex
1264
1264
  */
1265
1265
  flex: [{
1266
- flex: ["1", "auto", "initial", "none", we]
1266
+ flex: ["1", "auto", "initial", "none", be]
1267
1267
  }],
1268
1268
  /**
1269
1269
  * Flex Grow
1270
1270
  * @see https://tailwindcss.com/docs/flex-grow
1271
1271
  */
1272
1272
  grow: [{
1273
- grow: se()
1273
+ grow: ie()
1274
1274
  }],
1275
1275
  /**
1276
1276
  * Flex Shrink
1277
1277
  * @see https://tailwindcss.com/docs/flex-shrink
1278
1278
  */
1279
1279
  shrink: [{
1280
- shrink: se()
1280
+ shrink: ie()
1281
1281
  }],
1282
1282
  /**
1283
1283
  * Order
1284
1284
  * @see https://tailwindcss.com/docs/order
1285
1285
  */
1286
1286
  order: [{
1287
- order: ["first", "last", "none", qc, we]
1287
+ order: ["first", "last", "none", qc, be]
1288
1288
  }],
1289
1289
  /**
1290
1290
  * Grid Template Columns
@@ -1299,8 +1299,8 @@ const Ee = (t) => {
1299
1299
  */
1300
1300
  "col-start-end": [{
1301
1301
  col: ["auto", {
1302
- span: ["full", qc, we]
1303
- }, we]
1302
+ span: ["full", qc, be]
1303
+ }, be]
1304
1304
  }],
1305
1305
  /**
1306
1306
  * Grid Column Start
@@ -1329,8 +1329,8 @@ const Ee = (t) => {
1329
1329
  */
1330
1330
  "row-start-end": [{
1331
1331
  row: ["auto", {
1332
- span: [qc, we]
1333
- }, we]
1332
+ span: [qc, be]
1333
+ }, be]
1334
1334
  }],
1335
1335
  /**
1336
1336
  * Grid Row Start
@@ -1358,14 +1358,14 @@ const Ee = (t) => {
1358
1358
  * @see https://tailwindcss.com/docs/grid-auto-columns
1359
1359
  */
1360
1360
  "auto-cols": [{
1361
- "auto-cols": ["auto", "min", "max", "fr", we]
1361
+ "auto-cols": ["auto", "min", "max", "fr", be]
1362
1362
  }],
1363
1363
  /**
1364
1364
  * Grid Auto Rows
1365
1365
  * @see https://tailwindcss.com/docs/grid-auto-rows
1366
1366
  */
1367
1367
  "auto-rows": [{
1368
- "auto-rows": ["auto", "min", "max", "fr", we]
1368
+ "auto-rows": ["auto", "min", "max", "fr", be]
1369
1369
  }],
1370
1370
  /**
1371
1371
  * Gap
@@ -1608,21 +1608,21 @@ const Ee = (t) => {
1608
1608
  * @see https://tailwindcss.com/docs/width
1609
1609
  */
1610
1610
  w: [{
1611
- w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", we, a]
1611
+ w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", be, a]
1612
1612
  }],
1613
1613
  /**
1614
1614
  * Min-Width
1615
1615
  * @see https://tailwindcss.com/docs/min-width
1616
1616
  */
1617
1617
  "min-w": [{
1618
- "min-w": [we, a, "min", "max", "fit"]
1618
+ "min-w": [be, a, "min", "max", "fit"]
1619
1619
  }],
1620
1620
  /**
1621
1621
  * Max-Width
1622
1622
  * @see https://tailwindcss.com/docs/max-width
1623
1623
  */
1624
1624
  "max-w": [{
1625
- "max-w": [we, a, "none", "full", "min", "max", "fit", "prose", {
1625
+ "max-w": [be, a, "none", "full", "min", "max", "fit", "prose", {
1626
1626
  screen: [xn]
1627
1627
  }, xn]
1628
1628
  }],
@@ -1631,28 +1631,28 @@ const Ee = (t) => {
1631
1631
  * @see https://tailwindcss.com/docs/height
1632
1632
  */
1633
1633
  h: [{
1634
- h: [we, a, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
1634
+ h: [be, a, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
1635
1635
  }],
1636
1636
  /**
1637
1637
  * Min-Height
1638
1638
  * @see https://tailwindcss.com/docs/min-height
1639
1639
  */
1640
1640
  "min-h": [{
1641
- "min-h": [we, a, "min", "max", "fit", "svh", "lvh", "dvh"]
1641
+ "min-h": [be, a, "min", "max", "fit", "svh", "lvh", "dvh"]
1642
1642
  }],
1643
1643
  /**
1644
1644
  * Max-Height
1645
1645
  * @see https://tailwindcss.com/docs/max-height
1646
1646
  */
1647
1647
  "max-h": [{
1648
- "max-h": [we, a, "min", "max", "fit", "svh", "lvh", "dvh"]
1648
+ "max-h": [be, a, "min", "max", "fit", "svh", "lvh", "dvh"]
1649
1649
  }],
1650
1650
  /**
1651
1651
  * Size
1652
1652
  * @see https://tailwindcss.com/docs/size
1653
1653
  */
1654
1654
  size: [{
1655
- size: [we, a, "auto", "min", "max", "fit"]
1655
+ size: [be, a, "auto", "min", "max", "fit"]
1656
1656
  }],
1657
1657
  // Typography
1658
1658
  /**
@@ -1721,7 +1721,7 @@ const Ee = (t) => {
1721
1721
  * @see https://tailwindcss.com/docs/letter-spacing
1722
1722
  */
1723
1723
  tracking: [{
1724
- tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", we]
1724
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", be]
1725
1725
  }],
1726
1726
  /**
1727
1727
  * Line Clamp
@@ -1735,21 +1735,21 @@ const Ee = (t) => {
1735
1735
  * @see https://tailwindcss.com/docs/line-height
1736
1736
  */
1737
1737
  leading: [{
1738
- leading: ["none", "tight", "snug", "normal", "relaxed", "loose", Za, we]
1738
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose", Za, be]
1739
1739
  }],
1740
1740
  /**
1741
1741
  * List Style Image
1742
1742
  * @see https://tailwindcss.com/docs/list-style-image
1743
1743
  */
1744
1744
  "list-image": [{
1745
- "list-image": ["none", we]
1745
+ "list-image": ["none", be]
1746
1746
  }],
1747
1747
  /**
1748
1748
  * List Style Type
1749
1749
  * @see https://tailwindcss.com/docs/list-style-type
1750
1750
  */
1751
1751
  "list-style-type": [{
1752
- list: ["none", "disc", "decimal", we]
1752
+ list: ["none", "disc", "decimal", be]
1753
1753
  }],
1754
1754
  /**
1755
1755
  * List Style Position
@@ -1818,7 +1818,7 @@ const Ee = (t) => {
1818
1818
  * @see https://tailwindcss.com/docs/text-underline-offset
1819
1819
  */
1820
1820
  "underline-offset": [{
1821
- "underline-offset": ["auto", Za, we]
1821
+ "underline-offset": ["auto", Za, be]
1822
1822
  }],
1823
1823
  /**
1824
1824
  * Text Decoration Color
@@ -1856,7 +1856,7 @@ const Ee = (t) => {
1856
1856
  * @see https://tailwindcss.com/docs/vertical-align
1857
1857
  */
1858
1858
  "vertical-align": [{
1859
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", we]
1859
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", be]
1860
1860
  }],
1861
1861
  /**
1862
1862
  * Whitespace
@@ -1884,7 +1884,7 @@ const Ee = (t) => {
1884
1884
  * @see https://tailwindcss.com/docs/content
1885
1885
  */
1886
1886
  content: [{
1887
- content: ["none", we]
1887
+ content: ["none", be]
1888
1888
  }],
1889
1889
  // Backgrounds
1890
1890
  /**
@@ -2300,7 +2300,7 @@ const Ee = (t) => {
2300
2300
  * @see https://tailwindcss.com/docs/outline-offset
2301
2301
  */
2302
2302
  "outline-offset": [{
2303
- "outline-offset": [Za, we]
2303
+ "outline-offset": [Za, be]
2304
2304
  }],
2305
2305
  /**
2306
2306
  * Outline Width
@@ -2383,14 +2383,14 @@ const Ee = (t) => {
2383
2383
  * @see https://tailwindcss.com/docs/mix-blend-mode
2384
2384
  */
2385
2385
  "mix-blend": [{
2386
- "mix-blend": [...$(), "plus-lighter", "plus-darker"]
2386
+ "mix-blend": [...U(), "plus-lighter", "plus-darker"]
2387
2387
  }],
2388
2388
  /**
2389
2389
  * Background Blend Mode
2390
2390
  * @see https://tailwindcss.com/docs/background-blend-mode
2391
2391
  */
2392
2392
  "bg-blend": [{
2393
- "bg-blend": $()
2393
+ "bg-blend": U()
2394
2394
  }],
2395
2395
  // Filters
2396
2396
  /**
@@ -2427,7 +2427,7 @@ const Ee = (t) => {
2427
2427
  * @see https://tailwindcss.com/docs/drop-shadow
2428
2428
  */
2429
2429
  "drop-shadow": [{
2430
- "drop-shadow": ["", "none", xn, we]
2430
+ "drop-shadow": ["", "none", xn, be]
2431
2431
  }],
2432
2432
  /**
2433
2433
  * Grayscale
@@ -2584,7 +2584,7 @@ const Ee = (t) => {
2584
2584
  * @see https://tailwindcss.com/docs/transition-property
2585
2585
  */
2586
2586
  transition: [{
2587
- transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", we]
2587
+ transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", be]
2588
2588
  }],
2589
2589
  /**
2590
2590
  * Transition Duration
@@ -2598,7 +2598,7 @@ const Ee = (t) => {
2598
2598
  * @see https://tailwindcss.com/docs/transition-timing-function
2599
2599
  */
2600
2600
  ease: [{
2601
- ease: ["linear", "in", "out", "in-out", we]
2601
+ ease: ["linear", "in", "out", "in-out", be]
2602
2602
  }],
2603
2603
  /**
2604
2604
  * Transition Delay
@@ -2612,7 +2612,7 @@ const Ee = (t) => {
2612
2612
  * @see https://tailwindcss.com/docs/animation
2613
2613
  */
2614
2614
  animate: [{
2615
- animate: ["none", "spin", "ping", "pulse", "bounce", we]
2615
+ animate: ["none", "spin", "ping", "pulse", "bounce", be]
2616
2616
  }],
2617
2617
  // Transforms
2618
2618
  /**
@@ -2648,7 +2648,7 @@ const Ee = (t) => {
2648
2648
  * @see https://tailwindcss.com/docs/rotate
2649
2649
  */
2650
2650
  rotate: [{
2651
- rotate: [qc, we]
2651
+ rotate: [qc, be]
2652
2652
  }],
2653
2653
  /**
2654
2654
  * Translate X
@@ -2683,7 +2683,7 @@ const Ee = (t) => {
2683
2683
  * @see https://tailwindcss.com/docs/transform-origin
2684
2684
  */
2685
2685
  "transform-origin": [{
2686
- origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", we]
2686
+ origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", be]
2687
2687
  }],
2688
2688
  // Interactivity
2689
2689
  /**
@@ -2705,7 +2705,7 @@ const Ee = (t) => {
2705
2705
  * @see https://tailwindcss.com/docs/cursor
2706
2706
  */
2707
2707
  cursor: [{
2708
- cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", we]
2708
+ cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", be]
2709
2709
  }],
2710
2710
  /**
2711
2711
  * Caret Color
@@ -2927,7 +2927,7 @@ const Ee = (t) => {
2927
2927
  * @see https://tailwindcss.com/docs/will-change
2928
2928
  */
2929
2929
  "will-change": [{
2930
- "will-change": ["auto", "scroll", "contents", "transform", we]
2930
+ "will-change": ["auto", "scroll", "contents", "transform", be]
2931
2931
  }],
2932
2932
  // SVG
2933
2933
  /**
@@ -3018,7 +3018,7 @@ const Ee = (t) => {
3018
3018
  }
3019
3019
  };
3020
3020
  }, rD = /* @__PURE__ */ OT(nD);
3021
- function fe(...t) {
3021
+ function xe(...t) {
3022
3022
  return rD(NT(t));
3023
3023
  }
3024
3024
  const GC = Kj(
@@ -3054,7 +3054,7 @@ const GC = Kj(
3054
3054
  return /* @__PURE__ */ e.jsx(
3055
3055
  o,
3056
3056
  {
3057
- className: fe(GC({ variant: a, size: n, className: t })),
3057
+ className: xe(GC({ variant: a, size: n, className: t })),
3058
3058
  ref: i,
3059
3059
  ...s
3060
3060
  }
@@ -3067,7 +3067,7 @@ const ue = g.forwardRef(
3067
3067
  "input",
3068
3068
  {
3069
3069
  type: a,
3070
- className: fe(
3070
+ className: xe(
3071
3071
  "flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
3072
3072
  t
3073
3073
  ),
@@ -32693,7 +32693,7 @@ const ln = ZD, dn = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */
32693
32693
  MI,
32694
32694
  {
32695
32695
  ref: n,
32696
- className: fe(
32696
+ className: xe(
32697
32697
  "inline-flex items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",
32698
32698
  t
32699
32699
  ),
@@ -32705,7 +32705,7 @@ const _e = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx(
32705
32705
  jI,
32706
32706
  {
32707
32707
  ref: n,
32708
- className: fe(
32708
+ className: xe(
32709
32709
  "inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",
32710
32710
  t
32711
32711
  ),
@@ -32717,7 +32717,7 @@ const Ce = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx(
32717
32717
  CI,
32718
32718
  {
32719
32719
  ref: n,
32720
- className: fe(
32720
+ className: xe(
32721
32721
  "mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
32722
32722
  t
32723
32723
  ),
@@ -32729,7 +32729,7 @@ const Q = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx(
32729
32729
  "div",
32730
32730
  {
32731
32731
  ref: n,
32732
- className: fe(
32732
+ className: xe(
32733
32733
  "rounded-xl border bg-card text-card-foreground shadow",
32734
32734
  t
32735
32735
  ),
@@ -32737,20 +32737,20 @@ const Q = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx(
32737
32737
  }
32738
32738
  ));
32739
32739
  Q.displayName = "Card";
32740
- const le = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx(
32740
+ const de = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx(
32741
32741
  "div",
32742
32742
  {
32743
32743
  ref: n,
32744
- className: fe("flex flex-col space-y-1.5 p-6", t),
32744
+ className: xe("flex flex-col space-y-1.5 p-6", t),
32745
32745
  ...a
32746
32746
  }
32747
32747
  ));
32748
- le.displayName = "CardHeader";
32748
+ de.displayName = "CardHeader";
32749
32749
  const pe = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx(
32750
32750
  "h3",
32751
32751
  {
32752
32752
  ref: n,
32753
- className: fe("font-semibold leading-none tracking-tight", t),
32753
+ className: xe("font-semibold leading-none tracking-tight", t),
32754
32754
  ...a
32755
32755
  }
32756
32756
  ));
@@ -32759,18 +32759,18 @@ const Se = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx(
32759
32759
  "p",
32760
32760
  {
32761
32761
  ref: n,
32762
- className: fe("text-sm text-muted-foreground", t),
32762
+ className: xe("text-sm text-muted-foreground", t),
32763
32763
  ...a
32764
32764
  }
32765
32765
  ));
32766
32766
  Se.displayName = "CardDescription";
32767
- const ee = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx("div", { ref: n, className: fe("p-6 pt-0", t), ...a }));
32767
+ const ee = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx("div", { ref: n, className: xe("p-6 pt-0", t), ...a }));
32768
32768
  ee.displayName = "CardContent";
32769
32769
  const To = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx(
32770
32770
  "div",
32771
32771
  {
32772
32772
  ref: n,
32773
- className: fe("flex items-center p-6 pt-0", t),
32773
+ className: xe("flex items-center p-6 pt-0", t),
32774
32774
  ...a
32775
32775
  }
32776
32776
  ));
@@ -32784,7 +32784,7 @@ function BW({
32784
32784
  buttonMsg: i = "Select Plan"
32785
32785
  }) {
32786
32786
  const [o, l] = A([]), [d, h] = A("tab-0"), u = r || window.location.origin || "http://localhost:8000";
32787
- ne(() => {
32787
+ re(() => {
32788
32788
  (async () => {
32789
32789
  try {
32790
32790
  const x = n ?? "en", f = t.map(async (k) => (await fetch(`${u}/api/v1/promotions/?ids=${k}`, {
@@ -32821,7 +32821,7 @@ function BW({
32821
32821
  children: [
32822
32822
  /* @__PURE__ */ e.jsx(dn, { className: y, children: a.map((m, x) => /* @__PURE__ */ e.jsx(_e, { value: `tab-${x}`, children: m }, x)) }),
32823
32823
  o.map((m, x) => /* @__PURE__ */ e.jsx(Ce, { value: `tab-${x}`, children: /* @__PURE__ */ e.jsx("div", { className: "grid gap-8 sm:grid-cols-2 lg:grid-cols-3", children: m.map((f, v) => /* @__PURE__ */ e.jsxs(Q, { className: "flex flex-col", children: [
32824
- /* @__PURE__ */ e.jsxs(le, { children: [
32824
+ /* @__PURE__ */ e.jsxs(de, { children: [
32825
32825
  /* @__PURE__ */ e.jsx(pe, { children: f.title }),
32826
32826
  /* @__PURE__ */ e.jsx(Se, { children: f.short_description })
32827
32827
  ] }),
@@ -32849,7 +32849,7 @@ function $W({ isOpen: t, items: a }) {
32849
32849
  /* @__PURE__ */ e.jsx(
32850
32850
  "div",
32851
32851
  {
32852
- className: fe(
32852
+ className: xe(
32853
32853
  "fixed inset-y-0 right-0 w-80 bg-white shadow-lg transform transition-transform duration-300 ease-in-out z-30",
32854
32854
  t ? "translate-x-0" : "translate-x-full"
32855
32855
  ),
@@ -33891,7 +33891,7 @@ var Cq = function(a, n, r, s, i, o, l) {
33891
33891
  h[l._props[u]] = d;
33892
33892
  return l;
33893
33893
  }, Mn, MC, iN = function t(a, n, r) {
33894
- var s = a.vars, i = s.ease, o = s.startAt, l = s.immediateRender, d = s.lazy, h = s.onUpdate, u = s.runBackwards, p = s.yoyoEase, y = s.keyframes, m = s.autoRevert, x = a._dur, f = a._startAt, v = a._targets, k = a.parent, w = k && k.data === "nested" ? k.vars.targets : v, b = a._overwrite === "auto" && !YC, j = a.timeline, M, L, N, C, S, q, _, I, D, H, G, V, $;
33894
+ var s = a.vars, i = s.ease, o = s.startAt, l = s.immediateRender, d = s.lazy, h = s.onUpdate, u = s.runBackwards, p = s.yoyoEase, y = s.keyframes, m = s.autoRevert, x = a._dur, f = a._startAt, v = a._targets, k = a.parent, w = k && k.data === "nested" ? k.vars.targets : v, b = a._overwrite === "auto" && !YC, j = a.timeline, M, L, N, C, S, q, _, I, D, H, G, V, U;
33895
33895
  if (j && (!y || !i) && (i = "none"), a._ease = _o(i, kc.ease), a._yEase = p ? aA(_o(p === !0 ? i : p, kc.ease)) : 0, p && a._yoyo && !a._repeat && (p = a._yEase, a._yEase = a._ease, a._ease = p), a._from = !j && !!s.runBackwards, !j || y && !s.stagger) {
33896
33896
  if (I = v[0] ? Ao(v[0]).harness : 0, V = I && s[I.prop], M = Dj(s, aN), f && (f._zTime < 0 && f.progress(1), n < 0 && u && l && !m ? f.render(-1, !0) : f.revert(u && x ? Mj : eq), f._lazy = 0), o) {
33897
33897
  if (Vn(a._startAt = Qe.set(v, ya({
@@ -33932,11 +33932,11 @@ var Cq = function(a, n, r, s, i, o, l) {
33932
33932
  }), D.priority && (q = 1)), !I || V)
33933
33933
  for (N in M)
33934
33934
  $t[N] && (D = iA(N, M, a, G, S, w)) ? D.priority && (q = 1) : H[N] = C = sN.call(a, S, N, "get", M[N], G, w, 0, s.stringFilter);
33935
- a._op && a._op[L] && a.kill(S, a._op[L]), b && a._pt && (Mn = a, $e.killTweensOf(S, H, a.globalTime(n)), $ = !a.parent, Mn = 0), a._pt && d && (xC[_.id] = 1);
33935
+ a._op && a._op[L] && a.kill(S, a._op[L]), b && a._pt && (Mn = a, $e.killTweensOf(S, H, a.globalTime(n)), U = !a.parent, Mn = 0), a._pt && d && (xC[_.id] = 1);
33936
33936
  }
33937
33937
  q && uA(a), a._onInit && a._onInit(a);
33938
33938
  }
33939
- a._onUpdate = h, a._initted = (!a._op || a._pt) && !$, y && n <= 0 && j.render(ca, !0, !0);
33939
+ a._onUpdate = h, a._initted = (!a._op || a._pt) && !U, y && n <= 0 && j.render(ca, !0, !0);
33940
33940
  }, Sq = function(a, n, r, s, i, o, l, d) {
33941
33941
  var h = (a._pt && a._ptCache || (a._ptCache = {}))[n], u, p, y, m;
33942
33942
  if (!h)
@@ -34015,8 +34015,8 @@ var Qe = /* @__PURE__ */ function(t) {
34015
34015
  for (C in x)
34016
34016
  C === "ease" || C === "easeEach" || Iq(C, x[C], L, x.easeEach);
34017
34017
  for (C in L)
34018
- for (D = L[C].sort(function(V, $) {
34019
- return V.t - $.t;
34018
+ for (D = L[C].sort(function(V, U) {
34019
+ return V.t - U.t;
34020
34020
  }), I = 0, M = 0; M < D.length; M++)
34021
34021
  H = D[M], G = {
34022
34022
  ease: H.e,
@@ -34785,8 +34785,8 @@ var MS, jn, mc, dN, vo, jS, hN, Hq = function() {
34785
34785
  var r = a._gsap || new sA(a);
34786
34786
  if ("x" in r && !n && !r.uncache)
34787
34787
  return r;
34788
- var s = a.style, i = r.scaleX < 0, o = "px", l = "deg", d = getComputedStyle(a), h = za(a, Et) || "0", u, p, y, m, x, f, v, k, w, b, j, M, L, N, C, S, q, _, I, D, H, G, V, $, O, se, K, X, Z, de, ae, xe;
34789
- return u = p = y = f = v = k = w = b = j = 0, m = x = 1, r.svg = !!(a.getCTM && vA(a)), d.translate && ((d.translate !== "none" || d.scale !== "none" || d.rotate !== "none") && (s[Ue] = (d.translate !== "none" ? "translate3d(" + (d.translate + " 0 0").split(" ").slice(0, 3).join(", ") + ") " : "") + (d.rotate !== "none" ? "rotate(" + d.rotate + ") " : "") + (d.scale !== "none" ? "scale(" + d.scale.split(" ").join(",") + ") " : "") + (d[Ue] !== "none" ? d[Ue] : "")), s.scale = s.rotate = s.translate = "none"), N = pN(a, r.svg), r.svg && (r.uncache ? (O = a.getBBox(), h = r.xOrigin - O.x + "px " + (r.yOrigin - O.y) + "px", $ = "") : $ = !n && a.getAttribute("data-svg-origin"), LC(a, $ || h, !!$ || r.originIsAbsolute, r.smooth !== !1, N)), M = r.xOrigin || 0, L = r.yOrigin || 0, N !== wl && (_ = N[0], I = N[1], D = N[2], H = N[3], u = G = N[4], p = V = N[5], N.length === 6 ? (m = Math.sqrt(_ * _ + I * I), x = Math.sqrt(H * H + D * D), f = _ || I ? Xo(I, _) * go : 0, w = D || H ? Xo(D, H) * go + f : 0, w && (x *= Math.abs(Math.cos(w * yc))), r.svg && (u -= M - (M * _ + L * D), p -= L - (M * I + L * H))) : (xe = N[6], de = N[7], K = N[8], X = N[9], Z = N[10], ae = N[11], u = N[12], p = N[13], y = N[14], C = Xo(xe, Z), v = C * go, C && (S = Math.cos(-C), q = Math.sin(-C), $ = G * S + K * q, O = V * S + X * q, se = xe * S + Z * q, K = G * -q + K * S, X = V * -q + X * S, Z = xe * -q + Z * S, ae = de * -q + ae * S, G = $, V = O, xe = se), C = Xo(-D, Z), k = C * go, C && (S = Math.cos(-C), q = Math.sin(-C), $ = _ * S - K * q, O = I * S - X * q, se = D * S - Z * q, ae = H * q + ae * S, _ = $, I = O, D = se), C = Xo(I, _), f = C * go, C && (S = Math.cos(C), q = Math.sin(C), $ = _ * S + I * q, O = G * S + V * q, I = I * S - _ * q, V = V * S - G * q, _ = $, G = O), v && Math.abs(v) + Math.abs(f) > 359.9 && (v = f = 0, k = 180 - k), m = Ye(Math.sqrt(_ * _ + I * I + D * D)), x = Ye(Math.sqrt(V * V + xe * xe)), C = Xo(G, V), w = Math.abs(C) > 2e-4 ? C * go : 0, j = ae ? 1 / (ae < 0 ? -ae : ae) : 0), r.svg && ($ = a.getAttribute("transform"), r.forceCSS = a.setAttribute("transform", "") || !bA(za(a, Ue)), $ && a.setAttribute("transform", $))), Math.abs(w) > 90 && Math.abs(w) < 270 && (i ? (m *= -1, w += f <= 0 ? 180 : -180, f += f <= 0 ? 180 : -180) : (x *= -1, w += w <= 0 ? 180 : -180)), n = n || r.uncache, r.x = u - ((r.xPercent = u && (!n && r.xPercent || (Math.round(a.offsetWidth / 2) === Math.round(-u) ? -50 : 0))) ? a.offsetWidth * r.xPercent / 100 : 0) + o, r.y = p - ((r.yPercent = p && (!n && r.yPercent || (Math.round(a.offsetHeight / 2) === Math.round(-p) ? -50 : 0))) ? a.offsetHeight * r.yPercent / 100 : 0) + o, r.z = y + o, r.scaleX = Ye(m), r.scaleY = Ye(x), r.rotation = Ye(f) + l, r.rotationX = Ye(v) + l, r.rotationY = Ye(k) + l, r.skewX = w + l, r.skewY = b + l, r.transformPerspective = j + o, (r.zOrigin = parseFloat(h.split(" ")[2]) || !n && r.zOrigin || 0) && (s[Et] = Oj(h)), r.xOffset = r.yOffset = 0, r.force3D = Yt.force3D, r.renderTransform = r.svg ? iz : gA ? MA : sz, r.uncache = 0, r;
34788
+ var s = a.style, i = r.scaleX < 0, o = "px", l = "deg", d = getComputedStyle(a), h = za(a, Et) || "0", u, p, y, m, x, f, v, k, w, b, j, M, L, N, C, S, q, _, I, D, H, G, V, U, O, ie, K, X, J, se, te, fe;
34789
+ return u = p = y = f = v = k = w = b = j = 0, m = x = 1, r.svg = !!(a.getCTM && vA(a)), d.translate && ((d.translate !== "none" || d.scale !== "none" || d.rotate !== "none") && (s[Ue] = (d.translate !== "none" ? "translate3d(" + (d.translate + " 0 0").split(" ").slice(0, 3).join(", ") + ") " : "") + (d.rotate !== "none" ? "rotate(" + d.rotate + ") " : "") + (d.scale !== "none" ? "scale(" + d.scale.split(" ").join(",") + ") " : "") + (d[Ue] !== "none" ? d[Ue] : "")), s.scale = s.rotate = s.translate = "none"), N = pN(a, r.svg), r.svg && (r.uncache ? (O = a.getBBox(), h = r.xOrigin - O.x + "px " + (r.yOrigin - O.y) + "px", U = "") : U = !n && a.getAttribute("data-svg-origin"), LC(a, U || h, !!U || r.originIsAbsolute, r.smooth !== !1, N)), M = r.xOrigin || 0, L = r.yOrigin || 0, N !== wl && (_ = N[0], I = N[1], D = N[2], H = N[3], u = G = N[4], p = V = N[5], N.length === 6 ? (m = Math.sqrt(_ * _ + I * I), x = Math.sqrt(H * H + D * D), f = _ || I ? Xo(I, _) * go : 0, w = D || H ? Xo(D, H) * go + f : 0, w && (x *= Math.abs(Math.cos(w * yc))), r.svg && (u -= M - (M * _ + L * D), p -= L - (M * I + L * H))) : (fe = N[6], se = N[7], K = N[8], X = N[9], J = N[10], te = N[11], u = N[12], p = N[13], y = N[14], C = Xo(fe, J), v = C * go, C && (S = Math.cos(-C), q = Math.sin(-C), U = G * S + K * q, O = V * S + X * q, ie = fe * S + J * q, K = G * -q + K * S, X = V * -q + X * S, J = fe * -q + J * S, te = se * -q + te * S, G = U, V = O, fe = ie), C = Xo(-D, J), k = C * go, C && (S = Math.cos(-C), q = Math.sin(-C), U = _ * S - K * q, O = I * S - X * q, ie = D * S - J * q, te = H * q + te * S, _ = U, I = O, D = ie), C = Xo(I, _), f = C * go, C && (S = Math.cos(C), q = Math.sin(C), U = _ * S + I * q, O = G * S + V * q, I = I * S - _ * q, V = V * S - G * q, _ = U, G = O), v && Math.abs(v) + Math.abs(f) > 359.9 && (v = f = 0, k = 180 - k), m = Ye(Math.sqrt(_ * _ + I * I + D * D)), x = Ye(Math.sqrt(V * V + fe * fe)), C = Xo(G, V), w = Math.abs(C) > 2e-4 ? C * go : 0, j = te ? 1 / (te < 0 ? -te : te) : 0), r.svg && (U = a.getAttribute("transform"), r.forceCSS = a.setAttribute("transform", "") || !bA(za(a, Ue)), U && a.setAttribute("transform", U))), Math.abs(w) > 90 && Math.abs(w) < 270 && (i ? (m *= -1, w += f <= 0 ? 180 : -180, f += f <= 0 ? 180 : -180) : (x *= -1, w += w <= 0 ? 180 : -180)), n = n || r.uncache, r.x = u - ((r.xPercent = u && (!n && r.xPercent || (Math.round(a.offsetWidth / 2) === Math.round(-u) ? -50 : 0))) ? a.offsetWidth * r.xPercent / 100 : 0) + o, r.y = p - ((r.yPercent = p && (!n && r.yPercent || (Math.round(a.offsetHeight / 2) === Math.round(-p) ? -50 : 0))) ? a.offsetHeight * r.yPercent / 100 : 0) + o, r.z = y + o, r.scaleX = Ye(m), r.scaleY = Ye(x), r.rotation = Ye(f) + l, r.rotationX = Ye(v) + l, r.rotationY = Ye(k) + l, r.skewX = w + l, r.skewY = b + l, r.transformPerspective = j + o, (r.zOrigin = parseFloat(h.split(" ")[2]) || !n && r.zOrigin || 0) && (s[Et] = Oj(h)), r.xOffset = r.yOffset = 0, r.force3D = Yt.force3D, r.renderTransform = r.svg ? iz : gA ? MA : sz, r.uncache = 0, r;
34790
34790
  }, Oj = function(a) {
34791
34791
  return (a = a.split(" "))[0] + " " + a[1];
34792
34792
  }, F9 = function(a, n, r) {
@@ -35156,12 +35156,12 @@ function uz({ courses: t, title: a, description: n }) {
35156
35156
  }
35157
35157
  function pz({ destinations: t, title: a, description: n }) {
35158
35158
  const [r, s] = A(0), [i, o] = A(!0), l = () => typeof window < "u" ? window.innerWidth < 640 ? 1 : window.innerWidth < 1024 ? 2 : 4 : 4, [d, h] = A(l());
35159
- ne(() => {
35159
+ re(() => {
35160
35160
  const m = () => {
35161
35161
  h(l());
35162
35162
  };
35163
35163
  return window.addEventListener("resize", m), () => window.removeEventListener("resize", m);
35164
- }, []), ne(() => {
35164
+ }, []), re(() => {
35165
35165
  let m;
35166
35166
  return i && (m = setInterval(() => {
35167
35167
  s(
@@ -35502,7 +35502,7 @@ function wz({ faqs: t, title: a, description: n }) {
35502
35502
  }
35503
35503
  function bz({ images: t, autoPlayInterval: a = 5e3 }) {
35504
35504
  const [n, r] = A(0);
35505
- ne(() => {
35505
+ re(() => {
35506
35506
  const l = setInterval(() => {
35507
35507
  r((d) => (d + 1) % t.length);
35508
35508
  }, a);
@@ -36327,7 +36327,7 @@ const Lz = [
36327
36327
  { icon: "User", text: "From 18 years" }
36328
36328
  ]
36329
36329
  }
36330
- ], UW = () => (ne(() => {
36330
+ ], UW = () => (re(() => {
36331
36331
  CA.fromTo(
36332
36332
  ".animated-text",
36333
36333
  { opacity: 0, y: 30 },
@@ -36381,7 +36381,7 @@ function GW({
36381
36381
  apiUrl: i
36382
36382
  }) {
36383
36383
  const [o, l] = A(n || []), [d, h] = A(!n), [u, p] = A(null);
36384
- ne(() => {
36384
+ re(() => {
36385
36385
  if (n) return;
36386
36386
  (async () => {
36387
36387
  h(!0), p(null);
@@ -36632,7 +36632,7 @@ function Bz({ title: t, testimonial: a, stats: n, partnerLogos: r }) {
36632
36632
  location: "Remote"
36633
36633
  }
36634
36634
  ];
36635
- ne(() => {
36635
+ re(() => {
36636
36636
  const h = setInterval(() => {
36637
36637
  i((u) => (u + 1) % o.length);
36638
36638
  }, 5e3);
@@ -36732,7 +36732,7 @@ function $z({
36732
36732
  email: o = null
36733
36733
  }) {
36734
36734
  const [l, d] = A(o ?? ""), [h, u] = A(!1), [p, y] = A(!1);
36735
- ne(() => {
36735
+ re(() => {
36736
36736
  if (i) {
36737
36737
  y(!0), o && d(o);
36738
36738
  return;
@@ -36826,10 +36826,10 @@ function Uz({
36826
36826
  { label: "Game Developer", href: "/jobs?q=game-developer" },
36827
36827
  { label: "Compliance Specialist", href: "/jobs?q=compliance-specialist" }
36828
36828
  ];
36829
- ne(() => {
36829
+ re(() => {
36830
36830
  const S = new URLSearchParams(window.location.search), q = S.get("q") || "", _ = S.get("location") || "";
36831
36831
  p(q), m(_);
36832
- }, []), ne(() => {
36832
+ }, []), re(() => {
36833
36833
  if (u.length < 3) {
36834
36834
  f([]);
36835
36835
  return;
@@ -37075,7 +37075,7 @@ const Zz = () => {
37075
37075
  };
37076
37076
  function Jz() {
37077
37077
  const [t, a] = A(null);
37078
- return ne(() => {
37078
+ return re(() => {
37079
37079
  try {
37080
37080
  const n = localStorage.getItem("email");
37081
37081
  n && a(n);
@@ -37099,13 +37099,13 @@ function Xz({
37099
37099
  marketing: !1,
37100
37100
  preferences: !1
37101
37101
  }), [s, i] = A(!1), l = ((p) => p.replace(/\/+$/, ""))(t ?? "http://localhost:5147"), [d, h] = A(null);
37102
- ne(() => {
37102
+ re(() => {
37103
37103
  try {
37104
37104
  const p = localStorage.getItem("leadId");
37105
37105
  p && h(p);
37106
37106
  } catch {
37107
37107
  }
37108
- }, []), ne(() => {
37108
+ }, []), re(() => {
37109
37109
  const p = localStorage.getItem("consent");
37110
37110
  if (p)
37111
37111
  try {
@@ -37172,7 +37172,7 @@ function Kz({
37172
37172
  onReject: l
37173
37173
  }) {
37174
37174
  const { consent: d, update: h, ready: u } = IA(), [p, y] = A(s);
37175
- ne(() => {
37175
+ re(() => {
37176
37176
  i === void 0 && u && !d.timestamp && y(!0);
37177
37177
  }, [d.timestamp, i, u]);
37178
37178
  const m = Fe(() => i ?? p, [i, p]), x = () => {
@@ -37422,7 +37422,7 @@ function AA({
37422
37422
  api_url: s = "http://localhost:5147"
37423
37423
  }) {
37424
37424
  const [i, o] = A(""), [l, d] = A(!1), [h, u] = A(!1);
37425
- ne(() => {
37425
+ re(() => {
37426
37426
  const y = localStorage.getItem("email");
37427
37427
  y && (u(!0), o(y));
37428
37428
  }, []);
@@ -37494,7 +37494,7 @@ function oF({
37494
37494
  message: n,
37495
37495
  onClose: r
37496
37496
  }) {
37497
- if (ne(() => {
37497
+ if (re(() => {
37498
37498
  if (t) {
37499
37499
  const i = setTimeout(r, 5e3);
37500
37500
  return () => clearTimeout(i);
@@ -37555,7 +37555,7 @@ const Ej = ({ position: t, url: a, alt: n, link: r }) => {
37555
37555
  const [i, o] = A(!1), [l, d] = A(""), h = Hn(null), u = t.filter(
37556
37556
  (p) => p.toLowerCase().includes(l.toLowerCase())
37557
37557
  );
37558
- return ne(() => {
37558
+ return re(() => {
37559
37559
  const p = (y) => {
37560
37560
  h.current && !h.current.contains(y.target) && o(!1);
37561
37561
  };
@@ -38040,74 +38040,74 @@ const Ej = ({ position: t, url: a, alt: n, link: r }) => {
38040
38040
  }
38041
38041
  ), ZW = ({ apiUrl: t, itemsPerPage: a, filterKeys: n, enableSearch: r, enablePagination: s, enableMobileFilter: i, banners: o, userAccess: l }) => {
38042
38042
  const [d, h] = A([]), [u, p] = A(1), [y, m] = A({}), [x, f] = A([]), [v, k] = A({}), [w, b] = A(""), [j, M] = A([]), [L, N] = A(!1), C = n9(l);
38043
- ne(() => {
38044
- fetch(`${t}/items`).then((de) => de.json()).then((de) => {
38045
- h(de);
38046
- }).catch((de) => console.error("Error fetching items:", de));
38043
+ re(() => {
38044
+ fetch(`${t}/items`).then((se) => se.json()).then((se) => {
38045
+ h(se);
38046
+ }).catch((se) => console.error("Error fetching items:", se));
38047
38047
  }, [t]);
38048
- const S = (de) => {
38049
- const ae = {};
38050
- de.forEach((be) => {
38051
- n.forEach((J) => {
38052
- ae[J] || (ae[J] = /* @__PURE__ */ new Set());
38053
- const re = be[J];
38054
- re != null && ae[J].add(String(re));
38048
+ const S = (se) => {
38049
+ const te = {};
38050
+ se.forEach((we) => {
38051
+ n.forEach((Z) => {
38052
+ te[Z] || (te[Z] = /* @__PURE__ */ new Set());
38053
+ const ae = we[Z];
38054
+ ae != null && te[Z].add(String(ae));
38055
38055
  });
38056
38056
  });
38057
- const xe = {};
38058
- return Object.keys(ae).forEach((be) => {
38059
- xe[be] = Array.from(ae[be]);
38060
- }), xe;
38057
+ const fe = {};
38058
+ return Object.keys(te).forEach((we) => {
38059
+ fe[we] = Array.from(te[we]);
38060
+ }), fe;
38061
38061
  };
38062
- function q(de, ae, xe) {
38063
- let be = de.filter(
38064
- (J) => Object.entries(ae).every(
38065
- ([re, ve]) => {
38066
- const ke = J[re];
38067
- return typeof ke == "string" && ke.toLowerCase() === ve.toLowerCase();
38062
+ function q(se, te, fe) {
38063
+ let we = se.filter(
38064
+ (Z) => Object.entries(te).every(
38065
+ ([ae, ke]) => {
38066
+ const ve = Z[ae];
38067
+ return typeof ve == "string" && ve.toLowerCase() === ke.toLowerCase();
38068
38068
  }
38069
38069
  )
38070
38070
  );
38071
- return xe.length > 0 && (be = be.filter((J) => xe.every((re) => J.title.toLowerCase().includes(re.toLowerCase())))), be;
38071
+ return fe.length > 0 && (we = we.filter((Z) => fe.every((ae) => Z.title.toLowerCase().includes(ae.toLowerCase())))), we;
38072
38072
  }
38073
38073
  const _ = Fe(
38074
38074
  () => q(d, y, x),
38075
38075
  [y, d, x]
38076
- ), I = (de, ae) => {
38077
- m((xe) => {
38078
- const be = ae ? { ...xe, [de]: ae } : { ...xe };
38079
- return ae || delete be[de], be;
38076
+ ), I = (se, te) => {
38077
+ m((fe) => {
38078
+ const we = te ? { ...fe, [se]: te } : { ...fe };
38079
+ return te || delete we[se], we;
38080
38080
  });
38081
- }, D = (de) => {
38082
- if (b(de), de) {
38083
- const ae = d.map((xe) => xe.title).filter(
38084
- (xe, be, J) => xe && xe.toLowerCase().includes(de.toLowerCase()) && J.indexOf(xe) === be
38081
+ }, D = (se) => {
38082
+ if (b(se), se) {
38083
+ const te = d.map((fe) => fe.title).filter(
38084
+ (fe, we, Z) => fe && fe.toLowerCase().includes(se.toLowerCase()) && Z.indexOf(fe) === we
38085
38085
  ).slice(0, 5);
38086
- M(ae);
38086
+ M(te);
38087
38087
  } else
38088
38088
  M([]);
38089
- }, H = (de) => {
38090
- if (de.key === "Enter" && w.trim()) {
38091
- de.preventDefault();
38092
- const ae = [...x, w.trim()];
38093
- f(ae), b("");
38094
- }
38095
- }, G = (de) => {
38096
- const ae = x.filter((xe) => xe !== de);
38097
- f(ae);
38089
+ }, H = (se) => {
38090
+ if (se.key === "Enter" && w.trim()) {
38091
+ se.preventDefault();
38092
+ const te = [...x, w.trim()];
38093
+ f(te), b("");
38094
+ }
38095
+ }, G = (se) => {
38096
+ const te = x.filter((fe) => fe !== se);
38097
+ f(te);
38098
38098
  }, V = () => {
38099
38099
  m({}), f([]), p(1);
38100
38100
  };
38101
- ne(() => {
38101
+ re(() => {
38102
38102
  k(S(_));
38103
- }, [n, _]), ne(() => {
38103
+ }, [n, _]), re(() => {
38104
38104
  p(1);
38105
38105
  }, [y, x]);
38106
- const $ = () => {
38106
+ const U = () => {
38107
38107
  N(!L);
38108
- }, O = (de, ae) => {
38109
- }, se = (de) => {
38110
- }, K = (de) => !1, X = Math.ceil(_.length / a), Z = _.slice((u - 1) * a, u * a);
38108
+ }, O = (se, te) => {
38109
+ }, ie = (se) => {
38110
+ }, K = (se) => !1, X = Math.ceil(_.length / a), J = _.slice((u - 1) * a, u * a);
38111
38111
  return /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col min-h-screen", children: [
38112
38112
  /* @__PURE__ */ e.jsx("div", { className: "flex-grow", children: /* @__PURE__ */ e.jsxs("div", { className: "job-listings-container", children: [
38113
38113
  /* @__PURE__ */ e.jsx("div", { className: "header-container", children: /* @__PURE__ */ e.jsxs("div", { className: "header-content", children: [
@@ -38121,7 +38121,7 @@ const Ej = ({ position: t, url: a, alt: n, link: r }) => {
38121
38121
  "button",
38122
38122
  {
38123
38123
  className: "md:hidden w-full mb-4 px-4 py-2 bg-yellow-600 text-white rounded-md",
38124
- onClick: $,
38124
+ onClick: U,
38125
38125
  children: L ? "Close Filters" : "Open Filters"
38126
38126
  }
38127
38127
  ),
@@ -38153,7 +38153,7 @@ const Ej = ({ position: t, url: a, alt: n, link: r }) => {
38153
38153
  pF,
38154
38154
  {
38155
38155
  isOpen: L,
38156
- onClose: $,
38156
+ onClose: U,
38157
38157
  filterKeys: n,
38158
38158
  filtersData: v,
38159
38159
  activeFilters: y,
@@ -38172,9 +38172,9 @@ const Ej = ({ position: t, url: a, alt: n, link: r }) => {
38172
38172
  /* @__PURE__ */ e.jsx(
38173
38173
  hF,
38174
38174
  {
38175
- jobs: Z,
38175
+ jobs: J,
38176
38176
  onSaveJob: O,
38177
- onViewJob: se,
38177
+ onViewJob: ie,
38178
38178
  isJobSaved: K,
38179
38179
  userAccess: C
38180
38180
  }
@@ -38192,7 +38192,7 @@ const Ej = ({ position: t, url: a, alt: n, link: r }) => {
38192
38192
  links: n = []
38193
38193
  }) => {
38194
38194
  const [r, s] = A(!1), [i, o] = A(null);
38195
- ne(() => {
38195
+ re(() => {
38196
38196
  try {
38197
38197
  const d = localStorage.getItem("email");
38198
38198
  d && (s(!0), o(d));
@@ -38289,7 +38289,7 @@ const Ej = ({ position: t, url: a, alt: n, link: r }) => {
38289
38289
  ) })
38290
38290
  ] }) }) }), mF = () => {
38291
38291
  const [t, a] = A("");
38292
- ne(() => {
38292
+ re(() => {
38293
38293
  typeof window < "u" && a(window.location.pathname);
38294
38294
  }, []);
38295
38295
  const n = (r) => t === r;
@@ -38556,7 +38556,7 @@ const Ej = ({ position: t, url: a, alt: n, link: r }) => {
38556
38556
  }, v = (k) => {
38557
38557
  a(k), d(""), u([]), y(!1);
38558
38558
  };
38559
- return ne(() => {
38559
+ return re(() => {
38560
38560
  m.current && clearTimeout(m.current), m.current = setTimeout(() => {
38561
38561
  if (!l) {
38562
38562
  u([]);
@@ -38906,7 +38906,7 @@ const wN = ({
38906
38906
  )
38907
38907
  ] }) }), vF = ({ items: t, cardType: a, viewMode: n, savedJobs: r, onSaveJob: s, onViewJob: i, onApplyJob: o, firstItemRef: l = null, userAccess: d }) => {
38908
38908
  const [h, u] = A([]), [p, y] = A(null);
38909
- ne(() => {
38909
+ re(() => {
38910
38910
  try {
38911
38911
  if (!Array.isArray(t)) {
38912
38912
  console.error("❌ Items is not an array:", t), y("Invalid data format received"), u([]);
@@ -40726,7 +40726,7 @@ const At = yP, pE = fP, mE = xP, kP = g.forwardRef(({ className: t, ...a }, n) =
40726
40726
  LN,
40727
40727
  {
40728
40728
  ref: n,
40729
- className: fe(
40729
+ className: xe(
40730
40730
  "fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
40731
40731
  t
40732
40732
  ),
@@ -40740,7 +40740,7 @@ const vt = g.forwardRef(({ className: t, children: a, ...n }, r) => /* @__PURE__
40740
40740
  IN,
40741
40741
  {
40742
40742
  ref: r,
40743
- className: fe(
40743
+ className: xe(
40744
40744
  "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
40745
40745
  t
40746
40746
  ),
@@ -40762,7 +40762,7 @@ const ma = ({
40762
40762
  }) => /* @__PURE__ */ e.jsx(
40763
40763
  "div",
40764
40764
  {
40765
- className: fe(
40765
+ className: xe(
40766
40766
  "flex flex-col space-y-1.5 text-center sm:text-left",
40767
40767
  t
40768
40768
  ),
@@ -40776,7 +40776,7 @@ const Kt = ({
40776
40776
  }) => /* @__PURE__ */ e.jsx(
40777
40777
  "div",
40778
40778
  {
40779
- className: fe(
40779
+ className: xe(
40780
40780
  "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
40781
40781
  t
40782
40782
  ),
@@ -40788,7 +40788,7 @@ const ct = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx(
40788
40788
  AN,
40789
40789
  {
40790
40790
  ref: n,
40791
- className: fe(
40791
+ className: xe(
40792
40792
  "text-lg font-semibold leading-none tracking-tight",
40793
40793
  t
40794
40794
  ),
@@ -40800,7 +40800,7 @@ const On = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx(
40800
40800
  PN,
40801
40801
  {
40802
40802
  ref: n,
40803
- className: fe("text-sm text-muted-foreground", t),
40803
+ className: xe("text-sm text-muted-foreground", t),
40804
40804
  ...a
40805
40805
  }
40806
40806
  ));
@@ -40824,7 +40824,7 @@ const fE = Kj(
40824
40824
  wP,
40825
40825
  {
40826
40826
  ref: n,
40827
- className: fe(fE(), t),
40827
+ className: xe(fE(), t),
40828
40828
  ...a
40829
40829
  }
40830
40830
  ));
@@ -41053,7 +41053,7 @@ function NE({
41053
41053
  }
41054
41054
  function bP() {
41055
41055
  const t = "savedJobs", [a, n] = A([]);
41056
- return ne(() => {
41056
+ return re(() => {
41057
41057
  try {
41058
41058
  const i = localStorage.getItem(t);
41059
41059
  i && n(JSON.parse(i));
@@ -41115,14 +41115,14 @@ const SE = ({ value: t, options: a, onChange: n }) => /* @__PURE__ */ e.jsxs("di
41115
41115
  allowPopularTagRemoval: f = !1
41116
41116
  }) => {
41117
41117
  var B;
41118
- const [v, k] = A([]), [w, b] = A([]), [j, M] = A([]), [L, N] = A(1), [C, S] = A({}), [q, _] = A([]), [I, D] = A({}), [H, G] = A(""), [V, $] = A([]), [O, se] = A(!1), [K, X] = A(a), [Z, de] = A("grid"), [ae, xe] = A(!1), [be, J] = A([]), [re, ve] = A(!0), [ke, ie] = A(null), [ye, Ae] = A("all"), [Pe, He] = A(!1), [dt, wt] = A(!1), [Pt, ht] = A({ ...Y9 }), [Ge, _t] = A({
41118
+ const [v, k] = A([]), [w, b] = A([]), [j, M] = A([]), [L, N] = A(1), [C, S] = A({}), [q, _] = A([]), [I, D] = A({}), [H, G] = A(""), [V, U] = A([]), [O, ie] = A(!1), [K, X] = A(a), [J, se] = A("grid"), [te, fe] = A(!1), [we, Z] = A([]), [ae, ke] = A(!0), [ve, oe] = A(null), [ye, Ae] = A("all"), [Pe, He] = A(!1), [dt, wt] = A(!1), [Pt, ht] = A({ ...Y9 }), [Ge, _t] = A({
41119
41119
  open: !1,
41120
41120
  type: "info",
41121
41121
  message: ""
41122
41122
  }), [nt, un] = A("date_desc"), { savedJobs: aa, toggleJob: Rt } = bP(), Ua = n9(u), F = Fe(() => ({
41123
41123
  component: "Listing",
41124
41124
  ...y ?? {}
41125
- }), [y]), U = Fe(() => [
41125
+ }), [y]), $ = Fe(() => [
41126
41126
  {
41127
41127
  value: "relevance",
41128
41128
  label: "Best match (relevance)"
@@ -41147,7 +41147,7 @@ const SE = ({ value: t, options: a, onChange: n }) => /* @__PURE__ */ e.jsxs("di
41147
41147
  value: "title_asc",
41148
41148
  label: "Title A → Z"
41149
41149
  }
41150
- ], [l]), te = Ct((R, z) => {
41150
+ ], [l]), ne = Ct((R, z) => {
41151
41151
  p && p({
41152
41152
  domain: "jobs",
41153
41153
  name: R,
@@ -41163,15 +41163,15 @@ const SE = ({ value: t, options: a, onChange: n }) => /* @__PURE__ */ e.jsxs("di
41163
41163
  page: L,
41164
41164
  pageSize: K,
41165
41165
  totalResults: w.length,
41166
- viewMode: Z,
41167
- showOnlySaved: ae
41168
- }), [L, w.length, K, ae, Z]), tt = Hn(!1), Be = (R, z) => {
41166
+ viewMode: J,
41167
+ showOnlySaved: te
41168
+ }), [L, w.length, K, te, J]), tt = Hn(!1), Be = (R, z) => {
41169
41169
  _t({ open: !0, type: R, message: z });
41170
41170
  };
41171
- ne(() => {
41171
+ re(() => {
41172
41172
  try {
41173
41173
  const R = localStorage.getItem("lastVisitedJobs");
41174
- R && J(JSON.parse(R));
41174
+ R && Z(JSON.parse(R));
41175
41175
  try {
41176
41176
  localStorage.getItem("email") && wt(!0);
41177
41177
  } catch (z) {
@@ -41180,15 +41180,15 @@ const SE = ({ value: t, options: a, onChange: n }) => /* @__PURE__ */ e.jsxs("di
41180
41180
  } catch (R) {
41181
41181
  console.error("Error loading data from localStorage:", R);
41182
41182
  }
41183
- }, []), ne(() => {
41183
+ }, []), re(() => {
41184
41184
  const z = new URLSearchParams(window.location.search).get("date_filter");
41185
41185
  z && z !== "all" && Ae(z);
41186
- }, []), ne(() => {
41186
+ }, []), re(() => {
41187
41187
  if (!t) {
41188
- ie("❌ Missing API URL for Listing component!"), ve(!1);
41188
+ oe("❌ Missing API URL for Listing component!"), ke(!1);
41189
41189
  return;
41190
41190
  }
41191
- ve(!0), ie(null), (async () => {
41191
+ ke(!0), oe(null), (async () => {
41192
41192
  try {
41193
41193
  const z = await fetch(t);
41194
41194
  if (!z.ok)
@@ -41196,29 +41196,29 @@ const SE = ({ value: t, options: a, onChange: n }) => /* @__PURE__ */ e.jsxs("di
41196
41196
  const Y = await z.json();
41197
41197
  if (!Array.isArray(Y))
41198
41198
  throw new Error("Expected an array but received: " + typeof Y);
41199
- const ce = Y.map((je, Ie) => ({
41199
+ const le = Y.map((je, Ie) => ({
41200
41200
  ...je,
41201
41201
  sponsored: Ie % 7 === 0,
41202
41202
  topTag: vN(je.title || "")
41203
41203
  })), me = Array.from(
41204
- new Set(ce.map((je) => je.topTag).filter((je) => typeof je == "string"))
41204
+ new Set(le.map((je) => je.topTag).filter((je) => typeof je == "string"))
41205
41205
  ).slice(0, 10);
41206
41206
  M(me);
41207
- const ge = Dl(ce, nt, q, o);
41208
- k(ce), b(ge);
41209
- const De = pl(ce, n);
41207
+ const ge = Dl(le, nt, q, o);
41208
+ k(le), b(ge);
41209
+ const De = pl(le, n);
41210
41210
  D(De);
41211
41211
  } catch (z) {
41212
- console.error("Error fetching data:", z), ie(`Failed to load data: ${z instanceof Error ? z.message : String(z)}`);
41213
- const Y = yF(20), ce = Dl(Y, nt, q, o);
41214
- k(Y), b(ce);
41212
+ console.error("Error fetching data:", z), oe(`Failed to load data: ${z instanceof Error ? z.message : String(z)}`);
41213
+ const Y = yF(20), le = Dl(Y, nt, q, o);
41214
+ k(Y), b(le);
41215
41215
  const me = pl(Y, n);
41216
41216
  D(me);
41217
41217
  } finally {
41218
- ve(!1);
41218
+ ke(!1);
41219
41219
  }
41220
41220
  })();
41221
- }, [t, o, q, nt]), ne(() => {
41221
+ }, [t, o, q, nt]), re(() => {
41222
41222
  const R = new URLSearchParams(window.location.search), z = {};
41223
41223
  n.forEach((me) => {
41224
41224
  const ge = R.get(me);
@@ -41226,41 +41226,41 @@ const SE = ({ value: t, options: a, onChange: n }) => /* @__PURE__ */ e.jsxs("di
41226
41226
  }), S(z);
41227
41227
  const Y = R.get("q") || R.get("searchTerm") || "";
41228
41228
  Y && G(Y);
41229
- const ce = {};
41229
+ const le = {};
41230
41230
  n.forEach((me) => {
41231
41231
  const ge = R.get(me);
41232
- ge && (ce[me] = ge);
41233
- }), S(ce);
41234
- }, []), ne(() => {
41235
- if (ae) {
41232
+ ge && (le[me] = ge);
41233
+ }), S(le);
41234
+ }, []), re(() => {
41235
+ if (te) {
41236
41236
  const R = v.filter((Y) => aa.includes(Y.id || Y.slug || Y.link)), z = Dl(R, nt, q, o);
41237
41237
  b(z), N(1);
41238
41238
  } else
41239
41239
  ra();
41240
- }, []), ne(() => {
41241
- tt.current || re || !w.length && !v.length || (te("jobs_listing_viewed", {
41240
+ }, []), re(() => {
41241
+ tt.current || ae || !w.length && !v.length || (ne("jobs_listing_viewed", {
41242
41242
  ...Le(),
41243
41243
  ...Oe()
41244
41244
  }), tt.current = !0);
41245
- }, [v.length, te, w.length, Le, Oe, re]);
41245
+ }, [v.length, ne, w.length, Le, Oe, ae]);
41246
41246
  const na = Ct((R) => {
41247
41247
  const z = pl(R, n);
41248
41248
  D(z);
41249
41249
  }, [n]), ra = Ct((R) => {
41250
- const z = (R == null ? void 0 : R.baseItems) ?? v, Y = (R == null ? void 0 : R.filters) ?? C, ce = (R == null ? void 0 : R.search) ?? q, me = (R == null ? void 0 : R.dateFilter) ?? ye, ge = (R == null ? void 0 : R.advanced) ?? Pt;
41251
- let De = ko(z, Y, ce, me, o);
41250
+ const z = (R == null ? void 0 : R.baseItems) ?? v, Y = (R == null ? void 0 : R.filters) ?? C, le = (R == null ? void 0 : R.search) ?? q, me = (R == null ? void 0 : R.dateFilter) ?? ye, ge = (R == null ? void 0 : R.advanced) ?? Pt;
41251
+ let De = ko(z, Y, le, me, o);
41252
41252
  De = MF(De, ge);
41253
- const je = Dl(De, nt, ce, o);
41253
+ const je = Dl(De, nt, le, o);
41254
41254
  return b(je), ((R == null ? void 0 : R.resetPage) ?? !0) && N(1), ((R == null ? void 0 : R.refreshFiltersData) ?? !0) && na(je), je;
41255
41255
  }, [ye, C, Pt, v, o, q, nt, na]);
41256
- ne(() => {
41256
+ re(() => {
41257
41257
  ra({ resetPage: !1, refreshFiltersData: !1 });
41258
41258
  }, [nt, ra]);
41259
41259
  const Xn = (R, z) => {
41260
41260
  const Y = { ...C };
41261
- z ? Y[R] = z : delete Y[R], ae && xe(!1), S(Y), ra({ filters: Y });
41262
- const ce = { ...Le(), filters: Y };
41263
- z ? te("jobs_filter_selected", { key: R, value: z, ...ce }) : te("jobs_filter_cleared", { key: R, ...ce });
41261
+ z ? Y[R] = z : delete Y[R], te && fe(!1), S(Y), ra({ filters: Y });
41262
+ const le = { ...Le(), filters: Y };
41263
+ z ? ne("jobs_filter_selected", { key: R, value: z, ...le }) : ne("jobs_filter_cleared", { key: R, ...le });
41264
41264
  }, _c = () => {
41265
41265
  wt(!0), Re().then(
41266
41266
  () => (
@@ -41269,7 +41269,7 @@ const SE = ({ value: t, options: a, onChange: n }) => /* @__PURE__ */ e.jsxs("di
41269
41269
  )
41270
41270
  );
41271
41271
  }, Yn = Hn(null), pn = (R) => {
41272
- N(R), te("jobs_listing_page_changed", {
41272
+ N(R), ne("jobs_listing_page_changed", {
41273
41273
  page: R,
41274
41274
  pageSize: K,
41275
41275
  totalResults: w.length
@@ -41278,58 +41278,58 @@ const SE = ({ value: t, options: a, onChange: n }) => /* @__PURE__ */ e.jsxs("di
41278
41278
  (z = Yn.current) == null || z.scrollIntoView({ behavior: "smooth", block: "start" });
41279
41279
  }, 100);
41280
41280
  }, mn = (R) => {
41281
- ae && xe(!1), Ae(R), ra({ dateFilter: R }), qA(R), te("jobs_date_filter_changed", { dateFilter: R });
41281
+ te && fe(!1), Ae(R), ra({ dateFilter: R }), qA(R), ne("jobs_date_filter_changed", { dateFilter: R });
41282
41282
  }, xa = (R) => {
41283
41283
  if (G(R), R) {
41284
41284
  const z = v.map((Y) => Y.title).filter(
41285
- (Y, ce, me) => Y && Y.toLowerCase().includes(R.toLowerCase()) && me.indexOf(Y) === ce
41285
+ (Y, le, me) => Y && Y.toLowerCase().includes(R.toLowerCase()) && me.indexOf(Y) === le
41286
41286
  ).slice(0, 5);
41287
- $(z);
41287
+ U(z);
41288
41288
  } else
41289
- $([]);
41289
+ U([]);
41290
41290
  }, Ga = (R) => {
41291
41291
  if (!R.trim()) return;
41292
- ae && xe(!1);
41292
+ te && fe(!1);
41293
41293
  const z = [...q, R.trim()];
41294
- _(z), ra({ search: z }), G(""), te("jobs_search_submitted", {
41294
+ _(z), ra({ search: z }), G(""), ne("jobs_search_submitted", {
41295
41295
  searchKeywords: z,
41296
41296
  query: R.trim(),
41297
41297
  ...Le()
41298
41298
  });
41299
41299
  }, Kn = (R) => {
41300
41300
  const z = q.filter((Y) => Y !== R);
41301
- _(z), ra({ search: z }), te("jobs_search_filter_removed", {
41301
+ _(z), ra({ search: z }), ne("jobs_search_filter_removed", {
41302
41302
  removedKeyword: R,
41303
41303
  remainingKeywords: z
41304
41304
  });
41305
41305
  }, W = () => {
41306
- S({}), _([]), xe(!1), Ae("all"), ht({ ...Y9 }), ra({
41306
+ S({}), _([]), fe(!1), Ae("all"), ht({ ...Y9 }), ra({
41307
41307
  filters: {},
41308
41308
  search: [],
41309
41309
  dateFilter: "all",
41310
41310
  advanced: Y9
41311
- }), te("jobs_filters_cleared_all", {});
41312
- }, oe = (R) => {
41311
+ }), ne("jobs_filters_cleared_all", {});
41312
+ }, ce = (R) => {
41313
41313
  const z = /* @__PURE__ */ new Set(), Y = [];
41314
- for (const ce of R) {
41315
- const me = `${ce.key ?? ""}|${ce.value.toLowerCase()}`;
41316
- z.has(me) || (z.add(me), Y.push(ce));
41314
+ for (const le of R) {
41315
+ const me = `${le.key ?? ""}|${le.value.toLowerCase()}`;
41316
+ z.has(me) || (z.add(me), Y.push(le));
41317
41317
  }
41318
41318
  return Y;
41319
41319
  }, Me = (R) => R.replace(/\/+$/, ""), Re = async () => {
41320
- if (te("jobs_alert_cta_clicked", {
41320
+ if (ne("jobs_alert_cta_clicked", {
41321
41321
  searchKeywords: q,
41322
41322
  query: H.trim() || void 0,
41323
41323
  ...Le()
41324
41324
  }), !dt)
41325
- He(!0), te("jobs_subscription_modal_opened", {});
41325
+ He(!0), ne("jobs_subscription_modal_opened", {});
41326
41326
  else {
41327
41327
  const R = localStorage.getItem("email"), z = localStorage.getItem("leadId");
41328
41328
  if (!R || !z) {
41329
41329
  Be("info", "Please subscribe first to create alerts.");
41330
41330
  return;
41331
41331
  }
41332
- const Y = "keyword", ce = (qe, pt) => pt && pt.trim() ? { key: qe.toLowerCase(), value: pt.trim() } : null, me = Object.entries(C).map(([qe, pt]) => ce(qe, pt)).filter((qe) => qe !== null), ge = q.map((qe) => ce(Y, qe)).filter((qe) => qe !== null), De = ce(Y, H), je = De ? [De] : [], Ie = oe([
41332
+ const Y = "keyword", le = (qe, pt) => pt && pt.trim() ? { key: qe.toLowerCase(), value: pt.trim() } : null, me = Object.entries(C).map(([qe, pt]) => le(qe, pt)).filter((qe) => qe !== null), ge = q.map((qe) => le(Y, qe)).filter((qe) => qe !== null), De = le(Y, H), je = De ? [De] : [], Ie = ce([
41333
41333
  ...me,
41334
41334
  ...ge,
41335
41335
  ...je
@@ -41352,23 +41352,23 @@ const SE = ({ value: t, options: a, onChange: n }) => /* @__PURE__ */ e.jsxs("di
41352
41352
  }
41353
41353
  throw new Error(`${pt.status} ${pt.statusText} ${sa}`.trim());
41354
41354
  }
41355
- Be("success", "Alert saved. We’ll notify you about new matching jobs."), G(""), te("jobs_alert_created", { preferences: Ie.filter((sa) => sa !== null) });
41355
+ Be("success", "Alert saved. We’ll notify you about new matching jobs."), G(""), ne("jobs_alert_created", { preferences: Ie.filter((sa) => sa !== null) });
41356
41356
  } catch (qe) {
41357
41357
  console.error("Create alert failed:", qe), Be("error", "Failed to save alert.");
41358
41358
  }
41359
41359
  }
41360
41360
  }, We = () => {
41361
- se(!O);
41361
+ ie(!O);
41362
41362
  }, Wa = w.length === 0 ? 0 : (L - 1) * K + 1, ut = Math.min(L * K, w.length), bt = (R) => {
41363
- X(R), N(1), te("jobs_listing_items_per_page_changed", { pageSize: R });
41363
+ X(R), N(1), ne("jobs_listing_items_per_page_changed", { pageSize: R });
41364
41364
  }, yn = () => {
41365
- de((R) => {
41365
+ se((R) => {
41366
41366
  const z = R === "grid" ? "list" : "grid";
41367
- return te("jobs_listing_viewmode_changed", { viewMode: z }), z;
41367
+ return ne("jobs_listing_viewmode_changed", { viewMode: z }), z;
41368
41368
  });
41369
- }, Ze = (R, z, Y = "same_tab", ce = "listing") => {
41369
+ }, Ze = (R, z, Y = "same_tab", le = "listing") => {
41370
41370
  const me = R.id || R.slug || R.link;
41371
- me && (J((ge) => {
41371
+ me && (Z((ge) => {
41372
41372
  const De = ge.filter((Ie) => (Ie.id || Ie.slug || Ie.link) !== me), je = [R, ...De].slice(0, LE);
41373
41373
  try {
41374
41374
  localStorage.setItem("lastVisitedJobs", JSON.stringify(je));
@@ -41376,39 +41376,39 @@ const SE = ({ value: t, options: a, onChange: n }) => /* @__PURE__ */ e.jsxs("di
41376
41376
  console.error("Error saving to localStorage:", Ie);
41377
41377
  }
41378
41378
  return je;
41379
- }), te("job_opened", {
41379
+ }), ne("job_opened", {
41380
41380
  jobId: me,
41381
41381
  slug: R.slug,
41382
41382
  positionInList: z,
41383
- openedFrom: ce,
41383
+ openedFrom: le,
41384
41384
  openedIn: Y
41385
41385
  }));
41386
41386
  }, Mt = (R, z) => {
41387
41387
  const Y = R.id || R.slug || R.link;
41388
41388
  if (!Y) return;
41389
- const ce = aa.includes(Y);
41390
- Rt(Y), te(ce ? "job_unsaved" : "job_saved", {
41389
+ const le = aa.includes(Y);
41390
+ Rt(Y), ne(le ? "job_unsaved" : "job_saved", {
41391
41391
  jobId: Y,
41392
41392
  slug: R.slug,
41393
41393
  positionInList: z
41394
41394
  });
41395
41395
  }, Rc = (R, z, Y = "external") => {
41396
- const ce = R.id || R.slug || R.link;
41397
- ce && te("job_apply_clicked", {
41398
- jobId: ce,
41396
+ const le = R.id || R.slug || R.link;
41397
+ le && ne("job_apply_clicked", {
41398
+ jobId: le,
41399
41399
  slug: R.slug,
41400
41400
  positionInList: z,
41401
41401
  applyType: Y
41402
41402
  });
41403
41403
  }, _l = () => {
41404
- xe(!ae);
41404
+ fe(!te);
41405
41405
  }, N9 = Math.ceil(w.length / K), P = w.slice(
41406
41406
  (L - 1) * K,
41407
41407
  L * K
41408
41408
  );
41409
- return ke && !v.length ? /* @__PURE__ */ e.jsx("div", { className: "flex-grow p-8", children: /* @__PURE__ */ e.jsx("div", { className: "max-w-7xl mx-auto", children: /* @__PURE__ */ e.jsxs("div", { className: "bg-red-50 border border-red-200 text-red-800 rounded-lg p-6", children: [
41409
+ return ve && !v.length ? /* @__PURE__ */ e.jsx("div", { className: "flex-grow p-8", children: /* @__PURE__ */ e.jsx("div", { className: "max-w-7xl mx-auto", children: /* @__PURE__ */ e.jsxs("div", { className: "bg-red-50 border border-red-200 text-red-800 rounded-lg p-6", children: [
41410
41410
  /* @__PURE__ */ e.jsx("h2", { className: "text-lg font-semibold mb-2", children: "Error Loading Jobs" }),
41411
- /* @__PURE__ */ e.jsx("p", { className: "mb-4", children: ke }),
41411
+ /* @__PURE__ */ e.jsx("p", { className: "mb-4", children: ve }),
41412
41412
  /* @__PURE__ */ e.jsx(
41413
41413
  "button",
41414
41414
  {
@@ -41513,15 +41513,15 @@ const SE = ({ value: t, options: a, onChange: n }) => /* @__PURE__ */ e.jsxs("di
41513
41513
  activeFilters: C,
41514
41514
  handleFilterChange: Xn,
41515
41515
  toggleSavedJobsFilter: _l,
41516
- showOnlySaved: ae,
41516
+ showOnlySaved: te,
41517
41517
  savedJobs: aa
41518
41518
  }
41519
41519
  ),
41520
- re ? /* @__PURE__ */ e.jsx(xN, {}) : /* @__PURE__ */ e.jsxs("div", { className: "lg:gap-6 w-fit", children: [
41520
+ ae ? /* @__PURE__ */ e.jsx(xN, {}) : /* @__PURE__ */ e.jsxs("div", { className: "lg:gap-6 w-fit", children: [
41521
41521
  /* @__PURE__ */ e.jsx(
41522
41522
  bN,
41523
41523
  {
41524
- viewMode: Z,
41524
+ viewMode: J,
41525
41525
  onToggleViewMode: yn,
41526
41526
  selectedItemsPerPage: K,
41527
41527
  onItemsPerPageChange: bt,
@@ -41535,8 +41535,8 @@ const SE = ({ value: t, options: a, onChange: n }) => /* @__PURE__ */ e.jsxs("di
41535
41535
  /* @__PURE__ */ e.jsx("div", { className: "mb-6", children: /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between", children: [
41536
41536
  /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-3", children: [
41537
41537
  /* @__PURE__ */ e.jsxs("h3", { className: "text-xl font-semibold text-gray-900 flex items-center", children: [
41538
- ae ? "Saved Jobs" : "Open Positions",
41539
- ye !== "all" && !ae && /* @__PURE__ */ e.jsxs("span", { className: "text-sm font-normal text-gray-500 ml-2", children: [
41538
+ te ? "Saved Jobs" : "Open Positions",
41539
+ ye !== "all" && !te && /* @__PURE__ */ e.jsxs("span", { className: "text-sm font-normal text-gray-500 ml-2", children: [
41540
41540
  "(",
41541
41541
  ye.replace(/_/g, " "),
41542
41542
  ")"
@@ -41557,7 +41557,7 @@ const SE = ({ value: t, options: a, onChange: n }) => /* @__PURE__ */ e.jsxs("di
41557
41557
  SE,
41558
41558
  {
41559
41559
  value: nt,
41560
- options: U,
41560
+ options: $,
41561
41561
  onChange: un
41562
41562
  }
41563
41563
  )
@@ -41567,7 +41567,7 @@ const SE = ({ value: t, options: a, onChange: n }) => /* @__PURE__ */ e.jsxs("di
41567
41567
  {
41568
41568
  items: P,
41569
41569
  cardType: i,
41570
- viewMode: Z,
41570
+ viewMode: J,
41571
41571
  savedJobs: aa,
41572
41572
  onSaveJob: Mt,
41573
41573
  onViewJob: Ze,
@@ -41585,7 +41585,7 @@ const SE = ({ value: t, options: a, onChange: n }) => /* @__PURE__ */ e.jsxs("di
41585
41585
  }
41586
41586
  ) })
41587
41587
  ] }),
41588
- be.length > 0 && /* @__PURE__ */ e.jsx("div", { className: "bg-white rounded-lg shadow-sm border border-gray-200 p-5", children: /* @__PURE__ */ e.jsx(wF, { jobs: be, onViewJob: Ze }) })
41588
+ we.length > 0 && /* @__PURE__ */ e.jsx("div", { className: "bg-white rounded-lg shadow-sm border border-gray-200 p-5", children: /* @__PURE__ */ e.jsx(wF, { jobs: we, onViewJob: Ze }) })
41589
41589
  ] }),
41590
41590
  /* @__PURE__ */ e.jsx("div", { className: "hidden lg:block lg:w-1/4 space-y-6", children: ((B = r == null ? void 0 : r.sidebar) == null ? void 0 : B.enabled) && /* @__PURE__ */ e.jsxs("div", { className: "sticky top-4", children: [
41591
41591
  /* @__PURE__ */ e.jsx(
@@ -41633,7 +41633,7 @@ const SE = ({ value: t, options: a, onChange: n }) => /* @__PURE__ */ e.jsxs("di
41633
41633
  toggleSavedJobsFilter: _l,
41634
41634
  filtersData: I,
41635
41635
  savedJobs: aa,
41636
- showOnlySaved: ae,
41636
+ showOnlySaved: te,
41637
41637
  isMobileFilterOpen: O,
41638
41638
  toggleMobileFilter: We
41639
41639
  }
@@ -41667,7 +41667,7 @@ function XS(t = window.location.pathname) {
41667
41667
  }
41668
41668
  function IE() {
41669
41669
  const [t, a] = A(() => XS());
41670
- return ne(() => {
41670
+ return re(() => {
41671
41671
  const n = () => a(XS());
41672
41672
  return window.addEventListener("popstate", n), () => window.removeEventListener("popstate", n);
41673
41673
  }, []), t;
@@ -41808,7 +41808,7 @@ const MP = {
41808
41808
  }) => {
41809
41809
  var N;
41810
41810
  const r = IE(), [s, i] = A(() => PE(a)), [o, l] = A(!1), [d, h] = A(null), [u, p] = A(!1), [y, m] = A(!1), { savedJobs: x, toggleJob: f, isSaved: v } = bP(), k = AE(t);
41811
- ne(() => {
41811
+ re(() => {
41812
41812
  (async () => {
41813
41813
  l(!0);
41814
41814
  try {
@@ -42363,14 +42363,14 @@ const MP = {
42363
42363
  onEmitEvent: h,
42364
42364
  eventContext: u
42365
42365
  }) => {
42366
- const [p, y] = A([]), [m, x] = A([]), [f, v] = A([]), [k, w] = A({}), [b, j] = A(""), [M, L] = A({}), [N, C] = A(!1), [S, q] = A(o), [_, I] = A(/* @__PURE__ */ new Set()), [D, H] = A(s), [G, V] = A("grid"), [$, O] = A(1), [se, K] = A([]), [X, Z] = A(!1), [de, ae] = A([]), [xe, be] = A([]), [J, re] = A(!0), [ve, ke] = A("all"), [ie, ye] = A(""), Ae = (W) => W.trim().toLowerCase().replace(/\s+/g, "-"), [Pe, He] = A(r), [dt, wt] = A(null), Pt = n9(d), ht = Fe(() => ({
42366
+ const [p, y] = A([]), [m, x] = A([]), [f, v] = A([]), [k, w] = A({}), [b, j] = A(""), [M, L] = A({}), [N, C] = A(!1), [S, q] = A(o), [_, I] = A(/* @__PURE__ */ new Set()), [D, H] = A(s), [G, V] = A("grid"), [U, O] = A(1), [ie, K] = A([]), [X, J] = A(!1), [se, te] = A([]), [fe, we] = A([]), [Z, ae] = A(!0), [ke, ve] = A("all"), [oe, ye] = A(""), Ae = (W) => W.trim().toLowerCase().replace(/\s+/g, "-"), [Pe, He] = A(r), [dt, wt] = A(null), Pt = n9(d), ht = Fe(() => ({
42367
42367
  component: "NewsPage",
42368
42368
  ...u ?? {}
42369
- }), [u]), Ge = Ct((W, oe) => {
42369
+ }), [u]), Ge = Ct((W, ce) => {
42370
42370
  h && h({
42371
42371
  domain: "news",
42372
42372
  name: W,
42373
- payload: oe,
42373
+ payload: ce,
42374
42374
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
42375
42375
  context: ht
42376
42376
  });
@@ -42380,24 +42380,24 @@ const MP = {
42380
42380
  tags: Pe.tags,
42381
42381
  authors: Pe.authors.length ? Pe.authors : M.author ? [M.author] : [],
42382
42382
  companies: Pe.companies.length ? Pe.companies : M.company ? [M.company] : [],
42383
- dateFilter: ve,
42383
+ dateFilter: ke,
42384
42384
  readTimeRange: Pe.readTime
42385
- }), [ve, M, Pe]), nt = Ct(() => ({
42386
- page: $,
42385
+ }), [ke, M, Pe]), nt = Ct(() => ({
42386
+ page: U,
42387
42387
  pageSize: S,
42388
42388
  totalResults: m.length,
42389
42389
  sortBy: D,
42390
42390
  viewMode: G
42391
- }), [$, m.length, S, D, G]), un = Hn(!1);
42392
- ne(() => {
42391
+ }), [U, m.length, S, D, G]), un = Hn(!1);
42392
+ re(() => {
42393
42393
  const W = localStorage.getItem(i);
42394
42394
  W && I(new Set(JSON.parse(W)));
42395
- }, [i]), ne(() => {
42396
- const W = new URLSearchParams(window.location.search), oe = {};
42395
+ }, [i]), re(() => {
42396
+ const W = new URLSearchParams(window.location.search), ce = {};
42397
42397
  a.forEach((ut) => {
42398
42398
  const bt = W.get(ut);
42399
- bt && (oe[ut] = bt);
42400
- }), L(oe);
42399
+ bt && (ce[ut] = bt);
42400
+ }), L(ce);
42401
42401
  const Me = W.get("q"), Re = W.get("categories");
42402
42402
  let We = [...p];
42403
42403
  if (Me && (We = We.filter(
@@ -42417,42 +42417,42 @@ const MP = {
42417
42417
  const bt = W.get(ut);
42418
42418
  bt && (Wa[ut] = bt);
42419
42419
  }), L(Wa);
42420
- }, [p]), ne(() => {
42421
- const oe = new URLSearchParams(window.location.search).get("date_filter");
42422
- if (oe && oe !== "all") {
42423
- ke(oe);
42424
- const Me = ko(p, M, de, oe);
42420
+ }, [p]), re(() => {
42421
+ const ce = new URLSearchParams(window.location.search).get("date_filter");
42422
+ if (ce && ce !== "all") {
42423
+ ve(ce);
42424
+ const Me = ko(p, M, se, ce);
42425
42425
  x(Me), O(1), Rt(Me);
42426
42426
  }
42427
42427
  }, [p]);
42428
42428
  const aa = (W) => {
42429
42429
  if (!W.trim()) return;
42430
- const oe = [...de, W.trim()];
42431
- ae(oe);
42432
- const Me = ko(p, M, oe, ve);
42430
+ const ce = [...se, W.trim()];
42431
+ te(ce);
42432
+ const Me = ko(p, M, ce, ke);
42433
42433
  x(Me), O(1), Rt(Me), j(""), Ge("news_search_submitted", {
42434
42434
  query: W,
42435
- searchFilters: oe,
42435
+ searchFilters: ce,
42436
42436
  ..._t()
42437
42437
  });
42438
42438
  }, Rt = (W) => {
42439
- const oe = pl(W, a);
42440
- w(oe);
42439
+ const ce = pl(W, a);
42440
+ w(ce);
42441
42441
  }, Ua = (W) => {
42442
- ke(W), F(W), qA(W);
42442
+ ve(W), F(W), qA(W);
42443
42443
  }, F = (W) => {
42444
- const oe = ko(p, M, de, W);
42445
- x(oe), O(1), Rt(oe);
42444
+ const ce = ko(p, M, se, W);
42445
+ x(ce), O(1), Rt(ce);
42446
42446
  };
42447
- ne(() => {
42447
+ re(() => {
42448
42448
  localStorage.setItem(i, JSON.stringify(Array.from(_)));
42449
- }, [_, i]), ne(() => {
42450
- re(!0), wt(null), (async () => {
42449
+ }, [_, i]), re(() => {
42450
+ ae(!0), wt(null), (async () => {
42451
42451
  try {
42452
- const oe = await fetch(t);
42453
- if (!oe.ok)
42454
- throw new Error(`API responded with status: ${oe.status}`);
42455
- const Me = await oe.json();
42452
+ const ce = await fetch(t);
42453
+ if (!ce.ok)
42454
+ throw new Error(`API responded with status: ${ce.status}`);
42455
+ const Me = await ce.json();
42456
42456
  if (!Array.isArray(Me))
42457
42457
  throw new Error("Expected an array but received: " + typeof Me);
42458
42458
  const Re = Me.map((Ze) => ({
@@ -42465,7 +42465,7 @@ const MP = {
42465
42465
  Mt && (We[Mt] = (We[Mt] || 0) + 1);
42466
42466
  }
42467
42467
  const Wa = Object.entries(We).sort((Ze, Mt) => Mt[1] - Ze[1]).slice(0, 10).map(([Ze]) => Ze);
42468
- be(Wa);
42468
+ we(Wa);
42469
42469
  const ut = /* @__PURE__ */ new Set();
42470
42470
  Re.forEach((Ze) => {
42471
42471
  Ze.categories.forEach((Mt) => {
@@ -42484,48 +42484,48 @@ const MP = {
42484
42484
  y(Re), x(Re), v(Re), K(bt);
42485
42485
  const yn = pl(Re, a);
42486
42486
  w(yn);
42487
- } catch (oe) {
42488
- console.error("Failed to fetch articles", oe);
42487
+ } catch (ce) {
42488
+ console.error("Failed to fetch articles", ce);
42489
42489
  } finally {
42490
- re(!1);
42490
+ ae(!1);
42491
42491
  }
42492
42492
  })();
42493
42493
  }, [t]);
42494
- const U = () => {
42494
+ const $ = () => {
42495
42495
  V((W) => {
42496
- const oe = W === "grid" ? "list" : "grid";
42497
- return Ge("news_listing_viewmode_changed", { viewMode: oe }), oe;
42496
+ const ce = W === "grid" ? "list" : "grid";
42497
+ return Ge("news_listing_viewmode_changed", { viewMode: ce }), ce;
42498
42498
  });
42499
42499
  };
42500
42500
  Fe(() => p.filter((W) => W.isTrending).slice(0, 6), [p]), Fe(() => p.filter((W) => W.isBreaking), [p]);
42501
- const te = Math.ceil(m.length / S), Le = m.slice(
42502
- ($ - 1) * S,
42503
- $ * S
42504
- ), Oe = (W, oe) => {
42501
+ const ne = Math.ceil(m.length / S), Le = m.slice(
42502
+ (U - 1) * S,
42503
+ U * S
42504
+ ), Oe = (W, ce) => {
42505
42505
  Pt.allowSaving && I((Me) => {
42506
42506
  const Re = new Set(Me), We = Re.has(W);
42507
42507
  return We ? Re.delete(W) : Re.add(W), Ge(We ? "news_article_unbookmarked" : "news_article_bookmarked", {
42508
42508
  articleId: W,
42509
- positionInList: oe
42509
+ positionInList: ce
42510
42510
  }), Re;
42511
42511
  });
42512
- }, tt = (W, oe) => {
42512
+ }, tt = (W, ce) => {
42513
42513
  navigator.share ? navigator.share({ title: W.title, text: W.title, url: W.link }) : (navigator.clipboard.writeText(W.link), alert("Article link copied to clipboard!")), Ge("news_article_shared", {
42514
42514
  articleId: W._id,
42515
42515
  channel: "copy_link"
42516
42516
  // positionInList,
42517
42517
  });
42518
- }, Be = (W, oe, Me = "new_tab", Re = "listing") => {
42518
+ }, Be = (W, ce, Me = "new_tab", Re = "listing") => {
42519
42519
  Ge("news_article_opened", {
42520
42520
  articleId: W._id,
42521
42521
  slug: W.slug,
42522
- positionInList: oe,
42522
+ positionInList: ce,
42523
42523
  openedFrom: Re,
42524
42524
  openedIn: Me
42525
42525
  });
42526
42526
  }, na = () => {
42527
- Z(!X);
42528
- }, ra = m.length === 0 ? 0 : ($ - 1) * S + 1, Xn = Math.min($ * S, m.length), _c = () => {
42527
+ J(!X);
42528
+ }, ra = m.length === 0 ? 0 : (U - 1) * S + 1, Xn = Math.min(U * S, m.length), _c = () => {
42529
42529
  He({
42530
42530
  categories: [],
42531
42531
  tags: [],
@@ -42534,53 +42534,53 @@ const MP = {
42534
42534
  dateRange: ["", ""],
42535
42535
  readTime: [0, 999]
42536
42536
  }), O(1);
42537
- const W = ko(p, M, de, ve);
42537
+ const W = ko(p, M, se, ke);
42538
42538
  x(W), O(1), Rt(W);
42539
42539
  }, Yn = () => {
42540
- L({}), ae([]), ke("all"), _c(), x(p), O(1), Rt(p), Ge("news_filters_cleared_all", {});
42540
+ L({}), te([]), ve("all"), _c(), x(p), O(1), Rt(p), Ge("news_filters_cleared_all", {});
42541
42541
  }, pn = Hn(null), mn = (W) => {
42542
42542
  O(W), Ge("news_listing_page_changed", {
42543
42543
  page: W,
42544
42544
  pageSize: S,
42545
42545
  totalResults: m.length
42546
42546
  }), setTimeout(() => {
42547
- var oe;
42548
- (oe = pn.current) == null || oe.scrollIntoView({ behavior: "smooth", block: "start" });
42547
+ var ce;
42548
+ (ce = pn.current) == null || ce.scrollIntoView({ behavior: "smooth", block: "start" });
42549
42549
  }, 100);
42550
42550
  }, xa = (W) => {
42551
42551
  q(W), O(1), Ge("news_listing_items_per_page_changed", { pageSize: W });
42552
- }, Ga = (W, oe) => {
42552
+ }, Ga = (W, ce) => {
42553
42553
  const Me = { ...M };
42554
- oe ? Me[W] = oe : delete Me[W];
42555
- const Re = ko(p, Me, de, ve);
42554
+ ce ? Me[W] = ce : delete Me[W];
42555
+ const Re = ko(p, Me, se, ke);
42556
42556
  L(Me), x(Re), O(1), Rt(Re);
42557
42557
  const We = _t();
42558
- oe ? Ge("news_filter_selected", { key: W, value: oe, ...We }) : Ge("news_filter_cleared", { key: W, ...We });
42558
+ ce ? Ge("news_filter_selected", { key: W, value: ce, ...We }) : Ge("news_filter_cleared", { key: W, ...We });
42559
42559
  }, Kn = (W) => {
42560
- const oe = de.filter((Re) => Re !== W);
42561
- ae(oe);
42562
- const Me = ko(p, M, oe, ve);
42560
+ const ce = se.filter((Re) => Re !== W);
42561
+ te(ce);
42562
+ const Me = ko(p, M, ce, ke);
42563
42563
  x(Me), O(1), Rt(Me), Ge("news_search_filter_removed", {
42564
42564
  removedKeyword: W,
42565
- remainingKeywords: oe
42565
+ remainingKeywords: ce
42566
42566
  });
42567
42567
  };
42568
- return ne(() => {
42569
- un.current || J || !m.length && !p.length || (Ge("news_listing_viewed", {
42568
+ return re(() => {
42569
+ un.current || Z || !m.length && !p.length || (Ge("news_listing_viewed", {
42570
42570
  ..._t(),
42571
42571
  ...nt()
42572
42572
  }), un.current = !0);
42573
- }, [p.length, Ge, m.length, _t, nt, J]), /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col min-h-screen pb-16 md:pb-0", children: [
42573
+ }, [p.length, Ge, m.length, _t, nt, Z]), /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col min-h-screen pb-16 md:pb-0", children: [
42574
42574
  /* @__PURE__ */ e.jsxs("div", { className: "flex-grow", children: [
42575
42575
  /* @__PURE__ */ e.jsx(
42576
42576
  kN,
42577
42577
  {
42578
42578
  onSearchChange: (W) => {
42579
- const oe = p.filter((Me) => Me.title.toLowerCase().includes(W.toLowerCase()));
42580
- v(oe), j(W);
42579
+ const ce = p.filter((Me) => Me.title.toLowerCase().includes(W.toLowerCase()));
42580
+ v(ce), j(W);
42581
42581
  },
42582
42582
  title: "Latest News",
42583
- popularTags: xe,
42583
+ popularTags: fe,
42584
42584
  generateHref: (W) => `/news?q=${W.replace(/\s+/g, "+")}`
42585
42585
  }
42586
42586
  ),
@@ -42640,22 +42640,22 @@ const MP = {
42640
42640
  wN,
42641
42641
  {
42642
42642
  filters: [
42643
- ...ie ? [{
42643
+ ...oe ? [{
42644
42644
  key: "categories",
42645
42645
  label: "Categories",
42646
- value: ie.replace(/-/g, " "),
42646
+ value: oe.replace(/-/g, " "),
42647
42647
  onRemove: () => ye("")
42648
42648
  }] : [],
42649
- ...de.map((W) => ({
42649
+ ...se.map((W) => ({
42650
42650
  key: "search",
42651
42651
  label: "",
42652
42652
  value: W,
42653
42653
  onRemove: () => Kn(W)
42654
42654
  })),
42655
- ...Object.entries(M).map(([W, oe]) => ({
42655
+ ...Object.entries(M).map(([W, ce]) => ({
42656
42656
  key: W,
42657
42657
  label: W.replace(/_/g, " "),
42658
- value: oe,
42658
+ value: ce,
42659
42659
  onRemove: () => Ga(W, "")
42660
42660
  }))
42661
42661
  ],
@@ -42668,7 +42668,7 @@ const MP = {
42668
42668
  zA,
42669
42669
  {
42670
42670
  dateFieldLabel: "Date",
42671
- activeDateFilter: ve,
42671
+ activeDateFilter: ke,
42672
42672
  onDateFilterChange: Ua,
42673
42673
  filterKeys: a,
42674
42674
  searchableFilters: n,
@@ -42680,12 +42680,12 @@ const MP = {
42680
42680
  savedJobs: []
42681
42681
  }
42682
42682
  ),
42683
- J ? /* @__PURE__ */ e.jsx(xN, {}) : /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { className: "lg:w-2/4", children: [
42683
+ Z ? /* @__PURE__ */ e.jsx(xN, {}) : /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { className: "lg:w-2/4", children: [
42684
42684
  /* @__PURE__ */ e.jsx(
42685
42685
  bN,
42686
42686
  {
42687
42687
  viewMode: G,
42688
- onToggleViewMode: U,
42688
+ onToggleViewMode: $,
42689
42689
  selectedItemsPerPage: S,
42690
42690
  onItemsPerPageChange: xa,
42691
42691
  totalCount: m.length,
@@ -42695,24 +42695,24 @@ const MP = {
42695
42695
  }
42696
42696
  ),
42697
42697
  m.length > 0 ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
42698
- /* @__PURE__ */ e.jsx("div", { className: G === "grid" ? "grid grid-cols-1 md:grid-cols-2 xl:grid-cols-2 gap-6" : "space-y-6", children: Le.map((W, oe) => /* @__PURE__ */ e.jsx("div", { ref: oe === 0 ? pn : null, children: /* @__PURE__ */ e.jsx(
42698
+ /* @__PURE__ */ e.jsx("div", { className: G === "grid" ? "grid grid-cols-1 md:grid-cols-2 xl:grid-cols-2 gap-6" : "space-y-6", children: Le.map((W, ce) => /* @__PURE__ */ e.jsx("div", { ref: ce === 0 ? pn : null, children: /* @__PURE__ */ e.jsx(
42699
42699
  _E,
42700
42700
  {
42701
42701
  article: W,
42702
42702
  isBookmarked: _.has(W._id),
42703
- positionInList: oe,
42704
- onToggleBookmark: (Me) => Oe(Me, oe),
42703
+ positionInList: ce,
42704
+ onToggleBookmark: (Me) => Oe(Me, ce),
42705
42705
  onShare: (Me) => tt(Me),
42706
42706
  onOpenArticle: Be,
42707
42707
  layout: G,
42708
42708
  userAccess: Pt
42709
42709
  }
42710
42710
  ) }, W._id)) }),
42711
- te > 1 && /* @__PURE__ */ e.jsx("div", { className: "mt-8 flex justify-center", children: /* @__PURE__ */ e.jsx(
42711
+ ne > 1 && /* @__PURE__ */ e.jsx("div", { className: "mt-8 flex justify-center", children: /* @__PURE__ */ e.jsx(
42712
42712
  r9,
42713
42713
  {
42714
- currentPage: $,
42715
- totalPages: te,
42714
+ currentPage: U,
42715
+ totalPages: ne,
42716
42716
  onPageChange: mn
42717
42717
  }
42718
42718
  ) })
@@ -42743,20 +42743,20 @@ const MP = {
42743
42743
  /* @__PURE__ */ e.jsx(AA, { api_url: "" }),
42744
42744
  /* @__PURE__ */ e.jsxs("div", { className: "mt-6 bg-white rounded-lg shadow-sm border border-gray-200 p-5", children: [
42745
42745
  /* @__PURE__ */ e.jsx("h3", { className: "font-semibold text-lg mb-3", children: "Featured Employers" }),
42746
- /* @__PURE__ */ e.jsx("div", { className: "grid grid-cols-3 gap-2", children: [...Array(6)].map((W, oe) => /* @__PURE__ */ e.jsx(
42746
+ /* @__PURE__ */ e.jsx("div", { className: "grid grid-cols-3 gap-2", children: [...Array(6)].map((W, ce) => /* @__PURE__ */ e.jsx(
42747
42747
  "div",
42748
42748
  {
42749
42749
  className: "flex items-center justify-center p-2 bg-gray-50 rounded-md",
42750
42750
  children: /* @__PURE__ */ e.jsx(
42751
42751
  "img",
42752
42752
  {
42753
- src: `/placeholder.svg?height=40&width=40&text=${String.fromCharCode(65 + oe)}`,
42754
- alt: `Featured employer ${oe + 1}`,
42753
+ src: `/placeholder.svg?height=40&width=40&text=${String.fromCharCode(65 + ce)}`,
42754
+ alt: `Featured employer ${ce + 1}`,
42755
42755
  className: "w-10 h-10 object-contain"
42756
42756
  }
42757
42757
  )
42758
42758
  },
42759
- oe
42759
+ ce
42760
42760
  )) })
42761
42761
  ] })
42762
42762
  ] }) })
@@ -42766,7 +42766,7 @@ const MP = {
42766
42766
  /* @__PURE__ */ e.jsx(
42767
42767
  RA,
42768
42768
  {
42769
- activeDateFilter: ve,
42769
+ activeDateFilter: ke,
42770
42770
  handleDateFilterChange: Ua,
42771
42771
  filterKeys: a,
42772
42772
  searchableFilters: n,
@@ -43068,7 +43068,7 @@ const MP = {
43068
43068
  placeholder: r = "Search courses, instructors, or topics..."
43069
43069
  }) => {
43070
43070
  const [s, i] = A(""), [o, l] = A([]), [d, h] = A(!1);
43071
- ne(() => {
43071
+ re(() => {
43072
43072
  if (s.length > 0) {
43073
43073
  const m = t.filter((k) => {
43074
43074
  var b, j, M, L, N;
@@ -43568,7 +43568,7 @@ const MP = {
43568
43568
  onEmitEvent: s,
43569
43569
  eventContext: i
43570
43570
  }) => {
43571
- const [o, l] = A([]), [d, h] = A([]), [u, p] = A(/* @__PURE__ */ new Set()), [y, m] = A(""), [x, f] = A(""), [v, k] = A("relevance"), [w, b] = A(!1), [j, M] = A(1), [L, N] = A(!1), [C, S] = A(!1), [q, _] = A(!0), [I, D] = A(""), [H, G] = A([]), [V, $] = A([]), [O, se] = A("grid"), [K, X] = A(n), [Z, de] = A({
43571
+ const [o, l] = A([]), [d, h] = A([]), [u, p] = A(/* @__PURE__ */ new Set()), [y, m] = A(""), [x, f] = A(""), [v, k] = A("relevance"), [w, b] = A(!1), [j, M] = A(1), [L, N] = A(!1), [C, S] = A(!1), [q, _] = A(!0), [I, D] = A(""), [H, G] = A([]), [V, U] = A([]), [O, ie] = A("grid"), [K, X] = A(n), [J, se] = A({
43572
43572
  categories: [],
43573
43573
  subcategories: [],
43574
43574
  priceRange: [0, 2e3],
@@ -43576,86 +43576,86 @@ const MP = {
43576
43576
  languages: [],
43577
43577
  features: [],
43578
43578
  rating: 0
43579
- }), ae = n9(r), xe = Fe(() => ({
43579
+ }), te = n9(r), fe = Fe(() => ({
43580
43580
  component: "IGamingCoursePage",
43581
43581
  ...i ?? {}
43582
- }), [i]), be = Hn(!1), J = Fe(() => {
43582
+ }), [i]), we = Hn(!1), Z = Fe(() => {
43583
43583
  let F = [...d];
43584
- switch (y && (F = F.filter((U) => ye(U.category) === y)), x && (F = F.filter((U) => ye(U.subcategory) === x)), Z.levels.length > 0 && (F = F.filter((U) => Z.levels.includes(U.level))), Z.languages.length > 0 && (F = F.filter((U) => Z.languages.includes(U.language))), Z.features.length > 0 && (F = F.filter((U) => Z.features.some((te) => U.features.includes(te)))), Z.rating > 0 && (F = F.filter((U) => U.rating >= Z.rating)), w && (F = F.filter((U) => u.has(U.id))), v) {
43584
+ switch (y && (F = F.filter(($) => ye($.category) === y)), x && (F = F.filter(($) => ye($.subcategory) === x)), J.levels.length > 0 && (F = F.filter(($) => J.levels.includes($.level))), J.languages.length > 0 && (F = F.filter(($) => J.languages.includes($.language))), J.features.length > 0 && (F = F.filter(($) => J.features.some((ne) => $.features.includes(ne)))), J.rating > 0 && (F = F.filter(($) => $.rating >= J.rating)), w && (F = F.filter(($) => u.has($.id))), v) {
43585
43585
  case "price-low-high":
43586
- F.sort((U, te) => U.price - te.price);
43586
+ F.sort(($, ne) => $.price - ne.price);
43587
43587
  break;
43588
43588
  case "price-high-low":
43589
- F.sort((U, te) => te.price - U.price);
43589
+ F.sort(($, ne) => ne.price - $.price);
43590
43590
  break;
43591
43591
  case "rating":
43592
- F.sort((U, te) => te.rating - U.rating);
43592
+ F.sort(($, ne) => ne.rating - $.rating);
43593
43593
  break;
43594
43594
  case "newest":
43595
- F.sort((U, te) => new Date(te.lastUpdated).getTime() - new Date(U.lastUpdated).getTime());
43595
+ F.sort(($, ne) => new Date(ne.lastUpdated).getTime() - new Date($.lastUpdated).getTime());
43596
43596
  break;
43597
43597
  case "most-enrolled":
43598
- F.sort((U, te) => te.enrollmentCount - U.enrollmentCount);
43598
+ F.sort(($, ne) => ne.enrollmentCount - $.enrollmentCount);
43599
43599
  break;
43600
43600
  default:
43601
- F.sort((U, te) => U.isFeatured && !te.isFeatured ? -1 : !U.isFeatured && te.isFeatured ? 1 : U.isBestseller && !te.isBestseller ? -1 : !U.isBestseller && te.isBestseller ? 1 : te.rating - U.rating);
43601
+ F.sort(($, ne) => $.isFeatured && !ne.isFeatured ? -1 : !$.isFeatured && ne.isFeatured ? 1 : $.isBestseller && !ne.isBestseller ? -1 : !$.isBestseller && ne.isBestseller ? 1 : ne.rating - $.rating);
43602
43602
  }
43603
43603
  return F;
43604
- }, [d, y, x, Z, u, w, v]), re = Ct((F, U) => {
43604
+ }, [d, y, x, J, u, w, v]), ae = Ct((F, $) => {
43605
43605
  s && s({
43606
43606
  domain: "courses",
43607
43607
  name: F,
43608
- payload: U,
43608
+ payload: $,
43609
43609
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
43610
- context: xe
43610
+ context: fe
43611
43611
  });
43612
- }, [xe, s]), ve = Ct(() => ({
43612
+ }, [fe, s]), ke = Ct(() => ({
43613
43613
  category: y || void 0,
43614
43614
  subcategory: x || void 0,
43615
- levels: Z.levels,
43616
- languages: Z.languages,
43617
- features: Z.features,
43618
- rating: Z.rating,
43619
- priceRange: Z.priceRange,
43615
+ levels: J.levels,
43616
+ languages: J.languages,
43617
+ features: J.features,
43618
+ rating: J.rating,
43619
+ priceRange: J.priceRange,
43620
43620
  favoritesOnly: w
43621
- }), [Z.features, Z.languages, Z.levels, Z.priceRange, Z.rating, y, x, w]), ke = Ct(() => ({
43621
+ }), [J.features, J.languages, J.levels, J.priceRange, J.rating, y, x, w]), ve = Ct(() => ({
43622
43622
  page: j,
43623
43623
  pageSize: K,
43624
- totalResults: J.length,
43624
+ totalResults: Z.length,
43625
43625
  sortBy: v,
43626
43626
  viewMode: O
43627
- }), [j, J.length, K, v, O]), ie = () => {
43628
- se((F) => {
43629
- const U = F === "grid" ? "list" : "grid";
43630
- return re("courses_listing_viewmode_changed", { viewMode: U }), U;
43627
+ }), [j, Z.length, K, v, O]), oe = () => {
43628
+ ie((F) => {
43629
+ const $ = F === "grid" ? "list" : "grid";
43630
+ return ae("courses_listing_viewmode_changed", { viewMode: $ }), $;
43631
43631
  });
43632
43632
  }, ye = (F) => (F ?? "").trim().toLowerCase().replace(/\s+/g, "-"), Ae = Fe(() => {
43633
43633
  const F = /* @__PURE__ */ new Map();
43634
- return o.forEach((U) => {
43635
- const te = U.category, Le = U.subcategory, Oe = ye(te), tt = ye(Le);
43634
+ return o.forEach(($) => {
43635
+ const ne = $.category, Le = $.subcategory, Oe = ye(ne), tt = ye(Le);
43636
43636
  if (!Oe) return;
43637
43637
  F.has(Oe) || F.set(Oe, /* @__PURE__ */ new Map());
43638
43638
  const Be = F.get(Oe);
43639
43639
  tt && Be.set(tt, (Be.get(tt) ?? 0) + 1);
43640
- }), Array.from(F.entries()).map(([U, te]) => ({
43641
- id: U,
43642
- name: U.replace(/-/g, " ").replace(/\b\w/g, (Le) => Le.toUpperCase()),
43640
+ }), Array.from(F.entries()).map(([$, ne]) => ({
43641
+ id: $,
43642
+ name: $.replace(/-/g, " ").replace(/\b\w/g, (Le) => Le.toUpperCase()),
43643
43643
  icon: "🎯",
43644
43644
  // Optional
43645
- subcategories: Array.from(te.entries()).map(([Le, Oe]) => ({
43645
+ subcategories: Array.from(ne.entries()).map(([Le, Oe]) => ({
43646
43646
  id: Le,
43647
43647
  name: Le.replace(/-/g, " ").replace(/\b\w/g, (tt) => tt.toUpperCase()),
43648
43648
  courseCount: Oe
43649
43649
  }))
43650
43650
  }));
43651
43651
  }, [o]), Pe = (F) => {
43652
- X(F), M(1), re("courses_listing_items_per_page_changed", { pageSize: F });
43652
+ X(F), M(1), ae("courses_listing_items_per_page_changed", { pageSize: F });
43653
43653
  }, He = (F) => {
43654
- const U = (te) => te.slice().sort().join("|");
43655
- return U(F.categories) !== U(Z.categories) ? "category" : U(F.subcategories) !== U(Z.subcategories) ? "subcategory" : U(F.levels) !== U(Z.levels) ? "levels" : U(F.languages) !== U(Z.languages) ? "languages" : U(F.features) !== U(Z.features) ? "features" : F.rating !== Z.rating ? "rating" : F.priceRange[0] !== Z.priceRange[0] || F.priceRange[1] !== Z.priceRange[1] ? "priceRange" : "features";
43654
+ const $ = (ne) => ne.slice().sort().join("|");
43655
+ return $(F.categories) !== $(J.categories) ? "category" : $(F.subcategories) !== $(J.subcategories) ? "subcategory" : $(F.levels) !== $(J.levels) ? "levels" : $(F.languages) !== $(J.languages) ? "languages" : $(F.features) !== $(J.features) ? "features" : F.rating !== J.rating ? "rating" : F.priceRange[0] !== J.priceRange[0] || F.priceRange[1] !== J.priceRange[1] ? "priceRange" : "features";
43656
43656
  }, dt = (F) => {
43657
- de(F);
43658
- const U = {
43657
+ se(F);
43658
+ const $ = {
43659
43659
  category: y || void 0,
43660
43660
  subcategory: x || void 0,
43661
43661
  levels: F.levels,
@@ -43665,12 +43665,12 @@ const MP = {
43665
43665
  priceRange: F.priceRange,
43666
43666
  favoritesOnly: w
43667
43667
  };
43668
- re("courses_filter_changed", {
43668
+ ae("courses_filter_changed", {
43669
43669
  changedKey: He(F),
43670
- ...U
43670
+ ...$
43671
43671
  });
43672
43672
  };
43673
- ne(() => {
43673
+ re(() => {
43674
43674
  (async () => {
43675
43675
  try {
43676
43676
  if (!t) {
@@ -43678,73 +43678,73 @@ const MP = {
43678
43678
  return;
43679
43679
  }
43680
43680
  _(!0);
43681
- const U = await fetch(t);
43682
- if (!U.ok) throw new Error(`Failed to fetch courses from ${t}`);
43683
- const te = await U.json();
43684
- l(te), h(te);
43685
- const Oe = te.map((Be) => vN(Be.title || "")).filter((Be) => !!Be).reduce((Be, na) => (Be[na] = (Be[na] || 0) + 1, Be), {}), tt = Object.entries(Oe).sort((Be, na) => na[1] - Be[1]).slice(0, 10).map(([Be]) => Be);
43681
+ const $ = await fetch(t);
43682
+ if (!$.ok) throw new Error(`Failed to fetch courses from ${t}`);
43683
+ const ne = await $.json();
43684
+ l(ne), h(ne);
43685
+ const Oe = ne.map((Be) => vN(Be.title || "")).filter((Be) => !!Be).reduce((Be, na) => (Be[na] = (Be[na] || 0) + 1, Be), {}), tt = Object.entries(Oe).sort((Be, na) => na[1] - Be[1]).slice(0, 10).map(([Be]) => Be);
43686
43686
  G(tt);
43687
- } catch (U) {
43688
- console.error("[Courses] Error loading data:", U), l(Hl), h(Hl);
43687
+ } catch ($) {
43688
+ console.error("[Courses] Error loading data:", $), l(Hl), h(Hl);
43689
43689
  } finally {
43690
43690
  _(!1);
43691
43691
  }
43692
43692
  })();
43693
- }, [t]), ne(() => {
43694
- var te;
43695
- const U = (te = new URLSearchParams(window.location.search).get("q")) == null ? void 0 : te.trim();
43696
- if (U) {
43697
- D(U);
43693
+ }, [t]), re(() => {
43694
+ var ne;
43695
+ const $ = (ne = new URLSearchParams(window.location.search).get("q")) == null ? void 0 : ne.trim();
43696
+ if ($) {
43697
+ D($);
43698
43698
  const Le = o.filter(
43699
43699
  (Oe) => {
43700
43700
  var tt;
43701
- return Oe.title.toLowerCase().includes(U.toLowerCase()) || ((tt = Oe.description) == null ? void 0 : tt.toLowerCase().includes(U.toLowerCase()));
43701
+ return Oe.title.toLowerCase().includes($.toLowerCase()) || ((tt = Oe.description) == null ? void 0 : tt.toLowerCase().includes($.toLowerCase()));
43702
43702
  }
43703
43703
  );
43704
43704
  h(Le);
43705
43705
  }
43706
- }, [o]), ne(() => {
43706
+ }, [o]), re(() => {
43707
43707
  const F = localStorage.getItem("course-favorites");
43708
43708
  F && p(new Set(JSON.parse(F)));
43709
- }, []), ne(() => {
43709
+ }, []), re(() => {
43710
43710
  localStorage.setItem("course-favorites", JSON.stringify(Array.from(u)));
43711
43711
  }, [u]);
43712
43712
  const wt = (F) => {
43713
- ae.allowSaving && p((U) => {
43714
- const te = new Set(U), Le = te.has(F);
43715
- return Le ? te.delete(F) : te.add(F), re(Le ? "course_unfavorited" : "course_favorited", {
43713
+ te.allowSaving && p(($) => {
43714
+ const ne = new Set($), Le = ne.has(F);
43715
+ return Le ? ne.delete(F) : ne.add(F), ae(Le ? "course_unfavorited" : "course_favorited", {
43716
43716
  courseId: F
43717
- }), te;
43717
+ }), ne;
43718
43718
  });
43719
43719
  }, Pt = (F) => {
43720
- if (ae.maskExternalLinks) return;
43721
- const U = o.find((te) => te.id === F);
43722
- U != null && U.link && (re("course_enroll_clicked", { courseId: F }), re("course_opened", {
43720
+ if (te.maskExternalLinks) return;
43721
+ const $ = o.find((ne) => ne.id === F);
43722
+ $ != null && $.link && (ae("course_enroll_clicked", { courseId: F }), ae("course_opened", {
43723
43723
  courseId: F,
43724
43724
  openedFrom: "listing",
43725
43725
  openedIn: "new_tab"
43726
- }), window.open(U.link, "_blank", "noopener,noreferrer"));
43726
+ }), window.open($.link, "_blank", "noopener,noreferrer"));
43727
43727
  };
43728
- ne(() => {
43729
- be.current || q || !J.length && !o.length || (re("courses_listing_viewed", {
43730
- ...ve(),
43731
- ...ke()
43732
- }), be.current = !0);
43733
- }, [o.length, re, J.length, ve, ke, q]);
43728
+ re(() => {
43729
+ we.current || q || !Z.length && !o.length || (ae("courses_listing_viewed", {
43730
+ ...ke(),
43731
+ ...ve()
43732
+ }), we.current = !0);
43733
+ }, [o.length, ae, Z.length, ke, ve, q]);
43734
43734
  const ht = (F) => {
43735
- const U = ye(F);
43736
- m(U === y ? "" : U), f(""), re("courses_category_selected", { category: U === y ? null : U }), re("courses_filter_changed", {
43735
+ const $ = ye(F);
43736
+ m($ === y ? "" : $), f(""), ae("courses_category_selected", { category: $ === y ? null : $ }), ae("courses_filter_changed", {
43737
43737
  changedKey: "category",
43738
- ...ve()
43738
+ ...ke()
43739
43739
  });
43740
43740
  }, Ge = (F) => {
43741
- const U = ye(F);
43742
- f(U === x ? "" : U), re("courses_subcategory_selected", { subcategory: U === x ? null : U }), re("courses_filter_changed", {
43741
+ const $ = ye(F);
43742
+ f($ === x ? "" : $), ae("courses_subcategory_selected", { subcategory: $ === x ? null : $ }), ae("courses_filter_changed", {
43743
43743
  changedKey: "subcategory",
43744
- ...ve()
43744
+ ...ke()
43745
43745
  });
43746
43746
  }, _t = () => {
43747
- de({
43747
+ se({
43748
43748
  categories: [],
43749
43749
  subcategories: [],
43750
43750
  priceRange: [0, 2e3],
@@ -43752,33 +43752,33 @@ const MP = {
43752
43752
  languages: [],
43753
43753
  features: [],
43754
43754
  rating: 0
43755
- }), m(""), f(""), b(!1), D(""), h(o), re("courses_filters_cleared_all", {});
43755
+ }), m(""), f(""), b(!1), D(""), h(o), ae("courses_filters_cleared_all", {});
43756
43756
  }, nt = () => {
43757
43757
  N(!L);
43758
43758
  }, un = (F) => {
43759
- M(F), re("courses_listing_page_changed", {
43759
+ M(F), ae("courses_listing_page_changed", {
43760
43760
  page: F,
43761
43761
  pageSize: K,
43762
- totalResults: J.length
43762
+ totalResults: Z.length
43763
43763
  });
43764
- }, aa = J.length === 0 ? 0 : (j - 1) * K + 1, Rt = Math.min(j * K, J.length), Ua = (F) => {
43764
+ }, aa = Z.length === 0 ? 0 : (j - 1) * K + 1, Rt = Math.min(j * K, Z.length), Ua = (F) => {
43765
43765
  if (D(F), !F) {
43766
- h(o), $([]);
43766
+ h(o), U([]);
43767
43767
  return;
43768
43768
  }
43769
- const U = o.filter(
43769
+ const $ = o.filter(
43770
43770
  (Le) => {
43771
43771
  var Oe;
43772
43772
  return Le.title.toLowerCase().includes(F.toLowerCase()) || ((Oe = Le.description) == null ? void 0 : Oe.toLowerCase().includes(F.toLowerCase()));
43773
43773
  }
43774
43774
  );
43775
- h(U);
43776
- const te = U.map((Le) => Le.title).filter(
43775
+ h($);
43776
+ const ne = $.map((Le) => Le.title).filter(
43777
43777
  (Le, Oe, tt) => Le && Le.toLowerCase().includes(F.toLowerCase()) && tt.indexOf(Le) === Oe
43778
43778
  ).slice(0, 5);
43779
- $(te), F.trim() && re("courses_search_submitted", {
43779
+ U(ne), F.trim() && ae("courses_search_submitted", {
43780
43780
  query: F,
43781
- ...ve()
43781
+ ...ke()
43782
43782
  });
43783
43783
  };
43784
43784
  return /* @__PURE__ */ e.jsxs("div", { className: "min-h-screen bg-gray-50", children: [
@@ -43817,13 +43817,13 @@ const MP = {
43817
43817
  value: x.replace(/-/g, " "),
43818
43818
  onRemove: () => f("")
43819
43819
  }] : [],
43820
- ...Z.levels.map((F) => ({
43820
+ ...J.levels.map((F) => ({
43821
43821
  key: "level",
43822
43822
  label: "",
43823
43823
  value: F,
43824
- onRemove: () => de((U) => ({
43825
- ...U,
43826
- levels: U.levels.filter((te) => te !== F)
43824
+ onRemove: () => se(($) => ({
43825
+ ...$,
43826
+ levels: $.levels.filter((ne) => ne !== F)
43827
43827
  }))
43828
43828
  })),
43829
43829
  ...I ? [{
@@ -43845,10 +43845,10 @@ const MP = {
43845
43845
  {
43846
43846
  data: o.map((F) => F.title),
43847
43847
  onSelect: (F) => {
43848
- const U = o.filter(
43849
- (te) => te.title.toLowerCase().includes(F.toLowerCase())
43848
+ const $ = o.filter(
43849
+ (ne) => ne.title.toLowerCase().includes(F.toLowerCase())
43850
43850
  );
43851
- h(U), D(F);
43851
+ h($), D(F);
43852
43852
  },
43853
43853
  onTyping: (F) => {
43854
43854
  S(!!F), F || (h(o), D(""));
@@ -43863,11 +43863,11 @@ const MP = {
43863
43863
  onSortChange: k,
43864
43864
  onClearFilters: _t,
43865
43865
  totalCourses: o.length,
43866
- filteredCourses: J.length,
43866
+ filteredCourses: Z.length,
43867
43867
  categories: Ae,
43868
43868
  selectedCategory: y,
43869
43869
  selectedSubcategory: x,
43870
- filters: Z,
43870
+ filters: J,
43871
43871
  onCategorySelect: ht,
43872
43872
  onSubcategorySelect: Ge,
43873
43873
  isMobileFilterOpen: L,
@@ -43881,13 +43881,13 @@ const MP = {
43881
43881
  /* @__PURE__ */ e.jsx("div", { className: "hidden lg:block lg:w-1/4", children: /* @__PURE__ */ e.jsx(
43882
43882
  eL,
43883
43883
  {
43884
- filters: Z,
43884
+ filters: J,
43885
43885
  sortBy: v,
43886
43886
  onFiltersChange: dt,
43887
43887
  onSortChange: k,
43888
43888
  onClearFilters: _t,
43889
43889
  totalCourses: o.length,
43890
- filteredCourses: J.length,
43890
+ filteredCourses: Z.length,
43891
43891
  categories: Ae,
43892
43892
  selectedCategory: y,
43893
43893
  selectedSubcategory: x,
@@ -43904,10 +43904,10 @@ const MP = {
43904
43904
  bN,
43905
43905
  {
43906
43906
  viewMode: O,
43907
- onToggleViewMode: ie,
43907
+ onToggleViewMode: oe,
43908
43908
  selectedItemsPerPage: K,
43909
43909
  onItemsPerPageChange: Pe,
43910
- totalCount: J.length,
43910
+ totalCount: Z.length,
43911
43911
  startIndex: aa,
43912
43912
  endIndex: Rt,
43913
43913
  title: "All Courses"
@@ -43916,7 +43916,7 @@ const MP = {
43916
43916
  q ? /* @__PURE__ */ e.jsx(xN, { totalColumns: 3 }) : /* @__PURE__ */ e.jsx(
43917
43917
  FE,
43918
43918
  {
43919
- processedCourses: J,
43919
+ processedCourses: Z,
43920
43920
  favorites: u,
43921
43921
  handleToggleFavorite: wt,
43922
43922
  handleClearFilters: _t,
@@ -43925,7 +43925,7 @@ const MP = {
43925
43925
  currentPage: j,
43926
43926
  setCurrentPage: un,
43927
43927
  viewMode: O,
43928
- userAccess: ae
43928
+ userAccess: te
43929
43929
  }
43930
43930
  )
43931
43931
  ] })
@@ -44208,18 +44208,18 @@ const TP = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx(
44208
44208
  PP,
44209
44209
  {
44210
44210
  ref: n,
44211
- className: fe("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", t),
44211
+ className: xe("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", t),
44212
44212
  ...a
44213
44213
  }
44214
44214
  ));
44215
44215
  TP.displayName = PP.displayName;
44216
- const DP = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx(_P, { ref: n, className: fe("aspect-square h-full w-full", t), ...a }));
44216
+ const DP = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx(_P, { ref: n, className: xe("aspect-square h-full w-full", t), ...a }));
44217
44217
  DP.displayName = _P.displayName;
44218
44218
  const qP = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx(
44219
44219
  RP,
44220
44220
  {
44221
44221
  ref: n,
44222
- className: fe("flex h-full w-full items-center justify-center rounded-full bg-muted", t),
44222
+ className: xe("flex h-full w-full items-center justify-center rounded-full bg-muted", t),
44223
44223
  ...a
44224
44224
  }
44225
44225
  ));
@@ -44241,7 +44241,7 @@ const YE = Kj(
44241
44241
  }
44242
44242
  );
44243
44243
  function he({ className: t, variant: a, ...n }) {
44244
- return /* @__PURE__ */ e.jsx("div", { className: fe(YE({ variant: a }), t), ...n });
44244
+ return /* @__PURE__ */ e.jsx("div", { className: xe(YE({ variant: a }), t), ...n });
44245
44245
  }
44246
44246
  function rL(t, a) {
44247
44247
  if (typeof t == "function")
@@ -44365,7 +44365,7 @@ const Ij = g.forwardRef(
44365
44365
  ref: s,
44366
44366
  decorative: n,
44367
44367
  orientation: a,
44368
- className: fe(
44368
+ className: xe(
44369
44369
  "shrink-0 bg-border",
44370
44370
  a === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
44371
44371
  t
@@ -44439,14 +44439,14 @@ const nZ = ({ candidateData: t }) => {
44439
44439
  ] }) })
44440
44440
  ] }) }) }),
44441
44441
  /* @__PURE__ */ e.jsxs(Q, { children: [
44442
- /* @__PURE__ */ e.jsx(le, { children: /* @__PURE__ */ e.jsxs(pe, { className: "flex items-center gap-2", children: [
44442
+ /* @__PURE__ */ e.jsx(de, { children: /* @__PURE__ */ e.jsxs(pe, { className: "flex items-center gap-2", children: [
44443
44443
  /* @__PURE__ */ e.jsx(uc, { className: "w-5 h-5 text-accent" }),
44444
44444
  "About"
44445
44445
  ] }) }),
44446
44446
  /* @__PURE__ */ e.jsx(ee, { children: /* @__PURE__ */ e.jsx("p", { className: "text-muted-foreground leading-relaxed", children: r.personalDetails.summary }) })
44447
44447
  ] }),
44448
44448
  /* @__PURE__ */ e.jsxs(Q, { children: [
44449
- /* @__PURE__ */ e.jsx(le, { children: /* @__PURE__ */ e.jsxs(pe, { className: "flex items-center gap-2", children: [
44449
+ /* @__PURE__ */ e.jsx(de, { children: /* @__PURE__ */ e.jsxs(pe, { className: "flex items-center gap-2", children: [
44450
44450
  /* @__PURE__ */ e.jsx(Xe, { className: "w-5 h-5 text-accent" }),
44451
44451
  "Experience"
44452
44452
  ] }) }),
@@ -44476,7 +44476,7 @@ const nZ = ({ candidateData: t }) => {
44476
44476
  ] }, d.id)) })
44477
44477
  ] }),
44478
44478
  /* @__PURE__ */ e.jsxs(Q, { children: [
44479
- /* @__PURE__ */ e.jsx(le, { children: /* @__PURE__ */ e.jsxs(pe, { className: "flex items-center gap-2", children: [
44479
+ /* @__PURE__ */ e.jsx(de, { children: /* @__PURE__ */ e.jsxs(pe, { className: "flex items-center gap-2", children: [
44480
44480
  /* @__PURE__ */ e.jsx(Pn, { className: "w-5 h-5 text-accent" }),
44481
44481
  "Education"
44482
44482
  ] }) }),
@@ -44495,7 +44495,7 @@ const nZ = ({ candidateData: t }) => {
44495
44495
  ] }),
44496
44496
  /* @__PURE__ */ e.jsxs("div", { className: "space-y-6", children: [
44497
44497
  /* @__PURE__ */ e.jsxs(Q, { className: "sticky top-20", children: [
44498
- /* @__PURE__ */ e.jsx(le, { children: /* @__PURE__ */ e.jsx(pe, { className: "text-lg", children: "Contact Information" }) }),
44498
+ /* @__PURE__ */ e.jsx(de, { children: /* @__PURE__ */ e.jsx(pe, { className: "text-lg", children: "Contact Information" }) }),
44499
44499
  /* @__PURE__ */ e.jsxs(ee, { className: "space-y-4", children: [
44500
44500
  /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-3", children: [
44501
44501
  /* @__PURE__ */ e.jsx("div", { className: "w-10 h-10 rounded-full bg-accent/10 flex items-center justify-center", children: /* @__PURE__ */ e.jsx(ua, { className: "w-5 h-5 text-accent" }) }),
@@ -44530,14 +44530,14 @@ const nZ = ({ candidateData: t }) => {
44530
44530
  ] })
44531
44531
  ] }),
44532
44532
  /* @__PURE__ */ e.jsxs(Q, { children: [
44533
- /* @__PURE__ */ e.jsx(le, { children: /* @__PURE__ */ e.jsxs(pe, { className: "flex items-center gap-2 text-lg", children: [
44533
+ /* @__PURE__ */ e.jsx(de, { children: /* @__PURE__ */ e.jsxs(pe, { className: "flex items-center gap-2 text-lg", children: [
44534
44534
  /* @__PURE__ */ e.jsx(oa, { className: "w-5 h-5 text-accent" }),
44535
44535
  "Skills"
44536
44536
  ] }) }),
44537
44537
  /* @__PURE__ */ e.jsx(ee, { children: /* @__PURE__ */ e.jsx("div", { className: "flex flex-wrap gap-2", children: r.skills.map((d) => /* @__PURE__ */ e.jsx(he, { variant: "secondary", className: "px-3 py-1", children: d }, d)) }) })
44538
44538
  ] }),
44539
44539
  /* @__PURE__ */ e.jsxs(Q, { children: [
44540
- /* @__PURE__ */ e.jsx(le, { children: /* @__PURE__ */ e.jsxs(pe, { className: "flex items-center gap-2 text-lg", children: [
44540
+ /* @__PURE__ */ e.jsx(de, { children: /* @__PURE__ */ e.jsxs(pe, { className: "flex items-center gap-2 text-lg", children: [
44541
44541
  /* @__PURE__ */ e.jsx(Xc, { className: "w-5 h-5 text-accent" }),
44542
44542
  "Languages"
44543
44543
  ] }) }),
@@ -45030,12 +45030,12 @@ const qt = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx(
45030
45030
  EN,
45031
45031
  {
45032
45032
  ref: n,
45033
- className: fe(
45033
+ className: xe(
45034
45034
  "peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
45035
45035
  t
45036
45036
  ),
45037
45037
  ...a,
45038
- children: /* @__PURE__ */ e.jsx($P, { className: fe("flex items-center justify-center text-current"), children: /* @__PURE__ */ e.jsx(sc, { className: "h-4 w-4" }) })
45038
+ children: /* @__PURE__ */ e.jsx($P, { className: xe("flex items-center justify-center text-current"), children: /* @__PURE__ */ e.jsx(sc, { className: "h-4 w-4" }) })
45039
45039
  }
45040
45040
  ));
45041
45041
  qt.displayName = EN.displayName;
@@ -45061,9 +45061,9 @@ const LH = ({
45061
45061
  onToggleSave: w,
45062
45062
  onSaveAction: b
45063
45063
  }) => {
45064
- var ae, xe, be, J, re, ve, ke;
45065
- const j = i === "grid", M = u ?? t.isFollowing ?? !1, L = y || p, N = M ? "Unfollow Company" : "Follow Company", C = t.isSaved, S = k || v, q = C ? "Remove from Saved" : "Save Company", _ = t.trustAndCompliance.licenses.length + t.trustAndCompliance.certifications.length + t.trustAndCompliance.awards.length, I = ((ae = t.group) == null ? void 0 : ae.intelligenceProfile) ?? t.signalsAndInsights, D = Array.isArray(t.jobs.openRoles) ? t.jobs.openRoles.length : t.jobs.openRoles, H = n ?? D, G = H > 0, V = ((xe = t.group) == null ? void 0 : xe.name) ?? t.groupName ?? t.group_name, $ = ((be = t.group) == null ? void 0 : be.slug) ?? t.groupSlug ?? t.group_slug ?? ((J = t.group) == null ? void 0 : J.id) ?? t.groupId ?? t.group_id, O = (ie) => {
45066
- switch (ie) {
45064
+ var te, fe, we, Z, ae, ke, ve;
45065
+ const j = i === "grid", M = u ?? t.isFollowing ?? !1, L = y || p, N = M ? "Unfollow Company" : "Follow Company", C = t.isSaved, S = k || v, q = C ? "Remove from Saved" : "Save Company", _ = t.trustAndCompliance.licenses.length + t.trustAndCompliance.certifications.length + t.trustAndCompliance.awards.length, I = ((te = t.group) == null ? void 0 : te.intelligenceProfile) ?? t.signalsAndInsights, D = Array.isArray(t.jobs.openRoles) ? t.jobs.openRoles.length : t.jobs.openRoles, H = n ?? D, G = H > 0, V = ((fe = t.group) == null ? void 0 : fe.name) ?? t.groupName ?? t.group_name, U = ((we = t.group) == null ? void 0 : we.slug) ?? t.groupSlug ?? t.group_slug ?? ((Z = t.group) == null ? void 0 : Z.id) ?? t.groupId ?? t.group_id, O = (oe) => {
45066
+ switch (oe) {
45067
45067
  case "Operator":
45068
45068
  return "bg-blue-500/10 text-blue-600 border-blue-500/20";
45069
45069
  case "Game Provider":
@@ -45077,28 +45077,28 @@ const LH = ({
45077
45077
  default:
45078
45078
  return "bg-muted text-muted-foreground";
45079
45079
  }
45080
- }, se = (ie) => {
45080
+ }, ie = (oe) => {
45081
45081
  var ye, Ae, Pe;
45082
- if (typeof ie == "string") return ie;
45083
- if (typeof ie == "object" && ie !== null) {
45084
- const He = ie;
45082
+ if (typeof oe == "string") return oe;
45083
+ if (typeof oe == "object" && oe !== null) {
45084
+ const He = oe;
45085
45085
  return He.title ?? ((ye = He.tag) == null ? void 0 : ye.title) ?? ((Ae = He.tag) == null ? void 0 : Ae.name) ?? ((Pe = He.tag) == null ? void 0 : Pe.slug) ?? null;
45086
45086
  }
45087
45087
  return null;
45088
- }, K = (re = t.overview.headquarters) == null ? void 0 : re.city, X = (ve = t.overview.headquarters) == null ? void 0 : ve.country, Z = () => {
45089
- const ie = !M;
45090
- m == null || m(t.id, ie), x == null || x({
45088
+ }, K = (ae = t.overview.headquarters) == null ? void 0 : ae.city, X = (ke = t.overview.headquarters) == null ? void 0 : ke.country, J = () => {
45089
+ const oe = !M;
45090
+ m == null || m(t.id, oe), x == null || x({
45091
45091
  companyId: t.id,
45092
45092
  companySlug: t.slug,
45093
- action: ie ? "follow" : "unfollow"
45093
+ action: oe ? "follow" : "unfollow"
45094
45094
  });
45095
- }, de = () => {
45096
- const ie = !C;
45097
- w == null || w(t.id, ie), b == null || b({
45095
+ }, se = () => {
45096
+ const oe = !C;
45097
+ w == null || w(t.id, oe), b == null || b({
45098
45098
  companyId: t.id,
45099
45099
  companySlug: t.slug,
45100
45100
  companyName: t.name,
45101
- action: ie ? "save" : "unsave"
45101
+ action: oe ? "save" : "unsave"
45102
45102
  });
45103
45103
  };
45104
45104
  return /* @__PURE__ */ e.jsx(
@@ -45164,7 +45164,7 @@ const LH = ({
45164
45164
  variant: C ? "secondary" : "outline",
45165
45165
  size: "sm",
45166
45166
  className: "flex-shrink-0 gap-2 opacity-0 group-hover:opacity-100 focus-visible:opacity-100 transition-opacity",
45167
- onClick: de,
45167
+ onClick: se,
45168
45168
  disabled: S,
45169
45169
  "aria-label": `${q} ${a ?? t.name}`,
45170
45170
  "aria-pressed": C,
@@ -45182,7 +45182,7 @@ const LH = ({
45182
45182
  variant: M ? "secondary" : "outline",
45183
45183
  size: "sm",
45184
45184
  className: "flex-shrink-0 gap-2 opacity-0 group-hover:opacity-100 focus-visible:opacity-100 transition-opacity",
45185
- onClick: Z,
45185
+ onClick: J,
45186
45186
  disabled: L,
45187
45187
  "aria-label": `${N} ${a ?? t.name}`,
45188
45188
  "aria-pressed": M,
@@ -45206,11 +45206,11 @@ const LH = ({
45206
45206
  r ?? 1,
45207
45207
  ")"
45208
45208
  ] }),
45209
- V && !s && /* @__PURE__ */ e.jsx("a", { href: $ ? `/groups/${$}` : "/groups", children: /* @__PURE__ */ e.jsxs(he, { variant: "outline", className: "text-xs", children: [
45209
+ V && !s && /* @__PURE__ */ e.jsx("a", { href: U ? `/groups/${U}` : "/groups", children: /* @__PURE__ */ e.jsxs(he, { variant: "outline", className: "text-xs", children: [
45210
45210
  "Part of ",
45211
45211
  V
45212
45212
  ] }) }),
45213
- t.classification.verticals.slice(0, 2).map((ie) => /* @__PURE__ */ e.jsx(he, { variant: "secondary", className: "text-xs", children: ie }, ie)),
45213
+ t.classification.verticals.slice(0, 2).map((oe) => /* @__PURE__ */ e.jsx(he, { variant: "secondary", className: "text-xs", children: oe }, oe)),
45214
45214
  G && /* @__PURE__ */ e.jsxs(he, { className: "bg-gaming-success/10 text-gaming-success border-gaming-success/20 border text-xs", children: [
45215
45215
  /* @__PURE__ */ e.jsx(Xe, { className: "w-3 h-3 mr-1" }),
45216
45216
  "Hiring (",
@@ -45219,16 +45219,16 @@ const LH = ({
45219
45219
  ] })
45220
45220
  ] }),
45221
45221
  /* @__PURE__ */ e.jsx("p", { className: "text-sm text-muted-foreground line-clamp-2 mb-3", children: t.overview.shortDescription }),
45222
- /* @__PURE__ */ e.jsx("div", { className: "flex flex-wrap gap-1.5 mb-3", children: (ke = t.classification.tags) == null ? void 0 : ke.map(se).filter((ie) => !!ie).slice(0, 4).map((ie) => /* @__PURE__ */ e.jsxs(
45222
+ /* @__PURE__ */ e.jsx("div", { className: "flex flex-wrap gap-1.5 mb-3", children: (ve = t.classification.tags) == null ? void 0 : ve.map(ie).filter((oe) => !!oe).slice(0, 4).map((oe) => /* @__PURE__ */ e.jsxs(
45223
45223
  "span",
45224
45224
  {
45225
45225
  className: "text-xs px-2 py-0.5 rounded-full bg-secondary text-secondary-foreground",
45226
45226
  children: [
45227
45227
  "#",
45228
- ie
45228
+ oe
45229
45229
  ]
45230
45230
  },
45231
- ie
45231
+ oe
45232
45232
  )) }),
45233
45233
  /* @__PURE__ */ e.jsxs("div", { className: "flex items-center justify-between pt-3 border-t border-border/50", children: [
45234
45234
  /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-4 text-xs text-muted-foreground", children: [
@@ -45675,14 +45675,14 @@ const ZH = (t) => ({
45675
45675
  }, m = $N(s), x = BN(m), f = await o.getDimensions(h), v = m === "y", k = v ? "top" : "left", w = v ? "bottom" : "right", b = v ? "clientHeight" : "clientWidth", j = i.reference[x] + i.reference[m] - y[m] - i.floating[x], M = y[m] - i.reference[m], L = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(h));
45676
45676
  let N = L ? L[b] : 0;
45677
45677
  (!N || !await (o.isElement == null ? void 0 : o.isElement(L))) && (N = l.floating[b] || i.floating[x]);
45678
- const C = j / 2 - M / 2, S = N / 2 - f[x] / 2 - 1, q = $n(p[k], S), _ = $n(p[w], S), I = q, D = N - f[x] - _, H = N / 2 - f[x] / 2 + C, G = TC(I, H, D), V = !d.arrow && Lc(s) != null && H !== G && i.reference[x] / 2 - (H < I ? q : _) - f[x] / 2 < 0, $ = V ? H < I ? H - I : H - D : 0;
45678
+ const C = j / 2 - M / 2, S = N / 2 - f[x] / 2 - 1, q = $n(p[k], S), _ = $n(p[w], S), I = q, D = N - f[x] - _, H = N / 2 - f[x] / 2 + C, G = TC(I, H, D), V = !d.arrow && Lc(s) != null && H !== G && i.reference[x] / 2 - (H < I ? q : _) - f[x] / 2 < 0, U = V ? H < I ? H - I : H - D : 0;
45679
45679
  return {
45680
- [m]: y[m] + $,
45680
+ [m]: y[m] + U,
45681
45681
  data: {
45682
45682
  [m]: G,
45683
- centerOffset: H - G - $,
45683
+ centerOffset: H - G - U,
45684
45684
  ...V && {
45685
- alignmentOffset: $
45685
+ alignmentOffset: U
45686
45686
  }
45687
45687
  },
45688
45688
  reset: V
@@ -45738,21 +45738,21 @@ const ZH = (t) => ({
45738
45738
  placement: G
45739
45739
  }
45740
45740
  };
45741
- let V = (I = q.filter(($) => $.overflows[0] <= 0).sort(($, O) => $.overflows[1] - O.overflows[1])[0]) == null ? void 0 : I.placement;
45741
+ let V = (I = q.filter((U) => U.overflows[0] <= 0).sort((U, O) => U.overflows[1] - O.overflows[1])[0]) == null ? void 0 : I.placement;
45742
45742
  if (!V)
45743
45743
  switch (m) {
45744
45744
  case "bestFit": {
45745
45745
  var D;
45746
- const $ = (D = q.filter((O) => {
45746
+ const U = (D = q.filter((O) => {
45747
45747
  if (L) {
45748
- const se = Ta(O.placement);
45749
- return se === w || // Create a bias to the `y` side axis due to horizontal
45748
+ const ie = Ta(O.placement);
45749
+ return ie === w || // Create a bias to the `y` side axis due to horizontal
45750
45750
  // reading directions favoring greater width.
45751
- se === "y";
45751
+ ie === "y";
45752
45752
  }
45753
45753
  return !0;
45754
- }).map((O) => [O.placement, O.overflows.filter((se) => se > 0).reduce((se, K) => se + K, 0)]).sort((O, se) => O[1] - se[1])[0]) == null ? void 0 : D[0];
45755
- $ && (V = $);
45754
+ }).map((O) => [O.placement, O.overflows.filter((ie) => ie > 0).reduce((ie, K) => ie + K, 0)]).sort((O, ie) => O[1] - ie[1])[0]) == null ? void 0 : D[0];
45755
+ U && (V = U);
45756
45756
  break;
45757
45757
  }
45758
45758
  case "initialPlacement":
@@ -46591,9 +46591,9 @@ function zV(t) {
46591
46591
  strategy: n,
46592
46592
  middleware: y
46593
46593
  };
46594
- _.current && (O.platform = _.current), TV(L.current, N.current, O).then((se) => {
46594
+ _.current && (O.platform = _.current), TV(L.current, N.current, O).then((ie) => {
46595
46595
  const K = {
46596
- ...se,
46596
+ ...ie,
46597
46597
  // The floating element's position may be recomputed while it's closed
46598
46598
  // but still mounted (such as when transitioning out). To ensure
46599
46599
  // `isPositioned` will be `false` initially on the next open, avoid
@@ -46629,7 +46629,7 @@ function zV(t) {
46629
46629
  }), [w, b]), V = g.useMemo(() => ({
46630
46630
  reference: j,
46631
46631
  floating: M
46632
- }), [j, M]), $ = g.useMemo(() => {
46632
+ }), [j, M]), U = g.useMemo(() => {
46633
46633
  const O = {
46634
46634
  position: n,
46635
46635
  left: 0,
@@ -46637,16 +46637,16 @@ function zV(t) {
46637
46637
  };
46638
46638
  if (!V.floating)
46639
46639
  return O;
46640
- const se = vL(V.floating, u.x), K = vL(V.floating, u.y);
46640
+ const ie = vL(V.floating, u.x), K = vL(V.floating, u.y);
46641
46641
  return l ? {
46642
46642
  ...O,
46643
- transform: "translate(" + se + "px, " + K + "px)",
46643
+ transform: "translate(" + ie + "px, " + K + "px)",
46644
46644
  ...s_(V.floating) >= 1.5 && {
46645
46645
  willChange: "transform"
46646
46646
  }
46647
46647
  } : {
46648
46648
  position: n,
46649
- left: se,
46649
+ left: ie,
46650
46650
  top: K
46651
46651
  };
46652
46652
  }, [n, l, V.floating, u.x, u.y]);
@@ -46655,8 +46655,8 @@ function zV(t) {
46655
46655
  update: D,
46656
46656
  refs: G,
46657
46657
  elements: V,
46658
- floatingStyles: $
46659
- }), [u, D, G, V, $]);
46658
+ floatingStyles: U
46659
+ }), [u, D, G, V, U]);
46660
46660
  }
46661
46661
  const FV = (t) => {
46662
46662
  function a(n) {
@@ -46868,7 +46868,7 @@ var u_ = "PopperAnchor", p_ = g.forwardRef(
46868
46868
  p_.displayName = u_;
46869
46869
  var JN = "PopperContent", [aB, nB] = l_(JN), m_ = g.forwardRef(
46870
46870
  (t, a) => {
46871
- var J, re, ve, ke, ie, ye;
46871
+ var Z, ae, ke, ve, oe, ye;
46872
46872
  const {
46873
46873
  __scopePopper: n,
46874
46874
  side: r = "bottom",
@@ -46889,7 +46889,7 @@ var JN = "PopperContent", [aB, nB] = l_(JN), m_ = g.forwardRef(
46889
46889
  boundary: _.filter(sB),
46890
46890
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
46891
46891
  altBoundary: I
46892
- }, { refs: H, floatingStyles: G, placement: V, isPositioned: $, middlewareData: O } = zV({
46892
+ }, { refs: H, floatingStyles: G, placement: V, isPositioned: U, middlewareData: O } = zV({
46893
46893
  // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
46894
46894
  strategy: "fixed",
46895
46895
  placement: S,
@@ -46919,13 +46919,13 @@ var JN = "PopperContent", [aB, nB] = l_(JN), m_ = g.forwardRef(
46919
46919
  iB({ arrowWidth: N, arrowHeight: C }),
46920
46920
  y && $V({ strategy: "referenceHidden", ...D })
46921
46921
  ]
46922
- }), [se, K] = x_(V), X = eB(x);
46922
+ }), [ie, K] = x_(V), X = eB(x);
46923
46923
  bL(() => {
46924
- $ && (X == null || X());
46925
- }, [$, X]);
46926
- const Z = (J = O.arrow) == null ? void 0 : J.x, de = (re = O.arrow) == null ? void 0 : re.y, ae = ((ve = O.arrow) == null ? void 0 : ve.centerOffset) !== 0, [xe, be] = g.useState();
46924
+ U && (X == null || X());
46925
+ }, [U, X]);
46926
+ const J = (Z = O.arrow) == null ? void 0 : Z.x, se = (ae = O.arrow) == null ? void 0 : ae.y, te = ((ke = O.arrow) == null ? void 0 : ke.centerOffset) !== 0, [fe, we] = g.useState();
46927
46927
  return bL(() => {
46928
- k && be(window.getComputedStyle(k).zIndex);
46928
+ k && we(window.getComputedStyle(k).zIndex);
46929
46929
  }, [k]), /* @__PURE__ */ e.jsx(
46930
46930
  "div",
46931
46931
  {
@@ -46933,13 +46933,13 @@ var JN = "PopperContent", [aB, nB] = l_(JN), m_ = g.forwardRef(
46933
46933
  "data-radix-popper-content-wrapper": "",
46934
46934
  style: {
46935
46935
  ...G,
46936
- transform: $ ? G.transform : "translate(0, -200%)",
46936
+ transform: U ? G.transform : "translate(0, -200%)",
46937
46937
  // keep off the page when measuring
46938
46938
  minWidth: "max-content",
46939
- zIndex: xe,
46939
+ zIndex: fe,
46940
46940
  "--radix-popper-transform-origin": [
46941
- (ke = O.transformOrigin) == null ? void 0 : ke.x,
46942
- (ie = O.transformOrigin) == null ? void 0 : ie.y
46941
+ (ve = O.transformOrigin) == null ? void 0 : ve.x,
46942
+ (oe = O.transformOrigin) == null ? void 0 : oe.y
46943
46943
  ].join(" "),
46944
46944
  // hide the content if using the hide middleware and should be hidden
46945
46945
  // set visibility to hidden and disable pointer events so the UI behaves
@@ -46954,15 +46954,15 @@ var JN = "PopperContent", [aB, nB] = l_(JN), m_ = g.forwardRef(
46954
46954
  aB,
46955
46955
  {
46956
46956
  scope: n,
46957
- placedSide: se,
46957
+ placedSide: ie,
46958
46958
  onArrowChange: M,
46959
- arrowX: Z,
46960
- arrowY: de,
46961
- shouldHideArrow: ae,
46959
+ arrowX: J,
46960
+ arrowY: se,
46961
+ shouldHideArrow: te,
46962
46962
  children: /* @__PURE__ */ e.jsx(
46963
46963
  c_.div,
46964
46964
  {
46965
- "data-side": se,
46965
+ "data-side": ie,
46966
46966
  "data-align": K,
46967
46967
  ...f,
46968
46968
  ref: b,
@@ -46970,7 +46970,7 @@ var JN = "PopperContent", [aB, nB] = l_(JN), m_ = g.forwardRef(
46970
46970
  ...f.style,
46971
46971
  // if the PopperContent hasn't been placed yet (not all measurements done)
46972
46972
  // we prevent animations so that users's animation don't kick in too early referring wrong sides
46973
- animation: $ ? void 0 : "none"
46973
+ animation: U ? void 0 : "none"
46974
46974
  }
46975
46975
  }
46976
46976
  )
@@ -47234,11 +47234,11 @@ var fB = [" ", "Enter", "ArrowUp", "ArrowDown"], xB = [" ", "Enter"], Oo = "Sele
47234
47234
  {
47235
47235
  scope: t.__scopeSelect,
47236
47236
  onNativeOptionAdd: g.useCallback((V) => {
47237
- H(($) => new Set($).add(V));
47237
+ H((U) => new Set(U).add(V));
47238
47238
  }, []),
47239
47239
  onNativeOptionRemove: g.useCallback((V) => {
47240
- H(($) => {
47241
- const O = new Set($);
47240
+ H((U) => {
47241
+ const O = new Set(U);
47242
47242
  return O.delete(V), O;
47243
47243
  });
47244
47244
  }, []),
@@ -47377,65 +47377,65 @@ var ka = 10, [A_, Zn] = Ac(Eo), jB = "SelectContentImpl", CB = /* @__PURE__ */ e
47377
47377
  avoidCollisions: v,
47378
47378
  //
47379
47379
  ...k
47380
- } = t, w = Wn(Eo, n), [b, j] = g.useState(null), [M, L] = g.useState(null), N = fa(a, (J) => j(J)), [C, S] = g.useState(null), [q, _] = g.useState(
47380
+ } = t, w = Wn(Eo, n), [b, j] = g.useState(null), [M, L] = g.useState(null), N = fa(a, (Z) => j(Z)), [C, S] = g.useState(null), [q, _] = g.useState(
47381
47381
  null
47382
47382
  ), I = w9(n), [D, H] = g.useState(!1), G = g.useRef(!1);
47383
47383
  g.useEffect(() => {
47384
47384
  if (b) return jN(b);
47385
47385
  }, [b]), MN();
47386
47386
  const V = g.useCallback(
47387
- (J) => {
47388
- const [re, ...ve] = I().map((ye) => ye.ref.current), [ke] = ve.slice(-1), ie = document.activeElement;
47389
- for (const ye of J)
47390
- if (ye === ie || (ye == null || ye.scrollIntoView({ block: "nearest" }), ye === re && M && (M.scrollTop = 0), ye === ke && M && (M.scrollTop = M.scrollHeight), ye == null || ye.focus(), document.activeElement !== ie)) return;
47387
+ (Z) => {
47388
+ const [ae, ...ke] = I().map((ye) => ye.ref.current), [ve] = ke.slice(-1), oe = document.activeElement;
47389
+ for (const ye of Z)
47390
+ if (ye === oe || (ye == null || ye.scrollIntoView({ block: "nearest" }), ye === ae && M && (M.scrollTop = 0), ye === ve && M && (M.scrollTop = M.scrollHeight), ye == null || ye.focus(), document.activeElement !== oe)) return;
47391
47391
  },
47392
47392
  [I, M]
47393
- ), $ = g.useCallback(
47393
+ ), U = g.useCallback(
47394
47394
  () => V([C, b]),
47395
47395
  [V, C, b]
47396
47396
  );
47397
47397
  g.useEffect(() => {
47398
- D && $();
47399
- }, [D, $]);
47400
- const { onOpenChange: O, triggerPointerDownPosRef: se } = w;
47398
+ D && U();
47399
+ }, [D, U]);
47400
+ const { onOpenChange: O, triggerPointerDownPosRef: ie } = w;
47401
47401
  g.useEffect(() => {
47402
47402
  if (b) {
47403
- let J = { x: 0, y: 0 };
47404
- const re = (ke) => {
47405
- var ie, ye;
47406
- J = {
47407
- x: Math.abs(Math.round(ke.pageX) - (((ie = se.current) == null ? void 0 : ie.x) ?? 0)),
47408
- y: Math.abs(Math.round(ke.pageY) - (((ye = se.current) == null ? void 0 : ye.y) ?? 0))
47403
+ let Z = { x: 0, y: 0 };
47404
+ const ae = (ve) => {
47405
+ var oe, ye;
47406
+ Z = {
47407
+ x: Math.abs(Math.round(ve.pageX) - (((oe = ie.current) == null ? void 0 : oe.x) ?? 0)),
47408
+ y: Math.abs(Math.round(ve.pageY) - (((ye = ie.current) == null ? void 0 : ye.y) ?? 0))
47409
47409
  };
47410
- }, ve = (ke) => {
47411
- J.x <= 10 && J.y <= 10 ? ke.preventDefault() : b.contains(ke.target) || O(!1), document.removeEventListener("pointermove", re), se.current = null;
47410
+ }, ke = (ve) => {
47411
+ Z.x <= 10 && Z.y <= 10 ? ve.preventDefault() : b.contains(ve.target) || O(!1), document.removeEventListener("pointermove", ae), ie.current = null;
47412
47412
  };
47413
- return se.current !== null && (document.addEventListener("pointermove", re), document.addEventListener("pointerup", ve, { capture: !0, once: !0 })), () => {
47414
- document.removeEventListener("pointermove", re), document.removeEventListener("pointerup", ve, { capture: !0 });
47413
+ return ie.current !== null && (document.addEventListener("pointermove", ae), document.addEventListener("pointerup", ke, { capture: !0, once: !0 })), () => {
47414
+ document.removeEventListener("pointermove", ae), document.removeEventListener("pointerup", ke, { capture: !0 });
47415
47415
  };
47416
47416
  }
47417
- }, [b, O, se]), g.useEffect(() => {
47418
- const J = () => O(!1);
47419
- return window.addEventListener("blur", J), window.addEventListener("resize", J), () => {
47420
- window.removeEventListener("blur", J), window.removeEventListener("resize", J);
47417
+ }, [b, O, ie]), g.useEffect(() => {
47418
+ const Z = () => O(!1);
47419
+ return window.addEventListener("blur", Z), window.addEventListener("resize", Z), () => {
47420
+ window.removeEventListener("blur", Z), window.removeEventListener("resize", Z);
47421
47421
  };
47422
47422
  }, [O]);
47423
- const [K, X] = Z_((J) => {
47424
- const re = I().filter((ie) => !ie.disabled), ve = re.find((ie) => ie.ref.current === document.activeElement), ke = J_(re, J, ve);
47425
- ke && setTimeout(() => ke.ref.current.focus());
47426
- }), Z = g.useCallback(
47427
- (J, re, ve) => {
47428
- const ke = !G.current && !ve;
47429
- (w.value !== void 0 && w.value === re || ke) && (S(J), ke && (G.current = !0));
47423
+ const [K, X] = Z_((Z) => {
47424
+ const ae = I().filter((oe) => !oe.disabled), ke = ae.find((oe) => oe.ref.current === document.activeElement), ve = J_(ae, Z, ke);
47425
+ ve && setTimeout(() => ve.ref.current.focus());
47426
+ }), J = g.useCallback(
47427
+ (Z, ae, ke) => {
47428
+ const ve = !G.current && !ke;
47429
+ (w.value !== void 0 && w.value === ae || ve) && (S(Z), ve && (G.current = !0));
47430
47430
  },
47431
47431
  [w.value]
47432
- ), de = g.useCallback(() => b == null ? void 0 : b.focus(), [b]), ae = g.useCallback(
47433
- (J, re, ve) => {
47434
- const ke = !G.current && !ve;
47435
- (w.value !== void 0 && w.value === re || ke) && _(J);
47432
+ ), se = g.useCallback(() => b == null ? void 0 : b.focus(), [b]), te = g.useCallback(
47433
+ (Z, ae, ke) => {
47434
+ const ve = !G.current && !ke;
47435
+ (w.value !== void 0 && w.value === ae || ve) && _(Z);
47436
47436
  },
47437
47437
  [w.value]
47438
- ), xe = r === "popper" ? zC : __, be = xe === zC ? {
47438
+ ), fe = r === "popper" ? zC : __, we = fe === zC ? {
47439
47439
  side: l,
47440
47440
  sideOffset: d,
47441
47441
  align: h,
@@ -47454,11 +47454,11 @@ var ka = 10, [A_, Zn] = Ac(Eo), jB = "SelectContentImpl", CB = /* @__PURE__ */ e
47454
47454
  content: b,
47455
47455
  viewport: M,
47456
47456
  onViewportChange: L,
47457
- itemRefCallback: Z,
47457
+ itemRefCallback: J,
47458
47458
  selectedItem: C,
47459
- onItemLeave: de,
47460
- itemTextRefCallback: ae,
47461
- focusSelectedItem: $,
47459
+ onItemLeave: se,
47460
+ itemTextRefCallback: te,
47461
+ focusSelectedItem: U,
47462
47462
  selectedItemText: q,
47463
47463
  position: r,
47464
47464
  isPositioned: D,
@@ -47468,12 +47468,12 @@ var ka = 10, [A_, Zn] = Ac(Eo), jB = "SelectContentImpl", CB = /* @__PURE__ */ e
47468
47468
  {
47469
47469
  asChild: !0,
47470
47470
  trapped: w.open,
47471
- onMountAutoFocus: (J) => {
47472
- J.preventDefault();
47471
+ onMountAutoFocus: (Z) => {
47472
+ Z.preventDefault();
47473
47473
  },
47474
- onUnmountAutoFocus: mt(s, (J) => {
47475
- var re;
47476
- (re = w.trigger) == null || re.focus({ preventScroll: !0 }), J.preventDefault();
47474
+ onUnmountAutoFocus: mt(s, (Z) => {
47475
+ var ae;
47476
+ (ae = w.trigger) == null || ae.focus({ preventScroll: !0 }), Z.preventDefault();
47477
47477
  }),
47478
47478
  children: /* @__PURE__ */ e.jsx(
47479
47479
  i9,
@@ -47482,18 +47482,18 @@ var ka = 10, [A_, Zn] = Ac(Eo), jB = "SelectContentImpl", CB = /* @__PURE__ */ e
47482
47482
  disableOutsidePointerEvents: !0,
47483
47483
  onEscapeKeyDown: i,
47484
47484
  onPointerDownOutside: o,
47485
- onFocusOutside: (J) => J.preventDefault(),
47485
+ onFocusOutside: (Z) => Z.preventDefault(),
47486
47486
  onDismiss: () => w.onOpenChange(!1),
47487
47487
  children: /* @__PURE__ */ e.jsx(
47488
- xe,
47488
+ fe,
47489
47489
  {
47490
47490
  role: "listbox",
47491
47491
  id: w.contentId,
47492
47492
  "data-state": w.open ? "open" : "closed",
47493
47493
  dir: w.dir,
47494
- onContextMenu: (J) => J.preventDefault(),
47494
+ onContextMenu: (Z) => Z.preventDefault(),
47495
47495
  ...k,
47496
- ...be,
47496
+ ...we,
47497
47497
  onPlaced: () => H(!0),
47498
47498
  ref: N,
47499
47499
  style: {
@@ -47504,15 +47504,15 @@ var ka = 10, [A_, Zn] = Ac(Eo), jB = "SelectContentImpl", CB = /* @__PURE__ */ e
47504
47504
  outline: "none",
47505
47505
  ...k.style
47506
47506
  },
47507
- onKeyDown: mt(k.onKeyDown, (J) => {
47508
- const re = J.ctrlKey || J.altKey || J.metaKey;
47509
- if (J.key === "Tab" && J.preventDefault(), !re && J.key.length === 1 && X(J.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(J.key)) {
47510
- let ke = I().filter((ie) => !ie.disabled).map((ie) => ie.ref.current);
47511
- if (["ArrowUp", "End"].includes(J.key) && (ke = ke.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(J.key)) {
47512
- const ie = J.target, ye = ke.indexOf(ie);
47513
- ke = ke.slice(ye + 1);
47507
+ onKeyDown: mt(k.onKeyDown, (Z) => {
47508
+ const ae = Z.ctrlKey || Z.altKey || Z.metaKey;
47509
+ if (Z.key === "Tab" && Z.preventDefault(), !ae && Z.key.length === 1 && X(Z.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(Z.key)) {
47510
+ let ve = I().filter((oe) => !oe.disabled).map((oe) => oe.ref.current);
47511
+ if (["ArrowUp", "End"].includes(Z.key) && (ve = ve.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(Z.key)) {
47512
+ const oe = Z.target, ye = ve.indexOf(oe);
47513
+ ve = ve.slice(ye + 1);
47514
47514
  }
47515
- setTimeout(() => V(ke)), J.preventDefault();
47515
+ setTimeout(() => V(ve)), Z.preventDefault();
47516
47516
  }
47517
47517
  })
47518
47518
  }
@@ -47531,7 +47531,7 @@ var NB = "SelectItemAlignedPosition", __ = g.forwardRef((t, a) => {
47531
47531
  if (i.trigger && i.valueNode && l && h && f && v && k) {
47532
47532
  const N = i.trigger.getBoundingClientRect(), C = h.getBoundingClientRect(), S = i.valueNode.getBoundingClientRect(), q = k.getBoundingClientRect();
47533
47533
  if (i.dir !== "rtl") {
47534
- const ie = q.left - C.left, ye = S.left - ie, Ae = N.left - ye, Pe = N.width + Ae, He = Math.max(Pe, C.width), dt = window.innerWidth - ka, wt = cL(ye, [
47534
+ const oe = q.left - C.left, ye = S.left - oe, Ae = N.left - ye, Pe = N.width + Ae, He = Math.max(Pe, C.width), dt = window.innerWidth - ka, wt = cL(ye, [
47535
47535
  ka,
47536
47536
  // Prevents the content from going off the starting edge of the
47537
47537
  // viewport. It may still go off the ending edge, but this can be
@@ -47542,31 +47542,31 @@ var NB = "SelectItemAlignedPosition", __ = g.forwardRef((t, a) => {
47542
47542
  ]);
47543
47543
  l.style.minWidth = Pe + "px", l.style.left = wt + "px";
47544
47544
  } else {
47545
- const ie = C.right - q.right, ye = window.innerWidth - S.right - ie, Ae = window.innerWidth - N.right - ye, Pe = N.width + Ae, He = Math.max(Pe, C.width), dt = window.innerWidth - ka, wt = cL(ye, [
47545
+ const oe = C.right - q.right, ye = window.innerWidth - S.right - oe, Ae = window.innerWidth - N.right - ye, Pe = N.width + Ae, He = Math.max(Pe, C.width), dt = window.innerWidth - ka, wt = cL(ye, [
47546
47546
  ka,
47547
47547
  Math.max(ka, dt - He)
47548
47548
  ]);
47549
47549
  l.style.minWidth = Pe + "px", l.style.right = wt + "px";
47550
47550
  }
47551
- const _ = y(), I = window.innerHeight - ka * 2, D = f.scrollHeight, H = window.getComputedStyle(h), G = parseInt(H.borderTopWidth, 10), V = parseInt(H.paddingTop, 10), $ = parseInt(H.borderBottomWidth, 10), O = parseInt(H.paddingBottom, 10), se = G + V + D + O + $, K = Math.min(v.offsetHeight * 5, se), X = window.getComputedStyle(f), Z = parseInt(X.paddingTop, 10), de = parseInt(X.paddingBottom, 10), ae = N.top + N.height / 2 - ka, xe = I - ae, be = v.offsetHeight / 2, J = v.offsetTop + be, re = G + V + J, ve = se - re;
47552
- if (re <= ae) {
47553
- const ie = _.length > 0 && v === _[_.length - 1].ref.current;
47551
+ const _ = y(), I = window.innerHeight - ka * 2, D = f.scrollHeight, H = window.getComputedStyle(h), G = parseInt(H.borderTopWidth, 10), V = parseInt(H.paddingTop, 10), U = parseInt(H.borderBottomWidth, 10), O = parseInt(H.paddingBottom, 10), ie = G + V + D + O + U, K = Math.min(v.offsetHeight * 5, ie), X = window.getComputedStyle(f), J = parseInt(X.paddingTop, 10), se = parseInt(X.paddingBottom, 10), te = N.top + N.height / 2 - ka, fe = I - te, we = v.offsetHeight / 2, Z = v.offsetTop + we, ae = G + V + Z, ke = ie - ae;
47552
+ if (ae <= te) {
47553
+ const oe = _.length > 0 && v === _[_.length - 1].ref.current;
47554
47554
  l.style.bottom = "0px";
47555
47555
  const ye = h.clientHeight - f.offsetTop - f.offsetHeight, Ae = Math.max(
47556
- xe,
47557
- be + // viewport might have padding bottom, include it to avoid a scrollable viewport
47558
- (ie ? de : 0) + ye + $
47559
- ), Pe = re + Ae;
47556
+ fe,
47557
+ we + // viewport might have padding bottom, include it to avoid a scrollable viewport
47558
+ (oe ? se : 0) + ye + U
47559
+ ), Pe = ae + Ae;
47560
47560
  l.style.height = Pe + "px";
47561
47561
  } else {
47562
- const ie = _.length > 0 && v === _[0].ref.current;
47562
+ const oe = _.length > 0 && v === _[0].ref.current;
47563
47563
  l.style.top = "0px";
47564
47564
  const Ae = Math.max(
47565
- ae,
47565
+ te,
47566
47566
  G + f.offsetTop + // viewport might have padding top, include it to avoid a scrollable viewport
47567
- (ie ? Z : 0) + be
47568
- ) + ve;
47569
- l.style.height = Ae + "px", f.scrollTop = re - ae + f.offsetTop;
47567
+ (oe ? J : 0) + we
47568
+ ) + ke;
47569
+ l.style.height = Ae + "px", f.scrollTop = ae - te + f.offsetTop;
47570
47570
  }
47571
47571
  l.style.margin = `${ka}px 0`, l.style.minHeight = K + "px", l.style.maxHeight = I + "px", r == null || r(), requestAnimationFrame(() => m.current = !0);
47572
47572
  }
@@ -47988,7 +47988,7 @@ const on = zB, cn = FB, Va = g.forwardRef(({ className: t, children: a, ...n },
47988
47988
  X_,
47989
47989
  {
47990
47990
  ref: r,
47991
- className: fe(
47991
+ className: xe(
47992
47992
  "flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",
47993
47993
  t
47994
47994
  ),
@@ -48004,7 +48004,7 @@ const aR = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx(
48004
48004
  eR,
48005
48005
  {
48006
48006
  ref: n,
48007
- className: fe(
48007
+ className: xe(
48008
48008
  "flex cursor-default items-center justify-center py-1",
48009
48009
  t
48010
48010
  ),
@@ -48017,7 +48017,7 @@ const nR = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx(
48017
48017
  tR,
48018
48018
  {
48019
48019
  ref: n,
48020
- className: fe(
48020
+ className: xe(
48021
48021
  "flex cursor-default items-center justify-center py-1",
48022
48022
  t
48023
48023
  ),
@@ -48030,7 +48030,7 @@ const Ba = g.forwardRef(({ className: t, children: a, position: n = "popper", ..
48030
48030
  Y_,
48031
48031
  {
48032
48032
  ref: s,
48033
- className: fe(
48033
+ className: xe(
48034
48034
  "relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-select-content-transform-origin]",
48035
48035
  n === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
48036
48036
  t
@@ -48042,7 +48042,7 @@ const Ba = g.forwardRef(({ className: t, children: a, position: n = "popper", ..
48042
48042
  /* @__PURE__ */ e.jsx(
48043
48043
  HB,
48044
48044
  {
48045
- className: fe(
48045
+ className: xe(
48046
48046
  "p-1",
48047
48047
  n === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
48048
48048
  ),
@@ -48058,7 +48058,7 @@ const $B = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx(
48058
48058
  K_,
48059
48059
  {
48060
48060
  ref: n,
48061
- className: fe("px-2 py-1.5 text-sm font-semibold", t),
48061
+ className: xe("px-2 py-1.5 text-sm font-semibold", t),
48062
48062
  ...a
48063
48063
  }
48064
48064
  ));
@@ -48067,7 +48067,7 @@ const St = g.forwardRef(({ className: t, children: a, ...n }, r) => /* @__PURE__
48067
48067
  Q_,
48068
48068
  {
48069
48069
  ref: r,
48070
- className: fe(
48070
+ className: xe(
48071
48071
  "relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
48072
48072
  t
48073
48073
  ),
@@ -48083,7 +48083,7 @@ const UB = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx(
48083
48083
  KN,
48084
48084
  {
48085
48085
  ref: n,
48086
- className: fe("-mx-1 my-1 h-px bg-muted", t),
48086
+ className: xe("-mx-1 my-1 h-px bg-muted", t),
48087
48087
  ...a
48088
48088
  }
48089
48089
  ));
@@ -48862,7 +48862,7 @@ const h$ = d$, u$ = cR, p$ = lR, dR = [
48862
48862
  const a = hR.find((n) => n.label === t);
48863
48863
  return (a == null ? void 0 : a.label) ?? t;
48864
48864
  }, j$ = ({ entities: t, onClearSelection: a, maxSelections: n }) => /* @__PURE__ */ e.jsxs(Q, { className: "border-border/60", children: [
48865
- /* @__PURE__ */ e.jsxs(le, { className: "flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between", children: [
48865
+ /* @__PURE__ */ e.jsxs(de, { className: "flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between", children: [
48866
48866
  /* @__PURE__ */ e.jsxs("div", { children: [
48867
48867
  /* @__PURE__ */ e.jsx("h3", { className: "text-lg font-semibold", children: "Comparison" }),
48868
48868
  /* @__PURE__ */ e.jsxs("p", { className: "text-sm text-muted-foreground", children: [
@@ -49014,41 +49014,41 @@ const h$ = d$, u$ = cR, p$ = lR, dR = [
49014
49014
  onSaveAction: M
49015
49015
  }) => {
49016
49016
  const [L, N] = A(!1), [C, S] = A([]), [q, _] = A(!0), { displayCompanies: I, comparisonEntities: D } = Fe(() => {
49017
- const X = t.map((Z) => {
49018
- var xe, be, J;
49019
- const de = h.scope === "group", ae = ((be = (xe = Z.group) == null ? void 0 : xe.companies) == null ? void 0 : be.length) ?? 1;
49017
+ const X = t.map((J) => {
49018
+ var fe, we, Z;
49019
+ const se = h.scope === "group", te = ((we = (fe = J.group) == null ? void 0 : fe.companies) == null ? void 0 : we.length) ?? 1;
49020
49020
  return {
49021
- company: Z,
49022
- displayName: de ? ((J = Z.group) == null ? void 0 : J.name) ?? Z.groupName ?? Z.name : Z.name,
49023
- openRolesCount: Array.isArray(Z.jobs.openRoles) ? Z.jobs.openRoles.length : Z.jobs.openRoles,
49024
- groupMembersCount: ae,
49025
- isGroup: de,
49026
- comparisonProfile: w$(Z),
49027
- comparisonId: Z.id
49021
+ company: J,
49022
+ displayName: se ? ((Z = J.group) == null ? void 0 : Z.name) ?? J.groupName ?? J.name : J.name,
49023
+ openRolesCount: Array.isArray(J.jobs.openRoles) ? J.jobs.openRoles.length : J.jobs.openRoles,
49024
+ groupMembersCount: te,
49025
+ isGroup: se,
49026
+ comparisonProfile: w$(J),
49027
+ comparisonId: J.id
49028
49028
  };
49029
49029
  });
49030
49030
  return {
49031
49031
  displayCompanies: X,
49032
- comparisonEntities: X.map((Z) => ({
49033
- id: Z.comparisonId,
49034
- name: Z.displayName,
49035
- normalizedProfile: Z.comparisonProfile
49032
+ comparisonEntities: X.map((J) => ({
49033
+ id: J.comparisonId,
49034
+ name: J.displayName,
49035
+ normalizedProfile: J.comparisonProfile
49036
49036
  }))
49037
49037
  };
49038
49038
  }, [t, h.scope]), H = Fe(() => S$(h), [h]), G = Fe(
49039
49039
  () => D.filter((X) => C.includes(X.id)),
49040
49040
  [D, C]
49041
49041
  );
49042
- ne(() => {
49042
+ re(() => {
49043
49043
  S([]);
49044
- }, [h.scope]), ne(() => {
49045
- S((X) => X.filter((Z) => D.some((de) => de.id === Z)));
49044
+ }, [h.scope]), re(() => {
49045
+ S((X) => X.filter((J) => D.some((se) => se.id === J)));
49046
49046
  }, [D]);
49047
49047
  const V = (X) => {
49048
- S((Z) => Z.includes(X) ? Z.filter((de) => de !== X) : Z.length >= aC ? Z : [...Z, X]);
49049
- }, $ = () => {
49048
+ S((J) => J.includes(X) ? J.filter((se) => se !== X) : J.length >= aC ? J : [...J, X]);
49049
+ }, U = () => {
49050
49050
  S([]);
49051
- }, O = i === 0 ? 0 : (r - 1) * s + 1, se = Math.min(r * s, i), K = y === "grid" ? "grid gap-6 sm:grid-cols-2 xl:grid-cols-3" : "space-y-4";
49051
+ }, O = i === 0 ? 0 : (r - 1) * s + 1, ie = Math.min(r * s, i), K = y === "grid" ? "grid gap-6 sm:grid-cols-2 xl:grid-cols-3" : "space-y-4";
49052
49052
  return /* @__PURE__ */ e.jsxs("div", { className: "min-h-screen bg-background", children: [
49053
49053
  /* @__PURE__ */ e.jsx(N$, {}),
49054
49054
  /* @__PURE__ */ e.jsx("section", { className: "py-8", children: /* @__PURE__ */ e.jsx("div", { className: "container mx-auto px-4", children: /* @__PURE__ */ e.jsxs("div", { className: "flex gap-8", children: [
@@ -49091,7 +49091,7 @@ const h$ = d$, u$ = cR, p$ = lR, dR = [
49091
49091
  onItemsPerPageChange: d,
49092
49092
  totalCount: i,
49093
49093
  startIndex: O,
49094
- endIndex: se,
49094
+ endIndex: ie,
49095
49095
  title: "All companies",
49096
49096
  items: "companies"
49097
49097
  }
@@ -49124,7 +49124,7 @@ const h$ = d$, u$ = cR, p$ = lR, dR = [
49124
49124
  j$,
49125
49125
  {
49126
49126
  entities: G,
49127
- onClearSelection: $,
49127
+ onClearSelection: U,
49128
49128
  maxSelections: aC
49129
49129
  }
49130
49130
  ) }),
@@ -49195,7 +49195,7 @@ const h$ = d$, u$ = cR, p$ = lR, dR = [
49195
49195
  }, Vt = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx(
49196
49196
  "textarea",
49197
49197
  {
49198
- className: fe(
49198
+ className: xe(
49199
49199
  "flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
49200
49200
  t
49201
49201
  ),
@@ -49212,7 +49212,7 @@ const I$ = ({ company: t, open: a, onOpenChange: n, onClaimSubmit: r, claimPrefi
49212
49212
  relationship: "",
49213
49213
  message: ""
49214
49214
  }), [d, h] = A(() => l(s));
49215
- ne(() => {
49215
+ re(() => {
49216
49216
  a && h(l(s));
49217
49217
  }, [a, s]);
49218
49218
  const u = () => {
@@ -49407,7 +49407,7 @@ const I$ = ({ company: t, open: a, onOpenChange: n, onClaimSubmit: r, claimPrefi
49407
49407
  foundedYear: a,
49408
49408
  employeeRange: n,
49409
49409
  className: r
49410
- }) => /* @__PURE__ */ e.jsxs("div", { className: fe("flex flex-wrap items-center gap-4 text-sm text-muted-foreground", r), children: [
49410
+ }) => /* @__PURE__ */ e.jsxs("div", { className: xe("flex flex-wrap items-center gap-4 text-sm text-muted-foreground", r), children: [
49411
49411
  /* @__PURE__ */ e.jsxs("span", { className: "flex items-center gap-1", children: [
49412
49412
  /* @__PURE__ */ e.jsx(at, { className: "h-4 w-4" }),
49413
49413
  t.city,
@@ -49455,7 +49455,7 @@ function pR({
49455
49455
  followDisabled: q = !1,
49456
49456
  onClaimClick: _
49457
49457
  }) {
49458
- const I = x, D = q || S, H = u ? "Unfollow Company" : "Follow Company", G = v || k, V = I ? "Remove from Saved" : "Save Company", $ = () => h === "claimed" ? /* @__PURE__ */ e.jsxs(he, { className: "bg-accent/10 text-accent border-accent/20", children: [
49458
+ const I = x, D = q || S, H = u ? "Unfollow Company" : "Follow Company", G = v || k, V = I ? "Remove from Saved" : "Save Company", U = () => h === "claimed" ? /* @__PURE__ */ e.jsxs(he, { className: "bg-accent/10 text-accent border-accent/20", children: [
49459
49459
  /* @__PURE__ */ e.jsx(rt, { className: "w-3 h-3 mr-1" }),
49460
49460
  "Claimed"
49461
49461
  ] }) : null, O = () => {
@@ -49465,7 +49465,7 @@ function pR({
49465
49465
  companySlug: o,
49466
49466
  action: K ? "follow" : "unfollow"
49467
49467
  });
49468
- }, se = () => {
49468
+ }, ie = () => {
49469
49469
  const K = !I;
49470
49470
  M == null || M(i, K), L == null || L({
49471
49471
  companyId: i,
@@ -49498,7 +49498,7 @@ function pR({
49498
49498
  /* @__PURE__ */ e.jsxs("div", { className: "flex-1", children: [
49499
49499
  /* @__PURE__ */ e.jsxs("div", { className: "flex flex-wrap items-center gap-2 mb-2", children: [
49500
49500
  /* @__PURE__ */ e.jsx("h1", { className: "text-2xl md:text-3xl font-bold text-primary-foreground", children: t }),
49501
- $()
49501
+ U()
49502
49502
  ] }),
49503
49503
  /* @__PURE__ */ e.jsxs("div", { className: "flex flex-wrap gap-2 mb-3", children: [
49504
49504
  /* @__PURE__ */ e.jsx(he, { variant: "secondary", children: n }),
@@ -49560,7 +49560,7 @@ function pR({
49560
49560
  {
49561
49561
  variant: I ? "secondary" : "outline",
49562
49562
  className: "border-primary-foreground/30 text-primary-foreground hover:bg-primary-foreground/10",
49563
- onClick: se,
49563
+ onClick: ie,
49564
49564
  disabled: G,
49565
49565
  "aria-label": `${V} ${t}`,
49566
49566
  "aria-pressed": I,
@@ -49641,7 +49641,7 @@ const mR = ({ items: t, className: a }) => /* @__PURE__ */ e.jsx(
49641
49641
  formatOfficeLocation: r
49642
49642
  }) => /* @__PURE__ */ e.jsxs(Ce, { value: "overview", className: "space-y-6 mt-0", children: [
49643
49643
  /* @__PURE__ */ e.jsxs(Q, { children: [
49644
- /* @__PURE__ */ e.jsx(le, { children: /* @__PURE__ */ e.jsx(pe, { children: "About" }) }),
49644
+ /* @__PURE__ */ e.jsx(de, { children: /* @__PURE__ */ e.jsx(pe, { children: "About" }) }),
49645
49645
  /* @__PURE__ */ e.jsxs(ee, { children: [
49646
49646
  /* @__PURE__ */ e.jsx("p", { className: "text-muted-foreground mb-4", children: t.longDescription || t.shortDescription }),
49647
49647
  /* @__PURE__ */ e.jsx("div", { className: "flex flex-wrap gap-2", children: a.tags.map((s) => /* @__PURE__ */ e.jsxs(he, { variant: "secondary", children: [
@@ -49651,14 +49651,14 @@ const mR = ({ items: t, className: a }) => /* @__PURE__ */ e.jsx(
49651
49651
  ] })
49652
49652
  ] }),
49653
49653
  /* @__PURE__ */ e.jsxs(Q, { children: [
49654
- /* @__PURE__ */ e.jsx(le, { children: /* @__PURE__ */ e.jsx(pe, { children: "Office Locations" }) }),
49654
+ /* @__PURE__ */ e.jsx(de, { children: /* @__PURE__ */ e.jsx(pe, { children: "Office Locations" }) }),
49655
49655
  /* @__PURE__ */ e.jsx(ee, { children: /* @__PURE__ */ e.jsx("div", { className: "flex flex-wrap gap-3", children: n.map((s, i) => /* @__PURE__ */ e.jsxs(he, { variant: "outline", children: [
49656
49656
  /* @__PURE__ */ e.jsx(at, { className: "w-3 h-3 mr-1" }),
49657
49657
  r(s)
49658
49658
  ] }, i)) }) })
49659
49659
  ] })
49660
49660
  ] }), _$ = ({ products: t }) => /* @__PURE__ */ e.jsx(Ce, { value: "products", className: "space-y-4 mt-0", children: t.map((a, n) => /* @__PURE__ */ e.jsxs(Q, { children: [
49661
- /* @__PURE__ */ e.jsx(le, { children: /* @__PURE__ */ e.jsx("div", { className: "flex items-start justify-between", children: /* @__PURE__ */ e.jsxs("div", { children: [
49661
+ /* @__PURE__ */ e.jsx(de, { children: /* @__PURE__ */ e.jsx("div", { className: "flex items-start justify-between", children: /* @__PURE__ */ e.jsxs("div", { children: [
49662
49662
  /* @__PURE__ */ e.jsx(pe, { className: "text-lg", children: a.name }),
49663
49663
  /* @__PURE__ */ e.jsx(he, { variant: "secondary", className: "mt-1", children: a.category })
49664
49664
  ] }) }) }),
@@ -49746,7 +49746,7 @@ const mR = ({ items: t, className: a }) => /* @__PURE__ */ e.jsx(
49746
49746
  }
49747
49747
  return /* @__PURE__ */ e.jsxs(Ce, { value: "trust", className: "space-y-4 mt-0", children: [
49748
49748
  t.licenses.length > 0 && /* @__PURE__ */ e.jsxs(Q, { children: [
49749
- /* @__PURE__ */ e.jsx(le, { children: /* @__PURE__ */ e.jsxs(pe, { className: "flex items-center gap-2", children: [
49749
+ /* @__PURE__ */ e.jsx(de, { children: /* @__PURE__ */ e.jsxs(pe, { className: "flex items-center gap-2", children: [
49750
49750
  /* @__PURE__ */ e.jsx(
49751
49751
  Dn,
49752
49752
  {
@@ -49765,14 +49765,14 @@ const mR = ({ items: t, className: a }) => /* @__PURE__ */ e.jsx(
49765
49765
  )) }) })
49766
49766
  ] }),
49767
49767
  t.awards.length > 0 && /* @__PURE__ */ e.jsxs(Q, { children: [
49768
- /* @__PURE__ */ e.jsx(le, { children: /* @__PURE__ */ e.jsxs(pe, { className: "flex items-center gap-2", children: [
49768
+ /* @__PURE__ */ e.jsx(de, { children: /* @__PURE__ */ e.jsxs(pe, { className: "flex items-center gap-2", children: [
49769
49769
  /* @__PURE__ */ e.jsx(oa, { className: "w-5 h-5 text-gaming-gold" }),
49770
49770
  "Awards"
49771
49771
  ] }) }),
49772
49772
  /* @__PURE__ */ e.jsx(ee, { children: /* @__PURE__ */ e.jsx("div", { className: "flex flex-wrap gap-2", children: t.awards.map((h, u) => /* @__PURE__ */ e.jsx(he, { className: "bg-gaming-gold/10 text-gaming-gold", children: r(h) }, u)) }) })
49773
49773
  ] }),
49774
49774
  o.length > 0 && /* @__PURE__ */ e.jsxs(Q, { children: [
49775
- /* @__PURE__ */ e.jsx(le, { children: /* @__PURE__ */ e.jsxs(pe, { className: "flex items-center gap-2", children: [
49775
+ /* @__PURE__ */ e.jsx(de, { children: /* @__PURE__ */ e.jsxs(pe, { className: "flex items-center gap-2", children: [
49776
49776
  /* @__PURE__ */ e.jsx(oa, { className: "w-5 h-5 text-gaming-gold" }),
49777
49777
  "Industry Recognition"
49778
49778
  ] }) }),
@@ -49782,7 +49782,7 @@ const mR = ({ items: t, className: a }) => /* @__PURE__ */ e.jsx(
49782
49782
  ] }, u)) }) })
49783
49783
  ] }),
49784
49784
  l.length > 0 && /* @__PURE__ */ e.jsxs(Q, { children: [
49785
- /* @__PURE__ */ e.jsx(le, { children: /* @__PURE__ */ e.jsxs(pe, { className: "flex items-center gap-2", children: [
49785
+ /* @__PURE__ */ e.jsx(de, { children: /* @__PURE__ */ e.jsxs(pe, { className: "flex items-center gap-2", children: [
49786
49786
  /* @__PURE__ */ e.jsx(ha, { className: "w-5 h-5 text-accent" }),
49787
49787
  "Markets Mentioned"
49788
49788
  ] }) }),
@@ -49808,7 +49808,7 @@ function Pj({
49808
49808
  var h;
49809
49809
  const l = t.city ? `${t.city}, ${t.country}` : t.location, d = t.salaryMin && t.salaryMax ? `${t.salaryMin}–${t.salaryMax} ${t.salaryCurrency || ""}` : void 0;
49810
49810
  return /* @__PURE__ */ e.jsxs(Q, { children: [
49811
- /* @__PURE__ */ e.jsxs(le, { children: [
49811
+ /* @__PURE__ */ e.jsxs(de, { children: [
49812
49812
  /* @__PURE__ */ e.jsxs("div", { className: "flex justify-between items-start", children: [
49813
49813
  /* @__PURE__ */ e.jsxs("div", { className: "flex-1", children: [
49814
49814
  /* @__PURE__ */ e.jsx(pe, { className: "text-lg", children: t.title }),
@@ -49894,7 +49894,7 @@ function Pj({
49894
49894
  ] });
49895
49895
  }
49896
49896
  const q$ = ({ company: t, jobListings: a, openRolesCount: n }) => /* @__PURE__ */ e.jsx(Ce, { value: "jobs", className: "space-y-4 mt-0", children: /* @__PURE__ */ e.jsxs(Q, { children: [
49897
- /* @__PURE__ */ e.jsx(le, { children: /* @__PURE__ */ e.jsxs("div", { className: "flex items-center justify-between", children: [
49897
+ /* @__PURE__ */ e.jsx(de, { children: /* @__PURE__ */ e.jsxs("div", { className: "flex items-center justify-between", children: [
49898
49898
  /* @__PURE__ */ e.jsxs(pe, { children: [
49899
49899
  "Open Positions (",
49900
49900
  n,
@@ -49918,7 +49918,7 @@ function VC({
49918
49918
  }) {
49919
49919
  var o;
49920
49920
  return /* @__PURE__ */ e.jsxs(Q, { children: [
49921
- /* @__PURE__ */ e.jsxs(le, { children: [
49921
+ /* @__PURE__ */ e.jsxs(de, { children: [
49922
49922
  /* @__PURE__ */ e.jsxs("div", { className: "flex gap-2 items-start mb-2", children: [
49923
49923
  (o = t.categories) == null ? void 0 : o.map((l) => /* @__PURE__ */ e.jsx(he, { variant: "secondary", children: l })),
49924
49924
  /* @__PURE__ */ e.jsx("span", { className: "text-xs text-muted-foreground", children: t.publishedDate })
@@ -49986,7 +49986,7 @@ const z$ = ({
49986
49986
  var s;
49987
49987
  const n = (i) => typeof i == "string" ? i : `${i.title} • ${i.source}`, r = (i) => typeof i == "object" && i !== null && "url" in i;
49988
49988
  return /* @__PURE__ */ e.jsx(Ce, { value: "news", className: "mt-0", children: /* @__PURE__ */ e.jsxs(Q, { children: [
49989
- /* @__PURE__ */ e.jsx(le, { children: /* @__PURE__ */ e.jsxs(pe, { children: [
49989
+ /* @__PURE__ */ e.jsx(de, { children: /* @__PURE__ */ e.jsxs(pe, { children: [
49990
49990
  "News (",
49991
49991
  a.length,
49992
49992
  ")"
@@ -50017,7 +50017,7 @@ const z$ = ({
50017
50017
  }) => {
50018
50018
  const n = (s) => "name" in s ? s.name : s.eventName, r = (s) => "startDate" in s ? `${s.startDate}${s.endDate ? ` - ${s.endDate}` : ""}` : s.date;
50019
50019
  return /* @__PURE__ */ e.jsx(Ce, { value: "events", className: "space-y-4 mt-0", children: a.length > 0 ? /* @__PURE__ */ e.jsxs(Q, { children: [
50020
- /* @__PURE__ */ e.jsx(le, { children: /* @__PURE__ */ e.jsx(pe, { className: "flex items-center gap-2", children: "Upcoming Events" }) }),
50020
+ /* @__PURE__ */ e.jsx(de, { children: /* @__PURE__ */ e.jsx(pe, { className: "flex items-center gap-2", children: "Upcoming Events" }) }),
50021
50021
  /* @__PURE__ */ e.jsx(ee, { children: /* @__PURE__ */ e.jsx("div", { className: "grid gap-4 p-4", children: a.map((s) => /* @__PURE__ */ e.jsxs(
50022
50022
  "div",
50023
50023
  {
@@ -50059,7 +50059,7 @@ const z$ = ({
50059
50059
  var n;
50060
50060
  return /* @__PURE__ */ e.jsxs("aside", { className: "space-y-4", children: [
50061
50061
  /* @__PURE__ */ e.jsxs(Q, { children: [
50062
- /* @__PURE__ */ e.jsx(le, { children: /* @__PURE__ */ e.jsx(pe, { className: "text-base", children: "Contact" }) }),
50062
+ /* @__PURE__ */ e.jsx(de, { children: /* @__PURE__ */ e.jsx(pe, { className: "text-base", children: "Contact" }) }),
50063
50063
  /* @__PURE__ */ e.jsxs(ee, { className: "space-y-3", children: [
50064
50064
  /* @__PURE__ */ e.jsxs("a", { href: t.website, target: "_blank", className: "flex items-center gap-2 text-sm text-accent hover:underline", children: [
50065
50065
  /* @__PURE__ */ e.jsx(ha, { className: "w-4 h-4" }),
@@ -50072,7 +50072,7 @@ const z$ = ({
50072
50072
  ] })
50073
50073
  ] }),
50074
50074
  /* @__PURE__ */ e.jsxs(Q, { children: [
50075
- /* @__PURE__ */ e.jsx(le, { children: /* @__PURE__ */ e.jsx(pe, { className: "text-base", children: "Similar Companies" }) }),
50075
+ /* @__PURE__ */ e.jsx(de, { children: /* @__PURE__ */ e.jsx(pe, { className: "text-base", children: "Similar Companies" }) }),
50076
50076
  /* @__PURE__ */ e.jsx(ee, { className: "space-y-2", children: a.similarCompanies.map((r, s) => /* @__PURE__ */ e.jsx("div", { className: "flex items-center gap-2 p-2 bg-secondary/50 rounded-lg text-sm", children: r }, s)) })
50077
50077
  ] })
50078
50078
  ] });
@@ -50313,18 +50313,25 @@ const tU = (t) => K$.map((a) => {
50313
50313
  canClaim: y,
50314
50314
  onClaimSubmit: m,
50315
50315
  claimPrefill: x,
50316
- onBack: f
50316
+ onBack: f,
50317
+ activeTab: v,
50318
+ tabPaths: k,
50319
+ onTabChange: w
50317
50320
  }) => {
50318
- var H, G, V, $, O, se, K, X;
50319
- const [v, k] = A(!1);
50320
- if (!t)
50321
+ var K, X, J, se, te, fe, we, Z;
50322
+ const [b, j] = A(!1), [M, L] = A(
50323
+ v ?? "overview"
50324
+ );
50325
+ if (re(() => {
50326
+ v && L(v);
50327
+ }, [v]), !t)
50321
50328
  return /* @__PURE__ */ e.jsx("div", { className: "min-h-screen bg-background", children: /* @__PURE__ */ e.jsxs("div", { className: "container mx-auto px-4 py-16 text-center", children: [
50322
50329
  /* @__PURE__ */ e.jsx(ot, { className: "w-16 h-16 text-muted-foreground mx-auto mb-4" }),
50323
50330
  /* @__PURE__ */ e.jsx("h1", { className: "text-2xl font-bold mb-2", children: "Company Not Found" }),
50324
50331
  /* @__PURE__ */ e.jsx("p", { className: "text-muted-foreground mb-6", children: "The company you're looking for doesn't exist." }),
50325
50332
  /* @__PURE__ */ e.jsx("a", { href: "/companies", children: /* @__PURE__ */ e.jsx(T, { variant: "accent", children: "Browse Directory" }) })
50326
50333
  ] }) });
50327
- const w = [
50334
+ const N = [
50328
50335
  { value: "overview", label: "Overview", icon: In },
50329
50336
  { value: "products", label: "Products", icon: nl },
50330
50337
  { value: "trust", label: "Trust", icon: Dn },
@@ -50339,10 +50346,16 @@ const tU = (t) => K$.map((a) => {
50339
50346
  disabled: !0
50340
50347
  // or based on plan
50341
50348
  }
50342
- ], b = ((G = (H = t.webIntelligence) == null ? void 0 : H.menus.primary_nav_details) == null ? void 0 : G.flatMap((Z) => Z.key_points)) ?? [], j = t.trustAndCompliance.licenses.length + t.trustAndCompliance.certifications.length + t.trustAndCompliance.awards.length, M = t.signalsAndInsights, L = a ?? [], N = n ?? [], C = r ?? [], S = L.length > 0 ? L.length : Array.isArray(t.jobs.openRoles) ? t.jobs.openRoles.length : t.jobs.openRoles, q = ((V = t.group) == null ? void 0 : V.name) ?? t.groupName ?? t.group_name ?? null, _ = (($ = t.group) == null ? void 0 : $.slug) ?? t.groupSlug ?? t.group_slug ?? ((O = t.group) == null ? void 0 : O.id) ?? t.groupId ?? t.group_id ?? void 0, I = tU(b), D = [
50349
+ ], C = ((X = (K = t.webIntelligence) == null ? void 0 : K.menus.primary_nav_details) == null ? void 0 : X.flatMap((ae) => ae.key_points)) ?? [], S = t.trustAndCompliance.licenses.length + t.trustAndCompliance.certifications.length + t.trustAndCompliance.awards.length, q = t.signalsAndInsights, _ = a ?? [], I = n ?? [], D = r ?? [], H = _.length > 0 ? _.length : Array.isArray(t.jobs.openRoles) ? t.jobs.openRoles.length : t.jobs.openRoles, G = ((J = t.group) == null ? void 0 : J.name) ?? t.groupName ?? t.group_name ?? null, V = ((se = t.group) == null ? void 0 : se.slug) ?? t.groupSlug ?? t.group_slug ?? ((te = t.group) == null ? void 0 : te.id) ?? t.groupId ?? t.group_id ?? void 0, U = tU(C), O = [
50343
50350
  ...t.productsAndServices ?? [],
50344
- ...I ?? []
50345
- ];
50351
+ ...U ?? []
50352
+ ], ie = (ae) => {
50353
+ const ke = ae;
50354
+ v || L(ke), w == null || w({
50355
+ tab: ke,
50356
+ path: k == null ? void 0 : k[ke]
50357
+ });
50358
+ };
50346
50359
  return /* @__PURE__ */ e.jsxs("div", { className: "min-h-screen bg-background", children: [
50347
50360
  /* @__PURE__ */ e.jsx(
50348
50361
  pR,
@@ -50353,14 +50366,14 @@ const tU = (t) => K$.map((a) => {
50353
50366
  classification: t.classification,
50354
50367
  companyId: t.id,
50355
50368
  companySlug: t.slug,
50356
- groupSlug: _,
50357
- groupLabel: q ?? "Gaming",
50369
+ groupSlug: V,
50370
+ groupLabel: G ?? "Gaming",
50358
50371
  signalsAndInsights: t.signalsAndInsights,
50359
50372
  claimedStatus: t.claimedStatus,
50360
50373
  isFollowing: t.isFollowing,
50361
50374
  isSaved: t.isSaved,
50362
- openRolesCount: S,
50363
- trustScore: j,
50375
+ openRolesCount: H,
50376
+ trustScore: S,
50364
50377
  onBack: f,
50365
50378
  saveDisabled: h,
50366
50379
  saveLoading: d,
@@ -50371,70 +50384,78 @@ const tU = (t) => K$.map((a) => {
50371
50384
  onSaveAction: p,
50372
50385
  followLoading: s,
50373
50386
  followDisabled: i,
50374
- onClaimClick: () => k(!0)
50387
+ onClaimClick: () => j(!0)
50375
50388
  }
50376
50389
  ),
50377
- /* @__PURE__ */ e.jsx("section", { className: "py-6", children: /* @__PURE__ */ e.jsx("div", { className: "container mx-auto px-4", children: /* @__PURE__ */ e.jsxs(ln, { defaultValue: "overview", className: "space-y-6", children: [
50378
- /* @__PURE__ */ e.jsx(mR, { items: w }),
50379
- /* @__PURE__ */ e.jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-3 gap-6", children: [
50380
- /* @__PURE__ */ e.jsxs("div", { className: "lg:col-span-2 space-y-6", children: [
50381
- /* @__PURE__ */ e.jsx(
50382
- P$,
50383
- {
50384
- overview: t.overview,
50385
- classification: t.classification,
50386
- officeLocations: t.overview.officeLocations ?? [],
50387
- formatOfficeLocation: Y$
50388
- }
50389
- ),
50390
- /* @__PURE__ */ e.jsx(_$, { products: D }),
50391
- /* @__PURE__ */ e.jsx(
50392
- T$,
50393
- {
50394
- companyTrustData: t.trustAndCompliance,
50395
- credibilityEvidence: (X = (K = (se = t.webIntelligence) == null ? void 0 : se.signals) == null ? void 0 : K.evidence) == null ? void 0 : X.credibility
50396
- }
50397
- ),
50398
- /* @__PURE__ */ e.jsx(D$, { members: t.people.members }),
50399
- /* @__PURE__ */ e.jsx(
50400
- q$,
50401
- {
50402
- company: t,
50403
- jobListings: L,
50404
- openRolesCount: S
50405
- }
50406
- ),
50407
- /* @__PURE__ */ e.jsx(
50408
- z$,
50409
- {
50410
- companyNews: t.newsAndMedia,
50411
- newsArticles: N
50412
- }
50413
- ),
50414
- /* @__PURE__ */ e.jsx(
50415
- F$,
50416
- {
50417
- companyEvents: t.events,
50418
- conferenceEvents: C
50419
- }
50420
- ),
50421
- /* @__PURE__ */ e.jsx(O$, {})
50422
- ] }),
50423
- /* @__PURE__ */ e.jsx(
50424
- E$,
50425
- {
50426
- companyOverview: t.overview,
50427
- intelligenceProfile: M
50428
- }
50429
- )
50430
- ] })
50431
- ] }) }) }),
50390
+ /* @__PURE__ */ e.jsx("section", { className: "py-6", children: /* @__PURE__ */ e.jsx("div", { className: "container mx-auto px-4", children: /* @__PURE__ */ e.jsxs(
50391
+ ln,
50392
+ {
50393
+ value: v ?? M,
50394
+ onValueChange: ie,
50395
+ className: "space-y-6",
50396
+ children: [
50397
+ /* @__PURE__ */ e.jsx(mR, { items: N }),
50398
+ /* @__PURE__ */ e.jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-3 gap-6", children: [
50399
+ /* @__PURE__ */ e.jsxs("div", { className: "lg:col-span-2 space-y-6", children: [
50400
+ /* @__PURE__ */ e.jsx(
50401
+ P$,
50402
+ {
50403
+ overview: t.overview,
50404
+ classification: t.classification,
50405
+ officeLocations: t.overview.officeLocations ?? [],
50406
+ formatOfficeLocation: Y$
50407
+ }
50408
+ ),
50409
+ /* @__PURE__ */ e.jsx(_$, { products: O }),
50410
+ /* @__PURE__ */ e.jsx(
50411
+ T$,
50412
+ {
50413
+ companyTrustData: t.trustAndCompliance,
50414
+ credibilityEvidence: (Z = (we = (fe = t.webIntelligence) == null ? void 0 : fe.signals) == null ? void 0 : we.evidence) == null ? void 0 : Z.credibility
50415
+ }
50416
+ ),
50417
+ /* @__PURE__ */ e.jsx(D$, { members: t.people.members }),
50418
+ /* @__PURE__ */ e.jsx(
50419
+ q$,
50420
+ {
50421
+ company: t,
50422
+ jobListings: _,
50423
+ openRolesCount: H
50424
+ }
50425
+ ),
50426
+ /* @__PURE__ */ e.jsx(
50427
+ z$,
50428
+ {
50429
+ companyNews: t.newsAndMedia,
50430
+ newsArticles: I
50431
+ }
50432
+ ),
50433
+ /* @__PURE__ */ e.jsx(
50434
+ F$,
50435
+ {
50436
+ companyEvents: t.events,
50437
+ conferenceEvents: D
50438
+ }
50439
+ ),
50440
+ /* @__PURE__ */ e.jsx(O$, {})
50441
+ ] }),
50442
+ /* @__PURE__ */ e.jsx(
50443
+ E$,
50444
+ {
50445
+ companyOverview: t.overview,
50446
+ intelligenceProfile: q
50447
+ }
50448
+ )
50449
+ ] })
50450
+ ]
50451
+ }
50452
+ ) }) }),
50432
50453
  /* @__PURE__ */ e.jsx(
50433
50454
  I$,
50434
50455
  {
50435
50456
  company: t,
50436
- open: v,
50437
- onOpenChange: k,
50457
+ open: b,
50458
+ onOpenChange: j,
50438
50459
  onClaimSubmit: m,
50439
50460
  claimPrefill: x
50440
50461
  }
@@ -50490,7 +50511,7 @@ const tU = (t) => K$.map((a) => {
50490
50511
  ] }) }),
50491
50512
  /* @__PURE__ */ e.jsx("section", { className: "py-8", children: /* @__PURE__ */ e.jsxs("div", { className: "container mx-auto px-4 space-y-6", children: [
50492
50513
  /* @__PURE__ */ e.jsxs(Q, { children: [
50493
- /* @__PURE__ */ e.jsx(le, { children: /* @__PURE__ */ e.jsx(pe, { children: "Group Overview" }) }),
50514
+ /* @__PURE__ */ e.jsx(de, { children: /* @__PURE__ */ e.jsx(pe, { children: "Group Overview" }) }),
50494
50515
  /* @__PURE__ */ e.jsxs(ee, { className: "space-y-4", children: [
50495
50516
  t.website && /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2 text-sm text-accent", children: [
50496
50517
  /* @__PURE__ */ e.jsx(ha, { className: "w-4 h-4" }),
@@ -50500,7 +50521,7 @@ const tU = (t) => K$.map((a) => {
50500
50521
  ] })
50501
50522
  ] }),
50502
50523
  /* @__PURE__ */ e.jsxs(Q, { children: [
50503
- /* @__PURE__ */ e.jsx(le, { children: /* @__PURE__ */ e.jsx(pe, { children: "Member Companies" }) }),
50524
+ /* @__PURE__ */ e.jsx(de, { children: /* @__PURE__ */ e.jsx(pe, { children: "Member Companies" }) }),
50504
50525
  /* @__PURE__ */ e.jsxs(ee, { className: "space-y-3", children: [
50505
50526
  n === 0 && /* @__PURE__ */ e.jsx("p", { className: "text-muted-foreground", children: "No member companies listed." }),
50506
50527
  (s = t.companies) == null ? void 0 : s.map((i) => {
@@ -50538,7 +50559,7 @@ const tU = (t) => K$.map((a) => {
50538
50559
  ] })
50539
50560
  ] }),
50540
50561
  a && /* @__PURE__ */ e.jsxs(Q, { children: [
50541
- /* @__PURE__ */ e.jsx(le, { children: /* @__PURE__ */ e.jsx(pe, { children: "Group Intelligence" }) }),
50562
+ /* @__PURE__ */ e.jsx(de, { children: /* @__PURE__ */ e.jsx(pe, { children: "Group Intelligence" }) }),
50542
50563
  /* @__PURE__ */ e.jsxs(ee, { className: "grid grid-cols-1 md:grid-cols-3 gap-4", children: [
50543
50564
  /* @__PURE__ */ e.jsxs("div", { className: "rounded-lg border border-border/60 p-4", children: [
50544
50565
  /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2 text-sm text-muted-foreground", children: [
@@ -50567,7 +50588,7 @@ const tU = (t) => K$.map((a) => {
50567
50588
  ] });
50568
50589
  }, aU = (t, a) => {
50569
50590
  const { buildUrl: n, initialData: r } = a, [s, i] = A(r ?? null), [o, l] = A(!r), d = Fe(() => n(t), [n, t]);
50570
- return ne(() => {
50591
+ return re(() => {
50571
50592
  let h = !1;
50572
50593
  return l(!0), fetch(d).then((u) => {
50573
50594
  if (!u.ok)
@@ -50692,11 +50713,11 @@ const tU = (t) => K$.map((a) => {
50692
50713
  buildUrl: n,
50693
50714
  initialData: t
50694
50715
  }), j = w ?? t, M = b && !w, L = Fe(() => sU(y), [y]);
50695
- ne(() => {
50716
+ re(() => {
50696
50717
  if (typeof window > "u") return;
50697
50718
  const I = nU(y), D = I ? `${window.location.pathname}?${I}` : window.location.pathname;
50698
50719
  window.history.replaceState(null, "", D);
50699
- }, [y]), ne(() => {
50720
+ }, [y]), re(() => {
50700
50721
  w != null && w.filterOptions && k({
50701
50722
  ...oU,
50702
50723
  ...w.filterOptions
@@ -50749,7 +50770,7 @@ const tU = (t) => K$.map((a) => {
50749
50770
  }, dZ = ({ isClaimed: t, canClaim: a, onClaimClick: n }) => t || !a ? null : /* @__PURE__ */ e.jsx(T, { type: "button", variant: "ghost", className: "text-primary-foreground", onClick: n, children: "Claim this company" });
50750
50771
  function cU({ title: t, value: a, description: n, icon: r, trend: s }) {
50751
50772
  return /* @__PURE__ */ e.jsxs(Q, { children: [
50752
- /* @__PURE__ */ e.jsxs(le, { className: "flex flex-row items-center justify-between space-y-0 pb-2", children: [
50773
+ /* @__PURE__ */ e.jsxs(de, { className: "flex flex-row items-center justify-between space-y-0 pb-2", children: [
50753
50774
  /* @__PURE__ */ e.jsx(pe, { className: "text-sm font-medium", children: t }),
50754
50775
  /* @__PURE__ */ e.jsx(r, { className: "h-4 w-4 text-muted-foreground" })
50755
50776
  ] }),
@@ -50909,7 +50930,7 @@ const dU = [
50909
50930
  !o.trim() || !i || (i(t.id, o.trim(), d), l(""));
50910
50931
  };
50911
50932
  return /* @__PURE__ */ e.jsxs(Q, { className: "border-muted/60", children: [
50912
- /* @__PURE__ */ e.jsxs(le, { className: "space-y-4", children: [
50933
+ /* @__PURE__ */ e.jsxs(de, { className: "space-y-4", children: [
50913
50934
  /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between", children: [
50914
50935
  /* @__PURE__ */ e.jsxs("div", { className: "space-y-2", children: [
50915
50936
  /* @__PURE__ */ e.jsxs("div", { className: "flex flex-wrap items-center gap-2", children: [
@@ -51131,7 +51152,7 @@ const dU = [
51131
51152
  n && /* @__PURE__ */ e.jsx(he, { variant: "secondary", className: "w-fit", children: "Syncing updates..." })
51132
51153
  ] }),
51133
51154
  /* @__PURE__ */ e.jsxs(Q, { children: [
51134
- /* @__PURE__ */ e.jsxs(le, { className: "space-y-4", children: [
51155
+ /* @__PURE__ */ e.jsxs(de, { className: "space-y-4", children: [
51135
51156
  /* @__PURE__ */ e.jsxs("div", { children: [
51136
51157
  /* @__PURE__ */ e.jsx(pe, { children: "Pipeline overview" }),
51137
51158
  /* @__PURE__ */ e.jsx(Se, { children: "Filter, sort, and review candidate activity." })
@@ -51373,7 +51394,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/alert-
51373
51394
  const Pc = qU, FU = zU, DR = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx(
51374
51395
  IR,
51375
51396
  {
51376
- className: fe(
51397
+ className: xe(
51377
51398
  "fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
51378
51399
  t
51379
51400
  ),
@@ -51388,7 +51409,7 @@ const Bo = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsxs(FU
51388
51409
  AR,
51389
51410
  {
51390
51411
  ref: n,
51391
- className: fe(
51412
+ className: xe(
51392
51413
  "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
51393
51414
  t
51394
51415
  ),
@@ -51403,7 +51424,7 @@ const $o = ({
51403
51424
  }) => /* @__PURE__ */ e.jsx(
51404
51425
  "div",
51405
51426
  {
51406
- className: fe(
51427
+ className: xe(
51407
51428
  "flex flex-col space-y-2 text-center sm:text-left",
51408
51429
  t
51409
51430
  ),
@@ -51417,7 +51438,7 @@ const Uo = ({
51417
51438
  }) => /* @__PURE__ */ e.jsx(
51418
51439
  "div",
51419
51440
  {
51420
- className: fe(
51441
+ className: xe(
51421
51442
  "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
51422
51443
  t
51423
51444
  ),
@@ -51429,7 +51450,7 @@ const Go = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx(
51429
51450
  RR,
51430
51451
  {
51431
51452
  ref: n,
51432
- className: fe("text-lg font-semibold", t),
51453
+ className: xe("text-lg font-semibold", t),
51433
51454
  ...a
51434
51455
  }
51435
51456
  ));
@@ -51438,7 +51459,7 @@ const Wo = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx(
51438
51459
  TR,
51439
51460
  {
51440
51461
  ref: n,
51441
- className: fe("text-sm text-muted-foreground", t),
51462
+ className: xe("text-sm text-muted-foreground", t),
51442
51463
  ...a
51443
51464
  }
51444
51465
  ));
@@ -51447,7 +51468,7 @@ const Zo = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx(
51447
51468
  PR,
51448
51469
  {
51449
51470
  ref: n,
51450
- className: fe(GC(), t),
51471
+ className: xe(GC(), t),
51451
51472
  ...a
51452
51473
  }
51453
51474
  ));
@@ -51456,7 +51477,7 @@ const Jo = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx(
51456
51477
  _R,
51457
51478
  {
51458
51479
  ref: n,
51459
- className: fe(
51480
+ className: xe(
51460
51481
  GC({ variant: "outline" }),
51461
51482
  "mt-2 sm:mt-0",
51462
51483
  t
@@ -51473,7 +51494,7 @@ const OU = ({ open: t, onClose: a, onSave: n, existingEvent: r }) => {
51473
51494
  description: "",
51474
51495
  url: ""
51475
51496
  });
51476
- ne(() => {
51497
+ re(() => {
51477
51498
  i(r ? {
51478
51499
  id: r.id,
51479
51500
  title: r.title,
@@ -51623,7 +51644,7 @@ const OU = ({ open: t, onClose: a, onSave: n, existingEvent: r }) => {
51623
51644
  ] })
51624
51645
  ] }),
51625
51646
  /* @__PURE__ */ e.jsxs(Q, { children: [
51626
- /* @__PURE__ */ e.jsxs(le, { children: [
51647
+ /* @__PURE__ */ e.jsxs(de, { children: [
51627
51648
  /* @__PURE__ */ e.jsx(pe, { children: "Upcoming events" }),
51628
51649
  /* @__PURE__ */ e.jsx(Se, { children: "Highlight events, meetups, and conferences." })
51629
51650
  ] }),
@@ -51680,7 +51701,7 @@ const OU = ({ open: t, onClose: a, onSave: n, existingEvent: r }) => {
51680
51701
  requirements: "",
51681
51702
  status: "Draft"
51682
51703
  });
51683
- ne(() => {
51704
+ re(() => {
51684
51705
  i(r ? {
51685
51706
  id: r.id,
51686
51707
  title: r.title,
@@ -51831,7 +51852,7 @@ const OU = ({ open: t, onClose: a, onSave: n, existingEvent: r }) => {
51831
51852
  ] })
51832
51853
  ] }),
51833
51854
  /* @__PURE__ */ e.jsxs(Q, { children: [
51834
- /* @__PURE__ */ e.jsxs(le, { children: [
51855
+ /* @__PURE__ */ e.jsxs(de, { children: [
51835
51856
  /* @__PURE__ */ e.jsx(pe, { children: "Open roles" }),
51836
51857
  /* @__PURE__ */ e.jsx(Se, { children: "Manage publishing status and job details." })
51837
51858
  ] }),
@@ -51920,7 +51941,7 @@ const OU = ({ open: t, onClose: a, onSave: n, existingEvent: r }) => {
51920
51941
  content: "",
51921
51942
  url: ""
51922
51943
  });
51923
- ne(() => {
51944
+ re(() => {
51924
51945
  m(d ? {
51925
51946
  id: d.id,
51926
51947
  title: d.title,
@@ -51986,7 +52007,7 @@ const OU = ({ open: t, onClose: a, onSave: n, existingEvent: r }) => {
51986
52007
  ] })
51987
52008
  ] }),
51988
52009
  /* @__PURE__ */ e.jsxs(Q, { children: [
51989
- /* @__PURE__ */ e.jsxs(le, { children: [
52010
+ /* @__PURE__ */ e.jsxs(de, { children: [
51990
52011
  /* @__PURE__ */ e.jsx(pe, { children: "Latest updates" }),
51991
52012
  /* @__PURE__ */ e.jsx(Se, { children: "Manage your press mentions and announcements." })
51992
52013
  ] }),
@@ -52129,7 +52150,7 @@ const OU = ({ open: t, onClose: a, onSave: n, existingEvent: r }) => {
52129
52150
  ] }) : "Save Changes" })
52130
52151
  ] }),
52131
52152
  /* @__PURE__ */ e.jsxs(Q, { children: [
52132
- /* @__PURE__ */ e.jsxs(le, { children: [
52153
+ /* @__PURE__ */ e.jsxs(de, { children: [
52133
52154
  /* @__PURE__ */ e.jsx(pe, { children: "Company details" }),
52134
52155
  /* @__PURE__ */ e.jsx(Se, { children: "Keep your profile accurate and up to date." })
52135
52156
  ] }),
@@ -52241,7 +52262,7 @@ const OU = ({ open: t, onClose: a, onSave: n, existingEvent: r }) => {
52241
52262
  linkedIn: "",
52242
52263
  email: ""
52243
52264
  });
52244
- ne(() => {
52265
+ re(() => {
52245
52266
  i(r ? {
52246
52267
  id: r.id,
52247
52268
  name: r.name,
@@ -52373,7 +52394,7 @@ const OU = ({ open: t, onClose: a, onSave: n, existingEvent: r }) => {
52373
52394
  ] })
52374
52395
  ] }),
52375
52396
  /* @__PURE__ */ e.jsxs(Q, { children: [
52376
- /* @__PURE__ */ e.jsxs(le, { children: [
52397
+ /* @__PURE__ */ e.jsxs(de, { children: [
52377
52398
  /* @__PURE__ */ e.jsx(pe, { children: "Team directory" }),
52378
52399
  /* @__PURE__ */ e.jsx(Se, { children: "Highlight decision makers and team contacts." })
52379
52400
  ] }),
@@ -52438,7 +52459,7 @@ const OU = ({ open: t, onClose: a, onSave: n, existingEvent: r }) => {
52438
52459
  description: "",
52439
52460
  url: ""
52440
52461
  });
52441
- ne(() => {
52462
+ re(() => {
52442
52463
  i(r ? {
52443
52464
  id: r.id,
52444
52465
  name: r.name,
@@ -52563,7 +52584,7 @@ const OU = ({ open: t, onClose: a, onSave: n, existingEvent: r }) => {
52563
52584
  ] })
52564
52585
  ] }),
52565
52586
  /* @__PURE__ */ e.jsxs(Q, { children: [
52566
- /* @__PURE__ */ e.jsxs(le, { children: [
52587
+ /* @__PURE__ */ e.jsxs(de, { children: [
52567
52588
  /* @__PURE__ */ e.jsx(pe, { children: "Product catalog" }),
52568
52589
  /* @__PURE__ */ e.jsx(Se, { children: "Update categories, descriptions, and links." })
52569
52590
  ] }),
@@ -52882,7 +52903,7 @@ var BR = FR, hG = ER;
52882
52903
  const yt = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx(
52883
52904
  BR,
52884
52905
  {
52885
- className: fe(
52906
+ className: xe(
52886
52907
  "peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50",
52887
52908
  t
52888
52909
  ),
@@ -52891,7 +52912,7 @@ const yt = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx(
52891
52912
  children: /* @__PURE__ */ e.jsx(
52892
52913
  hG,
52893
52914
  {
52894
- className: fe(
52915
+ className: xe(
52895
52916
  "pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0"
52896
52917
  )
52897
52918
  }
@@ -52985,7 +53006,7 @@ const uG = ({
52985
53006
  ] }),
52986
53007
  /* @__PURE__ */ e.jsxs("div", { className: "grid gap-6 md:grid-cols-2", children: [
52987
53008
  /* @__PURE__ */ e.jsxs(Q, { children: [
52988
- /* @__PURE__ */ e.jsxs(le, { children: [
53009
+ /* @__PURE__ */ e.jsxs(de, { children: [
52989
53010
  /* @__PURE__ */ e.jsx(pe, { children: "Visibility & notifications" }),
52990
53011
  /* @__PURE__ */ e.jsx(Se, { children: "Adjust how your company appears and who gets notified." })
52991
53012
  ] }),
@@ -53049,7 +53070,7 @@ const uG = ({
53049
53070
  ] })
53050
53071
  ] }),
53051
53072
  /* @__PURE__ */ e.jsxs(Q, { children: [
53052
- /* @__PURE__ */ e.jsxs(le, { children: [
53073
+ /* @__PURE__ */ e.jsxs(de, { children: [
53053
53074
  /* @__PURE__ */ e.jsx(pe, { children: "Integrations" }),
53054
53075
  /* @__PURE__ */ e.jsx(Se, { children: "Connect your workspace tools." })
53055
53076
  ] }),
@@ -53089,7 +53110,7 @@ const uG = ({
53089
53110
  ] })
53090
53111
  ] }),
53091
53112
  /* @__PURE__ */ e.jsxs(Q, { children: [
53092
- /* @__PURE__ */ e.jsxs(le, { className: "flex flex-col gap-2 md:flex-row md:items-center md:justify-between", children: [
53113
+ /* @__PURE__ */ e.jsxs(de, { className: "flex flex-col gap-2 md:flex-row md:items-center md:justify-between", children: [
53093
53114
  /* @__PURE__ */ e.jsxs("div", { children: [
53094
53115
  /* @__PURE__ */ e.jsx(pe, { children: "Team roles" }),
53095
53116
  /* @__PURE__ */ e.jsx(Se, { children: "Assign roles for company administrators." })
@@ -53602,16 +53623,16 @@ function jG() {
53602
53623
  }
53603
53624
  const V = () => {
53604
53625
  S && S(), y.add(G);
53605
- }, $ = document.createElement("script"), O = new Promise((se, K) => {
53606
- $.addEventListener("load", function(X) {
53607
- se(), C && C.call(this, X), V();
53608
- }), $.addEventListener("error", function(X) {
53626
+ }, U = document.createElement("script"), O = new Promise((ie, K) => {
53627
+ U.addEventListener("load", function(X) {
53628
+ ie(), C && C.call(this, X), V();
53629
+ }), U.addEventListener("error", function(X) {
53609
53630
  K(X);
53610
53631
  });
53611
- }).catch(function(se) {
53612
- D && D(se);
53632
+ }).catch(function(ie) {
53633
+ D && D(ie);
53613
53634
  });
53614
- q ? ($.innerHTML = q.__html || "", V()) : _ ? ($.textContent = typeof _ == "string" ? _ : Array.isArray(_) ? _.join("") : "", V()) : L && ($.src = L, p.set(L, O)), (0, h.setAttributesFromProps)($, M), I === "worker" && $.setAttribute("type", "text/partytown"), $.setAttribute("data-nscript", I), H && m(H), document.body.appendChild($);
53635
+ q ? (U.innerHTML = q.__html || "", V()) : _ ? (U.textContent = typeof _ == "string" ? _ : Array.isArray(_) ? _.join("") : "", V()) : L && (U.src = L, p.set(L, O)), (0, h.setAttributesFromProps)(U, M), I === "worker" && U.setAttribute("type", "text/partytown"), U.setAttribute("data-nscript", I), H && m(H), document.body.appendChild(U);
53615
53636
  };
53616
53637
  function f(M) {
53617
53638
  const { strategy: L = "afterInteractive" } = M;
@@ -53638,10 +53659,10 @@ function jG() {
53638
53659
  }
53639
53660
  function b(M) {
53640
53661
  const { id: L, src: N = "", onLoad: C = () => {
53641
- }, onReady: S = null, strategy: q = "afterInteractive", onError: _, stylesheets: I, ...D } = M, { updateScripts: H, scripts: G, getIsSsr: V, appDir: $, nonce: O } = (0, l.useContext)(d.HeadManagerContext), se = (0, l.useRef)(!1);
53662
+ }, onReady: S = null, strategy: q = "afterInteractive", onError: _, stylesheets: I, ...D } = M, { updateScripts: H, scripts: G, getIsSsr: V, appDir: U, nonce: O } = (0, l.useContext)(d.HeadManagerContext), ie = (0, l.useRef)(!1);
53642
53663
  (0, l.useEffect)(() => {
53643
53664
  const X = L || N;
53644
- se.current || (S && X && y.has(X) && S(), se.current = !0);
53665
+ ie.current || (S && X && y.has(X) && S(), ie.current = !0);
53645
53666
  }, [
53646
53667
  S,
53647
53668
  L,
@@ -53662,7 +53683,7 @@ function jG() {
53662
53683
  onError: _,
53663
53684
  ...D
53664
53685
  }
53665
- ]), H(G)) : V && V() ? y.add(L || N) : V && !V() && x(M)), $) {
53686
+ ]), H(G)) : V && V() ? y.add(L || N) : V && !V() && x(M)), U) {
53666
53687
  if (I && I.forEach((X) => {
53667
53688
  o.default.preinit(X, {
53668
53689
  as: "style"
@@ -53751,7 +53772,7 @@ const IG = Kj(
53751
53772
  {
53752
53773
  ref: r,
53753
53774
  role: "alert",
53754
- className: fe(IG({ variant: a }), t),
53775
+ className: xe(IG({ variant: a }), t),
53755
53776
  ...n
53756
53777
  }
53757
53778
  ));
@@ -53760,7 +53781,7 @@ const AG = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx(
53760
53781
  "h5",
53761
53782
  {
53762
53783
  ref: n,
53763
- className: fe("mb-1 font-medium leading-none tracking-tight", t),
53784
+ className: xe("mb-1 font-medium leading-none tracking-tight", t),
53764
53785
  ...a
53765
53786
  }
53766
53787
  ));
@@ -53769,7 +53790,7 @@ const Al = g.forwardRef(({ className: t, ...a }, n) => /* @__PURE__ */ e.jsx(
53769
53790
  "div",
53770
53791
  {
53771
53792
  ref: n,
53772
- className: fe("text-sm [&_p]:leading-relaxed", t),
53793
+ className: xe("text-sm [&_p]:leading-relaxed", t),
53773
53794
  ...a
53774
53795
  }
53775
53796
  ));
@@ -53789,7 +53810,7 @@ function PG({
53789
53810
  v.preventDefault(), t(h, p, m);
53790
53811
  };
53791
53812
  return /* @__PURE__ */ e.jsxs(Q, { className: "w-full max-w-md", children: [
53792
- /* @__PURE__ */ e.jsxs(le, { className: "space-y-1", children: [
53813
+ /* @__PURE__ */ e.jsxs(de, { className: "space-y-1", children: [
53793
53814
  /* @__PURE__ */ e.jsx(pe, { className: "text-2xl font-bold", children: i }),
53794
53815
  /* @__PURE__ */ e.jsx(Se, { children: o })
53795
53816
  ] }),
@@ -53946,7 +53967,7 @@ function _G({
53946
53967
  t(x);
53947
53968
  };
53948
53969
  return /* @__PURE__ */ e.jsxs(Q, { className: "w-full max-w-md", children: [
53949
- /* @__PURE__ */ e.jsxs(le, { className: "space-y-1", children: [
53970
+ /* @__PURE__ */ e.jsxs(de, { className: "space-y-1", children: [
53950
53971
  /* @__PURE__ */ e.jsx(pe, { className: "text-2xl font-bold", children: i }),
53951
53972
  /* @__PURE__ */ e.jsx(Se, { children: o })
53952
53973
  ] }),
@@ -54116,7 +54137,7 @@ function TG({
54116
54137
  ] }, N.name);
54117
54138
  };
54118
54139
  return /* @__PURE__ */ e.jsxs(Q, { className: "w-full max-w-md", children: [
54119
- /* @__PURE__ */ e.jsxs(le, { className: "space-y-1", children: [
54140
+ /* @__PURE__ */ e.jsxs(de, { className: "space-y-1", children: [
54120
54141
  /* @__PURE__ */ e.jsx(pe, { className: "text-2xl font-bold", children: o }),
54121
54142
  /* @__PURE__ */ e.jsx(Se, { children: l })
54122
54143
  ] }),
@@ -54219,7 +54240,7 @@ function DG({
54219
54240
  p.preventDefault(), t(d);
54220
54241
  };
54221
54242
  return s ? /* @__PURE__ */ e.jsxs(Q, { className: "w-full max-w-md", children: [
54222
- /* @__PURE__ */ e.jsxs(le, { className: "space-y-1", children: [
54243
+ /* @__PURE__ */ e.jsxs(de, { className: "space-y-1", children: [
54223
54244
  /* @__PURE__ */ e.jsx("div", { className: "flex items-center justify-center mb-4", children: /* @__PURE__ */ e.jsx("div", { className: "flex h-12 w-12 items-center justify-center rounded-full bg-green-100", children: /* @__PURE__ */ e.jsx(Gt, { className: "h-6 w-6 text-green-600" }) }) }),
54224
54245
  /* @__PURE__ */ e.jsx(pe, { className: "text-2xl font-bold text-center", children: "Check Your Email" }),
54225
54246
  /* @__PURE__ */ e.jsx(Se, { className: "text-center", children: l })
@@ -54238,7 +54259,7 @@ function DG({
54238
54259
  }
54239
54260
  ) })
54240
54261
  ] }) : /* @__PURE__ */ e.jsxs(Q, { className: "w-full max-w-md", children: [
54241
- /* @__PURE__ */ e.jsxs(le, { className: "space-y-1", children: [
54262
+ /* @__PURE__ */ e.jsxs(de, { className: "space-y-1", children: [
54242
54263
  /* @__PURE__ */ e.jsx(pe, { className: "text-2xl font-bold", children: i }),
54243
54264
  /* @__PURE__ */ e.jsx(Se, { children: o })
54244
54265
  ] }),
@@ -54472,7 +54493,7 @@ function EG({
54472
54493
  a.map((u) => {
54473
54494
  const p = d(u.type);
54474
54495
  return /* @__PURE__ */ e.jsxs(Q, { children: [
54475
- /* @__PURE__ */ e.jsxs(le, { children: [
54496
+ /* @__PURE__ */ e.jsxs(de, { children: [
54476
54497
  /* @__PURE__ */ e.jsxs("div", { className: "flex items-start justify-between", children: [
54477
54498
  /* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2", children: [
54478
54499
  /* @__PURE__ */ e.jsx(p, { className: "h-5 w-5 text-primary" }),
@@ -54506,7 +54527,7 @@ function EG({
54506
54527
  ] }),
54507
54528
  /* @__PURE__ */ e.jsxs("div", { className: "space-y-4", children: [
54508
54529
  /* @__PURE__ */ e.jsxs(Q, { children: [
54509
- /* @__PURE__ */ e.jsx(le, { children: /* @__PURE__ */ e.jsxs(pe, { className: "flex items-center gap-2", children: [
54530
+ /* @__PURE__ */ e.jsx(de, { children: /* @__PURE__ */ e.jsxs(pe, { className: "flex items-center gap-2", children: [
54510
54531
  /* @__PURE__ */ e.jsx(qa, { className: "h-5 w-5" }),
54511
54532
  "Your iGaming Career Snapshot"
54512
54533
  ] }) }),
@@ -54519,7 +54540,7 @@ function EG({
54519
54540
  ] }, u.label)) })
54520
54541
  ] }),
54521
54542
  /* @__PURE__ */ e.jsxs(Q, { children: [
54522
- /* @__PURE__ */ e.jsx(le, { children: /* @__PURE__ */ e.jsxs(pe, { className: "flex items-center gap-2", children: [
54543
+ /* @__PURE__ */ e.jsx(de, { children: /* @__PURE__ */ e.jsxs(pe, { className: "flex items-center gap-2", children: [
54523
54544
  /* @__PURE__ */ e.jsx(ba, { className: "h-5 w-5" }),
54524
54545
  "Alerts & Notifications"
54525
54546
  ] }) }),
@@ -54984,7 +55005,7 @@ const mW = hW, yW = uW, rT = g.forwardRef(({ className: t, align: a = "center",
54984
55005
  ref: s,
54985
55006
  align: a,
54986
55007
  sideOffset: n,
54987
- className: fe(
55008
+ className: xe(
54988
55009
  "z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-popover-content-transform-origin]",
54989
55010
  t
54990
55011
  ),
@@ -55003,7 +55024,7 @@ function fW({ open: t, onClose: a, onAdded: n, existingExperience: r, onUpdated:
55003
55024
  summary: "",
55004
55025
  tags: ""
55005
55026
  });
55006
- ne(() => {
55027
+ re(() => {
55007
55028
  if (r) {
55008
55029
  const [m, x] = r.period.split(" - ");
55009
55030
  d({
@@ -55170,7 +55191,7 @@ function qL({
55170
55191
  placeholder: s
55171
55192
  }) {
55172
55193
  const [i, o] = A("");
55173
- ne(() => {
55194
+ re(() => {
55174
55195
  t || o("");
55175
55196
  }, [t]);
55176
55197
  const l = () => {
@@ -55478,7 +55499,7 @@ function bW({
55478
55499
  /* @__PURE__ */ e.jsx(_e, { value: "preferences", children: "Preferences" })
55479
55500
  ] }),
55480
55501
  /* @__PURE__ */ e.jsx(Ce, { value: "personal", children: /* @__PURE__ */ e.jsxs(Q, { children: [
55481
- /* @__PURE__ */ e.jsxs(le, { children: [
55502
+ /* @__PURE__ */ e.jsxs(de, { children: [
55482
55503
  /* @__PURE__ */ e.jsx(pe, { children: "Personal Details" }),
55483
55504
  /* @__PURE__ */ e.jsx(Se, { children: "Update your personal information" })
55484
55505
  ] }),
@@ -55576,7 +55597,7 @@ function bW({
55576
55597
  ] }) })
55577
55598
  ] }) }),
55578
55599
  /* @__PURE__ */ e.jsx(Ce, { value: "experience", children: /* @__PURE__ */ e.jsxs(Q, { children: [
55579
- /* @__PURE__ */ e.jsxs(le, { children: [
55600
+ /* @__PURE__ */ e.jsxs(de, { children: [
55580
55601
  /* @__PURE__ */ e.jsx(pe, { children: "Work Experience" }),
55581
55602
  /* @__PURE__ */ e.jsx(Se, { children: "Your iGaming industry experience" })
55582
55603
  ] }),
@@ -55678,7 +55699,7 @@ function bW({
55678
55699
  ] }) }),
55679
55700
  /* @__PURE__ */ e.jsxs(Ce, { value: "job-search", children: [
55680
55701
  /* @__PURE__ */ e.jsxs(Q, { children: [
55681
- /* @__PURE__ */ e.jsxs(le, { children: [
55702
+ /* @__PURE__ */ e.jsxs(de, { children: [
55682
55703
  /* @__PURE__ */ e.jsx(pe, { children: "Job Search Details" }),
55683
55704
  /* @__PURE__ */ e.jsx(Se, { children: "Define your ideal job preferences" })
55684
55705
  ] }),
@@ -55821,7 +55842,7 @@ function bW({
55821
55842
  ] }),
55822
55843
  /* @__PURE__ */ e.jsxs(Ce, { value: "skills", children: [
55823
55844
  /* @__PURE__ */ e.jsxs(Q, { children: [
55824
- /* @__PURE__ */ e.jsxs(le, { children: [
55845
+ /* @__PURE__ */ e.jsxs(de, { children: [
55825
55846
  /* @__PURE__ */ e.jsx(pe, { children: "Skill Set" }),
55826
55847
  /* @__PURE__ */ e.jsx(Se, { children: "Your professional skills and expertise" })
55827
55848
  ] }),
@@ -55866,7 +55887,7 @@ function bW({
55866
55887
  ] }),
55867
55888
  /* @__PURE__ */ e.jsxs(Ce, { value: "languages", children: [
55868
55889
  /* @__PURE__ */ e.jsxs(Q, { children: [
55869
- /* @__PURE__ */ e.jsxs(le, { children: [
55890
+ /* @__PURE__ */ e.jsxs(de, { children: [
55870
55891
  /* @__PURE__ */ e.jsx(pe, { children: "Languages" }),
55871
55892
  /* @__PURE__ */ e.jsx(Se, { children: "Your spoken and professional languages" })
55872
55893
  ] }),
@@ -55922,7 +55943,7 @@ function bW({
55922
55943
  )
55923
55944
  ] }),
55924
55945
  /* @__PURE__ */ e.jsx(Ce, { value: "alerts", children: /* @__PURE__ */ e.jsxs(Q, { children: [
55925
- /* @__PURE__ */ e.jsxs(le, { children: [
55946
+ /* @__PURE__ */ e.jsxs(de, { children: [
55926
55947
  /* @__PURE__ */ e.jsx(pe, { children: "Alerts & Subscriptions" }),
55927
55948
  /* @__PURE__ */ e.jsx(Se, { children: "Manage your notification preferences" })
55928
55949
  ] }),
@@ -55973,7 +55994,7 @@ function bW({
55973
55994
  ] }) }),
55974
55995
  /* @__PURE__ */ e.jsxs(Ce, { value: "preferences", children: [
55975
55996
  /* @__PURE__ */ e.jsxs(Q, { children: [
55976
- /* @__PURE__ */ e.jsxs(le, { children: [
55997
+ /* @__PURE__ */ e.jsxs(de, { children: [
55977
55998
  /* @__PURE__ */ e.jsx(pe, { children: "Preferences" }),
55978
55999
  /* @__PURE__ */ e.jsx(Se, { children: "Customize your platform experience" })
55979
56000
  ] }),
@@ -56057,7 +56078,7 @@ function jW({
56057
56078
  previewErrorMessage: r
56058
56079
  }) {
56059
56080
  const [s, i] = A(!1), [o, l] = A(null), [d, h] = A(null), [u, p] = A(null), [y, m] = A(!1);
56060
- ne(() => () => {
56081
+ re(() => () => {
56061
56082
  d && URL.revokeObjectURL(d);
56062
56083
  }, [d]);
56063
56084
  const x = Fe(() => o ? {
@@ -56180,7 +56201,7 @@ function CW({
56180
56201
  recommended: n || [],
56181
56202
  applications: a || []
56182
56203
  });
56183
- ne(() => {
56204
+ re(() => {
56184
56205
  m({
56185
56206
  saved: t || [],
56186
56207
  recommended: n || [],
@@ -56472,7 +56493,7 @@ const hT = g.forwardRef(({ className: t, value: a, ...n }, r) => /* @__PURE__ */
56472
56493
  dT,
56473
56494
  {
56474
56495
  ref: r,
56475
- className: fe("relative h-4 w-full overflow-hidden rounded-full bg-secondary", t),
56496
+ className: xe("relative h-4 w-full overflow-hidden rounded-full bg-secondary", t),
56476
56497
  ...n,
56477
56498
  children: /* @__PURE__ */ e.jsx(
56478
56499
  DW,
@@ -56501,7 +56522,7 @@ function qW({
56501
56522
  recommended: n || [],
56502
56523
  saved: a || []
56503
56524
  });
56504
- ne(() => {
56525
+ re(() => {
56505
56526
  p({
56506
56527
  enrolled: t || [],
56507
56528
  recommended: n || [],
@@ -56545,7 +56566,7 @@ function qW({
56545
56566
  }) => {
56546
56567
  const b = u.saved.some((j) => j.id === k.id);
56547
56568
  return /* @__PURE__ */ e.jsxs(Q, { children: [
56548
- /* @__PURE__ */ e.jsx(le, { children: /* @__PURE__ */ e.jsxs("div", { className: "flex justify-between items-start", children: [
56569
+ /* @__PURE__ */ e.jsx(de, { children: /* @__PURE__ */ e.jsxs("div", { className: "flex justify-between items-start", children: [
56549
56570
  /* @__PURE__ */ e.jsxs("div", { className: "flex-1", children: [
56550
56571
  /* @__PURE__ */ e.jsx(pe, { className: "text-lg", children: k.title }),
56551
56572
  /* @__PURE__ */ e.jsx(Se, { children: k.provider })
@@ -56680,7 +56701,7 @@ function qW({
56680
56701
  /* @__PURE__ */ e.jsx("p", { className: "text-muted-foreground", children: "No certificates yet" }),
56681
56702
  /* @__PURE__ */ e.jsx("p", { className: "text-sm text-muted-foreground mt-1", children: "Complete courses to earn certificates" })
56682
56703
  ] }) }) : r.map((k) => /* @__PURE__ */ e.jsxs(Q, { children: [
56683
- /* @__PURE__ */ e.jsx(le, { children: /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-3", children: [
56704
+ /* @__PURE__ */ e.jsx(de, { children: /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-3", children: [
56684
56705
  /* @__PURE__ */ e.jsx("div", { className: "p-2 rounded-lg bg-accent/10", children: /* @__PURE__ */ e.jsx(oa, { className: "h-6 w-6 text-accent" }) }),
56685
56706
  /* @__PURE__ */ e.jsxs("div", { className: "flex-1", children: [
56686
56707
  /* @__PURE__ */ e.jsx(pe, { className: "text-base", children: k.title }),
@@ -56712,7 +56733,7 @@ function zW({
56712
56733
  recommended: t || [],
56713
56734
  saved: a || []
56714
56735
  });
56715
- ne(() => {
56736
+ re(() => {
56716
56737
  p({
56717
56738
  recommended: t || [],
56718
56739
  saved: a || []
@@ -56862,7 +56883,7 @@ function FW({
56862
56883
  ] })
56863
56884
  ] }),
56864
56885
  /* @__PURE__ */ e.jsx(Ce, { value: "notifications", children: /* @__PURE__ */ e.jsxs(Q, { children: [
56865
- /* @__PURE__ */ e.jsxs(le, { children: [
56886
+ /* @__PURE__ */ e.jsxs(de, { children: [
56866
56887
  /* @__PURE__ */ e.jsx(pe, { children: "Notification Preferences" }),
56867
56888
  /* @__PURE__ */ e.jsx(Se, { children: "Choose how you want to be notified" })
56868
56889
  ] }),
@@ -56949,14 +56970,14 @@ function FW({
56949
56970
  ] }) }),
56950
56971
  /* @__PURE__ */ e.jsx(Ce, { value: "account", children: /* @__PURE__ */ e.jsxs("div", { className: "space-y-4", children: [
56951
56972
  /* @__PURE__ */ e.jsxs(Q, { children: [
56952
- /* @__PURE__ */ e.jsxs(le, { children: [
56973
+ /* @__PURE__ */ e.jsxs(de, { children: [
56953
56974
  /* @__PURE__ */ e.jsx(pe, { children: "Password" }),
56954
56975
  /* @__PURE__ */ e.jsx(Se, { children: "Change your account password" })
56955
56976
  ] }),
56956
56977
  /* @__PURE__ */ e.jsx(ee, { children: /* @__PURE__ */ e.jsx(T, { onClick: () => a({ action: "change-password" }), children: "Change Password" }) })
56957
56978
  ] }),
56958
56979
  /* @__PURE__ */ e.jsxs(Q, { children: [
56959
- /* @__PURE__ */ e.jsxs(le, { children: [
56980
+ /* @__PURE__ */ e.jsxs(de, { children: [
56960
56981
  /* @__PURE__ */ e.jsx(pe, { children: "Delete Account" }),
56961
56982
  /* @__PURE__ */ e.jsx(Se, { children: "Permanently delete your account and all data" })
56962
56983
  ] }),
@@ -56964,7 +56985,7 @@ function FW({
56964
56985
  ] })
56965
56986
  ] }) }),
56966
56987
  /* @__PURE__ */ e.jsx(Ce, { value: "subscription", children: /* @__PURE__ */ e.jsxs(Q, { children: [
56967
- /* @__PURE__ */ e.jsx(le, { children: /* @__PURE__ */ e.jsxs("div", { className: "flex justify-between items-start", children: [
56988
+ /* @__PURE__ */ e.jsx(de, { children: /* @__PURE__ */ e.jsxs("div", { className: "flex justify-between items-start", children: [
56968
56989
  /* @__PURE__ */ e.jsxs("div", { children: [
56969
56990
  /* @__PURE__ */ e.jsx(pe, { children: "Subscription Plan" }),
56970
56991
  /* @__PURE__ */ e.jsx(Se, { children: "Manage your membership" })
@@ -56989,7 +57010,7 @@ function FW({
56989
57010
  ] }) })
56990
57011
  ] }) }),
56991
57012
  /* @__PURE__ */ e.jsx(Ce, { value: "connected", children: /* @__PURE__ */ e.jsxs(Q, { children: [
56992
- /* @__PURE__ */ e.jsxs(le, { children: [
57013
+ /* @__PURE__ */ e.jsxs(de, { children: [
56993
57014
  /* @__PURE__ */ e.jsx(pe, { children: "Connected Accounts" }),
56994
57015
  /* @__PURE__ */ e.jsx(Se, { children: "Manage linked accounts and integrations" })
56995
57016
  ] }),
@@ -57041,7 +57062,7 @@ function CZ({
57041
57062
  const [k, w] = A(
57042
57063
  x ?? "overview"
57043
57064
  );
57044
- ne(() => {
57065
+ re(() => {
57045
57066
  x && w(x);
57046
57067
  }, [x]);
57047
57068
  const b = n || (a == null ? void 0 : a.jobsDashboard) || {