accessify-widget 0.3.61 → 0.3.62

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.
@@ -1,4 +1,4 @@
1
- import { d, i } from "./index-nzfT-SzJ.js";
1
+ import { d, i } from "./index-MgQwAeV-.js";
2
2
  export {
3
3
  d as destroy,
4
4
  i as init
@@ -6642,16 +6642,16 @@ function FeatureGrid($$anchor, $$props) {
6642
6642
  const FEATURE_LOADERS = {
6643
6643
  contrast: () => import("./contrast-CqsOs6Uo.js"),
6644
6644
  "text-size": () => import("./text-size-m_mHNPWo.js"),
6645
- "keyboard-nav": () => import("./keyboard-nav-DDSxMaow.js"),
6645
+ "keyboard-nav": () => import("./keyboard-nav-C5iWPSrb.js"),
6646
6646
  "link-highlight": () => import("./link-highlight-DBGm067Y.js"),
6647
6647
  "reading-guide": () => import("./reading-guide-VT8NciIL.js"),
6648
6648
  "reading-mask": () => import("./reading-mask-BABChuCz.js"),
6649
6649
  "animation-stop": () => import("./animation-stop-DrDe9Q9n.js"),
6650
6650
  "hide-images": () => import("./hide-images-B_LeCBcd.js"),
6651
6651
  "big-cursor": () => import("./big-cursor-B2UKu9dQ.js"),
6652
- "page-structure": () => import("./page-structure-C_KIRohv.js"),
6652
+ "page-structure": () => import("./page-structure-OWe6Kkoc.js"),
6653
6653
  tts: () => import("./tts-CjszLRnb.js"),
6654
- "text-simplify": () => import("./text-simplify-B0hIi6bW.js"),
6654
+ "text-simplify": () => import("./text-simplify-DJxDrQHW.js"),
6655
6655
  "alt-text": () => Promise.resolve().then(() => altText)
6656
6656
  };
6657
6657
  let contrastMode = /* @__PURE__ */ state(proxy(readStoredContrastMode()));
@@ -6717,7 +6717,8 @@ function FeatureGrid($$anchor, $$props) {
6717
6717
  const exported = mod.default ?? mod;
6718
6718
  const featureModule = typeof exported === "function" ? AI_FEATURES.has(id) ? exported(getAIService(), $$props.config.lang, {
6719
6719
  siteKey: $$props.config.siteKey,
6720
- proxyUrl: $$props.config.proxyUrl
6720
+ proxyUrl: $$props.config.proxyUrl,
6721
+ simplificationLevel: $$props.config.simplificationLevel
6721
6722
  }) : exported() : exported;
6722
6723
  loadedModules.set(id, featureModule);
6723
6724
  return featureModule;
@@ -8904,6 +8905,7 @@ async function fetchSiteConfig(siteKey, proxyUrl) {
8904
8905
  if (serverCfg[field]) mapped[field] = serverCfg[field];
8905
8906
  }
8906
8907
  if (serverCfg.panelWidth) mapped.panelWidth = serverCfg.panelWidth;
8908
+ if (serverCfg.simplificationLevel) mapped.simplificationLevel = serverCfg.simplificationLevel;
8907
8909
  return mapped;
8908
8910
  } catch {
8909
8911
  return {};
@@ -9059,4 +9061,4 @@ export {
9059
9061
  init as i,
9060
9062
  t
9061
9063
  };
9062
- //# sourceMappingURL=index-nzfT-SzJ.js.map
9064
+ //# sourceMappingURL=index-MgQwAeV-.js.map