/*!
 * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
 * For licensing, see https://ckeditor.com/legal/ckeditor-oss-license
 */
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports.CKEditor5=r():(e.CKEditor5=e.CKEditor5||{},e.CKEditor5.fullscreenAdapter=r())}(self,(()=>(()=>{var e={"ckeditor5/src/core.js":(e,r,t)=>{e.exports=t("dll-reference CKEditor5.dll")("./src/core.js")},"dll-reference CKEditor5.dll":e=>{"use strict";e.exports=CKEditor5.dll}},r={};function t(o){var n=r[o];if(void 0!==n)return n.exports;var s=r[o]={exports:{}};return e[o](s,s.exports,t),s.exports}t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var o={};return(()=>{"use strict";t.d(o,{default:()=>n});var e=t("ckeditor5/src/core.js");class r extends e.Plugin{static get pluginName(){return"fullscreenAdapter"}constructor(e){super(e),this.editor=e,this.editor.config.define("fullscreen.onEnterCallback",this.enterCallback.bind(this))}enterCallback(e){if(this.editor.plugins.has("WordCount")){const e=this.editor.plugins.get("WordCount");this.editor.commands.get("toggleFullscreen").fullscreenHandler.moveToFullscreen(e.wordCountContainer,"body-wrapper")}}}const n={FullscreenAdapter:r}})(),o=o.default})()));