Liferay.Loader.define("liferay!object-js-components-web$codemirror@5.65.12/addon/display/fullscreen",["module","exports","require","../../lib/codemirror"],(function(e,t,o){var r,l=void 0;window;r=function(e){"use strict";e.defineOption("fullScreen",!1,(function(t,o,r){r==e.Init&&(r=!1),!r!=!o&&(o?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 o=e.state.fullScreenRestore;t.style.width=o.width,t.style.height=o.height,window.scrollTo(o.scrollLeft,o.scrollTop),e.refresh()}(t))}))},"object"==typeof t&&"object"==typeof e?r(o("../../lib/codemirror")):"function"==typeof l&&l.amd?l(["../../lib/codemirror"],r):r(CodeMirror)}));
//# sourceMappingURL=fullscreen.js.map