Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.179/page_editor/app/components/KeyboardMovementText",["module","exports","require","liferay!frontend-js-react-web$react","../contexts/KeyboardMovementContext"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function KeyboardMovementText(){const e=(0,o.useMovementText)(),t=(0,o.useSetMovementText)();return(0,n.useEffect)((()=>{const e=setTimeout((()=>t("")),1e3);return()=>{clearTimeout(e)}}),[e,t]),n.default.createElement("span",{"aria-live":"assertive",className:"sr-only"},e)};var n=function _interopRequireWildcard(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=n?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}r.default=e,t&&t.set(e,r);return r}(r("liferay!frontend-js-react-web$react")),o=r("../contexts/KeyboardMovementContext");function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return e},e}}}));
//# sourceMappingURL=KeyboardMovementText.js.map