Liferay.Loader.define("liferay!template-web$codemirror@5.65.2/addon/display/fullscreen",["module","exports","require","../../lib/codemirror"],(function(e,t,r){var o,l=void 0;window;o=function(e){"use strict";e.defineOption("fullScreen",!1,(function(t,r,o){o==e.Init&&(o=!1),!o!=!r&&(r?function setFullscreen(e){var t=e.getWrapperElement();e.state.fullScreenRestore={scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,width:t.style.width,height:t.style.height},t.style.width="",t.style.height="auto",t.className+=" CodeMirror-fullscreen",document.documentElement.style.overflow="hidden",e.refresh()}(t):function setNormal(e){var t=e.getWrapperElement();t.className=t.className.replace(/\s*CodeMirror-fullscreen\b/,""),document.documentElement.style.overflow="";var r=e.state.fullScreenRestore;t.style.width=r.width,t.style.height=r.height,window.scrollTo(r.scrollLeft,r.scrollTop),e.refresh()}(t))}))},"object"==typeof t&&"object"==typeof e?o(r("../../lib/codemirror")):"function"==typeof l&&l.amd?l(["../../lib/codemirror"],o):o(CodeMirror)}));
//# sourceMappingURL=fullscreen.js.map