Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.156/page_editor/app/hooks/app_hooks/useExtendSession",["module","exports","require","liferay!frontend-js-react-web$react","../../config/index"],(function(e,n,o){window;{Object.defineProperty(n,"__esModule",{value:!0}),n.default=function useExtendSession(){(0,t.useEffect)((()=>{if(Liferay.Session&&i.config.autoExtendSessionEnabled){const n=Liferay.Session.get("sessionLength")||e,o=setInterval((()=>{Liferay.Session.extend()}),n/2);return()=>clearInterval(o)}}),[])};var t=o("liferay!frontend-js-react-web$react"),i=o("../../config/index");const e=6e4}}));
//# sourceMappingURL=useExtendSession.js.map