diff --git a/docs/assets/search.js b/docs/assets/search.js index 624e2878..dbf661ef 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.searchData = "eJytXG1v4zYS/i/aL/mgquKLRClAPxx6r7grrui2BxTpotDaTKKLLfkkOdl0sf/9QFKUORJHNp39EjOS+HA4nHlmOKL9Oeralz66vfscPdXNNrqlcdRUexndRptdLZvh203bSf0niqNjt4tuo327Pe5k/6154Hd1T/9JHof9Loqjza7qe9lHt1H0JZ5ws3xC/r7t5I9de+gnyLoZZHdfbXyo09Me/Dg6VJ1sBp+4p7FJSvk0+HDFoO+Gi4c99cQEaNpmI68Rwnb8WoI8XSPE09sEyDmwgkmC+2OzGeq2QQS4eun95ty039y3x82qRY/PrBp17q7qX//9y/fvN119GM7MyiK7XS6foJV9ZY79Sz1sHscPbJLm7vhxseu+14+fc16I7fS5aJpQfMyNq4erBXhnOl8uhIuACdTXf6x59RmJxt5fWaSn+vD+tR/k/g2CPdWH3mK8WTzHYd5D61y4ik+uN5mP4yZt0w9VM/RL37B3Vh2CnaDe//r+57/8MOE8V11dfYRI5pEzok8SeUf5859++ufqGOqBN43wr3/87e8/rw6hn3jTGPt2K/vVMfQT4WOchnhs26f+22Mvv1FQySD7YbHG+pnfwTPr9IegnwO+lFJ/6eUP7Vb+Kuvd1uenM1j38XVVzcRFSAJMJWDYd2PHS8YGvVG20izzw7XimO5fW6hO9u3uWW6vFssCfHVtyeF6VcnhK4jjcPnRPOEh85ks44NX2u3JE49DvVuyt7667ndpKUhGnRx013bvN49yL3/s5L3spJubD6+HCdX75Po8jJD44D+NpmFQvaPCRwKHc9O2wU22HVsxw+jbYeiQQy6BfodnEM6jqL1fNEQfOAS0YailkxGbvvaBi/T0IY7qZis/Rbefo2fZ9XXbRLcRTVhSRnF0X8vdVu26zeBxtGn3e9U/jrbt5qibH8bH/iM3Q9uph83T36ZRfJfGjCaZKD98iO9sZ31DX7AYpyu6I4niOxJTkdAyBx3JoiMBHWkU31FfR3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TWJun9UQC0RTf/DAmCTUjbH2X1HzXdFb1uWBfa/N9GGsR4X+Sa6/L1uBWpc7q2iJ7jbKNqaVqrJeGP3oT6sAKvovXkNuNy1RU/ecVodGjiH6IkTroj5ZryfDPib84G11pYy/1S/fGWLaznx6bLG+XaCR2no4noD5rk5wbCFniijwdP/er6P5K9S0CVUELA7L/Yn0fXE7Zy5MsdNXtmGMpd0zNIWBr7o5HuCWmzrMyylEls40Hu9dSxfb81tafS2WDKhp6IbE6hBhjRw/I5uhW+AnU+nXg3D09u+r3W28Vr37YoW3oEbuBzgH9QG1j4u1b8GutQu+r6RhVkfl3ob/0kgZdvQ660F+/VVdI4W8nB/MyMQCym76kreF+b9IOtlSiwwDzggPDH3UCJcYPzlt+RzvXt+7LszvAgnokdtrD/D9U300s38ToxvAj6tBjxbTiZ69XrTWD+uDQw9QL+OkyJXlOI3mGbErt0dmh08xUDvytyAFyC3+HRC7+k1+19+CxEIulexAfe0uPW2fYEAnvBdJ6Rxte6LPuszEJfFHthcicdqFnuZ6PYQ7uNgf2dzewkehS7zhK09m7F7fFzYCo8/CzYoq4sHqEfgw9bBi3Holb0NVYITuHmXehsG3iuK3jNZHLxtbtl89y34cQCZMnoN/uZ0Uv9ABtwgRHkOHwH9IxuQPuKvc57BzlV0fDq3oUO66Mk8n/b1qPYdPJB6P8ziOAG9wb6NtHA8dO8fR1kefKNWihrKeVDr9Ma/Rxm4LHEV7UO3vu5C0cv1V+He7M8++Rp6eSYLrG83IeGeBHrj8LqTnQe1Xth4K28eSA1v9uDp53v8AfS3dm47iHlZXqRi2DoEdWD3G2SQCOJDzfxbZsDko1ekLw1cJqN37XCExdcK9O8dREK8LkYjPoV8fYL39tH1Ia7DU7OM/2hyh0bL1wYmiOi1bFwNc5MCsHP0abzFSMEhh4zeMX7rzvASGjYc4Un5RJJTc1KHplXJ3f2nb9/+H4S+lXM="; \ No newline at end of file diff --git a/docs/functions/client_core_core.Core.html b/docs/functions/client_core_core.Core.html index c580a29d..922d200d 100644 --- a/docs/functions/client_core_core.Core.html +++ b/docs/functions/client_core_core.Core.html @@ -6,7 +6,7 @@
export const Core = ({ t, nonce, k = "o" }: CoreProps) => {
// handle client side exceptions when script is not run. <- for client side apps like vite or CRA
if (typeof window !== "undefined" && !window.m) noFOUCScript(k);
const [{ m: mode, s: systemMode }, setThemeState] = useStore();
useEffect(() => {
// store global functions to local variables to avoid any interference
[media, updateDOM] = [m, u];
/** Updating media: prefers-color-scheme*/
media.addEventListener("change", () =>
setThemeState(state => ({ ...state, s: media.matches ? DARK : LIGHT })),
);
/** Sync the tabs */
addEventListener("storage", (e: StorageEvent): void => {
e.key === k && setThemeState(state => ({ ...state, m: e.newValue as ColorSchemePreference }));
});
}, []);
useEffect(() => {
const restoreTransitions = modifyTransition(t, nonce);
updateDOM(mode, systemMode);
restoreTransitions();
}, [systemMode, mode, t, nonce]);
return <Script {...{ n: nonce, k }} />;
};
+export const Core = ({ t, nonce, k = "o" }: CoreProps) => {
const isWindowDefined = typeof window != "undefined";
// handle client side exceptions when script is not run. <- for client side apps like vite or CRA
if (isWindowDefined && !window.q) noFOUCScript(k);
const [{ m, s }, setThemeState] = useStore();
if (!updateDOM && isWindowDefined) {
// store global functions to local variables to avoid any interference
[media, updateDOM] = [q, u];
/** Updating media: prefers-color-scheme*/
media.addEventListener("change", () =>
setThemeState(state => ({ ...state, s: media.matches ? DARK : LIGHT })),
);
/** Sync the tabs */
addEventListener("storage", (e: StorageEvent): void => {
e.key === k && setThemeState(state => ({ ...state, m: e.newValue as ColorSchemePreference }));
});
}
if (updateDOM) {
const restoreTransitions = modifyTransition(t, nonce);
updateDOM(m, s);
restoreTransitions();
}
return <Script {...{ n: nonce, k }} />;
};
-