

import { fetchEndpoint } from "./_global--endpoint.js";
import { extractJson } from "./_global--extract-json.js";
import { reloadPage } from "./_global-reload-page.js";
import { neoLoadInterfaceFunc } from "./_global--interface.js";


const resp = await fetchEndpoint("/wp-json/neo/domain-settings", { method: "POST" }).then(extractJson);
let isTakingScreenshot = false; try { isTakingScreenshot = (await neoLoadInterfaceFunc("neo-motion", "neo-demo-screenshot--detect.js", "interfaceIsTakingScreenshotSuppressErrorPopup20260505"))(); } catch (err) {}
if (resp === "REFRESH" && !isTakingScreenshot) { reloadPage(); }
