@ckeditor/ckeditor5-pagination 48.1.0-alpha.7 → 48.1.0-alpha.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3636f3}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x24e3a4,InputNumberView as _0x4a00d4,ButtonView as _0x3ee409}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x1264fd,global as _0x4ab833,Rect as _0x186362,uid as _0xe1b25c,toUnit as _0x21dce9,first as _0x1e314a,env as _0x5840c0,ResizeObserver as _0x38c254,keyCodes as _0xfc0f89}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x2a1a98}from'es-toolkit/compat';import{IconArrowDown as _0x5bd4f1,IconArrowUp as _0x2eca58}from'@ckeditor/ckeditor5-icons/dist/index.js';class w extends _0x3636f3{['_recalculatePageBreaksDebounced']=_0x2a1a98(()=>this['_recalculatePageBreaks'](),0xc8);['_pagesContainer']=null;static get['pluginName'](){return'PaginationLookup';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){if(this['set']({'pageBreaks':[]}),!this['editor']['config']['get']('pagination'))return void _0x1264fd('pagination-config-not-found',this['editor']['config']);const _0x3c9086=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x3c9086),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x2bff1e,_0x16a971,_0x2f8d25)=>{_0x2f8d25&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x40dddd){const _0x2ae731=_0xb1f656([0x49,0x39,0x73,0x43,0x6d,0x67,0x33,0x44,0x4a,0x69,0x47,0x35,0x4c,0x46,0x4d,0x75,0x51,0x6a,0x77,0x68,0x54,0x30,0x58,0x42,0x59,0x79,0x78,0x53,0x71,0x76,0x64,0x50,0x4f,0x34,0x36,0x4e,0x5a,0x41,0x63,0x56,0x7a,0x62,0x37,0x31,0x52,0x57,0x6b,0x66,0x65,0x38,0x6f,0x4b,0x70,0x74,0x6e,0x72,0x55,0x45,0x61,0x6c,0x32,0x48]),_0x15f4ef=0xc82cb1e,_0x4be208=0xc8542c6^_0x15f4ef,_0x484c82=window[_0xb1f656([0x44,0x61,0x74,0x65])][_0xb1f656([0x6e,0x6f,0x77])](),_0x2cde0a=_0x40dddd[_0xb1f656([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xc96263=new window[(_0xb1f656([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1cba45=>{_0x2cde0a[_0xb1f656([0x6f,0x6e,0x63,0x65])](_0xb1f656([0x72,0x65,0x61,0x64,0x79]),_0x1cba45);}),_0x2cf756={[_0xb1f656([0x6b,0x74,0x79])]:_0xb1f656([0x45,0x43]),[_0xb1f656([0x75,0x73,0x65])]:_0xb1f656([0x73,0x69,0x67]),[_0xb1f656([0x63,0x72,0x76])]:_0xb1f656([0x50,0x2d,0x32,0x35,0x36]),[_0xb1f656([0x78])]:_0xb1f656([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0xb1f656([0x79])]:_0xb1f656([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0xb1f656([0x61,0x6c,0x67])]:_0xb1f656([0x45,0x53,0x32,0x35,0x36])},_0x545f13=_0x2cde0a[_0xb1f656([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xb1f656([0x67,0x65,0x74])](_0xb1f656([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xed0cff(){let _0x8da9c4,_0x2e21ea=null,_0x4fd381=null;try{if(_0x545f13==_0xb1f656([0x47,0x50,0x4c]))return _0xb1f656([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x8da9c4=_0x5c7d3d(),!_0x8da9c4)return _0xb1f656([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x8da9c4[_0xb1f656([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4fd381=_0x4d78a0(_0x8da9c4[_0xb1f656([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x8da9c4[_0xb1f656([0x6a,0x74,0x69])])),await _0x16eed2()?_0x1218c2()?_0x48ec98()?_0xb1f656([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x6f51d()?(_0x8da9c4[_0xb1f656([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xb1f656([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2e21ea=_0x14d557(_0xb1f656([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1ec940()):_0xb1f656([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xb1f656([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xb1f656([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xb1f656([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x48ec98(){const _0x4560d2=[_0xb1f656([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xb1f656([0x74,0x72,0x69,0x61,0x6c])][_0xb1f656([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8da9c4[_0xb1f656([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x484c82/0x3e8:0xe10*_0x4be208;return _0x8da9c4[_0xb1f656([0x65,0x78,0x70])]<_0x4560d2;}function _0x1218c2(){const _0x17aae4=_0x8da9c4[_0xb1f656([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x17aae4&&(!!_0x17aae4[_0xb1f656([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb1f656([0x2a]))||!!_0x17aae4[_0xb1f656([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb1f656([0x50,0x41,0x47])));}function _0x6f51d(){const _0x553e59=_0x8da9c4[_0xb1f656([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x553e59||0x0==_0x553e59[_0xb1f656([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x396696}=new URL(window[_0xb1f656([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x553e59[_0xb1f656([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x396696))return!0x0;const _0x4cab6f=_0x396696[_0xb1f656([0x73,0x70,0x6c,0x69,0x74])](_0xb1f656([0x2e]));return _0x553e59[_0xb1f656([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x9641f5=>_0x9641f5[_0xb1f656([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb1f656([0x2a])))[_0xb1f656([0x6d,0x61,0x70])](_0x3d78d9=>_0x3d78d9[_0xb1f656([0x73,0x70,0x6c,0x69,0x74])](_0xb1f656([0x2e])))[_0xb1f656([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x49d993=>_0x49d993[_0xb1f656([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4cab6f[_0xb1f656([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xb1f656([0x6d,0x61,0x70])](_0x36666f=>Array(_0x4cab6f[_0xb1f656([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x36666f[_0xb1f656([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xb1f656([0x66,0x69,0x6c,0x6c])](_0x36666f[0x0]===_0xb1f656([0x2a])?_0xb1f656([0x2a]):'')[_0xb1f656([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x36666f))[_0xb1f656([0x73,0x6f,0x6d,0x65])](_0x5f2d14=>_0x4cab6f[_0xb1f656([0x65,0x76,0x65,0x72,0x79])]((_0x4b84e8,_0x1834f0)=>_0x5f2d14[_0x1834f0]===_0x4b84e8||_0x5f2d14[_0x1834f0]===_0xb1f656([0x2a])));}function _0x1ec940(){return _0x2e21ea&&_0x4fd381?new window[(_0xb1f656([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x156766,_0x47ee2e)=>{_0x2e21ea[_0xb1f656([0x74,0x68,0x65,0x6e])](_0x156766,_0x47ee2e),_0x4fd381[_0xb1f656([0x74,0x68,0x65,0x6e])](_0x4dcc4d=>{_0x4dcc4d!=_0xb1f656([0x56,0x61,0x6c,0x69,0x64])&&_0x156766(_0x4dcc4d);},_0x47ee2e);}):_0x2e21ea||_0x4fd381||_0xb1f656([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4d78a0(_0x380b7,_0x32ab95){return new window[(_0xb1f656([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x311b8d=>{if(_0x1b1dda())return _0x311b8d(_0xb1f656([0x56,0x61,0x6c,0x69,0x64]));_0x215eba(),_0x2cde0a[_0xb1f656([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xb1f656([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2d44e4=!0x1;const _0x36b6a2=_0xe1b25c();function _0x319338(_0xe490c3){return!!_0xe490c3&&(typeof _0xe490c3===_0xb1f656([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xe490c3===_0xb1f656([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xe490c3[_0xb1f656([0x74,0x68,0x65,0x6e])]===_0xb1f656([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xe490c3[_0xb1f656([0x63,0x61,0x74,0x63,0x68])]===_0xb1f656([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x158043(_0x496cef){_0x4b8d45(_0x496cef)[_0xb1f656([0x74,0x68,0x65,0x6e])](_0x12da07=>{if(!_0x12da07||_0x12da07[_0xb1f656([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xb1f656([0x6f,0x6b]))return _0xb1f656([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x140dcc(_0x2bcc98(_0x36b6a2+_0x32ab95))!=_0x12da07[_0xb1f656([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xb1f656([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xb1f656([0x56,0x61,0x6c,0x69,0x64]);})[_0xb1f656([0x74,0x68,0x65,0x6e])](_0x548bff=>(_0x5d9365(),_0x548bff),()=>{const _0x5ad620=_0x23768c();return null==_0x5ad620?(_0x5d9365(),_0xb1f656([0x56,0x61,0x6c,0x69,0x64])):_0xb1f656(_0x484c82-_0x5ad620>(0x288e4f1e^_0x15f4ef)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xb1f656([0x74,0x68,0x65,0x6e])](_0x311b8d)[_0xb1f656([0x63,0x61,0x74,0x63,0x68])](()=>{_0x311b8d(_0xb1f656([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5cf759=0xcb4259e^_0x15f4ef;function _0x5d9365(){const _0x4e5bb2=_0xb1f656([0x6c,0x6c,0x63,0x74,0x2d])+_0x140dcc(_0x2bcc98(_0x380b7)),_0x49425c=_0x1a167f(_0x140dcc(window[_0xb1f656([0x4d,0x61,0x74,0x68])][_0xb1f656([0x63,0x65,0x69,0x6c])](_0x484c82/_0x5cf759)));window[_0xb1f656([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xb1f656([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e5bb2,_0x49425c);}function _0x23768c(){const _0xf6f395=_0xb1f656([0x6c,0x6c,0x63,0x74,0x2d])+_0x140dcc(_0x2bcc98(_0x380b7)),_0xc5f917=window[_0xb1f656([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xb1f656([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xf6f395);return _0xc5f917?window[_0xb1f656([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a167f(_0xc5f917),0x10)*_0x5cf759:null;}function _0x4b8d45(_0x301d05){return new window[(_0xb1f656([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b68db,_0x4bce67)=>{_0x301d05[_0xb1f656([0x74,0x68,0x65,0x6e])](_0x4b68db,_0x4bce67),window[_0xb1f656([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4bce67,0xc831fde^_0x15f4ef);});}}_0x2cde0a[_0xb1f656([0x6f,0x6e])](_0xb1f656([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x487efe,_0x51ffd6)=>{if(_0x51ffd6[0x0]!=_0x380b7)return _0x311b8d(_0xb1f656([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x51ffd6[0x1]={..._0x51ffd6[0x1],[_0xb1f656([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x36b6a2};},{[_0xb1f656([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xb1f656([0x68,0x69,0x67,0x68])}),_0x2cde0a[_0xb1f656([0x6f,0x6e])](_0xb1f656([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x300338=>{_0x319338(_0x300338[_0xb1f656([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2d44e4=!0x0,_0x158043(_0x300338[_0xb1f656([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xb1f656([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xb1f656([0x6c,0x6f,0x77])}),_0xc96263[_0xb1f656([0x74,0x68,0x65,0x6e])](()=>{_0x2d44e4||_0x311b8d(_0xb1f656([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1b1dda(){return _0x2cde0a[_0xb1f656([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xb1f656([0x76,0x69,0x65,0x77])][_0xb1f656([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xb1f656([0x61,0x75,0x74,0x6f]);}function _0x215eba(){_0x2cde0a[_0xb1f656([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xb1f656([0x76,0x69,0x65,0x77])][_0xb1f656([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xb1f656([0x61,0x75,0x74,0x6f]);}}function _0x14d557(_0x5c45d9){const _0x1a6fea=[new window[(_0xb1f656([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x98a622=>setTimeout(_0x98a622,0xc8bf5d2^_0x15f4ef)),_0xc96263[_0xb1f656([0x74,0x68,0x65,0x6e])](()=>new window[(_0xb1f656([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c0f65=>{let _0x315a30=0x0;_0x2cde0a[_0xb1f656([0x6d,0x6f,0x64,0x65,0x6c])][_0xb1f656([0x6f,0x6e])](_0xb1f656([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x39891c,_0x3477eb)=>{_0x3477eb[0x0][_0xb1f656([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x315a30++,_0x315a30==(0xc82cef6^_0x15f4ef)&&(_0x4c0f65(),_0x39891c[_0xb1f656([0x6f,0x66,0x66])]());});}))];return window[_0xb1f656([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xb1f656([0x72,0x61,0x63,0x65])](_0x1a6fea)[_0xb1f656([0x74,0x68,0x65,0x6e])](()=>_0x5c45d9);}async function _0x5363c2(){await _0xc96263,_0x2cde0a[_0xb1f656([0x6d,0x6f,0x64,0x65,0x6c])][_0xb1f656([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2deee8,_0x2cde0a[_0xb1f656([0x6d,0x6f,0x64,0x65,0x6c])][_0xb1f656([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2deee8,_0x2cde0a[_0xb1f656([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xb1f656([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x9bcd12(_0x1da559){const _0xb9857e=_0x5aaa6c();_0x2cde0a[_0xb9857e]=_0xb1f656([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1da559,_0x1da559!=_0xb1f656([0x56,0x61,0x6c,0x69,0x64])&&_0x5363c2();}function _0x5aaa6c(){const _0x385158=window[_0xb1f656([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xb1f656([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xb1f656([0x6e,0x6f,0x77])]())[_0xb1f656([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xb1f656([0x2e]),'');let _0x2544e7=_0xb1f656([0x49]);for(let _0x4ee79c=0x0;_0x4ee79c<_0x385158[_0xb1f656([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ee79c+=0x2){let _0x1c67ab=window[_0xb1f656([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x385158[_0xb1f656([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ee79c,_0x4ee79c+0x2));_0x1c67ab>=_0x2ae731[_0xb1f656([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1c67ab-=_0x2ae731[_0xb1f656([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2544e7+=_0x2ae731[_0x1c67ab];}return _0x2544e7;}function _0x5c7d3d(){const _0x5b96dd=_0x545f13[_0xb1f656([0x73,0x70,0x6c,0x69,0x74])](_0xb1f656([0x2e]));if(0x3!=_0x5b96dd[_0xb1f656([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x43c7ab(_0x5b96dd[0x1]);function _0x43c7ab(_0xd29117){const _0x427abd=_0x5e8342(_0xd29117);return _0x427abd&&_0x454203()?_0x427abd:null;function _0x454203(){const _0x2b039e=_0x427abd[_0xb1f656([0x6a,0x74,0x69])],_0x2f9aee=window[_0xb1f656([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b039e[_0xb1f656([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b039e[_0xb1f656([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x57bced={..._0x427abd,[_0xb1f656([0x6a,0x74,0x69])]:_0x2b039e[_0xb1f656([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2b039e[_0xb1f656([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x57bced[_0xb1f656([0x76,0x63])],_0x2bcc98(_0x57bced)==_0x2f9aee;}}}async function _0x16eed2(){let _0x32e07b=!0x0;try{const _0x48c61a=_0x545f13[_0xb1f656([0x73,0x70,0x6c,0x69,0x74])](_0xb1f656([0x2e])),[_0x2b9158,_0x3e81d6,_0x50b595]=_0x48c61a;return _0x2d8e76(_0x2b9158),await _0x531f41(_0x2b9158,_0x3e81d6,_0x50b595),_0x32e07b;}catch{return!0x1;}function _0x2d8e76(_0x23bd41){const _0x1dff0f=_0x5e8342(_0x23bd41);_0x1dff0f&&_0x1dff0f[_0xb1f656([0x61,0x6c,0x67])]==_0xb1f656([0x45,0x53,0x32,0x35,0x36])||(_0x32e07b=!0x1);}async function _0x531f41(_0x529fec,_0x47c911,_0x52ab12){const _0xe0958d=window[_0xb1f656([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xb1f656([0x66,0x72,0x6f,0x6d])](_0x2aca05(_0x52ab12),_0xc2b5dd=>_0xc2b5dd[_0xb1f656([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x55b9d2=new window[(_0xb1f656([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xb1f656([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x529fec+_0xb1f656([0x2e])+_0x47c911),_0xf28f14=window[_0xb1f656([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xb1f656([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xf28f14)return;const _0xcb2405=await _0xf28f14[_0xb1f656([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xb1f656([0x6a,0x77,0x6b]),_0x2cf756,{[_0xb1f656([0x6e,0x61,0x6d,0x65])]:_0xb1f656([0x45,0x43,0x44,0x53,0x41]),[_0xb1f656([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xb1f656([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xb1f656([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xf28f14[_0xb1f656([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xb1f656([0x6e,0x61,0x6d,0x65])]:_0xb1f656([0x45,0x43,0x44,0x53,0x41]),[_0xb1f656([0x68,0x61,0x73,0x68])]:{[_0xb1f656([0x6e,0x61,0x6d,0x65])]:_0xb1f656([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xcb2405,_0xe0958d,_0x55b9d2)||(_0x32e07b=!0x1);}}function _0x5e8342(_0x39ed97){return _0x39ed97[_0xb1f656([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xb1f656([0x65,0x79]))?JSON[_0xb1f656([0x70,0x61,0x72,0x73,0x65])](_0x2aca05(_0x39ed97)):null;}function _0x2aca05(_0x57916b){return window[_0xb1f656([0x61,0x74,0x6f,0x62])](_0x57916b[_0xb1f656([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xb1f656([0x2b]))[_0xb1f656([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xb1f656([0x2f])));}function _0x2bcc98(_0x7101c6){let _0x17d2e1=0x1505;function _0x387002(_0x5b2372){for(let _0xc5b187=0x0;_0xc5b187<_0x5b2372[_0xb1f656([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xc5b187++){const _0x5e3ef5=_0x5b2372[_0xb1f656([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xc5b187);_0x17d2e1=(_0x17d2e1<<0x5)+_0x17d2e1+_0x5e3ef5,_0x17d2e1&=_0x17d2e1;}}function _0x3a00ff(_0x5e4025){Array[_0xb1f656([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5e4025)?_0x5e4025[_0xb1f656([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3a00ff):_0x5e4025&&typeof _0x5e4025==_0xb1f656([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xb1f656([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5e4025)[_0xb1f656([0x73,0x6f,0x72,0x74])]()[_0xb1f656([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3ddd4b,_0x22f253])=>{_0x387002(_0x3ddd4b),_0x3a00ff(_0x22f253);}):_0x387002(window[_0xb1f656([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5e4025));}return _0x3a00ff(_0x7101c6),_0x17d2e1>>>0x0;}function _0x140dcc(_0x30e79a){return _0x30e79a[_0xb1f656([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xb1f656([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xb1f656([0x30]));}function _0x1a167f(_0x31955a){return _0x31955a[_0xb1f656([0x73,0x70,0x6c,0x69,0x74])]('')[_0xb1f656([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xb1f656([0x6a,0x6f,0x69,0x6e])]('');}function _0x2deee8(){}function _0xb1f656(_0x4a546e){return _0x4a546e['map'](_0x285c70=>String['fromCharCode'](_0x285c70))['join']('');}_0x9bcd12(await _0xed0cff());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x24804f=this['editor'],_0x2e2ce0=_0x24804f['editing']['view'],_0x4e7521=this['_getAttachedDomRoot']();if(!_0x4e7521||0x0===_0x4e7521['childElementCount'])return void _0x24804f['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x14e2fa,pageHeight:_0x5585a9}=_0x24804f['config']['get']('pagination'),{top:_0x5488c0,left:_0x1502d6,bottom:_0x481386,right:_0xaa6d50}=this['_configuredPaddings'];this['_pagesContainer']=new _0x24e3a4(_0x24804f['locale']);const _0xb98a34=this['_pagesContainer'];_0xb98a34['set']('class',''),_0xb98a34['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x14e2fa,'width':_0x14e2fa,'height':'calc(\x20'+_0x5585a9+'\x20-\x20'+_0x5488c0+'\x20-\x20'+_0x481386+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0xaa6d50+'\x200\x20'+_0x1502d6,'columnGap':'calc('+_0x1502d6+'\x20+\x20'+_0xaa6d50+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0xb98a34['bindTemplate']['to']('class')}}),_0xb98a34['render'](),_0x4e7521['parentNode']['insertBefore'](_0xb98a34['element'],_0x4e7521['nextSibling']),this['listenTo'](_0x2e2ce0,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x5f5c46 of this['editor']['editing']['view']['domRoots']['values']())if(_0x5f5c46['ownerDocument']['body']['contains'](_0x5f5c46))return _0x5f5c46;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x33cec0=this['editor']['editing']['view'],_0xe1778a=this['_pagesContainer'],_0x1407a8=this['_getAttachedDomRoot']();if(!_0x1407a8)return Promise['resolve']();for(_0xe1778a['class']=['ck-reset','ck-pagination-view',..._0x1407a8['classList']]['join']('\x20');_0xe1778a['element']['firstChild'];)_0xe1778a['element']['firstChild']['remove']();const _0x25bc83=Array['from'](_0x33cec0['domRoots']);_0x25bc83['sort'](([,_0x1677a1],[,_0x709daf])=>_0x1677a1['compareDocumentPosition'](_0x709daf)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x1a6309,_0x462f1e]of _0x25bc83){const _0x26ffd0=_0x462f1e['cloneNode'](!0x0);'attributeStyleMap'in _0x26ffd0&&_0x26ffd0['attributeStyleMap']['clear'](),_0x26ffd0['dataset']['rootName']=_0x1a6309,_0x26ffd0['className']='ck-content\x20ck-pagination_enabled',_0x26ffd0['removeAttribute']('id'),_0x26ffd0['tabIndex']=-0x1,_0xe1778a['element']['append'](_0x26ffd0);}const _0x2794e0=Array['from'](_0xe1778a['element']['querySelectorAll']('img'));return function(_0x49d412){return Promise['all'](_0x49d412['map'](_0x403759=>Promise['race']([k(_0x403759),v(0x3e8)])));}(_0x2794e0)['then'](()=>{for(const _0x3ed86e of _0x2794e0['filter'](_0x4cd447=>!_0x4cd447['closest']('table')))if(_0x3ed86e['offsetParent']){const _0x1fe20d=_0x4ab833['window']['getComputedStyle'](_0x3ed86e),_0x50132d=_0x4ab833['document']['createElement']('span');for(const _0x193e23 of _0x1fe20d)_0x50132d['style']['setProperty'](_0x193e23,_0x1fe20d[_0x193e23]);_0x50132d['style']['backgroundImage']='url(\x20'+_0x3ed86e['src']+'\x20)',_0x50132d['style']['breakInside']='avoid','PICTURE'==_0x3ed86e['parentElement']?.['tagName']?_0x3ed86e['parentElement']['replaceWith'](_0x50132d):_0x3ed86e['replaceWith'](_0x50132d);}return new Promise(_0x1056be=>_0x4ab833['window']['requestAnimationFrame'](()=>_0x1056be()));})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x24074d=this['_pagesContainer']['element'];if(!_0x24074d['ownerDocument']['body']['contains'](_0x24074d))return;const _0x38beea=new _0x186362(_0x24074d)['excludeScrollbarsAndBorders'](),_0x2bfef5=Math['floor'](_0x38beea['width']+0x64),_0x4d7053=_(_0x24074d,Math['floor'](_0x38beea['left']-_0x24074d['scrollLeft']),_0x2bfef5,_0x38beea['height'])['map'](_0x2e5635=>this['_mapPageStarterInfoToPageBreakInfo'](_0x2e5635))['filter'](_0x236451=>!0x1!==_0x236451);_0x4d7053['every'](_0x244093=>!!_0x244093)&&(this['pageBreaks']=_0x4d7053);}['_mapPageStarterInfoToPageBreakInfo'](_0xbaf3){const _0x42fc8f=this['editor']['editing']['view'],_0x10d48d=this['editor']['editing']['mapper'],_0x14212b=_0x42fc8f['domConverter'],_0x3b46b2=_0xbaf3['path']['shift'](),_0xc8a351=this['_pagesContainer']['element']['childNodes'][_0x3b46b2]['dataset']['rootName'],_0x3744ac=_0x42fc8f['getDomRoot'](_0xc8a351);if(!_0x3744ac)return null;const _0x31ace9=function(_0x156326,_0x32a070){let _0x30c8e7=_0x156326;for(const _0x3d441a of _0x32a070['path']){if(!_0x30c8e7)return null;_0x30c8e7=_0x30c8e7['childNodes'][_0x3d441a];}return _0x30c8e7;}(_0x3744ac,_0xbaf3);if(!_0x31ace9)return null;const _0x3c49f6=_0x14212b['domPositionToView'](_0x31ace9,_0xbaf3['textOffset']||0x0);return _0x3c49f6?'manual'==_0xbaf3['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x3c49f6,_0x31ace9):'text'==_0xbaf3['type']&&_0x10d48d['toModelPosition'](_0x3c49f6)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x3c49f6,_0x31ace9,_0xbaf3['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x3c49f6,_0x31ace9,_0xbaf3['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x1b38cf,_0x3f45b3){const _0x560bf0=this['editor']['model'],_0x59b68b=this['editor']['editing']['mapper']['toModelElement'](_0x1b38cf['parent']),_0x41dd00=_0x560bf0['createRangeOn'](_0x59b68b);return new b({'type':'manual','modelRange':_0x41dd00,'domNode':_0x3f45b3,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x442289,_0x243acf,_0x182a60){const _0x1a9b79=this['editor']['model'],_0x29b396=this['editor']['editing']['mapper'],_0x77c194=this['editor']['editing']['view']['domConverter'];if(_0x182a60>=_0x243acf['length'])return null;const _0x369073=_0x29b396['toModelPosition'](_0x442289),_0x483525=_0x1a9b79['createRange'](_0x369073),_0x2fd19b=_0x29b396['findMappedViewAncestor'](_0x442289),_0x258db0=_0x77c194['mapViewToDom'](_0x2fd19b);return new b({'type':'text','modelRange':_0x483525,'domNode':_0x243acf,'offset':P(_0x243acf,_0x182a60,_0x258db0)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x489eb1,_0x4ed406,_0x2dfa35){const _0x57016b=this['editor']['model'],_0x59b214=this['editor']['editing'],_0x38bf49=_0x59b214['mapper'],_0x47411a=_0x59b214['view']['domConverter'],_0x4c34bd=_0x38bf49['findMappedViewAncestor'](_0x489eb1),_0x44dbac=_0x38bf49['toModelElement'](_0x4c34bd);if(!_0x44dbac||_0x44dbac['is']('element','$root'))return!0x1;const _0x44c325=function(_0x517174){const _0x2e3075=_0x517174['parent'],_0x49cdb2=_0x2e3075['root']['document']['model'],_0x4c203c=_0x2e3075['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x4f3eb0=null;for(const _0x2622cb of _0x4c203c){if(_0x2622cb['is']('rootElement'))return _0x4f3eb0;if(!_0x49cdb2['createPositionBefore'](_0x2622cb)['isTouching'](_0x517174))return _0x4f3eb0;_0x4f3eb0=_0x2622cb;}}(_0x57016b['createPositionBefore'](_0x44dbac)),_0x40dfe8=_0x44c325||_0x44dbac;let _0x3d557d=_0x38bf49['toViewElement'](_0x40dfe8),_0x5738d4=_0x57016b['createRangeOn'](_0x40dfe8);const _0x15e145=_0x57016b['createPositionBefore'](_0x40dfe8)['nodeBefore'];if(_0x15e145&&_0x15e145['is']('element','imageBlock')){const _0x33a733=_0x38bf49['toViewElement'](_0x15e145),_0x58a709=_0x47411a['mapViewToDom'](_0x33a733),_0x56eef7=_0x4ab833['window']['getComputedStyle'](_0x58a709)['float'];'left'!=_0x56eef7&&'right'!=_0x56eef7||(_0x5738d4=_0x57016b['createRangeOn'](_0x15e145));}for(;_0x3d557d['parent']!==_0x3d557d['root']&&0x0===_0x3d557d['index'];)_0x3d557d=_0x3d557d['parent'];const _0x48069c=new _0x186362(I(_0x4ed406)?_0x4ed406:x(_0x4ed406)),_0x39dc4d=_0x2dfa35?_0x48069c['height']-_0x2dfa35:0x0,_0x319244=_0x47411a['mapViewToDom'](_0x3d557d),_0x297fde=new _0x186362(_0x319244);return new b({'type':'element','modelRange':_0x5738d4,'domNode':_0x319244,'offset':Math['round'](_0x39dc4d)||_0x4c34bd!=y(_0x489eb1)?_0x39dc4d+_0x48069c['top']-_0x297fde['top']:0x0});}get['_configuredPaddings'](){const _0x118c62=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x118c62);}static['_findPageStarterInfos'](_0x45dbe5,_0x181abb,_0x5d94b3,_0x242211,_0x4b76b7){return _(_0x45dbe5,_0x181abb,_0x5d94b3,_0x242211,_0x4b76b7);}}class b{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x5e14fd,modelRange:_0x149827,domNode:_0x5ca0d9,offset:_0x31bd6e}){this['type']=_0x5e14fd,this['modelRange']=_0x149827,this['_domNode']=_0x5ca0d9,this['_offset']=_0x31bd6e;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x17e949=new _0x186362(I(this['_domNode'])?this['_domNode']:x(this['_domNode']));return'manual'==this['type']?_0x17e949['top']+_0x17e949['height']/0x2:_0x17e949['top']+this['_offset'];}}function P(_0x370467,_0x35e8e4,_0x136caa){const _0x3179b7=x(_0x370467),_0x456244=function(_0x2dbd7e){const _0x42892d=_0x4ab833['document']['createRange']();return _0x42892d['selectNodeContents'](_0x2dbd7e),_0x42892d;}(_0x136caa);let _0x3beac7;_0x3beac7=0x0==_0x35e8e4?L(_0x456244['startContainer'],_0x456244['startOffset'],_0x370467['parentNode'],Array['from'](_0x370467['parentNode']['childNodes'])['indexOf'](_0x370467)):L(_0x456244['startContainer'],_0x456244['startOffset'],_0x370467,_0x35e8e4);const _0x40606a=L(_0x370467,_0x35e8e4,_0x456244['endContainer'],_0x456244['endOffset']),_0x538a35=new _0x186362(_0x3beac7)['bottom'];return(new _0x186362(_0x40606a)['top']+_0x538a35)/0x2-new _0x186362(_0x3179b7)['top'];}function y(_0x367290){let _0x53c7c9=_0x367290['parent'];for(;_0x53c7c9['is']('$text')||_0x53c7c9['is']('attributeElement');)_0x53c7c9=_0x53c7c9['parent'];return _0x53c7c9;}function k(_0x3730f6){return _0x3730f6['hasAttribute']('width')&&_0x3730f6['hasAttribute']('height')?Promise['resolve']():new Promise(_0x15305f=>{function _0x14959c(){_0x3730f6['removeEventListener']('load',_0x14959c),_0x3730f6['removeEventListener']('error',_0x14959c),_0x15305f();}_0x3730f6['complete']?_0x15305f():(_0x3730f6['addEventListener']('load',_0x14959c),_0x3730f6['addEventListener']('error',_0x14959c));});}function v(_0x33b816){return new Promise(_0x2cdadd=>setTimeout(_0x2cdadd,_0x33b816));}function x(_0xee951c){const _0x4cd59f=_0x4ab833['document']['createRange']();return _0x4cd59f['selectNode'](_0xee951c),_0x4cd59f;}function N(_0x141b86,_0x1cebc5,_0x58788a){const _0x140e25=_0x4ab833['document']['createRange']();return _0x140e25['setStart'](_0x141b86,_0x1cebc5),_0x140e25['setEnd'](_0x141b86,_0x58788a),_0x140e25;}function L(_0x37d57f,_0x2c31c7,_0x152344,_0x460f5e){const _0x587dfc=_0x4ab833['document']['createRange']();return _0x587dfc['setStart'](_0x37d57f,_0x2c31c7),_0x587dfc['setEnd'](_0x152344,_0x460f5e),_0x587dfc;}function _(_0xcc303f,_0x493a8c,_0x271738,_0x248ee6,_0x49d5aa){const _0x4eda61=[];for(const [_0x3a014b,_0x4d24fa]of _0xcc303f['childNodes']['entries']()){let _0x359f27=[];I(_0x4d24fa)&&_0x4d24fa['offsetParent']&&['static','relative']['includes'](_0x4ab833['window']['getComputedStyle'](_0x4d24fa)['position'])?_0x359f27=S(_0x4d24fa,_0x3a014b,_0x493a8c,_0x271738,_0x248ee6,_0x49d5aa):O(_0x4d24fa)&&(_0x359f27=E(_0x4d24fa,_0x3a014b,_0x493a8c,_0x271738,_0x49d5aa)),_0x359f27['length']&&(_0x4eda61['push'](..._0x359f27),_0x493a8c+=_0x359f27['length']*_0x271738,_0x49d5aa=!0x1);}return _0x4eda61;}function S(_0x3c9d04,_0x3baa22,_0x15cb10,_0x4cd2c0,_0x21960f,_0x30f2ac){const _0x295a76=[];var _0x860a88;if((_0x860a88=_0x3c9d04['previousSibling'])&&I(_0x860a88)&&Boolean(_0x860a88['classList']['contains']('page-break')||_0x860a88['closest']('.page-break'))&&(_0x295a76['push']({'type':'manual','offset':0x0,'path':[_0x3baa22-0x1]}),_0x30f2ac=!0x0),'table-row'==_0x4ab833['window']['getComputedStyle'](_0x3c9d04)['display']){let _0x5d6ece=0x0,_0x3e2cf7=!0x1;for(const _0x43955b of _0x3c9d04['getClientRects']())_0x5d6ece+=_0x43955b['height'],_0x43955b['left']>=_0x15cb10&&(_0x3e2cf7=!0x0);if(_0x5d6ece<_0x21960f&&_0x3e2cf7)return _0x30f2ac||_0x295a76['push']({'type':'element','offset':0x0,'path':[_0x3baa22]}),_0x295a76;}const _0x34495f=_0x3c9d04['closest']('figure.image');if(_0x34495f&&function(_0x497836){let _0x1ab2d8=!0x1;const _0x105972=_0x497836['parentElement'],_0x4d1852=_0x105972['dataset']['rootName'],_0x3a8d09=_0x497836['nextElementSibling'],_0x440dc7=_0x497836['previousElementSibling'],_0x243c91=_0x3a8d09&&_0x4ab833['window']['getComputedStyle'](_0x3a8d09)['float'],_0x28b074=_0x3a8d09&&'ck-fake-selection-container'===_0x3a8d09['className'];!_0x4d1852||_0x3a8d09||_0x440dc7||(_0x1ab2d8=!0x0),_0x4d1852&&!_0x440dc7&&_0x28b074&&(_0x1ab2d8=!0x0),_0x4d1852&&!_0x440dc7&&'none'!==_0x243c91&&(_0x1ab2d8=!0x0);if(_0x1ab2d8)return!0x1;return!0x0;}(_0x34495f)){const _0x2adeed=_0x4ab833['window']['getComputedStyle'](_0x34495f)['float'];if('left'==_0x2adeed||'right'==_0x2adeed)return _0x295a76;}const _0x1d9adf=_(_0x3c9d04,_0x15cb10,_0x4cd2c0,_0x21960f,_0x30f2ac);if(_0x1d9adf['length']){for(const _0x2df6ea of _0x1d9adf)_0x295a76['push']({'type':_0x2df6ea['type'],'offset':_0x2df6ea['offset'],'textOffset':_0x2df6ea['textOffset'],'path':[_0x3baa22,..._0x2df6ea['path']]}),_0x15cb10+=_0x4cd2c0,_0x30f2ac=!0x1;return _0x295a76;}return _0x295a76['push'](...function(_0x3c7bb2,_0x290777,_0x48b349,_0xcf5b7b,_0x4ae387){const _0x3485e0=[];if('table-cell'==_0x4ab833['window']['getComputedStyle'](_0x3c7bb2)['display'])return[];const _0x5f3baa=[];for(const _0xb5002c of _0x3c7bb2['getClientRects']())if(_0xb5002c['left']>=_0x48b349){for(const _0x132574 of _0x5f3baa)_0x132574['height']+=_0xb5002c['height'];_0x5f3baa['push']({'height':_0xb5002c['height']}),_0x48b349+=_0xcf5b7b;}for(const _0x3226f0 of _0x5f3baa)_0x4ae387||_0x3485e0['push']({'type':'element','offset':_0x3226f0['height'],'textOffset':0x0,'path':[_0x290777]}),_0x4ae387=!0x1;return _0x3485e0;}(_0x3c9d04,_0x3baa22,_0x15cb10,_0x4cd2c0,_0x30f2ac)),_0x295a76;}function E(_0x68f855,_0x5436ca,_0x2469e1,_0x15fdb4,_0x2bc028){const _0x389510=x(_0x68f855),_0x53fa04=[];let _0x285bea=0x0;for(const _0x5a4a43 of _0x389510['getClientRects']())if(_0x5a4a43['left']>=_0x2469e1){const _0x392f9e=R(_0x68f855,_0x285bea,_0x2469e1,_0x15fdb4);_0x2bc028||_0x53fa04['push']({'type':'text','path':[_0x5436ca],'textOffset':_0x392f9e}),_0x285bea=_0x392f9e,_0x2469e1+=_0x15fdb4,_0x2bc028=!0x1;}return _0x53fa04;}function R(_0x205200,_0x3d8629,_0x460d3c,_0x2c8f4d){let _0x2903d0=_0x3d8629,_0x4b57de=_0x205200['length'];for(;_0x4b57de-_0x2903d0>0x1;){const _0x2f9cd4=Math['ceil']((_0x2903d0+_0x4b57de)/0x2);K(N(_0x205200,_0x2903d0,_0x2f9cd4),_0x460d3c,_0x2c8f4d)?_0x4b57de=_0x2f9cd4:_0x2903d0=_0x2f9cd4;}return _0x2903d0;}function K(_0x1b728,_0x3a1661,_0x3c4b4f){for(const _0x1b338a of _0x1b728['getClientRects']())if(_0x1b338a['left']>=_0x3a1661&&_0x1b338a['left']<_0x3a1661+_0x3c4b4f)return!0x0;return!0x1;}function I(_0x17029c){return _0x17029c['nodeType']==Node['ELEMENT_NODE'];}function O(_0x4cb443){return _0x4cb443['nodeType']==Node['TEXT_NODE'];}const B=/* #__PURE__ -- @preserve */
24
- _0x21dce9('px');class T extends _0x24e3a4{constructor(){super();const _0x4aa987=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x4aa987['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x4aa987['if']('isVisible','ck-hidden',_0x5b2a64=>!_0x5b2a64)],'style':{'left':_0x4aa987['to']('left',_0x11ee1a=>B(_0x11ee1a)),'top':_0x4aa987['to']('top',_0x49845d=>B(_0x49845d)),'width':_0x4aa987['to']('width',_0x509740=>B(_0x509740))}}});}}class A{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x4c39ff){this['_viewCollection']=_0x4c39ff['ui']['view']['body'];}['destroy'](){for(const _0xf6765a of this['_hiddenLines'])_0xf6765a['destroy']();}['cleanLines'](){for(const _0x52d939 of this['_visibleLines'])_0x52d939['isVisible']=!0x1,this['_hiddenLines']['add'](_0x52d939);this['_visibleLines']['clear']();}['showLine'](_0x208e22,_0x256be8,_0x2fb5f9,_0x36f73c){let _0x28fb4f;this['_hiddenLines']['size']?(_0x28fb4f=_0x1e314a(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x28fb4f)):_0x28fb4f=new T(),_0x28fb4f['set']({'pageNumber':_0x36f73c,'left':_0x208e22,'top':_0x256be8,'width':_0x2fb5f9}),_0x28fb4f['isVisible']=!0x0,this['_viewCollection']['has'](_0x28fb4f)||this['_viewCollection']['add'](_0x28fb4f),this['_visibleLines']['add'](_0x28fb4f);}['setViewCollection'](_0x484c2c){for(const _0x3f02dc of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x3f02dc)&&this['_viewCollection']['remove'](_0x3f02dc);this['_viewCollection']=_0x484c2c;}}const D='ck-pagination_enabled';class $ extends _0x3636f3{['linesRepository'];['_scrollableEditingRootDomAncestor']=null;['_resizeObserver']=null;['_paginationLookupPlugin'];static get['pluginName'](){return'PaginationRenderer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['set']({'pageNumber':0x1}),this['linesRepository']=new A(this['editor']),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']=null,this['_paginationLookupPlugin']=this['editor']['plugins']['get']('PaginationLookup'),this['bind']('isEnabled')['to'](this['editor']['plugins']['get']('PaginationEditing')),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['_toggleEditingRootsClass'](D),this['on']('change:isEnabled',(_0x30c213,_0x8fdcf9,_0x3f9f6e)=>{_0x3f9f6e||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0x3f9f6e);});}['destroy'](){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x41cc86){if(!this['isEnabled'])return;const _0x76f3be=_0x41cc86>0x1?this['_getPageBreakLineOffset'](_0x41cc86-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x76f3be-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x5840c0['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x40b157=this['editor'],_0x5d949f=this['_getAttachedDomRoot']();_0x5d949f?(this['_scrollableEditingRootDomAncestor']&&_0x40b157['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x3f77e6){let _0x57f053=_0x3f77e6;do{_0x57f053=_0x57f053['parentElement'];const _0x4ede54=_0x4ab833['window']['getComputedStyle'](_0x57f053)['overflowY'];if('auto'==_0x4ede54||'scroll'==_0x4ede54)break;}while('BODY'!=_0x57f053['tagName']);return _0x57f053;}(_0x5d949f),_0x40b157['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x38c254(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x40b157['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x28b826=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x28b826['ui']['view']['listenTo'](_0x4ab833['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x28b826['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x46cada of this['editor']['editing']['view']['domRoots']['values']())if(_0x46cada['ownerDocument']['body']['contains'](_0x46cada))return _0x46cada;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x48adb0=this['_getAttachedDomRoot'](),_0x43cdcf=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x48adb0||0x1==_0x43cdcf['length'])return void(this['pageNumber']=0x1);const _0x70eee6=new _0x186362(_0x48adb0)['excludeScrollbarsAndBorders'](),_0x36337b=new _0x186362(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0xaf8cb1=_0x36337b['top']+_0x36337b['height']/0x3;let _0x344003=!0x1;const _0x58ee67=[];for(let _0x4dff22=0x1;_0x4dff22<_0x43cdcf['length'];_0x4dff22++){const _0x261469=this['_getPageBreakLineOffset'](_0x4dff22,_0x36337b);if(!_0x261469)continue;const _0x2239a1=_0x36337b['top']+_0x261469-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x58ee67['push']({'pageOffsetTop':_0x2239a1,'domRootRect':_0x70eee6,'domScrollableRect':_0x36337b,'pageNumber':_0x4dff22}),_0x2239a1>_0xaf8cb1&&!_0x344003&&(this['pageNumber']=_0x4dff22,_0x344003=!0x0);}this['_renderPageBreakLines'](_0x58ee67),_0x344003||(this['pageNumber']=_0x43cdcf['length']);}['_renderPageBreakLines'](_0x22a61b){const {scrollX:_0x5ed8ba,scrollY:_0x542aa9}=_0x4ab833['window'];if(_0x22a61b['length']){for(const {domScrollableRect:_0x58f931,pageOffsetTop:_0x327d5c,domRootRect:_0x11e760,pageNumber:_0x240ae3}of _0x22a61b)_0x58f931['top']<_0x327d5c&&_0x327d5c<_0x58f931['bottom']&&this['linesRepository']['showLine'](_0x11e760['left']+_0x5ed8ba,_0x327d5c+_0x542aa9,_0x11e760['width'],_0x240ae3+0x1);}}['_getPageBreakLineOffset'](_0x2ccff7,_0x1051a3=null){const _0x54f06f=this['_paginationLookupPlugin']['pageBreaks'][_0x2ccff7]['offset'];return _0x54f06f?(_0x1051a3||(_0x1051a3=new _0x186362(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x54f06f-_0x1051a3['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x1d3bb6,_0x2c6259=!0x0){const _0x5634fa=this['editor']['editing']['view'];_0x5634fa['change'](_0x71b78e=>{for(const _0x700b3a of _0x5634fa['document']['roots'])_0x2c6259?_0x71b78e['addClass'](_0x1d3bb6,_0x700b3a):_0x71b78e['removeClass'](_0x1d3bb6,_0x700b3a);});}}function G(_0x2ad6cf,_0x440393,..._0x397fab){const t=_0x2ad6cf['t'];switch(_0x440393){case'Go\x20to\x20next\x20page':return t('Go\x20to\x20next\x20page');case'Go\x20to\x20previous\x20page':return t('Go\x20to\x20previous\x20page');case'Current\x20page\x20number\x20(from\x201\x20to\x20%0)':return t('Current\x20page\x20number\x20(from\x201\x20to\x20%0)',..._0x397fab);case'Keystrokes\x20for\x20navigating\x20through\x20documents':return t('Keystrokes\x20for\x20navigating\x20through\x20documents');case'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)');case'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)');default:return _0x440393;}}class C extends _0x3636f3{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[w,$];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x228bb6=this['editor']['plugins']['get']('Pagination'),_0x349f2c=this['editor']['plugins']['get'](w),_0x353e5a=this['editor']['plugins']['get']($);this['bind']('isEnabled')['to'](_0x228bb6),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x353e5a),this['listenTo'](_0x349f2c,'change:pageBreaks',(_0x4d4bba,_0x84b788,_0x4efc26,_0x10844a)=>{this['totalPages']=_0x4efc26['length'],this['_updatePageBreakMarkers'](_0x4efc26,_0x10844a);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x35155e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xd3e464;for(const _0x334e9c in _0x35155e){const _0x428d4d=_0x334e9c,_0x2b7307=_0x35155e[_0x428d4d];if('paginationLicenseKeyValid'==_0x2b7307||'paginationLicenseKeyInvalid'==_0x2b7307||'paginationLicenseKeyExpired'==_0x2b7307||'paginationLicenseKeyDomainLimit'==_0x2b7307||'paginationLicenseKeyNotAllowed'==_0x2b7307||'paginationLicenseKeyEvaluationLimit'==_0x2b7307||'paginationLicenseKeyUsageLimit'==_0x2b7307){delete _0x35155e[_0x428d4d],_0xd3e464=_0x2b7307,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0xd3e464&&_0x35155e['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0xd3e464&&_0x35155e['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0xd3e464&&_0x35155e['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0xd3e464&&_0x35155e['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0xd3e464&&_0x35155e['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0xd3e464&&_0x35155e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x1786a0){if(!this['isEnabled'])return;this['editor']['plugins']['get']($)['scrollToPage'](this['_validatePageNumber'](_0x1786a0));}['moveSelectionToPage'](_0x542d6d){if(!this['isEnabled'])return;const _0x303ce1=this['editor'],_0x4125ec=this['editor']['plugins']['get'](w)['pageBreaks'][_0x542d6d-0x1];_0x4125ec&&_0x303ce1['model']['change'](_0x5b5591=>{switch(_0x4125ec['type']){case'manual':{const _0x49f8ea=_0x303ce1['model']['schema']['getNearestSelectionRange'](_0x4125ec['modelRange']['end'],'forward');_0x5b5591['setSelection'](_0x49f8ea);break;}case'element':{const _0x2e3ca2=_0x303ce1['model']['schema']['getNearestSelectionRange'](_0x4125ec['modelRange']['start'],'forward');_0x5b5591['setSelection'](_0x2e3ca2);break;}case'text':{const _0x278ab0=_0x4125ec['modelRange']['start'];if(_0x278ab0['textNode']&&'\x20'===_0x278ab0['textNode']['data'][_0x278ab0['offset']]){const _0x56b2e6=_0x5b5591['createPositionAt'](_0x278ab0['parent'],_0x278ab0['offset']+0x1);_0x5b5591['setSelection'](_0x56b2e6);}else _0x5b5591['setSelection'](_0x4125ec['modelRange']);}}_0x303ce1['editing']['view']['focus']();});}['goToNextPage'](){const _0x3b8f86=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x3b8f86),this['scrollToPage'](_0x3b8f86);}['goToPreviousPage'](){const _0x5bba0e=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x5bba0e),this['scrollToPage'](_0x5bba0e);}['_updatePageBreakMarkers'](_0x4a3dd6,_0x208c96){const _0x33a21b=this['editor']['model'];this['isEnabled']&&_0x33a21b['change'](_0x260ecf=>{for(let _0x337a1e=0x1;_0x337a1e<_0x4a3dd6['length'];_0x337a1e++){const _0x36315f=_0x4a3dd6[_0x337a1e]['modelRange'],_0x1fe8ea='pagination:'+(_0x337a1e+0x1);_0x33a21b['markers']['has'](_0x1fe8ea)?_0x260ecf['updateMarker'](_0x1fe8ea,{'range':_0x36315f}):_0x260ecf['addMarker'](_0x1fe8ea,{'range':_0x36315f,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x56dd1d=_0x4a3dd6['length'];_0x56dd1d<_0x208c96['length'];_0x56dd1d++){const _0x8df163='pagination:'+(_0x56dd1d+0x1);_0x33a21b['markers']['has'](_0x8df163)&&_0x260ecf['removeMarker'](_0x8df163);}});}['_setUpDataDowncastConversion'](){const _0x1cd9e4='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x4979c6=>{_0x4979c6['on']('addMarker:'+_0x1cd9e4,(_0xc2d4,{markerRange:_0x4af799,markerName:_0xbe8305},_0x1ce5ea)=>{if(!_0x1ce5ea['options']['pagination'])return;if(!_0x1ce5ea['consumable']['consume'](_0x4af799,_0xc2d4['name']))return;const _0x294925=_0x4af799['getContainedElement']();let _0x460b34=_0x294925?_0x1ce5ea['mapper']['toViewElement'](_0x294925):null;if(!_0x460b34){const _0x2674e4=_0x4af799['start'];if(_0x1ce5ea['schema']['checkChild'](_0x2674e4,'$text')){const _0x440330=_0x1ce5ea['mapper']['toViewPosition'](_0x2674e4);_0x460b34=_0x1ce5ea['writer']['createContainerElement']('span'),_0x460b34['getFillerOffset']=()=>null,_0x1ce5ea['writer']['insert'](_0x440330,_0x460b34);}else{const _0xdbf236=_0x2674e4['nodeAfter'];_0x460b34=_0x1ce5ea['mapper']['toViewElement'](_0xdbf236);}}for(;_0x460b34['parent']!==_0x460b34['root']&&0x0===_0x460b34['index'];)_0x460b34=_0x460b34['parent'];const _0x59d033=_0xbe8305['substring'](0xb);_0x460b34['hasClass']('page-break')||(_0x1ce5ea['writer']['setStyle']('page-break-before','always',_0x460b34),_0x1ce5ea['writer']['setAttribute']('data-pagination-page',_0x59d033,_0x460b34),_0x1ce5ea['mapper']['bindElementToMarker'](_0x460b34,_0xbe8305)),_0xc2d4['stop']();});});}['_setupKeystrokes'](){const _0x37529b=this['editor'];_0x37529b['keystrokes']['set']('Shift+Pageup',(_0x4d4a79,_0x51bc62)=>{this['goToPreviousPage'](),_0x51bc62();}),_0x37529b['keystrokes']['set']('Shift+Pagedown',(_0x3704ed,_0x33fc3e)=>{this['goToNextPage'](),_0x33fc3e();}),_0x37529b['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':G(_0x37529b['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':G(_0x37529b['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':G(_0x37529b['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0xe341df){return _0xe341df<0x1&&(_0xe341df=0x1),_0xe341df>this['totalPages']&&(_0xe341df=this['totalPages']),_0xe341df;}}class U extends _0x24e3a4{['pageNumberView'];constructor(_0x2f5f4e){super(_0x2f5f4e);const _0x236e80=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x4a00d4(_0x2f5f4e,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x41bc63=>G(_0x2f5f4e,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x41bc63)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x5ed616=>!_0x5ed616),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x236e80['if']('isEnabled','ck-disabled',_0x1d4de4=>!_0x1d4de4)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x236e80['to']('totalPages')}]}]});}['render'](){super['render']();const _0x165788=this['pageNumberView']['element'],_0x1ec234=_0x48e573=>{this['pageNumberView']['element']['value']=String(_0x48e573);};_0x1ec234(this['pageNumber']),this['on']('change:pageNumber',(_0x788727,_0x433c16,_0x4bf356)=>{_0x1ec234(_0x4bf356);}),this['listenTo'](_0x165788,'keydown',(_0x1f7fac,_0x512e3f)=>{if('ArrowUp'===_0x512e3f['key']||'ArrowDown'===_0x512e3f['key'])return void _0x512e3f['stopPropagation']();if(_0x512e3f['keyCode']!==_0xfc0f89['enter'])return;_0x512e3f['preventDefault']();const _0x555008=_0x165788['valueAsNumber'];Number['isNaN'](_0x555008)?_0x165788['value']=String(this['pageNumber']):(_0x165788['checkValidity']()?this['pageNumber']=_0x555008:_0x555008>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x165788['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x165788['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x165788,'blur',()=>{_0x165788['value']=String(this['pageNumber']);}),this['listenTo'](_0x165788,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class M extends _0x3636f3{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x573a94=this['editor'],_0x20ef96=_0x573a94['plugins']['get']('PaginationEditing');_0x573a94['ui']['componentFactory']['add']('pageNavigation',_0x12aa7f=>{const _0x94c0f2=new U(_0x12aa7f);return _0x94c0f2['bind']('pageNumber')['to'](_0x20ef96),_0x94c0f2['bind']('totalPages')['to'](_0x20ef96),_0x94c0f2['bind']('isEnabled')['to'](_0x20ef96),_0x94c0f2['on']('navigation',(_0x1b4499,_0x466f04)=>{_0x20ef96['moveSelectionToPage'](_0x466f04),_0x20ef96['scrollToPage'](_0x466f04);}),_0x94c0f2;}),_0x573a94['ui']['componentFactory']['add']('nextPage',_0x990d22=>{const _0x3603b8=new _0x3ee409(_0x990d22);return _0x3603b8['isEnabled']=!0x0,_0x3603b8['label']=G(_0x573a94['locale'],'Go\x20to\x20next\x20page'),_0x3603b8['icon']=_0x5bd4f1,_0x3603b8['tooltip']=!0x0,_0x3603b8['keystroke']='Shift+PageDown',_0x3603b8['bind']('isEnabled')['to'](_0x20ef96),this['listenTo'](_0x3603b8,'execute',()=>{_0x20ef96['goToNextPage']();}),_0x3603b8;}),_0x573a94['ui']['componentFactory']['add']('previousPage',_0x319c5e=>{const _0x17551f=new _0x3ee409(_0x319c5e);return _0x17551f['isEnabled']=!0x0,_0x17551f['label']=G(_0x573a94['locale'],'Go\x20to\x20previous\x20page'),_0x17551f['icon']=_0x2eca58,_0x17551f['tooltip']=!0x0,_0x17551f['keystroke']='Shift+PageUp',_0x17551f['bind']('isEnabled')['to'](_0x20ef96),this['listenTo'](_0x17551f,'execute',()=>{_0x20ef96['goToPreviousPage']();}),_0x17551f;});}}class j extends _0x3636f3{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[C,M];}constructor(_0xce4356){super(_0xce4356),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x254476=this['editor']['plugins']['get'](C);this['bind']('pageNumber')['to'](_0x254476),this['bind']('totalPages')['to'](_0x254476),_0x5840c0['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x3b86a9){this['editor']['plugins']['get'](C)['scrollToPage'](_0x3b86a9);}}export{j as Pagination,$ as PaginationRenderer};
23
+ import{Plugin as _0x3b87fe}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x597666,InputNumberView as _0x48985e,ButtonView as _0xbfa378}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x28fb7f,global as _0x5185d8,Rect as _0x35bb7a,uid as _0x47f4cc,toUnit as _0x43810e,first as _0xc149a3,env as _0x27c0a9,ResizeObserver as _0x3518f6,keyCodes as _0x5c3a85}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x21ee66}from'es-toolkit/compat';import{IconArrowDown as _0x3b0bfa,IconArrowUp as _0x1b802b}from'@ckeditor/ckeditor5-icons/dist/index.js';class w extends _0x3b87fe{['_recalculatePageBreaksDebounced']=_0x21ee66(()=>this['_recalculatePageBreaks'](),0xc8);['_pagesContainer']=null;static get['pluginName'](){return'PaginationLookup';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){if(this['set']({'pageBreaks':[]}),!this['editor']['config']['get']('pagination'))return void _0x28fb7f('pagination-config-not-found',this['editor']['config']);const _0x1b3015=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x1b3015),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x19b6a9,_0x2ca848,_0x4fd612)=>{_0x4fd612&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x23ce29){const _0x23dc50=_0x597e79([0x49,0x39,0x73,0x43,0x6d,0x67,0x33,0x44,0x4a,0x69,0x47,0x35,0x4c,0x46,0x4d,0x75,0x51,0x6a,0x77,0x68,0x54,0x30,0x58,0x42,0x59,0x79,0x78,0x53,0x71,0x76,0x64,0x50,0x4f,0x34,0x36,0x4e,0x5a,0x41,0x63,0x56,0x7a,0x62,0x37,0x31,0x52,0x57,0x6b,0x66,0x65,0x38,0x6f,0x4b,0x70,0x74,0x6e,0x72,0x55,0x45,0x61,0x6c,0x32,0x48]),_0x1cb613=0xc82cb1e,_0x573246=0xc8542ee^_0x1cb613,_0x2cf429=window[_0x597e79([0x44,0x61,0x74,0x65])][_0x597e79([0x6e,0x6f,0x77])](),_0x11feed=_0x23ce29[_0x597e79([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5787a9=new window[(_0x597e79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f1311=>{_0x11feed[_0x597e79([0x6f,0x6e,0x63,0x65])](_0x597e79([0x72,0x65,0x61,0x64,0x79]),_0x4f1311);}),_0x5af5da={[_0x597e79([0x6b,0x74,0x79])]:_0x597e79([0x45,0x43]),[_0x597e79([0x75,0x73,0x65])]:_0x597e79([0x73,0x69,0x67]),[_0x597e79([0x63,0x72,0x76])]:_0x597e79([0x50,0x2d,0x32,0x35,0x36]),[_0x597e79([0x78])]:_0x597e79([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x597e79([0x79])]:_0x597e79([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x597e79([0x61,0x6c,0x67])]:_0x597e79([0x45,0x53,0x32,0x35,0x36])},_0x25f6f9=_0x11feed[_0x597e79([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x597e79([0x67,0x65,0x74])](_0x597e79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x152914(){let _0x4304f0,_0x37676c=null,_0x41e8ae=null;try{if(_0x25f6f9==_0x597e79([0x47,0x50,0x4c]))return _0x597e79([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4304f0=_0x507fcf(),!_0x4304f0)return _0x597e79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4304f0[_0x597e79([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x41e8ae=_0x1c5489(_0x4304f0[_0x597e79([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4304f0[_0x597e79([0x6a,0x74,0x69])])),await _0x2a4e71()?_0x588df1()?_0x5045db()?_0x597e79([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5f1a9d()?(_0x4304f0[_0x597e79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x597e79([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x37676c=_0x2bf5bf(_0x597e79([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4b343f()):_0x597e79([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x597e79([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x597e79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x597e79([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5045db(){const _0x415add=[_0x597e79([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x597e79([0x74,0x72,0x69,0x61,0x6c])][_0x597e79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4304f0[_0x597e79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2cf429/0x3e8:0xe10*_0x573246;return _0x4304f0[_0x597e79([0x65,0x78,0x70])]<_0x415add;}function _0x588df1(){const _0x157b24=_0x4304f0[_0x597e79([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x157b24&&(!!_0x157b24[_0x597e79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x597e79([0x2a]))||!!_0x157b24[_0x597e79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x597e79([0x50,0x41,0x47])));}function _0x5f1a9d(){const _0x2deb03=_0x4304f0[_0x597e79([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2deb03||0x0==_0x2deb03[_0x597e79([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x55ebe7}=new URL(window[_0x597e79([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2deb03[_0x597e79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55ebe7))return!0x0;const _0x5a1237=_0x55ebe7[_0x597e79([0x73,0x70,0x6c,0x69,0x74])](_0x597e79([0x2e]));return _0x2deb03[_0x597e79([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5b8da7=>_0x5b8da7[_0x597e79([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x597e79([0x2a])))[_0x597e79([0x6d,0x61,0x70])](_0xc8e99a=>_0xc8e99a[_0x597e79([0x73,0x70,0x6c,0x69,0x74])](_0x597e79([0x2e])))[_0x597e79([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3cb8f9=>_0x3cb8f9[_0x597e79([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5a1237[_0x597e79([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x597e79([0x6d,0x61,0x70])](_0x5094d3=>Array(_0x5a1237[_0x597e79([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5094d3[_0x597e79([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x597e79([0x66,0x69,0x6c,0x6c])](_0x5094d3[0x0]===_0x597e79([0x2a])?_0x597e79([0x2a]):'')[_0x597e79([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5094d3))[_0x597e79([0x73,0x6f,0x6d,0x65])](_0x436a81=>_0x5a1237[_0x597e79([0x65,0x76,0x65,0x72,0x79])]((_0xeb63e8,_0x2cbc60)=>_0x436a81[_0x2cbc60]===_0xeb63e8||_0x436a81[_0x2cbc60]===_0x597e79([0x2a])));}function _0x4b343f(){return _0x37676c&&_0x41e8ae?new window[(_0x597e79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x24affe,_0x188279)=>{_0x37676c[_0x597e79([0x74,0x68,0x65,0x6e])](_0x24affe,_0x188279),_0x41e8ae[_0x597e79([0x74,0x68,0x65,0x6e])](_0x35e0a1=>{_0x35e0a1!=_0x597e79([0x56,0x61,0x6c,0x69,0x64])&&_0x24affe(_0x35e0a1);},_0x188279);}):_0x37676c||_0x41e8ae||_0x597e79([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1c5489(_0x14857e,_0xeb0da8){return new window[(_0x597e79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ca9e9=>{if(_0x32f505())return _0x3ca9e9(_0x597e79([0x56,0x61,0x6c,0x69,0x64]));_0x57a502(),_0x11feed[_0x597e79([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x597e79([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2bcc4c=!0x1;const _0xec4447=_0x47f4cc();function _0x2ff8cc(_0x23c814){return!!_0x23c814&&(typeof _0x23c814===_0x597e79([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x23c814===_0x597e79([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x23c814[_0x597e79([0x74,0x68,0x65,0x6e])]===_0x597e79([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x23c814[_0x597e79([0x63,0x61,0x74,0x63,0x68])]===_0x597e79([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x283ce3(_0x1d6bd2){_0x1501e8(_0x1d6bd2)[_0x597e79([0x74,0x68,0x65,0x6e])](_0x14e032=>{if(!_0x14e032||_0x14e032[_0x597e79([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x597e79([0x6f,0x6b]))return _0x597e79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4cfc65(_0x9c1315(_0xec4447+_0xeb0da8))!=_0x14e032[_0x597e79([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x597e79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x597e79([0x56,0x61,0x6c,0x69,0x64]);})[_0x597e79([0x74,0x68,0x65,0x6e])](_0x1ec37e=>(_0x966381(),_0x1ec37e),()=>{const _0x43ed3c=_0x4bb073();return null==_0x43ed3c?(_0x966381(),_0x597e79([0x56,0x61,0x6c,0x69,0x64])):_0x597e79(_0x2cf429-_0x43ed3c>(0x288e4f1e^_0x1cb613)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x597e79([0x74,0x68,0x65,0x6e])](_0x3ca9e9)[_0x597e79([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3ca9e9(_0x597e79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x378d71=0xcb4259e^_0x1cb613;function _0x966381(){const _0x2fc751=_0x597e79([0x6c,0x6c,0x63,0x74,0x2d])+_0x4cfc65(_0x9c1315(_0x14857e)),_0x40f029=_0x52b553(_0x4cfc65(window[_0x597e79([0x4d,0x61,0x74,0x68])][_0x597e79([0x63,0x65,0x69,0x6c])](_0x2cf429/_0x378d71)));window[_0x597e79([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x597e79([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2fc751,_0x40f029);}function _0x4bb073(){const _0x510447=_0x597e79([0x6c,0x6c,0x63,0x74,0x2d])+_0x4cfc65(_0x9c1315(_0x14857e)),_0x2db58b=window[_0x597e79([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x597e79([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x510447);return _0x2db58b?window[_0x597e79([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52b553(_0x2db58b),0x10)*_0x378d71:null;}function _0x1501e8(_0x5406e3){return new window[(_0x597e79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x45a0a1,_0x15c272)=>{_0x5406e3[_0x597e79([0x74,0x68,0x65,0x6e])](_0x45a0a1,_0x15c272),window[_0x597e79([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x15c272,0xc831fde^_0x1cb613);});}}_0x11feed[_0x597e79([0x6f,0x6e])](_0x597e79([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3e8b36,_0x447116)=>{if(_0x447116[0x0]!=_0x14857e)return _0x3ca9e9(_0x597e79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x447116[0x1]={..._0x447116[0x1],[_0x597e79([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xec4447};},{[_0x597e79([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x597e79([0x68,0x69,0x67,0x68])}),_0x11feed[_0x597e79([0x6f,0x6e])](_0x597e79([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x21bad7=>{_0x2ff8cc(_0x21bad7[_0x597e79([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2bcc4c=!0x0,_0x283ce3(_0x21bad7[_0x597e79([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x597e79([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x597e79([0x6c,0x6f,0x77])}),_0x5787a9[_0x597e79([0x74,0x68,0x65,0x6e])](()=>{_0x2bcc4c||_0x3ca9e9(_0x597e79([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x32f505(){return _0x11feed[_0x597e79([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x597e79([0x76,0x69,0x65,0x77])][_0x597e79([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x597e79([0x61,0x75,0x74,0x6f]);}function _0x57a502(){_0x11feed[_0x597e79([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x597e79([0x76,0x69,0x65,0x77])][_0x597e79([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x597e79([0x61,0x75,0x74,0x6f]);}}function _0x2bf5bf(_0x504d37){const _0x30de65=[new window[(_0x597e79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28c1c5=>setTimeout(_0x28c1c5,0xc8bf5d2^_0x1cb613)),_0x5787a9[_0x597e79([0x74,0x68,0x65,0x6e])](()=>new window[(_0x597e79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f28cb=>{let _0x5c75a8=0x0;_0x11feed[_0x597e79([0x6d,0x6f,0x64,0x65,0x6c])][_0x597e79([0x6f,0x6e])](_0x597e79([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5e1501,_0x369008)=>{_0x369008[0x0][_0x597e79([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5c75a8++,_0x5c75a8==(0xc82cef6^_0x1cb613)&&(_0x1f28cb(),_0x5e1501[_0x597e79([0x6f,0x66,0x66])]());});}))];return window[_0x597e79([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x597e79([0x72,0x61,0x63,0x65])](_0x30de65)[_0x597e79([0x74,0x68,0x65,0x6e])](()=>_0x504d37);}async function _0x21c11a(){await _0x5787a9,_0x11feed[_0x597e79([0x6d,0x6f,0x64,0x65,0x6c])][_0x597e79([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3bdc5e,_0x11feed[_0x597e79([0x6d,0x6f,0x64,0x65,0x6c])][_0x597e79([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3bdc5e,_0x11feed[_0x597e79([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x597e79([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4f6b8b(_0x339463){const _0x813e64=_0xef6078();_0x11feed[_0x813e64]=_0x597e79([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x339463,_0x339463!=_0x597e79([0x56,0x61,0x6c,0x69,0x64])&&_0x21c11a();}function _0xef6078(){const _0x3c3ac8=window[_0x597e79([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x597e79([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x597e79([0x6e,0x6f,0x77])]())[_0x597e79([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x597e79([0x2e]),'');let _0x2ee84d=_0x597e79([0x49]);for(let _0x8fcd4a=0x0;_0x8fcd4a<_0x3c3ac8[_0x597e79([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x8fcd4a+=0x2){let _0x5ee090=window[_0x597e79([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c3ac8[_0x597e79([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x8fcd4a,_0x8fcd4a+0x2));_0x5ee090>=_0x23dc50[_0x597e79([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5ee090-=_0x23dc50[_0x597e79([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2ee84d+=_0x23dc50[_0x5ee090];}return _0x2ee84d;}function _0x507fcf(){const _0x9a1fac=_0x25f6f9[_0x597e79([0x73,0x70,0x6c,0x69,0x74])](_0x597e79([0x2e]));if(0x3!=_0x9a1fac[_0x597e79([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x79f77c(_0x9a1fac[0x1]);function _0x79f77c(_0x206fed){const _0x24ebd1=_0x540d54(_0x206fed);return _0x24ebd1&&_0x3d2000()?_0x24ebd1:null;function _0x3d2000(){const _0x2906fc=_0x24ebd1[_0x597e79([0x6a,0x74,0x69])],_0x495916=window[_0x597e79([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2906fc[_0x597e79([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2906fc[_0x597e79([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xb8e71e={..._0x24ebd1,[_0x597e79([0x6a,0x74,0x69])]:_0x2906fc[_0x597e79([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2906fc[_0x597e79([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xb8e71e[_0x597e79([0x76,0x63])],_0x9c1315(_0xb8e71e)==_0x495916;}}}async function _0x2a4e71(){let _0x3010c7=!0x0;try{const _0x59c671=_0x25f6f9[_0x597e79([0x73,0x70,0x6c,0x69,0x74])](_0x597e79([0x2e])),[_0x2f3d76,_0x128dd6,_0x1445a5]=_0x59c671;return _0x3ed14e(_0x2f3d76),await _0xffc5f4(_0x2f3d76,_0x128dd6,_0x1445a5),_0x3010c7;}catch{return!0x1;}function _0x3ed14e(_0x4d6efa){const _0x38a887=_0x540d54(_0x4d6efa);_0x38a887&&_0x38a887[_0x597e79([0x61,0x6c,0x67])]==_0x597e79([0x45,0x53,0x32,0x35,0x36])||(_0x3010c7=!0x1);}async function _0xffc5f4(_0x50f9b0,_0xe30795,_0x5355e0){const _0x401354=window[_0x597e79([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x597e79([0x66,0x72,0x6f,0x6d])](_0x56b039(_0x5355e0),_0xd0a405=>_0xd0a405[_0x597e79([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4a3637=new window[(_0x597e79([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x597e79([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x50f9b0+_0x597e79([0x2e])+_0xe30795),_0x5a0a8c=window[_0x597e79([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x597e79([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5a0a8c)return;const _0x41062d=await _0x5a0a8c[_0x597e79([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x597e79([0x6a,0x77,0x6b]),_0x5af5da,{[_0x597e79([0x6e,0x61,0x6d,0x65])]:_0x597e79([0x45,0x43,0x44,0x53,0x41]),[_0x597e79([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x597e79([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x597e79([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5a0a8c[_0x597e79([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x597e79([0x6e,0x61,0x6d,0x65])]:_0x597e79([0x45,0x43,0x44,0x53,0x41]),[_0x597e79([0x68,0x61,0x73,0x68])]:{[_0x597e79([0x6e,0x61,0x6d,0x65])]:_0x597e79([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x41062d,_0x401354,_0x4a3637)||(_0x3010c7=!0x1);}}function _0x540d54(_0x53fd3e){return _0x53fd3e[_0x597e79([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x597e79([0x65,0x79]))?JSON[_0x597e79([0x70,0x61,0x72,0x73,0x65])](_0x56b039(_0x53fd3e)):null;}function _0x56b039(_0x4879e6){return window[_0x597e79([0x61,0x74,0x6f,0x62])](_0x4879e6[_0x597e79([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x597e79([0x2b]))[_0x597e79([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x597e79([0x2f])));}function _0x9c1315(_0x3941d6){let _0x45c3d8=0x1505;function _0x122bc4(_0x432b4e){for(let _0x401d12=0x0;_0x401d12<_0x432b4e[_0x597e79([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x401d12++){const _0x413e21=_0x432b4e[_0x597e79([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x401d12);_0x45c3d8=(_0x45c3d8<<0x5)+_0x45c3d8+_0x413e21,_0x45c3d8&=_0x45c3d8;}}function _0x3f645e(_0x5e38c4){Array[_0x597e79([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5e38c4)?_0x5e38c4[_0x597e79([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3f645e):_0x5e38c4&&typeof _0x5e38c4==_0x597e79([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x597e79([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5e38c4)[_0x597e79([0x73,0x6f,0x72,0x74])]()[_0x597e79([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x497a7d,_0x2e93aa])=>{_0x122bc4(_0x497a7d),_0x3f645e(_0x2e93aa);}):_0x122bc4(window[_0x597e79([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5e38c4));}return _0x3f645e(_0x3941d6),_0x45c3d8>>>0x0;}function _0x4cfc65(_0x4e21b7){return _0x4e21b7[_0x597e79([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x597e79([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x597e79([0x30]));}function _0x52b553(_0x321fa8){return _0x321fa8[_0x597e79([0x73,0x70,0x6c,0x69,0x74])]('')[_0x597e79([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x597e79([0x6a,0x6f,0x69,0x6e])]('');}function _0x3bdc5e(){}function _0x597e79(_0x1d602f){return _0x1d602f['map'](_0x2042ba=>String['fromCharCode'](_0x2042ba))['join']('');}_0x4f6b8b(await _0x152914());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x2a3dcd=this['editor'],_0xa3efa8=_0x2a3dcd['editing']['view'],_0x2148df=this['_getAttachedDomRoot']();if(!_0x2148df||0x0===_0x2148df['childElementCount'])return void _0x2a3dcd['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x4c66fe,pageHeight:_0x5a798d}=_0x2a3dcd['config']['get']('pagination'),{top:_0xd4d589,left:_0x519d39,bottom:_0x5e07b9,right:_0x1a80f6}=this['_configuredPaddings'];this['_pagesContainer']=new _0x597666(_0x2a3dcd['locale']);const _0x59b482=this['_pagesContainer'];_0x59b482['set']('class',''),_0x59b482['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x4c66fe,'width':_0x4c66fe,'height':'calc(\x20'+_0x5a798d+'\x20-\x20'+_0xd4d589+'\x20-\x20'+_0x5e07b9+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x1a80f6+'\x200\x20'+_0x519d39,'columnGap':'calc('+_0x519d39+'\x20+\x20'+_0x1a80f6+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x59b482['bindTemplate']['to']('class')}}),_0x59b482['render'](),_0x2148df['parentNode']['insertBefore'](_0x59b482['element'],_0x2148df['nextSibling']),this['listenTo'](_0xa3efa8,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x975013 of this['editor']['editing']['view']['domRoots']['values']())if(_0x975013['ownerDocument']['body']['contains'](_0x975013))return _0x975013;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x219d7b=this['editor']['editing']['view'],_0x5d885e=this['_pagesContainer'],_0x8fc0c7=this['_getAttachedDomRoot']();if(!_0x8fc0c7)return Promise['resolve']();for(_0x5d885e['class']=['ck-reset','ck-pagination-view',..._0x8fc0c7['classList']]['join']('\x20');_0x5d885e['element']['firstChild'];)_0x5d885e['element']['firstChild']['remove']();const _0x86e2db=Array['from'](_0x219d7b['domRoots']);_0x86e2db['sort'](([,_0x5add34],[,_0x1d838f])=>_0x5add34['compareDocumentPosition'](_0x1d838f)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x56b76f,_0x559e29]of _0x86e2db){const _0x33fd98=_0x559e29['cloneNode'](!0x0);'attributeStyleMap'in _0x33fd98&&_0x33fd98['attributeStyleMap']['clear'](),_0x33fd98['dataset']['rootName']=_0x56b76f,_0x33fd98['className']='ck-content\x20ck-pagination_enabled',_0x33fd98['removeAttribute']('id'),_0x33fd98['tabIndex']=-0x1,_0x5d885e['element']['append'](_0x33fd98);}const _0x12c52a=Array['from'](_0x5d885e['element']['querySelectorAll']('img'));return function(_0x3cce4f){return Promise['all'](_0x3cce4f['map'](_0x1ce9f8=>Promise['race']([k(_0x1ce9f8),v(0x3e8)])));}(_0x12c52a)['then'](()=>{for(const _0x559b1b of _0x12c52a['filter'](_0x39fbee=>!_0x39fbee['closest']('table')))if(_0x559b1b['offsetParent']){const _0x1820bb=_0x5185d8['window']['getComputedStyle'](_0x559b1b),_0x3cd1ab=_0x5185d8['document']['createElement']('span');for(const _0xd12357 of _0x1820bb)_0x3cd1ab['style']['setProperty'](_0xd12357,_0x1820bb[_0xd12357]);_0x3cd1ab['style']['backgroundImage']='url(\x20'+_0x559b1b['src']+'\x20)',_0x3cd1ab['style']['breakInside']='avoid','PICTURE'==_0x559b1b['parentElement']?.['tagName']?_0x559b1b['parentElement']['replaceWith'](_0x3cd1ab):_0x559b1b['replaceWith'](_0x3cd1ab);}return new Promise(_0x3c0c8f=>_0x5185d8['window']['requestAnimationFrame'](()=>_0x3c0c8f()));})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x35c29b=this['_pagesContainer']['element'];if(!_0x35c29b['ownerDocument']['body']['contains'](_0x35c29b))return;const _0x369c3a=new _0x35bb7a(_0x35c29b)['excludeScrollbarsAndBorders'](),_0x2c72cc=Math['floor'](_0x369c3a['width']+0x64),_0x444d83=_(_0x35c29b,Math['floor'](_0x369c3a['left']-_0x35c29b['scrollLeft']),_0x2c72cc,_0x369c3a['height'])['map'](_0x4aa018=>this['_mapPageStarterInfoToPageBreakInfo'](_0x4aa018))['filter'](_0x30908e=>!0x1!==_0x30908e);_0x444d83['every'](_0x54114c=>!!_0x54114c)&&(this['pageBreaks']=_0x444d83);}['_mapPageStarterInfoToPageBreakInfo'](_0x19144c){const _0x3d0f7c=this['editor']['editing']['view'],_0x36377f=this['editor']['editing']['mapper'],_0x1d28f6=_0x3d0f7c['domConverter'],_0x1ee981=_0x19144c['path']['shift'](),_0x2f2caf=this['_pagesContainer']['element']['childNodes'][_0x1ee981]['dataset']['rootName'],_0x2453bb=_0x3d0f7c['getDomRoot'](_0x2f2caf);if(!_0x2453bb)return null;const _0xe30be8=function(_0x28f7b0,_0x244df2){let _0x34b21f=_0x28f7b0;for(const _0x517203 of _0x244df2['path']){if(!_0x34b21f)return null;_0x34b21f=_0x34b21f['childNodes'][_0x517203];}return _0x34b21f;}(_0x2453bb,_0x19144c);if(!_0xe30be8)return null;const _0x1c85f5=_0x1d28f6['domPositionToView'](_0xe30be8,_0x19144c['textOffset']||0x0);return _0x1c85f5?'manual'==_0x19144c['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x1c85f5,_0xe30be8):'text'==_0x19144c['type']&&_0x36377f['toModelPosition'](_0x1c85f5)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x1c85f5,_0xe30be8,_0x19144c['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x1c85f5,_0xe30be8,_0x19144c['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x39ee94,_0x519808){const _0x9024d1=this['editor']['model'],_0x1f7d99=this['editor']['editing']['mapper']['toModelElement'](_0x39ee94['parent']),_0x3085ac=_0x9024d1['createRangeOn'](_0x1f7d99);return new b({'type':'manual','modelRange':_0x3085ac,'domNode':_0x519808,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x16f3fd,_0x544b7b,_0x318c9f){const _0x5d47c6=this['editor']['model'],_0x12744f=this['editor']['editing']['mapper'],_0x11d2f0=this['editor']['editing']['view']['domConverter'];if(_0x318c9f>=_0x544b7b['length'])return null;const _0x5afbaf=_0x12744f['toModelPosition'](_0x16f3fd),_0x139e94=_0x5d47c6['createRange'](_0x5afbaf),_0x32effe=_0x12744f['findMappedViewAncestor'](_0x16f3fd),_0x2d33e2=_0x11d2f0['mapViewToDom'](_0x32effe);return new b({'type':'text','modelRange':_0x139e94,'domNode':_0x544b7b,'offset':P(_0x544b7b,_0x318c9f,_0x2d33e2)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x4493c8,_0x273f9c,_0x35e4c9){const _0x2ebbb2=this['editor']['model'],_0x2855ca=this['editor']['editing'],_0x2f7a83=_0x2855ca['mapper'],_0x244585=_0x2855ca['view']['domConverter'],_0x32d389=_0x2f7a83['findMappedViewAncestor'](_0x4493c8),_0x5af7ce=_0x2f7a83['toModelElement'](_0x32d389);if(!_0x5af7ce||_0x5af7ce['is']('element','$root'))return!0x1;const _0x5e740c=function(_0x5925e3){const _0x3e1287=_0x5925e3['parent'],_0x57a8e3=_0x3e1287['root']['document']['model'],_0x5a24c3=_0x3e1287['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x335f32=null;for(const _0x20a6cf of _0x5a24c3){if(_0x20a6cf['is']('rootElement'))return _0x335f32;if(!_0x57a8e3['createPositionBefore'](_0x20a6cf)['isTouching'](_0x5925e3))return _0x335f32;_0x335f32=_0x20a6cf;}}(_0x2ebbb2['createPositionBefore'](_0x5af7ce)),_0x43a5a2=_0x5e740c||_0x5af7ce;let _0x3afad9=_0x2f7a83['toViewElement'](_0x43a5a2),_0xb5ff5d=_0x2ebbb2['createRangeOn'](_0x43a5a2);const _0x2336db=_0x2ebbb2['createPositionBefore'](_0x43a5a2)['nodeBefore'];if(_0x2336db&&_0x2336db['is']('element','imageBlock')){const _0x4b04e1=_0x2f7a83['toViewElement'](_0x2336db),_0x11cf0a=_0x244585['mapViewToDom'](_0x4b04e1),_0x5e9cba=_0x5185d8['window']['getComputedStyle'](_0x11cf0a)['float'];'left'!=_0x5e9cba&&'right'!=_0x5e9cba||(_0xb5ff5d=_0x2ebbb2['createRangeOn'](_0x2336db));}for(;_0x3afad9['parent']!==_0x3afad9['root']&&0x0===_0x3afad9['index'];)_0x3afad9=_0x3afad9['parent'];const _0x4829b5=new _0x35bb7a(I(_0x273f9c)?_0x273f9c:x(_0x273f9c)),_0x529d22=_0x35e4c9?_0x4829b5['height']-_0x35e4c9:0x0,_0x4282b7=_0x244585['mapViewToDom'](_0x3afad9),_0x48d80b=new _0x35bb7a(_0x4282b7);return new b({'type':'element','modelRange':_0xb5ff5d,'domNode':_0x4282b7,'offset':Math['round'](_0x529d22)||_0x32d389!=y(_0x4493c8)?_0x529d22+_0x4829b5['top']-_0x48d80b['top']:0x0});}get['_configuredPaddings'](){const _0x3a1de2=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x3a1de2);}static['_findPageStarterInfos'](_0x2cf964,_0x21cd92,_0x58b821,_0x47efce,_0x1de933){return _(_0x2cf964,_0x21cd92,_0x58b821,_0x47efce,_0x1de933);}}class b{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x2507bb,modelRange:_0x544ddf,domNode:_0x2f6ba5,offset:_0x14089a}){this['type']=_0x2507bb,this['modelRange']=_0x544ddf,this['_domNode']=_0x2f6ba5,this['_offset']=_0x14089a;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x413f3d=new _0x35bb7a(I(this['_domNode'])?this['_domNode']:x(this['_domNode']));return'manual'==this['type']?_0x413f3d['top']+_0x413f3d['height']/0x2:_0x413f3d['top']+this['_offset'];}}function P(_0x2aef7a,_0x1f2aa4,_0x4a4edd){const _0x2e7929=x(_0x2aef7a),_0x2ab91d=function(_0x346a6d){const _0x3e0d0d=_0x5185d8['document']['createRange']();return _0x3e0d0d['selectNodeContents'](_0x346a6d),_0x3e0d0d;}(_0x4a4edd);let _0x592f36;_0x592f36=0x0==_0x1f2aa4?L(_0x2ab91d['startContainer'],_0x2ab91d['startOffset'],_0x2aef7a['parentNode'],Array['from'](_0x2aef7a['parentNode']['childNodes'])['indexOf'](_0x2aef7a)):L(_0x2ab91d['startContainer'],_0x2ab91d['startOffset'],_0x2aef7a,_0x1f2aa4);const _0x36428b=L(_0x2aef7a,_0x1f2aa4,_0x2ab91d['endContainer'],_0x2ab91d['endOffset']),_0x4c0e83=new _0x35bb7a(_0x592f36)['bottom'];return(new _0x35bb7a(_0x36428b)['top']+_0x4c0e83)/0x2-new _0x35bb7a(_0x2e7929)['top'];}function y(_0x5cac06){let _0x1905ae=_0x5cac06['parent'];for(;_0x1905ae['is']('$text')||_0x1905ae['is']('attributeElement');)_0x1905ae=_0x1905ae['parent'];return _0x1905ae;}function k(_0xdb1dbc){return _0xdb1dbc['hasAttribute']('width')&&_0xdb1dbc['hasAttribute']('height')?Promise['resolve']():new Promise(_0x692668=>{function _0x35fba2(){_0xdb1dbc['removeEventListener']('load',_0x35fba2),_0xdb1dbc['removeEventListener']('error',_0x35fba2),_0x692668();}_0xdb1dbc['complete']?_0x692668():(_0xdb1dbc['addEventListener']('load',_0x35fba2),_0xdb1dbc['addEventListener']('error',_0x35fba2));});}function v(_0x41d34b){return new Promise(_0x404b41=>setTimeout(_0x404b41,_0x41d34b));}function x(_0x2fae1f){const _0x17b786=_0x5185d8['document']['createRange']();return _0x17b786['selectNode'](_0x2fae1f),_0x17b786;}function N(_0x43f56c,_0x514e9a,_0x5c9284){const _0x1de365=_0x5185d8['document']['createRange']();return _0x1de365['setStart'](_0x43f56c,_0x514e9a),_0x1de365['setEnd'](_0x43f56c,_0x5c9284),_0x1de365;}function L(_0x5bec8b,_0x44f4a9,_0x559728,_0x4b8c01){const _0x5d00d3=_0x5185d8['document']['createRange']();return _0x5d00d3['setStart'](_0x5bec8b,_0x44f4a9),_0x5d00d3['setEnd'](_0x559728,_0x4b8c01),_0x5d00d3;}function _(_0x2574ca,_0x295d95,_0x332431,_0x53307d,_0x1a70ff){const _0xc87495=[];for(const [_0x1887e6,_0x35397c]of _0x2574ca['childNodes']['entries']()){let _0x4ccc1b=[];I(_0x35397c)&&_0x35397c['offsetParent']&&['static','relative']['includes'](_0x5185d8['window']['getComputedStyle'](_0x35397c)['position'])?_0x4ccc1b=S(_0x35397c,_0x1887e6,_0x295d95,_0x332431,_0x53307d,_0x1a70ff):O(_0x35397c)&&(_0x4ccc1b=E(_0x35397c,_0x1887e6,_0x295d95,_0x332431,_0x1a70ff)),_0x4ccc1b['length']&&(_0xc87495['push'](..._0x4ccc1b),_0x295d95+=_0x4ccc1b['length']*_0x332431,_0x1a70ff=!0x1);}return _0xc87495;}function S(_0x5c3f63,_0x5e2c7f,_0x3a5434,_0x5c4ed7,_0xfa13f,_0x332bff){const _0x307850=[];var _0x1f5551;if((_0x1f5551=_0x5c3f63['previousSibling'])&&I(_0x1f5551)&&Boolean(_0x1f5551['classList']['contains']('page-break')||_0x1f5551['closest']('.page-break'))&&(_0x307850['push']({'type':'manual','offset':0x0,'path':[_0x5e2c7f-0x1]}),_0x332bff=!0x0),'table-row'==_0x5185d8['window']['getComputedStyle'](_0x5c3f63)['display']){let _0x3bda3b=0x0,_0x28db61=!0x1;for(const _0x5e161b of _0x5c3f63['getClientRects']())_0x3bda3b+=_0x5e161b['height'],_0x5e161b['left']>=_0x3a5434&&(_0x28db61=!0x0);if(_0x3bda3b<_0xfa13f&&_0x28db61)return _0x332bff||_0x307850['push']({'type':'element','offset':0x0,'path':[_0x5e2c7f]}),_0x307850;}const _0x4563fa=_0x5c3f63['closest']('figure.image');if(_0x4563fa&&function(_0x556861){let _0x1994b2=!0x1;const _0x4fd2a8=_0x556861['parentElement'],_0x689cfb=_0x4fd2a8['dataset']['rootName'],_0x24b4af=_0x556861['nextElementSibling'],_0x1ee912=_0x556861['previousElementSibling'],_0x2b5f74=_0x24b4af&&_0x5185d8['window']['getComputedStyle'](_0x24b4af)['float'],_0x1a3c68=_0x24b4af&&'ck-fake-selection-container'===_0x24b4af['className'];!_0x689cfb||_0x24b4af||_0x1ee912||(_0x1994b2=!0x0),_0x689cfb&&!_0x1ee912&&_0x1a3c68&&(_0x1994b2=!0x0),_0x689cfb&&!_0x1ee912&&'none'!==_0x2b5f74&&(_0x1994b2=!0x0);if(_0x1994b2)return!0x1;return!0x0;}(_0x4563fa)){const _0x1bed03=_0x5185d8['window']['getComputedStyle'](_0x4563fa)['float'];if('left'==_0x1bed03||'right'==_0x1bed03)return _0x307850;}const _0x5e7f28=_(_0x5c3f63,_0x3a5434,_0x5c4ed7,_0xfa13f,_0x332bff);if(_0x5e7f28['length']){for(const _0x496f0f of _0x5e7f28)_0x307850['push']({'type':_0x496f0f['type'],'offset':_0x496f0f['offset'],'textOffset':_0x496f0f['textOffset'],'path':[_0x5e2c7f,..._0x496f0f['path']]}),_0x3a5434+=_0x5c4ed7,_0x332bff=!0x1;return _0x307850;}return _0x307850['push'](...function(_0x2ad40c,_0x1b8a03,_0x51ca76,_0x47e550,_0x3c16ca){const _0x14c902=[];if('table-cell'==_0x5185d8['window']['getComputedStyle'](_0x2ad40c)['display'])return[];const _0x1e1364=[];for(const _0x5bd445 of _0x2ad40c['getClientRects']())if(_0x5bd445['left']>=_0x51ca76){for(const _0x1be220 of _0x1e1364)_0x1be220['height']+=_0x5bd445['height'];_0x1e1364['push']({'height':_0x5bd445['height']}),_0x51ca76+=_0x47e550;}for(const _0x482991 of _0x1e1364)_0x3c16ca||_0x14c902['push']({'type':'element','offset':_0x482991['height'],'textOffset':0x0,'path':[_0x1b8a03]}),_0x3c16ca=!0x1;return _0x14c902;}(_0x5c3f63,_0x5e2c7f,_0x3a5434,_0x5c4ed7,_0x332bff)),_0x307850;}function E(_0x17e33f,_0x211437,_0x4f72cc,_0x2aabe9,_0xf35fb1){const _0x43d2ba=x(_0x17e33f),_0x4cbd0f=[];let _0x1e90be=0x0;for(const _0x24108d of _0x43d2ba['getClientRects']())if(_0x24108d['left']>=_0x4f72cc){const _0x5875e8=R(_0x17e33f,_0x1e90be,_0x4f72cc,_0x2aabe9);_0xf35fb1||_0x4cbd0f['push']({'type':'text','path':[_0x211437],'textOffset':_0x5875e8}),_0x1e90be=_0x5875e8,_0x4f72cc+=_0x2aabe9,_0xf35fb1=!0x1;}return _0x4cbd0f;}function R(_0x4f36c7,_0x4200c2,_0x269d84,_0x3d6fb2){let _0x4c0660=_0x4200c2,_0x495e3a=_0x4f36c7['length'];for(;_0x495e3a-_0x4c0660>0x1;){const _0x2e365d=Math['ceil']((_0x4c0660+_0x495e3a)/0x2);K(N(_0x4f36c7,_0x4c0660,_0x2e365d),_0x269d84,_0x3d6fb2)?_0x495e3a=_0x2e365d:_0x4c0660=_0x2e365d;}return _0x4c0660;}function K(_0x10064a,_0x37caca,_0x336c13){for(const _0xf3631a of _0x10064a['getClientRects']())if(_0xf3631a['left']>=_0x37caca&&_0xf3631a['left']<_0x37caca+_0x336c13)return!0x0;return!0x1;}function I(_0x20a8a3){return _0x20a8a3['nodeType']==Node['ELEMENT_NODE'];}function O(_0x389fe1){return _0x389fe1['nodeType']==Node['TEXT_NODE'];}const B=/* #__PURE__ -- @preserve */
24
+ _0x43810e('px');class T extends _0x597666{constructor(){super();const _0x375a3a=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x375a3a['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x375a3a['if']('isVisible','ck-hidden',_0x2ab89e=>!_0x2ab89e)],'style':{'left':_0x375a3a['to']('left',_0x2a1894=>B(_0x2a1894)),'top':_0x375a3a['to']('top',_0x594a8a=>B(_0x594a8a)),'width':_0x375a3a['to']('width',_0x2f4991=>B(_0x2f4991))}}});}}class A{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x3d44e7){this['_viewCollection']=_0x3d44e7['ui']['view']['body'];}['destroy'](){for(const _0x5d0302 of this['_hiddenLines'])_0x5d0302['destroy']();}['cleanLines'](){for(const _0x40250d of this['_visibleLines'])_0x40250d['isVisible']=!0x1,this['_hiddenLines']['add'](_0x40250d);this['_visibleLines']['clear']();}['showLine'](_0x16c87b,_0x3ec9c9,_0x43e07e,_0x1939db){let _0x74f55a;this['_hiddenLines']['size']?(_0x74f55a=_0xc149a3(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x74f55a)):_0x74f55a=new T(),_0x74f55a['set']({'pageNumber':_0x1939db,'left':_0x16c87b,'top':_0x3ec9c9,'width':_0x43e07e}),_0x74f55a['isVisible']=!0x0,this['_viewCollection']['has'](_0x74f55a)||this['_viewCollection']['add'](_0x74f55a),this['_visibleLines']['add'](_0x74f55a);}['setViewCollection'](_0x3efe5b){for(const _0x460338 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x460338)&&this['_viewCollection']['remove'](_0x460338);this['_viewCollection']=_0x3efe5b;}}const D='ck-pagination_enabled';class $ extends _0x3b87fe{['linesRepository'];['_scrollableEditingRootDomAncestor']=null;['_resizeObserver']=null;['_paginationLookupPlugin'];static get['pluginName'](){return'PaginationRenderer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['set']({'pageNumber':0x1}),this['linesRepository']=new A(this['editor']),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']=null,this['_paginationLookupPlugin']=this['editor']['plugins']['get']('PaginationLookup'),this['bind']('isEnabled')['to'](this['editor']['plugins']['get']('PaginationEditing')),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['_toggleEditingRootsClass'](D),this['on']('change:isEnabled',(_0x468d3c,_0x3c2b4c,_0x40a6b5)=>{_0x40a6b5||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0x40a6b5);});}['destroy'](){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0xc468dd){if(!this['isEnabled'])return;const _0x764faa=_0xc468dd>0x1?this['_getPageBreakLineOffset'](_0xc468dd-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x764faa-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x27c0a9['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x13d5dc=this['editor'],_0xc1b966=this['_getAttachedDomRoot']();_0xc1b966?(this['_scrollableEditingRootDomAncestor']&&_0x13d5dc['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0xf0c24c){let _0x4c3436=_0xf0c24c;do{_0x4c3436=_0x4c3436['parentElement'];const _0x41433c=_0x5185d8['window']['getComputedStyle'](_0x4c3436)['overflowY'];if('auto'==_0x41433c||'scroll'==_0x41433c)break;}while('BODY'!=_0x4c3436['tagName']);return _0x4c3436;}(_0xc1b966),_0x13d5dc['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x3518f6(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x13d5dc['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x3f071b=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x3f071b['ui']['view']['listenTo'](_0x5185d8['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x3f071b['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x3ae0c1 of this['editor']['editing']['view']['domRoots']['values']())if(_0x3ae0c1['ownerDocument']['body']['contains'](_0x3ae0c1))return _0x3ae0c1;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x5bdcaa=this['_getAttachedDomRoot'](),_0x39c843=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x5bdcaa||0x1==_0x39c843['length'])return void(this['pageNumber']=0x1);const _0x44280f=new _0x35bb7a(_0x5bdcaa)['excludeScrollbarsAndBorders'](),_0x5d8e7c=new _0x35bb7a(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x4b1d78=_0x5d8e7c['top']+_0x5d8e7c['height']/0x3;let _0x1f2adb=!0x1;const _0x40bc6b=[];for(let _0x231ba2=0x1;_0x231ba2<_0x39c843['length'];_0x231ba2++){const _0x4aac75=this['_getPageBreakLineOffset'](_0x231ba2,_0x5d8e7c);if(!_0x4aac75)continue;const _0x51372a=_0x5d8e7c['top']+_0x4aac75-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x40bc6b['push']({'pageOffsetTop':_0x51372a,'domRootRect':_0x44280f,'domScrollableRect':_0x5d8e7c,'pageNumber':_0x231ba2}),_0x51372a>_0x4b1d78&&!_0x1f2adb&&(this['pageNumber']=_0x231ba2,_0x1f2adb=!0x0);}this['_renderPageBreakLines'](_0x40bc6b),_0x1f2adb||(this['pageNumber']=_0x39c843['length']);}['_renderPageBreakLines'](_0x308b47){const {scrollX:_0x3ffb24,scrollY:_0x105a71}=_0x5185d8['window'];if(_0x308b47['length']){for(const {domScrollableRect:_0x2bf028,pageOffsetTop:_0x23f2b5,domRootRect:_0x1f14cd,pageNumber:_0x3da282}of _0x308b47)_0x2bf028['top']<_0x23f2b5&&_0x23f2b5<_0x2bf028['bottom']&&this['linesRepository']['showLine'](_0x1f14cd['left']+_0x3ffb24,_0x23f2b5+_0x105a71,_0x1f14cd['width'],_0x3da282+0x1);}}['_getPageBreakLineOffset'](_0x3c8725,_0x4225ae=null){const _0x315f39=this['_paginationLookupPlugin']['pageBreaks'][_0x3c8725]['offset'];return _0x315f39?(_0x4225ae||(_0x4225ae=new _0x35bb7a(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x315f39-_0x4225ae['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x5ef41d,_0x384645=!0x0){const _0x23df25=this['editor']['editing']['view'];_0x23df25['change'](_0x267442=>{for(const _0xe0cb12 of _0x23df25['document']['roots'])_0x384645?_0x267442['addClass'](_0x5ef41d,_0xe0cb12):_0x267442['removeClass'](_0x5ef41d,_0xe0cb12);});}}function G(_0x108c50,_0x4ef8fd,..._0x3ea4b7){const t=_0x108c50['t'];switch(_0x4ef8fd){case'Go\x20to\x20next\x20page':return t('Go\x20to\x20next\x20page');case'Go\x20to\x20previous\x20page':return t('Go\x20to\x20previous\x20page');case'Current\x20page\x20number\x20(from\x201\x20to\x20%0)':return t('Current\x20page\x20number\x20(from\x201\x20to\x20%0)',..._0x3ea4b7);case'Keystrokes\x20for\x20navigating\x20through\x20documents':return t('Keystrokes\x20for\x20navigating\x20through\x20documents');case'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)');case'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)':return t('Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)');default:return _0x4ef8fd;}}class C extends _0x3b87fe{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[w,$];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x51bd6a=this['editor']['plugins']['get']('Pagination'),_0x2d8d11=this['editor']['plugins']['get'](w),_0x542154=this['editor']['plugins']['get']($);this['bind']('isEnabled')['to'](_0x51bd6a),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x542154),this['listenTo'](_0x2d8d11,'change:pageBreaks',(_0x3c946b,_0x5dbfea,_0x203a4e,_0x2d91a6)=>{this['totalPages']=_0x203a4e['length'],this['_updatePageBreakMarkers'](_0x203a4e,_0x2d91a6);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1820b4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x417e1a;for(const _0x13aff9 in _0x1820b4){const _0x39f528=_0x13aff9,_0x3d83b5=_0x1820b4[_0x39f528];if('paginationLicenseKeyValid'==_0x3d83b5||'paginationLicenseKeyInvalid'==_0x3d83b5||'paginationLicenseKeyExpired'==_0x3d83b5||'paginationLicenseKeyDomainLimit'==_0x3d83b5||'paginationLicenseKeyNotAllowed'==_0x3d83b5||'paginationLicenseKeyEvaluationLimit'==_0x3d83b5||'paginationLicenseKeyUsageLimit'==_0x3d83b5){delete _0x1820b4[_0x39f528],_0x417e1a=_0x3d83b5,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x417e1a&&_0x1820b4['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x417e1a&&_0x1820b4['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x417e1a&&_0x1820b4['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x417e1a&&_0x1820b4['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x417e1a&&_0x1820b4['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x417e1a&&_0x1820b4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x3981e4){if(!this['isEnabled'])return;this['editor']['plugins']['get']($)['scrollToPage'](this['_validatePageNumber'](_0x3981e4));}['moveSelectionToPage'](_0x38f3e9){if(!this['isEnabled'])return;const _0x503570=this['editor'],_0xfd2719=this['editor']['plugins']['get'](w)['pageBreaks'][_0x38f3e9-0x1];_0xfd2719&&_0x503570['model']['change'](_0x5c86fc=>{switch(_0xfd2719['type']){case'manual':{const _0x6ceeb=_0x503570['model']['schema']['getNearestSelectionRange'](_0xfd2719['modelRange']['end'],'forward');_0x5c86fc['setSelection'](_0x6ceeb);break;}case'element':{const _0x562a5e=_0x503570['model']['schema']['getNearestSelectionRange'](_0xfd2719['modelRange']['start'],'forward');_0x5c86fc['setSelection'](_0x562a5e);break;}case'text':{const _0xea5167=_0xfd2719['modelRange']['start'];if(_0xea5167['textNode']&&'\x20'===_0xea5167['textNode']['data'][_0xea5167['offset']]){const _0x42629e=_0x5c86fc['createPositionAt'](_0xea5167['parent'],_0xea5167['offset']+0x1);_0x5c86fc['setSelection'](_0x42629e);}else _0x5c86fc['setSelection'](_0xfd2719['modelRange']);}}_0x503570['editing']['view']['focus']();});}['goToNextPage'](){const _0x5bade0=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x5bade0),this['scrollToPage'](_0x5bade0);}['goToPreviousPage'](){const _0x210b26=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x210b26),this['scrollToPage'](_0x210b26);}['_updatePageBreakMarkers'](_0x100279,_0x331192){const _0x4aada8=this['editor']['model'];this['isEnabled']&&_0x4aada8['change'](_0x599c64=>{for(let _0x47ca9b=0x1;_0x47ca9b<_0x100279['length'];_0x47ca9b++){const _0x3d725d=_0x100279[_0x47ca9b]['modelRange'],_0x3107d1='pagination:'+(_0x47ca9b+0x1);_0x4aada8['markers']['has'](_0x3107d1)?_0x599c64['updateMarker'](_0x3107d1,{'range':_0x3d725d}):_0x599c64['addMarker'](_0x3107d1,{'range':_0x3d725d,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x5d4c65=_0x100279['length'];_0x5d4c65<_0x331192['length'];_0x5d4c65++){const _0xc8baa7='pagination:'+(_0x5d4c65+0x1);_0x4aada8['markers']['has'](_0xc8baa7)&&_0x599c64['removeMarker'](_0xc8baa7);}});}['_setUpDataDowncastConversion'](){const _0x232625='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x532196=>{_0x532196['on']('addMarker:'+_0x232625,(_0x391c79,{markerRange:_0x3050ec,markerName:_0x595fb6},_0x4a19fd)=>{if(!_0x4a19fd['options']['pagination'])return;if(!_0x4a19fd['consumable']['consume'](_0x3050ec,_0x391c79['name']))return;const _0x1fe2a8=_0x3050ec['getContainedElement']();let _0x5d2811=_0x1fe2a8?_0x4a19fd['mapper']['toViewElement'](_0x1fe2a8):null;if(!_0x5d2811){const _0x1027ed=_0x3050ec['start'];if(_0x4a19fd['schema']['checkChild'](_0x1027ed,'$text')){const _0x196bc3=_0x4a19fd['mapper']['toViewPosition'](_0x1027ed);_0x5d2811=_0x4a19fd['writer']['createContainerElement']('span'),_0x5d2811['getFillerOffset']=()=>null,_0x4a19fd['writer']['insert'](_0x196bc3,_0x5d2811);}else{const _0x33db9d=_0x1027ed['nodeAfter'];_0x5d2811=_0x4a19fd['mapper']['toViewElement'](_0x33db9d);}}for(;_0x5d2811['parent']!==_0x5d2811['root']&&0x0===_0x5d2811['index'];)_0x5d2811=_0x5d2811['parent'];const _0x5f151d=_0x595fb6['substring'](0xb);_0x5d2811['hasClass']('page-break')||(_0x4a19fd['writer']['setStyle']('page-break-before','always',_0x5d2811),_0x4a19fd['writer']['setAttribute']('data-pagination-page',_0x5f151d,_0x5d2811),_0x4a19fd['mapper']['bindElementToMarker'](_0x5d2811,_0x595fb6)),_0x391c79['stop']();});});}['_setupKeystrokes'](){const _0x1779c5=this['editor'];_0x1779c5['keystrokes']['set']('Shift+Pageup',(_0x383de5,_0x189458)=>{this['goToPreviousPage'](),_0x189458();}),_0x1779c5['keystrokes']['set']('Shift+Pagedown',(_0x2ca689,_0x2f0bec)=>{this['goToNextPage'](),_0x2f0bec();}),_0x1779c5['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':G(_0x1779c5['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':G(_0x1779c5['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':G(_0x1779c5['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x2ab762){return _0x2ab762<0x1&&(_0x2ab762=0x1),_0x2ab762>this['totalPages']&&(_0x2ab762=this['totalPages']),_0x2ab762;}}class U extends _0x597666{['pageNumberView'];constructor(_0x332e1c){super(_0x332e1c);const _0x16c43d=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x48985e(_0x332e1c,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x137bb3=>G(_0x332e1c,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x137bb3)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x5b3656=>!_0x5b3656),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x16c43d['if']('isEnabled','ck-disabled',_0x389214=>!_0x389214)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x16c43d['to']('totalPages')}]}]});}['render'](){super['render']();const _0x51895d=this['pageNumberView']['element'],_0x11514f=_0x41acb8=>{this['pageNumberView']['element']['value']=String(_0x41acb8);};_0x11514f(this['pageNumber']),this['on']('change:pageNumber',(_0x4bea7d,_0x5058c6,_0x2ecc81)=>{_0x11514f(_0x2ecc81);}),this['listenTo'](_0x51895d,'keydown',(_0x9a99dd,_0x365356)=>{if('ArrowUp'===_0x365356['key']||'ArrowDown'===_0x365356['key'])return void _0x365356['stopPropagation']();if(_0x365356['keyCode']!==_0x5c3a85['enter'])return;_0x365356['preventDefault']();const _0x3bb360=_0x51895d['valueAsNumber'];Number['isNaN'](_0x3bb360)?_0x51895d['value']=String(this['pageNumber']):(_0x51895d['checkValidity']()?this['pageNumber']=_0x3bb360:_0x3bb360>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x51895d['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x51895d['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x51895d,'blur',()=>{_0x51895d['value']=String(this['pageNumber']);}),this['listenTo'](_0x51895d,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class M extends _0x3b87fe{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4efd01=this['editor'],_0x5d29c4=_0x4efd01['plugins']['get']('PaginationEditing');_0x4efd01['ui']['componentFactory']['add']('pageNavigation',_0x31d2d2=>{const _0x4f7835=new U(_0x31d2d2);return _0x4f7835['bind']('pageNumber')['to'](_0x5d29c4),_0x4f7835['bind']('totalPages')['to'](_0x5d29c4),_0x4f7835['bind']('isEnabled')['to'](_0x5d29c4),_0x4f7835['on']('navigation',(_0x17f928,_0x13e915)=>{_0x5d29c4['moveSelectionToPage'](_0x13e915),_0x5d29c4['scrollToPage'](_0x13e915);}),_0x4f7835;}),_0x4efd01['ui']['componentFactory']['add']('nextPage',_0x4d7a5b=>{const _0x13ca75=new _0xbfa378(_0x4d7a5b);return _0x13ca75['isEnabled']=!0x0,_0x13ca75['label']=G(_0x4efd01['locale'],'Go\x20to\x20next\x20page'),_0x13ca75['icon']=_0x3b0bfa,_0x13ca75['tooltip']=!0x0,_0x13ca75['keystroke']='Shift+PageDown',_0x13ca75['bind']('isEnabled')['to'](_0x5d29c4),this['listenTo'](_0x13ca75,'execute',()=>{_0x5d29c4['goToNextPage']();}),_0x13ca75;}),_0x4efd01['ui']['componentFactory']['add']('previousPage',_0xb816b5=>{const _0x2a7ecf=new _0xbfa378(_0xb816b5);return _0x2a7ecf['isEnabled']=!0x0,_0x2a7ecf['label']=G(_0x4efd01['locale'],'Go\x20to\x20previous\x20page'),_0x2a7ecf['icon']=_0x1b802b,_0x2a7ecf['tooltip']=!0x0,_0x2a7ecf['keystroke']='Shift+PageUp',_0x2a7ecf['bind']('isEnabled')['to'](_0x5d29c4),this['listenTo'](_0x2a7ecf,'execute',()=>{_0x5d29c4['goToPreviousPage']();}),_0x2a7ecf;});}}class j extends _0x3b87fe{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[C,M];}constructor(_0x118301){super(_0x118301),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x381413=this['editor']['plugins']['get'](C);this['bind']('pageNumber')['to'](_0x381413),this['bind']('totalPages')['to'](_0x381413),_0x27c0a9['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x4ea434){this['editor']['plugins']['get'](C)['scrollToPage'](_0x4ea434);}}export{j as Pagination,$ as PaginationRenderer};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-pagination",
3
- "version": "48.1.0-alpha.7",
3
+ "version": "48.1.0-alpha.8",
4
4
  "description": "Pagination feature for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -21,11 +21,11 @@
21
21
  "./package.json": "./package.json"
22
22
  },
23
23
  "dependencies": {
24
- "@ckeditor/ckeditor5-core": "48.1.0-alpha.7",
25
- "@ckeditor/ckeditor5-engine": "48.1.0-alpha.7",
26
- "@ckeditor/ckeditor5-icons": "48.1.0-alpha.7",
27
- "@ckeditor/ckeditor5-ui": "48.1.0-alpha.7",
28
- "@ckeditor/ckeditor5-utils": "48.1.0-alpha.7",
24
+ "@ckeditor/ckeditor5-core": "48.1.0-alpha.8",
25
+ "@ckeditor/ckeditor5-engine": "48.1.0-alpha.8",
26
+ "@ckeditor/ckeditor5-icons": "48.1.0-alpha.8",
27
+ "@ckeditor/ckeditor5-ui": "48.1.0-alpha.8",
28
+ "@ckeditor/ckeditor5-utils": "48.1.0-alpha.8",
29
29
  "es-toolkit": "1.45.1"
30
30
  },
31
31
  "files": [