@ckeditor/ckeditor5-pagination 48.0.0-alpha.10 → 48.0.0-alpha.11

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 _0x57b36b}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x4462ac,InputNumberView as _0x456dae,ButtonView as _0x203d2c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x301f93,global as _0x51e925,Rect as _0x5b17dd,uid as _0x27b956,toUnit as _0x5e418d,first as _0x579561,env as _0x526048,ResizeObserver as _0x3afabc,keyCodes as _0x418904}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0xdd5f90}from'es-toolkit/compat';import{IconArrowDown as _0x5bcc46,IconArrowUp as _0x5e7431}from'@ckeditor/ckeditor5-icons/dist/index.js';class w extends _0x57b36b{['_recalculatePageBreaksDebounced']=_0xdd5f90(()=>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 _0x301f93('pagination-config-not-found',this['editor']['config']);const _0x4b9f00=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x4b9f00),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x12a73c,_0x1847a0,_0x448388)=>{_0x448388&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x3184c3){const _0x2dfd47=_0x396fc8([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]),_0x27d5ac=0xc82cb1e,_0x5e88b8=0xc854ea6^_0x27d5ac,_0x1382fe=window[_0x396fc8([0x44,0x61,0x74,0x65])][_0x396fc8([0x6e,0x6f,0x77])](),_0x10a888=_0x3184c3[_0x396fc8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1885a4=new window[(_0x396fc8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4684f4=>{_0x10a888[_0x396fc8([0x6f,0x6e,0x63,0x65])](_0x396fc8([0x72,0x65,0x61,0x64,0x79]),_0x4684f4);}),_0x51022a={[_0x396fc8([0x6b,0x74,0x79])]:_0x396fc8([0x45,0x43]),[_0x396fc8([0x75,0x73,0x65])]:_0x396fc8([0x73,0x69,0x67]),[_0x396fc8([0x63,0x72,0x76])]:_0x396fc8([0x50,0x2d,0x32,0x35,0x36]),[_0x396fc8([0x78])]:_0x396fc8([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]),[_0x396fc8([0x79])]:_0x396fc8([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]),[_0x396fc8([0x61,0x6c,0x67])]:_0x396fc8([0x45,0x53,0x32,0x35,0x36])},_0x389bae=_0x10a888[_0x396fc8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x396fc8([0x67,0x65,0x74])](_0x396fc8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x305ee5(){let _0x16b6c7,_0x3cad77=null,_0xb652f3=null;try{if(_0x389bae==_0x396fc8([0x47,0x50,0x4c]))return _0x396fc8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x16b6c7=_0x481834(),!_0x16b6c7)return _0x396fc8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x16b6c7[_0x396fc8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xb652f3=_0x442a39(_0x16b6c7[_0x396fc8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x16b6c7[_0x396fc8([0x6a,0x74,0x69])])),await _0x21d9ae()?_0x3cce42()?_0x329cbf()?_0x396fc8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x240fd7()?(_0x16b6c7[_0x396fc8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x396fc8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3cad77=_0x411feb(_0x396fc8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2a8ccb()):_0x396fc8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x396fc8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x396fc8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x396fc8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x329cbf(){const _0x12ec2d=[_0x396fc8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x396fc8([0x74,0x72,0x69,0x61,0x6c])][_0x396fc8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16b6c7[_0x396fc8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1382fe/0x3e8:0xe10*_0x5e88b8;return _0x16b6c7[_0x396fc8([0x65,0x78,0x70])]<_0x12ec2d;}function _0x3cce42(){const _0x34b819=_0x16b6c7[_0x396fc8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x34b819&&(!!_0x34b819[_0x396fc8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x396fc8([0x2a]))||!!_0x34b819[_0x396fc8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x396fc8([0x50,0x41,0x47])));}function _0x240fd7(){const _0x344d47=_0x16b6c7[_0x396fc8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x344d47||0x0==_0x344d47[_0x396fc8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4a0f51}=new URL(window[_0x396fc8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x344d47[_0x396fc8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a0f51))return!0x0;const _0x207872=_0x4a0f51[_0x396fc8([0x73,0x70,0x6c,0x69,0x74])](_0x396fc8([0x2e]));return _0x344d47[_0x396fc8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1decf0=>_0x1decf0[_0x396fc8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x396fc8([0x2a])))[_0x396fc8([0x6d,0x61,0x70])](_0x6272a2=>_0x6272a2[_0x396fc8([0x73,0x70,0x6c,0x69,0x74])](_0x396fc8([0x2e])))[_0x396fc8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x391793=>_0x391793[_0x396fc8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x207872[_0x396fc8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x396fc8([0x6d,0x61,0x70])](_0x1acfad=>Array(_0x207872[_0x396fc8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1acfad[_0x396fc8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x396fc8([0x66,0x69,0x6c,0x6c])](_0x1acfad[0x0]===_0x396fc8([0x2a])?_0x396fc8([0x2a]):'')[_0x396fc8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1acfad))[_0x396fc8([0x73,0x6f,0x6d,0x65])](_0x219581=>_0x207872[_0x396fc8([0x65,0x76,0x65,0x72,0x79])]((_0x24abe8,_0x5b7819)=>_0x219581[_0x5b7819]===_0x24abe8||_0x219581[_0x5b7819]===_0x396fc8([0x2a])));}function _0x2a8ccb(){return _0x3cad77&&_0xb652f3?new window[(_0x396fc8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x333a65,_0x199e47)=>{_0x3cad77[_0x396fc8([0x74,0x68,0x65,0x6e])](_0x333a65,_0x199e47),_0xb652f3[_0x396fc8([0x74,0x68,0x65,0x6e])](_0x30ea6c=>{_0x30ea6c!=_0x396fc8([0x56,0x61,0x6c,0x69,0x64])&&_0x333a65(_0x30ea6c);},_0x199e47);}):_0x3cad77||_0xb652f3||_0x396fc8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x442a39(_0x5aeb98,_0xaa4a9d){return new window[(_0x396fc8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35d2e9=>{if(_0x21828a())return _0x35d2e9(_0x396fc8([0x56,0x61,0x6c,0x69,0x64]));_0x4b7106(),_0x10a888[_0x396fc8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x396fc8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x16ed20=!0x1;const _0x2bab80=_0x27b956();function _0x8819e0(_0x492ed1){return!!_0x492ed1&&(typeof _0x492ed1===_0x396fc8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x492ed1===_0x396fc8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x492ed1[_0x396fc8([0x74,0x68,0x65,0x6e])]===_0x396fc8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x492ed1[_0x396fc8([0x63,0x61,0x74,0x63,0x68])]===_0x396fc8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3348ff(_0x2b5377){_0x5a974a(_0x2b5377)[_0x396fc8([0x74,0x68,0x65,0x6e])](_0x126b78=>{if(!_0x126b78||_0x126b78[_0x396fc8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x396fc8([0x6f,0x6b]))return _0x396fc8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xd255ed(_0x5ecb4b(_0x2bab80+_0xaa4a9d))!=_0x126b78[_0x396fc8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x396fc8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x396fc8([0x56,0x61,0x6c,0x69,0x64]);})[_0x396fc8([0x74,0x68,0x65,0x6e])](_0x166c15=>(_0x43d4d1(),_0x166c15),()=>{const _0x36860a=_0x5b8b82();return null==_0x36860a?(_0x43d4d1(),_0x396fc8([0x56,0x61,0x6c,0x69,0x64])):_0x396fc8(_0x1382fe-_0x36860a>(0x288e4f1e^_0x27d5ac)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x396fc8([0x74,0x68,0x65,0x6e])](_0x35d2e9)[_0x396fc8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x35d2e9(_0x396fc8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x532301=0xcb4259e^_0x27d5ac;function _0x43d4d1(){const _0x3c9b26=_0x396fc8([0x6c,0x6c,0x63,0x74,0x2d])+_0xd255ed(_0x5ecb4b(_0x5aeb98)),_0x4a1835=_0xe082b(_0xd255ed(window[_0x396fc8([0x4d,0x61,0x74,0x68])][_0x396fc8([0x63,0x65,0x69,0x6c])](_0x1382fe/_0x532301)));window[_0x396fc8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x396fc8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c9b26,_0x4a1835);}function _0x5b8b82(){const _0xbbb6b9=_0x396fc8([0x6c,0x6c,0x63,0x74,0x2d])+_0xd255ed(_0x5ecb4b(_0x5aeb98)),_0x384577=window[_0x396fc8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x396fc8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xbbb6b9);return _0x384577?window[_0x396fc8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe082b(_0x384577),0x10)*_0x532301:null;}function _0x5a974a(_0xaff34f){return new window[(_0x396fc8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1917ee,_0xdb0498)=>{_0xaff34f[_0x396fc8([0x74,0x68,0x65,0x6e])](_0x1917ee,_0xdb0498),window[_0x396fc8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xdb0498,0xc831fde^_0x27d5ac);});}}_0x10a888[_0x396fc8([0x6f,0x6e])](_0x396fc8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1a12a2,_0x1a9234)=>{if(_0x1a9234[0x0]!=_0x5aeb98)return _0x35d2e9(_0x396fc8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1a9234[0x1]={..._0x1a9234[0x1],[_0x396fc8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2bab80};},{[_0x396fc8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x396fc8([0x68,0x69,0x67,0x68])}),_0x10a888[_0x396fc8([0x6f,0x6e])](_0x396fc8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4b81b1=>{_0x8819e0(_0x4b81b1[_0x396fc8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x16ed20=!0x0,_0x3348ff(_0x4b81b1[_0x396fc8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x396fc8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x396fc8([0x6c,0x6f,0x77])}),_0x1885a4[_0x396fc8([0x74,0x68,0x65,0x6e])](()=>{_0x16ed20||_0x35d2e9(_0x396fc8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x21828a(){return _0x10a888[_0x396fc8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x396fc8([0x76,0x69,0x65,0x77])][_0x396fc8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x396fc8([0x61,0x75,0x74,0x6f]);}function _0x4b7106(){_0x10a888[_0x396fc8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x396fc8([0x76,0x69,0x65,0x77])][_0x396fc8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x396fc8([0x61,0x75,0x74,0x6f]);}}function _0x411feb(_0x157667){const _0x267762=[new window[(_0x396fc8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a9f6d=>setTimeout(_0x4a9f6d,0xc8bf5d2^_0x27d5ac)),_0x1885a4[_0x396fc8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x396fc8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17ea44=>{let _0x5cb58c=0x0;_0x10a888[_0x396fc8([0x6d,0x6f,0x64,0x65,0x6c])][_0x396fc8([0x6f,0x6e])](_0x396fc8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1fb74c,_0x3104f6)=>{_0x3104f6[0x0][_0x396fc8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5cb58c++,_0x5cb58c==(0xc82cef6^_0x27d5ac)&&(_0x17ea44(),_0x1fb74c[_0x396fc8([0x6f,0x66,0x66])]());});}))];return window[_0x396fc8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x396fc8([0x72,0x61,0x63,0x65])](_0x267762)[_0x396fc8([0x74,0x68,0x65,0x6e])](()=>_0x157667);}async function _0x63ccf4(){await _0x1885a4,_0x10a888[_0x396fc8([0x6d,0x6f,0x64,0x65,0x6c])][_0x396fc8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x371284,_0x10a888[_0x396fc8([0x6d,0x6f,0x64,0x65,0x6c])][_0x396fc8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x371284,_0x10a888[_0x396fc8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x396fc8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x439dbf(_0x4384bc){const _0x363d2b=_0x380d75();_0x10a888[_0x363d2b]=_0x396fc8([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4384bc,_0x4384bc!=_0x396fc8([0x56,0x61,0x6c,0x69,0x64])&&_0x63ccf4();}function _0x380d75(){const _0x241b78=window[_0x396fc8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x396fc8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x396fc8([0x6e,0x6f,0x77])]())[_0x396fc8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x396fc8([0x2e]),'');let _0x3fa711=_0x396fc8([0x49]);for(let _0x2bdeb6=0x0;_0x2bdeb6<_0x241b78[_0x396fc8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2bdeb6+=0x2){let _0xd2d2e1=window[_0x396fc8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x241b78[_0x396fc8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2bdeb6,_0x2bdeb6+0x2));_0xd2d2e1>=_0x2dfd47[_0x396fc8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xd2d2e1-=_0x2dfd47[_0x396fc8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3fa711+=_0x2dfd47[_0xd2d2e1];}return _0x3fa711;}function _0x481834(){const _0x4e1115=_0x389bae[_0x396fc8([0x73,0x70,0x6c,0x69,0x74])](_0x396fc8([0x2e]));if(0x3!=_0x4e1115[_0x396fc8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x53ee86(_0x4e1115[0x1]);function _0x53ee86(_0x2935d1){const _0x310655=_0x13a53c(_0x2935d1);return _0x310655&&_0x1c8514()?_0x310655:null;function _0x1c8514(){const _0x2738e5=_0x310655[_0x396fc8([0x6a,0x74,0x69])],_0x2c1bec=window[_0x396fc8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2738e5[_0x396fc8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2738e5[_0x396fc8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x38ab0a={..._0x310655,[_0x396fc8([0x6a,0x74,0x69])]:_0x2738e5[_0x396fc8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2738e5[_0x396fc8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x38ab0a[_0x396fc8([0x76,0x63])],_0x5ecb4b(_0x38ab0a)==_0x2c1bec;}}}async function _0x21d9ae(){let _0x3b3253=!0x0;try{const _0x10daac=_0x389bae[_0x396fc8([0x73,0x70,0x6c,0x69,0x74])](_0x396fc8([0x2e])),[_0x393e12,_0x37cf85,_0x3d4125]=_0x10daac;return _0x5599e9(_0x393e12),await _0x299e33(_0x393e12,_0x37cf85,_0x3d4125),_0x3b3253;}catch{return!0x1;}function _0x5599e9(_0x53129c){const _0x313795=_0x13a53c(_0x53129c);_0x313795&&_0x313795[_0x396fc8([0x61,0x6c,0x67])]==_0x396fc8([0x45,0x53,0x32,0x35,0x36])||(_0x3b3253=!0x1);}async function _0x299e33(_0x46b4de,_0x4c9bb1,_0x1e91c8){const _0x41382f=window[_0x396fc8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x396fc8([0x66,0x72,0x6f,0x6d])](_0x24135f(_0x1e91c8),_0x17807f=>_0x17807f[_0x396fc8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x288241=new window[(_0x396fc8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x396fc8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x46b4de+_0x396fc8([0x2e])+_0x4c9bb1),_0x7cf4ac=window[_0x396fc8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x396fc8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x7cf4ac)return;const _0x382c84=await _0x7cf4ac[_0x396fc8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x396fc8([0x6a,0x77,0x6b]),_0x51022a,{[_0x396fc8([0x6e,0x61,0x6d,0x65])]:_0x396fc8([0x45,0x43,0x44,0x53,0x41]),[_0x396fc8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x396fc8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x396fc8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x7cf4ac[_0x396fc8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x396fc8([0x6e,0x61,0x6d,0x65])]:_0x396fc8([0x45,0x43,0x44,0x53,0x41]),[_0x396fc8([0x68,0x61,0x73,0x68])]:{[_0x396fc8([0x6e,0x61,0x6d,0x65])]:_0x396fc8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x382c84,_0x41382f,_0x288241)||(_0x3b3253=!0x1);}}function _0x13a53c(_0x47980b){return _0x47980b[_0x396fc8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x396fc8([0x65,0x79]))?JSON[_0x396fc8([0x70,0x61,0x72,0x73,0x65])](_0x24135f(_0x47980b)):null;}function _0x24135f(_0x51390e){return window[_0x396fc8([0x61,0x74,0x6f,0x62])](_0x51390e[_0x396fc8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x396fc8([0x2b]))[_0x396fc8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x396fc8([0x2f])));}function _0x5ecb4b(_0x1316fd){let _0x66a4ea=0x1505;function _0x11b180(_0x1fbc0c){for(let _0x27f9ab=0x0;_0x27f9ab<_0x1fbc0c[_0x396fc8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27f9ab++){const _0x484d36=_0x1fbc0c[_0x396fc8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x27f9ab);_0x66a4ea=(_0x66a4ea<<0x5)+_0x66a4ea+_0x484d36,_0x66a4ea&=_0x66a4ea;}}function _0x1df78a(_0x352178){Array[_0x396fc8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x352178)?_0x352178[_0x396fc8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1df78a):_0x352178&&typeof _0x352178==_0x396fc8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x396fc8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x352178)[_0x396fc8([0x73,0x6f,0x72,0x74])]()[_0x396fc8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x123225,_0x42473e])=>{_0x11b180(_0x123225),_0x1df78a(_0x42473e);}):_0x11b180(window[_0x396fc8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x352178));}return _0x1df78a(_0x1316fd),_0x66a4ea>>>0x0;}function _0xd255ed(_0x56ff7c){return _0x56ff7c[_0x396fc8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x396fc8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x396fc8([0x30]));}function _0xe082b(_0x3a34f8){return _0x3a34f8[_0x396fc8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x396fc8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x396fc8([0x6a,0x6f,0x69,0x6e])]('');}function _0x371284(){}function _0x396fc8(_0x531694){return _0x531694['map'](_0x1e371a=>String['fromCharCode'](_0x1e371a))['join']('');}_0x439dbf(await _0x305ee5());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x58ff52=this['editor'],_0x16c756=_0x58ff52['editing']['view'],_0x1e8add=this['_getAttachedDomRoot']();if(!_0x1e8add||0x0===_0x1e8add['childElementCount'])return void _0x58ff52['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x5b919a,pageHeight:_0x4bb1fc}=_0x58ff52['config']['get']('pagination'),{top:_0x334b0e,left:_0x5110ba,bottom:_0x2abe37,right:_0x4746ef}=this['_configuredPaddings'];this['_pagesContainer']=new _0x4462ac(_0x58ff52['locale']);const _0x53b3e3=this['_pagesContainer'];_0x53b3e3['set']('class',''),_0x53b3e3['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x5b919a,'width':_0x5b919a,'height':'calc(\x20'+_0x4bb1fc+'\x20-\x20'+_0x334b0e+'\x20-\x20'+_0x2abe37+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x4746ef+'\x200\x20'+_0x5110ba,'columnGap':'calc('+_0x5110ba+'\x20+\x20'+_0x4746ef+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x53b3e3['bindTemplate']['to']('class')}}),_0x53b3e3['render'](),_0x1e8add['parentNode']['insertBefore'](_0x53b3e3['element'],_0x1e8add['nextSibling']),this['listenTo'](_0x16c756,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x198c95 of this['editor']['editing']['view']['domRoots']['values']())if(_0x198c95['ownerDocument']['body']['contains'](_0x198c95))return _0x198c95;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x17d36e=this['editor']['editing']['view'],_0x1dc7aa=this['_pagesContainer'],_0x5be95d=this['_getAttachedDomRoot']();if(!_0x5be95d)return Promise['resolve']();for(_0x1dc7aa['class']=['ck-reset','ck-pagination-view',..._0x5be95d['classList']]['join']('\x20');_0x1dc7aa['element']['firstChild'];)_0x1dc7aa['element']['firstChild']['remove']();const _0x30b1b7=Array['from'](_0x17d36e['domRoots']);_0x30b1b7['sort'](([,_0x3b1142],[,_0x5d627e])=>_0x3b1142['compareDocumentPosition'](_0x5d627e)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x34a0bd,_0x218c0e]of _0x30b1b7){const _0x4c5ec0=_0x218c0e['cloneNode'](!0x0);'attributeStyleMap'in _0x4c5ec0&&_0x4c5ec0['attributeStyleMap']['clear'](),_0x4c5ec0['dataset']['rootName']=_0x34a0bd,_0x4c5ec0['className']='ck-content\x20ck-pagination_enabled',_0x4c5ec0['removeAttribute']('id'),_0x4c5ec0['tabIndex']=-0x1,_0x1dc7aa['element']['append'](_0x4c5ec0);}const _0x56a52f=Array['from'](_0x1dc7aa['element']['querySelectorAll']('img'));return function(_0x4b6ff9){return Promise['all'](_0x4b6ff9['map'](_0x20f196=>Promise['race']([k(_0x20f196),v(0x3e8)])));}(_0x56a52f)['then'](()=>{for(const _0x5be031 of _0x56a52f['filter'](_0x18dd23=>!_0x18dd23['closest']('table')))if(_0x5be031['offsetParent']){const _0x54eaf8=_0x51e925['window']['getComputedStyle'](_0x5be031),_0x4f723d=_0x51e925['document']['createElement']('span');for(const _0x1223ba of _0x54eaf8)_0x4f723d['style']['setProperty'](_0x1223ba,_0x54eaf8[_0x1223ba]);_0x4f723d['style']['backgroundImage']='url(\x20'+_0x5be031['src']+'\x20)',_0x4f723d['style']['breakInside']='avoid','PICTURE'==_0x5be031['parentElement']?.['tagName']?_0x5be031['parentElement']['replaceWith'](_0x4f723d):_0x5be031['replaceWith'](_0x4f723d);}return new Promise(_0x50bd50=>_0x51e925['window']['requestAnimationFrame'](()=>_0x50bd50()));})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x5f0269=this['_pagesContainer']['element'];if(!_0x5f0269['ownerDocument']['body']['contains'](_0x5f0269))return;const _0x27661a=new _0x5b17dd(_0x5f0269)['excludeScrollbarsAndBorders'](),_0x21529e=Math['floor'](_0x27661a['width']+0x64),_0x4ae126=_(_0x5f0269,Math['floor'](_0x27661a['left']-_0x5f0269['scrollLeft']),_0x21529e,_0x27661a['height'])['map'](_0x5d3d91=>this['_mapPageStarterInfoToPageBreakInfo'](_0x5d3d91))['filter'](_0x9a759=>!0x1!==_0x9a759);_0x4ae126['every'](_0x402615=>!!_0x402615)&&(this['pageBreaks']=_0x4ae126);}['_mapPageStarterInfoToPageBreakInfo'](_0x1b186c){const _0x3efd71=this['editor']['editing']['view'],_0xc47d9a=this['editor']['editing']['mapper'],_0x12965b=_0x3efd71['domConverter'],_0x379891=_0x1b186c['path']['shift'](),_0x3a2f2a=this['_pagesContainer']['element']['childNodes'][_0x379891]['dataset']['rootName'],_0x1baa04=_0x3efd71['getDomRoot'](_0x3a2f2a);if(!_0x1baa04)return null;const _0x15cdc8=function(_0x4fc5c1,_0xa8a54a){let _0xd52388=_0x4fc5c1;for(const _0x22e828 of _0xa8a54a['path']){if(!_0xd52388)return null;_0xd52388=_0xd52388['childNodes'][_0x22e828];}return _0xd52388;}(_0x1baa04,_0x1b186c);if(!_0x15cdc8)return null;const _0x1881ab=_0x12965b['domPositionToView'](_0x15cdc8,_0x1b186c['textOffset']||0x0);return _0x1881ab?'manual'==_0x1b186c['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x1881ab,_0x15cdc8):'text'==_0x1b186c['type']&&_0xc47d9a['toModelPosition'](_0x1881ab)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x1881ab,_0x15cdc8,_0x1b186c['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x1881ab,_0x15cdc8,_0x1b186c['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x1a8d8e,_0x11f95f){const _0x2eb9e8=this['editor']['model'],_0x3cb970=this['editor']['editing']['mapper']['toModelElement'](_0x1a8d8e['parent']),_0x36af09=_0x2eb9e8['createRangeOn'](_0x3cb970);return new b({'type':'manual','modelRange':_0x36af09,'domNode':_0x11f95f,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x40b5d2,_0xe8e974,_0xe8c588){const _0x4e4e5a=this['editor']['model'],_0x584eba=this['editor']['editing']['mapper'],_0x471f1e=this['editor']['editing']['view']['domConverter'];if(_0xe8c588>=_0xe8e974['length'])return null;const _0x36efd6=_0x584eba['toModelPosition'](_0x40b5d2),_0x1066ed=_0x4e4e5a['createRange'](_0x36efd6),_0x2e48ed=_0x584eba['findMappedViewAncestor'](_0x40b5d2),_0x5eca6e=_0x471f1e['mapViewToDom'](_0x2e48ed);return new b({'type':'text','modelRange':_0x1066ed,'domNode':_0xe8e974,'offset':P(_0xe8e974,_0xe8c588,_0x5eca6e)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x2a470c,_0x540910,_0x565546){const _0x4e2f49=this['editor']['model'],_0x3d4ffc=this['editor']['editing'],_0x275b5c=_0x3d4ffc['mapper'],_0x282e64=_0x3d4ffc['view']['domConverter'],_0x33c0ed=_0x275b5c['findMappedViewAncestor'](_0x2a470c),_0x540721=_0x275b5c['toModelElement'](_0x33c0ed);if(!_0x540721||_0x540721['is']('element','$root'))return!0x1;const _0x5e3b04=function(_0x3806a3){const _0x4227db=_0x3806a3['parent'],_0x1afe12=_0x4227db['root']['document']['model'],_0x400b48=_0x4227db['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x84eee=null;for(const _0x373aca of _0x400b48){if(_0x373aca['is']('rootElement'))return _0x84eee;if(!_0x1afe12['createPositionBefore'](_0x373aca)['isTouching'](_0x3806a3))return _0x84eee;_0x84eee=_0x373aca;}}(_0x4e2f49['createPositionBefore'](_0x540721)),_0x3d745f=_0x5e3b04||_0x540721;let _0x1278b4=_0x275b5c['toViewElement'](_0x3d745f),_0x150f55=_0x4e2f49['createRangeOn'](_0x3d745f);const _0x59563d=_0x4e2f49['createPositionBefore'](_0x3d745f)['nodeBefore'];if(_0x59563d&&_0x59563d['is']('element','imageBlock')){const _0x2cc7a1=_0x275b5c['toViewElement'](_0x59563d),_0x5da42b=_0x282e64['mapViewToDom'](_0x2cc7a1),_0x32b9b4=_0x51e925['window']['getComputedStyle'](_0x5da42b)['float'];'left'!=_0x32b9b4&&'right'!=_0x32b9b4||(_0x150f55=_0x4e2f49['createRangeOn'](_0x59563d));}for(;_0x1278b4['parent']!==_0x1278b4['root']&&0x0===_0x1278b4['index'];)_0x1278b4=_0x1278b4['parent'];const _0x59fcd7=new _0x5b17dd(I(_0x540910)?_0x540910:x(_0x540910)),_0x1fd58d=_0x565546?_0x59fcd7['height']-_0x565546:0x0,_0x5c88a=_0x282e64['mapViewToDom'](_0x1278b4),_0x320a81=new _0x5b17dd(_0x5c88a);return new b({'type':'element','modelRange':_0x150f55,'domNode':_0x5c88a,'offset':Math['round'](_0x1fd58d)||_0x33c0ed!=y(_0x2a470c)?_0x1fd58d+_0x59fcd7['top']-_0x320a81['top']:0x0});}get['_configuredPaddings'](){const _0x594ad2=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x594ad2);}static['_findPageStarterInfos'](_0xf2a11e,_0x3ef98e,_0x49bc22,_0xc6ad72,_0x3c1cd3){return _(_0xf2a11e,_0x3ef98e,_0x49bc22,_0xc6ad72,_0x3c1cd3);}}class b{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x1694db,modelRange:_0x54fc32,domNode:_0x127a09,offset:_0x1050ec}){this['type']=_0x1694db,this['modelRange']=_0x54fc32,this['_domNode']=_0x127a09,this['_offset']=_0x1050ec;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x228797=new _0x5b17dd(I(this['_domNode'])?this['_domNode']:x(this['_domNode']));return'manual'==this['type']?_0x228797['top']+_0x228797['height']/0x2:_0x228797['top']+this['_offset'];}}function P(_0x8adcea,_0x4fbc95,_0x300b97){const _0x36a83d=x(_0x8adcea),_0x54c16d=function(_0x4ed0f5){const _0x4ae802=_0x51e925['document']['createRange']();return _0x4ae802['selectNodeContents'](_0x4ed0f5),_0x4ae802;}(_0x300b97);let _0x36a780;_0x36a780=0x0==_0x4fbc95?L(_0x54c16d['startContainer'],_0x54c16d['startOffset'],_0x8adcea['parentNode'],Array['from'](_0x8adcea['parentNode']['childNodes'])['indexOf'](_0x8adcea)):L(_0x54c16d['startContainer'],_0x54c16d['startOffset'],_0x8adcea,_0x4fbc95);const _0x1ee6e2=L(_0x8adcea,_0x4fbc95,_0x54c16d['endContainer'],_0x54c16d['endOffset']),_0x59764b=new _0x5b17dd(_0x36a780)['bottom'];return(new _0x5b17dd(_0x1ee6e2)['top']+_0x59764b)/0x2-new _0x5b17dd(_0x36a83d)['top'];}function y(_0x12b83a){let _0x5d491a=_0x12b83a['parent'];for(;_0x5d491a['is']('$text')||_0x5d491a['is']('attributeElement');)_0x5d491a=_0x5d491a['parent'];return _0x5d491a;}function k(_0x3295ad){return _0x3295ad['hasAttribute']('width')&&_0x3295ad['hasAttribute']('height')?Promise['resolve']():new Promise(_0x3cdf26=>{function _0x16cb49(){_0x3295ad['removeEventListener']('load',_0x16cb49),_0x3295ad['removeEventListener']('error',_0x16cb49),_0x3cdf26();}_0x3295ad['complete']?_0x3cdf26():(_0x3295ad['addEventListener']('load',_0x16cb49),_0x3295ad['addEventListener']('error',_0x16cb49));});}function v(_0x4c38ca){return new Promise(_0x3f3bc9=>setTimeout(_0x3f3bc9,_0x4c38ca));}function x(_0x3220f7){const _0x3b7ef9=_0x51e925['document']['createRange']();return _0x3b7ef9['selectNode'](_0x3220f7),_0x3b7ef9;}function N(_0x2996d9,_0x52663a,_0x2a68f0){const _0x480d55=_0x51e925['document']['createRange']();return _0x480d55['setStart'](_0x2996d9,_0x52663a),_0x480d55['setEnd'](_0x2996d9,_0x2a68f0),_0x480d55;}function L(_0x6cc4f9,_0x42adaf,_0x4d395f,_0x441e54){const _0x4f59db=_0x51e925['document']['createRange']();return _0x4f59db['setStart'](_0x6cc4f9,_0x42adaf),_0x4f59db['setEnd'](_0x4d395f,_0x441e54),_0x4f59db;}function _(_0x4ad1e1,_0x284184,_0x53aa8b,_0x47cadd,_0x28c706){const _0x1017fe=[];for(const [_0x31daf0,_0x399c80]of _0x4ad1e1['childNodes']['entries']()){let _0x5e2c86=[];I(_0x399c80)&&_0x399c80['offsetParent']&&['static','relative']['includes'](_0x51e925['window']['getComputedStyle'](_0x399c80)['position'])?_0x5e2c86=S(_0x399c80,_0x31daf0,_0x284184,_0x53aa8b,_0x47cadd,_0x28c706):O(_0x399c80)&&(_0x5e2c86=E(_0x399c80,_0x31daf0,_0x284184,_0x53aa8b,_0x28c706)),_0x5e2c86['length']&&(_0x1017fe['push'](..._0x5e2c86),_0x284184+=_0x5e2c86['length']*_0x53aa8b,_0x28c706=!0x1);}return _0x1017fe;}function S(_0x5db7dd,_0x6a7fd2,_0x270fda,_0x3d96cc,_0x1016b4,_0x4f8dc1){const _0xe280a=[];var _0x5c6fd7;if((_0x5c6fd7=_0x5db7dd['previousSibling'])&&I(_0x5c6fd7)&&Boolean(_0x5c6fd7['classList']['contains']('page-break')||_0x5c6fd7['closest']('.page-break'))&&(_0xe280a['push']({'type':'manual','offset':0x0,'path':[_0x6a7fd2-0x1]}),_0x4f8dc1=!0x0),'table-row'==_0x51e925['window']['getComputedStyle'](_0x5db7dd)['display']){let _0x5779c6=0x0,_0xf14931=!0x1;for(const _0x371b7f of _0x5db7dd['getClientRects']())_0x5779c6+=_0x371b7f['height'],_0x371b7f['left']>=_0x270fda&&(_0xf14931=!0x0);if(_0x5779c6<_0x1016b4&&_0xf14931)return _0x4f8dc1||_0xe280a['push']({'type':'element','offset':0x0,'path':[_0x6a7fd2]}),_0xe280a;}const _0x19cbea=_0x5db7dd['closest']('figure.image');if(_0x19cbea&&function(_0xdbc1fc){let _0x44f81e=!0x1;const _0x161935=_0xdbc1fc['parentElement'],_0x7de13e=_0x161935['dataset']['rootName'],_0x1e6c02=_0xdbc1fc['nextElementSibling'],_0xb6795e=_0xdbc1fc['previousElementSibling'],_0xe05757=_0x1e6c02&&_0x51e925['window']['getComputedStyle'](_0x1e6c02)['float'],_0x3196ff=_0x1e6c02&&'ck-fake-selection-container'===_0x1e6c02['className'];!_0x7de13e||_0x1e6c02||_0xb6795e||(_0x44f81e=!0x0),_0x7de13e&&!_0xb6795e&&_0x3196ff&&(_0x44f81e=!0x0),_0x7de13e&&!_0xb6795e&&'none'!==_0xe05757&&(_0x44f81e=!0x0);if(_0x44f81e)return!0x1;return!0x0;}(_0x19cbea)){const _0x56689d=_0x51e925['window']['getComputedStyle'](_0x19cbea)['float'];if('left'==_0x56689d||'right'==_0x56689d)return _0xe280a;}const _0x5015a7=_(_0x5db7dd,_0x270fda,_0x3d96cc,_0x1016b4,_0x4f8dc1);if(_0x5015a7['length']){for(const _0x33ac95 of _0x5015a7)_0xe280a['push']({'type':_0x33ac95['type'],'offset':_0x33ac95['offset'],'textOffset':_0x33ac95['textOffset'],'path':[_0x6a7fd2,..._0x33ac95['path']]}),_0x270fda+=_0x3d96cc,_0x4f8dc1=!0x1;return _0xe280a;}return _0xe280a['push'](...function(_0x37ae3d,_0x41e5d1,_0x1fa643,_0x163314,_0x2245ef){const _0x5535ab=[];if('table-cell'==_0x51e925['window']['getComputedStyle'](_0x37ae3d)['display'])return[];const _0x4fce28=[];for(const _0x52cd51 of _0x37ae3d['getClientRects']())if(_0x52cd51['left']>=_0x1fa643){for(const _0x39081f of _0x4fce28)_0x39081f['height']+=_0x52cd51['height'];_0x4fce28['push']({'height':_0x52cd51['height']}),_0x1fa643+=_0x163314;}for(const _0x3bc591 of _0x4fce28)_0x2245ef||_0x5535ab['push']({'type':'element','offset':_0x3bc591['height'],'textOffset':0x0,'path':[_0x41e5d1]}),_0x2245ef=!0x1;return _0x5535ab;}(_0x5db7dd,_0x6a7fd2,_0x270fda,_0x3d96cc,_0x4f8dc1)),_0xe280a;}function E(_0xd1e115,_0x692859,_0x490eb4,_0x1ec0e4,_0x193828){const _0x2bda8f=x(_0xd1e115),_0x53910e=[];let _0x43f765=0x0;for(const _0x742867 of _0x2bda8f['getClientRects']())if(_0x742867['left']>=_0x490eb4){const _0x2e9b9b=R(_0xd1e115,_0x43f765,_0x490eb4,_0x1ec0e4);_0x193828||_0x53910e['push']({'type':'text','path':[_0x692859],'textOffset':_0x2e9b9b}),_0x43f765=_0x2e9b9b,_0x490eb4+=_0x1ec0e4,_0x193828=!0x1;}return _0x53910e;}function R(_0x33d9ec,_0x3050e1,_0x453572,_0x1a19ba){let _0x127116=_0x3050e1,_0x51861f=_0x33d9ec['length'];for(;_0x51861f-_0x127116>0x1;){const _0x142c9c=Math['ceil']((_0x127116+_0x51861f)/0x2);K(N(_0x33d9ec,_0x127116,_0x142c9c),_0x453572,_0x1a19ba)?_0x51861f=_0x142c9c:_0x127116=_0x142c9c;}return _0x127116;}function K(_0x2ab27f,_0x134c85,_0x252a15){for(const _0x38630b of _0x2ab27f['getClientRects']())if(_0x38630b['left']>=_0x134c85&&_0x38630b['left']<_0x134c85+_0x252a15)return!0x0;return!0x1;}function I(_0x4ddf6e){return _0x4ddf6e['nodeType']==Node['ELEMENT_NODE'];}function O(_0x215109){return _0x215109['nodeType']==Node['TEXT_NODE'];}const B=/* #__PURE__ -- @preserve */
24
- _0x5e418d('px');class T extends _0x4462ac{constructor(){super();const _0x45bb59=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x45bb59['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x45bb59['if']('isVisible','ck-hidden',_0x2ff1ae=>!_0x2ff1ae)],'style':{'left':_0x45bb59['to']('left',_0x3ab668=>B(_0x3ab668)),'top':_0x45bb59['to']('top',_0x4faba9=>B(_0x4faba9)),'width':_0x45bb59['to']('width',_0x208139=>B(_0x208139))}}});}}class A{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x7b8545){this['_viewCollection']=_0x7b8545['ui']['view']['body'];}['destroy'](){for(const _0x35eedf of this['_hiddenLines'])_0x35eedf['destroy']();}['cleanLines'](){for(const _0x3ca4e0 of this['_visibleLines'])_0x3ca4e0['isVisible']=!0x1,this['_hiddenLines']['add'](_0x3ca4e0);this['_visibleLines']['clear']();}['showLine'](_0xb3c921,_0x396f4f,_0x99a4e9,_0x250487){let _0x2def91;this['_hiddenLines']['size']?(_0x2def91=_0x579561(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x2def91)):_0x2def91=new T(),_0x2def91['set']({'pageNumber':_0x250487,'left':_0xb3c921,'top':_0x396f4f,'width':_0x99a4e9}),_0x2def91['isVisible']=!0x0,this['_viewCollection']['has'](_0x2def91)||this['_viewCollection']['add'](_0x2def91),this['_visibleLines']['add'](_0x2def91);}['setViewCollection'](_0x162063){for(const _0x22d522 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x22d522)&&this['_viewCollection']['remove'](_0x22d522);this['_viewCollection']=_0x162063;}}const D='ck-pagination_enabled';class $ extends _0x57b36b{['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',(_0x3b892a,_0x1ea56a,_0x30d645)=>{_0x30d645||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0x30d645);});}['destroy'](){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x293d3d){if(!this['isEnabled'])return;const _0x37ee8f=_0x293d3d>0x1?this['_getPageBreakLineOffset'](_0x293d3d-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x37ee8f-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x526048['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x4a6348=this['editor'],_0x2c22b0=this['_getAttachedDomRoot']();_0x2c22b0?(this['_scrollableEditingRootDomAncestor']&&_0x4a6348['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x1c61c0){let _0x30849b=_0x1c61c0;do{_0x30849b=_0x30849b['parentElement'];const _0x3ed299=_0x51e925['window']['getComputedStyle'](_0x30849b)['overflowY'];if('auto'==_0x3ed299||'scroll'==_0x3ed299)break;}while('BODY'!=_0x30849b['tagName']);return _0x30849b;}(_0x2c22b0),_0x4a6348['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x3afabc(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x4a6348['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x55b940=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x55b940['ui']['view']['listenTo'](_0x51e925['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x55b940['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x3d3bca of this['editor']['editing']['view']['domRoots']['values']())if(_0x3d3bca['ownerDocument']['body']['contains'](_0x3d3bca))return _0x3d3bca;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x242344=this['_getAttachedDomRoot'](),_0xe3a4aa=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x242344||0x1==_0xe3a4aa['length'])return void(this['pageNumber']=0x1);const _0x105f0d=new _0x5b17dd(_0x242344)['excludeScrollbarsAndBorders'](),_0x404c67=new _0x5b17dd(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x1b600d=_0x404c67['top']+_0x404c67['height']/0x3;let _0x319742=!0x1;const _0x509b69=[];for(let _0x2ab5db=0x1;_0x2ab5db<_0xe3a4aa['length'];_0x2ab5db++){const _0x102c13=this['_getPageBreakLineOffset'](_0x2ab5db,_0x404c67);if(!_0x102c13)continue;const _0x3af741=_0x404c67['top']+_0x102c13-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x509b69['push']({'pageOffsetTop':_0x3af741,'domRootRect':_0x105f0d,'domScrollableRect':_0x404c67,'pageNumber':_0x2ab5db}),_0x3af741>_0x1b600d&&!_0x319742&&(this['pageNumber']=_0x2ab5db,_0x319742=!0x0);}this['_renderPageBreakLines'](_0x509b69),_0x319742||(this['pageNumber']=_0xe3a4aa['length']);}['_renderPageBreakLines'](_0xacba85){const {scrollX:_0x2eb13e,scrollY:_0xdcaf7d}=_0x51e925['window'];if(_0xacba85['length']){for(const {domScrollableRect:_0x561b5c,pageOffsetTop:_0x3b6755,domRootRect:_0x3ca2f6,pageNumber:_0x461e53}of _0xacba85)_0x561b5c['top']<_0x3b6755&&_0x3b6755<_0x561b5c['bottom']&&this['linesRepository']['showLine'](_0x3ca2f6['left']+_0x2eb13e,_0x3b6755+_0xdcaf7d,_0x3ca2f6['width'],_0x461e53+0x1);}}['_getPageBreakLineOffset'](_0x10fb82,_0x548b98=null){const _0x52d3f7=this['_paginationLookupPlugin']['pageBreaks'][_0x10fb82]['offset'];return _0x52d3f7?(_0x548b98||(_0x548b98=new _0x5b17dd(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x52d3f7-_0x548b98['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x15f355,_0x4822a3=!0x0){const _0x5da31e=this['editor']['editing']['view'];_0x5da31e['change'](_0x3945d4=>{for(const _0x784f9d of _0x5da31e['document']['roots'])_0x4822a3?_0x3945d4['addClass'](_0x15f355,_0x784f9d):_0x3945d4['removeClass'](_0x15f355,_0x784f9d);});}}function G(_0x3953da,_0x23f108,..._0x3d07f5){const t=_0x3953da['t'];switch(_0x23f108){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)',..._0x3d07f5);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 _0x23f108;}}class C extends _0x57b36b{['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 _0x43340f=this['editor']['plugins']['get']('Pagination'),_0x5e462b=this['editor']['plugins']['get'](w),_0x23b9b0=this['editor']['plugins']['get']($);this['bind']('isEnabled')['to'](_0x43340f),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x23b9b0),this['listenTo'](_0x5e462b,'change:pageBreaks',(_0x132c93,_0x558f21,_0x4efc94,_0x213f12)=>{this['totalPages']=_0x4efc94['length'],this['_updatePageBreakMarkers'](_0x4efc94,_0x213f12);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x29d3f4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2e94a6;for(const _0x4c3324 in _0x29d3f4){const _0x491313=_0x4c3324,_0x1276cf=_0x29d3f4[_0x491313];if('paginationLicenseKeyValid'==_0x1276cf||'paginationLicenseKeyInvalid'==_0x1276cf||'paginationLicenseKeyExpired'==_0x1276cf||'paginationLicenseKeyDomainLimit'==_0x1276cf||'paginationLicenseKeyNotAllowed'==_0x1276cf||'paginationLicenseKeyEvaluationLimit'==_0x1276cf||'paginationLicenseKeyUsageLimit'==_0x1276cf){delete _0x29d3f4[_0x491313],_0x2e94a6=_0x1276cf,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x2e94a6&&_0x29d3f4['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x2e94a6&&_0x29d3f4['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x2e94a6&&_0x29d3f4['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x2e94a6&&_0x29d3f4['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x2e94a6&&_0x29d3f4['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x2e94a6&&_0x29d3f4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x12035e){if(!this['isEnabled'])return;this['editor']['plugins']['get']($)['scrollToPage'](this['_validatePageNumber'](_0x12035e));}['moveSelectionToPage'](_0x1e14cd){if(!this['isEnabled'])return;const _0x209ddc=this['editor'],_0x226f37=this['editor']['plugins']['get'](w)['pageBreaks'][_0x1e14cd-0x1];_0x226f37&&_0x209ddc['model']['change'](_0x45e866=>{switch(_0x226f37['type']){case'manual':{const _0x60c26b=_0x209ddc['model']['schema']['getNearestSelectionRange'](_0x226f37['modelRange']['end'],'forward');_0x45e866['setSelection'](_0x60c26b);break;}case'element':{const _0x41db05=_0x209ddc['model']['schema']['getNearestSelectionRange'](_0x226f37['modelRange']['start'],'forward');_0x45e866['setSelection'](_0x41db05);break;}case'text':{const _0x15a124=_0x226f37['modelRange']['start'];if(_0x15a124['textNode']&&'\x20'===_0x15a124['textNode']['data'][_0x15a124['offset']]){const _0x14eb4c=_0x45e866['createPositionAt'](_0x15a124['parent'],_0x15a124['offset']+0x1);_0x45e866['setSelection'](_0x14eb4c);}else _0x45e866['setSelection'](_0x226f37['modelRange']);}}_0x209ddc['editing']['view']['focus']();});}['goToNextPage'](){const _0x4d1dcd=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x4d1dcd),this['scrollToPage'](_0x4d1dcd);}['goToPreviousPage'](){const _0xee908a=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0xee908a),this['scrollToPage'](_0xee908a);}['_updatePageBreakMarkers'](_0x1aaa08,_0xef2157){const _0x5a2e95=this['editor']['model'];this['isEnabled']&&_0x5a2e95['change'](_0x1fbbd0=>{for(let _0x3e846a=0x1;_0x3e846a<_0x1aaa08['length'];_0x3e846a++){const _0x129a5d=_0x1aaa08[_0x3e846a]['modelRange'],_0x39ff83='pagination:'+(_0x3e846a+0x1);_0x5a2e95['markers']['has'](_0x39ff83)?_0x1fbbd0['updateMarker'](_0x39ff83,{'range':_0x129a5d}):_0x1fbbd0['addMarker'](_0x39ff83,{'range':_0x129a5d,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x5cc51c=_0x1aaa08['length'];_0x5cc51c<_0xef2157['length'];_0x5cc51c++){const _0x1a22fc='pagination:'+(_0x5cc51c+0x1);_0x5a2e95['markers']['has'](_0x1a22fc)&&_0x1fbbd0['removeMarker'](_0x1a22fc);}});}['_setUpDataDowncastConversion'](){const _0x3ccc77='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x3beefc=>{_0x3beefc['on']('addMarker:'+_0x3ccc77,(_0x1074a7,{markerRange:_0x49f418,markerName:_0x3b4c89},_0x2d499d)=>{if(!_0x2d499d['options']['pagination'])return;if(!_0x2d499d['consumable']['consume'](_0x49f418,_0x1074a7['name']))return;const _0x616cce=_0x49f418['getContainedElement']();let _0x8c0381=_0x616cce?_0x2d499d['mapper']['toViewElement'](_0x616cce):null;if(!_0x8c0381){const _0x39c934=_0x49f418['start'];if(_0x2d499d['schema']['checkChild'](_0x39c934,'$text')){const _0x34aa2c=_0x2d499d['mapper']['toViewPosition'](_0x39c934);_0x8c0381=_0x2d499d['writer']['createContainerElement']('span'),_0x8c0381['getFillerOffset']=()=>null,_0x2d499d['writer']['insert'](_0x34aa2c,_0x8c0381);}else{const _0x34b50d=_0x39c934['nodeAfter'];_0x8c0381=_0x2d499d['mapper']['toViewElement'](_0x34b50d);}}for(;_0x8c0381['parent']!==_0x8c0381['root']&&0x0===_0x8c0381['index'];)_0x8c0381=_0x8c0381['parent'];const _0x4f693a=_0x3b4c89['substring'](0xb);_0x8c0381['hasClass']('page-break')||(_0x2d499d['writer']['setStyle']('page-break-before','always',_0x8c0381),_0x2d499d['writer']['setAttribute']('data-pagination-page',_0x4f693a,_0x8c0381),_0x2d499d['mapper']['bindElementToMarker'](_0x8c0381,_0x3b4c89)),_0x1074a7['stop']();});});}['_setupKeystrokes'](){const _0x4350ea=this['editor'];_0x4350ea['keystrokes']['set']('Shift+Pageup',(_0x3ead6d,_0x2e1702)=>{this['goToPreviousPage'](),_0x2e1702();}),_0x4350ea['keystrokes']['set']('Shift+Pagedown',(_0x473c3b,_0x2a2585)=>{this['goToNextPage'](),_0x2a2585();}),_0x4350ea['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':G(_0x4350ea['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':G(_0x4350ea['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':G(_0x4350ea['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x1e17d0){return _0x1e17d0<0x1&&(_0x1e17d0=0x1),_0x1e17d0>this['totalPages']&&(_0x1e17d0=this['totalPages']),_0x1e17d0;}}class U extends _0x4462ac{['pageNumberView'];constructor(_0x5d2ca0){super(_0x5d2ca0);const _0x28ec75=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x456dae(_0x5d2ca0,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x1deb84=>G(_0x5d2ca0,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x1deb84)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x4d3c45=>!_0x4d3c45),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x28ec75['if']('isEnabled','ck-disabled',_0x14dfb8=>!_0x14dfb8)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x28ec75['to']('totalPages')}]}]});}['render'](){super['render']();const _0x171248=this['pageNumberView']['element'],_0x13f2b2=_0x353ef9=>{this['pageNumberView']['element']['value']=String(_0x353ef9);};_0x13f2b2(this['pageNumber']),this['on']('change:pageNumber',(_0x610b4b,_0x115173,_0x192349)=>{_0x13f2b2(_0x192349);}),this['listenTo'](_0x171248,'keydown',(_0x375cd2,_0x1abe64)=>{if('ArrowUp'===_0x1abe64['key']||'ArrowDown'===_0x1abe64['key'])return void _0x1abe64['stopPropagation']();if(_0x1abe64['keyCode']!==_0x418904['enter'])return;_0x1abe64['preventDefault']();const _0x4b32dc=_0x171248['valueAsNumber'];Number['isNaN'](_0x4b32dc)?_0x171248['value']=String(this['pageNumber']):(_0x171248['checkValidity']()?this['pageNumber']=_0x4b32dc:_0x4b32dc>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x171248['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x171248['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x171248,'blur',()=>{_0x171248['value']=String(this['pageNumber']);}),this['listenTo'](_0x171248,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class M extends _0x57b36b{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x35737f=this['editor'],_0x3a13f5=_0x35737f['plugins']['get']('PaginationEditing');_0x35737f['ui']['componentFactory']['add']('pageNavigation',_0xb89152=>{const _0x43e2a9=new U(_0xb89152);return _0x43e2a9['bind']('pageNumber')['to'](_0x3a13f5),_0x43e2a9['bind']('totalPages')['to'](_0x3a13f5),_0x43e2a9['bind']('isEnabled')['to'](_0x3a13f5),_0x43e2a9['on']('navigation',(_0xcca5a2,_0x276f92)=>{_0x3a13f5['moveSelectionToPage'](_0x276f92),_0x3a13f5['scrollToPage'](_0x276f92);}),_0x43e2a9;}),_0x35737f['ui']['componentFactory']['add']('nextPage',_0x40ebd0=>{const _0x510d3d=new _0x203d2c(_0x40ebd0);return _0x510d3d['isEnabled']=!0x0,_0x510d3d['label']=G(_0x35737f['locale'],'Go\x20to\x20next\x20page'),_0x510d3d['icon']=_0x5bcc46,_0x510d3d['tooltip']=!0x0,_0x510d3d['keystroke']='Shift+PageDown',_0x510d3d['bind']('isEnabled')['to'](_0x3a13f5),this['listenTo'](_0x510d3d,'execute',()=>{_0x3a13f5['goToNextPage']();}),_0x510d3d;}),_0x35737f['ui']['componentFactory']['add']('previousPage',_0x52b484=>{const _0x4b36d0=new _0x203d2c(_0x52b484);return _0x4b36d0['isEnabled']=!0x0,_0x4b36d0['label']=G(_0x35737f['locale'],'Go\x20to\x20previous\x20page'),_0x4b36d0['icon']=_0x5e7431,_0x4b36d0['tooltip']=!0x0,_0x4b36d0['keystroke']='Shift+PageUp',_0x4b36d0['bind']('isEnabled')['to'](_0x3a13f5),this['listenTo'](_0x4b36d0,'execute',()=>{_0x3a13f5['goToPreviousPage']();}),_0x4b36d0;});}}class j extends _0x57b36b{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[C,M];}constructor(_0x56bd76){super(_0x56bd76),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x135f59=this['editor']['plugins']['get'](C);this['bind']('pageNumber')['to'](_0x135f59),this['bind']('totalPages')['to'](_0x135f59),_0x526048['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x4dd737){this['editor']['plugins']['get'](C)['scrollToPage'](_0x4dd737);}}export{j as Pagination,$ as PaginationRenderer};
23
+ import{Plugin as _0x34ee64}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x59330a,InputNumberView as _0x27bfba,ButtonView as _0x574b27}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x279f50,global as _0xb8243d,Rect as _0x5ee1f0,uid as _0x1c117e,toUnit as _0x9cb43d,first as _0x3818f0,env as _0x3454ce,ResizeObserver as _0x21c8ce,keyCodes as _0x2b36f4}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x450cd8}from'es-toolkit/compat';import{IconArrowDown as _0x47ac03,IconArrowUp as _0x5efbbc}from'@ckeditor/ckeditor5-icons/dist/index.js';class w extends _0x34ee64{['_recalculatePageBreaksDebounced']=_0x450cd8(()=>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 _0x279f50('pagination-config-not-found',this['editor']['config']);const _0x4a1986=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x4a1986),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x51ddcf,_0x59e1ee,_0x3ef89f)=>{_0x3ef89f&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x5c8a33){const _0x5c83b3=_0xfc479e([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]),_0x2daee1=0xc82cb1e,_0x1ee7c9=0xc854ece^_0x2daee1,_0x266a74=window[_0xfc479e([0x44,0x61,0x74,0x65])][_0xfc479e([0x6e,0x6f,0x77])](),_0x37c432=_0x5c8a33[_0xfc479e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x40fed7=new window[(_0xfc479e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18e600=>{_0x37c432[_0xfc479e([0x6f,0x6e,0x63,0x65])](_0xfc479e([0x72,0x65,0x61,0x64,0x79]),_0x18e600);}),_0x23ccb2={[_0xfc479e([0x6b,0x74,0x79])]:_0xfc479e([0x45,0x43]),[_0xfc479e([0x75,0x73,0x65])]:_0xfc479e([0x73,0x69,0x67]),[_0xfc479e([0x63,0x72,0x76])]:_0xfc479e([0x50,0x2d,0x32,0x35,0x36]),[_0xfc479e([0x78])]:_0xfc479e([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]),[_0xfc479e([0x79])]:_0xfc479e([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]),[_0xfc479e([0x61,0x6c,0x67])]:_0xfc479e([0x45,0x53,0x32,0x35,0x36])},_0x45575c=_0x37c432[_0xfc479e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xfc479e([0x67,0x65,0x74])](_0xfc479e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5a9377(){let _0x3fdfc9,_0x39b6c0=null,_0x43ecbf=null;try{if(_0x45575c==_0xfc479e([0x47,0x50,0x4c]))return _0xfc479e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3fdfc9=_0x547775(),!_0x3fdfc9)return _0xfc479e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3fdfc9[_0xfc479e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x43ecbf=_0x325751(_0x3fdfc9[_0xfc479e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3fdfc9[_0xfc479e([0x6a,0x74,0x69])])),await _0x480a50()?_0x36a45f()?_0x80753f()?_0xfc479e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3ddda0()?(_0x3fdfc9[_0xfc479e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xfc479e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x39b6c0=_0x41c394(_0xfc479e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xa85ae4()):_0xfc479e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xfc479e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xfc479e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xfc479e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x80753f(){const _0x426f4b=[_0xfc479e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xfc479e([0x74,0x72,0x69,0x61,0x6c])][_0xfc479e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fdfc9[_0xfc479e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x266a74/0x3e8:0xe10*_0x1ee7c9;return _0x3fdfc9[_0xfc479e([0x65,0x78,0x70])]<_0x426f4b;}function _0x36a45f(){const _0x10e523=_0x3fdfc9[_0xfc479e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x10e523&&(!!_0x10e523[_0xfc479e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfc479e([0x2a]))||!!_0x10e523[_0xfc479e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfc479e([0x50,0x41,0x47])));}function _0x3ddda0(){const _0xa92102=_0x3fdfc9[_0xfc479e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xa92102||0x0==_0xa92102[_0xfc479e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1600a4}=new URL(window[_0xfc479e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xa92102[_0xfc479e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1600a4))return!0x0;const _0x620357=_0x1600a4[_0xfc479e([0x73,0x70,0x6c,0x69,0x74])](_0xfc479e([0x2e]));return _0xa92102[_0xfc479e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x32a076=>_0x32a076[_0xfc479e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfc479e([0x2a])))[_0xfc479e([0x6d,0x61,0x70])](_0x13e760=>_0x13e760[_0xfc479e([0x73,0x70,0x6c,0x69,0x74])](_0xfc479e([0x2e])))[_0xfc479e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c2f1c=>_0x3c2f1c[_0xfc479e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x620357[_0xfc479e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xfc479e([0x6d,0x61,0x70])](_0x4866fb=>Array(_0x620357[_0xfc479e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4866fb[_0xfc479e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xfc479e([0x66,0x69,0x6c,0x6c])](_0x4866fb[0x0]===_0xfc479e([0x2a])?_0xfc479e([0x2a]):'')[_0xfc479e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4866fb))[_0xfc479e([0x73,0x6f,0x6d,0x65])](_0x2cec51=>_0x620357[_0xfc479e([0x65,0x76,0x65,0x72,0x79])]((_0x34bc0c,_0x15aec9)=>_0x2cec51[_0x15aec9]===_0x34bc0c||_0x2cec51[_0x15aec9]===_0xfc479e([0x2a])));}function _0xa85ae4(){return _0x39b6c0&&_0x43ecbf?new window[(_0xfc479e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1b0003,_0x2ce0d8)=>{_0x39b6c0[_0xfc479e([0x74,0x68,0x65,0x6e])](_0x1b0003,_0x2ce0d8),_0x43ecbf[_0xfc479e([0x74,0x68,0x65,0x6e])](_0x2755a7=>{_0x2755a7!=_0xfc479e([0x56,0x61,0x6c,0x69,0x64])&&_0x1b0003(_0x2755a7);},_0x2ce0d8);}):_0x39b6c0||_0x43ecbf||_0xfc479e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x325751(_0x62f674,_0x3748fe){return new window[(_0xfc479e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2be34c=>{if(_0x3aad8a())return _0x2be34c(_0xfc479e([0x56,0x61,0x6c,0x69,0x64]));_0x5e92a7(),_0x37c432[_0xfc479e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xfc479e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4d9e1d=!0x1;const _0x4a55b5=_0x1c117e();function _0x58f5d3(_0x3e1571){return!!_0x3e1571&&(typeof _0x3e1571===_0xfc479e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3e1571===_0xfc479e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3e1571[_0xfc479e([0x74,0x68,0x65,0x6e])]===_0xfc479e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3e1571[_0xfc479e([0x63,0x61,0x74,0x63,0x68])]===_0xfc479e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x42489d(_0x1ce4a4){_0x42d8b(_0x1ce4a4)[_0xfc479e([0x74,0x68,0x65,0x6e])](_0x553adf=>{if(!_0x553adf||_0x553adf[_0xfc479e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xfc479e([0x6f,0x6b]))return _0xfc479e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x197334(_0x3ffd60(_0x4a55b5+_0x3748fe))!=_0x553adf[_0xfc479e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xfc479e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xfc479e([0x56,0x61,0x6c,0x69,0x64]);})[_0xfc479e([0x74,0x68,0x65,0x6e])](_0x11b79e=>(_0x1b2e11(),_0x11b79e),()=>{const _0x566e18=_0xfc949f();return null==_0x566e18?(_0x1b2e11(),_0xfc479e([0x56,0x61,0x6c,0x69,0x64])):_0xfc479e(_0x266a74-_0x566e18>(0x288e4f1e^_0x2daee1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xfc479e([0x74,0x68,0x65,0x6e])](_0x2be34c)[_0xfc479e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2be34c(_0xfc479e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3e67e8=0xcb4259e^_0x2daee1;function _0x1b2e11(){const _0x5d9d0b=_0xfc479e([0x6c,0x6c,0x63,0x74,0x2d])+_0x197334(_0x3ffd60(_0x62f674)),_0x5cdfe3=_0xce588(_0x197334(window[_0xfc479e([0x4d,0x61,0x74,0x68])][_0xfc479e([0x63,0x65,0x69,0x6c])](_0x266a74/_0x3e67e8)));window[_0xfc479e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xfc479e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5d9d0b,_0x5cdfe3);}function _0xfc949f(){const _0x328a34=_0xfc479e([0x6c,0x6c,0x63,0x74,0x2d])+_0x197334(_0x3ffd60(_0x62f674)),_0x118670=window[_0xfc479e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xfc479e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x328a34);return _0x118670?window[_0xfc479e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xce588(_0x118670),0x10)*_0x3e67e8:null;}function _0x42d8b(_0x51ed46){return new window[(_0xfc479e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2857aa,_0x339003)=>{_0x51ed46[_0xfc479e([0x74,0x68,0x65,0x6e])](_0x2857aa,_0x339003),window[_0xfc479e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x339003,0xc831fde^_0x2daee1);});}}_0x37c432[_0xfc479e([0x6f,0x6e])](_0xfc479e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x25713e,_0x2856c1)=>{if(_0x2856c1[0x0]!=_0x62f674)return _0x2be34c(_0xfc479e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2856c1[0x1]={..._0x2856c1[0x1],[_0xfc479e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4a55b5};},{[_0xfc479e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xfc479e([0x68,0x69,0x67,0x68])}),_0x37c432[_0xfc479e([0x6f,0x6e])](_0xfc479e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4afddc=>{_0x58f5d3(_0x4afddc[_0xfc479e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4d9e1d=!0x0,_0x42489d(_0x4afddc[_0xfc479e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xfc479e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xfc479e([0x6c,0x6f,0x77])}),_0x40fed7[_0xfc479e([0x74,0x68,0x65,0x6e])](()=>{_0x4d9e1d||_0x2be34c(_0xfc479e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3aad8a(){return _0x37c432[_0xfc479e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xfc479e([0x76,0x69,0x65,0x77])][_0xfc479e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xfc479e([0x61,0x75,0x74,0x6f]);}function _0x5e92a7(){_0x37c432[_0xfc479e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xfc479e([0x76,0x69,0x65,0x77])][_0xfc479e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xfc479e([0x61,0x75,0x74,0x6f]);}}function _0x41c394(_0x4de9c8){const _0x250378=[new window[(_0xfc479e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x158826=>setTimeout(_0x158826,0xc8bf5d2^_0x2daee1)),_0x40fed7[_0xfc479e([0x74,0x68,0x65,0x6e])](()=>new window[(_0xfc479e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f51f2=>{let _0x18998d=0x0;_0x37c432[_0xfc479e([0x6d,0x6f,0x64,0x65,0x6c])][_0xfc479e([0x6f,0x6e])](_0xfc479e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x77e72a,_0x1323d6)=>{_0x1323d6[0x0][_0xfc479e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x18998d++,_0x18998d==(0xc82cef6^_0x2daee1)&&(_0x3f51f2(),_0x77e72a[_0xfc479e([0x6f,0x66,0x66])]());});}))];return window[_0xfc479e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xfc479e([0x72,0x61,0x63,0x65])](_0x250378)[_0xfc479e([0x74,0x68,0x65,0x6e])](()=>_0x4de9c8);}async function _0x142713(){await _0x40fed7,_0x37c432[_0xfc479e([0x6d,0x6f,0x64,0x65,0x6c])][_0xfc479e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x8f22b0,_0x37c432[_0xfc479e([0x6d,0x6f,0x64,0x65,0x6c])][_0xfc479e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x8f22b0,_0x37c432[_0xfc479e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xfc479e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xdb3fc5(_0x269fc6){const _0x4c6d67=_0x427e0e();_0x37c432[_0x4c6d67]=_0xfc479e([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x269fc6,_0x269fc6!=_0xfc479e([0x56,0x61,0x6c,0x69,0x64])&&_0x142713();}function _0x427e0e(){const _0x1a1ead=window[_0xfc479e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xfc479e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xfc479e([0x6e,0x6f,0x77])]())[_0xfc479e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xfc479e([0x2e]),'');let _0x29728c=_0xfc479e([0x49]);for(let _0xbfd9eb=0x0;_0xbfd9eb<_0x1a1ead[_0xfc479e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xbfd9eb+=0x2){let _0x44f175=window[_0xfc479e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a1ead[_0xfc479e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xbfd9eb,_0xbfd9eb+0x2));_0x44f175>=_0x5c83b3[_0xfc479e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x44f175-=_0x5c83b3[_0xfc479e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x29728c+=_0x5c83b3[_0x44f175];}return _0x29728c;}function _0x547775(){const _0x1f28a6=_0x45575c[_0xfc479e([0x73,0x70,0x6c,0x69,0x74])](_0xfc479e([0x2e]));if(0x3!=_0x1f28a6[_0xfc479e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x486f38(_0x1f28a6[0x1]);function _0x486f38(_0x606834){const _0x33d379=_0x2427ba(_0x606834);return _0x33d379&&_0x8bfa8e()?_0x33d379:null;function _0x8bfa8e(){const _0x4a1490=_0x33d379[_0xfc479e([0x6a,0x74,0x69])],_0x11894c=window[_0xfc479e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a1490[_0xfc479e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a1490[_0xfc479e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x51d0ee={..._0x33d379,[_0xfc479e([0x6a,0x74,0x69])]:_0x4a1490[_0xfc479e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4a1490[_0xfc479e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x51d0ee[_0xfc479e([0x76,0x63])],_0x3ffd60(_0x51d0ee)==_0x11894c;}}}async function _0x480a50(){let _0x4bb265=!0x0;try{const _0x294c28=_0x45575c[_0xfc479e([0x73,0x70,0x6c,0x69,0x74])](_0xfc479e([0x2e])),[_0x4e17c5,_0x18bddd,_0x36a588]=_0x294c28;return _0x2428e5(_0x4e17c5),await _0x5df3f9(_0x4e17c5,_0x18bddd,_0x36a588),_0x4bb265;}catch{return!0x1;}function _0x2428e5(_0x2ce2f8){const _0x3b7c36=_0x2427ba(_0x2ce2f8);_0x3b7c36&&_0x3b7c36[_0xfc479e([0x61,0x6c,0x67])]==_0xfc479e([0x45,0x53,0x32,0x35,0x36])||(_0x4bb265=!0x1);}async function _0x5df3f9(_0x492c00,_0x283c65,_0x4c50ef){const _0x2aaf8b=window[_0xfc479e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xfc479e([0x66,0x72,0x6f,0x6d])](_0x380c73(_0x4c50ef),_0x25ffd7=>_0x25ffd7[_0xfc479e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x188711=new window[(_0xfc479e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xfc479e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x492c00+_0xfc479e([0x2e])+_0x283c65),_0x4dc0a9=window[_0xfc479e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xfc479e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4dc0a9)return;const _0x5dd06e=await _0x4dc0a9[_0xfc479e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xfc479e([0x6a,0x77,0x6b]),_0x23ccb2,{[_0xfc479e([0x6e,0x61,0x6d,0x65])]:_0xfc479e([0x45,0x43,0x44,0x53,0x41]),[_0xfc479e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xfc479e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xfc479e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4dc0a9[_0xfc479e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xfc479e([0x6e,0x61,0x6d,0x65])]:_0xfc479e([0x45,0x43,0x44,0x53,0x41]),[_0xfc479e([0x68,0x61,0x73,0x68])]:{[_0xfc479e([0x6e,0x61,0x6d,0x65])]:_0xfc479e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5dd06e,_0x2aaf8b,_0x188711)||(_0x4bb265=!0x1);}}function _0x2427ba(_0x2a233d){return _0x2a233d[_0xfc479e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xfc479e([0x65,0x79]))?JSON[_0xfc479e([0x70,0x61,0x72,0x73,0x65])](_0x380c73(_0x2a233d)):null;}function _0x380c73(_0x4079ad){return window[_0xfc479e([0x61,0x74,0x6f,0x62])](_0x4079ad[_0xfc479e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xfc479e([0x2b]))[_0xfc479e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xfc479e([0x2f])));}function _0x3ffd60(_0x2c290f){let _0x3d3af6=0x1505;function _0x57f8c1(_0x4dae6e){for(let _0xd96323=0x0;_0xd96323<_0x4dae6e[_0xfc479e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd96323++){const _0x181ef0=_0x4dae6e[_0xfc479e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xd96323);_0x3d3af6=(_0x3d3af6<<0x5)+_0x3d3af6+_0x181ef0,_0x3d3af6&=_0x3d3af6;}}function _0x32e5a7(_0x5ea6d0){Array[_0xfc479e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5ea6d0)?_0x5ea6d0[_0xfc479e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x32e5a7):_0x5ea6d0&&typeof _0x5ea6d0==_0xfc479e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xfc479e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5ea6d0)[_0xfc479e([0x73,0x6f,0x72,0x74])]()[_0xfc479e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x26ae95,_0x341b7a])=>{_0x57f8c1(_0x26ae95),_0x32e5a7(_0x341b7a);}):_0x57f8c1(window[_0xfc479e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5ea6d0));}return _0x32e5a7(_0x2c290f),_0x3d3af6>>>0x0;}function _0x197334(_0x2b493f){return _0x2b493f[_0xfc479e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xfc479e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xfc479e([0x30]));}function _0xce588(_0x560859){return _0x560859[_0xfc479e([0x73,0x70,0x6c,0x69,0x74])]('')[_0xfc479e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xfc479e([0x6a,0x6f,0x69,0x6e])]('');}function _0x8f22b0(){}function _0xfc479e(_0x403467){return _0x403467['map'](_0x5dce9a=>String['fromCharCode'](_0x5dce9a))['join']('');}_0xdb3fc5(await _0x5a9377());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0xb2d3a7=this['editor'],_0x2d3a5c=_0xb2d3a7['editing']['view'],_0x4ffa7c=this['_getAttachedDomRoot']();if(!_0x4ffa7c||0x0===_0x4ffa7c['childElementCount'])return void _0xb2d3a7['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x69363,pageHeight:_0x13aee5}=_0xb2d3a7['config']['get']('pagination'),{top:_0x221683,left:_0x5d03c8,bottom:_0x15d238,right:_0x32d7f6}=this['_configuredPaddings'];this['_pagesContainer']=new _0x59330a(_0xb2d3a7['locale']);const _0x34bea2=this['_pagesContainer'];_0x34bea2['set']('class',''),_0x34bea2['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x69363,'width':_0x69363,'height':'calc(\x20'+_0x13aee5+'\x20-\x20'+_0x221683+'\x20-\x20'+_0x15d238+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x32d7f6+'\x200\x20'+_0x5d03c8,'columnGap':'calc('+_0x5d03c8+'\x20+\x20'+_0x32d7f6+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x34bea2['bindTemplate']['to']('class')}}),_0x34bea2['render'](),_0x4ffa7c['parentNode']['insertBefore'](_0x34bea2['element'],_0x4ffa7c['nextSibling']),this['listenTo'](_0x2d3a5c,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x501077 of this['editor']['editing']['view']['domRoots']['values']())if(_0x501077['ownerDocument']['body']['contains'](_0x501077))return _0x501077;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x23110f=this['editor']['editing']['view'],_0x45098e=this['_pagesContainer'],_0x548f12=this['_getAttachedDomRoot']();if(!_0x548f12)return Promise['resolve']();for(_0x45098e['class']=['ck-reset','ck-pagination-view',..._0x548f12['classList']]['join']('\x20');_0x45098e['element']['firstChild'];)_0x45098e['element']['firstChild']['remove']();const _0x23d883=Array['from'](_0x23110f['domRoots']);_0x23d883['sort'](([,_0x19ec45],[,_0x362fae])=>_0x19ec45['compareDocumentPosition'](_0x362fae)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x2815a6,_0x596410]of _0x23d883){const _0x16b18a=_0x596410['cloneNode'](!0x0);'attributeStyleMap'in _0x16b18a&&_0x16b18a['attributeStyleMap']['clear'](),_0x16b18a['dataset']['rootName']=_0x2815a6,_0x16b18a['className']='ck-content\x20ck-pagination_enabled',_0x16b18a['removeAttribute']('id'),_0x16b18a['tabIndex']=-0x1,_0x45098e['element']['append'](_0x16b18a);}const _0x3a1114=Array['from'](_0x45098e['element']['querySelectorAll']('img'));return function(_0x4c15c0){return Promise['all'](_0x4c15c0['map'](_0x18dbe8=>Promise['race']([k(_0x18dbe8),v(0x3e8)])));}(_0x3a1114)['then'](()=>{for(const _0x21d3ff of _0x3a1114['filter'](_0x30f6bd=>!_0x30f6bd['closest']('table')))if(_0x21d3ff['offsetParent']){const _0x4cc716=_0xb8243d['window']['getComputedStyle'](_0x21d3ff),_0x2ba725=_0xb8243d['document']['createElement']('span');for(const _0xe24134 of _0x4cc716)_0x2ba725['style']['setProperty'](_0xe24134,_0x4cc716[_0xe24134]);_0x2ba725['style']['backgroundImage']='url(\x20'+_0x21d3ff['src']+'\x20)',_0x2ba725['style']['breakInside']='avoid','PICTURE'==_0x21d3ff['parentElement']?.['tagName']?_0x21d3ff['parentElement']['replaceWith'](_0x2ba725):_0x21d3ff['replaceWith'](_0x2ba725);}return new Promise(_0x555183=>_0xb8243d['window']['requestAnimationFrame'](()=>_0x555183()));})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x17ab2d=this['_pagesContainer']['element'];if(!_0x17ab2d['ownerDocument']['body']['contains'](_0x17ab2d))return;const _0x4dd167=new _0x5ee1f0(_0x17ab2d)['excludeScrollbarsAndBorders'](),_0x1d0f19=Math['floor'](_0x4dd167['width']+0x64),_0x33179c=_(_0x17ab2d,Math['floor'](_0x4dd167['left']-_0x17ab2d['scrollLeft']),_0x1d0f19,_0x4dd167['height'])['map'](_0x3a63b2=>this['_mapPageStarterInfoToPageBreakInfo'](_0x3a63b2))['filter'](_0x5bd830=>!0x1!==_0x5bd830);_0x33179c['every'](_0x4dc380=>!!_0x4dc380)&&(this['pageBreaks']=_0x33179c);}['_mapPageStarterInfoToPageBreakInfo'](_0x2e24e3){const _0x2322d1=this['editor']['editing']['view'],_0x351b13=this['editor']['editing']['mapper'],_0x1150f8=_0x2322d1['domConverter'],_0x437ec3=_0x2e24e3['path']['shift'](),_0x4fbacd=this['_pagesContainer']['element']['childNodes'][_0x437ec3]['dataset']['rootName'],_0x19773c=_0x2322d1['getDomRoot'](_0x4fbacd);if(!_0x19773c)return null;const _0x105fba=function(_0x45fe26,_0x4c3b36){let _0x327d9f=_0x45fe26;for(const _0x2ccae1 of _0x4c3b36['path']){if(!_0x327d9f)return null;_0x327d9f=_0x327d9f['childNodes'][_0x2ccae1];}return _0x327d9f;}(_0x19773c,_0x2e24e3);if(!_0x105fba)return null;const _0x4832de=_0x1150f8['domPositionToView'](_0x105fba,_0x2e24e3['textOffset']||0x0);return _0x4832de?'manual'==_0x2e24e3['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x4832de,_0x105fba):'text'==_0x2e24e3['type']&&_0x351b13['toModelPosition'](_0x4832de)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x4832de,_0x105fba,_0x2e24e3['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x4832de,_0x105fba,_0x2e24e3['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x3fe5f6,_0x1720c4){const _0x17688e=this['editor']['model'],_0x1d6838=this['editor']['editing']['mapper']['toModelElement'](_0x3fe5f6['parent']),_0x1ad2a8=_0x17688e['createRangeOn'](_0x1d6838);return new b({'type':'manual','modelRange':_0x1ad2a8,'domNode':_0x1720c4,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x52f0d0,_0x1f533a,_0x5c0f42){const _0x28adb5=this['editor']['model'],_0x2c86be=this['editor']['editing']['mapper'],_0x59db1b=this['editor']['editing']['view']['domConverter'];if(_0x5c0f42>=_0x1f533a['length'])return null;const _0x513312=_0x2c86be['toModelPosition'](_0x52f0d0),_0x997b0f=_0x28adb5['createRange'](_0x513312),_0xf43141=_0x2c86be['findMappedViewAncestor'](_0x52f0d0),_0x129e1f=_0x59db1b['mapViewToDom'](_0xf43141);return new b({'type':'text','modelRange':_0x997b0f,'domNode':_0x1f533a,'offset':P(_0x1f533a,_0x5c0f42,_0x129e1f)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x9b4a10,_0xc9749d,_0x1b48c4){const _0x588462=this['editor']['model'],_0x1570d9=this['editor']['editing'],_0x1deea6=_0x1570d9['mapper'],_0x5905a1=_0x1570d9['view']['domConverter'],_0x4cbf0f=_0x1deea6['findMappedViewAncestor'](_0x9b4a10),_0x1edde2=_0x1deea6['toModelElement'](_0x4cbf0f);if(!_0x1edde2||_0x1edde2['is']('element','$root'))return!0x1;const _0x330e93=function(_0x21442d){const _0x2021f6=_0x21442d['parent'],_0x5ba7ed=_0x2021f6['root']['document']['model'],_0x51322e=_0x2021f6['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x526933=null;for(const _0x591076 of _0x51322e){if(_0x591076['is']('rootElement'))return _0x526933;if(!_0x5ba7ed['createPositionBefore'](_0x591076)['isTouching'](_0x21442d))return _0x526933;_0x526933=_0x591076;}}(_0x588462['createPositionBefore'](_0x1edde2)),_0x600a0b=_0x330e93||_0x1edde2;let _0x5da7f2=_0x1deea6['toViewElement'](_0x600a0b),_0xd54266=_0x588462['createRangeOn'](_0x600a0b);const _0x1bf379=_0x588462['createPositionBefore'](_0x600a0b)['nodeBefore'];if(_0x1bf379&&_0x1bf379['is']('element','imageBlock')){const _0xecfdfa=_0x1deea6['toViewElement'](_0x1bf379),_0x310b02=_0x5905a1['mapViewToDom'](_0xecfdfa),_0x20bdfe=_0xb8243d['window']['getComputedStyle'](_0x310b02)['float'];'left'!=_0x20bdfe&&'right'!=_0x20bdfe||(_0xd54266=_0x588462['createRangeOn'](_0x1bf379));}for(;_0x5da7f2['parent']!==_0x5da7f2['root']&&0x0===_0x5da7f2['index'];)_0x5da7f2=_0x5da7f2['parent'];const _0x44a232=new _0x5ee1f0(I(_0xc9749d)?_0xc9749d:x(_0xc9749d)),_0x5f3f84=_0x1b48c4?_0x44a232['height']-_0x1b48c4:0x0,_0x3ca638=_0x5905a1['mapViewToDom'](_0x5da7f2),_0x16dde6=new _0x5ee1f0(_0x3ca638);return new b({'type':'element','modelRange':_0xd54266,'domNode':_0x3ca638,'offset':Math['round'](_0x5f3f84)||_0x4cbf0f!=y(_0x9b4a10)?_0x5f3f84+_0x44a232['top']-_0x16dde6['top']:0x0});}get['_configuredPaddings'](){const _0x5c81e8=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x5c81e8);}static['_findPageStarterInfos'](_0x568d0b,_0x576f7b,_0x1a304b,_0x18ec92,_0x2dff62){return _(_0x568d0b,_0x576f7b,_0x1a304b,_0x18ec92,_0x2dff62);}}class b{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x34e4ce,modelRange:_0x550814,domNode:_0x1f8567,offset:_0x17791e}){this['type']=_0x34e4ce,this['modelRange']=_0x550814,this['_domNode']=_0x1f8567,this['_offset']=_0x17791e;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x5411ca=new _0x5ee1f0(I(this['_domNode'])?this['_domNode']:x(this['_domNode']));return'manual'==this['type']?_0x5411ca['top']+_0x5411ca['height']/0x2:_0x5411ca['top']+this['_offset'];}}function P(_0x153c1f,_0xb9e8ae,_0x5dbc6a){const _0x1cb1a4=x(_0x153c1f),_0x554c43=function(_0x540fe4){const _0xaeb601=_0xb8243d['document']['createRange']();return _0xaeb601['selectNodeContents'](_0x540fe4),_0xaeb601;}(_0x5dbc6a);let _0x8d969a;_0x8d969a=0x0==_0xb9e8ae?L(_0x554c43['startContainer'],_0x554c43['startOffset'],_0x153c1f['parentNode'],Array['from'](_0x153c1f['parentNode']['childNodes'])['indexOf'](_0x153c1f)):L(_0x554c43['startContainer'],_0x554c43['startOffset'],_0x153c1f,_0xb9e8ae);const _0x5981b1=L(_0x153c1f,_0xb9e8ae,_0x554c43['endContainer'],_0x554c43['endOffset']),_0x2c7eb8=new _0x5ee1f0(_0x8d969a)['bottom'];return(new _0x5ee1f0(_0x5981b1)['top']+_0x2c7eb8)/0x2-new _0x5ee1f0(_0x1cb1a4)['top'];}function y(_0x47e8fa){let _0x37419a=_0x47e8fa['parent'];for(;_0x37419a['is']('$text')||_0x37419a['is']('attributeElement');)_0x37419a=_0x37419a['parent'];return _0x37419a;}function k(_0x3d06be){return _0x3d06be['hasAttribute']('width')&&_0x3d06be['hasAttribute']('height')?Promise['resolve']():new Promise(_0x23373f=>{function _0x88488f(){_0x3d06be['removeEventListener']('load',_0x88488f),_0x3d06be['removeEventListener']('error',_0x88488f),_0x23373f();}_0x3d06be['complete']?_0x23373f():(_0x3d06be['addEventListener']('load',_0x88488f),_0x3d06be['addEventListener']('error',_0x88488f));});}function v(_0x4f1665){return new Promise(_0x170a69=>setTimeout(_0x170a69,_0x4f1665));}function x(_0x4e0a59){const _0xffc7c3=_0xb8243d['document']['createRange']();return _0xffc7c3['selectNode'](_0x4e0a59),_0xffc7c3;}function N(_0x33ba29,_0x3e55a6,_0x468414){const _0x502dda=_0xb8243d['document']['createRange']();return _0x502dda['setStart'](_0x33ba29,_0x3e55a6),_0x502dda['setEnd'](_0x33ba29,_0x468414),_0x502dda;}function L(_0x581521,_0x571ab6,_0x2dde58,_0xc18f8){const _0xde277a=_0xb8243d['document']['createRange']();return _0xde277a['setStart'](_0x581521,_0x571ab6),_0xde277a['setEnd'](_0x2dde58,_0xc18f8),_0xde277a;}function _(_0x1579b0,_0x20203d,_0x1085c6,_0xbdbd12,_0x2504b6){const _0x3b85f9=[];for(const [_0x5dffc1,_0x23ee1f]of _0x1579b0['childNodes']['entries']()){let _0x1801c7=[];I(_0x23ee1f)&&_0x23ee1f['offsetParent']&&['static','relative']['includes'](_0xb8243d['window']['getComputedStyle'](_0x23ee1f)['position'])?_0x1801c7=S(_0x23ee1f,_0x5dffc1,_0x20203d,_0x1085c6,_0xbdbd12,_0x2504b6):O(_0x23ee1f)&&(_0x1801c7=E(_0x23ee1f,_0x5dffc1,_0x20203d,_0x1085c6,_0x2504b6)),_0x1801c7['length']&&(_0x3b85f9['push'](..._0x1801c7),_0x20203d+=_0x1801c7['length']*_0x1085c6,_0x2504b6=!0x1);}return _0x3b85f9;}function S(_0x5885a0,_0x294995,_0x546650,_0x1bc036,_0x32813a,_0x1818f1){const _0x35d6e1=[];var _0x462edf;if((_0x462edf=_0x5885a0['previousSibling'])&&I(_0x462edf)&&Boolean(_0x462edf['classList']['contains']('page-break')||_0x462edf['closest']('.page-break'))&&(_0x35d6e1['push']({'type':'manual','offset':0x0,'path':[_0x294995-0x1]}),_0x1818f1=!0x0),'table-row'==_0xb8243d['window']['getComputedStyle'](_0x5885a0)['display']){let _0x27e6ca=0x0,_0x434a74=!0x1;for(const _0x5a855d of _0x5885a0['getClientRects']())_0x27e6ca+=_0x5a855d['height'],_0x5a855d['left']>=_0x546650&&(_0x434a74=!0x0);if(_0x27e6ca<_0x32813a&&_0x434a74)return _0x1818f1||_0x35d6e1['push']({'type':'element','offset':0x0,'path':[_0x294995]}),_0x35d6e1;}const _0x2fa27b=_0x5885a0['closest']('figure.image');if(_0x2fa27b&&function(_0x5e10a0){let _0x2691e3=!0x1;const _0x59ea25=_0x5e10a0['parentElement'],_0x428eb8=_0x59ea25['dataset']['rootName'],_0xca9ccb=_0x5e10a0['nextElementSibling'],_0xb1083e=_0x5e10a0['previousElementSibling'],_0x12c931=_0xca9ccb&&_0xb8243d['window']['getComputedStyle'](_0xca9ccb)['float'],_0x1693e7=_0xca9ccb&&'ck-fake-selection-container'===_0xca9ccb['className'];!_0x428eb8||_0xca9ccb||_0xb1083e||(_0x2691e3=!0x0),_0x428eb8&&!_0xb1083e&&_0x1693e7&&(_0x2691e3=!0x0),_0x428eb8&&!_0xb1083e&&'none'!==_0x12c931&&(_0x2691e3=!0x0);if(_0x2691e3)return!0x1;return!0x0;}(_0x2fa27b)){const _0x3f5a45=_0xb8243d['window']['getComputedStyle'](_0x2fa27b)['float'];if('left'==_0x3f5a45||'right'==_0x3f5a45)return _0x35d6e1;}const _0xefb335=_(_0x5885a0,_0x546650,_0x1bc036,_0x32813a,_0x1818f1);if(_0xefb335['length']){for(const _0x51a9a6 of _0xefb335)_0x35d6e1['push']({'type':_0x51a9a6['type'],'offset':_0x51a9a6['offset'],'textOffset':_0x51a9a6['textOffset'],'path':[_0x294995,..._0x51a9a6['path']]}),_0x546650+=_0x1bc036,_0x1818f1=!0x1;return _0x35d6e1;}return _0x35d6e1['push'](...function(_0x53c547,_0x225b8b,_0x323fa4,_0x40bf76,_0x5ca992){const _0x38dc2d=[];if('table-cell'==_0xb8243d['window']['getComputedStyle'](_0x53c547)['display'])return[];const _0x47f171=[];for(const _0x2a5399 of _0x53c547['getClientRects']())if(_0x2a5399['left']>=_0x323fa4){for(const _0x2dc378 of _0x47f171)_0x2dc378['height']+=_0x2a5399['height'];_0x47f171['push']({'height':_0x2a5399['height']}),_0x323fa4+=_0x40bf76;}for(const _0x58da53 of _0x47f171)_0x5ca992||_0x38dc2d['push']({'type':'element','offset':_0x58da53['height'],'textOffset':0x0,'path':[_0x225b8b]}),_0x5ca992=!0x1;return _0x38dc2d;}(_0x5885a0,_0x294995,_0x546650,_0x1bc036,_0x1818f1)),_0x35d6e1;}function E(_0x20f3fe,_0x80e561,_0x3c53fe,_0x3b6177,_0x5a2b1e){const _0x7f9e96=x(_0x20f3fe),_0x3dcd0a=[];let _0x273831=0x0;for(const _0x283c1e of _0x7f9e96['getClientRects']())if(_0x283c1e['left']>=_0x3c53fe){const _0xf611c5=R(_0x20f3fe,_0x273831,_0x3c53fe,_0x3b6177);_0x5a2b1e||_0x3dcd0a['push']({'type':'text','path':[_0x80e561],'textOffset':_0xf611c5}),_0x273831=_0xf611c5,_0x3c53fe+=_0x3b6177,_0x5a2b1e=!0x1;}return _0x3dcd0a;}function R(_0x1c7811,_0x586e5b,_0x2ed938,_0x50503c){let _0x37c753=_0x586e5b,_0x3f72ab=_0x1c7811['length'];for(;_0x3f72ab-_0x37c753>0x1;){const _0x1f35dc=Math['ceil']((_0x37c753+_0x3f72ab)/0x2);K(N(_0x1c7811,_0x37c753,_0x1f35dc),_0x2ed938,_0x50503c)?_0x3f72ab=_0x1f35dc:_0x37c753=_0x1f35dc;}return _0x37c753;}function K(_0x4941b3,_0x2d97bc,_0x5351d5){for(const _0x2ef7b5 of _0x4941b3['getClientRects']())if(_0x2ef7b5['left']>=_0x2d97bc&&_0x2ef7b5['left']<_0x2d97bc+_0x5351d5)return!0x0;return!0x1;}function I(_0x1f4fc4){return _0x1f4fc4['nodeType']==Node['ELEMENT_NODE'];}function O(_0x31d1a7){return _0x31d1a7['nodeType']==Node['TEXT_NODE'];}const B=/* #__PURE__ -- @preserve */
24
+ _0x9cb43d('px');class T extends _0x59330a{constructor(){super();const _0x327894=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x327894['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x327894['if']('isVisible','ck-hidden',_0x176e63=>!_0x176e63)],'style':{'left':_0x327894['to']('left',_0xc31663=>B(_0xc31663)),'top':_0x327894['to']('top',_0x3fb033=>B(_0x3fb033)),'width':_0x327894['to']('width',_0x31ed24=>B(_0x31ed24))}}});}}class A{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x57731b){this['_viewCollection']=_0x57731b['ui']['view']['body'];}['destroy'](){for(const _0x3a852f of this['_hiddenLines'])_0x3a852f['destroy']();}['cleanLines'](){for(const _0x5ac0bf of this['_visibleLines'])_0x5ac0bf['isVisible']=!0x1,this['_hiddenLines']['add'](_0x5ac0bf);this['_visibleLines']['clear']();}['showLine'](_0x3d5d4b,_0x135bd8,_0x1ea3f4,_0x3607c8){let _0x4df91b;this['_hiddenLines']['size']?(_0x4df91b=_0x3818f0(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x4df91b)):_0x4df91b=new T(),_0x4df91b['set']({'pageNumber':_0x3607c8,'left':_0x3d5d4b,'top':_0x135bd8,'width':_0x1ea3f4}),_0x4df91b['isVisible']=!0x0,this['_viewCollection']['has'](_0x4df91b)||this['_viewCollection']['add'](_0x4df91b),this['_visibleLines']['add'](_0x4df91b);}['setViewCollection'](_0x33adc2){for(const _0x1dfae4 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x1dfae4)&&this['_viewCollection']['remove'](_0x1dfae4);this['_viewCollection']=_0x33adc2;}}const D='ck-pagination_enabled';class $ extends _0x34ee64{['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',(_0x47217f,_0x340571,_0x14f11a)=>{_0x14f11a||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0x14f11a);});}['destroy'](){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x3ec5dc){if(!this['isEnabled'])return;const _0x500a8e=_0x3ec5dc>0x1?this['_getPageBreakLineOffset'](_0x3ec5dc-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x500a8e-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x3454ce['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0xc3254d=this['editor'],_0x263026=this['_getAttachedDomRoot']();_0x263026?(this['_scrollableEditingRootDomAncestor']&&_0xc3254d['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x15a5cd){let _0x3e4659=_0x15a5cd;do{_0x3e4659=_0x3e4659['parentElement'];const _0x4d01fd=_0xb8243d['window']['getComputedStyle'](_0x3e4659)['overflowY'];if('auto'==_0x4d01fd||'scroll'==_0x4d01fd)break;}while('BODY'!=_0x3e4659['tagName']);return _0x3e4659;}(_0x263026),_0xc3254d['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x21c8ce(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0xc3254d['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x3549ca=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x3549ca['ui']['view']['listenTo'](_0xb8243d['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x3549ca['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x1af656 of this['editor']['editing']['view']['domRoots']['values']())if(_0x1af656['ownerDocument']['body']['contains'](_0x1af656))return _0x1af656;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x505b1b=this['_getAttachedDomRoot'](),_0x19edf1=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x505b1b||0x1==_0x19edf1['length'])return void(this['pageNumber']=0x1);const _0x2749c4=new _0x5ee1f0(_0x505b1b)['excludeScrollbarsAndBorders'](),_0x3b2f54=new _0x5ee1f0(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x2208f9=_0x3b2f54['top']+_0x3b2f54['height']/0x3;let _0xc92912=!0x1;const _0x21ea92=[];for(let _0x38d20e=0x1;_0x38d20e<_0x19edf1['length'];_0x38d20e++){const _0x5e58e5=this['_getPageBreakLineOffset'](_0x38d20e,_0x3b2f54);if(!_0x5e58e5)continue;const _0x2e6963=_0x3b2f54['top']+_0x5e58e5-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x21ea92['push']({'pageOffsetTop':_0x2e6963,'domRootRect':_0x2749c4,'domScrollableRect':_0x3b2f54,'pageNumber':_0x38d20e}),_0x2e6963>_0x2208f9&&!_0xc92912&&(this['pageNumber']=_0x38d20e,_0xc92912=!0x0);}this['_renderPageBreakLines'](_0x21ea92),_0xc92912||(this['pageNumber']=_0x19edf1['length']);}['_renderPageBreakLines'](_0x422493){const {scrollX:_0x53f3a4,scrollY:_0x3dc025}=_0xb8243d['window'];if(_0x422493['length']){for(const {domScrollableRect:_0xd018ba,pageOffsetTop:_0x125853,domRootRect:_0xd26f7,pageNumber:_0x56379d}of _0x422493)_0xd018ba['top']<_0x125853&&_0x125853<_0xd018ba['bottom']&&this['linesRepository']['showLine'](_0xd26f7['left']+_0x53f3a4,_0x125853+_0x3dc025,_0xd26f7['width'],_0x56379d+0x1);}}['_getPageBreakLineOffset'](_0x52ce9f,_0x32ab5f=null){const _0x1efe27=this['_paginationLookupPlugin']['pageBreaks'][_0x52ce9f]['offset'];return _0x1efe27?(_0x32ab5f||(_0x32ab5f=new _0x5ee1f0(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x1efe27-_0x32ab5f['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x19dab0,_0x4a43fd=!0x0){const _0x305ca8=this['editor']['editing']['view'];_0x305ca8['change'](_0x293ea1=>{for(const _0x3b7b91 of _0x305ca8['document']['roots'])_0x4a43fd?_0x293ea1['addClass'](_0x19dab0,_0x3b7b91):_0x293ea1['removeClass'](_0x19dab0,_0x3b7b91);});}}function G(_0x222179,_0x6c1b13,..._0x527be1){const t=_0x222179['t'];switch(_0x6c1b13){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)',..._0x527be1);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 _0x6c1b13;}}class C extends _0x34ee64{['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 _0x51542c=this['editor']['plugins']['get']('Pagination'),_0x35d045=this['editor']['plugins']['get'](w),_0x20ea3c=this['editor']['plugins']['get']($);this['bind']('isEnabled')['to'](_0x51542c),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x20ea3c),this['listenTo'](_0x35d045,'change:pageBreaks',(_0x263828,_0x2ae9d8,_0x41b7be,_0x12fafd)=>{this['totalPages']=_0x41b7be['length'],this['_updatePageBreakMarkers'](_0x41b7be,_0x12fafd);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xb3146a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xae7f19;for(const _0x555286 in _0xb3146a){const _0x341432=_0x555286,_0x332f67=_0xb3146a[_0x341432];if('paginationLicenseKeyValid'==_0x332f67||'paginationLicenseKeyInvalid'==_0x332f67||'paginationLicenseKeyExpired'==_0x332f67||'paginationLicenseKeyDomainLimit'==_0x332f67||'paginationLicenseKeyNotAllowed'==_0x332f67||'paginationLicenseKeyEvaluationLimit'==_0x332f67||'paginationLicenseKeyUsageLimit'==_0x332f67){delete _0xb3146a[_0x341432],_0xae7f19=_0x332f67,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0xae7f19&&_0xb3146a['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0xae7f19&&_0xb3146a['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0xae7f19&&_0xb3146a['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0xae7f19&&_0xb3146a['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0xae7f19&&_0xb3146a['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0xae7f19&&_0xb3146a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x59c8f2){if(!this['isEnabled'])return;this['editor']['plugins']['get']($)['scrollToPage'](this['_validatePageNumber'](_0x59c8f2));}['moveSelectionToPage'](_0x36bc7e){if(!this['isEnabled'])return;const _0x356571=this['editor'],_0x2851b8=this['editor']['plugins']['get'](w)['pageBreaks'][_0x36bc7e-0x1];_0x2851b8&&_0x356571['model']['change'](_0x20db3b=>{switch(_0x2851b8['type']){case'manual':{const _0x2ad4dd=_0x356571['model']['schema']['getNearestSelectionRange'](_0x2851b8['modelRange']['end'],'forward');_0x20db3b['setSelection'](_0x2ad4dd);break;}case'element':{const _0x573004=_0x356571['model']['schema']['getNearestSelectionRange'](_0x2851b8['modelRange']['start'],'forward');_0x20db3b['setSelection'](_0x573004);break;}case'text':{const _0x59d653=_0x2851b8['modelRange']['start'];if(_0x59d653['textNode']&&'\x20'===_0x59d653['textNode']['data'][_0x59d653['offset']]){const _0x2ea2b2=_0x20db3b['createPositionAt'](_0x59d653['parent'],_0x59d653['offset']+0x1);_0x20db3b['setSelection'](_0x2ea2b2);}else _0x20db3b['setSelection'](_0x2851b8['modelRange']);}}_0x356571['editing']['view']['focus']();});}['goToNextPage'](){const _0x27dd4f=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x27dd4f),this['scrollToPage'](_0x27dd4f);}['goToPreviousPage'](){const _0x4db41d=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x4db41d),this['scrollToPage'](_0x4db41d);}['_updatePageBreakMarkers'](_0x465740,_0x23c3e9){const _0x397481=this['editor']['model'];this['isEnabled']&&_0x397481['change'](_0x3332ab=>{for(let _0xc0c6a4=0x1;_0xc0c6a4<_0x465740['length'];_0xc0c6a4++){const _0x425bc0=_0x465740[_0xc0c6a4]['modelRange'],_0x358d53='pagination:'+(_0xc0c6a4+0x1);_0x397481['markers']['has'](_0x358d53)?_0x3332ab['updateMarker'](_0x358d53,{'range':_0x425bc0}):_0x3332ab['addMarker'](_0x358d53,{'range':_0x425bc0,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x3dc7e3=_0x465740['length'];_0x3dc7e3<_0x23c3e9['length'];_0x3dc7e3++){const _0x4fa533='pagination:'+(_0x3dc7e3+0x1);_0x397481['markers']['has'](_0x4fa533)&&_0x3332ab['removeMarker'](_0x4fa533);}});}['_setUpDataDowncastConversion'](){const _0x2ce5b4='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x3a2dfd=>{_0x3a2dfd['on']('addMarker:'+_0x2ce5b4,(_0x47332d,{markerRange:_0x2b8008,markerName:_0x18c8f7},_0x4d82b6)=>{if(!_0x4d82b6['options']['pagination'])return;if(!_0x4d82b6['consumable']['consume'](_0x2b8008,_0x47332d['name']))return;const _0x483358=_0x2b8008['getContainedElement']();let _0xe8c3ba=_0x483358?_0x4d82b6['mapper']['toViewElement'](_0x483358):null;if(!_0xe8c3ba){const _0x2f70c3=_0x2b8008['start'];if(_0x4d82b6['schema']['checkChild'](_0x2f70c3,'$text')){const _0x56d644=_0x4d82b6['mapper']['toViewPosition'](_0x2f70c3);_0xe8c3ba=_0x4d82b6['writer']['createContainerElement']('span'),_0xe8c3ba['getFillerOffset']=()=>null,_0x4d82b6['writer']['insert'](_0x56d644,_0xe8c3ba);}else{const _0x4e1793=_0x2f70c3['nodeAfter'];_0xe8c3ba=_0x4d82b6['mapper']['toViewElement'](_0x4e1793);}}for(;_0xe8c3ba['parent']!==_0xe8c3ba['root']&&0x0===_0xe8c3ba['index'];)_0xe8c3ba=_0xe8c3ba['parent'];const _0x2a9e02=_0x18c8f7['substring'](0xb);_0xe8c3ba['hasClass']('page-break')||(_0x4d82b6['writer']['setStyle']('page-break-before','always',_0xe8c3ba),_0x4d82b6['writer']['setAttribute']('data-pagination-page',_0x2a9e02,_0xe8c3ba),_0x4d82b6['mapper']['bindElementToMarker'](_0xe8c3ba,_0x18c8f7)),_0x47332d['stop']();});});}['_setupKeystrokes'](){const _0x18b19e=this['editor'];_0x18b19e['keystrokes']['set']('Shift+Pageup',(_0x498837,_0x52d39f)=>{this['goToPreviousPage'](),_0x52d39f();}),_0x18b19e['keystrokes']['set']('Shift+Pagedown',(_0x3b1c56,_0x4b9ee4)=>{this['goToNextPage'](),_0x4b9ee4();}),_0x18b19e['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':G(_0x18b19e['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':G(_0x18b19e['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':G(_0x18b19e['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x3a5694){return _0x3a5694<0x1&&(_0x3a5694=0x1),_0x3a5694>this['totalPages']&&(_0x3a5694=this['totalPages']),_0x3a5694;}}class U extends _0x59330a{['pageNumberView'];constructor(_0x29723f){super(_0x29723f);const _0xcf01a6=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x27bfba(_0x29723f,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x38ffc8=>G(_0x29723f,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x38ffc8)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x548158=>!_0x548158),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0xcf01a6['if']('isEnabled','ck-disabled',_0x3784d8=>!_0x3784d8)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0xcf01a6['to']('totalPages')}]}]});}['render'](){super['render']();const _0xaddbb=this['pageNumberView']['element'],_0x2ea75a=_0xc48e0a=>{this['pageNumberView']['element']['value']=String(_0xc48e0a);};_0x2ea75a(this['pageNumber']),this['on']('change:pageNumber',(_0x2b2409,_0x486b8b,_0x201e5d)=>{_0x2ea75a(_0x201e5d);}),this['listenTo'](_0xaddbb,'keydown',(_0x46d977,_0x46446a)=>{if('ArrowUp'===_0x46446a['key']||'ArrowDown'===_0x46446a['key'])return void _0x46446a['stopPropagation']();if(_0x46446a['keyCode']!==_0x2b36f4['enter'])return;_0x46446a['preventDefault']();const _0x4a3c88=_0xaddbb['valueAsNumber'];Number['isNaN'](_0x4a3c88)?_0xaddbb['value']=String(this['pageNumber']):(_0xaddbb['checkValidity']()?this['pageNumber']=_0x4a3c88:_0x4a3c88>this['totalPages']?(this['pageNumber']=this['totalPages'],_0xaddbb['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0xaddbb['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0xaddbb,'blur',()=>{_0xaddbb['value']=String(this['pageNumber']);}),this['listenTo'](_0xaddbb,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class M extends _0x34ee64{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3548e7=this['editor'],_0x2cb1f8=_0x3548e7['plugins']['get']('PaginationEditing');_0x3548e7['ui']['componentFactory']['add']('pageNavigation',_0x520a7d=>{const _0x5a66fa=new U(_0x520a7d);return _0x5a66fa['bind']('pageNumber')['to'](_0x2cb1f8),_0x5a66fa['bind']('totalPages')['to'](_0x2cb1f8),_0x5a66fa['bind']('isEnabled')['to'](_0x2cb1f8),_0x5a66fa['on']('navigation',(_0x4fe6a8,_0x4e7d02)=>{_0x2cb1f8['moveSelectionToPage'](_0x4e7d02),_0x2cb1f8['scrollToPage'](_0x4e7d02);}),_0x5a66fa;}),_0x3548e7['ui']['componentFactory']['add']('nextPage',_0x57bdf8=>{const _0x490b62=new _0x574b27(_0x57bdf8);return _0x490b62['isEnabled']=!0x0,_0x490b62['label']=G(_0x3548e7['locale'],'Go\x20to\x20next\x20page'),_0x490b62['icon']=_0x47ac03,_0x490b62['tooltip']=!0x0,_0x490b62['keystroke']='Shift+PageDown',_0x490b62['bind']('isEnabled')['to'](_0x2cb1f8),this['listenTo'](_0x490b62,'execute',()=>{_0x2cb1f8['goToNextPage']();}),_0x490b62;}),_0x3548e7['ui']['componentFactory']['add']('previousPage',_0xb286a5=>{const _0x52b3a5=new _0x574b27(_0xb286a5);return _0x52b3a5['isEnabled']=!0x0,_0x52b3a5['label']=G(_0x3548e7['locale'],'Go\x20to\x20previous\x20page'),_0x52b3a5['icon']=_0x5efbbc,_0x52b3a5['tooltip']=!0x0,_0x52b3a5['keystroke']='Shift+PageUp',_0x52b3a5['bind']('isEnabled')['to'](_0x2cb1f8),this['listenTo'](_0x52b3a5,'execute',()=>{_0x2cb1f8['goToPreviousPage']();}),_0x52b3a5;});}}class j extends _0x34ee64{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[C,M];}constructor(_0x268865){super(_0x268865),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x3e973d=this['editor']['plugins']['get'](C);this['bind']('pageNumber')['to'](_0x3e973d),this['bind']('totalPages')['to'](_0x3e973d),_0x3454ce['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x25a9ff){this['editor']['plugins']['get'](C)['scrollToPage'](_0x25a9ff);}}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.0.0-alpha.10",
3
+ "version": "48.0.0-alpha.11",
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.0.0-alpha.10",
25
- "@ckeditor/ckeditor5-engine": "48.0.0-alpha.10",
26
- "@ckeditor/ckeditor5-icons": "48.0.0-alpha.10",
27
- "@ckeditor/ckeditor5-ui": "48.0.0-alpha.10",
28
- "@ckeditor/ckeditor5-utils": "48.0.0-alpha.10",
24
+ "@ckeditor/ckeditor5-core": "48.0.0-alpha.11",
25
+ "@ckeditor/ckeditor5-engine": "48.0.0-alpha.11",
26
+ "@ckeditor/ckeditor5-icons": "48.0.0-alpha.11",
27
+ "@ckeditor/ckeditor5-ui": "48.0.0-alpha.11",
28
+ "@ckeditor/ckeditor5-utils": "48.0.0-alpha.11",
29
29
  "es-toolkit": "1.45.1"
30
30
  },
31
31
  "files": [