@fastr-pro/global-header 1.0.22 → 1.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2975,10 +2975,10 @@ var Ft = [
2975
2975
  authRedirectUrl: "https://sso.mom-z14.in",
2976
2976
  redirectOnInvalidSession: !0,
2977
2977
  profileGetter: null,
2978
- uiTheme: "system",
2978
+ uiTheme: "dark",
2979
2979
  currentApp: "derivatives",
2980
2980
  themeParamName: "theme",
2981
- appendThemeParam: !0,
2981
+ appendThemeParam: !1,
2982
2982
  isAlpha: !1,
2983
2983
  showAlphaBadge: !1,
2984
2984
  alphaBadgeText: "ALPHA",
@@ -2988,7 +2988,7 @@ var Ft = [
2988
2988
  sso: "https://sso.mom-z14.in",
2989
2989
  purchase: "https://sso.mom-z14.in/purchase",
2990
2990
  profile: "https://sso.mom-z14.in/profile",
2991
- xray: "https://xray-pro.mom-z14.in",
2991
+ xray: "https://xray.mom-z14.in",
2992
2992
  scanner: "https://scanner.mom-z14.in",
2993
2993
  charting: "https://chart.mom-z14.in",
2994
2994
  macro: "https://macropulse.mom-z14.in",
@@ -2999,7 +2999,7 @@ var Ft = [
2999
2999
  id: "xray",
3000
3000
  name: "Stock X-Ray",
3001
3001
  label: "Stock X-Ray",
3002
- url: "https://xray-pro.mom-z14.in",
3002
+ url: "https://xray.mom-z14.in",
3003
3003
  icon: f,
3004
3004
  bannerImage: Nt.xray,
3005
3005
  badge: "Stock X-Ray",
@@ -3535,7 +3535,7 @@ function Yt({ config: e, authApiUrl: t, authRedirectUrl: l, redirectOnInvalidSes
3535
3535
  let r = (t.code || "").toLowerCase().replace(/[^a-z0-9]/g, ""), i = (t.name || "").toLowerCase().replace(/[^a-z0-9]/g, "");
3536
3536
  return n.includes("scanner") && (r.includes("scanner") || i.includes("scanner")) || n.includes("chart") && (r.includes("chart") || i.includes("chart")) || n.includes("deriv") && (r.includes("deriv") || i.includes("deriv")) || n.includes("macro") && (r.includes("macro") || i.includes("macro")) || n.includes("xray") && (r.includes("xray") || i.includes("xray") || i.includes("stockxray") || i.includes("stock-x-ray")) || i === n || r === n || t.id === e;
3537
3537
  });
3538
- }, je = v != null, Me = typeof v == "string" ? v.toLowerCase().trim() : v, Ne = () => typeof window > "u" ? !1 : window.matchMedia("(prefers-color-scheme: dark)").matches, [Pe, Fe] = o(() => Ne()), [Ie, Le] = o(() => typeof window < "u" ? localStorage.getItem("theme") || R.uiTheme || "system" : R.uiTheme || "system"), Re = je ? Me || "system" : Ie, G = je ? Me === "dark" || Me !== "light" && Pe : Re === "dark" || Re !== "light" && Pe;
3538
+ }, je = v != null, Me = typeof v == "string" ? v.toLowerCase().trim() : v, Ne = () => typeof window > "u" ? !1 : window.matchMedia("(prefers-color-scheme: dark)").matches, [Pe, Fe] = o(() => Ne()), [Ie, Le] = o(() => typeof window < "u" ? localStorage.getItem("theme") || R.uiTheme || "dark" : R.uiTheme || "dark"), Re = je ? Me || "dark" : Ie, G = je ? Me === "dark" || Me !== "light" && Pe : Re === "dark" || Re !== "light" && Pe;
3539
3539
  r(() => {
3540
3540
  if (typeof window > "u") return;
3541
3541
  let e = window.matchMedia("(prefers-color-scheme: dark)"), t = () => Fe(e.matches);