@ckeditor/ckeditor5-pagination 48.0.0-alpha.2 → 48.0.0-alpha.4

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 _0xdb54e1}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x1b89ce,InputNumberView as _0x4d67b8,ButtonView as _0x5d4a55}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x29045d,global as _0x1f984f,Rect as _0x549341,uid as _0x587400,toUnit as _0xbc7100,first as _0xf42c5a,env as _0x5dfeed,ResizeObserver as _0x570fd7,keyCodes as _0x570225}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x5d8007}from'es-toolkit/compat';import{IconArrowDown as _0x500847,IconArrowUp as _0x3b15e5}from'@ckeditor/ckeditor5-icons/dist/index.js';class w extends _0xdb54e1{['_recalculatePageBreaksDebounced']=_0x5d8007(()=>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 _0x29045d('pagination-config-not-found',this['editor']['config']);const _0x3e2ea2=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x3e2ea2),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x5d108a,_0x1e41fe,_0xb30b70)=>{_0xb30b70&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x425ab2){const _0x14478e=_0x20f18e([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]),_0x266f3a=0xc82cb1e,_0x5399e4=0xc854fe6^_0x266f3a,_0x3ef368=window[_0x20f18e([0x44,0x61,0x74,0x65])][_0x20f18e([0x6e,0x6f,0x77])](),_0x22ed8e=_0x425ab2[_0x20f18e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x27432f=new window[(_0x20f18e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34fd3b=>{_0x22ed8e[_0x20f18e([0x6f,0x6e,0x63,0x65])](_0x20f18e([0x72,0x65,0x61,0x64,0x79]),_0x34fd3b);}),_0x19104={[_0x20f18e([0x6b,0x74,0x79])]:_0x20f18e([0x45,0x43]),[_0x20f18e([0x75,0x73,0x65])]:_0x20f18e([0x73,0x69,0x67]),[_0x20f18e([0x63,0x72,0x76])]:_0x20f18e([0x50,0x2d,0x32,0x35,0x36]),[_0x20f18e([0x78])]:_0x20f18e([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]),[_0x20f18e([0x79])]:_0x20f18e([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]),[_0x20f18e([0x61,0x6c,0x67])]:_0x20f18e([0x45,0x53,0x32,0x35,0x36])},_0x9a1051=_0x22ed8e[_0x20f18e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x20f18e([0x67,0x65,0x74])](_0x20f18e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x126adf(){let _0x41a6d3,_0x2aed5=null,_0x2b1768=null;try{if(_0x9a1051==_0x20f18e([0x47,0x50,0x4c]))return _0x20f18e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x41a6d3=_0x3601a1(),!_0x41a6d3)return _0x20f18e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x41a6d3[_0x20f18e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2b1768=_0x411535(_0x41a6d3[_0x20f18e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x41a6d3[_0x20f18e([0x6a,0x74,0x69])])),await _0x2044b9()?_0x138d26()?_0x2c5e01()?_0x20f18e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x56c56d()?(_0x41a6d3[_0x20f18e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x20f18e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2aed5=_0x313ce5(_0x20f18e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1e0cc7()):_0x20f18e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x20f18e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x20f18e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x20f18e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2c5e01(){const _0x3b46d7=[_0x20f18e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x20f18e([0x74,0x72,0x69,0x61,0x6c])][_0x20f18e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41a6d3[_0x20f18e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3ef368/0x3e8:0xe10*_0x5399e4;return _0x41a6d3[_0x20f18e([0x65,0x78,0x70])]<_0x3b46d7;}function _0x138d26(){const _0x419ce0=_0x41a6d3[_0x20f18e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x419ce0&&(!!_0x419ce0[_0x20f18e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20f18e([0x2a]))||!!_0x419ce0[_0x20f18e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20f18e([0x50,0x41,0x47])));}function _0x56c56d(){const _0x486bb1=_0x41a6d3[_0x20f18e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x486bb1||0x0==_0x486bb1[_0x20f18e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xda2c9d}=new URL(window[_0x20f18e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x486bb1[_0x20f18e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xda2c9d))return!0x0;const _0x26fa1b=_0xda2c9d[_0x20f18e([0x73,0x70,0x6c,0x69,0x74])](_0x20f18e([0x2e]));return _0x486bb1[_0x20f18e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ea221=>_0x3ea221[_0x20f18e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20f18e([0x2a])))[_0x20f18e([0x6d,0x61,0x70])](_0x183bdd=>_0x183bdd[_0x20f18e([0x73,0x70,0x6c,0x69,0x74])](_0x20f18e([0x2e])))[_0x20f18e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e4454=>_0x2e4454[_0x20f18e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x26fa1b[_0x20f18e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x20f18e([0x6d,0x61,0x70])](_0x147ec9=>Array(_0x26fa1b[_0x20f18e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x147ec9[_0x20f18e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x20f18e([0x66,0x69,0x6c,0x6c])](_0x147ec9[0x0]===_0x20f18e([0x2a])?_0x20f18e([0x2a]):'')[_0x20f18e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x147ec9))[_0x20f18e([0x73,0x6f,0x6d,0x65])](_0x1fc87d=>_0x26fa1b[_0x20f18e([0x65,0x76,0x65,0x72,0x79])]((_0x505866,_0x2382f9)=>_0x1fc87d[_0x2382f9]===_0x505866||_0x1fc87d[_0x2382f9]===_0x20f18e([0x2a])));}function _0x1e0cc7(){return _0x2aed5&&_0x2b1768?new window[(_0x20f18e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e4f86,_0x27fc0a)=>{_0x2aed5[_0x20f18e([0x74,0x68,0x65,0x6e])](_0x4e4f86,_0x27fc0a),_0x2b1768[_0x20f18e([0x74,0x68,0x65,0x6e])](_0x1a54a1=>{_0x1a54a1!=_0x20f18e([0x56,0x61,0x6c,0x69,0x64])&&_0x4e4f86(_0x1a54a1);},_0x27fc0a);}):_0x2aed5||_0x2b1768||_0x20f18e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x411535(_0x1cc649,_0x30c0c1){return new window[(_0x20f18e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x45cbf4=>{if(_0x489c35())return _0x45cbf4(_0x20f18e([0x56,0x61,0x6c,0x69,0x64]));_0x3ee562(),_0x22ed8e[_0x20f18e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x20f18e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3923cf=!0x1;const _0x102143=_0x587400();function _0x10cbd0(_0x4b5e03){return!!_0x4b5e03&&(typeof _0x4b5e03===_0x20f18e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4b5e03===_0x20f18e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4b5e03[_0x20f18e([0x74,0x68,0x65,0x6e])]===_0x20f18e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4b5e03[_0x20f18e([0x63,0x61,0x74,0x63,0x68])]===_0x20f18e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x525fe2(_0x4d4a47){_0x1313c0(_0x4d4a47)[_0x20f18e([0x74,0x68,0x65,0x6e])](_0x2c6c67=>{if(!_0x2c6c67||_0x2c6c67[_0x20f18e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x20f18e([0x6f,0x6b]))return _0x20f18e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2fc2d5(_0xa40e65(_0x102143+_0x30c0c1))!=_0x2c6c67[_0x20f18e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x20f18e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x20f18e([0x56,0x61,0x6c,0x69,0x64]);})[_0x20f18e([0x74,0x68,0x65,0x6e])](_0x4c05d7=>(_0x59b836(),_0x4c05d7),()=>{const _0x491c8c=_0x21b46e();return null==_0x491c8c?(_0x59b836(),_0x20f18e([0x56,0x61,0x6c,0x69,0x64])):_0x20f18e(_0x3ef368-_0x491c8c>(0x288e4f1e^_0x266f3a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x20f18e([0x74,0x68,0x65,0x6e])](_0x45cbf4)[_0x20f18e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x45cbf4(_0x20f18e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4d0b75=0xcb4259e^_0x266f3a;function _0x59b836(){const _0x10868d=_0x20f18e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2fc2d5(_0xa40e65(_0x1cc649)),_0x262bc9=_0x13165e(_0x2fc2d5(window[_0x20f18e([0x4d,0x61,0x74,0x68])][_0x20f18e([0x63,0x65,0x69,0x6c])](_0x3ef368/_0x4d0b75)));window[_0x20f18e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20f18e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x10868d,_0x262bc9);}function _0x21b46e(){const _0x13226d=_0x20f18e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2fc2d5(_0xa40e65(_0x1cc649)),_0x39048d=window[_0x20f18e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20f18e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13226d);return _0x39048d?window[_0x20f18e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13165e(_0x39048d),0x10)*_0x4d0b75:null;}function _0x1313c0(_0x5a7d82){return new window[(_0x20f18e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4fccc8,_0x2becd4)=>{_0x5a7d82[_0x20f18e([0x74,0x68,0x65,0x6e])](_0x4fccc8,_0x2becd4),window[_0x20f18e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2becd4,0xc831fde^_0x266f3a);});}}_0x22ed8e[_0x20f18e([0x6f,0x6e])](_0x20f18e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x365ed5,_0x3b87cc)=>{if(_0x3b87cc[0x0]!=_0x1cc649)return _0x45cbf4(_0x20f18e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3b87cc[0x1]={..._0x3b87cc[0x1],[_0x20f18e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x102143};},{[_0x20f18e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20f18e([0x68,0x69,0x67,0x68])}),_0x22ed8e[_0x20f18e([0x6f,0x6e])](_0x20f18e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3185ec=>{_0x10cbd0(_0x3185ec[_0x20f18e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3923cf=!0x0,_0x525fe2(_0x3185ec[_0x20f18e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x20f18e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20f18e([0x6c,0x6f,0x77])}),_0x27432f[_0x20f18e([0x74,0x68,0x65,0x6e])](()=>{_0x3923cf||_0x45cbf4(_0x20f18e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x489c35(){return _0x22ed8e[_0x20f18e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20f18e([0x76,0x69,0x65,0x77])][_0x20f18e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x20f18e([0x61,0x75,0x74,0x6f]);}function _0x3ee562(){_0x22ed8e[_0x20f18e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20f18e([0x76,0x69,0x65,0x77])][_0x20f18e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x20f18e([0x61,0x75,0x74,0x6f]);}}function _0x313ce5(_0x24d27e){const _0x5892b1=[new window[(_0x20f18e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5dff1c=>setTimeout(_0x5dff1c,0xc8bf5d2^_0x266f3a)),_0x27432f[_0x20f18e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x20f18e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cb33b=>{let _0x57dbbf=0x0;_0x22ed8e[_0x20f18e([0x6d,0x6f,0x64,0x65,0x6c])][_0x20f18e([0x6f,0x6e])](_0x20f18e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3f6496,_0x40ccba)=>{_0x40ccba[0x0][_0x20f18e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x57dbbf++,_0x57dbbf==(0xc82cef6^_0x266f3a)&&(_0x4cb33b(),_0x3f6496[_0x20f18e([0x6f,0x66,0x66])]());});}))];return window[_0x20f18e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x20f18e([0x72,0x61,0x63,0x65])](_0x5892b1)[_0x20f18e([0x74,0x68,0x65,0x6e])](()=>_0x24d27e);}async function _0x387d87(){await _0x27432f,_0x22ed8e[_0x20f18e([0x6d,0x6f,0x64,0x65,0x6c])][_0x20f18e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4d25d8,_0x22ed8e[_0x20f18e([0x6d,0x6f,0x64,0x65,0x6c])][_0x20f18e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4d25d8,_0x22ed8e[_0x20f18e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x20f18e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5e5030(_0x142081){const _0x2e8f9f=_0x368ac9();_0x22ed8e[_0x2e8f9f]=_0x20f18e([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x142081,_0x142081!=_0x20f18e([0x56,0x61,0x6c,0x69,0x64])&&_0x387d87();}function _0x368ac9(){const _0x5d1203=window[_0x20f18e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x20f18e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x20f18e([0x6e,0x6f,0x77])]())[_0x20f18e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x20f18e([0x2e]),'');let _0x3b2b3a=_0x20f18e([0x49]);for(let _0x1dc41a=0x0;_0x1dc41a<_0x5d1203[_0x20f18e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1dc41a+=0x2){let _0x32d2da=window[_0x20f18e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d1203[_0x20f18e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1dc41a,_0x1dc41a+0x2));_0x32d2da>=_0x14478e[_0x20f18e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x32d2da-=_0x14478e[_0x20f18e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3b2b3a+=_0x14478e[_0x32d2da];}return _0x3b2b3a;}function _0x3601a1(){const _0x5de764=_0x9a1051[_0x20f18e([0x73,0x70,0x6c,0x69,0x74])](_0x20f18e([0x2e]));if(0x3!=_0x5de764[_0x20f18e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x11d5e2(_0x5de764[0x1]);function _0x11d5e2(_0x4e5443){const _0x55330d=_0x58349f(_0x4e5443);return _0x55330d&&_0x5bdb78()?_0x55330d:null;function _0x5bdb78(){const _0x2024e7=_0x55330d[_0x20f18e([0x6a,0x74,0x69])],_0x35e9b5=window[_0x20f18e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2024e7[_0x20f18e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2024e7[_0x20f18e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x250875={..._0x55330d,[_0x20f18e([0x6a,0x74,0x69])]:_0x2024e7[_0x20f18e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2024e7[_0x20f18e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x250875[_0x20f18e([0x76,0x63])],_0xa40e65(_0x250875)==_0x35e9b5;}}}async function _0x2044b9(){let _0x599df9=!0x0;try{const _0x3d3279=_0x9a1051[_0x20f18e([0x73,0x70,0x6c,0x69,0x74])](_0x20f18e([0x2e])),[_0x21284c,_0x2efad0,_0x3b876b]=_0x3d3279;return _0x3f614b(_0x21284c),await _0xa6cdea(_0x21284c,_0x2efad0,_0x3b876b),_0x599df9;}catch{return!0x1;}function _0x3f614b(_0x46baac){const _0x1a39a4=_0x58349f(_0x46baac);_0x1a39a4&&_0x1a39a4[_0x20f18e([0x61,0x6c,0x67])]==_0x20f18e([0x45,0x53,0x32,0x35,0x36])||(_0x599df9=!0x1);}async function _0xa6cdea(_0x1d077a,_0x160042,_0x391ec8){const _0x258e7c=window[_0x20f18e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x20f18e([0x66,0x72,0x6f,0x6d])](_0xa0a681(_0x391ec8),_0x238634=>_0x238634[_0x20f18e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xeb6d6f=new window[(_0x20f18e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x20f18e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1d077a+_0x20f18e([0x2e])+_0x160042),_0x592e07=window[_0x20f18e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x20f18e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x592e07)return;const _0x46103e=await _0x592e07[_0x20f18e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x20f18e([0x6a,0x77,0x6b]),_0x19104,{[_0x20f18e([0x6e,0x61,0x6d,0x65])]:_0x20f18e([0x45,0x43,0x44,0x53,0x41]),[_0x20f18e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x20f18e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x20f18e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x592e07[_0x20f18e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x20f18e([0x6e,0x61,0x6d,0x65])]:_0x20f18e([0x45,0x43,0x44,0x53,0x41]),[_0x20f18e([0x68,0x61,0x73,0x68])]:{[_0x20f18e([0x6e,0x61,0x6d,0x65])]:_0x20f18e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x46103e,_0x258e7c,_0xeb6d6f)||(_0x599df9=!0x1);}}function _0x58349f(_0x447b77){return _0x447b77[_0x20f18e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x20f18e([0x65,0x79]))?JSON[_0x20f18e([0x70,0x61,0x72,0x73,0x65])](_0xa0a681(_0x447b77)):null;}function _0xa0a681(_0x384e7e){return window[_0x20f18e([0x61,0x74,0x6f,0x62])](_0x384e7e[_0x20f18e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x20f18e([0x2b]))[_0x20f18e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x20f18e([0x2f])));}function _0xa40e65(_0x109d06){let _0x5d41b7=0x1505;function _0x33b7c0(_0x1d5442){for(let _0x192b37=0x0;_0x192b37<_0x1d5442[_0x20f18e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x192b37++){const _0x44eb02=_0x1d5442[_0x20f18e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x192b37);_0x5d41b7=(_0x5d41b7<<0x5)+_0x5d41b7+_0x44eb02,_0x5d41b7&=_0x5d41b7;}}function _0x168ed0(_0x2098a8){Array[_0x20f18e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2098a8)?_0x2098a8[_0x20f18e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x168ed0):_0x2098a8&&typeof _0x2098a8==_0x20f18e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x20f18e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2098a8)[_0x20f18e([0x73,0x6f,0x72,0x74])]()[_0x20f18e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4fba6,_0x44972c])=>{_0x33b7c0(_0x4fba6),_0x168ed0(_0x44972c);}):_0x33b7c0(window[_0x20f18e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2098a8));}return _0x168ed0(_0x109d06),_0x5d41b7>>>0x0;}function _0x2fc2d5(_0x3a6998){return _0x3a6998[_0x20f18e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x20f18e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x20f18e([0x30]));}function _0x13165e(_0xb9f2df){return _0xb9f2df[_0x20f18e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x20f18e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x20f18e([0x6a,0x6f,0x69,0x6e])]('');}function _0x4d25d8(){}function _0x20f18e(_0x4f75f3){return _0x4f75f3['map'](_0x2960e8=>String['fromCharCode'](_0x2960e8))['join']('');}_0x5e5030(await _0x126adf());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x128497=this['editor'],_0x55d92a=_0x128497['editing']['view'],_0xfd5e59=this['_getAttachedDomRoot']();if(!_0xfd5e59||0x0===_0xfd5e59['childElementCount'])return void _0x128497['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x12b1ac,pageHeight:_0x5b22a4}=_0x128497['config']['get']('pagination'),{top:_0x171ff1,left:_0x40e737,bottom:_0x30f893,right:_0x540520}=this['_configuredPaddings'];this['_pagesContainer']=new _0x1b89ce(_0x128497['locale']);const _0x529e80=this['_pagesContainer'];_0x529e80['set']('class',''),_0x529e80['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x12b1ac,'width':_0x12b1ac,'height':'calc(\x20'+_0x5b22a4+'\x20-\x20'+_0x171ff1+'\x20-\x20'+_0x30f893+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x540520+'\x200\x20'+_0x40e737,'columnGap':'calc('+_0x40e737+'\x20+\x20'+_0x540520+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x529e80['bindTemplate']['to']('class')}}),_0x529e80['render'](),_0xfd5e59['parentNode']['insertBefore'](_0x529e80['element'],_0xfd5e59['nextSibling']),this['listenTo'](_0x55d92a,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x155f7a of this['editor']['editing']['view']['domRoots']['values']())if(_0x155f7a['ownerDocument']['body']['contains'](_0x155f7a))return _0x155f7a;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x31da3c=this['editor']['editing']['view'],_0x5abbc3=this['_pagesContainer'],_0x5b9340=this['_getAttachedDomRoot']();if(!_0x5b9340)return Promise['resolve']();for(_0x5abbc3['class']=['ck-reset','ck-pagination-view',..._0x5b9340['classList']]['join']('\x20');_0x5abbc3['element']['firstChild'];)_0x5abbc3['element']['firstChild']['remove']();const _0x5d1006=Array['from'](_0x31da3c['domRoots']);_0x5d1006['sort'](([,_0x23a639],[,_0x397012])=>_0x23a639['compareDocumentPosition'](_0x397012)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x2f1f17,_0x13e8fd]of _0x5d1006){const _0x14181f=_0x13e8fd['cloneNode'](!0x0);'attributeStyleMap'in _0x14181f&&_0x14181f['attributeStyleMap']['clear'](),_0x14181f['dataset']['rootName']=_0x2f1f17,_0x14181f['className']='ck-content\x20ck-pagination_enabled',_0x14181f['removeAttribute']('id'),_0x14181f['tabIndex']=-0x1,_0x5abbc3['element']['append'](_0x14181f);}const _0x4c7b7e=Array['from'](_0x5abbc3['element']['querySelectorAll']('img'));return function(_0x170c1f){return Promise['all'](_0x170c1f['map'](_0x3aff15=>Promise['race']([k(_0x3aff15),v(0x3e8)])));}(_0x4c7b7e)['then'](()=>{for(const _0x408bfb of _0x4c7b7e['filter'](_0x398a6e=>!_0x398a6e['closest']('table')))if(_0x408bfb['offsetParent']){const _0x438611=_0x1f984f['window']['getComputedStyle'](_0x408bfb),_0x1259fa=_0x1f984f['document']['createElement']('span');for(const _0xe6b6b2 of _0x438611)_0x1259fa['style']['setProperty'](_0xe6b6b2,_0x438611[_0xe6b6b2]);_0x1259fa['style']['backgroundImage']='url(\x20'+_0x408bfb['src']+'\x20)',_0x1259fa['style']['breakInside']='avoid','PICTURE'==_0x408bfb['parentElement']?.['tagName']?_0x408bfb['parentElement']['replaceWith'](_0x1259fa):_0x408bfb['replaceWith'](_0x1259fa);}return new Promise(_0xd256e6=>_0x1f984f['window']['requestAnimationFrame'](()=>_0xd256e6()));})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x3518c0=this['_pagesContainer']['element'];if(!_0x3518c0['ownerDocument']['body']['contains'](_0x3518c0))return;const _0x3b245d=new _0x549341(_0x3518c0)['excludeScrollbarsAndBorders'](),_0x3428f0=Math['floor'](_0x3b245d['width']+0x64),_0x2a00df=_(_0x3518c0,Math['floor'](_0x3b245d['left']-_0x3518c0['scrollLeft']),_0x3428f0,_0x3b245d['height'])['map'](_0x558026=>this['_mapPageStarterInfoToPageBreakInfo'](_0x558026))['filter'](_0x3c6c63=>!0x1!==_0x3c6c63);_0x2a00df['every'](_0x2c6d5b=>!!_0x2c6d5b)&&(this['pageBreaks']=_0x2a00df);}['_mapPageStarterInfoToPageBreakInfo'](_0x28de29){const _0x129285=this['editor']['editing']['view'],_0x8f5553=this['editor']['editing']['mapper'],_0x1825b4=_0x129285['domConverter'],_0x49c3bf=_0x28de29['path']['shift'](),_0x4c1551=this['_pagesContainer']['element']['childNodes'][_0x49c3bf]['dataset']['rootName'],_0x5893c4=_0x129285['getDomRoot'](_0x4c1551);if(!_0x5893c4)return null;const _0x4d8e78=function(_0x1a89d6,_0x3c699b){let _0x275ac7=_0x1a89d6;for(const _0x228eab of _0x3c699b['path']){if(!_0x275ac7)return null;_0x275ac7=_0x275ac7['childNodes'][_0x228eab];}return _0x275ac7;}(_0x5893c4,_0x28de29);if(!_0x4d8e78)return null;const _0x51d7d7=_0x1825b4['domPositionToView'](_0x4d8e78,_0x28de29['textOffset']||0x0);return _0x51d7d7?'manual'==_0x28de29['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x51d7d7,_0x4d8e78):'text'==_0x28de29['type']&&_0x8f5553['toModelPosition'](_0x51d7d7)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x51d7d7,_0x4d8e78,_0x28de29['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x51d7d7,_0x4d8e78,_0x28de29['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x17aa1d,_0x17db63){const _0xd07375=this['editor']['model'],_0x3ef8c0=this['editor']['editing']['mapper']['toModelElement'](_0x17aa1d['parent']),_0x5847d5=_0xd07375['createRangeOn'](_0x3ef8c0);return new b({'type':'manual','modelRange':_0x5847d5,'domNode':_0x17db63,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x26fb9d,_0x152b56,_0x55087d){const _0x44abbd=this['editor']['model'],_0x2d3be7=this['editor']['editing']['mapper'],_0x2f3888=this['editor']['editing']['view']['domConverter'];if(_0x55087d>=_0x152b56['length'])return null;const _0x5d5c23=_0x2d3be7['toModelPosition'](_0x26fb9d),_0x47e126=_0x44abbd['createRange'](_0x5d5c23),_0xdfbae7=_0x2d3be7['findMappedViewAncestor'](_0x26fb9d),_0x2985fd=_0x2f3888['mapViewToDom'](_0xdfbae7);return new b({'type':'text','modelRange':_0x47e126,'domNode':_0x152b56,'offset':P(_0x152b56,_0x55087d,_0x2985fd)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x3cace2,_0x23cdb0,_0x32bf02){const _0x4967eb=this['editor']['model'],_0x598231=this['editor']['editing'],_0x1037f0=_0x598231['mapper'],_0x5a33a7=_0x598231['view']['domConverter'],_0x370036=_0x1037f0['findMappedViewAncestor'](_0x3cace2),_0x54d780=_0x1037f0['toModelElement'](_0x370036);if(!_0x54d780||_0x54d780['is']('element','$root'))return!0x1;const _0x4b01b3=function(_0xdcad13){const _0x53c9c7=_0xdcad13['parent'],_0x34134e=_0x53c9c7['root']['document']['model'],_0x2c6ef8=_0x53c9c7['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x1f817f=null;for(const _0xe0b5c4 of _0x2c6ef8){if(_0xe0b5c4['is']('rootElement'))return _0x1f817f;if(!_0x34134e['createPositionBefore'](_0xe0b5c4)['isTouching'](_0xdcad13))return _0x1f817f;_0x1f817f=_0xe0b5c4;}}(_0x4967eb['createPositionBefore'](_0x54d780)),_0x35e723=_0x4b01b3||_0x54d780;let _0x4cf89b=_0x1037f0['toViewElement'](_0x35e723),_0x44981e=_0x4967eb['createRangeOn'](_0x35e723);const _0x306e80=_0x4967eb['createPositionBefore'](_0x35e723)['nodeBefore'];if(_0x306e80&&_0x306e80['is']('element','imageBlock')){const _0x20be5a=_0x1037f0['toViewElement'](_0x306e80),_0xe23efa=_0x5a33a7['mapViewToDom'](_0x20be5a),_0x48f926=_0x1f984f['window']['getComputedStyle'](_0xe23efa)['float'];'left'!=_0x48f926&&'right'!=_0x48f926||(_0x44981e=_0x4967eb['createRangeOn'](_0x306e80));}for(;_0x4cf89b['parent']!==_0x4cf89b['root']&&0x0===_0x4cf89b['index'];)_0x4cf89b=_0x4cf89b['parent'];const _0x1cc76e=new _0x549341(I(_0x23cdb0)?_0x23cdb0:x(_0x23cdb0)),_0x3bf727=_0x32bf02?_0x1cc76e['height']-_0x32bf02:0x0,_0xa12572=_0x5a33a7['mapViewToDom'](_0x4cf89b),_0x5e73e8=new _0x549341(_0xa12572);return new b({'type':'element','modelRange':_0x44981e,'domNode':_0xa12572,'offset':Math['round'](_0x3bf727)||_0x370036!=y(_0x3cace2)?_0x3bf727+_0x1cc76e['top']-_0x5e73e8['top']:0x0});}get['_configuredPaddings'](){const _0x153063=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x153063);}static['_findPageStarterInfos'](_0x1aa5f6,_0x19ae8c,_0x3b8625,_0x5850f2,_0x1ff0ea){return _(_0x1aa5f6,_0x19ae8c,_0x3b8625,_0x5850f2,_0x1ff0ea);}}class b{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x403925,modelRange:_0x38517c,domNode:_0x9d8309,offset:_0x2f1275}){this['type']=_0x403925,this['modelRange']=_0x38517c,this['_domNode']=_0x9d8309,this['_offset']=_0x2f1275;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x20b3d7=new _0x549341(I(this['_domNode'])?this['_domNode']:x(this['_domNode']));return'manual'==this['type']?_0x20b3d7['top']+_0x20b3d7['height']/0x2:_0x20b3d7['top']+this['_offset'];}}function P(_0x11538b,_0x3b536c,_0x358a20){const _0x33e8c4=x(_0x11538b),_0x38ef1e=function(_0x55a5a5){const _0x24d87d=_0x1f984f['document']['createRange']();return _0x24d87d['selectNodeContents'](_0x55a5a5),_0x24d87d;}(_0x358a20);let _0x2b9269;_0x2b9269=0x0==_0x3b536c?L(_0x38ef1e['startContainer'],_0x38ef1e['startOffset'],_0x11538b['parentNode'],Array['from'](_0x11538b['parentNode']['childNodes'])['indexOf'](_0x11538b)):L(_0x38ef1e['startContainer'],_0x38ef1e['startOffset'],_0x11538b,_0x3b536c);const _0x3b04f7=L(_0x11538b,_0x3b536c,_0x38ef1e['endContainer'],_0x38ef1e['endOffset']),_0x315d4a=new _0x549341(_0x2b9269)['bottom'];return(new _0x549341(_0x3b04f7)['top']+_0x315d4a)/0x2-new _0x549341(_0x33e8c4)['top'];}function y(_0x282f64){let _0x13a2ab=_0x282f64['parent'];for(;_0x13a2ab['is']('$text')||_0x13a2ab['is']('attributeElement');)_0x13a2ab=_0x13a2ab['parent'];return _0x13a2ab;}function k(_0x1c042c){return _0x1c042c['hasAttribute']('width')&&_0x1c042c['hasAttribute']('height')?Promise['resolve']():new Promise(_0x12d24a=>{function _0x211e09(){_0x1c042c['removeEventListener']('load',_0x211e09),_0x1c042c['removeEventListener']('error',_0x211e09),_0x12d24a();}_0x1c042c['complete']?_0x12d24a():(_0x1c042c['addEventListener']('load',_0x211e09),_0x1c042c['addEventListener']('error',_0x211e09));});}function v(_0x284705){return new Promise(_0x219f88=>setTimeout(_0x219f88,_0x284705));}function x(_0xc6f0fc){const _0x6bf8a6=_0x1f984f['document']['createRange']();return _0x6bf8a6['selectNode'](_0xc6f0fc),_0x6bf8a6;}function N(_0x3180e2,_0x1c3a40,_0x26a543){const _0x381ccc=_0x1f984f['document']['createRange']();return _0x381ccc['setStart'](_0x3180e2,_0x1c3a40),_0x381ccc['setEnd'](_0x3180e2,_0x26a543),_0x381ccc;}function L(_0x47f76e,_0xee7220,_0x16fbfd,_0x19e7e0){const _0x401880=_0x1f984f['document']['createRange']();return _0x401880['setStart'](_0x47f76e,_0xee7220),_0x401880['setEnd'](_0x16fbfd,_0x19e7e0),_0x401880;}function _(_0x33e215,_0x8dc8e7,_0xc6ef4f,_0x421f73,_0x1e98d2){const _0x4c12e2=[];for(const [_0x7c27fb,_0x1fb31c]of _0x33e215['childNodes']['entries']()){let _0x23edfa=[];I(_0x1fb31c)&&_0x1fb31c['offsetParent']&&['static','relative']['includes'](_0x1f984f['window']['getComputedStyle'](_0x1fb31c)['position'])?_0x23edfa=S(_0x1fb31c,_0x7c27fb,_0x8dc8e7,_0xc6ef4f,_0x421f73,_0x1e98d2):O(_0x1fb31c)&&(_0x23edfa=E(_0x1fb31c,_0x7c27fb,_0x8dc8e7,_0xc6ef4f,_0x1e98d2)),_0x23edfa['length']&&(_0x4c12e2['push'](..._0x23edfa),_0x8dc8e7+=_0x23edfa['length']*_0xc6ef4f,_0x1e98d2=!0x1);}return _0x4c12e2;}function S(_0xf286f8,_0x30382e,_0x2f2629,_0x236e1c,_0x22e571,_0x4d7aef){const _0x471ceb=[];var _0x9005b0;if((_0x9005b0=_0xf286f8['previousSibling'])&&I(_0x9005b0)&&Boolean(_0x9005b0['classList']['contains']('page-break')||_0x9005b0['closest']('.page-break'))&&(_0x471ceb['push']({'type':'manual','offset':0x0,'path':[_0x30382e-0x1]}),_0x4d7aef=!0x0),'table-row'==_0x1f984f['window']['getComputedStyle'](_0xf286f8)['display']){let _0x40dc80=0x0,_0x482189=!0x1;for(const _0x453060 of _0xf286f8['getClientRects']())_0x40dc80+=_0x453060['height'],_0x453060['left']>=_0x2f2629&&(_0x482189=!0x0);if(_0x40dc80<_0x22e571&&_0x482189)return _0x4d7aef||_0x471ceb['push']({'type':'element','offset':0x0,'path':[_0x30382e]}),_0x471ceb;}const _0x1297d2=_0xf286f8['closest']('figure.image');if(_0x1297d2&&function(_0x1aa0c7){let _0x42dc17=!0x1;const _0x5081ab=_0x1aa0c7['parentElement'],_0x46d673=_0x5081ab['dataset']['rootName'],_0x4bde3f=_0x1aa0c7['nextElementSibling'],_0x4ae85d=_0x1aa0c7['previousElementSibling'],_0x51b495=_0x4bde3f&&_0x1f984f['window']['getComputedStyle'](_0x4bde3f)['float'],_0x5d3524=_0x4bde3f&&'ck-fake-selection-container'===_0x4bde3f['className'];!_0x46d673||_0x4bde3f||_0x4ae85d||(_0x42dc17=!0x0),_0x46d673&&!_0x4ae85d&&_0x5d3524&&(_0x42dc17=!0x0),_0x46d673&&!_0x4ae85d&&'none'!==_0x51b495&&(_0x42dc17=!0x0);if(_0x42dc17)return!0x1;return!0x0;}(_0x1297d2)){const _0x4ca3cb=_0x1f984f['window']['getComputedStyle'](_0x1297d2)['float'];if('left'==_0x4ca3cb||'right'==_0x4ca3cb)return _0x471ceb;}const _0x34ab35=_(_0xf286f8,_0x2f2629,_0x236e1c,_0x22e571,_0x4d7aef);if(_0x34ab35['length']){for(const _0x3d72c5 of _0x34ab35)_0x471ceb['push']({'type':_0x3d72c5['type'],'offset':_0x3d72c5['offset'],'textOffset':_0x3d72c5['textOffset'],'path':[_0x30382e,..._0x3d72c5['path']]}),_0x2f2629+=_0x236e1c,_0x4d7aef=!0x1;return _0x471ceb;}return _0x471ceb['push'](...function(_0x3d7dc7,_0x344288,_0x18ec89,_0x290a6f,_0x158622){const _0x134105=[];if('table-cell'==_0x1f984f['window']['getComputedStyle'](_0x3d7dc7)['display'])return[];const _0x267670=[];for(const _0x1f2760 of _0x3d7dc7['getClientRects']())if(_0x1f2760['left']>=_0x18ec89){for(const _0x14be4c of _0x267670)_0x14be4c['height']+=_0x1f2760['height'];_0x267670['push']({'height':_0x1f2760['height']}),_0x18ec89+=_0x290a6f;}for(const _0x1ee4d8 of _0x267670)_0x158622||_0x134105['push']({'type':'element','offset':_0x1ee4d8['height'],'textOffset':0x0,'path':[_0x344288]}),_0x158622=!0x1;return _0x134105;}(_0xf286f8,_0x30382e,_0x2f2629,_0x236e1c,_0x4d7aef)),_0x471ceb;}function E(_0x3b6891,_0x244985,_0xe47f38,_0x40c6f8,_0x2ce3b2){const _0x264faa=x(_0x3b6891),_0x436c40=[];let _0x5c67d3=0x0;for(const _0x184377 of _0x264faa['getClientRects']())if(_0x184377['left']>=_0xe47f38){const _0x10c861=R(_0x3b6891,_0x5c67d3,_0xe47f38,_0x40c6f8);_0x2ce3b2||_0x436c40['push']({'type':'text','path':[_0x244985],'textOffset':_0x10c861}),_0x5c67d3=_0x10c861,_0xe47f38+=_0x40c6f8,_0x2ce3b2=!0x1;}return _0x436c40;}function R(_0x4b2d44,_0x79abaa,_0xfc3b4,_0x207c09){let _0x16b697=_0x79abaa,_0x37c74a=_0x4b2d44['length'];for(;_0x37c74a-_0x16b697>0x1;){const _0x1b33ca=Math['ceil']((_0x16b697+_0x37c74a)/0x2);K(N(_0x4b2d44,_0x16b697,_0x1b33ca),_0xfc3b4,_0x207c09)?_0x37c74a=_0x1b33ca:_0x16b697=_0x1b33ca;}return _0x16b697;}function K(_0x5a9b7e,_0x2b58da,_0x1ab3a5){for(const _0x2617ec of _0x5a9b7e['getClientRects']())if(_0x2617ec['left']>=_0x2b58da&&_0x2617ec['left']<_0x2b58da+_0x1ab3a5)return!0x0;return!0x1;}function I(_0x19246a){return _0x19246a['nodeType']==Node['ELEMENT_NODE'];}function O(_0x577778){return _0x577778['nodeType']==Node['TEXT_NODE'];}const B=/* #__PURE__ -- @preserve */
24
- _0xbc7100('px');class T extends _0x1b89ce{constructor(){super();const _0x4e9809=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x4e9809['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x4e9809['if']('isVisible','ck-hidden',_0x38299f=>!_0x38299f)],'style':{'left':_0x4e9809['to']('left',_0x4ce743=>B(_0x4ce743)),'top':_0x4e9809['to']('top',_0x2953e2=>B(_0x2953e2)),'width':_0x4e9809['to']('width',_0x37f8ac=>B(_0x37f8ac))}}});}}class A{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x522166){this['_viewCollection']=_0x522166['ui']['view']['body'];}['destroy'](){for(const _0xc61c0 of this['_hiddenLines'])_0xc61c0['destroy']();}['cleanLines'](){for(const _0x40fdd7 of this['_visibleLines'])_0x40fdd7['isVisible']=!0x1,this['_hiddenLines']['add'](_0x40fdd7);this['_visibleLines']['clear']();}['showLine'](_0x1e1c97,_0x37e263,_0x1587a4,_0x2bfd9a){let _0x3b8e48;this['_hiddenLines']['size']?(_0x3b8e48=_0xf42c5a(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x3b8e48)):_0x3b8e48=new T(),_0x3b8e48['set']({'pageNumber':_0x2bfd9a,'left':_0x1e1c97,'top':_0x37e263,'width':_0x1587a4}),_0x3b8e48['isVisible']=!0x0,this['_viewCollection']['has'](_0x3b8e48)||this['_viewCollection']['add'](_0x3b8e48),this['_visibleLines']['add'](_0x3b8e48);}['setViewCollection'](_0x79cf7b){for(const _0x59c424 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x59c424)&&this['_viewCollection']['remove'](_0x59c424);this['_viewCollection']=_0x79cf7b;}}const D='ck-pagination_enabled';class $ extends _0xdb54e1{['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',(_0xf1ba7d,_0x2d21f6,_0x2cab3a)=>{_0x2cab3a||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0x2cab3a);});}['destroy'](){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x1cc357){if(!this['isEnabled'])return;const _0x499093=_0x1cc357>0x1?this['_getPageBreakLineOffset'](_0x1cc357-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x499093-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x5dfeed['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x7b1502=this['editor'],_0x25f12a=this['_getAttachedDomRoot']();_0x25f12a?(this['_scrollableEditingRootDomAncestor']&&_0x7b1502['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x5e1931){let _0x2ada2c=_0x5e1931;do{_0x2ada2c=_0x2ada2c['parentElement'];const _0x54f677=_0x1f984f['window']['getComputedStyle'](_0x2ada2c)['overflowY'];if('auto'==_0x54f677||'scroll'==_0x54f677)break;}while('BODY'!=_0x2ada2c['tagName']);return _0x2ada2c;}(_0x25f12a),_0x7b1502['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x570fd7(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x7b1502['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x4f7fdc=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x4f7fdc['ui']['view']['listenTo'](_0x1f984f['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x4f7fdc['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x7eafab of this['editor']['editing']['view']['domRoots']['values']())if(_0x7eafab['ownerDocument']['body']['contains'](_0x7eafab))return _0x7eafab;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x28008d=this['_getAttachedDomRoot'](),_0xf10f06=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x28008d||0x1==_0xf10f06['length'])return void(this['pageNumber']=0x1);const _0xc33ac0=new _0x549341(_0x28008d)['excludeScrollbarsAndBorders'](),_0x3b1cdf=new _0x549341(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x4d6418=_0x3b1cdf['top']+_0x3b1cdf['height']/0x3;let _0x511500=!0x1;const _0x230a7e=[];for(let _0x34e71e=0x1;_0x34e71e<_0xf10f06['length'];_0x34e71e++){const _0x185c7c=this['_getPageBreakLineOffset'](_0x34e71e,_0x3b1cdf);if(!_0x185c7c)continue;const _0x20aa0b=_0x3b1cdf['top']+_0x185c7c-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x230a7e['push']({'pageOffsetTop':_0x20aa0b,'domRootRect':_0xc33ac0,'domScrollableRect':_0x3b1cdf,'pageNumber':_0x34e71e}),_0x20aa0b>_0x4d6418&&!_0x511500&&(this['pageNumber']=_0x34e71e,_0x511500=!0x0);}this['_renderPageBreakLines'](_0x230a7e),_0x511500||(this['pageNumber']=_0xf10f06['length']);}['_renderPageBreakLines'](_0x2ac9fe){const {scrollX:_0x5f2821,scrollY:_0x51af38}=_0x1f984f['window'];if(_0x2ac9fe['length']){for(const {domScrollableRect:_0x920d8d,pageOffsetTop:_0x43649f,domRootRect:_0x1e3f0d,pageNumber:_0x294f60}of _0x2ac9fe)_0x920d8d['top']<_0x43649f&&_0x43649f<_0x920d8d['bottom']&&this['linesRepository']['showLine'](_0x1e3f0d['left']+_0x5f2821,_0x43649f+_0x51af38,_0x1e3f0d['width'],_0x294f60+0x1);}}['_getPageBreakLineOffset'](_0x2c2d7a,_0x1cd66e=null){const _0x1de144=this['_paginationLookupPlugin']['pageBreaks'][_0x2c2d7a]['offset'];return _0x1de144?(_0x1cd66e||(_0x1cd66e=new _0x549341(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x1de144-_0x1cd66e['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x4799b0,_0xc8b87=!0x0){const _0xc39db=this['editor']['editing']['view'];_0xc39db['change'](_0x5e0080=>{for(const _0x532fe8 of _0xc39db['document']['roots'])_0xc8b87?_0x5e0080['addClass'](_0x4799b0,_0x532fe8):_0x5e0080['removeClass'](_0x4799b0,_0x532fe8);});}}function G(_0x31d0f5,_0x12c0f3,..._0x54a0ba){const t=_0x31d0f5['t'];switch(_0x12c0f3){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)',..._0x54a0ba);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 _0x12c0f3;}}class C extends _0xdb54e1{['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 _0x2a9448=this['editor']['plugins']['get']('Pagination'),_0xc16144=this['editor']['plugins']['get'](w),_0x199a49=this['editor']['plugins']['get']($);this['bind']('isEnabled')['to'](_0x2a9448),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x199a49),this['listenTo'](_0xc16144,'change:pageBreaks',(_0x34f33d,_0x449404,_0x15d722,_0x119486)=>{this['totalPages']=_0x15d722['length'],this['_updatePageBreakMarkers'](_0x15d722,_0x119486);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1b5991=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1d56e7;for(const _0x4f751b in _0x1b5991){const _0x4cedcf=_0x4f751b,_0x47a97d=_0x1b5991[_0x4cedcf];if('paginationLicenseKeyValid'==_0x47a97d||'paginationLicenseKeyInvalid'==_0x47a97d||'paginationLicenseKeyExpired'==_0x47a97d||'paginationLicenseKeyDomainLimit'==_0x47a97d||'paginationLicenseKeyNotAllowed'==_0x47a97d||'paginationLicenseKeyEvaluationLimit'==_0x47a97d||'paginationLicenseKeyUsageLimit'==_0x47a97d){delete _0x1b5991[_0x4cedcf],_0x1d56e7=_0x47a97d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x1d56e7&&_0x1b5991['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x1d56e7&&_0x1b5991['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x1d56e7&&_0x1b5991['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x1d56e7&&_0x1b5991['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x1d56e7&&_0x1b5991['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x1d56e7&&_0x1b5991['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x48ced6){if(!this['isEnabled'])return;this['editor']['plugins']['get']($)['scrollToPage'](this['_validatePageNumber'](_0x48ced6));}['moveSelectionToPage'](_0x11bd6e){if(!this['isEnabled'])return;const _0xf2168=this['editor'],_0x43cc82=this['editor']['plugins']['get'](w)['pageBreaks'][_0x11bd6e-0x1];_0x43cc82&&_0xf2168['model']['change'](_0x395de9=>{switch(_0x43cc82['type']){case'manual':{const _0x48a135=_0xf2168['model']['schema']['getNearestSelectionRange'](_0x43cc82['modelRange']['end'],'forward');_0x395de9['setSelection'](_0x48a135);break;}case'element':{const _0x31a66c=_0xf2168['model']['schema']['getNearestSelectionRange'](_0x43cc82['modelRange']['start'],'forward');_0x395de9['setSelection'](_0x31a66c);break;}case'text':{const _0x198403=_0x43cc82['modelRange']['start'];if(_0x198403['textNode']&&'\x20'===_0x198403['textNode']['data'][_0x198403['offset']]){const _0x4d94d7=_0x395de9['createPositionAt'](_0x198403['parent'],_0x198403['offset']+0x1);_0x395de9['setSelection'](_0x4d94d7);}else _0x395de9['setSelection'](_0x43cc82['modelRange']);}}_0xf2168['editing']['view']['focus']();});}['goToNextPage'](){const _0x1adde3=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x1adde3),this['scrollToPage'](_0x1adde3);}['goToPreviousPage'](){const _0x527cd7=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x527cd7),this['scrollToPage'](_0x527cd7);}['_updatePageBreakMarkers'](_0x345ee9,_0x281163){const _0x9c581=this['editor']['model'];this['isEnabled']&&_0x9c581['change'](_0x1e94e5=>{for(let _0x37ba6c=0x1;_0x37ba6c<_0x345ee9['length'];_0x37ba6c++){const _0x2096a1=_0x345ee9[_0x37ba6c]['modelRange'],_0x2ab440='pagination:'+(_0x37ba6c+0x1);_0x9c581['markers']['has'](_0x2ab440)?_0x1e94e5['updateMarker'](_0x2ab440,{'range':_0x2096a1}):_0x1e94e5['addMarker'](_0x2ab440,{'range':_0x2096a1,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x21e2b4=_0x345ee9['length'];_0x21e2b4<_0x281163['length'];_0x21e2b4++){const _0x23b72a='pagination:'+(_0x21e2b4+0x1);_0x9c581['markers']['has'](_0x23b72a)&&_0x1e94e5['removeMarker'](_0x23b72a);}});}['_setUpDataDowncastConversion'](){const _0x4a7fa1='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x3c2dd5=>{_0x3c2dd5['on']('addMarker:'+_0x4a7fa1,(_0x144f89,{markerRange:_0x36e62c,markerName:_0x40f7a1},_0x13ff45)=>{if(!_0x13ff45['options']['pagination'])return;if(!_0x13ff45['consumable']['consume'](_0x36e62c,_0x144f89['name']))return;const _0x4314f5=_0x36e62c['getContainedElement']();let _0x186887=_0x4314f5?_0x13ff45['mapper']['toViewElement'](_0x4314f5):null;if(!_0x186887){const _0x2fefce=_0x36e62c['start'];if(_0x13ff45['schema']['checkChild'](_0x2fefce,'$text')){const _0x129e61=_0x13ff45['mapper']['toViewPosition'](_0x2fefce);_0x186887=_0x13ff45['writer']['createContainerElement']('span'),_0x186887['getFillerOffset']=()=>null,_0x13ff45['writer']['insert'](_0x129e61,_0x186887);}else{const _0x690377=_0x2fefce['nodeAfter'];_0x186887=_0x13ff45['mapper']['toViewElement'](_0x690377);}}for(;_0x186887['parent']!==_0x186887['root']&&0x0===_0x186887['index'];)_0x186887=_0x186887['parent'];const _0x469bd8=_0x40f7a1['substring'](0xb);_0x186887['hasClass']('page-break')||(_0x13ff45['writer']['setStyle']('page-break-before','always',_0x186887),_0x13ff45['writer']['setAttribute']('data-pagination-page',_0x469bd8,_0x186887),_0x13ff45['mapper']['bindElementToMarker'](_0x186887,_0x40f7a1)),_0x144f89['stop']();});});}['_setupKeystrokes'](){const _0x8b19f0=this['editor'];_0x8b19f0['keystrokes']['set']('Shift+Pageup',(_0x516b1b,_0x21a5a3)=>{this['goToPreviousPage'](),_0x21a5a3();}),_0x8b19f0['keystrokes']['set']('Shift+Pagedown',(_0x38a6ab,_0x1e8d5c)=>{this['goToNextPage'](),_0x1e8d5c();}),_0x8b19f0['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':G(_0x8b19f0['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':G(_0x8b19f0['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':G(_0x8b19f0['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x482247){return _0x482247<0x1&&(_0x482247=0x1),_0x482247>this['totalPages']&&(_0x482247=this['totalPages']),_0x482247;}}class U extends _0x1b89ce{['pageNumberView'];constructor(_0x463443){super(_0x463443);const _0x104fe7=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x4d67b8(_0x463443,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x10b866=>G(_0x463443,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x10b866)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x353155=>!_0x353155),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x104fe7['if']('isEnabled','ck-disabled',_0x40b60b=>!_0x40b60b)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x104fe7['to']('totalPages')}]}]});}['render'](){super['render']();const _0x189bac=this['pageNumberView']['element'],_0x1ed078=_0x151d1e=>{this['pageNumberView']['element']['value']=String(_0x151d1e);};_0x1ed078(this['pageNumber']),this['on']('change:pageNumber',(_0x447aba,_0x201bf0,_0x1e104d)=>{_0x1ed078(_0x1e104d);}),this['listenTo'](_0x189bac,'keydown',(_0x2cd82a,_0x51bf1f)=>{if('ArrowUp'===_0x51bf1f['key']||'ArrowDown'===_0x51bf1f['key'])return void _0x51bf1f['stopPropagation']();if(_0x51bf1f['keyCode']!==_0x570225['enter'])return;_0x51bf1f['preventDefault']();const _0x4a8e2a=_0x189bac['valueAsNumber'];Number['isNaN'](_0x4a8e2a)?_0x189bac['value']=String(this['pageNumber']):(_0x189bac['checkValidity']()?this['pageNumber']=_0x4a8e2a:_0x4a8e2a>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x189bac['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x189bac['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x189bac,'blur',()=>{_0x189bac['value']=String(this['pageNumber']);}),this['listenTo'](_0x189bac,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class M extends _0xdb54e1{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4f4580=this['editor'],_0x354491=_0x4f4580['plugins']['get']('PaginationEditing');_0x4f4580['ui']['componentFactory']['add']('pageNavigation',_0x63fbc6=>{const _0x59723d=new U(_0x63fbc6);return _0x59723d['bind']('pageNumber')['to'](_0x354491),_0x59723d['bind']('totalPages')['to'](_0x354491),_0x59723d['bind']('isEnabled')['to'](_0x354491),_0x59723d['on']('navigation',(_0x2d1035,_0x923340)=>{_0x354491['moveSelectionToPage'](_0x923340),_0x354491['scrollToPage'](_0x923340);}),_0x59723d;}),_0x4f4580['ui']['componentFactory']['add']('nextPage',_0x5d85ef=>{const _0x3358f2=new _0x5d4a55(_0x5d85ef);return _0x3358f2['isEnabled']=!0x0,_0x3358f2['label']=G(_0x4f4580['locale'],'Go\x20to\x20next\x20page'),_0x3358f2['icon']=_0x500847,_0x3358f2['tooltip']=!0x0,_0x3358f2['keystroke']='Shift+PageDown',_0x3358f2['bind']('isEnabled')['to'](_0x354491),this['listenTo'](_0x3358f2,'execute',()=>{_0x354491['goToNextPage']();}),_0x3358f2;}),_0x4f4580['ui']['componentFactory']['add']('previousPage',_0x4818b0=>{const _0x53e879=new _0x5d4a55(_0x4818b0);return _0x53e879['isEnabled']=!0x0,_0x53e879['label']=G(_0x4f4580['locale'],'Go\x20to\x20previous\x20page'),_0x53e879['icon']=_0x3b15e5,_0x53e879['tooltip']=!0x0,_0x53e879['keystroke']='Shift+PageUp',_0x53e879['bind']('isEnabled')['to'](_0x354491),this['listenTo'](_0x53e879,'execute',()=>{_0x354491['goToPreviousPage']();}),_0x53e879;});}}class j extends _0xdb54e1{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[C,M];}constructor(_0x2b39b7){super(_0x2b39b7),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x1e352c=this['editor']['plugins']['get'](C);this['bind']('pageNumber')['to'](_0x1e352c),this['bind']('totalPages')['to'](_0x1e352c),_0x5dfeed['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x432fbc){this['editor']['plugins']['get'](C)['scrollToPage'](_0x432fbc);}}export{j as Pagination,$ as PaginationRenderer};
23
+ import{Plugin as _0x465796}from'@ckeditor/ckeditor5-core/dist/index.js';import{View as _0x43439d,InputNumberView as _0x4ebe34,ButtonView as _0x46c922}from'@ckeditor/ckeditor5-ui/dist/index.js';import{logWarning as _0x276911,global as _0x3d899a,Rect as _0x4e8282,uid as _0x5c835d,toUnit as _0x134ac6,first as _0x5b50d7,env as _0x26a5ea,ResizeObserver as _0x42584f,keyCodes as _0x569aef}from'@ckeditor/ckeditor5-utils/dist/index.js';import{debounce as _0x31d37d}from'es-toolkit/compat';import{IconArrowDown as _0x49dfc5,IconArrowUp as _0x41f95c}from'@ckeditor/ckeditor5-icons/dist/index.js';class w extends _0x465796{['_recalculatePageBreaksDebounced']=_0x31d37d(()=>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 _0x276911('pagination-config-not-found',this['editor']['config']);const _0x4051e=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x4051e),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x4550c4,_0x112705,_0x7dee97)=>{_0x7dee97&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x5ed3ea){const _0x44d9d9=_0x59f23f([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]),_0x25b412=0xc82cb1e,_0x2bb764=0xc854e36^_0x25b412,_0x2804bf=window[_0x59f23f([0x44,0x61,0x74,0x65])][_0x59f23f([0x6e,0x6f,0x77])](),_0x344418=_0x5ed3ea[_0x59f23f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1552bd=new window[(_0x59f23f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43fa54=>{_0x344418[_0x59f23f([0x6f,0x6e,0x63,0x65])](_0x59f23f([0x72,0x65,0x61,0x64,0x79]),_0x43fa54);}),_0xdcbe16={[_0x59f23f([0x6b,0x74,0x79])]:_0x59f23f([0x45,0x43]),[_0x59f23f([0x75,0x73,0x65])]:_0x59f23f([0x73,0x69,0x67]),[_0x59f23f([0x63,0x72,0x76])]:_0x59f23f([0x50,0x2d,0x32,0x35,0x36]),[_0x59f23f([0x78])]:_0x59f23f([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]),[_0x59f23f([0x79])]:_0x59f23f([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]),[_0x59f23f([0x61,0x6c,0x67])]:_0x59f23f([0x45,0x53,0x32,0x35,0x36])},_0x453970=_0x344418[_0x59f23f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x59f23f([0x67,0x65,0x74])](_0x59f23f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x22db3f(){let _0x26dacc,_0x37b6be=null,_0x3ccf5f=null;try{if(_0x453970==_0x59f23f([0x47,0x50,0x4c]))return _0x59f23f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x26dacc=_0x323bfe(),!_0x26dacc)return _0x59f23f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x26dacc[_0x59f23f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3ccf5f=_0x27e7c2(_0x26dacc[_0x59f23f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x26dacc[_0x59f23f([0x6a,0x74,0x69])])),await _0xdde72()?_0xcc262b()?_0x46ee5d()?_0x59f23f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1b1e4d()?(_0x26dacc[_0x59f23f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x59f23f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x37b6be=_0x55be6c(_0x59f23f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1f8aca()):_0x59f23f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x59f23f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x59f23f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x59f23f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x46ee5d(){const _0x2de7da=[_0x59f23f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x59f23f([0x74,0x72,0x69,0x61,0x6c])][_0x59f23f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26dacc[_0x59f23f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2804bf/0x3e8:0xe10*_0x2bb764;return _0x26dacc[_0x59f23f([0x65,0x78,0x70])]<_0x2de7da;}function _0xcc262b(){const _0x445461=_0x26dacc[_0x59f23f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x445461&&(!!_0x445461[_0x59f23f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59f23f([0x2a]))||!!_0x445461[_0x59f23f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59f23f([0x50,0x41,0x47])));}function _0x1b1e4d(){const _0x391b20=_0x26dacc[_0x59f23f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x391b20||0x0==_0x391b20[_0x59f23f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x343141}=new URL(window[_0x59f23f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x391b20[_0x59f23f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x343141))return!0x0;const _0x194af0=_0x343141[_0x59f23f([0x73,0x70,0x6c,0x69,0x74])](_0x59f23f([0x2e]));return _0x391b20[_0x59f23f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24474b=>_0x24474b[_0x59f23f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59f23f([0x2a])))[_0x59f23f([0x6d,0x61,0x70])](_0x1df7f1=>_0x1df7f1[_0x59f23f([0x73,0x70,0x6c,0x69,0x74])](_0x59f23f([0x2e])))[_0x59f23f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a20a5=>_0x4a20a5[_0x59f23f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x194af0[_0x59f23f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x59f23f([0x6d,0x61,0x70])](_0x3d9ba3=>Array(_0x194af0[_0x59f23f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3d9ba3[_0x59f23f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x59f23f([0x66,0x69,0x6c,0x6c])](_0x3d9ba3[0x0]===_0x59f23f([0x2a])?_0x59f23f([0x2a]):'')[_0x59f23f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3d9ba3))[_0x59f23f([0x73,0x6f,0x6d,0x65])](_0x4844c3=>_0x194af0[_0x59f23f([0x65,0x76,0x65,0x72,0x79])]((_0x47cddc,_0x281d55)=>_0x4844c3[_0x281d55]===_0x47cddc||_0x4844c3[_0x281d55]===_0x59f23f([0x2a])));}function _0x1f8aca(){return _0x37b6be&&_0x3ccf5f?new window[(_0x59f23f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x457988,_0x409d84)=>{_0x37b6be[_0x59f23f([0x74,0x68,0x65,0x6e])](_0x457988,_0x409d84),_0x3ccf5f[_0x59f23f([0x74,0x68,0x65,0x6e])](_0x3eb5de=>{_0x3eb5de!=_0x59f23f([0x56,0x61,0x6c,0x69,0x64])&&_0x457988(_0x3eb5de);},_0x409d84);}):_0x37b6be||_0x3ccf5f||_0x59f23f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x27e7c2(_0x343780,_0x2e11e3){return new window[(_0x59f23f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x520807=>{if(_0x12ab04())return _0x520807(_0x59f23f([0x56,0x61,0x6c,0x69,0x64]));_0x878d8d(),_0x344418[_0x59f23f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x59f23f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x154f65=!0x1;const _0x55a8a6=_0x5c835d();function _0x3ffc02(_0x20c8cb){return!!_0x20c8cb&&(typeof _0x20c8cb===_0x59f23f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x20c8cb===_0x59f23f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x20c8cb[_0x59f23f([0x74,0x68,0x65,0x6e])]===_0x59f23f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x20c8cb[_0x59f23f([0x63,0x61,0x74,0x63,0x68])]===_0x59f23f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x310dcb(_0x447f1f){_0xda8020(_0x447f1f)[_0x59f23f([0x74,0x68,0x65,0x6e])](_0x44099b=>{if(!_0x44099b||_0x44099b[_0x59f23f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x59f23f([0x6f,0x6b]))return _0x59f23f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x250afb(_0xa20a43(_0x55a8a6+_0x2e11e3))!=_0x44099b[_0x59f23f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x59f23f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x59f23f([0x56,0x61,0x6c,0x69,0x64]);})[_0x59f23f([0x74,0x68,0x65,0x6e])](_0x3d758a=>(_0x587321(),_0x3d758a),()=>{const _0x4e0ffe=_0x1e1c42();return null==_0x4e0ffe?(_0x587321(),_0x59f23f([0x56,0x61,0x6c,0x69,0x64])):_0x59f23f(_0x2804bf-_0x4e0ffe>(0x288e4f1e^_0x25b412)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x59f23f([0x74,0x68,0x65,0x6e])](_0x520807)[_0x59f23f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x520807(_0x59f23f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x488f9f=0xcb4259e^_0x25b412;function _0x587321(){const _0x20f0ab=_0x59f23f([0x6c,0x6c,0x63,0x74,0x2d])+_0x250afb(_0xa20a43(_0x343780)),_0x21abe1=_0x59c322(_0x250afb(window[_0x59f23f([0x4d,0x61,0x74,0x68])][_0x59f23f([0x63,0x65,0x69,0x6c])](_0x2804bf/_0x488f9f)));window[_0x59f23f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x59f23f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x20f0ab,_0x21abe1);}function _0x1e1c42(){const _0x25a681=_0x59f23f([0x6c,0x6c,0x63,0x74,0x2d])+_0x250afb(_0xa20a43(_0x343780)),_0x4b3f86=window[_0x59f23f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x59f23f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x25a681);return _0x4b3f86?window[_0x59f23f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59c322(_0x4b3f86),0x10)*_0x488f9f:null;}function _0xda8020(_0x2e8a5d){return new window[(_0x59f23f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a6ac9,_0x110269)=>{_0x2e8a5d[_0x59f23f([0x74,0x68,0x65,0x6e])](_0x2a6ac9,_0x110269),window[_0x59f23f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x110269,0xc831fde^_0x25b412);});}}_0x344418[_0x59f23f([0x6f,0x6e])](_0x59f23f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3f6de1,_0x4ae8f9)=>{if(_0x4ae8f9[0x0]!=_0x343780)return _0x520807(_0x59f23f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4ae8f9[0x1]={..._0x4ae8f9[0x1],[_0x59f23f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x55a8a6};},{[_0x59f23f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x59f23f([0x68,0x69,0x67,0x68])}),_0x344418[_0x59f23f([0x6f,0x6e])](_0x59f23f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2bdc32=>{_0x3ffc02(_0x2bdc32[_0x59f23f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x154f65=!0x0,_0x310dcb(_0x2bdc32[_0x59f23f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x59f23f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x59f23f([0x6c,0x6f,0x77])}),_0x1552bd[_0x59f23f([0x74,0x68,0x65,0x6e])](()=>{_0x154f65||_0x520807(_0x59f23f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x12ab04(){return _0x344418[_0x59f23f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x59f23f([0x76,0x69,0x65,0x77])][_0x59f23f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x59f23f([0x61,0x75,0x74,0x6f]);}function _0x878d8d(){_0x344418[_0x59f23f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x59f23f([0x76,0x69,0x65,0x77])][_0x59f23f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x59f23f([0x61,0x75,0x74,0x6f]);}}function _0x55be6c(_0x24ede6){const _0x44dc41=[new window[(_0x59f23f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x353786=>setTimeout(_0x353786,0xc8bf5d2^_0x25b412)),_0x1552bd[_0x59f23f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x59f23f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fa2ec=>{let _0x2284e0=0x0;_0x344418[_0x59f23f([0x6d,0x6f,0x64,0x65,0x6c])][_0x59f23f([0x6f,0x6e])](_0x59f23f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xee5655,_0x2e3a5c)=>{_0x2e3a5c[0x0][_0x59f23f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2284e0++,_0x2284e0==(0xc82cef6^_0x25b412)&&(_0x3fa2ec(),_0xee5655[_0x59f23f([0x6f,0x66,0x66])]());});}))];return window[_0x59f23f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x59f23f([0x72,0x61,0x63,0x65])](_0x44dc41)[_0x59f23f([0x74,0x68,0x65,0x6e])](()=>_0x24ede6);}async function _0x15c326(){await _0x1552bd,_0x344418[_0x59f23f([0x6d,0x6f,0x64,0x65,0x6c])][_0x59f23f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d8b4d,_0x344418[_0x59f23f([0x6d,0x6f,0x64,0x65,0x6c])][_0x59f23f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d8b4d,_0x344418[_0x59f23f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x59f23f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xf3550(_0x586a31){const _0x420d32=_0x5c359c();_0x344418[_0x420d32]=_0x59f23f([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x586a31,_0x586a31!=_0x59f23f([0x56,0x61,0x6c,0x69,0x64])&&_0x15c326();}function _0x5c359c(){const _0x42e747=window[_0x59f23f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x59f23f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x59f23f([0x6e,0x6f,0x77])]())[_0x59f23f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x59f23f([0x2e]),'');let _0x3bc79a=_0x59f23f([0x49]);for(let _0x2cbcd6=0x0;_0x2cbcd6<_0x42e747[_0x59f23f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2cbcd6+=0x2){let _0x43c943=window[_0x59f23f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42e747[_0x59f23f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2cbcd6,_0x2cbcd6+0x2));_0x43c943>=_0x44d9d9[_0x59f23f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x43c943-=_0x44d9d9[_0x59f23f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3bc79a+=_0x44d9d9[_0x43c943];}return _0x3bc79a;}function _0x323bfe(){const _0x4c92a1=_0x453970[_0x59f23f([0x73,0x70,0x6c,0x69,0x74])](_0x59f23f([0x2e]));if(0x3!=_0x4c92a1[_0x59f23f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1e61d9(_0x4c92a1[0x1]);function _0x1e61d9(_0x36b601){const _0x43a28f=_0x378864(_0x36b601);return _0x43a28f&&_0x4c529c()?_0x43a28f:null;function _0x4c529c(){const _0x102447=_0x43a28f[_0x59f23f([0x6a,0x74,0x69])],_0x5c3c6e=window[_0x59f23f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x102447[_0x59f23f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x102447[_0x59f23f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4e8048={..._0x43a28f,[_0x59f23f([0x6a,0x74,0x69])]:_0x102447[_0x59f23f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x102447[_0x59f23f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4e8048[_0x59f23f([0x76,0x63])],_0xa20a43(_0x4e8048)==_0x5c3c6e;}}}async function _0xdde72(){let _0xf93e8b=!0x0;try{const _0x5d7c9b=_0x453970[_0x59f23f([0x73,0x70,0x6c,0x69,0x74])](_0x59f23f([0x2e])),[_0x4c6353,_0x1f4f46,_0x2a7411]=_0x5d7c9b;return _0x349e0e(_0x4c6353),await _0x369589(_0x4c6353,_0x1f4f46,_0x2a7411),_0xf93e8b;}catch{return!0x1;}function _0x349e0e(_0x20b724){const _0x51f243=_0x378864(_0x20b724);_0x51f243&&_0x51f243[_0x59f23f([0x61,0x6c,0x67])]==_0x59f23f([0x45,0x53,0x32,0x35,0x36])||(_0xf93e8b=!0x1);}async function _0x369589(_0x136590,_0x1c48c9,_0xce31d4){const _0x41db15=window[_0x59f23f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x59f23f([0x66,0x72,0x6f,0x6d])](_0x3a5310(_0xce31d4),_0x464967=>_0x464967[_0x59f23f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x6f891b=new window[(_0x59f23f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x59f23f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x136590+_0x59f23f([0x2e])+_0x1c48c9),_0x19a29b=window[_0x59f23f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x59f23f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x19a29b)return;const _0x38c291=await _0x19a29b[_0x59f23f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x59f23f([0x6a,0x77,0x6b]),_0xdcbe16,{[_0x59f23f([0x6e,0x61,0x6d,0x65])]:_0x59f23f([0x45,0x43,0x44,0x53,0x41]),[_0x59f23f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x59f23f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x59f23f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x19a29b[_0x59f23f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x59f23f([0x6e,0x61,0x6d,0x65])]:_0x59f23f([0x45,0x43,0x44,0x53,0x41]),[_0x59f23f([0x68,0x61,0x73,0x68])]:{[_0x59f23f([0x6e,0x61,0x6d,0x65])]:_0x59f23f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x38c291,_0x41db15,_0x6f891b)||(_0xf93e8b=!0x1);}}function _0x378864(_0x4d947f){return _0x4d947f[_0x59f23f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x59f23f([0x65,0x79]))?JSON[_0x59f23f([0x70,0x61,0x72,0x73,0x65])](_0x3a5310(_0x4d947f)):null;}function _0x3a5310(_0x3de08b){return window[_0x59f23f([0x61,0x74,0x6f,0x62])](_0x3de08b[_0x59f23f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x59f23f([0x2b]))[_0x59f23f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x59f23f([0x2f])));}function _0xa20a43(_0x42afe0){let _0x4ff239=0x1505;function _0x141ce3(_0x4244c7){for(let _0xdbac00=0x0;_0xdbac00<_0x4244c7[_0x59f23f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xdbac00++){const _0xdc6faf=_0x4244c7[_0x59f23f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xdbac00);_0x4ff239=(_0x4ff239<<0x5)+_0x4ff239+_0xdc6faf,_0x4ff239&=_0x4ff239;}}function _0x19f875(_0xc7c639){Array[_0x59f23f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xc7c639)?_0xc7c639[_0x59f23f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x19f875):_0xc7c639&&typeof _0xc7c639==_0x59f23f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x59f23f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xc7c639)[_0x59f23f([0x73,0x6f,0x72,0x74])]()[_0x59f23f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x18f86c,_0x45d943])=>{_0x141ce3(_0x18f86c),_0x19f875(_0x45d943);}):_0x141ce3(window[_0x59f23f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xc7c639));}return _0x19f875(_0x42afe0),_0x4ff239>>>0x0;}function _0x250afb(_0x4625a7){return _0x4625a7[_0x59f23f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x59f23f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x59f23f([0x30]));}function _0x59c322(_0x21f432){return _0x21f432[_0x59f23f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x59f23f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x59f23f([0x6a,0x6f,0x69,0x6e])]('');}function _0x3d8b4d(){}function _0x59f23f(_0x2d5fc6){return _0x2d5fc6['map'](_0x2615b4=>String['fromCharCode'](_0x2615b4))['join']('');}_0xf3550(await _0x22db3f());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x5adeec=this['editor'],_0x33e3d2=_0x5adeec['editing']['view'],_0x4b2ab6=this['_getAttachedDomRoot']();if(!_0x4b2ab6||0x0===_0x4b2ab6['childElementCount'])return void _0x5adeec['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x470acc,pageHeight:_0x1e9eb0}=_0x5adeec['config']['get']('pagination'),{top:_0x23424e,left:_0x8d0e84,bottom:_0x1db5f5,right:_0x448ade}=this['_configuredPaddings'];this['_pagesContainer']=new _0x43439d(_0x5adeec['locale']);const _0x41c89a=this['_pagesContainer'];_0x41c89a['set']('class',''),_0x41c89a['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x470acc,'width':_0x470acc,'height':'calc(\x20'+_0x1e9eb0+'\x20-\x20'+_0x23424e+'\x20-\x20'+_0x1db5f5+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x448ade+'\x200\x20'+_0x8d0e84,'columnGap':'calc('+_0x8d0e84+'\x20+\x20'+_0x448ade+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x41c89a['bindTemplate']['to']('class')}}),_0x41c89a['render'](),_0x4b2ab6['parentNode']['insertBefore'](_0x41c89a['element'],_0x4b2ab6['nextSibling']),this['listenTo'](_0x33e3d2,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x37a89d of this['editor']['editing']['view']['domRoots']['values']())if(_0x37a89d['ownerDocument']['body']['contains'](_0x37a89d))return _0x37a89d;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x51b976=this['editor']['editing']['view'],_0x500c89=this['_pagesContainer'],_0x414bcf=this['_getAttachedDomRoot']();if(!_0x414bcf)return Promise['resolve']();for(_0x500c89['class']=['ck-reset','ck-pagination-view',..._0x414bcf['classList']]['join']('\x20');_0x500c89['element']['firstChild'];)_0x500c89['element']['firstChild']['remove']();const _0xef3f0b=Array['from'](_0x51b976['domRoots']);_0xef3f0b['sort'](([,_0x3e90e5],[,_0x49b981])=>_0x3e90e5['compareDocumentPosition'](_0x49b981)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x503c0a,_0x24bffa]of _0xef3f0b){const _0x4e5b1f=_0x24bffa['cloneNode'](!0x0);'attributeStyleMap'in _0x4e5b1f&&_0x4e5b1f['attributeStyleMap']['clear'](),_0x4e5b1f['dataset']['rootName']=_0x503c0a,_0x4e5b1f['className']='ck-content\x20ck-pagination_enabled',_0x4e5b1f['removeAttribute']('id'),_0x4e5b1f['tabIndex']=-0x1,_0x500c89['element']['append'](_0x4e5b1f);}const _0x599651=Array['from'](_0x500c89['element']['querySelectorAll']('img'));return function(_0x341ac7){return Promise['all'](_0x341ac7['map'](_0x1d15ae=>Promise['race']([k(_0x1d15ae),v(0x3e8)])));}(_0x599651)['then'](()=>{for(const _0x1b4d2f of _0x599651['filter'](_0x5d82a4=>!_0x5d82a4['closest']('table')))if(_0x1b4d2f['offsetParent']){const _0x4c1ed1=_0x3d899a['window']['getComputedStyle'](_0x1b4d2f),_0x11f8d8=_0x3d899a['document']['createElement']('span');for(const _0xf54c95 of _0x4c1ed1)_0x11f8d8['style']['setProperty'](_0xf54c95,_0x4c1ed1[_0xf54c95]);_0x11f8d8['style']['backgroundImage']='url(\x20'+_0x1b4d2f['src']+'\x20)',_0x11f8d8['style']['breakInside']='avoid','PICTURE'==_0x1b4d2f['parentElement']?.['tagName']?_0x1b4d2f['parentElement']['replaceWith'](_0x11f8d8):_0x1b4d2f['replaceWith'](_0x11f8d8);}return new Promise(_0x7029d2=>_0x3d899a['window']['requestAnimationFrame'](()=>_0x7029d2()));})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x4d3b38=this['_pagesContainer']['element'];if(!_0x4d3b38['ownerDocument']['body']['contains'](_0x4d3b38))return;const _0x45006c=new _0x4e8282(_0x4d3b38)['excludeScrollbarsAndBorders'](),_0x58a4bb=Math['floor'](_0x45006c['width']+0x64),_0xf575a5=_(_0x4d3b38,Math['floor'](_0x45006c['left']-_0x4d3b38['scrollLeft']),_0x58a4bb,_0x45006c['height'])['map'](_0x1d5b8c=>this['_mapPageStarterInfoToPageBreakInfo'](_0x1d5b8c))['filter'](_0x462300=>!0x1!==_0x462300);_0xf575a5['every'](_0x2a0ac5=>!!_0x2a0ac5)&&(this['pageBreaks']=_0xf575a5);}['_mapPageStarterInfoToPageBreakInfo'](_0x5da685){const _0x388402=this['editor']['editing']['view'],_0x364a5e=this['editor']['editing']['mapper'],_0x3357c2=_0x388402['domConverter'],_0x667ea1=_0x5da685['path']['shift'](),_0x2b1e25=this['_pagesContainer']['element']['childNodes'][_0x667ea1]['dataset']['rootName'],_0xf29f4c=_0x388402['getDomRoot'](_0x2b1e25);if(!_0xf29f4c)return null;const _0x1d02bf=function(_0x4307fc,_0x472674){let _0x4980d3=_0x4307fc;for(const _0x47db95 of _0x472674['path']){if(!_0x4980d3)return null;_0x4980d3=_0x4980d3['childNodes'][_0x47db95];}return _0x4980d3;}(_0xf29f4c,_0x5da685);if(!_0x1d02bf)return null;const _0x49e97f=_0x3357c2['domPositionToView'](_0x1d02bf,_0x5da685['textOffset']||0x0);return _0x49e97f?'manual'==_0x5da685['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x49e97f,_0x1d02bf):'text'==_0x5da685['type']&&_0x364a5e['toModelPosition'](_0x49e97f)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x49e97f,_0x1d02bf,_0x5da685['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x49e97f,_0x1d02bf,_0x5da685['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x43ab5b,_0x381f89){const _0x3964df=this['editor']['model'],_0x26a920=this['editor']['editing']['mapper']['toModelElement'](_0x43ab5b['parent']),_0x3e7ef4=_0x3964df['createRangeOn'](_0x26a920);return new b({'type':'manual','modelRange':_0x3e7ef4,'domNode':_0x381f89,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x472bac,_0x49e9bc,_0x5eb033){const _0x27e7d7=this['editor']['model'],_0x12495=this['editor']['editing']['mapper'],_0x378b2a=this['editor']['editing']['view']['domConverter'];if(_0x5eb033>=_0x49e9bc['length'])return null;const _0x3d2db6=_0x12495['toModelPosition'](_0x472bac),_0x391354=_0x27e7d7['createRange'](_0x3d2db6),_0x40f179=_0x12495['findMappedViewAncestor'](_0x472bac),_0x2c25f9=_0x378b2a['mapViewToDom'](_0x40f179);return new b({'type':'text','modelRange':_0x391354,'domNode':_0x49e9bc,'offset':P(_0x49e9bc,_0x5eb033,_0x2c25f9)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x2ed503,_0xcad326,_0x466120){const _0x21b595=this['editor']['model'],_0x393f02=this['editor']['editing'],_0x40ce1f=_0x393f02['mapper'],_0x33b963=_0x393f02['view']['domConverter'],_0x56d690=_0x40ce1f['findMappedViewAncestor'](_0x2ed503),_0x2a82d1=_0x40ce1f['toModelElement'](_0x56d690);if(!_0x2a82d1||_0x2a82d1['is']('element','$root'))return!0x1;const _0x277001=function(_0x1c09a9){const _0x191f89=_0x1c09a9['parent'],_0x564e37=_0x191f89['root']['document']['model'],_0x297f6e=_0x191f89['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x49134f=null;for(const _0x324db1 of _0x297f6e){if(_0x324db1['is']('rootElement'))return _0x49134f;if(!_0x564e37['createPositionBefore'](_0x324db1)['isTouching'](_0x1c09a9))return _0x49134f;_0x49134f=_0x324db1;}}(_0x21b595['createPositionBefore'](_0x2a82d1)),_0x489e50=_0x277001||_0x2a82d1;let _0x452027=_0x40ce1f['toViewElement'](_0x489e50),_0x1e58fa=_0x21b595['createRangeOn'](_0x489e50);const _0x3cdfad=_0x21b595['createPositionBefore'](_0x489e50)['nodeBefore'];if(_0x3cdfad&&_0x3cdfad['is']('element','imageBlock')){const _0x47f9de=_0x40ce1f['toViewElement'](_0x3cdfad),_0x209d42=_0x33b963['mapViewToDom'](_0x47f9de),_0x1f91de=_0x3d899a['window']['getComputedStyle'](_0x209d42)['float'];'left'!=_0x1f91de&&'right'!=_0x1f91de||(_0x1e58fa=_0x21b595['createRangeOn'](_0x3cdfad));}for(;_0x452027['parent']!==_0x452027['root']&&0x0===_0x452027['index'];)_0x452027=_0x452027['parent'];const _0x556f60=new _0x4e8282(I(_0xcad326)?_0xcad326:x(_0xcad326)),_0x38b200=_0x466120?_0x556f60['height']-_0x466120:0x0,_0x2f4437=_0x33b963['mapViewToDom'](_0x452027),_0x50dbc8=new _0x4e8282(_0x2f4437);return new b({'type':'element','modelRange':_0x1e58fa,'domNode':_0x2f4437,'offset':Math['round'](_0x38b200)||_0x56d690!=y(_0x2ed503)?_0x38b200+_0x556f60['top']-_0x50dbc8['top']:0x0});}get['_configuredPaddings'](){const _0x573cb5=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x573cb5);}static['_findPageStarterInfos'](_0xceddbf,_0x2054e3,_0x10903b,_0x58f4b5,_0x20cf4d){return _(_0xceddbf,_0x2054e3,_0x10903b,_0x58f4b5,_0x20cf4d);}}class b{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x462064,modelRange:_0x310daf,domNode:_0x15ce2d,offset:_0x42d5dc}){this['type']=_0x462064,this['modelRange']=_0x310daf,this['_domNode']=_0x15ce2d,this['_offset']=_0x42d5dc;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x23c114=new _0x4e8282(I(this['_domNode'])?this['_domNode']:x(this['_domNode']));return'manual'==this['type']?_0x23c114['top']+_0x23c114['height']/0x2:_0x23c114['top']+this['_offset'];}}function P(_0x3daf4a,_0x9d09f9,_0x55d8bb){const _0xb961ad=x(_0x3daf4a),_0x4fe3cb=function(_0x414b8b){const _0x318b49=_0x3d899a['document']['createRange']();return _0x318b49['selectNodeContents'](_0x414b8b),_0x318b49;}(_0x55d8bb);let _0x2cca12;_0x2cca12=0x0==_0x9d09f9?L(_0x4fe3cb['startContainer'],_0x4fe3cb['startOffset'],_0x3daf4a['parentNode'],Array['from'](_0x3daf4a['parentNode']['childNodes'])['indexOf'](_0x3daf4a)):L(_0x4fe3cb['startContainer'],_0x4fe3cb['startOffset'],_0x3daf4a,_0x9d09f9);const _0x4a4d00=L(_0x3daf4a,_0x9d09f9,_0x4fe3cb['endContainer'],_0x4fe3cb['endOffset']),_0x3955b4=new _0x4e8282(_0x2cca12)['bottom'];return(new _0x4e8282(_0x4a4d00)['top']+_0x3955b4)/0x2-new _0x4e8282(_0xb961ad)['top'];}function y(_0x137ac3){let _0x5938b7=_0x137ac3['parent'];for(;_0x5938b7['is']('$text')||_0x5938b7['is']('attributeElement');)_0x5938b7=_0x5938b7['parent'];return _0x5938b7;}function k(_0x55437a){return _0x55437a['hasAttribute']('width')&&_0x55437a['hasAttribute']('height')?Promise['resolve']():new Promise(_0x440c7f=>{function _0x47de21(){_0x55437a['removeEventListener']('load',_0x47de21),_0x55437a['removeEventListener']('error',_0x47de21),_0x440c7f();}_0x55437a['complete']?_0x440c7f():(_0x55437a['addEventListener']('load',_0x47de21),_0x55437a['addEventListener']('error',_0x47de21));});}function v(_0x2f6f3b){return new Promise(_0x27b02b=>setTimeout(_0x27b02b,_0x2f6f3b));}function x(_0xcce2e0){const _0x19a65d=_0x3d899a['document']['createRange']();return _0x19a65d['selectNode'](_0xcce2e0),_0x19a65d;}function N(_0x4246de,_0x50cf57,_0x5bb771){const _0x4b986b=_0x3d899a['document']['createRange']();return _0x4b986b['setStart'](_0x4246de,_0x50cf57),_0x4b986b['setEnd'](_0x4246de,_0x5bb771),_0x4b986b;}function L(_0x4ef272,_0x39c674,_0x14e53a,_0x4223c3){const _0x3e00bc=_0x3d899a['document']['createRange']();return _0x3e00bc['setStart'](_0x4ef272,_0x39c674),_0x3e00bc['setEnd'](_0x14e53a,_0x4223c3),_0x3e00bc;}function _(_0x702842,_0x1d527e,_0x48d84f,_0x4b629f,_0xa3ba1b){const _0x3564cc=[];for(const [_0x395c4f,_0x1c48e2]of _0x702842['childNodes']['entries']()){let _0x2af718=[];I(_0x1c48e2)&&_0x1c48e2['offsetParent']&&['static','relative']['includes'](_0x3d899a['window']['getComputedStyle'](_0x1c48e2)['position'])?_0x2af718=S(_0x1c48e2,_0x395c4f,_0x1d527e,_0x48d84f,_0x4b629f,_0xa3ba1b):O(_0x1c48e2)&&(_0x2af718=E(_0x1c48e2,_0x395c4f,_0x1d527e,_0x48d84f,_0xa3ba1b)),_0x2af718['length']&&(_0x3564cc['push'](..._0x2af718),_0x1d527e+=_0x2af718['length']*_0x48d84f,_0xa3ba1b=!0x1);}return _0x3564cc;}function S(_0x1f2d97,_0x14d04b,_0x173223,_0x15aef6,_0x54408d,_0xf4d002){const _0x9c2015=[];var _0x312b9e;if((_0x312b9e=_0x1f2d97['previousSibling'])&&I(_0x312b9e)&&Boolean(_0x312b9e['classList']['contains']('page-break')||_0x312b9e['closest']('.page-break'))&&(_0x9c2015['push']({'type':'manual','offset':0x0,'path':[_0x14d04b-0x1]}),_0xf4d002=!0x0),'table-row'==_0x3d899a['window']['getComputedStyle'](_0x1f2d97)['display']){let _0x101d87=0x0,_0x1cc208=!0x1;for(const _0x9defbe of _0x1f2d97['getClientRects']())_0x101d87+=_0x9defbe['height'],_0x9defbe['left']>=_0x173223&&(_0x1cc208=!0x0);if(_0x101d87<_0x54408d&&_0x1cc208)return _0xf4d002||_0x9c2015['push']({'type':'element','offset':0x0,'path':[_0x14d04b]}),_0x9c2015;}const _0x4905bb=_0x1f2d97['closest']('figure.image');if(_0x4905bb&&function(_0x366868){let _0x5be7e3=!0x1;const _0x1eacce=_0x366868['parentElement'],_0x3269eb=_0x1eacce['dataset']['rootName'],_0x2e07d8=_0x366868['nextElementSibling'],_0xb67bb4=_0x366868['previousElementSibling'],_0x36480b=_0x2e07d8&&_0x3d899a['window']['getComputedStyle'](_0x2e07d8)['float'],_0x4dfbae=_0x2e07d8&&'ck-fake-selection-container'===_0x2e07d8['className'];!_0x3269eb||_0x2e07d8||_0xb67bb4||(_0x5be7e3=!0x0),_0x3269eb&&!_0xb67bb4&&_0x4dfbae&&(_0x5be7e3=!0x0),_0x3269eb&&!_0xb67bb4&&'none'!==_0x36480b&&(_0x5be7e3=!0x0);if(_0x5be7e3)return!0x1;return!0x0;}(_0x4905bb)){const _0x15988c=_0x3d899a['window']['getComputedStyle'](_0x4905bb)['float'];if('left'==_0x15988c||'right'==_0x15988c)return _0x9c2015;}const _0x1970d4=_(_0x1f2d97,_0x173223,_0x15aef6,_0x54408d,_0xf4d002);if(_0x1970d4['length']){for(const _0x92aece of _0x1970d4)_0x9c2015['push']({'type':_0x92aece['type'],'offset':_0x92aece['offset'],'textOffset':_0x92aece['textOffset'],'path':[_0x14d04b,..._0x92aece['path']]}),_0x173223+=_0x15aef6,_0xf4d002=!0x1;return _0x9c2015;}return _0x9c2015['push'](...function(_0x3152ff,_0x165f54,_0xa5b6b,_0x559a32,_0x1e346d){const _0x3542fd=[];if('table-cell'==_0x3d899a['window']['getComputedStyle'](_0x3152ff)['display'])return[];const _0x159de4=[];for(const _0x203739 of _0x3152ff['getClientRects']())if(_0x203739['left']>=_0xa5b6b){for(const _0x19866b of _0x159de4)_0x19866b['height']+=_0x203739['height'];_0x159de4['push']({'height':_0x203739['height']}),_0xa5b6b+=_0x559a32;}for(const _0x37ccb7 of _0x159de4)_0x1e346d||_0x3542fd['push']({'type':'element','offset':_0x37ccb7['height'],'textOffset':0x0,'path':[_0x165f54]}),_0x1e346d=!0x1;return _0x3542fd;}(_0x1f2d97,_0x14d04b,_0x173223,_0x15aef6,_0xf4d002)),_0x9c2015;}function E(_0x3c80f8,_0x433363,_0x5c9590,_0x569cbb,_0x1f4343){const _0x19e290=x(_0x3c80f8),_0x3a1732=[];let _0x1b55d0=0x0;for(const _0x595daf of _0x19e290['getClientRects']())if(_0x595daf['left']>=_0x5c9590){const _0x33ee60=R(_0x3c80f8,_0x1b55d0,_0x5c9590,_0x569cbb);_0x1f4343||_0x3a1732['push']({'type':'text','path':[_0x433363],'textOffset':_0x33ee60}),_0x1b55d0=_0x33ee60,_0x5c9590+=_0x569cbb,_0x1f4343=!0x1;}return _0x3a1732;}function R(_0x4823e9,_0xc835fd,_0x1fbddf,_0x16e6cb){let _0xfa67ee=_0xc835fd,_0x2f9d8c=_0x4823e9['length'];for(;_0x2f9d8c-_0xfa67ee>0x1;){const _0x588369=Math['ceil']((_0xfa67ee+_0x2f9d8c)/0x2);K(N(_0x4823e9,_0xfa67ee,_0x588369),_0x1fbddf,_0x16e6cb)?_0x2f9d8c=_0x588369:_0xfa67ee=_0x588369;}return _0xfa67ee;}function K(_0x251a43,_0x49423c,_0x463f10){for(const _0x2d0cef of _0x251a43['getClientRects']())if(_0x2d0cef['left']>=_0x49423c&&_0x2d0cef['left']<_0x49423c+_0x463f10)return!0x0;return!0x1;}function I(_0xfbc5cb){return _0xfbc5cb['nodeType']==Node['ELEMENT_NODE'];}function O(_0x4b554e){return _0x4b554e['nodeType']==Node['TEXT_NODE'];}const B=/* #__PURE__ -- @preserve */
24
+ _0x134ac6('px');class T extends _0x43439d{constructor(){super();const _0x44b7dc=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x44b7dc['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x44b7dc['if']('isVisible','ck-hidden',_0x3cf5dc=>!_0x3cf5dc)],'style':{'left':_0x44b7dc['to']('left',_0x33d147=>B(_0x33d147)),'top':_0x44b7dc['to']('top',_0x58d328=>B(_0x58d328)),'width':_0x44b7dc['to']('width',_0x541edf=>B(_0x541edf))}}});}}class A{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x40ae8c){this['_viewCollection']=_0x40ae8c['ui']['view']['body'];}['destroy'](){for(const _0xdf2740 of this['_hiddenLines'])_0xdf2740['destroy']();}['cleanLines'](){for(const _0x42217c of this['_visibleLines'])_0x42217c['isVisible']=!0x1,this['_hiddenLines']['add'](_0x42217c);this['_visibleLines']['clear']();}['showLine'](_0x11e66e,_0x579818,_0x44e0a5,_0x59ee74){let _0x2a7b58;this['_hiddenLines']['size']?(_0x2a7b58=_0x5b50d7(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x2a7b58)):_0x2a7b58=new T(),_0x2a7b58['set']({'pageNumber':_0x59ee74,'left':_0x11e66e,'top':_0x579818,'width':_0x44e0a5}),_0x2a7b58['isVisible']=!0x0,this['_viewCollection']['has'](_0x2a7b58)||this['_viewCollection']['add'](_0x2a7b58),this['_visibleLines']['add'](_0x2a7b58);}['setViewCollection'](_0x43d294){for(const _0x427db1 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x427db1)&&this['_viewCollection']['remove'](_0x427db1);this['_viewCollection']=_0x43d294;}}const D='ck-pagination_enabled';class $ extends _0x465796{['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',(_0x3c7b22,_0xeb8190,_0x4b020b)=>{_0x4b020b||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](D,_0x4b020b);});}['destroy'](){this['_toggleEditingRootsClass'](D,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x3b0a5f){if(!this['isEnabled'])return;const _0x3e1882=_0x3b0a5f>0x1?this['_getPageBreakLineOffset'](_0x3b0a5f-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x3e1882-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x26a5ea['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0xe28c6e=this['editor'],_0x5318c9=this['_getAttachedDomRoot']();_0x5318c9?(this['_scrollableEditingRootDomAncestor']&&_0xe28c6e['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x3cbcdf){let _0x549109=_0x3cbcdf;do{_0x549109=_0x549109['parentElement'];const _0x5c8be2=_0x3d899a['window']['getComputedStyle'](_0x549109)['overflowY'];if('auto'==_0x5c8be2||'scroll'==_0x5c8be2)break;}while('BODY'!=_0x549109['tagName']);return _0x549109;}(_0x5318c9),_0xe28c6e['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x42584f(this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0xe28c6e['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x37e0df=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x37e0df['ui']['view']['listenTo'](_0x3d899a['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x37e0df['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x49d7ba of this['editor']['editing']['view']['domRoots']['values']())if(_0x49d7ba['ownerDocument']['body']['contains'](_0x49d7ba))return _0x49d7ba;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x2574a7=this['_getAttachedDomRoot'](),_0x33f4c8=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x2574a7||0x1==_0x33f4c8['length'])return void(this['pageNumber']=0x1);const _0x5ec84f=new _0x4e8282(_0x2574a7)['excludeScrollbarsAndBorders'](),_0x58bb7b=new _0x4e8282(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x3987e8=_0x58bb7b['top']+_0x58bb7b['height']/0x3;let _0x580aaf=!0x1;const _0x36ccfd=[];for(let _0x1fecd9=0x1;_0x1fecd9<_0x33f4c8['length'];_0x1fecd9++){const _0x4c2c23=this['_getPageBreakLineOffset'](_0x1fecd9,_0x58bb7b);if(!_0x4c2c23)continue;const _0x4f9c72=_0x58bb7b['top']+_0x4c2c23-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x36ccfd['push']({'pageOffsetTop':_0x4f9c72,'domRootRect':_0x5ec84f,'domScrollableRect':_0x58bb7b,'pageNumber':_0x1fecd9}),_0x4f9c72>_0x3987e8&&!_0x580aaf&&(this['pageNumber']=_0x1fecd9,_0x580aaf=!0x0);}this['_renderPageBreakLines'](_0x36ccfd),_0x580aaf||(this['pageNumber']=_0x33f4c8['length']);}['_renderPageBreakLines'](_0x4f8a5b){const {scrollX:_0x241ba4,scrollY:_0x29510e}=_0x3d899a['window'];if(_0x4f8a5b['length']){for(const {domScrollableRect:_0x562516,pageOffsetTop:_0x479464,domRootRect:_0x46909c,pageNumber:_0x70e73a}of _0x4f8a5b)_0x562516['top']<_0x479464&&_0x479464<_0x562516['bottom']&&this['linesRepository']['showLine'](_0x46909c['left']+_0x241ba4,_0x479464+_0x29510e,_0x46909c['width'],_0x70e73a+0x1);}}['_getPageBreakLineOffset'](_0x54de27,_0x56efc5=null){const _0x33b40d=this['_paginationLookupPlugin']['pageBreaks'][_0x54de27]['offset'];return _0x33b40d?(_0x56efc5||(_0x56efc5=new _0x4e8282(this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x33b40d-_0x56efc5['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x3f6225,_0x1729cf=!0x0){const _0x3ec332=this['editor']['editing']['view'];_0x3ec332['change'](_0x54715d=>{for(const _0x23aadd of _0x3ec332['document']['roots'])_0x1729cf?_0x54715d['addClass'](_0x3f6225,_0x23aadd):_0x54715d['removeClass'](_0x3f6225,_0x23aadd);});}}function G(_0x2097ba,_0x4b2719,..._0x24592e){const t=_0x2097ba['t'];switch(_0x4b2719){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)',..._0x24592e);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 _0x4b2719;}}class C extends _0x465796{['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 _0x7414c=this['editor']['plugins']['get']('Pagination'),_0x3eb858=this['editor']['plugins']['get'](w),_0xe0231c=this['editor']['plugins']['get']($);this['bind']('isEnabled')['to'](_0x7414c),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0xe0231c),this['listenTo'](_0x3eb858,'change:pageBreaks',(_0x5bfa78,_0x52783d,_0x107344,_0x34c158)=>{this['totalPages']=_0x107344['length'],this['_updatePageBreakMarkers'](_0x107344,_0x34c158);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x317103=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x143d2f;for(const _0x48515b in _0x317103){const _0x2ebcb8=_0x48515b,_0x3028bc=_0x317103[_0x2ebcb8];if('paginationLicenseKeyValid'==_0x3028bc||'paginationLicenseKeyInvalid'==_0x3028bc||'paginationLicenseKeyExpired'==_0x3028bc||'paginationLicenseKeyDomainLimit'==_0x3028bc||'paginationLicenseKeyNotAllowed'==_0x3028bc||'paginationLicenseKeyEvaluationLimit'==_0x3028bc||'paginationLicenseKeyUsageLimit'==_0x3028bc){delete _0x317103[_0x2ebcb8],_0x143d2f=_0x3028bc,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x143d2f&&_0x317103['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x143d2f&&_0x317103['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x143d2f&&_0x317103['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x143d2f&&_0x317103['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x143d2f&&_0x317103['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x143d2f&&_0x317103['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x55c954){if(!this['isEnabled'])return;this['editor']['plugins']['get']($)['scrollToPage'](this['_validatePageNumber'](_0x55c954));}['moveSelectionToPage'](_0x48f310){if(!this['isEnabled'])return;const _0x22a0f3=this['editor'],_0x1091a2=this['editor']['plugins']['get'](w)['pageBreaks'][_0x48f310-0x1];_0x1091a2&&_0x22a0f3['model']['change'](_0x2a8ed2=>{switch(_0x1091a2['type']){case'manual':{const _0x1b2ab2=_0x22a0f3['model']['schema']['getNearestSelectionRange'](_0x1091a2['modelRange']['end'],'forward');_0x2a8ed2['setSelection'](_0x1b2ab2);break;}case'element':{const _0x43cc5d=_0x22a0f3['model']['schema']['getNearestSelectionRange'](_0x1091a2['modelRange']['start'],'forward');_0x2a8ed2['setSelection'](_0x43cc5d);break;}case'text':{const _0x1b4e31=_0x1091a2['modelRange']['start'];if(_0x1b4e31['textNode']&&'\x20'===_0x1b4e31['textNode']['data'][_0x1b4e31['offset']]){const _0x199012=_0x2a8ed2['createPositionAt'](_0x1b4e31['parent'],_0x1b4e31['offset']+0x1);_0x2a8ed2['setSelection'](_0x199012);}else _0x2a8ed2['setSelection'](_0x1091a2['modelRange']);}}_0x22a0f3['editing']['view']['focus']();});}['goToNextPage'](){const _0x655bca=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x655bca),this['scrollToPage'](_0x655bca);}['goToPreviousPage'](){const _0x854afd=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x854afd),this['scrollToPage'](_0x854afd);}['_updatePageBreakMarkers'](_0x488ffa,_0x1ba98d){const _0x4f6abd=this['editor']['model'];this['isEnabled']&&_0x4f6abd['change'](_0x28c812=>{for(let _0xb67c9b=0x1;_0xb67c9b<_0x488ffa['length'];_0xb67c9b++){const _0x17d0c8=_0x488ffa[_0xb67c9b]['modelRange'],_0x2f2590='pagination:'+(_0xb67c9b+0x1);_0x4f6abd['markers']['has'](_0x2f2590)?_0x28c812['updateMarker'](_0x2f2590,{'range':_0x17d0c8}):_0x28c812['addMarker'](_0x2f2590,{'range':_0x17d0c8,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0xb178a9=_0x488ffa['length'];_0xb178a9<_0x1ba98d['length'];_0xb178a9++){const _0x10fa87='pagination:'+(_0xb178a9+0x1);_0x4f6abd['markers']['has'](_0x10fa87)&&_0x28c812['removeMarker'](_0x10fa87);}});}['_setUpDataDowncastConversion'](){const _0x416c22='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0xd62898=>{_0xd62898['on']('addMarker:'+_0x416c22,(_0x4b87a2,{markerRange:_0x355e09,markerName:_0xf48a56},_0x56755b)=>{if(!_0x56755b['options']['pagination'])return;if(!_0x56755b['consumable']['consume'](_0x355e09,_0x4b87a2['name']))return;const _0x269ac6=_0x355e09['getContainedElement']();let _0x4c0d9a=_0x269ac6?_0x56755b['mapper']['toViewElement'](_0x269ac6):null;if(!_0x4c0d9a){const _0x5cea6c=_0x355e09['start'];if(_0x56755b['schema']['checkChild'](_0x5cea6c,'$text')){const _0x5d09e4=_0x56755b['mapper']['toViewPosition'](_0x5cea6c);_0x4c0d9a=_0x56755b['writer']['createContainerElement']('span'),_0x4c0d9a['getFillerOffset']=()=>null,_0x56755b['writer']['insert'](_0x5d09e4,_0x4c0d9a);}else{const _0x4419bb=_0x5cea6c['nodeAfter'];_0x4c0d9a=_0x56755b['mapper']['toViewElement'](_0x4419bb);}}for(;_0x4c0d9a['parent']!==_0x4c0d9a['root']&&0x0===_0x4c0d9a['index'];)_0x4c0d9a=_0x4c0d9a['parent'];const _0x44850c=_0xf48a56['substring'](0xb);_0x4c0d9a['hasClass']('page-break')||(_0x56755b['writer']['setStyle']('page-break-before','always',_0x4c0d9a),_0x56755b['writer']['setAttribute']('data-pagination-page',_0x44850c,_0x4c0d9a),_0x56755b['mapper']['bindElementToMarker'](_0x4c0d9a,_0xf48a56)),_0x4b87a2['stop']();});});}['_setupKeystrokes'](){const _0x5de591=this['editor'];_0x5de591['keystrokes']['set']('Shift+Pageup',(_0x548d7e,_0x3dcac2)=>{this['goToPreviousPage'](),_0x3dcac2();}),_0x5de591['keystrokes']['set']('Shift+Pagedown',(_0x330a8b,_0x711d94)=>{this['goToNextPage'](),_0x711d94();}),_0x5de591['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':G(_0x5de591['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':G(_0x5de591['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':G(_0x5de591['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x2a18eb){return _0x2a18eb<0x1&&(_0x2a18eb=0x1),_0x2a18eb>this['totalPages']&&(_0x2a18eb=this['totalPages']),_0x2a18eb;}}class U extends _0x43439d{['pageNumberView'];constructor(_0x3da9d9){super(_0x3da9d9);const _0x448c0a=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x4ebe34(_0x3da9d9,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x57ecae=>G(_0x3da9d9,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x57ecae)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x1df7ba=>!_0x1df7ba),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x448c0a['if']('isEnabled','ck-disabled',_0x334624=>!_0x334624)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x448c0a['to']('totalPages')}]}]});}['render'](){super['render']();const _0x12499d=this['pageNumberView']['element'],_0x37128b=_0x71de0c=>{this['pageNumberView']['element']['value']=String(_0x71de0c);};_0x37128b(this['pageNumber']),this['on']('change:pageNumber',(_0x5b4a3d,_0x59a7b8,_0x2c9d2c)=>{_0x37128b(_0x2c9d2c);}),this['listenTo'](_0x12499d,'keydown',(_0x570d1c,_0x4baf07)=>{if('ArrowUp'===_0x4baf07['key']||'ArrowDown'===_0x4baf07['key'])return void _0x4baf07['stopPropagation']();if(_0x4baf07['keyCode']!==_0x569aef['enter'])return;_0x4baf07['preventDefault']();const _0x57b29d=_0x12499d['valueAsNumber'];Number['isNaN'](_0x57b29d)?_0x12499d['value']=String(this['pageNumber']):(_0x12499d['checkValidity']()?this['pageNumber']=_0x57b29d:_0x57b29d>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x12499d['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x12499d['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x12499d,'blur',()=>{_0x12499d['value']=String(this['pageNumber']);}),this['listenTo'](_0x12499d,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class M extends _0x465796{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3828d0=this['editor'],_0x2677b1=_0x3828d0['plugins']['get']('PaginationEditing');_0x3828d0['ui']['componentFactory']['add']('pageNavigation',_0x3fca70=>{const _0x289bad=new U(_0x3fca70);return _0x289bad['bind']('pageNumber')['to'](_0x2677b1),_0x289bad['bind']('totalPages')['to'](_0x2677b1),_0x289bad['bind']('isEnabled')['to'](_0x2677b1),_0x289bad['on']('navigation',(_0x4ba379,_0x4b7987)=>{_0x2677b1['moveSelectionToPage'](_0x4b7987),_0x2677b1['scrollToPage'](_0x4b7987);}),_0x289bad;}),_0x3828d0['ui']['componentFactory']['add']('nextPage',_0x20bb7b=>{const _0xa2af63=new _0x46c922(_0x20bb7b);return _0xa2af63['isEnabled']=!0x0,_0xa2af63['label']=G(_0x3828d0['locale'],'Go\x20to\x20next\x20page'),_0xa2af63['icon']=_0x49dfc5,_0xa2af63['tooltip']=!0x0,_0xa2af63['keystroke']='Shift+PageDown',_0xa2af63['bind']('isEnabled')['to'](_0x2677b1),this['listenTo'](_0xa2af63,'execute',()=>{_0x2677b1['goToNextPage']();}),_0xa2af63;}),_0x3828d0['ui']['componentFactory']['add']('previousPage',_0x1649fd=>{const _0x4ada8f=new _0x46c922(_0x1649fd);return _0x4ada8f['isEnabled']=!0x0,_0x4ada8f['label']=G(_0x3828d0['locale'],'Go\x20to\x20previous\x20page'),_0x4ada8f['icon']=_0x41f95c,_0x4ada8f['tooltip']=!0x0,_0x4ada8f['keystroke']='Shift+PageUp',_0x4ada8f['bind']('isEnabled')['to'](_0x2677b1),this['listenTo'](_0x4ada8f,'execute',()=>{_0x2677b1['goToPreviousPage']();}),_0x4ada8f;});}}class j extends _0x465796{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[C,M];}constructor(_0x5b7ef2){super(_0x5b7ef2),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x45b4a4=this['editor']['plugins']['get'](C);this['bind']('pageNumber')['to'](_0x45b4a4),this['bind']('totalPages')['to'](_0x45b4a4),_0x26a5ea['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x57b319){this['editor']['plugins']['get'](C)['scrollToPage'](_0x57b319);}}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.2",
3
+ "version": "48.0.0-alpha.4",
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.2",
25
- "@ckeditor/ckeditor5-engine": "48.0.0-alpha.2",
26
- "@ckeditor/ckeditor5-icons": "48.0.0-alpha.2",
27
- "@ckeditor/ckeditor5-ui": "48.0.0-alpha.2",
28
- "@ckeditor/ckeditor5-utils": "48.0.0-alpha.2",
24
+ "@ckeditor/ckeditor5-core": "48.0.0-alpha.4",
25
+ "@ckeditor/ckeditor5-engine": "48.0.0-alpha.4",
26
+ "@ckeditor/ckeditor5-icons": "48.0.0-alpha.4",
27
+ "@ckeditor/ckeditor5-ui": "48.0.0-alpha.4",
28
+ "@ckeditor/ckeditor5-utils": "48.0.0-alpha.4",
29
29
  "es-toolkit": "1.45.1"
30
30
  },
31
31
  "files": [