function e({remountKey:e}={}){const s=r(),{forceCheck:f}=i({silent:!0});return o.useEffect(()=>{const e=globalThis.location.hash.replace(/^#/,"");n("WordPress Iframe Route",`Loading path: ${e}`),e.includes("/wp/update-core.php")&&f().catch(e=>{c("MAIN","[WordPressIframePage] Failed to force check updates",e)})},[s.href,f]),a.jsx(t,{className:"h-full min-h-0 flex-1 overflow-hidden",children:a.jsx(m,{children:a.jsx(d,{className:"h-full",debugMode:!0,remountKey:e},e)})})}function s(){const s=r(),t=`${s.pathname}${s.searchStr||""}`;return a.jsx(o.Suspense,{fallback:a.jsx(f.Centered,{className:"h-full min-h-[400px]"}),children:a.jsx(e,{remountKey:t},t)})}import{u as r}from"./vendor-tanstack.B8CEPVlN.js";import{r as o,j as a}from"./vendor-react.DHNfi5sm.js";import{q as t}from"./app-components.OQnGA3jf.js";import{d as n,a as c,ad as m}from"./platform-core.tlhrBXt0.js";import{W as d}from"./window-iframe.CPWx9tOt.js";import{J as i}from"./vendor-wordpress-bridge.D84sZ7ZI.js";import{k as f}from"./vendor-design-system.Cz5A3ECO.js";export{s as component};
//# sourceMappingURL=wp._.BLtgyt4H.js.map
